@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
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The useInjectedTitleBar hook is responsible for DOM manipulation of web content in windows where the Finsemble
|
|
3
|
+
* WindowTitleBar has been injected (as opposed to living in an encapsulating parent TitleBarWindow). This hook
|
|
4
|
+
* executes only once, to adjust any fixed content downward to make room for the title bar. It also enables a
|
|
5
|
+
* mutation observer that monitors the entire document.body for newly added nodes with "fixed" position, adjusting
|
|
6
|
+
* their vertical position accordingly when they are discovered.
|
|
7
|
+
*/
|
|
8
|
+
import { useEffect, useState } from "react";
|
|
9
|
+
import { FEAGlobals } from "../../common/Globals";
|
|
10
|
+
// Values for possible zero
|
|
11
|
+
const possibleZeros = ["0", "0px", 0];
|
|
12
|
+
/** Utility function to retrieve all readable CSS rules, which are used to refine
|
|
13
|
+
* content height adjustments.
|
|
14
|
+
*/
|
|
15
|
+
const getCSSRules = () => {
|
|
16
|
+
let temp = [];
|
|
17
|
+
// eslint-disable-next-line sonarjs/no-empty-collection
|
|
18
|
+
return temp.concat(...Array.from(document.styleSheets).map((s) => {
|
|
19
|
+
try {
|
|
20
|
+
return [...(s.cssRules || [])];
|
|
21
|
+
}
|
|
22
|
+
catch (e) {
|
|
23
|
+
console.debug("ignoring a cross-domain CSS rule we can't read");
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
/** Utility function that filters a set of CSS rules to those that match
|
|
29
|
+
* a specific element. */
|
|
30
|
+
const getMatchedRules = (el, rules) => rules.filter((r) => el.matches(r.selectorText));
|
|
31
|
+
/** Utility function that determines if an element has a height set via CSS
|
|
32
|
+
* as we do not want to apply adjustments to elements that grow with their
|
|
33
|
+
* content
|
|
34
|
+
*/
|
|
35
|
+
const getCSSHeight = (el, allRules) => {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
if ((_a = el === null || el === void 0 ? void 0 : el.style) === null || _a === void 0 ? void 0 : _a.height)
|
|
38
|
+
return el.style.height;
|
|
39
|
+
let matchedRules = getMatchedRules(el, allRules);
|
|
40
|
+
for (const x of matchedRules) {
|
|
41
|
+
if ((_b = x.style) === null || _b === void 0 ? void 0 : _b.height)
|
|
42
|
+
return x.style.height;
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Used in bumpFixedElements and bumpAbsoluteElements
|
|
48
|
+
* Calculates value to bump element by. If 'all' return top style plus the header height, if '0Positioned' return just header height
|
|
49
|
+
* @param type Whether all elements are being bumped by the header height and their top style or just header height
|
|
50
|
+
* @param topStyle Element top value
|
|
51
|
+
* @param bumpBy Value to bump element by
|
|
52
|
+
* @returns Top style for element
|
|
53
|
+
*/
|
|
54
|
+
const calculateBumpValue = (type, topStyle, bumpBy) => {
|
|
55
|
+
let topVal = topStyle;
|
|
56
|
+
if (type == "all") {
|
|
57
|
+
topVal = `calc(${topStyle} + ${bumpBy})`;
|
|
58
|
+
}
|
|
59
|
+
else if (type == "0Positioned" && possibleZeros.includes(topStyle)) {
|
|
60
|
+
topVal = bumpBy;
|
|
61
|
+
}
|
|
62
|
+
return topVal;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Used in bumpAbsoluteElements
|
|
66
|
+
*
|
|
67
|
+
* Recursively traverse through the HTML document and return an array of the top level elements
|
|
68
|
+
* and elements with static parents
|
|
69
|
+
* @param {object} element The HTML element
|
|
70
|
+
* @param {array} acc accumulator
|
|
71
|
+
* @returns {array} array top level elements and elements with static parents
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
const traverseHtml = (element, acc = []) => {
|
|
75
|
+
const elements = element.children;
|
|
76
|
+
const len = elements.length;
|
|
77
|
+
if (!len) {
|
|
78
|
+
acc.push(element);
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
for (let i = 0; i < len; i++) {
|
|
82
|
+
const style = window.getComputedStyle(elements[i], null);
|
|
83
|
+
if (style.getPropertyValue("position") == "static") {
|
|
84
|
+
acc = traverseHtml(elements[i], acc);
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
acc.push(elements[i]);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return acc;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Called from bumpElements
|
|
95
|
+
*
|
|
96
|
+
* Bumps all elements with fixed positioning, that are not in the header, down by the configured amount.
|
|
97
|
+
* @private
|
|
98
|
+
* @param {object} params bumpElements object
|
|
99
|
+
*/
|
|
100
|
+
const bumpFixedElements = (params) => {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
let { fixed, bumpBy } = params;
|
|
103
|
+
const allNodes = document.body.querySelectorAll("*:not(#FSBLHeader, .fsbl-header)");
|
|
104
|
+
const getFixedElements = () => {
|
|
105
|
+
const fixedElements = [];
|
|
106
|
+
allNodes.forEach((node) => {
|
|
107
|
+
const style = window.getComputedStyle(node, null);
|
|
108
|
+
if (style.getPropertyValue("position") == "fixed")
|
|
109
|
+
fixedElements.push(node);
|
|
110
|
+
});
|
|
111
|
+
return fixedElements;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Filter out fixed positioned elements with parents containing the following properties:
|
|
115
|
+
* transform, perspective, filter or will-change="transform"
|
|
116
|
+
* as they put the fixed-positioned elements back into the document flow (so position
|
|
117
|
+
* is based on where they are in the DOM as per normal elements)
|
|
118
|
+
* This needs to be done because fixed positioned elements will be positioned relative
|
|
119
|
+
* to parents with these properties instead of the usual viewport,
|
|
120
|
+
* which means we do not need to bump the element since the parent will have been adjusted.
|
|
121
|
+
*/
|
|
122
|
+
const filterFixedElements = (elements) => {
|
|
123
|
+
const ignorableNodes = [];
|
|
124
|
+
const filtered = [...elements];
|
|
125
|
+
const len = elements.length;
|
|
126
|
+
allNodes.forEach((node) => {
|
|
127
|
+
const style = window.getComputedStyle(node, null);
|
|
128
|
+
const properties = ["transform", "perspective", "filter"];
|
|
129
|
+
if (style.getPropertyValue("will-change") === "transform")
|
|
130
|
+
ignorableNodes.push(node);
|
|
131
|
+
properties.forEach((prop) => style.getPropertyValue(prop) !== "none" && ignorableNodes.push(node));
|
|
132
|
+
});
|
|
133
|
+
for (let i = len - 1; i >= 0; i--) {
|
|
134
|
+
for (let j = 0; j < ignorableNodes.length; j++) {
|
|
135
|
+
if (ignorableNodes[j].contains(elements[i])) {
|
|
136
|
+
filtered.pop();
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return filtered;
|
|
142
|
+
};
|
|
143
|
+
// Get all fixed positioned elements
|
|
144
|
+
const filteredElements = filterFixedElements(getFixedElements());
|
|
145
|
+
for (let i = 0; i < filteredElements.length; i++) {
|
|
146
|
+
const style = window.getComputedStyle(filteredElements[i], null);
|
|
147
|
+
const topStyle = style.getPropertyValue("top");
|
|
148
|
+
if (!((_b = (_a = filteredElements[i]) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains("bumped-element"))) {
|
|
149
|
+
filteredElements[i].style.top = calculateBumpValue(fixed, topStyle, bumpBy);
|
|
150
|
+
filteredElements[i].classList.add("bumped-element");
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Called from bumpElements
|
|
156
|
+
*
|
|
157
|
+
* Bumps all absolute positioned elements with static parents, that are not in the header, down by the configured amount.
|
|
158
|
+
* @private
|
|
159
|
+
* @param {object} params bumpElements object
|
|
160
|
+
*/
|
|
161
|
+
const bumpAbsoluteElements = (params) => {
|
|
162
|
+
var _a, _b;
|
|
163
|
+
let { absolute, bumpBy } = params;
|
|
164
|
+
const selector = "*:not(#FSBLHeader, .fsbl-header)";
|
|
165
|
+
// Get top level absolute positioned elements and elements who have static parents
|
|
166
|
+
const elements = traverseHtml({ children: document.body.querySelectorAll(`:scope > ${selector}`) });
|
|
167
|
+
const len = elements.length;
|
|
168
|
+
for (let i = 0; i < len; i++) {
|
|
169
|
+
const style = window.getComputedStyle(elements[i], null);
|
|
170
|
+
const topStyle = style.getPropertyValue("top");
|
|
171
|
+
// Target absolute positioned elements
|
|
172
|
+
if (style.getPropertyValue("position") == "absolute" && !((_b = (_a = elements[i]) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains("bumped-element"))) {
|
|
173
|
+
elements[i].style.top = calculateBumpValue(absolute, topStyle, bumpBy);
|
|
174
|
+
elements[i].classList.add("bumped-element");
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Toggle setting found in `foreign.components.["Window Manager"].FSBLHeader.bumpElements.[bumpBy|fixed|absolute]`
|
|
180
|
+
* Called from beginAdjustment()
|
|
181
|
+
*
|
|
182
|
+
* Calls bumpFixedElements and bumpAbsoluteElements to bump fixed and/or absolute elements by the value of bumpBy if configured to do so.
|
|
183
|
+
* Since absolute and fixed positioned elements are removed from the document flow their positions will not be adjusted when the titlebar
|
|
184
|
+
* is injected and they have a set top style. However, if the element is an absolute positioned element and it's
|
|
185
|
+
* parent container has a position that is not set to static, then it'll adjust relative to the parent. Fixed positioned elements, on the other hand,
|
|
186
|
+
* won't adjust unless their top styles are changed.
|
|
187
|
+
*/
|
|
188
|
+
const bumpElements = (config) => {
|
|
189
|
+
if (!config)
|
|
190
|
+
return;
|
|
191
|
+
if (config.bumpBy !== "0px") {
|
|
192
|
+
if (config.fixed)
|
|
193
|
+
bumpFixedElements(config);
|
|
194
|
+
if (config.absolute)
|
|
195
|
+
bumpAbsoluteElements(config);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* This is used in adjustTopLevelHeight() and adjustContentHeight()
|
|
200
|
+
*
|
|
201
|
+
* Set the max height of each element (that has a defined height - as far as
|
|
202
|
+
* we can tell) to be the height of the parent container subtracted by the
|
|
203
|
+
* height of the previous element. This forces the element to either obey its
|
|
204
|
+
* predefined height or stay within the bounds of the max height.
|
|
205
|
+
*
|
|
206
|
+
* @param {array} cssRules CSS Rules for the current document.
|
|
207
|
+
* @param {object} elem HTML element
|
|
208
|
+
* @param {number} prevHeight height of previous sibling
|
|
209
|
+
* @param {string} maxElemHeight maximum height of the element
|
|
210
|
+
* @param {number} headerHeight the height of the header
|
|
211
|
+
*/
|
|
212
|
+
const adjust = (cssRules, elem, prevHeight, headerHeight = 25) => {
|
|
213
|
+
var _a;
|
|
214
|
+
let hasHeight = getCSSHeight(elem, cssRules);
|
|
215
|
+
if (
|
|
216
|
+
// workaround to fix dnd scrim disappearing
|
|
217
|
+
!((_a = elem.classList) === null || _a === void 0 ? void 0 : _a.contains("fsbl-share-scrim")) &&
|
|
218
|
+
//only apply adjustments to elements that have a defined height
|
|
219
|
+
// (as far as we can tell - we can't access cross-domain css)
|
|
220
|
+
hasHeight) {
|
|
221
|
+
const clientHeight = elem.clientHeight ? elem.clientHeight : 0;
|
|
222
|
+
const offsetHeight = elem.offsetHeight ? elem.offsetHeight : 0;
|
|
223
|
+
const offset = offsetHeight - clientHeight;
|
|
224
|
+
let adjustPrev = prevHeight + offset;
|
|
225
|
+
const elemPosition = window.getComputedStyle(elem, null).getPropertyValue("position");
|
|
226
|
+
if (elemPosition == "fixed" || elemPosition == "absolute")
|
|
227
|
+
adjustPrev = headerHeight + offset;
|
|
228
|
+
elem.style.maxHeight = `calc(100% - ${adjustPrev}px)`;
|
|
229
|
+
elem.classList.add("adjusted-element");
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Adjusts the content view height to be maximum of the parent container (passed in by adjustTopLevelHeight()) height
|
|
234
|
+
* subtracted by the total height of elements above it. The height of the previous elements are added to this calculation
|
|
235
|
+
* if they are not fixed or absolute.
|
|
236
|
+
*
|
|
237
|
+
* @param {array} cssRules CSS Rules for the current document.
|
|
238
|
+
* @param {object} parentElem parent element
|
|
239
|
+
* @param {number} headerHeight the height of the header
|
|
240
|
+
*/
|
|
241
|
+
const adjustContentHeight = (cssRules, parentElem, headerHeight) => {
|
|
242
|
+
const { children } = parentElem;
|
|
243
|
+
const len = children.length;
|
|
244
|
+
let prevHeight = 0;
|
|
245
|
+
for (let i = 0; i < len; i++) {
|
|
246
|
+
adjust(cssRules, children[i], prevHeight, headerHeight);
|
|
247
|
+
// Fixed and absolute positioned elements are ignored since they are removed from the document flow.
|
|
248
|
+
const elemPosition = window.getComputedStyle(children[i], null).getPropertyValue("position");
|
|
249
|
+
if (elemPosition !== "fixed" && elemPosition !== "absolute")
|
|
250
|
+
prevHeight = prevHeight + children[i].offsetHeight;
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Toggle setting found in `foreign.components.["Window Manager"].FSBLHeader.adjustContentHeights`
|
|
255
|
+
* Called from beginAdjustment()
|
|
256
|
+
*
|
|
257
|
+
* Adjusts the top level content max-height to be 100% subtracted by the total height of the previous elements.
|
|
258
|
+
* The height of the previous elements are added to this calculation if they are not fixed or absolute.
|
|
259
|
+
* These top level elements will be passed into adjustContentHeight where their descendants
|
|
260
|
+
* will also have their heights adjusted (where they have a defined height - elements that grow with content
|
|
261
|
+
* are left alone).
|
|
262
|
+
*
|
|
263
|
+
* Absolute and Fixed positions elements, however, will just have their max-heights set to 100% subtracted by the header height
|
|
264
|
+
* since they are not part of the document flow.
|
|
265
|
+
* Example:
|
|
266
|
+
* In this below situation, the B element extends passed the view because the header is injected. B doesn't have a
|
|
267
|
+
* set height so it'll extend as far as it needs.
|
|
268
|
+
* --------------------
|
|
269
|
+
* |******************|
|
|
270
|
+
* |* Titlebar *|
|
|
271
|
+
* |******************|
|
|
272
|
+
* |******************|
|
|
273
|
+
* |* A *|
|
|
274
|
+
* |* *|
|
|
275
|
+
* |******************|
|
|
276
|
+
* |******************|
|
|
277
|
+
* |* *|
|
|
278
|
+
* |* *|
|
|
279
|
+
* |* B *|
|
|
280
|
+
* |* *|
|
|
281
|
+
* |* *|
|
|
282
|
+
* |* *|
|
|
283
|
+
* --------------------
|
|
284
|
+
* The chain of adjust functions will set the maxHeight of A and B to ensure they both occupy space that the above element doesn't
|
|
285
|
+
* and keep it within the bounds of the view.
|
|
286
|
+
* --------------------
|
|
287
|
+
* |******************|
|
|
288
|
+
* |* Titlebar *|
|
|
289
|
+
* |******************|
|
|
290
|
+
* |******************|
|
|
291
|
+
* |* A *|
|
|
292
|
+
* |* *|
|
|
293
|
+
* |******************|
|
|
294
|
+
* |******************|
|
|
295
|
+
* |* *|
|
|
296
|
+
* |* *|
|
|
297
|
+
* |* B *|
|
|
298
|
+
* |* *|
|
|
299
|
+
* |* *|
|
|
300
|
+
* |******************|
|
|
301
|
+
* --------------------
|
|
302
|
+
* @param {number} headerHeight the height of the header
|
|
303
|
+
*/
|
|
304
|
+
const adjustTopLevelHeight = (headerHeight) => {
|
|
305
|
+
const cssRules = getCSSRules();
|
|
306
|
+
const elements = document.body.querySelectorAll(":scope > *:not(#FSBLHeader, .fsbl-header)");
|
|
307
|
+
let prevHeight = 0;
|
|
308
|
+
// Tags that don't accept max-heights
|
|
309
|
+
const avoidTags = ["svg", "script"];
|
|
310
|
+
elements.forEach((elem) => {
|
|
311
|
+
if (!avoidTags.includes(String(elem.tagName).toLowerCase())) {
|
|
312
|
+
adjust(cssRules, elem, prevHeight, headerHeight);
|
|
313
|
+
// Heights of fixed and absolute positioned elements are not added to the total heights of previous elements
|
|
314
|
+
// since they are removed from the document flow and can be positioned anywhere in the page.
|
|
315
|
+
if (elem.style.position !== "fixed" && elem.style.position !== "absolute")
|
|
316
|
+
prevHeight = prevHeight + elem.offsetHeight;
|
|
317
|
+
adjustContentHeight(cssRules, elem, headerHeight);
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Toggle setting found in `foreign.components.["Window Manager"].FSBLHeader.bumpElements.[monitorFixedAdditions]`
|
|
323
|
+
* Called from beginAdjustment()
|
|
324
|
+
*
|
|
325
|
+
* Monitors the DOM for mutations, if the added node has a fixed position with a top style of 0px, it will be bumped by the title bar height.
|
|
326
|
+
* This ensures that if a fixed positioned element is dynamically added to the DOM, for example a pop-up modal, it'll have it's height adjusted
|
|
327
|
+
* by the header height since the initial bumping of elements can happen before this element exists.
|
|
328
|
+
*
|
|
329
|
+
* Element heights are not monitored and adjusted since this would require that all pre-existing elements have their height recalculated each time
|
|
330
|
+
* a new element is dynamically added onto the page. Absolute positioned elements, however, could be monitored and adjusted since all we would
|
|
331
|
+
* need to check for is that it's parent has a static position or not, if it does then it can be adjusted.
|
|
332
|
+
* @param headerHeight the height of the header
|
|
333
|
+
*/
|
|
334
|
+
const monitorFixedPositionedElements = (headerHeight) => {
|
|
335
|
+
const options = {
|
|
336
|
+
childList: true,
|
|
337
|
+
subtree: true,
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* MutationObserver interface provides the ability to watch for
|
|
341
|
+
* changes to the DOM tree using the observe method
|
|
342
|
+
*/
|
|
343
|
+
const mutationObserver = new MutationObserver((mutations) => {
|
|
344
|
+
mutations.forEach((mutation) => {
|
|
345
|
+
mutation.addedNodes.forEach((node) => {
|
|
346
|
+
var _a;
|
|
347
|
+
if (!((_a = node === null || node === void 0 ? void 0 : node.classList) === null || _a === void 0 ? void 0 : _a.contains("bumped-element"))) {
|
|
348
|
+
try {
|
|
349
|
+
const nodeStyle = window.getComputedStyle(node);
|
|
350
|
+
const topStyle = nodeStyle.top;
|
|
351
|
+
// make sure node is fixed, has top style set to 0, and has not been bumped
|
|
352
|
+
if (nodeStyle.position === "fixed" && possibleZeros.includes(topStyle)) {
|
|
353
|
+
node.style.top = calculateBumpValue("0Positioned", topStyle, headerHeight);
|
|
354
|
+
node.classList.add("bumped-element");
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
catch (err) {
|
|
358
|
+
// Expected to error if the node is not an Element e.g text is not of type Element
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
// We observe the body and do not disconnect because there may be other elements that are dynamically loaded, such as a dialogue menu.
|
|
365
|
+
mutationObserver.observe(document.body, options);
|
|
366
|
+
};
|
|
367
|
+
// Hack the window's scrollbar so that it displays underneath the header. html.overflow: hidden body.overflow:auto
|
|
368
|
+
// This is turned on by default. Set "Window Manager.hackScrollbar: false" to turn it off
|
|
369
|
+
const hackScrollbar = () => {
|
|
370
|
+
const header = document.getElementsByClassName("fsbl-header")[0];
|
|
371
|
+
//Add a margin top to the body if there title bar is injected into the component.
|
|
372
|
+
if (header) {
|
|
373
|
+
document.body.style.margin = "0px";
|
|
374
|
+
document.body.style.marginTop = window.getComputedStyle(header, null).getPropertyValue("height");
|
|
375
|
+
}
|
|
376
|
+
const htmlElement = document.querySelector("html");
|
|
377
|
+
if (htmlElement)
|
|
378
|
+
htmlElement.style.overflowY = "hidden";
|
|
379
|
+
const bodyElement = document.querySelector("body");
|
|
380
|
+
if (bodyElement)
|
|
381
|
+
bodyElement.style.overflowY = "auto";
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* Begin adjusting the body and top level elements and their direct descendants by the header height.
|
|
385
|
+
*/
|
|
386
|
+
const beginAdjustment = (bumpElementConfig) => {
|
|
387
|
+
const header = document.getElementsByClassName("fsbl-header")[0];
|
|
388
|
+
if (!header) {
|
|
389
|
+
FEAGlobals.FSBL.Clients.Logger.system.error("WindowTitleBarShell.maybeAdjustWindow:could not find fsbl-header.");
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
const bodyElement = document.querySelector("body");
|
|
393
|
+
const headerHeight = window.getComputedStyle(header, null).getPropertyValue("height");
|
|
394
|
+
if (bodyElement) {
|
|
395
|
+
bodyElement.style.height = `calc(100vh - ${headerHeight})`;
|
|
396
|
+
}
|
|
397
|
+
if (bumpElementConfig.hackScrollbar)
|
|
398
|
+
hackScrollbar();
|
|
399
|
+
if (bumpElementConfig.adjustContentHeights)
|
|
400
|
+
adjustTopLevelHeight(Number.parseInt(headerHeight, 10));
|
|
401
|
+
if (bumpElementConfig.bumpFixedElements) {
|
|
402
|
+
bumpElements(bumpElementConfig);
|
|
403
|
+
if (bumpElementConfig.monitorFixedAdditions)
|
|
404
|
+
monitorFixedPositionedElements(headerHeight);
|
|
405
|
+
}
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* Once document is ready and header is injected into DOM, begin adjusting the height of elements and bump fixed/absolute elements
|
|
409
|
+
*/
|
|
410
|
+
const adjustWindow = (bumpElementConfig) => {
|
|
411
|
+
// don't start pushing stuff down until page is ready. This is needed for preloaded title bars because they can happen before the page is ready.
|
|
412
|
+
if (document.readyState === "complete") {
|
|
413
|
+
beginAdjustment(bumpElementConfig);
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
document.addEventListener("readystatechange", () => {
|
|
417
|
+
if (document.readyState === "complete")
|
|
418
|
+
beginAdjustment(bumpElementConfig);
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
export const useInjectedTitleBar = (bumpConfig) => {
|
|
423
|
+
const [bumped, setBumped] = useState(false);
|
|
424
|
+
// Run the hook when a BumpConfig is available (e.g. loaded from store)
|
|
425
|
+
useEffect(() => {
|
|
426
|
+
var _a;
|
|
427
|
+
// If this isn't an injected title bar window then do nothing
|
|
428
|
+
if ((_a = FEAGlobals === null || FEAGlobals === void 0 ? void 0 : FEAGlobals.fin) === null || _a === void 0 ? void 0 : _a.isTitlebarWindow())
|
|
429
|
+
return;
|
|
430
|
+
// Only run once, when the bumpConfig becomes available
|
|
431
|
+
if (bumpConfig && !bumped) {
|
|
432
|
+
adjustWindow(bumpConfig);
|
|
433
|
+
setBumped(true);
|
|
434
|
+
}
|
|
435
|
+
}, [bumpConfig]);
|
|
436
|
+
};
|
|
437
|
+
//# sourceMappingURL=useInjectedTitleBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInjectedTitleBar.js","sourceRoot":"","sources":["../../../../src/ui/hooks/useInjectedTitleBar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,2BAA2B;AAC3B,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,GAAG,GAAG,EAAE;IACxB,IAAI,IAAI,GAAc,EAAE,CAAC;IACzB,uDAAuD;IACvD,OAAO,IAAI,CAAC,MAAM,CACjB,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC7C,IAAI;YACH,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC;SAC/B;QAAC,OAAO,CAAC,EAAE;YACX,OAAO,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;YAChE,OAAO,EAAE,CAAC;SACV;IACF,CAAC,CAAC,CACF,CAAC;AACH,CAAC,CAAC;AAEF;2BAC2B;AAC3B,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE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,EAAE;QACvC,eAAe,CAAC,iBAAiB,CAAC,CAAC;KACnC;SAAM;QACN,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE;YAClD,IAAI,QAAQ,CAAC,UAAU,KAAK,UAAU;gBAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;QAC5E,CAAC,CAAC,CAAC;KACH;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,UAA6B,EAAE,EAAE;IACpE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IACrD,uEAAuE;IACvE,SAAS,CAAC,GAAG,EAAE;;QACd,6DAA6D;QAC7D,IAAI,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,0CAAE,gBAAgB,EAAE;YAAE,OAAO;QAChD,uDAAuD;QACvD,IAAI,UAAU,IAAI,CAAC,MAAM,EAAE;YAC1B,YAAY,CAAC,UAAU,CAAC,CAAC;YACzB,SAAS,CAAC,IAAI,CAAC,CAAC;SAChB;IACF,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare type NotificationUIStatePublish = (state: NotificationServiceState) => v
|
|
|
10
10
|
export declare const useNotificationUI: () => [state: NotificationServiceState, setState: NotificationUIStatePublish];
|
|
11
11
|
export declare const getToolbarMonitor: () => Promise<MonitorInfoDetail | undefined>;
|
|
12
12
|
export declare const moveToToolbarMonitor: () => Promise<void>;
|
|
13
|
-
export declare const getOS: () => "
|
|
13
|
+
export declare const getOS: () => "Windows" | "Linux" | "Mac" | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Example for setting up button clicks
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToolbar.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useToolbar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useToolbar.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useToolbar.ts"],"names":[],"mappings":"AAoKA,eAAO,MAAM,UAAU;;;;;;;;;iCAlDa,MAAM;CAuEzC,CAAC"}
|
|
@@ -33,7 +33,16 @@ const showToolbar = () => {
|
|
|
33
33
|
bringToolbarToFront({ focus: true });
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Docks the toolbar to the primary monitor
|
|
37
|
+
*/
|
|
38
|
+
const dockToolbar = () => {
|
|
39
|
+
FEAGlobals.FSBL.Clients.RouterClient.transmit("DockingService.dockWindow", {
|
|
40
|
+
windowName: FEAGlobals.finsembleWindow.name,
|
|
41
|
+
uuid: FEAGlobals.finsembleWindow.uuid,
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Minimizes all windows.
|
|
37
46
|
*/
|
|
38
47
|
const minimizeAllWindows = () => {
|
|
39
48
|
FEAGlobals.FSBL.Clients.WorkspaceClient.minimizeAll();
|
|
@@ -49,8 +58,8 @@ const revealAllWindows = () => {
|
|
|
49
58
|
*/
|
|
50
59
|
const toggleAutoArrange = async () => {
|
|
51
60
|
/**
|
|
52
|
-
* Bring windows to front before auto arranging them to ensure
|
|
53
|
-
* This is relies on bringWindowsToFront() restoring
|
|
61
|
+
* Bring windows to front before auto arranging them to ensure maximized windows are included in the action
|
|
62
|
+
* This is relies on bringWindowsToFront() restoring maximized and minimized windows
|
|
54
63
|
*/
|
|
55
64
|
await FEAGlobals.FSBL.Clients.WorkspaceClient.bringWindowsToFront();
|
|
56
65
|
FEAGlobals.FSBL.Clients.WorkspaceClient.autoArrange({}, () => {
|
|
@@ -146,6 +155,7 @@ export const useToolbar = () => {
|
|
|
146
155
|
toggleAutoArrange,
|
|
147
156
|
showToolbar,
|
|
148
157
|
hideToolbar,
|
|
158
|
+
dockToolbar,
|
|
149
159
|
launchPreferences,
|
|
150
160
|
};
|
|
151
161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FAAwF;IACxF,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC7E,2BAA2B,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC5E,2BAA2B,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC9B,SAAS,CAAC,GAAG,EAAE;QACd,eAAe,EAAE,CAAC;QAClB,uBAAuB,EAAE,CAAC;QAE1B,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnC,kBAAkB,EAAE,CAAC;SACrB;IACF,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACN,2BAA2B;QAC3B,kBAAkB;QAClB,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,WAAW;QACX,WAAW;QACX,WAAW;QACX,iBAAiB;KACjB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -224,5 +224,17 @@ export declare const rootReducer: import("redux").Reducer<import("redux").Combin
|
|
|
224
224
|
type: "set_fsbl_version";
|
|
225
225
|
} & {
|
|
226
226
|
payload: string;
|
|
227
|
+
}) | ({
|
|
228
|
+
type: "add_appd_server";
|
|
229
|
+
} & {
|
|
230
|
+
payload: import("../types/smartDesktopDesignerTypes").AppDServerInfo;
|
|
231
|
+
}) | ({
|
|
232
|
+
type: "update_appd_servers";
|
|
233
|
+
} & {
|
|
234
|
+
payload: import("../types/smartDesktopDesignerTypes").AppDServerInfo[];
|
|
235
|
+
}) | ({
|
|
236
|
+
type: "delete_appd_server";
|
|
237
|
+
} & {
|
|
238
|
+
payload: string;
|
|
227
239
|
})>;
|
|
228
240
|
//# sourceMappingURL=rootReducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rootReducer.d.ts","sourceRoot":"","sources":["../../../../src/ui/reducers/rootReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkB,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAoB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAmB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAI/E,oBAAY,SAAS,GAAG;IACvB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,cAAc,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB,oBAAoB,EAAE,yBAAyB,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"rootReducer.d.ts","sourceRoot":"","sources":["../../../../src/ui/reducers/rootReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkB,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAoB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAmB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAI/E,oBAAY,SAAS,GAAG;IACvB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,cAAc,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,WAAW,CAAC;IACpB,oBAAoB,EAAE,yBAAyB,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAWtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartDesktopDesignerReducer.d.ts","sourceRoot":"","sources":["../../../../src/ui/reducers/smartDesktopDesignerReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AACvH,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EACN,yBAAyB,EAGzB,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"smartDesktopDesignerReducer.d.ts","sourceRoot":"","sources":["../../../../src/ui/reducers/smartDesktopDesignerReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AACvH,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EACN,yBAAyB,EAGzB,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,YAAY,EAAE,yBA8E1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,OAAO,CAAC,yBAAyB,EAAE,gCAAgC,CA8G5F,CAAC"}
|
|
@@ -13,6 +13,7 @@ export const initialState = {
|
|
|
13
13
|
currentPreload: null,
|
|
14
14
|
menus: {},
|
|
15
15
|
preloads: {},
|
|
16
|
+
appdServers: [],
|
|
16
17
|
projectInfo: {
|
|
17
18
|
applicationRoot: "",
|
|
18
19
|
name: "",
|
|
@@ -173,6 +174,17 @@ export const smartDesktopDesignerReducer = produce((state, action) => {
|
|
|
173
174
|
set_current_preload: (preload) => {
|
|
174
175
|
state.currentPreload = preload;
|
|
175
176
|
},
|
|
177
|
+
add_appd_server: (server) => {
|
|
178
|
+
if (!server || !server.url)
|
|
179
|
+
return;
|
|
180
|
+
state.appdServers.push(server);
|
|
181
|
+
},
|
|
182
|
+
update_appd_servers: (value) => {
|
|
183
|
+
state.appdServers = value;
|
|
184
|
+
},
|
|
185
|
+
delete_appd_server: (url) => {
|
|
186
|
+
state.appdServers = state.appdServers.filter((server) => server.url !== url);
|
|
187
|
+
},
|
|
176
188
|
default: () => state,
|
|
177
189
|
});
|
|
178
190
|
}, initialState);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartDesktopDesignerReducer.js","sourceRoot":"","sources":["../../../../src/ui/reducers/smartDesktopDesignerReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,2BAA2B,EAAoC,MAAM,wCAAwC,CAAC;AAGvH,OAAO,EAEN,oBAAoB,EACpB,kBAAkB,GAClB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,YAAY,GAA8B;IACtD,sBAAsB,EAAE,IAAI;IAC5B,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE,IAAI;IACpB,aAAa,EAAE,IAAI;IACnB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,mBAAmB,EAAE,IAAI;IACzB,cAAc,EAAE,IAAI;IACpB,KAAK,EAAE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C,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,CAAC,CAAC;QAC9E,CAAC;QACD,4BAA4B,EAAE,CAAC,KAAK,EAAE,EAAE;YACvC,KAAK,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACjC,CAAC;QACD,eAAe,EAAE,CAAC,QAAQ,EAAE,EAAE;YAC7B,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC3B,CAAC;QACD,mBAAmB,EAAE,CAAC,OAAO,EAAE,EAAE;YAChC,KAAK,CAAC,cAAc,GAAG,OAAO,CAAC;QAChC,CAAC;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;KACpB,CAAC,CAAC;AACJ,CAAC,EAAE,YAAY,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"smartDesktopDesignerReducer.js","sourceRoot":"","sources":["../../../../src/ui/reducers/smartDesktopDesignerReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,2BAA2B,EAAoC,MAAM,wCAAwC,CAAC;AAGvH,OAAO,EAEN,oBAAoB,EACpB,kBAAkB,GAClB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,YAAY,GAA8B;IACtD,sBAAsB,EAAE,IAAI;IAC5B,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE,IAAI;IACpB,aAAa,EAAE,IAAI;IACnB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,mBAAmB,EAAE,IAAI;IACzB,cAAc,EAAE,IAAI;IACpB,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE,EAAE;IACf,WAAW,EAAE;QACZ,eAAe,EAAE,EAAE;QACnB,IAAI,EAAE,EAAE;QACR,IAAI,EAAE;YAC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