@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
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export const enzymeQuerySelectorWrapper = (wrapper, querySelectorStr, element = undefined) => {
|
|
2
|
+
const el = element !== null && element !== void 0 ? element : document.createElement("div");
|
|
3
|
+
el.innerHTML = wrapper.html();
|
|
4
|
+
return el.querySelector(querySelectorStr);
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Makes onClick functions accessible by duplicating them in an onKeyDown prop. If you also
|
|
8
|
+
* have an onKeyDown function you'd like to provide, you can add it as an optional second argument.
|
|
9
|
+
*
|
|
10
|
+
* Why does it make it more accessible? The `onClick` prop usually only fires if someone
|
|
11
|
+
* clicks an element with a mouse. If a user can't use a mouse due to a disability, they
|
|
12
|
+
* are unable to activate the element. Normally, you'd have to wire up the element to receive
|
|
13
|
+
* tab focus (using `tabIndex={0}`), as well as duplicating the onClick function for Enter
|
|
14
|
+
* and Spacebar key presses. This function does that for you.
|
|
15
|
+
*
|
|
16
|
+
* Note that this is not necessary for buttons or anchor tags.
|
|
17
|
+
*
|
|
18
|
+
* Note that this returns `tabIndex={0}`. If you want to set a custom tabIndex value, apply it
|
|
19
|
+
* after invoking this function. See example.
|
|
20
|
+
*
|
|
21
|
+
* Examples:
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <div role="button" {...onClickA11y(callback)}>Click me!</div>
|
|
24
|
+
*
|
|
25
|
+
* <span className="icon" role="button", {...onClickA11y(() => {
|
|
26
|
+
* // do something
|
|
27
|
+
* })}></span>
|
|
28
|
+
*
|
|
29
|
+
* <div role="tab" {...onClickA11y(
|
|
30
|
+
* () => setState(true),
|
|
31
|
+
* (e) => {
|
|
32
|
+
* if(e.key === "ArrowRight"){
|
|
33
|
+
moveRight();
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
* )}
|
|
37
|
+
*
|
|
38
|
+
* // If you want to set a custom tabIndex value, set it *after* spreading the onClickA11y values.
|
|
39
|
+
* // This will let you overwrite the tabIndex value.
|
|
40
|
+
* tabIndex={focused ? 0 : 1}
|
|
41
|
+
* >Label</div>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param onClickFn The function that normally goes in the `onClick={}` prop
|
|
45
|
+
* @param onKeyDown The function that normally goes in the `onKeyDown={}` prop
|
|
46
|
+
* @returns
|
|
47
|
+
*/
|
|
48
|
+
export const onClickA11y = (onClickFn, onKeyDown) => {
|
|
49
|
+
return {
|
|
50
|
+
tabIndex: 0,
|
|
51
|
+
onClick: onClickFn,
|
|
52
|
+
onKeyDown: (e) => {
|
|
53
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
54
|
+
onClickFn(e);
|
|
55
|
+
}
|
|
56
|
+
onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/ui/components/utils.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACzC,OAAqB,EACrB,gBAAwB,EACxB,UAAmC,SAAS,EAC3C,EAAE;IACH,MAAM,EAAE,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpD,EAAE,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC9B,OAAO,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAC3C,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAC1B,SAA8D,EAC9D,SAA4C,EAC3C,EAAE;IACH,OAAO;QACN,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,CAAC,CAAsB,EAAE,EAAE;YACrC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;gBACvC,SAAS,CAAC,CAAC,CAAC,CAAC;aACb;YACD,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,CAAC,CAAC,CAAC;QAChB,CAAC;KACD,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Note: The AOT icon will flash briefly when dragging tabs into a window that the icon enabled. This is because
|
|
4
|
+
* FEA's bringToFront action is actually implemented as alwaysOnTop(true);alwaysOnTop(false);. Dragging the tab
|
|
5
|
+
* causes the window to be brought to front, which causes aot to be momentarily enabled, which causes the icon
|
|
6
|
+
* to briefly reflect that state by being highlighted. See FEA for the reasons why bringToFront is implemented that way.
|
|
7
|
+
*/
|
|
8
|
+
export declare const AlwaysOnTopButton: () => JSX.Element;
|
|
9
|
+
//# sourceMappingURL=AlwaysOnTopButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlwaysOnTopButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/AlwaysOnTopButton.tsx"],"names":[],"mappings":";AAMA;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,mBAwB7B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { actions } from "../../../platform/services/window/modules/actions";
|
|
3
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
4
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
+
/**
|
|
6
|
+
* Note: The AOT icon will flash briefly when dragging tabs into a window that the icon enabled. This is because
|
|
7
|
+
* FEA's bringToFront action is actually implemented as alwaysOnTop(true);alwaysOnTop(false);. Dragging the tab
|
|
8
|
+
* causes the window to be brought to front, which causes aot to be momentarily enabled, which causes the icon
|
|
9
|
+
* to briefly reflect that state by being highlighted. See FEA for the reasons why bringToFront is implemented that way.
|
|
10
|
+
*/
|
|
11
|
+
export const AlwaysOnTopButton = () => {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
const dispatch = useDispatch();
|
|
14
|
+
const state = useSelector((currentState) => currentState);
|
|
15
|
+
const windowName = useContext(WindowNameContext);
|
|
16
|
+
const showAlwaysOnTopButton = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.showAlwaysOnTopButton : true);
|
|
17
|
+
const isAlwaysOnTop = !!(windowName ? (_b = state.windows[windowName]) === null || _b === void 0 ? void 0 : _b.alwaysOnTop : false);
|
|
18
|
+
if (!showAlwaysOnTopButton)
|
|
19
|
+
return React.createElement(React.Fragment, null);
|
|
20
|
+
const setAlwaysOnTop = () => {
|
|
21
|
+
dispatch(actions.setAlwaysOnTop({
|
|
22
|
+
toggleState: !isAlwaysOnTop,
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
const classes = `fsbl-icon fsbl-always-on-top${isAlwaysOnTop ? " fsbl-icon-highlighted" : ""}`;
|
|
26
|
+
return (React.createElement("div", { className: classes, id: "fsbl-always-on-top", title: "Always On Top", onClick: setAlwaysOnTop },
|
|
27
|
+
React.createElement("i", { className: "ff-always-on-top" })));
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=AlwaysOnTopButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlwaysOnTopButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/AlwaysOnTopButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;;IACrC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC/E,MAAM,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjD,MAAM,qBAAqB,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,qBAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvG,MAAM,aAAa,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEtF,IAAI,CAAC,qBAAqB;QAAE,OAAO,yCAAK,CAAC;IAEzC,MAAM,cAAc,GAAG,GAAG,EAAE;QAC3B,QAAQ,CACP,OAAO,CAAC,cAAc,CAAC;YACtB,WAAW,EAAE,CAAC,aAAa;SAC3B,CAAC,CACF,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,OAAO,GAAG,+BAA+B,aAAa,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAE/F,OAAO,CACN,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,CAAC;AACH,CAAC,CAAC"}
|
package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/CloseButton.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,WAAW,mBAuBvB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { actions } from "../../../platform/services/window/modules/actions";
|
|
3
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
4
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
+
export const CloseButton = () => {
|
|
6
|
+
var _a;
|
|
7
|
+
const dispatch = useDispatch();
|
|
8
|
+
const state = useSelector((currentState) => currentState);
|
|
9
|
+
const windowName = useContext(WindowNameContext);
|
|
10
|
+
const showCloseButton = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.showCloseButton : true);
|
|
11
|
+
if (!showCloseButton) {
|
|
12
|
+
return React.createElement(React.Fragment, null);
|
|
13
|
+
}
|
|
14
|
+
const closeThisWindow = () => {
|
|
15
|
+
dispatch(actions.close({
|
|
16
|
+
windowName: window.name,
|
|
17
|
+
}));
|
|
18
|
+
};
|
|
19
|
+
return (React.createElement("div", { onClick: closeThisWindow, className: "fsbl-icon fsbl-close", title: "Close", id: "fsbl-window-close" },
|
|
20
|
+
React.createElement("i", { className: "ff-close" })));
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=CloseButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/CloseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC/E,MAAM,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjD,MAAM,eAAe,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAE3F,IAAI,CAAC,eAAe,EAAE;QACrB,OAAO,yCAAK,CAAC;KACb;IAED,MAAM,eAAe,GAAG,GAAG,EAAE;QAC5B,QAAQ,CACP,OAAO,CAAC,KAAK,CAAC;YACb,UAAU,EAAE,MAAM,CAAC,IAAI;SACvB,CAAC,CACF,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,OAAO,EAAE,eAAe,EAAE,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAC,OAAO,EAAC,EAAE,EAAC,mBAAmB;QACnG,2BAAG,SAAS,EAAC,UAAU,GAAK,CACvB,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupingButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/GroupingButton.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc,mBA2B1B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { actions } from "../../../platform/services/window/modules/actions";
|
|
3
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
4
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
+
export const GroupingButton = () => {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
const dispatch = useDispatch();
|
|
8
|
+
const state = useSelector((currentState) => currentState);
|
|
9
|
+
const windowName = useContext(WindowNameContext);
|
|
10
|
+
const isGrouped = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.isGrouped : false);
|
|
11
|
+
const groupable = !!(windowName ? (_b = state.windows[windowName]) === null || _b === void 0 ? void 0 : _b.groupable : false);
|
|
12
|
+
if (!groupable)
|
|
13
|
+
return React.createElement(React.Fragment, null);
|
|
14
|
+
const iconClass = `ff-${isGrouped ? "attached" : "detached"}`;
|
|
15
|
+
const wrapClasses = `fsbl-icon fsbl-icon-bordered docking-control${isGrouped ? " fsbl-icon-highlighted" : ""}`;
|
|
16
|
+
const toolTip = isGrouped ? "Detach Window" : "Attach Windows";
|
|
17
|
+
const setGrouped = () => {
|
|
18
|
+
dispatch(actions.setGrouped({
|
|
19
|
+
toggleState: !isGrouped,
|
|
20
|
+
}));
|
|
21
|
+
};
|
|
22
|
+
return (React.createElement("div", { className: wrapClasses, id: "fsbl-window-ejector", title: toolTip, onClick: setGrouped },
|
|
23
|
+
React.createElement("i", { className: iconClass })));
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=GroupingButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupingButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/GroupingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;;IAClC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC/E,MAAM,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAChF,MAAM,SAAS,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEhF,IAAI,CAAC,SAAS;QAAE,OAAO,yCAAK,CAAC;IAE7B,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9D,MAAM,WAAW,GAAG,+CAA+C,SAAS,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAE/G,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC;IAE/D,MAAM,UAAU,GAAG,GAAG,EAAE;QACvB,QAAQ,CACP,OAAO,CAAC,UAAU,CAAC;YAClB,WAAW,EAAE,CAAC,SAAS;SACvB,CAAC,CACF,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAE,WAAW,EAAE,EAAE,EAAC,qBAAqB,EAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU;QACxF,2BAAG,SAAS,EAAE,SAAS,GAAM,CACxB,CACN,CAAC;AACH,CAAC,CAAC"}
|
package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAU3D,UAAU,iBAAiB;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACjC;AA4ID,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAEoB,CAAC"}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import React, { useRef, useEffect, useState } from "react";
|
|
6
6
|
import { LinkerGroups } from "./LinkerGroups";
|
|
7
7
|
import { useDispatch, useSelector, Provider } from "react-redux";
|
|
8
|
-
import { getStore } from "
|
|
9
|
-
import {
|
|
10
|
-
import { linkerActions as actions } from "
|
|
11
|
-
import { FEAGlobals } from "
|
|
8
|
+
import { getStore } from "../linker/remoteRedux";
|
|
9
|
+
import { LinkerButtonDeprecated } from "./LinkerButtonDeprecated";
|
|
10
|
+
import { linkerActions as actions } from "../../../platform/services/Interop/modules/actions";
|
|
11
|
+
import { FEAGlobals } from "../../../common/Globals";
|
|
12
12
|
const LinkerButtonIcon = () => (React.createElement("svg", { width: "15px", height: "15px", viewBox: "2 1 13 13", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" },
|
|
13
13
|
React.createElement("title", null, "Linker"),
|
|
14
14
|
React.createElement("defs", null,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAMrD,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,CAC9B,6BACC,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B;IAEzC,4CAAqB;IACrB;QACC,8BACC,EAAE,EAAC,WAAW,EACd,CAAC,EAAC,yMAAyM,GAC1M;QACF,gCAAQ,EAAE,EAAC,WAAW,EAAC,CAAC,EAAC,QAAQ,EAAC,CAAC,EAAC,OAAO,EAAC,KAAK,E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EAAE,EAAE,CAAC,oBAAC,WAAW,IAAC,sBAAsB,EAAE,sBAAsB,GAAI,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
interface LinkerButtonProps {
|
|
7
|
+
enableKeyboardShortcut?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const LinkerButtonDeprecated: React.FunctionComponent<LinkerButtonProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=LinkerButtonDeprecated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerButtonDeprecated.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerButtonDeprecated.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,UAAU,iBAAiB;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACjC;AA6BD,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAoD7E,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React, { useRef, useEffect } from "react";
|
|
6
|
+
import { LinkerGroupsDeprecated } from "./LinkerGroupsDeprecated";
|
|
7
|
+
import { FEAGlobals } from "../../../common/Globals";
|
|
8
|
+
const LinkerButtonIcon = () => (React.createElement("svg", { width: "15px", height: "15px", viewBox: "2 1 13 13", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" },
|
|
9
|
+
React.createElement("title", null, "Linker"),
|
|
10
|
+
React.createElement("defs", null,
|
|
11
|
+
React.createElement("path", { id: "prefix__b", d: "M17.925 15.425h-1v-2.5a2.5 2.5 0 0 0-5 0v2.5h-1v-2.5a3.5 3.5 0 1 1 7 0v2.5zm0 2v2.5a3.5 3.5 0 1 1-7 0v-2.5h1v2.5a2.5 2.5 0 0 0 5 0v-2.5h1zm-3.5-4a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0v-5a.5.5 0 0 1 .5-.5z" }),
|
|
12
|
+
React.createElement("filter", { id: "prefix__a", x: "-28.6%", y: "-7.1%", width: "157.1%", height: "128.6%" },
|
|
13
|
+
React.createElement("feOffset", { dy: "1", in: "SourceAlpha", result: "shadowOffsetOuter1" }),
|
|
14
|
+
React.createElement("feGaussianBlur", { in: "shadowOffsetOuter1", result: "shadowBlurOuter1", stdDeviation: ".5" }),
|
|
15
|
+
React.createElement("feColorMatrix", { in: "shadowBlurOuter1", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" }))),
|
|
16
|
+
React.createElement("g", { transform: "rotate(45 22.289 4.682)", fillRule: "nonzero", fill: "none" },
|
|
17
|
+
React.createElement("use", { filter: "url(#prefix__a)", xlinkHref: "#prefix__b" }),
|
|
18
|
+
React.createElement("use", { xlinkHref: "#prefix__b" }))));
|
|
19
|
+
export const LinkerButtonDeprecated = ({ enableKeyboardShortcut = true, }) => {
|
|
20
|
+
const buttonRef = useRef(null);
|
|
21
|
+
const showLinkerWindow = () => {
|
|
22
|
+
let payload = {
|
|
23
|
+
channels: FEAGlobals.FSBL.Clients.LinkerClient.getState().channels,
|
|
24
|
+
windowIdentifier: FEAGlobals.FSBL.Clients.WindowClient.getWindowIdentifier(),
|
|
25
|
+
};
|
|
26
|
+
FEAGlobals.FSBL.Clients.RouterClient.query("Finsemble.LinkerWindow.SetActiveChannels", payload, () => {
|
|
27
|
+
if (!buttonRef.current)
|
|
28
|
+
return;
|
|
29
|
+
const wi = {
|
|
30
|
+
componentType: "LinkerWindow",
|
|
31
|
+
};
|
|
32
|
+
// The offset parent is needed so that the menu isn't shown relative to the icon.
|
|
33
|
+
// The HTMLElement.offsetParent read-only property returns a reference to the object which is the closest (nearest in the containment hierarchy) positioned containing element.
|
|
34
|
+
const linkerParent = buttonRef.current.offsetParent
|
|
35
|
+
? buttonRef.current.offsetParent
|
|
36
|
+
: buttonRef.current.parentElement;
|
|
37
|
+
if (!linkerParent)
|
|
38
|
+
return;
|
|
39
|
+
let params = {
|
|
40
|
+
position: "relative",
|
|
41
|
+
left: linkerParent.offsetLeft,
|
|
42
|
+
top: linkerParent.offsetHeight,
|
|
43
|
+
forceOntoMonitor: true,
|
|
44
|
+
spawnIfNotFound: false,
|
|
45
|
+
};
|
|
46
|
+
// pass linkerbutton. If it's clicked while the menu is open, we let the blur occur.
|
|
47
|
+
FEAGlobals.FSBL.Clients.LauncherClient.toggleWindowOnClick(buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current, wi, params);
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
enableKeyboardShortcut &&
|
|
52
|
+
window.addEventListener("keydown", (e) => {
|
|
53
|
+
if (e.key === "l" && (e.ctrlKey || e.metaKey)) {
|
|
54
|
+
showLinkerWindow();
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}, []);
|
|
58
|
+
return (React.createElement("div", { ref: buttonRef, title: "Link Data", className: "linkerSection" },
|
|
59
|
+
React.createElement("div", { className: "fsbl-icon fsbl-linker", onClick: showLinkerWindow },
|
|
60
|
+
React.createElement(LinkerButtonIcon, null)),
|
|
61
|
+
React.createElement(LinkerGroupsDeprecated, null)));
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=LinkerButtonDeprecated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerButtonDeprecated.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerButtonDeprecated.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,EAAE,MAAM,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BAAgB,EAAE,CAAC;iBACnB;YACF,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,GAAG,EAAE,SAAS,EAAE,KAAK,EAAC,WAAW,EAAC,SAAS,EAAC,eAAe;QAC/D,6BAAK,SAAS,EAAC,uBAAuB,EAAC,OAAO,EAAE,gBAAgB;YAC/D,oBAAC,gBAAgB,OAAG,CACf;QACN,oBAAC,sBAAsB,OAAG,CACrB,CACN,CAAC;AACH,CAAC,CAAC"}
|
package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerGroups.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerGroups.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAyBhC,CAAC"}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { useSelector } from "react-redux";
|
|
7
|
-
import { FEAGlobals } from "
|
|
8
|
-
const
|
|
7
|
+
import { FEAGlobals } from "../../../common/Globals";
|
|
8
|
+
export const LinkerGroups = () => {
|
|
9
9
|
var _a, _b, _c, _d;
|
|
10
10
|
const state = useSelector((currentState) => currentState);
|
|
11
11
|
const joinedChannels = (_c = (_b = (_a = state === null || state === void 0 ? void 0 : state.clients) === null || _a === void 0 ? void 0 : _a[FEAGlobals.finsembleWindow.name]) === null || _b === void 0 ? void 0 : _b.joinedChannels) !== null && _c !== void 0 ? _c : [];
|
|
@@ -18,5 +18,4 @@ const LinkerGroupsRedux = () => {
|
|
|
18
18
|
return (active && (React.createElement("div", { key: channel.name, className: `linker-group linker-group-accessible linker-${channel.label} ${channel.cssClassName}`, title: `Channel ${label}` }, label)));
|
|
19
19
|
})));
|
|
20
20
|
};
|
|
21
|
-
export const LinkerGroups = () => React.createElement(LinkerGroupsRedux, null);
|
|
22
21
|
//# sourceMappingURL=LinkerGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerGroups.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerGroups.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKrD,MAAM,CAAC,MAAM,YAAY,GAA4B,GAAG,EAAE;;IACzD,MAAM,KAAK,GAAgB,WAAW,CAAC,CAAC,YAAiB,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC5E,MAAM,cAAc,GAAmB,MAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,0CAAG,UAAU,CAAC,eAAe,CAAC,IAAI,CAAC,0CAAE,cAAc,mCAAI,EAAE,CAAC;IAC/G,MAAM,WAAW,GAAc,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,mCAAI,EAAE,CAAC;IAExD,OAAO,CACN,6BAAK,SAAS,EAAC,eAAe,IAC5B,WAAW,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;;QAC5B,MAAM,MAAM,GAAG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACrD,iEAAiE;QACjE,MAAM,KAAK,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,GAAG,CAAC;QACnC,OAAO,CACN,MAAM,IAAI,CACT,6BACC,GAAG,EAAE,OAAO,CAAC,IAAI,EACjB,SAAS,EAAE,+CAA+C,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,YAAY,EAAE,EACjG,KAAK,EAAE,WAAW,KAAK,EAAE,IAExB,KAAK,CACD,CACN,CACD,CAAC;IACH,CAAC,CAAC,CACG,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerGroupsDeprecated.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerGroupsDeprecated.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBA0C1C,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { FEAGlobals } from "../../../common/Globals";
|
|
7
|
+
export const LinkerGroupsDeprecated = () => {
|
|
8
|
+
const [state, setState] = React.useState([]);
|
|
9
|
+
const [labels, setLabels] = React.useState({});
|
|
10
|
+
React.useEffect(() => {
|
|
11
|
+
const cb = (err, response) => {
|
|
12
|
+
if (Object.keys(labels).length === 0) {
|
|
13
|
+
// Get the list of all channels, once, and then compute accessibility labels based on each channel's index
|
|
14
|
+
// We do it here, upon receiving channels, because getAllChannels() is a synchronous function that only
|
|
15
|
+
// returns data after the LinkerClient has been initialized.
|
|
16
|
+
const channels = FEAGlobals.FSBL.Clients.LinkerClient.getAllChannels();
|
|
17
|
+
let allLabels = {};
|
|
18
|
+
channels.forEach((channel, index) => {
|
|
19
|
+
allLabels[channel.name] = index + 1;
|
|
20
|
+
});
|
|
21
|
+
setLabels(allLabels);
|
|
22
|
+
}
|
|
23
|
+
setState(response.channels);
|
|
24
|
+
};
|
|
25
|
+
// Get the current channel state for this app
|
|
26
|
+
cb(null, FEAGlobals.FSBL.Clients.LinkerClient.getState());
|
|
27
|
+
// And register for updates
|
|
28
|
+
FEAGlobals.FSBL.Clients.LinkerClient.onStateChange(cb);
|
|
29
|
+
}, []);
|
|
30
|
+
return (React.createElement("div", { className: "linker-groups" }, state.map((channel) => {
|
|
31
|
+
var _a, _b;
|
|
32
|
+
return (React.createElement("div", { key: channel.name, className: `linker-group linker-group-accessible linker-${(_a = channel.label) !== null && _a !== void 0 ? _a : labels[channel.name]} ${channel.cssClassName}`, title: channel.name, style: { background: channel.color } }, (_b = channel.label) !== null && _b !== void 0 ? _b : labels[channel.name]));
|
|
33
|
+
})));
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=LinkerGroupsDeprecated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkerGroupsDeprecated.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/LinkerGroupsDeprecated.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD,MAAM,CAAC,MAAM,sBAAsB,GAA4B,GAAG,EAAE;IACnE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAa,EAAE,CAAC,CAAC;IACzD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAyB,EAAE,CAAC,CAAC;IAEvE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACpB,MAAM,EAAE,GAAqB,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;YAC9C,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;gBACrC,0GAA0G;gBAC1G,uGAAuG;gBACvG,4DAA4D;gBAC5D,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;gBACvE,IAAI,SAAS,GAA2B,EAAE,CAAC;gBAC3C,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@@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { useSelector } from "react-redux";
|
|
3
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
4
|
+
import { useMaximize } from "./useMaximize";
|
|
5
|
+
export const MaximizeButton = () => {
|
|
6
|
+
var _a;
|
|
7
|
+
const { toggle, isMaximized } = useMaximize();
|
|
8
|
+
const state = useSelector((currentState) => currentState);
|
|
9
|
+
const windowName = useContext(WindowNameContext);
|
|
10
|
+
const showMaximizeButton = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.showMaximizeButton : true);
|
|
11
|
+
const tooltip = isMaximized ? "Restore" : "Maximize";
|
|
12
|
+
const iconClasses = isMaximized ? "ff-restore" : "ff-maximize";
|
|
13
|
+
if (!showMaximizeButton)
|
|
14
|
+
return React.createElement(React.Fragment, null);
|
|
15
|
+
return (React.createElement("div", { className: "fsbl-icon fsbl-maximize", id: "fsbl-window-restore", title: tooltip, onClick: toggle },
|
|
16
|
+
React.createElement("i", { className: iconClasses })));
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=MaximizeButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaximizeButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/MaximizeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;;IAClC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,CAAC;IAC9C,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC/E,MAAM,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjD,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAEjG,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC;IACrD,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC;IAE/D,IAAI,CAAC,kBAAkB;QAAE,OAAO,yCAAK,CAAC;IAEtC,OAAO,CACN,6BAAK,SAAS,EAAC,yBAAyB,EAAC,EAAE,EAAC,qBAAqB,EAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM;QAChG,2BAAG,SAAS,EAAE,WAAW,GAAM,CAC1B,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MinimizeButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/MinimizeButton.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc,mBAqB1B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { actions } from "../../../platform/services/window/modules/actions";
|
|
3
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
4
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
+
export const MinimizeButton = () => {
|
|
6
|
+
var _a;
|
|
7
|
+
const dispatch = useDispatch();
|
|
8
|
+
const state = useSelector((currentState) => currentState);
|
|
9
|
+
const windowName = useContext(WindowNameContext);
|
|
10
|
+
const showMinimizeButton = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.showMinimizeButton : true);
|
|
11
|
+
if (!showMinimizeButton)
|
|
12
|
+
return React.createElement(React.Fragment, null);
|
|
13
|
+
const minimizeThisWindow = () => {
|
|
14
|
+
dispatch(actions.minimize({
|
|
15
|
+
windowName: window.name,
|
|
16
|
+
}));
|
|
17
|
+
};
|
|
18
|
+
return (React.createElement("div", { className: "fsbl-icon fsbl-minimize", id: "fsbl-window-minimize", title: "Minimize", onClick: minimizeThisWindow },
|
|
19
|
+
React.createElement("i", { className: "ff-minimize" })));
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=MinimizeButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MinimizeButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/MinimizeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;;IAClC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAC/E,MAAM,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACjD,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,0CAAE,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAEjG,IAAI,CAAC,kBAAkB;QAAE,OAAO,yCAAK,CAAC;IAEtC,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC/B,QAAQ,CACP,OAAO,CAAC,QAAQ,CAAC;YAChB,UAAU,EAAE,MAAM,CAAC,IAAI;SACvB,CAAC,CACF,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,yBAAyB,EAAC,EAAE,EAAC,sBAAsB,EAAC,KAAK,EAAC,UAAU,EAAC,OAAO,EAAE,kBAAkB;QAC9G,2BAAG,SAAS,EAAC,aAAa,GAAK,CAC1B,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/ShareButton.tsx"],"names":[],"mappings":";AAmBA,eAAO,MAAM,WAAW,mBAgBvB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { WindowNameContext } from "./WindowTitleBarContext";
|
|
3
|
+
import { useSelector } from "react-redux";
|
|
4
|
+
import { FEAGlobals } from "../../../common/Globals";
|
|
5
|
+
const ShareIcon = () => (React.createElement("svg", { width: "20", height: "16", viewBox: "0 2 16 13", xmlns: "http://www.w3.org/2000/svg" },
|
|
6
|
+
React.createElement("title", null, "Drag To Share"),
|
|
7
|
+
React.createElement("path", { d: "M7 3H6V1H1v12h5v-3h1v3a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2z", fill: "#8E939F" }),
|
|
8
|
+
React.createElement("path", { d: "M9 11h1v2h5V1h-5v1H9V1a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-2z", fill: "#ECEDEF" }),
|
|
9
|
+
React.createElement("rect", { fill: "#ECEDEF", x: "4", y: "6", width: "8", height: "1", rx: ".5" }),
|
|
10
|
+
React.createElement("path", { stroke: "#ECEDEF", strokeLinecap: "round", strokeLinejoin: "round", d: "M9 9l2.755-2.348L9 4.128" })));
|
|
11
|
+
export const ShareButton = () => {
|
|
12
|
+
var _a;
|
|
13
|
+
const state = useSelector((currentState) => currentState);
|
|
14
|
+
const windowName = useContext(WindowNameContext);
|
|
15
|
+
const showShareButton = !!(windowName ? (_a = state.windows[windowName]) === null || _a === void 0 ? void 0 : _a.showShareButton : true);
|
|
16
|
+
if (!showShareButton)
|
|
17
|
+
return React.createElement(React.Fragment, null);
|
|
18
|
+
const onDragStart = (e) => {
|
|
19
|
+
FEAGlobals.FSBL.Clients.DragAndDropClient.dragStart(e.nativeEvent);
|
|
20
|
+
};
|
|
21
|
+
return (React.createElement("div", { className: "fsbl-icon fsbl-share", title: "Drag To Share", draggable: "true", onDragStart: onDragStart },
|
|
22
|
+
React.createElement(ShareIcon, null)));
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ShareButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareButton.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/ShareButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CACvB,6BAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;IACjF,mDAA4B;IAC5B,8BAAM,CAAC,EAAC,yFAAyF,EAAC,IAAI,EAAC,SAAS,GAAG;IACnH,8BACC,CAAC,EAAC,4FAA4F,EAC9F,IAAI,EAAC,SAAS,GACb;IACF,8BAAM,IAAI,EAAC,SAAS,EAAC,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KA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