@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,741 +0,0 @@
|
|
|
1
|
-
import DockableMonitor from "./dockableMonitor";
|
|
2
|
-
import DockableGroup from "./dockableGroup";
|
|
3
|
-
import DockableWindow from "./dockableWindow";
|
|
4
|
-
import { MonitorInfoDetail } from "../../../../FEA";
|
|
5
|
-
import { Monitors } from "../../../../common/Monitors";
|
|
6
|
-
import { SnappingRegions } from "./types";
|
|
7
|
-
import { DockingBounds, MoveRequest, SnapObject, ResizeObject, SnappedObject, BoundingBox, XYCoordinates } from "./types";
|
|
8
|
-
declare type Intersection = {
|
|
9
|
-
stationaryRegion: string;
|
|
10
|
-
movingRegion: any;
|
|
11
|
-
} | null;
|
|
12
|
-
export declare type GroupMode = {
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
behavior?: "explicit";
|
|
15
|
-
headerHeight?: number;
|
|
16
|
-
groupTileBuffer?: number;
|
|
17
|
-
allowSnappedWindowsToResize?: boolean;
|
|
18
|
-
fillHolesOnUndock?: boolean;
|
|
19
|
-
undockDisbandsEntireGroup?: boolean;
|
|
20
|
-
requireRectangularityForGroupResize?: boolean;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @returns
|
|
26
|
-
*/
|
|
27
|
-
declare abstract class DockingCalculator {
|
|
28
|
-
groupAction: {
|
|
29
|
-
name: null | string;
|
|
30
|
-
windows: boolean[];
|
|
31
|
-
};
|
|
32
|
-
monitorsInstance: Monitors;
|
|
33
|
-
groups: string[];
|
|
34
|
-
resizeObject: ResizeObject;
|
|
35
|
-
groupMode: GroupMode;
|
|
36
|
-
groupMask: DockableWindow | null;
|
|
37
|
-
moveRequest: MoveRequest | null;
|
|
38
|
-
movingWindow: DockableWindow | null;
|
|
39
|
-
bufferSize: number;
|
|
40
|
-
resizeEventThrottlePeriod: number;
|
|
41
|
-
moveCount: number;
|
|
42
|
-
intersection: any;
|
|
43
|
-
groupMaskQueue: any;
|
|
44
|
-
groupMaskExpectedState: string;
|
|
45
|
-
shiftKey: boolean;
|
|
46
|
-
movingGroup: DockableGroup | null;
|
|
47
|
-
groupMaskIsVisible: boolean;
|
|
48
|
-
movingAGroupOfWindows: boolean;
|
|
49
|
-
abstract onMoveComplete(movedWin: {
|
|
50
|
-
name: string;
|
|
51
|
-
monitor: DockableMonitor;
|
|
52
|
-
}, triggeredByAutoArrange: boolean): void;
|
|
53
|
-
MINIMUM_HEIGHT: number;
|
|
54
|
-
MINIMUM_WIDTH: number;
|
|
55
|
-
groupTileBuffer: number;
|
|
56
|
-
headerHeight: number;
|
|
57
|
-
enableWindowsAeroSnap: boolean;
|
|
58
|
-
claimSpace: boolean;
|
|
59
|
-
preventOverlapClaimSpace: boolean;
|
|
60
|
-
persistedOpacity: {};
|
|
61
|
-
constructor(monitorsInstance: Monitors);
|
|
62
|
-
updateGroupData(): void;
|
|
63
|
-
setBoundsErrorCB(err: any): void;
|
|
64
|
-
removeUserRequestFromGroup(userRequest: any): void;
|
|
65
|
-
/**
|
|
66
|
-
* 5/20/19 Joe: Previously group was not set sometimes. In the event that the maximize request comes
|
|
67
|
-
* into a window that is a group, this will throw an error.
|
|
68
|
-
*/
|
|
69
|
-
ensureMovingGroupIsSet(moveRequest: any): void;
|
|
70
|
-
ensureNotOffMonitor(movingWindow: DockableWindow): void;
|
|
71
|
-
/**
|
|
72
|
-
* Check if the window or group being dropped is overlapping a docked window (currently only the toolbar).
|
|
73
|
-
* If so, move it directly adjacent to the docked window.
|
|
74
|
-
* @param movingWindow
|
|
75
|
-
* @param dockedWindowPosition - "edge"
|
|
76
|
-
*/
|
|
77
|
-
ensureNotOverlappingDockedWindow(movingWindow: DockableWindow, dockedWindowPosition: {
|
|
78
|
-
monitorName: string;
|
|
79
|
-
edge: string;
|
|
80
|
-
}): Promise<{
|
|
81
|
-
top: number;
|
|
82
|
-
bottom: number;
|
|
83
|
-
left: number;
|
|
84
|
-
right: number;
|
|
85
|
-
width: number;
|
|
86
|
-
height: number;
|
|
87
|
-
name: string;
|
|
88
|
-
} | undefined>;
|
|
89
|
-
endMovingGroup(group: DockableGroup): void;
|
|
90
|
-
maybeMakeOrBreakGroups(systemMoved: boolean): void;
|
|
91
|
-
stopMovingGroup(group: DockableGroup): void;
|
|
92
|
-
maybeDockWindow(moveRequest: any, movingWindow: DockableWindow, monitor: DockableMonitor): void;
|
|
93
|
-
ensureNotInTwoGroups(win: DockableWindow, group: DockableGroup): void;
|
|
94
|
-
isDockableWindowMaximized(dockableWindow: DockableWindow): boolean;
|
|
95
|
-
groupContainsMaximizedWindows(group: DockableWindow[]): boolean;
|
|
96
|
-
/** **************************************
|
|
97
|
-
* Core Loop
|
|
98
|
-
* Docking works like this:
|
|
99
|
-
* A dockableWindow receives a `bounds-change-request` event from the window object that it wraps (e.g., an Electron window). Then the docking calculator gets to work.
|
|
100
|
-
* 1. `this.requestMove`.
|
|
101
|
-
* 2. `this.onMouseDown`.
|
|
102
|
-
* 3. `this.onMouseMove`.
|
|
103
|
-
*
|
|
104
|
-
* As the user moves her mouse around, steps 1 and 3 are executed.When she releases her mouse, the dockableWindow throws a `bounds-changed` event, which in turn calls `this.onMouseUp`.
|
|
105
|
-
* The general idea is that the user says "Hey, I'd like to move my window 10px to the right of this window. The calculator spins through, notices that the window that the user is moving is within a snapping buffer around the other window. So it responds, "You're too close to that window, sorry, but we're snapping you.". If the movingWindow isn't within the stationaryWindow's buffer, we give the window the all clear to proceed.
|
|
106
|
-
*************************************** */
|
|
107
|
-
/**
|
|
108
|
-
* This is the core controller of the program. It routes the window's moveRequest to the appropriate place, and it receives the modified bounds afterwards. It communicates the modified bounds to the window via the CB.
|
|
109
|
-
* @param {moveRequest} Request from the `dockableWindow`.
|
|
110
|
-
* @param {function} cb What to do after the window's new bounds have been calculated.
|
|
111
|
-
*/
|
|
112
|
-
requestMove(userRequest: any, cb?: (result: any) => void): Promise<any>;
|
|
113
|
-
/**
|
|
114
|
-
* Windows can be part of two groups - one that can move, and one that allows shared border resizing/group resizing. When N windows are snapped together but not explicitly grouped together, they form an "immobileGroup". A movable group is one that the user has explicitly formed. This function returns the appropriate group, given a moveRequest.
|
|
115
|
-
* @param {object} moveRequest moverequest.
|
|
116
|
-
*/
|
|
117
|
-
getMovingGroup(moveRequest: any): DockableGroup | null;
|
|
118
|
-
/**
|
|
119
|
-
* Loops through all DockableGroups and reconstitutes gaps. This is to clean up an issue where
|
|
120
|
-
* grouped windows containing a single pixel gap would break on mouse down as the system would
|
|
121
|
-
* no longer consider them snapped, and therefore would break and remove the group
|
|
122
|
-
*/
|
|
123
|
-
fixAllGroupGaps(): void;
|
|
124
|
-
/**
|
|
125
|
-
* Given a group, will clean up the gaps and reconstitute the groups
|
|
126
|
-
* @param {object} group An object containing groups, with groupName as key
|
|
127
|
-
*/
|
|
128
|
-
cleanupGroupGaps(group: any): void;
|
|
129
|
-
/**
|
|
130
|
-
* This function caches information in the resizeObject so that it doesn't need to be calculated onMouseMove.
|
|
131
|
-
*/
|
|
132
|
-
onMouseDown(moveRequest: any): void;
|
|
133
|
-
hideGroupMask(cb?: Function): void;
|
|
134
|
-
/**
|
|
135
|
-
* Transparency breaks often with group mask. So use this to show it.
|
|
136
|
-
*
|
|
137
|
-
* @param {any} bounds
|
|
138
|
-
* @param {number} [opacity=0.5]
|
|
139
|
-
* @param {any} [cb=Function.prototype]
|
|
140
|
-
* @memberof DockingCalculator
|
|
141
|
-
*/
|
|
142
|
-
showGroupMask(params: any, cb?: Function): any;
|
|
143
|
-
/**
|
|
144
|
-
* This function happens _after_ the calculations have been made. The request comes in, `this.requestMove` routes the request to the appropriate place, and modified bounds are passed into this function. It's a choke point for all docking-sanctioned window movement.
|
|
145
|
-
*/
|
|
146
|
-
onMouseMove(bounds: any, cb: any): void;
|
|
147
|
-
/**
|
|
148
|
-
* When the user lifts her mouse, this is fired. It cleans up opacity, shows windows if we were moving a group, and cleans up global variables.
|
|
149
|
-
*
|
|
150
|
-
* @param {} params - Optional. Possible parameters:
|
|
151
|
-
* systemMoved: If true, indicates the OS initiated the group move
|
|
152
|
-
* triggeredByAutoArrange: If true, indicate the move was initiated by auto-arrange
|
|
153
|
-
*/
|
|
154
|
-
onMouseUp(params?: any): Promise<void>;
|
|
155
|
-
static get NO_CHANGE(): number;
|
|
156
|
-
/** **************************************
|
|
157
|
-
* Calculators - Window Collections *
|
|
158
|
-
*************************************** */
|
|
159
|
-
formGroup(name: any, params: any): string[];
|
|
160
|
-
/**
|
|
161
|
-
* Spins through all of the windows that can group and creates groups based on window position.
|
|
162
|
-
*/
|
|
163
|
-
constituteGroups(): void;
|
|
164
|
-
/**
|
|
165
|
-
* Given a moveRequest, it returns an array of windowNames. The check essentially boils down to "is this window within my snapping buffer?"
|
|
166
|
-
* @param {moveRequest} moveRequest
|
|
167
|
-
*/
|
|
168
|
-
getSnappableWindows(moveRequest: any): string[];
|
|
169
|
-
/**
|
|
170
|
-
* Checks to see if the window is within the snapping region of any monitor.
|
|
171
|
-
*/
|
|
172
|
-
getSnappableMonitors(moveRequest: any): string[];
|
|
173
|
-
/**
|
|
174
|
-
* Returns an object that describes the edges and corners that are shared between two windows.
|
|
175
|
-
*/
|
|
176
|
-
getSnapObj(win1: DockableWindow, win2: DockableWindow): SnappedObject;
|
|
177
|
-
/**
|
|
178
|
-
* Snaps two windows..
|
|
179
|
-
*/
|
|
180
|
-
snapTwoWindows(win1: DockableWindow, win2: DockableWindow): void;
|
|
181
|
-
/**
|
|
182
|
-
* Wipes all relationships between windows and recalculates them.
|
|
183
|
-
*/
|
|
184
|
-
recalculateSnaps(): void;
|
|
185
|
-
/**
|
|
186
|
-
* Updates the snappedWindows array for window. The snappedWindow object contains: name, shared edges, shared corners, and whether the window canGroup.
|
|
187
|
-
* @param {dockableWindow} win
|
|
188
|
-
*/
|
|
189
|
-
buildSnapRelationships(win: any): void;
|
|
190
|
-
/**
|
|
191
|
-
* Returns any window with a vertex on a segment.
|
|
192
|
-
* @param {segment} segment A line segment. An array with 2 points in it (start and end).
|
|
193
|
-
* @return {type}
|
|
194
|
-
*/
|
|
195
|
-
getWindowBoxesOnSegment(segment: BoundingBox): SnapObject[];
|
|
196
|
-
windowsOnEdgeFromPool(win: DockableWindow, edge: string, includeCorners: boolean): {
|
|
197
|
-
name: string;
|
|
198
|
-
edge: string;
|
|
199
|
-
}[];
|
|
200
|
-
/**
|
|
201
|
-
* Similar to getWindowBoxesOnSegment but you can pass in a string instead of a line segment.
|
|
202
|
-
* @param {dockableWindow} win
|
|
203
|
-
* @param {string} edge E.g., 'left', 'right', etc.
|
|
204
|
-
* @return {array}
|
|
205
|
-
*/
|
|
206
|
-
getWindowsOnEdge(win: DockableWindow, edge: string, includeCorners?: boolean): {
|
|
207
|
-
name: string;
|
|
208
|
-
edge: string;
|
|
209
|
-
}[];
|
|
210
|
-
/**
|
|
211
|
-
* Returns a list of windows that straddle a given edge.
|
|
212
|
-
* +-----------+------------+
|
|
213
|
-
* | | |
|
|
214
|
-
* | | |
|
|
215
|
-
* | A | B |
|
|
216
|
-
* | | |
|
|
217
|
-
* +-----------+--+---------+
|
|
218
|
-
* | | |
|
|
219
|
-
* | C | D |
|
|
220
|
-
* | | |
|
|
221
|
-
* +--------------+---------+
|
|
222
|
-
*
|
|
223
|
-
* In the drawing above, B straddles the left edge of D and the right Edge of C.
|
|
224
|
-
* @param {dockableWindow} win
|
|
225
|
-
* @param {string} edge E.g., 'left', 'right', etc.
|
|
226
|
-
*/
|
|
227
|
-
getStraddlers(win: any): {
|
|
228
|
-
name: string;
|
|
229
|
-
edge: string;
|
|
230
|
-
}[];
|
|
231
|
-
/**
|
|
232
|
-
* Given an X, Y point, it returns a list of windows with that point on their boundingBox.
|
|
233
|
-
* @param {object} point
|
|
234
|
-
* @return {array}
|
|
235
|
-
*/
|
|
236
|
-
getWindowsAtPoint(point: XYCoordinates): string[];
|
|
237
|
-
/**
|
|
238
|
-
* Just a helper to say whether a window has an edge on the edge of the group.
|
|
239
|
-
* @param {dockableWindow} win
|
|
240
|
-
* @param {dockableGroup} group
|
|
241
|
-
*/
|
|
242
|
-
windowIsOnExteriorEdgeOfGroup(win: any, group: any): boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Lets the program know that shift is being held down. This is used when moving a window that's explicitly grouped (if assimilation is turned on). In that case, the window moves out of the group.
|
|
245
|
-
*/
|
|
246
|
-
setShift(bool: boolean): void;
|
|
247
|
-
/**
|
|
248
|
-
* Returns an ordered Object. Sorts by Top, then Left.
|
|
249
|
-
* @return {Object} Object where the keys are names of the window.
|
|
250
|
-
*/
|
|
251
|
-
orderWindows(windowList: any, anchor: any): DockableWindow[];
|
|
252
|
-
/** **************************************
|
|
253
|
-
* Getters/Setters *
|
|
254
|
-
*************************************** */
|
|
255
|
-
/**
|
|
256
|
-
* Registers the window with the calculator
|
|
257
|
-
* @param {string} name
|
|
258
|
-
* @param {dockableWindow} val
|
|
259
|
-
*/
|
|
260
|
-
addWindowInternal(name: string, val: DockableWindow): void;
|
|
261
|
-
/**
|
|
262
|
-
* Virtually unsnaps a window from all other windows. This doesn't affect physical positioning. Only the relationships that Docking is a aware of.
|
|
263
|
-
*/
|
|
264
|
-
wipeSnapRelationships(name: any): void;
|
|
265
|
-
/**
|
|
266
|
-
* Removes a window from all groups.
|
|
267
|
-
*/
|
|
268
|
-
removeWindowFromAllGroups(win: any, deleteGroupsWithOneWindow?: boolean): void;
|
|
269
|
-
/**
|
|
270
|
-
* Unregisters the window.
|
|
271
|
-
* @param {string} name
|
|
272
|
-
*/
|
|
273
|
-
removeWindowInternal(name: string, removeListeners?: boolean): void;
|
|
274
|
-
/**
|
|
275
|
-
* Returns an array of window names.
|
|
276
|
-
*/
|
|
277
|
-
getWindowNames(): string[];
|
|
278
|
-
/**
|
|
279
|
-
* @return {dockingPool}
|
|
280
|
-
*/
|
|
281
|
-
getWindows(): Record<string, DockableWindow>;
|
|
282
|
-
getUnignoredWindows(): DockableWindow[];
|
|
283
|
-
/**
|
|
284
|
-
* Gets a window object by name.
|
|
285
|
-
* @param {type} name
|
|
286
|
-
* @param {type} throwError Usually we want to throw the error, but sometimes we use this function to filter (e.g., autoarrange).
|
|
287
|
-
* @return {type}
|
|
288
|
-
*/
|
|
289
|
-
getWindow(name: string, throwError?: boolean): DockableWindow;
|
|
290
|
-
/**
|
|
291
|
-
* returns the monitor that the window is on. If the left edge of the window is on two or more monitors, we calculate the monitor that houses the majority of the window.
|
|
292
|
-
* @param {string} windowName
|
|
293
|
-
*/
|
|
294
|
-
getMonitorForWindow(win: any): DockableMonitor;
|
|
295
|
-
/**
|
|
296
|
-
* Returns a monitor object.
|
|
297
|
-
* @param {string} name name of monitor.
|
|
298
|
-
*/
|
|
299
|
-
getMonitor(name: string): DockableMonitor;
|
|
300
|
-
/**
|
|
301
|
-
* Unregisters a monitor with the calculator.
|
|
302
|
-
* @param {type} name
|
|
303
|
-
* @return {type}
|
|
304
|
-
*/
|
|
305
|
-
removeMonitor(name: string): void;
|
|
306
|
-
/**
|
|
307
|
-
* @return {MonitorPoolSingleton}
|
|
308
|
-
*/
|
|
309
|
-
getMonitors(): Record<string, DockableMonitor>;
|
|
310
|
-
/**
|
|
311
|
-
* Returns a list of 'rawMonitors' from the container. These are only available when they are actually passed into the DockableMonitor when its instantiated.
|
|
312
|
-
*/
|
|
313
|
-
getRawMonitors(): MonitorInfoDetail[];
|
|
314
|
-
/**
|
|
315
|
-
* Returns the monitors in an array
|
|
316
|
-
*/
|
|
317
|
-
getMonitorArray(): DockableMonitor[];
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
removeAllMonitors(): void;
|
|
322
|
-
/**
|
|
323
|
-
* Sets the resize throttle period. This allows the system to drop events that occur too quickly.
|
|
324
|
-
*/
|
|
325
|
-
setResizeThrottlePeriod(throttlePeriod: number): void;
|
|
326
|
-
/**
|
|
327
|
-
* Sets the opacity that windows take when entering another window's snapping region.
|
|
328
|
-
*/
|
|
329
|
-
setSnappingOpacity(opacity: number): void;
|
|
330
|
-
/**
|
|
331
|
-
* At one point we weren't sure if we were going to allow groups to snap because of bugs. This is vestigial and should be removed at some point.
|
|
332
|
-
*/
|
|
333
|
-
setAllowGroupsToSnap(bool: any): void;
|
|
334
|
-
/**
|
|
335
|
-
* Sets the size of the region around windows that will trigger a snap.
|
|
336
|
-
*/
|
|
337
|
-
setBufferSize(buffer: any): void;
|
|
338
|
-
/**
|
|
339
|
-
* Will prevent a window from being added to groups.
|
|
340
|
-
*/
|
|
341
|
-
addToGroupBlacklist(windowName: any): void;
|
|
342
|
-
/**
|
|
343
|
-
* Will allow a window previously blacklisted to be included in group operations.
|
|
344
|
-
*/
|
|
345
|
-
removeFromGroupBlacklist(windowName: string): void;
|
|
346
|
-
/**
|
|
347
|
-
* Adds a group to the calculator.
|
|
348
|
-
* @param {type} group
|
|
349
|
-
*/
|
|
350
|
-
addGroup(group: DockableGroup): void;
|
|
351
|
-
/**
|
|
352
|
-
* Removes a group from the calculator.
|
|
353
|
-
* @param {type} groupName
|
|
354
|
-
* @param {Boolean} willReform Whether the group is going to be reformed. This will
|
|
355
|
-
* tell removeWindowFromGroup if it should modify window taskbar icon visibility.
|
|
356
|
-
*/
|
|
357
|
-
removeGroup(groupName: string, willReform?: boolean): void;
|
|
358
|
-
/**
|
|
359
|
-
* Returns a list of groups that are capable of moving together.
|
|
360
|
-
*/
|
|
361
|
-
getMovableGroups(): Record<string, DockableGroup>;
|
|
362
|
-
/**
|
|
363
|
-
* Returns the group Pool
|
|
364
|
-
* @return {type}
|
|
365
|
-
*/
|
|
366
|
-
getGroups(): Record<string, DockableGroup>;
|
|
367
|
-
/**
|
|
368
|
-
* Gets a group by name.
|
|
369
|
-
* @param {type} name
|
|
370
|
-
* @return {type}
|
|
371
|
-
*/
|
|
372
|
-
getGroup(name: string): DockableGroup;
|
|
373
|
-
/**
|
|
374
|
-
* Gets an array of group names.
|
|
375
|
-
* @return {type}
|
|
376
|
-
*/
|
|
377
|
-
getGroupNames(): string[];
|
|
378
|
-
/**
|
|
379
|
-
* Imagine 3 windows snapped horizontally. All are grouped ([A][B][C]). You ungroup B. This function will remove A and C. It iterates through all of the windows in the group and makes sure it's still attached to the group.
|
|
380
|
-
*/
|
|
381
|
-
checkGroupMembership(win: any): void;
|
|
382
|
-
/**
|
|
383
|
-
* Removes a window from a group. When tiling, we do not delete groups with only one window. We could be doing an operation on a group with two windows, and we want to retain group membership so that hole-filling works appropriately.
|
|
384
|
-
*/
|
|
385
|
-
removeWindowFromGroup(windowName: string, groupName: string, deleteGroupsWithOneWindow?: boolean, updateAOT?: boolean): void;
|
|
386
|
-
/**
|
|
387
|
-
* Single entry point for changing the taskbar icon's visibility.
|
|
388
|
-
* At present, taskbar icon status is only changed when a window leaves or joins a movable group.
|
|
389
|
-
*/
|
|
390
|
-
setTaskbarIconVisiblityForWindow(params: any): void;
|
|
391
|
-
/**
|
|
392
|
-
* Groups n-Windows.
|
|
393
|
-
*
|
|
394
|
-
* @param {any} params
|
|
395
|
-
* @param {any} cb
|
|
396
|
-
*/
|
|
397
|
-
groupWindows(params: any, cb?: any): void;
|
|
398
|
-
/**
|
|
399
|
-
* Given a group, this method will make sure only one window (the top right window) has a visible taskbar icon.
|
|
400
|
-
* This method is called whenever a window is added to or removed from a group.
|
|
401
|
-
* @param {DockableGroup} group
|
|
402
|
-
*/
|
|
403
|
-
setTaskbarIconForGroup(group: DockableGroup): void;
|
|
404
|
-
/**
|
|
405
|
-
* @param {type} groupName
|
|
406
|
-
* @param {dockableWindow} win
|
|
407
|
-
*/
|
|
408
|
-
addWindowToGroup(params: {
|
|
409
|
-
groupName: string;
|
|
410
|
-
win: DockableWindow;
|
|
411
|
-
ungroupedAlwaysOnTopState?: Record<string, boolean>;
|
|
412
|
-
isMovable?: boolean;
|
|
413
|
-
isAlwaysOnTop?: boolean;
|
|
414
|
-
handleIcons?: boolean;
|
|
415
|
-
}, cb?: any): DockableGroup | undefined;
|
|
416
|
-
/**
|
|
417
|
-
* Checks if windows in a group are on monitor. If not move the group on monitor so at least one window in the group
|
|
418
|
-
* is fully on monitor.
|
|
419
|
-
* Currently this is used on spawn to handle monitor changes when Finsemble wasn't running or a different workspace was loaded.
|
|
420
|
-
* @param {*} name
|
|
421
|
-
*/
|
|
422
|
-
checkAndFixGroupPosition(name: string): Promise<void>;
|
|
423
|
-
/**
|
|
424
|
-
* Vestigial function; used to pop a window out of a group. Can likely be removed in the future.
|
|
425
|
-
*/
|
|
426
|
-
ejectWindow(name: string): void;
|
|
427
|
-
/**
|
|
428
|
-
* @return {boolean}
|
|
429
|
-
*/
|
|
430
|
-
getGroupMode(): GroupMode;
|
|
431
|
-
/**
|
|
432
|
-
* @param {object} groupMade
|
|
433
|
-
* @param {boolean} groupMade.enabled Whether group mode is enabled.
|
|
434
|
-
* @param {number} groupMode.headerHeight How large the header is in windows. This shouldn't be in this config. So bad.
|
|
435
|
-
* @param {number} groupMode.groupTileBuffer How large the buffer is on the edge of a group to trigger a group-tile operation.
|
|
436
|
-
* @param {boolean} groupMode.allowSnappedWindowsToResize Whether snapped windows will resize as a group.
|
|
437
|
-
* @param {boolean} groupMode.fillHolesOnUndock Whether leaving a group triggers a hole-filling operation
|
|
438
|
-
* @param {boolean} groupMode.undockDisbandsEntireGroup Whether clicking the undock button on one window will disband the entire group.
|
|
439
|
-
* @param {boolean} groupMode.requireRectangularityForGroupResize Whether a group must be a rectangle to scale the individual windows as a unit.
|
|
440
|
-
*/
|
|
441
|
-
setGroupMode(groupMode: GroupMode): void;
|
|
442
|
-
/**
|
|
443
|
-
* Adds useful properties to a raw request.
|
|
444
|
-
* @param {moveRequest} req
|
|
445
|
-
* @return {moveRequest}
|
|
446
|
-
*/
|
|
447
|
-
setMoveRequest(req: any, win?: any): any;
|
|
448
|
-
/**
|
|
449
|
-
* @param {dockableWindow} win
|
|
450
|
-
*/
|
|
451
|
-
setStationaryWindow(win: any): void;
|
|
452
|
-
/**
|
|
453
|
-
* @param {dockableWindow} win
|
|
454
|
-
*/
|
|
455
|
-
setMovingWindow(win: any): void;
|
|
456
|
-
/**
|
|
457
|
-
* Convenience function I used for like 2 minutes.
|
|
458
|
-
* @param {dockableWindow} stationary
|
|
459
|
-
* @param {dockableWindow} moving
|
|
460
|
-
*/
|
|
461
|
-
setWindows(stationary: any, moving: any): void;
|
|
462
|
-
/** **************************************************
|
|
463
|
-
* *
|
|
464
|
-
* Calculators - Multiple Positions/Sizes *
|
|
465
|
-
* *
|
|
466
|
-
*************************************************** */
|
|
467
|
-
/**
|
|
468
|
-
* when a non-docking movement is made, we don't grab the bounds changing events.
|
|
469
|
-
* So this updates everything. Example: auto-arrange.
|
|
470
|
-
*/
|
|
471
|
-
updateWindowPositions(): void;
|
|
472
|
-
/**
|
|
473
|
-
* Returns the movableGroup for a window.
|
|
474
|
-
*/
|
|
475
|
-
getMovableGroup(windowName: string): DockableGroup | null;
|
|
476
|
-
/**
|
|
477
|
-
* Returns the immobile group for a window. This is one where it is snapped to other windows, but not explicitly grouped by the user.
|
|
478
|
-
*/
|
|
479
|
-
getImmobileGroup(windowName: string): DockableGroup | null;
|
|
480
|
-
/**
|
|
481
|
-
* Basically just code flow controller. Figures out whether the move will affect just a couple, a single window, or all windows in the group.
|
|
482
|
-
* @param {moveRequest} moveRequest
|
|
483
|
-
* @param {function} cb
|
|
484
|
-
*/
|
|
485
|
-
handleGroup(moveRequest: any, cb: any): void;
|
|
486
|
-
/**
|
|
487
|
-
* Kills any gaps that may have happened after scaling a group proportionately.
|
|
488
|
-
*/
|
|
489
|
-
eliminateGaps(): void;
|
|
490
|
-
/**
|
|
491
|
-
* Helper function for snapWindow
|
|
492
|
-
*/
|
|
493
|
-
getIntersection({ request, stationaryWindow, region, stationaryBoundingBoxes, movingBoundingBoxes, }: {
|
|
494
|
-
request: any;
|
|
495
|
-
stationaryWindow: DockableWindow;
|
|
496
|
-
region: string;
|
|
497
|
-
stationaryBoundingBoxes: SnappingRegions;
|
|
498
|
-
movingBoundingBoxes: any;
|
|
499
|
-
}): Intersection;
|
|
500
|
-
/**
|
|
501
|
-
* Helper function for snapWindow
|
|
502
|
-
*/
|
|
503
|
-
processIntersection(request: any, stationaryWindow: DockableWindow, intersection: any): {
|
|
504
|
-
updatedRequest: any;
|
|
505
|
-
match: boolean;
|
|
506
|
-
};
|
|
507
|
-
/** **************************************************
|
|
508
|
-
* *
|
|
509
|
-
* Calculators - Individual Window Position/Size *
|
|
510
|
-
* *
|
|
511
|
-
*************************************************** */
|
|
512
|
-
/**
|
|
513
|
-
* Returns a modified moveRequest. If the code gets here, it's because the moving window was inside of the stationary window's buffer, and a snap needed to occur.
|
|
514
|
-
* @param {moveRequest} request
|
|
515
|
-
* @return {moveRequest}
|
|
516
|
-
*/
|
|
517
|
-
snapWindow(request: any): any;
|
|
518
|
-
/**
|
|
519
|
-
* When moving a window, we don't want to add it to a group until all the calculations are complete. If two windows snap, this function is called. It figures out which group that the windows should form. Note: It always forms an immobile group (one that allows shared-border resizing). This is because a snap is not an explicit group.
|
|
520
|
-
*/
|
|
521
|
-
getDeferredGroupAction(stationaryWin: any, movingWin: any): {
|
|
522
|
-
name: string | null;
|
|
523
|
-
windows: boolean[];
|
|
524
|
-
};
|
|
525
|
-
/**
|
|
526
|
-
* Calculates resize bounds.
|
|
527
|
-
* @param {object} params
|
|
528
|
-
* @return {moveRequest}
|
|
529
|
-
*/
|
|
530
|
-
adjustSize(params: any): any;
|
|
531
|
-
/**
|
|
532
|
-
* Checks to see if a window has gotten too narrow, or too short.
|
|
533
|
-
*/
|
|
534
|
-
checkShortCircuitsWithEdge(request: any, edge: any): any;
|
|
535
|
-
/**
|
|
536
|
-
* Checks to see if a request is allowed. Are you trying to make my window -20px? or 10px? Get out of here.
|
|
537
|
-
*/
|
|
538
|
-
checkShortCircuits(request: any, win?: any): any;
|
|
539
|
-
/**
|
|
540
|
-
* Use when a window is moving and needs to be snapped. Width/Height aren't modified like in `this.adjustSize`.
|
|
541
|
-
* @param {type} params
|
|
542
|
-
* @return {type}
|
|
543
|
-
*/
|
|
544
|
-
getNewCoordinates(params: any): any;
|
|
545
|
-
/**
|
|
546
|
-
* Helper to return an object that says which edges are moving.
|
|
547
|
-
* @function this.getMovingEdgesFromResizeHandle
|
|
548
|
-
* @param {type} handle
|
|
549
|
-
* @return {type}
|
|
550
|
-
*/
|
|
551
|
-
getMovingEdgesFromResizeHandle(handle: any): {
|
|
552
|
-
top: boolean;
|
|
553
|
-
right: boolean;
|
|
554
|
-
left: boolean;
|
|
555
|
-
bottom: boolean;
|
|
556
|
-
};
|
|
557
|
-
/**
|
|
558
|
-
* Bounds are calculated in maskBoundsCalculator.js
|
|
559
|
-
*/
|
|
560
|
-
moveGroupMask(): void;
|
|
561
|
-
/**
|
|
562
|
-
* NOT CURRENTLY USED.
|
|
563
|
-
* Will be like `onMouseMove`, but for groups. Goal is to only move all grouped windows `onMouseUp`. In the interim, just move the mask around. Right now I move every window on every resizeEvent
|
|
564
|
-
*/
|
|
565
|
-
_moveGroupMaskOld(): void;
|
|
566
|
-
/**
|
|
567
|
-
* This returns an object with all of the bounds of all of the windows in a given group. This should be moved in to the dockableGroup.
|
|
568
|
-
*/
|
|
569
|
-
getBoundsOfGroupWindows(group: any): {};
|
|
570
|
-
/**
|
|
571
|
-
* For a group, it will iterate through its windows and set bounds on each of them.
|
|
572
|
-
*/
|
|
573
|
-
setBoundsOfGroupWindows(group: DockableGroup, windowBounds: any, stopMove?: boolean): void;
|
|
574
|
-
/**
|
|
575
|
-
* Exports an array of bounds for the windows that are currently being managed by docking. This makes it easy to generate oddball test cases.
|
|
576
|
-
*/
|
|
577
|
-
export(): string;
|
|
578
|
-
/**
|
|
579
|
-
* Cleans up shared edges of windows in a group
|
|
580
|
-
* @param {*} group The group to operate on
|
|
581
|
-
* @param {*} windowBounds An object containing bounds key'ed by window name
|
|
582
|
-
* @param {*} triggeredByAutoArrange Wether or not this cleanup was trigger by auto arrange (if true will fire stopMove())
|
|
583
|
-
*/
|
|
584
|
-
cleanupSharedEdges(group: DockableGroup, windowBounds: any, triggeredByAutoArrange?: boolean): any;
|
|
585
|
-
/**
|
|
586
|
-
* Run after everything, it removes any gaps that might have occurred (e.g., from fractional pixels, rounding, etc). It needs better inline documentation.
|
|
587
|
-
*/
|
|
588
|
-
cleanupGaps(group: DockableGroup, windowBounds: any): any;
|
|
589
|
-
shouldShortCircuit(request: any): {
|
|
590
|
-
width: boolean;
|
|
591
|
-
height: boolean;
|
|
592
|
-
};
|
|
593
|
-
private recurse;
|
|
594
|
-
private recurseCorner;
|
|
595
|
-
private maybeSnapToOtherWindows;
|
|
596
|
-
private moveInteriorWindows;
|
|
597
|
-
/**
|
|
598
|
-
* Resizes a window or group of windows on the interior of a group
|
|
599
|
-
* @param {moveRequest} moveRequest
|
|
600
|
-
*/
|
|
601
|
-
resizeInteriorWindow(moveRequest: any): void;
|
|
602
|
-
/**
|
|
603
|
-
* function for debugging a 3x3 grid.
|
|
604
|
-
*/
|
|
605
|
-
logger(): void;
|
|
606
|
-
/**
|
|
607
|
-
* Helper to determine whether a moveRequest will affect a window, the group, or just a local collection of windows that are snapped to the movingWindow.
|
|
608
|
-
*/
|
|
609
|
-
shouldScaleGroup(moveRequest: MoveRequest): boolean;
|
|
610
|
-
/**
|
|
611
|
-
* Helper to determine whether a moveRequest will affect a window, the group, or just a local collection of windows that are snapped to the movingWindow.
|
|
612
|
-
*/
|
|
613
|
-
shouldMoveAffectGroup(moveRequest: MoveRequest): boolean;
|
|
614
|
-
/**
|
|
615
|
-
* Should use this. Computes the difference between two boundsObjects.
|
|
616
|
-
* @param {moveRequest} newBounds
|
|
617
|
-
* @param {moveRequest} old
|
|
618
|
-
*/
|
|
619
|
-
getBoundsDelta(newBounds: any, old: any): DockingBounds;
|
|
620
|
-
/**
|
|
621
|
-
* Will move a group of windows.
|
|
622
|
-
* @param {moveRequest} moveRequest
|
|
623
|
-
* @param {function} cb
|
|
624
|
-
*/
|
|
625
|
-
handleGroupMove(moveRequest: any, cb: any): void;
|
|
626
|
-
/**
|
|
627
|
-
* Calculates the % change that a moveRequest inflicts on a group of windows.
|
|
628
|
-
* @param {moveRequest} moveRequest
|
|
629
|
-
* @return {type}
|
|
630
|
-
*/
|
|
631
|
-
getGroupDelta(groupName: string, moveRequest: any): {
|
|
632
|
-
height: number;
|
|
633
|
-
width: number;
|
|
634
|
-
};
|
|
635
|
-
/**
|
|
636
|
-
* Creates the resizeObject. Put anything here that should be cached onMouseDown. Will be cleared onMouseUp.
|
|
637
|
-
* @param {moveRequest} moveRequest
|
|
638
|
-
* @return {resizeObject}
|
|
639
|
-
*/
|
|
640
|
-
constructResizeObject(moveRequest: any): ResizeObject;
|
|
641
|
-
/**
|
|
642
|
-
* If a corner of a window is on the edge of the group, but it's not an actual corner, we need to treat that as an edge resize. See inline documentation for more. This is basically correcting errant resize-handles.
|
|
643
|
-
* Note: this behavior is locked behind `requireRectangularityForGroupResize`. Without that flag turned on, there's no need to change the resize handle.
|
|
644
|
-
*/
|
|
645
|
-
correctResizeObject(win: any, resizeObject: ResizeObject): ResizeObject;
|
|
646
|
-
/**
|
|
647
|
-
* Resizes a window based on some delta.
|
|
648
|
-
* @param {dockableWindow} win
|
|
649
|
-
* @param {Object} delta Object with a width/height change.
|
|
650
|
-
* @return {type}
|
|
651
|
-
*/
|
|
652
|
-
resizeByDelta(win: any, delta: any): any;
|
|
653
|
-
getMovingDirection(bounds: any, win: any): string;
|
|
654
|
-
/**
|
|
655
|
-
* Does the dirty work of actually moving windows.
|
|
656
|
-
* @param {moveRequest} bounds
|
|
657
|
-
* @param {function} callback
|
|
658
|
-
*/
|
|
659
|
-
moveWindow(bounds: any, callback?: any): void;
|
|
660
|
-
private checkMoveDockedCommponent;
|
|
661
|
-
/**
|
|
662
|
-
* Checks to see whether a window can be snapped to other windows/monitors.
|
|
663
|
-
* @param {moveRequest} bounds
|
|
664
|
-
* @param {function} callback
|
|
665
|
-
*/
|
|
666
|
-
checkBuffers(moveRequest: any, cb: (modifiedRequest: any) => void): void;
|
|
667
|
-
/**
|
|
668
|
-
* Spins through windows and fixes opacity. For onMouseMove, we skip any windows that could be snapped to the movingWindow. onMouseUp, everything gets hit.
|
|
669
|
-
* @param {object} params
|
|
670
|
-
* @param {object} params.checkForSnappability
|
|
671
|
-
*/
|
|
672
|
-
fixWindowOpacity(params: any): void;
|
|
673
|
-
private saveWindowsOpacity;
|
|
674
|
-
private restoreWindowsOpacity;
|
|
675
|
-
/**
|
|
676
|
-
* Happens when config is loaded from the configClient.
|
|
677
|
-
*/
|
|
678
|
-
setGlobalMinimums(serviceConfig: any): void;
|
|
679
|
-
/** **************************************
|
|
680
|
-
* Calculators - general *
|
|
681
|
-
*************************************** */
|
|
682
|
-
/**
|
|
683
|
-
* Given an object, will set boundingboxes on it. If it's a dockableWindow, it'll let the window set itself up.
|
|
684
|
-
* @param {dockableWindow} win
|
|
685
|
-
* @return {type}
|
|
686
|
-
*/
|
|
687
|
-
setBoundingBoxes(win: any): any;
|
|
688
|
-
/**
|
|
689
|
-
* Returns the difference between the movingWindow's location and the requested movement.
|
|
690
|
-
* @param {moveRequest} moveRequest
|
|
691
|
-
* @return {type}
|
|
692
|
-
*/
|
|
693
|
-
getMoveDelta(moveRequest: any, oldBounds?: any): {
|
|
694
|
-
x: number;
|
|
695
|
-
y: number;
|
|
696
|
-
};
|
|
697
|
-
/**
|
|
698
|
-
* Returns the inner bounds. We use this to give the windows some internal stickiness.
|
|
699
|
-
* @param {type} bounds
|
|
700
|
-
* @return {object}
|
|
701
|
-
*/
|
|
702
|
-
getInnerBoundingBox(bounds: any): {
|
|
703
|
-
min: {
|
|
704
|
-
x: any;
|
|
705
|
-
y: any;
|
|
706
|
-
};
|
|
707
|
-
max: {
|
|
708
|
-
x: number;
|
|
709
|
-
y: number;
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
/**
|
|
713
|
-
* Gets the snapping buffer of a request.
|
|
714
|
-
* @param {type} request
|
|
715
|
-
* @return {type}
|
|
716
|
-
*/
|
|
717
|
-
getBuffer(request: any): {
|
|
718
|
-
min: {
|
|
719
|
-
x: number;
|
|
720
|
-
y: number;
|
|
721
|
-
};
|
|
722
|
-
max: {
|
|
723
|
-
x: any;
|
|
724
|
-
y: any;
|
|
725
|
-
};
|
|
726
|
-
};
|
|
727
|
-
/**
|
|
728
|
-
* Given a request, a window, and a region, it'll tell you whether they intersect. We use this to figure out which corner/edge to snap to.
|
|
729
|
-
* @param {moveRequest} moveRequest
|
|
730
|
-
* @param {dockableWindow} stationaryWindow
|
|
731
|
-
* @param {string} stationaryRegion
|
|
732
|
-
* @return {object}
|
|
733
|
-
*/
|
|
734
|
-
getIntersections(moveRequest: any, stationaryWindow: any, stationaryRegion: any): string[];
|
|
735
|
-
/** **************************************
|
|
736
|
-
* Iterators *
|
|
737
|
-
*************************************** */
|
|
738
|
-
groupWindowIterator(group: DockableGroup, orderAnchor?: DockableWindow | null): Generator<DockableWindow, void, unknown>;
|
|
739
|
-
}
|
|
740
|
-
export default DockingCalculator;
|
|
741
|
-
//# sourceMappingURL=dockingCalculator.d.ts.map
|