@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/common/constants.js
CHANGED
|
@@ -35,17 +35,10 @@ export var WINDOWSTATE;
|
|
|
35
35
|
WINDOWSTATE[WINDOWSTATE["MINIMIZED_WAS_NORMAL"] = 1] = "MINIMIZED_WAS_NORMAL";
|
|
36
36
|
WINDOWSTATE[WINDOWSTATE["MAXIMIZED"] = 2] = "MAXIMIZED";
|
|
37
37
|
WINDOWSTATE[WINDOWSTATE["MINIMIZED_WAS_MAXIMIZED"] = 3] = "MINIMIZED_WAS_MAXIMIZED";
|
|
38
|
-
WINDOWSTATE[WINDOWSTATE["TRANSITIONING"] = 4] = "TRANSITIONING";
|
|
39
38
|
})(WINDOWSTATE || (WINDOWSTATE = {}));
|
|
40
39
|
// These channels are to start and stop services dynamically.
|
|
41
40
|
export const SERVICE_START_CHANNEL = "Finsemble.Service.Start";
|
|
42
41
|
export const SERVICE_STOP_CHANNEL = "Finsemble.Service.Stop";
|
|
43
|
-
export const DOCKING = {
|
|
44
|
-
GROUP_UPDATE: "DockingService.groupUpdate",
|
|
45
|
-
// For legacy reasons, this is named Workspace, even though it's generated by docking.
|
|
46
|
-
WORKSPACE_GROUP_UPDATE: "Finsemble.WorkspaceService.groupUpdate",
|
|
47
|
-
REQUEST_PUBLISH: "DockingService.requestGroupDataPublish",
|
|
48
|
-
};
|
|
49
42
|
// These channels are for interrupting events
|
|
50
43
|
export const EVENT_INTERRUPT_CHANNEL = "Finsemble.Event.Interrupt";
|
|
51
44
|
export const INTERRUPTIBLE_EVENTS = ["close-requested", "closed", "close-complete", "_container-close-handlers"];
|
|
@@ -57,7 +50,9 @@ export const WORKSPACE = {
|
|
|
57
50
|
DELAYABLE_EVENTS: ["load-requested", "close-requested", "save-requested"],
|
|
58
51
|
CANCELABLE_EVENTS: ["close-requested"],
|
|
59
52
|
CLEAN_SHUTDOWN: "Finsemble.Workspace.cleanShutdown",
|
|
60
|
-
|
|
53
|
+
WORKSPACE_UPDATED: "Finsemble.WorkspaceService.update",
|
|
54
|
+
// Tells the docking service to use the groups delivered with this message
|
|
55
|
+
RELOAD_GROUPS: "Finsemble.WorkspaceService.reloadGroups",
|
|
61
56
|
STORAGE_TOPIC: "finsemble.workspace",
|
|
62
57
|
CACHE_STORAGE_TOPIC: "finsemble.workspace.cache",
|
|
63
58
|
ALL_WORKSPACES: "finsemble.allWorkspaces",
|
|
@@ -156,12 +151,6 @@ export const WORKSPACE = {
|
|
|
156
151
|
"appUUID",
|
|
157
152
|
],
|
|
158
153
|
NativeWindow: ["path", "alias", "arguments", "argumentsAsQueryString", "isWPF"],
|
|
159
|
-
StackedWindow: [
|
|
160
|
-
"childWindowIdentifiers",
|
|
161
|
-
"visibleWindowIdentifier",
|
|
162
|
-
// this third version of bounds is also required, otherwise stacks have errors and never become visible
|
|
163
|
-
"bounds",
|
|
164
|
-
],
|
|
165
154
|
},
|
|
166
155
|
};
|
|
167
156
|
export const WINDOW_SERVICE_REQUESTS = {
|
package/common/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACvB,MAAM,EAAE,CAAC,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,E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,OAAO,CAAC;KAC/E;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC,YAAY,EAAE,2BAA2B;IACzC,iBAAiB,EAAE,sCAAsC;IACzD,gBAAgB,EAAE,qCAAqC;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,iCAAiC,CAAC;AAE/E,MAAM,CAAC,MAAM,yBAAyB,GAAG,0CAA0C,CAAC;AAEpF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,aAAa,EAAE,8BAA8B;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;CAClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinsembleEvent.d.ts","sourceRoot":"","sources":["../../../../src/common/events/FinsembleEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAI5E,
|
|
1
|
+
{"version":3,"file":"FinsembleEvent.d.ts","sourceRoot":"","sources":["../../../../src/common/events/FinsembleEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAI5E,oBAAY,oBAAoB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,cAAM,cAAc;IACnB,OAAO,CAAC,KAAK,CAAS;IAEf,MAAM,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,OAAO,CAAW;IAE1B,OAAO,CAAC,UAAU,CAAkB;IAEpC,OAAO,CAAC,OAAO,CAAkB;IAEjC,OAAO,CAAC,WAAW,CAAkB;IAErC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,CAAC,IAAI,CAAS;IAErB,OAAO,CAAC,SAAS,CAAkB;IAE5B,IAAI,EAAE,GAAG,CAAC;IAEjB,OAAO,CAAC,YAAY,CAAS;IAE7B,OAAO,CAAC,YAAY,CAA+B;gBAEvC,MAAM,EAAE,oBAAoB,EAAE,YAAY,CAAC,EAAE,gBAAgB;YAuB3D,eAAe;IAQ7B,MAAM,IAAI,IAAI;IAOd,IAAI,IAAI,IAAI;IASZ,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI;CAetB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { RemoteReduxServerAddress } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a redux store and attaches it to a remote store.
|
|
4
|
+
*
|
|
5
|
+
* @param server The name of the remote redux server to attach.
|
|
6
|
+
* @param slice The slice from the remote redux server to subscribe.
|
|
7
|
+
* @param emptyStore An empty state for the local store, to handle the initial display prior to the remote side updating the local side.
|
|
8
|
+
* @param dispatchOnly - Set to true to opt out of inbound state changes on the store. This can minimize network traffic for write-only situations.
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare const getRemoteStore: <StoreType extends {
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
} | undefined>({ server, slice, emptyStore, dispatchOnly, }: {
|
|
14
|
+
server: RemoteReduxServerAddress;
|
|
15
|
+
slice: string;
|
|
16
|
+
emptyStore: StoreType;
|
|
17
|
+
dispatchOnly?: boolean | undefined;
|
|
18
|
+
}) => import("@reduxjs/toolkit").EnhancedStore<any, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<any, import("redux").AnyAction, undefined>], import("redux").StoreEnhancer<{
|
|
19
|
+
dispatch: import("./types").PromiseDispatch;
|
|
20
|
+
}, {}>[]>;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a redux store and attaches it to a remote store and then returns it as a singleton. This lazily creates
|
|
23
|
+
* the store and allows re-use without connection overhead.
|
|
24
|
+
*
|
|
25
|
+
* @param singletonName The unique identifier to use for the singleton
|
|
26
|
+
* @param server The name of the remote redux server to attach.
|
|
27
|
+
* @param slice The slice from the remote redux server to subscribe.
|
|
28
|
+
* @param emptyStore An empty state for the local store, to handle the initial display prior to the remote side updating the local side.
|
|
29
|
+
* @param dispatchOnly - Set to true to opt out of inbound state changes on the store. This can minimize network traffic for write-only situations.
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare const getRemoteStoreAsSingleton: <StoreType extends {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
} | undefined>({ singletonName, server, slice, emptyStore, dispatchOnly, }: {
|
|
35
|
+
singletonName: string;
|
|
36
|
+
server: RemoteReduxServerAddress;
|
|
37
|
+
slice: string;
|
|
38
|
+
emptyStore: StoreType;
|
|
39
|
+
dispatchOnly?: boolean | undefined;
|
|
40
|
+
}) => import("@reduxjs/toolkit").EnhancedStore<any, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<any, import("redux").AnyAction, undefined>], import("redux").StoreEnhancer<{
|
|
41
|
+
dispatch: import("./types").PromiseDispatch;
|
|
42
|
+
}, {}>[]>;
|
|
43
|
+
/**
|
|
44
|
+
* Resolves to a point in time snapshot of the requested remote redux store's state. If `slice` is specified
|
|
45
|
+
* then only that slice will be returned, otherwise the entire store will be returned.
|
|
46
|
+
*/
|
|
47
|
+
export declare const getRemoteState: <StoreType extends {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
} | undefined>({ server, slice, }: {
|
|
50
|
+
server: RemoteReduxServerAddress;
|
|
51
|
+
slice?: string | undefined;
|
|
52
|
+
}) => Promise<StoreType>;
|
|
53
|
+
//# sourceMappingURL=getRemoteStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRemoteStore.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/getRemoteStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAQnD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;YAMlB,wBAAwB;WACzB,MAAM;;;;;SAcX,CAAC;AAEJ;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB;;;mBAOtB,MAAM;YACb,wBAAwB;WACzB,MAAM;;;;;SAG0F,CAAC;AAEzG;;;GAGG;AACH,eAAO,MAAM,cAAc;;;YAIlB,wBAAwB;;wBAYhC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { configureStore } from "@reduxjs/toolkit";
|
|
2
|
+
import { remoteReduxClientEnhancer } from "./remoteReduxEnhancer";
|
|
3
|
+
import { singletonFactory } from "../Singleton";
|
|
4
|
+
import { RouterClient } from "../../clients/routerClient";
|
|
5
|
+
// The local store doesn't have any reducers, but redux requires at least one, so we provide this reducer that does nothing
|
|
6
|
+
const noopReducer = (state) => state;
|
|
7
|
+
/**
|
|
8
|
+
* Creates a redux store and attaches it to a remote store.
|
|
9
|
+
*
|
|
10
|
+
* @param server The name of the remote redux server to attach.
|
|
11
|
+
* @param slice The slice from the remote redux server to subscribe.
|
|
12
|
+
* @param emptyStore An empty state for the local store, to handle the initial display prior to the remote side updating the local side.
|
|
13
|
+
* @param dispatchOnly - Set to true to opt out of inbound state changes on the store. This can minimize network traffic for write-only situations.
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export const getRemoteStore = ({ server, slice, emptyStore, dispatchOnly = false, }) => configureStore({
|
|
17
|
+
preloadedState: emptyStore,
|
|
18
|
+
reducer: noopReducer,
|
|
19
|
+
enhancers: [
|
|
20
|
+
remoteReduxClientEnhancer({
|
|
21
|
+
server,
|
|
22
|
+
slice,
|
|
23
|
+
dispatchOnly,
|
|
24
|
+
}),
|
|
25
|
+
],
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* Creates a redux store and attaches it to a remote store and then returns it as a singleton. This lazily creates
|
|
29
|
+
* the store and allows re-use without connection overhead.
|
|
30
|
+
*
|
|
31
|
+
* @param singletonName The unique identifier to use for the singleton
|
|
32
|
+
* @param server The name of the remote redux server to attach.
|
|
33
|
+
* @param slice The slice from the remote redux server to subscribe.
|
|
34
|
+
* @param emptyStore An empty state for the local store, to handle the initial display prior to the remote side updating the local side.
|
|
35
|
+
* @param dispatchOnly - Set to true to opt out of inbound state changes on the store. This can minimize network traffic for write-only situations.
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
38
|
+
export const getRemoteStoreAsSingleton = ({ singletonName, server, slice, emptyStore, dispatchOnly = false, }) => singletonFactory(singletonName, () => getRemoteStore({ server, slice, emptyStore, dispatchOnly }));
|
|
39
|
+
/**
|
|
40
|
+
* Resolves to a point in time snapshot of the requested remote redux store's state. If `slice` is specified
|
|
41
|
+
* then only that slice will be returned, otherwise the entire store will be returned.
|
|
42
|
+
*/
|
|
43
|
+
export const getRemoteState = async ({ server, slice, }) => {
|
|
44
|
+
const { response } = await RouterClient.query(server, {
|
|
45
|
+
"@@finsemble/action": "snapshot",
|
|
46
|
+
"@@finsemble/slice": slice,
|
|
47
|
+
}, () => { });
|
|
48
|
+
return response.data;
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=getRemoteStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRemoteStore.js","sourceRoot":"","sources":["../../../../src/common/redux/getRemoteStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,2HAA2H;AAC3H,MAAM,WAAW,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAqD,EAClF,MAAM,EACN,KAAK,EACL,UAAU,EACV,YAAY,GAAG,KAAK,GAMpB,EAAE,EAAE,CACJ,cAAc,CAAC;IACd,cAAc,EAAE,UAAU;IAC1B,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE;QACV,yBAAyB,CAAC;YACzB,MAAM;YACN,KAAK;YACL,YAAY;SACZ,CAAC;KACF;CACD,CAAC,CAAC;AAEJ;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAqD,EAC7F,aAAa,EACb,MAAM,EACN,KAAK,EACL,UAAU,EACV,YAAY,GAAG,KAAK,GAOpB,EAAE,EAAE,CAAC,gBAAgB,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;AAEzG;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EAAsD,EACxF,MAAM,EACN,KAAK,GAIL,EAAsB,EAAE;IACxB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,YAAY,CAAC,KAAK,CAC5C,MAAM,EACN;QACC,oBAAoB,EAAE,UAAU;QAChC,mBAAmB,EAAE,KAAK;KAC1B,EACD,GAAG,EAAE,GAAE,CAAC,CACR,CAAC;IACF,OAAO,QAAQ,CAAC,IAAI,CAAC;AACtB,CAAC,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { StoreEnhancer
|
|
2
|
-
import { RemoteReduxServerAddress } from "./types";
|
|
3
|
-
declare type PromiseDispatch = <T extends Action>(promise: Promise<T>) => Promise<T>;
|
|
1
|
+
import { StoreEnhancer } from "@reduxjs/toolkit";
|
|
2
|
+
import { RemoteReduxServerAddress, PromiseDispatch } from "./types";
|
|
4
3
|
/**
|
|
5
4
|
* Creates the client side of a remote redux.
|
|
6
5
|
* Exposes a store enhancer that will synchronize a copy of a slice of state.
|
|
7
6
|
* Initially used in the Interop Service and Linker UI.
|
|
8
7
|
*
|
|
9
|
-
* @param param.server
|
|
10
|
-
* @param param.slice slice of state to observe and synchronize (i.e. rootState[slice])
|
|
8
|
+
* @param param.server - The string "address" of the remote redux server (see RemoteReduxServerAddress type for valid addresses)
|
|
9
|
+
* @param param.slice - Th slice of state to observe and synchronize (i.e. rootState[slice])
|
|
10
|
+
* @param param.dispatchOnly - If set to true then the remote store will not subscribe to updates. This reduces network traffic for situations that are write only.
|
|
11
11
|
*/
|
|
12
|
-
export declare const remoteReduxClientEnhancer: ({ server, slice }: {
|
|
12
|
+
export declare const remoteReduxClientEnhancer: ({ server, slice, dispatchOnly, }: {
|
|
13
13
|
server: RemoteReduxServerAddress;
|
|
14
14
|
slice: string;
|
|
15
|
+
dispatchOnly?: boolean | undefined;
|
|
15
16
|
}) => StoreEnhancer<{
|
|
16
17
|
dispatch: PromiseDispatch;
|
|
17
18
|
}, {}>;
|
|
@@ -25,5 +26,4 @@ export declare const remoteReduxServerEnhancer: ({ server }: {
|
|
|
25
26
|
}) => StoreEnhancer<{
|
|
26
27
|
dispatch: PromiseDispatch;
|
|
27
28
|
}, {}>;
|
|
28
|
-
export {};
|
|
29
29
|
//# sourceMappingURL=remoteReduxEnhancer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteReduxEnhancer.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/remoteReduxEnhancer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,aAAa,
|
|
1
|
+
{"version":3,"file":"remoteReduxEnhancer.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/remoteReduxEnhancer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,aAAa,EAA4C,MAAM,kBAAkB,CAAC;AAIpG,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAGpE;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;YAK7B,wBAAwB;WACzB,MAAM;;;cAIwC,eAAe;MAsDpE,CAAC;AA2JF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;YAA0B,wBAAwB;;cAClC,eAAe;MAyDpE,CAAC"}
|
|
@@ -2,16 +2,16 @@ import { LAUNCHER_SERVICE } from "../../common/constants";
|
|
|
2
2
|
import { RouterClient } from "../../clients/routerClient";
|
|
3
3
|
import { Logger } from "../../clients/logger";
|
|
4
4
|
import { getModel } from "redux-loop";
|
|
5
|
-
import { System } from "../system";
|
|
6
5
|
/**
|
|
7
6
|
* Creates the client side of a remote redux.
|
|
8
7
|
* Exposes a store enhancer that will synchronize a copy of a slice of state.
|
|
9
8
|
* Initially used in the Interop Service and Linker UI.
|
|
10
9
|
*
|
|
11
|
-
* @param param.server
|
|
12
|
-
* @param param.slice slice of state to observe and synchronize (i.e. rootState[slice])
|
|
10
|
+
* @param param.server - The string "address" of the remote redux server (see RemoteReduxServerAddress type for valid addresses)
|
|
11
|
+
* @param param.slice - Th slice of state to observe and synchronize (i.e. rootState[slice])
|
|
12
|
+
* @param param.dispatchOnly - If set to true then the remote store will not subscribe to updates. This reduces network traffic for situations that are write only.
|
|
13
13
|
*/
|
|
14
|
-
export const remoteReduxClientEnhancer = ({ server, slice }) => {
|
|
14
|
+
export const remoteReduxClientEnhancer = ({ server, slice, dispatchOnly, }) => {
|
|
15
15
|
// Note: Detect disconnections from error-to-deliver messages on router; this is not 100% reliable if a window crashes or is killed by the OS
|
|
16
16
|
const remoteReduxEnhancer = (createStore) => (reducer, preloadedState) => {
|
|
17
17
|
const wrappedReducer = (state, action) => {
|
|
@@ -28,9 +28,8 @@ export const remoteReduxClientEnhancer = ({ server, slice }) => {
|
|
|
28
28
|
store.dispatch(action);
|
|
29
29
|
}
|
|
30
30
|
else if (action.type) {
|
|
31
|
-
// Send
|
|
31
|
+
// Send action to remote store
|
|
32
32
|
RouterClient.query(server, action);
|
|
33
|
-
//store.dispatch(action);
|
|
34
33
|
}
|
|
35
34
|
else if (action.then) {
|
|
36
35
|
action.then(store.dispatch);
|
|
@@ -45,14 +44,13 @@ export const remoteReduxClientEnhancer = ({ server, slice }) => {
|
|
|
45
44
|
enhancedStore.dispatch(payload);
|
|
46
45
|
}
|
|
47
46
|
});
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}, () => { });
|
|
47
|
+
if (!dispatchOnly) {
|
|
48
|
+
RouterClient.query(server, {
|
|
49
|
+
"@@finsemble/action": "subscribe",
|
|
50
|
+
"@@finsemble/slice": slice,
|
|
51
|
+
"@@finsemble/routerChannel": routerChannel,
|
|
52
|
+
}, () => { });
|
|
53
|
+
}
|
|
56
54
|
return enhancedStore;
|
|
57
55
|
};
|
|
58
56
|
return remoteReduxEnhancer;
|
|
@@ -66,10 +64,14 @@ export const remoteReduxClientEnhancer = ({ server, slice }) => {
|
|
|
66
64
|
* a window close event for that window.
|
|
67
65
|
*/
|
|
68
66
|
const handleRemoteAction = ({ data, header, sliceSubscriptions, store, prevState, }) => {
|
|
69
|
-
var _a, _b;
|
|
70
|
-
const { "@@finsemble/action": action, "@@finsemble/slice": subscribeToSlice, "@@finsemble/routerChannel": routerChannel,
|
|
67
|
+
var _a, _b, _c;
|
|
68
|
+
const { "@@finsemble/action": action, "@@finsemble/slice": subscribeToSlice, "@@finsemble/routerChannel": routerChannel, } = data;
|
|
69
|
+
// Note, windowName is only use for cleanup purposes, to remove subscriptions when a window is closed. We don't need
|
|
70
|
+
// to use webContentsName because multiple subscriptions from the same window are allowed
|
|
71
|
+
const { windowName } = header.originMetadata;
|
|
71
72
|
Logger.system.debug(`remoteReduxServerEnhancer received ${action} for ${subscribeToSlice} from ${windowName}`);
|
|
72
73
|
if (action === "subscribe") {
|
|
74
|
+
/** Creates a subscription to store updates */
|
|
73
75
|
sliceSubscriptions[subscribeToSlice] = ((_a = sliceSubscriptions[subscribeToSlice]) !== null && _a !== void 0 ? _a : []).concat({
|
|
74
76
|
windowName,
|
|
75
77
|
routerChannel,
|
|
@@ -79,21 +81,33 @@ const handleRemoteAction = ({ data, header, sliceSubscriptions, store, prevState
|
|
|
79
81
|
prevState[subscribeToSlice] = state[subscribeToSlice];
|
|
80
82
|
RouterClient.transmit(routerChannel, state);
|
|
81
83
|
}
|
|
84
|
+
else if (action === "snapshot") {
|
|
85
|
+
/** Returns a snapshot of the store's state */
|
|
86
|
+
if (subscribeToSlice) {
|
|
87
|
+
const slice = (_c = store.getState()) === null || _c === void 0 ? void 0 : _c[subscribeToSlice];
|
|
88
|
+
return {
|
|
89
|
+
[subscribeToSlice]: slice,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
return store.getState();
|
|
93
|
+
}
|
|
82
94
|
else {
|
|
83
95
|
Logger.system.warn(`remoteReduxServerEnhancer: Unexpected "@@finsemble/action"=${action} received from ${header.origin}`);
|
|
84
96
|
}
|
|
85
97
|
};
|
|
86
98
|
/**
|
|
87
99
|
* Handles dispatch requests from the remote client. Any valid dispatch (contains a "type" field) is
|
|
88
|
-
* accepted. All dispatches are modified to include the "@@
|
|
100
|
+
* accepted. All dispatches are modified to include the "@@remote" entry which can be used
|
|
89
101
|
* to debug within redux devtools.
|
|
90
102
|
*/
|
|
91
103
|
const handleDispatch = (data, header, dispatch) => {
|
|
104
|
+
var _a;
|
|
92
105
|
if (!(data === null || data === void 0 ? void 0 : data.type)) {
|
|
93
106
|
Logger.system.warn(`remoteReduxServerEnhancer: Received invalid dispatch action. No "type" specified.`, data);
|
|
94
107
|
return;
|
|
95
108
|
}
|
|
96
|
-
dispatch(Object.assign(Object.assign({}, data), { "@@
|
|
109
|
+
dispatch(Object.assign(Object.assign({}, data), { "@@remote": {
|
|
110
|
+
windowName: (_a = header === null || header === void 0 ? void 0 : header.originMetadata) === null || _a === void 0 ? void 0 : _a.windowName,
|
|
97
111
|
header,
|
|
98
112
|
} }));
|
|
99
113
|
};
|
|
@@ -132,11 +146,12 @@ const startInboundServerHandlers = ({ server, sliceSubscriptions, store, dispatc
|
|
|
132
146
|
else {
|
|
133
147
|
if (queryMessage) {
|
|
134
148
|
const { data, header } = queryMessage;
|
|
149
|
+
let response = null;
|
|
135
150
|
if (data["@@finsemble/action"])
|
|
136
|
-
handleRemoteAction({ data, header, sliceSubscriptions, store, prevState });
|
|
151
|
+
response = handleRemoteAction({ data, header, sliceSubscriptions, store, prevState });
|
|
137
152
|
else
|
|
138
153
|
handleDispatch(data, header, dispatch);
|
|
139
|
-
queryMessage.sendQueryResponse(null);
|
|
154
|
+
queryMessage.sendQueryResponse(null, response);
|
|
140
155
|
}
|
|
141
156
|
else {
|
|
142
157
|
Logger.system.error("remoteReduxServerEnhancer: No queryMessage received from remote client");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteReduxEnhancer.js","sourceRoot":"","sources":["../../../../src/common/redux/remoteReduxEnhancer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAkB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"remoteReduxEnhancer.js","sourceRoot":"","sources":["../../../../src/common/redux/remoteReduxEnhancer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAkB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,EACzC,MAAM,EACN,KAAK,EACL,YAAY,GAKZ,EAAE,EAAE;IACJ,6IAA6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;iBACH;YACF,CAAC,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC;QACjB,CAAC,CAAC;QAEF,MAAM,KAAK,GAAG,WAAW,CAAC,cAAc,CAAC,CAAC;QAC1C,MAAM,aAAa,mCACf,KAAK;YACR,wBAAwB;YACxB,QAAQ,EAAE,CAAC,MAAW,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GACjD,CAAC;QAEF,0BAA0B,CAAO;YAChC,MAAM;YACN,kBAAkB;YAClB,KAAK;YACL,QAAQ,EAAE,aAAa,CAAC,QAAQ;YAChC,SAAS;SACT,CAAC,CAAC;QAEH,OAAO,aAAa,CAAC;IACtB,CAAC,CAAC;IACH,OAAO,mBAAmB,CAAC;AAC5B,CAAC,CAAC"}
|
package/common/redux/types.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { RouterHeader } from "../../platform/services/router/types";
|
|
2
|
+
import { Action } from "@reduxjs/toolkit";
|
|
1
3
|
/**
|
|
2
4
|
* Union of known server addresses for remote redux.
|
|
3
5
|
*/
|
|
4
|
-
export declare type RemoteReduxServerAddress = "@@finsemble/remoteRedux/InteropStore";
|
|
6
|
+
export declare type RemoteReduxServerAddress = "@@finsemble/remoteRedux/InteropStore" | "@@finsemble/remoteRedux/WindowServiceStore";
|
|
5
7
|
export declare type ActionId = {
|
|
6
8
|
actionUniqueID: string;
|
|
7
9
|
type: string;
|
|
@@ -11,4 +13,15 @@ export declare type ActionResult = {
|
|
|
11
13
|
result?: any;
|
|
12
14
|
error?: any;
|
|
13
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Base type for a remote redux action. The @@remote is added automatically by
|
|
18
|
+
* remote redux and can be used to identify the originating application.
|
|
19
|
+
*/
|
|
20
|
+
export declare type RemoteReduxAction = {
|
|
21
|
+
"@@remote": {
|
|
22
|
+
windowName: string;
|
|
23
|
+
header: RouterHeader;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare type PromiseDispatch = <T extends Action>(promise: Promise<T>) => Promise<T>;
|
|
14
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,wBAAwB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,oBAAY,wBAAwB,GACjC,sCAAsC,GACtC,4CAA4C,CAAC;AAEhD,oBAAY,QAAQ,GAAG;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,YAAY,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;CACZ,CAAC;AAEF;;;GAGG;AACH,oBAAY,iBAAiB,GAAG;IAC/B,UAAU,EAAE;QACX,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,YAAY,CAAC;KACrB,CAAC;CACF,CAAC;AAIF,oBAAY,eAAe,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@ export declare type StageWaitType = "stageEntered" | "stageCompleted";
|
|
|
8
8
|
* Singleton API to Finsemble System Manager
|
|
9
9
|
*/
|
|
10
10
|
declare class SystemManagerClient {
|
|
11
|
+
private startedElements;
|
|
11
12
|
/**
|
|
12
13
|
* Publishes boot status for the service or component (or boot task) being started. This method is used internally in FSBL and baseService and not directly called.
|
|
13
14
|
* @param name the name of the service or component or module
|
|
@@ -35,10 +36,11 @@ declare class SystemManagerClient {
|
|
|
35
36
|
*/
|
|
36
37
|
waitForBootStage(stage: BootStage, when: StageWaitType, callback?: Function): Promise<unknown>;
|
|
37
38
|
/**
|
|
38
|
-
* Waits for a specific service (or component or boot task) to be started
|
|
39
|
-
*
|
|
40
|
-
* @param
|
|
41
|
-
*
|
|
39
|
+
* Waits for a specific service (or component or boot task) to be started.
|
|
40
|
+
*
|
|
41
|
+
* @param name the name of the service/boot task/component (e.g. "storageService")
|
|
42
|
+
* to wait for
|
|
43
|
+
* @param callback function to be called when the startup process has completed or error ocurred.
|
|
42
44
|
*
|
|
43
45
|
* @example
|
|
44
46
|
*
|
|
@@ -66,9 +68,13 @@ declare class SystemManagerClient {
|
|
|
66
68
|
* Shows System Log window and bring its to front.
|
|
67
69
|
*/
|
|
68
70
|
showSystemLog(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Hides System Log window.
|
|
73
|
+
*/
|
|
74
|
+
hideSystemLog(): void;
|
|
69
75
|
/**
|
|
70
76
|
* Displays message on the system log
|
|
71
|
-
* @param params
|
|
77
|
+
* @param params generally this is TBD until real system log is written
|
|
72
78
|
* @param params.error if true then the log message is an error
|
|
73
79
|
* @param params.notification if true then the log message is a notification
|
|
74
80
|
* @param message the message string to log
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemManagerClient.d.ts","sourceRoot":"","sources":["../../../src/common/systemManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"systemManagerClient.d.ts","sourceRoot":"","sources":["../../../src/common/systemManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AASpG,oBAAY,aAAa,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAE9D;;GAEG;AACH,cAAM,mBAAmB;IACxB,OAAO,CAAC,eAAe,CAAM;IAE7B;;;;;;;OAOG;IACI,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM;IAKjG;;;;;;;;;;;;;;;OAeG;IACI,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,WAAqB;IAyD5F;;;;;;;;;;;;;;;OAeG;IACI,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,WAAqB;IA0BjE;;;;;;;;;;OAUG;IACI,sBAAsB,CAAC,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS;IAgB1F;;OAEG;IACI,aAAa;IAKpB;;OAEG;IACI,aAAa;IAKpB;;;;;;;;;;;;OAYG;IACI,SAAS,CAAC,MAAM,KAAA,EAAE,UAAU,KAAA;CAInC;AAED,QAAA,MAAM,mBAAmB,qBAA4B,CAAC;AAEtD,eAAe,mBAAmB,CAAC"}
|
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
import { RouterClient } from "../clients/routerClient";
|
|
7
7
|
import { Logger } from "../clients/logger";
|
|
8
8
|
import { ALL_BOOT_STAGES } from "../platform/services/systemManager/_constants";
|
|
9
|
-
import { SYSLOG_CHANNEL, STAGE_CHANNEL, SHOW_SYSLOG_CHANNEL } from "../platform/services/systemManager/_constants";
|
|
9
|
+
import { SYSLOG_CHANNEL, STAGE_CHANNEL, SHOW_SYSLOG_CHANNEL, HIDE_SYSLOG_CHANNEL, } from "../platform/services/systemManager/_constants";
|
|
10
10
|
import { statusChannel, checkpointChannel } from "../platform/services/systemManager/common";
|
|
11
11
|
/**
|
|
12
12
|
* Singleton API to Finsemble System Manager
|
|
13
13
|
*/
|
|
14
14
|
class SystemManagerClient {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.startedElements = {};
|
|
17
|
+
}
|
|
15
18
|
/**
|
|
16
19
|
* Publishes boot status for the service or component (or boot task) being started. This method is used internally in FSBL and baseService and not directly called.
|
|
17
20
|
* @param name the name of the service or component or module
|
|
@@ -45,7 +48,7 @@ class SystemManagerClient {
|
|
|
45
48
|
Logger.system.debug("SystemManagerClient.waitForBootStage entry", stage, when);
|
|
46
49
|
const stageIndex = ALL_BOOT_STAGES.indexOf(stage);
|
|
47
50
|
if (stage === "microkernel" && when === "stageEntered") {
|
|
48
|
-
Logger.system.error("Cannot wait on `stageEntered` for microkernel because router isn't up yet. So will instead wait for
|
|
51
|
+
Logger.system.error("Cannot wait on `stageEntered` for microkernel because router isn't up yet. So will instead wait for microkernel stage complete.");
|
|
49
52
|
}
|
|
50
53
|
// receives startup state from services -- see SystemManagerClient.publishBootStatus
|
|
51
54
|
const subscribeId = RouterClient.subscribe(STAGE_CHANNEL, (err, notify) => {
|
|
@@ -89,10 +92,11 @@ class SystemManagerClient {
|
|
|
89
92
|
return new Promise(waitForBootStageCompletionPromiseResolver);
|
|
90
93
|
}
|
|
91
94
|
/**
|
|
92
|
-
* Waits for a specific service (or component or boot task) to be started
|
|
93
|
-
*
|
|
94
|
-
* @param
|
|
95
|
-
*
|
|
95
|
+
* Waits for a specific service (or component or boot task) to be started.
|
|
96
|
+
*
|
|
97
|
+
* @param name the name of the service/boot task/component (e.g. "storageService")
|
|
98
|
+
* to wait for
|
|
99
|
+
* @param callback function to be called when the startup process has completed or error ocurred.
|
|
96
100
|
*
|
|
97
101
|
* @example
|
|
98
102
|
*
|
|
@@ -105,6 +109,10 @@ class SystemManagerClient {
|
|
|
105
109
|
*/
|
|
106
110
|
waitForStartup(name, callback = Function.prototype) {
|
|
107
111
|
return new Promise((resolve, reject) => {
|
|
112
|
+
if (this.startedElements[name]) {
|
|
113
|
+
resolve();
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
108
116
|
Logger.system.debug(`SystemManagerClient.waitForStartup.${name}`, name);
|
|
109
117
|
// receives startup state from services -- see SystemManagerClient.publishBootStatus
|
|
110
118
|
const subscribeId = RouterClient.subscribe(statusChannel(name), (err, notify) => {
|
|
@@ -112,10 +120,12 @@ class SystemManagerClient {
|
|
|
112
120
|
if (err) {
|
|
113
121
|
Logger.system.error("SystemManagerClient.waitForStartup subscribe error", err);
|
|
114
122
|
callback(err);
|
|
115
|
-
|
|
123
|
+
this.startedElements[name] = false;
|
|
124
|
+
reject(err);
|
|
116
125
|
}
|
|
117
126
|
else if (notify.data.name === name && notify.data.state === "completed") {
|
|
118
127
|
Logger.system.debug("SystemManagerClient.waitForStartup completed", name);
|
|
128
|
+
this.startedElements[name] = true;
|
|
119
129
|
callback();
|
|
120
130
|
resolve();
|
|
121
131
|
RouterClient.unsubscribe(subscribeId);
|
|
@@ -150,9 +160,16 @@ class SystemManagerClient {
|
|
|
150
160
|
Logger.system.debug("SystemManagerClient.showSystemLog");
|
|
151
161
|
RouterClient.transmit(SHOW_SYSLOG_CHANNEL, true);
|
|
152
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* Hides System Log window.
|
|
165
|
+
*/
|
|
166
|
+
hideSystemLog() {
|
|
167
|
+
Logger.system.debug("SystemManagerClient.hideSystemLog");
|
|
168
|
+
RouterClient.transmit(HIDE_SYSLOG_CHANNEL, true);
|
|
169
|
+
}
|
|
153
170
|
/**
|
|
154
171
|
* Displays message on the system log
|
|
155
|
-
* @param params
|
|
172
|
+
* @param params generally this is TBD until real system log is written
|
|
156
173
|
* @param params.error if true then the log message is an error
|
|
157
174
|
* @param params.notification if true then the log message is a notification
|
|
158
175
|
* @param message the message string to log
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemManagerClient.js","sourceRoot":"","sources":["../../../src/common/systemManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,gKAAgK;AAEhK,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,E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C,KAAK,CAAC,mCAAmC,CAAC,CAAC;QACzD,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;;;;OAYG;IACI,SAAS,CAAC,MAAM,EAAE,UAAU;QAClC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,+BAA+B,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QACzE,YAAY,CAAC,QAAQ,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IAC/D,CAAC;CACD;AAED,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAC;AAEtD,eAAe,mBAAmB,CAAC"}
|
package/common/util.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export declare function identity<T>(arg: T): T;
|
|
|
98
98
|
*/
|
|
99
99
|
export declare function promisify<T = any>(f: any, thisContext?: any): (...args: any[]) => Promise<T>;
|
|
100
100
|
/**
|
|
101
|
-
* Creates a promise that
|
|
101
|
+
* Creates a promise that rejects after the specified time with
|
|
102
102
|
* the given message.
|
|
103
103
|
*/
|
|
104
104
|
export declare function timeoutPromise(ms: any, message: string): Promise<unknown>;
|
|
@@ -107,12 +107,6 @@ export declare function timeoutPromise(ms: any, message: string): Promise<unknow
|
|
|
107
107
|
* or resolves with the result of the promise.
|
|
108
108
|
*/
|
|
109
109
|
export declare function wrapWithTimeout<T>(promise: Promise<T>, ms: number, message: string): Promise<T>;
|
|
110
|
-
/**
|
|
111
|
-
* Will determine if a given window is a StackedWindow. Returns true if the window is a
|
|
112
|
-
* StackedWindow, false otherwise
|
|
113
|
-
* @param {FinsembleWindow} win The window to check for StackedWindow
|
|
114
|
-
*/
|
|
115
|
-
export declare function isStackedWindow(win: any): any;
|
|
116
110
|
/**
|
|
117
111
|
* Deep equal doesn't work properly if the objects aren't exactly equal
|
|
118
112
|
* We have several places in the code that attach extra parameters to bounds objects
|
package/common/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/common/util.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/common/util.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAOnC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,QACpB,OAAO,MAAM,EAAE,GAAG,CAAC,cACZ,MAAM,SAAS,GAAG;;CAC6C,CAAC;AAQ7E,wBAAgB,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,GAAE,GAAQ,GAAG,GAAG,CAsBlD;AAED;;GAEG;AAEH,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAK9C;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAehD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC3B,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,EAAE,CAAC,EAAE,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,GAC3C,OAAO,CAAC,SAAS,CAAC,CA2CpB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAClC,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,EAAE,CAAC,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,GACtD,OAAO,CAAC,gBAAgB,CAAC,CAe3B;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAA4B,gBAAgB,KAAK,IAAI,kBAAG,QAAQ,gBAAgB,CAqBjH,CAAC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