@finsemble/finsemble-ui 8.3.0 → 8.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) 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.js +2 -2
  5. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  6. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  7. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  8. package/clients/Startup/FSBLDesktop.js +2 -4
  9. package/clients/Startup/FSBLDesktop.js.map +1 -1
  10. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  11. package/clients/Startup/unhandledErrors.js +6 -4
  12. package/clients/Startup/unhandledErrors.js.map +1 -1
  13. package/clients/Startup/windowStartup.d.ts.map +1 -1
  14. package/clients/Startup/windowStartup.js +77 -116
  15. package/clients/Startup/windowStartup.js.map +1 -1
  16. package/clients/StoreModel.d.ts +8 -8
  17. package/clients/StoreModel.js +8 -8
  18. package/clients/appsClient.d.ts +90 -0
  19. package/clients/appsClient.d.ts.map +1 -0
  20. package/clients/appsClient.js +51 -0
  21. package/clients/appsClient.js.map +1 -0
  22. package/clients/authenticationClient.d.ts +29 -27
  23. package/clients/authenticationClient.d.ts.map +1 -1
  24. package/clients/authenticationClient.js +11 -15
  25. package/clients/authenticationClient.js.map +1 -1
  26. package/clients/configClient.d.ts +134 -70
  27. package/clients/configClient.d.ts.map +1 -1
  28. package/clients/configClient.js +129 -112
  29. package/clients/configClient.js.map +1 -1
  30. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  31. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  32. package/clients/controller/DialogManagerClientController.js +213 -0
  33. package/clients/controller/DialogManagerClientController.js.map +1 -0
  34. package/clients/dialogManagerClient.d.ts +1 -75
  35. package/clients/dialogManagerClient.d.ts.map +1 -1
  36. package/clients/dialogManagerClient.js +1 -208
  37. package/clients/dialogManagerClient.js.map +1 -1
  38. package/clients/distributedStoreClient.d.ts +1 -0
  39. package/clients/distributedStoreClient.d.ts.map +1 -1
  40. package/clients/distributedStoreClient.js +1 -0
  41. package/clients/distributedStoreClient.js.map +1 -1
  42. package/clients/hotkeyClient.d.ts +18 -9
  43. package/clients/hotkeyClient.d.ts.map +1 -1
  44. package/clients/hotkeyClient.js +30 -14
  45. package/clients/hotkeyClient.js.map +1 -1
  46. package/clients/index.d.ts +2 -0
  47. package/clients/index.d.ts.map +1 -1
  48. package/clients/index.js +2 -0
  49. package/clients/index.js.map +1 -1
  50. package/clients/launcherClient.d.ts +157 -47
  51. package/clients/launcherClient.d.ts.map +1 -1
  52. package/clients/launcherClient.js +201 -22
  53. package/clients/launcherClient.js.map +1 -1
  54. package/clients/logger.d.ts.map +1 -1
  55. package/clients/logger.js +43 -41
  56. package/clients/logger.js.map +1 -1
  57. package/clients/notificationClient.d.ts +2 -2
  58. package/clients/notificationClient.d.ts.map +1 -1
  59. package/clients/notificationClient.js +2 -2
  60. package/clients/notificationClient.js.map +1 -1
  61. package/clients/routerClient.d.ts +25 -21
  62. package/clients/routerClient.d.ts.map +1 -1
  63. package/clients/routerClient.js +24 -20
  64. package/clients/routerClient.js.map +1 -1
  65. package/clients/searchClient.d.ts +2 -2
  66. package/clients/searchClient.js +2 -2
  67. package/clients/storageClient.d.ts +8 -5
  68. package/clients/storageClient.d.ts.map +1 -1
  69. package/clients/storageClient.js +7 -5
  70. package/clients/storageClient.js.map +1 -1
  71. package/clients/windowClient.d.ts +160 -79
  72. package/clients/windowClient.d.ts.map +1 -1
  73. package/clients/windowClient.js +244 -138
  74. package/clients/windowClient.js.map +1 -1
  75. package/clients/workspaceClient.d.ts +19 -14
  76. package/clients/workspaceClient.d.ts.map +1 -1
  77. package/clients/workspaceClient.js +15 -9
  78. package/clients/workspaceClient.js.map +1 -1
  79. package/common/Desktop.d.ts +9 -50
  80. package/common/Desktop.d.ts.map +1 -1
  81. package/common/Desktop.js +11 -64
  82. package/common/Desktop.js.map +1 -1
  83. package/common/FinsembleWindow.d.ts +4 -107
  84. package/common/FinsembleWindow.d.ts.map +1 -1
  85. package/common/FinsembleWindow.js +21 -342
  86. package/common/FinsembleWindow.js.map +1 -1
  87. package/common/Monitors.d.ts +30 -18
  88. package/common/Monitors.d.ts.map +1 -1
  89. package/common/Monitors.js +45 -80
  90. package/common/Monitors.js.map +1 -1
  91. package/common/Singleton.d.ts +7 -1
  92. package/common/Singleton.d.ts.map +1 -1
  93. package/common/Singleton.js +24 -11
  94. package/common/Singleton.js.map +1 -1
  95. package/common/constants.d.ts +3 -9
  96. package/common/constants.d.ts.map +1 -1
  97. package/common/constants.js +3 -14
  98. package/common/constants.js.map +1 -1
  99. package/common/events/FinsembleEvent.d.ts +1 -1
  100. package/common/events/FinsembleEvent.d.ts.map +1 -1
  101. package/common/redux/getRemoteStore.d.ts +53 -0
  102. package/common/redux/getRemoteStore.d.ts.map +1 -0
  103. package/common/redux/getRemoteStore.js +50 -0
  104. package/common/redux/getRemoteStore.js.map +1 -0
  105. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  106. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  107. package/common/redux/remoteReduxEnhancer.js +35 -20
  108. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  109. package/common/redux/types.d.ts +14 -1
  110. package/common/redux/types.d.ts.map +1 -1
  111. package/common/systemManagerClient.d.ts +11 -5
  112. package/common/systemManagerClient.d.ts.map +1 -1
  113. package/common/systemManagerClient.js +25 -8
  114. package/common/systemManagerClient.js.map +1 -1
  115. package/common/util.d.ts +1 -7
  116. package/common/util.d.ts.map +1 -1
  117. package/common/util.js +1 -14
  118. package/common/util.js.map +1 -1
  119. package/deprecated/deprecatedFunctions.d.ts +1 -1
  120. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  121. package/deprecated/deprecatedFunctions.js +1 -2
  122. package/deprecated/deprecatedFunctions.js.map +1 -1
  123. package/deprecated/dragAndDropClient.d.ts +3 -3
  124. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  125. package/deprecated/dragAndDropClient.js.map +1 -1
  126. package/deprecated/linkerClient.d.ts +1 -1
  127. package/deprecated/linkerClient.d.ts.map +1 -1
  128. package/main.d.ts +289 -190
  129. package/main.d.ts.map +1 -1
  130. package/main.js +3 -1
  131. package/main.js.map +1 -1
  132. package/package.json +3 -3
  133. package/platform/services/Interop/types.d.ts +2 -1
  134. package/platform/services/Interop/types.d.ts.map +1 -1
  135. package/platform/services/router/types.d.ts +5 -6
  136. package/platform/services/router/types.d.ts.map +1 -1
  137. package/platform/services/systemManager/_constants.d.ts +1 -0
  138. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  139. package/platform/services/systemManager/_constants.js +1 -0
  140. package/platform/services/systemManager/_constants.js.map +1 -1
  141. package/platform/services/window/modules/actions.d.ts +59 -0
  142. package/platform/services/window/modules/actions.d.ts.map +1 -0
  143. package/platform/services/window/modules/actions.js +57 -0
  144. package/platform/services/window/modules/actions.js.map +1 -0
  145. package/platform/services/window/types.d.ts +257 -50
  146. package/platform/services/window/types.d.ts.map +1 -1
  147. package/platform/services/workspace/types.d.ts +4 -3
  148. package/platform/services/workspace/types.d.ts.map +1 -1
  149. package/react/assets/css/core/icons.css +0 -5
  150. package/react/assets/css/processMonitor.css +9 -4
  151. package/react/assets/css/windowTitleBar.css +98 -285
  152. package/react/assets/icons/chevron-down.svg +1 -0
  153. package/react/assets/icons/chevron-up.svg +1 -0
  154. package/react/components/common/ButtonRow.d.ts.map +1 -1
  155. package/react/components/common/ButtonRow.js +4 -9
  156. package/react/components/common/ButtonRow.js.map +1 -1
  157. package/react/components/common/ContextMenu.d.ts.map +1 -1
  158. package/react/components/common/ContextMenu.js +2 -10
  159. package/react/components/common/ContextMenu.js.map +1 -1
  160. package/react/components/common/DropdownButton.d.ts.map +1 -1
  161. package/react/components/common/DropdownButton.js +11 -24
  162. package/react/components/common/DropdownButton.js.map +1 -1
  163. package/react/components/common/FinsembleIcon.d.ts +1 -1
  164. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  165. package/react/components/common/FinsembleIcon.js +6 -4
  166. package/react/components/common/FinsembleIcon.js.map +1 -1
  167. package/react/components/common/css/accordion.css +9 -21
  168. package/react/components/common/css/application-edit-page.css +0 -4
  169. package/react/components/common/css/selector.css +3 -1
  170. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  171. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  172. package/react/components/downloadManager/DownloadManager.js +2 -4
  173. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  174. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  175. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  176. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  177. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  178. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  179. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  180. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  181. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  182. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  183. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  184. package/react/components/linker/remoteRedux.d.ts +2 -9
  185. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  186. package/react/components/linker/remoteRedux.js +2 -22
  187. package/react/components/linker/remoteRedux.js.map +1 -1
  188. package/react/components/notifications/css/notification-center.css +2 -0
  189. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  190. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  191. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  192. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  193. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  194. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  195. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  196. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  197. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  198. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  199. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  200. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  201. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  202. package/react/components/processMonitor/components/ListHeader.js +3 -2
  203. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  204. package/react/components/processMonitor/components/Process.d.ts +10 -0
  205. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  206. package/react/components/processMonitor/components/Process.js +11 -0
  207. package/react/components/processMonitor/components/Process.js.map +1 -0
  208. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  209. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  210. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  211. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  212. package/react/components/processMonitor/constants.d.ts +1 -2
  213. package/react/components/processMonitor/constants.d.ts.map +1 -1
  214. package/react/components/processMonitor/constants.js +2 -8
  215. package/react/components/processMonitor/constants.js.map +1 -1
  216. package/react/components/processMonitor/helpers.d.ts +0 -1
  217. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  218. package/react/components/processMonitor/helpers.js +2 -9
  219. package/react/components/processMonitor/helpers.js.map +1 -1
  220. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  221. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  222. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  223. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  224. package/react/components/search/SearchInput.d.ts +1 -2
  225. package/react/components/search/SearchInput.d.ts.map +1 -1
  226. package/react/components/search/SearchInput.js +11 -13
  227. package/react/components/search/SearchInput.js.map +1 -1
  228. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  229. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  230. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  231. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  232. package/react/components/singleInputDialog/SingleInputDialog.js +81 -100
  233. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  234. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  235. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  236. package/react/components/toolbar/ToolbarShell.js +3 -2
  237. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  238. package/react/components/utils.d.ts +50 -0
  239. package/react/components/utils.d.ts.map +1 -0
  240. package/react/components/utils.js +60 -0
  241. package/react/components/utils.js.map +1 -0
  242. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  243. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  244. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  245. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  246. package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  247. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  248. package/react/components/windowTitleBar/CloseButton.js +22 -0
  249. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  250. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  251. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  252. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  253. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  254. package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  255. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  256. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  257. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  258. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  259. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  260. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  261. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  262. package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
  263. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  264. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  265. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  266. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  267. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  268. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  269. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  270. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  271. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  272. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  273. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  274. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  275. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  276. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  277. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  278. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  279. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  280. package/react/components/windowTitleBar/ShareButton.js +24 -0
  281. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  282. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  283. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  284. package/react/components/windowTitleBar/TabRegion.js +453 -0
  285. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  286. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  287. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  288. package/react/components/windowTitleBar/TabTitle.js +17 -0
  289. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  290. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  291. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  292. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  293. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  294. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  295. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  296. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  297. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  298. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  299. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  300. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  301. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  302. package/react/components/windowTitleBar/index.d.ts +9 -8
  303. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  304. package/react/components/windowTitleBar/index.js +9 -8
  305. package/react/components/windowTitleBar/index.js.map +1 -1
  306. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  307. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  308. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  309. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  310. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  311. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  312. package/react/components/windowTitleBar/useMaximize.js +23 -0
  313. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  314. package/react/components/yesNoDialog/timer.js +2 -1
  315. package/react/components/yesNoDialog/timer.js.map +1 -1
  316. package/react/hooks/useDashbar.d.ts.map +1 -1
  317. package/react/hooks/useDashbar.js.map +1 -1
  318. package/react/hooks/useDragRegion.d.ts +27 -0
  319. package/react/hooks/useDragRegion.d.ts.map +1 -0
  320. package/react/hooks/useDragRegion.js +74 -0
  321. package/react/hooks/useDragRegion.js.map +1 -0
  322. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  323. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  324. package/react/hooks/useInjectedTitleBar.js +365 -0
  325. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  326. package/react/hooks/useNotifications.d.ts +1 -1
  327. package/react/hooks/useToolbar.d.ts +1 -0
  328. package/react/hooks/useToolbar.d.ts.map +1 -1
  329. package/react/hooks/useToolbar.js +13 -3
  330. package/react/hooks/useToolbar.js.map +1 -1
  331. package/typedoc-types.d.ts +9 -0
  332. package/typedoc-types.d.ts.map +1 -0
  333. package/typedoc-types.js +6 -0
  334. package/typedoc-types.js.map +1 -0
  335. package/types.d.ts +5 -11
  336. package/types.d.ts.map +1 -1
  337. package/types.js +2 -0
  338. package/types.js.map +1 -1
  339. package/common/events/PrivateEventManager.d.ts +0 -95
  340. package/common/events/PrivateEventManager.d.ts.map +0 -1
  341. package/common/events/PrivateEventManager.js +0 -295
  342. package/common/events/PrivateEventManager.js.map +0 -1
  343. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  344. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  345. package/common/events/PrivateFinsembleEvent.js +0 -65
  346. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  347. package/common/redux/createReducer.d.ts +0 -128
  348. package/common/redux/createReducer.d.ts.map +0 -1
  349. package/common/redux/createReducer.js +0 -298
  350. package/common/redux/createReducer.js.map +0 -1
  351. package/common/redux/index.d.ts +0 -3
  352. package/common/redux/index.d.ts.map +0 -1
  353. package/common/redux/index.js +0 -3
  354. package/common/redux/index.js.map +0 -1
  355. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  356. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  357. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  358. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  359. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  360. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  361. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  362. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  363. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  364. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  365. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  366. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  367. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  368. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  369. package/platform/services/window/Docking/boxMath.js +0 -511
  370. package/platform/services/window/Docking/boxMath.js.map +0 -1
  371. package/platform/services/window/Docking/constants.d.ts +0 -29
  372. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  373. package/platform/services/window/Docking/constants.js +0 -29
  374. package/platform/services/window/Docking/constants.js.map +0 -1
  375. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  376. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  377. package/platform/services/window/Docking/dockableBox.js +0 -525
  378. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  379. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  380. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  381. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  382. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  383. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  384. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  385. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  386. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  387. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  388. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  389. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  390. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  391. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  392. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  393. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  394. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  395. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  396. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  397. package/platform/services/window/Docking/dockingMain.js +0 -2541
  398. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  399. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  400. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  401. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  402. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  403. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  404. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  405. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  406. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  407. package/platform/services/window/Docking/types.d.ts +0 -334
  408. package/platform/services/window/Docking/types.d.ts.map +0 -1
  409. package/platform/services/window/Docking/types.js +0 -12
  410. package/platform/services/window/Docking/types.js.map +0 -1
  411. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  412. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  413. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  414. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  415. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  416. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  417. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  418. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  419. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  420. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  421. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  422. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  423. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  424. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  425. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  426. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  427. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  428. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  429. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  430. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  431. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  432. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  433. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  434. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  435. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  436. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  437. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  438. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  439. package/platform/services/window/windowGroup.d.ts +0 -86
  440. package/platform/services/window/windowGroup.d.ts.map +0 -1
  441. package/platform/services/window/windowGroup.js +0 -323
  442. package/platform/services/window/windowGroup.js.map +0 -1
  443. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  444. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  445. package/platform/services/workspace/windowStorageManager.js +0 -195
  446. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  447. package/react/assets/icons/question-circle.svg +0 -6
  448. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  449. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  450. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  451. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  452. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  453. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  454. package/react/components/sdd/Appearance.helpers.js +0 -2
  455. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  456. package/react/components/shared/linkerUtil.d.ts +0 -4
  457. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  458. package/react/components/shared/linkerUtil.js +0 -10
  459. package/react/components/shared/linkerUtil.js.map +0 -1
  460. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  461. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  462. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  463. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  464. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  465. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  466. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  467. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  468. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  469. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  470. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  471. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  472. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  473. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  474. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  475. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  476. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  477. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  478. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  479. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  480. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  481. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  482. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  483. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  484. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  485. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  486. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  487. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  488. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  489. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  490. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  491. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  492. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  493. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  494. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  495. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  496. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  497. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  498. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  499. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  500. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  501. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  502. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  503. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  504. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  505. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  506. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  507. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  508. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  509. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  510. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  511. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  512. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  513. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  514. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  515. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  516. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  517. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  518. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  519. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  520. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  521. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  522. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  523. package/react/types/windowTitleBar.d.ts +0 -49
  524. package/react/types/windowTitleBar.d.ts.map +0 -1
  525. package/react/types/windowTitleBar.js +0 -2
  526. package/react/types/windowTitleBar.js.map +0 -1
@@ -7,7 +7,7 @@
7
7
  * @module WindowClient
8
8
  */
9
9
  /**
10
- This is how we want our API to work going foward, the way the world does it: import { processAndSet } from "configClient"
10
+ This is how we want our API to work going forward, the way the world does it: import { processAndSet } from "configClient"
11
11
  ```
12
12
  export const processAndSet = () => { ... }
13
13
  ```
@@ -26,7 +26,6 @@ This can be eliminated when our core core is converted to normal imports as in t
26
26
  export default ConfigClient;
27
27
  ```
28
28
  */
29
- import { LauncherClient } from "./launcherClient";
30
29
  import { System } from "../common/system";
31
30
  import { Logger } from "./logger";
32
31
  import { RouterClient } from "./routerClient";
@@ -38,6 +37,8 @@ import { cacheInitialBounds as cacheInitialBoundsFromStartup } from "./Startup/w
38
37
  import { singleton } from "../common/Singleton";
39
38
  import SystemManagerClient from "../common/systemManagerClient";
40
39
  import { FinsembleWindow } from "../common/FinsembleWindow";
40
+ import { actions, emptyStore } from "../platform/services/window/modules/actions";
41
+ import { getRemoteStoreAsSingleton, getRemoteState } from "../common/redux/getRemoteStore";
41
42
  /**
42
43
  * The WindowClientController is a singleton which serves as the backing for the WindowClient export. Even though WindowClient
43
44
  * is exported, there can still be more than one instance when running with an FEA preload. In these circumstances, the singleton
@@ -54,7 +55,6 @@ class WindowClientController {
54
55
  this.options = {};
55
56
  this.title = null;
56
57
  this.windowGroups = [];
57
- this.commandChannel = undefined;
58
58
  }
59
59
  /**
60
60
  * Handler for group updates from the window service. Stores the groups that this window is in,
@@ -71,28 +71,12 @@ class WindowClientController {
71
71
  return;
72
72
  this.windowGroups = Object.values(res.data.groupData).filter((group) => group.windowNames.includes(deprecatedGetWindowNameForDocking(FEAGlobals.finsembleWindow)));
73
73
  }
74
- /**
75
- * Sends a command to the header. Commands affect the header state,
76
- * so that the UI reflects what is going on in the component window.
77
- * @param {string} command The state object to set
78
- * @param {object} state The new state (merged with existing)
79
- */
80
- updateHeaderState(command, state) {
81
- var _a;
82
- (_a = this.commandChannel) === null || _a === void 0 ? void 0 : _a.call(this, command, state);
83
- }
84
74
  setStartupData(systemStartupData) {
85
75
  this.options = systemStartupData;
86
76
  }
87
77
  async start() {
88
78
  await SystemManagerClient.waitForStartup("windowService");
89
79
  RouterClient.subscribe("Finsemble.WorkspaceService.groupUpdate", (groupUpdateSubscribeErr, res) => this.groupUpdateHandler(groupUpdateSubscribeErr, res));
90
- FEAGlobals.finsembleWindow.addEventListener("maximized", () => {
91
- this.updateHeaderState("Maximize", { hide: true });
92
- });
93
- FEAGlobals.finsembleWindow.addEventListener("restored", () => {
94
- this.updateHeaderState("Maximize", { hide: false });
95
- });
96
80
  // On Blur remove the border from window
97
81
  FEAGlobals.finsembleWindow.addEventListener("blurred", () => {
98
82
  deprecatedSetActive(false);
@@ -108,8 +92,8 @@ class WindowClientController {
108
92
  */
109
93
  export const getControllerInstance = () => singleton("WindowClient", WindowClientController);
110
94
  /**
111
- * Returns a list of the groups this window is in, if any.
112
95
  * @deprecated
96
+ * Returns a list of the groups this window is in, if any.
113
97
  */
114
98
  const getWindowGroups = () => {
115
99
  Logger.deprecated("getWindowGroups() is deprecated and will be removed in a future release.");
@@ -129,27 +113,18 @@ const getWindowGroups = () => {
129
113
  * @param {boolean} params.removeFromWorkspace Whether to remove the window from the workspace.
130
114
  * @param {boolean} params.closeWindow Whether to close the window. On shutdown this method is called, but the Window Service actually closes the window.
131
115
  * @param {boolean} params.userInitiated Whether the user clicked the X, or if the system asked the window to close.
132
- * @param {boolean} params.ignoreParent Whether or not to update the parent (stack) window when closing.
133
116
  * @param {function} cb The callback to be invoked after the method completes successfully.
134
117
  */
135
118
  export const close = (params, cb) => {
136
119
  if (!params) {
137
120
  params = { removeFromWorkspace: true, closeWindow: true };
138
121
  }
139
- const { parentWindow } = FEAGlobals.finsembleWindow;
140
- if (params.userInitiated && parentWindow) {
141
- return parentWindow.close(params, cb);
142
- }
143
- else {
144
- return FEAGlobals.finsembleWindow.close(params, cb);
145
- }
122
+ return FEAGlobals.finsembleWindow.close(params, cb);
146
123
  };
147
124
  /**
148
125
  * Retrieves the window's title.
149
126
  *
150
- * ```javascript
151
- * let windowTitle = FSBL.Clients.WindowClient.getWindowTitle();
152
- * ```
127
+ * @deprecated
153
128
  * @returns {String} title
154
129
  */
155
130
  export const getWindowTitle = () => {
@@ -261,9 +236,11 @@ export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
261
236
  */
262
237
  export const bringToFront = (cb) => FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
263
238
  /**
239
+ * @deprecated Use [`bringToFront()`](#bringtofront) instead, which returns a promise.
240
+ *
264
241
  * Brings the window to the top of all other windows
265
242
  *
266
- * This is a non-promisifed version for backward compatibility. Please use WindowClient.bringToFront()
243
+ * This is a non-promise version for backward compatibility. Please use WindowClient.bringToFront()
267
244
  *
268
245
  * @deprecated Use `bringToFront()` instead, which returns a promise.
269
246
  */
@@ -291,15 +268,20 @@ export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.se
291
268
  */
292
269
  export const restore = (cb) => FEAGlobals.finsembleWindow.restore(null, cb);
293
270
  /**
271
+ * :::tip Important
294
272
  * _This feature is experimental. The signature may change in the future._
273
+ * :::
295
274
  *
296
275
  * Sets an overlay image on the MS Windows taskbar, for instance to indicate activity.
297
276
  * (This is sometimes referred to as a "badge").
298
277
  *
299
278
  * The url must point to a 16x16 png image. Images of other sizes or types will not display.
300
279
  *
301
- * Note: MacOS does not support taskbar overlay images. This function is safe to call
280
+ * :::note
281
+ * MacOS does not support taskbar overlay images. This function is safe to call
302
282
  * on MacOS but will not perform any function.
283
+ * :::
284
+ *
303
285
  * @param url - The url of the icon to use. Pass null to remove the overlay icon.
304
286
  */
305
287
  export const setTaskbarIconOverlay = (url) => {
@@ -382,7 +364,10 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
382
364
  * let s = stx.exportLayout(true);
383
365
  * //saving layout'
384
366
  * FSBL.Clients.WindowClient.setComponentState({ field: 'myChartLayout', value: s });
385
- * FSBL.Clients.WindowClient.setComponentState({ fields: [{field:'myChartLayout', value: s }, {field:'chartType', value: 'mountain'}]);
367
+ * FSBL.Clients.WindowClient.setComponentState({ fields: [
368
+ * {field:'myChartLayout', value: s },
369
+ * {field:'chartType', value: 'mountain'}
370
+ * ]});
386
371
  * ```
387
372
  * @param {object} params Object of data to be saved
388
373
  * @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
@@ -405,7 +390,7 @@ export const setComponentState = async (params, cb) => new Promise(async (resolv
405
390
  * ```javascript
406
391
  * // remove unused state value
407
392
  * FSBL.Clients.WindowClient.removeComponentState({ field: 'myChartLayout'});
408
- * FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]);
393
+ * FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]});
409
394
  * ```
410
395
  * @param {object} params Object of data to be removed
411
396
  * @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
@@ -421,8 +406,10 @@ export const removeComponentState = async (params, cb) => new Promise(async (res
421
406
  });
422
407
  });
423
408
  /**
424
- * Gets the window name of current window or the parent, if tabbed. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement.
409
+ * Gets the window name of current window. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement.
425
410
  * @deprecated
411
+ *
412
+ * Gets the window name of current window or the parent, if tabbed. The code that manages window movement will not see a child window if it's part of a stacked window. This function will return the window name that the Window Service cares about for window movement.
426
413
  */
427
414
  export const getWindowNameForDocking = () => {
428
415
  Logger.deprecated("WindowClient.getWindowNameForDocking is deprecated and will be removed");
@@ -443,48 +430,31 @@ export const formGroup = () => {
443
430
  const addListeners = () => {
444
431
  Logger.deprecated("Do not call WindowClient.addListeners() directly");
445
432
  };
446
- /**
447
- * Establishes a command channel with the <a href="tutorial-UIComponents.html#window-title-bar-aka-the-fsblheader">Finsemble window title bar component</a>. The Window Client can
448
- * update the title bar's state via this channel. This code will be moved into finsemble-ui.
449
- * @param {function} commandChannel A function callback that receives commands.
450
- */
451
- const headerCommandChannel = (commandChannel) => {
452
- const controller = getControllerInstance();
453
- controller.commandChannel = commandChannel;
454
- };
455
433
  /**
456
434
  * Ejects the window from the docking group
457
435
  * @deprecated This code will be moved to finsemble-ui
436
+ * Ejects the window from the docking group
458
437
  */
459
438
  export const ejectFromGroup = () => {
460
439
  Logger.deprecated("WindowClient.ejectFromGroup is deprecated and will be removed");
461
440
  FEAGlobals.finsembleWindow.ejectFromGroup();
462
441
  };
463
442
  /**
464
- * @param title Title for the window
465
- */
466
- const setWindowTitlePrivate = (title) => {
467
- const controller = getControllerInstance();
468
- controller.title = title;
469
- // TODO, singleton
470
- // document.title = title; // causes flickering in chromium 53
471
- controller.updateHeaderState("Main", { windowTitle: title });
472
- FEAGlobals.finsembleWindow.setTitle(title);
473
- };
474
- /**
475
- * Deprecated. Please simply set the application's `document.title` element to change the title that appears
476
- * in the window's title bar. Or, set `components["Window Manager"].title` in the app's manifest.
477
- *
478
- * Old documentation:
479
- * This function sets the window's title in the window title bar area as well as in the DOM's title element.
480
- * This is useful to set the title dynamically based on state information: you can keep the window's title in sync with a piece of data (e.g., a Symbol).
481
- * This title will not persist between sessions automatically; use setComponentState/getComponentState to persist the title.
482
- * @param {String} title Window title.
483
- * @deprecated
443
+ * This method overrides the app title that displays in the app's title bar or tab. This will take precedence over
444
+ * the document.title or title that is set in the app's config. This will however be overridden by an user edited title.
445
+ * @param title Window title.
484
446
  */
485
447
  const setWindowTitle = (title) => {
486
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please simply set the application's `document.title` element to change the title. Or, set `components['Window Manager'].title` in the app's manifest.");
487
- setWindowTitlePrivate(title);
448
+ const store = getRemoteStoreAsSingleton({
449
+ singletonName: "WindowClient::setWindowTitle",
450
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
451
+ slice: "windowTitleBar",
452
+ emptyStore,
453
+ dispatchOnly: true,
454
+ });
455
+ store.dispatch(actions.setAPITitle({
456
+ title,
457
+ }));
488
458
  };
489
459
  /**
490
460
  * Retrieves data that was set with <a href="/docs/reference/typedocs/modules/LauncherClient#spawn">LauncherClient.spawn</a>.
@@ -496,9 +466,10 @@ export const getSpawnData = () => {
496
466
  return (_c = (_b = (_a = controller.options) === null || _a === void 0 ? void 0 : _a.customData) === null || _b === void 0 ? void 0 : _b.spawnData) !== null && _c !== void 0 ? _c : {};
497
467
  };
498
468
  /**
469
+ * @deprecated Use `FSBL.System.Window.getCurrent()`
470
+ *
499
471
  * Returns a reference to the current FEAWindow for the component.
500
472
  * @returns {finWindow}
501
- * @deprecated Use `FSBL.System.Window.getCurrent()`
502
473
  */
503
474
  export const getCurrentWindow = () => {
504
475
  // getCurrentWindow() is still being used by e2e tests and the zoom.js preload. Don't change this to
@@ -545,10 +516,10 @@ export const getWindowIdentifier = () => {
545
516
  };
546
517
  };
547
518
  /**
519
+ * @deprecated
548
520
  * Highlights the window as active by creating a border around the window.
549
521
  *
550
522
  * @param {boolean} active Set to false to turn off activity
551
- * @deprecated
552
523
  */
553
524
  const setActive = (active) => {
554
525
  Logger.deprecated("WindowClient.setActive is deprecated and will be removed");
@@ -617,18 +588,6 @@ export const cancelTilingOrTabbing = (params, cb) => {
617
588
  RouterClient.transmit("DockingService.cancelTilingOrTabbing", params);
618
589
  cb === null || cb === void 0 ? void 0 : cb();
619
590
  };
620
- /**
621
- * This is used to let Finsemble know which window is being dragged. <code>params.windowIdentifier</code> must be the identifier of the tab being dragged. This is only used if the identifier is unknown when <code>startTilingOrTabbing</code> is called.
622
- * @param {*} params - The <code>windowIdentifier</code> is required.
623
- * @param {WindowIdentifier} params.windowIdentifier The Finsemble identifier for the target window.
624
- * @param {*} cb - The callback to be invoked after the method completes successfully.
625
- * @deprecated This code will be moved into finsemble-ui
626
- */
627
- export const sendIdentifierForTilingOrTabbing = (params, cb) => {
628
- Logger.deprecated("WindowClient.sendIdentifierForTilingOrTabbing is deprecated and will be removed");
629
- RouterClient.transmit("DockingService.identifierForTilingOrTabbing", params);
630
- cb === null || cb === void 0 ? void 0 : cb();
631
- };
632
591
  /**
633
592
  * This function is used by the Finsemble window title bar to end tiling or tabbing.
634
593
  * @param {*} params
@@ -663,52 +622,6 @@ export const stopTilingOrTabbing = (params, cb) => {
663
622
  if (!params.allowDropOnSelf)
664
623
  cb === null || cb === void 0 ? void 0 : cb();
665
624
  };
666
- /**
667
- * Gets the stackedWindow (if this window is a child of a stacked window).
668
- *
669
- * If the calling window is not part of a stacked window, the stacked window identifier will be returned null -- unless params.create is true. In this case, a stacked window will be created and the calling window will be set as the first child
670
- *
671
- * (Typically used by Tabbing Presentation component to manage tabs.)
672
- *
673
- * @param {object=} params
674
- * @param {array=} params.create if true and StackedWindow isn't defined, then it will be created
675
- * @param {array=} params.windowIdentifiers if creating, then can optionally specify an array of other windowIdentifiers to add to stack on creation (in addition to this window).
676
- * @param {function} cb cb(err, stackedWindowIdentifier)
677
- *
678
- * Typically used by Tabbing Presentation component.
679
- * @deprecated Move this code into UI library (windowTitleBarStore)
680
- */
681
- const getStackedWindow = (params, cb) => {
682
- Logger.deprecated("WindowClient.getStackedWindow is deprecated and will be removed");
683
- Logger.system.debug("WindowClient.getStackedWindow", params);
684
- cb = cb || params;
685
- params = params || {};
686
- params.windowIdentifiers = params.windowIdentifiers || [];
687
- if (!FEAGlobals.finsembleWindow.parentWindow && params.create) {
688
- const onParentSet = (evt) => {
689
- const { parentName } = evt.data;
690
- FEAGlobals.finsembleWindow.setParent({ windowName: parentName }, (err2, windowWrapper) => {
691
- cb === null || cb === void 0 ? void 0 : cb(err2, windowWrapper);
692
- });
693
- FEAGlobals.finsembleWindow.removeListener("parent-set", onParentSet);
694
- };
695
- FEAGlobals.finsembleWindow.addListener("parent-set", onParentSet);
696
- LauncherClient.spawn("StackedWindow", {
697
- windowType: "StackedWindow",
698
- data: { windowIdentifiers: params.windowIdentifiers },
699
- options: { newStack: true },
700
- }, (err, windowInfo) => {
701
- Logger.system.debug("WindowClient.getStackedWindow-success", err, windowInfo);
702
- if (!err) {
703
- return;
704
- }
705
- cb === null || cb === void 0 ? void 0 : cb(err, null);
706
- });
707
- }
708
- else {
709
- FEAGlobals.finsembleWindow.getParent(cb);
710
- }
711
- };
712
625
  /**
713
626
  *
714
627
  */
@@ -734,7 +647,7 @@ export const fitToDOM = async (params, cb) => {
734
647
  if (!bounds)
735
648
  return;
736
649
  /*
737
- // Injected titlebars monkey with the body height by setting a calc() in the css
650
+ // Injected title bars monkey with the body height by setting a calc() in the css
738
651
  // We have to remove this to get the necessary calculations to fit to the DOM
739
652
  if(document.body.style.height?.includes("calc"))
740
653
  document.body.style.height = "auto";
@@ -771,6 +684,202 @@ export const fitToDOM = async (params, cb) => {
771
684
  }
772
685
  cb === null || cb === void 0 ? void 0 : cb();
773
686
  };
687
+ /**
688
+ * Forms a tab collection from a list of _existing_ windows. (See [LauncherClient.spawnTabCollection()](./LauncherClient#spawnTabCollection) to form a tab
689
+ * collection from non-existing windows.)
690
+ *
691
+ * ```javascript
692
+ * await FSBL.Clients.windowClient.createTabCollection({
693
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
694
+ * promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
695
+ * })
696
+ * ```
697
+ * @param __namedParameters.windowNames - An array of window names to put in the collection. The tabs will retain the ordering of this array.
698
+ * @param __namedParameters.promotedTab - The name of the tab to be promoted. If not set then the first window will be promoted.
699
+ */
700
+ export const createTabCollection = async ({ windowNames, promotedTab, }) => {
701
+ const store = getRemoteStoreAsSingleton({
702
+ singletonName: "WindowClient::tabCollection",
703
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
704
+ slice: "api",
705
+ emptyStore,
706
+ dispatchOnly: true,
707
+ });
708
+ store.dispatch(actions.createTabCollection({
709
+ windowNames,
710
+ promotedWindowName: promotedTab,
711
+ }));
712
+ };
713
+ /**
714
+ * Adds one or more windows to an existing tab collection.
715
+ *
716
+ * ```javascript
717
+ * await FSBL.Clients.windowClient.addToTabCollection({
718
+ * tabCollectionId: ["StackedWindow-sdsd-343-dsds"],
719
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
720
+ * position: 2,
721
+ * promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
722
+ * })
723
+ * ```
724
+ * @param __namedParameters.windowNames - An array of window names to be added to the collection.
725
+ * @param __namedParameters.tabCollectionId - ID of the tabCollection to join.
726
+ * @param __namedParameters.position - Specifies where in the collection to add the new tabs. If not set then they will be appended to the end of the collection.
727
+ * @param __namedParameters.promotedTab - Tab to be promoted. If not set then the promoted tab will not be changed.
728
+ */
729
+ export const addToTabCollection = async ({ windowNames, tabCollectionId, position, promotedTab, }) => {
730
+ const store = getRemoteStoreAsSingleton({
731
+ singletonName: "WindowClient::tabCollection",
732
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
733
+ slice: "api",
734
+ emptyStore,
735
+ dispatchOnly: true,
736
+ });
737
+ store.dispatch(actions.addTabsToTabCollection({
738
+ windowNames,
739
+ tabCollectionId,
740
+ position,
741
+ promotedWindowName: promotedTab,
742
+ }));
743
+ };
744
+ /**
745
+ * Removes one or more tabs from their tab collection(s). The tab collection is identified automatically.
746
+ * Tab collections with fewer than two tabs are removed from the system. If the tab collection is maximized then
747
+ * windows that are removed will be restored to their previous unmaximized position and size.
748
+ *
749
+ * ```javascript
750
+ * await FSBL.Clients.windowClient.removeFromTabCollection({
751
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
752
+ * })
753
+ * ```
754
+ * @param __namedParameters.windowNames - The array of window names to be removed.
755
+ */
756
+ export const removeFromTabCollection = async ({ windowNames }) => {
757
+ const store = getRemoteStoreAsSingleton({
758
+ singletonName: "WindowClient::tabCollection",
759
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
760
+ slice: "api",
761
+ emptyStore,
762
+ dispatchOnly: true,
763
+ });
764
+ store.dispatch(actions.removeTabsFromTabCollection({
765
+ windowNames,
766
+ }));
767
+ };
768
+ /**
769
+ * Changes the visible tab in a tab collection. (The tab collection is identified automatically.)
770
+ *
771
+ * ```javascript
772
+ * await FSBL.Clients.windowClient.promoteTab("MyApp-3443-fdf-343-fdfdf");
773
+ * ```
774
+ * @param windowName - The name of the tab to be promoted.
775
+ */
776
+ export const promoteTab = async (windowName) => {
777
+ const store = getRemoteStoreAsSingleton({
778
+ singletonName: "WindowClient::tabCollection",
779
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
780
+ slice: "windowTitleBar",
781
+ emptyStore,
782
+ dispatchOnly: true,
783
+ });
784
+ store.dispatch(actions.promoteTab({
785
+ targetWindowName: windowName,
786
+ }));
787
+ };
788
+ /**
789
+ * Gets the name of the promoted tab for a given tab collection.
790
+ *
791
+ * ```javascript
792
+ * const {err, data: windowName } = await FSBL.Clients.windowClient.getPromotedTab({
793
+ * tabCollectionId: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
794
+ * });
795
+ * if(windowName) console.log(`The promoted window is ${windowName}`)
796
+ * ```
797
+ * @param __namedParameters.tabCollectionId - ID of the tab collection.
798
+ * @param cb - Optional callback to be invoked after the method completes successfully.
799
+ * @return - Resolves to a tuple containing an error message and the name of the promoted tab in the collection.
800
+ */
801
+ export const getPromotedTab = async ({ tabCollectionId }, cb) => {
802
+ var _a, _b, _c;
803
+ const state = (await getRemoteState({
804
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
805
+ slice: "windowTitleBar",
806
+ }));
807
+ const promotedTab = (_c = (_b = (_a = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _a === void 0 ? void 0 : _a.tabCollections) === null || _b === void 0 ? void 0 : _b[tabCollectionId]) === null || _c === void 0 ? void 0 : _c.promotedWindowName;
808
+ if (!promotedTab) {
809
+ const err = `No promoted tab found for tab collection ${tabCollectionId}`;
810
+ cb === null || cb === void 0 ? void 0 : cb(err);
811
+ return { err };
812
+ }
813
+ else {
814
+ cb === null || cb === void 0 ? void 0 : cb(null, promotedTab);
815
+ return { err: null, data: promotedTab };
816
+ }
817
+ };
818
+ /**
819
+ * Gets the tabCollectionId for a given window, if it is a member of a tab collection.
820
+ *
821
+ * ```javascript
822
+ * const {err, data } = await FSBL.Clients.windowClient.getTabCollectionForWindow({
823
+ * windowName: ["MyApp-dfdf-sdsd-dfdfdf-343434"]
824
+ * });
825
+ * if(data) console.log(`The tab collection ${data.id} contains these windows: ${data.windows}`);
826
+ * ```
827
+ * @param __namedParameters.windowName - The name of a window that should be in a tab collection.
828
+ * @param cb - Optional callback to be invoked after the method completes.
829
+ * @return - Resolves to a tuple with error message and object containing the tabCollectionId and a list of the windows in that collection.
830
+ * An error will result if the window is not a member of any tab collection.
831
+ */
832
+ export const getTabCollectionForWindow = async ({ windowName }, cb) => {
833
+ var _a, _b, _c, _d, _e, _f, _g;
834
+ const state = (await getRemoteState({
835
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
836
+ slice: "windowTitleBar",
837
+ }));
838
+ const id = (_c = (_b = (_a = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _a === void 0 ? void 0 : _a.windows) === null || _b === void 0 ? void 0 : _b[windowName]) === null || _c === void 0 ? void 0 : _c.tabCollectionId;
839
+ if (!id) {
840
+ const err = id ? null : `No tab collection found for window ${windowName}`;
841
+ cb === null || cb === void 0 ? void 0 : cb(err);
842
+ return { err };
843
+ }
844
+ const data = {
845
+ id,
846
+ windows: (_e = (_d = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _d === void 0 ? void 0 : _d.tabCollections[id]) === null || _e === void 0 ? void 0 : _e.tabs,
847
+ promotedWindowName: (_g = (_f = state === null || state === void 0 ? void 0 : state.windowTitleBar) === null || _f === void 0 ? void 0 : _f.tabCollections[id]) === null || _g === void 0 ? void 0 : _g.promotedWindowName,
848
+ };
849
+ cb === null || cb === void 0 ? void 0 : cb(null, data);
850
+ return { err: null, data };
851
+ };
852
+ /**
853
+ * Gets the tabCollectionId for a given window, if it is a member of a tab collection.
854
+ *
855
+ * ```javascript
856
+ * const {err, data } = await FSBL.Clients.windowClient.getTabCollection({
857
+ * windowName: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
858
+ * });
859
+ * if(data) console.log(`The tab collection contains these windows: ${data.windows}`);
860
+ * ```
861
+ * @param __namedParameters.collectionId - The name of the tab collection.
862
+ * @param cb - Optional callback to be invoked after the method completes.
863
+ * @return - Resolves to a tuple with error message and object containing the list of the windows in that collection and the currently promoted window.
864
+ */
865
+ export const getTabCollection = async ({ id }, cb) => {
866
+ const state = (await getRemoteState({
867
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
868
+ slice: "windowTitleBar",
869
+ }));
870
+ const collection = state.windowTitleBar.tabCollections[id];
871
+ if (!collection) {
872
+ const err = `No tab collection "${id}" found.`;
873
+ cb === null || cb === void 0 ? void 0 : cb(err);
874
+ return { err };
875
+ }
876
+ const data = {
877
+ windows: collection.tabs,
878
+ promotedWindowName: collection.promotedWindowName,
879
+ };
880
+ cb === null || cb === void 0 ? void 0 : cb(null, data);
881
+ return { err: null, data };
882
+ };
774
883
  /**
775
884
  * @ignore
776
885
  *
@@ -795,11 +904,13 @@ export const WindowClient = {
795
904
  cb === null || cb === void 0 ? void 0 : cb();
796
905
  },
797
906
  addListeners,
907
+ addToTabCollection,
798
908
  bringToFront,
799
909
  bringWindowToFront,
800
910
  cacheInitialBounds,
801
911
  cancelTilingOrTabbing,
802
912
  close,
913
+ createTabCollection,
803
914
  ejectFromGroup,
804
915
  fitToDOM,
805
916
  formGroup,
@@ -808,31 +919,32 @@ export const WindowClient = {
808
919
  getCurrentWindow,
809
920
  getDesktopBoundingBox,
810
921
  getMonitorInfo,
922
+ getPromotedTab,
811
923
  getSpawnData,
812
- getStackedWindow,
924
+ getTabCollection,
925
+ getTabCollectionForWindow,
813
926
  getWindowTitle,
814
927
  getWindowBounds,
815
928
  getWindowGroups,
816
929
  getWindowNameForDocking,
817
930
  getWindowIdentifier,
818
- headerCommandChannel,
819
931
  injectDOM,
820
932
  isMouseOverDOMElement,
821
933
  isPointInBox,
822
934
  maximize,
823
935
  minimize,
936
+ promoteTab,
824
937
  removeComponentState,
938
+ removeFromTabCollection,
825
939
  restore,
826
940
  retrieveMonitorDimensions,
827
941
  saveWindowBounds,
828
- sendIdentifierForTilingOrTabbing,
829
942
  setActive,
830
943
  setAlwaysOnTop,
831
944
  setComponentState,
832
945
  setShape,
833
946
  setTaskbarIconOverlay,
834
947
  setWindowTitle,
835
- setWindowTitlePrivate,
836
948
  showAtMousePosition,
837
949
  stopTilingOrTabbing,
838
950
  startMovingWindow,
@@ -856,12 +968,6 @@ export const WindowClient = {
856
968
  set windowGroups(replacement) {
857
969
  getControllerInstance().windowGroups = replacement;
858
970
  },
859
- get commandChannel() {
860
- return getControllerInstance().commandChannel;
861
- },
862
- set commandChannel(replacement) {
863
- getControllerInstance().commandChannel = replacement;
864
- },
865
971
  };
866
972
  /**
867
973
  * @ignore