@finsemble/finsemble-ui 8.3.0 → 8.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (683) hide show
  1. package/FEA.d.ts +102 -28
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
  5. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  6. package/clients/Interop/FinsembleDesktopAgent.js +17 -16
  7. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  8. package/clients/Interop/types.d.ts +1 -0
  9. package/clients/Interop/types.d.ts.map +1 -1
  10. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  11. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  12. package/clients/Startup/FSBLDesktop.js +2 -4
  13. package/clients/Startup/FSBLDesktop.js.map +1 -1
  14. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  15. package/clients/Startup/unhandledErrors.js +6 -4
  16. package/clients/Startup/unhandledErrors.js.map +1 -1
  17. package/clients/Startup/windowStartup.d.ts.map +1 -1
  18. package/clients/Startup/windowStartup.js +125 -112
  19. package/clients/Startup/windowStartup.js.map +1 -1
  20. package/clients/StoreModel.d.ts +8 -8
  21. package/clients/StoreModel.js +9 -9
  22. package/clients/StoreModel.js.map +1 -1
  23. package/clients/appsClient.d.ts +463 -0
  24. package/clients/appsClient.d.ts.map +1 -0
  25. package/clients/appsClient.js +696 -0
  26. package/clients/appsClient.js.map +1 -0
  27. package/clients/authenticationClient.d.ts +36 -27
  28. package/clients/authenticationClient.d.ts.map +1 -1
  29. package/clients/authenticationClient.js +18 -15
  30. package/clients/authenticationClient.js.map +1 -1
  31. package/clients/configClient.d.ts +189 -71
  32. package/clients/configClient.d.ts.map +1 -1
  33. package/clients/configClient.js +185 -114
  34. package/clients/configClient.js.map +1 -1
  35. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  36. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  37. package/clients/controller/DialogManagerClientController.js +213 -0
  38. package/clients/controller/DialogManagerClientController.js.map +1 -0
  39. package/clients/dialogManagerClient.d.ts +11 -75
  40. package/clients/dialogManagerClient.d.ts.map +1 -1
  41. package/clients/dialogManagerClient.js +11 -208
  42. package/clients/dialogManagerClient.js.map +1 -1
  43. package/clients/distributedStoreClient.d.ts +4 -0
  44. package/clients/distributedStoreClient.d.ts.map +1 -1
  45. package/clients/distributedStoreClient.js +4 -0
  46. package/clients/distributedStoreClient.js.map +1 -1
  47. package/clients/hotkeyClient.d.ts +23 -9
  48. package/clients/hotkeyClient.d.ts.map +1 -1
  49. package/clients/hotkeyClient.js +35 -14
  50. package/clients/hotkeyClient.js.map +1 -1
  51. package/clients/index.d.ts +2 -0
  52. package/clients/index.d.ts.map +1 -1
  53. package/clients/index.js +2 -0
  54. package/clients/index.js.map +1 -1
  55. package/clients/launcherClient.d.ts +55 -209
  56. package/clients/launcherClient.d.ts.map +1 -1
  57. package/clients/launcherClient.js +37 -422
  58. package/clients/launcherClient.js.map +1 -1
  59. package/clients/logger.d.ts +6 -0
  60. package/clients/logger.d.ts.map +1 -1
  61. package/clients/logger.js +49 -41
  62. package/clients/logger.js.map +1 -1
  63. package/clients/notificationClient.d.ts +32 -8
  64. package/clients/notificationClient.d.ts.map +1 -1
  65. package/clients/notificationClient.js +32 -8
  66. package/clients/notificationClient.js.map +1 -1
  67. package/clients/routerClient.d.ts +39 -21
  68. package/clients/routerClient.d.ts.map +1 -1
  69. package/clients/routerClient.js +38 -20
  70. package/clients/routerClient.js.map +1 -1
  71. package/clients/searchClient.d.ts +7 -2
  72. package/clients/searchClient.d.ts.map +1 -1
  73. package/clients/searchClient.js +7 -2
  74. package/clients/searchClient.js.map +1 -1
  75. package/clients/storageClient.d.ts +19 -6
  76. package/clients/storageClient.d.ts.map +1 -1
  77. package/clients/storageClient.js +18 -6
  78. package/clients/storageClient.js.map +1 -1
  79. package/clients/windowClient.d.ts +207 -80
  80. package/clients/windowClient.d.ts.map +1 -1
  81. package/clients/windowClient.js +291 -139
  82. package/clients/windowClient.js.map +1 -1
  83. package/clients/workspaceClient.d.ts +45 -18
  84. package/clients/workspaceClient.d.ts.map +1 -1
  85. package/clients/workspaceClient.js +41 -13
  86. package/clients/workspaceClient.js.map +1 -1
  87. package/common/Desktop.d.ts +12 -50
  88. package/common/Desktop.d.ts.map +1 -1
  89. package/common/Desktop.js +14 -64
  90. package/common/Desktop.js.map +1 -1
  91. package/common/FinsembleWindow.d.ts +5 -108
  92. package/common/FinsembleWindow.d.ts.map +1 -1
  93. package/common/FinsembleWindow.js +28 -349
  94. package/common/FinsembleWindow.js.map +1 -1
  95. package/common/Monitors.d.ts +30 -18
  96. package/common/Monitors.d.ts.map +1 -1
  97. package/common/Monitors.js +45 -80
  98. package/common/Monitors.js.map +1 -1
  99. package/common/Singleton.d.ts +7 -1
  100. package/common/Singleton.d.ts.map +1 -1
  101. package/common/Singleton.js +24 -11
  102. package/common/Singleton.js.map +1 -1
  103. package/common/constants.d.ts +3 -9
  104. package/common/constants.d.ts.map +1 -1
  105. package/common/constants.js +3 -14
  106. package/common/constants.js.map +1 -1
  107. package/common/events/FinsembleEvent.d.ts +1 -1
  108. package/common/events/FinsembleEvent.d.ts.map +1 -1
  109. package/common/redux/getRemoteStore.d.ts +53 -0
  110. package/common/redux/getRemoteStore.d.ts.map +1 -0
  111. package/common/redux/getRemoteStore.js +50 -0
  112. package/common/redux/getRemoteStore.js.map +1 -0
  113. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  114. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  115. package/common/redux/remoteReduxEnhancer.js +35 -20
  116. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  117. package/common/redux/types.d.ts +14 -1
  118. package/common/redux/types.d.ts.map +1 -1
  119. package/common/systemManagerClient.d.ts +11 -5
  120. package/common/systemManagerClient.d.ts.map +1 -1
  121. package/common/systemManagerClient.js +25 -8
  122. package/common/systemManagerClient.js.map +1 -1
  123. package/common/util.d.ts +1 -7
  124. package/common/util.d.ts.map +1 -1
  125. package/common/util.js +1 -14
  126. package/common/util.js.map +1 -1
  127. package/deprecated/deprecatedFunctions.d.ts +1 -1
  128. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  129. package/deprecated/deprecatedFunctions.js +3 -4
  130. package/deprecated/deprecatedFunctions.js.map +1 -1
  131. package/deprecated/deprecatedlauncherClient.d.ts +1 -1
  132. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  133. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  134. package/deprecated/dragAndDropClient.d.ts +4 -3
  135. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  136. package/deprecated/dragAndDropClient.js +15 -4
  137. package/deprecated/dragAndDropClient.js.map +1 -1
  138. package/deprecated/linkerClient.d.ts +1 -1
  139. package/deprecated/linkerClient.d.ts.map +1 -1
  140. package/main.d.ts +289 -171
  141. package/main.d.ts.map +1 -1
  142. package/main.js +3 -1
  143. package/main.js.map +1 -1
  144. package/package.json +4 -4
  145. package/platform/services/Interop/modules/types.d.ts +2 -0
  146. package/platform/services/Interop/modules/types.d.ts.map +1 -1
  147. package/platform/services/Interop/types.d.ts +24 -2
  148. package/platform/services/Interop/types.d.ts.map +1 -1
  149. package/platform/services/Interop/types.js.map +1 -1
  150. package/platform/services/router/types.d.ts +5 -6
  151. package/platform/services/router/types.d.ts.map +1 -1
  152. package/platform/services/systemManager/_constants.d.ts +1 -0
  153. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  154. package/platform/services/systemManager/_constants.js +2 -0
  155. package/platform/services/systemManager/_constants.js.map +1 -1
  156. package/platform/services/systemManager/types.d.ts +1 -1
  157. package/platform/services/systemManager/types.d.ts.map +1 -1
  158. package/platform/services/systemManager/types.js.map +1 -1
  159. package/platform/services/window/modules/actions.d.ts +68 -0
  160. package/platform/services/window/modules/actions.d.ts.map +1 -0
  161. package/platform/services/window/modules/actions.js +60 -0
  162. package/platform/services/window/modules/actions.js.map +1 -0
  163. package/platform/services/window/types.d.ts +275 -51
  164. package/platform/services/window/types.d.ts.map +1 -1
  165. package/platform/services/workspace/types.d.ts +4 -3
  166. package/platform/services/workspace/types.d.ts.map +1 -1
  167. package/react/actions/smartDesktopDesignerActions.d.ts +7 -1
  168. package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
  169. package/react/actions/smartDesktopDesignerActions.js +3 -0
  170. package/react/actions/smartDesktopDesignerActions.js.map +1 -1
  171. package/react/assets/css/core/icons.css +0 -5
  172. package/react/assets/css/dialogs.css +2 -1
  173. package/react/assets/css/fonts/icons-reference.html +1 -1
  174. package/react/assets/css/processMonitor.css +9 -4
  175. package/react/assets/css/userPreferences.css +1 -1
  176. package/react/assets/css/windowTitleBar.css +101 -285
  177. package/react/assets/icons/chevron-down.svg +1 -0
  178. package/react/assets/icons/chevron-up.svg +1 -0
  179. package/react/components/appCatalog/AppCatalog.d.ts +3 -0
  180. package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
  181. package/react/components/appCatalog/AppCatalog.js +3 -0
  182. package/react/components/appCatalog/AppCatalog.js.map +1 -1
  183. package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
  184. package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
  185. package/react/components/appCatalog/AppCatalogComponent.js +6 -2
  186. package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
  187. package/react/components/common/ButtonRow.d.ts.map +1 -1
  188. package/react/components/common/ButtonRow.js +4 -9
  189. package/react/components/common/ButtonRow.js.map +1 -1
  190. package/react/components/common/Checkbox.d.ts +1 -0
  191. package/react/components/common/Checkbox.d.ts.map +1 -1
  192. package/react/components/common/Checkbox.js +14 -2
  193. package/react/components/common/Checkbox.js.map +1 -1
  194. package/react/components/common/ContextMenu.d.ts.map +1 -1
  195. package/react/components/common/ContextMenu.js +5 -11
  196. package/react/components/common/ContextMenu.js.map +1 -1
  197. package/react/components/common/DropdownButton.d.ts.map +1 -1
  198. package/react/components/common/DropdownButton.js +11 -24
  199. package/react/components/common/DropdownButton.js.map +1 -1
  200. package/react/components/common/FinsembleIcon.d.ts +1 -1
  201. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  202. package/react/components/common/FinsembleIcon.js +6 -4
  203. package/react/components/common/FinsembleIcon.js.map +1 -1
  204. package/react/components/common/FinsembleLink.d.ts +7 -0
  205. package/react/components/common/FinsembleLink.d.ts.map +1 -0
  206. package/react/components/common/FinsembleLink.js +13 -0
  207. package/react/components/common/FinsembleLink.js.map +1 -0
  208. package/react/components/common/Header.d.ts +1 -0
  209. package/react/components/common/Header.d.ts.map +1 -1
  210. package/react/components/common/Header.js +4 -2
  211. package/react/components/common/Header.js.map +1 -1
  212. package/react/components/common/css/accordion.css +9 -21
  213. package/react/components/common/css/application-edit-page.css +0 -15
  214. package/react/components/common/css/application-list.css +54 -23
  215. package/react/components/common/css/button.css +20 -0
  216. package/react/components/common/css/selector.css +3 -1
  217. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  218. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  219. package/react/components/downloadManager/DownloadManager.js +2 -4
  220. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  221. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  222. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  223. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  224. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  225. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  226. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  227. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  228. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  229. package/react/components/icon/Icon.js +1 -1
  230. package/react/components/icon/Icon.js.map +1 -1
  231. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  232. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  233. package/react/components/linker/remoteRedux.d.ts +2 -9
  234. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  235. package/react/components/linker/remoteRedux.js +2 -22
  236. package/react/components/linker/remoteRedux.js.map +1 -1
  237. package/react/components/notifications/components/shared/IconButton.d.ts +1 -1
  238. package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
  239. package/react/components/notifications/components/shared/IconButton.js +2 -2
  240. package/react/components/notifications/components/shared/IconButton.js.map +1 -1
  241. package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
  242. package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
  243. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
  244. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
  245. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
  246. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
  247. package/react/components/notifications/css/notification-center.css +2 -0
  248. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  249. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  250. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  251. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  252. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  253. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  254. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  255. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  256. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  257. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  258. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  259. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  260. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  261. package/react/components/processMonitor/components/ListHeader.js +3 -2
  262. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  263. package/react/components/processMonitor/components/Process.d.ts +10 -0
  264. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  265. package/react/components/processMonitor/components/Process.js +11 -0
  266. package/react/components/processMonitor/components/Process.js.map +1 -0
  267. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  268. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  269. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  270. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  271. package/react/components/processMonitor/constants.d.ts +1 -2
  272. package/react/components/processMonitor/constants.d.ts.map +1 -1
  273. package/react/components/processMonitor/constants.js +2 -8
  274. package/react/components/processMonitor/constants.js.map +1 -1
  275. package/react/components/processMonitor/helpers.d.ts +0 -1
  276. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  277. package/react/components/processMonitor/helpers.js +2 -9
  278. package/react/components/processMonitor/helpers.js.map +1 -1
  279. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  280. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  281. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  282. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  283. package/react/components/sdd/Content.d.ts +9 -0
  284. package/react/components/sdd/Content.d.ts.map +1 -0
  285. package/react/components/sdd/Content.js +7 -0
  286. package/react/components/sdd/Content.js.map +1 -0
  287. package/react/components/sdd/Dashboard.d.ts +20 -0
  288. package/react/components/sdd/Dashboard.d.ts.map +1 -0
  289. package/react/components/sdd/Dashboard.js +103 -0
  290. package/react/components/sdd/Dashboard.js.map +1 -0
  291. package/react/components/sdd/Export.d.ts +24 -0
  292. package/react/components/sdd/Export.d.ts.map +1 -0
  293. package/react/components/sdd/Export.js +133 -0
  294. package/react/components/sdd/Export.js.map +1 -0
  295. package/react/components/sdd/ExportCloud.d.ts +7 -0
  296. package/react/components/sdd/ExportCloud.d.ts.map +1 -0
  297. package/react/components/sdd/ExportCloud.js +38 -0
  298. package/react/components/sdd/ExportCloud.js.map +1 -0
  299. package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
  300. package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
  301. package/react/components/sdd/ExportDeployInfo.js +18 -0
  302. package/react/components/sdd/ExportDeployInfo.js.map +1 -0
  303. package/react/components/sdd/ExportZip.d.ts +7 -0
  304. package/react/components/sdd/ExportZip.d.ts.map +1 -0
  305. package/react/components/sdd/ExportZip.js +43 -0
  306. package/react/components/sdd/ExportZip.js.map +1 -0
  307. package/react/components/sdd/ProjectErrors.d.ts +12 -0
  308. package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
  309. package/react/components/sdd/ProjectErrors.js +26 -0
  310. package/react/components/sdd/ProjectErrors.js.map +1 -0
  311. package/react/components/sdd/ProjectMasonry.d.ts +13 -0
  312. package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
  313. package/react/components/sdd/ProjectMasonry.js +22 -0
  314. package/react/components/sdd/ProjectMasonry.js.map +1 -0
  315. package/react/components/sdd/Publish.d.ts +9 -0
  316. package/react/components/sdd/Publish.d.ts.map +1 -0
  317. package/react/components/sdd/Publish.js +113 -0
  318. package/react/components/sdd/Publish.js.map +1 -0
  319. package/react/components/sdd/PublishProgress.d.ts +10 -0
  320. package/react/components/sdd/PublishProgress.d.ts.map +1 -0
  321. package/react/components/sdd/PublishProgress.js +24 -0
  322. package/react/components/sdd/PublishProgress.js.map +1 -0
  323. package/react/components/sdd/View.d.ts +9 -0
  324. package/react/components/sdd/View.d.ts.map +1 -0
  325. package/react/components/sdd/View.js +7 -0
  326. package/react/components/sdd/View.js.map +1 -0
  327. package/react/components/sdd/css/addApp.css +62 -8
  328. package/react/components/sdd/css/appD.css +81 -0
  329. package/react/components/sdd/css/appDViewer.css +93 -0
  330. package/react/components/sdd/css/applications.css +53 -15
  331. package/react/components/sdd/css/exportAppD.css +31 -0
  332. package/react/components/sdd/css/horizontalScroll.css +9 -0
  333. package/react/components/sdd/css/project-header.css +2 -1
  334. package/react/components/sdd/css/views.css +3 -0
  335. package/react/components/sdd/smartDesktopClient.d.ts +627 -0
  336. package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
  337. package/react/components/sdd/smartDesktopClient.js +1222 -0
  338. package/react/components/sdd/smartDesktopClient.js.map +1 -0
  339. package/react/components/sdd/types.d.ts +9 -0
  340. package/react/components/sdd/types.d.ts.map +1 -0
  341. package/react/components/sdd/types.js +2 -0
  342. package/react/components/sdd/types.js.map +1 -0
  343. package/react/components/search/SearchInput.d.ts +1 -2
  344. package/react/components/search/SearchInput.d.ts.map +1 -1
  345. package/react/components/search/SearchInput.js +11 -13
  346. package/react/components/search/SearchInput.js.map +1 -1
  347. package/react/components/search/SearchResults.d.ts.map +1 -1
  348. package/react/components/search/SearchResults.js +6 -6
  349. package/react/components/search/SearchResults.js.map +1 -1
  350. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  351. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  352. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  353. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  354. package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
  355. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  356. package/react/components/toolbar/DownloadButton.d.ts +1 -1
  357. package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
  358. package/react/components/toolbar/DownloadButton.js +3 -6
  359. package/react/components/toolbar/DownloadButton.js.map +1 -1
  360. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  361. package/react/components/toolbar/DragHandle.js +8 -5
  362. package/react/components/toolbar/DragHandle.js.map +1 -1
  363. package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
  364. package/react/components/toolbar/ToolbarIcon.js +10 -1
  365. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  366. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  367. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  368. package/react/components/toolbar/ToolbarShell.js +3 -2
  369. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  370. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
  371. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
  372. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  373. package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
  374. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  375. package/react/components/userPreferences/components/content/Workspaces.js +14 -1
  376. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  377. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
  378. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
  379. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  380. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
  381. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
  382. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  383. package/react/components/utils.d.ts +50 -0
  384. package/react/components/utils.d.ts.map +1 -0
  385. package/react/components/utils.js +60 -0
  386. package/react/components/utils.js.map +1 -0
  387. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  388. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  389. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  390. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  391. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  392. package/react/components/windowTitleBar/CloseButton.js +22 -0
  393. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  394. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  395. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  396. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  397. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  398. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  399. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  400. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  401. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  402. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  403. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  404. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  405. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  406. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  407. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  408. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  409. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  410. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  411. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  412. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  413. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  414. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  415. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  416. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  417. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  418. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  419. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  420. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  421. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  422. package/react/components/windowTitleBar/ShareButton.js +24 -0
  423. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  424. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  425. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  426. package/react/components/windowTitleBar/TabRegion.js +479 -0
  427. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  428. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  429. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  430. package/react/components/windowTitleBar/TabTitle.js +17 -0
  431. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  432. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  433. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  434. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  435. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  436. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  437. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  438. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  439. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  440. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  441. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  442. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  443. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  444. package/react/components/windowTitleBar/index.d.ts +9 -8
  445. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  446. package/react/components/windowTitleBar/index.js +9 -8
  447. package/react/components/windowTitleBar/index.js.map +1 -1
  448. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  449. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  450. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  451. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  452. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  453. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  454. package/react/components/windowTitleBar/useMaximize.js +23 -0
  455. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  456. package/react/components/yesNoDialog/timer.js +2 -1
  457. package/react/components/yesNoDialog/timer.js.map +1 -1
  458. package/react/hooks/useDashbar.d.ts.map +1 -1
  459. package/react/hooks/useDashbar.js.map +1 -1
  460. package/react/hooks/useDragRegion.d.ts +27 -0
  461. package/react/hooks/useDragRegion.d.ts.map +1 -0
  462. package/react/hooks/useDragRegion.js +74 -0
  463. package/react/hooks/useDragRegion.js.map +1 -0
  464. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  465. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  466. package/react/hooks/useInjectedTitleBar.js +437 -0
  467. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  468. package/react/hooks/useNotifications.d.ts +1 -1
  469. package/react/hooks/useToolbar.d.ts +1 -0
  470. package/react/hooks/useToolbar.d.ts.map +1 -1
  471. package/react/hooks/useToolbar.js +13 -3
  472. package/react/hooks/useToolbar.js.map +1 -1
  473. package/react/reducers/rootReducer.d.ts +12 -0
  474. package/react/reducers/rootReducer.d.ts.map +1 -1
  475. package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
  476. package/react/reducers/smartDesktopDesignerReducer.js +12 -0
  477. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  478. package/react/store.d.ts +24 -0
  479. package/react/store.d.ts.map +1 -1
  480. package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
  481. package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
  482. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  483. package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
  484. package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
  485. package/typedoc-types.d.ts +9 -0
  486. package/typedoc-types.d.ts.map +1 -0
  487. package/typedoc-types.js +6 -0
  488. package/typedoc-types.js.map +1 -0
  489. package/types.d.ts +5 -11
  490. package/types.d.ts.map +1 -1
  491. package/types.js +2 -0
  492. package/types.js.map +1 -1
  493. package/common/events/PrivateEventManager.d.ts +0 -95
  494. package/common/events/PrivateEventManager.d.ts.map +0 -1
  495. package/common/events/PrivateEventManager.js +0 -295
  496. package/common/events/PrivateEventManager.js.map +0 -1
  497. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  498. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  499. package/common/events/PrivateFinsembleEvent.js +0 -65
  500. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  501. package/common/redux/createReducer.d.ts +0 -128
  502. package/common/redux/createReducer.d.ts.map +0 -1
  503. package/common/redux/createReducer.js +0 -298
  504. package/common/redux/createReducer.js.map +0 -1
  505. package/common/redux/index.d.ts +0 -3
  506. package/common/redux/index.d.ts.map +0 -1
  507. package/common/redux/index.js +0 -3
  508. package/common/redux/index.js.map +0 -1
  509. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  510. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  511. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  512. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  513. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  514. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  515. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  516. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  517. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  518. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  519. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  520. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  521. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  522. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  523. package/platform/services/window/Docking/boxMath.js +0 -511
  524. package/platform/services/window/Docking/boxMath.js.map +0 -1
  525. package/platform/services/window/Docking/constants.d.ts +0 -29
  526. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  527. package/platform/services/window/Docking/constants.js +0 -29
  528. package/platform/services/window/Docking/constants.js.map +0 -1
  529. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  530. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  531. package/platform/services/window/Docking/dockableBox.js +0 -525
  532. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  533. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  534. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  535. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  536. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  537. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  538. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  539. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  540. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  541. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  542. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  543. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  544. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  545. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  546. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  547. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  548. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  549. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  550. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  551. package/platform/services/window/Docking/dockingMain.js +0 -2541
  552. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  553. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  554. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  555. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  556. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  557. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  558. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  559. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  560. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  561. package/platform/services/window/Docking/types.d.ts +0 -334
  562. package/platform/services/window/Docking/types.d.ts.map +0 -1
  563. package/platform/services/window/Docking/types.js +0 -12
  564. package/platform/services/window/Docking/types.js.map +0 -1
  565. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  566. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  567. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  568. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  569. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  570. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  571. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  572. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  573. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  574. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  575. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  576. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  577. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  578. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  579. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  580. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  581. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  582. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  583. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  584. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  585. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  586. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  587. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  588. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  589. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  590. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  591. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  592. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  593. package/platform/services/window/windowGroup.d.ts +0 -86
  594. package/platform/services/window/windowGroup.d.ts.map +0 -1
  595. package/platform/services/window/windowGroup.js +0 -323
  596. package/platform/services/window/windowGroup.js.map +0 -1
  597. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  598. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  599. package/platform/services/workspace/windowStorageManager.js +0 -195
  600. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  601. package/react/assets/icons/question-circle.svg +0 -6
  602. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  603. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  604. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  605. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  606. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  607. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  608. package/react/components/sdd/Appearance.helpers.js +0 -2
  609. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  610. package/react/components/shared/linkerUtil.d.ts +0 -4
  611. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  612. package/react/components/shared/linkerUtil.js +0 -10
  613. package/react/components/shared/linkerUtil.js.map +0 -1
  614. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  615. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  616. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  617. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  618. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  619. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  620. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  621. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  622. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  623. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  624. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  625. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  626. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  627. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  628. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  629. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  630. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  631. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  632. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  633. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  634. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  635. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  636. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  637. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  638. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  639. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  640. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  641. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  642. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  643. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  644. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  645. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  646. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  647. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  648. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  649. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  650. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  651. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  652. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  653. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  654. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  655. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  656. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  657. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  658. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  659. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  660. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  661. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  662. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  663. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  664. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  665. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  666. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  667. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  668. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  669. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  670. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  671. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  672. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  673. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  674. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  675. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  676. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  677. package/react/types/windowTitleBar.d.ts +0 -49
  678. package/react/types/windowTitleBar.d.ts.map +0 -1
  679. package/react/types/windowTitleBar.js +0 -2
  680. package/react/types/windowTitleBar.js.map +0 -1
  681. /package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  682. /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  683. /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrivateEventManager.js","sourceRoot":"","sources":["../../../../src/common/events/PrivateEventManager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAA6B,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,kBAAoC,MAAM,sBAAsB,CAAC;AACxE,OAAO,cAAc,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE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I,CAA6B,CAAC;QAEvE,iEAAiE;QACjE,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;YACzC,WAAW,EAAE,CAAC;QACf,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;IACxB,CAAC;CACD;;AAED,eAAe,YAAY,CAAC"}
@@ -1,30 +0,0 @@
1
- declare class PrivateFinsembleEvent {
2
- private event;
3
- private source;
4
- private sourceType;
5
- private handler;
6
- private allowDelay;
7
- private delayed;
8
- private allowCancel;
9
- private canceled;
10
- private completed;
11
- private guid;
12
- data: any;
13
- complete: Promise<void>;
14
- private eventComplete;
15
- private eventCanceled;
16
- constructor(params: {
17
- event: string;
18
- source: string;
19
- sourceType: string;
20
- data: any;
21
- guid: string;
22
- handler: Function;
23
- });
24
- private internalHandler;
25
- cancel(): void;
26
- wait(): void;
27
- done(data?: any): void;
28
- }
29
- export default PrivateFinsembleEvent;
30
- //# sourceMappingURL=PrivateFinsembleEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrivateFinsembleEvent.d.ts","sourceRoot":"","sources":["../../../../src/common/events/PrivateFinsembleEvent.ts"],"names":[],"mappings":"AAEA,cAAM,qBAAqB;IAC1B,OAAO,CAAC,KAAK,CAAS;IAEtB,OAAO,CAAC,MAAM,CAAS;IAEvB,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,OAAO,CAAW;IAE1B,OAAO,CAAC,UAAU,CAAkB;IAEpC,OAAO,CAAC,OAAO,CAAkB;IAEjC,OAAO,CAAC,WAAW,CAAkB;IAErC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,IAAI,CAAS;IAEd,IAAI,EAAE,GAAG,CAAC;IAEV,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/B,OAAO,CAAC,aAAa,CAAuB;IAE5C,OAAO,CAAC,aAAa,CAAuB;gBAEhC,MAAM,EAAE;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG,CAAC;QACV,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,QAAQ,CAAC;KAClB;YA2Ba,eAAe;IAO7B,MAAM,IAAI,IAAI;IAOd,IAAI,IAAI,IAAI;IAQZ,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI;CAYtB;AAED,eAAe,qBAAqB,CAAC"}
@@ -1,65 +0,0 @@
1
- import * as Constants from "../constants";
2
- class PrivateFinsembleEvent {
3
- constructor(params) {
4
- this.allowDelay = false;
5
- this.delayed = false;
6
- this.allowCancel = false;
7
- this.canceled = false;
8
- this.completed = false;
9
- this.event = params.event;
10
- this.source = params.source;
11
- this.sourceType = params.sourceType;
12
- this.data = params.data;
13
- this.guid = params.guid;
14
- if (Constants[this.sourceType.toUpperCase()] &&
15
- Constants[this.sourceType.toUpperCase()].DELAYABLE_EVENTS.includes(this.event)) {
16
- this.allowDelay = true;
17
- }
18
- if (Constants[this.sourceType.toUpperCase()] &&
19
- Constants[this.sourceType.toUpperCase()].CANCELABLE_EVENTS.includes(this.event)) {
20
- this.allowCancel = true;
21
- }
22
- this.handler = params.handler;
23
- this.complete = new Promise((resolve, reject) => {
24
- this.eventCanceled = reject;
25
- this.eventComplete = resolve;
26
- });
27
- this.internalHandler();
28
- }
29
- async internalHandler() {
30
- if (this.handler)
31
- await this.handler(this);
32
- if (!(this.delayed || this.canceled || this.completed)) {
33
- this.done();
34
- }
35
- }
36
- cancel() {
37
- if (this.allowCancel) {
38
- this.canceled = true;
39
- this.done();
40
- }
41
- }
42
- wait() {
43
- if (this.allowDelay) {
44
- this.delayed = true;
45
- }
46
- else {
47
- this.done();
48
- }
49
- }
50
- done(data) {
51
- this.completed = true;
52
- if (this.canceled) {
53
- if (!!this.eventCanceled) {
54
- this.eventCanceled();
55
- }
56
- }
57
- else {
58
- if (!!this.eventComplete) {
59
- this.eventComplete(data);
60
- }
61
- }
62
- }
63
- }
64
- export default PrivateFinsembleEvent;
65
- //# sourceMappingURL=PrivateFinsembleEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrivateFinsembleEvent.js","sourceRoot":"","sources":["../../../../src/common/events/PrivateFinsembleEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAE1C,MAAM,qBAAqB;IA6B1B,YAAY,MAOX;QA3BO,eAAU,GAAY,KAAK,CAAC;QAE5B,YAAO,GAAY,KAAK,CAAC;QAEzB,gBAAW,GAAY,KAAK,CAAC;QAE7B,aAAQ,GAAY,KAAK,CAAC;QAE1B,cAAS,GAAY,KAAK,CAAC;QAoBlC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAExB,IACC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;YACxC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAC7E;YACD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACvB;QACD,IACC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;YACxC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAC9E;YACD,IAAI,CAAC,WAAW,GAA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
@@ -1,128 +0,0 @@
1
- import { Action } from "redux";
2
- import { Draft } from "immer";
3
- import { Cmd, Loop } from "redux-loop";
4
- /**
5
- * Use `unImmer()` to safely pass objects from reducers to effects.
6
- *
7
- * @param obj Any object
8
- * @returns any
9
- */
10
- export declare const unImmer: (obj: any) => any;
11
- declare type DeepReadonly<T> = T extends (infer R)[] ? DeepReadonlyArray<R> : T extends Function ? T : T extends object ? DeepReadonlyObject<T> : T;
12
- interface DeepReadonlyArray<T> extends ReadonlyArray<DeepReadonly<T>> {
13
- }
14
- declare type DeepReadonlyObject<T> = {
15
- readonly [P in keyof T]: DeepReadonly<T[P]>;
16
- };
17
- export interface AnyAction extends Action {
18
- [extraProps: string]: any;
19
- }
20
- export interface TypedActionCreator<Type extends string> {
21
- (...args: any[]): Action<Type>;
22
- type: Type;
23
- }
24
- declare type MyCaseReducer<S = any, A extends Action = AnyAction> = (state: DeepReadonly<S>, action: A) => DeepReadonly<S> | Loop<DeepReadonly<S>>;
25
- declare type LoopCaseReducer<S = any, A extends Action = AnyAction> = (state: Draft<S>, action: A, cmd: CMD) => void | S;
26
- export interface CMD {
27
- run: typeof Cmd.run;
28
- action: typeof Cmd.action;
29
- list: typeof Cmd.list;
30
- map: typeof Cmd.map;
31
- setTimeout: typeof Cmd.setTimeout;
32
- setInterval: typeof Cmd.setInterval;
33
- clearTimeout: typeof Cmd.clearTimeout;
34
- clearInterval: typeof Cmd.clearInterval;
35
- }
36
- export interface ActionReducerMapBuilder<State> {
37
- addNoImmerCase<ActionCreator extends TypedActionCreator<string>>(actionCreator: ActionCreator, reducer: MyCaseReducer<State, ReturnType<ActionCreator>>): ActionReducerMapBuilder<State>;
38
- addNoImmerCase<Type extends string, A extends Action<Type>>(type: Type, reducer: MyCaseReducer<State, A>): ActionReducerMapBuilder<State>;
39
- addCase<ActionCreator extends TypedActionCreator<string>>(actionCreator: ActionCreator, reducer: LoopCaseReducer<State, ReturnType<ActionCreator>>): ActionReducerMapBuilder<State>;
40
- addCase<Type extends string, A extends Action<Type>>(type: Type, reducer: LoopCaseReducer<State, A>): ActionReducerMapBuilder<State>;
41
- }
42
- declare type CaseReducerValue<State> = {
43
- reducer?: MyCaseReducer<State>;
44
- loopReducer?: LoopCaseReducer<State>;
45
- };
46
- declare type CaseReducers<State> = {
47
- [key: string]: CaseReducerValue<State>[];
48
- };
49
- /**
50
- * A slimmed down version of RTK's builder. See comments below in createReducer() for more information.
51
- */
52
- export declare function executeReducerBuilderCallback<S>(builderCallback: (builder: ActionReducerMapBuilder<S>) => void): CaseReducers<S>;
53
- export declare type Reducer<S = any, A extends Action = AnyAction> = (state: S | undefined, action: A) => S;
54
- export declare type CreateReducerHook = <S>(previousState: S, nextState: S, action: AnyAction) => void;
55
- /**
56
- * This requires that redux-loops middleware has been installed in the store.
57
- *
58
- * This is a forked version of the custom createReducer() from React-Toolkit (RTK).
59
- * This version adds support for redux-loops by passing a `cmd` as an optional third parameter in the reducer call.
60
- * That `cmd` is a proxy for redux-loop's "Cmd" and can be use in the same way.
61
- *
62
- * Unlike RTK's createReducer, this version does allow you to add multiple reducer cases for the same dispatch. Be
63
- * careful not to make assumptions about which reducer will run first! This is best used when there are no dependencies.
64
- *
65
- * The following RTK functionality has been removed: addMatcher(), addDefaultCase(), "Map Object" notation
66
- *
67
- * Direct state mutation via return values is still supported but a special builder function `addNoImmerCase`
68
- * is better suited for those situations because it enforces read only state. This case will also not send a redux-loop
69
- * cmd as a third parameter because you can use redux-loops the normal way.
70
- *
71
- * Example: Using redux-loop
72
- * ```
73
- * builder.addCase(myAction, (state, action: PayloadAction<ClientAdded>, cmd) => {
74
- * state.blah = action.payload.blah; // Do normal reducer stuff
75
- *
76
- * // Create a loop, see redux-loop documentation
77
- * cmd.run(getLinkerState, {
78
- * args : [windowName],
79
- * successActionCreator : actions.initializeWindow
80
- * })
81
- * })
82
- * ```
83
- *
84
- * Use `Cmd.getState`, `Cmd.dispatch` or `Cmd.none` by importing them from redux-loop. There aren't equivalents for cmd because
85
- * redux-loop uses the "unique symbol" type which cannot be copied (or so it seems).
86
- *
87
- * Example: Using Cmd.getState
88
- * ```
89
- * cmd.run(getLinkerState, { args: [Cmd.getState] })
90
- * ```
91
- *
92
- * Example: using addNoImmerCase
93
- * ```
94
- * builder.addNoImmerCase(myAction, (state, action: PayloadAction<ClientAdded>) => {
95
- * const newState = produce(state, (draft) => {
96
- * draft.blah=action.payload.blah; // Good!
97
- * state.blah=action.payload.blah; // Typescript error, you can't modify state!
98
- * });
99
- *
100
- * // Use redux-loop the old fashioned way
101
- * return loop(
102
- * newState,
103
- * Cmd.action(actions.dummy("blah"))
104
- * )
105
- * });
106
- *
107
- * ```
108
- *
109
- * Internals:
110
- *
111
- * Like RTK, the reducer cases are reduced to single nextState and returned to redux. To extract the loops
112
- * we use the CmdProxy to temporarily store the loop commands. They are compiled into a single `Cmd.list`
113
- * at the very end of the dispatch cycle. So in effect, redux is always receiving a loop from this reducer
114
- * rather than a state. This will therefore not work correctly if redux-loops middleware is not installed!
115
- */
116
- export declare function createReducer<S>(initialState: S, mapOrBuilderCallback: (builder: ActionReducerMapBuilder<S>) => void, hook?: CreateReducerHook): Reducer<S>;
117
- /**
118
- * Use this instead of console.log() when inside of reducers. Since addCase uses
119
- * immer under the covers, console.log will print out the entire immer proxy object which is ugly
120
- */
121
- export declare const log: (label: any, value: any) => void;
122
- /**
123
- * Predicate function for comparing an actionCreator to a raw action
124
- * Example: `addMatcherCase(is(action.joinChannels), ...`
125
- */
126
- export declare const is: (actionCreator: any) => (action: AnyAction) => boolean;
127
- export {};
128
- //# sourceMappingURL=createReducer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createReducer.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/createReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAW,KAAK,EAAwB,MAAM,OAAO,CAAC;AAC7D,OAAO,EAEN,GAAG,EACH,IAAI,EASJ,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this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { produce, isDraft, isDraftable } from "immer";
13
- import { loop, Cmd, isLoop, } from "redux-loop";
14
- /**
15
- * Use `unImmer()` to safely pass objects from reducers to effects.
16
- *
17
- * @param obj Any object
18
- * @returns any
19
- */
20
- export const unImmer = (obj) => JSON.parse(JSON.stringify(obj));
21
- const formatRunCmd = (cmd) => {
22
- let obj = {
23
- RUN: cmd.func.name,
24
- };
25
- if (cmd.args && cmd.args.length > 0) {
26
- // nested if args contains an object
27
- if (cmd.args.some((arg) => typeof arg === "object"))
28
- obj.args = cmd.args;
29
- // string, for quick reading
30
- else
31
- obj.args = cmd.args.join(" ");
32
- }
33
- if (cmd.successActionCreator)
34
- obj.successActionCreator = cmd.successActionCreator.name;
35
- if (cmd.failActionCreator)
36
- obj.successActionCreator = cmd.failActionCreator.name;
37
- return obj;
38
- };
39
- const formatActionCmd = (cmd) => {
40
- const _a = cmd.actionToDispatch, { type } = _a, members = __rest(_a, ["type"]);
41
- return Object.assign({ ACTION: type }, members);
42
- };
43
- /**
44
- * Formats redux-loop cmds for very quick human perusal in redux-devtools.
45
- */
46
- const formatCmdForDisplay = (cmd) => {
47
- switch (cmd.type) {
48
- case "RUN": {
49
- return formatRunCmd(cmd);
50
- }
51
- case "LIST":
52
- return Object.assign(Object.assign({}, cmd), { cmds: cmd.cmds.map(formatCmdForDisplay) });
53
- case "MAP":
54
- return Object.assign(Object.assign({}, cmd), { tagger: cmd.tagger.name, nestedCmd: formatCmdForDisplay(cmd.nestedCmd) });
55
- case "ACTION":
56
- return formatActionCmd(cmd);
57
- case "NONE":
58
- default:
59
- return cmd;
60
- }
61
- };
62
- /**
63
- * Intercepts calls to `cmd()` within reducers. The cmds are remembered and then
64
- * consolidated into a singl Cmd.List() at the end of the reducer process (bottom of this file).
65
- */
66
- class CmdProxy {
67
- constructor() {
68
- this.commands = [];
69
- }
70
- run(fn, args) {
71
- let runCmd = Cmd.run(fn, args);
72
- this.commands.push(runCmd);
73
- return runCmd;
74
- }
75
- action(action) {
76
- let runCmd = Cmd.action(action);
77
- this.commands.push(runCmd);
78
- return runCmd;
79
- }
80
- list(cmds, options) {
81
- let runCmd = Cmd.list(cmds, options);
82
- this.commands.push(runCmd);
83
- return runCmd;
84
- }
85
- map(cmd, tagger, args) {
86
- let runCmd = Cmd.map(cmd, tagger, args);
87
- this.commands.push(runCmd);
88
- return runCmd;
89
- }
90
- clearTimeout(timerId) {
91
- let runCmd = Cmd.clearTimeout(timerId);
92
- this.commands.push(runCmd);
93
- return runCmd;
94
- }
95
- clearInterval(timerId) {
96
- let runCmd = Cmd.clearInterval(timerId);
97
- this.commands.push(runCmd);
98
- return runCmd;
99
- }
100
- setTimeout(cmd, delayMs, options) {
101
- let runCmd = Cmd.setTimeout(cmd, delayMs, options);
102
- this.commands.push(runCmd);
103
- return runCmd;
104
- }
105
- setInterval(cmd, delayMs, options) {
106
- let runCmd = Cmd.setInterval(cmd, delayMs, options);
107
- this.commands.push(runCmd);
108
- return runCmd;
109
- }
110
- }
111
- /**
112
- * A slimmed down version of RTK's builder. See comments below in createReducer() for more information.
113
- */
114
- export function executeReducerBuilderCallback(builderCallback) {
115
- // Unlike RTK, supports multiple reducer cases per action, but does not support isMatcher or default cases
116
- const actionsMap = {};
117
- const builder = {
118
- addNoImmerCase(typeOrActionCreator, reducer) {
119
- var _a;
120
- const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
121
- actionsMap[type] = ((_a = actionsMap[type]) !== null && _a !== void 0 ? _a : []).concat({ reducer });
122
- return builder;
123
- },
124
- addCase(typeOrActionCreator, loopReducer) {
125
- var _a;
126
- const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
127
- actionsMap[type] = ((_a = actionsMap[type]) !== null && _a !== void 0 ? _a : []).concat({ loopReducer });
128
- return builder;
129
- },
130
- };
131
- builderCallback(builder);
132
- return actionsMap;
133
- }
134
- /**
135
- * Runs the loop reducer on a non-draftable reducer (one that returns a value rather than using immer). This
136
- * has a little extra logic to protect against the reducer being used improperly.
137
- */
138
- const reduceNonDraftable = (loopReducer, state, action, cmdProxy) => {
139
- const resultState = loopReducer(state, action, cmdProxy);
140
- // case reducers that aren't working on immer drafts should always return a value
141
- // The sole exception is the first pass through (indicated by previousState being null)
142
- if (typeof resultState === "undefined") {
143
- if (state !== null) {
144
- throw Error("A case reducer on a non-draftable value must not return undefined");
145
- }
146
- return state;
147
- }
148
- return resultState;
149
- };
150
- /**
151
- * This is what makes the redux-toolkit style createReducer function compatible with redux-loops.
152
- * It runs the reducer (loopReducer from redux-loop) but instead of running each individual Cmd, it compiles
153
- * them into an array so that they can all be run in one swoop.
154
- */
155
- const runLoopReducer = (caseReducers, state, action, hook) => {
156
- let commands = [];
157
- const reducedState = caseReducers.reduce((previousState, caseReducer) => {
158
- const cmdProxy = new CmdProxy();
159
- hook === null || hook === void 0 ? void 0 : hook(previousState, null, action);
160
- let nextState = previousState;
161
- if (caseReducer) {
162
- const { reducer, loopReducer } = caseReducer;
163
- if (reducer) {
164
- nextState = reducer(previousState, action);
165
- if (isLoop(nextState)) {
166
- commands = commands.concat([nextState[1]]);
167
- nextState = nextState[0];
168
- }
169
- }
170
- else if (loopReducer) {
171
- if (isDraft(previousState)) {
172
- // If it's already a draft, we must already be inside a `createNextState` call,
173
- // likely because this is being wrapped in `createReducer`, `createSlice`, or nested
174
- // inside an existing draft. It's safe to just pass the draft to the mutator. We
175
- // run loopReducer here only to get the commands
176
- loopReducer(previousState, action, cmdProxy);
177
- commands = commands.concat(cmdProxy.commands);
178
- }
179
- else if (!isDraftable(previousState)) {
180
- // If state is not draftable (ex: a primitive, such as 0), we want to directly
181
- // return the caseReducer func and not wrap it with produce.
182
- nextState = reduceNonDraftable(loopReducer, previousState, action, cmdProxy);
183
- }
184
- else {
185
- nextState = produce(previousState, (draft) => {
186
- loopReducer(draft, action, cmdProxy);
187
- commands = commands.concat(cmdProxy.commands);
188
- });
189
- }
190
- }
191
- }
192
- return nextState;
193
- }, state);
194
- return { reducedState, commands };
195
- };
196
- /**
197
- * This requires that redux-loops middleware has been installed in the store.
198
- *
199
- * This is a forked version of the custom createReducer() from React-Toolkit (RTK).
200
- * This version adds support for redux-loops by passing a `cmd` as an optional third parameter in the reducer call.
201
- * That `cmd` is a proxy for redux-loop's "Cmd" and can be use in the same way.
202
- *
203
- * Unlike RTK's createReducer, this version does allow you to add multiple reducer cases for the same dispatch. Be
204
- * careful not to make assumptions about which reducer will run first! This is best used when there are no dependencies.
205
- *
206
- * The following RTK functionality has been removed: addMatcher(), addDefaultCase(), "Map Object" notation
207
- *
208
- * Direct state mutation via return values is still supported but a special builder function `addNoImmerCase`
209
- * is better suited for those situations because it enforces read only state. This case will also not send a redux-loop
210
- * cmd as a third parameter because you can use redux-loops the normal way.
211
- *
212
- * Example: Using redux-loop
213
- * ```
214
- * builder.addCase(myAction, (state, action: PayloadAction<ClientAdded>, cmd) => {
215
- * state.blah = action.payload.blah; // Do normal reducer stuff
216
- *
217
- * // Create a loop, see redux-loop documentation
218
- * cmd.run(getLinkerState, {
219
- * args : [windowName],
220
- * successActionCreator : actions.initializeWindow
221
- * })
222
- * })
223
- * ```
224
- *
225
- * Use `Cmd.getState`, `Cmd.dispatch` or `Cmd.none` by importing them from redux-loop. There aren't equivalents for cmd because
226
- * redux-loop uses the "unique symbol" type which cannot be copied (or so it seems).
227
- *
228
- * Example: Using Cmd.getState
229
- * ```
230
- * cmd.run(getLinkerState, { args: [Cmd.getState] })
231
- * ```
232
- *
233
- * Example: using addNoImmerCase
234
- * ```
235
- * builder.addNoImmerCase(myAction, (state, action: PayloadAction<ClientAdded>) => {
236
- * const newState = produce(state, (draft) => {
237
- * draft.blah=action.payload.blah; // Good!
238
- * state.blah=action.payload.blah; // Typescript error, you can't modify state!
239
- * });
240
- *
241
- * // Use redux-loop the old fashioned way
242
- * return loop(
243
- * newState,
244
- * Cmd.action(actions.dummy("blah"))
245
- * )
246
- * });
247
- *
248
- * ```
249
- *
250
- * Internals:
251
- *
252
- * Like RTK, the reducer cases are reduced to single nextState and returned to redux. To extract the loops
253
- * we use the CmdProxy to temporarily store the loop commands. They are compiled into a single `Cmd.list`
254
- * at the very end of the dispatch cycle. So in effect, redux is always receiving a loop from this reducer
255
- * rather than a state. This will therefore not work correctly if redux-loops middleware is not installed!
256
- */
257
- export function createReducer(initialState, mapOrBuilderCallback, hook) {
258
- const actionsMap = executeReducerBuilderCallback(mapOrBuilderCallback);
259
- return function (state = initialState, action) {
260
- const caseReducers = actionsMap[action.type];
261
- if (!(caseReducers === null || caseReducers === void 0 ? void 0 : caseReducers.length)) {
262
- return state;
263
- }
264
- const { reducedState, commands } = runLoopReducer(caseReducers, state, action, hook);
265
- const cmds = Cmd.list(commands);
266
- /**
267
- * If any cmds are to be run, inject them into state so that we can see them using devtools.
268
- * We jump through some hoops here in order to format the result for the quickest observation.
269
- * The convoluted code is worth the result.
270
- */
271
- // Scrub out the old @@cmds
272
- const _a = reducedState, { "@@cmds": oldCmds } = _a, scrubbedState = __rest(_a, ["@@cmds"]);
273
- const oneOrNoneCommandState = cmds.cmds.length == 1
274
- ? Object.assign(Object.assign({}, scrubbedState), { "@@cmds": formatCmdForDisplay(cmds.cmds[0]) }) : scrubbedState;
275
- // Add in the new @@cmds, if any
276
- const loopEnhancedState = cmds.cmds.length > 1
277
- ? Object.assign(Object.assign({}, scrubbedState), { "@@cmds": cmds.cmds.map((cmd) => formatCmdForDisplay(cmd)) }) : oneOrNoneCommandState;
278
- // Hard casting to avoid the store thinking it is a `Loop<S> | S` type
279
- // This is okay because redux-loop middleware extracts the loops inside of redux
280
- return loop(loopEnhancedState, cmds);
281
- };
282
- }
283
- /**
284
- * Use this instead of console.log() when inside of reducers. Since addCase uses
285
- * immer under the covers, console.log will print out the entire immer proxy object which is ugly
286
- */
287
- export const log = (label, value) => {
288
- if (value)
289
- console.log(label, JSON.parse(JSON.stringify(value)));
290
- else
291
- console.log(label, value);
292
- };
293
- /**
294
- * Predicate function for comparing an actionCreator to a raw action
295
- * Example: `addMatcherCase(is(action.joinChannels), ...`
296
- */
297
- export const is = (actionCreator) => (action) => action.type === actionCreator.type;
298
- //# sourceMappingURL=createReducer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createReducer.js","sourceRoot":"","sources":["../../../../src/common/redux/createReducer.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,OAAO,EAAE,OAAO,EAAS,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EACN,IAAI,EACJ,GAAG,EAGH,MAAM,GAON,MAAM,YAAY,CAAC;AAEpB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAmDrE,MAAM,YAAY,GAAG,CAAC,GAAW,EAAE,EAAE;IACpC,IAAI,GAAG,GAAQ;QACd,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,IAAI;KAClB,CAAC;IACF,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;QACpC,oCAAoC;QACpC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC;YAAE,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACzE,4BAA4B;;YACvB,GAAG,CAAC,IA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AAE,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,EAAE,GACd,CAAC,aAAkB,EAAoC,EAAE,CACzD,CAAC,MAAiB,EAAE,EAAE,CACrB,MAAM,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC"}
@@ -1,3 +0,0 @@
1
- export { remoteReduxClientEnhancer, remoteReduxServerEnhancer } from "./remoteReduxEnhancer";
2
- export { createReducer, CreateReducerHook } from "./createReducer";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/redux/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- export { remoteReduxClientEnhancer, remoteReduxServerEnhancer } from "./remoteReduxEnhancer";
2
- export { createReducer } from "./createReducer";
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/redux/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAqB,MAAM,iBAAiB,CAAC"}
@@ -1,11 +0,0 @@
1
- export declare class ObjectPool<T = any> {
2
- objects: Record<string, T>;
3
- poolName: string;
4
- constructor(name: string);
5
- get(name: string, throwError?: boolean): T;
6
- remove(name: string, throwError?: boolean): void;
7
- add(name: string, obj: T): void;
8
- iterator(): Generator<T, void, unknown>;
9
- getAll(): Record<string, T>;
10
- }
11
- //# sourceMappingURL=ObjectPool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ObjectPool.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform/services/window/Common/Pools/ObjectPool.ts"],"names":[],"mappings":"AACA,qBAAa,UAAU,CAAC,CAAC,GAAG,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAE3B,QAAQ,EAAE,MAAM,CAAC;gBAEL,IAAI,EAAE,MAAM;IAKxB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAE,OAAc,GAAG,CAAC;IAYhD,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAE,OAAc,GAAG,IAAI;IAStD,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI;IAS9B,QAAQ;IAOT,MAAM;CAGN"}
@@ -1,43 +0,0 @@
1
- import Logger from "../../../../../clients/logger";
2
- export class ObjectPool {
3
- constructor(name) {
4
- this.objects = {};
5
- this.poolName = name;
6
- }
7
- get(name, throwError = true) {
8
- let result;
9
- if (!this.objects.hasOwnProperty(name)) {
10
- if (throwError && name) {
11
- Logger.system.debug(`${this.poolName} pool.get failed for ${name}`);
12
- }
13
- }
14
- else {
15
- result = this.objects[name];
16
- }
17
- return result;
18
- }
19
- remove(name, throwError = true) {
20
- Logger.system.debug(`${this.poolName} pool.remove for ${name}`);
21
- if (throwError && !this.objects.hasOwnProperty(name)) {
22
- Logger.system.debug(`${this.poolName} pool.remove operating on non-existent value for ${name}`);
23
- }
24
- delete this.objects[name];
25
- }
26
- add(name, obj) {
27
- Logger.system.debug(`${this.poolName} pool.add for ${name}`);
28
- if (this.objects.hasOwnProperty(name)) {
29
- Logger.system.debug(`${this.poolName} pool.add overwriting existing value for ${name}`);
30
- }
31
- this.objects[name] = obj;
32
- }
33
- *iterator() {
34
- for (const name in this.objects) {
35
- const obj = this.get(name);
36
- yield obj;
37
- }
38
- }
39
- getAll() {
40
- return this.objects;
41
- }
42
- }
43
- //# sourceMappingURL=ObjectPool.js.map