@itwin/appui-react 4.0.0-dev.1 → 4.0.0-dev.3

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 (1397) hide show
  1. package/CHANGELOG.md +1 -119
  2. package/lib/cjs/appui-react/UiFramework.d.ts +2 -33
  3. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/cjs/appui-react/UiFramework.js +5 -30
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/_variables.scss +2 -2
  7. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
  8. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +9 -4
  9. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  10. package/lib/cjs/appui-react/backstage/BackstageComposer.js +2 -2
  11. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  12. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +3 -3
  13. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  14. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  15. package/lib/cjs/appui-react/backstage/BackstageManager.js +0 -2
  16. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  17. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  18. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  19. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +1 -3
  20. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  21. package/lib/cjs/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
  22. package/lib/cjs/appui-react/childwindow/ChildWindowManager.js +6 -9
  23. package/lib/cjs/appui-react/childwindow/ChildWindowManager.js.map +1 -1
  24. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  25. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +1 -4
  26. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  27. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
  28. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
  29. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js +2 -28
  30. package/lib/cjs/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
  31. package/lib/cjs/appui-react/configurableui/configurableui.scss +5 -7
  32. package/lib/cjs/appui-react/configurableui/state.d.ts +0 -7
  33. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  34. package/lib/cjs/appui-react/configurableui/state.js +0 -9
  35. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  36. package/lib/cjs/appui-react/content/ContentGroup.d.ts +2 -9
  37. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  38. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  39. package/lib/cjs/appui-react/content/ContentLayout.d.ts +0 -4
  40. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  41. package/lib/cjs/appui-react/content/ContentLayout.js +2 -2
  42. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  43. package/lib/cjs/appui-react/content/DefaultViewOverlay.scss +4 -5
  44. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
  45. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  46. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +2 -0
  47. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  48. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  49. package/lib/cjs/appui-react/feedback/ElementTooltip.js +1 -2
  50. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  51. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +2 -0
  52. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  53. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  54. package/lib/cjs/appui-react/feedback/ValidationTextbox.scss +4 -4
  55. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
  56. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  57. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +19 -74
  58. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  59. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +91 -305
  60. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  61. package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts +4 -10
  62. package/lib/cjs/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
  63. package/lib/cjs/appui-react/frontstage/FrontstageManager.js +21 -47
  64. package/lib/cjs/appui-react/frontstage/FrontstageManager.js.map +1 -1
  65. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
  66. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  67. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  68. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
  69. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  70. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +2 -1
  71. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  72. package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +1 -4
  73. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  74. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +2 -4
  75. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  76. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -15
  77. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  78. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
  79. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  80. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +4 -4
  81. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  82. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts +1 -36
  83. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  84. package/lib/cjs/appui-react/messages/ActivityMessage.js +25 -38
  85. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  86. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  87. package/lib/cjs/appui-react/messages/MessageManager.js +2 -3
  88. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  89. package/lib/cjs/appui-react/messages/Pointer.js +1 -2
  90. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  91. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  92. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
  93. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  94. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  95. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
  96. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  97. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  98. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +1 -0
  99. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  100. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
  101. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  102. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +6 -7
  103. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  104. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -35
  105. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  106. package/lib/cjs/appui-react/pickers/ListPicker.js +9 -143
  107. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  108. package/lib/cjs/appui-react/pickers/ListPicker.scss +15 -17
  109. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  110. package/lib/cjs/appui-react/pickers/ViewSelector.js +0 -1
  111. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  112. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -0
  113. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  114. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  115. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +1 -1
  116. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +3 -65
  117. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  118. package/lib/cjs/appui-react/safearea/SafeAreaContext.js +3 -20
  119. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  120. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
  121. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
  122. package/lib/cjs/appui-react/{widgets/WidgetProps.js → safearea/SafeAreaHelpers.js} +8 -2
  123. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
  124. package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
  125. package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  126. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +9 -3
  127. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  128. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  129. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +0 -12
  130. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  131. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
  132. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
  133. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  134. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +26 -26
  135. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  136. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.scss +8 -9
  137. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
  138. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  139. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +0 -19
  140. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  141. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +0 -2
  142. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  143. package/lib/cjs/appui-react/shared/CustomItemDef.js +0 -18
  144. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  145. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +0 -1
  146. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  147. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  148. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +0 -3
  149. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  150. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  151. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +0 -8
  152. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  153. package/lib/cjs/appui-react/shared/ItemDefBase.js +2 -16
  154. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  155. package/lib/cjs/appui-react/shared/ItemProps.d.ts +0 -17
  156. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  158. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
  159. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  160. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +0 -1
  161. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  162. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +10 -30
  163. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  164. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +53 -112
  165. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  166. package/lib/cjs/appui-react/statusbar/Indicator.js +2 -4
  167. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  168. package/lib/cjs/appui-react/statusbar/LabelIndicator.js +1 -2
  169. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  170. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
  171. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  172. package/lib/cjs/appui-react/statusbar/Overflow.js +2 -3
  173. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  174. package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -0
  175. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  176. package/lib/cjs/appui-react/statusbar/Separator.js +4 -3
  177. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  178. package/lib/cjs/appui-react/statusbar/Separator.scss +14 -0
  179. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +1 -17
  180. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  181. package/lib/cjs/appui-react/statusbar/StatusBar.js +6 -55
  182. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  183. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +12 -17
  185. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  186. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +2 -52
  187. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  188. package/lib/cjs/appui-react/statusbar/StatusBarItem.js +2 -33
  189. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  190. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +4 -23
  191. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  192. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +1 -31
  193. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  194. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
  195. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  196. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  197. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +1 -1
  198. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  199. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +1 -1
  200. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  201. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  202. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  203. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +1 -2
  204. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  205. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +3 -21
  206. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  207. package/lib/cjs/appui-react/statusfields/ActivityCenter.js +39 -47
  208. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  209. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +5 -16
  210. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  211. package/lib/cjs/appui-react/statusfields/MessageCenter.js +10 -38
  212. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  213. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +2 -2
  214. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/statusfields/SectionsField.js +10 -13
  216. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  217. package/lib/cjs/appui-react/statusfields/SectionsField.scss +5 -6
  218. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +2 -2
  219. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  220. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +1 -5
  221. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  222. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
  223. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  224. package/lib/cjs/appui-react/statusfields/SelectionScope.js +4 -9
  225. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  226. package/lib/cjs/appui-react/statusfields/SelectionScope.scss +5 -7
  227. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -2
  228. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/statusfields/SnapMode.js +2 -3
  230. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  231. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +3 -4
  232. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  233. package/lib/cjs/appui-react/statusfields/ViewAttributes.js +2 -10
  234. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  235. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
  236. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  237. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
  238. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  239. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
  240. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
  241. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  242. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +22 -38
  243. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  244. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
  245. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +4 -27
  246. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  247. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +4 -38
  248. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  249. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +2 -93
  250. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  251. package/lib/cjs/appui-react/toolbar/GroupItem.js +2 -393
  252. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  253. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +3 -27
  255. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  256. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
  257. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  258. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +2 -16
  259. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  260. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +1 -3
  262. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  263. package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
  264. package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  265. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +1 -43
  266. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  267. package/lib/cjs/appui-react/tools/ToolSettingsTools.js +1 -1
  268. package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
  269. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +1 -1
  270. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
  271. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +5 -6
  272. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
  273. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
  274. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
  275. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +3 -3
  276. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -0
  277. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.d.ts +0 -0
  278. package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
  279. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +1 -1
  280. package/lib/cjs/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
  281. package/lib/{esm/appui-react/zones → cjs/appui-react}/toolsettings/ToolUiProvider.d.ts +2 -2
  282. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
  283. package/lib/cjs/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
  284. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
  285. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  286. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
  287. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  288. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
  289. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  290. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
  291. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  292. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  293. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +0 -1
  294. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  295. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +2 -2
  296. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  297. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  298. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -21
  299. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  300. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
  301. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  302. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
  303. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  304. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  305. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
  306. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  307. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
  308. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +1 -5
  309. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  310. package/lib/cjs/appui-react/uistate/AppUiSettings.js +0 -6
  311. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  312. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  313. package/lib/cjs/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
  314. package/lib/cjs/appui-react/utils/UiShowHideManager.js +7 -8
  315. package/lib/cjs/appui-react/utils/UiShowHideManager.js.map +1 -1
  316. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  317. package/lib/cjs/appui-react/widget-panels/Content.js +6 -4
  318. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  319. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +20 -19
  320. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/widget-panels/Frontstage.js +108 -217
  322. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  323. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  324. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +3 -3
  325. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  326. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  327. package/lib/cjs/appui-react/widget-panels/StatusBar.js +6 -9
  328. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  329. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +7 -7
  330. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  331. package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +3 -2
  332. package/lib/cjs/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
  333. package/lib/cjs/appui-react/widget-panels/Toolbars.js +5 -12
  334. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  335. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  336. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +6 -8
  337. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  338. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  339. package/lib/cjs/appui-react/widgets/BackstageAppButton.js +3 -5
  340. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  341. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  342. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  343. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  344. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +1 -2
  346. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  347. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  348. package/lib/cjs/appui-react/widgets/StableWidgetDef.js +1 -1
  349. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  350. package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
  351. package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  352. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +1 -40
  353. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  354. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  355. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +19 -4
  356. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  357. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  358. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  359. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +11 -70
  360. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/widgets/WidgetDef.js +59 -117
  362. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  363. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +1 -2
  364. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  365. package/lib/cjs/appui-react/widgets/WidgetHost.js +4 -94
  366. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  367. package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +3 -5
  368. package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  369. package/lib/cjs/appui-react/widgets/WidgetManager.js +17 -54
  370. package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
  371. package/lib/cjs/appui-react.d.ts +9 -84
  372. package/lib/cjs/appui-react.d.ts.map +1 -1
  373. package/lib/cjs/appui-react.js +9 -84
  374. package/lib/cjs/appui-react.js.map +1 -1
  375. package/lib/esm/appui-react/UiFramework.d.ts +2 -33
  376. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  377. package/lib/esm/appui-react/UiFramework.js +4 -28
  378. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  379. package/lib/esm/appui-react/_variables.scss +2 -2
  380. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.scss +2 -3
  381. package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +9 -4
  382. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  383. package/lib/esm/appui-react/backstage/BackstageComposer.js +2 -2
  384. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  385. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -2
  386. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  387. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  388. package/lib/esm/appui-react/backstage/BackstageManager.js +0 -2
  389. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  390. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  391. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  392. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +1 -3
  393. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  394. package/lib/esm/appui-react/childwindow/ChildWindowManager.d.ts.map +1 -1
  395. package/lib/esm/appui-react/childwindow/ChildWindowManager.js +6 -9
  396. package/lib/esm/appui-react/childwindow/ChildWindowManager.js.map +1 -1
  397. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  398. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +1 -4
  399. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  400. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts +1 -21
  401. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.d.ts.map +1 -1
  402. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js +2 -28
  403. package/lib/esm/appui-react/configurableui/ConfigurableUiManager.js.map +1 -1
  404. package/lib/esm/appui-react/configurableui/configurableui.scss +5 -7
  405. package/lib/esm/appui-react/configurableui/state.d.ts +0 -7
  406. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  407. package/lib/esm/appui-react/configurableui/state.js +0 -9
  408. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  409. package/lib/esm/appui-react/content/ContentGroup.d.ts +2 -9
  410. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  411. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  412. package/lib/esm/appui-react/content/ContentLayout.d.ts +0 -4
  413. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  414. package/lib/esm/appui-react/content/ContentLayout.js +1 -1
  415. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  416. package/lib/esm/appui-react/content/DefaultViewOverlay.scss +4 -5
  417. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +2 -2
  418. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  419. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +2 -0
  420. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  421. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  422. package/lib/esm/appui-react/feedback/ElementTooltip.js +1 -2
  423. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  424. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +2 -0
  425. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  426. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  427. package/lib/esm/appui-react/feedback/ValidationTextbox.scss +4 -4
  428. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +1 -1
  429. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  430. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +19 -74
  431. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  432. package/lib/esm/appui-react/frontstage/FrontstageDef.js +85 -302
  433. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  434. package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts +4 -10
  435. package/lib/esm/appui-react/frontstage/FrontstageManager.d.ts.map +1 -1
  436. package/lib/esm/appui-react/frontstage/FrontstageManager.js +5 -31
  437. package/lib/esm/appui-react/frontstage/FrontstageManager.js.map +1 -1
  438. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +3 -11
  439. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  440. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  441. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +2 -0
  442. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  443. package/lib/esm/appui-react/frontstage/ModalFrontstage.js +2 -1
  444. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  445. package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +1 -4
  446. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  447. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +2 -4
  448. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  449. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -15
  450. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  451. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +44 -27
  452. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  453. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +4 -4
  454. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  455. package/lib/esm/appui-react/messages/ActivityMessage.d.ts +1 -36
  456. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  457. package/lib/esm/appui-react/messages/ActivityMessage.js +24 -34
  458. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  459. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  460. package/lib/esm/appui-react/messages/MessageManager.js +2 -3
  461. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  462. package/lib/esm/appui-react/messages/Pointer.js +1 -2
  463. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  464. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  465. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +1 -0
  466. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  467. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  468. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +1 -0
  469. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  470. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  471. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +1 -0
  472. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  473. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.scss +13 -9
  474. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  475. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +8 -9
  476. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  477. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -35
  478. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  479. package/lib/esm/appui-react/pickers/ListPicker.js +9 -142
  480. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  481. package/lib/esm/appui-react/pickers/ListPicker.scss +15 -17
  482. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  483. package/lib/esm/appui-react/pickers/ViewSelector.js +0 -1
  484. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  485. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -0
  486. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  487. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  488. package/lib/esm/appui-react/redux/FrameworkState.d.ts +1 -1
  489. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +3 -65
  490. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  491. package/lib/esm/appui-react/safearea/SafeAreaContext.js +2 -18
  492. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  493. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +8 -0
  494. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -0
  495. package/lib/{cjs/appui-react/ui-items-provider/ProviderItem.js → esm/appui-react/safearea/SafeAreaHelpers.js} +6 -4
  496. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -0
  497. package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts +8 -7
  498. package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  499. package/lib/esm/appui-react/safearea/SafeAreaInsets.js +9 -3
  500. package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  501. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  502. package/lib/esm/appui-react/selection/SelectionContextItemDef.js +0 -12
  503. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  504. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.scss +6 -13
  505. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +0 -12
  506. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  507. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +26 -26
  508. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  509. package/lib/esm/appui-react/settings/ui/UiSettingsPage.scss +8 -9
  510. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +0 -7
  511. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  512. package/lib/esm/appui-react/shared/ActionButtonItemDef.js +0 -19
  513. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  514. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +0 -2
  515. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  516. package/lib/esm/appui-react/shared/CustomItemDef.js +0 -18
  517. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  518. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +0 -1
  519. package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  520. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  521. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +0 -3
  522. package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  523. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  524. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +0 -8
  525. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  526. package/lib/esm/appui-react/shared/ItemDefBase.js +2 -16
  527. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  528. package/lib/esm/appui-react/shared/ItemProps.d.ts +0 -17
  529. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  530. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  531. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +10 -4
  532. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  533. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +0 -1
  534. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  535. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +10 -30
  536. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  537. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +50 -108
  538. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  539. package/lib/esm/appui-react/statusbar/Indicator.js +2 -4
  540. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  541. package/lib/esm/appui-react/statusbar/LabelIndicator.js +1 -2
  542. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  543. package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
  544. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  545. package/lib/esm/appui-react/statusbar/Overflow.js +2 -3
  546. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  547. package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -0
  548. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  549. package/lib/esm/appui-react/statusbar/Separator.js +4 -3
  550. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  551. package/lib/esm/appui-react/statusbar/Separator.scss +14 -0
  552. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +1 -17
  553. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  554. package/lib/esm/appui-react/statusbar/StatusBar.js +6 -55
  555. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  556. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  557. package/lib/esm/appui-react/statusbar/StatusBarComposer.js +16 -21
  558. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  559. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +2 -52
  560. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  561. package/lib/esm/appui-react/statusbar/StatusBarItem.js +1 -29
  562. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  563. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +4 -23
  564. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  565. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +1 -31
  566. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  567. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +1 -20
  568. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  569. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  570. package/lib/esm/appui-react/statusbar/dialog/Dialog.js +1 -1
  571. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  572. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +1 -1
  573. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  574. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  575. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  576. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +1 -2
  577. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  578. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +3 -21
  579. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  580. package/lib/esm/appui-react/statusfields/ActivityCenter.js +39 -47
  581. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  582. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +5 -16
  583. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  584. package/lib/esm/appui-react/statusfields/MessageCenter.js +10 -38
  585. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  586. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +2 -2
  587. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  588. package/lib/esm/appui-react/statusfields/SectionsField.js +10 -13
  589. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  590. package/lib/esm/appui-react/statusfields/SectionsField.scss +5 -6
  591. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +2 -2
  592. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  593. package/lib/esm/appui-react/statusfields/SelectionInfo.js +1 -5
  594. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  595. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
  596. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  597. package/lib/esm/appui-react/statusfields/SelectionScope.js +4 -9
  598. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  599. package/lib/esm/appui-react/statusfields/SelectionScope.scss +5 -7
  600. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -2
  601. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  602. package/lib/esm/appui-react/statusfields/SnapMode.js +2 -3
  603. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  604. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +3 -4
  605. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  606. package/lib/esm/appui-react/statusfields/ViewAttributes.js +2 -10
  607. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  608. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +3 -3
  609. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  610. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -4
  611. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  612. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.scss +9 -22
  613. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +5 -6
  614. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  615. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +23 -39
  616. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  617. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.scss +10 -22
  618. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +4 -27
  619. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  620. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +4 -38
  621. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  622. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +2 -93
  623. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  624. package/lib/esm/appui-react/toolbar/GroupItem.js +1 -388
  625. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  626. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  627. package/lib/esm/appui-react/toolbar/ToolbarComposer.js +2 -26
  628. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  629. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +1 -2
  630. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  631. package/lib/esm/appui-react/toolbar/ToolbarHelper.js +2 -16
  632. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  633. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  634. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +1 -3
  635. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  636. package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts +0 -7
  637. package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  638. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +2 -44
  639. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  640. package/lib/esm/appui-react/tools/ToolSettingsTools.js +1 -1
  641. package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
  642. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.d.ts +1 -1
  643. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -0
  644. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/DefaultToolSettingsProvider.js +5 -6
  645. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -0
  646. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.d.ts +0 -0
  647. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -0
  648. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolInformation.js +3 -3
  649. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -0
  650. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.d.ts +0 -0
  651. package/lib/esm/appui-react/toolsettings/ToolSettingsManager.d.ts.map +1 -0
  652. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolSettingsManager.js +1 -1
  653. package/lib/esm/appui-react/toolsettings/ToolSettingsManager.js.map +1 -0
  654. package/lib/{cjs/appui-react/zones → esm/appui-react}/toolsettings/ToolUiProvider.d.ts +2 -2
  655. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -0
  656. package/lib/esm/appui-react/{zones/toolsettings → toolsettings}/ToolUiProvider.js +1 -1
  657. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -0
  658. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  659. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +1 -4
  660. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  661. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +0 -1
  662. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  663. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +1 -11
  664. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  665. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  666. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +0 -1
  667. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  668. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +2 -2
  669. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  670. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  671. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +6 -21
  672. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  673. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +1 -0
  674. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  675. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +6 -20
  676. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  677. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  678. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -3
  679. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  680. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +0 -3
  681. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +1 -5
  682. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  683. package/lib/esm/appui-react/uistate/AppUiSettings.js +0 -6
  684. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  685. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  686. package/lib/esm/appui-react/utils/UiShowHideManager.d.ts.map +1 -1
  687. package/lib/esm/appui-react/utils/UiShowHideManager.js +7 -8
  688. package/lib/esm/appui-react/utils/UiShowHideManager.js.map +1 -1
  689. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  690. package/lib/esm/appui-react/widget-panels/Content.js +5 -3
  691. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  692. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +20 -19
  693. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  694. package/lib/esm/appui-react/widget-panels/Frontstage.js +106 -216
  695. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  696. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  697. package/lib/esm/appui-react/widget-panels/FrontstageContent.js +2 -2
  698. package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  699. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  700. package/lib/esm/appui-react/widget-panels/StatusBar.js +5 -8
  701. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  702. package/lib/esm/appui-react/widget-panels/ToolSettings.js +7 -7
  703. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  704. package/lib/esm/appui-react/widget-panels/ToolSettings.scss +3 -2
  705. package/lib/esm/appui-react/widget-panels/Toolbars.d.ts.map +1 -1
  706. package/lib/esm/appui-react/widget-panels/Toolbars.js +4 -11
  707. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  708. package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  709. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +7 -9
  710. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  711. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  712. package/lib/esm/appui-react/widgets/BackstageAppButton.js +3 -5
  713. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  714. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  715. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  716. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  717. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  718. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +1 -2
  719. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  720. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  721. package/lib/esm/appui-react/widgets/StableWidgetDef.js +1 -1
  722. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  723. package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts +0 -19
  724. package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  725. package/lib/esm/appui-react/widgets/ToolSettingsContent.js +0 -38
  726. package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  727. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  728. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +19 -4
  729. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  730. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  731. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  732. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +11 -70
  733. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  734. package/lib/esm/appui-react/widgets/WidgetDef.js +59 -117
  735. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  736. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +1 -2
  737. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  738. package/lib/esm/appui-react/widgets/WidgetHost.js +4 -94
  739. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  740. package/lib/esm/appui-react/widgets/WidgetManager.d.ts +3 -5
  741. package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  742. package/lib/esm/appui-react/widgets/WidgetManager.js +18 -55
  743. package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
  744. package/lib/esm/appui-react.d.ts +9 -84
  745. package/lib/esm/appui-react.d.ts.map +1 -1
  746. package/lib/esm/appui-react.js +9 -84
  747. package/lib/esm/appui-react.js.map +1 -1
  748. package/lib/public/locales/en/UiFramework.json +0 -2
  749. package/package.json +45 -55
  750. package/lib/cjs/appui-react/backstage/Backstage.d.ts +0 -62
  751. package/lib/cjs/appui-react/backstage/Backstage.d.ts.map +0 -1
  752. package/lib/cjs/appui-react/backstage/Backstage.js +0 -89
  753. package/lib/cjs/appui-react/backstage/Backstage.js.map +0 -1
  754. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +0 -43
  755. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +0 -1
  756. package/lib/cjs/appui-react/backstage/BackstageItem.js +0 -37
  757. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +0 -1
  758. package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts +0 -49
  759. package/lib/cjs/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
  760. package/lib/cjs/appui-react/backstage/BackstageItemProps.js +0 -22
  761. package/lib/cjs/appui-react/backstage/BackstageItemProps.js.map +0 -1
  762. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +0 -19
  763. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +0 -1
  764. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +0 -59
  765. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +0 -1
  766. package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts +0 -32
  767. package/lib/cjs/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
  768. package/lib/cjs/appui-react/backstage/CommandLaunch.js +0 -87
  769. package/lib/cjs/appui-react/backstage/CommandLaunch.js.map +0 -1
  770. package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
  771. package/lib/cjs/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
  772. package/lib/cjs/appui-react/backstage/FrontstageLaunch.js +0 -93
  773. package/lib/cjs/appui-react/backstage/FrontstageLaunch.js.map +0 -1
  774. package/lib/cjs/appui-react/backstage/Separator.d.ts +0 -16
  775. package/lib/cjs/appui-react/backstage/Separator.d.ts.map +0 -1
  776. package/lib/cjs/appui-react/backstage/Separator.js +0 -28
  777. package/lib/cjs/appui-react/backstage/Separator.js.map +0 -1
  778. package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts +0 -35
  779. package/lib/cjs/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
  780. package/lib/cjs/appui-react/backstage/TaskLaunch.js +0 -101
  781. package/lib/cjs/appui-react/backstage/TaskLaunch.js.map +0 -1
  782. package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
  783. package/lib/cjs/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
  784. package/lib/cjs/appui-react/dragdrop/ZoneTargets.js +0 -33
  785. package/lib/cjs/appui-react/dragdrop/ZoneTargets.js.map +0 -1
  786. package/lib/cjs/appui-react/frontstage/Frontstage.d.ts +0 -159
  787. package/lib/cjs/appui-react/frontstage/Frontstage.d.ts.map +0 -1
  788. package/lib/cjs/appui-react/frontstage/Frontstage.js +0 -470
  789. package/lib/cjs/appui-react/frontstage/Frontstage.js.map +0 -1
  790. package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
  791. package/lib/cjs/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
  792. package/lib/cjs/appui-react/frontstage/FrontstageComposer.js +0 -668
  793. package/lib/cjs/appui-react/frontstage/FrontstageComposer.js.map +0 -1
  794. package/lib/cjs/appui-react/frontstage/StageUsage.d.ts +0 -15
  795. package/lib/cjs/appui-react/frontstage/StageUsage.d.ts.map +0 -1
  796. package/lib/cjs/appui-react/frontstage/StageUsage.js +0 -17
  797. package/lib/cjs/appui-react/frontstage/StageUsage.js.map +0 -1
  798. package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
  799. package/lib/cjs/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
  800. package/lib/cjs/appui-react/hooks/useFrameworkVersion.js +0 -57
  801. package/lib/cjs/appui-react/hooks/useFrameworkVersion.js.map +0 -1
  802. package/lib/cjs/appui-react/imodel-components/Common.d.ts +0 -26
  803. package/lib/cjs/appui-react/imodel-components/Common.d.ts.map +0 -1
  804. package/lib/cjs/appui-react/imodel-components/Common.js +0 -25
  805. package/lib/cjs/appui-react/imodel-components/Common.js.map +0 -1
  806. package/lib/cjs/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
  807. package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
  808. package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
  809. package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -149
  810. package/lib/cjs/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
  811. package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
  812. package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
  813. package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -71
  814. package/lib/cjs/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
  815. package/lib/cjs/appui-react/imodel-components/category-tree/Categories.json +0 -102
  816. package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
  817. package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
  818. package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -109
  819. package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
  820. package/lib/cjs/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
  821. package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
  822. package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
  823. package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -201
  824. package/lib/cjs/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
  825. package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
  826. package/lib/cjs/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
  827. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
  828. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
  829. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js +0 -130
  830. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
  831. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
  832. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
  833. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
  834. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
  835. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -482
  836. package/lib/cjs/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
  837. package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
  838. package/lib/cjs/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
  839. package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js +0 -23
  840. package/lib/cjs/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
  841. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
  842. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
  843. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
  844. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
  845. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -44
  846. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
  847. package/lib/cjs/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +0 -9
  848. package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
  849. package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
  850. package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js +0 -239
  851. package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
  852. package/lib/cjs/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
  853. package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
  854. package/lib/cjs/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
  855. package/lib/cjs/appui-react/messages/ActivityMessagePopup.js +0 -44
  856. package/lib/cjs/appui-react/messages/ActivityMessagePopup.js.map +0 -1
  857. package/lib/cjs/appui-react/messages/ActivityMessagePopup.scss +0 -15
  858. package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
  859. package/lib/cjs/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
  860. package/lib/cjs/appui-react/messages/StatusMessageRenderer.js +0 -76
  861. package/lib/cjs/appui-react/messages/StatusMessageRenderer.js.map +0 -1
  862. package/lib/cjs/appui-react/messages/StatusMessageRenderer.scss +0 -28
  863. package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
  864. package/lib/cjs/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
  865. package/lib/cjs/appui-react/messages/StatusMessagesContainer.js +0 -68
  866. package/lib/cjs/appui-react/messages/StatusMessagesContainer.js.map +0 -1
  867. package/lib/cjs/appui-react/messages/StatusMessagesContainer.scss +0 -53
  868. package/lib/cjs/appui-react/messages/StickyMessage.d.ts +0 -23
  869. package/lib/cjs/appui-react/messages/StickyMessage.d.ts.map +0 -1
  870. package/lib/cjs/appui-react/messages/StickyMessage.js +0 -39
  871. package/lib/cjs/appui-react/messages/StickyMessage.js.map +0 -1
  872. package/lib/cjs/appui-react/messages/StickyMessage.scss +0 -22
  873. package/lib/cjs/appui-react/messages/ToastMessage.d.ts +0 -23
  874. package/lib/cjs/appui-react/messages/ToastMessage.d.ts.map +0 -1
  875. package/lib/cjs/appui-react/messages/ToastMessage.js +0 -31
  876. package/lib/cjs/appui-react/messages/ToastMessage.js.map +0 -1
  877. package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
  878. package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
  879. package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js +0 -57
  880. package/lib/cjs/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
  881. package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
  882. package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
  883. package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js +0 -122
  884. package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
  885. package/lib/cjs/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
  886. package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts +0 -142
  887. package/lib/cjs/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
  888. package/lib/cjs/appui-react/stagepanels/StagePanel.js +0 -155
  889. package/lib/cjs/appui-react/stagepanels/StagePanel.js.map +0 -1
  890. package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
  891. package/lib/cjs/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
  892. package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js +0 -46
  893. package/lib/cjs/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
  894. package/lib/cjs/appui-react/stagepanels/StagePanelHeader.scss +0 -26
  895. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts +0 -13
  896. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.d.ts.map +0 -1
  897. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +0 -16
  898. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +0 -1
  899. package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts +0 -13
  900. package/lib/cjs/appui-react/stagepanels/StagePanelSection.d.ts.map +0 -1
  901. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +0 -16
  902. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +0 -1
  903. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
  904. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
  905. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +0 -19
  906. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
  907. package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
  908. package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
  909. package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js +0 -26
  910. package/lib/cjs/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
  911. package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
  912. package/lib/cjs/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
  913. package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js +0 -27
  914. package/lib/cjs/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
  915. package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts +0 -45
  916. package/lib/cjs/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
  917. package/lib/cjs/appui-react/statusfields/ConditionalField.js +0 -57
  918. package/lib/cjs/appui-react/statusfields/ConditionalField.js.map +0 -1
  919. package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts +0 -19
  920. package/lib/cjs/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
  921. package/lib/cjs/appui-react/statusfields/FooterModeField.js +0 -28
  922. package/lib/cjs/appui-react/statusfields/FooterModeField.js.map +0 -1
  923. package/lib/cjs/appui-react/statusfields/Indicator.d.ts +0 -44
  924. package/lib/cjs/appui-react/statusfields/Indicator.d.ts.map +0 -1
  925. package/lib/cjs/appui-react/statusfields/Indicator.js +0 -46
  926. package/lib/cjs/appui-react/statusfields/Indicator.js.map +0 -1
  927. package/lib/cjs/appui-react/statusfields/Indicator.scss +0 -183
  928. package/lib/cjs/appui-react/statusfields/PromptField.d.ts +0 -31
  929. package/lib/cjs/appui-react/statusfields/PromptField.d.ts.map +0 -1
  930. package/lib/cjs/appui-react/statusfields/PromptField.js +0 -52
  931. package/lib/cjs/appui-react/statusfields/PromptField.js.map +0 -1
  932. package/lib/cjs/appui-react/statusfields/PromptField.scss +0 -42
  933. package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
  934. package/lib/cjs/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
  935. package/lib/cjs/appui-react/statusfields/StatusFieldProps.js +0 -3
  936. package/lib/cjs/appui-react/statusfields/StatusFieldProps.js.map +0 -1
  937. package/lib/cjs/appui-react/syncui/BooleanListener.d.ts +0 -44
  938. package/lib/cjs/appui-react/syncui/BooleanListener.d.ts.map +0 -1
  939. package/lib/cjs/appui-react/syncui/BooleanListener.js +0 -70
  940. package/lib/cjs/appui-react/syncui/BooleanListener.js.map +0 -1
  941. package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
  942. package/lib/cjs/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
  943. package/lib/cjs/appui-react/toolbar/ActionButtonItem.js +0 -31
  944. package/lib/cjs/appui-react/toolbar/ActionButtonItem.js.map +0 -1
  945. package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts +0 -40
  946. package/lib/cjs/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
  947. package/lib/cjs/appui-react/toolbar/ActionItemButton.js +0 -104
  948. package/lib/cjs/appui-react/toolbar/ActionItemButton.js.map +0 -1
  949. package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
  950. package/lib/cjs/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
  951. package/lib/cjs/appui-react/toolbar/GroupButtonItem.js +0 -329
  952. package/lib/cjs/appui-react/toolbar/GroupButtonItem.js.map +0 -1
  953. package/lib/cjs/appui-react/toolbar/PopupButton.d.ts +0 -58
  954. package/lib/cjs/appui-react/toolbar/PopupButton.d.ts.map +0 -1
  955. package/lib/cjs/appui-react/toolbar/PopupButton.js +0 -154
  956. package/lib/cjs/appui-react/toolbar/PopupButton.js.map +0 -1
  957. package/lib/cjs/appui-react/toolbar/PopupButton.scss +0 -9
  958. package/lib/cjs/appui-react/toolbar/ToolButton.d.ts +0 -31
  959. package/lib/cjs/appui-react/toolbar/ToolButton.d.ts.map +0 -1
  960. package/lib/cjs/appui-react/toolbar/ToolButton.js +0 -100
  961. package/lib/cjs/appui-react/toolbar/ToolButton.js.map +0 -1
  962. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +0 -55
  963. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +0 -1
  964. package/lib/cjs/appui-react/toolbar/Toolbar.js +0 -240
  965. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +0 -1
  966. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +0 -53
  967. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +0 -1
  968. package/lib/cjs/appui-react/toolbar/ToolbarItem.js +0 -41
  969. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +0 -1
  970. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +0 -14
  971. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +0 -1
  972. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +0 -28
  973. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +0 -1
  974. package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
  975. package/lib/cjs/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
  976. package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js +0 -54
  977. package/lib/cjs/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
  978. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +0 -11
  979. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +0 -1
  980. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +0 -20
  981. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +0 -1
  982. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +0 -9
  983. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts.map +0 -1
  984. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +0 -1
  985. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +0 -24
  986. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +0 -1
  987. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +0 -19
  988. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +0 -1
  989. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +0 -9
  990. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +0 -1
  991. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +0 -10
  992. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +0 -1
  993. package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
  994. package/lib/cjs/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
  995. package/lib/cjs/appui-react/uistate/UserSettingsStorage.js +0 -62
  996. package/lib/cjs/appui-react/uistate/UserSettingsStorage.js.map +0 -1
  997. package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
  998. package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
  999. package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js +0 -65
  1000. package/lib/cjs/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
  1001. package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts +0 -56
  1002. package/lib/cjs/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
  1003. package/lib/cjs/appui-react/widgets/NavigationWidget.js +0 -155
  1004. package/lib/cjs/appui-react/widgets/NavigationWidget.js.map +0 -1
  1005. package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
  1006. package/lib/cjs/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
  1007. package/lib/cjs/appui-react/widgets/ReviewToolWidget.js +0 -74
  1008. package/lib/cjs/appui-react/widgets/ReviewToolWidget.js.map +0 -1
  1009. package/lib/cjs/appui-react/widgets/ToolSettingsContent.scss +0 -61
  1010. package/lib/cjs/appui-react/widgets/ToolWidget.d.ts +0 -47
  1011. package/lib/cjs/appui-react/widgets/ToolWidget.d.ts.map +0 -1
  1012. package/lib/cjs/appui-react/widgets/ToolWidget.js +0 -90
  1013. package/lib/cjs/appui-react/widgets/ToolWidget.js.map +0 -1
  1014. package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
  1015. package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
  1016. package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js +0 -55
  1017. package/lib/cjs/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
  1018. package/lib/cjs/appui-react/widgets/Widget.d.ts +0 -15
  1019. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +0 -1
  1020. package/lib/cjs/appui-react/widgets/Widget.js +0 -26
  1021. package/lib/cjs/appui-react/widgets/Widget.js.map +0 -1
  1022. package/lib/cjs/appui-react/widgets/WidgetProps.d.ts +0 -33
  1023. package/lib/cjs/appui-react/widgets/WidgetProps.d.ts.map +0 -1
  1024. package/lib/cjs/appui-react/widgets/WidgetProps.js.map +0 -1
  1025. package/lib/cjs/appui-react/widgets/WidgetStack.d.ts +0 -135
  1026. package/lib/cjs/appui-react/widgets/WidgetStack.d.ts.map +0 -1
  1027. package/lib/cjs/appui-react/widgets/WidgetStack.js +0 -138
  1028. package/lib/cjs/appui-react/widgets/WidgetStack.js.map +0 -1
  1029. package/lib/cjs/appui-react/widgets/WidgetState.d.ts +0 -13
  1030. package/lib/cjs/appui-react/widgets/WidgetState.d.ts.map +0 -1
  1031. package/lib/cjs/appui-react/widgets/WidgetState.js +0 -16
  1032. package/lib/cjs/appui-react/widgets/WidgetState.js.map +0 -1
  1033. package/lib/cjs/appui-react/workflow/Task.d.ts +0 -48
  1034. package/lib/cjs/appui-react/workflow/Task.d.ts.map +0 -1
  1035. package/lib/cjs/appui-react/workflow/Task.js +0 -73
  1036. package/lib/cjs/appui-react/workflow/Task.js.map +0 -1
  1037. package/lib/cjs/appui-react/workflow/Workflow.d.ts +0 -153
  1038. package/lib/cjs/appui-react/workflow/Workflow.d.ts.map +0 -1
  1039. package/lib/cjs/appui-react/workflow/Workflow.js +0 -238
  1040. package/lib/cjs/appui-react/workflow/Workflow.js.map +0 -1
  1041. package/lib/cjs/appui-react/zones/FrameworkZone.d.ts +0 -44
  1042. package/lib/cjs/appui-react/zones/FrameworkZone.d.ts.map +0 -1
  1043. package/lib/cjs/appui-react/zones/FrameworkZone.js +0 -53
  1044. package/lib/cjs/appui-react/zones/FrameworkZone.js.map +0 -1
  1045. package/lib/cjs/appui-react/zones/Outline.d.ts +0 -14
  1046. package/lib/cjs/appui-react/zones/Outline.d.ts.map +0 -1
  1047. package/lib/cjs/appui-react/zones/Outline.js +0 -22
  1048. package/lib/cjs/appui-react/zones/Outline.js.map +0 -1
  1049. package/lib/cjs/appui-react/zones/StatusBarZone.d.ts +0 -28
  1050. package/lib/cjs/appui-react/zones/StatusBarZone.d.ts.map +0 -1
  1051. package/lib/cjs/appui-react/zones/StatusBarZone.js +0 -33
  1052. package/lib/cjs/appui-react/zones/StatusBarZone.js.map +0 -1
  1053. package/lib/cjs/appui-react/zones/Zone.d.ts +0 -88
  1054. package/lib/cjs/appui-react/zones/Zone.d.ts.map +0 -1
  1055. package/lib/cjs/appui-react/zones/Zone.js +0 -158
  1056. package/lib/cjs/appui-react/zones/Zone.js.map +0 -1
  1057. package/lib/cjs/appui-react/zones/ZoneDef.d.ts +0 -57
  1058. package/lib/cjs/appui-react/zones/ZoneDef.d.ts.map +0 -1
  1059. package/lib/cjs/appui-react/zones/ZoneDef.js +0 -92
  1060. package/lib/cjs/appui-react/zones/ZoneDef.js.map +0 -1
  1061. package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
  1062. package/lib/cjs/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
  1063. package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
  1064. package/lib/cjs/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
  1065. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
  1066. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
  1067. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
  1068. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
  1069. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -96
  1070. package/lib/cjs/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
  1071. package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
  1072. package/lib/cjs/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
  1073. package/lib/esm/appui-react/backstage/Backstage.d.ts +0 -62
  1074. package/lib/esm/appui-react/backstage/Backstage.d.ts.map +0 -1
  1075. package/lib/esm/appui-react/backstage/Backstage.js +0 -84
  1076. package/lib/esm/appui-react/backstage/Backstage.js.map +0 -1
  1077. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +0 -43
  1078. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +0 -1
  1079. package/lib/esm/appui-react/backstage/BackstageItem.js +0 -32
  1080. package/lib/esm/appui-react/backstage/BackstageItem.js.map +0 -1
  1081. package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts +0 -49
  1082. package/lib/esm/appui-react/backstage/BackstageItemProps.d.ts.map +0 -1
  1083. package/lib/esm/appui-react/backstage/BackstageItemProps.js +0 -18
  1084. package/lib/esm/appui-react/backstage/BackstageItemProps.js.map +0 -1
  1085. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +0 -19
  1086. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +0 -1
  1087. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +0 -55
  1088. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +0 -1
  1089. package/lib/esm/appui-react/backstage/CommandLaunch.d.ts +0 -32
  1090. package/lib/esm/appui-react/backstage/CommandLaunch.d.ts.map +0 -1
  1091. package/lib/esm/appui-react/backstage/CommandLaunch.js +0 -83
  1092. package/lib/esm/appui-react/backstage/CommandLaunch.js.map +0 -1
  1093. package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts +0 -34
  1094. package/lib/esm/appui-react/backstage/FrontstageLaunch.d.ts.map +0 -1
  1095. package/lib/esm/appui-react/backstage/FrontstageLaunch.js +0 -89
  1096. package/lib/esm/appui-react/backstage/FrontstageLaunch.js.map +0 -1
  1097. package/lib/esm/appui-react/backstage/Separator.d.ts +0 -16
  1098. package/lib/esm/appui-react/backstage/Separator.d.ts.map +0 -1
  1099. package/lib/esm/appui-react/backstage/Separator.js +0 -24
  1100. package/lib/esm/appui-react/backstage/Separator.js.map +0 -1
  1101. package/lib/esm/appui-react/backstage/TaskLaunch.d.ts +0 -35
  1102. package/lib/esm/appui-react/backstage/TaskLaunch.d.ts.map +0 -1
  1103. package/lib/esm/appui-react/backstage/TaskLaunch.js +0 -97
  1104. package/lib/esm/appui-react/backstage/TaskLaunch.js.map +0 -1
  1105. package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts +0 -22
  1106. package/lib/esm/appui-react/dragdrop/ZoneTargets.d.ts.map +0 -1
  1107. package/lib/esm/appui-react/dragdrop/ZoneTargets.js +0 -29
  1108. package/lib/esm/appui-react/dragdrop/ZoneTargets.js.map +0 -1
  1109. package/lib/esm/appui-react/frontstage/Frontstage.d.ts +0 -159
  1110. package/lib/esm/appui-react/frontstage/Frontstage.d.ts.map +0 -1
  1111. package/lib/esm/appui-react/frontstage/Frontstage.js +0 -462
  1112. package/lib/esm/appui-react/frontstage/Frontstage.js.map +0 -1
  1113. package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts +0 -147
  1114. package/lib/esm/appui-react/frontstage/FrontstageComposer.d.ts.map +0 -1
  1115. package/lib/esm/appui-react/frontstage/FrontstageComposer.js +0 -662
  1116. package/lib/esm/appui-react/frontstage/FrontstageComposer.js.map +0 -1
  1117. package/lib/esm/appui-react/frontstage/StageUsage.d.ts +0 -15
  1118. package/lib/esm/appui-react/frontstage/StageUsage.d.ts.map +0 -1
  1119. package/lib/esm/appui-react/frontstage/StageUsage.js +0 -14
  1120. package/lib/esm/appui-react/frontstage/StageUsage.js.map +0 -1
  1121. package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts +0 -38
  1122. package/lib/esm/appui-react/hooks/useFrameworkVersion.d.ts.map +0 -1
  1123. package/lib/esm/appui-react/hooks/useFrameworkVersion.js +0 -51
  1124. package/lib/esm/appui-react/hooks/useFrameworkVersion.js.map +0 -1
  1125. package/lib/esm/appui-react/imodel-components/Common.d.ts +0 -26
  1126. package/lib/esm/appui-react/imodel-components/Common.d.ts.map +0 -1
  1127. package/lib/esm/appui-react/imodel-components/Common.js +0 -22
  1128. package/lib/esm/appui-react/imodel-components/Common.js.map +0 -1
  1129. package/lib/esm/appui-react/imodel-components/VisibilityTreeBase.scss +0 -53
  1130. package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts +0 -72
  1131. package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.d.ts.map +0 -1
  1132. package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js +0 -145
  1133. package/lib/esm/appui-react/imodel-components/VisibilityTreeEventHandler.js.map +0 -1
  1134. package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts +0 -52
  1135. package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.d.ts.map +0 -1
  1136. package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js +0 -63
  1137. package/lib/esm/appui-react/imodel-components/VisibilityTreeRenderer.js.map +0 -1
  1138. package/lib/esm/appui-react/imodel-components/category-tree/Categories.json +0 -102
  1139. package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts +0 -72
  1140. package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.d.ts.map +0 -1
  1141. package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js +0 -103
  1142. package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.js.map +0 -1
  1143. package/lib/esm/appui-react/imodel-components/category-tree/CategoriesTree.scss +0 -9
  1144. package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts +0 -64
  1145. package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.d.ts.map +0 -1
  1146. package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js +0 -195
  1147. package/lib/esm/appui-react/imodel-components/category-tree/CategoryVisibilityHandler.js.map +0 -1
  1148. package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.GroupedByClass.json +0 -392
  1149. package/lib/esm/appui-react/imodel-components/models-tree/Hierarchy.json +0 -387
  1150. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts +0 -85
  1151. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.d.ts.map +0 -1
  1152. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js +0 -126
  1153. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.js.map +0 -1
  1154. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTree.scss +0 -9
  1155. package/lib/esm/appui-react/imodel-components/models-tree/ModelsTreeSearch.json +0 -239
  1156. package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts +0 -104
  1157. package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.d.ts.map +0 -1
  1158. package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js +0 -477
  1159. package/lib/esm/appui-react/imodel-components/models-tree/ModelsVisibilityHandler.js.map +0 -1
  1160. package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts +0 -10
  1161. package/lib/esm/appui-react/imodel-components/models-tree/Utils.d.ts.map +0 -1
  1162. package/lib/esm/appui-react/imodel-components/models-tree/Utils.js +0 -19
  1163. package/lib/esm/appui-react/imodel-components/models-tree/Utils.js.map +0 -1
  1164. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.GroupedByClass.json +0 -79
  1165. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialBreakdown.json +0 -79
  1166. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts +0 -36
  1167. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.d.ts.map +0 -1
  1168. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js +0 -40
  1169. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.js.map +0 -1
  1170. package/lib/esm/appui-react/imodel-components/spatial-tree/SpatialContainmentTree.scss +0 -9
  1171. package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts +0 -80
  1172. package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.d.ts.map +0 -1
  1173. package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js +0 -235
  1174. package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.js.map +0 -1
  1175. package/lib/esm/appui-react/keyinbrowser/KeyinBrowser.scss +0 -11
  1176. package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts +0 -20
  1177. package/lib/esm/appui-react/messages/ActivityMessagePopup.d.ts.map +0 -1
  1178. package/lib/esm/appui-react/messages/ActivityMessagePopup.js +0 -40
  1179. package/lib/esm/appui-react/messages/ActivityMessagePopup.js.map +0 -1
  1180. package/lib/esm/appui-react/messages/ActivityMessagePopup.scss +0 -15
  1181. package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts +0 -22
  1182. package/lib/esm/appui-react/messages/StatusMessageRenderer.d.ts.map +0 -1
  1183. package/lib/esm/appui-react/messages/StatusMessageRenderer.js +0 -72
  1184. package/lib/esm/appui-react/messages/StatusMessageRenderer.js.map +0 -1
  1185. package/lib/esm/appui-react/messages/StatusMessageRenderer.scss +0 -28
  1186. package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts +0 -25
  1187. package/lib/esm/appui-react/messages/StatusMessagesContainer.d.ts.map +0 -1
  1188. package/lib/esm/appui-react/messages/StatusMessagesContainer.js +0 -64
  1189. package/lib/esm/appui-react/messages/StatusMessagesContainer.js.map +0 -1
  1190. package/lib/esm/appui-react/messages/StatusMessagesContainer.scss +0 -53
  1191. package/lib/esm/appui-react/messages/StickyMessage.d.ts +0 -23
  1192. package/lib/esm/appui-react/messages/StickyMessage.d.ts.map +0 -1
  1193. package/lib/esm/appui-react/messages/StickyMessage.js +0 -35
  1194. package/lib/esm/appui-react/messages/StickyMessage.js.map +0 -1
  1195. package/lib/esm/appui-react/messages/StickyMessage.scss +0 -22
  1196. package/lib/esm/appui-react/messages/ToastMessage.d.ts +0 -23
  1197. package/lib/esm/appui-react/messages/ToastMessage.d.ts.map +0 -1
  1198. package/lib/esm/appui-react/messages/ToastMessage.js +0 -27
  1199. package/lib/esm/appui-react/messages/ToastMessage.js.map +0 -1
  1200. package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts +0 -18
  1201. package/lib/esm/appui-react/selection/ClearEmphasisStatusField.d.ts.map +0 -1
  1202. package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js +0 -53
  1203. package/lib/esm/appui-react/selection/ClearEmphasisStatusField.js.map +0 -1
  1204. package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts +0 -62
  1205. package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.d.ts.map +0 -1
  1206. package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js +0 -117
  1207. package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.js.map +0 -1
  1208. package/lib/esm/appui-react/stagepanels/FrameworkStagePanel.scss +0 -42
  1209. package/lib/esm/appui-react/stagepanels/StagePanel.d.ts +0 -142
  1210. package/lib/esm/appui-react/stagepanels/StagePanel.d.ts.map +0 -1
  1211. package/lib/esm/appui-react/stagepanels/StagePanel.js +0 -149
  1212. package/lib/esm/appui-react/stagepanels/StagePanel.js.map +0 -1
  1213. package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts +0 -28
  1214. package/lib/esm/appui-react/stagepanels/StagePanelHeader.d.ts.map +0 -1
  1215. package/lib/esm/appui-react/stagepanels/StagePanelHeader.js +0 -42
  1216. package/lib/esm/appui-react/stagepanels/StagePanelHeader.js.map +0 -1
  1217. package/lib/esm/appui-react/stagepanels/StagePanelHeader.scss +0 -26
  1218. package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts +0 -13
  1219. package/lib/esm/appui-react/stagepanels/StagePanelLocation.d.ts.map +0 -1
  1220. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +0 -13
  1221. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +0 -1
  1222. package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts +0 -13
  1223. package/lib/esm/appui-react/stagepanels/StagePanelSection.d.ts.map +0 -1
  1224. package/lib/esm/appui-react/stagepanels/StagePanelSection.js +0 -13
  1225. package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +0 -1
  1226. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +0 -11
  1227. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +0 -1
  1228. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +0 -15
  1229. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +0 -1
  1230. package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts +0 -10
  1231. package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.d.ts.map +0 -1
  1232. package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js +0 -22
  1233. package/lib/esm/appui-react/statusbar/withMessageCenterFieldProps.js.map +0 -1
  1234. package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts +0 -11
  1235. package/lib/esm/appui-react/statusbar/withStatusFieldProps.d.ts.map +0 -1
  1236. package/lib/esm/appui-react/statusbar/withStatusFieldProps.js +0 -23
  1237. package/lib/esm/appui-react/statusbar/withStatusFieldProps.js.map +0 -1
  1238. package/lib/esm/appui-react/statusfields/ConditionalField.d.ts +0 -45
  1239. package/lib/esm/appui-react/statusfields/ConditionalField.d.ts.map +0 -1
  1240. package/lib/esm/appui-react/statusfields/ConditionalField.js +0 -53
  1241. package/lib/esm/appui-react/statusfields/ConditionalField.js.map +0 -1
  1242. package/lib/esm/appui-react/statusfields/FooterModeField.d.ts +0 -19
  1243. package/lib/esm/appui-react/statusfields/FooterModeField.d.ts.map +0 -1
  1244. package/lib/esm/appui-react/statusfields/FooterModeField.js +0 -24
  1245. package/lib/esm/appui-react/statusfields/FooterModeField.js.map +0 -1
  1246. package/lib/esm/appui-react/statusfields/Indicator.d.ts +0 -44
  1247. package/lib/esm/appui-react/statusfields/Indicator.d.ts.map +0 -1
  1248. package/lib/esm/appui-react/statusfields/Indicator.js +0 -42
  1249. package/lib/esm/appui-react/statusfields/Indicator.js.map +0 -1
  1250. package/lib/esm/appui-react/statusfields/Indicator.scss +0 -183
  1251. package/lib/esm/appui-react/statusfields/PromptField.d.ts +0 -31
  1252. package/lib/esm/appui-react/statusfields/PromptField.d.ts.map +0 -1
  1253. package/lib/esm/appui-react/statusfields/PromptField.js +0 -49
  1254. package/lib/esm/appui-react/statusfields/PromptField.js.map +0 -1
  1255. package/lib/esm/appui-react/statusfields/PromptField.scss +0 -42
  1256. package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts +0 -23
  1257. package/lib/esm/appui-react/statusfields/StatusFieldProps.d.ts.map +0 -1
  1258. package/lib/esm/appui-react/statusfields/StatusFieldProps.js +0 -2
  1259. package/lib/esm/appui-react/statusfields/StatusFieldProps.js.map +0 -1
  1260. package/lib/esm/appui-react/syncui/BooleanListener.d.ts +0 -44
  1261. package/lib/esm/appui-react/syncui/BooleanListener.d.ts.map +0 -1
  1262. package/lib/esm/appui-react/syncui/BooleanListener.js +0 -66
  1263. package/lib/esm/appui-react/syncui/BooleanListener.js.map +0 -1
  1264. package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts +0 -18
  1265. package/lib/esm/appui-react/toolbar/ActionButtonItem.d.ts.map +0 -1
  1266. package/lib/esm/appui-react/toolbar/ActionButtonItem.js +0 -27
  1267. package/lib/esm/appui-react/toolbar/ActionButtonItem.js.map +0 -1
  1268. package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts +0 -40
  1269. package/lib/esm/appui-react/toolbar/ActionItemButton.d.ts.map +0 -1
  1270. package/lib/esm/appui-react/toolbar/ActionItemButton.js +0 -100
  1271. package/lib/esm/appui-react/toolbar/ActionItemButton.js.map +0 -1
  1272. package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts +0 -79
  1273. package/lib/esm/appui-react/toolbar/GroupButtonItem.d.ts.map +0 -1
  1274. package/lib/esm/appui-react/toolbar/GroupButtonItem.js +0 -324
  1275. package/lib/esm/appui-react/toolbar/GroupButtonItem.js.map +0 -1
  1276. package/lib/esm/appui-react/toolbar/PopupButton.d.ts +0 -58
  1277. package/lib/esm/appui-react/toolbar/PopupButton.d.ts.map +0 -1
  1278. package/lib/esm/appui-react/toolbar/PopupButton.js +0 -150
  1279. package/lib/esm/appui-react/toolbar/PopupButton.js.map +0 -1
  1280. package/lib/esm/appui-react/toolbar/PopupButton.scss +0 -9
  1281. package/lib/esm/appui-react/toolbar/ToolButton.d.ts +0 -31
  1282. package/lib/esm/appui-react/toolbar/ToolButton.d.ts.map +0 -1
  1283. package/lib/esm/appui-react/toolbar/ToolButton.js +0 -96
  1284. package/lib/esm/appui-react/toolbar/ToolButton.js.map +0 -1
  1285. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +0 -55
  1286. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +0 -1
  1287. package/lib/esm/appui-react/toolbar/Toolbar.js +0 -236
  1288. package/lib/esm/appui-react/toolbar/Toolbar.js.map +0 -1
  1289. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +0 -53
  1290. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +0 -1
  1291. package/lib/esm/appui-react/toolbar/ToolbarItem.js +0 -35
  1292. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +0 -1
  1293. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +0 -14
  1294. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +0 -1
  1295. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +0 -25
  1296. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +0 -1
  1297. package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts +0 -22
  1298. package/lib/esm/appui-react/tools/MarkupToolDefinitions.d.ts.map +0 -1
  1299. package/lib/esm/appui-react/tools/MarkupToolDefinitions.js +0 -50
  1300. package/lib/esm/appui-react/tools/MarkupToolDefinitions.js.map +0 -1
  1301. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +0 -11
  1302. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +0 -1
  1303. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +0 -16
  1304. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +0 -1
  1305. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +0 -9
  1306. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts.map +0 -1
  1307. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +0 -9
  1308. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +0 -1
  1309. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +0 -24
  1310. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +0 -1
  1311. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +0 -15
  1312. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +0 -1
  1313. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +0 -9
  1314. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +0 -1
  1315. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +0 -9
  1316. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +0 -1
  1317. package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts +0 -15
  1318. package/lib/esm/appui-react/uistate/UserSettingsStorage.d.ts.map +0 -1
  1319. package/lib/esm/appui-react/uistate/UserSettingsStorage.js +0 -58
  1320. package/lib/esm/appui-react/uistate/UserSettingsStorage.js.map +0 -1
  1321. package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts +0 -35
  1322. package/lib/esm/appui-react/widgets/DefaultNavigationWidget.d.ts.map +0 -1
  1323. package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js +0 -61
  1324. package/lib/esm/appui-react/widgets/DefaultNavigationWidget.js.map +0 -1
  1325. package/lib/esm/appui-react/widgets/NavigationWidget.d.ts +0 -56
  1326. package/lib/esm/appui-react/widgets/NavigationWidget.d.ts.map +0 -1
  1327. package/lib/esm/appui-react/widgets/NavigationWidget.js +0 -150
  1328. package/lib/esm/appui-react/widgets/NavigationWidget.js.map +0 -1
  1329. package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts +0 -33
  1330. package/lib/esm/appui-react/widgets/ReviewToolWidget.d.ts.map +0 -1
  1331. package/lib/esm/appui-react/widgets/ReviewToolWidget.js +0 -70
  1332. package/lib/esm/appui-react/widgets/ReviewToolWidget.js.map +0 -1
  1333. package/lib/esm/appui-react/widgets/ToolSettingsContent.scss +0 -61
  1334. package/lib/esm/appui-react/widgets/ToolWidget.d.ts +0 -47
  1335. package/lib/esm/appui-react/widgets/ToolWidget.d.ts.map +0 -1
  1336. package/lib/esm/appui-react/widgets/ToolWidget.js +0 -85
  1337. package/lib/esm/appui-react/widgets/ToolWidget.js.map +0 -1
  1338. package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts +0 -26
  1339. package/lib/esm/appui-react/widgets/ToolbarWidgetBase.d.ts.map +0 -1
  1340. package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js +0 -51
  1341. package/lib/esm/appui-react/widgets/ToolbarWidgetBase.js.map +0 -1
  1342. package/lib/esm/appui-react/widgets/Widget.d.ts +0 -15
  1343. package/lib/esm/appui-react/widgets/Widget.d.ts.map +0 -1
  1344. package/lib/esm/appui-react/widgets/Widget.js +0 -22
  1345. package/lib/esm/appui-react/widgets/Widget.js.map +0 -1
  1346. package/lib/esm/appui-react/widgets/WidgetProps.d.ts +0 -33
  1347. package/lib/esm/appui-react/widgets/WidgetProps.d.ts.map +0 -1
  1348. package/lib/esm/appui-react/widgets/WidgetProps.js +0 -9
  1349. package/lib/esm/appui-react/widgets/WidgetProps.js.map +0 -1
  1350. package/lib/esm/appui-react/widgets/WidgetStack.d.ts +0 -135
  1351. package/lib/esm/appui-react/widgets/WidgetStack.d.ts.map +0 -1
  1352. package/lib/esm/appui-react/widgets/WidgetStack.js +0 -131
  1353. package/lib/esm/appui-react/widgets/WidgetStack.js.map +0 -1
  1354. package/lib/esm/appui-react/widgets/WidgetState.d.ts +0 -13
  1355. package/lib/esm/appui-react/widgets/WidgetState.d.ts.map +0 -1
  1356. package/lib/esm/appui-react/widgets/WidgetState.js +0 -13
  1357. package/lib/esm/appui-react/widgets/WidgetState.js.map +0 -1
  1358. package/lib/esm/appui-react/workflow/Task.d.ts +0 -48
  1359. package/lib/esm/appui-react/workflow/Task.d.ts.map +0 -1
  1360. package/lib/esm/appui-react/workflow/Task.js +0 -68
  1361. package/lib/esm/appui-react/workflow/Task.js.map +0 -1
  1362. package/lib/esm/appui-react/workflow/Workflow.d.ts +0 -153
  1363. package/lib/esm/appui-react/workflow/Workflow.d.ts.map +0 -1
  1364. package/lib/esm/appui-react/workflow/Workflow.js +0 -231
  1365. package/lib/esm/appui-react/workflow/Workflow.js.map +0 -1
  1366. package/lib/esm/appui-react/zones/FrameworkZone.d.ts +0 -44
  1367. package/lib/esm/appui-react/zones/FrameworkZone.d.ts.map +0 -1
  1368. package/lib/esm/appui-react/zones/FrameworkZone.js +0 -47
  1369. package/lib/esm/appui-react/zones/FrameworkZone.js.map +0 -1
  1370. package/lib/esm/appui-react/zones/Outline.d.ts +0 -14
  1371. package/lib/esm/appui-react/zones/Outline.d.ts.map +0 -1
  1372. package/lib/esm/appui-react/zones/Outline.js +0 -18
  1373. package/lib/esm/appui-react/zones/Outline.js.map +0 -1
  1374. package/lib/esm/appui-react/zones/StatusBarZone.d.ts +0 -28
  1375. package/lib/esm/appui-react/zones/StatusBarZone.d.ts.map +0 -1
  1376. package/lib/esm/appui-react/zones/StatusBarZone.js +0 -29
  1377. package/lib/esm/appui-react/zones/StatusBarZone.js.map +0 -1
  1378. package/lib/esm/appui-react/zones/Zone.d.ts +0 -88
  1379. package/lib/esm/appui-react/zones/Zone.d.ts.map +0 -1
  1380. package/lib/esm/appui-react/zones/Zone.js +0 -152
  1381. package/lib/esm/appui-react/zones/Zone.js.map +0 -1
  1382. package/lib/esm/appui-react/zones/ZoneDef.d.ts +0 -57
  1383. package/lib/esm/appui-react/zones/ZoneDef.d.ts.map +0 -1
  1384. package/lib/esm/appui-react/zones/ZoneDef.js +0 -88
  1385. package/lib/esm/appui-react/zones/ZoneDef.js.map +0 -1
  1386. package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.d.ts.map +0 -1
  1387. package/lib/esm/appui-react/zones/toolsettings/DefaultToolSettingsProvider.js.map +0 -1
  1388. package/lib/esm/appui-react/zones/toolsettings/ToolInformation.d.ts.map +0 -1
  1389. package/lib/esm/appui-react/zones/toolsettings/ToolInformation.js.map +0 -1
  1390. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.d.ts.map +0 -1
  1391. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsManager.js.map +0 -1
  1392. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts +0 -54
  1393. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.d.ts.map +0 -1
  1394. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js +0 -92
  1395. package/lib/esm/appui-react/zones/toolsettings/ToolSettingsZone.js.map +0 -1
  1396. package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.d.ts.map +0 -1
  1397. package/lib/esm/appui-react/zones/toolsettings/ToolUiProvider.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StandardStatusbarItemsProvider.js","sourceRoot":"","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,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE;YAC/D,mDAAmD;YACnD,MAAM,iBAAiB,GAAG,IAAA,2CAAoB,EAAC,2CAAoB,CAAC,CAAC;YACrE,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,wBAAwB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,iBAAiB,OAAG,CAAC,CAAC,CAAC;SAC9I;QAED,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;YAC5D,mDAAmD;YACnD,MAAM,cAAc,GAAG,IAAA,2CAAoB,EAAC,oCAAmB,CAAC,CAAC;YACjE,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,qBAAqB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,cAAc,OAAG,CAAC,CAAC,CAAC;SACxI;QAED,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;YAC3D,mDAAmD;YACnD,MAAM,aAAa,GAAG,IAAA,2CAAoB,EAAC,kCAAkB,CAAC,CAAC;YAC/D,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,aAAa,OAAG,CAAC,CAAC,CAAC;SACtI;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;CACF;AAnED,wEAmEC","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 StandardUiItemsProvider\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BaseUiItemsProvider, CommonStatusBarItem, StatusBarSection, UiItemsManager } from \"@itwin/appui-abstract\";\r\nimport { StatusBarItemUtilities } from \"../statusbar/StatusBarItemUtilities\";\r\nimport { ToolAssistanceField } from \"../statusfields/toolassistance/ToolAssistanceField\";\r\nimport { withStatusFieldProps } from \"../statusbar/withStatusFieldProps\";\r\nimport { MessageCenterField } from \"../statusfields/MessageCenter\";\r\nimport { withMessageCenterFieldProps } from \"../statusbar/withMessageCenterFieldProps\";\r\nimport { ActivityCenterField } from \"../statusfields/ActivityCenter\";\r\nimport { SnapModeField } from \"../statusfields/SnapMode\";\r\nimport { SelectionInfoField } from \"../statusfields/SelectionInfo\";\r\nimport { TileLoadingIndicator } from \"../statusfields/tileloading/TileLoadingIndicator\";\r\nimport { SelectionScopeField } from \"../statusfields/SelectionScope\";\r\nimport { DefaultStatusbarItems } from \"./StandardStatusbarUiItemsProvider\";\r\nimport { StatusBarSeparator } from \"../statusbar/Separator\";\r\n\r\n/* eslint-disable deprecation/deprecation */\r\n\r\n/**\r\n * Provide standard statusbar fields for the SimpleStatusbarWidget\r\n * @public\r\n */\r\nexport class StandardStatusbarItemsProvider extends BaseUiItemsProvider {\r\n constructor(providerId: string, private _defaultItems?: DefaultStatusbarItems, isSupportedStage?: (stageId: string, stageUsage: string, stageAppData?: any) => boolean) {\r\n super(providerId, isSupportedStage);\r\n }\r\n\r\n /**\r\n * static function to register the StandardStatusbarItemsProvider\r\n * @param providerId - unique identifier for this instance of the provider. This is required in case separate packages want\r\n * to set up custom stage with their own subset of standard status bar items.\r\n * @param defaultItems - if undefined all available item are provided to stage except for activityCenter. If defined only those\r\n * specific tool buttons are shown.\r\n * @param isSupportedStage - optional function that will be called to determine if tools should be added to current stage. If not set and\r\n * the current stage's `usage` is set to `StageUsage.General` then the provider will add items to frontstage.\r\n */\r\n public static register(providerId: string, defaultItems?: DefaultStatusbarItems, isSupportedStage?: (stageId: string, stageUsage: string, stageAppData?: any) => boolean) {\r\n const provider = new StandardStatusbarItemsProvider(providerId, defaultItems, isSupportedStage);\r\n UiItemsManager.register(provider);\r\n return provider;\r\n }\r\n\r\n public override provideStatusBarItemsInternal(_stageId: string, _stageUsage: string, _stageAppData?: any): CommonStatusBarItem[] {\r\n const statusBarItems: CommonStatusBarItem[] = [];\r\n if (!this._defaultItems || this._defaultItems.messageCenter) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const MessageCenter = withMessageCenterFieldProps(MessageCenterField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.MessageCenter\", StatusBarSection.Left, 10, <MessageCenter />));\r\n }\r\n if (!this._defaultItems || this._defaultItems.toolAssistance) {\r\n if (!this._defaultItems || this._defaultItems.preToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PreToolAssistance\", StatusBarSection.Left, 15, <StatusBarSeparator />));\r\n\r\n // eslint-disable-next-line deprecation/deprecation\r\n const ToolAssistance = withStatusFieldProps(ToolAssistanceField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ToolAssistance\", StatusBarSection.Left, 20, <ToolAssistance />));\r\n\r\n if (!this._defaultItems || this._defaultItems.postToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PostToolAssistance\", StatusBarSection.Left, 25, <StatusBarSeparator />));\r\n }\r\n if (this._defaultItems?.activityCenter) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const ActivityCenter = withStatusFieldProps(ActivityCenterField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ActivityCenter\", StatusBarSection.Left, 30, <ActivityCenter />));\r\n }\r\n if (!this._defaultItems || this._defaultItems.accuSnapModePicker) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SnapMode\", StatusBarSection.Center, 10, <SnapModeField />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.tileLoadIndicator) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const TileLoadIndicator = withStatusFieldProps(TileLoadingIndicator);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.TileLoadIndicator\", StatusBarSection.Right, 10, <TileLoadIndicator />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.selectionScope) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const SelectionScope = withStatusFieldProps(SelectionScopeField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionScope\", StatusBarSection.Right, 20, <SelectionScope />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.selectionInfo) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const SelectionInfo = withStatusFieldProps(SelectionInfoField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionInfo\", StatusBarSection.Right, 30, <SelectionInfo />));\r\n }\r\n\r\n return statusBarItems;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"StandardStatusbarItemsProvider.js","sourceRoot":"","sources":["../../../../src/appui-react/ui-items-provider/StandardStatusbarItemsProvider.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAAmH;AACnH,gFAA6E;AAC7E,4FAAyF;AACzF,iEAAmE;AACnE,mEAAqE;AACrE,uDAAyD;AACzD,iEAAmE;AACnE,2FAAwF;AACxF,mEAAqE;AAErE,sDAA4D;AAE5D;;;GAGG;AACH,MAAa,8BAA+B,SAAQ,oCAAmB;IACrE,YAAY,UAAkB,EAAU,aAAqC,EAAE,gBAAuF;QACpK,KAAK,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;QADE,kBAAa,GAAb,aAAa,CAAwB;IAE7E,CAAC;IAED;;;;;;;;MAQE;IACK,MAAM,CAAC,QAAQ,CAAC,UAAkB,EAAE,YAAoC,EAAE,gBAAuF;QACtK,MAAM,QAAQ,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,YAAY,EAAE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C,mBAAmB,CAAC,qBAAqB,EAAE,iCAAgB,CAAC,IAAI,EAAE,EAAE,EAAE,oBAAC,oCAAmB,OAAG,CAAC,CAAC,CAAC;SAC5I;QACD,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,kBAAkB,EAAE;YAChE,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,eAAe,EAAE,iCAAgB,CAAC,MAAM,EAAE,EAAE,EAAE,oBAAC,wBAAa,OAAG,CAAC,CAAC,CAAC;SAClI;QAED,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE;YAC/D,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,wBAAwB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,2CAAoB,OAAG,CAAC,CAAC,CAAC;SACjJ;QAED,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE;YAC5D,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,qBAAqB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,oCAAmB,OAAG,CAAC,CAAC,CAAC;SAC7I;QAED,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;YAC3D,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,kCAAkB,OAAG,CAAC,CAAC,CAAC;SAC3I;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;CACF;AAvDD,wEAuDC","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 StandardUiItemsProvider\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { BaseUiItemsProvider, CommonStatusBarItem, StatusBarSection, UiItemsManager } from \"@itwin/appui-abstract\";\r\nimport { StatusBarItemUtilities } from \"../statusbar/StatusBarItemUtilities\";\r\nimport { ToolAssistanceField } from \"../statusfields/toolassistance/ToolAssistanceField\";\r\nimport { MessageCenterField } from \"../statusfields/MessageCenter\";\r\nimport { ActivityCenterField } from \"../statusfields/ActivityCenter\";\r\nimport { SnapModeField } from \"../statusfields/SnapMode\";\r\nimport { SelectionInfoField } from \"../statusfields/SelectionInfo\";\r\nimport { TileLoadingIndicator } from \"../statusfields/tileloading/TileLoadingIndicator\";\r\nimport { SelectionScopeField } from \"../statusfields/SelectionScope\";\r\nimport { DefaultStatusbarItems } from \"./StandardStatusbarUiItemsProvider\";\r\nimport { StatusBarSeparator } from \"../statusbar/Separator\";\r\n\r\n/**\r\n * Provide standard statusbar fields for the SimpleStatusbarWidget\r\n * @public\r\n */\r\nexport class StandardStatusbarItemsProvider extends BaseUiItemsProvider {\r\n constructor(providerId: string, private _defaultItems?: DefaultStatusbarItems, isSupportedStage?: (stageId: string, stageUsage: string, stageAppData?: any) => boolean) {\r\n super(providerId, isSupportedStage);\r\n }\r\n\r\n /**\r\n * static function to register the StandardStatusbarItemsProvider\r\n * @param providerId - unique identifier for this instance of the provider. This is required in case separate packages want\r\n * to set up custom stage with their own subset of standard status bar items.\r\n * @param defaultItems - if undefined all available item are provided to stage except for activityCenter. If defined only those\r\n * specific tool buttons are shown.\r\n * @param isSupportedStage - optional function that will be called to determine if tools should be added to current stage. If not set and\r\n * the current stage's `usage` is set to `StageUsage.General` then the provider will add items to frontstage.\r\n */\r\n public static register(providerId: string, defaultItems?: DefaultStatusbarItems, isSupportedStage?: (stageId: string, stageUsage: string, stageAppData?: any) => boolean) {\r\n const provider = new StandardStatusbarItemsProvider(providerId, defaultItems, isSupportedStage);\r\n UiItemsManager.register(provider);\r\n return provider;\r\n }\r\n\r\n public override provideStatusBarItemsInternal(_stageId: string, _stageUsage: string, _stageAppData?: any): CommonStatusBarItem[] {\r\n const statusBarItems: CommonStatusBarItem[] = [];\r\n if (!this._defaultItems || this._defaultItems.messageCenter) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.MessageCenter\", StatusBarSection.Left, 10, <MessageCenterField />));\r\n }\r\n if (!this._defaultItems || this._defaultItems.toolAssistance) {\r\n if (!this._defaultItems || this._defaultItems.preToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PreToolAssistance\", StatusBarSection.Left, 15, <StatusBarSeparator />));\r\n\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ToolAssistance\", StatusBarSection.Left, 20, <ToolAssistanceField />));\r\n\r\n if (!this._defaultItems || this._defaultItems.postToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PostToolAssistance\", StatusBarSection.Left, 25, <StatusBarSeparator />));\r\n }\r\n if (this._defaultItems?.activityCenter) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ActivityCenter\", StatusBarSection.Left, 30, <ActivityCenterField />));\r\n }\r\n if (!this._defaultItems || this._defaultItems.accuSnapModePicker) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SnapMode\", StatusBarSection.Center, 10, <SnapModeField />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.tileLoadIndicator) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.TileLoadIndicator\", StatusBarSection.Right, 10, <TileLoadingIndicator />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.selectionScope) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionScope\", StatusBarSection.Right, 20, <SelectionScopeField />));\r\n }\r\n\r\n if (!this._defaultItems || this._defaultItems.selectionInfo) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionInfo\", StatusBarSection.Right, 30, <SelectionInfoField />));\r\n }\r\n\r\n return statusBarItems;\r\n }\r\n}\r\n"]}
@@ -12,6 +12,7 @@ export interface DefaultStatusbarItems {
12
12
  preToolAssistanceSeparator?: boolean;
13
13
  toolAssistance?: boolean;
14
14
  postToolAssistanceSeparator?: boolean;
15
+ /** Activity center field is hidden by default. */
15
16
  activityCenter?: boolean;
16
17
  accuSnapModePicker?: boolean;
17
18
  tileLoadIndicator?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"StandardStatusbarUiItemsProvider.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAoB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAe/F;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,qBAAa,gCAAiC,YAAW,eAAe;IAG1D,OAAO,CAAC,aAAa,CAAC;IAFlC,IAAW,EAAE,IAAI,MAAM,CAA2D;gBAE9D,aAAa,CAAC,mCAAuB;IAElD,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,GAAG,GAAG,mBAAmB,EAAE;CAsDhH"}
1
+ {"version":3,"file":"StandardStatusbarUiItemsProvider.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,mBAAmB,EAAoB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAW/F;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,kDAAkD;IAClD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,qBAAa,gCAAiC,YAAW,eAAe;IAG1D,OAAO,CAAC,aAAa,CAAC;IAFlC,IAAW,EAAE,IAAI,MAAM,CAA2D;gBAE9D,aAAa,CAAC,mCAAuB;IAElD,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,GAAG,GAAG,mBAAmB,EAAE;CA0ChH"}
@@ -12,9 +12,7 @@ const React = require("react");
12
12
  const appui_abstract_1 = require("@itwin/appui-abstract");
13
13
  const StatusBarItemUtilities_1 = require("../statusbar/StatusBarItemUtilities");
14
14
  const ToolAssistanceField_1 = require("../statusfields/toolassistance/ToolAssistanceField");
15
- const withStatusFieldProps_1 = require("../statusbar/withStatusFieldProps");
16
15
  const MessageCenter_1 = require("../statusfields/MessageCenter");
17
- const withMessageCenterFieldProps_1 = require("../statusbar/withMessageCenterFieldProps");
18
16
  const ActivityCenter_1 = require("../statusfields/ActivityCenter");
19
17
  const SnapMode_1 = require("../statusfields/SnapMode");
20
18
  const SelectionInfo_1 = require("../statusfields/SelectionInfo");
@@ -35,25 +33,19 @@ class StandardStatusbarUiItemsProvider {
35
33
  const statusBarItems = [];
36
34
  // istanbul ignore else
37
35
  if (!this._defaultItems || this._defaultItems.messageCenter) {
38
- // eslint-disable-next-line deprecation/deprecation
39
- const MessageCenter = (0, withMessageCenterFieldProps_1.withMessageCenterFieldProps)(MessageCenter_1.MessageCenterField);
40
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.MessageCenter", appui_abstract_1.StatusBarSection.Left, 10, React.createElement(MessageCenter, null)));
36
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.MessageCenter", appui_abstract_1.StatusBarSection.Left, 10, React.createElement(MessageCenter_1.MessageCenterField, null)));
41
37
  }
42
38
  // istanbul ignore else
43
39
  if (!this._defaultItems || this._defaultItems.toolAssistance) {
44
40
  if (!this._defaultItems || this._defaultItems.preToolAssistanceSeparator)
45
41
  statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.PreToolAssistance", appui_abstract_1.StatusBarSection.Left, 15, React.createElement(Separator_1.StatusBarSeparator, null)));
46
- // eslint-disable-next-line deprecation/deprecation
47
- const ToolAssistance = (0, withStatusFieldProps_1.withStatusFieldProps)(ToolAssistanceField_1.ToolAssistanceField);
48
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.ToolAssistance", appui_abstract_1.StatusBarSection.Left, 20, React.createElement(ToolAssistance, null)));
42
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.ToolAssistance", appui_abstract_1.StatusBarSection.Left, 20, React.createElement(ToolAssistanceField_1.ToolAssistanceField, null)));
49
43
  if (!this._defaultItems || this._defaultItems.postToolAssistanceSeparator)
50
44
  statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.PostToolAssistance", appui_abstract_1.StatusBarSection.Left, 25, React.createElement(Separator_1.StatusBarSeparator, null)));
51
45
  }
52
46
  // istanbul ignore else
53
47
  if ((_a = this._defaultItems) === null || _a === void 0 ? void 0 : _a.activityCenter) {
54
- // eslint-disable-next-line deprecation/deprecation
55
- const ActivityCenter = (0, withStatusFieldProps_1.withStatusFieldProps)(ActivityCenter_1.ActivityCenterField);
56
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.ActivityCenter", appui_abstract_1.StatusBarSection.Left, 30, React.createElement(ActivityCenter, null)));
48
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.ActivityCenter", appui_abstract_1.StatusBarSection.Left, 30, React.createElement(ActivityCenter_1.ActivityCenterField, null)));
57
49
  }
58
50
  // istanbul ignore else
59
51
  if (!this._defaultItems || this._defaultItems.accuSnapModePicker) {
@@ -61,21 +53,15 @@ class StandardStatusbarUiItemsProvider {
61
53
  }
62
54
  // istanbul ignore else
63
55
  if (!this._defaultItems || this._defaultItems.tileLoadIndicator) {
64
- // eslint-disable-next-line deprecation/deprecation
65
- const TileLoadIndicator = (0, withStatusFieldProps_1.withStatusFieldProps)(TileLoadingIndicator_1.TileLoadingIndicator);
66
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.TileLoadIndicator", appui_abstract_1.StatusBarSection.Right, 10, React.createElement(TileLoadIndicator, null)));
56
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.TileLoadIndicator", appui_abstract_1.StatusBarSection.Right, 10, React.createElement(TileLoadingIndicator_1.TileLoadingIndicator, null)));
67
57
  }
68
58
  // istanbul ignore else
69
59
  if (!this._defaultItems || this._defaultItems.selectionScope) {
70
- // eslint-disable-next-line deprecation/deprecation
71
- const SelectionScope = (0, withStatusFieldProps_1.withStatusFieldProps)(SelectionScope_1.SelectionScopeField);
72
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.SelectionScope", appui_abstract_1.StatusBarSection.Right, 20, React.createElement(SelectionScope, null)));
60
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.SelectionScope", appui_abstract_1.StatusBarSection.Right, 20, React.createElement(SelectionScope_1.SelectionScopeField, null)));
73
61
  }
74
62
  // istanbul ignore else
75
63
  if (!this._defaultItems || this._defaultItems.selectionInfo) {
76
- // eslint-disable-next-line deprecation/deprecation
77
- const SelectionInfo = (0, withStatusFieldProps_1.withStatusFieldProps)(SelectionInfo_1.SelectionInfoField);
78
- statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.SelectionInfo", appui_abstract_1.StatusBarSection.Right, 30, React.createElement(SelectionInfo, null)));
64
+ statusBarItems.push(StatusBarItemUtilities_1.StatusBarItemUtilities.createStatusBarItem("uifw.SelectionInfo", appui_abstract_1.StatusBarSection.Right, 30, React.createElement(SelectionInfo_1.SelectionInfoField, null)));
79
65
  }
80
66
  return statusBarItems;
81
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StandardStatusbarUiItemsProvider.js","sourceRoot":"","sources":["../../../../src/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAA+F;AAC/F,gFAA6E;AAC7E,4FAAyF;AACzF,4EAAyE;AACzE,iEAAmE;AACnE,0FAAuF;AACvF,mEAAqE;AACrE,uDAAyD;AACzD,iEAAmE;AACnE,2FAAwF;AACxF,mEAAqE;AACrE,sDAA4D;AAqB5D;;;GAGG;AACH,MAAa,gCAAgC;IAG3C,YAAoB,aAAqC;QAArC,kBAAa,GAAb,aAAa,CAAwB;IAAI,CAAC;IAF9D,IAAW,EAAE,KAAa,OAAO,8CAA8C,CAAC,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,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;YAC3D,mDAAmD;YACnD,MAAM,aAAa,GAAG,IAAA,2CAAoB,EAAC,kCAAkB,CAAC,CAAC;YAC/D,cAAc,CAAC,IAAI,CAAC,+CAAsB,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,aAAa,OAAG,CAAC,CAAC,CAAC;SACtI;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;CACF;AA3DD,4EA2DC","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 StandardUiItemsProvider\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonStatusBarItem, StatusBarSection, UiItemsProvider } from \"@itwin/appui-abstract\";\r\nimport { StatusBarItemUtilities } from \"../statusbar/StatusBarItemUtilities\";\r\nimport { ToolAssistanceField } from \"../statusfields/toolassistance/ToolAssistanceField\";\r\nimport { withStatusFieldProps } from \"../statusbar/withStatusFieldProps\";\r\nimport { MessageCenterField } from \"../statusfields/MessageCenter\";\r\nimport { withMessageCenterFieldProps } from \"../statusbar/withMessageCenterFieldProps\";\r\nimport { ActivityCenterField } from \"../statusfields/ActivityCenter\";\r\nimport { SnapModeField } from \"../statusfields/SnapMode\";\r\nimport { SelectionInfoField } from \"../statusfields/SelectionInfo\";\r\nimport { TileLoadingIndicator } from \"../statusfields/tileloading/TileLoadingIndicator\";\r\nimport { SelectionScopeField } from \"../statusfields/SelectionScope\";\r\nimport { StatusBarSeparator } from \"../statusbar/Separator\";\r\n\r\n/* eslint-disable deprecation/deprecation */\r\n\r\n/**\r\n * Defines what items to include from the provider. If any items are\r\n * specified then only those items will be added to statusbar.\r\n * @public\r\n */\r\nexport interface DefaultStatusbarItems {\r\n messageCenter?: boolean;\r\n preToolAssistanceSeparator?: boolean;\r\n toolAssistance?: boolean;\r\n postToolAssistanceSeparator?: boolean;\r\n activityCenter?: boolean;\r\n accuSnapModePicker?: boolean;\r\n tileLoadIndicator?: boolean;\r\n selectionScope?: boolean;\r\n selectionInfo?: boolean;\r\n}\r\n\r\n/**\r\n * Provide standard statusbar fields for the SimpleStatusbarWidget\r\n * @beta\r\n */\r\nexport class StandardStatusbarUiItemsProvider implements UiItemsProvider {\r\n public get id(): string { return \"appui-react:StandardStatusbarUiItemsProvider\"; }\r\n\r\n constructor(private _defaultItems?: DefaultStatusbarItems) { }\r\n\r\n public provideStatusBarItems(_stageId: string, _stageUsage: string, _stageAppData?: any): CommonStatusBarItem[] {\r\n const statusBarItems: CommonStatusBarItem[] = [];\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.messageCenter) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const MessageCenter = withMessageCenterFieldProps(MessageCenterField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.MessageCenter\", StatusBarSection.Left, 10, <MessageCenter />));\r\n }\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.toolAssistance) {\r\n if (!this._defaultItems || this._defaultItems.preToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PreToolAssistance\", StatusBarSection.Left, 15, <StatusBarSeparator />));\r\n\r\n // eslint-disable-next-line deprecation/deprecation\r\n const ToolAssistance = withStatusFieldProps(ToolAssistanceField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ToolAssistance\", StatusBarSection.Left, 20, <ToolAssistance />));\r\n\r\n if (!this._defaultItems || this._defaultItems.postToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PostToolAssistance\", StatusBarSection.Left, 25, <StatusBarSeparator />));\r\n }\r\n // istanbul ignore else\r\n if (this._defaultItems?.activityCenter) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const ActivityCenter = withStatusFieldProps(ActivityCenterField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ActivityCenter\", StatusBarSection.Left, 30, <ActivityCenter />));\r\n }\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.accuSnapModePicker) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SnapMode\", StatusBarSection.Center, 10, <SnapModeField />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.tileLoadIndicator) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const TileLoadIndicator = withStatusFieldProps(TileLoadingIndicator);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.TileLoadIndicator\", StatusBarSection.Right, 10, <TileLoadIndicator />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.selectionScope) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const SelectionScope = withStatusFieldProps(SelectionScopeField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionScope\", StatusBarSection.Right, 20, <SelectionScope />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.selectionInfo) {\r\n // eslint-disable-next-line deprecation/deprecation\r\n const SelectionInfo = withStatusFieldProps(SelectionInfoField);\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionInfo\", StatusBarSection.Right, 30, <SelectionInfo />));\r\n }\r\n\r\n return statusBarItems;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"StandardStatusbarUiItemsProvider.js","sourceRoot":"","sources":["../../../../src/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAA+F;AAC/F,gFAA6E;AAC7E,4FAA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E,iCAAgB,CAAC,KAAK,EAAE,EAAE,EAAE,oBAAC,kCAAkB,OAAG,CAAC,CAAC,CAAC;SAC3I;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;CACF;AA/CD,4EA+CC","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 StandardUiItemsProvider\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonStatusBarItem, StatusBarSection, UiItemsProvider } from \"@itwin/appui-abstract\";\r\nimport { StatusBarItemUtilities } from \"../statusbar/StatusBarItemUtilities\";\r\nimport { ToolAssistanceField } from \"../statusfields/toolassistance/ToolAssistanceField\";\r\nimport { MessageCenterField } from \"../statusfields/MessageCenter\";\r\nimport { ActivityCenterField } from \"../statusfields/ActivityCenter\";\r\nimport { SnapModeField } from \"../statusfields/SnapMode\";\r\nimport { SelectionInfoField } from \"../statusfields/SelectionInfo\";\r\nimport { TileLoadingIndicator } from \"../statusfields/tileloading/TileLoadingIndicator\";\r\nimport { SelectionScopeField } from \"../statusfields/SelectionScope\";\r\nimport { StatusBarSeparator } from \"../statusbar/Separator\";\r\n\r\n/**\r\n * Defines what items to include from the provider. If any items are\r\n * specified then only those items will be added to statusbar.\r\n * @public\r\n */\r\nexport interface DefaultStatusbarItems {\r\n messageCenter?: boolean;\r\n preToolAssistanceSeparator?: boolean;\r\n toolAssistance?: boolean;\r\n postToolAssistanceSeparator?: boolean;\r\n /** Activity center field is hidden by default. */\r\n activityCenter?: boolean;\r\n accuSnapModePicker?: boolean;\r\n tileLoadIndicator?: boolean;\r\n selectionScope?: boolean;\r\n selectionInfo?: boolean;\r\n}\r\n\r\n/**\r\n * Provide standard statusbar fields for the SimpleStatusbarWidget\r\n * @beta\r\n */\r\nexport class StandardStatusbarUiItemsProvider implements UiItemsProvider {\r\n public get id(): string { return \"appui-react:StandardStatusbarUiItemsProvider\"; }\r\n\r\n constructor(private _defaultItems?: DefaultStatusbarItems) { }\r\n\r\n public provideStatusBarItems(_stageId: string, _stageUsage: string, _stageAppData?: any): CommonStatusBarItem[] {\r\n const statusBarItems: CommonStatusBarItem[] = [];\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.messageCenter) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.MessageCenter\", StatusBarSection.Left, 10, <MessageCenterField />));\r\n }\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.toolAssistance) {\r\n if (!this._defaultItems || this._defaultItems.preToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PreToolAssistance\", StatusBarSection.Left, 15, <StatusBarSeparator />));\r\n\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ToolAssistance\", StatusBarSection.Left, 20, <ToolAssistanceField />));\r\n\r\n if (!this._defaultItems || this._defaultItems.postToolAssistanceSeparator)\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.PostToolAssistance\", StatusBarSection.Left, 25, <StatusBarSeparator />));\r\n }\r\n // istanbul ignore else\r\n if (this._defaultItems?.activityCenter) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.ActivityCenter\", StatusBarSection.Left, 30, <ActivityCenterField />));\r\n }\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.accuSnapModePicker) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SnapMode\", StatusBarSection.Center, 10, <SnapModeField />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.tileLoadIndicator) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.TileLoadIndicator\", StatusBarSection.Right, 10, <TileLoadingIndicator />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.selectionScope) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionScope\", StatusBarSection.Right, 20, <SelectionScopeField />));\r\n }\r\n\r\n // istanbul ignore else\r\n if (!this._defaultItems || this._defaultItems.selectionInfo) {\r\n statusBarItems.push(StatusBarItemUtilities.createStatusBarItem(\"uifw.SelectionInfo\", StatusBarSection.Right, 30, <SelectionInfoField />));\r\n }\r\n\r\n return statusBarItems;\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDialogGridContainer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/uiprovider/DefaultDialogGridContainer.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,mCAAmC,CAAC;AAM3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO1D;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,kBAAkB,EAAE,EAAE;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE,eAgB3G;AAED,UAAU,wBAAwB;IAChC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,gBAAgB;AAEhB,wBAAgB,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,EAAE,wBAAwB,eAYvG;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,EAAE;IAAE,kBAAkB,EAAE,kBAAkB,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,eAKtJ"}
1
+ {"version":3,"file":"DefaultDialogGridContainer.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/uiprovider/DefaultDialogGridContainer.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,mCAAmC,CAAC;AAK3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO1D;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,kBAAkB,EAAE,EAAE;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE,eAc3G;AAED,UAAU,wBAAwB;IAChC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,gBAAgB;AAEhB,wBAAgB,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,EAAE,wBAAwB,eAYvG;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,EAAE;IAAE,kBAAkB,EAAE,kBAAkB,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,eAKtJ"}
@@ -11,7 +11,6 @@ exports.DefaultDialogGridContainer = exports.DialogGridContainer = exports.ToolS
11
11
  require("./DefaultDialogGridContainer.scss");
12
12
  const classnames_1 = require("classnames");
13
13
  const React = require("react");
14
- const useFrameworkVersion_1 = require("../hooks/useFrameworkVersion");
15
14
  const ToolSettingsContent_1 = require("../widgets/ToolSettingsContent");
16
15
  var LayoutMode;
17
16
  (function (LayoutMode) {
@@ -24,9 +23,8 @@ var LayoutMode;
24
23
  */
25
24
  function ToolSettingsGridContainer({ componentGenerator }) {
26
25
  const { availableContentWidth } = React.useContext(ToolSettingsContent_1.ToolSettingsContentContext);
27
- const version = (0, useFrameworkVersion_1.useFrameworkVersion)(); // eslint-disable-line deprecation/deprecation
28
26
  const layoutMode = toLayoutMode(availableContentWidth);
29
- const className = (0, classnames_1.default)("uifw-tool-settings-grid-container", version === "1" && "uifw-fill",
27
+ const className = (0, classnames_1.default)("uifw-tool-settings-grid-container",
30
28
  // istanbul ignore next
31
29
  LayoutMode.Narrow === layoutMode && "uifw-default-narrow");
32
30
  return (React.createElement(DialogGridContainer, { componentGenerator: componentGenerator, containerClassName: className }));
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDialogGridContainer.js","sourceRoot":"","sources":["../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E,KAAK,CAAC,CAAC,CACjH,CACF,CACP,CAAC;AACJ,CAAC;AAZD,kDAYC;AAED;;GAEG;AACH,SAAgB,0BAA0B,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAwE;IACrJ,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;QACxB,oBAAC,yBAAyB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CAAC,CAAC;QACvE,0BAA0B;QAC1B,oBAAC,mBAAmB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CAAC,CAAC;AACrE,CAAC;AALD,gEAKC;AAED,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE;IACrC,OAAO,CAAC,KAAK,GAAG,GAAG,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;AACrG,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 UiProvider\r\n */\r\n\r\nimport \"./DefaultDialogGridContainer.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { DialogRow } from \"@itwin/appui-abstract\";\r\nimport { useFrameworkVersion } from \"../hooks/useFrameworkVersion\";\r\nimport { ToolSettingsContentContext } from \"../widgets/ToolSettingsContent\";\r\nimport { ComponentGenerator } from \"./ComponentGenerator\";\r\n\r\nenum LayoutMode {\r\n Wide = 0,\r\n Narrow = 1,\r\n}\r\n\r\n/**\r\n * Component to provide grid of property editors\r\n * @public\r\n */\r\nexport function ToolSettingsGridContainer({ componentGenerator }: { componentGenerator: ComponentGenerator }) {\r\n const { availableContentWidth } = React.useContext(ToolSettingsContentContext);\r\n const version = useFrameworkVersion(); // eslint-disable-line deprecation/deprecation\r\n const layoutMode = toLayoutMode(availableContentWidth);\r\n const className = classnames(\r\n \"uifw-tool-settings-grid-container\",\r\n version === \"1\" && \"uifw-fill\",\r\n // istanbul ignore next\r\n LayoutMode.Narrow === layoutMode && \"uifw-default-narrow\",\r\n );\r\n return (\r\n <DialogGridContainer\r\n componentGenerator={componentGenerator}\r\n containerClassName={className}\r\n />\r\n );\r\n}\r\n\r\ninterface DialogGridContainerProps {\r\n componentGenerator: ComponentGenerator;\r\n containerClassName?: string;\r\n}\r\n\r\n/** @internal */\r\n// istanbul ignore next\r\nexport function DialogGridContainer({ componentGenerator, containerClassName }: DialogGridContainerProps) {\r\n const className = classnames(\r\n \"uifw-default-container\",\r\n containerClassName,\r\n );\r\n return (\r\n <div className=\"uifw-default-resizer-parent\">\r\n <div className={className}>\r\n {componentGenerator.uiDataProvider.rows.map((row: DialogRow, index: number) => componentGenerator.getRow(row, index))}\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\n/** DefaultDialogGridContainer populates a React node with the items specified by the UiLayoutDataProvider\r\n * @public\r\n */\r\nexport function DefaultDialogGridContainer({ componentGenerator, isToolSettings }: { componentGenerator: ComponentGenerator, isToolSettings?: boolean }) {\r\n return (!!isToolSettings ?\r\n <ToolSettingsGridContainer componentGenerator={componentGenerator} /> :\r\n /* istanbul ignore next */\r\n <DialogGridContainer componentGenerator={componentGenerator} />);\r\n}\r\n\r\nconst toLayoutMode = (width: number) => {\r\n return (width < 250 && width > 0) ? /* istanbul ignore next */ LayoutMode.Narrow : LayoutMode.Wide;\r\n};\r\n"]}
1
+ {"version":3,"file":"DefaultDialogGridContainer.js","sourceRoot":"","sources":["../../../../src/appui-react/uiprovider/DefaultDialogGridContainer.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,6CAA2C;AAC3C,2CAAoC;AACpC,+BAA+B;AAE/B,wEAA4E;AAG5E,IAAK,UAGJ;AAHD,WAAK,UAAU;IACb,2CAAQ,CAAA;IACR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,CAAC,CAAC;AACrE,CAAC;AALD,gEAKC;AAED,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE;IACrC,OAAO,CAAC,KAAK,GAAG,GAAG,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC;AACrG,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 UiProvider\r\n */\r\n\r\nimport \"./DefaultDialogGridContainer.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { DialogRow } from \"@itwin/appui-abstract\";\r\nimport { ToolSettingsContentContext } from \"../widgets/ToolSettingsContent\";\r\nimport { ComponentGenerator } from \"./ComponentGenerator\";\r\n\r\nenum LayoutMode {\r\n Wide = 0,\r\n Narrow = 1,\r\n}\r\n\r\n/**\r\n * Component to provide grid of property editors\r\n * @public\r\n */\r\nexport function ToolSettingsGridContainer({ componentGenerator }: { componentGenerator: ComponentGenerator }) {\r\n const { availableContentWidth } = React.useContext(ToolSettingsContentContext);\r\n const layoutMode = toLayoutMode(availableContentWidth);\r\n const className = classnames(\r\n \"uifw-tool-settings-grid-container\",\r\n // istanbul ignore next\r\n LayoutMode.Narrow === layoutMode && \"uifw-default-narrow\",\r\n );\r\n return (\r\n <DialogGridContainer\r\n componentGenerator={componentGenerator}\r\n containerClassName={className}\r\n />\r\n );\r\n}\r\n\r\ninterface DialogGridContainerProps {\r\n componentGenerator: ComponentGenerator;\r\n containerClassName?: string;\r\n}\r\n\r\n/** @internal */\r\n// istanbul ignore next\r\nexport function DialogGridContainer({ componentGenerator, containerClassName }: DialogGridContainerProps) {\r\n const className = classnames(\r\n \"uifw-default-container\",\r\n containerClassName,\r\n );\r\n return (\r\n <div className=\"uifw-default-resizer-parent\">\r\n <div className={className}>\r\n {componentGenerator.uiDataProvider.rows.map((row: DialogRow, index: number) => componentGenerator.getRow(row, index))}\r\n </div>\r\n </div>\r\n );\r\n}\r\n\r\n/** DefaultDialogGridContainer populates a React node with the items specified by the UiLayoutDataProvider\r\n * @public\r\n */\r\nexport function DefaultDialogGridContainer({ componentGenerator, isToolSettings }: { componentGenerator: ComponentGenerator, isToolSettings?: boolean }) {\r\n return (!!isToolSettings ?\r\n <ToolSettingsGridContainer componentGenerator={componentGenerator} /> :\r\n /* istanbul ignore next */\r\n <DialogGridContainer componentGenerator={componentGenerator} />);\r\n}\r\n\r\nconst toLayoutMode = (width: number) => {\r\n return (width < 250 && width > 0) ? /* istanbul ignore next */ LayoutMode.Narrow : LayoutMode.Wide;\r\n};\r\n"]}
@@ -210,7 +210,4 @@ div.nz-toolSettings-docked {
210
210
  border-top: none;
211
211
  border-left: none;
212
212
  border-right: none;
213
- select.uicore-inputs-select.components-cell-editor.components-enum-editor {
214
- width: auto;
215
- }
216
213
  }
@@ -2,15 +2,13 @@
2
2
  * @module Settings
3
3
  */
4
4
  import { UiStateEntry, UiStateStorage } from "@itwin/core-react";
5
- import { FrameworkVersionId, UserSettingsProvider } from "../UiFramework";
5
+ import { UserSettingsProvider } from "../UiFramework";
6
6
  /** Default values that may be specified for [[AppUiSettings]].
7
7
  * @public
8
8
  */
9
9
  export interface InitialAppUiSettings {
10
10
  colorTheme: string;
11
11
  dragInteraction: boolean;
12
- /** @deprecated in 3.6. UI1.0 is deprecated. */
13
- frameworkVersion: FrameworkVersionId;
14
12
  widgetOpacity: number;
15
13
  showWidgetIcon?: boolean;
16
14
  /** @alpha */
@@ -37,8 +35,6 @@ export declare class AppUiSettings implements UserSettingsProvider {
37
35
  private _applyingLocalSettings;
38
36
  colorTheme: UiStateEntry<string>;
39
37
  dragInteraction: UiStateEntry<boolean>;
40
- /** @deprecated in 3.6. */
41
- frameworkVersion: UiStateEntry<FrameworkVersionId>;
42
38
  widgetOpacity: UiStateEntry<number>;
43
39
  showWidgetIcon: UiStateEntry<boolean>;
44
40
  autoCollapseUnpinnedPanels: UiStateEntry<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"AppUiSettings.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/uistate/AppUiSettings.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGjE,OAAO,EAAE,kBAAkB,EAAe,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAIvF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,+CAA+C;IAC/C,gBAAgB,EAAE,kBAAkB,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,aAAc,YAAW,oBAAoB;IACxD,SAAgB,UAAU,2BAA2B;IAErD,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAmB;IACnD,OAAO,CAAC,SAAS,CAAgC;IACjD,OAAO,CAAC,sBAAsB,CAAS;IAEhC,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACjC,eAAe,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC9C,0BAA0B;IACnB,gBAAgB,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IACnD,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACpC,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACtC,0BAA0B,EAA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CAAC;IACjC,eAAe,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACvC,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACpC,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACtC,0BAA0B,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAClD,mBAAmB,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC3C,0BAA0B,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAClD,cAAc,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE5C,OAAO,CAAC,aAAa,CAInB;gBAEU,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC;IA0CnD,OAAO,CAAC,iBAAiB,CA8BvB;IAEW,KAAK,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ7C,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtE"}
@@ -42,8 +42,6 @@ class AppUiSettings {
42
42
  }
43
43
  if (args.eventIds.has("configurableui:set-drag-interaction"))
44
44
  await this.dragInteraction.saveSetting(UiFramework_1.UiFramework.getUiStateStorage());
45
- if (args.eventIds.has("configurableui:set-framework-version"))
46
- await this.frameworkVersion.saveSetting(UiFramework_1.UiFramework.getUiStateStorage()); // eslint-disable-line deprecation/deprecation
47
45
  if (args.eventIds.has("configurableui:set-show-widget-icon"))
48
46
  await this.showWidgetIcon.saveSetting(UiFramework_1.UiFramework.getUiStateStorage());
49
47
  if (args.eventIds.has("configurableui:set-auto-collapse-unpinned-panels"))
@@ -66,10 +64,6 @@ class AppUiSettings {
66
64
  this._settings.push(this.showWidgetIcon);
67
65
  this.autoCollapseUnpinnedPanels = new core_react_1.UiStateEntry(AppUiSettings._settingNamespace, "AutoCollapseUnpinnedPanels", () => UiFramework_1.UiFramework.autoCollapseUnpinnedPanels, (value) => UiFramework_1.UiFramework.setAutoCollapseUnpinnedPanels(value), defaults.autoCollapseUnpinnedPanels);
68
66
  this._settings.push(this.autoCollapseUnpinnedPanels);
69
- this.frameworkVersion = new core_react_1.UiStateEntry(AppUiSettings._settingNamespace, "FrameworkVersion", // eslint-disable-line deprecation/deprecation
70
- () => UiFramework_1.UiFramework.uiVersion, // eslint-disable-line deprecation/deprecation
71
- (value) => UiFramework_1.UiFramework.setUiVersion(value), defaults.frameworkVersion); // eslint-disable-line deprecation/deprecation
72
- this._settings.push(this.frameworkVersion); // eslint-disable-line deprecation/deprecation
73
67
  this.widgetOpacity = new core_react_1.UiStateEntry(AppUiSettings._settingNamespace, "WidgetOpacity", () => UiFramework_1.UiFramework.getWidgetOpacity(), (value) => UiFramework_1.UiFramework.setWidgetOpacity(value), defaults.widgetOpacity);
74
68
  this._settings.push(this.widgetOpacity);
75
69
  this.animateToolSettings = new core_react_1.UiStateEntry(AppUiSettings._settingNamespace, "AnimateToolSettings", () => UiFramework_1.UiFramework.animateToolSettings, (value) => UiFramework_1.UiFramework.setAnimateToolSettings(value), defaults.animateToolSettings);
@@ -1 +1 @@
1
- {"version":3,"file":"AppUiSettings.js","sourceRoot":"","sources":["../../../../src/appui-react/uistate/AppUiSettings.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,kDAAiE;AAEjE,2EAAwE;AACxE,gDAAuF;AAqBvF;;;;;;;;;;GAUG;AACH,MAAa,aAAa;IAwBxB,YAAY,QAAuC;QAvBnC,eAAU,GAAG,uBAAuB,CAAC;QAG7C,cAAS,GAA6B,EAAE,CAAC;QACzC,2BAAsB,GAAG,KAAK,CAAC;QAa/B,kBAAa,GAAG,CAAC,KAAa,EAAE,EAAE;YACxC,yBAAW,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YACjC,6FAA6F;YAC7F,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QAC1D,CAAC,CAAC;QAiDM,sBAAiB,GAAG,KAAK,EAAE,IA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AuB;QACnD,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;;AApHH,sCAqHC;AAlHgB,+BAAiB,GAAG,eAAe,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 Settings\r\n */\r\n\r\nimport { UiStateEntry, UiStateStorage } from \"@itwin/core-react\";\r\nimport { UiSyncEventArgs } from \"@itwin/appui-abstract\";\r\nimport { SyncUiEventDispatcher } from \"../syncui/SyncUiEventDispatcher\";\r\nimport { FrameworkVersionId, UiFramework, UserSettingsProvider } from \"../UiFramework\";\r\n\r\n// cSpell:ignore configurableui\r\n\r\n/** Default values that may be specified for [[AppUiSettings]].\r\n * @public\r\n */\r\nexport interface InitialAppUiSettings {\r\n colorTheme: string;\r\n dragInteraction: boolean;\r\n /** @deprecated in 3.6. UI1.0 is deprecated. */\r\n frameworkVersion: FrameworkVersionId; // eslint-disable-line deprecation/deprecation\r\n widgetOpacity: number;\r\n showWidgetIcon?: boolean;\r\n /** @alpha */\r\n autoCollapseUnpinnedPanels?: boolean;\r\n animateToolSettings?: boolean;\r\n useToolAsToolSettingsLabel?: boolean;\r\n toolbarOpacity: number;\r\n}\r\n\r\n/** These are the UI settings that are stored in the Redux store. They control the color theme, the UI version,\r\n * how toolbar group buttons work, and the opacity of widgets in 1.0 and floating widget in 2.0 when the cursor\r\n * is not inside them. It is expect that an IModelApp using App UI components will create and register AppUiSettings with\r\n * defaults specific to their application. This would be done by calling the following.\r\n *\r\n * ```ts\r\n * UiFramework.registerUserSettingsProvider(new AppUiSettings(defaults));\r\n * ```\r\n *\r\n * @public\r\n */\r\nexport class AppUiSettings implements UserSettingsProvider {\r\n public readonly providerId = \"AppUiSettingsProvider\";\r\n\r\n private static _settingNamespace = \"AppUiSettings\";\r\n private _settings: Array<UiStateEntry<any>> = [];\r\n private _applyingLocalSettings = false;\r\n\r\n public colorTheme: UiStateEntry<string>;\r\n public dragInteraction: UiStateEntry<boolean>;\r\n /** @deprecated in 3.6. */\r\n public frameworkVersion: UiStateEntry<FrameworkVersionId>; // eslint-disable-line deprecation/deprecation\r\n public widgetOpacity: UiStateEntry<number>;\r\n public showWidgetIcon: UiStateEntry<boolean>;\r\n public autoCollapseUnpinnedPanels: UiStateEntry<boolean>;\r\n public animateToolSettings: UiStateEntry<boolean>;\r\n public useToolAsToolSettingsLabel: UiStateEntry<boolean>;\r\n public toolbarOpacity: UiStateEntry<number>;\r\n\r\n private setColorTheme = (theme: string) => {\r\n UiFramework.setColorTheme(theme);\r\n // always store to local storage to avoid flicker during startup if user is not yet logged-in\r\n window.localStorage.setItem(\"uifw:defaultTheme\", theme);\r\n };\r\n\r\n constructor(defaults: Partial<InitialAppUiSettings>) {\r\n this._settings = [];\r\n\r\n this.colorTheme = new UiStateEntry<string>(AppUiSettings._settingNamespace, \"ColorTheme\", UiFramework.getColorTheme, this.setColorTheme, defaults.colorTheme);\r\n this._settings.push(this.colorTheme);\r\n\r\n this.dragInteraction = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"DragInteraction\",\r\n () => UiFramework.useDragInteraction,\r\n (value: boolean) => UiFramework.setUseDragInteraction(value), defaults.dragInteraction);\r\n this._settings.push(this.dragInteraction);\r\n\r\n this.showWidgetIcon = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"ShowWidgetIcon\",\r\n () => UiFramework.showWidgetIcon,\r\n (value: boolean) => UiFramework.setShowWidgetIcon(value), defaults.showWidgetIcon);\r\n this._settings.push(this.showWidgetIcon);\r\n\r\n this.autoCollapseUnpinnedPanels = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"AutoCollapseUnpinnedPanels\",\r\n () => UiFramework.autoCollapseUnpinnedPanels,\r\n (value: boolean) => UiFramework.setAutoCollapseUnpinnedPanels(value), defaults.autoCollapseUnpinnedPanels);\r\n this._settings.push(this.autoCollapseUnpinnedPanels);\r\n\r\n this.frameworkVersion = new UiStateEntry<FrameworkVersionId>(AppUiSettings._settingNamespace, \"FrameworkVersion\", // eslint-disable-line deprecation/deprecation\r\n () => UiFramework.uiVersion, // eslint-disable-line deprecation/deprecation\r\n (value: FrameworkVersionId) => UiFramework.setUiVersion(value), defaults.frameworkVersion); // eslint-disable-line deprecation/deprecation\r\n this._settings.push(this.frameworkVersion); // eslint-disable-line deprecation/deprecation\r\n\r\n this.widgetOpacity = new UiStateEntry<number>(AppUiSettings._settingNamespace, \"WidgetOpacity\",\r\n () => UiFramework.getWidgetOpacity(), (value: number) => UiFramework.setWidgetOpacity(value), defaults.widgetOpacity);\r\n this._settings.push(this.widgetOpacity);\r\n\r\n this.animateToolSettings = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"AnimateToolSettings\",\r\n () => UiFramework.animateToolSettings,\r\n (value: boolean) => UiFramework.setAnimateToolSettings(value), defaults.animateToolSettings);\r\n this._settings.push(this.animateToolSettings);\r\n\r\n this.useToolAsToolSettingsLabel = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"UseToolAsToolSettingsLabel\",\r\n () => UiFramework.useToolAsToolSettingsLabel,\r\n (value: boolean) => UiFramework.setUseToolAsToolSettingsLabel(value), defaults.useToolAsToolSettingsLabel);\r\n this._settings.push(this.useToolAsToolSettingsLabel);\r\n\r\n this.toolbarOpacity = new UiStateEntry<number>(AppUiSettings._settingNamespace, \"ToolOpacity\",\r\n () => UiFramework.getToolbarOpacity(), (value: number) => UiFramework.setToolbarOpacity(value), defaults.toolbarOpacity);\r\n this._settings.push(this.toolbarOpacity);\r\n\r\n SyncUiEventDispatcher.onSyncUiEvent.addListener(this.handleSyncUiEvent);\r\n }\r\n\r\n private handleSyncUiEvent = async (args: UiSyncEventArgs) => {\r\n if (this._applyingLocalSettings)\r\n return;\r\n\r\n if (args.eventIds.has(\"configurableui:set_theme\")) {\r\n await this.colorTheme.saveSetting(UiFramework.getUiStateStorage());\r\n // always store as default theme in local storage to avoid flicker during startup if user is not yet logged-in\r\n window.localStorage.setItem(\"uifw:defaultTheme\", UiFramework.getColorTheme());\r\n }\r\n\r\n if (args.eventIds.has(\"configurableui:set-drag-interaction\"))\r\n await this.dragInteraction.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-framework-version\"))\r\n await this.frameworkVersion.saveSetting(UiFramework.getUiStateStorage()); // eslint-disable-line deprecation/deprecation\r\n\r\n if (args.eventIds.has(\"configurableui:set-show-widget-icon\"))\r\n await this.showWidgetIcon.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-auto-collapse-unpinned-panels\"))\r\n await this.autoCollapseUnpinnedPanels.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set_widget_opacity\"))\r\n await this.widgetOpacity.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-animate-tool-settings\"))\r\n await this.animateToolSettings.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-use-tool-as-tool-settings-label\"))\r\n await this.useToolAsToolSettingsLabel.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-toolbar-opacity\"))\r\n await this.toolbarOpacity.saveSetting(UiFramework.getUiStateStorage());\r\n };\r\n\r\n public async apply(storage: UiStateStorage): Promise<void> {\r\n this._applyingLocalSettings = true;\r\n for await (const setting of this._settings) {\r\n await setting.getSettingAndApplyValue(storage);\r\n }\r\n this._applyingLocalSettings = false;\r\n }\r\n\r\n public async loadUserSettings(storage: UiStateStorage): Promise<void> {\r\n await this.apply(storage);\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"AppUiSettings.js","sourceRoot":"","sources":["../../../../src/appui-react/uistate/AppUiSettings.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;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AAiB,GAAG,eAAe,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 Settings\r\n */\r\n\r\nimport { UiStateEntry, UiStateStorage } from \"@itwin/core-react\";\r\nimport { UiSyncEventArgs } from \"@itwin/appui-abstract\";\r\nimport { SyncUiEventDispatcher } from \"../syncui/SyncUiEventDispatcher\";\r\nimport { UiFramework, UserSettingsProvider } from \"../UiFramework\";\r\n\r\n// cSpell:ignore configurableui\r\n\r\n/** Default values that may be specified for [[AppUiSettings]].\r\n * @public\r\n */\r\nexport interface InitialAppUiSettings {\r\n colorTheme: string;\r\n dragInteraction: boolean;\r\n widgetOpacity: number;\r\n showWidgetIcon?: boolean;\r\n /** @alpha */\r\n autoCollapseUnpinnedPanels?: boolean;\r\n animateToolSettings?: boolean;\r\n useToolAsToolSettingsLabel?: boolean;\r\n toolbarOpacity: number;\r\n}\r\n\r\n/** These are the UI settings that are stored in the Redux store. They control the color theme, the UI version,\r\n * how toolbar group buttons work, and the opacity of widgets in 1.0 and floating widget in 2.0 when the cursor\r\n * is not inside them. It is expect that an IModelApp using App UI components will create and register AppUiSettings with\r\n * defaults specific to their application. This would be done by calling the following.\r\n *\r\n * ```ts\r\n * UiFramework.registerUserSettingsProvider(new AppUiSettings(defaults));\r\n * ```\r\n *\r\n * @public\r\n */\r\nexport class AppUiSettings implements UserSettingsProvider {\r\n public readonly providerId = \"AppUiSettingsProvider\";\r\n\r\n private static _settingNamespace = \"AppUiSettings\";\r\n private _settings: Array<UiStateEntry<any>> = [];\r\n private _applyingLocalSettings = false;\r\n\r\n public colorTheme: UiStateEntry<string>;\r\n public dragInteraction: UiStateEntry<boolean>;\r\n public widgetOpacity: UiStateEntry<number>;\r\n public showWidgetIcon: UiStateEntry<boolean>;\r\n public autoCollapseUnpinnedPanels: UiStateEntry<boolean>;\r\n public animateToolSettings: UiStateEntry<boolean>;\r\n public useToolAsToolSettingsLabel: UiStateEntry<boolean>;\r\n public toolbarOpacity: UiStateEntry<number>;\r\n\r\n private setColorTheme = (theme: string) => {\r\n UiFramework.setColorTheme(theme);\r\n // always store to local storage to avoid flicker during startup if user is not yet logged-in\r\n window.localStorage.setItem(\"uifw:defaultTheme\", theme);\r\n };\r\n\r\n constructor(defaults: Partial<InitialAppUiSettings>) {\r\n this._settings = [];\r\n\r\n this.colorTheme = new UiStateEntry<string>(AppUiSettings._settingNamespace, \"ColorTheme\", UiFramework.getColorTheme, this.setColorTheme, defaults.colorTheme);\r\n this._settings.push(this.colorTheme);\r\n\r\n this.dragInteraction = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"DragInteraction\",\r\n () => UiFramework.useDragInteraction,\r\n (value: boolean) => UiFramework.setUseDragInteraction(value), defaults.dragInteraction);\r\n this._settings.push(this.dragInteraction);\r\n\r\n this.showWidgetIcon = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"ShowWidgetIcon\",\r\n () => UiFramework.showWidgetIcon,\r\n (value: boolean) => UiFramework.setShowWidgetIcon(value), defaults.showWidgetIcon);\r\n this._settings.push(this.showWidgetIcon);\r\n\r\n this.autoCollapseUnpinnedPanels = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"AutoCollapseUnpinnedPanels\",\r\n () => UiFramework.autoCollapseUnpinnedPanels,\r\n (value: boolean) => UiFramework.setAutoCollapseUnpinnedPanels(value), defaults.autoCollapseUnpinnedPanels);\r\n this._settings.push(this.autoCollapseUnpinnedPanels);\r\n\r\n this.widgetOpacity = new UiStateEntry<number>(AppUiSettings._settingNamespace, \"WidgetOpacity\",\r\n () => UiFramework.getWidgetOpacity(), (value: number) => UiFramework.setWidgetOpacity(value), defaults.widgetOpacity);\r\n this._settings.push(this.widgetOpacity);\r\n\r\n this.animateToolSettings = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"AnimateToolSettings\",\r\n () => UiFramework.animateToolSettings,\r\n (value: boolean) => UiFramework.setAnimateToolSettings(value), defaults.animateToolSettings);\r\n this._settings.push(this.animateToolSettings);\r\n\r\n this.useToolAsToolSettingsLabel = new UiStateEntry<boolean>(AppUiSettings._settingNamespace, \"UseToolAsToolSettingsLabel\",\r\n () => UiFramework.useToolAsToolSettingsLabel,\r\n (value: boolean) => UiFramework.setUseToolAsToolSettingsLabel(value), defaults.useToolAsToolSettingsLabel);\r\n this._settings.push(this.useToolAsToolSettingsLabel);\r\n\r\n this.toolbarOpacity = new UiStateEntry<number>(AppUiSettings._settingNamespace, \"ToolOpacity\",\r\n () => UiFramework.getToolbarOpacity(), (value: number) => UiFramework.setToolbarOpacity(value), defaults.toolbarOpacity);\r\n this._settings.push(this.toolbarOpacity);\r\n\r\n SyncUiEventDispatcher.onSyncUiEvent.addListener(this.handleSyncUiEvent);\r\n }\r\n\r\n private handleSyncUiEvent = async (args: UiSyncEventArgs) => {\r\n if (this._applyingLocalSettings)\r\n return;\r\n\r\n if (args.eventIds.has(\"configurableui:set_theme\")) {\r\n await this.colorTheme.saveSetting(UiFramework.getUiStateStorage());\r\n // always store as default theme in local storage to avoid flicker during startup if user is not yet logged-in\r\n window.localStorage.setItem(\"uifw:defaultTheme\", UiFramework.getColorTheme());\r\n }\r\n\r\n if (args.eventIds.has(\"configurableui:set-drag-interaction\"))\r\n await this.dragInteraction.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-show-widget-icon\"))\r\n await this.showWidgetIcon.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-auto-collapse-unpinned-panels\"))\r\n await this.autoCollapseUnpinnedPanels.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set_widget_opacity\"))\r\n await this.widgetOpacity.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-animate-tool-settings\"))\r\n await this.animateToolSettings.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-use-tool-as-tool-settings-label\"))\r\n await this.useToolAsToolSettingsLabel.saveSetting(UiFramework.getUiStateStorage());\r\n\r\n if (args.eventIds.has(\"configurableui:set-toolbar-opacity\"))\r\n await this.toolbarOpacity.saveSetting(UiFramework.getUiStateStorage());\r\n };\r\n\r\n public async apply(storage: UiStateStorage): Promise<void> {\r\n this._applyingLocalSettings = true;\r\n for await (const setting of this._settings) {\r\n await setting.getSettingAndApplyValue(storage);\r\n }\r\n this._applyingLocalSettings = false;\r\n }\r\n\r\n public async loadUserSettings(storage: UiStateStorage): Promise<void> {\r\n await this.apply(storage);\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"PropsHelper.js","sourceRoot":"","sources":["../../../../src/appui-react/utils/PropsHelper.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAAiH;AACjH,kDAA+D;AAC/D,gDAA6C;AAE7C;;GAEG;AACH,MAAa,WAAW;IACtB,sHAAsH;IAC/G,MAAM,CAAC,aAAa,CAAC,aAAyE,EAAE,SAAkB;QACvH,IAAI,aAAa,EAAE;YACjB,OAAO,aAAa,CAAC;SACtB;QAED,IAAI,QAAQ,GAAG,EAAE,CAAC;QAClB,IAAI,SAAS;YACX,QAAQ,GAAG,yBAAW,CAAC,YAAY,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;QACpE,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,iBAAiB,CAAC,IAAoD;QAClF,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,IAAI,KAAK,QAAQ;YAC1B,KAAK,GAAG,IAAI,CAAC;aACV,IAAI,IAAI,YAAY,uCAAsB;YAC7C,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;;YAEnB,KAAK,GAAG,IAAI,EAAE,CAAC;QACjB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+JAA+J;IAC/J,gEAAgE;IACzD,MAAM,CAAC,OAAO,CAAC,QAA2D;QAC/E,IAAI,QAAQ,YAAY,uCAAsB;YAC5C,OAAO,oBAAC,iBAAI,IAAC,QAAQ,EAAE,QAAQ,CAAC,KAAK,GAAI,CAAC;QAE5C,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,oBAAC,iBAAI,IAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/D,CAAC;IAED,4FAA4F;IACrF,MAAM,CAAC,cAAc,CAAC,MAAW,EAAE,OAAY;QACpD,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC;gBAAE,OAAO,KAAK,CAAC;SAChD;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACM,MAAM,CAAC,4BAA4B,CAAC,QAAkB,EAAE,YAA+B;QAC5F,uBAAuB;QACvB,IAAI,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;YAC9C,OAAO,EAAE,CAAC;QAEZ,uBAAuB;QACvB,IAAI,CAAC,YAAY;YACf,YAAY,GAAG,IAAI,GAAG,EAAc,CAAC;QAEvC,MAAM,IAAI,GAAG,uBAAU,CAAC,WAAW,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAE5D,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAC,IAAI,EAAC,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACxD,CAAC;CACF;AAtDD,kCAsDC","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 Utilities\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { AbstractWidgetProps, BackstageItem, ConditionalStringValue, StringGetter } from \"@itwin/appui-abstract\";\r\nimport { Icon, IconHelper, IconSpec } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** A set of helper methods for various props\r\n * @public\r\n */\r\nexport class PropsHelper {\r\n /** Get spec for returning a string. Could be a simple string of a 'StringGetter' method used to return the string. */\r\n public static getStringSpec(explicitValue: string | StringGetter | ConditionalStringValue | undefined, stringKey?: string): string | StringGetter | ConditionalStringValue {\r\n if (explicitValue) {\r\n return explicitValue;\r\n }\r\n\r\n let outValue = \"\";\r\n if (stringKey)\r\n outValue = UiFramework.localization.getLocalizedString(stringKey);\r\n return outValue;\r\n }\r\n\r\n /** Get the display string. */\r\n public static getStringFromSpec(spec: string | StringGetter | ConditionalStringValue): string {\r\n let label = \"\";\r\n if (typeof spec === \"string\")\r\n label = spec;\r\n else if (spec instanceof ConditionalStringValue)\r\n label = spec.value;\r\n else\r\n label = spec();\r\n return label;\r\n }\r\n\r\n /** Get JSX element that defines an icon. If iconSpec is a string, then a web-font icon class is used otherwise a ReactNode holding an SVG icon is assumed. */\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n public static getIcon(iconSpec: string | ConditionalStringValue | React.ReactNode): JSX.Element | undefined {\r\n if (iconSpec instanceof ConditionalStringValue)\r\n return <Icon iconSpec={iconSpec.value} />;\r\n\r\n return (iconSpec) ? <Icon iconSpec={iconSpec} /> : undefined;\r\n }\r\n\r\n /** returns true if the two objects are the same using a shallow compare of each property */\r\n public static isShallowEqual(newObj: any, prevObj: any) {\r\n for (const key in newObj) {\r\n if (newObj[key] !== prevObj[key]) return false;\r\n }\r\n return true;\r\n }\r\n public static getAbstractPropsForReactIcon(iconSpec: IconSpec, internalData?: Map<string, any>): Partial<AbstractWidgetProps> | Partial<BackstageItem> { // eslint-disable-line deprecation/deprecation\r\n // istanbul ignore else\r\n if (!iconSpec || !React.isValidElement(iconSpec))\r\n return {};\r\n\r\n // istanbul ignore else\r\n if (!internalData)\r\n internalData = new Map<string,any>();\r\n\r\n const icon = IconHelper.getIconData(iconSpec, internalData);\r\n\r\n return (icon === \"\" ? {icon} : {icon, internalData });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"PropsHelper.js","sourceRoot":"","sources":["../../../../src/appui-react/utils/PropsHelper.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,0DAAiH;AACjH,kDAA+D;AAC/D,gDAA6C;AAE7C;;GAEG;AACH,MAAa,WAAW;IACtB,sHAAsH;IAC/G,MAAM,CAAC,aAAa,CAAC,aAAyE,EAAE,SAAkB;QACvH,IAAI,aAAa,EAAE;YACjB,OAAO,aAAa,CAAC;SACtB;QAED,IAAI,QAAQ,GAAG,EAAE,CAAC;QAClB,IAAI,SAAS;YACX,QAAQ,GAAG,yBAAW,CAAC,YAAY,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;QACpE,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,8BAA8B;IACvB,MAAM,CAAC,iBAAiB,CAAC,IAAoD;QAClF,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,IAAI,KAAK,QAAQ;YAC1B,KAAK,GAAG,IAAI,CAAC;aACV,IAAI,IAAI,YAAY,uCAAsB;YAC7C,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;;YAEnB,KAAK,GAAG,IAAI,EAAE,CAAC;QACjB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+JAA+J;IAC/J,gEAAgE;IACzD,MAAM,CAAC,OAAO,CAAC,QAA2D;QAC/E,IAAI,QAAQ,YAAY,uCAAsB;YAC5C,OAAO,oBAAC,iBAAI,IAAC,QAAQ,EAAE,QAAQ,CAAC,KAAK,GAAI,CAAC;QAE5C,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,oBAAC,iBAAI,IAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/D,CAAC;IAED,4FAA4F;IACrF,MAAM,CAAC,cAAc,CAAC,MAAW,EAAE,OAAY;QACpD,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC;gBAAE,OAAO,KAAK,CAAC;SAChD;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACM,MAAM,CAAC,4BAA4B,CAAC,QAAkB,EAAE,YAA+B;QAC5F,uBAAuB;QACvB,IAAI,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;YAC9C,OAAO,EAAE,CAAC;QAEZ,uBAAuB;QACvB,IAAI,CAAC,YAAY;YACf,YAAY,GAAG,IAAI,GAAG,EAAc,CAAC;QAEvC,MAAM,IAAI,GAAG,uBAAU,CAAC,WAAW,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAE5D,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAC,IAAI,EAAC,CAAC,CAAC,CAAC,EAAC,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IACxD,CAAC;CACF;AAtDD,kCAsDC","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 Utilities\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { AbstractWidgetProps, BackstageItem, ConditionalStringValue, StringGetter } from \"@itwin/appui-abstract\";\r\nimport { Icon, IconHelper, IconSpec } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** A set of helper methods for various props\r\n * @public\r\n */\r\nexport class PropsHelper {\r\n /** Get spec for returning a string. Could be a simple string of a 'StringGetter' method used to return the string. */\r\n public static getStringSpec(explicitValue: string | StringGetter | ConditionalStringValue | undefined, stringKey?: string): string | StringGetter | ConditionalStringValue {\r\n if (explicitValue) {\r\n return explicitValue;\r\n }\r\n\r\n let outValue = \"\";\r\n if (stringKey)\r\n outValue = UiFramework.localization.getLocalizedString(stringKey);\r\n return outValue;\r\n }\r\n\r\n /** Get the display string. */\r\n public static getStringFromSpec(spec: string | StringGetter | ConditionalStringValue): string {\r\n let label = \"\";\r\n if (typeof spec === \"string\")\r\n label = spec;\r\n else if (spec instanceof ConditionalStringValue)\r\n label = spec.value;\r\n else\r\n label = spec();\r\n return label;\r\n }\r\n\r\n /** Get JSX element that defines an icon. If iconSpec is a string, then a web-font icon class is used otherwise a ReactNode holding an SVG icon is assumed. */\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n public static getIcon(iconSpec: string | ConditionalStringValue | React.ReactNode): JSX.Element | undefined {\r\n if (iconSpec instanceof ConditionalStringValue)\r\n return <Icon iconSpec={iconSpec.value} />;\r\n\r\n return (iconSpec) ? <Icon iconSpec={iconSpec} /> : undefined;\r\n }\r\n\r\n /** returns true if the two objects are the same using a shallow compare of each property */\r\n public static isShallowEqual(newObj: any, prevObj: any) {\r\n for (const key in newObj) {\r\n if (newObj[key] !== prevObj[key]) return false;\r\n }\r\n return true;\r\n }\r\n public static getAbstractPropsForReactIcon(iconSpec: IconSpec, internalData?: Map<string, any>): Partial<AbstractWidgetProps> | Partial<BackstageItem> {\r\n // istanbul ignore else\r\n if (!iconSpec || !React.isValidElement(iconSpec))\r\n return {};\r\n\r\n // istanbul ignore else\r\n if (!internalData)\r\n internalData = new Map<string,any>();\r\n\r\n const icon = IconHelper.getIconData(iconSpec, internalData);\r\n\r\n return (icon === \"\" ? {icon} : {icon, internalData });\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"UiShowHideManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/ut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O,CAAC,MAAM,CAAC,WAAW;IAI1B,OAAO,CAAC,MAAM,CAAC,UAAU;IAKzB,OAAO,CAAC,MAAM,CAAC,MAAM;IAIrB,OAAO,CAAC,MAAM,CAAC,MAAM;IAIrB,gBAAgB;WACF,SAAS;CAUxB"}
@@ -177,14 +177,13 @@ class UiShowHideManager {
177
177
  /** @internal */
178
178
  static terminate() {
179
179
  UiShowHideManager.cancelTimer();
180
- // Ensure that next use will have default values for tests.
181
- UiShowHideManager._isUiVisible = true;
182
- UiShowHideManager._autoHideUi = true;
183
- UiShowHideManager._showHidePanels = false;
184
- UiShowHideManager._showHideFooter = false;
185
- UiShowHideManager._inactivityTime = exports.INACTIVITY_TIME_DEFAULT;
186
- UiShowHideManager._useProximityOpacity = false;
187
- UiShowHideManager._snapWidgetOpacity = false;
180
+ this._isUiVisible = true;
181
+ this._autoHideUi = true;
182
+ this._showHidePanels = false;
183
+ this._showHideFooter = false;
184
+ this._inactivityTime = exports.INACTIVITY_TIME_DEFAULT;
185
+ this._useProximityOpacity = false;
186
+ this._snapWidgetOpacity = false;
188
187
  }
189
188
  }
190
189
  exports.UiShowHideManager = UiShowHideManager;
@@ -1 +1 @@
1
- {"version":3,"file":"UiShowHideManager.js","sourceRoot":"","sources":["../../../../src/appui-react/utils/UiShowHideManager.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,kDAAyE;AACzE,2EAAuF;AACvF,gDAAmE;AAEnE;;GAEG;AACH,MAAa,0BAA0B;IAAvC;QAKkB,eAAU,GAAG,4BAA4B,CAAC;IA+B5D,CAAC;IA7BQ,MAAM,CAAC,UAAU;QACtB,yBAAW,CAAC,4BAA4B,CAAC,IAAI,0BAA0B,EAAE,CAAC,CAAC;IAC7E,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,OAAuB;QACnD,IAAI,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,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M,CAAC,WAAW;QACxB,YAAY,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAEO,MAAM,CAAC,UAAU;QACvB,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAChC,iBAAiB,CAAC,QAAQ,GAAG,UAAU,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAC;IACvG,CAAC;IAEO,MAAM,CAAC,MAAM;QACnB,yBAAW,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAEO,MAAM,CAAC,MAAM;QACnB,yBAAW,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IACT,MAAM,CAAC,SAAS;QACrB,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAChC,2DAA2D;QAC3D,iBAAiB,CAAC,YAAY,GAAG,IAAI,CAAC;QACtC,iBAAiB,CAAC,WAAW,GAAG,IAAI,CAAC;QACrC,iBAAiB,CAAC,eAAe,GAAG,KAAK,CAAC;QAC1C,iBAAiB,CAAC,eAAe,GAAG,KAAK,CAAC;QAC1C,iBAAiB,CAAC,eAAe,GAAG,+BAAuB,CAAC;QAC5D,iBAAiB,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAC/C,iBAAiB,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAC/C,CAAC;;AAlKH,8CAmKC;AAlKgB,8BAAY,GAAY,IAAI,CAAC;AAC7B,6BAAW,GAAY,IAAI,CAAC;AAC5B,iCAAe,GAAY,KAAK,CAAC;AACjC,iCAAe,GAAY,KAAK,CAAC;AACjC,iCAAe,GAAW,+BAAuB,CAAC;AAElD,sCAAoB,GAAY,KAAK,CAAC;AACtC,oCAAkB,GAAY,KAAK,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 Utilities\r\n */\r\n\r\nimport { UiStateStorage, UiStateStorageStatus } from \"@itwin/core-react\";\r\nimport { SyncUiEventDispatcher, SyncUiEventId } from \"../syncui/SyncUiEventDispatcher\";\r\nimport { UiFramework, UserSettingsProvider } from \"../UiFramework\";\r\n\r\n/** Class that maintain UiShowHide user settings between sessions\r\n * @internal\r\n */\r\nexport class UiShowHideSettingsProvider implements UserSettingsProvider {\r\n private static _settingsNamespace = \"AppUiSettings\";\r\n private static _autoHideUiKey = \"AutoHideUi\";\r\n private static _useProximityOpacityKey = \"UseProximityOpacity\";\r\n private static _snapWidgetOpacityKey = \"SnapWidgetOpacity\";\r\n public readonly providerId = \"UiShowHideSettingsProvider\";\r\n\r\n public static initialize() {\r\n UiFramework.registerUserSettingsProvider(new UiShowHideSettingsProvider());\r\n }\r\n\r\n public async loadUserSettings(storage: UiStateStorage): Promise<void> {\r\n let result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._autoHideUiKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setAutoHideUi(result.setting);\r\n\r\n result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._useProximityOpacityKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setUseProximityOpacity(result.setting);\r\n\r\n result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._snapWidgetOpacityKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setSnapWidgetOpacity(result.setting);\r\n }\r\n\r\n public static async storeAutoHideUi(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._autoHideUiKey, v);\r\n }\r\n\r\n public static async storeUseProximityOpacity(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._useProximityOpacityKey, v);\r\n }\r\n\r\n public static async storeSnapWidgetOpacity(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._snapWidgetOpacityKey, v);\r\n }\r\n}\r\n\r\n/** The default inactivity time.\r\n * @internal\r\n */\r\nexport const INACTIVITY_TIME_DEFAULT = 3500; /** Wait 3.5 seconds */\r\n\r\n/** Maintains Ui Show/Hide state. The `Ui` includes widgets, panels and the status bar.\r\n * @public\r\n */\r\nexport class UiShowHideManager {\r\n private static _isUiVisible: boolean = true;\r\n private static _autoHideUi: boolean = true;\r\n private static _showHidePanels: boolean = false;\r\n private static _showHideFooter: boolean = false;\r\n private static _inactivityTime: number = INACTIVITY_TIME_DEFAULT;\r\n private static _timeout: NodeJS.Timeout;\r\n private static _useProximityOpacity: boolean = false;\r\n private static _snapWidgetOpacity: boolean = false;\r\n\r\n /** Determines if the Ui is visible */\r\n public static get isUiVisible() {\r\n return UiShowHideManager._isUiVisible;\r\n }\r\n public static set isUiVisible(visible: boolean) {\r\n UiShowHideManager._isUiVisible = visible;\r\n }\r\n\r\n /** @internal */\r\n public static setAutoHideUi(value: boolean) {\r\n UiShowHideManager._autoHideUi = value;\r\n }\r\n\r\n /** @internal */\r\n public static setUseProximityOpacity(value: boolean) {\r\n UiShowHideManager._useProximityOpacity = value;\r\n }\r\n\r\n /** @internal */\r\n public static setSnapWidgetOpacity(value: boolean) {\r\n UiShowHideManager._snapWidgetOpacity = value;\r\n }\r\n\r\n /** Determines whether the `auto-hide Ui` feature is on. Defaults to false.\r\n * When true, the Ui automatically hides after a few seconds of inactivity.\r\n */\r\n public static get autoHideUi(): boolean {\r\n return UiShowHideManager._autoHideUi;\r\n }\r\n\r\n public static set autoHideUi(autoHide: boolean) {\r\n void UiShowHideSettingsProvider.storeAutoHideUi(autoHide);\r\n UiShowHideManager._autoHideUi = autoHide;\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n }\r\n /** Determines whether the widget panels are shown and hidden. Defaults to false. */\r\n public static get showHidePanels(): boolean {\r\n return UiShowHideManager._showHidePanels;\r\n }\r\n public static set showHidePanels(showHide: boolean) {\r\n UiShowHideManager._showHidePanels = showHide;\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines whether the status bar is shown and hidden. Defaults to false. */\r\n public static get showHideFooter(): boolean {\r\n return UiShowHideManager._showHideFooter;\r\n }\r\n public static set showHideFooter(showHide: boolean) {\r\n UiShowHideManager._showHideFooter = showHide;\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines the amount of inactivity time before the Ui is hidden. Defaults to 3.5 seconds. */\r\n public static get inactivityTime(): number {\r\n return UiShowHideManager._inactivityTime;\r\n }\r\n public static set inactivityTime(time: number) {\r\n UiShowHideManager._inactivityTime = time;\r\n }\r\n\r\n /** Determines whether the proximity of the mouse should alter the opacity of a toolbar. Defaults to true. */\r\n public static get useProximityOpacity(): boolean {\r\n return UiShowHideManager._useProximityOpacity;\r\n }\r\n public static set useProximityOpacity(value: boolean) {\r\n UiShowHideManager._useProximityOpacity = value;\r\n void UiShowHideSettingsProvider.storeUseProximityOpacity(value);\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines whether the opacity of a toolbar should snap. Defaults to false. */\r\n public static get snapWidgetOpacity(): boolean {\r\n return UiShowHideManager._snapWidgetOpacity;\r\n }\r\n public static set snapWidgetOpacity(value: boolean) {\r\n UiShowHideManager._snapWidgetOpacity = value;\r\n void UiShowHideSettingsProvider.storeSnapWidgetOpacity(value);\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Handler for when a Frontstage is ready */\r\n public static handleFrontstageReady() {\r\n // istanbul ignore next\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndResetTimer();\r\n }\r\n\r\n /** Handler for when the mouse moves over the content area */\r\n public static handleContentMouseMove(_event?: React.MouseEvent<HTMLElement, MouseEvent>) {\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndResetTimer();\r\n }\r\n\r\n /** Handler for when the mouse enters a widget */\r\n public static handleWidgetMouseEnter(_event?: React.MouseEvent<HTMLElement, MouseEvent>) {\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndCancelTimer();\r\n }\r\n\r\n /** Shows the Ui and resets the inactivity timer */\r\n public static showUiAndResetTimer() {\r\n setTimeout(() => {\r\n UiShowHideManager.showUi();\r\n UiShowHideManager.resetTimer();\r\n });\r\n }\r\n\r\n /** Shows the Ui and cancels the inactivity timer */\r\n public static showUiAndCancelTimer() {\r\n setTimeout(() => {\r\n UiShowHideManager.showUi();\r\n UiShowHideManager.cancelTimer();\r\n });\r\n }\r\n\r\n private static cancelTimer() {\r\n clearTimeout(UiShowHideManager._timeout);\r\n }\r\n\r\n private static resetTimer() {\r\n UiShowHideManager.cancelTimer();\r\n UiShowHideManager._timeout = setTimeout(UiShowHideManager.hideUi, UiShowHideManager._inactivityTime);\r\n }\r\n\r\n private static showUi() {\r\n UiFramework.setIsUiVisible(true);\r\n }\r\n\r\n private static hideUi() {\r\n UiFramework.setIsUiVisible(false);\r\n }\r\n\r\n /** @internal */\r\n public static terminate() {\r\n UiShowHideManager.cancelTimer();\r\n // Ensure that next use will have default values for tests.\r\n UiShowHideManager._isUiVisible = true;\r\n UiShowHideManager._autoHideUi = true;\r\n UiShowHideManager._showHidePanels = false;\r\n UiShowHideManager._showHideFooter = false;\r\n UiShowHideManager._inactivityTime = INACTIVITY_TIME_DEFAULT;\r\n UiShowHideManager._useProximityOpacity = false;\r\n UiShowHideManager._snapWidgetOpacity = false;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"UiShowHideManager.js","sourceRoot":"","sources":["../../../../src/appui-react/utils/UiShowHideManager.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,kDAAyE;AACzE,2EAAuF;AACvF,gDAAmE;AAEnE;;GAEG;AACH,MAAa,0BAA0B;IAAvC;QAKkB,eAAU,GAAG,4BAA4B,CAAC;IA+B5D,CAAC;IA7BQ,MAAM,CAAC,UAAU;QACtB,yBAAW,CAAC,4BAA4B,CAAC,IAAI,0BAA0B,EAAE,CAAC,CAAC;IAC7E,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,OAAuB;QACnD,IAAI,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,cAAc,CAAC,CAAC;QAChI,IAAI,MAAM,CAAC,MAAM,KAAK,iCAAoB,CAAC,OAAO;YAChD,iBAAiB,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAElD,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;QACrI,IAAI,MAAM,CAAC,MAAM,KAAK,iCAAoB,CAAC,OAAO;YAChD,iBAAiB,CAAC,sBAAsB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAE3D,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;QACnI,IAAI,MAAM,CAAC,MAAM,KAAK,iCAAoB,CAAC,OAAO;YAChD,iBAAiB,CAAC,oBAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC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C,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,+BAAuB,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAClC,CAAC;;AAjKH,8CAkKC;AAjKgB,8BAAY,GAAY,IAAI,CAAC;AAC7B,6BAAW,GAAY,IAAI,CAAC;AAC5B,iCAAe,GAAY,KAAK,CAAC;AACjC,iCAAe,GAAY,KAAK,CAAC;AACjC,iCAAe,GAAW,+BAAuB,CAAC;AAElD,sCAAoB,GAAY,KAAK,CAAC;AACtC,oCAAkB,GAAY,KAAK,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 Utilities\r\n */\r\n\r\nimport { UiStateStorage, UiStateStorageStatus } from \"@itwin/core-react\";\r\nimport { SyncUiEventDispatcher, SyncUiEventId } from \"../syncui/SyncUiEventDispatcher\";\r\nimport { UiFramework, UserSettingsProvider } from \"../UiFramework\";\r\n\r\n/** Class that maintain UiShowHide user settings between sessions\r\n * @internal\r\n */\r\nexport class UiShowHideSettingsProvider implements UserSettingsProvider {\r\n private static _settingsNamespace = \"AppUiSettings\";\r\n private static _autoHideUiKey = \"AutoHideUi\";\r\n private static _useProximityOpacityKey = \"UseProximityOpacity\";\r\n private static _snapWidgetOpacityKey = \"SnapWidgetOpacity\";\r\n public readonly providerId = \"UiShowHideSettingsProvider\";\r\n\r\n public static initialize() {\r\n UiFramework.registerUserSettingsProvider(new UiShowHideSettingsProvider());\r\n }\r\n\r\n public async loadUserSettings(storage: UiStateStorage): Promise<void> {\r\n let result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._autoHideUiKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setAutoHideUi(result.setting);\r\n\r\n result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._useProximityOpacityKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setUseProximityOpacity(result.setting);\r\n\r\n result = await storage.getSetting(UiShowHideSettingsProvider._settingsNamespace, UiShowHideSettingsProvider._snapWidgetOpacityKey);\r\n if (result.status === UiStateStorageStatus.Success)\r\n UiShowHideManager.setSnapWidgetOpacity(result.setting);\r\n }\r\n\r\n public static async storeAutoHideUi(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._autoHideUiKey, v);\r\n }\r\n\r\n public static async storeUseProximityOpacity(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._useProximityOpacityKey, v);\r\n }\r\n\r\n public static async storeSnapWidgetOpacity(v: boolean, storage?: UiStateStorage) {\r\n void (storage ?? UiFramework.getUiStateStorage()).saveSetting(this._settingsNamespace, this._snapWidgetOpacityKey, v);\r\n }\r\n}\r\n\r\n/** The default inactivity time.\r\n * @internal\r\n */\r\nexport const INACTIVITY_TIME_DEFAULT = 3500; /** Wait 3.5 seconds */\r\n\r\n/** Maintains Ui Show/Hide state. The `Ui` includes widgets, panels and the status bar.\r\n * @public\r\n */\r\nexport class UiShowHideManager {\r\n private static _isUiVisible: boolean = true;\r\n private static _autoHideUi: boolean = true;\r\n private static _showHidePanels: boolean = false;\r\n private static _showHideFooter: boolean = false;\r\n private static _inactivityTime: number = INACTIVITY_TIME_DEFAULT;\r\n private static _timeout: NodeJS.Timeout;\r\n private static _useProximityOpacity: boolean = false;\r\n private static _snapWidgetOpacity: boolean = false;\r\n\r\n /** Determines if the Ui is visible */\r\n public static get isUiVisible() {\r\n return UiShowHideManager._isUiVisible;\r\n }\r\n public static set isUiVisible(visible: boolean) {\r\n UiShowHideManager._isUiVisible = visible;\r\n }\r\n\r\n /** @internal */\r\n public static setAutoHideUi(value: boolean) {\r\n UiShowHideManager._autoHideUi = value;\r\n }\r\n\r\n /** @internal */\r\n public static setUseProximityOpacity(value: boolean) {\r\n UiShowHideManager._useProximityOpacity = value;\r\n }\r\n\r\n /** @internal */\r\n public static setSnapWidgetOpacity(value: boolean) {\r\n UiShowHideManager._snapWidgetOpacity = value;\r\n }\r\n\r\n /** Determines whether the `auto-hide Ui` feature is on. Defaults to false.\r\n * When true, the Ui automatically hides after a few seconds of inactivity.\r\n */\r\n public static get autoHideUi(): boolean {\r\n return UiShowHideManager._autoHideUi;\r\n }\r\n\r\n public static set autoHideUi(autoHide: boolean) {\r\n void UiShowHideSettingsProvider.storeAutoHideUi(autoHide);\r\n UiShowHideManager._autoHideUi = autoHide;\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n }\r\n /** Determines whether the widget panels are shown and hidden. Defaults to false. */\r\n public static get showHidePanels(): boolean {\r\n return UiShowHideManager._showHidePanels;\r\n }\r\n public static set showHidePanels(showHide: boolean) {\r\n UiShowHideManager._showHidePanels = showHide;\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines whether the status bar is shown and hidden. Defaults to false. */\r\n public static get showHideFooter(): boolean {\r\n return UiShowHideManager._showHideFooter;\r\n }\r\n public static set showHideFooter(showHide: boolean) {\r\n UiShowHideManager._showHideFooter = showHide;\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines the amount of inactivity time before the Ui is hidden. Defaults to 3.5 seconds. */\r\n public static get inactivityTime(): number {\r\n return UiShowHideManager._inactivityTime;\r\n }\r\n public static set inactivityTime(time: number) {\r\n UiShowHideManager._inactivityTime = time;\r\n }\r\n\r\n /** Determines whether the proximity of the mouse should alter the opacity of a toolbar. Defaults to true. */\r\n public static get useProximityOpacity(): boolean {\r\n return UiShowHideManager._useProximityOpacity;\r\n }\r\n public static set useProximityOpacity(value: boolean) {\r\n UiShowHideManager._useProximityOpacity = value;\r\n void UiShowHideSettingsProvider.storeUseProximityOpacity(value);\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Determines whether the opacity of a toolbar should snap. Defaults to false. */\r\n public static get snapWidgetOpacity(): boolean {\r\n return UiShowHideManager._snapWidgetOpacity;\r\n }\r\n public static set snapWidgetOpacity(value: boolean) {\r\n UiShowHideManager._snapWidgetOpacity = value;\r\n void UiShowHideSettingsProvider.storeSnapWidgetOpacity(value);\r\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(SyncUiEventId.ShowHideManagerSettingChange);\r\n UiFramework.onUiVisibilityChanged.emit({ visible: UiFramework.getIsUiVisible() });\r\n }\r\n\r\n /** Handler for when a Frontstage is ready */\r\n public static handleFrontstageReady() {\r\n // istanbul ignore next\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndResetTimer();\r\n }\r\n\r\n /** Handler for when the mouse moves over the content area */\r\n public static handleContentMouseMove(_event?: React.MouseEvent<HTMLElement, MouseEvent>) {\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndResetTimer();\r\n }\r\n\r\n /** Handler for when the mouse enters a widget */\r\n public static handleWidgetMouseEnter(_event?: React.MouseEvent<HTMLElement, MouseEvent>) {\r\n if (!UiShowHideManager._autoHideUi)\r\n return;\r\n\r\n UiShowHideManager.showUiAndCancelTimer();\r\n }\r\n\r\n /** Shows the Ui and resets the inactivity timer */\r\n public static showUiAndResetTimer() {\r\n setTimeout(() => {\r\n UiShowHideManager.showUi();\r\n UiShowHideManager.resetTimer();\r\n });\r\n }\r\n\r\n /** Shows the Ui and cancels the inactivity timer */\r\n public static showUiAndCancelTimer() {\r\n setTimeout(() => {\r\n UiShowHideManager.showUi();\r\n UiShowHideManager.cancelTimer();\r\n });\r\n }\r\n\r\n private static cancelTimer() {\r\n clearTimeout(UiShowHideManager._timeout);\r\n }\r\n\r\n private static resetTimer() {\r\n UiShowHideManager.cancelTimer();\r\n UiShowHideManager._timeout = setTimeout(UiShowHideManager.hideUi, UiShowHideManager._inactivityTime);\r\n }\r\n\r\n private static showUi() {\r\n UiFramework.setIsUiVisible(true);\r\n }\r\n\r\n private static hideUi() {\r\n UiFramework.setIsUiVisible(false);\r\n }\r\n\r\n /** @internal */\r\n public static terminate() {\r\n UiShowHideManager.cancelTimer();\r\n this._isUiVisible = true;\r\n this._autoHideUi = true;\r\n this._showHidePanels = false;\r\n this._showHideFooter = false;\r\n this._inactivityTime = INACTIVITY_TIME_DEFAULT;\r\n this._useProximityOpacity = false;\r\n this._snapWidgetOpacity = false;\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/Content.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,gBAAgB;AAChB,wBAAgB,aAAa,gBAqB5B;AAED,gBAAgB;AAChB,wBAAgB,YAAY,IAAI,SAAS,GAAG,SAAS,CAyBpD"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/Content.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD,gBAAgB;AAChB,wBAAgB,aAAa,gBAqB5B;AAED,gBAAgB;AAChB,wBAAgB,YAAY,IAAI,SAAS,GAAG,SAAS,CA2BpD"}
@@ -11,9 +11,10 @@ exports.useWidgetDef = exports.WidgetContent = void 0;
11
11
  const React = require("react");
12
12
  const appui_abstract_1 = require("@itwin/appui-abstract");
13
13
  const appui_layout_react_1 = require("@itwin/appui-layout-react");
14
- const Frontstage_1 = require("../frontstage/Frontstage");
15
14
  const FrontstageManager_1 = require("../frontstage/FrontstageManager");
15
+ const FrontstageDef_1 = require("../frontstage/FrontstageDef");
16
16
  const useTransientState_1 = require("./useTransientState");
17
+ const core_bentley_1 = require("@itwin/core-bentley");
17
18
  /** @internal */
18
19
  function WidgetContent() {
19
20
  var _a, _b, _c;
@@ -29,13 +30,14 @@ function WidgetContent() {
29
30
  widget === null || widget === void 0 ? void 0 : widget.restoreTransientState();
30
31
  }, [widget]);
31
32
  (0, useTransientState_1.useTransientState)(onSave, onRestore);
32
- return (React.createElement(appui_layout_react_1.ScrollableWidgetContent, { itemId: itemId, providerId: (_c = widget === null || widget === void 0 ? void 0 : widget.initialProps) === null || _c === void 0 ? void 0 : _c.providerId }, widget === null || widget === void 0 ? void 0 : widget.reactNode));
33
+ return (React.createElement(appui_layout_react_1.ScrollableWidgetContent, { itemId: itemId, providerId: (_c = widget === null || widget === void 0 ? void 0 : widget.initialConfig) === null || _c === void 0 ? void 0 : _c.providerId }, widget === null || widget === void 0 ? void 0 : widget.reactNode));
33
34
  }
34
35
  exports.WidgetContent = WidgetContent;
35
36
  /** @internal */
36
37
  function useWidgetDef() {
37
38
  const tabId = React.useContext(appui_layout_react_1.TabIdContext);
38
- const frontstage = (0, Frontstage_1.useActiveFrontstageDef)();
39
+ (0, core_bentley_1.assert)(!!tabId);
40
+ const frontstage = (0, FrontstageDef_1.useActiveFrontstageDef)();
39
41
  const [widgetDef, setWidgetDef] = React.useState(() => frontstage === null || frontstage === void 0 ? void 0 : frontstage.findWidgetDef(tabId));
40
42
  React.useEffect(() => {
41
43
  const listener = (args) => {
@@ -51,7 +53,7 @@ function useWidgetDef() {
51
53
  const handlerActivated = () => {
52
54
  setWidgetDef(frontstage === null || frontstage === void 0 ? void 0 : frontstage.findWidgetDef(tabId));
53
55
  };
54
- return appui_abstract_1.UiItemsManager.onUiProviderRegisteredEvent.addListener(handlerActivated); // eslint-disable-line deprecation/deprecation
56
+ return appui_abstract_1.UiItemsManager.onUiProviderRegisteredEvent.addListener(handlerActivated);
55
57
  }, [frontstage, tabId]);
56
58
  return widgetDef;
57
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/Content.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,+BAA+B;AAC/B,0DAAuD;AACvD,kEAAkF;AAClF,yDAAkE;AAElE,uEAAoE;AAEpE,2DAAwD;AAExD,gBAAgB;AAChB,SAAgB,aAAa;;IAC3B,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAC9B,uBAAuB;IACvB,MAAM,MAAM,GAAG,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,mCAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,mCAAI,SAAS,CAAC;IACxD,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACpC,uBAAuB;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,EAAE,CAAC;IAC/B,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACb,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACvC,uBAAuB;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,qBAAqB,EAAE,CAAC;IAClC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACb,IAAA,qCAAiB,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACrC,OAAO,CACL,oBAAC,4CAAuB,IACtB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,0CAAE,UAAU,IAE3C,MAAM,aAAN,MAAM,uBAAN,MAAM,CAA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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\nimport * as React from \"react\";\r\nimport { UiItemsManager } from \"@itwin/appui-abstract\";\r\nimport { ScrollableWidgetContent, TabIdContext } from \"@itwin/appui-layout-react\";\r\nimport { useActiveFrontstageDef } from \"../frontstage/Frontstage\";\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { FrontstageManager } from \"../frontstage/FrontstageManager\";\r\nimport { FrontstageNineZoneStateChangedEventArgs } from \"../frontstage/FrontstageDef\";\r\nimport { useTransientState } from \"./useTransientState\";\r\n\r\n/** @internal */\r\nexport function WidgetContent() {\r\n const widget = useWidgetDef();\r\n // istanbul ignore next\r\n const itemId = widget?.id ?? widget?.label ?? \"unknown\";\r\n const onSave = React.useCallback(() => {\r\n // istanbul ignore next\r\n widget?.saveTransientState();\r\n }, [widget]);\r\n const onRestore = React.useCallback(() => {\r\n // istanbul ignore next\r\n widget?.restoreTransientState();\r\n }, [widget]);\r\n useTransientState(onSave, onRestore);\r\n return (\r\n <ScrollableWidgetContent\r\n itemId={itemId}\r\n providerId={widget?.initialProps?.providerId}\r\n >\r\n {widget?.reactNode}\r\n </ScrollableWidgetContent>\r\n );\r\n}\r\n\r\n/** @internal */\r\nexport function useWidgetDef(): WidgetDef | undefined {\r\n const tabId = React.useContext(TabIdContext);\r\n const frontstage = useActiveFrontstageDef();\r\n const [widgetDef, setWidgetDef] = React.useState(() => frontstage?.findWidgetDef(tabId));\r\n\r\n React.useEffect(() => {\r\n const listener = (args: FrontstageNineZoneStateChangedEventArgs) => {\r\n // istanbul ignore next\r\n if (args.frontstageDef !== frontstage || !frontstage || frontstage.isStageClosing || frontstage.isApplicationClosing)\r\n return;\r\n setWidgetDef(frontstage.findWidgetDef(tabId));\r\n };\r\n return FrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(listener);\r\n }, [frontstage, tabId]);\r\n\r\n React.useEffect(() => {\r\n // istanbul ignore next\r\n const handlerActivated = () => {\r\n setWidgetDef(frontstage?.findWidgetDef(tabId));\r\n };\r\n\r\n return UiItemsManager.onUiProviderRegisteredEvent.addListener(handlerActivated); // eslint-disable-line deprecation/deprecation\r\n }, [frontstage, tabId]);\r\n\r\n return widgetDef;\r\n}\r\n"]}
1
+ {"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../src/appui-react/widget-panels/Content.tsx"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,+BAA+B;AAC/B,0DAAuD;AACvD,kEAAkF;AAElF,uEAAoE;AACpE,+DAA8G;AAC9G,2DAAwD;AACxD,sDAA6C;AAE7C,gBAAgB;AAChB,SAAgB,aAAa;;IAC3B,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAC9B,uBAAuB;IACvB,MAAM,MAAM,GAAG,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,mCAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,mCAAI,SAAS,CAAC;IACxD,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACpC,uBAAuB;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,EAAE,CAAC;IAC/B,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACb,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACvC,uBAAuB;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,qBAAqB,EAAE,CAAC;IAClC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACb,IAAA,qCAAiB,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACrC,OAAO,CACL,oBAAC,4CAAuB,IACtB,MAAM,EAAE,MAAM,EACd,UAAU,E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AW,CAAC,gBAAgB,CAAC,CAAC;IAClF,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;IAExB,OAAO,SAAS,CAAC;AACnB,CAAC;AA3BD,oCA2BC","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\nimport * as React from \"react\";\r\nimport { UiItemsManager } from \"@itwin/appui-abstract\";\r\nimport { ScrollableWidgetContent, TabIdContext } from \"@itwin/appui-layout-react\";\r\nimport { WidgetDef } from \"../widgets/WidgetDef\";\r\nimport { FrontstageManager } from \"../frontstage/FrontstageManager\";\r\nimport { FrontstageNineZoneStateChangedEventArgs, useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\r\nimport { useTransientState } from \"./useTransientState\";\r\nimport { assert } from \"@itwin/core-bentley\";\r\n\r\n/** @internal */\r\nexport function WidgetContent() {\r\n const widget = useWidgetDef();\r\n // istanbul ignore next\r\n const itemId = widget?.id ?? widget?.label ?? \"unknown\";\r\n const onSave = React.useCallback(() => {\r\n // istanbul ignore next\r\n widget?.saveTransientState();\r\n }, [widget]);\r\n const onRestore = React.useCallback(() => {\r\n // istanbul ignore next\r\n widget?.restoreTransientState();\r\n }, [widget]);\r\n useTransientState(onSave, onRestore);\r\n return (\r\n <ScrollableWidgetContent\r\n itemId={itemId}\r\n providerId={widget?.initialConfig?.providerId}\r\n >\r\n {widget?.reactNode}\r\n </ScrollableWidgetContent>\r\n );\r\n}\r\n\r\n/** @internal */\r\nexport function useWidgetDef(): WidgetDef | undefined {\r\n const tabId = React.useContext(TabIdContext);\r\n assert(!!tabId);\r\n\r\n const frontstage = useActiveFrontstageDef();\r\n const [widgetDef, setWidgetDef] = React.useState(() => frontstage?.findWidgetDef(tabId));\r\n\r\n React.useEffect(() => {\r\n const listener = (args: FrontstageNineZoneStateChangedEventArgs) => {\r\n // istanbul ignore next\r\n if (args.frontstageDef !== frontstage || !frontstage || frontstage.isStageClosing || frontstage.isApplicationClosing)\r\n return;\r\n setWidgetDef(frontstage.findWidgetDef(tabId));\r\n };\r\n return FrontstageManager.onFrontstageNineZoneStateChangedEvent.addListener(listener);\r\n }, [frontstage, tabId]);\r\n\r\n React.useEffect(() => {\r\n // istanbul ignore next\r\n const handlerActivated = () => {\r\n setWidgetDef(frontstage?.findWidgetDef(tabId));\r\n };\r\n\r\n return UiItemsManager.onUiProviderRegisteredEvent.addListener(handlerActivated);\r\n }, [frontstage, tabId]);\r\n\r\n return widgetDef;\r\n}\r\n"]}