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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/FEA.d.ts +54 -24
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.js +2 -2
  5. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  6. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  7. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  8. package/clients/Startup/FSBLDesktop.js +2 -4
  9. package/clients/Startup/FSBLDesktop.js.map +1 -1
  10. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  11. package/clients/Startup/unhandledErrors.js +6 -4
  12. package/clients/Startup/unhandledErrors.js.map +1 -1
  13. package/clients/Startup/windowStartup.d.ts.map +1 -1
  14. package/clients/Startup/windowStartup.js +77 -116
  15. package/clients/Startup/windowStartup.js.map +1 -1
  16. package/clients/StoreModel.d.ts +8 -8
  17. package/clients/StoreModel.js +8 -8
  18. package/clients/appsClient.d.ts +90 -0
  19. package/clients/appsClient.d.ts.map +1 -0
  20. package/clients/appsClient.js +51 -0
  21. package/clients/appsClient.js.map +1 -0
  22. package/clients/authenticationClient.d.ts +29 -27
  23. package/clients/authenticationClient.d.ts.map +1 -1
  24. package/clients/authenticationClient.js +11 -15
  25. package/clients/authenticationClient.js.map +1 -1
  26. package/clients/configClient.d.ts +134 -70
  27. package/clients/configClient.d.ts.map +1 -1
  28. package/clients/configClient.js +129 -112
  29. package/clients/configClient.js.map +1 -1
  30. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  31. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  32. package/clients/controller/DialogManagerClientController.js +213 -0
  33. package/clients/controller/DialogManagerClientController.js.map +1 -0
  34. package/clients/dialogManagerClient.d.ts +1 -75
  35. package/clients/dialogManagerClient.d.ts.map +1 -1
  36. package/clients/dialogManagerClient.js +1 -208
  37. package/clients/dialogManagerClient.js.map +1 -1
  38. package/clients/distributedStoreClient.d.ts +1 -0
  39. package/clients/distributedStoreClient.d.ts.map +1 -1
  40. package/clients/distributedStoreClient.js +1 -0
  41. package/clients/distributedStoreClient.js.map +1 -1
  42. package/clients/hotkeyClient.d.ts +18 -9
  43. package/clients/hotkeyClient.d.ts.map +1 -1
  44. package/clients/hotkeyClient.js +30 -14
  45. package/clients/hotkeyClient.js.map +1 -1
  46. package/clients/index.d.ts +2 -0
  47. package/clients/index.d.ts.map +1 -1
  48. package/clients/index.js +2 -0
  49. package/clients/index.js.map +1 -1
  50. package/clients/launcherClient.d.ts +157 -47
  51. package/clients/launcherClient.d.ts.map +1 -1
  52. package/clients/launcherClient.js +201 -22
  53. package/clients/launcherClient.js.map +1 -1
  54. package/clients/logger.d.ts.map +1 -1
  55. package/clients/logger.js +43 -41
  56. package/clients/logger.js.map +1 -1
  57. package/clients/notificationClient.d.ts +2 -2
  58. package/clients/notificationClient.d.ts.map +1 -1
  59. package/clients/notificationClient.js +2 -2
  60. package/clients/notificationClient.js.map +1 -1
  61. package/clients/routerClient.d.ts +25 -21
  62. package/clients/routerClient.d.ts.map +1 -1
  63. package/clients/routerClient.js +24 -20
  64. package/clients/routerClient.js.map +1 -1
  65. package/clients/searchClient.d.ts +2 -2
  66. package/clients/searchClient.js +2 -2
  67. package/clients/storageClient.d.ts +8 -5
  68. package/clients/storageClient.d.ts.map +1 -1
  69. package/clients/storageClient.js +7 -5
  70. package/clients/storageClient.js.map +1 -1
  71. package/clients/windowClient.d.ts +160 -79
  72. package/clients/windowClient.d.ts.map +1 -1
  73. package/clients/windowClient.js +244 -138
  74. package/clients/windowClient.js.map +1 -1
  75. package/clients/workspaceClient.d.ts +19 -14
  76. package/clients/workspaceClient.d.ts.map +1 -1
  77. package/clients/workspaceClient.js +15 -9
  78. package/clients/workspaceClient.js.map +1 -1
  79. package/common/Desktop.d.ts +9 -50
  80. package/common/Desktop.d.ts.map +1 -1
  81. package/common/Desktop.js +11 -64
  82. package/common/Desktop.js.map +1 -1
  83. package/common/FinsembleWindow.d.ts +4 -107
  84. package/common/FinsembleWindow.d.ts.map +1 -1
  85. package/common/FinsembleWindow.js +21 -342
  86. package/common/FinsembleWindow.js.map +1 -1
  87. package/common/Monitors.d.ts +30 -18
  88. package/common/Monitors.d.ts.map +1 -1
  89. package/common/Monitors.js +45 -80
  90. package/common/Monitors.js.map +1 -1
  91. package/common/Singleton.d.ts +7 -1
  92. package/common/Singleton.d.ts.map +1 -1
  93. package/common/Singleton.js +24 -11
  94. package/common/Singleton.js.map +1 -1
  95. package/common/constants.d.ts +3 -9
  96. package/common/constants.d.ts.map +1 -1
  97. package/common/constants.js +3 -14
  98. package/common/constants.js.map +1 -1
  99. package/common/events/FinsembleEvent.d.ts +1 -1
  100. package/common/events/FinsembleEvent.d.ts.map +1 -1
  101. package/common/redux/getRemoteStore.d.ts +53 -0
  102. package/common/redux/getRemoteStore.d.ts.map +1 -0
  103. package/common/redux/getRemoteStore.js +50 -0
  104. package/common/redux/getRemoteStore.js.map +1 -0
  105. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  106. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  107. package/common/redux/remoteReduxEnhancer.js +35 -20
  108. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  109. package/common/redux/types.d.ts +14 -1
  110. package/common/redux/types.d.ts.map +1 -1
  111. package/common/systemManagerClient.d.ts +11 -5
  112. package/common/systemManagerClient.d.ts.map +1 -1
  113. package/common/systemManagerClient.js +25 -8
  114. package/common/systemManagerClient.js.map +1 -1
  115. package/common/util.d.ts +1 -7
  116. package/common/util.d.ts.map +1 -1
  117. package/common/util.js +1 -14
  118. package/common/util.js.map +1 -1
  119. package/deprecated/deprecatedFunctions.d.ts +1 -1
  120. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  121. package/deprecated/deprecatedFunctions.js +1 -2
  122. package/deprecated/deprecatedFunctions.js.map +1 -1
  123. package/deprecated/dragAndDropClient.d.ts +3 -3
  124. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  125. package/deprecated/dragAndDropClient.js.map +1 -1
  126. package/deprecated/linkerClient.d.ts +1 -1
  127. package/deprecated/linkerClient.d.ts.map +1 -1
  128. package/main.d.ts +289 -190
  129. package/main.d.ts.map +1 -1
  130. package/main.js +3 -1
  131. package/main.js.map +1 -1
  132. package/package.json +3 -3
  133. package/platform/services/Interop/types.d.ts +2 -1
  134. package/platform/services/Interop/types.d.ts.map +1 -1
  135. package/platform/services/router/types.d.ts +5 -6
  136. package/platform/services/router/types.d.ts.map +1 -1
  137. package/platform/services/systemManager/_constants.d.ts +1 -0
  138. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  139. package/platform/services/systemManager/_constants.js +1 -0
  140. package/platform/services/systemManager/_constants.js.map +1 -1
  141. package/platform/services/window/modules/actions.d.ts +59 -0
  142. package/platform/services/window/modules/actions.d.ts.map +1 -0
  143. package/platform/services/window/modules/actions.js +57 -0
  144. package/platform/services/window/modules/actions.js.map +1 -0
  145. package/platform/services/window/types.d.ts +257 -50
  146. package/platform/services/window/types.d.ts.map +1 -1
  147. package/platform/services/workspace/types.d.ts +4 -3
  148. package/platform/services/workspace/types.d.ts.map +1 -1
  149. package/react/assets/css/core/icons.css +0 -5
  150. package/react/assets/css/processMonitor.css +9 -4
  151. package/react/assets/css/windowTitleBar.css +98 -285
  152. package/react/assets/icons/chevron-down.svg +1 -0
  153. package/react/assets/icons/chevron-up.svg +1 -0
  154. package/react/components/common/ButtonRow.d.ts.map +1 -1
  155. package/react/components/common/ButtonRow.js +4 -9
  156. package/react/components/common/ButtonRow.js.map +1 -1
  157. package/react/components/common/ContextMenu.d.ts.map +1 -1
  158. package/react/components/common/ContextMenu.js +2 -10
  159. package/react/components/common/ContextMenu.js.map +1 -1
  160. package/react/components/common/DropdownButton.d.ts.map +1 -1
  161. package/react/components/common/DropdownButton.js +11 -24
  162. package/react/components/common/DropdownButton.js.map +1 -1
  163. package/react/components/common/FinsembleIcon.d.ts +1 -1
  164. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  165. package/react/components/common/FinsembleIcon.js +6 -4
  166. package/react/components/common/FinsembleIcon.js.map +1 -1
  167. package/react/components/common/css/accordion.css +9 -21
  168. package/react/components/common/css/application-edit-page.css +0 -4
  169. package/react/components/common/css/selector.css +3 -1
  170. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  171. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  172. package/react/components/downloadManager/DownloadManager.js +2 -4
  173. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  174. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  175. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  176. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  177. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  178. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  179. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  180. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  181. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  182. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  183. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  184. package/react/components/linker/remoteRedux.d.ts +2 -9
  185. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  186. package/react/components/linker/remoteRedux.js +2 -22
  187. package/react/components/linker/remoteRedux.js.map +1 -1
  188. package/react/components/notifications/css/notification-center.css +2 -0
  189. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  190. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  191. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  192. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  193. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  194. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  195. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  196. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  197. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  198. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  199. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  200. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  201. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  202. package/react/components/processMonitor/components/ListHeader.js +3 -2
  203. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  204. package/react/components/processMonitor/components/Process.d.ts +10 -0
  205. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  206. package/react/components/processMonitor/components/Process.js +11 -0
  207. package/react/components/processMonitor/components/Process.js.map +1 -0
  208. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  209. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  210. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  211. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  212. package/react/components/processMonitor/constants.d.ts +1 -2
  213. package/react/components/processMonitor/constants.d.ts.map +1 -1
  214. package/react/components/processMonitor/constants.js +2 -8
  215. package/react/components/processMonitor/constants.js.map +1 -1
  216. package/react/components/processMonitor/helpers.d.ts +0 -1
  217. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  218. package/react/components/processMonitor/helpers.js +2 -9
  219. package/react/components/processMonitor/helpers.js.map +1 -1
  220. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  221. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  222. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  223. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  224. package/react/components/search/SearchInput.d.ts +1 -2
  225. package/react/components/search/SearchInput.d.ts.map +1 -1
  226. package/react/components/search/SearchInput.js +11 -13
  227. package/react/components/search/SearchInput.js.map +1 -1
  228. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  229. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  230. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  231. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  232. package/react/components/singleInputDialog/SingleInputDialog.js +81 -100
  233. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  234. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  235. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  236. package/react/components/toolbar/ToolbarShell.js +3 -2
  237. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  238. package/react/components/utils.d.ts +50 -0
  239. package/react/components/utils.d.ts.map +1 -0
  240. package/react/components/utils.js +60 -0
  241. package/react/components/utils.js.map +1 -0
  242. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  243. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  244. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  245. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  246. package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  247. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  248. package/react/components/windowTitleBar/CloseButton.js +22 -0
  249. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  250. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  251. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  252. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  253. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  254. package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  255. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  256. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  257. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  258. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  259. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  260. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  261. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  262. package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
  263. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  264. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  265. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  266. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  267. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  268. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  269. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  270. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  271. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  272. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  273. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  274. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  275. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  276. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  277. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  278. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  279. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  280. package/react/components/windowTitleBar/ShareButton.js +24 -0
  281. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  282. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  283. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  284. package/react/components/windowTitleBar/TabRegion.js +453 -0
  285. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  286. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  287. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  288. package/react/components/windowTitleBar/TabTitle.js +17 -0
  289. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  290. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  291. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  292. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  293. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  294. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  295. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  296. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  297. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  298. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  299. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  300. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  301. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  302. package/react/components/windowTitleBar/index.d.ts +9 -8
  303. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  304. package/react/components/windowTitleBar/index.js +9 -8
  305. package/react/components/windowTitleBar/index.js.map +1 -1
  306. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  307. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  308. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  309. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  310. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  311. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  312. package/react/components/windowTitleBar/useMaximize.js +23 -0
  313. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  314. package/react/components/yesNoDialog/timer.js +2 -1
  315. package/react/components/yesNoDialog/timer.js.map +1 -1
  316. package/react/hooks/useDashbar.d.ts.map +1 -1
  317. package/react/hooks/useDashbar.js.map +1 -1
  318. package/react/hooks/useDragRegion.d.ts +27 -0
  319. package/react/hooks/useDragRegion.d.ts.map +1 -0
  320. package/react/hooks/useDragRegion.js +74 -0
  321. package/react/hooks/useDragRegion.js.map +1 -0
  322. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  323. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  324. package/react/hooks/useInjectedTitleBar.js +365 -0
  325. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  326. package/react/hooks/useNotifications.d.ts +1 -1
  327. package/react/hooks/useToolbar.d.ts +1 -0
  328. package/react/hooks/useToolbar.d.ts.map +1 -1
  329. package/react/hooks/useToolbar.js +13 -3
  330. package/react/hooks/useToolbar.js.map +1 -1
  331. package/typedoc-types.d.ts +9 -0
  332. package/typedoc-types.d.ts.map +1 -0
  333. package/typedoc-types.js +6 -0
  334. package/typedoc-types.js.map +1 -0
  335. package/types.d.ts +5 -11
  336. package/types.d.ts.map +1 -1
  337. package/types.js +2 -0
  338. package/types.js.map +1 -1
  339. package/common/events/PrivateEventManager.d.ts +0 -95
  340. package/common/events/PrivateEventManager.d.ts.map +0 -1
  341. package/common/events/PrivateEventManager.js +0 -295
  342. package/common/events/PrivateEventManager.js.map +0 -1
  343. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  344. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  345. package/common/events/PrivateFinsembleEvent.js +0 -65
  346. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  347. package/common/redux/createReducer.d.ts +0 -128
  348. package/common/redux/createReducer.d.ts.map +0 -1
  349. package/common/redux/createReducer.js +0 -298
  350. package/common/redux/createReducer.js.map +0 -1
  351. package/common/redux/index.d.ts +0 -3
  352. package/common/redux/index.d.ts.map +0 -1
  353. package/common/redux/index.js +0 -3
  354. package/common/redux/index.js.map +0 -1
  355. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  356. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  357. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  358. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  359. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  360. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  361. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  362. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  363. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  364. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  365. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  366. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  367. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  368. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  369. package/platform/services/window/Docking/boxMath.js +0 -511
  370. package/platform/services/window/Docking/boxMath.js.map +0 -1
  371. package/platform/services/window/Docking/constants.d.ts +0 -29
  372. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  373. package/platform/services/window/Docking/constants.js +0 -29
  374. package/platform/services/window/Docking/constants.js.map +0 -1
  375. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  376. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  377. package/platform/services/window/Docking/dockableBox.js +0 -525
  378. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  379. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  380. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  381. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  382. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  383. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  384. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  385. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  386. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  387. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  388. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  389. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  390. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  391. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  392. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  393. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  394. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  395. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  396. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  397. package/platform/services/window/Docking/dockingMain.js +0 -2541
  398. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  399. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  400. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  401. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  402. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  403. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  404. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  405. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  406. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  407. package/platform/services/window/Docking/types.d.ts +0 -334
  408. package/platform/services/window/Docking/types.d.ts.map +0 -1
  409. package/platform/services/window/Docking/types.js +0 -12
  410. package/platform/services/window/Docking/types.js.map +0 -1
  411. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  412. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  413. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  414. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  415. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  416. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  417. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  418. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  419. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  420. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  421. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  422. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  423. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  424. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  425. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  426. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  427. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  428. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  429. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  430. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  431. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  432. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  433. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  434. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  435. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  436. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  437. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  438. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  439. package/platform/services/window/windowGroup.d.ts +0 -86
  440. package/platform/services/window/windowGroup.d.ts.map +0 -1
  441. package/platform/services/window/windowGroup.js +0 -323
  442. package/platform/services/window/windowGroup.js.map +0 -1
  443. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  444. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  445. package/platform/services/workspace/windowStorageManager.js +0 -195
  446. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  447. package/react/assets/icons/question-circle.svg +0 -6
  448. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  449. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  450. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  451. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  452. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  453. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  454. package/react/components/sdd/Appearance.helpers.js +0 -2
  455. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  456. package/react/components/shared/linkerUtil.d.ts +0 -4
  457. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  458. package/react/components/shared/linkerUtil.js +0 -10
  459. package/react/components/shared/linkerUtil.js.map +0 -1
  460. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  461. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  462. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  463. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  464. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  465. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  466. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  467. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  468. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  469. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  470. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  471. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  472. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  473. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  474. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  475. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  476. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  477. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  478. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  479. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  480. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  481. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  482. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  483. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  484. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  485. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  486. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  487. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  488. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  489. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  490. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  491. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  492. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  493. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  494. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  495. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  496. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  497. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  498. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  499. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  500. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  501. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  502. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  503. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  504. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  505. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  506. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  507. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  508. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  509. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  510. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  511. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  512. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  513. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  514. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  515. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  516. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  517. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  518. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  519. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  520. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  521. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  522. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  523. package/react/types/windowTitleBar.d.ts +0 -49
  524. package/react/types/windowTitleBar.d.ts.map +0 -1
  525. package/react/types/windowTitleBar.js +0 -2
  526. package/react/types/windowTitleBar.js.map +0 -1
@@ -1,17 +1,24 @@
1
1
  import React, { useEffect, useState } from "react";
2
- import { Button } from "../common/Button";
2
+ import { useDispatch } from "react-redux";
3
3
  import { FinsembleToggleButtonBar } from "../common/FinsembleToggleButtonBar";
4
+ import { Button } from "../common/Button";
4
5
  import { Dropdown } from "../common/Dropdown";
5
- import "./ResolverDialog.css";
6
6
  import { FEAGlobals } from "../../../common/Globals";
7
- import FloatingFocus from "@q42/floating-focus-a11y";
8
7
  import { Checkbox } from "../common/Checkbox";
9
- // import { Checkbox } from "../common/Checkbox";
10
- // The package FloatingFocus injects a focus indicator that moves around the page, but only for
11
- // keyboard users. (Mouse users don't see the indicator.) All that needs to be done is to envoke it.
12
- new FloatingFocus();
13
- export const ResolverDialog = ({ intentRaiser, onSend, onCancel, resolutionList = [], itemHover, itemBlur, showRememberCheckbox, }) => {
14
- var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ import { actions } from "../../../platform/services/window/modules/actions";
9
+ import "./ResolverDialog.css";
10
+ /**
11
+ * The showScrim/hideScrim logic is unconventional because of the UX needs. In order to display a scrim on top of AOT windows
12
+ * it is necessary to temporarily bring the scrim to the front of the z-index order. When that occurs, this resolver window
13
+ * loses its focus, trigging onmouseout events. This means that we cannot hide a window with a simple onmouseout event. Instead,
14
+ * we use an onmouseout event on the _surrounding_ DIV to trigger the hideScrim (i.e. if the user moves their mouse outside
15
+ * of a valid selection then a hideScrim event will trigger).
16
+ *
17
+ * The window service's redux store contains the back end for scrim management.
18
+ */
19
+ export const ResolverDialog = ({ intentRaiser, onSend, onCancel, resolutionList = [], showRememberCheckbox, }) => {
20
+ var _a, _b;
21
+ const dispatch = useDispatch();
15
22
  const [intentNumber, setIntentNumber] = useState(0);
16
23
  const [openNewApp, setOpenNewApp] = useState(false);
17
24
  const [rememberChoice, setRememberChoice] = useState(false);
@@ -28,30 +35,73 @@ export const ResolverDialog = ({ intentRaiser, onSend, onCancel, resolutionList
28
35
  setIntentNumber(0);
29
36
  setOpenNewApp(false);
30
37
  };
31
- const handleCancel = () => {
38
+ const cancel = () => {
32
39
  onCancel();
33
40
  reset();
34
41
  };
35
- (_e = (_d = (_c = FEAGlobals.FSBL) === null || _c === void 0 ? void 0 : _c.TestHooks) === null || _d === void 0 ? void 0 : _d.TestPoint) === null || _e === void 0 ? void 0 : _e.onAction("fdc3.UIresolver.selectNewApp", (params) => {
42
+ const showScrim = (e, windowName) => {
43
+ e === null || e === void 0 ? void 0 : e.stopPropagation();
44
+ e === null || e === void 0 ? void 0 : e.preventDefault();
45
+ if (!windowName)
46
+ return;
47
+ dispatch(actions.showScrim(windowName));
48
+ };
49
+ const hideScrim = () => {
50
+ dispatch(actions.hideScrim());
51
+ };
52
+ const pickExistingApp = (item) => {
53
+ var _a, _b;
54
+ hideScrim();
36
55
  onSend({
37
- intent: params.intentName,
38
- selectedApp: {
39
- appId: params.appId,
40
- },
56
+ intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
57
+ selectedApp: { name: item.meta.name },
58
+ windowName: item.windowName,
59
+ rememberChoice,
41
60
  });
42
- });
43
- (_h = (_g = (_f = FEAGlobals.FSBL) === null || _f === void 0 ? void 0 : _f.TestHooks) === null || _g === void 0 ? void 0 : _g.TestPoint) === null || _h === void 0 ? void 0 : _h.onAction("fdc3.UIresolver.selectByWindow", (params) => {
61
+ reset();
62
+ };
63
+ const pickNewApp = (item) => {
64
+ var _a, _b;
44
65
  onSend({
45
- intent: params.intentName,
46
- windowName: params.windowName,
66
+ intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
67
+ selectedApp: {
68
+ appId: item.appId,
69
+ },
70
+ rememberChoice,
47
71
  });
48
- });
72
+ reset();
73
+ };
49
74
  useEffect(() => {
50
75
  var _a, _b;
51
76
  setOpenNewApp(((_b = (_a = resolutionList === null || resolutionList === void 0 ? void 0 : resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.openApps) === null || _b === void 0 ? void 0 : _b.length) === 0);
52
77
  setRememberChoice(false);
53
78
  }, [intentNumber, resolutionList]);
54
- return (React.createElement("div", { className: "resolverDialog" },
79
+ // test harness, allows Live Mocha to remotely trigger onSend().
80
+ useEffect(() => {
81
+ var _a, _b, _c, _d, _e, _f;
82
+ (_c = (_b = (_a = FEAGlobals.FSBL) === null || _a === void 0 ? void 0 : _a.TestHooks) === null || _b === void 0 ? void 0 : _b.TestPoint) === null || _c === void 0 ? void 0 : _c.onAction("fdc3.UIresolver.selectNewApp", (params) => {
83
+ onSend({
84
+ intent: params.intentName,
85
+ selectedApp: {
86
+ appId: params.appId,
87
+ },
88
+ });
89
+ });
90
+ (_f = (_e = (_d = FEAGlobals.FSBL) === null || _d === void 0 ? void 0 : _d.TestHooks) === null || _e === void 0 ? void 0 : _e.TestPoint) === null || _f === void 0 ? void 0 : _f.onAction("fdc3.UIresolver.selectByWindow", (params) => {
91
+ onSend({
92
+ intent: params.intentName,
93
+ windowName: params.windowName,
94
+ });
95
+ });
96
+ }, [onSend]);
97
+ const resolutionOptions = resolutionList.map((item, index) => {
98
+ var _a;
99
+ return {
100
+ value: String(index),
101
+ label: (_a = item.intent.displayName) !== null && _a !== void 0 ? _a : item.intent.name,
102
+ };
103
+ });
104
+ return (React.createElement("div", { className: "resolverDialog", onMouseOver: hideScrim },
55
105
  React.createElement("h1", null, "FDC3 Intent Resolver"),
56
106
  React.createElement("p", null,
57
107
  "The app ",
@@ -62,13 +112,7 @@ export const ResolverDialog = ({ intentRaiser, onSend, onCancel, resolutionList
62
112
  resolutionList[intentNumber].intent.name)),
63
113
  resolutionList.length > 1 && (React.createElement("div", { className: "action-picker" },
64
114
  React.createElement("label", { htmlFor: "action-dropdown", className: "heading" }, "Pick an action"),
65
- React.createElement(Dropdown, { selected: String(intentNumber), options: resolutionList.map((item, index) => {
66
- var _a;
67
- return {
68
- value: String(index),
69
- label: (_a = item.intent.displayName) !== null && _a !== void 0 ? _a : item.intent.name,
70
- };
71
- }), onChange: (newValue) => setIntentNumber(+newValue) }))),
115
+ React.createElement(Dropdown, { selected: String(intentNumber), options: resolutionOptions, onChange: (newValue) => setIntentNumber(+newValue) }))),
72
116
  React.createElement("div", { className: "heading" }, "Which app do you want to perform the action?"),
73
117
  React.createElement(FinsembleToggleButtonBar, { selected: openNewApp, options: [
74
118
  {
@@ -85,54 +129,22 @@ export const ResolverDialog = ({ intentRaiser, onSend, onCancel, resolutionList
85
129
  } }),
86
130
  showRememberCheckbox && resolutionList.length === 1 && (React.createElement(Checkbox, { label: "Remember choice", checked: rememberChoice, onClick: () => setRememberChoice(!rememberChoice) })),
87
131
  !openNewApp && (React.createElement("div", { className: "app-list open-apps" },
88
- React.createElement("ol", null, openApps.map((item, index) => (React.createElement("li", { key: index, tabIndex: 0, onMouseOver: () => item.windowName && (itemHover === null || itemHover === void 0 ? void 0 : itemHover(item.windowName)), onFocus: () => item.windowName && (itemHover === null || itemHover === void 0 ? void 0 : itemHover(item.windowName)), onMouseOut: () => item.windowName && (itemBlur === null || itemBlur === void 0 ? void 0 : itemBlur(item.windowName)), onBlur: () => item.windowName && (itemBlur === null || itemBlur === void 0 ? void 0 : itemBlur(item.windowName)), onKeyDown: (e) => {
89
- var _a, _b;
132
+ React.createElement("ol", null, openApps.map((item, index) => (React.createElement("li", { key: index, tabIndex: 0, onMouseOver: (e) => showScrim(e, item.windowName), onFocus: () => showScrim(null, item.windowName), onBlur: () => hideScrim(), onKeyDown: (e) => {
90
133
  if (e.key === "Enter") {
91
- item.windowName && (itemBlur === null || itemBlur === void 0 ? void 0 : itemBlur(item.windowName));
92
- onSend({
93
- intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
94
- selectedApp: { name: item.meta.name },
95
- windowName: item.windowName,
96
- rememberChoice,
97
- });
98
- reset();
134
+ pickExistingApp(item);
99
135
  }
100
136
  }, onClick: () => {
101
- var _a, _b;
102
- item.windowName && (itemBlur === null || itemBlur === void 0 ? void 0 : itemBlur(item.windowName));
103
- onSend({
104
- intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
105
- selectedApp: { name: item.meta.name },
106
- windowName: item.windowName,
107
- rememberChoice,
108
- });
109
- reset();
137
+ pickExistingApp(item);
110
138
  } }, displayName(item))))))),
111
139
  openNewApp && (React.createElement("div", { className: "app-list new-apps" },
112
140
  React.createElement("ol", null, receivingApps.map((item, index) => (React.createElement("li", { key: index, tabIndex: 0, onKeyDown: (e) => {
113
- var _a, _b;
114
141
  if (e.key === "Enter") {
115
- onSend({
116
- intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
117
- selectedApp: {
118
- appId: item.appId,
119
- },
120
- rememberChoice,
121
- });
122
- reset();
142
+ pickNewApp(item);
123
143
  }
124
144
  }, onClick: () => {
125
- var _a, _b;
126
- onSend({
127
- intent: (_b = (_a = resolutionList[intentNumber]) === null || _a === void 0 ? void 0 : _a.intent) === null || _b === void 0 ? void 0 : _b.name,
128
- selectedApp: {
129
- appId: item.appId,
130
- },
131
- rememberChoice,
132
- });
133
- reset();
145
+ pickNewApp(item);
134
146
  } }, displayName(item))))))),
135
147
  React.createElement("div", { className: "action-row" },
136
- React.createElement(Button, { className: "cancel-button", fashion: "hollow", text: "Cancel", onClick: handleCancel }))));
148
+ React.createElement(Button, { className: "cancel-button", fashion: "hollow", text: "Cancel", onClick: cancel }))));
137
149
  };
138
150
  //# sourceMappingURL=ResolverDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResolverDialog.js","sourceRoot":"","sources":["../../../../../src/ui/components/fdc3Resolver/ResolverDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAA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ACd,CACL,CAAC,CACE,CACA,CACN;QAEA,UAAU,IAAI,CACd,6BAAK,SAAS,EAAC,mBAAmB;YACjC,gCACE,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,4BACC,GAAG,EAAE,KAAK,EACV,QAAQ,EAAE,CAAC,EACX,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;oBAChB,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;wBACtB,UAAU,CAAC,IAAI,CAAC,CAAC;qBACjB;gBACF,CAAC,EACD,OAAO,EAAE,GAAG,EAAE;oBACb,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClB,CAAC,IAEA,WAAW,CAAC,IAAI,CAAC,CACd,CACL,CAAC,CACE,CACA,CACN;QAED,6BAAK,SAAS,EAAC,YAAY;YAC1B,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,GAAI,CAC/E,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -11,7 +11,7 @@ export declare type FinsembleDialogTextInputProps = {
11
11
  focusOnShow?: boolean;
12
12
  inputLabel?: string;
13
13
  value?: string;
14
- onInputChange: React.ChangeEventHandler;
14
+ onInputChange: React.ChangeEventHandler<HTMLInputElement>;
15
15
  inputPattern?: string;
16
16
  ariaLabel?: string;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FinsembleDialogTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/legacyControls/FinsembleDialogTextInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,oBAAY,6BAA6B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,KAAK,CAAC,kBAAkB,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,6BAA6B,CAqE3F,CAAC"}
1
+ {"version":3,"file":"FinsembleDialogTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/legacyControls/FinsembleDialogTextInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,oBAAY,6BAA6B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,6BAA6B,CAqE3F,CAAC"}
@@ -1,11 +1,4 @@
1
- /**
2
- * Lazily create a local store that is connected via remote redux to the InteropStore. We do
3
- * this lazily to avoid import time side effects (redux's standard pattern uses a global module which is
4
- * bad practice for libraries).
5
- *
6
- * A singleton is used so that only a single store instance exists for any given window.
7
- */
8
- export declare const getStore: () => import("@reduxjs/toolkit").EnhancedStore<any, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<any, import("redux").AnyAction, undefined>], import("redux").StoreEnhancer<{
9
- dispatch: <T extends import("redux").Action<any>>(promise: Promise<T>) => Promise<T>;
1
+ export declare const getStore: () => import("@reduxjs/toolkit").EnhancedStore<any, import("redux").AnyAction, [import("redux-thunk").ThunkMiddleware<any, import("redux").AnyAction, undefined>], import("redux").StoreEnhancer<{
2
+ dispatch: import("../../../common/redux/types").PromiseDispatch;
10
3
  }, {}>[]>;
11
4
  //# sourceMappingURL=remoteRedux.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remoteRedux.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/linker/remoteRedux.ts"],"names":[],"mappings":"AAgBA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;;SAYnB,CAAC"}
1
+ {"version":3,"file":"remoteRedux.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/linker/remoteRedux.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ;;SACwF,CAAC"}
@@ -1,8 +1,4 @@
1
- import { configureStore } from "@reduxjs/toolkit";
2
- import { FEAGlobals } from "../../../common/Globals";
3
- import { singletonFactory } from "../../../common/Singleton";
4
- // The local store doesn't have any reducers, but redux requires at least one, so we provide this reducer that does nothing
5
- const noopReducer = (state) => state;
1
+ import { getRemoteStore } from "../../../common/redux/getRemoteStore";
6
2
  // The store state will come from the remote redux store, but we still need to initialize our local store with a
7
3
  // starting state that is empty.
8
4
  const emptyStore = {
@@ -10,21 +6,5 @@ const emptyStore = {
10
6
  allChannels: [],
11
7
  connectIdToJoinedChannel: {},
12
8
  };
13
- /**
14
- * Lazily create a local store that is connected via remote redux to the InteropStore. We do
15
- * this lazily to avoid import time side effects (redux's standard pattern uses a global module which is
16
- * bad practice for libraries).
17
- *
18
- * A singleton is used so that only a single store instance exists for any given window.
19
- */
20
- export const getStore = () => singletonFactory("Remote-InteropStore", () => configureStore({
21
- preloadedState: emptyStore,
22
- reducer: noopReducer,
23
- enhancers: [
24
- FEAGlobals.FSBL.remoteRedux.remoteReduxClientEnhancer({
25
- server: "@@finsemble/remoteRedux/InteropStore",
26
- slice: "linker",
27
- }),
28
- ],
29
- }));
9
+ export const getStore = () => getRemoteStore({ server: "@@finsemble/remoteRedux/InteropStore", slice: "linker", emptyStore });
30
10
  //# sourceMappingURL=remoteRedux.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remoteRedux.js","sourceRoot":"","sources":["../../../../../src/ui/components/linker/remoteRedux.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,2HAA2H;AAC3H,MAAM,WAAW,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC;AAE1C,gHAAgH;AAChH,gCAAgC;AAChC,MAAM,UAAU,GAAgB;IAC/B,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,wBAAwB,EAAE,EAAE;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAC5B,gBAAgB,CAAC,qBAAqB,EAAE,GAAG,EAAE,CAC5C,cAAc,CAAC;IACd,cAAc,EAAE,UAAU;IAC1B,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE;QACV,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC,yBAAyB,CAAC;YACrD,MAAM,EAAE,sCAAsC;YAC9C,KAAK,EAAE,QAAQ;SACf,CAAC;KACF;CACD,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"remoteRedux.js","sourceRoot":"","sources":["../../../../../src/ui/components/linker/remoteRedux.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,gHAAgH;AAChH,gCAAgC;AAChC,MAAM,UAAU,GAAgB;IAC/B,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,wBAAwB,EAAE,EAAE;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAC5B,cAAc,CAAc,EAAE,MAAM,EAAE,sCAAsC,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC"}
@@ -44,6 +44,8 @@
44
44
  flex-grow: 1;
45
45
  overflow-y: auto;
46
46
  overflow-x: hidden;
47
+ padding-left: 6px;
48
+ padding-right: 6px;
47
49
  }
48
50
 
49
51
  .cards-container::-webkit-scrollbar {
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessMonitor.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitor.tsx"],"names":[],"mappings":";AAUA,OAAO,qCAAqC,CAAC;AAqH7C;;GAEG;AACH,eAAO,MAAM,cAAc,mBAO1B,CAAC"}
1
+ {"version":3,"file":"ProcessMonitor.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitor.tsx"],"names":[],"mappings":";AAQA,OAAO,qCAAqC,CAAC;AAoF7C;;GAEG;AACH,eAAO,MAAM,cAAc,mBAO1B,CAAC"}
@@ -2,59 +2,45 @@ import React, { useEffect, useState } from "react";
2
2
  import { Title } from "../../hooks/useTitle";
3
3
  import { Store, Actions } from "./stores/ProcessMonitorStore";
4
4
  import ListHeader from "./components/ListHeader";
5
- import ProcessStatistics from "./components/ProcessStatistics";
6
- import ChildWindow from "./components/ChildWindow";
7
- import { EMPTY_TOTALS, SIMPLE_MODE_STATISTICS, ADVANCED_MODE_STATISTICS } from "./constants";
5
+ import { EMPTY_TOTALS } from "./constants";
8
6
  import { statReducer, roundDecimalToPrecision, bytesToSize } from "./helpers";
9
- import { ViewModeEnums } from "./ProcessMonitorTypes";
10
7
  import "../../assets/css/processMonitor.css";
11
- const isAffinityGroupProcess = (proc) => Object.values(proc.statistics.webContents || {}).some((obj) => /Affinity Group/.test(obj.windowName));
8
+ import Process from "./components/Process";
12
9
  const ProcessMonitorBase = ({ title = "Finsemble Process Monitor" }) => {
13
10
  const [processList, setProcessList] = useState([]);
14
- const [viewMode, setViewMode] = useState(ViewModeEnums.SIMPLE);
15
- /**
16
- * Handler for when we go from simple to advanced mode, or the opposite.
17
- */
18
- const onViewModeChanged = (err, response) => {
19
- let { value } = response;
20
- setViewMode(value);
21
- };
11
+ const [collapsedList, setCollapsedList] = useState(new Map());
22
12
  /**
23
13
  * Invoked at minimum, once per second. This listener handles updates that we receive from the system.
24
14
  */
25
15
  const onProcessListChanged = (err, response) => {
26
- let { value } = response;
16
+ const { value } = response;
27
17
  setProcessList(value);
28
18
  };
29
19
  useEffect(() => {
30
20
  Actions.initialize(() => {
31
21
  Store === null || Store === void 0 ? void 0 : Store.addListener({ field: "processList" }, onProcessListChanged);
32
- Store === null || Store === void 0 ? void 0 : Store.addListener({ field: "viewMode" }, onViewModeChanged);
33
22
  });
34
23
  return () => {
35
24
  Store === null || Store === void 0 ? void 0 : Store.removeListener({ field: "processList" }, onProcessListChanged);
36
- Store === null || Store === void 0 ? void 0 : Store.removeListener({ field: "viewMode" }, onViewModeChanged);
37
25
  };
38
26
  }, []);
39
27
  if (!Store)
40
28
  return null;
41
- // View modes are:
42
- // * Simple - Top-level views, showing stats: CPU, Memory
43
- // * Advanced - Expanded processes, showing stats: CPU, Memory, Peak Memory, PID
44
29
  // statReducer is an array.reduce function that will sum all of the CPU/memory usage across the app.
45
30
  const totals = processList.length ? processList.reduce(statReducer) : EMPTY_TOTALS;
46
31
  return (React.createElement("div", null,
47
32
  React.createElement(Title, { title: title }),
48
33
  React.createElement("div", { className: "process-list-wrapper" },
49
- React.createElement(ListHeader, { fields: viewMode === ViewModeEnums.SIMPLE ? SIMPLE_MODE_STATISTICS : ADVANCED_MODE_STATISTICS }),
34
+ React.createElement(ListHeader, null),
50
35
  React.createElement("div", { className: "process-list" }, processList
51
- .filter((proc) => proc.visible && (!isAffinityGroupProcess(proc) || viewMode === ViewModeEnums.ADVANCED))
52
- .map((proc, i) => {
53
- var _a;
54
- return (React.createElement("div", { key: i, className: "process" },
55
- React.createElement(ProcessStatistics, { mode: viewMode, fields: viewMode === ViewModeEnums.SIMPLE ? SIMPLE_MODE_STATISTICS : ADVANCED_MODE_STATISTICS, stats: proc.statistics }), (_a = proc.childWindows) === null || _a === void 0 ? void 0 :
56
- _a.map((cw, j) => (React.createElement(ChildWindow, { key: j, viewMode: viewMode, cw: cw })))));
57
- }))),
36
+ .filter((proc) => proc.visible)
37
+ .map((proc) => (React.createElement(Process, { proc: proc, onClick: () => {
38
+ const list = Object.assign({}, collapsedList);
39
+ const { processId } = proc.statistics;
40
+ if (processId)
41
+ list[processId] = !list[processId];
42
+ setCollapsedList(list);
43
+ }, collapsed: !!collapsedList[proc.statistics.processId || 0], key: proc.statistics.processId }))))),
58
44
  React.createElement("div", { className: "bottom-section" },
59
45
  React.createElement("div", { className: "summary-statistics-wrapper" },
60
46
  React.createElement("div", { className: "summary-statistics-header" }, "Finsemble Total Usage"),
@@ -64,15 +50,7 @@ const ProcessMonitorBase = ({ title = "Finsemble Process Monitor" }) => {
64
50
  React.createElement("div", { className: "summary-statistic-number" }, `${roundDecimalToPrecision(totals.statistics.cpuUsage, 2)}%`))),
65
51
  typeof totals.statistics.workingSetSize !== "undefined" && (React.createElement("div", { className: "summary-statistic" },
66
52
  React.createElement("div", { className: "summary-statistic-label" }, "Memory"),
67
- React.createElement("div", { className: "summary-statistic-number" }, bytesToSize(totals.statistics.workingSetSize)))))),
68
- React.createElement("div", { className: "advanced-button-wrapper" },
69
- React.createElement("div", { className: "fsbl-button advanced-button", onClick: () => {
70
- Actions.toggleViewMode();
71
- }, tabIndex: 0, role: "button", onKeyDown: (e) => {
72
- if (e.key === "Enter" || e.key === " ") {
73
- Actions.toggleViewMode();
74
- }
75
- } }, viewMode === ViewModeEnums.ADVANCED ? "Simple" : "Advanced")))));
53
+ React.createElement("div", { className: "summary-statistic-number" }, bytesToSize(totals.statistics.workingSetSize)))))))));
76
54
  };
77
55
  /**
78
56
  * The window that shows performance data for applications running in Finsemble, such as CPU and memory usage.
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessMonitor.js","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,iBAAiB,MAAM,gCAAgC,CAAC;AAC/D,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAe,aAAa,EAAmB,MAAM,uBAAuB,CAAC;AAEpF,OAAO,qCAAqC,CAAC;AAM7C,MAAM,sBAAsB,GAAG,CAAC,IAAiB,EAAE,EAAE,CACpD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;AAEvG,MAAM,kBAAkB,GAAG,CAAC,EAAE,KAAK,GAAG,2BAA2B,EAAU,EAAE,EAAE;IAC9E,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAgB,EAAE,CAAC,CAAC;IAClE,M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,EAAC,2BAA2B,4BAA4B;gBACtE,6BAAK,SAAS,EAAC,oBAAoB;oBACjC,OAAO,MAAM,CAAC,UAAU,CAAC,QAAQ,KAAK,WAAW,IAAI,CACrD,6BAAK,SAAS,EAAC,mBAAmB;wBACjC,6BAAK,SAAS,EAAC,yBAAyB,UAAU;wBAClD,6BAAK,SAAS,EAAC,0BAA0B,IAAE,GAAG,uBAAuB,CACpE,MAAM,CAAC,UAAU,CAAC,QAAQ,EAC1B,CAAC,CACD,GAAG,CAAO,CACN,CACN;oBACA,OAAO,MAAM,CAAC,UAAU,CAAC,cAAc,KAAK,WAAW,IAAI,CAC3D,6BAAK,SAAS,EAAC,mBAAmB;wBACjC,6BAAK,SAAS,EAAC,yBAAyB,aAAa;wBACrD,6BAAK,SAAS,EAAC,0BAA0B,IAAE,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,CAAC,CAAO,CAC1F,CACN,CACI,CACD,CACD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IAClC,mDAAmD;IACnD,SAAS,CAAC,GAAG,EAAE;QACd,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,oBAAC,kBAAkB,OAAG,CAAC;AAC/B,CAAC,CAAC"}
@@ -1,8 +1,4 @@
1
1
  import { ProcessInfo } from "../../../FEA";
2
- export declare enum ViewModeEnums {
3
- SIMPLE = "simple",
4
- ADVANCED = "advanced"
5
- }
6
2
  export declare type ModeStatsType = {
7
3
  label: string;
8
4
  value: "cpuUsage" | "workingSetSize" | "peakWorkingSetSize" | "processId";
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessMonitorTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitorTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,oBAAY,aAAa;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACrB;AAED,oBAAY,aAAa,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,GAAG,gBAAgB,GAAG,oBAAoB,GAAG,WAAW,CAAC;CAC1E,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IACnC,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACjC,CAAC;AAEF,oBAAY,WAAW,GAAG;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CACjC,GAAG,qBAAqB,CAAC;AAE1B,oBAAY,eAAe,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC5B,KAAK,EAAE,MAAM,qBAAqB,CAAC,YAAY,CAAC,CAAC;IACjD,SAAS,EAAE,WAAW,GAAG,YAAY,CAAC;CACtC,CAAC"}
1
+ {"version":3,"file":"ProcessMonitorTypes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitorTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,oBAAY,aAAa,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,GAAG,gBAAgB,GAAG,oBAAoB,GAAG,WAAW,CAAC;CAC1E,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IACnC,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACjC,CAAC;AAEF,oBAAY,WAAW,GAAG;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CACjC,GAAG,qBAAqB,CAAC;AAE1B,oBAAY,eAAe,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC5B,KAAK,EAAE,MAAM,qBAAqB,CAAC,YAAY,CAAC,CAAC;IACjD,SAAS,EAAE,WAAW,GAAG,YAAY,CAAC;CACtC,CAAC"}
@@ -1,6 +1,2 @@
1
- export var ViewModeEnums;
2
- (function (ViewModeEnums) {
3
- ViewModeEnums["SIMPLE"] = "simple";
4
- ViewModeEnums["ADVANCED"] = "advanced";
5
- })(ViewModeEnums || (ViewModeEnums = {}));
1
+ export {};
6
2
  //# sourceMappingURL=ProcessMonitorTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessMonitorTypes.js","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitorTypes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;AACtB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB"}
1
+ {"version":3,"file":"ProcessMonitorTypes.js","sourceRoot":"","sources":["../../../../../src/ui/components/processMonitor/ProcessMonitorTypes.ts"],"names":[],"mappings":""}
@@ -1,13 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { ChildWindowType, ViewModeEnums } from "../ProcessMonitorTypes";
2
+ import { ChildWindowType } from "../ProcessMonitorTypes";
3
3
  interface IProps {
4
4
  cw: ChildWindowType;
5
- viewMode: ViewModeEnums;
6
5
  }
7
6
  /**
8
7
  * This file is the react component for an individual window beneath a process. It allows the user
9
8
  * to close the window.
10
9
  */
11
- declare const ChildWindow: ({ cw, viewMode }: IProps) => JSX.Element;
10
+ declare const ChildWindow: ({ cw }: IProps) => JSX.Element;
12
11
  export default ChildWindow;
13
12
  //# sourceMappingURL=ChildWindow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChildWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ChildWindow.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGxE,UAAU,MAAM;IACf,EAAE,EAAE,eAAe,CAAC;IACpB,QAAQ,EAAE,aAAa,CAAC;CACxB;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,qBAAsB,MAAM,gBA8C5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ChildWindow.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ChildWindow.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,UAAU,MAAM;IACf,EAAE,EAAE,eAAe,CAAC;CACpB;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,WAAY,MAAM,gBA0ClC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,15 +1,12 @@
1
1
  import React from "react";
2
- import { ViewModeEnums } from "../ProcessMonitorTypes";
3
2
  import { Actions } from "../stores/ProcessMonitorStore";
4
3
  /**
5
4
  * This file is the react component for an individual window beneath a process. It allows the user
6
5
  * to close the window.
7
6
  */
8
- const ChildWindow = ({ cw, viewMode }) => {
9
- // If we're in simple mode, onClick does nothing. In advanced mode, we'll identify the window
10
- // by making it flash.
11
- const simpleClickHandler = () => { };
12
- const advancedClickHandler = () => {
7
+ const ChildWindow = ({ cw }) => {
8
+ // identify the window by making it flash.
9
+ const clickHandler = () => {
13
10
  Actions.getFlashingState((err, flashState) => {
14
11
  if (err) {
15
12
  console.error("Error getting current flashing state of window.", err);
@@ -20,8 +17,7 @@ const ChildWindow = ({ cw, viewMode }) => {
20
17
  }
21
18
  });
22
19
  };
23
- const cwClickHandler = viewMode === ViewModeEnums.SIMPLE ? simpleClickHandler : advancedClickHandler;
24
- const childWindowClasses = `child-window ${viewMode}`;
20
+ const childWindowClasses = `child-window`;
25
21
  const { windowName, type, webContentsName } = cw;
26
22
  return (React.createElement("div", { className: childWindowClasses },
27
23
  React.createElement("div", { className: "child-window-actions" }, type === "window" && (React.createElement("i", { className: "close-window ff-close", onClick: () => {
@@ -31,7 +27,7 @@ const ChildWindow = ({ cw, viewMode }) => {
31
27
  Actions.closeWindow(windowName);
32
28
  }
33
29
  } }))),
34
- React.createElement("div", { className: "child-window-name", onClick: cwClickHandler }, webContentsName)));
30
+ React.createElement("div", { className: "child-window-name", onClick: clickHandler }, webContentsName)));
35
31
  };
36
32
  export default ChildWindow;
37
33
  //# sourceMappingURL=ChildWindow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChildWindow.js","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ChildWindow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAmB,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAOxD;;;GAGG;AACH,MAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAU,EAAE,EAAE;IAChD,6FAA6F;IAC7F,sBAAsB;IACtB,MAAM,kBAAkB,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;IACpC,MAAM,oBAAoB,GAAG,GAAG,EAAE;QACjC,OAAO,CAAC,gBAAgB,CAAC,CAAC,GAAkB,EAAE,UAAmB,EAAE,EAAE;YACpE,IAAI,GAAG,EAAE;gBACR,OAAO,CAAC,KAAK,CAAC,iDAAiD,EAAE,GAAG,CAAC,CAAC;aACtE;YAED,6CAA6C;YAC7C,IAAI,CAAC,UAAU,EAAE;gBAChB,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;aAC3B;QACF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,QAAQ,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,oBAAoB,CAAC;IAErG,MAAM,kBAAkB,GAAG,gBAAgB,QAAQ,EAAE,CAAC;IACtD,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC;IAEjD,OAAO,CACN,6BAAK,SAAS,EAAE,kBAAkB;QACjC,6BAAK,SAAS,EAAC,sBAAsB,IACnC,IAAI,KAAK,QAAQ,IAAI,CACrB,2BACC,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,GAAG,EAAE;gBACb,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YACjC,CAAC,EACD,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAsB,EAAE,EAAE;gBACrC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;oBACvC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;iBAChC;YACF,CAAC,GACG,CACL,CACI;QACN,6BAAK,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,cAAc,IACxD,eAAe,CACX,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ChildWindow.js","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ChildWindow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAMxD;;;GAGG;AACH,MAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAU,EAAE,EAAE;IACtC,0CAA0C;IAC1C,MAAM,YAAY,GAAG,GAAG,EAAE;QACzB,OAAO,CAAC,gBAAgB,CAAC,CAAC,GAAkB,EAAE,UAAmB,EAAE,EAAE;YACpE,IAAI,GAAG,EAAE;gBACR,OAAO,CAAC,KAAK,CAAC,iDAAiD,EAAE,GAAG,CAAC,CAAC;aACtE;YAED,6CAA6C;YAC7C,IAAI,CAAC,UAAU,EAAE;gBAChB,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;aAC3B;QACF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,kBAAkB,GAAG,cAAc,CAAC;IAC1C,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC;IAEjD,OAAO,CACN,6BAAK,SAAS,EAAE,kBAAkB;QACjC,6BAAK,SAAS,EAAC,sBAAsB,IACnC,IAAI,KAAK,QAAQ,IAAI,CACrB,2BACC,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,GAAG,EAAE;gBACb,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YACjC,CAAC,EACD,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAsB,EAAE,EAAE;gBACrC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;oBACvC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;iBAChC;YACF,CAAC,GACG,CACL,CACI;QACN,6BAAK,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,YAAY,IACtD,eAAe,CACX,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,13 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { ModeStatsType } from "../ProcessMonitorTypes";
3
- interface IProps {
4
- fields: ModeStatsType[];
5
- }
6
2
  /**
7
3
  * This is the "table header" that shows which columns are visible.
8
4
  * Since we aren't using an HTML table, this component exists.
9
5
  * It handles column display and sorting.
10
6
  **/
11
- declare const ListHeader: (props: IProps) => JSX.Element;
7
+ declare const ListHeader: () => JSX.Element;
12
8
  export default ListHeader;
13
9
  //# sourceMappingURL=ListHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ListHeader.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAkB,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvE,UAAU,MAAM;IACf,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB;AAED;;;;IAII;AACJ,QAAA,MAAM,UAAU,UAAW,MAAM,gBAkFhC,CAAC;AACF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ListHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ListHeader.tsx"],"names":[],"mappings":";AAMA;;;;IAII;AACJ,QAAA,MAAM,UAAU,mBAkFf,CAAC;AACF,eAAe,UAAU,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
2
  import { Store, Actions } from "../stores/ProcessMonitorStore";
3
+ import { STATISTICS } from "../constants";
3
4
  /**
4
5
  * This is the "table header" that shows which columns are visible.
5
6
  * Since we aren't using an HTML table, this component exists.
6
7
  * It handles column display and sorting.
7
8
  **/
8
- const ListHeader = (props) => {
9
+ const ListHeader = () => {
9
10
  const [sort, setSort] = React.useState();
10
11
  // When the sort value changes in the store, change it locally, and re-render the direction arrow.
11
12
  const onSortChanged = (err, response) => {
@@ -35,7 +36,7 @@ const ListHeader = (props) => {
35
36
  "Name",
36
37
  (sort === null || sort === void 0 ? void 0 : sort.field) === "name" ? (sort.direction === "ascending" ? (React.createElement("i", { className: "sort-direction ff-arrow-up" })) : (React.createElement("i", { className: "sort-direction ff-arrow-down" }))) : null),
37
38
  React.createElement("div", { className: "list-header-statistic-labels" },
38
- props.fields.map((field, i) => (React.createElement("div", { key: i, className: "list-header-statistic-label", onClick: () => {
39
+ STATISTICS.map((field, i) => (React.createElement("div", { key: i, className: "list-header-statistic-label", onClick: () => {
39
40
  Actions.setSort(field.value);
40
41
  }, tabIndex: 0, role: "button", onKeyDown: (e) => {
41
42
  if (e.key === "Enter" || e.key === " ") {
@@ -1 +1 @@
1
- {"version":3,"file":"ListHeader.js","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ListHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAQ/D;;;;IAII;AACJ,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE;IACpC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,EAAkB,CAAC;IAEzD,kGAAkG;IAClG,MAAM,aAAa,GAAG,CAAC,GAAkB,EAAE,QAAmC,EAAE,EAAE;QACjF,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;QACzB,OAAO,CAAC,KAAK,CAAC,CAAC;IAChB,CAAC,CAAC;IAEF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACpB,MAAM,OAAO,GAAG,KAAK,IAAI,EAAE;YAC1B,MAAM,MAAM,GAAG,MAAM,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA,CAAC;YAC1C,OAAO,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAsB,CAAC,CAAC;QACzC,CAAC,CAAC;QAEF,OAAO,EAAE,CAAC;QAEV,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,CAAC;QACrD,OAAO,GAAG,EAAE;YACX,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,CAAC;QACzD,CAAC,CAAC;IACH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K,CAAC,KAAK,CAAC,CAAC;qBAC7B;gBACF,CAAC;gBAEA,KAAK,CAAC,KAAK;gBAEX,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,MAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAC9B,IAAI,CAAC,SAAS,KAAK,WAAW,CAAC,CAAC,CAAC,CAChC,2BAAG,SAAS,EAAC,4BAA4B,GAAK,CAC9C,CAAC,CAAC,CAAC,CACH,2BAAG,SAAS,EAAC,8BAA8B,GAAK,CAChD,CACD,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC;YACF,6BAAK,SAAS,EAAC,6BAA6B,GAAO,CAC9C,CACD,CACN,CAAC;AACH,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ListHeader.js","sourceRoot":"","sources":["../../../../../../src/ui/components/processMonitor/components/ListHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;IAII;AACJ,MAAM,UAAU,GAAG,GAAG,EAAE;IACvB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,EAAkB,CAAC;IAEzD,kGAAkG;IAClG,MAAM,aAAa,GAAG,CAAC,GAAkB,EAAE,QAAmC,EAAE,EAAE;QACjF,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;QACzB,OAAO,CAAC,KAAK,CAAC,CAAC;IAChB,CAAC,CAAC;IAEF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACpB,MAAM,OAAO,GAAG,KAAK,IAAI,EAAE;YAC1B,MAAM,MAAM,GAAG,MAAM,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,CAAC,CAAC,MAAM,CAAC,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