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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1597) hide show
  1. package/CHANGELOG.md +72 -18
  2. package/lib/cjs/appui-react/UiFramework.d.ts +19 -17
  3. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/cjs/appui-react/UiFramework.js +9 -5
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/_variables.scss +11 -11
  7. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  10. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +14 -14
  12. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  13. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  15. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +27 -27
  16. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  17. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +4 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  20. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +55 -55
  21. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  23. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  25. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  26. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  28. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  29. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  31. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  32. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +2 -2
  34. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  35. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  36. package/lib/cjs/appui-react/accudraw/Calculator.scss +84 -84
  37. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  38. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  39. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  41. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  42. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  44. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +3 -3
  45. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  46. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  47. package/lib/cjs/appui-react/accudraw/MenuButton.scss +18 -18
  48. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  49. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  50. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  51. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -2
  52. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  53. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  54. package/lib/cjs/appui-react/accudraw/SquareButton.scss +29 -29
  55. package/lib/cjs/appui-react/accudraw/backspace.svg +9 -9
  56. package/lib/cjs/appui-react/accudraw/constraint-2d.svg +11 -11
  57. package/lib/cjs/appui-react/accudraw/height-2.svg +10 -10
  58. package/lib/cjs/appui-react/accudraw/height.svg +11 -11
  59. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +2 -2
  60. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  61. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  63. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -1
  65. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  66. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +2 -2
  67. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  68. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  69. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  70. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  71. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  72. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  73. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  74. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  75. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +2 -2
  76. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  77. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  78. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  79. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  80. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  81. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  82. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  83. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  84. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  85. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  86. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  87. package/lib/cjs/appui-react/childwindow/CopyStyles.js.map +1 -1
  88. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  89. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  90. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +25 -24
  91. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  92. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.scss +14 -14
  93. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  94. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  95. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  96. package/lib/cjs/appui-react/childwindow/PopoutWidget.scss +10 -10
  97. package/lib/cjs/appui-react/configurableui/ActivityTracker.js.map +1 -1
  98. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  99. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  100. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  101. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  102. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  103. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  104. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  105. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  106. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  107. package/lib/cjs/appui-react/configurableui/TimeTracker.js +2 -1
  108. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  109. package/lib/cjs/appui-react/configurableui/configurableui.scss +74 -74
  110. package/lib/cjs/appui-react/configurableui/state.d.ts +1 -1
  111. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  112. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  113. package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -2
  114. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  115. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  116. package/lib/cjs/appui-react/content/ContentGroup.d.ts +6 -6
  117. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  118. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  119. package/lib/cjs/appui-react/content/ContentLayout.d.ts +4 -3
  120. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  121. package/lib/cjs/appui-react/content/ContentLayout.js +11 -6
  122. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  123. package/lib/cjs/appui-react/content/ContentLayout.scss +128 -99
  124. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  125. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  126. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +4 -3
  127. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  128. package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +46 -46
  129. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +2 -2
  130. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  131. package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -1
  132. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  133. package/lib/cjs/appui-react/content/IModelViewport.d.ts +5 -4
  134. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  135. package/lib/cjs/appui-react/content/IModelViewport.js +6 -3
  136. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  137. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  138. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  139. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +2 -1
  140. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  141. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +2 -2
  142. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  143. package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -1
  144. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  145. package/lib/cjs/appui-react/content/StageContentLayout.d.ts +5 -5
  146. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  147. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  148. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +2 -2
  149. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  150. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  151. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +4 -3
  152. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  153. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  154. package/lib/cjs/appui-react/content/split-pane/Pane.js.map +1 -1
  155. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  156. package/lib/cjs/appui-react/content/split-pane/Resizer.js +2 -1
  157. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  158. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +12 -8
  159. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  160. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -1
  161. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  162. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  163. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  164. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  165. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  166. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  167. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  168. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  170. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +34 -34
  171. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  172. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  173. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  174. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  175. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  176. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  177. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -30
  178. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
  179. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  180. package/lib/cjs/appui-react/dialog/ContentDialog.js +6 -3
  181. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/ContentDialog.scss +25 -25
  183. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  184. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  185. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  186. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +3 -2
  187. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  188. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  189. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  190. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  191. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  192. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  193. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  194. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  195. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  196. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  197. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  198. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  199. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  200. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  201. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  202. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  203. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  204. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  206. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  207. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  208. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  209. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  210. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  211. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  212. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +6 -5
  213. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  214. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  215. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  216. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  217. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  218. package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +50 -50
  219. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  220. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  221. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  222. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  223. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +6 -5
  224. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  225. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  226. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +1 -1
  227. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  228. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  229. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  230. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  231. package/lib/cjs/appui-react/framework/FrameworkDialogs.js +0 -7
  232. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  233. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  234. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  235. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  236. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  237. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  238. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  239. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  240. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  241. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +0 -7
  242. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  243. package/lib/cjs/appui-react/framework/FrameworkVisibility.js.map +1 -1
  244. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  245. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  246. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  247. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  248. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  249. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +4 -3
  250. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  251. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  252. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  253. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  254. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  255. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  256. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  257. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  258. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  259. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  260. package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +80 -80
  261. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  262. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  263. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +3 -2
  264. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  265. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.scss +11 -11
  266. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  267. package/lib/cjs/appui-react/frontstage/StageUsage.js.map +1 -1
  268. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  269. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  271. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  272. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  273. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  274. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  275. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  276. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +1 -1
  277. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  278. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  279. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  280. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  281. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  282. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  283. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  284. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  285. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  286. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  287. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  288. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  289. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  290. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  291. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +13 -8
  292. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  293. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  294. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  295. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  296. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  297. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  298. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  299. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  301. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  302. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  304. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  305. package/lib/cjs/appui-react/messages/ActivityMessage.js +7 -5
  306. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  307. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +4 -3
  308. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  310. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +1 -1
  311. package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  313. package/lib/cjs/appui-react/messages/InputField.d.ts +1 -1
  314. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  315. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  316. package/lib/cjs/appui-react/messages/InputField.scss +82 -82
  317. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +1 -1
  318. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  319. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  320. package/lib/cjs/appui-react/messages/MessageManager.d.ts +7 -6
  321. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  322. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  323. package/lib/cjs/appui-react/messages/MessageSpan.d.ts +2 -2
  324. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  325. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  326. package/lib/cjs/appui-react/messages/Pointer.d.ts +5 -4
  327. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  328. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  329. package/lib/cjs/appui-react/messages/Pointer.scss +42 -42
  330. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  331. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  332. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  333. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +2 -2
  334. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  335. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  336. package/lib/cjs/appui-react/messages/getToastCategory.js.map +1 -1
  337. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  338. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  339. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  340. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  341. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  343. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  344. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  346. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  347. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  348. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  349. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +67 -67
  350. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  351. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  352. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  353. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.scss +72 -72
  354. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  355. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  356. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  357. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -13
  358. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -1
  359. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  360. package/lib/cjs/appui-react/pickers/ListPicker.js +6 -1
  361. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  362. package/lib/cjs/appui-react/pickers/ListPicker.scss +305 -305
  363. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +4 -3
  364. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  365. package/lib/cjs/appui-react/pickers/ViewSelector.js +19 -6
  366. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  367. package/lib/cjs/appui-react/popup/CardPopup.d.ts +4 -3
  368. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  369. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  370. package/lib/cjs/appui-react/popup/CardPopup.scss +25 -25
  371. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  372. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  373. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  374. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +3 -3
  375. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  376. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  377. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  378. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  379. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +2 -1
  380. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  381. package/lib/cjs/appui-react/popup/KeyinPalettePanel.scss +30 -30
  382. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  383. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  384. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  385. package/lib/cjs/appui-react/popup/PopupManager.d.ts +5 -4
  386. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  387. package/lib/cjs/appui-react/popup/PopupManager.js +2 -1
  388. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  389. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
  390. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  391. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  392. package/lib/cjs/appui-react/popup/PositionPopup.scss +28 -28
  393. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  394. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  395. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  396. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +5 -4
  397. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  398. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  399. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +4 -2
  400. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  401. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  402. package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
  403. package/lib/cjs/appui-react/redux/SessionState.d.ts +3 -3
  404. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  405. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  406. package/lib/cjs/appui-react/redux/StateManager.d.ts +3 -3
  407. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  408. package/lib/cjs/appui-react/redux/StateManager.js +0 -1
  409. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  410. package/lib/cjs/appui-react/redux/connectIModel.js.map +1 -1
  411. package/lib/cjs/appui-react/redux/redux-ts.js.map +1 -1
  412. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  413. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  414. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  415. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  416. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  418. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  419. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  420. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  421. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  422. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  423. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  424. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  425. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  426. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  427. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  428. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  429. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +119 -119
  430. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  431. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  432. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  433. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  434. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  435. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  436. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +65 -65
  437. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  438. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  439. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  440. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +4 -4
  441. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  442. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  443. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  444. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  445. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  446. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +2 -2
  447. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  448. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  449. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +2 -2
  450. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  451. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  452. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +1 -1
  453. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  454. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  455. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +3 -3
  456. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  457. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  458. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +4 -4
  459. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  460. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  461. package/lib/cjs/appui-react/shared/ItemMap.d.ts +1 -1
  462. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  463. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  464. package/lib/cjs/appui-react/shared/ItemProps.d.ts +2 -2
  465. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  466. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  467. package/lib/cjs/appui-react/shared/MenuItem.d.ts +3 -3
  468. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  469. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  470. package/lib/cjs/appui-react/shared/SelectionScope.js.map +1 -1
  471. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +3 -3
  472. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  473. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  474. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  475. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  476. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  477. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  478. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  479. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +7 -5
  480. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  481. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  482. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  483. package/lib/cjs/appui-react/statusbar/Field.d.ts +1 -1
  484. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  485. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  486. package/lib/cjs/appui-react/statusbar/Field.scss +109 -109
  487. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
  488. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  489. package/lib/cjs/appui-react/statusbar/Indicator.js +2 -1
  490. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  491. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  492. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  493. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  494. package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +43 -43
  495. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
  496. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  497. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  498. package/lib/cjs/appui-react/statusbar/Overflow.scss +27 -27
  499. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  500. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  501. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  502. package/lib/cjs/appui-react/statusbar/OverflowPanel.scss +22 -22
  503. package/lib/cjs/appui-react/statusbar/Popup.d.ts +1 -1
  504. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  505. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  506. package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -1
  507. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  508. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  509. package/lib/cjs/appui-react/statusbar/Separator.scss +12 -12
  510. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +3 -3
  511. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  512. package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -3
  513. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  514. package/lib/cjs/appui-react/statusbar/StatusBar.scss +41 -41
  515. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  516. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  517. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  518. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  519. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  520. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  521. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  522. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  523. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  524. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  525. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  526. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  527. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  528. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  529. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  530. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +1 -1
  531. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  532. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  533. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  534. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  536. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  537. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  538. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  539. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  540. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  542. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  543. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  545. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  546. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  548. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +1 -1
  549. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  550. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  551. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +1 -1
  552. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  553. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  554. package/lib/cjs/appui-react/statusfields/SectionsField.scss +35 -35
  555. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +29 -0
  556. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  557. package/lib/cjs/appui-react/statusfields/SelectionCount.js +51 -0
  558. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -0
  559. package/lib/cjs/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +12 -15
  560. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  561. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  562. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +14 -31
  563. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  564. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
  565. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  566. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  567. package/lib/cjs/appui-react/statusfields/SelectionScope.scss +46 -46
  568. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +1 -1
  569. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  570. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  571. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  572. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  573. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  574. package/lib/cjs/appui-react/statusfields/ViewAttributes.scss +10 -10
  575. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  576. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  577. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  578. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +45 -45
  579. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  580. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  581. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  582. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  583. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +194 -194
  584. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  585. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  586. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  587. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  588. package/lib/cjs/appui-react/theme/ThemeManager.js +2 -1
  589. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  590. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  591. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  592. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  593. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  594. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  595. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  596. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  597. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  598. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  599. package/lib/cjs/appui-react/toolbar/DragInteraction.js.map +1 -1
  600. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +4 -4
  601. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  602. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  603. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +4 -4
  604. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  605. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  606. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  607. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  608. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  609. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  610. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  611. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  612. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  613. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  614. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  615. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  616. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  617. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  618. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  619. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  620. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  621. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  622. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  623. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  624. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  625. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  626. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  627. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  628. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  629. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  630. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  631. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  632. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  633. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +14 -7
  634. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  635. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  636. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  637. package/lib/cjs/appui-react/tools/OpenSettingsTool.js.map +1 -1
  638. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  639. package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
  640. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  641. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  642. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  643. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  644. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  645. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  646. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  647. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  648. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  649. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  650. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  651. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  652. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  653. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  654. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  655. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  656. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  657. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  658. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  660. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  661. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  662. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  663. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  664. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  665. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  666. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  667. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  668. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  669. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  670. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  671. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  672. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  673. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  674. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  675. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  676. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  677. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  678. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  679. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  680. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  681. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  682. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  683. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  684. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  685. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  686. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  687. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  688. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  689. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  690. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  691. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  692. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  693. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  694. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  695. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  696. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  697. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  698. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
  699. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  700. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  701. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  702. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  703. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +212 -212
  704. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +3 -2
  705. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  706. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  707. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  708. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  709. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  710. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  711. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  712. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
  713. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  714. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +3 -2
  715. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  716. package/lib/cjs/appui-react/utils/PropsHelper.js +2 -1
  717. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  718. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  719. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +1 -1
  720. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  721. package/lib/cjs/appui-react/utils/ViewUtilities.js +0 -1
  722. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  723. package/lib/cjs/appui-react/widget-panels/Content.d.ts +1 -1
  724. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  725. package/lib/cjs/appui-react/widget-panels/Content.js +18 -7
  726. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  727. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  728. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +5 -4
  729. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  730. package/lib/cjs/appui-react/widget-panels/Frontstage.js +39 -30
  731. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  732. package/lib/cjs/appui-react/widget-panels/Frontstage.scss +19 -19
  733. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  734. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  735. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  736. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  737. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +1 -1
  738. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  739. package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
  740. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  741. package/lib/cjs/appui-react/widget-panels/StatusBar.scss +10 -10
  742. package/lib/cjs/appui-react/widget-panels/Tab.js +1 -1
  743. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  744. package/lib/cjs/appui-react/widget-panels/Tab.scss +14 -14
  745. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +17 -9
  746. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  747. package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +41 -41
  748. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -2
  749. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  750. package/lib/cjs/appui-react/widget-panels/Toolbars.scss +20 -20
  751. package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
  752. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  753. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  754. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  755. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  756. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  757. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  758. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  759. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  760. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  761. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  762. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  763. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  764. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  765. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  766. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  767. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  768. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  769. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  770. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  771. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  772. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  773. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  774. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  775. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  776. package/lib/cjs/appui-react/widgets/Widget.d.ts +4 -4
  777. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  778. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  779. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +1 -1
  780. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  781. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  782. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +5 -4
  783. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  784. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  785. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +10 -8
  786. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  787. package/lib/cjs/appui-react/widgets/WidgetDef.js +1 -1
  788. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  789. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +3 -3
  790. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  791. package/lib/cjs/appui-react/widgets/WidgetHost.js +3 -2
  792. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  793. package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
  794. package/lib/cjs/appui-react/widgets/WidgetState.js.map +1 -1
  795. package/lib/cjs/appui-react.d.ts +1 -0
  796. package/lib/cjs/appui-react.d.ts.map +1 -1
  797. package/lib/cjs/appui-react.js +1 -0
  798. package/lib/cjs/appui-react.js.map +1 -1
  799. package/lib/esm/appui-react/UiFramework.d.ts +19 -17
  800. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  801. package/lib/esm/appui-react/UiFramework.js +9 -5
  802. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  803. package/lib/esm/appui-react/_variables.scss +11 -11
  804. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  805. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  806. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  807. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  808. package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +14 -14
  809. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  810. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  811. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  812. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +27 -27
  813. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  814. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  815. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +4 -1
  816. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  817. package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +55 -55
  818. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  819. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  820. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  821. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  822. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  823. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  824. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  825. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  826. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  827. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  828. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  829. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  830. package/lib/esm/appui-react/accudraw/Calculator.d.ts +2 -2
  831. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  832. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  833. package/lib/esm/appui-react/accudraw/Calculator.scss +84 -84
  834. package/lib/esm/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  835. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  836. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  837. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  838. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  839. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  840. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  841. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +3 -3
  842. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  843. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  844. package/lib/esm/appui-react/accudraw/MenuButton.scss +18 -18
  845. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  846. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  847. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  848. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -2
  849. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  850. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  851. package/lib/esm/appui-react/accudraw/SquareButton.scss +29 -29
  852. package/lib/esm/appui-react/accudraw/backspace.svg +9 -9
  853. package/lib/esm/appui-react/accudraw/constraint-2d.svg +11 -11
  854. package/lib/esm/appui-react/accudraw/height-2.svg +10 -10
  855. package/lib/esm/appui-react/accudraw/height.svg +11 -11
  856. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +2 -2
  857. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  858. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  859. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  860. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  861. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -1
  862. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  863. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +2 -2
  864. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  865. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  866. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  867. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  868. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  869. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  870. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  871. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  872. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +2 -2
  873. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  874. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  875. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  876. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  877. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  878. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  879. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  880. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  881. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  882. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  883. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  884. package/lib/esm/appui-react/childwindow/CopyStyles.js.map +1 -1
  885. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  886. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +25 -24
  888. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  889. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.scss +14 -14
  890. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  891. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  892. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  893. package/lib/esm/appui-react/childwindow/PopoutWidget.scss +10 -10
  894. package/lib/esm/appui-react/configurableui/ActivityTracker.js.map +1 -1
  895. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  896. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  897. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  898. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  899. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  900. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  901. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  902. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  903. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  904. package/lib/esm/appui-react/configurableui/TimeTracker.js +2 -1
  905. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  906. package/lib/esm/appui-react/configurableui/configurableui.scss +74 -74
  907. package/lib/esm/appui-react/configurableui/state.d.ts +1 -1
  908. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  909. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  910. package/lib/esm/appui-react/content/ContentControl.d.ts +2 -2
  911. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  912. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  913. package/lib/esm/appui-react/content/ContentGroup.d.ts +6 -6
  914. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  915. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  916. package/lib/esm/appui-react/content/ContentLayout.d.ts +4 -3
  917. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  918. package/lib/esm/appui-react/content/ContentLayout.js +11 -6
  919. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  920. package/lib/esm/appui-react/content/ContentLayout.scss +128 -99
  921. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  922. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  923. package/lib/esm/appui-react/content/DefaultViewOverlay.js +4 -3
  924. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  925. package/lib/esm/appui-react/content/DefaultViewOverlay.scss +46 -46
  926. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +2 -2
  927. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  928. package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -1
  929. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  930. package/lib/esm/appui-react/content/IModelViewport.d.ts +5 -4
  931. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  932. package/lib/esm/appui-react/content/IModelViewport.js +6 -3
  933. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  934. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  935. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  936. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +2 -1
  937. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  938. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +2 -2
  939. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  940. package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -1
  941. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  942. package/lib/esm/appui-react/content/StageContentLayout.d.ts +5 -5
  943. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  944. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  945. package/lib/esm/appui-react/content/ViewStateHelper.d.ts +2 -2
  946. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  947. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  948. package/lib/esm/appui-react/content/ViewportContentControl.d.ts +4 -3
  949. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  950. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  951. package/lib/esm/appui-react/content/split-pane/Pane.js.map +1 -1
  952. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  953. package/lib/esm/appui-react/content/split-pane/Resizer.js +2 -1
  954. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  955. package/lib/esm/appui-react/content/split-pane/SplitPane.js +12 -8
  956. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  957. package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -1
  958. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  959. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  960. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  961. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  962. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  963. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  964. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  965. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  966. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  967. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +34 -34
  968. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  969. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  970. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  971. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  972. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  973. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  974. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.scss +30 -30
  975. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
  976. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  977. package/lib/esm/appui-react/dialog/ContentDialog.js +6 -3
  978. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  979. package/lib/esm/appui-react/dialog/ContentDialog.scss +25 -25
  980. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  981. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  982. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  983. package/lib/esm/appui-react/dialog/DialogManagerBase.js +3 -2
  984. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  985. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  986. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  987. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  988. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  989. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  990. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  991. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  992. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  993. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  994. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  995. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  996. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  997. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  998. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  999. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  1000. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  1001. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  1002. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  1003. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  1004. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  1005. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  1006. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  1007. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  1008. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  1009. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +6 -5
  1010. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  1011. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  1012. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  1013. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  1014. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  1015. package/lib/esm/appui-react/feedback/ValidationTextbox.scss +50 -50
  1016. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  1017. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  1018. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  1019. package/lib/esm/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  1020. package/lib/esm/appui-react/framework/FrameworkContent.d.ts +6 -5
  1021. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  1022. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  1023. package/lib/esm/appui-react/framework/FrameworkControls.d.ts +1 -1
  1024. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  1025. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  1026. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  1027. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  1028. package/lib/esm/appui-react/framework/FrameworkDialogs.js +0 -7
  1029. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  1030. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  1031. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  1032. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  1033. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  1034. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  1035. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  1036. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  1037. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  1038. package/lib/esm/appui-react/framework/FrameworkToolSettings.js +0 -7
  1039. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  1040. package/lib/esm/appui-react/framework/FrameworkVisibility.js.map +1 -1
  1041. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  1042. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  1043. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  1044. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  1045. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  1046. package/lib/esm/appui-react/frontstage/FrontstageDef.js +4 -3
  1047. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  1048. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  1049. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  1051. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  1052. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  1053. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  1054. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  1055. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  1056. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  1057. package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +80 -80
  1058. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  1059. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  1060. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +3 -2
  1061. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  1062. package/lib/esm/appui-react/frontstage/ModalSettingsStage.scss +11 -11
  1063. package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  1064. package/lib/esm/appui-react/frontstage/StageUsage.js.map +1 -1
  1065. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  1066. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  1067. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  1068. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  1069. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  1070. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  1071. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  1072. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  1073. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +1 -1
  1074. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  1075. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  1076. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  1077. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  1078. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  1079. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  1080. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  1081. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  1082. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  1083. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  1084. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  1085. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  1086. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  1087. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  1088. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +13 -8
  1089. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  1090. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  1091. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  1092. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  1093. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  1094. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  1095. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  1096. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  1097. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  1098. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  1099. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  1100. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  1101. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/messages/ActivityMessage.js +7 -5
  1103. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  1104. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +4 -3
  1105. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  1106. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  1107. package/lib/esm/appui-react/messages/HollowIcon.d.ts +1 -1
  1108. package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
  1109. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  1110. package/lib/esm/appui-react/messages/InputField.d.ts +1 -1
  1111. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  1112. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  1113. package/lib/esm/appui-react/messages/InputField.scss +82 -82
  1114. package/lib/esm/appui-react/messages/MessageLabel.d.ts +1 -1
  1115. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  1116. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  1117. package/lib/esm/appui-react/messages/MessageManager.d.ts +7 -6
  1118. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1119. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1120. package/lib/esm/appui-react/messages/MessageSpan.d.ts +2 -2
  1121. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1122. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1123. package/lib/esm/appui-react/messages/Pointer.d.ts +5 -4
  1124. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1125. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1126. package/lib/esm/appui-react/messages/Pointer.scss +42 -42
  1127. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  1128. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1129. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1130. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +2 -2
  1131. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1132. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1133. package/lib/esm/appui-react/messages/getToastCategory.js.map +1 -1
  1134. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  1135. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1136. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1137. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  1138. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1139. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1140. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  1141. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1142. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1143. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  1144. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1145. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1146. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +67 -67
  1147. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  1148. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1149. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1150. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.scss +72 -72
  1151. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  1152. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1153. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1154. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.scss +13 -13
  1155. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -1
  1156. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1157. package/lib/esm/appui-react/pickers/ListPicker.js +6 -1
  1158. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1159. package/lib/esm/appui-react/pickers/ListPicker.scss +305 -305
  1160. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +4 -3
  1161. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1162. package/lib/esm/appui-react/pickers/ViewSelector.js +20 -7
  1163. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1164. package/lib/esm/appui-react/popup/CardPopup.d.ts +4 -3
  1165. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1166. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1167. package/lib/esm/appui-react/popup/CardPopup.scss +25 -25
  1168. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  1169. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1170. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1171. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +3 -3
  1172. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1173. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1174. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  1175. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1176. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +2 -1
  1177. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1178. package/lib/esm/appui-react/popup/KeyinPalettePanel.scss +30 -30
  1179. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  1180. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1181. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1182. package/lib/esm/appui-react/popup/PopupManager.d.ts +5 -4
  1183. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1184. package/lib/esm/appui-react/popup/PopupManager.js +2 -1
  1185. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1186. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
  1187. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1188. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1189. package/lib/esm/appui-react/popup/PositionPopup.scss +28 -28
  1190. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  1191. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1193. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +5 -4
  1194. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1196. package/lib/esm/appui-react/redux/FrameworkState.d.ts +4 -2
  1197. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1199. package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
  1200. package/lib/esm/appui-react/redux/SessionState.d.ts +3 -3
  1201. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1202. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1203. package/lib/esm/appui-react/redux/StateManager.d.ts +3 -3
  1204. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1205. package/lib/esm/appui-react/redux/StateManager.js +0 -1
  1206. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1207. package/lib/esm/appui-react/redux/connectIModel.js.map +1 -1
  1208. package/lib/esm/appui-react/redux/redux-ts.js.map +1 -1
  1209. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  1210. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1211. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1212. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  1213. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1214. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1215. package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  1216. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  1217. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1218. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1219. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  1220. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1221. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1222. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  1223. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1224. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  1225. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1226. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +119 -119
  1227. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  1228. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1229. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1230. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  1231. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1232. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1233. package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +65 -65
  1234. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  1235. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1236. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1237. package/lib/esm/appui-react/shared/AnyItemDef.d.ts +4 -4
  1238. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1239. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1240. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  1241. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  1242. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1243. package/lib/esm/appui-react/shared/CommandItemDef.d.ts +2 -2
  1244. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1245. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1246. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +2 -2
  1247. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1248. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1249. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +1 -1
  1250. package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  1251. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1252. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +3 -3
  1253. package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  1254. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1255. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +4 -4
  1256. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1257. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1258. package/lib/esm/appui-react/shared/ItemMap.d.ts +1 -1
  1259. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1260. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1261. package/lib/esm/appui-react/shared/ItemProps.d.ts +2 -2
  1262. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1263. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1264. package/lib/esm/appui-react/shared/MenuItem.d.ts +3 -3
  1265. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1266. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1267. package/lib/esm/appui-react/shared/SelectionScope.js.map +1 -1
  1268. package/lib/esm/appui-react/shared/ToolItemDef.d.ts +3 -3
  1269. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1270. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1271. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  1272. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  1273. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1274. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  1275. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1276. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +7 -5
  1277. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1278. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  1279. package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  1280. package/lib/esm/appui-react/statusbar/Field.d.ts +1 -1
  1281. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1282. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1283. package/lib/esm/appui-react/statusbar/Field.scss +109 -109
  1284. package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
  1285. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1286. package/lib/esm/appui-react/statusbar/Indicator.js +2 -1
  1287. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1288. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  1289. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1290. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1291. package/lib/esm/appui-react/statusbar/LabelIndicator.scss +43 -43
  1292. package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
  1293. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1294. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1295. package/lib/esm/appui-react/statusbar/Overflow.scss +27 -27
  1296. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  1297. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1298. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1299. package/lib/esm/appui-react/statusbar/OverflowPanel.scss +22 -22
  1300. package/lib/esm/appui-react/statusbar/Popup.d.ts +1 -1
  1301. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1302. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1303. package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -1
  1304. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1305. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1306. package/lib/esm/appui-react/statusbar/Separator.scss +12 -12
  1307. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +3 -3
  1308. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1309. package/lib/esm/appui-react/statusbar/StatusBar.js +5 -3
  1310. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1311. package/lib/esm/appui-react/statusbar/StatusBar.scss +41 -41
  1312. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  1313. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1314. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1315. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  1316. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1317. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1318. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  1319. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1320. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1321. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  1322. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1323. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1324. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  1325. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1326. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1327. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +1 -1
  1328. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1329. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1330. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  1331. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  1332. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1333. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  1334. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1335. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1336. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  1337. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1338. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1339. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  1340. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1341. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1342. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  1343. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  1344. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1345. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +1 -1
  1346. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1347. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1348. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +1 -1
  1349. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1350. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1351. package/lib/esm/appui-react/statusfields/SectionsField.scss +35 -35
  1352. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +29 -0
  1353. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  1354. package/lib/esm/appui-react/statusfields/SelectionCount.js +46 -0
  1355. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -0
  1356. package/lib/esm/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +12 -15
  1357. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  1358. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  1359. package/lib/esm/appui-react/statusfields/SelectionInfo.js +14 -32
  1360. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1361. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
  1362. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1363. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1364. package/lib/esm/appui-react/statusfields/SelectionScope.scss +46 -46
  1365. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +1 -1
  1366. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1368. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  1369. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1370. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1371. package/lib/esm/appui-react/statusfields/ViewAttributes.scss +10 -10
  1372. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  1373. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1374. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1375. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +45 -45
  1376. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  1377. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1378. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  1379. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1380. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +194 -194
  1381. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  1382. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1383. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1384. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1385. package/lib/esm/appui-react/theme/ThemeManager.js +2 -1
  1386. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1387. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  1388. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1389. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1390. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  1391. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1392. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1393. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  1394. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1395. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1396. package/lib/esm/appui-react/toolbar/DragInteraction.js.map +1 -1
  1397. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +4 -4
  1398. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1399. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1400. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +4 -4
  1401. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1402. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1403. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  1404. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1405. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1406. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  1407. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1408. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1409. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  1410. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1411. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1412. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  1413. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1414. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1415. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  1416. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1417. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1418. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  1419. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1420. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1421. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  1422. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1423. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1424. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  1425. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1426. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1427. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  1428. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1429. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1430. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +14 -7
  1431. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1432. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  1433. package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  1434. package/lib/esm/appui-react/tools/OpenSettingsTool.js.map +1 -1
  1435. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1436. package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
  1437. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  1438. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1439. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  1440. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1441. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  1442. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1443. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1444. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  1445. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1446. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1447. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  1448. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1449. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1450. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  1451. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1452. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  1453. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1454. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  1455. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1456. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1457. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  1458. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1459. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  1460. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1461. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1462. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  1463. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1464. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  1465. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1466. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  1467. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1468. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1469. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  1470. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1471. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1472. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  1473. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1474. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1475. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  1476. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1477. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  1478. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1479. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  1480. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1481. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  1482. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1483. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  1484. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1485. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1486. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  1487. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1488. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1489. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  1490. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1491. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  1492. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1493. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  1494. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1495. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
  1496. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1497. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  1498. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1499. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1500. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +212 -212
  1501. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +3 -2
  1502. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1503. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1504. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  1505. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1506. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1507. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  1508. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1509. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
  1510. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1511. package/lib/esm/appui-react/utils/PropsHelper.d.ts +3 -2
  1512. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1513. package/lib/esm/appui-react/utils/PropsHelper.js +2 -1
  1514. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1515. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  1516. package/lib/esm/appui-react/utils/ViewUtilities.d.ts +1 -1
  1517. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1518. package/lib/esm/appui-react/utils/ViewUtilities.js +0 -1
  1519. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1520. package/lib/esm/appui-react/widget-panels/Content.d.ts +1 -1
  1521. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1522. package/lib/esm/appui-react/widget-panels/Content.js +18 -7
  1523. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1524. package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  1525. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +5 -4
  1526. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1527. package/lib/esm/appui-react/widget-panels/Frontstage.js +39 -30
  1528. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1529. package/lib/esm/appui-react/widget-panels/Frontstage.scss +19 -19
  1530. package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  1531. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1532. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1533. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1534. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +1 -1
  1535. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1536. package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
  1537. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1538. package/lib/esm/appui-react/widget-panels/StatusBar.scss +10 -10
  1539. package/lib/esm/appui-react/widget-panels/Tab.js +1 -1
  1540. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1541. package/lib/esm/appui-react/widget-panels/Tab.scss +14 -14
  1542. package/lib/esm/appui-react/widget-panels/ToolSettings.js +17 -9
  1543. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1544. package/lib/esm/appui-react/widget-panels/ToolSettings.scss +41 -41
  1545. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -2
  1546. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1547. package/lib/esm/appui-react/widget-panels/Toolbars.scss +20 -20
  1548. package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
  1549. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  1550. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  1551. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1552. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1553. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  1554. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1555. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1556. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  1557. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1558. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1559. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  1560. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  1561. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1562. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  1563. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1564. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  1565. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1566. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1567. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  1568. package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  1569. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  1570. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1571. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1572. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  1573. package/lib/esm/appui-react/widgets/Widget.d.ts +4 -4
  1574. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1575. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1576. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +1 -1
  1577. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  1578. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1579. package/lib/esm/appui-react/widgets/WidgetControl.d.ts +5 -4
  1580. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1581. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1582. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +10 -8
  1583. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1584. package/lib/esm/appui-react/widgets/WidgetDef.js +1 -1
  1585. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1586. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +3 -3
  1587. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1588. package/lib/esm/appui-react/widgets/WidgetHost.js +3 -2
  1589. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1590. package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
  1591. package/lib/esm/appui-react/widgets/WidgetState.js.map +1 -1
  1592. package/lib/esm/appui-react.d.ts +1 -0
  1593. package/lib/esm/appui-react.d.ts.map +1 -1
  1594. package/lib/esm/appui-react.js +1 -0
  1595. package/lib/esm/appui-react.js.map +1 -1
  1596. package/lib/public/locales/en/UiFramework.json +334 -331
  1597. package/package.json +22 -23
@@ -1 +1 @@
1
- {"version":3,"file":"BackstageItem.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,qHAAqH;IACrH,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC;IACzB,6FAA6F;IAC7F,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IACtD,+FAA+F;IAC/F,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IACxD,sEAAsE;IACtE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,aAAa;IACb,QAA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AAC,IAAmB;IACvD,OAAO,SAAS,IAAI,IAAI,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAmB;IAC1D,OAAO,SAAS,IAAI,IAAI,CAAC;AAC3B,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Backstage\r\n */\r\n\r\nimport { BadgeType, ConditionalBooleanValue, ConditionalStringValue } from \"@itwin/appui-abstract\";\r\nimport { IconSpec } from \"@itwin/core-react\";\r\n\r\n/** Describes the data needed to insert a button into the backstage menu.\r\n * @public\r\n */\r\nexport interface CommonBackstageItem {\r\n /** Required unique id of the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\r\n readonly id: string;\r\n /** Describes badge. Renders no badge if not specified. */\r\n readonly badge?: BadgeType;\r\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\r\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\r\n * allows extensions enough gaps to insert their own groups.\r\n */\r\n readonly groupPriority: number;\r\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\r\n readonly icon?: IconSpec;\r\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\r\n readonly isHidden?: boolean | ConditionalBooleanValue;\r\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\r\n readonly isDisabled?: boolean | ConditionalBooleanValue;\r\n /** Priority within a group (recommend using values 1 through 100). */\r\n readonly itemPriority: number;\r\n /** Label. */\r\n readonly label: string | ConditionalStringValue;\r\n /** Subtitle. */\r\n readonly subtitle?: string | ConditionalStringValue;\r\n /** Tooltip. */\r\n readonly tooltip?: string | ConditionalStringValue;\r\n /** Describes if the item is active. The default is for the item to be active if stageId matches activeFrontstageId */\r\n readonly isActive?: boolean | ConditionalBooleanValue;\r\n}\r\n\r\n/** Describes the data needed to insert an action button into the backstage menu.\r\n * @public\r\n */\r\nexport interface BackstageActionItem extends CommonBackstageItem {\r\n readonly execute: () => void;\r\n}\r\n\r\n/** Describes the data needed to insert an action button into the backstage menu.\r\n * @public\r\n */\r\nexport interface BackstageStageLauncher extends CommonBackstageItem {\r\n readonly stageId: string;\r\n}\r\n\r\n/** Describes the data needed to insert a button into the backstage menu.\r\n * @public\r\n */\r\nexport type BackstageItem = BackstageActionItem | BackstageStageLauncher;\r\n\r\n/** BackstageActionItem type guard.\r\n * @public\r\n */\r\nexport function isBackstageActionItem(item: BackstageItem): item is BackstageActionItem {\r\n return \"execute\" in item;\r\n}\r\n\r\n/** BackstageStageLauncher type guard.\r\n * @public\r\n */\r\nexport function isBackstageStageLauncher(item: BackstageItem): item is BackstageStageLauncher {\r\n return \"stageId\" in item;\r\n}\r\n"]}
1
+ {"version":3,"file":"BackstageItem.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItem.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAuDH;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAAmB;IACvD,OAAO,SAAS,IAAI,IAAI,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,wBAAwB,CAAC,IAAmB;IAC1D,OAAO,SAAS,IAAI,IAAI,CAAC;AAC3B,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 Backstage\n */\n\nimport type { BadgeType, ConditionalBooleanValue, ConditionalStringValue } from \"@itwin/appui-abstract\";\nimport type { IconSpec } from \"@itwin/core-react\";\n\n/** Describes the data needed to insert a button into the backstage menu.\n * @public\n */\nexport interface CommonBackstageItem {\n /** Required unique id of the item. To ensure uniqueness it is suggested that a namespace prefix of the extension name be used. */\n readonly id: string;\n /** Describes badge. Renders no badge if not specified. */\n readonly badge?: BadgeType;\n /** Specifies the item's grouping value. Items are sorted by group and then item priority. When\n * group priority changes a separator is inserted. It is recommended using values 10 through 100, incrementing by 10. This\n * allows extensions enough gaps to insert their own groups.\n */\n readonly groupPriority: number;\n /** Name of icon WebFont entry or if specifying an imported SVG symbol use \"webSvg:\" prefix to imported symbol Id. */\n readonly icon?: IconSpec;\n /** Describes if the item is visible or hidden. The default is for the item to be visible. */\n readonly isHidden?: boolean | ConditionalBooleanValue;\n /** Describes if the item is enabled or disabled. The default is for the item to be enabled. */\n readonly isDisabled?: boolean | ConditionalBooleanValue;\n /** Priority within a group (recommend using values 1 through 100). */\n readonly itemPriority: number;\n /** Label. */\n readonly label: string | ConditionalStringValue;\n /** Subtitle. */\n readonly subtitle?: string | ConditionalStringValue;\n /** Tooltip. */\n readonly tooltip?: string | ConditionalStringValue;\n /** Describes if the item is active. The default is for the item to be active if stageId matches activeFrontstageId */\n readonly isActive?: boolean | ConditionalBooleanValue;\n}\n\n/** Describes the data needed to insert an action button into the backstage menu.\n * @public\n */\nexport interface BackstageActionItem extends CommonBackstageItem {\n readonly execute: () => void;\n}\n\n/** Describes the data needed to insert an action button into the backstage menu.\n * @public\n */\nexport interface BackstageStageLauncher extends CommonBackstageItem {\n readonly stageId: string;\n}\n\n/** Describes the data needed to insert a button into the backstage menu.\n * @public\n */\nexport type BackstageItem = BackstageActionItem | BackstageStageLauncher;\n\n/** BackstageActionItem type guard.\n * @public\n */\nexport function isBackstageActionItem(item: BackstageItem): item is BackstageActionItem {\n return \"execute\" in item;\n}\n\n/** BackstageStageLauncher type guard.\n * @public\n */\nexport function isBackstageStageLauncher(item: BackstageItem): item is BackstageStageLauncher {\n return \"stageId\" in item;\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Backstage
3
3
  */
4
- import { IconSpec } from "@itwin/core-react";
5
- import { BackstageActionItem, BackstageStageLauncher } from "./BackstageItem";
4
+ import type { IconSpec } from "@itwin/core-react";
5
+ import type { BackstageActionItem, BackstageStageLauncher } from "./BackstageItem";
6
6
  /** Utilities for creating and maintaining backstage items
7
7
  * @beta
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BackstageItemUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItemUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAE9E;;GAEG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,+CAA+C;IAC/C,SAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAW7N;IAED,wCAAwC;IACxC,SAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,CAWnO;CACF"}
1
+ {"version":3,"file":"BackstageItemUtilities.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItemUtilities.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,sBA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AAE,YAAoB,EAAE,OAAmB,EAAE,KAAa,EAAE,QAAiB,EAAE,IAAe,EAAE,SAAwC;QAC5M,OAAO;YACL,OAAO;YACP,aAAa;YACb,IAAI;YACJ,EAAE,EAAE,MAAM;YACV,YAAY;YACZ,KAAK;YACL,QAAQ;YACR,GAAG,SAAS;SACb,CAAC;IACJ,CAAC;IAXe,uCAAgB,mBAW/B,CAAA;AACH,CAAC,EA5BgB,sBAAsB,KAAtB,sBAAsB,QA4BtC","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 Backstage\r\n */\r\n\r\nimport { IconSpec } from \"@itwin/core-react\";\r\nimport { BackstageActionItem, BackstageStageLauncher } from \"./BackstageItem\";\r\n\r\n/** Utilities for creating and maintaining backstage items\r\n * @beta\r\n */\r\nexport namespace BackstageItemUtilities {\r\n /** Creates a stage launcher backstage item. */\r\n export function createStageLauncher(frontstageId: string, groupPriority: number, itemPriority: number, label: string, subtitle?: string, icon?: IconSpec, overrides?: Partial<BackstageStageLauncher>): BackstageStageLauncher {\r\n return {\r\n groupPriority,\r\n icon,\r\n id: frontstageId,\r\n itemPriority,\r\n label,\r\n stageId: frontstageId,\r\n subtitle,\r\n ...overrides,\r\n };\r\n }\r\n\r\n /** Creates an action backstage item. */\r\n export function createActionItem(itemId: string, groupPriority: number, itemPriority: number, execute: () => void, label: string, subtitle?: string, icon?: IconSpec, overrides?: Partial<BackstageActionItem>): BackstageActionItem {\r\n return {\r\n execute,\r\n groupPriority,\r\n icon,\r\n id: itemId,\r\n itemPriority,\r\n label,\r\n subtitle,\r\n ...overrides,\r\n };\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"BackstageItemUtilities.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItemUtilities.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAKH;;GAEG;AACH,MAAM,KAAW,sBAAsB,CA4BtC;AA5BD,WAAiB,sBAAsB;IACrC,+CAA+C;IAC/C,SAAgB,mBAAmB,CAAC,YAAoB,EAAE,aAAqB,EAAE,YAAoB,EAAE,KAAa,EAAE,QAAiB,EAAE,IAAe,EAAE,SAA2C;QACnM,OAAO;YACL,aAAa;YACb,IAAI;YACJ,EAAE,EAAE,YAAY;YAChB,YAAY;YACZ,KAAK;YACL,OAAO,EAAE,YAAY;YACrB,QAAQ;YACR,GAAG,SAAS;SACb,CAAC;IACJ,CAAC;IAXe,0CAAmB,sBAWlC,CAAA;IAED,wCAAwC;IACxC,SAAgB,gBAAgB,CAAC,MAAc,EAAE,aAAqB,EAAE,YAAoB,EAAE,OAAmB,EAAE,KAAa,EAAE,QAAiB,EAAE,IAAe,EAAE,SAAwC;QAC5M,OAAO;YACL,OAAO;YACP,aAAa;YACb,IAAI;YACJ,EAAE,EAAE,MAAM;YACV,YAAY;YACZ,KAAK;YACL,QAAQ;YACR,GAAG,SAAS;SACb,CAAC;IACJ,CAAC;IAXe,uCAAgB,mBAW/B,CAAA;AACH,CAAC,EA5BgB,sBAAsB,KAAtB,sBAAsB,QA4BtC","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 Backstage\n */\n\nimport type { IconSpec } from \"@itwin/core-react\";\nimport type { BackstageActionItem, BackstageStageLauncher } from \"./BackstageItem\";\n\n/** Utilities for creating and maintaining backstage items\n * @beta\n */\nexport namespace BackstageItemUtilities {\n /** Creates a stage launcher backstage item. */\n export function createStageLauncher(frontstageId: string, groupPriority: number, itemPriority: number, label: string, subtitle?: string, icon?: IconSpec, overrides?: Partial<BackstageStageLauncher>): BackstageStageLauncher {\n return {\n groupPriority,\n icon,\n id: frontstageId,\n itemPriority,\n label,\n stageId: frontstageId,\n subtitle,\n ...overrides,\n };\n }\n\n /** Creates an action backstage item. */\n export function createActionItem(itemId: string, groupPriority: number, itemPriority: number, execute: () => void, label: string, subtitle?: string, icon?: IconSpec, overrides?: Partial<BackstageActionItem>): BackstageActionItem {\n return {\n execute,\n groupPriority,\n icon,\n id: itemId,\n itemPriority,\n label,\n subtitle,\n ...overrides,\n };\n }\n}\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Backstage
3
3
  */
4
4
  import { BeEvent } from "@itwin/core-bentley";
5
- import { BackstageItem } from "./BackstageItem";
5
+ import type { BackstageItem } from "./BackstageItem";
6
6
  /** Arguments of [[BackstageItemsManager.onChanged]] event.
7
7
  * @internal
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BackstageItemsManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItemsManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAoC;gBAEtC,KAAK,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC;IAMhD,OAAO,CAAC,iBAAiB;IAiBzB;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC;IAIpD;;OAEG;IACH,SAAgB,cAAc,iBAAsB,yBAAyB,KAAK,IAAI,EAAI;IAE1F,IAAW,KAAK,IAAI,aAAa,CAAC,aAAa,CAAC,CAE/C;IAED,IAAW,KAAK,CAAC,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,EAInD;IAED,gBAAgB;IACT,GAAG,CAAC,WAAW,EAAE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IAAI;YACrB,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;QAEnD,IAAI,cAAc,GAAG,KAAK,CAAC;QAE3B,MAAM,QAAQ,GAAoB,EAAE,CAAC;QACrC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;YACxB,MAAM,WAAW,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC;YAEhC,KAAK,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;gBACnD,IAAI,KAAK,YAAY,uBAAuB,EAAE;oBAC5C,uBAAuB;oBACvB,IAAI,uBAAuB,CAAC,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC;wBACvD,cAAc,GAAG,IAAI,CAAC;iBACzB;qBAAM,0BAA0B,CAAC,IAAI,KAAK,YAAY,sBAAsB,EAAE;oBAC7E,uBAAuB;oBACvB,IAAI,sBAAsB,CAAC,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC;wBACtD,cAAc,GAAG,IAAI,CAAC;iBACzB;aACF;YAED,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC5B;QAED,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;IAClE,CAAC;IAEM,oBAAoB,CAAC,QAAqB;QAC/C,uBAAuB;QACvB,IAAI,CAAC,KAAK,QAAQ,CAAC,IAAI;YACrB,OAAO;QAET,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAE/F,uBAAuB;QACvB,IAAI,YAAY;YACd,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IACtD,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 Backstage\r\n */\r\n\r\nimport { ConditionalBooleanValue, ConditionalStringValue } from \"@itwin/appui-abstract\";\r\nimport { BeEvent } from \"@itwin/core-bentley\";\r\nimport { BackstageItem } from \"./BackstageItem\";\r\n\r\n/** Arguments of [[BackstageItemsManager.onChanged]] event.\r\n * @internal\r\n */\r\nexport interface BackstageItemsChangedArgs {\r\n readonly items: ReadonlyArray<BackstageItem>;\r\n}\r\n\r\n/**\r\n * Controls backstage items.\r\n * @internal\r\n */\r\nexport class BackstageItemsManager {\r\n private _items: ReadonlyArray<BackstageItem> = [];\r\n\r\n constructor(items?: ReadonlyArray<BackstageItem>) {\r\n // istanbul ignore else\r\n if (items)\r\n this.loadItemsInternal(items, true, false);\r\n }\r\n\r\n private loadItemsInternal(items: ReadonlyArray<BackstageItem>, processConditions: boolean, sendItemChanged: boolean) {\r\n if (processConditions && items) {\r\n const eventIds = BackstageItemsManager.getSyncIdsOfInterest(items);\r\n if (0 !== eventIds.length) {\r\n const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));\r\n\r\n // istanbul ignore else\r\n if (itemsUpdated)\r\n items = updatedItems;\r\n }\r\n }\r\n\r\n this._items = items;\r\n if (sendItemChanged)\r\n this.onItemsChanged.raiseEvent({ items });\r\n }\r\n\r\n /** load items but do not fire onItemsChanged\r\n * @internal\r\n */\r\n public loadItems(items: ReadonlyArray<BackstageItem>) {\r\n this.loadItemsInternal(items, true, false);\r\n }\r\n\r\n /** Event raised when backstage items are changed.\r\n * @internal\r\n */\r\n public readonly onItemsChanged = new BeEvent<(args: BackstageItemsChangedArgs) => void>();\r\n\r\n public get items(): ReadonlyArray<BackstageItem> {\r\n return this._items;\r\n }\r\n\r\n public set items(items: ReadonlyArray<BackstageItem>) {\r\n // istanbul ignore else\r\n if (items !== this._items)\r\n this.loadItemsInternal(items, true, true);\r\n }\r\n\r\n /** @internal */\r\n public add(itemOrItems: BackstageItem | ReadonlyArray<BackstageItem>) {\r\n let itemsToAdd;\r\n if (!Array.isArray(itemOrItems))\r\n itemsToAdd = [itemOrItems];\r\n else {\r\n itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);\r\n }\r\n itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);\r\n if (itemsToAdd.length === 0)\r\n return;\r\n const items = [\r\n ...this._items,\r\n ...itemsToAdd,\r\n ];\r\n this.items = items;\r\n }\r\n\r\n /** @internal */\r\n public remove(itemIdOrItemIds: BackstageItem[\"id\"] | ReadonlyArray<BackstageItem[\"id\"]>) {\r\n const items = this._items.filter((item) => {\r\n return Array.isArray(itemIdOrItemIds) ? !itemIdOrItemIds.find((itemId) => itemId === item.id) : item.id !== itemIdOrItemIds;\r\n });\r\n this.items = items;\r\n }\r\n\r\n /** @internal */\r\n public static getSyncIdsOfInterest(items: readonly BackstageItem[]): string[] {\r\n const eventIds = new Set<string>();\r\n items.forEach((item) => {\r\n for (const [, entry] of Object.entries(item)) {\r\n if (entry instanceof ConditionalBooleanValue) {\r\n entry.syncEventIds.forEach((eventId: string) => eventIds.add(eventId.toLowerCase()));\r\n } else /* istanbul ignore else */ if (entry instanceof ConditionalStringValue) {\r\n entry.syncEventIds.forEach((eventId: string) => eventIds.add(eventId.toLowerCase()));\r\n }\r\n }\r\n });\r\n return [...eventIds.values()];\r\n }\r\n\r\n private internalRefreshAffectedItems(items: readonly BackstageItem[], eventIds: Set<string>): { itemsUpdated: boolean, updatedItems: BackstageItem[] } {\r\n // istanbul ignore next\r\n if (0 === eventIds.size)\r\n return { itemsUpdated: false, updatedItems: [] };\r\n\r\n let updateRequired = false;\r\n\r\n const newItems: BackstageItem[] = [];\r\n for (const item of items) {\r\n const updatedItem = { ...item };\r\n\r\n for (const [, entry] of Object.entries(updatedItem)) {\r\n if (entry instanceof ConditionalBooleanValue) {\r\n // istanbul ignore else\r\n if (ConditionalBooleanValue.refreshValue(entry, eventIds))\r\n updateRequired = true;\r\n } else /* istanbul ignore else */ if (entry instanceof ConditionalStringValue) {\r\n // istanbul ignore else\r\n if (ConditionalStringValue.refreshValue(entry, eventIds))\r\n updateRequired = true;\r\n }\r\n }\r\n\r\n newItems.push(updatedItem);\r\n }\r\n\r\n return { itemsUpdated: updateRequired, updatedItems: newItems };\r\n }\r\n\r\n public refreshAffectedItems(eventIds: Set<string>) {\r\n // istanbul ignore next\r\n if (0 === eventIds.size)\r\n return;\r\n\r\n const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);\r\n\r\n // istanbul ignore else\r\n if (itemsUpdated)\r\n this.loadItemsInternal(updatedItems, false, true);\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"BackstageItemsManager.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageItemsManager.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAU9C;;;GAGG;AACH,MAAM,OAAO,qBAAqB;IAGhC,YAAY,KAAoC;QAFxC,WAAM,GAAiC,EAAE,CAAC;QAgClD;;WAEG;QACa,mBAAc,GAAG,IAAI,OAAO,EAA6C,CAAC;QAhCxF,uBAAuB;QACvB,IAAI,KAAK;YACP,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAEO,iBAAiB,CAAC,KAAmC,EAAE,iBAA0B,EAAE,eAAwB;QACjH,IAAI,iBAAiB,IAAI,KAAK,EAAE;YAC9B,MAAM,QAAQ,GAAG,qBAAqB,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;YACnE,IAAI,CAAC,KAAK,Q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EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAE/F,uBAAuB;QACvB,IAAI,YAAY;YACd,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IACtD,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 Backstage\n */\n\nimport { ConditionalBooleanValue, ConditionalStringValue } from \"@itwin/appui-abstract\";\nimport { BeEvent } from \"@itwin/core-bentley\";\nimport type { BackstageItem } from \"./BackstageItem\";\n\n/** Arguments of [[BackstageItemsManager.onChanged]] event.\n * @internal\n */\nexport interface BackstageItemsChangedArgs {\n readonly items: ReadonlyArray<BackstageItem>;\n}\n\n/**\n * Controls backstage items.\n * @internal\n */\nexport class BackstageItemsManager {\n private _items: ReadonlyArray<BackstageItem> = [];\n\n constructor(items?: ReadonlyArray<BackstageItem>) {\n // istanbul ignore else\n if (items)\n this.loadItemsInternal(items, true, false);\n }\n\n private loadItemsInternal(items: ReadonlyArray<BackstageItem>, processConditions: boolean, sendItemChanged: boolean) {\n if (processConditions && items) {\n const eventIds = BackstageItemsManager.getSyncIdsOfInterest(items);\n if (0 !== eventIds.length) {\n const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));\n\n // istanbul ignore else\n if (itemsUpdated)\n items = updatedItems;\n }\n }\n\n this._items = items;\n if (sendItemChanged)\n this.onItemsChanged.raiseEvent({ items });\n }\n\n /** load items but do not fire onItemsChanged\n * @internal\n */\n public loadItems(items: ReadonlyArray<BackstageItem>) {\n this.loadItemsInternal(items, true, false);\n }\n\n /** Event raised when backstage items are changed.\n * @internal\n */\n public readonly onItemsChanged = new BeEvent<(args: BackstageItemsChangedArgs) => void>();\n\n public get items(): ReadonlyArray<BackstageItem> {\n return this._items;\n }\n\n public set items(items: ReadonlyArray<BackstageItem>) {\n // istanbul ignore else\n if (items !== this._items)\n this.loadItemsInternal(items, true, true);\n }\n\n /** @internal */\n public add(itemOrItems: BackstageItem | ReadonlyArray<BackstageItem>) {\n let itemsToAdd;\n if (!Array.isArray(itemOrItems))\n itemsToAdd = [itemOrItems];\n else {\n itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);\n }\n itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);\n if (itemsToAdd.length === 0)\n return;\n const items = [\n ...this._items,\n ...itemsToAdd,\n ];\n this.items = items;\n }\n\n /** @internal */\n public remove(itemIdOrItemIds: BackstageItem[\"id\"] | ReadonlyArray<BackstageItem[\"id\"]>) {\n const items = this._items.filter((item) => {\n return Array.isArray(itemIdOrItemIds) ? !itemIdOrItemIds.find((itemId) => itemId === item.id) : item.id !== itemIdOrItemIds;\n });\n this.items = items;\n }\n\n /** @internal */\n public static getSyncIdsOfInterest(items: readonly BackstageItem[]): string[] {\n const eventIds = new Set<string>();\n items.forEach((item) => {\n for (const [, entry] of Object.entries(item)) {\n if (entry instanceof ConditionalBooleanValue) {\n entry.syncEventIds.forEach((eventId: string) => eventIds.add(eventId.toLowerCase()));\n } else /* istanbul ignore else */ if (entry instanceof ConditionalStringValue) {\n entry.syncEventIds.forEach((eventId: string) => eventIds.add(eventId.toLowerCase()));\n }\n }\n });\n return [...eventIds.values()];\n }\n\n private internalRefreshAffectedItems(items: readonly BackstageItem[], eventIds: Set<string>): { itemsUpdated: boolean, updatedItems: BackstageItem[] } {\n // istanbul ignore next\n if (0 === eventIds.size)\n return { itemsUpdated: false, updatedItems: [] };\n\n let updateRequired = false;\n\n const newItems: BackstageItem[] = [];\n for (const item of items) {\n const updatedItem = { ...item };\n\n for (const [, entry] of Object.entries(updatedItem)) {\n if (entry instanceof ConditionalBooleanValue) {\n // istanbul ignore else\n if (ConditionalBooleanValue.refreshValue(entry, eventIds))\n updateRequired = true;\n } else /* istanbul ignore else */ if (entry instanceof ConditionalStringValue) {\n // istanbul ignore else\n if (ConditionalStringValue.refreshValue(entry, eventIds))\n updateRequired = true;\n }\n }\n\n newItems.push(updatedItem);\n }\n\n return { itemsUpdated: updateRequired, updatedItems: newItems };\n }\n\n public refreshAffectedItems(eventIds: Set<string>) {\n // istanbul ignore next\n if (0 === eventIds.size)\n return;\n\n const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);\n\n // istanbul ignore else\n if (itemsUpdated)\n this.loadItemsInternal(updatedItems, false, true);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Backstage
3
3
  */
4
- import { IconSpec } from "@itwin/core-react";
5
- import { BackstageToggledArgs, FrameworkBackstage } from "../framework/FrameworkBackstage";
4
+ import type { IconSpec } from "@itwin/core-react";
5
+ import type { BackstageToggledArgs, FrameworkBackstage } from "../framework/FrameworkBackstage";
6
6
  import { InternalBackstageManager } from "./InternalBackstageManager";
7
7
  /** Controls backstage.
8
8
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"BackstageManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAkC;IAElD;;;OAGG;IACI,YAAY,CAAC,QAAQ,EAAE,wBAAwB;IAItD,uDAAuD;IACvD,IAAW,SAAS,gFAAsC;IAE1D,IAAW,MAAM,YAEhB;IAEM,IAAI;IAIJ,KAAK;IAIL,MAAM;IAIN,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;IAI5D;MACE;WACY,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;CAGpE;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,YAAa,kBAAkB,YAa7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAG/B,CAAC"}
1
+ {"version":3,"file":"BackstageManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAkC;IAElD;;;OAGG;IACI,YAAY,CAAC,QAAQ,EAAE,wBAAwB;IAItD,uDAAuD;IACvD,IAAW,SAAS,gFAAsC;IAE1D,IAAW,MAAM,YAEhB;IAEM,IAAI;IAIJ,KAAK;IAIL,MAAM;IAIN,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;IAI5D;MACE;WACY,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;CAGpE;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,YAAa,kBAAkB,YAa7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAG/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BackstageManager.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAA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AAC,MAAM,CAAC,CAAC;QACzB,CAAC,CAAC;QACF,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC1B,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC7C,OAAO,GAAG,EAAE;YACV,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAClD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACd,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACxD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Backstage\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { IconSpec } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { BackstageToggledArgs, FrameworkBackstage } from \"../framework/FrameworkBackstage\";\r\nimport { InternalBackstageManager } from \"./InternalBackstageManager\";\r\n\r\n/** Controls backstage.\r\n * @public\r\n */\r\nexport class BackstageManager {\r\n private internal = new InternalBackstageManager();\r\n\r\n /**\r\n * Override internal implementation for a mock\r\n * @internal For tests only.\r\n */\r\n public mockInternal(internal: InternalBackstageManager) {\r\n this.internal = internal;\r\n }\r\n\r\n /** Event raised when backstage is opened or closed. */\r\n public get onToggled() { return this.internal.onToggled; }\r\n\r\n public get isOpen() {\r\n return this.internal.isOpen;\r\n }\r\n\r\n public open() {\r\n return this.internal.open();\r\n }\r\n\r\n public close() {\r\n return this.internal.close();\r\n }\r\n\r\n public toggle() {\r\n return this.internal.toggle();\r\n }\r\n\r\n public getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\r\n return this.internal.getBackstageToggleCommand(overrideIconSpec);\r\n }\r\n\r\n /** Get CommandItemDef that will toggle display of Backstage and allow iconSpec to be overridden\r\n */\r\n public static getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\r\n return UiFramework.backstage.getBackstageToggleCommand(overrideIconSpec);\r\n }\r\n}\r\n\r\n/** Hook that returns isOpen flag of the backstage.\r\n * @public\r\n */\r\nexport const useIsBackstageOpen = (manager: FrameworkBackstage) => {\r\n const [isOpen, setIsOpen] = React.useState(manager.isOpen);\r\n React.useEffect(() => {\r\n const handleToggled = (args: BackstageToggledArgs) => {\r\n setIsOpen(args.isOpen);\r\n };\r\n setIsOpen(manager.isOpen);\r\n manager.onToggled.addListener(handleToggled);\r\n return () => {\r\n manager.onToggled.removeListener(handleToggled);\r\n };\r\n }, [manager]);\r\n return isOpen;\r\n};\r\n\r\n/** Hook that returns backstage manager.\r\n * @public\r\n */\r\nexport const useBackstageManager = () => {\r\n const [manager] = React.useState(UiFramework.backstage);\r\n return manager;\r\n};\r\n"]}
1
+ {"version":3,"file":"BackstageManager.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/BackstageManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAA7B;QACU,aAAQ,GAAG,IAAI,wBAAwB,EAAE,CAAC;IAsCpD,CAAC;IApCC;;;OAGG;IACI,YAAY,CAAC,QAAkC;QACpD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,uDAAuD;IACvD,IAAW,SAA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d,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACxD,OAAO,OAAO,CAAC;AACjB,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 Backstage\n */\n\nimport * as React from \"react\";\nimport type { IconSpec } from \"@itwin/core-react\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { BackstageToggledArgs, FrameworkBackstage } from \"../framework/FrameworkBackstage\";\nimport { InternalBackstageManager } from \"./InternalBackstageManager\";\n\n/** Controls backstage.\n * @public\n */\nexport class BackstageManager {\n private internal = new InternalBackstageManager();\n\n /**\n * Override internal implementation for a mock\n * @internal For tests only.\n */\n public mockInternal(internal: InternalBackstageManager) {\n this.internal = internal;\n }\n\n /** Event raised when backstage is opened or closed. */\n public get onToggled() { return this.internal.onToggled; }\n\n public get isOpen() {\n return this.internal.isOpen;\n }\n\n public open() {\n return this.internal.open();\n }\n\n public close() {\n return this.internal.close();\n }\n\n public toggle() {\n return this.internal.toggle();\n }\n\n public getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\n return this.internal.getBackstageToggleCommand(overrideIconSpec);\n }\n\n /** Get CommandItemDef that will toggle display of Backstage and allow iconSpec to be overridden\n */\n public static getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\n return UiFramework.backstage.getBackstageToggleCommand(overrideIconSpec);\n }\n}\n\n/** Hook that returns isOpen flag of the backstage.\n * @public\n */\nexport const useIsBackstageOpen = (manager: FrameworkBackstage) => {\n const [isOpen, setIsOpen] = React.useState(manager.isOpen);\n React.useEffect(() => {\n const handleToggled = (args: BackstageToggledArgs) => {\n setIsOpen(args.isOpen);\n };\n setIsOpen(manager.isOpen);\n manager.onToggled.addListener(handleToggled);\n return () => {\n manager.onToggled.removeListener(handleToggled);\n };\n }, [manager]);\n return isOpen;\n};\n\n/** Hook that returns backstage manager.\n * @public\n */\nexport const useBackstageManager = () => {\n const [manager] = React.useState(UiFramework.backstage);\n return manager;\n};\n"]}
@@ -2,9 +2,9 @@
2
2
  * @module Backstage
3
3
  */
4
4
  import { BeEvent } from "@itwin/core-bentley";
5
- import { IconSpec } from "@itwin/core-react";
5
+ import type { IconSpec } from "@itwin/core-react";
6
6
  import { CommandItemDef } from "../shared/CommandItemDef";
7
- import { BackstageToggledArgs } from "../framework/FrameworkBackstage";
7
+ import type { BackstageToggledArgs } from "../framework/FrameworkBackstage";
8
8
  /** Controls backstage.
9
9
  * @internal
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"InternalBackstageManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/InternalBackstageManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAEvE;;GAEG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,OAAO,CAAS;IAExB,uDAAuD;IACvD,SAAgB,SAAS,iBAAsB,oBAAoB,KAAK,IAAI,EAAI;IAEhF,IAAW,MAAM,YAEhB;IAED,OAAO,CAAC,SAAS;IASV,IAAI;IAIJ,KAAK;IAIL,MAAM;IAIb,mGAAmG;IAC5F,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;CAU7D"}
1
+ {"version":3,"file":"InternalBackstageManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/InternalBackstageManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;GAEG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,OAAO,CAAS;IAExB,uDAAuD;IACvD,SAAgB,SAAS,iBAAsB,oBAAoB,KAAK,IAAI,EAAI;IAEhF,IAAW,MAAM,YAEhB;IAED,OAAO,CAAC,SAAS;IASV,IAAI;IAIJ,KAAK;IAIL,MAAM;IAIb,mGAAmG;IAC5F,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ;CAU7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"InternalBackstageManager.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/InternalBackstageManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAArC;QACU,YAAO,GAAG,KAAK,CAAC;QAExB,uDAAuD;QACvC,cAAS,GAAG,IAAI,OAAO,EAAwC,CAAC;IAsClF,CAAC;IApCC,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAEO,SAAS,CAAC,MAAe;QAC/B,IAAI,MAAM,KAAK,IAAI,CAAC,OAAO;YACzB,OAAO;QACT,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;YACxB,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAEM,IAAI;QACT,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACV,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAED,mGAAmG;IAC5F,yBAAyB,CAAC,gBAA2B;QAC1D,OAAO,IAAI,cAAc,CAAC;YACxB,SAAS,EAAE,2BAA2B;YACtC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW;YAC3D,QAAQ,EAAE,oCAAoC;YAC9C,OAAO,EAAE,GAAG,EAAE;gBACZ,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;YACjC,CAAC;SACF,CAAC,CAAC;IACL,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 Backstage\r\n */\r\n\r\nimport { BeEvent } from \"@itwin/core-bentley\";\r\nimport { IconSpec } from \"@itwin/core-react\";\r\nimport { CommandItemDef } from \"../shared/CommandItemDef\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { BackstageToggledArgs } from \"../framework/FrameworkBackstage\";\r\n\r\n/** Controls backstage.\r\n * @internal\r\n */\r\nexport class InternalBackstageManager {\r\n private _isOpen = false;\r\n\r\n /** Event raised when backstage is opened or closed. */\r\n public readonly onToggled = new BeEvent<(args: BackstageToggledArgs) => void>();\r\n\r\n public get isOpen() {\r\n return this._isOpen;\r\n }\r\n\r\n private setIsOpen(isOpen: boolean) {\r\n if (isOpen === this._isOpen)\r\n return;\r\n this._isOpen = isOpen;\r\n this.onToggled.raiseEvent({\r\n isOpen,\r\n });\r\n }\r\n\r\n public open() {\r\n this.setIsOpen(true);\r\n }\r\n\r\n public close() {\r\n this.setIsOpen(false);\r\n }\r\n\r\n public toggle() {\r\n this.setIsOpen(!this.isOpen);\r\n }\r\n\r\n /** Get CommandItemDef that will toggle display of Backstage and allow iconSpec to be overridden */\r\n public getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\r\n return new CommandItemDef({\r\n commandId: \"UiFramework.openBackstage\",\r\n iconSpec: overrideIconSpec ? overrideIconSpec : \"icon-home\",\r\n labelKey: \"UiFramework:commands.openBackstage\",\r\n execute: () => {\r\n UiFramework.backstage.toggle();\r\n },\r\n });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"InternalBackstageManager.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/InternalBackstageManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAArC;QACU,YAAO,GAAG,KAAK,CAAC;QAExB,uDAAuD;QACvC,cAAS,GAAG,IAAI,OAAO,EAAwC,CAAC;IAsClF,CAAC;IApCC,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAEO,SAAS,CAAC,MAAe;QAC/B,IAAI,MAAM,KAAK,IAAI,CAAC,OAAO;YACzB,OAAO;QACT,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;YACxB,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAEM,IAAI;QACT,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IAEM,KAAK;QACV,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;IAEM,MAAM;QACX,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAED,mGAAmG;IAC5F,yBAAyB,CAAC,gBAA2B;QAC1D,OAAO,IAAI,cAAc,CAAC;YACxB,SAAS,EAAE,2BAA2B;YACtC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW;YAC3D,QAAQ,EAAE,oCAAoC;YAC9C,OAAO,EAAE,GAAG,EAAE;gBACZ,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;YACjC,CAAC;SACF,CAAC,CAAC;IACL,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 Backstage\n */\n\nimport { BeEvent } from \"@itwin/core-bentley\";\nimport type { IconSpec } from \"@itwin/core-react\";\nimport { CommandItemDef } from \"../shared/CommandItemDef\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { BackstageToggledArgs } from \"../framework/FrameworkBackstage\";\n\n/** Controls backstage.\n * @internal\n */\nexport class InternalBackstageManager {\n private _isOpen = false;\n\n /** Event raised when backstage is opened or closed. */\n public readonly onToggled = new BeEvent<(args: BackstageToggledArgs) => void>();\n\n public get isOpen() {\n return this._isOpen;\n }\n\n private setIsOpen(isOpen: boolean) {\n if (isOpen === this._isOpen)\n return;\n this._isOpen = isOpen;\n this.onToggled.raiseEvent({\n isOpen,\n });\n }\n\n public open() {\n this.setIsOpen(true);\n }\n\n public close() {\n this.setIsOpen(false);\n }\n\n public toggle() {\n this.setIsOpen(!this.isOpen);\n }\n\n /** Get CommandItemDef that will toggle display of Backstage and allow iconSpec to be overridden */\n public getBackstageToggleCommand(overrideIconSpec?: IconSpec) {\n return new CommandItemDef({\n commandId: \"UiFramework.openBackstage\",\n iconSpec: overrideIconSpec ? overrideIconSpec : \"icon-home\",\n labelKey: \"UiFramework:commands.openBackstage\",\n execute: () => {\n UiFramework.backstage.toggle();\n },\n });\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module Backstage
3
3
  */
4
- import { BackstageItem } from "./BackstageItem";
5
- import { BackstageItemsManager } from "./BackstageItemsManager";
4
+ import type { BackstageItem } from "./BackstageItem";
5
+ import type { BackstageItemsManager } from "./BackstageItemsManager";
6
6
  /** Hook that returns items from [[BackstageItemsManager]].
7
7
  * @internal
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultBackstageItems.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useDefaultBackstageItems.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,wBAAwB,YAAa,qBAAqB,KAAG,SAAS,aAAa,EAgB/F,CAAC"}
1
+ {"version":3,"file":"useDefaultBackstageItems.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useDefaultBackstageItems.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,wBAAwB,YAAa,qBAAqB,KAAG,SAAS,aAAa,EAgB/F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultBackstageItems.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useDefaultBackstageItems.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,OAA8B,EAA4B,EAAE;IACnG,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC1C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,cAAc,CAAC,OAAO;YACxB,cAAc,CAAC,OAAO,GAAG,KAAK,CAAC;aAC5B;YACH,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACzB;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YACjD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACd,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Backstage\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BackstageItem } from \"./BackstageItem\";\r\nimport { BackstageItemsManager } from \"./BackstageItemsManager\";\r\n\r\n/** Hook that returns items from [[BackstageItemsManager]].\r\n * @internal\r\n */\r\nexport const useDefaultBackstageItems = (manager: BackstageItemsManager): readonly BackstageItem[] => {\r\n const [items, setItems] = React.useState(manager.items);\r\n const isInitialMount = React.useRef(true);\r\n React.useEffect(() => {\r\n if (isInitialMount.current)\r\n isInitialMount.current = false;\r\n else {\r\n setItems(manager.items);\r\n }\r\n }, [manager, manager.items]);\r\n React.useEffect(() => {\r\n return manager.onItemsChanged.addListener((args) => {\r\n setItems(args.items);\r\n });\r\n }, [manager]);\r\n return items;\r\n};\r\n"]}
1
+ {"version":3,"file":"useDefaultBackstageItems.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useDefaultBackstageItems.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,OAA8B,EAA4B,EAAE;IACnG,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC1C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,cAAc,CAAC,OAAO;YACxB,cAAc,CAAC,OAAO,GAAG,KAAK,CAAC;aAC5B;YACH,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACzB;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YACjD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACd,OAAO,KAAK,CAAC;AACf,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 Backstage\n */\n\nimport * as React from \"react\";\nimport type { BackstageItem } from \"./BackstageItem\";\nimport type { BackstageItemsManager } from \"./BackstageItemsManager\";\n\n/** Hook that returns items from [[BackstageItemsManager]].\n * @internal\n */\nexport const useDefaultBackstageItems = (manager: BackstageItemsManager): readonly BackstageItem[] => {\n const [items, setItems] = React.useState(manager.items);\n const isInitialMount = React.useRef(true);\n React.useEffect(() => {\n if (isInitialMount.current)\n isInitialMount.current = false;\n else {\n setItems(manager.items);\n }\n }, [manager, manager.items]);\n React.useEffect(() => {\n return manager.onItemsChanged.addListener((args) => {\n setItems(args.items);\n });\n }, [manager]);\n return items;\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  /** @packageDocumentation
2
2
  * @module StatusBar
3
3
  */
4
- import { BackstageItem } from "./BackstageItem";
5
- import { BackstageItemsManager } from "./BackstageItemsManager";
4
+ import type { BackstageItem } from "./BackstageItem";
5
+ import type { BackstageItemsManager } from "./BackstageItemsManager";
6
6
  /** Hook that returns items from [[BackstageItemsManager]].
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useUiItemsProviderBackstageItems.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useUiItemsProviderBackstageItems.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,gCAAgC,YAAa,qBAAqB,KAAG,SAAS,aAAa,EAuBvG,CAAC"}
1
+ {"version":3,"file":"useUiItemsProviderBackstageItems.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useUiItemsProviderBackstageItems.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gCAAgC,YAAa,qBAAqB,KAAG,SAAS,aAAa,EAuBvG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useUiItemsProviderBackstageItems.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useUiItemsProviderBackstageItems.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,OAA8B,EAA4B,EAAE;IAC3G,MAAM,iBAAiB,GAAG,4BAA4B,EAAE,CAAC;IACzD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,0BAA0B,CAAA,EAAE,CAAC,CAAC;IACjG,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,wHAAwH;IACxH,2DAA2D;IAC3D,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChD,uBAAuB;QACvB,IAAI,YAAY,CAAC,OAAO,KAAK,WAAW,EAAE;YACxC,YAAY,CAAC,OAAO,GAAG,WAAW,CAAC;YACnC,MAAM,cAAc,GAAG,cAAc,CAAC,iBAAiB,EAAE,CAAC;YAC1D,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;YAClC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACzB;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACjC,sEAAsE;IACtE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YACjD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACd,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module StatusBar\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { useAvailableUiItemsProviders } from \"../hooks/useAvailableUiItemsProviders\";\r\nimport { BackstageItem } from \"./BackstageItem\";\r\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager\";\r\nimport { BackstageItemsManager } from \"./BackstageItemsManager\";\r\n\r\n/** Hook that returns items from [[BackstageItemsManager]].\r\n * @public\r\n */\r\nexport const useUiItemsProviderBackstageItems = (manager: BackstageItemsManager): readonly BackstageItem[] => {\r\n const uiItemProviderIds = useAvailableUiItemsProviders();\r\n const [items, setItems] = React.useState(manager ? manager.items : /* istanbul ignore next */[]);\r\n const providersRef = React.useRef(\"\");\r\n // gathers items from registered extensions - dependent on when a UiItemsProvider is register or unregistered and if the\r\n // current stage's composer allows entries from extensions.\r\n React.useEffect(() => {\r\n const uiProviders = uiItemProviderIds.join(\"-\");\r\n // istanbul ignore else\r\n if (providersRef.current !== uiProviders) {\r\n providersRef.current = uiProviders;\r\n const backstageItems = UiItemsManager.getBackstageItems();\r\n manager.loadItems(backstageItems);\r\n setItems(manager.items);\r\n }\r\n }, [manager, uiItemProviderIds]);\r\n // handle item changes caused by calls to UiFramework.backstageManager\r\n React.useEffect(() => {\r\n return manager.onItemsChanged.addListener((args) => {\r\n setItems(args.items);\r\n });\r\n }, [manager]);\r\n return items;\r\n};\r\n"]}
1
+ {"version":3,"file":"useUiItemsProviderBackstageItems.js","sourceRoot":"","sources":["../../../../src/appui-react/backstage/useUiItemsProviderBackstageItems.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,OAA8B,EAA4B,EAAE;IAC3G,MAAM,iBAAiB,GAAG,4BAA4B,EAAE,CAAC;IACzD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,0BAA0B,CAAA,EAAE,CAAC,CAAC;IACjG,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,wHAAwH;IACxH,2DAA2D;IAC3D,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChD,uBAAuB;QACvB,IAAI,YAAY,CAAC,OAAO,KAAK,WAAW,EAAE;YACxC,YAAY,CAAC,OAAO,GAAG,WAAW,CAAC;YACnC,MAAM,cAAc,GAAG,cAAc,CAAC,iBAAiB,EAAE,CAAC;YAC1D,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;YAClC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SACzB;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACjC,sEAAsE;IACtE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YACjD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACd,OAAO,KAAK,CAAC;AACf,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 StatusBar\n */\n\nimport * as React from \"react\";\nimport { useAvailableUiItemsProviders } from \"../hooks/useAvailableUiItemsProviders\";\nimport type { BackstageItem } from \"./BackstageItem\";\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager\";\nimport type { BackstageItemsManager } from \"./BackstageItemsManager\";\n\n/** Hook that returns items from [[BackstageItemsManager]].\n * @public\n */\nexport const useUiItemsProviderBackstageItems = (manager: BackstageItemsManager): readonly BackstageItem[] => {\n const uiItemProviderIds = useAvailableUiItemsProviders();\n const [items, setItems] = React.useState(manager ? manager.items : /* istanbul ignore next */[]);\n const providersRef = React.useRef(\"\");\n // gathers items from registered extensions - dependent on when a UiItemsProvider is register or unregistered and if the\n // current stage's composer allows entries from extensions.\n React.useEffect(() => {\n const uiProviders = uiItemProviderIds.join(\"-\");\n // istanbul ignore else\n if (providersRef.current !== uiProviders) {\n providersRef.current = uiProviders;\n const backstageItems = UiItemsManager.getBackstageItems();\n manager.loadItems(backstageItems);\n setItems(manager.items);\n }\n }, [manager, uiItemProviderIds]);\n // handle item changes caused by calls to UiFramework.backstageManager\n React.useEffect(() => {\n return manager.onItemsChanged.addListener((args) => {\n setItems(args.items);\n });\n }, [manager]);\n return items;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CopyStyles.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/CopyStyles.ts"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,CAAC,CAAC;KAC7D;AACH,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/**\r\n * Copies the source CSS into the destination\r\n * @param targetDoc - target document\r\n * @param sourceDoc - source document\r\n * @internal\r\n */\r\nexport function copyStyles(targetDoc: Document, sourceDoc: Document = document) {\r\n const stylesheets = Array.from(sourceDoc.styleSheets);\r\n // istanbul ignore next\r\n stylesheets.forEach((stylesheet) => {\r\n const css = stylesheet;\r\n if (stylesheet.href) {\r\n const newStyleElement = targetDoc.createElement(\"link\");\r\n newStyleElement.rel = \"stylesheet\";\r\n newStyleElement.href = stylesheet.href;\r\n targetDoc.head.appendChild(newStyleElement);\r\n } else {\r\n if (css && css.cssRules && css.cssRules.length > 0) {\r\n const newStyleElement = targetDoc.createElement(\"style\");\r\n Array.from(css.cssRules).forEach((rule) => {\r\n newStyleElement.appendChild(targetDoc.createTextNode(rule.cssText));\r\n });\r\n targetDoc.head.appendChild(newStyleElement);\r\n }\r\n }\r\n });\r\n\r\n // copy sprites\r\n const svgSymbolParent = sourceDoc.getElementById(\"__SVG_SPRITE_NODE__\");\r\n // istanbul ignore else\r\n if (svgSymbolParent) {\r\n targetDoc.body.appendChild(svgSymbolParent.cloneNode(true));\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"CopyStyles.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/CopyStyles.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,SAAmB,EAAE,YAAsB,QAAQ;IAC5E,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtD,uBAAuB;IACvB,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;QACjC,MAAM,GAAG,GAAG,UAAU,CAAC;QACvB,IAAI,UAAU,CAAC,IAAI,EAAE;YACnB,MAAM,eAAe,GAAG,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YACxD,eAAe,CAAC,GAAG,GAAG,YAAY,CAAC;YACnC,eAAe,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;YACvC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;SAC7C;aAAM;YACL,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;gBAClD,MAAM,eAAe,GAAG,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;gBACzD,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;oBACxC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;gBACtE,CAAC,CAAC,CAAC;gBACH,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;aAC7C;SACF;IACH,CAAC,CAAC,CAAC;IAEH,eAAe;IACf,MAAM,eAAe,GAAG,SAAS,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;IACxE,uBAAuB;IACvB,IAAI,eAAe,EAAE;QACnB,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;KAC7D;AACH,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/**\n * Copies the source CSS into the destination\n * @param targetDoc - target document\n * @param sourceDoc - source document\n * @internal\n */\nexport function copyStyles(targetDoc: Document, sourceDoc: Document = document) {\n const stylesheets = Array.from(sourceDoc.styleSheets);\n // istanbul ignore next\n stylesheets.forEach((stylesheet) => {\n const css = stylesheet;\n if (stylesheet.href) {\n const newStyleElement = targetDoc.createElement(\"link\");\n newStyleElement.rel = \"stylesheet\";\n newStyleElement.href = stylesheet.href;\n targetDoc.head.appendChild(newStyleElement);\n } else {\n if (css && css.cssRules && css.cssRules.length > 0) {\n const newStyleElement = targetDoc.createElement(\"style\");\n Array.from(css.cssRules).forEach((rule) => {\n newStyleElement.appendChild(targetDoc.createTextNode(rule.cssText));\n });\n targetDoc.head.appendChild(newStyleElement);\n }\n }\n });\n\n // copy sprites\n const svgSymbolParent = sourceDoc.getElementById(\"__SVG_SPRITE_NODE__\");\n // istanbul ignore else\n if (svgSymbolParent) {\n targetDoc.body.appendChild(svgSymbolParent.cloneNode(true));\n }\n}\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import "./InternalChildWindowManager.scss";
5
5
  import * as React from "react";
6
- import { ChildWindowLocationProps, FrameworkChildWindows, OpenChildWindowInfo } from "../framework/FrameworkChildWindows";
6
+ import type { ChildWindowLocationProps, FrameworkChildWindows, OpenChildWindowInfo } from "../framework/FrameworkChildWindows";
7
7
  /**
8
8
  * Simplification of non exported CreateRoot parameter, only to be used
9
9
  * in InternalChildWindowManager and ChildWindowManager
@@ -1 +1 @@
1
- {"version":3,"file":"InternalChildWindowManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/InternalChildWindowManager.tsx"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAyB1H;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;KAIK;AACL,qBAAa,0BAA2B,YAAW,qBAAqB;IACtE,OAAO,CAAC,iBAAiB,CAA6B;IACtD,OAAO,CAAC,WAAW,CAAC,CAAa;IAEjC,IAAW,gBAAgB,0BAE1B;IAED;;;;;;;;OAQG;IAEI,aAAa,CAAC,YAAY,EAAE,UAAU,GAAG,IAAI;IAIpD;;;;OAIG;IAEH,OAAO,CAAC,MAAM;IAQd;;;;OAIG;IACI,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,GAAG,SAAS;IAO/E;;;;OAIG;IACI,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS;IAS3E,OAAO,CAAC,yBAAyB;IA6CjC,gGAAgG;IACzF,QAAQ;IAMf;;;;;OAKG;IACI,KAAK,kBAAmB,MAAM,2CAcnC;IAGF,OAAO,CAAC,mBAAmB;IAsB3B;;;;;;;;OAQG;IAEI,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,QAAQ,EAAE,wBAAwB,EAAE,mBAAmB,CAAC,EAAE,OAAO;CA6B9I"}
1
+ {"version":3,"file":"InternalChildWindowManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/InternalChildWindowManager.tsx"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAyB/H;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;KAIK;AACL,qBAAa,0BAA2B,YAAW,qBAAqB;IACtE,OAAO,CAAC,iBAAiB,CAA6B;IACtD,OAAO,CAAC,WAAW,CAAC,CAAa;IAEjC,IAAW,gBAAgB,0BAE1B;IAED;;;;;;;;OAQG;IAEI,aAAa,CAAC,YAAY,EAAE,UAAU,GAAG,IAAI;IAIpD;;;;OAIG;IAEH,OAAO,CAAC,MAAM;IAQd;;;;OAIG;IACI,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,GAAG,SAAS;IAO/E;;;;OAIG;IACI,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS;IAS3E,OAAO,CAAC,yBAAyB;IA6CjC,gGAAgG;IACzF,QAAQ;IAMf;;;;;OAKG;IACI,KAAK,kBAAmB,MAAM,2CAcnC;IAGF,OAAO,CAAC,mBAAmB;IAsB3B;;;;;;;;OAQG;IAEI,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,QAAQ,EAAE,wBAAwB,EAAE,mBAAmB,CAAC,EAAE,OAAO;CA6B9I"}
@@ -18,27 +18,27 @@ import { ModalDialogRenderer } from "../dialog/ModalDialogManager";
18
18
  import { CursorPopupMenu } from "../cursor/cursormenu/CursorMenu";
19
19
  import { ThemeManager } from "../theme/ThemeManager";
20
20
  import { UiFramework } from "../UiFramework";
21
- const childHtml = `<!DOCTYPE html>
22
- <html>
23
- <head>
24
- <meta charset="utf-8" />
25
- <style>
26
- html,
27
- body {
28
- height: 100%;
29
- width: 100%;
30
- margin: 0;
31
- overflow: hidden;
32
- }
33
- #root {
34
- height: 100%;
35
- }
36
- </style>
37
- </head>
38
- <body>
39
- <noscript>You need to enable JavaScript to run this app.</noscript>
40
- <div id="root"></div>
41
- </body>
21
+ const childHtml = `<!DOCTYPE html>
22
+ <html>
23
+ <head>
24
+ <meta charset="utf-8" />
25
+ <style>
26
+ html,
27
+ body {
28
+ height: 100%;
29
+ width: 100%;
30
+ margin: 0;
31
+ overflow: hidden;
32
+ }
33
+ #root {
34
+ height: 100%;
35
+ }
36
+ </style>
37
+ </head>
38
+ <body class="iui-root">
39
+ <noscript>You need to enable JavaScript to run this app.</noscript>
40
+ <div id="root"></div>
41
+ </body>
42
42
  </html>`;
43
43
  /** Supports opening a child browser window from the main application window. The child window is managed by the main application
44
44
  * and is running in the same security context. The application must deliver the html file iTwinPopup.html along side its index.html.
@@ -120,7 +120,7 @@ export class InternalChildWindowManager {
120
120
  if (!contentWindow)
121
121
  return undefined;
122
122
  const childWindow = this.openChildWindows.find((openWindow) => openWindow.window === contentWindow);
123
- return childWindow?.childWindowId;
123
+ return childWindow === null || childWindow === void 0 ? void 0 : childWindow.childWindowId;
124
124
  }
125
125
  // istanbul ignore next: Used in `open` which is not tested.
126
126
  renderChildWindowContents(childWindow, childWindowId, content, title) {
@@ -164,10 +164,11 @@ export class InternalChildWindowManager {
164
164
  }
165
165
  // istanbul ignore next: Used in `open` which is not tested.
166
166
  adjustWidowLocation(location, center) {
167
+ var _a;
167
168
  const outLocation = { ...location };
168
169
  if (0 === location.top && 0 === location.left) {
169
- center = center ?? true;
170
- const windowTop = window.top ?? window;
170
+ center = center !== null && center !== void 0 ? center : true;
171
+ const windowTop = (_a = window.top) !== null && _a !== void 0 ? _a : window;
171
172
  // Prepare position of the new window to be centered against the 'parent' window.
172
173
  if (center) {
173
174
  outLocation.left =
@@ -1 +1 @@
1
- {"version":3,"file":"InternalChildWindowManager.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/InternalChildWindowManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F;;GAEG;AAEH,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YA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GAAG,mBAAmB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1D,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,SAAS,QAAQ,CAAC,KAAK,WAAW,QAAQ,CAAC,MAAM,SAAS,QAAQ,CAAC,IAAI,QAAQ,QAAQ,CAAC,GAAG,+DAA+D,CAAC,CAAC;QACrM,IAAI,CAAC,WAAW;YACd,OAAO,KAAK,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,CAAC,MAAM,EAAE;YACpB,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YACtC,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;SAC5E;aAAM;YACL,WAAW,CAAC,gBAAgB,CAAC,MAAM,EAAE,GAAG,EAAE;gBACxC,IAAI,CAAC,yBAAyB,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YAC7E,CAAC,EAAE,KAAK,CAAC,CAAC;SACX;QAED,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,GAAG,EAAE;YACrC,MAAM,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;YAClE,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aACjC;QACH,CAAC,EAAE,KAAK,CAAC,CAAC;QAEV,OAAO,IAAI,CAAC;IACd,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\r\n/** @packageDocumentation\r\n * @module ChildWindowManager\r\n */\r\n\r\nimport \"./InternalChildWindowManager.scss\";\r\nimport * as React from \"react\";\r\nimport * as ReactDOM from \"react-dom\";\r\nimport { copyStyles } from \"./CopyStyles\";\r\nimport { Provider } from \"react-redux\";\r\nimport { StateManager } from \"../redux/StateManager\";\r\nimport { UiStateStorageHandler } from \"../uistate/useUiStateStorage\";\r\nimport { PopupRenderer } from \"../popup/PopupManager\";\r\nimport { ModelessDialogRenderer } from \"../dialog/ModelessDialogManager\";\r\nimport { ModalDialogRenderer } from \"../dialog/ModalDialogManager\";\r\nimport { CursorPopupMenu } from \"../cursor/cursormenu/CursorMenu\";\r\nimport { ThemeManager } from \"../theme/ThemeManager\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { ChildWindowLocationProps, FrameworkChildWindows, OpenChildWindowInfo } from \"../framework/FrameworkChildWindows\";\r\n\r\nconst childHtml = `<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <meta charset=\"utf-8\" />\r\n <style>\r\n html,\r\n body {\r\n height: 100%;\r\n width: 100%;\r\n margin: 0;\r\n overflow: hidden;\r\n }\r\n #root {\r\n height: 100%;\r\n }\r\n </style>\r\n</head>\r\n<body>\r\n <noscript>You need to enable JavaScript to run this app.</noscript>\r\n <div id=\"root\"></div>\r\n</body>\r\n</html>`;\r\n\r\n/**\r\n * Simplification of non exported CreateRoot parameter, only to be used\r\n * in InternalChildWindowManager and ChildWindowManager\r\n * @internal\r\n */\r\nexport type CreateRoot = Parameters<FrameworkChildWindows[\"useCreateRoot\"]>[0];\r\n\r\n/** Supports opening a child browser window from the main application window. The child window is managed by the main application\r\n * and is running in the same security context. The application must deliver the html file iTwinPopup.html along side its index.html.\r\n * See also: [Child Window Manager]($docs/learning/ui/appui-react/ChildWindows.md)\r\n * @internal\r\n * */\r\nexport class InternalChildWindowManager implements FrameworkChildWindows {\r\n private _openChildWindows: OpenChildWindowInfo[] = [];\r\n private _createRoot?: CreateRoot;\r\n\r\n public get openChildWindows() {\r\n return this._openChildWindows;\r\n }\r\n\r\n /**\r\n * When using React18, the `createRoot` function must be provided in order to render Popout content with React18.\r\n * Do not call if using React 17 or before.\r\n *\r\n * Note: The type of the function is intentionally simplified here.\r\n *\r\n * @param createRootFn Function imported from `import { createRoot } from \"react-dom/client\";`\r\n * @beta Will be removed once the transition to react 18 is complete.\r\n */\r\n // istanbul ignore next: Result of this assignment is only visible in `open`, which is not tested.\r\n public useCreateRoot(createRootFn: CreateRoot): void {\r\n this._createRoot = createRootFn;\r\n }\r\n\r\n /**\r\n * Abstracts ReactDOM.render to use either the _createRoot method or the default ReactDOM.render.\r\n * @param element Element to render.\r\n * @param container Container to render to.\r\n */\r\n // istanbul ignore next: Used in `open` which is not tested.\r\n private render(element: React.FunctionComponentElement<any>, container: Element | DocumentFragment) {\r\n if(this._createRoot) {\r\n this._createRoot(container).render(element);\r\n } else {\r\n ReactDOM.render(element, container);\r\n }\r\n }\r\n\r\n /**\r\n * Returns the OpenChildWindowInfo for the related id.\r\n * @param childWindowId Id of the window to retrieve.\r\n * @returns undefined if not found.\r\n */\r\n public find(childWindowId: string | undefined): OpenChildWindowInfo | undefined {\r\n if (undefined === childWindowId)\r\n return undefined;\r\n\r\n return this.openChildWindows.find((openWindow) => openWindow.childWindowId === childWindowId);\r\n }\r\n\r\n /**\r\n * Return the childWindowId of the provided window.\r\n * @param contentWindow Window element to identify\r\n * @returns undefined if not found\r\n */\r\n public findId(contentWindow: Window | undefined | null): string | undefined {\r\n if (!contentWindow)\r\n return undefined;\r\n\r\n const childWindow = this.openChildWindows.find((openWindow) => openWindow.window === contentWindow);\r\n return childWindow?.childWindowId;\r\n }\r\n\r\n // istanbul ignore next: Used in `open` which is not tested.\r\n private renderChildWindowContents(childWindow: Window, childWindowId: string, content: React.ReactNode, title: string) {\r\n childWindow.document.title = title;\r\n const reactConnectionDiv = childWindow.document.getElementById(\"root\");\r\n if (reactConnectionDiv) {\r\n // set openChildWindows now so components can use it when they mount\r\n this._openChildWindows.push({\r\n childWindowId,\r\n window: childWindow,\r\n parentWindow: window,\r\n });\r\n\r\n setTimeout(() => {\r\n copyStyles(childWindow.document);\r\n setTimeout(() => {\r\n this.render(\r\n <Provider store={StateManager.store} >\r\n <UiStateStorageHandler>\r\n <ThemeManager>\r\n <div className=\"uifw-child-window-container-host\">\r\n <PopupRenderer />\r\n <ModalDialogRenderer />\r\n <ModelessDialogRenderer />\r\n <CursorPopupMenu />\r\n <div className=\"uifw-child-window-container nz-widget-widget\">\r\n {content}\r\n </div>\r\n </div>\r\n </ThemeManager>\r\n </UiStateStorageHandler>\r\n </Provider>,\r\n reactConnectionDiv\r\n );\r\n });\r\n });\r\n\r\n childWindow.onbeforeunload = () => {\r\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (!frontStageDef)\r\n return;\r\n frontStageDef.saveChildWindowSizeAndPosition(childWindowId, childWindow);\r\n this.close(childWindowId, false);\r\n };\r\n }\r\n }\r\n\r\n /** Close all child/pop-out windows. This typically is called when the frontstage is changed. */\r\n public closeAll() {\r\n // istanbul ignore next\r\n this.openChildWindows.forEach((openChildWindow) => openChildWindow.window.close());\r\n this._openChildWindows = [];\r\n }\r\n\r\n /**\r\n * Close a specific child window.\r\n * @param childWindowId Id of the window to close\r\n * @param processWindowClose should the `close` method be called on the closing window. (defaults to true)\r\n * @returns false if the window could not be found.\r\n */\r\n public close = (childWindowId: string, processWindowClose = true) => {\r\n const windowIndex = this.openChildWindows.findIndex((openWindow) => openWindow.childWindowId === childWindowId);\r\n if (-1 === windowIndex)\r\n return false;\r\n const childWindow = this.openChildWindows[windowIndex];\r\n this.openChildWindows.splice(windowIndex, 1);\r\n if (processWindowClose) {\r\n childWindow.window.close();\r\n } else {\r\n // call the following to convert popout to docked widget\r\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\r\n frontStageDef && frontStageDef.dockPopoutWidgetContainer(childWindowId);\r\n }\r\n return true;\r\n };\r\n\r\n // istanbul ignore next: Used in `open` which is not tested.\r\n private adjustWidowLocation(location: ChildWindowLocationProps, center?: boolean): ChildWindowLocationProps {\r\n const outLocation = { ...location };\r\n if (0 === location.top && 0 === location.left) {\r\n center = center ?? true;\r\n const windowTop = window.top ?? window;\r\n\r\n // Prepare position of the new window to be centered against the 'parent' window.\r\n if (center) {\r\n outLocation.left =\r\n windowTop.outerWidth / 2 + windowTop.screenX - location.width / 2;\r\n outLocation.top =\r\n windowTop.outerHeight / 2 + windowTop.screenY - location.height / 2;\r\n } else {\r\n if (undefined !== window.screenLeft && undefined !== window.screenTop) {\r\n outLocation.top = window.screenTop + location.top;\r\n outLocation.left = window.screenLeft + location.left;\r\n }\r\n }\r\n }\r\n return outLocation;\r\n }\r\n\r\n /**\r\n * Open a new child window.\r\n * @param childWindowId Id to assign to the newly created window.\r\n * @param title Title to display on the window.\r\n * @param content ReactNode to be rendered in the window.\r\n * @param location Position and size information\r\n * @param useDefaultPopoutUrl use \"/iTwinPopup.html\" as the window Url, \"\" otherwise.\r\n * @returns true if the window is opened successfully.\r\n */\r\n // istanbul ignore next: Would require mocking window.open to return a window object.\r\n public open(childWindowId: string, title: string, content: React.ReactNode, location: ChildWindowLocationProps, useDefaultPopoutUrl?: boolean) {\r\n // first check to see if content is already open in child window\r\n if (this.openChildWindows.findIndex((openWindow) => openWindow.childWindowId === childWindowId) >= 0) {\r\n return false;\r\n }\r\n\r\n location = this.adjustWidowLocation(location);\r\n const url = useDefaultPopoutUrl ? \"/iTwinPopup.html\" : \"\";\r\n const childWindow = window.open(url, \"\", `width=${location.width},height=${location.height},left=${location.left},top=${location.top},menubar=no,resizable=yes,scrollbars=no,status=no,location=no`);\r\n if (!childWindow)\r\n return false;\r\n if (0 === url.length) {\r\n childWindow.document.write(childHtml);\r\n this.renderChildWindowContents(childWindow, childWindowId, content, title);\r\n } else {\r\n childWindow.addEventListener(\"load\", () => {\r\n this.renderChildWindowContents(childWindow, childWindowId, content, title);\r\n }, false);\r\n }\r\n\r\n window.addEventListener(\"unload\", () => {\r\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontStageDef) {\r\n this.close(childWindowId, true);\r\n }\r\n }, false);\r\n\r\n return true;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"InternalChildWindowManager.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/InternalChildWindowManager.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F;;GAEG;AAEH,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;QAqBV,CAAC;AAST;;;;KAIK;AACL,MAAM,OAAO,0BAA0B;IAAvC;QACU,sBAAiB,GAA0B,EAAE,CAAC;QAiHtD;;;;;WAKG;QACI,UAAK,GAAG,CAAC,aAAqB,EAAE,kBAAkB,GAAG,IAAI,EAAE,EAAE;YAClE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,aAAa,KAAK,aAAa,CAAC,CAAC;YAChH,IAAI,CAAC,CAAC,KAAK,WAAW;gBACpB,OAAO,KAAK,CAAC;YACf,MAAM,W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AAM,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC;YAClE,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aACjC;QACH,CAAC,EAAE,KAAK,CAAC,CAAC;QAEV,OAAO,IAAI,CAAC;IACd,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\n/** @packageDocumentation\n * @module ChildWindowManager\n */\n\nimport \"./InternalChildWindowManager.scss\";\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { copyStyles } from \"./CopyStyles\";\nimport { Provider } from \"react-redux\";\nimport { StateManager } from \"../redux/StateManager\";\nimport { UiStateStorageHandler } from \"../uistate/useUiStateStorage\";\nimport { PopupRenderer } from \"../popup/PopupManager\";\nimport { ModelessDialogRenderer } from \"../dialog/ModelessDialogManager\";\nimport { ModalDialogRenderer } from \"../dialog/ModalDialogManager\";\nimport { CursorPopupMenu } from \"../cursor/cursormenu/CursorMenu\";\nimport { ThemeManager } from \"../theme/ThemeManager\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { ChildWindowLocationProps, FrameworkChildWindows, OpenChildWindowInfo } from \"../framework/FrameworkChildWindows\";\n\nconst childHtml = `<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\" />\n <style>\n html,\n body {\n height: 100%;\n width: 100%;\n margin: 0;\n overflow: hidden;\n }\n #root {\n height: 100%;\n }\n </style>\n</head>\n<body class=\"iui-root\">\n <noscript>You need to enable JavaScript to run this app.</noscript>\n <div id=\"root\"></div>\n</body>\n</html>`;\n\n/**\n * Simplification of non exported CreateRoot parameter, only to be used\n * in InternalChildWindowManager and ChildWindowManager\n * @internal\n */\nexport type CreateRoot = Parameters<FrameworkChildWindows[\"useCreateRoot\"]>[0];\n\n/** Supports opening a child browser window from the main application window. The child window is managed by the main application\n * and is running in the same security context. The application must deliver the html file iTwinPopup.html along side its index.html.\n * See also: [Child Window Manager]($docs/learning/ui/appui-react/ChildWindows.md)\n * @internal\n * */\nexport class InternalChildWindowManager implements FrameworkChildWindows {\n private _openChildWindows: OpenChildWindowInfo[] = [];\n private _createRoot?: CreateRoot;\n\n public get openChildWindows() {\n return this._openChildWindows;\n }\n\n /**\n * When using React18, the `createRoot` function must be provided in order to render Popout content with React18.\n * Do not call if using React 17 or before.\n *\n * Note: The type of the function is intentionally simplified here.\n *\n * @param createRootFn Function imported from `import { createRoot } from \"react-dom/client\";`\n * @beta Will be removed once the transition to react 18 is complete.\n */\n // istanbul ignore next: Result of this assignment is only visible in `open`, which is not tested.\n public useCreateRoot(createRootFn: CreateRoot): void {\n this._createRoot = createRootFn;\n }\n\n /**\n * Abstracts ReactDOM.render to use either the _createRoot method or the default ReactDOM.render.\n * @param element Element to render.\n * @param container Container to render to.\n */\n // istanbul ignore next: Used in `open` which is not tested.\n private render(element: React.FunctionComponentElement<any>, container: Element | DocumentFragment) {\n if(this._createRoot) {\n this._createRoot(container).render(element);\n } else {\n ReactDOM.render(element, container);\n }\n }\n\n /**\n * Returns the OpenChildWindowInfo for the related id.\n * @param childWindowId Id of the window to retrieve.\n * @returns undefined if not found.\n */\n public find(childWindowId: string | undefined): OpenChildWindowInfo | undefined {\n if (undefined === childWindowId)\n return undefined;\n\n return this.openChildWindows.find((openWindow) => openWindow.childWindowId === childWindowId);\n }\n\n /**\n * Return the childWindowId of the provided window.\n * @param contentWindow Window element to identify\n * @returns undefined if not found\n */\n public findId(contentWindow: Window | undefined | null): string | undefined {\n if (!contentWindow)\n return undefined;\n\n const childWindow = this.openChildWindows.find((openWindow) => openWindow.window === contentWindow);\n return childWindow?.childWindowId;\n }\n\n // istanbul ignore next: Used in `open` which is not tested.\n private renderChildWindowContents(childWindow: Window, childWindowId: string, content: React.ReactNode, title: string) {\n childWindow.document.title = title;\n const reactConnectionDiv = childWindow.document.getElementById(\"root\");\n if (reactConnectionDiv) {\n // set openChildWindows now so components can use it when they mount\n this._openChildWindows.push({\n childWindowId,\n window: childWindow,\n parentWindow: window,\n });\n\n setTimeout(() => {\n copyStyles(childWindow.document);\n setTimeout(() => {\n this.render(\n <Provider store={StateManager.store} >\n <UiStateStorageHandler>\n <ThemeManager>\n <div className=\"uifw-child-window-container-host\">\n <PopupRenderer />\n <ModalDialogRenderer />\n <ModelessDialogRenderer />\n <CursorPopupMenu />\n <div className=\"uifw-child-window-container nz-widget-widget\">\n {content}\n </div>\n </div>\n </ThemeManager>\n </UiStateStorageHandler>\n </Provider>,\n reactConnectionDiv\n );\n });\n });\n\n childWindow.onbeforeunload = () => {\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\n if (!frontStageDef)\n return;\n frontStageDef.saveChildWindowSizeAndPosition(childWindowId, childWindow);\n this.close(childWindowId, false);\n };\n }\n }\n\n /** Close all child/pop-out windows. This typically is called when the frontstage is changed. */\n public closeAll() {\n // istanbul ignore next\n this.openChildWindows.forEach((openChildWindow) => openChildWindow.window.close());\n this._openChildWindows = [];\n }\n\n /**\n * Close a specific child window.\n * @param childWindowId Id of the window to close\n * @param processWindowClose should the `close` method be called on the closing window. (defaults to true)\n * @returns false if the window could not be found.\n */\n public close = (childWindowId: string, processWindowClose = true) => {\n const windowIndex = this.openChildWindows.findIndex((openWindow) => openWindow.childWindowId === childWindowId);\n if (-1 === windowIndex)\n return false;\n const childWindow = this.openChildWindows[windowIndex];\n this.openChildWindows.splice(windowIndex, 1);\n if (processWindowClose) {\n childWindow.window.close();\n } else {\n // call the following to convert popout to docked widget\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\n frontStageDef && frontStageDef.dockPopoutWidgetContainer(childWindowId);\n }\n return true;\n };\n\n // istanbul ignore next: Used in `open` which is not tested.\n private adjustWidowLocation(location: ChildWindowLocationProps, center?: boolean): ChildWindowLocationProps {\n const outLocation = { ...location };\n if (0 === location.top && 0 === location.left) {\n center = center ?? true;\n const windowTop = window.top ?? window;\n\n // Prepare position of the new window to be centered against the 'parent' window.\n if (center) {\n outLocation.left =\n windowTop.outerWidth / 2 + windowTop.screenX - location.width / 2;\n outLocation.top =\n windowTop.outerHeight / 2 + windowTop.screenY - location.height / 2;\n } else {\n if (undefined !== window.screenLeft && undefined !== window.screenTop) {\n outLocation.top = window.screenTop + location.top;\n outLocation.left = window.screenLeft + location.left;\n }\n }\n }\n return outLocation;\n }\n\n /**\n * Open a new child window.\n * @param childWindowId Id to assign to the newly created window.\n * @param title Title to display on the window.\n * @param content ReactNode to be rendered in the window.\n * @param location Position and size information\n * @param useDefaultPopoutUrl use \"/iTwinPopup.html\" as the window Url, \"\" otherwise.\n * @returns true if the window is opened successfully.\n */\n // istanbul ignore next: Would require mocking window.open to return a window object.\n public open(childWindowId: string, title: string, content: React.ReactNode, location: ChildWindowLocationProps, useDefaultPopoutUrl?: boolean) {\n // first check to see if content is already open in child window\n if (this.openChildWindows.findIndex((openWindow) => openWindow.childWindowId === childWindowId) >= 0) {\n return false;\n }\n\n location = this.adjustWidowLocation(location);\n const url = useDefaultPopoutUrl ? \"/iTwinPopup.html\" : \"\";\n const childWindow = window.open(url, \"\", `width=${location.width},height=${location.height},left=${location.left},top=${location.top},menubar=no,resizable=yes,scrollbars=no,status=no,location=no`);\n if (!childWindow)\n return false;\n if (0 === url.length) {\n childWindow.document.write(childHtml);\n this.renderChildWindowContents(childWindow, childWindowId, content, title);\n } else {\n childWindow.addEventListener(\"load\", () => {\n this.renderChildWindowContents(childWindow, childWindowId, content, title);\n }, false);\n }\n\n window.addEventListener(\"unload\", () => {\n const frontStageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontStageDef) {\n this.close(childWindowId, true);\n }\n }, false);\n\n return true;\n }\n}\n"]}
@@ -1,14 +1,14 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- .uifw-child-window-container-host {
6
- height: 100%;
7
- width: 100%;
8
- position: relative;
9
- }
10
-
11
- .uifw-child-window-container {
12
- height: 100%;
13
- width: 100%;
14
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ .uifw-child-window-container-host {
6
+ height: 100%;
7
+ width: 100%;
8
+ position: relative;
9
+ }
10
+
11
+ .uifw-child-window-container {
12
+ height: 100%;
13
+ width: 100%;
14
+ }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /// <reference types="react" />
5
5
  import "./PopoutWidget.scss";
6
- import { WidgetDef } from "../widgets/WidgetDef";
6
+ import type { WidgetDef } from "../widgets/WidgetDef";
7
7
  interface PopoutWidgetProps {
8
8
  widgetContainerId: string;
9
9
  widgetDef: WidgetDef;
@@ -1 +1 @@
1
- {"version":3,"file":"PopoutWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/PopoutWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,qBAAqB,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,UAAU,iBAAiB;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAE,EAAE,iBAAiB,eAM/E"}
1
+ {"version":3,"file":"PopoutWidget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/PopoutWidget.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,UAAU,iBAAiB;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAE,EAAE,iBAAiB,eAM/E"}
@@ -1 +1 @@
1
- {"version":3,"file":"PopoutWidget.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/PopoutWidget.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,qBAAqB,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAqB;IAC9E,OAAO,CACL,6BAAK,SAAS,EAAC,qCAAqC,oBAAiB,iBAAiB,IACnF,SAAS,CAAC,SAAS,CAChB,CACP,CAAC;AACJ,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ChildWindowManager\r\n */\r\n\r\nimport \"./PopoutWidget.scss\";\r\nimport * as React from \"react\";\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\n\r\ninterface PopoutWidgetProps {\r\n widgetContainerId: string;\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Component used to wrap a widget for use is a child window.\r\n * @internal\r\n */\r\nexport function PopoutWidget({ widgetContainerId, widgetDef }: PopoutWidgetProps) {\r\n return (\r\n <div className=\"uifw-popout-widget-filled-container\" data-widget-id={widgetContainerId}>\r\n {widgetDef.reactNode}\r\n </div>\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"PopoutWidget.js","sourceRoot":"","sources":["../../../../src/appui-react/childwindow/PopoutWidget.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,qBAAqB,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAqB;IAC9E,OAAO,CACL,6BAAK,SAAS,EAAC,qCAAqC,oBAAiB,iBAAiB,IACnF,SAAS,CAAC,SAAS,CAChB,CACP,CAAC;AACJ,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 ChildWindowManager\n */\n\nimport \"./PopoutWidget.scss\";\nimport * as React from \"react\";\nimport type { WidgetDef } from \"../widgets/WidgetDef\";\n\ninterface PopoutWidgetProps {\n widgetContainerId: string;\n widgetDef: WidgetDef;\n}\n\n/** Component used to wrap a widget for use is a child window.\n * @internal\n */\nexport function PopoutWidget({ widgetContainerId, widgetDef }: PopoutWidgetProps) {\n return (\n <div className=\"uifw-popout-widget-filled-container\" data-widget-id={widgetContainerId}>\n {widgetDef.reactNode}\n </div>\n );\n}\n"]}
@@ -1,10 +1,10 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- .uifw-popout-widget-filled-container{
7
- display: flex;
8
- height: 100%;
9
- width: 100%;
10
- }
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .uifw-popout-widget-filled-container{
7
+ display: flex;
8
+ height: 100%;
9
+ width: 100%;
10
+ }