@finsemble/finsemble-ui 8.3.0-beta.8 → 8.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (683) hide show
  1. package/FEA.d.ts +102 -28
  2. package/FEA.d.ts.map +1 -1
  3. package/FEA.js.map +1 -1
  4. package/clients/Interop/FinsembleDesktopAgent.d.ts +1 -0
  5. package/clients/Interop/FinsembleDesktopAgent.d.ts.map +1 -1
  6. package/clients/Interop/FinsembleDesktopAgent.js +17 -16
  7. package/clients/Interop/FinsembleDesktopAgent.js.map +1 -1
  8. package/clients/Interop/types.d.ts +1 -0
  9. package/clients/Interop/types.d.ts.map +1 -1
  10. package/clients/Startup/FSBLDesktop.d.ts +2 -8
  11. package/clients/Startup/FSBLDesktop.d.ts.map +1 -1
  12. package/clients/Startup/FSBLDesktop.js +2 -4
  13. package/clients/Startup/FSBLDesktop.js.map +1 -1
  14. package/clients/Startup/unhandledErrors.d.ts.map +1 -1
  15. package/clients/Startup/unhandledErrors.js +6 -4
  16. package/clients/Startup/unhandledErrors.js.map +1 -1
  17. package/clients/Startup/windowStartup.d.ts.map +1 -1
  18. package/clients/Startup/windowStartup.js +125 -112
  19. package/clients/Startup/windowStartup.js.map +1 -1
  20. package/clients/StoreModel.d.ts +8 -8
  21. package/clients/StoreModel.js +9 -9
  22. package/clients/StoreModel.js.map +1 -1
  23. package/clients/appsClient.d.ts +463 -0
  24. package/clients/appsClient.d.ts.map +1 -0
  25. package/clients/appsClient.js +696 -0
  26. package/clients/appsClient.js.map +1 -0
  27. package/clients/authenticationClient.d.ts +36 -27
  28. package/clients/authenticationClient.d.ts.map +1 -1
  29. package/clients/authenticationClient.js +18 -15
  30. package/clients/authenticationClient.js.map +1 -1
  31. package/clients/configClient.d.ts +189 -71
  32. package/clients/configClient.d.ts.map +1 -1
  33. package/clients/configClient.js +185 -114
  34. package/clients/configClient.js.map +1 -1
  35. package/clients/controller/DialogManagerClientController.d.ts +78 -0
  36. package/clients/controller/DialogManagerClientController.d.ts.map +1 -0
  37. package/clients/controller/DialogManagerClientController.js +213 -0
  38. package/clients/controller/DialogManagerClientController.js.map +1 -0
  39. package/clients/dialogManagerClient.d.ts +11 -75
  40. package/clients/dialogManagerClient.d.ts.map +1 -1
  41. package/clients/dialogManagerClient.js +11 -208
  42. package/clients/dialogManagerClient.js.map +1 -1
  43. package/clients/distributedStoreClient.d.ts +4 -0
  44. package/clients/distributedStoreClient.d.ts.map +1 -1
  45. package/clients/distributedStoreClient.js +4 -0
  46. package/clients/distributedStoreClient.js.map +1 -1
  47. package/clients/hotkeyClient.d.ts +23 -9
  48. package/clients/hotkeyClient.d.ts.map +1 -1
  49. package/clients/hotkeyClient.js +35 -14
  50. package/clients/hotkeyClient.js.map +1 -1
  51. package/clients/index.d.ts +2 -0
  52. package/clients/index.d.ts.map +1 -1
  53. package/clients/index.js +2 -0
  54. package/clients/index.js.map +1 -1
  55. package/clients/launcherClient.d.ts +55 -209
  56. package/clients/launcherClient.d.ts.map +1 -1
  57. package/clients/launcherClient.js +37 -422
  58. package/clients/launcherClient.js.map +1 -1
  59. package/clients/logger.d.ts +6 -0
  60. package/clients/logger.d.ts.map +1 -1
  61. package/clients/logger.js +49 -41
  62. package/clients/logger.js.map +1 -1
  63. package/clients/notificationClient.d.ts +32 -8
  64. package/clients/notificationClient.d.ts.map +1 -1
  65. package/clients/notificationClient.js +32 -8
  66. package/clients/notificationClient.js.map +1 -1
  67. package/clients/routerClient.d.ts +39 -21
  68. package/clients/routerClient.d.ts.map +1 -1
  69. package/clients/routerClient.js +38 -20
  70. package/clients/routerClient.js.map +1 -1
  71. package/clients/searchClient.d.ts +7 -2
  72. package/clients/searchClient.d.ts.map +1 -1
  73. package/clients/searchClient.js +7 -2
  74. package/clients/searchClient.js.map +1 -1
  75. package/clients/storageClient.d.ts +19 -6
  76. package/clients/storageClient.d.ts.map +1 -1
  77. package/clients/storageClient.js +18 -6
  78. package/clients/storageClient.js.map +1 -1
  79. package/clients/windowClient.d.ts +207 -80
  80. package/clients/windowClient.d.ts.map +1 -1
  81. package/clients/windowClient.js +291 -139
  82. package/clients/windowClient.js.map +1 -1
  83. package/clients/workspaceClient.d.ts +45 -18
  84. package/clients/workspaceClient.d.ts.map +1 -1
  85. package/clients/workspaceClient.js +41 -13
  86. package/clients/workspaceClient.js.map +1 -1
  87. package/common/Desktop.d.ts +12 -50
  88. package/common/Desktop.d.ts.map +1 -1
  89. package/common/Desktop.js +14 -64
  90. package/common/Desktop.js.map +1 -1
  91. package/common/FinsembleWindow.d.ts +5 -108
  92. package/common/FinsembleWindow.d.ts.map +1 -1
  93. package/common/FinsembleWindow.js +28 -349
  94. package/common/FinsembleWindow.js.map +1 -1
  95. package/common/Monitors.d.ts +30 -18
  96. package/common/Monitors.d.ts.map +1 -1
  97. package/common/Monitors.js +45 -80
  98. package/common/Monitors.js.map +1 -1
  99. package/common/Singleton.d.ts +7 -1
  100. package/common/Singleton.d.ts.map +1 -1
  101. package/common/Singleton.js +24 -11
  102. package/common/Singleton.js.map +1 -1
  103. package/common/constants.d.ts +3 -9
  104. package/common/constants.d.ts.map +1 -1
  105. package/common/constants.js +3 -14
  106. package/common/constants.js.map +1 -1
  107. package/common/events/FinsembleEvent.d.ts +1 -1
  108. package/common/events/FinsembleEvent.d.ts.map +1 -1
  109. package/common/redux/getRemoteStore.d.ts +53 -0
  110. package/common/redux/getRemoteStore.d.ts.map +1 -0
  111. package/common/redux/getRemoteStore.js +50 -0
  112. package/common/redux/getRemoteStore.js.map +1 -0
  113. package/common/redux/remoteReduxEnhancer.d.ts +7 -7
  114. package/common/redux/remoteReduxEnhancer.d.ts.map +1 -1
  115. package/common/redux/remoteReduxEnhancer.js +35 -20
  116. package/common/redux/remoteReduxEnhancer.js.map +1 -1
  117. package/common/redux/types.d.ts +14 -1
  118. package/common/redux/types.d.ts.map +1 -1
  119. package/common/systemManagerClient.d.ts +11 -5
  120. package/common/systemManagerClient.d.ts.map +1 -1
  121. package/common/systemManagerClient.js +25 -8
  122. package/common/systemManagerClient.js.map +1 -1
  123. package/common/util.d.ts +1 -7
  124. package/common/util.d.ts.map +1 -1
  125. package/common/util.js +1 -14
  126. package/common/util.js.map +1 -1
  127. package/deprecated/deprecatedFunctions.d.ts +1 -1
  128. package/deprecated/deprecatedFunctions.d.ts.map +1 -1
  129. package/deprecated/deprecatedFunctions.js +3 -4
  130. package/deprecated/deprecatedFunctions.js.map +1 -1
  131. package/deprecated/deprecatedlauncherClient.d.ts +1 -1
  132. package/deprecated/deprecatedlauncherClient.d.ts.map +1 -1
  133. package/deprecated/deprecatedlauncherClient.js.map +1 -1
  134. package/deprecated/dragAndDropClient.d.ts +4 -3
  135. package/deprecated/dragAndDropClient.d.ts.map +1 -1
  136. package/deprecated/dragAndDropClient.js +15 -4
  137. package/deprecated/dragAndDropClient.js.map +1 -1
  138. package/deprecated/linkerClient.d.ts +1 -1
  139. package/deprecated/linkerClient.d.ts.map +1 -1
  140. package/main.d.ts +289 -171
  141. package/main.d.ts.map +1 -1
  142. package/main.js +3 -1
  143. package/main.js.map +1 -1
  144. package/package.json +4 -4
  145. package/platform/services/Interop/modules/types.d.ts +2 -0
  146. package/platform/services/Interop/modules/types.d.ts.map +1 -1
  147. package/platform/services/Interop/types.d.ts +24 -2
  148. package/platform/services/Interop/types.d.ts.map +1 -1
  149. package/platform/services/Interop/types.js.map +1 -1
  150. package/platform/services/router/types.d.ts +5 -6
  151. package/platform/services/router/types.d.ts.map +1 -1
  152. package/platform/services/systemManager/_constants.d.ts +1 -0
  153. package/platform/services/systemManager/_constants.d.ts.map +1 -1
  154. package/platform/services/systemManager/_constants.js +2 -0
  155. package/platform/services/systemManager/_constants.js.map +1 -1
  156. package/platform/services/systemManager/types.d.ts +1 -1
  157. package/platform/services/systemManager/types.d.ts.map +1 -1
  158. package/platform/services/systemManager/types.js.map +1 -1
  159. package/platform/services/window/modules/actions.d.ts +68 -0
  160. package/platform/services/window/modules/actions.d.ts.map +1 -0
  161. package/platform/services/window/modules/actions.js +60 -0
  162. package/platform/services/window/modules/actions.js.map +1 -0
  163. package/platform/services/window/types.d.ts +275 -51
  164. package/platform/services/window/types.d.ts.map +1 -1
  165. package/platform/services/workspace/types.d.ts +4 -3
  166. package/platform/services/workspace/types.d.ts.map +1 -1
  167. package/react/actions/smartDesktopDesignerActions.d.ts +7 -1
  168. package/react/actions/smartDesktopDesignerActions.d.ts.map +1 -1
  169. package/react/actions/smartDesktopDesignerActions.js +3 -0
  170. package/react/actions/smartDesktopDesignerActions.js.map +1 -1
  171. package/react/assets/css/core/icons.css +0 -5
  172. package/react/assets/css/dialogs.css +2 -1
  173. package/react/assets/css/fonts/icons-reference.html +1 -1
  174. package/react/assets/css/processMonitor.css +9 -4
  175. package/react/assets/css/userPreferences.css +1 -1
  176. package/react/assets/css/windowTitleBar.css +101 -285
  177. package/react/assets/icons/chevron-down.svg +1 -0
  178. package/react/assets/icons/chevron-up.svg +1 -0
  179. package/react/components/appCatalog/AppCatalog.d.ts +3 -0
  180. package/react/components/appCatalog/AppCatalog.d.ts.map +1 -1
  181. package/react/components/appCatalog/AppCatalog.js +3 -0
  182. package/react/components/appCatalog/AppCatalog.js.map +1 -1
  183. package/react/components/appCatalog/AppCatalogComponent.d.ts +4 -0
  184. package/react/components/appCatalog/AppCatalogComponent.d.ts.map +1 -1
  185. package/react/components/appCatalog/AppCatalogComponent.js +6 -2
  186. package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
  187. package/react/components/common/ButtonRow.d.ts.map +1 -1
  188. package/react/components/common/ButtonRow.js +4 -9
  189. package/react/components/common/ButtonRow.js.map +1 -1
  190. package/react/components/common/Checkbox.d.ts +1 -0
  191. package/react/components/common/Checkbox.d.ts.map +1 -1
  192. package/react/components/common/Checkbox.js +14 -2
  193. package/react/components/common/Checkbox.js.map +1 -1
  194. package/react/components/common/ContextMenu.d.ts.map +1 -1
  195. package/react/components/common/ContextMenu.js +5 -11
  196. package/react/components/common/ContextMenu.js.map +1 -1
  197. package/react/components/common/DropdownButton.d.ts.map +1 -1
  198. package/react/components/common/DropdownButton.js +11 -24
  199. package/react/components/common/DropdownButton.js.map +1 -1
  200. package/react/components/common/FinsembleIcon.d.ts +1 -1
  201. package/react/components/common/FinsembleIcon.d.ts.map +1 -1
  202. package/react/components/common/FinsembleIcon.js +6 -4
  203. package/react/components/common/FinsembleIcon.js.map +1 -1
  204. package/react/components/common/FinsembleLink.d.ts +7 -0
  205. package/react/components/common/FinsembleLink.d.ts.map +1 -0
  206. package/react/components/common/FinsembleLink.js +13 -0
  207. package/react/components/common/FinsembleLink.js.map +1 -0
  208. package/react/components/common/Header.d.ts +1 -0
  209. package/react/components/common/Header.d.ts.map +1 -1
  210. package/react/components/common/Header.js +4 -2
  211. package/react/components/common/Header.js.map +1 -1
  212. package/react/components/common/css/accordion.css +9 -21
  213. package/react/components/common/css/application-edit-page.css +0 -15
  214. package/react/components/common/css/application-list.css +54 -23
  215. package/react/components/common/css/button.css +20 -0
  216. package/react/components/common/css/selector.css +3 -1
  217. package/react/components/downloadManager/DownloadManager.d.ts +1 -1
  218. package/react/components/downloadManager/DownloadManager.d.ts.map +1 -1
  219. package/react/components/downloadManager/DownloadManager.js +2 -4
  220. package/react/components/downloadManager/DownloadManager.js.map +1 -1
  221. package/react/components/fdc3Resolver/ResolverContainer.d.ts +6 -0
  222. package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +1 -1
  223. package/react/components/fdc3Resolver/ResolverContainer.js +37 -89
  224. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  225. package/react/components/fdc3Resolver/ResolverDialog.d.ts +10 -1
  226. package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +1 -1
  227. package/react/components/fdc3Resolver/ResolverDialog.js +78 -66
  228. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  229. package/react/components/icon/Icon.js +1 -1
  230. package/react/components/icon/Icon.js.map +1 -1
  231. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
  232. package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +1 -1
  233. package/react/components/linker/remoteRedux.d.ts +2 -9
  234. package/react/components/linker/remoteRedux.d.ts.map +1 -1
  235. package/react/components/linker/remoteRedux.js +2 -22
  236. package/react/components/linker/remoteRedux.js.map +1 -1
  237. package/react/components/notifications/components/shared/IconButton.d.ts +1 -1
  238. package/react/components/notifications/components/shared/IconButton.d.ts.map +1 -1
  239. package/react/components/notifications/components/shared/IconButton.js +2 -2
  240. package/react/components/notifications/components/shared/IconButton.js.map +1 -1
  241. package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
  242. package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +1 -1
  243. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
  244. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +1 -1
  245. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
  246. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +1 -1
  247. package/react/components/notifications/css/notification-center.css +2 -0
  248. package/react/components/processMonitor/ProcessMonitor.d.ts.map +1 -1
  249. package/react/components/processMonitor/ProcessMonitor.js +14 -36
  250. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  251. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +0 -4
  252. package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +1 -1
  253. package/react/components/processMonitor/ProcessMonitorTypes.js +1 -5
  254. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  255. package/react/components/processMonitor/components/ChildWindow.d.ts +2 -3
  256. package/react/components/processMonitor/components/ChildWindow.d.ts.map +1 -1
  257. package/react/components/processMonitor/components/ChildWindow.js +5 -9
  258. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  259. package/react/components/processMonitor/components/ListHeader.d.ts +1 -5
  260. package/react/components/processMonitor/components/ListHeader.d.ts.map +1 -1
  261. package/react/components/processMonitor/components/ListHeader.js +3 -2
  262. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  263. package/react/components/processMonitor/components/Process.d.ts +10 -0
  264. package/react/components/processMonitor/components/Process.d.ts.map +1 -0
  265. package/react/components/processMonitor/components/Process.js +11 -0
  266. package/react/components/processMonitor/components/Process.js.map +1 -0
  267. package/react/components/processMonitor/components/ProcessStatistics.d.ts +5 -4
  268. package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +1 -1
  269. package/react/components/processMonitor/components/ProcessStatistics.js +10 -7
  270. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  271. package/react/components/processMonitor/constants.d.ts +1 -2
  272. package/react/components/processMonitor/constants.d.ts.map +1 -1
  273. package/react/components/processMonitor/constants.js +2 -8
  274. package/react/components/processMonitor/constants.js.map +1 -1
  275. package/react/components/processMonitor/helpers.d.ts +0 -1
  276. package/react/components/processMonitor/helpers.d.ts.map +1 -1
  277. package/react/components/processMonitor/helpers.js +2 -9
  278. package/react/components/processMonitor/helpers.js.map +1 -1
  279. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +0 -4
  280. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +1 -1
  281. package/react/components/processMonitor/stores/ProcessMonitorStore.js +0 -29
  282. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  283. package/react/components/sdd/Content.d.ts +9 -0
  284. package/react/components/sdd/Content.d.ts.map +1 -0
  285. package/react/components/sdd/Content.js +7 -0
  286. package/react/components/sdd/Content.js.map +1 -0
  287. package/react/components/sdd/Dashboard.d.ts +20 -0
  288. package/react/components/sdd/Dashboard.d.ts.map +1 -0
  289. package/react/components/sdd/Dashboard.js +103 -0
  290. package/react/components/sdd/Dashboard.js.map +1 -0
  291. package/react/components/sdd/Export.d.ts +24 -0
  292. package/react/components/sdd/Export.d.ts.map +1 -0
  293. package/react/components/sdd/Export.js +133 -0
  294. package/react/components/sdd/Export.js.map +1 -0
  295. package/react/components/sdd/ExportCloud.d.ts +7 -0
  296. package/react/components/sdd/ExportCloud.d.ts.map +1 -0
  297. package/react/components/sdd/ExportCloud.js +38 -0
  298. package/react/components/sdd/ExportCloud.js.map +1 -0
  299. package/react/components/sdd/ExportDeployInfo.d.ts +3 -0
  300. package/react/components/sdd/ExportDeployInfo.d.ts.map +1 -0
  301. package/react/components/sdd/ExportDeployInfo.js +18 -0
  302. package/react/components/sdd/ExportDeployInfo.js.map +1 -0
  303. package/react/components/sdd/ExportZip.d.ts +7 -0
  304. package/react/components/sdd/ExportZip.d.ts.map +1 -0
  305. package/react/components/sdd/ExportZip.js +43 -0
  306. package/react/components/sdd/ExportZip.js.map +1 -0
  307. package/react/components/sdd/ProjectErrors.d.ts +12 -0
  308. package/react/components/sdd/ProjectErrors.d.ts.map +1 -0
  309. package/react/components/sdd/ProjectErrors.js +26 -0
  310. package/react/components/sdd/ProjectErrors.js.map +1 -0
  311. package/react/components/sdd/ProjectMasonry.d.ts +13 -0
  312. package/react/components/sdd/ProjectMasonry.d.ts.map +1 -0
  313. package/react/components/sdd/ProjectMasonry.js +22 -0
  314. package/react/components/sdd/ProjectMasonry.js.map +1 -0
  315. package/react/components/sdd/Publish.d.ts +9 -0
  316. package/react/components/sdd/Publish.d.ts.map +1 -0
  317. package/react/components/sdd/Publish.js +113 -0
  318. package/react/components/sdd/Publish.js.map +1 -0
  319. package/react/components/sdd/PublishProgress.d.ts +10 -0
  320. package/react/components/sdd/PublishProgress.d.ts.map +1 -0
  321. package/react/components/sdd/PublishProgress.js +24 -0
  322. package/react/components/sdd/PublishProgress.js.map +1 -0
  323. package/react/components/sdd/View.d.ts +9 -0
  324. package/react/components/sdd/View.d.ts.map +1 -0
  325. package/react/components/sdd/View.js +7 -0
  326. package/react/components/sdd/View.js.map +1 -0
  327. package/react/components/sdd/css/addApp.css +62 -8
  328. package/react/components/sdd/css/appD.css +81 -0
  329. package/react/components/sdd/css/appDViewer.css +93 -0
  330. package/react/components/sdd/css/applications.css +53 -15
  331. package/react/components/sdd/css/exportAppD.css +31 -0
  332. package/react/components/sdd/css/horizontalScroll.css +9 -0
  333. package/react/components/sdd/css/project-header.css +2 -1
  334. package/react/components/sdd/css/views.css +3 -0
  335. package/react/components/sdd/smartDesktopClient.d.ts +627 -0
  336. package/react/components/sdd/smartDesktopClient.d.ts.map +1 -0
  337. package/react/components/sdd/smartDesktopClient.js +1222 -0
  338. package/react/components/sdd/smartDesktopClient.js.map +1 -0
  339. package/react/components/sdd/types.d.ts +9 -0
  340. package/react/components/sdd/types.d.ts.map +1 -0
  341. package/react/components/sdd/types.js +2 -0
  342. package/react/components/sdd/types.js.map +1 -0
  343. package/react/components/search/SearchInput.d.ts +1 -2
  344. package/react/components/search/SearchInput.d.ts.map +1 -1
  345. package/react/components/search/SearchInput.js +11 -13
  346. package/react/components/search/SearchInput.js.map +1 -1
  347. package/react/components/search/SearchResults.d.ts.map +1 -1
  348. package/react/components/search/SearchResults.js +6 -6
  349. package/react/components/search/SearchResults.js.map +1 -1
  350. package/react/components/shared/openQuitConfirmationDialog.d.ts.map +1 -1
  351. package/react/components/shared/openQuitConfirmationDialog.js +31 -4
  352. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  353. package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +1 -1
  354. package/react/components/singleInputDialog/SingleInputDialog.js +83 -100
  355. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  356. package/react/components/toolbar/DownloadButton.d.ts +1 -1
  357. package/react/components/toolbar/DownloadButton.d.ts.map +1 -1
  358. package/react/components/toolbar/DownloadButton.js +3 -6
  359. package/react/components/toolbar/DownloadButton.js.map +1 -1
  360. package/react/components/toolbar/DragHandle.d.ts.map +1 -1
  361. package/react/components/toolbar/DragHandle.js +8 -5
  362. package/react/components/toolbar/DragHandle.js.map +1 -1
  363. package/react/components/toolbar/ToolbarIcon.d.ts.map +1 -1
  364. package/react/components/toolbar/ToolbarIcon.js +10 -1
  365. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  366. package/react/components/toolbar/ToolbarShell.d.ts +1 -0
  367. package/react/components/toolbar/ToolbarShell.d.ts.map +1 -1
  368. package/react/components/toolbar/ToolbarShell.js +3 -2
  369. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  370. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +1 -1
  371. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +3 -0
  372. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  373. package/react/components/userPreferences/components/content/Workspaces.d.ts +5 -0
  374. package/react/components/userPreferences/components/content/Workspaces.d.ts.map +1 -1
  375. package/react/components/userPreferences/components/content/Workspaces.js +14 -1
  376. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  377. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +1 -1
  378. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +1 -1
  379. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  380. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +1 -1
  381. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +1 -1
  382. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  383. package/react/components/utils.d.ts +50 -0
  384. package/react/components/utils.d.ts.map +1 -0
  385. package/react/components/utils.js +60 -0
  386. package/react/components/utils.js.map +1 -0
  387. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +9 -0
  388. package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +1 -0
  389. package/react/components/windowTitleBar/AlwaysOnTopButton.js +29 -0
  390. package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +1 -0
  391. package/react/components/windowTitleBar/CloseButton.d.ts.map +1 -0
  392. package/react/components/windowTitleBar/CloseButton.js +22 -0
  393. package/react/components/windowTitleBar/CloseButton.js.map +1 -0
  394. package/react/components/windowTitleBar/GroupingButton.d.ts +3 -0
  395. package/react/components/windowTitleBar/GroupingButton.d.ts.map +1 -0
  396. package/react/components/windowTitleBar/GroupingButton.js +25 -0
  397. package/react/components/windowTitleBar/GroupingButton.js.map +1 -0
  398. package/react/components/windowTitleBar/LinkerButton.d.ts.map +1 -0
  399. package/react/components/windowTitleBar/{components/left/LinkerButton.js → LinkerButton.js} +4 -4
  400. package/react/components/windowTitleBar/LinkerButton.js.map +1 -0
  401. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +11 -0
  402. package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +1 -0
  403. package/react/components/windowTitleBar/LinkerButtonDeprecated.js +63 -0
  404. package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +1 -0
  405. package/react/components/windowTitleBar/LinkerGroups.d.ts.map +1 -0
  406. package/react/components/windowTitleBar/{components/left/LinkerGroups.js → LinkerGroups.js} +2 -3
  407. package/react/components/windowTitleBar/LinkerGroups.js.map +1 -0
  408. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +7 -0
  409. package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +1 -0
  410. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +35 -0
  411. package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +1 -0
  412. package/react/components/windowTitleBar/MaximizeButton.d.ts +3 -0
  413. package/react/components/windowTitleBar/MaximizeButton.d.ts.map +1 -0
  414. package/react/components/windowTitleBar/MaximizeButton.js +18 -0
  415. package/react/components/windowTitleBar/MaximizeButton.js.map +1 -0
  416. package/react/components/windowTitleBar/MinimizeButton.d.ts +3 -0
  417. package/react/components/windowTitleBar/MinimizeButton.d.ts.map +1 -0
  418. package/react/components/windowTitleBar/MinimizeButton.js +21 -0
  419. package/react/components/windowTitleBar/MinimizeButton.js.map +1 -0
  420. package/react/components/windowTitleBar/ShareButton.d.ts +3 -0
  421. package/react/components/windowTitleBar/ShareButton.d.ts.map +1 -0
  422. package/react/components/windowTitleBar/ShareButton.js +24 -0
  423. package/react/components/windowTitleBar/ShareButton.js.map +1 -0
  424. package/react/components/windowTitleBar/TabRegion.d.ts +7 -0
  425. package/react/components/windowTitleBar/TabRegion.d.ts.map +1 -0
  426. package/react/components/windowTitleBar/TabRegion.js +479 -0
  427. package/react/components/windowTitleBar/TabRegion.js.map +1 -0
  428. package/react/components/windowTitleBar/TabTitle.d.ts +8 -0
  429. package/react/components/windowTitleBar/TabTitle.d.ts.map +1 -0
  430. package/react/components/windowTitleBar/TabTitle.js +17 -0
  431. package/react/components/windowTitleBar/TabTitle.js.map +1 -0
  432. package/react/components/windowTitleBar/TitleEdit.d.ts +10 -0
  433. package/react/components/windowTitleBar/TitleEdit.d.ts.map +1 -0
  434. package/react/components/windowTitleBar/TitleEdit.js +30 -0
  435. package/react/components/windowTitleBar/TitleEdit.js.map +1 -0
  436. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +12 -0
  437. package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +1 -0
  438. package/react/components/windowTitleBar/WindowTitleBarContext.js +3 -0
  439. package/react/components/windowTitleBar/WindowTitleBarContext.js.map +1 -0
  440. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +14 -272
  441. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +1 -1
  442. package/react/components/windowTitleBar/WindowTitleBarShell.js +41 -929
  443. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  444. package/react/components/windowTitleBar/index.d.ts +9 -8
  445. package/react/components/windowTitleBar/index.d.ts.map +1 -1
  446. package/react/components/windowTitleBar/index.js +9 -8
  447. package/react/components/windowTitleBar/index.js.map +1 -1
  448. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +7 -0
  449. package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +1 -0
  450. package/react/components/windowTitleBar/useKeyboardNavigation.js +57 -0
  451. package/react/components/windowTitleBar/useKeyboardNavigation.js.map +1 -0
  452. package/react/components/windowTitleBar/useMaximize.d.ts +5 -0
  453. package/react/components/windowTitleBar/useMaximize.d.ts.map +1 -0
  454. package/react/components/windowTitleBar/useMaximize.js +23 -0
  455. package/react/components/windowTitleBar/useMaximize.js.map +1 -0
  456. package/react/components/yesNoDialog/timer.js +2 -1
  457. package/react/components/yesNoDialog/timer.js.map +1 -1
  458. package/react/hooks/useDashbar.d.ts.map +1 -1
  459. package/react/hooks/useDashbar.js.map +1 -1
  460. package/react/hooks/useDragRegion.d.ts +27 -0
  461. package/react/hooks/useDragRegion.d.ts.map +1 -0
  462. package/react/hooks/useDragRegion.js +74 -0
  463. package/react/hooks/useDragRegion.js.map +1 -0
  464. package/react/hooks/useInjectedTitleBar.d.ts +3 -0
  465. package/react/hooks/useInjectedTitleBar.d.ts.map +1 -0
  466. package/react/hooks/useInjectedTitleBar.js +437 -0
  467. package/react/hooks/useInjectedTitleBar.js.map +1 -0
  468. package/react/hooks/useNotifications.d.ts +1 -1
  469. package/react/hooks/useToolbar.d.ts +1 -0
  470. package/react/hooks/useToolbar.d.ts.map +1 -1
  471. package/react/hooks/useToolbar.js +13 -3
  472. package/react/hooks/useToolbar.js.map +1 -1
  473. package/react/reducers/rootReducer.d.ts +12 -0
  474. package/react/reducers/rootReducer.d.ts.map +1 -1
  475. package/react/reducers/smartDesktopDesignerReducer.d.ts.map +1 -1
  476. package/react/reducers/smartDesktopDesignerReducer.js +12 -0
  477. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  478. package/react/store.d.ts +24 -0
  479. package/react/store.d.ts.map +1 -1
  480. package/react/types/smartDesktopDesignerTypes.d.ts +42 -1
  481. package/react/types/smartDesktopDesignerTypes.d.ts.map +1 -1
  482. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  483. package/typedefs/FDC3/api/AppMetadata.d.ts +1 -0
  484. package/typedefs/FDC3/api/AppMetadata.d.ts.map +1 -1
  485. package/typedoc-types.d.ts +9 -0
  486. package/typedoc-types.d.ts.map +1 -0
  487. package/typedoc-types.js +6 -0
  488. package/typedoc-types.js.map +1 -0
  489. package/types.d.ts +5 -11
  490. package/types.d.ts.map +1 -1
  491. package/types.js +2 -0
  492. package/types.js.map +1 -1
  493. package/common/events/PrivateEventManager.d.ts +0 -95
  494. package/common/events/PrivateEventManager.d.ts.map +0 -1
  495. package/common/events/PrivateEventManager.js +0 -295
  496. package/common/events/PrivateEventManager.js.map +0 -1
  497. package/common/events/PrivateFinsembleEvent.d.ts +0 -30
  498. package/common/events/PrivateFinsembleEvent.d.ts.map +0 -1
  499. package/common/events/PrivateFinsembleEvent.js +0 -65
  500. package/common/events/PrivateFinsembleEvent.js.map +0 -1
  501. package/common/redux/createReducer.d.ts +0 -128
  502. package/common/redux/createReducer.d.ts.map +0 -1
  503. package/common/redux/createReducer.js +0 -298
  504. package/common/redux/createReducer.js.map +0 -1
  505. package/common/redux/index.d.ts +0 -3
  506. package/common/redux/index.d.ts.map +0 -1
  507. package/common/redux/index.js +0 -3
  508. package/common/redux/index.js.map +0 -1
  509. package/platform/services/window/Common/Pools/ObjectPool.d.ts +0 -11
  510. package/platform/services/window/Common/Pools/ObjectPool.d.ts.map +0 -1
  511. package/platform/services/window/Common/Pools/ObjectPool.js +0 -43
  512. package/platform/services/window/Common/Pools/ObjectPool.js.map +0 -1
  513. package/platform/services/window/Common/Pools/PoolSingletons.d.ts +0 -10
  514. package/platform/services/window/Common/Pools/PoolSingletons.d.ts.map +0 -1
  515. package/platform/services/window/Common/Pools/PoolSingletons.js +0 -10
  516. package/platform/services/window/Common/Pools/PoolSingletons.js.map +0 -1
  517. package/platform/services/window/Common/Pools/WindowPool.d.ts +0 -7
  518. package/platform/services/window/Common/Pools/WindowPool.d.ts.map +0 -1
  519. package/platform/services/window/Common/Pools/WindowPool.js +0 -16
  520. package/platform/services/window/Common/Pools/WindowPool.js.map +0 -1
  521. package/platform/services/window/Docking/boxMath.d.ts +0 -144
  522. package/platform/services/window/Docking/boxMath.d.ts.map +0 -1
  523. package/platform/services/window/Docking/boxMath.js +0 -511
  524. package/platform/services/window/Docking/boxMath.js.map +0 -1
  525. package/platform/services/window/Docking/constants.d.ts +0 -29
  526. package/platform/services/window/Docking/constants.d.ts.map +0 -1
  527. package/platform/services/window/Docking/constants.js +0 -29
  528. package/platform/services/window/Docking/constants.js.map +0 -1
  529. package/platform/services/window/Docking/dockableBox.d.ts +0 -117
  530. package/platform/services/window/Docking/dockableBox.d.ts.map +0 -1
  531. package/platform/services/window/Docking/dockableBox.js +0 -525
  532. package/platform/services/window/Docking/dockableBox.js.map +0 -1
  533. package/platform/services/window/Docking/dockableGroup.d.ts +0 -252
  534. package/platform/services/window/Docking/dockableGroup.d.ts.map +0 -1
  535. package/platform/services/window/Docking/dockableGroup.js +0 -1054
  536. package/platform/services/window/Docking/dockableGroup.js.map +0 -1
  537. package/platform/services/window/Docking/dockableMonitor.d.ts +0 -99
  538. package/platform/services/window/Docking/dockableMonitor.d.ts.map +0 -1
  539. package/platform/services/window/Docking/dockableMonitor.js +0 -427
  540. package/platform/services/window/Docking/dockableMonitor.js.map +0 -1
  541. package/platform/services/window/Docking/dockableWindow.d.ts +0 -272
  542. package/platform/services/window/Docking/dockableWindow.d.ts.map +0 -1
  543. package/platform/services/window/Docking/dockableWindow.js +0 -1239
  544. package/platform/services/window/Docking/dockableWindow.js.map +0 -1
  545. package/platform/services/window/Docking/dockingCalculator.d.ts +0 -741
  546. package/platform/services/window/Docking/dockingCalculator.d.ts.map +0 -1
  547. package/platform/services/window/Docking/dockingCalculator.js +0 -3438
  548. package/platform/services/window/Docking/dockingCalculator.js.map +0 -1
  549. package/platform/services/window/Docking/dockingMain.d.ts +0 -349
  550. package/platform/services/window/Docking/dockingMain.d.ts.map +0 -1
  551. package/platform/services/window/Docking/dockingMain.js +0 -2541
  552. package/platform/services/window/Docking/dockingMain.js.map +0 -1
  553. package/platform/services/window/Docking/maskBoundsCalculator.d.ts +0 -28
  554. package/platform/services/window/Docking/maskBoundsCalculator.d.ts.map +0 -1
  555. package/platform/services/window/Docking/maskBoundsCalculator.js +0 -67
  556. package/platform/services/window/Docking/maskBoundsCalculator.js.map +0 -1
  557. package/platform/services/window/Docking/monitorUpdateHandler.d.ts +0 -32
  558. package/platform/services/window/Docking/monitorUpdateHandler.d.ts.map +0 -1
  559. package/platform/services/window/Docking/monitorUpdateHandler.js +0 -117
  560. package/platform/services/window/Docking/monitorUpdateHandler.js.map +0 -1
  561. package/platform/services/window/Docking/types.d.ts +0 -334
  562. package/platform/services/window/Docking/types.d.ts.map +0 -1
  563. package/platform/services/window/Docking/types.js +0 -12
  564. package/platform/services/window/Docking/types.js.map +0 -1
  565. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts +0 -90
  566. package/platform/services/window/MultiWindowFeatures/autoArrange.d.ts.map +0 -1
  567. package/platform/services/window/MultiWindowFeatures/autoArrange.js +0 -510
  568. package/platform/services/window/MultiWindowFeatures/autoArrange.js.map +0 -1
  569. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts +0 -411
  570. package/platform/services/window/StackedWindowManager/stackedWindowManager.d.ts.map +0 -1
  571. package/platform/services/window/StackedWindowManager/stackedWindowManager.js +0 -1641
  572. package/platform/services/window/StackedWindowManager/stackedWindowManager.js.map +0 -1
  573. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts +0 -469
  574. package/platform/services/window/WindowAbstractions/BaseWindow.d.ts.map +0 -1
  575. package/platform/services/window/WindowAbstractions/BaseWindow.js +0 -1347
  576. package/platform/services/window/WindowAbstractions/BaseWindow.js.map +0 -1
  577. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts +0 -9
  578. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.d.ts.map +0 -1
  579. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js +0 -23
  580. package/platform/services/window/WindowAbstractions/FinsembleWindowInternal.js.map +0 -1
  581. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts +0 -227
  582. package/platform/services/window/WindowAbstractions/WebWindowWrapper.d.ts.map +0 -1
  583. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js +0 -1168
  584. package/platform/services/window/WindowAbstractions/WebWindowWrapper.js.map +0 -1
  585. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts +0 -121
  586. package/platform/services/window/WindowAbstractions/externalWindowWrapper.d.ts.map +0 -1
  587. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js +0 -591
  588. package/platform/services/window/WindowAbstractions/externalWindowWrapper.js.map +0 -1
  589. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts +0 -194
  590. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.d.ts.map +0 -1
  591. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js +0 -680
  592. package/platform/services/window/WindowAbstractions/stackedWindowWrapper.js.map +0 -1
  593. package/platform/services/window/windowGroup.d.ts +0 -86
  594. package/platform/services/window/windowGroup.d.ts.map +0 -1
  595. package/platform/services/window/windowGroup.js +0 -323
  596. package/platform/services/window/windowGroup.js.map +0 -1
  597. package/platform/services/workspace/windowStorageManager.d.ts +0 -180
  598. package/platform/services/workspace/windowStorageManager.d.ts.map +0 -1
  599. package/platform/services/workspace/windowStorageManager.js +0 -195
  600. package/platform/services/workspace/windowStorageManager.js.map +0 -1
  601. package/react/assets/icons/question-circle.svg +0 -6
  602. package/react/components/legacyControls/FinsembleHoverDetector.d.ts +0 -23
  603. package/react/components/legacyControls/FinsembleHoverDetector.d.ts.map +0 -1
  604. package/react/components/legacyControls/FinsembleHoverDetector.js +0 -57
  605. package/react/components/legacyControls/FinsembleHoverDetector.js.map +0 -1
  606. package/react/components/sdd/Appearance.helpers.d.ts +0 -2
  607. package/react/components/sdd/Appearance.helpers.d.ts.map +0 -1
  608. package/react/components/sdd/Appearance.helpers.js +0 -2
  609. package/react/components/sdd/Appearance.helpers.js.map +0 -1
  610. package/react/components/shared/linkerUtil.d.ts +0 -4
  611. package/react/components/shared/linkerUtil.d.ts.map +0 -1
  612. package/react/components/shared/linkerUtil.js +0 -10
  613. package/react/components/shared/linkerUtil.js.map +0 -1
  614. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -31
  615. package/react/components/windowTitleBar/components/center/Tab.d.ts.map +0 -1
  616. package/react/components/windowTitleBar/components/center/Tab.js +0 -58
  617. package/react/components/windowTitleBar/components/center/Tab.js.map +0 -1
  618. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -138
  619. package/react/components/windowTitleBar/components/center/TabList.d.ts.map +0 -1
  620. package/react/components/windowTitleBar/components/center/TabList.js +0 -614
  621. package/react/components/windowTitleBar/components/center/TabList.js.map +0 -1
  622. package/react/components/windowTitleBar/components/center/TabRegion.d.ts +0 -3
  623. package/react/components/windowTitleBar/components/center/TabRegion.d.ts.map +0 -1
  624. package/react/components/windowTitleBar/components/center/TabRegion.js +0 -13
  625. package/react/components/windowTitleBar/components/center/TabRegion.js.map +0 -1
  626. package/react/components/windowTitleBar/components/left/LinkerButton.d.ts.map +0 -1
  627. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +0 -1
  628. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +0 -85
  629. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts.map +0 -1
  630. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +0 -172
  631. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +0 -1
  632. package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts.map +0 -1
  633. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +0 -1
  634. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +0 -50
  635. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts.map +0 -1
  636. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +0 -120
  637. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +0 -1
  638. package/react/components/windowTitleBar/components/left/ShareButton.d.ts +0 -42
  639. package/react/components/windowTitleBar/components/left/ShareButton.d.ts.map +0 -1
  640. package/react/components/windowTitleBar/components/left/ShareButton.js +0 -82
  641. package/react/components/windowTitleBar/components/left/ShareButton.js.map +0 -1
  642. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +0 -3
  643. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts.map +0 -1
  644. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +0 -15
  645. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +0 -1
  646. package/react/components/windowTitleBar/components/right/CloseButton.d.ts.map +0 -1
  647. package/react/components/windowTitleBar/components/right/CloseButton.js +0 -16
  648. package/react/components/windowTitleBar/components/right/CloseButton.js.map +0 -1
  649. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +0 -50
  650. package/react/components/windowTitleBar/components/right/GroupingButton.d.ts.map +0 -1
  651. package/react/components/windowTitleBar/components/right/GroupingButton.js +0 -82
  652. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +0 -1
  653. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +0 -59
  654. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts.map +0 -1
  655. package/react/components/windowTitleBar/components/right/MaximizeButton.js +0 -96
  656. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +0 -1
  657. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +0 -26
  658. package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts.map +0 -1
  659. package/react/components/windowTitleBar/components/right/MinimizeButton.js +0 -32
  660. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +0 -1
  661. package/react/components/windowTitleBar/components/windowTitle.d.ts +0 -67
  662. package/react/components/windowTitleBar/components/windowTitle.d.ts.map +0 -1
  663. package/react/components/windowTitleBar/components/windowTitle.js +0 -382
  664. package/react/components/windowTitleBar/components/windowTitle.js.map +0 -1
  665. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +0 -69
  666. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts.map +0 -1
  667. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +0 -610
  668. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +0 -1
  669. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +0 -44
  670. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts.map +0 -1
  671. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +0 -43
  672. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +0 -1
  673. package/react/components/windowTitleBar/windowTitleBarContext.d.ts +0 -23
  674. package/react/components/windowTitleBar/windowTitleBarContext.d.ts.map +0 -1
  675. package/react/components/windowTitleBar/windowTitleBarContext.js +0 -22
  676. package/react/components/windowTitleBar/windowTitleBarContext.js.map +0 -1
  677. package/react/types/windowTitleBar.d.ts +0 -49
  678. package/react/types/windowTitleBar.d.ts.map +0 -1
  679. package/react/types/windowTitleBar.js +0 -2
  680. package/react/types/windowTitleBar.js.map +0 -1
  681. /package/react/components/windowTitleBar/{components/right/CloseButton.d.ts → CloseButton.d.ts} +0 -0
  682. /package/react/components/windowTitleBar/{components/left/LinkerButton.d.ts → LinkerButton.d.ts} +0 -0
  683. /package/react/components/windowTitleBar/{components/left/LinkerGroups.d.ts → LinkerGroups.d.ts} +0 -0
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ /// <reference types="react" />
6
+ import { SmartDesktopClient } from "./smartDesktopClient";
7
+ import "./css/export.css";
8
+ export declare type ExportProps = {
9
+ progressCheckInterval: number;
10
+ getProjectConfig: typeof SmartDesktopClient.projectConfig;
11
+ createProjectZip: typeof SmartDesktopClient.createProjectZip;
12
+ publishToCosaicCloud: typeof SmartDesktopClient.publishToCosaicCloud;
13
+ getPublishProgress: typeof SmartDesktopClient.getPublishProgress;
14
+ copyProjectFiles: typeof SmartDesktopClient.copyProjectFiles;
15
+ moveProjectFiles: typeof SmartDesktopClient.moveProjectFiles;
16
+ updateProjectSettings: typeof SmartDesktopClient.updateProjectSettings;
17
+ cancelEditing?: () => void;
18
+ addNewProjectFn?: (clone?: boolean, cb?: () => void) => void;
19
+ resetProject: typeof SmartDesktopClient.resetProject;
20
+ updateFinsembleCoreVersion: typeof SmartDesktopClient.updateFinsembleCoreVersion;
21
+ isOutdated: boolean;
22
+ };
23
+ export declare const Export: (props: ExportProps) => JSX.Element;
24
+ //# sourceMappingURL=Export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Export.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Export.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAcH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,kBAAkB,CAAC;AAE1B,oBAAY,WAAW,GAAG;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,OAAO,kBAAkB,CAAC,aAAa,CAAC;IAC1D,gBAAgB,EAAE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7D,oBAAoB,EAAE,OAAO,kBAAkB,CAAC,oBAAoB,CAAC;IACrE,kBAAkB,EAAE,OAAO,kBAAkB,CAAC,kBAAkB,CAAC;IACjE,gBAAgB,EAAE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7D,gBAAgB,EAAE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7D,qBAAqB,EAAE,OAAO,kBAAkB,CAAC,qBAAqB,CAAC;IACvE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC7D,YAAY,EAAE,OAAO,kBAAkB,CAAC,YAAY,CAAC;IACrD,0BAA0B,EAAE,OAAO,kBAAkB,CAAC,0BAA0B,CAAC;IACjF,UAAU,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,WAAW,gBAyMxC,CAAC"}
@@ -0,0 +1,133 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import React, { useState } from "react";
6
+ import { View } from "./View";
7
+ import { Content } from "./Content";
8
+ import { ExportCloud } from "./ExportCloud";
9
+ import { ExportZip } from "./ExportZip";
10
+ import { Publish } from "./Publish";
11
+ import { ExportDeployInfo } from "./ExportDeployInfo";
12
+ import { useSelector, useDispatch } from "../../store";
13
+ import { SmartDesktopDesignerActions } from "../../actions/smartDesktopDesignerActions";
14
+ import { FEAGlobals } from "../../../common/Globals";
15
+ import { SmartDesktopClient } from "./smartDesktopClient";
16
+ import { Button } from "../common/Button";
17
+ import { ButtonIcon } from "../common/ButtonIcon";
18
+ import "./css/export.css";
19
+ export const Export = (props) => {
20
+ const dispatch = useDispatch();
21
+ const isPublishing = useSelector((store) => store.smartDesktopDesigner.export.isPublishing);
22
+ const deployInfo = useSelector((store) => store.smartDesktopDesigner.export.deployInfo);
23
+ const project = useSelector((state) => state.smartDesktopDesigner.projectInfo);
24
+ const version = useSelector((state) => state.smartDesktopDesigner.fsblVersion);
25
+ const [tmpProjectName, setTmpProjectName] = useState((project === null || project === void 0 ? void 0 : project.name) === "default" ? "" : project === null || project === void 0 ? void 0 : project.name);
26
+ const isProjectNameValid = SmartDesktopClient.checkValidProjectName(tmpProjectName);
27
+ const setProject = (value) => {
28
+ dispatch(SmartDesktopDesignerActions.set_project_info(value));
29
+ };
30
+ const [isEditingPath, setIsEditingPath] = useState(false);
31
+ const onSaveProjectName = (name) => {
32
+ props.updateProjectSettings(Object.assign(Object.assign({}, project), { name: name })).then(({ err }) => {
33
+ if (err) {
34
+ FEAGlobals.FSBL.Clients.Logger.system.error(`ERROR updateProjectSettings: ${JSON.stringify(err)}`);
35
+ }
36
+ else {
37
+ setProject(Object.assign(Object.assign({}, project), { name }));
38
+ }
39
+ });
40
+ };
41
+ const updateProject = () => {
42
+ FEAGlobals.FSBL.Clients.DialogManager.open("yesNo", {
43
+ title: "Update project",
44
+ question: `Updating project ${project === null || project === void 0 ? void 0 : project.name} will require Finsemble to restart. Are you sure you want to proceed?`,
45
+ affirmativeResponseLabel: "Yes",
46
+ negativeResponseLabel: "No",
47
+ showCancelButton: false,
48
+ showNegativeButton: true,
49
+ }, async (error, response) => {
50
+ if (error || response.choice !== "affirmative") {
51
+ return;
52
+ }
53
+ const { err } = await props.updateFinsembleCoreVersion(project === null || project === void 0 ? void 0 : project.name, version);
54
+ if (err) {
55
+ FEAGlobals.FSBL.Clients.DialogManager.open("YesNoDialog", {
56
+ title: "Error",
57
+ question: `There was an error when trying to update the Finsemble version: ${err}`,
58
+ affirmativeResponseLabel: "OK",
59
+ showCancelButton: false,
60
+ showNegativeButton: false,
61
+ }, () => { });
62
+ }
63
+ FEAGlobals.FSBL.restartApplication();
64
+ });
65
+ };
66
+ const onSaveProjectPath = (path) => {
67
+ props.updateProjectSettings(Object.assign(Object.assign({}, project), { path })).then(({ err }) => {
68
+ if (err) {
69
+ FEAGlobals.FSBL.Clients.Logger.system.error(`ERROR updateProjectSettings: ${JSON.stringify(err)}`);
70
+ }
71
+ else {
72
+ setProject(Object.assign(Object.assign({}, project), { path }));
73
+ }
74
+ });
75
+ };
76
+ return (React.createElement(View, null,
77
+ React.createElement(Content, null, isPublishing ? (React.createElement(Publish, Object.assign({}, props))) : (React.createElement("div", { className: "export-block" },
78
+ props.isOutdated && (React.createElement("div", { className: "update-block" },
79
+ React.createElement(Button, { fashion: "hollow", text: "Update project", onClick: updateProject, iconBefore: "exclamation-circle" }))),
80
+ React.createElement("div", { className: "export-label" },
81
+ React.createElement("label", { htmlFor: "project-name" }, "Project name")),
82
+ React.createElement("div", { className: "export-project-name" },
83
+ React.createElement("input", { type: "text", className: "project-name-field", id: "project-name", name: "project-name", placeholder: "Untitled", "aria-invalid": !isProjectNameValid, value: tmpProjectName, style: { fontSize: 14 }, onInput: (e) => {
84
+ setTmpProjectName(e.target.value);
85
+ }, onKeyDown: (e) => {
86
+ if (e.key === "Enter") {
87
+ e.currentTarget.blur();
88
+ }
89
+ } })),
90
+ React.createElement("div", { className: "export-label" },
91
+ React.createElement("label", { htmlFor: "project-location" }, "File location")),
92
+ React.createElement("div", { className: "export-file-location" },
93
+ React.createElement("input", { id: "project-location", className: "project-name-field", type: "text", disabled: true, value: isEditingPath ? "..." : project.path }),
94
+ React.createElement(ButtonIcon, { icon: "search", text: "Select folder location", onClick: async () => {
95
+ setIsEditingPath(true);
96
+ try {
97
+ const { data } = await props.moveProjectFiles(project.name);
98
+ if (data) {
99
+ onSaveProjectPath(data);
100
+ }
101
+ }
102
+ catch (err) { }
103
+ setIsEditingPath(false);
104
+ } })),
105
+ React.createElement("div", { className: "button-row" },
106
+ React.createElement("div", { className: "button-row-left" },
107
+ React.createElement(Button, { fashion: "danger", text: "Reset project", onClick: () => {
108
+ props.resetProject();
109
+ } })),
110
+ React.createElement("div", { className: "button-row-right" },
111
+ props.addNewProjectFn && (React.createElement(Button, { fashion: "hollow", iconBefore: "copy", text: "Clone project", onClick: () => {
112
+ var _a;
113
+ (_a = props.addNewProjectFn) === null || _a === void 0 ? void 0 : _a.call(props, true, props.cancelEditing);
114
+ } })),
115
+ React.createElement(Button, { fashion: "hollow", text: "Cancel", onClick: () => {
116
+ var _a;
117
+ (_a = props.cancelEditing) === null || _a === void 0 ? void 0 : _a.call(props);
118
+ } }),
119
+ React.createElement(Button, { className: "project-save", fashion: "secondary", text: "Save", onClick: async () => {
120
+ var _a;
121
+ onSaveProjectName(tmpProjectName);
122
+ (_a = props.cancelEditing) === null || _a === void 0 ? void 0 : _a.call(props);
123
+ } }))),
124
+ React.createElement("div", { className: "hr" }, "\u00A0"),
125
+ React.createElement("h2", null, "Publish to Cosaic Cloud"),
126
+ React.createElement(ExportCloud, Object.assign({}, props, { valid: isProjectNameValid })),
127
+ deployInfo && (React.createElement("div", { className: "deployInfoContainer" },
128
+ React.createElement("div", null,
129
+ React.createElement("p", null, "Project installer link:"),
130
+ React.createElement(ExportDeployInfo, null)))),
131
+ React.createElement(ExportZip, Object.assign({}, props, { valid: isProjectNameValid })))))));
132
+ };
133
+ //# sourceMappingURL=Export.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Export.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Export.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAGxF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,kBAAkB,CAAC;AAkB1B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAkB,EAAE,EAAE;IAC5C,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,YAAY,GAAG,WAAW,CAAC,CAAC,KAAgB,E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Ae,EACpB,OAAO,EAAE,GAAG,EAAE;;4BACb,MAAA,KAAK,CAAC,eAAe,sDAAG,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;wBACpD,CAAC,GACA,CACF;oBACD,oBAAC,MAAM,IACN,OAAO,EAAC,QAAQ,EAChB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE;;4BACb,MAAA,KAAK,CAAC,aAAa,qDAAI,CAAC;wBACzB,CAAC,GACA;oBACF,oBAAC,MAAM,IACN,SAAS,EAAC,cAAc,EACxB,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,KAAK,IAAI,EAAE;;4BACnB,iBAAiB,CAAC,cAAc,CAAC,CAAC;4BAClC,MAAA,KAAK,CAAC,aAAa,qDAAI,CAAC;wBACzB,CAAC,GACA,CACG,CACD;YAEN,6BAAK,SAAS,EAAC,IAAI,aAAa;YAEhC,0DAAgC;YAEhC,oBAAC,WAAW,oBAAK,KAAK,IAAE,KAAK,EAAE,kBAAkB,IAAI;YACpD,UAAU,IAAI,CACd,6BAAK,SAAS,EAAC,qBAAqB;gBACnC;oBACC,yDAA8B;oBAC9B,oBAAC,gBAAgB,OAAG,CACf,CACD,CACN;YAED,oBAAC,SAAS,oBAAK,KAAK,IAAE,KAAK,EAAE,kBAAkB,IAAI,CAC9C,CACN,CACQ,CACJ,CACP,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ExportProps } from "./Export";
3
+ export declare type ExportCloudProps = ExportProps & {
4
+ valid: boolean;
5
+ };
6
+ export declare const ExportCloud: (props: ExportCloudProps) => JSX.Element;
7
+ //# sourceMappingURL=ExportCloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportCloud.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportCloud.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,oBAAY,gBAAgB,GAAG,WAAW,GAAG;IAC5C,KAAK,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,gBAAgB,gBAyDlD,CAAC"}
@@ -0,0 +1,38 @@
1
+ import React, { useEffect } from "react";
2
+ import { Button } from "../common/Button";
3
+ import { useDispatch, useSelector } from "../../store";
4
+ import { SmartDesktopDesignerActions } from "../../actions/smartDesktopDesignerActions";
5
+ import { ProjectErrors } from "./ProjectErrors";
6
+ export const ExportCloud = (props) => {
7
+ const dispatch = useDispatch();
8
+ const deployInfo = useSelector((store) => store.smartDesktopDesigner.export.deployInfo);
9
+ const projectErrors = useSelector((store) => store.smartDesktopDesigner.errors);
10
+ /**
11
+ * This will run once. We'll check to see if there's a current deployInfo for our
12
+ * project, in other words has it already been published.
13
+ */
14
+ useEffect(() => {
15
+ const getProjectConfig = async () => {
16
+ const projectConfig = await props.getProjectConfig();
17
+ const currentDeployInfo = projectConfig === null || projectConfig === void 0 ? void 0 : projectConfig.deployInfo;
18
+ if (currentDeployInfo) {
19
+ dispatch(SmartDesktopDesignerActions.set_deploy_info(currentDeployInfo));
20
+ }
21
+ };
22
+ getProjectConfig();
23
+ }, []);
24
+ return (React.createElement("div", { className: "export-method package-project" },
25
+ deployInfo ? (React.createElement("div", null,
26
+ React.createElement("p", null, "Publish your project to share it with your users. Click Publish to create a project installer. Please be patient, it can take up to 20 minutes."))) : (React.createElement("div", null,
27
+ React.createElement("p", null, "You can continue working on your desktop project after you publish it. To update the project, republish it. Users will see the changes when they restart their desktop."))),
28
+ React.createElement(ProjectErrors, { errors: projectErrors }),
29
+ React.createElement("div", { className: "export-method-actions" },
30
+ React.createElement(Button, { disabled: projectErrors.length > 0 || !props.valid, fashion: "secondary", text: "Publish", onClick: () => {
31
+ dispatch(SmartDesktopDesignerActions.set_is_publishing(true));
32
+ props
33
+ .publishToCosaicCloud()
34
+ .then((currentDeployInfo) => dispatch(SmartDesktopDesignerActions.set_deploy_info(currentDeployInfo)))
35
+ .catch((error) => dispatch(SmartDesktopDesignerActions.set_publish_error(error)));
36
+ } }))));
37
+ };
38
+ //# sourceMappingURL=ExportCloud.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportCloud.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportCloud.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAExF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAMhD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IACtD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACnG,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAE3F;;;OAGG;IACH,SAAS,CAAC,GAAG,EAAE;QACd,MAAM,gBAAgB,GAAG,KAAK,IAAI,EAAE;YACnC,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,gBAAgB,EAAE,CAAC;YACrD,MAAM,iBAAiB,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,UAAU,CAAC;YAEpD,IAAI,iBAAiB,EAAE;gBACtB,QAAQ,CAAC,2BAA2B,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;aACzE;QACF,CAAC,CAAC;QACF,gBAAgB,EAAE,CAAC;IACpB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,SAAS,EAAC,+BAA+B;QAC5C,UAAU,CAAC,CAAC,CAAC,CACb;YACC,iLAGI,CACC,CACN,CAAC,CAAC,CAAC,CACH;YACC,yMAGI,CACC,CACN;QAED,oBAAC,aAAa,IAAC,MAAM,EAAE,aAAa,GAAkB;QAEtD,6BAAK,SAAS,EAAC,uBAAuB;YACrC,oBAAC,MAAM,IACN,QAAQ,EAAE,aAAa,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAClD,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,GAAG,EAAE;oBACb,QAAQ,CAAC,2BAA2B,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;oBAC9D,KAAK;yBACH,oBAAoB,EAAE;yBACtB,IAAI,CAAC,CAAC,iBAAiB,EAAE,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;yBACrG,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACpF,CAAC,GACA,CACG,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const ExportDeployInfo: () => JSX.Element;
3
+ //# sourceMappingURL=ExportDeployInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportDeployInfo.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportDeployInfo.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,gBAAgB,mBAsB5B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React, { useRef } from "react";
2
+ import { ButtonIcon } from "../common/ButtonIcon";
3
+ import { useSelector } from "../../store";
4
+ export const ExportDeployInfo = () => {
5
+ const publishURLRef = useRef(null);
6
+ const deployInfo = useSelector((store) => store.smartDesktopDesigner.export.deployInfo);
7
+ return (React.createElement("div", { className: "export-publish-url" },
8
+ React.createElement("input", { "aria-label": "Publish URL", type: "text", disabled: true, value: deployInfo === null || deployInfo === void 0 ? void 0 : deployInfo.installerURL, ref: publishURLRef }),
9
+ React.createElement(ButtonIcon, { text: "Copy", icon: "copy", onClick: () => {
10
+ const input = publishURLRef.current;
11
+ input.disabled = false;
12
+ input.focus();
13
+ input.select();
14
+ document.execCommand("copy");
15
+ input.disabled = true;
16
+ } })));
17
+ };
18
+ //# sourceMappingURL=ExportDeployInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportDeployInfo.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportDeployInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,MAAM,aAAa,GAAG,MAAM,CAA0B,IAAI,CAAC,CAAC;IAE5D,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAEnG,OAAO,CACN,6BAAK,SAAS,EAAC,oBAAoB;QAClC,6CAAkB,aAAa,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,QAAC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY,EAAE,GAAG,EAAE,aAAa,GAAI;QAC5G,oBAAC,UAAU,IACV,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,GAAG,EAAE;gBACb,MAAM,KAAK,GAAG,aAAa,CAAC,OAA2B,CAAC;gBACxD,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;gBACvB,KAAK,CAAC,KAAK,EAAE,CAAC;gBACd,KAAK,CAAC,MAAM,EAAE,CAAC;gBACf,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;gBAC7B,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;YACvB,CAAC,GACA,CACG,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ExportProps } from "./Export";
3
+ export declare type ExportZipProps = ExportProps & {
4
+ valid: boolean;
5
+ };
6
+ export declare const ExportZip: (props: ExportZipProps) => JSX.Element;
7
+ //# sourceMappingURL=ExportZip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportZip.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportZip.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAMvC,oBAAY,cAAc,GAAG,WAAW,GAAG;IAC1C,KAAK,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,cAAc,gBAoE9C,CAAC"}
@@ -0,0 +1,43 @@
1
+ import React, { useState } from "react";
2
+ import { useSelector } from "../../store";
3
+ import { Button } from "../common/Button";
4
+ import { FinsembleLink } from "../common/FinsembleLink";
5
+ import { faCheck } from "@fortawesome/free-solid-svg-icons";
6
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
+ export const ExportZip = (props) => {
8
+ const projectSettings = useSelector((store) => store.smartDesktopDesigner.projectInfo);
9
+ const projectErrors = useSelector((store) => store.smartDesktopDesigner.errors);
10
+ const [isCopying, setIsCopying] = useState(false);
11
+ const [exportComplete, setExportComplete] = useState(false);
12
+ const [lastExportTime, setLastExportTime] = useState(null);
13
+ const [lastExportError, setLastExportError] = useState(null);
14
+ return (React.createElement("div", { className: "export-method" },
15
+ React.createElement("div", null,
16
+ React.createElement("h2", null, "Create deployment zip"),
17
+ React.createElement("p", null, "You can host your smart desktop in your own infrastructure. A zip file will be generated which can be provided to your IT department. It will contain a README.md file that contains deployment instructions."),
18
+ React.createElement("p", null,
19
+ "For advanced deployment topics such as CI, automation, sharing, and source control, see",
20
+ React.createElement(FinsembleLink, { url: "https://documentation.finsemble.com/docs/smart-desktop-designer/SDD-10-Finish", text: "documentation" }),
21
+ ".")),
22
+ React.createElement("div", { className: "export-method-actions" },
23
+ !isCopying ? (React.createElement(Button, { className: "export-method-button", disabled: projectErrors.length > 0 || !props.valid, fashion: "secondary", text: "Create zip", buttonAttributes: { "data-target-upload-path": "" }, onClick: (e) => {
24
+ setIsCopying(true);
25
+ setLastExportError(null);
26
+ props
27
+ .copyProjectFiles(projectSettings.name, e.currentTarget.dataset.targetUploadPath)
28
+ .then(() => {
29
+ setLastExportTime(new Date().toLocaleTimeString());
30
+ setExportComplete(true);
31
+ setIsCopying(false);
32
+ })
33
+ .catch((error) => {
34
+ setLastExportError(error);
35
+ });
36
+ } })) : (React.createElement("div", null, "Exporting project...")),
37
+ lastExportTime !== null && exportComplete && (React.createElement("span", { className: "last-export-time" },
38
+ React.createElement(FontAwesomeIcon, { icon: faCheck }),
39
+ "Exporting complete at ",
40
+ lastExportTime)),
41
+ lastExportError !== null && React.createElement("span", { className: "last-export-error" }, lastExportError))));
42
+ };
43
+ //# sourceMappingURL=ExportZip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportZip.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ExportZip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,OAAO,EA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,CAAC;oBACnB,kBAAkB,CAAC,IAAI,CAAC,CAAC;oBAEzB,KAAK;yBACH,gBAAgB,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC;yBAChF,IAAI,CAAC,GAAG,EAAE;wBACV,iBAAiB,CAAC,IAAI,IAAI,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC;wBAEnD,iBAAiB,CAAC,IAAI,CAAC,CAAC;wBACxB,YAAY,CAAC,KAAK,CAAC,CAAC;oBACrB,CAAC,CAAC;yBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;wBAChB,kBAAkB,CAAC,KAAK,CAAC,CAAC;oBAC3B,CAAC,CAAC,CAAC;gBACL,CAAC,GACA,CACF,CAAC,CAAC,CAAC,CACH,wDAA+B,CAC/B;YACA,cAAc,KAAK,IAAI,IAAI,cAAc,IAAI,CAC7C,8BAAM,SAAS,EAAC,kBAAkB;gBACjC,oBAAC,eAAe,IAAC,IAAI,EAAE,OAAO,GAAI;;gBACX,cAAc,CAC/B,CACP;YACA,eAAe,KAAK,IAAI,IAAI,8BAAM,SAAS,EAAC,mBAAmB,IAAE,eAAe,CAAQ,CAEpF,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ /// <reference types="react" />
6
+ import { ProjectError } from "../../types/smartDesktopDesignerTypes";
7
+ import "./css/project-errors.css";
8
+ export declare type ProjectErrorsProps = {
9
+ errors: ProjectError[];
10
+ };
11
+ export declare const ProjectErrors: (props: ProjectErrorsProps) => JSX.Element;
12
+ //# sourceMappingURL=ProjectErrors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectErrors.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ProjectErrors.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAMH,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAIrE,OAAO,0BAA0B,CAAC;AAElC,oBAAY,kBAAkB,GAAG;IAChC,MAAM,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,gBA4BtD,CAAC"}
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import React, { useEffect } from "react";
6
+ import { SmartDesktopDesignerActions } from "../../actions/smartDesktopDesignerActions";
7
+ import { useDispatch, useSelector } from "../../store";
8
+ import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons";
9
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
10
+ import "./css/project-errors.css";
11
+ export const ProjectErrors = (props) => {
12
+ const dispatch = useDispatch();
13
+ const { errors } = props;
14
+ const isReviewingErrors = useSelector((state) => state.smartDesktopDesigner.isReviewingErrors);
15
+ useEffect(() => {
16
+ if (!isReviewingErrors) {
17
+ dispatch(SmartDesktopDesignerActions.set_reviewing_project_errors(true));
18
+ }
19
+ }, []);
20
+ return (React.createElement("div", { className: "project-errors-container" }, errors.map((error, index) => (React.createElement("div", { key: index, className: "project-error", onClick: () => {
21
+ dispatch(SmartDesktopDesignerActions.change_view(error.viewId));
22
+ } },
23
+ React.createElement(FontAwesomeIcon, { icon: faExclamationCircle }),
24
+ error.message)))));
25
+ };
26
+ //# sourceMappingURL=ProjectErrors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectErrors.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ProjectErrors.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,0BAA0B,CAAC;AAMlC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,KAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAE1G,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,iBAAiB,EAAE;YACvB,QAAQ,CAAC,2BAA2B,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC,CAAC;SACzE;IACF,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B,IACvC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC7B,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,GAAG,EAAE;YACb,QAAQ,CAAC,2BAA2B,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACjE,CAAC;QAED,oBAAC,eAAe,IAAC,IAAI,EAAE,mBAAmB,GAAI;QAC7C,KAAK,CAAC,OAAO,CACT,CACN,CAAC,CACG,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import "./Dashboard.css";
3
+ import type { SmartDesktopClient } from "./smartDesktopClient";
4
+ export interface ProjectMasonryProps {
5
+ projects: string[];
6
+ activeProject: string;
7
+ addNewProjectFn: () => void;
8
+ drillInProjectFn: (projectName: string) => void;
9
+ deleteProject: typeof SmartDesktopClient.deleteProject;
10
+ outdatedProjects?: string[];
11
+ }
12
+ export declare const ProjectMasonry: React.FunctionComponent<ProjectMasonryProps>;
13
+ //# sourceMappingURL=ProjectMasonry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectMasonry.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ProjectMasonry.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAqD/D,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,aAAa,EAAE,OAAO,kBAAkB,CAAC,aAAa,CAAC;IACvD,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CA0BvE,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { faExclamationCircle } from "@fortawesome/free-solid-svg-icons";
2
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3
+ import React from "react";
4
+ import { ButtonIcon } from "../common/ButtonIcon";
5
+ import "./Dashboard.css";
6
+ const TileCenter = ({ text = " " }) => (React.createElement("span", { className: "project-tile-letter" }, text.substring(0, 1).toUpperCase()));
7
+ const ProjectTile = ({ title, icon, clickEvent, active = false, deleteProject, outdated = false, }) => (React.createElement("div", { className: `project-tile ${active ? "active-tile" : "inactive-tile"} ${icon ? "has-icon" : ""}` },
8
+ React.createElement("button", { "aria-label": title, className: "project-tile-tile", onClick: () => {
9
+ clickEvent(title);
10
+ } },
11
+ React.createElement(TileCenter, { text: icon ? "+" : title }),
12
+ outdated && (React.createElement("div", { className: "tileBadge", title: "Out of date" },
13
+ React.createElement(FontAwesomeIcon, { icon: faExclamationCircle })))),
14
+ React.createElement("div", { className: "project-tile-name" }, title),
15
+ deleteProject && (React.createElement("div", { className: "buttonRaft" },
16
+ React.createElement(ButtonIcon, { icon: "trash", text: `Delete ${title}`, onClick: () => {
17
+ deleteProject(title);
18
+ } })))));
19
+ export const ProjectMasonry = ({ projects, activeProject, addNewProjectFn, drillInProjectFn, deleteProject, outdatedProjects, }) => (React.createElement("div", { className: "project-tile-masonry" },
20
+ React.createElement(ProjectTile, { active: false, title: "Create new project", icon: React.createElement("span", { className: "icon-plus-circle" }), clickEvent: addNewProjectFn }),
21
+ projects.map((projectName, index) => (React.createElement(ProjectTile, Object.assign({ key: `project-tile-${index}`, active: activeProject === projectName, title: projectName, clickEvent: drillInProjectFn, outdated: outdatedProjects === null || outdatedProjects === void 0 ? void 0 : outdatedProjects.includes(projectName) }, (projectName === activeProject ? {} : { deleteProject })))))));
22
+ //# sourceMappingURL=ProjectMasonry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectMasonry.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/ProjectMasonry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,iBAAiB,CAAC;AAYzB,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CACtC,8BAAM,SAAS,EAAC,qBAAqB,IAAE,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAQ,CACjF,CAAC;AAEF,MAAM,WAAW,GAA8C,CAAC,EAC/D,KAAK,EACL,IAAI,EACJ,UAA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,GAAG,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,CAAC,CACrC,oBAAC,WAAW,kBACX,GAAG,EAAE,gBAAgB,KAAK,EAAE,EAC5B,MAAM,EAAE,aAAa,KAAK,WAAW,EACrC,KAAK,EAAE,WAAW,EAClB,UAAU,EAAE,gBAAgB,EAC5B,QAAQ,EAAE,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,QAAQ,CAAC,WAAW,CAAC,IAC7C,CAAC,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC,EAC3D,CACF,CAAC,CACG,CACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ /// <reference types="react" />
6
+ import { ExportProps } from "./Export";
7
+ export declare type PublishProps = ExportProps;
8
+ export declare const Publish: (props: PublishProps) => JSX.Element;
9
+ //# sourceMappingURL=Publish.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Publish.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Publish.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAUH,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC,oBAAY,YAAY,GAAG,WAAW,CAAC;AAEvC,eAAO,MAAM,OAAO,UAAW,YAAY,gBAiK1C,CAAC"}
@@ -0,0 +1,113 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import React, { useState, useEffect } from "react";
6
+ import { PublishProgress } from "./PublishProgress";
7
+ import { ExportDeployInfo } from "./ExportDeployInfo";
8
+ import { Button } from "../common/Button";
9
+ import { useDispatch, useSelector } from "../../store";
10
+ import { SmartDesktopDesignerActions } from "../../actions/smartDesktopDesignerActions";
11
+ import { ProgressState } from "../../types/smartDesktopDesignerTypes";
12
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
13
+ import { faCheck, faXmark } from "@fortawesome/free-solid-svg-icons";
14
+ export const Publish = (props) => {
15
+ const dispatch = useDispatch();
16
+ const [currentStep, setCurrentStep] = useState("");
17
+ const [stepProgress, setStepProgress] = useState([]);
18
+ const exportContext = useSelector((state) => state.smartDesktopDesigner.export);
19
+ const { deployInfo, publishError } = exportContext;
20
+ const tryAgain = () => {
21
+ setCurrentStep("");
22
+ setStepProgress([]);
23
+ dispatch(SmartDesktopDesignerActions.set_deploy_info(null));
24
+ dispatch(SmartDesktopDesignerActions.set_publish_error(null));
25
+ props
26
+ .publishToCosaicCloud()
27
+ .then((currentDeployInfo) => dispatch(SmartDesktopDesignerActions.set_deploy_info(currentDeployInfo)))
28
+ .catch((error) => dispatch(SmartDesktopDesignerActions.set_publish_error(error)));
29
+ };
30
+ const reset = () => {
31
+ dispatch(SmartDesktopDesignerActions.set_is_publishing(false));
32
+ dispatch(SmartDesktopDesignerActions.set_publish_error(null));
33
+ };
34
+ const hasError = stepProgress.some((step) => step.state === ProgressState.Error);
35
+ const didFinish = (stepProgress.length > 0 &&
36
+ stepProgress.every((step) => {
37
+ if (step.state === ProgressState.Error) {
38
+ dispatch(SmartDesktopDesignerActions.set_publish_error(step.error));
39
+ }
40
+ return step.state === ProgressState.Finished;
41
+ })) ||
42
+ hasError;
43
+ useEffect(() => {
44
+ let debounceTimeout = null;
45
+ if (!didFinish) {
46
+ debounceTimeout = setInterval(() => {
47
+ props.getPublishProgress().then((data) => {
48
+ setCurrentStep(data.currentStep);
49
+ setStepProgress(Object.values(data.steps));
50
+ // Finished! When the installer step reaches state "Finished"
51
+ if (data.steps["cloud"].state === ProgressState.Finished) {
52
+ // dispatch(SmartDesktopDesignerActions.SET_IS_PUBLISHING(false));
53
+ clearInterval(debounceTimeout);
54
+ reset();
55
+ }
56
+ });
57
+ }, props.progressCheckInterval);
58
+ }
59
+ return () => {
60
+ if (debounceTimeout) {
61
+ clearInterval(debounceTimeout);
62
+ }
63
+ };
64
+ }, []);
65
+ return (React.createElement("div", { className: "export-publish-container" }, publishError ? (React.createElement("div", { className: "export-publish-error" },
66
+ React.createElement("h3", null, "Your project was not published"),
67
+ React.createElement("p", null, "An error occurred while trying to publish."),
68
+ React.createElement("p", { className: "export-publish-error-message" },
69
+ "\"",
70
+ publishError,
71
+ "\""),
72
+ React.createElement("div", { className: "export-error-actions" },
73
+ React.createElement(Button, { fashion: "ghost", text: "Cancel", onClick: reset }),
74
+ React.createElement(Button, { className: "export-error-btn", fashion: "secondary", text: "Try again", onClick: tryAgain })))) : (React.createElement(React.Fragment, null,
75
+ React.createElement("h2", null, "Publishing..."),
76
+ React.createElement("div", { className: ["export-publish-progress", hasError ? "export-publish-has-error" : ""].join(" ") }, [
77
+ {
78
+ name: "initialize",
79
+ description: "Creating a location for the project",
80
+ error: "Failed to create a location for the project",
81
+ },
82
+ {
83
+ name: "zip",
84
+ description: "Zipping project",
85
+ error: "Failed to zip the project",
86
+ },
87
+ {
88
+ name: "upload",
89
+ description: "Uploading project",
90
+ error: "Failed to upload the project",
91
+ },
92
+ {
93
+ name: "cloud",
94
+ description: "Creating installer and site",
95
+ error: "Failed to publish",
96
+ },
97
+ ].map((step) => {
98
+ let data = stepProgress.find((item) => item.step === step.name);
99
+ return (data && (React.createElement("div", { key: step.name, className: [
100
+ "publish-progress-container",
101
+ currentStep === step.name ? "publish-current-step" : "",
102
+ ].join(" ") },
103
+ React.createElement("div", { className: "publish-progress-icon" }, data.state === ProgressState.Started ? (React.createElement(PublishProgress, Object.assign({}, data))) : data.state === ProgressState.NotStarted ? (React.createElement("div", { className: "publish-progress-pending" })) : data.state === ProgressState.Error ? (React.createElement("div", { className: "publish-progress-error" },
104
+ React.createElement(FontAwesomeIcon, { icon: faXmark, className: "publish-progress-error-icon", "aria-aria-label": "Error" }))) : (React.createElement("div", { className: "publish-progress-success" },
105
+ React.createElement(FontAwesomeIcon, { icon: faCheck, className: "publish-progress-success-icon", "aria-label": "Success" })))),
106
+ React.createElement("div", { className: "publish-progress-text" }, data.error ? step.error : step.description))));
107
+ })),
108
+ deployInfo && (React.createElement("div", { className: "export-publish-uploaded" },
109
+ React.createElement("h3", null, "Project uploaded"),
110
+ React.createElement("p", null, "Your project has been uploaded to the cloud. It will take several minutes to generate an installer. Share the installer link with your team. The desktop you've created will be available shortly by downloading and installing from the link."),
111
+ React.createElement(ExportDeployInfo, null)))))));
112
+ };
113
+ //# sourceMappingURL=Publish.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Publish.js","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/Publish.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAIrE,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC9C,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,EAAyB,CAAC,CAAC;IAE5E,MAAM,aAAa,GAAG,WAAW,C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AK,IAAI,EAAoB,CAC7C,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAC7C,6BAAK,SAAS,EAAC,0BAA0B,GAAO,CAChD,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CACxC,6BAAK,SAAS,EAAC,wBAAwB;oBACtC,oBAAC,eAAe,IACf,IAAI,EAAE,OAAO,EACb,SAAS,EAAC,6BAA6B,qBACvB,OAAO,GACtB,CACG,CACN,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,0BAA0B;oBACxC,oBAAC,eAAe,IACf,IAAI,EAAE,OAAO,EACb,SAAS,EAAC,+BAA+B,gBAC9B,SAAS,GACnB,CACG,CACN,CACI;gBACN,6BAAK,SAAS,EAAC,uBAAuB,IAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAO,CACpF,CACN,CACD,CAAC;QACH,CAAC,CAAC,CACG;QACL,UAAU,IAAI,CACd,6BAAK,SAAS,EAAC,yBAAyB;YACvC,mDAAyB;YACzB,gRAII;YACJ,oBAAC,gBAAgB,OAAG,CACf,CACN,CACC,CACH,CACI,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import React from "react";
6
+ export declare type PublishProgressProps = {
7
+ percentComplete: number;
8
+ };
9
+ export declare const PublishProgress: React.FunctionComponent<PublishProgressProps>;
10
+ //# sourceMappingURL=PublishProgress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishProgress.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/sdd/PublishProgress.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,oBAAoB,GAAG;IAClC,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAiBzE,CAAC"}
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Copyright 2017 - 2020 by ChartIQ, Inc.
3
+ * All rights reserved.
4
+ */
5
+ import React from "react";
6
+ import { CircularProgressbar, buildStyles } from "react-circular-progressbar";
7
+ export const PublishProgress = ({ percentComplete }) => (React.createElement("div", { className: "publish-progress-indicator", style: { width: 24, height: 24 } },
8
+ React.createElement(CircularProgressbar
9
+ // strokeWidth={24}
10
+ // reduction={0}
11
+ // hideBall={true}
12
+ // progress={percentComplete}
13
+ , {
14
+ // strokeWidth={24}
15
+ // reduction={0}
16
+ // hideBall={true}
17
+ // progress={percentComplete}
18
+ value: percentComplete, strokeWidth: 15, styles: buildStyles({
19
+ pathTransitionDuration: 0.5,
20
+ pathColor: `#42a5ba`,
21
+ trailColor: "#373b43",
22
+ backgroundColor: "#3e98c7",
23
+ }) })));
24
+ //# sourceMappingURL=PublishProgress.js.map