@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
|
@@ -1,591 +0,0 @@
|
|
|
1
|
-
import { Logger } from "../../../../clients/logger";
|
|
2
|
-
import { RouterClient } from "../../../../clients/routerClient";
|
|
3
|
-
import { BaseWindow } from "./BaseWindow";
|
|
4
|
-
import { MOVE_REASON, WINDOWSTATE } from "../../../../common/constants";
|
|
5
|
-
import { adjustBoundsToBeOnMonitorAsync } from "../../../../common/Monitors";
|
|
6
|
-
import { removeWindowReferenceFromActiveWorkspace } from "../../workspace/workspaceAdminAPI";
|
|
7
|
-
const BOUNDS_CHANGED = "bounds-changed";
|
|
8
|
-
const mouseLocation = {
|
|
9
|
-
x: 0,
|
|
10
|
-
y: 0,
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* NativeWindow
|
|
14
|
-
*/
|
|
15
|
-
class NativeWindow extends BaseWindow {
|
|
16
|
-
/**
|
|
17
|
-
* @param {*} params
|
|
18
|
-
* @param {string} [params.uuid]
|
|
19
|
-
* @param {object} [params.location]
|
|
20
|
-
* @param {string} [params.launchedByApp]
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
constructor(params) {
|
|
24
|
-
var _a;
|
|
25
|
-
if (!params.windowType) {
|
|
26
|
-
if (params.params) {
|
|
27
|
-
params = Object.assign(params, params.params);
|
|
28
|
-
}
|
|
29
|
-
params.windowType = null;
|
|
30
|
-
}
|
|
31
|
-
super(params);
|
|
32
|
-
this.loggerChannel = `ExternalWindowWrapper.${this.windowName}`;
|
|
33
|
-
this.type = "external";
|
|
34
|
-
this.windowType = (_a = params.windowType) !== null && _a !== void 0 ? _a : "NativeWindow";
|
|
35
|
-
this.location = params.windowMsg ? params.windowMsg.location : null;
|
|
36
|
-
this.windowState = WINDOWSTATE.NORMAL;
|
|
37
|
-
this.key = params.windowMsg ? params.windowMsg.uuid : params.uuid;
|
|
38
|
-
this.windowOptions = {
|
|
39
|
-
nativeWindowHandle: this.key,
|
|
40
|
-
};
|
|
41
|
-
this.saveOnBoundsChanged = this.launchedByApp;
|
|
42
|
-
this.movements = [];
|
|
43
|
-
this.lastLocation = this.location;
|
|
44
|
-
this.events = {};
|
|
45
|
-
this.lastMinimized = 0;
|
|
46
|
-
this.lastRestored = 0;
|
|
47
|
-
this.executablePath = null;
|
|
48
|
-
this.descriptor = null;
|
|
49
|
-
this.spawnedByContainer = false;
|
|
50
|
-
this.maximizing = false;
|
|
51
|
-
this.restoreBounds = null;
|
|
52
|
-
this.bindFunctions();
|
|
53
|
-
RouterClient.addListener(`AssimilationService.bounds-change-request.${this.windowName}`, this._triggerBoundsChangedFromAssimilation);
|
|
54
|
-
}
|
|
55
|
-
removeListeners() {
|
|
56
|
-
Logger.system.debug("removeListeners not implemented");
|
|
57
|
-
}
|
|
58
|
-
_setResizable() {
|
|
59
|
-
Logger.system.error("_setResizable not implemented");
|
|
60
|
-
}
|
|
61
|
-
_triggerBoundsChangedFromAssimilation(err, response) {
|
|
62
|
-
this.eventManager.trigger("bounds-change-request", response.data);
|
|
63
|
-
}
|
|
64
|
-
bindFunctions() {
|
|
65
|
-
this._triggerBoundsChangedFromAssimilation = this._triggerBoundsChangedFromAssimilation.bind(this);
|
|
66
|
-
this._setBounds = this._setBounds.bind(this);
|
|
67
|
-
this.endMovementHandler = this.endMovementHandler.bind(this);
|
|
68
|
-
this._getBoundsFromSystem = this._getBoundsFromSystem.bind(this);
|
|
69
|
-
this._close = this._close.bind(this);
|
|
70
|
-
}
|
|
71
|
-
endMovementHandler(err, message) {
|
|
72
|
-
if (err) {
|
|
73
|
-
return Logger.system.error(err);
|
|
74
|
-
}
|
|
75
|
-
// Logger.system.log("end sent");
|
|
76
|
-
if (!message || !message.data || !message.data.location) {
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
this.location = message.data.location;
|
|
80
|
-
this.eventManager.trigger(BOUNDS_CHANGED, this.location);
|
|
81
|
-
}
|
|
82
|
-
_addEventListener(params, cb = Function.prototype) {
|
|
83
|
-
const { eventName } = params;
|
|
84
|
-
this.addEventListener(eventName);
|
|
85
|
-
cb();
|
|
86
|
-
}
|
|
87
|
-
addEventListener(event, handler = Function.prototype) {
|
|
88
|
-
super.addEventListener(event, handler);
|
|
89
|
-
// this event will come in from assimilation. when it does, we trigger the bounds-changed event, which throws bounds-change-end to the rest of the system.
|
|
90
|
-
if (event == "bounds-changed") {
|
|
91
|
-
RouterClient.addListener(`${this.name}.endMovement`, this.endMovementHandler);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
_removeEventListener(params, cb = Function.prototype) {
|
|
95
|
-
const { eventName } = params;
|
|
96
|
-
this.removeEventListener(eventName);
|
|
97
|
-
cb();
|
|
98
|
-
}
|
|
99
|
-
removeEventListener(event, handler = Function.prototype) {
|
|
100
|
-
super.removeEventListener(event, handler);
|
|
101
|
-
// this event will come in from assimilation. when it does, we trigger the bounds-changed event, which throws bounds-change-end to the rest of the system.
|
|
102
|
-
if (event == "bounds-changed") {
|
|
103
|
-
RouterClient.removeListener(`${this.name}.endMovement`, this.endMovementHandler);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Every other kind of window has listeners for bounds change end that then save
|
|
108
|
-
* the window's new state. Because assimilated windows don't, we must override
|
|
109
|
-
* this function and call the custom save function.
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
stopMove() {
|
|
113
|
-
super.stopMove({});
|
|
114
|
-
this._saveWindowOptions();
|
|
115
|
-
}
|
|
116
|
-
_setBounds(params, cb = Function.prototype) {
|
|
117
|
-
if (typeof params === "function") {
|
|
118
|
-
cb = params;
|
|
119
|
-
params = null;
|
|
120
|
-
}
|
|
121
|
-
const { bounds } = params;
|
|
122
|
-
const newLocationUnrounded = {
|
|
123
|
-
left: Number(bounds.left),
|
|
124
|
-
top: Number(bounds.top),
|
|
125
|
-
width: bounds.width ? Number(bounds.width) : Number(bounds.right) - Number(bounds.left),
|
|
126
|
-
height: bounds.height ? Number(bounds.height) : Number(bounds.bottom) - Number(bounds.top),
|
|
127
|
-
right: bounds.right ? Number(bounds.right) : Number(bounds.left) + Number(bounds.width),
|
|
128
|
-
bottom: bounds.bottom ? Number(bounds.bottom) : Number(bounds.top) + Number(bounds.height),
|
|
129
|
-
};
|
|
130
|
-
const newLocation = newLocationUnrounded;
|
|
131
|
-
const addRoundedEntryToLocation = ([key, value]) => {
|
|
132
|
-
newLocation[key] = Math.round(value);
|
|
133
|
-
};
|
|
134
|
-
Object.entries(newLocationUnrounded).forEach(addRoundedEntryToLocation);
|
|
135
|
-
Logger.system.verbose("send move ", this);
|
|
136
|
-
this.lastLocation = newLocation;
|
|
137
|
-
this.location = newLocation;
|
|
138
|
-
this.mergeBounds(bounds);
|
|
139
|
-
super._setBounds(params);
|
|
140
|
-
// if the _setBounds function was async, can't use super...
|
|
141
|
-
const asyncHack = async () => {
|
|
142
|
-
await RouterClient.query("Assimilation.moveWindow", {
|
|
143
|
-
name: this.windowName,
|
|
144
|
-
key: this.key,
|
|
145
|
-
location: newLocation,
|
|
146
|
-
});
|
|
147
|
-
this.eventManager.trigger("bounds-changing", Object.assign({}, newLocation));
|
|
148
|
-
cb();
|
|
149
|
-
};
|
|
150
|
-
asyncHack();
|
|
151
|
-
}
|
|
152
|
-
_hide(params, cb = Function.prototype) {
|
|
153
|
-
if (typeof params === "function") {
|
|
154
|
-
cb = params;
|
|
155
|
-
params = {};
|
|
156
|
-
}
|
|
157
|
-
super._hide(params, async (err, response) => {
|
|
158
|
-
// Note:, there's no params.fromAssimilation here because hidden isn't an event caught from the OS.
|
|
159
|
-
if (response.shouldContinue) {
|
|
160
|
-
this.windowDescriptor.autoShow = false;
|
|
161
|
-
await RouterClient.query("Assimilation.hideWindow", {
|
|
162
|
-
name: this.windowName,
|
|
163
|
-
key: this.key,
|
|
164
|
-
location: this.location,
|
|
165
|
-
});
|
|
166
|
-
this.eventManager.trigger("hidden");
|
|
167
|
-
RouterClient.transmit("Assimilation.saveWindow", {
|
|
168
|
-
key: this.key,
|
|
169
|
-
autoShow: false,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
cb();
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
_focus(params, cb = Function.prototype) {
|
|
176
|
-
if (typeof params === "function") {
|
|
177
|
-
cb = params;
|
|
178
|
-
params = {};
|
|
179
|
-
}
|
|
180
|
-
super._focus(params, async (err, response) => {
|
|
181
|
-
if (response.shouldContinue && params.fromAssimilation) {
|
|
182
|
-
this.eventManager.trigger("focused");
|
|
183
|
-
}
|
|
184
|
-
cb();
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
_minimize(params, cb = Function.prototype) {
|
|
188
|
-
if (Date.now() - this.lastRestored < 50)
|
|
189
|
-
return cb();
|
|
190
|
-
if (typeof params === "function") {
|
|
191
|
-
cb = params;
|
|
192
|
-
params = {};
|
|
193
|
-
}
|
|
194
|
-
if (!params)
|
|
195
|
-
params = {};
|
|
196
|
-
const self = this;
|
|
197
|
-
super._minimize(params, async () => {
|
|
198
|
-
if (params.fromAssimilation) {
|
|
199
|
-
if (self.windowState === WINDOWSTATE.MAXIMIZED) {
|
|
200
|
-
self.windowState = WINDOWSTATE.MINIMIZED_WAS_MAXIMIZED;
|
|
201
|
-
}
|
|
202
|
-
else if (self.windowState === WINDOWSTATE.NORMAL) {
|
|
203
|
-
self.windowState = WINDOWSTATE.MINIMIZED_WAS_NORMAL;
|
|
204
|
-
}
|
|
205
|
-
self.eventManager.trigger("minimized");
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
await RouterClient.query("Assimilation.minimizeWindow", {
|
|
209
|
-
name: self.windowName,
|
|
210
|
-
key: self.key,
|
|
211
|
-
location: self.location,
|
|
212
|
-
});
|
|
213
|
-
RouterClient.transmit("DockingService.wipeAutoArrange", {
|
|
214
|
-
win: self.windowName,
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
// if maximize is being called during the workspace load to restore state, then don't dirty workspace
|
|
218
|
-
if (!params.initialLoad) {
|
|
219
|
-
this._saveWindowOptions();
|
|
220
|
-
}
|
|
221
|
-
cb();
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
_maximize(params, cb = Function.prototype) {
|
|
225
|
-
if (typeof params === "function") {
|
|
226
|
-
cb = params;
|
|
227
|
-
params = {};
|
|
228
|
-
}
|
|
229
|
-
const self = this;
|
|
230
|
-
if (this.windowState === WINDOWSTATE.MAXIMIZED)
|
|
231
|
-
return cb();
|
|
232
|
-
super._maximize(params, async () => {
|
|
233
|
-
if (params.fromAssimilation) {
|
|
234
|
-
self.windowState = WINDOWSTATE.MAXIMIZED;
|
|
235
|
-
}
|
|
236
|
-
if (self.windowState != WINDOWSTATE.MAXIMIZED) {
|
|
237
|
-
// self.emit("maximized", { name: self.windowName });
|
|
238
|
-
if (self.windowState !== WINDOWSTATE.MINIMIZED_WAS_NORMAL &&
|
|
239
|
-
self.windowState !== WINDOWSTATE.MINIMIZED_WAS_MAXIMIZED) {
|
|
240
|
-
self.maximizing = true;
|
|
241
|
-
self.restoreBounds = self.location;
|
|
242
|
-
}
|
|
243
|
-
await RouterClient.query("Assimilation.maximizeWindow", {
|
|
244
|
-
name: self.windowName,
|
|
245
|
-
windowIdentifier: self.windowIdentifier,
|
|
246
|
-
});
|
|
247
|
-
RouterClient.transmit("DockingService.wipeAutoArrange", {
|
|
248
|
-
win: self.windowName,
|
|
249
|
-
});
|
|
250
|
-
self.eventManager.trigger("maximized");
|
|
251
|
-
self.windowState = WINDOWSTATE.MAXIMIZED;
|
|
252
|
-
}
|
|
253
|
-
// if maximize is being called during the workspace load to restore state, then don't dirty workspace
|
|
254
|
-
if (!params.initialLoad) {
|
|
255
|
-
this._saveWindowOptions();
|
|
256
|
-
}
|
|
257
|
-
cb();
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
async setNormal(params) {
|
|
261
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
262
|
-
if (params.fromAssimilation) {
|
|
263
|
-
// Window restored from outside of Finsemble. If the monitor configuration has changed since the window was minimized, assimilation
|
|
264
|
-
// will have moved the window's restore position. Use these bounds to tell Finsemble the new location.
|
|
265
|
-
const onBoundsReceivedAfterRestore = (updatedBounds) => {
|
|
266
|
-
var _a, _b;
|
|
267
|
-
// Assimilation corrects the windows position on restore, but html windows do not.
|
|
268
|
-
// Due to this difference we need to tell finsemble to force the bounds update
|
|
269
|
-
// or Finsemble will have the wrong bounds for this window. Only checking top and left
|
|
270
|
-
// because the updated bound are coming in with 7 pixels of extra height even when no monitor change has occurred.
|
|
271
|
-
if (((_a = this.location) === null || _a === void 0 ? void 0 : _a.top) !== updatedBounds.top || ((_b = this.location) === null || _b === void 0 ? void 0 : _b.left) !== updatedBounds.left) {
|
|
272
|
-
updatedBounds.force = true;
|
|
273
|
-
}
|
|
274
|
-
// Triggers an event that specified that the window was restored from the system
|
|
275
|
-
updatedBounds.action = MOVE_REASON.SYSTEM_RESTORED;
|
|
276
|
-
this.eventManager.trigger("system-bounds-changed", Object.assign({}, updatedBounds));
|
|
277
|
-
};
|
|
278
|
-
const retryLimit = 3;
|
|
279
|
-
let retryCount = 0;
|
|
280
|
-
// The bounds request will return an error if the window is minimized or hidden. This can happen if the window
|
|
281
|
-
// is not done restoring when we request the updated bounds. By retrying on error, we can give the OS more time to restore the window
|
|
282
|
-
// Finally default to the previous location (adjusted to be on a monitor if necessary) if we can't updated bounds.
|
|
283
|
-
const getBoundsAndRetry = () => {
|
|
284
|
-
if (retryCount >= retryLimit) {
|
|
285
|
-
Logger.system.error(`externalWindowWrapper._restore: Failed to get valid bounds for ${this.windowName} after trying ${retryLimit} times. Defaulting to previous location`);
|
|
286
|
-
onBoundsReceivedAfterRestore(this.location);
|
|
287
|
-
return;
|
|
288
|
-
}
|
|
289
|
-
this._getBoundsFromSystem({}).then((getBoundsResponse) => {
|
|
290
|
-
if (getBoundsResponse.err) {
|
|
291
|
-
retryCount++;
|
|
292
|
-
setTimeout(() => {
|
|
293
|
-
getBoundsAndRetry();
|
|
294
|
-
}, retryCount * 100);
|
|
295
|
-
}
|
|
296
|
-
else {
|
|
297
|
-
onBoundsReceivedAfterRestore(getBoundsResponse.data);
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
};
|
|
301
|
-
getBoundsAndRetry();
|
|
302
|
-
this.eventManager.trigger("restored");
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
const left = (_b = (_a = this.location) === null || _a === void 0 ? void 0 : _a.left) !== null && _b !== void 0 ? _b : 0;
|
|
306
|
-
const top = (_d = (_c = this.location) === null || _c === void 0 ? void 0 : _c.top) !== null && _d !== void 0 ? _d : 0;
|
|
307
|
-
const width = (_f = (_e = this.location) === null || _e === void 0 ? void 0 : _e.width) !== null && _f !== void 0 ? _f : 0;
|
|
308
|
-
const height = (_h = (_g = this.location) === null || _g === void 0 ? void 0 : _g.height) !== null && _h !== void 0 ? _h : 0;
|
|
309
|
-
const right = (_k = (_j = this.location) === null || _j === void 0 ? void 0 : _j.right) !== null && _k !== void 0 ? _k : left + width;
|
|
310
|
-
const bottom = (_m = (_l = this.location) === null || _l === void 0 ? void 0 : _l.bottom) !== null && _m !== void 0 ? _m : top + height;
|
|
311
|
-
const bounds = {
|
|
312
|
-
right,
|
|
313
|
-
left,
|
|
314
|
-
top,
|
|
315
|
-
bottom,
|
|
316
|
-
width,
|
|
317
|
-
height,
|
|
318
|
-
};
|
|
319
|
-
// Restore action was triggered from Finsemble. Make sure the window is restored on monitor.
|
|
320
|
-
const adjustedBounds = await adjustBoundsToBeOnMonitorAsync(bounds);
|
|
321
|
-
await RouterClient.query("Assimilation.restoreWindow", { name: this.windowName, key: this.key, location: adjustedBounds }, params, () => { });
|
|
322
|
-
this.eventManager.trigger("restored");
|
|
323
|
-
}
|
|
324
|
-
this.windowState = WINDOWSTATE.NORMAL;
|
|
325
|
-
}
|
|
326
|
-
async _restore(params, cb) {
|
|
327
|
-
if (typeof params === "function") {
|
|
328
|
-
cb = params;
|
|
329
|
-
params = {};
|
|
330
|
-
}
|
|
331
|
-
params = params || {};
|
|
332
|
-
const { data: response } = await super._restore(params);
|
|
333
|
-
if (response === null || response === void 0 ? void 0 : response.shouldContinue) {
|
|
334
|
-
if (this.windowState === WINDOWSTATE.MINIMIZED_WAS_MAXIMIZED) {
|
|
335
|
-
// Note:, early return
|
|
336
|
-
await this._maximize(params);
|
|
337
|
-
this.eventManager.trigger("restored");
|
|
338
|
-
cb === null || cb === void 0 ? void 0 : cb(null, { shouldContinue: true });
|
|
339
|
-
return { data: { shouldContinue: true } };
|
|
340
|
-
}
|
|
341
|
-
// if we restore from a minimized state set the state to normal
|
|
342
|
-
if (this.windowState === WINDOWSTATE.MINIMIZED_WAS_NORMAL) {
|
|
343
|
-
await this.setNormal(params);
|
|
344
|
-
}
|
|
345
|
-
// if we restore from a max state tell docking so we can reset the position
|
|
346
|
-
if (this.windowState === WINDOWSTATE.MAXIMIZED) {
|
|
347
|
-
this.windowState = WINDOWSTATE.NORMAL;
|
|
348
|
-
this.maximizing = false;
|
|
349
|
-
this._getBoundsFromSystem({}, (err, bounds) => {
|
|
350
|
-
this.eventManager.trigger("restored", {
|
|
351
|
-
bounds,
|
|
352
|
-
previousState: WINDOWSTATE.MAXIMIZED,
|
|
353
|
-
});
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
this._saveWindowOptions();
|
|
358
|
-
cb === null || cb === void 0 ? void 0 : cb(null, { shouldContinue: true });
|
|
359
|
-
return { data: { shouldContinue: true } };
|
|
360
|
-
}
|
|
361
|
-
_close(params = {}, cb) {
|
|
362
|
-
return new Promise(async (resolve) => {
|
|
363
|
-
if (typeof params === "function") {
|
|
364
|
-
cb = params;
|
|
365
|
-
params = {};
|
|
366
|
-
}
|
|
367
|
-
if (!params)
|
|
368
|
-
params = {};
|
|
369
|
-
RouterClient.removeListener(`AssimilationService.bounds-change-request.${this.windowName}`, this._triggerBoundsChangedFromAssimilation);
|
|
370
|
-
const { err, data } = await super._close(params);
|
|
371
|
-
if (data === null || data === void 0 ? void 0 : data.shouldContinue) {
|
|
372
|
-
if (params.removeFromWorkspace)
|
|
373
|
-
removeWindowReferenceFromActiveWorkspace({ name: this.windowName || "undefined-window-name" });
|
|
374
|
-
// Tell assimilation to close the window.
|
|
375
|
-
const { err: errAssimilation, response } = await RouterClient.query("Assimilation.closeWindow", Object.assign({ name: this.windowName, key: this.key, location: this.location }, params));
|
|
376
|
-
cb === null || cb === void 0 ? void 0 : cb(errAssimilation, response === null || response === void 0 ? void 0 : response.data);
|
|
377
|
-
resolve({ err: errAssimilation, data: response === null || response === void 0 ? void 0 : response.data });
|
|
378
|
-
}
|
|
379
|
-
else {
|
|
380
|
-
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
381
|
-
resolve({ err, data });
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
async _show(params, cb) {
|
|
386
|
-
if (typeof params === "function") {
|
|
387
|
-
cb = params;
|
|
388
|
-
params = {};
|
|
389
|
-
}
|
|
390
|
-
const { err, data } = await super._show(params);
|
|
391
|
-
if (data === null || data === void 0 ? void 0 : data.shouldContinue) {
|
|
392
|
-
this.windowDescriptor.autoShow = true;
|
|
393
|
-
await RouterClient.query("Assimilation.showWindow", {
|
|
394
|
-
name: this.windowName,
|
|
395
|
-
key: this.key,
|
|
396
|
-
location: self.location,
|
|
397
|
-
});
|
|
398
|
-
this.eventManager.trigger("shown");
|
|
399
|
-
RouterClient.transmit("Assimilation.saveWindow", {
|
|
400
|
-
key: this.key,
|
|
401
|
-
autoShow: true,
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
405
|
-
return { err, data };
|
|
406
|
-
}
|
|
407
|
-
_showAt(position, params, cb = Function.prototype) {
|
|
408
|
-
Logger.system.debug("externalWindowWrapper._showAt", this.name, position, params);
|
|
409
|
-
if (typeof params === "function") {
|
|
410
|
-
cb = params;
|
|
411
|
-
params = {};
|
|
412
|
-
}
|
|
413
|
-
super._showAt(params, async (err, response) => {
|
|
414
|
-
cb(err, response);
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
_bringToFront(params, cb = Function.prototype) {
|
|
418
|
-
if (typeof params === "function") {
|
|
419
|
-
cb = params;
|
|
420
|
-
params = {};
|
|
421
|
-
}
|
|
422
|
-
super._bringToFront(params, async (err, response) => {
|
|
423
|
-
if (response.shouldContinue) {
|
|
424
|
-
await RouterClient.query("Assimilation.bringToFront", {
|
|
425
|
-
name: this.windowName,
|
|
426
|
-
});
|
|
427
|
-
this.eventManager.trigger("broughtToFront");
|
|
428
|
-
}
|
|
429
|
-
cb();
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
_setOpacity(params, cb = Function.prototype) {
|
|
433
|
-
this.opacity = params.opacity;
|
|
434
|
-
cb();
|
|
435
|
-
}
|
|
436
|
-
async _alwaysOnTop(params, cb = Function.prototype) {
|
|
437
|
-
if (this.alwaysOnTop == params.alwaysOnTop)
|
|
438
|
-
return cb();
|
|
439
|
-
this.alwaysOnTop = params.alwaysOnTop;
|
|
440
|
-
await RouterClient.query("Assimilation.alwaysOnTop", {
|
|
441
|
-
name: this.windowName,
|
|
442
|
-
alwaysonTop: params.alwaysOnTop,
|
|
443
|
-
}); // the spelling here is intentional
|
|
444
|
-
this.eventManager.trigger("alwaysOnTop", { alwaysOnTop: this.alwaysOnTop });
|
|
445
|
-
cb();
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
*
|
|
449
|
-
* Returns true if the window is always on top. False otherwise.
|
|
450
|
-
*
|
|
451
|
-
* Disable eslint below because params is undefined, but we don't want to refactor the other calls to expect the 1st param to equal the callback.
|
|
452
|
-
*/
|
|
453
|
-
_isAlwaysOnTop(params = {}, callback = Function.prototype) {
|
|
454
|
-
if (typeof params === "function") {
|
|
455
|
-
callback = params;
|
|
456
|
-
}
|
|
457
|
-
if (typeof this.alwaysOnTop !== "boolean" && this.windowDescriptor) {
|
|
458
|
-
this.alwaysOnTop = this.windowDescriptor.alwaysOnTop;
|
|
459
|
-
}
|
|
460
|
-
callback(null, Boolean(this.alwaysOnTop));
|
|
461
|
-
return Boolean(this.alwaysOnTop);
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* Returns true if the window is visible. False otherwise.
|
|
465
|
-
* @param {*} params Currently unused
|
|
466
|
-
* @param {*} callback calls back with true if visible, false if not.
|
|
467
|
-
*/
|
|
468
|
-
_isShowing(params = {}, callback = Function.prototype) {
|
|
469
|
-
if (typeof params === "function") {
|
|
470
|
-
callback = params;
|
|
471
|
-
}
|
|
472
|
-
// autoShow is false if the window is spawned hidden. It it updated every time the window is shown or hidden.
|
|
473
|
-
const isVisible = !(this.windowDescriptor && this.windowDescriptor.autoShow === false);
|
|
474
|
-
callback(null, isVisible);
|
|
475
|
-
return isVisible;
|
|
476
|
-
}
|
|
477
|
-
disableFrame(cb = Function.prototype) {
|
|
478
|
-
this.frame = false; // paint
|
|
479
|
-
cb();
|
|
480
|
-
}
|
|
481
|
-
getMousePosition(cb = Function.prototype) {
|
|
482
|
-
cb(null, mouseLocation);
|
|
483
|
-
}
|
|
484
|
-
_saveWindowOptions() {
|
|
485
|
-
Logger.system.debug(`_saveWindowOptions Window id ${this.key}`, "location", this.location, "windowState", this.windowState.toString(), "restoreBounds", this.restoreBounds);
|
|
486
|
-
RouterClient.transmit("Assimilation.saveWindow", {
|
|
487
|
-
key: this.key,
|
|
488
|
-
location: this.location,
|
|
489
|
-
windowState: this.windowState,
|
|
490
|
-
cachedBounds: this.restoreBounds,
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
// * Sends a request to assimilation for the system bounds. Waits and returns the response
|
|
494
|
-
// * @param {*} params
|
|
495
|
-
// * @param {*} cb
|
|
496
|
-
// */
|
|
497
|
-
_getBoundsFromSystem(params, cb = Function.prototype) {
|
|
498
|
-
if (typeof params === "function") {
|
|
499
|
-
cb = params;
|
|
500
|
-
params = {};
|
|
501
|
-
}
|
|
502
|
-
const self = this;
|
|
503
|
-
const promiseResolver = (resolve) => {
|
|
504
|
-
RouterClient.query("Assimilation.getWindowLocation", { windowName: this.windowName, force: true }, (err, message) => {
|
|
505
|
-
if (err) {
|
|
506
|
-
cb(err);
|
|
507
|
-
return resolve({ err, data: null });
|
|
508
|
-
}
|
|
509
|
-
if (!message.data.location) {
|
|
510
|
-
cb(null);
|
|
511
|
-
return resolve({ err: null, data: null });
|
|
512
|
-
}
|
|
513
|
-
self.location = {
|
|
514
|
-
top: message.data.location.top,
|
|
515
|
-
left: message.data.location.left,
|
|
516
|
-
right: message.data.location.right,
|
|
517
|
-
bottom: message.data.location.bottom,
|
|
518
|
-
height: message.data.location.height,
|
|
519
|
-
width: message.data.location.width,
|
|
520
|
-
};
|
|
521
|
-
cb(null, self.location);
|
|
522
|
-
return resolve({ err: null, data: self.location });
|
|
523
|
-
});
|
|
524
|
-
};
|
|
525
|
-
return new Promise(promiseResolver);
|
|
526
|
-
}
|
|
527
|
-
_getBounds(params, cb) {
|
|
528
|
-
if (typeof params === "function") {
|
|
529
|
-
cb = params;
|
|
530
|
-
params = {};
|
|
531
|
-
}
|
|
532
|
-
if (this.maximizing) {
|
|
533
|
-
cb === null || cb === void 0 ? void 0 : cb(null, this.restoreBounds);
|
|
534
|
-
return Promise.resolve({ err: null, data: this.restoreBounds });
|
|
535
|
-
}
|
|
536
|
-
const promiseResolver = (resolve) => {
|
|
537
|
-
RouterClient.query("Assimilation.getWindowLocation", { windowName: this.windowName }, (err, message) => {
|
|
538
|
-
var _a, _b;
|
|
539
|
-
if (err) {
|
|
540
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
541
|
-
resolve({ err, data: null });
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
if (!message.data.location) {
|
|
545
|
-
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
546
|
-
resolve({ err: null, data: null });
|
|
547
|
-
return;
|
|
548
|
-
}
|
|
549
|
-
this.location = {
|
|
550
|
-
top: message.data.location.top,
|
|
551
|
-
left: message.data.location.left,
|
|
552
|
-
right: message.data.location.right,
|
|
553
|
-
bottom: message.data.location.bottom,
|
|
554
|
-
height: message.data.location.bottom - message.data.location.top,
|
|
555
|
-
width: message.data.location.right - message.data.location.left,
|
|
556
|
-
};
|
|
557
|
-
if (!this.location.height) {
|
|
558
|
-
this.location.height = ((_a = this.location.bottom) !== null && _a !== void 0 ? _a : 0) - this.location.top;
|
|
559
|
-
}
|
|
560
|
-
if (!this.location.width) {
|
|
561
|
-
this.location.width = ((_b = this.location.right) !== null && _b !== void 0 ? _b : 0) - this.location.left;
|
|
562
|
-
}
|
|
563
|
-
cb === null || cb === void 0 ? void 0 : cb(null, this.location);
|
|
564
|
-
return resolve({ err: null, data: this.location });
|
|
565
|
-
});
|
|
566
|
-
};
|
|
567
|
-
return new Promise(promiseResolver);
|
|
568
|
-
}
|
|
569
|
-
_updateOptions(params, cb = Function.prototype) {
|
|
570
|
-
const windowOptions = {
|
|
571
|
-
key: this.key,
|
|
572
|
-
};
|
|
573
|
-
if (params && typeof params === "object") {
|
|
574
|
-
Object.keys(params).forEach((key) => {
|
|
575
|
-
if (!windowOptions[key]) {
|
|
576
|
-
windowOptions[key] = params[key];
|
|
577
|
-
}
|
|
578
|
-
if (key === "alwaysOnTop" && this.alwaysOnTop !== params[key]) {
|
|
579
|
-
this.alwaysOnTop = params[key];
|
|
580
|
-
this.eventManager.trigger("alwaysOnTop", {
|
|
581
|
-
alwaysOnTop: this.alwaysOnTop,
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
}
|
|
586
|
-
RouterClient.transmit("Assimilation.saveWindow", windowOptions);
|
|
587
|
-
cb();
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
export default NativeWindow;
|
|
591
|
-
//# sourceMappingURL=externalWindowWrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"externalWindowWrapper.js","sourceRoot":"","sources":["../../../../../../src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