@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.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 +54 -24
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +2 -2
- package/clients/Interop/FinsembleDesktopAgent.js.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 +77 -116
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +8 -8
- package/clients/appsClient.d.ts +90 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +51 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +29 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +11 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +134 -70
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +129 -112
- 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 +1 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +1 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +1 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +1 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +18 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +30 -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 +157 -47
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +201 -22
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +43 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +2 -2
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +2 -2
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +25 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +24 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +2 -2
- package/clients/searchClient.js +2 -2
- package/clients/storageClient.d.ts +8 -5
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +7 -5
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +160 -79
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +244 -138
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +19 -14
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +15 -9
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +9 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +11 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +4 -107
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +21 -342
- 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 +1 -2
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +3 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- 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 -190
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +3 -3
- package/platform/services/Interop/types.d.ts +2 -1
- package/platform/services/Interop/types.d.ts.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 +1 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +59 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +57 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +257 -50
- 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/assets/css/core/icons.css +0 -5
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/windowTitleBar.css +98 -285
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- 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/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +2 -10
- 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/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -4
- 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/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/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/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/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 +81 -100
- package/react/components/singleInputDialog/SingleInputDialog.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/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/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -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/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -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/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -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 +453 -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 +365 -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/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
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { DistributedStoreClient } from "../distributedStoreClient";
|
|
2
|
+
import { FinsembleWindow } from "../../common/FinsembleWindow";
|
|
3
|
+
import { Logger } from "../logger";
|
|
4
|
+
import { System } from "../../common/system";
|
|
5
|
+
import { getMyWindowIdentifier } from "../../common/util";
|
|
6
|
+
import { Globals } from "../../common/Globals";
|
|
7
|
+
import SystemManagerClient from "../../common/systemManagerClient";
|
|
8
|
+
import { series as asyncSeries } from "async";
|
|
9
|
+
export class DialogManagerClientController {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.initialized = false;
|
|
12
|
+
/**
|
|
13
|
+
* Can be used to set a specific timeout
|
|
14
|
+
*/
|
|
15
|
+
this.userInputTimeout = null;
|
|
16
|
+
/**
|
|
17
|
+
* A global store used to track which windows are registered as dialogs and their state.
|
|
18
|
+
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
19
|
+
* in the "open" pool when they are in use.
|
|
20
|
+
*/
|
|
21
|
+
this.DialogStore = null;
|
|
22
|
+
/**
|
|
23
|
+
* Will be set to true if the current window is a dialog
|
|
24
|
+
*/
|
|
25
|
+
this.isDialog = false;
|
|
26
|
+
/**
|
|
27
|
+
* Contains a unique channel name that a dialog can use to communicate back to
|
|
28
|
+
* its originating window. The originating window creates the channel as
|
|
29
|
+
* a query responder.
|
|
30
|
+
*/
|
|
31
|
+
this.RESPONDER_CHANNEL = null;
|
|
32
|
+
/**
|
|
33
|
+
* Used to send a message back to whoever opened this dialog
|
|
34
|
+
*/
|
|
35
|
+
this.openerMessage = null;
|
|
36
|
+
/**
|
|
37
|
+
* Same as FEAGlobals.finsembleWindow
|
|
38
|
+
*/
|
|
39
|
+
this.finsembleWindow = null;
|
|
40
|
+
/**
|
|
41
|
+
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
42
|
+
*/
|
|
43
|
+
this.spawnData = {};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Checks whether the window is a dialog, setting this.isDialog to true or false
|
|
47
|
+
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
48
|
+
*/
|
|
49
|
+
async checkIfWindowIsDialog(cb) {
|
|
50
|
+
var _a, _b, _c, _d, _e, _f;
|
|
51
|
+
if (Globals.finsembleWindow) {
|
|
52
|
+
const { err, data: options } = await Globals.finsembleWindow.getOptions();
|
|
53
|
+
this.spawnData = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.spawnData) !== null && _b !== void 0 ? _b : {};
|
|
54
|
+
this.isDialog = (_f = (_e = (_d = (_c = options === null || options === void 0 ? void 0 : options.customData) === null || _c === void 0 ? void 0 : _c.foreign) === null || _d === void 0 ? void 0 : _d.clients) === null || _e === void 0 ? void 0 : _e.dialogManager) === null || _f === void 0 ? void 0 : _f.isDialog;
|
|
55
|
+
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.isDialog = false;
|
|
59
|
+
cb === null || cb === void 0 ? void 0 : cb("Freestanding apps cannot be dialogs");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
64
|
+
*
|
|
65
|
+
* **Note:** This method checks whether the calling window is a dialog.
|
|
66
|
+
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
67
|
+
*/
|
|
68
|
+
async registerWithStore(cb) {
|
|
69
|
+
var _a;
|
|
70
|
+
if (this.isDialog) {
|
|
71
|
+
const myWindowIdentifier = await getMyWindowIdentifier();
|
|
72
|
+
this.RESPONDER_CHANNEL = `Dialog.${myWindowIdentifier.windowName}.Show`;
|
|
73
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available", myWindowIdentifier.windowName], myWindowIdentifier));
|
|
74
|
+
}
|
|
75
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Establishes a connection to the distributed store that is used
|
|
79
|
+
* by all dialogs. This function may be called many times but will
|
|
80
|
+
* only initialize one time.
|
|
81
|
+
*/
|
|
82
|
+
initializeOnce() {
|
|
83
|
+
return new Promise(async (resolve) => {
|
|
84
|
+
// Only initialize once
|
|
85
|
+
if (this.initialized) {
|
|
86
|
+
resolve();
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
this.initialized = true;
|
|
90
|
+
await SystemManagerClient.waitForStartup("windowService");
|
|
91
|
+
await this.checkIfWindowIsDialog();
|
|
92
|
+
asyncSeries([
|
|
93
|
+
this.createStore.bind(this),
|
|
94
|
+
this.registerWithStore.bind(this),
|
|
95
|
+
this.getFinsembleWindow.bind(this),
|
|
96
|
+
(done) => {
|
|
97
|
+
done();
|
|
98
|
+
},
|
|
99
|
+
], () => {
|
|
100
|
+
resolve();
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Creates the global store if it doesn't exist.
|
|
106
|
+
* @param {function} callback
|
|
107
|
+
*/
|
|
108
|
+
async createStore(cb) {
|
|
109
|
+
const defaults = {
|
|
110
|
+
dialogs: {
|
|
111
|
+
opened: {},
|
|
112
|
+
available: {},
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
const { err, data } = await DistributedStoreClient.createStore({
|
|
116
|
+
store: "DialogStore",
|
|
117
|
+
values: defaults,
|
|
118
|
+
global: true,
|
|
119
|
+
});
|
|
120
|
+
if (err || !data) {
|
|
121
|
+
Logger.error(`DialogManagerClient could not create store "DialogStore"`, err);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
this.DialogStore = data;
|
|
125
|
+
}
|
|
126
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
*/
|
|
130
|
+
async getFinsembleWindow(cb) {
|
|
131
|
+
// this.finsembleWindow must only be initialized in actual dialogs. Otherwise it causes side effects in services.
|
|
132
|
+
if (this.isDialog) {
|
|
133
|
+
const { wrap } = await FinsembleWindow.getInstance({ name: System.Window.getCurrent().name });
|
|
134
|
+
this.finsembleWindow = wrap;
|
|
135
|
+
}
|
|
136
|
+
cb === null || cb === void 0 ? void 0 : cb();
|
|
137
|
+
}
|
|
138
|
+
async getAvailableDialog(type, cb) {
|
|
139
|
+
if (!this.DialogStore) {
|
|
140
|
+
const error = `DialogMangerClient.getAvailableDialogs() store not yet initialized}`;
|
|
141
|
+
Logger.system.error(error);
|
|
142
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
const { err, data: availableDialogs } = await this.DialogStore.getGlobalValue("dialogs.available");
|
|
146
|
+
if (err) {
|
|
147
|
+
const error = `DialogMangerClient.getAvailableDialogs() store error ${err}`;
|
|
148
|
+
Logger.system.error(error);
|
|
149
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
for (const dialogName in availableDialogs) {
|
|
153
|
+
const dialog = availableDialogs[dialogName];
|
|
154
|
+
if (dialog.componentType === type) {
|
|
155
|
+
cb === null || cb === void 0 ? void 0 : cb(dialog);
|
|
156
|
+
return dialog;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* State management - just moves an opened dialog back to the "available" pool.
|
|
164
|
+
* @param {object} identifier window identifier of the dialog.
|
|
165
|
+
*/
|
|
166
|
+
async moveDialogFromOpenedToAvailable(identifier) {
|
|
167
|
+
var _a, _b;
|
|
168
|
+
if (!this.DialogStore) {
|
|
169
|
+
const error = `DialogMangerClient.moveDialogFromOpenedToAvailable() store not yet initialized}`;
|
|
170
|
+
Logger.system.error(error);
|
|
171
|
+
return error;
|
|
172
|
+
}
|
|
173
|
+
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
174
|
+
if (err || !dialogs) {
|
|
175
|
+
const error = `DialogManagerClient.moveDialogFromOpenedToAvailable() no "dialogs" object returned from store`;
|
|
176
|
+
Logger.system.error(error);
|
|
177
|
+
return error;
|
|
178
|
+
}
|
|
179
|
+
const openedDialogs = dialogs.opened;
|
|
180
|
+
const availableDialogs = dialogs.available;
|
|
181
|
+
delete openedDialogs[identifier.windowName];
|
|
182
|
+
availableDialogs[identifier.windowName] = identifier;
|
|
183
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "opened"], openedDialogs));
|
|
184
|
+
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "available"], availableDialogs));
|
|
185
|
+
return null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* State management - just moves an available dialog out of the "available" pool.
|
|
189
|
+
* @param {object} identifier window identifier of the dialog.
|
|
190
|
+
*/
|
|
191
|
+
async moveDialogFromAvailableToOpened(identifier) {
|
|
192
|
+
var _a, _b;
|
|
193
|
+
if (!this.DialogStore) {
|
|
194
|
+
const error = `DialogMangerClient.moveDialogFromAvailableToOpened() store not yet initialized}`;
|
|
195
|
+
Logger.system.error(error);
|
|
196
|
+
return error;
|
|
197
|
+
}
|
|
198
|
+
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
199
|
+
if (err || !dialogs) {
|
|
200
|
+
const error = `DialogManagerClient.moveDialogFromAvailableToOpened no "dialogs" object returned from store`;
|
|
201
|
+
Logger.system.error(error);
|
|
202
|
+
return error;
|
|
203
|
+
}
|
|
204
|
+
const availableDialogs = dialogs.available;
|
|
205
|
+
const openedDialogs = dialogs.opened;
|
|
206
|
+
delete availableDialogs[identifier.windowName];
|
|
207
|
+
openedDialogs[identifier.windowName] = identifier;
|
|
208
|
+
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available"], availableDialogs));
|
|
209
|
+
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "opened"], openedDialogs));
|
|
210
|
+
return null;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=DialogManagerClientController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogManagerClientController.js","sourceRoot":"","sources":["../../../../src/clients/controller/DialogManagerClientController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,mBAAmB,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAO9C,MAAM,OAAO,6BAA6B;IAA1C;QACC,gBAAW,GAAY,KAAK,CAAC;QAE7B;;WAEG;QACH,qBAAgB,GAAkB,IAAI,CAAC;QAEvC;;;;WAIG;QACH,gBAAW,GAAsB,IAAI,CAAC;QAEtC;;WAEG;QACH,aAAQ,GAAY,KAAK,CAAC;QAE1B;;;;WAIG;QACH,sBAAiB,GAAkB,IAAI,CAAC;QAExC;;WAEG;QACH,kBAAa,GAA4B,IAAI,CAAC;QAE9C;;WAEG;QACH,oBAAe,GAA2B,IAAI,CAAC;QAE/C;;WAEG;QACH,cAAS,GAAQ,EAAE,CAAC;IAwLrB,CAAC;IAtLA;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,EAAkC;;QAC7D,IAAI,OAAO,CAAC,eAAe,EAAE;YAC5B,MAAM,EAAE,GAA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AAG,IAAI,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,GAAG,6FAA6F,CAAC;YAC5G,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC3B,OAAO,KAAK,CAAC;SACb;QACD,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC;QAC3C,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC;QAErC,OAAO,gBAAgB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAC/C,aAAa,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;QAElD,MAAM,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,EAAE,gBAAgB,CAAC,CAAA,CAAC;QACxE,MAAM,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAA,CAAC;QAClE,OAAO,IAAI,CAAC;IACb,CAAC;CACD"}
|
|
@@ -12,84 +12,10 @@
|
|
|
12
12
|
* @module DialogManagerClient
|
|
13
13
|
*/
|
|
14
14
|
import { SpawnResponse } from "./launcherClient";
|
|
15
|
-
import { FinsembleWindow } from "../common/FinsembleWindow";
|
|
16
15
|
import { SpawnParams } from "../platform/services/window/types";
|
|
17
16
|
import { WindowIdentifier } from "../platform/services/window/types";
|
|
18
|
-
import { StandardErrorCallback,
|
|
17
|
+
import { StandardErrorCallback, StandardPromise } from "../types";
|
|
19
18
|
import { ResponderMessage } from "./routerClient";
|
|
20
|
-
import { StoreModel } from "./StoreModel";
|
|
21
|
-
export declare class DialogManagerClientController {
|
|
22
|
-
initialized: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Can be used to set a specific timeout
|
|
25
|
-
*/
|
|
26
|
-
userInputTimeout: number | null;
|
|
27
|
-
/**
|
|
28
|
-
* A global store used to track which windows are registered as dialogs and their state.
|
|
29
|
-
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
30
|
-
* in the "open" pool when they are in use.
|
|
31
|
-
*/
|
|
32
|
-
DialogStore: StoreModel | null;
|
|
33
|
-
/**
|
|
34
|
-
* Will be set to true if the current window is a dialog
|
|
35
|
-
*/
|
|
36
|
-
isDialog: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Contains a unique channel name that a dialog can use to communicate back to
|
|
39
|
-
* its originating window. The channel is created by the originating window as
|
|
40
|
-
* a query responder.
|
|
41
|
-
*/
|
|
42
|
-
RESPONDER_CHANNEL: string | null;
|
|
43
|
-
/**
|
|
44
|
-
* Used to send a message back to whoever opened this dialog
|
|
45
|
-
*/
|
|
46
|
-
openerMessage: ResponderMessage | null;
|
|
47
|
-
/**
|
|
48
|
-
* Same as FEAGlobals.finsembleWindow
|
|
49
|
-
*/
|
|
50
|
-
finsembleWindow: FinsembleWindow | null;
|
|
51
|
-
/**
|
|
52
|
-
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
53
|
-
*/
|
|
54
|
-
spawnData: any;
|
|
55
|
-
/**
|
|
56
|
-
* Checks to see whether the window is a dialog, setting this.isDialog to true or false
|
|
57
|
-
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
58
|
-
*/
|
|
59
|
-
checkIfWindowIsDialog(cb?: (err?: StandardError) => void): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
62
|
-
*
|
|
63
|
-
* **Note:** This method checks whether the calling window is a dialog.
|
|
64
|
-
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
65
|
-
*/
|
|
66
|
-
registerWithStore(cb?: () => void): Promise<void>;
|
|
67
|
-
/**
|
|
68
|
-
* Establishes a connection to the distributed store that is used
|
|
69
|
-
* by all dialogs. This function may be called many times but will
|
|
70
|
-
* only initialize one time.
|
|
71
|
-
*/
|
|
72
|
-
initializeOnce(): Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Creates the global store if it doesn't exist.
|
|
75
|
-
* @param {function} callback
|
|
76
|
-
*/
|
|
77
|
-
createStore(cb?: () => void): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
getFinsembleWindow(cb?: () => void): Promise<void>;
|
|
81
|
-
getAvailableDialog(type: string, cb?: (dialog: WindowIdentifier | null) => void): Promise<WindowIdentifier | null>;
|
|
82
|
-
/**
|
|
83
|
-
* State management - just moves an opened dialog back to the "available" pool.
|
|
84
|
-
* @param {object} identifier window identifier of the dialog.
|
|
85
|
-
*/
|
|
86
|
-
moveDialogFromOpenedToAvailable(identifier: WindowIdentifier): Promise<string | null>;
|
|
87
|
-
/**
|
|
88
|
-
* State management - just moves an available dialog out of the "available" pool.
|
|
89
|
-
* @param {object} identifier window identifier of the dialog.
|
|
90
|
-
*/
|
|
91
|
-
moveDialogFromAvailableToOpened(identifier: WindowIdentifier): Promise<string | null>;
|
|
92
|
-
}
|
|
93
19
|
/**
|
|
94
20
|
* Registers this window as a modal that can be used by the dialog manager. This will set
|
|
95
21
|
* the window as a "scrim" – taking up the entire size of the monitor and being invisible or lightly opaque.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogManagerClient.d.ts","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAkB,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"dialogManagerClient.d.ts","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAkB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AA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,IAAI,KAAK,IAAI;oCAOjD,gBAAgB,WAAW,GAAG,eAAe,sBAAsB,GAAG,CAAC;iBA7NjG,MAAM,WACH,GAAG,eACC,sBAAsB,GAAG,CAAC,KACrC,QAAQ,MAAM,GAAG,IAAI,CAAC;0BA7ChB,WAAW,4CAEK,sBAAsB,GAAG,CAAC,OAC7C,sBAAsB,aAAa,CAAC,KACvC,gBAAgB,aAAa,CAAC;kCAgLiB,sBAAsB,gBAAgB,CAAC;;qDAzCpB,GAAG;;yBAhUjC,QAAQ,MAAM,GAAG,IAAI,CAAC;+BAqBf,MAAM,KAAK,IAAI,kBAAG,QAAQ,MAAM,GAAG,IAAI,CAAC;qBA+CnD,QAAQ,MAAM,GAAG,IAAI,CAAC;6BA2TZ,GAAG;CA6E/C,CAAC;AAEF;;GAEG;AACH,eAAe,mBAAmB,CAAC"}
|
|
@@ -12,222 +12,15 @@
|
|
|
12
12
|
* @module DialogManagerClient
|
|
13
13
|
*/
|
|
14
14
|
import { LauncherClient } from "./launcherClient";
|
|
15
|
-
import { DistributedStoreClient } from "./distributedStoreClient";
|
|
16
15
|
import { FinsembleWindow } from "../common/FinsembleWindow";
|
|
17
16
|
import { Logger } from "./logger";
|
|
18
17
|
import { System } from "../common/system";
|
|
19
18
|
import { getMyWindowIdentifier } from "../common/util";
|
|
20
19
|
import { RouterClient } from "./routerClient";
|
|
21
|
-
import { Globals } from "../common/Globals";
|
|
22
20
|
import { singleton } from "../common/Singleton";
|
|
23
|
-
import SystemManagerClient from "../common/systemManagerClient";
|
|
24
21
|
import { nameMap as legacyUINameMap } from "../deprecated/legacyUIComponentNames";
|
|
25
|
-
import {
|
|
22
|
+
import { DialogManagerClientController } from "./controller/DialogManagerClientController";
|
|
26
23
|
import uuidv4 from "uuid-random";
|
|
27
|
-
export class DialogManagerClientController {
|
|
28
|
-
constructor() {
|
|
29
|
-
this.initialized = false;
|
|
30
|
-
/**
|
|
31
|
-
* Can be used to set a specific timeout
|
|
32
|
-
*/
|
|
33
|
-
this.userInputTimeout = null;
|
|
34
|
-
/**
|
|
35
|
-
* A global store used to track which windows are registered as dialogs and their state.
|
|
36
|
-
* Dialogs are put in the "available" pool when they are available for use. They are put
|
|
37
|
-
* in the "open" pool when they are in use.
|
|
38
|
-
*/
|
|
39
|
-
this.DialogStore = null;
|
|
40
|
-
/**
|
|
41
|
-
* Will be set to true if the current window is a dialog
|
|
42
|
-
*/
|
|
43
|
-
this.isDialog = false;
|
|
44
|
-
/**
|
|
45
|
-
* Contains a unique channel name that a dialog can use to communicate back to
|
|
46
|
-
* its originating window. The channel is created by the originating window as
|
|
47
|
-
* a query responder.
|
|
48
|
-
*/
|
|
49
|
-
this.RESPONDER_CHANNEL = null;
|
|
50
|
-
/**
|
|
51
|
-
* Used to send a message back to whoever opened this dialog
|
|
52
|
-
*/
|
|
53
|
-
this.openerMessage = null;
|
|
54
|
-
/**
|
|
55
|
-
* Same as FEAGlobals.finsembleWindow
|
|
56
|
-
*/
|
|
57
|
-
this.finsembleWindow = null;
|
|
58
|
-
/**
|
|
59
|
-
* Will be set with the spawn data, which contains the input params and responseChannel
|
|
60
|
-
*/
|
|
61
|
-
this.spawnData = {};
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Checks to see whether the window is a dialog, setting this.isDialog to true or false
|
|
65
|
-
* @param {cb} cb The callback to be invoked after the method completes successfully.
|
|
66
|
-
*/
|
|
67
|
-
async checkIfWindowIsDialog(cb) {
|
|
68
|
-
var _a, _b, _c, _d, _e, _f;
|
|
69
|
-
if (Globals.finsembleWindow) {
|
|
70
|
-
const { err, data: options } = await Globals.finsembleWindow.getOptions();
|
|
71
|
-
this.spawnData = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.spawnData) !== null && _b !== void 0 ? _b : {};
|
|
72
|
-
this.isDialog = (_f = (_e = (_d = (_c = options === null || options === void 0 ? void 0 : options.customData) === null || _c === void 0 ? void 0 : _c.foreign) === null || _d === void 0 ? void 0 : _d.clients) === null || _e === void 0 ? void 0 : _e.dialogManager) === null || _f === void 0 ? void 0 : _f.isDialog;
|
|
73
|
-
cb === null || cb === void 0 ? void 0 : cb(err);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.isDialog = false;
|
|
77
|
-
cb === null || cb === void 0 ? void 0 : cb("Freestanding apps cannot be dialogs");
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
|
|
82
|
-
*
|
|
83
|
-
* **Note:** This method checks whether the calling window is a dialog.
|
|
84
|
-
* @param {function} callback The callback to be invoked after the method completes successfully.
|
|
85
|
-
*/
|
|
86
|
-
async registerWithStore(cb) {
|
|
87
|
-
var _a;
|
|
88
|
-
if (this.isDialog) {
|
|
89
|
-
const myWindowIdentifier = await getMyWindowIdentifier();
|
|
90
|
-
this.RESPONDER_CHANNEL = `Dialog.${myWindowIdentifier.windowName}.Show`;
|
|
91
|
-
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available", myWindowIdentifier.windowName], myWindowIdentifier));
|
|
92
|
-
}
|
|
93
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Establishes a connection to the distributed store that is used
|
|
97
|
-
* by all dialogs. This function may be called many times but will
|
|
98
|
-
* only initialize one time.
|
|
99
|
-
*/
|
|
100
|
-
initializeOnce() {
|
|
101
|
-
return new Promise(async (resolve) => {
|
|
102
|
-
// Only initialize once
|
|
103
|
-
if (this.initialized) {
|
|
104
|
-
resolve();
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
this.initialized = true;
|
|
108
|
-
await SystemManagerClient.waitForStartup("windowService");
|
|
109
|
-
await this.checkIfWindowIsDialog();
|
|
110
|
-
asyncSeries([
|
|
111
|
-
this.createStore.bind(this),
|
|
112
|
-
this.registerWithStore.bind(this),
|
|
113
|
-
this.getFinsembleWindow.bind(this),
|
|
114
|
-
(done) => {
|
|
115
|
-
done();
|
|
116
|
-
},
|
|
117
|
-
], () => {
|
|
118
|
-
resolve();
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Creates the global store if it doesn't exist.
|
|
124
|
-
* @param {function} callback
|
|
125
|
-
*/
|
|
126
|
-
async createStore(cb) {
|
|
127
|
-
const defaults = {
|
|
128
|
-
dialogs: {
|
|
129
|
-
opened: {},
|
|
130
|
-
available: {},
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
const { err, data } = await DistributedStoreClient.createStore({
|
|
134
|
-
store: "DialogStore",
|
|
135
|
-
values: defaults,
|
|
136
|
-
global: true,
|
|
137
|
-
});
|
|
138
|
-
if (err || !data) {
|
|
139
|
-
Logger.error(`DialogManagerClient could not create store "DialogStore"`, err);
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
this.DialogStore = data;
|
|
143
|
-
}
|
|
144
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
*/
|
|
148
|
-
async getFinsembleWindow(cb) {
|
|
149
|
-
// this.finsembleWindow must only be initialized in actual dialogs. Otherwise it causes side effects in services.
|
|
150
|
-
if (this.isDialog) {
|
|
151
|
-
const { wrap } = await FinsembleWindow.getInstance({ name: System.Window.getCurrent().name });
|
|
152
|
-
this.finsembleWindow = wrap;
|
|
153
|
-
}
|
|
154
|
-
cb === null || cb === void 0 ? void 0 : cb();
|
|
155
|
-
}
|
|
156
|
-
async getAvailableDialog(type, cb) {
|
|
157
|
-
if (!this.DialogStore) {
|
|
158
|
-
const error = `DialogMangerClient.getAvailableDialogs() store not yet initialized}`;
|
|
159
|
-
Logger.system.error(error);
|
|
160
|
-
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
161
|
-
return null;
|
|
162
|
-
}
|
|
163
|
-
const { err, data: availableDialogs } = await this.DialogStore.getGlobalValue("dialogs.available");
|
|
164
|
-
if (err) {
|
|
165
|
-
const error = `DialogMangerClient.getAvailableDialogs() store error ${err}`;
|
|
166
|
-
Logger.system.error(error);
|
|
167
|
-
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
168
|
-
return null;
|
|
169
|
-
}
|
|
170
|
-
for (const dialogName in availableDialogs) {
|
|
171
|
-
const dialog = availableDialogs[dialogName];
|
|
172
|
-
if (dialog.componentType === type) {
|
|
173
|
-
cb === null || cb === void 0 ? void 0 : cb(dialog);
|
|
174
|
-
return dialog;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
cb === null || cb === void 0 ? void 0 : cb(null);
|
|
178
|
-
return null;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* State management - just moves an opened dialog back to the "available" pool.
|
|
182
|
-
* @param {object} identifier window identifier of the dialog.
|
|
183
|
-
*/
|
|
184
|
-
async moveDialogFromOpenedToAvailable(identifier) {
|
|
185
|
-
var _a, _b;
|
|
186
|
-
if (!this.DialogStore) {
|
|
187
|
-
const error = `DialogMangerClient.moveDialogFromOpenedToAvailable() store not yet initialized}`;
|
|
188
|
-
Logger.system.error(error);
|
|
189
|
-
return error;
|
|
190
|
-
}
|
|
191
|
-
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
192
|
-
if (err || !dialogs) {
|
|
193
|
-
const error = `DialogManagerClient.moveDialogFromOpenedToAvailable() no "dialogs" object returned from store`;
|
|
194
|
-
Logger.system.error(error);
|
|
195
|
-
return error;
|
|
196
|
-
}
|
|
197
|
-
const openedDialogs = dialogs.opened;
|
|
198
|
-
const availableDialogs = dialogs.available;
|
|
199
|
-
delete openedDialogs[identifier.windowName];
|
|
200
|
-
availableDialogs[identifier.windowName] = identifier;
|
|
201
|
-
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "opened"], openedDialogs));
|
|
202
|
-
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "available"], availableDialogs));
|
|
203
|
-
return null;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* State management - just moves an available dialog out of the "available" pool.
|
|
207
|
-
* @param {object} identifier window identifier of the dialog.
|
|
208
|
-
*/
|
|
209
|
-
async moveDialogFromAvailableToOpened(identifier) {
|
|
210
|
-
var _a, _b;
|
|
211
|
-
if (!this.DialogStore) {
|
|
212
|
-
const error = `DialogMangerClient.moveDialogFromAvailableToOpened() store not yet initialized}`;
|
|
213
|
-
Logger.system.error(error);
|
|
214
|
-
return error;
|
|
215
|
-
}
|
|
216
|
-
const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
|
|
217
|
-
if (err || !dialogs) {
|
|
218
|
-
const error = `DialogManagerClient.moveDialogFromAvailableToOpened no "dialogs" object returned from store`;
|
|
219
|
-
Logger.system.error(error);
|
|
220
|
-
return error;
|
|
221
|
-
}
|
|
222
|
-
const availableDialogs = dialogs.available;
|
|
223
|
-
const openedDialogs = dialogs.opened;
|
|
224
|
-
delete availableDialogs[identifier.windowName];
|
|
225
|
-
openedDialogs[identifier.windowName] = identifier;
|
|
226
|
-
await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available"], availableDialogs));
|
|
227
|
-
await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "opened"], openedDialogs));
|
|
228
|
-
return null;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
24
|
const getControllerInstance = async () => {
|
|
232
25
|
const controller = singleton("DialogManagerClient", DialogManagerClientController);
|
|
233
26
|
await controller.initializeOnce();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogManagerClient.js","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAE,cAAc,EAAiB,MAAM,kBAAkB,CAA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E;QACrB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,2DAA2D,CAAC,CAAC;QACtF,EAAE,aAAF,EAAE,uBAAF,EAAE,EAAI,CAAC;IACR,CAAC;IACD,WAAW,EAAE,CAAC,EAAe,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,UAAU,CACvB,sHAAsH,CACtH,CAAC;QACF,MAAM,UAAU,GAAG,SAAS,CAAC,qBAAqB,EAAE,6BAA6B,CAAC,CAAC;QACnF,OAAO,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;IACD,kBAAkB,EAAE,CAAC,IAAY,EAAE,EAA8C,EAAE,EAAE;QACpF,MAAM,CAAC,MAAM,CAAC,UAAU,CACvB,6HAA6H,CAC7H,CAAC;QACF,MAAM,UAAU,GAAG,SAAS,CAAC,qBAAqB,EAAE,6BAA6B,CAAC,CAAC;QACnF,OAAO,UAAU,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;IACD,iBAAiB,EAAE,CAAC,UAA4B,EAAE,OAAY,EAAE,WAAuC,EAAE,EAAE;QAC1G,MAAM,CAAC,MAAM,CAAC,UAAU,CACvB,4HAA4H,CAC5H,CAAC;QACF,OAAO,iBAAiB,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5D,CAAC;IACD,IAAI;IACJ,WAAW;IACX,sBAAsB;IACtB,yBAAyB;IACzB,0BAA0B;IAC1B,UAAU;IACV,aAAa;IACb,SAAS;IACT,SAAS;IACT,eAAe;CACf,CAAC;AAEF;;GAEG;AACH,eAAe,mBAAmB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export default ConfigClient;
|
|
|
31
31
|
/// <reference types="node" />
|
|
32
32
|
import { StandardErrorCallback, StandardPromise } from "../types";
|
|
33
33
|
import StoreModel from "./StoreModel";
|
|
34
|
+
export { StoreModel };
|
|
34
35
|
/**
|
|
35
36
|
* Remove a store. If global is not set and a local store isn't found, Finsemble will remove the global store.
|
|
36
37
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distributedStoreClient.d.ts","sourceRoot":"","sources":["../../../src/clients/distributedStoreClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;EAmBE;;AAEF,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAElE,OAAO,UAAU,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"distributedStoreClient.d.ts","sourceRoot":"","sources":["../../../src/clients/distributedStoreClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;EAmBE;;AAEF,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAElE,OAAO,UAAU,MAAM,cAAc,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,CAAC;AAgCtB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW,WACf;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,OACI,sBAAsB,OAAO,CAAC,KACjC,gBAAgB,OAAO,CAYzB,CAAC;AA+BF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,WACZ;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACvC,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAY5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WACrB;IACP,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,CAAC;CACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAqB5B,CAAC;AAkCF;;;;;;;;;;;;;;;;;;MAkBG;AACH,eAAO,MAAM,WAAW,WACf;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,CAAC;CACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAO5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;IAClC;;;;OAIG;;IAIH;;;;OAIG;mBACY,GAAG;0BAjCV;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,GAAG,CAAC;KACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;uBAjHrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;KACvC,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;gCAmBrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,GAAG,CAAC;KACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;0BAhGrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;KACjB,OACI,sBAAsB,OAAO,CAAC,KACjC,gBAAgB,OAAO,CAAC;CA+M1B,CAAC;AAEF;;GAEG;AACH,eAAe,sBAAsB,CAAC"}
|
|
@@ -32,6 +32,7 @@ import { Logger } from "./logger";
|
|
|
32
32
|
import StoreModel from "./StoreModel";
|
|
33
33
|
import SystemManagerClient from "../common/systemManagerClient";
|
|
34
34
|
import { RouterClient } from "../clients/routerClient";
|
|
35
|
+
export { StoreModel };
|
|
35
36
|
/**
|
|
36
37
|
* Persistent stores are loaded asynchronously within the distributed store service. The
|
|
37
38
|
* `distributedStoresLoading` responder publishes its status. It publishes State="done"
|