@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FEA.d.ts +54 -24
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +7 -10
- package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
- package/clients/Startup/FSBLDesktop.d.ts +2 -8
- package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
- package/clients/Startup/FSBLDesktop.js +2 -4
- package/clients/Startup/FSBLDesktop.js.map +1 -1
- package/clients/Startup/unhandledErrors.d.ts.map +1 -1
- package/clients/Startup/unhandledErrors.js +6 -4
- package/clients/Startup/unhandledErrors.js.map +1 -1
- package/clients/Startup/windowStartup.d.ts.map +1 -1
- package/clients/Startup/windowStartup.js +125 -112
- package/clients/Startup/windowStartup.js.map +1 -1
- package/clients/StoreModel.d.ts +8 -8
- package/clients/StoreModel.js +8 -8
- package/clients/appsClient.d.ts +429 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +649 -0
- package/clients/appsClient.js.map +1 -0
- package/clients/authenticationClient.d.ts +29 -27
- package/clients/authenticationClient.d.ts.map +1 -1
- package/clients/authenticationClient.js +11 -15
- package/clients/authenticationClient.js.map +1 -1
- package/clients/configClient.d.ts +134 -70
- package/clients/configClient.d.ts.map +1 -1
- package/clients/configClient.js +129 -112
- package/clients/configClient.js.map +1 -1
- package/clients/controller/DialogManagerClientController.d.ts +78 -0
- package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
- package/clients/controller/DialogManagerClientController.js +213 -0
- package/clients/controller/DialogManagerClientController.js.map +1 -0
- package/clients/dialogManagerClient.d.ts +1 -75
- package/clients/dialogManagerClient.d.ts.map +1 -1
- package/clients/dialogManagerClient.js +1 -208
- package/clients/dialogManagerClient.js.map +1 -1
- package/clients/distributedStoreClient.d.ts +1 -0
- package/clients/distributedStoreClient.d.ts.map +1 -1
- package/clients/distributedStoreClient.js +1 -0
- package/clients/distributedStoreClient.js.map +1 -1
- package/clients/hotkeyClient.d.ts +18 -9
- package/clients/hotkeyClient.d.ts.map +1 -1
- package/clients/hotkeyClient.js +30 -14
- package/clients/hotkeyClient.js.map +1 -1
- package/clients/index.d.ts +2 -0
- package/clients/index.d.ts.map +1 -1
- package/clients/index.js +2 -0
- package/clients/index.js.map +1 -1
- package/clients/launcherClient.d.ts +50 -209
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +35 -422
- package/clients/launcherClient.js.map +1 -1
- package/clients/logger.d.ts.map +1 -1
- package/clients/logger.js +43 -41
- package/clients/logger.js.map +1 -1
- package/clients/notificationClient.d.ts +15 -8
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +15 -8
- package/clients/notificationClient.js.map +1 -1
- package/clients/routerClient.d.ts +25 -21
- package/clients/routerClient.d.ts.map +1 -1
- package/clients/routerClient.js +24 -20
- package/clients/routerClient.js.map +1 -1
- package/clients/searchClient.d.ts +2 -2
- package/clients/searchClient.js +2 -2
- package/clients/storageClient.d.ts +8 -5
- package/clients/storageClient.d.ts.map +1 -1
- package/clients/storageClient.js +7 -5
- package/clients/storageClient.js.map +1 -1
- package/clients/windowClient.d.ts +160 -79
- package/clients/windowClient.d.ts.map +1 -1
- package/clients/windowClient.js +244 -138
- package/clients/windowClient.js.map +1 -1
- package/clients/workspaceClient.d.ts +19 -14
- package/clients/workspaceClient.d.ts.map +1 -1
- package/clients/workspaceClient.js +15 -9
- package/clients/workspaceClient.js.map +1 -1
- package/common/Desktop.d.ts +9 -50
- package/common/Desktop.d.ts.map +1 -1
- package/common/Desktop.js +11 -64
- package/common/Desktop.js.map +1 -1
- package/common/FinsembleWindow.d.ts +4 -107
- package/common/FinsembleWindow.d.ts.map +1 -1
- package/common/FinsembleWindow.js +21 -342
- package/common/FinsembleWindow.js.map +1 -1
- package/common/Monitors.d.ts +30 -18
- package/common/Monitors.d.ts.map +1 -1
- package/common/Monitors.js +45 -80
- package/common/Monitors.js.map +1 -1
- package/common/Singleton.d.ts +7 -1
- package/common/Singleton.d.ts.map +1 -1
- package/common/Singleton.js +24 -11
- package/common/Singleton.js.map +1 -1
- package/common/constants.d.ts +3 -9
- package/common/constants.d.ts.map +1 -1
- package/common/constants.js +3 -14
- package/common/constants.js.map +1 -1
- package/common/events/FinsembleEvent.d.ts +1 -1
- package/common/events/FinsembleEvent.d.ts.map +1 -1
- package/common/redux/getRemoteStore.d.ts +53 -0
- package/common/redux/getRemoteStore.d.ts.map +1 -0
- package/common/redux/getRemoteStore.js +50 -0
- package/common/redux/getRemoteStore.js.map +1 -0
- package/common/redux/remoteReduxEnhancer.d.ts +7 -7
- package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
- package/common/redux/remoteReduxEnhancer.js +35 -20
- package/common/redux/remoteReduxEnhancer.js.map +1 -1
- package/common/redux/types.d.ts +14 -1
- package/common/redux/types.d.ts.map +1 -1
- package/common/systemManagerClient.d.ts +11 -5
- package/common/systemManagerClient.d.ts.map +1 -1
- package/common/systemManagerClient.js +25 -8
- package/common/systemManagerClient.js.map +1 -1
- package/common/util.d.ts +1 -7
- package/common/util.d.ts.map +1 -1
- package/common/util.js +1 -14
- package/common/util.js.map +1 -1
- package/deprecated/deprecatedFunctions.d.ts +1 -1
- package/deprecated/deprecatedFunctions.d.ts.map +1 -1
- package/deprecated/deprecatedFunctions.js +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 +3 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js +14 -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 +277 -171
- package/main.d.ts.map +1 -1
- package/main.js +3 -1
- package/main.js.map +1 -1
- package/package.json +3 -3
- package/platform/services/Interop/types.d.ts +8 -1
- 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 +63 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +58 -0
- package/platform/services/window/modules/actions.js.map +1 -0
- package/platform/services/window/types.d.ts +257 -50
- package/platform/services/window/types.d.ts.map +1 -1
- package/platform/services/workspace/types.d.ts +4 -3
- package/platform/services/workspace/types.d.ts.map +1 -1
- package/react/assets/css/core/icons.css +0 -5
- package/react/assets/css/fonts/icons-reference.html +1 -1
- package/react/assets/css/processMonitor.css +9 -4
- package/react/assets/css/windowTitleBar.css +100 -284
- package/react/assets/icons/chevron-down.svg +1 -0
- package/react/assets/icons/chevron-up.svg +1 -0
- package/react/components/common/ButtonRow.d.ts.map +1 -1
- package/react/components/common/ButtonRow.js +4 -9
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/ContextMenu.d.ts.map +1 -1
- package/react/components/common/ContextMenu.js +2 -10
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts.map +1 -1
- package/react/components/common/DropdownButton.js +11 -24
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.d.ts.map +1 -1
- package/react/components/common/FinsembleIcon.js +6 -4
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/css/accordion.css +9 -21
- package/react/components/common/css/application-edit-page.css +0 -4
- package/react/components/common/css/selector.css +3 -1
- package/react/components/downloadManager/DownloadManager.d.ts +1 -1
- package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
- package/react/components/downloadManager/DownloadManager.js +2 -4
- package/react/components/downloadManager/DownloadManager.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +2 -9
- package/react/components/linker/remoteRedux.d.ts.map +1 -1
- package/react/components/linker/remoteRedux.js +2 -22
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/notifications/css/notification-center.css +2 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js +14 -36
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js +5 -9
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
- package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js +3 -2
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/Process.d.ts +10 -0
- package/react/components/processMonitor/components/Process.d.ts.map +1 -0
- package/react/components/processMonitor/components/Process.js +11 -0
- package/react/components/processMonitor/components/Process.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +1 -2
- package/react/components/processMonitor/constants.d.ts.map +1 -1
- package/react/components/processMonitor/constants.js +2 -8
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +0 -1
- package/react/components/processMonitor/helpers.d.ts.map +1 -1
- package/react/components/processMonitor/helpers.js +2 -9
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +1 -2
- package/react/components/search/SearchInput.d.ts.map +1 -1
- package/react/components/search/SearchInput.js +11 -13
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/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/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/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/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/utils.d.ts +50 -0
- package/react/components/utils.d.ts.map +1 -0
- package/react/components/utils.js +60 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
- package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
- package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/CloseButton.js +22 -0
- package/react/components/windowTitleBar/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/GroupingButton.js +25 -0
- package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
- package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
- package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
- package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MaximizeButton.js +18 -0
- package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/MinimizeButton.js +21 -0
- package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
- package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
- package/react/components/windowTitleBar/ShareButton.js +24 -0
- package/react/components/windowTitleBar/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
- package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabRegion.js +453 -0
- package/react/components/windowTitleBar/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
- package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
- package/react/components/windowTitleBar/TabTitle.js +17 -0
- package/react/components/windowTitleBar/TabTitle.js.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
- package/react/components/windowTitleBar/TitleEdit.js +30 -0
- package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
- package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/index.d.ts +9 -8
- package/react/components/windowTitleBar/index.d.ts.map +1 -1
- package/react/components/windowTitleBar/index.js +9 -8
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
- package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
- package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
- package/react/components/windowTitleBar/useMaximize.js +23 -0
- package/react/components/windowTitleBar/useMaximize.js.map +1 -0
- package/react/components/yesNoDialog/timer.js +2 -1
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/hooks/useDashbar.d.ts.map +1 -1
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDragRegion.d.ts +27 -0
- package/react/hooks/useDragRegion.d.ts.map +1 -0
- package/react/hooks/useDragRegion.js +74 -0
- package/react/hooks/useDragRegion.js.map +1 -0
- package/react/hooks/useInjectedTitleBar.d.ts +3 -0
- package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
- package/react/hooks/useInjectedTitleBar.js +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/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
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { WindowTitleBarContext } from "../../windowTitleBarContext";
|
|
7
|
-
import { FEAGlobals } from "../../../../../common/Globals";
|
|
8
|
-
export const AlwaysOnTopButton = () => {
|
|
9
|
-
const { alwaysOnTop, showAlwaysOnTopButton } = React.useContext(WindowTitleBarContext);
|
|
10
|
-
const setAlwaysOnTop = () => FEAGlobals.FSBL.Clients.WindowClient.setAlwaysOnTop(!alwaysOnTop);
|
|
11
|
-
const classes = `fsbl-icon fsbl-always-on-top ${alwaysOnTop ? "fsbl-icon-highlighted" : ""}`;
|
|
12
|
-
return (React.createElement(React.Fragment, null, showAlwaysOnTopButton && (React.createElement("div", { className: classes, id: "fsbl-always-on-top", title: "Always On Top", onClick: setAlwaysOnTop },
|
|
13
|
-
React.createElement("i", { className: "ff-always-on-top" })))));
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=AlwaysOnTopButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AlwaysOnTopButton.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/AlwaysOnTopButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACrC,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;IAEvF,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,CAAC;IAE/F,MAAM,OAAO,GAAG,gCAAgC,WAAW,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAE7F,OAAO,CACN,0CACE,qBAAqB,IAAI,CACzB,6BAAK,SAAS,EAAE,OAAO,EAAE,EAAE,EAAC,oBAAoB,EAAC,KAAK,EAAC,eAAe,EAAC,OAAO,EAAE,cAAc;QAC7F,2BAAG,SAAS,EAAE,kBAAkB,GAAI,CAC/B,CACN,CACC,CACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/CloseButton.tsx"],"names":[],"mappings":";AAYA,eAAO,MAAM,WAAW,mBAYvB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { Actions as HeaderActions } from "../../stores/windowTitleBarStore";
|
|
7
|
-
import { WindowTitleBarContext } from "../../windowTitleBarContext";
|
|
8
|
-
const onClick = () => {
|
|
9
|
-
HeaderActions.clickClose();
|
|
10
|
-
};
|
|
11
|
-
export const CloseButton = () => {
|
|
12
|
-
const context = React.useContext(WindowTitleBarContext);
|
|
13
|
-
return (React.createElement(React.Fragment, null, context.showCloseButton && (React.createElement("div", { onClick: onClick, className: "fsbl-icon fsbl-close", title: "Close", id: "fsbl-window-close" },
|
|
14
|
-
React.createElement("i", { className: "ff-close" })))));
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=CloseButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/CloseButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,OAAO,GAAG,GAAG,EAAE;IACpB,aAAa,CAAC,UAAU,EAAE,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC/B,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;IAExD,OAAO,CACN,0CACE,OAAO,CAAC,eAAe,IAAI,CAC3B,6BAAK,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAC,OAAO,EAAC,EAAE,EAAC,mBAAmB;QAC3F,2BAAG,SAAS,EAAC,UAAU,GAAK,CACvB,CACN,CACC,CACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
interface IProps {
|
|
7
|
-
}
|
|
8
|
-
interface IState {
|
|
9
|
-
showDockingTooltip: boolean;
|
|
10
|
-
dockingIcon: string | false;
|
|
11
|
-
}
|
|
12
|
-
export declare class GroupingButton extends React.Component<IProps, IState> {
|
|
13
|
-
static contextType: React.Context<import("../../windowTitleBarContext").WindowTitleBarContextType>;
|
|
14
|
-
constructor(props: IProps);
|
|
15
|
-
/**
|
|
16
|
-
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
bindEventHandlers(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Add listeners to the store.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
UNSAFE_componentWillMount(): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Remove listeners from the store.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
componentWillUnmount(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Invoked when the store emits a change event. The icon will change. If we're grouped, we show the button that denotes group membership. If we're just snapped, we show the button that will group attached windows.
|
|
32
|
-
*
|
|
33
|
-
* @param {any} err
|
|
34
|
-
* @param {any} response
|
|
35
|
-
*/
|
|
36
|
-
onStoreChanged(err: any, response: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* Invoked when the user clicks the docking button.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
onClick(): void;
|
|
42
|
-
/**
|
|
43
|
-
* Render method
|
|
44
|
-
*
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
|
-
render(): JSX.Element;
|
|
48
|
-
}
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=GroupingButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupingButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/GroupingButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,MAAM;CAAG;AACnB,UAAU,MAAM;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC;CAC5B;AAED,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IAClE,MAAM,CAAC,WAAW,iFAAyB;gBAE/B,KAAK,EAAE,MAAM;IAazB;;;OAGG;IACH,iBAAiB;IAKjB;;;OAGG;IACG,yBAAyB;IAQ/B;;;OAGG;IACH,oBAAoB;IAIpB;;;;;OAKG;IACH,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG;IAItC;;;OAGG;IAEH,OAAO;IAIP;;;;OAIG;IACH,MAAM;CAqBN"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { WindowTitleBarContext } from "../../windowTitleBarContext";
|
|
7
|
-
import { getStore, Actions as HeaderActions } from "../../stores/windowTitleBarStore";
|
|
8
|
-
let windowTitleBarStore;
|
|
9
|
-
export class GroupingButton extends React.Component {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.bindEventHandlers();
|
|
13
|
-
/**
|
|
14
|
-
* We assign in the constructor instead of via a require at the top of the file because the store is initialized asynchronously.
|
|
15
|
-
*/
|
|
16
|
-
windowTitleBarStore = getStore();
|
|
17
|
-
this.state = {
|
|
18
|
-
showDockingTooltip: false,
|
|
19
|
-
dockingIcon: false,
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
bindEventHandlers() {
|
|
27
|
-
this.onClick = this.onClick.bind(this);
|
|
28
|
-
this.onStoreChanged = this.onStoreChanged.bind(this);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Add listeners to the store.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
async UNSAFE_componentWillMount() {
|
|
35
|
-
const iconResult = await windowTitleBarStore.get(["Main", "dockingIcon"]);
|
|
36
|
-
this.setState({
|
|
37
|
-
dockingIcon: iconResult.data,
|
|
38
|
-
});
|
|
39
|
-
windowTitleBarStore.addListener({ field: "Main.dockingIcon" }, this.onStoreChanged);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Remove listeners from the store.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
componentWillUnmount() {
|
|
46
|
-
windowTitleBarStore.removeListener({ field: "Main.dockingIcon" }, this.onStoreChanged);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Invoked when the store emits a change event. The icon will change. If we're grouped, we show the button that denotes group membership. If we're just snapped, we show the button that will group attached windows.
|
|
50
|
-
*
|
|
51
|
-
* @param {any} err
|
|
52
|
-
* @param {any} response
|
|
53
|
-
*/
|
|
54
|
-
onStoreChanged(err, response) {
|
|
55
|
-
this.setState({ dockingIcon: response.value });
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Invoked when the user clicks the docking button.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
onClick() {
|
|
62
|
-
HeaderActions.toggleGroup();
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Render method
|
|
66
|
-
*
|
|
67
|
-
* @returns
|
|
68
|
-
*/
|
|
69
|
-
render() {
|
|
70
|
-
let iconClass = "ff-";
|
|
71
|
-
let wrapClasses = "fsbl-icon fsbl-icon-bordered docking-control";
|
|
72
|
-
iconClass = iconClass + (this.state.dockingIcon === "ejector" ? "attached" : "detached");
|
|
73
|
-
let toolTip = this.state.dockingIcon === "ejector" ? "Detach Window" : "Attach Windows";
|
|
74
|
-
if (iconClass === "ff-attached") {
|
|
75
|
-
wrapClasses = `${wrapClasses} fsbl-icon-highlighted`;
|
|
76
|
-
}
|
|
77
|
-
return (React.createElement(React.Fragment, null, this.context.showDockingButton && (React.createElement("div", { className: wrapClasses, id: "fsbl-window-ejector", title: toolTip, onClick: this.onClick },
|
|
78
|
-
React.createElement("i", { className: iconClass })))));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
GroupingButton.contextType = WindowTitleBarContext;
|
|
82
|
-
//# sourceMappingURL=GroupingButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupingButton.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/GroupingButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtF,IAAI,mBAA+B,CAAC;AAQpC,MAAM,OAAO,cAAe,SAAQ,KAAK,CAAC,SAAyB;IAGlE,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB;;WAEG;QACH,mBAAmB,GAAG,QAAQ,EAAE,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG;YACZ,kBAAkB,EAAE,KAAK;YACzB,WAAW,EAAE,KAAK;SAClB,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,iBAAiB;QAChB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,yBAAyB;QAC9B,MAAM,UAAU,GAAG,MAAM,mBAAmB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,QAAQ,CAAC;YACb,WAAW,EAAE,UAAU,CAAC,IAAI;SAC5B,CAAC,CAAC;QACH,mBAAmB,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrF,CAAC;IAED;;;OAGG;IACH,oBAAoB;QACnB,mBAAmB,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACxF,CAAC;IAED;;;;;OAKG;IACH,cAAc,CAAC,GAAQ,EAAE,QAAa;QACrC,IAAI,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAChD,CAAC;IAED;;;OAGG;IAEH,OAAO;QACN,aAAa,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;IAED;;;;OAIG;IACH,MAAM;QACL,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,IAAI,WAAW,GAAG,8CAA8C,CAAC;QAEjE,SAAS,GAAG,SAAS,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACzF,IAAI,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC;QAExF,IAAI,SAAS,KAAK,aAAa,EAAE;YAChC,WAAW,GAAG,GAAG,WAAW,wBAAwB,CAAC;SACrD;QAED,OAAO,CACN,0CACE,IAAI,CAAC,OAAO,CAAC,iBAAiB,IAAI,CAClC,6BAAK,SAAS,EAAE,WAAW,EAAE,EAAE,EAAC,qBAAqB,EAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO;YAC1F,2BAAG,SAAS,EAAE,SAAS,GAAM,CACxB,CACN,CACC,CACH,CAAC;IACH,CAAC;;AAxFM,0BAAW,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
interface IProps {
|
|
7
|
-
}
|
|
8
|
-
interface IState {
|
|
9
|
-
maximized: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Maximize button. This button is hidden when the window is maximized. In its place is the restore button.
|
|
13
|
-
*/
|
|
14
|
-
export declare class MaximizeButton extends React.Component<IProps, IState> {
|
|
15
|
-
static contextType: React.Context<import("../../windowTitleBarContext").WindowTitleBarContextType>;
|
|
16
|
-
constructor(props: IProps);
|
|
17
|
-
/**
|
|
18
|
-
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
19
|
-
*
|
|
20
|
-
* @memberof MaximizeButton
|
|
21
|
-
*/
|
|
22
|
-
bindCorrectContext(): void;
|
|
23
|
-
/**
|
|
24
|
-
* When the state changes, this listener is invoked. There are two states: Not maximized, and maximized. When the window is maximized, the button changes to an icon that denotes "Restore to previous size."
|
|
25
|
-
*
|
|
26
|
-
* @param {any} err
|
|
27
|
-
* @param {any} response
|
|
28
|
-
* @memberof MaximizeButton
|
|
29
|
-
*/
|
|
30
|
-
onRestored(): void;
|
|
31
|
-
onMaximized(): void;
|
|
32
|
-
/**
|
|
33
|
-
* Invoked when the user clicks the button.
|
|
34
|
-
*
|
|
35
|
-
* @memberof MaximizeButton
|
|
36
|
-
*/
|
|
37
|
-
onClick(): void;
|
|
38
|
-
/**
|
|
39
|
-
* Add listeners to the store.
|
|
40
|
-
*
|
|
41
|
-
* @memberof MaximizeButton
|
|
42
|
-
*/
|
|
43
|
-
UNSAFE_componentWillMount(): Promise<void>;
|
|
44
|
-
/**
|
|
45
|
-
* Remove listeners from the store.
|
|
46
|
-
*
|
|
47
|
-
* @memberof MaximizeButton
|
|
48
|
-
*/
|
|
49
|
-
componentWillUnmount(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Render method.
|
|
52
|
-
*
|
|
53
|
-
* @returns
|
|
54
|
-
* @memberof MaximizeButton
|
|
55
|
-
*/
|
|
56
|
-
render(): JSX.Element;
|
|
57
|
-
}
|
|
58
|
-
export {};
|
|
59
|
-
//# sourceMappingURL=MaximizeButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MaximizeButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/MaximizeButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,UAAU,MAAM;CAAG;AACnB,UAAU,MAAM;IACf,SAAS,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IAClE,MAAM,CAAC,WAAW,iFAAyB;gBAE/B,KAAK,EAAE,MAAM;IAazB;;;;OAIG;IACH,kBAAkB;IAKlB;;;;;;OAMG;IACH,UAAU;IAIV,WAAW;IAIX;;;;OAIG;IACH,OAAO;IAIP;;;;OAIG;IACG,yBAAyB;IAW/B;;;;OAIG;IACH,oBAAoB;IAKpB;;;;;OAKG;IACH,MAAM;CAkBN"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { WindowTitleBarContext } from "../../windowTitleBarContext";
|
|
7
|
-
import { getStore, Actions as HeaderActions } from "../../stores/windowTitleBarStore";
|
|
8
|
-
import { FEAGlobals } from "../../../../../common/Globals";
|
|
9
|
-
import { WINDOWSTATE } from "../../../../../common/constants";
|
|
10
|
-
let windowTitleBarStore;
|
|
11
|
-
/**
|
|
12
|
-
* Maximize button. This button is hidden when the window is maximized. In its place is the restore button.
|
|
13
|
-
*/
|
|
14
|
-
export class MaximizeButton extends React.Component {
|
|
15
|
-
constructor(props) {
|
|
16
|
-
super(props);
|
|
17
|
-
this.bindCorrectContext();
|
|
18
|
-
/**
|
|
19
|
-
* We assign in the constructor instead of via a require at the top of the file because the store is initialized asynchronously.
|
|
20
|
-
*/
|
|
21
|
-
windowTitleBarStore = getStore();
|
|
22
|
-
this.state = {
|
|
23
|
-
maximized: false,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
28
|
-
*
|
|
29
|
-
* @memberof MaximizeButton
|
|
30
|
-
*/
|
|
31
|
-
bindCorrectContext() {
|
|
32
|
-
this.onMaximized = this.onMaximized.bind(this);
|
|
33
|
-
this.onRestored = this.onRestored.bind(this);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* When the state changes, this listener is invoked. There are two states: Not maximized, and maximized. When the window is maximized, the button changes to an icon that denotes "Restore to previous size."
|
|
37
|
-
*
|
|
38
|
-
* @param {any} err
|
|
39
|
-
* @param {any} response
|
|
40
|
-
* @memberof MaximizeButton
|
|
41
|
-
*/
|
|
42
|
-
onRestored() {
|
|
43
|
-
this.setState({ maximized: false });
|
|
44
|
-
}
|
|
45
|
-
onMaximized() {
|
|
46
|
-
this.setState({ maximized: true });
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Invoked when the user clicks the button.
|
|
50
|
-
*
|
|
51
|
-
* @memberof MaximizeButton
|
|
52
|
-
*/
|
|
53
|
-
onClick() {
|
|
54
|
-
HeaderActions.clickMaximize();
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Add listeners to the store.
|
|
58
|
-
*
|
|
59
|
-
* @memberof MaximizeButton
|
|
60
|
-
*/
|
|
61
|
-
async UNSAFE_componentWillMount() {
|
|
62
|
-
const isMaximized = FEAGlobals.finsembleWindow.windowOptions.windowState === WINDOWSTATE.MAXIMIZED;
|
|
63
|
-
await windowTitleBarStore.set(["Maximize", "maximized"], isMaximized);
|
|
64
|
-
this.setState({
|
|
65
|
-
maximized: isMaximized,
|
|
66
|
-
});
|
|
67
|
-
FEAGlobals.finsembleWindow.addListener("maximized", this.onMaximized);
|
|
68
|
-
FEAGlobals.finsembleWindow.addListener("restored", this.onRestored);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Remove listeners from the store.
|
|
72
|
-
*
|
|
73
|
-
* @memberof MaximizeButton
|
|
74
|
-
*/
|
|
75
|
-
componentWillUnmount() {
|
|
76
|
-
FEAGlobals.finsembleWindow.removeListener("maximized", this.onMaximized);
|
|
77
|
-
FEAGlobals.finsembleWindow.removeListener("restored", this.onRestored);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Render method.
|
|
81
|
-
*
|
|
82
|
-
* @returns
|
|
83
|
-
* @memberof MaximizeButton
|
|
84
|
-
*/
|
|
85
|
-
render() {
|
|
86
|
-
const tooltip = this.state.maximized ? "Restore" : "Maximize";
|
|
87
|
-
// Classes for the maximize button.
|
|
88
|
-
const iconClasses = this.state.maximized ? "ff-restore" : "ff-maximize";
|
|
89
|
-
// Classes for the wrap
|
|
90
|
-
const wrapClasses = `fsbl-icon fsbl-maximize ${this.state.maximized ? "window-restore" : "window-max"}`;
|
|
91
|
-
return (React.createElement(React.Fragment, null, this.context.showMaximizeButton && (React.createElement("div", { className: wrapClasses, id: "fsbl-window-restore", title: tooltip, onClick: this.onClick },
|
|
92
|
-
React.createElement("i", { className: iconClasses })))));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
MaximizeButton.contextType = WindowTitleBarContext;
|
|
96
|
-
//# sourceMappingURL=MaximizeButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MaximizeButton.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/MaximizeButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,IAAI,mBAA+B,CAAC;AAOpC;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,KAAK,CAAC,SAAyB;IAGlE,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC1B;;WAEG;QACH,mBAAmB,GAAG,QAAQ,EAAE,CAAC;QAEjC,IAAI,CAAC,KAAK,GAAG;YACZ,SAAS,EAAE,KAAK;SAChB,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,kBAAkB;QACjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;OAMG;IACH,UAAU;QACT,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC;IACrC,CAAC;IAED,WAAW;QACV,IAAI,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpC,CAAC;IAED;;;;OAIG;IACH,OAAO;QACN,aAAa,CAAC,aAAa,EAAE,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,yBAAyB;QAC9B,MAAM,WAAW,GAAG,UAAU,CAAC,eAAe,CAAC,aAAa,CAAC,WAAW,KAAK,WAAW,CAAC,SAAS,CAAC;QACnG,MAAM,mBAAmB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;QACtE,IAAI,CAAC,QAAQ,CAAC;YACb,SAAS,EAAE,WAAW;SACtB,CAAC,CAAC;QAEH,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACtE,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,oBAAoB;QACnB,UAAU,CAAC,eAAe,CAAC,cAAc,CAAC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QACzE,UAAU,CAAC,eAAe,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACxE,CAAC;IAED;;;;;OAKG;IACH,MAAM;QACL,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC;QAE9D,mCAAmC;QACnC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC;QACxE,uBAAuB;QACvB,MAAM,WAAW,GAAG,2BAA2B,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC;QAExG,OAAO,CACN,0CACE,IAAI,CAAC,OAAO,CAAC,kBAAkB,IAAI,CACnC,6BAAK,SAAS,EAAE,WAAW,EAAE,EAAE,EAAC,qBAAqB,EAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO;YAC1F,2BAAG,SAAS,EAAE,WAAW,GAAM,CAC1B,CACN,CACC,CACH,CAAC;IACH,CAAC;;AAlGM,0BAAW,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
interface IProps {
|
|
7
|
-
}
|
|
8
|
-
export declare class MinimizeButton extends React.Component<IProps> {
|
|
9
|
-
static contextType: React.Context<import("../../windowTitleBarContext").WindowTitleBarContextType>;
|
|
10
|
-
constructor(props: IProps);
|
|
11
|
-
/**
|
|
12
|
-
* Invoked when the user clicks the minimize button.
|
|
13
|
-
*
|
|
14
|
-
* @memberof MinimizeButton
|
|
15
|
-
*/
|
|
16
|
-
onClick(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Render method.
|
|
19
|
-
*
|
|
20
|
-
* @returns
|
|
21
|
-
* @memberof MinimizeButton
|
|
22
|
-
*/
|
|
23
|
-
render(): JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
26
|
-
//# sourceMappingURL=MinimizeButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MinimizeButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/MinimizeButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,MAAM;CAAG;AAEnB,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;IAC1D,MAAM,CAAC,WAAW,iFAAyB;gBAE/B,KAAK,EAAE,MAAM;IAIzB;;;;OAIG;IACH,OAAO;IAIP;;;;;OAKG;IACH,MAAM;CAWN"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { WindowTitleBarContext } from "../../windowTitleBarContext";
|
|
7
|
-
import { Actions as HeaderActions } from "../../stores/windowTitleBarStore";
|
|
8
|
-
export class MinimizeButton extends React.Component {
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Invoked when the user clicks the minimize button.
|
|
14
|
-
*
|
|
15
|
-
* @memberof MinimizeButton
|
|
16
|
-
*/
|
|
17
|
-
onClick() {
|
|
18
|
-
HeaderActions.clickMinimize();
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Render method.
|
|
22
|
-
*
|
|
23
|
-
* @returns
|
|
24
|
-
* @memberof MinimizeButton
|
|
25
|
-
*/
|
|
26
|
-
render() {
|
|
27
|
-
return (React.createElement(React.Fragment, null, this.context.showMinimizeButton && (React.createElement("div", { className: "fsbl-icon fsbl-minimize", id: "fsbl-window-minimize", title: "Minimize", onClick: this.onClick },
|
|
28
|
-
React.createElement("i", { className: "ff-minimize" })))));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
MinimizeButton.contextType = WindowTitleBarContext;
|
|
32
|
-
//# sourceMappingURL=MinimizeButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MinimizeButton.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/right/MinimizeButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAI5E,MAAM,OAAO,cAAe,SAAQ,KAAK,CAAC,SAAiB;IAG1D,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;IACd,CAAC;IAED;;;;OAIG;IACH,OAAO;QACN,aAAa,CAAC,aAAa,EAAE,CAAC;IAC/B,CAAC;IAED;;;;;OAKG;IACH,MAAM;QACL,OAAO,CACN,0CACE,IAAI,CAAC,OAAO,CAAC,kBAAkB,IAAI,CACnC,6BAAK,SAAS,EAAC,yBAAyB,EAAC,EAAE,EAAC,sBAAsB,EAAC,KAAK,EAAC,UAAU,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO;YACxG,2BAAG,SAAS,EAAC,aAAa,GAAK,CAC1B,CACN,CACC,CACH,CAAC;IACH,CAAC;;AA/BM,0BAAW,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { WindowIdentifier } from "../../../../platform/services/window/types";
|
|
2
|
-
import { ListenerFunction } from "../../../../types";
|
|
3
|
-
import { Component } from "react";
|
|
4
|
-
/**
|
|
5
|
-
* TAB TITLES: HOW DO THEY WORK?
|
|
6
|
-
*
|
|
7
|
-
* Each component, when stacked, will have several tab titles. For each component, there is a window. For each window, there are 2 tab titles per component.
|
|
8
|
-
*
|
|
9
|
-
* Whichever component is "active" will render all tabs - exactly one "active" tab and n-1 "inactive" tabs (where n is the number of components in the stack). When
|
|
10
|
-
* the active component is changed (via a click, for example), then the visible window becomes the window associated with the active component.
|
|
11
|
-
*
|
|
12
|
-
* Tab titles may change at any time, and for a number of reasons. For example, the component may execute "document.title='...some title'". Or perhaps the tab title has
|
|
13
|
-
* been edited by the user. In order to account for all title changes, the following flow is used:
|
|
14
|
-
* *something* updates document.title
|
|
15
|
-
* The WindowClient for the component will notice the title change and send a router message (via FinsembleWindow.setTitle) with a topic representitive of the windowName
|
|
16
|
-
* BaseWindow listens to router changes on the same topic and updates a DistributedStore dedicated to tab names
|
|
17
|
-
* The tab components all subscribe to the DistributedStore dedicated to tab names and will update the title accordingly
|
|
18
|
-
*
|
|
19
|
-
* This is a "one-way" operation; that is to say that some code will ultimately alter the DistributedStore and the tab title components will read the changes. While this generally
|
|
20
|
-
* happens with a write to document.title, it can also happen when a user edits the tab title manually. In this case, the component state is altered with a field "persistedTitle"
|
|
21
|
-
* whose value is the edited title. At render time, the tab title component will use any value in "persistedTitle" as the title, irregardless of any other value.
|
|
22
|
-
*
|
|
23
|
-
* NOTE: A tab may be edited only when it is the active component; ergo the call to "setComponentState" is safe.
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* WINDOW TITLES: HOW DO THEY WORK?
|
|
27
|
-
*
|
|
28
|
-
* Each application window has a title which is displayed in the operating system taskbar and task switcher. This title comes from the
|
|
29
|
-
* value of "document.title" in the window title bar component. It is important to understand that when tabs are stacked, the actual window
|
|
30
|
-
* which holds the window title is the title of the window of the active component. It is therefore important to keep the window title and the
|
|
31
|
-
* tab titles up to date and synchronized.
|
|
32
|
-
*/
|
|
33
|
-
declare type TitleProps = {
|
|
34
|
-
windowIdentifier: WindowIdentifier;
|
|
35
|
-
onUpdate?: Function;
|
|
36
|
-
titleWidth?: number;
|
|
37
|
-
onClick?: () => void;
|
|
38
|
-
};
|
|
39
|
-
declare type TitleState = {
|
|
40
|
-
title: string | undefined;
|
|
41
|
-
icon: any;
|
|
42
|
-
windowName?: string;
|
|
43
|
-
};
|
|
44
|
-
export declare class Title extends Component<TitleProps, TitleState> {
|
|
45
|
-
#private;
|
|
46
|
-
tabTitleChangedStoreListener: ListenerFunction;
|
|
47
|
-
_mounted: boolean;
|
|
48
|
-
constructor(props: TitleProps);
|
|
49
|
-
/**
|
|
50
|
-
* Updates the title for both the tab and the window.
|
|
51
|
-
*
|
|
52
|
-
* @returns a Promise which resolves nothing
|
|
53
|
-
*/
|
|
54
|
-
updateTitle(): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* React component lifecycle event, triggered once the component has been added to the DOM.
|
|
57
|
-
*/
|
|
58
|
-
componentDidMount(): void;
|
|
59
|
-
componentDidUpdate(): void;
|
|
60
|
-
/**
|
|
61
|
-
* React component lifecycle event, triggered before the component is removed from the DOM.
|
|
62
|
-
*/
|
|
63
|
-
componentWillUnmount(): void;
|
|
64
|
-
render(): JSX.Element;
|
|
65
|
-
}
|
|
66
|
-
export {};
|
|
67
|
-
//# sourceMappingURL=windowTitle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windowTitle.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/windowTitleBar/components/windowTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAiB,MAAM,mBAAmB,CAAC;AACpE,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzC;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;;;;GAOG;AAEH,aAAK,UAAU,GAAG;IACjB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,GAAG,CAAC;IACV,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA0JF,qBAAa,KAAM,SAAQ,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;;IAG3D,4BAA4B,EAAE,gBAAgB,CAmB5C;IAQF,QAAQ,UAAS;gBAEL,KAAK,EAAE,UAAU;IAoJ7B;;;;OAIG;IACG,WAAW;IAqGjB;;OAEG;IACH,iBAAiB;IASjB,kBAAkB;IAMlB;;OAEG;IACH,oBAAoB;IAQpB,MAAM;CAkBN"}
|