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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1427) hide show
  1. package/CHANGELOG.md +85 -18
  2. package/lib/cjs/appui-react/UiFramework.d.ts +19 -17
  3. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/cjs/appui-react/UiFramework.js +9 -5
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  7. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  10. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  12. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  13. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +4 -1
  15. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  16. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  17. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  20. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  21. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  23. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  25. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  26. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  28. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +2 -2
  29. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  31. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  32. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  34. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  35. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  36. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  37. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +3 -3
  38. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  39. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  41. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  42. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -2
  44. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  45. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  46. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +2 -2
  47. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  48. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  49. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  50. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  51. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -1
  52. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  53. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +2 -2
  54. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  55. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  56. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  57. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  58. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  59. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  60. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  61. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +2 -2
  63. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  65. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  66. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  67. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  68. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  69. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  70. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  71. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  72. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  73. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  74. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  75. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  76. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  77. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  78. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  79. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  80. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  81. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  82. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  83. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  84. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  85. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  86. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  87. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  88. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  89. package/lib/cjs/appui-react/configurableui/TimeTracker.js +2 -1
  90. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  91. package/lib/cjs/appui-react/configurableui/state.d.ts +1 -1
  92. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  93. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  94. package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -2
  95. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  96. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  97. package/lib/cjs/appui-react/content/ContentGroup.d.ts +6 -6
  98. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  99. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  100. package/lib/cjs/appui-react/content/ContentLayout.d.ts +4 -3
  101. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  102. package/lib/cjs/appui-react/content/ContentLayout.js +11 -6
  103. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  104. package/lib/cjs/appui-react/content/ContentLayout.scss +50 -21
  105. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  106. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  107. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +4 -3
  108. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  109. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +2 -2
  110. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  111. package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -1
  112. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  113. package/lib/cjs/appui-react/content/IModelViewport.d.ts +5 -4
  114. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  115. package/lib/cjs/appui-react/content/IModelViewport.js +6 -3
  116. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  117. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  118. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  119. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +2 -1
  120. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  121. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +2 -2
  122. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  123. package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -1
  124. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  125. package/lib/cjs/appui-react/content/StageContentLayout.d.ts +5 -5
  126. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  127. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  128. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +2 -2
  129. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  130. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  131. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +4 -3
  132. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  133. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  134. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  135. package/lib/cjs/appui-react/content/split-pane/Resizer.js +2 -1
  136. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  137. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +12 -8
  138. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  139. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -1
  140. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  141. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  142. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  143. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  144. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  145. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  146. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  147. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  148. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  149. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  150. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  151. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  152. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  153. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  154. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  155. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
  156. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/dialog/ContentDialog.js +6 -3
  158. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  159. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  160. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  161. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  162. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +3 -2
  163. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  164. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  165. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  166. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  167. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  168. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  170. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  171. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  172. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  173. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  174. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  175. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  176. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  177. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  178. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  179. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  180. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  181. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  183. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  185. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  186. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  187. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  188. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +6 -5
  189. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  190. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  191. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  192. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  193. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  194. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  195. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  196. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  197. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +6 -5
  198. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  199. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  200. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +1 -1
  201. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  202. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  203. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  204. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/framework/FrameworkDialogs.js +0 -7
  206. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  207. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  208. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  209. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  210. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  211. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  212. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  213. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  214. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +0 -7
  216. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  217. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  218. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  219. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  220. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  221. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  222. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +4 -3
  223. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  224. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  225. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  226. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  227. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  228. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  230. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  231. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  232. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  233. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  234. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  235. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +3 -2
  236. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  237. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  238. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  239. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  240. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  241. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  242. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  243. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  244. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  245. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +1 -1
  246. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  247. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  248. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  249. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  250. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  251. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  252. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  253. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  255. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  256. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  257. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  258. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +13 -8
  259. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  260. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  262. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  263. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  264. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  265. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  266. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  267. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  268. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  269. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  271. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  272. package/lib/cjs/appui-react/messages/ActivityMessage.js +7 -5
  273. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  274. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +4 -3
  275. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  276. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  277. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +1 -1
  278. package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
  279. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  280. package/lib/cjs/appui-react/messages/InputField.d.ts +1 -1
  281. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  282. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  283. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +1 -1
  284. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  285. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  286. package/lib/cjs/appui-react/messages/MessageManager.d.ts +7 -6
  287. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  288. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  289. package/lib/cjs/appui-react/messages/MessageSpan.d.ts +2 -2
  290. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  291. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  292. package/lib/cjs/appui-react/messages/Pointer.d.ts +5 -4
  293. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  294. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  295. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  296. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  297. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  298. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +2 -2
  299. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  301. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  302. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  304. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  305. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  306. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  307. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  308. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  310. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  311. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  313. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  314. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  315. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  316. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  317. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  318. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  319. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -1
  320. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/pickers/ListPicker.js +6 -1
  322. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  323. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +4 -3
  324. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  325. package/lib/cjs/appui-react/pickers/ViewSelector.js +19 -6
  326. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  327. package/lib/cjs/appui-react/popup/CardPopup.d.ts +4 -3
  328. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  329. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  330. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  331. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  332. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  333. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +3 -3
  334. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  335. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  336. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  337. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  338. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +2 -1
  339. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  340. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  341. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  343. package/lib/cjs/appui-react/popup/PopupManager.d.ts +5 -4
  344. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/popup/PopupManager.js +2 -1
  346. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  347. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
  348. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  349. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  350. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  351. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  352. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  353. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +5 -4
  354. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  355. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  356. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +4 -2
  357. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  358. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  359. package/lib/cjs/appui-react/redux/SessionState.d.ts +3 -3
  360. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  362. package/lib/cjs/appui-react/redux/StateManager.d.ts +3 -3
  363. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  364. package/lib/cjs/appui-react/redux/StateManager.js +0 -1
  365. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  366. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  367. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  368. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  369. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  370. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  371. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  372. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  373. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  374. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  375. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  376. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  377. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  378. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  379. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  380. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  381. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  382. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  383. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  384. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  385. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  386. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  387. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  388. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  389. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  390. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  391. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +4 -4
  392. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  393. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  394. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  395. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  397. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +2 -2
  398. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  399. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  400. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +2 -2
  401. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  402. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  403. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +1 -1
  404. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  405. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  406. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +3 -3
  407. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  408. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  409. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +4 -4
  410. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  411. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  412. package/lib/cjs/appui-react/shared/ItemMap.d.ts +1 -1
  413. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  414. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  415. package/lib/cjs/appui-react/shared/ItemProps.d.ts +2 -2
  416. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  418. package/lib/cjs/appui-react/shared/MenuItem.d.ts +3 -3
  419. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  420. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  421. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +3 -3
  422. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  423. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  424. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  425. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  426. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  427. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  428. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  429. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +7 -5
  430. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  431. package/lib/cjs/appui-react/statusbar/Field.d.ts +1 -1
  432. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  434. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
  435. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  436. package/lib/cjs/appui-react/statusbar/Indicator.js +2 -1
  437. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  438. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  439. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  440. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  441. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
  442. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  443. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  444. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  445. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  446. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  447. package/lib/cjs/appui-react/statusbar/Popup.d.ts +1 -1
  448. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  449. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  450. package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -1
  451. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  452. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  453. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +3 -3
  454. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  455. package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -3
  456. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  457. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  458. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  459. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  460. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  461. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  462. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  463. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  464. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  465. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  466. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  467. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  468. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  469. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  470. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  471. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  472. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +1 -1
  473. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  474. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  475. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  476. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  477. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  478. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  479. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  480. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  481. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  482. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  483. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  484. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  485. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  486. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  487. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  488. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  489. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  490. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +1 -1
  491. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  492. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  493. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +1 -1
  494. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  495. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  496. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +29 -0
  497. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  498. package/lib/cjs/appui-react/statusfields/SelectionCount.js +51 -0
  499. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -0
  500. package/lib/cjs/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  501. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  502. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  503. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +14 -31
  504. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  505. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
  506. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  507. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  508. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +1 -1
  509. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  510. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  511. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  512. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  513. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  514. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  515. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  516. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  517. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  518. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  519. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  520. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  521. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  522. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  523. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  524. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  525. package/lib/cjs/appui-react/theme/ThemeManager.js +2 -1
  526. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  527. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  528. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  529. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  530. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  531. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  532. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  533. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  534. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  536. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +4 -4
  537. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  538. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  539. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +4 -4
  540. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  542. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  543. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  545. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  546. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  548. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  549. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  550. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  551. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  552. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  553. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  554. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  555. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  556. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  557. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  558. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  559. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  560. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  561. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  562. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  563. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  564. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  565. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  566. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  567. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  568. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  569. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +14 -7
  570. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  571. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  572. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  573. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  574. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  575. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  576. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  577. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  578. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  579. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  580. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  581. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  582. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  583. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  584. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  585. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  586. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  587. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  588. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  589. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  590. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  591. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  592. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  593. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  594. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  595. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  596. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  597. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  598. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  599. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  600. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  601. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  602. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  603. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  604. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  605. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  606. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  607. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  608. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  609. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  610. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  611. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  612. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  613. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  614. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  615. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  616. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  617. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  618. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  619. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  620. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  621. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  622. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  623. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  624. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  625. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  626. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  627. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  628. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  629. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  630. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
  631. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  632. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  633. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  634. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  635. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +3 -2
  636. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  637. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  638. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  639. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  640. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  641. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  642. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  643. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
  644. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  645. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +3 -2
  646. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  647. package/lib/cjs/appui-react/utils/PropsHelper.js +2 -1
  648. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  649. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +1 -1
  650. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  651. package/lib/cjs/appui-react/utils/ViewUtilities.js +0 -1
  652. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  653. package/lib/cjs/appui-react/widget-panels/Content.d.ts +1 -1
  654. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  655. package/lib/cjs/appui-react/widget-panels/Content.js +18 -7
  656. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  657. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +5 -4
  658. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/widget-panels/Frontstage.js +39 -30
  660. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  661. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  662. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  663. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  664. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +1 -1
  665. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  666. package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
  667. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  668. package/lib/cjs/appui-react/widget-panels/Tab.js +1 -1
  669. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  670. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +17 -9
  671. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  672. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -2
  673. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  674. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  675. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  676. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  677. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  678. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  679. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  680. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  681. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  682. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  683. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  684. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  685. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  686. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  687. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  688. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  690. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  691. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  692. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  693. package/lib/cjs/appui-react/widgets/Widget.d.ts +4 -4
  694. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  696. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +1 -1
  697. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  698. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  699. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +5 -4
  700. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  701. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  702. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +10 -8
  703. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  704. package/lib/cjs/appui-react/widgets/WidgetDef.js +1 -1
  705. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  706. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +3 -3
  707. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  708. package/lib/cjs/appui-react/widgets/WidgetHost.js +3 -2
  709. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  710. package/lib/cjs/appui-react.d.ts +1 -0
  711. package/lib/cjs/appui-react.d.ts.map +1 -1
  712. package/lib/cjs/appui-react.js +1 -0
  713. package/lib/cjs/appui-react.js.map +1 -1
  714. package/lib/esm/appui-react/UiFramework.d.ts +19 -17
  715. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  716. package/lib/esm/appui-react/UiFramework.js +9 -5
  717. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  718. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  719. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  720. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  721. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  722. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  723. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  724. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  725. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  726. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +4 -1
  727. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  728. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  729. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  730. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  731. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  732. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  733. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  734. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  735. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  736. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  737. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  738. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  739. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  740. package/lib/esm/appui-react/accudraw/Calculator.d.ts +2 -2
  741. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  742. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  743. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  744. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  745. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  746. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  747. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  748. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  749. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +3 -3
  750. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  751. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  752. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  753. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  754. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  755. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -2
  756. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  757. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  758. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +2 -2
  759. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  760. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  761. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  762. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  763. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -1
  764. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  765. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +2 -2
  766. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  767. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  768. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  769. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  770. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  771. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  772. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  773. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  774. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +2 -2
  775. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  776. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  777. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  778. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  779. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  780. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  781. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  782. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  783. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  784. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  785. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  786. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  787. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  788. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  789. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  790. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  791. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  792. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  793. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  794. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  795. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  796. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  797. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  798. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  799. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  800. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  801. package/lib/esm/appui-react/configurableui/TimeTracker.js +2 -1
  802. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  803. package/lib/esm/appui-react/configurableui/state.d.ts +1 -1
  804. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  805. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  806. package/lib/esm/appui-react/content/ContentControl.d.ts +2 -2
  807. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  808. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  809. package/lib/esm/appui-react/content/ContentGroup.d.ts +6 -6
  810. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  811. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  812. package/lib/esm/appui-react/content/ContentLayout.d.ts +4 -3
  813. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  814. package/lib/esm/appui-react/content/ContentLayout.js +11 -6
  815. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  816. package/lib/esm/appui-react/content/ContentLayout.scss +50 -21
  817. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  818. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  819. package/lib/esm/appui-react/content/DefaultViewOverlay.js +4 -3
  820. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  821. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +2 -2
  822. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  823. package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -1
  824. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  825. package/lib/esm/appui-react/content/IModelViewport.d.ts +5 -4
  826. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  827. package/lib/esm/appui-react/content/IModelViewport.js +6 -3
  828. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  829. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  830. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  831. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +2 -1
  832. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  833. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +2 -2
  834. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  835. package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -1
  836. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  837. package/lib/esm/appui-react/content/StageContentLayout.d.ts +5 -5
  838. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  839. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  840. package/lib/esm/appui-react/content/ViewStateHelper.d.ts +2 -2
  841. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  842. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  843. package/lib/esm/appui-react/content/ViewportContentControl.d.ts +4 -3
  844. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  845. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  846. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  847. package/lib/esm/appui-react/content/split-pane/Resizer.js +2 -1
  848. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  849. package/lib/esm/appui-react/content/split-pane/SplitPane.js +12 -8
  850. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  851. package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -1
  852. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  853. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  854. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  855. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  856. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  857. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  858. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  859. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  860. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  861. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  862. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  863. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  864. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  865. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  866. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  867. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
  868. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  869. package/lib/esm/appui-react/dialog/ContentDialog.js +6 -3
  870. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  871. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  872. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  873. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  874. package/lib/esm/appui-react/dialog/DialogManagerBase.js +3 -2
  875. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  876. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  877. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  878. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  879. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  880. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  881. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  882. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  883. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  884. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  885. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  886. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  888. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  889. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  890. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  891. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  892. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  893. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  894. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  895. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  896. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  897. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  898. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  899. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  900. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +6 -5
  901. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  902. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  903. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  904. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  905. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  906. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  907. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  908. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  909. package/lib/esm/appui-react/framework/FrameworkContent.d.ts +6 -5
  910. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  911. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  912. package/lib/esm/appui-react/framework/FrameworkControls.d.ts +1 -1
  913. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  914. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  915. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  916. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  917. package/lib/esm/appui-react/framework/FrameworkDialogs.js +0 -7
  918. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  919. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  920. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  921. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  922. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  923. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  924. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  925. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  926. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  927. package/lib/esm/appui-react/framework/FrameworkToolSettings.js +0 -7
  928. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  929. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  930. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  931. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  932. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  933. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  934. package/lib/esm/appui-react/frontstage/FrontstageDef.js +4 -3
  935. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  936. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  937. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  938. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  939. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  940. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  941. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  942. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  943. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  944. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  945. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  946. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  947. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +3 -2
  948. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  949. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  950. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  951. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  952. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  953. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  954. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  955. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  956. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  957. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +1 -1
  958. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  959. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  960. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  961. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  962. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  963. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  964. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  965. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  966. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  967. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  968. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  969. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  970. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +13 -8
  971. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  972. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  973. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  974. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  975. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  976. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  977. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  978. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  979. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  980. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  981. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  982. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  983. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  984. package/lib/esm/appui-react/messages/ActivityMessage.js +7 -5
  985. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  986. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +4 -3
  987. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  988. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  989. package/lib/esm/appui-react/messages/HollowIcon.d.ts +1 -1
  990. package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
  991. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  992. package/lib/esm/appui-react/messages/InputField.d.ts +1 -1
  993. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  994. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  995. package/lib/esm/appui-react/messages/MessageLabel.d.ts +1 -1
  996. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  997. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  998. package/lib/esm/appui-react/messages/MessageManager.d.ts +7 -6
  999. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1000. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1001. package/lib/esm/appui-react/messages/MessageSpan.d.ts +2 -2
  1002. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1003. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1004. package/lib/esm/appui-react/messages/Pointer.d.ts +5 -4
  1005. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1006. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1007. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  1008. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1009. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1010. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +2 -2
  1011. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1012. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1013. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  1014. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1015. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1016. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  1017. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1018. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1019. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  1020. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1021. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1022. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  1023. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1024. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1025. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  1026. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1027. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1028. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  1029. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1030. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1031. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -1
  1032. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1033. package/lib/esm/appui-react/pickers/ListPicker.js +6 -1
  1034. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1035. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +4 -3
  1036. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1037. package/lib/esm/appui-react/pickers/ViewSelector.js +20 -7
  1038. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1039. package/lib/esm/appui-react/popup/CardPopup.d.ts +4 -3
  1040. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1041. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1042. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  1043. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1044. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1045. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +3 -3
  1046. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1047. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1048. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  1049. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +2 -1
  1051. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1052. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  1053. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1054. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1055. package/lib/esm/appui-react/popup/PopupManager.d.ts +5 -4
  1056. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1057. package/lib/esm/appui-react/popup/PopupManager.js +2 -1
  1058. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1059. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
  1060. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1061. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1062. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  1063. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1064. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1065. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +5 -4
  1066. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1067. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1068. package/lib/esm/appui-react/redux/FrameworkState.d.ts +4 -2
  1069. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1070. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1071. package/lib/esm/appui-react/redux/SessionState.d.ts +3 -3
  1072. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1073. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1074. package/lib/esm/appui-react/redux/StateManager.d.ts +3 -3
  1075. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1076. package/lib/esm/appui-react/redux/StateManager.js +0 -1
  1077. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1078. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  1079. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1080. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1081. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  1082. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1083. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1084. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  1085. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1086. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1087. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  1088. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1089. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1090. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  1091. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1092. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  1093. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1094. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  1095. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1096. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1097. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  1098. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1099. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1100. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  1101. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1103. package/lib/esm/appui-react/shared/AnyItemDef.d.ts +4 -4
  1104. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1105. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1106. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  1107. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  1108. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1109. package/lib/esm/appui-react/shared/CommandItemDef.d.ts +2 -2
  1110. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1111. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1112. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +2 -2
  1113. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1114. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1115. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +1 -1
  1116. package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  1117. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1118. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +3 -3
  1119. package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  1120. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1121. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +4 -4
  1122. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1123. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1124. package/lib/esm/appui-react/shared/ItemMap.d.ts +1 -1
  1125. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1126. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1127. package/lib/esm/appui-react/shared/ItemProps.d.ts +2 -2
  1128. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1129. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1130. package/lib/esm/appui-react/shared/MenuItem.d.ts +3 -3
  1131. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1132. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1133. package/lib/esm/appui-react/shared/ToolItemDef.d.ts +3 -3
  1134. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1135. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1136. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  1137. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  1138. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1139. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  1140. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1141. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +7 -5
  1142. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1143. package/lib/esm/appui-react/statusbar/Field.d.ts +1 -1
  1144. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1145. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1146. package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
  1147. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1148. package/lib/esm/appui-react/statusbar/Indicator.js +2 -1
  1149. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1150. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  1151. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1152. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1153. package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
  1154. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1155. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1156. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  1157. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1158. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1159. package/lib/esm/appui-react/statusbar/Popup.d.ts +1 -1
  1160. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1161. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1162. package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -1
  1163. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1164. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1165. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +3 -3
  1166. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1167. package/lib/esm/appui-react/statusbar/StatusBar.js +5 -3
  1168. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1169. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  1170. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1171. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1172. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  1173. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1174. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1175. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  1176. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1177. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1178. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  1179. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1180. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1181. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  1182. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1183. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1184. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +1 -1
  1185. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1186. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1187. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  1188. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  1189. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1190. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  1191. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1193. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  1194. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1196. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  1197. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1199. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  1200. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  1201. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1202. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +1 -1
  1203. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1204. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1205. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +1 -1
  1206. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1207. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1208. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +29 -0
  1209. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  1210. package/lib/esm/appui-react/statusfields/SelectionCount.js +46 -0
  1211. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -0
  1212. package/lib/esm/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  1213. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  1214. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  1215. package/lib/esm/appui-react/statusfields/SelectionInfo.js +14 -32
  1216. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1217. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
  1218. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1219. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1220. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +1 -1
  1221. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1222. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1223. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  1224. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1225. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1226. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  1227. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1228. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1229. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  1230. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1231. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  1232. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1233. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  1234. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1235. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1236. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1237. package/lib/esm/appui-react/theme/ThemeManager.js +2 -1
  1238. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1239. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  1240. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1241. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1242. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  1243. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1244. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1245. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  1246. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1247. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1248. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +4 -4
  1249. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1250. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1251. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +4 -4
  1252. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1253. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1254. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  1255. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1256. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1257. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  1258. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1259. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1260. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  1261. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1262. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1263. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  1264. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1265. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1266. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  1267. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1268. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1269. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  1270. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1271. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1272. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  1273. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1274. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1275. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  1276. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1277. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1278. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  1279. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1280. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1281. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +14 -7
  1282. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1283. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1284. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  1285. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1286. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  1287. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1288. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  1289. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1290. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1291. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  1292. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1293. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1294. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  1295. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1296. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1297. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  1298. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1299. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  1300. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1301. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  1302. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1303. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1304. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  1305. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1306. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  1307. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1308. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1309. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  1310. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1311. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  1312. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1313. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  1314. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1315. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1316. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  1317. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1318. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1319. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  1320. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1321. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1322. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  1323. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1324. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  1325. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1326. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  1327. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1328. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  1329. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1330. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  1331. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1332. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1333. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  1334. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1335. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1336. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  1337. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1338. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  1339. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1340. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  1341. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1342. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
  1343. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1344. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  1345. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1346. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1347. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +3 -2
  1348. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1349. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1350. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  1351. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1352. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1353. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  1354. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1355. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
  1356. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1357. package/lib/esm/appui-react/utils/PropsHelper.d.ts +3 -2
  1358. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1359. package/lib/esm/appui-react/utils/PropsHelper.js +2 -1
  1360. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1361. package/lib/esm/appui-react/utils/ViewUtilities.d.ts +1 -1
  1362. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1363. package/lib/esm/appui-react/utils/ViewUtilities.js +0 -1
  1364. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1365. package/lib/esm/appui-react/widget-panels/Content.d.ts +1 -1
  1366. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/widget-panels/Content.js +18 -7
  1368. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1369. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +5 -4
  1370. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1371. package/lib/esm/appui-react/widget-panels/Frontstage.js +39 -30
  1372. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1373. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1374. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1375. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1376. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +1 -1
  1377. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1378. package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
  1379. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1380. package/lib/esm/appui-react/widget-panels/Tab.js +1 -1
  1381. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1382. package/lib/esm/appui-react/widget-panels/ToolSettings.js +17 -9
  1383. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1384. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -2
  1385. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1386. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  1387. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1388. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1389. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  1390. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1391. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1392. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  1393. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1394. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1395. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  1396. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1397. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  1398. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1399. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  1400. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1401. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1402. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  1403. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1404. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1405. package/lib/esm/appui-react/widgets/Widget.d.ts +4 -4
  1406. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1407. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1408. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +1 -1
  1409. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  1410. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1411. package/lib/esm/appui-react/widgets/WidgetControl.d.ts +5 -4
  1412. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1413. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1414. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +10 -8
  1415. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1416. package/lib/esm/appui-react/widgets/WidgetDef.js +1 -1
  1417. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1418. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +3 -3
  1419. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1420. package/lib/esm/appui-react/widgets/WidgetHost.js +3 -2
  1421. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1422. package/lib/esm/appui-react.d.ts +1 -0
  1423. package/lib/esm/appui-react.d.ts.map +1 -1
  1424. package/lib/esm/appui-react.js +1 -0
  1425. package/lib/esm/appui-react.js.map +1 -1
  1426. package/lib/public/locales/en/UiFramework.json +4 -1
  1427. package/package.json +22 -23
@@ -2,7 +2,7 @@
2
2
  * @module Dialog
3
3
  */
4
4
  import * as React from "react";
5
- import { DialogProps } from "@itwin/core-react";
5
+ import type { DialogProps } from "@itwin/core-react";
6
6
  /** Properties for the [[ModelessDialog]] component
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ModelessDialog.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialog.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAU,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;gBAC1D,KAAK,EAAE,mBAAmB;IAItB,MAAM,IAAI,GAAG,CAAC,OAAO;IAgBrC,OAAO,CAAC,aAAa,CAEnB;CACH"}
1
+ {"version":3,"file":"ModelessDialog.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialog.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC;gBAC1D,KAAK,EAAE,mBAAmB;IAItB,MAAM,IAAI,GAAG,CAAC,OAAO;IAgBrC,OAAO,CAAC,aAAa,CAEnB;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"ModelessDialog.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialog.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,kDAAwD;AACxD,gDAA6C;AAU7C;;;GAGG;AACH,MAAa,cAAe,SAAQ,KAAK,CAAC,SAA8B;IACtE,YAAY,KAA0B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;QAmBP,kBAAa,GAAG,GAAG,EAAE;YAC3B,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC,CAAC;IApBF,CAAC;IAEe,MAAM;QACpB,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,wDAAwD;QAEpJ,OAAO,CACL,oBAAC,mBAAM,OACD,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,QAAQ,EACpB,qBAAqB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,yBAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAC1H,KAAK,EAAE,EAAE,MAAM,EAAE,yBAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,IAE5E,IAAI,CAAC,KAAK,CAAC,QAAQ,CACZ,CACX,CAAC;IACJ,CAAC;CAKF;AAxBD,wCAwBC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Dialog, DialogProps } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for the [[ModelessDialog]] component\r\n * @public\r\n */\r\nexport interface ModelessDialogProps extends DialogProps {\r\n dialogId: string;\r\n movable?: boolean;\r\n}\r\n\r\n/** Modeless Dialog React component uses the Dialog component with a modal={false} prop.\r\n * It controls the z-index to keep the focused dialog above others.\r\n * @public\r\n */\r\nexport class ModelessDialog extends React.Component<ModelessDialogProps> {\r\n constructor(props: ModelessDialogProps) {\r\n super(props);\r\n }\r\n\r\n public override render(): JSX.Element {\r\n const { dialogId, style, modal, modelessId, onModelessPointerDown, ...props } = this.props; // eslint-disable-line @typescript-eslint/no-unused-vars\r\n\r\n return (\r\n <Dialog\r\n {...props}\r\n modal={false}\r\n modelessId={dialogId}\r\n onModelessPointerDown={(event) => UiFramework.dialogs.modeless.handlePointerDownEvent(event, dialogId, this._updateDialog)}\r\n style={{ zIndex: UiFramework.dialogs.modeless.getZIndex(dialogId), ...style }}\r\n >\r\n {this.props.children}\r\n </Dialog >\r\n );\r\n }\r\n\r\n private _updateDialog = () => {\r\n this.forceUpdate();\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"ModelessDialog.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialog.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,kDAA2C;AAC3C,gDAA6C;AAU7C;;;GAGG;AACH,MAAa,cAAe,SAAQ,KAAK,CAAC,SAA8B;IACtE,YAAY,KAA0B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;QAmBP,kBAAa,GAAG,GAAG,EAAE;YAC3B,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC,CAAC;IApBF,CAAC;IAEe,MAAM;QACpB,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,wDAAwD;QAEpJ,OAAO,CACL,oBAAC,mBAAM,OACD,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,QAAQ,EACpB,qBAAqB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,yBAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAC1H,KAAK,EAAE,EAAE,MAAM,EAAE,yBAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,GAAG,KAAK,EAAE,IAE5E,IAAI,CAAC,KAAK,CAAC,QAAQ,CACZ,CACX,CAAC;IACJ,CAAC;CAKF;AAxBD,wCAwBC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport type { DialogProps } from \"@itwin/core-react\";\r\nimport { Dialog } from \"@itwin/core-react\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for the [[ModelessDialog]] component\r\n * @public\r\n */\r\nexport interface ModelessDialogProps extends DialogProps {\r\n dialogId: string;\r\n movable?: boolean;\r\n}\r\n\r\n/** Modeless Dialog React component uses the Dialog component with a modal={false} prop.\r\n * It controls the z-index to keep the focused dialog above others.\r\n * @public\r\n */\r\nexport class ModelessDialog extends React.Component<ModelessDialogProps> {\r\n constructor(props: ModelessDialogProps) {\r\n super(props);\r\n }\r\n\r\n public override render(): JSX.Element {\r\n const { dialogId, style, modal, modelessId, onModelessPointerDown, ...props } = this.props; // eslint-disable-line @typescript-eslint/no-unused-vars\r\n\r\n return (\r\n <Dialog\r\n {...props}\r\n modal={false}\r\n modelessId={dialogId}\r\n onModelessPointerDown={(event) => UiFramework.dialogs.modeless.handlePointerDownEvent(event, dialogId, this._updateDialog)}\r\n style={{ zIndex: UiFramework.dialogs.modeless.getZIndex(dialogId), ...style }}\r\n >\r\n {this.props.children}\r\n </Dialog >\r\n );\r\n }\r\n\r\n private _updateDialog = () => {\r\n this.forceUpdate();\r\n };\r\n}\r\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Dialog
3
3
  */
4
4
  import * as React from "react";
5
- import { CommonProps } from "@itwin/core-react";
5
+ import type { CommonProps } from "@itwin/core-react";
6
6
  /** ModelessDialogRenderer React component renders modeless dialogs.
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ModelessDialogManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialogManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMhD;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;gBAE9D,KAAK,EAAE,WAAW;IAId,MAAM,IAAI,KAAK,CAAC,SAAS;CAK1C"}
1
+ {"version":3,"file":"ModelessDialogManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialogManager.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC;gBAE9D,KAAK,EAAE,WAAW;IAId,MAAM,IAAI,KAAK,CAAC,SAAS;CAK1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"ModelessDialogManager.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialogManager.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,2DAAyD;AACzD,mFAA4F;AAE5F,gCAAgC;AAEhC;;GAEG;AACH,MAAa,sBAAuB,SAAQ,KAAK,CAAC,aAA0B;IAE1E,YAAY,KAAkB;QAC5B,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IAEe,MAAM;QACpB,OAAO,CACL,oBAAC,sCAAkB,OAAK,IAAI,CAAC,KAAK,EAAE,aAAa,EAAE,6DAAQ,CAAC,aAAa,GAAI,CAC9E,CAAC;IACJ,CAAC;CACF;AAXD,wDAWC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { CommonProps } from \"@itwin/core-react\";\r\nimport { DialogRendererBase } from \"./DialogManagerBase\";\r\nimport { InternalModelessDialogManager as internal } from \"./InternalModelessDialogManager\";\r\n\r\n// cSpell:ignore ZINDEX modeless\r\n\r\n/** ModelessDialogRenderer React component renders modeless dialogs.\r\n * @public\r\n */\r\nexport class ModelessDialogRenderer extends React.PureComponent<CommonProps> {\r\n\r\n constructor(props: CommonProps) {\r\n super(props);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n return (\r\n <DialogRendererBase {...this.props} dialogManager={internal.dialogManager} />\r\n );\r\n }\r\n}\r\n\r\n"]}
1
+ {"version":3,"file":"ModelessDialogManager.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/ModelessDialogManager.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAE/B,2DAAyD;AACzD,mFAA4F;AAE5F,gCAAgC;AAEhC;;GAEG;AACH,MAAa,sBAAuB,SAAQ,KAAK,CAAC,aAA0B;IAE1E,YAAY,KAAkB;QAC5B,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IAEe,MAAM;QACpB,OAAO,CACL,oBAAC,sCAAkB,OAAK,IAAI,CAAC,KAAK,EAAE,aAAa,EAAE,6DAAQ,CAAC,aAAa,GAAI,CAC9E,CAAC;IACJ,CAAC;CACF;AAXD,wDAWC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport type { CommonProps } from \"@itwin/core-react\";\r\nimport { DialogRendererBase } from \"./DialogManagerBase\";\r\nimport { InternalModelessDialogManager as internal } from \"./InternalModelessDialogManager\";\r\n\r\n// cSpell:ignore ZINDEX modeless\r\n\r\n/** ModelessDialogRenderer React component renders modeless dialogs.\r\n * @public\r\n */\r\nexport class ModelessDialogRenderer extends React.PureComponent<CommonProps> {\r\n\r\n constructor(props: CommonProps) {\r\n super(props);\r\n }\r\n\r\n public override render(): React.ReactNode {\r\n return (\r\n <DialogRendererBase {...this.props} dialogManager={internal.dialogManager} />\r\n );\r\n }\r\n}\r\n\r\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as React from "react";
5
5
  import { MessageBoxIconType, MessageBoxType, MessageBoxValue } from "@itwin/core-frontend";
6
- import { CommonProps } from "@itwin/core-react";
6
+ import type { CommonProps } from "@itwin/core-react";
7
7
  /** Properties for [[StandardMessageBox]] React component
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StandardMessageBox.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/StandardMessageBox.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE3F,OAAO,EAAE,WAAW,EAAc,MAAM,mBAAmB,CAAC;AAI5D;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,gDAAgD;IAChD,MAAM,EAAE,OAAO,CAAC;IAChB,sDAAsD;IACtD,Q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AQ,GAAG,gCAAe,CAAC,QAAQ,CAAC;gBACpC,MAAM;YACR,KAAK,kCAAkB,CAAC,OAAO;gBAC7B,QAAQ,GAAG,gCAAe,CAAC,OAAO,CAAC;gBACnC,MAAM;YACR,KAAK,kCAAkB,CAAC,QAAQ;gBAC9B,QAAQ,GAAG,gCAAe,CAAC,KAAK,CAAC;gBACjC,MAAM;YACR,KAAK,kCAAkB,CAAC,OAAO;gBAC7B,QAAQ,GAAG,gCAAe,CAAC,OAAO,CAAC;gBACnC,MAAM;SACT;QAED,OAAO,CACL,oBAAC,uBAAU,IACT,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,KAAK,EAAE,EAAE,MAAM,EAAE,qCAAiB,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,EACnE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EACzB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,QAAQ,EAAE,IAAI,CAAC,aAAa,IAE3B,IAAI,CAAC,KAAK,CAAC,QAAQ,CACT,CACd,CAAC;IACJ,CAAC;CA0BF;AAhGD,gDAgGC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { MessageBoxIconType, MessageBoxType, MessageBoxValue } from \"@itwin/core-frontend\";\r\nimport { DialogButtonDef, DialogButtonType, MessageSeverity } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, MessageBox } from \"@itwin/core-react\";\r\nimport { DialogManagerBase } from \"./DialogManagerBase\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for [[StandardMessageBox]] React component\r\n * @public\r\n */\r\nexport interface StandardMessageBoxProps extends CommonProps {\r\n /** Indicates whether the message box is open */\r\n opened: boolean;\r\n /** The standard icon to display in the message box */\r\n iconType: MessageBoxIconType;\r\n /** Title to display in the message box */\r\n title: string;\r\n /** Controls the button set displayed */\r\n messageBoxType: MessageBoxType;\r\n /** Callback function for processing the message box result */\r\n onResult?: (result: MessageBoxValue) => void;\r\n /** Content */\r\n children?: React.ReactNode;\r\n}\r\n\r\n/** State for [[StandardMessageBox]] React component\r\n * @internal\r\n */\r\ninterface StandardMessageBoxState {\r\n opened: boolean;\r\n}\r\n\r\n/** StandardMessageBox React component displays a standard icon, message text and a standard button set in the lower right.\r\n * @public\r\n */\r\nexport class StandardMessageBox extends React.PureComponent<StandardMessageBoxProps, StandardMessageBoxState> {\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<StandardMessageBoxState>;\r\n\r\n constructor(props: StandardMessageBoxProps) {\r\n super(props);\r\n this.state = {\r\n opened: this.props.opened,\r\n };\r\n }\r\n\r\n public override render(): JSX.Element {\r\n const buttonCluster: DialogButtonDef[] = new Array<DialogButtonDef>();\r\n\r\n switch (this.props.messageBoxType) {\r\n case MessageBoxType.Ok:\r\n case MessageBoxType.LargeOk:\r\n buttonCluster.push({ type: DialogButtonType.OK, onClick: () => { this._handleButton(MessageBoxValue.Ok); } });\r\n break;\r\n case MessageBoxType.OkCancel:\r\n case MessageBoxType.MediumAlert:\r\n buttonCluster.push({ type: DialogButtonType.OK, onClick: () => { this._handleButton(MessageBoxValue.Ok); } });\r\n buttonCluster.push({ type: DialogButtonType.Cancel, onClick: () => { this._handleButton(MessageBoxValue.Cancel); } });\r\n break;\r\n case MessageBoxType.YesNo:\r\n case MessageBoxType.YesNoCancel:\r\n buttonCluster.push({ type: DialogButtonType.Yes, onClick: () => { this._handleButton(MessageBoxValue.Yes); } });\r\n buttonCluster.push({ type: DialogButtonType.No, onClick: () => { this._handleButton(MessageBoxValue.No); } });\r\n if (MessageBoxType.YesNoCancel === this.props.messageBoxType)\r\n buttonCluster.push({ type: DialogButtonType.Cancel, onClick: () => { this._handleButton(MessageBoxValue.Cancel); } });\r\n break;\r\n }\r\n\r\n let severity = MessageSeverity.None;\r\n switch (this.props.iconType) {\r\n case MessageBoxIconType.NoSymbol:\r\n severity = MessageSeverity.None;\r\n break;\r\n case MessageBoxIconType.Information:\r\n severity = MessageSeverity.Information;\r\n break;\r\n case MessageBoxIconType.Question:\r\n severity = MessageSeverity.Question;\r\n break;\r\n case MessageBoxIconType.Warning:\r\n severity = MessageSeverity.Warning;\r\n break;\r\n case MessageBoxIconType.Critical:\r\n severity = MessageSeverity.Error;\r\n break;\r\n case MessageBoxIconType.Success:\r\n severity = MessageSeverity.Success;\r\n break;\r\n }\r\n\r\n return (\r\n <MessageBox\r\n className={this.props.className}\r\n style={{ zIndex: DialogManagerBase.topZIndex, ...this.props.style }}\r\n opened={this.state.opened}\r\n title={this.props.title}\r\n severity={severity}\r\n buttonCluster={buttonCluster}\r\n onClose={this._handleCancel}\r\n onEscape={this._handleCancel}\r\n >\r\n {this.props.children}\r\n </MessageBox>\r\n );\r\n }\r\n\r\n private _handleButton = (buttonType: MessageBoxValue) => {\r\n this._closeDialog(() => {\r\n // istanbul ignore else\r\n if (this.props.onResult)\r\n this.props.onResult(buttonType);\r\n });\r\n };\r\n\r\n private _handleCancel = () => {\r\n this._closeDialog(() => {\r\n // istanbul ignore else\r\n if (this.props.onResult)\r\n this.props.onResult(MessageBoxValue.Cancel);\r\n });\r\n };\r\n\r\n private _closeDialog = (followUp: () => void) => {\r\n this.setState((_prevState) => ({\r\n opened: false,\r\n }), () => {\r\n UiFramework.dialogs.modal.close();\r\n followUp();\r\n });\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"StandardMessageBox.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/StandardMessageBox.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GA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AC5B,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,QAAQ,EAAE,IAAI,CAAC,aAAa,IAE3B,IAAI,CAAC,KAAK,CAAC,QAAQ,CACT,CACd,CAAC;IACJ,CAAC;CA0BF;AAhGD,gDAgGC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { MessageBoxIconType, MessageBoxType, MessageBoxValue } from \"@itwin/core-frontend\";\r\nimport type { DialogButtonDef} from \"@itwin/appui-abstract\";\r\nimport { DialogButtonType, MessageSeverity } from \"@itwin/appui-abstract\";\r\nimport type { CommonProps} from \"@itwin/core-react\";\r\nimport { MessageBox } from \"@itwin/core-react\";\r\nimport { DialogManagerBase } from \"./DialogManagerBase\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for [[StandardMessageBox]] React component\r\n * @public\r\n */\r\nexport interface StandardMessageBoxProps extends CommonProps {\r\n /** Indicates whether the message box is open */\r\n opened: boolean;\r\n /** The standard icon to display in the message box */\r\n iconType: MessageBoxIconType;\r\n /** Title to display in the message box */\r\n title: string;\r\n /** Controls the button set displayed */\r\n messageBoxType: MessageBoxType;\r\n /** Callback function for processing the message box result */\r\n onResult?: (result: MessageBoxValue) => void;\r\n /** Content */\r\n children?: React.ReactNode;\r\n}\r\n\r\n/** State for [[StandardMessageBox]] React component\r\n * @internal\r\n */\r\ninterface StandardMessageBoxState {\r\n opened: boolean;\r\n}\r\n\r\n/** StandardMessageBox React component displays a standard icon, message text and a standard button set in the lower right.\r\n * @public\r\n */\r\nexport class StandardMessageBox extends React.PureComponent<StandardMessageBoxProps, StandardMessageBoxState> {\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<StandardMessageBoxState>;\r\n\r\n constructor(props: StandardMessageBoxProps) {\r\n super(props);\r\n this.state = {\r\n opened: this.props.opened,\r\n };\r\n }\r\n\r\n public override render(): JSX.Element {\r\n const buttonCluster: DialogButtonDef[] = new Array<DialogButtonDef>();\r\n\r\n switch (this.props.messageBoxType) {\r\n case MessageBoxType.Ok:\r\n case MessageBoxType.LargeOk:\r\n buttonCluster.push({ type: DialogButtonType.OK, onClick: () => { this._handleButton(MessageBoxValue.Ok); } });\r\n break;\r\n case MessageBoxType.OkCancel:\r\n case MessageBoxType.MediumAlert:\r\n buttonCluster.push({ type: DialogButtonType.OK, onClick: () => { this._handleButton(MessageBoxValue.Ok); } });\r\n buttonCluster.push({ type: DialogButtonType.Cancel, onClick: () => { this._handleButton(MessageBoxValue.Cancel); } });\r\n break;\r\n case MessageBoxType.YesNo:\r\n case MessageBoxType.YesNoCancel:\r\n buttonCluster.push({ type: DialogButtonType.Yes, onClick: () => { this._handleButton(MessageBoxValue.Yes); } });\r\n buttonCluster.push({ type: DialogButtonType.No, onClick: () => { this._handleButton(MessageBoxValue.No); } });\r\n if (MessageBoxType.YesNoCancel === this.props.messageBoxType)\r\n buttonCluster.push({ type: DialogButtonType.Cancel, onClick: () => { this._handleButton(MessageBoxValue.Cancel); } });\r\n break;\r\n }\r\n\r\n let severity = MessageSeverity.None;\r\n switch (this.props.iconType) {\r\n case MessageBoxIconType.NoSymbol:\r\n severity = MessageSeverity.None;\r\n break;\r\n case MessageBoxIconType.Information:\r\n severity = MessageSeverity.Information;\r\n break;\r\n case MessageBoxIconType.Question:\r\n severity = MessageSeverity.Question;\r\n break;\r\n case MessageBoxIconType.Warning:\r\n severity = MessageSeverity.Warning;\r\n break;\r\n case MessageBoxIconType.Critical:\r\n severity = MessageSeverity.Error;\r\n break;\r\n case MessageBoxIconType.Success:\r\n severity = MessageSeverity.Success;\r\n break;\r\n }\r\n\r\n return (\r\n <MessageBox\r\n className={this.props.className}\r\n style={{ zIndex: DialogManagerBase.topZIndex, ...this.props.style }}\r\n opened={this.state.opened}\r\n title={this.props.title}\r\n severity={severity}\r\n buttonCluster={buttonCluster}\r\n onClose={this._handleCancel}\r\n onEscape={this._handleCancel}\r\n >\r\n {this.props.children}\r\n </MessageBox>\r\n );\r\n }\r\n\r\n private _handleButton = (buttonType: MessageBoxValue) => {\r\n this._closeDialog(() => {\r\n // istanbul ignore else\r\n if (this.props.onResult)\r\n this.props.onResult(buttonType);\r\n });\r\n };\r\n\r\n private _handleCancel = () => {\r\n this._closeDialog(() => {\r\n // istanbul ignore else\r\n if (this.props.onResult)\r\n this.props.onResult(MessageBoxValue.Cancel);\r\n });\r\n };\r\n\r\n private _closeDialog = (followUp: () => void) => {\r\n this.setState((_prevState) => ({\r\n opened: false,\r\n }), () => {\r\n UiFramework.dialogs.modal.close();\r\n followUp();\r\n });\r\n };\r\n}\r\n"]}
@@ -2,7 +2,7 @@
2
2
  * @module Dialog
3
3
  */
4
4
  /// <reference types="react" />
5
- import { DialogLayoutDataProvider } from "@itwin/appui-abstract";
5
+ import type { DialogLayoutDataProvider } from "@itwin/appui-abstract";
6
6
  /** Props for [[UiDataProvidedDialog]] component.
7
7
  * @public
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UiDataProvidedDialog.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/dialog/UiDataProvidedDialog.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAIH,OAAO,EAAqC,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAMpG;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,cAAc,EAAE,wBAAwB,CAAC;IACzC,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,iCAAiC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+EAA+E;IAC/E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gIAAgI;IA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gBAAgB,EAAE,CAAC,CAAC,CAAC;QAC7E,CAAC,CAAC;QACF,cAAc,CAAC,oBAAoB,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QAChE,OAAO,GAAG,EAAE;YACV,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;QACrE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC,CAAC;IAE5C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,oBAAoB,GAAG,GAAG,EAAE;YAChC,gBAAgB,CAAC,qBAAqB,CAAC,cAAc,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;QAC7E,CAAC,CAAC;QACF,cAAc,CAAC,sBAAsB,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;QACxE,OAAO,GAAG,EAAE;YACV,cAAc,CAAC,sBAAsB,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;QAC7E,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC,CAAC;IAE5C,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IAE/D,OAAO,CAAC,oBAAC,mBAAM,OAAK,WAAW,EAC7B,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,WAAW;QAErB,oBAAC,uDAA0B,IAAC,kBAAkB,EAAE,IAAI,uCAAkB,CAAC,cAAc,CAAC,GAAI,CACnF,CACR,CAAC;AACJ,CAAC;AA1ED,oDA0EC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Dialog } from \"@itwin/core-react\";\r\nimport { DialogButtonDef, DialogButtonType, DialogLayoutDataProvider } from \"@itwin/appui-abstract\";\r\nimport { getUniqueId } from \"@itwin/appui-layout-react\";\r\nimport { DefaultDialogGridContainer } from \"../uiprovider/DefaultDialogGridContainer\";\r\nimport { ComponentGenerator } from \"../uiprovider/ComponentGenerator\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Props for [[UiDataProvidedDialog]] component.\r\n * @public\r\n */\r\nexport interface UiDataProvidedDialogProps {\r\n /** Dialog title */\r\n title: string;\r\n /** Provider that provides and lays out DialogItems */\r\n uiDataProvider: DialogLayoutDataProvider;\r\n /** Indicates if Dialog is Modal */\r\n isModal: boolean;\r\n /** Id used to specify dialog. */\r\n id?: string;\r\n /** Indicates whether the user can resize dialog with cursor. Default: false */\r\n resizable?: boolean;\r\n /** Indicates whether the user can move dialog with cursor. Default: false */\r\n movable?: boolean;\r\n /** Initial width of dialog. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: \"50%\" */\r\n width?: string | number;\r\n /** Initial height of dialog. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n height?: string | number;\r\n /** Minimum width that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: 300px */\r\n minWidth?: string | number;\r\n /** Minimum height that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: 100px */\r\n minHeight?: string | number;\r\n /** Maximum width that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n maxWidth?: string | number;\r\n /** Maximum height that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n maxHeight?: string | number;\r\n}\r\n\r\n/** Component to show dialog populated from properties supplied via uiDataProvider\r\n * @public\r\n */\r\nexport function UiDataProvidedDialog({ uiDataProvider, id, isModal, ...dialogProps }: UiDataProvidedDialogProps) {\r\n const dialogId = React.useRef(id ? id : getUniqueId());\r\n const dialogIsModal = React.useRef(isModal);\r\n const onOK = React.useRef<() => void>();\r\n const onCancel = React.useRef<() => void>();\r\n const closeDialog = () => {\r\n if (dialogIsModal.current)\r\n UiFramework.dialogs.modal.close();\r\n else\r\n UiFramework.dialogs.modeless.close(dialogId.current);\r\n };\r\n\r\n const handleOk = React.useCallback(() => {\r\n onOK.current && onOK.current();\r\n closeDialog();\r\n }, []);\r\n\r\n const handleCancel = React.useCallback(() => {\r\n onCancel.current && onCancel.current();\r\n closeDialog();\r\n }, []);\r\n\r\n const generateButtonCluster = React.useCallback((buttons: DialogButtonDef[] | undefined) => {\r\n // istanbul ignore else\r\n if (buttons) {\r\n for (const button of buttons) {\r\n if (DialogButtonType.Cancel === button.type) {\r\n onCancel.current = button.onClick;\r\n button.onClick = handleCancel;\r\n continue;\r\n }\r\n if (DialogButtonType.OK === button.type) {\r\n onOK.current = button.onClick;\r\n button.onClick = handleOk;\r\n continue;\r\n }\r\n }\r\n }\r\n return buttons;\r\n }, [handleCancel, handleOk]);\r\n const [buttonCluster, setButtonCluster] = React.useState(() => generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n\r\n React.useEffect(() => {\r\n const handleReloaded = () => {\r\n setButtonCluster(generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n };\r\n uiDataProvider.onItemsReloadedEvent.addListener(handleReloaded);\r\n return () => {\r\n uiDataProvider.onItemsReloadedEvent.removeListener(handleReloaded);\r\n };\r\n }, [generateButtonCluster, uiDataProvider]);\r\n\r\n React.useEffect(() => {\r\n const handleButtonReloaded = () => {\r\n setButtonCluster(generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n };\r\n uiDataProvider.onButtonsReloadedEvent.addListener(handleButtonReloaded);\r\n return () => {\r\n uiDataProvider.onButtonsReloadedEvent.removeListener(handleButtonReloaded);\r\n };\r\n }, [generateButtonCluster, uiDataProvider]);\r\n\r\n const handleClose = React.useCallback(() => closeDialog(), []);\r\n\r\n return (<Dialog {...dialogProps}\r\n opened={true}\r\n modal={isModal}\r\n buttonCluster={buttonCluster}\r\n onClose={handleClose}\r\n onEscape={handleClose}\r\n >\r\n <DefaultDialogGridContainer componentGenerator={new ComponentGenerator(uiDataProvider)} />\r\n </Dialog>\r\n );\r\n}\r\n"]}
1
+ {"version":3,"file":"UiDataProvidedDialog.js","sourceRoot":"","sources":["../../../../src/appui-react/dialog/UiDataProvidedDialog.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAC/B,kDAA2C;AAE3C,0DAAyD;AACzD,kEAAwD;AACxD,yFAAsF;AACtF,yEAAsE;AACtE,gDAA6C;AAgC7C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,WAAW,EAA6B;IAC7G,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAA,gCAAW,GAAE,CAAC,CAAC;IACvD,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,EAAc,CAAC;IACxC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,EAAc,CAAC;IAC5C,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,aAAa,CAAC,OAAO;YACvB,yBAAW,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;;YAElC,yBAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACtC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QAC/B,WAAW,EA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CAAC,CAAC;QAChE,OAAO,GAAG,EAAE;YACV,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;QACrE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC,CAAC;IAE5C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,oBAAoB,GAAG,GAAG,EAAE;YAChC,gBAAgB,CAAC,qBAAqB,CAAC,cAAc,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;QAC7E,CAAC,CAAC;QACF,cAAc,CAAC,sBAAsB,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;QACxE,OAAO,GAAG,EAAE;YACV,cAAc,CAAC,sBAAsB,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;QAC7E,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC,CAAC;IAE5C,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IAE/D,OAAO,CAAC,oBAAC,mBAAM,OAAK,WAAW,EAC7B,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,WAAW;QAErB,oBAAC,uDAA0B,IAAC,kBAAkB,EAAE,IAAI,uCAAkB,CAAC,cAAc,CAAC,GAAI,CACnF,CACR,CAAC;AACJ,CAAC;AA1ED,oDA0EC","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 Dialog\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Dialog } from \"@itwin/core-react\";\r\nimport type { DialogButtonDef, DialogLayoutDataProvider } from \"@itwin/appui-abstract\";\r\nimport { DialogButtonType } from \"@itwin/appui-abstract\";\r\nimport { getUniqueId } from \"@itwin/appui-layout-react\";\r\nimport { DefaultDialogGridContainer } from \"../uiprovider/DefaultDialogGridContainer\";\r\nimport { ComponentGenerator } from \"../uiprovider/ComponentGenerator\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Props for [[UiDataProvidedDialog]] component.\r\n * @public\r\n */\r\nexport interface UiDataProvidedDialogProps {\r\n /** Dialog title */\r\n title: string;\r\n /** Provider that provides and lays out DialogItems */\r\n uiDataProvider: DialogLayoutDataProvider;\r\n /** Indicates if Dialog is Modal */\r\n isModal: boolean;\r\n /** Id used to specify dialog. */\r\n id?: string;\r\n /** Indicates whether the user can resize dialog with cursor. Default: false */\r\n resizable?: boolean;\r\n /** Indicates whether the user can move dialog with cursor. Default: false */\r\n movable?: boolean;\r\n /** Initial width of dialog. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: \"50%\" */\r\n width?: string | number;\r\n /** Initial height of dialog. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n height?: string | number;\r\n /** Minimum width that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: 300px */\r\n minWidth?: string | number;\r\n /** Minimum height that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. Default: 100px */\r\n minHeight?: string | number;\r\n /** Maximum width that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n maxWidth?: string | number;\r\n /** Maximum height that the dialog may be resized to. Displayed in px if value is a number; otherwise, displayed in specified CSS unit. */\r\n maxHeight?: string | number;\r\n}\r\n\r\n/** Component to show dialog populated from properties supplied via uiDataProvider\r\n * @public\r\n */\r\nexport function UiDataProvidedDialog({ uiDataProvider, id, isModal, ...dialogProps }: UiDataProvidedDialogProps) {\r\n const dialogId = React.useRef(id ? id : getUniqueId());\r\n const dialogIsModal = React.useRef(isModal);\r\n const onOK = React.useRef<() => void>();\r\n const onCancel = React.useRef<() => void>();\r\n const closeDialog = () => {\r\n if (dialogIsModal.current)\r\n UiFramework.dialogs.modal.close();\r\n else\r\n UiFramework.dialogs.modeless.close(dialogId.current);\r\n };\r\n\r\n const handleOk = React.useCallback(() => {\r\n onOK.current && onOK.current();\r\n closeDialog();\r\n }, []);\r\n\r\n const handleCancel = React.useCallback(() => {\r\n onCancel.current && onCancel.current();\r\n closeDialog();\r\n }, []);\r\n\r\n const generateButtonCluster = React.useCallback((buttons: DialogButtonDef[] | undefined) => {\r\n // istanbul ignore else\r\n if (buttons) {\r\n for (const button of buttons) {\r\n if (DialogButtonType.Cancel === button.type) {\r\n onCancel.current = button.onClick;\r\n button.onClick = handleCancel;\r\n continue;\r\n }\r\n if (DialogButtonType.OK === button.type) {\r\n onOK.current = button.onClick;\r\n button.onClick = handleOk;\r\n continue;\r\n }\r\n }\r\n }\r\n return buttons;\r\n }, [handleCancel, handleOk]);\r\n const [buttonCluster, setButtonCluster] = React.useState(() => generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n\r\n React.useEffect(() => {\r\n const handleReloaded = () => {\r\n setButtonCluster(generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n };\r\n uiDataProvider.onItemsReloadedEvent.addListener(handleReloaded);\r\n return () => {\r\n uiDataProvider.onItemsReloadedEvent.removeListener(handleReloaded);\r\n };\r\n }, [generateButtonCluster, uiDataProvider]);\r\n\r\n React.useEffect(() => {\r\n const handleButtonReloaded = () => {\r\n setButtonCluster(generateButtonCluster(uiDataProvider.supplyButtonData()));\r\n };\r\n uiDataProvider.onButtonsReloadedEvent.addListener(handleButtonReloaded);\r\n return () => {\r\n uiDataProvider.onButtonsReloadedEvent.removeListener(handleButtonReloaded);\r\n };\r\n }, [generateButtonCluster, uiDataProvider]);\r\n\r\n const handleClose = React.useCallback(() => closeDialog(), []);\r\n\r\n return (<Dialog {...dialogProps}\r\n opened={true}\r\n modal={isModal}\r\n buttonCluster={buttonCluster}\r\n onClose={handleClose}\r\n onEscape={handleClose}\r\n >\r\n <DefaultDialogGridContainer componentGenerator={new ComponentGenerator(uiDataProvider)} />\r\n </Dialog>\r\n );\r\n}\r\n"]}
@@ -2,11 +2,12 @@
2
2
  * @module Notification
3
3
  */
4
4
  import * as React from "react";
5
- import { XAndY } from "@itwin/core-geometry";
6
- import { ToolTipOptions } from "@itwin/core-frontend";
7
- import { PointProps, UiEvent } from "@itwin/appui-abstract";
8
- import { CommonProps } from "@itwin/core-react";
9
- import { NotifyMessageType } from "../messages/ReactNotifyMessageDetails";
5
+ import type { XAndY } from "@itwin/core-geometry";
6
+ import type { ToolTipOptions } from "@itwin/core-frontend";
7
+ import type { PointProps } from "@itwin/appui-abstract";
8
+ import { UiEvent } from "@itwin/appui-abstract";
9
+ import type { CommonProps } from "@itwin/core-react";
10
+ import type { NotifyMessageType } from "../messages/ReactNotifyMessageDetails";
10
11
  /** [[ElementTooltip]] State.
11
12
  * @internal
12
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ElementTooltip.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/feedback/ElementTooltip.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAA+B,MAAM,mBAAmB,CAAC;AAG7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE1E;;GAEG;AACH,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,UAAU,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AA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,EAAC,cAAc,EAAE,eAAe,CAAC,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YACvH,MAAM,QAAQ,GAAG,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,CAAC;YAEpE,uBAAuB;YACvB,IAAI,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;gBACrC,OAAO,IAAI,CAAC;YAEd,uBAAuB;YACvB,OAAO;gBACL,QAAQ;aACT,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;;AAzIc,0CAA2B,GAA+B,IAAI,0BAA0B,EAAE,AAA/D,CAAgE;AAD/F,wCAAc","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 Notification\r\n */\r\n\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { XAndY } from \"@itwin/core-geometry\";\r\nimport { ToolTipOptions } from \"@itwin/core-frontend\";\r\nimport { PointProps, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { CommonProps, Point, Rectangle, SizeProps } from \"@itwin/core-react\";\r\nimport { offsetAndContainInContainer, Tooltip } from \"@itwin/appui-layout-react\";\r\nimport { MessageDiv } from \"../messages/MessageSpan\";\r\nimport { NotifyMessageType } from \"../messages/ReactNotifyMessageDetails\";\r\n\r\n/** [[ElementTooltip]] State.\r\n * @internal\r\n */\r\ninterface ElementTooltipState {\r\n isVisible: boolean;\r\n message: NotifyMessageType;\r\n position: PointProps;\r\n options?: ToolTipOptions;\r\n}\r\n\r\n/** [[ElementTooltipChangedEvent]] arguments.\r\n * @public\r\n */\r\nexport interface ElementTooltipChangedEventArgs {\r\n isTooltipVisible: boolean;\r\n message: NotifyMessageType;\r\n el?: HTMLElement;\r\n pt?: XAndY;\r\n options?: ToolTipOptions;\r\n}\r\n\r\n/** ElementTooltip Changed Event class.\r\n * @public\r\n */\r\nexport class ElementTooltipChangedEvent extends UiEvent<ElementTooltipChangedEventArgs> { }\r\n\r\n/** ElementTooltip React component.\r\n * @public\r\n */\r\nexport class ElementTooltip extends React.Component<CommonProps, ElementTooltipState> {\r\n private static _elementTooltipChangedEvent: ElementTooltipChangedEvent = new ElementTooltipChangedEvent();\r\n private static _isTooltipVisible: boolean;\r\n private static _isTooltipHalted: boolean;\r\n\r\n public static get onElementTooltipChangedEvent(): ElementTooltipChangedEvent { return ElementTooltip._elementTooltipChangedEvent; }\r\n public static get isTooltipVisible(): boolean { return ElementTooltip._isTooltipVisible; }\r\n\r\n public static showTooltip(el: HTMLElement, message: NotifyMessageType, pt?: XAndY, options?: ToolTipOptions): void {\r\n // istanbul ignore if\r\n if (ElementTooltip._isTooltipHalted)\r\n return;\r\n ElementTooltip._isTooltipVisible = true;\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: true, el, message, pt, options });\r\n el.ownerDocument.addEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n }\r\n\r\n public static hideTooltip(): void {\r\n ElementTooltip._isTooltipVisible = false;\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: false, message: \"\" });\r\n }\r\n\r\n // istanbul ignore next\r\n public static get isTooltipHalted(): boolean { return ElementTooltip._isTooltipHalted; }\r\n // istanbul ignore next\r\n public static set isTooltipHalted(halt: boolean) {\r\n ElementTooltip._isTooltipHalted = halt;\r\n if (halt && ElementTooltip._isTooltipVisible)\r\n ElementTooltip.hideTooltip();\r\n }\r\n\r\n private _size: SizeProps = {\r\n height: 0,\r\n width: 0,\r\n };\r\n private _element?: HTMLElement;\r\n private _position?: PointProps;\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ElementTooltipState> = {\r\n message: \"\",\r\n isVisible: false,\r\n position: {\r\n x: 0,\r\n y: 0,\r\n },\r\n };\r\n\r\n constructor(props: CommonProps) {\r\n super(props);\r\n }\r\n\r\n public override render() {\r\n if (!this.state.isVisible)\r\n return null;\r\n\r\n const className = classnames(\r\n \"uifw-element-tooltip\",\r\n this.props.className);\r\n\r\n const messageNode = <MessageDiv message={this.state.message} />;\r\n\r\n return (\r\n <div className=\"uifw-element-tooltip-container\">\r\n <Tooltip\r\n className={className}\r\n style={this.props.style}\r\n position={this.state.position}\r\n onSizeChanged={this._handleSizeChanged}\r\n >\r\n {messageNode}\r\n </Tooltip>\r\n </div>\r\n );\r\n }\r\n\r\n public override componentDidMount(): void {\r\n ElementTooltip.onElementTooltipChangedEvent.addListener(this._handleElementTooltipChangedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n ElementTooltip.onElementTooltipChangedEvent.removeListener(this._handleElementTooltipChangedEvent);\r\n }\r\n\r\n private static _handleMouseMove(event: MouseEvent) {\r\n const el = event.currentTarget as Document;\r\n /* Only monitor mouse movement when an ElementTooltip is open. */\r\n if (el && ElementTooltip._isTooltipHalted || !ElementTooltip._isTooltipVisible) {\r\n el.removeEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n return;\r\n }\r\n const hoveredElement = el ? el.elementFromPoint(event.clientX, event.clientY) : undefined;\r\n /* If the mouse has moved to an element that is not the view canvas, close the ElementTooltip. */\r\n // istanbul ignore next.\r\n if (hoveredElement && hoveredElement.localName !== \"canvas\") {\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: false, message: \"\" });\r\n el.removeEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n return;\r\n }\r\n }\r\n private _handleElementTooltipChangedEvent = (args: ElementTooltipChangedEventArgs) => {\r\n this._element = args.el;\r\n this._position = args.pt;\r\n this.setState({\r\n isVisible: args.isTooltipVisible,\r\n message: args.message,\r\n });\r\n this.updatePosition();\r\n };\r\n\r\n // istanbul ignore next\r\n private _handleSizeChanged = (size: SizeProps) => {\r\n this._size = size;\r\n this.updatePosition();\r\n };\r\n\r\n private updatePosition() {\r\n this.setState((prevState) => {\r\n if (!this._element)\r\n return null;\r\n // istanbul ignore next\r\n if (!this._position)\r\n return null;\r\n\r\n const containerBounds = Rectangle.create(this._element.getBoundingClientRect());\r\n const relativeBounds = Rectangle.createFromSize(this._size).offset(this._position);\r\n const adjustedPosition: Point = offsetAndContainInContainer(relativeBounds, containerBounds.getSize(), { x: 8, y: 8 });\r\n const position = adjustedPosition.offset(containerBounds.topLeft());\r\n\r\n // istanbul ignore else\r\n if (position.equals(prevState.position))\r\n return null;\r\n\r\n // istanbul ignore next\r\n return {\r\n position,\r\n };\r\n });\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"ElementTooltip.js","sourceRoot":"","sources":["../../../../src/appui-react/feedback/ElementTooltip.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,2CAAoC;AACpC,+BAA+B;AAI/B,0DAAgD;AAEhD,kDAA8C;AAC9C,kEAAiF;AACjF,yDAAqD;AAwBrD;;GAEG;AACH,MAAa,0BAA2B,SAAQ,wBAAuC;CAAI;AAA3F,gEAA2F;AAE3F;;GAEG;AACH,MAAa,cAAe,SAAQ,KAAK,CAAC,SAA2C;IAK5E,MAAM,KAAK,4BAA4B,KAAiC,OAAO,cAAc,CAAC,2BAA2B,CAAC,CAAC,CAAC;IAC5H,MAAM,KAAK,gBAAgB,KAAc,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAEnF,MAAM,CAAC,WAAW,CAAC,EAAe,EAAE,OAA0B,EAAE,EAAU,EAAE,OAAwB;QACzG,qBAAqB;QACrB,IAAI,cAAc,CAAC,gBAAgB;YACjC,OAAO;QACT,cAAc,CAAC,iBAAiB,GAAG,IAAI,CAAC;QACxC,cAAc,CAAC,4BAA4B,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,CA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,OAAO;gBACL,QAAQ;aACT,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;;AAzIc,0CAA2B,GAA+B,IAAI,0BAA0B,EAAE,AAA/D,CAAgE;AAD/F,wCAAc","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 Notification\r\n */\r\n\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport type { XAndY } from \"@itwin/core-geometry\";\r\nimport type { ToolTipOptions } from \"@itwin/core-frontend\";\r\nimport type { PointProps} from \"@itwin/appui-abstract\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport type { CommonProps, Point, SizeProps } from \"@itwin/core-react\";\r\nimport { Rectangle } from \"@itwin/core-react\";\r\nimport { offsetAndContainInContainer, Tooltip } from \"@itwin/appui-layout-react\";\r\nimport { MessageDiv } from \"../messages/MessageSpan\";\r\nimport type { NotifyMessageType } from \"../messages/ReactNotifyMessageDetails\";\r\n\r\n/** [[ElementTooltip]] State.\r\n * @internal\r\n */\r\ninterface ElementTooltipState {\r\n isVisible: boolean;\r\n message: NotifyMessageType;\r\n position: PointProps;\r\n options?: ToolTipOptions;\r\n}\r\n\r\n/** [[ElementTooltipChangedEvent]] arguments.\r\n * @public\r\n */\r\nexport interface ElementTooltipChangedEventArgs {\r\n isTooltipVisible: boolean;\r\n message: NotifyMessageType;\r\n el?: HTMLElement;\r\n pt?: XAndY;\r\n options?: ToolTipOptions;\r\n}\r\n\r\n/** ElementTooltip Changed Event class.\r\n * @public\r\n */\r\nexport class ElementTooltipChangedEvent extends UiEvent<ElementTooltipChangedEventArgs> { }\r\n\r\n/** ElementTooltip React component.\r\n * @public\r\n */\r\nexport class ElementTooltip extends React.Component<CommonProps, ElementTooltipState> {\r\n private static _elementTooltipChangedEvent: ElementTooltipChangedEvent = new ElementTooltipChangedEvent();\r\n private static _isTooltipVisible: boolean;\r\n private static _isTooltipHalted: boolean;\r\n\r\n public static get onElementTooltipChangedEvent(): ElementTooltipChangedEvent { return ElementTooltip._elementTooltipChangedEvent; }\r\n public static get isTooltipVisible(): boolean { return ElementTooltip._isTooltipVisible; }\r\n\r\n public static showTooltip(el: HTMLElement, message: NotifyMessageType, pt?: XAndY, options?: ToolTipOptions): void {\r\n // istanbul ignore if\r\n if (ElementTooltip._isTooltipHalted)\r\n return;\r\n ElementTooltip._isTooltipVisible = true;\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: true, el, message, pt, options });\r\n el.ownerDocument.addEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n }\r\n\r\n public static hideTooltip(): void {\r\n ElementTooltip._isTooltipVisible = false;\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: false, message: \"\" });\r\n }\r\n\r\n // istanbul ignore next\r\n public static get isTooltipHalted(): boolean { return ElementTooltip._isTooltipHalted; }\r\n // istanbul ignore next\r\n public static set isTooltipHalted(halt: boolean) {\r\n ElementTooltip._isTooltipHalted = halt;\r\n if (halt && ElementTooltip._isTooltipVisible)\r\n ElementTooltip.hideTooltip();\r\n }\r\n\r\n private _size: SizeProps = {\r\n height: 0,\r\n width: 0,\r\n };\r\n private _element?: HTMLElement;\r\n private _position?: PointProps;\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ElementTooltipState> = {\r\n message: \"\",\r\n isVisible: false,\r\n position: {\r\n x: 0,\r\n y: 0,\r\n },\r\n };\r\n\r\n constructor(props: CommonProps) {\r\n super(props);\r\n }\r\n\r\n public override render() {\r\n if (!this.state.isVisible)\r\n return null;\r\n\r\n const className = classnames(\r\n \"uifw-element-tooltip\",\r\n this.props.className);\r\n\r\n const messageNode = <MessageDiv message={this.state.message} />;\r\n\r\n return (\r\n <div className=\"uifw-element-tooltip-container\">\r\n <Tooltip\r\n className={className}\r\n style={this.props.style}\r\n position={this.state.position}\r\n onSizeChanged={this._handleSizeChanged}\r\n >\r\n {messageNode}\r\n </Tooltip>\r\n </div>\r\n );\r\n }\r\n\r\n public override componentDidMount(): void {\r\n ElementTooltip.onElementTooltipChangedEvent.addListener(this._handleElementTooltipChangedEvent);\r\n }\r\n\r\n public override componentWillUnmount(): void {\r\n ElementTooltip.onElementTooltipChangedEvent.removeListener(this._handleElementTooltipChangedEvent);\r\n }\r\n\r\n private static _handleMouseMove(event: MouseEvent) {\r\n const el = event.currentTarget as Document;\r\n /* Only monitor mouse movement when an ElementTooltip is open. */\r\n if (el && ElementTooltip._isTooltipHalted || !ElementTooltip._isTooltipVisible) {\r\n el.removeEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n return;\r\n }\r\n const hoveredElement = el ? el.elementFromPoint(event.clientX, event.clientY) : undefined;\r\n /* If the mouse has moved to an element that is not the view canvas, close the ElementTooltip. */\r\n // istanbul ignore next.\r\n if (hoveredElement && hoveredElement.localName !== \"canvas\") {\r\n ElementTooltip.onElementTooltipChangedEvent.emit({ isTooltipVisible: false, message: \"\" });\r\n el.removeEventListener(\"mousemove\", ElementTooltip._handleMouseMove);\r\n return;\r\n }\r\n }\r\n private _handleElementTooltipChangedEvent = (args: ElementTooltipChangedEventArgs) => {\r\n this._element = args.el;\r\n this._position = args.pt;\r\n this.setState({\r\n isVisible: args.isTooltipVisible,\r\n message: args.message,\r\n });\r\n this.updatePosition();\r\n };\r\n\r\n // istanbul ignore next\r\n private _handleSizeChanged = (size: SizeProps) => {\r\n this._size = size;\r\n this.updatePosition();\r\n };\r\n\r\n private updatePosition() {\r\n this.setState((prevState) => {\r\n if (!this._element)\r\n return null;\r\n // istanbul ignore next\r\n if (!this._position)\r\n return null;\r\n\r\n const containerBounds = Rectangle.create(this._element.getBoundingClientRect());\r\n const relativeBounds = Rectangle.createFromSize(this._size).offset(this._position);\r\n const adjustedPosition: Point = offsetAndContainInContainer(relativeBounds, containerBounds.getSize(), { x: 8, y: 8 });\r\n const position = adjustedPosition.offset(containerBounds.topLeft());\r\n\r\n // istanbul ignore else\r\n if (position.equals(prevState.position))\r\n return null;\r\n\r\n // istanbul ignore next\r\n return {\r\n position,\r\n };\r\n });\r\n }\r\n}\r\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import "./ValidationTextbox.scss";
5
5
  import * as React from "react";
6
- import { CommonProps } from "@itwin/core-react";
6
+ import type { CommonProps } from "@itwin/core-react";
7
7
  /** Enum for Input Status used in [[ValidationTextbox]]
8
8
  * @alpha
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ValidationTextbox.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/feedback/ValidationTextbox.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,0BAA0B,CAAC;AAElC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIhD;;GAEG;AACH,oBAAY,WAAW;IACrB,KAAK,IAAI;IACT,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,UAAU,sBAAuB,SAAQ,WAAW;IAClD,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC;IAChD,sCAAsC;IACtC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,aAAa,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;gBAC5F,KAAK,EAAE,sBAAsB;IAMzC,gBAAgB;IACA,MAAM,IAAI,KAAK,CAAC,SAAS;IAqCzC,OAAO,CAAC,mBAAmB;IAmB3B;;;;OAIG;IACH,OAAO,CAAC,aAAa,CAEnB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAMzB,0BAA0B;IAC1B,OAAO,CAAC,iBAAiB;IAIzB,8BAA8B;IAC9B,OAAO,CAAC,iBAAiB;IAKzB;;;OAGG;IACH,OAAO,CAAC,YAAY,CAelB;CACH"}
1
+ {"version":3,"file":"ValidationTextbox.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/feedback/ValidationTextbox.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,0BAA0B,CAAC;AAElC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD;;GAEG;AACH,oBAAY,WAAW;IACrB,KAAK,IAAI;IACT,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,UAAU,sBAAuB,SAAQ,WAAW;IAClD,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC;IAChD,sCAAsC;IACtC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;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A0B,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAC5G,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,0BAA0B;IAClB,iBAAiB;QACvB,+BAAc,CAAC,qBAAqB,EAAE,CAAC;IACzC,CAAC;IAED,8BAA8B;IACtB,iBAAiB,CAAC,MAAe;QACvC,+BAAc,CAAC,wBAAwB,CAAC,MAAqB,EAAE,IAAI,CAAC,KAAK,CAAC,SAAU,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACpH,OAAO;IACT,CAAC;CAsBF;AApHD,8CAoHC","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 Notification\r\n */\r\n\r\nimport \"./ValidationTextbox.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { SpecialKey } from \"@itwin/appui-abstract\";\r\nimport { CommonProps } from \"@itwin/core-react\";\r\nimport { MessageManager } from \"../messages/MessageManager\";\r\nimport { Input } from \"@itwin/itwinui-react\";\r\n\r\n/** Enum for Input Status used in [[ValidationTextbox]]\r\n * @alpha\r\n */\r\nexport enum InputStatus {\r\n Valid = 0,\r\n Invalid = 1,\r\n}\r\n\r\n/** Property interface for ValidationTextbox\r\n * @alpha\r\n */\r\ninterface ValidationTextboxProps extends CommonProps {\r\n /** value to set ValidationTextbox to initially */\r\n initialValue?: string;\r\n /** placeholder value to show in gray before anything is entered in */\r\n placeholder?: string;\r\n /** triggered when the content of ValidationTextbox is changed. Return true if valid */\r\n onValueChanged?: (value: string) => InputStatus;\r\n /** listens for <Enter> key presses */\r\n onEnterPressed?: () => void;\r\n /** listens for <Esc> key presses */\r\n onEscPressed?: () => void;\r\n /** width of ValidationTextbox, measured in em */\r\n size?: number;\r\n /** Error message to display */\r\n errorText?: string;\r\n /** Detailed error message to display */\r\n detailedErrorText?: string;\r\n /** Content */\r\n children?: React.ReactNode;\r\n}\r\n\r\ninterface ValidationTextboxState {\r\n isValid: boolean;\r\n}\r\n\r\n/**\r\n * Input box that validates text based on provided criteria. Defaults to checking\r\n * for empty if no method for onValueChanged is provided.\r\n * @alpha\r\n */\r\nexport class ValidationTextbox extends React.PureComponent<ValidationTextboxProps, ValidationTextboxState> {\r\n constructor(props: ValidationTextboxProps) {\r\n super(props);\r\n\r\n this.state = { isValid: true };\r\n }\r\n\r\n /** @internal */\r\n public override render(): React.ReactNode {\r\n const sizeStyle: React.CSSProperties = {\r\n width: this.props.size ? `${this.props.size.toString()}em` : \"12em\",\r\n };\r\n const divStyle: React.CSSProperties = {\r\n ...sizeStyle,\r\n ...this.props.style,\r\n };\r\n\r\n const validClassNames = classnames(\r\n \"ValidationTextbox-input\",\r\n );\r\n\r\n const invalidClassNames = classnames(\r\n \"ValidationTextbox-input\",\r\n \"ValidationTextbox-invalid\",\r\n );\r\n\r\n return (\r\n <div\r\n className={classnames(\"uifw-ValidationTextbox\", this.props.className)}\r\n style={divStyle}>\r\n <Input\r\n className={this.state.isValid ? validClassNames : invalidClassNames}\r\n onChange={this._validateText}\r\n onKeyUp={this._handleKeyUp}\r\n onPaste={this._validateText}\r\n onCut={this._validateText}\r\n onBlur={this._validateText}\r\n placeholder={this.props.placeholder ? this.props.placeholder : \"\"}\r\n style={sizeStyle}\r\n />\r\n {this.props.children}\r\n </div>\r\n );\r\n }\r\n\r\n private processValidateText(target: HTMLInputElement | undefined): void {\r\n // istanbul ignore next\r\n if (undefined === target)\r\n return;\r\n\r\n const value = target.value;\r\n const isValid = this._calculateIsValid(value);\r\n\r\n this.setState({ isValid }, () => {\r\n if (this.state.isValid) {\r\n this._hideErrorMessage();\r\n } else {\r\n // istanbul ignore else\r\n if (this.props.errorText && !this.state.isValid)\r\n this._showErrorMessage(target);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Determines if value is valid and resolves any defined functions.\r\n * Also will show or hide error message if defined.\r\n * @param event Button press event that triggers validation\r\n */\r\n private _validateText = (event?: any): void => {\r\n this.processValidateText(event.target as HTMLInputElement);\r\n };\r\n\r\n /**\r\n * Determines if value provided is valid by calling user defined\r\n * function. If no function is provided, the default criteria for\r\n * validity is if the value has been defined.\r\n * @param value The value provided in textbox\r\n */\r\n private _calculateIsValid(value: string): boolean {\r\n if (this.props.onValueChanged)\r\n return (this.props.onValueChanged(value) === InputStatus.Valid) ? /* istanbul ignore next */ true : false;\r\n return value.length > 0;\r\n }\r\n\r\n /** Hides error message */\r\n private _hideErrorMessage() {\r\n MessageManager.hideInputFieldMessage();\r\n }\r\n\r\n /** Displays error message. */\r\n private _showErrorMessage(target: Element) {\r\n MessageManager.displayInputFieldMessage(target as HTMLElement, this.props.errorText!, this.props.detailedErrorText);\r\n return;\r\n }\r\n\r\n /**\r\n * Manages special key codes by calling user defined functions\r\n * @param event Keyup event\r\n */\r\n private _handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\r\n this.processValidateText(event.target as HTMLInputElement);\r\n\r\n switch (event.key) {\r\n case SpecialKey.Escape:\r\n // istanbul ignore else\r\n if (this.props.onEscPressed)\r\n this.props.onEscPressed();\r\n break;\r\n case SpecialKey.Enter:\r\n // istanbul ignore else\r\n if (this.props.onEnterPressed)\r\n this.props.onEnterPressed();\r\n break;\r\n }\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"ValidationTextbox.js","sourceRoot":"","sources":["../../../../src/appui-react/feedback/ValidationTextbox.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,oCAAkC;AAClC,2CAAoC;AACpC,+BAA+B;AAC/B,0DAAmD;AAEnD,+DAA4D;AAC5D,wDAA6C;AAE7C;;GAEG;AACH,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,+CAAS,CAAA;IACT,mDAAW,CAAA;AACb,CAAC,EAHW,WAAW,GAA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C,iBAAiB,CAAC,MAAM,CAAC,CAAC;aAClC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAWD;;;;;OAKG;IACK,iBAAiB,CAAC,KAAa;QACrC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc;YAC3B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAC5G,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,0BAA0B;IAClB,iBAAiB;QACvB,+BAAc,CAAC,qBAAqB,EAAE,CAAC;IACzC,CAAC;IAED,8BAA8B;IACtB,iBAAiB,CAAC,MAAe;QACvC,+BAAc,CAAC,wBAAwB,CAAC,MAAqB,EAAE,IAAI,CAAC,KAAK,CAAC,SAAU,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACpH,OAAO;IACT,CAAC;CAsBF;AApHD,8CAoHC","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 Notification\r\n */\r\n\r\nimport \"./ValidationTextbox.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { SpecialKey } from \"@itwin/appui-abstract\";\r\nimport type { CommonProps } from \"@itwin/core-react\";\r\nimport { MessageManager } from \"../messages/MessageManager\";\r\nimport { Input } from \"@itwin/itwinui-react\";\r\n\r\n/** Enum for Input Status used in [[ValidationTextbox]]\r\n * @alpha\r\n */\r\nexport enum InputStatus {\r\n Valid = 0,\r\n Invalid = 1,\r\n}\r\n\r\n/** Property interface for ValidationTextbox\r\n * @alpha\r\n */\r\ninterface ValidationTextboxProps extends CommonProps {\r\n /** value to set ValidationTextbox to initially */\r\n initialValue?: string;\r\n /** placeholder value to show in gray before anything is entered in */\r\n placeholder?: string;\r\n /** triggered when the content of ValidationTextbox is changed. Return true if valid */\r\n onValueChanged?: (value: string) => InputStatus;\r\n /** listens for <Enter> key presses */\r\n onEnterPressed?: () => void;\r\n /** listens for <Esc> key presses */\r\n onEscPressed?: () => void;\r\n /** width of ValidationTextbox, measured in em */\r\n size?: number;\r\n /** Error message to display */\r\n errorText?: string;\r\n /** Detailed error message to display */\r\n detailedErrorText?: string;\r\n /** Content */\r\n children?: React.ReactNode;\r\n}\r\n\r\ninterface ValidationTextboxState {\r\n isValid: boolean;\r\n}\r\n\r\n/**\r\n * Input box that validates text based on provided criteria. Defaults to checking\r\n * for empty if no method for onValueChanged is provided.\r\n * @alpha\r\n */\r\nexport class ValidationTextbox extends React.PureComponent<ValidationTextboxProps, ValidationTextboxState> {\r\n constructor(props: ValidationTextboxProps) {\r\n super(props);\r\n\r\n this.state = { isValid: true };\r\n }\r\n\r\n /** @internal */\r\n public override render(): React.ReactNode {\r\n const sizeStyle: React.CSSProperties = {\r\n width: this.props.size ? `${this.props.size.toString()}em` : \"12em\",\r\n };\r\n const divStyle: React.CSSProperties = {\r\n ...sizeStyle,\r\n ...this.props.style,\r\n };\r\n\r\n const validClassNames = classnames(\r\n \"ValidationTextbox-input\",\r\n );\r\n\r\n const invalidClassNames = classnames(\r\n \"ValidationTextbox-input\",\r\n \"ValidationTextbox-invalid\",\r\n );\r\n\r\n return (\r\n <div\r\n className={classnames(\"uifw-ValidationTextbox\", this.props.className)}\r\n style={divStyle}>\r\n <Input\r\n className={this.state.isValid ? validClassNames : invalidClassNames}\r\n onChange={this._validateText}\r\n onKeyUp={this._handleKeyUp}\r\n onPaste={this._validateText}\r\n onCut={this._validateText}\r\n onBlur={this._validateText}\r\n placeholder={this.props.placeholder ? this.props.placeholder : \"\"}\r\n style={sizeStyle}\r\n />\r\n {this.props.children}\r\n </div>\r\n );\r\n }\r\n\r\n private processValidateText(target: HTMLInputElement | undefined): void {\r\n // istanbul ignore next\r\n if (undefined === target)\r\n return;\r\n\r\n const value = target.value;\r\n const isValid = this._calculateIsValid(value);\r\n\r\n this.setState({ isValid }, () => {\r\n if (this.state.isValid) {\r\n this._hideErrorMessage();\r\n } else {\r\n // istanbul ignore else\r\n if (this.props.errorText && !this.state.isValid)\r\n this._showErrorMessage(target);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Determines if value is valid and resolves any defined functions.\r\n * Also will show or hide error message if defined.\r\n * @param event Button press event that triggers validation\r\n */\r\n private _validateText = (event?: any): void => {\r\n this.processValidateText(event.target as HTMLInputElement);\r\n };\r\n\r\n /**\r\n * Determines if value provided is valid by calling user defined\r\n * function. If no function is provided, the default criteria for\r\n * validity is if the value has been defined.\r\n * @param value The value provided in textbox\r\n */\r\n private _calculateIsValid(value: string): boolean {\r\n if (this.props.onValueChanged)\r\n return (this.props.onValueChanged(value) === InputStatus.Valid) ? /* istanbul ignore next */ true : false;\r\n return value.length > 0;\r\n }\r\n\r\n /** Hides error message */\r\n private _hideErrorMessage() {\r\n MessageManager.hideInputFieldMessage();\r\n }\r\n\r\n /** Displays error message. */\r\n private _showErrorMessage(target: Element) {\r\n MessageManager.displayInputFieldMessage(target as HTMLElement, this.props.errorText!, this.props.detailedErrorText);\r\n return;\r\n }\r\n\r\n /**\r\n * Manages special key codes by calling user defined functions\r\n * @param event Keyup event\r\n */\r\n private _handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\r\n this.processValidateText(event.target as HTMLInputElement);\r\n\r\n switch (event.key) {\r\n case SpecialKey.Escape:\r\n // istanbul ignore else\r\n if (this.props.onEscPressed)\r\n this.props.onEscPressed();\r\n break;\r\n case SpecialKey.Enter:\r\n // istanbul ignore else\r\n if (this.props.onEnterPressed)\r\n this.props.onEnterPressed();\r\n break;\r\n }\r\n };\r\n}\r\n"]}
@@ -1,9 +1,9 @@
1
1
  /** @packageDocumentation
2
2
  * @module Backstage
3
3
  */
4
- import { BeEvent } from "@itwin/core-bentley";
5
- import { IconSpec } from "@itwin/core-react";
6
- import { CommandItemDef } from "../shared/CommandItemDef";
4
+ import type { BeEvent } from "@itwin/core-bentley";
5
+ import type { IconSpec } from "@itwin/core-react";
6
+ import type { CommandItemDef } from "../shared/CommandItemDef";
7
7
  /** Arguments of [[Backstage.onToggled]].
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkBackstage.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,IAAI,IAAI,CAAC;IACb;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IACd;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;IACf;;;OAGG;IACH,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;CACxE"}
1
+ {"version":3,"file":"FrameworkBackstage.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,IAAI,IAAI,CAAC;IACb;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IACd;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;IACf;;;OAGG;IACH,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;CACxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkBackstage.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Backstage\r\n */\r\n\r\nimport { BeEvent } from \"@itwin/core-bentley\";\r\nimport { IconSpec } from \"@itwin/core-react\";\r\nimport { CommandItemDef } from \"../shared/CommandItemDef\";\r\n\r\n/** Arguments of [[Backstage.onToggled]].\r\n * @public\r\n */\r\nexport interface BackstageToggledArgs {\r\n readonly isOpen: boolean;\r\n}\r\n\r\n/**\r\n * [[UiFramework.backstage]] interface.\r\n * @public\r\n */\r\nexport interface FrameworkBackstage {\r\n /**\r\n * Event activated when the backstage is toggled.\r\n */\r\n readonly onToggled: BeEvent<(args: BackstageToggledArgs) => void>;\r\n /**\r\n * State of the backstage.\r\n */\r\n readonly isOpen: boolean;\r\n /**\r\n * Display the backstage.\r\n */\r\n open(): void;\r\n /**\r\n * Hides the backstage.\r\n */\r\n close(): void;\r\n /**\r\n * Toggle the backstage.\r\n */\r\n toggle(): void;\r\n /**\r\n * Creates a CommandItemDef that toggle the backstage.\r\n * @param overrideIconSpec Icon to replace the default 'home'.\r\n */\r\n getBackstageToggleCommand(overrideIconSpec?: IconSpec): CommandItemDef;\r\n}\r\n"]}
1
+ {"version":3,"file":"FrameworkBackstage.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Backstage\r\n */\r\n\r\nimport type { BeEvent } from \"@itwin/core-bentley\";\r\nimport type { IconSpec } from \"@itwin/core-react\";\r\nimport type { CommandItemDef } from \"../shared/CommandItemDef\";\r\n\r\n/** Arguments of [[Backstage.onToggled]].\r\n * @public\r\n */\r\nexport interface BackstageToggledArgs {\r\n readonly isOpen: boolean;\r\n}\r\n\r\n/**\r\n * [[UiFramework.backstage]] interface.\r\n * @public\r\n */\r\nexport interface FrameworkBackstage {\r\n /**\r\n * Event activated when the backstage is toggled.\r\n */\r\n readonly onToggled: BeEvent<(args: BackstageToggledArgs) => void>;\r\n /**\r\n * State of the backstage.\r\n */\r\n readonly isOpen: boolean;\r\n /**\r\n * Display the backstage.\r\n */\r\n open(): void;\r\n /**\r\n * Hides the backstage.\r\n */\r\n close(): void;\r\n /**\r\n * Toggle the backstage.\r\n */\r\n toggle(): void;\r\n /**\r\n * Creates a CommandItemDef that toggle the backstage.\r\n * @param overrideIconSpec Icon to replace the default 'home'.\r\n */\r\n getBackstageToggleCommand(overrideIconSpec?: IconSpec): CommandItemDef;\r\n}\r\n"]}
@@ -2,12 +2,13 @@
2
2
  * @module ContentView
3
3
  */
4
4
  /// <reference types="react" />
5
- import { ContentLayoutProps, UiEvent } from "@itwin/appui-abstract";
6
- import { ContentControl } from "../content/ContentControl";
7
- import { ContentGroup, ContentGroupProps } from "../content/ContentGroup";
8
- import { ContentLayoutDef } from "../content/ContentLayout";
5
+ import type { ContentLayoutProps } from "@itwin/appui-abstract";
6
+ import { UiEvent } from "@itwin/appui-abstract";
7
+ import type { ContentControl } from "../content/ContentControl";
8
+ import type { ContentGroup, ContentGroupProps } from "../content/ContentGroup";
9
+ import type { ContentLayoutDef } from "../content/ContentLayout";
9
10
  import { DialogChangedEvent } from "../dialog/DialogManagerBase";
10
- import { FrameworkStackedDialog } from "./FrameworkDialogs";
11
+ import type { FrameworkStackedDialog } from "./FrameworkDialogs";
11
12
  /** [[MouseDownChangedEvent]] Args interface.
12
13
  * @public
13
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkContent.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkContent.ts"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,0CAA0C;IAC1C,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,yBAAyB,CAA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,CAAC,CAAC;QAEjE;WACG;QACH,aAAa,IAAI,IAAI,CAAC;KACvB,CAAC;IACF;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC,iBAAiB,CAAC,GAAG;QAC5D,mCAAmC;QACnC,QAAQ,CAAC,2BAA2B,EAAE,yBAAyB,CAAC;KACjE,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkContent.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkContent.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,0DAAoE;AAIpE,mEAAiE;AAWjE;;GAEG;AACH,MAAa,qBAAsB,SAAQ,wBAAkC;CAAI;AAAjF,sDAAiF;AAYjF;;GAEG;AACH,MAAa,yBAA0B,SAAQ,wBAAsC;CAAI;AAAzF,8DAAyF;AAEzF;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sCAAkB;CAAI;AAArE,8DAAqE","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 ContentView\r\n */\r\n\r\nimport { ContentLayoutProps, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { ContentControl } from \"../content/ContentControl\";\r\nimport { ContentGroup, ContentGroupProps } from \"../content/ContentGroup\";\r\nimport { ContentLayoutDef } from \"../content/ContentLayout\";\r\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase\";\r\nimport { FrameworkStackedDialog } from \"./FrameworkDialogs\";\r\n\r\n/** [[MouseDownChangedEvent]] Args interface.\r\n * @public\r\n */\r\nexport interface MouseDownChangedEventArgs {\r\n /** Indicates whether the mouse is down */\r\n mouseDown: boolean;\r\n}\r\n\r\n/** Mouse Down Changed Event class.\r\n * @public\r\n */\r\nexport class MouseDownChangedEvent extends UiEvent<MouseDownChangedEventArgs> { }\r\n\r\n/** [[ActiveContentChangedEvent]] Args interface.\r\n * @public\r\n */\r\nexport interface ActiveContentChangedEventArgs {\r\n /** React node of the old content */\r\n oldContent?: React.ReactNode;\r\n /** React node of the newly active content */\r\n activeContent?: React.ReactNode;\r\n}\r\n\r\n/** Active Content Changed Event class.\r\n * @public\r\n */\r\nexport class ActiveContentChangedEvent extends UiEvent<ActiveContentChangedEventArgs> { }\r\n\r\n/** Content Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ContentDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** @public */\r\nexport interface ContentDialogInfo {\r\n reactNode: React.ReactNode;\r\n zIndex: number;\r\n parentDocument: Document;\r\n}\r\n\r\n/**\r\n * [[UiFramework.content]] interface\r\n * @public\r\n */\r\nexport interface FrameworkContent {\r\n /** Gets the [[MouseDownChangedEvent]] */\r\n readonly onMouseDownChangedEvent: MouseDownChangedEvent;\r\n\r\n /** Determines if the mouse is down in a content view */\r\n readonly isMouseDown: boolean;\r\n\r\n /** Sets the mouse down status for a content view */\r\n setMouseDown(mouseDown: boolean): void;\r\n\r\n /** Gets the [[ActiveContentChangedEvent]] */\r\n readonly onActiveContentChangedEvent: ActiveContentChangedEvent;\r\n\r\n /** Fires when floating contents are added or removed */\r\n\r\n readonly onAvailableContentChangedEvent: UiEvent<{ contentId: string }>;\r\n\r\n /** Gets the active content as a React.ReactNode. */\r\n getActive(): React.ReactNode | undefined;\r\n\r\n /** Return the active ContentControl. */\r\n getActiveContentControl(): ContentControl | undefined;\r\n\r\n addFloatingContentControl(contentControl?: ContentControl): void;\r\n\r\n dropFloatingContentControl(contentControl?: ContentControl): void;\r\n\r\n /** Sets the active [[ContentControl]] */\r\n setActive(activeContent?: React.ReactNode, forceEventProcessing?: boolean): void;\r\n\r\n /** Refreshes the active [[ContentControl]] */\r\n refreshActive(activeContent: React.ReactNode): void;\r\n\r\n /**\r\n * Determines if content displays a Sheet view.\r\n * @param content ContentControl to check\r\n */\r\n isContentSheetView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Drawing view.\r\n * @param content ContentControl to check\r\n */\r\n isContentDrawingView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Spatial view.\r\n * @param content ContentControl to check\r\n */\r\n isContentSpatialView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Orthographic view.\r\n * @param content ContentControl to check\r\n */\r\n isContentOrthographicView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a 3d view.\r\n * @param content ContentControl to check\r\n */\r\n isContent3dView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if viewport supports use of a camera.\r\n * @param content ContentControl to check\r\n */\r\n contentSupportsCamera(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Manage content layouts.\r\n * @public\r\n */\r\n readonly layouts: {\r\n /** build a layout key that is unique for group layout combination */\r\n getKey(props: { contentGroupId: string, layoutId: string }): string;\r\n\r\n /** Return a LayoutDef that is specific to a content group.\r\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\r\n */\r\n getForGroup(contentGroupProps: ContentGroupProps | ContentGroup, overrideContentLayout?: ContentLayoutProps): ContentLayoutDef;\r\n\r\n /** Finds a Content Layout with a given id.\r\n * @param layoutKey group specific layout id, see `getLayoutKey`\r\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\r\n */\r\n find(layoutKey: string): ContentLayoutDef | undefined;\r\n\r\n /** Adds a Content Layout.\r\n * @param layoutId the id of the Content Layout to add\r\n * @param layoutDef the Content Layout definition to add\r\n */\r\n add(layoutId: string, layoutDef: ContentLayoutDef): void;\r\n\r\n /** Gets the active Content Layout */\r\n readonly activeLayout: ContentLayoutDef | undefined;\r\n\r\n /** Gets the active Content Group */\r\n readonly activeContentGroup: ContentGroup | undefined;\r\n\r\n /** Sets the active Content Layout, Content Group and Content Control.\r\n * @param contentLayoutDef Content layout to make active\r\n * @param contentGroup Content Group to make active\r\n */\r\n setActive(contentLayoutDef: ContentLayoutDef, contentGroup: ContentGroup): Promise<void>;\r\n\r\n /** Sets the active Content Group.\r\n * @param contentGroup Content Group to make active\r\n */\r\n setActiveContentGroup(contentGroup: ContentGroup): Promise<void>;\r\n\r\n /** Refreshes the active layout and content group.\r\n */\r\n refreshActive(): void;\r\n };\r\n /**\r\n * Manage dialogs displaying managed content.\r\n * @beta\r\n */\r\n readonly dialogs: FrameworkStackedDialog<ContentDialogInfo> & {\r\n /** Content Dialog Changed Event */\r\n readonly onContentDialogChangedEvent: ContentDialogChangedEvent;\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"FrameworkContent.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkContent.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,0DAAgD;AAIhD,mEAAiE;AAWjE;;GAEG;AACH,MAAa,qBAAsB,SAAQ,wBAAkC;CAAI;AAAjF,sDAAiF;AAYjF;;GAEG;AACH,MAAa,yBAA0B,SAAQ,wBAAsC;CAAI;AAAzF,8DAAyF;AAEzF;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sCAAkB;CAAI;AAArE,8DAAqE","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 ContentView\r\n */\r\n\r\nimport type { ContentLayoutProps} from \"@itwin/appui-abstract\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport type { ContentControl } from \"../content/ContentControl\";\r\nimport type { ContentGroup, ContentGroupProps } from \"../content/ContentGroup\";\r\nimport type { ContentLayoutDef } from \"../content/ContentLayout\";\r\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase\";\r\nimport type { FrameworkStackedDialog } from \"./FrameworkDialogs\";\r\n\r\n/** [[MouseDownChangedEvent]] Args interface.\r\n * @public\r\n */\r\nexport interface MouseDownChangedEventArgs {\r\n /** Indicates whether the mouse is down */\r\n mouseDown: boolean;\r\n}\r\n\r\n/** Mouse Down Changed Event class.\r\n * @public\r\n */\r\nexport class MouseDownChangedEvent extends UiEvent<MouseDownChangedEventArgs> { }\r\n\r\n/** [[ActiveContentChangedEvent]] Args interface.\r\n * @public\r\n */\r\nexport interface ActiveContentChangedEventArgs {\r\n /** React node of the old content */\r\n oldContent?: React.ReactNode;\r\n /** React node of the newly active content */\r\n activeContent?: React.ReactNode;\r\n}\r\n\r\n/** Active Content Changed Event class.\r\n * @public\r\n */\r\nexport class ActiveContentChangedEvent extends UiEvent<ActiveContentChangedEventArgs> { }\r\n\r\n/** Content Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ContentDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** @public */\r\nexport interface ContentDialogInfo {\r\n reactNode: React.ReactNode;\r\n zIndex: number;\r\n parentDocument: Document;\r\n}\r\n\r\n/**\r\n * [[UiFramework.content]] interface\r\n * @public\r\n */\r\nexport interface FrameworkContent {\r\n /** Gets the [[MouseDownChangedEvent]] */\r\n readonly onMouseDownChangedEvent: MouseDownChangedEvent;\r\n\r\n /** Determines if the mouse is down in a content view */\r\n readonly isMouseDown: boolean;\r\n\r\n /** Sets the mouse down status for a content view */\r\n setMouseDown(mouseDown: boolean): void;\r\n\r\n /** Gets the [[ActiveContentChangedEvent]] */\r\n readonly onActiveContentChangedEvent: ActiveContentChangedEvent;\r\n\r\n /** Fires when floating contents are added or removed */\r\n\r\n readonly onAvailableContentChangedEvent: UiEvent<{ contentId: string }>;\r\n\r\n /** Gets the active content as a React.ReactNode. */\r\n getActive(): React.ReactNode | undefined;\r\n\r\n /** Return the active ContentControl. */\r\n getActiveContentControl(): ContentControl | undefined;\r\n\r\n addFloatingContentControl(contentControl?: ContentControl): void;\r\n\r\n dropFloatingContentControl(contentControl?: ContentControl): void;\r\n\r\n /** Sets the active [[ContentControl]] */\r\n setActive(activeContent?: React.ReactNode, forceEventProcessing?: boolean): void;\r\n\r\n /** Refreshes the active [[ContentControl]] */\r\n refreshActive(activeContent: React.ReactNode): void;\r\n\r\n /**\r\n * Determines if content displays a Sheet view.\r\n * @param content ContentControl to check\r\n */\r\n isContentSheetView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Drawing view.\r\n * @param content ContentControl to check\r\n */\r\n isContentDrawingView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Spatial view.\r\n * @param content ContentControl to check\r\n */\r\n isContentSpatialView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a Orthographic view.\r\n * @param content ContentControl to check\r\n */\r\n isContentOrthographicView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if content displays a 3d view.\r\n * @param content ContentControl to check\r\n */\r\n isContent3dView(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Determines if viewport supports use of a camera.\r\n * @param content ContentControl to check\r\n */\r\n contentSupportsCamera(content: ContentControl | undefined): boolean;\r\n\r\n /**\r\n * Manage content layouts.\r\n * @public\r\n */\r\n readonly layouts: {\r\n /** build a layout key that is unique for group layout combination */\r\n getKey(props: { contentGroupId: string, layoutId: string }): string;\r\n\r\n /** Return a LayoutDef that is specific to a content group.\r\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\r\n */\r\n getForGroup(contentGroupProps: ContentGroupProps | ContentGroup, overrideContentLayout?: ContentLayoutProps): ContentLayoutDef;\r\n\r\n /** Finds a Content Layout with a given id.\r\n * @param layoutKey group specific layout id, see `getLayoutKey`\r\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\r\n */\r\n find(layoutKey: string): ContentLayoutDef | undefined;\r\n\r\n /** Adds a Content Layout.\r\n * @param layoutId the id of the Content Layout to add\r\n * @param layoutDef the Content Layout definition to add\r\n */\r\n add(layoutId: string, layoutDef: ContentLayoutDef): void;\r\n\r\n /** Gets the active Content Layout */\r\n readonly activeLayout: ContentLayoutDef | undefined;\r\n\r\n /** Gets the active Content Group */\r\n readonly activeContentGroup: ContentGroup | undefined;\r\n\r\n /** Sets the active Content Layout, Content Group and Content Control.\r\n * @param contentLayoutDef Content layout to make active\r\n * @param contentGroup Content Group to make active\r\n */\r\n setActive(contentLayoutDef: ContentLayoutDef, contentGroup: ContentGroup): Promise<void>;\r\n\r\n /** Sets the active Content Group.\r\n * @param contentGroup Content Group to make active\r\n */\r\n setActiveContentGroup(contentGroup: ContentGroup): Promise<void>;\r\n\r\n /** Refreshes the active layout and content group.\r\n */\r\n refreshActive(): void;\r\n };\r\n /**\r\n * Manage dialogs displaying managed content.\r\n * @beta\r\n */\r\n readonly dialogs: FrameworkStackedDialog<ContentDialogInfo> & {\r\n /** Content Dialog Changed Event */\r\n readonly onContentDialogChangedEvent: ContentDialogChangedEvent;\r\n };\r\n}\r\n"]}
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module ConfigurableUi
3
3
  */
4
- import { ConfigurableUiControlConstructor, ConfigurableUiElement } from "../configurableui/ConfigurableUiControl";
4
+ import type { ConfigurableUiControlConstructor, ConfigurableUiElement } from "../configurableui/ConfigurableUiControl";
5
5
  /**
6
6
  * [[UiFramework.controls]] interface
7
7
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkControls.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAElH;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAEhC;;;;;;;;;OASG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,GAAG,IAAI,CAAC;IAE/E;;;OAGG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAEvC;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAAC;IAEhH,wDAAwD;IACxD,iBAAiB,IAAI,WAAW,CAAC;IAEjC,0CAA0C;IAC1C,OAAO,IAAI,IAAI,CAAC;CAEjB"}
1
+ {"version":3,"file":"FrameworkControls.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEvH;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAEhC;;;;;;;;;OASG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,GAAG,IAAI,CAAC;IAE/E;;;OAGG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAEvC;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAAC;IAEhH,wDAAwD;IACxD,iBAAiB,IAAI,WAAW,CAAC;IAEjC,0CAA0C;IAC1C,OAAO,IAAI,IAAI,CAAC;CAEjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkControls.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"","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 ConfigurableUi\r\n */\r\nimport { ConfigurableUiControlConstructor, ConfigurableUiElement } from \"../configurableui/ConfigurableUiControl\";\r\n\r\n/**\r\n * [[UiFramework.controls]] interface\r\n * @public\r\n */\r\nexport interface FrameworkControls {\r\n\r\n /** Registers a control implementing the [[ConfigurableUiElement]] interface.\r\n * These controls can be a\r\n * [[ContentControl]],\r\n * [[NavigationAidControl]],\r\n * [[StatusBarWidgetControl]],\r\n * [[WidgetControl]] or\r\n * [[ToolUiProvider]].\r\n * @param classId the class id of the control to register\r\n * @param constructor the constructor of the control to register\r\n */\r\n register(classId: string, constructor: ConfigurableUiControlConstructor): void;\r\n\r\n /** Determines if a control has been registered based on its classId.\r\n * @param classId the class id of the control to test\r\n * @returns true if the control is registered or false if not\r\n */\r\n isRegistered(classId: string): boolean;\r\n\r\n /** Unregisters a control that has been registered.\r\n * @param classId the class id of the control to unregister\r\n */\r\n unregister(classId: string): void;\r\n\r\n /** Creates a control registered by calling registerControl.\r\n * @param classId the class id of the control to create\r\n * @param uniqueId a unique id for the control\r\n * @param options options passed to the constructor of the control\r\n * @param controlId controlId which may not be unique across all control instances.\r\n * @returns the created control\r\n */\r\n create(classId: string, uniqueId: string, options?: any, controlId?: string): ConfigurableUiElement | undefined;\r\n\r\n /** Gets the HTML wrapper element for Configurable UI */\r\n getWrapperElement(): HTMLElement;\r\n\r\n /** Closes all UI popups currently open */\r\n closeUi(): void;\r\n\r\n}\r\n"]}
1
+ {"version":3,"file":"FrameworkControls.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"","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 ConfigurableUi\r\n */\r\nimport type { ConfigurableUiControlConstructor, ConfigurableUiElement } from \"../configurableui/ConfigurableUiControl\";\r\n\r\n/**\r\n * [[UiFramework.controls]] interface\r\n * @public\r\n */\r\nexport interface FrameworkControls {\r\n\r\n /** Registers a control implementing the [[ConfigurableUiElement]] interface.\r\n * These controls can be a\r\n * [[ContentControl]],\r\n * [[NavigationAidControl]],\r\n * [[StatusBarWidgetControl]],\r\n * [[WidgetControl]] or\r\n * [[ToolUiProvider]].\r\n * @param classId the class id of the control to register\r\n * @param constructor the constructor of the control to register\r\n */\r\n register(classId: string, constructor: ConfigurableUiControlConstructor): void;\r\n\r\n /** Determines if a control has been registered based on its classId.\r\n * @param classId the class id of the control to test\r\n * @returns true if the control is registered or false if not\r\n */\r\n isRegistered(classId: string): boolean;\r\n\r\n /** Unregisters a control that has been registered.\r\n * @param classId the class id of the control to unregister\r\n */\r\n unregister(classId: string): void;\r\n\r\n /** Creates a control registered by calling registerControl.\r\n * @param classId the class id of the control to create\r\n * @param uniqueId a unique id for the control\r\n * @param options options passed to the constructor of the control\r\n * @param controlId controlId which may not be unique across all control instances.\r\n * @returns the created control\r\n */\r\n create(classId: string, uniqueId: string, options?: any, controlId?: string): ConfigurableUiElement | undefined;\r\n\r\n /** Gets the HTML wrapper element for Configurable UI */\r\n getWrapperElement(): HTMLElement;\r\n\r\n /** Closes all UI popups currently open */\r\n closeUi(): void;\r\n\r\n}\r\n"]}
@@ -2,7 +2,8 @@
2
2
  /** @packageDocumentation
3
3
  * @module Dialog
4
4
  */
5
- import { DialogChangedEvent, DialogInfo } from "../dialog/DialogManagerBase";
5
+ import type { DialogInfo } from "../dialog/DialogManagerBase";
6
+ import { DialogChangedEvent } from "../dialog/DialogManagerBase";
6
7
  /** Modal Dialog Changed Event class.
7
8
  * @public
8
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkDialogs.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkDialogs.ts"],"names":[],"mappings":";AAIA;;GA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AG,SAAS,CAAC;IAE7C,qCAAqC;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,cAAc,CAAE,SAAQ,eAAe;IAC7E,uDAAuD;IACvD,sBAAsB,CAAC,MAAM,EAAE,KAAK,CAAC,YAAY,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAE7F,4CAA4C;IAC5C,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAE9B,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;CACjD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG;QAChC,iCAAiC;QACjC,QAAQ,CAAC,yBAAyB,EAAE,uBAAuB,CAAC;KAC7D,CAAC;IAEF;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,sBAAsB,CAAC,kBAAkB,CAAC,GAAG;QAC9D,oCAAoC;QACpC,QAAQ,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;KACnE,CAAC;CACH"}
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModelessDialogChangedEvent = exports.ModalDialogChangedEvent = void 0;
4
- /*---------------------------------------------------------------------------------------------
5
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
6
- * See LICENSE.md in the project root for license terms and full copyright notice.
7
- *--------------------------------------------------------------------------------------------*/
8
- /** @packageDocumentation
9
- * @module Dialog
10
- */
11
4
  const DialogManagerBase_1 = require("../dialog/DialogManagerBase");
12
5
  /** Modal Dialog Changed Event class.
13
6
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkDialogs.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkDialogs.ts"],"names":[],"mappings":";;;AAAA;;;+FAG+F;AAC/F;;GAEG;AACH,mEAA6E;AAE7E;;GAEG;AACH,MAAa,uBAAwB,SAAQ,sCAAkB;CAAI;AAAnE,0DAAmE;AAEnE;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sCAAkB;CAAI;AAAtE,gEAAsE","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 Dialog\r\n */\r\nimport { DialogChangedEvent, DialogInfo } from \"../dialog/DialogManagerBase\";\r\n\r\n/** Modal Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ModalDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** Modeless Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ModelessDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** @public */\r\nexport interface ModelessDialogInfo {\r\n reactNode: React.ReactNode;\r\n zIndex: number;\r\n parentDocument: Document;\r\n}\r\n\r\n/**\r\n * Manages dialog access\r\n * @beta\r\n */\r\nexport interface FrameworkDialog {\r\n /** Get the array of modal dialogs */\r\n readonly dialogs: DialogInfo[];\r\n\r\n /** Open a modal dialog\r\n * @param dialog The Dialog to open\r\n * @param id The id of the Dialog. If one is not provided, an id is generated.\r\n * @param parentDocument The Document used to determine the owning window.\r\n */\r\n open(dialog: React.ReactNode, id?: string, parentDocument?: Document): void;\r\n\r\n /** Close a modal dialog\r\n * @param dialog The Dialog to open. If one is not specified, the active dialog will be closed.\r\n */\r\n close(dialog?: React.ReactNode): void;\r\n\r\n /** Update the dialogs */\r\n update(): void;\r\n\r\n /** Get the active modal dialog */\r\n readonly active: React.ReactNode | undefined;\r\n\r\n /** Get the count of modal dialogs */\r\n readonly count: number;\r\n}\r\n\r\n/**\r\n * FrameworkDialog that manages the top most content.\r\n * @beta\r\n */\r\nexport interface FrameworkStackedDialog<DialogInfoType> extends FrameworkDialog {\r\n /** Handle a pointer down event on a modeless dialog */\r\n handlePointerDownEvent(_event: React.PointerEvent, id: string, updateFunc: () => void): void;\r\n\r\n /** Get the z-index for a modeless dialog */\r\n getZIndex(id: string): number;\r\n\r\n getInfo(id: string): DialogInfoType | undefined;\r\n}\r\n\r\n/**\r\n * [[UiFramework.dialogs]] interface.\r\n * @public\r\n */\r\nexport interface FrameworkDialogs {\r\n /**\r\n * Manage modal dialogs.\r\n * @beta\r\n */\r\n readonly modal: FrameworkDialog & {\r\n /** Modal Dialog Changed Event */\r\n readonly onModalDialogChangedEvent: ModalDialogChangedEvent;\r\n };\r\n\r\n /**\r\n * Manage modeless dialogs.\r\n * @beta\r\n */\r\n readonly modeless: FrameworkStackedDialog<ModelessDialogInfo> & {\r\n /** Modeless Dialog Changed Event */\r\n readonly onModelessDialogChangedEvent: ModelessDialogChangedEvent;\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"FrameworkDialogs.js","sourceRoot":"","sources":["../../../../src/appui-react/framework/FrameworkDialogs.ts"],"names":[],"mappings":";;;AAQA,mEAAiE;AAEjE;;GAEG;AACH,MAAa,uBAAwB,SAAQ,sCAAkB;CAAI;AAAnE,0DAAmE;AAEnE;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sCAAkB;CAAI;AAAtE,gEAAsE","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 Dialog\r\n */\r\nimport type { DialogInfo } from \"../dialog/DialogManagerBase\";\r\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase\";\r\n\r\n/** Modal Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ModalDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** Modeless Dialog Changed Event class.\r\n * @public\r\n */\r\nexport class ModelessDialogChangedEvent extends DialogChangedEvent { }\r\n\r\n/** @public */\r\nexport interface ModelessDialogInfo {\r\n reactNode: React.ReactNode;\r\n zIndex: number;\r\n parentDocument: Document;\r\n}\r\n\r\n/**\r\n * Manages dialog access\r\n * @beta\r\n */\r\nexport interface FrameworkDialog {\r\n /** Get the array of modal dialogs */\r\n readonly dialogs: DialogInfo[];\r\n\r\n /** Open a modal dialog\r\n * @param dialog The Dialog to open\r\n * @param id The id of the Dialog. If one is not provided, an id is generated.\r\n * @param parentDocument The Document used to determine the owning window.\r\n */\r\n open(dialog: React.ReactNode, id?: string, parentDocument?: Document): void;\r\n\r\n /** Close a modal dialog\r\n * @param dialog The Dialog to open. If one is not specified, the active dialog will be closed.\r\n */\r\n close(dialog?: React.ReactNode): void;\r\n\r\n /** Update the dialogs */\r\n update(): void;\r\n\r\n /** Get the active modal dialog */\r\n readonly active: React.ReactNode | undefined;\r\n\r\n /** Get the count of modal dialogs */\r\n readonly count: number;\r\n}\r\n\r\n/**\r\n * FrameworkDialog that manages the top most content.\r\n * @beta\r\n */\r\nexport interface FrameworkStackedDialog<DialogInfoType> extends FrameworkDialog {\r\n /** Handle a pointer down event on a modeless dialog */\r\n handlePointerDownEvent(_event: React.PointerEvent, id: string, updateFunc: () => void): void;\r\n\r\n /** Get the z-index for a modeless dialog */\r\n getZIndex(id: string): number;\r\n\r\n getInfo(id: string): DialogInfoType | undefined;\r\n}\r\n\r\n/**\r\n * [[UiFramework.dialogs]] interface.\r\n * @public\r\n */\r\nexport interface FrameworkDialogs {\r\n /**\r\n * Manage modal dialogs.\r\n * @beta\r\n */\r\n readonly modal: FrameworkDialog & {\r\n /** Modal Dialog Changed Event */\r\n readonly onModalDialogChangedEvent: ModalDialogChangedEvent;\r\n };\r\n\r\n /**\r\n * Manage modeless dialogs.\r\n * @beta\r\n */\r\n readonly modeless: FrameworkStackedDialog<ModelessDialogInfo> & {\r\n /** Modeless Dialog Changed Event */\r\n readonly onModelessDialogChangedEvent: ModelessDialogChangedEvent;\r\n };\r\n}\r\n"]}
@@ -3,17 +3,17 @@
3
3
  * @module Frontstage
4
4
  */
5
5
  import { UiEvent } from "@itwin/appui-abstract";
6
- import { IModelConnection, Tool } from "@itwin/core-frontend";
7
- import { ToolInformation } from "../toolsettings/ToolInformation";
8
- import { TimeTracker } from "../configurableui/TimeTracker";
9
- import { ContentControlActivatedEvent } from "../content/ContentControl";
10
- import { ContentLayoutActivatedEvent } from "../content/ContentLayout";
11
- import { FrontstageDef } from "../frontstage/FrontstageDef";
12
- import { FrontstageProvider } from "../frontstage/FrontstageProvider";
13
- import { NavigationAidActivatedEvent } from "../navigationaids/NavigationAidControl";
14
- import { PanelPinnedChangedEventArgs, PanelStateChangedEvent } from "../stagepanels/StagePanelDef";
15
- import { WidgetDef, WidgetStateChangedEvent } from "../widgets/WidgetDef";
16
- import { WidgetState } from "../widgets/WidgetState";
6
+ import type { IModelConnection, Tool } from "@itwin/core-frontend";
7
+ import type { ToolInformation } from "../toolsettings/ToolInformation";
8
+ import type { TimeTracker } from "../configurableui/TimeTracker";
9
+ import type { ContentControlActivatedEvent } from "../content/ContentControl";
10
+ import type { ContentLayoutActivatedEvent } from "../content/ContentLayout";
11
+ import type { FrontstageDef } from "../frontstage/FrontstageDef";
12
+ import type { FrontstageProvider } from "../frontstage/FrontstageProvider";
13
+ import type { NavigationAidActivatedEvent } from "../navigationaids/NavigationAidControl";
14
+ import type { PanelPinnedChangedEventArgs, PanelStateChangedEvent } from "../stagepanels/StagePanelDef";
15
+ import type { WidgetDef, WidgetStateChangedEvent } from "../widgets/WidgetDef";
16
+ import type { WidgetState } from "../widgets/WidgetState";
17
17
  /** Frontstage Activated Event Args interface.
18
18
  * @public
19
19
  */