@finsemble/finsemble-ui 8.3.0-beta.8 → 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
|
@@ -2,9 +2,11 @@ import { RouterClient } from "../clients/routerClient";
|
|
|
2
2
|
import { Logger } from "../clients/logger";
|
|
3
3
|
import * as util from "./util";
|
|
4
4
|
import PublicEventManager from "./events/PublicEventManager";
|
|
5
|
-
import { WINDOWSTATE
|
|
5
|
+
import { WINDOWSTATE } from "./constants";
|
|
6
6
|
import { System } from "./system";
|
|
7
7
|
import { FEAGlobals } from "./Globals";
|
|
8
|
+
import { actions, emptyStore } from "../platform/services/window/modules/actions";
|
|
9
|
+
import { getRemoteStoreAsSingleton } from "../common/redux/getRemoteStore";
|
|
8
10
|
import clone from "lodash/cloneDeep";
|
|
9
11
|
export class FinsembleView {
|
|
10
12
|
constructor(params) {
|
|
@@ -21,45 +23,6 @@ export class FinsembleView {
|
|
|
21
23
|
await this.win.bringViewToFront(this, cb);
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Subscribes to a Router pubsub that will contain the 'parent state' for the window (i.e. is this window part
|
|
26
|
-
* of a tabbed group / has a parent). The state received (and any later updates to it) are applied to the
|
|
27
|
-
* FinsembleWindow.
|
|
28
|
-
*
|
|
29
|
-
* current state.
|
|
30
|
-
* @param wrap Wrap that should be subscribing to parent state.
|
|
31
|
-
* @param identifier WindowIdentifier of the window whose state should be observed.
|
|
32
|
-
* @returns a promise that will resolve when the subscription has returned the initial state.
|
|
33
|
-
*/
|
|
34
|
-
const waitForParentChangeMessage = async (wrap, identifier) => new Promise((resolve) => {
|
|
35
|
-
// Subscribe to parent inside the wrap so if getInstance is called after window creation the parent window will be available.
|
|
36
|
-
wrap.parentSubscribeID = RouterClient.subscribe(`Finsemble.parentChange.${identifier.windowName}`, async (err, message) => {
|
|
37
|
-
if (err) {
|
|
38
|
-
Logger.system.error("FinsembleWindow Parent Notification: notification error", err);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
const parentState = message.data || {};
|
|
42
|
-
if (parentState.type === "Added") {
|
|
43
|
-
Logger.system.debug("FinsembleWindow Parent Notification: window.addedToStack listener", parentState);
|
|
44
|
-
await wrap.setParent(parentState.stackedWindowIdentifier);
|
|
45
|
-
}
|
|
46
|
-
else if (parentState.type === "Exists") {
|
|
47
|
-
Logger.system.debug("FinsembleWindow Parent Notification: Parent already exists, checking if added to wrap", parentState);
|
|
48
|
-
await wrap.setParentOnWrap(parentState.stackedWindowIdentifier);
|
|
49
|
-
}
|
|
50
|
-
else if (parentState.type === "Removed") {
|
|
51
|
-
Logger.system.debug("FinsembleWindow Parent Notification: window.removedFromStack listener", parentState);
|
|
52
|
-
wrap.clearParent();
|
|
53
|
-
}
|
|
54
|
-
else if (parentState.type) {
|
|
55
|
-
// if defined but unknown type
|
|
56
|
-
Logger.system.error("FinsembleWindow Parent Notification: unknown type", parentState);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
resolve();
|
|
60
|
-
wrap.determiningParent = null;
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
26
|
/**
|
|
64
27
|
*
|
|
65
28
|
<h2>Finsemble Window</h2>
|
|
@@ -80,8 +43,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
80
43
|
name: params.name,
|
|
81
44
|
sourceType: "Window",
|
|
82
45
|
});
|
|
83
|
-
/** Promise that should be resolved when the initial state opf the parent relationship for this window has been determined. */
|
|
84
|
-
this.determiningParent = null;
|
|
85
46
|
this.types = {};
|
|
86
47
|
this.wrapState = params.wrapState || "initializing";
|
|
87
48
|
this.componentState = {};
|
|
@@ -94,7 +55,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
94
55
|
this.windowOptions = {};
|
|
95
56
|
// because we were doing this[i]=params[i] in the constructor jscrambler was creating a reference to "this" above _super_, causing everything to break
|
|
96
57
|
this.doConstruction(params);
|
|
97
|
-
this.TITLE_CHANGED_CHANNEL = `Finsemble.${this.name}.titleChanged`;
|
|
98
58
|
this.componentKey = util.camelCase("activeWorkspace", this.name, this.name);
|
|
99
59
|
this.windowKey = util.camelCase("activeWorkspace", this.name);
|
|
100
60
|
FinsembleWindow.bindFunctions(this);
|
|
@@ -116,10 +76,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
116
76
|
return "bounds-change-start";
|
|
117
77
|
case "bringToFront":
|
|
118
78
|
return "broughtToFront";
|
|
119
|
-
case "setParent":
|
|
120
|
-
return "parent-set";
|
|
121
|
-
case "clearParent":
|
|
122
|
-
return "parent-unset";
|
|
123
79
|
default:
|
|
124
80
|
return event;
|
|
125
81
|
}
|
|
@@ -163,7 +119,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
163
119
|
/**
|
|
164
120
|
* Internal use only - Returns the name of the window service channel for a given service or topic
|
|
165
121
|
* @private
|
|
166
|
-
* @param {string} channelTopic - the topic or service (eg, "close", "maximize"
|
|
122
|
+
* @param {string} channelTopic - the topic or service (eg, "close", "maximize")
|
|
167
123
|
* @returns {string} the window service channel name, which can be used for router queries/listening
|
|
168
124
|
*/
|
|
169
125
|
windowServiceChannelName(channelTopic) {
|
|
@@ -226,8 +182,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
226
182
|
* @param {} obj
|
|
227
183
|
*/
|
|
228
184
|
static bindFunctions(obj) {
|
|
229
|
-
obj.setParent = obj.setParent.bind(obj);
|
|
230
|
-
obj.getParent = obj.getParent.bind(obj);
|
|
231
185
|
obj.eventChannelName = obj.eventChannelName.bind(obj);
|
|
232
186
|
obj.windowServiceChannelName = obj.windowServiceChannelName.bind(obj);
|
|
233
187
|
obj.handleWrapRemoveRequest = obj.handleWrapRemoveRequest.bind(obj);
|
|
@@ -438,13 +392,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
438
392
|
RouterClient.unsubscribe(subscribeID);
|
|
439
393
|
}
|
|
440
394
|
});
|
|
441
|
-
// Runs a background task to identity this window's parent. The parent is only used when wrap.getParent() is called,
|
|
442
|
-
// at which time if the parent is not yet available it will wait for this promise to complete.
|
|
443
|
-
// We can't move this function into getParent() because this function subscribes to a router message that
|
|
444
|
-
// tracks changes to the window's parent. Note that there's a subtle race condition in that the parent could
|
|
445
|
-
// change in the millisecond instant between when we create the wrap and when our subscribe is accepted.
|
|
446
|
-
// The reason why we don't await the promise is to avoid introducing delay into createWrap().
|
|
447
|
-
wrap.determiningParent = waitForParentChangeMessage(wrap, identifier);
|
|
448
395
|
resolve({ wrap });
|
|
449
396
|
});
|
|
450
397
|
}
|
|
@@ -493,10 +440,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
493
440
|
cleanupRouter() {
|
|
494
441
|
const REMOVE_WRAP_CHANNEL = FinsembleWindow._getRemoveWrapChannel(this.name);
|
|
495
442
|
RouterClient.removeResponder(REMOVE_WRAP_CHANNEL);
|
|
496
|
-
if (this.TITLE_CHANGED_SUBSCRIPTION) {
|
|
497
|
-
RouterClient.unsubscribe(this.TITLE_CHANGED_SUBSCRIPTION);
|
|
498
|
-
}
|
|
499
|
-
RouterClient.unsubscribe(this.parentSubscribeID);
|
|
500
443
|
}
|
|
501
444
|
/**
|
|
502
445
|
* Identify what to run when/if the component is ready.
|
|
@@ -549,7 +492,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
549
492
|
var _a;
|
|
550
493
|
// All window functions except add event listener must wait until the window is ready.
|
|
551
494
|
// And then we re-run this same method
|
|
552
|
-
if (methodName !== "close" &&
|
|
495
|
+
if (methodName !== "close" && this.wrapState !== "ready") {
|
|
553
496
|
await this.onReady();
|
|
554
497
|
this.wrapState = "ready";
|
|
555
498
|
const data = await this.queryWindowService(methodName, params);
|
|
@@ -776,7 +719,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
776
719
|
this.queryWindowService("isAlwaysOnTop", params, callback);
|
|
777
720
|
}
|
|
778
721
|
/**
|
|
779
|
-
* Determine if the current window is showing. A window is not showing when it is
|
|
722
|
+
* Determine if the current window is showing. A window is not showing when it is minimized or hidden.
|
|
780
723
|
* See also: updateOptions
|
|
781
724
|
*
|
|
782
725
|
* @param params This parameter is ignored.
|
|
@@ -897,10 +840,10 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
897
840
|
* console.log("The width of the current window:", data.width);
|
|
898
841
|
* })
|
|
899
842
|
*/
|
|
900
|
-
getBounds(cb,
|
|
843
|
+
getBounds(cb, backwardCompatibilityCB) {
|
|
901
844
|
const promiseResolver = (resolve) => {
|
|
902
845
|
// Old signature was getBounds({}, callback). New signature is getBounds(callback).
|
|
903
|
-
const callback = typeof cb === "function" ? cb :
|
|
846
|
+
const callback = typeof cb === "function" ? cb : backwardCompatibilityCB;
|
|
904
847
|
this.queryWindowService("getBounds", {}, (err, bounds) => {
|
|
905
848
|
callback === null || callback === void 0 ? void 0 : callback(err, bounds);
|
|
906
849
|
resolve({ err, data: bounds });
|
|
@@ -930,7 +873,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
930
873
|
* Use the `.show()` method to bring the current window back.
|
|
931
874
|
*
|
|
932
875
|
* @param {object} [params]
|
|
933
|
-
* @param {boolean} [params.invokedByParent] - internal use only
|
|
934
876
|
* @param [callback]
|
|
935
877
|
* @example
|
|
936
878
|
* const {err} = await finsembleWindow.hide();
|
|
@@ -964,7 +906,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
964
906
|
* Shows the current window. This will undo hide or minimize.
|
|
965
907
|
*
|
|
966
908
|
* @param {object} [params]
|
|
967
|
-
* @param {boolean} [params.invokedByParent] - internal use only
|
|
968
909
|
* @param {boolean} [params.shouldMaximize] - when the window is shown, it should also be maximized
|
|
969
910
|
* @param {boolean} [params.shouldRestore] -
|
|
970
911
|
* @param {boolean} [params.saveState] -
|
|
@@ -1044,12 +985,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1044
985
|
*/
|
|
1045
986
|
registerWithDocking(params = {}, cb) {
|
|
1046
987
|
this.onReady(() => {
|
|
1047
|
-
RouterClient.query("DockingService.registerWindow",
|
|
1048
|
-
type: this.type,
|
|
1049
|
-
windowType: this.windowType,
|
|
1050
|
-
windowMsg: params,
|
|
1051
|
-
name: this.windowName,
|
|
1052
|
-
}, cb);
|
|
988
|
+
RouterClient.query("DockingService.registerWindow", params, cb);
|
|
1053
989
|
});
|
|
1054
990
|
}
|
|
1055
991
|
/**
|
|
@@ -1305,7 +1241,12 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1305
1241
|
* Alternative, use: `FSBL.Clients.WindowClient.getComponentState`
|
|
1306
1242
|
*/
|
|
1307
1243
|
getComponentState(params, cb) {
|
|
1308
|
-
|
|
1244
|
+
return new Promise((resolve) => {
|
|
1245
|
+
this.queryWindowService("getComponentState", params, (err, data) => {
|
|
1246
|
+
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
1247
|
+
resolve({ err, data });
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1309
1250
|
}
|
|
1310
1251
|
/**
|
|
1311
1252
|
* @private
|
|
@@ -1357,159 +1298,23 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1357
1298
|
Logger.system.debug("FinsembleWindow.cancelTabTileMonitoring", params);
|
|
1358
1299
|
RouterClient.transmit("TabTile.cancelTabTile", { params });
|
|
1359
1300
|
}
|
|
1360
|
-
/**
|
|
1361
|
-
* Return the parent window's wrapper (e.g. StackedWindow).
|
|
1362
|
-
*
|
|
1363
|
-
* @param cb - Callback with the parent (null if there's no parent)
|
|
1364
|
-
* @example
|
|
1365
|
-
* finsembleWindow.getParent((err, parent) => {
|
|
1366
|
-
* if(parent !== null){
|
|
1367
|
-
* // do something
|
|
1368
|
-
* }
|
|
1369
|
-
* })
|
|
1370
|
-
*/
|
|
1371
|
-
getParent(cb) {
|
|
1372
|
-
const _getParent = (cb) => {
|
|
1373
|
-
if (this.settingParent) {
|
|
1374
|
-
FinsembleWindow.getInstance(this.settingParent, (err, stackWrap) => {
|
|
1375
|
-
cb(null, stackWrap);
|
|
1376
|
-
});
|
|
1377
|
-
}
|
|
1378
|
-
else if (this.parentWindow) {
|
|
1379
|
-
cb(null, this.parentWindow);
|
|
1380
|
-
}
|
|
1381
|
-
else {
|
|
1382
|
-
cb(null, null);
|
|
1383
|
-
}
|
|
1384
|
-
};
|
|
1385
|
-
//If we're still waiting for the intial state of the parent relationship, wait for that to happen before handling this call.
|
|
1386
|
-
if (this.determiningParent) {
|
|
1387
|
-
this.determiningParent.then(() => {
|
|
1388
|
-
_getParent(cb);
|
|
1389
|
-
});
|
|
1390
|
-
Logger.system.debug("FinsembleWindow is determining parent, waiting on that...");
|
|
1391
|
-
}
|
|
1392
|
-
else {
|
|
1393
|
-
_getParent(cb);
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* Sets the parent window (e.g. stackedWindow) and emits "setParent" event to window listeners.
|
|
1398
|
-
*
|
|
1399
|
-
* @param {object} stackedWindowIdentifier identifier of window to set as parent (e.g. stackedWindowIdentifier).
|
|
1400
|
-
* @private
|
|
1401
|
-
*/
|
|
1402
|
-
async setParent(stackedWindowIdentifier, cb) {
|
|
1403
|
-
return new Promise((resolve) => {
|
|
1404
|
-
if (this.settingParent) {
|
|
1405
|
-
// Note: not checking that the parent is different
|
|
1406
|
-
this.getParent((err, data) => {
|
|
1407
|
-
cb === null || cb === void 0 ? void 0 : cb(err, data);
|
|
1408
|
-
resolve({ err, data });
|
|
1409
|
-
});
|
|
1410
|
-
return;
|
|
1411
|
-
}
|
|
1412
|
-
this.settingParent = stackedWindowIdentifier;
|
|
1413
|
-
if (this.parentWindow && this.parentWindow.name === stackedWindowIdentifier.windowName) {
|
|
1414
|
-
Logger.system.debug("FinsembleWindow.setParent already set", stackedWindowIdentifier);
|
|
1415
|
-
this.settingParent = false;
|
|
1416
|
-
cb === null || cb === void 0 ? void 0 : cb(null, this.parentWindow);
|
|
1417
|
-
resolve({ data: this.parentWindow });
|
|
1418
|
-
}
|
|
1419
|
-
else {
|
|
1420
|
-
this.queryWindowService("setParent", stackedWindowIdentifier, () => {
|
|
1421
|
-
Logger.system.debug("FinsembleWindow.setParent", stackedWindowIdentifier);
|
|
1422
|
-
FinsembleWindow.getInstance(stackedWindowIdentifier, (err, wrappedStackedWindow) => {
|
|
1423
|
-
if (!err) {
|
|
1424
|
-
Logger.system.debug("FinsembleWindow.setParent wrap success", stackedWindowIdentifier);
|
|
1425
|
-
this.parentWindow = wrappedStackedWindow;
|
|
1426
|
-
if (!this.parentWindow.windowType.includes("StackedWindow") &&
|
|
1427
|
-
!this.parentWindow.windowName.includes("StackedWindow")) {
|
|
1428
|
-
Logger.system.error("FinsembleWindow.setParent error", this.parentWindow.name, stackedWindowIdentifier.windowName);
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
else {
|
|
1432
|
-
Logger.system.error("FinsembleWindow.setParent error", err);
|
|
1433
|
-
}
|
|
1434
|
-
/** DH 11/8/2019
|
|
1435
|
-
* There is an intrinsic race between stacks and grouping:
|
|
1436
|
-
* The stack is the group, not the children, so the parent might
|
|
1437
|
-
* not be correct before the update arrives. This publish ensures
|
|
1438
|
-
* that there is at least one publish _after_ the parent has been set.
|
|
1439
|
-
*/
|
|
1440
|
-
RouterClient.transmit(DOCKING.REQUEST_PUBLISH, null);
|
|
1441
|
-
this.settingParent = false;
|
|
1442
|
-
const parentSettingDone = () => {
|
|
1443
|
-
this.removeEventListener("parent-set", parentSettingDone);
|
|
1444
|
-
cb === null || cb === void 0 ? void 0 : cb(err, wrappedStackedWindow);
|
|
1445
|
-
resolve({ err, data: wrappedStackedWindow });
|
|
1446
|
-
};
|
|
1447
|
-
this.addEventListener("parent-set", parentSettingDone);
|
|
1448
|
-
});
|
|
1449
|
-
});
|
|
1450
|
-
}
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
/**
|
|
1454
|
-
* Sets the parent window (e.g. stackedWindow) on a window wrap.
|
|
1455
|
-
* This is for the case where a window already has a parent but it's wrap doesn't know about it.
|
|
1456
|
-
* @param {object} stackedWindowIdentifier identifier of window to set as parent (e.g. stackedWindowIdentifier).
|
|
1457
|
-
* @private
|
|
1458
|
-
*/
|
|
1459
|
-
async setParentOnWrap(stackedWindowIdentifier, cb = Function.prototype) {
|
|
1460
|
-
return new Promise((resolve) => {
|
|
1461
|
-
if (this.parentWindow && this.parentWindow.name === stackedWindowIdentifier.windowName) {
|
|
1462
|
-
Logger.system.debug("FinsembleWindow.setParentOnWrap already set", stackedWindowIdentifier);
|
|
1463
|
-
cb(null, this.parentWindow);
|
|
1464
|
-
resolve({ err: null, data: this.parentWindow });
|
|
1465
|
-
}
|
|
1466
|
-
else {
|
|
1467
|
-
this.queryWindowService("setParent", stackedWindowIdentifier, () => {
|
|
1468
|
-
Logger.system.debug("FinsembleWindow.setParentOnWrap", stackedWindowIdentifier);
|
|
1469
|
-
FinsembleWindow.getInstance(stackedWindowIdentifier, (err, wrappedStackedWindow) => {
|
|
1470
|
-
if (!err) {
|
|
1471
|
-
Logger.system.debug("FinsembleWindow.setParentOnWrap success getting wrap", stackedWindowIdentifier);
|
|
1472
|
-
this.parentWindow = wrappedStackedWindow;
|
|
1473
|
-
if (this.parentWindow.windowType.includes("StackedWindow") === false &&
|
|
1474
|
-
this.parentWindow.windowName.includes("StackedWindow") === false) {
|
|
1475
|
-
Logger.system.error("FinsembleWindow.setParentOnWrap error", this.parentWindow.name, stackedWindowIdentifier.windowName);
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
else {
|
|
1479
|
-
Logger.system.error("FinsembleWindow.setParentOnWrap error", err);
|
|
1480
|
-
}
|
|
1481
|
-
cb(err, wrappedStackedWindow);
|
|
1482
|
-
resolve({ err: null, data: wrappedStackedWindow });
|
|
1483
|
-
});
|
|
1484
|
-
});
|
|
1485
|
-
}
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
/**
|
|
1489
|
-
* Clears the parent reference and emits "clearParent" event to window listeners. Used only internally.
|
|
1490
|
-
*
|
|
1491
|
-
* @private
|
|
1492
|
-
*/
|
|
1493
|
-
clearParent() {
|
|
1494
|
-
Logger.system.debug("FinsembleWindow.clearParent", this.parentWindow);
|
|
1495
|
-
this.parentWindow = null;
|
|
1496
|
-
}
|
|
1497
1301
|
/**
|
|
1498
1302
|
* Change the title of the current window.
|
|
1499
1303
|
*
|
|
1304
|
+
* @deprecated - Set document.title in your app or use FSBL.Clients.WindowClient.setTitle()
|
|
1500
1305
|
* @param title - the new title
|
|
1501
|
-
* @example
|
|
1502
|
-
* finsembleWindow.setTitle("New title");
|
|
1503
1306
|
*/
|
|
1504
1307
|
setTitle(title) {
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
windowName: this.windowName,
|
|
1308
|
+
const store = getRemoteStoreAsSingleton({
|
|
1309
|
+
singletonName: "WindowClient::setWindowTitle",
|
|
1310
|
+
server: "@@finsemble/remoteRedux/WindowServiceStore",
|
|
1311
|
+
slice: "windowTitleBar",
|
|
1312
|
+
emptyStore,
|
|
1313
|
+
dispatchOnly: true,
|
|
1512
1314
|
});
|
|
1315
|
+
store.dispatch(actions.setAPITitle({
|
|
1316
|
+
title,
|
|
1317
|
+
}));
|
|
1513
1318
|
}
|
|
1514
1319
|
/**
|
|
1515
1320
|
* Get all options related to the current window
|
|
@@ -1532,130 +1337,6 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1532
1337
|
});
|
|
1533
1338
|
});
|
|
1534
1339
|
}
|
|
1535
|
-
// TO BE REMOVED WHEN TABBING API IS PUT IN PLACe
|
|
1536
|
-
/**
|
|
1537
|
-
* Handles common housekeeping checks and modifications on params at the beginning of each private window-management function
|
|
1538
|
-
*
|
|
1539
|
-
* @param {string} methodName method name (e.g. "minimize", "maximize")
|
|
1540
|
-
* @param {object} params
|
|
1541
|
-
* @private
|
|
1542
|
-
*/
|
|
1543
|
-
_privateManagementPreface(methodName, params) {
|
|
1544
|
-
var _a, _b;
|
|
1545
|
-
if (typeof params === "function") {
|
|
1546
|
-
Logger.system.error("StackedWindowWrapper.wrapPreface bad params", params);
|
|
1547
|
-
}
|
|
1548
|
-
params = params || {};
|
|
1549
|
-
params.stackedWindowIdentifier = {
|
|
1550
|
-
windowName: (_a = this.identifier) === null || _a === void 0 ? void 0 : _a.windowName,
|
|
1551
|
-
windowType: (_b = this.identifier) === null || _b === void 0 ? void 0 : _b.windowType,
|
|
1552
|
-
}; // add this window's identifier
|
|
1553
|
-
Logger.system.debug(`StackedWindow.${methodName} _privateManagementPreface`, params);
|
|
1554
|
-
return params;
|
|
1555
|
-
}
|
|
1556
|
-
/**
|
|
1557
|
-
* Adds window as a child to a stacked window. Adds to the top of the stack, or if specified to a specific location in the stack;
|
|
1558
|
-
*
|
|
1559
|
-
* @param {object=} params
|
|
1560
|
-
* @param {object} params.stackedWindowIdentifier stacked window to operate on stacked window to operate on
|
|
1561
|
-
* @param {object} params.windowIdentifier window to add
|
|
1562
|
-
* @param {number=} params.position the location in the stack to push the window. Location 0 is the bottom of the stack. Defaults to the top of stack.
|
|
1563
|
-
* @param {boolean=} params.noSave if true then don't save the store after updating it (will be saved by caller)
|
|
1564
|
-
* @param {function=} callback function(err)
|
|
1565
|
-
* @private
|
|
1566
|
-
*/
|
|
1567
|
-
addWindow(params, callback = Function.prototype) {
|
|
1568
|
-
params = this._privateManagementPreface("addWindow", params);
|
|
1569
|
-
const promiseResolver = (resolve) => {
|
|
1570
|
-
RouterClient.query("StackedWindow.addWindow", params, (err, queryResponseMessage) => {
|
|
1571
|
-
Logger.system.debug("StackedWindow.addWindow callback", err, queryResponseMessage);
|
|
1572
|
-
callback(err, queryResponseMessage.data);
|
|
1573
|
-
resolve({ err, data: queryResponseMessage.data });
|
|
1574
|
-
});
|
|
1575
|
-
};
|
|
1576
|
-
return new Promise(promiseResolver);
|
|
1577
|
-
}
|
|
1578
|
-
/**
|
|
1579
|
-
* Removes a child window from a stacked window. If removed window was visible, then the bottom child window (position 0) in stack will be made visible.
|
|
1580
|
-
*
|
|
1581
|
-
* @param {object} params
|
|
1582
|
-
* @param {object} params.stackedWindowIdentifier stacked window to operate on
|
|
1583
|
-
* @param {object} params.windowIdentifier window to remove
|
|
1584
|
-
* @param {boolean=} params.noDocking if true then do not register removed window with docking (the workspace is unaffected)
|
|
1585
|
-
* @param {function=} callback function(err)
|
|
1586
|
-
* @private
|
|
1587
|
-
*/
|
|
1588
|
-
removeWindow(params, callback = Function.prototype) {
|
|
1589
|
-
params = this._privateManagementPreface("removeWindow", params);
|
|
1590
|
-
const promiseResolver = (resolve) => {
|
|
1591
|
-
RouterClient.query("StackedWindow.removeWindow", params, (err, queryResponseMessage) => {
|
|
1592
|
-
Logger.system.debug("StackedWindow.removeWindow callback", err, queryResponseMessage);
|
|
1593
|
-
callback(err, queryResponseMessage.data);
|
|
1594
|
-
resolve({ err, data: queryResponseMessage.data });
|
|
1595
|
-
});
|
|
1596
|
-
};
|
|
1597
|
-
return new Promise(promiseResolver);
|
|
1598
|
-
}
|
|
1599
|
-
/**
|
|
1600
|
-
* Removes a window from the stack then closes it. If removed window was visible, then the bottom child window (position 0) in stack will be made visible.
|
|
1601
|
-
*
|
|
1602
|
-
* @param {object} params
|
|
1603
|
-
* @param {object} params.stackedWindowIdentifier stacked window to operate on
|
|
1604
|
-
* @param {object} params.windowIdentifier window to delete
|
|
1605
|
-
* @param {function=} callback function(err)
|
|
1606
|
-
* @private
|
|
1607
|
-
*/
|
|
1608
|
-
deleteWindow(params, callback = Function.prototype) {
|
|
1609
|
-
params = this._privateManagementPreface("deleteWindow", params);
|
|
1610
|
-
const promiseResolver = (resolve) => {
|
|
1611
|
-
RouterClient.query("StackedWindow.deleteWindow", params, (err, queryResponseMessage) => {
|
|
1612
|
-
Logger.system.debug("StackedWindow.deleteWindow callback", err, queryResponseMessage);
|
|
1613
|
-
callback(err, queryResponseMessage.data);
|
|
1614
|
-
resolve({ err, data: queryResponseMessage.data });
|
|
1615
|
-
});
|
|
1616
|
-
};
|
|
1617
|
-
return new Promise(promiseResolver);
|
|
1618
|
-
}
|
|
1619
|
-
/**
|
|
1620
|
-
* Sets the visible window within the stack. The previously visible window in stack will be automatically hidden.
|
|
1621
|
-
*
|
|
1622
|
-
* @param {object} params
|
|
1623
|
-
* @param {object} params.stackedWindowIdentifier stacked window to operate on
|
|
1624
|
-
* @param {object} params.windowIdentifier
|
|
1625
|
-
* @param {function=} callback function(err)
|
|
1626
|
-
* @private
|
|
1627
|
-
*/
|
|
1628
|
-
setVisibleWindow(params, callback = Function.prototype) {
|
|
1629
|
-
params = this._privateManagementPreface("setVisibleWindow", params);
|
|
1630
|
-
const promiseResolver = (resolve) => {
|
|
1631
|
-
RouterClient.query("StackedWindow.setVisibleWindow", params, (err, queryResponseMessage) => {
|
|
1632
|
-
Logger.system.debug("StackedWindow.setVisibleWindow callback", err, queryResponseMessage);
|
|
1633
|
-
callback(err, queryResponseMessage.data);
|
|
1634
|
-
resolve({ err, data: queryResponseMessage.data });
|
|
1635
|
-
});
|
|
1636
|
-
};
|
|
1637
|
-
return new Promise(promiseResolver);
|
|
1638
|
-
}
|
|
1639
|
-
/**
|
|
1640
|
-
* Reorders the stack, but does not affect visibility
|
|
1641
|
-
*
|
|
1642
|
-
* @param {object} params
|
|
1643
|
-
* @param {object} params.stackedWindowIdentifier stacked window to operate on
|
|
1644
|
-
* @param {array} params.windowIdentifiers array of windowIdentifiers which provides the new order
|
|
1645
|
-
* @param {function=} callback function(err)
|
|
1646
|
-
* @private
|
|
1647
|
-
*/
|
|
1648
|
-
reorder(params, callback = Function.prototype) {
|
|
1649
|
-
params = this._privateManagementPreface("reorder", params);
|
|
1650
|
-
const promiseResolver = (resolve) => {
|
|
1651
|
-
RouterClient.query("StackedWindow.reorder", params, (err, queryResponseMessage) => {
|
|
1652
|
-
Logger.system.debug("StackedWindow.reorder callback", err, queryResponseMessage);
|
|
1653
|
-
callback(err, queryResponseMessage.data);
|
|
1654
|
-
resolve({ err, data: queryResponseMessage.data });
|
|
1655
|
-
});
|
|
1656
|
-
};
|
|
1657
|
-
return new Promise(promiseResolver);
|
|
1658
|
-
}
|
|
1659
1340
|
/**
|
|
1660
1341
|
* Form a docking group with any adjacent windows.
|
|
1661
1342
|
* This is the equivalent of clicking the "Attach Windows" icon in the titlebar, if it's available.
|
|
@@ -1664,8 +1345,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1664
1345
|
* finsembleWindow.formGroup()
|
|
1665
1346
|
*/
|
|
1666
1347
|
formGroup() {
|
|
1667
|
-
|
|
1668
|
-
RouterClient.transmit("DockingService.formGroup", { windowName });
|
|
1348
|
+
RouterClient.transmit("DockingService.formGroup", { windowName: this.name });
|
|
1669
1349
|
}
|
|
1670
1350
|
/**
|
|
1671
1351
|
* Leave a docking group
|
|
@@ -1675,8 +1355,7 @@ export class FinsembleWindow extends PublicEventManager {
|
|
|
1675
1355
|
* finsembleWindow.ejectFromGroup()
|
|
1676
1356
|
*/
|
|
1677
1357
|
ejectFromGroup() {
|
|
1678
|
-
|
|
1679
|
-
RouterClient.query("DockingService.leaveGroup", { name: windowName }, () => { });
|
|
1358
|
+
RouterClient.query("DockingService.leaveGroup", { name: this.name }, () => { });
|
|
1680
1359
|
}
|
|
1681
1360
|
}
|
|
1682
1361
|
FinsembleWindow.WINDOWSTATE = WINDOWSTATE;
|
|
@@ -1699,7 +1378,7 @@ FinsembleWindow.cache = {};
|
|
|
1699
1378
|
FinsembleWindow._windowReady = function (windowName) {
|
|
1700
1379
|
Logger.system.debug(`windowServiceReady: ${windowName} starting`);
|
|
1701
1380
|
let subscribeId;
|
|
1702
|
-
const promiseResolver = async (resolve
|
|
1381
|
+
const promiseResolver = async (resolve) => {
|
|
1703
1382
|
// Subscribe handler for component state. Once new state is retrieved, resolve out of _windowReady
|
|
1704
1383
|
// This is a closure so it easily has access to the promise resolve method.
|
|
1705
1384
|
const onComponentStateChanged = (err, response) => {
|