@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FEA.d.ts +54 -24
- package/FEA.d.ts.map +1 -1
- package/FEA.js.map +1 -1
- package/clients/Interop/FinsembleDesktopAgent.js +2 -2
- 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 +77 -116
- 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 +90 -0
- package/clients/appsClient.d.ts.map +1 -0
- package/clients/appsClient.js +51 -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 +157 -47
- package/clients/launcherClient.d.ts.map +1 -1
- package/clients/launcherClient.js +201 -22
- 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 +2 -2
- package/clients/notificationClient.d.ts.map +1 -1
- package/clients/notificationClient.js +2 -2
- 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 +1 -2
- package/deprecated/deprecatedFunctions.js.map +1 -1
- package/deprecated/dragAndDropClient.d.ts +3 -3
- package/deprecated/dragAndDropClient.d.ts.map +1 -1
- package/deprecated/dragAndDropClient.js.map +1 -1
- package/deprecated/linkerClient.d.ts +1 -1
- package/deprecated/linkerClient.d.ts.map +1 -1
- package/main.d.ts +289 -190
- 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 +2 -1
- package/platform/services/Interop/types.d.ts.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 +1 -0
- package/platform/services/systemManager/_constants.js.map +1 -1
- package/platform/services/window/modules/actions.d.ts +59 -0
- package/platform/services/window/modules/actions.d.ts.map +1 -0
- package/platform/services/window/modules/actions.js +57 -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/processMonitor.css +9 -4
- package/react/assets/css/windowTitleBar.css +98 -285
- 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/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 +81 -100
- package/react/components/singleInputDialog/SingleInputDialog.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/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 +365 -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/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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright 2017 by ChartIQ, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
*/
|
|
5
|
-
import React from "react";
|
|
5
|
+
import React, { useEffect, useState } from "react";
|
|
6
6
|
import { Title } from "../../hooks/useTitle";
|
|
7
7
|
import { FinsembleDialog } from "../legacyControls/FinsembleDialog";
|
|
8
8
|
import { FinsembleDialogTextInput } from "../legacyControls/FinsembleDialogTextInput";
|
|
@@ -12,120 +12,101 @@ import "../../assets/css/finsemble.css";
|
|
|
12
12
|
import "../../assets/css/dialogs.css";
|
|
13
13
|
import { FEAGlobals } from "../../../common/Globals";
|
|
14
14
|
/**
|
|
15
|
-
* This is our standard input dialog. It gives the user a single button and a text field, and ferries that data
|
|
16
|
-
*
|
|
17
|
-
* @class SingleInputDialog
|
|
18
|
-
* @extends {React.Component}
|
|
15
|
+
* This is our standard input dialog. It gives the user a single button and a text field, and ferries that data
|
|
16
|
+
* back to the window that opened it.
|
|
19
17
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
18
|
+
const _SingleInputDialog = (props) => {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
const [newRequest, setNewRequest] = useState(false);
|
|
21
|
+
const [affirmativeResponseLabel, setAffirmativeResponseLabel] = useState("Yes");
|
|
22
|
+
/** Our input uses the HTML autoFocus attribute. This only fires when the element is rendered for the 1st time.
|
|
23
|
+
* Since we re-use the dialogs, the 2nd time the dialog is shown, autoFocus will not trigger.
|
|
24
|
+
* To force it to trigger, we change this boolean when a response is sent back to the opener, which unmounts
|
|
25
|
+
* the element from the dom. The next time the dialog is used, we will render the element again, and autoFocus
|
|
26
|
+
* will trigger. */
|
|
27
|
+
const [renderInput, setRenderInput] = useState(false);
|
|
28
|
+
const [inputPlaceholder, setInputPlaceholder] = useState("New workspace");
|
|
29
|
+
const [title, setTitle] = useState((_a = props.title) !== null && _a !== void 0 ? _a : "Single Input Dialog");
|
|
30
|
+
const [inputValue, setInputValue] = useState(null);
|
|
31
|
+
const [hideModalOnClose, setHideModalOnClose] = useState(true);
|
|
32
|
+
const [cancelResponseLabel, setCancelResponseLabel] = useState("Cancel");
|
|
33
|
+
const [showCancelButton, setShowCancelButton] = useState(true);
|
|
34
|
+
const [inputPattern, setInputPattern] = useState(undefined);
|
|
35
|
+
const [inputMaxLength, setInputMaxLength] = useState(undefined);
|
|
36
|
+
/**
|
|
37
|
+
* Sends user input to the opener.
|
|
38
|
+
*/
|
|
39
|
+
const sendResponse = (choice) => {
|
|
40
|
+
FEAGlobals.FSBL.Clients.DialogManager.respondToOpener({
|
|
41
|
+
value: inputValue,
|
|
42
|
+
choice,
|
|
43
|
+
hideModalOnClose,
|
|
44
|
+
});
|
|
45
|
+
setInputValue(null);
|
|
46
|
+
setRenderInput(false);
|
|
47
|
+
setNewRequest(false);
|
|
48
|
+
Array.from(document.querySelectorAll("input")).forEach((el) => (el.value = ""));
|
|
49
|
+
};
|
|
39
50
|
/**
|
|
40
51
|
* Handles escape and enter.
|
|
41
|
-
*
|
|
42
|
-
* @param {any} e
|
|
43
|
-
* @memberof SingleInputDialog
|
|
44
52
|
*/
|
|
45
|
-
handleKeydownOnBody(e) {
|
|
53
|
+
const handleKeydownOnBody = (e) => {
|
|
46
54
|
if (e.code === "Enter" && e.shiftKey === false) {
|
|
47
|
-
|
|
55
|
+
sendResponse("affirmative");
|
|
48
56
|
}
|
|
49
57
|
if (e.code === "Escape") {
|
|
50
|
-
|
|
58
|
+
sendResponse("cancel");
|
|
51
59
|
}
|
|
52
|
-
}
|
|
60
|
+
};
|
|
53
61
|
/**
|
|
54
|
-
* When the opener requests that the dialog show itself, it also passes in initialization data. This function
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* @param {any} response
|
|
58
|
-
* @memberof SingleInputDialog
|
|
62
|
+
* When the opener requests that the dialog show itself, it also passes in initialization data. This function
|
|
63
|
+
* grabs that data, calls setState, and then fits the window to the contents of the DOM. Then we call `showDialog`,
|
|
64
|
+
* which will display the dialog on the proper monitor.
|
|
59
65
|
*/
|
|
60
|
-
onShowRequested(err,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
66
|
+
const onShowRequested = (err, { data }) => {
|
|
67
|
+
var _a, _b;
|
|
68
|
+
setTitle(data.title || "Title");
|
|
69
|
+
setInputValue(null);
|
|
70
|
+
setHideModalOnClose((_a = data.hideModalOnClose) !== null && _a !== void 0 ? _a : true);
|
|
71
|
+
setAffirmativeResponseLabel(data.affirmativeResponseLabel || "OK");
|
|
72
|
+
setCancelResponseLabel(data.cancelResponseLabel || "Cancel");
|
|
73
|
+
setShowCancelButton((_b = data.showCancelButton) !== null && _b !== void 0 ? _b : false);
|
|
74
|
+
setRenderInput(true);
|
|
75
|
+
setInputPattern(data.inputPattern);
|
|
76
|
+
setInputMaxLength(data.inputMaxLength);
|
|
77
|
+
setInputPlaceholder(data.inputPlaceholder || inputPlaceholder);
|
|
78
|
+
setNewRequest(true);
|
|
79
|
+
};
|
|
75
80
|
/**
|
|
76
|
-
* Fits the contents of the DOM to the window, then calls `showDialog`, which positions the
|
|
77
|
-
*
|
|
78
|
-
* @memberof SingleInputDialog
|
|
81
|
+
* Fits the contents of the DOM to the window, then calls `showDialog`, which positions the
|
|
82
|
+
* dialog on the proper monitor and toggles the visibility of the window.
|
|
79
83
|
*/
|
|
80
|
-
fitAndShow() {
|
|
84
|
+
const fitAndShow = () => {
|
|
81
85
|
FEAGlobals.FSBL.Clients.WindowClient.fitToDOM(null, () => {
|
|
82
86
|
FEAGlobals.FSBL.Clients.DialogManager.showDialog();
|
|
83
87
|
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
* @param {any} e
|
|
107
|
-
* @memberof SingleInputDialog
|
|
108
|
-
*/
|
|
109
|
-
setInputValue(e) {
|
|
110
|
-
this.setState({
|
|
111
|
-
inputValue: e.target.value,
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
render() {
|
|
115
|
-
var _a;
|
|
116
|
-
return (React.createElement(FinsembleDialog, { userInputTimeout: 10000, behaviorOnResponse: "hide", onShowRequested: this.onShowRequested, isModal: true },
|
|
117
|
-
React.createElement(Title, { title: (_a = this.props.title) !== null && _a !== void 0 ? _a : this.state.title }),
|
|
118
|
-
React.createElement("div", { className: "dialog-title" }, this.state.title),
|
|
119
|
-
this.state.renderInput && (React.createElement(FinsembleDialogTextInput, { onInputChange: this.setInputValue, placeholder: this.state.inputPlaceholder, autoFocus: true, inputPattern: this.state.inputPattern, maxLength: this.state.inputMaxLength, ariaLabel: this.state.title })),
|
|
120
|
-
React.createElement("div", { className: "button-wrapper" },
|
|
121
|
-
this.state.showCancelButton && (React.createElement(FinsembleDialogButton, { className: "fsbl-button-neutral", show: true, onClick: () => {
|
|
122
|
-
this.sendResponse("cancel");
|
|
123
|
-
} }, this.state.cancelResponseLabel)),
|
|
124
|
-
React.createElement(FinsembleDialogButton, { className: "fsbl-button-affirmative", show: true, onClick: () => {
|
|
125
|
-
this.sendResponse("affirmative");
|
|
126
|
-
} }, this.state.affirmativeResponseLabel))));
|
|
127
|
-
}
|
|
128
|
-
}
|
|
88
|
+
};
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
document.body.addEventListener("keydown", handleKeydownOnBody);
|
|
91
|
+
return () => {
|
|
92
|
+
document.body.removeEventListener("keydown", handleKeydownOnBody);
|
|
93
|
+
};
|
|
94
|
+
}, []);
|
|
95
|
+
useEffect(fitAndShow, [newRequest]);
|
|
96
|
+
return (React.createElement(FinsembleDialog, { userInputTimeout: 10000, behaviorOnResponse: "hide", onShowRequested: onShowRequested, isModal: true },
|
|
97
|
+
React.createElement(Title, { title: (_b = props.title) !== null && _b !== void 0 ? _b : title }),
|
|
98
|
+
React.createElement("div", { className: "dialog-title" }, title),
|
|
99
|
+
renderInput && (React.createElement(FinsembleDialogTextInput, { onInputChange: (e) => {
|
|
100
|
+
setInputValue(e.target.value);
|
|
101
|
+
}, placeholder: inputPlaceholder, autoFocus: true, inputPattern: inputPattern, maxLength: inputMaxLength, ariaLabel: title })),
|
|
102
|
+
React.createElement("div", { className: "button-wrapper" },
|
|
103
|
+
showCancelButton && (React.createElement(FinsembleDialogButton, { className: "fsbl-button-neutral", show: true, onClick: () => {
|
|
104
|
+
sendResponse("cancel");
|
|
105
|
+
} }, cancelResponseLabel)),
|
|
106
|
+
React.createElement(FinsembleDialogButton, { className: "fsbl-button-affirmative", show: true, onClick: () => {
|
|
107
|
+
sendResponse("affirmative");
|
|
108
|
+
} }, affirmativeResponseLabel))));
|
|
109
|
+
};
|
|
129
110
|
/**
|
|
130
111
|
* A window for collecting input from a user (e.g., a new workspace's name).
|
|
131
112
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleInputDialog.js","sourceRoot":"","sources":["../../../../../src/ui/components/singleInputDialog/SingleInputDialog.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SingleInputDialog.js","sourceRoot":"","sources":["../../../../../src/ui/components/singleInputD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AChC,OAAO,EAAE,IAAI;QAEb,oBAAC,KAAK,IAAC,KAAK,EAAE,MAAA,KAAK,CAAC,KAAK,mCAAI,KAAK,GAAI;QACtC,6BAAK,SAAS,EAAC,cAAc,IAAE,KAAK,CAAO;QAC1C,WAAW,IAAI,CACf,oBAAC,wBAAwB,IACxB,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE;gBACpB,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC/B,CAAC,EACD,WAAW,EAAE,gBAAgB,EAC7B,SAAS,EAAE,IAAI,EACf,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,cAAc,EACzB,SAAS,EAAE,KAAK,GACf,CACF;QACD,6BAAK,SAAS,EAAC,gBAAgB;YAC7B,gBAAgB,IAAI,CACpB,oBAAC,qBAAqB,IACrB,SAAS,EAAC,qBAAqB,EAC/B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE;oBACb,YAAY,CAAC,QAAQ,CAAC,CAAC;gBACxB,CAAC,IAEA,mBAAmB,CACG,CACxB;YACD,oBAAC,qBAAqB,IACrB,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE;oBACb,YAAY,CAAC,aAAa,CAAC,CAAC;gBAC7B,CAAC,IAEA,wBAAwB,CACF,CACnB,CACW,CAClB,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,oBAAC,kBAAkB,OAAG,CAAC"}
|
|
@@ -4,6 +4,7 @@ import "../../assets/css/toolbar.css";
|
|
|
4
4
|
declare type ToolbarShellProps = {
|
|
5
5
|
hotkeyShow?: HotkeyCombination;
|
|
6
6
|
hotkeyHide?: HotkeyCombination;
|
|
7
|
+
hotkeyDock?: HotkeyCombination;
|
|
7
8
|
hotkeyMinimizeAll?: HotkeyCombination;
|
|
8
9
|
hotkeyBringWindowsToFront?: HotkeyCombination;
|
|
9
10
|
hotkeyRestartApplication?: HotkeyCombination;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarShell.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/toolbar/ToolbarShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAM5D,OAAO,8BAA8B,CAAC;AAEtC,aAAK,iBAAiB,GAAG;IACxB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,yBAAyB,CAAC,EAAE,iBAAiB,CAAC;IAC9C,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ToolbarShell.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/toolbar/ToolbarShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAM5D,OAAO,8BAA8B,CAAC;AAEtC,aAAK,iBAAiB,GAAG;IACxB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,yBAAyB,CAAC,EAAE,iBAAiB,CAAC;IAC9C,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CA+BnE,CAAC"}
|
|
@@ -10,10 +10,11 @@ import "../../assets/css/toolbar.css";
|
|
|
10
10
|
* @param hotkeyShow [array<string>] - A hotkey combination to show the toolbar
|
|
11
11
|
* @param hotkeyHide [array<string>] - A hotkey combination to hide the toolbar
|
|
12
12
|
*/
|
|
13
|
-
export const ToolbarShell = ({ hotkeyShow, hotkeyHide, hotkeyMinimizeAll, hotkeyBringWindowsToFront, hotkeyRestartApplication, title = "Toolbar", children, }) => {
|
|
14
|
-
const { hideToolbar, showToolbar } = useToolbar();
|
|
13
|
+
export const ToolbarShell = ({ hotkeyShow, hotkeyHide, hotkeyDock, hotkeyMinimizeAll, hotkeyBringWindowsToFront, hotkeyRestartApplication, title = "Toolbar", children, }) => {
|
|
14
|
+
const { hideToolbar, showToolbar, dockToolbar } = useToolbar();
|
|
15
15
|
useHotkey(hotkeyShow, showToolbar);
|
|
16
16
|
useHotkey(hotkeyHide, hideToolbar);
|
|
17
|
+
useHotkey(hotkeyDock, dockToolbar);
|
|
17
18
|
useHotkey(hotkeyRestartApplication, FEAGlobals.FSBL.restartApplication);
|
|
18
19
|
useHotkey(hotkeyBringWindowsToFront, FEAGlobals.FSBL.Clients.LauncherClient.bringWindowsToFront);
|
|
19
20
|
useHotkey(hotkeyMinimizeAll, FEAGlobals.FSBL.Clients.WorkspaceClient.minimizeAll);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarShell.js","sourceRoot":"","sources":["../../../../../src/ui/components/toolbar/ToolbarShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EA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AC,CAAC;IAElF,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhB,2CAA2C;IAC3C,SAAS,CAAC,GAAG,EAAE;QACd,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;IACvD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,SAAS,EAAC,mBAAmB;QAChC,QAAQ;QACT,oBAAC,SAAS,OAAG,CACR,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ReactWrapper } from "enzyme";
|
|
2
|
+
export declare const enzymeQuerySelectorWrapper: (wrapper: ReactWrapper, querySelectorStr: string, element?: HTMLElement | undefined) => Element | null;
|
|
3
|
+
/**
|
|
4
|
+
* Makes onClick functions accessible by duplicating them in an onKeyDown prop. If you also
|
|
5
|
+
* have an onKeyDown function you'd like to provide, you can add it as an optional second argument.
|
|
6
|
+
*
|
|
7
|
+
* Why does it make it more accessible? The `onClick` prop usually only fires if someone
|
|
8
|
+
* clicks an element with a mouse. If a user can't use a mouse due to a disability, they
|
|
9
|
+
* are unable to activate the element. Normally, you'd have to wire up the element to receive
|
|
10
|
+
* tab focus (using `tabIndex={0}`), as well as duplicating the onClick function for Enter
|
|
11
|
+
* and Spacebar key presses. This function does that for you.
|
|
12
|
+
*
|
|
13
|
+
* Note that this is not necessary for buttons or anchor tags.
|
|
14
|
+
*
|
|
15
|
+
* Note that this returns `tabIndex={0}`. If you want to set a custom tabIndex value, apply it
|
|
16
|
+
* after invoking this function. See example.
|
|
17
|
+
*
|
|
18
|
+
* Examples:
|
|
19
|
+
* ```jsx
|
|
20
|
+
* <div role="button" {...onClickA11y(callback)}>Click me!</div>
|
|
21
|
+
*
|
|
22
|
+
* <span className="icon" role="button", {...onClickA11y(() => {
|
|
23
|
+
* // do something
|
|
24
|
+
* })}></span>
|
|
25
|
+
*
|
|
26
|
+
* <div role="tab" {...onClickA11y(
|
|
27
|
+
* () => setState(true),
|
|
28
|
+
* (e) => {
|
|
29
|
+
* if(e.key === "ArrowRight"){
|
|
30
|
+
moveRight();
|
|
31
|
+
* }
|
|
32
|
+
* }
|
|
33
|
+
* )}
|
|
34
|
+
*
|
|
35
|
+
* // If you want to set a custom tabIndex value, set it *after* spreading the onClickA11y values.
|
|
36
|
+
* // This will let you overwrite the tabIndex value.
|
|
37
|
+
* tabIndex={focused ? 0 : 1}
|
|
38
|
+
* >Label</div>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @param onClickFn The function that normally goes in the `onClick={}` prop
|
|
42
|
+
* @param onKeyDown The function that normally goes in the `onKeyDown={}` prop
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
export declare const onClickA11y: (onClickFn: (e: React.KeyboardEvent | React.MouseEvent) => void, onKeyDown?: ((e: React.KeyboardEvent) => void) | undefined) => {
|
|
46
|
+
tabIndex: number;
|
|
47
|
+
onClick: (e: React.KeyboardEvent | React.MouseEvent) => void;
|
|
48
|
+
onKeyDown: (e: React.KeyboardEvent) => void;
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,eAAO,MAAM,0BAA0B,YAC7B,YAAY,oBACH,MAAM,YACf,WAAW,GAAG,SAAS,mBAKhC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,WAAW,kBACR,mBAAmB,GAAG,gBAAgB,KAAK,IAAI,mBAC9C,mBAAmB,KAAK,IAAI;;iBAD7B,mBAAmB,GAAG,gBAAgB,KAAK,IAAI;mBAM9C,mBAAmB;CAOnC,CAAC"}
|
|
@@ -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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B,CAAC,CAAC;aAC1C;iBAAM;gBACN,cAAc,CAAC,eAAe,CAAC,CAAC;aAChC;QACF,CAAC,CAAC,EAAE,CAAC;IACN,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN;QACE,WAAW,KAAK,eAAe,IAAI,CACnC,oBAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,EAAE;YAC1B,oBAAC,iBAAiB,IAAC,sBAAsB,EAAE,sBAAsB,GAAI,CAC3D,CACX;QACA,WAAW,KAAK,yBAAyB,IAAI,oBAAC,sBAAsB,OAAG,CACtE,CACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA+C,CAAC,EACxE,sBAAsB,GAAG,IAAI,GACV,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"}
|