@itwin/appui-react 5.0.4 → 5.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 (514) hide show
  1. package/CHANGELOG.md +55 -38
  2. package/lib/appui-react/UiFramework.d.ts +1 -1
  3. package/lib/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/appui-react/UiFramework.js +46 -46
  5. package/lib/appui-react/UiFramework.js.map +1 -1
  6. package/lib/appui-react/accudraw/AccuDrawCommandItems.js +1 -1
  7. package/lib/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  8. package/lib/appui-react/accudraw/AccuDrawDialog.js +1 -1
  9. package/lib/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  10. package/lib/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -0
  11. package/lib/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  12. package/lib/appui-react/accudraw/AccuDrawFieldContainer.js +38 -26
  13. package/lib/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  14. package/lib/appui-react/accudraw/AccuDrawInputField.d.ts +4 -2
  15. package/lib/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  16. package/lib/appui-react/accudraw/AccuDrawInputField.js +45 -38
  17. package/lib/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  18. package/lib/appui-react/accudraw/AccuDrawInputField.scss +0 -15
  19. package/lib/appui-react/accudraw/AccuDrawPopupManager.js +3 -3
  20. package/lib/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  21. package/lib/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  22. package/lib/appui-react/accudraw/AccuDrawWidget.js +2 -2
  23. package/lib/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  24. package/lib/appui-react/accudraw/Calculator.js +1 -1
  25. package/lib/appui-react/accudraw/Calculator.js.map +1 -1
  26. package/lib/appui-react/accudraw/CalculatorPopup.js +1 -1
  27. package/lib/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  28. package/lib/appui-react/accudraw/FrameworkAccuDraw.d.ts +2 -2
  29. package/lib/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  30. package/lib/appui-react/accudraw/FrameworkAccuDraw.js +18 -15
  31. package/lib/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  32. package/lib/appui-react/accudraw/MenuButton.js +1 -1
  33. package/lib/appui-react/accudraw/MenuButton.js.map +1 -1
  34. package/lib/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  35. package/lib/appui-react/backstage/BackstageComposer.js +2 -3
  36. package/lib/appui-react/backstage/BackstageComposer.js.map +1 -1
  37. package/lib/appui-react/backstage/BackstageComposerItem.js +6 -6
  38. package/lib/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  39. package/lib/appui-react/backstage/BackstageItem.js.map +1 -1
  40. package/lib/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  41. package/lib/appui-react/backstage/BackstageManager.js +3 -3
  42. package/lib/appui-react/backstage/BackstageManager.js.map +1 -1
  43. package/lib/appui-react/backstage/InternalBackstageManager.js +2 -2
  44. package/lib/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  45. package/lib/appui-react/configurableui/ActivityTracker.d.ts.map +1 -1
  46. package/lib/appui-react/configurableui/ActivityTracker.js +0 -1
  47. package/lib/appui-react/configurableui/ActivityTracker.js.map +1 -1
  48. package/lib/appui-react/configurableui/ConfigurableUiContent.js +6 -6
  49. package/lib/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  50. package/lib/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  51. package/lib/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  52. package/lib/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  53. package/lib/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  54. package/lib/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  55. package/lib/appui-react/content/ContentControl.js +1 -1
  56. package/lib/appui-react/content/ContentControl.js.map +1 -1
  57. package/lib/appui-react/content/ContentGroup.js +7 -7
  58. package/lib/appui-react/content/ContentGroup.js.map +1 -1
  59. package/lib/appui-react/content/ContentLayout.d.ts.map +1 -1
  60. package/lib/appui-react/content/ContentLayout.js +16 -17
  61. package/lib/appui-react/content/ContentLayout.js.map +1 -1
  62. package/lib/appui-react/content/DefaultViewOverlay.js +1 -1
  63. package/lib/appui-react/content/DefaultViewOverlay.js.map +1 -1
  64. package/lib/appui-react/content/FloatingViewportContent.js +4 -4
  65. package/lib/appui-react/content/FloatingViewportContent.js.map +1 -1
  66. package/lib/appui-react/content/IModelViewport.d.ts +1 -1
  67. package/lib/appui-react/content/IModelViewport.d.ts.map +1 -1
  68. package/lib/appui-react/content/IModelViewport.js +1 -1
  69. package/lib/appui-react/content/IModelViewport.js.map +1 -1
  70. package/lib/appui-react/content/InternalContentViewManager.js +26 -26
  71. package/lib/appui-react/content/InternalContentViewManager.js.map +1 -1
  72. package/lib/appui-react/content/ViewportContentControl.js +1 -1
  73. package/lib/appui-react/content/ViewportContentControl.js.map +1 -1
  74. package/lib/appui-react/content/split-pane/SplitPane.js +2 -2
  75. package/lib/appui-react/content/split-pane/SplitPane.js.map +1 -1
  76. package/lib/appui-react/cursor/CursorInformation.js +2 -2
  77. package/lib/appui-react/cursor/CursorInformation.js.map +1 -1
  78. package/lib/appui-react/cursor/cursormenu/CursorMenu.d.ts +1 -1
  79. package/lib/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  80. package/lib/appui-react/cursor/cursormenu/CursorMenu.js +3 -3
  81. package/lib/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  82. package/lib/appui-react/cursor/cursorpopup/CursorPopup.d.ts +1 -1
  83. package/lib/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  84. package/lib/appui-react/cursor/cursorpopup/CursorPopup.js +3 -3
  85. package/lib/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  86. package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +1 -1
  87. package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  88. package/lib/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  89. package/lib/appui-react/cursor/cursorprompt/CursorPrompt.js +1 -1
  90. package/lib/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  91. package/lib/appui-react/dialog/ContentDialog.js.map +1 -1
  92. package/lib/appui-react/dialog/ContentDialogManager.js +2 -2
  93. package/lib/appui-react/dialog/ContentDialogManager.js.map +1 -1
  94. package/lib/appui-react/dialog/DialogManagerBase.js +4 -4
  95. package/lib/appui-react/dialog/DialogManagerBase.js.map +1 -1
  96. package/lib/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  97. package/lib/appui-react/dialog/InternalContentDialogManager.js +2 -3
  98. package/lib/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  99. package/lib/appui-react/dialog/InternalModalDialogManager.js +1 -1
  100. package/lib/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  101. package/lib/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  102. package/lib/appui-react/dialog/InternalModelessDialogManager.js +1 -2
  103. package/lib/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  104. package/lib/appui-react/dialog/ModalDialogManager.js +2 -2
  105. package/lib/appui-react/dialog/ModalDialogManager.js.map +1 -1
  106. package/lib/appui-react/dialog/ModelessDialog.js +1 -1
  107. package/lib/appui-react/dialog/ModelessDialog.js.map +1 -1
  108. package/lib/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  109. package/lib/appui-react/dialog/ModelessDialogManager.js +2 -3
  110. package/lib/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  111. package/lib/appui-react/dialog/StandardMessageBox.js +1 -1
  112. package/lib/appui-react/dialog/StandardMessageBox.js.map +1 -1
  113. package/lib/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  114. package/lib/appui-react/feedback/ElementTooltip.d.ts +1 -1
  115. package/lib/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  116. package/lib/appui-react/feedback/ElementTooltip.js.map +1 -1
  117. package/lib/appui-react/feedback/ValidationTextbox.js.map +1 -1
  118. package/lib/appui-react/framework/FrameworkBackstage.js.map +1 -1
  119. package/lib/appui-react/framework/FrameworkContent.js +3 -3
  120. package/lib/appui-react/framework/FrameworkContent.js.map +1 -1
  121. package/lib/appui-react/framework/FrameworkControls.js.map +1 -1
  122. package/lib/appui-react/framework/FrameworkDialogs.js +2 -2
  123. package/lib/appui-react/framework/FrameworkDialogs.js.map +1 -1
  124. package/lib/appui-react/framework/FrameworkFrontstages.js +8 -8
  125. package/lib/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  126. package/lib/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  127. package/lib/appui-react/framework/FrameworkToolSettings.js +1 -1
  128. package/lib/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  129. package/lib/appui-react/frontstage/Frontstage.js.map +1 -1
  130. package/lib/appui-react/frontstage/FrontstageConfig.d.ts +5 -2
  131. package/lib/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  132. package/lib/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  133. package/lib/appui-react/frontstage/FrontstageDef.d.ts +5 -1
  134. package/lib/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  135. package/lib/appui-react/frontstage/FrontstageDef.js +22 -17
  136. package/lib/appui-react/frontstage/FrontstageDef.js.map +1 -1
  137. package/lib/appui-react/frontstage/InternalFrontstageManager.js +29 -29
  138. package/lib/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  139. package/lib/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  140. package/lib/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  141. package/lib/appui-react/frontstage/ModalSettingsStage.js +2 -2
  142. package/lib/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  143. package/lib/appui-react/frontstage/NestedFrontstage.js +1 -1
  144. package/lib/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  145. package/lib/appui-react/frontstage/StandardFrontstageProvider.js +1 -1
  146. package/lib/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  147. package/lib/appui-react/hooks/useActiveIModelConnection.js +1 -1
  148. package/lib/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  149. package/lib/appui-react/hooks/useUiVisibility.js +1 -1
  150. package/lib/appui-react/hooks/useUiVisibility.js.map +1 -1
  151. package/lib/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  152. package/lib/appui-react/keyboardshortcut/KeyboardShortcut.js +1 -1
  153. package/lib/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  154. package/lib/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  155. package/lib/appui-react/keyboardshortcut/KeyboardShortcutProps.js.map +1 -1
  156. package/lib/appui-react/layout/StandardLayout.js.map +1 -1
  157. package/lib/appui-react/layout/backstage/Backstage.js.map +1 -1
  158. package/lib/appui-react/layout/backstage/Item.js.map +1 -1
  159. package/lib/appui-react/layout/backstage/Separator.js +1 -1
  160. package/lib/appui-react/layout/backstage/Separator.js.map +1 -1
  161. package/lib/appui-react/layout/base/usePointerCaptor.d.ts +1 -1
  162. package/lib/appui-react/layout/base/usePointerCaptor.d.ts.map +1 -1
  163. package/lib/appui-react/layout/footer/dialog/Dialog.js.map +1 -1
  164. package/lib/appui-react/layout/footer/dialog/TitleBar.js.map +1 -1
  165. package/lib/appui-react/layout/footer/snap-mode/Panel.js.map +1 -1
  166. package/lib/appui-react/layout/footer/snap-mode/Snap.js.map +1 -1
  167. package/lib/appui-react/layout/footer/tool-assistance/Dialog.js.map +1 -1
  168. package/lib/appui-react/layout/footer/tool-assistance/Instruction.js.map +1 -1
  169. package/lib/appui-react/layout/footer/tool-assistance/Item.js.map +1 -1
  170. package/lib/appui-react/layout/footer/tool-assistance/NewDot.js +1 -1
  171. package/lib/appui-react/layout/footer/tool-assistance/NewDot.js.map +1 -1
  172. package/lib/appui-react/layout/footer/tool-assistance/Separator.js.map +1 -1
  173. package/lib/appui-react/layout/outline/SectionOutline.js.map +1 -1
  174. package/lib/appui-react/layout/popup/Tooltip.js.map +1 -1
  175. package/lib/appui-react/layout/state/internal/PanelStateHelpers.js +1 -1
  176. package/lib/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -1
  177. package/lib/appui-react/layout/state/internal/TabStateHelpers.js +6 -6
  178. package/lib/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -1
  179. package/lib/appui-react/layout/state/internal/ToolSettingsStateHelpers.js +6 -6
  180. package/lib/appui-react/layout/state/internal/ToolSettingsStateHelpers.js.map +1 -1
  181. package/lib/appui-react/layout/state/internal/WidgetStateHelpers.js +13 -13
  182. package/lib/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -1
  183. package/lib/appui-react/layout/target/TargetContainer.js.map +1 -1
  184. package/lib/appui-react/layout/target/useAllowedSideTarget.js +1 -1
  185. package/lib/appui-react/layout/target/useAllowedSideTarget.js.map +1 -1
  186. package/lib/appui-react/layout/tool-settings/Docked.js +1 -1
  187. package/lib/appui-react/layout/tool-settings/Docked.js.map +1 -1
  188. package/lib/appui-react/layout/tool-settings/Handle.js.map +1 -1
  189. package/lib/appui-react/layout/tool-settings/Overflow.js.map +1 -1
  190. package/lib/appui-react/layout/tool-settings/Panel.js +1 -1
  191. package/lib/appui-react/layout/tool-settings/Panel.js.map +1 -1
  192. package/lib/appui-react/layout/tool-settings/Setting.js.map +1 -1
  193. package/lib/appui-react/layout/widget/Menu.js +1 -1
  194. package/lib/appui-react/layout/widget/Menu.js.map +1 -1
  195. package/lib/appui-react/layout/widget/MenuTab.js.map +1 -1
  196. package/lib/appui-react/layout/widget/NavigationArea.js.map +1 -1
  197. package/lib/appui-react/layout/widget/Tab.js +1 -1
  198. package/lib/appui-react/layout/widget/Tab.js.map +1 -1
  199. package/lib/appui-react/layout/widget/TabBar.js +1 -1
  200. package/lib/appui-react/layout/widget/TabBar.js.map +1 -1
  201. package/lib/appui-react/layout/widget/ToolsArea.js.map +1 -1
  202. package/lib/appui-react/layout/widget/Widget.js.map +1 -1
  203. package/lib/appui-react/layout/widget/tools/button/Button.js.map +1 -1
  204. package/lib/appui-react/layout/widget/tools/button/Expandable.js.map +1 -1
  205. package/lib/appui-react/layout/widget-panels/Expander.js +1 -1
  206. package/lib/appui-react/layout/widget-panels/Expander.js.map +1 -1
  207. package/lib/appui-react/layout/widget-panels/Grip.d.ts.map +1 -1
  208. package/lib/appui-react/layout/widget-panels/Grip.js +3 -3
  209. package/lib/appui-react/layout/widget-panels/Grip.js.map +1 -1
  210. package/lib/appui-react/layout/widget-panels/Panel.d.ts.map +1 -1
  211. package/lib/appui-react/layout/widget-panels/useAnimatePanel.d.ts.map +1 -1
  212. package/lib/appui-react/messages/InputField.js +2 -2
  213. package/lib/appui-react/messages/InputField.js.map +1 -1
  214. package/lib/appui-react/messages/MessageManager.d.ts +4 -4
  215. package/lib/appui-react/messages/MessageManager.d.ts.map +1 -1
  216. package/lib/appui-react/messages/MessageManager.js +25 -25
  217. package/lib/appui-react/messages/MessageManager.js.map +1 -1
  218. package/lib/appui-react/messages/MessageRenderer.js.map +1 -1
  219. package/lib/appui-react/messages/Pointer.d.ts.map +1 -1
  220. package/lib/appui-react/messages/Pointer.js +7 -7
  221. package/lib/appui-react/messages/Pointer.js.map +1 -1
  222. package/lib/appui-react/messages/ReactNotifyMessageDetails.d.ts +2 -2
  223. package/lib/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  224. package/lib/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  225. package/lib/appui-react/navigationaids/CubeNavigationAidControl.js +2 -2
  226. package/lib/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  227. package/lib/appui-react/navigationaids/DrawingNavigationAidControl.js +2 -2
  228. package/lib/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  229. package/lib/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  230. package/lib/appui-react/navigationaids/SheetNavigationAid.js +2 -2
  231. package/lib/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  232. package/lib/appui-react/navigationaids/SheetsModalFrontstage.js +8 -8
  233. package/lib/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  234. package/lib/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +1 -1
  235. package/lib/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  236. package/lib/appui-react/navigationaids/StandardRotationNavigationAid.js +3 -3
  237. package/lib/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  238. package/lib/appui-react/pickers/ListPicker.d.ts +1 -0
  239. package/lib/appui-react/pickers/ListPicker.d.ts.map +1 -1
  240. package/lib/appui-react/pickers/ListPicker.js +11 -10
  241. package/lib/appui-react/pickers/ListPicker.js.map +1 -1
  242. package/lib/appui-react/pickers/ViewSelector.d.ts +1 -0
  243. package/lib/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  244. package/lib/appui-react/pickers/ViewSelector.js +7 -6
  245. package/lib/appui-react/pickers/ViewSelector.js.map +1 -1
  246. package/lib/appui-react/popup/CardPopup.js +2 -2
  247. package/lib/appui-react/popup/CardPopup.js.map +1 -1
  248. package/lib/appui-react/popup/ComponentPopup.js.map +1 -1
  249. package/lib/appui-react/popup/HTMLElementPopup.js.map +1 -1
  250. package/lib/appui-react/popup/InputEditorPopup.js.map +1 -1
  251. package/lib/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  252. package/lib/appui-react/popup/KeyinPalettePanel.js +2 -3
  253. package/lib/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  254. package/lib/appui-react/popup/KeyinPalettePopup.js +1 -1
  255. package/lib/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  256. package/lib/appui-react/popup/PopupManager.d.ts +1 -1
  257. package/lib/appui-react/popup/PopupManager.d.ts.map +1 -1
  258. package/lib/appui-react/popup/PopupManager.js +4 -4
  259. package/lib/appui-react/popup/PopupManager.js.map +1 -1
  260. package/lib/appui-react/popup/PositionPopup.js +2 -2
  261. package/lib/appui-react/popup/PositionPopup.js.map +1 -1
  262. package/lib/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  263. package/lib/appui-react/popup/ToolbarPopup.js +1 -1
  264. package/lib/appui-react/popup/ToolbarPopup.js.map +1 -1
  265. package/lib/appui-react/preview/PreviewFeatures.d.ts +3 -5
  266. package/lib/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
  267. package/lib/appui-react/preview/PreviewFeatures.js +1 -2
  268. package/lib/appui-react/preview/PreviewFeatures.js.map +1 -1
  269. package/lib/appui-react/preview/allow-bearing-letters-in-accudraw-input-fields/useAllowBearingLettersInAccuDrawInputFields.d.ts +5 -0
  270. package/lib/appui-react/preview/allow-bearing-letters-in-accudraw-input-fields/useAllowBearingLettersInAccuDrawInputFields.d.ts.map +1 -0
  271. package/lib/appui-react/preview/{allow-letters-in-accudraw-input-fields/useAllowLettersInAccuDrawInputFields.js → allow-bearing-letters-in-accudraw-input-fields/useAllowBearingLettersInAccuDrawInputFields.js} +5 -5
  272. package/lib/appui-react/preview/allow-bearing-letters-in-accudraw-input-fields/useAllowBearingLettersInAccuDrawInputFields.js.map +1 -0
  273. package/lib/appui-react/preview/control-widget-visibility/NavigationWidget.d.ts +1 -1
  274. package/lib/appui-react/preview/control-widget-visibility/NavigationWidget.d.ts.map +1 -1
  275. package/lib/appui-react/preview/control-widget-visibility/NavigationWidget.js +1 -1
  276. package/lib/appui-react/preview/control-widget-visibility/NavigationWidget.js.map +1 -1
  277. package/lib/appui-react/preview/enable-maximized-widget/MaximizedWidget.d.ts +1 -1
  278. package/lib/appui-react/preview/enable-maximized-widget/MaximizedWidget.d.ts.map +1 -1
  279. package/lib/appui-react/preview/enable-maximized-widget/MaximizedWidget.js.map +1 -1
  280. package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.d.ts +1 -4
  281. package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.d.ts.map +1 -1
  282. package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +13 -13
  283. package/lib/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
  284. package/lib/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts +1 -1
  285. package/lib/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts.map +1 -1
  286. package/lib/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js +1 -1
  287. package/lib/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js.map +1 -1
  288. package/lib/appui-react/preview/widget-action-dropdown/MoreButton.d.ts +1 -1
  289. package/lib/appui-react/preview/widget-action-dropdown/MoreButton.d.ts.map +1 -1
  290. package/lib/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -1
  291. package/lib/appui-react/redux/ConfigurableUiState.d.ts.map +1 -1
  292. package/lib/appui-react/redux/ConfigurableUiState.js +1 -1
  293. package/lib/appui-react/redux/ConfigurableUiState.js.map +1 -1
  294. package/lib/appui-react/redux/FrameworkState.js.map +1 -1
  295. package/lib/appui-react/redux/ReducerRegistry.js +1 -1
  296. package/lib/appui-react/redux/ReducerRegistry.js.map +1 -1
  297. package/lib/appui-react/redux/SessionState.d.ts.map +1 -1
  298. package/lib/appui-react/redux/SessionState.js.map +1 -1
  299. package/lib/appui-react/redux/StateManager.js +2 -2
  300. package/lib/appui-react/redux/StateManager.js.map +1 -1
  301. package/lib/appui-react/redux/connectIModel.js +1 -1
  302. package/lib/appui-react/redux/connectIModel.js.map +1 -1
  303. package/lib/appui-react/redux/redux-ts.js.map +1 -1
  304. package/lib/appui-react/selection/SelectionContextItemDef.js +2 -2
  305. package/lib/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  306. package/lib/appui-react/settings/SettingsManager.js +1 -1
  307. package/lib/appui-react/settings/SettingsManager.js.map +1 -1
  308. package/lib/appui-react/settings/quantityformatting/QuantityFormat.js +3 -3
  309. package/lib/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  310. package/lib/appui-react/settings/ui/UiSettingsPage.js +5 -5
  311. package/lib/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  312. package/lib/appui-react/shared/ActionButtonItemDef.js +1 -1
  313. package/lib/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  314. package/lib/appui-react/shared/AnyItemDef.js.map +1 -1
  315. package/lib/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  316. package/lib/appui-react/shared/CommandItemDef.js +1 -1
  317. package/lib/appui-react/shared/CommandItemDef.js.map +1 -1
  318. package/lib/appui-react/shared/CustomItemDef.js +1 -1
  319. package/lib/appui-react/shared/CustomItemDef.js.map +1 -1
  320. package/lib/appui-react/shared/CustomItemProps.js.map +1 -1
  321. package/lib/appui-react/shared/GroupItemProps.js.map +1 -1
  322. package/lib/appui-react/shared/ItemDefBase.js.map +1 -1
  323. package/lib/appui-react/shared/ItemMap.js +1 -1
  324. package/lib/appui-react/shared/ItemMap.js.map +1 -1
  325. package/lib/appui-react/shared/ItemProps.js.map +1 -1
  326. package/lib/appui-react/shared/MenuItem.js +1 -1
  327. package/lib/appui-react/shared/MenuItem.js.map +1 -1
  328. package/lib/appui-react/shared/ToolItemDef.js +1 -1
  329. package/lib/appui-react/shared/ToolItemDef.js.map +1 -1
  330. package/lib/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  331. package/lib/appui-react/stagepanels/StagePanelDef.js +2 -2
  332. package/lib/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  333. package/lib/appui-react/statusbar/Field.js.map +1 -1
  334. package/lib/appui-react/statusbar/Indicator.js +2 -2
  335. package/lib/appui-react/statusbar/Indicator.js.map +1 -1
  336. package/lib/appui-react/statusbar/LabelIndicator.js +2 -2
  337. package/lib/appui-react/statusbar/LabelIndicator.js.map +1 -1
  338. package/lib/appui-react/statusbar/Overflow.js.map +1 -1
  339. package/lib/appui-react/statusbar/Separator.js +1 -1
  340. package/lib/appui-react/statusbar/Separator.js.map +1 -1
  341. package/lib/appui-react/statusbar/StatusBar.js.map +1 -1
  342. package/lib/appui-react/statusbar/StatusBarComposer.js +6 -6
  343. package/lib/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  344. package/lib/appui-react/statusbar/StatusBarItem.js.map +1 -1
  345. package/lib/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  346. package/lib/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  347. package/lib/appui-react/statusbar/dialog/Button.js.map +1 -1
  348. package/lib/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  349. package/lib/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  350. package/lib/appui-react/statusbar/popup/Popup.js +2 -2
  351. package/lib/appui-react/statusbar/popup/Popup.js.map +1 -1
  352. package/lib/appui-react/statusfields/ActivityCenter.js +2 -2
  353. package/lib/appui-react/statusfields/ActivityCenter.js.map +1 -1
  354. package/lib/appui-react/statusfields/SectionsField.js.map +1 -1
  355. package/lib/appui-react/statusfields/SelectionCount.js.map +1 -1
  356. package/lib/appui-react/statusfields/SelectionInfo.js +2 -2
  357. package/lib/appui-react/statusfields/SelectionInfo.js.map +1 -1
  358. package/lib/appui-react/statusfields/SelectionScope.js +3 -3
  359. package/lib/appui-react/statusfields/SelectionScope.js.map +1 -1
  360. package/lib/appui-react/statusfields/SnapMode.js +2 -2
  361. package/lib/appui-react/statusfields/SnapMode.js.map +1 -1
  362. package/lib/appui-react/statusfields/ViewAttributes.d.ts +1 -1
  363. package/lib/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  364. package/lib/appui-react/statusfields/ViewAttributes.js +1 -1
  365. package/lib/appui-react/statusfields/ViewAttributes.js.map +1 -1
  366. package/lib/appui-react/statusfields/message-center/MessageCenterField.js +1 -1
  367. package/lib/appui-react/statusfields/message-center/MessageCenterField.js.map +1 -1
  368. package/lib/appui-react/statusfields/message-center/MessageCenterMessage.js.map +1 -1
  369. package/lib/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  370. package/lib/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  371. package/lib/appui-react/statusfields/tileloading/TileLoadingIndicator.js +1 -1
  372. package/lib/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  373. package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  374. package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.js +5 -5
  375. package/lib/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  376. package/lib/appui-react/syncui/InternalSyncUiEventDispatcher.js +2 -2
  377. package/lib/appui-react/syncui/InternalSyncUiEventDispatcher.js.map +1 -1
  378. package/lib/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  379. package/lib/appui-react/syncui/SyncUiEventDispatcher.js +3 -8
  380. package/lib/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  381. package/lib/appui-react/syncui/UiSyncEvent.js +1 -1
  382. package/lib/appui-react/syncui/UiSyncEvent.js.map +1 -1
  383. package/lib/appui-react/theme/ThemeManager.js +1 -1
  384. package/lib/appui-react/theme/ThemeManager.js.map +1 -1
  385. package/lib/appui-react/toolbar/GroupItem.js +1 -1
  386. package/lib/appui-react/toolbar/GroupItem.js.map +1 -1
  387. package/lib/appui-react/toolbar/Toolbar.js.map +1 -1
  388. package/lib/appui-react/toolbar/ToolbarComposer.js +3 -3
  389. package/lib/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  390. package/lib/appui-react/toolbar/ToolbarHelper.js +4 -4
  391. package/lib/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  392. package/lib/appui-react/toolbar/ToolbarItem.js.map +1 -1
  393. package/lib/appui-react/toolbar/ToolbarItemUtilities.js +1 -1
  394. package/lib/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  395. package/lib/appui-react/toolbar/ToolbarItemsManager.js +10 -10
  396. package/lib/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  397. package/lib/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  398. package/lib/appui-react/toolbar/new-toolbars/Badge.d.ts +1 -1
  399. package/lib/appui-react/toolbar/new-toolbars/Badge.d.ts.map +1 -1
  400. package/lib/appui-react/toolbar/new-toolbars/Badge.js +1 -1
  401. package/lib/appui-react/toolbar/new-toolbars/Badge.js.map +1 -1
  402. package/lib/appui-react/toolbar/new-toolbars/GroupItem.js +2 -2
  403. package/lib/appui-react/toolbar/new-toolbars/GroupItem.js.map +1 -1
  404. package/lib/appui-react/toolbar/new-toolbars/Item.js +1 -1
  405. package/lib/appui-react/toolbar/new-toolbars/Item.js.map +1 -1
  406. package/lib/appui-react/toolbar/new-toolbars/ToolGroup.js.map +1 -1
  407. package/lib/appui-react/toolbar/new-toolbars/useOverflow.d.ts.map +1 -1
  408. package/lib/appui-react/toolbar/useDefaultToolbarItems.js +1 -1
  409. package/lib/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  410. package/lib/appui-react/toolbar/useUiItemsProviderToolbarItems.js +1 -1
  411. package/lib/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  412. package/lib/appui-react/tools/CoreToolDefinitions.js +2 -2
  413. package/lib/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  414. package/lib/appui-react/tools/KeyinPaletteTools.d.ts +1 -1
  415. package/lib/appui-react/tools/OpenSettingsTool.d.ts +1 -1
  416. package/lib/appui-react/tools/RestoreLayoutTool.d.ts +2 -2
  417. package/lib/appui-react/tools/ToolbarItems.js +1 -1
  418. package/lib/appui-react/tools/ToolbarItems.js.map +1 -1
  419. package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  420. package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.js +3 -3
  421. package/lib/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  422. package/lib/appui-react/toolsettings/InternalToolSettingsManager.js +2 -2
  423. package/lib/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  424. package/lib/appui-react/toolsettings/ToolInformation.js +1 -1
  425. package/lib/appui-react/toolsettings/ToolInformation.js.map +1 -1
  426. package/lib/appui-react/toolsettings/ToolUiProvider.js +1 -1
  427. package/lib/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  428. package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +5 -5
  429. package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.js +1 -1
  430. package/lib/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  431. package/lib/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  432. package/lib/appui-react/ui-items-provider/StandardContentToolsProvider.js +4 -4
  433. package/lib/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  434. package/lib/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  435. package/lib/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +3 -3
  436. package/lib/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  437. package/lib/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  438. package/lib/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +3 -3
  439. package/lib/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  440. package/lib/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  441. package/lib/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +1 -1
  442. package/lib/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  443. package/lib/appui-react/ui-items-provider/UiItemsManager.js +3 -3
  444. package/lib/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  445. package/lib/appui-react/uiadmin/FrameworkUiAdmin.js +3 -3
  446. package/lib/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  447. package/lib/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  448. package/lib/appui-react/uistate/AppUiSettings.js +2 -2
  449. package/lib/appui-react/uistate/AppUiSettings.js.map +1 -1
  450. package/lib/appui-react/uistate/LocalStateStorage.js +1 -1
  451. package/lib/appui-react/uistate/LocalStateStorage.js.map +1 -1
  452. package/lib/appui-react/uistate/UiStateStorage.js +1 -1
  453. package/lib/appui-react/uistate/UiStateStorage.js.map +1 -1
  454. package/lib/appui-react/uistate/useReduxFrameworkState.js +1 -1
  455. package/lib/appui-react/uistate/useReduxFrameworkState.js.map +1 -1
  456. package/lib/appui-react/uistate/useUiStateStorage.js +1 -1
  457. package/lib/appui-react/uistate/useUiStateStorage.js.map +1 -1
  458. package/lib/appui-react/utils/PropsHelper.js +5 -5
  459. package/lib/appui-react/utils/PropsHelper.js.map +1 -1
  460. package/lib/appui-react/utils/RectangleProps.js.map +1 -1
  461. package/lib/appui-react/utils/SizeProps.js.map +1 -1
  462. package/lib/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  463. package/lib/appui-react/utils/ViewUtilities.js.map +1 -1
  464. package/lib/appui-react/utils/getActiveViewport.js +1 -1
  465. package/lib/appui-react/utils/getActiveViewport.js.map +1 -1
  466. package/lib/appui-react/widget-panels/DockedBar.js.map +1 -1
  467. package/lib/appui-react/widget-panels/Frontstage.js +7 -7
  468. package/lib/appui-react/widget-panels/Frontstage.js.map +1 -1
  469. package/lib/appui-react/widget-panels/StatusBar.js +5 -5
  470. package/lib/appui-react/widget-panels/StatusBar.js.map +1 -1
  471. package/lib/appui-react/widget-panels/Tab.js +4 -4
  472. package/lib/appui-react/widget-panels/Tab.js.map +1 -1
  473. package/lib/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  474. package/lib/appui-react/widget-panels/ToolSettings.js +8 -5
  475. package/lib/appui-react/widget-panels/ToolSettings.js.map +1 -1
  476. package/lib/appui-react/widgets/BackstageAppButton.js +2 -2
  477. package/lib/appui-react/widgets/BackstageAppButton.js.map +1 -1
  478. package/lib/appui-react/widgets/BasicNavigationWidget.js +1 -1
  479. package/lib/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  480. package/lib/appui-react/widgets/BasicToolWidget.js +1 -1
  481. package/lib/appui-react/widgets/BasicToolWidget.js.map +1 -1
  482. package/lib/appui-react/widgets/ContentToolWidgetComposer.js +1 -1
  483. package/lib/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  484. package/lib/appui-react/widgets/NavigationWidgetComposer.js +10 -10
  485. package/lib/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  486. package/lib/appui-react/widgets/StatusBarWidgetComposerControl.js +1 -1
  487. package/lib/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  488. package/lib/appui-react/widgets/ToolWidgetComposer.js +1 -1
  489. package/lib/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  490. package/lib/appui-react/widgets/ViewToolWidgetComposer.js +1 -1
  491. package/lib/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  492. package/lib/appui-react/widgets/Widget.js.map +1 -1
  493. package/lib/appui-react/widgets/WidgetControl.js +1 -1
  494. package/lib/appui-react/widgets/WidgetControl.js.map +1 -1
  495. package/lib/appui-react/widgets/WidgetDef.js +21 -21
  496. package/lib/appui-react/widgets/WidgetDef.js.map +1 -1
  497. package/lib/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  498. package/lib/appui-react/widgets/useWidget.d.ts.map +1 -1
  499. package/lib/appui-react.js +1 -1
  500. package/lib/appui-react.js.map +1 -1
  501. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.scss +0 -15
  502. package/lib/esm/appui-react/accudraw/AccuDrawInputField.scss +0 -15
  503. package/package.json +18 -18
  504. package/lib/appui-react/layout/widget/tools/button/Back.d.ts +0 -21
  505. package/lib/appui-react/layout/widget/tools/button/Back.d.ts.map +0 -1
  506. package/lib/appui-react/layout/widget/tools/button/Back.js +0 -23
  507. package/lib/appui-react/layout/widget/tools/button/Back.js.map +0 -1
  508. package/lib/appui-react/preview/allow-letters-in-accudraw-input-fields/useAllowLettersInAccuDrawInputFields.d.ts +0 -5
  509. package/lib/appui-react/preview/allow-letters-in-accudraw-input-fields/useAllowLettersInAccuDrawInputFields.d.ts.map +0 -1
  510. package/lib/appui-react/preview/allow-letters-in-accudraw-input-fields/useAllowLettersInAccuDrawInputFields.js.map +0 -1
  511. package/lib/appui-react/preview/enable-colorless-accudraw-input-fields/useEnableColorlessAccuDrawInputFields.d.ts +0 -5
  512. package/lib/appui-react/preview/enable-colorless-accudraw-input-fields/useEnableColorlessAccuDrawInputFields.d.ts.map +0 -1
  513. package/lib/appui-react/preview/enable-colorless-accudraw-input-fields/useEnableColorlessAccuDrawInputFields.js +0 -13
  514. package/lib/appui-react/preview/enable-colorless-accudraw-input-fields/useEnableColorlessAccuDrawInputFields.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ValidationTextbox.js","sourceRoot":"","sources":["../../../src/appui-react/feedback/ValidationTextbox.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,0BAA0B,CAAC;AAClC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,+CAAS,CAAA;IACT,mDAAW,CAAA;AACb,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;AA+BD;;;;GAIG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK,CAAC,a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Aa;QACrC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc;YAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK;gBAC3D,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,KAAK,CAAC;QACZ,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,0BAA0B;IAClB,iBAAiB;QACvB,cAAc,CAAC,qBAAqB,EAAE,CAAC;IACzC,CAAC;IAED,8BAA8B;IACtB,iBAAiB,CAAC,MAAe;QACvC,cAAc,CAAC,wBAAwB,CACrC,MAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,SAAU,EACrB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAC7B,CAAC;QACF,OAAO;IACT,CAAC;CAkBF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Notification\n */\n\nimport \"./ValidationTextbox.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { Key } from \"ts-key-enum\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { MessageManager } from \"../messages/MessageManager.js\";\nimport { Input } from \"@itwin/itwinui-react\";\n\n/** Enum for Input Status used in [[ValidationTextbox]]\n * @alpha\n */\nexport enum InputStatus {\n Valid = 0,\n Invalid = 1,\n}\n\n/** Property interface for ValidationTextbox\n * @alpha\n */\n// eslint-disable-next-line deprecation/deprecation\ninterface ValidationTextboxProps extends CommonProps {\n /** value to set ValidationTextbox to initially */\n initialValue?: string;\n /** placeholder value to show in gray before anything is entered in */\n placeholder?: string;\n /** triggered when the content of ValidationTextbox is changed. Return true if valid */\n onValueChanged?: (value: string) => InputStatus;\n /** listens for <Enter> key presses */\n onEnterPressed?: () => void;\n /** listens for <Esc> key presses */\n onEscPressed?: () => void;\n /** width of ValidationTextbox, measured in em */\n size?: number;\n /** Error message to display */\n errorText?: string;\n /** Detailed error message to display */\n detailedErrorText?: string;\n /** Content */\n children?: React.ReactNode;\n}\n\ninterface ValidationTextboxState {\n isValid: boolean;\n}\n\n/**\n * Input box that validates text based on provided criteria. Defaults to checking\n * for empty if no method for onValueChanged is provided.\n * @alpha\n */\nexport class ValidationTextbox extends React.PureComponent<\n ValidationTextboxProps,\n ValidationTextboxState\n> {\n constructor(props: ValidationTextboxProps) {\n super(props);\n\n this.state = { isValid: true };\n }\n\n public override render(): React.ReactNode {\n const sizeStyle: React.CSSProperties = {\n width: this.props.size ? `${this.props.size.toString()}em` : \"12em\",\n };\n const divStyle: React.CSSProperties = {\n ...sizeStyle,\n ...this.props.style,\n };\n\n const validClassNames = classnames(\"ValidationTextbox-input\");\n\n const invalidClassNames = classnames(\n \"ValidationTextbox-input\",\n \"ValidationTextbox-invalid\"\n );\n\n return (\n <div\n className={classnames(\"uifw-ValidationTextbox\", this.props.className)}\n style={divStyle}\n >\n <Input\n className={this.state.isValid ? validClassNames : invalidClassNames}\n onChange={this._validateText}\n onKeyUp={this._handleKeyUp}\n onPaste={this._validateText}\n onCut={this._validateText}\n onBlur={this._validateText}\n placeholder={this.props.placeholder ? this.props.placeholder : \"\"}\n style={sizeStyle}\n />\n {this.props.children}\n </div>\n );\n }\n\n private processValidateText(target: HTMLInputElement | undefined): void {\n if (undefined === target) return;\n\n const value = target.value;\n const isValid = this._calculateIsValid(value);\n\n this.setState({ isValid }, () => {\n if (this.state.isValid) {\n this._hideErrorMessage();\n } else {\n if (this.props.errorText && !this.state.isValid)\n this._showErrorMessage(target);\n }\n });\n }\n\n /**\n * Determines if value is valid and resolves any defined functions.\n * Also will show or hide error message if defined.\n * @param event Button press event that triggers validation\n */\n private _validateText = (event?: any): void => {\n this.processValidateText(event.target as HTMLInputElement);\n };\n\n /**\n * Determines if value provided is valid by calling user defined\n * function. If no function is provided, the default criteria for\n * validity is if the value has been defined.\n * @param value The value provided in textbox\n */\n private _calculateIsValid(value: string): boolean {\n if (this.props.onValueChanged)\n return this.props.onValueChanged(value) === InputStatus.Valid\n ? true\n : false;\n return value.length > 0;\n }\n\n /** Hides error message */\n private _hideErrorMessage() {\n MessageManager.hideInputFieldMessage();\n }\n\n /** Displays error message. */\n private _showErrorMessage(target: Element) {\n MessageManager.displayInputFieldMessage(\n target as HTMLElement,\n this.props.errorText!,\n this.props.detailedErrorText\n );\n return;\n }\n\n /**\n * Manages special key codes by calling user defined functions\n * @param event Keyup event\n */\n private _handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\n this.processValidateText(event.target as HTMLInputElement);\n\n switch (event.key) {\n case Key.Escape.valueOf():\n if (this.props.onEscPressed) this.props.onEscPressed();\n break;\n case Key.Enter.valueOf():\n if (this.props.onEnterPressed) this.props.onEnterPressed();\n break;\n }\n };\n}\n"]}
1
+ {"version":3,"file":"ValidationTextbox.js","sourceRoot":"","sources":["../../../src/appui-react/feedback/ValidationTextbox.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,0BAA0B,CAAC;AAClC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,+CAAS,CAAA;IACT,mDAAW,CAAA;AACb,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;AA+BD;;;;GAIG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK,CAAC,aAG5C;IACC,YAAY,KAA6B;QACvC,KAAK,CAAC,KAAK,CAAC,CAAC;QAyDf;;;;WAIG;QACK,kBAAa,G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AAC,KAAK,CAAC,KAAK,WAAW,CAAC,KAAK;gBAC3D,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,KAAK,CAAC;QACZ,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,0BAA0B;IAClB,iBAAiB;QACvB,cAAc,CAAC,qBAAqB,EAAE,CAAC;IACzC,CAAC;IAED,8BAA8B;IACtB,iBAAiB,CAAC,MAAe;QACvC,cAAc,CAAC,wBAAwB,CACrC,MAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,SAAU,EACrB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAC7B,CAAC;QACF,OAAO;IACT,CAAC;CAkBF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Notification\n */\n\nimport \"./ValidationTextbox.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { Key } from \"ts-key-enum\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { MessageManager } from \"../messages/MessageManager.js\";\nimport { Input } from \"@itwin/itwinui-react\";\n\n/** Enum for Input Status used in [[ValidationTextbox]]\n * @alpha\n */\nexport enum InputStatus {\n Valid = 0,\n Invalid = 1,\n}\n\n/** Property interface for ValidationTextbox\n * @alpha\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\ninterface ValidationTextboxProps extends CommonProps {\n /** value to set ValidationTextbox to initially */\n initialValue?: string;\n /** placeholder value to show in gray before anything is entered in */\n placeholder?: string;\n /** triggered when the content of ValidationTextbox is changed. Return true if valid */\n onValueChanged?: (value: string) => InputStatus;\n /** listens for <Enter> key presses */\n onEnterPressed?: () => void;\n /** listens for <Esc> key presses */\n onEscPressed?: () => void;\n /** width of ValidationTextbox, measured in em */\n size?: number;\n /** Error message to display */\n errorText?: string;\n /** Detailed error message to display */\n detailedErrorText?: string;\n /** Content */\n children?: React.ReactNode;\n}\n\ninterface ValidationTextboxState {\n isValid: boolean;\n}\n\n/**\n * Input box that validates text based on provided criteria. Defaults to checking\n * for empty if no method for onValueChanged is provided.\n * @alpha\n */\nexport class ValidationTextbox extends React.PureComponent<\n ValidationTextboxProps,\n ValidationTextboxState\n> {\n constructor(props: ValidationTextboxProps) {\n super(props);\n\n this.state = { isValid: true };\n }\n\n public override render(): React.ReactNode {\n const sizeStyle: React.CSSProperties = {\n width: this.props.size ? `${this.props.size.toString()}em` : \"12em\",\n };\n const divStyle: React.CSSProperties = {\n ...sizeStyle,\n ...this.props.style,\n };\n\n const validClassNames = classnames(\"ValidationTextbox-input\");\n\n const invalidClassNames = classnames(\n \"ValidationTextbox-input\",\n \"ValidationTextbox-invalid\"\n );\n\n return (\n <div\n className={classnames(\"uifw-ValidationTextbox\", this.props.className)}\n style={divStyle}\n >\n <Input\n className={this.state.isValid ? validClassNames : invalidClassNames}\n onChange={this._validateText}\n onKeyUp={this._handleKeyUp}\n onPaste={this._validateText}\n onCut={this._validateText}\n onBlur={this._validateText}\n placeholder={this.props.placeholder ? this.props.placeholder : \"\"}\n style={sizeStyle}\n />\n {this.props.children}\n </div>\n );\n }\n\n private processValidateText(target: HTMLInputElement | undefined): void {\n if (undefined === target) return;\n\n const value = target.value;\n const isValid = this._calculateIsValid(value);\n\n this.setState({ isValid }, () => {\n if (this.state.isValid) {\n this._hideErrorMessage();\n } else {\n if (this.props.errorText && !this.state.isValid)\n this._showErrorMessage(target);\n }\n });\n }\n\n /**\n * Determines if value is valid and resolves any defined functions.\n * Also will show or hide error message if defined.\n * @param event Button press event that triggers validation\n */\n private _validateText = (event?: any): void => {\n this.processValidateText(event.target as HTMLInputElement);\n };\n\n /**\n * Determines if value provided is valid by calling user defined\n * function. If no function is provided, the default criteria for\n * validity is if the value has been defined.\n * @param value The value provided in textbox\n */\n private _calculateIsValid(value: string): boolean {\n if (this.props.onValueChanged)\n return this.props.onValueChanged(value) === InputStatus.Valid\n ? true\n : false;\n return value.length > 0;\n }\n\n /** Hides error message */\n private _hideErrorMessage() {\n MessageManager.hideInputFieldMessage();\n }\n\n /** Displays error message. */\n private _showErrorMessage(target: Element) {\n MessageManager.displayInputFieldMessage(\n target as HTMLElement,\n this.props.errorText!,\n this.props.detailedErrorText\n );\n return;\n }\n\n /**\n * Manages special key codes by calling user defined functions\n * @param event Keyup event\n */\n private _handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\n this.processValidateText(event.target as HTMLInputElement);\n\n switch (event.key) {\n case Key.Escape.valueOf():\n if (this.props.onEscPressed) this.props.onEscPressed();\n break;\n case Key.Enter.valueOf():\n if (this.props.onEnterPressed) this.props.onEnterPressed();\n break;\n }\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkBackstage.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Backstage\n */\n\nimport type { BeEvent } from \"@itwin/core-bentley\";\nimport type { IconSpec } from \"@itwin/core-react\";\nimport type { CommandItemDef } from \"../shared/CommandItemDef.js\";\nimport type { BackstageAppButton } from \"../widgets/BackstageAppButton.js\";\n\n/** Arguments of [[Backstage.onToggled]].\n * @public\n */\nexport interface BackstageToggledArgs {\n readonly isOpen: boolean;\n}\n\n/**\n * [[UiFramework.backstage]] interface.\n * @public\n */\nexport interface FrameworkBackstage {\n /**\n * Event activated when the backstage is toggled.\n */\n readonly onToggled: BeEvent<(args: BackstageToggledArgs) => void>;\n /**\n * State of the backstage.\n */\n readonly isOpen: boolean;\n /**\n * Display the backstage.\n */\n open(): void;\n /**\n * Hides the backstage.\n */\n close(): void;\n /**\n * Toggle the backstage.\n */\n toggle(): void;\n /** Creates a CommandItemDef that toggles the backstage.\n * @param overrideIconSpec Icon to replace the default 'home'.\n * @deprecated in 4.15.0. Use {@link BackstageAppButton} component or {@link FrameworkBackstage.toggle} instead.\n */\n // eslint-disable-next-line deprecation/deprecation\n getBackstageToggleCommand(overrideIconSpec?: IconSpec): CommandItemDef;\n}\n"]}
1
+ {"version":3,"file":"FrameworkBackstage.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkBackstage.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Backstage\n */\n\nimport type { BeEvent } from \"@itwin/core-bentley\";\nimport type { IconSpec } from \"@itwin/core-react\";\nimport type { CommandItemDef } from \"../shared/CommandItemDef.js\";\nimport type { BackstageAppButton } from \"../widgets/BackstageAppButton.js\";\n\n/** Arguments of [[Backstage.onToggled]].\n * @public\n */\nexport interface BackstageToggledArgs {\n readonly isOpen: boolean;\n}\n\n/**\n * [[UiFramework.backstage]] interface.\n * @public\n */\nexport interface FrameworkBackstage {\n /**\n * Event activated when the backstage is toggled.\n */\n readonly onToggled: BeEvent<(args: BackstageToggledArgs) => void>;\n /**\n * State of the backstage.\n */\n readonly isOpen: boolean;\n /**\n * Display the backstage.\n */\n open(): void;\n /**\n * Hides the backstage.\n */\n close(): void;\n /**\n * Toggle the backstage.\n */\n toggle(): void;\n /** Creates a CommandItemDef that toggles the backstage.\n * @param overrideIconSpec Icon to replace the default 'home'.\n * @deprecated in 4.15.0. Use {@link BackstageAppButton} component or {@link FrameworkBackstage.toggle} instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n getBackstageToggleCommand(overrideIconSpec?: IconSpec): CommandItemDef;\n}\n"]}
@@ -11,21 +11,21 @@ import { DialogChangedEvent } from "../dialog/DialogManagerBase.js";
11
11
  * @public
12
12
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
13
13
  */
14
- // eslint-disable-next-line deprecation/deprecation
14
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
15
15
  export class MouseDownChangedEvent extends UiEvent {
16
16
  }
17
17
  /** Active Content Changed Event class.
18
18
  * @public
19
19
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
20
20
  */
21
- // eslint-disable-next-line deprecation/deprecation
21
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
22
22
  export class ActiveContentChangedEvent extends UiEvent {
23
23
  }
24
24
  /** Content Dialog Changed Event class.
25
25
  * @public
26
26
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
27
27
  */
28
- // eslint-disable-next-line deprecation/deprecation
28
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
29
29
  export class ContentDialogChangedEvent extends DialogChangedEvent {
30
30
  }
31
31
  //# sourceMappingURL=FrameworkContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkContent.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkContent.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAepE;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,qBAAsB,SAAQ,OAAkC;CAAG;AAmBhF;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,yBAA0B,SAAQ,OAAsC;CAAG;AAExF;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,yBAA0B,SAAQ,kBAAkB;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ContentView\n */\n\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { ContentControl } from \"../content/ContentControl.js\";\nimport type {\n ContentGroup,\n ContentGroupProps,\n ContentProps,\n} from \"../content/ContentGroup.js\";\nimport type { ContentLayoutDef } from \"../content/ContentLayout.js\";\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase.js\";\nimport type { FrameworkStackedDialog } from \"./FrameworkDialogs.js\";\nimport type { UiItemsProvider } from \"../ui-items-provider/UiItemsProvider.js\";\nimport type { UiFramework } from \"../UiFramework.js\";\nimport type { ContentLayoutProps } from \"../content/ContentLayoutProps.js\";\n\n/** [[MouseDownChangedEvent]] Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface MouseDownChangedEventArgs {\n /** Indicates whether the mouse is down */\n mouseDown: boolean;\n}\n\n/** Mouse Down Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class MouseDownChangedEvent extends UiEvent<MouseDownChangedEventArgs> {}\n\n/** [[ActiveContentChangedEvent]] Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ActiveContentChangedEventArgs {\n /** React node of the old content.\n * @deprecated in 4.16.0. Save activated content {@link ActiveContentChangedEventArgs.id} instead to identify previous content.\n */\n oldContent?: React.ReactNode;\n /** React node of the newly activated content.\n * @deprecated in 4.16.0. Use {@link ActiveContentChangedEventArgs.id} instead to identify the activated content.\n */\n activeContent?: React.ReactNode;\n /** Id of activated content. */\n id?: ContentProps[\"id\"];\n}\n\n/** Active Content Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ActiveContentChangedEvent extends UiEvent<ActiveContentChangedEventArgs> {}\n\n/** Content Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ContentDialogChangedEvent extends DialogChangedEvent {}\n\n/** @public */\nexport interface ContentDialogInfo {\n reactNode: React.ReactNode;\n zIndex: number;\n parentDocument: Document;\n}\n\n/**\n * [[UiFramework.content]] interface\n * @public\n */\nexport interface FrameworkContent {\n /** Gets the [[MouseDownChangedEvent]] */\n // eslint-disable-next-line deprecation/deprecation\n readonly onMouseDownChangedEvent: MouseDownChangedEvent;\n\n /** Determines if the mouse is down in a content view */\n readonly isMouseDown: boolean;\n\n /** Sets the mouse down status for a content view */\n setMouseDown(mouseDown: boolean): void;\n\n /** Gets the [[ActiveContentChangedEvent]] */\n // eslint-disable-next-line deprecation/deprecation\n readonly onActiveContentChangedEvent: ActiveContentChangedEvent;\n\n /** Fires when floating contents are added or removed */\n\n // eslint-disable-next-line deprecation/deprecation\n readonly onAvailableContentChangedEvent: UiEvent<{ contentId: string }>;\n\n /** Sets the active content. */\n setActiveId(contentId?: ContentProps[\"id\"]): void;\n\n /** Gets the active content id. */\n getActiveId(): ContentProps[\"id\"] | undefined;\n\n /** Gets the active content as a React.ReactNode.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.getActiveId} instead.\n */\n getActive(): React.ReactNode | undefined;\n\n /** Return the active ContentControl.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.getActiveId} instead.\n */\n // eslint-disable-next-line deprecation/deprecation\n getActiveContentControl(): ContentControl | undefined;\n\n /** @deprecated in 4.16.0. Use {@link UiItemsProvider} to provide a floating widget. */\n // eslint-disable-next-line deprecation/deprecation\n addFloatingContentControl(contentControl?: ContentControl): void;\n\n /** @deprecated in 4.16.0. Unregister {@link UiItemsProvider} to remove a floating widget. */\n // eslint-disable-next-line deprecation/deprecation\n dropFloatingContentControl(contentControl?: ContentControl): void;\n\n /** Sets the active [[ContentControl]].\n * @deprecated in 4.16.0. Use {@link FrameworkContent.setActiveId} instead.\n */\n setActive(\n activeContent?: React.ReactNode,\n forceEventProcessing?: boolean\n ): void;\n\n /** Refreshes the active [[ContentControl]].\n * @deprecated in 4.16.0. Use {@link FrameworkContent.setActiveId} or use conditional rendering in your components.\n */\n refreshActive(activeContent: React.ReactNode): void;\n\n /**\n * Determines if content displays a Sheet view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n isContentSheetView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Drawing view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n isContentDrawingView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Spatial view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n isContentSpatialView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Orthographic view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n isContentOrthographicView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a 3d view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n isContent3dView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if viewport supports use of a camera.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line deprecation/deprecation\n contentSupportsCamera(content: ContentControl | undefined): boolean;\n\n /** Manage content layouts.\n * @public\n */\n readonly layouts: {\n /** build a layout key that is unique for group layout combination */\n getKey(props: { contentGroupId: string; layoutId: string }): string;\n\n /** Return a LayoutDef that is specific to a content group.\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\n */\n getForGroup(\n contentGroupProps: ContentGroupProps | ContentGroup,\n overrideContentLayout?: ContentLayoutProps\n ): ContentLayoutDef;\n\n /** Finds a Content Layout with a given id.\n * @param layoutKey group specific layout id, see `getLayoutKey`\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\n */\n find(layoutKey: string): ContentLayoutDef | undefined;\n\n /** Adds a Content Layout.\n * @param layoutId the id of the Content Layout to add\n * @param layoutDef the Content Layout definition to add\n */\n add(layoutId: string, layoutDef: ContentLayoutDef): void;\n\n /** Gets the active Content Layout */\n readonly activeLayout: ContentLayoutDef | undefined;\n\n /** Gets the active Content Group */\n readonly activeContentGroup: ContentGroup | undefined;\n\n /** Sets the active Content Layout, Content Group and Content Control.\n * @param contentLayoutDef Content layout to make active\n * @param contentGroup Content Group to make active\n */\n setActive(\n contentLayoutDef: ContentLayoutDef,\n contentGroup: ContentGroup\n ): Promise<void>;\n\n /** Sets the active Content Group.\n * @param contentGroup Content Group to make active\n */\n setActiveContentGroup(contentGroup: ContentGroup): Promise<void>;\n\n /** Refreshes the active layout and content group.\n */\n refreshActive(): void;\n };\n /**\n * Manage dialogs displaying managed content.\n * @beta\n * @deprecated in 4.15.0. Use `modeless` or `modal` properties of {@link UiFramework.dialogs} instead.\n */\n readonly dialogs: FrameworkStackedDialog<ContentDialogInfo> & {\n /** Content Dialog Changed Event */\n // eslint-disable-next-line deprecation/deprecation\n readonly onContentDialogChangedEvent: ContentDialogChangedEvent;\n };\n}\n"]}
1
+ {"version":3,"file":"FrameworkContent.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkContent.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAepE;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,qBAAsB,SAAQ,OAAkC;CAAG;AAmBhF;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,yBAA0B,SAAQ,OAAsC;CAAG;AAExF;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,yBAA0B,SAAQ,kBAAkB;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ContentView\n */\n\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { ContentControl } from \"../content/ContentControl.js\";\nimport type {\n ContentGroup,\n ContentGroupProps,\n ContentProps,\n} from \"../content/ContentGroup.js\";\nimport type { ContentLayoutDef } from \"../content/ContentLayout.js\";\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase.js\";\nimport type { FrameworkStackedDialog } from \"./FrameworkDialogs.js\";\nimport type { UiItemsProvider } from \"../ui-items-provider/UiItemsProvider.js\";\nimport type { UiFramework } from \"../UiFramework.js\";\nimport type { ContentLayoutProps } from \"../content/ContentLayoutProps.js\";\n\n/** [[MouseDownChangedEvent]] Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface MouseDownChangedEventArgs {\n /** Indicates whether the mouse is down */\n mouseDown: boolean;\n}\n\n/** Mouse Down Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class MouseDownChangedEvent extends UiEvent<MouseDownChangedEventArgs> {}\n\n/** [[ActiveContentChangedEvent]] Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ActiveContentChangedEventArgs {\n /** React node of the old content.\n * @deprecated in 4.16.0. Save activated content {@link ActiveContentChangedEventArgs.id} instead to identify previous content.\n */\n oldContent?: React.ReactNode;\n /** React node of the newly activated content.\n * @deprecated in 4.16.0. Use {@link ActiveContentChangedEventArgs.id} instead to identify the activated content.\n */\n activeContent?: React.ReactNode;\n /** Id of activated content. */\n id?: ContentProps[\"id\"];\n}\n\n/** Active Content Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ActiveContentChangedEvent extends UiEvent<ActiveContentChangedEventArgs> {}\n\n/** Content Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ContentDialogChangedEvent extends DialogChangedEvent {}\n\n/** @public */\nexport interface ContentDialogInfo {\n reactNode: React.ReactNode;\n zIndex: number;\n parentDocument: Document;\n}\n\n/**\n * [[UiFramework.content]] interface\n * @public\n */\nexport interface FrameworkContent {\n /** Gets the [[MouseDownChangedEvent]] */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onMouseDownChangedEvent: MouseDownChangedEvent;\n\n /** Determines if the mouse is down in a content view */\n readonly isMouseDown: boolean;\n\n /** Sets the mouse down status for a content view */\n setMouseDown(mouseDown: boolean): void;\n\n /** Gets the [[ActiveContentChangedEvent]] */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onActiveContentChangedEvent: ActiveContentChangedEvent;\n\n /** Fires when floating contents are added or removed */\n\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onAvailableContentChangedEvent: UiEvent<{ contentId: string }>;\n\n /** Sets the active content. */\n setActiveId(contentId?: ContentProps[\"id\"]): void;\n\n /** Gets the active content id. */\n getActiveId(): ContentProps[\"id\"] | undefined;\n\n /** Gets the active content as a React.ReactNode.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.getActiveId} instead.\n */\n getActive(): React.ReactNode | undefined;\n\n /** Return the active ContentControl.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.getActiveId} instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n getActiveContentControl(): ContentControl | undefined;\n\n /** @deprecated in 4.16.0. Use {@link UiItemsProvider} to provide a floating widget. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n addFloatingContentControl(contentControl?: ContentControl): void;\n\n /** @deprecated in 4.16.0. Unregister {@link UiItemsProvider} to remove a floating widget. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n dropFloatingContentControl(contentControl?: ContentControl): void;\n\n /** Sets the active [[ContentControl]].\n * @deprecated in 4.16.0. Use {@link FrameworkContent.setActiveId} instead.\n */\n setActive(\n activeContent?: React.ReactNode,\n forceEventProcessing?: boolean\n ): void;\n\n /** Refreshes the active [[ContentControl]].\n * @deprecated in 4.16.0. Use {@link FrameworkContent.setActiveId} or use conditional rendering in your components.\n */\n refreshActive(activeContent: React.ReactNode): void;\n\n /**\n * Determines if content displays a Sheet view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n isContentSheetView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Drawing view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n isContentDrawingView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Spatial view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n isContentSpatialView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a Orthographic view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n isContentOrthographicView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if content displays a 3d view.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n isContent3dView(content: ContentControl | undefined): boolean;\n\n /**\n * Determines if viewport supports use of a camera.\n * @param content ContentControl to check\n * @deprecated in 4.16.0. Uses a deprecated class {@link ContentControl}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n contentSupportsCamera(content: ContentControl | undefined): boolean;\n\n /** Manage content layouts.\n * @public\n */\n readonly layouts: {\n /** build a layout key that is unique for group layout combination */\n getKey(props: { contentGroupId: string; layoutId: string }): string;\n\n /** Return a LayoutDef that is specific to a content group.\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\n */\n getForGroup(\n contentGroupProps: ContentGroupProps | ContentGroup,\n overrideContentLayout?: ContentLayoutProps\n ): ContentLayoutDef;\n\n /** Finds a Content Layout with a given id.\n * @param layoutKey group specific layout id, see `getLayoutKey`\n * @returns the [[ContentLayoutDef]] if found, or undefined otherwise\n */\n find(layoutKey: string): ContentLayoutDef | undefined;\n\n /** Adds a Content Layout.\n * @param layoutId the id of the Content Layout to add\n * @param layoutDef the Content Layout definition to add\n */\n add(layoutId: string, layoutDef: ContentLayoutDef): void;\n\n /** Gets the active Content Layout */\n readonly activeLayout: ContentLayoutDef | undefined;\n\n /** Gets the active Content Group */\n readonly activeContentGroup: ContentGroup | undefined;\n\n /** Sets the active Content Layout, Content Group and Content Control.\n * @param contentLayoutDef Content layout to make active\n * @param contentGroup Content Group to make active\n */\n setActive(\n contentLayoutDef: ContentLayoutDef,\n contentGroup: ContentGroup\n ): Promise<void>;\n\n /** Sets the active Content Group.\n * @param contentGroup Content Group to make active\n */\n setActiveContentGroup(contentGroup: ContentGroup): Promise<void>;\n\n /** Refreshes the active layout and content group.\n */\n refreshActive(): void;\n };\n /**\n * Manage dialogs displaying managed content.\n * @beta\n * @deprecated in 4.15.0. Use `modeless` or `modal` properties of {@link UiFramework.dialogs} instead.\n */\n readonly dialogs: FrameworkStackedDialog<ContentDialogInfo> & {\n /** Content Dialog Changed Event */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onContentDialogChangedEvent: ContentDialogChangedEvent;\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkControls.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ConfigurableUi\n */\nimport type {\n ConfigurableUiControlConstructor,\n ConfigurableUiElement,\n} from \"../configurableui/ConfigurableUiControl.js\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** [[UiFramework.controls]] interface\n * @public\n * @deprecated in 4.16.0. Use React components instead.\n */\nexport interface FrameworkControls {\n /** Registers a control implementing the [[ConfigurableUiElement]] interface.\n * These controls can be a\n * [[ContentControl]],\n * [[NavigationAidControl]],\n * [[StatusBarWidgetControl]],\n * [[WidgetControl]] or\n * [[ToolUiProvider]].\n * @param classId the class id of the control to register\n * @param constructor the constructor of the control to register\n */\n register(\n classId: string,\n constructor: ConfigurableUiControlConstructor\n ): void;\n\n /** Determines if a control has been registered based on its classId.\n * @param classId the class id of the control to test\n * @returns true if the control is registered or false if not\n */\n isRegistered(classId: string): boolean;\n\n /** Unregisters a control that has been registered.\n * @param classId the class id of the control to unregister\n */\n unregister(classId: string): void;\n\n /** Creates a control registered by calling registerControl.\n * @param classId the class id of the control to create\n * @param uniqueId a unique id for the control\n * @param options options passed to the constructor of the control\n * @param controlId controlId which may not be unique across all control instances.\n * @returns the created control\n */\n create(\n classId: string,\n uniqueId: string,\n options?: any,\n controlId?: string\n ): ConfigurableUiElement | undefined;\n\n /** Gets the HTML wrapper element for Configurable UI */\n getWrapperElement(): HTMLElement;\n\n /** Closes all UI popups currently open */\n closeUi(): void;\n}\n"]}
1
+ {"version":3,"file":"FrameworkControls.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkControls.ts"],"names":[],"mappings":"","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ConfigurableUi\n */\nimport type {\n ConfigurableUiControlConstructor,\n ConfigurableUiElement,\n} from \"../configurableui/ConfigurableUiControl.js\";\n\n/* eslint-disable @typescript-eslint/no-deprecated */\n\n/** [[UiFramework.controls]] interface\n * @public\n * @deprecated in 4.16.0. Use React components instead.\n */\nexport interface FrameworkControls {\n /** Registers a control implementing the [[ConfigurableUiElement]] interface.\n * These controls can be a\n * [[ContentControl]],\n * [[NavigationAidControl]],\n * [[StatusBarWidgetControl]],\n * [[WidgetControl]] or\n * [[ToolUiProvider]].\n * @param classId the class id of the control to register\n * @param constructor the constructor of the control to register\n */\n register(\n classId: string,\n constructor: ConfigurableUiControlConstructor\n ): void;\n\n /** Determines if a control has been registered based on its classId.\n * @param classId the class id of the control to test\n * @returns true if the control is registered or false if not\n */\n isRegistered(classId: string): boolean;\n\n /** Unregisters a control that has been registered.\n * @param classId the class id of the control to unregister\n */\n unregister(classId: string): void;\n\n /** Creates a control registered by calling registerControl.\n * @param classId the class id of the control to create\n * @param uniqueId a unique id for the control\n * @param options options passed to the constructor of the control\n * @param controlId controlId which may not be unique across all control instances.\n * @returns the created control\n */\n create(\n classId: string,\n uniqueId: string,\n options?: any,\n controlId?: string\n ): ConfigurableUiElement | undefined;\n\n /** Gets the HTML wrapper element for Configurable UI */\n getWrapperElement(): HTMLElement;\n\n /** Closes all UI popups currently open */\n closeUi(): void;\n}\n"]}
@@ -3,14 +3,14 @@ import { DialogChangedEvent } from "../dialog/DialogManagerBase.js";
3
3
  * @public
4
4
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
5
5
  */
6
- // eslint-disable-next-line deprecation/deprecation
6
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
7
7
  export class ModalDialogChangedEvent extends DialogChangedEvent {
8
8
  }
9
9
  /** Modeless Dialog Changed Event class.
10
10
  * @public
11
11
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
12
12
  */
13
- // eslint-disable-next-line deprecation/deprecation
13
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
14
14
  export class ModelessDialogChangedEvent extends DialogChangedEvent {
15
15
  }
16
16
  //# sourceMappingURL=FrameworkDialogs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkDialogs.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkDialogs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,uBAAwB,SAAQ,kBAAkB;CAAG;AAElE;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Dialog\n */\nimport type { DialogInfo } from \"../dialog/DialogManagerBase.js\";\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase.js\";\n\n/** Modal Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ModalDialogChangedEvent extends DialogChangedEvent {}\n\n/** Modeless Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ModelessDialogChangedEvent extends DialogChangedEvent {}\n\n/** @public */\nexport interface ModelessDialogInfo {\n reactNode: React.ReactNode;\n zIndex: number;\n parentDocument: Document;\n}\n\n/**\n * Manages dialog access\n * @public\n */\nexport interface FrameworkDialog {\n /** Get the array of modal dialogs */\n readonly dialogs: DialogInfo[];\n\n /** Open a modal dialog\n * @param dialog The Dialog to open\n * @param id The id of the Dialog. If one is not provided, an id is generated.\n * @param parentDocument The Document used to determine the owning window.\n */\n open(dialog: React.ReactNode, id?: string, parentDocument?: Document): void;\n\n /** Close a modal dialog\n * @param dialog The Dialog to open. If one is not specified, the active dialog will be closed.\n */\n close(dialog?: React.ReactNode): void;\n\n /** Update the dialogs */\n update(): void;\n\n /** Get the active modal dialog */\n readonly active: React.ReactNode | undefined;\n\n /** Get the count of modal dialogs */\n readonly count: number;\n}\n\n/**\n * FrameworkDialog that manages the top most content.\n * @public\n */\nexport interface FrameworkStackedDialog<DialogInfoType>\n extends FrameworkDialog {\n /** Handle a pointer down event on a modeless dialog */\n handlePointerDownEvent(\n _event: React.PointerEvent,\n id: string,\n updateFunc: () => void\n ): void;\n\n /** Get the z-index for a modeless dialog */\n getZIndex(id: string): number;\n\n getInfo(id: string): DialogInfoType | undefined;\n}\n\n/**\n * [[UiFramework.dialogs]] interface.\n * @public\n */\nexport interface FrameworkDialogs {\n /** Manage modal dialogs. */\n readonly modal: FrameworkDialog & {\n /** Modal Dialog Changed Event */\n // eslint-disable-next-line deprecation/deprecation\n readonly onModalDialogChangedEvent: ModalDialogChangedEvent;\n };\n\n /** Manage modeless dialogs. */\n readonly modeless: FrameworkStackedDialog<ModelessDialogInfo> & {\n /** Modeless Dialog Changed Event */\n // eslint-disable-next-line deprecation/deprecation\n readonly onModelessDialogChangedEvent: ModelessDialogChangedEvent;\n };\n}\n"]}
1
+ {"version":3,"file":"FrameworkDialogs.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkDialogs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,uBAAwB,SAAQ,kBAAkB;CAAG;AAElE;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Dialog\n */\nimport type { DialogInfo } from \"../dialog/DialogManagerBase.js\";\nimport { DialogChangedEvent } from \"../dialog/DialogManagerBase.js\";\n\n/** Modal Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ModalDialogChangedEvent extends DialogChangedEvent {}\n\n/** Modeless Dialog Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ModelessDialogChangedEvent extends DialogChangedEvent {}\n\n/** @public */\nexport interface ModelessDialogInfo {\n reactNode: React.ReactNode;\n zIndex: number;\n parentDocument: Document;\n}\n\n/**\n * Manages dialog access\n * @public\n */\nexport interface FrameworkDialog {\n /** Get the array of modal dialogs */\n readonly dialogs: DialogInfo[];\n\n /** Open a modal dialog\n * @param dialog The Dialog to open\n * @param id The id of the Dialog. If one is not provided, an id is generated.\n * @param parentDocument The Document used to determine the owning window.\n */\n open(dialog: React.ReactNode, id?: string, parentDocument?: Document): void;\n\n /** Close a modal dialog\n * @param dialog The Dialog to open. If one is not specified, the active dialog will be closed.\n */\n close(dialog?: React.ReactNode): void;\n\n /** Update the dialogs */\n update(): void;\n\n /** Get the active modal dialog */\n readonly active: React.ReactNode | undefined;\n\n /** Get the count of modal dialogs */\n readonly count: number;\n}\n\n/**\n * FrameworkDialog that manages the top most content.\n * @public\n */\nexport interface FrameworkStackedDialog<DialogInfoType>\n extends FrameworkDialog {\n /** Handle a pointer down event on a modeless dialog */\n handlePointerDownEvent(\n _event: React.PointerEvent,\n id: string,\n updateFunc: () => void\n ): void;\n\n /** Get the z-index for a modeless dialog */\n getZIndex(id: string): number;\n\n getInfo(id: string): DialogInfoType | undefined;\n}\n\n/**\n * [[UiFramework.dialogs]] interface.\n * @public\n */\nexport interface FrameworkDialogs {\n /** Manage modal dialogs. */\n readonly modal: FrameworkDialog & {\n /** Modal Dialog Changed Event */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onModalDialogChangedEvent: ModalDialogChangedEvent;\n };\n\n /** Manage modeless dialogs. */\n readonly modeless: FrameworkStackedDialog<ModelessDialogInfo> & {\n /** Modeless Dialog Changed Event */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onModelessDialogChangedEvent: ModelessDialogChangedEvent;\n };\n}\n"]}
@@ -10,28 +10,28 @@ import { UiEvent } from "@itwin/appui-abstract";
10
10
  * @public
11
11
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
12
12
  */
13
- // eslint-disable-next-line deprecation/deprecation
13
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
14
14
  export class FrontstageActivatedEvent extends UiEvent {
15
15
  }
16
16
  /** Frontstage Deactivated Event class.
17
17
  * @public
18
18
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
19
19
  */
20
- // eslint-disable-next-line deprecation/deprecation
20
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
21
21
  export class FrontstageDeactivatedEvent extends UiEvent {
22
22
  }
23
23
  /** Frontstage Ready Event class.
24
24
  * @public
25
25
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
26
26
  */
27
- // eslint-disable-next-line deprecation/deprecation
27
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
28
28
  export class FrontstageReadyEvent extends UiEvent {
29
29
  }
30
30
  /** Modal Frontstage Stack Changed Event class.
31
31
  * @public
32
32
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
33
33
  */
34
- // eslint-disable-next-line deprecation/deprecation
34
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
35
35
  export class ModalFrontstageChangedEvent extends UiEvent {
36
36
  }
37
37
  /** Modal Frontstage Requested Close Event class. Notifies the modal stage that the close button was
@@ -42,28 +42,28 @@ export class ModalFrontstageChangedEvent extends UiEvent {
42
42
  * @alpha
43
43
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
44
44
  */
45
- // eslint-disable-next-line deprecation/deprecation
45
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
46
46
  export class ModalFrontstageRequestedCloseEvent extends UiEvent {
47
47
  }
48
48
  /** Modal Frontstage Closed Event class.
49
49
  * @public
50
50
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
51
51
  */
52
- // eslint-disable-next-line deprecation/deprecation
52
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
53
53
  export class ModalFrontstageClosedEvent extends UiEvent {
54
54
  }
55
55
  /** Tool Activated Event class.
56
56
  * @public
57
57
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
58
58
  */
59
- // eslint-disable-next-line deprecation/deprecation
59
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
60
60
  export class ToolActivatedEvent extends UiEvent {
61
61
  }
62
62
  /** Tool Icon Changed Event class.
63
63
  * @public
64
64
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
65
65
  */
66
- // eslint-disable-next-line deprecation/deprecation
66
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
67
67
  export class ToolIconChangedEvent extends UiEvent {
68
68
  }
69
69
  //# sourceMappingURL=FrameworkFrontstages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkFrontstages.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkFrontstages.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA+BhD;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,wBAAyB,SAAQ,OAAqC;CAAG;AAoBtF;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,0BAA2B,SAAQ,OAAuC;CAAG;AAU1F;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,oBAAqB,SAAQ,OAAiC;CAAG;AAU9E;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,2BAA4B,SAAQ,OAAwC;CAAG;AAkB5F;;;;;;;GAOG;AACH,mDAAmD;AACnD,MAAM,OAAO,kCAAmC,SAAQ,OAA+C;CAAG;AAa1G;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,0BAA2B,SAAQ,OAAuC;CAAG;AAU1F;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,kBAAmB,SAAQ,OAA+B;CAAG;AAU1E;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,oBAAqB,SAAQ,OAAiC;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { IModelConnection, Tool } from \"@itwin/core-frontend\";\nimport type { ToolInformation } from \"../toolsettings/ToolInformation.js\";\nimport type { TimeTracker } from \"../configurableui/TimeTracker.js\";\nimport { type ContentControlActivatedEvent } from \"../content/ContentControl.js\";\nimport type { ContentLayoutActivatedEvent } from \"../content/ContentLayout.js\";\nimport type { FrontstageDef } from \"../frontstage/FrontstageDef.js\";\nimport type { FrontstageProvider } from \"../frontstage/FrontstageProvider.js\";\nimport type { NavigationAidActivatedEvent } from \"../navigationaids/NavigationAidControl.js\";\nimport type {\n PanelPinnedChangedEventArgs,\n PanelStateChangedEvent,\n} from \"../stagepanels/StagePanelDef.js\";\nimport type {\n WidgetDef,\n WidgetStateChangedEvent,\n} from \"../widgets/WidgetDef.js\";\nimport type { WidgetState } from \"../widgets/WidgetState.js\";\nimport type { Frontstage } from \"../frontstage/Frontstage.js\";\nimport { FrameworkContent } from \"./FrameworkContent.js\";\nimport type { ModalFrontstageButton } from \"../frontstage/ModalFrontstageButton.js\";\n\n/** Frontstage Activated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageActivatedEventArgs {\n deactivatedFrontstageDef?: FrontstageDef;\n activatedFrontstageDef: FrontstageDef;\n}\n\n/** Frontstage Activated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class FrontstageActivatedEvent extends UiEvent<FrontstageActivatedEventArgs> {}\n\n/** Frontstage Deactivated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageDeactivatedEventArgs {\n /** Frontstage being deactivated */\n deactivatedFrontstageDef: FrontstageDef;\n /** Frontstage being activated */\n activatedFrontstageDef?: FrontstageDef;\n\n /** Total time spent in frontstage */\n totalTime: number;\n /** Engagement time spent in frontstage */\n engagementTime: number;\n /** Idle time spent in frontstage */\n idleTime: number;\n}\n\n/** Frontstage Deactivated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class FrontstageDeactivatedEvent extends UiEvent<FrontstageDeactivatedEventArgs> {}\n\n/** Frontstage Ready Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageReadyEventArgs {\n frontstageDef: FrontstageDef;\n}\n\n/** Frontstage Ready Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class FrontstageReadyEvent extends UiEvent<FrontstageReadyEventArgs> {}\n\n/** Modal Frontstage Changed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageChangedEventArgs {\n modalFrontstageCount: number;\n}\n\n/** Modal Frontstage Stack Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ModalFrontstageChangedEvent extends UiEvent<ModalFrontstageChangedEventArgs> {}\n\n/** Modal Frontstage Closed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageClosedEventArgs {\n /** Modal Frontstage being closed */\n modalFrontstage: ModalFrontstageInfo;\n\n /** Total time spent in frontstage */\n totalTime: number;\n /** Engagement time spent in frontstage */\n engagementTime: number;\n /** Idle time spent in frontstage */\n idleTime: number;\n}\n\n/** Modal Frontstage Requested Close Event class. Notifies the modal stage that the close button was\n * pressed and passes the function to actually close the modal stage. This allows stage to do any\n * saving of unsaved data prior to closing the stage. If the ModalFrontstageInfo sets notifyCloseRequest\n * to true it is up to the stage to register for this event and call the stageCloseFunc once it has saved\n * any unsaved data.\n * @alpha\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ModalFrontstageRequestedCloseEvent extends UiEvent<ModalFrontstageRequestedCloseEventArgs> {}\n\n/** Modal Frontstage RequestedClose Event Args interface.\n * @alpha\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageRequestedCloseEventArgs {\n /** Modal Frontstage that is to be closed */\n modalFrontstage: ModalFrontstageInfo;\n /** Function to call to close the stage */\n stageCloseFunc: () => void;\n}\n\n/** Modal Frontstage Closed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ModalFrontstageClosedEvent extends UiEvent<ModalFrontstageClosedEventArgs> {}\n\n/** Tool Activated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ToolActivatedEventArgs {\n toolId: string;\n}\n\n/** Tool Activated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ToolActivatedEvent extends UiEvent<ToolActivatedEventArgs> {}\n\n/** Tool Icon Changed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ToolIconChangedEventArgs {\n iconSpec: string;\n}\n\n/** Tool Icon Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class ToolIconChangedEvent extends UiEvent<ToolIconChangedEventArgs> {}\n\n/** Modal Frontstage information interface.\n * @public\n */\nexport interface ModalFrontstageInfo {\n title: string;\n content: React.ReactNode;\n appBarRight?: React.ReactNode;\n /** Set notifyCloseRequest to true on stages that register to listen for `onCloseModalFrontstageRequestedEvent` so\n * that the stage can save unsaved data before closing. Used by the ModalSettingsStage.\n * @alpha */\n notifyCloseRequest?: boolean;\n /** If specified overrides the default back button. See {@link ModalFrontstageButton}. */\n backButton?: React.ReactNode;\n}\n\n/** Modal Frontstage array item interface.\n * @internal\n */\nexport interface ModalFrontstageItem {\n modalFrontstage: ModalFrontstageInfo;\n timeTracker: TimeTracker;\n}\n\n/** [[UiFramework.frontstages]] interface\n * @public\n */\nexport interface FrameworkFrontstages {\n /** Returns true if Frontstage is loading its controls. If false the Frontstage content and controls have been created. */\n readonly isLoading: boolean;\n\n /** Get Frontstage Deactivated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onFrontstageDeactivatedEvent: FrontstageDeactivatedEvent;\n\n /** Get Frontstage Activated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onFrontstageActivatedEvent: FrontstageActivatedEvent;\n\n /** Get Frontstage Activated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onFrontstageReadyEvent: FrontstageReadyEvent;\n\n /** Get Modal Frontstage Changed event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onModalFrontstageChangedEvent: ModalFrontstageChangedEvent;\n\n /** Get Modal Frontstage Closed event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onModalFrontstageClosedEvent: ModalFrontstageClosedEvent;\n\n /** Get Modal Frontstage Requested Closed event.\n * @alpha\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly onCloseModalFrontstageRequestedEvent: ModalFrontstageRequestedCloseEvent;\n\n /** Get Tool Activated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onToolActivatedEvent: ToolActivatedEvent;\n\n /** Get ToolSetting Reload event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onToolSettingsReloadEvent: UiEvent<void>;\n\n /** Get Tool Icon Changed event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onToolIconChangedEvent: ToolIconChangedEvent;\n\n /** Get Content Layout Activated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onContentLayoutActivatedEvent: ContentLayoutActivatedEvent;\n\n /** Get Content Control Activated event.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.onActiveContentChangedEvent} instead.\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly onContentControlActivatedEvent: ContentControlActivatedEvent;\n\n /** Get Navigation Aid Activated event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onNavigationAidActivatedEvent: NavigationAidActivatedEvent;\n\n /** Get Widget State Changed event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onWidgetStateChangedEvent: WidgetStateChangedEvent;\n\n /** Get panel state changed event.\n * @alpha\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly onPanelStateChangedEvent: PanelStateChangedEvent;\n\n /** Get panel pinned changed event.\n * @alpha\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly onPanelPinnedChangedEvent: UiEvent<PanelPinnedChangedEventArgs>;\n\n /** Clears the Frontstage map.\n */\n clearFrontstageDefs(): void;\n\n /** Clears the Frontstage Providers and the defs that may have been created from them.\n * @deprecated in 4.17.0. Use {@link FrameworkFrontstages.clearFrontstages} instead.\n */\n clearFrontstageProviders(): void;\n\n /** Clears the Frontstages. */\n clearFrontstages(): void;\n\n /** Adds a frontstage provider.\n * @param frontstageProvider FrontstageProvider representing the Frontstage to add\n * @deprecated in 4.15.0. Use {@link FrameworkFrontstages.addFrontstage} instead.\n */\n // eslint-disable-next-line deprecation/deprecation\n addFrontstageProvider(frontstageProvider: FrontstageProvider): void;\n\n /** Adds a frontstage. */\n addFrontstage(frontstage: Frontstage): void;\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned. If\n * no cached FrontstageDef is found but a FrontstageProvider is registered a FrontstageDef will be created, cached, and\n * returned.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n getFrontstageDef(id?: string): Promise<FrontstageDef | undefined>;\n\n /** Gets the active FrontstageDef. If a Frontstage is not active, undefined is returned.\n * @return Active FrontstageDef, or undefined if one is not active.\n */\n readonly activeFrontstageDef: FrontstageDef | undefined;\n\n /** Gets the Id of the active FrontstageDef. If a Frontstage is not active, blank is returned.\n * @return Id of the active FrontstageDef, or blank if one is not active.\n */\n readonly activeFrontstageId: string;\n\n hasFrontstage(frontstageId: string): boolean;\n\n /** Sets the active FrontstageDef give the stageId.\n * @param frontstageId Id of the Frontstage to set active.\n * @returns A Promise that is fulfilled when the Frontstage is ready.\n */\n setActiveFrontstage(frontstageId: string): Promise<void>;\n\n /** Sets the active FrontstageDef.\n * @param frontstageDef FrontstageDef to set active.\n * @returns A Promise that is fulfilled when the [[FrontstageDef]] is ready.\n */\n setActiveFrontstageDef(\n frontstageDef: FrontstageDef | undefined\n ): Promise<void>;\n\n /** Deactivates the active FrontstageDef.\n */\n deactivateFrontstageDef(): Promise<void>;\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n readonly activeToolId: string;\n\n /** Sets the active tool id */\n setActiveToolId(toolId: string): void;\n\n /** Sets the active tool */\n setActiveTool(tool: Tool): void;\n\n /** Gets the active tool's [[ToolInformation]].\n * @deprecated in 4.16.0. Uses a deprecated class {@link ToolInformation}.\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly activeToolInformation: ToolInformation | undefined;\n\n /** Opens a modal Frontstage. Modal Frontstages can be stacked.\n * @param modalFrontstage Information about the modal Frontstage\n */\n openModalFrontstage(modalFrontstage: ModalFrontstageInfo): void;\n\n /** Closes the top-most modal Frontstage.\n */\n closeModalFrontstage(): void;\n\n /** Updates the top-most modal Frontstage.\n */\n updateModalFrontstage(): void;\n\n /** Gets the top-most modal Frontstage.\n * @returns Top-most modal Frontstage, or undefined if there is none.\n */\n readonly activeModalFrontstage: ModalFrontstageInfo | undefined;\n\n /** Gets the number of modal Frontstages.\n * @returns Modal Frontstage count\n */\n readonly modalFrontstageCount: number;\n\n /** Sets the active Navigation Aid via its Id.\n * @param navigationAidId Id of the Navigation Aid to set as active\n * @param iModelConnection IModelConnection to query for view data\n */\n setActiveNavigationAid(\n navigationAidId: string,\n iModelConnection: IModelConnection\n ): void;\n\n /** Sets the state of the widget with the given id\n * @param widgetId Id of the Widget for which to set the state\n * @param state New state of the widget\n * @returns true if the widget state was set successfully, or false if not.\n */\n setWidgetState(widgetId: string, state: WidgetState): boolean;\n\n /** Finds a widget with the given id in the active frontstage\n * @param widgetId Id of the Widget to find\n * @returns The WidgetDef with the given id, or undefined if not found.\n */\n findWidget(widgetId: string): WidgetDef | undefined;\n\n /** Opens a nested Frontstage. Nested Frontstages can be stacked.\n * @param nestedFrontstage Information about the nested Frontstage\n */\n openNestedFrontstage(nestedFrontstage: FrontstageDef): Promise<void>;\n\n /** Closes the top-most nested Frontstage.\n */\n closeNestedFrontstage(): Promise<void>;\n\n /** Gets the top-most nested Frontstage.\n * @returns Top-most nested Frontstage, or undefined if there is none.\n */\n readonly activeNestedFrontstage: FrontstageDef | undefined;\n\n /** Gets the number of nested Frontstages.\n * @returns Nested Frontstage count\n */\n readonly nestedFrontstageCount: number;\n}\n"]}
1
+ {"version":3,"file":"FrameworkFrontstages.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkFrontstages.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA+BhD;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,wBAAyB,SAAQ,OAAqC;CAAG;AAoBtF;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,0BAA2B,SAAQ,OAAuC;CAAG;AAU1F;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,oBAAqB,SAAQ,OAAiC;CAAG;AAU9E;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,2BAA4B,SAAQ,OAAwC;CAAG;AAkB5F;;;;;;;GAOG;AACH,4DAA4D;AAC5D,MAAM,OAAO,kCAAmC,SAAQ,OAA+C;CAAG;AAa1G;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,0BAA2B,SAAQ,OAAuC;CAAG;AAU1F;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,kBAAmB,SAAQ,OAA+B;CAAG;AAU1E;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,oBAAqB,SAAQ,OAAiC;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { IModelConnection, Tool } from \"@itwin/core-frontend\";\nimport type { ToolInformation } from \"../toolsettings/ToolInformation.js\";\nimport type { TimeTracker } from \"../configurableui/TimeTracker.js\";\nimport { type ContentControlActivatedEvent } from \"../content/ContentControl.js\";\nimport type { ContentLayoutActivatedEvent } from \"../content/ContentLayout.js\";\nimport type { FrontstageDef } from \"../frontstage/FrontstageDef.js\";\nimport type { FrontstageProvider } from \"../frontstage/FrontstageProvider.js\";\nimport type { NavigationAidActivatedEvent } from \"../navigationaids/NavigationAidControl.js\";\nimport type {\n PanelPinnedChangedEventArgs,\n PanelStateChangedEvent,\n} from \"../stagepanels/StagePanelDef.js\";\nimport type {\n WidgetDef,\n WidgetStateChangedEvent,\n} from \"../widgets/WidgetDef.js\";\nimport type { WidgetState } from \"../widgets/WidgetState.js\";\nimport type { Frontstage } from \"../frontstage/Frontstage.js\";\nimport { FrameworkContent } from \"./FrameworkContent.js\";\nimport type { ModalFrontstageButton } from \"../frontstage/ModalFrontstageButton.js\";\n\n/** Frontstage Activated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageActivatedEventArgs {\n deactivatedFrontstageDef?: FrontstageDef;\n activatedFrontstageDef: FrontstageDef;\n}\n\n/** Frontstage Activated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class FrontstageActivatedEvent extends UiEvent<FrontstageActivatedEventArgs> {}\n\n/** Frontstage Deactivated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageDeactivatedEventArgs {\n /** Frontstage being deactivated */\n deactivatedFrontstageDef: FrontstageDef;\n /** Frontstage being activated */\n activatedFrontstageDef?: FrontstageDef;\n\n /** Total time spent in frontstage */\n totalTime: number;\n /** Engagement time spent in frontstage */\n engagementTime: number;\n /** Idle time spent in frontstage */\n idleTime: number;\n}\n\n/** Frontstage Deactivated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class FrontstageDeactivatedEvent extends UiEvent<FrontstageDeactivatedEventArgs> {}\n\n/** Frontstage Ready Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface FrontstageReadyEventArgs {\n frontstageDef: FrontstageDef;\n}\n\n/** Frontstage Ready Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class FrontstageReadyEvent extends UiEvent<FrontstageReadyEventArgs> {}\n\n/** Modal Frontstage Changed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageChangedEventArgs {\n modalFrontstageCount: number;\n}\n\n/** Modal Frontstage Stack Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ModalFrontstageChangedEvent extends UiEvent<ModalFrontstageChangedEventArgs> {}\n\n/** Modal Frontstage Closed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageClosedEventArgs {\n /** Modal Frontstage being closed */\n modalFrontstage: ModalFrontstageInfo;\n\n /** Total time spent in frontstage */\n totalTime: number;\n /** Engagement time spent in frontstage */\n engagementTime: number;\n /** Idle time spent in frontstage */\n idleTime: number;\n}\n\n/** Modal Frontstage Requested Close Event class. Notifies the modal stage that the close button was\n * pressed and passes the function to actually close the modal stage. This allows stage to do any\n * saving of unsaved data prior to closing the stage. If the ModalFrontstageInfo sets notifyCloseRequest\n * to true it is up to the stage to register for this event and call the stageCloseFunc once it has saved\n * any unsaved data.\n * @alpha\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ModalFrontstageRequestedCloseEvent extends UiEvent<ModalFrontstageRequestedCloseEventArgs> {}\n\n/** Modal Frontstage RequestedClose Event Args interface.\n * @alpha\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ModalFrontstageRequestedCloseEventArgs {\n /** Modal Frontstage that is to be closed */\n modalFrontstage: ModalFrontstageInfo;\n /** Function to call to close the stage */\n stageCloseFunc: () => void;\n}\n\n/** Modal Frontstage Closed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ModalFrontstageClosedEvent extends UiEvent<ModalFrontstageClosedEventArgs> {}\n\n/** Tool Activated Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ToolActivatedEventArgs {\n toolId: string;\n}\n\n/** Tool Activated Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ToolActivatedEvent extends UiEvent<ToolActivatedEventArgs> {}\n\n/** Tool Icon Changed Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface ToolIconChangedEventArgs {\n iconSpec: string;\n}\n\n/** Tool Icon Changed Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class ToolIconChangedEvent extends UiEvent<ToolIconChangedEventArgs> {}\n\n/** Modal Frontstage information interface.\n * @public\n */\nexport interface ModalFrontstageInfo {\n title: string;\n content: React.ReactNode;\n appBarRight?: React.ReactNode;\n /** Set notifyCloseRequest to true on stages that register to listen for `onCloseModalFrontstageRequestedEvent` so\n * that the stage can save unsaved data before closing. Used by the ModalSettingsStage.\n * @alpha */\n notifyCloseRequest?: boolean;\n /** If specified overrides the default back button. See {@link ModalFrontstageButton}. */\n backButton?: React.ReactNode;\n}\n\n/** Modal Frontstage array item interface.\n * @internal\n */\nexport interface ModalFrontstageItem {\n modalFrontstage: ModalFrontstageInfo;\n timeTracker: TimeTracker;\n}\n\n/** [[UiFramework.frontstages]] interface\n * @public\n */\nexport interface FrameworkFrontstages {\n /** Returns true if Frontstage is loading its controls. If false the Frontstage content and controls have been created. */\n readonly isLoading: boolean;\n\n /** Get Frontstage Deactivated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onFrontstageDeactivatedEvent: FrontstageDeactivatedEvent;\n\n /** Get Frontstage Activated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onFrontstageActivatedEvent: FrontstageActivatedEvent;\n\n /** Get Frontstage Activated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onFrontstageReadyEvent: FrontstageReadyEvent;\n\n /** Get Modal Frontstage Changed event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onModalFrontstageChangedEvent: ModalFrontstageChangedEvent;\n\n /** Get Modal Frontstage Closed event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onModalFrontstageClosedEvent: ModalFrontstageClosedEvent;\n\n /** Get Modal Frontstage Requested Closed event.\n * @alpha\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onCloseModalFrontstageRequestedEvent: ModalFrontstageRequestedCloseEvent;\n\n /** Get Tool Activated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onToolActivatedEvent: ToolActivatedEvent;\n\n /** Get ToolSetting Reload event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onToolSettingsReloadEvent: UiEvent<void>;\n\n /** Get Tool Icon Changed event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onToolIconChangedEvent: ToolIconChangedEvent;\n\n /** Get Content Layout Activated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onContentLayoutActivatedEvent: ContentLayoutActivatedEvent;\n\n /** Get Content Control Activated event.\n * @deprecated in 4.16.0. Use {@link FrameworkContent.onActiveContentChangedEvent} instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onContentControlActivatedEvent: ContentControlActivatedEvent;\n\n /** Get Navigation Aid Activated event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onNavigationAidActivatedEvent: NavigationAidActivatedEvent;\n\n /** Get Widget State Changed event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onWidgetStateChangedEvent: WidgetStateChangedEvent;\n\n /** Get panel state changed event.\n * @alpha\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onPanelStateChangedEvent: PanelStateChangedEvent;\n\n /** Get panel pinned changed event.\n * @alpha\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onPanelPinnedChangedEvent: UiEvent<PanelPinnedChangedEventArgs>;\n\n /** Clears the Frontstage map.\n */\n clearFrontstageDefs(): void;\n\n /** Clears the Frontstage Providers and the defs that may have been created from them.\n * @deprecated in 4.17.0. Use {@link FrameworkFrontstages.clearFrontstages} instead.\n */\n clearFrontstageProviders(): void;\n\n /** Clears the Frontstages. */\n clearFrontstages(): void;\n\n /** Adds a frontstage provider.\n * @param frontstageProvider FrontstageProvider representing the Frontstage to add\n * @deprecated in 4.15.0. Use {@link FrameworkFrontstages.addFrontstage} instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n addFrontstageProvider(frontstageProvider: FrontstageProvider): void;\n\n /** Adds a frontstage. */\n addFrontstage(frontstage: Frontstage): void;\n\n /** Find a loaded Frontstage with a given id. If the id is not provided, the active Frontstage is returned. If\n * no cached FrontstageDef is found but a FrontstageProvider is registered a FrontstageDef will be created, cached, and\n * returned.\n * @param id Id of the Frontstage to find\n * @returns FrontstageDef with a given id if found, or undefined if not found.\n */\n getFrontstageDef(id?: string): Promise<FrontstageDef | undefined>;\n\n /** Gets the active FrontstageDef. If a Frontstage is not active, undefined is returned.\n * @return Active FrontstageDef, or undefined if one is not active.\n */\n readonly activeFrontstageDef: FrontstageDef | undefined;\n\n /** Gets the Id of the active FrontstageDef. If a Frontstage is not active, blank is returned.\n * @return Id of the active FrontstageDef, or blank if one is not active.\n */\n readonly activeFrontstageId: string;\n\n hasFrontstage(frontstageId: string): boolean;\n\n /** Sets the active FrontstageDef give the stageId.\n * @param frontstageId Id of the Frontstage to set active.\n * @returns A Promise that is fulfilled when the Frontstage is ready.\n */\n setActiveFrontstage(frontstageId: string): Promise<void>;\n\n /** Sets the active FrontstageDef.\n * @param frontstageDef FrontstageDef to set active.\n * @returns A Promise that is fulfilled when the [[FrontstageDef]] is ready.\n */\n setActiveFrontstageDef(\n frontstageDef: FrontstageDef | undefined\n ): Promise<void>;\n\n /** Deactivates the active FrontstageDef.\n */\n deactivateFrontstageDef(): Promise<void>;\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n readonly activeToolId: string;\n\n /** Sets the active tool id */\n setActiveToolId(toolId: string): void;\n\n /** Sets the active tool */\n setActiveTool(tool: Tool): void;\n\n /** Gets the active tool's [[ToolInformation]].\n * @deprecated in 4.16.0. Uses a deprecated class {@link ToolInformation}.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly activeToolInformation: ToolInformation | undefined;\n\n /** Opens a modal Frontstage. Modal Frontstages can be stacked.\n * @param modalFrontstage Information about the modal Frontstage\n */\n openModalFrontstage(modalFrontstage: ModalFrontstageInfo): void;\n\n /** Closes the top-most modal Frontstage.\n */\n closeModalFrontstage(): void;\n\n /** Updates the top-most modal Frontstage.\n */\n updateModalFrontstage(): void;\n\n /** Gets the top-most modal Frontstage.\n * @returns Top-most modal Frontstage, or undefined if there is none.\n */\n readonly activeModalFrontstage: ModalFrontstageInfo | undefined;\n\n /** Gets the number of modal Frontstages.\n * @returns Modal Frontstage count\n */\n readonly modalFrontstageCount: number;\n\n /** Sets the active Navigation Aid via its Id.\n * @param navigationAidId Id of the Navigation Aid to set as active\n * @param iModelConnection IModelConnection to query for view data\n */\n setActiveNavigationAid(\n navigationAidId: string,\n iModelConnection: IModelConnection\n ): void;\n\n /** Sets the state of the widget with the given id\n * @param widgetId Id of the Widget for which to set the state\n * @param state New state of the widget\n * @returns true if the widget state was set successfully, or false if not.\n */\n setWidgetState(widgetId: string, state: WidgetState): boolean;\n\n /** Finds a widget with the given id in the active frontstage\n * @param widgetId Id of the Widget to find\n * @returns The WidgetDef with the given id, or undefined if not found.\n */\n findWidget(widgetId: string): WidgetDef | undefined;\n\n /** Opens a nested Frontstage. Nested Frontstages can be stacked.\n * @param nestedFrontstage Information about the nested Frontstage\n */\n openNestedFrontstage(nestedFrontstage: FrontstageDef): Promise<void>;\n\n /** Closes the top-most nested Frontstage.\n */\n closeNestedFrontstage(): Promise<void>;\n\n /** Gets the top-most nested Frontstage.\n * @returns Top-most nested Frontstage, or undefined if there is none.\n */\n readonly activeNestedFrontstage: FrontstageDef | undefined;\n\n /** Gets the number of nested Frontstages.\n * @returns Nested Frontstage count\n */\n readonly nestedFrontstageCount: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkKeyboardShortcuts.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkKeyboardShortcuts.ts"],"names":[],"mappings":"","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module KeyboardShortcut\n */\nimport type { BadgeType, IconSpec } from \"@itwin/core-react\";\nimport type { BadgeKind } from \"@itwin/core-react/internal\";\nimport type { KeyboardShortcutProps } from \"../keyboardshortcut/KeyboardShortcutProps.js\";\nimport type { ActionButtonItemDef } from \"../shared/ActionButtonItemDef.js\";\nimport type {\n ConditionalBooleanValue,\n ConditionalStringValue,\n} from \"../shared/ConditionalValue.js\";\nimport type { StringGetter } from \"@itwin/appui-abstract\";\n\n/** Keyboard Shortcut used to execute an action\n * @public\n */\nexport interface FrameworkKeyboardShortcut {\n /** Returns the id for this shortcut */\n readonly id: string;\n\n /** Returns the shortcut container */\n readonly shortcutContainer: FrameworkKeyboardShortcutContainer;\n\n /** Finds a shortcut with a given key in the shortcut's container */\n getShortcut(mapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Returns the shortcut's key map key used as the id */\n readonly keyMapKey: string;\n\n /** Returns the [[ActionButtonItemDef]] associated with this shortcut.\n * @deprecated in 4.15.0. Use properties of this object instead.\n */\n // eslint-disable-next-line deprecation/deprecation\n readonly item: ActionButtonItemDef | undefined;\n\n /** Called when the [[ActionButtonItemDef]] associated with this shortcut is invoked */\n itemPicked(): void;\n\n /** Gets the keyboard key */\n readonly key: string;\n /** Gets whether the Alt key required. */\n readonly isAltKeyRequired: boolean;\n /** Gets whether the Ctrl key required. */\n readonly isCtrlKeyRequired: boolean;\n /** Gets whether the Shift key required. */\n readonly isShiftKeyRequired: boolean;\n /** Gets whether this is a Function key. */\n readonly isFunctionKey: boolean;\n /** Gets whether this is a Special key. */\n readonly isSpecialKey: boolean;\n\n /** Specifies the kind of badge, if any, to be overlaid on the item. */\n readonly badgeKind?: BadgeKind;\n readonly iconNode?: React.ReactNode;\n\n // #region \"ItemDefBase\" properties previously extended from deprecated type.\n\n isPressed: boolean;\n isActive: boolean;\n applicationData?: any;\n isHidden?: boolean | ConditionalBooleanValue;\n isDisabled?: boolean | ConditionalBooleanValue;\n /** @deprecated in 4.16.0. Use {@link FrameworkKeyboardShortcut.badgeKind} property instead. */\n // eslint-disable-next-line deprecation/deprecation\n badgeType?: BadgeType;\n /** @deprecated in 4.16.0. Use {@link FrameworkKeyboardShortcut.iconNode} property instead. */\n // eslint-disable-next-line deprecation/deprecation\n iconSpec?: IconSpec;\n iconElement?: React.ReactNode;\n trayId: undefined;\n readonly rawLabel: string | StringGetter | ConditionalStringValue;\n readonly label: string;\n setLabel(v: string | StringGetter | ConditionalStringValue): void;\n readonly tooltip: string;\n setTooltip(v: string | StringGetter | ConditionalStringValue): void;\n readonly description: string;\n setDescription(v: string | StringGetter | ConditionalStringValue): void;\n\n // #endregion \"ItemDefBase\"\n}\n\n/** Keyboard Shortcut Container\n * @public\n */\nexport interface FrameworkKeyboardShortcutContainer {\n /** Registers a Keyboard Shortcut associated with a given key in the managed list */\n registerKey(\n keyMapKey: string,\n inShortcut: FrameworkKeyboardShortcut\n ): FrameworkKeyboardShortcut | undefined;\n\n /** Finds a Keyboard Shortcut associated with a given key */\n findKey(keyMapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Determines if any Keyboard Shortcuts are available in this container */\n areKeyboardShortcutsAvailable(): boolean;\n\n /** Empties any Keyboard Shortcuts from this container */\n emptyData(): void;\n\n getAvailableKeyboardShortcuts(): FrameworkKeyboardShortcut[];\n\n /** Displays a menu for the Keyboard Shortcuts in this container */\n showShortcutsMenu(): void;\n}\n\n/**\n * [[UiFramework.keyboardShortcuts]] interface\n * @public\n */\nexport interface FrameworkKeyboardShortcuts {\n /** Loads Keyboard Shortcuts into the managed list */\n loadShortcuts(shortcutList: KeyboardShortcutProps[]): void;\n\n /** Loads a Keyboard Shortcut into the managed list */\n loadShortcut(shortcutProps: KeyboardShortcutProps): void;\n\n /** Processes a keystroke and invokes a matching Keyboard Shortcut */\n processKey(\n keyboardKey: string,\n isAltKeyPressed?: boolean,\n isCtrlKeyPressed?: boolean,\n isShiftKeyPressed?: boolean\n ): boolean;\n\n /** Returns the managed list of Keyboard Shortcuts */\n readonly shortcutContainer: FrameworkKeyboardShortcutContainer;\n\n /** Returns a Keyboard Shortcut from the managed lists */\n getShortcut(keyMapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Determines if focus is set to Home */\n readonly isFocusOnHome: boolean;\n\n /** Sets focus to Home */\n setFocusToHome(): void;\n\n /** Displays the Keyboard Shortcuts menu at the cursor */\n displayMenu(): void;\n\n /** Closes the Keyboard Shortcuts menu */\n closeMenu(): void;\n\n /** Returns the cursor X position, which is mouseEvent.pageX. */\n readonly cursorX: number;\n /** Returns the cursor Y position, which is mouseEvent.pageY. */\n readonly cursorY: number;\n}\n"]}
1
+ {"version":3,"file":"FrameworkKeyboardShortcuts.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkKeyboardShortcuts.ts"],"names":[],"mappings":"","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module KeyboardShortcut\n */\nimport type { BadgeType, IconSpec } from \"@itwin/core-react\";\nimport type { BadgeKind } from \"@itwin/core-react/internal\";\nimport type { KeyboardShortcutProps } from \"../keyboardshortcut/KeyboardShortcutProps.js\";\nimport type { ActionButtonItemDef } from \"../shared/ActionButtonItemDef.js\";\nimport type {\n ConditionalBooleanValue,\n ConditionalStringValue,\n} from \"../shared/ConditionalValue.js\";\nimport type { StringGetter } from \"@itwin/appui-abstract\";\n\n/** Keyboard Shortcut used to execute an action\n * @public\n */\nexport interface FrameworkKeyboardShortcut {\n /** Returns the id for this shortcut */\n readonly id: string;\n\n /** Returns the shortcut container */\n readonly shortcutContainer: FrameworkKeyboardShortcutContainer;\n\n /** Finds a shortcut with a given key in the shortcut's container */\n getShortcut(mapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Returns the shortcut's key map key used as the id */\n readonly keyMapKey: string;\n\n /** Returns the [[ActionButtonItemDef]] associated with this shortcut.\n * @deprecated in 4.15.0. Use properties of this object instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly item: ActionButtonItemDef | undefined;\n\n /** Called when the [[ActionButtonItemDef]] associated with this shortcut is invoked */\n itemPicked(): void;\n\n /** Gets the keyboard key */\n readonly key: string;\n /** Gets whether the Alt key required. */\n readonly isAltKeyRequired: boolean;\n /** Gets whether the Ctrl key required. */\n readonly isCtrlKeyRequired: boolean;\n /** Gets whether the Shift key required. */\n readonly isShiftKeyRequired: boolean;\n /** Gets whether this is a Function key. */\n readonly isFunctionKey: boolean;\n /** Gets whether this is a Special key. */\n readonly isSpecialKey: boolean;\n\n /** Specifies the kind of badge, if any, to be overlaid on the item. */\n readonly badgeKind?: BadgeKind;\n readonly iconNode?: React.ReactNode;\n\n // #region \"ItemDefBase\" properties previously extended from deprecated type.\n\n isPressed: boolean;\n isActive: boolean;\n applicationData?: any;\n isHidden?: boolean | ConditionalBooleanValue;\n isDisabled?: boolean | ConditionalBooleanValue;\n /** @deprecated in 4.16.0. Use {@link FrameworkKeyboardShortcut.badgeKind} property instead. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n badgeType?: BadgeType;\n /** @deprecated in 4.16.0. Use {@link FrameworkKeyboardShortcut.iconNode} property instead. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n iconSpec?: IconSpec;\n iconElement?: React.ReactNode;\n trayId: undefined;\n readonly rawLabel: string | StringGetter | ConditionalStringValue;\n readonly label: string;\n setLabel(v: string | StringGetter | ConditionalStringValue): void;\n readonly tooltip: string;\n setTooltip(v: string | StringGetter | ConditionalStringValue): void;\n readonly description: string;\n setDescription(v: string | StringGetter | ConditionalStringValue): void;\n\n // #endregion \"ItemDefBase\"\n}\n\n/** Keyboard Shortcut Container\n * @public\n */\nexport interface FrameworkKeyboardShortcutContainer {\n /** Registers a Keyboard Shortcut associated with a given key in the managed list */\n registerKey(\n keyMapKey: string,\n inShortcut: FrameworkKeyboardShortcut\n ): FrameworkKeyboardShortcut | undefined;\n\n /** Finds a Keyboard Shortcut associated with a given key */\n findKey(keyMapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Determines if any Keyboard Shortcuts are available in this container */\n areKeyboardShortcutsAvailable(): boolean;\n\n /** Empties any Keyboard Shortcuts from this container */\n emptyData(): void;\n\n getAvailableKeyboardShortcuts(): FrameworkKeyboardShortcut[];\n\n /** Displays a menu for the Keyboard Shortcuts in this container */\n showShortcutsMenu(): void;\n}\n\n/**\n * [[UiFramework.keyboardShortcuts]] interface\n * @public\n */\nexport interface FrameworkKeyboardShortcuts {\n /** Loads Keyboard Shortcuts into the managed list */\n loadShortcuts(shortcutList: KeyboardShortcutProps[]): void;\n\n /** Loads a Keyboard Shortcut into the managed list */\n loadShortcut(shortcutProps: KeyboardShortcutProps): void;\n\n /** Processes a keystroke and invokes a matching Keyboard Shortcut */\n processKey(\n keyboardKey: string,\n isAltKeyPressed?: boolean,\n isCtrlKeyPressed?: boolean,\n isShiftKeyPressed?: boolean\n ): boolean;\n\n /** Returns the managed list of Keyboard Shortcuts */\n readonly shortcutContainer: FrameworkKeyboardShortcutContainer;\n\n /** Returns a Keyboard Shortcut from the managed lists */\n getShortcut(keyMapKey: string): FrameworkKeyboardShortcut | undefined;\n\n /** Determines if focus is set to Home */\n readonly isFocusOnHome: boolean;\n\n /** Sets focus to Home */\n setFocusToHome(): void;\n\n /** Displays the Keyboard Shortcuts menu at the cursor */\n displayMenu(): void;\n\n /** Closes the Keyboard Shortcuts menu */\n closeMenu(): void;\n\n /** Returns the cursor X position, which is mouseEvent.pageX. */\n readonly cursorX: number;\n /** Returns the cursor Y position, which is mouseEvent.pageY. */\n readonly cursorY: number;\n}\n"]}
@@ -3,7 +3,7 @@ import { UiEvent } from "@itwin/appui-abstract";
3
3
  * @public
4
4
  * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.
5
5
  */
6
- // eslint-disable-next-line deprecation/deprecation
6
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
7
7
  export class SyncToolSettingsPropertiesEvent extends UiEvent {
8
8
  }
9
9
  //# sourceMappingURL=FrameworkToolSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkToolSettings.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkToolSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAYhD;;;GAGG;AACH,mDAAmD;AACnD,MAAM,OAAO,+BAAgC,SAAQ,OAA4C;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ToolSettings\n */\nimport type { DialogItem, DialogPropertySyncItem } from \"@itwin/appui-abstract\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { InteractiveTool } from \"@itwin/core-frontend\";\n\n/** Sync Tool Settings Properties Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface SyncToolSettingsPropertiesEventArgs {\n toolId: string;\n syncProperties: DialogPropertySyncItem[];\n}\n\n/** Sync Tool Settings Properties Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class SyncToolSettingsPropertiesEvent extends UiEvent<SyncToolSettingsPropertiesEventArgs> {}\n\n/**\n * [[UiFramework.toolSettings]] interface\n * @public\n */\nexport interface FrameworkToolSettings {\n /** clear cached Tool Settings properties. */\n clearToolSettingsData(): void;\n\n /** Cache Tool Settings properties */\n initializeToolSettingsData(\n toolSettingsProperties: DialogItem[] | undefined,\n toolId?: string,\n toolLabel?: string,\n toolDescription?: string\n ): boolean;\n\n /** Set of data used in Tool Settings for the specified tool. The tool specified should be the \"active\" tool.\n */\n initializeDataForTool(tool: InteractiveTool): void;\n\n /** Returns the toolSettings properties that can be used to populate the tool settings widget. */\n readonly toolSettingsProperties: DialogItem[];\n\n /** Returns true if the Tool Settings are to be auto populated from the toolSettingsProperties.\n * The setter is chiefly for testing.\n */\n useDefaultToolSettingsProvider: boolean;\n\n /** The name of the active tool. This is typically the flyover text specified for the tool. */\n activeToolLabel: string;\n\n /** Returns the description of the active tool. */\n readonly activeToolDescription: string;\n\n /** Get ToolSettings Properties sync event. */\n // eslint-disable-next-line deprecation/deprecation\n readonly onSyncToolSettingsProperties: SyncToolSettingsPropertiesEvent;\n // eslint-disable-next-line deprecation/deprecation\n readonly onReloadToolSettingsProperties: UiEvent<void>;\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n readonly toolIdForToolSettings: string;\n\n /**\n * Sets the focus on the ToolSettings UI element.\n */\n focusIntoToolSettings(): boolean;\n}\n"]}
1
+ {"version":3,"file":"FrameworkToolSettings.js","sourceRoot":"","sources":["../../../src/appui-react/framework/FrameworkToolSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAYhD;;;GAGG;AACH,4DAA4D;AAC5D,MAAM,OAAO,+BAAgC,SAAQ,OAA4C;CAAG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module ToolSettings\n */\nimport type { DialogItem, DialogPropertySyncItem } from \"@itwin/appui-abstract\";\nimport { UiEvent } from \"@itwin/appui-abstract\";\nimport type { InteractiveTool } from \"@itwin/core-frontend\";\n\n/** Sync Tool Settings Properties Event Args interface.\n * @public\n * @deprecated in 4.13.0. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface SyncToolSettingsPropertiesEventArgs {\n toolId: string;\n syncProperties: DialogPropertySyncItem[];\n}\n\n/** Sync Tool Settings Properties Event class.\n * @public\n * @deprecated in 4.13.0. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport class SyncToolSettingsPropertiesEvent extends UiEvent<SyncToolSettingsPropertiesEventArgs> {}\n\n/**\n * [[UiFramework.toolSettings]] interface\n * @public\n */\nexport interface FrameworkToolSettings {\n /** clear cached Tool Settings properties. */\n clearToolSettingsData(): void;\n\n /** Cache Tool Settings properties */\n initializeToolSettingsData(\n toolSettingsProperties: DialogItem[] | undefined,\n toolId?: string,\n toolLabel?: string,\n toolDescription?: string\n ): boolean;\n\n /** Set of data used in Tool Settings for the specified tool. The tool specified should be the \"active\" tool.\n */\n initializeDataForTool(tool: InteractiveTool): void;\n\n /** Returns the toolSettings properties that can be used to populate the tool settings widget. */\n readonly toolSettingsProperties: DialogItem[];\n\n /** Returns true if the Tool Settings are to be auto populated from the toolSettingsProperties.\n * The setter is chiefly for testing.\n */\n useDefaultToolSettingsProvider: boolean;\n\n /** The name of the active tool. This is typically the flyover text specified for the tool. */\n activeToolLabel: string;\n\n /** Returns the description of the active tool. */\n readonly activeToolDescription: string;\n\n /** Get ToolSettings Properties sync event. */\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onSyncToolSettingsProperties: SyncToolSettingsPropertiesEvent;\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n readonly onReloadToolSettingsProperties: UiEvent<void>;\n\n /** Gets the Id of the active tool. If a tool is not active, blank is returned.\n * @return Id of the active tool, or blank if one is not active.\n */\n readonly toolIdForToolSettings: string;\n\n /**\n * Sets the focus on the ToolSettings UI element.\n */\n focusIntoToolSettings(): boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Frontstage.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/Frontstage.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport type { FrontstageConfig } from \"./FrontstageConfig.js\";\n\n/** Configuration from which a frontstage is created.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport type Frontstage = FrontstageConfig;\n"]}
1
+ {"version":3,"file":"Frontstage.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/Frontstage.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport type { FrontstageConfig } from \"./FrontstageConfig.js\";\n\n/** Configuration from which a frontstage is created.\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport type Frontstage = FrontstageConfig;\n"]}
@@ -21,7 +21,7 @@ export interface FrontstageConfig extends CommonProps {
21
21
  * Increasing the value will make sure to reinitialize App layout instead of restoring to old layout.
22
22
  */
23
23
  readonly version: number;
24
- /** The defaultTool is is started when then frontstage loads and whenever any other tools exit.
24
+ /** The defaultTool is started when then frontstage loads and whenever any other tools exit.
25
25
  * Most of the time, this is the Element Selection Tool (SelectionTool.toolId).
26
26
  * Your app can specify its own tool or another core tool as default with this property.
27
27
  */
@@ -29,7 +29,10 @@ export interface FrontstageConfig extends CommonProps {
29
29
  /** The top-left corner that shows tools typically used to query and modify content. */
30
30
  readonly contentManipulation?: WidgetConfig;
31
31
  /** The settings of the active tool. */
32
- readonly toolSettings?: WidgetConfig;
32
+ readonly toolSettings?: WidgetConfig & {
33
+ /** Custom node for active tool, when tool has no settings. */
34
+ activeToolEmptyNode?: React.ReactNode;
35
+ };
33
36
  /** The top-right corner that shows view navigation tools. */
34
37
  readonly viewNavigation?: WidgetConfig;
35
38
  /** The status bar of the application. */
@@ -1 +1 @@
1
- {"version":3,"file":"FrontstageConfig.d.ts","sourceRoot":"","sources":["../../../src/appui-react/frontstage/FrontstageConfig.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D;;;GAGG;AAEH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,2GAA2G;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AAQ,WAAW;IACnD,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,qGAAqG;IACrG,QAAQ,CAAC,YAAY,EAAE,YAAY,GAAG,oBAAoB,CAAC;IAC3D,yIAAyI;IACzI,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAE9B,uFAAuF;IACvF,QAAQ,CAAC,mBAAmB,CAAC,EAAE,YAAY,CAAC;IAC5C,uCAAuC;IACvC,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,GAAG;QACrC,8DAA8D;QAC9D,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KACvC,CAAC;IACF,6DAA6D;IAC7D,QAAQ,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC;IACvC,yCAAyC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,YAAY,CAAC;IAElC,oCAAoC;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IACrC,qCAAqC;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC;IACtC,sCAAsC;IACtC,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IACvC,uCAAuC;IACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC;CACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FrontstageConfig.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/FrontstageConfig.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport type { CommonProps } from \"@itwin/core-react\";\nimport type {\n ContentGroup,\n ContentGroupProvider,\n} from \"../content/ContentGroup.js\";\nimport type { StagePanelConfig } from \"../stagepanels/StagePanelConfig.js\";\nimport type { WidgetConfig } from \"../widgets/WidgetConfig.js\";\nimport type { Frontstage } from \"./Frontstage.js\";\nimport type { UiItemsProvider } from \"../ui-items-provider/UiItemsProvider.js\";\nimport type { StageUsage } from \"./StageUsage.js\";\n\n/** Configuration from which a frontstage is created.\n * @public\n * @deprecated in 4.15.0. Use {@link Frontstage} instead.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface FrontstageConfig extends CommonProps {\n /** Id of the frontstage. To ensure uniqueness it is common practice to format id like `appName:stageId` */\n readonly id: string;\n /** Content group of the frontstage that describes the content views. Or a content group provider. */\n readonly contentGroup: ContentGroup | ContentGroupProvider;\n /** Usage type for this Frontstage. To allow generic {@link UiItemsProvider} to populate this stage set to {@link StageUsage.General}. */\n readonly usage?: string;\n /** Frontstage version. Used to force saved layout reinitialization after changes to frontstage.\n * @note This value should be increased when changes are made to the Frontstage.\n * Increasing the value will make sure to reinitialize App layout instead of restoring to old layout.\n */\n readonly version: number;\n /** The defaultTool is is started when then frontstage loads and whenever any other tools exit.\n * Most of the time, this is the Element Selection Tool (SelectionTool.toolId).\n * Your app can specify its own tool or another core tool as default with this property.\n */\n readonly defaultTool?: string;\n\n /** The top-left corner that shows tools typically used to query and modify content. */\n readonly contentManipulation?: WidgetConfig;\n /** The settings of the active tool. */\n readonly toolSettings?: WidgetConfig;\n /** The top-right corner that shows view navigation tools. */\n readonly viewNavigation?: WidgetConfig;\n /** The status bar of the application. */\n readonly statusBar?: WidgetConfig;\n\n /** Top panel of the application. */\n readonly topPanel?: StagePanelConfig;\n /** Left panel of the application. */\n readonly leftPanel?: StagePanelConfig;\n /** Right panel of the application. */\n readonly rightPanel?: StagePanelConfig;\n /** Bottom panel of the application. */\n readonly bottomPanel?: StagePanelConfig;\n}\n"]}
1
+ {"version":3,"file":"FrontstageConfig.js","sourceRoot":"","sources":["../../../src/appui-react/frontstage/FrontstageConfig.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\nimport type { CommonProps } from \"@itwin/core-react\";\nimport type {\n ContentGroup,\n ContentGroupProvider,\n} from \"../content/ContentGroup.js\";\nimport type { StagePanelConfig } from \"../stagepanels/StagePanelConfig.js\";\nimport type { WidgetConfig } from \"../widgets/WidgetConfig.js\";\nimport type { Frontstage } from \"./Frontstage.js\";\nimport type { UiItemsProvider } from \"../ui-items-provider/UiItemsProvider.js\";\nimport type { StageUsage } from \"./StageUsage.js\";\n\n/** Configuration from which a frontstage is created.\n * @public\n * @deprecated in 4.15.0. Use {@link Frontstage} instead.\n */\n// eslint-disable-next-line @typescript-eslint/no-deprecated\nexport interface FrontstageConfig extends CommonProps {\n /** Id of the frontstage. To ensure uniqueness it is common practice to format id like `appName:stageId` */\n readonly id: string;\n /** Content group of the frontstage that describes the content views. Or a content group provider. */\n readonly contentGroup: ContentGroup | ContentGroupProvider;\n /** Usage type for this Frontstage. To allow generic {@link UiItemsProvider} to populate this stage set to {@link StageUsage.General}. */\n readonly usage?: string;\n /** Frontstage version. Used to force saved layout reinitialization after changes to frontstage.\n * @note This value should be increased when changes are made to the Frontstage.\n * Increasing the value will make sure to reinitialize App layout instead of restoring to old layout.\n */\n readonly version: number;\n /** The defaultTool is started when then frontstage loads and whenever any other tools exit.\n * Most of the time, this is the Element Selection Tool (SelectionTool.toolId).\n * Your app can specify its own tool or another core tool as default with this property.\n */\n readonly defaultTool?: string;\n\n /** The top-left corner that shows tools typically used to query and modify content. */\n readonly contentManipulation?: WidgetConfig;\n /** The settings of the active tool. */\n readonly toolSettings?: WidgetConfig & {\n /** Custom node for active tool, when tool has no settings. */\n activeToolEmptyNode?: React.ReactNode;\n };\n /** The top-right corner that shows view navigation tools. */\n readonly viewNavigation?: WidgetConfig;\n /** The status bar of the application. */\n readonly statusBar?: WidgetConfig;\n\n /** Top panel of the application. */\n readonly topPanel?: StagePanelConfig;\n /** Left panel of the application. */\n readonly leftPanel?: StagePanelConfig;\n /** Right panel of the application. */\n readonly rightPanel?: StagePanelConfig;\n /** Bottom panel of the application. */\n readonly bottomPanel?: StagePanelConfig;\n}\n"]}
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import type { ScreenViewport } from "@itwin/core-frontend";
5
5
  import type { XAndY } from "@itwin/core-geometry";
6
+ import * as React from "react";
6
7
  import { TimeTracker } from "../configurableui/TimeTracker.js";
7
8
  import type { ContentControl } from "../content/ContentControl.js";
8
9
  import type { ContentGroup } from "../content/ContentGroup.js";
@@ -29,6 +30,7 @@ export declare class FrontstageDef {
29
30
  private _usage?;
30
31
  private _version;
31
32
  private _toolSettings?;
33
+ private _activeToolEmptyNode?;
32
34
  private _statusBar?;
33
35
  private _contentManipulation?;
34
36
  private _viewNavigation?;
@@ -53,6 +55,8 @@ export declare class FrontstageDef {
53
55
  /** @deprecated in 4.17.0. Returns instances of a deprecated {@link ContentControl} type. */
54
56
  get floatingContentControls(): ContentControl[] | undefined;
55
57
  get toolSettings(): WidgetDef | undefined;
58
+ /** @internal */
59
+ get activeToolEmptyNode(): React.ReactNode | undefined;
56
60
  get statusBar(): WidgetDef | undefined;
57
61
  get contentManipulation(): WidgetDef | undefined;
58
62
  get viewNavigation(): WidgetDef | undefined;
@@ -172,7 +176,7 @@ export declare class FrontstageDef {
172
176
  * @internal
173
177
  */
174
178
  get widgetDefs(): {
175
- [Symbol.iterator](): Iterator<WidgetDef, any, undefined>;
179
+ [Symbol.iterator](): Iterator<WidgetDef, any, any>;
176
180
  };
177
181
  /** @deprecated in 4.15.0. Use {@link FrontstageDef.id} to look up a frontstage. */
178
182
  get frontstageProvider(): FrontstageProvider | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"FrontstageDef.d.ts","sourceRoot":"","sources":["../../../src/appui-react/frontstage/FrontstageDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAO3D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAKlD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAgBtE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAI1E,OAAO,EAAkB,SAAS,EAAc,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMjE;;GAEG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,GAAG,CAAc;IACzB,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,qBAAqB,CA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