@itwin/appui-react 4.11.0 → 4.13.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.
- package/CHANGELOG.md +26 -1
- package/lib/cjs/appui-react/UiFramework.d.ts +4 -1
- package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/cjs/appui-react/UiFramework.js +13 -14
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/UiFramework.json +345 -0
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +1 -1
- package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js +3 -1
- package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +36 -12
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +37 -19
- package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js +2 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +3 -4
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowConfig.d.ts +8 -6
- package/lib/cjs/appui-react/childwindow/ChildWindowConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/ChildWindowConfig.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/{PopoutWidget.d.ts → ChildWindowWidget.d.ts} +4 -4
- package/lib/cjs/appui-react/childwindow/ChildWindowWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/childwindow/{PopoutWidget.js → ChildWindowWidget.js} +11 -5
- package/lib/cjs/appui-react/childwindow/ChildWindowWidget.js.map +1 -0
- package/lib/{esm/appui-react/childwindow/PopoutWidget.scss → cjs/appui-react/childwindow/ChildWindowWidget.scss} +0 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +3 -3
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +25 -33
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +1 -1
- package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +2 -12
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +5 -18
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/TimeTracker.js +1 -2
- package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -0
- package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentControl.js +1 -0
- package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.d.ts +2 -0
- package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +14 -14
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js +3 -4
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +2 -2
- package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -3
- package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +7 -8
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +1 -2
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +5 -5
- package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.js +5 -7
- package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js +10 -12
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -0
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.js +2 -0
- package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +3 -3
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +1 -0
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +5 -19
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +4 -24
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +1 -0
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.js +8 -7
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts +5 -2
- package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +6 -3
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +1 -2
- package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +3 -2
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js +2 -2
- package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js +1 -2
- package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.js +3 -1
- package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +3 -1
- package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +2 -0
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js +6 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +5 -0
- package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkContent.js +4 -0
- package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -0
- package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js +4 -0
- package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +17 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +8 -0
- package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +2 -0
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +1 -0
- package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +24 -22
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +29 -33
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +45 -50
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +8 -6
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -4
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +4 -5
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +1 -0
- package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveStageId.js +2 -1
- package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.js +2 -0
- package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +7 -11
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +7 -11
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +8 -13
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useTranslation.d.ts +7 -0
- package/lib/cjs/appui-react/hooks/useTranslation.d.ts.map +1 -0
- package/lib/cjs/appui-react/{useTranslation.js → hooks/useTranslation.js} +15 -6
- package/lib/cjs/appui-react/hooks/useTranslation.js.map +1 -0
- package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useUiVisibility.js +1 -0
- package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +1 -0
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +2 -1
- package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/cjs/appui-react/layout/StandardLayout.scss +1 -1
- package/lib/cjs/appui-react/layout/base/DragManager.js +1 -2
- package/lib/cjs/appui-react/layout/base/DragManager.js.map +1 -1
- package/lib/cjs/appui-react/layout/base/NineZone.js +1 -1
- package/lib/cjs/appui-react/layout/base/NineZone.js.map +1 -1
- package/lib/cjs/appui-react/layout/footer/_variables.scss +0 -2
- package/lib/cjs/appui-react/layout/outline/TabOutline.js +1 -1
- package/lib/cjs/appui-react/layout/outline/TabOutline.js.map +1 -1
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.js +1 -1
- package/lib/cjs/appui-react/layout/outline/WidgetOutline.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts +3 -2
- package/lib/cjs/appui-react/layout/state/NineZoneAction.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/state/NineZoneAction.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js +14 -15
- package/lib/cjs/appui-react/layout/state/NineZoneStateReducer.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/PanelState.d.ts +2 -5
- package/lib/cjs/appui-react/layout/state/PanelState.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/state/PanelState.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js +1 -2
- package/lib/cjs/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts +4 -3
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js +12 -10
- package/lib/cjs/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js +2 -3
- package/lib/cjs/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -1
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js +4 -4
- package/lib/cjs/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -1
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.js +1 -1
- package/lib/cjs/appui-react/layout/target/TitleBarTarget.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js +2 -2
- package/lib/cjs/appui-react/layout/tool-settings/Docked.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Docked.scss +3 -13
- package/lib/cjs/appui-react/layout/tool-settings/Handle.scss +2 -2
- package/lib/cjs/appui-react/layout/tool-settings/Setting.js +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Setting.js.map +1 -1
- package/lib/cjs/appui-react/layout/tool-settings/Setting.scss +1 -2
- package/lib/cjs/appui-react/layout/widget/Button.d.ts +3 -2
- package/lib/cjs/appui-react/layout/widget/Button.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Button.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ContentContainer.js +1 -1
- package/lib/cjs/appui-react/layout/widget/ContentContainer.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts +3 -3
- package/lib/cjs/appui-react/layout/widget/ContentManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ContentManager.js +7 -1
- package/lib/cjs/appui-react/layout/widget/ContentManager.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.js +2 -2
- package/lib/cjs/appui-react/layout/widget/ContentRenderer.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/FloatingTab.js +5 -6
- package/lib/cjs/appui-react/layout/widget/FloatingTab.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.js +2 -4
- package/lib/cjs/appui-react/layout/widget/FloatingWidget.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/PanelWidget.js +1 -1
- package/lib/cjs/appui-react/layout/widget/PanelWidget.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Tab.js +4 -4
- package/lib/cjs/appui-react/layout/widget/Tab.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/Widget.js +2 -2
- package/lib/cjs/appui-react/layout/widget/Widget.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js +1 -1
- package/lib/cjs/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js +5 -8
- package/lib/cjs/appui-react/layout/widget-panels/PanelSections.js.map +1 -1
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js +1 -2
- package/lib/cjs/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -1
- package/lib/cjs/appui-react/messages/InputField.js +2 -1
- package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts +12 -0
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +18 -10
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageRenderer.js +8 -9
- package/lib/cjs/appui-react/messages/MessageRenderer.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +2 -0
- package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +7 -9
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +2 -0
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +1 -0
- package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +2 -0
- package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -0
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +11 -3
- package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js +3 -1
- package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +2 -0
- package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +8 -13
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/CardPopup.js +2 -3
- package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ComponentPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ComponentPopup.js +1 -1
- package/lib/cjs/appui-react/popup/ComponentPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +8 -5
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts +5 -1
- package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.js +24 -24
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.js +1 -0
- package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/ToolbarPopup.js +2 -3
- package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts +7 -0
- package/lib/cjs/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/PreviewFeatures.js +8 -6
- package/lib/cjs/appui-react/preview/PreviewFeatures.js.map +1 -1
- package/lib/cjs/appui-react/preview/enable-maximized-widget/useMaximizedWidget.js +2 -2
- package/lib/cjs/appui-react/preview/enable-maximized-widget/useMaximizedWidget.js.map +1 -1
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +1 -1
- package/lib/cjs/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/Badge.d.ts.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/Badge.js +2 -2
- package/lib/cjs/appui-react/preview/new-toolbars/Badge.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/CustomItem.js +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/CustomItem.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/GroupItem.js +2 -2
- package/lib/cjs/appui-react/preview/new-toolbars/GroupItem.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/Item.js +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/Item.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/OverflowButton.js +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/OverflowButton.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/ToolGroup.js +2 -3
- package/lib/cjs/appui-react/preview/new-toolbars/ToolGroup.js.map +1 -1
- package/lib/cjs/appui-react/preview/new-toolbars/useOverflow.js.map +1 -1
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts +11 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js +40 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js.map +1 -0
- package/lib/{esm/appui-react/layout/footer/message-center/_variables.scss → cjs/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.scss} +3 -1
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidget.d.ts +7 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidget.js +25 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidget.js.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidgets.d.ts +9 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidgets.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidgets.js +26 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/PopoutWidgets.js.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.d.ts +13 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.js +45 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.js.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.scss +8 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/usePopoutsStore.d.ts +18 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/usePopoutsStore.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/usePopoutsStore.js +28 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/usePopoutsStore.js.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.d.ts +4 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.d.ts.map +1 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.js +18 -0
- package/lib/cjs/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.js.map +1 -0
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js +1 -2
- package/lib/cjs/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -1
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +2 -2
- package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +9 -4
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +1 -1
- package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +2 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +23 -3
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +10 -7
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +38 -27
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +1 -2
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js +1 -1
- package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +1 -3
- package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +21 -13
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.scss +18 -0
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +1 -0
- package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js +4 -2
- package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js +1 -1
- package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.js +2 -2
- package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/SelectionScope.scss +2 -2
- package/lib/cjs/appui-react/statusfields/SnapMode.js +1 -1
- package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.d.ts +11 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.d.ts.map +1 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.js +91 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.js.map +1 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterField.scss +25 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.d.ts +26 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.d.ts.map +1 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.js +28 -0
- package/lib/cjs/appui-react/statusfields/message-center/MessageCenterMessage.js.map +1 -0
- package/lib/{esm/appui-react/layout/footer/message-center/Message.scss → cjs/appui-react/statusfields/message-center/MessageCenterMessage.scss} +8 -17
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +12 -6
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts +3 -2
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.js +4 -2
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +1 -0
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/syncui/UiSyncEvent.d.ts +2 -0
- package/lib/cjs/appui-react/syncui/UiSyncEvent.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js +2 -0
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js.map +1 -1
- package/lib/cjs/appui-react/theme/ThemeManager.js +2 -2
- package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js +1 -2
- package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +2 -1
- package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +7 -5
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +3 -4
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +10 -17
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +5 -3
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +4 -4
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +4 -5
- package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js +2 -1
- package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +20 -22
- package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +9 -10
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -4
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +1 -0
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +11 -15
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +14 -2
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +7 -9
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -2
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +45 -158
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.js +1 -0
- package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js +1 -0
- package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
- package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
- package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Content.js +12 -11
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/DockedBar.d.ts +13 -0
- package/lib/cjs/appui-react/widget-panels/DockedBar.d.ts.map +1 -0
- package/lib/cjs/appui-react/widget-panels/DockedBar.js +18 -0
- package/lib/cjs/appui-react/widget-panels/DockedBar.js.map +1 -0
- package/lib/cjs/appui-react/widget-panels/{StatusBar.scss → DockedBar.scss} +10 -4
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +17 -19
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +2 -1
- package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +0 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +2 -5
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.js +2 -3
- package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts +0 -12
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +29 -54
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.scss +4 -27
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +2 -3
- package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js +2 -1
- package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +8 -5
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +1 -1
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js +1 -1
- package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +2 -0
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +10 -11
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.js +2 -3
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts +1 -6
- package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetManager.js +2 -8
- package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/cjs/appui-react/widgets/useWidget.js +1 -1
- package/lib/cjs/appui-react/widgets/useWidget.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +1 -1
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +1 -1
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.d.ts +4 -1
- package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +13 -14
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.json +345 -0
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +1 -1
- package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/Calculator.js +3 -1
- package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
- package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +36 -12
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +37 -19
- package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js +2 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +4 -5
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowConfig.d.ts +8 -6
- package/lib/esm/appui-react/childwindow/ChildWindowConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/ChildWindowConfig.js.map +1 -1
- package/lib/esm/appui-react/childwindow/{PopoutWidget.d.ts → ChildWindowWidget.d.ts} +4 -4
- package/lib/esm/appui-react/childwindow/ChildWindowWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/childwindow/{PopoutWidget.js → ChildWindowWidget.js} +9 -3
- package/lib/esm/appui-react/childwindow/ChildWindowWidget.js.map +1 -0
- package/lib/{cjs/appui-react/childwindow/PopoutWidget.scss → esm/appui-react/childwindow/ChildWindowWidget.scss} +0 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +3 -3
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +25 -33
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +1 -1
- package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +2 -12
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +4 -15
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/TimeTracker.js +1 -2
- package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.d.ts +2 -0
- package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentControl.js +1 -0
- package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.d.ts +2 -0
- package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +14 -14
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.js +3 -4
- package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +2 -2
- package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -3
- package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +7 -8
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js +1 -2
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +5 -5
- package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.js +6 -8
- package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.js +10 -12
- package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -0
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.js +2 -0
- package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +3 -3
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +1 -0
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +5 -19
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +5 -23
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +1 -0
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.js +8 -7
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts +5 -2
- package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +6 -3
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +2 -3
- package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +3 -2
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.js +2 -2
- package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js +2 -3
- package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.js +3 -1
- package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +3 -1
- package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +2 -0
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js +6 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts +5 -0
- package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkContent.js +4 -0
- package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -0
- package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkDialogs.js +4 -0
- package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +17 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js +8 -0
- package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +2 -0
- package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js +1 -0
- package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +24 -22
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +29 -33
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +46 -51
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +8 -6
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +4 -4
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +4 -5
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +1 -0
- package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveStageId.js +2 -1
- package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.js +2 -0
- package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +7 -11
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +7 -11
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js +8 -13
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useTranslation.d.ts +7 -0
- package/lib/esm/appui-react/hooks/useTranslation.d.ts.map +1 -0
- package/lib/esm/appui-react/hooks/useTranslation.js +25 -0
- package/lib/esm/appui-react/hooks/useTranslation.js.map +1 -0
- package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useUiVisibility.js +1 -0
- package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +1 -0
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +1 -0
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +2 -1
- package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
- package/lib/esm/appui-react/layout/StandardLayout.scss +1 -1
- package/lib/esm/appui-react/layout/base/DragManager.js +1 -2
- package/lib/esm/appui-react/layout/base/DragManager.js.map +1 -1
- package/lib/esm/appui-react/layout/base/NineZone.js +1 -1
- package/lib/esm/appui-react/layout/base/NineZone.js.map +1 -1
- package/lib/esm/appui-react/layout/footer/_variables.scss +0 -2
- package/lib/esm/appui-react/layout/outline/TabOutline.js +1 -1
- package/lib/esm/appui-react/layout/outline/TabOutline.js.map +1 -1
- package/lib/esm/appui-react/layout/outline/WidgetOutline.js +1 -1
- package/lib/esm/appui-react/layout/outline/WidgetOutline.js.map +1 -1
- package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts +3 -2
- package/lib/esm/appui-react/layout/state/NineZoneAction.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/state/NineZoneAction.js.map +1 -1
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js +15 -16
- package/lib/esm/appui-react/layout/state/NineZoneStateReducer.js.map +1 -1
- package/lib/esm/appui-react/layout/state/PanelState.d.ts +2 -5
- package/lib/esm/appui-react/layout/state/PanelState.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/state/PanelState.js.map +1 -1
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js +1 -2
- package/lib/esm/appui-react/layout/state/internal/NineZoneStateHelpers.js.map +1 -1
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts +4 -3
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js +10 -8
- package/lib/esm/appui-react/layout/state/internal/PanelStateHelpers.js.map +1 -1
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js +2 -3
- package/lib/esm/appui-react/layout/state/internal/TabStateHelpers.js.map +1 -1
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js +4 -4
- package/lib/esm/appui-react/layout/state/internal/WidgetStateHelpers.js.map +1 -1
- package/lib/esm/appui-react/layout/target/TitleBarTarget.js +1 -1
- package/lib/esm/appui-react/layout/target/TitleBarTarget.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Docked.js +2 -2
- package/lib/esm/appui-react/layout/tool-settings/Docked.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Docked.scss +3 -13
- package/lib/esm/appui-react/layout/tool-settings/Handle.scss +2 -2
- package/lib/esm/appui-react/layout/tool-settings/Setting.js +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Setting.js.map +1 -1
- package/lib/esm/appui-react/layout/tool-settings/Setting.scss +1 -2
- package/lib/esm/appui-react/layout/widget/Button.d.ts +3 -2
- package/lib/esm/appui-react/layout/widget/Button.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/Button.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/ContentContainer.js +1 -1
- package/lib/esm/appui-react/layout/widget/ContentContainer.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/ContentManager.d.ts +3 -3
- package/lib/esm/appui-react/layout/widget/ContentManager.d.ts.map +1 -1
- package/lib/esm/appui-react/layout/widget/ContentManager.js +7 -1
- package/lib/esm/appui-react/layout/widget/ContentManager.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/ContentRenderer.js +2 -2
- package/lib/esm/appui-react/layout/widget/ContentRenderer.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/FloatingTab.js +5 -6
- package/lib/esm/appui-react/layout/widget/FloatingTab.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/FloatingWidget.js +2 -4
- package/lib/esm/appui-react/layout/widget/FloatingWidget.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/PanelWidget.js +1 -1
- package/lib/esm/appui-react/layout/widget/PanelWidget.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/Tab.js +4 -4
- package/lib/esm/appui-react/layout/widget/Tab.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/Widget.js +2 -2
- package/lib/esm/appui-react/layout/widget/Widget.js.map +1 -1
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js +1 -1
- package/lib/esm/appui-react/layout/widget/useIsToolSettingsTab.js.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.js +5 -8
- package/lib/esm/appui-react/layout/widget-panels/PanelSections.js.map +1 -1
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js +1 -2
- package/lib/esm/appui-react/layout/widget-panels/useAnimatePanel.js.map +1 -1
- package/lib/esm/appui-react/messages/InputField.js +2 -1
- package/lib/esm/appui-react/messages/InputField.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts +12 -0
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +18 -10
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageRenderer.js +8 -9
- package/lib/esm/appui-react/messages/MessageRenderer.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +2 -0
- package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +7 -9
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +2 -0
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +1 -0
- package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +2 -0
- package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +2 -0
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +11 -3
- package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ListPicker.js +3 -1
- package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts +2 -0
- package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +9 -14
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/CardPopup.js +2 -3
- package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ComponentPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ComponentPopup.js +1 -1
- package/lib/esm/appui-react/popup/ComponentPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js +8 -5
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts +5 -1
- package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.js +24 -24
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.js +1 -0
- package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/ToolbarPopup.js +2 -3
- package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
- package/lib/esm/appui-react/preview/PreviewFeatures.d.ts +7 -0
- package/lib/esm/appui-react/preview/PreviewFeatures.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/PreviewFeatures.js +8 -6
- package/lib/esm/appui-react/preview/PreviewFeatures.js.map +1 -1
- package/lib/esm/appui-react/preview/enable-maximized-widget/useMaximizedWidget.js +2 -2
- package/lib/esm/appui-react/preview/enable-maximized-widget/useMaximizedWidget.js.map +1 -1
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js +1 -1
- package/lib/esm/appui-react/preview/horizontal-panel-alignment/PreviewHorizontalPanelAlign.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/Badge.d.ts.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/Badge.js +3 -3
- package/lib/esm/appui-react/preview/new-toolbars/Badge.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/CustomItem.js +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/CustomItem.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/GroupItem.js +2 -2
- package/lib/esm/appui-react/preview/new-toolbars/GroupItem.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/Item.js +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/Item.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/OverflowButton.js +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/OverflowButton.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/ToolGroup.js +2 -3
- package/lib/esm/appui-react/preview/new-toolbars/ToolGroup.js.map +1 -1
- package/lib/esm/appui-react/preview/new-toolbars/useOverflow.js.map +1 -1
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts +11 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js +36 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.js.map +1 -0
- package/lib/{cjs/appui-react/layout/footer/message-center/_variables.scss → esm/appui-react/preview/reparent-popout-widgets/PopoutThemeProvider.scss} +3 -1
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidget.d.ts +7 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidget.js +21 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidget.js.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidgets.d.ts +9 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidgets.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidgets.js +22 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/PopoutWidgets.js.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.d.ts +13 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.js +41 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.js.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/ReparentedPopoutWidget.scss +8 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/usePopoutsStore.d.ts +18 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/usePopoutsStore.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/usePopoutsStore.js +25 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/usePopoutsStore.js.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.d.ts +4 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.d.ts.map +1 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.js +14 -0
- package/lib/esm/appui-react/preview/reparent-popout-widgets/useReparentPopoutWidget.js.map +1 -0
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js +1 -2
- package/lib/esm/appui-react/preview/widget-action-dropdown/MoreButton.js.map +1 -1
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js +2 -2
- package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +9 -4
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +1 -1
- package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +2 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +23 -3
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +10 -7
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +37 -25
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +1 -2
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js +1 -1
- package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts +1 -3
- package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +21 -13
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.scss +18 -0
- package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js +1 -0
- package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/ActivityCenter.js +4 -2
- package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js +1 -1
- package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.js +3 -3
- package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
- package/lib/esm/appui-react/statusfields/SelectionScope.scss +2 -2
- package/lib/esm/appui-react/statusfields/SnapMode.js +1 -1
- package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.d.ts +11 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.d.ts.map +1 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.js +87 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.js.map +1 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterField.scss +25 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.d.ts +26 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.d.ts.map +1 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.js +24 -0
- package/lib/esm/appui-react/statusfields/message-center/MessageCenterMessage.js.map +1 -0
- package/lib/{cjs/appui-react/layout/footer/message-center/Message.scss → esm/appui-react/statusfields/message-center/MessageCenterMessage.scss} +8 -17
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +13 -7
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts +3 -2
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.js +4 -2
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +1 -0
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/syncui/UiSyncEvent.d.ts +2 -0
- package/lib/esm/appui-react/syncui/UiSyncEvent.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/UiSyncEvent.js +2 -0
- package/lib/esm/appui-react/syncui/UiSyncEvent.js.map +1 -1
- package/lib/esm/appui-react/theme/ThemeManager.js +2 -2
- package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
- package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js +1 -2
- package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js +3 -2
- package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +7 -5
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +3 -4
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +10 -17
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +5 -3
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +4 -4
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +4 -5
- package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.js +2 -1
- package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +20 -22
- package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +9 -10
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +2 -3
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +1 -0
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +11 -15
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +14 -2
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +7 -9
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +1 -2
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +45 -158
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.js +1 -0
- package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
- package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
- package/lib/esm/appui-react/uistate/useUiStateStorage.js +1 -0
- package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
- package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Content.js +12 -11
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/DockedBar.d.ts +13 -0
- package/lib/esm/appui-react/widget-panels/DockedBar.d.ts.map +1 -0
- package/lib/esm/appui-react/widget-panels/DockedBar.js +14 -0
- package/lib/esm/appui-react/widget-panels/DockedBar.js.map +1 -0
- package/lib/esm/appui-react/widget-panels/{StatusBar.scss → DockedBar.scss} +10 -4
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +17 -19
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +2 -1
- package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +0 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js +2 -5
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.js +3 -4
- package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts +0 -12
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +28 -52
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.scss +4 -27
- package/lib/esm/appui-react/widget-panels/Toolbars.js +2 -3
- package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js +2 -1
- package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +8 -5
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.d.ts +1 -1
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +1 -1
- package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +2 -0
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +10 -11
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.js +2 -3
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts +1 -6
- package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetManager.js +1 -6
- package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
- package/lib/esm/appui-react/widgets/useWidget.js +1 -1
- package/lib/esm/appui-react/widgets/useWidget.js.map +1 -1
- package/lib/esm/appui-react.d.ts +1 -1
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +1 -1
- package/lib/esm/appui-react.js.map +1 -1
- package/lib/public/locales/en/UiFramework.json +1 -1
- package/package.json +13 -39
- package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +0 -1
- package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/Footer.d.ts +0 -33
- package/lib/cjs/appui-react/layout/footer/Footer.d.ts.map +0 -1
- package/lib/cjs/appui-react/layout/footer/Footer.js +0 -30
- package/lib/cjs/appui-react/layout/footer/Footer.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/Footer.scss +0 -61
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts +0 -29
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.d.ts.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js +0 -32
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Dialog.scss +0 -64
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts +0 -29
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.d.ts.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js +0 -33
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Indicator.scss +0 -106
- package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts +0 -22
- package/lib/cjs/appui-react/layout/footer/message-center/Message.d.ts.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Message.js +0 -26
- package/lib/cjs/appui-react/layout/footer/message-center/Message.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts +0 -24
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.d.ts.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.js +0 -26
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.js.map +0 -1
- package/lib/cjs/appui-react/layout/footer/message-center/Tab.scss +0 -60
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +0 -46
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +0 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +0 -132
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +0 -1
- package/lib/cjs/appui-react/useTranslation.d.ts +0 -10
- package/lib/cjs/appui-react/useTranslation.d.ts.map +0 -1
- package/lib/cjs/appui-react/useTranslation.js.map +0 -1
- package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +0 -1
- package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/Footer.d.ts +0 -33
- package/lib/esm/appui-react/layout/footer/Footer.d.ts.map +0 -1
- package/lib/esm/appui-react/layout/footer/Footer.js +0 -26
- package/lib/esm/appui-react/layout/footer/Footer.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/Footer.scss +0 -61
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts +0 -29
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.d.ts.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.js +0 -28
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Dialog.scss +0 -64
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts +0 -29
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.d.ts.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.js +0 -29
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Indicator.scss +0 -106
- package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts +0 -22
- package/lib/esm/appui-react/layout/footer/message-center/Message.d.ts.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Message.js +0 -22
- package/lib/esm/appui-react/layout/footer/message-center/Message.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts +0 -24
- package/lib/esm/appui-react/layout/footer/message-center/Tab.d.ts.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Tab.js +0 -22
- package/lib/esm/appui-react/layout/footer/message-center/Tab.js.map +0 -1
- package/lib/esm/appui-react/layout/footer/message-center/Tab.scss +0 -60
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +0 -46
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +0 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +0 -128
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +0 -1
- package/lib/esm/appui-react/useTranslation.d.ts +0 -10
- package/lib/esm/appui-react/useTranslation.d.ts.map +0 -1
- package/lib/esm/appui-react/useTranslation.js +0 -16
- package/lib/esm/appui-react/useTranslation.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
# Change Log - @itwin/appui-react
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 07 May 2024 08:44:06 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.13.0
|
|
6
|
+
Tue, 07 May 2024 08:44:06 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- Refactor of MessageCenterField
|
|
11
|
+
- docs: remove incorrect frontstage links
|
|
12
|
+
- Deprecated all UI event classes.
|
|
13
|
+
- Used iTwinUI labels in StatusBar and ToolSettings.
|
|
14
|
+
- Fix `FrontstageDef` to correctly update widgets if a new provider is registered while a frontstage is activating.
|
|
15
|
+
- Deprecate UiFramework.isMobile in favor of ProcessDetector.
|
|
16
|
+
- Fixed popout widgets getting bigger each time they are popped out.
|
|
17
|
+
- Fix `FrameworkUiAdmin.showCard()` runtime error.
|
|
18
|
+
- Add `reparentPopoutWidgets` preview feature.
|
|
19
|
+
- Bump `FloatingViewportContentWrapper` to `@public`.
|
|
20
|
+
|
|
21
|
+
## 4.12.0
|
|
22
|
+
Fri, 05 Apr 2024 09:55:35 GMT
|
|
23
|
+
|
|
24
|
+
### Updates
|
|
25
|
+
|
|
26
|
+
- Fix the standard layout to prevent tool settings and status bar from overlaying the content area.
|
|
27
|
+
- Added ability to set stage panel size as percentage value.
|
|
28
|
+
- Replace `process.env.NODE_ENV === "development"` check in preview features with `Logger.logWarning()`.
|
|
4
29
|
|
|
5
30
|
## 4.11.0
|
|
6
31
|
Thu, 21 Mar 2024 16:38:04 GMT
|
|
@@ -49,12 +49,14 @@ export interface UserSettingsProvider {
|
|
|
49
49
|
}
|
|
50
50
|
/** UiVisibility Event Args interface.
|
|
51
51
|
* @public
|
|
52
|
+
* @deprecated in 4.13.x. Event args are inferred from a listener. If explicit type is needed use a type helper.
|
|
52
53
|
*/
|
|
53
54
|
export interface UiVisibilityEventArgs {
|
|
54
55
|
visible: boolean;
|
|
55
56
|
}
|
|
56
57
|
/** UiVisibility Event class.
|
|
57
58
|
* @public
|
|
59
|
+
* @deprecated in 4.13.x. This class should not be used by applications to instantiate objects.
|
|
58
60
|
*/
|
|
59
61
|
export declare class UiVisibilityChangedEvent extends UiEvent<UiVisibilityEventArgs> {
|
|
60
62
|
}
|
|
@@ -265,6 +267,7 @@ export declare class UiFramework {
|
|
|
265
267
|
static getToolbarOpacity(): number;
|
|
266
268
|
static setWidgetOpacity(opacity: number): void;
|
|
267
269
|
static getWidgetOpacity(): number;
|
|
270
|
+
/** @deprecated in 4.13.x. Use {@link @itwin/core-bentley#ProcessDetector.isMobileBrowser} instead. */
|
|
268
271
|
static isMobile(): boolean;
|
|
269
272
|
static get showWidgetIcon(): boolean;
|
|
270
273
|
static setShowWidgetIcon(value: boolean): void;
|
|
@@ -298,7 +301,7 @@ export declare class UiFramework {
|
|
|
298
301
|
* */
|
|
299
302
|
static get isContextMenuOpen(): boolean;
|
|
300
303
|
/** Show a Card containing content, a title and a toolbar at a particular location.
|
|
301
|
-
* @param content The React component
|
|
304
|
+
* @param content The React component of the content to display
|
|
302
305
|
* @param title Title to display at the top of the card.
|
|
303
306
|
* @param toolbarProps Properties of the Toolbar to display.
|
|
304
307
|
* @param location Location of the Card, relative to the origin of anchorElement or the window.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiFramework.d.ts","sourceRoot":"","sources":["../../../src/appui-react/UiFramework.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAa,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAqB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAEjG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAcpD,OAAO,EAAE,aAAa,EAAE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G;WACW,gBAAgB,CAC5B,YAAY,EAAE,UAAU,EAAE,EAC1B,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO;IAOV,gCAAgC;WAClB,gBAAgB,IAAI,OAAO;IAIzC,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAIlC"}
|
|
@@ -42,6 +42,7 @@ const react_1 = require("react");
|
|
|
42
42
|
const Placement_1 = require("./utils/Placement");
|
|
43
43
|
/** UiVisibility Event class.
|
|
44
44
|
* @public
|
|
45
|
+
* @deprecated in 4.13.x. This class should not be used by applications to instantiate objects.
|
|
45
46
|
*/
|
|
46
47
|
// eslint-disable-next-line deprecation/deprecation
|
|
47
48
|
class UiVisibilityChangedEvent extends appui_abstract_1.UiEvent {
|
|
@@ -143,7 +144,6 @@ class UiFramework {
|
|
|
143
144
|
* @param frameworkStateKey The name of the key used by the app when adding the UiFramework state into the Redux store. If not defined "frameworkState" is assumed. This value is ignored if [[StateManager]] is being used. The StateManager use "frameworkState".
|
|
144
145
|
*/
|
|
145
146
|
static async initialize(store, frameworkStateKey) {
|
|
146
|
-
var _a;
|
|
147
147
|
if (UiFramework._initialized) {
|
|
148
148
|
core_bentley_1.Logger.logInfo(UiFramework.loggerCategory(UiFramework), `UiFramework.initialize already called`);
|
|
149
149
|
return;
|
|
@@ -157,7 +157,7 @@ class UiFramework {
|
|
|
157
157
|
if (frameworkStateKey && store)
|
|
158
158
|
UiFramework._frameworkStateKeyInStore = frameworkStateKey;
|
|
159
159
|
// set up namespace and register all tools from package
|
|
160
|
-
const frameworkNamespace =
|
|
160
|
+
const frameworkNamespace = core_frontend_1.IModelApp.localization?.registerNamespace(UiFramework.localizationNamespace);
|
|
161
161
|
[
|
|
162
162
|
restoreLayoutTools,
|
|
163
163
|
keyinPaletteTools,
|
|
@@ -183,13 +183,12 @@ class UiFramework {
|
|
|
183
183
|
}
|
|
184
184
|
/** Un-registers the UiFramework internationalization service namespace */
|
|
185
185
|
static terminate() {
|
|
186
|
-
var _a;
|
|
187
186
|
UiFramework._store = undefined;
|
|
188
187
|
UiFramework._frameworkStateKeyInStore = "frameworkState";
|
|
189
188
|
if (StateManager_1.StateManager.isInitialized(true))
|
|
190
189
|
StateManager_1.StateManager.clearStore();
|
|
191
190
|
// istanbul ignore next
|
|
192
|
-
|
|
191
|
+
core_frontend_1.IModelApp.localization?.unregisterNamespace(UiFramework.localizationNamespace);
|
|
193
192
|
UiFramework._backstageManager = undefined;
|
|
194
193
|
UiFramework._widgetManager = undefined;
|
|
195
194
|
UiFramework._hideIsolateEmphasizeActionHandler = undefined;
|
|
@@ -362,9 +361,9 @@ class UiFramework {
|
|
|
362
361
|
}
|
|
363
362
|
/** @public */
|
|
364
363
|
static getCursorMenuData() {
|
|
365
|
-
var _a;
|
|
366
364
|
return UiFramework.frameworkState
|
|
367
|
-
?
|
|
365
|
+
? UiFramework.frameworkState.sessionState.cursorMenuPayload ??
|
|
366
|
+
UiFramework.frameworkState.sessionState.cursorMenuData
|
|
368
367
|
: /* istanbul ignore next */ undefined;
|
|
369
368
|
}
|
|
370
369
|
static getActiveIModelId() {
|
|
@@ -376,11 +375,10 @@ class UiFramework {
|
|
|
376
375
|
UiFramework.dispatchActionToStore(SessionState_1.SessionStateActionId.SetActiveIModelId, iModelId);
|
|
377
376
|
}
|
|
378
377
|
static setIModelConnection(iModelConnection, immediateSync = false) {
|
|
379
|
-
var _a;
|
|
380
378
|
const oldConnection = UiFramework.getIModelConnection();
|
|
381
379
|
if (oldConnection === iModelConnection)
|
|
382
380
|
return;
|
|
383
|
-
InternalFrontstageManager_1.InternalFrontstageManager.clearFrontstageDefsForIModelId(oldConnection
|
|
381
|
+
InternalFrontstageManager_1.InternalFrontstageManager.clearFrontstageDefsForIModelId(oldConnection?.iModelId);
|
|
384
382
|
oldConnection && SyncUiEventDispatcher_1.SyncUiEventDispatcher.clearConnectionEvents(oldConnection);
|
|
385
383
|
iModelConnection &&
|
|
386
384
|
SyncUiEventDispatcher_1.SyncUiEventDispatcher.initializeConnectionEvents(iModelConnection);
|
|
@@ -389,7 +387,7 @@ class UiFramework {
|
|
|
389
387
|
? iModelConnection.selectionSet.elements.size
|
|
390
388
|
: 0;
|
|
391
389
|
UiFramework.dispatchActionToStore(SessionState_1.SessionStateActionId.SetNumItemsSelected, itemsSelected);
|
|
392
|
-
UiFramework.setActiveIModelId(
|
|
390
|
+
UiFramework.setActiveIModelId(iModelConnection?.iModelId ?? "");
|
|
393
391
|
}
|
|
394
392
|
static getIModelConnection() {
|
|
395
393
|
return UiFramework.frameworkState
|
|
@@ -513,6 +511,7 @@ class UiFramework {
|
|
|
513
511
|
? UiFramework.frameworkState.configurableUiState.widgetOpacity
|
|
514
512
|
: /* istanbul ignore next */ ThemeManager_1.WIDGET_OPACITY_DEFAULT;
|
|
515
513
|
}
|
|
514
|
+
/** @deprecated in 4.13.x. Use {@link @itwin/core-bentley#ProcessDetector.isMobileBrowser} instead. */
|
|
516
515
|
// eslint-disable-next-line @itwin/prefer-get
|
|
517
516
|
static isMobile() {
|
|
518
517
|
return core_bentley_1.ProcessDetector.isMobileBrowser;
|
|
@@ -600,7 +599,7 @@ class UiFramework {
|
|
|
600
599
|
return contextMenu !== null && contextMenu !== undefined;
|
|
601
600
|
}
|
|
602
601
|
/** Show a Card containing content, a title and a toolbar at a particular location.
|
|
603
|
-
* @param content The React component
|
|
602
|
+
* @param content The React component of the content to display
|
|
604
603
|
* @param title Title to display at the top of the card.
|
|
605
604
|
* @param toolbarProps Properties of the Toolbar to display.
|
|
606
605
|
* @param location Location of the Card, relative to the origin of anchorElement or the window.
|
|
@@ -614,7 +613,7 @@ class UiFramework {
|
|
|
614
613
|
*/
|
|
615
614
|
static showCard(content, title, toolbarProps, location, offset, onItemExecuted, onCancel, placement = "top-end", anchorElement) {
|
|
616
615
|
const anchor = this.resolveHtmlElement(anchorElement);
|
|
617
|
-
return PopupManager_1.PopupManager.displayCard(
|
|
616
|
+
return PopupManager_1.PopupManager.displayCard(content, {
|
|
618
617
|
title,
|
|
619
618
|
toolbarProps,
|
|
620
619
|
location,
|
|
@@ -719,7 +718,6 @@ class UiFramework {
|
|
|
719
718
|
* @param options - Optional {@link: ShowComponentParams}
|
|
720
719
|
*/
|
|
721
720
|
static showComponent(...params) {
|
|
722
|
-
var _a;
|
|
723
721
|
const options = params[1] || {};
|
|
724
722
|
const component = params[0];
|
|
725
723
|
const { anchorRef, id } = options;
|
|
@@ -737,7 +735,7 @@ class UiFramework {
|
|
|
737
735
|
offset,
|
|
738
736
|
onCancel,
|
|
739
737
|
placement,
|
|
740
|
-
anchor:
|
|
738
|
+
anchor: anchorRef?.current ?? undefined,
|
|
741
739
|
id,
|
|
742
740
|
});
|
|
743
741
|
}
|
|
@@ -847,7 +845,7 @@ class UiFramework {
|
|
|
847
845
|
return PopupManager_1.PopupManager.hideKeyinPalette();
|
|
848
846
|
}
|
|
849
847
|
static resolveHtmlElement(htmlElement) {
|
|
850
|
-
const el = htmlElement
|
|
848
|
+
const el = htmlElement ?? UiFramework.controls.getWrapperElement();
|
|
851
849
|
return el;
|
|
852
850
|
}
|
|
853
851
|
}
|
|
@@ -863,6 +861,7 @@ UiFramework.CONTEXT_MENU_OFFSET = -8;
|
|
|
863
861
|
/** Get Show Ui event.
|
|
864
862
|
* @public
|
|
865
863
|
*/
|
|
864
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
866
865
|
UiFramework.onUiVisibilityChanged = new UiVisibilityChangedEvent();
|
|
867
866
|
exports.UiFramework = UiFramework;
|
|
868
867
|
//# sourceMappingURL=UiFramework.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiFramework.js","sourceRoot":"","sources":["../../../src/appui-react/UiFramework.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAKH,sDAA8D;AAG9D,wDAA2D;AAQ3D,0DAAkE;AAElE,kDAAuE;AACvE,kDAAuD;AACvD,4EAAoE;AACpE,mEAAgE;AAChE,yFAAsF;AACtF,kGAA+F;AAC/F,kDAAg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,GAAG,6BAA6B,CAAC;AAC3C,qCAAyB,GAAW,gBAAgB,CAAC,CAAC,eAAe;AAIpF,oDAAoD;AACrC,2BAAe,GAAmB,IAAI,8BAAiB,EAAE,CAAC;AAE1D,uCAA2B,GAGtC,IAAI,GAAG,EAAgC,CAAC;AAC7B,+BAAmB,GAAG,IAAI,uDAA0B,EAAE,CAAC;AACxD,+BAAmB,GAAG,KAAK,CAAC;AAClB,+BAAmB,GAAG,CAAC,CAAC,CAAC;AAcjD;;GAEG;AACoB,iCAAqB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AAzHnE,kCAAW","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 Utilities\n */\n\n// cSpell:ignore configurableui clientservices\n\nimport type { Store } from \"redux\";\nimport { Logger, ProcessDetector } from \"@itwin/core-bentley\";\nimport type { TranslationOptions } from \"@itwin/core-common\";\nimport type { IModelConnection, ViewState } from \"@itwin/core-frontend\";\nimport { IModelApp, SnapMode } from \"@itwin/core-frontend\";\nimport type {\n DialogLayoutDataProvider,\n DialogProps,\n Primitives,\n PropertyDescription,\n PropertyRecord,\n} from \"@itwin/appui-abstract\";\nimport { UiAdmin, UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { UiStateStorage } from \"@itwin/core-react\";\nimport { LocalStateStorage, SettingsManager } from \"@itwin/core-react\";\nimport { getObjectClassName } from \"@itwin/core-react\";\nimport { UiIModelComponents } from \"@itwin/imodel-components-react\";\nimport { BackstageManager } from \"./backstage/BackstageManager\";\nimport { InternalChildWindowManager } from \"./childwindow/InternalChildWindowManager\";\nimport { InternalConfigurableUiManager } from \"./configurableui/InternalConfigurableUiManager\";\nimport { ConfigurableUiActionId } from \"./configurableui/state\";\nimport type { FrameworkState } from \"./redux/FrameworkState\";\nimport type {\n CursorMenuData,\n CursorMenuPayload,\n PresentationSelectionScope,\n} from \"./redux/SessionState\";\nimport { SessionStateActionId } from \"./redux/SessionState\";\nimport { StateManager } from \"./redux/StateManager\";\nimport type { HideIsolateEmphasizeActionHandler } from \"./selection/HideIsolateEmphasizeManager\";\nimport { HideIsolateEmphasizeManager } from \"./selection/HideIsolateEmphasizeManager\";\nimport type { ThemeId } from \"./theme/ThemeManager\";\nimport {\n SYSTEM_PREFERRED_COLOR_THEME,\n TOOLBAR_OPACITY_DEFAULT,\n WIDGET_OPACITY_DEFAULT,\n} from \"./theme/ThemeManager\";\nimport * as keyinPaletteTools from \"./tools/KeyinPaletteTools\";\nimport * as openSettingTools from \"./tools/OpenSettingsTool\";\nimport * as restoreLayoutTools from \"./tools/RestoreLayoutTool\";\nimport * as toolSettingTools from \"./tools/ToolSettingsTools\";\nimport {\n InternalUiShowHideManager,\n UiShowHideSettingsProvider,\n} from \"./utils/InternalUiShowHideManager\";\nimport { WidgetManager } from \"./widgets/WidgetManager\";\nimport { InternalFrontstageManager } from \"./frontstage/InternalFrontstageManager\";\nimport { InternalContentViewManager } from \"./content/InternalContentViewManager\";\nimport { InternalModalDialogManager } from \"./dialog/InternalModalDialogManager\";\nimport { InternalModelessDialogManager } from \"./dialog/InternalModelessDialogManager\";\nimport { InternalKeyboardShortcutManager } from \"./keyboardshortcut/InternalKeyboardShortcut\";\nimport { InternalToolSettingsManager } from \"./toolsettings/InternalToolSettingsManager\";\nimport type { FrameworkBackstage } from \"./framework/FrameworkBackstage\";\nimport type { FrameworkChildWindows } from \"./framework/FrameworkChildWindows\";\nimport type { FrameworkControls } from \"./framework/FrameworkControls\";\nimport type { FrameworkFrontstages } from \"./framework/FrameworkFrontstages\";\nimport type { FrameworkToolSettings } from \"./framework/FrameworkToolSettings\";\nimport type { FrameworkContent } from \"./framework/FrameworkContent\";\nimport type { FrameworkDialogs } from \"./framework/FrameworkDialogs\";\nimport type { FrameworkKeyboardShortcuts } from \"./framework/FrameworkKeyboardShortcuts\";\nimport type { FrameworkVisibility } from \"./framework/FrameworkVisibility\";\nimport {\n SyncUiEventDispatcher,\n SyncUiEventId,\n} from \"./syncui/SyncUiEventDispatcher\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport { PopupManager } from \"./popup/PopupManager\";\nimport { AccuDrawPopupManager } from \"./accudraw/AccuDrawPopupManager\";\nimport { UiDataProvidedDialog } from \"./dialog/UiDataProvidedDialog\";\nimport type { RefObject } from \"react\";\nimport { createElement } from \"react\";\nimport type { DialogInfo } from \"./dialog/DialogManagerBase\";\nimport type { KeyinEntry } from \"./keyins/Keyins\";\nimport { mapToRelativePosition, type Placement } from \"./utils/Placement\";\nimport type { ToolbarProps } from \"./toolbar/Toolbar\";\nimport type { CursorMenuItemProps } from \"./shared/MenuItem\";\n\ninterface ShowInputEditorOptions {\n location: XAndY;\n anchorElement?: HTMLElement;\n initialValue: Primitives.Value; // need strategy for replacing (appui-abstract)\n propertyDescription: PropertyDescription;\n onCommit: (value: Primitives.Value) => void;\n onCancel: () => void;\n}\n\n// cSpell:ignore Mobi\n\n/** Interface to be implemented but any classes that wants to load their user settings when the UiStateEntry storage class is set.\n * @public\n */\nexport interface UserSettingsProvider {\n /** Unique provider Id */\n providerId: string;\n /** Function to load settings from settings storage */\n loadUserSettings(storage: UiStateStorage): Promise<void>;\n}\n\n/** UiVisibility Event Args interface.\n * @public\n */\nexport interface UiVisibilityEventArgs {\n visible: boolean;\n}\n\n/** UiVisibility Event class.\n * @public\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class UiVisibilityChangedEvent extends UiEvent<UiVisibilityEventArgs> {}\n\n/** TrackingTime time argument used by our feature tracking manager as an option argument to the TelemetryClient\n * @internal\n */\nexport interface TrackingTime {\n startTime: Date;\n endTime: Date;\n}\n\ntype fn = typeof PopupManager.showComponent;\ntype ShowComponentParams = Parameters<fn>;\ntype OptionalShowComponentParams = [\n ShowComponentParams[0],\n Partial<\n Exclude<ShowComponentParams[1], \"anchor\"> & {\n anchorRef?: RefObject<HTMLElement>;\n }\n >?\n];\n\n/** Main entry point to configure and interact with the features provided by the AppUi-react package.\n * @public\n */\nexport class UiFramework {\n /**\n * Operation on the backstage component.\n * @public\n */\n public static get backstage(): FrameworkBackstage {\n // istanbul ignore next\n if (!UiFramework._backstageManager)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._backstageManager;\n }\n\n /**\n * Manage access to the child windows.\n * @public\n */\n public static get childWindows(): FrameworkChildWindows {\n return this._childWindowManager;\n }\n\n /**\n * Manage registered controls\n * @public\n */\n public static get controls(): FrameworkControls {\n return InternalConfigurableUiManager;\n }\n\n /**\n * Manage access to frontstages and related helper methods.\n * @public\n */\n public static get frontstages(): FrameworkFrontstages {\n return InternalFrontstageManager;\n }\n\n /**\n * Manage access and behavior of the tool settings.\n * @public\n */\n public static get toolSettings(): FrameworkToolSettings {\n return InternalToolSettingsManager;\n }\n\n /**\n * Manage content presented by the frontstages.\n * @public\n */\n public static get content(): FrameworkContent {\n return InternalContentViewManager;\n }\n\n /**\n * Manage displayed dialogs.\n * @public\n */\n public static get dialogs(): FrameworkDialogs {\n return {\n modal: InternalModalDialogManager,\n modeless: InternalModelessDialogManager,\n };\n }\n\n /**\n * Manages global keyboard shortcuts\n *\n * Note: This only manages the list of available shortcuts registered with it. It does not listens to the actual\n * keyboard events. In order for these shortcuts to be called upon a keyboard event, the application can\n * override the `IModelApp.toolAdmin` and assign it [[FrameworkToolAdmin]] or create an event listener\n * and call `UiFramework.keyboardShortcuts.processKey`.\n * @public\n */\n public static get keyboardShortcuts(): FrameworkKeyboardShortcuts {\n return InternalKeyboardShortcutManager;\n }\n\n /**\n * Manages UI visibility (Show/Hide)\n * @public\n */\n public static get visibility(): FrameworkVisibility {\n return InternalUiShowHideManager;\n }\n\n private static _initialized = false;\n private static _store?: Store<any>;\n private static _complaint = \"UiFramework not initialized\";\n private static _frameworkStateKeyInStore: string = \"frameworkState\"; // default name\n private static _backstageManager?: BackstageManager;\n private static _widgetManager?: WidgetManager;\n private static _hideIsolateEmphasizeActionHandler?: HideIsolateEmphasizeActionHandler;\n /** this provides a default state storage handler */\n private static _uiStateStorage: UiStateStorage = new LocalStateStorage();\n private static _settingsManager?: SettingsManager;\n private static _uiSettingsProviderRegistry: Map<\n string,\n UserSettingsProvider\n > = new Map<string, UserSettingsProvider>();\n private static _childWindowManager = new InternalChildWindowManager();\n public static useDefaultPopoutUrl = false;\n private static readonly CONTEXT_MENU_OFFSET = -8;\n\n /** Registers class that will be informed when the UserSettingsStorage location has been set or changed. This allows\n * classes to load any previously saved settings from the new storage location. Common storage locations are the browser's\n * local storage, or the iTwin Product Settings cloud storage available via the SettingsAdmin see `IModelApp.settingsAdmin`.\n * @public\n */\n public static registerUserSettingsProvider(entry: UserSettingsProvider) {\n if (this._uiSettingsProviderRegistry.has(entry.providerId)) return false;\n\n this._uiSettingsProviderRegistry.set(entry.providerId, entry);\n return true;\n }\n\n /** Get Show Ui event.\n * @public\n */\n public static readonly onUiVisibilityChanged = new UiVisibilityChangedEvent();\n\n /**\n * Called by the application to initialize the UiFramework. Also initializes UIIModelComponents, UiComponents, UiCore.\n * @param store The single Redux store created by the host application. If this is `undefined` then it is assumed that the [[StateManager]] is being used to provide the Redux store.\n * @param frameworkStateKey The name of the key used by the app when adding the UiFramework state into the Redux store. If not defined \"frameworkState\" is assumed. This value is ignored if [[StateManager]] is being used. The StateManager use \"frameworkState\".\n */\n public static async initialize(\n store: Store<any> | undefined,\n frameworkStateKey?: string\n ): Promise<void> {\n if (UiFramework._initialized) {\n Logger.logInfo(\n UiFramework.loggerCategory(UiFramework),\n `UiFramework.initialize already called`\n );\n return;\n }\n\n /* if store is undefined then the StateManager class should have been initialized by parent app and the apps default set of reducers registered with it.\n If the app has no reducers to add and does not initialize a StateManager then just initialize the StateManager with the default framework reducer now */\n if (undefined === store && !StateManager.isInitialized(true))\n new StateManager();\n\n UiFramework._store = store;\n // ignore setting _frameworkStateKeyInStore if not using store\n if (frameworkStateKey && store)\n UiFramework._frameworkStateKeyInStore = frameworkStateKey;\n\n // set up namespace and register all tools from package\n const frameworkNamespace = IModelApp.localization?.registerNamespace(\n UiFramework.localizationNamespace\n );\n [\n restoreLayoutTools,\n keyinPaletteTools,\n openSettingTools,\n toolSettingTools,\n ].forEach((tool) =>\n IModelApp.tools.registerModule(tool, this.localizationNamespace)\n );\n\n UiFramework._backstageManager = new BackstageManager();\n UiFramework._hideIsolateEmphasizeActionHandler =\n new HideIsolateEmphasizeManager(); // this allows user to override the default HideIsolateEmphasizeManager implementation.\n UiFramework._widgetManager = new WidgetManager();\n\n // Initialize ui-imodel-components, ui-components, ui-core & ui-abstract\n await UiIModelComponents.initialize();\n\n UiFramework.settingsManager.onSettingsProvidersChanged.addListener(() => {\n SyncUiEventDispatcher.dispatchSyncUiEvent(\n SyncUiEventId.SettingsProvidersChanged\n );\n });\n\n // Initialize the MessagePresenter interface in UiAdmin for Editor notifications\n UiAdmin.messagePresenter = IModelApp.notifications;\n\n UiFramework._initialized = true;\n\n // initialize any standalone settings providers that don't need to have defaults set by iModelApp\n UiShowHideSettingsProvider.initialize();\n\n InternalConfigurableUiManager.initialize();\n\n return frameworkNamespace;\n }\n\n /** Un-registers the UiFramework internationalization service namespace */\n public static terminate() {\n UiFramework._store = undefined;\n UiFramework._frameworkStateKeyInStore = \"frameworkState\";\n if (StateManager.isInitialized(true)) StateManager.clearStore();\n // istanbul ignore next\n IModelApp.localization?.unregisterNamespace(\n UiFramework.localizationNamespace\n );\n UiFramework._backstageManager = undefined;\n UiFramework._widgetManager = undefined;\n UiFramework._hideIsolateEmphasizeActionHandler = undefined;\n UiFramework._settingsManager = undefined;\n\n UiIModelComponents.terminate();\n InternalUiShowHideManager.terminate();\n UiFramework._initialized = false;\n }\n\n /** Determines if UiFramework has been initialized */\n public static get initialized(): boolean {\n return UiFramework._initialized;\n }\n\n /** Property that returns the SettingManager used by AppUI-based applications.\n * @public\n */\n public static get settingsManager() {\n if (undefined === UiFramework._settingsManager)\n UiFramework._settingsManager = new SettingsManager();\n return UiFramework._settingsManager;\n }\n\n /** @public */\n public static get frameworkStateKey(): string {\n return UiFramework._frameworkStateKeyInStore;\n }\n\n /** The UiFramework state maintained by Redux\n * @public\n */\n public static get frameworkState(): FrameworkState | undefined {\n try {\n return UiFramework.store.getState()[UiFramework.frameworkStateKey];\n } catch (_e) {\n return undefined;\n }\n }\n\n /** The Redux store */\n public static get store(): Store<any> {\n if (UiFramework._store) return UiFramework._store;\n\n // istanbul ignore else\n if (!StateManager.isInitialized(true))\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `Error trying to access redux store before either store or StateManager has been initialized.`\n );\n\n // istanbul ignore next\n return StateManager.store;\n }\n\n /** The internationalization service namespace. */\n public static get localizationNamespace(): string {\n return \"UiFramework\";\n }\n\n /** @public */\n public static get hideIsolateEmphasizeActionHandler(): HideIsolateEmphasizeActionHandler {\n // istanbul ignore next\n if (!UiFramework._hideIsolateEmphasizeActionHandler)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._hideIsolateEmphasizeActionHandler;\n }\n\n /** @public */\n public static setHideIsolateEmphasizeActionHandler(\n handler: HideIsolateEmphasizeActionHandler | undefined\n ) {\n // istanbul ignore else\n if (handler) UiFramework._hideIsolateEmphasizeActionHandler = handler;\n else\n UiFramework._hideIsolateEmphasizeActionHandler =\n new HideIsolateEmphasizeManager();\n }\n\n /** @alpha */\n public static get widgetManager(): WidgetManager {\n // istanbul ignore next\n if (!UiFramework._widgetManager)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._widgetManager;\n }\n\n /** Calls localization.getLocalizedString with the \"UiFramework\" namespace. Do NOT include the namespace in the key.\n * @internal\n */\n public static translate(\n key: string | string[],\n options?: TranslationOptions\n ): string {\n return IModelApp.localization.getLocalizedString(\n `${UiFramework.localizationNamespace}:${key}`,\n options\n );\n }\n\n /** @internal */\n public static get packageName(): string {\n return \"appui-react\";\n }\n\n /** @internal */\n public static loggerCategory(obj: any): string {\n const className = getObjectClassName(obj);\n const category =\n UiFramework.packageName + (className ? `.${className}` : \"\");\n return category;\n }\n\n public static dispatchActionToStore(\n type: string,\n payload: any,\n immediateSync = false\n ) {\n UiFramework.store.dispatch({ type, payload });\n if (immediateSync) SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(type);\n else SyncUiEventDispatcher.dispatchSyncUiEvent(type);\n }\n\n public static setAccudrawSnapMode(snapMode: SnapMode) {\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetSnapMode,\n snapMode,\n true\n );\n }\n\n public static getAccudrawSnapMode(): SnapMode {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.snapMode\n : /* istanbul ignore next */ SnapMode.NearestKeypoint;\n }\n\n /**\n * Returns the stored active selection scope id.\n */\n public static getActiveSelectionScope(): string {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.activeSelectionScope\n : /* istanbul ignore next */ \"element\";\n }\n\n /**\n * This method stores the active selection scope to the supplied scope id, and triggers\n * a `SessionStateActionId.SetSelectionScope` event in the `SyncUiEventDispatcher`.\n * Note: As of 4.0, this method *does not change* the active selection scope in the `Presentation.selection.scopes.activeScope` property.\n * This event should be listened to and the change should typically be applied to\n * `Presentation.selection.scopes.activeScope` property from the `@itwin/presentation-frontend` package.\n */\n public static setActiveSelectionScope(selectionScopeId: string): void {\n // istanbul ignore else\n if (UiFramework.frameworkState) {\n const foundIndex =\n UiFramework.frameworkState.sessionState.availableSelectionScopes.findIndex(\n (selectionScope: PresentationSelectionScope) =>\n selectionScope.id === selectionScopeId\n );\n if (-1 !== foundIndex) {\n const scope =\n UiFramework.frameworkState.sessionState.availableSelectionScopes[\n foundIndex\n ];\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetSelectionScope,\n scope.id\n );\n }\n }\n }\n\n /** Show a context menu at a particular location.\n * @param items Properties of the menu items to display.\n * @param location Location of the context menu, relative to the origin of anchorElement or the overall window.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static openContextMenu(\n items: CursorMenuItemProps[],\n location: XAndY,\n anchorElement?: HTMLElement\n ): boolean {\n let position = location;\n let childWindowId: string | undefined;\n\n if (anchorElement) {\n const anchorOffset = anchorElement.getBoundingClientRect();\n\n position = {\n x: anchorOffset.left + location.x,\n y: anchorOffset.top + location.y,\n };\n\n childWindowId = UiFramework.childWindows.findId(\n anchorElement.ownerDocument.defaultView\n );\n }\n\n position = {\n x: position.x + UiFramework.CONTEXT_MENU_OFFSET,\n y: position.y + UiFramework.CONTEXT_MENU_OFFSET,\n };\n\n const cursorMenuData: CursorMenuPayload = {\n position,\n items,\n childWindowId,\n };\n UiFramework.openCursorMenu(cursorMenuData);\n\n return true;\n }\n\n /** @public */\n public static openCursorMenu(\n // eslint-disable-next-line deprecation/deprecation\n menuData: CursorMenuData | CursorMenuPayload | undefined\n ): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.UpdateCursorMenu,\n menuData\n );\n }\n\n /** @public */\n public static closeCursorMenu(): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.UpdateCursorMenu,\n undefined\n );\n }\n\n /** @public */\n public static getCursorMenuData(): // eslint-disable-next-line deprecation/deprecation\n CursorMenuData | CursorMenuPayload | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.cursorMenuPayload ??\n UiFramework.frameworkState.sessionState.cursorMenuData\n : /* istanbul ignore next */ undefined;\n }\n\n public static getActiveIModelId(): string {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.iModelId\n : /* istanbul ignore next */ \"\";\n }\n\n public static setActiveIModelId(iModelId: string): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetActiveIModelId,\n iModelId\n );\n }\n\n public static setIModelConnection(\n iModelConnection: IModelConnection | undefined,\n immediateSync = false\n ) {\n const oldConnection = UiFramework.getIModelConnection();\n if (oldConnection === iModelConnection) return;\n\n InternalFrontstageManager.clearFrontstageDefsForIModelId(\n oldConnection?.iModelId\n );\n\n oldConnection && SyncUiEventDispatcher.clearConnectionEvents(oldConnection);\n iModelConnection &&\n SyncUiEventDispatcher.initializeConnectionEvents(iModelConnection);\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetIModelConnection,\n iModelConnection,\n immediateSync\n );\n const itemsSelected = iModelConnection\n ? iModelConnection.selectionSet.elements.size\n : 0;\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetNumItemsSelected,\n itemsSelected\n );\n UiFramework.setActiveIModelId(iModelConnection?.iModelId ?? \"\");\n }\n\n public static getIModelConnection(): IModelConnection | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.iModelConnection\n : /* istanbul ignore next */ undefined;\n }\n\n /** Called by iModelApp to initialize saved UI state from registered UseSettingsProviders\n * @public\n */\n public static async initializeStateFromUserSettingsProviders(\n immediateSync = false\n ) {\n // let any registered providers to load values from the new storage location\n const providerKeys = [...this._uiSettingsProviderRegistry.keys()];\n for await (const key of providerKeys) {\n await this._uiSettingsProviderRegistry\n .get(key)!\n .loadUserSettings(UiFramework._uiStateStorage);\n }\n\n // istanbul ignore next\n if (immediateSync)\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(\n SyncUiEventId.UiStateStorageChanged\n );\n else\n SyncUiEventDispatcher.dispatchSyncUiEvent(\n SyncUiEventId.UiStateStorageChanged\n );\n }\n\n /** @public */\n public static async setUiStateStorage(\n storage: UiStateStorage,\n immediateSync = false\n ) {\n if (UiFramework._uiStateStorage === storage) return;\n\n UiFramework._uiStateStorage = storage;\n await this.initializeStateFromUserSettingsProviders(immediateSync);\n }\n\n /** The UI Settings Storage is a convenient wrapper around Local Storage to assist in caching state information across user sessions.\n * It was previously used to conflate both the state information across session and the information driven directly from user explicit action,\n * which are now handled with user preferences.\n * @public\n */\n public static getUiStateStorage(): UiStateStorage {\n return UiFramework._uiStateStorage;\n }\n\n public static setDefaultIModelViewportControlId(\n iModelViewportControlId: string,\n immediateSync = false\n ) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultIModelViewportControlId,\n iModelViewportControlId,\n immediateSync\n );\n }\n\n public static getDefaultIModelViewportControlId(): string | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultIModelViewportControlId\n : /* istanbul ignore next */ undefined;\n }\n\n public static setDefaultViewId(viewId: string, immediateSync = false) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultViewId,\n viewId,\n immediateSync\n );\n }\n\n public static getDefaultViewId(): string | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultViewId\n : /* istanbul ignore next */ undefined;\n }\n\n public static setDefaultViewState(\n viewState: ViewState,\n immediateSync = false\n ) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultViewState,\n viewState,\n immediateSync\n );\n }\n public static getDefaultViewState(): ViewState | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultViewState\n : /* istanbul ignore next */ undefined;\n }\n\n /**\n * Returns the stored list of available selection scopes. This list should be set by the application\n * by dispatching the `setAvailableSelectionScopes` action.\n * The value for this action typically come from `Presentation.selection.scopes.getSelectionScopes()`\n * method found in the `@itwin/presentation-frontend` package.\n * @public */\n public static getAvailableSelectionScopes(): PresentationSelectionScope[] {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.availableSelectionScopes\n : /* istanbul ignore next */\n [{ id: \"element\", label: \"Element\" } as PresentationSelectionScope];\n }\n\n public static getIsUiVisible() {\n return UiFramework.visibility.isUiVisible;\n }\n\n public static setIsUiVisible(visible: boolean) {\n if (UiFramework.visibility.isUiVisible !== visible) {\n UiFramework.visibility.isUiVisible = visible;\n UiFramework.onUiVisibilityChanged.emit({ visible });\n }\n }\n\n /**\n * Set the theme value used by the [[ThemeManager]] component.\n */\n public static setColorTheme(theme: ThemeId) {\n if (UiFramework.getColorTheme() === theme) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetTheme,\n theme,\n true\n );\n }\n\n public static getColorTheme(): ThemeId {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.theme\n : /* istanbul ignore next */ SYSTEM_PREFERRED_COLOR_THEME;\n }\n\n /** UiFramework.setToolbarOpacity() sets the non-hovered opacity to the value specified.\n * @param opacity a value between 0 and 1. The default value is 0.5. IT IS NOT ADVISED TO USE A VALUE BELOW 0.2\n * @public\n */\n public static setToolbarOpacity(opacity: number) {\n if (UiFramework.getToolbarOpacity() === opacity) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetToolbarOpacity,\n opacity,\n true\n );\n }\n\n /** UiFramework.getToolbarOpacity() returns a number between 0 and 1 that is the non-hovered opacity for toolbars.\n * @public\n */\n public static getToolbarOpacity(): number {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.toolbarOpacity\n : /* istanbul ignore next */ TOOLBAR_OPACITY_DEFAULT;\n }\n\n public static setWidgetOpacity(opacity: number) {\n if (UiFramework.getWidgetOpacity() === opacity) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetWidgetOpacity,\n opacity,\n true\n );\n }\n\n public static getWidgetOpacity(): number {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.widgetOpacity\n : /* istanbul ignore next */ WIDGET_OPACITY_DEFAULT;\n }\n\n // eslint-disable-next-line @itwin/prefer-get\n public static isMobile() {\n return ProcessDetector.isMobileBrowser;\n }\n\n public static get showWidgetIcon(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.showWidgetIcon\n : /* istanbul ignore next */ false;\n }\n\n public static setShowWidgetIcon(value: boolean) {\n if (UiFramework.showWidgetIcon === value) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetShowWidgetIcon,\n value,\n true\n );\n }\n /** Animate Tool Settings on appear */\n public static get animateToolSettings(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.animateToolSettings\n : /* istanbul ignore next */ false;\n }\n public static setAnimateToolSettings(value: boolean) {\n if (UiFramework.animateToolSettings === value) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.AnimateToolSettings,\n value,\n true\n );\n }\n\n /** Use Tool Name As Tool Settings Widget Tab Label */\n public static get useToolAsToolSettingsLabel(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState\n .useToolAsToolSettingsLabel\n : /* istanbul ignore next */ false;\n }\n public static setUseToolAsToolSettingsLabel(value: boolean) {\n if (UiFramework.useToolAsToolSettingsLabel === value) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.UseToolAsToolSettingsLabel,\n value,\n true\n );\n }\n\n /** When `true`, panels will close as soon as the mouse leave the panel.\n * When `false` (default), panels will close on next click outside the panel.\n * @public */\n public static get autoCollapseUnpinnedPanels(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState\n .autoCollapseUnpinnedPanels\n : /* istanbul ignore next */ false;\n }\n\n /** Method used to enable the automatic closing of an unpinned widget panel as soon as the\n * mouse leaves the widget panel. The default behavior is to require a mouse click outside\n * the panel before it is closed.\n * @public */\n\n public static setAutoCollapseUnpinnedPanels(value: boolean) {\n if (UiFramework.autoCollapseUnpinnedPanels === value) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.AutoCollapseUnpinnedPanels,\n value,\n true\n );\n }\n\n public static get useDragInteraction(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.useDragInteraction\n : false;\n }\n\n public static setUseDragInteraction(useDragInteraction: boolean) {\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetDragInteraction,\n useDragInteraction,\n true\n );\n }\n\n /** Returns the variable controlling whether the overlay is displayed in a Viewport\n * @public\n */\n public static get viewOverlayDisplay() {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.viewOverlayDisplay\n : /* istanbul ignore next */ true;\n }\n /** Set the variable that controls display of the view overlay. Applies to all viewports in the app\n * @public\n */\n public static setViewOverlayDisplay(display: boolean) {\n if (UiFramework.viewOverlayDisplay === display) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetViewOverlayDisplay,\n display\n );\n }\n\n /** Determines whether a ContextMenu is open\n * @alpha\n * */\n public static get isContextMenuOpen(): boolean {\n const contextMenu = document.querySelector(\"div.core-context-menu-opened\");\n return contextMenu !== null && contextMenu !== undefined;\n }\n\n /** Show a Card containing content, a title and a toolbar at a particular location.\n * @param content The React component or HTMLElement of the content to display\n * @param title Title to display at the top of the card.\n * @param toolbarProps Properties of the Toolbar to display.\n * @param location Location of the Card, relative to the origin of anchorElement or the window.\n * @param offset Offset of the Card from the location.\n * @param onItemExecuted Function invoked after a Toolbar item is executed\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Card\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the Card. If undefined, the location is relative to the overall window.\n * @return true if the Card was displayed, false if the Card could not be displayed.\n * @internal\n */\n public static showCard(\n content: React.ReactNode,\n title: string | PropertyRecord | undefined,\n toolbarProps: ToolbarProps,\n location: XAndY,\n offset: XAndY,\n onItemExecuted: (item: any) => void,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const anchor = this.resolveHtmlElement(anchorElement);\n\n return PopupManager.displayCard(\n { reactNode: content },\n {\n title,\n toolbarProps,\n location,\n offset,\n onItemExecuted,\n onCancel,\n placement,\n anchor,\n }\n );\n }\n\n /**\n * Hides a Card displayed with {@link UiFramework.showCard}\n * @internal\n */\n public static hideCard() {\n return PopupManager.hideCard();\n }\n\n /** Opens a Tool Settings Ui popup at a particular location.\n * @param dataProvider The DialogLayoutDataProvider for the tool settings popup dialog.\n * @param location Location of the tool settings, relative to the origin of anchorElement or the window\n * @param offset Offset of the tool settings from the location\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the tool settings\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the tool settings. If undefined, the location is relative to the overall window.\n * @return true if the tool settings were displayed, false if the tool settings could not be displayed.\n * @internal\n */\n public static openToolSettingsPopup(\n dataProvider: DialogLayoutDataProvider,\n location: XAndY,\n offset: XAndY,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n const relativePosition = mapToRelativePosition(placement);\n\n return PopupManager.openToolSettings(\n dataProvider,\n el,\n location,\n offset,\n onCancel,\n relativePosition\n );\n }\n\n /**\n * Closes the Tool Settings Ui popup.\n * @internal\n */\n public static closeToolSettingsPopup() {\n return PopupManager.closeToolSettings();\n }\n\n /** Show a Toolbar at a particular location.\n * @param toolbarProps Properties of the Toolbar to display.\n * @param location Location of the Toolbar, relative to the origin of anchorElement or the overall window.\n * @param offset Offset of the Toolbar from the location.\n * @param onItemExecuted Function invoked after a Toolbar item is executed\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Toolbar\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the Toolbar. If undefined, the location is relative to the overall window.\n * @return true if the Toolbar was displayed, false if the Toolbar could not be displayed.\n */\n public static showToolbar(\n toolbarProps: ToolbarProps,\n location: XAndY,\n offset: XAndY,\n onItemExecuted: (item: any) => void,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const anchor = UiFramework.resolveHtmlElement(anchorElement);\n\n return PopupManager.displayToolbar(toolbarProps.items, {\n anchor,\n location,\n offset,\n onItemExecuted,\n onCancel,\n placement,\n });\n }\n\n /** Hides a toolbar displayed via {@link UiFramework.showToolbar} */\n public static hideToolbar() {\n return PopupManager.hideToolbar();\n }\n\n /** Show a menu button at a particular location. A menu button opens a context menu.\n * @param id Id of the menu button. Multiple menu buttons may be displayed.\n * @param menuItemsProps Properties of the menu items to display.\n * @param location Location of the context menu, relative to the origin of anchorElement or the window.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static showMenuButton(\n id: string,\n menuItemsProps: CursorMenuItemProps[],\n location: XAndY,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n return AccuDrawPopupManager.showMenuButton(\n id,\n el,\n location,\n menuItemsProps\n );\n }\n\n /** Hides a menu button.\n * @param id Id of the menu button. Multiple menu buttons may be displayed.\n * @return true if the menu was hidden, false if the menu could not be hidden.\n */\n public static hideMenuButton(id: string) {\n return AccuDrawPopupManager.hideMenuButton(id);\n }\n /** Show a calculator at a particular location.\n * @param initialValue Value initially displayed in the calculator.\n * @param resultIcon Icon displayed to the left of the value.\n * @param location Location of the calculator, relative to the origin of anchorElement or the window.\n * @param onOk Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static showCalculator(\n initialValue: number,\n resultIcon: string,\n location: XAndY,\n onOk: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n\n return AccuDrawPopupManager.showCalculator(\n el,\n location,\n initialValue,\n resultIcon,\n onOk,\n onCancel\n );\n }\n\n /** Hides the calculator. */\n public static hideCalculator(): boolean {\n return AccuDrawPopupManager.hideCalculator();\n }\n\n /** Show a React Element at a particular location.\n * @param component The ReactElement to display\n * @param options - Optional {@link: ShowComponentParams}\n */\n\n public static showComponent(...params: OptionalShowComponentParams): boolean {\n const options: (typeof params)[1] = params[1] || {};\n const component = params[0];\n const { anchorRef, id } = options;\n\n let { location, offset, onCancel, placement } = options;\n\n if (!location) location = { x: 0, y: 0 };\n if (!offset) offset = { x: 0, y: 0 };\n if (!placement) placement = \"top-end\";\n if (!onCancel) onCancel = () => UiFramework.hideComponent(id);\n\n return PopupManager.showComponent(component, {\n location,\n offset,\n onCancel,\n placement,\n anchor: anchorRef?.current ?? undefined,\n id,\n });\n }\n\n /**\n * Hides the Component previously shown with {@link UiFramework.showComponent}\n */\n public static hideComponent(id?: string): boolean {\n return PopupManager.hideComponent(id);\n }\n\n /** Show an input editor for an angle value at a particular location.\n * @param initialValue Value initially displayed in the editor.\n * @param location Location of the editor, relative to the origin of anchorElement or the window.\n * @param onCommit Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n */\n public static showAngleEditor(\n initialValue: number,\n location: XAndY,\n onCommit: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n\n return AccuDrawPopupManager.showAngleEditor(\n el,\n location,\n initialValue,\n onCommit,\n onCancel\n );\n }\n\n /** Show an input editor for a length value at a particular location.\n * @param ShowInputEditorOptions Options detailed below for the input editor\n * @param ShowInputEditorOptions.anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @param ShowInputEditorOptions.propertyDescription Description of the primitive value property\n * @param ShowInputEditorOptions.initialValue Value initially displayed in the editor.\n * @param ShowInputEditorOptions.location Location of the editor, relative to the origin of anchorElement or the window.\n * @param ShowInputEditorOptions.onCommit Function called when the OK button or the Enter key is pressed.\n * @param ShowInputEditorOptions.onCancel Function called when the Cancel button or the Escape key is pressed.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n * @internal\n */\n public static showInputEditor({\n anchorElement,\n initialValue,\n location,\n onCancel,\n onCommit,\n propertyDescription,\n }: ShowInputEditorOptions): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n PopupManager.showInputEditor(\n el,\n location,\n initialValue,\n propertyDescription,\n onCommit,\n onCancel\n );\n return true;\n }\n\n /** Show an input editor for a length value at a particular location.\n * @param dimension Dimension determining which editor to display.\n * @param initialValue Value initially displayed in the editor.\n * @param location Location of the editor, relative to the origin of anchorElement or the window.\n * @param onCommit Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n */\n public static showDimensionEditor(\n dimension: \"height\" | \"length\",\n initialValue: number,\n location: XAndY,\n onCommit: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ) {\n const el = this.resolveHtmlElement(anchorElement);\n return AccuDrawPopupManager.showDimensionEditor(\n dimension,\n el,\n location,\n initialValue,\n onCommit,\n onCancel\n );\n }\n\n /** Hides the input editor.\n * @internal\n */\n public static hideInputEditor(): boolean {\n return PopupManager.hideInputEditor();\n }\n\n /** Opens a Dialog and automatically populates it using the properties defined by the UiDataProvider.\n * @param uiDataProvider The UiDataProvider for the tool settings\n * @param title Specify title for dialog.\n * @param isModal Specify if the dialog is opened as a modal or modeless.\n * @param id Id of the dialog that is used to close it.\n * @param optionalProps Optional props for Dialog construction.\n * @return true if the tool settings were displayed, false if the tool settings could not be displayed.\n * @internal\n */\n public static openDialog(\n uiDataProvider: DialogLayoutDataProvider,\n title: string,\n isModal: boolean,\n id: string,\n optionalProps?: DialogProps\n ): boolean {\n const dialog = createElement(UiDataProvidedDialog, {\n uiDataProvider,\n title,\n isModal,\n id,\n ...optionalProps,\n });\n const modalType = isModal ? \"modal\" : \"modeless\";\n UiFramework.dialogs[modalType].open(dialog, id);\n return true;\n }\n\n /** Closes the Dialog with the specified dialogId.\n * @param dialogId Id of the dialog to close.\n * @internal\n */\n public static closeDialog(dialogId: string): boolean {\n const findFn = (info: DialogInfo) => info.id === dialogId;\n // istanbul ignore else\n if (UiFramework.dialogs.modeless.dialogs.findIndex(findFn) !== -1) {\n UiFramework.dialogs.modeless.close(dialogId);\n return true;\n }\n\n // istanbul ignore else\n if (UiFramework.dialogs.modal.dialogs.findIndex(findFn) !== -1) {\n UiFramework.dialogs.modal.close();\n return true;\n }\n\n // istanbul ignore next\n return false;\n }\n\n /** Show the Key-in Palette to display key-in from all registered Tools.\n * @param keyinEntries A list of KeyinEntry to display in the palette. These can be gathered and filtered from iModelApp.tools.getToolList()\n * @param htmlElement The HTMLElement that anchors the Popup. If undefined, the location is relative to the overall window.\n * @return true if the Command Palette was displayed, false if it could not be displayed.\n */\n public static showKeyinPalette(\n keyinEntries: KeyinEntry[],\n htmlElement?: HTMLElement\n ): boolean {\n return PopupManager.showKeyinPalette(\n keyinEntries,\n UiFramework.resolveHtmlElement(htmlElement)\n );\n }\n\n /** Hides the Key-in Palette. */\n public static hideKeyinPalette(): boolean {\n return PopupManager.hideKeyinPalette();\n }\n\n private static resolveHtmlElement(htmlElement?: HTMLElement): HTMLElement {\n const el = htmlElement ?? UiFramework.controls.getWrapperElement();\n return el;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"UiFramework.js","sourceRoot":"","sources":["../../../src/appui-react/UiFramework.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAKH,sDAA8D;AAG9D,wDAA2D;AAQ3D,0DAAkE;AAElE,kDAAuE;AACvE,kDAAuD;AACvD,4EAAoE;AACpE,mEAAgE;AAChE,yFAAsF;AACtF,kGAA+F;AAC/F,kDAAgE;AAOhE,uDAA4D;AAC5D,uDAAoD;AAEpD,yFAAsF;AAEtF,uDAI8B;AAC9B,+DAA+D;AAC/D,6DAA6D;AAC7D,gEAAgE;AAChE,8DAA8D;AAC9D,iFAG2C;AAC3C,2DAAwD;AACxD,s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AAmD;AAC5B,iCAAqB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AA1HnE,kCAAW","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 Utilities\n */\n\n// cSpell:ignore configurableui clientservices\n\nimport type { Store } from \"redux\";\nimport { Logger, ProcessDetector } from \"@itwin/core-bentley\";\nimport type { TranslationOptions } from \"@itwin/core-common\";\nimport type { IModelConnection, ViewState } from \"@itwin/core-frontend\";\nimport { IModelApp, SnapMode } from \"@itwin/core-frontend\";\nimport type {\n DialogLayoutDataProvider,\n DialogProps,\n Primitives,\n PropertyDescription,\n PropertyRecord,\n} from \"@itwin/appui-abstract\";\nimport { UiAdmin, UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { UiStateStorage } from \"@itwin/core-react\";\nimport { LocalStateStorage, SettingsManager } from \"@itwin/core-react\";\nimport { getObjectClassName } from \"@itwin/core-react\";\nimport { UiIModelComponents } from \"@itwin/imodel-components-react\";\nimport { BackstageManager } from \"./backstage/BackstageManager\";\nimport { InternalChildWindowManager } from \"./childwindow/InternalChildWindowManager\";\nimport { InternalConfigurableUiManager } from \"./configurableui/InternalConfigurableUiManager\";\nimport { ConfigurableUiActionId } from \"./configurableui/state\";\nimport type { FrameworkState } from \"./redux/FrameworkState\";\nimport type {\n CursorMenuData,\n CursorMenuPayload,\n PresentationSelectionScope,\n} from \"./redux/SessionState\";\nimport { SessionStateActionId } from \"./redux/SessionState\";\nimport { StateManager } from \"./redux/StateManager\";\nimport type { HideIsolateEmphasizeActionHandler } from \"./selection/HideIsolateEmphasizeManager\";\nimport { HideIsolateEmphasizeManager } from \"./selection/HideIsolateEmphasizeManager\";\nimport type { ThemeId } from \"./theme/ThemeManager\";\nimport {\n SYSTEM_PREFERRED_COLOR_THEME,\n TOOLBAR_OPACITY_DEFAULT,\n WIDGET_OPACITY_DEFAULT,\n} from \"./theme/ThemeManager\";\nimport * as keyinPaletteTools from \"./tools/KeyinPaletteTools\";\nimport * as openSettingTools from \"./tools/OpenSettingsTool\";\nimport * as restoreLayoutTools from \"./tools/RestoreLayoutTool\";\nimport * as toolSettingTools from \"./tools/ToolSettingsTools\";\nimport {\n InternalUiShowHideManager,\n UiShowHideSettingsProvider,\n} from \"./utils/InternalUiShowHideManager\";\nimport { WidgetManager } from \"./widgets/WidgetManager\";\nimport { InternalFrontstageManager } from \"./frontstage/InternalFrontstageManager\";\nimport { InternalContentViewManager } from \"./content/InternalContentViewManager\";\nimport { InternalModalDialogManager } from \"./dialog/InternalModalDialogManager\";\nimport { InternalModelessDialogManager } from \"./dialog/InternalModelessDialogManager\";\nimport { InternalKeyboardShortcutManager } from \"./keyboardshortcut/InternalKeyboardShortcut\";\nimport { InternalToolSettingsManager } from \"./toolsettings/InternalToolSettingsManager\";\nimport type { FrameworkBackstage } from \"./framework/FrameworkBackstage\";\nimport type { FrameworkChildWindows } from \"./framework/FrameworkChildWindows\";\nimport type { FrameworkControls } from \"./framework/FrameworkControls\";\nimport type { FrameworkFrontstages } from \"./framework/FrameworkFrontstages\";\nimport type { FrameworkToolSettings } from \"./framework/FrameworkToolSettings\";\nimport type { FrameworkContent } from \"./framework/FrameworkContent\";\nimport type { FrameworkDialogs } from \"./framework/FrameworkDialogs\";\nimport type { FrameworkKeyboardShortcuts } from \"./framework/FrameworkKeyboardShortcuts\";\nimport type { FrameworkVisibility } from \"./framework/FrameworkVisibility\";\nimport {\n SyncUiEventDispatcher,\n SyncUiEventId,\n} from \"./syncui/SyncUiEventDispatcher\";\nimport type { XAndY } from \"@itwin/core-geometry\";\nimport { PopupManager } from \"./popup/PopupManager\";\nimport { AccuDrawPopupManager } from \"./accudraw/AccuDrawPopupManager\";\nimport { UiDataProvidedDialog } from \"./dialog/UiDataProvidedDialog\";\nimport type { RefObject } from \"react\";\nimport { createElement } from \"react\";\nimport type { DialogInfo } from \"./dialog/DialogManagerBase\";\nimport type { KeyinEntry } from \"./keyins/Keyins\";\nimport { mapToRelativePosition, type Placement } from \"./utils/Placement\";\nimport type { ToolbarProps } from \"./toolbar/Toolbar\";\nimport type { CursorMenuItemProps } from \"./shared/MenuItem\";\n\ninterface ShowInputEditorOptions {\n location: XAndY;\n anchorElement?: HTMLElement;\n initialValue: Primitives.Value; // need strategy for replacing (appui-abstract)\n propertyDescription: PropertyDescription;\n onCommit: (value: Primitives.Value) => void;\n onCancel: () => void;\n}\n\n// cSpell:ignore Mobi\n\n/** Interface to be implemented but any classes that wants to load their user settings when the UiStateEntry storage class is set.\n * @public\n */\nexport interface UserSettingsProvider {\n /** Unique provider Id */\n providerId: string;\n /** Function to load settings from settings storage */\n loadUserSettings(storage: UiStateStorage): Promise<void>;\n}\n\n/** UiVisibility Event Args interface.\n * @public\n * @deprecated in 4.13.x. Event args are inferred from a listener. If explicit type is needed use a type helper.\n */\nexport interface UiVisibilityEventArgs {\n visible: boolean;\n}\n\n/** UiVisibility Event class.\n * @public\n * @deprecated in 4.13.x. This class should not be used by applications to instantiate objects.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport class UiVisibilityChangedEvent extends UiEvent<UiVisibilityEventArgs> {}\n\n/** TrackingTime time argument used by our feature tracking manager as an option argument to the TelemetryClient\n * @internal\n */\nexport interface TrackingTime {\n startTime: Date;\n endTime: Date;\n}\n\ntype fn = typeof PopupManager.showComponent;\ntype ShowComponentParams = Parameters<fn>;\ntype OptionalShowComponentParams = [\n ShowComponentParams[0],\n Partial<\n Exclude<ShowComponentParams[1], \"anchor\"> & {\n anchorRef?: RefObject<HTMLElement>;\n }\n >?\n];\n\n/** Main entry point to configure and interact with the features provided by the AppUi-react package.\n * @public\n */\nexport class UiFramework {\n /**\n * Operation on the backstage component.\n * @public\n */\n public static get backstage(): FrameworkBackstage {\n // istanbul ignore next\n if (!UiFramework._backstageManager)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._backstageManager;\n }\n\n /**\n * Manage access to the child windows.\n * @public\n */\n public static get childWindows(): FrameworkChildWindows {\n return this._childWindowManager;\n }\n\n /**\n * Manage registered controls\n * @public\n */\n public static get controls(): FrameworkControls {\n return InternalConfigurableUiManager;\n }\n\n /**\n * Manage access to frontstages and related helper methods.\n * @public\n */\n public static get frontstages(): FrameworkFrontstages {\n return InternalFrontstageManager;\n }\n\n /**\n * Manage access and behavior of the tool settings.\n * @public\n */\n public static get toolSettings(): FrameworkToolSettings {\n return InternalToolSettingsManager;\n }\n\n /**\n * Manage content presented by the frontstages.\n * @public\n */\n public static get content(): FrameworkContent {\n return InternalContentViewManager;\n }\n\n /**\n * Manage displayed dialogs.\n * @public\n */\n public static get dialogs(): FrameworkDialogs {\n return {\n modal: InternalModalDialogManager,\n modeless: InternalModelessDialogManager,\n };\n }\n\n /**\n * Manages global keyboard shortcuts\n *\n * Note: This only manages the list of available shortcuts registered with it. It does not listens to the actual\n * keyboard events. In order for these shortcuts to be called upon a keyboard event, the application can\n * override the `IModelApp.toolAdmin` and assign it [[FrameworkToolAdmin]] or create an event listener\n * and call `UiFramework.keyboardShortcuts.processKey`.\n * @public\n */\n public static get keyboardShortcuts(): FrameworkKeyboardShortcuts {\n return InternalKeyboardShortcutManager;\n }\n\n /**\n * Manages UI visibility (Show/Hide)\n * @public\n */\n public static get visibility(): FrameworkVisibility {\n return InternalUiShowHideManager;\n }\n\n private static _initialized = false;\n private static _store?: Store<any>;\n private static _complaint = \"UiFramework not initialized\";\n private static _frameworkStateKeyInStore: string = \"frameworkState\"; // default name\n private static _backstageManager?: BackstageManager;\n private static _widgetManager?: WidgetManager;\n private static _hideIsolateEmphasizeActionHandler?: HideIsolateEmphasizeActionHandler;\n /** this provides a default state storage handler */\n private static _uiStateStorage: UiStateStorage = new LocalStateStorage();\n private static _settingsManager?: SettingsManager;\n private static _uiSettingsProviderRegistry: Map<\n string,\n UserSettingsProvider\n > = new Map<string, UserSettingsProvider>();\n private static _childWindowManager = new InternalChildWindowManager();\n public static useDefaultPopoutUrl = false;\n private static readonly CONTEXT_MENU_OFFSET = -8;\n\n /** Registers class that will be informed when the UserSettingsStorage location has been set or changed. This allows\n * classes to load any previously saved settings from the new storage location. Common storage locations are the browser's\n * local storage, or the iTwin Product Settings cloud storage available via the SettingsAdmin see `IModelApp.settingsAdmin`.\n * @public\n */\n public static registerUserSettingsProvider(entry: UserSettingsProvider) {\n if (this._uiSettingsProviderRegistry.has(entry.providerId)) return false;\n\n this._uiSettingsProviderRegistry.set(entry.providerId, entry);\n return true;\n }\n\n /** Get Show Ui event.\n * @public\n */\n // eslint-disable-next-line deprecation/deprecation\n public static readonly onUiVisibilityChanged = new UiVisibilityChangedEvent();\n\n /**\n * Called by the application to initialize the UiFramework. Also initializes UIIModelComponents, UiComponents, UiCore.\n * @param store The single Redux store created by the host application. If this is `undefined` then it is assumed that the [[StateManager]] is being used to provide the Redux store.\n * @param frameworkStateKey The name of the key used by the app when adding the UiFramework state into the Redux store. If not defined \"frameworkState\" is assumed. This value is ignored if [[StateManager]] is being used. The StateManager use \"frameworkState\".\n */\n public static async initialize(\n store: Store<any> | undefined,\n frameworkStateKey?: string\n ): Promise<void> {\n if (UiFramework._initialized) {\n Logger.logInfo(\n UiFramework.loggerCategory(UiFramework),\n `UiFramework.initialize already called`\n );\n return;\n }\n\n /* if store is undefined then the StateManager class should have been initialized by parent app and the apps default set of reducers registered with it.\n If the app has no reducers to add and does not initialize a StateManager then just initialize the StateManager with the default framework reducer now */\n if (undefined === store && !StateManager.isInitialized(true))\n new StateManager();\n\n UiFramework._store = store;\n // ignore setting _frameworkStateKeyInStore if not using store\n if (frameworkStateKey && store)\n UiFramework._frameworkStateKeyInStore = frameworkStateKey;\n\n // set up namespace and register all tools from package\n const frameworkNamespace = IModelApp.localization?.registerNamespace(\n UiFramework.localizationNamespace\n );\n [\n restoreLayoutTools,\n keyinPaletteTools,\n openSettingTools,\n toolSettingTools,\n ].forEach((tool) =>\n IModelApp.tools.registerModule(tool, this.localizationNamespace)\n );\n\n UiFramework._backstageManager = new BackstageManager();\n UiFramework._hideIsolateEmphasizeActionHandler =\n new HideIsolateEmphasizeManager(); // this allows user to override the default HideIsolateEmphasizeManager implementation.\n UiFramework._widgetManager = new WidgetManager();\n\n // Initialize ui-imodel-components, ui-components, ui-core & ui-abstract\n await UiIModelComponents.initialize();\n\n UiFramework.settingsManager.onSettingsProvidersChanged.addListener(() => {\n SyncUiEventDispatcher.dispatchSyncUiEvent(\n SyncUiEventId.SettingsProvidersChanged\n );\n });\n\n // Initialize the MessagePresenter interface in UiAdmin for Editor notifications\n UiAdmin.messagePresenter = IModelApp.notifications;\n\n UiFramework._initialized = true;\n\n // initialize any standalone settings providers that don't need to have defaults set by iModelApp\n UiShowHideSettingsProvider.initialize();\n\n InternalConfigurableUiManager.initialize();\n\n return frameworkNamespace;\n }\n\n /** Un-registers the UiFramework internationalization service namespace */\n public static terminate() {\n UiFramework._store = undefined;\n UiFramework._frameworkStateKeyInStore = \"frameworkState\";\n if (StateManager.isInitialized(true)) StateManager.clearStore();\n // istanbul ignore next\n IModelApp.localization?.unregisterNamespace(\n UiFramework.localizationNamespace\n );\n UiFramework._backstageManager = undefined;\n UiFramework._widgetManager = undefined;\n UiFramework._hideIsolateEmphasizeActionHandler = undefined;\n UiFramework._settingsManager = undefined;\n\n UiIModelComponents.terminate();\n InternalUiShowHideManager.terminate();\n UiFramework._initialized = false;\n }\n\n /** Determines if UiFramework has been initialized */\n public static get initialized(): boolean {\n return UiFramework._initialized;\n }\n\n /** Property that returns the SettingManager used by AppUI-based applications.\n * @public\n */\n public static get settingsManager() {\n if (undefined === UiFramework._settingsManager)\n UiFramework._settingsManager = new SettingsManager();\n return UiFramework._settingsManager;\n }\n\n /** @public */\n public static get frameworkStateKey(): string {\n return UiFramework._frameworkStateKeyInStore;\n }\n\n /** The UiFramework state maintained by Redux\n * @public\n */\n public static get frameworkState(): FrameworkState | undefined {\n try {\n return UiFramework.store.getState()[UiFramework.frameworkStateKey];\n } catch (_e) {\n return undefined;\n }\n }\n\n /** The Redux store */\n public static get store(): Store<any> {\n if (UiFramework._store) return UiFramework._store;\n\n // istanbul ignore else\n if (!StateManager.isInitialized(true))\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n `Error trying to access redux store before either store or StateManager has been initialized.`\n );\n\n // istanbul ignore next\n return StateManager.store;\n }\n\n /** The internationalization service namespace. */\n public static get localizationNamespace(): string {\n return \"UiFramework\";\n }\n\n /** @public */\n public static get hideIsolateEmphasizeActionHandler(): HideIsolateEmphasizeActionHandler {\n // istanbul ignore next\n if (!UiFramework._hideIsolateEmphasizeActionHandler)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._hideIsolateEmphasizeActionHandler;\n }\n\n /** @public */\n public static setHideIsolateEmphasizeActionHandler(\n handler: HideIsolateEmphasizeActionHandler | undefined\n ) {\n // istanbul ignore else\n if (handler) UiFramework._hideIsolateEmphasizeActionHandler = handler;\n else\n UiFramework._hideIsolateEmphasizeActionHandler =\n new HideIsolateEmphasizeManager();\n }\n\n /** @alpha */\n public static get widgetManager(): WidgetManager {\n // istanbul ignore next\n if (!UiFramework._widgetManager)\n // eslint-disable-next-line deprecation/deprecation\n throw new UiError(\n UiFramework.loggerCategory(this),\n UiFramework._complaint\n );\n return UiFramework._widgetManager;\n }\n\n /** Calls localization.getLocalizedString with the \"UiFramework\" namespace. Do NOT include the namespace in the key.\n * @internal\n */\n public static translate(\n key: string | string[],\n options?: TranslationOptions\n ): string {\n return IModelApp.localization.getLocalizedString(\n `${UiFramework.localizationNamespace}:${key}`,\n options\n );\n }\n\n /** @internal */\n public static get packageName(): string {\n return \"appui-react\";\n }\n\n /** @internal */\n public static loggerCategory(obj: any): string {\n const className = getObjectClassName(obj);\n const category =\n UiFramework.packageName + (className ? `.${className}` : \"\");\n return category;\n }\n\n public static dispatchActionToStore(\n type: string,\n payload: any,\n immediateSync = false\n ) {\n UiFramework.store.dispatch({ type, payload });\n if (immediateSync) SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(type);\n else SyncUiEventDispatcher.dispatchSyncUiEvent(type);\n }\n\n public static setAccudrawSnapMode(snapMode: SnapMode) {\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetSnapMode,\n snapMode,\n true\n );\n }\n\n public static getAccudrawSnapMode(): SnapMode {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.snapMode\n : /* istanbul ignore next */ SnapMode.NearestKeypoint;\n }\n\n /**\n * Returns the stored active selection scope id.\n */\n public static getActiveSelectionScope(): string {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.activeSelectionScope\n : /* istanbul ignore next */ \"element\";\n }\n\n /**\n * This method stores the active selection scope to the supplied scope id, and triggers\n * a `SessionStateActionId.SetSelectionScope` event in the `SyncUiEventDispatcher`.\n * Note: As of 4.0, this method *does not change* the active selection scope in the `Presentation.selection.scopes.activeScope` property.\n * This event should be listened to and the change should typically be applied to\n * `Presentation.selection.scopes.activeScope` property from the `@itwin/presentation-frontend` package.\n */\n public static setActiveSelectionScope(selectionScopeId: string): void {\n // istanbul ignore else\n if (UiFramework.frameworkState) {\n const foundIndex =\n UiFramework.frameworkState.sessionState.availableSelectionScopes.findIndex(\n (selectionScope: PresentationSelectionScope) =>\n selectionScope.id === selectionScopeId\n );\n if (-1 !== foundIndex) {\n const scope =\n UiFramework.frameworkState.sessionState.availableSelectionScopes[\n foundIndex\n ];\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetSelectionScope,\n scope.id\n );\n }\n }\n }\n\n /** Show a context menu at a particular location.\n * @param items Properties of the menu items to display.\n * @param location Location of the context menu, relative to the origin of anchorElement or the overall window.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static openContextMenu(\n items: CursorMenuItemProps[],\n location: XAndY,\n anchorElement?: HTMLElement\n ): boolean {\n let position = location;\n let childWindowId: string | undefined;\n\n if (anchorElement) {\n const anchorOffset = anchorElement.getBoundingClientRect();\n\n position = {\n x: anchorOffset.left + location.x,\n y: anchorOffset.top + location.y,\n };\n\n childWindowId = UiFramework.childWindows.findId(\n anchorElement.ownerDocument.defaultView\n );\n }\n\n position = {\n x: position.x + UiFramework.CONTEXT_MENU_OFFSET,\n y: position.y + UiFramework.CONTEXT_MENU_OFFSET,\n };\n\n const cursorMenuData: CursorMenuPayload = {\n position,\n items,\n childWindowId,\n };\n UiFramework.openCursorMenu(cursorMenuData);\n\n return true;\n }\n\n /** @public */\n public static openCursorMenu(\n // eslint-disable-next-line deprecation/deprecation\n menuData: CursorMenuData | CursorMenuPayload | undefined\n ): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.UpdateCursorMenu,\n menuData\n );\n }\n\n /** @public */\n public static closeCursorMenu(): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.UpdateCursorMenu,\n undefined\n );\n }\n\n /** @public */\n public static getCursorMenuData(): // eslint-disable-next-line deprecation/deprecation\n CursorMenuData | CursorMenuPayload | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.cursorMenuPayload ??\n UiFramework.frameworkState.sessionState.cursorMenuData\n : /* istanbul ignore next */ undefined;\n }\n\n public static getActiveIModelId(): string {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.iModelId\n : /* istanbul ignore next */ \"\";\n }\n\n public static setActiveIModelId(iModelId: string): void {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetActiveIModelId,\n iModelId\n );\n }\n\n public static setIModelConnection(\n iModelConnection: IModelConnection | undefined,\n immediateSync = false\n ) {\n const oldConnection = UiFramework.getIModelConnection();\n if (oldConnection === iModelConnection) return;\n\n InternalFrontstageManager.clearFrontstageDefsForIModelId(\n oldConnection?.iModelId\n );\n\n oldConnection && SyncUiEventDispatcher.clearConnectionEvents(oldConnection);\n iModelConnection &&\n SyncUiEventDispatcher.initializeConnectionEvents(iModelConnection);\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetIModelConnection,\n iModelConnection,\n immediateSync\n );\n const itemsSelected = iModelConnection\n ? iModelConnection.selectionSet.elements.size\n : 0;\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetNumItemsSelected,\n itemsSelected\n );\n UiFramework.setActiveIModelId(iModelConnection?.iModelId ?? \"\");\n }\n\n public static getIModelConnection(): IModelConnection | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.iModelConnection\n : /* istanbul ignore next */ undefined;\n }\n\n /** Called by iModelApp to initialize saved UI state from registered UseSettingsProviders\n * @public\n */\n public static async initializeStateFromUserSettingsProviders(\n immediateSync = false\n ) {\n // let any registered providers to load values from the new storage location\n const providerKeys = [...this._uiSettingsProviderRegistry.keys()];\n for await (const key of providerKeys) {\n await this._uiSettingsProviderRegistry\n .get(key)!\n .loadUserSettings(UiFramework._uiStateStorage);\n }\n\n // istanbul ignore next\n if (immediateSync)\n SyncUiEventDispatcher.dispatchImmediateSyncUiEvent(\n SyncUiEventId.UiStateStorageChanged\n );\n else\n SyncUiEventDispatcher.dispatchSyncUiEvent(\n SyncUiEventId.UiStateStorageChanged\n );\n }\n\n /** @public */\n public static async setUiStateStorage(\n storage: UiStateStorage,\n immediateSync = false\n ) {\n if (UiFramework._uiStateStorage === storage) return;\n\n UiFramework._uiStateStorage = storage;\n await this.initializeStateFromUserSettingsProviders(immediateSync);\n }\n\n /** The UI Settings Storage is a convenient wrapper around Local Storage to assist in caching state information across user sessions.\n * It was previously used to conflate both the state information across session and the information driven directly from user explicit action,\n * which are now handled with user preferences.\n * @public\n */\n public static getUiStateStorage(): UiStateStorage {\n return UiFramework._uiStateStorage;\n }\n\n public static setDefaultIModelViewportControlId(\n iModelViewportControlId: string,\n immediateSync = false\n ) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultIModelViewportControlId,\n iModelViewportControlId,\n immediateSync\n );\n }\n\n public static getDefaultIModelViewportControlId(): string | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultIModelViewportControlId\n : /* istanbul ignore next */ undefined;\n }\n\n public static setDefaultViewId(viewId: string, immediateSync = false) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultViewId,\n viewId,\n immediateSync\n );\n }\n\n public static getDefaultViewId(): string | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultViewId\n : /* istanbul ignore next */ undefined;\n }\n\n public static setDefaultViewState(\n viewState: ViewState,\n immediateSync = false\n ) {\n UiFramework.dispatchActionToStore(\n SessionStateActionId.SetDefaultViewState,\n viewState,\n immediateSync\n );\n }\n public static getDefaultViewState(): ViewState | undefined {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.defaultViewState\n : /* istanbul ignore next */ undefined;\n }\n\n /**\n * Returns the stored list of available selection scopes. This list should be set by the application\n * by dispatching the `setAvailableSelectionScopes` action.\n * The value for this action typically come from `Presentation.selection.scopes.getSelectionScopes()`\n * method found in the `@itwin/presentation-frontend` package.\n * @public */\n public static getAvailableSelectionScopes(): PresentationSelectionScope[] {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.sessionState.availableSelectionScopes\n : /* istanbul ignore next */\n [{ id: \"element\", label: \"Element\" } as PresentationSelectionScope];\n }\n\n public static getIsUiVisible() {\n return UiFramework.visibility.isUiVisible;\n }\n\n public static setIsUiVisible(visible: boolean) {\n if (UiFramework.visibility.isUiVisible !== visible) {\n UiFramework.visibility.isUiVisible = visible;\n UiFramework.onUiVisibilityChanged.emit({ visible });\n }\n }\n\n /**\n * Set the theme value used by the [[ThemeManager]] component.\n */\n public static setColorTheme(theme: ThemeId) {\n if (UiFramework.getColorTheme() === theme) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetTheme,\n theme,\n true\n );\n }\n\n public static getColorTheme(): ThemeId {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.theme\n : /* istanbul ignore next */ SYSTEM_PREFERRED_COLOR_THEME;\n }\n\n /** UiFramework.setToolbarOpacity() sets the non-hovered opacity to the value specified.\n * @param opacity a value between 0 and 1. The default value is 0.5. IT IS NOT ADVISED TO USE A VALUE BELOW 0.2\n * @public\n */\n public static setToolbarOpacity(opacity: number) {\n if (UiFramework.getToolbarOpacity() === opacity) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetToolbarOpacity,\n opacity,\n true\n );\n }\n\n /** UiFramework.getToolbarOpacity() returns a number between 0 and 1 that is the non-hovered opacity for toolbars.\n * @public\n */\n public static getToolbarOpacity(): number {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.toolbarOpacity\n : /* istanbul ignore next */ TOOLBAR_OPACITY_DEFAULT;\n }\n\n public static setWidgetOpacity(opacity: number) {\n if (UiFramework.getWidgetOpacity() === opacity) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetWidgetOpacity,\n opacity,\n true\n );\n }\n\n public static getWidgetOpacity(): number {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.widgetOpacity\n : /* istanbul ignore next */ WIDGET_OPACITY_DEFAULT;\n }\n\n /** @deprecated in 4.13.x. Use {@link @itwin/core-bentley#ProcessDetector.isMobileBrowser} instead. */\n // eslint-disable-next-line @itwin/prefer-get\n public static isMobile() {\n return ProcessDetector.isMobileBrowser;\n }\n\n public static get showWidgetIcon(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.showWidgetIcon\n : /* istanbul ignore next */ false;\n }\n\n public static setShowWidgetIcon(value: boolean) {\n if (UiFramework.showWidgetIcon === value) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetShowWidgetIcon,\n value,\n true\n );\n }\n /** Animate Tool Settings on appear */\n public static get animateToolSettings(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.animateToolSettings\n : /* istanbul ignore next */ false;\n }\n public static setAnimateToolSettings(value: boolean) {\n if (UiFramework.animateToolSettings === value) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.AnimateToolSettings,\n value,\n true\n );\n }\n\n /** Use Tool Name As Tool Settings Widget Tab Label */\n public static get useToolAsToolSettingsLabel(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState\n .useToolAsToolSettingsLabel\n : /* istanbul ignore next */ false;\n }\n public static setUseToolAsToolSettingsLabel(value: boolean) {\n if (UiFramework.useToolAsToolSettingsLabel === value) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.UseToolAsToolSettingsLabel,\n value,\n true\n );\n }\n\n /** When `true`, panels will close as soon as the mouse leave the panel.\n * When `false` (default), panels will close on next click outside the panel.\n * @public */\n public static get autoCollapseUnpinnedPanels(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState\n .autoCollapseUnpinnedPanels\n : /* istanbul ignore next */ false;\n }\n\n /** Method used to enable the automatic closing of an unpinned widget panel as soon as the\n * mouse leaves the widget panel. The default behavior is to require a mouse click outside\n * the panel before it is closed.\n * @public */\n\n public static setAutoCollapseUnpinnedPanels(value: boolean) {\n if (UiFramework.autoCollapseUnpinnedPanels === value) return;\n\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.AutoCollapseUnpinnedPanels,\n value,\n true\n );\n }\n\n public static get useDragInteraction(): boolean {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.useDragInteraction\n : false;\n }\n\n public static setUseDragInteraction(useDragInteraction: boolean) {\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetDragInteraction,\n useDragInteraction,\n true\n );\n }\n\n /** Returns the variable controlling whether the overlay is displayed in a Viewport\n * @public\n */\n public static get viewOverlayDisplay() {\n return UiFramework.frameworkState\n ? UiFramework.frameworkState.configurableUiState.viewOverlayDisplay\n : /* istanbul ignore next */ true;\n }\n /** Set the variable that controls display of the view overlay. Applies to all viewports in the app\n * @public\n */\n public static setViewOverlayDisplay(display: boolean) {\n if (UiFramework.viewOverlayDisplay === display) return;\n UiFramework.dispatchActionToStore(\n ConfigurableUiActionId.SetViewOverlayDisplay,\n display\n );\n }\n\n /** Determines whether a ContextMenu is open\n * @alpha\n * */\n public static get isContextMenuOpen(): boolean {\n const contextMenu = document.querySelector(\"div.core-context-menu-opened\");\n return contextMenu !== null && contextMenu !== undefined;\n }\n\n /** Show a Card containing content, a title and a toolbar at a particular location.\n * @param content The React component of the content to display\n * @param title Title to display at the top of the card.\n * @param toolbarProps Properties of the Toolbar to display.\n * @param location Location of the Card, relative to the origin of anchorElement or the window.\n * @param offset Offset of the Card from the location.\n * @param onItemExecuted Function invoked after a Toolbar item is executed\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Card\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the Card. If undefined, the location is relative to the overall window.\n * @return true if the Card was displayed, false if the Card could not be displayed.\n * @internal\n */\n public static showCard(\n content: React.ReactNode,\n title: string | PropertyRecord | undefined,\n toolbarProps: ToolbarProps,\n location: XAndY,\n offset: XAndY,\n onItemExecuted: (item: any) => void,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const anchor = this.resolveHtmlElement(anchorElement);\n\n return PopupManager.displayCard(content, {\n title,\n toolbarProps,\n location,\n offset,\n onItemExecuted,\n onCancel,\n placement,\n anchor,\n });\n }\n\n /**\n * Hides a Card displayed with {@link UiFramework.showCard}\n * @internal\n */\n public static hideCard() {\n return PopupManager.hideCard();\n }\n\n /** Opens a Tool Settings Ui popup at a particular location.\n * @param dataProvider The DialogLayoutDataProvider for the tool settings popup dialog.\n * @param location Location of the tool settings, relative to the origin of anchorElement or the window\n * @param offset Offset of the tool settings from the location\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the tool settings\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the tool settings. If undefined, the location is relative to the overall window.\n * @return true if the tool settings were displayed, false if the tool settings could not be displayed.\n * @internal\n */\n public static openToolSettingsPopup(\n dataProvider: DialogLayoutDataProvider,\n location: XAndY,\n offset: XAndY,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n const relativePosition = mapToRelativePosition(placement);\n\n return PopupManager.openToolSettings(\n dataProvider,\n el,\n location,\n offset,\n onCancel,\n relativePosition\n );\n }\n\n /**\n * Closes the Tool Settings Ui popup.\n * @internal\n */\n public static closeToolSettingsPopup() {\n return PopupManager.closeToolSettings();\n }\n\n /** Show a Toolbar at a particular location.\n * @param toolbarProps Properties of the Toolbar to display.\n * @param location Location of the Toolbar, relative to the origin of anchorElement or the overall window.\n * @param offset Offset of the Toolbar from the location.\n * @param onItemExecuted Function invoked after a Toolbar item is executed\n * @param onCancel Function invoked when the Escape key is pressed or a click occurs outside the Toolbar\n * @param placement {@link Placement} relative to the given location. Defaults to top-end.\n * @param anchorElement The HTMLElement that anchors the Toolbar. If undefined, the location is relative to the overall window.\n * @return true if the Toolbar was displayed, false if the Toolbar could not be displayed.\n */\n public static showToolbar(\n toolbarProps: ToolbarProps,\n location: XAndY,\n offset: XAndY,\n onItemExecuted: (item: any) => void,\n onCancel: () => void,\n placement: Placement = \"top-end\",\n anchorElement?: HTMLElement\n ): boolean {\n const anchor = UiFramework.resolveHtmlElement(anchorElement);\n\n return PopupManager.displayToolbar(toolbarProps.items, {\n anchor,\n location,\n offset,\n onItemExecuted,\n onCancel,\n placement,\n });\n }\n\n /** Hides a toolbar displayed via {@link UiFramework.showToolbar} */\n public static hideToolbar() {\n return PopupManager.hideToolbar();\n }\n\n /** Show a menu button at a particular location. A menu button opens a context menu.\n * @param id Id of the menu button. Multiple menu buttons may be displayed.\n * @param menuItemsProps Properties of the menu items to display.\n * @param location Location of the context menu, relative to the origin of anchorElement or the window.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static showMenuButton(\n id: string,\n menuItemsProps: CursorMenuItemProps[],\n location: XAndY,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n return AccuDrawPopupManager.showMenuButton(\n id,\n el,\n location,\n menuItemsProps\n );\n }\n\n /** Hides a menu button.\n * @param id Id of the menu button. Multiple menu buttons may be displayed.\n * @return true if the menu was hidden, false if the menu could not be hidden.\n */\n public static hideMenuButton(id: string) {\n return AccuDrawPopupManager.hideMenuButton(id);\n }\n /** Show a calculator at a particular location.\n * @param initialValue Value initially displayed in the calculator.\n * @param resultIcon Icon displayed to the left of the value.\n * @param location Location of the calculator, relative to the origin of anchorElement or the window.\n * @param onOk Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the menu was displayed, false if the menu could not be displayed.\n */\n public static showCalculator(\n initialValue: number,\n resultIcon: string,\n location: XAndY,\n onOk: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n\n return AccuDrawPopupManager.showCalculator(\n el,\n location,\n initialValue,\n resultIcon,\n onOk,\n onCancel\n );\n }\n\n /** Hides the calculator. */\n public static hideCalculator(): boolean {\n return AccuDrawPopupManager.hideCalculator();\n }\n\n /** Show a React Element at a particular location.\n * @param component The ReactElement to display\n * @param options - Optional {@link: ShowComponentParams}\n */\n\n public static showComponent(...params: OptionalShowComponentParams): boolean {\n const options: (typeof params)[1] = params[1] || {};\n const component = params[0];\n const { anchorRef, id } = options;\n\n let { location, offset, onCancel, placement } = options;\n\n if (!location) location = { x: 0, y: 0 };\n if (!offset) offset = { x: 0, y: 0 };\n if (!placement) placement = \"top-end\";\n if (!onCancel) onCancel = () => UiFramework.hideComponent(id);\n\n return PopupManager.showComponent(component, {\n location,\n offset,\n onCancel,\n placement,\n anchor: anchorRef?.current ?? undefined,\n id,\n });\n }\n\n /**\n * Hides the Component previously shown with {@link UiFramework.showComponent}\n */\n public static hideComponent(id?: string): boolean {\n return PopupManager.hideComponent(id);\n }\n\n /** Show an input editor for an angle value at a particular location.\n * @param initialValue Value initially displayed in the editor.\n * @param location Location of the editor, relative to the origin of anchorElement or the window.\n * @param onCommit Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n */\n public static showAngleEditor(\n initialValue: number,\n location: XAndY,\n onCommit: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n\n return AccuDrawPopupManager.showAngleEditor(\n el,\n location,\n initialValue,\n onCommit,\n onCancel\n );\n }\n\n /** Show an input editor for a length value at a particular location.\n * @param ShowInputEditorOptions Options detailed below for the input editor\n * @param ShowInputEditorOptions.anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @param ShowInputEditorOptions.propertyDescription Description of the primitive value property\n * @param ShowInputEditorOptions.initialValue Value initially displayed in the editor.\n * @param ShowInputEditorOptions.location Location of the editor, relative to the origin of anchorElement or the window.\n * @param ShowInputEditorOptions.onCommit Function called when the OK button or the Enter key is pressed.\n * @param ShowInputEditorOptions.onCancel Function called when the Cancel button or the Escape key is pressed.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n * @internal\n */\n public static showInputEditor({\n anchorElement,\n initialValue,\n location,\n onCancel,\n onCommit,\n propertyDescription,\n }: ShowInputEditorOptions): boolean {\n const el = this.resolveHtmlElement(anchorElement);\n PopupManager.showInputEditor(\n el,\n location,\n initialValue,\n propertyDescription,\n onCommit,\n onCancel\n );\n return true;\n }\n\n /** Show an input editor for a length value at a particular location.\n * @param dimension Dimension determining which editor to display.\n * @param initialValue Value initially displayed in the editor.\n * @param location Location of the editor, relative to the origin of anchorElement or the window.\n * @param onCommit Function called when the OK button or the Enter key is pressed.\n * @param onCancel Function called when the Cancel button or the Escape key is pressed.\n * @param anchorElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window.\n * @return true if the editor was displayed, false if the editor could not be displayed.\n */\n public static showDimensionEditor(\n dimension: \"height\" | \"length\",\n initialValue: number,\n location: XAndY,\n onCommit: (value: number) => void,\n onCancel: () => void,\n anchorElement?: HTMLElement\n ) {\n const el = this.resolveHtmlElement(anchorElement);\n return AccuDrawPopupManager.showDimensionEditor(\n dimension,\n el,\n location,\n initialValue,\n onCommit,\n onCancel\n );\n }\n\n /** Hides the input editor.\n * @internal\n */\n public static hideInputEditor(): boolean {\n return PopupManager.hideInputEditor();\n }\n\n /** Opens a Dialog and automatically populates it using the properties defined by the UiDataProvider.\n * @param uiDataProvider The UiDataProvider for the tool settings\n * @param title Specify title for dialog.\n * @param isModal Specify if the dialog is opened as a modal or modeless.\n * @param id Id of the dialog that is used to close it.\n * @param optionalProps Optional props for Dialog construction.\n * @return true if the tool settings were displayed, false if the tool settings could not be displayed.\n * @internal\n */\n public static openDialog(\n uiDataProvider: DialogLayoutDataProvider,\n title: string,\n isModal: boolean,\n id: string,\n optionalProps?: DialogProps\n ): boolean {\n const dialog = createElement(UiDataProvidedDialog, {\n uiDataProvider,\n title,\n isModal,\n id,\n ...optionalProps,\n });\n const modalType = isModal ? \"modal\" : \"modeless\";\n UiFramework.dialogs[modalType].open(dialog, id);\n return true;\n }\n\n /** Closes the Dialog with the specified dialogId.\n * @param dialogId Id of the dialog to close.\n * @internal\n */\n public static closeDialog(dialogId: string): boolean {\n const findFn = (info: DialogInfo) => info.id === dialogId;\n // istanbul ignore else\n if (UiFramework.dialogs.modeless.dialogs.findIndex(findFn) !== -1) {\n UiFramework.dialogs.modeless.close(dialogId);\n return true;\n }\n\n // istanbul ignore else\n if (UiFramework.dialogs.modal.dialogs.findIndex(findFn) !== -1) {\n UiFramework.dialogs.modal.close();\n return true;\n }\n\n // istanbul ignore next\n return false;\n }\n\n /** Show the Key-in Palette to display key-in from all registered Tools.\n * @param keyinEntries A list of KeyinEntry to display in the palette. These can be gathered and filtered from iModelApp.tools.getToolList()\n * @param htmlElement The HTMLElement that anchors the Popup. If undefined, the location is relative to the overall window.\n * @return true if the Command Palette was displayed, false if it could not be displayed.\n */\n public static showKeyinPalette(\n keyinEntries: KeyinEntry[],\n htmlElement?: HTMLElement\n ): boolean {\n return PopupManager.showKeyinPalette(\n keyinEntries,\n UiFramework.resolveHtmlElement(htmlElement)\n );\n }\n\n /** Hides the Key-in Palette. */\n public static hideKeyinPalette(): boolean {\n return PopupManager.hideKeyinPalette();\n }\n\n private static resolveHtmlElement(htmlElement?: HTMLElement): HTMLElement {\n const el = htmlElement ?? UiFramework.controls.getWrapperElement();\n return el;\n }\n}\n"]}
|