@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.
Files changed (548) hide show
  1. package/FEA.d.ts +54 -24
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  5. package/clients/Interop/FinsembleDesktopAgent.js +7 -10
  6. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  7. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  8. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  9. package/clients/Startup/FSBLDesktop.js +2 -4
  10. package/clients/Startup/FSBLDesktop.js.map +1 -1
  11. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  12. package/clients/Startup/unhandledErrors.js +6 -4
  13. package/clients/Startup/unhandledErrors.js.map +1 -1
  14. package/clients/Startup/windowStartup.d.ts.map +1 -1
  15. package/clients/Startup/windowStartup.js +125 -112
  16. package/clients/Startup/windowStartup.js.map +1 -1
  17. package/clients/StoreModel.d.ts +8 -8
  18. package/clients/StoreModel.js +8 -8
  19. package/clients/appsClient.d.ts +429 -0
  20. package/clients/appsClient.d.ts.map +1 -0
  21. package/clients/appsClient.js +649 -0
  22. package/clients/appsClient.js.map +1 -0
  23. package/clients/authenticationClient.d.ts +29 -27
  24. package/clients/authenticationClient.d.ts.map +1 -1
  25. package/clients/authenticationClient.js +11 -15
  26. package/clients/authenticationClient.js.map +1 -1
  27. package/clients/configClient.d.ts +134 -70
  28. package/clients/configClient.d.ts.map +1 -1
  29. package/clients/configClient.js +129 -112
  30. package/clients/configClient.js.map +1 -1
  31. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  32. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  33. package/clients/controller/DialogManagerClientController.js +213 -0
  34. package/clients/controller/DialogManagerClientController.js.map +1 -0
  35. package/clients/dialogManagerClient.d.ts +1 -75
  36. package/clients/dialogManagerClient.d.ts.map +1 -1
  37. package/clients/dialogManagerClient.js +1 -208
  38. package/clients/dialogManagerClient.js.map +1 -1
  39. package/clients/distributedStoreClient.d.ts +1 -0
  40. package/clients/distributedStoreClient.d.ts.map +1 -1
  41. package/clients/distributedStoreClient.js +1 -0
  42. package/clients/distributedStoreClient.js.map +1 -1
  43. package/clients/hotkeyClient.d.ts +18 -9
  44. package/clients/hotkeyClient.d.ts.map +1 -1
  45. package/clients/hotkeyClient.js +30 -14
  46. package/clients/hotkeyClient.js.map +1 -1
  47. package/clients/index.d.ts +2 -0
  48. package/clients/index.d.ts.map +1 -1
  49. package/clients/index.js +2 -0
  50. package/clients/index.js.map +1 -1
  51. package/clients/launcherClient.d.ts +50 -209
  52. package/clients/launcherClient.d.ts.map +1 -1
  53. package/clients/launcherClient.js +35 -422
  54. package/clients/launcherClient.js.map +1 -1
  55. package/clients/logger.d.ts.map +1 -1
  56. package/clients/logger.js +43 -41
  57. package/clients/logger.js.map +1 -1
  58. package/clients/notificationClient.d.ts +15 -8
  59. package/clients/notificationClient.d.ts.map +1 -1
  60. package/clients/notificationClient.js +15 -8
  61. package/clients/notificationClient.js.map +1 -1
  62. package/clients/routerClient.d.ts +25 -21
  63. package/clients/routerClient.d.ts.map +1 -1
  64. package/clients/routerClient.js +24 -20
  65. package/clients/routerClient.js.map +1 -1
  66. package/clients/searchClient.d.ts +2 -2
  67. package/clients/searchClient.js +2 -2
  68. package/clients/storageClient.d.ts +8 -5
  69. package/clients/storageClient.d.ts.map +1 -1
  70. package/clients/storageClient.js +7 -5
  71. package/clients/storageClient.js.map +1 -1
  72. package/clients/windowClient.d.ts +160 -79
  73. package/clients/windowClient.d.ts.map +1 -1
  74. package/clients/windowClient.js +244 -138
  75. package/clients/windowClient.js.map +1 -1
  76. package/clients/workspaceClient.d.ts +19 -14
  77. package/clients/workspaceClient.d.ts.map +1 -1
  78. package/clients/workspaceClient.js +15 -9
  79. package/clients/workspaceClient.js.map +1 -1
  80. package/common/Desktop.d.ts +9 -50
  81. package/common/Desktop.d.ts.map +1 -1
  82. package/common/Desktop.js +11 -64
  83. package/common/Desktop.js.map +1 -1
  84. package/common/FinsembleWindow.d.ts +4 -107
  85. package/common/FinsembleWindow.d.ts.map +1 -1
  86. package/common/FinsembleWindow.js +21 -342
  87. package/common/FinsembleWindow.js.map +1 -1
  88. package/common/Monitors.d.ts +30 -18
  89. package/common/Monitors.d.ts.map +1 -1
  90. package/common/Monitors.js +45 -80
  91. package/common/Monitors.js.map +1 -1
  92. package/common/Singleton.d.ts +7 -1
  93. package/common/Singleton.d.ts.map +1 -1
  94. package/common/Singleton.js +24 -11
  95. package/common/Singleton.js.map +1 -1
  96. package/common/constants.d.ts +3 -9
  97. package/common/constants.d.ts.map +1 -1
  98. package/common/constants.js +3 -14
  99. package/common/constants.js.map +1 -1
  100. package/common/events/FinsembleEvent.d.ts +1 -1
  101. package/common/events/FinsembleEvent.d.ts.map +1 -1
  102. package/common/redux/getRemoteStore.d.ts +53 -0
  103. package/common/redux/getRemoteStore.d.ts.map +1 -0
  104. package/common/redux/getRemoteStore.js +50 -0
  105. package/common/redux/getRemoteStore.js.map +1 -0
  106. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  107. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  108. package/common/redux/remoteReduxEnhancer.js +35 -20
  109. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  110. package/common/redux/types.d.ts +14 -1
  111. package/common/redux/types.d.ts.map +1 -1
  112. package/common/systemManagerClient.d.ts +11 -5
  113. package/common/systemManagerClient.d.ts.map +1 -1
  114. package/common/systemManagerClient.js +25 -8
  115. package/common/systemManagerClient.js.map +1 -1
  116. package/common/util.d.ts +1 -7
  117. package/common/util.d.ts.map +1 -1
  118. package/common/util.js +1 -14
  119. package/common/util.js.map +1 -1
  120. package/deprecated/deprecatedFunctions.d.ts +1 -1
  121. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  122. package/deprecated/deprecatedFunctions.js +3 -4
  123. package/deprecated/deprecatedFunctions.js.map +1 -1
  124. package/deprecated/deprecatedlauncherClient.d.ts +1 -1
  125. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  126. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  127. package/deprecated/dragAndDropClient.d.ts +3 -3
  128. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  129. package/deprecated/dragAndDropClient.js +14 -4
  130. package/deprecated/dragAndDropClient.js.map +1 -1
  131. package/deprecated/linkerClient.d.ts +1 -1
  132. package/deprecated/linkerClient.d.ts.map +1 -1
  133. package/main.d.ts +277 -171
  134. package/main.d.ts.map +1 -1
  135. package/main.js +3 -1
  136. package/main.js.map +1 -1
  137. package/package.json +3 -3
  138. package/platform/services/Interop/types.d.ts +8 -1
  139. package/platform/services/Interop/types.d.ts.map +1 -1
  140. package/platform/services/Interop/types.js.map +1 -1
  141. package/platform/services/router/types.d.ts +5 -6
  142. package/platform/services/router/types.d.ts.map +1 -1
  143. package/platform/services/systemManager/_constants.d.ts +1 -0
  144. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  145. package/platform/services/systemManager/_constants.js +2 -0
  146. package/platform/services/systemManager/_constants.js.map +1 -1
  147. package/platform/services/systemManager/types.d.ts +1 -1
  148. package/platform/services/systemManager/types.d.ts.map +1 -1
  149. package/platform/services/systemManager/types.js.map +1 -1
  150. package/platform/services/window/modules/actions.d.ts +63 -0
  151. package/platform/services/window/modules/actions.d.ts.map +1 -0
  152. package/platform/services/window/modules/actions.js +58 -0
  153. package/platform/services/window/modules/actions.js.map +1 -0
  154. package/platform/services/window/types.d.ts +257 -50
  155. package/platform/services/window/types.d.ts.map +1 -1
  156. package/platform/services/workspace/types.d.ts +4 -3
  157. package/platform/services/workspace/types.d.ts.map +1 -1
  158. package/react/assets/css/core/icons.css +0 -5
  159. package/react/assets/css/fonts/icons-reference.html +1 -1
  160. package/react/assets/css/processMonitor.css +9 -4
  161. package/react/assets/css/windowTitleBar.css +100 -284
  162. package/react/assets/icons/chevron-down.svg +1 -0
  163. package/react/assets/icons/chevron-up.svg +1 -0
  164. package/react/components/common/ButtonRow.d.ts.map +1 -1
  165. package/react/components/common/ButtonRow.js +4 -9
  166. package/react/components/common/ButtonRow.js.map +1 -1
  167. package/react/components/common/ContextMenu.d.ts.map +1 -1
  168. package/react/components/common/ContextMenu.js +2 -10
  169. package/react/components/common/ContextMenu.js.map +1 -1
  170. package/react/components/common/DropdownButton.d.ts.map +1 -1
  171. package/react/components/common/DropdownButton.js +11 -24
  172. package/react/components/common/DropdownButton.js.map +1 -1
  173. package/react/components/common/FinsembleIcon.d.ts +1 -1
  174. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  175. package/react/components/common/FinsembleIcon.js +6 -4
  176. package/react/components/common/FinsembleIcon.js.map +1 -1
  177. package/react/components/common/css/accordion.css +9 -21
  178. package/react/components/common/css/application-edit-page.css +0 -4
  179. package/react/components/common/css/selector.css +3 -1
  180. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  181. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  182. package/react/components/downloadManager/DownloadManager.js +2 -4
  183. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  184. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  185. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  186. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  187. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  188. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  189. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  190. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  191. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  192. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  193. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  194. package/react/components/linker/remoteRedux.d.ts +2 -9
  195. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  196. package/react/components/linker/remoteRedux.js +2 -22
  197. package/react/components/linker/remoteRedux.js.map +1 -1
  198. package/react/components/notifications/css/notification-center.css +2 -0
  199. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  200. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  201. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  202. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  203. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  204. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  205. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  206. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  207. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  208. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  209. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  210. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  211. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  212. package/react/components/processMonitor/components/ListHeader.js +3 -2
  213. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  214. package/react/components/processMonitor/components/Process.d.ts +10 -0
  215. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  216. package/react/components/processMonitor/components/Process.js +11 -0
  217. package/react/components/processMonitor/components/Process.js.map +1 -0
  218. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  219. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  220. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  221. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  222. package/react/components/processMonitor/constants.d.ts +1 -2
  223. package/react/components/processMonitor/constants.d.ts.map +1 -1
  224. package/react/components/processMonitor/constants.js +2 -8
  225. package/react/components/processMonitor/constants.js.map +1 -1
  226. package/react/components/processMonitor/helpers.d.ts +0 -1
  227. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  228. package/react/components/processMonitor/helpers.js +2 -9
  229. package/react/components/processMonitor/helpers.js.map +1 -1
  230. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  231. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  232. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  233. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  234. package/react/components/search/SearchInput.d.ts +1 -2
  235. package/react/components/search/SearchInput.d.ts.map +1 -1
  236. package/react/components/search/SearchInput.js +11 -13
  237. package/react/components/search/SearchInput.js.map +1 -1
  238. package/react/components/search/SearchResults.d.ts.map +1 -1
  239. package/react/components/search/SearchResults.js +6 -6
  240. package/react/components/search/SearchResults.js.map +1 -1
  241. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  242. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  243. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  244. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  245. package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
  246. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  247. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  248. package/react/components/toolbar/DragHandle.js +8 -5
  249. package/react/components/toolbar/DragHandle.js.map +1 -1
  250. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  251. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  252. package/react/components/toolbar/ToolbarShell.js +3 -2
  253. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  254. package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
  255. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  256. package/react/components/userPreferences/components/content/Workspaces.js +14 -1
  257. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  258. package/react/components/utils.d.ts +50 -0
  259. package/react/components/utils.d.ts.map +1 -0
  260. package/react/components/utils.js +60 -0
  261. package/react/components/utils.js.map +1 -0
  262. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  263. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  264. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  265. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  266. package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  267. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  268. package/react/components/windowTitleBar/CloseButton.js +22 -0
  269. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  270. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  271. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  272. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  273. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  274. package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  275. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  276. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  277. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  278. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  279. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  280. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  281. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  282. package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
  283. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  284. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  285. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  286. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  287. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  288. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  289. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  290. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  291. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  292. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  293. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  294. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  295. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  296. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  297. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  298. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  299. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  300. package/react/components/windowTitleBar/ShareButton.js +24 -0
  301. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  302. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  303. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  304. package/react/components/windowTitleBar/TabRegion.js +453 -0
  305. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  306. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  307. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  308. package/react/components/windowTitleBar/TabTitle.js +17 -0
  309. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  310. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  311. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  312. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  313. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  314. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  315. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  316. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  317. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  318. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  319. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  320. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  321. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  322. package/react/components/windowTitleBar/index.d.ts +9 -8
  323. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  324. package/react/components/windowTitleBar/index.js +9 -8
  325. package/react/components/windowTitleBar/index.js.map +1 -1
  326. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  327. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  328. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  329. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  330. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  331. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  332. package/react/components/windowTitleBar/useMaximize.js +23 -0
  333. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  334. package/react/components/yesNoDialog/timer.js +2 -1
  335. package/react/components/yesNoDialog/timer.js.map +1 -1
  336. package/react/hooks/useDashbar.d.ts.map +1 -1
  337. package/react/hooks/useDashbar.js.map +1 -1
  338. package/react/hooks/useDragRegion.d.ts +27 -0
  339. package/react/hooks/useDragRegion.d.ts.map +1 -0
  340. package/react/hooks/useDragRegion.js +74 -0
  341. package/react/hooks/useDragRegion.js.map +1 -0
  342. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  343. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  344. package/react/hooks/useInjectedTitleBar.js +437 -0
  345. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  346. package/react/hooks/useNotifications.d.ts +1 -1
  347. package/react/hooks/useToolbar.d.ts +1 -0
  348. package/react/hooks/useToolbar.d.ts.map +1 -1
  349. package/react/hooks/useToolbar.js +13 -3
  350. package/react/hooks/useToolbar.js.map +1 -1
  351. package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
  352. package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
  353. package/typedoc-types.d.ts +9 -0
  354. package/typedoc-types.d.ts.map +1 -0
  355. package/typedoc-types.js +6 -0
  356. package/typedoc-types.js.map +1 -0
  357. package/types.d.ts +5 -11
  358. package/types.d.ts.map +1 -1
  359. package/types.js +2 -0
  360. package/types.js.map +1 -1
  361. package/common/events/PrivateEventManager.d.ts +0 -95
  362. package/common/events/PrivateEventManager.d.ts.map +0 -1
  363. package/common/events/PrivateEventManager.js +0 -295
  364. package/common/events/PrivateEventManager.js.map +0 -1
  365. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  366. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  367. package/common/events/PrivateFinsembleEvent.js +0 -65
  368. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  369. package/common/redux/createReducer.d.ts +0 -128
  370. package/common/redux/createReducer.d.ts.map +0 -1
  371. package/common/redux/createReducer.js +0 -298
  372. package/common/redux/createReducer.js.map +0 -1
  373. package/common/redux/index.d.ts +0 -3
  374. package/common/redux/index.d.ts.map +0 -1
  375. package/common/redux/index.js +0 -3
  376. package/common/redux/index.js.map +0 -1
  377. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  378. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  379. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  380. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  381. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  382. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  383. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  384. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  385. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  386. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  387. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  388. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  389. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  390. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  391. package/platform/services/window/Docking/boxMath.js +0 -511
  392. package/platform/services/window/Docking/boxMath.js.map +0 -1
  393. package/platform/services/window/Docking/constants.d.ts +0 -29
  394. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  395. package/platform/services/window/Docking/constants.js +0 -29
  396. package/platform/services/window/Docking/constants.js.map +0 -1
  397. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  398. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  399. package/platform/services/window/Docking/dockableBox.js +0 -525
  400. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  401. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  402. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  403. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  404. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  405. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  406. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  407. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  408. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  409. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  410. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  411. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  412. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  413. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  414. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  415. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  416. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  417. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  418. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  419. package/platform/services/window/Docking/dockingMain.js +0 -2541
  420. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  421. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  422. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  423. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  424. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  425. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  426. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  427. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  428. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  429. package/platform/services/window/Docking/types.d.ts +0 -334
  430. package/platform/services/window/Docking/types.d.ts.map +0 -1
  431. package/platform/services/window/Docking/types.js +0 -12
  432. package/platform/services/window/Docking/types.js.map +0 -1
  433. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  434. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  435. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  436. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  437. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  438. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  439. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  440. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  441. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  442. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  443. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  444. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  445. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  446. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  447. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  448. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  449. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  450. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  451. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  452. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  453. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  454. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  455. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  456. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  457. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  458. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  459. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  460. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  461. package/platform/services/window/windowGroup.d.ts +0 -86
  462. package/platform/services/window/windowGroup.d.ts.map +0 -1
  463. package/platform/services/window/windowGroup.js +0 -323
  464. package/platform/services/window/windowGroup.js.map +0 -1
  465. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  466. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  467. package/platform/services/workspace/windowStorageManager.js +0 -195
  468. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  469. package/react/assets/icons/question-circle.svg +0 -6
  470. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  471. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  472. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  473. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  474. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  475. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  476. package/react/components/sdd/Appearance.helpers.js +0 -2
  477. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  478. package/react/components/shared/linkerUtil.d.ts +0 -4
  479. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  480. package/react/components/shared/linkerUtil.js +0 -10
  481. package/react/components/shared/linkerUtil.js.map +0 -1
  482. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  483. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  484. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  485. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  486. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  487. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  488. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  489. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  490. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  491. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  492. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  493. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  494. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  495. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  496. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  497. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  498. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  499. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  500. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  501. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  502. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  503. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  504. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  505. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  506. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  507. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  508. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  509. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  510. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  511. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  512. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  513. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  514. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  515. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  516. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  517. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  518. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  519. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  520. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  521. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  522. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  523. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  524. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  525. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  526. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  527. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  528. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  529. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  530. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  531. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  532. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  533. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  534. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  535. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  536. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  537. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  538. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  539. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  540. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  541. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  542. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  543. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  544. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  545. package/react/types/windowTitleBar.d.ts +0 -49
  546. package/react/types/windowTitleBar.d.ts.map +0 -1
  547. package/react/types/windowTitleBar.js +0 -2
  548. 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,O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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,3 @@
1
+ /// <reference types="react" />
2
+ export declare const GroupingButton: () => JSX.Element;
3
+ //# sourceMappingURL=GroupingButton.d.ts.map
@@ -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"}
@@ -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 "../../../linker/remoteRedux";
9
- import { LinkerButton as LinkerButtonDeprecated } from "./LinkerButtonDeprecated";
10
- import { linkerActions as actions } from "../../../../../platform/services/Interop/modules/actions";
11
- import { FEAGlobals } from "../../../../../common/Globals";
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,EAA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F,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"}
@@ -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,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,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,EAAC,QAAQ,EA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Q/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 "../../../../../common/Globals";
8
- const LinkerGroupsRedux = () => {
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,7 @@
1
+ /*!
2
+ * Copyright 2017 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import * as React from "react";
6
+ export declare const LinkerGroupsDeprecated: React.FunctionComponent;
7
+ //# sourceMappingURL=LinkerGroupsDeprecated.d.ts.map
@@ -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,C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,EACF,KAAK,EAAE,OAAO,CAAC,IAAI,EACnB,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,KAAK,EAAE,IAEnC,MAAA,OAAO,CAAC,KAAK,mCAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CACjC,CACN,CAAA;KAAA,CAAC,CACG,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const MaximizeButton: () => JSX.Element;
3
+ //# sourceMappingURL=MaximizeButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MaximizeButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/MaximizeButton.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc,mBAgB1B,CAAC"}
@@ -0,0 +1,18 @@
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,3 @@
1
+ /// <reference types="react" />
2
+ export declare const MinimizeButton: () => JSX.Element;
3
+ //# sourceMappingURL=MinimizeButton.d.ts.map
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ export declare const ShareButton: () => JSX.Element;
3
+ //# sourceMappingURL=ShareButton.d.ts.map
@@ -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,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG;IAChE,8BAAM,MAAM,EAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,CAAC,EAAC,0BAA0B,GAAG,CAC9F,CACN,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;;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;QAAE,OAAO,yCAAK,CAAC;IAEnC,MAAM,WAAW,GAAG,CAAC,CAAkC,EAAE,EAAE;QAC1D,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACpE,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAC,eAAe,EAAC,SAAS,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW;QACpG,oBAAC,SAAS,OAAG,CACR,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * The "Tab Region", which is the area where tabs appear but also where just the title appears
4
+ * if tabbing is disabled.
5
+ */
6
+ export declare const TabRegion: () => JSX.Element;
7
+ //# sourceMappingURL=TabRegion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabRegion.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TabRegion.tsx"],"names":[],"mappings":";AAukBA;;;GAGG;AACH,eAAO,MAAM,SAAS,mBAuBrB,CAAC"}