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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (745) 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.d.ts +1 -0
  314. package/react/components/processMonitor/stores/ProcessMonitorStore.js +51 -50
  315. package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
  316. package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
  317. package/react/components/quickComponentForm/index.js.map +1 -1
  318. package/react/components/quickComponentForm/quickComponent.css +3 -3
  319. package/react/components/search/Highlight.js.map +1 -1
  320. package/react/components/search/Highlight.spec.js.map +1 -1
  321. package/react/components/search/Highlight.stories.js.map +1 -1
  322. package/react/components/search/Search.js.map +1 -1
  323. package/react/components/search/SearchBestMatch.js.map +1 -1
  324. package/react/components/search/SearchInput.js.map +1 -1
  325. package/react/components/search/SearchProviderResults.js.map +1 -1
  326. package/react/components/search/SearchResult.js.map +1 -1
  327. package/react/components/search/SearchResults.js.map +1 -1
  328. package/react/components/search/index.js.map +1 -1
  329. package/react/components/shared/Animate.js.map +1 -1
  330. package/react/components/shared/BellIcon.js.map +1 -1
  331. package/react/components/shared/BellIconCrossed.js.map +1 -1
  332. package/react/components/shared/Button.js.map +1 -1
  333. package/react/components/shared/ConditionalWrapper.js.map +1 -1
  334. package/react/components/shared/DefaultDropdownButton.js +1 -1
  335. package/react/components/shared/DefaultDropdownButton.js.map +1 -1
  336. package/react/components/shared/NavigationButton.js.map +1 -1
  337. package/react/components/shared/Tag.js.map +1 -1
  338. package/react/components/shared/TagsMenu.js.map +1 -1
  339. package/react/components/shared/addProtocolToValidURL.js.map +1 -1
  340. package/react/components/shared/linkerUtil.js.map +1 -1
  341. package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
  342. package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -1
  343. package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -1
  344. package/react/components/shared/validateURL.js.map +1 -1
  345. package/react/components/shared/validateURL.spec.js.map +1 -1
  346. package/react/components/singleInputDialog/SingleInputDialog.css +3 -3
  347. package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
  348. package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -1
  349. package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -1
  350. package/react/components/singleInputDialog/index.js.map +1 -1
  351. package/react/components/smartDesktopDesigner/AddApp.d.ts +14 -0
  352. package/react/components/smartDesktopDesigner/AddApp.js +60 -0
  353. package/react/components/smartDesktopDesigner/AddApp.js.map +1 -0
  354. package/react/components/smartDesktopDesigner/AppEditAccess.js +16 -32
  355. package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
  356. package/react/components/smartDesktopDesigner/AppEditPage.d.ts +5 -19
  357. package/react/components/smartDesktopDesigner/AppEditPage.js +548 -59
  358. package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
  359. package/react/components/smartDesktopDesigner/Appearance.css +27 -94
  360. package/react/components/smartDesktopDesigner/Appearance.helpers.js.map +1 -1
  361. package/react/components/smartDesktopDesigner/Appearance.js +1 -1
  362. package/react/components/smartDesktopDesigner/Appearance.js.map +1 -1
  363. package/react/components/smartDesktopDesigner/Application.d.ts +1 -0
  364. package/react/components/smartDesktopDesigner/Application.js +151 -93
  365. package/react/components/smartDesktopDesigner/Application.js.map +1 -1
  366. package/react/components/smartDesktopDesigner/ApplicationList.d.ts +2 -1
  367. package/react/components/smartDesktopDesigner/ApplicationList.js +7 -3
  368. package/react/components/smartDesktopDesigner/ApplicationList.js.map +1 -1
  369. package/react/components/smartDesktopDesigner/Applications.d.ts +0 -3
  370. package/react/components/smartDesktopDesigner/Applications.js +52 -102
  371. package/react/components/smartDesktopDesigner/Applications.js.map +1 -1
  372. package/react/components/smartDesktopDesigner/AssetsPage.css +26 -26
  373. package/react/components/smartDesktopDesigner/AssetsPage.js.map +1 -1
  374. package/react/components/smartDesktopDesigner/Authentication.js +2 -9
  375. package/react/components/smartDesktopDesigner/Authentication.js.map +1 -1
  376. package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js +8 -1
  377. package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +1 -1
  378. package/react/components/smartDesktopDesigner/Content.js.map +1 -1
  379. package/react/components/smartDesktopDesigner/ContentHeader.d.ts +5 -0
  380. package/react/components/smartDesktopDesigner/ContentHeader.js +10 -0
  381. package/react/components/smartDesktopDesigner/ContentHeader.js.map +1 -0
  382. package/react/components/smartDesktopDesigner/CurrentView.js +2 -1
  383. package/react/components/smartDesktopDesigner/CurrentView.js.map +1 -1
  384. package/react/components/smartDesktopDesigner/Export.d.ts +1 -0
  385. package/react/components/smartDesktopDesigner/Export.js +40 -9
  386. package/react/components/smartDesktopDesigner/Export.js.map +1 -1
  387. package/react/components/smartDesktopDesigner/ExportCloud.d.ts +3 -1
  388. package/react/components/smartDesktopDesigner/ExportCloud.js +4 -6
  389. package/react/components/smartDesktopDesigner/ExportCloud.js.map +1 -1
  390. package/react/components/smartDesktopDesigner/ExportDeployInfo.js.map +1 -1
  391. package/react/components/smartDesktopDesigner/ExportZip.d.ts +3 -1
  392. package/react/components/smartDesktopDesigner/ExportZip.js +8 -3
  393. package/react/components/smartDesktopDesigner/ExportZip.js.map +1 -1
  394. package/react/components/smartDesktopDesigner/GettingStarted.d.ts +1 -0
  395. package/react/components/smartDesktopDesigner/GettingStarted.js +11 -25
  396. package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
  397. package/react/components/smartDesktopDesigner/Navigation.d.ts +2 -2
  398. package/react/components/smartDesktopDesigner/Navigation.js +17 -15
  399. package/react/components/smartDesktopDesigner/Navigation.js.map +1 -1
  400. package/react/components/smartDesktopDesigner/ProjectErrors.js.map +1 -1
  401. package/react/components/smartDesktopDesigner/Publish.js.map +1 -1
  402. package/react/components/smartDesktopDesigner/PublishProgress.js.map +1 -1
  403. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +3 -3
  404. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +11 -17
  405. package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
  406. package/react/components/smartDesktopDesigner/ThemePage.css +109 -110
  407. package/react/components/smartDesktopDesigner/ThemePage.js +0 -7
  408. package/react/components/smartDesktopDesigner/ThemePage.js.map +1 -1
  409. package/react/components/smartDesktopDesigner/Themes.js +0 -2
  410. package/react/components/smartDesktopDesigner/Themes.js.map +1 -1
  411. package/react/components/smartDesktopDesigner/Toolbar.d.ts +15 -0
  412. package/react/components/smartDesktopDesigner/Toolbar.js +123 -0
  413. package/react/components/smartDesktopDesigner/Toolbar.js.map +1 -0
  414. package/react/components/smartDesktopDesigner/View.js +1 -1
  415. package/react/components/smartDesktopDesigner/View.js.map +1 -1
  416. package/react/components/smartDesktopDesigner/common/fsbl_functions.d.ts +1 -1
  417. package/react/components/smartDesktopDesigner/common/fsbl_functions.js +2 -2
  418. package/react/components/smartDesktopDesigner/common/fsbl_functions.js.map +1 -1
  419. package/react/components/smartDesktopDesigner/common/getCSSVars.js.map +1 -1
  420. package/react/components/smartDesktopDesigner/common/views.d.ts +2 -36
  421. package/react/components/smartDesktopDesigner/common/views.js +150 -111
  422. package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
  423. package/react/components/smartDesktopDesigner/css/appearance.css +18 -10
  424. package/react/components/smartDesktopDesigner/css/applications.css +167 -127
  425. package/react/components/smartDesktopDesigner/css/authentication.css +119 -125
  426. package/react/components/smartDesktopDesigner/css/buttons.css +12 -12
  427. package/react/components/smartDesktopDesigner/css/export.css +176 -163
  428. package/react/components/smartDesktopDesigner/css/getting-started.css +28 -6
  429. package/react/components/smartDesktopDesigner/css/nav.css +120 -93
  430. package/react/components/smartDesktopDesigner/css/project-errors.css +15 -15
  431. package/react/components/smartDesktopDesigner/css/project-header.css +124 -121
  432. package/react/components/smartDesktopDesigner/css/styles.css +178 -179
  433. package/react/components/smartDesktopDesigner/css/views.css +23 -16
  434. package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +2 -0
  435. package/react/components/smartDesktopDesigner/fixtures/apps.js +41 -6
  436. package/react/components/smartDesktopDesigner/fixtures/apps.js.map +1 -1
  437. package/react/components/smartDesktopDesigner/fixtures/authenticationProps.js.map +1 -1
  438. package/react/components/smartDesktopDesigner/fixtures/configTemplate.js.map +1 -1
  439. package/react/components/smartDesktopDesigner/fixtures/exportProps.js +3 -0
  440. package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +1 -1
  441. package/react/components/smartDesktopDesigner/fixtures/projectErrorsProps.js.map +1 -1
  442. package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +1 -1
  443. package/react/components/smartDesktopDesigner/fixtures/themeProps.js.map +1 -1
  444. package/react/components/smartDesktopDesigner/fixtures/views.d.ts +2 -2
  445. package/react/components/smartDesktopDesigner/fixtures/views.js +58 -26
  446. package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
  447. package/react/components/smartDesktopDesigner/sdd_helpers.d.ts +1 -1
  448. package/react/components/smartDesktopDesigner/sdd_helpers.js +4 -3
  449. package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
  450. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +3 -1
  451. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +12 -33
  452. package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +1 -1
  453. package/react/components/smartDesktopDesigner/stories/Appearance.stories.js.map +1 -1
  454. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +2 -1
  455. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js +8 -1
  456. package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +1 -1
  457. package/react/components/smartDesktopDesigner/stories/Applications.stories.js.map +1 -1
  458. package/react/components/smartDesktopDesigner/stories/AssetsPage.stories.js.map +1 -1
  459. package/react/components/smartDesktopDesigner/stories/Authentication.stories.js.map +1 -1
  460. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.d.ts +10 -0
  461. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js +13 -0
  462. package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js.map +1 -0
  463. package/react/components/smartDesktopDesigner/stories/Export.stories.js.map +1 -1
  464. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.d.ts +1 -1
  465. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js +1 -1
  466. package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +1 -1
  467. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.d.ts +1 -1
  468. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js +1 -1
  469. package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +1 -1
  470. package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js.map +1 -1
  471. package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +1 -1
  472. package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js.map +1 -1
  473. package/react/components/smartDesktopDesigner/stories/Publish.stories.js.map +1 -1
  474. package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js.map +1 -1
  475. package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js +7 -1
  476. package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +1 -1
  477. package/react/components/smartDesktopDesigner/stories/ThemePage.stories.js.map +1 -1
  478. package/react/components/smartDesktopDesigner/stories/Themes.stories.js.map +1 -1
  479. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.d.ts +14 -0
  480. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js +38 -0
  481. package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js.map +1 -0
  482. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +73 -122
  483. package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
  484. package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +1 -1
  485. package/react/components/smartDesktopDesigner/tests/Applications.spec.d.ts +1 -1
  486. package/react/components/smartDesktopDesigner/tests/Applications.spec.js +61 -560
  487. package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +1 -1
  488. package/react/components/smartDesktopDesigner/tests/Authentication.spec.js.map +1 -1
  489. package/react/components/smartDesktopDesigner/tests/{ProjectHeader.spec.d.ts → ContentHeader.spec.d.ts} +0 -0
  490. package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js +31 -0
  491. package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js.map +1 -0
  492. package/react/components/smartDesktopDesigner/tests/Export.spec.js +129 -0
  493. package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +1 -1
  494. package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js +7 -0
  495. package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +1 -1
  496. package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +1 -1
  497. package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +3 -14
  498. package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +1 -1
  499. package/react/components/smartDesktopDesigner/tests/Publish.spec.js.map +1 -1
  500. package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js.map +1 -1
  501. package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js +2 -31
  502. package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +1 -1
  503. package/react/components/smartDesktopDesigner/tests/Themes.spec.js.map +1 -1
  504. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.d.ts +1 -0
  505. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js +203 -0
  506. package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +1 -0
  507. package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +1 -1
  508. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.d.ts +1 -0
  509. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js +18 -0
  510. package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +1 -0
  511. package/react/components/smartDesktopDesigner/themeDefinitions.js.map +1 -1
  512. package/react/components/system/System.js.map +1 -1
  513. package/react/components/system/System.spec.js.map +1 -1
  514. package/react/components/system/System.stories.js.map +1 -1
  515. package/react/components/system/SystemTrayComponentShell.js.map +1 -1
  516. package/react/components/system/index.js.map +1 -1
  517. package/react/components/toolbar/AutoArrange.js.map +1 -1
  518. package/react/components/toolbar/DragHandle.js.map +1 -1
  519. package/react/components/toolbar/MinimizeAll.js.map +1 -1
  520. package/react/components/toolbar/MinimizeAll.spec.js.map +1 -1
  521. package/react/components/toolbar/MinimizeAll.stories.js.map +1 -1
  522. package/react/components/toolbar/NotificationControl.js.map +1 -1
  523. package/react/components/toolbar/RevealAll.js.map +1 -1
  524. package/react/components/toolbar/RevealAll.spec.js.map +1 -1
  525. package/react/components/toolbar/RevealAll.stories.js.map +1 -1
  526. package/react/components/toolbar/ToolbarIcon.js.map +1 -1
  527. package/react/components/toolbar/ToolbarSection.js.map +1 -1
  528. package/react/components/toolbar/ToolbarShell.js.map +1 -1
  529. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
  530. package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
  531. package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
  532. package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
  533. package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
  534. package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
  535. package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
  536. package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
  537. package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
  538. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +47 -45
  539. package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
  540. package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
  541. package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
  542. package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
  543. package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
  544. package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
  545. package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -1
  546. package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
  547. package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
  548. package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
  549. package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
  550. package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
  551. package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
  552. package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
  553. package/react/components/toolbar/appLauncher/DynamicAppLauncher.js.map +1 -1
  554. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +1 -0
  555. package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
  556. package/react/components/toolbar/appLauncher/appLauncher.css +30 -30
  557. package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
  558. package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +1 -0
  559. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +17 -34
  560. package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
  561. package/react/components/toolbar/dashbar/Dashbar.js +3 -1
  562. package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
  563. package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
  564. package/react/components/toolbar/index.js.map +1 -1
  565. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +1 -1
  566. package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
  567. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +1 -1
  568. package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
  569. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
  570. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +1 -1
  571. package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
  572. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +1 -1
  573. package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
  574. package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +90 -90
  575. package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
  576. package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -1
  577. package/react/components/userPreferences/UserPreferences.js.map +1 -1
  578. package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
  579. package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
  580. package/react/components/userPreferences/components/ContentSection.js.map +1 -1
  581. package/react/components/userPreferences/components/LeftNav.js.map +1 -1
  582. package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
  583. package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -1
  584. package/react/components/userPreferences/components/content/General.js.map +1 -1
  585. package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
  586. package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
  587. package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
  588. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
  589. package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
  590. package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
  591. package/react/components/userPreferences/components/general/ScheduledRestart.js.map +1 -1
  592. package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
  593. package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
  594. package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
  595. package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
  596. package/react/components/userPreferences/index.js.map +1 -1
  597. package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
  598. package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +1 -1
  599. package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +1 -1
  600. package/react/components/userPreferences/stories/General.stories.js.map +1 -1
  601. package/react/components/userPreferences/stories/Notifications.stories.js.map +1 -1
  602. package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -1
  603. package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -1
  604. package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -1
  605. package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -1
  606. package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +1 -1
  607. package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +1 -1
  608. package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +1 -1
  609. package/react/components/userPreferences/stories/Workspaces.stories.js.map +1 -1
  610. package/react/components/userPreferences/tests/ContentSection.spec.js.map +1 -1
  611. package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +1 -1
  612. package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +1 -1
  613. package/react/components/userPreferences/tests/General.spec.js.map +1 -1
  614. package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -1
  615. package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +1 -1
  616. package/react/components/userPreferences/tests/Notifications.spec.js.map +1 -1
  617. package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -1
  618. package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +1 -1
  619. package/react/components/userPreferences/tests/ScheduledRestart.spec.js +1 -1
  620. package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
  621. package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +1 -1
  622. package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +1 -1
  623. package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +1 -1
  624. package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +1 -1
  625. package/react/components/utils.js.map +1 -1
  626. package/react/components/windowTitleBar/WindowTitleBarShell.js +8 -1
  627. package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
  628. package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -1
  629. package/react/components/windowTitleBar/components/center/Tab.js +2 -2
  630. package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
  631. package/react/components/windowTitleBar/components/center/TabList.d.ts +0 -1
  632. package/react/components/windowTitleBar/components/center/TabList.js +16 -79
  633. package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
  634. package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -1
  635. package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
  636. package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -1
  637. package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
  638. package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -1
  639. package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -1
  640. package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -1
  641. package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
  642. package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
  643. package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +7 -0
  644. package/react/components/windowTitleBar/components/right/MaximizeButton.js +11 -1
  645. package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
  646. package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
  647. package/react/components/windowTitleBar/components/windowTitle.d.ts +5 -4
  648. package/react/components/windowTitleBar/components/windowTitle.js +102 -39
  649. package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
  650. package/react/components/windowTitleBar/index.js.map +1 -1
  651. package/react/components/windowTitleBar/stores/windowTitleBarStore.js +5 -1
  652. package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
  653. package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -1
  654. package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -1
  655. package/react/components/yesNoDialog/Timer.spec.js.map +1 -1
  656. package/react/components/yesNoDialog/Timer.stories.js.map +1 -1
  657. package/react/components/yesNoDialog/YesNoDialog.css +3 -3
  658. package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
  659. package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
  660. package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -1
  661. package/react/components/yesNoDialog/index.js.map +1 -1
  662. package/react/components/yesNoDialog/timer.js.map +1 -1
  663. package/react/enzymeSetup.js +1 -1
  664. package/react/enzymeSetup.js.map +1 -1
  665. package/react/hooks/index.js.map +1 -1
  666. package/react/hooks/useAuth.js.map +1 -1
  667. package/react/hooks/useDashbar.d.ts +8 -0
  668. package/react/hooks/useDashbar.js +104 -0
  669. package/react/hooks/useDashbar.js.map +1 -0
  670. package/react/hooks/useDeepEffect.js.map +1 -1
  671. package/react/hooks/useFavorites.js.map +1 -1
  672. package/react/hooks/useFavoritesShell.js.map +1 -1
  673. package/react/hooks/useHotkey.js.map +1 -1
  674. package/react/hooks/useLinker.js.map +1 -1
  675. package/react/hooks/useMenu.js.map +1 -1
  676. package/react/hooks/useNotifications.js.map +1 -1
  677. package/react/hooks/useOutsideClickDetector.js.map +1 -1
  678. package/react/hooks/usePubSub.js.map +1 -1
  679. package/react/hooks/useSearch.js.map +1 -1
  680. package/react/hooks/useToolbar.d.ts +0 -6
  681. package/react/hooks/useToolbar.js +0 -101
  682. package/react/hooks/useToolbar.js.map +1 -1
  683. package/react/hooks/useWorkspace.js.map +1 -1
  684. package/react/reducers/favoriteReducer.js.map +1 -1
  685. package/react/reducers/linkerReducer.js.map +1 -1
  686. package/react/reducers/menuReducer.js.map +1 -1
  687. package/react/reducers/rootReducer.d.ts +0 -4
  688. package/react/reducers/rootReducer.js.map +1 -1
  689. package/react/reducers/searchReducer.js.map +1 -1
  690. package/react/reducers/smartDesktopDesignerReducer.js +0 -3
  691. package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
  692. package/react/reducers/toolbarReducer.js.map +1 -1
  693. package/react/reducers/workspaceReducer.js.map +1 -1
  694. package/react/store.d.ts +0 -8
  695. package/react/store.js.map +1 -1
  696. package/react/types/advancedAppLauncherTypes.js.map +1 -1
  697. package/react/types/dashbarTypes.js.map +1 -1
  698. package/react/types/favoriteTypes.js.map +1 -1
  699. package/react/types/fdc3.d.ts +7 -35
  700. package/react/types/fdc3.js.map +1 -1
  701. package/react/types/hotkeyTypes.js.map +1 -1
  702. package/react/types/iconTypes.js.map +1 -1
  703. package/react/types/linkerTypes.js.map +1 -1
  704. package/react/types/searchTypes.js.map +1 -1
  705. package/react/types/smartDesktopDesignerTypes.d.ts +45 -5
  706. package/react/types/smartDesktopDesignerTypes.js.map +1 -1
  707. package/react/types/windowTitleBar.d.ts +3 -2
  708. package/react/types/windowTitleBar.js.map +1 -1
  709. package/react/types/workspaceTypes.js.map +1 -1
  710. package/react/components/common/FontSizeSelector.d.ts +0 -7
  711. package/react/components/common/FontSizeSelector.js +0 -42
  712. package/react/components/common/FontSizeSelector.js.map +0 -1
  713. package/react/components/common/stories/FontSizeSelector.stories.d.ts +0 -12
  714. package/react/components/common/stories/FontSizeSelector.stories.js +0 -24
  715. package/react/components/common/stories/FontSizeSelector.stories.js.map +0 -1
  716. package/react/components/smartDesktopDesigner/ApplicationEdit.d.ts +0 -25
  717. package/react/components/smartDesktopDesigner/ApplicationEdit.js +0 -103
  718. package/react/components/smartDesktopDesigner/ApplicationEdit.js.map +0 -1
  719. package/react/components/smartDesktopDesigner/ApplicationSetup.d.ts +0 -23
  720. package/react/components/smartDesktopDesigner/ApplicationSetup.js +0 -73
  721. package/react/components/smartDesktopDesigner/ApplicationSetup.js.map +0 -1
  722. package/react/components/smartDesktopDesigner/ProjectHeader.d.ts +0 -14
  723. package/react/components/smartDesktopDesigner/ProjectHeader.js +0 -70
  724. package/react/components/smartDesktopDesigner/ProjectHeader.js.map +0 -1
  725. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.d.ts +0 -4
  726. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js +0 -45
  727. package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js.map +0 -1
  728. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.d.ts +0 -3
  729. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js +0 -29
  730. package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js.map +0 -1
  731. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.d.ts +0 -12
  732. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js +0 -21
  733. package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js.map +0 -1
  734. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.d.ts +0 -12
  735. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js +0 -28
  736. package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js.map +0 -1
  737. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.d.ts +0 -10
  738. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js +0 -19
  739. package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js.map +0 -1
  740. package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js +0 -66
  741. package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js.map +0 -1
  742. package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js +0 -41
  743. package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js.map +0 -1
  744. package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js +0 -27
  745. package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AppList.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/AppList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAGhC,MAAM,aAAa,GAAG,CAAC,CAAC;AAOxB,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,aAAa,GAAG,GAAG,EAAE;QAC1B,MAAM,IAAI,GAAG,EAAE,CAAC;QAChB,IAAI,UAAU,GAAG,EAAE,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC5C,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC5B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC;YAErC,MAAM,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC;YAEpC,UAAU,CAAC,IAAI,CACd,4BAAI,GAAG,EAAE,OAAO;gBACf,oBAAC,OAAO,oBAAK,IAAI,IAAE,eAAe,EAAE,KAAK,CAAC,eAAe,IAAI,CACzD,CACL,CAAC;YAEF,IAAI,UAAU,CAAC,MAAM,KAAK,aAAa,IAAI,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;gBACxE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBACtB,UAAU,GAAG,EAAE,CAAC;aAChB;SACD;QAED,OAAO,IAAI,CAAC;IACb,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,eAAe;QAC7B;YACC,mCACE,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAChC,4BAAI,GAAG,EAAE,WAAW,CAAC,EAAE,IAAG,GAAG,CAAM,CACnC,CAAC,CACK,CACD,CACH,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import React from \"react\";\r\nimport AppCard from \"./AppCard\";\r\nimport { AppMetadata } from \"../../../types/fdc3\";\r\n\r\nconst CARDS_PER_ROW = 2;\r\n\r\ntype AppListProps = {\r\n\tcards: AppMetadata[];\r\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\r\n};\r\n\r\nconst AppList = (props: AppListProps) => {\r\n\tconst getCardsInRow = () => {\r\n\t\tconst rows = [];\r\n\t\tlet cardsInRow = [];\r\n\r\n\t\tfor (let i = 0; i < props.cards.length; i++) {\r\n\t\t\tconst card = props.cards[i];\r\n\t\t\tconst name = card.title || card.name;\r\n\r\n\t\t\tconst cardKey = `card ${name} ${i}`;\r\n\r\n\t\t\tcardsInRow.push(\r\n\t\t\t\t<td key={cardKey}>\r\n\t\t\t\t\t<AppCard {...card} viewAppShowcase={props.viewAppShowcase} />\r\n\t\t\t\t</td>\r\n\t\t\t);\r\n\r\n\t\t\tif (cardsInRow.length === CARDS_PER_ROW || i === props.cards.length - 1) {\r\n\t\t\t\trows.push(cardsInRow);\r\n\t\t\t\tcardsInRow = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn rows;\r\n\t};\r\n\r\n\treturn (\r\n\t\t<div className=\"app-card-list\">\r\n\t\t\t<table>\r\n\t\t\t\t<tbody>\r\n\t\t\t\t\t{getCardsInRow().map((row, i) => (\r\n\t\t\t\t\t\t<tr key={`cardrow-${i}`}>{row}</tr>\r\n\t\t\t\t\t))}\r\n\t\t\t\t</tbody>\r\n\t\t\t</table>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default AppList;\r\n"]}
1
+ {"version":3,"file":"AppList.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/AppList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAGhC,MAAM,aAAa,GAAG,CAAC,CAAC;AAOxB,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,aAAa,GAAG,GAAG,EAAE;QAC1B,MAAM,IAAI,GAAG,EAAE,CAAC;QAChB,IAAI,UAAU,GAAG,EAAE,CAAC;QAEpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC5C,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC5B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC;YAErC,MAAM,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC;YAEpC,UAAU,CAAC,IAAI,CACd,4BAAI,GAAG,EAAE,OAAO;gBACf,oBAAC,OAAO,oBAAK,IAAI,IAAE,eAAe,EAAE,KAAK,CAAC,eAAe,IAAI,CACzD,CACL,CAAC;YAEF,IAAI,UAAU,CAAC,MAAM,KAAK,aAAa,IAAI,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;gBACxE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBACtB,UAAU,GAAG,EAAE,CAAC;aAChB;SACD;QAED,OAAO,IAAI,CAAC;IACb,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,eAAe;QAC7B;YACC,mCACE,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAChC,4BAAI,GAAG,EAAE,WAAW,CAAC,EAAE,IAAG,GAAG,CAAM,CACnC,CAAC,CACK,CACD,CACH,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import React from \"react\";\nimport AppCard from \"./AppCard\";\nimport { AppMetadata } from \"../../../types/fdc3\";\n\nconst CARDS_PER_ROW = 2;\n\ntype AppListProps = {\n\tcards: AppMetadata[];\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\n};\n\nconst AppList = (props: AppListProps) => {\n\tconst getCardsInRow = () => {\n\t\tconst rows = [];\n\t\tlet cardsInRow = [];\n\n\t\tfor (let i = 0; i < props.cards.length; i++) {\n\t\t\tconst card = props.cards[i];\n\t\t\tconst name = card.title || card.name;\n\n\t\t\tconst cardKey = `card ${name} ${i}`;\n\n\t\t\tcardsInRow.push(\n\t\t\t\t<td key={cardKey}>\n\t\t\t\t\t<AppCard {...card} viewAppShowcase={props.viewAppShowcase} />\n\t\t\t\t</td>\n\t\t\t);\n\n\t\t\tif (cardsInRow.length === CARDS_PER_ROW || i === props.cards.length - 1) {\n\t\t\t\trows.push(cardsInRow);\n\t\t\t\tcardsInRow = [];\n\t\t\t}\n\t\t}\n\n\t\treturn rows;\n\t};\n\n\treturn (\n\t\t<div className=\"app-card-list\">\n\t\t\t<table>\n\t\t\t\t<tbody>\n\t\t\t\t\t{getCardsInRow().map((row, i) => (\n\t\t\t\t\t\t<tr key={`cardrow-${i}`}>{row}</tr>\n\t\t\t\t\t))}\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t</div>\n\t);\n};\n\nexport default AppList;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AppResults.js","sourceRoot":"","sources":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C,CAAC;YAC/B,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC;YAEnC,IAAI,GAAG,GAAG,QAAQ,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YAE5C,UAAU,CAAC,IAAI,CACd,4BAAI,GAAG,EAAE,GAAG;gBACX,oBAAC,OAAO,oBAAK,IAAI,IAAE,eAAe,EAAE,KAAK,CAAC,eAAe,IAAI,CACzD,CACL,CAAC;YAEF,IAAI,UAAU,CAAC,MAAM,KAAK,uBAAuB,IAAI,CAAC,KAAK,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;gBACvF,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAC1B,UAAU,GAAG,EAAE,CAAC;aAChB;SACD;QAED,OAAO,QAAQ,CAAC;IACjB,CAAC,CAAC;IAEF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,oBAAC,YAAY,OAAG,CAAC;IAE3D,IAAI,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE7B,OAAO,CACN,6BAAK,SAAS,EAAC,aAAa;QAC3B,+BAAO,SAAS,EAAC,mBAAmB;YACnC,mCACE,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,4BAAI,GAAG,EAAE,YAAY,CAAC,EAAE,IAAG,GAAG,CAAM,CACpC,CAAC,CACK,CACD,CACH,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\n//components\r\nimport EmptyResults from \"./EmptyResults\";\r\nimport AppCard from \"./AppCard\";\r\nimport { AppMetadata } from \"../../../types/fdc3\";\r\n\r\n//consts\r\nconst NUMBER_OF_CARDS_PER_ROW = 2;\r\n\r\ntype ResultsProps = {\r\n\ttags: string[];\r\n\tcards: (AppMetadata & { tags: string[] })[];\r\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\r\n};\r\n\r\n/**\r\n * The results page. Shown when filter tags are applied, search text is entered, or both.\r\n * @param {object} props Component props\r\n * @param {array} props.tags Array of tags that are applied for filtering\r\n * @param {array} props.cards Array of app card objects (apps that come from FDC app directory)\r\n * @param {func} props.addApp See AppCard.jsx\r\n * @param {func} props.removeApp See AppCard.jsx\r\n * @param {func} props.openAppShowcase See AppCard.jsx\r\n * @param {func} props.addTag Parent function to add a filtering tag\r\n */\r\nconst AppResults = (props: ResultsProps) => {\r\n\t/**\r\n\t * Function to take the incoming apps and any filtering tags and filter the list.\r\n\t * If there are no tags, we'll use all of the cards supplied\r\n\t */\r\n\tconst buildResultCards = () => {\r\n\t\tlet cardsForShowcase = [];\r\n\r\n\t\t//Filter cards by tags\r\n\t\tif (props.tags && props.tags.length > 0) {\r\n\t\t\tcardsForShowcase = props.cards.filter((card) => {\r\n\t\t\t\tfor (let i = 0; i < props.tags.length; i++) {\r\n\t\t\t\t\tlet tagToSearchFor = props.tags[i];\r\n\t\t\t\t\tif (!card.tags.includes(tagToSearchFor)) return false;\r\n\t\t\t\t}\r\n\t\t\t\treturn true;\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tcardsForShowcase = props.cards;\r\n\t\t}\r\n\r\n\t\treturn cardsForShowcase;\r\n\t};\r\n\r\n\tlet cardsForShowcase = buildResultCards();\r\n\r\n\t/**\r\n\t * Function to build the table of cards based on filtered information\r\n\t */\r\n\tconst getCardRows = () => {\r\n\t\tlet cardRows = [];\r\n\t\tlet cardsInRow = [];\r\n\t\tfor (let i = 0; i < cardsForShowcase.length; i++) {\r\n\t\t\tlet card = cardsForShowcase[i];\r\n\t\t\tlet name = card.title || card.name;\r\n\r\n\t\t\tlet key = `card-${i}-${name.toLowerCase()}`;\r\n\r\n\t\t\tcardsInRow.push(\r\n\t\t\t\t<td key={key}>\r\n\t\t\t\t\t<AppCard {...card} viewAppShowcase={props.viewAppShowcase} />\r\n\t\t\t\t</td>\r\n\t\t\t);\r\n\r\n\t\t\tif (cardsInRow.length === NUMBER_OF_CARDS_PER_ROW || i === cardsForShowcase.length - 1) {\r\n\t\t\t\tcardRows.push(cardsInRow);\r\n\t\t\t\tcardsInRow = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn cardRows;\r\n\t};\r\n\r\n\tif (cardsForShowcase.length === 0) return <EmptyResults />;\r\n\r\n\tlet cardRows = getCardRows();\r\n\r\n\treturn (\r\n\t\t<div className=\"app-results\">\r\n\t\t\t<table className=\"app-results-table\">\r\n\t\t\t\t<tbody>\r\n\t\t\t\t\t{cardRows.map((row, i) => (\r\n\t\t\t\t\t\t<tr key={`tablerow-${i}`}>{row}</tr>\r\n\t\t\t\t\t))}\r\n\t\t\t\t</tbody>\r\n\t\t\t</table>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default AppResults;\r\n"]}
1
+ {"version":3,"file":"AppResults.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/AppResults.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,OAAO,MAAM,WAAW,CAAC;AAIhC,MAAM,uBAAuB,GAAG,CAAC,CAAC;AAkBlC,MAAM,UAAU,GAAG,CAAC,KAAmB,EAAE,EAAE;IAK1C,MAAM,gBAAgB,GAAG,GAAG,EAAE;QAC7B,IAAI,gBAAgB,GAAG,EAAE,CAAC;QAG1B,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;YACxC,gBAAgB,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;gBAC9C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAA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AAE,OAAO,oBAAC,YAAY,OAAG,CAAC;IAE3D,IAAI,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE7B,OAAO,CACN,6BAAK,SAAS,EAAC,aAAa;QAC3B,+BAAO,SAAS,EAAC,mBAAmB;YACnC,mCACE,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,4BAAI,GAAG,EAAE,YAAY,CAAC,EAAE,IAAG,GAAG,CAAM,CACpC,CAAC,CACK,CACD,CACH,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\n//components\nimport EmptyResults from \"./EmptyResults\";\nimport AppCard from \"./AppCard\";\nimport { AppMetadata } from \"../../../types/fdc3\";\n\n//consts\nconst NUMBER_OF_CARDS_PER_ROW = 2;\n\ntype ResultsProps = {\n\ttags: string[];\n\tcards: (AppMetadata & { tags: string[] })[];\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\n};\n\n/**\n * The results page. Shown when filter tags are applied, search text is entered, or both.\n * @param {object} props Component props\n * @param {array} props.tags Array of tags that are applied for filtering\n * @param {array} props.cards Array of app card objects (apps that come from FDC app directory)\n * @param {func} props.addApp See AppCard.jsx\n * @param {func} props.removeApp See AppCard.jsx\n * @param {func} props.openAppShowcase See AppCard.jsx\n * @param {func} props.addTag Parent function to add a filtering tag\n */\nconst AppResults = (props: ResultsProps) => {\n\t/**\n\t * Function to take the incoming apps and any filtering tags and filter the list.\n\t * If there are no tags, we'll use all of the cards supplied\n\t */\n\tconst buildResultCards = () => {\n\t\tlet cardsForShowcase = [];\n\n\t\t//Filter cards by tags\n\t\tif (props.tags && props.tags.length > 0) {\n\t\t\tcardsForShowcase = props.cards.filter((card) => {\n\t\t\t\tfor (let i = 0; i < props.tags.length; i++) {\n\t\t\t\t\tlet tagToSearchFor = props.tags[i];\n\t\t\t\t\tif (!card.tags.includes(tagToSearchFor)) return false;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t});\n\t\t} else {\n\t\t\tcardsForShowcase = props.cards;\n\t\t}\n\n\t\treturn cardsForShowcase;\n\t};\n\n\tlet cardsForShowcase = buildResultCards();\n\n\t/**\n\t * Function to build the table of cards based on filtered information\n\t */\n\tconst getCardRows = () => {\n\t\tlet cardRows = [];\n\t\tlet cardsInRow = [];\n\t\tfor (let i = 0; i < cardsForShowcase.length; i++) {\n\t\t\tlet card = cardsForShowcase[i];\n\t\t\tlet name = card.title || card.name;\n\n\t\t\tlet key = `card-${i}-${name.toLowerCase()}`;\n\n\t\t\tcardsInRow.push(\n\t\t\t\t<td key={key}>\n\t\t\t\t\t<AppCard {...card} viewAppShowcase={props.viewAppShowcase} />\n\t\t\t\t</td>\n\t\t\t);\n\n\t\t\tif (cardsInRow.length === NUMBER_OF_CARDS_PER_ROW || i === cardsForShowcase.length - 1) {\n\t\t\t\tcardRows.push(cardsInRow);\n\t\t\t\tcardsInRow = [];\n\t\t\t}\n\t\t}\n\n\t\treturn cardRows;\n\t};\n\n\tif (cardsForShowcase.length === 0) return <EmptyResults />;\n\n\tlet cardRows = getCardRows();\n\n\treturn (\n\t\t<div className=\"app-results\">\n\t\t\t<table className=\"app-results-table\">\n\t\t\t\t<tbody>\n\t\t\t\t\t{cardRows.map((row, i) => (\n\t\t\t\t\t\t<tr key={`tablerow-${i}`}>{row}</tr>\n\t\t\t\t\t))}\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t</div>\n\t);\n};\n\nexport default AppResults;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Carousel.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAGlD,OAAO,OAAO,MAAM,WAAW,CAAC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ACI;YACN,6BAAK,SAAS,EAAC,kBAAkB;gBAChC,2BAAG,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,UAAU,GAAI;gBACxD,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC9B,oBAAC,OAAO,kBAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAM,IAAI,IAAE,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,IAAI,CACtG,CAAC;gBACD,YAAY,CAAC,MAAM,KAAK,CAAC,IAAI,6BAAK,SAAS,EAAC,sBAAsB,GAAO;gBAAE,GAAG;gBAE/E,2BAAG,SAAS,EAAE,mBAAmB,EAAE,OAAO,EAAE,WAAW,GAAI,CACtD,CACD,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React, { Component } from \"react\";\r\n\r\n//data\r\nimport storeActions from \"../stores/storeActions\";\r\n\r\n//components\r\nimport AppCard from \"./AppCard\";\r\n\r\n//consts\r\nconst CARDS_PER_PAGE = 2;\r\n\r\n/**\r\n * A carousel of AppCards\r\n * @param {object} props Component props\r\n * @param {array} props.cards An array of AppCards to display in a carousel\r\n * @param {string} props.tag The carousel's tag (title)\r\n * @param {func} props.openAppShowcase Parent function to show the AppShowcase for the selected card\r\n */\r\nexport default class Carousel extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tfirstIndex: 0,\r\n\t\t\ttitleHighlighted: false,\r\n\t\t};\r\n\t\tthis.bindCorrectContext();\r\n\t\tif (this.props.cards.length < 3) this.notEnoughCards();\r\n\t}\r\n\r\n\tbindCorrectContext() {\r\n\t\tthis.pageUp = this.pageUp.bind(this);\r\n\t\tthis.pageDown = this.pageDown.bind(this);\r\n\t\tthis.highlightTitle = this.highlightTitle.bind(this);\r\n\t\tthis.seeMore = this.seeMore.bind(this);\r\n\t\tthis.notEnoughCards = this.notEnoughCards.bind(this);\r\n\t\tthis.buildCarousel = this.buildCarousel.bind(this);\r\n\t}\r\n\r\n\t/**\r\n\t * Pages through the carousel by one card (right)\r\n\t */\r\n\tpageUp() {\r\n\t\tlet index = this.state.firstIndex;\r\n\r\n\t\t//If increasing the carousel's first index will move beyond the array's limits, we reset back to zero\r\n\t\tif (index + 1 <= this.props.cards.length - 1) {\r\n\t\t\tindex++;\r\n\t\t}\r\n\r\n\t\tthis.setState({\r\n\t\t\tfirstIndex: index,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Pages through the carousel by one card (left)\r\n\t */\r\n\tpageDown() {\r\n\t\tlet index = this.state.firstIndex;\r\n\t\tif (index - 1 >= 0) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tfirstIndex: index - 1,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Toggles the highlight on a carousel's title. When a user mouses over, we want to style it so its obvious its a link\r\n\t * @param {*} highlight\r\n\t */\r\n\thighlightTitle(highlight) {\r\n\t\tthis.setState({\r\n\t\t\ttitleHighlighted: highlight,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Calls the parents seeMore function, which will add the selected tag as a filter\r\n\t */\r\n\tseeMore() {\r\n\t\tstoreActions.addTag(this.props.tag);\r\n\t}\r\n\r\n\t/**\r\n\t * Spits out a warning if the number of cards supplied to the carousel is < 3\r\n\t */\r\n\tnotEnoughCards() {\r\n\t\tconsole.warn(\"Less than 3 card supplied. This carousel will not display optimally\");\r\n\t}\r\n\r\n\t/**\r\n\t * Function to build the items in the carousel\r\n\t */\r\n\tbuildCarousel() {\r\n\t\tlet { cards } = this.props;\r\n\t\tlet firstCard = this.state.firstIndex;\r\n\r\n\t\tlet displayCards = [];\r\n\t\tfor (let i = 0; i < CARDS_PER_PAGE; i++) {\r\n\t\t\tif (firstCard >= 0 && firstCard <= cards.length - 1) {\r\n\t\t\t\tdisplayCards.push(cards[firstCard]);\r\n\t\t\t\tfirstCard++;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn displayCards;\r\n\t}\r\n\r\n\trender() {\r\n\t\tlet displayCards = this.buildCarousel();\r\n\t\tlet titleClass = \"carousel-title\";\r\n\t\tif (this.state.titleHighlighted) titleClass = `${titleClass} highlight`;\r\n\r\n\t\tlet chevron_left_style = \"ff-adp-chevron-left\",\r\n\t\t\tchevron_right_style = \"ff-adp-chevron-right\";\r\n\t\tlet left_click = this.pageDown,\r\n\t\t\tright_click = this.pageUp;\r\n\r\n\t\tif (this.state.firstIndex + 2 >= this.props.cards.length - 1) {\r\n\t\t\tchevron_right_style = `${chevron_right_style} disabled`;\r\n\t\t\tright_click = Function.prototype;\r\n\t\t}\r\n\r\n\t\tif (this.state.firstIndex === 0) {\r\n\t\t\tchevron_left_style = `${chevron_left_style} disabled`;\r\n\t\t\tleft_click = Function.prototype;\r\n\t\t}\r\n\r\n\t\tconst carouselTagHeader = this.props.tag.length >= 50 ? `${this.props.tag.substring(0, 49)}...` : this.props.tag;\r\n\r\n\t\treturn (\r\n\t\t\t<div className=\"carousel-main\">\r\n\t\t\t\t<div className=\"carousel-header\">\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\ttitle={this.props.tag}\r\n\t\t\t\t\t\tclassName={titleClass}\r\n\t\t\t\t\t\tonClick={this.seeMore}\r\n\t\t\t\t\t\tonMouseEnter={this.highlightTitle.bind(this, true)}\r\n\t\t\t\t\t\tonMouseLeave={this.highlightTitle.bind(this, false)}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{carouselTagHeader}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{this.props.cards.length > 2 && (\r\n\t\t\t\t\t\t<button className=\"see-more\" onClick={this.seeMore}>\r\n\t\t\t\t\t\t\t<span className=\"button-label\">See More</span>\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className=\"carousel-content\">\r\n\t\t\t\t\t<i className={chevron_left_style} onClick={left_click} />\r\n\t\t\t\t\t{displayCards.map((card, i) => (\r\n\t\t\t\t\t\t<AppCard key={(card.title || card.name) + i} {...card} viewAppShowcase={this.props.viewAppShowcase} />\r\n\t\t\t\t\t))}\r\n\t\t\t\t\t{displayCards.length === 1 && <div className=\"app-card placeholder\"></div>}{\" \"}\r\n\t\t\t\t\t{/* This is so extremely bad, I hate it. Prevent odd spacing when single card by inserting a blank empty card to consume the space */}\r\n\t\t\t\t\t<i className={chevron_right_style} onClick={right_click} />\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t);\r\n\t}\r\n}\r\n"]}
1
+ {"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Carousel.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAGlD,OAAO,OAAO,MAAM,WAAW,CAAC;AAGhC,MAAM,cAAc,GAAG,CAAC,CAAC;AASzB,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,SAAS;IAC9C,YAAY,KAAK;QAChB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,UAAU,EAAE,CAAC;YACb,gBAAgB,EAAE,KAAK;SACvB,CAAC;QACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC;YAAE,IAAI,CAAC,cAAc,EAAE,CAAC;IACxD,CAAC;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC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sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React, { Component } from \"react\";\n\n//data\nimport storeActions from \"../stores/storeActions\";\n\n//components\nimport AppCard from \"./AppCard\";\n\n//consts\nconst CARDS_PER_PAGE = 2;\n\n/**\n * A carousel of AppCards\n * @param {object} props Component props\n * @param {array} props.cards An array of AppCards to display in a carousel\n * @param {string} props.tag The carousel's tag (title)\n * @param {func} props.openAppShowcase Parent function to show the AppShowcase for the selected card\n */\nexport default class Carousel extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tfirstIndex: 0,\n\t\t\ttitleHighlighted: false,\n\t\t};\n\t\tthis.bindCorrectContext();\n\t\tif (this.props.cards.length < 3) this.notEnoughCards();\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.pageUp = this.pageUp.bind(this);\n\t\tthis.pageDown = this.pageDown.bind(this);\n\t\tthis.highlightTitle = this.highlightTitle.bind(this);\n\t\tthis.seeMore = this.seeMore.bind(this);\n\t\tthis.notEnoughCards = this.notEnoughCards.bind(this);\n\t\tthis.buildCarousel = this.buildCarousel.bind(this);\n\t}\n\n\t/**\n\t * Pages through the carousel by one card (right)\n\t */\n\tpageUp() {\n\t\tlet index = this.state.firstIndex;\n\n\t\t//If increasing the carousel's first index will move beyond the array's limits, we reset back to zero\n\t\tif (index + 1 <= this.props.cards.length - 1) {\n\t\t\tindex++;\n\t\t}\n\n\t\tthis.setState({\n\t\t\tfirstIndex: index,\n\t\t});\n\t}\n\n\t/**\n\t * Pages through the carousel by one card (left)\n\t */\n\tpageDown() {\n\t\tlet index = this.state.firstIndex;\n\t\tif (index - 1 >= 0) {\n\t\t\tthis.setState({\n\t\t\t\tfirstIndex: index - 1,\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * Toggles the highlight on a carousel's title. When a user mouses over, we want to style it so its obvious its a link\n\t * @param {*} highlight\n\t */\n\thighlightTitle(highlight) {\n\t\tthis.setState({\n\t\t\ttitleHighlighted: highlight,\n\t\t});\n\t}\n\n\t/**\n\t * Calls the parents seeMore function, which will add the selected tag as a filter\n\t */\n\tseeMore() {\n\t\tstoreActions.addTag(this.props.tag);\n\t}\n\n\t/**\n\t * Spits out a warning if the number of cards supplied to the carousel is < 3\n\t */\n\tnotEnoughCards() {\n\t\tconsole.warn(\"Less than 3 card supplied. This carousel will not display optimally\");\n\t}\n\n\t/**\n\t * Function to build the items in the carousel\n\t */\n\tbuildCarousel() {\n\t\tlet { cards } = this.props;\n\t\tlet firstCard = this.state.firstIndex;\n\n\t\tlet displayCards = [];\n\t\tfor (let i = 0; i < CARDS_PER_PAGE; i++) {\n\t\t\tif (firstCard >= 0 && firstCard <= cards.length - 1) {\n\t\t\t\tdisplayCards.push(cards[firstCard]);\n\t\t\t\tfirstCard++;\n\t\t\t}\n\t\t}\n\n\t\treturn displayCards;\n\t}\n\n\trender() {\n\t\tlet displayCards = this.buildCarousel();\n\t\tlet titleClass = \"carousel-title\";\n\t\tif (this.state.titleHighlighted) titleClass = `${titleClass} highlight`;\n\n\t\tlet chevron_left_style = \"ff-adp-chevron-left\",\n\t\t\tchevron_right_style = \"ff-adp-chevron-right\";\n\t\tlet left_click = this.pageDown,\n\t\t\tright_click = this.pageUp;\n\n\t\tif (this.state.firstIndex + 2 >= this.props.cards.length - 1) {\n\t\t\tchevron_right_style = `${chevron_right_style} disabled`;\n\t\t\tright_click = Function.prototype;\n\t\t}\n\n\t\tif (this.state.firstIndex === 0) {\n\t\t\tchevron_left_style = `${chevron_left_style} disabled`;\n\t\t\tleft_click = Function.prototype;\n\t\t}\n\n\t\tconst carouselTagHeader = this.props.tag.length >= 50 ? `${this.props.tag.substring(0, 49)}...` : this.props.tag;\n\n\t\treturn (\n\t\t\t<div className=\"carousel-main\">\n\t\t\t\t<div className=\"carousel-header\">\n\t\t\t\t\t<div\n\t\t\t\t\t\ttitle={this.props.tag}\n\t\t\t\t\t\tclassName={titleClass}\n\t\t\t\t\t\tonClick={this.seeMore}\n\t\t\t\t\t\tonMouseEnter={this.highlightTitle.bind(this, true)}\n\t\t\t\t\t\tonMouseLeave={this.highlightTitle.bind(this, false)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{carouselTagHeader}\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.props.cards.length > 2 && (\n\t\t\t\t\t\t<button className=\"see-more\" onClick={this.seeMore}>\n\t\t\t\t\t\t\t<span className=\"button-label\">See More</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<div className=\"carousel-content\">\n\t\t\t\t\t<i className={chevron_left_style} onClick={left_click} />\n\t\t\t\t\t{displayCards.map((card, i) => (\n\t\t\t\t\t\t<AppCard key={(card.title || card.name) + i} {...card} viewAppShowcase={this.props.viewAppShowcase} />\n\t\t\t\t\t))}\n\t\t\t\t\t{displayCards.length === 1 && <div className=\"app-card placeholder\"></div>}{\" \"}\n\t\t\t\t\t{/* This is so extremely bad, I hate it. Prevent odd spacing when single card by inserting a blank empty card to consume the space */}\n\t\t\t\t\t<i className={chevron_right_style} onClick={right_click} />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyResults.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/EmptyResults.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,CAC1B,6BAAK,SAAS,EAAC,aAAa;IAC3B,4BAAI,SAAS,EAAC,wBAAwB,0CAAyC,CAC1E,CACN,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\n/**\r\n * Empty Results to show on the search page when filters/search text apply to zero results\r\n\r\n */\r\nconst EmptyResults = () => (\r\n\t<div className=\"app-results\">\r\n\t\t<h3 className=\"app-results-no-results\">No results found. Please try again.</h3>\r\n\t</div>\r\n);\r\n\r\nexport default EmptyResults;\r\n"]}
1
+ {"version":3,"file":"EmptyResults.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/EmptyResults.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,CAC1B,6BAAK,SAAS,EAAC,aAAa;IAC3B,4BAAI,SAAS,EAAC,wBAAwB,0CAAyC,CAC1E,CACN,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\n/**\n * Empty Results to show on the search page when filters/search text apply to zero results\n\n */\nconst EmptyResults = () => (\n\t<div className=\"app-results\">\n\t\t<h3 className=\"app-results-no-results\">No results found. Please try again.</h3>\n\t</div>\n);\n\nexport default EmptyResults;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Hero.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAoBtD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAyB;IAC1D,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,MAAM,EAAE,CAAC;SACT,CAAC;QACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC3B,CAAC;IAED,kBAAkB;QACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxC,C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,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,GAAI,CAAC;YACpF,CAAC,CAAC,CACG,CACN,CACI,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n/**\r\n * This component is the name of a component and a pin that will pin that component to all toolbars.\r\n *\r\n */\r\nimport React, { Component } from \"react\";\r\nimport { getAppNameIconWhenNoImage } from \"./helpers\";\r\nimport { AppMetadata } from \"../../../types/fdc3\";\r\n\r\ntype Images = {\r\n\turl: string;\r\n};\r\n\r\ninterface IProps {\r\n\tcards: (AppMetadata & { tags: string[]; images: Images[] })[];\r\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\r\n}\r\n\r\ninterface IState {\r\n\tactive: number;\r\n}\r\n\r\n/**\r\n * The hero component at the top of the App Catalog homepage. Display images and textual descriptions of showcased apps\r\n * @param {object} props Component props\r\n */\r\nexport default class Hero extends Component<IProps, IState> {\r\n\tconstructor(props: IProps) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tactive: 0,\r\n\t\t};\r\n\t\tthis.bindCorrectContext();\r\n\t}\r\n\r\n\tbindCorrectContext() {\r\n\t\tthis.changePage = this.changePage.bind(this);\r\n\t\tthis.openApp = this.openApp.bind(this);\r\n\t}\r\n\r\n\t/**\r\n\t * Changes the page of the hero component depending on the action its handed\r\n\t * @param {string} action One of 'page_down' or 'page_up'. Any other action is ignored\r\n\t */\r\n\tchangePage(action: any) {\r\n\t\tlet { cards } = this.props;\r\n\t\tlet newActive = this.state.active;\r\n\r\n\t\tif (typeof action === \"number\") {\r\n\t\t\tnewActive = action;\r\n\t\t} else {\r\n\t\t\tswitch (action) {\r\n\t\t\t\tcase \"page_down\":\r\n\t\t\t\t\tnewActive = newActive - 1 < 0 ? cards.length - 1 : newActive - 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"page_up\":\r\n\t\t\t\t\tnewActive = newActive + 1 > cards.length - 1 ? 0 : newActive + 1;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.setState({\r\n\t\t\tactive: newActive,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Called the parent function to open the AppShowcase for the clicked app\r\n\t */\r\n\topenApp() {\r\n\t\tthis.props.viewAppShowcase(this.props.cards[this.state.active].appId);\r\n\t}\r\n\r\n\trender() {\r\n\t\tlet { active } = this.state;\r\n\t\tlet { cards } = this.props;\r\n\t\tlet contentTitle = cards[active].title === undefined ? cards[active].name : cards[active].title;\r\n\t\tlet contentMsg = cards[active].description;\r\n\t\tlet imageUrl = cards[active].images ? cards[active].images?.[0].url : null;\r\n\r\n\t\treturn (\r\n\t\t\t<div>\r\n\t\t\t\t<div className=\"hero-content\">\r\n\t\t\t\t\t<i className=\"ff-adp-chevron-left\" onClick={this.changePage.bind(this, \"page_down\")} />\r\n\t\t\t\t\t<div className=\"visible-card\" onClick={this.openApp}>\r\n\t\t\t\t\t\t<div className=\"app-details\">\r\n\t\t\t\t\t\t\t<div className=\"app-title\">{contentTitle}</div>\r\n\t\t\t\t\t\t\t<div className=\"app-description\">{contentMsg}</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t{imageUrl ? (\r\n\t\t\t\t\t\t\t<img className=\"app-image\" src={imageUrl} />\r\n\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t<div className=\"app-image noimg\">{getAppNameIconWhenNoImage(contentTitle)}</div>\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<i className=\"ff-adp-chevron-right\" onClick={this.changePage.bind(this, \"page_up\")} />\r\n\t\t\t\t</div>\r\n\t\t\t\t<br />\r\n\t\t\t\t{cards.length >= 2 && cards.length <= 10 && (\r\n\t\t\t\t\t<div className=\"paginator\">\r\n\t\t\t\t\t\t{cards.map((card, i) => {\r\n\t\t\t\t\t\t\tlet classes = \"pagination-oval\";\r\n\t\t\t\t\t\t\tif (i === active) classes = `${classes} active`;\r\n\t\t\t\t\t\t\treturn <div key={i} className={classes} onClick={this.changePage.bind(this, i)} />;\r\n\t\t\t\t\t\t})}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t)}\r\n\t\t\t</div>\r\n\t\t);\r\n\t}\r\n}\r\n"]}
1
+ {"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Hero.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAoBtD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAyB;IAC1D,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,MAAM,EAAE,CAAC;SACT,CAAC;QACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC3B,CAAC;IAED,kBAAkB;QACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAMD,UAAU,CAAC,MAAW;QACrB,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC3B,IAAI,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YAC/B,SAAS,GAAG,MAAM,CAAC;SACnB;aAAM;YACN,QAAQ,MAAM,EAAE;gBACf,KAAK,WAAW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C,qBAAqB,EAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,GAAI;gBACvF,6BAAK,SAAS,EAAC,cAAc,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO;oBAClD,6BAAK,SAAS,EAAC,aAAa;wBAC3B,6BAAK,SAAS,EAAC,WAAW,IAAE,YAAY,CAAO;wBAC/C,6BAAK,SAAS,EAAC,iBAAiB,IAAE,UAAU,CAAO,CAC9C;oBACL,QAAQ,CAAC,CAAC,CAAC,CACX,6BAAK,SAAS,EAAC,WAAW,EAAC,GAAG,EAAE,QAAQ,GAAI,CAC5C,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,iBAAiB,IAAE,yBAAyB,CAAC,YAAY,CAAC,CAAO,CAChF,CACI;gBACN,2BAAG,SAAS,EAAC,sBAAsB,EAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,GAAI,CACjF;YACN,+BAAM;YACL,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,KAAK,CAAC,MAAM,IAAI,EAAE,IAAI,CAC3C,6BAAK,SAAS,EAAC,WAAW,IACxB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;gBACtB,IAAI,OAAO,GAAG,iBAAiB,CAAC;gBAChC,IAAI,CAAC,KAAK,MAAM;oBAAE,OAAO,GAAG,GAAG,OAAO,SAAS,CAAC;gBAChD,OAAO,6BAAK,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,GAAI,CAAC;YACpF,CAAC,CAAC,CACG,CACN,CACI,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n/**\n * This component is the name of a component and a pin that will pin that component to all toolbars.\n *\n */\nimport React, { Component } from \"react\";\nimport { getAppNameIconWhenNoImage } from \"./helpers\";\nimport { AppMetadata } from \"../../../types/fdc3\";\n\ntype Images = {\n\turl: string;\n};\n\ninterface IProps {\n\tcards: (AppMetadata & { tags: string[]; images: Images[] })[];\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\n}\n\ninterface IState {\n\tactive: number;\n}\n\n/**\n * The hero component at the top of the App Catalog homepage. Display images and textual descriptions of showcased apps\n * @param {object} props Component props\n */\nexport default class Hero extends Component<IProps, IState> {\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tactive: 0,\n\t\t};\n\t\tthis.bindCorrectContext();\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.changePage = this.changePage.bind(this);\n\t\tthis.openApp = this.openApp.bind(this);\n\t}\n\n\t/**\n\t * Changes the page of the hero component depending on the action its handed\n\t * @param {string} action One of 'page_down' or 'page_up'. Any other action is ignored\n\t */\n\tchangePage(action: any) {\n\t\tlet { cards } = this.props;\n\t\tlet newActive = this.state.active;\n\n\t\tif (typeof action === \"number\") {\n\t\t\tnewActive = action;\n\t\t} else {\n\t\t\tswitch (action) {\n\t\t\t\tcase \"page_down\":\n\t\t\t\t\tnewActive = newActive - 1 < 0 ? cards.length - 1 : newActive - 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"page_up\":\n\t\t\t\t\tnewActive = newActive + 1 > cards.length - 1 ? 0 : newActive + 1;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tthis.setState({\n\t\t\tactive: newActive,\n\t\t});\n\t}\n\n\t/**\n\t * Called the parent function to open the AppShowcase for the clicked app\n\t */\n\topenApp() {\n\t\tthis.props.viewAppShowcase(this.props.cards[this.state.active].appId);\n\t}\n\n\trender() {\n\t\tlet { active } = this.state;\n\t\tlet { cards } = this.props;\n\t\tlet contentTitle = cards[active].title === undefined ? cards[active].name : cards[active].title;\n\t\tlet contentMsg = cards[active].description;\n\t\tlet imageUrl = cards[active].images ? cards[active].images?.[0].url : null;\n\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<div className=\"hero-content\">\n\t\t\t\t\t<i className=\"ff-adp-chevron-left\" onClick={this.changePage.bind(this, \"page_down\")} />\n\t\t\t\t\t<div className=\"visible-card\" onClick={this.openApp}>\n\t\t\t\t\t\t<div className=\"app-details\">\n\t\t\t\t\t\t\t<div className=\"app-title\">{contentTitle}</div>\n\t\t\t\t\t\t\t<div className=\"app-description\">{contentMsg}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{imageUrl ? (\n\t\t\t\t\t\t\t<img className=\"app-image\" src={imageUrl} />\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<div className=\"app-image noimg\">{getAppNameIconWhenNoImage(contentTitle)}</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t<i className=\"ff-adp-chevron-right\" onClick={this.changePage.bind(this, \"page_up\")} />\n\t\t\t\t</div>\n\t\t\t\t<br />\n\t\t\t\t{cards.length >= 2 && cards.length <= 10 && (\n\t\t\t\t\t<div className=\"paginator\">\n\t\t\t\t\t\t{cards.map((card, i) => {\n\t\t\t\t\t\t\tlet classes = \"pagination-oval\";\n\t\t\t\t\t\t\tif (i === active) classes = `${classes} active`;\n\t\t\t\t\t\t\treturn <div key={i} className={classes} onClick={this.changePage.bind(this, i)} />;\n\t\t\t\t\t\t})}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Home.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Home.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAmBlC,MAAM,IAAI,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,CAClC,6BAAK,SAAS,EAAC,MAAM;IACpB,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI;IACnE,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;QACrB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YACzB,MAAM,QAAQ,GAAG,GAAG,CAAC;YACrB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;YAEpE,OAAO,oBAAC,QAAQ,IAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI,CAAC;QAClG,CAAC,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,oBAAC,OAAO,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI,CAC9F,CACN,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n/**\r\n * This component is the name of a component and a pin that will pin that component to all toolbars.\r\n *\r\n */\r\nimport React from \"react\";\r\nimport AppList from \"./AppList\";\r\nimport Hero from \"./Hero\";\r\nimport Carousel from \"./Carousel\";\r\nimport { AppMetadata } from \"../../../types/fdc3\";\r\n\r\ntype Images = {\r\n\turl: string;\r\n};\r\n\r\ntype HomeProps = {\r\n\ttags: string[];\r\n\tcards: (AppMetadata & { tags: string[]; images: Images[] })[];\r\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\r\n};\r\n\r\n/**\r\n * Home page. Contains carousels and a hero component\r\n * @param {object} props Component props\r\n * @param {array} props.cards An Array of app information from FDC\r\n * @param {func} props.viewAppShowcase Opens the AppShowcase page for a selected app\r\n */\r\nconst Home = (props: HomeProps) => (\r\n\t<div className=\"home\">\r\n\t\t<Hero cards={props.cards} viewAppShowcase={props.viewAppShowcase} />\r\n\t\t{props.tags.length > 0 &&\r\n\t\t\tprops.tags.map((tag, i) => {\r\n\t\t\t\tconst tagLabel = tag;\r\n\t\t\t\tconst cards = props.cards.filter((card) => card.tags.includes(tag));\r\n\r\n\t\t\t\treturn <Carousel key={i} tag={tagLabel} cards={cards} viewAppShowcase={props.viewAppShowcase} />;\r\n\t\t\t})}\r\n\t\t{props.tags.length === 0 && <AppList cards={props.cards} viewAppShowcase={props.viewAppShowcase} />}\r\n\t</div>\r\n);\r\n\r\nexport default Home;\r\n"]}
1
+ {"version":3,"file":"Home.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Home.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAmBlC,MAAM,IAAI,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,CAClC,6BAAK,SAAS,EAAC,MAAM;IACpB,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI;IACnE,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;QACrB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YACzB,MAAM,QAAQ,GAAG,GAAG,CAAC;YACrB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;YAEpE,OAAO,oBAAC,QAAQ,IAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI,CAAC;QAClG,CAAC,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,oBAAC,OAAO,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,GAAI,CAC9F,CACN,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n/**\n * This component is the name of a component and a pin that will pin that component to all toolbars.\n *\n */\nimport React from \"react\";\nimport AppList from \"./AppList\";\nimport Hero from \"./Hero\";\nimport Carousel from \"./Carousel\";\nimport { AppMetadata } from \"../../../types/fdc3\";\n\ntype Images = {\n\turl: string;\n};\n\ntype HomeProps = {\n\ttags: string[];\n\tcards: (AppMetadata & { tags: string[]; images: Images[] })[];\n\tviewAppShowcase: (id: AppMetadata[\"appId\"]) => void;\n};\n\n/**\n * Home page. Contains carousels and a hero component\n * @param {object} props Component props\n * @param {array} props.cards An Array of app information from FDC\n * @param {func} props.viewAppShowcase Opens the AppShowcase page for a selected app\n */\nconst Home = (props: HomeProps) => (\n\t<div className=\"home\">\n\t\t<Hero cards={props.cards} viewAppShowcase={props.viewAppShowcase} />\n\t\t{props.tags.length > 0 &&\n\t\t\tprops.tags.map((tag, i) => {\n\t\t\t\tconst tagLabel = tag;\n\t\t\t\tconst cards = props.cards.filter((card) => card.tags.includes(tag));\n\n\t\t\t\treturn <Carousel key={i} tag={tagLabel} cards={cards} viewAppShowcase={props.viewAppShowcase} />;\n\t\t\t})}\n\t\t{props.tags.length === 0 && <AppList cards={props.cards} viewAppShowcase={props.viewAppShowcase} />}\n\t</div>\n);\n\nexport default Home;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/SearchBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAGlD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAyB7C,MAAM,SAAU,SAAQ,SAAyB;IAGhD,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG;YACZ,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,EAAE;SACd,CAAC;QACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC3B,CAAC;IAED,kBAAkB;QACjB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3D,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAMD,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// data\r\nimport storeActions from \"../stores/storeActions\";\r\n\r\n// components\r\nimport Toast from \"./Toast\";\r\nimport Tag from \"../../shared/Tag\";\r\nimport TagsMenu from \"../../shared/TagsMenu\";\r\n\r\ninterface IProps {\r\n\tbackButton?: Boolean;\r\n\ttags: string[];\r\n\tactiveTags: string[];\r\n\tgoHome: () => void;\r\n\tinstallationActionTaken: string;\r\n\tsearch: (searchTerms: string) => void;\r\n}\r\n\r\ninterface IState {\r\n\ttagSelectorOpen: Boolean;\r\n\tsearchText: string;\r\n}\r\n\r\n/**\r\n * The search bar, tags filter menu, and any active tags being filtered on\r\n * @param {object} props Component props\r\n * @param {boolean} [props.backButton] If true, display a back button for going back to the homepage\r\n * @param {array} props.tags An array of all available tags for the tags menu\r\n * @param {array} props.activeTags An array of active tags acting as search criteria\r\n * @param {func} props.goHome Function to handle sending the app back to the homepage\r\n * @param {string} props.installationActionTaken Name of action that handles display/hiding the success/failure message from adding/removing an app\r\n */\r\nclass SearchBar extends Component<IProps, IState> {\r\n\ttextInput: React.RefObject<HTMLInputElement> | undefined;\r\n\r\n\tconstructor(props: IProps) {\r\n\t\tsuper(props);\r\n\t\tthis.textInput = React.createRef();\r\n\t\tthis.state = {\r\n\t\t\ttagSelectorOpen: false,\r\n\t\t\tsearchText: \"\",\r\n\t\t};\r\n\t\tthis.bindCorrectContext();\r\n\t}\r\n\r\n\tbindCorrectContext() {\r\n\t\tthis.goHome = this.goHome.bind(this);\r\n\t\tthis.changeSearch = this.changeSearch.bind(this);\r\n\t\tthis.toggleTagSelector = this.toggleTagSelector.bind(this);\r\n\t\tthis.selectTag = this.selectTag.bind(this);\r\n\t\tthis.removeTag = this.removeTag.bind(this);\r\n\t\tthis.focus = this.focus.bind(this);\r\n\t}\r\n\r\n\t/**\r\n\t * Handles changing the component state for handling local input value. Also calls parent function to effect the store\r\n\t * @param {object} e React Synthetic event\r\n\t */\r\n\tchangeSearch(e: React.ChangeEvent<HTMLInputElement>) {\r\n\t\tconst { value: searchTerms } = e.target;\r\n\t\tthis.setState({ searchText: searchTerms });\r\n\t\tthis.props.search(searchTerms);\r\n\t}\r\n\r\n\t/**\r\n\t * Opens/hides the tag selection menu\r\n\t */\r\n\ttoggleTagSelector() {\r\n\t\tthis.setState({\r\n\t\t\ttagSelectorOpen: !this.state.tagSelectorOpen,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Calls parent function to add a tag to filters\r\n\t * @param {string} tag The name of the tag\r\n\t */\r\n\tselectTag(tag: string) {\r\n\t\tlet tags: string[] = storeActions.getActiveTags();\r\n\r\n\t\tthis.setState(\r\n\t\t\t{\r\n\t\t\t\ttagSelectorOpen: false,\r\n\t\t\t},\r\n\t\t\t() => {\r\n\t\t\t\tif (tags.includes(tag)) {\r\n\t\t\t\t\tstoreActions.removeTag(tag);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstoreActions.addTag(tag);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\t/**\r\n\t * Calls parent function to remove a tag from filters\r\n\t * @param {string} tag The name of the tag\r\n\t */\r\n\tremoveTag(tag: string) {\r\n\t\tstoreActions.removeTag(tag);\r\n\t}\r\n\r\n\t/**\r\n\t * Clears search because 'back' button was clicked\r\n\t */\r\n\tgoHome() {\r\n\t\tthis.setState({ searchText: \"\" });\r\n\t\tthis.props.goHome();\r\n\t}\r\n\r\n\tfocus() {\r\n\t\tthis.textInput?.current?.focus();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst activeTags: string[] = storeActions.getActiveTags();\r\n\r\n\t\treturn (\r\n\t\t\t<div className=\"search-main\">\r\n\t\t\t\t<Toast installationActionTaken={this.props.installationActionTaken} />\r\n\t\t\t\t<div className=\"search-action-items\">\r\n\t\t\t\t\t{this.props.backButton ? (\r\n\t\t\t\t\t\t<div className=\"search-back\" onClick={this.goHome}>\r\n\t\t\t\t\t\t\t<i className=\"ff-arrow-back\"></i>\r\n\t\t\t\t\t\t\t<span className=\"button-label\">Back</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t) : null}\r\n\t\t\t\t\t<div className=\"search-input-container\">\r\n\t\t\t\t\t\t<i className=\"ff-search\"></i>\r\n\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\tclassName=\"search-input\"\r\n\t\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t\tref={this.textInput}\r\n\t\t\t\t\t\t\tplaceholder=\"Search\"\r\n\t\t\t\t\t\t\ttype=\"text\"\r\n\t\t\t\t\t\t\tvalue={this.state.searchText}\r\n\t\t\t\t\t\t\tonChange={this.changeSearch}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t<button className=\"close-icon\" onClick={this.goHome} type=\"reset\"></button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<TagsMenu\r\n\t\t\t\t\t\tactive={activeTags}\r\n\t\t\t\t\t\tlist={this.props.tags}\r\n\t\t\t\t\t\tonItemClick={this.selectTag}\r\n\t\t\t\t\t\tlabel={\"Tags\"}\r\n\t\t\t\t\t\talign=\"right\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className=\"label-bar\">\r\n\t\t\t\t\t{activeTags.map((tag) => (\r\n\t\t\t\t\t\t<Tag key={tag} name={tag} removeTag={this.removeTag} />\r\n\t\t\t\t\t))}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default SearchBar;\r\n"]}
1
+ {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/SearchBar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAGlD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAyB7C,MAAM,S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,IAAI,CAAC,SAAS,EACnB,WAAW,EAAC,QAAQ,EACpB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAC5B,QAAQ,EAAE,IAAI,CAAC,YAAY,GAC1B;oBACF,gCAAQ,SAAS,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,GAAU,CACtE;gBACN,oBAAC,QAAQ,IACR,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,WAAW,EAAE,IAAI,CAAC,SAAS,EAC3B,KAAK,EAAE,MAAM,EACb,KAAK,EAAC,OAAO,GACZ,CACG;YACN,6BAAK,SAAS,EAAC,WAAW,IACxB,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACxB,oBAAC,GAAG,IAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,GAAI,CACvD,CAAC,CACG,CACD,CACN,CAAC;IACH,CAAC;CACD;AAED,eAAe,SAAS,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React, { Component } from \"react\";\n\n// data\nimport storeActions from \"../stores/storeActions\";\n\n// components\nimport Toast from \"./Toast\";\nimport Tag from \"../../shared/Tag\";\nimport TagsMenu from \"../../shared/TagsMenu\";\n\ninterface IProps {\n\tbackButton?: Boolean;\n\ttags: string[];\n\tactiveTags: string[];\n\tgoHome: () => void;\n\tinstallationActionTaken: string;\n\tsearch: (searchTerms: string) => void;\n}\n\ninterface IState {\n\ttagSelectorOpen: Boolean;\n\tsearchText: string;\n}\n\n/**\n * The search bar, tags filter menu, and any active tags being filtered on\n * @param {object} props Component props\n * @param {boolean} [props.backButton] If true, display a back button for going back to the homepage\n * @param {array} props.tags An array of all available tags for the tags menu\n * @param {array} props.activeTags An array of active tags acting as search criteria\n * @param {func} props.goHome Function to handle sending the app back to the homepage\n * @param {string} props.installationActionTaken Name of action that handles display/hiding the success/failure message from adding/removing an app\n */\nclass SearchBar extends Component<IProps, IState> {\n\ttextInput: React.RefObject<HTMLInputElement> | undefined;\n\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.textInput = React.createRef();\n\t\tthis.state = {\n\t\t\ttagSelectorOpen: false,\n\t\t\tsearchText: \"\",\n\t\t};\n\t\tthis.bindCorrectContext();\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.goHome = this.goHome.bind(this);\n\t\tthis.changeSearch = this.changeSearch.bind(this);\n\t\tthis.toggleTagSelector = this.toggleTagSelector.bind(this);\n\t\tthis.selectTag = this.selectTag.bind(this);\n\t\tthis.removeTag = this.removeTag.bind(this);\n\t\tthis.focus = this.focus.bind(this);\n\t}\n\n\t/**\n\t * Handles changing the component state for handling local input value. Also calls parent function to effect the store\n\t * @param {object} e React Synthetic event\n\t */\n\tchangeSearch(e: React.ChangeEvent<HTMLInputElement>) {\n\t\tconst { value: searchTerms } = e.target;\n\t\tthis.setState({ searchText: searchTerms });\n\t\tthis.props.search(searchTerms);\n\t}\n\n\t/**\n\t * Opens/hides the tag selection menu\n\t */\n\ttoggleTagSelector() {\n\t\tthis.setState({\n\t\t\ttagSelectorOpen: !this.state.tagSelectorOpen,\n\t\t});\n\t}\n\n\t/**\n\t * Calls parent function to add a tag to filters\n\t * @param {string} tag The name of the tag\n\t */\n\tselectTag(tag: string) {\n\t\tlet tags: string[] = storeActions.getActiveTags();\n\n\t\tthis.setState(\n\t\t\t{\n\t\t\t\ttagSelectorOpen: false,\n\t\t\t},\n\t\t\t() => {\n\t\t\t\tif (tags.includes(tag)) {\n\t\t\t\t\tstoreActions.removeTag(tag);\n\t\t\t\t} else {\n\t\t\t\t\tstoreActions.addTag(tag);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * Calls parent function to remove a tag from filters\n\t * @param {string} tag The name of the tag\n\t */\n\tremoveTag(tag: string) {\n\t\tstoreActions.removeTag(tag);\n\t}\n\n\t/**\n\t * Clears search because 'back' button was clicked\n\t */\n\tgoHome() {\n\t\tthis.setState({ searchText: \"\" });\n\t\tthis.props.goHome();\n\t}\n\n\tfocus() {\n\t\tthis.textInput?.current?.focus();\n\t}\n\n\trender() {\n\t\tconst activeTags: string[] = storeActions.getActiveTags();\n\n\t\treturn (\n\t\t\t<div className=\"search-main\">\n\t\t\t\t<Toast installationActionTaken={this.props.installationActionTaken} />\n\t\t\t\t<div className=\"search-action-items\">\n\t\t\t\t\t{this.props.backButton ? (\n\t\t\t\t\t\t<div className=\"search-back\" onClick={this.goHome}>\n\t\t\t\t\t\t\t<i className=\"ff-arrow-back\"></i>\n\t\t\t\t\t\t\t<span className=\"button-label\">Back</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t) : null}\n\t\t\t\t\t<div className=\"search-input-container\">\n\t\t\t\t\t\t<i className=\"ff-search\"></i>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclassName=\"search-input\"\n\t\t\t\t\t\t\trequired\n\t\t\t\t\t\t\tref={this.textInput}\n\t\t\t\t\t\t\tplaceholder=\"Search\"\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\tvalue={this.state.searchText}\n\t\t\t\t\t\t\tonChange={this.changeSearch}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<button className=\"close-icon\" onClick={this.goHome} type=\"reset\"></button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<TagsMenu\n\t\t\t\t\t\tactive={activeTags}\n\t\t\t\t\t\tlist={this.props.tags}\n\t\t\t\t\t\tonItemClick={this.selectTag}\n\t\t\t\t\t\tlabel={\"Tags\"}\n\t\t\t\t\t\talign=\"right\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t\t<div className=\"label-bar\">\n\t\t\t\t\t{activeTags.map((tag) => (\n\t\t\t\t\t\t<Tag key={tag} name={tag} removeTag={this.removeTag} />\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nexport default SearchBar;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AppDescription.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDescription.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,cAAc,GAAG,CAAC,EAAE,WAAW,EAAoB,EAAE,EAAE,CAAC,CAC7D,6BAAK,SAAS,EAAC,uBAAuB;IACrC,8BAAM,SAAS,EAAC,gBAAgB,kBAAmB;IACnD,6BAAK,SAAS,EAAC,qBAAqB;QACnC,iCAAM,WAAW,CAAO,CACnB,CACD,CACN,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\ntype DescriptionProps = {\r\n\tdescription: string;\r\n};\r\n/**\r\n * AppShowcase description section\r\n * @param {object} props Component props\r\n * @param {string} props.description The app description\r\n */\r\nconst AppDescription = ({ description }: DescriptionProps) => (\r\n\t<div className=\"app-notes description\">\r\n\t\t<span className=\"showcase-label\">Description</span>\r\n\t\t<div className=\"description-content\">\r\n\t\t\t<div>{description}</div>\r\n\t\t</div>\r\n\t</div>\r\n);\r\n\r\nexport default AppDescription;\r\n"]}
1
+ {"version":3,"file":"AppDescription.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDescription.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,cAAc,GAAG,CAAC,EAAE,WAAW,EAAoB,EAAE,EAAE,CAAC,CAC7D,6BAAK,SAAS,EAAC,uBAAuB;IACrC,8BAAM,SAAS,EAAC,gBAAgB,kBAAmB;IACnD,6BAAK,SAAS,EAAC,qBAAqB;QACnC,iCAAM,WAAW,CAAO,CACnB,CACD,CACN,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\ntype DescriptionProps = {\n\tdescription: string;\n};\n/**\n * AppShowcase description section\n * @param {object} props Component props\n * @param {string} props.description The app description\n */\nconst AppDescription = ({ description }: DescriptionProps) => (\n\t<div className=\"app-notes description\">\n\t\t<span className=\"showcase-label\">Description</span>\n\t\t<div className=\"description-content\">\n\t\t\t<div>{description}</div>\n\t\t</div>\n\t</div>\n);\n\nexport default AppDescription;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AppDevNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDevNotes.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IAK/C,MAAM,QAAQ,GAAG,GAAG,EAAE;QACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IACzC,CAAC,CAAC;IACF,OAAO,CACN,6BAAK,SAAS,EAAC,qBAAqB;QACnC,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB;QACjD,6BAAK,SAAS,EAAC,mBAAmB;YACjC;gBACE,KAAK,CAAC,SAAS;;gBAAI,GAAG;gBACvB,2BAAG,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,QAAQ,IAC3B,KAAK,CAAC,KAAK,CACT,CACC,CACD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\ntype AppDevNotesProps = {\r\n\tpublisher: string;\r\n\temail: string;\r\n};\r\n\r\n/**\r\n * AppShowcase dev notes section. Contains developer information\r\n * @param {object} props Component props\r\n * @param {string} props.publisher The name of this app's publisher\r\n * @param {func} props.openSite Parent function to launch the developer's site in Finsemble window\r\n * @param {string} props.email The developer's contact email\r\n */\r\nconst AppDevNotes = (props: AppDevNotesProps) => {\r\n\t/**\r\n\t * Opens the publisher's website.\r\n\t */\r\n\t// NOTE: There is currently no prop in the FDC spec that has a dev site.\r\n\tconst openSite = () => {\r\n\t\tconsole.log(\"open the developers site\");\r\n\t};\r\n\treturn (\r\n\t\t<div className=\"app-notes developer\">\r\n\t\t\t<span className=\"showcase-label\">Developer</span>\r\n\t\t\t<div className=\"developer-content\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t{props.publisher} -{\" \"}\r\n\t\t\t\t\t<a href=\"#\" onClick={openSite}>\r\n\t\t\t\t\t\t{props.email}\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default AppDevNotes;\r\n"]}
1
+ {"version":3,"file":"AppDevNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDevNotes.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IAK/C,MAAM,QAAQ,GAAG,GAAG,EAAE;QACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IACzC,CAAC,CAAC;IACF,OAAO,CACN,6BAAK,SAAS,EAAC,qBAAqB;QACnC,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB;QACjD,6BAAK,SAAS,EAAC,mBAAmB;YACjC;gBACE,KAAK,CAAC,SAAS;;gBAAI,GAAG;gBACvB,2BAAG,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,QAAQ,IAC3B,KAAK,CAAC,KAAK,CACT,CACC,CACD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\ntype AppDevNotesProps = {\n\tpublisher: string;\n\temail: string;\n};\n\n/**\n * AppShowcase dev notes section. Contains developer information\n * @param {object} props Component props\n * @param {string} props.publisher The name of this app's publisher\n * @param {func} props.openSite Parent function to launch the developer's site in Finsemble window\n * @param {string} props.email The developer's contact email\n */\nconst AppDevNotes = (props: AppDevNotesProps) => {\n\t/**\n\t * Opens the publisher's website.\n\t */\n\t// NOTE: There is currently no prop in the FDC spec that has a dev site.\n\tconst openSite = () => {\n\t\tconsole.log(\"open the developers site\");\n\t};\n\treturn (\n\t\t<div className=\"app-notes developer\">\n\t\t\t<span className=\"showcase-label\">Developer</span>\n\t\t\t<div className=\"developer-content\">\n\t\t\t\t<div>\n\t\t\t\t\t{props.publisher} -{\" \"}\n\t\t\t\t\t<a href=\"#\" onClick={openSite}>\n\t\t\t\t\t\t{props.email}\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default AppDevNotes;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AppShowcase.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppShowcase.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,WAAY,SAAQ,SAAS;IAClC,YAAY,KAAK;QAChB,KAAK,CAAC,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;YAEF,oBAAC,cAAc,IAAC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,GAAI;YAE3D,oBAAC,YAAY,IAAC,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,GAAI;YAE3D,oBAAC,WAAW,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAI;YAExF,oBAAC,YAAY,IAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,GAAI;YAEjD,oBAAC,YAAY,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAI,CAC1E,CACN,CAAC;IACH,CAAC;CACD;AAED,eAAe,WAAW,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React, { Component } from \"react\";\r\n\r\n// data\r\nimport storeActions from \"../../stores/storeActions\";\r\n\r\n// components\r\nimport Modal from \"./Modal\";\r\nimport Header from \"./Header\";\r\nimport ImageCarousel from \"./ImageCarousel\";\r\nimport AppDescription from \"./AppDescription\";\r\nimport ReleaseNotes from \"./ReleaseNotes\";\r\nimport AppDevNotes from \"./AppDevNotes\";\r\nimport VersionNotes from \"./VersionNotes\";\r\nimport SupportNotes from \"./SupportNotes\";\r\n\r\nconst imagesInCarousel = 4;\r\nclass AppShowcase extends Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tname: this.props.app.title || this.props.app.name,\r\n\t\t\ticonUrl:\r\n\t\t\t\tthis.props.app.icons !== undefined && this.props.app.icons[0].url !== undefined\r\n\t\t\t\t\t? this.props.app.icons[0].url\r\n\t\t\t\t\t: \"../assets/placeholder.svg\",\r\n\t\t\tentitled: this.props.app.entitled ? this.props.app.entitled : false,\r\n\t\t\timageIndex: 0,\r\n\t\t\timageModalOpen: false,\r\n\t\t\tmodalImage: null,\r\n\t\t};\r\n\t\tthis.bindCorrectContext();\r\n\t}\r\n\r\n\tbindCorrectContext() {\r\n\t\tthis.nextImage = this.nextImage.bind(this);\r\n\t\tthis.previousImage = this.previousImage.bind(this);\r\n\t\tthis.openModal = this.openModal.bind(this);\r\n\t\tthis.closeModal = this.closeModal.bind(this);\r\n\t\tthis.addTag = this.addTag.bind(this);\r\n\t}\r\n\r\n\t/**\r\n\t * Pages right through the app's images.\r\n\t */\r\n\tnextImage() {\r\n\t\tlet imageIndex = this.state.imageIndex;\r\n\r\n\t\t// We want to increase the image index for the carousel, but if this paging action takes us past the length of the image array, we need to reset\r\n\t\tif (imageIndex + 1 >= this.props.app.images.length) {\r\n\t\t\timageIndex = 0;\r\n\t\t} else {\r\n\t\t\timageIndex++;\r\n\t\t}\r\n\r\n\t\tthis.setState({\r\n\t\t\timageIndex,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Pages left through the app's images.\r\n\t */\r\n\tpreviousImage() {\r\n\t\tlet imageIndex = this.state.imageIndex;\r\n\r\n\t\t// We want to decrease the image index for the carousel, but if this paging action takes us under 0, we need to reset\r\n\t\tif (imageIndex - 1 < 0) {\r\n\t\t\timageIndex = this.props.app.images.length - 1;\r\n\t\t} else {\r\n\t\t\timageIndex--;\r\n\t\t}\r\n\r\n\t\tthis.setState({\r\n\t\t\timageIndex,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Opens the image modal (light box). Sets the image to display\r\n\t * @param {string} url The image url to display in the light box\r\n\t */\r\n\topenModal(url) {\r\n\t\tthis.setState({\r\n\t\t\tmodalImage: url,\r\n\t\t\timageModalOpen: true,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Closes the image modal\r\n\t */\r\n\tcloseModal() {\r\n\t\tthis.setState({\r\n\t\t\timageModalOpen: false,\r\n\t\t\tmodalImage: null,\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Calls the parents function to add a tag to list of filters\r\n\t * @param {string} name The tag name\r\n\t */\r\n\taddTag(name) {\r\n\t\tstoreActions.addTag(name);\r\n\t}\r\n\r\n\trender() {\r\n\t\tlet { name, iconUrl, imageIndex } = this.state;\r\n\r\n\t\tlet images = [];\r\n\t\tfor (let i = 0; i < (this.props.app.images ? Math.min(imagesInCarousel, this.props.app.images.length) : 0); i++) {\r\n\t\t\tlet imageUrl =\r\n\t\t\t\tthis.props.app.images[imageIndex].url !== undefined\r\n\t\t\t\t\t? this.props.app.images[imageIndex].url\r\n\t\t\t\t\t: \"../assets/placeholder.svg\";\r\n\t\t\timages.push(imageUrl);\r\n\t\t\tif (++imageIndex >= this.props.app.images.length) {\r\n\t\t\t\timageIndex = 0;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (\r\n\t\t\t<div className=\"app-showcase\">\r\n\t\t\t\t<Modal open={this.state.imageModalOpen} closeModal={this.closeModal}>\r\n\t\t\t\t\t<img src={this.state.modalImage} className=\"modal-image\" />\r\n\t\t\t\t</Modal>\r\n\t\t\t\t{!this.state.entitled && (\r\n\t\t\t\t\t<div className=\"app-warning\">\r\n\t\t\t\t\t\t<span className=\"app-warning-wrapper\">\r\n\t\t\t\t\t\t\t<span className=\"app-warning-text\">\r\n\t\t\t\t\t\t\t\tYou don&apos;t have permission to add this App. <a href=\"#\">Contact your administrator</a> to request\r\n\t\t\t\t\t\t\t\tpermission.\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t)}\r\n\t\t\t\t<Header iconUrl={iconUrl} entitled={this.state.entitled} {...this.props.app} />\r\n\r\n\t\t\t\t<ImageCarousel\r\n\t\t\t\t\tnextImage={this.nextImage}\r\n\t\t\t\t\tpreviousImage={this.previousImage}\r\n\t\t\t\t\topenModal={this.openModal}\r\n\t\t\t\t\timages={images}\r\n\t\t\t\t/>\r\n\r\n\t\t\t\t<AppDescription description={this.props.app.description} />\r\n\r\n\t\t\t\t<ReleaseNotes releaseNotes={this.props.app.releaseNotes} />\r\n\r\n\t\t\t\t<AppDevNotes email={this.props.app.contactEmail} publisher={this.props.app.publisher} />\r\n\r\n\t\t\t\t<VersionNotes version={this.props.app.version} />\r\n\r\n\t\t\t\t<SupportNotes email={this.props.app.supportEmail} tags={this.props.app.tags} />\r\n\t\t\t</div>\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default AppShowcase;\r\n"]}
1
+ {"version":3,"file":"AppShowcase.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppShowcase.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,WAAY,SAAQ,SAAS;IAClC,YAAY,KAAK;QAChB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI;YACjD,OAAO,EACN,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK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AAY,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAI;YAExF,oBAAC,YAAY,IAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,GAAI;YAEjD,oBAAC,YAAY,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAI,CAC1E,CACN,CAAC;IACH,CAAC;CACD;AAED,eAAe,WAAW,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React, { Component } from \"react\";\n\n// data\nimport storeActions from \"../../stores/storeActions\";\n\n// components\nimport Modal from \"./Modal\";\nimport Header from \"./Header\";\nimport ImageCarousel from \"./ImageCarousel\";\nimport AppDescription from \"./AppDescription\";\nimport ReleaseNotes from \"./ReleaseNotes\";\nimport AppDevNotes from \"./AppDevNotes\";\nimport VersionNotes from \"./VersionNotes\";\nimport SupportNotes from \"./SupportNotes\";\n\nconst imagesInCarousel = 4;\nclass AppShowcase extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tname: this.props.app.title || this.props.app.name,\n\t\t\ticonUrl:\n\t\t\t\tthis.props.app.icons !== undefined && this.props.app.icons[0].url !== undefined\n\t\t\t\t\t? this.props.app.icons[0].url\n\t\t\t\t\t: \"../assets/placeholder.svg\",\n\t\t\tentitled: this.props.app.entitled ? this.props.app.entitled : false,\n\t\t\timageIndex: 0,\n\t\t\timageModalOpen: false,\n\t\t\tmodalImage: null,\n\t\t};\n\t\tthis.bindCorrectContext();\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.nextImage = this.nextImage.bind(this);\n\t\tthis.previousImage = this.previousImage.bind(this);\n\t\tthis.openModal = this.openModal.bind(this);\n\t\tthis.closeModal = this.closeModal.bind(this);\n\t\tthis.addTag = this.addTag.bind(this);\n\t}\n\n\t/**\n\t * Pages right through the app's images.\n\t */\n\tnextImage() {\n\t\tlet imageIndex = this.state.imageIndex;\n\n\t\t// We want to increase the image index for the carousel, but if this paging action takes us past the length of the image array, we need to reset\n\t\tif (imageIndex + 1 >= this.props.app.images.length) {\n\t\t\timageIndex = 0;\n\t\t} else {\n\t\t\timageIndex++;\n\t\t}\n\n\t\tthis.setState({\n\t\t\timageIndex,\n\t\t});\n\t}\n\n\t/**\n\t * Pages left through the app's images.\n\t */\n\tpreviousImage() {\n\t\tlet imageIndex = this.state.imageIndex;\n\n\t\t// We want to decrease the image index for the carousel, but if this paging action takes us under 0, we need to reset\n\t\tif (imageIndex - 1 < 0) {\n\t\t\timageIndex = this.props.app.images.length - 1;\n\t\t} else {\n\t\t\timageIndex--;\n\t\t}\n\n\t\tthis.setState({\n\t\t\timageIndex,\n\t\t});\n\t}\n\n\t/**\n\t * Opens the image modal (light box). Sets the image to display\n\t * @param {string} url The image url to display in the light box\n\t */\n\topenModal(url) {\n\t\tthis.setState({\n\t\t\tmodalImage: url,\n\t\t\timageModalOpen: true,\n\t\t});\n\t}\n\n\t/**\n\t * Closes the image modal\n\t */\n\tcloseModal() {\n\t\tthis.setState({\n\t\t\timageModalOpen: false,\n\t\t\tmodalImage: null,\n\t\t});\n\t}\n\n\t/**\n\t * Calls the parents function to add a tag to list of filters\n\t * @param {string} name The tag name\n\t */\n\taddTag(name) {\n\t\tstoreActions.addTag(name);\n\t}\n\n\trender() {\n\t\tlet { name, iconUrl, imageIndex } = this.state;\n\n\t\tlet images = [];\n\t\tfor (let i = 0; i < (this.props.app.images ? Math.min(imagesInCarousel, this.props.app.images.length) : 0); i++) {\n\t\t\tlet imageUrl =\n\t\t\t\tthis.props.app.images[imageIndex].url !== undefined\n\t\t\t\t\t? this.props.app.images[imageIndex].url\n\t\t\t\t\t: \"../assets/placeholder.svg\";\n\t\t\timages.push(imageUrl);\n\t\t\tif (++imageIndex >= this.props.app.images.length) {\n\t\t\t\timageIndex = 0;\n\t\t\t}\n\t\t}\n\t\treturn (\n\t\t\t<div className=\"app-showcase\">\n\t\t\t\t<Modal open={this.state.imageModalOpen} closeModal={this.closeModal}>\n\t\t\t\t\t<img src={this.state.modalImage} className=\"modal-image\" />\n\t\t\t\t</Modal>\n\t\t\t\t{!this.state.entitled && (\n\t\t\t\t\t<div className=\"app-warning\">\n\t\t\t\t\t\t<span className=\"app-warning-wrapper\">\n\t\t\t\t\t\t\t<span className=\"app-warning-text\">\n\t\t\t\t\t\t\t\tYou don&apos;t have permission to add this App. <a href=\"#\">Contact your administrator</a> to request\n\t\t\t\t\t\t\t\tpermission.\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t<Header iconUrl={iconUrl} entitled={this.state.entitled} {...this.props.app} />\n\n\t\t\t\t<ImageCarousel\n\t\t\t\t\tnextImage={this.nextImage}\n\t\t\t\t\tpreviousImage={this.previousImage}\n\t\t\t\t\topenModal={this.openModal}\n\t\t\t\t\timages={images}\n\t\t\t\t/>\n\n\t\t\t\t<AppDescription description={this.props.app.description} />\n\n\t\t\t\t<ReleaseNotes releaseNotes={this.props.app.releaseNotes} />\n\n\t\t\t\t<AppDevNotes email={this.props.app.contactEmail} publisher={this.props.app.publisher} />\n\n\t\t\t\t<VersionNotes version={this.props.app.version} />\n\n\t\t\t\t<SupportNotes email={this.props.app.supportEmail} tags={this.props.app.tags} />\n\t\t\t</div>\n\t\t);\n\t}\n}\n\nexport default AppShowcase;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Header.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,IAAI,YAAY,GAAG,KAAK,CAAC;AAgBzB,MAAM,MAAM,GAAG,CAAC,KAAkB,EAAE,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,CAAC,KAAK,CAAC,QAAQ,EACzB,OAAO,EAAE,MAAM,IAEd,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAClB;gBACC,8BAAM,SAAS,EAAC,qBAAqB,WAAY,CAC5C,CACN,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,qBAAqB,UAAW,CAChD,CACO;YACR,KAAK,CAAC,SAAS,IAAI,CACnB,gCACC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,+BAA+B,EACpF,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,EACzB,OAAO,EAAE,SAAS;gBAElB,6BAAK,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAC,YAAY,GAAG,CACnD,CACT,CACI,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n\r\nimport React from \"react\";\r\nimport { AppMetadata } from \"../../../../types/fdc3\";\r\n\r\n// data\r\nimport storeActions from \"../../stores/storeActions\";\r\n\r\nlet pendingSpawn = false;\r\n\r\ntype HeaderProps = AppMetadata & {\r\n\turl: string | undefined;\r\n\tinstalled: any;\r\n\ticonUrl: string | undefined;\r\n\tentitled: any;\r\n};\r\n\r\n/**\r\n * The header of the AppShowcase. Contains the actionable buttons (to add/remove and app) and the app title and icon\r\n * @param {object} props Component props\r\n * @param {string} props.iconUrl The image url for the app's icon\r\n * @param {string} props.name The app name\r\n * @param {func} props.appAction The function to call when a button is clicked.\r\n */\r\nconst Header = (props: HeaderProps) => {\r\n\tconst addApp = () => {\r\n\t\tif (props.installed) {\r\n\t\t\tif (pendingSpawn) return;\r\n\t\t\tpendingSpawn = true;\r\n\t\t\tconst name = props.title || props.name;\r\n\t\t\t// If the app has a URL property\r\n\t\t\t// For now, this means it was manually added\r\n\t\t\t// So lets spawn from URL\r\n\t\t\tif (props.url) {\r\n\t\t\t\tFSBL.Clients.LauncherClient.spawn(\r\n\t\t\t\t\t\"\",\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\turl: props.url,\r\n\t\t\t\t\t\taddToWorkspace: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t() => {\r\n\t\t\t\t\t\tpendingSpawn = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t// Otherwise launch application by name\r\n\t\t\tFSBL.Clients.LauncherClient.spawn(name.trim(), { addToWorkspace: true }, () => {\r\n\t\t\t\tpendingSpawn = false;\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tstoreActions.addApp(props.appId);\r\n\t\t}\r\n\t};\r\n\r\n\tconst removeApp = () => {\r\n\t\tstoreActions.removeApp(props.appId);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<div className=\"header\">\r\n\t\t\t<div className=\"icon-title-container\">\r\n\t\t\t\t<img className=\"header-icon\" src={props.iconUrl} />\r\n\t\t\t\t<span className=\"appName\">{props.name}</span>\r\n\t\t\t</div>\r\n\t\t\t<div className=\"action-button-container\">\r\n\t\t\t\t<button\r\n\t\t\t\t\tclassName={props.entitled ? \"action-button open\" : \"action-button disabled\"}\r\n\t\t\t\t\tdisabled={!props.entitled}\r\n\t\t\t\t\tonClick={addApp}\r\n\t\t\t\t>\r\n\t\t\t\t\t{props.installed ? (\r\n\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<span className=\"action-button-label\">Open</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t) : (\r\n\t\t\t\t\t\t<span className=\"action-button-label\">Add</span>\r\n\t\t\t\t\t)}\r\n\t\t\t\t</button>\r\n\t\t\t\t{props.installed && (\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\tclassName={props.entitled ? \"action-button remove\" : \"action-button remove disabled\"}\r\n\t\t\t\t\t\tdisabled={!props.entitled}\r\n\t\t\t\t\t\tonClick={removeApp}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<div className=\"ff-adp-trash-outline\" title=\"Remove App\" />\r\n\t\t\t\t\t</button>\r\n\t\t\t\t)}\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default Header;\r\n"]}
1
+ {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Header.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,IAAI,YAAY,GAAG,KAAK,CAAC;AAgBzB,MAAM,MAAM,GAAG,CAAC,KAAkB,EAAE,EAAE;IACrC,MAAM,MAAM,GAAG,GAAG,EAAE;QACnB,IAAI,KAAK,CAAC,SAAS,EAAE;YACpB,IAAI,YAAY;gBAAE,OAAO;YACzB,YAAY,GAAG,IAAI,CAAC;YACpB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC;YAIvC,IAAI,KAAK,CAAC,GAAG,EAAE;gBACd,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAChC,EAAE,EACF;oBACC,GAAG,EAAE,KAAK,CAAC,GAAG;oBACd,cAAc,EAAE,IAAI;iBACpB,EACD,GAAG,EAAE;oBACJ,YAAY,GAAG,KAAK,CAAC;gBACtB,CAAC,CACD,CAAC;gBACF,OAAO;aACP;YAED,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE;gBAC7E,YAAY,GAAG,KAAK,CAAC;YACtB,CAAC,CAAC,CAAC;SACH;aAAM;YACN,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACjC;IACF,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,GAAG,EAAE;QACtB,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,QAAQ;QACtB,6BAAK,SAAS,EAAC,sBAAsB;YACpC,6BAAK,SAAS,EAAC,aAAa,EAAC,GAAG,EAAE,KAAK,CAAC,OAAO,GAAI;YACnD,8BAAM,SAAS,EAAC,SAAS,IAAE,KAAK,CAAC,IAAI,CAAQ,CACxC;QACN,6BAAK,SAAS,EAAC,yBAAyB;YACvC,gCACC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,wBAAwB,EAC3E,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,EACzB,OAAO,EAAE,MAAM,IAEd,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAClB;gBACC,8BAAM,SAAS,EAAC,qBAAqB,WAAY,CAC5C,CACN,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,qBAAqB,UAAW,CAChD,CACO;YACR,KAAK,CAAC,SAAS,IAAI,CACnB,gCACC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,+BAA+B,EACpF,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,EACzB,OAAO,EAAE,SAAS;gBAElB,6BAAK,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAC,YAAY,GAAG,CACnD,CACT,CACI,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n\nimport React from \"react\";\nimport { AppMetadata } from \"../../../../types/fdc3\";\n\n// data\nimport storeActions from \"../../stores/storeActions\";\n\nlet pendingSpawn = false;\n\ntype HeaderProps = AppMetadata & {\n\turl: string | undefined;\n\tinstalled: any;\n\ticonUrl: string | undefined;\n\tentitled: any;\n};\n\n/**\n * The header of the AppShowcase. Contains the actionable buttons (to add/remove and app) and the app title and icon\n * @param {object} props Component props\n * @param {string} props.iconUrl The image url for the app's icon\n * @param {string} props.name The app name\n * @param {func} props.appAction The function to call when a button is clicked.\n */\nconst Header = (props: HeaderProps) => {\n\tconst addApp = () => {\n\t\tif (props.installed) {\n\t\t\tif (pendingSpawn) return;\n\t\t\tpendingSpawn = true;\n\t\t\tconst name = props.title || props.name;\n\t\t\t// If the app has a URL property\n\t\t\t// For now, this means it was manually added\n\t\t\t// So lets spawn from URL\n\t\t\tif (props.url) {\n\t\t\t\tFSBL.Clients.LauncherClient.spawn(\n\t\t\t\t\t\"\",\n\t\t\t\t\t{\n\t\t\t\t\t\turl: props.url,\n\t\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\t},\n\t\t\t\t\t() => {\n\t\t\t\t\t\tpendingSpawn = false;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// Otherwise launch application by name\n\t\t\tFSBL.Clients.LauncherClient.spawn(name.trim(), { addToWorkspace: true }, () => {\n\t\t\t\tpendingSpawn = false;\n\t\t\t});\n\t\t} else {\n\t\t\tstoreActions.addApp(props.appId);\n\t\t}\n\t};\n\n\tconst removeApp = () => {\n\t\tstoreActions.removeApp(props.appId);\n\t};\n\n\treturn (\n\t\t<div className=\"header\">\n\t\t\t<div className=\"icon-title-container\">\n\t\t\t\t<img className=\"header-icon\" src={props.iconUrl} />\n\t\t\t\t<span className=\"appName\">{props.name}</span>\n\t\t\t</div>\n\t\t\t<div className=\"action-button-container\">\n\t\t\t\t<button\n\t\t\t\t\tclassName={props.entitled ? \"action-button open\" : \"action-button disabled\"}\n\t\t\t\t\tdisabled={!props.entitled}\n\t\t\t\t\tonClick={addApp}\n\t\t\t\t>\n\t\t\t\t\t{props.installed ? (\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<span className=\"action-button-label\">Open</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<span className=\"action-button-label\">Add</span>\n\t\t\t\t\t)}\n\t\t\t\t</button>\n\t\t\t\t{props.installed && (\n\t\t\t\t\t<button\n\t\t\t\t\t\tclassName={props.entitled ? \"action-button remove\" : \"action-button remove disabled\"}\n\t\t\t\t\t\tdisabled={!props.entitled}\n\t\t\t\t\t\tonClick={removeApp}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"ff-adp-trash-outline\" title=\"Remove App\" />\n\t\t\t\t\t</button>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default Header;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageCarousel.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/ImageCarousel.jsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,EAAE;IAC/B,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B;QACxC,2BAAG,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,KAAK,CAAC,SAAS,GAAM;QACjE,6BAAK,SAAS,EAAC,gBAAgB,IAC7B,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE;YACjC,OAAO,CACN,6BACC,GAAG,EAAE,iBAAiB,GAAG,CAAC,EAC1B,SAAS,EAAC,sBAAsB,EAChC,GAAG,EAAE,QAAQ,EACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,GAC5C,CACF,CAAC;QACH,CAAC,CAAC,CACG;QACN,2BAAG,SAAS,EAAC,sBAAsB,EAAC,OAAO,EAAE,KAAK,CAAC,aAAa,GAAM,CACjE,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n/**\r\n * This component is the name of a component and a pin that will pin that component to all toolbars.\r\n *\r\n */\r\nimport React from \"react\";\r\n\r\n/**\r\n * The image carousel which displays images for a single app\r\n * @param {object} props Component props\r\n * @param {func} props.nextImage Function supplied by the parent to page through the images (right)\r\n * @param {func} props.previousImage Function supplied by the parent to page through the images (left)\r\n * @param {array} props.images The images of the displayed app\r\n */\r\nconst ImageCarousel = (props) => {\r\n\treturn (\r\n\t\t<div className=\"image-carousel-container\">\r\n\t\t\t<i className=\"ff-adp-chevron-left\" onClick={props.nextImage}></i>\r\n\t\t\t<div className=\"image-carousel\">\r\n\t\t\t\t{props.images.map((imageUrl, i) => {\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t<img\r\n\t\t\t\t\t\t\tkey={\"showcase-image-\" + i}\r\n\t\t\t\t\t\t\tclassName=\"image-carousel-image\"\r\n\t\t\t\t\t\t\tsrc={imageUrl}\r\n\t\t\t\t\t\t\tonClick={props.openModal.bind(this, imageUrl)}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t);\r\n\t\t\t\t})}\r\n\t\t\t</div>\r\n\t\t\t<i className=\"ff-adp-chevron-right\" onClick={props.previousImage}></i>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default ImageCarousel;\r\n"]}
1
+ {"version":3,"file":"ImageCarousel.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/ImageCarousel.jsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,EAAE;IAC/B,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B;QACxC,2BAAG,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,KAAK,CAAC,SAAS,GAAM;QACjE,6BAAK,SAAS,EAAC,gBAAgB,IAC7B,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE;YACjC,OAAO,CACN,6BACC,GAAG,EAAE,iBAAiB,GAAG,CAAC,EAC1B,SAAS,EAAC,sBAAsB,EAChC,GAAG,EAAE,QAAQ,EACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,GAC5C,CACF,CAAC;QACH,CAAC,CAAC,CACG;QACN,2BAAG,SAAS,EAAC,sBAAsB,EAAC,OAAO,EAAE,KAAK,CAAC,aAAa,GAAM,CACjE,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n/**\n * This component is the name of a component and a pin that will pin that component to all toolbars.\n *\n */\nimport React from \"react\";\n\n/**\n * The image carousel which displays images for a single app\n * @param {object} props Component props\n * @param {func} props.nextImage Function supplied by the parent to page through the images (right)\n * @param {func} props.previousImage Function supplied by the parent to page through the images (left)\n * @param {array} props.images The images of the displayed app\n */\nconst ImageCarousel = (props) => {\n\treturn (\n\t\t<div className=\"image-carousel-container\">\n\t\t\t<i className=\"ff-adp-chevron-left\" onClick={props.nextImage}></i>\n\t\t\t<div className=\"image-carousel\">\n\t\t\t\t{props.images.map((imageUrl, i) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tkey={\"showcase-image-\" + i}\n\t\t\t\t\t\t\tclassName=\"image-carousel-image\"\n\t\t\t\t\t\t\tsrc={imageUrl}\n\t\t\t\t\t\t\tonClick={props.openModal.bind(this, imageUrl)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<i className=\"ff-adp-chevron-right\" onClick={props.previousImage}></i>\n\t\t</div>\n\t);\n};\n\nexport default ImageCarousel;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Modal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,KAAK,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAc,EAAE,EAAE;IAC5D,IAAI,cAAc,GAAG,OAAO,CAAC;IAC7B,IAAI,IAAI,EAAE;QACT,cAAc,GAAG,GAAG,cAAc,OAAO,CAAC;KAC1C;SAAM;QACN,cAAc,GAAG,GAAG,cAAc,SAAS,CAAC;KAC5C;IAED,OAAO,CACN,6BAAK,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU;QAClD,6BAAK,SAAS,EAAC,YAAY,IAAE,QAAQ,CAAO,CACvC,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\ntype ModalProps = {\r\n\topen: boolean;\r\n\tcloseModal: () => void;\r\n\tchildren: React.ReactNode;\r\n};\r\n\r\n/**\r\n * The image modal (light box)\r\n * @param {object} props Component props\r\n * @param {func} props.closeModal Parent function to close the modal. Actual display is handled by CSS\r\n * @param {object} props.children The inner contents (elements) of the array\r\n */\r\nconst Modal = ({ open, closeModal, children }: ModalProps) => {\r\n\tlet modalClassName = \"modal\";\r\n\tif (open) {\r\n\t\tmodalClassName = `${modalClassName} open`;\r\n\t} else {\r\n\t\tmodalClassName = `${modalClassName} closed`;\r\n\t}\r\n\r\n\treturn (\r\n\t\t<div className={modalClassName} onClick={closeModal}>\r\n\t\t\t<div className=\"modal-main\">{children}</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default Modal;\r\n"]}
1
+ {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Modal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,KAAK,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAc,EAAE,EAAE;IAC5D,IAAI,cAAc,GAAG,OAAO,CAAC;IAC7B,IAAI,IAAI,EAAE;QACT,cAAc,GAAG,GAAG,cAAc,OAAO,CAAC;KAC1C;SAAM;QACN,cAAc,GAAG,GAAG,cAAc,SAAS,CAAC;KAC5C;IAED,OAAO,CACN,6BAAK,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU;QAClD,6BAAK,SAAS,EAAC,YAAY,IAAE,QAAQ,CAAO,CACvC,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\ntype ModalProps = {\n\topen: boolean;\n\tcloseModal: () => void;\n\tchildren: React.ReactNode;\n};\n\n/**\n * The image modal (light box)\n * @param {object} props Component props\n * @param {func} props.closeModal Parent function to close the modal. Actual display is handled by CSS\n * @param {object} props.children The inner contents (elements) of the array\n */\nconst Modal = ({ open, closeModal, children }: ModalProps) => {\n\tlet modalClassName = \"modal\";\n\tif (open) {\n\t\tmodalClassName = `${modalClassName} open`;\n\t} else {\n\t\tmodalClassName = `${modalClassName} closed`;\n\t}\n\n\treturn (\n\t\t<div className={modalClassName} onClick={closeModal}>\n\t\t\t<div className=\"modal-main\">{children}</div>\n\t\t</div>\n\t);\n};\n\nexport default Modal;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ReleaseNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/ReleaseNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAOvD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE;IAC9B,OAAO,CACN,6BAAK,SAAS,EAAC,yBAAyB;QACvC,8BAAM,SAAS,EAAC,gBAAgB,oBAAqB;QACrD,6BAAK,SAAS,EAAC,uBAAuB;YACrC,iCAAM,KAAK,CAAC,YAAY,IAAI,yBAAyB,CAAO,CACvD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\nimport { DEFAULT_APP_RELEASE_NOTES } from \"./defaults\";\r\n\r\n/**\r\n * AppShowcase release notes section. Display information about app's most recent change notes\r\n * @param {object} props Component props\r\n * @param {string} props.releaseNotes The release notes\r\n */\r\nconst ReleaseNotes = (props) => {\r\n\treturn (\r\n\t\t<div className=\"app-notes release-notes\">\r\n\t\t\t<span className=\"showcase-label\">Release Notes</span>\r\n\t\t\t<div className=\"release-notes-content\">\r\n\t\t\t\t<div>{props.releaseNotes || DEFAULT_APP_RELEASE_NOTES}</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default ReleaseNotes;\r\n"]}
1
+ {"version":3,"file":"ReleaseNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/ReleaseNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAOvD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE;IAC9B,OAAO,CACN,6BAAK,SAAS,EAAC,yBAAyB;QACvC,8BAAM,SAAS,EAAC,gBAAgB,oBAAqB;QACrD,6BAAK,SAAS,EAAC,uBAAuB;YACrC,iCAAM,KAAK,CAAC,YAAY,IAAI,yBAAyB,CAAO,CACvD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\nimport { DEFAULT_APP_RELEASE_NOTES } from \"./defaults\";\n\n/**\n * AppShowcase release notes section. Display information about app's most recent change notes\n * @param {object} props Component props\n * @param {string} props.releaseNotes The release notes\n */\nconst ReleaseNotes = (props) => {\n\treturn (\n\t\t<div className=\"app-notes release-notes\">\n\t\t\t<span className=\"showcase-label\">Release Notes</span>\n\t\t\t<div className=\"release-notes-content\">\n\t\t\t\t<div>{props.releaseNotes || DEFAULT_APP_RELEASE_NOTES}</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default ReleaseNotes;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SupportNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/SupportNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAG5D,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAQrD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/B,6BAAK,SAAS,EAAC,mBAAmB;IACjC,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,8BAAM,SAAS,EAAC,gBAAgB,cAAe;QAC/C,6BAAK,SAAS,EAAC,SAAS,IAAE,KAAK,CAAC,KAAK,CAAO,CACvC;IACN,6BAAK,SAAS,EAAC,cAAc;QAC5B,8BAAM,SAAS,EAAC,gBAAgB,WAAY;QAC5C,6BAAK,SAAS,EAAC,MAAM,IACnB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YAC1B,IAAI,OAAO,GAAG,GAAG,CAAC;YAElB,OAAO,CACN,6BAAK,GAAG,EAAE,sBAAsB,CAAC,EAAE,EAAE,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC;gBACtG,8BAAM,SAAS,EAAC,eAAe,EAAC,KAAK,EAAE,OAAO,IAC5C,8BAA8B,CAAC,OAAO,CAAC,CAClC,CACF,CACN,CAAC;QACH,CAAC,CAAC,CACG,CACD,CACD,CACN,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\nimport { getTruncatedStringWithEllipses } from \"../helpers\";\r\n\r\n//data\r\nimport storeActions from \"../../stores/storeActions\";\r\n\r\n/**\r\n * AppShowcase support notes section.\r\n * @param {object} props Component props\r\n * @param {string} props.email The publisher's support email address\r\n * @param {array} props.tags An array containing the names of all tags that apply to this app\r\n */\r\nconst SupportNotes = (props) => (\r\n\t<div className=\"dev-notes support\">\r\n\t\t<div className=\"support-content\">\r\n\t\t\t<span className=\"showcase-label\">Support</span>\r\n\t\t\t<div className=\"support\">{props.email}</div>\r\n\t\t</div>\r\n\t\t<div className=\"tags-content\">\r\n\t\t\t<span className=\"showcase-label\">Tags</span>\r\n\t\t\t<div className=\"tags\">\r\n\t\t\t\t{props.tags.map((tag, i) => {\r\n\t\t\t\t\tlet tagName = tag;\r\n\r\n\t\t\t\t\treturn (\r\n\t\t\t\t\t\t<div key={`showcase-tag-label-${i}`} className=\"tag-label\" onClick={storeActions.addTag.bind(this, tag)}>\r\n\t\t\t\t\t\t\t<span className=\"label-content\" title={tagName}>\r\n\t\t\t\t\t\t\t\t{getTruncatedStringWithEllipses(tagName)}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t);\r\n\t\t\t\t})}\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n);\r\n\r\nexport default SupportNotes;\r\n"]}
1
+ {"version":3,"file":"SupportNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/SupportNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAG5D,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAQrD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/B,6BAAK,SAAS,EAAC,mBAAmB;IACjC,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,8BAAM,SAAS,EAAC,gBAAgB,cAAe;QAC/C,6BAAK,SAAS,EAAC,SAAS,IAAE,KAAK,CAAC,KAAK,CAAO,CACvC;IACN,6BAAK,SAAS,EAAC,cAAc;QAC5B,8BAAM,SAAS,EAAC,gBAAgB,WAAY;QAC5C,6BAAK,SAAS,EAAC,MAAM,IACnB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YAC1B,IAAI,OAAO,GAAG,GAAG,CAAC;YAElB,OAAO,CACN,6BAAK,GAAG,EAAE,sBAAsB,CAAC,EAAE,EAAE,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC;gBACtG,8BAAM,SAAS,EAAC,eAAe,EAAC,KAAK,EAAE,OAAO,IAC5C,8BAA8B,CAAC,OAAO,CAAC,CAClC,CACF,CACN,CAAC;QACH,CAAC,CAAC,CACG,CACD,CACD,CACN,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\nimport { getTruncatedStringWithEllipses } from \"../helpers\";\n\n//data\nimport storeActions from \"../../stores/storeActions\";\n\n/**\n * AppShowcase support notes section.\n * @param {object} props Component props\n * @param {string} props.email The publisher's support email address\n * @param {array} props.tags An array containing the names of all tags that apply to this app\n */\nconst SupportNotes = (props) => (\n\t<div className=\"dev-notes support\">\n\t\t<div className=\"support-content\">\n\t\t\t<span className=\"showcase-label\">Support</span>\n\t\t\t<div className=\"support\">{props.email}</div>\n\t\t</div>\n\t\t<div className=\"tags-content\">\n\t\t\t<span className=\"showcase-label\">Tags</span>\n\t\t\t<div className=\"tags\">\n\t\t\t\t{props.tags.map((tag, i) => {\n\t\t\t\t\tlet tagName = tag;\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<div key={`showcase-tag-label-${i}`} className=\"tag-label\" onClick={storeActions.addTag.bind(this, tag)}>\n\t\t\t\t\t\t\t<span className=\"label-content\" title={tagName}>\n\t\t\t\t\t\t\t\t{getTruncatedStringWithEllipses(tagName)}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t</div>\n\t</div>\n);\n\nexport default SupportNotes;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"VersionNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/VersionNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAOjD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE;IAC9B,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B;QACxC,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,8BAAM,SAAS,EAAC,gBAAgB,cAAe;YAC/C,6BAAK,SAAS,EAAC,SAAS,IAAE,KAAK,CAAC,OAAO,IAAI,mBAAmB,CAAO,CAChE;QACN,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,8BAAM,SAAS,EAAC,gBAAgB,mBAAoB;YACpD,6BAAK,SAAS,EAAC,SAAS,oBAAoB,CACvC,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\nimport { DEFAULT_APP_VERSION } from \"./defaults\";\r\n\r\n/**\r\n * AppShowcase version notes section.\r\n * @param {object} props Component props\r\n * @param {string} props.version The current app version\r\n */\r\nconst VersionNotes = (props) => {\r\n\treturn (\r\n\t\t<div className=\"dev-notes version-update\">\r\n\t\t\t<div className=\"version-content\">\r\n\t\t\t\t<span className=\"showcase-label\">Version</span>\r\n\t\t\t\t<div className=\"version\">{props.version || DEFAULT_APP_VERSION}</div>\r\n\t\t\t</div>\r\n\t\t\t<div className=\"updated-content\">\r\n\t\t\t\t<span className=\"showcase-label\">Last Updated</span>\r\n\t\t\t\t<div className=\"updated\">Not available</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default VersionNotes;\r\n"]}
1
+ {"version":3,"file":"VersionNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/VersionNotes.jsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAOjD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,EAAE;IAC9B,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B;QACxC,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,8BAAM,SAAS,EAAC,gBAAgB,cAAe;YAC/C,6BAAK,SAAS,EAAC,SAAS,IAAE,KAAK,CAAC,OAAO,IAAI,mBAAmB,CAAO,CAChE;QACN,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,8BAAM,SAAS,EAAC,gBAAgB,mBAAoB;YACpD,6BAAK,SAAS,EAAC,SAAS,oBAAoB,CACvC,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\nimport { DEFAULT_APP_VERSION } from \"./defaults\";\n\n/**\n * AppShowcase version notes section.\n * @param {object} props Component props\n * @param {string} props.version The current app version\n */\nconst VersionNotes = (props) => {\n\treturn (\n\t\t<div className=\"dev-notes version-update\">\n\t\t\t<div className=\"version-content\">\n\t\t\t\t<span className=\"showcase-label\">Version</span>\n\t\t\t\t<div className=\"version\">{props.version || DEFAULT_APP_VERSION}</div>\n\t\t\t</div>\n\t\t\t<div className=\"updated-content\">\n\t\t\t\t<span className=\"showcase-label\">Last Updated</span>\n\t\t\t\t<div className=\"updated\">Not available</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default VersionNotes;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/defaults.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,sCAAsC,CAAC;AAC9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC;AACzC,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC","sourcesContent":["export const DEFAULT_APP_DESCRIPTION = \"Place a description of the app here.\";\r\nexport const DEFAULT_APP_VERSION = \"N/A\";\r\nexport const DEFAULT_APP_RELEASE_NOTES = \"N/A\";\r\n"]}
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/defaults.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,sCAAsC,CAAC;AAC9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC;AACzC,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC","sourcesContent":["export const DEFAULT_APP_DESCRIPTION = \"Place a description of the app here.\";\nexport const DEFAULT_APP_VERSION = \"N/A\";\nexport const DEFAULT_APP_RELEASE_NOTES = \"N/A\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,GAAG,GAAG,CAAC,KAAY,EAAE,EAAE;IAC5B,MAAM,MAAM,GAAG,GAAG,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,SAAS;QACvB,6BAAK,SAAS,EAAC,aAAa;YAC3B,6BAAK,SAAS,EAAC,UAAU,IAAE,KAAK,CAAC,IAAI,CAAO;;YAC5C,2BAAG,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,GAAM,CACnD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\ninterface Props {\r\n\tname: string;\r\n\tremoveTag: (tag: string) => void;\r\n}\r\n\r\n/**\r\n * A display component for tag name. Contains a stylized label\r\n * @param {object} props Component props\r\n * @param {string} props.name The name of the tag\r\n * @param {func} props.removeTag Parent function to remove a tag from active filters\r\n */\r\nconst Tag = (props: Props) => {\r\n\tconst remove = () => {\r\n\t\tprops.removeTag(props.name);\r\n\t};\r\n\r\n\treturn (\r\n\t\t<div className=\"app-tag\">\r\n\t\t\t<div className=\"tag-content\">\r\n\t\t\t\t<div className=\"tag-name\">{props.name}</div>&nbsp;&nbsp;\r\n\t\t\t\t<i className=\"ff-close tag-delete\" onClick={remove}></i>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t);\r\n};\r\n\r\nexport default Tag;\r\n"]}
1
+ {"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,GAAG,GAAG,CAAC,KAAY,EAAE,EAAE;IAC5B,MAAM,MAAM,GAAG,GAAG,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAC,SAAS;QACvB,6BAAK,SAAS,EAAC,aAAa;YAC3B,6BAAK,SAAS,EAAC,UAAU,IAAE,KAAK,CAAC,IAAI,CAAO;;YAC5C,2BAAG,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,GAAM,CACnD,CACD,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\ninterface Props {\n\tname: string;\n\tremoveTag: (tag: string) => void;\n}\n\n/**\n * A display component for tag name. Contains a stylized label\n * @param {object} props Component props\n * @param {string} props.name The name of the tag\n * @param {func} props.removeTag Parent function to remove a tag from active filters\n */\nconst Tag = (props: Props) => {\n\tconst remove = () => {\n\t\tprops.removeTag(props.name);\n\t};\n\n\treturn (\n\t\t<div className=\"app-tag\">\n\t\t\t<div className=\"tag-content\">\n\t\t\t\t<div className=\"tag-name\">{props.name}</div>&nbsp;&nbsp;\n\t\t\t\t<i className=\"ff-close tag-delete\" onClick={remove}></i>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default Tag;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,KAAK,GAAG,CAAC,KAAa,EAAE,EAAE;IAC/B,IAAI,OAAO,GAAG,eAAe,CAAC;IAC9B,IAAI,cAAc,GAAkB,IAAI,CAAC;IAEzC,QAAQ,KAAK,CAAC,uBAAuB,EAAE;QACtC,KAAK,KAAK;YACT,cAAc,GAAG,WAAW,CAAC;YAC7B,OAAO,GAAG,GAAG,OAAO,UAAU,CAAC;YAC/B,MAAM;QACP,KAAK,QAAQ;YACZ,cAAc,GAAG,aAAa,CAAC;YAC/B,OAAO,GAAG,GAAG,OAAO,QAAQ,CAAC;YAC7B,MAAM;QACP;YACC,OAAO,GAAG,GAAG,OAAO,YAAY,CAAC;YACjC,MAAM;KACP;IAED,IAAI,cAAc,KAAK,IAAI,EAAE;QAC5B,OAAO,CACN,6BAAK,SAAS,EAAE,OAAO;YACtB,8BAAM,SAAS,EAAC,OAAO;gBACtB,8BAAK;;gBACQ,cAAc,CACrB,CACF,CACN,CAAC;KACF;SAAM;QACN,OAAO,IAAI,CAAC;KACZ;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\nimport React from \"react\";\r\n\r\ninterface IProps {\r\n\tinstallationActionTaken: string;\r\n}\r\n\r\n/**\r\n * Toast component. Displays a success/failure message when an app is added/removed\r\n * @param {object} props Component props\r\n * @param {string} props.installationActionTaken String containing the action that occurred\r\n */\r\nconst Toast = (props: IProps) => {\r\n\tlet classes = \"toast-content\";\r\n\tlet messageContent: string | null = null;\r\n\r\n\tswitch (props.installationActionTaken) {\r\n\t\tcase \"add\":\r\n\t\t\tmessageContent = \"App Added\";\r\n\t\t\tclasses = `${classes} success`;\r\n\t\t\tbreak;\r\n\t\tcase \"remove\":\r\n\t\t\tmessageContent = \"App Removed\";\r\n\t\t\tclasses = `${classes} error`;\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tclasses = `${classes} not-shown`;\r\n\t\t\tbreak;\r\n\t}\r\n\r\n\tif (messageContent !== null) {\r\n\t\treturn (\r\n\t\t\t<div className={classes}>\r\n\t\t\t\t<span className=\"toast\">\r\n\t\t\t\t\t<i />\r\n\t\t\t\t\t&nbsp;&nbsp;{messageContent}\r\n\t\t\t\t</span>\r\n\t\t\t</div>\r\n\t\t);\r\n\t} else {\r\n\t\treturn null;\r\n\t}\r\n};\r\n\r\nexport default Toast;\r\n"]}
1
+ {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,KAAK,GAAG,CAAC,KAAa,EAAE,EAAE;IAC/B,IAAI,OAAO,GAAG,eAAe,CAAC;IAC9B,IAAI,cAAc,GAAkB,IAAI,CAAC;IAEzC,QAAQ,KAAK,CAAC,uBAAuB,EAAE;QACtC,KAAK,KAAK;YACT,cAAc,GAAG,WAAW,CAAC;YAC7B,OAAO,GAAG,GAAG,OAAO,UAAU,CAAC;YAC/B,MAAM;QACP,KAAK,QAAQ;YACZ,cAAc,GAAG,aAAa,CAAC;YAC/B,OAAO,GAAG,GAAG,OAAO,QAAQ,CAAC;YAC7B,MAAM;QACP;YACC,OAAO,GAAG,GAAG,OAAO,YAAY,CAAC;YACjC,MAAM;KACP;IAED,IAAI,cAAc,KAAK,IAAI,EAAE;QAC5B,OAAO,CACN,6BAAK,SAAS,EAAE,OAAO;YACtB,8BAAM,SAAS,EAAC,OAAO;gBACtB,8BAAK;;gBACQ,cAAc,CACrB,CACF,CACN,CAAC;KACF;SAAM;QACN,OAAO,IAAI,CAAC;KACZ;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\n\ninterface IProps {\n\tinstallationActionTaken: string;\n}\n\n/**\n * Toast component. Displays a success/failure message when an app is added/removed\n * @param {object} props Component props\n * @param {string} props.installationActionTaken String containing the action that occurred\n */\nconst Toast = (props: IProps) => {\n\tlet classes = \"toast-content\";\n\tlet messageContent: string | null = null;\n\n\tswitch (props.installationActionTaken) {\n\t\tcase \"add\":\n\t\t\tmessageContent = \"App Added\";\n\t\t\tclasses = `${classes} success`;\n\t\t\tbreak;\n\t\tcase \"remove\":\n\t\t\tmessageContent = \"App Removed\";\n\t\t\tclasses = `${classes} error`;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tclasses = `${classes} not-shown`;\n\t\t\tbreak;\n\t}\n\n\tif (messageContent !== null) {\n\t\treturn (\n\t\t\t<div className={classes}>\n\t\t\t\t<span className=\"toast\">\n\t\t\t\t\t<i />\n\t\t\t\t\t&nbsp;&nbsp;{messageContent}\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t);\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default Toast;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/helpers.js"],"names":[],"mappings":"AAAA,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAE/B,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,OAAO,EAAE,EAAE;IACpD,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxC,MAAM,mBAAmB,GAAG,cAAc,CAAC;IAE3C,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;QAC5B,IAAI,WAAW,CAAC;QAChB,IAAI,WAAW,CAAC;QAEhB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAChD,WAAW,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACjC,IAAI,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC1C,MAAM;aACN;SACD;QAGD,mBAAmB,CAAC,OAAO,EAAE,CAAC;QAE9B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAChD,WAAW,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACjC,IAAI,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;gBAC1C,MAAM;aACN;SACD;QAED,OAAO,GAAG,WAAW,CAAC,WAAW,EAAE,GAAG,WAAW,CAAC,WAAW,EAAE,EAAE,CAAC;KAClE;SAAM;QACN,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;KACxC;AACF,CAAC,CAAC;AAEF,MAAM,UAAU,8BAA8B,CAAC,IAAI;IAClD,IAAI,IAAI,CAAC,MAAM,IAAI,EAAE,EAAE;QACtB,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC;KAC1D;IAED,OAAO,IAAI,CAAC;AACb,CAAC","sourcesContent":["const TAG_CHARACTER_LIMIT = 30;\r\n\r\nexport const getAppNameIconWhenNoImage = (appName) => {\r\n\tconst appNameWords = appName.split(\" \");\r\n\tconst testForAlphaNumeric = /[a-zA-Z0-9]/g;\r\n\r\n\tif (appNameWords.length > 1) {\r\n\t\tlet word1Letter;\r\n\t\tlet word2Letter;\r\n\r\n\t\tfor (let i = 0; i < appNameWords[0].length; i++) {\r\n\t\t\tword1Letter = appNameWords[0][i];\r\n\t\t\tif (testForAlphaNumeric.test(word1Letter)) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//Reset the regexp\r\n\t\ttestForAlphaNumeric.compile();\r\n\r\n\t\tfor (let j = 0; j < appNameWords[1].length; j++) {\r\n\t\t\tword2Letter = appNameWords[1][j];\r\n\t\t\tif (testForAlphaNumeric.test(word2Letter)) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn `${word1Letter.toUpperCase()}${word2Letter.toUpperCase()}`;\r\n\t} else {\r\n\t\treturn appNameWords[0][0].toUpperCase();\r\n\t}\r\n};\r\n\r\nexport function getTruncatedStringWithEllipses(name) {\r\n\tif (name.length >= 30) {\r\n\t\treturn `${name.substring(0, TAG_CHARACTER_LIMIT - 3)}...`;\r\n\t}\r\n\r\n\treturn name;\r\n}\r\n"]}
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/helpers.js"],"names":[],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CAAC,KAAK,CAAC;KAC1D;IAED,OAAO,IAAI,CAAC;AACb,CAAC","sourcesContent":["const TAG_CHARACTER_LIMIT = 30;\n\nexport const getAppNameIconWhenNoImage = (appName) => {\n\tconst appNameWords = appName.split(\" \");\n\tconst testForAlphaNumeric = /[a-zA-Z0-9]/g;\n\n\tif (appNameWords.length > 1) {\n\t\tlet word1Letter;\n\t\tlet word2Letter;\n\n\t\tfor (let i = 0; i < appNameWords[0].length; i++) {\n\t\t\tword1Letter = appNameWords[0][i];\n\t\t\tif (testForAlphaNumeric.test(word1Letter)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t//Reset the regexp\n\t\ttestForAlphaNumeric.compile();\n\n\t\tfor (let j = 0; j < appNameWords[1].length; j++) {\n\t\t\tword2Letter = appNameWords[1][j];\n\t\t\tif (testForAlphaNumeric.test(word2Letter)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn `${word1Letter.toUpperCase()}${word2Letter.toUpperCase()}`;\n\t} else {\n\t\treturn appNameWords[0][0].toUpperCase();\n\t}\n};\n\nexport function getTruncatedStringWithEllipses(name) {\n\tif (name.length >= 30) {\n\t\treturn `${name.substring(0, TAG_CHARACTER_LIMIT - 3)}...`;\n\t}\n\n\treturn name;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/appCatalog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { AppCatalog } from \"./AppCatalog\";\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/appCatalog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { AppCatalog } from \"./AppCatalog\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AppDirectory.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/modules/AppDirectory.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,OAAO,YAAY;IAChC,YAAY,MAAa;QACxB,OAAO,MAAM,CAAC;IACf,CAAC;CACD","sourcesContent":["/**\r\n * Copyright 2018 by ChartIQ, Inc.\r\n * All rights reserved.\r\n * To be implemented..\r\n */\r\n\r\ntype Class = { new (...args: any[]): any };\r\n\r\nexport default class AppDirectory {\r\n\tconstructor(client: Class) {\r\n\t\treturn client;\r\n\t}\r\n}\r\n"]}
1
+ {"version":3,"file":"AppDirectory.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/modules/AppDirectory.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,OAAO,YAAY;IAChC,YAAY,MAAa;QACxB,OAAO,MAAM,CAAC;IACf,CAAC;CACD","sourcesContent":["/**\n * Copyright 2018 by ChartIQ, Inc.\n * All rights reserved.\n * To be implemented..\n */\n\ntype Class = { new (...args: any[]): any };\n\nexport default class AppDirectory {\n\tconstructor(client: Class) {\n\t\treturn client;\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"FDC3.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/modules/FDC3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,kBAAkB,GAAG,CAC1B,QAGC,EACD,IAA2C,EAC1C,EAAE;IACH,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;QAE7B,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE;YAE5B,IAAI,CAAC,IAAI,CAAC,CAAC;SACX;aAAM;YAEN,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SACjB;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,KAAY,EAAE,IAAwC,EAAE,EAAE;IAClF,IAAI,CAAC;QACJ,OAAO,EAAE,kBAAkB,KAAK,CAAC,OAAO,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,CAAC;IAMD,OAAO,CAAC,QAA2D;QAClE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACtC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;gBACnC,IAAI,KAAK,EAAE;oBACV,MAAM,CAAC,KAAK,CAAC,CAAC;iBACd;qBAAM,IAAI,IAAI,EAAE;oBAChB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACnB;gBACD,IAAI,QAAQ,IAAI,IAAI,EAAE;oBACrB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;iBAC1B;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;IAQD,MAAM,CAAC,MAA8B,EAAE,QAA4B;QAClE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACtC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC,KAAqB,EAAE,IAA0B,EAAE,EAAE;gBACxF,IAAI,KAAK,EAAE;oBACV,MAAM,CAAC,KAAK,CAAC,CAAC;iBACd;gBAED,IAAI,QAAQ,EAAE;oBACb,QAAQ,CAAC,IAAI,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,CAAC;iBACnC;qBAAM,IAAI,IAAI,EAAE;oBAChB,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;iBAC3B;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;CACD","sourcesContent":["import React from \"react\";\r\nimport {\r\n\tFDC3Props,\r\n\tFDC3PostCallback,\r\n\tFDC3SearchCallback,\r\n\tFDC3GetCallback,\r\n\tErrorOrMessage,\r\n\tFDC3PostCallbackData,\r\n} from \"../../../types/fdc3\";\r\nimport { StandardError } from \"@finsemble/finsemble-core/types/types\";\r\n\r\nconst handleFdc3Response = (\r\n\tresponse: {\r\n\t\tjson: () => Promise<any>;\r\n\t\tstatus: number;\r\n\t},\r\n\tdone: (dataOrNull: any, data?: any) => void\r\n) => {\r\n\tresponse.json().then((data) => {\r\n\t\t// We are expecting 200 here for data\r\n\t\tif (response.status !== 200) {\r\n\t\t\t// We have a problem, data as error message\r\n\t\t\tdone(data);\r\n\t\t} else {\r\n\t\t\t// All good, no problem\r\n\t\t\tdone(null, data);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nconst handleFdc3Error = (error: Error, done: (msg: { message: string }) => void) => {\r\n\tdone({\r\n\t\tmessage: `Request failed ${error.message}`,\r\n\t});\r\n};\r\n\r\n/**\r\n * Copyright 2018 by ChartIQ, Inc.\r\n * All rights reserved.\r\n *\r\n * FDC3 App directory client, I will be using fetch()\r\n * to make calls to the appd web service, even though I'm\r\n * not sure where did fetch() come from, will investigate later\r\n */\r\nexport default class FDC3 extends React.Component<FDC3Props> {\r\n\tcreds: {};\r\n\r\n\tconfig: FDC3Props[\"config\"];\r\n\r\n\tconstructor(props: FDC3Props) {\r\n\t\tsuper(props);\r\n\t\tif (!this.props.config.url) {\r\n\t\t\tthrow new Error(\"Please specify the url of the app directory.\");\r\n\t\t}\r\n\t\tthis.creds = this.props.creds;\r\n\t\tthis.config = {\r\n\t\t\turl: this.props.config.url.replace(/\\/+$/, \"\"),\r\n\t\t};\r\n\t}\r\n\r\n\t/**\r\n\t * Http get wrapper\r\n\t * @param {string} path The restful method path\r\n\t * @param {function} done The callback function\r\n\t */\r\n\t_get(path: string, done: FDC3GetCallback) {\r\n\t\tfetch(this.config.url + path, {\r\n\t\t\tmethod: \"GET\",\r\n\t\t})\r\n\t\t\t.then((response) => handleFdc3Response(response, done))\r\n\t\t\t.catch((error) => handleFdc3Error(error, done));\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param {string} path The restful method path\r\n\t * @param {object} params The post data\r\n\t * @param {function} done The callback function\r\n\t */\r\n\t_post(path: string, params: Record<string, string>, done: FDC3PostCallback) {\r\n\t\tfetch(this.config.url + path, {\r\n\t\t\tmethod: \"POST\",\r\n\t\t\tbody: JSON.stringify(params),\r\n\t\t\theaders: {\r\n\t\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t},\r\n\t\t})\r\n\t\t\t.then((response) => handleFdc3Response(response, done))\r\n\t\t\t.catch((error) => handleFdc3Error(error, done));\r\n\t}\r\n\r\n\t/**\r\n\t * Returns all applications\r\n\t * @param {function} callback The optional callback function\r\n\t */\r\n\tgetAll(callback: (arg1: Record<string, string> | null, applications: string[]) => void) {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tthis._get(\"/apps/\", (error, data) => {\r\n\t\t\t\tif (error) {\r\n\t\t\t\t\treject(error);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tresolve(data?.applications);\r\n\t\t\t\t}\r\n\t\t\t\tif (callback) {\r\n\t\t\t\t\tcallback(error, data?.applications || []);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a single application in results\r\n\t * @param {string} appId The app id\r\n\t */\r\n\tget(appId: string, callback: (error: StandardError, application: string) => void) {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tthis._get(`/apps/${appId}`, (error, data) => {\r\n\t\t\t\tif (error) {\r\n\t\t\t\t\treject(error);\r\n\t\t\t\t}\r\n\t\t\t\tif (callback && data?.applications) {\r\n\t\t\t\t\tcallback(null, data.applications[0]);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (data?.applications) {\r\n\t\t\t\t\tresolve(data.applications[0]);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Returns unique tags\r\n\t * @param {function} callback The optional callback function\r\n\t */\r\n\tgetTags(callback: (error: StandardError, results: string[]) => void) {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tthis._get(\"/tags/\", (error, data) => {\r\n\t\t\t\tif (error) {\r\n\t\t\t\t\treject(error);\r\n\t\t\t\t} else if (data) {\r\n\t\t\t\t\tresolve(data.tags);\r\n\t\t\t\t}\r\n\t\t\t\tif (callback && data) {\r\n\t\t\t\t\tcallback(null, data.tags);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a list of applications based on text and filter\r\n\t * @param {object} params The search criteria\r\n\t * @param {function} callback The callback function\r\n\t * @example search({text: 'blah', filter: {tag: 'newrelease'}})\r\n\t */\r\n\tsearch(params: Record<string, string>, callback: FDC3SearchCallback) {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tthis._post(\"/apps/search\", params, (error: ErrorOrMessage, data: FDC3PostCallbackData) => {\r\n\t\t\t\tif (error) {\r\n\t\t\t\t\treject(error);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (callback) {\r\n\t\t\t\t\tcallback(null, data?.applications);\r\n\t\t\t\t} else if (data) {\r\n\t\t\t\t\tresolve(data.applications);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n}\r\n"]}
1
+ {"version":3,"file":"FDC3.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/modules/FDC3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,kBAAkB,GAAG,CAC1B,QAGC,EACD,IAA2C,EAC1C,EAAE;IACH,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;QAE7B,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE;YAE5B,IAAI,CAAC,IAAI,CAAC,CAAC;SACX;aAAM;YAEN,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SACjB;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,KAAY,EAAE,IAAwC,EAAE,EAAE;IAClF,IA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B;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;IAMD,OAAO,CAAC,QAA2D;QAClE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACtC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;gBACnC,IAAI,KAAK,EAAE;oBACV,MAAM,CAAC,KAAK,CAAC,CAAC;iBACd;qBAAM,IAAI,IAAI,EAAE;oBAChB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACnB;gBACD,IAAI,QAAQ,IAAI,IAAI,EAAE;oBACrB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;iBAC1B;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;IAQD,MAAM,CAAC,MAA8B,EAAE,QAA4B;QAClE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACtC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC,KAAqB,EAAE,IAA0B,EAAE,EAAE;gBACxF,IAAI,KAAK,EAAE;oBACV,MAAM,CAAC,KAAK,CAAC,CAAC;iBACd;gBAED,IAAI,QAAQ,EAAE;oBACb,QAAQ,CAAC,IAAI,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,CAAC,CAAC;iBACnC;qBAAM,IAAI,IAAI,EAAE;oBAChB,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;iBAC3B;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;CACD","sourcesContent":["import React from \"react\";\nimport {\n\tFDC3Props,\n\tFDC3PostCallback,\n\tFDC3SearchCallback,\n\tFDC3GetCallback,\n\tErrorOrMessage,\n\tFDC3PostCallbackData,\n} from \"../../../types/fdc3\";\nimport { StandardError } from \"@finsemble/finsemble-core/types/types\";\n\nconst handleFdc3Response = (\n\tresponse: {\n\t\tjson: () => Promise<any>;\n\t\tstatus: number;\n\t},\n\tdone: (dataOrNull: any, data?: any) => void\n) => {\n\tresponse.json().then((data) => {\n\t\t// We are expecting 200 here for data\n\t\tif (response.status !== 200) {\n\t\t\t// We have a problem, data as error message\n\t\t\tdone(data);\n\t\t} else {\n\t\t\t// All good, no problem\n\t\t\tdone(null, data);\n\t\t}\n\t});\n};\n\nconst handleFdc3Error = (error: Error, done: (msg: { message: string }) => void) => {\n\tdone({\n\t\tmessage: `Request failed ${error.message}`,\n\t});\n};\n\n/**\n * Copyright 2018 by ChartIQ, Inc.\n * All rights reserved.\n *\n * FDC3 App directory client, I will be using fetch()\n * to make calls to the appd web service, even though I'm\n * not sure where did fetch() come from, will investigate later\n */\nexport default class FDC3 extends React.Component<FDC3Props> {\n\tcreds: {};\n\n\tconfig: FDC3Props[\"config\"];\n\n\tconstructor(props: FDC3Props) {\n\t\tsuper(props);\n\t\tif (!this.props.config.url) {\n\t\t\tthrow new Error(\"Please specify the url of the app directory.\");\n\t\t}\n\t\tthis.creds = this.props.creds;\n\t\tthis.config = {\n\t\t\turl: this.props.config.url.replace(/\\/+$/, \"\"),\n\t\t};\n\t}\n\n\t/**\n\t * Http get wrapper\n\t * @param {string} path The restful method path\n\t * @param {function} done The callback function\n\t */\n\t_get(path: string, done: FDC3GetCallback) {\n\t\tfetch(this.config.url + path, {\n\t\t\tmethod: \"GET\",\n\t\t})\n\t\t\t.then((response) => handleFdc3Response(response, done))\n\t\t\t.catch((error) => handleFdc3Error(error, done));\n\t}\n\n\t/**\n\t *\n\t * @param {string} path The restful method path\n\t * @param {object} params The post data\n\t * @param {function} done The callback function\n\t */\n\t_post(path: string, params: Record<string, string>, done: FDC3PostCallback) {\n\t\tfetch(this.config.url + path, {\n\t\t\tmethod: \"POST\",\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t},\n\t\t})\n\t\t\t.then((response) => handleFdc3Response(response, done))\n\t\t\t.catch((error) => handleFdc3Error(error, done));\n\t}\n\n\t/**\n\t * Returns all applications\n\t * @param {function} callback The optional callback function\n\t */\n\tgetAll(callback: (arg1: Record<string, string> | null, applications: string[]) => void) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._get(\"/apps/\", (error, data) => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(data?.applications);\n\t\t\t\t}\n\t\t\t\tif (callback) {\n\t\t\t\t\tcallback(error, data?.applications || []);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Returns a single application in results\n\t * @param {string} appId The app id\n\t */\n\tget(appId: string, callback: (error: StandardError, application: string) => void) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._get(`/apps/${appId}`, (error, data) => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t\tif (callback && data?.applications) {\n\t\t\t\t\tcallback(null, data.applications[0]);\n\t\t\t\t}\n\n\t\t\t\tif (data?.applications) {\n\t\t\t\t\tresolve(data.applications[0]);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Returns unique tags\n\t * @param {function} callback The optional callback function\n\t */\n\tgetTags(callback: (error: StandardError, results: string[]) => void) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._get(\"/tags/\", (error, data) => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t} else if (data) {\n\t\t\t\t\tresolve(data.tags);\n\t\t\t\t}\n\t\t\t\tif (callback && data) {\n\t\t\t\t\tcallback(null, data.tags);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Returns a list of applications based on text and filter\n\t * @param {object} params The search criteria\n\t * @param {function} callback The callback function\n\t * @example search({text: 'blah', filter: {tag: 'newrelease'}})\n\t */\n\tsearch(params: Record<string, string>, callback: FDC3SearchCallback) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._post(\"/apps/search\", params, (error: ErrorOrMessage, data: FDC3PostCallbackData) => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\tif (callback) {\n\t\t\t\t\tcallback(null, data?.applications);\n\t\t\t\t} else if (data) {\n\t\t\t\t\tresolve(data.applications);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"appStore.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/stores/appStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAEjC,MAAM,aAAa,GAAG;IACrB;QACC,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,IAAI;KACX;IACD;QACC,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,KAAK;KACZ;CACD,CAAC;AAEF,IAAI,eAA2B,CAAC;AAEhC,SAAS,WAAW,CAAC,EAAoB;IACxC,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAC3C,EAAE,KAAK,EAAE,6BAA6B,EAAE,MAAM,EAAE,IAAI,EAAE,EACtD,CAAC,GAAkB,EAAE,KAAkB,EAAE,EAAE;QAC1C,IAAI,KAAK,EAAE;YACV,eAAe,GAAG,KAAK,CAAC;YAGxB,eAAe,CAAC,SAAS,CAAC,aAAa,EAAE,GAAG,EAAE;gBAC7C,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;SACH;IACF,CAAC,CACD,CAAC;AACH,CAAC;AAED,SAAS,QAAQ;IAChB,OAAO,eAAe,CAAC;AACxB,CAAC","sourcesContent":["/*!\r\n * Copyright 2018 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n\r\nimport StoreModel from \"@finsemble/finsemble-core/types/clients/StoreModel\";\r\nimport { StandardCallback, StandardError } from \"@finsemble/finsemble-core/types/types\";\r\n\r\nexport { createStore, getStore };\r\n\r\nconst defaultValues = [\r\n\t{\r\n\t\tfield: \"apps\",\r\n\t\tvalue: [],\r\n\t},\r\n\t{\r\n\t\tfield: \"filteredApps\",\r\n\t\tvalue: [],\r\n\t},\r\n\t{\r\n\t\tfield: \"activeTags\",\r\n\t\tvalue: [],\r\n\t},\r\n\t{\r\n\t\tfield: \"activeApp\",\r\n\t\tvalue: null,\r\n\t},\r\n\t{\r\n\t\tfield: \"searchText\",\r\n\t\tvalue: \"\",\r\n\t},\r\n\t{\r\n\t\tfield: \"forceSearch\",\r\n\t\tvalue: false,\r\n\t},\r\n];\r\n\r\nlet appCatalogStore: StoreModel;\r\n\r\nfunction createStore(cb: StandardCallback) {\r\n\tFSBL.Clients.DistributedStoreClient.getStore(\r\n\t\t{ store: \"Finsemble-AppLauncher-Store\", global: true },\r\n\t\t(err: StandardError, store?: StoreModel) => {\r\n\t\t\tif (store) {\r\n\t\t\t\tappCatalogStore = store;\r\n\r\n\t\t\t\t// set default values before initializing the store with values from storage.\r\n\t\t\t\tappCatalogStore.setValues(defaultValues, () => {\r\n\t\t\t\t\tcb(null, appCatalogStore);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t);\r\n}\r\n\r\nfunction getStore() {\r\n\treturn appCatalogStore;\r\n}\r\n"]}
1
+ {"version":3,"file":"appStore.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/stores/appStore.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAEjC,MAAM,aAAa,GAAG;IACrB;QACC,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,IAAI;KACX;IACD;QACC,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,EAAE;KACT;IACD;QACC,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,KAAK;KACZ;CACD,CAAC;AAEF,IAAI,eAA2B,CAAC;AAEhC,SAAS,WAAW,CAAC,EAAoB;IACxC,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAC3C,EAAE,KAAK,EAAE,6BAA6B,EAAE,MAAM,EAAE,IAAI,EAAE,EACtD,CAAC,GAAkB,EAAE,KAAkB,EAAE,EAAE;QAC1C,IAAI,KAAK,EAAE;YACV,eAAe,GAAG,KAAK,CAAC;YAGxB,eAAe,CAAC,SAAS,CAAC,aAAa,EAAE,GAAG,EAAE;gBAC7C,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;YAC3B,CAAC,CAAC,CAAC;SACH;IACF,CAAC,CACD,CAAC;AACH,CAAC;AAED,SAAS,QAAQ;IAChB,OAAO,eAAe,CAAC;AACxB,CAAC","sourcesContent":["/*!\n * Copyright 2018 by ChartIQ, Inc.\n * All rights reserved.\n */\n\nimport StoreModel from \"@finsemble/finsemble-core/types/clients/StoreModel\";\nimport { StandardCallback, StandardError } from \"@finsemble/finsemble-core/types/types\";\n\nexport { createStore, getStore };\n\nconst defaultValues = [\n\t{\n\t\tfield: \"apps\",\n\t\tvalue: [],\n\t},\n\t{\n\t\tfield: \"filteredApps\",\n\t\tvalue: [],\n\t},\n\t{\n\t\tfield: \"activeTags\",\n\t\tvalue: [],\n\t},\n\t{\n\t\tfield: \"activeApp\",\n\t\tvalue: null,\n\t},\n\t{\n\t\tfield: \"searchText\",\n\t\tvalue: \"\",\n\t},\n\t{\n\t\tfield: \"forceSearch\",\n\t\tvalue: false,\n\t},\n];\n\nlet appCatalogStore: StoreModel;\n\nfunction createStore(cb: StandardCallback) {\n\tFSBL.Clients.DistributedStoreClient.getStore(\n\t\t{ store: \"Finsemble-AppLauncher-Store\", global: true },\n\t\t(err: StandardError, store?: StoreModel) => {\n\t\t\tif (store) {\n\t\t\t\tappCatalogStore = store;\n\n\t\t\t\t// set default values before initializing the store with values from storage.\n\t\t\t\tappCatalogStore.setValues(defaultValues, () => {\n\t\t\t\t\tcb(null, appCatalogStore);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t);\n}\n\nfunction getStore() {\n\treturn appCatalogStore;\n}\n"]}