@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
package/react/store.d.ts
CHANGED
|
@@ -210,6 +210,18 @@ export declare const createStore: () => import("redux").Store<import("redux").Em
|
|
|
210
210
|
type: "set_fsbl_version";
|
|
211
211
|
} & {
|
|
212
212
|
payload: string;
|
|
213
|
+
}) | ({
|
|
214
|
+
type: "add_appd_server";
|
|
215
|
+
} & {
|
|
216
|
+
payload: import("./types/smartDesktopDesignerTypes").AppDServerInfo;
|
|
217
|
+
}) | ({
|
|
218
|
+
type: "update_appd_servers";
|
|
219
|
+
} & {
|
|
220
|
+
payload: import("./types/smartDesktopDesignerTypes").AppDServerInfo[];
|
|
221
|
+
}) | ({
|
|
222
|
+
type: "delete_appd_server";
|
|
223
|
+
} & {
|
|
224
|
+
payload: string;
|
|
213
225
|
})> & {
|
|
214
226
|
dispatch: {};
|
|
215
227
|
};
|
|
@@ -423,6 +435,18 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
423
435
|
type: "set_fsbl_version";
|
|
424
436
|
} & {
|
|
425
437
|
payload: string;
|
|
438
|
+
}) | ({
|
|
439
|
+
type: "add_appd_server";
|
|
440
|
+
} & {
|
|
441
|
+
payload: import("./types/smartDesktopDesignerTypes").AppDServerInfo;
|
|
442
|
+
}) | ({
|
|
443
|
+
type: "update_appd_servers";
|
|
444
|
+
} & {
|
|
445
|
+
payload: import("./types/smartDesktopDesignerTypes").AppDServerInfo[];
|
|
446
|
+
}) | ({
|
|
447
|
+
type: "delete_appd_server";
|
|
448
|
+
} & {
|
|
449
|
+
payload: string;
|
|
426
450
|
})> & {
|
|
427
451
|
dispatch: {};
|
|
428
452
|
};
|
package/react/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/ui/store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;AAoBhE,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/ui/store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAC;AAoBhE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0E,CAAC;AAEnG,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgB,CAAC;AAEnC;sDACsD;AACtD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,KAAK,IAAuB,CAAC;AAE7E;sDACsD;AACtD,eAAO,MAAM,WAAW,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,EAAE,KAAK,EAAqB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { SelectConnectRule } from "../../platform/services/Interop/types";
|
|
|
4
4
|
import { AppDefinition } from "../../platform/services/Interop/types";
|
|
5
5
|
import { BootStage } from "../../platform/services/systemManager/types";
|
|
6
6
|
import { DeployInfo } from "../../FEA";
|
|
7
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
7
8
|
export declare type ApplicationRule = SelectConnectRule;
|
|
8
9
|
export declare type ApplicationSaveData = {
|
|
9
10
|
name: string;
|
|
@@ -149,6 +150,7 @@ export declare type SmartDesktopDesignerState = {
|
|
|
149
150
|
currentPreload: PreloadType | null;
|
|
150
151
|
menus: MenuType;
|
|
151
152
|
preloads: PreloadMap;
|
|
153
|
+
appdServers: AppDServerInfo[];
|
|
152
154
|
projectInfo: ProjectSaveData;
|
|
153
155
|
export: {
|
|
154
156
|
uuid: string | null;
|
|
@@ -165,7 +167,8 @@ export declare type SmartDesktopDesignerState = {
|
|
|
165
167
|
};
|
|
166
168
|
export declare type ViewInfo = {
|
|
167
169
|
id: string;
|
|
168
|
-
icon
|
|
170
|
+
icon?: FinsembleIconType;
|
|
171
|
+
faIcon?: IconProp;
|
|
169
172
|
name: string;
|
|
170
173
|
component: React.ReactNode;
|
|
171
174
|
props?: any;
|
|
@@ -183,4 +186,42 @@ export declare type MenuObjType = {
|
|
|
183
186
|
export declare type MenuType = {
|
|
184
187
|
[key: string]: MenuObjType;
|
|
185
188
|
};
|
|
189
|
+
export declare type AppDApplicationTypes = {
|
|
190
|
+
applications: AppDEntryType[];
|
|
191
|
+
message: string;
|
|
192
|
+
};
|
|
193
|
+
export declare type AppDEntryType = {
|
|
194
|
+
appId: string;
|
|
195
|
+
name: string;
|
|
196
|
+
title: string;
|
|
197
|
+
description: string;
|
|
198
|
+
categories: string[];
|
|
199
|
+
version: string;
|
|
200
|
+
tooltip: string;
|
|
201
|
+
lang: string;
|
|
202
|
+
icons: AppDEntryIconAndImageType[];
|
|
203
|
+
screenshots: AppDEntryIconAndImageType[];
|
|
204
|
+
contactEmail: string;
|
|
205
|
+
supportEmail: string;
|
|
206
|
+
moreInfo?: string;
|
|
207
|
+
publisher: string;
|
|
208
|
+
type: string;
|
|
209
|
+
details: {
|
|
210
|
+
url: string;
|
|
211
|
+
};
|
|
212
|
+
hostManifests?: any;
|
|
213
|
+
interop?: any;
|
|
214
|
+
localizedVersions?: any;
|
|
215
|
+
};
|
|
216
|
+
export declare type AppDEntryIconAndImageType = {
|
|
217
|
+
src: string;
|
|
218
|
+
size?: string;
|
|
219
|
+
type?: string;
|
|
220
|
+
label?: string;
|
|
221
|
+
};
|
|
222
|
+
export declare type AppDServerInfo = {
|
|
223
|
+
url: string;
|
|
224
|
+
displayName: string;
|
|
225
|
+
iconURL?: string;
|
|
226
|
+
};
|
|
186
227
|
//# sourceMappingURL=smartDesktopDesignerTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartDesktopDesignerTypes.d.ts","sourceRoot":"","sources":["../../../../src/ui/types/smartDesktopDesignerTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"smartDes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C,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,iBAAiB,CAAC,EAAE,GAAG,CAAC;CACxB,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartDesktopDesignerTypes.js","sourceRoot":"","sources":["../../../../src/ui/types/smartDesktopDesignerTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartDesktopDesignerTypes.js","sourceRoot":"","sources":["../../../../src/ui/types/smartDesktopDesignerTypes.ts"],"names":[],"mappings":"AAwGA,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;AAChB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AASD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,mFAAc,CAAA;IACd,uFAAgB,CAAA;IAChB,qFAAe,CAAA;IACf,yFAAiB,CAAA;AAClB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;AACtB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B"}
|
|
@@ -33,6 +33,7 @@ export interface AppMetadata extends AppIdentifier {
|
|
|
33
33
|
readonly icons?: Array<Icon>;
|
|
34
34
|
/** A list of image URLs for the application that can be used to render UI elements */
|
|
35
35
|
readonly images?: Array<Image>;
|
|
36
|
+
readonly screenshots?: Array<Icon>;
|
|
36
37
|
/** The type of output returned for any intent specified during resolution. May express a particular context type (e.g. "fdc3.instrument"), channel (e.g. "channel") or a channel that will receive a specified type (e.g. "channel<fdc3.instrument>"). */
|
|
37
38
|
readonly resultType?: string | null;
|
|
38
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/typedefs/FDC3/api/AppMetadata.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;;;GAMG;AACH,MAAM,WAAW,WAAY,SAAQ,aAAa;IACjD;;;;KAII;IACJ,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEvB,sCAAsC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,mMAAmM;IACnM,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEhD,qFAAqF;IACrF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAExB,4EAA4E;IAC5E,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,0FA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,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnC,0PAA0P;IAC1P,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare type StandardError = Error | string | null | undefined;
|
|
2
|
+
export declare type StandardErrorCallback<R = any> = (err: StandardError, response?: R) => void;
|
|
3
|
+
export declare type StandardPromise<R = any> = Promise<{
|
|
4
|
+
err?: StandardError;
|
|
5
|
+
data?: R;
|
|
6
|
+
}>;
|
|
7
|
+
export declare type StandardCallback<E = StandardError, R = any> = (err: E, response?: R) => void;
|
|
8
|
+
export declare type Manifest = Record<string, any>;
|
|
9
|
+
//# sourceMappingURL=typedoc-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typedoc-types.d.ts","sourceRoot":"","sources":["../../src/typedoc-types.ts"],"names":[],"mappings":"AAOA,oBAAY,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAG9D,oBAAY,qBAAqB,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;AAGxF,oBAAY,eAAe,CAAC,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC;IAC9C,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,CAAC,CAAC;CACT,CAAC,CAAC;AAGH,oBAAY,gBAAgB,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;AAG1F,oBAAY,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
package/typedoc-types.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This page lists common types that are used repeatedly by the clients. These types have been isolated
|
|
2
|
+
// into a single entrypoint for TypeDocs to pull into the API docs.
|
|
3
|
+
// These used to live in main.ts or types.ts, but using either of those as entry points pulled a large
|
|
4
|
+
// amount of irrelevant type info into the docs. These have been isolated to keep things clean.
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=typedoc-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typedoc-types.js","sourceRoot":"","sources":["../../src/typedoc-types.ts"],"names":[],"mappings":"AAAA,uGAAuG;AACvG,mEAAmE;AACnE,sGAAsG;AACtG,+FAA+F"}
|
package/types.d.ts
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
+
import { StandardError } from "./typedoc-types";
|
|
1
2
|
export { StoreModel } from "./clients/StoreModel";
|
|
2
3
|
export { FDC3 } from "./typedefs";
|
|
3
4
|
export declare type CallbackError = {
|
|
4
5
|
message: string;
|
|
5
6
|
code: string;
|
|
6
7
|
};
|
|
7
|
-
export
|
|
8
|
-
export declare type
|
|
9
|
-
export declare type
|
|
10
|
-
err?: StandardError;
|
|
11
|
-
data?: R;
|
|
12
|
-
}>;
|
|
8
|
+
export { AppDefinition, SelectConnectAppList } from "./platform/services/Interop/types";
|
|
9
|
+
export declare type FinsembleConfig = Record<string, any>;
|
|
10
|
+
export declare type AppConfig = Record<string, any>;
|
|
13
11
|
export declare type StandardResponse<R = any> = {
|
|
14
12
|
err?: StandardError;
|
|
15
13
|
data?: R;
|
|
16
14
|
};
|
|
17
|
-
export
|
|
18
|
-
export declare type Manifest = Record<string, any>;
|
|
19
|
-
export declare type FinsembleConfig = Record<string, any>;
|
|
20
|
-
export declare type AppConfig = Record<string, any>;
|
|
21
|
-
export { AppDefinition, SelectConnectAppList } from "./platform/services/Interop/types";
|
|
15
|
+
export * from "./typedoc-types";
|
|
22
16
|
export * from "./platform/services/config/types";
|
|
23
17
|
//# sourceMappingURL=types.d.ts.map
|
package/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAIlD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,oBAAY,aAAa,GAAG;IAE3B,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAIlD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,oBAAY,aAAa,GAAG;IAE3B,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAExF,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAElD,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE5C,oBAAY,gBAAgB,CAAC,CAAC,GAAG,GAAG,IAAI;IACvC,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,CAAC,CAAC;CACT,CAAC;AAEF,cAAc,iBAAiB,CAAC;AAChC,cAAc,kCAAkC,CAAC"}
|
package/types.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
// This should be converted to an interface so that StoreModel and it's dependencies aren't exported
|
|
1
2
|
export { StoreModel } from "./clients/StoreModel";
|
|
2
3
|
// This is for backward compatibility only, forcing typedefs to be compiled and packaged.
|
|
3
4
|
// Use @finos/fdc3 instead of typedefs
|
|
4
5
|
export { FDC3 } from "./typedefs";
|
|
6
|
+
export * from "./typedoc-types";
|
|
5
7
|
export * from "./platform/services/config/types";
|
|
6
8
|
//# sourceMappingURL=types.js.map
|
package/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAEA,oGAAoG;AACpG,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,yFAAyF;AACzF,sCAAsC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAqBlC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kCAAkC,CAAC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { RouterListenerUnsubscribe } from "../../clients/routerClient";
|
|
2
|
-
import PublicEventManager, { Unsubscriber } from "./PublicEventManager";
|
|
3
|
-
declare type EventOptions = {
|
|
4
|
-
initialQueryTimeout: Number;
|
|
5
|
-
timeout: Number;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* This private Event Manager distributes events to remove event handlers (using the router).
|
|
9
|
-
* It is used within the windowService and workspaceService. Clients use the PublicEventManager
|
|
10
|
-
* in order to register and unregister handlers.
|
|
11
|
-
*
|
|
12
|
-
* The primary use is for FinsembleWindow events. FinsembleWindow is derived from PublicEventManager.
|
|
13
|
-
*
|
|
14
|
-
* The windowService will create multiple PrivateEventManagers, generally one per live window. Each
|
|
15
|
-
* PrivateEventManager maintains its own private store of remote event handlers. Note that event handlers
|
|
16
|
-
* may exist across multiple windows. For instance, a window called "Bobby" may want to know when another
|
|
17
|
-
* window called "Gary" closes. When Bobby registers an event handler ("tell me when Gary closes") then
|
|
18
|
-
* Gary's PrivateEventManager will gain a handler, which is associated with Bobby.
|
|
19
|
-
*
|
|
20
|
-
* In the above scenario, if Bobby (client) closes then Gary's PrivateEventManager will remove all references
|
|
21
|
-
* to remote event handlers. But, if Gary closes then Bobby's references will become orphans - never triggered,
|
|
22
|
-
* which is probably fine for most application logic.
|
|
23
|
-
*
|
|
24
|
-
* For more information on the distrubted event architecture - see https://miro.com/app/board/o9J_kwhN9zo=/
|
|
25
|
-
*
|
|
26
|
-
* Note, this class can also be used as a *local* event manager with the functions.
|
|
27
|
-
*/
|
|
28
|
-
declare class EventManager extends PublicEventManager {
|
|
29
|
-
#private;
|
|
30
|
-
eventList: string[];
|
|
31
|
-
eventInternalHandlerMap: Record<string, string[]>;
|
|
32
|
-
remoteListenerEventMap: Record<string, string[]>;
|
|
33
|
-
windowToGuidsMap: Record<string, string[]>;
|
|
34
|
-
waitList: Record<string, Function>;
|
|
35
|
-
unsubscribes: RouterListenerUnsubscribe[];
|
|
36
|
-
/**
|
|
37
|
-
*Creates an instance of EventManager.
|
|
38
|
-
* @param {*} params
|
|
39
|
-
* @memberof EventManager
|
|
40
|
-
*/
|
|
41
|
-
constructor(params: {
|
|
42
|
-
name: string;
|
|
43
|
-
sourceType?: string;
|
|
44
|
-
});
|
|
45
|
-
/**
|
|
46
|
-
* Removes all listeners associated with a window [that has closed]
|
|
47
|
-
*/
|
|
48
|
-
private removeWindow;
|
|
49
|
-
/**
|
|
50
|
-
* Removes all listeners for a specific remote guid
|
|
51
|
-
*/
|
|
52
|
-
private removeGuid;
|
|
53
|
-
/**
|
|
54
|
-
* Adds an individual remote listener (listenerGuid+event) to this event manager
|
|
55
|
-
*/
|
|
56
|
-
registerRemoteEventHandler(event: string, listenerGuid: string, listenerWindow: string): void;
|
|
57
|
-
/**
|
|
58
|
-
* Removes an individual remote listener (listenerGuid+event) from this event manager
|
|
59
|
-
*/
|
|
60
|
-
unregisterRemoteEventHandler(event: string, listenerGuid: string, listenerWindow: string): void;
|
|
61
|
-
/**
|
|
62
|
-
* We must wait for a remote transit if delayed
|
|
63
|
-
*
|
|
64
|
-
* @memberof EventManager
|
|
65
|
-
*/
|
|
66
|
-
awaitRemoteDelayer(eventGuid: string, listenerGuid: string): Promise<Function>;
|
|
67
|
-
/**
|
|
68
|
-
* Sends a message to a remote listener (PublicEventManager) which will then emit a local Finsemble event.
|
|
69
|
-
*
|
|
70
|
-
* Called by this.trigger().
|
|
71
|
-
*/
|
|
72
|
-
private queryRemoteListener;
|
|
73
|
-
/**
|
|
74
|
-
* Forwards an event to all remote listeners and then waits for them to respond.
|
|
75
|
-
* They may optionally interrupt the event by sending a "cancel" which results in FinsembleEvent throwing
|
|
76
|
-
* an exception. Any individual exception will cause this function to also throw an exception, thus
|
|
77
|
-
* interrupting the event (which occurs upstream, e.g. preventing a window from closing).
|
|
78
|
-
*/
|
|
79
|
-
trigger(event: string, data?: any, options?: EventOptions): Promise<any[] | void>;
|
|
80
|
-
/**
|
|
81
|
-
* Adds a *local* event listener.
|
|
82
|
-
*/
|
|
83
|
-
addEventListener(event: string, handler: Function): Unsubscriber;
|
|
84
|
-
/**
|
|
85
|
-
* Removes a *local* event listener.
|
|
86
|
-
*/
|
|
87
|
-
removeEventListener(event: string, handler: Function): void;
|
|
88
|
-
/**
|
|
89
|
-
* Removes all router listeners and subscriptions. This is called when the windowService terminates this
|
|
90
|
-
* PrivateEventManager (e.g. because the window has closed).
|
|
91
|
-
*/
|
|
92
|
-
cleanup(): void;
|
|
93
|
-
}
|
|
94
|
-
export default EventManager;
|
|
95
|
-
//# sourceMappingURL=PrivateEventManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateEventManager.d.ts","sourceRoot":"","sources":["../../../../src/common/events/PrivateEventManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAErF,OAAO,kBAAkB,EAAE,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKxE,aAAK,YAAY,GAAG;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CA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OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,IAAI;IAc3D;;;OAGG;IACH,OAAO;CASP;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
2
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
3
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
4
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
5
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6
|
-
};
|
|
7
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
-
};
|
|
12
|
-
var _EventManager_unsubscribeWindowClosings;
|
|
13
|
-
import { RouterClient } from "../../clients/routerClient";
|
|
14
|
-
import { Logger } from "../../clients/logger";
|
|
15
|
-
import PublicEventManager from "./PublicEventManager";
|
|
16
|
-
import FinsembleEvent from "./PrivateFinsembleEvent";
|
|
17
|
-
import { sleep } from "../util";
|
|
18
|
-
import { LAUNCHER_SERVICE } from "../../common/constants";
|
|
19
|
-
/**
|
|
20
|
-
* This private Event Manager distributes events to remove event handlers (using the router).
|
|
21
|
-
* It is used within the windowService and workspaceService. Clients use the PublicEventManager
|
|
22
|
-
* in order to register and unregister handlers.
|
|
23
|
-
*
|
|
24
|
-
* The primary use is for FinsembleWindow events. FinsembleWindow is derived from PublicEventManager.
|
|
25
|
-
*
|
|
26
|
-
* The windowService will create multiple PrivateEventManagers, generally one per live window. Each
|
|
27
|
-
* PrivateEventManager maintains its own private store of remote event handlers. Note that event handlers
|
|
28
|
-
* may exist across multiple windows. For instance, a window called "Bobby" may want to know when another
|
|
29
|
-
* window called "Gary" closes. When Bobby registers an event handler ("tell me when Gary closes") then
|
|
30
|
-
* Gary's PrivateEventManager will gain a handler, which is associated with Bobby.
|
|
31
|
-
*
|
|
32
|
-
* In the above scenario, if Bobby (client) closes then Gary's PrivateEventManager will remove all references
|
|
33
|
-
* to remote event handlers. But, if Gary closes then Bobby's references will become orphans - never triggered,
|
|
34
|
-
* which is probably fine for most application logic.
|
|
35
|
-
*
|
|
36
|
-
* For more information on the distrubted event architecture - see https://miro.com/app/board/o9J_kwhN9zo=/
|
|
37
|
-
*
|
|
38
|
-
* Note, this class can also be used as a *local* event manager with the functions.
|
|
39
|
-
*/
|
|
40
|
-
class EventManager extends PublicEventManager {
|
|
41
|
-
/**
|
|
42
|
-
*Creates an instance of EventManager.
|
|
43
|
-
* @param {*} params
|
|
44
|
-
* @memberof EventManager
|
|
45
|
-
*/
|
|
46
|
-
constructor(params) {
|
|
47
|
-
super(params);
|
|
48
|
-
/**
|
|
49
|
-
* Listens for [graceful] window closings and then removes event listeners associated with the closed window
|
|
50
|
-
*/
|
|
51
|
-
_EventManager_unsubscribeWindowClosings.set(this, void 0);
|
|
52
|
-
this.eventList = [];
|
|
53
|
-
this.eventInternalHandlerMap = {};
|
|
54
|
-
this.remoteListenerEventMap = {};
|
|
55
|
-
this.windowToGuidsMap = {};
|
|
56
|
-
this.waitList = {};
|
|
57
|
-
this.unsubscribes = [];
|
|
58
|
-
// listen for remote events registering
|
|
59
|
-
this.unsubscribes.push(RouterClient.addListener(`Finsemble.RegisterInterruptibleEvent.${this.name}`, (err, response) => {
|
|
60
|
-
this.registerRemoteEventHandler(response.data.event, response.data.listenerGuid, response.data.windowName);
|
|
61
|
-
}));
|
|
62
|
-
//listen for remote events unregistering
|
|
63
|
-
this.unsubscribes.push(RouterClient.addListener(`Finsemble.UnregisterInterruptibleEvent.${this.name}`, (err, response) => {
|
|
64
|
-
this.unregisterRemoteEventHandler(response.data.event, response.data.listenerGuid, response.data.windowName);
|
|
65
|
-
}));
|
|
66
|
-
/**
|
|
67
|
-
* Listen on Finsemble's global window closed pubsub. When a window is closed all local listeners are removed.
|
|
68
|
-
*/
|
|
69
|
-
__classPrivateFieldSet(this, _EventManager_unsubscribeWindowClosings, RouterClient.addListener(LAUNCHER_SERVICE.WINDOW_CLOSED, (err, response) => {
|
|
70
|
-
if (err) {
|
|
71
|
-
Logger.system.error(`PrivateEventManager: Error listening for ${LAUNCHER_SERVICE.WINDOW_CLOSED}: ${err}`);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
const { name } = response.data;
|
|
75
|
-
this.removeWindow(name);
|
|
76
|
-
}
|
|
77
|
-
}), "f");
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Removes all listeners associated with a window [that has closed]
|
|
81
|
-
*/
|
|
82
|
-
removeWindow(listeningWindow) {
|
|
83
|
-
var _a;
|
|
84
|
-
((_a = this.windowToGuidsMap[listeningWindow]) !== null && _a !== void 0 ? _a : []).forEach((listenerGuid) => {
|
|
85
|
-
this.removeGuid(listenerGuid);
|
|
86
|
-
});
|
|
87
|
-
delete this.windowToGuidsMap[listeningWindow];
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Removes all listeners for a specific remote guid
|
|
91
|
-
*/
|
|
92
|
-
removeGuid(listenerGuid) {
|
|
93
|
-
const events = Object.keys(this.remoteListenerEventMap);
|
|
94
|
-
events.forEach((event) => {
|
|
95
|
-
this.remoteListenerEventMap[event] = this.remoteListenerEventMap[event].filter((oldGuid) => oldGuid !== listenerGuid);
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Adds an individual remote listener (listenerGuid+event) to this event manager
|
|
100
|
-
*/
|
|
101
|
-
registerRemoteEventHandler(event, listenerGuid, listenerWindow) {
|
|
102
|
-
var _a;
|
|
103
|
-
if (!this.remoteListenerEventMap[event])
|
|
104
|
-
this.remoteListenerEventMap[event] = [];
|
|
105
|
-
this.remoteListenerEventMap[event].push(listenerGuid);
|
|
106
|
-
this.windowToGuidsMap[listenerWindow] = [listenerGuid].concat((_a = this.windowToGuidsMap[listenerWindow]) !== null && _a !== void 0 ? _a : []);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Removes an individual remote listener (listenerGuid+event) from this event manager
|
|
110
|
-
*/
|
|
111
|
-
unregisterRemoteEventHandler(event, listenerGuid, listenerWindow) {
|
|
112
|
-
var _a;
|
|
113
|
-
if (this.remoteListenerEventMap[event]) {
|
|
114
|
-
// Remove the remote listener
|
|
115
|
-
this.remoteListenerEventMap[event] = this.remoteListenerEventMap[event].filter((g) => g !== listenerGuid);
|
|
116
|
-
// Remove from the window map. Delete the window map if there are no more listeners.
|
|
117
|
-
this.windowToGuidsMap[listenerWindow] = ((_a = this.windowToGuidsMap[listenerWindow]) !== null && _a !== void 0 ? _a : []).filter((g) => g !== listenerGuid);
|
|
118
|
-
if (this.windowToGuidsMap[listenerWindow].length === 0)
|
|
119
|
-
delete this.windowToGuidsMap[listenerWindow];
|
|
120
|
-
}
|
|
121
|
-
else if (this.windowToGuidsMap[listenerWindow]) {
|
|
122
|
-
// if window is still open
|
|
123
|
-
// Straggling unregister requests may trickle in after a window is closed, but if the window is still open then something has probably gone wrong.
|
|
124
|
-
Logger.system.warn(`PrivateEventManager.unregisterListener() attempt to remove unregistered event "${event}" for window ${listenerWindow}`);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* We must wait for a remote transit if delayed
|
|
129
|
-
*
|
|
130
|
-
* @memberof EventManager
|
|
131
|
-
*/
|
|
132
|
-
awaitRemoteDelayer(eventGuid, listenerGuid) {
|
|
133
|
-
const awaitRemoteDelayerPromiseResolver = (resolve, reject) => {
|
|
134
|
-
const listener = (err, response) => {
|
|
135
|
-
RouterClient.removeListener(`Finsemble.Listener.Done.${eventGuid}.${listenerGuid}`, listener);
|
|
136
|
-
if (response.data.canceled === true) {
|
|
137
|
-
reject("canceled");
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
resolve(response.data.data);
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
this.waitList[eventGuid] = listener;
|
|
144
|
-
RouterClient.addListener(`Finsemble.Listener.Done.${eventGuid}.${listenerGuid}`, listener);
|
|
145
|
-
};
|
|
146
|
-
return new Promise(awaitRemoteDelayerPromiseResolver);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Sends a message to a remote listener (PublicEventManager) which will then emit a local Finsemble event.
|
|
150
|
-
*
|
|
151
|
-
* Called by this.trigger().
|
|
152
|
-
*/
|
|
153
|
-
async queryRemoteListener(event, listenerGuid, data, options) {
|
|
154
|
-
// This needs to get added first, otherwise the event can be done before the listener is created; only do this for delayable events.
|
|
155
|
-
const eventGuid = `${this.name}_private_${Date.now()}_${Math.random()}`;
|
|
156
|
-
const eventData = {
|
|
157
|
-
event,
|
|
158
|
-
guid: eventGuid,
|
|
159
|
-
data,
|
|
160
|
-
};
|
|
161
|
-
const delayListener = this.awaitRemoteDelayer(eventGuid, listenerGuid);
|
|
162
|
-
// 1 second to respond to initial query - if this doesn't happen, the window that has the listener is likely crashed or uncleanly closed
|
|
163
|
-
// We send the query without a timeout because there's a race condition. This interrupt may be delivered just as the
|
|
164
|
-
// app is shutting down, in which case there will be no responder available to process this event.
|
|
165
|
-
const { err, response } = await Promise.race([
|
|
166
|
-
RouterClient.query(`Finsemble.Interrupt.${listenerGuid}`, eventData, { timeout: 0, logWhenNoResponder: false }, () => { }),
|
|
167
|
-
sleep(options.initialQueryTimeout, true),
|
|
168
|
-
]).catch(() => {
|
|
169
|
-
// sleep throws an exception
|
|
170
|
-
RouterClient.removeListener(`Finsemble.Listener.Done.${eventGuid}.${listenerGuid}`, this.waitList[eventGuid]);
|
|
171
|
-
throw "eventHandler failed initial response";
|
|
172
|
-
});
|
|
173
|
-
if (err || !response.data)
|
|
174
|
-
return;
|
|
175
|
-
let needToRemoveListener = true;
|
|
176
|
-
if (response.data.wait === true) {
|
|
177
|
-
try {
|
|
178
|
-
needToRemoveListener = false;
|
|
179
|
-
return await delayListener;
|
|
180
|
-
}
|
|
181
|
-
catch (e) {
|
|
182
|
-
needToRemoveListener = true;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
if (response.data.delayed === true) {
|
|
186
|
-
try {
|
|
187
|
-
needToRemoveListener = false;
|
|
188
|
-
// must respond within timeout seconds
|
|
189
|
-
return await Promise.race([delayListener, sleep(options.timeout, true)]);
|
|
190
|
-
}
|
|
191
|
-
catch (e) {
|
|
192
|
-
// sleep throws an exception
|
|
193
|
-
if (e !== "timeout expired") {
|
|
194
|
-
throw "event was canceled";
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
needToRemoveListener = true;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
if (needToRemoveListener) {
|
|
202
|
-
RouterClient.removeListener(`Finsemble.Listener.Done.${eventGuid}.${listenerGuid}`, this.waitList[eventGuid]);
|
|
203
|
-
}
|
|
204
|
-
if (response.data.canceled === true) {
|
|
205
|
-
throw "event was canceled";
|
|
206
|
-
}
|
|
207
|
-
return response.data.data;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Forwards an event to all remote listeners and then waits for them to respond.
|
|
211
|
-
* They may optionally interrupt the event by sending a "cancel" which results in FinsembleEvent throwing
|
|
212
|
-
* an exception. Any individual exception will cause this function to also throw an exception, thus
|
|
213
|
-
* interrupting the event (which occurs upstream, e.g. preventing a window from closing).
|
|
214
|
-
*/
|
|
215
|
-
async trigger(event, data = null, options = { initialQueryTimeout: 1000, timeout: 10000 }) {
|
|
216
|
-
Logger.verbose(`Triggering ${event} for ${this.name}`, data);
|
|
217
|
-
const listenerList = [];
|
|
218
|
-
// If a tree falls in the forest and nobody is listening, does it matter?
|
|
219
|
-
if (this.remoteListenerEventMap[event]) {
|
|
220
|
-
// send a query all remote listeners
|
|
221
|
-
for (let listenerGuid of this.remoteListenerEventMap[event]) {
|
|
222
|
-
listenerList.push(this.queryRemoteListener(event, listenerGuid, data, options));
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
// Send the event to each registered handler
|
|
226
|
-
const handlers = this.handlers.filter((entry) => entry.event === event);
|
|
227
|
-
handlers.forEach((entry) => {
|
|
228
|
-
const finsembleEvent = new FinsembleEvent({
|
|
229
|
-
source: this.name,
|
|
230
|
-
sourceType: this.sourceType,
|
|
231
|
-
handler: entry.handler,
|
|
232
|
-
event,
|
|
233
|
-
data,
|
|
234
|
-
guid: entry.listenerGuid,
|
|
235
|
-
});
|
|
236
|
-
listenerList.push(finsembleEvent.complete);
|
|
237
|
-
});
|
|
238
|
-
try {
|
|
239
|
-
return await Promise.all(listenerList);
|
|
240
|
-
}
|
|
241
|
-
catch (err) {
|
|
242
|
-
if (err === "eventHandler failed initial response") {
|
|
243
|
-
console.debug(`No response for interupt on event ${event}. Window is probably already closed.`);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
throw "event was canceled";
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Adds a *local* event listener.
|
|
252
|
-
*/
|
|
253
|
-
addEventListener(event, handler) {
|
|
254
|
-
Logger.system.debug("PrivateEventManager.addEventListener:", event);
|
|
255
|
-
const listenerGuid = `${this.name}_public_${Date.now()}_${Math.random()}`;
|
|
256
|
-
this.handlers.push({
|
|
257
|
-
event,
|
|
258
|
-
handler,
|
|
259
|
-
listenerGuid,
|
|
260
|
-
});
|
|
261
|
-
return () => {
|
|
262
|
-
this.removeEventListener(event, handler);
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Removes a *local* event listener.
|
|
267
|
-
*/
|
|
268
|
-
removeEventListener(event, handler) {
|
|
269
|
-
Logger.system.debug("PrivateEventManager.removeEventListener:", event);
|
|
270
|
-
// Find the first entry that matches - noting that there could be multiple entries for the same handler
|
|
271
|
-
// and this legacy interface provides no disambiguation via listenerGuid
|
|
272
|
-
const index = this.handlers.findIndex((entry) => entry.event === event && entry.handler === handler);
|
|
273
|
-
if (index == -1) {
|
|
274
|
-
Logger.system.warn(`PrivateEventManager.removeEventListener() attempt to remove unregistered event "${event}"`);
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
this.handlers.splice(index, 1);
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Removes all router listeners and subscriptions. This is called when the windowService terminates this
|
|
281
|
-
* PrivateEventManager (e.g. because the window has closed).
|
|
282
|
-
*/
|
|
283
|
-
cleanup() {
|
|
284
|
-
if (__classPrivateFieldGet(this, _EventManager_unsubscribeWindowClosings, "f"))
|
|
285
|
-
__classPrivateFieldGet(this, _EventManager_unsubscribeWindowClosings, "f").call(this);
|
|
286
|
-
// Close the router listeners that were opened in the constructor
|
|
287
|
-
this.unsubscribes.forEach((unsubscribe) => {
|
|
288
|
-
unsubscribe();
|
|
289
|
-
});
|
|
290
|
-
this.unsubscribes = [];
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
_EventManager_unsubscribeWindowClosings = new WeakMap();
|
|
294
|
-
export default EventManager;
|
|
295
|
-
//# sourceMappingURL=PrivateEventManager.js.map
|