@finsemble/finsemble-ui 6.2.0 → 6.3.0-beta.20211008
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.
- package/package.json +17 -16
- package/react/actions/smartDesktopDesignerActions.d.ts +7 -8
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/actions/toolbarActions.d.ts +2 -3
- package/react/actions/toolbarActions.js.map +1 -1
- package/react/assets/css/notificationsCenter.css +4 -2
- package/react/assets/css/userPreferences.css +1 -0
- package/react/assets/css/windowTitleBar.css +33 -1
- package/react/components/FinsembleProvider.js +1 -1
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +7 -1
- package/react/components/appCatalog/components/AppList.js +1 -1
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +10 -8
- package/react/components/appCatalog/components/AppResults.js +1 -1
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.js +1 -1
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +2 -1
- package/react/components/appCatalog/components/EmptyResults.js +2 -4
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
- package/react/components/appCatalog/components/Hero.d.ts +24 -4
- package/react/components/appCatalog/components/Hero.js +2 -1
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +18 -4
- package/react/components/appCatalog/components/Home.js.map +1 -1
- package/react/components/appCatalog/components/SearchBar.d.ts +20 -7
- package/react/components/appCatalog/components/SearchBar.js +4 -7
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +5 -3
- package/react/components/appCatalog/components/Showcase/AppDescription.js +4 -6
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +5 -4
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +13 -5
- package/react/components/appCatalog/components/Showcase/Header.js +2 -2
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +7 -4
- package/react/components/appCatalog/components/Showcase/Modal.js +6 -6
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -3
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -1
- package/react/components/appCatalog/components/Tag.d.ts +6 -4
- package/react/components/appCatalog/components/Tag.js.map +1 -1
- package/react/components/appCatalog/components/Toast.d.ts +5 -3
- package/react/components/appCatalog/components/Toast.js +5 -4
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +5 -1
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.d.ts +12 -11
- package/react/components/appCatalog/modules/FDC3.js +20 -18
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +9 -2
- package/react/components/appCatalog/stores/appStore.js +10 -4
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/common/Button.d.ts +4 -4
- package/react/components/common/Button.js +1 -1
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.js +1 -1
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ColorPicker.js +1 -1
- package/react/components/common/ColorPicker.js.map +1 -1
- package/react/components/common/DropZone.d.ts +0 -5
- package/react/components/common/DropZone.js.map +1 -1
- package/react/components/common/DropdownButton.js +1 -1
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FileInput.d.ts +0 -5
- package/react/components/common/FileInput.js +7 -9
- package/react/components/common/FileInput.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +2 -2
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleSelect.js +2 -5
- package/react/components/common/FinsembleSelect.js.map +1 -1
- package/react/components/common/FinsembleToggle.js +2 -2
- package/react/components/common/FinsembleToggle.js.map +1 -1
- package/react/components/common/FontSizeSelector.js +2 -2
- package/react/components/common/FontSizeSelector.js.map +1 -1
- package/react/components/common/ImagePreview.js +2 -2
- package/react/components/common/ImagePreview.js.map +1 -1
- package/react/components/common/Tab.js +2 -1
- package/react/components/common/Tab.js.map +1 -1
- package/react/components/common/file_helpers.js +3 -2
- package/react/components/common/file_helpers.js.map +1 -1
- package/react/components/common/helpers.js +8 -10
- package/react/components/common/helpers.js.map +1 -1
- package/react/components/common/stories/Button.stories.js +1 -1
- package/react/components/common/stories/Button.stories.js.map +1 -1
- package/react/components/common/stories/ButtonIcon.stories.js +1 -1
- package/react/components/common/stories/ButtonIcon.stories.js.map +1 -1
- package/react/components/common/stories/ButtonRow.stories.js +2 -2
- package/react/components/common/stories/ButtonRow.stories.js.map +1 -1
- package/react/components/common/stories/ButtonTile.stories.js +1 -1
- package/react/components/common/stories/ButtonTile.stories.js.map +1 -1
- package/react/components/common/stories/Checkbox.stories.js +1 -1
- package/react/components/common/stories/Checkbox.stories.js.map +1 -1
- package/react/components/common/stories/ColorPicker.stories.js +1 -1
- package/react/components/common/stories/ColorPicker.stories.js.map +1 -1
- package/react/components/common/stories/DropZone.stories.js +1 -1
- package/react/components/common/stories/DropZone.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleSelect.stories.js +1 -1
- package/react/components/common/stories/FinsembleSelect.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleToggle.stories.js +3 -1
- package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -1
- package/react/components/common/stories/FontSizeSelector.stories.js +1 -1
- package/react/components/common/stories/FontSizeSelector.stories.js.map +1 -1
- package/react/components/common/stories/Header.stories.js +1 -1
- package/react/components/common/stories/Header.stories.js.map +1 -1
- package/react/components/common/tests/Checkbox.spec.js +4 -4
- package/react/components/common/tests/Checkbox.spec.js.map +1 -1
- package/react/components/common/tests/ColorPicker.spec.js +6 -6
- package/react/components/common/tests/ColorPicker.spec.js.map +1 -1
- package/react/components/common/tests/DropZone.spec.js +4 -4
- package/react/components/common/tests/DropZone.spec.js.map +1 -1
- package/react/components/common/tests/FileInput.spec.js +5 -5
- package/react/components/common/tests/FileInput.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleSelect.spec.js +12 -11
- package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleToggle.spec.js +8 -2
- package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -1
- package/react/components/common/tests/Header.spec.js +3 -3
- package/react/components/common/tests/Header.spec.js.map +1 -1
- package/react/components/common/tests/ImagePreview.spec.js +8 -8
- package/react/components/common/tests/ImagePreview.spec.js.map +1 -1
- package/react/components/common/tests/Tab.spec.js +3 -3
- package/react/components/common/tests/Tab.spec.js.map +1 -1
- package/react/components/common/tests/Tooltip.spec.js +5 -5
- package/react/components/common/tests/Tooltip.spec.js.map +1 -1
- package/react/components/favorites/FavoriteMaker.d.ts +0 -5
- package/react/components/favorites/FavoriteMaker.js +1 -1
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.js +1 -1
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/favorites/FavoritesShell.spec.js +7 -7
- package/react/components/favorites/FavoritesShell.spec.js.map +1 -1
- package/react/components/favorites/FavoritesShell.stories.js +5 -4
- package/react/components/favorites/FavoritesShell.stories.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +2 -1
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +13 -13
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +5 -5
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -1
- package/react/components/icon/Icon.js +5 -4
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +4 -3
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js +2 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.js +8 -5
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +18 -17
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js +3 -3
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js +2 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -1
- package/react/components/legacyControls/FinsembleMenuSection.js +6 -3
- package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js +1 -1
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js +1 -1
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js +8 -7
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js +7 -5
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +13 -12
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -1
- package/react/components/linker/LinkerMenu.js +4 -3
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +10 -42
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +1 -1
- package/react/components/menu/Menu.js +1 -1
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuPortal.js +7 -6
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/keyboardNavigation.js +14 -15
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.js +2 -4
- package/react/components/notifications/components/NoNotifications.js.map +1 -1
- package/react/components/notifications/components/drawer/Drawer.js +2 -4
- package/react/components/notifications/components/drawer/Drawer.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerControls.js +2 -4
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerHeader.js +1 -4
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +28 -43
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +10 -9
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +2 -2
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +3 -5
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +3 -2
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.d.ts +2 -1
- package/react/components/notifications/components/shared/OverflowMenu.js +6 -5
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +2 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.js +15 -24
- package/react/components/notifications/components/views/CardView.js.map +1 -1
- package/react/components/notifications/components/views/ListView.d.ts +2 -2
- package/react/components/notifications/components/views/ListView.js +9 -9
- package/react/components/notifications/components/views/ListView.js.map +1 -1
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts +2 -2
- package/react/components/notifications/components/views/NotificationDetailsView.js +2 -6
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/types.d.ts +7 -6
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +6 -4
- package/react/components/notifications/utils.js +26 -32
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +3 -1
- package/react/components/processMonitor/ProcessMonitor.js +17 -10
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +33 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js +6 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -0
- package/react/components/processMonitor/components/ChildWindow.d.ts +10 -3
- package/react/components/processMonitor/components/ChildWindow.js +19 -10
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +17 -4
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +11 -3
- package/react/components/processMonitor/components/ProcessStatistics.js +25 -18
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +11 -16
- package/react/components/processMonitor/constants.js +3 -1
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +25 -5
- package/react/components/processMonitor/helpers.js +28 -20
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/helpers.spec.d.ts +1 -0
- package/react/components/processMonitor/helpers.spec.js +44 -0
- package/react/components/processMonitor/helpers.spec.js.map +1 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +30 -15
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +101 -86
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +4 -1
- package/react/components/quickComponentForm/QuickComponentForm.js +13 -14
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/search/Highlight.js +2 -2
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Highlight.spec.js +3 -3
- package/react/components/search/Highlight.spec.js.map +1 -1
- package/react/components/search/Highlight.stories.js +1 -1
- package/react/components/search/Highlight.stories.js.map +1 -1
- package/react/components/search/Search.js +17 -8
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.js +2 -1
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchProviderResults.js +4 -5
- package/react/components/search/SearchProviderResults.js.map +1 -1
- package/react/components/search/SearchResult.js +3 -2
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.js +1 -1
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/shared/Button.js +2 -4
- package/react/components/shared/Button.js.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +1 -1
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/NavigationButton.js +9 -11
- package/react/components/shared/NavigationButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +11 -1
- package/react/components/shared/Tag.js.map +1 -1
- package/react/components/shared/TagsMenu.d.ts +26 -6
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/linkerUtil.d.ts +3 -1
- package/react/components/shared/linkerUtil.js.map +1 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.spec.js +6 -6
- package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.stories.js +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditAccess.d.ts +1 -1
- package/react/components/smartDesktopDesigner/AppEditAccess.js +17 -34
- package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditPage.d.ts +4 -4
- package/react/components/smartDesktopDesigner/AppEditPage.js +2 -2
- package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Appearance.js +3 -5
- package/react/components/smartDesktopDesigner/Appearance.js.map +1 -1
- package/react/components/smartDesktopDesigner/Application.d.ts +4 -4
- package/react/components/smartDesktopDesigner/Application.js +84 -92
- package/react/components/smartDesktopDesigner/Application.js.map +1 -1
- package/react/components/smartDesktopDesigner/ApplicationEdit.d.ts +1 -1
- package/react/components/smartDesktopDesigner/ApplicationEdit.js +68 -51
- package/react/components/smartDesktopDesigner/ApplicationEdit.js.map +1 -1
- package/react/components/smartDesktopDesigner/ApplicationList.d.ts +4 -2
- package/react/components/smartDesktopDesigner/ApplicationList.js +23 -20
- package/react/components/smartDesktopDesigner/ApplicationList.js.map +1 -1
- package/react/components/smartDesktopDesigner/ApplicationSetup.d.ts +4 -3
- package/react/components/smartDesktopDesigner/ApplicationSetup.js +8 -20
- package/react/components/smartDesktopDesigner/ApplicationSetup.js.map +1 -1
- package/react/components/smartDesktopDesigner/Applications.d.ts +0 -1
- package/react/components/smartDesktopDesigner/Applications.js +73 -62
- package/react/components/smartDesktopDesigner/Applications.js.map +1 -1
- package/react/components/smartDesktopDesigner/Authentication.js +2 -8
- package/react/components/smartDesktopDesigner/Authentication.js.map +1 -1
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js +1 -8
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +1 -1
- package/react/components/smartDesktopDesigner/Content.js.map +1 -1
- package/react/components/smartDesktopDesigner/CurrentView.js +1 -1
- package/react/components/smartDesktopDesigner/CurrentView.js.map +1 -1
- package/react/components/smartDesktopDesigner/Export.js +3 -3
- package/react/components/smartDesktopDesigner/Export.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportCloud.js +1 -1
- package/react/components/smartDesktopDesigner/ExportCloud.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportDeployInfo.js +1 -1
- package/react/components/smartDesktopDesigner/ExportDeployInfo.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportZip.js +0 -1
- package/react/components/smartDesktopDesigner/ExportZip.js.map +1 -1
- package/react/components/smartDesktopDesigner/GettingStarted.d.ts +1 -1
- package/react/components/smartDesktopDesigner/GettingStarted.js +1 -1
- package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
- package/react/components/smartDesktopDesigner/ProjectHeader.d.ts +1 -1
- package/react/components/smartDesktopDesigner/ProjectHeader.js +1 -1
- package/react/components/smartDesktopDesigner/ProjectHeader.js.map +1 -1
- package/react/components/smartDesktopDesigner/Publish.js +1 -1
- package/react/components/smartDesktopDesigner/Publish.js.map +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +0 -11
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +11 -24
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
- package/react/components/smartDesktopDesigner/Themes.js +2 -8
- package/react/components/smartDesktopDesigner/Themes.js.map +1 -1
- package/react/components/smartDesktopDesigner/View.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/getCSSVars.d.ts +1 -1
- package/react/components/smartDesktopDesigner/common/getCSSVars.js +2 -1
- package/react/components/smartDesktopDesigner/common/getCSSVars.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/views.d.ts +1 -1
- package/react/components/smartDesktopDesigner/common/views.js +4 -14
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js +4 -4
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js +2 -2
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationsProps.js +2 -3
- package/react/components/smartDesktopDesigner/fixtures/applicationsProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +4 -70
- package/react/components/smartDesktopDesigner/fixtures/apps.js +9 -20
- package/react/components/smartDesktopDesigner/fixtures/apps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.d.ts +2 -1
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/views.js +4 -4
- package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js +2 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +3 -4
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +8 -8
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Appearance.stories.js +7 -7
- package/react/components/smartDesktopDesigner/stories/Appearance.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js +3 -7
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js +9 -2
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js +3 -10
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Applications.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/Applications.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Authentication.stories.js +7 -14
- package/react/components/smartDesktopDesigner/stories/Authentication.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Export.stories.js +2 -2
- package/react/components/smartDesktopDesigner/stories/Export.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js +2 -2
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js +5 -11
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Navigation.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js +2 -4
- package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Publish.stories.js +13 -28
- package/react/components/smartDesktopDesigner/stories/Publish.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js +3 -3
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Themes.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/Themes.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +32 -32
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js +6 -5
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js +11 -11
- package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js +9 -7
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js +35 -35
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Authentication.spec.js +6 -18
- package/react/components/smartDesktopDesigner/tests/Authentication.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Export.spec.js +14 -22
- package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js +2 -6
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Navigation.spec.js +2 -2
- package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +2 -2
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js +2 -2
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Publish.spec.js +3 -10
- package/react/components/smartDesktopDesigner/tests/Publish.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js +2 -6
- package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js +3 -3
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Themes.spec.js +7 -7
- package/react/components/smartDesktopDesigner/tests/Themes.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/a11y_helper.js +2 -1
- package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +1 -1
- package/react/components/system/System.spec.js +1 -1
- package/react/components/system/System.spec.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.js +1 -1
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.spec.js +5 -5
- package/react/components/toolbar/MinimizeAll.spec.js.map +1 -1
- package/react/components/toolbar/NotificationControl.js +3 -2
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.spec.js +5 -5
- package/react/components/toolbar/RevealAll.spec.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js +14 -2
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +22 -5
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +11 -6
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +21 -9
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +33 -10
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +24 -3
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +3 -3
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js +0 -3
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +24 -8
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +4 -2
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +18 -4
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +5 -4
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts +14 -6
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js +2 -2
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +34 -13
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +23 -29
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +15 -5
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js +4 -3
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +38 -21
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +13 -8
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +18 -3
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +7 -3
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts +10 -3
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js +1 -3
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts +15 -6
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js +11 -6
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts +11 -4
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js +3 -2
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +18 -6
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js +2 -2
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.d.ts +20 -4
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js +2 -4
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +5 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +15 -10
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +5 -2
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +5 -4
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +7 -6
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js +11 -13
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +3 -3
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/DynamicAppLauncher.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +25 -3
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +3 -10
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +34 -6
- package/react/components/toolbar/appLauncher/components/componentList.js +24 -21
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +32 -32
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +37 -55
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +2 -3
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +28 -5
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +17 -23
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +25 -3
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +13 -8
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +2 -2
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +16 -8
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +0 -3
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +65 -11
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +95 -145
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +5 -0
- package/react/components/userPreferences/UserPreferenceTypes.js +2 -0
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -0
- package/react/components/userPreferences/UserPreferencesBase.js +2 -2
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js +2 -1
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +1 -1
- package/react/components/userPreferences/components/LeftNav.js +1 -1
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js +2 -0
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +21 -10
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +48 -51
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +9 -9
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +4 -6
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +6 -6
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledRestart.js +0 -1
- package/react/components/userPreferences/components/general/ScheduledRestart.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +3 -4
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +5 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +8 -5
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +15 -8
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +16 -2
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +12 -12
- package/react/components/userPreferences/stores/UserPreferencesStore.js +9 -16
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/userPreferences/stories/DashbarEditor.stories.js +1 -1
- package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +1 -1
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js +1 -1
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +1 -1
- package/react/components/userPreferences/stories/General.stories.js.map +1 -1
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js +1 -1
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -1
- package/react/components/userPreferences/stories/NotificationsSources.stories.js +1 -1
- package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -1
- package/react/components/userPreferences/stories/UserPreferences.stories.d.ts +1 -1
- package/react/components/userPreferences/stories/UserPreferences.stories.js +1 -1
- package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -1
- package/react/components/userPreferences/stories/WorkspaceButton.stories.d.ts +5 -9
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js +10 -3
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -1
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js +2 -2
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +1 -1
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +1 -1
- package/react/components/userPreferences/stories/Workspaces.stories.js +1 -1
- package/react/components/userPreferences/stories/Workspaces.stories.js.map +1 -1
- package/react/components/userPreferences/tests/ContentSection.spec.js.map +1 -1
- package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +1 -1
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +1 -1
- package/react/components/userPreferences/tests/General.spec.js.map +1 -1
- package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -1
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +1 -1
- package/react/components/userPreferences/tests/Notifications.spec.js.map +1 -1
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -1
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +1 -1
- package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js +17 -3
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +1 -1
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js +1 -1
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +1 -1
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +1 -1
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +1 -1
- package/react/components/utils.js +1 -1
- package/react/components/utils.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +58 -31
- package/react/components/windowTitleBar/WindowTitleBarShell.js +47 -50
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +27 -7
- package/react/components/windowTitleBar/components/center/Tab.js +2 -2
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +43 -30
- package/react/components/windowTitleBar/components/center/TabList.js +111 -37
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js +5 -4
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +1 -21
- package/react/components/windowTitleBar/components/left/LinkerGroups.js +6 -8
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +1 -21
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts +12 -25
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +17 -26
- package/react/components/windowTitleBar/components/right/GroupingButton.js +2 -2
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +1 -21
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +12 -25
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/windowTitle.js +11 -6
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +51 -44
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +63 -56
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +42 -44
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -1
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +9 -9
- package/react/components/windowTitleBar/windowTitleBarContext.js +2 -4
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -1
- package/react/components/yesNoDialog/Timer.spec.js +2 -2
- package/react/components/yesNoDialog/Timer.spec.js.map +1 -1
- package/react/components/yesNoDialog/Timer.stories.js +1 -1
- package/react/components/yesNoDialog/Timer.stories.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.js +5 -5
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.stories.js +1 -1
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -1
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useLinker.js +1 -1
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.js +1 -1
- package/react/hooks/useMenu.js.map +1 -1
- package/react/hooks/useNotifications.d.ts +6 -6
- package/react/hooks/useNotifications.js +16 -17
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useSearch.js +1 -1
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/hooks/useWorkspace.js +1 -1
- package/react/hooks/useWorkspace.js.map +1 -1
- package/react/reducers/favoriteReducer.js +1 -1
- package/react/reducers/favoriteReducer.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +3 -4
- package/react/reducers/toolbarReducer.js +1 -1
- package/react/reducers/toolbarReducer.js.map +1 -1
- package/react/store.d.ts +6 -7
- package/react/types/advancedAppLauncherTypes.d.ts +28 -1
- package/react/types/advancedAppLauncherTypes.js.map +1 -1
- package/react/types/favoriteTypes.d.ts +1 -1
- package/react/types/favoriteTypes.js.map +1 -1
- package/react/types/fdc3.d.ts +22 -0
- package/react/types/fdc3.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +11 -9
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +46 -0
- package/react/types/windowTitleBar.js +2 -0
- package/react/types/windowTitleBar.js.map +1 -0
- package/react/components/processMonitor/components/ChildWindows.d.ts +0 -4
- package/react/components/processMonitor/components/ChildWindows.js +0 -11
- package/react/components/processMonitor/components/ChildWindows.js.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNav.d.ts +0 -4
- package/react/components/toolbar/advancedAppLauncher/components/LeftNav.js +0 -14
- package/react/components/toolbar/advancedAppLauncher/components/LeftNav.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Hero.
|
|
1
|
+
{"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Hero.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,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C,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":["/*!\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,5 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
/// <reference types="react" />
|
|
6
|
+
import { AppMetadata } from "../../../types/fdc3";
|
|
7
|
+
declare type Images = {
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
declare type HomeProps = {
|
|
11
|
+
tags: string[];
|
|
12
|
+
cards: (AppMetadata & {
|
|
13
|
+
tags: string[];
|
|
14
|
+
images: Images[];
|
|
15
|
+
})[];
|
|
16
|
+
viewAppShowcase: (id: AppMetadata["appId"]) => void;
|
|
17
|
+
};
|
|
18
|
+
declare const Home: (props: HomeProps) => JSX.Element;
|
|
1
19
|
export default Home;
|
|
2
|
-
declare function Home(props: {
|
|
3
|
-
cards: any;
|
|
4
|
-
viewAppShowcase: any;
|
|
5
|
-
}): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Home.
|
|
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,13 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { Component } from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
backButton?: Boolean;
|
|
4
|
+
tags: string[];
|
|
5
|
+
activeTags: string[];
|
|
6
|
+
goHome: () => void;
|
|
7
|
+
installationActionTaken: string;
|
|
8
|
+
search: (searchTerms: string) => void;
|
|
9
|
+
}
|
|
10
|
+
interface IState {
|
|
11
|
+
tagSelectorOpen: Boolean;
|
|
12
|
+
searchText: string;
|
|
13
|
+
}
|
|
14
|
+
declare class SearchBar extends Component<IProps, IState> {
|
|
15
|
+
textInput: React.RefObject<HTMLInputElement> | undefined;
|
|
16
|
+
constructor(props: IProps);
|
|
5
17
|
bindCorrectContext(): void;
|
|
6
|
-
|
|
7
|
-
changeSearch(e: object): void;
|
|
18
|
+
changeSearch(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
8
19
|
toggleTagSelector(): void;
|
|
9
20
|
selectTag(tag: string): void;
|
|
10
21
|
removeTag(tag: string): void;
|
|
22
|
+
goHome(): void;
|
|
11
23
|
focus(): void;
|
|
24
|
+
render(): JSX.Element;
|
|
12
25
|
}
|
|
13
|
-
|
|
26
|
+
export default SearchBar;
|
|
@@ -52,14 +52,11 @@ class SearchBar extends Component {
|
|
|
52
52
|
this.props.goHome();
|
|
53
53
|
}
|
|
54
54
|
focus() {
|
|
55
|
-
|
|
55
|
+
var _a, _b;
|
|
56
|
+
(_b = (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
56
57
|
}
|
|
57
58
|
render() {
|
|
58
|
-
|
|
59
|
-
if (!this.state.tagSelectorOpen) {
|
|
60
|
-
tagListClass = `${tagListClass} hidden`;
|
|
61
|
-
}
|
|
62
|
-
let activeTags = storeActions.getActiveTags();
|
|
59
|
+
const activeTags = storeActions.getActiveTags();
|
|
63
60
|
return (React.createElement("div", { className: "search-main" },
|
|
64
61
|
React.createElement(Toast, { installationActionTaken: this.props.installationActionTaken }),
|
|
65
62
|
React.createElement("div", { className: "search-action-items" },
|
|
@@ -71,7 +68,7 @@ class SearchBar extends Component {
|
|
|
71
68
|
React.createElement("input", { className: "search-input", required: true, ref: this.textInput, placeholder: "Search", type: "text", value: this.state.searchText, onChange: this.changeSearch }),
|
|
72
69
|
React.createElement("button", { className: "close-icon", onClick: this.goHome, type: "reset" })),
|
|
73
70
|
React.createElement(TagsMenu, { active: activeTags, list: this.props.tags, onItemClick: this.selectTag, label: "Tags", align: "right" })),
|
|
74
|
-
React.createElement("div", { className: "label-bar" }, activeTags.map((tag
|
|
71
|
+
React.createElement("div", { className: "label-bar" }, activeTags.map((tag) => (React.createElement(Tag, { key: tag, name: tag, removeTag: this.removeTag }))))));
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
export default SearchBar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/SearchBar.
|
|
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;QACr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,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":["/*!\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 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,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type DescriptionProps = {
|
|
3
3
|
description: string;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const AppDescription: ({ description }: DescriptionProps) => JSX.Element;
|
|
6
|
+
export default AppDescription;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
const AppDescription = (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
React.createElement("div",
|
|
6
|
-
React.createElement("div", null, props.description))));
|
|
7
|
-
};
|
|
2
|
+
const AppDescription = ({ description }) => (React.createElement("div", { className: "app-notes description" },
|
|
3
|
+
React.createElement("span", { className: "showcase-label" }, "Description"),
|
|
4
|
+
React.createElement("div", { className: "description-content" },
|
|
5
|
+
React.createElement("div", null, description))));
|
|
8
6
|
export default AppDescription;
|
|
9
7
|
//# sourceMappingURL=AppDescription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppDescription.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDescription.
|
|
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,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type AppDevNotesProps = {
|
|
3
3
|
publisher: string;
|
|
4
|
-
openSite: any;
|
|
5
4
|
email: string;
|
|
6
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const AppDevNotes: (props: AppDevNotesProps) => JSX.Element;
|
|
7
|
+
export default AppDevNotes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppDevNotes.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/AppDevNotes.
|
|
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"]}
|
|
@@ -91,7 +91,7 @@ class AppShowcase extends Component {
|
|
|
91
91
|
"You don't have permission to add this App. ",
|
|
92
92
|
React.createElement("a", { href: "#" }, "Contact your administrator"),
|
|
93
93
|
" to request permission.")))),
|
|
94
|
-
React.createElement(Header, { iconUrl: iconUrl, entitled: this.state.entitled,
|
|
94
|
+
React.createElement(Header, Object.assign({ iconUrl: iconUrl, entitled: this.state.entitled }, this.props.app)),
|
|
95
95
|
React.createElement(ImageCarousel, { nextImage: this.nextImage, previousImage: this.previousImage, openModal: this.openModal, images: images }),
|
|
96
96
|
React.createElement(AppDescription, { description: this.props.app.description }),
|
|
97
97
|
React.createElement(ReleaseNotes, { releaseNotes: this.props.app.releaseNotes }),
|
|
@@ -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,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,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,SAAS;gBAC9E,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG;gBAC7B,CAAC,CAAC,2BAA2B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AAM,EAAE;gBACjD,UAAU,GAAG,CAAC,CAAC;aACf;SACD;QACD,OAAO,CACN,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,KAAK,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU;gBAClE,6BAAK,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,SAAS,EAAC,aAAa,GAAG,CACpD;YACP,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,CACxB,6BAAK,SAAS,EAAC,aAAa;gBAC3B,8BAAM,SAAS,EAAC,qBAAqB;oBACpC,8BAAM,SAAS,EAAC,kBAAkB;;wBACe,2BAAG,IAAI,EAAC,GAAG,iCAA+B;kDAEpF,CACD,CACF,CACN;YACD,oBAAC,MAAM,
|
|
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,CAA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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'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,6 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
/// <reference types="react" />
|
|
6
|
+
import { AppMetadata } from "../../../../types/fdc3";
|
|
7
|
+
declare type HeaderProps = AppMetadata & {
|
|
8
|
+
url: string | undefined;
|
|
9
|
+
installed: any;
|
|
10
|
+
iconUrl: string | undefined;
|
|
11
|
+
entitled: any;
|
|
12
|
+
};
|
|
13
|
+
declare const Header: (props: HeaderProps) => JSX.Element;
|
|
1
14
|
export default Header;
|
|
2
|
-
declare function Header(props: {
|
|
3
|
-
iconUrl: string;
|
|
4
|
-
name: string;
|
|
5
|
-
appAction: any;
|
|
6
|
-
}): JSX.Element;
|
|
@@ -13,7 +13,7 @@ const Header = (props) => {
|
|
|
13
13
|
pendingSpawn = true;
|
|
14
14
|
const name = props.title || props.name;
|
|
15
15
|
if (props.url) {
|
|
16
|
-
FSBL.Clients.LauncherClient.spawn(
|
|
16
|
+
FSBL.Clients.LauncherClient.spawn("", {
|
|
17
17
|
url: props.url,
|
|
18
18
|
addToWorkspace: true,
|
|
19
19
|
}, () => {
|
|
@@ -21,7 +21,7 @@ const Header = (props) => {
|
|
|
21
21
|
});
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
|
-
FSBL.Clients.LauncherClient.spawn(name.trim(), { addToWorkspace: true }, (
|
|
24
|
+
FSBL.Clients.LauncherClient.spawn(name.trim(), { addToWorkspace: true }, () => {
|
|
25
25
|
pendingSpawn = false;
|
|
26
26
|
});
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Header.
|
|
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":["/*!\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,5 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare type ModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
closeModal: () => void;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const Modal: ({ open, closeModal, children }: ModalProps) => JSX.Element;
|
|
1
8
|
export default Modal;
|
|
2
|
-
declare function Modal(props: {
|
|
3
|
-
closeModal: any;
|
|
4
|
-
children: object;
|
|
5
|
-
}): JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
const Modal = (
|
|
2
|
+
const Modal = ({ open, closeModal, children }) => {
|
|
3
3
|
let modalClassName = "modal";
|
|
4
|
-
if (
|
|
5
|
-
modalClassName
|
|
4
|
+
if (open) {
|
|
5
|
+
modalClassName = `${modalClassName} open`;
|
|
6
6
|
}
|
|
7
7
|
else {
|
|
8
|
-
modalClassName
|
|
8
|
+
modalClassName = `${modalClassName} closed`;
|
|
9
9
|
}
|
|
10
|
-
return (React.createElement("div", { className: modalClassName, onClick:
|
|
11
|
-
React.createElement("div", { className: "modal-main" },
|
|
10
|
+
return (React.createElement("div", { className: modalClassName, onClick: closeModal },
|
|
11
|
+
React.createElement("div", { className: "modal-main" }, children)));
|
|
12
12
|
};
|
|
13
13
|
export default Modal;
|
|
14
14
|
//# sourceMappingURL=Modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/Modal.
|
|
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,3 +1,3 @@
|
|
|
1
|
-
export const DEFAULT_APP_DESCRIPTION
|
|
2
|
-
export const DEFAULT_APP_VERSION
|
|
3
|
-
export const DEFAULT_APP_RELEASE_NOTES
|
|
1
|
+
export declare const DEFAULT_APP_DESCRIPTION = "Place a description of the app here.";
|
|
2
|
+
export declare const DEFAULT_APP_VERSION = "N/A";
|
|
3
|
+
export declare const DEFAULT_APP_RELEASE_NOTES = "N/A";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/components/appCatalog/components/Showcase/defaults.
|
|
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,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface Props {
|
|
3
3
|
name: string;
|
|
4
|
-
removeTag:
|
|
5
|
-
}
|
|
4
|
+
removeTag: (tag: string) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const Tag: (props: Props) => JSX.Element;
|
|
7
|
+
export default Tag;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Tag.
|
|
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> \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,18 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
const Toast = (props) => {
|
|
3
3
|
let classes = "toast-content";
|
|
4
|
-
let
|
|
4
|
+
let messageContent = null;
|
|
5
|
+
const icon = undefined;
|
|
5
6
|
switch (props.installationActionTaken) {
|
|
6
7
|
case "add":
|
|
7
8
|
messageContent = "App Added";
|
|
8
|
-
classes
|
|
9
|
+
classes = `${classes} success`;
|
|
9
10
|
break;
|
|
10
11
|
case "remove":
|
|
11
12
|
messageContent = "App Removed";
|
|
12
|
-
classes
|
|
13
|
+
classes = `${classes} error`;
|
|
13
14
|
break;
|
|
14
15
|
default:
|
|
15
|
-
classes
|
|
16
|
+
classes = `${classes} not-shown`;
|
|
16
17
|
break;
|
|
17
18
|
}
|
|
18
19
|
if (messageContent !== null) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/components/Toast.
|
|
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,MAAM,IAAI,GAAG,SAAS,CAAC;IAEvB,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,2BAAG,SAAS,EAAE,IAAI,GAAI;;gBACT,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\t// @todo: Why is this here?\r\n\tconst icon = undefined;\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 className={icon} />\r\n\t\t\t\t\t {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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppDirectory.js","sourceRoot":"","sources":["../../../../src/components/appCatalog/modules/AppDirectory.
|
|
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,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FDC3Props, FDC3PostCallback, FDC3SearchCallback, FDC3GetCallback } from "../../../types/fdc3";
|
|
3
|
+
import { StandardError } from "@finsemble/finsemble-core/types/types";
|
|
4
|
+
export default class FDC3 extends React.Component<FDC3Props> {
|
|
3
5
|
creds: {};
|
|
4
|
-
config:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
search(params: object, callback: Function): Promise<any>;
|
|
6
|
+
config: FDC3Props["config"];
|
|
7
|
+
constructor(props: FDC3Props);
|
|
8
|
+
_get(path: string, done: FDC3GetCallback): void;
|
|
9
|
+
_post(path: string, params: Record<string, string>, done: FDC3PostCallback): void;
|
|
10
|
+
getAll(callback: (arg1: Record<string, string> | null, applications: string[]) => void): Promise<unknown>;
|
|
11
|
+
get(appId: string, callback: (error: StandardError, application: string) => void): Promise<unknown>;
|
|
12
|
+
getTags(callback: (error: StandardError, results: string[]) => void): Promise<unknown>;
|
|
13
|
+
search(params: Record<string, string>, callback: FDC3SearchCallback): Promise<unknown>;
|
|
13
14
|
}
|