@finsemble/finsemble-ui 8.3.0 → 8.3.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 +102 -28
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +17 -16
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/types.d.ts +1 -0
- package/clients/Interop/types.d.ts.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 +125 -112
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +9 -9
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +463 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +696 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +36 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +18 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +189 -71
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +185 -114
- 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 +11 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +11 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +4 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +4 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +23 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +35 -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 +55 -209
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +37 -422
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts +6 -0
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +49 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +32 -8
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +32 -8
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +39 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +38 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +7 -2
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +7 -2
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +19 -6
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +18 -6
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +207 -80
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +291 -139
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +45 -18
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +41 -13
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +12 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +14 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +5 -108
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +28 -349
- 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 +3 -4
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +4 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +15 -4
- 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 -171
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +4 -4
- package/platform/services/Interop/modules/types.d.ts +2 -0
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/types.d.ts +24 -2
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js.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 +2 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/systemManager/types.d.ts +1 -1
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +68 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +60 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +275 -51
- 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/actions/smartDesktopDesignerActions.d.ts +7 -1
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +3 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/assets/css/core/icons.css +0 -5
- package/react/assets/css/dialogs.css +2 -1
- package/react/assets/css/fonts/icons-reference.html +1 -1
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/userPreferences.css +1 -1
- package/react/assets/css/windowTitleBar.css +101 -285
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts +3 -0
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +3 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +6 -2
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- 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/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.d.ts.map +1 -1
- package/react/components/common/Checkbox.js +14 -2
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +5 -11
- 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/FinsembleLink.d.ts +7 -0
- package/react/components/common/FinsembleLink.d.ts.map +1 -0
- package/react/components/common/FinsembleLink.js +13 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/Header.d.ts +1 -0
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +4 -2
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -15
- package/react/components/common/css/application-list.css +54 -23
- package/react/components/common/css/button.css +20 -0
- 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/icon/Icon.js +1 -1
- package/react/components/icon/Icon.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/components/shared/IconButton.d.ts +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +2 -2
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.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/sdd/Content.d.ts +9 -0
- package/react/components/sdd/Content.d.ts.map +1 -0
- package/react/components/sdd/Content.js +7 -0
- package/react/components/sdd/Content.js.map +1 -0
- package/react/components/sdd/Dashboard.d.ts +20 -0
- package/react/components/sdd/Dashboard.d.ts.map +1 -0
- package/react/components/sdd/Dashboard.js +103 -0
- package/react/components/sdd/Dashboard.js.map +1 -0
- package/react/components/sdd/Export.d.ts +24 -0
- package/react/components/sdd/Export.d.ts.map +1 -0
- package/react/components/sdd/Export.js +133 -0
- package/react/components/sdd/Export.js.map +1 -0
- package/react/components/sdd/ExportCloud.d.ts +7 -0
- package/react/components/sdd/ExportCloud.d.ts.map +1 -0
- package/react/components/sdd/ExportCloud.js +38 -0
- package/react/components/sdd/ExportCloud.js.map +1 -0
- package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
- package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
- package/react/components/sdd/ExportDeployInfo.js +18 -0
- package/react/components/sdd/ExportDeployInfo.js.map +1 -0
- package/react/components/sdd/ExportZip.d.ts +7 -0
- package/react/components/sdd/ExportZip.d.ts.map +1 -0
- package/react/components/sdd/ExportZip.js +43 -0
- package/react/components/sdd/ExportZip.js.map +1 -0
- package/react/components/sdd/ProjectErrors.d.ts +12 -0
- package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
- package/react/components/sdd/ProjectErrors.js +26 -0
- package/react/components/sdd/ProjectErrors.js.map +1 -0
- package/react/components/sdd/ProjectMasonry.d.ts +13 -0
- package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
- package/react/components/sdd/ProjectMasonry.js +22 -0
- package/react/components/sdd/ProjectMasonry.js.map +1 -0
- package/react/components/sdd/Publish.d.ts +9 -0
- package/react/components/sdd/Publish.d.ts.map +1 -0
- package/react/components/sdd/Publish.js +113 -0
- package/react/components/sdd/Publish.js.map +1 -0
- package/react/components/sdd/PublishProgress.d.ts +10 -0
- package/react/components/sdd/PublishProgress.d.ts.map +1 -0
- package/react/components/sdd/PublishProgress.js +24 -0
- package/react/components/sdd/PublishProgress.js.map +1 -0
- package/react/components/sdd/View.d.ts +9 -0
- package/react/components/sdd/View.d.ts.map +1 -0
- package/react/components/sdd/View.js +7 -0
- package/react/components/sdd/View.js.map +1 -0
- package/react/components/sdd/css/addApp.css +62 -8
- package/react/components/sdd/css/appD.css +81 -0
- package/react/components/sdd/css/appDViewer.css +93 -0
- package/react/components/sdd/css/applications.css +53 -15
- package/react/components/sdd/css/exportAppD.css +31 -0
- package/react/components/sdd/css/horizontalScroll.css +9 -0
- package/react/components/sdd/css/project-header.css +2 -1
- package/react/components/sdd/css/views.css +3 -0
- package/react/components/sdd/smartDesktopClient.d.ts +627 -0
- package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
- package/react/components/sdd/smartDesktopClient.js +1222 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/types.d.ts +9 -0
- package/react/components/sdd/types.d.ts.map +1 -0
- package/react/components/sdd/types.js +2 -0
- package/react/components/sdd/types.js.map +1 -0
- 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/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +6 -6
- package/react/components/search/SearchResults.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 +83 -100
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +1 -1
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +3 -6
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +8 -5
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +10 -1
- package/react/components/toolbar/ToolbarIcon.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/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +14 -1
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.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/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/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/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 +479 -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 +437 -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/react/reducers/rootReducer.d.ts +12 -0
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.js +12 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/store.d.ts +24 -0
- package/react/store.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
- package/typedefs/FDC3/api/AppMetadata.d.ts.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/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
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.");
|
|
@@ -117,6 +101,7 @@ const getWindowGroups = () => {
|
|
|
117
101
|
return controller.windowGroups;
|
|
118
102
|
};
|
|
119
103
|
/**
|
|
104
|
+
* @language javascript, java, dotnet
|
|
120
105
|
* Closes window. Defaults are to remove the window from the workspace if the user presses the X button, but not if the window is closed via an app-level request (e.g., switching workspaces, so all windows need to close).
|
|
121
106
|
*
|
|
122
107
|
* ```javascript
|
|
@@ -129,27 +114,19 @@ const getWindowGroups = () => {
|
|
|
129
114
|
* @param {boolean} params.removeFromWorkspace Whether to remove the window from the workspace.
|
|
130
115
|
* @param {boolean} params.closeWindow Whether to close the window. On shutdown this method is called, but the Window Service actually closes the window.
|
|
131
116
|
* @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
117
|
* @param {function} cb The callback to be invoked after the method completes successfully.
|
|
134
118
|
*/
|
|
135
119
|
export const close = (params, cb) => {
|
|
136
120
|
if (!params) {
|
|
137
121
|
params = { removeFromWorkspace: true, closeWindow: true };
|
|
138
122
|
}
|
|
139
|
-
|
|
140
|
-
if (params.userInitiated && parentWindow) {
|
|
141
|
-
return parentWindow.close(params, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return FEAGlobals.finsembleWindow.close(params, cb);
|
|
145
|
-
}
|
|
123
|
+
return FEAGlobals.finsembleWindow.close(params, cb);
|
|
146
124
|
};
|
|
147
125
|
/**
|
|
126
|
+
* @language javascript, java, dotnet
|
|
148
127
|
* Retrieves the window's title.
|
|
149
128
|
*
|
|
150
|
-
*
|
|
151
|
-
* let windowTitle = FSBL.Clients.WindowClient.getWindowTitle();
|
|
152
|
-
* ```
|
|
129
|
+
* @deprecated
|
|
153
130
|
* @returns {String} title
|
|
154
131
|
*/
|
|
155
132
|
export const getWindowTitle = () => {
|
|
@@ -195,7 +172,7 @@ const getWindowBounds = () => {
|
|
|
195
172
|
*
|
|
196
173
|
* The code below is the bulk of our listener for the <code>bounds-changed</code> event from the window. Every time the <code>bounds-changed</code> event is fired (when the window is resized or moved), we save the window's state. The first few lines just prevent the window from being dropped behind the toolbar.
|
|
197
174
|
* ```javascript
|
|
198
|
-
*finWindow.addEventListener('disabled-frame-bounds-changed', function (bounds) {
|
|
175
|
+
* finWindow.addEventListener('disabled-frame-bounds-changed', function (bounds) {
|
|
199
176
|
* if (bounds.top < 45) {
|
|
200
177
|
* finWindow.moveTo(bounds.left, 45);
|
|
201
178
|
* return;
|
|
@@ -235,6 +212,7 @@ const saveWindowBounds = (bounds, setActiveWorkspaceDirty) => {
|
|
|
235
212
|
}
|
|
236
213
|
};
|
|
237
214
|
/**
|
|
215
|
+
* @language javascript, java, dotnet
|
|
238
216
|
* Maximizes the window taking into account any claimed space on the monitor.
|
|
239
217
|
*
|
|
240
218
|
* ```javascript
|
|
@@ -244,6 +222,7 @@ const saveWindowBounds = (bounds, setActiveWorkspaceDirty) => {
|
|
|
244
222
|
*/
|
|
245
223
|
export const maximize = (cb) => FEAGlobals.finsembleWindow.maximize(null, cb);
|
|
246
224
|
/**
|
|
225
|
+
* @language javascript, java, dotnet
|
|
247
226
|
* Minimizes window.
|
|
248
227
|
*
|
|
249
228
|
* ```javascript
|
|
@@ -253,6 +232,7 @@ export const maximize = (cb) => FEAGlobals.finsembleWindow.maximize(null, cb);
|
|
|
253
232
|
*/
|
|
254
233
|
export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
|
|
255
234
|
/**
|
|
235
|
+
* @language javascript, java
|
|
256
236
|
* Brings the window to the top of all other windows.
|
|
257
237
|
*
|
|
258
238
|
* ```javascript
|
|
@@ -261,9 +241,12 @@ export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
|
|
|
261
241
|
*/
|
|
262
242
|
export const bringToFront = (cb) => FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
|
|
263
243
|
/**
|
|
244
|
+
* @language javascript, java, dotnet
|
|
245
|
+
* @deprecated Use [`bringToFront()`](#bringtofront) instead, which returns a promise.
|
|
246
|
+
*
|
|
264
247
|
* Brings the window to the top of all other windows
|
|
265
248
|
*
|
|
266
|
-
* This is a non-
|
|
249
|
+
* This is a non-promise version for backward compatibility. Please use WindowClient.bringToFront()
|
|
267
250
|
*
|
|
268
251
|
* @deprecated Use `bringToFront()` instead, which returns a promise.
|
|
269
252
|
*/
|
|
@@ -272,6 +255,7 @@ export const bringWindowToFront = (cb) => {
|
|
|
272
255
|
FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
|
|
273
256
|
};
|
|
274
257
|
/**
|
|
258
|
+
* @language javascript, java, dotnet
|
|
275
259
|
* Sets whether window is always on top. By default, this is false.
|
|
276
260
|
*
|
|
277
261
|
* ```javascript
|
|
@@ -282,6 +266,7 @@ export const bringWindowToFront = (cb) => {
|
|
|
282
266
|
*/
|
|
283
267
|
export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.setAlwaysOnTop({ alwaysOnTop }, cb);
|
|
284
268
|
/**
|
|
269
|
+
* @language javascript, java, dotnet
|
|
285
270
|
* Restores window from a maximized or minimized state.
|
|
286
271
|
*
|
|
287
272
|
* ```javascript
|
|
@@ -291,15 +276,21 @@ export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.se
|
|
|
291
276
|
*/
|
|
292
277
|
export const restore = (cb) => FEAGlobals.finsembleWindow.restore(null, cb);
|
|
293
278
|
/**
|
|
279
|
+
* @language javascript, java
|
|
280
|
+
* :::tip Important
|
|
294
281
|
* _This feature is experimental. The signature may change in the future._
|
|
282
|
+
* :::
|
|
295
283
|
*
|
|
296
284
|
* Sets an overlay image on the MS Windows taskbar, for instance to indicate activity.
|
|
297
285
|
* (This is sometimes referred to as a "badge").
|
|
298
286
|
*
|
|
299
287
|
* The url must point to a 16x16 png image. Images of other sizes or types will not display.
|
|
300
288
|
*
|
|
301
|
-
*
|
|
289
|
+
* :::note
|
|
290
|
+
* MacOS does not support taskbar overlay images. This function is safe to call
|
|
302
291
|
* on MacOS but will not perform any function.
|
|
292
|
+
* :::
|
|
293
|
+
*
|
|
303
294
|
* @param url - The url of the icon to use. Pass null to remove the overlay icon.
|
|
304
295
|
*/
|
|
305
296
|
export const setTaskbarIconOverlay = (url) => {
|
|
@@ -338,6 +329,7 @@ const getElementFinsembleWindow = async (params) => {
|
|
|
338
329
|
return FEAGlobals.finsembleWindow;
|
|
339
330
|
};
|
|
340
331
|
/**
|
|
332
|
+
* @language javascript, java, dotnet
|
|
341
333
|
* Given a field, this function retrieves app state. If no params are given, the full state is returned.
|
|
342
334
|
*
|
|
343
335
|
* The example below shows how we retrieve data to restore the layout in our charts.
|
|
@@ -375,6 +367,7 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
|
|
|
375
367
|
});
|
|
376
368
|
});
|
|
377
369
|
/**
|
|
370
|
+
* @language javascript, java, dotnet
|
|
378
371
|
* Given a field, this function sets and persists app state.
|
|
379
372
|
*
|
|
380
373
|
* The example below shows how we save our chart layout when it changes.
|
|
@@ -382,7 +375,10 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
|
|
|
382
375
|
* let s = stx.exportLayout(true);
|
|
383
376
|
* //saving layout'
|
|
384
377
|
* FSBL.Clients.WindowClient.setComponentState({ field: 'myChartLayout', value: s });
|
|
385
|
-
* FSBL.Clients.WindowClient.setComponentState({ fields: [
|
|
378
|
+
* FSBL.Clients.WindowClient.setComponentState({ fields: [
|
|
379
|
+
* {field:'myChartLayout', value: s },
|
|
380
|
+
* {field:'chartType', value: 'mountain'}
|
|
381
|
+
* ]});
|
|
386
382
|
* ```
|
|
387
383
|
* @param {object} params Object of data to be saved
|
|
388
384
|
* @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
|
|
@@ -399,13 +395,14 @@ export const setComponentState = async (params, cb) => new Promise(async (resolv
|
|
|
399
395
|
});
|
|
400
396
|
});
|
|
401
397
|
/**
|
|
398
|
+
* @language javascript, java, dotnet
|
|
402
399
|
* Given a field, this function removes it from app state.
|
|
403
400
|
*
|
|
404
401
|
* The example below shows how we would remove our chart layout when it no longer needed.
|
|
405
402
|
* ```javascript
|
|
406
403
|
* // remove unused state value
|
|
407
404
|
* FSBL.Clients.WindowClient.removeComponentState({ field: 'myChartLayout'});
|
|
408
|
-
* FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]);
|
|
405
|
+
* FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]});
|
|
409
406
|
* ```
|
|
410
407
|
* @param {object} params Object of data to be removed
|
|
411
408
|
* @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
|
|
@@ -421,14 +418,18 @@ export const removeComponentState = async (params, cb) => new Promise(async (res
|
|
|
421
418
|
});
|
|
422
419
|
});
|
|
423
420
|
/**
|
|
424
|
-
*
|
|
421
|
+
* @language javascript
|
|
422
|
+
* 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
423
|
* @deprecated
|
|
424
|
+
*
|
|
425
|
+
* 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
426
|
*/
|
|
427
427
|
export const getWindowNameForDocking = () => {
|
|
428
428
|
Logger.deprecated("WindowClient.getWindowNameForDocking is deprecated and will be removed");
|
|
429
429
|
return deprecatedGetWindowNameForDocking(FEAGlobals.finsembleWindow);
|
|
430
430
|
};
|
|
431
431
|
/**
|
|
432
|
+
* @language javascript
|
|
432
433
|
* Forms a group with any window that is touching the border of this window.
|
|
433
434
|
*/
|
|
434
435
|
export const formGroup = () => {
|
|
@@ -444,49 +445,35 @@ const addListeners = () => {
|
|
|
444
445
|
Logger.deprecated("Do not call WindowClient.addListeners() directly");
|
|
445
446
|
};
|
|
446
447
|
/**
|
|
447
|
-
*
|
|
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
|
-
/**
|
|
448
|
+
* @language javascript
|
|
456
449
|
* Ejects the window from the docking group
|
|
457
450
|
* @deprecated This code will be moved to finsemble-ui
|
|
451
|
+
* Ejects the window from the docking group
|
|
458
452
|
*/
|
|
459
453
|
export const ejectFromGroup = () => {
|
|
460
454
|
Logger.deprecated("WindowClient.ejectFromGroup is deprecated and will be removed");
|
|
461
455
|
FEAGlobals.finsembleWindow.ejectFromGroup();
|
|
462
456
|
};
|
|
463
457
|
/**
|
|
464
|
-
* @
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
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
|
|
458
|
+
* @language javascript, java, dotnet
|
|
459
|
+
* This method overrides the app title that displays in the app's title bar or tab. This will take precedence over
|
|
460
|
+
* the document.title or title that is set in the app's config. This will however be overridden by an user edited title.
|
|
461
|
+
* @param title Window title.
|
|
484
462
|
*/
|
|
485
463
|
const setWindowTitle = (title) => {
|
|
486
|
-
|
|
487
|
-
|
|
464
|
+
const store = getRemoteStoreAsSingleton({
|
|
465
|
+
singletonName: "WindowClient::setWindowTitle",
|
|
466
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
467
|
+
slice: "windowTitleBar",
|
|
468
|
+
emptyStore,
|
|
469
|
+
dispatchOnly: true,
|
|
470
|
+
});
|
|
471
|
+
store.dispatch(actions.setAPITitle({
|
|
472
|
+
title,
|
|
473
|
+
}));
|
|
488
474
|
};
|
|
489
475
|
/**
|
|
476
|
+
* @language javascript, java, dotnet
|
|
490
477
|
* Retrieves data that was set with <a href="/docs/reference/typedocs/modules/LauncherClient#spawn">LauncherClient.spawn</a>.
|
|
491
478
|
* @returns The spawnData that was passed to calls to LauncherClient.spawn, or an empty object.
|
|
492
479
|
*/
|
|
@@ -496,9 +483,11 @@ export const getSpawnData = () => {
|
|
|
496
483
|
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
484
|
};
|
|
498
485
|
/**
|
|
486
|
+
* @language javascript, java, dotnet
|
|
487
|
+
* @deprecated Use `FSBL.System.Window.getCurrent()`
|
|
488
|
+
*
|
|
499
489
|
* Returns a reference to the current FEAWindow for the component.
|
|
500
490
|
* @returns {finWindow}
|
|
501
|
-
* @deprecated Use `FSBL.System.Window.getCurrent()`
|
|
502
491
|
*/
|
|
503
492
|
export const getCurrentWindow = () => {
|
|
504
493
|
// getCurrentWindow() is still being used by e2e tests and the zoom.js preload. Don't change this to
|
|
@@ -532,6 +521,7 @@ const isMouseOverDOMElement = (element, cb) => {
|
|
|
532
521
|
return isMouseOverDOMElementFromUtil(element, cb);
|
|
533
522
|
};
|
|
534
523
|
/**
|
|
524
|
+
* @language javascript, java, dotnet
|
|
535
525
|
* Returns the window identifier for the current component.
|
|
536
526
|
* @returns {WindowIdentifier}
|
|
537
527
|
*/
|
|
@@ -545,22 +535,24 @@ export const getWindowIdentifier = () => {
|
|
|
545
535
|
};
|
|
546
536
|
};
|
|
547
537
|
/**
|
|
538
|
+
* @deprecated
|
|
548
539
|
* Highlights the window as active by creating a border around the window.
|
|
549
540
|
*
|
|
550
541
|
* @param {boolean} active Set to false to turn off activity
|
|
551
|
-
* @deprecated
|
|
552
542
|
*/
|
|
553
543
|
const setActive = (active) => {
|
|
554
544
|
Logger.deprecated("WindowClient.setActive is deprecated and will be removed");
|
|
555
545
|
deprecatedSetActive(active);
|
|
556
546
|
};
|
|
557
547
|
/**
|
|
548
|
+
* @language javascript, java, dotnet
|
|
558
549
|
* Returns the object defining bounds for the current window including the position of the left and right edges measured in pixels from the left edge of the monitor, the top and bottom edges measured in pixels from the top edge, and the width and height of the component in pixels.
|
|
559
550
|
* Please note that this method differs from the right and bottom coordinates passed to LauncherClient.spawn(); those are measured from the right and bottom edges of the screen.
|
|
560
551
|
* @param {StandardCallback} cb The callback to be invoked after the method completes successfully.
|
|
561
552
|
*/
|
|
562
553
|
export const getBounds = (cb) => FEAGlobals.finsembleWindow.getBounds(cb);
|
|
563
554
|
/**
|
|
555
|
+
* @language javascript
|
|
564
556
|
* Defines areas of the window that will be displayed and clickable. All other areas of the window will be transparent.
|
|
565
557
|
* Can be used to create click-through areas of a window.
|
|
566
558
|
*
|
|
@@ -578,6 +570,7 @@ export const setShape = (params, callback = Function.prototype) => {
|
|
|
578
570
|
FEAGlobals.finsembleWindow.setShape(params, callback);
|
|
579
571
|
};
|
|
580
572
|
/**
|
|
573
|
+
* @language javascript
|
|
581
574
|
* This is used by the Finsemble window title bar when a tab is dragged for tiling or tabbing.
|
|
582
575
|
* @param {*} params - <code>params.windowIdentifier</code> is required.
|
|
583
576
|
* @param {WindowIdentifier} params.windowIdentifier The Finsemble identifier for the target window.
|
|
@@ -590,6 +583,7 @@ export const startTilingOrTabbing = (params, cb) => {
|
|
|
590
583
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
591
584
|
};
|
|
592
585
|
/**
|
|
586
|
+
* @language javascript
|
|
593
587
|
* Begin programmatically moving the window; the first parameter is a mouse event. Until `stopMovingWindow` is invoked, the window will follow the user's mouse. This should be invoked inside of a `mouseDown` event handler.
|
|
594
588
|
*/
|
|
595
589
|
export const startMovingWindow = (event) => {
|
|
@@ -597,6 +591,7 @@ export const startMovingWindow = (event) => {
|
|
|
597
591
|
currentWindow.startMovingWindow(event);
|
|
598
592
|
};
|
|
599
593
|
/**
|
|
594
|
+
* @language javascript
|
|
600
595
|
* Stops moving a window that was set in motion via `startMovingWindow`.
|
|
601
596
|
*/
|
|
602
597
|
export const stopMovingWindow = () => {
|
|
@@ -604,6 +599,7 @@ export const stopMovingWindow = () => {
|
|
|
604
599
|
currentWindow.stopMovingWindow();
|
|
605
600
|
};
|
|
606
601
|
/**
|
|
602
|
+
* @language javascript
|
|
607
603
|
* This is used to cancel a tabbing or tiling operation.
|
|
608
604
|
*
|
|
609
605
|
* @param {object} params
|
|
@@ -618,18 +614,7 @@ export const cancelTilingOrTabbing = (params, cb) => {
|
|
|
618
614
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
619
615
|
};
|
|
620
616
|
/**
|
|
621
|
-
*
|
|
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
|
-
/**
|
|
617
|
+
* @language javascript, java
|
|
633
618
|
* This function is used by the Finsemble window title bar to end tiling or tabbing.
|
|
634
619
|
* @param {*} params
|
|
635
620
|
* @param {object} params.mousePosition Where the pointer is on the screen
|
|
@@ -663,52 +648,6 @@ export const stopTilingOrTabbing = (params, cb) => {
|
|
|
663
648
|
if (!params.allowDropOnSelf)
|
|
664
649
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
665
650
|
};
|
|
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
651
|
/**
|
|
713
652
|
*
|
|
714
653
|
*/
|
|
@@ -717,11 +656,24 @@ const getMonitorInfo = async (params = {}, cb) => {
|
|
|
717
656
|
return getWhichMonitorClientSide(RouterClient, params, cb);
|
|
718
657
|
};
|
|
719
658
|
/**
|
|
659
|
+
* @language javascript, java, dotnet
|
|
720
660
|
* Moves the window so that it's centered above the user's mouse.
|
|
721
661
|
*/
|
|
722
662
|
export const showAtMousePosition = () => {
|
|
723
663
|
RouterClient.transmit("DockingService.showAtMousePosition", getWindowIdentifier());
|
|
724
664
|
};
|
|
665
|
+
/**
|
|
666
|
+
* @language javascript
|
|
667
|
+
* Resize the window to fit the contents of the window's DOM, with optional padding.
|
|
668
|
+
*
|
|
669
|
+
* @param [params] optional parameters
|
|
670
|
+
* @param [params.padding] allow for padding around to DOM contents
|
|
671
|
+
* @param {number} [params.padding.height] extra pixels to add to the total height of the window. Default is 0
|
|
672
|
+
* @param {number} [params.padding.width] extra pixels to add to the total width of the window. Default is 0
|
|
673
|
+
* @param {number} [params.maxHeight] the maximum height to size the window to
|
|
674
|
+
* @param {number} [params.maxWidth] the maximum width to size the window to
|
|
675
|
+
* @param [cb] The callback to be invoked after the method completes successfully.
|
|
676
|
+
*/
|
|
725
677
|
export const fitToDOM = async (params, cb) => {
|
|
726
678
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
727
679
|
if (typeof params === "function") {
|
|
@@ -734,7 +686,7 @@ export const fitToDOM = async (params, cb) => {
|
|
|
734
686
|
if (!bounds)
|
|
735
687
|
return;
|
|
736
688
|
/*
|
|
737
|
-
// Injected
|
|
689
|
+
// Injected title bars monkey with the body height by setting a calc() in the css
|
|
738
690
|
// We have to remove this to get the necessary calculations to fit to the DOM
|
|
739
691
|
if(document.body.style.height?.includes("calc"))
|
|
740
692
|
document.body.style.height = "auto";
|
|
@@ -771,6 +723,209 @@ export const fitToDOM = async (params, cb) => {
|
|
|
771
723
|
}
|
|
772
724
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
773
725
|
};
|
|
726
|
+
/**
|
|
727
|
+
* @language javascript, dotnet
|
|
728
|
+
* Forms a tab collection from a list of _existing_ windows. (See [LauncherClient.spawnTabCollection()](./LauncherClient#spawnTabCollection) to form a tab
|
|
729
|
+
* collection from non-existing windows.)
|
|
730
|
+
*
|
|
731
|
+
* ```javascript
|
|
732
|
+
* await FSBL.Clients.windowClient.createTabCollection({
|
|
733
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
734
|
+
* promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
|
|
735
|
+
* })
|
|
736
|
+
* ```
|
|
737
|
+
* @param __namedParameters.windowNames - An array of window names to put in the collection. The tabs will retain the ordering of this array.
|
|
738
|
+
* @param __namedParameters.promotedTab - The name of the tab to be promoted. If not set then the first window will be promoted.
|
|
739
|
+
*/
|
|
740
|
+
export const createTabCollection = async ({ windowNames, promotedTab, }) => {
|
|
741
|
+
const store = getRemoteStoreAsSingleton({
|
|
742
|
+
singletonName: "WindowClient::tabCollection",
|
|
743
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
744
|
+
slice: "api",
|
|
745
|
+
emptyStore,
|
|
746
|
+
dispatchOnly: true,
|
|
747
|
+
});
|
|
748
|
+
store.dispatch(actions.createTabCollection({
|
|
749
|
+
windowNames,
|
|
750
|
+
promotedWindowName: promotedTab,
|
|
751
|
+
}));
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* @language javascript, dotnet
|
|
755
|
+
* Adds one or more windows to an existing tab collection.
|
|
756
|
+
*
|
|
757
|
+
* ```javascript
|
|
758
|
+
* await FSBL.Clients.windowClient.addToTabCollection({
|
|
759
|
+
* tabCollectionId: ["StackedWindow-sdsd-343-dsds"],
|
|
760
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
761
|
+
* position: 2,
|
|
762
|
+
* promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
|
|
763
|
+
* })
|
|
764
|
+
* ```
|
|
765
|
+
* @param __namedParameters.windowNames - An array of window names to be added to the collection.
|
|
766
|
+
* @param __namedParameters.tabCollectionId - ID of the tabCollection to join.
|
|
767
|
+
* @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.
|
|
768
|
+
* @param __namedParameters.promotedTab - Tab to be promoted. If not set then the promoted tab will not be changed.
|
|
769
|
+
*/
|
|
770
|
+
export const addToTabCollection = async ({ windowNames, tabCollectionId, position, promotedTab, }) => {
|
|
771
|
+
const store = getRemoteStoreAsSingleton({
|
|
772
|
+
singletonName: "WindowClient::tabCollection",
|
|
773
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
774
|
+
slice: "api",
|
|
775
|
+
emptyStore,
|
|
776
|
+
dispatchOnly: true,
|
|
777
|
+
});
|
|
778
|
+
store.dispatch(actions.addTabsToTabCollection({
|
|
779
|
+
windowNames,
|
|
780
|
+
tabCollectionId,
|
|
781
|
+
position,
|
|
782
|
+
promotedWindowName: promotedTab,
|
|
783
|
+
}));
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* @language javascript, dotnet
|
|
787
|
+
* Removes one or more tabs from their tab collection(s). The tab collection is identified automatically.
|
|
788
|
+
* Tab collections with fewer than two tabs are removed from the system. If the tab collection is maximized then
|
|
789
|
+
* windows that are removed will be restored to their previous unmaximized position and size.
|
|
790
|
+
*
|
|
791
|
+
* ```javascript
|
|
792
|
+
* await FSBL.Clients.windowClient.removeFromTabCollection({
|
|
793
|
+
* windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
|
|
794
|
+
* })
|
|
795
|
+
* ```
|
|
796
|
+
* @param __namedParameters.windowNames - The array of window names to be removed.
|
|
797
|
+
*/
|
|
798
|
+
export const removeFromTabCollection = async ({ windowNames }) => {
|
|
799
|
+
const store = getRemoteStoreAsSingleton({
|
|
800
|
+
singletonName: "WindowClient::tabCollection",
|
|
801
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
802
|
+
slice: "api",
|
|
803
|
+
emptyStore,
|
|
804
|
+
dispatchOnly: true,
|
|
805
|
+
});
|
|
806
|
+
store.dispatch(actions.removeTabsFromTabCollection({
|
|
807
|
+
windowNames,
|
|
808
|
+
}));
|
|
809
|
+
};
|
|
810
|
+
/**
|
|
811
|
+
* @language javascript, dotnet
|
|
812
|
+
* Changes the visible tab in a tab collection. (The tab collection is identified automatically.)
|
|
813
|
+
*
|
|
814
|
+
* ```javascript
|
|
815
|
+
* await FSBL.Clients.windowClient.promoteTab("MyApp-3443-fdf-343-fdfdf");
|
|
816
|
+
* ```
|
|
817
|
+
* @param windowName - The name of the tab to be promoted.
|
|
818
|
+
*/
|
|
819
|
+
export const promoteTab = async (windowName) => {
|
|
820
|
+
const store = getRemoteStoreAsSingleton({
|
|
821
|
+
singletonName: "WindowClient::tabCollection",
|
|
822
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
823
|
+
slice: "windowTitleBar",
|
|
824
|
+
emptyStore,
|
|
825
|
+
dispatchOnly: true,
|
|
826
|
+
});
|
|
827
|
+
store.dispatch(actions.promoteTab({
|
|
828
|
+
targetWindowName: windowName,
|
|
829
|
+
}));
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* @language javascript, dotnet
|
|
833
|
+
* Gets the name of the promoted tab for a given tab collection.
|
|
834
|
+
*
|
|
835
|
+
* ```javascript
|
|
836
|
+
* const {err, data: windowName } = await FSBL.Clients.windowClient.getPromotedTab({
|
|
837
|
+
* tabCollectionId: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
|
|
838
|
+
* });
|
|
839
|
+
* if(windowName) console.log(`The promoted window is ${windowName}`)
|
|
840
|
+
* ```
|
|
841
|
+
* @param __namedParameters.tabCollectionId - ID of the tab collection.
|
|
842
|
+
* @param cb - Optional callback to be invoked after the method completes successfully.
|
|
843
|
+
* @return - Resolves to a tuple containing an error message and the name of the promoted tab in the collection.
|
|
844
|
+
*/
|
|
845
|
+
export const getPromotedTab = async ({ tabCollectionId }, cb) => {
|
|
846
|
+
var _a, _b, _c;
|
|
847
|
+
const state = (await getRemoteState({
|
|
848
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
849
|
+
slice: "windowTitleBar",
|
|
850
|
+
}));
|
|
851
|
+
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;
|
|
852
|
+
if (!promotedTab) {
|
|
853
|
+
const err = `No promoted tab found for tab collection ${tabCollectionId}`;
|
|
854
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
855
|
+
return { err };
|
|
856
|
+
}
|
|
857
|
+
else {
|
|
858
|
+
cb === null || cb === void 0 ? void 0 : cb(null, promotedTab);
|
|
859
|
+
return { err: null, data: promotedTab };
|
|
860
|
+
}
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* @language javascript, dotnet
|
|
864
|
+
* Gets the tabCollectionId for a given window, if it is a member of a tab collection.
|
|
865
|
+
*
|
|
866
|
+
* ```javascript
|
|
867
|
+
* const {err, data } = await FSBL.Clients.windowClient.getTabCollectionForWindow({
|
|
868
|
+
* windowName: ["MyApp-dfdf-sdsd-dfdfdf-343434"]
|
|
869
|
+
* });
|
|
870
|
+
* if(data) console.log(`The tab collection ${data.id} contains these windows: ${data.windows}`);
|
|
871
|
+
* ```
|
|
872
|
+
* @param __namedParameters.windowName - The name of a window that should be in a tab collection.
|
|
873
|
+
* @param cb - Optional callback to be invoked after the method completes.
|
|
874
|
+
* @return - Resolves to a tuple with error message and object containing the tabCollectionId and a list of the windows in that collection.
|
|
875
|
+
* An error will result if the window is not a member of any tab collection.
|
|
876
|
+
*/
|
|
877
|
+
export const getTabCollectionForWindow = async ({ windowName }, cb) => {
|
|
878
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
879
|
+
const state = (await getRemoteState({
|
|
880
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
881
|
+
slice: "windowTitleBar",
|
|
882
|
+
}));
|
|
883
|
+
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;
|
|
884
|
+
if (!id) {
|
|
885
|
+
const err = id ? null : `No tab collection found for window ${windowName}`;
|
|
886
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
887
|
+
return { err };
|
|
888
|
+
}
|
|
889
|
+
const data = {
|
|
890
|
+
id,
|
|
891
|
+
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,
|
|
892
|
+
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,
|
|
893
|
+
};
|
|
894
|
+
cb === null || cb === void 0 ? void 0 : cb(null, data);
|
|
895
|
+
return { err: null, data };
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* @language javascript, dotnet
|
|
899
|
+
* Gets the tabCollectionId for a given window, if it is a member of a tab collection.
|
|
900
|
+
*
|
|
901
|
+
* ```javascript
|
|
902
|
+
* const {err, data } = await FSBL.Clients.windowClient.getTabCollection({
|
|
903
|
+
* windowName: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
|
|
904
|
+
* });
|
|
905
|
+
* if(data) console.log(`The tab collection contains these windows: ${data.windows}`);
|
|
906
|
+
* ```
|
|
907
|
+
* @param __namedParameters.collectionId - The name of the tab collection.
|
|
908
|
+
* @param cb - Optional callback to be invoked after the method completes.
|
|
909
|
+
* @return - Resolves to a tuple with error message and object containing the list of the windows in that collection and the currently promoted window.
|
|
910
|
+
*/
|
|
911
|
+
export const getTabCollection = async ({ id }, cb) => {
|
|
912
|
+
const state = (await getRemoteState({
|
|
913
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
914
|
+
slice: "windowTitleBar",
|
|
915
|
+
}));
|
|
916
|
+
const collection = state.windowTitleBar.tabCollections[id];
|
|
917
|
+
if (!collection) {
|
|
918
|
+
const err = `No tab collection "${id}" found.`;
|
|
919
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
920
|
+
return { err };
|
|
921
|
+
}
|
|
922
|
+
const data = {
|
|
923
|
+
windows: collection.tabs,
|
|
924
|
+
promotedWindowName: collection.promotedWindowName,
|
|
925
|
+
};
|
|
926
|
+
cb === null || cb === void 0 ? void 0 : cb(null, data);
|
|
927
|
+
return { err: null, data };
|
|
928
|
+
};
|
|
774
929
|
/**
|
|
775
930
|
* @ignore
|
|
776
931
|
*
|
|
@@ -795,11 +950,13 @@ export const WindowClient = {
|
|
|
795
950
|
cb === null || cb === void 0 ? void 0 : cb();
|
|
796
951
|
},
|
|
797
952
|
addListeners,
|
|
953
|
+
addToTabCollection,
|
|
798
954
|
bringToFront,
|
|
799
955
|
bringWindowToFront,
|
|
800
956
|
cacheInitialBounds,
|
|
801
957
|
cancelTilingOrTabbing,
|
|
802
958
|
close,
|
|
959
|
+
createTabCollection,
|
|
803
960
|
ejectFromGroup,
|
|
804
961
|
fitToDOM,
|
|
805
962
|
formGroup,
|
|
@@ -808,31 +965,32 @@ export const WindowClient = {
|
|
|
808
965
|
getCurrentWindow,
|
|
809
966
|
getDesktopBoundingBox,
|
|
810
967
|
getMonitorInfo,
|
|
968
|
+
getPromotedTab,
|
|
811
969
|
getSpawnData,
|
|
812
|
-
|
|
970
|
+
getTabCollection,
|
|
971
|
+
getTabCollectionForWindow,
|
|
813
972
|
getWindowTitle,
|
|
814
973
|
getWindowBounds,
|
|
815
974
|
getWindowGroups,
|
|
816
975
|
getWindowNameForDocking,
|
|
817
976
|
getWindowIdentifier,
|
|
818
|
-
headerCommandChannel,
|
|
819
977
|
injectDOM,
|
|
820
978
|
isMouseOverDOMElement,
|
|
821
979
|
isPointInBox,
|
|
822
980
|
maximize,
|
|
823
981
|
minimize,
|
|
982
|
+
promoteTab,
|
|
824
983
|
removeComponentState,
|
|
984
|
+
removeFromTabCollection,
|
|
825
985
|
restore,
|
|
826
986
|
retrieveMonitorDimensions,
|
|
827
987
|
saveWindowBounds,
|
|
828
|
-
sendIdentifierForTilingOrTabbing,
|
|
829
988
|
setActive,
|
|
830
989
|
setAlwaysOnTop,
|
|
831
990
|
setComponentState,
|
|
832
991
|
setShape,
|
|
833
992
|
setTaskbarIconOverlay,
|
|
834
993
|
setWindowTitle,
|
|
835
|
-
setWindowTitlePrivate,
|
|
836
994
|
showAtMousePosition,
|
|
837
995
|
stopTilingOrTabbing,
|
|
838
996
|
startMovingWindow,
|
|
@@ -856,12 +1014,6 @@ export const WindowClient = {
|
|
|
856
1014
|
set windowGroups(replacement) {
|
|
857
1015
|
getControllerInstance().windowGroups = replacement;
|
|
858
1016
|
},
|
|
859
|
-
get commandChannel() {
|
|
860
|
-
return getControllerInstance().commandChannel;
|
|
861
|
-
},
|
|
862
|
-
set commandChannel(replacement) {
|
|
863
|
-
getControllerInstance().commandChannel = replacement;
|
|
864
|
-
},
|
|
865
1017
|
};
|
|
866
1018
|
/**
|
|
867
1019
|
* @ignore
|