@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
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { FinsembleWindow } from "../../common/FinsembleWindow";
|
|
2
|
+
import { WindowIdentifier } from "../../platform/services/window/types";
|
|
3
|
+
import { StandardError } from "../../types";
|
|
4
|
+
import { ResponderMessage } from "../routerClient";
|
|
5
|
+
import { StoreModel } from "../StoreModel";
|
|
6
|
+
export declare class DialogManagerClientController {
|
|
7
|
+
initialized: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Can be used to set a specific timeout
|
|
10
|
+
*/
|
|
11
|
+
userInputTimeout: number | null;
|
|
12
|
+
/**
|
|
13
|
+
* A global store used to track which windows are registered as dialogs and their state.
|
|
14
|
+
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
15
|
+
* in the "open" pool when they are in use.
|
|
16
|
+
*/
|
|
17
|
+
DialogStore: StoreModel | null;
|
|
18
|
+
/**
|
|
19
|
+
* Will be set to true if the current window is a dialog
|
|
20
|
+
*/
|
|
21
|
+
isDialog: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Contains a unique channel name that a dialog can use to communicate back to
|
|
24
|
+
* its originating window. The originating window creates the channel as
|
|
25
|
+
* a query responder.
|
|
26
|
+
*/
|
|
27
|
+
RESPONDER_CHANNEL: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Used to send a message back to whoever opened this dialog
|
|
30
|
+
*/
|
|
31
|
+
openerMessage: ResponderMessage | null;
|
|
32
|
+
/**
|
|
33
|
+
* Same as FEAGlobals.finsembleWindow
|
|
34
|
+
*/
|
|
35
|
+
finsembleWindow: FinsembleWindow | null;
|
|
36
|
+
/**
|
|
37
|
+
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
38
|
+
*/
|
|
39
|
+
spawnData: any;
|
|
40
|
+
/**
|
|
41
|
+
* Checks whether the window is a dialog, setting this.isDialog to true or false
|
|
42
|
+
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
43
|
+
*/
|
|
44
|
+
checkIfWindowIsDialog(cb?: (err?: StandardError) => void): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
47
|
+
*
|
|
48
|
+
* **Note:** This method checks whether the calling window is a dialog.
|
|
49
|
+
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
50
|
+
*/
|
|
51
|
+
registerWithStore(cb?: () => void): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Establishes a connection to the distributed store that is used
|
|
54
|
+
* by all dialogs. This function may be called many times but will
|
|
55
|
+
* only initialize one time.
|
|
56
|
+
*/
|
|
57
|
+
initializeOnce(): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates the global store if it doesn't exist.
|
|
60
|
+
* @param {function} callback
|
|
61
|
+
*/
|
|
62
|
+
createStore(cb?: () => void): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
*/
|
|
65
|
+
getFinsembleWindow(cb?: () => void): Promise<void>;
|
|
66
|
+
getAvailableDialog(type: string, cb?: (dialog: WindowIdentifier | null) => void): Promise<WindowIdentifier | null>;
|
|
67
|
+
/**
|
|
68
|
+
* State management - just moves an opened dialog back to the "available" pool.
|
|
69
|
+
* @param {object} identifier window identifier of the dialog.
|
|
70
|
+
*/
|
|
71
|
+
moveDialogFromOpenedToAvailable(identifier: WindowIdentifier): Promise<string | null>;
|
|
72
|
+
/**
|
|
73
|
+
* State management - just moves an available dialog out of the "available" pool.
|
|
74
|
+
* @param {object} identifier window identifier of the dialog.
|
|
75
|
+
*/
|
|
76
|
+
moveDialogFromAvailableToOpened(identifier: WindowIdentifier): Promise<string | null>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=DialogManagerClientController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogManagerClientController.d.ts","sourceRoot":"","sources":["../../../../src/clients/controller/DialogManagerClientController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,qBAAa,6BAA6B;IACzC,WAAW,EAAE,OAAO,CAAS;IAE7B;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC;;;;OAIG;IACH,WAAW,EAAE,UAAU,GAAG,IAAI,CAAQ;IAEtC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAExC;;OAEG;IACH,aAAa,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAE9C;;OAEG;IACH,eAAe,EAAE,eAAe,GAAG,IAAI,CAAQ;IAE/C;;OAEG;IACH,SAAS,EAAE,GAAG,CAAM;IAEpB;;;OAGG;IACG,qBAAqB,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,aAAa,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAY9E;;;;;OAKG;IACG,iBAAiB,CAAC,EAAE,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAWvD;;;;OAIG;IACH,cAAc;IA0Bd;;;OAGG;IACG,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAoBjD;OACG;IACG,kBAAkB,CAAC,EAAE,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IASlD,kBAAkB,CACvB,IAAI,EAAE,MAAM,EACZ,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,GAC5C,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;IA2BnC;;;OAGG;IACG,+BAA+B,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAuB3F;;;OAGG;IACG,+BAA+B,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAsB3F"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { DistributedStoreClient } from "../distributedStoreClient";
|
|
2
|
+
import { FinsembleWindow } from "../../common/FinsembleWindow";
|
|
3
|
+
import { Logger } from "../logger";
|
|
4
|
+
import { System } from "../../common/system";
|
|
5
|
+
import { getMyWindowIdentifier } from "../../common/util";
|
|
6
|
+
import { Globals } from "../../common/Globals";
|
|
7
|
+
import SystemManagerClient from "../../common/systemManagerClient";
|
|
8
|
+
import { series as asyncSeries } from "async";
|
|
9
|
+
export class DialogManagerClientController {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.initialized = false;
|
|
12
|
+
/**
|
|
13
|
+
* Can be used to set a specific timeout
|
|
14
|
+
*/
|
|
15
|
+
this.userInputTimeout = null;
|
|
16
|
+
/**
|
|
17
|
+
* A global store used to track which windows are registered as dialogs and their state.
|
|
18
|
+
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
19
|
+
* in the "open" pool when they are in use.
|
|
20
|
+
*/
|
|
21
|
+
this.DialogStore = null;
|
|
22
|
+
/**
|
|
23
|
+
* Will be set to true if the current window is a dialog
|
|
24
|
+
*/
|
|
25
|
+
this.isDialog = false;
|
|
26
|
+
/**
|
|
27
|
+
* Contains a unique channel name that a dialog can use to communicate back to
|
|
28
|
+
* its originating window. The originating window creates the channel as
|
|
29
|
+
* a query responder.
|
|
30
|
+
*/
|
|
31
|
+
this.RESPONDER_CHANNEL = null;
|
|
32
|
+
/**
|
|
33
|
+
* Used to send a message back to whoever opened this dialog
|
|
34
|
+
*/
|
|
35
|
+
this.openerMessage = null;
|
|
36
|
+
/**
|
|
37
|
+
* Same as FEAGlobals.finsembleWindow
|
|
38
|
+
*/
|
|
39
|
+
this.finsembleWindow = null;
|
|
40
|
+
/**
|
|
41
|
+
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
42
|
+
*/
|
|
43
|
+
this.spawnData = {};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Checks whether the window is a dialog, setting this.isDialog to true or false
|
|
47
|
+
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
48
|
+
*/
|
|
49
|
+
async checkIfWindowIsDialog(cb) {
|
|
50
|
+
var _a, _b, _c, _d, _e, _f;
|
|
51
|
+
if (Globals.finsembleWindow) {
|
|
52
|
+
const { err, data: options } = await Globals.finsembleWindow.getOptions();
|
|
53
|
+
this.spawnData = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.spawnData) !== null && _b !== void 0 ? _b : {};
|
|
54
|
+
this.isDialog = (_f = (_e = (_d = (_c = options === null || options === void 0 ? void 0 : options.customData) === null || _c === void 0 ? void 0 : _c.foreign) === null || _d === void 0 ? void 0 : _d.clients) === null || _e === void 0 ? void 0 : _e.dialogManager) === null || _f === void 0 ? void 0 : _f.isDialog;
|
|
55
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.isDialog = false;
|
|
59
|
+
cb === null || cb === void 0 ? void 0 : cb("Freestanding apps cannot be dialogs");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
64
|
+
*
|
|
65
|
+
* **Note:** This method checks whether the calling window is a dialog.
|
|
66
|
+
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
67
|
+
*/
|
|
68
|
+
async registerWithStore(cb) {
|
|
69
|
+
var _a;
|
|
70
|
+
if (this.isDialog) {
|
|
71
|
+
const myWindowIdentifier = await getMyWindowIdentifier();
|
|
72
|
+
this.RESPONDER_CHANNEL = `Dialog.${myWindowIdentifier.windowName}.Show`;
|
|
73
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available", myWindowIdentifier.windowName], myWindowIdentifier));
|
|
74
|
+
}
|
|
75
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Establishes a connection to the distributed store that is used
|
|
79
|
+
* by all dialogs. This function may be called many times but will
|
|
80
|
+
* only initialize one time.
|
|
81
|
+
*/
|
|
82
|
+
initializeOnce() {
|
|
83
|
+
return new Promise(async (resolve) => {
|
|
84
|
+
// Only initialize once
|
|
85
|
+
if (this.initialized) {
|
|
86
|
+
resolve();
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
this.initialized = true;
|
|
90
|
+
await SystemManagerClient.waitForStartup("windowService");
|
|
91
|
+
await this.checkIfWindowIsDialog();
|
|
92
|
+
asyncSeries([
|
|
93
|
+
this.createStore.bind(this),
|
|
94
|
+
this.registerWithStore.bind(this),
|
|
95
|
+
this.getFinsembleWindow.bind(this),
|
|
96
|
+
(done) => {
|
|
97
|
+
done();
|
|
98
|
+
},
|
|
99
|
+
], () => {
|
|
100
|
+
resolve();
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Creates the global store if it doesn't exist.
|
|
106
|
+
* @param {function} callback
|
|
107
|
+
*/
|
|
108
|
+
async createStore(cb) {
|
|
109
|
+
const defaults = {
|
|
110
|
+
dialogs: {
|
|
111
|
+
opened: {},
|
|
112
|
+
available: {},
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
const { err, data } = await DistributedStoreClient.createStore({
|
|
116
|
+
store: "DialogStore",
|
|
117
|
+
values: defaults,
|
|
118
|
+
global: true,
|
|
119
|
+
});
|
|
120
|
+
if (err || !data) {
|
|
121
|
+
Logger.error(`DialogManagerClient could not create store "DialogStore"`, err);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
this.DialogStore = data;
|
|
125
|
+
}
|
|
126
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
*/
|
|
130
|
+
async getFinsembleWindow(cb) {
|
|
131
|
+
// this.finsembleWindow must only be initialized in actual dialogs. Otherwise it causes side effects in services.
|
|
132
|
+
if (this.isDialog) {
|
|
133
|
+
const { wrap } = await FinsembleWindow.getInstance({ name: System.Window.getCurrent().name });
|
|
134
|
+
this.finsembleWindow = wrap;
|
|
135
|
+
}
|
|
136
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
137
|
+
}
|
|
138
|
+
async getAvailableDialog(type, cb) {
|
|
139
|
+
if (!this.DialogStore) {
|
|
140
|
+
const error = `DialogMangerClient.getAvailableDialogs() store not yet initialized}`;
|
|
141
|
+
Logger.system.error(error);
|
|
142
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
const { err, data: availableDialogs } = await this.DialogStore.getGlobalValue("dialogs.available");
|
|
146
|
+
if (err) {
|
|
147
|
+
const error = `DialogMangerClient.getAvailableDialogs() store error ${err}`;
|
|
148
|
+
Logger.system.error(error);
|
|
149
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
for (const dialogName in availableDialogs) {
|
|
153
|
+
const dialog = availableDialogs[dialogName];
|
|
154
|
+
if (dialog.componentType === type) {
|
|
155
|
+
cb === null || cb === void 0 ? void 0 : cb(dialog);
|
|
156
|
+
return dialog;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* State management - just moves an opened dialog back to the "available" pool.
|
|
164
|
+
* @param {object} identifier window identifier of the dialog.
|
|
165
|
+
*/
|
|
166
|
+
async moveDialogFromOpenedToAvailable(identifier) {
|
|
167
|
+
var _a, _b;
|
|
168
|
+
if (!this.DialogStore) {
|
|
169
|
+
const error = `DialogMangerClient.moveDialogFromOpenedToAvailable() store not yet initialized}`;
|
|
170
|
+
Logger.system.error(error);
|
|
171
|
+
return error;
|
|
172
|
+
}
|
|
173
|
+
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
174
|
+
if (err || !dialogs) {
|
|
175
|
+
const error = `DialogManagerClient.moveDialogFromOpenedToAvailable() no "dialogs" object returned from store`;
|
|
176
|
+
Logger.system.error(error);
|
|
177
|
+
return error;
|
|
178
|
+
}
|
|
179
|
+
const openedDialogs = dialogs.opened;
|
|
180
|
+
const availableDialogs = dialogs.available;
|
|
181
|
+
delete openedDialogs[identifier.windowName];
|
|
182
|
+
availableDialogs[identifier.windowName] = identifier;
|
|
183
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "opened"], openedDialogs));
|
|
184
|
+
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "available"], availableDialogs));
|
|
185
|
+
return null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* State management - just moves an available dialog out of the "available" pool.
|
|
189
|
+
* @param {object} identifier window identifier of the dialog.
|
|
190
|
+
*/
|
|
191
|
+
async moveDialogFromAvailableToOpened(identifier) {
|
|
192
|
+
var _a, _b;
|
|
193
|
+
if (!this.DialogStore) {
|
|
194
|
+
const error = `DialogMangerClient.moveDialogFromAvailableToOpened() store not yet initialized}`;
|
|
195
|
+
Logger.system.error(error);
|
|
196
|
+
return error;
|
|
197
|
+
}
|
|
198
|
+
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
199
|
+
if (err || !dialogs) {
|
|
200
|
+
const error = `DialogManagerClient.moveDialogFromAvailableToOpened no "dialogs" object returned from store`;
|
|
201
|
+
Logger.system.error(error);
|
|
202
|
+
return error;
|
|
203
|
+
}
|
|
204
|
+
const availableDialogs = dialogs.available;
|
|
205
|
+
const openedDialogs = dialogs.opened;
|
|
206
|
+
delete availableDialogs[identifier.windowName];
|
|
207
|
+
openedDialogs[identifier.windowName] = identifier;
|
|
208
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available"], availableDialogs));
|
|
209
|
+
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "opened"], openedDialogs));
|
|
210
|
+
return null;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=DialogManagerClientController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogManagerClientController.js","sourceRoot":"","sources":["../../../../src/clients/controller/DialogManagerClientController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBA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GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAA,CAAC;QAClE,OAAO,IAAI,CAAC;IACb,CAAC;CACD"}
|
|
@@ -12,85 +12,12 @@
|
|
|
12
12
|
* @module DialogManagerClient
|
|
13
13
|
*/
|
|
14
14
|
import { SpawnResponse } from "./launcherClient";
|
|
15
|
-
import { FinsembleWindow } from "../common/FinsembleWindow";
|
|
16
15
|
import { SpawnParams } from "../platform/services/window/types";
|
|
17
16
|
import { WindowIdentifier } from "../platform/services/window/types";
|
|
18
|
-
import { StandardErrorCallback,
|
|
17
|
+
import { StandardErrorCallback, StandardPromise } from "../types";
|
|
19
18
|
import { ResponderMessage } from "./routerClient";
|
|
20
|
-
import { StoreModel } from "./StoreModel";
|
|
21
|
-
export declare class DialogManagerClientController {
|
|
22
|
-
initialized: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Can be used to set a specific timeout
|
|
25
|
-
*/
|
|
26
|
-
userInputTimeout: number | null;
|
|
27
|
-
/**
|
|
28
|
-
* A global store used to track which windows are registered as dialogs and their state.
|
|
29
|
-
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
30
|
-
* in the "open" pool when they are in use.
|
|
31
|
-
*/
|
|
32
|
-
DialogStore: StoreModel | null;
|
|
33
|
-
/**
|
|
34
|
-
* Will be set to true if the current window is a dialog
|
|
35
|
-
*/
|
|
36
|
-
isDialog: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Contains a unique channel name that a dialog can use to communicate back to
|
|
39
|
-
* its originating window. The channel is created by the originating window as
|
|
40
|
-
* a query responder.
|
|
41
|
-
*/
|
|
42
|
-
RESPONDER_CHANNEL: string | null;
|
|
43
|
-
/**
|
|
44
|
-
* Used to send a message back to whoever opened this dialog
|
|
45
|
-
*/
|
|
46
|
-
openerMessage: ResponderMessage | null;
|
|
47
|
-
/**
|
|
48
|
-
* Same as FEAGlobals.finsembleWindow
|
|
49
|
-
*/
|
|
50
|
-
finsembleWindow: FinsembleWindow | null;
|
|
51
|
-
/**
|
|
52
|
-
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
53
|
-
*/
|
|
54
|
-
spawnData: any;
|
|
55
|
-
/**
|
|
56
|
-
* Checks to see whether the window is a dialog, setting this.isDialog to true or false
|
|
57
|
-
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
58
|
-
*/
|
|
59
|
-
checkIfWindowIsDialog(cb?: (err?: StandardError) => void): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
62
|
-
*
|
|
63
|
-
* **Note:** This method checks whether the calling window is a dialog.
|
|
64
|
-
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
65
|
-
*/
|
|
66
|
-
registerWithStore(cb?: () => void): Promise<void>;
|
|
67
|
-
/**
|
|
68
|
-
* Establishes a connection to the distributed store that is used
|
|
69
|
-
* by all dialogs. This function may be called many times but will
|
|
70
|
-
* only initialize one time.
|
|
71
|
-
*/
|
|
72
|
-
initializeOnce(): Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Creates the global store if it doesn't exist.
|
|
75
|
-
* @param {function} callback
|
|
76
|
-
*/
|
|
77
|
-
createStore(cb?: () => void): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
getFinsembleWindow(cb?: () => void): Promise<void>;
|
|
81
|
-
getAvailableDialog(type: string, cb?: (dialog: WindowIdentifier | null) => void): Promise<WindowIdentifier | null>;
|
|
82
|
-
/**
|
|
83
|
-
* State management - just moves an opened dialog back to the "available" pool.
|
|
84
|
-
* @param {object} identifier window identifier of the dialog.
|
|
85
|
-
*/
|
|
86
|
-
moveDialogFromOpenedToAvailable(identifier: WindowIdentifier): Promise<string | null>;
|
|
87
|
-
/**
|
|
88
|
-
* State management - just moves an available dialog out of the "available" pool.
|
|
89
|
-
* @param {object} identifier window identifier of the dialog.
|
|
90
|
-
*/
|
|
91
|
-
moveDialogFromAvailableToOpened(identifier: WindowIdentifier): Promise<string | null>;
|
|
92
|
-
}
|
|
93
19
|
/**
|
|
20
|
+
* @language javascript, java
|
|
94
21
|
* Registers this window as a modal that can be used by the dialog manager. This will set
|
|
95
22
|
* the window as a "scrim" – taking up the entire size of the monitor and being invisible or lightly opaque.
|
|
96
23
|
*
|
|
@@ -98,15 +25,18 @@ export declare class DialogManagerClientController {
|
|
|
98
25
|
*/
|
|
99
26
|
export declare const registerModal: () => Promise<string | null>;
|
|
100
27
|
/**
|
|
28
|
+
* @language javascript, java
|
|
101
29
|
* Shows a semi-transparent black modal behind the dialog.
|
|
102
30
|
* @param {function} cb The callback to be invoked after the method completes successfully.
|
|
103
31
|
*/
|
|
104
32
|
export declare const showModal: (cb?: ((error?: string) => void) | undefined) => Promise<string | null>;
|
|
105
33
|
/**
|
|
34
|
+
* @language javascript, java
|
|
106
35
|
* Hides the dialog's modal.
|
|
107
36
|
*/
|
|
108
37
|
export declare const hideModal: () => Promise<string | null>;
|
|
109
38
|
/**
|
|
39
|
+
* @language javascript, java
|
|
110
40
|
* Spawns an app or url in "dialog mode". The app's window will not be dockable.
|
|
111
41
|
* The app does not need to be explicitly coded as a dialog.
|
|
112
42
|
*
|
|
@@ -141,6 +71,7 @@ export declare const hideModal: () => Promise<string | null>;
|
|
|
141
71
|
*/
|
|
142
72
|
export declare const spawnDialog: (params: SpawnParams, inputParams: any, dialogResponseCallback: StandardErrorCallback<any>, cb?: StandardErrorCallback<SpawnResponse>) => StandardPromise<SpawnResponse>;
|
|
143
73
|
/**
|
|
74
|
+
* @language javascript, java
|
|
144
75
|
* Opens an existing dialog that is registered under the requested type.
|
|
145
76
|
* If no dialog is found then one will be spawned (with the options passed as the second parameter).
|
|
146
77
|
*
|
|
@@ -154,6 +85,7 @@ export declare const spawnDialog: (params: SpawnParams, inputParams: any, dialog
|
|
|
154
85
|
*/
|
|
155
86
|
export declare const open: (type: string, options: any, onUserInput: StandardErrorCallback<any>) => Promise<string | null>;
|
|
156
87
|
/**
|
|
88
|
+
* @language javascript
|
|
157
89
|
* Called from within a dialog window to get the `inputParams` passed by the originating window when
|
|
158
90
|
* it called `spawnDialog()`.
|
|
159
91
|
*
|
|
@@ -163,6 +95,7 @@ export declare const open: (type: string, options: any, onUserInput: StandardErr
|
|
|
163
95
|
*/
|
|
164
96
|
export declare const getParametersFromInDialog: () => Promise<any>;
|
|
165
97
|
/**
|
|
98
|
+
* @language javascript
|
|
166
99
|
* Called within a dialog to pass a response back to the originating window.
|
|
167
100
|
* This will invoke the originating window's callback function that it passed to `spawnDialog()`.
|
|
168
101
|
*
|
|
@@ -173,10 +106,12 @@ export declare const getParametersFromInDialog: () => Promise<any>;
|
|
|
173
106
|
*/
|
|
174
107
|
export declare const respondAndExitFromInDialog: (responseParameters: any) => Promise<void>;
|
|
175
108
|
/**
|
|
109
|
+
* @language javascript
|
|
176
110
|
* Must be called by the dialog window when it is ready to be displayed.
|
|
177
111
|
*/
|
|
178
112
|
export declare const showDialog: () => Promise<void>;
|
|
179
113
|
/**
|
|
114
|
+
* @language javascript
|
|
180
115
|
* Dialog windows *must* run this method so that results can be sent back to
|
|
181
116
|
* originating windows. This method must *only* be run once in any given dialog window.
|
|
182
117
|
*
|
|
@@ -196,6 +131,7 @@ export declare const showDialog: () => Promise<void>;
|
|
|
196
131
|
*/
|
|
197
132
|
export declare const registerDialogCallback: (cb?: StandardErrorCallback<ResponderMessage>) => Promise<void>;
|
|
198
133
|
/**
|
|
134
|
+
* @language javascript
|
|
199
135
|
* Dialogs may call this to respond to the originating window (instead of responding
|
|
200
136
|
* directly to callbacks from `registerDialogCallback()`). The main advantage of using
|
|
201
137
|
* this method is that it automatically hides the dialog.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogManagerClient.d.ts","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,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