@itwin/appui-react 4.1.0 → 4.2.0

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