@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.1
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/FEA.d.ts +54 -24
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +2 -2
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +2 -8
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +2 -4
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +6 -4
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +77 -116
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +8 -8
- package/clients/appsClient.d.ts +90 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +51 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +29 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +11 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +134 -70
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +129 -112
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +78 -0
- package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
- package/clients/controller/DialogManagerClientController.js +213 -0
- package/clients/controller/DialogManagerClientController.js.map +1 -0
- package/clients/dialogManagerClient.d.ts +1 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +1 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +1 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +1 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +18 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +30 -14
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +2 -0
- package/clients/index.d.ts.map +1 -1
- package/clients/index.js +2 -0
- package/clients/index.js.map +1 -1
- package/clients/launcherClient.d.ts +157 -47
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +201 -22
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +43 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +2 -2
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +2 -2
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +25 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +24 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +2 -2
- package/clients/searchClient.js +2 -2
- package/clients/storageClient.d.ts +8 -5
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +7 -5
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +160 -79
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +244 -138
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +19 -14
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +15 -9
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +9 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +11 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +4 -107
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +21 -342
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Monitors.d.ts +30 -18
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +45 -80
- package/common/Monitors.js.map +1 -1
- package/common/Singleton.d.ts +7 -1
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +24 -11
- package/common/Singleton.js.map +1 -1
- package/common/constants.d.ts +3 -9
- package/common/constants.d.ts.map +1 -1
- package/common/constants.js +3 -14
- package/common/constants.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +1 -1
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/redux/getRemoteStore.d.ts +53 -0
- package/common/redux/getRemoteStore.d.ts.map +1 -0
- package/common/redux/getRemoteStore.js +50 -0
- package/common/redux/getRemoteStore.js.map +1 -0
- package/common/redux/remoteReduxEnhancer.d.ts +7 -7
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +35 -20
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +14 -1
- package/common/redux/types.d.ts.map +1 -1
- package/common/systemManagerClient.d.ts +11 -5
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +25 -8
- package/common/systemManagerClient.js.map +1 -1
- package/common/util.d.ts +1 -7
- package/common/util.d.ts.map +1 -1
- package/common/util.js +1 -14
- package/common/util.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +1 -1
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +1 -2
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +3 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/linkerClient.d.ts +1 -1
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/main.d.ts +289 -190
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +3 -3
- package/platform/services/Interop/types.d.ts +2 -1
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/router/types.d.ts +5 -6
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.d.ts +1 -0
- package/platform/services/systemManager/_constants.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.js +1 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +59 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +57 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +257 -50
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/workspace/types.d.ts +4 -3
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/react/assets/css/core/icons.css +0 -5
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/windowTitleBar.css +98 -285
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- package/react/components/common/ButtonRow.d.ts.map +1 -1
- package/react/components/common/ButtonRow.js +4 -9
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +2 -10
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +11 -24
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +6 -4
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -4
- package/react/components/common/css/selector.css +3 -1
- package/react/components/downloadManager/DownloadManager.d.ts +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +2 -4
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +2 -9
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +2 -22
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/notifications/css/notification-center.css +2 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +14 -36
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +5 -9
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +3 -2
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +10 -0
- package/react/components/processMonitor/components/Process.d.ts.map +1 -0
- package/react/components/processMonitor/components/Process.js +11 -0
- package/react/components/processMonitor/components/Process.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +1 -2
- package/react/components/processMonitor/constants.d.ts.map +1 -1
- package/react/components/processMonitor/constants.js +2 -8
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +0 -1
- package/react/components/processMonitor/helpers.d.ts.map +1 -1
- package/react/components/processMonitor/helpers.js +2 -9
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +1 -2
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +11 -13
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +31 -4
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +81 -100
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +1 -0
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +3 -2
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/utils.d.ts +50 -0
- package/react/components/utils.d.ts.map +1 -0
- package/react/components/utils.js +60 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/CloseButton.js +22 -0
- package/react/components/windowTitleBar/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.js +25 -0
- package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
- package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.js +18 -0
- package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.js +21 -0
- package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/ShareButton.js +24 -0
- package/react/components/windowTitleBar/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabRegion.js +453 -0
- package/react/components/windowTitleBar/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabTitle.js +17 -0
- package/react/components/windowTitleBar/TabTitle.js.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.js +30 -0
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/index.d.ts +9 -8
- package/react/components/windowTitleBar/index.d.ts.map +1 -1
- package/react/components/windowTitleBar/index.js +9 -8
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
- package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
- package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
- package/react/components/windowTitleBar/useMaximize.js +23 -0
- package/react/components/windowTitleBar/useMaximize.js.map +1 -0
- package/react/components/yesNoDialog/timer.js +2 -1
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +27 -0
- package/react/hooks/useDragRegion.d.ts.map +1 -0
- package/react/hooks/useDragRegion.js +74 -0
- package/react/hooks/useDragRegion.js.map +1 -0
- package/react/hooks/useInjectedTitleBar.d.ts +3 -0
- package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
- package/react/hooks/useInjectedTitleBar.js +365 -0
- package/react/hooks/useInjectedTitleBar.js.map +1 -0
- package/react/hooks/useNotifications.d.ts +1 -1
- package/react/hooks/useToolbar.d.ts +1 -0
- package/react/hooks/useToolbar.d.ts.map +1 -1
- package/react/hooks/useToolbar.js +13 -3
- package/react/hooks/useToolbar.js.map +1 -1
- package/typedoc-types.d.ts +9 -0
- package/typedoc-types.d.ts.map +1 -0
- package/typedoc-types.js +6 -0
- package/typedoc-types.js.map +1 -0
- package/types.d.ts +5 -11
- package/types.d.ts.map +1 -1
- package/types.js +2 -0
- package/types.js.map +1 -1
- package/common/events/PrivateEventManager.d.ts +0 -95
- package/common/events/PrivateEventManager.d.ts.map +0 -1
- package/common/events/PrivateEventManager.js +0 -295
- package/common/events/PrivateEventManager.js.map +0 -1
- package/common/events/PrivateFinsembleEvent.d.ts +0 -30
- package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
- package/common/events/PrivateFinsembleEvent.js +0 -65
- package/common/events/PrivateFinsembleEvent.js.map +0 -1
- package/common/redux/createReducer.d.ts +0 -128
- package/common/redux/createReducer.d.ts.map +0 -1
- package/common/redux/createReducer.js +0 -298
- package/common/redux/createReducer.js.map +0 -1
- package/common/redux/index.d.ts +0 -3
- package/common/redux/index.d.ts.map +0 -1
- package/common/redux/index.js +0 -3
- package/common/redux/index.js.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
- package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
- package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
- package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.js +0 -16
- package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
- package/platform/services/window/Docking/boxMath.d.ts +0 -144
- package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
- package/platform/services/window/Docking/boxMath.js +0 -511
- package/platform/services/window/Docking/boxMath.js.map +0 -1
- package/platform/services/window/Docking/constants.d.ts +0 -29
- package/platform/services/window/Docking/constants.d.ts.map +0 -1
- package/platform/services/window/Docking/constants.js +0 -29
- package/platform/services/window/Docking/constants.js.map +0 -1
- package/platform/services/window/Docking/dockableBox.d.ts +0 -117
- package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableBox.js +0 -525
- package/platform/services/window/Docking/dockableBox.js.map +0 -1
- package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
- package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableGroup.js +0 -1054
- package/platform/services/window/Docking/dockableGroup.js.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
- package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.js +0 -427
- package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
- package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
- package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableWindow.js +0 -1239
- package/platform/services/window/Docking/dockableWindow.js.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
- package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.js +0 -3438
- package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
- package/platform/services/window/Docking/dockingMain.d.ts +0 -349
- package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingMain.js +0 -2541
- package/platform/services/window/Docking/dockingMain.js.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
- package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
- package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
- package/platform/services/window/Docking/types.d.ts +0 -334
- package/platform/services/window/Docking/types.d.ts.map +0 -1
- package/platform/services/window/Docking/types.js +0 -12
- package/platform/services/window/Docking/types.js.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
- package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
- package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
- package/platform/services/window/windowGroup.d.ts +0 -86
- package/platform/services/window/windowGroup.d.ts.map +0 -1
- package/platform/services/window/windowGroup.js +0 -323
- package/platform/services/window/windowGroup.js.map +0 -1
- package/platform/services/workspace/windowStorageManager.d.ts +0 -180
- package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
- package/platform/services/workspace/windowStorageManager.js +0 -195
- package/platform/services/workspace/windowStorageManager.js.map +0 -1
- package/react/assets/icons/question-circle.svg +0 -6
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
- package/react/components/sdd/Appearance.helpers.d.ts +0 -2
- package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
- package/react/components/sdd/Appearance.helpers.js +0 -2
- package/react/components/sdd/Appearance.helpers.js.map +0 -1
- package/react/components/shared/linkerUtil.d.ts +0 -4
- package/react/components/shared/linkerUtil.d.ts.map +0 -1
- package/react/components/shared/linkerUtil.js +0 -10
- package/react/components/shared/linkerUtil.js.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
- package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.js +0 -58
- package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
- package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.js +0 -614
- package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
- package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.js +0 -382
- package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
- package/react/types/windowTitleBar.d.ts +0 -49
- package/react/types/windowTitleBar.d.ts.map +0 -1
- package/react/types/windowTitleBar.js +0 -2
- package/react/types/windowTitleBar.js.map +0 -1
package/clients/windowClient.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module WindowClient
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
This is how we want our API to work going
|
|
10
|
+
This is how we want our API to work going forward, the way the world does it: import { processAndSet } from "configClient"
|
|
11
11
|
```
|
|
12
12
|
export const processAndSet = () => { ... }
|
|
13
13
|
```
|
|
@@ -26,7 +26,6 @@ This can be eliminated when our core core is converted to normal imports as in t
|
|
|
26
26
|
export default ConfigClient;
|
|
27
27
|
```
|
|
28
28
|
*/
|
|
29
|
-
import { LauncherClient } from "./launcherClient";
|
|
30
29
|
import { System } from "../common/system";
|
|
31
30
|
import { Logger } from "./logger";
|
|
32
31
|
import { RouterClient } from "./routerClient";
|
|
@@ -38,6 +37,8 @@ import { cacheInitialBounds as cacheInitialBoundsFromStartup } from "./Startup/w
|
|
|
38
37
|
import { singleton } from "../common/Singleton";
|
|
39
38
|
import SystemManagerClient from "../common/systemManagerClient";
|
|
40
39
|
import { FinsembleWindow } from "../common/FinsembleWindow";
|
|
40
|
+
import { actions, emptyStore } from "../platform/services/window/modules/actions";
|
|
41
|
+
import { getRemoteStoreAsSingleton, getRemoteState } from "../common/redux/getRemoteStore";
|
|
41
42
|
/**
|
|
42
43
|
* The WindowClientController is a singleton which serves as the backing for the WindowClient export. Even though WindowClient
|
|
43
44
|
* is exported, there can still be more than one instance when running with an FEA preload. In these circumstances, the singleton
|
|
@@ -54,7 +55,6 @@ class WindowClientController {
|
|
|
54
55
|
this.options = {};
|
|
55
56
|
this.title = null;
|
|
56
57
|
this.windowGroups = [];
|
|
57
|
-
this.commandChannel = undefined;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Handler for group updates from the window service. Stores the groups that this window is in,
|
|
@@ -71,28 +71,12 @@ class WindowClientController {
|
|
|
71
71
|
return;
|
|
72
72
|
this.windowGroups = Object.values(res.data.groupData).filter((group) => group.windowNames.includes(deprecatedGetWindowNameForDocking(FEAGlobals.finsembleWindow)));
|
|
73
73
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Sends a command to the header. Commands affect the header state,
|
|
76
|
-
* so that the UI reflects what is going on in the component window.
|
|
77
|
-
* @param {string} command The state object to set
|
|
78
|
-
* @param {object} state The new state (merged with existing)
|
|
79
|
-
*/
|
|
80
|
-
updateHeaderState(command, state) {
|
|
81
|
-
var _a;
|
|
82
|
-
(_a = this.commandChannel) === null || _a === void 0 ? void 0 : _a.call(this, command, state);
|
|
83
|
-
}
|
|
84
74
|
setStartupData(systemStartupData) {
|
|
85
75
|
this.options = systemStartupData;
|
|
86
76
|
}
|
|
87
77
|
async start() {
|
|
88
78
|
await SystemManagerClient.waitForStartup("windowService");
|
|
89
79
|
RouterClient.subscribe("Finsemble.WorkspaceService.groupUpdate", (groupUpdateSubscribeErr, res) => this.groupUpdateHandler(groupUpdateSubscribeErr, res));
|
|
90
|
-
FEAGlobals.finsembleWindow.addEventListener("maximized", () => {
|
|
91
|
-
this.updateHeaderState("Maximize", { hide: true });
|
|
92
|
-
});
|
|
93
|
-
FEAGlobals.finsembleWindow.addEventListener("restored", () => {
|
|
94
|
-
this.updateHeaderState("Maximize", { hide: false });
|
|
95
|
-
});
|
|
96
80
|
// On Blur remove the border from window
|
|
97
81
|
FEAGlobals.finsembleWindow.addEventListener("blurred", () => {
|
|
98
82
|
deprecatedSetActive(false);
|
|
@@ -108,8 +92,8 @@ class WindowClientController {
|
|
|
108
92
|
*/
|
|
109
93
|
export const getControllerInstance = () => singleton("WindowClient", WindowClientController);
|
|
110
94
|
/**
|
|
111
|
-
* Returns a list of the groups this window is in, if any.
|
|
112
95
|
* @deprecated
|
|
96
|
+
* Returns a list of the groups this window is in, if any.
|
|
113
97
|
*/
|
|
114
98
|
const getWindowGroups = () => {
|
|
115
99
|
Logger.deprecated("getWindowGroups() is deprecated and will be removed in a future release.");
|
|
@@ -129,27 +113,18 @@ const getWindowGroups = () => {
|
|
|
129
113
|
* @param {boolean} params.removeFromWorkspace Whether to remove the window from the workspace.
|
|
130
114
|
* @param {boolean} params.closeWindow Whether to close the window. On shutdown this method is called, but the Window Service actually closes the window.
|
|
131
115
|
* @param {boolean} params.userInitiated Whether the user clicked the X, or if the system asked the window to close.
|
|
132
|
-
* @param {boolean} params.ignoreParent Whether or not to update the parent (stack) window when closing.
|
|
133
116
|
* @param {function} cb The callback to be invoked after the method completes successfully.
|
|
134
117
|
*/
|
|
135
118
|
export const close = (params, cb) => {
|
|
136
119
|
if (!params) {
|
|
137
120
|
params = { removeFromWorkspace: true, closeWindow: true };
|
|
138
121
|
}
|
|
139
|
-
|
|
140
|
-
if (params.userInitiated && parentWindow) {
|
|
141
|
-
return parentWindow.close(params, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return FEAGlobals.finsembleWindow.close(params, cb);
|
|
145
|
-
}
|
|
122
|
+
return FEAGlobals.finsembleWindow.close(params, cb);
|
|
146
123
|
};
|
|
147
124
|
/**
|
|
148
125
|
* Retrieves the window's title.
|
|
149
126
|
*
|
|
150
|
-
*
|
|
151
|
-
* let windowTitle = FSBL.Clients.WindowClient.getWindowTitle();
|
|
152
|
-
* ```
|
|
127
|
+
* @deprecated
|
|
153
128
|
* @returns {String} title
|
|
154
129
|
*/
|
|
155
130
|
export const getWindowTitle = () => {
|
|
@@ -261,9 +236,11 @@ export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
|
|
|
261
236
|
*/
|
|
262
237
|
export const bringToFront = (cb) => FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
|
|
263
238
|
/**
|
|
239
|
+
* @deprecated Use [`bringToFront()`](#bringtofront) instead, which returns a promise.
|
|
240
|
+
*
|
|
264
241
|
* Brings the window to the top of all other windows
|
|
265
242
|
*
|
|
266
|
-
* This is a non-
|
|
243
|
+
* This is a non-promise version for backward compatibility. Please use WindowClient.bringToFront()
|
|
267
244
|
*
|
|
268
245
|
* @deprecated Use `bringToFront()` instead, which returns a promise.
|
|
269
246
|
*/
|
|
@@ -291,15 +268,20 @@ export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.se
|
|
|
291
268
|
*/
|
|
292
269
|
export const restore = (cb) => FEAGlobals.finsembleWindow.restore(null, cb);
|
|
293
270
|
/**
|
|
271
|
+
* :::tip Important
|
|
294
272
|
* _This feature is experimental. The signature may change in the future._
|
|
273
|
+
* :::
|
|
295
274
|
*
|
|
296
275
|
* Sets an overlay image on the MS Windows taskbar, for instance to indicate activity.
|
|
297
276
|
* (This is sometimes referred to as a "badge").
|
|
298
277
|
*
|
|
299
278
|
* The url must point to a 16x16 png image. Images of other sizes or types will not display.
|
|
300
279
|
*
|
|
301
|
-
*
|
|
280
|
+
* :::note
|
|
281
|
+
* MacOS does not support taskbar overlay images. This function is safe to call
|
|
302
282
|
* on MacOS but will not perform any function.
|
|
283
|
+
* :::
|
|
284
|
+
*
|
|
303
285
|
* @param url - The url of the icon to use. Pass null to remove the overlay icon.
|
|
304
286
|
*/
|
|
305
287
|
export const setTaskbarIconOverlay = (url) => {
|
|
@@ -382,7 +364,10 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
|
|
|
382
364
|
* let s = stx.exportLayout(true);
|
|
383
365
|
* //saving layout'
|
|
384
366
|
* FSBL.Clients.WindowClient.setComponentState({ field: 'myChartLayout', value: s });
|
|
385
|
-
* FSBL.Clients.WindowClient.setComponentState({ fields: [
|
|
367
|
+
* FSBL.Clients.WindowClient.setComponentState({ fields: [
|
|
368
|
+
* {field:'myChartLayout', value: s },
|
|
369
|
+
* {field:'chartType', value: 'mountain'}
|
|
370
|
+
* ]});
|
|
386
371
|
* ```
|
|
387
372
|
* @param {object} params Object of data to be saved
|
|
388
373
|
* @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
|
|
@@ -405,7 +390,7 @@ export const setComponentState = async (params, cb) => new Promise(async (resolv
|
|
|
405
390
|
* ```javascript
|
|
406
391
|
* // remove unused state value
|
|
407
392
|
* FSBL.Clients.WindowClient.removeComponentState({ field: 'myChartLayout'});
|
|
408
|
-
* FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]);
|
|
393
|
+
* FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]});
|
|
409
394
|
* ```
|
|
410
395
|
* @param {object} params Object of data to be removed
|
|
411
396
|
* @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
|
|
@@ -421,8 +406,10 @@ export const removeComponentState = async (params, cb) => new Promise(async (res
|
|
|
421
406
|
});
|
|
422
407
|
});
|
|
423
408
|
/**
|
|
424
|
-
* Gets the window name of current window
|
|
409
|
+
* Gets the window name of current window. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement.
|
|
425
410
|
* @deprecated
|
|
411
|
+
*
|
|
412
|
+
* Gets the window name of current window or the parent, if tabbed. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement.
|
|
426
413
|
*/
|
|
427
414
|
export const getWindowNameForDocking = () => {
|
|
428
415
|
Logger.deprecated("WindowClient.getWindowNameForDocking is deprecated and will be removed");
|
|
@@ -443,48 +430,31 @@ export const formGroup = () => {
|
|
|
443
430
|
const addListeners = () => {
|
|
444
431
|
Logger.deprecated("Do not call WindowClient.addListeners() directly");
|
|
445
432
|
};
|
|
446
|
-
/**
|
|
447
|
-
* Establishes a command channel with the <a href="tutorial-UIComponents.html#window-title-bar-aka-the-fsblheader">Finsemble window title bar component</a>. The Window Client can
|
|
448
|
-
* update the title bar's state via this channel. This code will be moved into finsemble-ui.
|
|
449
|
-
* @param {function} commandChannel A function callback that receives commands.
|
|
450
|
-
*/
|
|
451
|
-
const headerCommandChannel = (commandChannel) => {
|
|
452
|
-
const controller = getControllerInstance();
|
|
453
|
-
controller.commandChannel = commandChannel;
|
|
454
|
-
};
|
|
455
433
|
/**
|
|
456
434
|
* Ejects the window from the docking group
|
|
457
435
|
* @deprecated This code will be moved to finsemble-ui
|
|
436
|
+
* Ejects the window from the docking group
|
|
458
437
|
*/
|
|
459
438
|
export const ejectFromGroup = () => {
|
|
460
439
|
Logger.deprecated("WindowClient.ejectFromGroup is deprecated and will be removed");
|
|
461
440
|
FEAGlobals.finsembleWindow.ejectFromGroup();
|
|
462
441
|
};
|
|
463
442
|
/**
|
|
464
|
-
*
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
const controller = getControllerInstance();
|
|
468
|
-
controller.title = title;
|
|
469
|
-
// TODO, singleton
|
|
470
|
-
// document.title = title; // causes flickering in chromium 53
|
|
471
|
-
controller.updateHeaderState("Main", { windowTitle: title });
|
|
472
|
-
FEAGlobals.finsembleWindow.setTitle(title);
|
|
473
|
-
};
|
|
474
|
-
/**
|
|
475
|
-
* Deprecated. Please simply set the application's `document.title` element to change the title that appears
|
|
476
|
-
* in the window's title bar. Or, set `components["Window Manager"].title` in the app's manifest.
|
|
477
|
-
*
|
|
478
|
-
* Old documentation:
|
|
479
|
-
* This function sets the window's title in the window title bar area as well as in the DOM's title element.
|
|
480
|
-
* This is useful to set the title dynamically based on state information: you can keep the window's title in sync with a piece of data (e.g., a Symbol).
|
|
481
|
-
* This title will not persist between sessions automatically; use setComponentState/getComponentState to persist the title.
|
|
482
|
-
* @param {String} title Window title.
|
|
483
|
-
* @deprecated
|
|
443
|
+
* This method overrides the app title that displays in the app's title bar or tab. This will take precedence over
|
|
444
|
+
* the document.title or title that is set in the app's config. This will however be overridden by an user edited title.
|
|
445
|
+
* @param title Window title.
|
|
484
446
|
*/
|
|
485
447
|
const setWindowTitle = (title) => {
|
|
486
|
-
|
|
487
|
-
|
|
448
|
+
const store = getRemoteStoreAsSingleton({
|
|
449
|
+
singletonName: "WindowClient::setWindowTitle",
|
|
450
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
451
|
+
slice: "windowTitleBar",
|
|
452
|
+
emptyStore,
|
|
453
|
+
dispatchOnly: true,
|
|
454
|
+
});
|
|
455
|
+
store.dispatch(actions.setAPITitle({
|
|
456
|
+
title,
|
|
457
|
+
}));
|
|
488
458
|
};
|
|
489
459
|
/**
|
|
490
460
|
* Retrieves data that was set with <a href="/docs/reference/typedocs/modules/LauncherClient#spawn">LauncherClient.spawn</a>.
|
|
@@ -496,9 +466,10 @@ export const getSpawnData = () => {
|
|
|
496
466
|
return (_c = (_b = (_a = controller.options) === null || _a === void 0 ? void 0 : _a.customData) === null || _b === void 0 ? void 0 : _b.spawnData) !== null && _c !== void 0 ? _c : {};
|
|
497
467
|
};
|
|
498
468
|
/**
|
|
469
|
+
* @deprecated Use `FSBL.System.Window.getCurrent()`
|
|
470
|
+
*
|
|
499
471
|
* Returns a reference to the current FEAWindow for the component.
|
|
500
472
|
* @returns {finWindow}
|
|
501
|
-
* @deprecated Use `FSBL.System.Window.getCurrent()`
|
|
502
473
|
*/
|
|
503
474
|
export const getCurrentWindow = () => {
|
|
504
475
|
// getCurrentWindow() is still being used by e2e tests and the zoom.js preload. Don't change this to
|
|
@@ -545,10 +516,10 @@ export const getWindowIdentifier = () => {
|
|
|
545
516
|
};
|
|
546
517
|
};
|
|
547
518
|
/**
|
|
519
|
+
* @deprecated
|
|
548
520
|
* Highlights the window as active by creating a border around the window.
|
|
549
521
|
*
|
|
550
522
|
* @param {boolean} active Set to false to turn off activity
|
|
551
|
-
* @deprecated
|
|
552
523
|
*/
|
|
553
524
|
const setActive = (active) => {
|
|
554
525
|
Logger.deprecated("WindowClient.setActive is deprecated and will be removed");
|
|
@@ -617,18 +588,6 @@ export const cancelTilingOrTabbing = (params, cb) => {
|
|
|
617
588
|
RouterClient.transmit("DockingService.cancelTilingOrTabbing", params);
|
|
618
589
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
619
590
|
};
|
|
620
|
-
/**
|
|
621
|
-
* This is used to let Finsemble know which window is being dragged. <code>params.windowIdentifier</code> must be the identifier of the tab being dragged. This is only used if the identifier is unknown when <code>startTilingOrTabbing</code> is called.
|
|
622
|
-
* @param {*} params - The <code>windowIdentifier</code> is required.
|
|
623
|
-
* @param {WindowIdentifier} params.windowIdentifier The Finsemble identifier for the target window.
|
|
624
|
-
* @param {*} cb - The callback to be invoked after the method completes successfully.
|
|
625
|
-
* @deprecated This code will be moved into finsemble-ui
|
|
626
|
-
*/
|
|
627
|
-
export const sendIdentifierForTilingOrTabbing = (params, cb) => {
|
|
628
|
-
Logger.deprecated("WindowClient.sendIdentifierForTilingOrTabbing is deprecated and will be removed");
|
|
629
|
-
RouterClient.transmit("DockingService.identifierForTilingOrTabbing", params);
|
|
630
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
631
|
-
};
|
|
632
591
|
/**
|
|
633
592
|
* This function is used by the Finsemble window title bar to end tiling or tabbing.
|
|
634
593
|
* @param {*} params
|
|
@@ -663,52 +622,6 @@ export const stopTilingOrTabbing = (params, cb) => {
|
|
|
663
622
|
if (!params.allowDropOnSelf)
|
|
664
623
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
665
624
|
};
|
|
666
|
-
/**
|
|
667
|
-
* Gets the stackedWindow (if this window is a child of a stacked window).
|
|
668
|
-
*
|
|
669
|
-
* If the calling window is not part of a stacked window, the stacked window identifier will be returned null -- unless params.create is true. In this case, a stacked window will be created and the calling window will be set as the first child
|
|
670
|
-
*
|
|
671
|
-
* (Typically used by Tabbing Presentation component to manage tabs.)
|
|
672
|
-
*
|
|
673
|
-
* @param {object=} params
|
|
674
|
-
* @param {array=} params.create if true and StackedWindow isn't defined, then it will be created
|
|
675
|
-
* @param {array=} params.windowIdentifiers if creating, then can optionally specify an array of other windowIdentifiers to add to stack on creation (in addition to this window).
|
|
676
|
-
* @param {function} cb cb(err, stackedWindowIdentifier)
|
|
677
|
-
*
|
|
678
|
-
* Typically used by Tabbing Presentation component.
|
|
679
|
-
* @deprecated Move this code into UI library (windowTitleBarStore)
|
|
680
|
-
*/
|
|
681
|
-
const getStackedWindow = (params, cb) => {
|
|
682
|
-
Logger.deprecated("WindowClient.getStackedWindow is deprecated and will be removed");
|
|
683
|
-
Logger.system.debug("WindowClient.getStackedWindow", params);
|
|
684
|
-
cb = cb || params;
|
|
685
|
-
params = params || {};
|
|
686
|
-
params.windowIdentifiers = params.windowIdentifiers || [];
|
|
687
|
-
if (!FEAGlobals.finsembleWindow.parentWindow && params.create) {
|
|
688
|
-
const onParentSet = (evt) => {
|
|
689
|
-
const { parentName } = evt.data;
|
|
690
|
-
FEAGlobals.finsembleWindow.setParent({ windowName: parentName }, (err2, windowWrapper) => {
|
|
691
|
-
cb === null || cb === void 0 ? void 0 : cb(err2, windowWrapper);
|
|
692
|
-
});
|
|
693
|
-
FEAGlobals.finsembleWindow.removeListener("parent-set", onParentSet);
|
|
694
|
-
};
|
|
695
|
-
FEAGlobals.finsembleWindow.addListener("parent-set", onParentSet);
|
|
696
|
-
LauncherClient.spawn("StackedWindow", {
|
|
697
|
-
windowType: "StackedWindow",
|
|
698
|
-
data: { windowIdentifiers: params.windowIdentifiers },
|
|
699
|
-
options: { newStack: true },
|
|
700
|
-
}, (err, windowInfo) => {
|
|
701
|
-
Logger.system.debug("WindowClient.getStackedWindow-success", err, windowInfo);
|
|
702
|
-
if (!err) {
|
|
703
|
-
return;
|
|
704
|
-
}
|
|
705
|
-
cb === null || cb === void 0 ? void 0 : cb(err, null);
|
|
706
|
-
});
|
|
707
|
-
}
|
|
708
|
-
else {
|
|
709
|
-
FEAGlobals.finsembleWindow.getParent(cb);
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
625
|
/**
|
|
713
626
|
*
|
|
714
627
|
*/
|
|
@@ -734,7 +647,7 @@ export const fitToDOM = async (params, cb) => {
|
|
|
734
647
|
if (!bounds)
|
|
735
648
|
return;
|
|
736
649
|
/*
|
|
737
|
-
// Injected
|
|
650
|
+
// Injected title bars monkey with the body height by setting a calc() in the css
|
|
738
651
|
// We have to remove this to get the necessary calculations to fit to the DOM
|
|
739
652
|
if(document.body.style.height?.includes("calc"))
|
|
740
653
|
document.body.style.height = "auto";
|
|
@@ -771,6 +684,202 @@ export const fitToDOM = async (params, cb) => {
|
|
|
771
684
|
}
|
|
772
685
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
773
686
|
};
|
|
687
|
+
/**
|
|
688
|
+
* Forms a tab collection from a list of _existing_ windows. (See [LauncherClient.spawnTabCollection()](./LauncherClient#spawnTabCollection) to form a tab
|
|
689
|
+
* collection from non-existing windows.)
|
|
690
|
+
*
|
|
691
|
+
* ```javascript
|
|
692
|
+
* await FSBL.Clients.windowClient.createTabCollection({
|
|
693
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
694
|
+
* promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
|
|
695
|
+
* })
|
|
696
|
+
* ```
|
|
697
|
+
* @param __namedParameters.windowNames - An array of window names to put in the collection. The tabs will retain the ordering of this array.
|
|
698
|
+
* @param __namedParameters.promotedTab - The name of the tab to be promoted. If not set then the first window will be promoted.
|
|
699
|
+
*/
|
|
700
|
+
export const createTabCollection = async ({ windowNames, promotedTab, }) => {
|
|
701
|
+
const store = getRemoteStoreAsSingleton({
|
|
702
|
+
singletonName: "WindowClient::tabCollection",
|
|
703
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
704
|
+
slice: "api",
|
|
705
|
+
emptyStore,
|
|
706
|
+
dispatchOnly: true,
|
|
707
|
+
});
|
|
708
|
+
store.dispatch(actions.createTabCollection({
|
|
709
|
+
windowNames,
|
|
710
|
+
promotedWindowName: promotedTab,
|
|
711
|
+
}));
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* Adds one or more windows to an existing tab collection.
|
|
715
|
+
*
|
|
716
|
+
* ```javascript
|
|
717
|
+
* await FSBL.Clients.windowClient.addToTabCollection({
|
|
718
|
+
* tabCollectionId: ["StackedWindow-sdsd-343-dsds"],
|
|
719
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
720
|
+
* position: 2,
|
|
721
|
+
* promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
|
|
722
|
+
* })
|
|
723
|
+
* ```
|
|
724
|
+
* @param __namedParameters.windowNames - An array of window names to be added to the collection.
|
|
725
|
+
* @param __namedParameters.tabCollectionId - ID of the tabCollection to join.
|
|
726
|
+
* @param __namedParameters.position - Specifies where in the collection to add the new tabs. If not set then they will be appended to the end of the collection.
|
|
727
|
+
* @param __namedParameters.promotedTab - Tab to be promoted. If not set then the promoted tab will not be changed.
|
|
728
|
+
*/
|
|
729
|
+
export const addToTabCollection = async ({ windowNames, tabCollectionId, position, promotedTab, }) => {
|
|
730
|
+
const store = getRemoteStoreAsSingleton({
|
|
731
|
+
singletonName: "WindowClient::tabCollection",
|
|
732
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
733
|
+
slice: "api",
|
|
734
|
+
emptyStore,
|
|
735
|
+
dispatchOnly: true,
|
|
736
|
+
});
|
|
737
|
+
store.dispatch(actions.addTabsToTabCollection({
|
|
738
|
+
windowNames,
|
|
739
|
+
tabCollectionId,
|
|
740
|
+
position,
|
|
741
|
+
promotedWindowName: promotedTab,
|
|
742
|
+
}));
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* Removes one or more tabs from their tab collection(s). The tab collection is identified automatically.
|
|
746
|
+
* Tab collections with fewer than two tabs are removed from the system. If the tab collection is maximized then
|
|
747
|
+
* windows that are removed will be restored to their previous unmaximized position and size.
|
|
748
|
+
*
|
|
749
|
+
* ```javascript
|
|
750
|
+
* await FSBL.Clients.windowClient.removeFromTabCollection({
|
|
751
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
752
|
+
* })
|
|
753
|
+
* ```
|
|
754
|
+
* @param __namedParameters.windowNames - The array of window names to be removed.
|
|
755
|
+
*/
|
|
756
|
+
export const removeFromTabCollection = async ({ windowNames }) => {
|
|
757
|
+
const store = getRemoteStoreAsSingleton({
|
|
758
|
+
singletonName: "WindowClient::tabCollection",
|
|
759
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
760
|
+
slice: "api",
|
|
761
|
+
emptyStore,
|
|
762
|
+
dispatchOnly: true,
|
|
763
|
+
});
|
|
764
|
+
store.dispatch(actions.removeTabsFromTabCollection({
|
|
765
|
+
windowNames,
|
|
766
|
+
}));
|
|
767
|
+
};
|
|
768
|
+
/**
|
|
769
|
+
* Changes the visible tab in a tab collection. (The tab collection is identified automatically.)
|
|
770
|
+
*
|
|
771
|
+
* ```javascript
|
|
772
|
+
* await FSBL.Clients.windowClient.promoteTab("MyApp-3443-fdf-343-fdfdf");
|
|
773
|
+
* ```
|
|
774
|
+
* @param windowName - The name of the tab to be promoted.
|
|
775
|
+
*/
|
|
776
|
+
export const promoteTab = async (windowName) => {
|
|
777
|
+
const store = getRemoteStoreAsSingleton({
|
|
778
|
+
singletonName: "WindowClient::tabCollection",
|
|
779
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
780
|
+
slice: "windowTitleBar",
|
|
781
|
+
emptyStore,
|
|
782
|
+
dispatchOnly: true,
|
|
783
|
+
});
|
|
784
|
+
store.dispatch(actions.promoteTab({
|
|
785
|
+
targetWindowName: windowName,
|
|
786
|
+
}));
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* Gets the name of the promoted tab for a given tab collection.
|
|
790
|
+
*
|
|
791
|
+
* ```javascript
|
|
792
|
+
* const {err, data: windowName } = await FSBL.Clients.windowClient.getPromotedTab({
|
|
793
|
+
* tabCollectionId: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
|
|
794
|
+
* });
|
|
795
|
+
* if(windowName) console.log(`The promoted window is ${windowName}`)
|
|
796
|
+
* ```
|
|
797
|
+
* @param __namedParameters.tabCollectionId - ID of the tab collection.
|
|
798
|
+
* @param cb - Optional callback to be invoked after the method completes successfully.
|
|
799
|
+
* @return - Resolves to a tuple containing an error message and the name of the promoted tab in the collection.
|
|
800
|
+
*/
|
|
801
|
+
export const getPromotedTab = async ({ tabCollectionId }, cb) => {
|
|
802
|
+
var _a, _b, _c;
|
|
803
|
+
const state = (await getRemoteState({
|
|
804
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
805
|
+
slice: "windowTitleBar",
|
|
806
|
+
}));
|
|
807
|
+
const promotedTab = (_c = (_b = (_a = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _a === void 0 ? void 0 : _a.tabCollections) === null || _b === void 0 ? void 0 : _b[tabCollectionId]) === null || _c === void 0 ? void 0 : _c.promotedWindowName;
|
|
808
|
+
if (!promotedTab) {
|
|
809
|
+
const err = `No promoted tab found for tab collection ${tabCollectionId}`;
|
|
810
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
811
|
+
return { err };
|
|
812
|
+
}
|
|
813
|
+
else {
|
|
814
|
+
cb === null || cb === void 0 ? void 0 : cb(null, promotedTab);
|
|
815
|
+
return { err: null, data: promotedTab };
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
/**
|
|
819
|
+
* Gets the tabCollectionId for a given window, if it is a member of a tab collection.
|
|
820
|
+
*
|
|
821
|
+
* ```javascript
|
|
822
|
+
* const {err, data } = await FSBL.Clients.windowClient.getTabCollectionForWindow({
|
|
823
|
+
* windowName: ["MyApp-dfdf-sdsd-dfdfdf-343434"]
|
|
824
|
+
* });
|
|
825
|
+
* if(data) console.log(`The tab collection ${data.id} contains these windows: ${data.windows}`);
|
|
826
|
+
* ```
|
|
827
|
+
* @param __namedParameters.windowName - The name of a window that should be in a tab collection.
|
|
828
|
+
* @param cb - Optional callback to be invoked after the method completes.
|
|
829
|
+
* @return - Resolves to a tuple with error message and object containing the tabCollectionId and a list of the windows in that collection.
|
|
830
|
+
* An error will result if the window is not a member of any tab collection.
|
|
831
|
+
*/
|
|
832
|
+
export const getTabCollectionForWindow = async ({ windowName }, cb) => {
|
|
833
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
834
|
+
const state = (await getRemoteState({
|
|
835
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
836
|
+
slice: "windowTitleBar",
|
|
837
|
+
}));
|
|
838
|
+
const id = (_c = (_b = (_a = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _a === void 0 ? void 0 : _a.windows) === null || _b === void 0 ? void 0 : _b[windowName]) === null || _c === void 0 ? void 0 : _c.tabCollectionId;
|
|
839
|
+
if (!id) {
|
|
840
|
+
const err = id ? null : `No tab collection found for window ${windowName}`;
|
|
841
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
842
|
+
return { err };
|
|
843
|
+
}
|
|
844
|
+
const data = {
|
|
845
|
+
id,
|
|
846
|
+
windows: (_e = (_d = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _d === void 0 ? void 0 : _d.tabCollections[id]) === null || _e === void 0 ? void 0 : _e.tabs,
|
|
847
|
+
promotedWindowName: (_g = (_f = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _f === void 0 ? void 0 : _f.tabCollections[id]) === null || _g === void 0 ? void 0 : _g.promotedWindowName,
|
|
848
|
+
};
|
|
849
|
+
cb === null || cb === void 0 ? void 0 : cb(null, data);
|
|
850
|
+
return { err: null, data };
|
|
851
|
+
};
|
|
852
|
+
/**
|
|
853
|
+
* Gets the tabCollectionId for a given window, if it is a member of a tab collection.
|
|
854
|
+
*
|
|
855
|
+
* ```javascript
|
|
856
|
+
* const {err, data } = await FSBL.Clients.windowClient.getTabCollection({
|
|
857
|
+
* windowName: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
|
|
858
|
+
* });
|
|
859
|
+
* if(data) console.log(`The tab collection contains these windows: ${data.windows}`);
|
|
860
|
+
* ```
|
|
861
|
+
* @param __namedParameters.collectionId - The name of the tab collection.
|
|
862
|
+
* @param cb - Optional callback to be invoked after the method completes.
|
|
863
|
+
* @return - Resolves to a tuple with error message and object containing the list of the windows in that collection and the currently promoted window.
|
|
864
|
+
*/
|
|
865
|
+
export const getTabCollection = async ({ id }, cb) => {
|
|
866
|
+
const state = (await getRemoteState({
|
|
867
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
868
|
+
slice: "windowTitleBar",
|
|
869
|
+
}));
|
|
870
|
+
const collection = state.windowTitleBar.tabCollections[id];
|
|
871
|
+
if (!collection) {
|
|
872
|
+
const err = `No tab collection "${id}" found.`;
|
|
873
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
874
|
+
return { err };
|
|
875
|
+
}
|
|
876
|
+
const data = {
|
|
877
|
+
windows: collection.tabs,
|
|
878
|
+
promotedWindowName: collection.promotedWindowName,
|
|
879
|
+
};
|
|
880
|
+
cb === null || cb === void 0 ? void 0 : cb(null, data);
|
|
881
|
+
return { err: null, data };
|
|
882
|
+
};
|
|
774
883
|
/**
|
|
775
884
|
* @ignore
|
|
776
885
|
*
|
|
@@ -795,11 +904,13 @@ export const WindowClient = {
|
|
|
795
904
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
796
905
|
},
|
|
797
906
|
addListeners,
|
|
907
|
+
addToTabCollection,
|
|
798
908
|
bringToFront,
|
|
799
909
|
bringWindowToFront,
|
|
800
910
|
cacheInitialBounds,
|
|
801
911
|
cancelTilingOrTabbing,
|
|
802
912
|
close,
|
|
913
|
+
createTabCollection,
|
|
803
914
|
ejectFromGroup,
|
|
804
915
|
fitToDOM,
|
|
805
916
|
formGroup,
|
|
@@ -808,31 +919,32 @@ export const WindowClient = {
|
|
|
808
919
|
getCurrentWindow,
|
|
809
920
|
getDesktopBoundingBox,
|
|
810
921
|
getMonitorInfo,
|
|
922
|
+
getPromotedTab,
|
|
811
923
|
getSpawnData,
|
|
812
|
-
|
|
924
|
+
getTabCollection,
|
|
925
|
+
getTabCollectionForWindow,
|
|
813
926
|
getWindowTitle,
|
|
814
927
|
getWindowBounds,
|
|
815
928
|
getWindowGroups,
|
|
816
929
|
getWindowNameForDocking,
|
|
817
930
|
getWindowIdentifier,
|
|
818
|
-
headerCommandChannel,
|
|
819
931
|
injectDOM,
|
|
820
932
|
isMouseOverDOMElement,
|
|
821
933
|
isPointInBox,
|
|
822
934
|
maximize,
|
|
823
935
|
minimize,
|
|
936
|
+
promoteTab,
|
|
824
937
|
removeComponentState,
|
|
938
|
+
removeFromTabCollection,
|
|
825
939
|
restore,
|
|
826
940
|
retrieveMonitorDimensions,
|
|
827
941
|
saveWindowBounds,
|
|
828
|
-
sendIdentifierForTilingOrTabbing,
|
|
829
942
|
setActive,
|
|
830
943
|
setAlwaysOnTop,
|
|
831
944
|
setComponentState,
|
|
832
945
|
setShape,
|
|
833
946
|
setTaskbarIconOverlay,
|
|
834
947
|
setWindowTitle,
|
|
835
|
-
setWindowTitlePrivate,
|
|
836
948
|
showAtMousePosition,
|
|
837
949
|
stopTilingOrTabbing,
|
|
838
950
|
startMovingWindow,
|
|
@@ -856,12 +968,6 @@ export const WindowClient = {
|
|
|
856
968
|
set windowGroups(replacement) {
|
|
857
969
|
getControllerInstance().windowGroups = replacement;
|
|
858
970
|
},
|
|
859
|
-
get commandChannel() {
|
|
860
|
-
return getControllerInstance().commandChannel;
|
|
861
|
-
},
|
|
862
|
-
set commandChannel(replacement) {
|
|
863
|
-
getControllerInstance().commandChannel = replacement;
|
|
864
|
-
},
|
|
865
971
|
};
|
|
866
972
|
/**
|
|
867
973
|
* @ignore
|