@finsemble/finsemble-ui 10.0.0-iocd.8 → 10.0.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1537) hide show
  1. package/FEA.d.ts +1440 -1430
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js +10 -10
  4. package/FEA.js.map +1 -1
  5. package/clients/Interop/FinsembleDesktopAgent.d.ts +235 -235
  6. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  7. package/clients/Interop/FinsembleDesktopAgent.js +1331 -1308
  8. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  9. package/clients/Interop/InteropAdmin.d.ts +29 -29
  10. package/clients/Interop/InteropAdmin.js +98 -98
  11. package/clients/Interop/InteropAdmin.js.map +1 -1
  12. package/clients/Interop/index.d.ts +1 -1
  13. package/clients/Interop/index.js +2 -2
  14. package/clients/Interop/types.d.ts +445 -443
  15. package/clients/Interop/types.d.ts.map +1 -1
  16. package/clients/Interop/types.js +45 -45
  17. package/clients/Interop/types.js.map +1 -1
  18. package/clients/Startup/FSBLDesktop.d.ts +157 -157
  19. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  20. package/clients/Startup/FSBLDesktop.js +447 -430
  21. package/clients/Startup/FSBLDesktop.js.map +1 -1
  22. package/clients/Startup/FSBLFreestanding.d.ts +27 -27
  23. package/clients/Startup/FSBLFreestanding.js +129 -129
  24. package/clients/Startup/FSBLFreestanding.js.map +1 -1
  25. package/clients/Startup/FSBLService.d.ts +7 -7
  26. package/clients/Startup/FSBLService.js +57 -57
  27. package/clients/Startup/RouterConfig.d.ts +37 -37
  28. package/clients/Startup/RouterConfig.d.ts.map +1 -1
  29. package/clients/Startup/RouterConfig.js +124 -115
  30. package/clients/Startup/RouterConfig.js.map +1 -1
  31. package/clients/Startup/SDDListeners.d.ts +11 -11
  32. package/clients/Startup/SDDListeners.d.ts.map +1 -1
  33. package/clients/Startup/SDDListeners.js +96 -96
  34. package/clients/Startup/SDDListeners.js.map +1 -1
  35. package/clients/Startup/Startup.d.ts +58 -58
  36. package/clients/Startup/Startup.js +101 -101
  37. package/clients/Startup/Startup.js.map +1 -1
  38. package/clients/Startup/index.d.ts +1 -1
  39. package/clients/Startup/index.js +2 -2
  40. package/clients/Startup/types.d.ts +81 -81
  41. package/clients/Startup/types.d.ts.map +1 -1
  42. package/clients/Startup/types.js +1 -1
  43. package/clients/Startup/unhandledErrors.d.ts +6 -6
  44. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  45. package/clients/Startup/unhandledErrors.js +77 -75
  46. package/clients/Startup/unhandledErrors.js.map +1 -1
  47. package/clients/Startup/windowStartup.d.ts +17 -17
  48. package/clients/Startup/windowStartup.d.ts.map +1 -1
  49. package/clients/Startup/windowStartup.js +491 -478
  50. package/clients/Startup/windowStartup.js.map +1 -1
  51. package/clients/StoreModel.d.ts +394 -394
  52. package/clients/StoreModel.d.ts.map +1 -1
  53. package/clients/StoreModel.js +906 -906
  54. package/clients/StoreModel.js.map +1 -1
  55. package/clients/appsClient.d.ts +618 -476
  56. package/clients/appsClient.d.ts.map +1 -1
  57. package/clients/appsClient.js +729 -710
  58. package/clients/appsClient.js.map +1 -1
  59. package/clients/authenticationClient.d.ts +190 -190
  60. package/clients/authenticationClient.d.ts.map +1 -1
  61. package/clients/authenticationClient.js +247 -247
  62. package/clients/authenticationClient.js.map +1 -1
  63. package/clients/configClient.d.ts +638 -638
  64. package/clients/configClient.d.ts.map +1 -1
  65. package/clients/configClient.js +969 -969
  66. package/clients/configClient.js.map +1 -1
  67. package/clients/controller/DialogManagerClientController.d.ts +77 -77
  68. package/clients/controller/DialogManagerClientController.js +215 -215
  69. package/clients/controller/DialogManagerClientController.js.map +1 -1
  70. package/clients/dialogManagerClient.d.ts +186 -186
  71. package/clients/dialogManagerClient.d.ts.map +1 -1
  72. package/clients/dialogManagerClient.js +479 -475
  73. package/clients/dialogManagerClient.js.map +1 -1
  74. package/clients/distributedStoreClient.d.ts +150 -151
  75. package/clients/distributedStoreClient.d.ts.map +1 -1
  76. package/clients/distributedStoreClient.js +256 -253
  77. package/clients/distributedStoreClient.js.map +1 -1
  78. package/clients/hotkeyClient.d.ts +128 -128
  79. package/clients/hotkeyClient.d.ts.map +1 -1
  80. package/clients/hotkeyClient.js +648 -648
  81. package/clients/hotkeyClient.js.map +1 -1
  82. package/clients/index.d.ts +16 -16
  83. package/clients/index.js +18 -18
  84. package/clients/launcherClient.d.ts +123 -123
  85. package/clients/launcherClient.d.ts.map +1 -1
  86. package/clients/launcherClient.js +64 -64
  87. package/clients/logger.d.ts +363 -363
  88. package/clients/logger.d.ts.map +1 -1
  89. package/clients/logger.js +940 -931
  90. package/clients/logger.js.map +1 -1
  91. package/clients/notificationClient.d.ts +310 -310
  92. package/clients/notificationClient.d.ts.map +1 -1
  93. package/clients/notificationClient.js +557 -557
  94. package/clients/notificationClient.js.map +1 -1
  95. package/clients/routerClient.d.ts +520 -520
  96. package/clients/routerClient.d.ts.map +1 -1
  97. package/clients/routerClient.js +1448 -1416
  98. package/clients/routerClient.js.map +1 -1
  99. package/clients/searchClient.d.ts +156 -156
  100. package/clients/searchClient.d.ts.map +1 -1
  101. package/clients/searchClient.js +282 -282
  102. package/clients/searchClient.js.map +1 -1
  103. package/clients/storageClient.d.ts +235 -235
  104. package/clients/storageClient.d.ts.map +1 -1
  105. package/clients/storageClient.js +308 -308
  106. package/clients/storageClient.js.map +1 -1
  107. package/clients/windowClient.d.ts +714 -712
  108. package/clients/windowClient.d.ts.map +1 -1
  109. package/clients/windowClient.js +1072 -1070
  110. package/clients/windowClient.js.map +1 -1
  111. package/clients/workspaceClient.d.ts +511 -511
  112. package/clients/workspaceClient.d.ts.map +1 -1
  113. package/clients/workspaceClient.js +758 -746
  114. package/clients/workspaceClient.js.map +1 -1
  115. package/common/Desktop.d.ts +56 -56
  116. package/common/Desktop.d.ts.map +1 -1
  117. package/common/Desktop.js +109 -97
  118. package/common/Desktop.js.map +1 -1
  119. package/common/FinsembleWindow.d.ts +823 -813
  120. package/common/FinsembleWindow.d.ts.map +1 -1
  121. package/common/FinsembleWindow.js +1458 -1416
  122. package/common/FinsembleWindow.js.map +1 -1
  123. package/common/Globals.d.ts +96 -96
  124. package/common/Globals.d.ts.map +1 -1
  125. package/common/Globals.js +29 -29
  126. package/common/Monitors.d.ts +160 -155
  127. package/common/Monitors.d.ts.map +1 -1
  128. package/common/Monitors.js +504 -447
  129. package/common/Monitors.js.map +1 -1
  130. package/common/Performance.d.ts +6 -6
  131. package/common/Performance.js +12 -12
  132. package/common/REST.d.ts +16 -16
  133. package/common/REST.js +84 -84
  134. package/common/REST.js.map +1 -1
  135. package/common/Singleton.d.ts +74 -72
  136. package/common/Singleton.d.ts.map +1 -1
  137. package/common/Singleton.js +95 -95
  138. package/common/Singleton.js.map +1 -1
  139. package/common/configUtil.d.ts +58 -58
  140. package/common/configUtil.d.ts.map +1 -1
  141. package/common/configUtil.js +347 -347
  142. package/common/configUtil.js.map +1 -1
  143. package/common/constants.d.ts +101 -101
  144. package/common/constants.js +171 -171
  145. package/common/dependencyManager.d.ts +170 -171
  146. package/common/dependencyManager.d.ts.map +1 -1
  147. package/common/dependencyManager.js +383 -383
  148. package/common/dependencyManager.js.map +1 -1
  149. package/common/events/FinsembleEvent.d.ts +29 -29
  150. package/common/events/FinsembleEvent.d.ts.map +1 -1
  151. package/common/events/FinsembleEvent.js +71 -71
  152. package/common/events/FinsembleEvent.js.map +1 -1
  153. package/common/events/PublicEventManager.d.ts +69 -68
  154. package/common/events/PublicEventManager.d.ts.map +1 -1
  155. package/common/events/PublicEventManager.js +192 -192
  156. package/common/events/PublicEventManager.js.map +1 -1
  157. package/common/index.d.ts +3 -3
  158. package/common/index.js +5 -5
  159. package/common/redux/getRemoteStore.d.ts +53 -53
  160. package/common/redux/getRemoteStore.d.ts.map +1 -1
  161. package/common/redux/getRemoteStore.js +50 -50
  162. package/common/redux/remoteReduxEnhancer.d.ts +28 -28
  163. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  164. package/common/redux/remoteReduxEnhancer.js +228 -218
  165. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  166. package/common/redux/types.d.ts +26 -26
  167. package/common/redux/types.d.ts.map +1 -1
  168. package/common/redux/types.js +1 -1
  169. package/common/system.d.ts +328 -308
  170. package/common/system.d.ts.map +1 -1
  171. package/common/system.js +559 -545
  172. package/common/system.js.map +1 -1
  173. package/common/systemManagerClient.d.ts +91 -91
  174. package/common/systemManagerClient.d.ts.map +1 -1
  175. package/common/systemManagerClient.js +189 -189
  176. package/common/systemManagerClient.js.map +1 -1
  177. package/common/testPoint.d.ts +56 -56
  178. package/common/testPoint.js +105 -105
  179. package/common/testPoint.js.map +1 -1
  180. package/common/toast.d.ts +35 -35
  181. package/common/toast.d.ts.map +1 -1
  182. package/common/toast.js +93 -87
  183. package/common/toast.js.map +1 -1
  184. package/common/util.d.ts +141 -136
  185. package/common/util.d.ts.map +1 -1
  186. package/common/util.js +458 -445
  187. package/common/util.js.map +1 -1
  188. package/deprecated/SmartDesktopClient.d.ts +18 -18
  189. package/deprecated/SmartDesktopClient.js +18 -18
  190. package/deprecated/baseClient.d.ts +87 -87
  191. package/deprecated/baseClient.d.ts.map +1 -1
  192. package/deprecated/baseClient.js +123 -123
  193. package/deprecated/baseClient.js.map +1 -1
  194. package/deprecated/deprecatedFunctions.d.ts +44 -44
  195. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  196. package/deprecated/deprecatedFunctions.js +199 -199
  197. package/deprecated/deprecatedFunctions.js.map +1 -1
  198. package/deprecated/deprecatedlauncherClient.d.ts +162 -162
  199. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  200. package/deprecated/deprecatedlauncherClient.js +285 -285
  201. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  202. package/deprecated/dragAndDropClient.d.ts +288 -288
  203. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  204. package/deprecated/dragAndDropClient.js +753 -698
  205. package/deprecated/dragAndDropClient.js.map +1 -1
  206. package/deprecated/index.d.ts +1 -1
  207. package/deprecated/index.d.ts.map +1 -1
  208. package/deprecated/index.js +1 -1
  209. package/deprecated/legacyUIComponentNames.d.ts +23 -23
  210. package/deprecated/legacyUIComponentNames.js +23 -23
  211. package/deprecated/linkerClient.d.ts +422 -422
  212. package/deprecated/linkerClient.d.ts.map +1 -1
  213. package/deprecated/linkerClient.js +892 -892
  214. package/deprecated/linkerClient.js.map +1 -1
  215. package/index.d.ts +65 -70
  216. package/index.d.ts.map +1 -1
  217. package/index.js +3 -5
  218. package/index.js.map +1 -1
  219. package/main.d.ts +725 -862
  220. package/main.d.ts.map +1 -1
  221. package/main.js +85 -85
  222. package/package.json +10 -14
  223. package/platform/preloads/BloombergBridgeClient.d.ts +453 -453
  224. package/platform/preloads/BloombergBridgeClient.d.ts.map +1 -1
  225. package/platform/preloads/BloombergBridgeClient.js +568 -568
  226. package/platform/preloads/BloombergBridgeClient.js.map +1 -1
  227. package/platform/services/Interop/AuthSignVerify.d.ts +50 -50
  228. package/platform/services/Interop/AuthSignVerify.js +283 -283
  229. package/platform/services/Interop/AuthSignVerify.js.map +1 -1
  230. package/platform/services/Interop/modules/actions.d.ts +16 -16
  231. package/platform/services/Interop/modules/actions.js +10 -10
  232. package/platform/services/Interop/modules/types.d.ts +182 -182
  233. package/platform/services/Interop/modules/types.d.ts.map +1 -1
  234. package/platform/services/Interop/modules/types.js +1 -1
  235. package/platform/services/Interop/types.d.ts +634 -632
  236. package/platform/services/Interop/types.d.ts.map +1 -1
  237. package/platform/services/Interop/types.js +25 -25
  238. package/platform/services/Interop/types.js.map +1 -1
  239. package/platform/services/baseService.d.ts +82 -82
  240. package/platform/services/baseService.d.ts.map +1 -1
  241. package/platform/services/baseService.js +300 -300
  242. package/platform/services/baseService.js.map +1 -1
  243. package/platform/services/bloombergBridge/lib/types.d.ts +108 -108
  244. package/platform/services/bloombergBridge/lib/types.d.ts.map +1 -1
  245. package/platform/services/bloombergBridge/lib/types.js +39 -39
  246. package/platform/services/config/types.d.ts +42 -42
  247. package/platform/services/config/types.d.ts.map +1 -1
  248. package/platform/services/config/types.js +1 -1
  249. package/platform/services/distributedStore/storeUtils.d.ts +67 -67
  250. package/platform/services/distributedStore/storeUtils.d.ts.map +1 -1
  251. package/platform/services/distributedStore/storeUtils.js +238 -238
  252. package/platform/services/distributedStore/storeUtils.js.map +1 -1
  253. package/platform/services/index.d.ts +5 -5
  254. package/platform/services/index.js +9 -9
  255. package/platform/services/logger/types.d.ts +78 -78
  256. package/platform/services/logger/types.d.ts.map +1 -1
  257. package/platform/services/logger/types.js +1 -1
  258. package/platform/services/notification/index.d.ts +1 -1
  259. package/platform/services/notification/index.js +2 -2
  260. package/platform/services/notification/types/Action.d.ts +12 -12
  261. package/platform/services/notification/types/Action.js +7 -7
  262. package/platform/services/notification/types/ActionTypes.d.ts +16 -16
  263. package/platform/services/notification/types/ActionTypes.js +18 -18
  264. package/platform/services/notification/types/Callbacks.d.ts +7 -7
  265. package/platform/services/notification/types/Callbacks.js +1 -1
  266. package/platform/services/notification/types/Filter.d.ts +22 -22
  267. package/platform/services/notification/types/Filter.js +19 -19
  268. package/platform/services/notification/types/IAction.d.ts +51 -51
  269. package/platform/services/notification/types/IAction.js +1 -1
  270. package/platform/services/notification/types/IFilter.d.ts +24 -24
  271. package/platform/services/notification/types/IFilter.js +1 -1
  272. package/platform/services/notification/types/ILastIssued.d.ts +8 -8
  273. package/platform/services/notification/types/ILastIssued.js +1 -1
  274. package/platform/services/notification/types/IMuteFilter.d.ts +7 -7
  275. package/platform/services/notification/types/IMuteFilter.js +4 -4
  276. package/platform/services/notification/types/INotification.d.ts +100 -100
  277. package/platform/services/notification/types/INotification.d.ts.map +1 -1
  278. package/platform/services/notification/types/INotification.js +1 -1
  279. package/platform/services/notification/types/INotificationClient.d.ts +94 -94
  280. package/platform/services/notification/types/INotificationClient.js +1 -1
  281. package/platform/services/notification/types/INotificationHistoryOptions.d.ts +18 -18
  282. package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +1 -1
  283. package/platform/services/notification/types/INotificationHistoryOptions.js +1 -1
  284. package/platform/services/notification/types/INotificationService.d.ts +57 -57
  285. package/platform/services/notification/types/INotificationService.js +1 -1
  286. package/platform/services/notification/types/IPerformedAction.d.ts +9 -9
  287. package/platform/services/notification/types/IPerformedAction.js +1 -1
  288. package/platform/services/notification/types/ISnoozeTimer.d.ts +13 -13
  289. package/platform/services/notification/types/ISnoozeTimer.js +9 -9
  290. package/platform/services/notification/types/ISubscription.d.ts +15 -15
  291. package/platform/services/notification/types/ISubscription.js +1 -1
  292. package/platform/services/notification/types/LastIssued.d.ts +10 -10
  293. package/platform/services/notification/types/LastIssued.js +6 -6
  294. package/platform/services/notification/types/Meta.d.ts +12 -12
  295. package/platform/services/notification/types/Meta.js +6 -6
  296. package/platform/services/notification/types/Notification.d.ts +29 -29
  297. package/platform/services/notification/types/Notification.js +16 -16
  298. package/platform/services/notification/types/NotificationConfig.d.ts +21 -21
  299. package/platform/services/notification/types/NotificationConfig.js +1 -1
  300. package/platform/services/notification/types/NotificationHookTypes.d.ts +6 -6
  301. package/platform/services/notification/types/NotificationHookTypes.js +1 -1
  302. package/platform/services/notification/types/PerformedAction.d.ts +10 -10
  303. package/platform/services/notification/types/PerformedAction.js +7 -7
  304. package/platform/services/notification/types/SnoozeTimer.d.ts +7 -7
  305. package/platform/services/notification/types/SnoozeTimer.js +2 -2
  306. package/platform/services/notification/types/Subscription.d.ts +13 -13
  307. package/platform/services/notification/types/Subscription.js +14 -14
  308. package/platform/services/notification/types/index.d.ts +45 -45
  309. package/platform/services/notification/types/index.d.ts.map +1 -1
  310. package/platform/services/notification/types/index.js +23 -23
  311. package/platform/services/router/routerTransport.d.ts +80 -80
  312. package/platform/services/router/routerTransport.d.ts.map +1 -1
  313. package/platform/services/router/routerTransport.js +486 -476
  314. package/platform/services/router/routerTransport.js.map +1 -1
  315. package/platform/services/router/types.d.ts +214 -212
  316. package/platform/services/router/types.d.ts.map +1 -1
  317. package/platform/services/router/types.js +1 -1
  318. package/platform/services/search/index.d.ts +1 -1
  319. package/platform/services/search/index.js +2 -2
  320. package/platform/services/search/types.d.ts +29 -29
  321. package/platform/services/search/types.d.ts.map +1 -1
  322. package/platform/services/search/types.js +1 -1
  323. package/platform/services/storage/adapters/base.d.ts +3 -3
  324. package/platform/services/storage/adapters/base.js +63 -63
  325. package/platform/services/storage/adapters/base.js.map +1 -1
  326. package/platform/services/storage/adapters/types.d.ts +21 -21
  327. package/platform/services/storage/adapters/types.d.ts.map +1 -1
  328. package/platform/services/storage/adapters/types.js +1 -1
  329. package/platform/services/systemManager/_constants.d.ts +9 -9
  330. package/platform/services/systemManager/_constants.js +22 -22
  331. package/platform/services/systemManager/common.d.ts +13 -13
  332. package/platform/services/systemManager/common.js +19 -19
  333. package/platform/services/systemManager/types.d.ts +49 -48
  334. package/platform/services/systemManager/types.d.ts.map +1 -1
  335. package/platform/services/systemManager/types.js +11 -11
  336. package/platform/services/types.d.ts +10 -10
  337. package/platform/services/types.d.ts.map +1 -1
  338. package/platform/services/types.js +9 -9
  339. package/platform/services/window/index.d.ts +1 -1
  340. package/platform/services/window/index.js +2 -2
  341. package/platform/services/window/modules/actions.d.ts +76 -70
  342. package/platform/services/window/modules/actions.d.ts.map +1 -1
  343. package/platform/services/window/modules/actions.js +67 -62
  344. package/platform/services/window/modules/actions.js.map +1 -1
  345. package/platform/services/window/types.d.ts +1211 -1194
  346. package/platform/services/window/types.d.ts.map +1 -1
  347. package/platform/services/window/types.js +6 -1
  348. package/platform/services/window/types.js.map +1 -1
  349. package/platform/services/workspace/index.d.ts +1 -1
  350. package/platform/services/workspace/index.js +2 -2
  351. package/platform/services/workspace/types.d.ts +78 -78
  352. package/platform/services/workspace/types.d.ts.map +1 -1
  353. package/platform/services/workspace/types.js +1 -1
  354. package/platform/services/workspace/workspaceAdminAPI.d.ts +26 -26
  355. package/platform/services/workspace/workspaceAdminAPI.d.ts.map +1 -1
  356. package/platform/services/workspace/workspaceAdminAPI.js +44 -44
  357. package/platform/services/workspace/workspaceAdminAPI.js.map +1 -1
  358. package/react/actions/favoriteActions.d.ts +21 -21
  359. package/react/actions/favoriteActions.d.ts.map +1 -1
  360. package/react/actions/favoriteActions.js +8 -8
  361. package/react/actions/linkerActions.d.ts +48 -48
  362. package/react/actions/linkerActions.d.ts.map +1 -1
  363. package/react/actions/linkerActions.js +8 -8
  364. package/react/actions/menuActions.d.ts +16 -16
  365. package/react/actions/menuActions.d.ts.map +1 -1
  366. package/react/actions/menuActions.js +9 -9
  367. package/react/actions/rootActions.d.ts +9 -9
  368. package/react/actions/rootActions.d.ts.map +1 -1
  369. package/react/actions/rootActions.js +2 -2
  370. package/react/actions/searchActions.d.ts +12 -12
  371. package/react/actions/searchActions.d.ts.map +1 -1
  372. package/react/actions/searchActions.js +7 -7
  373. package/react/actions/smartDesktopDesignerActions.d.ts +56 -56
  374. package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
  375. package/react/actions/smartDesktopDesignerActions.js +27 -27
  376. package/react/actions/toolbarActions.d.ts +61 -61
  377. package/react/actions/toolbarActions.d.ts.map +1 -1
  378. package/react/actions/toolbarActions.js +24 -24
  379. package/react/actions/workspaceActions.d.ts +11 -11
  380. package/react/actions/workspaceActions.d.ts.map +1 -1
  381. package/react/actions/workspaceActions.js +6 -6
  382. package/react/assets/css/advancedAppLauncher.css +1 -1
  383. package/react/assets/css/appCatalog.css +4 -4
  384. package/react/assets/css/dialogs.css +2 -6
  385. package/react/assets/css/favorites.css +1 -3
  386. package/react/assets/css/finsemble.css +0 -1
  387. package/react/assets/css/font-finance.css +4 -282
  388. package/react/assets/css/menus.css +5 -1
  389. package/react/assets/css/search.css +1 -2
  390. package/react/assets/css/toolbar.css +9 -1
  391. package/react/assets/css/userPreferences.css +1 -1
  392. package/react/components/FinsembleCSS.d.ts +17 -17
  393. package/react/components/FinsembleCSS.d.ts.map +1 -1
  394. package/react/components/FinsembleCSS.js +27 -26
  395. package/react/components/FinsembleCSS.js.map +1 -1
  396. package/react/components/FinsembleProvider.d.ts +28 -28
  397. package/react/components/FinsembleProvider.d.ts.map +1 -1
  398. package/react/components/FinsembleProvider.js +33 -33
  399. package/react/components/appCatalog/AppCatalog.d.ts +13 -13
  400. package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
  401. package/react/components/appCatalog/AppCatalog.js +33 -33
  402. package/react/components/appCatalog/AppCatalogComponent.d.ts +98 -98
  403. package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
  404. package/react/components/appCatalog/AppCatalogComponent.js +307 -307
  405. package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
  406. package/react/components/appCatalog/components/AppCard.d.ts +64 -64
  407. package/react/components/appCatalog/components/AppCard.d.ts.map +1 -1
  408. package/react/components/appCatalog/components/AppCard.js +200 -200
  409. package/react/components/appCatalog/components/AppCard.js.map +1 -1
  410. package/react/components/appCatalog/components/AppList.d.ts +8 -8
  411. package/react/components/appCatalog/components/AppList.d.ts.map +1 -1
  412. package/react/components/appCatalog/components/AppList.js +25 -25
  413. package/react/components/appCatalog/components/AppList.js.map +1 -1
  414. package/react/components/appCatalog/components/AppResults.d.ts +25 -21
  415. package/react/components/appCatalog/components/AppResults.d.ts.map +1 -1
  416. package/react/components/appCatalog/components/AppResults.js +71 -71
  417. package/react/components/appCatalog/components/AppResults.js.map +1 -1
  418. package/react/components/appCatalog/components/Carousel.d.ts +42 -42
  419. package/react/components/appCatalog/components/Carousel.d.ts.map +1 -1
  420. package/react/components/appCatalog/components/Carousel.js +126 -126
  421. package/react/components/appCatalog/components/Carousel.js.map +1 -1
  422. package/react/components/appCatalog/components/EmptyResults.d.ts +11 -7
  423. package/react/components/appCatalog/components/EmptyResults.d.ts.map +1 -1
  424. package/react/components/appCatalog/components/EmptyResults.js +12 -12
  425. package/react/components/appCatalog/components/Hero.d.ts +42 -42
  426. package/react/components/appCatalog/components/Hero.d.ts.map +1 -1
  427. package/react/components/appCatalog/components/Hero.js +83 -83
  428. package/react/components/appCatalog/components/Hero.js.map +1 -1
  429. package/react/components/appCatalog/components/Home.d.ts +29 -21
  430. package/react/components/appCatalog/components/Home.d.ts.map +1 -1
  431. package/react/components/appCatalog/components/Home.js +28 -28
  432. package/react/components/appCatalog/components/SearchBar.d.ts +57 -57
  433. package/react/components/appCatalog/components/SearchBar.js +107 -107
  434. package/react/components/appCatalog/components/SearchBar.js.map +1 -1
  435. package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +15 -11
  436. package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +1 -1
  437. package/react/components/appCatalog/components/Showcase/AppDescription.js +15 -15
  438. package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +18 -14
  439. package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +1 -1
  440. package/react/components/appCatalog/components/Showcase/AppDevNotes.js +30 -30
  441. package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +37 -37
  442. package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +1 -1
  443. package/react/components/appCatalog/components/Showcase/AppShowcase.js +128 -128
  444. package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
  445. package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -21
  446. package/react/components/appCatalog/components/Showcase/Header.d.ts.map +1 -1
  447. package/react/components/appCatalog/components/Showcase/Header.js +58 -58
  448. package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
  449. package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +14 -13
  450. package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +1 -1
  451. package/react/components/appCatalog/components/Showcase/ImageCarousel.js +25 -25
  452. package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -18
  453. package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +1 -1
  454. package/react/components/appCatalog/components/Showcase/Modal.js +23 -23
  455. package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
  456. package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +10 -9
  457. package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +1 -1
  458. package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +18 -18
  459. package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +12 -11
  460. package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +1 -1
  461. package/react/components/appCatalog/components/Showcase/SupportNotes.js +26 -26
  462. package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +10 -9
  463. package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +1 -1
  464. package/react/components/appCatalog/components/Showcase/VersionNotes.js +21 -21
  465. package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -3
  466. package/react/components/appCatalog/components/Showcase/defaults.js +3 -3
  467. package/react/components/appCatalog/components/Toast.d.ts +15 -11
  468. package/react/components/appCatalog/components/Toast.d.ts.map +1 -1
  469. package/react/components/appCatalog/components/Toast.js +38 -38
  470. package/react/components/appCatalog/components/Toast.js.map +1 -1
  471. package/react/components/appCatalog/components/helpers.d.ts +2 -2
  472. package/react/components/appCatalog/components/helpers.js +33 -33
  473. package/react/components/appCatalog/components/helpers.js.map +1 -1
  474. package/react/components/appCatalog/index.d.ts +1 -1
  475. package/react/components/appCatalog/index.js +1 -1
  476. package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -12
  477. package/react/components/appCatalog/modules/AppDirectory.d.ts.map +1 -1
  478. package/react/components/appCatalog/modules/AppDirectory.js +10 -10
  479. package/react/components/appCatalog/modules/FDC3.d.ts +51 -51
  480. package/react/components/appCatalog/modules/FDC3.js +146 -146
  481. package/react/components/appCatalog/modules/FDC3.js.map +1 -1
  482. package/react/components/appCatalog/stores/appStore.d.ts +9 -9
  483. package/react/components/appCatalog/stores/appStore.js +47 -47
  484. package/react/components/appCatalog/stores/appStore.js.map +1 -1
  485. package/react/components/appCatalog/stores/storeActions.d.ts +145 -145
  486. package/react/components/appCatalog/stores/storeActions.d.ts.map +1 -1
  487. package/react/components/appCatalog/stores/storeActions.js +423 -423
  488. package/react/components/appCatalog/stores/storeActions.js.map +1 -1
  489. package/react/components/bloomberg/BloombergFDC3.d.ts +3 -3
  490. package/react/components/bloomberg/BloombergFDC3.d.ts.map +1 -1
  491. package/react/components/bloomberg/BloombergFDC3.js +71 -71
  492. package/react/components/bloomberg/BloombergFDC3.js.map +1 -1
  493. package/react/components/bloomberg/BloombergLink.d.ts +11 -11
  494. package/react/components/bloomberg/BloombergLink.d.ts.map +1 -1
  495. package/react/components/bloomberg/BloombergLink.js +48 -48
  496. package/react/components/bloomberg/BloombergLink.js.map +1 -1
  497. package/react/components/bloomberg/BloombergRelay.d.ts +9 -9
  498. package/react/components/bloomberg/BloombergRelay.d.ts.map +1 -1
  499. package/react/components/bloomberg/BloombergRelay.js +74 -68
  500. package/react/components/bloomberg/BloombergRelay.js.map +1 -1
  501. package/react/components/common/Button.d.ts +35 -35
  502. package/react/components/common/Button.js +21 -21
  503. package/react/components/common/Button.js.map +1 -1
  504. package/react/components/common/ButtonIcon.d.ts +4 -4
  505. package/react/components/common/ButtonIcon.js +11 -11
  506. package/react/components/common/ButtonIcon.js.map +1 -1
  507. package/react/components/common/ButtonRow.d.ts +15 -15
  508. package/react/components/common/ButtonRow.js +24 -24
  509. package/react/components/common/ButtonRow.js.map +1 -1
  510. package/react/components/common/Checkbox.d.ts +12 -12
  511. package/react/components/common/Checkbox.js +19 -19
  512. package/react/components/common/Checkbox.js.map +1 -1
  513. package/react/components/common/ContextMenu.d.ts +13 -13
  514. package/react/components/common/ContextMenu.d.ts.map +1 -1
  515. package/react/components/common/ContextMenu.js +62 -62
  516. package/react/components/common/ContextMenu.js.map +1 -1
  517. package/react/components/common/Dropdown.d.ts +14 -14
  518. package/react/components/common/Dropdown.d.ts.map +1 -1
  519. package/react/components/common/Dropdown.js +82 -82
  520. package/react/components/common/Dropdown.js.map +1 -1
  521. package/react/components/common/DropdownButton.d.ts +10 -10
  522. package/react/components/common/DropdownButton.d.ts.map +1 -1
  523. package/react/components/common/DropdownButton.js +52 -52
  524. package/react/components/common/DropdownButton.js.map +1 -1
  525. package/react/components/common/ErrorBoundary.d.ts +35 -35
  526. package/react/components/common/ErrorBoundary.d.ts.map +1 -1
  527. package/react/components/common/ErrorBoundary.js +43 -43
  528. package/react/components/common/ErrorBoundary.js.map +1 -1
  529. package/react/components/common/FinsembleIcon.d.ts +20 -20
  530. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  531. package/react/components/common/FinsembleIcon.js +150 -150
  532. package/react/components/common/FinsembleIcon.js.map +1 -1
  533. package/react/components/common/FinsembleToggle.d.ts +9 -9
  534. package/react/components/common/FinsembleToggle.d.ts.map +1 -1
  535. package/react/components/common/FinsembleToggle.js +11 -11
  536. package/react/components/common/FinsembleToggleButtonBar.d.ts +15 -15
  537. package/react/components/common/FinsembleToggleButtonBar.d.ts.map +1 -1
  538. package/react/components/common/FinsembleToggleButtonBar.js +39 -39
  539. package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
  540. package/react/components/common/Header.d.ts +13 -13
  541. package/react/components/common/Header.d.ts.map +1 -1
  542. package/react/components/common/Header.js +20 -20
  543. package/react/components/common/Header.js.map +1 -1
  544. package/react/components/common/TimeSelect.d.ts +16 -16
  545. package/react/components/common/TimeSelect.d.ts.map +1 -1
  546. package/react/components/common/TimeSelect.js +173 -173
  547. package/react/components/common/TimeSelect.js.map +1 -1
  548. package/react/components/common/css/icon.css +0 -2
  549. package/react/components/common/loadCSSAsStyle.d.ts +3 -0
  550. package/react/components/common/loadCSSAsStyle.d.ts.map +1 -0
  551. package/react/components/common/loadCSSAsStyle.js +18 -0
  552. package/react/components/common/loadCSSAsStyle.js.map +1 -0
  553. package/react/components/downloadManager/DownloadItem.d.ts +14 -14
  554. package/react/components/downloadManager/DownloadItem.d.ts.map +1 -1
  555. package/react/components/downloadManager/DownloadItem.js +76 -76
  556. package/react/components/downloadManager/DownloadItem.js.map +1 -1
  557. package/react/components/downloadManager/DownloadManager.d.ts +9 -9
  558. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  559. package/react/components/downloadManager/DownloadManager.js +39 -39
  560. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  561. package/react/components/downloadManager/index.d.ts +1 -1
  562. package/react/components/downloadManager/index.js +1 -1
  563. package/react/components/favorites/FavoriteMaker.d.ts +17 -17
  564. package/react/components/favorites/FavoriteMaker.d.ts.map +1 -1
  565. package/react/components/favorites/FavoriteMaker.js +41 -41
  566. package/react/components/favorites/FavoriteMaker.js.map +1 -1
  567. package/react/components/favorites/FavoritesShell.d.ts +7 -7
  568. package/react/components/favorites/FavoritesShell.d.ts.map +1 -1
  569. package/react/components/favorites/FavoritesShell.js +40 -40
  570. package/react/components/favorites/FavoritesShell.js.map +1 -1
  571. package/react/components/fdc3Resolver/ResolverContainer.d.ts +12 -8
  572. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  573. package/react/components/fdc3Resolver/ResolverContainer.js +98 -98
  574. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  575. package/react/components/fdc3Resolver/ResolverDialog.d.ts +31 -31
  576. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  577. package/react/components/fdc3Resolver/ResolverDialog.js +167 -164
  578. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  579. package/react/components/fdc3Resolver/index.d.ts +1 -1
  580. package/react/components/fdc3Resolver/index.js +1 -1
  581. package/react/components/icon/Icon.d.ts +21 -21
  582. package/react/components/icon/Icon.d.ts.map +1 -1
  583. package/react/components/icon/Icon.js +102 -102
  584. package/react/components/icon/Icon.js.map +1 -1
  585. package/react/components/icon/index.d.ts +1 -1
  586. package/react/components/icon/index.js +1 -1
  587. package/react/components/index.d.ts +28 -28
  588. package/react/components/index.js +28 -28
  589. package/react/components/legacyControls/FinsembleDialog.d.ts +18 -18
  590. package/react/components/legacyControls/FinsembleDialog.d.ts.map +1 -1
  591. package/react/components/legacyControls/FinsembleDialog.js +47 -47
  592. package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
  593. package/react/components/legacyControls/FinsembleDialogButton.d.ts +16 -16
  594. package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +1 -1
  595. package/react/components/legacyControls/FinsembleDialogButton.js +21 -21
  596. package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
  597. package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +14 -14
  598. package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +1 -1
  599. package/react/components/legacyControls/FinsembleDialogQuestion.js +16 -16
  600. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +22 -22
  601. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  602. package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -64
  603. package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
  604. package/react/components/legacyControls/FinsembleDnDContext.d.ts +46 -46
  605. package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +1 -1
  606. package/react/components/legacyControls/FinsembleDnDContext.js +308 -308
  607. package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
  608. package/react/components/legacyControls/FinsembleDraggable.d.ts +15 -15
  609. package/react/components/legacyControls/FinsembleDraggable.d.ts.map +1 -1
  610. package/react/components/legacyControls/FinsembleDraggable.js +21 -21
  611. package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
  612. package/react/components/linker/LinkerMenu.d.ts +10 -6
  613. package/react/components/linker/LinkerMenu.d.ts.map +1 -1
  614. package/react/components/linker/LinkerMenu.js +155 -155
  615. package/react/components/linker/LinkerMenu.js.map +1 -1
  616. package/react/components/linker/LinkerMenuDeprecated.d.ts +13 -7
  617. package/react/components/linker/LinkerMenuDeprecated.d.ts.map +1 -1
  618. package/react/components/linker/LinkerMenuDeprecated.js +38 -38
  619. package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
  620. package/react/components/linker/index.d.ts +1 -1
  621. package/react/components/linker/index.js +1 -1
  622. package/react/components/linker/remoteRedux.d.ts +3 -3
  623. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  624. package/react/components/linker/remoteRedux.js +10 -9
  625. package/react/components/linker/remoteRedux.js.map +1 -1
  626. package/react/components/menu/Menu.d.ts +29 -29
  627. package/react/components/menu/Menu.d.ts.map +1 -1
  628. package/react/components/menu/Menu.js +25 -25
  629. package/react/components/menu/Menu.js.map +1 -1
  630. package/react/components/menu/MenuAutoResizer.d.ts +19 -18
  631. package/react/components/menu/MenuAutoResizer.d.ts.map +1 -1
  632. package/react/components/menu/MenuAutoResizer.js +125 -67
  633. package/react/components/menu/MenuAutoResizer.js.map +1 -1
  634. package/react/components/menu/MenuContent.d.ts +11 -11
  635. package/react/components/menu/MenuContent.d.ts.map +1 -1
  636. package/react/components/menu/MenuContent.js +14 -14
  637. package/react/components/menu/MenuHotKey.d.ts +20 -20
  638. package/react/components/menu/MenuHotKey.d.ts.map +1 -1
  639. package/react/components/menu/MenuHotKey.js +45 -45
  640. package/react/components/menu/MenuHotKey.js.map +1 -1
  641. package/react/components/menu/MenuItem.d.ts +19 -19
  642. package/react/components/menu/MenuItem.d.ts.map +1 -1
  643. package/react/components/menu/MenuItem.js +28 -21
  644. package/react/components/menu/MenuItem.js.map +1 -1
  645. package/react/components/menu/MenuPortal.d.ts +7 -7
  646. package/react/components/menu/MenuPortal.d.ts.map +1 -1
  647. package/react/components/menu/MenuPortal.js +321 -245
  648. package/react/components/menu/MenuPortal.js.map +1 -1
  649. package/react/components/menu/MenuShell.d.ts +31 -31
  650. package/react/components/menu/MenuShell.d.ts.map +1 -1
  651. package/react/components/menu/MenuShell.js +47 -47
  652. package/react/components/menu/MenuToggle.d.ts +7 -7
  653. package/react/components/menu/MenuToggle.d.ts.map +1 -1
  654. package/react/components/menu/MenuToggle.js +19 -18
  655. package/react/components/menu/MenuToggle.js.map +1 -1
  656. package/react/components/menu/index.d.ts +5 -5
  657. package/react/components/menu/index.js +5 -5
  658. package/react/components/menu/keyboardNavigation.d.ts +13 -13
  659. package/react/components/menu/keyboardNavigation.d.ts.map +1 -1
  660. package/react/components/menu/keyboardNavigation.js +197 -195
  661. package/react/components/menu/keyboardNavigation.js.map +1 -1
  662. package/react/components/menu/menuContext.d.ts +16 -17
  663. package/react/components/menu/menuContext.d.ts.map +1 -1
  664. package/react/components/menu/menuContext.js +8 -8
  665. package/react/components/menu/menuHelpers.d.ts +32 -32
  666. package/react/components/menu/menuHelpers.d.ts.map +1 -1
  667. package/react/components/menu/menuHelpers.js +112 -112
  668. package/react/components/menu/menuHelpers.js.map +1 -1
  669. package/react/components/notifications/components/NoNotifications.d.ts +3 -3
  670. package/react/components/notifications/components/NoNotifications.d.ts.map +1 -1
  671. package/react/components/notifications/components/NoNotifications.js +4 -4
  672. package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts +18 -18
  673. package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts.map +1 -1
  674. package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js +83 -83
  675. package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js.map +1 -1
  676. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +5 -5
  677. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +1 -1
  678. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +44 -44
  679. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
  680. package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts +4 -4
  681. package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts.map +1 -1
  682. package/react/components/notifications/components/notificationsCenter/components/CardView.js +91 -91
  683. package/react/components/notifications/components/notificationsCenter/components/CardView.js.map +1 -1
  684. package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts +7 -7
  685. package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts.map +1 -1
  686. package/react/components/notifications/components/notificationsCenter/components/Drawer.js +4 -4
  687. package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts +3 -3
  688. package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts.map +1 -1
  689. package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js +93 -93
  690. package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js.map +1 -1
  691. package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts +7 -7
  692. package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts.map +1 -1
  693. package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js +80 -77
  694. package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js.map +1 -1
  695. package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts +14 -14
  696. package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts.map +1 -1
  697. package/react/components/notifications/components/notificationsCenter/components/ListView.js +150 -150
  698. package/react/components/notifications/components/notificationsCenter/components/ListView.js.map +1 -1
  699. package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts +18 -18
  700. package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts.map +1 -1
  701. package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js +68 -68
  702. package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js.map +1 -1
  703. package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts +6 -6
  704. package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts.map +1 -1
  705. package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js +63 -63
  706. package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js.map +1 -1
  707. package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts +9 -9
  708. package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts.map +1 -1
  709. package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js +312 -303
  710. package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js.map +1 -1
  711. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -4
  712. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +1 -1
  713. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +220 -220
  714. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
  715. package/react/components/notifications/components/shared/CheckButton.d.ts +5 -5
  716. package/react/components/notifications/components/shared/CheckButton.d.ts.map +1 -1
  717. package/react/components/notifications/components/shared/CheckButton.js +38 -38
  718. package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
  719. package/react/components/notifications/components/shared/IconButton.d.ts +10 -10
  720. package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
  721. package/react/components/notifications/components/shared/IconButton.js +10 -10
  722. package/react/components/notifications/components/shared/IconButton.js.map +1 -1
  723. package/react/components/notifications/components/shared/NotificationCardShell.d.ts +20 -20
  724. package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
  725. package/react/components/notifications/components/shared/NotificationCardShell.js +92 -92
  726. package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
  727. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +5 -5
  728. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +1 -1
  729. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +31 -31
  730. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
  731. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -4
  732. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +1 -1
  733. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +6 -6
  734. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +8 -8
  735. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +1 -1
  736. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +12 -12
  737. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +13 -13
  738. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
  739. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +149 -149
  740. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
  741. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -4
  742. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +1 -1
  743. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +7 -7
  744. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +10 -10
  745. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
  746. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +18 -18
  747. package/react/components/notifications/constants.d.ts +9 -9
  748. package/react/components/notifications/constants.js +11 -11
  749. package/react/components/notifications/css/notification-card.css +1 -1
  750. package/react/components/notifications/icons/EnvelopeClose.d.ts +2 -2
  751. package/react/components/notifications/icons/EnvelopeClose.d.ts.map +1 -1
  752. package/react/components/notifications/icons/EnvelopeClose.js +11 -11
  753. package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -2
  754. package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +1 -1
  755. package/react/components/notifications/icons/EnvelopeOpen.js +10 -10
  756. package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -2
  757. package/react/components/notifications/icons/SnoozeIcon.d.ts.map +1 -1
  758. package/react/components/notifications/icons/SnoozeIcon.js +12 -12
  759. package/react/components/notifications/index.d.ts +8 -8
  760. package/react/components/notifications/index.js +8 -8
  761. package/react/components/notifications/notificationsContext.d.ts +6 -7
  762. package/react/components/notifications/notificationsContext.d.ts.map +1 -1
  763. package/react/components/notifications/notificationsContext.js +6 -6
  764. package/react/components/notifications/types.d.ts +90 -90
  765. package/react/components/notifications/types.d.ts.map +1 -1
  766. package/react/components/notifications/types.js +1 -1
  767. package/react/components/notifications/utils.d.ts +12 -12
  768. package/react/components/notifications/utils.js +70 -70
  769. package/react/components/notifications/utils.js.map +1 -1
  770. package/react/components/processMonitor/ProcessMonitor.d.ts +6 -6
  771. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  772. package/react/components/processMonitor/ProcessMonitor.js +64 -64
  773. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  774. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +22 -22
  775. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  776. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -1
  777. package/react/components/processMonitor/components/ChildWindow.d.ts +11 -11
  778. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  779. package/react/components/processMonitor/components/ChildWindow.js +32 -32
  780. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  781. package/react/components/processMonitor/components/ListHeader.d.ts +8 -8
  782. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  783. package/react/components/processMonitor/components/ListHeader.js +50 -50
  784. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  785. package/react/components/processMonitor/components/Process.d.ts +9 -9
  786. package/react/components/processMonitor/components/Process.d.ts.map +1 -1
  787. package/react/components/processMonitor/components/Process.js +10 -10
  788. package/react/components/processMonitor/components/ProcessStatistics.d.ts +10 -10
  789. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  790. package/react/components/processMonitor/components/ProcessStatistics.js +64 -64
  791. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  792. package/react/components/processMonitor/constants.d.ts +8 -8
  793. package/react/components/processMonitor/constants.js +23 -23
  794. package/react/components/processMonitor/helpers.d.ts +17 -17
  795. package/react/components/processMonitor/helpers.js +48 -48
  796. package/react/components/processMonitor/helpers.js.map +1 -1
  797. package/react/components/processMonitor/index.d.ts +1 -1
  798. package/react/components/processMonitor/index.js +1 -1
  799. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +58 -58
  800. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  801. package/react/components/processMonitor/stores/ProcessMonitorStore.js +264 -264
  802. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  803. package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -7
  804. package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +1 -1
  805. package/react/components/quickComponentForm/QuickComponentForm.js +123 -123
  806. package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
  807. package/react/components/quickComponentForm/index.d.ts +1 -1
  808. package/react/components/quickComponentForm/index.js +1 -1
  809. package/react/components/search/Highlight.d.ts +12 -12
  810. package/react/components/search/Highlight.d.ts.map +1 -1
  811. package/react/components/search/Highlight.js +41 -41
  812. package/react/components/search/Highlight.js.map +1 -1
  813. package/react/components/search/Search.d.ts +5 -5
  814. package/react/components/search/Search.d.ts.map +1 -1
  815. package/react/components/search/Search.js +19 -27
  816. package/react/components/search/Search.js.map +1 -1
  817. package/react/components/search/SearchBestMatch.d.ts +6 -6
  818. package/react/components/search/SearchBestMatch.d.ts.map +1 -1
  819. package/react/components/search/SearchBestMatch.js +38 -38
  820. package/react/components/search/SearchBestMatch.js.map +1 -1
  821. package/react/components/search/SearchInput.d.ts +6 -6
  822. package/react/components/search/SearchInput.d.ts.map +1 -1
  823. package/react/components/search/SearchInput.js +26 -26
  824. package/react/components/search/SearchInput.js.map +1 -1
  825. package/react/components/search/SearchProviderResults.d.ts +5 -5
  826. package/react/components/search/SearchProviderResults.d.ts.map +1 -1
  827. package/react/components/search/SearchProviderResults.js +26 -26
  828. package/react/components/search/SearchResult.d.ts +12 -12
  829. package/react/components/search/SearchResult.d.ts.map +1 -1
  830. package/react/components/search/SearchResult.js +52 -47
  831. package/react/components/search/SearchResult.js.map +1 -1
  832. package/react/components/search/SearchResults.d.ts +3 -3
  833. package/react/components/search/SearchResults.d.ts.map +1 -1
  834. package/react/components/search/SearchResults.js +21 -21
  835. package/react/components/search/SearchResults.js.map +1 -1
  836. package/react/components/search/index.d.ts +1 -1
  837. package/react/components/search/index.js +1 -1
  838. package/react/components/shared/BellIcon.d.ts +3 -3
  839. package/react/components/shared/BellIcon.d.ts.map +1 -1
  840. package/react/components/shared/BellIcon.js +7 -7
  841. package/react/components/shared/BellIconCrossed.d.ts +3 -3
  842. package/react/components/shared/BellIconCrossed.d.ts.map +1 -1
  843. package/react/components/shared/BellIconCrossed.js +9 -9
  844. package/react/components/shared/Button.d.ts +9 -9
  845. package/react/components/shared/Button.d.ts.map +1 -1
  846. package/react/components/shared/Button.js +5 -5
  847. package/react/components/shared/ConditionalWrapper.d.ts +8 -8
  848. package/react/components/shared/ConditionalWrapper.d.ts.map +1 -1
  849. package/react/components/shared/ConditionalWrapper.js +5 -5
  850. package/react/components/shared/DefaultDropdownButton.d.ts +18 -18
  851. package/react/components/shared/DefaultDropdownButton.d.ts.map +1 -1
  852. package/react/components/shared/DefaultDropdownButton.js +117 -117
  853. package/react/components/shared/DefaultDropdownButton.js.map +1 -1
  854. package/react/components/shared/Tag.d.ts +16 -8
  855. package/react/components/shared/Tag.d.ts.map +1 -1
  856. package/react/components/shared/Tag.js +22 -22
  857. package/react/components/shared/TagsMenu.d.ts +36 -36
  858. package/react/components/shared/TagsMenu.js +77 -77
  859. package/react/components/shared/TagsMenu.js.map +1 -1
  860. package/react/components/shared/addProtocolToValidURL.d.ts +7 -7
  861. package/react/components/shared/addProtocolToValidURL.js +11 -11
  862. package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -1
  863. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  864. package/react/components/shared/openQuitConfirmationDialog.js +73 -71
  865. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  866. package/react/components/shared/validateURL.d.ts +19 -19
  867. package/react/components/shared/validateURL.js +29 -29
  868. package/react/components/singleInputDialog/SingleInputDialog.d.ts +12 -8
  869. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  870. package/react/components/singleInputDialog/SingleInputDialog.js +112 -112
  871. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  872. package/react/components/singleInputDialog/index.d.ts +1 -1
  873. package/react/components/singleInputDialog/index.js +1 -1
  874. package/react/components/system/System.d.ts +34 -34
  875. package/react/components/system/System.d.ts.map +1 -1
  876. package/react/components/system/System.js +92 -93
  877. package/react/components/system/System.js.map +1 -1
  878. package/react/components/system/SystemTrayComponentShell.d.ts +14 -14
  879. package/react/components/system/SystemTrayComponentShell.d.ts.map +1 -1
  880. package/react/components/system/SystemTrayComponentShell.js +47 -45
  881. package/react/components/system/SystemTrayComponentShell.js.map +1 -1
  882. package/react/components/system/index.d.ts +2 -2
  883. package/react/components/system/index.js +2 -2
  884. package/react/components/toolbar/AlwaysOnTop.d.ts +10 -10
  885. package/react/components/toolbar/AlwaysOnTop.d.ts.map +1 -1
  886. package/react/components/toolbar/AlwaysOnTop.js +95 -78
  887. package/react/components/toolbar/AlwaysOnTop.js.map +1 -1
  888. package/react/components/toolbar/AutoArrange.d.ts +12 -12
  889. package/react/components/toolbar/AutoArrange.d.ts.map +1 -1
  890. package/react/components/toolbar/AutoArrange.js +36 -36
  891. package/react/components/toolbar/AutoArrange.js.map +1 -1
  892. package/react/components/toolbar/DownloadButton.d.ts +10 -10
  893. package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
  894. package/react/components/toolbar/DownloadButton.js +43 -46
  895. package/react/components/toolbar/DownloadButton.js.map +1 -1
  896. package/react/components/toolbar/DragHandle.d.ts +11 -11
  897. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  898. package/react/components/toolbar/DragHandle.js +49 -49
  899. package/react/components/toolbar/MinimizeAll.d.ts +11 -11
  900. package/react/components/toolbar/MinimizeAll.d.ts.map +1 -1
  901. package/react/components/toolbar/MinimizeAll.js +24 -24
  902. package/react/components/toolbar/MinimizeAll.js.map +1 -1
  903. package/react/components/toolbar/NotificationControl.d.ts +12 -12
  904. package/react/components/toolbar/NotificationControl.d.ts.map +1 -1
  905. package/react/components/toolbar/NotificationControl.js +85 -79
  906. package/react/components/toolbar/NotificationControl.js.map +1 -1
  907. package/react/components/toolbar/RevealAll.d.ts +11 -11
  908. package/react/components/toolbar/RevealAll.d.ts.map +1 -1
  909. package/react/components/toolbar/RevealAll.js +26 -26
  910. package/react/components/toolbar/RevealAll.js.map +1 -1
  911. package/react/components/toolbar/SddButton.d.ts +6 -6
  912. package/react/components/toolbar/SddButton.d.ts.map +1 -1
  913. package/react/components/toolbar/SddButton.js +27 -27
  914. package/react/components/toolbar/SddButton.js.map +1 -1
  915. package/react/components/toolbar/ToolbarIcon.d.ts +6 -6
  916. package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
  917. package/react/components/toolbar/ToolbarIcon.js +29 -41
  918. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  919. package/react/components/toolbar/ToolbarSection.d.ts +16 -16
  920. package/react/components/toolbar/ToolbarSection.d.ts.map +1 -1
  921. package/react/components/toolbar/ToolbarSection.js +41 -41
  922. package/react/components/toolbar/ToolbarSection.js.map +1 -1
  923. package/react/components/toolbar/ToolbarShell.d.ts +20 -20
  924. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  925. package/react/components/toolbar/ToolbarShell.js +35 -35
  926. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  927. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -10
  928. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +1 -1
  929. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +26 -33
  930. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
  931. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts +43 -42
  932. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
  933. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js +97 -89
  934. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
  935. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.d.ts +93 -93
  936. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js +334 -333
  937. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
  938. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.d.ts +10 -10
  939. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AddNewFolder.js +15 -15
  940. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.d.ts +56 -56
  941. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js +175 -175
  942. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppActionsMenu.js.map +1 -1
  943. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts +33 -33
  944. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
  945. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js +53 -53
  946. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
  947. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.d.ts +16 -16
  948. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js +43 -43
  949. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
  950. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts +38 -38
  951. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.d.ts.map +1 -1
  952. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js +172 -171
  953. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/Content.js.map +1 -1
  954. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.d.ts +20 -20
  955. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js +52 -52
  956. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FilterSort.js.map +1 -1
  957. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts +59 -59
  958. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.d.ts.map +1 -1
  959. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js +308 -295
  960. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/FoldersList.js.map +1 -1
  961. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -25
  962. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js +103 -103
  963. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  964. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
  965. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/NoAppsFound.js +9 -9
  966. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.d.ts +18 -18
  967. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SearchBox.js +51 -51
  968. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.d.ts +13 -13
  969. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/SortBy.js +34 -34
  970. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.d.ts +19 -19
  971. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/TagsList.js +38 -38
  972. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +8 -8
  973. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +1 -1
  974. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js +26 -26
  975. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
  976. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.d.ts +8 -8
  977. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/AppDirectory.js +10 -10
  978. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts +55 -55
  979. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.d.ts.map +1 -1
  980. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js +145 -145
  981. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/modules/FDC3.js.map +1 -1
  982. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.d.ts +5 -5
  983. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js +21 -21
  984. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/LauncherStore.js.map +1 -1
  985. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts +96 -96
  986. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.d.ts.map +1 -1
  987. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js +548 -546
  988. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/stores/StoreActions.js.map +1 -1
  989. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.d.ts +18 -18
  990. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js +55 -55
  991. package/react/components/toolbar/advancedAppLauncher/finsembleAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
  992. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts +16 -16
  993. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.d.ts.map +1 -1
  994. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js +279 -240
  995. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
  996. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.d.ts +96 -96
  997. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js +329 -328
  998. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AddNewAppForm.js.map +1 -1
  999. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts +40 -40
  1000. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.d.ts.map +1 -1
  1001. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js +61 -61
  1002. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppDefinition.js.map +1 -1
  1003. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.d.ts +17 -17
  1004. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js +42 -42
  1005. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/AppTagsList.js.map +1 -1
  1006. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts +18 -18
  1007. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.d.ts.map +1 -1
  1008. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js +114 -114
  1009. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/Content.js.map +1 -1
  1010. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.d.ts +62 -62
  1011. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js +260 -271
  1012. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/FoldersList.js.map +1 -1
  1013. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts +9 -9
  1014. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
  1015. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js +36 -37
  1016. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  1017. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.d.ts +11 -11
  1018. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/NoAppsFound.js +9 -9
  1019. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.d.ts +12 -12
  1020. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SearchBox.js +23 -23
  1021. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.d.ts +12 -12
  1022. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js +16 -16
  1023. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/SortBy.js.map +1 -1
  1024. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.d.ts +11 -11
  1025. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/components/TagsList.js +15 -15
  1026. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.d.ts +4 -4
  1027. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/constants.js +4 -4
  1028. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts +26 -26
  1029. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.d.ts.map +1 -1
  1030. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js +44 -42
  1031. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/initializeStore.js.map +1 -1
  1032. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts +19 -19
  1033. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.d.ts.map +1 -1
  1034. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/types.js +1 -1
  1035. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.d.ts +16 -16
  1036. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js +46 -46
  1037. package/react/components/toolbar/advancedAppLauncher/iocdAdvancedAppLauncher/utils/sort-functions.js.map +1 -1
  1038. package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -28
  1039. package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +1 -1
  1040. package/react/components/toolbar/appLauncher/AppLauncherMenu.js +48 -48
  1041. package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
  1042. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +29 -29
  1043. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +1 -1
  1044. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +54 -48
  1045. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
  1046. package/react/components/toolbar/appLauncher/appLauncher.css +0 -6
  1047. package/react/components/toolbar/appLauncher/components/componentList.d.ts +14 -7
  1048. package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +1 -1
  1049. package/react/components/toolbar/appLauncher/components/componentList.js +133 -133
  1050. package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
  1051. package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -44
  1052. package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +1 -1
  1053. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +274 -259
  1054. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
  1055. package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +4 -4
  1056. package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +1 -1
  1057. package/react/components/toolbar/bloomberg/BloombergStatus.js +109 -109
  1058. package/react/components/toolbar/bloomberg/BloombergStatus.js.map +1 -1
  1059. package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -4
  1060. package/react/components/toolbar/dashbar/Dashbar.d.ts.map +1 -1
  1061. package/react/components/toolbar/dashbar/Dashbar.js +441 -449
  1062. package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
  1063. package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -17
  1064. package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +1 -1
  1065. package/react/components/toolbar/dashbar/DashbarItem.js +58 -58
  1066. package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
  1067. package/react/components/toolbar/index.d.ts +18 -18
  1068. package/react/components/toolbar/index.js +18 -18
  1069. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +21 -21
  1070. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +1 -1
  1071. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +62 -56
  1072. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
  1073. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +23 -23
  1074. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +1 -1
  1075. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +76 -76
  1076. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
  1077. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +8 -3
  1078. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +1 -1
  1079. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +50 -50
  1080. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +14 -9
  1081. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +1 -1
  1082. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +24 -24
  1083. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +136 -136
  1084. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +1 -1
  1085. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +684 -684
  1086. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
  1087. package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +14 -15
  1088. package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +1 -1
  1089. package/react/components/userPreferences/NotificationsPreferencesContext.js +6 -6
  1090. package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -9
  1091. package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +1 -1
  1092. package/react/components/userPreferences/UserPreferenceTypes.js +1 -1
  1093. package/react/components/userPreferences/UserPreferences.d.ts +20 -16
  1094. package/react/components/userPreferences/UserPreferences.d.ts.map +1 -1
  1095. package/react/components/userPreferences/UserPreferences.js +27 -24
  1096. package/react/components/userPreferences/UserPreferences.js.map +1 -1
  1097. package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -11
  1098. package/react/components/userPreferences/UserPreferencesBase.d.ts.map +1 -1
  1099. package/react/components/userPreferences/UserPreferencesBase.js +101 -101
  1100. package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
  1101. package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -4
  1102. package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +1 -1
  1103. package/react/components/userPreferences/UserPreferencesWrapper.js +32 -28
  1104. package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
  1105. package/react/components/userPreferences/components/ContentSection.d.ts +23 -12
  1106. package/react/components/userPreferences/components/ContentSection.d.ts.map +1 -1
  1107. package/react/components/userPreferences/components/ContentSection.js +21 -21
  1108. package/react/components/userPreferences/components/ContentSection.js.map +1 -1
  1109. package/react/components/userPreferences/components/LeftNav.d.ts +14 -14
  1110. package/react/components/userPreferences/components/LeftNav.d.ts.map +1 -1
  1111. package/react/components/userPreferences/components/LeftNav.js +31 -31
  1112. package/react/components/userPreferences/components/LeftNav.js.map +1 -1
  1113. package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +3 -3
  1114. package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +1 -1
  1115. package/react/components/userPreferences/components/content/BloombergPreferences.js +58 -58
  1116. package/react/components/userPreferences/components/content/BloombergPreferences.js.map +1 -1
  1117. package/react/components/userPreferences/components/content/DashbarEditor.d.ts +8 -8
  1118. package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +1 -1
  1119. package/react/components/userPreferences/components/content/DashbarEditor.js +129 -129
  1120. package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
  1121. package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -10
  1122. package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +1 -1
  1123. package/react/components/userPreferences/components/content/DashbarEditorItem.js +10 -10
  1124. package/react/components/userPreferences/components/content/General.d.ts +3 -4
  1125. package/react/components/userPreferences/components/content/General.d.ts.map +1 -1
  1126. package/react/components/userPreferences/components/content/General.js +48 -29
  1127. package/react/components/userPreferences/components/content/General.js.map +1 -1
  1128. package/react/components/userPreferences/components/content/Notifications.d.ts +11 -11
  1129. package/react/components/userPreferences/components/content/Notifications.d.ts.map +1 -1
  1130. package/react/components/userPreferences/components/content/Notifications.js +39 -35
  1131. package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
  1132. package/react/components/userPreferences/components/content/Workspaces.d.ts +88 -88
  1133. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  1134. package/react/components/userPreferences/components/content/Workspaces.js +546 -529
  1135. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  1136. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -3
  1137. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +1 -1
  1138. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +220 -211
  1139. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
  1140. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -3
  1141. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
  1142. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -134
  1143. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  1144. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +3 -3
  1145. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
  1146. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -79
  1147. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  1148. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +4 -4
  1149. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +1 -1
  1150. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +39 -39
  1151. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
  1152. package/react/components/userPreferences/components/general/DownloadPreferences.d.ts +9 -9
  1153. package/react/components/userPreferences/components/general/DownloadPreferences.d.ts.map +1 -1
  1154. package/react/components/userPreferences/components/general/DownloadPreferences.js +119 -111
  1155. package/react/components/userPreferences/components/general/DownloadPreferences.js.map +1 -1
  1156. package/react/components/userPreferences/components/general/ResetPreferences.d.ts +3 -4
  1157. package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +1 -1
  1158. package/react/components/userPreferences/components/general/ResetPreferences.js +42 -36
  1159. package/react/components/userPreferences/components/general/ResetPreferences.js.map +1 -1
  1160. package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -10
  1161. package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +1 -1
  1162. package/react/components/userPreferences/components/general/ScheduledClose.js +133 -76
  1163. package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
  1164. package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -8
  1165. package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +1 -1
  1166. package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +8 -8
  1167. package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
  1168. package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -6
  1169. package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +1 -1
  1170. package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +10 -10
  1171. package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +36 -35
  1172. package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +1 -1
  1173. package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +85 -86
  1174. package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
  1175. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -8
  1176. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +1 -1
  1177. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +6 -20
  1178. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
  1179. package/react/components/userPreferences/index.d.ts +6 -6
  1180. package/react/components/userPreferences/index.js +6 -6
  1181. package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +39 -39
  1182. package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -140
  1183. package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
  1184. package/react/components/utils.d.ts +49 -49
  1185. package/react/components/utils.d.ts.map +1 -1
  1186. package/react/components/utils.js +59 -59
  1187. package/react/components/utils.js.map +1 -1
  1188. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +8 -8
  1189. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -1
  1190. package/react/components/windowTitleBar/AlwaysOnTopButton.js +28 -28
  1191. package/react/components/windowTitleBar/CloneButton.d.ts +2 -2
  1192. package/react/components/windowTitleBar/CloneButton.d.ts.map +1 -1
  1193. package/react/components/windowTitleBar/CloneButton.js +22 -22
  1194. package/react/components/windowTitleBar/CloneButton.js.map +1 -1
  1195. package/react/components/windowTitleBar/CloseButton.d.ts +2 -2
  1196. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -1
  1197. package/react/components/windowTitleBar/CloseButton.js +21 -21
  1198. package/react/components/windowTitleBar/CloseButton.js.map +1 -1
  1199. package/react/components/windowTitleBar/GroupingButton.d.ts +2 -2
  1200. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -1
  1201. package/react/components/windowTitleBar/GroupingButton.js +24 -24
  1202. package/react/components/windowTitleBar/LinkerButton.d.ts +10 -6
  1203. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -1
  1204. package/react/components/windowTitleBar/LinkerButton.js +116 -116
  1205. package/react/components/windowTitleBar/LinkerButton.js.map +1 -1
  1206. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +10 -6
  1207. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -1
  1208. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +62 -62
  1209. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -1
  1210. package/react/components/windowTitleBar/LinkerGroups.d.ts +6 -2
  1211. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -1
  1212. package/react/components/windowTitleBar/LinkerGroups.js +20 -20
  1213. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +6 -2
  1214. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -1
  1215. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +34 -34
  1216. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -1
  1217. package/react/components/windowTitleBar/MaximizeButton.d.ts +2 -2
  1218. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -1
  1219. package/react/components/windowTitleBar/MaximizeButton.js +17 -17
  1220. package/react/components/windowTitleBar/MinimizeButton.d.ts +2 -2
  1221. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -1
  1222. package/react/components/windowTitleBar/MinimizeButton.js +20 -20
  1223. package/react/components/windowTitleBar/ShareButton.d.ts +2 -2
  1224. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -1
  1225. package/react/components/windowTitleBar/ShareButton.js +23 -23
  1226. package/react/components/windowTitleBar/TabRegion.d.ts +30 -30
  1227. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -1
  1228. package/react/components/windowTitleBar/TabRegion.js +502 -490
  1229. package/react/components/windowTitleBar/TabRegion.js.map +1 -1
  1230. package/react/components/windowTitleBar/TabTitle.d.ts +7 -7
  1231. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -1
  1232. package/react/components/windowTitleBar/TabTitle.js +16 -16
  1233. package/react/components/windowTitleBar/TabTitle.js.map +1 -1
  1234. package/react/components/windowTitleBar/TitleEdit.d.ts +9 -9
  1235. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -1
  1236. package/react/components/windowTitleBar/TitleEdit.js +30 -29
  1237. package/react/components/windowTitleBar/TitleEdit.js.map +1 -1
  1238. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +10 -11
  1239. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -1
  1240. package/react/components/windowTitleBar/WindowTitleBarContext.js +2 -2
  1241. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +16 -16
  1242. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  1243. package/react/components/windowTitleBar/WindowTitleBarShell.js +46 -45
  1244. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  1245. package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +9 -9
  1246. package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +22 -22
  1247. package/react/components/windowTitleBar/index.d.ts +12 -12
  1248. package/react/components/windowTitleBar/index.js +12 -12
  1249. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +6 -6
  1250. package/react/components/windowTitleBar/useKeyboardNavigation.js +56 -56
  1251. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -1
  1252. package/react/components/windowTitleBar/useMaximize.d.ts +4 -4
  1253. package/react/components/windowTitleBar/useMaximize.js +22 -22
  1254. package/react/components/yesNoDialog/YesNoDialog.d.ts +11 -7
  1255. package/react/components/yesNoDialog/YesNoDialog.d.ts.map +1 -1
  1256. package/react/components/yesNoDialog/YesNoDialog.js +154 -154
  1257. package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
  1258. package/react/components/yesNoDialog/index.d.ts +1 -1
  1259. package/react/components/yesNoDialog/index.js +1 -1
  1260. package/react/components/yesNoDialog/timer.d.ts +15 -16
  1261. package/react/components/yesNoDialog/timer.d.ts.map +1 -1
  1262. package/react/components/yesNoDialog/timer.js +32 -32
  1263. package/react/components/yesNoDialog/timer.js.map +1 -1
  1264. package/react/hooks/index.d.ts +4 -4
  1265. package/react/hooks/index.js +4 -4
  1266. package/react/hooks/useAuth.d.ts +10 -10
  1267. package/react/hooks/useAuth.d.ts.map +1 -1
  1268. package/react/hooks/useAuth.js +26 -26
  1269. package/react/hooks/useDashbar.d.ts +8 -8
  1270. package/react/hooks/useDashbar.d.ts.map +1 -1
  1271. package/react/hooks/useDashbar.js +115 -115
  1272. package/react/hooks/useDashbar.js.map +1 -1
  1273. package/react/hooks/useDeepEffect.d.ts +5 -5
  1274. package/react/hooks/useDeepEffect.js +33 -33
  1275. package/react/hooks/useDeepEffect.js.map +1 -1
  1276. package/react/hooks/useDownloadItems.d.ts +23 -23
  1277. package/react/hooks/useDownloadItems.d.ts.map +1 -1
  1278. package/react/hooks/useDownloadItems.js +67 -67
  1279. package/react/hooks/useDownloadItems.js.map +1 -1
  1280. package/react/hooks/useDragRegion.d.ts +25 -26
  1281. package/react/hooks/useDragRegion.d.ts.map +1 -1
  1282. package/react/hooks/useDragRegion.js +73 -73
  1283. package/react/hooks/useDragRegion.js.map +1 -1
  1284. package/react/hooks/useFavorites.d.ts +24 -24
  1285. package/react/hooks/useFavorites.d.ts.map +1 -1
  1286. package/react/hooks/useFavorites.js +23 -23
  1287. package/react/hooks/useFavoritesShell.d.ts +14 -14
  1288. package/react/hooks/useFavoritesShell.d.ts.map +1 -1
  1289. package/react/hooks/useFavoritesShell.js +76 -83
  1290. package/react/hooks/useFavoritesShell.js.map +1 -1
  1291. package/react/hooks/useFloatingFocus.d.ts +15 -15
  1292. package/react/hooks/useFloatingFocus.d.ts.map +1 -1
  1293. package/react/hooks/useFloatingFocus.js +36 -35
  1294. package/react/hooks/useFloatingFocus.js.map +1 -1
  1295. package/react/hooks/useHotkey.d.ts +8 -8
  1296. package/react/hooks/useHotkey.js +24 -24
  1297. package/react/hooks/useInjectedTitleBar.d.ts +2 -2
  1298. package/react/hooks/useInjectedTitleBar.js +436 -436
  1299. package/react/hooks/useInjectedTitleBar.js.map +1 -1
  1300. package/react/hooks/useLinker.d.ts +4 -4
  1301. package/react/hooks/useLinker.js +111 -111
  1302. package/react/hooks/useLinker.js.map +1 -1
  1303. package/react/hooks/useMenu.d.ts +39 -39
  1304. package/react/hooks/useMenu.d.ts.map +1 -1
  1305. package/react/hooks/useMenu.js +51 -51
  1306. package/react/hooks/useNotifications.d.ts +76 -76
  1307. package/react/hooks/useNotifications.d.ts.map +1 -1
  1308. package/react/hooks/useNotifications.js +457 -434
  1309. package/react/hooks/useNotifications.js.map +1 -1
  1310. package/react/hooks/useOAuth.d.ts +16 -16
  1311. package/react/hooks/useOAuth.d.ts.map +1 -1
  1312. package/react/hooks/useOAuth.js +115 -115
  1313. package/react/hooks/useOAuth.js.map +1 -1
  1314. package/react/hooks/useOutsideClickDetector.d.ts +5 -5
  1315. package/react/hooks/useOutsideClickDetector.d.ts.map +1 -1
  1316. package/react/hooks/useOutsideClickDetector.js +17 -17
  1317. package/react/hooks/useOutsideClickDetector.js.map +1 -1
  1318. package/react/hooks/usePubSub.d.ts +21 -21
  1319. package/react/hooks/usePubSub.js +38 -38
  1320. package/react/hooks/usePubSub.js.map +1 -1
  1321. package/react/hooks/useSearch.d.ts +14 -14
  1322. package/react/hooks/useSearch.d.ts.map +1 -1
  1323. package/react/hooks/useSearch.js +76 -72
  1324. package/react/hooks/useSearch.js.map +1 -1
  1325. package/react/hooks/useTitle.d.ts +17 -17
  1326. package/react/hooks/useTitle.d.ts.map +1 -1
  1327. package/react/hooks/useTitle.js +28 -28
  1328. package/react/hooks/useTitle.js.map +1 -1
  1329. package/react/hooks/useToolbar.d.ts +11 -11
  1330. package/react/hooks/useToolbar.js +162 -162
  1331. package/react/hooks/useToolbar.js.map +1 -1
  1332. package/react/index.d.ts +2 -2
  1333. package/react/index.js +2 -2
  1334. package/react/reducers/favoriteReducer.d.ts +11 -11
  1335. package/react/reducers/favoriteReducer.d.ts.map +1 -1
  1336. package/react/reducers/favoriteReducer.js +27 -27
  1337. package/react/reducers/linkerReducer.d.ts +13 -13
  1338. package/react/reducers/linkerReducer.d.ts.map +1 -1
  1339. package/react/reducers/linkerReducer.js +43 -43
  1340. package/react/reducers/linkerReducer.js.map +1 -1
  1341. package/react/reducers/menuReducer.d.ts +36 -36
  1342. package/react/reducers/menuReducer.d.ts.map +1 -1
  1343. package/react/reducers/menuReducer.js +65 -65
  1344. package/react/reducers/rootReducer.d.ts +239 -239
  1345. package/react/reducers/rootReducer.d.ts.map +1 -1
  1346. package/react/reducers/rootReducer.js +20 -20
  1347. package/react/reducers/searchReducer.d.ts +15 -15
  1348. package/react/reducers/searchReducer.d.ts.map +1 -1
  1349. package/react/reducers/searchReducer.js +27 -27
  1350. package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -5
  1351. package/react/reducers/smartDesktopDesignerReducer.js +190 -190
  1352. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  1353. package/react/reducers/toolbarReducer.d.ts +10 -10
  1354. package/react/reducers/toolbarReducer.d.ts.map +1 -1
  1355. package/react/reducers/toolbarReducer.js +29 -29
  1356. package/react/reducers/workspaceReducer.d.ts +10 -10
  1357. package/react/reducers/workspaceReducer.d.ts.map +1 -1
  1358. package/react/reducers/workspaceReducer.js +26 -26
  1359. package/react/reducers/workspaceReducer.js.map +1 -1
  1360. package/react/store.d.ts +450 -450
  1361. package/react/store.d.ts.map +1 -1
  1362. package/react/store.js +17 -17
  1363. package/react/types/advancedAppLauncherTypes.d.ts +44 -44
  1364. package/react/types/advancedAppLauncherTypes.d.ts.map +1 -1
  1365. package/react/types/advancedAppLauncherTypes.js +1 -1
  1366. package/react/types/dashbarTypes.d.ts +44 -41
  1367. package/react/types/dashbarTypes.d.ts.map +1 -1
  1368. package/react/types/dashbarTypes.js +1 -1
  1369. package/react/types/favoriteTypes.d.ts +8 -8
  1370. package/react/types/favoriteTypes.d.ts.map +1 -1
  1371. package/react/types/favoriteTypes.js +1 -1
  1372. package/react/types/fdc3.d.ts +27 -29
  1373. package/react/types/fdc3.d.ts.map +1 -1
  1374. package/react/types/fdc3.js +6 -6
  1375. package/react/types/hotkeyTypes.d.ts +1 -1
  1376. package/react/types/hotkeyTypes.d.ts.map +1 -1
  1377. package/react/types/hotkeyTypes.js +1 -1
  1378. package/react/types/linkerTypes.d.ts +27 -27
  1379. package/react/types/linkerTypes.d.ts.map +1 -1
  1380. package/react/types/linkerTypes.js +2 -2
  1381. package/react/types/smartDesktopDesignerTypes.d.ts +227 -227
  1382. package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
  1383. package/react/types/smartDesktopDesignerTypes.js +19 -19
  1384. package/react/types/workspaceTypes.d.ts +30 -30
  1385. package/react/types/workspaceTypes.d.ts.map +1 -1
  1386. package/react/types/workspaceTypes.js +1 -1
  1387. package/services/index.d.ts +6 -0
  1388. package/services/index.d.ts.map +1 -0
  1389. package/services/index.js +6 -0
  1390. package/services/index.js.map +1 -0
  1391. package/services/logger/types.d.ts +2 -0
  1392. package/services/logger/types.d.ts.map +1 -0
  1393. package/services/logger/types.js +2 -0
  1394. package/services/logger/types.js.map +1 -0
  1395. package/services/search/types.d.ts +2 -0
  1396. package/services/search/types.d.ts.map +1 -0
  1397. package/services/search/types.js +2 -0
  1398. package/services/search/types.js.map +1 -0
  1399. package/services/storage/adapters/types.d.ts +2 -0
  1400. package/services/storage/adapters/types.d.ts.map +1 -0
  1401. package/services/storage/adapters/types.js +2 -0
  1402. package/services/storage/adapters/types.js.map +1 -0
  1403. package/services/window/types.d.ts +2 -0
  1404. package/services/window/types.d.ts.map +1 -0
  1405. package/services/window/types.js +2 -0
  1406. package/services/window/types.js.map +1 -0
  1407. package/services/workspace/types.d.ts +2 -0
  1408. package/services/workspace/types.d.ts.map +1 -0
  1409. package/services/workspace/types.js +2 -0
  1410. package/services/workspace/types.js.map +1 -0
  1411. package/typedoc-types.d.ts +8 -8
  1412. package/typedoc-types.d.ts.map +1 -1
  1413. package/typedoc-types.js +5 -5
  1414. package/types.d.ts +15 -16
  1415. package/types.d.ts.map +1 -1
  1416. package/types.js +4 -7
  1417. package/types.js.map +1 -1
  1418. package/react/components/userPreferences/FinsembleUserPreferences.d.ts +0 -17
  1419. package/react/components/userPreferences/FinsembleUserPreferences.d.ts.map +0 -1
  1420. package/react/components/userPreferences/FinsembleUserPreferences.js +0 -28
  1421. package/react/components/userPreferences/FinsembleUserPreferences.js.map +0 -1
  1422. package/react/components/userPreferences/iocdUserPreferences.d.ts +0 -17
  1423. package/react/components/userPreferences/iocdUserPreferences.d.ts.map +0 -1
  1424. package/react/components/userPreferences/iocdUserPreferences.js +0 -49
  1425. package/react/components/userPreferences/iocdUserPreferences.js.map +0 -1
  1426. package/react/components/userPreferences/utils.d.ts +0 -3
  1427. package/react/components/userPreferences/utils.d.ts.map +0 -1
  1428. package/react/components/userPreferences/utils.js +0 -11
  1429. package/react/components/userPreferences/utils.js.map +0 -1
  1430. package/typedefs/FDC3/api/AppIdentifier.d.ts +0 -22
  1431. package/typedefs/FDC3/api/AppIdentifier.d.ts.map +0 -1
  1432. package/typedefs/FDC3/api/AppIdentifier.js +0 -6
  1433. package/typedefs/FDC3/api/AppIdentifier.js.map +0 -1
  1434. package/typedefs/FDC3/api/AppIntent.d.ts +0 -16
  1435. package/typedefs/FDC3/api/AppIntent.d.ts.map +0 -1
  1436. package/typedefs/FDC3/api/AppIntent.js +0 -6
  1437. package/typedefs/FDC3/api/AppIntent.js.map +0 -1
  1438. package/typedefs/FDC3/api/AppMetadata.d.ts +0 -41
  1439. package/typedefs/FDC3/api/AppMetadata.d.ts.map +0 -1
  1440. package/typedefs/FDC3/api/AppMetadata.js +0 -6
  1441. package/typedefs/FDC3/api/AppMetadata.js.map +0 -1
  1442. package/typedefs/FDC3/api/Channel.d.ts +0 -73
  1443. package/typedefs/FDC3/api/Channel.d.ts.map +0 -1
  1444. package/typedefs/FDC3/api/Channel.js +0 -6
  1445. package/typedefs/FDC3/api/Channel.js.map +0 -1
  1446. package/typedefs/FDC3/api/ContextMetadata.d.ts +0 -19
  1447. package/typedefs/FDC3/api/ContextMetadata.d.ts.map +0 -1
  1448. package/typedefs/FDC3/api/ContextMetadata.js +0 -6
  1449. package/typedefs/FDC3/api/ContextMetadata.js.map +0 -1
  1450. package/typedefs/FDC3/api/DesktopAgent.d.ts +0 -549
  1451. package/typedefs/FDC3/api/DesktopAgent.d.ts.map +0 -1
  1452. package/typedefs/FDC3/api/DesktopAgent.js +0 -6
  1453. package/typedefs/FDC3/api/DesktopAgent.js.map +0 -1
  1454. package/typedefs/FDC3/api/DisplayMetadata.d.ts +0 -24
  1455. package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +0 -1
  1456. package/typedefs/FDC3/api/DisplayMetadata.js +0 -6
  1457. package/typedefs/FDC3/api/DisplayMetadata.js.map +0 -1
  1458. package/typedefs/FDC3/api/Errors.d.ts +0 -67
  1459. package/typedefs/FDC3/api/Errors.d.ts.map +0 -1
  1460. package/typedefs/FDC3/api/Errors.js +0 -72
  1461. package/typedefs/FDC3/api/Errors.js.map +0 -1
  1462. package/typedefs/FDC3/api/Icon.d.ts +0 -13
  1463. package/typedefs/FDC3/api/Icon.d.ts.map +0 -1
  1464. package/typedefs/FDC3/api/Icon.js +0 -6
  1465. package/typedefs/FDC3/api/Icon.js.map +0 -1
  1466. package/typedefs/FDC3/api/Image.d.ts +0 -15
  1467. package/typedefs/FDC3/api/Image.d.ts.map +0 -1
  1468. package/typedefs/FDC3/api/Image.js +0 -6
  1469. package/typedefs/FDC3/api/Image.js.map +0 -1
  1470. package/typedefs/FDC3/api/ImplementationMetadata.d.ts +0 -36
  1471. package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +0 -1
  1472. package/typedefs/FDC3/api/ImplementationMetadata.js +0 -6
  1473. package/typedefs/FDC3/api/ImplementationMetadata.js.map +0 -1
  1474. package/typedefs/FDC3/api/IntentMetadata.d.ts +0 -18
  1475. package/typedefs/FDC3/api/IntentMetadata.d.ts.map +0 -1
  1476. package/typedefs/FDC3/api/IntentMetadata.js +0 -6
  1477. package/typedefs/FDC3/api/IntentMetadata.js.map +0 -1
  1478. package/typedefs/FDC3/api/IntentResolution.d.ts +0 -68
  1479. package/typedefs/FDC3/api/IntentResolution.d.ts.map +0 -1
  1480. package/typedefs/FDC3/api/IntentResolution.js +0 -6
  1481. package/typedefs/FDC3/api/IntentResolution.js.map +0 -1
  1482. package/typedefs/FDC3/api/Listener.d.ts +0 -11
  1483. package/typedefs/FDC3/api/Listener.d.ts.map +0 -1
  1484. package/typedefs/FDC3/api/Listener.js +0 -6
  1485. package/typedefs/FDC3/api/Listener.js.map +0 -1
  1486. package/typedefs/FDC3/api/Methods.d.ts +0 -72
  1487. package/typedefs/FDC3/api/Methods.d.ts.map +0 -1
  1488. package/typedefs/FDC3/api/Methods.js +0 -199
  1489. package/typedefs/FDC3/api/Methods.js.map +0 -1
  1490. package/typedefs/FDC3/api/PrivateChannel.d.ts +0 -54
  1491. package/typedefs/FDC3/api/PrivateChannel.d.ts.map +0 -1
  1492. package/typedefs/FDC3/api/PrivateChannel.js +0 -6
  1493. package/typedefs/FDC3/api/PrivateChannel.js.map +0 -1
  1494. package/typedefs/FDC3/api/RecommendedChannels.d.ts +0 -14
  1495. package/typedefs/FDC3/api/RecommendedChannels.d.ts.map +0 -1
  1496. package/typedefs/FDC3/api/RecommendedChannels.js +0 -80
  1497. package/typedefs/FDC3/api/RecommendedChannels.js.map +0 -1
  1498. package/typedefs/FDC3/api/Types.d.ts +0 -30
  1499. package/typedefs/FDC3/api/Types.d.ts.map +0 -1
  1500. package/typedefs/FDC3/api/Types.js +0 -6
  1501. package/typedefs/FDC3/api/Types.js.map +0 -1
  1502. package/typedefs/FDC3/bridging/BridgingTypes.d.ts +0 -3967
  1503. package/typedefs/FDC3/bridging/BridgingTypes.d.ts.map +0 -1
  1504. package/typedefs/FDC3/bridging/BridgingTypes.js +0 -1857
  1505. package/typedefs/FDC3/bridging/BridgingTypes.js.map +0 -1
  1506. package/typedefs/FDC3/context/ContextType.d.ts +0 -41
  1507. package/typedefs/FDC3/context/ContextType.d.ts.map +0 -1
  1508. package/typedefs/FDC3/context/ContextType.js +0 -30
  1509. package/typedefs/FDC3/context/ContextType.js.map +0 -1
  1510. package/typedefs/FDC3/context/ContextTypes.d.ts +0 -2000
  1511. package/typedefs/FDC3/context/ContextTypes.d.ts.map +0 -1
  1512. package/typedefs/FDC3/context/ContextTypes.js +0 -873
  1513. package/typedefs/FDC3/context/ContextTypes.js.map +0 -1
  1514. package/typedefs/FDC3/index.d.ts +0 -34
  1515. package/typedefs/FDC3/index.d.ts.map +0 -1
  1516. package/typedefs/FDC3/index.js +0 -30
  1517. package/typedefs/FDC3/index.js.map +0 -1
  1518. package/typedefs/FDC3/intents/Intents.d.ts +0 -36
  1519. package/typedefs/FDC3/intents/Intents.d.ts.map +0 -1
  1520. package/typedefs/FDC3/intents/Intents.js +0 -29
  1521. package/typedefs/FDC3/intents/Intents.js.map +0 -1
  1522. package/typedefs/FDC3/internal/contextConfiguration.d.ts +0 -2
  1523. package/typedefs/FDC3/internal/contextConfiguration.d.ts.map +0 -1
  1524. package/typedefs/FDC3/internal/contextConfiguration.js +0 -5
  1525. package/typedefs/FDC3/internal/contextConfiguration.js.map +0 -1
  1526. package/typedefs/FDC3/internal/intentConfiguration.d.ts +0 -2
  1527. package/typedefs/FDC3/internal/intentConfiguration.d.ts.map +0 -1
  1528. package/typedefs/FDC3/internal/intentConfiguration.js +0 -5
  1529. package/typedefs/FDC3/internal/intentConfiguration.js.map +0 -1
  1530. package/typedefs/FDC3/internal/typeHelpers.d.ts +0 -7
  1531. package/typedefs/FDC3/internal/typeHelpers.d.ts.map +0 -1
  1532. package/typedefs/FDC3/internal/typeHelpers.js +0 -5
  1533. package/typedefs/FDC3/internal/typeHelpers.js.map +0 -1
  1534. package/typedefs/index.d.ts +0 -2
  1535. package/typedefs/index.d.ts.map +0 -1
  1536. package/typedefs/index.js +0 -3
  1537. package/typedefs/index.js.map +0 -1
@@ -1,893 +1,893 @@
1
- /*!
2
- * Copyright 2017 - 2020 by ChartIQ, Inc.
3
- * All rights reserved.
4
- */
5
- /**
6
- * <h2>Deprecated: Linker Client (Finsemble Workspaces)</h2>
7
- *
8
- * The Linker API has been DEPRECATED. Please use <a href="/docs/connect-apps/interop/">FDC3 interop</a> which provides an industry standard API for exchanging
9
- * context between apps, including channel linking.
10
- *
11
- * The Linker API allows components to synchronize on a piece of data. For instance, an end user can use the Linker to link multiple components by stock symbol.
12
- * Use the Linker API to enable your components to participate in this synchronization.
13
- *
14
- * In order for components to be linked, the components must understand the data format that will be passed between them (the "context"), and agree on a label that identifies that format (the <code>dataType</code>).
15
- * For instance, components might choose to publish and subscribe to a `dataType` called "symbol".
16
- * They would then also need to agree what a "symbol" looks like, for instance, `{symbol: "IBM"}`.
17
- * The Linker API doesn't proscribe any specific format for context or set of labels.
18
- *
19
- * Behind the scenes, the Linker Service coordinates Linker activity between components. It keeps track of the available channels and channel assignments.
20
- * It uses a dedicated store (<a href="/docs/productivity/API-tutorials-and-refs/storage/DistributedStore">the Distributed Store</a>) to maintain this information and also persists the information to workspaces (<a href="/docs/reference/typedocs/modules/WorkspaceClient">Workspace Client</a>).
21
- *
22
- * The Linker Client frequently uses the parameters <code>windowIdentifier</code> and <code>componentType</code>. <a href="/docs/productivity/componentTypesAndWindowNames">Learn more about them here</a>.
23
- *
24
- * For more information, see the <a href="/docs/deprecated/Linking">Linking tutorial</a>.
25
- *
26
- * @module LinkerClient
27
- */
28
- import WindowClient from "../clients/windowClient";
29
- import DistributedStoreClient from "../clients/distributedStoreClient";
30
- import Logger from "../clients/logger";
31
- import deepEqual from "lodash/isEqual";
32
- import { bringWindowsToFront } from "../common/Desktop";
33
- import { hyperFocus } from "./deprecatedlauncherClient";
34
- import { RouterClient } from "../clients/routerClient";
35
- import SystemManagerClient from "../common/systemManagerClient";
36
- Logger.system.debug("Starting LinkerClient");
37
- const sysinfo = Logger.system.info;
38
- const sysdebug = Logger.system.debug;
39
- function makeKey(windowIdentifier) {
40
- return windowIdentifier.windowName.replace(/\./g, "_");
41
- }
42
- /**
43
- * A convenience function to send data to a callback and also return it
44
- * @private
45
- */
46
- function asyncIt(data, cb) {
47
- if (cb)
48
- cb(null, data);
49
- return data;
50
- }
51
- /**
52
- * @phantom Don't display in Typedoc
53
- */
54
- export class LinkerClient {
55
- constructor() {
56
- this.stateChangeListeners = [];
57
- // Linker Data
58
- this.allChannels = [];
59
- this.channels = {};
60
- this.clients = {};
61
- this.channelListenerList = [];
62
- // Used to keep track of each router listener that is enabled
63
- this.dataListenerList = {};
64
- /**
65
- * Handles listeners (looks to see if there is a listener for a specific data type)
66
- * @private
67
- */
68
- this.handleListeners = (err, data) => {
69
- // Need to do this better. Get newest items so we don't create it every time
70
- const listeners = this.dataListenerList[data.data.type];
71
- if (listeners && listeners.length > 0) {
72
- for (let i = 0; i < listeners.length; i++) {
73
- listeners[i](data.data.data, {
74
- data: data.data.data,
75
- header: data.header,
76
- originatedHere: data.originatedHere,
77
- });
78
- }
79
- }
80
- };
81
- /**
82
- * @private
83
- */
84
- this.onClose = (cb) => {
85
- var _a, _b;
86
- const wi = WindowClient.getWindowIdentifier();
87
- const key = makeKey(wi);
88
- if (this.clients[key]) {
89
- this.clients[key] = null;
90
- this.updateClientInStore(key);
91
- }
92
- (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.removeListener({ field: `clients.${key}` }, this.clientsKeyValueChangeStoreListener, (err, success) => {
93
- if (!success) {
94
- Logger.system.warn("Linker Client Onclose: clientsKeyValueChangeStoreListener removeListener failed", key);
95
- }
96
- });
97
- (_b = this.linkerStore) === null || _b === void 0 ? void 0 : _b.removeListener({ field: '' }, this.anyFieldChangeStoreListener, (err, success) => {
98
- if (!success) {
99
- Logger.system.warn("Linker Client Onclose: anyFieldChangeStoreListener removeListener failed");
100
- }
101
- });
102
- Logger.system.debug("LINKER-4 cleanup", key);
103
- cb && cb();
104
- };
105
- /*
106
- * Start backward compatibility
107
- * @private
108
- */
109
- this.groups = this.channels;
110
- this.allGroups = this.allChannels;
111
- this.onLinksUpdate = {
112
- push: (cb) => {
113
- this.stateChangeListeners.push((err, response) => {
114
- if (response) {
115
- response.groups = response.channels;
116
- }
117
- cb(err, { groups: response });
118
- });
119
- },
120
- };
121
- this.linkerWindow = null;
122
- this.loading = false;
123
- this.clientsKeyValueChangeStoreListener = this.clientsKeyValueChangeStoreListener.bind(this);
124
- this.anyFieldChangeStoreListener = this.anyFieldChangeStoreListener.bind(this);
125
- }
126
- /**
127
- * 1/24/19 this is Brad guessing. This function has never existed. This is the first commit where 'getChannel' is referenced...but not defined.
128
- *
129
- * https://github.com/ChartIQ/finsemble/blob/ad25aa219c5fac60c277bccf35dea43568da2a07/src/clients/linkerClient.js
130
- *
131
- * No idea how it ever worked.
132
- * @private
133
- *
134
- */
135
- getChannel(name) {
136
- return this.allChannels.filter((channel) => channel.name === name).length > 0;
137
- }
138
- /**
139
- * @deprecated The LinkerClient has been deprecated.
140
- *
141
- * Create a new Linker channel. This channel will be available *globally*.
142
- *
143
- * ```javascript
144
- * LinkerClient.createChannel({name: "red", color: "#ff0000", border: "#ffffff"}, callback)
145
- * ```
146
- * @param {object} params
147
- * @param cb - Optional. Callback to retrieve returned results asynchronously.
148
- * @return {Array.<string>} Returns an array of all available channels
149
- * @private
150
- * @memberof LinkerClient
151
- */
152
- createChannel(params, cb) {
153
- var _a;
154
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
155
- sysinfo("LinkerClient.createChannel", "PARAMS", params);
156
- if (!params.name) {
157
- sysdebug("LinkerClient.createChannel: Name is required");
158
- return asyncIt(this.allChannels, cb);
159
- }
160
- if (this.getChannel(params.name)) {
161
- sysdebug(`LinkerClient.createChannel: Channel ${params.name} Already Exists`);
162
- return asyncIt(this.allChannels, cb);
163
- }
164
- this.allChannels.push(params);
165
- this.allGroups = this.allChannels; // backward compatibility
166
- (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set(["channels"], this.allChannels);
167
- return asyncIt(this.allChannels, cb);
168
- }
169
- /**
170
- * Remove a Linker channel. It will be removed globally. Any component that is currently assigned to this channel will be unassigned.
171
- *
172
- * ```javascript
173
- * FSBL.Clients.LinkerClient.removeChannel("group1")
174
- * ```
175
- * @param {string} name - The name of the channel to remove
176
- * @param cb - Optional. Callback to retrieve returned results asynchronously
177
- * @returns {Array.<string>} Returns an array of available channels
178
- * @private
179
- * @memberof LinkerClient
180
- */
181
- removeChannel(name, cb) {
182
- var _a, _b;
183
- sysinfo("LinkerClient.removeChannel", "NAME", name);
184
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
185
- if (!this.getChannel(name)) {
186
- sysdebug(`Channel ${name}does not exist`, null);
187
- return asyncIt(this.allChannels, cb);
188
- }
189
- const channels = this.allChannels;
190
- for (let i = 0; i < channels.length; i++) {
191
- if (name === channels[i].name) {
192
- channels.splice(i, 1);
193
- break;
194
- }
195
- }
196
- (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set(["channels"], this.allChannels);
197
- const { clients } = this;
198
- for (const c in clients) {
199
- const client = clients[c];
200
- for (const channel in client.channels) {
201
- if (name === channel) {
202
- delete client[channel];
203
- break;
204
- }
205
- }
206
- }
207
- (_b = this.linkerStore) === null || _b === void 0 ? void 0 : _b.set(["clients"], this.clients);
208
- return asyncIt(this.allChannels, cb);
209
- }
210
- /**
211
- * Convenience function to update the client information in the store.
212
- * @private
213
- */
214
- updateClientInStore(key) {
215
- var _a;
216
- (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set([
217
- 'clients', `${key}`,
218
- ], this.clients[key]);
219
- }
220
- /**
221
- * @deprecated The LinkerClient has been deprecated.
222
- *
223
- * Add a component to a Linker channel programmatically. Components will begin receiving any new contexts published to this channel but will <b>not</b> receive the currently established context.
224
- *
225
- * ```javascript
226
- * FSBL.Clients.LinkerClient.linkToChannel("group3", null); // Link current window to channel.
227
- * FSBL.Clients.LinkerClient.linkToChannel("group3", windowIdentifier); // Link the requested window to channel.
228
- * ```
229
- * @param {string} channel - The name of the channel to link our component to, or an array of names.
230
- * @param windowIdentifier - Optional. windowIdentifier for the component. If null, it defaults to the current window.
231
- * @param cb - Optional. Callback to retrieve returned results asynchronously.
232
- * @return {LinkerState} The new state: linked channels, all channels
233
- * @memberof LinkerClient
234
- */
235
- linkToChannel(channel, windowIdentifier, cb) {
236
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
237
- sysinfo("LinkerClient.linkToChannel", "CHANNEL", channel, "COMPONENT", windowIdentifier);
238
- if (!windowIdentifier)
239
- windowIdentifier = WindowClient.getWindowIdentifier();
240
- const key = makeKey(windowIdentifier);
241
- if (!this.clients[key]) {
242
- this.clients[key] = {
243
- client: windowIdentifier,
244
- channels: {},
245
- };
246
- }
247
- if (Array.isArray(channel)) {
248
- for (let i = 0; i < channel.length; i++) {
249
- this.clients[key].channels[channel[i]] = true;
250
- }
251
- }
252
- else {
253
- this.clients[key].channels[channel] = true;
254
- }
255
- this.updateClientInStore(key);
256
- return asyncIt(this.getState(windowIdentifier), cb);
257
- }
258
- /**
259
- * @deprecated The LinkerClient has been deprecated.
260
- *
261
- * Unlinks a component from a Linker channel.
262
- *
263
- * ```javascript
264
- * FSBL.Clients.LinkerClient.unlinkFromChannel("group1", null); // Unlink the current window from channel "group1"
265
- * FSBL.Clients.LinkerClient.unlinkFromChannel("group1", windowIdentifier) // Unlink the requested window from channel "group1"
266
- * ```
267
- * @param {string} channel - Channel to remove, or an array of channels. If null, then all channels will be removed.
268
- * @param windowIdentifier - windowIdentifier for the window. Defaults to current window if left null.
269
- * @param cb - Optional. Callback to retrieve returned results asynchronously.
270
- * @return {LinkerState} Returns the new state: linked channels, all channels
271
- * @memberof LinkerClient
272
- */
273
- unlinkFromChannel(channel, windowIdentifier, cb) {
274
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
275
- sysinfo("LinkerClient.unlinkFromChannel", "CHANNEL", channel, "WINDOW IDENTIFIER", windowIdentifier);
276
- if (!windowIdentifier)
277
- windowIdentifier = WindowClient.getWindowIdentifier();
278
- const key = makeKey(windowIdentifier);
279
- const componentEntry = this.clients[key];
280
- if (Array.isArray(channel)) {
281
- // Delete an array of channels
282
- for (let i = 0; i < channel.length; i++) {
283
- delete componentEntry.channels[channel[i]];
284
- }
285
- }
286
- else if (!channel) {
287
- // Delete all channels
288
- for (const name in componentEntry.channels) {
289
- delete componentEntry.channels[name];
290
- }
291
- }
292
- else {
293
- // Cannot access componentEntry.channels[channel] if channel is an array.
294
- if (!componentEntry || !componentEntry.channels[channel]) {
295
- const component = this.clients[key];
296
- sysdebug(`Component was not in specified channel ${channel}`, component, component.channels[channel]);
297
- return asyncIt(this.getState(windowIdentifier), cb);
298
- }
299
- // Delete a specific channel
300
- delete componentEntry.channels[channel];
301
- }
302
- this.updateClientInStore(key);
303
- return asyncIt(this.getState(windowIdentifier), cb);
304
- }
305
- /**
306
- * @deprecated The LinkerClient has been deprecated.
307
- *
308
- * Returns all available Linker channels.
309
- * ```javascript
310
- * let groups = FSBL.Clients.LinkerClient.getAllChannels();
311
- * ```
312
- *
313
- * ```javascript
314
- * FSBL.Clients.LinkerClient.getAllChannels((err, channels) => { ... });
315
- * ```
316
- * @param cb Optional. Callback to retrieve returned results asynchronously.
317
- * @return {array} An array of all channels. Each array item is {name:channelName} plus any other optional fields such as color.
318
- * @memberof LinkerClient
319
- */
320
- getAllChannels(cb) {
321
- sysinfo("LinkerClient.getAllChannels");
322
- return asyncIt(this.allChannels, cb);
323
- }
324
- /**
325
- * Retrieve all channels linked to the requested component. Also returns all available channels.
326
- *
327
- * ```javascript
328
- * var state=LinkerClient.getState(windowIdentifier)
329
- * ```
330
- * @param windowIdentifier Retrieve all channels for identified window. If null, will retrieve for the current window.
331
- * @param cb Optional. Callback to retrieve returned results asynchronously
332
- * @return {LinkerState} The current state: linked channels, all channels
333
- * @private
334
- */
335
- getState(windowIdentifier, cb) {
336
- var _a;
337
- sysinfo("LinkerClient.getState", "WINDOW IDENTIFIER", windowIdentifier);
338
- const state = {
339
- channels: [],
340
- allChannels: this.allChannels,
341
- };
342
- if (!windowIdentifier)
343
- windowIdentifier = WindowClient.getWindowIdentifier();
344
- if (!Object.keys(this.clients).length) {
345
- return asyncIt(state, cb);
346
- }
347
- const key = makeKey(windowIdentifier);
348
- const componentEntry = this.clients[key];
349
- if (!componentEntry) {
350
- return asyncIt(state, cb);
351
- }
352
- // Create an array of channel descriptors, one for each linked channel
353
- // Convert {"purple": true, "green":true} to [{"name":"purple"},{"name":"green"}]
354
- state.channels = this.allChannels.filter((value) => componentEntry.channels && componentEntry.channels[value.name] === true);
355
- Logger.system.debug("LINKER-3", this.allChannels, "state.channels", state.channels, "key", key, "windowIdentifier", windowIdentifier, "componentEntry", componentEntry);
356
- // Cleanup code in case of an oops. If we're accessing this component, it must be alive. Make sure the store reflects this.
357
- if (!componentEntry.active) {
358
- componentEntry.active = true;
359
- (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set([
360
- 'clients', `${key}`
361
- ], componentEntry);
362
- }
363
- return asyncIt(state, cb);
364
- }
365
- /**
366
- * @deprecated The LinkerClient has been deprecated.
367
- *
368
- * Remove all listeners for the specified dataType.
369
- *
370
- * ```javascript
371
- * FSBL.Clients.LinkerClient.unsubscribe("symbol");
372
- * ```
373
- * @param {String} dataType - The data type to which the component is subscribed.
374
- * @param {function} listener - Optional. The function that was passed to subscribe. If not specified, all listeners will be deleted.
375
- * @memberof LinkerClient
376
- */
377
- unsubscribe(dataType, listener) {
378
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
379
- sysinfo("LinkerClient.unsubscribe", "DATA TYPE", dataType);
380
- if (this.dataListenerList[dataType]) {
381
- if (!listener) {
382
- delete this.dataListenerList[dataType];
383
- }
384
- else {
385
- this.dataListenerList[dataType] = this.dataListenerList[dataType].filter((fn) => fn !== listener);
386
- }
387
- }
388
- }
389
- /**
390
- * @deprecated The LinkerClient has been deprecated.
391
- *
392
- * Publish a piece of data. The data will be published to <b>all channels</b> that the component is linked to. Foreign components that are linked to those channels will receive the data if they have subscribed to this dataType. They can then use that data to synchronize their internal state. See <a href="#subscribe">LinkerClient.subscribe()</a>.
393
- *
394
- * ```javascript
395
- * FSBL.Clients.LinkerClient.publish({ dataType:"symbol", data:"AAPL" })
396
- * ```
397
- * @param {String} params.dataType - A string representing the data type being sent.
398
- * @param {any} params.data - The data ("context") being transmitted.
399
- * @param {array<string>} params.channels - Optional. Specifies which channels publish this piece of data. This overrides the default which is to publish to all linked channels.
400
- * @param cb - Optional. Callback to retrieve returned results asynchronously.
401
- * @memberof LinkerClient
402
- */
403
- publish(params, cb) {
404
- sysinfo("LinkerClient.publish", "PARAMS", params);
405
- let { channels } = params;
406
- if (!channels) {
407
- channels = Object.keys(this.channels);
408
- }
409
- for (let i = 0; i < channels.length; i++) {
410
- const channel = channels[i];
411
- RouterClient.transmit(`${channel}.${params.dataType}`, {
412
- type: params.dataType,
413
- data: params.data,
414
- });
415
- RouterClient.transmit(channel, {
416
- type: params.dataType,
417
- data: params.data,
418
- });
419
- }
420
- return asyncIt({}, cb);
421
- }
422
- /**
423
- * @deprecated The LinkerClient has been deprecated.
424
- *
425
- * Registers a client for a specific data type that is sent to a channel. Calling `subscribe` multiple times adds additional handlers. A component may be subscribed to a maximum of six channels at the same time.
426
- * Please note that the signature of the .Net version of this function differs slightly.
427
- *
428
- * ```javascript
429
- * FSBL.Clients.LinkerClient.subscribe("symbol", (data, response) => {
430
- * if (!response.originatedHere()) {
431
- * const data = response.data;
432
- * // Logic to perform with data
433
- * }
434
- * });
435
- * ```
436
- * @param {String} dataType A string representing the data type to subscribe to.
437
- * @param {Function} listener A function `(data, response)` to be called once the Linker receives the specific data. Use <b>response.originatedHere()</b> to determine if the calling window is also the publisher
438
- * @memberof LinkerClient
439
- */
440
- subscribe(dataType, listener) {
441
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
442
- sysinfo("LinkerClient.subscribe", "DATA TYPE", dataType);
443
- if (this.dataListenerList[dataType]) {
444
- if (!this.dataListenerList[dataType].includes(listener)) {
445
- this.dataListenerList[dataType].push(listener);
446
- }
447
- return;
448
- }
449
- this.dataListenerList[dataType] = [listener];
450
- }
451
- /**
452
- * @deprecated The LinkerClient has been deprecated.
453
- *
454
- * Retrieves an array of all components with links that match the given parameters. If no parameters are specified, all windows with established links will be returned.
455
- *
456
- * Get all components linked to a given component:
457
- * ```javascript
458
- * FSBL.Clients.LinkerClient.getLinkedComponents({ windowIdentifier: wi });
459
- * ```
460
- *
461
- * Get all components linked to channel "group 1":
462
- * ```javascript
463
- * FSBL.Clients.LinkerClient.getLinkedComponents({ channels: ['group1'] });
464
- * // Response format: [{windowName: 'Window Name', componentType: 'Component Type', uuid: 'uuid', channels: ['group1'] }]
465
- * ```
466
- * @param {object} params Optional
467
- * @param {Array.<string>} params.channels Restrict to these channels.
468
- * @param {Array.<string>} params.componentTypes Restrict to these componentTypes. The componentType is a key in the finsemble.components configuration object.
469
- * @param {windowIdentifier} params.windowIdentifier Restrict to this component.
470
- * @param cb Optional. Callback to retrieve returned results asynchronously.
471
- * @returns {array} An array of linked components, their windows, and their linked channels.
472
- * @memberof LinkerClient
473
- */
474
- getLinkedComponents(params, cb) {
475
- Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
476
- sysinfo("LinkerClient.getLinkedComponents", "PARAMS", params);
477
- const linkedWindows = [];
478
- // Fix params
479
- if (!params) {
480
- params = {};
481
- }
482
- if (params.channels && !Array.isArray(params.channels)) {
483
- params.channels = [params.channels];
484
- }
485
- if (params.componentTypes && !Array.isArray(params.componentTypes)) {
486
- params.componentTypes = [params.componentTypes];
487
- }
488
- // If we have a client
489
- if (params.windowIdentifier) {
490
- const key = makeKey(params.windowIdentifier);
491
- const myChannels = Object.keys(this.clients[key].channels);
492
- if (!params.channels) {
493
- // If no channels are specified, use the window identifier channels
494
- params.channels = myChannels;
495
- }
496
- else {
497
- // Otherwise use an intersection of params.channels and the component's channels
498
- params.channels = params.channels.filter((o) => myChannels.includes(o));
499
- }
500
- }
501
- // if no channels, assume all channels
502
- if (!params.channels)
503
- params.channels = this.getAllChannels().map((o) => o.name);
504
- // Get all active
505
- for (const c in this.clients) {
506
- let component = this.clients[c];
507
- //Clients are cleared on workspace switch/shutdown. Component will be undefined
508
- // for any components not linked to a channel in this session
509
- if (!component)
510
- continue;
511
- if (!component.channels) {
512
- // frame fix
513
- component = component[Object.keys(component)[0]];
514
- }
515
- const clientMatchesChannels = Object.keys(component.channels).filter((o) => { var _a; return (_a = params === null || params === void 0 ? void 0 : params.channels) === null || _a === void 0 ? void 0 : _a.includes(o); }).length;
516
- let clientMatchesComponentTypes = true;
517
- if (params.componentTypes)
518
- clientMatchesComponentTypes = params.componentTypes.includes(component.client.componentType);
519
- if (component.active && clientMatchesChannels && clientMatchesComponentTypes) {
520
- linkedWindows.push({
521
- windowName: component.client.windowName,
522
- componentType: component.client.componentType,
523
- uuid: component.client.uuid,
524
- channels: Object.keys(component.channels),
525
- });
526
- }
527
- }
528
- return asyncIt(linkedWindows, cb);
529
- }
530
- /**
531
- * Adds new listeners for channels when channels are updated
532
- * @private
533
- */
534
- updateListeners() {
535
- // Remove listeners
536
- for (let i = this.channelListenerList.length - 1; i >= 0; i--) {
537
- const channel = this.channelListenerList[i];
538
- const channels = Object.keys(this.channels);
539
- if (!channels.filter((g) => g == channel).length) {
540
- RouterClient.removeListener(channel, this.handleListeners);
541
- this.channelListenerList.splice(i, 1);
542
- }
543
- }
544
- // Setup new listeners if needed
545
- const channels = Object.keys(this.channels);
546
- for (let i = 0; i < channels.length; i++) {
547
- const channel = channels[i];
548
- if (!this.channelListenerList.includes(channel)) {
549
- RouterClient.addListener(channel, this.handleListeners);
550
- this.channelListenerList.push(channel);
551
- }
552
- }
553
- // Send state update to any registered external listeners
554
- const state = this.getState();
555
- for (let i = 0; i < this.stateChangeListeners.length; i++) {
556
- this.stateChangeListeners[i](null, state);
557
- }
558
- }
559
- /**
560
- * @deprecated The LinkerClient has been deprecated.
561
- *
562
- * Use this method to register a callback which will be called whenever the state of the Linker changes. This will be called whenever a user links or unlinks your component to a channel.
563
- *
564
- * ```javascript
565
- * FSBL.Clients.LinkerClient.onStateChange(function(err, response){
566
- * if(response.channels){
567
- * console.log("Printout of channel status ", response.channels);
568
- * }
569
- * });
570
- * ```
571
- * @param {function} cb returns { null, LinkerClient~state }
572
- * @memberof LinkerClient
573
- */
574
- onStateChange(cb) {
575
- this.stateChangeListeners.push(cb);
576
- }
577
- /**
578
- * Persists the current linker state. When the window is restored, that state will be available and restored (in initialize).
579
- * @private
580
- * @param {object} state The state enabled for this Linker instance
581
- */
582
- persistState(state) {
583
- WindowClient.setComponentState({
584
- field: "Finsemble_Linker",
585
- value: state,
586
- });
587
- }
588
- /**
589
- * Callback function for linkerStore.addListener({ field: "clients." + key }). Updates channels and persistState.
590
- *
591
- * @param {object} response contains changed listener data
592
- * @private
593
- */
594
- clientsKeyValueChangeStoreListener(_, response) {
595
- sysdebug("My Channels Updated");
596
- if (!response.value)
597
- return;
598
- const responseChannels = response.value.channels || response.value.groups;
599
- const areChannelsEqual = deepEqual(responseChannels, this.channels);
600
- // If channels change, save, this prevents initial empty channels from saving.
601
- if ((responseChannels && Object.keys(responseChannels).length !== 0 && !areChannelsEqual) ||
602
- (Object.keys(responseChannels).length === 0 && Object.keys(this.channels).length !== 0)) {
603
- this.persistState(responseChannels);
604
- this.channels = responseChannels;
605
- this.updateListeners();
606
- }
607
- }
608
- /**
609
- * Callback function for linkerStore.addListener({}). Updates allChannels, allGroups, and clients.
610
- *
611
- * @param {object} response contains changed listener data
612
- * @private
613
- */
614
- anyFieldChangeStoreListener(_, response) {
615
- const { values } = response.value;
616
- this.allChannels = values.channels;
617
- if (values.groups)
618
- this.allChannels = values.groups; // backward compatibility
619
- Logger.system.debug("LINKER-2", this.allChannels);
620
- this.allGroups = this.allChannels; // backward compatibility
621
- this.clients = values.clients;
622
- this.updateListeners();
623
- }
624
- // load all linkages and register listeners for updated data.
625
- /**
626
- * @private
627
- */
628
- start(cb) {
629
- return new Promise(async (resolve) => {
630
- await SystemManagerClient.waitForStartup("linkerService");
631
- this.dontPersistYet = true;
632
- sysdebug("LinkerClient Loading Channels");
633
- const wi = WindowClient.getWindowIdentifier();
634
- const key = makeKey(wi);
635
- // Connect to the global linker store. This is shared by all instances.
636
- DistributedStoreClient.getStore({ store: "Finsemble_Linker", global: true }, (err, linkerStore) => {
637
- this.linkerStore = linkerStore;
638
- linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.addListener({ field: `clients.${key}` }, this.clientsKeyValueChangeStoreListener);
639
- linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.addListener({}, this.anyFieldChangeStoreListener);
640
- // Get all the available channels for Linkers
641
- linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.getMultiple([["channels"], [`clients.${key}`]], (getLinkerValuesError, values) => {
642
- if (values && values.channels) {
643
- this.allChannels = values.channels;
644
- Logger.system.debug("LINKER-1", this.allChannels);
645
- this.allGroups = this.allChannels; // backward compatibility
646
- }
647
- // Now get the linker state (which channels are enabled) for this instance. The windowClient will have retrieved this from Storage.
648
- // Use this to initialize our channel state.
649
- WindowClient.getComponentState({ field: "Finsemble_Linker" }, (getComponentStateError, linkerData) => {
650
- var _a;
651
- this.channels = [];
652
- this.clients[key] = {
653
- client: wi,
654
- active: true,
655
- channels: {},
656
- };
657
- if (linkerData) {
658
- this.channels = linkerData;
659
- this.clients[key].channels = linkerData;
660
- }
661
- else if ((_a = values[`clients.${key}`]) === null || _a === void 0 ? void 0 : _a.channels) {
662
- this.clients[key].channels = values[`clients.${key}`].channels;
663
- }
664
- // Feed back to the distributed store the state that we got out of storage.
665
- this.updateClientInStore(key);
666
- // If we've just been spawned, then check to see if we were passed any overrides
667
- const spawnData = WindowClient.getSpawnData();
668
- if (spawnData && spawnData.linker) {
669
- let existingLinks = spawnData.linker.channels;
670
- if (spawnData.linker.groups)
671
- existingLinks = spawnData.linker.groups; // backward compatibility
672
- this.linkToChannel(existingLinks, wi);
673
- }
674
- else {
675
- this.updateListeners();
676
- }
677
- cb === null || cb === void 0 ? void 0 : cb();
678
- resolve();
679
- });
680
- });
681
- });
682
- });
683
- }
684
- initialize() {
685
- Logger.system.deprecated("It is no longer necessary to call LinkerClient.initialize()");
686
- }
687
- /**
688
- * Minimize all windows except those on specified channel
689
- * @param {string} channel
690
- * @private
691
- */
692
- hyperFocus(channel) {
693
- // var windowNames = this.getLinkedComponents({ channels: channel }).map(c => c.windowName);
694
- hyperFocus({
695
- windowList: this.getLinkedComponents({ channels: channel }),
696
- });
697
- }
698
- /**
699
- * Bring all windows in specified channel to the front
700
- * @param {params} object
701
- * @param {params.channel} channel to btf.
702
- * @param {params.restoreWindows} whether to restore windows that are minimized prior to calling bring to front.
703
- * @private
704
- */
705
- bringAllToFront(params) {
706
- const { channel } = params;
707
- // var windowNames = this.getLinkedComponents({ channels: channel }).map(c => c.windowName);
708
- bringWindowsToFront({
709
- windowList: this.getLinkedComponents({ channels: channel }),
710
- });
711
- }
712
- /**
713
- * Creates a linker channel
714
- * @param {linkerGroup} group The linker channel to create
715
- * @param {Function} cb The callback
716
- * @private
717
- */
718
- createGroup(group, cb) {
719
- return this.createChannel(group, cb);
720
- }
721
- /**
722
- * Removes a linker channel from the list of available channels
723
- * @param {string} groupName The name of the channel to delete
724
- * @param {Function} cb The callback
725
- * @private
726
- */
727
- deleteGroup(groupName, cb) {
728
- return this.removeChannel(groupName, cb);
729
- }
730
- /**
731
- * Adds a given window to given channel
732
- * @param {string} groupName The channel name
733
- * @param {WindowIdentifier} client The window to add to the given channel
734
- * @param {Function} cb The callback (optional)
735
- * @private
736
- */
737
- addToGroup(groupName, client, cb) {
738
- const state = this.linkToChannel(groupName, client);
739
- if (cb)
740
- cb(null, state);
741
- return state;
742
- }
743
- /**
744
- * Remove a given window from a linker channel
745
- * @param {string} groupName The name of the linker channel to disconnect from
746
- * @param {WindowIdentifier} client The window to remove from the given channel
747
- * @param {Function} cb The callback (optional)
748
- * @returns The response from removing the window from the given channel
749
- * @private
750
- */
751
- removeFromGroup(groupName, client, cb) {
752
- const state = this.unlinkFromChannel(groupName, client);
753
- if (cb)
754
- cb(null, state);
755
- return state;
756
- }
757
- /**
758
- * Gets a list of all linker channels
759
- * @param {Function} cb The callback
760
- * @returns An array of linker channel names
761
- * @private
762
- */
763
- getAllGroups(cb) {
764
- const channels = this.getAllChannels();
765
- if (cb)
766
- cb(channels);
767
- return channels;
768
- }
769
- /**
770
- * Asynchronously returns the list of all linked channels of a given window
771
- * @param {WindowIdentifier} [client] The window to find linked groups of
772
- * @param {Function} cb The callback (optional)
773
- * @returns Asynchronously returns list of channels
774
- * @private
775
- */
776
- getGroups(client, cb) {
777
- const state = this.getState(client);
778
- state.groups = state.channels;
779
- return asyncIt(state, cb);
780
- }
781
- /**
782
- * @deprecated The LinkerClient has been deprecated.
783
- *
784
- * Remove all listeners for the specified dataType.
785
- *
786
- * ```javascript
787
- * FSBL.Clients.LinkerClient.unsubscribe("symbol");
788
- * ```
789
- * @param {String} dataType - The data type to which the component is subscribed.
790
- * @memberof LinkerClient
791
- */
792
- unSubscribe(dataType, cb) {
793
- this.unsubscribe(dataType, cb);
794
- }
795
- /**
796
- * @deprecated The LinkerClient has been deprecated.
797
- *
798
- * Retrieves an array of all components with links that match the given parameters. If no parameters are specified, all windows with established links will be returned.
799
- *
800
- * Get all components linked to a given component:
801
- * ```javascript
802
- * FSBL.Clients.LinkerClient.getLinkedWindows({windowIdentifier: wi});
803
- * ```
804
- *
805
- * Get all Windows linked to channel "group1":
806
- * ```javascript
807
- * FSBL.Clients.LinkerClient.getLinkedComponents({ channels: ['group1'] });
808
- * // Response format: [{ windowName: 'Window Name', componentType: 'Component Type', uuid: 'uuid', channels: ['group1'] }]
809
- * ```
810
- * @param {object} params Optional
811
- * @param {Array.<string>} params.channels Restrict to these channels.
812
- * @param {Array.<string>} params.componentTypes Restrict to these componentTypes. The componentType is a key in the finsemble.components configuration object.
813
- * @param {windowIdentifier} params.windowIdentifier Restrict to this component.
814
- * @param {windowIdentifier} params.client Alias for windowIdentifier.
815
- * @param {Array.<string>} params.groups Alias for channels.
816
- * @param cb - Optional. Callback to retrieve returned results asynchronously.
817
- * @returns {array} An array of linked components, their windows, and their linked channels.
818
- * @memberof LinkerClient
819
- */
820
- getLinkedWindows(params, cb) {
821
- if (!params) {
822
- params = {};
823
- }
824
- params.groups = params.channels;
825
- params.windowIdentifier = params.client;
826
- return this.getLinkedComponents(params, cb);
827
- }
828
- /**
829
- * Asynchronously retrieves a window's windowIdentifier
830
- * @param {any} [params] Parameters
831
- * @param {Function} cb The callback
832
- * @private
833
- */
834
- windowIdentifier(params, cb) {
835
- return asyncIt(WindowClient.getWindowIdentifier(), cb);
836
- }
837
- /**
838
- * @deprecated The LinkerClient has been deprecated.
839
- *
840
- * Opens the Linker window.
841
- * @param {Function} cb The callback to be invoked after the method completes successfully.
842
- * @memberof LinkerClient
843
- */
844
- openLinkerWindow(cb) {
845
- if (this.loading) {
846
- return;
847
- } // If in process of loading then return. This prevents double clicks on the icon.
848
- const showLinkerWindowInner = () => {
849
- RouterClient.query("Finsemble.LinkerWindow.Show", {
850
- groups: this.getGroups().groups,
851
- windowIdentifier: WindowClient.getWindowIdentifier(),
852
- windowBounds: WindowClient.getWindowBounds(),
853
- }, () => { });
854
- };
855
- if (this.linkerWindow) {
856
- this.linkerWindow.isShowing((showing) => {
857
- if (showing) {
858
- this.linkerWindow.hide();
859
- }
860
- else {
861
- showLinkerWindowInner();
862
- }
863
- });
864
- return;
865
- }
866
- showLinkerWindowInner();
867
- }
868
- }
869
- const linkerClient = new LinkerClient();
870
- /**
871
- * @ignore
872
- */
873
- export default linkerClient;
874
- /**
875
- * Callback that returns a list of channels in the responseMessage
876
- * @callback LinkerChannelsCB
877
- * @param {Object} err Error message, or null if no error
878
- * @param {Array.<string>} channels List of channels
879
- */
880
- /**
881
- * Callback that returns a new LinkerState
882
- * @callback LinkerStateCB
883
- * @param {Object} err Error message, or null if no error
884
- * @param {Array.<string>} channels List of all channels linked to the requested component
885
- * @param {Array.<string>} allChannels List of all available channels
886
- */
887
- /**
888
- * A list of enabled channels and a list of all channels
889
- * @callback LinkerState
890
- * @param {Array.<string>} channels List of all channels linked to the requested component
891
- * @param {Array.<string>} allChannels List of all available channels
892
- */
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ /**
6
+ * <h2>Deprecated: Linker Client (Finsemble Workspaces)</h2>
7
+ *
8
+ * The Linker API has been DEPRECATED. Please use <a href="/docs/connect-apps/interop/">FDC3 interop</a> which provides an industry standard API for exchanging
9
+ * context between apps, including channel linking.
10
+ *
11
+ * The Linker API allows components to synchronize on a piece of data. For instance, an end user can use the Linker to link multiple components by stock symbol.
12
+ * Use the Linker API to enable your components to participate in this synchronization.
13
+ *
14
+ * In order for components to be linked, the components must understand the data format that will be passed between them (the "context"), and agree on a label that identifies that format (the <code>dataType</code>).
15
+ * For instance, components might choose to publish and subscribe to a `dataType` called "symbol".
16
+ * They would then also need to agree what a "symbol" looks like, for instance, `{symbol: "IBM"}`.
17
+ * The Linker API doesn't proscribe any specific format for context or set of labels.
18
+ *
19
+ * Behind the scenes, the Linker Service coordinates Linker activity between components. It keeps track of the available channels and channel assignments.
20
+ * It uses a dedicated store (<a href="/docs/productivity/API-tutorials-and-refs/storage/DistributedStore">the Distributed Store</a>) to maintain this information and also persists the information to workspaces (<a href="/docs/reference/typedocs/modules/WorkspaceClient">Workspace Client</a>).
21
+ *
22
+ * The Linker Client frequently uses the parameters <code>windowIdentifier</code> and <code>componentType</code>. <a href="/docs/productivity/componentTypesAndWindowNames">Learn more about them here</a>.
23
+ *
24
+ * For more information, see the <a href="/docs/deprecated/Linking">Linking tutorial</a>.
25
+ *
26
+ * @module LinkerClient
27
+ */
28
+ import WindowClient from "../clients/windowClient";
29
+ import DistributedStoreClient from "../clients/distributedStoreClient";
30
+ import Logger from "../clients/logger";
31
+ import deepEqual from "lodash/isEqual";
32
+ import { bringWindowsToFront } from "../common/Desktop";
33
+ import { hyperFocus } from "./deprecatedlauncherClient";
34
+ import { RouterClient } from "../clients/routerClient";
35
+ import SystemManagerClient from "../common/systemManagerClient";
36
+ Logger.system.debug("Starting LinkerClient");
37
+ const sysinfo = Logger.system.info;
38
+ const sysdebug = Logger.system.debug;
39
+ function makeKey(windowIdentifier) {
40
+ return windowIdentifier.windowName.replace(/\./g, "_");
41
+ }
42
+ /**
43
+ * A convenience function to send data to a callback and also return it
44
+ * @private
45
+ */
46
+ function asyncIt(data, cb) {
47
+ if (cb)
48
+ cb(null, data);
49
+ return data;
50
+ }
51
+ /**
52
+ * @phantom Don't display in Typedoc
53
+ */
54
+ export class LinkerClient {
55
+ constructor() {
56
+ this.stateChangeListeners = [];
57
+ // Linker Data
58
+ this.allChannels = [];
59
+ this.channels = {};
60
+ this.clients = {};
61
+ this.channelListenerList = [];
62
+ // Used to keep track of each router listener that is enabled
63
+ this.dataListenerList = {};
64
+ /**
65
+ * Handles listeners (looks to see if there is a listener for a specific data type)
66
+ * @private
67
+ */
68
+ this.handleListeners = (err, data) => {
69
+ // Need to do this better. Get newest items so we don't create it every time
70
+ const listeners = this.dataListenerList[data.data.type];
71
+ if (listeners && listeners.length > 0) {
72
+ for (let i = 0; i < listeners.length; i++) {
73
+ listeners[i](data.data.data, {
74
+ data: data.data.data,
75
+ header: data.header,
76
+ originatedHere: data.originatedHere,
77
+ });
78
+ }
79
+ }
80
+ };
81
+ /**
82
+ * @private
83
+ */
84
+ this.onClose = (cb) => {
85
+ var _a, _b;
86
+ const wi = WindowClient.getWindowIdentifier();
87
+ const key = makeKey(wi);
88
+ if (this.clients[key]) {
89
+ this.clients[key] = null;
90
+ this.updateClientInStore(key);
91
+ }
92
+ (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.removeListener({ field: `clients.${key}` }, this.clientsKeyValueChangeStoreListener, (err, success) => {
93
+ if (!success) {
94
+ Logger.system.warn("Linker Client Onclose: clientsKeyValueChangeStoreListener removeListener failed", key);
95
+ }
96
+ });
97
+ (_b = this.linkerStore) === null || _b === void 0 ? void 0 : _b.removeListener({ field: '' }, this.anyFieldChangeStoreListener, (err, success) => {
98
+ if (!success) {
99
+ Logger.system.warn("Linker Client Onclose: anyFieldChangeStoreListener removeListener failed");
100
+ }
101
+ });
102
+ Logger.system.debug("LINKER-4 cleanup", key);
103
+ cb && cb();
104
+ };
105
+ /*
106
+ * Start backward compatibility
107
+ * @private
108
+ */
109
+ this.groups = this.channels;
110
+ this.allGroups = this.allChannels;
111
+ this.onLinksUpdate = {
112
+ push: (cb) => {
113
+ this.stateChangeListeners.push((err, response) => {
114
+ if (response) {
115
+ response.groups = response.channels;
116
+ }
117
+ cb(err, { groups: response });
118
+ });
119
+ },
120
+ };
121
+ this.linkerWindow = null;
122
+ this.loading = false;
123
+ this.clientsKeyValueChangeStoreListener = this.clientsKeyValueChangeStoreListener.bind(this);
124
+ this.anyFieldChangeStoreListener = this.anyFieldChangeStoreListener.bind(this);
125
+ }
126
+ /**
127
+ * 1/24/19 this is Brad guessing. This function has never existed. This is the first commit where 'getChannel' is referenced...but not defined.
128
+ *
129
+ * https://github.com/ChartIQ/finsemble/blob/ad25aa219c5fac60c277bccf35dea43568da2a07/src/clients/linkerClient.js
130
+ *
131
+ * No idea how it ever worked.
132
+ * @private
133
+ *
134
+ */
135
+ getChannel(name) {
136
+ return this.allChannels.filter((channel) => channel.name === name).length > 0;
137
+ }
138
+ /**
139
+ * @deprecated The LinkerClient has been deprecated.
140
+ *
141
+ * Create a new Linker channel. This channel will be available *globally*.
142
+ *
143
+ * ```javascript
144
+ * LinkerClient.createChannel({name: "red", color: "#ff0000", border: "#ffffff"}, callback)
145
+ * ```
146
+ * @param {object} params
147
+ * @param cb - Optional. Callback to retrieve returned results asynchronously.
148
+ * @return {Array.<string>} Returns an array of all available channels
149
+ * @private
150
+ * @memberof LinkerClient
151
+ */
152
+ createChannel(params, cb) {
153
+ var _a;
154
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
155
+ sysinfo("LinkerClient.createChannel", "PARAMS", params);
156
+ if (!params.name) {
157
+ sysdebug("LinkerClient.createChannel: Name is required");
158
+ return asyncIt(this.allChannels, cb);
159
+ }
160
+ if (this.getChannel(params.name)) {
161
+ sysdebug(`LinkerClient.createChannel: Channel ${params.name} Already Exists`);
162
+ return asyncIt(this.allChannels, cb);
163
+ }
164
+ this.allChannels.push(params);
165
+ this.allGroups = this.allChannels; // backward compatibility
166
+ (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set(["channels"], this.allChannels);
167
+ return asyncIt(this.allChannels, cb);
168
+ }
169
+ /**
170
+ * Remove a Linker channel. It will be removed globally. Any component that is currently assigned to this channel will be unassigned.
171
+ *
172
+ * ```javascript
173
+ * FSBL.Clients.LinkerClient.removeChannel("group1")
174
+ * ```
175
+ * @param {string} name - The name of the channel to remove
176
+ * @param cb - Optional. Callback to retrieve returned results asynchronously
177
+ * @returns {Array.<string>} Returns an array of available channels
178
+ * @private
179
+ * @memberof LinkerClient
180
+ */
181
+ removeChannel(name, cb) {
182
+ var _a, _b;
183
+ sysinfo("LinkerClient.removeChannel", "NAME", name);
184
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
185
+ if (!this.getChannel(name)) {
186
+ sysdebug(`Channel ${name}does not exist`, null);
187
+ return asyncIt(this.allChannels, cb);
188
+ }
189
+ const channels = this.allChannels;
190
+ for (let i = 0; i < channels.length; i++) {
191
+ if (name === channels[i].name) {
192
+ channels.splice(i, 1);
193
+ break;
194
+ }
195
+ }
196
+ (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set(["channels"], this.allChannels);
197
+ const { clients } = this;
198
+ for (const c in clients) {
199
+ const client = clients[c];
200
+ for (const channel in client.channels) {
201
+ if (name === channel) {
202
+ delete client[channel];
203
+ break;
204
+ }
205
+ }
206
+ }
207
+ (_b = this.linkerStore) === null || _b === void 0 ? void 0 : _b.set(["clients"], this.clients);
208
+ return asyncIt(this.allChannels, cb);
209
+ }
210
+ /**
211
+ * Convenience function to update the client information in the store.
212
+ * @private
213
+ */
214
+ updateClientInStore(key) {
215
+ var _a;
216
+ (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set([
217
+ 'clients', `${key}`,
218
+ ], this.clients[key]);
219
+ }
220
+ /**
221
+ * @deprecated The LinkerClient has been deprecated.
222
+ *
223
+ * Add a component to a Linker channel programmatically. Components will begin receiving any new contexts published to this channel but will <b>not</b> receive the currently established context.
224
+ *
225
+ * ```javascript
226
+ * FSBL.Clients.LinkerClient.linkToChannel("group3", null); // Link current window to channel.
227
+ * FSBL.Clients.LinkerClient.linkToChannel("group3", windowIdentifier); // Link the requested window to channel.
228
+ * ```
229
+ * @param {string} channel - The name of the channel to link our component to, or an array of names.
230
+ * @param windowIdentifier - Optional. windowIdentifier for the component. If null, it defaults to the current window.
231
+ * @param cb - Optional. Callback to retrieve returned results asynchronously.
232
+ * @return {LinkerState} The new state: linked channels, all channels
233
+ * @memberof LinkerClient
234
+ */
235
+ linkToChannel(channel, windowIdentifier, cb) {
236
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
237
+ sysinfo("LinkerClient.linkToChannel", "CHANNEL", channel, "COMPONENT", windowIdentifier);
238
+ if (!windowIdentifier)
239
+ windowIdentifier = WindowClient.getWindowIdentifier();
240
+ const key = makeKey(windowIdentifier);
241
+ if (!this.clients[key]) {
242
+ this.clients[key] = {
243
+ client: windowIdentifier,
244
+ channels: {},
245
+ };
246
+ }
247
+ if (Array.isArray(channel)) {
248
+ for (let i = 0; i < channel.length; i++) {
249
+ this.clients[key].channels[channel[i]] = true;
250
+ }
251
+ }
252
+ else {
253
+ this.clients[key].channels[channel] = true;
254
+ }
255
+ this.updateClientInStore(key);
256
+ return asyncIt(this.getState(windowIdentifier), cb);
257
+ }
258
+ /**
259
+ * @deprecated The LinkerClient has been deprecated.
260
+ *
261
+ * Unlinks a component from a Linker channel.
262
+ *
263
+ * ```javascript
264
+ * FSBL.Clients.LinkerClient.unlinkFromChannel("group1", null); // Unlink the current window from channel "group1"
265
+ * FSBL.Clients.LinkerClient.unlinkFromChannel("group1", windowIdentifier) // Unlink the requested window from channel "group1"
266
+ * ```
267
+ * @param {string} channel - Channel to remove, or an array of channels. If null, then all channels will be removed.
268
+ * @param windowIdentifier - windowIdentifier for the window. Defaults to current window if left null.
269
+ * @param cb - Optional. Callback to retrieve returned results asynchronously.
270
+ * @return {LinkerState} Returns the new state: linked channels, all channels
271
+ * @memberof LinkerClient
272
+ */
273
+ unlinkFromChannel(channel, windowIdentifier, cb) {
274
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
275
+ sysinfo("LinkerClient.unlinkFromChannel", "CHANNEL", channel, "WINDOW IDENTIFIER", windowIdentifier);
276
+ if (!windowIdentifier)
277
+ windowIdentifier = WindowClient.getWindowIdentifier();
278
+ const key = makeKey(windowIdentifier);
279
+ const componentEntry = this.clients[key];
280
+ if (Array.isArray(channel)) {
281
+ // Delete an array of channels
282
+ for (let i = 0; i < channel.length; i++) {
283
+ delete componentEntry.channels[channel[i]];
284
+ }
285
+ }
286
+ else if (!channel) {
287
+ // Delete all channels
288
+ for (const name in componentEntry.channels) {
289
+ delete componentEntry.channels[name];
290
+ }
291
+ }
292
+ else {
293
+ // Cannot access componentEntry.channels[channel] if channel is an array.
294
+ if (!componentEntry || !componentEntry.channels[channel]) {
295
+ const component = this.clients[key];
296
+ sysdebug(`Component was not in specified channel ${channel}`, component, component.channels[channel]);
297
+ return asyncIt(this.getState(windowIdentifier), cb);
298
+ }
299
+ // Delete a specific channel
300
+ delete componentEntry.channels[channel];
301
+ }
302
+ this.updateClientInStore(key);
303
+ return asyncIt(this.getState(windowIdentifier), cb);
304
+ }
305
+ /**
306
+ * @deprecated The LinkerClient has been deprecated.
307
+ *
308
+ * Returns all available Linker channels.
309
+ * ```javascript
310
+ * let groups = FSBL.Clients.LinkerClient.getAllChannels();
311
+ * ```
312
+ *
313
+ * ```javascript
314
+ * FSBL.Clients.LinkerClient.getAllChannels((err, channels) => { ... });
315
+ * ```
316
+ * @param cb Optional. Callback to retrieve returned results asynchronously.
317
+ * @return {array} An array of all channels. Each array item is {name:channelName} plus any other optional fields such as color.
318
+ * @memberof LinkerClient
319
+ */
320
+ getAllChannels(cb) {
321
+ sysinfo("LinkerClient.getAllChannels");
322
+ return asyncIt(this.allChannels, cb);
323
+ }
324
+ /**
325
+ * Retrieve all channels linked to the requested component. Also returns all available channels.
326
+ *
327
+ * ```javascript
328
+ * var state=LinkerClient.getState(windowIdentifier)
329
+ * ```
330
+ * @param windowIdentifier Retrieve all channels for identified window. If null, will retrieve for the current window.
331
+ * @param cb Optional. Callback to retrieve returned results asynchronously
332
+ * @return {LinkerState} The current state: linked channels, all channels
333
+ * @private
334
+ */
335
+ getState(windowIdentifier, cb) {
336
+ var _a;
337
+ sysinfo("LinkerClient.getState", "WINDOW IDENTIFIER", windowIdentifier);
338
+ const state = {
339
+ channels: [],
340
+ allChannels: this.allChannels,
341
+ };
342
+ if (!windowIdentifier)
343
+ windowIdentifier = WindowClient.getWindowIdentifier();
344
+ if (!Object.keys(this.clients).length) {
345
+ return asyncIt(state, cb);
346
+ }
347
+ const key = makeKey(windowIdentifier);
348
+ const componentEntry = this.clients[key];
349
+ if (!componentEntry) {
350
+ return asyncIt(state, cb);
351
+ }
352
+ // Create an array of channel descriptors, one for each linked channel
353
+ // Convert {"purple": true, "green":true} to [{"name":"purple"},{"name":"green"}]
354
+ state.channels = this.allChannels.filter((value) => componentEntry.channels && componentEntry.channels[value.name] === true);
355
+ Logger.system.debug("LINKER-3", this.allChannels, "state.channels", state.channels, "key", key, "windowIdentifier", windowIdentifier, "componentEntry", componentEntry);
356
+ // Cleanup code in case of an oops. If we're accessing this component, it must be alive. Make sure the store reflects this.
357
+ if (!componentEntry.active) {
358
+ componentEntry.active = true;
359
+ (_a = this.linkerStore) === null || _a === void 0 ? void 0 : _a.set([
360
+ 'clients', `${key}`
361
+ ], componentEntry);
362
+ }
363
+ return asyncIt(state, cb);
364
+ }
365
+ /**
366
+ * @deprecated The LinkerClient has been deprecated.
367
+ *
368
+ * Remove all listeners for the specified dataType.
369
+ *
370
+ * ```javascript
371
+ * FSBL.Clients.LinkerClient.unsubscribe("symbol");
372
+ * ```
373
+ * @param {String} dataType - The data type to which the component is subscribed.
374
+ * @param {function} listener - Optional. The function that was passed to subscribe. If not specified, all listeners will be deleted.
375
+ * @memberof LinkerClient
376
+ */
377
+ unsubscribe(dataType, listener) {
378
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
379
+ sysinfo("LinkerClient.unsubscribe", "DATA TYPE", dataType);
380
+ if (this.dataListenerList[dataType]) {
381
+ if (!listener) {
382
+ delete this.dataListenerList[dataType];
383
+ }
384
+ else {
385
+ this.dataListenerList[dataType] = this.dataListenerList[dataType].filter((fn) => fn !== listener);
386
+ }
387
+ }
388
+ }
389
+ /**
390
+ * @deprecated The LinkerClient has been deprecated.
391
+ *
392
+ * Publish a piece of data. The data will be published to <b>all channels</b> that the component is linked to. Foreign components that are linked to those channels will receive the data if they have subscribed to this dataType. They can then use that data to synchronize their internal state. See <a href="#subscribe">LinkerClient.subscribe()</a>.
393
+ *
394
+ * ```javascript
395
+ * FSBL.Clients.LinkerClient.publish({ dataType:"symbol", data:"AAPL" })
396
+ * ```
397
+ * @param {String} params.dataType - A string representing the data type being sent.
398
+ * @param {any} params.data - The data ("context") being transmitted.
399
+ * @param {array<string>} params.channels - Optional. Specifies which channels publish this piece of data. This overrides the default which is to publish to all linked channels.
400
+ * @param cb - Optional. Callback to retrieve returned results asynchronously.
401
+ * @memberof LinkerClient
402
+ */
403
+ publish(params, cb) {
404
+ sysinfo("LinkerClient.publish", "PARAMS", params);
405
+ let { channels } = params;
406
+ if (!channels) {
407
+ channels = Object.keys(this.channels);
408
+ }
409
+ for (let i = 0; i < channels.length; i++) {
410
+ const channel = channels[i];
411
+ RouterClient.transmit(`${channel}.${params.dataType}`, {
412
+ type: params.dataType,
413
+ data: params.data,
414
+ });
415
+ RouterClient.transmit(channel, {
416
+ type: params.dataType,
417
+ data: params.data,
418
+ });
419
+ }
420
+ return asyncIt({}, cb);
421
+ }
422
+ /**
423
+ * @deprecated The LinkerClient has been deprecated.
424
+ *
425
+ * Registers a client for a specific data type that is sent to a channel. Calling `subscribe` multiple times adds additional handlers. A component may be subscribed to a maximum of six channels at the same time.
426
+ * Please note that the signature of the .Net version of this function differs slightly.
427
+ *
428
+ * ```javascript
429
+ * FSBL.Clients.LinkerClient.subscribe("symbol", (data, response) => {
430
+ * if (!response.originatedHere()) {
431
+ * const data = response.data;
432
+ * // Logic to perform with data
433
+ * }
434
+ * });
435
+ * ```
436
+ * @param {String} dataType A string representing the data type to subscribe to.
437
+ * @param {Function} listener A function `(data, response)` to be called once the Linker receives the specific data. Use <b>response.originatedHere()</b> to determine if the calling window is also the publisher
438
+ * @memberof LinkerClient
439
+ */
440
+ subscribe(dataType, listener) {
441
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
442
+ sysinfo("LinkerClient.subscribe", "DATA TYPE", dataType);
443
+ if (this.dataListenerList[dataType]) {
444
+ if (!this.dataListenerList[dataType].includes(listener)) {
445
+ this.dataListenerList[dataType].push(listener);
446
+ }
447
+ return;
448
+ }
449
+ this.dataListenerList[dataType] = [listener];
450
+ }
451
+ /**
452
+ * @deprecated The LinkerClient has been deprecated.
453
+ *
454
+ * Retrieves an array of all components with links that match the given parameters. If no parameters are specified, all windows with established links will be returned.
455
+ *
456
+ * Get all components linked to a given component:
457
+ * ```javascript
458
+ * FSBL.Clients.LinkerClient.getLinkedComponents({ windowIdentifier: wi });
459
+ * ```
460
+ *
461
+ * Get all components linked to channel "group 1":
462
+ * ```javascript
463
+ * FSBL.Clients.LinkerClient.getLinkedComponents({ channels: ['group1'] });
464
+ * // Response format: [{windowName: 'Window Name', componentType: 'Component Type', uuid: 'uuid', channels: ['group1'] }]
465
+ * ```
466
+ * @param {object} params Optional
467
+ * @param {Array.<string>} params.channels Restrict to these channels.
468
+ * @param {Array.<string>} params.componentTypes Restrict to these componentTypes. The componentType is a key in the finsemble.components configuration object.
469
+ * @param {windowIdentifier} params.windowIdentifier Restrict to this component.
470
+ * @param cb Optional. Callback to retrieve returned results asynchronously.
471
+ * @returns {array} An array of linked components, their windows, and their linked channels.
472
+ * @memberof LinkerClient
473
+ */
474
+ getLinkedComponents(params, cb) {
475
+ Logger.system.deprecated("This method is deprecated and will be removed in a future release. Please use FSBL.Interop which provides channel linking automatically.");
476
+ sysinfo("LinkerClient.getLinkedComponents", "PARAMS", params);
477
+ const linkedWindows = [];
478
+ // Fix params
479
+ if (!params) {
480
+ params = {};
481
+ }
482
+ if (params.channels && !Array.isArray(params.channels)) {
483
+ params.channels = [params.channels];
484
+ }
485
+ if (params.componentTypes && !Array.isArray(params.componentTypes)) {
486
+ params.componentTypes = [params.componentTypes];
487
+ }
488
+ // If we have a client
489
+ if (params.windowIdentifier) {
490
+ const key = makeKey(params.windowIdentifier);
491
+ const myChannels = Object.keys(this.clients[key].channels);
492
+ if (!params.channels) {
493
+ // If no channels are specified, use the window identifier channels
494
+ params.channels = myChannels;
495
+ }
496
+ else {
497
+ // Otherwise use an intersection of params.channels and the component's channels
498
+ params.channels = params.channels.filter((o) => myChannels.includes(o));
499
+ }
500
+ }
501
+ // if no channels, assume all channels
502
+ if (!params.channels)
503
+ params.channels = this.getAllChannels().map((o) => o.name);
504
+ // Get all active
505
+ for (const c in this.clients) {
506
+ let component = this.clients[c];
507
+ //Clients are cleared on workspace switch/shutdown. Component will be undefined
508
+ // for any components not linked to a channel in this session
509
+ if (!component)
510
+ continue;
511
+ if (!component.channels) {
512
+ // frame fix
513
+ component = component[Object.keys(component)[0]];
514
+ }
515
+ const clientMatchesChannels = Object.keys(component.channels).filter((o) => { var _a; return (_a = params === null || params === void 0 ? void 0 : params.channels) === null || _a === void 0 ? void 0 : _a.includes(o); }).length;
516
+ let clientMatchesComponentTypes = true;
517
+ if (params.componentTypes)
518
+ clientMatchesComponentTypes = params.componentTypes.includes(component.client.componentType);
519
+ if (component.active && clientMatchesChannels && clientMatchesComponentTypes) {
520
+ linkedWindows.push({
521
+ windowName: component.client.windowName,
522
+ componentType: component.client.componentType,
523
+ uuid: component.client.uuid,
524
+ channels: Object.keys(component.channels),
525
+ });
526
+ }
527
+ }
528
+ return asyncIt(linkedWindows, cb);
529
+ }
530
+ /**
531
+ * Adds new listeners for channels when channels are updated
532
+ * @private
533
+ */
534
+ updateListeners() {
535
+ // Remove listeners
536
+ for (let i = this.channelListenerList.length - 1; i >= 0; i--) {
537
+ const channel = this.channelListenerList[i];
538
+ const channels = Object.keys(this.channels);
539
+ if (!channels.filter((g) => g == channel).length) {
540
+ RouterClient.removeListener(channel, this.handleListeners);
541
+ this.channelListenerList.splice(i, 1);
542
+ }
543
+ }
544
+ // Setup new listeners if needed
545
+ const channels = Object.keys(this.channels);
546
+ for (let i = 0; i < channels.length; i++) {
547
+ const channel = channels[i];
548
+ if (!this.channelListenerList.includes(channel)) {
549
+ RouterClient.addListener(channel, this.handleListeners);
550
+ this.channelListenerList.push(channel);
551
+ }
552
+ }
553
+ // Send state update to any registered external listeners
554
+ const state = this.getState();
555
+ for (let i = 0; i < this.stateChangeListeners.length; i++) {
556
+ this.stateChangeListeners[i](null, state);
557
+ }
558
+ }
559
+ /**
560
+ * @deprecated The LinkerClient has been deprecated.
561
+ *
562
+ * Use this method to register a callback which will be called whenever the state of the Linker changes. This will be called whenever a user links or unlinks your component to a channel.
563
+ *
564
+ * ```javascript
565
+ * FSBL.Clients.LinkerClient.onStateChange(function(err, response){
566
+ * if(response.channels){
567
+ * console.log("Printout of channel status ", response.channels);
568
+ * }
569
+ * });
570
+ * ```
571
+ * @param {function} cb returns { null, LinkerClient~state }
572
+ * @memberof LinkerClient
573
+ */
574
+ onStateChange(cb) {
575
+ this.stateChangeListeners.push(cb);
576
+ }
577
+ /**
578
+ * Persists the current linker state. When the window is restored, that state will be available and restored (in initialize).
579
+ * @private
580
+ * @param {object} state The state enabled for this Linker instance
581
+ */
582
+ persistState(state) {
583
+ WindowClient.setComponentState({
584
+ field: "Finsemble_Linker",
585
+ value: state,
586
+ });
587
+ }
588
+ /**
589
+ * Callback function for linkerStore.addListener({ field: "clients." + key }). Updates channels and persistState.
590
+ *
591
+ * @param {object} response contains changed listener data
592
+ * @private
593
+ */
594
+ clientsKeyValueChangeStoreListener(_, response) {
595
+ sysdebug("My Channels Updated");
596
+ if (!response.value)
597
+ return;
598
+ const responseChannels = response.value.channels || response.value.groups;
599
+ const areChannelsEqual = deepEqual(responseChannels, this.channels);
600
+ // If channels change, save, this prevents initial empty channels from saving.
601
+ if ((responseChannels && Object.keys(responseChannels).length !== 0 && !areChannelsEqual) ||
602
+ (Object.keys(responseChannels).length === 0 && Object.keys(this.channels).length !== 0)) {
603
+ this.persistState(responseChannels);
604
+ this.channels = responseChannels;
605
+ this.updateListeners();
606
+ }
607
+ }
608
+ /**
609
+ * Callback function for linkerStore.addListener({}). Updates allChannels, allGroups, and clients.
610
+ *
611
+ * @param {object} response contains changed listener data
612
+ * @private
613
+ */
614
+ anyFieldChangeStoreListener(_, response) {
615
+ const { values } = response.value;
616
+ this.allChannels = values.channels;
617
+ if (values.groups)
618
+ this.allChannels = values.groups; // backward compatibility
619
+ Logger.system.debug("LINKER-2", this.allChannels);
620
+ this.allGroups = this.allChannels; // backward compatibility
621
+ this.clients = values.clients;
622
+ this.updateListeners();
623
+ }
624
+ // load all linkages and register listeners for updated data.
625
+ /**
626
+ * @private
627
+ */
628
+ start(cb) {
629
+ return new Promise(async (resolve) => {
630
+ await SystemManagerClient.waitForStartup("linkerService");
631
+ this.dontPersistYet = true;
632
+ sysdebug("LinkerClient Loading Channels");
633
+ const wi = WindowClient.getWindowIdentifier();
634
+ const key = makeKey(wi);
635
+ // Connect to the global linker store. This is shared by all instances.
636
+ DistributedStoreClient.getStore({ store: "Finsemble_Linker", global: true }, (err, linkerStore) => {
637
+ this.linkerStore = linkerStore;
638
+ linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.addListener({ field: `clients.${key}` }, this.clientsKeyValueChangeStoreListener);
639
+ linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.addListener({}, this.anyFieldChangeStoreListener);
640
+ // Get all the available channels for Linkers
641
+ linkerStore === null || linkerStore === void 0 ? void 0 : linkerStore.getMultiple([["channels"], [`clients.${key}`]], (getLinkerValuesError, values) => {
642
+ if (values && values.channels) {
643
+ this.allChannels = values.channels;
644
+ Logger.system.debug("LINKER-1", this.allChannels);
645
+ this.allGroups = this.allChannels; // backward compatibility
646
+ }
647
+ // Now get the linker state (which channels are enabled) for this instance. The windowClient will have retrieved this from Storage.
648
+ // Use this to initialize our channel state.
649
+ WindowClient.getComponentState({ field: "Finsemble_Linker" }, (getComponentStateError, linkerData) => {
650
+ var _a;
651
+ this.channels = [];
652
+ this.clients[key] = {
653
+ client: wi,
654
+ active: true,
655
+ channels: {},
656
+ };
657
+ if (linkerData) {
658
+ this.channels = linkerData;
659
+ this.clients[key].channels = linkerData;
660
+ }
661
+ else if ((_a = values[`clients.${key}`]) === null || _a === void 0 ? void 0 : _a.channels) {
662
+ this.clients[key].channels = values[`clients.${key}`].channels;
663
+ }
664
+ // Feed back to the distributed store the state that we got out of storage.
665
+ this.updateClientInStore(key);
666
+ // If we've just been spawned, then check to see if we were passed any overrides
667
+ const spawnData = WindowClient.getSpawnData();
668
+ if (spawnData && spawnData.linker) {
669
+ let existingLinks = spawnData.linker.channels;
670
+ if (spawnData.linker.groups)
671
+ existingLinks = spawnData.linker.groups; // backward compatibility
672
+ this.linkToChannel(existingLinks, wi);
673
+ }
674
+ else {
675
+ this.updateListeners();
676
+ }
677
+ cb === null || cb === void 0 ? void 0 : cb();
678
+ resolve();
679
+ });
680
+ });
681
+ });
682
+ });
683
+ }
684
+ initialize() {
685
+ Logger.system.deprecated("It is no longer necessary to call LinkerClient.initialize()");
686
+ }
687
+ /**
688
+ * Minimize all windows except those on specified channel
689
+ * @param {string} channel
690
+ * @private
691
+ */
692
+ hyperFocus(channel) {
693
+ // var windowNames = this.getLinkedComponents({ channels: channel }).map(c => c.windowName);
694
+ hyperFocus({
695
+ windowList: this.getLinkedComponents({ channels: channel }),
696
+ });
697
+ }
698
+ /**
699
+ * Bring all windows in specified channel to the front
700
+ * @param {params} object
701
+ * @param {params.channel} channel to btf.
702
+ * @param {params.restoreWindows} whether to restore windows that are minimized prior to calling bring to front.
703
+ * @private
704
+ */
705
+ bringAllToFront(params) {
706
+ const { channel } = params;
707
+ // var windowNames = this.getLinkedComponents({ channels: channel }).map(c => c.windowName);
708
+ bringWindowsToFront({
709
+ windowList: this.getLinkedComponents({ channels: channel }),
710
+ });
711
+ }
712
+ /**
713
+ * Creates a linker channel
714
+ * @param {linkerGroup} group The linker channel to create
715
+ * @param {Function} cb The callback
716
+ * @private
717
+ */
718
+ createGroup(group, cb) {
719
+ return this.createChannel(group, cb);
720
+ }
721
+ /**
722
+ * Removes a linker channel from the list of available channels
723
+ * @param {string} groupName The name of the channel to delete
724
+ * @param {Function} cb The callback
725
+ * @private
726
+ */
727
+ deleteGroup(groupName, cb) {
728
+ return this.removeChannel(groupName, cb);
729
+ }
730
+ /**
731
+ * Adds a given window to given channel
732
+ * @param {string} groupName The channel name
733
+ * @param {WindowIdentifier} client The window to add to the given channel
734
+ * @param {Function} cb The callback (optional)
735
+ * @private
736
+ */
737
+ addToGroup(groupName, client, cb) {
738
+ const state = this.linkToChannel(groupName, client);
739
+ if (cb)
740
+ cb(null, state);
741
+ return state;
742
+ }
743
+ /**
744
+ * Remove a given window from a linker channel
745
+ * @param {string} groupName The name of the linker channel to disconnect from
746
+ * @param {WindowIdentifier} client The window to remove from the given channel
747
+ * @param {Function} cb The callback (optional)
748
+ * @returns The response from removing the window from the given channel
749
+ * @private
750
+ */
751
+ removeFromGroup(groupName, client, cb) {
752
+ const state = this.unlinkFromChannel(groupName, client);
753
+ if (cb)
754
+ cb(null, state);
755
+ return state;
756
+ }
757
+ /**
758
+ * Gets a list of all linker channels
759
+ * @param {Function} cb The callback
760
+ * @returns An array of linker channel names
761
+ * @private
762
+ */
763
+ getAllGroups(cb) {
764
+ const channels = this.getAllChannels();
765
+ if (cb)
766
+ cb(channels);
767
+ return channels;
768
+ }
769
+ /**
770
+ * Asynchronously returns the list of all linked channels of a given window
771
+ * @param {WindowIdentifier} [client] The window to find linked groups of
772
+ * @param {Function} cb The callback (optional)
773
+ * @returns Asynchronously returns list of channels
774
+ * @private
775
+ */
776
+ getGroups(client, cb) {
777
+ const state = this.getState(client);
778
+ state.groups = state.channels;
779
+ return asyncIt(state, cb);
780
+ }
781
+ /**
782
+ * @deprecated The LinkerClient has been deprecated.
783
+ *
784
+ * Remove all listeners for the specified dataType.
785
+ *
786
+ * ```javascript
787
+ * FSBL.Clients.LinkerClient.unsubscribe("symbol");
788
+ * ```
789
+ * @param {String} dataType - The data type to which the component is subscribed.
790
+ * @memberof LinkerClient
791
+ */
792
+ unSubscribe(dataType, cb) {
793
+ this.unsubscribe(dataType, cb);
794
+ }
795
+ /**
796
+ * @deprecated The LinkerClient has been deprecated.
797
+ *
798
+ * Retrieves an array of all components with links that match the given parameters. If no parameters are specified, all windows with established links will be returned.
799
+ *
800
+ * Get all components linked to a given component:
801
+ * ```javascript
802
+ * FSBL.Clients.LinkerClient.getLinkedWindows({windowIdentifier: wi});
803
+ * ```
804
+ *
805
+ * Get all Windows linked to channel "group1":
806
+ * ```javascript
807
+ * FSBL.Clients.LinkerClient.getLinkedComponents({ channels: ['group1'] });
808
+ * // Response format: [{ windowName: 'Window Name', componentType: 'Component Type', uuid: 'uuid', channels: ['group1'] }]
809
+ * ```
810
+ * @param {object} params Optional
811
+ * @param {Array.<string>} params.channels Restrict to these channels.
812
+ * @param {Array.<string>} params.componentTypes Restrict to these componentTypes. The componentType is a key in the finsemble.components configuration object.
813
+ * @param {windowIdentifier} params.windowIdentifier Restrict to this component.
814
+ * @param {windowIdentifier} params.client Alias for windowIdentifier.
815
+ * @param {Array.<string>} params.groups Alias for channels.
816
+ * @param cb - Optional. Callback to retrieve returned results asynchronously.
817
+ * @returns {array} An array of linked components, their windows, and their linked channels.
818
+ * @memberof LinkerClient
819
+ */
820
+ getLinkedWindows(params, cb) {
821
+ if (!params) {
822
+ params = {};
823
+ }
824
+ params.groups = params.channels;
825
+ params.windowIdentifier = params.client;
826
+ return this.getLinkedComponents(params, cb);
827
+ }
828
+ /**
829
+ * Asynchronously retrieves a window's windowIdentifier
830
+ * @param {any} [params] Parameters
831
+ * @param {Function} cb The callback
832
+ * @private
833
+ */
834
+ windowIdentifier(params, cb) {
835
+ return asyncIt(WindowClient.getWindowIdentifier(), cb);
836
+ }
837
+ /**
838
+ * @deprecated The LinkerClient has been deprecated.
839
+ *
840
+ * Opens the Linker window.
841
+ * @param {Function} cb The callback to be invoked after the method completes successfully.
842
+ * @memberof LinkerClient
843
+ */
844
+ openLinkerWindow(cb) {
845
+ if (this.loading) {
846
+ return;
847
+ } // If in process of loading then return. This prevents double clicks on the icon.
848
+ const showLinkerWindowInner = () => {
849
+ RouterClient.query("Finsemble.LinkerWindow.Show", {
850
+ groups: this.getGroups().groups,
851
+ windowIdentifier: WindowClient.getWindowIdentifier(),
852
+ windowBounds: WindowClient.getWindowBounds(),
853
+ }, () => { });
854
+ };
855
+ if (this.linkerWindow) {
856
+ this.linkerWindow.isShowing((showing) => {
857
+ if (showing) {
858
+ this.linkerWindow.hide();
859
+ }
860
+ else {
861
+ showLinkerWindowInner();
862
+ }
863
+ });
864
+ return;
865
+ }
866
+ showLinkerWindowInner();
867
+ }
868
+ }
869
+ const linkerClient = new LinkerClient();
870
+ /**
871
+ * @ignore
872
+ */
873
+ export default linkerClient;
874
+ /**
875
+ * Callback that returns a list of channels in the responseMessage
876
+ * @callback LinkerChannelsCB
877
+ * @param {Object} err Error message, or null if no error
878
+ * @param {Array.<string>} channels List of channels
879
+ */
880
+ /**
881
+ * Callback that returns a new LinkerState
882
+ * @callback LinkerStateCB
883
+ * @param {Object} err Error message, or null if no error
884
+ * @param {Array.<string>} channels List of all channels linked to the requested component
885
+ * @param {Array.<string>} allChannels List of all available channels
886
+ */
887
+ /**
888
+ * A list of enabled channels and a list of all channels
889
+ * @callback LinkerState
890
+ * @param {Array.<string>} channels List of all channels linked to the requested component
891
+ * @param {Array.<string>} allChannels List of all available channels
892
+ */
893
893
  //# sourceMappingURL=linkerClient.js.map