@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":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,4EAA4G;AAC5G,kDAAsI;AACtI,kEAA2D;AAG3D,gDAA6C;AAE7C,SAAS,0BAA0B,CAAC,oBAAgD,EAAE,eAAuB,EAAE,cAA0C;IACvJ,uBAAuB;IACvB,IAAI,CAAC,oBAAoB,IAAI,CAAC,eAAe,IAAI,CAAC,cAAc,KAAK,oBAAoB,CAAC,QAAQ,CAAC;QACjG,OAAO,SAAS,CAAC;IAEnB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,0BAA0B,CAAC,yBAAW,CAAC,mBAAmB,EAAE,CAAC;IACzG,MAAM,oBAAoB,GAAG,yBAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,eAAe,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAyB,CAAC;IAEzI,oBAAoB,CAAC,UAAU,E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AAM,aAAa,GAAG,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,IAAI,oBAAC,iBAAiB,OAAG,CAAC;IAEjG,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,mCAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AA1BD,4DA0BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { ScreenViewport } from \"@itwin/core-frontend\";\r\nimport { ViewClassFullNameChangedEventArgs, ViewportComponentEvents } from \"@itwin/imodel-components-react\";\r\nimport { CommonProps, useProximityToMouse, useWidgetOpacityContext, WidgetElementSet, WidgetOpacityContext } from \"@itwin/core-react\";\r\nimport { NavigationArea } from \"@itwin/appui-layout-react\";\r\nimport { ContentControl, ContentControlActivatedEventArgs } from \"../content/ContentControl\";\r\nimport { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\nfunction createNavigationAidControl(activeContentControl: ContentControl | undefined, navigationAidId: string, activeViewport: ScreenViewport | undefined): NavigationAidControl | undefined {\r\n // istanbul ignore else\r\n if (!activeContentControl || !navigationAidId || (activeViewport !== activeContentControl.viewport))\r\n return undefined;\r\n\r\n const viewport = activeContentControl.viewport;\r\n const imodel = viewport ? viewport.iModel : /* istanbul ignore next */ UiFramework.getIModelConnection();\r\n const navigationAidControl = UiFramework.controls.create(navigationAidId, navigationAidId, { imodel, viewport }) as NavigationAidControl;\r\n\r\n navigationAidControl.initialize();\r\n return navigationAidControl;\r\n}\r\n\r\n/** Properties for the [[NavigationAidHost]] React component\r\n * @public\r\n */\r\nexport interface NavigationAidHostProps {\r\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\r\n minWidth?: string;\r\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\r\n minHeight?: string;\r\n}\r\n\r\n/**\r\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\r\n * @public\r\n */\r\nexport function NavigationAidHost(props: NavigationAidHostProps) {\r\n const [activeContentControl, setActiveContentControl] = React.useState(() => UiFramework.content.getActiveContentControl());\r\n const [activeContentViewport, setActiveContentViewport] = React.useState(() => /* istanbul ignore next */ activeContentControl?.viewport);\r\n const [navigationAidId, setNavigationAidId] = React.useState(() => activeContentControl ? activeContentControl.navigationAidControl : /* istanbul ignore next */ \"\");\r\n\r\n React.useEffect(() => {\r\n // istanbul ignore next\r\n const handleContentControlActivated = (args: ContentControlActivatedEventArgs) => {\r\n setActiveContentControl(args.activeContentControl);\r\n setActiveContentViewport(args.activeContentControl.viewport);\r\n setNavigationAidId(args.activeContentControl.navigationAidControl);\r\n };\r\n\r\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(handleContentControlActivated);\r\n return () => {\r\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(handleContentControlActivated);\r\n };\r\n }, []);\r\n\r\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\r\n const content = UiFramework.content.getActiveContentControl();\r\n if (content && content.viewport)\r\n return content.viewport.view.classFullName;\r\n return \"\";\r\n });\r\n\r\n React.useEffect(() => {\r\n // istanbul ignore next\r\n const handleViewClassFullNameChange = (args: ViewClassFullNameChangedEventArgs) => {\r\n setActiveViewClass(args.newName);\r\n };\r\n\r\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(handleViewClassFullNameChange);\r\n return () => {\r\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(handleViewClassFullNameChange);\r\n };\r\n }, [activeViewClass]);\r\n\r\n const navigationAidControl = React.useMemo(() => createNavigationAidControl(activeContentControl, navigationAidId, activeContentViewport), [activeContentControl, navigationAidId, activeContentViewport]);\r\n\r\n const ref = React.useRef<HTMLDivElement>(null);\r\n\r\n const isInitialMount = React.useRef(true);\r\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\r\n\r\n React.useEffect(() => {\r\n // istanbul ignore else\r\n if (isInitialMount.current) {\r\n isInitialMount.current = false;\r\n onElementRef(ref);\r\n }\r\n }, [onElementRef]);\r\n\r\n const divStyle: React.CSSProperties = {\r\n minWidth: props.minWidth ? /* istanbul ignore next */ props.minWidth : \"64px\",\r\n minHeight: props.minHeight ? /* istanbul ignore next */ props.minHeight : \"64px\",\r\n };\r\n\r\n // istanbul ignore else\r\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\r\n const navigationAidOpacity = (0.30 * proximityScale) + 0.70;\r\n divStyle.opacity = `${navigationAidOpacity}`;\r\n }\r\n\r\n return (\r\n <div style={divStyle} ref={ref}>\r\n {navigationAidControl && navigationAidControl.reactNode}\r\n </div>\r\n );\r\n}\r\n\r\n/** Properties for the [[NavigationWidgetComposer]] React components\r\n * @public\r\n */\r\nexport interface NavigationWidgetComposerProps extends CommonProps {\r\n /** Optional Horizontal Toolbar */\r\n horizontalToolbar?: React.ReactNode;\r\n /** Optional Vertical Toolbar */\r\n verticalToolbar?: React.ReactNode;\r\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\r\n navigationAidHost?: React.ReactNode;\r\n /** If true no navigation aid will be shown. Defaults to false. */\r\n hideNavigationAid?: boolean;\r\n}\r\n\r\n/**\r\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\r\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\r\n * @public\r\n */\r\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\r\n const { navigationAidHost, horizontalToolbar, verticalToolbar, hideNavigationAid, ...otherProps } = props;\r\n const [elementSet] = React.useState(new WidgetElementSet());\r\n const handleChildRef = React.useCallback((elementRef: React.RefObject<Element>) => {\r\n elementSet.add(elementRef);\r\n }, [elementSet]);\r\n const proximityScale = useProximityToMouse(elementSet, UiFramework.visibility.snapWidgetOpacity);\r\n /* istanbul ignore next */\r\n const navigationAid = hideNavigationAid ? undefined : navigationAidHost ?? <NavigationAidHost />;\r\n\r\n return (\r\n <WidgetOpacityContext.Provider\r\n value={{\r\n onElementRef: handleChildRef,\r\n proximityScale,\r\n }}\r\n >\r\n <NavigationArea\r\n navigationAid={navigationAid}\r\n horizontalToolbar={horizontalToolbar}\r\n verticalToolbar={verticalToolbar}\r\n {...otherProps}\r\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\r\n />\r\n </WidgetOpacityContext.Provider>\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"NavigationWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/NavigationWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAG/B,4EAAyE;AAEzE,kDAAyH;AACzH,kEAA2D;AAG3D,gDAA6C;AAE7C,SAAS,0BAA0B,CAAC,oBAAgD,EAAE,eAAuB,EAAE,cAA0C;IACvJ,uBAAuB;IACvB,IAAI,CAAC,oBAAoB,IAAI,CAAC,eAAe,IAAI,CAAC,cAAc,KAAK,oBAAoB,CAAC,QAAQ,CAAC;QACjG,OAAO,SAAS,CAAC;IAEnB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,0BAA0B,CAAC,yBAAW,CAAC,mBAAmB,EAAE,CAAC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,UAAU,CAAC,CAAC;IAC7B,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IACjB,MAAM,cAAc,GAAG,IAAA,gCAAmB,EAAC,UAAU,EAAE,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjG,0BAA0B;IAC1B,MAAM,aAAa,GAAG,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,oBAAC,iBAAiB,OAAG,CAAC;IAEjG,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,mCAAc,IACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AA1BD,4DA0BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport type { ViewClassFullNameChangedEventArgs} from \"@itwin/imodel-components-react\";\nimport { ViewportComponentEvents } from \"@itwin/imodel-components-react\";\nimport type { CommonProps} from \"@itwin/core-react\";\nimport { useProximityToMouse, useWidgetOpacityContext, WidgetElementSet, WidgetOpacityContext } from \"@itwin/core-react\";\nimport { NavigationArea } from \"@itwin/appui-layout-react\";\nimport type { ContentControl, ContentControlActivatedEventArgs } from \"../content/ContentControl\";\nimport type { NavigationAidControl } from \"../navigationaids/NavigationAidControl\";\nimport { UiFramework } from \"../UiFramework\";\n\nfunction createNavigationAidControl(activeContentControl: ContentControl | undefined, navigationAidId: string, activeViewport: ScreenViewport | undefined): NavigationAidControl | undefined {\n // istanbul ignore else\n if (!activeContentControl || !navigationAidId || (activeViewport !== activeContentControl.viewport))\n return undefined;\n\n const viewport = activeContentControl.viewport;\n const imodel = viewport ? viewport.iModel : /* istanbul ignore next */ UiFramework.getIModelConnection();\n const navigationAidControl = UiFramework.controls.create(navigationAidId, navigationAidId, { imodel, viewport }) as NavigationAidControl;\n\n navigationAidControl.initialize();\n return navigationAidControl;\n}\n\n/** Properties for the [[NavigationAidHost]] React component\n * @public\n */\nexport interface NavigationAidHostProps {\n /** Navigation Aid Host minimum width. Defaults to \"64px\". */\n minWidth?: string;\n /** Navigation Aid Host minimum height. Defaults to \"64px\". */\n minHeight?: string;\n}\n\n/**\n * NavigationAidHost is a component that hosts a NavigationAid that is specific to the active content control.\n * @public\n */\nexport function NavigationAidHost(props: NavigationAidHostProps) {\n const [activeContentControl, setActiveContentControl] = React.useState(() => UiFramework.content.getActiveContentControl());\n const [activeContentViewport, setActiveContentViewport] = React.useState(() => /* istanbul ignore next */ activeContentControl?.viewport);\n const [navigationAidId, setNavigationAidId] = React.useState(() => activeContentControl ? activeContentControl.navigationAidControl : /* istanbul ignore next */ \"\");\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleContentControlActivated = (args: ContentControlActivatedEventArgs) => {\n setActiveContentControl(args.activeContentControl);\n setActiveContentViewport(args.activeContentControl.viewport);\n setNavigationAidId(args.activeContentControl.navigationAidControl);\n };\n\n UiFramework.frontstages.onContentControlActivatedEvent.addListener(handleContentControlActivated);\n return () => {\n UiFramework.frontstages.onContentControlActivatedEvent.removeListener(handleContentControlActivated);\n };\n }, []);\n\n const [activeViewClass, setActiveViewClass] = React.useState(() => {\n const content = UiFramework.content.getActiveContentControl();\n if (content && content.viewport)\n return content.viewport.view.classFullName;\n return \"\";\n });\n\n React.useEffect(() => {\n // istanbul ignore next\n const handleViewClassFullNameChange = (args: ViewClassFullNameChangedEventArgs) => {\n setActiveViewClass(args.newName);\n };\n\n ViewportComponentEvents.onViewClassFullNameChangedEvent.addListener(handleViewClassFullNameChange);\n return () => {\n ViewportComponentEvents.onViewClassFullNameChangedEvent.removeListener(handleViewClassFullNameChange);\n };\n }, [activeViewClass]);\n\n const navigationAidControl = React.useMemo(() => createNavigationAidControl(activeContentControl, navigationAidId, activeContentViewport), [activeContentControl, navigationAidId, activeContentViewport]);\n\n const ref = React.useRef<HTMLDivElement>(null);\n\n const isInitialMount = React.useRef(true);\n const { onElementRef, proximityScale } = useWidgetOpacityContext();\n\n React.useEffect(() => {\n // istanbul ignore else\n if (isInitialMount.current) {\n isInitialMount.current = false;\n onElementRef(ref);\n }\n }, [onElementRef]);\n\n const divStyle: React.CSSProperties = {\n minWidth: props.minWidth ? /* istanbul ignore next */ props.minWidth : \"64px\",\n minHeight: props.minHeight ? /* istanbul ignore next */ props.minHeight : \"64px\",\n };\n\n // istanbul ignore else\n if (UiFramework.visibility.useProximityOpacity && !UiFramework.isMobile()) {\n const navigationAidOpacity = (0.30 * proximityScale) + 0.70;\n divStyle.opacity = `${navigationAidOpacity}`;\n }\n\n return (\n <div style={divStyle} ref={ref}>\n {navigationAidControl && navigationAidControl.reactNode}\n </div>\n );\n}\n\n/** Properties for the [[NavigationWidgetComposer]] React components\n * @public\n */\nexport interface NavigationWidgetComposerProps extends CommonProps {\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n /** Optional Navigation Aid host. If not specified a default host is provided which will use registered Navigation Aids and the active content control to determine which if any Navigation Aid to display. */\n navigationAidHost?: React.ReactNode;\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * Component that Composes a NavigationWidget typically using toolbars generated via [[ToolbarComposer]] class. The Navigation widget is shown in the top right of the content area\n * and typically holds tools to visually navigate, orient, and zoom to specific content.\n * @public\n */\nexport function NavigationWidgetComposer(props: NavigationWidgetComposerProps) {\n const { navigationAidHost, horizontalToolbar, verticalToolbar, hideNavigationAid, ...otherProps } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback((elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n }, [elementSet]);\n const proximityScale = useProximityToMouse(elementSet, UiFramework.visibility.snapWidgetOpacity);\n /* istanbul ignore next */\n const navigationAid = hideNavigationAid ? undefined : navigationAidHost ?? <NavigationAidHost />;\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <NavigationArea\n navigationAid={navigationAid}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import { WidgetDef } from "./WidgetDef";
4
+ import type { WidgetDef } from "./WidgetDef";
5
5
  /** Proxy will return `stableId` if target [[WidgetDef]] id is auto-generated.
6
6
  * @internal
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StableWidgetDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StableWidgetDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAMxC;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAWvF"}
1
+ {"version":3,"file":"StableWidgetDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StableWidgetDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAM7C;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAWvF"}
@@ -1 +1 @@
1
- {"version":3,"file":"StableWidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StableWidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,SAAS,WAAW,CAAC,KAAsB;IACzC,OAAO,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACrC,CAAC;AAED;;GAEG;AACH,SAAgB,qBAAqB,CAAC,SAAoB,EAAE,QAAgB;IAC1E,OAAO,IAAI,KAAK,CAAC,SAAS,EAAE;QAC1B,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ;YACxB,MAAM,MAAM,GAAgC,IAAI,CAAC;YACjD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClD,IAAI,IAAI,KAAK,MAAM,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE;gBACzC,OAAO,QAAQ,CAAC;aACjB;YACD,OAAO,KAAK,CAAC;QACf,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAXD,sDAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { WidgetDef } from \"./WidgetDef\";\r\n\r\nfunction isGenerated(value: WidgetDef[\"id\"]) {\r\n return value.startsWith(\"Widget-\");\r\n}\r\n\r\n/** Proxy will return `stableId` if target [[WidgetDef]] id is auto-generated.\r\n * @internal\r\n */\r\nexport function createStableWidgetDef(widgetDef: WidgetDef, stableId: string): WidgetDef {\r\n return new Proxy(widgetDef, {\r\n get(target, name, receiver) {\r\n const idName: keyof Pick<WidgetDef, \"id\"> = \"id\";\r\n const value = Reflect.get(target, name, receiver);\r\n if (name === idName && isGenerated(value)) {\r\n return stableId;\r\n }\r\n return value;\r\n },\r\n });\r\n}\r\n"]}
1
+ {"version":3,"file":"StableWidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StableWidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,SAAS,WAAW,CAAC,KAAsB;IACzC,OAAO,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACrC,CAAC;AAED;;GAEG;AACH,SAAgB,qBAAqB,CAAC,SAAoB,EAAE,QAAgB;IAC1E,OAAO,IAAI,KAAK,CAAC,SAAS,EAAE;QAC1B,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ;YACxB,MAAM,MAAM,GAAgC,IAAI,CAAC;YACjD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClD,IAAI,IAAI,KAAK,MAAM,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE;gBACzC,OAAO,QAAQ,CAAC;aACjB;YACD,OAAO,KAAK,CAAC;QACf,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAXD,sDAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { WidgetDef } from \"./WidgetDef\";\n\nfunction isGenerated(value: WidgetDef[\"id\"]) {\n return value.startsWith(\"Widget-\");\n}\n\n/** Proxy will return `stableId` if target [[WidgetDef]] id is auto-generated.\n * @internal\n */\nexport function createStableWidgetDef(widgetDef: WidgetDef, stableId: string): WidgetDef {\n return new Proxy(widgetDef, {\n get(target, name, receiver) {\n const idName: keyof Pick<WidgetDef, \"id\"> = \"id\";\n const value = Reflect.get(target, name, receiver);\n if (name === idName && isGenerated(value)) {\n return stableId;\n }\n return value;\n },\n });\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"StatusBarWidgetComposerControl.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StatusBarWidgetComposerControl.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,sEAAmE;AACnE,gFAA6E;AAC7E,gDAA6C;AAE7C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,8BAA+B,SAAQ,+CAAsB;IAA1E;;QAEkB,OAAE,GAAG,8BAA8B,CAAC,SAAS,CAAC;IAOhE,CAAC;IALQ,YAAY;QACjB,OAAO,CACL,oBAAC,qCAAiB,IAAC,GAAG,EAAE,yBAAW,CAAC,WAAW,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,GAAI,CAClF,CAAC;IACJ,CAAC;;AAPa,wCAAS,GAAG,qCAAqC,AAAxC,CAAyC;AADrD,wEAA8B","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { StatusBarComposer } from \"../statusbar/StatusBarComposer\";\r\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/**\r\n * StatusBarWidgetComposerControl provides status bar to specified [[Frontstage]] that allows status bar items to be populated\r\n * via UiItemsProviders. See [[StandardStatusbarItemsProvider]] that can be used to populate this status bar with a common\r\n * set of status fields.\r\n * @example\r\n * ```\r\n * statusBar={\r\n * <Zone\r\n * widgets={\r\n * [\r\n * <Widget isStatusBar={true} control={StatusBarWidgetComposerControl} />\r\n * ]}\r\n * />\r\n * }\r\n * ```\r\n * @public\r\n */\r\nexport class StatusBarWidgetComposerControl extends StatusBarWidgetControl {\r\n public static controlId = \"uifw:StatusBarWidgetComposerControl\";\r\n public readonly id = StatusBarWidgetComposerControl.controlId;\r\n\r\n public getReactNode(): React.ReactNode {\r\n return (\r\n <StatusBarComposer key={UiFramework.frontstages.activeFrontstageId} items={[]} />\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"StatusBarWidgetComposerControl.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/StatusBarWidgetComposerControl.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,sEAAmE;AACnE,gFAA6E;AAC7E,gDAA6C;AAE7C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,8BAA+B,SAAQ,+CAAsB;IAA1E;;QAEkB,OAAE,GAAG,8BAA8B,CAAC,SAAS,CAAC;IAOhE,CAAC;IALQ,YAAY;QACjB,OAAO,CACL,oBAAC,qCAAiB,IAAC,GAAG,EAAE,yBAAW,CAAC,WAAW,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,GAAI,CAClF,CAAC;IACJ,CAAC;;AAPa,wCAAS,GAAG,qCAAqC,AAAxC,CAAyC;AADrD,wEAA8B","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport { StatusBarComposer } from \"../statusbar/StatusBarComposer\";\nimport { StatusBarWidgetControl } from \"../statusbar/StatusBarWidgetControl\";\nimport { UiFramework } from \"../UiFramework\";\n\n/**\n * StatusBarWidgetComposerControl provides status bar to specified [[Frontstage]] that allows status bar items to be populated\n * via UiItemsProviders. See [[StandardStatusbarItemsProvider]] that can be used to populate this status bar with a common\n * set of status fields.\n * @example\n * ```\n * statusBar={\n * <Zone\n * widgets={\n * [\n * <Widget isStatusBar={true} control={StatusBarWidgetComposerControl} />\n * ]}\n * />\n * }\n * ```\n * @public\n */\nexport class StatusBarWidgetComposerControl extends StatusBarWidgetControl {\n public static controlId = \"uifw:StatusBarWidgetComposerControl\";\n public readonly id = StatusBarWidgetComposerControl.controlId;\n\n public getReactNode(): React.ReactNode {\n return (\n <StatusBarComposer key={UiFramework.frontstages.activeFrontstageId} items={[]} />\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ToolSettingsContent.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolSettingsContent.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAS/B,gBAAgB;AACH,QAAA,0BAA0B,GAAG,KAAK,CAAC,aAAa,CAAkC;IAC7F,qBAAqB,EAAE,CAAC;CACzB,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 Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\n\r\n// TODO: remove? This is only used in ToolSettingsGridContainer.\r\n\r\n/** @internal */\r\nexport interface ToolSettingsContentContextProps {\r\n readonly availableContentWidth: number;\r\n}\r\n\r\n/** @internal */\r\nexport const ToolSettingsContentContext = React.createContext<ToolSettingsContentContextProps>({\r\n availableContentWidth: 0,\r\n});\r\n"]}
1
+ {"version":3,"file":"ToolSettingsContent.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolSettingsContent.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAS/B,gBAAgB;AACH,QAAA,0BAA0B,GAAG,KAAK,CAAC,aAAa,CAAkC;IAC7F,qBAAqB,EAAE,CAAC;CACzB,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\n\n// TODO: remove? This is only used in ToolSettingsGridContainer.\n\n/** @internal */\nexport interface ToolSettingsContentContextProps {\n readonly availableContentWidth: number;\n}\n\n/** @internal */\nexport const ToolSettingsContentContext = React.createContext<ToolSettingsContentContextProps>({\n availableContentWidth: 0,\n});\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Widget
3
3
  */
4
4
  import * as React from "react";
5
- import { CommonProps } from "@itwin/core-react";
5
+ import type { CommonProps } from "@itwin/core-react";
6
6
  /** Properties for the [[ToolbarComposer]] React components
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAA+D,MAAM,mBAAmB,CAAC;AAI7G;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,iIAAiI;IACjI,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,gCAAgC;IAChC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACnC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,eAwBhE"}
1
+ {"version":3,"file":"ToolWidgetComposer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAKpD;;GAEG;AACH,MAAM,WAA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EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AAxBD,gDAwBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonProps, useProximityToMouse, WidgetElementSet, WidgetOpacityContext } from \"@itwin/core-react\";\r\nimport { ToolsArea } from \"@itwin/appui-layout-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for the [[ToolbarComposer]] React components\r\n * @public\r\n */\r\nexport interface ToolWidgetComposerProps extends CommonProps {\r\n /** Optional Corner Item which for most stages is the [[BackstageAppButton]] used to toggle the display of the backstage menu. */\r\n cornerItem?: React.ReactNode;\r\n /** Optional Horizontal Toolbar */\r\n horizontalToolbar?: React.ReactNode;\r\n /** Optional Vertical Toolbar */\r\n verticalToolbar?: React.ReactNode;\r\n}\r\n\r\n/**\r\n * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area\r\n * and typically holds tools to manipulate or interrogate content. The horizontal toolbar often includes context specific tools based on\r\n * selected items. The vertical toolbar typically contains a more fixed list of tools.\r\n * @public\r\n */\r\nexport function ToolWidgetComposer(props: ToolWidgetComposerProps) {\r\n const { cornerItem, horizontalToolbar, verticalToolbar, ...otherProps } = props;\r\n const [elementSet] = React.useState(new WidgetElementSet());\r\n const handleChildRef = React.useCallback((elementRef: React.RefObject<Element>) => {\r\n elementSet.add(elementRef);\r\n }, [elementSet]);\r\n const proximityScale = useProximityToMouse(elementSet, UiFramework.visibility.snapWidgetOpacity);\r\n\r\n return (\r\n <WidgetOpacityContext.Provider\r\n value={{\r\n onElementRef: handleChildRef,\r\n proximityScale,\r\n }}\r\n >\r\n <ToolsArea\r\n button={cornerItem}\r\n horizontalToolbar={horizontalToolbar}\r\n verticalToolbar={verticalToolbar}\r\n {...otherProps}\r\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\r\n />\r\n </WidgetOpacityContext.Provider>\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"ToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ToolWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,kDAAgG;AAChG,kEAAsD;AACtD,gDAA6C;AAc7C;;;;;GAKG;AACH,SAAgB,kBAAkB,CAAC,KAA8B;IAC/D,MAAM,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IAChF,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,6BAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,UAAoC,EAAE,EAAE;QAChF,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IACjB,MAAM,cAAc,GAAG,IAAA,gCAAmB,EAAC,UAAU,EAAE,yBAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAEjG,OAAO,CACL,oBAAC,iCAAoB,CAAC,QAAQ,IAC5B,KAAK,EAAE;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc;SACf;QAED,oBAAC,8BAAS,IACR,MAAM,EAAE,UAAU,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,KAC5B,UAAU,EACd,YAAY,EAAE,yBAAW,CAAC,UAAU,CAAC,sBAAsB,GAC3D,CAC4B,CACjC,CAAC;AACJ,CAAC;AAxBD,gDAwBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport * as React from \"react\";\nimport type { CommonProps} from \"@itwin/core-react\";\nimport { useProximityToMouse, WidgetElementSet, WidgetOpacityContext } from \"@itwin/core-react\";\nimport { ToolsArea } from \"@itwin/appui-layout-react\";\nimport { UiFramework } from \"../UiFramework\";\n\n/** Properties for the [[ToolbarComposer]] React components\n * @public\n */\nexport interface ToolWidgetComposerProps extends CommonProps {\n /** Optional Corner Item which for most stages is the [[BackstageAppButton]] used to toggle the display of the backstage menu. */\n cornerItem?: React.ReactNode;\n /** Optional Horizontal Toolbar */\n horizontalToolbar?: React.ReactNode;\n /** Optional Vertical Toolbar */\n verticalToolbar?: React.ReactNode;\n}\n\n/**\n * ToolWidget component that supports use of ToolbarComposer-based Toolbars. The ToolWidget is shown in the top left of the content area\n * and typically holds tools to manipulate or interrogate content. The horizontal toolbar often includes context specific tools based on\n * selected items. The vertical toolbar typically contains a more fixed list of tools.\n * @public\n */\nexport function ToolWidgetComposer(props: ToolWidgetComposerProps) {\n const { cornerItem, horizontalToolbar, verticalToolbar, ...otherProps } = props;\n const [elementSet] = React.useState(new WidgetElementSet());\n const handleChildRef = React.useCallback((elementRef: React.RefObject<Element>) => {\n elementSet.add(elementRef);\n }, [elementSet]);\n const proximityScale = useProximityToMouse(elementSet, UiFramework.visibility.snapWidgetOpacity);\n\n return (\n <WidgetOpacityContext.Provider\n value={{\n onElementRef: handleChildRef,\n proximityScale,\n }}\n >\n <ToolsArea\n button={cornerItem}\n horizontalToolbar={horizontalToolbar}\n verticalToolbar={verticalToolbar}\n {...otherProps}\n onMouseEnter={UiFramework.visibility.handleWidgetMouseEnter}\n />\n </WidgetOpacityContext.Provider>\n );\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ViewToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2CAAoC;AACpC,+BAA+B;AAC/B,gEAA6D;AAC7D,8DAA2D;AAC3D,yEAAsE;AACtE,wDAA0E;AAW1E;;;;;;;;;;;;GAYG;AACH,SAAgB,sBAAsB,CAAC,KAAkC;IACvE,MAAM,WAAW,GAAG,IAAA,iCAAe,GAAE,CAAC;IACtC,uBAAuB;IACvB,MAAM,SAAS,GAAG,IAAA,oBAAU,EAC1B,CAAC,WAAW,IAAI,WAAW,CAC5B,CAAC;IAEF,OAAO,CACL,oBAAC,mDAAwB,IAAC,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,EACxF,iBAAiB,EAAE,oBAAC,iCAAe,IAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,0BAAY,CAAC,cAAc,EAAE,WAAW,EAAE,gCAAkB,CAAC,UAAU,GAAI,EACjI,eAAe,EAAE,oBAAC,iCAAe,IAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,0BAAY,CAAC,cAAc,EAAE,WAAW,EAAE,gCAAkB,CAAC,QAAQ,GAAI,GAC7H,CACH,CAAC;AACJ,CAAC;AAbD,wDAaC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { ToolbarComposer } from \"../toolbar/ToolbarComposer\";\r\nimport { useUiVisibility } from \"../hooks/useUiVisibility\";\r\nimport { NavigationWidgetComposer } from \"./NavigationWidgetComposer\";\r\nimport { ToolbarOrientation, ToolbarUsage } from \"../toolbar/ToolbarItem\";\r\n\r\n/**\r\n * Props for [[ViewToolWidgetComposer]].\r\n * @public\r\n */\r\nexport interface ViewToolWidgetComposerProps {\r\n /** If true no navigation aid will be shown. Defaults to false. */\r\n hideNavigationAid?: boolean;\r\n}\r\n\r\n/**\r\n * ViewToolWidgetComposer composes a Navigation Widget with no tools defined by default. UiItemsProviders\r\n * must be used to provide tools to populate the toolbars. See [[StandardNavigationToolsProvider]].\r\n * @example\r\n * ```\r\n * <ViewToolWidgetComposer />\r\n * ```\r\n * If no NavigationAid control is to be shown set hideNavigationAid.\r\n * * ```\r\n * <ViewToolWidgetComposer hideNavigationAid />\r\n * ```\r\n * @public\r\n */\r\nexport function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps) {\r\n const uiIsVisible = useUiVisibility();\r\n // istanbul ignore next\r\n const className = classnames(\r\n !uiIsVisible && \"nz-hidden\",\r\n );\r\n\r\n return (\r\n <NavigationWidgetComposer className={className} hideNavigationAid={props.hideNavigationAid}\r\n horizontalToolbar={<ToolbarComposer items={[]} usage={ToolbarUsage.ViewNavigation} orientation={ToolbarOrientation.Horizontal} />}\r\n verticalToolbar={<ToolbarComposer items={[]} usage={ToolbarUsage.ViewNavigation} orientation={ToolbarOrientation.Vertical} />}\r\n />\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"ViewToolWidgetComposer.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/ViewToolWidgetComposer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2CAAoC;AACpC,+BAA+B;AAC/B,gEAA6D;AAC7D,8DAA2D;AAC3D,yEAAsE;AACtE,wDAA0E;AAW1E;;;;;;;;;;;;GAYG;AACH,SAAgB,sBAAsB,CAAC,KAAkC;IACvE,MAAM,WAAW,GAAG,IAAA,iCAAe,GAAE,CAAC;IACtC,uBAAuB;IACvB,MAAM,SAAS,GAAG,IAAA,oBAAU,EAC1B,CAAC,WAAW,IAAI,WAAW,CAC5B,CAAC;IAEF,OAAO,CACL,oBAAC,mDAAwB,IAAC,SAAS,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,EACxF,iBAAiB,EAAE,oBAAC,iCAAe,IAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,0BAAY,CAAC,cAAc,EAAE,WAAW,EAAE,gCAAkB,CAAC,UAAU,GAAI,EACjI,eAAe,EAAE,oBAAC,iCAAe,IAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,0BAAY,CAAC,cAAc,EAAE,WAAW,EAAE,gCAAkB,CAAC,QAAQ,GAAI,GAC7H,CACH,CAAC;AACJ,CAAC;AAbD,wDAaC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { ToolbarComposer } from \"../toolbar/ToolbarComposer\";\nimport { useUiVisibility } from \"../hooks/useUiVisibility\";\nimport { NavigationWidgetComposer } from \"./NavigationWidgetComposer\";\nimport { ToolbarOrientation, ToolbarUsage } from \"../toolbar/ToolbarItem\";\n\n/**\n * Props for [[ViewToolWidgetComposer]].\n * @public\n */\nexport interface ViewToolWidgetComposerProps {\n /** If true no navigation aid will be shown. Defaults to false. */\n hideNavigationAid?: boolean;\n}\n\n/**\n * ViewToolWidgetComposer composes a Navigation Widget with no tools defined by default. UiItemsProviders\n * must be used to provide tools to populate the toolbars. See [[StandardNavigationToolsProvider]].\n * @example\n * ```\n * <ViewToolWidgetComposer />\n * ```\n * If no NavigationAid control is to be shown set hideNavigationAid.\n * * ```\n * <ViewToolWidgetComposer hideNavigationAid />\n * ```\n * @public\n */\nexport function ViewToolWidgetComposer(props: ViewToolWidgetComposerProps) {\n const uiIsVisible = useUiVisibility();\n // istanbul ignore next\n const className = classnames(\n !uiIsVisible && \"nz-hidden\",\n );\n\n return (\n <NavigationWidgetComposer className={className} hideNavigationAid={props.hideNavigationAid}\n horizontalToolbar={<ToolbarComposer items={[]} usage={ToolbarUsage.ViewNavigation} orientation={ToolbarOrientation.Horizontal} />}\n verticalToolbar={<ToolbarComposer items={[]} usage={ToolbarUsage.ViewNavigation} orientation={ToolbarOrientation.Vertical} />}\n />\n );\n}\n"]}
@@ -2,10 +2,10 @@
2
2
  * @module Widget
3
3
  */
4
4
  /// <reference types="react" />
5
- import { BadgeType, ConditionalStringValue, PointProps } from "@itwin/appui-abstract";
6
- import { IconSpec, SizeProps } from "@itwin/core-react";
7
- import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
8
- import { WidgetState } from "./WidgetState";
5
+ import type { BadgeType, ConditionalStringValue, PointProps } from "@itwin/appui-abstract";
6
+ import type { IconSpec, SizeProps } from "@itwin/core-react";
7
+ import type { StagePanelLocation } from "../stagepanels/StagePanelLocation";
8
+ import type { WidgetState } from "./WidgetState";
9
9
  /** Describes options of a floating widget.
10
10
  * @public
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/Widget.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAA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,UAAU,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC3D,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B,2BAA2B;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAC7B,+IAA+I;IAC/I,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACpD,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC;IACpC,6BAA6B;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAAC;CACpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Widget.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/Widget.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { BadgeType, ConditionalStringValue, PointProps } from \"@itwin/appui-abstract\";\r\nimport { IconSpec, SizeProps } from \"@itwin/core-react\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { WidgetState } from \"./WidgetState\";\r\n\r\n/** Describes options of a floating widget.\r\n * @public\r\n */\r\nexport interface CanFloatWidgetOptions {\r\n readonly isResizable?: boolean;\r\n readonly defaultPosition?: PointProps;\r\n readonly defaultSize?: SizeProps;\r\n readonly containerId?: string;\r\n readonly hideWithUi?: boolean;\r\n}\r\n\r\n/** Describes the data needed to provide a widget.\r\n * @public\r\n */\r\nexport interface Widget {\r\n readonly id: string;\r\n /** Stage panels to which this widget can be docked. All stage panels are allowed if nothing is provided. */\r\n readonly allowedPanels?: ReadonlyArray<StagePanelLocation>;\r\n readonly badge?: BadgeType;\r\n /** Defaults to `false`. */\r\n readonly canPopout?: boolean;\r\n /** Set to `false` to disable floating of a widget. Alternatively options object can be provided which enables floating. Defaults to `true`. */\r\n readonly canFloat?: boolean | CanFloatWidgetOptions;\r\n readonly defaultState?: WidgetState;\r\n /** Content of the Widget. */\r\n readonly content?: React.ReactNode;\r\n readonly icon?: IconSpec;\r\n readonly label?: string | ConditionalStringValue;\r\n readonly priority?: number;\r\n readonly tooltip?: string | ConditionalStringValue;\r\n}\r\n"]}
1
+ {"version":3,"file":"Widget.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/Widget.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { BadgeType, ConditionalStringValue, PointProps } from \"@itwin/appui-abstract\";\nimport type { IconSpec, SizeProps } from \"@itwin/core-react\";\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { WidgetState } from \"./WidgetState\";\n\n/** Describes options of a floating widget.\n * @public\n */\nexport interface CanFloatWidgetOptions {\n readonly isResizable?: boolean;\n readonly defaultPosition?: PointProps;\n readonly defaultSize?: SizeProps;\n readonly containerId?: string;\n readonly hideWithUi?: boolean;\n}\n\n/** Describes the data needed to provide a widget.\n * @public\n */\nexport interface Widget {\n readonly id: string;\n /** Stage panels to which this widget can be docked. All stage panels are allowed if nothing is provided. */\n readonly allowedPanels?: ReadonlyArray<StagePanelLocation>;\n readonly badge?: BadgeType;\n /** Defaults to `false`. */\n readonly canPopout?: boolean;\n /** Set to `false` to disable floating of a widget. Alternatively options object can be provided which enables floating. Defaults to `true`. */\n readonly canFloat?: boolean | CanFloatWidgetOptions;\n readonly defaultState?: WidgetState;\n /** Content of the Widget. */\n readonly content?: React.ReactNode;\n readonly icon?: IconSpec;\n readonly label?: string | ConditionalStringValue;\n readonly priority?: number;\n readonly tooltip?: string | ConditionalStringValue;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import { Widget } from "./Widget";
4
+ import type { Widget } from "./Widget";
5
5
  /** Configuration from which a widget is created.
6
6
  * @public
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetConfig.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetConfig.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC1C,6IAA6I;IAC7I,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,+IAA+I;IAC/I,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa;IACb,QAAQ,CAAC,kBAAkB,CAAC,EAAE,aAAa,CAAC;CAC7C"}
1
+ {"version":3,"file":"WidgetConfig.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetConfig.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC1C,6IAA6I;IAC7I,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,+IAA+I;IAC/I,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa;IACb,QAAQ,CAAC,kBAAkB,CAAC,EAAE,aAAa,CAAC;CAC7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetConfig.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetConfig.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { Widget } from \"./Widget\";\r\n\r\n/** Configuration from which a widget is created.\r\n * @public\r\n */\r\nexport interface WidgetConfig extends Widget {\r\n /** If set, it is used to define a key that is used to look up a localized string. This value is used only if label is not explicitly set. */\r\n readonly labelKey?: string;\r\n /** If set, it is used to define a key that is used to look up a localized string. This value is used only if tooltip is not explicitly set. */\r\n readonly tooltipKey?: string;\r\n /** @alpha */\r\n readonly preferredPanelSize?: \"fit-content\";\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetConfig.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetConfig.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { Widget } from \"./Widget\";\n\n/** Configuration from which a widget is created.\n * @public\n */\nexport interface WidgetConfig extends Widget {\n /** If set, it is used to define a key that is used to look up a localized string. This value is used only if label is not explicitly set. */\n readonly labelKey?: string;\n /** If set, it is used to define a key that is used to look up a localized string. This value is used only if tooltip is not explicitly set. */\n readonly tooltipKey?: string;\n /** @alpha */\n readonly preferredPanelSize?: \"fit-content\";\n}\n"]}
@@ -1,10 +1,11 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import * as React from "react";
5
- import { ConfigurableCreateInfo, ConfigurableUiControl, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
6
- import { WidgetDef } from "./WidgetDef";
7
- import { WidgetState } from "./WidgetState";
4
+ import type * as React from "react";
5
+ import type { ConfigurableCreateInfo } from "../configurableui/ConfigurableUiControl";
6
+ import { ConfigurableUiControl, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
7
+ import type { WidgetDef } from "./WidgetDef";
8
+ import type { WidgetState } from "./WidgetState";
8
9
  /** The base class for Widget controls.
9
10
  * @public
10
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetControl.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetControl.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACnI,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,qBAAa,aAAc,SAAQ,qBAAqB;IACtD,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,UAAU,CAAkB;gBAExB,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,GAAG;IAItD,iDAAiD;IACjD,IAAW,SAAS,IAAI,KAAK,CAAC,SAAS,CAA4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IAE3C,gDAAgD;IACzC,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;IAI/C,wCAAwC;IACjC,oBAAoB,IAAI,IAAI;IAGnC,kEAAkE;IAC3D,kBAAkB,IAAI,IAAI;IAGjC;;OAEG;IACI,qBAAqB,IAAI,OAAO;CAGxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetControl.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetControl.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,mFAAmI;AAInI;;GAEG;AACH,MAAa,aAAc,SAAQ,6CAAqB;IAItD,YAAY,IAA4B,EAAE,OAAY;QACpD,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACvB,CAAC;IAED,iDAAiD;IACjD,IAAW,SAAS,KAAsB,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,IAAW,SAAS,CAAC,CAAkB,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEjE,qDAAqD;IACrD,IAAW,SAAS,KAAgB,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC7D,IAAW,SAAS,CAAC,CAAY,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAE3D,6EAA6E;IACtE,OAAO,KAAgC,OAAO,iDAAyB,CAAC,MAAM,CAAC,CAAC,CAAC;IAExF,gDAAgD;IACzC,cAAc,CAAC,KAAkB;QACtC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;IAED,wCAAwC;IACjC,oBAAoB;IAC3B,CAAC;IAED,kEAAkE;IAC3D,kBAAkB;IACzB,CAAC;IAED;;OAEG;IACI,qBAAqB;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAtCD,sCAsCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControl, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { WidgetDef } from \"./WidgetDef\";\r\nimport { WidgetState } from \"./WidgetState\";\r\n\r\n/** The base class for Widget controls.\r\n * @public\r\n */\r\nexport class WidgetControl extends ConfigurableUiControl {\r\n private _widgetDef!: WidgetDef;\r\n private _reactNode: React.ReactNode;\r\n\r\n constructor(info: ConfigurableCreateInfo, options: any) {\r\n super(info, options);\r\n }\r\n\r\n /** The ReactNode associated with this control */\r\n public get reactNode(): React.ReactNode { return this._reactNode; }\r\n public set reactNode(r: React.ReactNode) { this._reactNode = r; }\r\n\r\n /** The [[WidgetDef]] associated with this control */\r\n public get widgetDef(): WidgetDef { return this._widgetDef; }\r\n public set widgetDef(w: WidgetDef) { this._widgetDef = w; }\r\n\r\n /** Gets the type of ConfigurableUiControl, which is 'Widget' in this case */\r\n public getType(): ConfigurableUiControlType { return ConfigurableUiControlType.Widget; }\r\n\r\n /** Sets the [[WidgetState]] for this control */\r\n public setWidgetState(state: WidgetState): void {\r\n this.widgetDef.setWidgetState(state);\r\n }\r\n\r\n /** Called when widget state changes. */\r\n public onWidgetStateChanged(): void {\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n return false;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetControl.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetControl.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,mFAA2G;AAI3G;;GAEG;AACH,MAAa,aAAc,SAAQ,6CAAqB;IAItD,YAAY,IAA4B,EAAE,OAAY;QACpD,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACvB,CAAC;IAED,iDAAiD;IACjD,IAAW,SAAS,KAAsB,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,IAAW,SAAS,CAAC,CAAkB,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEjE,qDAAqD;IACrD,IAAW,SAAS,KAAgB,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC7D,IAAW,SAAS,CAAC,CAAY,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAE3D,6EAA6E;IACtE,OAAO,KAAgC,OAAO,iDAAyB,CAAC,MAAM,CAAC,CAAC,CAAC;IAExF,gDAAgD;IACzC,cAAc,CAAC,KAAkB;QACtC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;IAED,wCAAwC;IACjC,oBAAoB;IAC3B,CAAC;IAED,kEAAkE;IAC3D,kBAAkB;IACzB,CAAC;IAED;;OAEG;IACI,qBAAqB;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAtCD,sCAsCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type * as React from \"react\";\nimport type { ConfigurableCreateInfo} from \"../configurableui/ConfigurableUiControl\";\nimport { ConfigurableUiControl, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\nimport type { WidgetDef } from \"./WidgetDef\";\nimport type { WidgetState } from \"./WidgetState\";\n\n/** The base class for Widget controls.\n * @public\n */\nexport class WidgetControl extends ConfigurableUiControl {\n private _widgetDef!: WidgetDef;\n private _reactNode: React.ReactNode;\n\n constructor(info: ConfigurableCreateInfo, options: any) {\n super(info, options);\n }\n\n /** The ReactNode associated with this control */\n public get reactNode(): React.ReactNode { return this._reactNode; }\n public set reactNode(r: React.ReactNode) { this._reactNode = r; }\n\n /** The [[WidgetDef]] associated with this control */\n public get widgetDef(): WidgetDef { return this._widgetDef; }\n public set widgetDef(w: WidgetDef) { this._widgetDef = w; }\n\n /** Gets the type of ConfigurableUiControl, which is 'Widget' in this case */\n public getType(): ConfigurableUiControlType { return ConfigurableUiControlType.Widget; }\n\n /** Sets the [[WidgetState]] for this control */\n public setWidgetState(state: WidgetState): void {\n this.widgetDef.setWidgetState(state);\n }\n\n /** Called when widget state changes. */\n public onWidgetStateChanged(): void {\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n return false;\n }\n}\n"]}
@@ -1,15 +1,17 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import * as React from "react";
5
- import { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiEvent } from "@itwin/appui-abstract";
6
- import { FloatingWidgetState, PanelSide } from "@itwin/appui-layout-react";
7
- import { ConfigurableUiControlConstructor, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
8
- import { WidgetControl } from "./WidgetControl";
9
- import { IconSpec, Rectangle, SizeProps } from "@itwin/core-react";
10
- import { WidgetConfig } from "./WidgetConfig";
4
+ import type * as React from "react";
5
+ import type { BadgeType, ConditionalStringValue, PointProps, StringGetter } from "@itwin/appui-abstract";
6
+ import { UiEvent } from "@itwin/appui-abstract";
7
+ import type { FloatingWidgetState, PanelSide } from "@itwin/appui-layout-react";
8
+ import type { ConfigurableUiControlConstructor } from "../configurableui/ConfigurableUiControl";
9
+ import { ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
10
+ import type { WidgetControl } from "./WidgetControl";
11
+ import type { IconSpec, Rectangle, SizeProps } from "@itwin/core-react";
12
+ import type { WidgetConfig } from "./WidgetConfig";
11
13
  import { WidgetState } from "./WidgetState";
12
- import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
14
+ import type { StagePanelLocation } from "../stagepanels/StagePanelLocation";
13
15
  /** Widget State Changed Event Args interface.
14
16
  * @public
15
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,UAAU,EAAE,YAAY,EAAW,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAA0B,gCAAgC,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAG9I,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAc,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE/E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAWvE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,OAAO,CAAC,2BAA2B,CAAC;CAAI;AAErF,gBAAgB;AAChB,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,gBAAgB;AAChB,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE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AAyB,GAAG,aAAa,GAAG,SAAS;IAqCnF,IAAW,SAAS,IAAI,KAAK,CAAC,SAAS,CAUtC;IAED,IAAW,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAEzC;IAEM,cAAc,CAAC,QAAQ,EAAE,WAAW,GAAG,IAAI;IAQ3C,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS;IAI9C,IAAW,SAAS,IAAI,OAAO,GAAG,SAAS,CAE1C;IAEM,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;IAIvD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IAEM,OAAO,IAAI,OAAO;IAIzB,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,IAAW,WAAW,IAAI,WAAW,CAEpC;IAED,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,IAAW,sBAAsB,CAAC,IAAI,EAAE,OAAO,GAAG,SAAS,EAE1D;IAED,IAAW,sBAAsB,IAAI,OAAO,CAE3C;IAED,IAAW,mBAAmB,IAAI,aAAa,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAE9E;IAED,IAAW,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAEpF;IAEM,oBAAoB,IAAI,IAAI;IAQnC,kEAAkE;IAC3D,kBAAkB,IAAI,IAAI;IAKjC;;OAEG;IACI,qBAAqB,IAAI,OAAO;IAavC;;;OAGG;IACI,IAAI;IAIX;;OAEG;IACI,MAAM;CAGd"}
@@ -264,7 +264,7 @@ class WidgetDef {
264
264
  return this._allowedPanelTargets;
265
265
  }
266
266
  set allowedPanelTargets(targets) {
267
- this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;
267
+ this._allowedPanelTargets = (targets && (targets === null || targets === void 0 ? void 0 : targets.length) > 0) ? targets : undefined;
268
268
  }
269
269
  onWidgetStateChanged() {
270
270
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
@@ -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;YACrC,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAC7B,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1C,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,qDAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,qDAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AAnVc,cAAI,GAAG,CAAC,AAAJ,CAAK;AADb,8BAAS","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiError, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { PropsHelper } from \"../utils/PropsHelper\";\r\nimport { WidgetControl } from \"./WidgetControl\";\r\nimport { IconHelper, IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { WidgetConfig } from \"./WidgetConfig\";\r\nimport { WidgetState } from \"./WidgetState\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\r\n\r\nconst widgetStateNameMap = new Map<WidgetState, string>([\r\n [WidgetState.Closed, \"Closed\"],\r\n [WidgetState.Floating, \"Floating\"],\r\n [WidgetState.Hidden, \"Hidden\"],\r\n [WidgetState.Open, \"Open\"],\r\n [WidgetState.Unloaded, \"Unloaded\"],\r\n]);\r\n\r\n/** Widget State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface WidgetStateChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n widgetState: WidgetState;\r\n}\r\n\r\n/** Widget State Changed Event class.\r\n * @public\r\n */\r\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface WidgetChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** @internal */\r\nexport interface WidgetEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Widget type enum.\r\n * @public\r\n */\r\nexport enum WidgetType {\r\n Tool,\r\n Navigation,\r\n Rectangular,\r\n ToolSettings,\r\n StatusBar,\r\n}\r\n\r\n/** @internal */\r\nexport interface TabLocation {\r\n widgetId: string;\r\n widgetIndex: number;\r\n side: PanelSide;\r\n tabIndex: number;\r\n floatingWidget?: FloatingWidgetState;\r\n}\r\n\r\n// -----------------------------------------------------------------------------\r\n\r\n/** A Widget Definition in the 9-Zone Layout system.\r\n * @public\r\n */\r\nexport class WidgetDef {\r\n private static _sId = 0;\r\n private _label: string | ConditionalStringValue | StringGetter = \"\";\r\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\r\n private _widgetReactNode: React.ReactNode;\r\n private _widgetControl!: WidgetControl;\r\n private _defaultState: WidgetState = WidgetState.Unloaded;\r\n private _id: string;\r\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\r\n private _priority: number = 0;\r\n private _isFloatingStateSupported: boolean = false;\r\n private _isFloatingStateWindowResizable: boolean = true;\r\n private _stateChanged: boolean = false;\r\n private _widgetType: WidgetType = WidgetType.Rectangular;\r\n private _applicationData?: any;\r\n private _icon?: IconSpec;\r\n private _internalData?: Map<string, any>;\r\n private _badge?: BadgeType;\r\n private _onWidgetStateChanged?: () => void;\r\n private _saveTransientState?: () => void;\r\n private _restoreTransientState?: () => boolean;\r\n private _preferredPanelSize: \"fit-content\" | undefined;\r\n private _defaultFloatingSize: SizeProps | undefined;\r\n private _canPopout?: boolean;\r\n private _floatingContainerId?: string;\r\n private _defaultFloatingPosition: PointProps | undefined;\r\n\r\n private _hideWithUiWhenFloating?: boolean;\r\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\r\n private _initialConfig?: WidgetConfig;\r\n\r\n private _tabLocation?: TabLocation;\r\n private _defaultTabLocation: TabLocation = {\r\n side: \"left\",\r\n tabIndex: 0,\r\n widgetId: \"\",\r\n widgetIndex: 0,\r\n };\r\n private _popoutBounds?: Rectangle;\r\n\r\n public get state(): WidgetState {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\r\n const currentState = frontstageDef.getWidgetCurrentState(this);\r\n // istanbul ignore else\r\n if (undefined !== currentState)\r\n return currentState;\r\n }\r\n return this.defaultState;\r\n }\r\n\r\n public get id(): string { return this._id; }\r\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\r\n public get priority(): number { return this._priority; }\r\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\r\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\r\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\r\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\r\n public get stateChanged(): boolean { return this._stateChanged; }\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\r\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\r\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\r\n public get badgeType(): BadgeType | undefined { return this._badge; }\r\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\r\n\r\n public get widgetType(): WidgetType { return this._widgetType; }\r\n public set widgetType(type: WidgetType) { this._widgetType = type; }\r\n\r\n /** @internal */\r\n public get tabLocation() { return this._tabLocation; }\r\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\r\n\r\n /** @internal */\r\n public get defaultTabLocation() { return this._defaultTabLocation; }\r\n\r\n /** @internal */\r\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\r\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\r\n\r\n /** @internal */\r\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\r\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get popoutBounds() { return this._popoutBounds; }\r\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\r\n\r\n constructor() {\r\n WidgetDef._sId++;\r\n this._id = `Widget-${WidgetDef._sId}`;\r\n }\r\n\r\n /** @internal */\r\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\r\n const def = new WidgetDef();\r\n def.initializeFromConfig(config, type);\r\n return def;\r\n }\r\n\r\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\r\n this._widgetType = type;\r\n this._initialConfig = config;\r\n this._id = config.id;\r\n\r\n if (config.label)\r\n this.setLabel(config.label);\r\n else if (config.labelKey)\r\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\r\n\r\n this.setCanPopout(config.canPopout);\r\n\r\n const canFloat = config.canFloat;\r\n this._isFloatingStateSupported = !!canFloat;\r\n if (typeof canFloat === \"object\") {\r\n this.setFloatingContainerId(canFloat.containerId);\r\n this.defaultFloatingPosition = canFloat.defaultPosition;\r\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\r\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\r\n this._defaultFloatingSize = canFloat.defaultSize;\r\n }\r\n\r\n this.allowedPanelTargets = config.allowedPanels;\r\n\r\n if (config.priority !== undefined)\r\n this._priority = config.priority;\r\n\r\n if (config.tooltip)\r\n this.setTooltip(config.tooltip);\r\n else if (config.tooltipKey)\r\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\r\n\r\n if (config.defaultState !== undefined) {\r\n this._defaultState = config.defaultState;\r\n }\r\n\r\n this._widgetReactNode = config.content;\r\n this._icon = config.icon;\r\n\r\n // istanbul ignore next\r\n if (config.icon !== undefined && this._icon === undefined)\r\n this._icon = config.icon;\r\n\r\n if (config.badge !== undefined)\r\n this._badge = config.badge;\r\n\r\n this._preferredPanelSize = config.preferredPanelSize;\r\n }\r\n\r\n /** @alpha */\r\n public get preferredPanelSize() {\r\n return this._preferredPanelSize;\r\n }\r\n\r\n /** Get the label string */\r\n public get label(): string {\r\n return PropsHelper.getStringFromSpec(this._label);\r\n }\r\n\r\n /** Set the label.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\r\n if (this._label === v)\r\n return;\r\n this._label = v;\r\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Get the tooltip string */\r\n public get tooltip(): string {\r\n return PropsHelper.getStringFromSpec(this._tooltip);\r\n }\r\n\r\n /** Set the tooltip.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\r\n this._tooltip = v;\r\n }\r\n\r\n public get widgetControl(): WidgetControl | undefined {\r\n return this._widgetControl;\r\n }\r\n\r\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\r\n if (!this._widgetControl && this.classId) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof this.classId === \"string\") {\r\n // istanbul ignore else\r\n if (this.classId)\r\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\r\n usedClassId = this.classId;\r\n } else {\r\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\r\n usedClassId = this.classId.name;\r\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._widgetControl) {\r\n if (this._widgetControl.getType() !== type) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\r\n }\r\n\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n }\r\n\r\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\r\n if (!this._widgetControl && this.isStatusBar) {\r\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\r\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n\r\n return this._widgetControl;\r\n }\r\n\r\n public get reactNode(): React.ReactNode {\r\n if (!this._widgetReactNode) {\r\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.reactNode)\r\n this._widgetReactNode = widgetControl.reactNode;\r\n }\r\n\r\n return this._widgetReactNode;\r\n }\r\n\r\n public set reactNode(node: React.ReactNode) {\r\n this._widgetReactNode = node;\r\n }\r\n\r\n public setWidgetState(newState: WidgetState): void {\r\n if (this.state === newState)\r\n return;\r\n this._stateChanged = true;\r\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\r\n this.onWidgetStateChanged();\r\n }\r\n\r\n public setCanPopout(value: boolean | undefined) {\r\n this._canPopout = value;\r\n }\r\n\r\n public get canPopout(): boolean | undefined {\r\n return (this._canPopout);\r\n }\r\n\r\n public setFloatingContainerId(value: string | undefined) {\r\n this._floatingContainerId = value;\r\n }\r\n\r\n public get floatingContainerId(): string | undefined {\r\n return (this._floatingContainerId);\r\n }\r\n\r\n public canOpen(): boolean {\r\n return (this.isFloating || this.isActive);\r\n }\r\n\r\n public get isVisible(): boolean {\r\n return WidgetState.Hidden !== this.state;\r\n }\r\n\r\n public get activeState(): WidgetState {\r\n return this.state;\r\n }\r\n\r\n public get isActive(): boolean {\r\n return WidgetState.Open === this.activeState;\r\n }\r\n\r\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\r\n this._hideWithUiWhenFloating = !!hide;\r\n }\r\n\r\n public get hideWithUiWhenFloating(): boolean {\r\n return !!this._hideWithUiWhenFloating;\r\n }\r\n\r\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\r\n return this._allowedPanelTargets;\r\n }\r\n\r\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\r\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\r\n }\r\n\r\n public onWidgetStateChanged(): void {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\r\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\r\n // istanbul ignore next\r\n this._onWidgetStateChanged && this._onWidgetStateChanged();\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n this.widgetControl && this.widgetControl.saveTransientState();\r\n this._saveTransientState && this._saveTransientState();\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n let result = true;\r\n if (this.widgetControl || this._restoreTransientState) {\r\n let result1 = false, result2 = false;\r\n if (this.widgetControl)\r\n result1 = this.widgetControl.restoreTransientState();\r\n if (this._restoreTransientState)\r\n result2 = this._restoreTransientState();\r\n result = !(result1 || result2);\r\n }\r\n return result;\r\n }\r\n\r\n /** Opens the widget and makes it visible to the user.\r\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\r\n * @public\r\n */\r\n public show() {\r\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Opens the widget and expands it to fill full size of the stage panel.\r\n * @public\r\n */\r\n public expand() {\r\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,0DAAyD;AAGzD,mFAA4G;AAC5G,gDAA6C;AAC7C,sDAAmD;AAGnD,kDAA+C;AAC/C,uFAAoF;AAEpF,+CAA4C;AAE5C,qFAAkF;AAElF,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAsB;IACtD,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;IAClC,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,IAAI,EAAE,MAAM,CAAC;IAC1B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;CACnC,CAAC,CAAC;AAUH;;GAEG;AACH,MAAa,uBAAwB,SAAQ,wBAAoC;CAAI;AAArF,0DAAqF;AAYrF;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAI,CAAA;IACJ,uDAAU,CAAA;IACV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nL,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,CAAC;QAChE,uBAAuB;QACvB,IAAI,CAAC,qBAAqB,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC7D,CAAC;IAED,kEAAkE;IAC3D,kBAAkB;QACvB,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,kBAAkB,EAAE,CAAC;QAC9D,IAAI,CAAC,mBAAmB,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACzD,CAAC;IAED;;OAEG;IACI,qBAAqB;QAC1B,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,sBAAsB,EAAE;YACrD,IAAI,OAAO,GAAG,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;YACrC,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAC7B,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1C,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,qDAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,qDAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AAnVc,cAAI,GAAG,CAAC,AAAJ,CAAK;AADb,8BAAS","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type * as React from \"react\";\nimport type { BadgeType, ConditionalStringValue, PointProps, StringGetter} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\nimport type { ConfigurableUiControlConstructor} from \"../configurableui/ConfigurableUiControl\";\nimport { ConfigurableCreateInfo, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\nconst widgetStateNameMap = new Map<WidgetState, string>([\n [WidgetState.Closed, \"Closed\"],\n [WidgetState.Floating, \"Floating\"],\n [WidgetState.Hidden, \"Hidden\"],\n [WidgetState.Open, \"Open\"],\n [WidgetState.Unloaded, \"Unloaded\"],\n]);\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n/** @internal */\nexport interface TabLocation {\n widgetId: string;\n widgetIndex: number;\n side: PanelSide;\n tabIndex: number;\n floatingWidget?: FloatingWidgetState;\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Unloaded;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\n private _priority: number = 0;\n private _isFloatingStateSupported: boolean = false;\n private _isFloatingStateWindowResizable: boolean = true;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _onWidgetStateChanged?: () => void;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: PointProps | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n private _tabLocation?: TabLocation;\n private _defaultTabLocation: TabLocation = {\n side: \"left\",\n tabIndex: 0,\n widgetId: \"\",\n widgetIndex: 0,\n };\n private _popoutBounds?: Rectangle;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState)\n return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string { return this._id; }\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\n public get priority(): number { return this._priority; }\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\n public get stateChanged(): boolean { return this._stateChanged; }\n public get applicationData(): any | undefined { return this._applicationData; }\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\n public get badgeType(): BadgeType | undefined { return this._badge; }\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\n\n public get widgetType(): WidgetType { return this._widgetType; }\n public set widgetType(type: WidgetType) { this._widgetType = type; }\n\n /** @internal */\n public get tabLocation() { return this._tabLocation; }\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\n\n /** @internal */\n public get defaultTabLocation() { return this._defaultTabLocation; }\n\n /** @internal */\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\n\n /** @internal */\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\n\n /** @internal */\n public get defaultState() { return this._defaultState; }\n\n /** @internal */\n public get popoutBounds() { return this._popoutBounds; }\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label)\n this.setLabel(config.label);\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n this._isFloatingStateSupported = !!canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n this.allowedPanelTargets = config.allowedPanels;\n\n if (config.priority !== undefined)\n this._priority = config.priority;\n\n if (config.tooltip)\n this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined)\n this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param v A string or a function to get the string.\n */\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\n if (this._label === v)\n return;\n this._label = v;\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n if (this.state === newState)\n return;\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return (this._canPopout);\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return (this._floatingContainerId);\n }\n\n public canOpen(): boolean {\n return (this.isFloating || this.isActive);\n }\n\n public get isVisible(): boolean {\n return WidgetState.Hidden !== this.state;\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\n }\n\n public onWidgetStateChanged(): void {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n // istanbul ignore next\n this._onWidgetStateChanged && this._onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false, result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState)\n result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\n }\n}\n"]}
@@ -1,9 +1,9 @@
1
1
  /** @packageDocumentation
2
2
  * @module Widget
3
3
  */
4
- import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
5
- import { StagePanelSection } from "../stagepanels/StagePanelSection";
6
- import { WidgetDef } from "./WidgetDef";
4
+ import type { StagePanelLocation } from "../stagepanels/StagePanelLocation";
5
+ import type { StagePanelSection } from "../stagepanels/StagePanelSection";
6
+ import type { WidgetDef } from "./WidgetDef";
7
7
  /**
8
8
  * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
9
9
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetHost.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;GAGG;AACH,qBAAa,UAAU;IAErB,OAAO,CAAC,WAAW,CAAuC;IAC1D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,iBAAiB,CAAgC;IAEzD;OACG;;IAGH;;OAEG;IACI,YAAY,CAAC,SAAS,EAAE,SAAS;IAKxC,gCAAgC;IAChC,IAAW,UAAU,IAAI,aAAa,CAAC,SAAS,CAAC,CAEhD;IAED,kCAAkC;IAClC,IAAW,WAAW,IAAI,MAAM,CAE/B;IAED;;OAEG;IACI,kBAAkB,IAAI,SAAS,GAAG,SAAS;IAOlD;;;OAGG;IACI,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS;IAIvD;;OAEG;IACI,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtI,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI;IA0BxC,wBAAwB;IACxB,OAAO,CAAC,cAAc;CAWvB"}
1
+ {"version":3,"file":"WidgetHost.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;;GAGG;AACH,qBAAa,UAAU;IAErB,OAAO,CAAC,WAAW,CAAuC;IAC1D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,iBAAiB,CAAgC;IAEzD;OACG;;IAGH;;OAEG;IACI,YAAY,CAAC,SAAS,EAAE,SAAS;IAKxC,gCAAgC;IAChC,IAAW,UAAU,IAAI,aAAa,CAAC,SAAS,CAAC,CAEhD;IAED,kCAAkC;IAClC,IAAW,WAAW,IAAI,MAAM,CAE/B;IAED;;OAEG;IACI,kBAAkB,IAAI,SAAS,GAAG,SAAS;IAOlD;;;OAGG;IACI,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS;IAIvD;;OAEG;IACI,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtI,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI;IA0BxC,wBAAwB;IACxB,OAAO,CAAC,cAAc;CAWvB"}
@@ -55,6 +55,7 @@ class WidgetHost {
55
55
  * @internal
56
56
  */
57
57
  updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
58
+ var _a;
58
59
  // get widgetDefs not already in allStageWidgetDefs and add them
59
60
  const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {
60
61
  return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
@@ -62,9 +63,9 @@ class WidgetHost {
62
63
  allStageWidgetDefs.push(...uniqueWidgets);
63
64
  let dynamicWidgetDefs;
64
65
  if (section !== undefined) {
65
- dynamicWidgetDefs = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];
66
+ dynamicWidgetDefs = (_a = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section)) !== null && _a !== void 0 ? _a : [];
66
67
  }
67
- const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {
68
+ const uniqueDynamicWidgetDefs = dynamicWidgetDefs === null || dynamicWidgetDefs === void 0 ? void 0 : dynamicWidgetDefs.filter((widgetDef) => {
68
69
  return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));
69
70
  });
70
71
  // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,gDAA6C;AAG7C;;;GAGG;AACH,MAAa,UAAU;IAMrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC;QAElD,sBAAiB,GAA6B,EAAE,CAAC;IAIzC,CAAC;IAEjB;;OAEG;IACI,YAAY,CAAC,SAAoB;QACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,gCAAgC;IAChC,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,kCAAkC;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AC,CAAC,CAAC;QAC1E,CAAC,CAAC,CAAC;QAEH,oHAAoH;QACpH,kHAAkH;QAClH,IAAI,uBAAuB,EAAE;YAC3B,kBAAkB,CAAC,IAAI,CAAC,GAAG,uBAAuB,CAAC,CAAC;YACpD,IAAI,CAAC,kBAAkB,GAAG,CAAC,GAAG,uBAAuB,CAAC,CAAC;SACxD;QACD,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,wBAAwB;IAChB,cAAc;QACpB,IAAI,gBAAgB,GAAG,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,kBAAkB;YACzB,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;;YAEpE,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QAE9C,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF;AAxFD,gCAwFC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { WidgetDef } from \"./WidgetDef\";\r\n\r\n/**\r\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\r\n * @public\r\n */\r\nexport class WidgetHost {\r\n\r\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\r\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\r\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\r\n\r\n /** Constructor for WidgetHost.\r\n */\r\n constructor() { }\r\n\r\n /** Adds a WidgetDef to the list of Widgets.\r\n * @param widgetDef Definition of the Widget to add\r\n */\r\n public addWidgetDef(widgetDef: WidgetDef) {\r\n this._widgetDefs.push(widgetDef);\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n return this._sortedWidgetDefs;\r\n }\r\n\r\n /** Gets the number of Widgets. */\r\n public get widgetCount(): number {\r\n return this.widgetDefs.length;\r\n }\r\n\r\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\r\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\r\n */\r\n public getSingleWidgetDef(): WidgetDef | undefined {\r\n if (this.widgetCount === 1) {\r\n return this.widgetDefs[0];\r\n }\r\n return undefined;\r\n }\r\n\r\n /** Finds a WidgetDef with a given Id.\r\n * @param id Id of the WidgetDef to find\r\n * @returns The WidgetDef if found; otherwise, undefined is returned.\r\n */\r\n public findWidgetDef(id: string): WidgetDef | undefined {\r\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\r\n }\r\n\r\n /** Updates the WidgetHost with dynamic widgets\r\n * @internal\r\n */\r\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[]): void {\r\n // get widgetDefs not already in allStageWidgetDefs and add them\r\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\r\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\r\n });\r\n\r\n allStageWidgetDefs.push(...uniqueWidgets);\r\n\r\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\r\n if (section !== undefined) {\r\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\r\n }\r\n\r\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\r\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\r\n });\r\n\r\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\r\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\r\n if (uniqueDynamicWidgetDefs) {\r\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\r\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\r\n }\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Sorts all widgets */\r\n private sortWidgetDefs(): void {\r\n let sortedWidgetDefs = [];\r\n if (this._dynamicWidgetDefs)\r\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\r\n else\r\n sortedWidgetDefs = this._widgetDefs.slice();\r\n\r\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\r\n\r\n this._sortedWidgetDefs = sortedWidgetDefs;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAIH,gDAA6C;AAG7C;;;GAGG;AACH,MAAa,UAAU;IAMrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC;QAElD,sBAAiB,GAA6B,EAAE,CAAC;IAIzC,CAAC;IAEjB;;OAEG;IACI,YAAY,CAAC,SAAoB;QACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,gCAAgC;IAChC,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,kCAAkC;IAClC,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;IAChC,CAAC;IAED;;OA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,oHAAoH;QACpH,kHAAkH;QAClH,IAAI,uBAAuB,EAAE;YAC3B,kBAAkB,CAAC,IAAI,CAAC,GAAG,uBAAuB,CAAC,CAAC;YACpD,IAAI,CAAC,kBAAkB,GAAG,CAAC,GAAG,uBAAuB,CAAC,CAAC;SACxD;QACD,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,wBAAwB;IAChB,cAAc;QACpB,IAAI,gBAAgB,GAAG,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,kBAAkB;YACzB,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;;YAEpE,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QAE9C,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF;AAxFD,gCAwFC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetDef } from \"./WidgetDef\";\n\n/**\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\n * @public\n */\nexport class WidgetHost {\n\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\n\n /** Constructor for WidgetHost.\n */\n constructor() { }\n\n /** Adds a WidgetDef to the list of Widgets.\n * @param widgetDef Definition of the Widget to add\n */\n public addWidgetDef(widgetDef: WidgetDef) {\n this._widgetDefs.push(widgetDef);\n this.sortWidgetDefs();\n }\n\n /** Gets the list of Widgets. */\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\n return this._sortedWidgetDefs;\n }\n\n /** Gets the number of Widgets. */\n public get widgetCount(): number {\n return this.widgetDefs.length;\n }\n\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\n */\n public getSingleWidgetDef(): WidgetDef | undefined {\n if (this.widgetCount === 1) {\n return this.widgetDefs[0];\n }\n return undefined;\n }\n\n /** Finds a WidgetDef with a given Id.\n * @param id Id of the WidgetDef to find\n * @returns The WidgetDef if found; otherwise, undefined is returned.\n */\n public findWidgetDef(id: string): WidgetDef | undefined {\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\n }\n\n /** Updates the WidgetHost with dynamic widgets\n * @internal\n */\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\n allStageWidgetDefs: WidgetDef[]): void {\n // get widgetDefs not already in allStageWidgetDefs and add them\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n allStageWidgetDefs.push(...uniqueWidgets);\n\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\n if (section !== undefined) {\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\n }\n\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\n });\n\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\n if (uniqueDynamicWidgetDefs) {\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\n }\n this.sortWidgetDefs();\n }\n\n /** Sorts all widgets */\n private sortWidgetDefs(): void {\n let sortedWidgetDefs = [];\n if (this._dynamicWidgetDefs)\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\n else\n sortedWidgetDefs = this._widgetDefs.slice();\n\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\n\n this._sortedWidgetDefs = sortedWidgetDefs;\n }\n}\n"]}