@finsemble/finsemble-ui 8.3.0-beta.8 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FEA.d.ts +102 -28
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +17 -16
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Interop/types.d.ts +1 -0
- package/clients/Interop/types.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +2 -8
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +2 -4
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +6 -4
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +125 -112
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +9 -9
- package/clients/StoreModel.js.map +1 -1
- package/clients/appsClient.d.ts +463 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +696 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +36 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +18 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +189 -71
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +185 -114
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +78 -0
- package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
- package/clients/controller/DialogManagerClientController.js +213 -0
- package/clients/controller/DialogManagerClientController.js.map +1 -0
- package/clients/dialogManagerClient.d.ts +11 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +11 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +4 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +4 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +23 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +35 -14
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +2 -0
- package/clients/index.d.ts.map +1 -1
- package/clients/index.js +2 -0
- package/clients/index.js.map +1 -1
- package/clients/launcherClient.d.ts +55 -209
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +37 -422
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts +6 -0
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +49 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +32 -8
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +32 -8
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +39 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +38 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +7 -2
- package/clients/searchClient.d.ts.map +1 -1
- package/clients/searchClient.js +7 -2
- package/clients/searchClient.js.map +1 -1
- package/clients/storageClient.d.ts +19 -6
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +18 -6
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +207 -80
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +291 -139
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +45 -18
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +41 -13
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +12 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +14 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +5 -108
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +28 -349
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Monitors.d.ts +30 -18
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +45 -80
- package/common/Monitors.js.map +1 -1
- package/common/Singleton.d.ts +7 -1
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +24 -11
- package/common/Singleton.js.map +1 -1
- package/common/constants.d.ts +3 -9
- package/common/constants.d.ts.map +1 -1
- package/common/constants.js +3 -14
- package/common/constants.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +1 -1
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/redux/getRemoteStore.d.ts +53 -0
- package/common/redux/getRemoteStore.d.ts.map +1 -0
- package/common/redux/getRemoteStore.js +50 -0
- package/common/redux/getRemoteStore.js.map +1 -0
- package/common/redux/remoteReduxEnhancer.d.ts +7 -7
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +35 -20
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +14 -1
- package/common/redux/types.d.ts.map +1 -1
- package/common/systemManagerClient.d.ts +11 -5
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +25 -8
- package/common/systemManagerClient.js.map +1 -1
- package/common/util.d.ts +1 -7
- package/common/util.d.ts.map +1 -1
- package/common/util.js +1 -14
- package/common/util.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +1 -1
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +3 -4
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts +1 -1
- package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
- package/deprecated/deprecatedlauncherClient.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +4 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +15 -4
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/linkerClient.d.ts +1 -1
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/main.d.ts +289 -171
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +4 -4
- package/platform/services/Interop/modules/types.d.ts +2 -0
- package/platform/services/Interop/modules/types.d.ts.map +1 -1
- package/platform/services/Interop/types.d.ts +24 -2
- package/platform/services/Interop/types.d.ts.map +1 -1
- package/platform/services/Interop/types.js.map +1 -1
- package/platform/services/router/types.d.ts +5 -6
- package/platform/services/router/types.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.d.ts +1 -0
- package/platform/services/systemManager/_constants.d.ts.map +1 -1
- package/platform/services/systemManager/_constants.js +2 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/systemManager/types.d.ts +1 -1
- package/platform/services/systemManager/types.d.ts.map +1 -1
- package/platform/services/systemManager/types.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +68 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +60 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +275 -51
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/workspace/types.d.ts +4 -3
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.d.ts +7 -1
- package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
- package/react/actions/smartDesktopDesignerActions.js +3 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/assets/css/core/icons.css +0 -5
- package/react/assets/css/dialogs.css +2 -1
- package/react/assets/css/fonts/icons-reference.html +1 -1
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/userPreferences.css +1 -1
- package/react/assets/css/windowTitleBar.css +101 -285
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts +3 -0
- package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalog.js +3 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js +6 -2
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts.map +1 -1
- package/react/components/common/ButtonRow.js +4 -9
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.d.ts.map +1 -1
- package/react/components/common/Checkbox.js +14 -2
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +5 -11
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +11 -24
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +6 -4
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleLink.d.ts +7 -0
- package/react/components/common/FinsembleLink.d.ts.map +1 -0
- package/react/components/common/FinsembleLink.js +13 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/Header.d.ts +1 -0
- package/react/components/common/Header.d.ts.map +1 -1
- package/react/components/common/Header.js +4 -2
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -15
- package/react/components/common/css/application-list.css +54 -23
- package/react/components/common/css/button.css +20 -0
- package/react/components/common/css/selector.css +3 -1
- package/react/components/downloadManager/DownloadManager.d.ts +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +2 -4
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/icon/Icon.js +1 -1
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +2 -9
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +2 -22
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +2 -2
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
- package/react/components/notifications/css/notification-center.css +2 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +14 -36
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +5 -9
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +3 -2
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +10 -0
- package/react/components/processMonitor/components/Process.d.ts.map +1 -0
- package/react/components/processMonitor/components/Process.js +11 -0
- package/react/components/processMonitor/components/Process.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +1 -2
- package/react/components/processMonitor/constants.d.ts.map +1 -1
- package/react/components/processMonitor/constants.js +2 -8
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +0 -1
- package/react/components/processMonitor/helpers.d.ts.map +1 -1
- package/react/components/processMonitor/helpers.js +2 -9
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/sdd/Content.d.ts +9 -0
- package/react/components/sdd/Content.d.ts.map +1 -0
- package/react/components/sdd/Content.js +7 -0
- package/react/components/sdd/Content.js.map +1 -0
- package/react/components/sdd/Dashboard.d.ts +20 -0
- package/react/components/sdd/Dashboard.d.ts.map +1 -0
- package/react/components/sdd/Dashboard.js +103 -0
- package/react/components/sdd/Dashboard.js.map +1 -0
- package/react/components/sdd/Export.d.ts +24 -0
- package/react/components/sdd/Export.d.ts.map +1 -0
- package/react/components/sdd/Export.js +133 -0
- package/react/components/sdd/Export.js.map +1 -0
- package/react/components/sdd/ExportCloud.d.ts +7 -0
- package/react/components/sdd/ExportCloud.d.ts.map +1 -0
- package/react/components/sdd/ExportCloud.js +38 -0
- package/react/components/sdd/ExportCloud.js.map +1 -0
- package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
- package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
- package/react/components/sdd/ExportDeployInfo.js +18 -0
- package/react/components/sdd/ExportDeployInfo.js.map +1 -0
- package/react/components/sdd/ExportZip.d.ts +7 -0
- package/react/components/sdd/ExportZip.d.ts.map +1 -0
- package/react/components/sdd/ExportZip.js +43 -0
- package/react/components/sdd/ExportZip.js.map +1 -0
- package/react/components/sdd/ProjectErrors.d.ts +12 -0
- package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
- package/react/components/sdd/ProjectErrors.js +26 -0
- package/react/components/sdd/ProjectErrors.js.map +1 -0
- package/react/components/sdd/ProjectMasonry.d.ts +13 -0
- package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
- package/react/components/sdd/ProjectMasonry.js +22 -0
- package/react/components/sdd/ProjectMasonry.js.map +1 -0
- package/react/components/sdd/Publish.d.ts +9 -0
- package/react/components/sdd/Publish.d.ts.map +1 -0
- package/react/components/sdd/Publish.js +113 -0
- package/react/components/sdd/Publish.js.map +1 -0
- package/react/components/sdd/PublishProgress.d.ts +10 -0
- package/react/components/sdd/PublishProgress.d.ts.map +1 -0
- package/react/components/sdd/PublishProgress.js +24 -0
- package/react/components/sdd/PublishProgress.js.map +1 -0
- package/react/components/sdd/View.d.ts +9 -0
- package/react/components/sdd/View.d.ts.map +1 -0
- package/react/components/sdd/View.js +7 -0
- package/react/components/sdd/View.js.map +1 -0
- package/react/components/sdd/css/addApp.css +62 -8
- package/react/components/sdd/css/appD.css +81 -0
- package/react/components/sdd/css/appDViewer.css +93 -0
- package/react/components/sdd/css/applications.css +53 -15
- package/react/components/sdd/css/exportAppD.css +31 -0
- package/react/components/sdd/css/horizontalScroll.css +9 -0
- package/react/components/sdd/css/project-header.css +2 -1
- package/react/components/sdd/css/views.css +3 -0
- package/react/components/sdd/smartDesktopClient.d.ts +627 -0
- package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
- package/react/components/sdd/smartDesktopClient.js +1222 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/types.d.ts +9 -0
- package/react/components/sdd/types.d.ts.map +1 -0
- package/react/components/sdd/types.js +2 -0
- package/react/components/sdd/types.js.map +1 -0
- package/react/components/search/SearchInput.d.ts +1 -2
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +11 -13
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchResults.d.ts.map +1 -1
- package/react/components/search/SearchResults.js +6 -6
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +31 -4
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/toolbar/DownloadButton.d.ts +1 -1
- package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
- package/react/components/toolbar/DownloadButton.js +3 -6
- package/react/components/toolbar/DownloadButton.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts.map +1 -1
- package/react/components/toolbar/DragHandle.js +8 -5
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +10 -1
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +1 -0
- package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
- package/react/components/toolbar/ToolbarShell.js +3 -2
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +14 -1
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/utils.d.ts +50 -0
- package/react/components/utils.d.ts.map +1 -0
- package/react/components/utils.js +60 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/CloseButton.js +22 -0
- package/react/components/windowTitleBar/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.js +25 -0
- package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
- package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.js +18 -0
- package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.js +21 -0
- package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/ShareButton.js +24 -0
- package/react/components/windowTitleBar/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabRegion.js +479 -0
- package/react/components/windowTitleBar/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabTitle.js +17 -0
- package/react/components/windowTitleBar/TabTitle.js.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.js +30 -0
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/index.d.ts +9 -8
- package/react/components/windowTitleBar/index.d.ts.map +1 -1
- package/react/components/windowTitleBar/index.js +9 -8
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
- package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
- package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
- package/react/components/windowTitleBar/useMaximize.js +23 -0
- package/react/components/windowTitleBar/useMaximize.js.map +1 -0
- package/react/components/yesNoDialog/timer.js +2 -1
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +27 -0
- package/react/hooks/useDragRegion.d.ts.map +1 -0
- package/react/hooks/useDragRegion.js +74 -0
- package/react/hooks/useDragRegion.js.map +1 -0
- package/react/hooks/useInjectedTitleBar.d.ts +3 -0
- package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
- package/react/hooks/useInjectedTitleBar.js +437 -0
- package/react/hooks/useInjectedTitleBar.js.map +1 -0
- package/react/hooks/useNotifications.d.ts +1 -1
- package/react/hooks/useToolbar.d.ts +1 -0
- package/react/hooks/useToolbar.d.ts.map +1 -1
- package/react/hooks/useToolbar.js +13 -3
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +12 -0
- package/react/reducers/rootReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.js +12 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/store.d.ts +24 -0
- package/react/store.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
- package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
- package/typedoc-types.d.ts +9 -0
- package/typedoc-types.d.ts.map +1 -0
- package/typedoc-types.js +6 -0
- package/typedoc-types.js.map +1 -0
- package/types.d.ts +5 -11
- package/types.d.ts.map +1 -1
- package/types.js +2 -0
- package/types.js.map +1 -1
- package/common/events/PrivateEventManager.d.ts +0 -95
- package/common/events/PrivateEventManager.d.ts.map +0 -1
- package/common/events/PrivateEventManager.js +0 -295
- package/common/events/PrivateEventManager.js.map +0 -1
- package/common/events/PrivateFinsembleEvent.d.ts +0 -30
- package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
- package/common/events/PrivateFinsembleEvent.js +0 -65
- package/common/events/PrivateFinsembleEvent.js.map +0 -1
- package/common/redux/createReducer.d.ts +0 -128
- package/common/redux/createReducer.d.ts.map +0 -1
- package/common/redux/createReducer.js +0 -298
- package/common/redux/createReducer.js.map +0 -1
- package/common/redux/index.d.ts +0 -3
- package/common/redux/index.d.ts.map +0 -1
- package/common/redux/index.js +0 -3
- package/common/redux/index.js.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
- package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
- package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
- package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
- package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
- package/platform/services/window/Common/Pools/WindowPool.js +0 -16
- package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
- package/platform/services/window/Docking/boxMath.d.ts +0 -144
- package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
- package/platform/services/window/Docking/boxMath.js +0 -511
- package/platform/services/window/Docking/boxMath.js.map +0 -1
- package/platform/services/window/Docking/constants.d.ts +0 -29
- package/platform/services/window/Docking/constants.d.ts.map +0 -1
- package/platform/services/window/Docking/constants.js +0 -29
- package/platform/services/window/Docking/constants.js.map +0 -1
- package/platform/services/window/Docking/dockableBox.d.ts +0 -117
- package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableBox.js +0 -525
- package/platform/services/window/Docking/dockableBox.js.map +0 -1
- package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
- package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableGroup.js +0 -1054
- package/platform/services/window/Docking/dockableGroup.js.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
- package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableMonitor.js +0 -427
- package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
- package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
- package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
- package/platform/services/window/Docking/dockableWindow.js +0 -1239
- package/platform/services/window/Docking/dockableWindow.js.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
- package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingCalculator.js +0 -3438
- package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
- package/platform/services/window/Docking/dockingMain.d.ts +0 -349
- package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
- package/platform/services/window/Docking/dockingMain.js +0 -2541
- package/platform/services/window/Docking/dockingMain.js.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
- package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
- package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
- package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
- package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
- package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
- package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
- package/platform/services/window/Docking/types.d.ts +0 -334
- package/platform/services/window/Docking/types.d.ts.map +0 -1
- package/platform/services/window/Docking/types.js +0 -12
- package/platform/services/window/Docking/types.js.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
- package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
- package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
- package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
- package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
- package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
- package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
- package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
- package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
- package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
- package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
- package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
- package/platform/services/window/windowGroup.d.ts +0 -86
- package/platform/services/window/windowGroup.d.ts.map +0 -1
- package/platform/services/window/windowGroup.js +0 -323
- package/platform/services/window/windowGroup.js.map +0 -1
- package/platform/services/workspace/windowStorageManager.d.ts +0 -180
- package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
- package/platform/services/workspace/windowStorageManager.js +0 -195
- package/platform/services/workspace/windowStorageManager.js.map +0 -1
- package/react/assets/icons/question-circle.svg +0 -6
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
- package/react/components/sdd/Appearance.helpers.d.ts +0 -2
- package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
- package/react/components/sdd/Appearance.helpers.js +0 -2
- package/react/components/sdd/Appearance.helpers.js.map +0 -1
- package/react/components/shared/linkerUtil.d.ts +0 -4
- package/react/components/shared/linkerUtil.d.ts.map +0 -1
- package/react/components/shared/linkerUtil.js +0 -10
- package/react/components/shared/linkerUtil.js.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
- package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/Tab.js +0 -58
- package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
- package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabList.js +0 -614
- package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
- package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
- package/react/components/windowTitleBar/components/windowTitle.js +0 -382
- package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
- package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
- package/react/types/windowTitleBar.d.ts +0 -49
- package/react/types/windowTitleBar.d.ts.map +0 -1
- package/react/types/windowTitleBar.js +0 -2
- package/react/types/windowTitleBar.js.map +0 -1
- /package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
- /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windowStorageManager.d.ts","sourceRoot":"","sources":["../../../../../src/platform/services/workspace/windowStorageManager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAOzD,eAAO,MAAM,sBAAsB,QAAS,MAAM,OAAM,MAAM,WACG,CAAC;AAYlE;;;;GAIG;AACH,qBAAa,oBAAoB;IAChC;;;;;OAKG;IACH,MAAM,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiB;IAE3B,MAAM,CAAC,WAAW,QAAS,mBAAmB,YAAyB;IAEvE;;;;;;;;;;OAUG;WACU,aAAa,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE;;;;IAM5F;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,MAAM,EA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OAAO,CAAC,IAAI,EAAE,CAAC;IAIpH;;OAEG;WACU,qBAAqB,CAAC,OAAO,EAAE,mBAAmB,EAAE,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAI3G;;;;;;;OAOG;WACU,WAAW,CACvB,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,mBAAmB,EAC9D,UAAU,EAAE,MAAM,EAClB,aAAa,CAAC,KAAA,GACZ,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;WACU,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAS3F;;;OAGG;WACU,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;CAGrG"}
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import StorageClient from "../../../clients/storageClient";
|
|
2
|
-
import { camelCase, identity } from "../../../common/util";
|
|
3
|
-
import { WORKSPACE } from "../../../common/constants";
|
|
4
|
-
import { LoggerClient as Logger } from "../../../clients/logger";
|
|
5
|
-
import pLimit from "p-limit";
|
|
6
|
-
const limit = pLimit(1);
|
|
7
|
-
const { ACTIVE_WORKSPACE, CACHE_STORAGE_TOPIC, STORAGE_TOPIC } = WORKSPACE;
|
|
8
|
-
export const GET_WINDOW_STATE_ERROR = (win, ws = ACTIVE_WORKSPACE) => `No Window State found for window "${win}" in workspace "${ws}"`;
|
|
9
|
-
/**
|
|
10
|
-
* Rate limited functions
|
|
11
|
-
*/
|
|
12
|
-
const remove1 = (params) => limit(() => StorageClient.remove(params));
|
|
13
|
-
const get1 = (params, cb) => limit(() => StorageClient.get(params, cb));
|
|
14
|
-
const save1 = (params) => limit(() => StorageClient.save(params));
|
|
15
|
-
/**
|
|
16
|
-
* Static, ORM-like layer into the storage of all `windowData`
|
|
17
|
-
* and `componentState` data, mediating interface with storage
|
|
18
|
-
* while enforcing consistency and business rules.
|
|
19
|
-
*/
|
|
20
|
-
export class WindowStorageManager {
|
|
21
|
-
/**
|
|
22
|
-
* Asynchronously updates provided key in storage by first retrieving the key
|
|
23
|
-
* then running a provided function on the result and re-saving its value.
|
|
24
|
-
* There’s no guarantees of consistency or atomicity
|
|
25
|
-
*
|
|
26
|
-
* @param params {any} Update storage params
|
|
27
|
-
* @param params.topic {string} The storage topic
|
|
28
|
-
* @param params.key {string} The storage key
|
|
29
|
-
* @param params.updateFn {Function} Function to run to determine the value to store
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
static async updateStorage(params) {
|
|
33
|
-
const { topic, key, updateFn } = params;
|
|
34
|
-
const result = await WindowStorageManager._SC.get({ topic, key });
|
|
35
|
-
return await WindowStorageManager._SC.save({ topic, key, value: updateFn(result) });
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Rate limited updateStorage.
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
static updateStorage1(params) {
|
|
42
|
-
return limit(() => WindowStorageManager.updateStorage(params));
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Given a type, window, and workspace name, returns the correct storage topic and key
|
|
46
|
-
* for the `windowData` or `componentState`.
|
|
47
|
-
* Omit the workspace name to target the active workspace.
|
|
48
|
-
*/
|
|
49
|
-
static getTopicAndKey(type, windowName, workspaceName = ACTIVE_WORKSPACE) {
|
|
50
|
-
/** The `windowData` is stored under the key with the format "workspacenameWindowname",
|
|
51
|
-
* while the `componentState` is stored under "workspacenameWindownameWindowname" */
|
|
52
|
-
const keyArgs = type === "windowData" ? [workspaceName, windowName] : [workspaceName, windowName, windowName];
|
|
53
|
-
return {
|
|
54
|
-
topic: workspaceName === ACTIVE_WORKSPACE ? CACHE_STORAGE_TOPIC : STORAGE_TOPIC,
|
|
55
|
-
key: camelCase.apply(null, keyArgs),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Retrieves a window or component state belonging to the given workspace from storage.
|
|
60
|
-
* Omit the workspace name to target the active workspace.
|
|
61
|
-
*
|
|
62
|
-
* @param type Either `componentState` or `windowData`.
|
|
63
|
-
*/
|
|
64
|
-
static async getState(type, windowName, workspaceName) {
|
|
65
|
-
const topicAndKey = WindowStorageManager.getTopicAndKey(type, windowName, workspaceName);
|
|
66
|
-
//disabled to reduce load on logging system generated when when retrieving activeWorkspace
|
|
67
|
-
//Logger.system.debug("getState", type, windowName, workspaceName, topicAndKey, "Result=", result);
|
|
68
|
-
return (await get1(topicAndKey)) || null;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Same as `getState` but retrieves both `componentState` and `windowData`.
|
|
72
|
-
* NOTE: either or both of windowData may be null or emtpy objects (i.e, when
|
|
73
|
-
* the requested data doesn't exist).
|
|
74
|
-
*/
|
|
75
|
-
static async getCompleteState(windowName, workspaceName) {
|
|
76
|
-
let componentState = (await WindowStorageManager.getState("componentState", windowName, workspaceName)
|
|
77
|
-
// Windows may not necessarily have component state, so we must catch that occurance here.
|
|
78
|
-
.catch(() => {
|
|
79
|
-
return {};
|
|
80
|
-
}));
|
|
81
|
-
let windowData = (await WindowStorageManager.getState("windowData", windowName, workspaceName));
|
|
82
|
-
Logger.system.debug("getCompleteState", windowName, workspaceName, componentState, windowData);
|
|
83
|
-
return { componentState, windowData };
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Retrieves multiple states (`componentState` or `windowData`) belonging to the given workspace from storage.
|
|
87
|
-
* Omit the workspace name to target the active workspace.
|
|
88
|
-
*
|
|
89
|
-
* It's possible to request a window state before it's been saved to storage particularly.
|
|
90
|
-
* if the window was added to a workspace by name (not by data). Therefore, unlike `getState`,
|
|
91
|
-
* this method doesn't throw errors if unable to fulfill the request; rather, it logs a warning instead.
|
|
92
|
-
*
|
|
93
|
-
* @param type Either `componentState` or `windowData`.
|
|
94
|
-
*/
|
|
95
|
-
static async getManyStates(type, windowNames, workspaceName) {
|
|
96
|
-
const promises = windowNames.flatMap((x) => {
|
|
97
|
-
try {
|
|
98
|
-
const state = WindowStorageManager.getState(type, x, workspaceName);
|
|
99
|
-
return [state];
|
|
100
|
-
}
|
|
101
|
-
catch (e) {
|
|
102
|
-
return [];
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
return Promise.all(promises).then((x) => x.filter(identity));
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Same as `getManyStates` but retrieves both `componentState` and `windowData`.
|
|
109
|
-
*/
|
|
110
|
-
static async getManyCompleteStates(windowNames, workspaceName) {
|
|
111
|
-
return Promise.all(windowNames.map((x) => WindowStorageManager.getCompleteState(x, workspaceName).catch((err) => {
|
|
112
|
-
Logger.system.warn(err);
|
|
113
|
-
return null;
|
|
114
|
-
}))).then((x) => x.filter(identity));
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Persists a state to storage under the given workspace name.
|
|
118
|
-
* Omit the workspace name to target the active workspace.
|
|
119
|
-
*
|
|
120
|
-
* @param type Either `componentState` or `windowData`.
|
|
121
|
-
*/
|
|
122
|
-
static async setState(type, windowName, data, workspaceName) {
|
|
123
|
-
await save1(Object.assign(Object.assign({}, WindowStorageManager.getTopicAndKey(type, windowName, workspaceName)), { value: data }));
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Same as `setState`, but sets both `componentState` and `windowData`.
|
|
127
|
-
*/
|
|
128
|
-
static async setCompleteState(state, workspaceName) {
|
|
129
|
-
// This only happens if a very seldomly hit race condition happens, and a window is removed from storage but not from the active workspace.
|
|
130
|
-
// We didn't spend a ton of time trying to figure it out because the underlying issue had no
|
|
131
|
-
// observable effect.
|
|
132
|
-
// Removing this line will cause the workspace to crash if it hits, though. so leave it.
|
|
133
|
-
if (!state.windowData || !state.componentState)
|
|
134
|
-
return;
|
|
135
|
-
await WindowStorageManager.setState("windowData", state.windowData.name, state.windowData, workspaceName);
|
|
136
|
-
await WindowStorageManager.setState("componentState", state.windowData.name, state.componentState, workspaceName);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Given an array of states, persists their states to storage.
|
|
140
|
-
* Omit the workspace name to target the active workspace.
|
|
141
|
-
*
|
|
142
|
-
* @param type Either `componentState` or `windowData`.
|
|
143
|
-
*/
|
|
144
|
-
static async setManyStates(type, windows, workspaceName) {
|
|
145
|
-
return Promise.all(windows.map((x) => WindowStorageManager.setState(type, x.name, x, workspaceName)));
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Same as `setManyStates`, but sets both `componentState` and `windowData`.
|
|
149
|
-
*/
|
|
150
|
-
static async setManyCompleteStates(windows, workspaceName) {
|
|
151
|
-
return Promise.all(windows.map((x) => WindowStorageManager.setCompleteState(x, workspaceName)));
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Given a window name and an update function, retrieves the state
|
|
155
|
-
* under that name from storage, applies the update function to it, then sets
|
|
156
|
-
* the storage with the result.
|
|
157
|
-
* Omit the workspace name to target the active workspace.
|
|
158
|
-
*
|
|
159
|
-
* @param type Either `componentState` or `windowData`.
|
|
160
|
-
*/
|
|
161
|
-
static async updateState(type, updateFn, windowName, workspaceName) {
|
|
162
|
-
await WindowStorageManager.updateStorage1(Object.assign(Object.assign({}, WindowStorageManager.getTopicAndKey(type, windowName, workspaceName)), { updateFn }));
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Removes a window's state (both `componentState` and `windowData`) from storage under the
|
|
166
|
-
* given workspace name. Omit the workspace name to target the active workspace.
|
|
167
|
-
*
|
|
168
|
-
* Logs a warning if unable to fulfill the request (doesn't throw).
|
|
169
|
-
*/
|
|
170
|
-
static async removeCompleteState(windowName, workspaceName) {
|
|
171
|
-
try {
|
|
172
|
-
await remove1(WindowStorageManager.getTopicAndKey("windowData", windowName, workspaceName));
|
|
173
|
-
await remove1(WindowStorageManager.getTopicAndKey("componentState", windowName, workspaceName));
|
|
174
|
-
}
|
|
175
|
-
catch (error) {
|
|
176
|
-
Logger.system.warn(error);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Removes multiple states (both `componentState` and `windowData`) belonging to the given workspace from storage.
|
|
181
|
-
* Omit the workspace name to target the active workspace.
|
|
182
|
-
*/
|
|
183
|
-
static async removeManyCompleteStates(windowNames, workspaceName) {
|
|
184
|
-
return Promise.all(windowNames.map((x) => WindowStorageManager.removeCompleteState(x, workspaceName)));
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* This static member is necessary for testing purposes
|
|
189
|
-
* only. Ideally, we would just use the StorageClient
|
|
190
|
-
* instance directly; however, this causes inconsistencies
|
|
191
|
-
* with our mocks that failed our testing efforts.
|
|
192
|
-
*/
|
|
193
|
-
WindowStorageManager._SC = StorageClient;
|
|
194
|
-
WindowStorageManager.getWindowID = (win) => camelCase(win.name);
|
|
195
|
-
//# sourceMappingURL=windowStorageManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windowStorageManager.js","sourceRoot":"","sources":["../../../../../src/platform/services/workspace/windowStorageManager.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,MAAM,MAAM,SAAS,CAAC;AAE7B,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AAExB,MAAM,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC;AAE3E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,GAAW,EAAE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AU,EAAE,aAAa,CAAC,KACvE,QAAQ,IACP,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAkB,EAAE,aAAsB;QAC1E,IAAI;YACH,MAAM,OAAO,CAAC,oBAAoB,CAAC,cAAc,CAAC,YAAY,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC;YAC5F,MAAM,OAAO,CAAC,oBAAoB,CAAC,cAAc,CAAC,gBAAgB,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC;SAChG;QAAC,OAAO,KAAK,EAAE;YACf,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1B;IACF,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,WAAqB,EAAE,aAAsB;QAClF,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACxG,CAAC;;AAxND;;;;;GAKG;AACI,wBAAG,GAAG,aAAa,CAAC;AAEpB,gCAAW,GAAG,CAAC,GAAwB,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
-
d="M8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0ZM15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z" />
|
|
4
|
-
<path
|
|
5
|
-
d="M8.53297 10.365C8.53297 9.81454 8.59523 9.39841 8.71974 9.11662C8.84425 8.83483 9.11621 8.49079 9.53562 8.08449C10.1123 7.52527 10.4957 7.1015 10.6857 6.81316C10.8758 6.52481 10.9708 6.14909 10.9708 5.686C10.9708 4.92145 10.7119 4.29343 10.1942 3.80194C9.67651 3.31044 8.98733 3.0647 8.12667 3.0647C7.19611 3.0647 6.46433 3.35195 5.93133 3.92645C5.39833 4.50095 5.13184 5.26004 5.13184 6.2037H6.29831C6.32016 5.63575 6.40972 5.20106 6.567 4.89961C6.8466 4.35787 7.3512 4.087 8.0808 4.087C8.67059 4.087 9.09327 4.24428 9.34885 4.55884C9.60443 4.87339 9.73222 5.24474 9.73222 5.67289C9.73222 5.97871 9.64484 6.2736 9.47009 6.55758C9.37397 6.71923 9.24728 6.87432 9.09 7.02286L8.56574 7.54057C8.06332 8.03424 7.73784 8.47222 7.5893 8.85449C7.44076 9.23677 7.36649 9.74027 7.36649 10.365H8.53297ZM8.64438 12.8159V11.4529H7.34028V12.8159H8.64438Z" />
|
|
6
|
-
</svg>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
declare type FinsembleHoverDetectorProps = {
|
|
7
|
-
hoverAction: (hovering: string) => void;
|
|
8
|
-
edge: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* This detects mouseover and mouseout and reacts by setting the hover attribute of the parent. We use this because the :hover pseudo-class doesn't detect
|
|
12
|
-
* when the mouse leaves if it is on the edge of a finsemble window. This class requires the property "hoverAction" which should point back to a function
|
|
13
|
-
* in the parent class to call to toggle the hover state. Also requires the property "edge" which can be "right","left","top","bottom" or a combination (separated by whitespace).
|
|
14
|
-
* The hover detector will set its positioning within the parent element depending on which edges are enabled. If edge is not specified, then 5 pixels will be left on every edge.
|
|
15
|
-
*
|
|
16
|
-
* The parent element must have position: relative or position: absolute!
|
|
17
|
-
*
|
|
18
|
-
* @since version 3.1.1 FinsembleHoverDetector is now in the finsemble-react-controls repo
|
|
19
|
-
* @since version 3.1.1 FinsembleHoverDetector now uses dynamic styles. The fsbl-hover-detector-* css classes are deprecated.
|
|
20
|
-
*/
|
|
21
|
-
export declare const FinsembleHoverDetector: React.FunctionComponent<FinsembleHoverDetectorProps>;
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=FinsembleHoverDetector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FinsembleHoverDetector.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/legacyControls/FinsembleHoverDetector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,aAAK,2BAA2B,GAAG;IAClC,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AACF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CA+CvF,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
/**
|
|
7
|
-
* This detects mouseover and mouseout and reacts by setting the hover attribute of the parent. We use this because the :hover pseudo-class doesn't detect
|
|
8
|
-
* when the mouse leaves if it is on the edge of a finsemble window. This class requires the property "hoverAction" which should point back to a function
|
|
9
|
-
* in the parent class to call to toggle the hover state. Also requires the property "edge" which can be "right","left","top","bottom" or a combination (separated by whitespace).
|
|
10
|
-
* The hover detector will set its positioning within the parent element depending on which edges are enabled. If edge is not specified, then 5 pixels will be left on every edge.
|
|
11
|
-
*
|
|
12
|
-
* The parent element must have position: relative or position: absolute!
|
|
13
|
-
*
|
|
14
|
-
* @since version 3.1.1 FinsembleHoverDetector is now in the finsemble-react-controls repo
|
|
15
|
-
* @since version 3.1.1 FinsembleHoverDetector now uses dynamic styles. The fsbl-hover-detector-* css classes are deprecated.
|
|
16
|
-
*/
|
|
17
|
-
export const FinsembleHoverDetector = (props) => {
|
|
18
|
-
var _a;
|
|
19
|
-
/**
|
|
20
|
-
* When the mouse enters the hoverDetector, we fire off the action that's passed in from the parent.
|
|
21
|
-
*
|
|
22
|
-
* @memberof FinsembleHoverDetector
|
|
23
|
-
*/
|
|
24
|
-
const onMouseEnter = () => {
|
|
25
|
-
props.hoverAction("true");
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* When the mouse enters the hoverDetector, we fire off the action that's passed in from the parent.
|
|
29
|
-
*
|
|
30
|
-
* @memberof FinsembleHoverDetector
|
|
31
|
-
*/
|
|
32
|
-
const onMouseLeave = () => {
|
|
33
|
-
props.hoverAction("false");
|
|
34
|
-
};
|
|
35
|
-
let edge = (_a = props.edge) !== null && _a !== void 0 ? _a : "";
|
|
36
|
-
let top = 5, bottom = 5, left = 5, right = 5;
|
|
37
|
-
if (edge !== "") {
|
|
38
|
-
top = bottom = left = right = 0;
|
|
39
|
-
const splitEdge = edge.split(/[ ,]+/); // split by whitespace or commas
|
|
40
|
-
if (splitEdge.indexOf("top") != -1)
|
|
41
|
-
top = 5;
|
|
42
|
-
if (splitEdge.indexOf("bottom") != -1)
|
|
43
|
-
bottom = 5;
|
|
44
|
-
if (splitEdge.indexOf("left") != -1)
|
|
45
|
-
left = 5;
|
|
46
|
-
if (splitEdge.indexOf("right") != -1)
|
|
47
|
-
right = 5;
|
|
48
|
-
}
|
|
49
|
-
return (React.createElement("div", { onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, style: {
|
|
50
|
-
position: "absolute",
|
|
51
|
-
left: left,
|
|
52
|
-
right: right,
|
|
53
|
-
top: top,
|
|
54
|
-
bottom: bottom,
|
|
55
|
-
} }));
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=FinsembleHoverDetector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FinsembleHoverDetector.js","sourceRoot":"","sources":["../../../../../src/ui/components/legacyControls/FinsembleHoverDetector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAyD,CAAC,KAAK,EAAE,EAAE;;IACrG;;;;OAIG;IACH,MAAM,YAAY,GAAG,GAAG,EAAE;QACzB,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC,CAAC;IAEF;;;;OAIG;IACH,MAAM,YAAY,GAAG,GAAG,EAAE;QACzB,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,IAAI,IAAI,GAAG,MAAA,KAAK,CAAC,IAAI,mCAAI,EAAE,CAAC;IAC5B,IAAI,GAAG,GAAG,CAAC,EACV,MAAM,GAAG,CAAC,EACV,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,CAAC,CAAC;IAEX,IAAI,IAAI,KAAK,EAAE,EAAE;QAChB,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,CAAC,CAAC;QAChC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,gCAAgC;QACvE,IAAI,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAAE,GAAG,GAAG,CAAC,CAAC;QAC5C,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAAE,MAAM,GAAG,CAAC,CAAC;QAClD,IAAI,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAAE,IAAI,GAAG,CAAC,CAAC;QAC9C,IAAI,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAAE,KAAK,GAAG,CAAC,CAAC;KAChD;IAED,OAAO,CACN,6BACC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE;YACN,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,KAAK;YACZ,GAAG,EAAE,GAAG;YACR,MAAM,EAAE,MAAM;SACd,GACK,CACP,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Appearance.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Appearance.helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,QAAS,MAAM,QAAoC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Appearance.helpers.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Appearance.helpers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkerUtil.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/shared/linkerUtil.ts"],"names":[],"mappings":"AAAA,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,OAQ5F"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export function getChannelLabelFromIndex(channelName, allChannels) {
|
|
2
|
-
let label = null;
|
|
3
|
-
allChannels.forEach((channel, index) => {
|
|
4
|
-
if (channel.name === channelName) {
|
|
5
|
-
label = index + 1;
|
|
6
|
-
}
|
|
7
|
-
});
|
|
8
|
-
return label;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=linkerUtil.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkerUtil.js","sourceRoot":"","sources":["../../../../../src/ui/components/shared/linkerUtil.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,wBAAwB,CAAC,WAAmB,EAAE,WAA+B;IAC5F,IAAI,KAAK,GAAQ,IAAI,CAAC;IACtB,WAAW,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACtC,IAAI,OAAO,CAAC,IAAI,KAAK,WAAW,EAAE;YACjC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;SAClB;IACF,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface IProps {
|
|
3
|
-
draggable: string;
|
|
4
|
-
className: string;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
onDragStart: (e: any, identifier: any) => void;
|
|
7
|
-
onDrop: (e?: React.DragEvent<HTMLDivElement>) => void;
|
|
8
|
-
onDragEnd: (e?: any) => void;
|
|
9
|
-
onTabClose: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
10
|
-
onTabDraggedOver: (e: any, tabDraggedOver: any) => void;
|
|
11
|
-
listenForDragOver: boolean;
|
|
12
|
-
tabWidth: number;
|
|
13
|
-
titleWidth: number;
|
|
14
|
-
windowIdentifier: any;
|
|
15
|
-
}
|
|
16
|
-
interface IState {
|
|
17
|
-
title: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* This component is pretty basic. It just takes a bunch of props and renders them.
|
|
21
|
-
*/
|
|
22
|
-
export default class Tab extends React.Component<IProps, IState> {
|
|
23
|
-
tabbingState: boolean;
|
|
24
|
-
constructor(props: IProps);
|
|
25
|
-
onDragLeave(): void;
|
|
26
|
-
onDragOver(e: React.DragEvent<HTMLDivElement>): void;
|
|
27
|
-
crossedMidline(e: React.DragEvent<HTMLDivElement>, box: any): boolean;
|
|
28
|
-
render(): JSX.Element;
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/center/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,UAAU,MAAM;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC1D,gBAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,KAAK,IAAI,CAAC;IACxD,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,GAAG,CAAC;CACtB;AACD,UAAU,MAAM;IACf,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IAC/D,YAAY,EAAE,OAAO,CAAC;gBAEV,KAAK,EAAE,MAAM;IAWzB,WAAW;IAKX,UAAU,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAW7C,cAAc,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG;IAI3D,MAAM;CAqCN"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Title } from "../windowTitle";
|
|
3
|
-
import { FEAGlobals } from "../../../../../common/Globals";
|
|
4
|
-
const isPointInBox = (point, box) => {
|
|
5
|
-
if (!box.bottom)
|
|
6
|
-
box.bottom = box.top + box.height;
|
|
7
|
-
if (!box.right)
|
|
8
|
-
box.right = box.left + box.width;
|
|
9
|
-
return point.x > box.left && point.x < box.right && point.y < box.bottom && point.y > box.top;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* This component is pretty basic. It just takes a bunch of props and renders them.
|
|
13
|
-
*/
|
|
14
|
-
export default class Tab extends React.Component {
|
|
15
|
-
constructor(props) {
|
|
16
|
-
super(props);
|
|
17
|
-
this.onDragOver = this.onDragOver.bind(this);
|
|
18
|
-
this.onDragLeave = this.onDragLeave.bind(this);
|
|
19
|
-
this.state = {
|
|
20
|
-
title: "",
|
|
21
|
-
};
|
|
22
|
-
this.tabbingState = false;
|
|
23
|
-
}
|
|
24
|
-
onDragLeave() {
|
|
25
|
-
this.tabbingState = false;
|
|
26
|
-
FEAGlobals.FSBL.Clients.RouterClient.publish("Finsemble.AmTabbing", false);
|
|
27
|
-
}
|
|
28
|
-
onDragOver(e) {
|
|
29
|
-
const boundingBox = this.refs.Me.getBoundingClientRect();
|
|
30
|
-
if (this.crossedMidline(e, boundingBox)) {
|
|
31
|
-
this.props.onTabDraggedOver(e, this.props.windowIdentifier);
|
|
32
|
-
}
|
|
33
|
-
if (!this.tabbingState) {
|
|
34
|
-
FEAGlobals.FSBL.Clients.RouterClient.publish("Finsemble.AmTabbing", true);
|
|
35
|
-
this.tabbingState = true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
crossedMidline(e, box) {
|
|
39
|
-
return isPointInBox({ x: e.nativeEvent.clientX, y: e.nativeEvent.clientY }, box);
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
const style = {
|
|
43
|
-
width: this.props.tabWidth,
|
|
44
|
-
};
|
|
45
|
-
return (React.createElement("div", { ref: "Me", onDrop: this.props.onDrop, onDragStart: (e) => {
|
|
46
|
-
this.props.onDragStart(e, this.props.windowIdentifier);
|
|
47
|
-
}, onDragEnd: this.props.onDragEnd, draggable: true, className: this.props.className, style: style },
|
|
48
|
-
this.props.listenForDragOver && (React.createElement("div", { className: "tab-drop-region", onDragOver: this.onDragOver, onDragLeave: this.onDragLeave })),
|
|
49
|
-
React.createElement(Title, { titleWidth: this.props.titleWidth, windowIdentifier: this.props.windowIdentifier, onClick: this.props.onClick }),
|
|
50
|
-
React.createElement("div", { className: "fsbl-tab-close", onClick: (e) => {
|
|
51
|
-
e.preventDefault();
|
|
52
|
-
e.stopPropagation();
|
|
53
|
-
this.props.onTabClose(e);
|
|
54
|
-
} },
|
|
55
|
-
React.createElement("i", { className: "ff-close" }))));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=Tab.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/center/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,MAAM,YAAY,GAAG,CACpB,KAGC,EACD,GAOC,EACS,EAAE;IACZ,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,GA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AAC,KAAK,CAAC,OAAO,GAC1B;YACF,6BACC,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACd,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,CAAC,CAAC,eAAe,EAAE,CAAC;oBACpB,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;gBAC1B,CAAC;gBAED,2BAAG,SAAS,EAAC,UAAU,GAAK,CACvB,CACD,CACN,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { TabListProps, TabListState, GetTabWidthParams, TabProperties } from "../../../../types/windowTitleBar";
|
|
3
|
-
import { WindowIdentifier } from "../../../../../platform/services/window/types";
|
|
4
|
-
import { StandardError } from "../../../../../types";
|
|
5
|
-
export declare class TabList extends React.Component<TabListProps, TabListState> {
|
|
6
|
-
mousePositionOnDragEnd: {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
};
|
|
10
|
-
onWindowResizeThrottled: (this: Window, ev: UIEvent) => any;
|
|
11
|
-
setActiveTabThrottled: Function;
|
|
12
|
-
constructor(props: TabListProps);
|
|
13
|
-
/**
|
|
14
|
-
* Make sure that _this_ is correct inside of our event handlers.
|
|
15
|
-
*/
|
|
16
|
-
bindCorrectContext(): void;
|
|
17
|
-
getTabWidth(params?: GetTabWidthParams): number;
|
|
18
|
-
/**
|
|
19
|
-
* Resize handler. Calculates the space that the center-region is taking up. May be used to scale tabs proportionally.
|
|
20
|
-
*/
|
|
21
|
-
onWindowResize(): void;
|
|
22
|
-
findTabIndex(tab: TabProperties): number;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* Function that's called when this component fires the onDragStart event, this will start the tiling or tabbing process
|
|
26
|
-
*
|
|
27
|
-
* @param e The SyntheticEvent created by React when the startdrag event is called
|
|
28
|
-
* @memberof windowTitleBar
|
|
29
|
-
*/
|
|
30
|
-
startDrag(e: React.DragEvent<HTMLDivElement>, windowIdentifier: WindowIdentifier): void;
|
|
31
|
-
/**
|
|
32
|
-
* Called when the react component detects a drop (or stop drag, which is equivalent)
|
|
33
|
-
*
|
|
34
|
-
* @param e The SyntheticEvent created by React when the stopdrag event is called
|
|
35
|
-
* @memberof windowTitleBar
|
|
36
|
-
*/
|
|
37
|
-
stopDrag(e: React.DragEvent<HTMLDivElement>): void;
|
|
38
|
-
/**
|
|
39
|
-
* Helper function that will pull data from a drop event, parse it, and return it.
|
|
40
|
-
* @param {event} e
|
|
41
|
-
*/
|
|
42
|
-
extractWindowIdentifier(e: React.DragEvent<HTMLElement>): any;
|
|
43
|
-
/**
|
|
44
|
-
* Called when a drop event occurs on the tab region. We (hope) that this came from a tab. Could be a share icon, an image, something else - that's why we check to see if the identifier exists before doing anything.
|
|
45
|
-
* @param {event} e
|
|
46
|
-
*/
|
|
47
|
-
drop(e?: React.DragEvent<HTMLElement>): void;
|
|
48
|
-
isTabRegionOverflowing(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Event handler for when a user wheels inside of the tab region. We translate the deltaY that the event provides into horizontal movement. The translateX value that we return will be used in the render method below.
|
|
51
|
-
* @param {event} e
|
|
52
|
-
* This should probably be refactored into separate handlers for scroll and mousewheel to account for the differences in event properties.
|
|
53
|
-
*/
|
|
54
|
-
onMouseWheel(e: React.WheelEvent): void;
|
|
55
|
-
/**
|
|
56
|
-
* Scrolls to our active tab.
|
|
57
|
-
*/
|
|
58
|
-
scrollToActiveTab(): void;
|
|
59
|
-
/**
|
|
60
|
-
* Scrolls to the first tab in our list of tabs.
|
|
61
|
-
*/
|
|
62
|
-
scrollToFirstTab(): void;
|
|
63
|
-
/**
|
|
64
|
-
* Scrolls to the last tab in our list of tabs
|
|
65
|
-
*/
|
|
66
|
-
scrollToLastTab(): void;
|
|
67
|
-
/**
|
|
68
|
-
* Function that will horizontally scroll the tab region so that the right edge of the tab lines up with the right edge of the tab region.
|
|
69
|
-
* @param {} tab
|
|
70
|
-
*/
|
|
71
|
-
scrollToTab(tab: TabProperties): void;
|
|
72
|
-
setTabListTranslateX(translateX: number): void;
|
|
73
|
-
/**
|
|
74
|
-
* Someone is dragging _something_ over the tab region. We respond by rendering the ghost tab.
|
|
75
|
-
* @param {event} e
|
|
76
|
-
*/
|
|
77
|
-
dragOver(e: React.DragEvent): void;
|
|
78
|
-
/**
|
|
79
|
-
* Triggered when the user moves their mouse out of the tabRegion after a dragOver event happens. When they leave, we hide our placeholder tab.
|
|
80
|
-
* @param {event} e
|
|
81
|
-
*/
|
|
82
|
-
dragLeave(e: React.DragEvent<HTMLDivElement>): void;
|
|
83
|
-
/**
|
|
84
|
-
* Set to a timeout. An event is sent to the RouterClient which will be handled by the drop handler on the window.
|
|
85
|
-
* In the event that a drop handler never fires to stop tiling or tabbing, this will take care of it.
|
|
86
|
-
*
|
|
87
|
-
* @memberof windowTitleBar
|
|
88
|
-
*/
|
|
89
|
-
cancelTabbing(): void;
|
|
90
|
-
/**
|
|
91
|
-
* Basically exists just to keep the render method clean. Gives conditional classes to the active tab.
|
|
92
|
-
* @param {tab} tab
|
|
93
|
-
*/
|
|
94
|
-
getTabClasses(tab: TabProperties): string;
|
|
95
|
-
onTabDraggedOver(e: React.DragEvent<HTMLElement>, tabDraggedOver: TabProperties): void;
|
|
96
|
-
/**
|
|
97
|
-
* OnClick handler for the close button on individual tabs.
|
|
98
|
-
* @PLACEHOLDER will interact with tabbing API
|
|
99
|
-
* @param {*} tab
|
|
100
|
-
*/
|
|
101
|
-
onTabClosed(identifier: TabProperties): void;
|
|
102
|
-
/**
|
|
103
|
-
* drop handler for the tab region.
|
|
104
|
-
* @param {*} tab
|
|
105
|
-
*/
|
|
106
|
-
onTabAdded(identifier: TabProperties, newIndex: number | undefined): void;
|
|
107
|
-
/**
|
|
108
|
-
* OnClick handler for individual tabs.
|
|
109
|
-
* @PLACEHOLDER will interact with tabbing API
|
|
110
|
-
* @param {*} tab
|
|
111
|
-
*/
|
|
112
|
-
setActiveTab(tab: TabProperties): void;
|
|
113
|
-
onTabsChanged(err: StandardError, response: {
|
|
114
|
-
value: TabProperties[];
|
|
115
|
-
}): void;
|
|
116
|
-
onTabListTranslateChanged(err: StandardError, response: {
|
|
117
|
-
value: number;
|
|
118
|
-
}): void;
|
|
119
|
-
/**
|
|
120
|
-
* Change active tab to the next one on either its left or right
|
|
121
|
-
*
|
|
122
|
-
* @param direction the direction the tab should change to (1 = right, -1 = left)
|
|
123
|
-
*/
|
|
124
|
-
changeTab(direction: 1 | -1): void;
|
|
125
|
-
componentDidMount(): void;
|
|
126
|
-
componentWillUnmount(): void;
|
|
127
|
-
render(): JSX.Element;
|
|
128
|
-
/**
|
|
129
|
-
* Function to render the title. Helps keep the render code clean.
|
|
130
|
-
*/
|
|
131
|
-
renderTitle(): JSX.Element;
|
|
132
|
-
/**
|
|
133
|
-
* Renders the array of tabs.
|
|
134
|
-
* @param {*} props
|
|
135
|
-
*/
|
|
136
|
-
renderTabs(): JSX.Element[];
|
|
137
|
-
}
|
|
138
|
-
//# sourceMappingURL=TabList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/center/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAChH,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AA8DrD,qBAAa,OAAQ,SAAQ,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACvE,sBAAsB,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAEjD,u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