@itwin/appui-react 4.0.0-dev.12 → 4.0.0-dev.14

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 (1328) hide show
  1. package/CHANGELOG.md +154 -1
  2. package/README.md +2 -2
  3. package/lib/cjs/appui-react/UiFramework.d.ts +269 -269
  4. package/lib/cjs/appui-react/UiFramework.js +551 -555
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts +27 -27
  7. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js +74 -74
  8. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +21 -21
  9. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +39 -39
  10. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +19 -19
  11. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js +216 -216
  12. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +42 -42
  13. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +123 -123
  14. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +12 -12
  15. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +110 -110
  16. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +18 -18
  17. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js +64 -64
  18. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +61 -61
  20. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js +9 -9
  21. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +18 -18
  22. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js +44 -44
  23. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +46 -46
  25. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  26. package/lib/cjs/appui-react/accudraw/Calculator.js +218 -218
  27. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  28. package/lib/cjs/appui-react/accudraw/CalculatorEngine.d.ts +41 -41
  29. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js +195 -195
  30. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  31. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +31 -31
  32. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js +41 -41
  33. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +147 -147
  34. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +231 -231
  35. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  36. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +30 -30
  37. package/lib/cjs/appui-react/accudraw/MenuButton.js +67 -67
  38. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +27 -27
  39. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js +37 -37
  40. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +14 -14
  41. package/lib/cjs/appui-react/accudraw/SquareButton.js +26 -26
  42. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +27 -27
  43. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  44. package/lib/cjs/appui-react/backstage/BackstageComposer.js +139 -139
  45. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +28 -28
  46. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +54 -55
  47. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  48. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +59 -59
  49. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  50. package/lib/cjs/appui-react/backstage/BackstageItem.js +24 -24
  51. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +13 -13
  52. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +44 -44
  53. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +38 -38
  54. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js +129 -129
  55. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +35 -35
  56. package/lib/cjs/appui-react/backstage/BackstageManager.js +77 -77
  57. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
  58. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +55 -55
  59. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +9 -9
  60. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js +32 -32
  61. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +9 -9
  62. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +41 -41
  63. package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts +73 -73
  64. package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +106 -106
  65. package/lib/cjs/appui-react/childwindow/CopyStyles.d.ts +7 -7
  66. package/lib/cjs/appui-react/childwindow/CopyStyles.js +42 -42
  67. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +71 -71
  68. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  69. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +207 -208
  70. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  71. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +15 -15
  72. package/lib/cjs/appui-react/childwindow/PopoutWidget.js +19 -19
  73. package/lib/cjs/appui-react/configurableui/ActivityTracker.d.ts +29 -29
  74. package/lib/cjs/appui-react/configurableui/ActivityTracker.js +71 -71
  75. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
  76. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +59 -59
  77. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
  78. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  79. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js +95 -95
  80. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +65 -65
  81. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +92 -92
  82. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +81 -81
  83. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +154 -154
  84. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  85. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts +33 -33
  86. package/lib/cjs/appui-react/configurableui/TimeTracker.js +80 -81
  87. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  88. package/lib/cjs/appui-react/configurableui/configurableui.scss +0 -1
  89. package/lib/cjs/appui-react/configurableui/state.d.ts +61 -61
  90. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  91. package/lib/cjs/appui-react/configurableui/state.js +111 -111
  92. package/lib/cjs/appui-react/content/ContentControl.d.ts +64 -64
  93. package/lib/cjs/appui-react/content/ContentControl.js +78 -78
  94. package/lib/cjs/appui-react/content/ContentGroup.d.ts +93 -93
  95. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  96. package/lib/cjs/appui-react/content/ContentGroup.js +174 -174
  97. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  98. package/lib/cjs/appui-react/content/ContentLayout.d.ts +90 -90
  99. package/lib/cjs/appui-react/content/ContentLayout.js +367 -372
  100. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  101. package/lib/cjs/appui-react/content/ContentLayoutManager.d.ts +47 -47
  102. package/lib/cjs/appui-react/content/ContentLayoutManager.js +68 -68
  103. package/lib/cjs/appui-react/content/ContentViewManager.d.ts +62 -62
  104. package/lib/cjs/appui-react/content/ContentViewManager.js +95 -95
  105. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +22 -22
  106. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +49 -50
  107. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  108. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +31 -31
  109. package/lib/cjs/appui-react/content/FloatingViewportContent.js +78 -79
  110. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  111. package/lib/cjs/appui-react/content/IModelViewport.d.ts +80 -80
  112. package/lib/cjs/appui-react/content/IModelViewport.js +147 -150
  113. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  114. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +47 -47
  115. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +94 -95
  116. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  117. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +79 -79
  118. package/lib/cjs/appui-react/content/InternalContentViewManager.js +209 -209
  119. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  120. package/lib/cjs/appui-react/content/StageContentLayout.d.ts +35 -35
  121. package/lib/cjs/appui-react/content/StageContentLayout.js +66 -66
  122. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +25 -25
  123. package/lib/cjs/appui-react/content/ViewStateHelper.js +50 -50
  124. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +61 -61
  125. package/lib/cjs/appui-react/content/ViewportContentControl.js +131 -131
  126. package/lib/cjs/appui-react/content/split-pane/Pane.d.ts +20 -20
  127. package/lib/cjs/appui-react/content/split-pane/Pane.js +42 -42
  128. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts +22 -22
  129. package/lib/cjs/appui-react/content/split-pane/Resizer.js +38 -38
  130. package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts +69 -69
  131. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +238 -242
  132. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  133. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +68 -68
  134. package/lib/cjs/appui-react/cursor/CursorInformation.js +144 -144
  135. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  136. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +32 -32
  137. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +75 -76
  138. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  139. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +58 -58
  140. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +150 -150
  141. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  142. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +114 -114
  143. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +325 -325
  144. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  145. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +22 -22
  146. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +64 -64
  147. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +23 -23
  148. package/lib/cjs/appui-react/dialog/ContentDialog.js +67 -70
  149. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  150. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +51 -51
  151. package/lib/cjs/appui-react/dialog/ContentDialogManager.js +85 -85
  152. package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts +84 -84
  153. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +140 -141
  154. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  155. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +47 -47
  156. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +131 -131
  157. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  158. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +35 -35
  159. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js +54 -54
  160. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  161. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +45 -45
  162. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js +119 -119
  163. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  164. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +42 -42
  165. package/lib/cjs/appui-react/dialog/ModalDialogManager.js +68 -68
  166. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +21 -21
  167. package/lib/cjs/appui-react/dialog/ModelessDialog.js +30 -30
  168. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +51 -51
  169. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js +85 -85
  170. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +42 -42
  171. package/lib/cjs/appui-react/dialog/StandardMessageBox.js +93 -93
  172. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +38 -38
  173. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +81 -81
  174. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +61 -61
  175. package/lib/cjs/appui-react/feedback/ElementTooltip.js +131 -131
  176. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  177. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +73 -73
  178. package/lib/cjs/appui-react/feedback/ValidationTextbox.js +115 -115
  179. package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +1 -2
  180. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +43 -43
  181. package/lib/cjs/appui-react/framework/FrameworkBackstage.js +9 -9
  182. package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts +75 -75
  183. package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js +9 -9
  185. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +154 -154
  186. package/lib/cjs/appui-react/framework/FrameworkContent.js +30 -30
  187. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +42 -42
  188. package/lib/cjs/appui-react/framework/FrameworkControls.js +2 -2
  189. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +78 -78
  190. package/lib/cjs/appui-react/framework/FrameworkDialogs.js +23 -23
  191. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +285 -285
  192. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +63 -63
  193. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +99 -99
  194. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js +2 -2
  195. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +51 -51
  196. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +17 -17
  197. package/lib/cjs/appui-react/framework/FrameworkVisibility.d.ts +36 -36
  198. package/lib/cjs/appui-react/framework/FrameworkVisibility.js +2 -2
  199. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +39 -39
  200. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js +9 -9
  201. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +205 -205
  202. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +824 -825
  203. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  204. package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +201 -201
  205. package/lib/cjs/appui-react/frontstage/FrontstageManager.js +268 -268
  206. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +13 -13
  207. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +16 -16
  208. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +234 -234
  209. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +508 -508
  210. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  211. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +34 -34
  212. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +46 -46
  213. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +21 -21
  214. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +86 -87
  215. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  216. package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts +13 -13
  217. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +33 -33
  218. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  219. package/lib/cjs/appui-react/frontstage/StageUsage.d.ts +15 -15
  220. package/lib/cjs/appui-react/frontstage/StageUsage.js +23 -23
  221. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +65 -65
  222. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  223. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +77 -78
  224. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  225. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +10 -10
  226. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +37 -37
  227. package/lib/cjs/appui-react/hooks/useActiveStageId.d.ts +7 -7
  228. package/lib/cjs/appui-react/hooks/useActiveStageId.js +29 -29
  229. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +8 -8
  230. package/lib/cjs/appui-react/hooks/useActiveViewport.js +46 -46
  231. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +9 -9
  232. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +67 -71
  233. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  234. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.d.ts +8 -8
  235. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +26 -26
  236. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.d.ts +12 -12
  237. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js +30 -30
  238. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +9 -9
  239. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +67 -71
  240. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  241. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +9 -9
  242. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +60 -65
  243. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  244. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts +5 -5
  245. package/lib/cjs/appui-react/hooks/useUiVisibility.js +26 -26
  246. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +39 -39
  247. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +111 -111
  248. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  249. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +96 -96
  250. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +230 -230
  251. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +38 -38
  252. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +95 -95
  253. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  254. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +9 -9
  255. package/lib/cjs/appui-react/messages/ActivityMessage.js +77 -79
  256. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  257. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +74 -74
  258. package/lib/cjs/appui-react/messages/AppNotificationManager.js +125 -125
  259. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +9 -9
  260. package/lib/cjs/appui-react/messages/HollowIcon.js +20 -20
  261. package/lib/cjs/appui-react/messages/InputField.d.ts +37 -37
  262. package/lib/cjs/appui-react/messages/InputField.js +92 -92
  263. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +12 -12
  264. package/lib/cjs/appui-react/messages/MessageLabel.js +21 -21
  265. package/lib/cjs/appui-react/messages/MessageManager.d.ts +253 -253
  266. package/lib/cjs/appui-react/messages/MessageManager.js +466 -466
  267. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  268. package/lib/cjs/appui-react/messages/MessageSpan.d.ts +14 -14
  269. package/lib/cjs/appui-react/messages/MessageSpan.js +22 -22
  270. package/lib/cjs/appui-react/messages/Pointer.d.ts +69 -69
  271. package/lib/cjs/appui-react/messages/Pointer.js +173 -173
  272. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  273. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
  274. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  275. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js +68 -68
  276. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  277. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +24 -24
  278. package/lib/cjs/appui-react/messages/StatusMessageManager.js +55 -55
  279. package/lib/cjs/appui-react/messages/getToastCategory.d.ts +6 -6
  280. package/lib/cjs/appui-react/messages/getToastCategory.js +27 -27
  281. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
  282. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +26 -26
  283. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  284. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +13 -13
  285. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +26 -26
  286. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  287. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +33 -33
  288. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +34 -34
  289. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +71 -71
  290. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +187 -187
  291. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  292. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
  293. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +151 -151
  294. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  295. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
  296. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +113 -113
  297. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  298. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +114 -111
  299. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/pickers/ListPicker.js +197 -195
  301. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  302. package/lib/cjs/appui-react/pickers/ListPicker.scss +7 -0
  303. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +95 -90
  304. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  305. package/lib/cjs/appui-react/pickers/ViewSelector.js +267 -252
  306. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  307. package/lib/cjs/appui-react/popup/CardPopup.d.ts +48 -48
  308. package/lib/cjs/appui-react/popup/CardPopup.js +89 -89
  309. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +30 -30
  310. package/lib/cjs/appui-react/popup/HTMLElementPopup.js +42 -42
  311. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +38 -38
  312. package/lib/cjs/appui-react/popup/InputEditorPopup.js +57 -57
  313. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +19 -19
  314. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +252 -253
  315. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  316. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +19 -19
  317. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +47 -47
  318. package/lib/cjs/appui-react/popup/PopupManager.d.ts +105 -105
  319. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  320. package/lib/cjs/appui-react/popup/PopupManager.js +231 -232
  321. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  322. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +28 -28
  323. package/lib/cjs/appui-react/popup/PositionPopup.js +48 -48
  324. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +33 -33
  325. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js +56 -56
  326. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +35 -35
  327. package/lib/cjs/appui-react/popup/ToolbarPopup.js +59 -59
  328. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +22 -22
  329. package/lib/cjs/appui-react/redux/FrameworkState.js +20 -20
  330. package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts +36 -36
  331. package/lib/cjs/appui-react/redux/ReducerRegistry.js +60 -60
  332. package/lib/cjs/appui-react/redux/SessionState.d.ts +103 -103
  333. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  334. package/lib/cjs/appui-react/redux/SessionState.js +130 -130
  335. package/lib/cjs/appui-react/redux/StateManager.d.ts +43 -43
  336. package/lib/cjs/appui-react/redux/StateManager.js +97 -97
  337. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  338. package/lib/cjs/appui-react/redux/connectIModel.d.ts +26 -26
  339. package/lib/cjs/appui-react/redux/connectIModel.js +94 -94
  340. package/lib/cjs/appui-react/redux/redux-ts.d.ts +197 -197
  341. package/lib/cjs/appui-react/redux/redux-ts.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/redux/redux-ts.js +36 -36
  343. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +10 -10
  344. package/lib/cjs/appui-react/safearea/SafeAreaContext.js +16 -16
  345. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +7 -7
  346. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js +15 -15
  347. package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +13 -13
  348. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +21 -21
  349. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +265 -265
  350. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +548 -548
  351. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  352. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +54 -54
  353. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +209 -209
  354. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
  355. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +200 -200
  356. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  357. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +17 -17
  358. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +53 -53
  359. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +27 -27
  360. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +192 -192
  361. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +28 -28
  362. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +48 -48
  363. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  364. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +11 -11
  365. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  366. package/lib/cjs/appui-react/shared/AnyItemDef.js +9 -9
  367. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
  368. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  369. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js +9 -9
  370. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +16 -16
  371. package/lib/cjs/appui-react/shared/CommandItemDef.js +35 -35
  372. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  373. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +17 -17
  374. package/lib/cjs/appui-react/shared/CustomItemDef.js +32 -32
  375. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  376. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +12 -12
  377. package/lib/cjs/appui-react/shared/CustomItemProps.js +9 -9
  378. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +19 -19
  379. package/lib/cjs/appui-react/shared/GroupItemProps.js +9 -9
  380. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +58 -58
  381. package/lib/cjs/appui-react/shared/ItemDefBase.js +78 -78
  382. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  383. package/lib/cjs/appui-react/shared/ItemMap.d.ts +21 -21
  384. package/lib/cjs/appui-react/shared/ItemMap.js +51 -51
  385. package/lib/cjs/appui-react/shared/ItemProps.d.ts +48 -48
  386. package/lib/cjs/appui-react/shared/ItemProps.js +9 -9
  387. package/lib/cjs/appui-react/shared/MenuItem.d.ts +36 -36
  388. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  389. package/lib/cjs/appui-react/shared/MenuItem.js +112 -112
  390. package/lib/cjs/appui-react/shared/SelectionScope.d.ts +13 -13
  391. package/lib/cjs/appui-react/shared/SelectionScope.js +21 -21
  392. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +17 -17
  393. package/lib/cjs/appui-react/shared/ToolItemDef.js +39 -39
  394. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +44 -44
  395. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +9 -9
  397. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +292 -292
  398. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +218 -220
  399. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  400. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
  401. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +20 -20
  402. package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts +10 -10
  403. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +18 -18
  404. package/lib/cjs/appui-react/statusbar/Field.d.ts +22 -0
  405. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -0
  406. package/lib/cjs/appui-react/statusbar/Field.js +26 -0
  407. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -0
  408. package/lib/cjs/appui-react/statusbar/{Indicator.scss → Field.scss} +12 -12
  409. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +24 -25
  410. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  411. package/lib/cjs/appui-react/statusbar/Indicator.js +28 -35
  412. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  413. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +23 -23
  414. package/lib/cjs/appui-react/statusbar/LabelIndicator.js +28 -28
  415. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +19 -19
  416. package/lib/cjs/appui-react/statusbar/Overflow.js +29 -29
  417. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +20 -20
  418. package/lib/cjs/appui-react/statusbar/OverflowPanel.js +22 -22
  419. package/lib/cjs/appui-react/statusbar/Popup.d.ts +10 -0
  420. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -0
  421. package/lib/cjs/appui-react/statusbar/Popup.js +20 -0
  422. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -0
  423. package/lib/cjs/appui-react/statusbar/Separator.d.ts +10 -10
  424. package/lib/cjs/appui-react/statusbar/Separator.js +21 -21
  425. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +77 -63
  426. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  427. package/lib/cjs/appui-react/statusbar/StatusBar.js +143 -130
  428. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  429. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
  430. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +282 -282
  431. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +98 -98
  432. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/statusbar/StatusBarItem.js +61 -61
  434. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +23 -23
  435. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +60 -60
  436. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +39 -39
  437. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +134 -134
  438. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  439. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +20 -20
  440. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  441. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js +23 -23
  442. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +20 -20
  443. package/lib/cjs/appui-react/statusbar/dialog/Button.js +19 -19
  444. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +29 -29
  445. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +30 -30
  446. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +18 -18
  447. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +19 -19
  448. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +9 -9
  449. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js +32 -32
  450. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +9 -9
  451. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +50 -50
  452. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +9 -9
  453. package/lib/cjs/appui-react/statusfields/ActivityCenter.js +61 -61
  454. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +46 -46
  455. package/lib/cjs/appui-react/statusfields/MessageCenter.js +126 -126
  456. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +16 -16
  457. package/lib/cjs/appui-react/statusfields/SectionsField.js +80 -80
  458. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  459. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +26 -26
  460. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +48 -48
  461. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +37 -37
  462. package/lib/cjs/appui-react/statusfields/SelectionScope.js +66 -66
  463. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +43 -43
  464. package/lib/cjs/appui-react/statusfields/SnapMode.js +126 -126
  465. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +30 -30
  466. package/lib/cjs/appui-react/statusfields/ViewAttributes.js +93 -93
  467. package/lib/cjs/appui-react/statusfields/ViewAttributes.scss +0 -4
  468. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
  469. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +91 -91
  470. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +95 -95
  471. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  472. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +443 -443
  473. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  474. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +78 -78
  475. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +188 -188
  476. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  477. package/lib/cjs/appui-react/theme/ThemeManager.d.ts +55 -55
  478. package/lib/cjs/appui-react/theme/ThemeManager.js +95 -96
  479. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  480. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +15 -15
  481. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js +52 -52
  482. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +15 -15
  483. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js +58 -58
  484. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +19 -19
  485. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js +65 -65
  486. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  487. package/lib/cjs/appui-react/toolbar/DragInteraction.d.ts +8 -8
  488. package/lib/cjs/appui-react/toolbar/DragInteraction.js +15 -15
  489. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +37 -37
  490. package/lib/cjs/appui-react/toolbar/GroupItem.js +76 -76
  491. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  492. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
  493. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +221 -221
  494. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +22 -22
  495. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +128 -128
  496. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +103 -103
  497. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  498. package/lib/cjs/appui-react/toolbar/ToolbarItem.js +51 -51
  499. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +15 -15
  500. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +52 -52
  501. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +45 -45
  502. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js +247 -247
  503. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +7 -7
  504. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js +25 -25
  505. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +9 -9
  506. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js +32 -32
  507. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +9 -9
  508. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +48 -48
  509. package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +36 -36
  510. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +365 -372
  511. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  512. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts +11 -11
  513. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js +30 -30
  514. package/lib/cjs/appui-react/tools/KeyinPaletteTools.d.ts +16 -16
  515. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js +32 -32
  516. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  517. package/lib/cjs/appui-react/tools/OpenSettingsTool.d.ts +16 -16
  518. package/lib/cjs/appui-react/tools/OpenSettingsTool.js +34 -34
  519. package/lib/cjs/appui-react/tools/OpenSettingsTool.js.map +1 -1
  520. package/lib/cjs/appui-react/tools/RestoreLayoutTool.d.ts +26 -26
  521. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js +62 -62
  522. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  523. package/lib/cjs/appui-react/tools/ToolSettingsTools.d.ts +22 -22
  524. package/lib/cjs/appui-react/tools/ToolSettingsTools.js +46 -46
  525. package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
  526. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
  527. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  528. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +73 -72
  529. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  530. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +49 -49
  531. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +123 -123
  532. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  533. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +14 -14
  534. package/lib/cjs/appui-react/toolsettings/ToolInformation.js +43 -43
  535. package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.d.ts +43 -43
  536. package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.js +63 -63
  537. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +35 -35
  538. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js +38 -38
  539. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +27 -27
  540. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +73 -73
  542. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +9 -9
  543. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js +9 -9
  545. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +64 -64
  546. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +47 -47
  547. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  548. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +38 -38
  549. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +85 -87
  550. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  551. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +25 -25
  552. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +41 -41
  553. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  554. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +34 -34
  555. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +52 -52
  556. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  557. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +25 -25
  558. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +41 -41
  559. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +32 -32
  560. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +61 -62
  561. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  562. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +91 -91
  563. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  564. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +171 -177
  565. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  566. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +26 -26
  567. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +9 -9
  568. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +6 -6
  569. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js +15 -15
  570. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +201 -201
  571. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +344 -344
  572. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  573. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +27 -27
  574. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +206 -206
  575. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  576. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +27 -27
  577. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +53 -53
  578. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +49 -49
  579. package/lib/cjs/appui-react/uistate/AppUiSettings.js +89 -89
  580. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  581. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +19 -19
  582. package/lib/cjs/appui-react/uistate/useUiStateStorage.js +38 -38
  583. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +83 -83
  584. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +197 -197
  585. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  586. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +21 -21
  587. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  588. package/lib/cjs/appui-react/utils/PropsHelper.js +67 -67
  589. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  590. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.d.ts +17 -17
  591. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js +60 -60
  592. package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts +53 -53
  593. package/lib/cjs/appui-react/utils/UiShowHideManager.js +107 -107
  594. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +66 -66
  595. package/lib/cjs/appui-react/utils/ViewUtilities.js +98 -98
  596. package/lib/cjs/appui-react/widget-panels/Content.d.ts +6 -6
  597. package/lib/cjs/appui-react/widget-panels/Content.js +57 -58
  598. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  599. package/lib/cjs/appui-react/widget-panels/FloatingWidget.d.ts +6 -6
  600. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +18 -18
  601. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +125 -125
  602. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  603. package/lib/cjs/appui-react/widget-panels/Frontstage.js +1082 -1091
  604. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  605. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts +3 -3
  606. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +21 -21
  607. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +8 -8
  608. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +38 -38
  609. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +8 -8
  610. package/lib/cjs/appui-react/widget-panels/StatusBar.js +28 -28
  611. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  612. package/lib/cjs/appui-react/widget-panels/Tab.d.ts +10 -10
  613. package/lib/cjs/appui-react/widget-panels/Tab.js +34 -34
  614. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  615. package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts +37 -37
  616. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +148 -156
  617. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  618. package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts +7 -7
  619. package/lib/cjs/appui-react/widget-panels/Toolbars.js +23 -24
  620. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  621. package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts +7 -7
  622. package/lib/cjs/appui-react/widget-panels/useTransientState.js +18 -18
  623. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts +8 -8
  624. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +29 -29
  625. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +22 -22
  626. package/lib/cjs/appui-react/widgets/BackstageAppButton.js +51 -51
  627. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +19 -19
  628. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +60 -60
  629. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +23 -23
  630. package/lib/cjs/appui-react/widgets/BasicToolWidget.js +61 -61
  631. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts +37 -37
  632. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +48 -48
  633. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +38 -38
  634. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +105 -105
  635. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  636. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +8 -8
  637. package/lib/cjs/appui-react/widgets/StableWidgetDef.js +29 -29
  638. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +27 -27
  639. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js +42 -42
  640. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  641. package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts +10 -10
  642. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +15 -15
  643. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +23 -23
  644. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +34 -34
  645. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts +26 -26
  646. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +36 -36
  647. package/lib/cjs/appui-react/widgets/Widget.d.ts +38 -38
  648. package/lib/cjs/appui-react/widgets/Widget.js +9 -9
  649. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +15 -15
  650. package/lib/cjs/appui-react/widgets/WidgetConfig.js +9 -9
  651. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +33 -33
  652. package/lib/cjs/appui-react/widgets/WidgetControl.js +44 -44
  653. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +170 -170
  654. package/lib/cjs/appui-react/widgets/WidgetDef.js +311 -311
  655. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  656. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +41 -41
  657. package/lib/cjs/appui-react/widgets/WidgetHost.js +89 -90
  658. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  659. package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +55 -55
  660. package/lib/cjs/appui-react/widgets/WidgetManager.js +106 -106
  661. package/lib/cjs/appui-react/widgets/WidgetState.d.ts +13 -13
  662. package/lib/cjs/appui-react/widgets/WidgetState.js +21 -21
  663. package/lib/cjs/appui-react.d.ts +341 -341
  664. package/lib/cjs/appui-react.js +362 -358
  665. package/lib/cjs/appui-react.js.map +1 -1
  666. package/lib/esm/appui-react/UiFramework.d.ts +269 -269
  667. package/lib/esm/appui-react/UiFramework.js +547 -550
  668. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  669. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts +27 -27
  670. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js +70 -70
  671. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +21 -21
  672. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +35 -35
  673. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +19 -19
  674. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js +212 -212
  675. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +42 -42
  676. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +120 -120
  677. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +12 -12
  678. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +106 -106
  679. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +18 -18
  680. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +61 -60
  681. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  682. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +61 -61
  683. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js +8 -8
  684. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +18 -18
  685. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js +40 -39
  686. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  687. package/lib/esm/appui-react/accudraw/Calculator.d.ts +46 -46
  688. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  689. package/lib/esm/appui-react/accudraw/Calculator.js +215 -214
  690. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  691. package/lib/esm/appui-react/accudraw/CalculatorEngine.d.ts +41 -41
  692. package/lib/esm/appui-react/accudraw/CalculatorEngine.js +191 -191
  693. package/lib/esm/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  694. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +31 -31
  695. package/lib/esm/appui-react/accudraw/CalculatorPopup.js +37 -37
  696. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +147 -147
  697. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +221 -220
  698. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  699. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +30 -30
  700. package/lib/esm/appui-react/accudraw/MenuButton.js +63 -63
  701. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +27 -27
  702. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js +33 -33
  703. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +14 -14
  704. package/lib/esm/appui-react/accudraw/SquareButton.js +22 -22
  705. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +27 -27
  706. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  707. package/lib/esm/appui-react/backstage/BackstageComposer.js +134 -134
  708. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +28 -28
  709. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +48 -49
  710. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  711. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +59 -59
  712. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  713. package/lib/esm/appui-react/backstage/BackstageItem.js +19 -19
  714. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +13 -13
  715. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +41 -41
  716. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +38 -38
  717. package/lib/esm/appui-react/backstage/BackstageItemsManager.js +125 -125
  718. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +35 -35
  719. package/lib/esm/appui-react/backstage/BackstageManager.js +71 -71
  720. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +22 -22
  721. package/lib/esm/appui-react/backstage/InternalBackstageManager.js +51 -51
  722. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +9 -9
  723. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js +28 -28
  724. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +9 -9
  725. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +37 -37
  726. package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts +73 -73
  727. package/lib/esm/appui-react/childwindow/ChildWindowManager.js +102 -102
  728. package/lib/esm/appui-react/childwindow/CopyStyles.d.ts +7 -7
  729. package/lib/esm/appui-react/childwindow/CopyStyles.js +38 -38
  730. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +71 -71
  731. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  732. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +203 -204
  733. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  734. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +15 -15
  735. package/lib/esm/appui-react/childwindow/PopoutWidget.js +15 -15
  736. package/lib/esm/appui-react/configurableui/ActivityTracker.d.ts +29 -29
  737. package/lib/esm/appui-react/configurableui/ActivityTracker.js +67 -67
  738. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +21 -21
  739. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +55 -55
  740. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts +95 -95
  741. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  742. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js +89 -89
  743. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +65 -65
  744. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +88 -88
  745. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +81 -81
  746. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +149 -148
  747. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  748. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts +33 -33
  749. package/lib/esm/appui-react/configurableui/TimeTracker.js +76 -77
  750. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  751. package/lib/esm/appui-react/configurableui/configurableui.scss +0 -1
  752. package/lib/esm/appui-react/configurableui/state.d.ts +61 -61
  753. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  754. package/lib/esm/appui-react/configurableui/state.js +107 -107
  755. package/lib/esm/appui-react/content/ContentControl.d.ts +64 -64
  756. package/lib/esm/appui-react/content/ContentControl.js +72 -72
  757. package/lib/esm/appui-react/content/ContentGroup.d.ts +93 -93
  758. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  759. package/lib/esm/appui-react/content/ContentGroup.js +170 -169
  760. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  761. package/lib/esm/appui-react/content/ContentLayout.d.ts +90 -90
  762. package/lib/esm/appui-react/content/ContentLayout.js +360 -365
  763. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  764. package/lib/esm/appui-react/content/ContentLayoutManager.d.ts +47 -47
  765. package/lib/esm/appui-react/content/ContentLayoutManager.js +64 -64
  766. package/lib/esm/appui-react/content/ContentViewManager.d.ts +62 -62
  767. package/lib/esm/appui-react/content/ContentViewManager.js +91 -91
  768. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +22 -22
  769. package/lib/esm/appui-react/content/DefaultViewOverlay.js +45 -46
  770. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  771. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +31 -31
  772. package/lib/esm/appui-react/content/FloatingViewportContent.js +72 -73
  773. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  774. package/lib/esm/appui-react/content/IModelViewport.d.ts +80 -80
  775. package/lib/esm/appui-react/content/IModelViewport.js +142 -145
  776. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  777. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +47 -47
  778. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +91 -91
  779. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  780. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +79 -79
  781. package/lib/esm/appui-react/content/InternalContentViewManager.js +206 -205
  782. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  783. package/lib/esm/appui-react/content/StageContentLayout.d.ts +35 -35
  784. package/lib/esm/appui-react/content/StageContentLayout.js +62 -62
  785. package/lib/esm/appui-react/content/ViewStateHelper.d.ts +25 -25
  786. package/lib/esm/appui-react/content/ViewStateHelper.js +46 -46
  787. package/lib/esm/appui-react/content/ViewportContentControl.d.ts +61 -61
  788. package/lib/esm/appui-react/content/ViewportContentControl.js +126 -126
  789. package/lib/esm/appui-react/content/split-pane/Pane.d.ts +20 -20
  790. package/lib/esm/appui-react/content/split-pane/Pane.js +38 -38
  791. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts +22 -22
  792. package/lib/esm/appui-react/content/split-pane/Resizer.js +34 -34
  793. package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts +69 -69
  794. package/lib/esm/appui-react/content/split-pane/SplitPane.js +234 -238
  795. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  796. package/lib/esm/appui-react/cursor/CursorInformation.d.ts +68 -68
  797. package/lib/esm/appui-react/cursor/CursorInformation.js +140 -139
  798. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  799. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +32 -32
  800. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +71 -72
  801. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  802. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +58 -58
  803. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +146 -145
  804. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  805. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +114 -114
  806. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +319 -318
  807. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  808. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +22 -22
  809. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +60 -60
  810. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +23 -23
  811. package/lib/esm/appui-react/dialog/ContentDialog.js +62 -65
  812. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  813. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +51 -51
  814. package/lib/esm/appui-react/dialog/ContentDialogManager.js +80 -80
  815. package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts +84 -84
  816. package/lib/esm/appui-react/dialog/DialogManagerBase.js +135 -135
  817. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  818. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +47 -47
  819. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +128 -127
  820. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  821. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +35 -35
  822. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js +51 -50
  823. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  824. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +45 -45
  825. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js +116 -115
  826. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  827. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +42 -42
  828. package/lib/esm/appui-react/dialog/ModalDialogManager.js +63 -63
  829. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +21 -21
  830. package/lib/esm/appui-react/dialog/ModelessDialog.js +26 -26
  831. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +51 -51
  832. package/lib/esm/appui-react/dialog/ModelessDialogManager.js +80 -80
  833. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +42 -42
  834. package/lib/esm/appui-react/dialog/StandardMessageBox.js +89 -89
  835. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +38 -38
  836. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +77 -77
  837. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +61 -61
  838. package/lib/esm/appui-react/feedback/ElementTooltip.js +127 -126
  839. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  840. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +73 -73
  841. package/lib/esm/appui-react/feedback/ValidationTextbox.js +111 -111
  842. package/lib/esm/appui-react/feedback/ValidationTextbox.scss +1 -2
  843. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +43 -43
  844. package/lib/esm/appui-react/framework/FrameworkBackstage.js +8 -8
  845. package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts +75 -75
  846. package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  847. package/lib/esm/appui-react/framework/FrameworkChildWindows.js +8 -8
  848. package/lib/esm/appui-react/framework/FrameworkContent.d.ts +154 -154
  849. package/lib/esm/appui-react/framework/FrameworkContent.js +24 -24
  850. package/lib/esm/appui-react/framework/FrameworkControls.d.ts +42 -42
  851. package/lib/esm/appui-react/framework/FrameworkControls.js +1 -1
  852. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +78 -78
  853. package/lib/esm/appui-react/framework/FrameworkDialogs.js +18 -18
  854. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +285 -285
  855. package/lib/esm/appui-react/framework/FrameworkFrontstages.js +52 -52
  856. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +99 -99
  857. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js +1 -1
  858. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +51 -51
  859. package/lib/esm/appui-react/framework/FrameworkToolSettings.js +13 -13
  860. package/lib/esm/appui-react/framework/FrameworkVisibility.d.ts +36 -36
  861. package/lib/esm/appui-react/framework/FrameworkVisibility.js +1 -1
  862. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +39 -39
  863. package/lib/esm/appui-react/frontstage/FrontstageConfig.js +8 -8
  864. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +205 -205
  865. package/lib/esm/appui-react/frontstage/FrontstageDef.js +817 -818
  866. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  867. package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +201 -201
  868. package/lib/esm/appui-react/frontstage/FrontstageManager.js +264 -264
  869. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +13 -13
  870. package/lib/esm/appui-react/frontstage/FrontstageProvider.js +12 -12
  871. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +234 -234
  872. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +505 -504
  873. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  874. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +34 -34
  875. package/lib/esm/appui-react/frontstage/ModalFrontstage.js +42 -42
  876. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +21 -21
  877. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +83 -83
  878. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  879. package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts +13 -13
  880. package/lib/esm/appui-react/frontstage/NestedFrontstage.js +30 -29
  881. package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  882. package/lib/esm/appui-react/frontstage/StageUsage.d.ts +15 -15
  883. package/lib/esm/appui-react/frontstage/StageUsage.js +20 -20
  884. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +65 -65
  885. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  886. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +73 -74
  887. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  888. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +10 -10
  889. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +33 -33
  890. package/lib/esm/appui-react/hooks/useActiveStageId.d.ts +7 -7
  891. package/lib/esm/appui-react/hooks/useActiveStageId.js +25 -25
  892. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +8 -8
  893. package/lib/esm/appui-react/hooks/useActiveViewport.js +42 -42
  894. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +9 -9
  895. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +63 -67
  896. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  897. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.d.ts +8 -8
  898. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +22 -22
  899. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.d.ts +12 -12
  900. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js +25 -25
  901. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +9 -9
  902. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +63 -67
  903. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  904. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +9 -9
  905. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +56 -61
  906. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  907. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts +5 -5
  908. package/lib/esm/appui-react/hooks/useUiVisibility.js +22 -22
  909. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +39 -39
  910. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +108 -107
  911. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  912. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +96 -96
  913. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +224 -224
  914. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +38 -38
  915. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +91 -90
  916. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  917. package/lib/esm/appui-react/messages/ActivityMessage.d.ts +9 -9
  918. package/lib/esm/appui-react/messages/ActivityMessage.js +73 -75
  919. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  920. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +74 -74
  921. package/lib/esm/appui-react/messages/AppNotificationManager.js +121 -121
  922. package/lib/esm/appui-react/messages/HollowIcon.d.ts +9 -9
  923. package/lib/esm/appui-react/messages/HollowIcon.js +16 -16
  924. package/lib/esm/appui-react/messages/InputField.d.ts +37 -37
  925. package/lib/esm/appui-react/messages/InputField.js +88 -88
  926. package/lib/esm/appui-react/messages/MessageLabel.d.ts +12 -12
  927. package/lib/esm/appui-react/messages/MessageLabel.js +17 -17
  928. package/lib/esm/appui-react/messages/MessageManager.d.ts +253 -253
  929. package/lib/esm/appui-react/messages/MessageManager.js +455 -454
  930. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  931. package/lib/esm/appui-react/messages/MessageSpan.d.ts +14 -14
  932. package/lib/esm/appui-react/messages/MessageSpan.js +17 -17
  933. package/lib/esm/appui-react/messages/Pointer.d.ts +69 -69
  934. package/lib/esm/appui-react/messages/Pointer.js +169 -168
  935. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  936. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +62 -62
  937. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  938. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js +63 -63
  939. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  940. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +24 -24
  941. package/lib/esm/appui-react/messages/StatusMessageManager.js +51 -51
  942. package/lib/esm/appui-react/messages/getToastCategory.d.ts +6 -6
  943. package/lib/esm/appui-react/messages/getToastCategory.js +23 -23
  944. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +13 -13
  945. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +23 -22
  946. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  947. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +13 -13
  948. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +23 -22
  949. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  950. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +33 -33
  951. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +29 -29
  952. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +71 -71
  953. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +183 -182
  954. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  955. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +117 -117
  956. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +145 -144
  957. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  958. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +44 -44
  959. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +109 -108
  960. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  961. package/lib/esm/appui-react/pickers/ListPicker.d.ts +114 -111
  962. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  963. package/lib/esm/appui-react/pickers/ListPicker.js +190 -188
  964. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  965. package/lib/esm/appui-react/pickers/ListPicker.scss +7 -0
  966. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +95 -90
  967. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  968. package/lib/esm/appui-react/pickers/ViewSelector.js +263 -247
  969. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  970. package/lib/esm/appui-react/popup/CardPopup.d.ts +48 -48
  971. package/lib/esm/appui-react/popup/CardPopup.js +84 -84
  972. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +30 -30
  973. package/lib/esm/appui-react/popup/HTMLElementPopup.js +38 -38
  974. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +38 -38
  975. package/lib/esm/appui-react/popup/InputEditorPopup.js +52 -52
  976. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +19 -19
  977. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +247 -248
  978. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  979. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +19 -19
  980. package/lib/esm/appui-react/popup/KeyinPalettePopup.js +43 -43
  981. package/lib/esm/appui-react/popup/PopupManager.d.ts +105 -105
  982. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  983. package/lib/esm/appui-react/popup/PopupManager.js +225 -225
  984. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  985. package/lib/esm/appui-react/popup/PositionPopup.d.ts +28 -28
  986. package/lib/esm/appui-react/popup/PositionPopup.js +43 -43
  987. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +33 -33
  988. package/lib/esm/appui-react/popup/ToolSettingsPopup.js +52 -52
  989. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +35 -35
  990. package/lib/esm/appui-react/popup/ToolbarPopup.js +55 -55
  991. package/lib/esm/appui-react/redux/FrameworkState.d.ts +22 -22
  992. package/lib/esm/appui-react/redux/FrameworkState.js +17 -17
  993. package/lib/esm/appui-react/redux/ReducerRegistry.d.ts +36 -36
  994. package/lib/esm/appui-react/redux/ReducerRegistry.js +56 -56
  995. package/lib/esm/appui-react/redux/SessionState.d.ts +103 -103
  996. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  997. package/lib/esm/appui-react/redux/SessionState.js +126 -126
  998. package/lib/esm/appui-react/redux/StateManager.d.ts +43 -43
  999. package/lib/esm/appui-react/redux/StateManager.js +94 -93
  1000. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1001. package/lib/esm/appui-react/redux/connectIModel.d.ts +26 -26
  1002. package/lib/esm/appui-react/redux/connectIModel.js +89 -89
  1003. package/lib/esm/appui-react/redux/redux-ts.d.ts +197 -197
  1004. package/lib/esm/appui-react/redux/redux-ts.d.ts.map +1 -1
  1005. package/lib/esm/appui-react/redux/redux-ts.js +32 -32
  1006. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +10 -10
  1007. package/lib/esm/appui-react/safearea/SafeAreaContext.js +13 -13
  1008. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +7 -7
  1009. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js +11 -11
  1010. package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +13 -13
  1011. package/lib/esm/appui-react/safearea/SafeAreaInsets.js +18 -18
  1012. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +265 -265
  1013. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +545 -543
  1014. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1015. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +54 -54
  1016. package/lib/esm/appui-react/selection/SelectionContextItemDef.js +197 -197
  1017. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +26 -26
  1018. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +195 -195
  1019. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1020. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +17 -17
  1021. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +49 -49
  1022. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +27 -27
  1023. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +187 -187
  1024. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +28 -28
  1025. package/lib/esm/appui-react/shared/ActionButtonItemDef.js +45 -44
  1026. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1027. package/lib/esm/appui-react/shared/AnyItemDef.d.ts +11 -11
  1028. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1029. package/lib/esm/appui-react/shared/AnyItemDef.js +8 -8
  1030. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +9 -9
  1031. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  1032. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js +8 -8
  1033. package/lib/esm/appui-react/shared/CommandItemDef.d.ts +16 -16
  1034. package/lib/esm/appui-react/shared/CommandItemDef.js +32 -31
  1035. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1036. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +17 -17
  1037. package/lib/esm/appui-react/shared/CustomItemDef.js +29 -28
  1038. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1039. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +12 -12
  1040. package/lib/esm/appui-react/shared/CustomItemProps.js +8 -8
  1041. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +19 -19
  1042. package/lib/esm/appui-react/shared/GroupItemProps.js +8 -8
  1043. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +58 -58
  1044. package/lib/esm/appui-react/shared/ItemDefBase.js +74 -74
  1045. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1046. package/lib/esm/appui-react/shared/ItemMap.d.ts +21 -21
  1047. package/lib/esm/appui-react/shared/ItemMap.js +46 -46
  1048. package/lib/esm/appui-react/shared/ItemProps.d.ts +48 -48
  1049. package/lib/esm/appui-react/shared/ItemProps.js +8 -8
  1050. package/lib/esm/appui-react/shared/MenuItem.d.ts +36 -36
  1051. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1052. package/lib/esm/appui-react/shared/MenuItem.js +107 -107
  1053. package/lib/esm/appui-react/shared/SelectionScope.d.ts +13 -13
  1054. package/lib/esm/appui-react/shared/SelectionScope.js +18 -18
  1055. package/lib/esm/appui-react/shared/ToolItemDef.d.ts +17 -17
  1056. package/lib/esm/appui-react/shared/ToolItemDef.js +35 -35
  1057. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +44 -44
  1058. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  1059. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +8 -8
  1060. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +292 -292
  1061. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +210 -212
  1062. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1063. package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +12 -12
  1064. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +17 -17
  1065. package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts +10 -10
  1066. package/lib/esm/appui-react/stagepanels/StagePanelSection.js +15 -15
  1067. package/lib/esm/appui-react/statusbar/Field.d.ts +22 -0
  1068. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -0
  1069. package/lib/esm/appui-react/statusbar/Field.js +23 -0
  1070. package/lib/esm/appui-react/statusbar/Field.js.map +1 -0
  1071. package/lib/esm/appui-react/statusbar/{Indicator.scss → Field.scss} +12 -12
  1072. package/lib/esm/appui-react/statusbar/Indicator.d.ts +24 -25
  1073. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1074. package/lib/esm/appui-react/statusbar/Indicator.js +24 -31
  1075. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1076. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +23 -23
  1077. package/lib/esm/appui-react/statusbar/LabelIndicator.js +24 -24
  1078. package/lib/esm/appui-react/statusbar/Overflow.d.ts +19 -19
  1079. package/lib/esm/appui-react/statusbar/Overflow.js +26 -26
  1080. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +20 -20
  1081. package/lib/esm/appui-react/statusbar/OverflowPanel.js +18 -18
  1082. package/lib/esm/appui-react/statusbar/Popup.d.ts +10 -0
  1083. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -0
  1084. package/lib/esm/appui-react/statusbar/Popup.js +16 -0
  1085. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -0
  1086. package/lib/esm/appui-react/statusbar/Separator.d.ts +10 -10
  1087. package/lib/esm/appui-react/statusbar/Separator.js +17 -17
  1088. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +77 -63
  1089. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1090. package/lib/esm/appui-react/statusbar/StatusBar.js +135 -122
  1091. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1092. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +46 -46
  1093. package/lib/esm/appui-react/statusbar/StatusBarComposer.js +276 -276
  1094. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +98 -98
  1095. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1096. package/lib/esm/appui-react/statusbar/StatusBarItem.js +55 -55
  1097. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +23 -23
  1098. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +57 -57
  1099. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +39 -39
  1100. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +130 -130
  1101. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1102. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +20 -20
  1103. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1104. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js +19 -19
  1105. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +20 -20
  1106. package/lib/esm/appui-react/statusbar/dialog/Button.js +15 -15
  1107. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +29 -29
  1108. package/lib/esm/appui-react/statusbar/dialog/Dialog.js +26 -26
  1109. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +18 -18
  1110. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +15 -15
  1111. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +9 -9
  1112. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js +28 -28
  1113. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +9 -9
  1114. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +46 -46
  1115. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +9 -9
  1116. package/lib/esm/appui-react/statusfields/ActivityCenter.js +57 -57
  1117. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +46 -46
  1118. package/lib/esm/appui-react/statusfields/MessageCenter.js +122 -122
  1119. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +16 -16
  1120. package/lib/esm/appui-react/statusfields/SectionsField.js +76 -76
  1121. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1122. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +26 -26
  1123. package/lib/esm/appui-react/statusfields/SelectionInfo.js +45 -45
  1124. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +37 -37
  1125. package/lib/esm/appui-react/statusfields/SelectionScope.js +63 -63
  1126. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +43 -43
  1127. package/lib/esm/appui-react/statusfields/SnapMode.js +123 -123
  1128. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +30 -30
  1129. package/lib/esm/appui-react/statusfields/ViewAttributes.js +89 -89
  1130. package/lib/esm/appui-react/statusfields/ViewAttributes.scss +0 -4
  1131. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +31 -31
  1132. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +87 -87
  1133. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +95 -95
  1134. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1135. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +440 -439
  1136. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1137. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +78 -78
  1138. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +185 -184
  1139. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1140. package/lib/esm/appui-react/theme/ThemeManager.d.ts +55 -55
  1141. package/lib/esm/appui-react/theme/ThemeManager.js +92 -93
  1142. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1143. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +15 -15
  1144. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js +48 -48
  1145. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +15 -15
  1146. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js +54 -54
  1147. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +19 -19
  1148. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js +61 -61
  1149. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1150. package/lib/esm/appui-react/toolbar/DragInteraction.d.ts +8 -8
  1151. package/lib/esm/appui-react/toolbar/DragInteraction.js +12 -12
  1152. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +37 -37
  1153. package/lib/esm/appui-react/toolbar/GroupItem.js +73 -72
  1154. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1155. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +19 -19
  1156. package/lib/esm/appui-react/toolbar/ToolbarComposer.js +217 -217
  1157. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +22 -22
  1158. package/lib/esm/appui-react/toolbar/ToolbarHelper.js +124 -124
  1159. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +103 -103
  1160. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1161. package/lib/esm/appui-react/toolbar/ToolbarItem.js +45 -45
  1162. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +15 -15
  1163. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +49 -49
  1164. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +45 -45
  1165. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js +243 -243
  1166. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +7 -7
  1167. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js +21 -21
  1168. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +9 -9
  1169. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js +28 -28
  1170. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +9 -9
  1171. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +44 -44
  1172. package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +36 -36
  1173. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +361 -368
  1174. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1175. package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts +11 -11
  1176. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js +26 -26
  1177. package/lib/esm/appui-react/tools/KeyinPaletteTools.d.ts +16 -16
  1178. package/lib/esm/appui-react/tools/KeyinPaletteTools.js +29 -28
  1179. package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  1180. package/lib/esm/appui-react/tools/OpenSettingsTool.d.ts +16 -16
  1181. package/lib/esm/appui-react/tools/OpenSettingsTool.js +31 -30
  1182. package/lib/esm/appui-react/tools/OpenSettingsTool.js.map +1 -1
  1183. package/lib/esm/appui-react/tools/RestoreLayoutTool.d.ts +26 -26
  1184. package/lib/esm/appui-react/tools/RestoreLayoutTool.js +59 -57
  1185. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1186. package/lib/esm/appui-react/tools/ToolSettingsTools.d.ts +22 -22
  1187. package/lib/esm/appui-react/tools/ToolSettingsTools.js +43 -41
  1188. package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
  1189. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +25 -25
  1190. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1191. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +69 -68
  1192. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1193. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +49 -49
  1194. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +120 -119
  1195. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1196. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +14 -14
  1197. package/lib/esm/appui-react/toolsettings/ToolInformation.js +39 -39
  1198. package/lib/esm/appui-react/toolsettings/ToolSettingsManager.d.ts +43 -43
  1199. package/lib/esm/appui-react/toolsettings/ToolSettingsManager.js +59 -59
  1200. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +35 -35
  1201. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js +34 -34
  1202. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +27 -27
  1203. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1204. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +69 -69
  1205. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +9 -9
  1206. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts.map +1 -1
  1207. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +8 -8
  1208. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +64 -64
  1209. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +43 -43
  1210. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1211. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +38 -38
  1212. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +81 -83
  1213. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1214. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +25 -25
  1215. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +37 -37
  1216. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1217. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +34 -34
  1218. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +48 -48
  1219. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1220. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +25 -25
  1221. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +37 -37
  1222. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +32 -32
  1223. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +57 -58
  1224. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1225. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +91 -91
  1226. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1227. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +168 -173
  1228. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1229. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +26 -26
  1230. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +8 -8
  1231. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +6 -6
  1232. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js +11 -11
  1233. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +201 -201
  1234. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +340 -340
  1235. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1236. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +27 -27
  1237. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +202 -202
  1238. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1239. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +27 -27
  1240. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +47 -47
  1241. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +49 -49
  1242. package/lib/esm/appui-react/uistate/AppUiSettings.js +86 -85
  1243. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1244. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +19 -19
  1245. package/lib/esm/appui-react/uistate/useUiStateStorage.js +33 -33
  1246. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +83 -83
  1247. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +194 -192
  1248. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1249. package/lib/esm/appui-react/utils/PropsHelper.d.ts +21 -21
  1250. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1251. package/lib/esm/appui-react/utils/PropsHelper.js +63 -63
  1252. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1253. package/lib/esm/appui-react/utils/ToolbarButtonHelper.d.ts +17 -17
  1254. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js +56 -56
  1255. package/lib/esm/appui-react/utils/UiShowHideManager.d.ts +53 -53
  1256. package/lib/esm/appui-react/utils/UiShowHideManager.js +104 -104
  1257. package/lib/esm/appui-react/utils/ViewUtilities.d.ts +66 -66
  1258. package/lib/esm/appui-react/utils/ViewUtilities.js +94 -94
  1259. package/lib/esm/appui-react/widget-panels/Content.d.ts +6 -6
  1260. package/lib/esm/appui-react/widget-panels/Content.js +52 -53
  1261. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1262. package/lib/esm/appui-react/widget-panels/FloatingWidget.d.ts +6 -6
  1263. package/lib/esm/appui-react/widget-panels/FloatingWidget.js +14 -14
  1264. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +125 -125
  1265. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1266. package/lib/esm/appui-react/widget-panels/Frontstage.js +1050 -1059
  1267. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1268. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts +3 -3
  1269. package/lib/esm/appui-react/widget-panels/FrontstageContent.js +17 -17
  1270. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +8 -8
  1271. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +33 -33
  1272. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +8 -8
  1273. package/lib/esm/appui-react/widget-panels/StatusBar.js +24 -24
  1274. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1275. package/lib/esm/appui-react/widget-panels/Tab.d.ts +10 -10
  1276. package/lib/esm/appui-react/widget-panels/Tab.js +29 -29
  1277. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1278. package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts +37 -37
  1279. package/lib/esm/appui-react/widget-panels/ToolSettings.js +138 -146
  1280. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1281. package/lib/esm/appui-react/widget-panels/Toolbars.d.ts +7 -7
  1282. package/lib/esm/appui-react/widget-panels/Toolbars.js +19 -20
  1283. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1284. package/lib/esm/appui-react/widget-panels/useTransientState.d.ts +7 -7
  1285. package/lib/esm/appui-react/widget-panels/useTransientState.js +14 -14
  1286. package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts +8 -8
  1287. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +25 -25
  1288. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +22 -22
  1289. package/lib/esm/appui-react/widgets/BackstageAppButton.js +47 -47
  1290. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +19 -19
  1291. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +56 -56
  1292. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +23 -23
  1293. package/lib/esm/appui-react/widgets/BasicToolWidget.js +57 -57
  1294. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts +37 -37
  1295. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +44 -44
  1296. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +38 -38
  1297. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +100 -100
  1298. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1299. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +8 -8
  1300. package/lib/esm/appui-react/widgets/StableWidgetDef.js +25 -25
  1301. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +27 -27
  1302. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +39 -38
  1303. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  1304. package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +10 -10
  1305. package/lib/esm/appui-react/widgets/ToolSettingsContent.js +12 -12
  1306. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +23 -23
  1307. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +30 -30
  1308. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts +26 -26
  1309. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +32 -32
  1310. package/lib/esm/appui-react/widgets/Widget.d.ts +38 -38
  1311. package/lib/esm/appui-react/widgets/Widget.js +8 -8
  1312. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +15 -15
  1313. package/lib/esm/appui-react/widgets/WidgetConfig.js +8 -8
  1314. package/lib/esm/appui-react/widgets/WidgetControl.d.ts +33 -33
  1315. package/lib/esm/appui-react/widgets/WidgetControl.js +40 -40
  1316. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +170 -170
  1317. package/lib/esm/appui-react/widgets/WidgetDef.js +307 -306
  1318. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1319. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +41 -41
  1320. package/lib/esm/appui-react/widgets/WidgetHost.js +85 -86
  1321. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1322. package/lib/esm/appui-react/widgets/WidgetManager.d.ts +55 -55
  1323. package/lib/esm/appui-react/widgets/WidgetManager.js +101 -101
  1324. package/lib/esm/appui-react/widgets/WidgetState.d.ts +13 -13
  1325. package/lib/esm/appui-react/widgets/WidgetState.js +18 -18
  1326. package/lib/esm/appui-react.d.ts +341 -341
  1327. package/lib/esm/appui-react.js +346 -346
  1328. package/package.json +32 -30
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,0DAAsH;AAEtH,mFAA8I;AAC9I,gDAA6C;AAC7C,sDAAmD;AAEnD,kDAA+E;AAC/E,uFAAoF;AAEpF,+CAA4C;AAE5C,qFAAkF;AAElF,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAsB;IACtD,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;IAClC,CAAC,yBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC9B,CAAC,yBAAW,CAAC,IAAI,EAAE,MAAM,CAAC;IAC1B,CAAC,yBAAW,CAAC,QAAQ,EAAE,UAAU,CAAC;CACnC,CAAC,CAAC;AAUH;;GAEG;AACH,MAAa,uBAAwB,SAAQ,wBAAoC;CAAI;AAArF,0DAAqF;AAYrF;;GAEG;AACH,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2CAAI,CAAA;IACJ,uDAAU,CAAA;IACV,yDAAW,CAAA;IACX,2DAAY,CAAA;IACZ,qDAAS,CAAA;AACX,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAWD,gFAAgF;AAEhF;;GAEG;AACH,MAAa,SAAS;IA2FpB;QAzFQ,WAAM,GAAmD,EAAE,CAAC;QAC5D,aAAQ,GAAmD,EAAE,CAAC;QAG9D,kBAAa,GAAgB,yBAAW,CAAC,QAAQ,CAAC;QAElD,aAAQ,GAA0D,SAAS,CAAC;QAC5E,cAAS,GAAW,CAAC,CAAC;QACtB,8BAAyB,GAAY,KAAK,CAAC;QAC3C,oCAA+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,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,sBAAsB,EAAE;YACrD,IAAI,OAAO,GAAG,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;YACrC,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAC7B,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1C,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,qDAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,qDAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AApVH,8BAqVC;AApVgB,cAAI,GAAG,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiError, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { PropsHelper } from \"../utils/PropsHelper\";\r\nimport { WidgetControl } from \"./WidgetControl\";\r\nimport { IconHelper, IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { WidgetConfig } from \"./WidgetConfig\";\r\nimport { WidgetState } from \"./WidgetState\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\r\n\r\nconst widgetStateNameMap = new Map<WidgetState, string>([\r\n [WidgetState.Closed, \"Closed\"],\r\n [WidgetState.Floating, \"Floating\"],\r\n [WidgetState.Hidden, \"Hidden\"],\r\n [WidgetState.Open, \"Open\"],\r\n [WidgetState.Unloaded, \"Unloaded\"],\r\n]);\r\n\r\n/** Widget State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface WidgetStateChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n widgetState: WidgetState;\r\n}\r\n\r\n/** Widget State Changed Event class.\r\n * @public\r\n */\r\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface WidgetChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** @internal */\r\nexport interface WidgetEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Widget type enum.\r\n * @public\r\n */\r\nexport enum WidgetType {\r\n Tool,\r\n Navigation,\r\n Rectangular,\r\n ToolSettings,\r\n StatusBar,\r\n}\r\n\r\n/** @internal */\r\nexport interface TabLocation {\r\n widgetId: string;\r\n widgetIndex: number;\r\n side: PanelSide;\r\n tabIndex: number;\r\n floatingWidget?: FloatingWidgetState;\r\n}\r\n\r\n// -----------------------------------------------------------------------------\r\n\r\n/** A Widget Definition in the 9-Zone Layout system.\r\n * @public\r\n */\r\nexport class WidgetDef {\r\n private static _sId = 0;\r\n private _label: string | ConditionalStringValue | StringGetter = \"\";\r\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\r\n private _widgetReactNode: React.ReactNode;\r\n private _widgetControl!: WidgetControl;\r\n private _defaultState: WidgetState = WidgetState.Unloaded;\r\n private _id: string;\r\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\r\n private _priority: number = 0;\r\n private _isFloatingStateSupported: boolean = false;\r\n private _isFloatingStateWindowResizable: boolean = true;\r\n private _stateChanged: boolean = false;\r\n private _widgetType: WidgetType = WidgetType.Rectangular;\r\n private _applicationData?: any;\r\n private _icon?: IconSpec;\r\n private _internalData?: Map<string, any>;\r\n private _badge?: BadgeType;\r\n private _onWidgetStateChanged?: () => void;\r\n private _saveTransientState?: () => void;\r\n private _restoreTransientState?: () => boolean;\r\n private _preferredPanelSize: \"fit-content\" | undefined;\r\n private _defaultFloatingSize: SizeProps | undefined;\r\n private _canPopout?: boolean;\r\n private _floatingContainerId?: string;\r\n private _defaultFloatingPosition: PointProps | undefined;\r\n\r\n private _hideWithUiWhenFloating?: boolean;\r\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\r\n private _initialConfig?: WidgetConfig;\r\n\r\n private _tabLocation?: TabLocation;\r\n private _defaultTabLocation: TabLocation = {\r\n side: \"left\",\r\n tabIndex: 0,\r\n widgetId: \"\",\r\n widgetIndex: 0,\r\n };\r\n private _popoutBounds?: Rectangle;\r\n\r\n public get state(): WidgetState {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\r\n const currentState = frontstageDef.getWidgetCurrentState(this);\r\n // istanbul ignore else\r\n if (undefined !== currentState)\r\n return currentState;\r\n }\r\n return this.defaultState;\r\n }\r\n\r\n public get id(): string { return this._id; }\r\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\r\n public get priority(): number { return this._priority; }\r\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\r\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\r\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\r\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\r\n public get stateChanged(): boolean { return this._stateChanged; }\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\r\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\r\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\r\n public get badgeType(): BadgeType | undefined { return this._badge; }\r\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\r\n\r\n public get widgetType(): WidgetType { return this._widgetType; }\r\n public set widgetType(type: WidgetType) { this._widgetType = type; }\r\n\r\n /** @internal */\r\n public get tabLocation() { return this._tabLocation; }\r\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\r\n\r\n /** @internal */\r\n public get defaultTabLocation() { return this._defaultTabLocation; }\r\n\r\n /** @internal */\r\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\r\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\r\n\r\n /** @internal */\r\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\r\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get popoutBounds() { return this._popoutBounds; }\r\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\r\n\r\n constructor() {\r\n WidgetDef._sId++;\r\n this._id = `Widget-${WidgetDef._sId}`;\r\n }\r\n\r\n /** @internal */\r\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\r\n const def = new WidgetDef();\r\n def.initializeFromConfig(config, type);\r\n return def;\r\n }\r\n\r\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\r\n this._widgetType = type;\r\n this._initialConfig = config;\r\n this._id = config.id;\r\n\r\n if (config.label)\r\n this.setLabel(config.label);\r\n else if (config.labelKey)\r\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\r\n\r\n this.setCanPopout(config.canPopout);\r\n\r\n const canFloat = config.canFloat;\r\n this._isFloatingStateSupported = !!canFloat;\r\n if (typeof canFloat === \"object\") {\r\n this.setFloatingContainerId(canFloat.containerId);\r\n this.defaultFloatingPosition = canFloat.defaultPosition;\r\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\r\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\r\n this._defaultFloatingSize = canFloat.defaultSize;\r\n }\r\n\r\n this.allowedPanelTargets = config.allowedPanels;\r\n\r\n if (config.priority !== undefined)\r\n this._priority = config.priority;\r\n\r\n if (config.tooltip)\r\n this.setTooltip(config.tooltip);\r\n else if (config.tooltipKey)\r\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\r\n\r\n if (config.defaultState !== undefined) {\r\n this._defaultState = config.defaultState;\r\n }\r\n\r\n this._widgetReactNode = config.content;\r\n this._icon = config.icon;\r\n\r\n // istanbul ignore next\r\n if (config.icon !== undefined && this._icon === undefined)\r\n this._icon = config.icon;\r\n\r\n if (config.badge !== undefined)\r\n this._badge = config.badge;\r\n\r\n this._preferredPanelSize = config.preferredPanelSize;\r\n }\r\n\r\n /** @alpha */\r\n public get preferredPanelSize() {\r\n return this._preferredPanelSize;\r\n }\r\n\r\n /** Get the label string */\r\n public get label(): string {\r\n return PropsHelper.getStringFromSpec(this._label);\r\n }\r\n\r\n /** Set the label.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\r\n if (this._label === v)\r\n return;\r\n this._label = v;\r\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Get the tooltip string */\r\n public get tooltip(): string {\r\n return PropsHelper.getStringFromSpec(this._tooltip);\r\n }\r\n\r\n /** Set the tooltip.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\r\n this._tooltip = v;\r\n }\r\n\r\n public get widgetControl(): WidgetControl | undefined {\r\n return this._widgetControl;\r\n }\r\n\r\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\r\n if (!this._widgetControl && this.classId) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof this.classId === \"string\") {\r\n // istanbul ignore else\r\n if (this.classId)\r\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\r\n usedClassId = this.classId;\r\n } else {\r\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\r\n usedClassId = this.classId.name;\r\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._widgetControl) {\r\n if (this._widgetControl.getType() !== type) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\r\n }\r\n\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n }\r\n\r\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\r\n if (!this._widgetControl && this.isStatusBar) {\r\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\r\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n\r\n return this._widgetControl;\r\n }\r\n\r\n public get reactNode(): React.ReactNode {\r\n if (!this._widgetReactNode) {\r\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.reactNode)\r\n this._widgetReactNode = widgetControl.reactNode;\r\n }\r\n\r\n return this._widgetReactNode;\r\n }\r\n\r\n public set reactNode(node: React.ReactNode) {\r\n this._widgetReactNode = node;\r\n }\r\n\r\n public setWidgetState(newState: WidgetState): void {\r\n if (this.state === newState)\r\n return;\r\n this._stateChanged = true;\r\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\r\n this.onWidgetStateChanged();\r\n }\r\n\r\n public setCanPopout(value: boolean | undefined) {\r\n this._canPopout = value;\r\n }\r\n\r\n public get canPopout(): boolean | undefined {\r\n return (this._canPopout);\r\n }\r\n\r\n public setFloatingContainerId(value: string | undefined) {\r\n this._floatingContainerId = value;\r\n }\r\n\r\n public get floatingContainerId(): string | undefined {\r\n return (this._floatingContainerId);\r\n }\r\n\r\n public canOpen(): boolean {\r\n return (this.isFloating || this.isActive);\r\n }\r\n\r\n public get isVisible(): boolean {\r\n return WidgetState.Hidden !== this.state;\r\n }\r\n\r\n public get activeState(): WidgetState {\r\n return this.state;\r\n }\r\n\r\n public get isActive(): boolean {\r\n return WidgetState.Open === this.activeState;\r\n }\r\n\r\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\r\n this._hideWithUiWhenFloating = !!hide;\r\n }\r\n\r\n public get hideWithUiWhenFloating(): boolean {\r\n return !!this._hideWithUiWhenFloating;\r\n }\r\n\r\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\r\n return this._allowedPanelTargets;\r\n }\r\n\r\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\r\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\r\n }\r\n\r\n public onWidgetStateChanged(): void {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\r\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\r\n // istanbul ignore next\r\n this._onWidgetStateChanged && this._onWidgetStateChanged();\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n this.widgetControl && this.widgetControl.saveTransientState();\r\n this._saveTransientState && this._saveTransientState();\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n let result = true;\r\n if (this.widgetControl || this._restoreTransientState) {\r\n let result1 = false, result2 = false;\r\n if (this.widgetControl)\r\n result1 = this.widgetControl.restoreTransientState();\r\n if (this._restoreTransientState)\r\n result2 = this._restoreTransientState();\r\n result = !(result1 || result2);\r\n }\r\n return result;\r\n }\r\n\r\n /** Opens the widget and makes it visible to the user.\r\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\r\n * @alpha\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 * @alpha\r\n */\r\n public expand() {\r\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,0DAAsH;AAEtH,mFAA8I;AAC9I,gDAA6C;AAC7C,sDAAmD;AAEnD,kDAA+E;AAC/E,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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esContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BadgeType, ConditionalStringValue, PointProps, StringGetter, UiError, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { PropsHelper } from \"../utils/PropsHelper\";\r\nimport { WidgetControl } from \"./WidgetControl\";\r\nimport { IconHelper, IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\r\nimport { WidgetConfig } from \"./WidgetConfig\";\r\nimport { WidgetState } from \"./WidgetState\";\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\r\n\r\nconst widgetStateNameMap = new Map<WidgetState, string>([\r\n [WidgetState.Closed, \"Closed\"],\r\n [WidgetState.Floating, \"Floating\"],\r\n [WidgetState.Hidden, \"Hidden\"],\r\n [WidgetState.Open, \"Open\"],\r\n [WidgetState.Unloaded, \"Unloaded\"],\r\n]);\r\n\r\n/** Widget State Changed Event Args interface.\r\n * @public\r\n */\r\nexport interface WidgetStateChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n widgetState: WidgetState;\r\n}\r\n\r\n/** Widget State Changed Event class.\r\n * @public\r\n */\r\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\r\n\r\n/** @internal */\r\nexport interface WidgetChangedEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** @internal */\r\nexport interface WidgetEventArgs {\r\n widgetDef: WidgetDef;\r\n}\r\n\r\n/** Widget type enum.\r\n * @public\r\n */\r\nexport enum WidgetType {\r\n Tool,\r\n Navigation,\r\n Rectangular,\r\n ToolSettings,\r\n StatusBar,\r\n}\r\n\r\n/** @internal */\r\nexport interface TabLocation {\r\n widgetId: string;\r\n widgetIndex: number;\r\n side: PanelSide;\r\n tabIndex: number;\r\n floatingWidget?: FloatingWidgetState;\r\n}\r\n\r\n// -----------------------------------------------------------------------------\r\n\r\n/** A Widget Definition in the 9-Zone Layout system.\r\n * @public\r\n */\r\nexport class WidgetDef {\r\n private static _sId = 0;\r\n private _label: string | ConditionalStringValue | StringGetter = \"\";\r\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\r\n private _widgetReactNode: React.ReactNode;\r\n private _widgetControl!: WidgetControl;\r\n private _defaultState: WidgetState = WidgetState.Unloaded;\r\n private _id: string;\r\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\r\n private _priority: number = 0;\r\n private _isFloatingStateSupported: boolean = false;\r\n private _isFloatingStateWindowResizable: boolean = true;\r\n private _stateChanged: boolean = false;\r\n private _widgetType: WidgetType = WidgetType.Rectangular;\r\n private _applicationData?: any;\r\n private _icon?: IconSpec;\r\n private _internalData?: Map<string, any>;\r\n private _badge?: BadgeType;\r\n private _onWidgetStateChanged?: () => void;\r\n private _saveTransientState?: () => void;\r\n private _restoreTransientState?: () => boolean;\r\n private _preferredPanelSize: \"fit-content\" | undefined;\r\n private _defaultFloatingSize: SizeProps | undefined;\r\n private _canPopout?: boolean;\r\n private _floatingContainerId?: string;\r\n private _defaultFloatingPosition: PointProps | undefined;\r\n\r\n private _hideWithUiWhenFloating?: boolean;\r\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\r\n private _initialConfig?: WidgetConfig;\r\n\r\n private _tabLocation?: TabLocation;\r\n private _defaultTabLocation: TabLocation = {\r\n side: \"left\",\r\n tabIndex: 0,\r\n widgetId: \"\",\r\n widgetIndex: 0,\r\n };\r\n private _popoutBounds?: Rectangle;\r\n\r\n public get state(): WidgetState {\r\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\r\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\r\n const currentState = frontstageDef.getWidgetCurrentState(this);\r\n // istanbul ignore else\r\n if (undefined !== currentState)\r\n return currentState;\r\n }\r\n return this.defaultState;\r\n }\r\n\r\n public get id(): string { return this._id; }\r\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\r\n public get priority(): number { return this._priority; }\r\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\r\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\r\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\r\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\r\n public get stateChanged(): boolean { return this._stateChanged; }\r\n public get applicationData(): any | undefined { return this._applicationData; }\r\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\r\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\r\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\r\n public get badgeType(): BadgeType | undefined { return this._badge; }\r\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\r\n\r\n public get widgetType(): WidgetType { return this._widgetType; }\r\n public set widgetType(type: WidgetType) { this._widgetType = type; }\r\n\r\n /** @internal */\r\n public get tabLocation() { return this._tabLocation; }\r\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\r\n\r\n /** @internal */\r\n public get defaultTabLocation() { return this._defaultTabLocation; }\r\n\r\n /** @internal */\r\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\r\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\r\n\r\n /** @internal */\r\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\r\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\r\n\r\n /** @internal */\r\n public get defaultState() { return this._defaultState; }\r\n\r\n /** @internal */\r\n public get popoutBounds() { return this._popoutBounds; }\r\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\r\n\r\n constructor() {\r\n WidgetDef._sId++;\r\n this._id = `Widget-${WidgetDef._sId}`;\r\n }\r\n\r\n /** @internal */\r\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\r\n const def = new WidgetDef();\r\n def.initializeFromConfig(config, type);\r\n return def;\r\n }\r\n\r\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\r\n this._widgetType = type;\r\n this._initialConfig = config;\r\n this._id = config.id;\r\n\r\n if (config.label)\r\n this.setLabel(config.label);\r\n else if (config.labelKey)\r\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\r\n\r\n this.setCanPopout(config.canPopout);\r\n\r\n const canFloat = config.canFloat;\r\n this._isFloatingStateSupported = !!canFloat;\r\n if (typeof canFloat === \"object\") {\r\n this.setFloatingContainerId(canFloat.containerId);\r\n this.defaultFloatingPosition = canFloat.defaultPosition;\r\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\r\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\r\n this._defaultFloatingSize = canFloat.defaultSize;\r\n }\r\n\r\n this.allowedPanelTargets = config.allowedPanels;\r\n\r\n if (config.priority !== undefined)\r\n this._priority = config.priority;\r\n\r\n if (config.tooltip)\r\n this.setTooltip(config.tooltip);\r\n else if (config.tooltipKey)\r\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\r\n\r\n if (config.defaultState !== undefined) {\r\n this._defaultState = config.defaultState;\r\n }\r\n\r\n this._widgetReactNode = config.content;\r\n this._icon = config.icon;\r\n\r\n // istanbul ignore next\r\n if (config.icon !== undefined && this._icon === undefined)\r\n this._icon = config.icon;\r\n\r\n if (config.badge !== undefined)\r\n this._badge = config.badge;\r\n\r\n this._preferredPanelSize = config.preferredPanelSize;\r\n }\r\n\r\n /** @alpha */\r\n public get preferredPanelSize() {\r\n return this._preferredPanelSize;\r\n }\r\n\r\n /** Get the label string */\r\n public get label(): string {\r\n return PropsHelper.getStringFromSpec(this._label);\r\n }\r\n\r\n /** Set the label.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\r\n if (this._label === v)\r\n return;\r\n this._label = v;\r\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\r\n }\r\n\r\n /** Get the tooltip string */\r\n public get tooltip(): string {\r\n return PropsHelper.getStringFromSpec(this._tooltip);\r\n }\r\n\r\n /** Set the tooltip.\r\n * @param v A string or a function to get the string.\r\n */\r\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\r\n this._tooltip = v;\r\n }\r\n\r\n public get widgetControl(): WidgetControl | undefined {\r\n return this._widgetControl;\r\n }\r\n\r\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\r\n if (!this._widgetControl && this.classId) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof this.classId === \"string\") {\r\n // istanbul ignore else\r\n if (this.classId)\r\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\r\n usedClassId = this.classId;\r\n } else {\r\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\r\n usedClassId = this.classId.name;\r\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this._widgetControl) {\r\n if (this._widgetControl.getType() !== type) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\r\n }\r\n\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n }\r\n\r\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\r\n if (!this._widgetControl && this.isStatusBar) {\r\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\r\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\r\n this._widgetControl.widgetDef = this;\r\n this._widgetControl.initialize();\r\n }\r\n\r\n return this._widgetControl;\r\n }\r\n\r\n public get reactNode(): React.ReactNode {\r\n if (!this._widgetReactNode) {\r\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\r\n\r\n // istanbul ignore else\r\n if (widgetControl && widgetControl.reactNode)\r\n this._widgetReactNode = widgetControl.reactNode;\r\n }\r\n\r\n return this._widgetReactNode;\r\n }\r\n\r\n public set reactNode(node: React.ReactNode) {\r\n this._widgetReactNode = node;\r\n }\r\n\r\n public setWidgetState(newState: WidgetState): void {\r\n if (this.state === newState)\r\n return;\r\n this._stateChanged = true;\r\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\r\n this.onWidgetStateChanged();\r\n }\r\n\r\n public setCanPopout(value: boolean | undefined) {\r\n this._canPopout = value;\r\n }\r\n\r\n public get canPopout(): boolean | undefined {\r\n return (this._canPopout);\r\n }\r\n\r\n public setFloatingContainerId(value: string | undefined) {\r\n this._floatingContainerId = value;\r\n }\r\n\r\n public get floatingContainerId(): string | undefined {\r\n return (this._floatingContainerId);\r\n }\r\n\r\n public canOpen(): boolean {\r\n return (this.isFloating || this.isActive);\r\n }\r\n\r\n public get isVisible(): boolean {\r\n return WidgetState.Hidden !== this.state;\r\n }\r\n\r\n public get activeState(): WidgetState {\r\n return this.state;\r\n }\r\n\r\n public get isActive(): boolean {\r\n return WidgetState.Open === this.activeState;\r\n }\r\n\r\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\r\n this._hideWithUiWhenFloating = !!hide;\r\n }\r\n\r\n public get hideWithUiWhenFloating(): boolean {\r\n return !!this._hideWithUiWhenFloating;\r\n }\r\n\r\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\r\n return this._allowedPanelTargets;\r\n }\r\n\r\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\r\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\r\n }\r\n\r\n public onWidgetStateChanged(): void {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\r\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\r\n // istanbul ignore next\r\n this._onWidgetStateChanged && this._onWidgetStateChanged();\r\n }\r\n\r\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\r\n public saveTransientState(): void {\r\n this.widgetControl && this.widgetControl.saveTransientState();\r\n this._saveTransientState && this._saveTransientState();\r\n }\r\n\r\n /** Overwrite to restore transient DOM state.\r\n * @note Return true if the state is restored or the Widget will remount.\r\n */\r\n public restoreTransientState(): boolean {\r\n let result = true;\r\n if (this.widgetControl || this._restoreTransientState) {\r\n let result1 = false, result2 = false;\r\n if (this.widgetControl)\r\n result1 = this.widgetControl.restoreTransientState();\r\n if (this._restoreTransientState)\r\n result2 = this._restoreTransientState();\r\n result = !(result1 || result2);\r\n }\r\n return result;\r\n }\r\n\r\n /** Opens the widget and makes it visible to the user.\r\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\r\n * @alpha\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 * @alpha\r\n */\r\n public expand() {\r\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\r\n }\r\n}\r\n"]}
@@ -1,42 +1,42 @@
1
- /** @packageDocumentation
2
- * @module Widget
3
- */
4
- import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
5
- import { StagePanelSection } from "../stagepanels/StagePanelSection";
6
- import { WidgetDef } from "./WidgetDef";
7
- /**
8
- * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
9
- * @public
10
- */
11
- export declare class WidgetHost {
12
- private _widgetDefs;
13
- private _dynamicWidgetDefs;
14
- private _sortedWidgetDefs;
15
- /** Constructor for WidgetHost.
16
- */
17
- constructor();
18
- /** Adds a WidgetDef to the list of Widgets.
19
- * @param widgetDef Definition of the Widget to add
20
- */
21
- addWidgetDef(widgetDef: WidgetDef): void;
22
- /** Gets the list of Widgets. */
23
- get widgetDefs(): ReadonlyArray<WidgetDef>;
24
- /** Gets the number of Widgets. */
25
- get widgetCount(): number;
26
- /** If there is only one Widget in the Panel, gets the single WidgetDef.
27
- * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
28
- */
29
- getSingleWidgetDef(): WidgetDef | undefined;
30
- /** Finds a WidgetDef with a given Id.
31
- * @param id Id of the WidgetDef to find
32
- * @returns The WidgetDef if found; otherwise, undefined is returned.
33
- */
34
- findWidgetDef(id: string): WidgetDef | undefined;
35
- /** Updates the WidgetHost with dynamic widgets
36
- * @internal
37
- */
38
- updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined, allStageWidgetDefs: WidgetDef[]): void;
39
- /** Sorts all widgets */
40
- private sortWidgetDefs;
41
- }
1
+ /** @packageDocumentation
2
+ * @module Widget
3
+ */
4
+ import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
5
+ import { StagePanelSection } from "../stagepanels/StagePanelSection";
6
+ import { WidgetDef } from "./WidgetDef";
7
+ /**
8
+ * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
9
+ * @public
10
+ */
11
+ export declare class WidgetHost {
12
+ private _widgetDefs;
13
+ private _dynamicWidgetDefs;
14
+ private _sortedWidgetDefs;
15
+ /** Constructor for WidgetHost.
16
+ */
17
+ constructor();
18
+ /** Adds a WidgetDef to the list of Widgets.
19
+ * @param widgetDef Definition of the Widget to add
20
+ */
21
+ addWidgetDef(widgetDef: WidgetDef): void;
22
+ /** Gets the list of Widgets. */
23
+ get widgetDefs(): ReadonlyArray<WidgetDef>;
24
+ /** Gets the number of Widgets. */
25
+ get widgetCount(): number;
26
+ /** If there is only one Widget in the Panel, gets the single WidgetDef.
27
+ * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
28
+ */
29
+ getSingleWidgetDef(): WidgetDef | undefined;
30
+ /** Finds a WidgetDef with a given Id.
31
+ * @param id Id of the WidgetDef to find
32
+ * @returns The WidgetDef if found; otherwise, undefined is returned.
33
+ */
34
+ findWidgetDef(id: string): WidgetDef | undefined;
35
+ /** Updates the WidgetHost with dynamic widgets
36
+ * @internal
37
+ */
38
+ updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined, allStageWidgetDefs: WidgetDef[]): void;
39
+ /** Sorts all widgets */
40
+ private sortWidgetDefs;
41
+ }
42
42
  //# sourceMappingURL=WidgetHost.d.ts.map
@@ -1,91 +1,90 @@
1
- "use strict";
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
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Widget
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.WidgetHost = void 0;
11
- const UiFramework_1 = require("../UiFramework");
12
- /**
13
- * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
14
- * @public
15
- */
16
- class WidgetHost {
17
- /** Constructor for WidgetHost.
18
- */
19
- constructor() {
20
- this._widgetDefs = new Array();
21
- this._sortedWidgetDefs = [];
22
- }
23
- /** Adds a WidgetDef to the list of Widgets.
24
- * @param widgetDef Definition of the Widget to add
25
- */
26
- addWidgetDef(widgetDef) {
27
- this._widgetDefs.push(widgetDef);
28
- this.sortWidgetDefs();
29
- }
30
- /** Gets the list of Widgets. */
31
- get widgetDefs() {
32
- return this._sortedWidgetDefs;
33
- }
34
- /** Gets the number of Widgets. */
35
- get widgetCount() {
36
- return this.widgetDefs.length;
37
- }
38
- /** If there is only one Widget in the Panel, gets the single WidgetDef.
39
- * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
40
- */
41
- getSingleWidgetDef() {
42
- if (this.widgetCount === 1) {
43
- return this.widgetDefs[0];
44
- }
45
- return undefined;
46
- }
47
- /** Finds a WidgetDef with a given Id.
48
- * @param id Id of the WidgetDef to find
49
- * @returns The WidgetDef if found; otherwise, undefined is returned.
50
- */
51
- findWidgetDef(id) {
52
- return this.widgetDefs.find((widgetDef) => widgetDef.id === id);
53
- }
54
- /** Updates the WidgetHost with dynamic widgets
55
- * @internal
56
- */
57
- updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
58
- var _a;
59
- // get widgetDefs not already in allStageWidgetDefs and add them
60
- const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {
61
- return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
62
- });
63
- allStageWidgetDefs.push(...uniqueWidgets);
64
- let dynamicWidgetDefs;
65
- if (section !== undefined) {
66
- dynamicWidgetDefs = (_a = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section)) !== null && _a !== void 0 ? _a : [];
67
- }
68
- const uniqueDynamicWidgetDefs = dynamicWidgetDefs === null || dynamicWidgetDefs === void 0 ? void 0 : dynamicWidgetDefs.filter((widgetDef) => {
69
- return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));
70
- });
71
- // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
72
- // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets
73
- if (uniqueDynamicWidgetDefs) {
74
- allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);
75
- this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];
76
- }
77
- this.sortWidgetDefs();
78
- }
79
- /** Sorts all widgets */
80
- sortWidgetDefs() {
81
- let sortedWidgetDefs = [];
82
- if (this._dynamicWidgetDefs)
83
- sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);
84
- else
85
- sortedWidgetDefs = this._widgetDefs.slice();
86
- sortedWidgetDefs.sort((a, b) => a.priority - b.priority);
87
- this._sortedWidgetDefs = sortedWidgetDefs;
88
- }
89
- }
90
- exports.WidgetHost = WidgetHost;
1
+ "use strict";
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
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Widget
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WidgetHost = void 0;
11
+ const UiFramework_1 = require("../UiFramework");
12
+ /**
13
+ * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.
14
+ * @public
15
+ */
16
+ class WidgetHost {
17
+ /** Constructor for WidgetHost.
18
+ */
19
+ constructor() {
20
+ this._widgetDefs = new Array();
21
+ this._sortedWidgetDefs = [];
22
+ }
23
+ /** Adds a WidgetDef to the list of Widgets.
24
+ * @param widgetDef Definition of the Widget to add
25
+ */
26
+ addWidgetDef(widgetDef) {
27
+ this._widgetDefs.push(widgetDef);
28
+ this.sortWidgetDefs();
29
+ }
30
+ /** Gets the list of Widgets. */
31
+ get widgetDefs() {
32
+ return this._sortedWidgetDefs;
33
+ }
34
+ /** Gets the number of Widgets. */
35
+ get widgetCount() {
36
+ return this.widgetDefs.length;
37
+ }
38
+ /** If there is only one Widget in the Panel, gets the single WidgetDef.
39
+ * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
40
+ */
41
+ getSingleWidgetDef() {
42
+ if (this.widgetCount === 1) {
43
+ return this.widgetDefs[0];
44
+ }
45
+ return undefined;
46
+ }
47
+ /** Finds a WidgetDef with a given Id.
48
+ * @param id Id of the WidgetDef to find
49
+ * @returns The WidgetDef if found; otherwise, undefined is returned.
50
+ */
51
+ findWidgetDef(id) {
52
+ return this.widgetDefs.find((widgetDef) => widgetDef.id === id);
53
+ }
54
+ /** Updates the WidgetHost with dynamic widgets
55
+ * @internal
56
+ */
57
+ updateDynamicWidgetDefs(stageId, stageUsage, location, section, allStageWidgetDefs) {
58
+ // get widgetDefs not already in allStageWidgetDefs and add them
59
+ const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {
60
+ return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
61
+ });
62
+ allStageWidgetDefs.push(...uniqueWidgets);
63
+ let dynamicWidgetDefs;
64
+ if (section !== undefined) {
65
+ dynamicWidgetDefs = UiFramework_1.UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];
66
+ }
67
+ const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {
68
+ return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));
69
+ });
70
+ // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
71
+ // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets
72
+ if (uniqueDynamicWidgetDefs) {
73
+ allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);
74
+ this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];
75
+ }
76
+ this.sortWidgetDefs();
77
+ }
78
+ /** Sorts all widgets */
79
+ sortWidgetDefs() {
80
+ let sortedWidgetDefs = [];
81
+ if (this._dynamicWidgetDefs)
82
+ sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);
83
+ else
84
+ sortedWidgetDefs = this._widgetDefs.slice();
85
+ sortedWidgetDefs.sort((a, b) => a.priority - b.priority);
86
+ this._sortedWidgetDefs = sortedWidgetDefs;
87
+ }
88
+ }
89
+ exports.WidgetHost = WidgetHost;
91
90
  //# sourceMappingURL=WidgetHost.js.map
@@ -1 +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AAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF;AAxFD,gCAwFC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Widget\r\n */\r\n\r\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { WidgetDef } from \"./WidgetDef\";\r\n\r\n/**\r\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\r\n * @public\r\n */\r\nexport class WidgetHost {\r\n\r\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\r\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\r\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\r\n\r\n /** Constructor for WidgetHost.\r\n */\r\n constructor() { }\r\n\r\n /** Adds a WidgetDef to the list of Widgets.\r\n * @param widgetDef Definition of the Widget to add\r\n */\r\n public addWidgetDef(widgetDef: WidgetDef) {\r\n this._widgetDefs.push(widgetDef);\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n return this._sortedWidgetDefs;\r\n }\r\n\r\n /** Gets the number of Widgets. */\r\n public get widgetCount(): number {\r\n return this.widgetDefs.length;\r\n }\r\n\r\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\r\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\r\n */\r\n public getSingleWidgetDef(): WidgetDef | undefined {\r\n if (this.widgetCount === 1) {\r\n return this.widgetDefs[0];\r\n }\r\n return undefined;\r\n }\r\n\r\n /** Finds a WidgetDef with a given Id.\r\n * @param id Id of the WidgetDef to find\r\n * @returns The WidgetDef if found; otherwise, undefined is returned.\r\n */\r\n public findWidgetDef(id: string): WidgetDef | undefined {\r\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\r\n }\r\n\r\n /** Updates the WidgetHost with dynamic widgets\r\n * @internal\r\n */\r\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[]): void {\r\n // get widgetDefs not already in allStageWidgetDefs and add them\r\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\r\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\r\n });\r\n\r\n allStageWidgetDefs.push(...uniqueWidgets);\r\n\r\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\r\n if (section !== undefined) {\r\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\r\n }\r\n\r\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\r\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\r\n });\r\n\r\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\r\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\r\n if (uniqueDynamicWidgetDefs) {\r\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\r\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\r\n }\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Sorts all widgets */\r\n private sortWidgetDefs(): void {\r\n let sortedWidgetDefs = [];\r\n if (this._dynamicWidgetDefs)\r\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\r\n else\r\n sortedWidgetDefs = this._widgetDefs.slice();\r\n\r\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\r\n\r\n this._sortedWidgetDefs = sortedWidgetDefs;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources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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 { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\r\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { WidgetDef } from \"./WidgetDef\";\r\n\r\n/**\r\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\r\n * @public\r\n */\r\nexport class WidgetHost {\r\n\r\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\r\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\r\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\r\n\r\n /** Constructor for WidgetHost.\r\n */\r\n constructor() { }\r\n\r\n /** Adds a WidgetDef to the list of Widgets.\r\n * @param widgetDef Definition of the Widget to add\r\n */\r\n public addWidgetDef(widgetDef: WidgetDef) {\r\n this._widgetDefs.push(widgetDef);\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Gets the list of Widgets. */\r\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\r\n return this._sortedWidgetDefs;\r\n }\r\n\r\n /** Gets the number of Widgets. */\r\n public get widgetCount(): number {\r\n return this.widgetDefs.length;\r\n }\r\n\r\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\r\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\r\n */\r\n public getSingleWidgetDef(): WidgetDef | undefined {\r\n if (this.widgetCount === 1) {\r\n return this.widgetDefs[0];\r\n }\r\n return undefined;\r\n }\r\n\r\n /** Finds a WidgetDef with a given Id.\r\n * @param id Id of the WidgetDef to find\r\n * @returns The WidgetDef if found; otherwise, undefined is returned.\r\n */\r\n public findWidgetDef(id: string): WidgetDef | undefined {\r\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\r\n }\r\n\r\n /** Updates the WidgetHost with dynamic widgets\r\n * @internal\r\n */\r\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\r\n allStageWidgetDefs: WidgetDef[]): void {\r\n // get widgetDefs not already in allStageWidgetDefs and add them\r\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\r\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\r\n });\r\n\r\n allStageWidgetDefs.push(...uniqueWidgets);\r\n\r\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\r\n if (section !== undefined) {\r\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\r\n }\r\n\r\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\r\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\r\n });\r\n\r\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\r\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\r\n if (uniqueDynamicWidgetDefs) {\r\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\r\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\r\n }\r\n this.sortWidgetDefs();\r\n }\r\n\r\n /** Sorts all widgets */\r\n private sortWidgetDefs(): void {\r\n let sortedWidgetDefs = [];\r\n if (this._dynamicWidgetDefs)\r\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\r\n else\r\n sortedWidgetDefs = this._widgetDefs.slice();\r\n\r\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\r\n\r\n this._sortedWidgetDefs = sortedWidgetDefs;\r\n }\r\n}\r\n"]}
@@ -1,56 +1,56 @@
1
- /** @packageDocumentation
2
- * @module Widget
3
- */
4
- import { BeUiEvent } from "@itwin/core-bentley";
5
- import { WidgetDef } from "./WidgetDef";
6
- import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
7
- import { StagePanelSection } from "../stagepanels/StagePanelSection";
8
- /** Information about WidgetDefs in the WidgetManager
9
- * @internal
10
- */
11
- export interface WidgetInfo {
12
- widgetDef: WidgetDef;
13
- stageId?: string;
14
- stageUsage?: string;
15
- location: StagePanelLocation;
16
- section: StagePanelSection;
17
- }
18
- /** Arguments of [[this.onWidgetsChanged]] event.
19
- * @internal
20
- */
21
- export interface WidgetsChangedEventArgs {
22
- readonly items: ReadonlyArray<WidgetInfo>;
23
- }
24
- /** Event class for [[this.onWidgetsChanged]].
25
- * @internal
26
- */
27
- export declare class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> {
28
- }
29
- /** Widget Manager class.
30
- * @beta
31
- */
32
- export declare class WidgetManager {
33
- private _widgets;
34
- /** Event raised when Widgets are changed.
35
- * @internal
36
- */
37
- readonly onWidgetsChanged: WidgetsChangedEvent;
38
- /** @internal */
39
- get widgetCount(): number;
40
- /** @internal */
41
- get widgets(): ReadonlyArray<WidgetInfo>;
42
- set widgets(w: ReadonlyArray<WidgetInfo>);
43
- /** Adds a WidgetDef for use in a Frontstage.
44
- * @note Added `widgetDef` must return unique id to correctly save/restore App layout.
45
- * Semi-stable id is generated when auto-generated `widgetDef` id is detected,
46
- * but correctness of such id depends on `addWidgetDef` call order and widget location.
47
- */
48
- addWidgetDef(widgetDef: WidgetDef, stageId: string | undefined, stageUsage: string | undefined, location: StagePanelLocation, section?: StagePanelSection): boolean;
49
- /** Removes a WidgetDef.
50
- */
51
- removeWidgetDef(widgetId: string): boolean;
52
- /** Gets WidgetDefs for a Frontstage location.
53
- */
54
- getWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<WidgetDef> | undefined;
55
- }
1
+ /** @packageDocumentation
2
+ * @module Widget
3
+ */
4
+ import { BeUiEvent } from "@itwin/core-bentley";
5
+ import { WidgetDef } from "./WidgetDef";
6
+ import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
7
+ import { StagePanelSection } from "../stagepanels/StagePanelSection";
8
+ /** Information about WidgetDefs in the WidgetManager
9
+ * @internal
10
+ */
11
+ export interface WidgetInfo {
12
+ widgetDef: WidgetDef;
13
+ stageId?: string;
14
+ stageUsage?: string;
15
+ location: StagePanelLocation;
16
+ section: StagePanelSection;
17
+ }
18
+ /** Arguments of [[this.onWidgetsChanged]] event.
19
+ * @internal
20
+ */
21
+ export interface WidgetsChangedEventArgs {
22
+ readonly items: ReadonlyArray<WidgetInfo>;
23
+ }
24
+ /** Event class for [[this.onWidgetsChanged]].
25
+ * @internal
26
+ */
27
+ export declare class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> {
28
+ }
29
+ /** Widget Manager class.
30
+ * @beta
31
+ */
32
+ export declare class WidgetManager {
33
+ private _widgets;
34
+ /** Event raised when Widgets are changed.
35
+ * @internal
36
+ */
37
+ readonly onWidgetsChanged: WidgetsChangedEvent;
38
+ /** @internal */
39
+ get widgetCount(): number;
40
+ /** @internal */
41
+ get widgets(): ReadonlyArray<WidgetInfo>;
42
+ set widgets(w: ReadonlyArray<WidgetInfo>);
43
+ /** Adds a WidgetDef for use in a Frontstage.
44
+ * @note Added `widgetDef` must return unique id to correctly save/restore App layout.
45
+ * Semi-stable id is generated when auto-generated `widgetDef` id is detected,
46
+ * but correctness of such id depends on `addWidgetDef` call order and widget location.
47
+ */
48
+ addWidgetDef(widgetDef: WidgetDef, stageId: string | undefined, stageUsage: string | undefined, location: StagePanelLocation, section?: StagePanelSection): boolean;
49
+ /** Removes a WidgetDef.
50
+ */
51
+ removeWidgetDef(widgetId: string): boolean;
52
+ /** Gets WidgetDefs for a Frontstage location.
53
+ */
54
+ getWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<WidgetDef> | undefined;
55
+ }
56
56
  //# sourceMappingURL=WidgetManager.d.ts.map