@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,479 @@
1
+ /**
2
+ * There are several UI aspects brought together in the tabbing implementation.
3
+ *
4
+ * 1) Rendering tab collections. A redux store in the window service provides the single source of truth for tab rendering. Each
5
+ * WindowTitleBar subscribes to that store via remote-redux. Activity (such as clicking on a tab) is then published back to the
6
+ * remote store via redux dispatch actions. There are no client side effects that use the FSBL library or FinsembleWindow.
7
+ *
8
+ * 2) Tab dragging - this includes re-ordering of tabs, moving tabs between windows, removing tabs from collections and using the tab
9
+ * drag to initiate tiling. Tab dragging uses the `dragging` section of the remote-redux store to coordinate actions between windows.
10
+ * The algorithm does not affect the permanent store until the dragging action is complete (when onDragEnd is triggered). The `Tabs` react
11
+ * component temporarily removes the tab that is being dragged. `Tabs` react components in any window will then create "gaps" in the tab
12
+ * collection to indicate where the tab will be relocated. Gaps are created with a CSS transform that shifts tabs to the right to make
13
+ * the gap. Note that extra space is added to the end of the tab collection to balance the space lost when the tab was removed (transform
14
+ * space is not accounted for by the browser).
15
+ *
16
+ * 3) scrolling - A tab collection can be scrolled either with the mousewheel or by clicking on scroll buttons (chevrons). The `useScroll()`
17
+ * hook performs all the calculations necessary. The entire tab collection is then transformed to the left or right to emulate a scrolling
18
+ * action.
19
+ *
20
+ * 4) Title editing - Double clicking on a title allows it to be edited by the user. When in editing mode, the tab is rendered with an
21
+ * input field. Enter or Escape can be used to complete the edit.
22
+ */
23
+ import React, { useContext, useEffect, useRef, useState } from "react";
24
+ import { useDispatch, useSelector } from "react-redux";
25
+ import { actions } from "../../../platform/services/window/modules/actions";
26
+ import { WindowNameContext } from "./WindowTitleBarContext";
27
+ import { TabTitle } from "./TabTitle";
28
+ import { useDragRegion } from "../../hooks/useDragRegion";
29
+ import { useMaximize } from "./useMaximize";
30
+ import { TitleEdit } from "./TitleEdit";
31
+ const THROTTLE50MS = 50;
32
+ const TabClose = ({ tabWindowName }) => {
33
+ const dispatch = useDispatch();
34
+ const closeThisTab = (e) => {
35
+ // Stop propagation to prevent the tab from being promoted while we're actually closing it
36
+ e.stopPropagation();
37
+ dispatch(actions.closeTab({
38
+ targetWindowName: tabWindowName,
39
+ }));
40
+ };
41
+ return (React.createElement("div", { className: "fsbl-tab-close", onClick: closeThisTab },
42
+ React.createElement("i", { className: "ff-close" })));
43
+ };
44
+ const TabInnards = ({ editing, title, tabWindowName, cancelEditing, saveTitle, }) => {
45
+ if (editing)
46
+ return React.createElement(TitleEdit, { title: title, cancelEditing: cancelEditing, saveTitle: saveTitle });
47
+ return (React.createElement(React.Fragment, null,
48
+ React.createElement(TabTitle, { tabWindowName: tabWindowName }),
49
+ React.createElement(TabClose, { tabWindowName: tabWindowName })));
50
+ };
51
+ /**
52
+ * Sets a custom drag image that is a standard size and semi-opaque. This makes it easier
53
+ * to see the tabs and gap below the cursor.
54
+ */
55
+ const setDragImage = (transfer) => {
56
+ const width = 60;
57
+ const height = 20;
58
+ const border = 4;
59
+ const light = "rgba(255,255,255,.5)";
60
+ const dark = "rgba(0,0,0,.5)";
61
+ const canvas = document.createElement("canvas");
62
+ canvas.width = width;
63
+ canvas.height = height;
64
+ const ctx = canvas.getContext("2d");
65
+ for (let x = 0; x < width / 2; x++) {
66
+ for (let y = 0; y < height / 2; y++) {
67
+ ctx.fillStyle = (x + y) % 2 ? light : dark;
68
+ ctx.fillRect(x * 2, y * 2, 2, 2);
69
+ }
70
+ }
71
+ ctx.clearRect(border, border, width - border * 2, height - border * 2);
72
+ // Add to browser body and then immediately remove in the timeout
73
+ // Position it way off the edge of the screen
74
+ Object.assign(canvas.style, {
75
+ position: "absolute",
76
+ left: "-4000px",
77
+ top: "-4000px",
78
+ width: `${width}px`,
79
+ height: `${height}}px`,
80
+ });
81
+ document.body.appendChild(canvas);
82
+ transfer.setDragImage(canvas, width / 2, height / 2);
83
+ setTimeout(() => {
84
+ canvas.remove();
85
+ });
86
+ };
87
+ /**
88
+ * Encapsulates logic relating to dragging an individual tab. This interacts with the remote redux store, turning dragging on
89
+ * and off when dragstart and dragend events are triggered on the tab.
90
+ */
91
+ const useDragTab = ({ draggable, tabWindowName, windowName, index, domRef, }) => {
92
+ const dispatch = useDispatch();
93
+ const state = useSelector((currentState) => currentState);
94
+ const onDragStart = (e) => {
95
+ var _a, _b, _c, _d;
96
+ if (!draggable || !windowName)
97
+ return;
98
+ dispatch(actions.setDraggingStatus({
99
+ windowNameBeingDragged: tabWindowName,
100
+ inWindowName: windowName,
101
+ temporaryPosition: index,
102
+ tabWidth: (_c = (_b = (_a = domRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width) !== null && _c !== void 0 ? _c : 60,
103
+ }));
104
+ // Not really used, but good housekeeping to have some data set
105
+ e.dataTransfer.setData("application/windowName", tabWindowName);
106
+ // Eliminates the default "+" that appears on the cursor
107
+ e.dataTransfer.effectAllowed = "move";
108
+ // Override the auto-generated image
109
+ setDragImage(e.dataTransfer);
110
+ /**
111
+ * We can't use React's onDragEnd event because we're temporarily removing our tab during the dragging. When
112
+ * we remove the tab, React loses its linkage to the orphaned DOM node. Instead, we manually set an HTML
113
+ * "dragend" event to capture the end of the drag action (and we're careful to also remove that event handler)
114
+ * after it triggers.
115
+ */
116
+ const onDragEnd = (dragEvent) => {
117
+ var _a;
118
+ (_a = dragEvent.currentTarget) === null || _a === void 0 ? void 0 : _a.removeEventListener("dragend", onDragEnd);
119
+ dispatch(actions.stopDragging());
120
+ };
121
+ (_d = domRef.current) === null || _d === void 0 ? void 0 : _d.addEventListener("dragend", onDragEnd);
122
+ };
123
+ const onDragOver = (e) => {
124
+ var _a;
125
+ e.preventDefault();
126
+ if (!draggable || !windowName || !domRef || !state.dragging)
127
+ return;
128
+ const rect = (_a = domRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
129
+ if (!rect)
130
+ return;
131
+ const midpoint = rect.x + rect.width / 2;
132
+ // If the mouse is over the left side of the tab then a gap should appear to the left of the tab. So if this tab is in position
133
+ // zero then the gap should take over that position. But if the mouse is over the right side of the tab then the gap should be
134
+ // to the right of this tab. So if this tab is in position zero then the gap should be in position 1.
135
+ const gapPosition = e.clientX < midpoint ? index : index + 1;
136
+ // Only dispatch if the position has changed. onDragOver fires continually as you're dragging (60 times per second) so we have
137
+ // to be careful not to do too much work in each cycle and not to trigger renders unless necessary
138
+ if (gapPosition !== state.dragging.temporaryPosition) {
139
+ dispatch(actions.setDraggingStatus(Object.assign(Object.assign({}, state.dragging), { inWindowName: windowName, temporaryPosition: gapPosition })));
140
+ }
141
+ };
142
+ return {
143
+ onDragStart,
144
+ onDragOver,
145
+ };
146
+ };
147
+ /**
148
+ * This hook encapsulates logic related to editing titles. Title editing is a local operation. It does
149
+ * not interact with the remote redux store until the title has been fully edited. The actual editing
150
+ * occurs in the TitleEdit component.
151
+ */
152
+ const useEditTab = ({ allowEdit }) => {
153
+ const [editing, setEditing] = useState(false);
154
+ const dispatch = useDispatch();
155
+ // Only allow editing if the tab is wide enough
156
+ const maybeEditTitle = () => {
157
+ if (!allowEdit)
158
+ return;
159
+ setEditing(true);
160
+ };
161
+ const cancelEditing = () => {
162
+ setEditing(false);
163
+ };
164
+ const saveTitle = (title) => {
165
+ dispatch(actions.setUserDefinedTitle({
166
+ title,
167
+ }));
168
+ setEditing(false);
169
+ };
170
+ return {
171
+ maybeEditTitle,
172
+ cancelEditing,
173
+ saveTitle,
174
+ editing,
175
+ };
176
+ };
177
+ /**
178
+ * An individual tab. This handles dragging and clicking events.
179
+ *
180
+ * `index` is the tab's position in the tab list
181
+ * `gap` indicates a gap section for a possible drop
182
+ * `transform` the CSS transform that should be applied - which will create a gap when dragging tabs around
183
+ */
184
+ const Tab = ({ tabWindowName, index, transform, }) => {
185
+ var _a, _b, _c, _d;
186
+ const dispatch = useDispatch();
187
+ const domRef = useRef(null);
188
+ const windowName = useContext(WindowNameContext);
189
+ const state = useSelector((currentState) => currentState);
190
+ const myState = state.windows[tabWindowName];
191
+ const title = (_a = myState === null || myState === void 0 ? void 0 : myState.title) !== null && _a !== void 0 ? _a : null;
192
+ const isThin = !!((_b = domRef === null || domRef === void 0 ? void 0 : domRef.current) === null || _b === void 0 ? void 0 : _b.clientWidth) && !state.dragging && ((_c = domRef === null || domRef === void 0 ? void 0 : domRef.current) === null || _c === void 0 ? void 0 : _c.clientWidth) < 80;
193
+ const isPromoted = (myState === null || myState === void 0 ? void 0 : myState.tabCollectionId)
194
+ ? ((_d = state.tabCollections[myState.tabCollectionId]) === null || _d === void 0 ? void 0 : _d.promotedWindowName) === tabWindowName
195
+ : true;
196
+ // Only show the close button on wide tabs. On thin tabs, only show the close button if it is the current promoted tab.
197
+ const showCloseButton = !state.dragging && (!isThin || isPromoted);
198
+ const { editing, maybeEditTitle, cancelEditing, saveTitle } = useEditTab({
199
+ allowEdit: (myState === null || myState === void 0 ? void 0 : myState.editable) && isPromoted,
200
+ });
201
+ const draggable = !!windowName && !editing;
202
+ const { onDragStart, onDragOver } = useDragTab({
203
+ draggable,
204
+ tabWindowName,
205
+ windowName,
206
+ index,
207
+ domRef,
208
+ });
209
+ const promoteTab = () => {
210
+ dispatch(actions.promoteTab({
211
+ targetWindowName: tabWindowName,
212
+ }));
213
+ };
214
+ const style = transform
215
+ ? {
216
+ transform,
217
+ }
218
+ : undefined;
219
+ const className = isPromoted && !editing && !state.dragging ? "fsbl-tab fsbl-active-tab" : "fsbl-tab";
220
+ return (React.createElement("div", { ref: domRef, draggable: !editing, onDragStart: onDragStart, onDragOver: onDragOver, onDoubleClick: maybeEditTitle, onClick: promoteTab, className: className, style: style, title: title !== null && title !== void 0 ? title : "", "data-show-close-button": showCloseButton },
221
+ React.createElement(TabInnards, { title: title, tabWindowName: tabWindowName, editing: editing, cancelEditing: cancelEditing, saveTitle: saveTitle })));
222
+ };
223
+ const domNotReady = {
224
+ scrollLeft: 0,
225
+ scrollWidth: 0,
226
+ offsetWidth: 0,
227
+ clientWidth: 0,
228
+ };
229
+ /**
230
+ * Scroll algorithm:
231
+ *
232
+ * Scrolling is accomplished using the "translateX" CSS transform. This transform shifts the entire fsbl-tabs-container to the right
233
+ * or to the left, creating the illusion of scrolling. The "transition" CSS provides an animation. This is the primary reason for using
234
+ * this technique (rather than adjusting scrollBy).
235
+ *
236
+ * `scrollAmount` is the distance that the dom element is shifted from its normal position. Note that a transform moves left in order to
237
+ * give the illusion of scrolling to the right. Thus the transform is always the negative inverse of `scrollAmount`.
238
+ *
239
+ * The transition animation is applied by default, taking effect when the scroll buttons (chevrons) are pressed. The transition is
240
+ * disabled when a mousewheel event is received. Mousewheel events provide a precise pixel amount, incorporating their own heuristics
241
+ * for easing (such as touch pad gestures, which get translated into a stream of mousewheel events). Thus, the transition is disabled for
242
+ * 500 milliseconds whenever a mousewheel event is received.
243
+ *
244
+ * scrollAmount is synchronized via remote-redux so that all of the windows show the same scrolled distance when switching back and forth
245
+ * between tabs. When loading a tab collection from a workspace, the initial scrollAmount is estimated, but that estimated amount is only
246
+ * applied if the window is small enough to require scrolling.
247
+ */
248
+ const useScroll = (scrollAmount) => {
249
+ var _a;
250
+ const dispatch = useDispatch();
251
+ const scrollAmountRef = useRef(scrollAmount);
252
+ const [transition, setTransition] = useState(true);
253
+ const [transitionTimeout, setTransitionTimeout] = useState(null);
254
+ const tabContainerRef = useRef(null);
255
+ scrollAmountRef.current = scrollAmount;
256
+ const { offsetWidth, scrollWidth } = (_a = tabContainerRef.current) !== null && _a !== void 0 ? _a : domNotReady;
257
+ const setScrollAmount = (newScrollAmount) => {
258
+ scrollAmountRef.current = newScrollAmount;
259
+ dispatch(actions.scroll({
260
+ scroll: newScrollAmount,
261
+ }));
262
+ };
263
+ const onWheel = (e) => {
264
+ if (e.deltaY < 0) {
265
+ setScrollAmount(Math.max(0, scrollAmount + e.deltaY));
266
+ }
267
+ else {
268
+ setScrollAmount(Math.min(scrollWidth - offsetWidth, scrollAmount + e.deltaY));
269
+ }
270
+ setTransition(false);
271
+ if (transitionTimeout)
272
+ clearTimeout(transitionTimeout);
273
+ setTransitionTimeout(setTimeout(() => {
274
+ setTransition(true);
275
+ }, 500));
276
+ };
277
+ const lessScroll = () => {
278
+ setScrollAmount(Math.max(0, scrollAmount - 200));
279
+ };
280
+ const moreScroll = () => {
281
+ setScrollAmount(Math.min(scrollWidth - offsetWidth, scrollAmount + 200));
282
+ };
283
+ // Only scroll the tabs if the window is small enough to require it
284
+ const allowedScrollAmount = scrollWidth - offsetWidth > 0 ? scrollAmount : 0;
285
+ const enableLeftScrollButton = allowedScrollAmount > 0;
286
+ // It's possible for scrollLeft to be a half pixel. Adding "1" ensures that it's over the scrollWidth when all the way to the right.
287
+ const enableRightScrollButton = allowedScrollAmount + offsetWidth + 1 < scrollWidth;
288
+ useEffect(() => {
289
+ // This code ensures that the scroll amount is never larged than the available space. Otherwise,
290
+ // when resizing to a smaller size, the tabs could end up scrolled out of view.
291
+ // Note, on MS Windows, hidden windows don't receive resize events until they are shown.
292
+ window.addEventListener("resize", () => {
293
+ var _a;
294
+ const { offsetWidth: updatedOffsetWidth, scrollWidth: updatedScrollWidth } = (_a = tabContainerRef.current) !== null && _a !== void 0 ? _a : domNotReady;
295
+ setScrollAmount(Math.min(updatedScrollWidth - updatedOffsetWidth, scrollAmountRef.current));
296
+ });
297
+ }, []);
298
+ const transforms = {
299
+ transform: `translateX(-${allowedScrollAmount}px)`,
300
+ transition: transition ? `1s all ease` : `none`,
301
+ };
302
+ return {
303
+ lessScroll,
304
+ moreScroll,
305
+ enableLeftScrollButton,
306
+ enableRightScrollButton,
307
+ transforms,
308
+ onWheel,
309
+ tabContainerRef,
310
+ };
311
+ };
312
+ /**
313
+ * Encapsulation of the scrollable section of the tab region, with chevrons.
314
+ *
315
+ * Pass the tabs in as children.
316
+ */
317
+ const Scrollable = ({ children, noScroll, scroll, }) => {
318
+ const { lessScroll, moreScroll, enableLeftScrollButton, enableRightScrollButton, onWheel, transforms, tabContainerRef, } = useScroll(scroll);
319
+ const showScrollButtons = !noScroll && (enableLeftScrollButton || enableRightScrollButton);
320
+ return (React.createElement(React.Fragment, null,
321
+ showScrollButtons && (React.createElement("button", { className: "fsbl-tab-scroll-button", onClick: lessScroll, disabled: !enableLeftScrollButton }, "<")),
322
+ React.createElement("div", { className: "fsbl-tabs-scroll-surround", onWheel: onWheel },
323
+ React.createElement("div", { className: "fsbl-tabs-container", ref: tabContainerRef, style: transforms }, children)),
324
+ showScrollButtons && (React.createElement("button", { className: "fsbl-tab-scroll-button", onClick: moreScroll, disabled: !enableRightScrollButton }, ">"))));
325
+ };
326
+ const createTab = ({ transform, tabWindowName, index, }) => React.createElement(Tab, { tabWindowName: tabWindowName, index: index, transform: transform, key: tabWindowName });
327
+ /**
328
+ * The collection of tabs
329
+ */
330
+ const Tabs = ({ useDOMBasedMovement }) => {
331
+ var _a, _b, _c, _d, _e;
332
+ const dispatch = useDispatch();
333
+ const [throttle, setThrottle] = useState(Date.now() - THROTTLE50MS);
334
+ const domRef = useRef(null);
335
+ const state = useSelector((currentState) => currentState);
336
+ const windowName = useContext(WindowNameContext);
337
+ const myState = windowName ? state.windows[windowName] : null;
338
+ const { onMouseDown, onMouseMove } = useDragRegion((_a = myState === null || myState === void 0 ? void 0 : myState.maximized) !== null && _a !== void 0 ? _a : false);
339
+ const { toggle: toggleMaximize } = useMaximize();
340
+ const tabCollectionId = (_b = myState === null || myState === void 0 ? void 0 : myState.tabCollectionId) !== null && _b !== void 0 ? _b : null;
341
+ const defaultTabs = [windowName !== null && windowName !== void 0 ? windowName : ""];
342
+ const tabCollection = tabCollectionId ? state.tabCollections[tabCollectionId] : null !== null && null !== void 0 ? null : null;
343
+ const tabs = (_c = tabCollection === null || tabCollection === void 0 ? void 0 : tabCollection.tabs) !== null && _c !== void 0 ? _c : defaultTabs;
344
+ const { scroll } = tabCollection !== null && tabCollection !== void 0 ? tabCollection : { scroll: 0 };
345
+ const gapPosition = (_e = (_d = state.dragging) === null || _d === void 0 ? void 0 : _d.temporaryPosition) !== null && _e !== void 0 ? _e : null;
346
+ const gapWidth = 60; // state.dragging?.tabWidth contains the actual width of the tab but 60px provides a better UX
347
+ // If a window is being dragged then filter it out so that it isn't displayed, then convert from string to object and calculate the transform size to create a gap
348
+ const tabsWithTransform = tabs
349
+ .filter((tabWindowName) => { var _a; return tabWindowName !== ((_a = state.dragging) === null || _a === void 0 ? void 0 : _a.windowNameBeingDragged); })
350
+ .map((tabWindowName, index) => {
351
+ var _a;
352
+ return {
353
+ transform: ((_a = state.dragging) === null || _a === void 0 ? void 0 : _a.inWindowName) === windowName && gapPosition !== null && index >= gapPosition
354
+ ? `translateX(${gapWidth}px)`
355
+ : null,
356
+ tabWindowName,
357
+ index,
358
+ };
359
+ });
360
+ /**
361
+ * When we remove the tab that is being dragged it causes the tab collection space to shrink, since it thinks there
362
+ * is one less element. So we add an equivalent amount of space to the end of the tab collection to prevent the
363
+ * shrinkage, providing UX feedback to the end user when the tab is inserted.
364
+ *
365
+ * We "display" the gap space only when the tab is going to be dropped into that space (when the tab is going to be)
366
+ * dropped into the final position.
367
+ */
368
+ const maybeAddGapSpace = () => {
369
+ var _a, _b;
370
+ const style = {
371
+ width: `${(_a = state.dragging) === null || _a === void 0 ? void 0 : _a.tabWidth}px`,
372
+ };
373
+ if (((_b = state.dragging) === null || _b === void 0 ? void 0 : _b.inWindowName) !== windowName)
374
+ return;
375
+ // Only "display" the gap if the drag action is occurring in our window and the gap should be in the final position
376
+ const dataDisplay = gapPosition === tabsWithTransform.length;
377
+ if (gapPosition !== null)
378
+ return React.createElement("div", { className: "fsbl-tab-gap", style: style, "data-display": dataDisplay });
379
+ return null;
380
+ };
381
+ /**
382
+ * This code is disabled due to a bug in Chromium on Windows. dragLeave events do not fire if
383
+ * the draggable object is moved too quickly out of the window. To work around this problem the
384
+ * docking system watches mouse movement during drag operations and detects when the mouse has
385
+ * moved outside of the _calculated_ tab area. This code is in dockingMain.ts.
386
+ *
387
+ * Normal comment for when this function can be used again:
388
+ * dragleave triggers when the dragged element leaves a valid drop target. This can therefore
389
+ * trigger as the mouse moves from tab to tab. We only want to catch the situation where the
390
+ * mouse leaves the tab area entirely, so we do some mouse location calculations to determine
391
+ * this.
392
+ *
393
+ * If we have definitely left the tabbing region then we set tabPosition to null in order
394
+ * that any gaps be closed.
395
+ */
396
+ const onDragLeave = (e) => {
397
+ /*
398
+ if (!state.dragging) return;
399
+ const rect = domRef.current?.getBoundingClientRect();
400
+ if (!rect) return;
401
+ if (e.clientX > rect.left && e.clientX < rect.right && e.clientY > rect.top && e.clientY < rect.bottom) return;
402
+ dispatch(
403
+ actions.setDraggingStatus({
404
+ ...state.dragging,
405
+ temporaryPosition: null,
406
+ inWindowName: null,
407
+ })
408
+ );*/
409
+ };
410
+ /**
411
+ * If the user enters the tab collection space from the outside then the temporary position will probably be null.
412
+ * We immediately set it to the end position of our current collection in order to indicate that it can now be
413
+ * dropped into this tab collection.
414
+ */
415
+ const onDragOver = () => {
416
+ var _a;
417
+ if (!state.dragging)
418
+ return;
419
+ if (!windowName)
420
+ return;
421
+ // ondragover can trigger rapidly when the mouse is hovering. This ensures that we don't flood the system.
422
+ if (throttle + THROTTLE50MS > Date.now())
423
+ return;
424
+ if (((_a = state.dragging) === null || _a === void 0 ? void 0 : _a.temporaryPosition) === null) {
425
+ setThrottle(Date.now());
426
+ dispatch(actions.setDraggingStatus(Object.assign(Object.assign({}, state.dragging), { temporaryPosition: tabsWithTransform.length, inWindowName: windowName })));
427
+ }
428
+ };
429
+ /**
430
+ * When dragging a tab over the right side of the WindowTitleBar, set the
431
+ * drag position to the last position. Without this, sometimes the gap gets
432
+ * stuck in the second to last position.
433
+ */
434
+ const dragOverDragRegion = () => {
435
+ var _a;
436
+ if (!state.dragging)
437
+ return;
438
+ if (!windowName)
439
+ return;
440
+ // ondragover can trigger rapidly when the mouse is hovering. This ensures that we don't flood the system.
441
+ if (throttle + THROTTLE50MS > Date.now())
442
+ return;
443
+ if (((_a = state.dragging) === null || _a === void 0 ? void 0 : _a.temporaryPosition) !== tabsWithTransform.length) {
444
+ setThrottle(Date.now());
445
+ dispatch(actions.setDraggingStatus(Object.assign(Object.assign({}, state.dragging), { temporaryPosition: tabsWithTransform.length, inWindowName: windowName })));
446
+ }
447
+ };
448
+ const className = useDOMBasedMovement
449
+ ? "fsbl-guaranteed-drag-area fsbl-app-region"
450
+ : "fsbl-guaranteed-drag-area fsbl-app-region fsbl-no-dom-movement";
451
+ // don't show scroll while dragging or the window is not in a stack
452
+ const noScroll = !!state.dragging || !(myState === null || myState === void 0 ? void 0 : myState.tabCollectionId);
453
+ return (React.createElement("div", { className: "fsbl-tab-region-tabbing-enabled", onDragLeave: onDragLeave, onDragOver: onDragOver, ref: domRef },
454
+ React.createElement(Scrollable, { noScroll: noScroll, scroll: scroll },
455
+ tabsWithTransform.map((tab) => createTab(tab)),
456
+ maybeAddGapSpace()),
457
+ React.createElement("div", { className: className, onMouseDown: onMouseDown, onMouseMove: onMouseMove, onDoubleClick: toggleMaximize, onDragOver: dragOverDragRegion })));
458
+ };
459
+ /**
460
+ * The "Tab Region", which is the area where tabs appear but also where just the title appears
461
+ * if tabbing is disabled.
462
+ */
463
+ export const TabRegion = () => {
464
+ var _a, _b;
465
+ const windowName = useContext(WindowNameContext);
466
+ const state = useSelector((currentState) => currentState);
467
+ const myState = windowName ? state.windows[windowName] : null;
468
+ const { useDOMBasedMovement = true } = state;
469
+ const enableTabbing = (_a = myState === null || myState === void 0 ? void 0 : myState.enableTabbing) !== null && _a !== void 0 ? _a : false;
470
+ const { onMouseDown, onMouseMove } = useDragRegion((_b = myState === null || myState === void 0 ? void 0 : myState.maximized) !== null && _b !== void 0 ? _b : false);
471
+ const { toggle: toggleMaximize } = useMaximize();
472
+ const className = useDOMBasedMovement
473
+ ? "fsbl-tab-region-tabbing-disabled fsbl-app-region"
474
+ : "fsbl-tab-region-tabbing-disabled fsbl-no-dom-movement fsbl-app-region";
475
+ const singleTitleOrTabs = () => enableTabbing ? (React.createElement(Tabs, { useDOMBasedMovement: useDOMBasedMovement })) : (React.createElement("div", { className: className, onDoubleClick: toggleMaximize, onMouseDown: onMouseDown, onMouseMove: onMouseMove },
476
+ React.createElement(TabTitle, { tabWindowName: windowName })));
477
+ return React.createElement("div", { className: "fsbl-tab-region" }, singleTitleOrTabs());
478
+ };
479
+ //# sourceMappingURL=TabRegion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabRegion.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TabRegion.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,O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AAC,CAAC;IAC/E,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,MAAM,EAAE,mBAAmB,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7C,MAAM,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,KAAK,CAAC;IACtD,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,aAAa,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,KAAK,CAAC,CAAC;IAChF,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,WAAW,EAAE,CAAC;IAEjD,MAAM,SAAS,GAAG,mBAAmB;QACpC,CAAC,CAAC,kDAAkD;QACpD,CAAC,CAAC,uEAAuE,CAAC;IAE3E,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAC9B,aAAa,CAAC,CAAC,CAAC,CACf,oBAAC,IAAI,IAAC,mBAAmB,EAAE,mBAAmB,GAAI,CAClD,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW;QAC3G,oBAAC,QAAQ,IAAC,aAAa,EAAE,UAAU,GAAI,CAClC,CACN,CAAC;IAEH,OAAO,6BAAK,SAAS,EAAC,iBAAiB,IAAE,iBAAiB,EAAE,CAAO,CAAC;AACrE,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Displays the tab's icon and text. Editing of titles is handled within this component.
4
+ */
5
+ export declare const TabTitle: ({ tabWindowName }: {
6
+ tabWindowName: string | null;
7
+ }) => JSX.Element;
8
+ //# sourceMappingURL=TabTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabTitle.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TabTitle.tsx"],"names":[],"mappings":";AAKA;;GAEG;AACH,eAAO,MAAM,QAAQ;mBAAwC,MAAM,GAAG,IAAI;iBAazE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { Icon } from "../icon/Icon";
3
+ import { useSelector } from "react-redux";
4
+ /**
5
+ * Displays the tab's icon and text. Editing of titles is handled within this component.
6
+ */
7
+ export const TabTitle = ({ tabWindowName }) => {
8
+ var _a;
9
+ const state = useSelector((currentState) => currentState);
10
+ const myState = tabWindowName ? state.windows[tabWindowName] : null;
11
+ const title = (_a = myState === null || myState === void 0 ? void 0 : myState.title) !== null && _a !== void 0 ? _a : "";
12
+ const icon = myState === null || myState === void 0 ? void 0 : myState.icon;
13
+ return (React.createElement("div", { className: "fsbl-tab-title" },
14
+ icon && React.createElement(Icon, Object.assign({}, icon, { category: "Application" })),
15
+ React.createElement("span", { className: "fsbl-tab-title-text" }, title)));
16
+ };
17
+ //# sourceMappingURL=TabTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabTitle.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TabTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,aAAa,EAAoC,EAAE,EAAE;;IAC/E,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,YAAiC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;IAE/E,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACpE,MAAM,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,EAAE,CAAC;IACnC,MAAM,IAAI,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC;IAE3B,OAAO,CACN,6BAAK,SAAS,EAAC,gBAAgB;QAC7B,IAAI,IAAI,oBAAC,IAAI,oBAAK,IAAI,IAAE,QAAQ,EAAC,aAAa,IAAG;QAClD,8BAAM,SAAS,EAAC,qBAAqB,IAAE,KAAK,CAAQ,CAC/C,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * A simple React component for a user to set a custom title for a tab.
4
+ */
5
+ export declare const TitleEdit: ({ title, cancelEditing, saveTitle, }: {
6
+ title: string | null;
7
+ cancelEditing: () => void;
8
+ saveTitle: (newTitle: string | null) => void;
9
+ }) => JSX.Element;
10
+ //# sourceMappingURL=TitleEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleEdit.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TitleEdit.tsx"],"names":[],"mappings":";AAEA;;GAEG;AACH,eAAO,MAAM,SAAS;WAKd,MAAM,GAAG,IAAI;mBACL,MAAM,IAAI;0BACH,MAAM,GAAG,IAAI,KAAK,IAAI;iBAuC5C,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React, { useState, useRef, useEffect } from "react";
2
+ /**
3
+ * A simple React component for a user to set a custom title for a tab.
4
+ */
5
+ export const TitleEdit = ({ title, cancelEditing, saveTitle, }) => {
6
+ const [newTitle, setNewTitle] = useState(title);
7
+ const ref = useRef(null);
8
+ // Sets the cursor focus in the input box
9
+ useEffect(() => {
10
+ var _a;
11
+ (_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.focus();
12
+ }, []);
13
+ const onBlur = () => {
14
+ cancelEditing();
15
+ };
16
+ const onKeyDown = (e) => {
17
+ if (e.key === "Escape")
18
+ cancelEditing();
19
+ if (e.key === "Enter") {
20
+ // When the user erases the entire input then the title should revert back to its default
21
+ const replacementTitle = newTitle === "" ? null : newTitle;
22
+ saveTitle(replacementTitle);
23
+ }
24
+ };
25
+ const onChange = (e) => {
26
+ setNewTitle(e.target.value);
27
+ };
28
+ return (React.createElement("input", { ref: ref, value: newTitle !== null && newTitle !== void 0 ? newTitle : "", onBlur: onBlur, onChange: onChange, onKeyDown: onKeyDown, type: "text", className: "fsbl-tab-input", maxLength: 32 }));
29
+ };
30
+ //# sourceMappingURL=TitleEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleEdit.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/TitleEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACzB,KAAK,EACL,aAAa,EACb,SAAS,GAKT,EAAE,EAAE;IACJ,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,GAAG,GAAG,MAAM,CAA0B,IAAI,CAAC,CAAC;IAElD,yCAAyC;IACzC,SAAS,CAAC,GAAG,EAAE;;QACd,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,OAAO,0CAAE,KAAK,EAAE,CAAC;IACvB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,MAAM,GAAG,GAAG,EAAE;QACnB,aAAa,EAAE,CAAC;IACjB,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,CAAC,CAAwC,EAAE,EAAE;QAC9D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,aAAa,EAAE,CAAC;QACxC,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;YACtB,yFAAyF;YACzF,MAAM,gBAAgB,GAAG,QAAQ,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC3D,SAAS,CAAC,gBAAgB,CAAC,CAAC;SAC5B;IACF,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,CAAC,CAAsC,EAAE,EAAE;QAC3D,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACN,+BACC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,EACrB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,gBAAgB,EAC1B,SAAS,EAAE,EAAE,GACZ,CACF,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Rendering of the WindowTitleBar is dependent on it knowing its own windowName. The windowName
4
+ * is retrieved asynchronously on initial render (by calling getWindowName()).
5
+ *
6
+ * The windowName is made available to sub-components via a ReactContext (WindowNameContext). With
7
+ * the windowName, the sub-components can then look inside the redux store for the values that pertain
8
+ * to them.
9
+ */
10
+ export declare type WindowName = string | null;
11
+ export declare const WindowNameContext: import("react").Context<WindowName>;
12
+ //# sourceMappingURL=WindowTitleBarContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WindowTitleBarContext.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/WindowTitleBarContext.tsx"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AAEH,oBAAY,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;AAEvC,eAAO,MAAM,iBAAiB,qCAAkC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { createContext } from "react";
2
+ export const WindowNameContext = createContext(null);
3
+ //# sourceMappingURL=WindowTitleBarContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WindowTitleBarContext.js","sourceRoot":"","sources":["../../../../../src/ui/components/windowTitleBar/WindowTitleBarContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAatC,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAa,IAAI,CAAC,CAAC"}