@finsemble/finsemble-ui 6.3.1 → 6.4.0

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 (744) hide show
  1. package/README.md +28 -28
  2. package/package.json +21 -33
  3. package/react/actions/favoriteActions.js.map +1 -1
  4. package/react/actions/linkerActions.js.map +1 -1
  5. package/react/actions/menuActions.js.map +1 -1
  6. package/react/actions/rootActions.js.map +1 -1
  7. package/react/actions/searchActions.js.map +1 -1
  8. package/react/actions/smartDesktopDesignerActions.d.ts +1 -3
  9. package/react/actions/smartDesktopDesignerActions.js +0 -1
  10. package/react/actions/smartDesktopDesignerActions.js.map +1 -1
  11. package/react/actions/toolbarActions.js.map +1 -1
  12. package/react/actions/workspaceActions.js.map +1 -1
  13. package/react/assets/css/advancedAppLauncher.css +636 -636
  14. package/react/assets/css/appCatalog.css +1069 -1069
  15. package/react/assets/css/authentication.css +78 -78
  16. package/react/assets/css/button.css +220 -220
  17. package/react/assets/css/core/formElements.css +23 -23
  18. package/react/assets/css/core/icons.css +69 -69
  19. package/react/assets/css/core/notifications.css +75 -75
  20. package/react/assets/css/core/windowFrame.css +36 -36
  21. package/react/assets/css/dashbar.css +78 -78
  22. package/react/assets/css/defaultTheme.css +356 -356
  23. package/react/assets/css/dialogs.css +158 -158
  24. package/react/assets/css/favorites.css +101 -101
  25. package/react/assets/css/finsemble.css +38 -38
  26. package/react/assets/css/focus.css +4 -4
  27. package/react/assets/css/font-finance.css +385 -385
  28. package/react/assets/css/fonts/Open_Sans/LICENSE.txt +202 -202
  29. package/react/assets/css/fonts/Open_Sans/OpenSans-Definition.css +118 -118
  30. package/react/assets/css/fonts/font-finance.svg +124 -124
  31. package/react/assets/css/fonts/icons-reference.html +1174 -1174
  32. package/react/assets/css/linkerWindow.css +124 -124
  33. package/react/assets/css/menus.css +195 -195
  34. package/react/assets/css/notificationsCenter.css +597 -597
  35. package/react/assets/css/processMonitor.css +213 -213
  36. package/react/assets/css/search.css +128 -128
  37. package/react/assets/css/shared/animations.css +99 -99
  38. package/react/assets/css/tags.css +136 -136
  39. package/react/assets/css/toolbar.css +413 -413
  40. package/react/assets/css/userPreferences.css +538 -568
  41. package/react/assets/css/windowTitleBar.css +653 -652
  42. package/react/assets/icons/always-on-top.svg +20 -0
  43. package/react/assets/icons/caret.svg +7 -0
  44. package/react/assets/icons/check-square.svg +5 -5
  45. package/react/assets/icons/check.svg +3 -3
  46. package/react/assets/icons/chevron-left.svg +3 -3
  47. package/react/assets/icons/chevron-right.svg +3 -3
  48. package/react/assets/icons/close.svg +11 -0
  49. package/react/assets/icons/copy.svg +10 -10
  50. package/react/assets/icons/documentation.svg +20 -0
  51. package/react/assets/icons/exclamation-circle.svg +4 -4
  52. package/react/assets/icons/external-link.svg +12 -12
  53. package/react/assets/icons/flag.svg +10 -10
  54. package/react/assets/icons/folder.svg +3 -3
  55. package/react/assets/icons/font.svg +3 -3
  56. package/react/assets/icons/globe.svg +3 -3
  57. package/react/assets/icons/hdd.svg +9 -9
  58. package/react/assets/icons/key.svg +10 -10
  59. package/react/assets/icons/life-ring.svg +3 -3
  60. package/react/assets/icons/linker.svg +18 -0
  61. package/react/assets/icons/lock.svg +5 -5
  62. package/react/assets/icons/magic.svg +15 -15
  63. package/react/assets/icons/maximize.svg +16 -0
  64. package/react/assets/icons/minimize.svg +15 -0
  65. package/react/assets/icons/moon.svg +10 -10
  66. package/react/assets/icons/paint-roller.svg +3 -3
  67. package/react/assets/icons/pencil.svg +10 -10
  68. package/react/assets/icons/plus.svg +3 -3
  69. package/react/assets/icons/question-circle.svg +5 -5
  70. package/react/assets/icons/search.svg +3 -3
  71. package/react/assets/icons/sun.svg +9 -9
  72. package/react/assets/icons/times.svg +3 -3
  73. package/react/assets/icons/toggle-off.svg +6 -6
  74. package/react/assets/icons/toggle-on.svg +6 -6
  75. package/react/assets/icons/toolbar.svg +12 -0
  76. package/react/assets/icons/tools.svg +3 -3
  77. package/react/assets/icons/trash.svg +12 -12
  78. package/react/assets/icons/upload.svg +10 -10
  79. package/react/assets/icons/window.svg +3 -3
  80. package/react/assets/img/finsemble-display.png +0 -0
  81. package/react/componentTemplateGenerator.js +85 -85
  82. package/react/componentTemplateGenerator.js.map +1 -1
  83. package/react/components/FinsembleProvider.js.map +1 -1
  84. package/react/components/appCatalog/AppCatalog.js.map +1 -1
  85. package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
  86. package/react/components/appCatalog/components/AppCard.js.map +1 -1
  87. package/react/components/appCatalog/components/AppList.js.map +1 -1
  88. package/react/components/appCatalog/components/AppResults.js.map +1 -1
  89. package/react/components/appCatalog/components/Carousel.js.map +1 -1
  90. package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
  91. package/react/components/appCatalog/components/Hero.js.map +1 -1
  92. package/react/components/appCatalog/components/Home.js.map +1 -1
  93. package/react/components/appCatalog/components/SearchBar.js.map +1 -1
  94. package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
  95. package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
  96. package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
  97. package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
  98. package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -1
  99. package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
  100. package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -1
  101. package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -1
  102. package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -1
  103. package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -1
  104. package/react/components/appCatalog/components/Tag.js.map +1 -1
  105. package/react/components/appCatalog/components/Toast.js.map +1 -1
  106. package/react/components/appCatalog/components/helpers.js.map +1 -1
  107. package/react/components/appCatalog/index.js.map +1 -1
  108. package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
  109. package/react/components/appCatalog/modules/FDC3.js.map +1 -1
  110. package/react/components/appCatalog/stores/appStore.js.map +1 -1
  111. package/react/components/appCatalog/stores/storeActions.js.map +1 -1
  112. package/react/components/common/Accordion.d.ts +11 -0
  113. package/react/components/common/Accordion.js +20 -0
  114. package/react/components/common/Accordion.js.map +1 -0
  115. package/react/components/common/Button.js.map +1 -1
  116. package/react/components/common/ButtonIcon.js.map +1 -1
  117. package/react/components/common/ButtonRow.js.map +1 -1
  118. package/react/components/common/ButtonTile.js.map +1 -1
  119. package/react/components/common/Checkbox.d.ts +1 -0
  120. package/react/components/common/Checkbox.js +3 -1
  121. package/react/components/common/Checkbox.js.map +1 -1
  122. package/react/components/common/ColorPicker.js.map +1 -1
  123. package/react/components/common/DropZone.js.map +1 -1
  124. package/react/components/common/DropdownButton.js.map +1 -1
  125. package/react/components/common/FileInput.d.ts +2 -1
  126. package/react/components/common/FileInput.js +9 -4
  127. package/react/components/common/FileInput.js.map +1 -1
  128. package/react/components/common/FinsembleIcon.d.ts +1 -1
  129. package/react/components/common/FinsembleIcon.js +16 -0
  130. package/react/components/common/FinsembleIcon.js.map +1 -1
  131. package/react/components/common/FinsembleSelect.js.map +1 -1
  132. package/react/components/common/FinsembleToggle.js.map +1 -1
  133. package/react/components/common/Header.js +1 -1
  134. package/react/components/common/Header.js.map +1 -1
  135. package/react/components/common/ImagePreview.js.map +1 -1
  136. package/react/components/common/InputTable.d.ts +11 -0
  137. package/react/components/common/InputTable.js +50 -0
  138. package/react/components/common/InputTable.js.map +1 -0
  139. package/react/components/common/LoadingSpinner.js.map +1 -1
  140. package/react/components/common/Tab.js.map +1 -1
  141. package/react/components/common/Tooltip.js.map +1 -1
  142. package/react/components/common/css/accordion.css +99 -0
  143. package/react/components/common/css/application-edit-page.css +324 -117
  144. package/react/components/common/css/application-list.css +49 -47
  145. package/react/components/common/css/button.css +166 -164
  146. package/react/components/common/css/checkbox.css +30 -0
  147. package/react/components/common/css/color-picker.css +52 -52
  148. package/react/components/common/css/drop-zone.css +17 -17
  149. package/react/components/common/css/file-input.css +65 -49
  150. package/react/components/common/css/header.css +30 -43
  151. package/react/components/common/css/icon.css +13 -13
  152. package/react/components/common/css/image-preview.css +57 -57
  153. package/react/components/common/css/loading-spinner.css +39 -39
  154. package/react/components/common/css/selector.css +51 -51
  155. package/react/components/common/css/styles.css +127 -128
  156. package/react/components/common/css/tab.css +56 -56
  157. package/react/components/common/css/toggle.css +32 -32
  158. package/react/components/common/css/tooltip.css +78 -78
  159. package/react/components/common/file_helpers.js.map +1 -1
  160. package/react/components/common/fixtures/FinsembleIcon.css +4 -4
  161. package/react/components/common/helpers.js.map +1 -1
  162. package/react/components/common/stories/Accordion.stories.d.ts +14 -0
  163. package/react/components/common/stories/Accordion.stories.js +42 -0
  164. package/react/components/common/stories/Accordion.stories.js.map +1 -0
  165. package/react/components/common/stories/Button.stories.js.map +1 -1
  166. package/react/components/common/stories/ButtonIcon.stories.js.map +1 -1
  167. package/react/components/common/stories/ButtonRow.stories.js.map +1 -1
  168. package/react/components/common/stories/ButtonTile.stories.js.map +1 -1
  169. package/react/components/common/stories/Checkbox.stories.js.map +1 -1
  170. package/react/components/common/stories/ColorPicker.stories.js.map +1 -1
  171. package/react/components/common/stories/DropZone.stories.js.map +1 -1
  172. package/react/components/common/stories/DropdownButton.stories.d.ts +11 -0
  173. package/react/components/common/stories/DropdownButton.stories.js +12 -0
  174. package/react/components/common/stories/DropdownButton.stories.js.map +1 -1
  175. package/react/components/common/stories/FileInput.stories.d.ts +2 -1
  176. package/react/components/common/stories/FileInput.stories.js +6 -0
  177. package/react/components/common/stories/FileInput.stories.js.map +1 -1
  178. package/react/components/common/stories/FinsembleIcon.stories.js +1 -0
  179. package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -1
  180. package/react/components/common/stories/FinsembleSelect.stories.js.map +1 -1
  181. package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -1
  182. package/react/components/common/stories/Header.stories.js.map +1 -1
  183. package/react/components/common/stories/ImagePreview.stories.js.map +1 -1
  184. package/react/components/common/stories/InputTable.stories.d.ts +12 -0
  185. package/react/components/common/stories/InputTable.stories.js +35 -0
  186. package/react/components/common/stories/InputTable.stories.js.map +1 -0
  187. package/react/components/common/stories/LoadingSpinner.stories.js.map +1 -1
  188. package/react/components/common/stories/Tab.stories.js.map +1 -1
  189. package/react/components/common/stories/Tooltip.stories.js.map +1 -1
  190. package/react/components/{smartDesktopDesigner/tests/ApplicationEdit.spec.d.ts → common/tests/Accordion.spec.d.ts} +0 -0
  191. package/react/components/common/tests/Accordion.spec.js +53 -0
  192. package/react/components/common/tests/Accordion.spec.js.map +1 -0
  193. package/react/components/common/tests/ButtonRow.spec.js.map +1 -1
  194. package/react/components/common/tests/Checkbox.spec.js +5 -3
  195. package/react/components/common/tests/Checkbox.spec.js.map +1 -1
  196. package/react/components/common/tests/ColorPicker.spec.js.map +1 -1
  197. package/react/components/common/tests/DropZone.spec.js.map +1 -1
  198. package/react/components/common/tests/FileInput.spec.js +20 -5
  199. package/react/components/common/tests/FileInput.spec.js.map +1 -1
  200. package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -1
  201. package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -1
  202. package/react/components/common/tests/Header.spec.js +6 -2
  203. package/react/components/common/tests/Header.spec.js.map +1 -1
  204. package/react/components/common/tests/ImagePreview.spec.js.map +1 -1
  205. package/react/components/{smartDesktopDesigner/tests/ApplicationSetup.spec.d.ts → common/tests/InputTable.spec.d.ts} +0 -0
  206. package/react/components/common/tests/InputTable.spec.js +166 -0
  207. package/react/components/common/tests/InputTable.spec.js.map +1 -0
  208. package/react/components/common/tests/Tab.spec.js.map +1 -1
  209. package/react/components/common/tests/Tooltip.spec.js.map +1 -1
  210. package/react/components/favorites/FavoriteMaker.js.map +1 -1
  211. package/react/components/favorites/FavoritesShell.js.map +1 -1
  212. package/react/components/favorites/FavoritesShell.spec.js.map +1 -1
  213. package/react/components/favorites/FavoritesShell.stories.js.map +1 -1
  214. package/react/components/favorites/index.js.map +1 -1
  215. package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
  216. package/react/components/fdc3Resolver/ResolverDialog.css +126 -126
  217. package/react/components/fdc3Resolver/ResolverDialog.js +1 -1
  218. package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
  219. package/react/components/fdc3Resolver/ResolverDialog.spec.js +1 -1
  220. package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
  221. package/react/components/fdc3Resolver/ResolverDialog.stories.js +13 -0
  222. package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -1
  223. package/react/components/icon/Icon.js.map +1 -1
  224. package/react/components/icon/index.js.map +1 -1
  225. package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
  226. package/react/components/legacyControls/FinsembleDialogButton.js +1 -1
  227. package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
  228. package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
  229. package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
  230. package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
  231. package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
  232. package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -1
  233. package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -1
  234. package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +1 -1
  235. package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +1 -1
  236. package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +1 -1
  237. package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +1 -1
  238. package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +1 -1
  239. package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -1
  240. package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +1 -1
  241. package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -1
  242. package/react/components/linker/LinkerMenu.js.map +1 -1
  243. package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
  244. package/react/components/linker/index.js.map +1 -1
  245. package/react/components/linker/remoteRedux.js.map +1 -1
  246. package/react/components/menu/Menu.d.ts +1 -0
  247. package/react/components/menu/Menu.js.map +1 -1
  248. package/react/components/menu/MenuAutoResizer.d.ts +2 -1
  249. package/react/components/menu/MenuAutoResizer.js +4 -3
  250. package/react/components/menu/MenuAutoResizer.js.map +1 -1
  251. package/react/components/menu/MenuContent.js.map +1 -1
  252. package/react/components/menu/MenuHotKey.js.map +1 -1
  253. package/react/components/menu/MenuItem.js.map +1 -1
  254. package/react/components/menu/MenuPortal.js +99 -92
  255. package/react/components/menu/MenuPortal.js.map +1 -1
  256. package/react/components/menu/MenuShell.d.ts +1 -0
  257. package/react/components/menu/MenuShell.js +3 -2
  258. package/react/components/menu/MenuShell.js.map +1 -1
  259. package/react/components/menu/MenuToggle.js.map +1 -1
  260. package/react/components/menu/index.js.map +1 -1
  261. package/react/components/menu/keyboardNavigation.js.map +1 -1
  262. package/react/components/menu/menuContext.d.ts +1 -0
  263. package/react/components/menu/menuContext.js.map +1 -1
  264. package/react/components/menu/menuHelpers.d.ts +1 -1
  265. package/react/components/menu/menuHelpers.js +2 -2
  266. package/react/components/menu/menuHelpers.js.map +1 -1
  267. package/react/components/notifications/components/NoNotifications.js.map +1 -1
  268. package/react/components/notifications/components/drawer/Drawer.js.map +1 -1
  269. package/react/components/notifications/components/drawer/DrawerControls.js +30 -6
  270. package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
  271. package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
  272. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +2 -0
  273. package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
  274. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +20 -27
  275. package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
  276. package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
  277. package/react/components/notifications/components/shared/IconButton.js +5 -1
  278. package/react/components/notifications/components/shared/IconButton.js.map +1 -1
  279. package/react/components/notifications/components/shared/NotificationCardShell.js +1 -1
  280. package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
  281. package/react/components/notifications/components/shared/OverflowMenu.js +5 -1
  282. package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
  283. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
  284. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -1
  285. package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
  286. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
  287. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -1
  288. package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
  289. package/react/components/notifications/components/views/CardView.js.map +1 -1
  290. package/react/components/notifications/components/views/ListView.js +1 -1
  291. package/react/components/notifications/components/views/ListView.js.map +1 -1
  292. package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
  293. package/react/components/notifications/constants.js.map +1 -1
  294. package/react/components/notifications/icons/Card.js.map +1 -1
  295. package/react/components/notifications/icons/Chevron.js.map +1 -1
  296. package/react/components/notifications/icons/CloseIcon.js.map +1 -1
  297. package/react/components/notifications/icons/EnvelopeClose.js.map +1 -1
  298. package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -1
  299. package/react/components/notifications/icons/SnoozeIcon.js.map +1 -1
  300. package/react/components/notifications/index.js.map +1 -1
  301. package/react/components/notifications/notificationsContext.js.map +1 -1
  302. package/react/components/notifications/types.js.map +1 -1
  303. package/react/components/notifications/utils.js.map +1 -1
  304. package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
  305. package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
  306. package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
  307. package/react/components/processMonitor/components/ListHeader.js.map +1 -1
  308. package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
  309. package/react/components/processMonitor/constants.js.map +1 -1
  310. package/react/components/processMonitor/helpers.js.map +1 -1
  311. package/react/components/processMonitor/helpers.spec.js.map +1 -1
  312. package/react/components/processMonitor/index.js.map +1 -1
  313. package/react/components/processMonitor/stores/ProcessMonitorStore.js +49 -49
  314. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  315. package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
  316. package/react/components/quickComponentForm/index.js.map +1 -1
  317. package/react/components/quickComponentForm/quickComponent.css +3 -3
  318. package/react/components/search/Highlight.js.map +1 -1
  319. package/react/components/search/Highlight.spec.js.map +1 -1
  320. package/react/components/search/Highlight.stories.js.map +1 -1
  321. package/react/components/search/Search.js.map +1 -1
  322. package/react/components/search/SearchBestMatch.js.map +1 -1
  323. package/react/components/search/SearchInput.js.map +1 -1
  324. package/react/components/search/SearchProviderResults.js.map +1 -1
  325. package/react/components/search/SearchResult.js.map +1 -1
  326. package/react/components/search/SearchResults.js.map +1 -1
  327. package/react/components/search/index.js.map +1 -1
  328. package/react/components/shared/Animate.js.map +1 -1
  329. package/react/components/shared/BellIcon.js.map +1 -1
  330. package/react/components/shared/BellIconCrossed.js.map +1 -1
  331. package/react/components/shared/Button.js.map +1 -1
  332. package/react/components/shared/ConditionalWrapper.js.map +1 -1
  333. package/react/components/shared/DefaultDropdownButton.js +1 -1
  334. package/react/components/shared/DefaultDropdownButton.js.map +1 -1
  335. package/react/components/shared/NavigationButton.js.map +1 -1
  336. package/react/components/shared/Tag.js.map +1 -1
  337. package/react/components/shared/TagsMenu.js.map +1 -1
  338. package/react/components/shared/addProtocolToValidURL.js.map +1 -1
  339. package/react/components/shared/linkerUtil.js.map +1 -1
  340. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  341. package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -1
  342. package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -1
  343. package/react/components/shared/validateURL.js.map +1 -1
  344. package/react/components/shared/validateURL.spec.js.map +1 -1
  345. package/react/components/singleInputDialog/SingleInputDialog.css +3 -3
  346. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  347. package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -1
  348. package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -1
  349. package/react/components/singleInputDialog/index.js.map +1 -1
  350. package/react/components/smartDesktopDesigner/AddApp.d.ts +14 -0
  351. package/react/components/smartDesktopDesigner/AddApp.js +60 -0
  352. package/react/components/smartDesktopDesigner/AddApp.js.map +1 -0
  353. package/react/components/smartDesktopDesigner/AppEditAccess.js +16 -32
  354. package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
  355. package/react/components/smartDesktopDesigner/AppEditPage.d.ts +5 -19
  356. package/react/components/smartDesktopDesigner/AppEditPage.js +548 -59
  357. package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
  358. package/react/components/smartDesktopDesigner/Appearance.css +27 -94
  359. package/react/components/smartDesktopDesigner/Appearance.helpers.js.map +1 -1
  360. package/react/components/smartDesktopDesigner/Appearance.js +1 -1
  361. package/react/components/smartDesktopDesigner/Appearance.js.map +1 -1
  362. package/react/components/smartDesktopDesigner/Application.d.ts +1 -0
  363. package/react/components/smartDesktopDesigner/Application.js +151 -93
  364. package/react/components/smartDesktopDesigner/Application.js.map +1 -1
  365. package/react/components/smartDesktopDesigner/ApplicationList.d.ts +2 -1
  366. package/react/components/smartDesktopDesigner/ApplicationList.js +7 -3
  367. package/react/components/smartDesktopDesigner/ApplicationList.js.map +1 -1
  368. package/react/components/smartDesktopDesigner/Applications.d.ts +0 -3
  369. package/react/components/smartDesktopDesigner/Applications.js +52 -102
  370. package/react/components/smartDesktopDesigner/Applications.js.map +1 -1
  371. package/react/components/smartDesktopDesigner/AssetsPage.css +26 -26
  372. package/react/components/smartDesktopDesigner/AssetsPage.js.map +1 -1
  373. package/react/components/smartDesktopDesigner/Authentication.js +2 -9
  374. package/react/components/smartDesktopDesigner/Authentication.js.map +1 -1
  375. package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js +8 -1
  376. package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +1 -1
  377. package/react/components/smartDesktopDesigner/Content.js.map +1 -1
  378. package/react/components/smartDesktopDesigner/ContentHeader.d.ts +5 -0
  379. package/react/components/smartDesktopDesigner/ContentHeader.js +10 -0
  380. package/react/components/smartDesktopDesigner/ContentHeader.js.map +1 -0
  381. package/react/components/smartDesktopDesigner/CurrentView.js +2 -1
  382. package/react/components/smartDesktopDesigner/CurrentView.js.map +1 -1
  383. package/react/components/smartDesktopDesigner/Export.d.ts +1 -0
  384. package/react/components/smartDesktopDesigner/Export.js +40 -9
  385. package/react/components/smartDesktopDesigner/Export.js.map +1 -1
  386. package/react/components/smartDesktopDesigner/ExportCloud.d.ts +3 -1
  387. package/react/components/smartDesktopDesigner/ExportCloud.js +4 -6
  388. package/react/components/smartDesktopDesigner/ExportCloud.js.map +1 -1
  389. package/react/components/smartDesktopDesigner/ExportDeployInfo.js.map +1 -1
  390. package/react/components/smartDesktopDesigner/ExportZip.d.ts +3 -1
  391. package/react/components/smartDesktopDesigner/ExportZip.js +8 -3
  392. package/react/components/smartDesktopDesigner/ExportZip.js.map +1 -1
  393. package/react/components/smartDesktopDesigner/GettingStarted.d.ts +1 -0
  394. package/react/components/smartDesktopDesigner/GettingStarted.js +11 -25
  395. package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
  396. package/react/components/smartDesktopDesigner/Navigation.d.ts +2 -2
  397. package/react/components/smartDesktopDesigner/Navigation.js +17 -15
  398. package/react/components/smartDesktopDesigner/Navigation.js.map +1 -1
  399. package/react/components/smartDesktopDesigner/ProjectErrors.js.map +1 -1
  400. package/react/components/smartDesktopDesigner/Publish.js.map +1 -1
  401. package/react/components/smartDesktopDesigner/PublishProgress.js.map +1 -1
  402. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +3 -3
  403. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +11 -17
  404. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
  405. package/react/components/smartDesktopDesigner/ThemePage.css +109 -110
  406. package/react/components/smartDesktopDesigner/ThemePage.js +0 -7
  407. package/react/components/smartDesktopDesigner/ThemePage.js.map +1 -1
  408. package/react/components/smartDesktopDesigner/Themes.js +0 -2
  409. package/react/components/smartDesktopDesigner/Themes.js.map +1 -1
  410. package/react/components/smartDesktopDesigner/Toolbar.d.ts +15 -0
  411. package/react/components/smartDesktopDesigner/Toolbar.js +123 -0
  412. package/react/components/smartDesktopDesigner/Toolbar.js.map +1 -0
  413. package/react/components/smartDesktopDesigner/View.js +1 -1
  414. package/react/components/smartDesktopDesigner/View.js.map +1 -1
  415. package/react/components/smartDesktopDesigner/common/fsbl_functions.d.ts +1 -1
  416. package/react/components/smartDesktopDesigner/common/fsbl_functions.js +2 -2
  417. package/react/components/smartDesktopDesigner/common/fsbl_functions.js.map +1 -1
  418. package/react/components/smartDesktopDesigner/common/getCSSVars.js.map +1 -1
  419. package/react/components/smartDesktopDesigner/common/views.d.ts +2 -36
  420. package/react/components/smartDesktopDesigner/common/views.js +150 -111
  421. package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
  422. package/react/components/smartDesktopDesigner/css/appearance.css +18 -10
  423. package/react/components/smartDesktopDesigner/css/applications.css +167 -127
  424. package/react/components/smartDesktopDesigner/css/authentication.css +119 -125
  425. package/react/components/smartDesktopDesigner/css/buttons.css +12 -12
  426. package/react/components/smartDesktopDesigner/css/export.css +176 -163
  427. package/react/components/smartDesktopDesigner/css/getting-started.css +28 -6
  428. package/react/components/smartDesktopDesigner/css/nav.css +120 -93
  429. package/react/components/smartDesktopDesigner/css/project-errors.css +15 -15
  430. package/react/components/smartDesktopDesigner/css/project-header.css +124 -121
  431. package/react/components/smartDesktopDesigner/css/styles.css +178 -179
  432. package/react/components/smartDesktopDesigner/css/views.css +23 -16
  433. package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +2 -0
  434. package/react/components/smartDesktopDesigner/fixtures/apps.js +41 -6
  435. package/react/components/smartDesktopDesigner/fixtures/apps.js.map +1 -1
  436. package/react/components/smartDesktopDesigner/fixtures/authenticationProps.js.map +1 -1
  437. package/react/components/smartDesktopDesigner/fixtures/configTemplate.js.map +1 -1
  438. package/react/components/smartDesktopDesigner/fixtures/exportProps.js +3 -0
  439. package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +1 -1
  440. package/react/components/smartDesktopDesigner/fixtures/projectErrorsProps.js.map +1 -1
  441. package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +1 -1
  442. package/react/components/smartDesktopDesigner/fixtures/themeProps.js.map +1 -1
  443. package/react/components/smartDesktopDesigner/fixtures/views.d.ts +2 -2
  444. package/react/components/smartDesktopDesigner/fixtures/views.js +58 -26
  445. package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
  446. package/react/components/smartDesktopDesigner/sdd_helpers.d.ts +1 -1
  447. package/react/components/smartDesktopDesigner/sdd_helpers.js +4 -3
  448. package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
  449. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +3 -1
  450. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +12 -33
  451. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +1 -1
  452. package/react/components/smartDesktopDesigner/stories/Appearance.stories.js.map +1 -1
  453. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +2 -1
  454. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js +8 -1
  455. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +1 -1
  456. package/react/components/smartDesktopDesigner/stories/Applications.stories.js.map +1 -1
  457. package/react/components/smartDesktopDesigner/stories/AssetsPage.stories.js.map +1 -1
  458. package/react/components/smartDesktopDesigner/stories/Authentication.stories.js.map +1 -1
  459. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.d.ts +10 -0
  460. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js +13 -0
  461. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js.map +1 -0
  462. package/react/components/smartDesktopDesigner/stories/Export.stories.js.map +1 -1
  463. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.d.ts +1 -1
  464. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js +1 -1
  465. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +1 -1
  466. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.d.ts +1 -1
  467. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js +1 -1
  468. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +1 -1
  469. package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js.map +1 -1
  470. package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +1 -1
  471. package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js.map +1 -1
  472. package/react/components/smartDesktopDesigner/stories/Publish.stories.js.map +1 -1
  473. package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js.map +1 -1
  474. package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js +7 -1
  475. package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +1 -1
  476. package/react/components/smartDesktopDesigner/stories/ThemePage.stories.js.map +1 -1
  477. package/react/components/smartDesktopDesigner/stories/Themes.stories.js.map +1 -1
  478. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.d.ts +14 -0
  479. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js +38 -0
  480. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js.map +1 -0
  481. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +73 -122
  482. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
  483. package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +1 -1
  484. package/react/components/smartDesktopDesigner/tests/Applications.spec.d.ts +1 -1
  485. package/react/components/smartDesktopDesigner/tests/Applications.spec.js +61 -560
  486. package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +1 -1
  487. package/react/components/smartDesktopDesigner/tests/Authentication.spec.js.map +1 -1
  488. package/react/components/smartDesktopDesigner/tests/{ProjectHeader.spec.d.ts → ContentHeader.spec.d.ts} +0 -0
  489. package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js +31 -0
  490. package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js.map +1 -0
  491. package/react/components/smartDesktopDesigner/tests/Export.spec.js +129 -0
  492. package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +1 -1
  493. package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js +7 -0
  494. package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +1 -1
  495. package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +1 -1
  496. package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +3 -14
  497. package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +1 -1
  498. package/react/components/smartDesktopDesigner/tests/Publish.spec.js.map +1 -1
  499. package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js.map +1 -1
  500. package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js +2 -31
  501. package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +1 -1
  502. package/react/components/smartDesktopDesigner/tests/Themes.spec.js.map +1 -1
  503. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.d.ts +1 -0
  504. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js +203 -0
  505. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +1 -0
  506. package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +1 -1
  507. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.d.ts +1 -0
  508. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js +18 -0
  509. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +1 -0
  510. package/react/components/smartDesktopDesigner/themeDefinitions.js.map +1 -1
  511. package/react/components/system/System.js.map +1 -1
  512. package/react/components/system/System.spec.js.map +1 -1
  513. package/react/components/system/System.stories.js.map +1 -1
  514. package/react/components/system/SystemTrayComponentShell.js.map +1 -1
  515. package/react/components/system/index.js.map +1 -1
  516. package/react/components/toolbar/AutoArrange.js.map +1 -1
  517. package/react/components/toolbar/DragHandle.js.map +1 -1
  518. package/react/components/toolbar/MinimizeAll.js.map +1 -1
  519. package/react/components/toolbar/MinimizeAll.spec.js.map +1 -1
  520. package/react/components/toolbar/MinimizeAll.stories.js.map +1 -1
  521. package/react/components/toolbar/NotificationControl.js.map +1 -1
  522. package/react/components/toolbar/RevealAll.js.map +1 -1
  523. package/react/components/toolbar/RevealAll.spec.js.map +1 -1
  524. package/react/components/toolbar/RevealAll.stories.js.map +1 -1
  525. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  526. package/react/components/toolbar/ToolbarSection.js.map +1 -1
  527. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  528. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
  529. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
  530. package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
  531. package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
  532. package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
  533. package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
  534. package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
  535. package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
  536. package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
  537. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +47 -45
  538. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
  539. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  540. package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
  541. package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
  542. package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
  543. package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
  544. package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -1
  545. package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
  546. package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
  547. package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
  548. package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
  549. package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
  550. package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
  551. package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
  552. package/react/components/toolbar/appLauncher/DynamicAppLauncher.js.map +1 -1
  553. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +1 -0
  554. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
  555. package/react/components/toolbar/appLauncher/appLauncher.css +30 -30
  556. package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
  557. package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +1 -0
  558. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +17 -34
  559. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
  560. package/react/components/toolbar/dashbar/Dashbar.js +3 -1
  561. package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
  562. package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
  563. package/react/components/toolbar/index.js.map +1 -1
  564. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +1 -1
  565. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
  566. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +1 -1
  567. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
  568. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
  569. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +1 -1
  570. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
  571. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +1 -1
  572. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
  573. package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +90 -90
  574. package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
  575. package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -1
  576. package/react/components/userPreferences/UserPreferences.js.map +1 -1
  577. package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
  578. package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
  579. package/react/components/userPreferences/components/ContentSection.js.map +1 -1
  580. package/react/components/userPreferences/components/LeftNav.js.map +1 -1
  581. package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
  582. package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -1
  583. package/react/components/userPreferences/components/content/General.js.map +1 -1
  584. package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
  585. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  586. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
  587. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  588. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  589. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
  590. package/react/components/userPreferences/components/general/ScheduledRestart.js.map +1 -1
  591. package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
  592. package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
  593. package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
  594. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
  595. package/react/components/userPreferences/index.js.map +1 -1
  596. package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
  597. package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +1 -1
  598. package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +1 -1
  599. package/react/components/userPreferences/stories/General.stories.js.map +1 -1
  600. package/react/components/userPreferences/stories/Notifications.stories.js.map +1 -1
  601. package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -1
  602. package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -1
  603. package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -1
  604. package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -1
  605. package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +1 -1
  606. package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +1 -1
  607. package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +1 -1
  608. package/react/components/userPreferences/stories/Workspaces.stories.js.map +1 -1
  609. package/react/components/userPreferences/tests/ContentSection.spec.js.map +1 -1
  610. package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +1 -1
  611. package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +1 -1
  612. package/react/components/userPreferences/tests/General.spec.js.map +1 -1
  613. package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -1
  614. package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +1 -1
  615. package/react/components/userPreferences/tests/Notifications.spec.js.map +1 -1
  616. package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -1
  617. package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +1 -1
  618. package/react/components/userPreferences/tests/ScheduledRestart.spec.js +1 -1
  619. package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
  620. package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +1 -1
  621. package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +1 -1
  622. package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +1 -1
  623. package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +1 -1
  624. package/react/components/utils.js.map +1 -1
  625. package/react/components/windowTitleBar/WindowTitleBarShell.js +8 -1
  626. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  627. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -1
  628. package/react/components/windowTitleBar/components/center/Tab.js +2 -2
  629. package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
  630. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -1
  631. package/react/components/windowTitleBar/components/center/TabList.js +16 -79
  632. package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
  633. package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -1
  634. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
  635. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -1
  636. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
  637. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -1
  638. package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -1
  639. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -1
  640. package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
  641. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
  642. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +7 -0
  643. package/react/components/windowTitleBar/components/right/MaximizeButton.js +11 -1
  644. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
  645. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
  646. package/react/components/windowTitleBar/components/windowTitle.d.ts +6 -5
  647. package/react/components/windowTitleBar/components/windowTitle.js +143 -35
  648. package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
  649. package/react/components/windowTitleBar/index.js.map +1 -1
  650. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +5 -1
  651. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
  652. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -1
  653. package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -1
  654. package/react/components/yesNoDialog/Timer.spec.js.map +1 -1
  655. package/react/components/yesNoDialog/Timer.stories.js.map +1 -1
  656. package/react/components/yesNoDialog/YesNoDialog.css +3 -3
  657. package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
  658. package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
  659. package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -1
  660. package/react/components/yesNoDialog/index.js.map +1 -1
  661. package/react/components/yesNoDialog/timer.js.map +1 -1
  662. package/react/enzymeSetup.js +1 -1
  663. package/react/enzymeSetup.js.map +1 -1
  664. package/react/hooks/index.js.map +1 -1
  665. package/react/hooks/useAuth.js.map +1 -1
  666. package/react/hooks/useDashbar.d.ts +8 -0
  667. package/react/hooks/useDashbar.js +104 -0
  668. package/react/hooks/useDashbar.js.map +1 -0
  669. package/react/hooks/useDeepEffect.js.map +1 -1
  670. package/react/hooks/useFavorites.js.map +1 -1
  671. package/react/hooks/useFavoritesShell.js.map +1 -1
  672. package/react/hooks/useHotkey.js.map +1 -1
  673. package/react/hooks/useLinker.js.map +1 -1
  674. package/react/hooks/useMenu.js.map +1 -1
  675. package/react/hooks/useNotifications.js.map +1 -1
  676. package/react/hooks/useOutsideClickDetector.js.map +1 -1
  677. package/react/hooks/usePubSub.js.map +1 -1
  678. package/react/hooks/useSearch.js.map +1 -1
  679. package/react/hooks/useToolbar.d.ts +0 -6
  680. package/react/hooks/useToolbar.js +0 -101
  681. package/react/hooks/useToolbar.js.map +1 -1
  682. package/react/hooks/useWorkspace.js.map +1 -1
  683. package/react/reducers/favoriteReducer.js.map +1 -1
  684. package/react/reducers/linkerReducer.js.map +1 -1
  685. package/react/reducers/menuReducer.js.map +1 -1
  686. package/react/reducers/rootReducer.d.ts +0 -4
  687. package/react/reducers/rootReducer.js.map +1 -1
  688. package/react/reducers/searchReducer.js.map +1 -1
  689. package/react/reducers/smartDesktopDesignerReducer.js +0 -3
  690. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  691. package/react/reducers/toolbarReducer.js.map +1 -1
  692. package/react/reducers/workspaceReducer.js.map +1 -1
  693. package/react/store.d.ts +0 -8
  694. package/react/store.js.map +1 -1
  695. package/react/types/advancedAppLauncherTypes.js.map +1 -1
  696. package/react/types/dashbarTypes.js.map +1 -1
  697. package/react/types/favoriteTypes.js.map +1 -1
  698. package/react/types/fdc3.d.ts +7 -35
  699. package/react/types/fdc3.js.map +1 -1
  700. package/react/types/hotkeyTypes.js.map +1 -1
  701. package/react/types/iconTypes.js.map +1 -1
  702. package/react/types/linkerTypes.js.map +1 -1
  703. package/react/types/searchTypes.js.map +1 -1
  704. package/react/types/smartDesktopDesignerTypes.d.ts +45 -5
  705. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  706. package/react/types/windowTitleBar.d.ts +4 -2
  707. package/react/types/windowTitleBar.js.map +1 -1
  708. package/react/types/workspaceTypes.js.map +1 -1
  709. package/react/components/common/FontSizeSelector.d.ts +0 -7
  710. package/react/components/common/FontSizeSelector.js +0 -42
  711. package/react/components/common/FontSizeSelector.js.map +0 -1
  712. package/react/components/common/stories/FontSizeSelector.stories.d.ts +0 -12
  713. package/react/components/common/stories/FontSizeSelector.stories.js +0 -24
  714. package/react/components/common/stories/FontSizeSelector.stories.js.map +0 -1
  715. package/react/components/smartDesktopDesigner/ApplicationEdit.d.ts +0 -25
  716. package/react/components/smartDesktopDesigner/ApplicationEdit.js +0 -103
  717. package/react/components/smartDesktopDesigner/ApplicationEdit.js.map +0 -1
  718. package/react/components/smartDesktopDesigner/ApplicationSetup.d.ts +0 -23
  719. package/react/components/smartDesktopDesigner/ApplicationSetup.js +0 -73
  720. package/react/components/smartDesktopDesigner/ApplicationSetup.js.map +0 -1
  721. package/react/components/smartDesktopDesigner/ProjectHeader.d.ts +0 -14
  722. package/react/components/smartDesktopDesigner/ProjectHeader.js +0 -70
  723. package/react/components/smartDesktopDesigner/ProjectHeader.js.map +0 -1
  724. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.d.ts +0 -4
  725. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js +0 -45
  726. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js.map +0 -1
  727. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.d.ts +0 -3
  728. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js +0 -29
  729. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js.map +0 -1
  730. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.d.ts +0 -12
  731. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js +0 -21
  732. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js.map +0 -1
  733. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.d.ts +0 -12
  734. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js +0 -28
  735. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js.map +0 -1
  736. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.d.ts +0 -10
  737. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js +0 -19
  738. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js.map +0 -1
  739. package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js +0 -66
  740. package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js.map +0 -1
  741. package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js +0 -41
  742. package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js.map +0 -1
  743. package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js +0 -27
  744. package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js.map +0 -1
@@ -5,11 +5,12 @@ import "../../common/css/styles.css";
5
5
  import { Story } from "@storybook/react/types-6-0";
6
6
  declare const _default: {
7
7
  title: string;
8
- component: ({ apps, clickApp, deleteApp }: ApplicationListProps) => JSX.Element;
8
+ component: ({ apps, clickApp, deleteApp, editApp }: ApplicationListProps) => JSX.Element;
9
9
  };
10
10
  export default _default;
11
11
  export declare const EmptyAppList: Story<ApplicationListProps>;
12
12
  export declare const OneAppInList: Story<ApplicationListProps>;
13
13
  export declare const AppWithoutDisplayName: Story<ApplicationListProps>;
14
14
  export declare const SampleAppList: Story<ApplicationListProps>;
15
+ export declare const AppListWithEdit: Story<ApplicationListProps>;
15
16
  export declare const appsWithWarnings: Story<ApplicationListProps>;
@@ -43,7 +43,7 @@ const warningApps = [
43
43
  {
44
44
  appId: "Test",
45
45
  name: "Test",
46
- icon: "warning",
46
+ icons: "warning",
47
47
  },
48
48
  ];
49
49
  const clickApp = action("Clicked app");
@@ -78,6 +78,13 @@ SampleAppList.args = {
78
78
  clickApp,
79
79
  deleteApp,
80
80
  };
81
+ export const AppListWithEdit = Template.bind({});
82
+ AppListWithEdit.args = {
83
+ apps: longList,
84
+ clickApp,
85
+ deleteApp,
86
+ editApp: action("edit"),
87
+ };
81
88
  export const appsWithWarnings = Template.bind({});
82
89
  appsWithWarnings.args = {
83
90
  apps: warningApps,
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationList.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ApplicationList.stories.tsx"],"names":[],"mappings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AC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,YAAY,CAAC,IAAI,GAAG;IACnB,IAAI,EAAE,EAAE;IACR,QAAQ;IACR,SAAS;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC9C,YAAY,CAAC,IAAI,GAAG;IACnB,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5B,QAAQ;IACR,SAAS;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,qBAAqB,CAAC,IAAI,GAAG;IAC5B,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5B,QAAQ;IACR,SAAS;CACT,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,IAAuB,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAChF,MAAM,QAAQ,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;AAEvC,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,GAAG;IACpB,IAAI,EAAE,QAAQ;IACd,QAAQ;IACR,SAAS;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACvB,IAAI,EAAE,WAAW;IACjB,QAAQ;IACR,SAAS;CACT,CAAC","sourcesContent":["import React from \"react\";\r\nimport { ApplicationList, ApplicationListProps } from \"../ApplicationList\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { action } from \"@storybook/addon-actions\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ApplicationList\",\r\n\tcomponent: ApplicationList,\r\n};\r\n\r\nconst Template: Story<ApplicationListProps> = (args: ApplicationListProps) => <ApplicationList {...args} />;\r\nconst sampleApps = [\r\n\t{\r\n\t\tappId: \"1\",\r\n\t\tname: \"1\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Hello World\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"Example\",\r\n\t\tname: \"Example\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Example\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"NoDisplayName\",\r\n\t\tname: \"NoDisplayName\",\r\n\t},\r\n];\r\nconst warningApps = [\r\n\t{\r\n\t\tappId: \"1\",\r\n\t\tname: \"1\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Hello World\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"NoDisplayName\",\r\n\t\tname: \"NoDisplayName\",\r\n\t},\r\n\t{\r\n\t\tappId: \"Test\",\r\n\t\tname: \"Test\",\r\n\t\ticon: \"warning\",\r\n\t},\r\n];\r\nconst clickApp = action(\"Clicked app\");\r\n\r\nconst deleteApp = (appID: string) => {\r\n\tconst element = document.getElementById(`app-list-row-${appID}`);\r\n\telement?.parentNode?.removeChild(element);\r\n};\r\n\r\nexport const EmptyAppList = Template.bind({});\r\nEmptyAppList.args = {\r\n\tapps: [],\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const OneAppInList = Template.bind({});\r\nOneAppInList.args = {\r\n\tapps: sampleApps.slice(0, 1),\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const AppWithoutDisplayName = Template.bind({});\r\nAppWithoutDisplayName.args = {\r\n\tapps: sampleApps.slice(2, 3),\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nconst deepClone = (json: object | object[]) => JSON.parse(JSON.stringify(json));\r\nconst longList = deepClone(sampleApps);\r\n\r\nexport const SampleAppList = Template.bind({});\r\nSampleAppList.args = {\r\n\tapps: longList,\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const appsWithWarnings = Template.bind({});\r\nappsWithWarnings.args = {\r\n\tapps: warningApps,\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n"]}
1
+ {"version":3,"file":"ApplicationList.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ApplicationList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAwB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACd,KAAK,EAAE,wCAAwC;IAC/C,SAAS,EAAE,eAAe;CAC1B,CAAC;AAEF,MAAM,QAAQ,GAAgC,CAAC,IAA0B,EAAE,EAAE,CAAC,oBAAC,eAAe,oBAAK,IAAI,EAAI,CAAC;AAC5G,MAAM,UAAU,GAAG;IAClB;QACC,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,GAAG;QACT,UAAU,EAAE;YACX,WAAW,EAAE,aAAa;SAC1B;KACD;IACD;QACC,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,WAAW,EAAE,SAAS;SACtB;KACD;IACD;QACC,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,eAAe;KACrB;CACD,CAAC;AACF,MAAM,WAAW,GAAG;IACnB;QACC,KAAK,EAAE,GAAG;QACV,IAAI,EAAE,GAAG;QACT,UAAU,EAAE;YACX,WAAW,EAAE,aAAa;SAC1B;KACD;IACD;QACC,KAAK,EAAE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MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,GAAG;IACpB,IAAI,EAAE,QAAQ;IACd,QAAQ;IACR,SAAS;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACtB,IAAI,EAAE,QAAQ;IACd,QAAQ;IACR,SAAS;IACT,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,GAAG;IACvB,IAAI,EAAE,WAAW;IACjB,QAAQ;IACR,SAAS;CACT,CAAC","sourcesContent":["import React from \"react\";\nimport { ApplicationList, ApplicationListProps } from \"../ApplicationList\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { action } from \"@storybook/addon-actions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/ApplicationList\",\n\tcomponent: ApplicationList,\n};\n\nconst Template: Story<ApplicationListProps> = (args: ApplicationListProps) => <ApplicationList {...args} />;\nconst sampleApps = [\n\t{\n\t\tappId: \"1\",\n\t\tname: \"1\",\n\t\tcomponents: {\n\t\t\tdisplayName: \"Hello World\",\n\t\t},\n\t},\n\t{\n\t\tappId: \"Example\",\n\t\tname: \"Example\",\n\t\tcomponents: {\n\t\t\tdisplayName: \"Example\",\n\t\t},\n\t},\n\t{\n\t\tappId: \"NoDisplayName\",\n\t\tname: \"NoDisplayName\",\n\t},\n];\nconst warningApps = [\n\t{\n\t\tappId: \"1\",\n\t\tname: \"1\",\n\t\tcomponents: {\n\t\t\tdisplayName: \"Hello World\",\n\t\t},\n\t},\n\t{\n\t\tappId: \"NoDisplayName\",\n\t\tname: \"NoDisplayName\",\n\t},\n\t{\n\t\tappId: \"Test\",\n\t\tname: \"Test\",\n\t\ticons: \"warning\",\n\t},\n] as ApplicationListProps[\"apps\"];\nconst clickApp = action(\"Clicked app\");\n\nconst deleteApp = (appID: string) => {\n\tconst element = document.getElementById(`app-list-row-${appID}`);\n\telement?.parentNode?.removeChild(element);\n};\n\nexport const EmptyAppList = Template.bind({});\nEmptyAppList.args = {\n\tapps: [],\n\tclickApp,\n\tdeleteApp,\n};\n\nexport const OneAppInList = Template.bind({});\nOneAppInList.args = {\n\tapps: sampleApps.slice(0, 1),\n\tclickApp,\n\tdeleteApp,\n};\n\nexport const AppWithoutDisplayName = Template.bind({});\nAppWithoutDisplayName.args = {\n\tapps: sampleApps.slice(2, 3),\n\tclickApp,\n\tdeleteApp,\n};\n\nconst deepClone = (json: object | object[]) => JSON.parse(JSON.stringify(json));\nconst longList = deepClone(sampleApps);\n\nexport const SampleAppList = Template.bind({});\nSampleAppList.args = {\n\tapps: longList,\n\tclickApp,\n\tdeleteApp,\n};\n\nexport const AppListWithEdit = Template.bind({});\nAppListWithEdit.args = {\n\tapps: longList,\n\tclickApp,\n\tdeleteApp,\n\teditApp: action(\"edit\"),\n};\n\nexport const appsWithWarnings = Template.bind({});\nappsWithWarnings.args = {\n\tapps: warningApps,\n\tclickApp,\n\tdeleteApp,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Applications.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/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,6BAA6B,CAAC;AAGrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EA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C,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAElD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,EAAE,CAAC","sourcesContent":["import React from \"react\";\r\nimport { Applications, ApplicationsProps } from \"../Applications\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\n\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { getApplicationsArgs } from \"../fixtures/apps\";\r\nimport { createStore } from \"../../../store\";\r\n\r\nexport default {\r\n\ttitle: \"Views/Applications\",\r\n\tcomponent: Applications,\r\n};\r\n\r\nconst Template: Story<ApplicationsProps> = (args: ApplicationsProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider store={createStore()}>\r\n\t\t\t<Applications {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const EmptyApplications = (() => {\r\n\tconst Component = Template.bind({});\r\n\r\n\tComponent.args = getApplicationsArgs(\"empty\");\r\n\r\n\treturn Component;\r\n})();\r\n\r\nexport const DefaultApplications = (() => {\r\n\tconst Component = Template.bind({});\r\n\r\n\tComponent.args = getApplicationsArgs(\"default\");\r\n\r\n\treturn Component;\r\n})();\r\n\r\nexport const Long = (() => {\r\n\tconst Component = Template.bind({});\r\n\r\n\tComponent.args = getApplicationsArgs(\"long\");\r\n\r\n\treturn Component;\r\n})();\r\n\r\nexport const ApplicationsWithTemporary = (() => {\r\n\tconst Component = Template.bind({});\r\n\r\n\tComponent.args = getApplicationsArgs(\"temporary\");\r\n\r\n\treturn Component;\r\n})();\r\n"]}
1
+ {"version":3,"file":"Applications.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Applications.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,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GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAE7C,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AssetsPage.stories.js","sourceRoot":"","sources":["../../../../src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AAmB,EAAE,cAAc;CACnC,CAAC,CAAC","sourcesContent":["import { createStory, uploadFunction } from \"../../common/helpers\";\r\nimport { AssetsPage, AssetsPageProps } from \"../AssetsPage\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/AssetsPage\",\r\n\tcomponent: AssetsPage,\r\n};\r\n\r\nexport const Page = createStory<AssetsPageProps>(AssetsPage, {\r\n\tbaseURL: \"\",\r\n\ttoolbarIcon: \"\",\r\n\ttaskbarIcon: \"\",\r\n\tinstallerIcon: \"\",\r\n\tsystemTrayIcon: \"\",\r\n\tsplashScreenImage: \"\",\r\n\tsetToolbarIcon: (s: string) => {\r\n\t\tconsole.log(s);\r\n\t},\r\n\tsetTaskbarIcon: (s: string) => {\r\n\t\tconsole.log(s);\r\n\t},\r\n\tsetInstallerIcon: (s: string) => {\r\n\t\tconsole.log(s);\r\n\t},\r\n\tsetSystemTrayIcon: (s: string) => {\r\n\t\tconsole.log(s);\r\n\t},\r\n\tsetSplashScreenImage: (s: string) => {\r\n\t\tconsole.log(s);\r\n\t},\r\n\tsetIconsChanged: (n: number) => {\r\n\t\tconsole.log(n);\r\n\t},\r\n\tupdateSplashScreen: uploadFunction,\r\n\tupdateToolbarIcon: uploadFunction,\r\n\tupdateTaskbarIcon: uploadFunction,\r\n\tupdateSystemTrayIcon: uploadFunction,\r\n\tupdateInstallerIcon: uploadFunction,\r\n});\r\n"]}
1
+ {"version":3,"file":"AssetsPage.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/AssetsPage.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;AAErC,eAAe;IACd,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAkB,UAAU,EAAE;IAC5D,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,CAAC,CAAS,EAAE,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,cAAc,EAAE,CAAC,CAAS,EAAE,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,gBAAgB,EAAE,CAAC,CAAS,EAAE,EAAE;QAC/B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,iBAAiB,EAAE,CAAC,CAAS,EAAE,EAAE;QAChC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,oBAAoB,EAAE,CAAC,CAAS,EAAE,EAAE;QACnC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,eAAe,EAAE,CAAC,CAAS,EAAE,EAAE;QAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,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 { 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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Authentication.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/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,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,QAAQ,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1E,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,cAAc,oBAAK,IAAI,EAAI,CACT,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtC,IAAI,CAAC,IAAI,qBAAQ,4BAA4B,CAAE,CAAC;AAEhD,MAAM,0BAA0B,GAAG,GAAsC,EAAE,CAC1E,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC;QACP;YACC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,kBAAkB,CAAC,MAAM;YAC/B,SAAS,EAAE,EAAE;YACb,MAAM,EAAE,IAAI;YACZ,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,KAAK;SACZ;KACD,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7C,WAAW,CAAC,IAAI,mCACZ,4BAA4B,KAC/B,0BAA0B,GAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,SAAS,CAAC,IAAI,mCACV,4BAA4B,KAC/B,0BAA0B,EAC1B,0BAA0B,EAAE,GAAG,EAAE,CAChC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC/B,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC/B,CAAC,CAAC,GACH,CAAC","sourcesContent":["import { initFSBL } from \"../../common/helpers\";\r\nimport { Authentication, AuthenticationProps } from \"../Authentication\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport React from \"react\";\r\nimport { default_authentication_props } from \"../fixtures/authenticationProps\";\r\nimport { AuthenticationType, AuthenticationProvider } from \"../../../types/smartDesktopDesignerTypes\";\r\n\r\nexport default {\r\n\ttitle: \"Views/Authentication\",\r\n\tcomponent: Authentication,\r\n};\r\n\r\nconst Template: Story<AuthenticationProps> = (args: AuthenticationProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider>\r\n\t\t\t<Authentication {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const Page = Template.bind({});\r\nPage.args = { ...default_authentication_props };\r\n\r\nconst getAuthenticationProviders = (): Promise<AuthenticationProvider[]> =>\r\n\tnew Promise((resolve) => {\r\n\t\tresolve([\r\n\t\t\t{\r\n\t\t\t\tname: \"Custom\",\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ttype: AuthenticationType.OAUTH2,\r\n\t\t\t\tclient_id: \"\",\r\n\t\t\t\tsecret: null,\r\n\t\t\t\tredirect_uri: \"\",\r\n\t\t\t\tnonce: false,\r\n\t\t\t},\r\n\t\t]);\r\n\t});\r\n\r\nexport const OneSelected = Template.bind({});\r\nOneSelected.args = {\r\n\t...default_authentication_props,\r\n\tgetAuthenticationProviders,\r\n};\r\n\r\nexport const AuthError = Template.bind({});\r\nAuthError.args = {\r\n\t...default_authentication_props,\r\n\tgetAuthenticationProviders,\r\n\ttestAuthenticationProvider: () =>\r\n\t\tnew Promise((resolve, reject) => {\r\n\t\t\treject(\"Invalid auth config\");\r\n\t\t}),\r\n};\r\n"]}
1
+ {"version":3,"file":"Authentication.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/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,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AAE,CAChC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC/B,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC/B,CAAC,CAAC,GACH,CAAC","sourcesContent":["import { initFSBL } from \"../../common/helpers\";\nimport { Authentication, AuthenticationProps } from \"../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,10 @@
1
+ import React from "react";
2
+ import { HeaderProps } from "../ContentHeader";
3
+ import { Story } from "@storybook/react/types-6-0";
4
+ import "../../../assets/css/finsemble.css";
5
+ declare const _default: {
6
+ title: string;
7
+ component: React.FunctionComponent<HeaderProps>;
8
+ };
9
+ export default _default;
10
+ export declare const BasicStory: Story<HeaderProps>;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { ContentHeader } from "../ContentHeader";
3
+ import "../../../assets/css/finsemble.css";
4
+ export default {
5
+ title: "Smart Desktop Designer/Content Header",
6
+ component: ContentHeader,
7
+ };
8
+ const Template = (args) => React.createElement(ContentHeader, Object.assign({}, args));
9
+ export const BasicStory = Template.bind({});
10
+ BasicStory.args = {
11
+ name: "Project Title",
12
+ };
13
+ //# sourceMappingURL=ContentHeader.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentHeader.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Export.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Export.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAChD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAe;IACd,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;CACjB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,MAAM,oBAAK,IAAI,EAAI,CACD,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC","sourcesContent":["import React from \"react\";\r\nimport { Export, ExportProps } from \"../Export\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\r\n\r\nexport default {\r\n\ttitle: \"Views/Export\",\r\n\tcomponent: Export,\r\n};\r\n\r\nconst Template: Story<ExportProps> = (args: ExportProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider>\r\n\t\t\t<Export {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const DefaultExport = Template.bind({});\r\nDefaultExport.args = { ...DEFAULT_PROPS };\r\n"]}
1
+ {"version":3,"file":"Export.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Export.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAChD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAe;IACd,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;CACjB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,MAAM,oBAAK,IAAI,EAAI,CACD,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC","sourcesContent":["import React from \"react\";\nimport { Export, ExportProps } from \"../Export\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\n\nexport default {\n\ttitle: \"Views/Export\",\n\tcomponent: Export,\n};\n\nconst Template: Story<ExportProps> = (args: ExportProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider>\n\t\t\t<Export {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const DefaultExport = Template.bind({});\nDefaultExport.args = { ...DEFAULT_PROPS };\n"]}
@@ -5,7 +5,7 @@ import "../../common/css/styles.css";
5
5
  import { Story } from "@storybook/react/types-6-0";
6
6
  declare const _default: {
7
7
  title: string;
8
- component: (props: ExportProps) => JSX.Element;
8
+ component: (props: import("../ExportCloud").ExportCloudProps) => JSX.Element;
9
9
  };
10
10
  export default _default;
11
11
  export declare const DefaultExportCloud: Story<ExportProps>;
@@ -12,7 +12,7 @@ export default {
12
12
  const Template = (args) => {
13
13
  initFSBL(window);
14
14
  return (React.createElement(FinsembleProvider, null,
15
- React.createElement(ExportCloud, Object.assign({}, args))));
15
+ React.createElement(ExportCloud, Object.assign({}, args, { valid: true }))));
16
16
  };
17
17
  export const DefaultExportCloud = Template.bind({});
18
18
  DefaultExportCloud.args = Object.assign({}, DEFAULT_PROPS);
@@ -1 +1 @@
1
- {"version":3,"file":"ExportCloud.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ExportCloud.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAe;IACd,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,WAAW;CACtB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,WAAW,oBAAK,IAAI,EAAI,CACN,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACpD,kBAAkB,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC","sourcesContent":["import React from \"react\";\r\nimport { ExportProps } from \"../Export\";\r\nimport { ExportCloud } from \"../ExportCloud\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ExportCloud\",\r\n\tcomponent: ExportCloud,\r\n};\r\n\r\nconst Template: Story<ExportProps> = (args: ExportProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider>\r\n\t\t\t<ExportCloud {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const DefaultExportCloud = Template.bind({});\r\nDefaultExportCloud.args = { ...DEFAULT_PROPS };\r\n"]}
1
+ {"version":3,"file":"ExportCloud.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ExportCloud.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,eAAe;IACd,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,WAAW;CACtB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,WAAW,oBAAK,IAAI,IAAE,KAAK,EAAE,IAAI,IAAI,CACnB,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACpD,kBAAkB,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC","sourcesContent":["import React from \"react\";\nimport { ExportProps } from \"../Export\";\nimport { ExportCloud } from \"../ExportCloud\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/ExportCloud\",\n\tcomponent: ExportCloud,\n};\n\nconst Template: Story<ExportProps> = (args: ExportProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider>\n\t\t\t<ExportCloud {...args} valid={true} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const DefaultExportCloud = Template.bind({});\nDefaultExportCloud.args = { ...DEFAULT_PROPS };\n"]}
@@ -5,7 +5,7 @@ import "../../common/css/styles.css";
5
5
  import { Story } from "@storybook/react/types-6-0";
6
6
  declare const _default: {
7
7
  title: string;
8
- component: (props: ExportProps) => JSX.Element;
8
+ component: (props: import("../ExportZip").ExportZipProps) => JSX.Element;
9
9
  };
10
10
  export default _default;
11
11
  export declare const DefaultExportZip: Story<ExportProps>;
@@ -15,7 +15,7 @@ const Template = (args) => {
15
15
  initFSBL(window);
16
16
  store.dispatch(SmartDesktopDesignerActions.set_project_info(Object.assign(Object.assign({}, store.getState().smartDesktopDesigner.projectInfo), { name: "test" })));
17
17
  return (React.createElement(FinsembleProvider, { store: store },
18
- React.createElement(ExportZip, Object.assign({}, args))));
18
+ React.createElement(ExportZip, Object.assign({}, args, { valid: true }))));
19
19
  };
20
20
  export const DefaultExportZip = Template.bind({});
21
21
  DefaultExportZip.args = Object.assign({}, DEFAULT_PROPS);
@@ -1 +1 @@
1
- {"version":3,"file":"ExportZip.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ExportZip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAG3F,eAAe;IACd,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,KAAK,CAAC,QAAQ,CACb,2BAA2B,CAAC,gBAAgB,iCACvC,KAAK,CAAC,QAAQ,EAAE,CAAC,oBAAkD,CAAC,WAAW,KACnF,IAAI,EAAE,MAAM,IACX,CACF,CAAC;IAEF,OAAO,CACN,oBAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK;QAC9B,oBAAC,SAAS,oBAAK,IAAI,EAAI,CACJ,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC;AAE7C,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,mCACf,aAAa,KAChB,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC/B,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC/B,CAAC,CAAC,GACH,CAAC","sourcesContent":["import React from \"react\";\r\nimport { ExportProps } from \"../Export\";\r\nimport { ExportZip } from \"../ExportZip\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\r\nimport { store } from \"../../../store\";\r\nimport { SmartDesktopDesignerActions } from \"../../../actions/smartDesktopDesignerActions\";\r\nimport { SmartDesktopDesignerState } from \"../../../types/smartDesktopDesignerTypes\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ExportZip\",\r\n\tcomponent: ExportZip,\r\n};\r\n\r\nconst Template: Story<ExportProps> = (args: ExportProps) => {\r\n\tinitFSBL(window);\r\n\r\n\tstore.dispatch(\r\n\t\tSmartDesktopDesignerActions.set_project_info({\r\n\t\t\t...(store.getState().smartDesktopDesigner as SmartDesktopDesignerState).projectInfo,\r\n\t\t\tname: \"test\",\r\n\t\t})\r\n\t);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider store={store}>\r\n\t\t\t<ExportZip {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const DefaultExportZip = Template.bind({});\r\nDefaultExportZip.args = { ...DEFAULT_PROPS };\r\n\r\nexport const ErrorExportZip = Template.bind({});\r\nErrorExportZip.args = {\r\n\t...DEFAULT_PROPS,\r\n\tcopyProjectFiles: () =>\r\n\t\tnew Promise((resolve, reject) => {\r\n\t\t\treject(\"error copying files\");\r\n\t\t}),\r\n};\r\n"]}
1
+ {"version":3,"file":"ExportZip.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ExportZip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAG3F,eAAe;IACd,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,QAAQ,GAAuB,CAAC,IAAiB,EAAE,EAAE;IAC1D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,KAAK,CAAC,QAAQ,CACb,2BAA2B,CAAC,gBAAgB,iCACvC,KAAK,CAAC,QAAQ,EAAE,CAAC,oBAAkD,CAAC,WAAW,KACnF,IAAI,EAAE,MAAM,IACX,CACF,CAAC;IAEF,OAAO,CACN,oBAAC,iBAAiB,IAAC,KAAK,EAAE,KAAK;QAC9B,oBAAC,SAAS,oBAAK,IAAI,IAAE,KAAK,EAAE,IAAI,IAAI,CACjB,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,gBAAgB,CAAC,IAAI,qBAAQ,aAAa,CAAE,CAAC;AAE7C,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,mCACf,aAAa,KAChB,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC/B,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC/B,CAAC,CAAC,GACH,CAAC","sourcesContent":["import React from \"react\";\nimport { ExportProps } from \"../Export\";\nimport { ExportZip } from \"../ExportZip\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\nimport { store } from \"../../../store\";\nimport { SmartDesktopDesignerActions } from \"../../../actions/smartDesktopDesignerActions\";\nimport { SmartDesktopDesignerState } from \"../../../types/smartDesktopDesignerTypes\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/ExportZip\",\n\tcomponent: ExportZip,\n};\n\nconst Template: Story<ExportProps> = (args: ExportProps) => {\n\tinitFSBL(window);\n\n\tstore.dispatch(\n\t\tSmartDesktopDesignerActions.set_project_info({\n\t\t\t...(store.getState().smartDesktopDesigner as SmartDesktopDesignerState).projectInfo,\n\t\t\tname: \"test\",\n\t\t})\n\t);\n\n\treturn (\n\t\t<FinsembleProvider store={store}>\n\t\t\t<ExportZip {...args} valid={true} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const DefaultExportZip = Template.bind({});\nDefaultExportZip.args = { ...DEFAULT_PROPS };\n\nexport const ErrorExportZip = Template.bind({});\nErrorExportZip.args = {\n\t...DEFAULT_PROPS,\n\tcopyProjectFiles: () =>\n\t\tnew Promise((resolve, reject) => {\n\t\t\treject(\"error copying files\");\n\t\t}),\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"GettingStarted.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/GettingStarted.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAC;AACxE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACd,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,QAAQ,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1E,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,cAAc,oBAAK,IAAI,EAAI,CACT,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,qBAAqB,CAAC,IAAI,GAAG,EAAE,CAAC","sourcesContent":["import React from \"react\";\r\nimport { GettingStarted, GettingStartedProps } from \"../GettingStarted\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\n\r\nexport default {\r\n\ttitle: \"Views/GettingStarted\",\r\n\tcomponent: GettingStarted,\r\n};\r\n\r\nconst Template: Story<GettingStartedProps> = (args: GettingStartedProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider>\r\n\t\t\t<GettingStarted {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const DefaultGettingStarted = Template.bind({});\r\nDefaultGettingStarted.args = {};\r\n"]}
1
+ {"version":3,"file":"GettingStarted.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/GettingStarted.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAuB,MAAM,mBAAmB,CAAC;AACxE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,eAAe;IACd,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,QAAQ,GAA+B,CAAC,IAAyB,EAAE,EAAE;IAC1E,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB;QACjB,oBAAC,cAAc,oBAAK,IAAI,EAAI,CACT,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,qBAAqB,CAAC,IAAI,GAAG,EAAE,CAAC","sourcesContent":["import React from \"react\";\nimport { GettingStarted, GettingStartedProps } from \"../GettingStarted\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\n\nexport default {\n\ttitle: \"Views/GettingStarted\",\n\tcomponent: GettingStarted,\n};\n\nconst Template: Story<GettingStartedProps> = (args: GettingStartedProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider>\n\t\t\t<GettingStarted {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const DefaultGettingStarted = Template.bind({});\nDefaultGettingStarted.args = {};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Navigation.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAC5D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAGrC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAe;IACd,KAAK,EAAE,4CAA4C;IACnD,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,QAAQ,GAA2B,CAAC,IAAqB,EAAE,EAAE;IAClE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACrB,oBAAC,UAAU,oBAAK,IAAI,EAAI,CACd,CACX,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,iBAAiB,CAAC,IAAI,GAAG;IACxB,KAAK;CACL,CAAC","sourcesContent":["import React from \"react\";\r\nimport { Provider } from \"react-redux\";\r\nimport { Navigation, NavigationProps } from \"../Navigation\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\n\r\nimport views from \"../fixtures/views\";\r\nimport { store } from \"../../../store\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/NavigationComponent\",\r\n\tcomponent: Navigation,\r\n};\r\n\r\nconst Template: Story<NavigationProps> = (args: NavigationProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<Provider store={store}>\r\n\t\t\t<Navigation {...args} />\r\n\t\t</Provider>\r\n\t);\r\n};\r\n\r\nexport const DefaultNavigation = Template.bind({});\r\nDefaultNavigation.args = {\r\n\tviews,\r\n};\r\n"]}
1
+ {"version":3,"file":"Navigation.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Navigation.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAC5D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAGrC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAe;IACd,KAAK,EAAE,4CAA4C;IACnD,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,QAAQ,GAA2B,CAAC,IAAqB,EAAE,EAAE;IAClE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACrB,oBAAC,UAAU,oBAAK,IAAI,EAAI,CACd,CACX,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,iBAAiB,CAAC,IAAI,GAAG;IACxB,KAAK;CACL,CAAC","sourcesContent":["import React from \"react\";\nimport { Provider } from \"react-redux\";\nimport { Navigation, NavigationProps } from \"../Navigation\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\n\nimport views from \"../fixtures/views\";\nimport { store } from \"../../../store\";\nimport { initFSBL } from \"../../common/helpers\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/NavigationComponent\",\n\tcomponent: Navigation,\n};\n\nconst Template: Story<NavigationProps> = (args: NavigationProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<Provider store={store}>\n\t\t\t<Navigation {...args} />\n\t\t</Provider>\n\t);\n};\n\nexport const DefaultNavigation = Template.bind({});\nDefaultNavigation.args = {\n\tviews,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectErrors.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ProjectErrors.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAsB,MAAM,kBAAkB,CAAC;AACrE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAElE,eAAe;IACd,KAAK,EAAE,sCAAsC;IAC7C,SAAS,EAAE,aAAa;CACxB,CAAC;AAEF,MAAM,QAAQ,GAA8B,CAAC,IAAwB,EAAE,EAAE;IACxE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB,IAAC,KAAK,EAAE,WAAW,EAAE;QACtC,oBAAC,aAAa,oBAAK,IAAI,EAAI,CACR,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,OAAO,CAAC,IAAI,qBACR,oBAAoB,CACvB,CAAC","sourcesContent":["import React from \"react\";\r\nimport { ProjectErrors, ProjectErrorsProps } from \"../ProjectErrors\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider, createStore } from \"../../FinsembleProvider\";\r\nimport PROJECT_ERRORS_PROPS from \"../fixtures/projectErrorsProps\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ProjectErrors\",\r\n\tcomponent: ProjectErrors,\r\n};\r\n\r\nconst Template: Story<ProjectErrorsProps> = (args: ProjectErrorsProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider store={createStore()}>\r\n\t\t\t<ProjectErrors {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const Default = Template.bind({});\r\nDefault.args = {\r\n\t...PROJECT_ERRORS_PROPS,\r\n};\r\n"]}
1
+ {"version":3,"file":"ProjectErrors.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ProjectErrors.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAsB,MAAM,kBAAkB,CAAC;AACrE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAElE,eAAe;IACd,KAAK,EAAE,sCAAsC;IAC7C,SAAS,EAAE,aAAa;CACxB,CAAC;AAEF,MAAM,QAAQ,GAA8B,CAAC,IAAwB,EAAE,EAAE;IACxE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB,IAAC,KAAK,EAAE,WAAW,EAAE;QACtC,oBAAC,aAAa,oBAAK,IAAI,EAAI,CACR,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,OAAO,CAAC,IAAI,qBACR,oBAAoB,CACvB,CAAC","sourcesContent":["import React from \"react\";\nimport { ProjectErrors, ProjectErrorsProps } from \"../ProjectErrors\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider, createStore } from \"../../FinsembleProvider\";\nimport PROJECT_ERRORS_PROPS from \"../fixtures/projectErrorsProps\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/ProjectErrors\",\n\tcomponent: ProjectErrors,\n};\n\nconst Template: Story<ProjectErrorsProps> = (args: ProjectErrorsProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider store={createStore()}>\n\t\t\t<ProjectErrors {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const Default = Template.bind({});\nDefault.args = {\n\t...PROJECT_ERRORS_PROPS,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Publish.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Publish.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WA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AAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC,CAAC,GACH,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,mCACf,aAAa,KAChB,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,GACH,CAAC","sourcesContent":["import React from \"react\";\r\nimport { ExportProps } from \"../Export\";\r\nimport { Publish } from \"../Publish\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { initFSBL } from \"../../common/helpers\";\r\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\r\nimport publishTests from \"../fixtures/publishProgress\";\r\nimport { useDispatch } from \"../../../store\";\r\nimport { SmartDesktopDesignerActions } from \"../../../actions/smartDesktopDesignerActions\";\r\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/Publish\",\r\n\tcomponent: Publish,\r\n};\r\n\r\nconst Dispatcher = (props: ExportProps) => {\r\n\tconst dispatch = useDispatch();\r\n\r\n\tif (props.publishToCosaicCloud) {\r\n\t\tprops\r\n\t\t\t.publishToCosaicCloud()\r\n\t\t\t.then((currentDeployInfo) => dispatch(SmartDesktopDesignerActions.set_deploy_info(currentDeployInfo)))\r\n\t\t\t.catch((error) => dispatch(SmartDesktopDesignerActions.set_publish_error(error)));\r\n\t}\r\n\r\n\treturn <></>;\r\n};\r\n\r\nconst Template: Story<ExportProps> = (args: ExportProps) => {\r\n\tinitFSBL(window);\r\n\r\n\treturn (\r\n\t\t<FinsembleProvider>\r\n\t\t\t<Publish {...args} />\r\n\t\t\t<Dispatcher {...args} />\r\n\t\t</FinsembleProvider>\r\n\t);\r\n};\r\n\r\nexport const DefaultPublish = Template.bind({});\r\nDefaultPublish.args = { ...DEFAULT_PROPS };\r\n\r\nexport const Error1Publish = Template.bind({});\r\nError1Publish.args = {\r\n\t...DEFAULT_PROPS,\r\n\tgetPublishProgress: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-1-fail\")!.states[0]);\r\n\t\t}),\r\n};\r\n\r\nexport const Error2Publish = Template.bind({});\r\nError2Publish.args = {\r\n\t...DEFAULT_PROPS,\r\n\tgetPublishProgress: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-2-fail\")!.states[0]);\r\n\t\t}),\r\n};\r\n\r\nexport const Error3Publish = Template.bind({});\r\nError3Publish.args = {\r\n\t...DEFAULT_PROPS,\r\n\tgetPublishProgress: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-3-fail\")!.states[0]);\r\n\t\t}),\r\n};\r\n\r\nexport const Error4Publish = Template.bind({});\r\nError4Publish.args = {\r\n\t...DEFAULT_PROPS,\r\n\tgetPublishProgress: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-4-fail\")!.states[0]);\r\n\t\t}),\r\n};\r\n\r\nexport const SuccessPublish = Template.bind({});\r\nSuccessPublish.args = {\r\n\t...DEFAULT_PROPS,\r\n\tgetPublishProgress: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve(publishTests.find((test) => test.name === \"success\")!.states[0]);\r\n\t\t}),\r\n};\r\n"]}
1
+ {"version":3,"file":"Publish.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Publish.stories.tsx"],"names":[],"mappings":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AEF,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC/C,aAAa,CAAC,IAAI,mCACd,aAAa,KAChB,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,CAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC,CAAC,GACH,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,cAAc,CAAC,IAAI,mCACf,aAAa,KAChB,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,GACH,CAAC","sourcesContent":["import React from \"react\";\nimport { ExportProps } from \"../Export\";\nimport { Publish } from \"../Publish\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { initFSBL } from \"../../common/helpers\";\nimport { FinsembleProvider } from \"../../FinsembleProvider\";\nimport publishTests from \"../fixtures/publishProgress\";\nimport { useDispatch } from \"../../../store\";\nimport { SmartDesktopDesignerActions } from \"../../../actions/smartDesktopDesignerActions\";\nimport { DEFAULT_PROPS } from \"../fixtures/exportProps\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/Publish\",\n\tcomponent: Publish,\n};\n\nconst Dispatcher = (props: ExportProps) => {\n\tconst dispatch = useDispatch();\n\n\tif (props.publishToCosaicCloud) {\n\t\tprops\n\t\t\t.publishToCosaicCloud()\n\t\t\t.then((currentDeployInfo) => dispatch(SmartDesktopDesignerActions.set_deploy_info(currentDeployInfo)))\n\t\t\t.catch((error) => dispatch(SmartDesktopDesignerActions.set_publish_error(error)));\n\t}\n\n\treturn <></>;\n};\n\nconst Template: Story<ExportProps> = (args: ExportProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider>\n\t\t\t<Publish {...args} />\n\t\t\t<Dispatcher {...args} />\n\t\t</FinsembleProvider>\n\t);\n};\n\nexport const DefaultPublish = Template.bind({});\nDefaultPublish.args = { ...DEFAULT_PROPS };\n\nexport const Error1Publish = Template.bind({});\nError1Publish.args = {\n\t...DEFAULT_PROPS,\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-1-fail\")!.states[0]);\n\t\t}),\n};\n\nexport const Error2Publish = Template.bind({});\nError2Publish.args = {\n\t...DEFAULT_PROPS,\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-2-fail\")!.states[0]);\n\t\t}),\n};\n\nexport const Error3Publish = Template.bind({});\nError3Publish.args = {\n\t...DEFAULT_PROPS,\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-3-fail\")!.states[0]);\n\t\t}),\n};\n\nexport const Error4Publish = Template.bind({});\nError4Publish.args = {\n\t...DEFAULT_PROPS,\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests.find((test) => test.name === \"step-4-fail\")!.states[0]);\n\t\t}),\n};\n\nexport const SuccessPublish = Template.bind({});\nSuccessPublish.args = {\n\t...DEFAULT_PROPS,\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests.find((test) => test.name === \"success\")!.states[0]);\n\t\t}),\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"PublishProgress.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/PublishProgress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAwB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAGrC,eAAe;IACd,KAAK,EAAE,wCAAwC;IAC/C,SAAS,EAAE,eAAe;CAC1B,CAAC;AAEF,MAAM,QAAQ,GAAgC,CAAC,IAA0B,EAAE,EAAE,CAAC,oBAAC,eAAe,oBAAK,IAAI,EAAI,CAAC;AAE5G,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxD,sBAAsB,CAAC,IAAI,GAAG;IAC7B,eAAe,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxD,sBAAsB,CAAC,IAAI,GAAG;IAC7B,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,mBAAmB,CAAC,IAAI,GAAG;IAC1B,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,mBAAmB,CAAC,IAAI,GAAG;IAC1B,eAAe,EAAE,GAAG;CACpB,CAAC","sourcesContent":["import React from \"react\";\r\nimport { PublishProgress, PublishProgressProps } from \"../PublishProgress\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/PublishProgress\",\r\n\tcomponent: PublishProgress,\r\n};\r\n\r\nconst Template: Story<PublishProgressProps> = (args: PublishProgressProps) => <PublishProgress {...args} />;\r\n\r\nexport const InitialPublishProgress = Template.bind({});\r\nInitialPublishProgress.args = {\r\n\tpercentComplete: 0,\r\n};\r\n\r\nexport const QuarterPublishProgress = Template.bind({});\r\nQuarterPublishProgress.args = {\r\n\tpercentComplete: 25,\r\n};\r\n\r\nexport const HalfPublishProgress = Template.bind({});\r\nHalfPublishProgress.args = {\r\n\tpercentComplete: 50,\r\n};\r\n\r\nexport const FullPublishProgress = Template.bind({});\r\nFullPublishProgress.args = {\r\n\tpercentComplete: 100,\r\n};\r\n"]}
1
+ {"version":3,"file":"PublishProgress.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/PublishProgress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAwB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAGrC,eAAe;IACd,KAAK,EAAE,wCAAwC;IAC/C,SAAS,EAAE,eAAe;CAC1B,CAAC;AAEF,MAAM,QAAQ,GAAgC,CAAC,IAA0B,EAAE,EAAE,CAAC,oBAAC,eAAe,oBAAK,IAAI,EAAI,CAAC;AAE5G,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxD,sBAAsB,CAAC,IAAI,GAAG;IAC7B,eAAe,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxD,sBAAsB,CAAC,IAAI,GAAG;IAC7B,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,mBAAmB,CAAC,IAAI,GAAG;IAC1B,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,mBAAmB,CAAC,IAAI,GAAG;IAC1B,eAAe,EAAE,GAAG;CACpB,CAAC","sourcesContent":["import React from \"react\";\nimport { PublishProgress, PublishProgressProps } from \"../PublishProgress\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { Story } from \"@storybook/react/types-6-0\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/PublishProgress\",\n\tcomponent: PublishProgress,\n};\n\nconst Template: Story<PublishProgressProps> = (args: PublishProgressProps) => <PublishProgress {...args} />;\n\nexport const InitialPublishProgress = Template.bind({});\nInitialPublishProgress.args = {\n\tpercentComplete: 0,\n};\n\nexport const QuarterPublishProgress = Template.bind({});\nQuarterPublishProgress.args = {\n\tpercentComplete: 25,\n};\n\nexport const HalfPublishProgress = Template.bind({});\nHalfPublishProgress.args = {\n\tpercentComplete: 50,\n};\n\nexport const FullPublishProgress = Template.bind({});\nFullPublishProgress.args = {\n\tpercentComplete: 100,\n};\n"]}
@@ -6,7 +6,13 @@ import views from "../fixtures/views";
6
6
  const DEFAULT_PROPS = {
7
7
  views,
8
8
  getConfig: (params, callback) => new Promise(() => {
9
- callback();
9
+ callback(null, {
10
+ finsemble: {
11
+ system: {
12
+ FSBLVersion: "test",
13
+ },
14
+ },
15
+ });
10
16
  }),
11
17
  resetProject: () => new Promise(() => { }),
12
18
  getSDServerInfo: () => new Promise((resolve) => {
@@ -1 +1 @@
1
- {"version":3,"file":"SmartDesktopDesigner.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA6B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,mCAAmC,CAAC;AAC3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C,MAAM,UAAU,GAAG,WAAW,CAA4B,oBAAoB,oBAAO,aAAa,EAAG,CAAC","sourcesContent":["import { SmartDesktopDesigner, SmartDesktopDesignerProps } from \"../SmartDesktopDesigner\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { createStory } from \"../../common/helpers\";\r\nimport views from \"../fixtures/views\";\r\nimport { FEA } from \"@finsemble/finsemble-core\";\r\n\r\ntype SDServerInfo = FEA.SDServerInfo;\r\n\r\nconst DEFAULT_PROPS = {\r\n\tviews,\r\n\tgetConfig: (params: any, callback: any) =>\r\n\t\tnew Promise<{ data: any; err: string | null }>(() => {\r\n\t\t\tcallback();\r\n\t\t}),\r\n\tresetProject: () => new Promise<[Error | null, any]>(() => {}),\r\n\tgetSDServerInfo: () =>\r\n\t\tnew Promise<SDServerInfo>((resolve) => {\r\n\t\t\tresolve({\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tapplicationRoot: \"http://localhost/\",\r\n\t\t\t\tprojectConfig: {},\r\n\t\t\t} as SDServerInfo);\r\n\t\t}),\r\n\tgetProjectSettings: () =>\r\n\t\tnew Promise<{\r\n\t\t\tsettings: {\r\n\t\t\t\tname: string;\r\n\t\t\t\tpath?: string;\r\n\t\t\t\tversion?: string;\r\n\t\t\t\tauthors?: string;\r\n\t\t\t\tdescription?: string;\r\n\t\t\t};\r\n\t\t\terr: any;\r\n\t\t}>((resolve) => {\r\n\t\t\tresolve({\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tname: \"default\",\r\n\t\t\t\t\tpath: \"/Users/administrator/Library/Application Support/Electron/smartDesktops/projects/default\",\r\n\t\t\t\t},\r\n\t\t\t\terr: null,\r\n\t\t\t});\r\n\t\t}),\r\n\tupdateProjectSettings: () => new Promise<{ err: any }>(() => {}),\r\n\tonThemeUpdated: () => () => {},\r\n\tselectProjectPath: () =>\r\n\t\tnew Promise<string>((resolve) => {\r\n\t\t\tresolve(\"/tmp\");\r\n\t\t}),\r\n\trestartFinsemble: () => {},\r\n};\r\n\r\nexport default {\r\n\ttitle: \"Components/Smart Desktop Designer\",\r\n\tcomponent: SmartDesktopDesigner,\r\n};\r\n\r\nexport const DefaultSDD = createStory<SmartDesktopDesignerProps>(SmartDesktopDesigner, { ...DEFAULT_PROPS });\r\n"]}
1
+ {"version":3,"file":"SmartDesktopDesigner.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA6B,MAAM,yBAAyB,CAAC;AAC1F,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAKtC,MAAM,aAAa,GAAG;IACrB,KAAK;IACL,SAAS,EAAE,CAAC,MAAW,EAAE,QAAa,EAAE,EAAE,CACzC,IAAI,OAAO,CAAoC,GAAG,EAAE;QACnD,QAAQ,CAAC,IAAI,EAAE;YACd,SAAS,EAAE;gBACV,MAAM,EAAE;oBACP,WAAW,EAAE,MAAM;iBACnB;aACD;SACD,CAAC,CAAC;IACJ,CAAC,CAAC;IACH,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,OAAO,CAAsB,GAAG,EAAE,GAAE,CAAC,CAAC;IAC9D,eAAe,EAAE,GAAG,EAAE,CACrB,IAAI,OAAO,CAAe,CAAC,OAAO,EAAE,EAAE;QACrC,OAAO,CAAC;YACP,OAAO,EAAE,IAAI;YACb,eAAe,EAAE,mBAAmB;YACpC,aAAa,EAAE,EAAE;SACD,CAAC,CAAC;IACpB,CAAC,CAAC;IACH,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CASR,CAAC,OAAO,EAAE,EAAE;QACd,OAAO,CAAC;YACP,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,0FAA0F;aAChG;YACD,GAAG,EAAE,IAAI;SACT,CAAC,CAAC;IACJ,CAAC,CAAC;IACH,qBAAqB,EAAE,GAAG,EAAE,CAAC,IAAI,OAAO,CAAe,GAAG,EAAE,GAAE,CAAC,CAAC;IAChE,cAAc,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAE,CAAC;IAC9B,iBAAiB,EAAE,GAAG,EAAE,CACvB,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,EAAE;QAC/B,OAAO,CAAC,MAAM,CAAC,CAAC;IACjB,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,GAAE,CAAC;CAC1B,CAAC;AAEF,eAAe;IACd,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,oBAAoB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAA4B,oBAAoB,oBAAO,aAAa,EAAG,CAAC","sourcesContent":["import { SmartDesktopDesigner, SmartDesktopDesignerProps } from \"../SmartDesktopDesigner\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { createStory } from \"../../common/helpers\";\nimport views from \"../fixtures/views\";\nimport { FEA } from \"@finsemble/finsemble-core\";\n\ntype SDServerInfo = FEA.SDServerInfo;\n\nconst DEFAULT_PROPS = {\n\tviews,\n\tgetConfig: (params: any, callback: any) =>\n\t\tnew Promise<{ data: any; err: string | null }>(() => {\n\t\t\tcallback(null, {\n\t\t\t\tfinsemble: {\n\t\t\t\t\tsystem: {\n\t\t\t\t\t\tFSBLVersion: \"test\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t});\n\t\t}),\n\tresetProject: () => new Promise<[Error | null, any]>(() => {}),\n\tgetSDServerInfo: () =>\n\t\tnew Promise<SDServerInfo>((resolve) => {\n\t\t\tresolve({\n\t\t\t\tenabled: true,\n\t\t\t\tapplicationRoot: \"http://localhost/\",\n\t\t\t\tprojectConfig: {},\n\t\t\t} as SDServerInfo);\n\t\t}),\n\tgetProjectSettings: () =>\n\t\tnew Promise<{\n\t\t\tsettings: {\n\t\t\t\tname: string;\n\t\t\t\tpath?: string;\n\t\t\t\tversion?: string;\n\t\t\t\tauthors?: string;\n\t\t\t\tdescription?: string;\n\t\t\t};\n\t\t\terr: any;\n\t\t}>((resolve) => {\n\t\t\tresolve({\n\t\t\t\tsettings: {\n\t\t\t\t\tname: \"default\",\n\t\t\t\t\tpath: \"/Users/administrator/Library/Application Support/Electron/smartDesktops/projects/default\",\n\t\t\t\t},\n\t\t\t\terr: null,\n\t\t\t});\n\t\t}),\n\tupdateProjectSettings: () => new Promise<{ err: any }>(() => {}),\n\tonThemeUpdated: () => () => {},\n\tselectProjectPath: () =>\n\t\tnew Promise<string>((resolve) => {\n\t\t\tresolve(\"/tmp\");\n\t\t}),\n\trestartFinsemble: () => {},\n};\n\nexport default {\n\ttitle: \"Components/Smart Desktop Designer\",\n\tcomponent: SmartDesktopDesigner,\n};\n\nexport const DefaultSDD = createStory<SmartDesktopDesignerProps>(SmartDesktopDesigner, { ...DEFAULT_PROPS });\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemePage.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ThemePage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAkB,MAAM,cAAc,CAAC;AACzD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAe;IACd,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAiB,SAAS,EAAE;IAC1D,KAAK,EAAE,SAAS;IAChB,YAAY,EAAE,CAAC,EAAU,EAAE,QAAgB,EAAE,EAAE;QAC9C,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,YAAY,QAAQ,EAAE,CAAC,CAAC;IAC9C,CAAC;CACD,CAAC,CAAC","sourcesContent":["import { createStory } from \"../../common/helpers\";\r\nimport { ThemePage, ThemePageProps } from \"../ThemePage\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { darkTheme } from \"../themeDefinitions\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ThemePage\",\r\n\tcomponent: ThemePage,\r\n};\r\n\r\nexport const Page = createStory<ThemePageProps>(ThemePage, {\r\n\ttheme: darkTheme,\r\n\tupdateThemes: (id: string, newValue: string) => {\r\n\t\tconsole.log(`ID: ${id}, Theme: ${newValue}`);\r\n\t},\r\n});\r\n"]}
1
+ {"version":3,"file":"ThemePage.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ThemePage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAkB,MAAM,cAAc,CAAC;AACzD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAe;IACd,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAiB,SAAS,EAAE;IAC1D,KAAK,EAAE,SAAS;IAChB,YAAY,EAAE,CAAC,EAAU,EAAE,QAAgB,EAAE,EAAE;QAC9C,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,YAAY,QAAQ,EAAE,CAAC,CAAC;IAC9C,CAAC;CACD,CAAC,CAAC","sourcesContent":["import { createStory } from \"../../common/helpers\";\nimport { ThemePage, ThemePageProps } from \"../ThemePage\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { darkTheme } from \"../themeDefinitions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/ThemePage\",\n\tcomponent: ThemePage,\n};\n\nexport const Page = createStory<ThemePageProps>(ThemePage, {\n\ttheme: darkTheme,\n\tupdateThemes: (id: string, newValue: string) => {\n\t\tconsole.log(`ID: ${id}, Theme: ${newValue}`);\n\t},\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Themes.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Themes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,WAAW,CAAC;AAC/C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,eAAe;IACd,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAa,MAAM,EAAE;IACnD,eAAe,EAAE,CAAC,EAAY,EAAE,EAAE;QACjC,EAAE,CAAC;YACF,eAAe,EAAE,EAAE;YACnB,IAAI,EAAE,EAAE;YACR,IAAI,EAAE;gBACL,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,OAAO,EAAE,EAAE;gBACX,KAAK,EAAE,EAAE;aACT;YACD,MAAM,EAAE;gBACP,MAAM,EAAE,EAAE;gBACV,WAAW,EAAE,EAAE;gBACf,WAAW,EAAE,EAAE;gBACf,WAAW,EAAE,EAAE;gBACf,aAAa,EAAE,EAAE;gBACjB,WAAW,EAAE,EAAE;gBACf,cAAc,EAAE,EAAE;gBAClB,iBAAiB,EAAE,EAAE;aACrB;SACD,CAAC,CAAC;IACJ,CAAC;IACD,qBAAqB,EAAE,GAAG,EAAE,CAC3B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC;IACH,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;IAClD,UAAU,EAAE,CAAC,EAAY,EAAE,EAAE;QAC5B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,YAAY,EAAE,MAAM,CAAC,aAAa,CAAC;IACnC,KAAK,EAAE;QACN,MAAM,EAAE;YACP,OAAO,EAAE,SAAS;SAClB;KACD;CACD,CAAC,CAAC","sourcesContent":["import { Themes, ThemeProps } from \"../Themes\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { action } from \"@storybook/addon-actions\";\r\nimport { darkTheme } from \"../themeDefinitions\";\r\nimport { createStory } from \"../../common/helpers\";\r\n\r\nexport default {\r\n\ttitle: \"Views/Themes\",\r\n\tcomponent: Themes,\r\n};\r\n\r\nexport const Page = createStory<ThemeProps>(Themes, {\r\n\tgetSDServerInfo: (cb: Function) => {\r\n\t\tcb({\r\n\t\t\tapplicationRoot: \"\",\r\n\t\t\tname: \"\",\r\n\t\t\tuser: {\r\n\t\t\t\tfirstName: \"\",\r\n\t\t\t\tlastName: \"\",\r\n\t\t\t\tcompany: \"\",\r\n\t\t\t\temail: \"\",\r\n\t\t\t},\r\n\t\t\texport: {\r\n\t\t\t\tauthor: \"\",\r\n\t\t\t\tcompanyName: \"\",\r\n\t\t\t\tdescription: \"\",\r\n\t\t\t\ttoolbarIcon: \"\",\r\n\t\t\t\tinstallerIcon: \"\",\r\n\t\t\t\ttaskbarIcon: \"\",\r\n\t\t\t\tsystemTrayIcon: \"\",\r\n\t\t\t\tsplashScreenImage: \"\",\r\n\t\t\t},\r\n\t\t});\r\n\t},\r\n\tupdateProjectSettings: () =>\r\n\t\tnew Promise((resolve) => {\r\n\t\t\tresolve({ err: undefined });\r\n\t\t}),\r\n\tupdateSplashScreen: action(\"updateSplashScreen\"),\r\n\tupdateToolbarIcon: action(\"updateToolbarIcon\"),\r\n\tupdateTaskbarIcon: action(\"updateTaskbarIcon\"),\r\n\tupdateSystemTrayIcon: action(\"updateSystemTrayIcon\"),\r\n\tupdateInstallerIcon: action(\"updateInstallerIcon\"),\r\n\tareYouSure: (cb: Function) => {\r\n\t\tcb();\r\n\t},\r\n\tupdateThemes: action(\"updateTheme\"),\r\n\ttheme: {\r\n\t\tthemes: {\r\n\t\t\tDefault: darkTheme,\r\n\t\t},\r\n\t},\r\n});\r\n"]}
1
+ {"version":3,"file":"Themes.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Themes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,WAAW,CAAC;AAC/C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,eAAe;IACd,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAa,MAAM,EAAE;IACnD,eAAe,EAAE,CAAC,EAAY,EAAE,EAAE;QACjC,EAAE,CAAC;YACF,eAAe,EAAE,EAAE;YACnB,IAAI,EAAE,EAAE;YACR,IAAI,EAAE;gBACL,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,OAAO,EAAE,EAAE;gBACX,KAAK,EAAE,EAAE;aACT;YACD,MAAM,EAAE;gBACP,MAAM,EAAE,EAAE;gBACV,WAAW,EAAE,EAAE;gBACf,WAAW,EAAE,EAAE;gBACf,WAAW,EAAE,EAAE;gBACf,aAAa,EAAE,EAAE;gBACjB,WAAW,EAAE,EAAE;gBACf,cAAc,EAAE,EAAE;gBAClB,iBAAiB,EAAE,EAAE;aACrB;SACD,CAAC,CAAC;IACJ,CAAC;IACD,qBAAqB,EAAE,GAAG,EAAE,CAC3B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC;IACH,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC;IAClD,UAAU,EAAE,CAAC,EAAY,EAAE,EAAE;QAC5B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,YAAY,EAAE,MAAM,CAAC,aAAa,CAAC;IACnC,KAAK,EAAE;QACN,MAAM,EAAE;YACP,OAAO,EAAE,SAAS;SAClB;KACD;CACD,CAAC,CAAC","sourcesContent":["import { Themes, ThemeProps } from \"../Themes\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { action } from \"@storybook/addon-actions\";\nimport { darkTheme } from \"../themeDefinitions\";\nimport { createStory } from \"../../common/helpers\";\n\nexport default {\n\ttitle: \"Views/Themes\",\n\tcomponent: Themes,\n};\n\nexport const Page = createStory<ThemeProps>(Themes, {\n\tgetSDServerInfo: (cb: Function) => {\n\t\tcb({\n\t\t\tapplicationRoot: \"\",\n\t\t\tname: \"\",\n\t\t\tuser: {\n\t\t\t\tfirstName: \"\",\n\t\t\t\tlastName: \"\",\n\t\t\t\tcompany: \"\",\n\t\t\t\temail: \"\",\n\t\t\t},\n\t\t\texport: {\n\t\t\t\tauthor: \"\",\n\t\t\t\tcompanyName: \"\",\n\t\t\t\tdescription: \"\",\n\t\t\t\ttoolbarIcon: \"\",\n\t\t\t\tinstallerIcon: \"\",\n\t\t\t\ttaskbarIcon: \"\",\n\t\t\t\tsystemTrayIcon: \"\",\n\t\t\t\tsplashScreenImage: \"\",\n\t\t\t},\n\t\t});\n\t},\n\tupdateProjectSettings: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({ err: undefined });\n\t\t}),\n\tupdateSplashScreen: action(\"updateSplashScreen\"),\n\tupdateToolbarIcon: action(\"updateToolbarIcon\"),\n\tupdateTaskbarIcon: action(\"updateTaskbarIcon\"),\n\tupdateSystemTrayIcon: action(\"updateSystemTrayIcon\"),\n\tupdateInstallerIcon: action(\"updateInstallerIcon\"),\n\tareYouSure: (cb: Function) => {\n\t\tcb();\n\t},\n\tupdateThemes: action(\"updateTheme\"),\n\ttheme: {\n\t\tthemes: {\n\t\t\tDefault: darkTheme,\n\t\t},\n\t},\n});\n"]}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { ToolbarProps } from "../Toolbar";
3
+ import "../../../assets/css/finsemble.css";
4
+ import "../../common/css/styles.css";
5
+ import { Story } from "@storybook/react/types-6-0";
6
+ declare const _default: {
7
+ title: string;
8
+ component: (props: ToolbarProps) => JSX.Element;
9
+ };
10
+ export default _default;
11
+ export declare const EmptyApplications: Story<ToolbarProps>;
12
+ export declare const DefaultApplications: Story<ToolbarProps>;
13
+ export declare const Long: Story<ToolbarProps>;
14
+ export declare const ApplicationsWithTemporary: Story<ToolbarProps>;
@@ -0,0 +1,38 @@
1
+ import React from "react";
2
+ import { Toolbar } from "../Toolbar";
3
+ import "../../../assets/css/finsemble.css";
4
+ import "../../common/css/styles.css";
5
+ import { FinsembleProvider } from "../../FinsembleProvider";
6
+ import { initFSBL } from "../../common/helpers";
7
+ import { getApplicationsArgs } from "../fixtures/apps";
8
+ import { createStore } from "../../../store";
9
+ export default {
10
+ title: "Views/Toolbar",
11
+ component: Toolbar,
12
+ };
13
+ const Template = (args) => {
14
+ initFSBL(window);
15
+ return (React.createElement(FinsembleProvider, { store: createStore() },
16
+ React.createElement(Toolbar, Object.assign({}, args))));
17
+ };
18
+ export const EmptyApplications = (() => {
19
+ const Component = Template.bind({});
20
+ Component.args = getApplicationsArgs("empty");
21
+ return Component;
22
+ })();
23
+ export const DefaultApplications = (() => {
24
+ const Component = Template.bind({});
25
+ Component.args = getApplicationsArgs("default");
26
+ return Component;
27
+ })();
28
+ export const Long = (() => {
29
+ const Component = Template.bind({});
30
+ Component.args = getApplicationsArgs("long");
31
+ return Component;
32
+ })();
33
+ export const ApplicationsWithTemporary = (() => {
34
+ const Component = Template.bind({});
35
+ Component.args = getApplicationsArgs("temporary");
36
+ return Component;
37
+ })();
38
+ //# sourceMappingURL=Toolbar.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toolbar.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Toolbar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAgB,MAAM,YAAY,CAAC;AACnD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AAGrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,eAAe;IACd,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,OAAO;CAClB,CAAC;AAEF,MAAM,QAAQ,GAAwB,CAAC,IAAkB,EAAE,EAAE;IAC5D,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjB,OAAO,CACN,oBAAC,iBAAiB,IAAC,KAAK,EAAE,WAAW,EAAE;QACtC,oBAAC,OAAO,oBAAK,IAAI,EAAI,CACF,CACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE;IACtC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEpC,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE9C,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,GAAG,EAAE;IACxC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEpC,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAEhD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,GAAG,EAAE;IACzB,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEpC,SAAS,CAAC,IAAI,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAE7C,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,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 { Toolbar, ToolbarProps } from \"../Toolbar\";\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/Toolbar\",\n\tcomponent: Toolbar,\n};\n\nconst Template: Story<ToolbarProps> = (args: ToolbarProps) => {\n\tinitFSBL(window);\n\n\treturn (\n\t\t<FinsembleProvider store={createStore()}>\n\t\t\t<Toolbar {...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"]}