@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
@@ -0,0 +1,213 @@
1
+ import { DistributedStoreClient } from "../distributedStoreClient";
2
+ import { FinsembleWindow } from "../../common/FinsembleWindow";
3
+ import { Logger } from "../logger";
4
+ import { System } from "../../common/system";
5
+ import { getMyWindowIdentifier } from "../../common/util";
6
+ import { Globals } from "../../common/Globals";
7
+ import SystemManagerClient from "../../common/systemManagerClient";
8
+ import { series as asyncSeries } from "async";
9
+ export class DialogManagerClientController {
10
+ constructor() {
11
+ this.initialized = false;
12
+ /**
13
+ * Can be used to set a specific timeout
14
+ */
15
+ this.userInputTimeout = null;
16
+ /**
17
+ * A global store used to track which windows are registered as dialogs and their state.
18
+ * Dialogs are put in the "available" pool when they are available for use. They are put
19
+ * in the "open" pool when they are in use.
20
+ */
21
+ this.DialogStore = null;
22
+ /**
23
+ * Will be set to true if the current window is a dialog
24
+ */
25
+ this.isDialog = false;
26
+ /**
27
+ * Contains a unique channel name that a dialog can use to communicate back to
28
+ * its originating window. The originating window creates the channel as
29
+ * a query responder.
30
+ */
31
+ this.RESPONDER_CHANNEL = null;
32
+ /**
33
+ * Used to send a message back to whoever opened this dialog
34
+ */
35
+ this.openerMessage = null;
36
+ /**
37
+ * Same as FEAGlobals.finsembleWindow
38
+ */
39
+ this.finsembleWindow = null;
40
+ /**
41
+ * Will be set with the spawn data, which contains the input params and responseChannel
42
+ */
43
+ this.spawnData = {};
44
+ }
45
+ /**
46
+ * Checks whether the window is a dialog, setting this.isDialog to true or false
47
+ * @param {cb} cb The callback to be invoked after the method completes successfully.
48
+ */
49
+ async checkIfWindowIsDialog(cb) {
50
+ var _a, _b, _c, _d, _e, _f;
51
+ if (Globals.finsembleWindow) {
52
+ const { err, data: options } = await Globals.finsembleWindow.getOptions();
53
+ this.spawnData = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.spawnData) !== null && _b !== void 0 ? _b : {};
54
+ this.isDialog = (_f = (_e = (_d = (_c = options === null || options === void 0 ? void 0 : options.customData) === null || _c === void 0 ? void 0 : _c.foreign) === null || _d === void 0 ? void 0 : _d.clients) === null || _e === void 0 ? void 0 : _e.dialogManager) === null || _f === void 0 ? void 0 : _f.isDialog;
55
+ cb === null || cb === void 0 ? void 0 : cb(err);
56
+ }
57
+ else {
58
+ this.isDialog = false;
59
+ cb === null || cb === void 0 ? void 0 : cb("Freestanding apps cannot be dialogs");
60
+ }
61
+ }
62
+ /**
63
+ * Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
64
+ *
65
+ * **Note:** This method checks whether the calling window is a dialog.
66
+ * @param {function} callback The callback to be invoked after the method completes successfully.
67
+ */
68
+ async registerWithStore(cb) {
69
+ var _a;
70
+ if (this.isDialog) {
71
+ const myWindowIdentifier = await getMyWindowIdentifier();
72
+ this.RESPONDER_CHANNEL = `Dialog.${myWindowIdentifier.windowName}.Show`;
73
+ await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available", myWindowIdentifier.windowName], myWindowIdentifier));
74
+ }
75
+ cb === null || cb === void 0 ? void 0 : cb();
76
+ }
77
+ /**
78
+ * Establishes a connection to the distributed store that is used
79
+ * by all dialogs. This function may be called many times but will
80
+ * only initialize one time.
81
+ */
82
+ initializeOnce() {
83
+ return new Promise(async (resolve) => {
84
+ // Only initialize once
85
+ if (this.initialized) {
86
+ resolve();
87
+ return;
88
+ }
89
+ this.initialized = true;
90
+ await SystemManagerClient.waitForStartup("windowService");
91
+ await this.checkIfWindowIsDialog();
92
+ asyncSeries([
93
+ this.createStore.bind(this),
94
+ this.registerWithStore.bind(this),
95
+ this.getFinsembleWindow.bind(this),
96
+ (done) => {
97
+ done();
98
+ },
99
+ ], () => {
100
+ resolve();
101
+ });
102
+ });
103
+ }
104
+ /**
105
+ * Creates the global store if it doesn't exist.
106
+ * @param {function} callback
107
+ */
108
+ async createStore(cb) {
109
+ const defaults = {
110
+ dialogs: {
111
+ opened: {},
112
+ available: {},
113
+ },
114
+ };
115
+ const { err, data } = await DistributedStoreClient.createStore({
116
+ store: "DialogStore",
117
+ values: defaults,
118
+ global: true,
119
+ });
120
+ if (err || !data) {
121
+ Logger.error(`DialogManagerClient could not create store "DialogStore"`, err);
122
+ }
123
+ else {
124
+ this.DialogStore = data;
125
+ }
126
+ cb === null || cb === void 0 ? void 0 : cb();
127
+ }
128
+ /**
129
+ */
130
+ async getFinsembleWindow(cb) {
131
+ // this.finsembleWindow must only be initialized in actual dialogs. Otherwise it causes side effects in services.
132
+ if (this.isDialog) {
133
+ const { wrap } = await FinsembleWindow.getInstance({ name: System.Window.getCurrent().name });
134
+ this.finsembleWindow = wrap;
135
+ }
136
+ cb === null || cb === void 0 ? void 0 : cb();
137
+ }
138
+ async getAvailableDialog(type, cb) {
139
+ if (!this.DialogStore) {
140
+ const error = `DialogMangerClient.getAvailableDialogs() store not yet initialized}`;
141
+ Logger.system.error(error);
142
+ cb === null || cb === void 0 ? void 0 : cb(null);
143
+ return null;
144
+ }
145
+ const { err, data: availableDialogs } = await this.DialogStore.getGlobalValue("dialogs.available");
146
+ if (err) {
147
+ const error = `DialogMangerClient.getAvailableDialogs() store error ${err}`;
148
+ Logger.system.error(error);
149
+ cb === null || cb === void 0 ? void 0 : cb(null);
150
+ return null;
151
+ }
152
+ for (const dialogName in availableDialogs) {
153
+ const dialog = availableDialogs[dialogName];
154
+ if (dialog.componentType === type) {
155
+ cb === null || cb === void 0 ? void 0 : cb(dialog);
156
+ return dialog;
157
+ }
158
+ }
159
+ cb === null || cb === void 0 ? void 0 : cb(null);
160
+ return null;
161
+ }
162
+ /**
163
+ * State management - just moves an opened dialog back to the "available" pool.
164
+ * @param {object} identifier window identifier of the dialog.
165
+ */
166
+ async moveDialogFromOpenedToAvailable(identifier) {
167
+ var _a, _b;
168
+ if (!this.DialogStore) {
169
+ const error = `DialogMangerClient.moveDialogFromOpenedToAvailable() store not yet initialized}`;
170
+ Logger.system.error(error);
171
+ return error;
172
+ }
173
+ const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
174
+ if (err || !dialogs) {
175
+ const error = `DialogManagerClient.moveDialogFromOpenedToAvailable() no "dialogs" object returned from store`;
176
+ Logger.system.error(error);
177
+ return error;
178
+ }
179
+ const openedDialogs = dialogs.opened;
180
+ const availableDialogs = dialogs.available;
181
+ delete openedDialogs[identifier.windowName];
182
+ availableDialogs[identifier.windowName] = identifier;
183
+ await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "opened"], openedDialogs));
184
+ await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "available"], availableDialogs));
185
+ return null;
186
+ }
187
+ /**
188
+ * State management - just moves an available dialog out of the "available" pool.
189
+ * @param {object} identifier window identifier of the dialog.
190
+ */
191
+ async moveDialogFromAvailableToOpened(identifier) {
192
+ var _a, _b;
193
+ if (!this.DialogStore) {
194
+ const error = `DialogMangerClient.moveDialogFromAvailableToOpened() store not yet initialized}`;
195
+ Logger.system.error(error);
196
+ return error;
197
+ }
198
+ const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
199
+ if (err || !dialogs) {
200
+ const error = `DialogManagerClient.moveDialogFromAvailableToOpened no "dialogs" object returned from store`;
201
+ Logger.system.error(error);
202
+ return error;
203
+ }
204
+ const availableDialogs = dialogs.available;
205
+ const openedDialogs = dialogs.opened;
206
+ delete availableDialogs[identifier.windowName];
207
+ openedDialogs[identifier.windowName] = identifier;
208
+ await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available"], availableDialogs));
209
+ await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "opened"], openedDialogs));
210
+ return null;
211
+ }
212
+ }
213
+ //# sourceMappingURL=DialogManagerClientController.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogManagerClientController.js","sourceRoot":"","sources":["../../../../src/clients/controller/DialogManagerClientController.ts"],"names":[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C,UAAU,CAAC,CAAC;QAC/C,aAAa,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;QAElD,MAAM,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,EAAE,gBAAgB,CAAC,CAAA,CAAC;QACxE,MAAM,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAA,CAAC;QAClE,OAAO,IAAI,CAAC;IACb,CAAC;CACD"}
@@ -12,84 +12,10 @@
12
12
  * @module DialogManagerClient
13
13
  */
14
14
  import { SpawnResponse } from "./launcherClient";
15
- import { FinsembleWindow } from "../common/FinsembleWindow";
16
15
  import { SpawnParams } from "../platform/services/window/types";
17
16
  import { WindowIdentifier } from "../platform/services/window/types";
18
- import { StandardErrorCallback, StandardError, StandardPromise } from "../types";
17
+ import { StandardErrorCallback, StandardPromise } from "../types";
19
18
  import { ResponderMessage } from "./routerClient";
20
- import { StoreModel } from "./StoreModel";
21
- export declare class DialogManagerClientController {
22
- initialized: boolean;
23
- /**
24
- * Can be used to set a specific timeout
25
- */
26
- userInputTimeout: number | null;
27
- /**
28
- * A global store used to track which windows are registered as dialogs and their state.
29
- * Dialogs are put in the "available" pool when they are available for use. They are put
30
- * in the "open" pool when they are in use.
31
- */
32
- DialogStore: StoreModel | null;
33
- /**
34
- * Will be set to true if the current window is a dialog
35
- */
36
- isDialog: boolean;
37
- /**
38
- * Contains a unique channel name that a dialog can use to communicate back to
39
- * its originating window. The channel is created by the originating window as
40
- * a query responder.
41
- */
42
- RESPONDER_CHANNEL: string | null;
43
- /**
44
- * Used to send a message back to whoever opened this dialog
45
- */
46
- openerMessage: ResponderMessage | null;
47
- /**
48
- * Same as FEAGlobals.finsembleWindow
49
- */
50
- finsembleWindow: FinsembleWindow | null;
51
- /**
52
- * Will be set with the spawn data, which contains the input params and responseChannel
53
- */
54
- spawnData: any;
55
- /**
56
- * Checks to see whether the window is a dialog, setting this.isDialog to true or false
57
- * @param {cb} cb The callback to be invoked after the method completes successfully.
58
- */
59
- checkIfWindowIsDialog(cb?: (err?: StandardError) => void): Promise<void>;
60
- /**
61
- * Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
62
- *
63
- * **Note:** This method checks whether the calling window is a dialog.
64
- * @param {function} callback The callback to be invoked after the method completes successfully.
65
- */
66
- registerWithStore(cb?: () => void): Promise<void>;
67
- /**
68
- * Establishes a connection to the distributed store that is used
69
- * by all dialogs. This function may be called many times but will
70
- * only initialize one time.
71
- */
72
- initializeOnce(): Promise<void>;
73
- /**
74
- * Creates the global store if it doesn't exist.
75
- * @param {function} callback
76
- */
77
- createStore(cb?: () => void): Promise<void>;
78
- /**
79
- */
80
- getFinsembleWindow(cb?: () => void): Promise<void>;
81
- getAvailableDialog(type: string, cb?: (dialog: WindowIdentifier | null) => void): Promise<WindowIdentifier | null>;
82
- /**
83
- * State management - just moves an opened dialog back to the "available" pool.
84
- * @param {object} identifier window identifier of the dialog.
85
- */
86
- moveDialogFromOpenedToAvailable(identifier: WindowIdentifier): Promise<string | null>;
87
- /**
88
- * State management - just moves an available dialog out of the "available" pool.
89
- * @param {object} identifier window identifier of the dialog.
90
- */
91
- moveDialogFromAvailableToOpened(identifier: WindowIdentifier): Promise<string | null>;
92
- }
93
19
  /**
94
20
  * Registers this window as a modal that can be used by the dialog manager. This will set
95
21
  * the window as a "scrim" – taking up the entire size of the monitor and being invisible or lightly opaque.
@@ -1 +1 @@
1
- {"version":3,"file":"dialogManagerClient.d.ts","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAkB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,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gLiB,sBAAsB,gBAAgB,CAAC;;qDAzCpB,GAAG;;yBAhUjC,QAAQ,MAAM,GAAG,IAAI,CAAC;+BAqBf,MAAM,KAAK,IAAI,kBAAG,QAAQ,MAAM,GAAG,IAAI,CAAC;qBA+CnD,QAAQ,MAAM,GAAG,IAAI,CAAC;6BA2TZ,GAAG;CA6E/C,CAAC;AAEF;;GAEG;AACH,eAAe,mBAAmB,CAAC"}
@@ -12,222 +12,15 @@
12
12
  * @module DialogManagerClient
13
13
  */
14
14
  import { LauncherClient } from "./launcherClient";
15
- import { DistributedStoreClient } from "./distributedStoreClient";
16
15
  import { FinsembleWindow } from "../common/FinsembleWindow";
17
16
  import { Logger } from "./logger";
18
17
  import { System } from "../common/system";
19
18
  import { getMyWindowIdentifier } from "../common/util";
20
19
  import { RouterClient } from "./routerClient";
21
- import { Globals } from "../common/Globals";
22
20
  import { singleton } from "../common/Singleton";
23
- import SystemManagerClient from "../common/systemManagerClient";
24
21
  import { nameMap as legacyUINameMap } from "../deprecated/legacyUIComponentNames";
25
- import { series as asyncSeries } from "async";
22
+ import { DialogManagerClientController } from "./controller/DialogManagerClientController";
26
23
  import uuidv4 from "uuid-random";
27
- export class DialogManagerClientController {
28
- constructor() {
29
- this.initialized = false;
30
- /**
31
- * Can be used to set a specific timeout
32
- */
33
- this.userInputTimeout = null;
34
- /**
35
- * A global store used to track which windows are registered as dialogs and their state.
36
- * Dialogs are put in the "available" pool when they are available for use. They are put
37
- * in the "open" pool when they are in use.
38
- */
39
- this.DialogStore = null;
40
- /**
41
- * Will be set to true if the current window is a dialog
42
- */
43
- this.isDialog = false;
44
- /**
45
- * Contains a unique channel name that a dialog can use to communicate back to
46
- * its originating window. The channel is created by the originating window as
47
- * a query responder.
48
- */
49
- this.RESPONDER_CHANNEL = null;
50
- /**
51
- * Used to send a message back to whoever opened this dialog
52
- */
53
- this.openerMessage = null;
54
- /**
55
- * Same as FEAGlobals.finsembleWindow
56
- */
57
- this.finsembleWindow = null;
58
- /**
59
- * Will be set with the spawn data, which contains the input params and responseChannel
60
- */
61
- this.spawnData = {};
62
- }
63
- /**
64
- * Checks to see whether the window is a dialog, setting this.isDialog to true or false
65
- * @param {cb} cb The callback to be invoked after the method completes successfully.
66
- */
67
- async checkIfWindowIsDialog(cb) {
68
- var _a, _b, _c, _d, _e, _f;
69
- if (Globals.finsembleWindow) {
70
- const { err, data: options } = await Globals.finsembleWindow.getOptions();
71
- this.spawnData = (_b = (_a = options === null || options === void 0 ? void 0 : options.customData) === null || _a === void 0 ? void 0 : _a.spawnData) !== null && _b !== void 0 ? _b : {};
72
- this.isDialog = (_f = (_e = (_d = (_c = options === null || options === void 0 ? void 0 : options.customData) === null || _c === void 0 ? void 0 : _c.foreign) === null || _d === void 0 ? void 0 : _d.clients) === null || _e === void 0 ? void 0 : _e.dialogManager) === null || _f === void 0 ? void 0 : _f.isDialog;
73
- cb === null || cb === void 0 ? void 0 : cb(err);
74
- }
75
- else {
76
- this.isDialog = false;
77
- cb === null || cb === void 0 ? void 0 : cb("Freestanding apps cannot be dialogs");
78
- }
79
- }
80
- /**
81
- * Registers the window as a dialog with the global store. If the component is incapable of being used as a dialog (this is set in the component's config), the callback is immediately invoked.
82
- *
83
- * **Note:** This method checks whether the calling window is a dialog.
84
- * @param {function} callback The callback to be invoked after the method completes successfully.
85
- */
86
- async registerWithStore(cb) {
87
- var _a;
88
- if (this.isDialog) {
89
- const myWindowIdentifier = await getMyWindowIdentifier();
90
- this.RESPONDER_CHANNEL = `Dialog.${myWindowIdentifier.windowName}.Show`;
91
- await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available", myWindowIdentifier.windowName], myWindowIdentifier));
92
- }
93
- cb === null || cb === void 0 ? void 0 : cb();
94
- }
95
- /**
96
- * Establishes a connection to the distributed store that is used
97
- * by all dialogs. This function may be called many times but will
98
- * only initialize one time.
99
- */
100
- initializeOnce() {
101
- return new Promise(async (resolve) => {
102
- // Only initialize once
103
- if (this.initialized) {
104
- resolve();
105
- return;
106
- }
107
- this.initialized = true;
108
- await SystemManagerClient.waitForStartup("windowService");
109
- await this.checkIfWindowIsDialog();
110
- asyncSeries([
111
- this.createStore.bind(this),
112
- this.registerWithStore.bind(this),
113
- this.getFinsembleWindow.bind(this),
114
- (done) => {
115
- done();
116
- },
117
- ], () => {
118
- resolve();
119
- });
120
- });
121
- }
122
- /**
123
- * Creates the global store if it doesn't exist.
124
- * @param {function} callback
125
- */
126
- async createStore(cb) {
127
- const defaults = {
128
- dialogs: {
129
- opened: {},
130
- available: {},
131
- },
132
- };
133
- const { err, data } = await DistributedStoreClient.createStore({
134
- store: "DialogStore",
135
- values: defaults,
136
- global: true,
137
- });
138
- if (err || !data) {
139
- Logger.error(`DialogManagerClient could not create store "DialogStore"`, err);
140
- }
141
- else {
142
- this.DialogStore = data;
143
- }
144
- cb === null || cb === void 0 ? void 0 : cb();
145
- }
146
- /**
147
- */
148
- async getFinsembleWindow(cb) {
149
- // this.finsembleWindow must only be initialized in actual dialogs. Otherwise it causes side effects in services.
150
- if (this.isDialog) {
151
- const { wrap } = await FinsembleWindow.getInstance({ name: System.Window.getCurrent().name });
152
- this.finsembleWindow = wrap;
153
- }
154
- cb === null || cb === void 0 ? void 0 : cb();
155
- }
156
- async getAvailableDialog(type, cb) {
157
- if (!this.DialogStore) {
158
- const error = `DialogMangerClient.getAvailableDialogs() store not yet initialized}`;
159
- Logger.system.error(error);
160
- cb === null || cb === void 0 ? void 0 : cb(null);
161
- return null;
162
- }
163
- const { err, data: availableDialogs } = await this.DialogStore.getGlobalValue("dialogs.available");
164
- if (err) {
165
- const error = `DialogMangerClient.getAvailableDialogs() store error ${err}`;
166
- Logger.system.error(error);
167
- cb === null || cb === void 0 ? void 0 : cb(null);
168
- return null;
169
- }
170
- for (const dialogName in availableDialogs) {
171
- const dialog = availableDialogs[dialogName];
172
- if (dialog.componentType === type) {
173
- cb === null || cb === void 0 ? void 0 : cb(dialog);
174
- return dialog;
175
- }
176
- }
177
- cb === null || cb === void 0 ? void 0 : cb(null);
178
- return null;
179
- }
180
- /**
181
- * State management - just moves an opened dialog back to the "available" pool.
182
- * @param {object} identifier window identifier of the dialog.
183
- */
184
- async moveDialogFromOpenedToAvailable(identifier) {
185
- var _a, _b;
186
- if (!this.DialogStore) {
187
- const error = `DialogMangerClient.moveDialogFromOpenedToAvailable() store not yet initialized}`;
188
- Logger.system.error(error);
189
- return error;
190
- }
191
- const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
192
- if (err || !dialogs) {
193
- const error = `DialogManagerClient.moveDialogFromOpenedToAvailable() no "dialogs" object returned from store`;
194
- Logger.system.error(error);
195
- return error;
196
- }
197
- const openedDialogs = dialogs.opened;
198
- const availableDialogs = dialogs.available;
199
- delete openedDialogs[identifier.windowName];
200
- availableDialogs[identifier.windowName] = identifier;
201
- await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "opened"], openedDialogs));
202
- await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "available"], availableDialogs));
203
- return null;
204
- }
205
- /**
206
- * State management - just moves an available dialog out of the "available" pool.
207
- * @param {object} identifier window identifier of the dialog.
208
- */
209
- async moveDialogFromAvailableToOpened(identifier) {
210
- var _a, _b;
211
- if (!this.DialogStore) {
212
- const error = `DialogMangerClient.moveDialogFromAvailableToOpened() store not yet initialized}`;
213
- Logger.system.error(error);
214
- return error;
215
- }
216
- const { err, data: dialogs } = await this.DialogStore.getGlobalValue("dialogs");
217
- if (err || !dialogs) {
218
- const error = `DialogManagerClient.moveDialogFromAvailableToOpened no "dialogs" object returned from store`;
219
- Logger.system.error(error);
220
- return error;
221
- }
222
- const availableDialogs = dialogs.available;
223
- const openedDialogs = dialogs.opened;
224
- delete availableDialogs[identifier.windowName];
225
- openedDialogs[identifier.windowName] = identifier;
226
- await ((_a = this.DialogStore) === null || _a === void 0 ? void 0 : _a.set(["dialogs", "available"], availableDialogs));
227
- await ((_b = this.DialogStore) === null || _b === void 0 ? void 0 : _b.set(["dialogs", "opened"], openedDialogs));
228
- return null;
229
- }
230
- }
231
24
  const getControllerInstance = async () => {
232
25
  const controller = singleton("DialogManagerClient", DialogManagerClientController);
233
26
  await controller.initializeOnce();
@@ -1 +1 @@
1
- {"version":3,"file":"dialogManagerClient.js","sourceRoot":"","sources":["../../../src/clients/dialogManagerClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAE,cAAc,EAAiB,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAoB,MAAM,gBAAgB,CAAC;AAEhE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,mBAAmB,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,MAAM,MAAM,aAAa,CAAC;AAOjC,MAAM,OAAO,6BAA6B;IAA1C;QACC,gBAAW,GAAY,KAAK,CAAC;QAE7B;;WAEG;QACH,qBAAgB,GAAkB,IAAI,CAAC;QAEvC;;;;WAIG;QACH,gBAAW,GAAsB,IAAI,CAAC;QAEtC;;WAEG;QACH,aAAQ,GAAY,KAAK,CAAC;QAE1B;;;;WAIG;QACH,sBAAiB,GAAkB,IAAI,CAAC;QAExC;;WAEG;QACH,kBAAa,GAA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0BAA0B;IAC1B,UAAU;IACV,aAAa;IACb,SAAS;IACT,SAAS;IACT,eAAe;CACf,CAAC;AAEF;;GAEG;AACH,eAAe,mBAAmB,CAAC"}
@@ -31,6 +31,7 @@ export default ConfigClient;
31
31
  /// <reference types="node" />
32
32
  import { StandardErrorCallback, StandardPromise } from "../types";
33
33
  import StoreModel from "./StoreModel";
34
+ export { StoreModel };
34
35
  /**
35
36
  * Remove a store. If global is not set and a local store isn't found, Finsemble will remove the global store.
36
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"distributedStoreClient.d.ts","sourceRoot":"","sources":["../../../src/clients/distributedStoreClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;EAmBE;;AAEF,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAElE,OAAO,UAAU,MAAM,cAAc,CAAC;AAkCtC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW,WACf;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,OACI,sBAAsB,OAAO,CAAC,KACjC,gBAAgB,OAAO,CAYzB,CAAC;AA+BF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,WACZ;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACvC,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAY5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WACrB;IACP,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,CAAC;CACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAqB5B,CAAC;AAkCF;;;;;;;;;;;;;;;;;;MAkBG;AACH,eAAO,MAAM,WAAW,WACf;IACP,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,CAAC;CACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAO5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB;IAClC;;;;OAIG;;IAIH;;;;OAIG;mBACY,GAAG;0BAjCV;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,GAAG,CAAC;KACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;uBAjHrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;KACvC,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;gCAmBrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,GAAG,CAAC;KACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;0BAhGrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;KACjB,OACI,sBAAsB,OAAO,CAAC,KACjC,gBAAgB,OAAO,CAAC;CA+M1B,CAAC;AAEF;;GAEG;AACH,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"distributedStoreClient.d.ts","sourceRoot":"","sources":["../../../src/clients/distributedStoreClient.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;;EAmBE;;AAEF,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,M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KACpC,gBAAgB,UAAU,CAAC;uBAjHrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,4BAA4B,CAAC,EAAE,OAAO,CAAC;KACvC,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;gCAmBrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,GAAG,CAAC;KACb,OACI,sBAAsB,UAAU,CAAC,KACpC,gBAAgB,UAAU,CAAC;0BAhGrB;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,OAAO,CAAC;KACjB,OACI,sBAAsB,OAAO,CAAC,KACjC,gBAAgB,OAAO,CAAC;CA+M1B,CAAC;AAEF;;GAEG;AACH,eAAe,sBAAsB,CAAC"}
@@ -32,6 +32,7 @@ import { Logger } from "./logger";
32
32
  import StoreModel from "./StoreModel";
33
33
  import SystemManagerClient from "../common/systemManagerClient";
34
34
  import { RouterClient } from "../clients/routerClient";
35
+ export { StoreModel };
35
36
  /**
36
37
  * Persistent stores are loaded asynchronously within the distributed store service. The
37
38
  * `distributedStoresLoading` responder publishes its status. It publishes State="done"