@itwin/appui-react 4.5.0 → 4.6.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 +20 -1
- package/lib/cjs/appui-react/UiFramework.js +7 -4
- package/lib/cjs/appui-react/UiFramework.js.map +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +2 -2
- package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
- package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -1
- package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/CopyStyles.js +3 -1
- package/lib/cjs/appui-react/childwindow/CopyStyles.js.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +3 -2
- package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
- package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/cjs/appui-react/configurableui/TimeTracker.js +2 -1
- package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/cjs/appui-react/content/ContentLayout.js +12 -9
- package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js +4 -3
- package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -1
- package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/cjs/appui-react/content/IModelViewport.js +6 -3
- package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +2 -1
- package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -1
- package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js +12 -10
- package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +6 -6
- package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- 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 -2
- package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -4
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +5 -5
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +2 -2
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/cjs/appui-react/dialog/ContentDialog.js +6 -3
- package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js +3 -2
- package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +1 -2
- package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +22 -26
- package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js +177 -216
- package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +3 -7
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +2 -6
- package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +3 -2
- package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +2 -1
- 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.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
- package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
- package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +13 -8
- package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/cjs/appui-react/messages/ActivityMessage.js +7 -5
- package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts +0 -1
- package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/MessageManager.js +1 -2
- package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.d.ts +1 -2
- package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js +1 -1
- package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
- package/lib/cjs/appui-react/pickers/ViewSelector.js +6 -5
- package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +2 -1
- package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/cjs/appui-react/popup/PopupManager.js +2 -1
- package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
- package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/cjs/appui-react/popup/PositionPopup.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.js +1 -2
- package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +16 -20
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +86 -116
- package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js +2 -1
- package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -3
- package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/cjs/appui-react/statusfields/MessageCenter.js +1 -2
- package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
- package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts +36 -0
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts.map +1 -0
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.js +134 -0
- package/lib/cjs/appui-react/syncui/InternalSyncUiEventDispatcher.js.map +1 -0
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +2 -2
- package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-react/syncui/UiSyncEvent.d.ts +16 -0
- package/lib/cjs/appui-react/syncui/UiSyncEvent.d.ts.map +1 -0
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js +18 -0
- package/lib/cjs/appui-react/syncui/UiSyncEvent.js.map +1 -0
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +4 -6
- package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +4 -3
- package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +17 -10
- package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -3
- package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +14 -12
- package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -9
- package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +2 -1
- package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +14 -8
- package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
- package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
- package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- 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.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.js +9 -8
- package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +7 -29
- package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Frontstage.js +128 -463
- package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
- package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.js +1 -1
- package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js +34 -15
- package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -2
- package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +2 -2
- package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/cjs/appui-react/widgets/Widget.d.ts +10 -4
- package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +9 -29
- package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetDef.js +90 -46
- package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/cjs/appui-react/widgets/WidgetHost.js +3 -2
- package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/cjs/appui-react.d.ts +1 -0
- package/lib/cjs/appui-react.d.ts.map +1 -1
- package/lib/cjs/appui-react.js +1 -0
- package/lib/cjs/appui-react.js.map +1 -1
- package/lib/esm/appui-react/UiFramework.js +7 -4
- package/lib/esm/appui-react/UiFramework.js.map +1 -1
- package/lib/esm/appui-react/accudraw/MenuButton.d.ts +2 -2
- package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
- package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -1
- package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
- package/lib/esm/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/CopyStyles.js +3 -1
- package/lib/esm/appui-react/childwindow/CopyStyles.js.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +3 -2
- package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
- package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
- package/lib/esm/appui-react/configurableui/TimeTracker.js +2 -1
- package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
- package/lib/esm/appui-react/content/ContentLayout.js +12 -9
- package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
- package/lib/esm/appui-react/content/DefaultViewOverlay.js +4 -3
- package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -1
- package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
- package/lib/esm/appui-react/content/IModelViewport.js +6 -3
- package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js +2 -1
- package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -1
- package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
- package/lib/esm/appui-react/content/split-pane/SplitPane.js +12 -10
- package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts +6 -6
- package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
- 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 -2
- package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -4
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +5 -5
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +2 -2
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
- package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
- package/lib/esm/appui-react/dialog/ContentDialog.js +6 -3
- package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
- package/lib/esm/appui-react/dialog/DialogManagerBase.js +3 -2
- package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +1 -2
- package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
- package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +22 -26
- package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/FrontstageDef.js +181 -220
- package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +3 -7
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +2 -6
- package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +3 -2
- package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
- package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +2 -1
- 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.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
- package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
- package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
- package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js +13 -8
- package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
- package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
- package/lib/esm/appui-react/messages/ActivityMessage.js +7 -5
- package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts +0 -1
- package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/MessageManager.js +1 -2
- package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.d.ts +1 -2
- package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
- package/lib/esm/appui-react/messages/Pointer.js +1 -1
- package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
- package/lib/esm/appui-react/pickers/ViewSelector.js +6 -5
- package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js +2 -1
- package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
- package/lib/esm/appui-react/popup/PopupManager.js +2 -1
- package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
- package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
- package/lib/esm/appui-react/popup/PositionPopup.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.js +1 -2
- package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
- package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +16 -20
- package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js +84 -115
- package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
- package/lib/esm/appui-react/statusbar/Indicator.js +2 -1
- package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
- package/lib/esm/appui-react/statusbar/StatusBar.js +5 -3
- package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
- package/lib/esm/appui-react/statusfields/MessageCenter.js +1 -2
- package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
- package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts +36 -0
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.d.ts.map +1 -0
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.js +130 -0
- package/lib/esm/appui-react/syncui/InternalSyncUiEventDispatcher.js.map +1 -0
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +2 -2
- package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-react/syncui/UiSyncEvent.d.ts +16 -0
- package/lib/esm/appui-react/syncui/UiSyncEvent.d.ts.map +1 -0
- package/lib/esm/appui-react/syncui/UiSyncEvent.js +14 -0
- package/lib/esm/appui-react/syncui/UiSyncEvent.js.map +1 -0
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js +4 -6
- package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +4 -3
- package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js +17 -10
- package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -3
- package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +14 -12
- package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -9
- package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +2 -1
- package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +14 -8
- package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
- package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
- package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
- package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
- 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.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.js +9 -8
- package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +7 -29
- package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/Frontstage.js +131 -462
- package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
- package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.js +1 -1
- package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
- package/lib/esm/appui-react/widget-panels/ToolSettings.js +34 -15
- package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
- package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -2
- package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +2 -2
- package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
- package/lib/esm/appui-react/widgets/Widget.d.ts +10 -4
- package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts +9 -29
- package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetDef.js +90 -46
- package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
- package/lib/esm/appui-react/widgets/WidgetHost.js +3 -2
- package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
- package/lib/esm/appui-react.d.ts +1 -0
- package/lib/esm/appui-react.d.ts.map +1 -1
- package/lib/esm/appui-react.js +1 -0
- package/lib/esm/appui-react.js.map +1 -1
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontstageDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/frontstage/FrontstageDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FrontstageDef.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/frontstage/FrontstageDef.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EAEd,MAAM,2BAA2B,CAAC;AAYnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,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MAAM,GAAG,SAAS;IA2BtC,OAAO,CAAE,WAAW;IAWpB;;OAEG;IACH,IAAW,UAAU;;MAOpB;CACF;AAuCD;;GAEG;AACH,eAAO,MAAM,qBAAqB,cAOjC,CAAC;AAEF;;GAEG;AACH,wBAAgB,sBAAsB,8BAYrC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,yBAepD"}
|
|
@@ -9,16 +9,15 @@
|
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { IModelApp } from "@itwin/core-frontend";
|
|
11
11
|
import { UiError } from "@itwin/appui-abstract";
|
|
12
|
-
import { Rectangle } from "@itwin/core-react";
|
|
13
|
-
import {
|
|
12
|
+
import { Rectangle, Size } from "@itwin/core-react";
|
|
13
|
+
import { getTabLocation, getWidgetLocation, isFloatingTabLocation, isFloatingWidgetLocation, isPanelTabLocation, isPopoutTabLocation, isPopoutWidgetLocation, NineZoneStateReducer, panelSides, } from "@itwin/appui-layout-react";
|
|
14
14
|
import { ContentGroupProvider } from "../content/ContentGroup";
|
|
15
|
-
import { StagePanelDef, StagePanelState
|
|
15
|
+
import { StagePanelDef, StagePanelState } from "../stagepanels/StagePanelDef";
|
|
16
16
|
import { UiFramework } from "../UiFramework";
|
|
17
17
|
import { WidgetDef, WidgetType } from "../widgets/WidgetDef";
|
|
18
18
|
import { TimeTracker } from "../configurableui/TimeTracker";
|
|
19
19
|
import { PopoutWidget } from "../childwindow/PopoutWidget";
|
|
20
|
-
import {
|
|
21
|
-
import { assert, BentleyStatus, ProcessDetector } from "@itwin/core-bentley";
|
|
20
|
+
import { BentleyStatus, ProcessDetector } from "@itwin/core-bentley";
|
|
22
21
|
import { StageUsage } from "./StageUsage";
|
|
23
22
|
import { StagePanelLocation } from "../stagepanels/StagePanelLocation";
|
|
24
23
|
import { WidgetState } from "../widgets/WidgetState";
|
|
@@ -148,54 +147,59 @@ export class FrontstageDef {
|
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
if (!
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
const panel = state.panels[panelSide];
|
|
186
|
-
const location = this.toStagePanelLocation(panelSide);
|
|
187
|
-
const panelDef = this.getStagePanelDef(location);
|
|
188
|
-
if (panelDef) {
|
|
189
|
-
panelDef.size = panel.size;
|
|
190
|
-
panelDef.pinned = panel.pinned;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
150
|
+
triggerStateChangeEvents(oldState) {
|
|
151
|
+
const newState = this.nineZoneState;
|
|
152
|
+
if (!newState)
|
|
153
|
+
return;
|
|
154
|
+
if (this._isStageClosing || this._isApplicationClosing)
|
|
155
|
+
return;
|
|
156
|
+
const originalPanelStateMap = new Map();
|
|
157
|
+
const originalWidgetStateMap = new Map();
|
|
158
|
+
const newPanelStateMap = new Map();
|
|
159
|
+
const newWidgetStateMap = new Map();
|
|
160
|
+
this.populateStateMaps(oldState, originalPanelStateMap, originalWidgetStateMap);
|
|
161
|
+
this.populateStateMaps(newState, newPanelStateMap, newWidgetStateMap);
|
|
162
|
+
// Now walk and trigger set state events
|
|
163
|
+
newWidgetStateMap.forEach((newWidgetState, widgetDef) => {
|
|
164
|
+
const originalState = originalWidgetStateMap.get(widgetDef);
|
|
165
|
+
if (originalState === newWidgetState)
|
|
166
|
+
return;
|
|
167
|
+
widgetDef.handleWidgetStateChanged(newWidgetState);
|
|
168
|
+
});
|
|
169
|
+
newPanelStateMap.forEach((newPanelState, panelDef) => {
|
|
170
|
+
const originalState = originalPanelStateMap.get(panelDef);
|
|
171
|
+
if (originalState === newPanelState)
|
|
172
|
+
return;
|
|
173
|
+
panelDef.handlePanelStateChanged(newPanelState);
|
|
174
|
+
});
|
|
175
|
+
for (const panelSide of panelSides) {
|
|
176
|
+
const panel = newState.panels[panelSide];
|
|
177
|
+
const oldPanel = oldState.panels[panelSide];
|
|
178
|
+
const location = this.toStagePanelLocation(panelSide);
|
|
179
|
+
const panelDef = this.getStagePanelDef(location);
|
|
180
|
+
if (!panelDef)
|
|
181
|
+
continue;
|
|
182
|
+
if (panel.size !== oldPanel.size) {
|
|
183
|
+
panelDef.handleSizeChanged(panel.size);
|
|
193
184
|
}
|
|
194
|
-
|
|
195
|
-
|
|
185
|
+
if (panel.pinned !== oldPanel.pinned) {
|
|
186
|
+
panelDef.handlePinnedChanged(panel.pinned);
|
|
196
187
|
}
|
|
197
188
|
}
|
|
198
189
|
}
|
|
190
|
+
handlePopouts(oldState) {
|
|
191
|
+
const newState = this.nineZoneState;
|
|
192
|
+
const oldPopouts = (oldState === null || oldState === void 0 ? void 0 : oldState.popoutWidgets.allIds) || [];
|
|
193
|
+
const newPopouts = (newState === null || newState === void 0 ? void 0 : newState.popoutWidgets.allIds) || [];
|
|
194
|
+
const popoutsToClose = oldPopouts.filter((p) => !newPopouts.includes(p));
|
|
195
|
+
const popoutsToOpen = newPopouts.filter((p) => !oldPopouts.includes(p));
|
|
196
|
+
for (const popoutId of popoutsToClose) {
|
|
197
|
+
UiFramework.childWindows.close(popoutId, true);
|
|
198
|
+
}
|
|
199
|
+
for (const popoutId of popoutsToOpen) {
|
|
200
|
+
this.openPopoutWidgetContainer(popoutId);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
199
203
|
/** @internal */
|
|
200
204
|
get nineZoneState() {
|
|
201
205
|
return this._nineZoneState;
|
|
@@ -203,26 +207,32 @@ export class FrontstageDef {
|
|
|
203
207
|
set nineZoneState(state) {
|
|
204
208
|
if (this._nineZoneState === state)
|
|
205
209
|
return;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
this.
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
if (
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
210
|
+
const oldState = this._nineZoneState;
|
|
211
|
+
this._nineZoneState = state;
|
|
212
|
+
this.handlePopouts(oldState);
|
|
213
|
+
if (oldState) {
|
|
214
|
+
this.triggerStateChangeEvents(oldState);
|
|
215
|
+
}
|
|
216
|
+
const isClosing = this._isStageClosing || this._isApplicationClosing;
|
|
217
|
+
if (isClosing && !this.isReady)
|
|
218
|
+
return;
|
|
219
|
+
InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.emit({
|
|
220
|
+
frontstageDef: this,
|
|
221
|
+
state,
|
|
222
|
+
});
|
|
219
223
|
}
|
|
220
224
|
/** @internal */
|
|
221
|
-
get
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
225
|
+
get dispatch() {
|
|
226
|
+
var _a;
|
|
227
|
+
return ((_a = this._dispatch) !== null && _a !== void 0 ? _a : (this._dispatch = (action) => {
|
|
228
|
+
if (action.type === "RESIZE") {
|
|
229
|
+
InternalFrontstageManager.nineZoneSize = Size.create(action.size);
|
|
230
|
+
}
|
|
231
|
+
const state = this.nineZoneState;
|
|
232
|
+
if (!state)
|
|
233
|
+
return;
|
|
234
|
+
this.nineZoneState = NineZoneStateReducer(state, action);
|
|
235
|
+
}));
|
|
226
236
|
}
|
|
227
237
|
/** @internal */
|
|
228
238
|
get timeTracker() {
|
|
@@ -508,8 +518,13 @@ export class FrontstageDef {
|
|
|
508
518
|
this.panelDefs.forEach((stagePanelDef) => {
|
|
509
519
|
stagePanelDef.updateDynamicWidgetDefs(this.id, this.usage, stagePanelDef.location, undefined, allStageWidgetDefs);
|
|
510
520
|
});
|
|
521
|
+
InternalFrontstageManager.onFrontstageWidgetsChangedEvent.emit({
|
|
522
|
+
frontstageDef: this,
|
|
523
|
+
});
|
|
511
524
|
}
|
|
512
|
-
/**
|
|
525
|
+
/** Restores frontstage layout to initial configuration.
|
|
526
|
+
* @beta
|
|
527
|
+
*/
|
|
513
528
|
restoreLayout() {
|
|
514
529
|
for (const panelDef of this.panelDefs) {
|
|
515
530
|
panelDef.size = panelDef.defaultSize;
|
|
@@ -526,12 +541,13 @@ export class FrontstageDef {
|
|
|
526
541
|
* @internal
|
|
527
542
|
*/
|
|
528
543
|
getWidgetCurrentState(widgetDef) {
|
|
544
|
+
var _a, _b;
|
|
529
545
|
const state = this.nineZoneState;
|
|
530
546
|
// istanbul ignore else
|
|
531
547
|
if (state) {
|
|
532
|
-
const toolSettingsTabId = state.toolSettings
|
|
548
|
+
const toolSettingsTabId = (_a = state.toolSettings) === null || _a === void 0 ? void 0 : _a.tabId;
|
|
533
549
|
if (toolSettingsTabId === widgetDef.id &&
|
|
534
|
-
state.toolSettings
|
|
550
|
+
((_b = state.toolSettings) === null || _b === void 0 ? void 0 : _b.type) === "docked") {
|
|
535
551
|
return WidgetState.Open;
|
|
536
552
|
}
|
|
537
553
|
const location = getTabLocation(state, widgetDef.id);
|
|
@@ -539,11 +555,7 @@ export class FrontstageDef {
|
|
|
539
555
|
if (!location)
|
|
540
556
|
return WidgetState.Hidden;
|
|
541
557
|
if (isFloatingTabLocation(location)) {
|
|
542
|
-
|
|
543
|
-
if (floatingWidget && floatingWidget.hidden)
|
|
544
|
-
return WidgetState.Hidden;
|
|
545
|
-
else
|
|
546
|
-
return WidgetState.Floating;
|
|
558
|
+
return WidgetState.Floating;
|
|
547
559
|
}
|
|
548
560
|
let collapsedPanel = false;
|
|
549
561
|
// istanbul ignore else
|
|
@@ -560,24 +572,6 @@ export class FrontstageDef {
|
|
|
560
572
|
}
|
|
561
573
|
return widgetDef.defaultState;
|
|
562
574
|
}
|
|
563
|
-
/** Used only in UI 2.0 to determine StagePanelState and size from NinezoneState
|
|
564
|
-
* @internal
|
|
565
|
-
*/
|
|
566
|
-
getPanelCurrentState(panelDef) {
|
|
567
|
-
// istanbul ignore next
|
|
568
|
-
if (this.nineZoneState) {
|
|
569
|
-
const side = toPanelSide(panelDef.location);
|
|
570
|
-
const panel = this.nineZoneState.panels[side];
|
|
571
|
-
if (panel)
|
|
572
|
-
return [
|
|
573
|
-
panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open,
|
|
574
|
-
panel.size ?? 0,
|
|
575
|
-
panel.pinned,
|
|
576
|
-
];
|
|
577
|
-
return [StagePanelState.Off, 0, false];
|
|
578
|
-
}
|
|
579
|
-
return [panelDef.defaultState, panelDef.defaultSize ?? 0, true];
|
|
580
|
-
}
|
|
581
575
|
isPopoutWidget(widgetId) {
|
|
582
576
|
// istanbul ignore else
|
|
583
577
|
if (this.nineZoneState) {
|
|
@@ -601,89 +595,65 @@ export class FrontstageDef {
|
|
|
601
595
|
/** Create a new floating panel that contains the widget specified by its Id. Supported only when in
|
|
602
596
|
* UI 2.0 or higher.
|
|
603
597
|
* @param widgetId case sensitive Widget Id
|
|
604
|
-
* @param
|
|
598
|
+
* @param position Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.
|
|
605
599
|
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
606
600
|
* the previous size is used, else {height:400, width:400} is used.
|
|
607
601
|
* @beta
|
|
608
602
|
*/
|
|
609
|
-
floatWidget(widgetId,
|
|
610
|
-
|
|
611
|
-
if (
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
setTimeout(() => {
|
|
623
|
-
popoutWidgetContainerId &&
|
|
624
|
-
UiFramework.childWindows.close(popoutWidgetContainerId, true);
|
|
625
|
-
}, 600);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
603
|
+
floatWidget(widgetId, position, size) {
|
|
604
|
+
const state = this.nineZoneState;
|
|
605
|
+
if (!state)
|
|
606
|
+
return;
|
|
607
|
+
const widgetDef = this.findWidgetDef(widgetId);
|
|
608
|
+
if (!widgetDef)
|
|
609
|
+
return;
|
|
610
|
+
this.dispatch({
|
|
611
|
+
type: "WIDGET_TAB_FLOAT",
|
|
612
|
+
id: widgetId,
|
|
613
|
+
position,
|
|
614
|
+
size,
|
|
615
|
+
});
|
|
629
616
|
}
|
|
630
617
|
/** Check widget and panel state to determine whether the widget is currently displayed
|
|
631
618
|
* @param widgetId case-sensitive Widget Id
|
|
632
619
|
* @public
|
|
633
620
|
*/
|
|
634
621
|
isWidgetDisplayed(widgetId) {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
widgetIsVisible = true;
|
|
646
|
-
}
|
|
647
|
-
else if (isPopoutTabLocation(tabLocation)) {
|
|
648
|
-
widgetIsVisible = true;
|
|
649
|
-
}
|
|
650
|
-
else {
|
|
651
|
-
// istanbul ignore else
|
|
652
|
-
if (isPanelTabLocation(tabLocation)) {
|
|
653
|
-
const panel = this.nineZoneState.panels[tabLocation.side];
|
|
654
|
-
const widgetDef = this.findWidgetDef(widgetId);
|
|
655
|
-
if (widgetDef &&
|
|
656
|
-
widgetDef.state === WidgetState.Open &&
|
|
657
|
-
!panel.collapsed)
|
|
658
|
-
widgetIsVisible = true;
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
622
|
+
if (!this.nineZoneState)
|
|
623
|
+
return false;
|
|
624
|
+
const tabLocation = getTabLocation(this.nineZoneState, widgetId);
|
|
625
|
+
if (!tabLocation)
|
|
626
|
+
return false;
|
|
627
|
+
if (isPanelTabLocation(tabLocation)) {
|
|
628
|
+
const panel = this.nineZoneState.panels[tabLocation.side];
|
|
629
|
+
const widgetDef = this.findWidgetDef(widgetId);
|
|
630
|
+
const isVisible = !!widgetDef && widgetDef.state === WidgetState.Open && !panel.collapsed;
|
|
631
|
+
return isVisible;
|
|
662
632
|
}
|
|
663
|
-
return
|
|
633
|
+
return true;
|
|
664
634
|
}
|
|
665
635
|
/** Opens window for specified PopoutWidget container. Used to reopen popout when running in Electron.
|
|
666
|
-
* @internal
|
|
667
|
-
|
|
636
|
+
* @internal
|
|
637
|
+
*/
|
|
638
|
+
openPopoutWidgetContainer(widgetContainerId) {
|
|
639
|
+
const state = this.nineZoneState;
|
|
640
|
+
if (!state)
|
|
641
|
+
return;
|
|
668
642
|
const location = getWidgetLocation(state, widgetContainerId);
|
|
669
|
-
// istanbul ignore next
|
|
670
643
|
if (!location)
|
|
671
644
|
return;
|
|
672
|
-
// istanbul ignore next
|
|
673
645
|
if (!isPopoutWidgetLocation(location))
|
|
674
646
|
return;
|
|
675
647
|
const widget = state.widgets[widgetContainerId];
|
|
676
|
-
const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];
|
|
677
648
|
// Popout widget should only contain a single tab.
|
|
678
|
-
// istanbul ignore next
|
|
679
649
|
if (widget.tabs.length !== 1)
|
|
680
650
|
return;
|
|
681
651
|
const tabId = widget.tabs[0];
|
|
682
652
|
const widgetDef = this.findWidgetDef(tabId);
|
|
683
|
-
// istanbul ignore next
|
|
684
653
|
if (!widgetDef)
|
|
685
654
|
return;
|
|
686
655
|
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
656
|
+
const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];
|
|
687
657
|
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
688
658
|
const position = {
|
|
689
659
|
width: bounds.getWidth(),
|
|
@@ -696,48 +666,23 @@ export class FrontstageDef {
|
|
|
696
666
|
/** Create a new popout/child window that contains the widget specified by its Id. Supported only when in
|
|
697
667
|
* UI 2.0 or higher.
|
|
698
668
|
* @param widgetId case sensitive Widget Id
|
|
699
|
-
* @param
|
|
669
|
+
* @param position Position of top left corner of floating panel in pixels. If undefined {x:0, y:0} is used.
|
|
700
670
|
* @param size defines the width and height of the floating panel. If undefined and widget has been floated before
|
|
701
671
|
* the previous size is used, else {height:800, width:600} is used.
|
|
702
672
|
* @beta
|
|
703
673
|
*/
|
|
704
|
-
popoutWidget(widgetId,
|
|
705
|
-
|
|
706
|
-
if (!
|
|
707
|
-
return;
|
|
708
|
-
let location = getTabLocation(this.nineZoneState, widgetId);
|
|
709
|
-
if (!location || isPopoutTabLocation(location))
|
|
674
|
+
popoutWidget(widgetId, position, size) {
|
|
675
|
+
const state = this.nineZoneState;
|
|
676
|
+
if (!state)
|
|
710
677
|
return;
|
|
711
678
|
const widgetDef = this.findWidgetDef(widgetId);
|
|
712
|
-
// istanbul ignore next
|
|
713
679
|
if (!widgetDef)
|
|
714
680
|
return;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
if (size)
|
|
721
|
-
preferredBounds = preferredBounds.setSize(size);
|
|
722
|
-
if (point)
|
|
723
|
-
preferredBounds = preferredBounds.setPosition(point);
|
|
724
|
-
const state = popoutWidgetToChildWindow(this.nineZoneState, widgetId, preferredBounds);
|
|
725
|
-
this.nineZoneState = state;
|
|
726
|
-
// now that the state is updated get the id of the container that houses the widgetTab/widgetId
|
|
727
|
-
location = getTabLocation(state, widgetId);
|
|
728
|
-
assert(!!location && isPopoutTabLocation(location));
|
|
729
|
-
const widgetContainerId = location.widgetId;
|
|
730
|
-
const popoutWidget = state.popoutWidgets.byId[widgetContainerId];
|
|
731
|
-
const bounds = Rectangle.create(popoutWidget.bounds);
|
|
732
|
-
setTimeout(() => {
|
|
733
|
-
const popoutContent = (React.createElement(PopoutWidget, { widgetContainerId: widgetContainerId, widgetDef: widgetDef }));
|
|
734
|
-
const position = {
|
|
735
|
-
width: bounds.getWidth(),
|
|
736
|
-
height: bounds.getHeight(),
|
|
737
|
-
left: bounds.left,
|
|
738
|
-
top: bounds.top,
|
|
739
|
-
};
|
|
740
|
-
UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);
|
|
681
|
+
this.dispatch({
|
|
682
|
+
type: "WIDGET_TAB_POPOUT",
|
|
683
|
+
id: widgetId,
|
|
684
|
+
position,
|
|
685
|
+
size,
|
|
741
686
|
});
|
|
742
687
|
}
|
|
743
688
|
get isStageClosing() {
|
|
@@ -751,12 +696,13 @@ export class FrontstageDef {
|
|
|
751
696
|
}
|
|
752
697
|
/** @internal */
|
|
753
698
|
saveChildWindowSizeAndPosition(childWindowId, childWindow) {
|
|
754
|
-
|
|
699
|
+
const state = this.nineZoneState;
|
|
700
|
+
if (!state)
|
|
755
701
|
return;
|
|
756
|
-
const location = getWidgetLocation(
|
|
702
|
+
const location = getWidgetLocation(state, childWindowId);
|
|
757
703
|
if (!location || !isPopoutWidgetLocation(location))
|
|
758
704
|
return;
|
|
759
|
-
const widget =
|
|
705
|
+
const widget = state.widgets[location.popoutWidgetId];
|
|
760
706
|
const tabId = widget.tabs[0];
|
|
761
707
|
const widgetDef = this.findWidgetDef(tabId);
|
|
762
708
|
if (!widgetDef)
|
|
@@ -769,23 +715,34 @@ export class FrontstageDef {
|
|
|
769
715
|
x: childWindow.screenX,
|
|
770
716
|
y: childWindow.screenY,
|
|
771
717
|
});
|
|
772
|
-
|
|
718
|
+
this.dispatch({
|
|
719
|
+
type: "WIDGET_TAB_SET_POPOUT_BOUNDS",
|
|
720
|
+
id: tabId,
|
|
721
|
+
bounds,
|
|
722
|
+
});
|
|
773
723
|
}
|
|
774
|
-
/**
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
dockPopoutWidgetContainer(widgetContainerId) {
|
|
779
|
-
if (!this.nineZoneState)
|
|
724
|
+
/** @internal */
|
|
725
|
+
dockWidgetContainerByContainerId(widgetContainerId) {
|
|
726
|
+
const state = this.nineZoneState;
|
|
727
|
+
if (!state)
|
|
780
728
|
return;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
729
|
+
const location = getWidgetLocation(state, widgetContainerId);
|
|
730
|
+
if (!location)
|
|
731
|
+
return;
|
|
732
|
+
if (isFloatingWidgetLocation(location)) {
|
|
733
|
+
this.dispatch({
|
|
734
|
+
type: "FLOATING_WIDGET_SEND_BACK",
|
|
735
|
+
id: location.floatingWidgetId,
|
|
736
|
+
});
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
if (isPopoutWidgetLocation(location)) {
|
|
740
|
+
this.dispatch({
|
|
741
|
+
type: "POPOUT_WIDGET_SEND_BACK",
|
|
742
|
+
id: location.popoutWidgetId,
|
|
743
|
+
});
|
|
786
744
|
return;
|
|
787
|
-
|
|
788
|
-
this.nineZoneState = state;
|
|
745
|
+
}
|
|
789
746
|
}
|
|
790
747
|
/** Finds the container with the specified widget and re-docks all widgets
|
|
791
748
|
* back to the panel zone location that was used when the floating container
|
|
@@ -794,34 +751,28 @@ export class FrontstageDef {
|
|
|
794
751
|
* @beta
|
|
795
752
|
*/
|
|
796
753
|
dockWidgetContainer(widgetId) {
|
|
797
|
-
|
|
798
|
-
if (
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
if (isPopoutTabLocation(location)) {
|
|
805
|
-
UiFramework.childWindows.close(location.widgetId, true);
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
754
|
+
const state = this.nineZoneState;
|
|
755
|
+
if (!state)
|
|
756
|
+
return;
|
|
757
|
+
const location = getTabLocation(state, widgetId);
|
|
758
|
+
if (!location)
|
|
759
|
+
return;
|
|
760
|
+
this.dockWidgetContainerByContainerId(location.widgetId);
|
|
809
761
|
}
|
|
810
762
|
setFloatingWidgetContainerBounds(floatingWidgetId, bounds) {
|
|
811
763
|
if (!this.nineZoneState ||
|
|
812
764
|
!(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))
|
|
813
765
|
return false;
|
|
814
|
-
|
|
766
|
+
this.dispatch({
|
|
815
767
|
type: "FLOATING_WIDGET_SET_BOUNDS",
|
|
816
768
|
id: floatingWidgetId,
|
|
817
769
|
bounds,
|
|
818
|
-
}
|
|
819
|
-
|
|
770
|
+
});
|
|
771
|
+
this.dispatch({
|
|
820
772
|
type: "FLOATING_WIDGET_SET_USER_SIZED",
|
|
821
773
|
id: floatingWidgetId,
|
|
822
774
|
userSized: true,
|
|
823
|
-
}
|
|
824
|
-
this.nineZoneState = state;
|
|
775
|
+
});
|
|
825
776
|
return true;
|
|
826
777
|
}
|
|
827
778
|
getFloatingWidgetContainerIds() {
|
|
@@ -917,8 +868,9 @@ export const useActiveFrontstageId = () => {
|
|
|
917
868
|
const id = React.useMemo(() => (def ? /* istanbul ignore next */ def.id : ""), [def]);
|
|
918
869
|
return id;
|
|
919
870
|
};
|
|
920
|
-
/** Hook to return the active Frontstage def
|
|
921
|
-
|
|
871
|
+
/** Hook to return the active Frontstage def.
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
922
874
|
export function useActiveFrontstageDef() {
|
|
923
875
|
const [def, setDef] = React.useState(UiFramework.frontstages.activeFrontstageDef);
|
|
924
876
|
React.useEffect(() => {
|
|
@@ -933,6 +885,15 @@ export function useActiveFrontstageDef() {
|
|
|
933
885
|
*/
|
|
934
886
|
export function useSpecificWidgetDef(widgetId) {
|
|
935
887
|
const frontstageDef = useActiveFrontstageDef();
|
|
936
|
-
|
|
888
|
+
const [widgetDef, setWidgetDef] = React.useState(() => frontstageDef === null || frontstageDef === void 0 ? void 0 : frontstageDef.findWidgetDef(widgetId));
|
|
889
|
+
React.useEffect(() => {
|
|
890
|
+
setWidgetDef(frontstageDef === null || frontstageDef === void 0 ? void 0 : frontstageDef.findWidgetDef(widgetId));
|
|
891
|
+
return InternalFrontstageManager.onFrontstageWidgetsChangedEvent.addListener((args) => {
|
|
892
|
+
if (args.frontstageDef !== frontstageDef)
|
|
893
|
+
return;
|
|
894
|
+
setWidgetDef(frontstageDef.findWidgetDef(widgetId));
|
|
895
|
+
});
|
|
896
|
+
}, [frontstageDef, widgetId]);
|
|
897
|
+
return widgetDef;
|
|
937
898
|
}
|
|
938
899
|
//# sourceMappingURL=FrontstageDef.js.map
|