@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
@@ -1,614 +0,0 @@
1
- import * as React from "react";
2
- import Tab from "./Tab";
3
- import { Store, Actions } from "../../stores/windowTitleBarStore";
4
- import { Title } from "../windowTitle";
5
- import _throttle from "lodash/throttle";
6
- import { FEAGlobals } from "../../../../../common/Globals";
7
- let TAB_WIDTH = 300;
8
- // Next two items are for calculating how large the title should be within a tab.
9
- const ICON_AREA = 16;
10
- const CLOSE_BUTTON_MARGIN = 12;
11
- const MINIMUM_TAB_SIZE = 100;
12
- const stopTilingOrTabbing = (params, cb) => {
13
- const transmitAndQueryStop = () => {
14
- // docking service has a responder for the query
15
- FEAGlobals.FSBL.Clients.RouterClient.query("DockingService.stopTilingOrTabbing", params, () => {
16
- cb === null || cb === void 0 ? void 0 : cb();
17
- });
18
- // WindowTitleBarShell is listening for transmit events so that it knows when tiling/tabbing has stopped
19
- FEAGlobals.FSBL.Clients.RouterClient.transmit("DockingService.stopTilingOrTabbing", params);
20
- };
21
- // Get the mouse position if not passed in.
22
- if (!params.mousePosition) {
23
- FEAGlobals.fin.desktop.System.getMousePosition((position) => {
24
- params.mousePosition = position;
25
- transmitAndQueryStop();
26
- // If allowDropOnSelf is true, it came from a tab/window drop event. Run the callback.
27
- if (!params.allowDropOnSelf)
28
- cb === null || cb === void 0 ? void 0 : cb();
29
- });
30
- }
31
- else {
32
- transmitAndQueryStop();
33
- // If allowDropOnSelf is true, it came from a tab/window drop event. Run the callback.
34
- if (!params.allowDropOnSelf)
35
- cb === null || cb === void 0 ? void 0 : cb();
36
- }
37
- };
38
- const isPointInBox = (point, box) => {
39
- if (!box.bottom)
40
- box.bottom = box.top + box.height;
41
- if (!box.right)
42
- box.right = box.left + box.width;
43
- return point.x > box.left && point.x < box.right && point.y < box.bottom && point.y > box.top;
44
- };
45
- export class TabList extends React.Component {
46
- constructor(props) {
47
- super(props);
48
- let initialState = Store.getValues(["activeTab", "tabs"]);
49
- let activeIdentifier = FEAGlobals.finsembleWindow.identifier;
50
- if (activeIdentifier) {
51
- activeIdentifier.title = FEAGlobals.finsembleWindow.windowOptions.title;
52
- }
53
- this.state = {
54
- translateX: 0,
55
- tabs: initialState.tabs,
56
- activeTab: activeIdentifier,
57
- boundingBox: {
58
- right: 0,
59
- left: 0,
60
- top: 0,
61
- bottom: 0,
62
- height: 0,
63
- width: 0,
64
- },
65
- iAmDragging: false,
66
- tabWidth: TAB_WIDTH,
67
- hoveredTabIndex: undefined,
68
- };
69
- this.onWindowResizeThrottled = () => { };
70
- this.setActiveTabThrottled = () => { };
71
- this.bindCorrectContext();
72
- this.mousePositionOnDragEnd = {
73
- x: 0,
74
- y: 0,
75
- };
76
- }
77
- /**
78
- * Make sure that _this_ is correct inside of our event handlers.
79
- */
80
- bindCorrectContext() {
81
- this.startDrag = this.startDrag.bind(this);
82
- this.stopDrag = this.stopDrag.bind(this);
83
- this.cancelTabbing = this.cancelTabbing.bind(this);
84
- this.drop = this.drop.bind(this);
85
- this.dragOver = this.dragOver.bind(this);
86
- this.dragLeave = this.dragLeave.bind(this);
87
- this.onMouseWheel = this.onMouseWheel.bind(this);
88
- this.renderTitle = this.renderTitle.bind(this);
89
- this.renderTabs = this.renderTabs.bind(this);
90
- this.findTabIndex = this.findTabIndex.bind(this);
91
- this.setActiveTab = this.setActiveTab.bind(this);
92
- // the setActiveTab function should be throttled to prevent the bug where switching tabs very fast when the stack is maximized made tabs not responsive.
93
- this.setActiveTabThrottled = _throttle(this.setActiveTab, 500);
94
- this.onTabAdded = this.onTabAdded.bind(this);
95
- this.onTabClosed = this.onTabClosed.bind(this);
96
- this.onTabsChanged = this.onTabsChanged.bind(this);
97
- this.onTabDraggedOver = this.onTabDraggedOver.bind(this);
98
- this.isTabRegionOverflowing = this.isTabRegionOverflowing.bind(this);
99
- this.onWindowResize = this.onWindowResize.bind(this);
100
- this.onWindowResizeThrottled = _throttle(this.onWindowResize, 100);
101
- this.getTabWidth = this.getTabWidth.bind(this);
102
- this.setTabListTranslateX = this.setTabListTranslateX.bind(this);
103
- this.onTabListTranslateChanged = this.onTabListTranslateChanged.bind(this);
104
- this.changeTab = this.changeTab.bind(this);
105
- }
106
- getTabWidth(params = {}) {
107
- let { boundingBox, tabList } = params;
108
- if (typeof tabList === "undefined") {
109
- tabList = this.state.tabs;
110
- }
111
- if (typeof boundingBox === "undefined") {
112
- boundingBox = this.refs.Me.getBoundingClientRect();
113
- }
114
- if (typeof boundingBox.right === "undefined") {
115
- return TAB_WIDTH;
116
- }
117
- let containerWidth = boundingBox.right - boundingBox.left;
118
- let newTabWidth = containerWidth / tabList.length;
119
- return newTabWidth < MINIMUM_TAB_SIZE ? MINIMUM_TAB_SIZE : newTabWidth;
120
- }
121
- /**
122
- * Resize handler. Calculates the space that the center-region is taking up. May be used to scale tabs proportionally.
123
- */
124
- onWindowResize() {
125
- let bounds = this.refs.Me.getBoundingClientRect();
126
- this.setState({
127
- boundingBox: bounds,
128
- tabWidth: this.getTabWidth(),
129
- });
130
- }
131
- findTabIndex(tab) {
132
- return this.state.tabs.findIndex((el) => tab.windowName === el.windowName);
133
- }
134
- /**
135
- *
136
- * Function that's called when this component fires the onDragStart event, this will start the tiling or tabbing process
137
- *
138
- * @param e The SyntheticEvent created by React when the startdrag event is called
139
- * @memberof windowTitleBar
140
- */
141
- startDrag(e, windowIdentifier) {
142
- this.setState({
143
- iAmDragging: true,
144
- });
145
- e.dataTransfer.setData("application/fsbl-tab-data", JSON.stringify(windowIdentifier));
146
- FEAGlobals.FSBL.Clients.RouterClient.transmit("DockingService.startTilingOrTabbing", {
147
- windowIdentifier,
148
- });
149
- }
150
- /**
151
- * Called when the react component detects a drop (or stop drag, which is equivalent)
152
- *
153
- * @param e The SyntheticEvent created by React when the stopdrag event is called
154
- * @memberof windowTitleBar
155
- */
156
- stopDrag(e) {
157
- // We don't want onDropHandler() in windowTitleBarComponent.jsx
158
- // to handle this drop event, so we call event.stopPropagation().
159
- e.stopPropagation();
160
- FEAGlobals.FSBL.Clients.Logger.system.debug("Tab stopDrag.");
161
- this.mousePositionOnDragEnd = {
162
- x: e.nativeEvent.screenX,
163
- y: e.nativeEvent.screenY,
164
- };
165
- const { boundingBox } = this.state;
166
- FEAGlobals.finsembleWindow.getBounds((err, bounds) => {
167
- var _a, _b, _c, _d;
168
- // We ONLY want to know if we're in the tab region!
169
- const tabRegion = {
170
- top: boundingBox.top + ((_a = bounds === null || bounds === void 0 ? void 0 : bounds.top) !== null && _a !== void 0 ? _a : 0),
171
- bottom: boundingBox.bottom + ((_b = bounds === null || bounds === void 0 ? void 0 : bounds.top) !== null && _b !== void 0 ? _b : 0),
172
- left: boundingBox.left + ((_c = bounds === null || bounds === void 0 ? void 0 : bounds.left) !== null && _c !== void 0 ? _c : 0),
173
- right: boundingBox.right + ((_d = bounds === null || bounds === void 0 ? void 0 : bounds.left) !== null && _d !== void 0 ? _d : 0),
174
- width: 0,
175
- height: 0,
176
- };
177
- if (!isPointInBox(this.mousePositionOnDragEnd, tabRegion)) {
178
- // allow for a 50ms delay so this message goes after a drop message from a target window if tabbing
179
- setTimeout(() => {
180
- stopTilingOrTabbing({
181
- mousePosition: this.mousePositionOnDragEnd,
182
- });
183
- }, 50);
184
- this.onWindowResize();
185
- }
186
- else {
187
- // sometimes a tab gets dropped in a bad spot where no action gets taken and we get stuck in tiling mode
188
- // to make sure nothing bad happens, call cancel after a similar 50ms delay
189
- // If some action was taken, this will be ignored by Finsemble
190
- setTimeout(() => {
191
- FEAGlobals.FSBL.Clients.RouterClient.transmit("DockingService.cancelTilingOrTabbing", {
192
- windowIdentifier: this.state.activeTab,
193
- });
194
- }, 50);
195
- }
196
- // set the default state after dragging
197
- this.setState({
198
- iAmDragging: false,
199
- });
200
- });
201
- }
202
- /**
203
- * Helper function that will pull data from a drop event, parse it, and return it.
204
- * @param {event} e
205
- */
206
- extractWindowIdentifier(e) {
207
- try {
208
- let identifier = JSON.parse(e.dataTransfer.getData("application/fsbl-tab-data"));
209
- // If the "identifier" is formed properly, it'll have this properly. Otherwise, it's something else (e.g., share data, image, etc).
210
- if (typeof identifier.windowName !== "undefined") {
211
- return identifier;
212
- }
213
- else if (identifier.waitForIdentifier) {
214
- return identifier;
215
- }
216
- else {
217
- FEAGlobals.FSBL.Clients.Logger.system.error("Malformed drop object detected in windowTitleBar. Check tab dropping code. Expected windowIdentifier, got ", identifier);
218
- return null;
219
- }
220
- }
221
- catch (e2) {
222
- FEAGlobals.FSBL.Clients.Logger.system.error("Error in 'extractWindowIdentifier'. Check TabRegion.jsx. Either there was no data in the event, or it was a circular object that caused JSON.parse to fail. Javascript Error:", e2);
223
- return null;
224
- }
225
- }
226
- /**
227
- * Called when a drop event occurs on the tab region. We (hope) that this came from a tab. Could be a share icon, an image, something else - that's why we check to see if the identifier exists before doing anything.
228
- * @param {event} e
229
- */
230
- drop(e) {
231
- let identifier;
232
- if (e) {
233
- e.preventDefault();
234
- e.stopPropagation();
235
- identifier = this.extractWindowIdentifier(e);
236
- }
237
- FEAGlobals.FSBL.Clients.Logger.system.debug("Tab drag drop.");
238
- if (!identifier)
239
- return; // the dropped item is not a tab
240
- if (this.state.tabs.length === 1 && identifier.windowName === FEAGlobals.finsembleWindow.name) {
241
- // The source and destination tabs are the same
242
- //
243
- // Cancel the tabbing event
244
- FEAGlobals.FSBL.Clients.RouterClient.transmit("DockingService.cancelTilingOrTabbing", {
245
- windowIdentifier: this.state.activeTab,
246
- });
247
- // But also set "iAmDragging" to false in order to allow other tabs to be dragged in here
248
- this.setState({
249
- iAmDragging: false,
250
- });
251
- return;
252
- }
253
- stopTilingOrTabbing({ allowDropOnSelf: true, action: "tabbing" }, () => {
254
- FEAGlobals.FSBL.Clients.RouterClient.transmit("tabbingDragEnd", { success: true });
255
- if (identifier && identifier.windowName) {
256
- // Calls a method defined inside of windowTitleBar.jsx.
257
- this.onTabAdded(identifier, this.state.hoveredTabIndex);
258
- }
259
- else if (identifier && identifier.waitForIdentifier) {
260
- let subscribeId;
261
- let tabIdentifierSubscriber = (err, response) => {
262
- if (!response.data.windowName)
263
- return;
264
- FEAGlobals.FSBL.Clients.RouterClient.unsubscribe(subscribeId);
265
- this.onTabAdded(response.data, this.state.hoveredTabIndex);
266
- };
267
- subscribeId = FEAGlobals.FSBL.Clients.RouterClient.subscribe(`Finsemble.${identifier.guid}`, tabIdentifierSubscriber);
268
- }
269
- else {
270
- FEAGlobals.FSBL.Clients.Logger.system.error("Unexpected drop event on window title bar. Check the 'drop' method on TabRegion.jsx.");
271
- }
272
- });
273
- }
274
- isTabRegionOverflowing() {
275
- let lastTab = {
276
- right: this.state.tabs.length * this.state.tabWidth,
277
- };
278
- return lastTab.right + this.state.translateX > this.state.boundingBox.right - this.state.boundingBox.left;
279
- }
280
- /**
281
- * Event handler for when a user wheels inside of the tab region. We translate the deltaY that the event provides into horizontal movement. The translateX value that we return will be used in the render method below.
282
- * @param {event} e
283
- * This should probably be refactored into separate handlers for scroll and mousewheel to account for the differences in event properties.
284
- */
285
- onMouseWheel(e) {
286
- e.preventDefault();
287
- let numTabs = this.state.tabs.length;
288
- let translateX = 0;
289
- // If there's more than one tab, do some calculations, otherwise we aren't going to scroll this region, no matter how much the user wants us to.
290
- if (numTabs > 1) {
291
- let currentX = this.refs.Me.scrollLeft;
292
- let { boundingBox } = this.state;
293
- // Figure out position of first tab and last tab.
294
- let firstTab = {
295
- left: 0 + boundingBox.left,
296
- };
297
- let lastTab = {
298
- right: numTabs * this.state.tabWidth,
299
- };
300
- let deltaX = this.state.tabWidth / 3;
301
- if (e.nativeEvent.deltaY < 0) {
302
- deltaX = 0 - deltaX;
303
- }
304
- // Mouses with high sensitivity will cause massive scroll amounts. We don't want to scroll more than one tab's width in a single mouse wheel, otherwise you risk missing a tab.
305
- if (Math.abs(deltaX) > this.state.tabWidth) {
306
- let isNegative = false;
307
- if (deltaX < 0) {
308
- isNegative = true;
309
- }
310
- deltaX = isNegative ? 0 - this.state.tabWidth : this.state.tabWidth;
311
- }
312
- // when we set scrollLeft on the element, this event fires. But there's no actual event. so stop.
313
- if (!e.nativeEvent.deltaY) {
314
- return;
315
- }
316
- let originalDeltaY = e.nativeEvent.deltaY;
317
- let deltaY = originalDeltaY;
318
- if (Math.abs(originalDeltaY) > this.state.tabWidth / 3) {
319
- deltaY = this.state.tabWidth / 3;
320
- if (originalDeltaY < 0) {
321
- deltaY = 0 - deltaY;
322
- }
323
- }
324
- translateX = deltaY + currentX;
325
- let newRightForLastTab = lastTab.right + translateX;
326
- let newLeftForFirstTab = firstTab.left + translateX;
327
- // Do not let the left of the first tab move to the right of the left edge of the bounding box.
328
- if (newLeftForFirstTab < 0) {
329
- return this.scrollToFirstTab();
330
- }
331
- else if (e.nativeEvent.deltaY < 0 && newRightForLastTab <= boundingBox.right) {
332
- // ONLY IF the user is scrolling from right-to-left (deltaY will be negative). IF they try to do that, do not allow the right edge of the last tab to detach.
333
- return this.scrollToLastTab();
334
- }
335
- // Else, the translation is okay. We're in the middle of our list and the first and last tabs aren't being rendered improperly.
336
- translateX < 0 ? (translateX = 0) : translateX;
337
- this.setState({ translateX });
338
- }
339
- }
340
- /**
341
- * Scrolls to our active tab.
342
- */
343
- scrollToActiveTab() {
344
- this.scrollToTab(this.state.activeTab);
345
- }
346
- /**
347
- * Scrolls to the first tab in our list of tabs.
348
- */
349
- scrollToFirstTab() {
350
- let firstTab = this.state.tabs[0];
351
- this.scrollToTab(firstTab);
352
- }
353
- /**
354
- * Scrolls to the last tab in our list of tabs
355
- */
356
- scrollToLastTab() {
357
- let lastTab = this.state.tabs[this.state.tabs.length - 1];
358
- this.scrollToTab(lastTab);
359
- }
360
- /**
361
- * Function that will horizontally scroll the tab region so that the right edge of the tab lines up with the right edge of the tab region.
362
- * @param {} tab
363
- */
364
- scrollToTab(tab) {
365
- // 'BoundingBox' is just the boundingClientRect of the tab region. It is, in essence, the center part of the windowTitleBar.
366
- let { boundingBox } = this.state;
367
- let tabIndex = this.state.tabs.findIndex((el) => el.windowName === tab.windowName);
368
- if (tabIndex > -1) {
369
- let leftEdgeOfTab = tabIndex * this.state.tabWidth;
370
- let rightEdgeOfTab = leftEdgeOfTab + this.state.tabWidth;
371
- let translateX = rightEdgeOfTab;
372
- // Our translation is this: Take the right edge of the bounding box, and subtract the left edge. This gives us the 0 point for the box. Then, we subtract the right edge of the tab. The result is a number that we use to shift the entire element and align the right edge of the tab with the right edge of the bounding box. We also account for the 30 px region on the right.
373
- // If there's no overflow, we don't scroll.
374
- if (rightEdgeOfTab < boundingBox.right) {
375
- translateX = 0;
376
- }
377
- else {
378
- // Our translation is this: Take the right edge of the bounding box, and subtract the left edge. This gives us the 0 point for the box. Then, we subtract the right edge of the tab. The result is a number that we use to shift the entire element and align the right edge of the tab with the right edge of the bounding box.
379
- translateX = boundingBox.right - boundingBox.left - rightEdgeOfTab;
380
- // If there's no overflow, we don't scroll.
381
- if (rightEdgeOfTab < boundingBox.right) {
382
- translateX = 0;
383
- }
384
- }
385
- this.setTabListTranslateX(translateX);
386
- }
387
- }
388
- setTabListTranslateX(translateX) {
389
- Actions.setTabListScrollPosition(translateX);
390
- }
391
- /**
392
- * Someone is dragging _something_ over the tab region. We respond by rendering the ghost tab.
393
- * @param {event} e
394
- */
395
- dragOver(e) {
396
- e.preventDefault();
397
- }
398
- /**
399
- * Triggered when the user moves their mouse out of the tabRegion after a dragOver event happens. When they leave, we hide our placeholder tab.
400
- * @param {event} e
401
- */
402
- dragLeave(e) {
403
- let boundingRect = this.state.boundingBox;
404
- if (!isPointInBox({ x: e.screenX, y: e.screenY }, boundingRect)) {
405
- this.setState({
406
- hoveredTabIndex: undefined,
407
- });
408
- }
409
- }
410
- /**
411
- * Set to a timeout. An event is sent to the RouterClient which will be handled by the drop handler on the window.
412
- * In the event that a drop handler never fires to stop tiling or tabbing, this will take care of it.
413
- *
414
- * @memberof windowTitleBar
415
- */
416
- cancelTabbing() {
417
- stopTilingOrTabbing({ allowDropOnSelf: true });
418
- this.onWindowResize();
419
- }
420
- /**
421
- * Basically exists just to keep the render method clean. Gives conditional classes to the active tab.
422
- * @param {tab} tab
423
- */
424
- getTabClasses(tab) {
425
- let classes = "fsbl-tab";
426
- let tabIndex = this.findTabIndex(tab);
427
- if (tabIndex === this.state.hoveredTabIndex)
428
- classes = `${classes} ghost-tab`;
429
- if (this.state.activeTab && tab.windowName === this.state.activeTab.windowName) {
430
- classes = `${classes} fsbl-active-tab`;
431
- }
432
- return classes;
433
- }
434
- onTabDraggedOver(e, tabDraggedOver) {
435
- e.preventDefault();
436
- // Find index of tab.
437
- let tabIndex = this.findTabIndex(tabDraggedOver);
438
- this.setState({
439
- hoveredTabIndex: tabIndex,
440
- });
441
- }
442
- /**
443
- * OnClick handler for the close button on individual tabs.
444
- * @PLACEHOLDER will interact with tabbing API
445
- * @param {*} tab
446
- */
447
- onTabClosed(identifier) {
448
- Actions.closeTab(identifier);
449
- }
450
- /**
451
- * drop handler for the tab region.
452
- * @param {*} tab
453
- */
454
- onTabAdded(identifier, newIndex) {
455
- if (newIndex === -1) {
456
- newIndex = undefined;
457
- }
458
- let myIdentifier = FEAGlobals.finsembleWindow.identifier;
459
- if (myIdentifier) {
460
- myIdentifier.title = FEAGlobals.finsembleWindow.windowOptions.title;
461
- }
462
- if (this.state.tabs.length === 1 && identifier.windowName == myIdentifier.windowName) {
463
- return;
464
- }
465
- if (typeof newIndex === "number") {
466
- Actions.reorderTab(identifier, newIndex);
467
- }
468
- this.setState({
469
- hoveredTabIndex: undefined,
470
- });
471
- }
472
- /**
473
- * OnClick handler for individual tabs.
474
- * @PLACEHOLDER will interact with tabbing API
475
- * @param {*} tab
476
- */
477
- setActiveTab(tab) {
478
- Actions.setActiveTab(tab);
479
- }
480
- onTabsChanged(err, response) {
481
- let { value } = response;
482
- // timeout is necessary to resolve a tab sizing conflict. KB50703
483
- setTimeout(() => {
484
- this.setState({
485
- tabs: value,
486
- tabWidth: this.getTabWidth({ tabList: value }),
487
- });
488
- });
489
- }
490
- onTabListTranslateChanged(err, response) {
491
- let { value } = response;
492
- this.setState({
493
- translateX: value,
494
- });
495
- }
496
- /**
497
- * Change active tab to the next one on either its left or right
498
- *
499
- * @param direction the direction the tab should change to (1 = right, -1 = left)
500
- */
501
- changeTab(direction) {
502
- const { currentIndex } = Actions.findTab(this.state.activeTab);
503
- let newIndex = currentIndex + direction;
504
- if (newIndex < 0) {
505
- newIndex = this.state.tabs.length - 1;
506
- }
507
- else if (newIndex >= this.state.tabs.length) {
508
- newIndex = 0;
509
- }
510
- this.setActiveTabThrottled(this.state.tabs[newIndex]);
511
- }
512
- componentDidMount() {
513
- Store.addListener({ field: "tabs" }, this.onTabsChanged);
514
- Store.addListener({ field: "tabListTranslateX" }, this.onTabListTranslateChanged);
515
- window.addEventListener("resize", this.onWindowResizeThrottled);
516
- window.addEventListener("keydown", (e) => {
517
- if (e.ctrlKey) {
518
- // On Mac or Windows, Ctrl+Tab changes tabs to the right
519
- // On Windows, Ctrl+PageDown changes tabs to the right
520
- if ((e.key === "Tab" && !e.shiftKey) || e.key === "PageDown") {
521
- this.changeTab(1);
522
- e.preventDefault();
523
- // On Mac or Windows, Ctrl+Shift+Tab changes tabs to the left
524
- // On Windows, Ctrl+PageUp changes tabs to the left
525
- }
526
- else if (e.key === "PageUp" || (e.key === "Tab" && e.shiftKey)) {
527
- this.changeTab(-1);
528
- e.preventDefault();
529
- }
530
- }
531
- else if (e.metaKey && e.altKey) {
532
- // On Mac, Cmd+Opt+Right changes tabs to the right
533
- if (e.key === "ArrowRight") {
534
- this.changeTab(1);
535
- e.preventDefault();
536
- // On Mac, Cmd+Opt+Left changes tabs to the left
537
- }
538
- else if (e.key === "ArrowLeft") {
539
- this.changeTab(-1);
540
- e.preventDefault();
541
- }
542
- }
543
- });
544
- let boundingBox = this.refs.Me.getBoundingClientRect();
545
- this.setState({
546
- boundingBox: boundingBox,
547
- tabWidth: this.getTabWidth({ boundingBox }),
548
- });
549
- }
550
- componentWillUnmount() {
551
- // Store.removeListener({ field: "activeTab" }, this.onActiveTabChanged);
552
- Store.removeListener({ field: "tabs" }, this.onTabsChanged);
553
- Store.removeListener({ field: "tabListTranslateX" }, this.onTabListTranslateChanged);
554
- window.removeEventListener("resize", this.onWindowResizeThrottled);
555
- }
556
- render() {
557
- let { translateX } = this.state;
558
- translateX = Math.abs(translateX);
559
- // If we have just 1 tab, we render the title. Unless someone is dragging a tab around - in that case, we will render the tab view, even though we only have 1.
560
- let componentToRender = "title";
561
- if (this.state.tabs.length === 1 && this.props.listenForDragOver && !this.state.iAmDragging) {
562
- componentToRender = "tabs";
563
- }
564
- if (this.state.tabs.length > 1) {
565
- componentToRender = "tabs";
566
- }
567
- // Cleanup in case we were translated before closing the second to last tab. This left-aligns the title.
568
- if (componentToRender === "title") {
569
- translateX = 0;
570
- }
571
- if (this.refs.Me) {
572
- this.refs.Me.scrollLeft = translateX;
573
- }
574
- return (React.createElement("div", { ref: "Me", onDragLeave: this.dragLeave, className: this.props.className, onWheel: this.onMouseWheel, onScroll: (e) => {
575
- this.onMouseWheel(e);
576
- }, onDrop: this.drop, onDragOver: this.dragOver },
577
- React.createElement("div", { className: "tab-region-wrapper" },
578
- componentToRender === "title" && this.renderTitle(),
579
- componentToRender === "tabs" && this.renderTabs())));
580
- }
581
- /**
582
- * Function to render the title. Helps keep the render code clean.
583
- */
584
- renderTitle() {
585
- const windowIdentifier = {
586
- windowName: FEAGlobals.finsembleWindow.name,
587
- uuid: FEAGlobals.finsembleWindow.uuid,
588
- };
589
- return (React.createElement("div", { draggable: "true", onDragStart: (e) => {
590
- FEAGlobals.FSBL.Clients.Logger.system.debug("Tab drag start - TITLE");
591
- let activeIdentifier = FEAGlobals.finsembleWindow
592
- .identifier;
593
- activeIdentifier.title = FEAGlobals.finsembleWindow.windowOptions.title;
594
- this.startDrag(e, activeIdentifier);
595
- }, onDragEnd: this.stopDrag, className: "fsbl-header-title" },
596
- React.createElement(Title, { onUpdate: this.props.onTitleUpdated, windowIdentifier: windowIdentifier })));
597
- }
598
- /**
599
- * Renders the array of tabs.
600
- * @param {*} props
601
- */
602
- renderTabs() {
603
- let titleWidth = this.state.tabWidth - ICON_AREA - CLOSE_BUTTON_MARGIN;
604
- return this.state.tabs.map((tab) => (React.createElement(Tab, { draggable: "true", key: tab.windowName, className: this.getTabClasses(tab), onClick: () => {
605
- this.setActiveTabThrottled(tab);
606
- }, onDragStart: (e, identifier) => {
607
- FEAGlobals.FSBL.Clients.Logger.system.debug("Tab drag - TAB", identifier.windowName);
608
- this.startDrag(e, identifier);
609
- }, onDrop: this.drop, onDragEnd: this.stopDrag, onTabClose: () => {
610
- this.onTabClosed(tab);
611
- }, onTabDraggedOver: this.onTabDraggedOver, listenForDragOver: this.props.listenForDragOver, tabWidth: this.state.tabWidth, titleWidth: titleWidth, windowIdentifier: tab })));
612
- }
613
- }
614
- //# sourceMappingURL=TabList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabList.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/center/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAIxC,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,IAAI,SAAS,GAAG,GAAG,CAAC;AACpB,iFAAiF;AACjF,MAAM,SAAS,GAAG,EAAE,CAAC;AACrB,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAE7B,MAAM,mBAAmB,GAAG,CAC3B,MAOC,EACD,EAAe,EACd,EAAE;IACH,MAAM,oBAAoB,GAAG,GAAG,EAAE;QACjC,gDAAgD;QAChD,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,oCAAoC,EAAE,MAAM,EAAE,GAAG,EAAE;YAC7F,EAAE,aAAF,EAAE,uBAAF,EAAE,EAAI,CAAC;QACR,CAAC,CAAC,CAAC;QACH,wGAAwG;QACxG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,oCAAoC,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC,CAAC;IACF,2CAA2C;IAC3C,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE;QAC1B,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC3D,MAAM,CAAC,aAAa,GAAG,QAAQ,CAAC;YACh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D,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE;gBAC9B,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;gBACrF,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;YAC/B,CAAC,EACD,MAAM,EAAE,IAAI,CAAC,IAAI,EACjB,SAAS,EAAE,IAAI,CAAC,QAAQ,EACxB,UAAU,EAAE,GAAG,EAAE;gBAChB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;YACvB,CAAC,EACD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAC/C,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC7B,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,GAAG,GACpB,CACF,CAAC,CAAC;IACJ,CAAC;CACD"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TabRegion: () => JSX.Element;
3
- //# sourceMappingURL=TabRegion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabRegion.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/windowTitleBar/components/center/TabRegion.tsx"],"names":[],"mappings":";AAOA,eAAO,MAAM,SAAS,mBAuBrB,CAAC"}