@finsemble/finsemble-ui 6.4.0 → 6.6.0-beta.2

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 (595) hide show
  1. package/package.json +31 -28
  2. package/react/actions/smartDesktopDesignerActions.d.ts +6 -2
  3. package/react/actions/smartDesktopDesignerActions.js +2 -0
  4. package/react/actions/smartDesktopDesignerActions.js.map +1 -1
  5. package/react/assets/css/finsemble.css +0 -1
  6. package/react/assets/css/userPreferences.css +6 -0
  7. package/react/assets/icons/code-block.svg +15 -0
  8. package/react/componentTemplateGenerator.js +1 -1
  9. package/react/componentTemplateGenerator.js.map +1 -1
  10. package/react/components/FinsembleProvider.js.map +1 -1
  11. package/react/components/appCatalog/AppCatalogComponent.d.ts +1 -1
  12. package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +3 -3
  13. package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +1 -1
  14. package/react/components/appCatalog/modules/FDC3.d.ts +1 -1
  15. package/react/components/appCatalog/modules/FDC3.js.map +1 -1
  16. package/react/components/appCatalog/stores/appStore.d.ts +2 -2
  17. package/react/components/appCatalog/stores/appStore.js.map +1 -1
  18. package/react/components/appCatalog/stores/storeActions.d.ts +1 -1
  19. package/react/components/common/Checkbox.js +1 -1
  20. package/react/components/common/Checkbox.js.map +1 -1
  21. package/react/components/common/DropZone.js +3 -1
  22. package/react/components/common/DropZone.js.map +1 -1
  23. package/react/components/common/FileInput.d.ts +2 -1
  24. package/react/components/common/FileInput.js +2 -2
  25. package/react/components/common/FileInput.js.map +1 -1
  26. package/react/components/common/FinsembleIcon.d.ts +1 -1
  27. package/react/components/common/FinsembleIcon.js +2 -0
  28. package/react/components/common/FinsembleIcon.js.map +1 -1
  29. package/react/components/common/FinsembleSelect.js +1 -1
  30. package/react/components/common/FinsembleSelect.js.map +1 -1
  31. package/react/components/common/ImagePreview.js +1 -1
  32. package/react/components/common/ImagePreview.js.map +1 -1
  33. package/react/components/common/Tooltip.js +3 -1
  34. package/react/components/common/Tooltip.js.map +1 -1
  35. package/react/components/common/css/application-edit-page.css +4 -1
  36. package/react/components/common/css/application-list.css +4 -0
  37. package/react/components/common/css/preload-edit-page.css +37 -0
  38. package/react/components/common/helpers.js +1 -0
  39. package/react/components/common/helpers.js.map +1 -1
  40. package/react/components/common/stories/FileInput.stories.d.ts +2 -1
  41. package/react/components/common/stories/FileInput.stories.js +6 -0
  42. package/react/components/common/stories/FileInput.stories.js.map +1 -1
  43. package/react/components/common/tests/Accordion.spec.js +1 -1
  44. package/react/components/common/tests/Accordion.spec.js.map +1 -1
  45. package/react/components/common/tests/FileInput.spec.js +8 -1
  46. package/react/components/common/tests/FileInput.spec.js.map +1 -1
  47. package/react/components/common/tests/FinsembleSelect.spec.js +1 -1
  48. package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -1
  49. package/react/components/common/tests/FinsembleToggle.spec.js +2 -2
  50. package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -1
  51. package/react/components/favorites/FavoriteMaker.js.map +1 -1
  52. package/react/components/favorites/FavoritesShell.spec.js +1 -1
  53. package/react/components/favorites/FavoritesShell.spec.js.map +1 -1
  54. package/react/components/favorites/FavoritesShell.stories.js.map +1 -1
  55. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  56. package/react/components/fdc3Resolver/ResolverDialog.spec.js +1 -1
  57. package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
  58. package/react/components/icon/Icon.d.ts +4 -3
  59. package/react/components/icon/Icon.js +22 -12
  60. package/react/components/icon/Icon.js.map +1 -1
  61. package/react/components/legacyControls/FinsembleDnDContext.d.ts +2 -1
  62. package/react/components/legacyControls/FinsembleDnDContext.js +8 -6
  63. package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
  64. package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +1 -1
  65. package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -1
  66. package/react/components/linker/LinkerMenu.js.map +1 -1
  67. package/react/components/linker/remoteRedux.d.ts +1 -1
  68. package/react/components/linker/remoteRedux.js.map +1 -1
  69. package/react/components/menu/MenuAutoResizer.js.map +1 -1
  70. package/react/components/menu/MenuPortal.js +20 -1
  71. package/react/components/menu/MenuPortal.js.map +1 -1
  72. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
  73. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
  74. package/react/components/notifications/components/shared/CheckButton.d.ts +1 -1
  75. package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
  76. package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
  77. package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
  78. package/react/components/notifications/components/shared/OverflowMenu.d.ts +1 -1
  79. package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
  80. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +1 -1
  81. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
  82. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +1 -1
  83. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
  84. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
  85. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
  86. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
  87. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
  88. package/react/components/notifications/components/views/CardView.js.map +1 -1
  89. package/react/components/notifications/components/views/ListView.d.ts +1 -1
  90. package/react/components/notifications/components/views/ListView.js.map +1 -1
  91. package/react/components/notifications/components/views/NotificationDetailsView.d.ts +1 -1
  92. package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
  93. package/react/components/notifications/types.d.ts +1 -1
  94. package/react/components/notifications/types.js.map +1 -1
  95. package/react/components/notifications/utils.d.ts +1 -1
  96. package/react/components/notifications/utils.js.map +1 -1
  97. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  98. package/react/components/processMonitor/ProcessMonitorTypes.d.ts +4 -11
  99. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  100. package/react/components/processMonitor/components/ChildWindow.js +5 -10
  101. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  102. package/react/components/processMonitor/components/ListHeader.d.ts +1 -1
  103. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  104. package/react/components/processMonitor/components/ProcessStatistics.js +8 -10
  105. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  106. package/react/components/processMonitor/constants.d.ts +0 -2
  107. package/react/components/processMonitor/constants.js +0 -2
  108. package/react/components/processMonitor/constants.js.map +1 -1
  109. package/react/components/processMonitor/helpers.d.ts +0 -11
  110. package/react/components/processMonitor/helpers.js +1 -9
  111. package/react/components/processMonitor/helpers.js.map +1 -1
  112. package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +6 -14
  113. package/react/components/processMonitor/stores/ProcessMonitorStore.js +22 -62
  114. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  115. package/react/components/{smartDesktopDesigner → sdd}/AddApp.d.ts +0 -0
  116. package/react/components/{smartDesktopDesigner → sdd}/AddApp.js +0 -0
  117. package/react/components/sdd/AddApp.js.map +1 -0
  118. package/react/components/{smartDesktopDesigner → sdd}/AppEditAccess.d.ts +0 -0
  119. package/react/components/{smartDesktopDesigner → sdd}/AppEditAccess.js +0 -0
  120. package/react/components/sdd/AppEditAccess.js.map +1 -0
  121. package/react/components/{smartDesktopDesigner → sdd}/AppEditPage.d.ts +2 -1
  122. package/react/components/{smartDesktopDesigner → sdd}/AppEditPage.js +77 -73
  123. package/react/components/sdd/AppEditPage.js.map +1 -0
  124. package/react/components/{smartDesktopDesigner → sdd}/Appearance.css +8 -0
  125. package/react/components/{smartDesktopDesigner → sdd}/Appearance.d.ts +0 -0
  126. package/react/components/{smartDesktopDesigner → sdd}/Appearance.helpers.d.ts +0 -0
  127. package/react/components/{smartDesktopDesigner → sdd}/Appearance.helpers.js +0 -0
  128. package/react/components/sdd/Appearance.helpers.js.map +1 -0
  129. package/react/components/{smartDesktopDesigner → sdd}/Appearance.js +0 -0
  130. package/react/components/sdd/Appearance.js.map +1 -0
  131. package/react/components/{smartDesktopDesigner → sdd}/Application.d.ts +10 -3
  132. package/react/components/sdd/Application.js +220 -0
  133. package/react/components/sdd/Application.js.map +1 -0
  134. package/react/components/{smartDesktopDesigner → sdd}/Applications.d.ts +2 -0
  135. package/react/components/{smartDesktopDesigner → sdd}/Applications.js +17 -7
  136. package/react/components/sdd/Applications.js.map +1 -0
  137. package/react/components/{smartDesktopDesigner → sdd}/AssetsPage.css +0 -0
  138. package/react/components/{smartDesktopDesigner → sdd}/AssetsPage.d.ts +0 -0
  139. package/react/components/{smartDesktopDesigner → sdd}/AssetsPage.js +0 -0
  140. package/react/components/sdd/AssetsPage.js.map +1 -0
  141. package/react/components/{smartDesktopDesigner → sdd}/Authentication.d.ts +0 -0
  142. package/react/components/{smartDesktopDesigner → sdd}/Authentication.js +1 -1
  143. package/react/components/sdd/Authentication.js.map +1 -0
  144. package/react/components/{smartDesktopDesigner → sdd}/AuthenticationProviderConfig.d.ts +0 -0
  145. package/react/components/{smartDesktopDesigner → sdd}/AuthenticationProviderConfig.js +0 -0
  146. package/react/components/sdd/AuthenticationProviderConfig.js.map +1 -0
  147. package/react/components/{smartDesktopDesigner → sdd}/Content.d.ts +0 -0
  148. package/react/components/{smartDesktopDesigner → sdd}/Content.js +0 -0
  149. package/react/components/sdd/Content.js.map +1 -0
  150. package/react/components/{smartDesktopDesigner → sdd}/ContentHeader.d.ts +0 -0
  151. package/react/components/{smartDesktopDesigner → sdd}/ContentHeader.js +0 -0
  152. package/react/components/sdd/ContentHeader.js.map +1 -0
  153. package/react/components/{smartDesktopDesigner → sdd}/CurrentView.d.ts +0 -0
  154. package/react/components/{smartDesktopDesigner → sdd}/CurrentView.js +0 -0
  155. package/react/components/sdd/CurrentView.js.map +1 -0
  156. package/react/components/sdd/EditPreload.d.ts +14 -0
  157. package/react/components/sdd/EditPreload.js +169 -0
  158. package/react/components/sdd/EditPreload.js.map +1 -0
  159. package/react/components/{smartDesktopDesigner → sdd}/Export.d.ts +0 -0
  160. package/react/components/{smartDesktopDesigner → sdd}/Export.js +0 -0
  161. package/react/components/sdd/Export.js.map +1 -0
  162. package/react/components/{smartDesktopDesigner → sdd}/ExportCloud.d.ts +0 -0
  163. package/react/components/{smartDesktopDesigner → sdd}/ExportCloud.js +0 -0
  164. package/react/components/sdd/ExportCloud.js.map +1 -0
  165. package/react/components/{smartDesktopDesigner → sdd}/ExportDeployInfo.d.ts +0 -0
  166. package/react/components/{smartDesktopDesigner → sdd}/ExportDeployInfo.js +0 -0
  167. package/react/components/sdd/ExportDeployInfo.js.map +1 -0
  168. package/react/components/{smartDesktopDesigner → sdd}/ExportZip.d.ts +0 -0
  169. package/react/components/{smartDesktopDesigner → sdd}/ExportZip.js +0 -0
  170. package/react/components/sdd/ExportZip.js.map +1 -0
  171. package/react/components/{smartDesktopDesigner → sdd}/GettingStarted.d.ts +0 -0
  172. package/react/components/{smartDesktopDesigner → sdd}/GettingStarted.js +0 -0
  173. package/react/components/sdd/GettingStarted.js.map +1 -0
  174. package/react/components/sdd/ItemList.d.ts +17 -0
  175. package/react/components/sdd/ItemList.js +58 -0
  176. package/react/components/sdd/ItemList.js.map +1 -0
  177. package/react/components/{smartDesktopDesigner → sdd}/Navigation.d.ts +0 -0
  178. package/react/components/{smartDesktopDesigner → sdd}/Navigation.js +0 -0
  179. package/react/components/sdd/Navigation.js.map +1 -0
  180. package/react/components/sdd/OptionalSettingsView.d.ts +11 -0
  181. package/react/components/sdd/OptionalSettingsView.js +71 -0
  182. package/react/components/sdd/OptionalSettingsView.js.map +1 -0
  183. package/react/components/sdd/Preloads.d.ts +8 -0
  184. package/react/components/sdd/Preloads.js +26 -0
  185. package/react/components/sdd/Preloads.js.map +1 -0
  186. package/react/components/{smartDesktopDesigner → sdd}/ProjectErrors.d.ts +0 -0
  187. package/react/components/{smartDesktopDesigner → sdd}/ProjectErrors.js +0 -0
  188. package/react/components/sdd/ProjectErrors.js.map +1 -0
  189. package/react/components/{smartDesktopDesigner → sdd}/Publish.d.ts +0 -0
  190. package/react/components/{smartDesktopDesigner → sdd}/Publish.js +0 -0
  191. package/react/components/sdd/Publish.js.map +1 -0
  192. package/react/components/{smartDesktopDesigner → sdd}/PublishProgress.d.ts +0 -0
  193. package/react/components/{smartDesktopDesigner → sdd}/PublishProgress.js +0 -0
  194. package/react/components/sdd/PublishProgress.js.map +1 -0
  195. package/react/components/sdd/SmartDesktopDesigner.d.ts +28 -0
  196. package/react/components/sdd/SmartDesktopDesigner.js +121 -0
  197. package/react/components/sdd/SmartDesktopDesigner.js.map +1 -0
  198. package/react/components/{smartDesktopDesigner → sdd}/ThemePage.css +0 -0
  199. package/react/components/{smartDesktopDesigner → sdd}/ThemePage.d.ts +0 -0
  200. package/react/components/{smartDesktopDesigner → sdd}/ThemePage.js +0 -0
  201. package/react/components/sdd/ThemePage.js.map +1 -0
  202. package/react/components/{smartDesktopDesigner → sdd}/Themes.d.ts +0 -0
  203. package/react/components/{smartDesktopDesigner → sdd}/Themes.js +0 -0
  204. package/react/components/sdd/Themes.js.map +1 -0
  205. package/react/components/{smartDesktopDesigner → sdd}/Toolbar.d.ts +0 -0
  206. package/react/components/{smartDesktopDesigner → sdd}/Toolbar.js +13 -11
  207. package/react/components/sdd/Toolbar.js.map +1 -0
  208. package/react/components/{smartDesktopDesigner → sdd}/View.d.ts +0 -0
  209. package/react/components/{smartDesktopDesigner → sdd}/View.js +0 -0
  210. package/react/components/sdd/View.js.map +1 -0
  211. package/react/components/{smartDesktopDesigner → sdd}/common/fsbl_functions.d.ts +0 -0
  212. package/react/components/{smartDesktopDesigner → sdd}/common/fsbl_functions.js +0 -0
  213. package/react/components/sdd/common/fsbl_functions.js.map +1 -0
  214. package/react/components/{smartDesktopDesigner → sdd}/common/getCSSVars.d.ts +0 -0
  215. package/react/components/{smartDesktopDesigner → sdd}/common/getCSSVars.js +0 -0
  216. package/react/components/sdd/common/getCSSVars.js.map +1 -0
  217. package/react/components/{smartDesktopDesigner/fixtures → sdd/common}/views.d.ts +0 -0
  218. package/react/components/sdd/common/views.js +204 -0
  219. package/react/components/sdd/common/views.js.map +1 -0
  220. package/react/components/{smartDesktopDesigner → sdd}/css/appearance.css +3 -0
  221. package/react/components/{smartDesktopDesigner → sdd}/css/applications.css +0 -0
  222. package/react/components/{smartDesktopDesigner → sdd}/css/authentication.css +5 -1
  223. package/react/components/{smartDesktopDesigner → sdd}/css/buttons.css +0 -0
  224. package/react/components/{smartDesktopDesigner → sdd}/css/export.css +0 -0
  225. package/react/components/{smartDesktopDesigner → sdd}/css/getting-started.css +0 -0
  226. package/react/components/{smartDesktopDesigner → sdd}/css/nav.css +0 -0
  227. package/react/components/{smartDesktopDesigner → sdd}/css/project-errors.css +0 -0
  228. package/react/components/{smartDesktopDesigner → sdd}/css/project-header.css +0 -0
  229. package/react/components/{smartDesktopDesigner → sdd}/css/styles.css +0 -0
  230. package/react/components/{smartDesktopDesigner → sdd}/css/views.css +0 -1
  231. package/react/components/{smartDesktopDesigner → sdd}/fixtures/apps.d.ts +1 -1
  232. package/react/components/{smartDesktopDesigner → sdd}/fixtures/apps.js +27 -5
  233. package/react/components/sdd/fixtures/apps.js.map +1 -0
  234. package/react/components/{smartDesktopDesigner → sdd}/fixtures/authenticationProps.d.ts +0 -0
  235. package/react/components/{smartDesktopDesigner → sdd}/fixtures/authenticationProps.js +0 -0
  236. package/react/components/sdd/fixtures/authenticationProps.js.map +1 -0
  237. package/react/components/{smartDesktopDesigner → sdd}/fixtures/configTemplate.d.ts +1 -1
  238. package/react/components/{smartDesktopDesigner → sdd}/fixtures/configTemplate.js +1 -1
  239. package/react/components/sdd/fixtures/configTemplate.js.map +1 -0
  240. package/react/components/{smartDesktopDesigner → sdd}/fixtures/exportProps.d.ts +0 -0
  241. package/react/components/{smartDesktopDesigner → sdd}/fixtures/exportProps.js +0 -0
  242. package/react/components/sdd/fixtures/exportProps.js.map +1 -0
  243. package/react/components/sdd/fixtures/preloads.d.ts +22 -0
  244. package/react/components/sdd/fixtures/preloads.js +40 -0
  245. package/react/components/sdd/fixtures/preloads.js.map +1 -0
  246. package/react/components/{smartDesktopDesigner → sdd}/fixtures/projectErrorsProps.d.ts +0 -0
  247. package/react/components/{smartDesktopDesigner → sdd}/fixtures/projectErrorsProps.js +0 -0
  248. package/react/components/sdd/fixtures/projectErrorsProps.js.map +1 -0
  249. package/react/components/{smartDesktopDesigner → sdd}/fixtures/publishProgress.d.ts +1 -1
  250. package/react/components/{smartDesktopDesigner → sdd}/fixtures/publishProgress.js +0 -0
  251. package/react/components/sdd/fixtures/publishProgress.js.map +1 -0
  252. package/react/components/{smartDesktopDesigner → sdd}/fixtures/themeProps.d.ts +0 -0
  253. package/react/components/{smartDesktopDesigner → sdd}/fixtures/themeProps.js +0 -0
  254. package/react/components/sdd/fixtures/themeProps.js.map +1 -0
  255. package/react/components/sdd/fixtures/views.d.ts +3 -0
  256. package/react/components/{smartDesktopDesigner → sdd}/fixtures/views.js +9 -0
  257. package/react/components/sdd/fixtures/views.js.map +1 -0
  258. package/react/components/{smartDesktopDesigner → sdd}/sdd_helpers.d.ts +0 -0
  259. package/react/components/{smartDesktopDesigner → sdd}/sdd_helpers.js +0 -0
  260. package/react/components/sdd/sdd_helpers.js.map +1 -0
  261. package/react/components/{smartDesktopDesigner → sdd}/stories/AppEditPage.stories.d.ts +1 -1
  262. package/react/components/{smartDesktopDesigner → sdd}/stories/AppEditPage.stories.js +1 -0
  263. package/react/components/sdd/stories/AppEditPage.stories.js.map +1 -0
  264. package/react/components/{smartDesktopDesigner → sdd}/stories/Appearance.stories.d.ts +0 -0
  265. package/react/components/{smartDesktopDesigner → sdd}/stories/Appearance.stories.js +0 -0
  266. package/react/components/sdd/stories/Appearance.stories.js.map +1 -0
  267. package/react/components/{smartDesktopDesigner → sdd}/stories/Applications.stories.d.ts +0 -0
  268. package/react/components/{smartDesktopDesigner → sdd}/stories/Applications.stories.js +0 -0
  269. package/react/components/sdd/stories/Applications.stories.js.map +1 -0
  270. package/react/components/{smartDesktopDesigner → sdd}/stories/AssetsPage.stories.d.ts +0 -0
  271. package/react/components/{smartDesktopDesigner → sdd}/stories/AssetsPage.stories.js +0 -0
  272. package/react/components/sdd/stories/AssetsPage.stories.js.map +1 -0
  273. package/react/components/{smartDesktopDesigner → sdd}/stories/Authentication.stories.d.ts +0 -0
  274. package/react/components/{smartDesktopDesigner → sdd}/stories/Authentication.stories.js +0 -0
  275. package/react/components/sdd/stories/Authentication.stories.js.map +1 -0
  276. package/react/components/{smartDesktopDesigner → sdd}/stories/ContentHeader.stories.d.ts +0 -0
  277. package/react/components/{smartDesktopDesigner → sdd}/stories/ContentHeader.stories.js +0 -0
  278. package/react/components/sdd/stories/ContentHeader.stories.js.map +1 -0
  279. package/react/components/sdd/stories/EditPreload.stories.d.ts +11 -0
  280. package/react/components/sdd/stories/EditPreload.stories.js +35 -0
  281. package/react/components/sdd/stories/EditPreload.stories.js.map +1 -0
  282. package/react/components/{smartDesktopDesigner → sdd}/stories/Export.stories.d.ts +0 -0
  283. package/react/components/{smartDesktopDesigner → sdd}/stories/Export.stories.js +0 -0
  284. package/react/components/sdd/stories/Export.stories.js.map +1 -0
  285. package/react/components/{smartDesktopDesigner → sdd}/stories/ExportCloud.stories.d.ts +0 -0
  286. package/react/components/{smartDesktopDesigner → sdd}/stories/ExportCloud.stories.js +0 -0
  287. package/react/components/sdd/stories/ExportCloud.stories.js.map +1 -0
  288. package/react/components/{smartDesktopDesigner → sdd}/stories/ExportZip.stories.d.ts +0 -0
  289. package/react/components/{smartDesktopDesigner → sdd}/stories/ExportZip.stories.js +0 -0
  290. package/react/components/sdd/stories/ExportZip.stories.js.map +1 -0
  291. package/react/components/{smartDesktopDesigner → sdd}/stories/GettingStarted.stories.d.ts +0 -0
  292. package/react/components/{smartDesktopDesigner → sdd}/stories/GettingStarted.stories.js +0 -0
  293. package/react/components/sdd/stories/GettingStarted.stories.js.map +1 -0
  294. package/react/components/sdd/stories/ItemList.stories.d.ts +16 -0
  295. package/react/components/{smartDesktopDesigner/stories/ApplicationList.stories.js → sdd/stories/ItemList.stories.js} +26 -26
  296. package/react/components/sdd/stories/ItemList.stories.js.map +1 -0
  297. package/react/components/{smartDesktopDesigner → sdd}/stories/Navigation.stories.d.ts +0 -0
  298. package/react/components/{smartDesktopDesigner → sdd}/stories/Navigation.stories.js +0 -0
  299. package/react/components/sdd/stories/Navigation.stories.js.map +1 -0
  300. package/react/components/sdd/stories/OptionalSettingsView.stories.d.ts +11 -0
  301. package/react/components/sdd/stories/OptionalSettingsView.stories.js +28 -0
  302. package/react/components/sdd/stories/OptionalSettingsView.stories.js.map +1 -0
  303. package/react/components/sdd/stories/Preloads.stories.d.ts +11 -0
  304. package/react/components/sdd/stories/Preloads.stories.js +31 -0
  305. package/react/components/sdd/stories/Preloads.stories.js.map +1 -0
  306. package/react/components/{smartDesktopDesigner → sdd}/stories/ProjectErrors.stories.d.ts +0 -0
  307. package/react/components/{smartDesktopDesigner → sdd}/stories/ProjectErrors.stories.js +0 -0
  308. package/react/components/sdd/stories/ProjectErrors.stories.js.map +1 -0
  309. package/react/components/{smartDesktopDesigner → sdd}/stories/Publish.stories.d.ts +0 -0
  310. package/react/components/{smartDesktopDesigner → sdd}/stories/Publish.stories.js +0 -0
  311. package/react/components/sdd/stories/Publish.stories.js.map +1 -0
  312. package/react/components/{smartDesktopDesigner → sdd}/stories/PublishProgress.stories.d.ts +0 -0
  313. package/react/components/{smartDesktopDesigner → sdd}/stories/PublishProgress.stories.js +0 -0
  314. package/react/components/sdd/stories/PublishProgress.stories.js.map +1 -0
  315. package/react/components/{smartDesktopDesigner → sdd}/stories/SmartDesktopDesigner.stories.d.ts +0 -0
  316. package/react/components/{smartDesktopDesigner → sdd}/stories/SmartDesktopDesigner.stories.js +0 -0
  317. package/react/components/sdd/stories/SmartDesktopDesigner.stories.js.map +1 -0
  318. package/react/components/{smartDesktopDesigner → sdd}/stories/ThemePage.stories.d.ts +0 -0
  319. package/react/components/{smartDesktopDesigner → sdd}/stories/ThemePage.stories.js +0 -0
  320. package/react/components/sdd/stories/ThemePage.stories.js.map +1 -0
  321. package/react/components/{smartDesktopDesigner → sdd}/stories/Themes.stories.d.ts +0 -0
  322. package/react/components/{smartDesktopDesigner → sdd}/stories/Themes.stories.js +0 -0
  323. package/react/components/sdd/stories/Themes.stories.js.map +1 -0
  324. package/react/components/{smartDesktopDesigner → sdd}/stories/Toolbar.stories.d.ts +0 -0
  325. package/react/components/{smartDesktopDesigner → sdd}/stories/Toolbar.stories.js +0 -0
  326. package/react/components/sdd/stories/Toolbar.stories.js.map +1 -0
  327. package/react/components/{smartDesktopDesigner → sdd}/tests/AppEditPage.spec.d.ts +0 -0
  328. package/react/components/sdd/tests/AppEditPage.spec.js +1151 -0
  329. package/react/components/sdd/tests/AppEditPage.spec.js.map +1 -0
  330. package/react/components/{smartDesktopDesigner/tests/ApplicationList.spec.d.ts → sdd/tests/Application.spec.d.ts} +0 -0
  331. package/react/components/sdd/tests/Application.spec.js +1478 -0
  332. package/react/components/sdd/tests/Application.spec.js.map +1 -0
  333. package/react/components/{smartDesktopDesigner → sdd}/tests/Applications.spec.d.ts +0 -0
  334. package/react/components/{smartDesktopDesigner → sdd}/tests/Applications.spec.js +3 -3
  335. package/react/components/sdd/tests/Applications.spec.js.map +1 -0
  336. package/react/components/{smartDesktopDesigner → sdd}/tests/Authentication.spec.d.ts +0 -0
  337. package/react/components/{smartDesktopDesigner → sdd}/tests/Authentication.spec.js +0 -0
  338. package/react/components/sdd/tests/Authentication.spec.js.map +1 -0
  339. package/react/components/{smartDesktopDesigner → sdd}/tests/ContentHeader.spec.d.ts +0 -0
  340. package/react/components/{smartDesktopDesigner → sdd}/tests/ContentHeader.spec.js +0 -0
  341. package/react/components/sdd/tests/ContentHeader.spec.js.map +1 -0
  342. package/react/components/{smartDesktopDesigner/tests/Export.spec.d.ts → sdd/tests/EditPreload.spec.d.ts} +0 -0
  343. package/react/components/sdd/tests/EditPreload.spec.js +61 -0
  344. package/react/components/sdd/tests/EditPreload.spec.js.map +1 -0
  345. package/react/components/{smartDesktopDesigner/tests/ExportZip.spec.d.ts → sdd/tests/Export.spec.d.ts} +0 -0
  346. package/react/components/{smartDesktopDesigner → sdd}/tests/Export.spec.js +0 -0
  347. package/react/components/sdd/tests/Export.spec.js.map +1 -0
  348. package/react/components/{smartDesktopDesigner/tests/Navigation.spec.d.ts → sdd/tests/ExportZip.spec.d.ts} +0 -0
  349. package/react/components/{smartDesktopDesigner → sdd}/tests/ExportZip.spec.js +0 -0
  350. package/react/components/sdd/tests/ExportZip.spec.js.map +1 -0
  351. package/react/components/{smartDesktopDesigner/tests/ProjectErrors.spec.d.ts → sdd/tests/ItemList.spec.d.ts} +0 -0
  352. package/react/components/{smartDesktopDesigner/tests/ApplicationList.spec.js → sdd/tests/ItemList.spec.js} +8 -8
  353. package/react/components/sdd/tests/ItemList.spec.js.map +1 -0
  354. package/react/components/{smartDesktopDesigner/tests/Publish.spec.d.ts → sdd/tests/Navigation.spec.d.ts} +0 -0
  355. package/react/components/{smartDesktopDesigner → sdd}/tests/Navigation.spec.js +0 -0
  356. package/react/components/sdd/tests/Navigation.spec.js.map +1 -0
  357. package/react/components/{smartDesktopDesigner/tests/PublishProgess.spec.d.ts → sdd/tests/Preloads.spec.d.ts} +0 -0
  358. package/react/components/sdd/tests/Preloads.spec.js +47 -0
  359. package/react/components/sdd/tests/Preloads.spec.js.map +1 -0
  360. package/react/components/{smartDesktopDesigner/tests/SmartDesktopDesigner.spec.d.ts → sdd/tests/ProjectErrors.spec.d.ts} +0 -0
  361. package/react/components/{smartDesktopDesigner → sdd}/tests/ProjectErrors.spec.js +0 -0
  362. package/react/components/sdd/tests/ProjectErrors.spec.js.map +1 -0
  363. package/react/components/{smartDesktopDesigner/tests/Themes.spec.d.ts → sdd/tests/Publish.spec.d.ts} +0 -0
  364. package/react/components/{smartDesktopDesigner → sdd}/tests/Publish.spec.js +0 -0
  365. package/react/components/sdd/tests/Publish.spec.js.map +1 -0
  366. package/react/components/{smartDesktopDesigner/tests/sdd_helpers.spec.d.ts → sdd/tests/PublishProgess.spec.d.ts} +0 -0
  367. package/react/components/{smartDesktopDesigner → sdd}/tests/PublishProgess.spec.js +0 -0
  368. package/react/components/sdd/tests/PublishProgess.spec.js.map +1 -0
  369. package/react/components/sdd/tests/SmartDesktopDesigner.spec.d.ts +1 -0
  370. package/react/components/{smartDesktopDesigner → sdd}/tests/SmartDesktopDesigner.spec.js +6 -0
  371. package/react/components/sdd/tests/SmartDesktopDesigner.spec.js.map +1 -0
  372. package/react/components/sdd/tests/Themes.spec.d.ts +1 -0
  373. package/react/components/{smartDesktopDesigner → sdd}/tests/Themes.spec.js +0 -0
  374. package/react/components/sdd/tests/Themes.spec.js.map +1 -0
  375. package/react/components/{smartDesktopDesigner → sdd}/tests/Toolbar.spec.d.ts +0 -0
  376. package/react/components/{smartDesktopDesigner → sdd}/tests/Toolbar.spec.js +0 -0
  377. package/react/components/sdd/tests/Toolbar.spec.js.map +1 -0
  378. package/react/components/{smartDesktopDesigner → sdd}/tests/a11y_helper.d.ts +0 -0
  379. package/react/components/{smartDesktopDesigner → sdd}/tests/a11y_helper.js +0 -0
  380. package/react/components/sdd/tests/a11y_helper.js.map +1 -0
  381. package/react/components/sdd/tests/sdd_helpers.spec.d.ts +1 -0
  382. package/react/components/{smartDesktopDesigner → sdd}/tests/sdd_helpers.spec.js +0 -0
  383. package/react/components/sdd/tests/sdd_helpers.spec.js.map +1 -0
  384. package/react/components/{smartDesktopDesigner → sdd}/themeDefinitions.d.ts +0 -0
  385. package/react/components/{smartDesktopDesigner → sdd}/themeDefinitions.js +0 -0
  386. package/react/components/sdd/themeDefinitions.js.map +1 -0
  387. package/react/components/search/SearchBestMatch.js.map +1 -1
  388. package/react/components/search/SearchProviderResults.d.ts +3 -1
  389. package/react/components/search/SearchProviderResults.js.map +1 -1
  390. package/react/components/search/SearchResult.d.ts +3 -1
  391. package/react/components/search/SearchResult.js +11 -8
  392. package/react/components/search/SearchResult.js.map +1 -1
  393. package/react/components/singleInputDialog/SingleInputDialog.spec.js +1 -1
  394. package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -1
  395. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +0 -11
  396. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +2 -116
  397. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
  398. package/react/components/smartDesktopDesigner/common/views.js +1 -185
  399. package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
  400. package/react/components/toolbar/AutoArrange.js +1 -1
  401. package/react/components/toolbar/AutoArrange.js.map +1 -1
  402. package/react/components/toolbar/AutoArrange.spec.d.ts +1 -0
  403. package/react/components/toolbar/AutoArrange.spec.js +48 -0
  404. package/react/components/toolbar/AutoArrange.spec.js.map +1 -0
  405. package/react/components/toolbar/AutoArrange.stories.d.ts +11 -0
  406. package/react/components/toolbar/AutoArrange.stories.js +21 -0
  407. package/react/components/toolbar/AutoArrange.stories.js.map +1 -0
  408. package/react/components/toolbar/DragHandle.spec.d.ts +1 -0
  409. package/react/components/toolbar/DragHandle.spec.js +31 -0
  410. package/react/components/toolbar/DragHandle.spec.js.map +1 -0
  411. package/react/components/toolbar/DragHandle.stories.d.ts +13 -0
  412. package/react/components/toolbar/DragHandle.stories.js +39 -0
  413. package/react/components/toolbar/DragHandle.stories.js.map +1 -0
  414. package/react/components/toolbar/SddButton.d.ts +2 -0
  415. package/react/components/toolbar/SddButton.js +23 -0
  416. package/react/components/toolbar/SddButton.js.map +1 -0
  417. package/react/components/toolbar/ToolbarShell.js +4 -1
  418. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  419. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +1 -1
  420. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
  421. package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +3 -2
  422. package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
  423. package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +1 -1
  424. package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
  425. package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
  426. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +1 -1
  427. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
  428. package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +1 -1
  429. package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
  430. package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +2 -2
  431. package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
  432. package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
  433. package/react/components/toolbar/appLauncher/AppLauncherMenu.js +15 -4
  434. package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
  435. package/react/components/toolbar/appLauncher/components/componentList.d.ts +2 -2
  436. package/react/components/toolbar/appLauncher/components/componentList.js +3 -4
  437. package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
  438. package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +2 -2
  439. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
  440. package/react/components/toolbar/dashbar/Dashbar.js +11 -12
  441. package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
  442. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +2 -2
  443. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
  444. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +1 -1
  445. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
  446. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +1 -1
  447. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
  448. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +4 -4
  449. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +72 -13
  450. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
  451. package/react/components/userPreferences/components/content/Workspaces.d.ts +6 -1
  452. package/react/components/userPreferences/components/content/Workspaces.js +59 -18
  453. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  454. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  455. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
  456. package/react/components/userPreferences/components/general/ScheduledRestart.d.ts +2 -0
  457. package/react/components/userPreferences/components/general/ScheduledRestart.js +10 -2
  458. package/react/components/userPreferences/components/general/ScheduledRestart.js.map +1 -1
  459. package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +2 -1
  460. package/react/components/userPreferences/stores/UserPreferencesStore.js +10 -0
  461. package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
  462. package/react/components/userPreferences/tests/ScheduledRestart.spec.js +6 -6
  463. package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
  464. package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +5 -2
  465. package/react/components/windowTitleBar/WindowTitleBarShell.js +70 -59
  466. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  467. package/react/components/windowTitleBar/components/center/TabList.d.ts +2 -2
  468. package/react/components/windowTitleBar/components/center/TabList.js +5 -2
  469. package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
  470. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
  471. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
  472. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
  473. package/react/components/windowTitleBar/components/windowTitle.d.ts +5 -2
  474. package/react/components/windowTitleBar/components/windowTitle.js +99 -94
  475. package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
  476. package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +3 -3
  477. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +218 -219
  478. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
  479. package/react/components/yesNoDialog/Timer.spec.js +1 -1
  480. package/react/components/yesNoDialog/Timer.spec.js.map +1 -1
  481. package/react/components/yesNoDialog/YesNoDialog.spec.js +1 -1
  482. package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
  483. package/react/hooks/useDashbar.js.map +1 -1
  484. package/react/hooks/useFavoritesShell.js.map +1 -1
  485. package/react/hooks/useNotifications.d.ts +1 -1
  486. package/react/hooks/useNotifications.js.map +1 -1
  487. package/react/hooks/useSearch.d.ts +2 -1
  488. package/react/hooks/useSearch.js.map +1 -1
  489. package/react/hooks/useToolbar.js +6 -0
  490. package/react/hooks/useToolbar.js.map +1 -1
  491. package/react/reducers/rootReducer.d.ts +11 -3
  492. package/react/reducers/smartDesktopDesignerReducer.js +8 -0
  493. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  494. package/react/store.d.ts +22 -6
  495. package/react/types/advancedAppLauncherTypes.d.ts +5 -3
  496. package/react/types/advancedAppLauncherTypes.js.map +1 -1
  497. package/react/types/favoriteTypes.d.ts +4 -2
  498. package/react/types/favoriteTypes.js.map +1 -1
  499. package/react/types/fdc3.d.ts +2 -2
  500. package/react/types/fdc3.js.map +1 -1
  501. package/react/types/smartDesktopDesignerTypes.d.ts +8 -2
  502. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  503. package/react/types/windowTitleBar.d.ts +1 -1
  504. package/react/types/windowTitleBar.js.map +1 -1
  505. package/react/components/smartDesktopDesigner/AddApp.js.map +0 -1
  506. package/react/components/smartDesktopDesigner/AppEditAccess.js.map +0 -1
  507. package/react/components/smartDesktopDesigner/AppEditPage.js.map +0 -1
  508. package/react/components/smartDesktopDesigner/Appearance.helpers.js.map +0 -1
  509. package/react/components/smartDesktopDesigner/Appearance.js.map +0 -1
  510. package/react/components/smartDesktopDesigner/Application.js +0 -228
  511. package/react/components/smartDesktopDesigner/Application.js.map +0 -1
  512. package/react/components/smartDesktopDesigner/ApplicationList.d.ts +0 -16
  513. package/react/components/smartDesktopDesigner/ApplicationList.js +0 -60
  514. package/react/components/smartDesktopDesigner/ApplicationList.js.map +0 -1
  515. package/react/components/smartDesktopDesigner/Applications.js.map +0 -1
  516. package/react/components/smartDesktopDesigner/AssetsPage.js.map +0 -1
  517. package/react/components/smartDesktopDesigner/Authentication.js.map +0 -1
  518. package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +0 -1
  519. package/react/components/smartDesktopDesigner/Content.js.map +0 -1
  520. package/react/components/smartDesktopDesigner/ContentHeader.js.map +0 -1
  521. package/react/components/smartDesktopDesigner/CurrentView.js.map +0 -1
  522. package/react/components/smartDesktopDesigner/Export.js.map +0 -1
  523. package/react/components/smartDesktopDesigner/ExportCloud.js.map +0 -1
  524. package/react/components/smartDesktopDesigner/ExportDeployInfo.js.map +0 -1
  525. package/react/components/smartDesktopDesigner/ExportZip.js.map +0 -1
  526. package/react/components/smartDesktopDesigner/GettingStarted.js.map +0 -1
  527. package/react/components/smartDesktopDesigner/Navigation.js.map +0 -1
  528. package/react/components/smartDesktopDesigner/ProjectErrors.js.map +0 -1
  529. package/react/components/smartDesktopDesigner/Publish.js.map +0 -1
  530. package/react/components/smartDesktopDesigner/PublishProgress.js.map +0 -1
  531. package/react/components/smartDesktopDesigner/ThemePage.js.map +0 -1
  532. package/react/components/smartDesktopDesigner/Themes.js.map +0 -1
  533. package/react/components/smartDesktopDesigner/Toolbar.js.map +0 -1
  534. package/react/components/smartDesktopDesigner/View.js.map +0 -1
  535. package/react/components/smartDesktopDesigner/common/fsbl_functions.js.map +0 -1
  536. package/react/components/smartDesktopDesigner/common/getCSSVars.js.map +0 -1
  537. package/react/components/smartDesktopDesigner/fixtures/apps.js.map +0 -1
  538. package/react/components/smartDesktopDesigner/fixtures/authenticationProps.js.map +0 -1
  539. package/react/components/smartDesktopDesigner/fixtures/configTemplate.js.map +0 -1
  540. package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +0 -1
  541. package/react/components/smartDesktopDesigner/fixtures/projectErrorsProps.js.map +0 -1
  542. package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +0 -1
  543. package/react/components/smartDesktopDesigner/fixtures/themeProps.js.map +0 -1
  544. package/react/components/smartDesktopDesigner/fixtures/views.js.map +0 -1
  545. package/react/components/smartDesktopDesigner/sdd_helpers.js.map +0 -1
  546. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +0 -1
  547. package/react/components/smartDesktopDesigner/stories/Appearance.stories.js.map +0 -1
  548. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +0 -16
  549. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +0 -1
  550. package/react/components/smartDesktopDesigner/stories/Applications.stories.js.map +0 -1
  551. package/react/components/smartDesktopDesigner/stories/AssetsPage.stories.js.map +0 -1
  552. package/react/components/smartDesktopDesigner/stories/Authentication.stories.js.map +0 -1
  553. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js.map +0 -1
  554. package/react/components/smartDesktopDesigner/stories/Export.stories.js.map +0 -1
  555. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +0 -1
  556. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +0 -1
  557. package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js.map +0 -1
  558. package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +0 -1
  559. package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js.map +0 -1
  560. package/react/components/smartDesktopDesigner/stories/Publish.stories.js.map +0 -1
  561. package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js.map +0 -1
  562. package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +0 -1
  563. package/react/components/smartDesktopDesigner/stories/ThemePage.stories.js.map +0 -1
  564. package/react/components/smartDesktopDesigner/stories/Themes.stories.js.map +0 -1
  565. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js.map +0 -1
  566. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +0 -310
  567. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +0 -1
  568. package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +0 -1
  569. package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +0 -1
  570. package/react/components/smartDesktopDesigner/tests/Authentication.spec.js.map +0 -1
  571. package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js.map +0 -1
  572. package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +0 -1
  573. package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +0 -1
  574. package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +0 -1
  575. package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +0 -1
  576. package/react/components/smartDesktopDesigner/tests/Publish.spec.js.map +0 -1
  577. package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js.map +0 -1
  578. package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +0 -1
  579. package/react/components/smartDesktopDesigner/tests/Themes.spec.js.map +0 -1
  580. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +0 -1
  581. package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +0 -1
  582. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +0 -1
  583. package/react/components/smartDesktopDesigner/themeDefinitions.js.map +0 -1
  584. package/react/components/toolbar/appLauncher/DynamicAppLauncher.d.ts +0 -6
  585. package/react/components/toolbar/appLauncher/DynamicAppLauncher.js +0 -23
  586. package/react/components/toolbar/appLauncher/DynamicAppLauncher.js.map +0 -1
  587. package/react/hooks/useWorkspace.d.ts +0 -5
  588. package/react/hooks/useWorkspace.js +0 -26
  589. package/react/hooks/useWorkspace.js.map +0 -1
  590. package/react/types/iconTypes.d.ts +0 -11
  591. package/react/types/iconTypes.js +0 -2
  592. package/react/types/iconTypes.js.map +0 -1
  593. package/react/types/searchTypes.d.ts +0 -29
  594. package/react/types/searchTypes.js +0 -2
  595. package/react/types/searchTypes.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.js","sourceRoot":"","sources":["../../../../src/components/sdd/common/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAqB,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,MAAM,EAAc,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAE,OAAO,EAAgB,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAA6B,MAAM,yBAAyB,CAAC;AAI1F,MAAM,kBAAkB,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;AAEjE,MAAM,eAAe,GAAG,CAAC,EAAO,EAAE,EAAE;IACnC,kBAAkB,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE;QACvD,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,GAAQ,EAAE,SAAc,EAAE,EAAE;;YACtE,EAAE,iCACE,IAAI,KACP,MAAM,kCACF,IAAI,CAAC,MAAM,KACd,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KACD;CACoB,CAAC","sourcesContent":["import { GettingStarted } from \"../GettingStarted\";\nimport { Applications, ApplicationsProps } from \"../Applications\";\nimport { Export, ExportProps } from \"../Export\";\nimport { Themes, ThemeProps } from \"../Themes\";\nimport { AuthenticationProvider, MenuObjType, ViewSectionInfo } from \"../../../types/smartDesktopDesignerTypes\";\nimport { Authentication, AuthenticationProps } from \"../Authentication\";\nimport { services } from \"@finsemble/finsemble-api\";\nimport { Toolbar, ToolbarProps } from \"../Toolbar\";\nimport { OptionalSettingsView, OptionalSettingsViewProps } from \"../OptionalSettingsView\";\n\ntype AppDefinition = services.Interop.types.AppDefinition;\n\nconst SmartDesktopClient = new FSBL.Clients.SmartDesktopClient();\n\nconst getSDServerInfo = (cb: any) => {\n\tSmartDesktopClient.getSDServerInfo().then((info: any) => {\n\t\tFSBL.Clients.ConfigClient.getValues(null, (err: any, newConfig: any) => {\n\t\t\tcb({\n\t\t\t\t...info,\n\t\t\t\texport: {\n\t\t\t\t\t...info.export,\n\t\t\t\t\ttoolbarIcon: \"/assets/img/Finsemble_Toolbar_Icon.png\",\n\t\t\t\t\tinstallerIcon: \"/assets/img/installer_icon.ico\",\n\t\t\t\t\ttaskbarIcon: newConfig?.startup_app?.applicationIcon,\n\t\t\t\t\tsystemTrayIcon: newConfig?.finsemble?.systemTrayIcon,\n\t\t\t\t\tsplashScreenImage: newConfig?.splashScreenImage,\n\t\t\t\t},\n\t\t\t});\n\t\t});\n\t});\n};\n\nfunction createCSRF() {\n\tconst epoch = new Date();\n\tlet id = epoch.getTime().toString(36);\n\tid = id + Math.floor(Math.random() * Math.pow(36, 2)).toString(36);\n\treturn id.toUpperCase();\n}\n\nexport default [\n\t{\n\t\tshowLabel: false,\n\t\tlabel: \"\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"getting-started\",\n\t\t\t\ticon: \"flag\",\n\t\t\t\tname: \"Start\",\n\t\t\t\tcomponent: GettingStarted,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Apps\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"applications\",\n\t\t\t\ticon: \"window\",\n\t\t\t\tname: \"Manage apps\",\n\t\t\t\tcomponent: Applications,\n\t\t\t\tprops: <ApplicationsProps>{\n\t\t\t\t\tgetApps: () => SmartDesktopClient.getApps(),\n\t\t\t\t\taddApp: (appId: string, appConfig: AppDefinition) => SmartDesktopClient.addApp(appId, appConfig),\n\t\t\t\t\tdeleteApp: (appId: string) => SmartDesktopClient.deleteApp(appId),\n\t\t\t\t\tupdateApp: (appId: string, appConfig: AppDefinition) => SmartDesktopClient.updateApp(appId, appConfig),\n\t\t\t\t\tgetMenus: () => SmartDesktopClient.getMenus(),\n\t\t\t\t\taddMenu: (menuConfig: MenuObjType) => SmartDesktopClient.addMenu(menuConfig),\n\t\t\t\t\tupdateMenu: (menuId: string, menuConfig: MenuObjType) => SmartDesktopClient.updateMenu(menuId, menuConfig),\n\t\t\t\t\tdeleteMenu: (menuId: string) => SmartDesktopClient.deleteMenu(menuId),\n\t\t\t\t\tgetPreloads: () => SmartDesktopClient.getPreloads(),\n\t\t\t\t\tgetAppConfigTemplate: () => SmartDesktopClient.getAppConfigTemplate(),\n\t\t\t\t\tisInboundInteropAuthorized: FSBL.Clients.SmartDesktopClient.isInboundInteropAuthorized,\n\t\t\t\t\tisOutboundInteropAuthorized: FSBL.Clients.SmartDesktopClient.isOutboundInteropAuthorized,\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"applications-optional\",\n\t\t\t\ticon: \"code-block\",\n\t\t\t\tname: \"Optional\",\n\t\t\t\tcomponent: OptionalSettingsView,\n\t\t\t\tprops: <OptionalSettingsViewProps>{\n\t\t\t\t\tgetApps: SmartDesktopClient.getApps,\n\t\t\t\t\tupdateApp: SmartDesktopClient.updateApp,\n\t\t\t\t\tgetConfig: FSBL.Clients.ConfigClient.getValue.bind(FSBL.Clients.ConfigClient),\n\t\t\t\t\tgetPreloads: SmartDesktopClient.getPreloads,\n\t\t\t\t\taddPreload: SmartDesktopClient.addPreload,\n\t\t\t\t\tupdatePreload: SmartDesktopClient.updatePreload,\n\t\t\t\t\tdeletePreload: SmartDesktopClient.deletePreload,\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Desktop Customization\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"themes\",\n\t\t\t\ticon: \"paint-roller\",\n\t\t\t\tname: \"Theme\",\n\t\t\t\tcomponent: Themes,\n\t\t\t\tprops: {\n\t\t\t\t\tgetSDServerInfo,\n\t\t\t\t\tupdateProjectSettings: (obj: any) => SmartDesktopClient.updateProjectSettings(obj),\n\t\t\t\t\tupdateThemes: (id: string, newValue: string) => {\n\t\t\t\t\t\tFSBL.Clients.SmartDesktopClient.updateThemeVariable(id, newValue);\n\t\t\t\t\t},\n\t\t\t\t\tareYouSure: (affirmativeCallback: Function) => {\n\t\t\t\t\t\tFSBL.Clients.DialogManager.open(\n\t\t\t\t\t\t\t\"yesNo\",\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttitle: \"Change your theme?\",\n\t\t\t\t\t\t\t\tquestion: `Selecting this template will undo any custom theme changes. Would you like to proceed?`,\n\t\t\t\t\t\t\t\thideModalOnClose: true,\n\t\t\t\t\t\t\t\tshowNegativeButton: false,\n\t\t\t\t\t\t\t\taffirmativeResponseLabel: \"Yes\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t(err: any, response: { choice: string }) => {\n\t\t\t\t\t\t\t\tif (response.choice === \"affirmative\") {\n\t\t\t\t\t\t\t\t\taffirmativeCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\tupdateSplashScreen: (file: File) => SmartDesktopClient.updateSplashScreen(file),\n\t\t\t\t\tupdateToolbarIcon: (file: File) => SmartDesktopClient.updateToolbarIcon(file),\n\t\t\t\t\tupdateTaskbarIcon: (file: File) => SmartDesktopClient.updateTaskbarIcon(file),\n\t\t\t\t\tupdateSystemTrayIcon: (file: File) => SmartDesktopClient.updateSystemTrayIcon(file),\n\t\t\t\t\tupdateInstallerIcon: (file: File) => SmartDesktopClient.updateInstallerIcon(file),\n\t\t\t\t} as ThemeProps,\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"toolbar\",\n\t\t\t\ticon: \"toolbar\",\n\t\t\t\tname: \"Toolbar\",\n\t\t\t\tcomponent: Toolbar,\n\t\t\t\tprops: {\n\t\t\t\t\tgetApps: () => SmartDesktopClient.getApps(),\n\t\t\t\t\tgetMenus: () => SmartDesktopClient.getMenus(),\n\t\t\t\t\taddMenu: (menuConfig: MenuObjType) => SmartDesktopClient.addMenu(menuConfig),\n\t\t\t\t\tupdateMenu: (menuId: string, menuConfig: MenuObjType) => SmartDesktopClient.updateMenu(menuId, menuConfig),\n\t\t\t\t\tdeleteMenu: (menuId: string) => SmartDesktopClient.deleteMenu(menuId),\n\t\t\t\t} as ToolbarProps,\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"authentication\",\n\t\t\t\ticon: \"key\",\n\t\t\t\tname: \"Authentication\",\n\t\t\t\tcomponent: Authentication,\n\t\t\t\tprops: (<AuthenticationProps>{\n\t\t\t\t\tgetAuthenticationProviders: () =>\n\t\t\t\t\t\tnew Promise<AuthenticationProvider[]>((resolve) => {\n\t\t\t\t\t\t\tSmartDesktopClient.getAuthenticationProviders().then((providers: AuthenticationProvider[]) => {\n\t\t\t\t\t\t\t\tresolve(providers);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}),\n\t\t\t\t\tsetAuthenticationProviders: (authenticationProviders: any) =>\n\t\t\t\t\t\tSmartDesktopClient.setAuthenticationProviders(authenticationProviders),\n\t\t\t\t\ttestAuthenticationProvider: (provider: AuthenticationProvider) =>\n\t\t\t\t\t\tnew Promise((resolve, reject) => {\n\t\t\t\t\t\t\tconst scopeMaybe = provider.scope ? `&scope=${provider.scope}` : \"\";\n\t\t\t\t\t\t\tconst nonceMaybe = provider.nonce ? `&nonce=${Math.random()}` : \"\";\n\t\t\t\t\t\t\tconst url = `${provider.authorization_endpoint}?client_id=${\n\t\t\t\t\t\t\t\tprovider.client_id\n\t\t\t\t\t\t\t}&response_type=token&redirect_uri=${\n\t\t\t\t\t\t\t\tprovider.redirect_uri\n\t\t\t\t\t\t\t}&state=${createCSRF()}${scopeMaybe}${nonceMaybe}`;\n\n\t\t\t\t\t\t\tFSBL.Clients.LauncherClient.spawn(\n\t\t\t\t\t\t\t\t\"authentication\",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\turl,\n\t\t\t\t\t\t\t\t\ttop: \"center\",\n\t\t\t\t\t\t\t\t\tleft: \"center\",\n\t\t\t\t\t\t\t\t\tcanGroup: false,\n\t\t\t\t\t\t\t\t\toptions: {\n\t\t\t\t\t\t\t\t\t\tcustomData: {\n\t\t\t\t\t\t\t\t\t\t\tforeign: {\n\t\t\t\t\t\t\t\t\t\t\t\tservices: {\n\t\t\t\t\t\t\t\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tallowTabbing: false,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tallowSnapping: false,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tallowGrouping: false,\n\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\tauthorizationUrl: url,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t(err: any) => {\n\t\t\t\t\t\t\t\t\tif (err) {\n\t\t\t\t\t\t\t\t\t\tthrow err;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\tFSBL.Clients.RouterClient.addListener(\"SDD-Auth-Test-Response\", (error: any, response: any) => {\n\t\t\t\t\t\t\t\tif (error || !response.data) {\n\t\t\t\t\t\t\t\t\treject(error || \"Empty error response from OAuth\");\n\t\t\t\t\t\t\t\t} else if (response.data.err) {\n\t\t\t\t\t\t\t\t\treject(response.data.err);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tresolve(null);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}),\n\t\t\t\t}) as AuthenticationProps,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Deploy\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"export\",\n\t\t\t\ticon: \"upload\",\n\t\t\t\tname: \"Finish\",\n\t\t\t\tcomponent: Export,\n\t\t\t\tprops: (<ExportProps>{\n\t\t\t\t\tprogressCheckInterval: 500,\n\t\t\t\t\tgetSDServerInfo,\n\t\t\t\t\tgetProjectConfig: () => SmartDesktopClient.projectConfig(),\n\t\t\t\t\tcreateProjectZip: (projectName: string, targetPath: string | undefined = undefined) =>\n\t\t\t\t\t\tSmartDesktopClient.createProjectZip(projectName || \"default\", targetPath),\n\t\t\t\t\tpublishToCosaicCloud: (uuid) => SmartDesktopClient.publishToCosaicCloud(uuid),\n\t\t\t\t\tgetPublishProgress: () => SmartDesktopClient.getPublishProgress(),\n\t\t\t\t\tcopyProjectFiles: (projectName: string, targetPath: string | undefined = undefined) =>\n\t\t\t\t\t\tSmartDesktopClient.copyProjectFiles(projectName || \"default\", targetPath),\n\t\t\t\t\tupdateProjectSettings: (obj: any) => SmartDesktopClient.updateProjectSettings(obj),\n\t\t\t\t}) as ExportProps,\n\t\t\t},\n\t\t],\n\t},\n] as ViewSectionInfo[];\n"]}
@@ -16,3 +16,6 @@
16
16
  .finsemble-icon-toolbar {
17
17
  color: #902e57;
18
18
  }
19
+ .finsemble-icon-code-block {
20
+ color: #5b606f;
21
+ }
@@ -113,7 +113,11 @@
113
113
 
114
114
  .auth-setup-toggle-mode {
115
115
  justify-content: left;
116
- margin-left: -1em;
117
116
  position: absolute;
118
117
  transform: translateY(-100%);
119
118
  }
119
+
120
+ .auth-setup-toggle-mode button {
121
+ color: white;
122
+ border-color: white;
123
+ }
@@ -7,7 +7,6 @@
7
7
  overflow-y: auto;
8
8
  position: relative;
9
9
  background-color: #373b43;
10
- padding-top: 20px;
11
10
  }
12
11
 
13
12
  .content-container {
@@ -1,5 +1,5 @@
1
1
  import { ApplicationsProps } from "../Applications";
2
- import { services } from "@finsemble/finsemble-core";
2
+ import { services } from "@finsemble/finsemble-api";
3
3
  import { ToolbarProps } from "../Toolbar";
4
4
  declare type AppDefinition = services.Interop.types.AppDefinition;
5
5
  export declare const default_apps: AppDefinition[];
@@ -36,7 +36,7 @@ export const default_apps = [
36
36
  },
37
37
  },
38
38
  component: {
39
- preload: ["https://salesdemo-dev.finsemble.com/components/chartiq/chartiq.js"],
39
+ preload: ["https://salesdemo-dev.finsemble.com/components/chartiq/chartiq.js", "zoom"],
40
40
  },
41
41
  },
42
42
  manifestType: "finsemble",
@@ -55,7 +55,7 @@ export const default_apps = [
55
55
  publisher: "Cosaic",
56
56
  icons: [
57
57
  {
58
- url: "https://i.imgur.com/mpBdiHd.png",
58
+ src: "https://i.imgur.com/mpBdiHd.png",
59
59
  },
60
60
  ],
61
61
  },
@@ -103,7 +103,7 @@ export const default_apps = [
103
103
  publisher: "Cosaic",
104
104
  icons: [
105
105
  {
106
- url: "https://i.imgur.com/gHfwucS.png",
106
+ src: "https://i.imgur.com/gHfwucS.png",
107
107
  },
108
108
  ],
109
109
  },
@@ -140,7 +140,7 @@ export const default_apps = [
140
140
  publisher: "string",
141
141
  icons: [
142
142
  {
143
- icon: "string",
143
+ src: "string",
144
144
  },
145
145
  ],
146
146
  customConfig: [
@@ -221,7 +221,7 @@ export const temporary_apps = [
221
221
  publisher: "string",
222
222
  icons: [
223
223
  {
224
- icon: "string",
224
+ src: "string",
225
225
  },
226
226
  ],
227
227
  customConfig: [
@@ -271,6 +271,13 @@ export const getApplicationsArgs = (init) => {
271
271
  resolve({ err: null });
272
272
  });
273
273
  },
274
+ updateApp: (appId, appConfig) => {
275
+ apps = apps.filter((app) => app.appId !== appId);
276
+ apps = [...apps, appConfig];
277
+ return new Promise((resolve) => {
278
+ resolve({ err: null });
279
+ });
280
+ },
274
281
  deleteApp: (appId) => {
275
282
  apps = apps.filter((app) => app.appId !== appId);
276
283
  return new Promise((resolve) => {
@@ -295,6 +302,21 @@ export const getApplicationsArgs = (init) => {
295
302
  menus = Object.assign(Object.assign({}, menus), { [menuId]: menuConfig });
296
303
  resolve({ err: null });
297
304
  }),
305
+ getPreloads: () => new Promise((resolve) => {
306
+ resolve({
307
+ err: null,
308
+ preloads: [
309
+ {
310
+ alias: "zoom",
311
+ url: "http://localhost:3375/build/preloads/zoom.js",
312
+ },
313
+ {
314
+ alias: "native-overrides",
315
+ url: "http://localhost:3375/build/preloads/nativeoverrides.js",
316
+ },
317
+ ],
318
+ });
319
+ }),
298
320
  isInboundInteropAuthorized: (sourceApp, targetApp) => new Promise((resolve) => {
299
321
  var _a, _b, _c;
300
322
  resolve(((_c = (_b = (_a = targetApp.manifest) === null || _a === void 0 ? void 0 : _a.interop) === null || _b === void 0 ? void 0 : _b.selectConnect) === null || _c === void 0 ? void 0 : _c.some((rule) => { var _a; return (_a = rule.authorize) === null || _a === void 0 ? void 0 : _a.some((app) => app.name === sourceApp.name); })) || false);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/apps.ts"],"names":[],"mappings":"AACA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAO9C,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC5C;QACC,KAAK,EAAE,oBAAoB;QAC3B,IA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AO,OAAO,CAAC,MAAM,CAAC,CAAC;YACvB,KAAK,GAAG,OAAO,CAAC;YAChB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;KACH,CAAC;AACH,CAAC,CAAC","sourcesContent":["import { ApplicationsProps } from \"../Applications\";\nimport configTemplate from \"./configTemplate\";\nimport { clone } from \"../Appearance.helpers\";\nimport { services } from \"@finsemble/finsemble-api\";\nimport { ToolbarProps } from \"../Toolbar\";\nimport { PreloadType } from \"../../../types/smartDesktopDesignerTypes\";\n\ntype AppDefinition = services.Interop.types.AppDefinition;\n\nexport const default_apps: AppDefinition[] = [\n\t{\n\t\tappId: \"Example Charts App\",\n\t\tname: \"Example Charts App\",\n\t\ttype: \"component\",\n\t\tdescription: \"Visualize market data in the leading technical chart.\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq/technical-analysis-chart.html\",\n\t\t\t\twidth: 800,\n\t\t\t\theight: 600,\n\t\t\t\toptions: {\n\t\t\t\t\tminWidth: 75,\n\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tservices: {\n\t\t\t\t\tdockingService: {\n\t\t\t\t\t\tisArrangable: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t},\n\t\t\t\t\tToolbar: {\n\t\t\t\t\t\ticonClass: \"ff-chart-advanced\",\n\t\t\t\t\t},\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tcomponent: {\n\t\t\t\tpreload: [\"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq.js\", \"zoom\"],\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"finsemble\",\n\t\tversion: \"1.0.0\",\n\t\treleaseNotes: \"This is the only version.\",\n\t\ttooltip: \"ChartIQ Advanced Chart\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/10C3LdH.png\",\n\t\t\t\ttooltip: \"Candle Chart\",\n\t\t\t},\n\t\t],\n\t\ttags: [\"charts\", \"market data\", \"visualization\", \"graphics\"],\n\t\tcontactEmail: \"info@cosaic.io\",\n\t\tsupportEmail: \"support@finsemble.com\",\n\t\tpublisher: \"Cosaic\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\tsrc: \"https://i.imgur.com/mpBdiHd.png\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"Example News App\",\n\t\tname: \"Example News App\",\n\t\ttype: \"component\",\n\t\tdescription: \"Financial news headlines.\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"https://finsemble.chartiq.com/components/widgets/news/news.html\",\n\t\t\t\twidth: 354,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tservices: {\n\t\t\t\t\tdockingService: {\n\t\t\t\t\t\tisArrangable: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\tToolbar: {\n\t\t\t\t\t\ticonClass: \"ff-news\",\n\t\t\t\t\t},\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"finsemble\",\n\t\tversion: \"1.0.0\",\n\t\treleaseNotes: \"This is the only version of News\",\n\t\ttooltip: \"News\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/6oZjqP7.png\",\n\t\t\t\ttooltip: \"News\",\n\t\t\t},\n\t\t],\n\t\ttags: [\"news\"],\n\t\tcontactEmail: \"info@cosaic.io\",\n\t\tsupportEmail: \"support@finsemble.com\",\n\t\tpublisher: \"Cosaic\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\tsrc: \"https://i.imgur.com/gHfwucS.png\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"Google\",\n\t\tname: \"Google\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"http://google.com\",\n\t\t\t\twidth: 1280,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"vendor_type\",\n\t\tversion: \"1\",\n\t\ttitle: \"app title\",\n\t\ttooltip: \"app tip\",\n\t\tdescription: \"\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"string\",\n\t\t\t},\n\t\t],\n\t\tcontactEmail: \"string\",\n\t\tsupportEmail: \"string\",\n\t\tpublisher: \"string\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\tsrc: \"string\",\n\t\t\t},\n\t\t],\n\t\t// @ts-ignore\n\t\tcustomConfig: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tvalue: \"string\",\n\t\t\t},\n\t\t],\n\t\tintents: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tdisplayName: \"string\",\n\t\t\t\tcontexts: [\"string\"],\n\t\t\t\tcustomConfig: {},\n\t\t\t},\n\t\t],\n\t},\n] as AppDefinition[];\n\nconst default_menus = {\n\t1: {\n\t\tdisplayName: \"Examples\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n};\n\nconst long_menus = {\n\t1: {\n\t\tdisplayName: \"A\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t2: {\n\t\tdisplayName: \"B\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t3: {\n\t\tdisplayName: \"C\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t4: {\n\t\tdisplayName: \"D\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t5: {\n\t\tdisplayName: \"E\",\n\t\tapplications: [],\n\t},\n};\n\nexport const temporary_apps: AppDefinition[] = [\n\t{\n\t\tappId: \"Google\",\n\t\tname: \"Google\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"http://google.com\",\n\t\t\t\twidth: 1280,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"vendor_type\",\n\t\tversion: \"1\",\n\t\ttitle: \"app title\",\n\t\ttooltip: \"app tip\",\n\t\tdescription: \"\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"string\",\n\t\t\t},\n\t\t],\n\t\tcontactEmail: \"string\",\n\t\tsupportEmail: \"string\",\n\t\tpublisher: \"string\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\tsrc: \"string\",\n\t\t\t},\n\t\t],\n\t\tcustomConfig: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tvalue: \"string\",\n\t\t\t},\n\t\t],\n\t\tintents: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tdisplayName: \"string\",\n\t\t\t\tcontexts: [\"string\"],\n\t\t\t\tcustomConfig: {},\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"123456789\",\n\t\tname: \"OtherApp\",\n\t\tmanifest: {\n\t\t\ttemporary: true,\n\t\t},\n\t},\n] as AppDefinition[];\n\nexport const getApplicationsArgs = (init: \"default\" | \"empty\" | \"long\" | \"temporary\"): ApplicationsProps => {\n\tlet apps: AppDefinition[] = [];\n\tlet menus: any = {};\n\n\tif (init === \"default\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(default_menus);\n\t} else if (init === \"temporary\") {\n\t\tapps = JSON.parse(JSON.stringify(temporary_apps));\n\t} else if (init === \"long\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(long_menus);\n\t}\n\n\treturn {\n\t\tgetApps: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null, apps });\n\t\t\t}),\n\t\taddApp: (_: string, appConfig: AppDefinition) => {\n\t\t\tapps = [...apps, appConfig];\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t\tupdateApp: (appId: string, appConfig: AppDefinition) => {\n\t\t\tapps = apps.filter((app) => app.appId !== appId);\n\t\t\tapps = [...apps, appConfig];\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t\tdeleteApp: (appId: string) => {\n\t\t\tapps = apps.filter((app) => app.appId !== appId);\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t\tgetAppConfigTemplate: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ config: { ...configTemplate } });\n\t\t\t}),\n\t\tgetMenus: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({\n\t\t\t\t\terr: null,\n\t\t\t\t\tmenus,\n\t\t\t\t});\n\t\t\t}),\n\t\taddMenu: (menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst length = String(Object.keys(menus).length + 1);\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[length]: menuConfig,\n\t\t\t\t};\n\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tupdateMenu: (menuId: string, menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[menuId]: menuConfig,\n\t\t\t\t};\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tgetPreloads: (): Promise<{ err: any; preloads: PreloadType[] }> =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({\n\t\t\t\t\terr: null,\n\t\t\t\t\tpreloads: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talias: \"zoom\",\n\t\t\t\t\t\t\turl: \"http://localhost:3375/build/preloads/zoom.js\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\talias: \"native-overrides\",\n\t\t\t\t\t\t\turl: \"http://localhost:3375/build/preloads/nativeoverrides.js\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t});\n\t\t\t}),\n\t\tisInboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve(\n\t\t\t\t\ttargetApp.manifest?.interop?.selectConnect?.some((rule) =>\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === sourceApp.name)\n\t\t\t\t\t) || false\n\t\t\t\t);\n\t\t\t}),\n\t\tisOutboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve(\n\t\t\t\t\tsourceApp.manifest?.interop?.selectConnect?.some((rule) =>\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === targetApp.name)\n\t\t\t\t\t) || false\n\t\t\t\t);\n\t\t\t}),\n\t};\n};\n\nexport const getToolbarArgs = (init: \"default\" | \"empty\" | \"long\" | \"temporary\"): ToolbarProps => {\n\tlet apps: AppDefinition[] = [];\n\tlet menus: any = {};\n\n\tif (init === \"default\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(default_menus);\n\t} else if (init === \"temporary\") {\n\t\tapps = JSON.parse(JSON.stringify(temporary_apps));\n\t} else if (init === \"long\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(long_menus);\n\t}\n\n\treturn {\n\t\tgetApps: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null, apps });\n\t\t\t}),\n\t\tgetMenus: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({\n\t\t\t\t\terr: null,\n\t\t\t\t\tmenus,\n\t\t\t\t});\n\t\t\t}),\n\t\taddMenu: (menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst length = String(Object.keys(menus).length + 1);\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[length]: menuConfig,\n\t\t\t\t};\n\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tupdateMenu: (menuId: string, menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[menuId]: menuConfig,\n\t\t\t\t};\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tdeleteMenu: (menuId: string) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst newMenu = clone(menus);\n\t\t\t\tdelete newMenu[menuId];\n\t\t\t\tmenus = newMenu;\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t};\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authenticationProps.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/authenticationProps.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG,GAAG,EAAE,CAC5B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;CACpB,CAAC","sourcesContent":["import { AuthenticationProps } from \"../Authentication\";\n\nconst defaultCallback = () =>\n\tnew Promise((resolve) => {\n\t\tresolve(null);\n\t});\n\nexport const default_authentication_props = {\n\tgetAuthenticationProviders: defaultCallback,\n\tsetAuthenticationProviders: defaultCallback,\n\ttestAuthenticationProvider: defaultCallback,\n} as AuthenticationProps;\n"]}
@@ -28,7 +28,7 @@ declare const _default: {
28
28
  supportEmail: string;
29
29
  publisher: string;
30
30
  icons: {
31
- icon: string;
31
+ src: string;
32
32
  }[];
33
33
  customConfig: {
34
34
  name: string;
@@ -32,7 +32,7 @@ export default {
32
32
  publisher: "string",
33
33
  icons: [
34
34
  {
35
- icon: "string",
35
+ src: "string",
36
36
  },
37
37
  ],
38
38
  customConfig: [
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configTemplate.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/configTemplate.ts"],"names":[],"mappings":"AAAA,IAAI,aAAa,GAAG;IACnB,MAAM,EAAE;QAEP,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,GAAG;KACX;IACD,OAAO,EAAE;QACR,UAAU,EAAE;YACX,gBAAgB,EAAE;gBACjB,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,IAAI;aAChB;SACD;KACD;CACD,CAAC;AAEF,eAAe;IACd,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,aAAa;IAC3B,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE;QACP;YACC,GAAG,EAAE,QAAQ;SACb;KACD;IACD,YAAY,EAAE,QAAQ;IACtB,YAAY,EAAE,QAAQ;IACtB,SAAS,EAAE,QAAQ;IACnB,KAAK,EAAE;QACN;YACC,GAAG,EAAE,QAAQ;SACb;KACD;IACD,YAAY,EAAE;QACb;YACC,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;SACf;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,YAAY,EAAE,EAAE;SAChB;KACD;CACD,CAAC","sourcesContent":["let componentJson = {\n\twindow: {\n\t\t// url: \"$applicationRoot/components/welcome/welcome.html\",\n\t\turl: \"\",\n\t\twidth: 1280,\n\t\theight: 600,\n\t},\n\tforeign: {\n\t\tcomponents: {\n\t\t\t\"Window Manager\": {\n\t\t\t\tpersistWindowState: true,\n\t\t\t\tFSBLHeader: true,\n\t\t\t},\n\t\t},\n\t},\n};\n\nexport default {\n\tappId: \"123\",\n\tname: \"\",\n\tmanifest: componentJson,\n\tmanifestType: \"vendor_type\",\n\tversion: \"1\",\n\ttitle: \"app title\",\n\ttooltip: \"app tip\",\n\tdescription: \"\",\n\timages: [\n\t\t{\n\t\t\turl: \"string\",\n\t\t},\n\t],\n\tcontactEmail: \"string\",\n\tsupportEmail: \"string\",\n\tpublisher: \"string\",\n\ticons: [\n\t\t{\n\t\t\tsrc: \"string\",\n\t\t},\n\t],\n\tcustomConfig: [\n\t\t{\n\t\t\tname: \"string\",\n\t\t\tvalue: \"string\",\n\t\t},\n\t],\n\tintents: [\n\t\t{\n\t\t\tname: \"string\",\n\t\t\tdisplayName: \"string\",\n\t\t\tcontexts: [\"string\"],\n\t\t\tcustomConfig: {},\n\t\t},\n\t],\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportProps.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/exportProps.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAM7C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,qBAAqB,EAAE,IAAI;IAC3B,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,EAAE;SACS,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,oBAAoB,EAAE,GAAG,EAAE,CAC1B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,KAAK;YACX,YAAY,EAAE,oBAAoB;YAClC,WAAW,EAAE,oBAAoB;SACnB,CAAC,CAAC;IAClB,CAAC,CAAC;IACH,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP;gBACC,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,mBAAmB;aAC3B;SACD,CAAC,CAAC;IACJ,CAAC,CAAC;IACH,qBAAqB,EAAE,GAAG,EAAE,CAC3B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC,CAAC;CACY,CAAC","sourcesContent":["import { ExportProps } from \"../Export\";\nimport publishTests from \"./publishProgress\";\nimport { FEA } from \"@finsemble/finsemble-api\";\n\ntype ProjectConfig = FEA.ProjectConfig;\ntype DeployInfo = FEA.DeployInfo;\n\nexport const DEFAULT_PROPS = {\n\tprogressCheckInterval: 1000,\n\tgetProjectConfig: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({\n\t\t\t\tname: \"\",\n\t\t\t} as ProjectConfig);\n\t\t}),\n\tcreateProjectZip: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(\"test.zip\");\n\t\t}),\n\tpublishToCosaicCloud: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({\n\t\t\t\tuuid: \"123\",\n\t\t\t\tinstallerURL: \"https://cosaic.io/\",\n\t\t\t\tmanifestURL: \"https://cosaic.io/\",\n\t\t\t} as DeployInfo);\n\t\t}),\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests[0].states[0]);\n\t\t}),\n\tcopyProjectFiles: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve([\n\t\t\t\t{\n\t\t\t\t\tsource: \"/tmp/config.json\",\n\t\t\t\t\ttarget: \"/seed/config.json\",\n\t\t\t\t},\n\t\t\t]);\n\t\t}),\n\tupdateProjectSettings: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({ err: \"\" });\n\t\t}),\n} as ExportProps;\n"]}
@@ -0,0 +1,22 @@
1
+ import { PreloadType } from "../../../types/smartDesktopDesignerTypes";
2
+ export declare const getPreloadsArgs: () => {
3
+ getConfig: (params: any, callback: any) => Promise<{
4
+ data: any;
5
+ err: string | null;
6
+ }>;
7
+ getApps: () => Promise<{
8
+ err: any;
9
+ apps: any;
10
+ }>;
11
+ addPreload: (preload: PreloadType) => Promise<{
12
+ err: any;
13
+ }>;
14
+ setEditView: () => void;
15
+ getPreloads: () => Promise<{
16
+ err: any;
17
+ preloads: PreloadType[];
18
+ }>;
19
+ deletePreload: (alias: string) => Promise<{
20
+ err: any;
21
+ }>;
22
+ };
@@ -0,0 +1,40 @@
1
+ import { clone } from "../Appearance.helpers";
2
+ import { getApplicationsArgs } from "./apps";
3
+ const applicationArgs = getApplicationsArgs("default");
4
+ const default_preloads = [
5
+ {
6
+ url: "http://localhost:3375/build/preloads/zoom.js",
7
+ alias: "zoom",
8
+ },
9
+ {
10
+ url: "http://localhost:3375/build/preloads/nativeOverrides.js",
11
+ alias: "native-overrides",
12
+ },
13
+ ];
14
+ const PRELOAD_CONFIG = {
15
+ allComponents: ["native-overrides"],
16
+ launchableComponents: [],
17
+ };
18
+ export const getPreloadsArgs = () => {
19
+ let preloads = clone(default_preloads);
20
+ return {
21
+ getConfig: (params, callback) => new Promise((resolve) => {
22
+ resolve({ err: null, data: PRELOAD_CONFIG });
23
+ }),
24
+ getApps: applicationArgs.getApps,
25
+ addPreload: (preload) => new Promise((resolve) => {
26
+ resolve({ err: null });
27
+ }),
28
+ setEditView: () => { },
29
+ getPreloads: () => new Promise((resolve) => {
30
+ resolve({ err: null, preloads });
31
+ }),
32
+ deletePreload: (alias) => {
33
+ preloads = preloads.filter((preload) => preload.alias !== alias);
34
+ return new Promise((resolve) => {
35
+ resolve({ err: null });
36
+ });
37
+ },
38
+ };
39
+ };
40
+ //# sourceMappingURL=preloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preloads.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/preloads.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,MAAM,eAAe,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAEvD,MAAM,gBAAgB,GAAkB;IACvC;QACC,GAAG,EAAE,8CAA8C;QACnD,KAAK,EAAE,MAAM;KACb;IACD;QACC,GAAG,EAAE,yDAAyD;QAC9D,KAAK,EAAE,kBAAkB;KACzB;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,aAAa,EAAE,CAAC,kBAAkB,CAAC;IACnC,oBAAoB,EAAE,EAAE;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IACnC,IAAI,QAAQ,GAAkB,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAEtD,OAAO;QACN,SAAS,EAAE,CAAC,MAAW,EAAE,QAAa,EAAE,EAAE,CACzC,IAAI,OAAO,CAAoC,CAAC,OAAO,EAAE,EAAE;YAC1D,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;QAC9C,CAAC,CAAC;QACH,OAAO,EAAE,eAAe,CAAC,OAAO;QAChC,UAAU,EAAE,CAAC,OAAoB,EAAyB,EAAE,CAC3D,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;QACH,WAAW,EAAE,GAAG,EAAE,GAAE,CAAC;QACrB,WAAW,EAAE,GAAmD,EAAE,CACjE,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;QAClC,CAAC,CAAC;QACH,aAAa,EAAE,CAAC,KAAa,EAAyB,EAAE;YACvD,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;YAEjE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBAC9B,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;YACxB,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC,CAAC","sourcesContent":["import { PreloadType } from \"../../../types/smartDesktopDesignerTypes\";\nimport { clone } from \"../Appearance.helpers\";\nimport { getApplicationsArgs } from \"./apps\";\nconst applicationArgs = getApplicationsArgs(\"default\");\n\nconst default_preloads: PreloadType[] = [\n\t{\n\t\turl: \"http://localhost:3375/build/preloads/zoom.js\",\n\t\talias: \"zoom\",\n\t},\n\t{\n\t\turl: \"http://localhost:3375/build/preloads/nativeOverrides.js\",\n\t\talias: \"native-overrides\",\n\t},\n];\n\nconst PRELOAD_CONFIG = {\n\tallComponents: [\"native-overrides\"],\n\tlaunchableComponents: [],\n};\n\nexport const getPreloadsArgs = () => {\n\tlet preloads: PreloadType[] = clone(default_preloads);\n\n\treturn {\n\t\tgetConfig: (params: any, callback: any) =>\n\t\t\tnew Promise<{ data: any; err: string | null }>((resolve) => {\n\t\t\t\tresolve({ err: null, data: PRELOAD_CONFIG });\n\t\t\t}),\n\t\tgetApps: applicationArgs.getApps,\n\t\taddPreload: (preload: PreloadType): Promise<{ err: any }> =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tsetEditView: () => {},\n\t\tgetPreloads: (): Promise<{ err: any; preloads: PreloadType[] }> =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null, preloads });\n\t\t\t}),\n\t\tdeletePreload: (alias: string): Promise<{ err: any }> => {\n\t\t\tpreloads = preloads.filter((preload) => preload.alias !== alias);\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t};\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectErrorsProps.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/projectErrorsProps.ts"],"names":[],"mappings":"AAEA,eAAmC;IAClC,MAAM,EAAE;QACP;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;QACD;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;KACD;CACD,CAAC","sourcesContent":["import { ProjectErrorsProps } from \"../ProjectErrors\";\n\nexport default <ProjectErrorsProps>{\n\terrors: [\n\t\t{\n\t\t\tviewId: \"test\",\n\t\t\tmessage: \"Error message\",\n\t\t},\n\t\t{\n\t\t\tviewId: \"test\",\n\t\t\tmessage: \"Error message\",\n\t\t},\n\t],\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { FEA } from "@finsemble/finsemble-core";
1
+ import { FEA } from "@finsemble/finsemble-api";
2
2
  declare type Progress = FEA.Progress;
3
3
  declare const _default: {
4
4
  name: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishProgress.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/publishProgress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAMzE,eAAe;IACd;QACC,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACP;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,OAAO;wBAC5B,eAAe,EAAE,EAAE;qBAEH;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;iBACjB;gBACD,WAAW,EAAE,YAAY;aACzB;YACD;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,OAAO;wBAC5B,eAAe,EAAE,EAAE;qBAEH;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBAC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X,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;iBACjB;gBACD,WAAW,EAAE,IAAI;aACjB;SACD;KACD;CAIC,CAAC","sourcesContent":["import { ProgressState } from \"../../../types/smartDesktopDesignerTypes\";\nimport { FEA } from \"@finsemble/finsemble-api\";\n\ntype ProgressItem = FEA.ProgressItem;\ntype Progress = FEA.Progress;\n\nexport default [\n\t{\n\t\tname: \"success\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"initialize\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"zip\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"upload\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: null,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-1-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"initialize\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-2-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"zip\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-3-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"upload\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-4-started\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-4-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"success\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: null,\n\t\t\t},\n\t\t],\n\t},\n] as {\n\tname: string;\n\tstates: Progress[];\n}[];\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themeProps.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/themeProps.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,GAAG,EAAE,CACvB,IAAI,OAAO,CAAuC,CAAC,OAAO,EAAE,EAAE;IAC7D,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEJ,MAAM,wBAAwB,GAAG,GAAG,EAAE,CACrC,IAAI,OAAO,CAAe,CAAC,OAAO,EAAE,EAAE;IACrC,OAAO,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;AACtB,CAAC,CAAC,CAAC;AAEJ,MAAM,eAAe,GAAG,CAAC,EAAO,EAAE,EAAE;IACnC,EAAE,CAAC;QACF,IAAI,EAAE,EAAE;QACR,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE;YACP,WAAW,EAAE,EAAE;YACf,aAAa,EAAE,EAAE;YACjB,WAAW,EAAE,EAAE;YACf,cAAc,EAAE,EAAE;YAClB,iBAAiB,EAAE,EAAE;SACrB;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,eAAe;IACf,qBAAqB,EAAE,wBAAwB;IAC/C,YAAY,EAAE,wBAAwB;IACtC,UAAU,EAAE,CAAC,EAAY,EAAE,EAAE;QAC5B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,kBAAkB,EAAE,UAAU;IAC9B,iBAAiB,EAAE,UAAU;IAC7B,iBAAiB,EAAE,UAAU;IAC7B,oBAAoB,EAAE,UAAU;IAChC,mBAAmB,EAAE,UAAU;CAC/B,CAAC","sourcesContent":["const uploadStub = () =>\n\tnew Promise<{ err: string | null; path: string }>((resolve) => {\n\t\tresolve({ err: null, path: \"path/to/image\" });\n\t});\n\nconst resolvePromiseEmptyError = () =>\n\tnew Promise<{ err: any }>((resolve) => {\n\t\tresolve({ err: \"\" });\n\t});\n\nconst getSDServerInfo = (cb: any) => {\n\tcb({\n\t\tname: \"\",\n\t\tapplicationRoot: \"\",\n\t\texport: {\n\t\t\ttoolbarIcon: \"\",\n\t\t\tinstallerIcon: \"\",\n\t\t\ttaskbarIcon: \"\",\n\t\t\tsystemTrayIcon: \"\",\n\t\t\tsplashScreenImage: \"\",\n\t\t},\n\t});\n};\n\nexport const default_theme_props = {\n\tgetSDServerInfo,\n\tupdateProjectSettings: resolvePromiseEmptyError,\n\tupdateThemes: resolvePromiseEmptyError,\n\tareYouSure: (cb: Function) => {\n\t\tcb();\n\t},\n\tupdateSplashScreen: uploadStub,\n\tupdateToolbarIcon: uploadStub,\n\tupdateTaskbarIcon: uploadStub,\n\tupdateSystemTrayIcon: uploadStub,\n\tupdateInstallerIcon: uploadStub,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ import { ViewSectionInfo } from "../../../types/smartDesktopDesignerTypes";
2
+ declare const _default: ViewSectionInfo[];
3
+ export default _default;
@@ -8,6 +8,8 @@ import { Authentication } from "../Authentication";
8
8
  import { default_authentication_props } from "./authenticationProps";
9
9
  import { getApplicationsArgs } from "./apps";
10
10
  import { Toolbar } from "../Toolbar";
11
+ import { OptionalSettingsView } from "../OptionalSettingsView";
12
+ import { getPreloadsArgs } from "./preloads";
11
13
  export default [
12
14
  {
13
15
  showLabel: false,
@@ -32,6 +34,13 @@ export default [
32
34
  component: Applications,
33
35
  props: Object.assign({}, getApplicationsArgs("empty")),
34
36
  },
37
+ {
38
+ id: "applications-optional",
39
+ icon: "code-block",
40
+ name: "Optional",
41
+ component: OptionalSettingsView,
42
+ props: Object.assign({}, getPreloadsArgs()),
43
+ },
35
44
  ],
36
45
  },
37
46
  {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.js","sourceRoot":"","sources":["../../../../src/components/sdd/fixtures/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAe;IACd;QACC,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,EAAE;QACT,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,iBAAiB;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;gBACb,SAAS,EAAE,cAAc;aACzB;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,MAAM;QACb,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,cAAc;gBAClB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,aAAa;gBACnB,SAAS,EAAE,YAAY;gBACvB,KAAK,oBAAO,mBAAmB,CAAC,OAAO,CAAC,CAAE;aAC1C;YACD;gBACC,EAAE,EAAE,uBAAuB;gBAC3B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,UAAU;gBAChB,SAAS,EAAE,oBAAoB;gBAC/B,KAAK,oBAAO,eAAe,EAAE,CAAE;aAC/B;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,OAAO;gBACb,SAAS,EAAE,MAAM;gBACjB,KAAK,oBAAO,mBAAmB,CAAE;aACjC;YACD;gBACC,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,OAAO;gBAClB,KAAK,oBAAO,mBAAmB,CAAC,OAAO,CAAC,CAAE;aAC1C;YACD;gBACC,EAAE,EAAE,gBAAgB;gBACpB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,gBAAgB;gBACtB,SAAS,EAAE,cAAc;gBACzB,KAAK,oBAAO,4BAA4B,CAAE;aAC1C;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,MAAM;gBACjB,KAAK,oBAAO,aAAa,CAAE;aAC3B;SACD;KACD;CACoB,CAAC","sourcesContent":["import { GettingStarted } from \"../GettingStarted\";\nimport { Applications } from \"../Applications\";\nimport { ViewSectionInfo } from \"../../../types/smartDesktopDesignerTypes\";\nimport { Themes } from \"../Themes\";\nimport { Export } from \"../Export\";\nimport { DEFAULT_PROPS } from \"./exportProps\";\nimport { default_theme_props } from \"./themeProps\";\nimport { Authentication } from \"../Authentication\";\nimport { default_authentication_props } from \"./authenticationProps\";\nimport { getApplicationsArgs } from \"./apps\";\nimport { Toolbar } from \"../Toolbar\";\nimport { OptionalSettingsView } from \"../OptionalSettingsView\";\nimport { getPreloadsArgs } from \"./preloads\";\n\nexport default [\n\t{\n\t\tshowLabel: false,\n\t\tlabel: \"\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"getting-started\",\n\t\t\t\ticon: \"flag\",\n\t\t\t\tname: \"Start\",\n\t\t\t\tcomponent: GettingStarted,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Apps\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"applications\",\n\t\t\t\ticon: \"window\",\n\t\t\t\tname: \"Manage apps\",\n\t\t\t\tcomponent: Applications,\n\t\t\t\tprops: { ...getApplicationsArgs(\"empty\") },\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"applications-optional\",\n\t\t\t\ticon: \"code-block\",\n\t\t\t\tname: \"Optional\",\n\t\t\t\tcomponent: OptionalSettingsView,\n\t\t\t\tprops: { ...getPreloadsArgs() },\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Desktop Customization\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"themes\",\n\t\t\t\ticon: \"paint-roller\",\n\t\t\t\tname: \"Theme\",\n\t\t\t\tcomponent: Themes,\n\t\t\t\tprops: { ...default_theme_props },\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"toolbar\",\n\t\t\t\ticon: \"toolbar\",\n\t\t\t\tname: \"Toolbar\",\n\t\t\t\tcomponent: Toolbar,\n\t\t\t\tprops: { ...getApplicationsArgs(\"empty\") },\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"authentication\",\n\t\t\t\ticon: \"key\",\n\t\t\t\tname: \"Authentication\",\n\t\t\t\tcomponent: Authentication,\n\t\t\t\tprops: { ...default_authentication_props },\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Deploy\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"export\",\n\t\t\t\ticon: \"upload\",\n\t\t\t\tname: \"Finish\",\n\t\t\t\tcomponent: Export,\n\t\t\t\tprops: { ...DEFAULT_PROPS },\n\t\t\t},\n\t\t],\n\t},\n] as ViewSectionInfo[];\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdd_helpers.js","sourceRoot":"","sources":["../../../src/components/sdd/sdd_helpers.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE7E,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AAQtD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE;;IAC1D,MAAM,KAAK,GAAG,MAAA,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,mCAAI,CAAC,EAAE,CAAC,CAAC;IACrD,OAAO,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9G,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,SAA2E,EAAE,EAAE;IACpH,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,IAAI,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;IAClG,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,IAAI,EAAE,CAAC;IACtC,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,IAAI,EAAE,CAAC;IACxC,MAAM,cAAc,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;IACrE,OAAO;QACN,WAAW;QACX,SAAS;QACT,UAAU;QACV,cAAc;KACd,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAC5B,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;IAC7B,UAAU,CAAC,GAAG,EAAE;QACf,OAAO,EAAE,CAAC;IACX,CAAC,EAAE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAE,EAAE,CACtC,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;IAC7B,UAAU,CAAC,GAAG,EAAE;QACf,OAAO,EAAE,CAAC;IACX,CAAC,EAAE,EAAE,CAAC,CAAC;AACR,CAAC,CAAC,CAAC","sourcesContent":["const toSentenceCase = (s: string) => s.charAt(0).toUpperCase() + s.slice(1);\n\nconst invalidDefaultNames = [\"http\", \"https\", \"html\"];\n\n/**\n * Returns the last word with more than 3 characters in the url or path\n *\n * @param {*} data\n * @return {*} {string}\n */\nexport const getDefaultName = (name: string | undefined) => {\n\tconst words = (name || \"\").match(/\\w{4,}/gi) ?? [\"\"];\n\treturn toSentenceCase(words.filter((word) => !invalidDefaultNames.includes(word.toLowerCase())).pop() || \"\");\n};\n\nexport const generateDefaultConfig = (appConfig: { name?: string; url?: string; path?: string; appType?: string }) => {\n\tconst displayName = appConfig.name || getDefaultName(appConfig.url || appConfig.path || \"\") || \"\";\n\tconst windowURL = appConfig.url || \"\";\n\tconst nativePath = appConfig.path || \"\";\n\tconst currentAppType = appConfig.appType ? appConfig.appType : \"web\";\n\treturn {\n\t\tdisplayName,\n\t\twindowURL,\n\t\tnativePath,\n\t\tcurrentAppType,\n\t};\n};\n\nexport const waitTick = () =>\n\tnew Promise<void>((resolve) => {\n\t\tsetTimeout(() => {\n\t\t\tresolve();\n\t\t}, 0);\n\t});\n\nexport const waitTime = (ms: number) =>\n\tnew Promise<void>((resolve) => {\n\t\tsetTimeout(() => {\n\t\t\tresolve();\n\t\t}, ms);\n\t});\n"]}
@@ -4,7 +4,7 @@ import "../../../assets/css/finsemble.css";
4
4
  import "../../common/css/styles.css";
5
5
  declare const _default: {
6
6
  title: string;
7
- component: ({ startingDisplayName, startingAppType, startingWindowURL, startingNativePath, appData, validateURL, removeApplicationFn, cancelFn, submitFn, addApp, isInboundInteropAuthorized, isOutboundInteropAuthorized, }: AppEditPageProps) => JSX.Element;
7
+ component: ({ startingDisplayName, startingAppType, startingWindowURL, startingNativePath, appData, validateURL, removeApplicationFn, cancelFn, submitFn, addApp, isInboundInteropAuthorized, isOutboundInteropAuthorized, preloadAliasList, }: AppEditPageProps) => JSX.Element;
8
8
  };
9
9
  export default _default;
10
10
  export declare const Page: import("@storybook/react").Story<AppEditPageProps>;
@@ -26,6 +26,7 @@ const defaultProps = {
26
26
  isInboundInteropAuthorized: resolvePromiseAsTrue,
27
27
  isOutboundInteropAuthorized: resolvePromiseAsTrue,
28
28
  addApp: resolvePromiseErrorNull,
29
+ preloadAliasList: [],
29
30
  };
30
31
  export const Page = createStory(AppEditPage, defaultProps);
31
32
  export const PageWithIconURL = createStory(AppEditPage, Object.assign(Object.assign({}, defaultProps), { appData: Object.assign(Object.assign({}, defaultAppData), { iconURL: "https://assets.finsemble.com/components/fdc3-workbench/fdc3-icon-256.png" }) }));
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppEditPage.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/AppEditPage.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAoB,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACd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AM,SAAS,GAAG,WAAW,CAAmB,WAAW,kCAC9D,YAAY,KACf,mBAAmB,EAAE,EAAE,EACvB,iBAAiB,EAAE,EAAE,EACrB,WAAW,EAAE,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IACjD,CAAC","sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport React from \"react\"; // This must be imported, or storybook will choke on this page\nimport { AppEditPage, AppEditPageProps, defaultAppData } from \"../AppEditPage\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { createStory } from \"../../common/helpers\";\nimport { action } from \"@storybook/addon-actions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/AppEditPage\",\n\tcomponent: AppEditPage,\n};\n\nconst resolvePromiseAsTrue = (): Promise<true> =>\n\tnew Promise((resolve) => {\n\t\tresolve(true);\n\t});\n\nconst resolvePromiseErrorNull = (): Promise<{ err: null }> =>\n\tnew Promise((resolve) => {\n\t\tresolve({ err: null });\n\t});\n\nconst defaultProps = {\n\tstartingDisplayName: \"Test\",\n\tstartingAppType: \"web\",\n\tstartingWindowURL: \"http://www.google.com\",\n\tstartingNativePath: \"\",\n\tappData: defaultAppData,\n\tvalidateURL: () => true,\n\tremoveApplicationFn: action(\"Remove application\"),\n\tcancelFn: action(\"Cancel\"),\n\tsubmitFn: action(\"Submit\"),\n\tisInboundInteropAuthorized: resolvePromiseAsTrue,\n\tisOutboundInteropAuthorized: resolvePromiseAsTrue,\n\taddApp: resolvePromiseErrorNull,\n\tpreloadAliasList: [],\n};\n\nexport const Page = createStory<AppEditPageProps>(AppEditPage, defaultProps);\n\nexport const PageWithIconURL = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tappData: {\n\t\t...defaultAppData,\n\t\ticonURL: \"https://assets.finsemble.com/components/fdc3-workbench/fdc3-icon-256.png\",\n\t},\n});\n\nexport const NativePage = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tstartingAppType: \"native\",\n\tstartingNativePath: \"test.exe\",\n\tappData: defaultAppData,\n});\n\nexport const EmptyPage = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tstartingDisplayName: \"\",\n\tstartingWindowURL: \"\",\n\tvalidateURL: (s: string) => !s.includes(\"invalid\"),\n});\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Appearance.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/Appearance.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAC5D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAe;IACd,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAkB,UAAU,EAAE;IAC5D,UAAU,EAAE,SAAS;IACrB,SAAS;IACT,UAAU;IACV,YAAY,EAAE,GAAG,EAAE;IAEnB,CAAC;IACD,UAAU,EAAE,CAAC,EAAc,EAAE,EAAE;QAC9B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,gBAAgB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC1B,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC3B,oBAAoB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC9B,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC;IACzB,kBAAkB,EAAE,cAAc;IAClC,iBAAiB,EAAE,cAAc;IACjC,iBAAiB,EAAE,cAAc;IACjC,oBAAoB,EAAE,cAAc;IACpC,mBAAmB,EAAE,cAAc;CACnC,CAAC,CAAC","sourcesContent":["import { createStory, uploadFunction } from \"../../common/helpers\";\nimport { Appearance, AppearanceProps } from \"../Appearance\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { darkTheme, lightTheme } from \"../themeDefinitions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/Appearance\",\n\tcomponent: Appearance,\n};\n\nexport const Page = createStory<AppearanceProps>(Appearance, {\n\tstartTheme: darkTheme,\n\tdarkTheme,\n\tlightTheme,\n\tupdateThemes: () => {\n\t\t// console.log(`ID: ${id}, Theme: ${newValue}`);\n\t},\n\tareYouSure: (cb: () => void) => {\n\t\tcb();\n\t},\n\tbaseURL: \"\",\n\ttoolbarIcon: \"\",\n\ttaskbarIcon: \"\",\n\tinstallerIcon: \"\",\n\tsystemTrayIcon: \"\",\n\tsplashScreenImage: \"\",\n\tsetToolbarIcon: () => {},\n\tsetTaskbarIcon: () => {},\n\tsetInstallerIcon: () => {},\n\tsetSystemTrayIcon: () => {},\n\tsetSplashScreenImage: () => {},\n\tsetIconsChanged: () => {},\n\tupdateSplashScreen: uploadFunction,\n\tupdateToolbarIcon: uploadFunction,\n\tupdateTaskbarIcon: uploadFunction,\n\tupdateSystemTrayIcon: uploadFunction,\n\tupdateInstallerIcon: uploadFunction,\n});\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Applications.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/Applications.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAqB,MAAM,iBAAiB,CAAC;AAClE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BA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AAC,EAAE,CAAC;AAEL,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,GAAG,EAAE;IAC9C,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEpC,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAElD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,EAAE,CAAC","sourcesContent":["import React from \"react\";\nimport { Applications, ApplicationsProps } from \"../Applications\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\n\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { getApplicationsArgs } from \"../fixtures/apps\";\nimport { createStore } from \"../../../store\";\n\nexport default {\n\ttitle: \"Views/Applications\",\n\tcomponent: Applications,\n};\n\nconst Template: Story<ApplicationsProps> = (args: ApplicationsProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider store={createStore()}>\n\t\t\t<Applications {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const EmptyApplications = (() => {\n\tconst Component = Template.bind({});\n\n\tComponent.args = getApplicationsArgs(\"empty\");\n\n\treturn Component;\n})();\n\nexport const DefaultApplications = (() => {\n\tconst Component = Template.bind({});\n\n\tComponent.args = getApplicationsArgs(\"default\");\n\n\treturn Component;\n})();\n\nexport const Long = (() => {\n\tconst Component = Template.bind({});\n\n\tComponent.args = getApplicationsArgs(\"long\");\n\n\treturn Component;\n})();\n\nexport const ApplicationsWithTemporary = (() => {\n\tconst Component = Template.bind({});\n\n\tComponent.args = getApplicationsArgs(\"temporary\");\n\n\treturn Component;\n})();\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetsPage.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/AssetsPage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,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AssetsPage, AssetsPageProps } from \"../AssetsPage\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/AssetsPage\",\n\tcomponent: AssetsPage,\n};\n\nexport const Page = createStory<AssetsPageProps>(AssetsPage, {\n\tbaseURL: \"\",\n\ttoolbarIcon: \"\",\n\ttaskbarIcon: \"\",\n\tinstallerIcon: \"\",\n\tsystemTrayIcon: \"\",\n\tsplashScreenImage: \"\",\n\tsetToolbarIcon: (s: string) => {\n\t\tconsole.log(s);\n\t},\n\tsetTaskbarIcon: (s: string) => {\n\t\tconsole.log(s);\n\t},\n\tsetInstallerIcon: (s: string) => {\n\t\tconsole.log(s);\n\t},\n\tsetSystemTrayIcon: (s: string) => {\n\t\tconsole.log(s);\n\t},\n\tsetSplashScreenImage: (s: string) => {\n\t\tconsole.log(s);\n\t},\n\tsetIconsChanged: (n: number) => {\n\t\tconsole.log(n);\n\t},\n\tupdateSplashScreen: uploadFunction,\n\tupdateToolbarIcon: uploadFunction,\n\tupdateTaskbarIcon: uploadFunction,\n\tupdateSystemTrayIcon: uploadFunction,\n\tupdateInstallerIcon: uploadFunction,\n});\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Authentication.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/Authentication.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAC;AACxE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAA0B,MAAM,0CAA0C,CAAC;AAEtG,eAAe;IACd,KAA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../Authentication\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport React from \"react\";\nimport { default_authentication_props } from \"../fixtures/authenticationProps\";\nimport { AuthenticationType, AuthenticationProvider } from \"../../../types/smartDesktopDesignerTypes\";\n\nexport default {\n\ttitle: \"Views/Authentication\",\n\tcomponent: Authentication,\n};\n\nconst Template: Story<AuthenticationProps> = (args: AuthenticationProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider>\n\t\t\t<Authentication {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const Page = Template.bind({});\nPage.args = { ...default_authentication_props };\n\nconst getAuthenticationProviders = (): Promise<AuthenticationProvider[]> =>\n\tnew Promise((resolve) => {\n\t\tresolve([\n\t\t\t{\n\t\t\t\tname: \"Custom\",\n\t\t\t\tenabled: true,\n\t\t\t\ttype: AuthenticationType.OAUTH2,\n\t\t\t\tclient_id: \"\",\n\t\t\t\tsecret: null,\n\t\t\t\tredirect_uri: \"\",\n\t\t\t\tnonce: false,\n\t\t\t},\n\t\t]);\n\t});\n\nexport const OneSelected = Template.bind({});\nOneSelected.args = {\n\t...default_authentication_props,\n\tgetAuthenticationProviders,\n};\n\nexport const AuthError = Template.bind({});\nAuthError.args = {\n\t...default_authentication_props,\n\tgetAuthenticationProviders,\n\ttestAuthenticationProvider: () =>\n\t\tnew Promise((resolve, reject) => {\n\t\t\treject(\"Invalid auth config\");\n\t\t}),\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentHeader.stories.js","sourceRoot":"","sources":["../../../../src/components/sdd/stories/ContentHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAe,MAAM,kBAAkB,CAAC;AAE9D,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,aAAa;CACxB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE,CAAC,oBAAC,aAAa,oBAAK,IAAI,EAAI,CAAC;AAExF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACjB,IAAI,EAAE,eAAe;CACrB,CAAC","sourcesContent":["import React from \"react\";\nimport { ContentHeader, HeaderProps } from \"../ContentHeader\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport \"../../../assets/css/finsemble.css\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/Content Header\",\n\tcomponent: ContentHeader,\n};\n\nconst Template: Story<HeaderProps> = (args: HeaderProps) => <ContentHeader {...args} />;\n\nexport const BasicStory = Template.bind({});\nBasicStory.args = {\n\tname: \"Project Title\",\n};\n"]}