@finsemble/finsemble-ui 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FEA.d.ts +102 -28
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +17 -16
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/types.d.ts +1 -0
- package/clients/Interop/types.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +2 -8
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +2 -4
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +6 -4
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +125 -112
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +9 -9
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +463 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +696 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +36 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +18 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +189 -71
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +185 -114
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +78 -0
- package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
- package/clients/controller/DialogManagerClientController.js +213 -0
- package/clients/controller/DialogManagerClientController.js.map +1 -0
- package/clients/dialogManagerClient.d.ts +11 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +11 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +4 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +4 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +23 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +35 -14
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +2 -0
- package/clients/index.d.ts.map +1 -1
- package/clients/index.js +2 -0
- package/clients/index.js.map +1 -1
- package/clients/launcherClient.d.ts +55 -209
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +37 -422
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts +6 -0
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +49 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +32 -8
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +32 -8
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +39 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +38 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +7 -2
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +7 -2
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +19 -6
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +18 -6
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +207 -80
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +291 -139
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +45 -18
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +41 -13
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +12 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +14 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +5 -108
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +28 -349
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Monitors.d.ts +30 -18
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +45 -80
- package/common/Monitors.js.map +1 -1
- package/common/Singleton.d.ts +7 -1
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +24 -11
- package/common/Singleton.js.map +1 -1
- package/common/constants.d.ts +3 -9
- package/common/constants.d.ts.map +1 -1
- package/common/constants.js +3 -14
- package/common/constants.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +1 -1
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/redux/getRemoteStore.d.ts +53 -0
- package/common/redux/getRemoteStore.d.ts.map +1 -0
- package/common/redux/getRemoteStore.js +50 -0
- package/common/redux/getRemoteStore.js.map +1 -0
- package/common/redux/remoteReduxEnhancer.d.ts +7 -7
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +35 -20
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +14 -1
- package/common/redux/types.d.ts.map +1 -1
- package/common/systemManagerClient.d.ts +11 -5
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +25 -8
- package/common/systemManagerClient.js.map +1 -1
- package/common/util.d.ts +1 -7
- package/common/util.d.ts.map +1 -1
- package/common/util.js +1 -14
- package/common/util.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +1 -1
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +3 -4
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +4 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +15 -4
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/linkerClient.d.ts +1 -1
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/main.d.ts +289 -171
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +4 -4
- package/platform/services/Interop/modules/types.d.ts +2 -0
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/types.d.ts +24 -2
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js.map +1 -1
- package/platform/services/router/types.d.ts +5 -6
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.d.ts +1 -0
- package/platform/services/systemManager/_constants.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.js +2 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/systemManager/types.d.ts +1 -1
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +68 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +60 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +275 -51
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/workspace/types.d.ts +4 -3
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.d.ts +7 -1
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +3 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/assets/css/core/icons.css +0 -5
- package/react/assets/css/dialogs.css +2 -1
- package/react/assets/css/fonts/icons-reference.html +1 -1
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/userPreferences.css +1 -1
- package/react/assets/css/windowTitleBar.css +101 -285
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts +3 -0
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +3 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +6 -2
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts.map +1 -1
- package/react/components/common/ButtonRow.js +4 -9
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.d.ts.map +1 -1
- package/react/components/common/Checkbox.js +14 -2
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +5 -11
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +11 -24
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +6 -4
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleLink.d.ts +7 -0
- package/react/components/common/FinsembleLink.d.ts.map +1 -0
- package/react/components/common/FinsembleLink.js +13 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/Header.d.ts +1 -0
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +4 -2
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -15
- package/react/components/common/css/application-list.css +54 -23
- package/react/components/common/css/button.css +20 -0
- package/react/components/common/css/selector.css +3 -1
- package/react/components/downloadManager/DownloadManager.d.ts +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +2 -4
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/icon/Icon.js +1 -1
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +2 -9
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +2 -22
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +2 -2
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
- package/react/components/notifications/css/notification-center.css +2 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +14 -36
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +5 -9
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +3 -2
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +10 -0
- package/react/components/processMonitor/components/Process.d.ts.map +1 -0
- package/react/components/processMonitor/components/Process.js +11 -0
- package/react/components/processMonitor/components/Process.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +1 -2
- package/react/components/processMonitor/constants.d.ts.map +1 -1
- package/react/components/processMonitor/constants.js +2 -8
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +0 -1
- package/react/components/processMonitor/helpers.d.ts.map +1 -1
- package/react/components/processMonitor/helpers.js +2 -9
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/sdd/Content.d.ts +9 -0
- package/react/components/sdd/Content.d.ts.map +1 -0
- package/react/components/sdd/Content.js +7 -0
- package/react/components/sdd/Content.js.map +1 -0
- package/react/components/sdd/Dashboard.d.ts +20 -0
- package/react/components/sdd/Dashboard.d.ts.map +1 -0
- package/react/components/sdd/Dashboard.js +103 -0
- package/react/components/sdd/Dashboard.js.map +1 -0
- package/react/components/sdd/Export.d.ts +24 -0
- package/react/components/sdd/Export.d.ts.map +1 -0
- package/react/components/sdd/Export.js +133 -0
- package/react/components/sdd/Export.js.map +1 -0
- package/react/components/sdd/ExportCloud.d.ts +7 -0
- package/react/components/sdd/ExportCloud.d.ts.map +1 -0
- package/react/components/sdd/ExportCloud.js +38 -0
- package/react/components/sdd/ExportCloud.js.map +1 -0
- package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
- package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
- package/react/components/sdd/ExportDeployInfo.js +18 -0
- package/react/components/sdd/ExportDeployInfo.js.map +1 -0
- package/react/components/sdd/ExportZip.d.ts +7 -0
- package/react/components/sdd/ExportZip.d.ts.map +1 -0
- package/react/components/sdd/ExportZip.js +43 -0
- package/react/components/sdd/ExportZip.js.map +1 -0
- package/react/components/sdd/ProjectErrors.d.ts +12 -0
- package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
- package/react/components/sdd/ProjectErrors.js +26 -0
- package/react/components/sdd/ProjectErrors.js.map +1 -0
- package/react/components/sdd/ProjectMasonry.d.ts +13 -0
- package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
- package/react/components/sdd/ProjectMasonry.js +22 -0
- package/react/components/sdd/ProjectMasonry.js.map +1 -0
- package/react/components/sdd/Publish.d.ts +9 -0
- package/react/components/sdd/Publish.d.ts.map +1 -0
- package/react/components/sdd/Publish.js +113 -0
- package/react/components/sdd/Publish.js.map +1 -0
- package/react/components/sdd/PublishProgress.d.ts +10 -0
- package/react/components/sdd/PublishProgress.d.ts.map +1 -0
- package/react/components/sdd/PublishProgress.js +24 -0
- package/react/components/sdd/PublishProgress.js.map +1 -0
- package/react/components/sdd/View.d.ts +9 -0
- package/react/components/sdd/View.d.ts.map +1 -0
- package/react/components/sdd/View.js +7 -0
- package/react/components/sdd/View.js.map +1 -0
- package/react/components/sdd/css/addApp.css +62 -8
- package/react/components/sdd/css/appD.css +81 -0
- package/react/components/sdd/css/appDViewer.css +93 -0
- package/react/components/sdd/css/applications.css +53 -15
- package/react/components/sdd/css/exportAppD.css +31 -0
- package/react/components/sdd/css/horizontalScroll.css +9 -0
- package/react/components/sdd/css/project-header.css +2 -1
- package/react/components/sdd/css/views.css +3 -0
- package/react/components/sdd/smartDesktopClient.d.ts +627 -0
- package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
- package/react/components/sdd/smartDesktopClient.js +1222 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/types.d.ts +9 -0
- package/react/components/sdd/types.d.ts.map +1 -0
- package/react/components/sdd/types.js +2 -0
- package/react/components/sdd/types.js.map +1 -0
- package/react/components/search/SearchInput.d.ts +1 -2
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +11 -13
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +6 -6
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +31 -4
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +1 -1
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +3 -6
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +8 -5
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +10 -1
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +1 -0
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +3 -2
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +14 -1
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/utils.d.ts +50 -0
- package/react/components/utils.d.ts.map +1 -0
- package/react/components/utils.js +60 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/CloseButton.js +22 -0
- package/react/components/windowTitleBar/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.js +25 -0
- package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
- package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.js +18 -0
- package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.js +21 -0
- package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/ShareButton.js +24 -0
- package/react/components/windowTitleBar/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabRegion.js +479 -0
- package/react/components/windowTitleBar/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabTitle.js +17 -0
- package/react/components/windowTitleBar/TabTitle.js.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.js +30 -0
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/index.d.ts +9 -8
- package/react/components/windowTitleBar/index.d.ts.map +1 -1
- package/react/components/windowTitleBar/index.js +9 -8
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
- package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
- package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
- package/react/components/windowTitleBar/useMaximize.js +23 -0
- package/react/components/windowTitleBar/useMaximize.js.map +1 -0
- package/react/components/yesNoDialog/timer.js +2 -1
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +27 -0
- package/react/hooks/useDragRegion.d.ts.map +1 -0
- package/react/hooks/useDragRegion.js +74 -0
- package/react/hooks/useDragRegion.js.map +1 -0
- package/react/hooks/useInjectedTitleBar.d.ts +3 -0
- package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
- package/react/hooks/useInjectedTitleBar.js +437 -0
- package/react/hooks/useInjectedTitleBar.js.map +1 -0
- package/react/hooks/useNotifications.d.ts +1 -1
- package/react/hooks/useToolbar.d.ts +1 -0
- package/react/hooks/useToolbar.d.ts.map +1 -1
- package/react/hooks/useToolbar.js +13 -3
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +12 -0
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.js +12 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/store.d.ts +24 -0
- package/react/store.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
- package/typedoc-types.d.ts +9 -0
- package/typedoc-types.d.ts.map +1 -0
- package/typedoc-types.js +6 -0
- package/typedoc-types.js.map +1 -0
- package/types.d.ts +5 -11
- package/types.d.ts.map +1 -1
- package/types.js +2 -0
- package/types.js.map +1 -1
- package/common/events/PrivateEventManager.d.ts +0 -95
- package/common/events/PrivateEventManager.d.ts.map +0 -1
- package/common/events/PrivateEventManager.js +0 -295
- package/common/events/PrivateEventManager.js.map +0 -1
- package/common/events/PrivateFinsembleEvent.d.ts +0 -30
- package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
- package/common/events/PrivateFinsembleEvent.js +0 -65
- package/common/events/PrivateFinsembleEvent.js.map +0 -1
- package/common/redux/createReducer.d.ts +0 -128
- package/common/redux/createReducer.d.ts.map +0 -1
- package/common/redux/createReducer.js +0 -298
- package/common/redux/createReducer.js.map +0 -1
- package/common/redux/index.d.ts +0 -3
- package/common/redux/index.d.ts.map +0 -1
- package/common/redux/index.js +0 -3
- package/common/redux/index.js.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
- package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
- package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
- package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.js +0 -16
- package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
- package/platform/services/window/Docking/boxMath.d.ts +0 -144
- package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
- package/platform/services/window/Docking/boxMath.js +0 -511
- package/platform/services/window/Docking/boxMath.js.map +0 -1
- package/platform/services/window/Docking/constants.d.ts +0 -29
- package/platform/services/window/Docking/constants.d.ts.map +0 -1
- package/platform/services/window/Docking/constants.js +0 -29
- package/platform/services/window/Docking/constants.js.map +0 -1
- package/platform/services/window/Docking/dockableBox.d.ts +0 -117
- package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableBox.js +0 -525
- package/platform/services/window/Docking/dockableBox.js.map +0 -1
- package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
- package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableGroup.js +0 -1054
- package/platform/services/window/Docking/dockableGroup.js.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
- package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.js +0 -427
- package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
- package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
- package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableWindow.js +0 -1239
- package/platform/services/window/Docking/dockableWindow.js.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
- package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.js +0 -3438
- package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
- package/platform/services/window/Docking/dockingMain.d.ts +0 -349
- package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingMain.js +0 -2541
- package/platform/services/window/Docking/dockingMain.js.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
- package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
- package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
- package/platform/services/window/Docking/types.d.ts +0 -334
- package/platform/services/window/Docking/types.d.ts.map +0 -1
- package/platform/services/window/Docking/types.js +0 -12
- package/platform/services/window/Docking/types.js.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
- package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
- package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
- package/platform/services/window/windowGroup.d.ts +0 -86
- package/platform/services/window/windowGroup.d.ts.map +0 -1
- package/platform/services/window/windowGroup.js +0 -323
- package/platform/services/window/windowGroup.js.map +0 -1
- package/platform/services/workspace/windowStorageManager.d.ts +0 -180
- package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
- package/platform/services/workspace/windowStorageManager.js +0 -195
- package/platform/services/workspace/windowStorageManager.js.map +0 -1
- package/react/assets/icons/question-circle.svg +0 -6
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
- package/react/components/sdd/Appearance.helpers.d.ts +0 -2
- package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
- package/react/components/sdd/Appearance.helpers.js +0 -2
- package/react/components/sdd/Appearance.helpers.js.map +0 -1
- package/react/components/shared/linkerUtil.d.ts +0 -4
- package/react/components/shared/linkerUtil.d.ts.map +0 -1
- package/react/components/shared/linkerUtil.js +0 -10
- package/react/components/shared/linkerUtil.js.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
- package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.js +0 -58
- package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
- package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.js +0 -614
- package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
- package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.js +0 -382
- package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
- package/react/types/windowTitleBar.d.ts +0 -49
- package/react/types/windowTitleBar.d.ts.map +0 -1
- package/react/types/windowTitleBar.js +0 -2
- package/react/types/windowTitleBar.js.map +0 -1
- /package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
|
@@ -1,382 +0,0 @@
|
|
|
1
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _Title_instances, _Title_getWindowManagerForTab, _Title_calculateTabTitle, _Title_getUserEditedTitle, _Title_getConfigTitle, _Title_getDocumentTitle, _Title_getAppDTitle, _Title_addListeners, _Title_removeListeners;
|
|
7
|
-
import React, { Component } from "react";
|
|
8
|
-
import { Icon } from "../../icon/Icon";
|
|
9
|
-
import { Store } from "../stores/windowTitleBarStore";
|
|
10
|
-
import { FEAGlobals } from "../../../../common/Globals";
|
|
11
|
-
// The store name for the distributed store which tracks tab titles
|
|
12
|
-
const WINDOW_TAB_TITLE_STORE = "window-tab-title";
|
|
13
|
-
// The field name to watch for tab title edits
|
|
14
|
-
const FIELD_NAME_PERSISTED_TITLE = "persistedTitle";
|
|
15
|
-
// The windowTabNameStore reference
|
|
16
|
-
let windowTabNameStore;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the store which tracks the tab title for a windowName. This is a distributed store shared by all components.
|
|
19
|
-
*
|
|
20
|
-
* @returns a Promise which resolves the StoreModel associated with window and tab names
|
|
21
|
-
*/
|
|
22
|
-
const getWindowTabNameStore = async () => {
|
|
23
|
-
if (!windowTabNameStore) {
|
|
24
|
-
let { data: store } = await FEAGlobals.FSBL.Clients.DistributedStoreClient.createGlobalStore({
|
|
25
|
-
store: WINDOW_TAB_TITLE_STORE,
|
|
26
|
-
});
|
|
27
|
-
windowTabNameStore = store;
|
|
28
|
-
}
|
|
29
|
-
// Return the store
|
|
30
|
-
return windowTabNameStore;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* The wrapper component for tab renaming
|
|
34
|
-
* @param {*} props
|
|
35
|
-
*/
|
|
36
|
-
function EditTab(props) {
|
|
37
|
-
const [editingTitle, setEditingTitle] = React.useState(false);
|
|
38
|
-
const [clickTimeout, setClickTimeout] = React.useState(undefined);
|
|
39
|
-
const inputEl = React.useRef(null);
|
|
40
|
-
const updateTabTitle = async (e) => {
|
|
41
|
-
// When the tab title has changed via a user edit, simply update the DistributedStore
|
|
42
|
-
// Get the title
|
|
43
|
-
const title = e.target.value;
|
|
44
|
-
// Get the tab name store
|
|
45
|
-
let store = await getWindowTabNameStore();
|
|
46
|
-
// If the store is unavailable, then the tab name cannot be persisted
|
|
47
|
-
if (!store) {
|
|
48
|
-
// This is not critical, but tab titles may be stale
|
|
49
|
-
FEAGlobals.FSBL.Clients.Logger.warn("Error persisting tab title via EditTab: the store was not found");
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
// Persist the tab title
|
|
53
|
-
store.setValue({ field: props.windowIdentifier.windowName, value: title });
|
|
54
|
-
// Get the window which coresponds to the tab being edited
|
|
55
|
-
const { wrap: win } = await FEAGlobals.FSBL.FinsembleWindow.getInstance(props.windowIdentifier);
|
|
56
|
-
// Set the component state "persistedTitle" (which is the edited title)
|
|
57
|
-
FEAGlobals.FSBL.Clients.Logger.debug(`Setting component state "${FIELD_NAME_PERSISTED_TITLE}" with value "${title}"`);
|
|
58
|
-
await win.setComponentState({ field: FIELD_NAME_PERSISTED_TITLE, value: title });
|
|
59
|
-
// Stop editing in all cases
|
|
60
|
-
setEditingTitle(false);
|
|
61
|
-
};
|
|
62
|
-
const beginEditing = async () => {
|
|
63
|
-
var _a, _b;
|
|
64
|
-
await setEditingTitle(true);
|
|
65
|
-
(_a = inputEl === null || inputEl === void 0 ? void 0 : inputEl.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
66
|
-
if (inputEl === null || inputEl === void 0 ? void 0 : inputEl.current) {
|
|
67
|
-
inputEl.current.value = (_b = props.title) !== null && _b !== void 0 ? _b : "";
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
const clickHandler = async () => {
|
|
71
|
-
var _a;
|
|
72
|
-
const allowWindowTitleRenaming = await Store.get(["allowWindowTitleRenaming"]);
|
|
73
|
-
if (clickTimeout) {
|
|
74
|
-
// double click
|
|
75
|
-
if (allowWindowTitleRenaming.data) {
|
|
76
|
-
beginEditing();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
else if (!editingTitle) {
|
|
80
|
-
// single click
|
|
81
|
-
let timeout = setTimeout(() => {
|
|
82
|
-
clearTimeout(clickTimeout);
|
|
83
|
-
setClickTimeout(undefined);
|
|
84
|
-
}, 500);
|
|
85
|
-
setClickTimeout(timeout);
|
|
86
|
-
// Only call props.setActiveTab IFF this current tab is NOT the current tab
|
|
87
|
-
// This prevents white flashes/renders while clicking on an actibe tab
|
|
88
|
-
if (((_a = props.windowIdentifier) === null || _a === void 0 ? void 0 : _a.windowName) !== FEAGlobals.FSBL.Clients.WindowClient.getCurrentWindow().name &&
|
|
89
|
-
!!props.setActiveTab) {
|
|
90
|
-
props.setActiveTab();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
const blurHandler = (e) => {
|
|
95
|
-
updateTabTitle(e);
|
|
96
|
-
};
|
|
97
|
-
const keyDownHandler = (e) => {
|
|
98
|
-
e.key === "Enter" && updateTabTitle(e);
|
|
99
|
-
};
|
|
100
|
-
return (React.createElement("div", { className: "fsbl-tab-editor",
|
|
101
|
-
// We can't use Click and Dblclick events together cause for one dblclick fires two click events which close title editor.
|
|
102
|
-
// Workaround with setTimeout should resolve this behavior.
|
|
103
|
-
onClick: clickHandler }, editingTitle ? (React.createElement("div", { className: "fsbl-tab fsbl-active-tab", style: { width: props.tabWidth || "auto" } },
|
|
104
|
-
React.createElement("div", { draggable: true, onDragStart: (e) => {
|
|
105
|
-
e.stopPropagation();
|
|
106
|
-
e.preventDefault();
|
|
107
|
-
} },
|
|
108
|
-
React.createElement("input", { id: "title_editor_input", ref: inputEl, onBlur: blurHandler, onKeyDown: keyDownHandler, type: "text", className: "tab__input", maxLength: 32 })))) : (props.children)));
|
|
109
|
-
}
|
|
110
|
-
/*
|
|
111
|
-
* Description how stacked window tabs work.
|
|
112
|
-
*
|
|
113
|
-
* The simplest case - when you have only 2 tabs. In that case you will actually have 2 windows and 4 tabs.
|
|
114
|
-
* Lets call them as: window 1 - w1, window 2 - w2, tab 1 from window 1 - w1_t1, tab 2 from window 1 - w1_t2, for tabs from window 2 - w2_t1 and w2_t2.
|
|
115
|
-
* When you switch tabs you activate w1 or w2 with active tab w1_t1 or w2_t2 correspondingly.
|
|
116
|
-
* Tabs w1_t2 and w2_t1 are inactive. They needed only for rendering. I call them as remote tabs, cause their titles must be synchronized with active tabs titles.
|
|
117
|
-
* Thus when you rename active tab (w1_t1), the corresponding remote tab (w2_t1) should be updated automatically.
|
|
118
|
-
*/
|
|
119
|
-
export class Title extends Component {
|
|
120
|
-
constructor(props) {
|
|
121
|
-
var _a, _b, _c, _d, _e;
|
|
122
|
-
super(props);
|
|
123
|
-
_Title_instances.add(this);
|
|
124
|
-
// The listener for tab title change events via the DistributedStoreClient, kept as a reference so
|
|
125
|
-
// that the listener can be deregistered when the component is unmounted
|
|
126
|
-
this.tabTitleChangedStoreListener = (err, response) => {
|
|
127
|
-
if (!!err) {
|
|
128
|
-
// This is not critical; in the worst case this tab title will be stale
|
|
129
|
-
FEAGlobals.FSBL.Clients.Logger.warn(`Listener error for store "${WINDOW_TAB_TITLE_STORE}" for field "${this.props.windowIdentifier.windowName}"`, err);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
// Log a message
|
|
133
|
-
FEAGlobals.FSBL.Clients.Logger.debug(`Store "${WINDOW_TAB_TITLE_STORE}" notified of new title "${response.value}" for window "${response.field}"`);
|
|
134
|
-
// Invoke updateTitle
|
|
135
|
-
if (!!this._mounted) {
|
|
136
|
-
this.updateTitle();
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
// Flag to determine if this instance is currently mounted; this is necessary because:
|
|
140
|
-
// 1.) Title components are mounted and unmounted as an artifact of how the tab or tab list is rendered
|
|
141
|
-
// 2.) Keeping tab titles synchronized is an asynchronous process
|
|
142
|
-
// 3.) During the asynchronous process of tab title synchronization, a call to setState is made and
|
|
143
|
-
// that raises a React warning since the component state cannot be changed while the component
|
|
144
|
-
// is unmounted
|
|
145
|
-
this._mounted = false;
|
|
146
|
-
// Declare the initial title as a blank string
|
|
147
|
-
let initialTitle = " ";
|
|
148
|
-
// If the currently rendering tab represents the current window, then use the document title (or window name)
|
|
149
|
-
if (undefined !== ((_a = FEAGlobals.finsembleWindow) === null || _a === void 0 ? void 0 : _a.thisWindowName) &&
|
|
150
|
-
((_b = FEAGlobals.finsembleWindow) === null || _b === void 0 ? void 0 : _b.thisWindowName) === ((_c = props === null || props === void 0 ? void 0 : props.windowIdentifier) === null || _c === void 0 ? void 0 : _c.windowName)) {
|
|
151
|
-
initialTitle = document.title || ((_d = props.windowIdentifier) === null || _d === void 0 ? void 0 : _d.windowName);
|
|
152
|
-
}
|
|
153
|
-
this.state = {
|
|
154
|
-
// Use document.title first to prevent a title flickering when dragging a tab of another window.
|
|
155
|
-
// The reason for flickering is the component re-rendering multiple times. The initial place
|
|
156
|
-
// where re-rendering start is the `disallowDragOnCenterRegion()` at the WindowTitleBarShell.
|
|
157
|
-
// At that function, we change the state of the parent component which triggers re-rendering for the children tree.
|
|
158
|
-
title: initialTitle,
|
|
159
|
-
icon: null,
|
|
160
|
-
// The "windowName" is the name of the window which corresponds to the this instance of the
|
|
161
|
-
// Title component, though the actual current window may belong to some other
|
|
162
|
-
// component(ie this tab represents an inactive window)
|
|
163
|
-
windowName: (_e = props.windowIdentifier) === null || _e === void 0 ? void 0 : _e.windowName,
|
|
164
|
-
};
|
|
165
|
-
// Bind the "updateTitle" function (in order to use React component functions)
|
|
166
|
-
this.updateTitle = this.updateTitle.bind(this);
|
|
167
|
-
// Initial title set
|
|
168
|
-
this.updateTitle();
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Updates the title for both the tab and the window.
|
|
172
|
-
*
|
|
173
|
-
* @returns a Promise which resolves nothing
|
|
174
|
-
*/
|
|
175
|
-
async updateTitle() {
|
|
176
|
-
// There is a subtle difference bewtween windowTitle and tabTitle. Since this code executes
|
|
177
|
-
// when *any* tab has a name change, this code can execute when the active window represents
|
|
178
|
-
// a tab other than the currently rendering tab (ie an inactive tab).
|
|
179
|
-
var _a, _b;
|
|
180
|
-
// The window represented by this tab title instance
|
|
181
|
-
const { wrap: tabWindow } = await FEAGlobals.FSBL.FinsembleWindow.getInstance(this.props.windowIdentifier);
|
|
182
|
-
// "tabWindowOptions" refers to the options from the window which hosts the component represented by this tab
|
|
183
|
-
const { data: tabWindowOptions } = await tabWindow.getOptions();
|
|
184
|
-
// Derive the title: "config title" then "document.title" then "appd title"
|
|
185
|
-
let title = await __classPrivateFieldGet(this, _Title_instances, "m", _Title_calculateTabTitle).call(this);
|
|
186
|
-
// Get the titleBar icon from the WindowDescriptor for the TAB window (not the CURRENT window)
|
|
187
|
-
const icon = (_b = (_a = tabWindowOptions === null || tabWindowOptions === void 0 ? void 0 : tabWindowOptions.icons) === null || _a === void 0 ? void 0 : _a.titleBarIcon) !== null && _b !== void 0 ? _b : {
|
|
188
|
-
imageType: "initials",
|
|
189
|
-
name: title,
|
|
190
|
-
};
|
|
191
|
-
// Log a message
|
|
192
|
-
FEAGlobals.FSBL.Clients.Logger.debug(`Setting tab title ${title} for window ${this.props.windowIdentifier.windowName}`);
|
|
193
|
-
// Finally, set the state if the component is mounted
|
|
194
|
-
if (!!this._mounted) {
|
|
195
|
-
this.setState({
|
|
196
|
-
title,
|
|
197
|
-
icon: Object.assign(Object.assign({}, icon), {
|
|
198
|
-
// Application causes the background to default to a circle rather than a square
|
|
199
|
-
category: "Application" }),
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
// If this tab component instance represents the window (that is, this is the active tab), then set the title
|
|
203
|
-
if (FEAGlobals.finsembleWindow.thisWindowName === this.props.windowIdentifier.windowName) {
|
|
204
|
-
document.title = await __classPrivateFieldGet(this, _Title_instances, "m", _Title_calculateTabTitle).call(this);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* React component lifecycle event, triggered once the component has been added to the DOM.
|
|
209
|
-
*/
|
|
210
|
-
componentDidMount() {
|
|
211
|
-
// Set the mounted flag to true (this component is currently mounted)
|
|
212
|
-
this._mounted = true;
|
|
213
|
-
// Add listeners
|
|
214
|
-
__classPrivateFieldGet(this, _Title_instances, "m", _Title_addListeners).call(this);
|
|
215
|
-
}
|
|
216
|
-
// Triggers a re-rendering of the drag handle in the title bar.
|
|
217
|
-
componentDidUpdate() {
|
|
218
|
-
if (typeof this.props.onUpdate === "function") {
|
|
219
|
-
this.props.onUpdate();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* React component lifecycle event, triggered before the component is removed from the DOM.
|
|
224
|
-
*/
|
|
225
|
-
componentWillUnmount() {
|
|
226
|
-
// Set the mounted flag to false (this component is not currently mounted)
|
|
227
|
-
this._mounted = false;
|
|
228
|
-
// Remove listeners
|
|
229
|
-
__classPrivateFieldGet(this, _Title_instances, "m", _Title_removeListeners).call(this);
|
|
230
|
-
}
|
|
231
|
-
render() {
|
|
232
|
-
var _a;
|
|
233
|
-
const { titleWidth } = this.props;
|
|
234
|
-
const style = titleWidth ? { width: titleWidth } : {};
|
|
235
|
-
return (React.createElement(EditTab, { tabWidth: titleWidth, setActiveTab: (_a = this === null || this === void 0 ? void 0 : this.props) === null || _a === void 0 ? void 0 : _a.onClick, title: this.state.title,
|
|
236
|
-
// The windowIdentifier indicates which app/component this tab instance should represent
|
|
237
|
-
windowIdentifier: this.props.windowIdentifier },
|
|
238
|
-
React.createElement("div", { className: "fsbl-tab-title", style: style },
|
|
239
|
-
this.state.icon && React.createElement(Icon, Object.assign({}, this.state.icon)),
|
|
240
|
-
React.createElement("div", { className: "fsbl-tab-title-text" }, this.state.title))));
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
_Title_instances = new WeakSet(), _Title_getWindowManagerForTab =
|
|
244
|
-
/**
|
|
245
|
-
* Gets a reference to the "Window Manager" component for the tab which is rendering. If the this tab IS the active tab, then the WindowManager will be the same as the WindowManager
|
|
246
|
-
* attached to the WindowClient. However, all other tab components displayed in this window will need to derive the WindowManager from the config, based on the
|
|
247
|
-
* tab's windowIdentifier.
|
|
248
|
-
*
|
|
249
|
-
* This is because the tab's windowIdentifier only has the name (ex: SomeApp-37ba6708-3a75-462e-b900-1812e338cbf1). The name is derived by removing the last 5 substrings
|
|
250
|
-
* separated by "-". This will fail in the face of a UUID format change.
|
|
251
|
-
*
|
|
252
|
-
* @returns the "Window Manager" component, or "undefined" if the "Window Manager" is not found
|
|
253
|
-
*/
|
|
254
|
-
async function _Title_getWindowManagerForTab() {
|
|
255
|
-
// On second thought, ALL tabs will derive the WindowManager the same way; at least if it is wrong, it is wrong consistently
|
|
256
|
-
//
|
|
257
|
-
// if (FEAGlobals.finsembleWindow.thisWindowName === this.props?.windowIdentifier?.windowName) {
|
|
258
|
-
// return FEAGlobals.FSBL.Clients.WindowClient.options?.customData?.foreign?.components?.["Window Manager"] || FEAGlobals.FSBL.Clients.WindowClient.options?.customData?.appConfig?.hostManifest?.Finsemble.foreign?.components?.["Window Manager"];
|
|
259
|
-
// } else {
|
|
260
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
261
|
-
// Check that "windowName" exists
|
|
262
|
-
if (!!((_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.windowIdentifier) === null || _b === void 0 ? void 0 : _b.windowName)) {
|
|
263
|
-
// Get the window name
|
|
264
|
-
const tabsWindowName = this.props.windowIdentifier.windowName;
|
|
265
|
-
// Get the active descriptors
|
|
266
|
-
const { data: activeDescriptors } = await FEAGlobals.FSBL.Clients.LauncherClient.getActiveDescriptors();
|
|
267
|
-
// Return the "Window Manager" for the window whose name matches THIS tab's name
|
|
268
|
-
return (_h = (_g = (_f = (_e = (_d = (_c = activeDescriptors === null || activeDescriptors === void 0 ? void 0 : activeDescriptors[tabsWindowName]) === null || _c === void 0 ? void 0 : _c.customData) === null || _d === void 0 ? void 0 : _d.appConfig) === null || _e === void 0 ? void 0 : _e.hostManifest) === null || _f === void 0 ? void 0 : _f.Finsemble.foreign) === null || _g === void 0 ? void 0 : _g.components) === null || _h === void 0 ? void 0 : _h["Window Manager"];
|
|
269
|
-
}
|
|
270
|
-
return undefined;
|
|
271
|
-
// }
|
|
272
|
-
}, _Title_calculateTabTitle =
|
|
273
|
-
/**
|
|
274
|
-
* Calculates a tab title. Uses the following algorithm until a non-null value is found.
|
|
275
|
-
* <ol>
|
|
276
|
-
* <li>user edited tab title</li>
|
|
277
|
-
* <li>the component config</li>
|
|
278
|
-
* <li>document.title</li>
|
|
279
|
-
* <li>appd config</li>
|
|
280
|
-
* </ol>
|
|
281
|
-
*
|
|
282
|
-
* @returns the calculated tab title
|
|
283
|
-
*/
|
|
284
|
-
async function _Title_calculateTabTitle() {
|
|
285
|
-
return ((await __classPrivateFieldGet(this, _Title_instances, "m", _Title_getUserEditedTitle).call(this)) ||
|
|
286
|
-
(await __classPrivateFieldGet(this, _Title_instances, "m", _Title_getConfigTitle).call(this)) ||
|
|
287
|
-
(await __classPrivateFieldGet(this, _Title_instances, "m", _Title_getDocumentTitle).call(this)) ||
|
|
288
|
-
__classPrivateFieldGet(this, _Title_instances, "m", _Title_getAppDTitle).call(this));
|
|
289
|
-
}, _Title_getUserEditedTitle =
|
|
290
|
-
/**
|
|
291
|
-
* Returns the name of the title supplied by a user; undefined if the user has not supplied a title.
|
|
292
|
-
*
|
|
293
|
-
* @returns The name of the title supplied by a user; undefined if the user has not supplied a title
|
|
294
|
-
*/
|
|
295
|
-
async function _Title_getUserEditedTitle() {
|
|
296
|
-
const { wrap: tabWindow } = await FEAGlobals.FSBL.FinsembleWindow.getInstance(this.props.windowIdentifier);
|
|
297
|
-
return new Promise((resolve) => {
|
|
298
|
-
tabWindow.getComponentState({ field: FIELD_NAME_PERSISTED_TITLE }, (error, persistedTitle) => {
|
|
299
|
-
if (!!error) {
|
|
300
|
-
// should always return value even if it hasn't been retrieved from the state
|
|
301
|
-
resolve(undefined);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
resolve(persistedTitle);
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
});
|
|
308
|
-
}, _Title_getConfigTitle =
|
|
309
|
-
/**
|
|
310
|
-
* Gets a title set in the component configuration.
|
|
311
|
-
*
|
|
312
|
-
* @returns any title set in the component configuration
|
|
313
|
-
*/
|
|
314
|
-
async function _Title_getConfigTitle() {
|
|
315
|
-
var _a;
|
|
316
|
-
const windowManager = await __classPrivateFieldGet(this, _Title_instances, "m", _Title_getWindowManagerForTab).call(this);
|
|
317
|
-
return ((_a = windowManager === null || windowManager === void 0 ? void 0 : windowManager.FSBLHeader) === null || _a === void 0 ? void 0 : _a.title) || (windowManager === null || windowManager === void 0 ? void 0 : windowManager.title);
|
|
318
|
-
}, _Title_getDocumentTitle =
|
|
319
|
-
/**
|
|
320
|
-
* Returns document.title.
|
|
321
|
-
*
|
|
322
|
-
* @returns the document.title (from the "tab name" store)
|
|
323
|
-
*/
|
|
324
|
-
async function _Title_getDocumentTitle() {
|
|
325
|
-
var _a, _b;
|
|
326
|
-
const store = await getWindowTabNameStore();
|
|
327
|
-
// If the store is unavailable, then the tab name cannot be updated
|
|
328
|
-
if (!store) {
|
|
329
|
-
// This is not critical, but tab titles may be stale
|
|
330
|
-
FEAGlobals.FSBL.Clients.Logger.warn("Error setting the tab title: the store was not found");
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
return ((_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.windowIdentifier) === null || _b === void 0 ? void 0 : _b.windowName)
|
|
334
|
-
? (await store.getGlobalValue(this.props.windowIdentifier.windowName)).data
|
|
335
|
-
: undefined;
|
|
336
|
-
}, _Title_getAppDTitle = function _Title_getAppDTitle() {
|
|
337
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
338
|
-
return (((_e = (_d = (_c = (_b = (_a = FEAGlobals.FSBL.Clients.WindowClient.options) === null || _a === void 0 ? void 0 : _a.customData) === null || _b === void 0 ? void 0 : _b.appConfig) === null || _c === void 0 ? void 0 : _c.hostsManifest) === null || _d === void 0 ? void 0 : _d.Finsemble.component) === null || _e === void 0 ? void 0 : _e.displayName) || ((_h = (_g = (_f = FEAGlobals.FSBL.Clients.WindowClient.options) === null || _f === void 0 ? void 0 : _f.customData) === null || _g === void 0 ? void 0 : _g.appConfig) === null || _h === void 0 ? void 0 : _h.name));
|
|
339
|
-
}, _Title_addListeners =
|
|
340
|
-
/**
|
|
341
|
-
* Adds the listener(s) required to set window and tab titles.
|
|
342
|
-
*/
|
|
343
|
-
async function _Title_addListeners() {
|
|
344
|
-
// Subscribe to the DistributedStoreClient (these messages originate from BaseWindow, when the
|
|
345
|
-
// DistributedStore has been updated).
|
|
346
|
-
//
|
|
347
|
-
// Each window will have n listeners, where n is the number of tabs held in the window.
|
|
348
|
-
// Get the store and add a listener
|
|
349
|
-
const store = await getWindowTabNameStore();
|
|
350
|
-
// If the store is unavailable, then the tab name cannot be updated
|
|
351
|
-
if (!store) {
|
|
352
|
-
// This is not critical, but tab titles may be stale
|
|
353
|
-
FEAGlobals.FSBL.Clients.Logger.warn("Error adding a tab title listener: the store was not found");
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
// Add a listener
|
|
357
|
-
store.addListener({ field: this.props.windowIdentifier.windowName }, this.tabTitleChangedStoreListener, () => {
|
|
358
|
-
FEAGlobals.FSBL.Clients.Logger.debug(`Added listener to store "${WINDOW_TAB_TITLE_STORE}" for field "${this.props.windowIdentifier.windowName}"`);
|
|
359
|
-
});
|
|
360
|
-
}, _Title_removeListeners =
|
|
361
|
-
/**
|
|
362
|
-
* Removes listener(s) required to set window and tab titles.
|
|
363
|
-
*/
|
|
364
|
-
async function _Title_removeListeners() {
|
|
365
|
-
// Unsubscribe from the window/tab store
|
|
366
|
-
const store = await getWindowTabNameStore();
|
|
367
|
-
// If the store is unavailable, then the tab name cannot be updated
|
|
368
|
-
if (!store) {
|
|
369
|
-
// This is not critical, but tab titles may be stale
|
|
370
|
-
FEAGlobals.FSBL.Clients.Logger.warn("Error removing a tab title listener: the store was not found");
|
|
371
|
-
return;
|
|
372
|
-
}
|
|
373
|
-
store.removeListener({ field: this.props.windowIdentifier.windowName }, this.tabTitleChangedStoreListener, (err) => {
|
|
374
|
-
if (!!err) {
|
|
375
|
-
// This is not critical; the listener could not be removed from the store - this may be a memory leak
|
|
376
|
-
FEAGlobals.FSBL.Clients.Logger.warn(`Could not remove listener from store "${WINDOW_TAB_TITLE_STORE}" for field "${this.props.windowIdentifier.windowName}"`, err);
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
FEAGlobals.FSBL.Clients.Logger.debug(`Removed listener to store "${WINDOW_TAB_TITLE_STORE}" for field "${this.props.windowIdentifier.windowName}"`);
|
|
380
|
-
});
|
|
381
|
-
};
|
|
382
|
-
//# sourceMappingURL=windowTitle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windowTitle.js","sourceRoot":"","sources":["../../../../../../src/ui/components/windowTitleBar/components/windowTitle.tsx"],"names":[],"mappings":";;;;;;AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AA8CxD,mEAAmE;AACnE,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AAClD,8CAA8C;AAC9C,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AAEpD,mCAAmC;AACnC,IAAI,kBAAuB,CAAC;AAE5B;;;;GAIG;AACH,MAAM,qBAAqB,GAAG,KAAK,IAAI,EAAE;IACxC,IAAI,CAAC,kBAAkB,EAAE;QACxB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,iBAAiB,CAAC;YAC5F,KAAK,EAAE,sBAAsB;SAC7B,CAAC,CAAC;QACH,kBAAkB,GAAG,KAAK,CAAC;KAC3B;IAED,mBAAmB;IACnB,OAAO,kBAAkB,CAAC;AAC3B,CAAC,CAAC;AAEF;;;GAGG;AACH,SAAS,OAAO,CAAC,KAAmB;IACnC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,KAAK,CAAC,QAAQ,CAA6B,SAAS,CAAC,CAAC;IAC9F,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAmB,IAAI,CAAC,CAAC;IAErD,MAAM,cAAc,GAAG,KAAK,EAAE,CAA6E,EAAE,EAAE;QAC9G,qF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C;AACH,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { WindowIdentifier } from "../../../../platform/services/window/types";
|
|
2
|
-
import { FinsembleWindow } from "../../../../common/FinsembleWindow";
|
|
3
|
-
import { StandardCallback, StoreModel } from "../../../../types";
|
|
4
|
-
declare type ParentParams = {
|
|
5
|
-
windowIdentifiers: WindowIdentifier[];
|
|
6
|
-
visibleWindowIdentifier: WindowIdentifier;
|
|
7
|
-
create: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare let windowTitleBarStore: StoreModel;
|
|
10
|
-
declare type ActionsType = {
|
|
11
|
-
parentWrapperStore: any;
|
|
12
|
-
parentSubscriptions: any[];
|
|
13
|
-
parentWrapper: FinsembleWindow | null;
|
|
14
|
-
initialize: () => void;
|
|
15
|
-
getMyDockingGroups: (groupData: any) => any[];
|
|
16
|
-
onTabListScrollPositionChanged: StandardCallback;
|
|
17
|
-
setTabListScrollPosition: (translateX: number) => void;
|
|
18
|
-
remoteStateUpdate: (command: string, state: any) => void;
|
|
19
|
-
clickMinimize: () => void;
|
|
20
|
-
clickClose: () => void;
|
|
21
|
-
toggleGroup: () => void;
|
|
22
|
-
clickMaximize: () => void;
|
|
23
|
-
getTabs: () => WindowIdentifier[];
|
|
24
|
-
_setTabs: (tabs: WindowIdentifier[] | null) => any;
|
|
25
|
-
addTabLocally: (windowIdentifier: WindowIdentifier, i: number) => void;
|
|
26
|
-
removeTabsLocally: () => void;
|
|
27
|
-
removeTabLocally: (windowIdentifier: WindowIdentifier) => void;
|
|
28
|
-
reorderTabLocally: (tab: WindowIdentifier, newIndex: number) => undefined | any;
|
|
29
|
-
addTab: (windowIdentifier: WindowIdentifier, i: number) => any;
|
|
30
|
-
removeTab: (windowIdentifier: WindowIdentifier, i: number) => any;
|
|
31
|
-
closeTab: (windowIdentifier: WindowIdentifier) => void;
|
|
32
|
-
reorderTab: (tab: WindowIdentifier, newIndex: number) => any;
|
|
33
|
-
findTab: (tab: WindowIdentifier) => {
|
|
34
|
-
tab: WindowIdentifier;
|
|
35
|
-
currentIndex: number;
|
|
36
|
-
};
|
|
37
|
-
setActiveTab: (windowIdentifier: WindowIdentifier) => Promise<any>;
|
|
38
|
-
onTabListChanged: StandardCallback;
|
|
39
|
-
stopListeningOnParentWrapper: (cb: Function) => void;
|
|
40
|
-
listenOnParentWrapper: () => void;
|
|
41
|
-
setupStore: (cb?: Function) => void;
|
|
42
|
-
getInitialTabList: (cb: StandardCallback) => void;
|
|
43
|
-
createParentWrapper: (params: ParentParams, cb?: Function) => void;
|
|
44
|
-
};
|
|
45
|
-
declare const Actions: ActionsType;
|
|
46
|
-
/**
|
|
47
|
-
* Initializes the store for the windowTitleBar.
|
|
48
|
-
*
|
|
49
|
-
* @param {any} cb
|
|
50
|
-
*/
|
|
51
|
-
declare function initialize(cb: Function): void;
|
|
52
|
-
declare let getStore: () => StoreModel;
|
|
53
|
-
declare class StoreManager {
|
|
54
|
-
initialized: boolean;
|
|
55
|
-
initializing: boolean;
|
|
56
|
-
store: StoreModel | null;
|
|
57
|
-
callbacks: Function[];
|
|
58
|
-
constructor();
|
|
59
|
-
initialize(): void;
|
|
60
|
-
addInitializedListener(cb: Function): any;
|
|
61
|
-
removeInitializedListener(cb: Function): void;
|
|
62
|
-
}
|
|
63
|
-
declare const storeManager: StoreManager;
|
|
64
|
-
export { storeManager };
|
|
65
|
-
export { initialize };
|
|
66
|
-
export { windowTitleBarStore as Store };
|
|
67
|
-
export { Actions };
|
|
68
|
-
export { getStore };
|
|
69
|
-
//# sourceMappingURL=windowTitleBarStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windowTitleBarStore.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/windowTitleBar/stores/windowTitleBarStore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OA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