@finsemble/finsemble-ui 8.3.0 → 8.3.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 (683) hide show
  1. package/FEA.d.ts +102 -28
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
  5. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  6. package/clients/Interop/FinsembleDesktopAgent.js +17 -16
  7. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  8. package/clients/Interop/types.d.ts +1 -0
  9. package/clients/Interop/types.d.ts.map +1 -1
  10. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  11. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  12. package/clients/Startup/FSBLDesktop.js +2 -4
  13. package/clients/Startup/FSBLDesktop.js.map +1 -1
  14. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  15. package/clients/Startup/unhandledErrors.js +6 -4
  16. package/clients/Startup/unhandledErrors.js.map +1 -1
  17. package/clients/Startup/windowStartup.d.ts.map +1 -1
  18. package/clients/Startup/windowStartup.js +125 -112
  19. package/clients/Startup/windowStartup.js.map +1 -1
  20. package/clients/StoreModel.d.ts +8 -8
  21. package/clients/StoreModel.js +9 -9
  22. package/clients/StoreModel.js.map +1 -1
  23. package/clients/appsClient.d.ts +463 -0
  24. package/clients/appsClient.d.ts.map +1 -0
  25. package/clients/appsClient.js +696 -0
  26. package/clients/appsClient.js.map +1 -0
  27. package/clients/authenticationClient.d.ts +36 -27
  28. package/clients/authenticationClient.d.ts.map +1 -1
  29. package/clients/authenticationClient.js +18 -15
  30. package/clients/authenticationClient.js.map +1 -1
  31. package/clients/configClient.d.ts +189 -71
  32. package/clients/configClient.d.ts.map +1 -1
  33. package/clients/configClient.js +185 -114
  34. package/clients/configClient.js.map +1 -1
  35. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  36. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  37. package/clients/controller/DialogManagerClientController.js +213 -0
  38. package/clients/controller/DialogManagerClientController.js.map +1 -0
  39. package/clients/dialogManagerClient.d.ts +11 -75
  40. package/clients/dialogManagerClient.d.ts.map +1 -1
  41. package/clients/dialogManagerClient.js +11 -208
  42. package/clients/dialogManagerClient.js.map +1 -1
  43. package/clients/distributedStoreClient.d.ts +4 -0
  44. package/clients/distributedStoreClient.d.ts.map +1 -1
  45. package/clients/distributedStoreClient.js +4 -0
  46. package/clients/distributedStoreClient.js.map +1 -1
  47. package/clients/hotkeyClient.d.ts +23 -9
  48. package/clients/hotkeyClient.d.ts.map +1 -1
  49. package/clients/hotkeyClient.js +35 -14
  50. package/clients/hotkeyClient.js.map +1 -1
  51. package/clients/index.d.ts +2 -0
  52. package/clients/index.d.ts.map +1 -1
  53. package/clients/index.js +2 -0
  54. package/clients/index.js.map +1 -1
  55. package/clients/launcherClient.d.ts +55 -209
  56. package/clients/launcherClient.d.ts.map +1 -1
  57. package/clients/launcherClient.js +37 -422
  58. package/clients/launcherClient.js.map +1 -1
  59. package/clients/logger.d.ts +6 -0
  60. package/clients/logger.d.ts.map +1 -1
  61. package/clients/logger.js +49 -41
  62. package/clients/logger.js.map +1 -1
  63. package/clients/notificationClient.d.ts +32 -8
  64. package/clients/notificationClient.d.ts.map +1 -1
  65. package/clients/notificationClient.js +32 -8
  66. package/clients/notificationClient.js.map +1 -1
  67. package/clients/routerClient.d.ts +39 -21
  68. package/clients/routerClient.d.ts.map +1 -1
  69. package/clients/routerClient.js +38 -20
  70. package/clients/routerClient.js.map +1 -1
  71. package/clients/searchClient.d.ts +7 -2
  72. package/clients/searchClient.d.ts.map +1 -1
  73. package/clients/searchClient.js +7 -2
  74. package/clients/searchClient.js.map +1 -1
  75. package/clients/storageClient.d.ts +19 -6
  76. package/clients/storageClient.d.ts.map +1 -1
  77. package/clients/storageClient.js +18 -6
  78. package/clients/storageClient.js.map +1 -1
  79. package/clients/windowClient.d.ts +207 -80
  80. package/clients/windowClient.d.ts.map +1 -1
  81. package/clients/windowClient.js +291 -139
  82. package/clients/windowClient.js.map +1 -1
  83. package/clients/workspaceClient.d.ts +45 -18
  84. package/clients/workspaceClient.d.ts.map +1 -1
  85. package/clients/workspaceClient.js +41 -13
  86. package/clients/workspaceClient.js.map +1 -1
  87. package/common/Desktop.d.ts +12 -50
  88. package/common/Desktop.d.ts.map +1 -1
  89. package/common/Desktop.js +14 -64
  90. package/common/Desktop.js.map +1 -1
  91. package/common/FinsembleWindow.d.ts +5 -108
  92. package/common/FinsembleWindow.d.ts.map +1 -1
  93. package/common/FinsembleWindow.js +28 -349
  94. package/common/FinsembleWindow.js.map +1 -1
  95. package/common/Monitors.d.ts +30 -18
  96. package/common/Monitors.d.ts.map +1 -1
  97. package/common/Monitors.js +45 -80
  98. package/common/Monitors.js.map +1 -1
  99. package/common/Singleton.d.ts +7 -1
  100. package/common/Singleton.d.ts.map +1 -1
  101. package/common/Singleton.js +24 -11
  102. package/common/Singleton.js.map +1 -1
  103. package/common/constants.d.ts +3 -9
  104. package/common/constants.d.ts.map +1 -1
  105. package/common/constants.js +3 -14
  106. package/common/constants.js.map +1 -1
  107. package/common/events/FinsembleEvent.d.ts +1 -1
  108. package/common/events/FinsembleEvent.d.ts.map +1 -1
  109. package/common/redux/getRemoteStore.d.ts +53 -0
  110. package/common/redux/getRemoteStore.d.ts.map +1 -0
  111. package/common/redux/getRemoteStore.js +50 -0
  112. package/common/redux/getRemoteStore.js.map +1 -0
  113. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  114. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  115. package/common/redux/remoteReduxEnhancer.js +35 -20
  116. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  117. package/common/redux/types.d.ts +14 -1
  118. package/common/redux/types.d.ts.map +1 -1
  119. package/common/systemManagerClient.d.ts +11 -5
  120. package/common/systemManagerClient.d.ts.map +1 -1
  121. package/common/systemManagerClient.js +25 -8
  122. package/common/systemManagerClient.js.map +1 -1
  123. package/common/util.d.ts +1 -7
  124. package/common/util.d.ts.map +1 -1
  125. package/common/util.js +1 -14
  126. package/common/util.js.map +1 -1
  127. package/deprecated/deprecatedFunctions.d.ts +1 -1
  128. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  129. package/deprecated/deprecatedFunctions.js +3 -4
  130. package/deprecated/deprecatedFunctions.js.map +1 -1
  131. package/deprecated/deprecatedlauncherClient.d.ts +1 -1
  132. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  133. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  134. package/deprecated/dragAndDropClient.d.ts +4 -3
  135. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  136. package/deprecated/dragAndDropClient.js +15 -4
  137. package/deprecated/dragAndDropClient.js.map +1 -1
  138. package/deprecated/linkerClient.d.ts +1 -1
  139. package/deprecated/linkerClient.d.ts.map +1 -1
  140. package/main.d.ts +289 -171
  141. package/main.d.ts.map +1 -1
  142. package/main.js +3 -1
  143. package/main.js.map +1 -1
  144. package/package.json +4 -4
  145. package/platform/services/Interop/modules/types.d.ts +2 -0
  146. package/platform/services/Interop/modules/types.d.ts.map +1 -1
  147. package/platform/services/Interop/types.d.ts +24 -2
  148. package/platform/services/Interop/types.d.ts.map +1 -1
  149. package/platform/services/Interop/types.js.map +1 -1
  150. package/platform/services/router/types.d.ts +5 -6
  151. package/platform/services/router/types.d.ts.map +1 -1
  152. package/platform/services/systemManager/_constants.d.ts +1 -0
  153. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  154. package/platform/services/systemManager/_constants.js +2 -0
  155. package/platform/services/systemManager/_constants.js.map +1 -1
  156. package/platform/services/systemManager/types.d.ts +1 -1
  157. package/platform/services/systemManager/types.d.ts.map +1 -1
  158. package/platform/services/systemManager/types.js.map +1 -1
  159. package/platform/services/window/modules/actions.d.ts +68 -0
  160. package/platform/services/window/modules/actions.d.ts.map +1 -0
  161. package/platform/services/window/modules/actions.js +60 -0
  162. package/platform/services/window/modules/actions.js.map +1 -0
  163. package/platform/services/window/types.d.ts +275 -51
  164. package/platform/services/window/types.d.ts.map +1 -1
  165. package/platform/services/workspace/types.d.ts +4 -3
  166. package/platform/services/workspace/types.d.ts.map +1 -1
  167. package/react/actions/smartDesktopDesignerActions.d.ts +7 -1
  168. package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
  169. package/react/actions/smartDesktopDesignerActions.js +3 -0
  170. package/react/actions/smartDesktopDesignerActions.js.map +1 -1
  171. package/react/assets/css/core/icons.css +0 -5
  172. package/react/assets/css/dialogs.css +2 -1
  173. package/react/assets/css/fonts/icons-reference.html +1 -1
  174. package/react/assets/css/processMonitor.css +9 -4
  175. package/react/assets/css/userPreferences.css +1 -1
  176. package/react/assets/css/windowTitleBar.css +101 -285
  177. package/react/assets/icons/chevron-down.svg +1 -0
  178. package/react/assets/icons/chevron-up.svg +1 -0
  179. package/react/components/appCatalog/AppCatalog.d.ts +3 -0
  180. package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
  181. package/react/components/appCatalog/AppCatalog.js +3 -0
  182. package/react/components/appCatalog/AppCatalog.js.map +1 -1
  183. package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
  184. package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
  185. package/react/components/appCatalog/AppCatalogComponent.js +6 -2
  186. package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
  187. package/react/components/common/ButtonRow.d.ts.map +1 -1
  188. package/react/components/common/ButtonRow.js +4 -9
  189. package/react/components/common/ButtonRow.js.map +1 -1
  190. package/react/components/common/Checkbox.d.ts +1 -0
  191. package/react/components/common/Checkbox.d.ts.map +1 -1
  192. package/react/components/common/Checkbox.js +14 -2
  193. package/react/components/common/Checkbox.js.map +1 -1
  194. package/react/components/common/ContextMenu.d.ts.map +1 -1
  195. package/react/components/common/ContextMenu.js +5 -11
  196. package/react/components/common/ContextMenu.js.map +1 -1
  197. package/react/components/common/DropdownButton.d.ts.map +1 -1
  198. package/react/components/common/DropdownButton.js +11 -24
  199. package/react/components/common/DropdownButton.js.map +1 -1
  200. package/react/components/common/FinsembleIcon.d.ts +1 -1
  201. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  202. package/react/components/common/FinsembleIcon.js +6 -4
  203. package/react/components/common/FinsembleIcon.js.map +1 -1
  204. package/react/components/common/FinsembleLink.d.ts +7 -0
  205. package/react/components/common/FinsembleLink.d.ts.map +1 -0
  206. package/react/components/common/FinsembleLink.js +13 -0
  207. package/react/components/common/FinsembleLink.js.map +1 -0
  208. package/react/components/common/Header.d.ts +1 -0
  209. package/react/components/common/Header.d.ts.map +1 -1
  210. package/react/components/common/Header.js +4 -2
  211. package/react/components/common/Header.js.map +1 -1
  212. package/react/components/common/css/accordion.css +9 -21
  213. package/react/components/common/css/application-edit-page.css +0 -15
  214. package/react/components/common/css/application-list.css +54 -23
  215. package/react/components/common/css/button.css +20 -0
  216. package/react/components/common/css/selector.css +3 -1
  217. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  218. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  219. package/react/components/downloadManager/DownloadManager.js +2 -4
  220. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  221. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  222. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  223. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  224. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  225. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  226. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  227. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  228. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  229. package/react/components/icon/Icon.js +1 -1
  230. package/react/components/icon/Icon.js.map +1 -1
  231. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  232. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  233. package/react/components/linker/remoteRedux.d.ts +2 -9
  234. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  235. package/react/components/linker/remoteRedux.js +2 -22
  236. package/react/components/linker/remoteRedux.js.map +1 -1
  237. package/react/components/notifications/components/shared/IconButton.d.ts +1 -1
  238. package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
  239. package/react/components/notifications/components/shared/IconButton.js +2 -2
  240. package/react/components/notifications/components/shared/IconButton.js.map +1 -1
  241. package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
  242. package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
  243. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
  244. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
  245. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
  246. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
  247. package/react/components/notifications/css/notification-center.css +2 -0
  248. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  249. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  250. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  251. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  252. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  253. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  254. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  255. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  256. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  257. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  258. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  259. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  260. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  261. package/react/components/processMonitor/components/ListHeader.js +3 -2
  262. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  263. package/react/components/processMonitor/components/Process.d.ts +10 -0
  264. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  265. package/react/components/processMonitor/components/Process.js +11 -0
  266. package/react/components/processMonitor/components/Process.js.map +1 -0
  267. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  268. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  269. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  270. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  271. package/react/components/processMonitor/constants.d.ts +1 -2
  272. package/react/components/processMonitor/constants.d.ts.map +1 -1
  273. package/react/components/processMonitor/constants.js +2 -8
  274. package/react/components/processMonitor/constants.js.map +1 -1
  275. package/react/components/processMonitor/helpers.d.ts +0 -1
  276. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  277. package/react/components/processMonitor/helpers.js +2 -9
  278. package/react/components/processMonitor/helpers.js.map +1 -1
  279. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  280. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  281. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  282. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  283. package/react/components/sdd/Content.d.ts +9 -0
  284. package/react/components/sdd/Content.d.ts.map +1 -0
  285. package/react/components/sdd/Content.js +7 -0
  286. package/react/components/sdd/Content.js.map +1 -0
  287. package/react/components/sdd/Dashboard.d.ts +20 -0
  288. package/react/components/sdd/Dashboard.d.ts.map +1 -0
  289. package/react/components/sdd/Dashboard.js +103 -0
  290. package/react/components/sdd/Dashboard.js.map +1 -0
  291. package/react/components/sdd/Export.d.ts +24 -0
  292. package/react/components/sdd/Export.d.ts.map +1 -0
  293. package/react/components/sdd/Export.js +133 -0
  294. package/react/components/sdd/Export.js.map +1 -0
  295. package/react/components/sdd/ExportCloud.d.ts +7 -0
  296. package/react/components/sdd/ExportCloud.d.ts.map +1 -0
  297. package/react/components/sdd/ExportCloud.js +38 -0
  298. package/react/components/sdd/ExportCloud.js.map +1 -0
  299. package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
  300. package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
  301. package/react/components/sdd/ExportDeployInfo.js +18 -0
  302. package/react/components/sdd/ExportDeployInfo.js.map +1 -0
  303. package/react/components/sdd/ExportZip.d.ts +7 -0
  304. package/react/components/sdd/ExportZip.d.ts.map +1 -0
  305. package/react/components/sdd/ExportZip.js +43 -0
  306. package/react/components/sdd/ExportZip.js.map +1 -0
  307. package/react/components/sdd/ProjectErrors.d.ts +12 -0
  308. package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
  309. package/react/components/sdd/ProjectErrors.js +26 -0
  310. package/react/components/sdd/ProjectErrors.js.map +1 -0
  311. package/react/components/sdd/ProjectMasonry.d.ts +13 -0
  312. package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
  313. package/react/components/sdd/ProjectMasonry.js +22 -0
  314. package/react/components/sdd/ProjectMasonry.js.map +1 -0
  315. package/react/components/sdd/Publish.d.ts +9 -0
  316. package/react/components/sdd/Publish.d.ts.map +1 -0
  317. package/react/components/sdd/Publish.js +113 -0
  318. package/react/components/sdd/Publish.js.map +1 -0
  319. package/react/components/sdd/PublishProgress.d.ts +10 -0
  320. package/react/components/sdd/PublishProgress.d.ts.map +1 -0
  321. package/react/components/sdd/PublishProgress.js +24 -0
  322. package/react/components/sdd/PublishProgress.js.map +1 -0
  323. package/react/components/sdd/View.d.ts +9 -0
  324. package/react/components/sdd/View.d.ts.map +1 -0
  325. package/react/components/sdd/View.js +7 -0
  326. package/react/components/sdd/View.js.map +1 -0
  327. package/react/components/sdd/css/addApp.css +62 -8
  328. package/react/components/sdd/css/appD.css +81 -0
  329. package/react/components/sdd/css/appDViewer.css +93 -0
  330. package/react/components/sdd/css/applications.css +53 -15
  331. package/react/components/sdd/css/exportAppD.css +31 -0
  332. package/react/components/sdd/css/horizontalScroll.css +9 -0
  333. package/react/components/sdd/css/project-header.css +2 -1
  334. package/react/components/sdd/css/views.css +3 -0
  335. package/react/components/sdd/smartDesktopClient.d.ts +627 -0
  336. package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
  337. package/react/components/sdd/smartDesktopClient.js +1222 -0
  338. package/react/components/sdd/smartDesktopClient.js.map +1 -0
  339. package/react/components/sdd/types.d.ts +9 -0
  340. package/react/components/sdd/types.d.ts.map +1 -0
  341. package/react/components/sdd/types.js +2 -0
  342. package/react/components/sdd/types.js.map +1 -0
  343. package/react/components/search/SearchInput.d.ts +1 -2
  344. package/react/components/search/SearchInput.d.ts.map +1 -1
  345. package/react/components/search/SearchInput.js +11 -13
  346. package/react/components/search/SearchInput.js.map +1 -1
  347. package/react/components/search/SearchResults.d.ts.map +1 -1
  348. package/react/components/search/SearchResults.js +6 -6
  349. package/react/components/search/SearchResults.js.map +1 -1
  350. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  351. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  352. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  353. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  354. package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
  355. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  356. package/react/components/toolbar/DownloadButton.d.ts +1 -1
  357. package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
  358. package/react/components/toolbar/DownloadButton.js +3 -6
  359. package/react/components/toolbar/DownloadButton.js.map +1 -1
  360. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  361. package/react/components/toolbar/DragHandle.js +8 -5
  362. package/react/components/toolbar/DragHandle.js.map +1 -1
  363. package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
  364. package/react/components/toolbar/ToolbarIcon.js +10 -1
  365. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  366. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  367. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  368. package/react/components/toolbar/ToolbarShell.js +3 -2
  369. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  370. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
  371. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
  372. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  373. package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
  374. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  375. package/react/components/userPreferences/components/content/Workspaces.js +14 -1
  376. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  377. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
  378. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
  379. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  380. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
  381. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
  382. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  383. package/react/components/utils.d.ts +50 -0
  384. package/react/components/utils.d.ts.map +1 -0
  385. package/react/components/utils.js +60 -0
  386. package/react/components/utils.js.map +1 -0
  387. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  388. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  389. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  390. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  391. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  392. package/react/components/windowTitleBar/CloseButton.js +22 -0
  393. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  394. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  395. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  396. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  397. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  398. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  399. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  400. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  401. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  402. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  403. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  404. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  405. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  406. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  407. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  408. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  409. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  410. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  411. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  412. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  413. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  414. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  415. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  416. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  417. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  418. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  419. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  420. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  421. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  422. package/react/components/windowTitleBar/ShareButton.js +24 -0
  423. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  424. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  425. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  426. package/react/components/windowTitleBar/TabRegion.js +479 -0
  427. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  428. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  429. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  430. package/react/components/windowTitleBar/TabTitle.js +17 -0
  431. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  432. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  433. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  434. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  435. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  436. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  437. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  438. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  439. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  440. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  441. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  442. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  443. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  444. package/react/components/windowTitleBar/index.d.ts +9 -8
  445. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  446. package/react/components/windowTitleBar/index.js +9 -8
  447. package/react/components/windowTitleBar/index.js.map +1 -1
  448. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  449. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  450. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  451. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  452. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  453. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  454. package/react/components/windowTitleBar/useMaximize.js +23 -0
  455. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  456. package/react/components/yesNoDialog/timer.js +2 -1
  457. package/react/components/yesNoDialog/timer.js.map +1 -1
  458. package/react/hooks/useDashbar.d.ts.map +1 -1
  459. package/react/hooks/useDashbar.js.map +1 -1
  460. package/react/hooks/useDragRegion.d.ts +27 -0
  461. package/react/hooks/useDragRegion.d.ts.map +1 -0
  462. package/react/hooks/useDragRegion.js +74 -0
  463. package/react/hooks/useDragRegion.js.map +1 -0
  464. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  465. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  466. package/react/hooks/useInjectedTitleBar.js +437 -0
  467. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  468. package/react/hooks/useNotifications.d.ts +1 -1
  469. package/react/hooks/useToolbar.d.ts +1 -0
  470. package/react/hooks/useToolbar.d.ts.map +1 -1
  471. package/react/hooks/useToolbar.js +13 -3
  472. package/react/hooks/useToolbar.js.map +1 -1
  473. package/react/reducers/rootReducer.d.ts +12 -0
  474. package/react/reducers/rootReducer.d.ts.map +1 -1
  475. package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
  476. package/react/reducers/smartDesktopDesignerReducer.js +12 -0
  477. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  478. package/react/store.d.ts +24 -0
  479. package/react/store.d.ts.map +1 -1
  480. package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
  481. package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
  482. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  483. package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
  484. package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
  485. package/typedoc-types.d.ts +9 -0
  486. package/typedoc-types.d.ts.map +1 -0
  487. package/typedoc-types.js +6 -0
  488. package/typedoc-types.js.map +1 -0
  489. package/types.d.ts +5 -11
  490. package/types.d.ts.map +1 -1
  491. package/types.js +2 -0
  492. package/types.js.map +1 -1
  493. package/common/events/PrivateEventManager.d.ts +0 -95
  494. package/common/events/PrivateEventManager.d.ts.map +0 -1
  495. package/common/events/PrivateEventManager.js +0 -295
  496. package/common/events/PrivateEventManager.js.map +0 -1
  497. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  498. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  499. package/common/events/PrivateFinsembleEvent.js +0 -65
  500. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  501. package/common/redux/createReducer.d.ts +0 -128
  502. package/common/redux/createReducer.d.ts.map +0 -1
  503. package/common/redux/createReducer.js +0 -298
  504. package/common/redux/createReducer.js.map +0 -1
  505. package/common/redux/index.d.ts +0 -3
  506. package/common/redux/index.d.ts.map +0 -1
  507. package/common/redux/index.js +0 -3
  508. package/common/redux/index.js.map +0 -1
  509. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  510. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  511. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  512. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  513. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  514. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  515. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  516. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  517. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  518. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  519. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  520. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  521. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  522. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  523. package/platform/services/window/Docking/boxMath.js +0 -511
  524. package/platform/services/window/Docking/boxMath.js.map +0 -1
  525. package/platform/services/window/Docking/constants.d.ts +0 -29
  526. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  527. package/platform/services/window/Docking/constants.js +0 -29
  528. package/platform/services/window/Docking/constants.js.map +0 -1
  529. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  530. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  531. package/platform/services/window/Docking/dockableBox.js +0 -525
  532. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  533. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  534. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  535. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  536. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  537. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  538. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  539. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  540. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  541. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  542. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  543. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  544. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  545. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  546. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  547. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  548. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  549. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  550. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  551. package/platform/services/window/Docking/dockingMain.js +0 -2541
  552. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  553. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  554. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  555. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  556. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  557. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  558. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  559. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  560. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  561. package/platform/services/window/Docking/types.d.ts +0 -334
  562. package/platform/services/window/Docking/types.d.ts.map +0 -1
  563. package/platform/services/window/Docking/types.js +0 -12
  564. package/platform/services/window/Docking/types.js.map +0 -1
  565. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  566. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  567. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  568. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  569. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  570. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  571. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  572. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  573. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  574. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  575. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  576. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  577. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  578. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  579. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  580. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  581. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  582. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  583. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  584. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  585. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  586. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  587. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  588. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  589. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  590. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  591. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  592. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  593. package/platform/services/window/windowGroup.d.ts +0 -86
  594. package/platform/services/window/windowGroup.d.ts.map +0 -1
  595. package/platform/services/window/windowGroup.js +0 -323
  596. package/platform/services/window/windowGroup.js.map +0 -1
  597. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  598. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  599. package/platform/services/workspace/windowStorageManager.js +0 -195
  600. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  601. package/react/assets/icons/question-circle.svg +0 -6
  602. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  603. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  604. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  605. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  606. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  607. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  608. package/react/components/sdd/Appearance.helpers.js +0 -2
  609. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  610. package/react/components/shared/linkerUtil.d.ts +0 -4
  611. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  612. package/react/components/shared/linkerUtil.js +0 -10
  613. package/react/components/shared/linkerUtil.js.map +0 -1
  614. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  615. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  616. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  617. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  618. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  619. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  620. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  621. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  622. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  623. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  624. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  625. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  626. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  627. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  628. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  629. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  630. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  631. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  632. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  633. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  634. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  635. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  636. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  637. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  638. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  639. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  640. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  641. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  642. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  643. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  644. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  645. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  646. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  647. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  648. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  649. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  650. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  651. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  652. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  653. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  654. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  655. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  656. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  657. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  658. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  659. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  660. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  661. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  662. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  663. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  664. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  665. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  666. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  667. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  668. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  669. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  670. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  671. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  672. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  673. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  674. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  675. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  676. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  677. package/react/types/windowTitleBar.d.ts +0 -49
  678. package/react/types/windowTitleBar.d.ts.map +0 -1
  679. package/react/types/windowTitleBar.js +0 -2
  680. package/react/types/windowTitleBar.js.map +0 -1
  681. /package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  682. /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  683. /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
@@ -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.");
@@ -117,6 +101,7 @@ const getWindowGroups = () => {
117
101
  return controller.windowGroups;
118
102
  };
119
103
  /**
104
+ * @language javascript, java, dotnet
120
105
  * Closes window. Defaults are to remove the window from the workspace if the user presses the X button, but not if the window is closed via an app-level request (e.g., switching workspaces, so all windows need to close).
121
106
  *
122
107
  * ```javascript
@@ -129,27 +114,19 @@ const getWindowGroups = () => {
129
114
  * @param {boolean} params.removeFromWorkspace Whether to remove the window from the workspace.
130
115
  * @param {boolean} params.closeWindow Whether to close the window. On shutdown this method is called, but the Window Service actually closes the window.
131
116
  * @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
117
  * @param {function} cb The callback to be invoked after the method completes successfully.
134
118
  */
135
119
  export const close = (params, cb) => {
136
120
  if (!params) {
137
121
  params = { removeFromWorkspace: true, closeWindow: true };
138
122
  }
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
- }
123
+ return FEAGlobals.finsembleWindow.close(params, cb);
146
124
  };
147
125
  /**
126
+ * @language javascript, java, dotnet
148
127
  * Retrieves the window's title.
149
128
  *
150
- * ```javascript
151
- * let windowTitle = FSBL.Clients.WindowClient.getWindowTitle();
152
- * ```
129
+ * @deprecated
153
130
  * @returns {String} title
154
131
  */
155
132
  export const getWindowTitle = () => {
@@ -195,7 +172,7 @@ const getWindowBounds = () => {
195
172
  *
196
173
  * The code below is the bulk of our listener for the <code>bounds-changed</code> event from the window. Every time the <code>bounds-changed</code> event is fired (when the window is resized or moved), we save the window's state. The first few lines just prevent the window from being dropped behind the toolbar.
197
174
  * ```javascript
198
- *finWindow.addEventListener('disabled-frame-bounds-changed', function (bounds) {
175
+ * finWindow.addEventListener('disabled-frame-bounds-changed', function (bounds) {
199
176
  * if (bounds.top < 45) {
200
177
  * finWindow.moveTo(bounds.left, 45);
201
178
  * return;
@@ -235,6 +212,7 @@ const saveWindowBounds = (bounds, setActiveWorkspaceDirty) => {
235
212
  }
236
213
  };
237
214
  /**
215
+ * @language javascript, java, dotnet
238
216
  * Maximizes the window taking into account any claimed space on the monitor.
239
217
  *
240
218
  * ```javascript
@@ -244,6 +222,7 @@ const saveWindowBounds = (bounds, setActiveWorkspaceDirty) => {
244
222
  */
245
223
  export const maximize = (cb) => FEAGlobals.finsembleWindow.maximize(null, cb);
246
224
  /**
225
+ * @language javascript, java, dotnet
247
226
  * Minimizes window.
248
227
  *
249
228
  * ```javascript
@@ -253,6 +232,7 @@ export const maximize = (cb) => FEAGlobals.finsembleWindow.maximize(null, cb);
253
232
  */
254
233
  export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
255
234
  /**
235
+ * @language javascript, java
256
236
  * Brings the window to the top of all other windows.
257
237
  *
258
238
  * ```javascript
@@ -261,9 +241,12 @@ export const minimize = (cb) => FEAGlobals.finsembleWindow.minimize(null, cb);
261
241
  */
262
242
  export const bringToFront = (cb) => FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
263
243
  /**
244
+ * @language javascript, java, dotnet
245
+ * @deprecated Use [`bringToFront()`](#bringtofront) instead, which returns a promise.
246
+ *
264
247
  * Brings the window to the top of all other windows
265
248
  *
266
- * This is a non-promisifed version for backward compatibility. Please use WindowClient.bringToFront()
249
+ * This is a non-promise version for backward compatibility. Please use WindowClient.bringToFront()
267
250
  *
268
251
  * @deprecated Use `bringToFront()` instead, which returns a promise.
269
252
  */
@@ -272,6 +255,7 @@ export const bringWindowToFront = (cb) => {
272
255
  FEAGlobals.finsembleWindow.bringToFront({ forceFocus: true }, cb);
273
256
  };
274
257
  /**
258
+ * @language javascript, java, dotnet
275
259
  * Sets whether window is always on top. By default, this is false.
276
260
  *
277
261
  * ```javascript
@@ -282,6 +266,7 @@ export const bringWindowToFront = (cb) => {
282
266
  */
283
267
  export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.setAlwaysOnTop({ alwaysOnTop }, cb);
284
268
  /**
269
+ * @language javascript, java, dotnet
285
270
  * Restores window from a maximized or minimized state.
286
271
  *
287
272
  * ```javascript
@@ -291,15 +276,21 @@ export const setAlwaysOnTop = (alwaysOnTop, cb) => FEAGlobals.finsembleWindow.se
291
276
  */
292
277
  export const restore = (cb) => FEAGlobals.finsembleWindow.restore(null, cb);
293
278
  /**
279
+ * @language javascript, java
280
+ * :::tip Important
294
281
  * _This feature is experimental. The signature may change in the future._
282
+ * :::
295
283
  *
296
284
  * Sets an overlay image on the MS Windows taskbar, for instance to indicate activity.
297
285
  * (This is sometimes referred to as a "badge").
298
286
  *
299
287
  * The url must point to a 16x16 png image. Images of other sizes or types will not display.
300
288
  *
301
- * Note: MacOS does not support taskbar overlay images. This function is safe to call
289
+ * :::note
290
+ * MacOS does not support taskbar overlay images. This function is safe to call
302
291
  * on MacOS but will not perform any function.
292
+ * :::
293
+ *
303
294
  * @param url - The url of the icon to use. Pass null to remove the overlay icon.
304
295
  */
305
296
  export const setTaskbarIconOverlay = (url) => {
@@ -338,6 +329,7 @@ const getElementFinsembleWindow = async (params) => {
338
329
  return FEAGlobals.finsembleWindow;
339
330
  };
340
331
  /**
332
+ * @language javascript, java, dotnet
341
333
  * Given a field, this function retrieves app state. If no params are given, the full state is returned.
342
334
  *
343
335
  * The example below shows how we retrieve data to restore the layout in our charts.
@@ -375,6 +367,7 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
375
367
  });
376
368
  });
377
369
  /**
370
+ * @language javascript, java, dotnet
378
371
  * Given a field, this function sets and persists app state.
379
372
  *
380
373
  * The example below shows how we save our chart layout when it changes.
@@ -382,7 +375,10 @@ export const getComponentState = async (params, cb) => new Promise(async (resolv
382
375
  * let s = stx.exportLayout(true);
383
376
  * //saving layout'
384
377
  * FSBL.Clients.WindowClient.setComponentState({ field: 'myChartLayout', value: s });
385
- * FSBL.Clients.WindowClient.setComponentState({ fields: [{field:'myChartLayout', value: s }, {field:'chartType', value: 'mountain'}]);
378
+ * FSBL.Clients.WindowClient.setComponentState({ fields: [
379
+ * {field:'myChartLayout', value: s },
380
+ * {field:'chartType', value: 'mountain'}
381
+ * ]});
386
382
  * ```
387
383
  * @param {object} params Object of data to be saved
388
384
  * @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
@@ -399,13 +395,14 @@ export const setComponentState = async (params, cb) => new Promise(async (resolv
399
395
  });
400
396
  });
401
397
  /**
398
+ * @language javascript, java, dotnet
402
399
  * Given a field, this function removes it from app state.
403
400
  *
404
401
  * The example below shows how we would remove our chart layout when it no longer needed.
405
402
  * ```javascript
406
403
  * // remove unused state value
407
404
  * FSBL.Clients.WindowClient.removeComponentState({ field: 'myChartLayout'});
408
- * FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]);
405
+ * FSBL.Clients.WindowClient.removeComponentState({ fields: [{field:'myChartLayout'}, {field:'chartType'}]});
409
406
  * ```
410
407
  * @param {object} params Object of data to be removed
411
408
  * @param {string} params.field The key name of the field to be saved. Required if not using `fields`.
@@ -421,14 +418,18 @@ export const removeComponentState = async (params, cb) => new Promise(async (res
421
418
  });
422
419
  });
423
420
  /**
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.
421
+ * @language javascript
422
+ * 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
423
  * @deprecated
424
+ *
425
+ * 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
426
  */
427
427
  export const getWindowNameForDocking = () => {
428
428
  Logger.deprecated("WindowClient.getWindowNameForDocking is deprecated and will be removed");
429
429
  return deprecatedGetWindowNameForDocking(FEAGlobals.finsembleWindow);
430
430
  };
431
431
  /**
432
+ * @language javascript
432
433
  * Forms a group with any window that is touching the border of this window.
433
434
  */
434
435
  export const formGroup = () => {
@@ -444,49 +445,35 @@ const addListeners = () => {
444
445
  Logger.deprecated("Do not call WindowClient.addListeners() directly");
445
446
  };
446
447
  /**
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
- /**
448
+ * @language javascript
456
449
  * Ejects the window from the docking group
457
450
  * @deprecated This code will be moved to finsemble-ui
451
+ * Ejects the window from the docking group
458
452
  */
459
453
  export const ejectFromGroup = () => {
460
454
  Logger.deprecated("WindowClient.ejectFromGroup is deprecated and will be removed");
461
455
  FEAGlobals.finsembleWindow.ejectFromGroup();
462
456
  };
463
457
  /**
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
458
+ * @language javascript, java, dotnet
459
+ * This method overrides the app title that displays in the app's title bar or tab. This will take precedence over
460
+ * the document.title or title that is set in the app's config. This will however be overridden by an user edited title.
461
+ * @param title Window title.
484
462
  */
485
463
  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);
464
+ const store = getRemoteStoreAsSingleton({
465
+ singletonName: "WindowClient::setWindowTitle",
466
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
467
+ slice: "windowTitleBar",
468
+ emptyStore,
469
+ dispatchOnly: true,
470
+ });
471
+ store.dispatch(actions.setAPITitle({
472
+ title,
473
+ }));
488
474
  };
489
475
  /**
476
+ * @language javascript, java, dotnet
490
477
  * Retrieves data that was set with <a href="/docs/reference/typedocs/modules/LauncherClient#spawn">LauncherClient.spawn</a>.
491
478
  * @returns The spawnData that was passed to calls to LauncherClient.spawn, or an empty object.
492
479
  */
@@ -496,9 +483,11 @@ export const getSpawnData = () => {
496
483
  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
484
  };
498
485
  /**
486
+ * @language javascript, java, dotnet
487
+ * @deprecated Use `FSBL.System.Window.getCurrent()`
488
+ *
499
489
  * Returns a reference to the current FEAWindow for the component.
500
490
  * @returns {finWindow}
501
- * @deprecated Use `FSBL.System.Window.getCurrent()`
502
491
  */
503
492
  export const getCurrentWindow = () => {
504
493
  // getCurrentWindow() is still being used by e2e tests and the zoom.js preload. Don't change this to
@@ -532,6 +521,7 @@ const isMouseOverDOMElement = (element, cb) => {
532
521
  return isMouseOverDOMElementFromUtil(element, cb);
533
522
  };
534
523
  /**
524
+ * @language javascript, java, dotnet
535
525
  * Returns the window identifier for the current component.
536
526
  * @returns {WindowIdentifier}
537
527
  */
@@ -545,22 +535,24 @@ export const getWindowIdentifier = () => {
545
535
  };
546
536
  };
547
537
  /**
538
+ * @deprecated
548
539
  * Highlights the window as active by creating a border around the window.
549
540
  *
550
541
  * @param {boolean} active Set to false to turn off activity
551
- * @deprecated
552
542
  */
553
543
  const setActive = (active) => {
554
544
  Logger.deprecated("WindowClient.setActive is deprecated and will be removed");
555
545
  deprecatedSetActive(active);
556
546
  };
557
547
  /**
548
+ * @language javascript, java, dotnet
558
549
  * Returns the object defining bounds for the current window including the position of the left and right edges measured in pixels from the left edge of the monitor, the top and bottom edges measured in pixels from the top edge, and the width and height of the component in pixels.
559
550
  * Please note that this method differs from the right and bottom coordinates passed to LauncherClient.spawn(); those are measured from the right and bottom edges of the screen.
560
551
  * @param {StandardCallback} cb The callback to be invoked after the method completes successfully.
561
552
  */
562
553
  export const getBounds = (cb) => FEAGlobals.finsembleWindow.getBounds(cb);
563
554
  /**
555
+ * @language javascript
564
556
  * Defines areas of the window that will be displayed and clickable. All other areas of the window will be transparent.
565
557
  * Can be used to create click-through areas of a window.
566
558
  *
@@ -578,6 +570,7 @@ export const setShape = (params, callback = Function.prototype) => {
578
570
  FEAGlobals.finsembleWindow.setShape(params, callback);
579
571
  };
580
572
  /**
573
+ * @language javascript
581
574
  * This is used by the Finsemble window title bar when a tab is dragged for tiling or tabbing.
582
575
  * @param {*} params - <code>params.windowIdentifier</code> is required.
583
576
  * @param {WindowIdentifier} params.windowIdentifier The Finsemble identifier for the target window.
@@ -590,6 +583,7 @@ export const startTilingOrTabbing = (params, cb) => {
590
583
  cb === null || cb === void 0 ? void 0 : cb();
591
584
  };
592
585
  /**
586
+ * @language javascript
593
587
  * Begin programmatically moving the window; the first parameter is a mouse event. Until `stopMovingWindow` is invoked, the window will follow the user's mouse. This should be invoked inside of a `mouseDown` event handler.
594
588
  */
595
589
  export const startMovingWindow = (event) => {
@@ -597,6 +591,7 @@ export const startMovingWindow = (event) => {
597
591
  currentWindow.startMovingWindow(event);
598
592
  };
599
593
  /**
594
+ * @language javascript
600
595
  * Stops moving a window that was set in motion via `startMovingWindow`.
601
596
  */
602
597
  export const stopMovingWindow = () => {
@@ -604,6 +599,7 @@ export const stopMovingWindow = () => {
604
599
  currentWindow.stopMovingWindow();
605
600
  };
606
601
  /**
602
+ * @language javascript
607
603
  * This is used to cancel a tabbing or tiling operation.
608
604
  *
609
605
  * @param {object} params
@@ -618,18 +614,7 @@ export const cancelTilingOrTabbing = (params, cb) => {
618
614
  cb === null || cb === void 0 ? void 0 : cb();
619
615
  };
620
616
  /**
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
- /**
617
+ * @language javascript, java
633
618
  * This function is used by the Finsemble window title bar to end tiling or tabbing.
634
619
  * @param {*} params
635
620
  * @param {object} params.mousePosition Where the pointer is on the screen
@@ -663,52 +648,6 @@ export const stopTilingOrTabbing = (params, cb) => {
663
648
  if (!params.allowDropOnSelf)
664
649
  cb === null || cb === void 0 ? void 0 : cb();
665
650
  };
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
651
  /**
713
652
  *
714
653
  */
@@ -717,11 +656,24 @@ const getMonitorInfo = async (params = {}, cb) => {
717
656
  return getWhichMonitorClientSide(RouterClient, params, cb);
718
657
  };
719
658
  /**
659
+ * @language javascript, java, dotnet
720
660
  * Moves the window so that it's centered above the user's mouse.
721
661
  */
722
662
  export const showAtMousePosition = () => {
723
663
  RouterClient.transmit("DockingService.showAtMousePosition", getWindowIdentifier());
724
664
  };
665
+ /**
666
+ * @language javascript
667
+ * Resize the window to fit the contents of the window's DOM, with optional padding.
668
+ *
669
+ * @param [params] optional parameters
670
+ * @param [params.padding] allow for padding around to DOM contents
671
+ * @param {number} [params.padding.height] extra pixels to add to the total height of the window. Default is 0
672
+ * @param {number} [params.padding.width] extra pixels to add to the total width of the window. Default is 0
673
+ * @param {number} [params.maxHeight] the maximum height to size the window to
674
+ * @param {number} [params.maxWidth] the maximum width to size the window to
675
+ * @param [cb] The callback to be invoked after the method completes successfully.
676
+ */
725
677
  export const fitToDOM = async (params, cb) => {
726
678
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
727
679
  if (typeof params === "function") {
@@ -734,7 +686,7 @@ export const fitToDOM = async (params, cb) => {
734
686
  if (!bounds)
735
687
  return;
736
688
  /*
737
- // Injected titlebars monkey with the body height by setting a calc() in the css
689
+ // Injected title bars monkey with the body height by setting a calc() in the css
738
690
  // We have to remove this to get the necessary calculations to fit to the DOM
739
691
  if(document.body.style.height?.includes("calc"))
740
692
  document.body.style.height = "auto";
@@ -771,6 +723,209 @@ export const fitToDOM = async (params, cb) => {
771
723
  }
772
724
  cb === null || cb === void 0 ? void 0 : cb();
773
725
  };
726
+ /**
727
+ * @language javascript, dotnet
728
+ * Forms a tab collection from a list of _existing_ windows. (See [LauncherClient.spawnTabCollection()](./LauncherClient#spawnTabCollection) to form a tab
729
+ * collection from non-existing windows.)
730
+ *
731
+ * ```javascript
732
+ * await FSBL.Clients.windowClient.createTabCollection({
733
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
734
+ * promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
735
+ * })
736
+ * ```
737
+ * @param __namedParameters.windowNames - An array of window names to put in the collection. The tabs will retain the ordering of this array.
738
+ * @param __namedParameters.promotedTab - The name of the tab to be promoted. If not set then the first window will be promoted.
739
+ */
740
+ export const createTabCollection = async ({ windowNames, promotedTab, }) => {
741
+ const store = getRemoteStoreAsSingleton({
742
+ singletonName: "WindowClient::tabCollection",
743
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
744
+ slice: "api",
745
+ emptyStore,
746
+ dispatchOnly: true,
747
+ });
748
+ store.dispatch(actions.createTabCollection({
749
+ windowNames,
750
+ promotedWindowName: promotedTab,
751
+ }));
752
+ };
753
+ /**
754
+ * @language javascript, dotnet
755
+ * Adds one or more windows to an existing tab collection.
756
+ *
757
+ * ```javascript
758
+ * await FSBL.Clients.windowClient.addToTabCollection({
759
+ * tabCollectionId: ["StackedWindow-sdsd-343-dsds"],
760
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
761
+ * position: 2,
762
+ * promotedTab: "MyOtherApp-dfdf-sdsd-dfdf-sdsd"
763
+ * })
764
+ * ```
765
+ * @param __namedParameters.windowNames - An array of window names to be added to the collection.
766
+ * @param __namedParameters.tabCollectionId - ID of the tabCollection to join.
767
+ * @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.
768
+ * @param __namedParameters.promotedTab - Tab to be promoted. If not set then the promoted tab will not be changed.
769
+ */
770
+ export const addToTabCollection = async ({ windowNames, tabCollectionId, position, promotedTab, }) => {
771
+ const store = getRemoteStoreAsSingleton({
772
+ singletonName: "WindowClient::tabCollection",
773
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
774
+ slice: "api",
775
+ emptyStore,
776
+ dispatchOnly: true,
777
+ });
778
+ store.dispatch(actions.addTabsToTabCollection({
779
+ windowNames,
780
+ tabCollectionId,
781
+ position,
782
+ promotedWindowName: promotedTab,
783
+ }));
784
+ };
785
+ /**
786
+ * @language javascript, dotnet
787
+ * Removes one or more tabs from their tab collection(s). The tab collection is identified automatically.
788
+ * Tab collections with fewer than two tabs are removed from the system. If the tab collection is maximized then
789
+ * windows that are removed will be restored to their previous unmaximized position and size.
790
+ *
791
+ * ```javascript
792
+ * await FSBL.Clients.windowClient.removeFromTabCollection({
793
+ * windowNames: ["MyApp-3443-fdf-343-fdfdf","MyOtherApp-dfdf-sdsd-dfdf-sdsd"],
794
+ * })
795
+ * ```
796
+ * @param __namedParameters.windowNames - The array of window names to be removed.
797
+ */
798
+ export const removeFromTabCollection = async ({ windowNames }) => {
799
+ const store = getRemoteStoreAsSingleton({
800
+ singletonName: "WindowClient::tabCollection",
801
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
802
+ slice: "api",
803
+ emptyStore,
804
+ dispatchOnly: true,
805
+ });
806
+ store.dispatch(actions.removeTabsFromTabCollection({
807
+ windowNames,
808
+ }));
809
+ };
810
+ /**
811
+ * @language javascript, dotnet
812
+ * Changes the visible tab in a tab collection. (The tab collection is identified automatically.)
813
+ *
814
+ * ```javascript
815
+ * await FSBL.Clients.windowClient.promoteTab("MyApp-3443-fdf-343-fdfdf");
816
+ * ```
817
+ * @param windowName - The name of the tab to be promoted.
818
+ */
819
+ export const promoteTab = async (windowName) => {
820
+ const store = getRemoteStoreAsSingleton({
821
+ singletonName: "WindowClient::tabCollection",
822
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
823
+ slice: "windowTitleBar",
824
+ emptyStore,
825
+ dispatchOnly: true,
826
+ });
827
+ store.dispatch(actions.promoteTab({
828
+ targetWindowName: windowName,
829
+ }));
830
+ };
831
+ /**
832
+ * @language javascript, dotnet
833
+ * Gets the name of the promoted tab for a given tab collection.
834
+ *
835
+ * ```javascript
836
+ * const {err, data: windowName } = await FSBL.Clients.windowClient.getPromotedTab({
837
+ * tabCollectionId: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
838
+ * });
839
+ * if(windowName) console.log(`The promoted window is ${windowName}`)
840
+ * ```
841
+ * @param __namedParameters.tabCollectionId - ID of the tab collection.
842
+ * @param cb - Optional callback to be invoked after the method completes successfully.
843
+ * @return - Resolves to a tuple containing an error message and the name of the promoted tab in the collection.
844
+ */
845
+ export const getPromotedTab = async ({ tabCollectionId }, cb) => {
846
+ var _a, _b, _c;
847
+ const state = (await getRemoteState({
848
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
849
+ slice: "windowTitleBar",
850
+ }));
851
+ 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;
852
+ if (!promotedTab) {
853
+ const err = `No promoted tab found for tab collection ${tabCollectionId}`;
854
+ cb === null || cb === void 0 ? void 0 : cb(err);
855
+ return { err };
856
+ }
857
+ else {
858
+ cb === null || cb === void 0 ? void 0 : cb(null, promotedTab);
859
+ return { err: null, data: promotedTab };
860
+ }
861
+ };
862
+ /**
863
+ * @language javascript, dotnet
864
+ * Gets the tabCollectionId for a given window, if it is a member of a tab collection.
865
+ *
866
+ * ```javascript
867
+ * const {err, data } = await FSBL.Clients.windowClient.getTabCollectionForWindow({
868
+ * windowName: ["MyApp-dfdf-sdsd-dfdfdf-343434"]
869
+ * });
870
+ * if(data) console.log(`The tab collection ${data.id} contains these windows: ${data.windows}`);
871
+ * ```
872
+ * @param __namedParameters.windowName - The name of a window that should be in a tab collection.
873
+ * @param cb - Optional callback to be invoked after the method completes.
874
+ * @return - Resolves to a tuple with error message and object containing the tabCollectionId and a list of the windows in that collection.
875
+ * An error will result if the window is not a member of any tab collection.
876
+ */
877
+ export const getTabCollectionForWindow = async ({ windowName }, cb) => {
878
+ var _a, _b, _c, _d, _e, _f, _g;
879
+ const state = (await getRemoteState({
880
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
881
+ slice: "windowTitleBar",
882
+ }));
883
+ 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;
884
+ if (!id) {
885
+ const err = id ? null : `No tab collection found for window ${windowName}`;
886
+ cb === null || cb === void 0 ? void 0 : cb(err);
887
+ return { err };
888
+ }
889
+ const data = {
890
+ id,
891
+ 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,
892
+ 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,
893
+ };
894
+ cb === null || cb === void 0 ? void 0 : cb(null, data);
895
+ return { err: null, data };
896
+ };
897
+ /**
898
+ * @language javascript, dotnet
899
+ * Gets the tabCollectionId for a given window, if it is a member of a tab collection.
900
+ *
901
+ * ```javascript
902
+ * const {err, data } = await FSBL.Clients.windowClient.getTabCollection({
903
+ * windowName: ["StackedWindow-dfdf-sdsd-dfdfdf-343434"]
904
+ * });
905
+ * if(data) console.log(`The tab collection contains these windows: ${data.windows}`);
906
+ * ```
907
+ * @param __namedParameters.collectionId - The name of the tab collection.
908
+ * @param cb - Optional callback to be invoked after the method completes.
909
+ * @return - Resolves to a tuple with error message and object containing the list of the windows in that collection and the currently promoted window.
910
+ */
911
+ export const getTabCollection = async ({ id }, cb) => {
912
+ const state = (await getRemoteState({
913
+ server: "@@finsemble/remoteRedux/WindowServiceStore",
914
+ slice: "windowTitleBar",
915
+ }));
916
+ const collection = state.windowTitleBar.tabCollections[id];
917
+ if (!collection) {
918
+ const err = `No tab collection "${id}" found.`;
919
+ cb === null || cb === void 0 ? void 0 : cb(err);
920
+ return { err };
921
+ }
922
+ const data = {
923
+ windows: collection.tabs,
924
+ promotedWindowName: collection.promotedWindowName,
925
+ };
926
+ cb === null || cb === void 0 ? void 0 : cb(null, data);
927
+ return { err: null, data };
928
+ };
774
929
  /**
775
930
  * @ignore
776
931
  *
@@ -795,11 +950,13 @@ export const WindowClient = {
795
950
  cb === null || cb === void 0 ? void 0 : cb();
796
951
  },
797
952
  addListeners,
953
+ addToTabCollection,
798
954
  bringToFront,
799
955
  bringWindowToFront,
800
956
  cacheInitialBounds,
801
957
  cancelTilingOrTabbing,
802
958
  close,
959
+ createTabCollection,
803
960
  ejectFromGroup,
804
961
  fitToDOM,
805
962
  formGroup,
@@ -808,31 +965,32 @@ export const WindowClient = {
808
965
  getCurrentWindow,
809
966
  getDesktopBoundingBox,
810
967
  getMonitorInfo,
968
+ getPromotedTab,
811
969
  getSpawnData,
812
- getStackedWindow,
970
+ getTabCollection,
971
+ getTabCollectionForWindow,
813
972
  getWindowTitle,
814
973
  getWindowBounds,
815
974
  getWindowGroups,
816
975
  getWindowNameForDocking,
817
976
  getWindowIdentifier,
818
- headerCommandChannel,
819
977
  injectDOM,
820
978
  isMouseOverDOMElement,
821
979
  isPointInBox,
822
980
  maximize,
823
981
  minimize,
982
+ promoteTab,
824
983
  removeComponentState,
984
+ removeFromTabCollection,
825
985
  restore,
826
986
  retrieveMonitorDimensions,
827
987
  saveWindowBounds,
828
- sendIdentifierForTilingOrTabbing,
829
988
  setActive,
830
989
  setAlwaysOnTop,
831
990
  setComponentState,
832
991
  setShape,
833
992
  setTaskbarIconOverlay,
834
993
  setWindowTitle,
835
- setWindowTitlePrivate,
836
994
  showAtMousePosition,
837
995
  stopTilingOrTabbing,
838
996
  startMovingWindow,
@@ -856,12 +1014,6 @@ export const WindowClient = {
856
1014
  set windowGroups(replacement) {
857
1015
  getControllerInstance().windowGroups = replacement;
858
1016
  },
859
- get commandChannel() {
860
- return getControllerInstance().commandChannel;
861
- },
862
- set commandChannel(replacement) {
863
- getControllerInstance().commandChannel = replacement;
864
- },
865
1017
  };
866
1018
  /**
867
1019
  * @ignore