@finsemble/finsemble-ui 6.3.0 → 6.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/package.json +21 -33
- package/react/actions/favoriteActions.js.map +1 -1
- package/react/actions/linkerActions.js.map +1 -1
- package/react/actions/menuActions.js.map +1 -1
- package/react/actions/rootActions.js.map +1 -1
- package/react/actions/searchActions.js.map +1 -1
- package/react/actions/smartDesktopDesignerActions.d.ts +1 -3
- package/react/actions/smartDesktopDesignerActions.js +0 -1
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/actions/toolbarActions.js.map +1 -1
- package/react/actions/workspaceActions.js.map +1 -1
- package/react/assets/css/advancedAppLauncher.css +636 -636
- package/react/assets/css/appCatalog.css +1069 -1069
- package/react/assets/css/authentication.css +78 -78
- package/react/assets/css/button.css +220 -220
- package/react/assets/css/core/formElements.css +23 -23
- package/react/assets/css/core/icons.css +69 -69
- package/react/assets/css/core/notifications.css +75 -75
- package/react/assets/css/core/windowFrame.css +36 -36
- package/react/assets/css/dashbar.css +78 -78
- package/react/assets/css/defaultTheme.css +356 -356
- package/react/assets/css/dialogs.css +158 -158
- package/react/assets/css/favorites.css +101 -101
- package/react/assets/css/finsemble.css +38 -38
- package/react/assets/css/focus.css +4 -4
- package/react/assets/css/font-finance.css +385 -385
- package/react/assets/css/fonts/Open_Sans/LICENSE.txt +202 -202
- package/react/assets/css/fonts/Open_Sans/OpenSans-Definition.css +118 -118
- package/react/assets/css/fonts/font-finance.svg +124 -124
- package/react/assets/css/fonts/icons-reference.html +1174 -1174
- package/react/assets/css/linkerWindow.css +124 -124
- package/react/assets/css/menus.css +195 -195
- package/react/assets/css/notificationsCenter.css +597 -597
- package/react/assets/css/processMonitor.css +213 -213
- package/react/assets/css/search.css +128 -128
- package/react/assets/css/shared/animations.css +99 -99
- package/react/assets/css/tags.css +136 -136
- package/react/assets/css/toolbar.css +413 -413
- package/react/assets/css/userPreferences.css +538 -568
- package/react/assets/css/windowTitleBar.css +653 -652
- package/react/assets/icons/always-on-top.svg +20 -0
- package/react/assets/icons/caret.svg +7 -0
- package/react/assets/icons/check-square.svg +5 -5
- package/react/assets/icons/check.svg +3 -3
- package/react/assets/icons/chevron-left.svg +3 -3
- package/react/assets/icons/chevron-right.svg +3 -3
- package/react/assets/icons/close.svg +11 -0
- package/react/assets/icons/copy.svg +10 -10
- package/react/assets/icons/documentation.svg +20 -0
- package/react/assets/icons/exclamation-circle.svg +4 -4
- package/react/assets/icons/external-link.svg +12 -12
- package/react/assets/icons/flag.svg +10 -10
- package/react/assets/icons/folder.svg +3 -3
- package/react/assets/icons/font.svg +3 -3
- package/react/assets/icons/globe.svg +3 -3
- package/react/assets/icons/hdd.svg +9 -9
- package/react/assets/icons/key.svg +10 -10
- package/react/assets/icons/life-ring.svg +3 -3
- package/react/assets/icons/linker.svg +18 -0
- package/react/assets/icons/lock.svg +5 -5
- package/react/assets/icons/magic.svg +15 -15
- package/react/assets/icons/maximize.svg +16 -0
- package/react/assets/icons/minimize.svg +15 -0
- package/react/assets/icons/moon.svg +10 -10
- package/react/assets/icons/paint-roller.svg +3 -3
- package/react/assets/icons/pencil.svg +10 -10
- package/react/assets/icons/plus.svg +3 -3
- package/react/assets/icons/question-circle.svg +5 -5
- package/react/assets/icons/search.svg +3 -3
- package/react/assets/icons/sun.svg +9 -9
- package/react/assets/icons/times.svg +3 -3
- package/react/assets/icons/toggle-off.svg +6 -6
- package/react/assets/icons/toggle-on.svg +6 -6
- package/react/assets/icons/toolbar.svg +12 -0
- package/react/assets/icons/tools.svg +3 -3
- package/react/assets/icons/trash.svg +12 -12
- package/react/assets/icons/upload.svg +10 -10
- package/react/assets/icons/window.svg +3 -3
- package/react/assets/img/finsemble-display.png +0 -0
- package/react/componentTemplateGenerator.js +85 -85
- package/react/componentTemplateGenerator.js.map +1 -1
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.js.map +1 -1
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -1
- package/react/components/appCatalog/components/Tag.js.map +1 -1
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.js.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/common/Accordion.d.ts +11 -0
- package/react/components/common/Accordion.js +20 -0
- package/react/components/common/Accordion.js.map +1 -0
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/ButtonTile.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.js +3 -1
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ColorPicker.js.map +1 -1
- package/react/components/common/DropZone.js.map +1 -1
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/FileInput.d.ts +2 -1
- package/react/components/common/FileInput.js +9 -4
- package/react/components/common/FileInput.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.js +16 -0
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleSelect.js.map +1 -1
- package/react/components/common/FinsembleToggle.js.map +1 -1
- package/react/components/common/Header.js +1 -1
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/ImagePreview.js.map +1 -1
- package/react/components/common/InputTable.d.ts +11 -0
- package/react/components/common/InputTable.js +50 -0
- package/react/components/common/InputTable.js.map +1 -0
- package/react/components/common/LoadingSpinner.js.map +1 -1
- package/react/components/common/Tab.js.map +1 -1
- package/react/components/common/Tooltip.js.map +1 -1
- package/react/components/common/css/accordion.css +99 -0
- package/react/components/common/css/application-edit-page.css +324 -117
- package/react/components/common/css/application-list.css +49 -47
- package/react/components/common/css/button.css +166 -164
- package/react/components/common/css/checkbox.css +30 -0
- package/react/components/common/css/color-picker.css +52 -52
- package/react/components/common/css/drop-zone.css +17 -17
- package/react/components/common/css/file-input.css +65 -49
- package/react/components/common/css/header.css +30 -43
- package/react/components/common/css/icon.css +13 -13
- package/react/components/common/css/image-preview.css +57 -57
- package/react/components/common/css/loading-spinner.css +39 -39
- package/react/components/common/css/selector.css +51 -51
- package/react/components/common/css/styles.css +127 -128
- package/react/components/common/css/tab.css +56 -56
- package/react/components/common/css/toggle.css +32 -32
- package/react/components/common/css/tooltip.css +78 -78
- package/react/components/common/file_helpers.js.map +1 -1
- package/react/components/common/fixtures/FinsembleIcon.css +4 -4
- package/react/components/common/helpers.js.map +1 -1
- package/react/components/common/stories/Accordion.stories.d.ts +14 -0
- package/react/components/common/stories/Accordion.stories.js +42 -0
- package/react/components/common/stories/Accordion.stories.js.map +1 -0
- package/react/components/common/stories/Button.stories.js.map +1 -1
- package/react/components/common/stories/ButtonIcon.stories.js.map +1 -1
- package/react/components/common/stories/ButtonRow.stories.js.map +1 -1
- package/react/components/common/stories/ButtonTile.stories.js.map +1 -1
- package/react/components/common/stories/Checkbox.stories.js.map +1 -1
- package/react/components/common/stories/ColorPicker.stories.js.map +1 -1
- package/react/components/common/stories/DropZone.stories.js.map +1 -1
- package/react/components/common/stories/DropdownButton.stories.d.ts +11 -0
- package/react/components/common/stories/DropdownButton.stories.js +12 -0
- package/react/components/common/stories/DropdownButton.stories.js.map +1 -1
- package/react/components/common/stories/FileInput.stories.d.ts +2 -1
- package/react/components/common/stories/FileInput.stories.js +6 -0
- package/react/components/common/stories/FileInput.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleIcon.stories.js +1 -0
- package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleSelect.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -1
- package/react/components/common/stories/Header.stories.js.map +1 -1
- package/react/components/common/stories/ImagePreview.stories.js.map +1 -1
- package/react/components/common/stories/InputTable.stories.d.ts +12 -0
- package/react/components/common/stories/InputTable.stories.js +35 -0
- package/react/components/common/stories/InputTable.stories.js.map +1 -0
- package/react/components/common/stories/LoadingSpinner.stories.js.map +1 -1
- package/react/components/common/stories/Tab.stories.js.map +1 -1
- package/react/components/common/stories/Tooltip.stories.js.map +1 -1
- package/react/components/{smartDesktopDesigner/tests/ApplicationEdit.spec.d.ts → common/tests/Accordion.spec.d.ts} +0 -0
- package/react/components/common/tests/Accordion.spec.js +53 -0
- package/react/components/common/tests/Accordion.spec.js.map +1 -0
- package/react/components/common/tests/ButtonRow.spec.js.map +1 -1
- package/react/components/common/tests/Checkbox.spec.js +5 -3
- package/react/components/common/tests/Checkbox.spec.js.map +1 -1
- package/react/components/common/tests/ColorPicker.spec.js.map +1 -1
- package/react/components/common/tests/DropZone.spec.js.map +1 -1
- package/react/components/common/tests/FileInput.spec.js +20 -5
- package/react/components/common/tests/FileInput.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -1
- package/react/components/common/tests/Header.spec.js +6 -2
- package/react/components/common/tests/Header.spec.js.map +1 -1
- package/react/components/common/tests/ImagePreview.spec.js.map +1 -1
- package/react/components/{smartDesktopDesigner/tests/ApplicationSetup.spec.d.ts → common/tests/InputTable.spec.d.ts} +0 -0
- package/react/components/common/tests/InputTable.spec.js +166 -0
- package/react/components/common/tests/InputTable.spec.js.map +1 -0
- package/react/components/common/tests/Tab.spec.js.map +1 -1
- package/react/components/common/tests/Tooltip.spec.js.map +1 -1
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/favorites/FavoritesShell.spec.js.map +1 -1
- package/react/components/favorites/FavoritesShell.stories.js.map +1 -1
- package/react/components/favorites/index.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.css +126 -126
- package/react/components/fdc3Resolver/ResolverDialog.js +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +13 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -1
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -1
- package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +1 -1
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -1
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.js.map +1 -1
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +1 -0
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +2 -1
- package/react/components/menu/MenuAutoResizer.js +4 -3
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.js.map +1 -1
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.js +99 -92
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +1 -0
- package/react/components/menu/MenuShell.js +3 -2
- package/react/components/menu/MenuShell.js.map +1 -1
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.js.map +1 -1
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +1 -0
- package/react/components/menu/menuContext.js.map +1 -1
- package/react/components/menu/menuHelpers.d.ts +1 -1
- package/react/components/menu/menuHelpers.js +2 -2
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.js.map +1 -1
- package/react/components/notifications/components/drawer/Drawer.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerControls.js +30 -6
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +2 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +20 -27
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +5 -1
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.js +5 -1
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.js.map +1 -1
- package/react/components/notifications/components/views/ListView.js +1 -1
- package/react/components/notifications/components/views/ListView.js.map +1 -1
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/constants.js.map +1 -1
- package/react/components/notifications/icons/Card.js.map +1 -1
- package/react/components/notifications/icons/Chevron.js.map +1 -1
- package/react/components/notifications/icons/CloseIcon.js.map +1 -1
- package/react/components/notifications/icons/EnvelopeClose.js.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.js.map +1 -1
- package/react/components/notifications/index.js.map +1 -1
- package/react/components/notifications/notificationsContext.js.map +1 -1
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/helpers.spec.js.map +1 -1
- package/react/components/processMonitor/index.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +1 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +51 -50
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.js.map +1 -1
- package/react/components/quickComponentForm/quickComponent.css +3 -3
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Highlight.spec.js.map +1 -1
- package/react/components/search/Highlight.stories.js.map +1 -1
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.js.map +1 -1
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/index.js.map +1 -1
- package/react/components/shared/Animate.js.map +1 -1
- package/react/components/shared/BellIcon.js.map +1 -1
- package/react/components/shared/BellIconCrossed.js.map +1 -1
- package/react/components/shared/Button.js.map +1 -1
- package/react/components/shared/ConditionalWrapper.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.map +1 -1
- package/react/components/shared/Tag.js.map +1 -1
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.js.map +1 -1
- package/react/components/shared/linkerUtil.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -1
- package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -1
- package/react/components/shared/validateURL.js.map +1 -1
- package/react/components/shared/validateURL.spec.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.css +3 -3
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -1
- package/react/components/singleInputDialog/index.js.map +1 -1
- package/react/components/smartDesktopDesigner/AddApp.d.ts +14 -0
- package/react/components/smartDesktopDesigner/AddApp.js +60 -0
- package/react/components/smartDesktopDesigner/AddApp.js.map +1 -0
- package/react/components/smartDesktopDesigner/AppEditAccess.js +16 -32
- package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditPage.d.ts +5 -19
- package/react/components/smartDesktopDesigner/AppEditPage.js +548 -59
- package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Appearance.css +27 -94
- package/react/components/smartDesktopDesigner/Appearance.helpers.js.map +1 -1
- package/react/components/smartDesktopDesigner/Appearance.js +1 -1
- package/react/components/smartDesktopDesigner/Appearance.js.map +1 -1
- package/react/components/smartDesktopDesigner/Application.d.ts +1 -0
- package/react/components/smartDesktopDesigner/Application.js +151 -93
- package/react/components/smartDesktopDesigner/Application.js.map +1 -1
- package/react/components/smartDesktopDesigner/ApplicationList.d.ts +2 -1
- package/react/components/smartDesktopDesigner/ApplicationList.js +7 -3
- package/react/components/smartDesktopDesigner/ApplicationList.js.map +1 -1
- package/react/components/smartDesktopDesigner/Applications.d.ts +0 -3
- package/react/components/smartDesktopDesigner/Applications.js +52 -102
- package/react/components/smartDesktopDesigner/Applications.js.map +1 -1
- package/react/components/smartDesktopDesigner/AssetsPage.css +26 -26
- package/react/components/smartDesktopDesigner/AssetsPage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Authentication.js +2 -9
- package/react/components/smartDesktopDesigner/Authentication.js.map +1 -1
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js +8 -1
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +1 -1
- package/react/components/smartDesktopDesigner/Content.js.map +1 -1
- package/react/components/smartDesktopDesigner/ContentHeader.d.ts +5 -0
- package/react/components/smartDesktopDesigner/ContentHeader.js +10 -0
- package/react/components/smartDesktopDesigner/ContentHeader.js.map +1 -0
- package/react/components/smartDesktopDesigner/CurrentView.js +2 -1
- package/react/components/smartDesktopDesigner/CurrentView.js.map +1 -1
- package/react/components/smartDesktopDesigner/Export.d.ts +1 -0
- package/react/components/smartDesktopDesigner/Export.js +40 -9
- package/react/components/smartDesktopDesigner/Export.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportCloud.d.ts +3 -1
- package/react/components/smartDesktopDesigner/ExportCloud.js +4 -6
- package/react/components/smartDesktopDesigner/ExportCloud.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportDeployInfo.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportZip.d.ts +3 -1
- package/react/components/smartDesktopDesigner/ExportZip.js +8 -3
- package/react/components/smartDesktopDesigner/ExportZip.js.map +1 -1
- package/react/components/smartDesktopDesigner/GettingStarted.d.ts +1 -0
- package/react/components/smartDesktopDesigner/GettingStarted.js +11 -25
- package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
- package/react/components/smartDesktopDesigner/Navigation.d.ts +2 -2
- package/react/components/smartDesktopDesigner/Navigation.js +17 -15
- package/react/components/smartDesktopDesigner/Navigation.js.map +1 -1
- package/react/components/smartDesktopDesigner/ProjectErrors.js.map +1 -1
- package/react/components/smartDesktopDesigner/Publish.js.map +1 -1
- package/react/components/smartDesktopDesigner/PublishProgress.js.map +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +3 -3
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +11 -17
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
- package/react/components/smartDesktopDesigner/ThemePage.css +109 -110
- package/react/components/smartDesktopDesigner/ThemePage.js +0 -7
- package/react/components/smartDesktopDesigner/ThemePage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Themes.js +0 -2
- package/react/components/smartDesktopDesigner/Themes.js.map +1 -1
- package/react/components/smartDesktopDesigner/Toolbar.d.ts +15 -0
- package/react/components/smartDesktopDesigner/Toolbar.js +123 -0
- package/react/components/smartDesktopDesigner/Toolbar.js.map +1 -0
- package/react/components/smartDesktopDesigner/View.js +1 -1
- package/react/components/smartDesktopDesigner/View.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/fsbl_functions.d.ts +1 -1
- package/react/components/smartDesktopDesigner/common/fsbl_functions.js +2 -2
- package/react/components/smartDesktopDesigner/common/fsbl_functions.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/getCSSVars.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/views.d.ts +2 -36
- package/react/components/smartDesktopDesigner/common/views.js +150 -111
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/css/appearance.css +18 -10
- package/react/components/smartDesktopDesigner/css/applications.css +167 -127
- package/react/components/smartDesktopDesigner/css/authentication.css +119 -125
- package/react/components/smartDesktopDesigner/css/buttons.css +12 -12
- package/react/components/smartDesktopDesigner/css/export.css +176 -163
- package/react/components/smartDesktopDesigner/css/getting-started.css +28 -6
- package/react/components/smartDesktopDesigner/css/nav.css +120 -93
- package/react/components/smartDesktopDesigner/css/project-errors.css +15 -15
- package/react/components/smartDesktopDesigner/css/project-header.css +124 -121
- package/react/components/smartDesktopDesigner/css/styles.css +178 -179
- package/react/components/smartDesktopDesigner/css/views.css +23 -16
- package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +2 -0
- package/react/components/smartDesktopDesigner/fixtures/apps.js +41 -6
- package/react/components/smartDesktopDesigner/fixtures/apps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/authenticationProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/configTemplate.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/exportProps.js +3 -0
- package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/projectErrorsProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/themeProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/views.d.ts +2 -2
- package/react/components/smartDesktopDesigner/fixtures/views.js +58 -26
- package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.d.ts +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js +4 -3
- package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +3 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +12 -33
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Appearance.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +2 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js +8 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Applications.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/AssetsPage.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Authentication.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.d.ts +10 -0
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js +13 -0
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/Export.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/GettingStarted.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ProjectErrors.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Publish.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/PublishProgress.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js +7 -1
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ThemePage.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Themes.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.d.ts +14 -0
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js +38 -0
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +73 -122
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Applications.spec.d.ts +1 -1
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js +61 -560
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Authentication.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/{ProjectHeader.spec.d.ts → ContentHeader.spec.d.ts} +0 -0
- package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js +31 -0
- package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Export.spec.js +129 -0
- package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js +7 -0
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +3 -14
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Publish.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/PublishProgess.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js +2 -31
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Themes.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js +203 -0
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js +18 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/themeDefinitions.js.map +1 -1
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/System.spec.js.map +1 -1
- package/react/components/system/System.stories.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.js.map +1 -1
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.spec.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.stories.js.map +1 -1
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/RevealAll.spec.js.map +1 -1
- package/react/components/toolbar/RevealAll.stories.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +47 -45
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +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 +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/appLauncher.css +30 -30
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +1 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +17 -34
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +3 -1
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +90 -90
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -1
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -1
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledRestart.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +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/Notifications.stories.js.map +1 -1
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -1
- package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -1
- package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -1
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -1
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +1 -1
- 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.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 +1 -1
- package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +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.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js +8 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -1
- 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 +0 -1
- package/react/components/windowTitleBar/components/center/TabList.js +16 -79
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +7 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +11 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +5 -4
- package/react/components/windowTitleBar/components/windowTitle.js +102 -39
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +5 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -1
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -1
- package/react/components/yesNoDialog/Timer.spec.js.map +1 -1
- package/react/components/yesNoDialog/Timer.stories.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.css +3 -3
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -1
- package/react/components/yesNoDialog/index.js.map +1 -1
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/enzymeSetup.js +1 -1
- package/react/enzymeSetup.js.map +1 -1
- package/react/hooks/index.js.map +1 -1
- package/react/hooks/useAuth.js.map +1 -1
- package/react/hooks/useDashbar.d.ts +8 -0
- package/react/hooks/useDashbar.js +104 -0
- package/react/hooks/useDashbar.js.map +1 -0
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useFavorites.js.map +1 -1
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useHotkey.js.map +1 -1
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.js.map +1 -1
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +0 -6
- package/react/hooks/useToolbar.js +0 -101
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/hooks/useWorkspace.js.map +1 -1
- package/react/reducers/favoriteReducer.js.map +1 -1
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +0 -4
- package/react/reducers/rootReducer.js.map +1 -1
- package/react/reducers/searchReducer.js.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.js +0 -3
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.js.map +1 -1
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +0 -8
- package/react/store.js.map +1 -1
- package/react/types/advancedAppLauncherTypes.js.map +1 -1
- package/react/types/dashbarTypes.js.map +1 -1
- package/react/types/favoriteTypes.js.map +1 -1
- package/react/types/fdc3.d.ts +7 -35
- package/react/types/fdc3.js.map +1 -1
- package/react/types/hotkeyTypes.js.map +1 -1
- package/react/types/iconTypes.js.map +1 -1
- package/react/types/linkerTypes.js.map +1 -1
- package/react/types/searchTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +45 -5
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +3 -2
- package/react/types/windowTitleBar.js.map +1 -1
- package/react/types/workspaceTypes.js.map +1 -1
- package/react/components/common/FontSizeSelector.d.ts +0 -7
- package/react/components/common/FontSizeSelector.js +0 -42
- package/react/components/common/FontSizeSelector.js.map +0 -1
- package/react/components/common/stories/FontSizeSelector.stories.d.ts +0 -12
- package/react/components/common/stories/FontSizeSelector.stories.js +0 -24
- package/react/components/common/stories/FontSizeSelector.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/ApplicationEdit.d.ts +0 -25
- package/react/components/smartDesktopDesigner/ApplicationEdit.js +0 -103
- package/react/components/smartDesktopDesigner/ApplicationEdit.js.map +0 -1
- package/react/components/smartDesktopDesigner/ApplicationSetup.d.ts +0 -23
- package/react/components/smartDesktopDesigner/ApplicationSetup.js +0 -73
- package/react/components/smartDesktopDesigner/ApplicationSetup.js.map +0 -1
- package/react/components/smartDesktopDesigner/ProjectHeader.d.ts +0 -14
- package/react/components/smartDesktopDesigner/ProjectHeader.js +0 -70
- package/react/components/smartDesktopDesigner/ProjectHeader.js.map +0 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.d.ts +0 -4
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js +0 -45
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js.map +0 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.d.ts +0 -3
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js +0 -29
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.d.ts +0 -12
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js +0 -21
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.d.ts +0 -12
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js +0 -28
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.d.ts +0 -10
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js +0 -19
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js +0 -66
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js +0 -41
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js +0 -27
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js.map +0 -1
|
@@ -295,12 +295,6 @@ export const getApplicationsArgs = (init) => {
|
|
|
295
295
|
menus = Object.assign(Object.assign({}, menus), { [menuId]: menuConfig });
|
|
296
296
|
resolve({ err: null });
|
|
297
297
|
}),
|
|
298
|
-
deleteMenu: (menuId) => new Promise((resolve) => {
|
|
299
|
-
const newMenu = clone(menus);
|
|
300
|
-
delete newMenu[menuId];
|
|
301
|
-
menus = newMenu;
|
|
302
|
-
resolve({ err: null });
|
|
303
|
-
}),
|
|
304
298
|
isInboundInteropAuthorized: (sourceApp, targetApp) => new Promise((resolve) => {
|
|
305
299
|
var _a, _b, _c;
|
|
306
300
|
resolve(((_c = (_b = (_a = targetApp.manifest) === null || _a === void 0 ? void 0 : _a.interop) === null || _b === void 0 ? void 0 : _b.selectConnect) === null || _c === void 0 ? void 0 : _c.some((rule) => { var _a; return (_a = rule.authorize) === null || _a === void 0 ? void 0 : _a.some((app) => app.name === sourceApp.name); })) || false);
|
|
@@ -311,4 +305,45 @@ export const getApplicationsArgs = (init) => {
|
|
|
311
305
|
}),
|
|
312
306
|
};
|
|
313
307
|
};
|
|
308
|
+
export const getToolbarArgs = (init) => {
|
|
309
|
+
let apps = [];
|
|
310
|
+
let menus = {};
|
|
311
|
+
if (init === "default") {
|
|
312
|
+
apps = clone(default_apps);
|
|
313
|
+
menus = clone(default_menus);
|
|
314
|
+
}
|
|
315
|
+
else if (init === "temporary") {
|
|
316
|
+
apps = JSON.parse(JSON.stringify(temporary_apps));
|
|
317
|
+
}
|
|
318
|
+
else if (init === "long") {
|
|
319
|
+
apps = clone(default_apps);
|
|
320
|
+
menus = clone(long_menus);
|
|
321
|
+
}
|
|
322
|
+
return {
|
|
323
|
+
getApps: () => new Promise((resolve) => {
|
|
324
|
+
resolve({ err: null, apps });
|
|
325
|
+
}),
|
|
326
|
+
getMenus: () => new Promise((resolve) => {
|
|
327
|
+
resolve({
|
|
328
|
+
err: null,
|
|
329
|
+
menus,
|
|
330
|
+
});
|
|
331
|
+
}),
|
|
332
|
+
addMenu: (menuConfig) => new Promise((resolve) => {
|
|
333
|
+
const length = String(Object.keys(menus).length + 1);
|
|
334
|
+
menus = Object.assign(Object.assign({}, menus), { [length]: menuConfig });
|
|
335
|
+
resolve({ err: null });
|
|
336
|
+
}),
|
|
337
|
+
updateMenu: (menuId, menuConfig) => new Promise((resolve) => {
|
|
338
|
+
menus = Object.assign(Object.assign({}, menus), { [menuId]: menuConfig });
|
|
339
|
+
resolve({ err: null });
|
|
340
|
+
}),
|
|
341
|
+
deleteMenu: (menuId) => new Promise((resolve) => {
|
|
342
|
+
const newMenu = clone(menus);
|
|
343
|
+
delete newMenu[menuId];
|
|
344
|
+
menus = newMenu;
|
|
345
|
+
resolve({ err: null });
|
|
346
|
+
}),
|
|
347
|
+
};
|
|
348
|
+
};
|
|
314
349
|
//# sourceMappingURL=apps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/apps.ts"],"names":[],"mappings":"AACA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAK9C,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC5C;QACC,KAAK,EAAE,oBAAoB;QAC3B,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,uDAAuD;QACpE,QAAQ,EAAE;YACT,MAAM,EAAE;gBACP,GAAG,EAAE,8FAA8F;gBACnG,KAAK,EAAE,GAAG;gBACV,MAAM,EAAE,GAAG;gBACX,OAAO,EAAE;oBACR,QAAQ,EAAE,EAAE;oBACZ,cAAc,EAAE,SAAS;iBACzB;aACD;YACD,OAAO,EAAE;gBACR,QAAQ,EAAE;oBACT,cAAc,EAAE;wBACf,YAAY,EAAE,IAAI;qBAClB;iBACD;gBACD,UAAU,EAAE;oBACX,cAAc,EAAE;wBACf,gBAAgB,EAAE,IAAI;qBACtB;oBACD,OAAO,EAAE;wBACR,SAAS,EAAE,mBAAmB;qBAC9B;oBACD,gBAAgB,EAAE;wBACjB,UAAU,EAAE,IAAI;wBAChB,kBAAkB,EAAE,IAAI;qBACxB;iBACD;aACD;YACD,SAAS,EAAE;gBACV,OAAO,EAAE,CAAC,mEAAmE,CAAC;aAC9E;SACD;QACD,YAAY,EAAE,WAAW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,OAAO,CAAC;YAChB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;QACH,0BAA0B,EAAE,CAAC,SAAwB,EAAE,SAAwB,EAAE,EAAE,CAClF,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;;YACvB,OAAO,CACN,CAAA,MAAA,MAAA,MAAA,SAAS,CAAC,QAAQ,0CAAE,OAAO,0CAAE,aAAa,0CAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,WACzD,OAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,CAAA,EAAA,CAC1D,KAAI,KAAK,CACV,CAAC;QACH,CAAC,CAAC;QACH,2BAA2B,EAAE,CAAC,SAAwB,EAAE,SAAwB,EAAE,EAAE,CACnF,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;;YACvB,OAAO,CACN,CAAA,MAAA,MAAA,MAAA,SAAS,CAAC,QAAQ,0CAAE,OAAO,0CAAE,aAAa,0CAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,WACzD,OAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,CAAA,EAAA,CAC1D,KAAI,KAAK,CACV,CAAC;QACH,CAAC,CAAC;KACH,CAAC;AACH,CAAC,CAAC","sourcesContent":["import { ApplicationsProps } from \"../Applications\";\r\nimport configTemplate from \"./configTemplate\";\r\nimport { clone } from \"../Appearance.helpers\";\r\nimport { services } from \"@finsemble/finsemble-core\";\r\n\r\ntype AppDefinition = services.Interop.types.AppDefinition;\r\n\r\nexport const default_apps: AppDefinition[] = [\r\n\t{\r\n\t\tappId: \"Example Charts App\",\r\n\t\tname: \"Example Charts App\",\r\n\t\ttype: \"component\",\r\n\t\tdescription: \"Visualize market data in the leading technical chart.\",\r\n\t\tmanifest: {\r\n\t\t\twindow: {\r\n\t\t\t\turl: \"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq/technical-analysis-chart.html\",\r\n\t\t\t\twidth: 800,\r\n\t\t\t\theight: 600,\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tminWidth: 75,\r\n\t\t\t\t\tsecurityPolicy: \"trusted\",\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tforeign: {\r\n\t\t\t\tservices: {\r\n\t\t\t\t\tdockingService: {\r\n\t\t\t\t\t\tisArrangable: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\tcomponents: {\r\n\t\t\t\t\t\"App Launcher\": {\r\n\t\t\t\t\t\tlaunchableByUser: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tToolbar: {\r\n\t\t\t\t\t\ticonClass: \"ff-chart-advanced\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"Window Manager\": {\r\n\t\t\t\t\t\tFSBLHeader: true,\r\n\t\t\t\t\t\tpersistWindowState: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tcomponent: {\r\n\t\t\t\tpreload: [\"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq.js\"],\r\n\t\t\t},\r\n\t\t},\r\n\t\tmanifestType: \"finsemble\",\r\n\t\tversion: \"1.0.0\",\r\n\t\treleaseNotes: \"This is the only version.\",\r\n\t\ttooltip: \"ChartIQ Advanced Chart\",\r\n\t\timages: [\r\n\t\t\t{\r\n\t\t\t\turl: \"https://i.imgur.com/10C3LdH.png\",\r\n\t\t\t\ttooltip: \"Candle Chart\",\r\n\t\t\t},\r\n\t\t],\r\n\t\ttags: [\"charts\", \"market data\", \"visualization\", \"graphics\"],\r\n\t\tcontactEmail: \"info@cosaic.io\",\r\n\t\tsupportEmail: \"support@finsemble.com\",\r\n\t\tpublisher: \"Cosaic\",\r\n\t\ticons: [\r\n\t\t\t{\r\n\t\t\t\turl: \"https://i.imgur.com/mpBdiHd.png\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tappId: \"Example News App\",\r\n\t\tname: \"Example News App\",\r\n\t\ttype: \"component\",\r\n\t\tdescription: \"Financial news headlines.\",\r\n\t\tmanifest: {\r\n\t\t\twindow: {\r\n\t\t\t\turl: \"https://finsemble.chartiq.com/components/widgets/news/news.html\",\r\n\t\t\t\twidth: 354,\r\n\t\t\t\theight: 600,\r\n\t\t\t},\r\n\t\t\tforeign: {\r\n\t\t\t\tservices: {\r\n\t\t\t\t\tdockingService: {\r\n\t\t\t\t\t\tisArrangable: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\tcomponents: {\r\n\t\t\t\t\tToolbar: {\r\n\t\t\t\t\t\ticonClass: \"ff-news\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"Window Manager\": {\r\n\t\t\t\t\t\tFSBLHeader: true,\r\n\t\t\t\t\t\tpersistWindowState: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tmanifestType: \"finsemble\",\r\n\t\tversion: \"1.0.0\",\r\n\t\treleaseNotes: \"This is the only version of News\",\r\n\t\ttooltip: \"News\",\r\n\t\timages: [\r\n\t\t\t{\r\n\t\t\t\turl: \"https://i.imgur.com/6oZjqP7.png\",\r\n\t\t\t\ttooltip: \"News\",\r\n\t\t\t},\r\n\t\t],\r\n\t\ttags: [\"news\"],\r\n\t\tcontactEmail: \"info@cosaic.io\",\r\n\t\tsupportEmail: \"support@finsemble.com\",\r\n\t\tpublisher: \"Cosaic\",\r\n\t\ticons: [\r\n\t\t\t{\r\n\t\t\t\turl: \"https://i.imgur.com/gHfwucS.png\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tappId: \"Google\",\r\n\t\tname: \"Google\",\r\n\t\tmanifest: {\r\n\t\t\twindow: {\r\n\t\t\t\turl: \"http://google.com\",\r\n\t\t\t\twidth: 1280,\r\n\t\t\t\theight: 600,\r\n\t\t\t},\r\n\t\t\tforeign: {\r\n\t\t\t\tcomponents: {\r\n\t\t\t\t\t\"Window Manager\": {\r\n\t\t\t\t\t\tpersistWindowState: true,\r\n\t\t\t\t\t\tFSBLHeader: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tmanifestType: \"vendor_type\",\r\n\t\tversion: \"1\",\r\n\t\ttitle: \"app title\",\r\n\t\ttooltip: \"app tip\",\r\n\t\tdescription: \"\",\r\n\t\timages: [\r\n\t\t\t{\r\n\t\t\t\turl: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tcontactEmail: \"string\",\r\n\t\tsupportEmail: \"string\",\r\n\t\tpublisher: \"string\",\r\n\t\ticons: [\r\n\t\t\t{\r\n\t\t\t\ticon: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tcustomConfig: [\r\n\t\t\t{\r\n\t\t\t\tname: \"string\",\r\n\t\t\t\tvalue: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tintents: [\r\n\t\t\t{\r\n\t\t\t\tname: \"string\",\r\n\t\t\t\tdisplayName: \"string\",\r\n\t\t\t\tcontexts: [\"string\"],\r\n\t\t\t\tcustomConfig: {},\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n] as AppDefinition[];\r\n\r\nconst default_menus = {\r\n\t1: {\r\n\t\tdisplayName: \"Examples\",\r\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\r\n\t},\r\n};\r\n\r\nconst long_menus = {\r\n\t1: {\r\n\t\tdisplayName: \"A\",\r\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\r\n\t},\r\n\t2: {\r\n\t\tdisplayName: \"B\",\r\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\r\n\t},\r\n\t3: {\r\n\t\tdisplayName: \"C\",\r\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\r\n\t},\r\n\t4: {\r\n\t\tdisplayName: \"D\",\r\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\r\n\t},\r\n\t5: {\r\n\t\tdisplayName: \"E\",\r\n\t\tapplications: [],\r\n\t},\r\n};\r\n\r\nexport const temporary_apps: AppDefinition[] = [\r\n\t{\r\n\t\tappId: \"Google\",\r\n\t\tname: \"Google\",\r\n\t\tmanifest: {\r\n\t\t\twindow: {\r\n\t\t\t\turl: \"http://google.com\",\r\n\t\t\t\twidth: 1280,\r\n\t\t\t\theight: 600,\r\n\t\t\t},\r\n\t\t\tforeign: {\r\n\t\t\t\tcomponents: {\r\n\t\t\t\t\t\"Window Manager\": {\r\n\t\t\t\t\t\tpersistWindowState: true,\r\n\t\t\t\t\t\tFSBLHeader: true,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tmanifestType: \"vendor_type\",\r\n\t\tversion: \"1\",\r\n\t\ttitle: \"app title\",\r\n\t\ttooltip: \"app tip\",\r\n\t\tdescription: \"\",\r\n\t\timages: [\r\n\t\t\t{\r\n\t\t\t\turl: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tcontactEmail: \"string\",\r\n\t\tsupportEmail: \"string\",\r\n\t\tpublisher: \"string\",\r\n\t\ticons: [\r\n\t\t\t{\r\n\t\t\t\ticon: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tcustomConfig: [\r\n\t\t\t{\r\n\t\t\t\tname: \"string\",\r\n\t\t\t\tvalue: \"string\",\r\n\t\t\t},\r\n\t\t],\r\n\t\tintents: [\r\n\t\t\t{\r\n\t\t\t\tname: \"string\",\r\n\t\t\t\tdisplayName: \"string\",\r\n\t\t\t\tcontexts: [\"string\"],\r\n\t\t\t\tcustomConfig: {},\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tappId: \"123456789\",\r\n\t\tname: \"OtherApp\",\r\n\t\tmanifest: {\r\n\t\t\ttemporary: true,\r\n\t\t},\r\n\t},\r\n] as AppDefinition[];\r\n\r\nexport const getApplicationsArgs = (init: \"default\" | \"empty\" | \"long\" | \"temporary\"): ApplicationsProps => {\r\n\tlet apps: AppDefinition[] = [];\r\n\tlet menus: any = {};\r\n\r\n\tif (init === \"default\") {\r\n\t\tapps = clone(default_apps);\r\n\t\tmenus = clone(default_menus);\r\n\t} else if (init === \"temporary\") {\r\n\t\tapps = JSON.parse(JSON.stringify(temporary_apps));\r\n\t} else if (init === \"long\") {\r\n\t\tapps = clone(default_apps);\r\n\t\tmenus = clone(long_menus);\r\n\t}\r\n\r\n\treturn {\r\n\t\tgetApps: () =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tresolve({ err: null, apps });\r\n\t\t\t}),\r\n\t\taddApp: (_: string, appConfig: AppDefinition) => {\r\n\t\t\tapps = [...apps, appConfig];\r\n\r\n\t\t\treturn new Promise((resolve) => {\r\n\t\t\t\tresolve({ err: null });\r\n\t\t\t});\r\n\t\t},\r\n\t\tdeleteApp: (appId: string) => {\r\n\t\t\tapps = apps.filter((app) => app.appId !== appId);\r\n\r\n\t\t\treturn new Promise((resolve) => {\r\n\t\t\t\tresolve({ err: null });\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetAppConfigTemplate: () =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tresolve({ config: { ...configTemplate } });\r\n\t\t\t}),\r\n\t\tgetMenus: () =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tresolve({\r\n\t\t\t\t\terr: null,\r\n\t\t\t\t\tmenus,\r\n\t\t\t\t});\r\n\t\t\t}),\r\n\t\taddMenu: (menuConfig: any) =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tconst length = String(Object.keys(menus).length + 1);\r\n\t\t\t\tmenus = {\r\n\t\t\t\t\t...menus,\r\n\t\t\t\t\t[length]: menuConfig,\r\n\t\t\t\t};\r\n\r\n\t\t\t\tresolve({ err: null });\r\n\t\t\t}),\r\n\t\tupdateMenu: (menuId: string, menuConfig: any) =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tmenus = {\r\n\t\t\t\t\t...menus,\r\n\t\t\t\t\t[menuId]: menuConfig,\r\n\t\t\t\t};\r\n\t\t\t\tresolve({ err: null });\r\n\t\t\t}),\r\n\t\tdeleteMenu: (menuId: string) =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tconst newMenu = clone(menus);\r\n\t\t\t\tdelete newMenu[menuId];\r\n\t\t\t\tmenus = newMenu;\r\n\t\t\t\tresolve({ err: null });\r\n\t\t\t}),\r\n\t\tisInboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tresolve(\r\n\t\t\t\t\ttargetApp.manifest?.interop?.selectConnect?.some((rule) =>\r\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === sourceApp.name)\r\n\t\t\t\t\t) || false\r\n\t\t\t\t);\r\n\t\t\t}),\r\n\t\tisOutboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\r\n\t\t\tnew Promise((resolve) => {\r\n\t\t\t\tresolve(\r\n\t\t\t\t\tsourceApp.manifest?.interop?.selectConnect?.some((rule) =>\r\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === targetApp.name)\r\n\t\t\t\t\t) || false\r\n\t\t\t\t);\r\n\t\t\t}),\r\n\t};\r\n};\r\n"]}
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/apps.ts"],"names":[],"mappings":"AACA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAM9C,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC5C;QACC,KAAK,EAAE,oBAAoB;QAC3B,IAAI,EAAE,oBAAoB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C,EAAE,UAAU,GACpB,CAAC;YAEF,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;QACH,UAAU,EAAE,CAAC,MAAc,EAAE,UAAe,EAAE,EAAE,CAC/C,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvB,KAAK,mCACD,KAAK,KACR,CAAC,MAAM,CAAC,EAAE,UAAU,GACpB,CAAC;YACF,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;QACH,UAAU,EAAE,CAAC,MAAc,EAAE,EAAE,CAC9B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvB,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;YAC7B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;YACvB,KAAK,GAAG,OAAO,CAAC;YAChB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;KACH,CAAC;AACH,CAAC,CAAC","sourcesContent":["import { ApplicationsProps } from \"../Applications\";\nimport configTemplate from \"./configTemplate\";\nimport { clone } from \"../Appearance.helpers\";\nimport { services } from \"@finsemble/finsemble-core\";\nimport { ToolbarProps } from \"../Toolbar\";\n\ntype AppDefinition = services.Interop.types.AppDefinition;\n\nexport const default_apps: AppDefinition[] = [\n\t{\n\t\tappId: \"Example Charts App\",\n\t\tname: \"Example Charts App\",\n\t\ttype: \"component\",\n\t\tdescription: \"Visualize market data in the leading technical chart.\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq/technical-analysis-chart.html\",\n\t\t\t\twidth: 800,\n\t\t\t\theight: 600,\n\t\t\t\toptions: {\n\t\t\t\t\tminWidth: 75,\n\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tservices: {\n\t\t\t\t\tdockingService: {\n\t\t\t\t\t\tisArrangable: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t},\n\t\t\t\t\tToolbar: {\n\t\t\t\t\t\ticonClass: \"ff-chart-advanced\",\n\t\t\t\t\t},\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tcomponent: {\n\t\t\t\tpreload: [\"https://salesdemo-dev.finsemble.com/components/chartiq/chartiq.js\"],\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"finsemble\",\n\t\tversion: \"1.0.0\",\n\t\treleaseNotes: \"This is the only version.\",\n\t\ttooltip: \"ChartIQ Advanced Chart\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/10C3LdH.png\",\n\t\t\t\ttooltip: \"Candle Chart\",\n\t\t\t},\n\t\t],\n\t\ttags: [\"charts\", \"market data\", \"visualization\", \"graphics\"],\n\t\tcontactEmail: \"info@cosaic.io\",\n\t\tsupportEmail: \"support@finsemble.com\",\n\t\tpublisher: \"Cosaic\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/mpBdiHd.png\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"Example News App\",\n\t\tname: \"Example News App\",\n\t\ttype: \"component\",\n\t\tdescription: \"Financial news headlines.\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"https://finsemble.chartiq.com/components/widgets/news/news.html\",\n\t\t\t\twidth: 354,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tservices: {\n\t\t\t\t\tdockingService: {\n\t\t\t\t\t\tisArrangable: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tcomponents: {\n\t\t\t\t\tToolbar: {\n\t\t\t\t\t\ticonClass: \"ff-news\",\n\t\t\t\t\t},\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"finsemble\",\n\t\tversion: \"1.0.0\",\n\t\treleaseNotes: \"This is the only version of News\",\n\t\ttooltip: \"News\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/6oZjqP7.png\",\n\t\t\t\ttooltip: \"News\",\n\t\t\t},\n\t\t],\n\t\ttags: [\"news\"],\n\t\tcontactEmail: \"info@cosaic.io\",\n\t\tsupportEmail: \"support@finsemble.com\",\n\t\tpublisher: \"Cosaic\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\turl: \"https://i.imgur.com/gHfwucS.png\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"Google\",\n\t\tname: \"Google\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"http://google.com\",\n\t\t\t\twidth: 1280,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"vendor_type\",\n\t\tversion: \"1\",\n\t\ttitle: \"app title\",\n\t\ttooltip: \"app tip\",\n\t\tdescription: \"\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"string\",\n\t\t\t},\n\t\t],\n\t\tcontactEmail: \"string\",\n\t\tsupportEmail: \"string\",\n\t\tpublisher: \"string\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\ticon: \"string\",\n\t\t\t},\n\t\t],\n\t\tcustomConfig: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tvalue: \"string\",\n\t\t\t},\n\t\t],\n\t\tintents: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tdisplayName: \"string\",\n\t\t\t\tcontexts: [\"string\"],\n\t\t\t\tcustomConfig: {},\n\t\t\t},\n\t\t],\n\t},\n] as AppDefinition[];\n\nconst default_menus = {\n\t1: {\n\t\tdisplayName: \"Examples\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n};\n\nconst long_menus = {\n\t1: {\n\t\tdisplayName: \"A\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t2: {\n\t\tdisplayName: \"B\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t3: {\n\t\tdisplayName: \"C\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t4: {\n\t\tdisplayName: \"D\",\n\t\tapplications: [\"Example Charts App\", \"Example News App\"],\n\t},\n\t5: {\n\t\tdisplayName: \"E\",\n\t\tapplications: [],\n\t},\n};\n\nexport const temporary_apps: AppDefinition[] = [\n\t{\n\t\tappId: \"Google\",\n\t\tname: \"Google\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"http://google.com\",\n\t\t\t\twidth: 1280,\n\t\t\t\theight: 600,\n\t\t\t},\n\t\t\tforeign: {\n\t\t\t\tcomponents: {\n\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tmanifestType: \"vendor_type\",\n\t\tversion: \"1\",\n\t\ttitle: \"app title\",\n\t\ttooltip: \"app tip\",\n\t\tdescription: \"\",\n\t\timages: [\n\t\t\t{\n\t\t\t\turl: \"string\",\n\t\t\t},\n\t\t],\n\t\tcontactEmail: \"string\",\n\t\tsupportEmail: \"string\",\n\t\tpublisher: \"string\",\n\t\ticons: [\n\t\t\t{\n\t\t\t\ticon: \"string\",\n\t\t\t},\n\t\t],\n\t\tcustomConfig: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tvalue: \"string\",\n\t\t\t},\n\t\t],\n\t\tintents: [\n\t\t\t{\n\t\t\t\tname: \"string\",\n\t\t\t\tdisplayName: \"string\",\n\t\t\t\tcontexts: [\"string\"],\n\t\t\t\tcustomConfig: {},\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tappId: \"123456789\",\n\t\tname: \"OtherApp\",\n\t\tmanifest: {\n\t\t\ttemporary: true,\n\t\t},\n\t},\n] as AppDefinition[];\n\nexport const getApplicationsArgs = (init: \"default\" | \"empty\" | \"long\" | \"temporary\"): ApplicationsProps => {\n\tlet apps: AppDefinition[] = [];\n\tlet menus: any = {};\n\n\tif (init === \"default\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(default_menus);\n\t} else if (init === \"temporary\") {\n\t\tapps = JSON.parse(JSON.stringify(temporary_apps));\n\t} else if (init === \"long\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(long_menus);\n\t}\n\n\treturn {\n\t\tgetApps: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null, apps });\n\t\t\t}),\n\t\taddApp: (_: string, appConfig: AppDefinition) => {\n\t\t\tapps = [...apps, appConfig];\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t\tdeleteApp: (appId: string) => {\n\t\t\tapps = apps.filter((app) => app.appId !== appId);\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve({ err: null });\n\t\t\t});\n\t\t},\n\t\tgetAppConfigTemplate: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ config: { ...configTemplate } });\n\t\t\t}),\n\t\tgetMenus: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({\n\t\t\t\t\terr: null,\n\t\t\t\t\tmenus,\n\t\t\t\t});\n\t\t\t}),\n\t\taddMenu: (menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst length = String(Object.keys(menus).length + 1);\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[length]: menuConfig,\n\t\t\t\t};\n\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tupdateMenu: (menuId: string, menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[menuId]: menuConfig,\n\t\t\t\t};\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tisInboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve(\n\t\t\t\t\ttargetApp.manifest?.interop?.selectConnect?.some((rule) =>\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === sourceApp.name)\n\t\t\t\t\t) || false\n\t\t\t\t);\n\t\t\t}),\n\t\tisOutboundInteropAuthorized: (sourceApp: AppDefinition, targetApp: AppDefinition) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve(\n\t\t\t\t\tsourceApp.manifest?.interop?.selectConnect?.some((rule) =>\n\t\t\t\t\t\trule.authorize?.some((app) => app.name === targetApp.name)\n\t\t\t\t\t) || false\n\t\t\t\t);\n\t\t\t}),\n\t};\n};\n\nexport const getToolbarArgs = (init: \"default\" | \"empty\" | \"long\" | \"temporary\"): ToolbarProps => {\n\tlet apps: AppDefinition[] = [];\n\tlet menus: any = {};\n\n\tif (init === \"default\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(default_menus);\n\t} else if (init === \"temporary\") {\n\t\tapps = JSON.parse(JSON.stringify(temporary_apps));\n\t} else if (init === \"long\") {\n\t\tapps = clone(default_apps);\n\t\tmenus = clone(long_menus);\n\t}\n\n\treturn {\n\t\tgetApps: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({ err: null, apps });\n\t\t\t}),\n\t\tgetMenus: () =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tresolve({\n\t\t\t\t\terr: null,\n\t\t\t\t\tmenus,\n\t\t\t\t});\n\t\t\t}),\n\t\taddMenu: (menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst length = String(Object.keys(menus).length + 1);\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[length]: menuConfig,\n\t\t\t\t};\n\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tupdateMenu: (menuId: string, menuConfig: any) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tmenus = {\n\t\t\t\t\t...menus,\n\t\t\t\t\t[menuId]: menuConfig,\n\t\t\t\t};\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t\tdeleteMenu: (menuId: string) =>\n\t\t\tnew Promise((resolve) => {\n\t\t\t\tconst newMenu = clone(menus);\n\t\t\t\tdelete newMenu[menuId];\n\t\t\t\tmenus = newMenu;\n\t\t\t\tresolve({ err: null });\n\t\t\t}),\n\t};\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticationProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/authenticationProps.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG,GAAG,EAAE,CAC5B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;CACpB,CAAC","sourcesContent":["import { AuthenticationProps } from \"../Authentication\";\
|
|
1
|
+
{"version":3,"file":"authenticationProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/authenticationProps.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG,GAAG,EAAE,CAC5B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;IAC3C,0BAA0B,EAAE,eAAe;CACpB,CAAC","sourcesContent":["import { AuthenticationProps } from \"../Authentication\";\n\nconst defaultCallback = () =>\n\tnew Promise((resolve) => {\n\t\tresolve(null);\n\t});\n\nexport const default_authentication_props = {\n\tgetAuthenticationProviders: defaultCallback,\n\tsetAuthenticationProviders: defaultCallback,\n\ttestAuthenticationProvider: defaultCallback,\n} as AuthenticationProps;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configTemplate.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/configTemplate.ts"],"names":[],"mappings":"AAAA,IAAI,aAAa,GAAG;IACnB,MAAM,EAAE;QAEP,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,GAAG;KACX;IACD,OAAO,EAAE;QACR,UAAU,EAAE;YACX,gBAAgB,EAAE;gBACjB,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,IAAI;aAChB;SACD;KACD;CACD,CAAC;AAEF,eAAe;IACd,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,aAAa;IAC3B,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE;QACP;YACC,GAAG,EAAE,QAAQ;SACb;KACD;IACD,YAAY,EAAE,QAAQ;IACtB,YAAY,EAAE,QAAQ;IACtB,SAAS,EAAE,QAAQ;IACnB,KAAK,EAAE;QACN;YACC,IAAI,EAAE,QAAQ;SACd;KACD;IACD,YAAY,EAAE;QACb;YACC,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;SACf;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,YAAY,EAAE,EAAE;SAChB;KACD;CACD,CAAC","sourcesContent":["let componentJson = {\
|
|
1
|
+
{"version":3,"file":"configTemplate.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/configTemplate.ts"],"names":[],"mappings":"AAAA,IAAI,aAAa,GAAG;IACnB,MAAM,EAAE;QAEP,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,GAAG;KACX;IACD,OAAO,EAAE;QACR,UAAU,EAAE;YACX,gBAAgB,EAAE;gBACjB,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,IAAI;aAChB;SACD;KACD;CACD,CAAC;AAEF,eAAe;IACd,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,aAAa;IACvB,YAAY,EAAE,aAAa;IAC3B,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,EAAE;IACf,MAAM,EAAE;QACP;YACC,GAAG,EAAE,QAAQ;SACb;KACD;IACD,YAAY,EAAE,QAAQ;IACtB,YAAY,EAAE,QAAQ;IACtB,SAAS,EAAE,QAAQ;IACnB,KAAK,EAAE;QACN;YACC,IAAI,EAAE,QAAQ;SACd;KACD;IACD,YAAY,EAAE;QACb;YACC,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;SACf;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,YAAY,EAAE,EAAE;SAChB;KACD;CACD,CAAC","sourcesContent":["let componentJson = {\n\twindow: {\n\t\t// url: \"$applicationRoot/components/welcome/welcome.html\",\n\t\turl: \"\",\n\t\twidth: 1280,\n\t\theight: 600,\n\t},\n\tforeign: {\n\t\tcomponents: {\n\t\t\t\"Window Manager\": {\n\t\t\t\tpersistWindowState: true,\n\t\t\t\tFSBLHeader: true,\n\t\t\t},\n\t\t},\n\t},\n};\n\nexport default {\n\tappId: \"123\",\n\tname: \"\",\n\tmanifest: componentJson,\n\tmanifestType: \"vendor_type\",\n\tversion: \"1\",\n\ttitle: \"app title\",\n\ttooltip: \"app tip\",\n\tdescription: \"\",\n\timages: [\n\t\t{\n\t\t\turl: \"string\",\n\t\t},\n\t],\n\tcontactEmail: \"string\",\n\tsupportEmail: \"string\",\n\tpublisher: \"string\",\n\ticons: [\n\t\t{\n\t\t\ticon: \"string\",\n\t\t},\n\t],\n\tcustomConfig: [\n\t\t{\n\t\t\tname: \"string\",\n\t\t\tvalue: \"string\",\n\t\t},\n\t],\n\tintents: [\n\t\t{\n\t\t\tname: \"string\",\n\t\t\tdisplayName: \"string\",\n\t\t\tcontexts: [\"string\"],\n\t\t\tcustomConfig: {},\n\t\t},\n\t],\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exportProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/exportProps.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAM7C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,qBAAqB,EAAE,IAAI;IAC3B,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,EAAE;SACS,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,oBAAoB,EAAE,GAAG,EAAE,CAC1B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,KAAK;YACX,YAAY,EAAE,oBAAoB;YAClC,WAAW,EAAE,oBAAoB;SACnB,CAAC,CAAC;IAClB,CAAC,CAAC;IACH,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP;gBACC,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,mBAAmB;aAC3B;SACD,CAAC,CAAC;IACJ,CAAC,CAAC;CACY,CAAC","sourcesContent":["import { ExportProps } from \"../Export\";\
|
|
1
|
+
{"version":3,"file":"exportProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/exportProps.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAM7C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,qBAAqB,EAAE,IAAI;IAC3B,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,EAAE;SACS,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC,CAAC;IACH,oBAAoB,EAAE,GAAG,EAAE,CAC1B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP,IAAI,EAAE,KAAK;YACX,YAAY,EAAE,oBAAoB;YAClC,WAAW,EAAE,oBAAoB;SACnB,CAAC,CAAC;IAClB,CAAC,CAAC;IACH,kBAAkB,EAAE,GAAG,EAAE,CACxB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC,CAAC;IACH,gBAAgB,EAAE,GAAG,EAAE,CACtB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC;YACP;gBACC,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,mBAAmB;aAC3B;SACD,CAAC,CAAC;IACJ,CAAC,CAAC;IACH,qBAAqB,EAAE,GAAG,EAAE,CAC3B,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC,CAAC;CACY,CAAC","sourcesContent":["import { ExportProps } from \"../Export\";\nimport publishTests from \"./publishProgress\";\nimport { FEA } from \"@finsemble/finsemble-core\";\n\ntype ProjectConfig = FEA.ProjectConfig;\ntype DeployInfo = FEA.DeployInfo;\n\nexport const DEFAULT_PROPS = {\n\tprogressCheckInterval: 1000,\n\tgetProjectConfig: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({\n\t\t\t\tname: \"\",\n\t\t\t} as ProjectConfig);\n\t\t}),\n\tcreateProjectZip: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(\"test.zip\");\n\t\t}),\n\tpublishToCosaicCloud: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({\n\t\t\t\tuuid: \"123\",\n\t\t\t\tinstallerURL: \"https://cosaic.io/\",\n\t\t\t\tmanifestURL: \"https://cosaic.io/\",\n\t\t\t} as DeployInfo);\n\t\t}),\n\tgetPublishProgress: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve(publishTests[0].states[0]);\n\t\t}),\n\tcopyProjectFiles: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve([\n\t\t\t\t{\n\t\t\t\t\tsource: \"/tmp/config.json\",\n\t\t\t\t\ttarget: \"/seed/config.json\",\n\t\t\t\t},\n\t\t\t]);\n\t\t}),\n\tupdateProjectSettings: () =>\n\t\tnew Promise((resolve) => {\n\t\t\tresolve({ err: \"\" });\n\t\t}),\n} as ExportProps;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectErrorsProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/projectErrorsProps.ts"],"names":[],"mappings":"AAEA,eAAmC;IAClC,MAAM,EAAE;QACP;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;QACD;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;KACD;CACD,CAAC","sourcesContent":["import { ProjectErrorsProps } from \"../ProjectErrors\";\
|
|
1
|
+
{"version":3,"file":"projectErrorsProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/projectErrorsProps.ts"],"names":[],"mappings":"AAEA,eAAmC;IAClC,MAAM,EAAE;QACP;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;QACD;YACC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,eAAe;SACxB;KACD;CACD,CAAC","sourcesContent":["import { ProjectErrorsProps } from \"../ProjectErrors\";\n\nexport default <ProjectErrorsProps>{\n\terrors: [\n\t\t{\n\t\t\tviewId: \"test\",\n\t\t\tmessage: \"Error message\",\n\t\t},\n\t\t{\n\t\t\tviewId: \"test\",\n\t\t\tmessage: \"Error message\",\n\t\t},\n\t],\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishProgress.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/publishProgress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAMzE,eAAe;IACd;QACC,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACP;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,OAAO;wBAC5B,eAAe,EAAE,EAAE;qBAEH;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;iBACjB;gBACD,WAAW,EAAE,YAAY;aACzB;YACD;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,OAAO;wBAC5B,eAAe,EAAE,EAAE;qBAEH;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE,CAAC;qBAEF;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,UAAU;wBAC/B,eAAe,EAAE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AAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;iBACjB;gBACD,WAAW,EAAE,IAAI;aACjB;SACD;KACD;CAIC,CAAC","sourcesContent":["import { ProgressState } from \"../../../types/smartDesktopDesignerTypes\";\r\nimport { FEA } from \"@finsemble/finsemble-core\";\r\n\r\ntype ProgressItem = FEA.ProgressItem;\r\ntype Progress = FEA.Progress;\r\n\r\nexport default [\r\n\t{\r\n\t\tname: \"success\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Started,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"initialize\",\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Started,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"zip\",\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Started,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"upload\",\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.Started,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"cloud\",\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: null,\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"step-1-fail\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Error,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\terror: \"error message\",\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"initialize\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"step-2-fail\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Error,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\terror: \"error message\",\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"zip\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"step-3-fail\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Error,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\terror: \"error message\",\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\r\n\t\t\t\t\t\tpercentComplete: 0,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"upload\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"step-4-started\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.Started,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"cloud\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"step-4-fail\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.Error,\r\n\t\t\t\t\t\tpercentComplete: 50,\r\n\t\t\t\t\t\terror: \"error message\",\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: \"cloud\",\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n\t{\r\n\t\tname: \"success\",\r\n\t\tstates: [\r\n\t\t\t{\r\n\t\t\t\tsteps: {\r\n\t\t\t\t\tinitialize: {\r\n\t\t\t\t\t\tstep: \"initialize\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tzip: {\r\n\t\t\t\t\t\tstep: \"zip\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tupload: {\r\n\t\t\t\t\t\tstep: \"upload\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t\tcloud: {\r\n\t\t\t\t\t\tstep: \"cloud\",\r\n\t\t\t\t\t\tstate: ProgressState.Finished,\r\n\t\t\t\t\t\tpercentComplete: 100,\r\n\t\t\t\t\t\t// error: '',\r\n\t\t\t\t\t} as ProgressItem,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentStep: null,\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n] as {\r\n\tname: string;\r\n\tstates: Progress[];\r\n}[];\r\n"]}
|
|
1
|
+
{"version":3,"file":"publishProgress.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/publishProgress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAMzE,eAAe;IACd;QACC,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACP;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CA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EAAE;YACP;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,KAAK;wBAC1B,eAAe,EAAE,EAAE;wBACnB,KAAK,EAAE,eAAe;qBACN;iBACjB;gBACD,WAAW,EAAE,OAAO;aACpB;SACD;KACD;IACD;QACC,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACP;gBACC,KAAK,EAAE;oBACN,UAAU,EAAE;wBACX,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,GAAG,EAAE;wBACJ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,MAAM,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;oBACjB,KAAK,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,aAAa,CAAC,QAAQ;wBAC7B,eAAe,EAAE,GAAG;qBAEJ;iBACjB;gBACD,WAAW,EAAE,IAAI;aACjB;SACD;KACD;CAIC,CAAC","sourcesContent":["import { ProgressState } from \"../../../types/smartDesktopDesignerTypes\";\nimport { FEA } from \"@finsemble/finsemble-core\";\n\ntype ProgressItem = FEA.ProgressItem;\ntype Progress = FEA.Progress;\n\nexport default [\n\t{\n\t\tname: \"success\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"initialize\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"zip\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"upload\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: null,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-1-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"initialize\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-2-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"zip\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-3-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.NotStarted,\n\t\t\t\t\t\tpercentComplete: 0,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"upload\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-4-started\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Started,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"step-4-fail\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Error,\n\t\t\t\t\t\tpercentComplete: 50,\n\t\t\t\t\t\terror: \"error message\",\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: \"cloud\",\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"success\",\n\t\tstates: [\n\t\t\t{\n\t\t\t\tsteps: {\n\t\t\t\t\tinitialize: {\n\t\t\t\t\t\tstep: \"initialize\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tzip: {\n\t\t\t\t\t\tstep: \"zip\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tupload: {\n\t\t\t\t\t\tstep: \"upload\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t\tcloud: {\n\t\t\t\t\t\tstep: \"cloud\",\n\t\t\t\t\t\tstate: ProgressState.Finished,\n\t\t\t\t\t\tpercentComplete: 100,\n\t\t\t\t\t\t// error: '',\n\t\t\t\t\t} as ProgressItem,\n\t\t\t\t},\n\t\t\t\tcurrentStep: null,\n\t\t\t},\n\t\t],\n\t},\n] as {\n\tname: string;\n\tstates: Progress[];\n}[];\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/themeProps.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,GAAG,EAAE,CACvB,IAAI,OAAO,CAAuC,CAAC,OAAO,EAAE,EAAE;IAC7D,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEJ,MAAM,wBAAwB,GAAG,GAAG,EAAE,CACrC,IAAI,OAAO,CAAe,CAAC,OAAO,EAAE,EAAE;IACrC,OAAO,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;AACtB,CAAC,CAAC,CAAC;AAEJ,MAAM,eAAe,GAAG,CAAC,EAAO,EAAE,EAAE;IACnC,EAAE,CAAC;QACF,IAAI,EAAE,EAAE;QACR,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE;YACP,WAAW,EAAE,EAAE;YACf,aAAa,EAAE,EAAE;YACjB,WAAW,EAAE,EAAE;YACf,cAAc,EAAE,EAAE;YAClB,iBAAiB,EAAE,EAAE;SACrB;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,eAAe;IACf,qBAAqB,EAAE,wBAAwB;IAC/C,YAAY,EAAE,wBAAwB;IACtC,UAAU,EAAE,CAAC,EAAY,EAAE,EAAE;QAC5B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,kBAAkB,EAAE,UAAU;IAC9B,iBAAiB,EAAE,UAAU;IAC7B,iBAAiB,EAAE,UAAU;IAC7B,oBAAoB,EAAE,UAAU;IAChC,mBAAmB,EAAE,UAAU;CAC/B,CAAC","sourcesContent":["const uploadStub = () =>\
|
|
1
|
+
{"version":3,"file":"themeProps.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/themeProps.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,GAAG,EAAE,CACvB,IAAI,OAAO,CAAuC,CAAC,OAAO,EAAE,EAAE;IAC7D,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEJ,MAAM,wBAAwB,GAAG,GAAG,EAAE,CACrC,IAAI,OAAO,CAAe,CAAC,OAAO,EAAE,EAAE;IACrC,OAAO,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;AACtB,CAAC,CAAC,CAAC;AAEJ,MAAM,eAAe,GAAG,CAAC,EAAO,EAAE,EAAE;IACnC,EAAE,CAAC;QACF,IAAI,EAAE,EAAE;QACR,eAAe,EAAE,EAAE;QACnB,MAAM,EAAE;YACP,WAAW,EAAE,EAAE;YACf,aAAa,EAAE,EAAE;YACjB,WAAW,EAAE,EAAE;YACf,cAAc,EAAE,EAAE;YAClB,iBAAiB,EAAE,EAAE;SACrB;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,eAAe;IACf,qBAAqB,EAAE,wBAAwB;IAC/C,YAAY,EAAE,wBAAwB;IACtC,UAAU,EAAE,CAAC,EAAY,EAAE,EAAE;QAC5B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,kBAAkB,EAAE,UAAU;IAC9B,iBAAiB,EAAE,UAAU;IAC7B,iBAAiB,EAAE,UAAU;IAC7B,oBAAoB,EAAE,UAAU;IAChC,mBAAmB,EAAE,UAAU;CAC/B,CAAC","sourcesContent":["const uploadStub = () =>\n\tnew Promise<{ err: string | null; path: string }>((resolve) => {\n\t\tresolve({ err: null, path: \"path/to/image\" });\n\t});\n\nconst resolvePromiseEmptyError = () =>\n\tnew Promise<{ err: any }>((resolve) => {\n\t\tresolve({ err: \"\" });\n\t});\n\nconst getSDServerInfo = (cb: any) => {\n\tcb({\n\t\tname: \"\",\n\t\tapplicationRoot: \"\",\n\t\texport: {\n\t\t\ttoolbarIcon: \"\",\n\t\t\tinstallerIcon: \"\",\n\t\t\ttaskbarIcon: \"\",\n\t\t\tsystemTrayIcon: \"\",\n\t\t\tsplashScreenImage: \"\",\n\t\t},\n\t});\n};\n\nexport const default_theme_props = {\n\tgetSDServerInfo,\n\tupdateProjectSettings: resolvePromiseEmptyError,\n\tupdateThemes: resolvePromiseEmptyError,\n\tareYouSure: (cb: Function) => {\n\t\tcb();\n\t},\n\tupdateSplashScreen: uploadStub,\n\tupdateToolbarIcon: uploadStub,\n\tupdateTaskbarIcon: uploadStub,\n\tupdateSystemTrayIcon: uploadStub,\n\tupdateInstallerIcon: uploadStub,\n};\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default:
|
|
1
|
+
import { ViewSectionInfo } from "../../../types/smartDesktopDesignerTypes";
|
|
2
|
+
declare const _default: ViewSectionInfo[];
|
|
3
3
|
export default _default;
|
|
@@ -7,40 +7,72 @@ import { default_theme_props } from "./themeProps";
|
|
|
7
7
|
import { Authentication } from "../Authentication";
|
|
8
8
|
import { default_authentication_props } from "./authenticationProps";
|
|
9
9
|
import { getApplicationsArgs } from "./apps";
|
|
10
|
+
import { Toolbar } from "../Toolbar";
|
|
10
11
|
export default [
|
|
11
12
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
showLabel: false,
|
|
14
|
+
label: "",
|
|
15
|
+
views: [
|
|
16
|
+
{
|
|
17
|
+
id: "getting-started",
|
|
18
|
+
icon: "flag",
|
|
19
|
+
name: "Start",
|
|
20
|
+
component: GettingStarted,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
16
23
|
},
|
|
17
24
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
showLabel: true,
|
|
26
|
+
label: "Apps",
|
|
27
|
+
views: [
|
|
28
|
+
{
|
|
29
|
+
id: "applications",
|
|
30
|
+
icon: "window",
|
|
31
|
+
name: "Manage apps",
|
|
32
|
+
component: Applications,
|
|
33
|
+
props: Object.assign({}, getApplicationsArgs("empty")),
|
|
34
|
+
},
|
|
35
|
+
],
|
|
23
36
|
},
|
|
24
37
|
{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
38
|
+
showLabel: true,
|
|
39
|
+
label: "Desktop Customization",
|
|
40
|
+
views: [
|
|
41
|
+
{
|
|
42
|
+
id: "themes",
|
|
43
|
+
icon: "paint-roller",
|
|
44
|
+
name: "Theme",
|
|
45
|
+
component: Themes,
|
|
46
|
+
props: Object.assign({}, default_theme_props),
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "toolbar",
|
|
50
|
+
icon: "toolbar",
|
|
51
|
+
name: "Toolbar",
|
|
52
|
+
component: Toolbar,
|
|
53
|
+
props: Object.assign({}, getApplicationsArgs("empty")),
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "authentication",
|
|
57
|
+
icon: "key",
|
|
58
|
+
name: "Authentication",
|
|
59
|
+
component: Authentication,
|
|
60
|
+
props: Object.assign({}, default_authentication_props),
|
|
61
|
+
},
|
|
62
|
+
],
|
|
30
63
|
},
|
|
31
64
|
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
props: Object.assign({}, DEFAULT_PROPS),
|
|
65
|
+
showLabel: true,
|
|
66
|
+
label: "Deploy",
|
|
67
|
+
views: [
|
|
68
|
+
{
|
|
69
|
+
id: "export",
|
|
70
|
+
icon: "upload",
|
|
71
|
+
name: "Finish",
|
|
72
|
+
component: Export,
|
|
73
|
+
props: Object.assign({}, DEFAULT_PROPS),
|
|
74
|
+
},
|
|
75
|
+
],
|
|
44
76
|
},
|
|
45
77
|
];
|
|
46
78
|
//# sourceMappingURL=views.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"views.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/fixtures/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,eAAe;IACd;QACC,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,EAAE;QACT,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,iBAAiB;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;gBACb,SAAS,EAAE,cAAc;aACzB;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,MAAM;QACb,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,cAAc;gBAClB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,aAAa;gBACnB,SAAS,EAAE,YAAY;gBACvB,KAAK,oBAAO,mBAAmB,CAAC,OAAO,CAAC,CAAE;aAC1C;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,OAAO;gBACb,SAAS,EAAE,MAAM;gBACjB,KAAK,oBAAO,mBAAmB,CAAE;aACjC;YACD;gBACC,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,OAAO;gBAClB,KAAK,oBAAO,mBAAmB,CAAC,OAAO,CAAC,CAAE;aAC1C;YACD;gBACC,EAAE,EAAE,gBAAgB;gBACpB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,gBAAgB;gBACtB,SAAS,EAAE,cAAc;gBACzB,KAAK,oBAAO,4BAA4B,CAAE;aAC1C;SACD;KACD;IACD;QACC,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE;YACN;gBACC,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,MAAM;gBACjB,KAAK,oBAAO,aAAa,CAAE;aAC3B;SACD;KACD;CACoB,CAAC","sourcesContent":["import { GettingStarted } from \"../GettingStarted\";\nimport { Applications } from \"../Applications\";\nimport { ViewSectionInfo } from \"../../../types/smartDesktopDesignerTypes\";\nimport { Themes } from \"../Themes\";\nimport { Export } from \"../Export\";\nimport { DEFAULT_PROPS } from \"./exportProps\";\nimport { default_theme_props } from \"./themeProps\";\nimport { Authentication } from \"../Authentication\";\nimport { default_authentication_props } from \"./authenticationProps\";\nimport { getApplicationsArgs } from \"./apps\";\nimport { Toolbar } from \"../Toolbar\";\n\nexport default [\n\t{\n\t\tshowLabel: false,\n\t\tlabel: \"\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"getting-started\",\n\t\t\t\ticon: \"flag\",\n\t\t\t\tname: \"Start\",\n\t\t\t\tcomponent: GettingStarted,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Apps\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"applications\",\n\t\t\t\ticon: \"window\",\n\t\t\t\tname: \"Manage apps\",\n\t\t\t\tcomponent: Applications,\n\t\t\t\tprops: { ...getApplicationsArgs(\"empty\") },\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Desktop Customization\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"themes\",\n\t\t\t\ticon: \"paint-roller\",\n\t\t\t\tname: \"Theme\",\n\t\t\t\tcomponent: Themes,\n\t\t\t\tprops: { ...default_theme_props },\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"toolbar\",\n\t\t\t\ticon: \"toolbar\",\n\t\t\t\tname: \"Toolbar\",\n\t\t\t\tcomponent: Toolbar,\n\t\t\t\tprops: { ...getApplicationsArgs(\"empty\") },\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"authentication\",\n\t\t\t\ticon: \"key\",\n\t\t\t\tname: \"Authentication\",\n\t\t\t\tcomponent: Authentication,\n\t\t\t\tprops: { ...default_authentication_props },\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tshowLabel: true,\n\t\tlabel: \"Deploy\",\n\t\tviews: [\n\t\t\t{\n\t\t\t\tid: \"export\",\n\t\t\t\ticon: \"upload\",\n\t\t\t\tname: \"Finish\",\n\t\t\t\tcomponent: Export,\n\t\t\t\tprops: { ...DEFAULT_PROPS },\n\t\t\t},\n\t\t],\n\t},\n] as ViewSectionInfo[];\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const toSentenceCase: (s: string) => string;
|
|
2
1
|
export declare const getDefaultName: (name: string | undefined) => string;
|
|
3
2
|
export declare const generateDefaultConfig: (appConfig: {
|
|
4
3
|
name?: string;
|
|
5
4
|
url?: string;
|
|
6
5
|
path?: string;
|
|
6
|
+
appType?: string;
|
|
7
7
|
}) => {
|
|
8
8
|
displayName: string;
|
|
9
9
|
windowURL: string;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
const toSentenceCase = (s) => s.charAt(0).toUpperCase() + s.slice(1);
|
|
2
|
+
const invalidDefaultNames = ["http", "https", "html"];
|
|
2
3
|
export const getDefaultName = (name) => {
|
|
3
4
|
var _a;
|
|
4
5
|
const words = (_a = (name || "").match(/\w{4,}/gi)) !== null && _a !== void 0 ? _a : [""];
|
|
5
|
-
return toSentenceCase(words.pop() || "");
|
|
6
|
+
return toSentenceCase(words.filter((word) => !invalidDefaultNames.includes(word.toLowerCase())).pop() || "");
|
|
6
7
|
};
|
|
7
8
|
export const generateDefaultConfig = (appConfig) => {
|
|
8
9
|
const displayName = appConfig.name || getDefaultName(appConfig.url || appConfig.path || "") || "";
|
|
9
10
|
const windowURL = appConfig.url || "";
|
|
10
11
|
const nativePath = appConfig.path || "";
|
|
11
|
-
const currentAppType = appConfig.
|
|
12
|
+
const currentAppType = appConfig.appType ? appConfig.appType : "web";
|
|
12
13
|
return {
|
|
13
14
|
displayName,
|
|
14
15
|
windowURL,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdd_helpers.js","sourceRoot":"","sources":["../../../src/components/smartDesktopDesigner/sdd_helpers.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"sdd_helpers.js","sourceRoot":"","sources":["../../../src/components/smartDesktopDesigner/sdd_helpers.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,K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MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAE,EAAE,CACtC,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;IAC7B,UAAU,CAAC,GAAG,EAAE;QACf,OAAO,EAAE,CAAC;IACX,CAAC,EAAE,EAAE,CAAC,CAAC;AACR,CAAC,CAAC,CAAC","sourcesContent":["const toSentenceCase = (s: string) => s.charAt(0).toUpperCase() + s.slice(1);\n\nconst invalidDefaultNames = [\"http\", \"https\", \"html\"];\n\n/**\n * Returns the last word with more than 3 characters in the url or path\n *\n * @param {*} data\n * @return {*} {string}\n */\nexport const getDefaultName = (name: string | undefined) => {\n\tconst words = (name || \"\").match(/\\w{4,}/gi) ?? [\"\"];\n\treturn toSentenceCase(words.filter((word) => !invalidDefaultNames.includes(word.toLowerCase())).pop() || \"\");\n};\n\nexport const generateDefaultConfig = (appConfig: { name?: string; url?: string; path?: string; appType?: string }) => {\n\tconst displayName = appConfig.name || getDefaultName(appConfig.url || appConfig.path || \"\") || \"\";\n\tconst windowURL = appConfig.url || \"\";\n\tconst nativePath = appConfig.path || \"\";\n\tconst currentAppType = appConfig.appType ? appConfig.appType : \"web\";\n\treturn {\n\t\tdisplayName,\n\t\twindowURL,\n\t\tnativePath,\n\t\tcurrentAppType,\n\t};\n};\n\nexport const waitTick = () =>\n\tnew Promise<void>((resolve) => {\n\t\tsetTimeout(() => {\n\t\t\tresolve();\n\t\t}, 0);\n\t});\n\nexport const waitTime = (ms: number) =>\n\tnew Promise<void>((resolve) => {\n\t\tsetTimeout(() => {\n\t\t\tresolve();\n\t\t}, ms);\n\t});\n"]}
|
|
@@ -4,8 +4,10 @@ import "../../../assets/css/finsemble.css";
|
|
|
4
4
|
import "../../common/css/styles.css";
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: ({ startingDisplayName,
|
|
7
|
+
component: ({ startingDisplayName, startingAppType, startingWindowURL, startingNativePath, appData, validateURL, removeApplicationFn, cancelFn, submitFn, addApp, isInboundInteropAuthorized, isOutboundInteropAuthorized, }: AppEditPageProps) => JSX.Element;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
10
10
|
export declare const Page: import("@storybook/react").Story<AppEditPageProps>;
|
|
11
|
+
export declare const PageWithIconURL: import("@storybook/react").Story<AppEditPageProps>;
|
|
12
|
+
export declare const NativePage: import("@storybook/react").Story<AppEditPageProps>;
|
|
11
13
|
export declare const EmptyPage: import("@storybook/react").Story<AppEditPageProps>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AppEditPage } from "../AppEditPage";
|
|
1
|
+
import { AppEditPage, defaultAppData } from "../AppEditPage";
|
|
2
2
|
import "../../../assets/css/finsemble.css";
|
|
3
3
|
import "../../common/css/styles.css";
|
|
4
4
|
import { createStory } from "../../common/helpers";
|
|
5
|
+
import { action } from "@storybook/addon-actions";
|
|
5
6
|
export default {
|
|
6
7
|
title: "Smart Desktop Designer/AppEditPage",
|
|
7
8
|
component: AppEditPage,
|
|
@@ -12,44 +13,22 @@ const resolvePromiseAsTrue = () => new Promise((resolve) => {
|
|
|
12
13
|
const resolvePromiseErrorNull = () => new Promise((resolve) => {
|
|
13
14
|
resolve({ err: null });
|
|
14
15
|
});
|
|
15
|
-
|
|
16
|
-
isEditMode: true,
|
|
17
|
-
startingWidth: 1280,
|
|
18
|
-
startingHeight: 600,
|
|
16
|
+
const defaultProps = {
|
|
19
17
|
startingDisplayName: "Test",
|
|
20
|
-
isSetupWizard: false,
|
|
21
18
|
startingAppType: "web",
|
|
22
19
|
startingWindowURL: "http://www.google.com",
|
|
23
20
|
startingNativePath: "",
|
|
24
|
-
|
|
25
|
-
startingRules: [],
|
|
21
|
+
appData: defaultAppData,
|
|
26
22
|
validateURL: () => true,
|
|
27
|
-
removeApplicationFn: ()
|
|
28
|
-
cancelFn: ()
|
|
29
|
-
submitFn: ()
|
|
23
|
+
removeApplicationFn: action("Remove application"),
|
|
24
|
+
cancelFn: action("Cancel"),
|
|
25
|
+
submitFn: action("Submit"),
|
|
30
26
|
isInboundInteropAuthorized: resolvePromiseAsTrue,
|
|
31
27
|
isOutboundInteropAuthorized: resolvePromiseAsTrue,
|
|
32
28
|
addApp: resolvePromiseErrorNull,
|
|
33
|
-
}
|
|
34
|
-
export const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
startingDisplayName: "",
|
|
39
|
-
isSetupWizard: true,
|
|
40
|
-
startingAppType: "web",
|
|
41
|
-
startingWindowURL: "",
|
|
42
|
-
startingNativePath: "",
|
|
43
|
-
startingDescription: "",
|
|
44
|
-
startingRules: [],
|
|
45
|
-
validateURL: (s) => !s.includes("invalid"),
|
|
46
|
-
removeApplicationFn: () => { },
|
|
47
|
-
cancelFn: () => { },
|
|
48
|
-
submitFn: (data) => {
|
|
49
|
-
console.log(data);
|
|
50
|
-
},
|
|
51
|
-
isInboundInteropAuthorized: resolvePromiseAsTrue,
|
|
52
|
-
isOutboundInteropAuthorized: resolvePromiseAsTrue,
|
|
53
|
-
addApp: resolvePromiseErrorNull,
|
|
54
|
-
});
|
|
29
|
+
};
|
|
30
|
+
export const Page = createStory(AppEditPage, defaultProps);
|
|
31
|
+
export const PageWithIconURL = createStory(AppEditPage, Object.assign(Object.assign({}, defaultProps), { appData: Object.assign(Object.assign({}, defaultAppData), { iconURL: "https://assets.finsemble.com/components/fdc3-workbench/fdc3-icon-256.png" }) }));
|
|
32
|
+
export const NativePage = createStory(AppEditPage, Object.assign(Object.assign({}, defaultProps), { startingAppType: "native", startingNativePath: "test.exe", appData: defaultAppData }));
|
|
33
|
+
export const EmptyPage = createStory(AppEditPage, Object.assign(Object.assign({}, defaultProps), { startingDisplayName: "", startingWindowURL: "", validateURL: (s) => !s.includes("invalid") }));
|
|
55
34
|
//# sourceMappingURL=AppEditPage.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppEditPage.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/AppEditPage.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AAC/
|
|
1
|
+
{"version":3,"file":"AppEditPage.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/AppEditPage.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAoB,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACd,KAAK,EAAE,oCAAoC;IAC3C,SAAS,EAAE,WAAW;CACtB,CAAC;AAEF,MAAM,oBAAoB,GAAG,GAAkB,EAAE,CAChD,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC,IAAI,CAAC,CAAC;AACf,CAAC,CAAC,CAAC;AAEJ,MAAM,uBAAuB,GAAG,GAA2B,EAAE,CAC5D,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACvB,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AACxB,CAAC,CAAC,CAAC;AAEJ,MAAM,YAAY,GAAG;IACpB,mBAAmB,EAAE,MAAM;IAC3B,eAAe,EAAE,KAAK;IACtB,iBAAiB,EAAE,uBAAuB;IAC1C,kBAAkB,EAAE,EAAE;IACtB,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI;IACvB,mBAAmB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IACjD,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC1B,0BAA0B,EAAE,oBAAoB;IAChD,2BAA2B,EAAE,oBAAoB;IACjD,MAAM,EAAE,uBAAuB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAmB,WAAW,EAAE,YAAY,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAmB,WAAW,kCACpE,YAAY,KACf,OAAO,kCACH,cAAc,KACjB,OAAO,EAAE,0EAA0E,OAEnF,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAAmB,WAAW,kCAC/D,YAAY,KACf,eAAe,EAAE,QAAQ,EACzB,kBAAkB,EAAE,UAAU,EAC9B,OAAO,EAAE,cAAc,IACtB,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAmB,WAAW,kCAC9D,YAAY,KACf,mBAAmB,EAAE,EAAE,EACvB,iBAAiB,EAAE,EAAE,EACrB,WAAW,EAAE,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IACjD,CAAC","sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport React from \"react\"; // This must be imported, or storybook will choke on this page\nimport { AppEditPage, AppEditPageProps, defaultAppData } from \"../AppEditPage\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { createStory } from \"../../common/helpers\";\nimport { action } from \"@storybook/addon-actions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/AppEditPage\",\n\tcomponent: AppEditPage,\n};\n\nconst resolvePromiseAsTrue = (): Promise<true> =>\n\tnew Promise((resolve) => {\n\t\tresolve(true);\n\t});\n\nconst resolvePromiseErrorNull = (): Promise<{ err: null }> =>\n\tnew Promise((resolve) => {\n\t\tresolve({ err: null });\n\t});\n\nconst defaultProps = {\n\tstartingDisplayName: \"Test\",\n\tstartingAppType: \"web\",\n\tstartingWindowURL: \"http://www.google.com\",\n\tstartingNativePath: \"\",\n\tappData: defaultAppData,\n\tvalidateURL: () => true,\n\tremoveApplicationFn: action(\"Remove application\"),\n\tcancelFn: action(\"Cancel\"),\n\tsubmitFn: action(\"Submit\"),\n\tisInboundInteropAuthorized: resolvePromiseAsTrue,\n\tisOutboundInteropAuthorized: resolvePromiseAsTrue,\n\taddApp: resolvePromiseErrorNull,\n};\n\nexport const Page = createStory<AppEditPageProps>(AppEditPage, defaultProps);\n\nexport const PageWithIconURL = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tappData: {\n\t\t...defaultAppData,\n\t\ticonURL: \"https://assets.finsemble.com/components/fdc3-workbench/fdc3-icon-256.png\",\n\t},\n});\n\nexport const NativePage = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tstartingAppType: \"native\",\n\tstartingNativePath: \"test.exe\",\n\tappData: defaultAppData,\n});\n\nexport const EmptyPage = createStory<AppEditPageProps>(AppEditPage, {\n\t...defaultProps,\n\tstartingDisplayName: \"\",\n\tstartingWindowURL: \"\",\n\tvalidateURL: (s: string) => !s.includes(\"invalid\"),\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Appearance.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Appearance.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAC5D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAe;IACd,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAkB,UAAU,EAAE;IAC5D,UAAU,EAAE,SAAS;IACrB,SAAS;IACT,UAAU;IACV,YAAY,EAAE,GAAG,EAAE;IAEnB,CAAC;IACD,UAAU,EAAE,CAAC,EAAc,EAAE,EAAE;QAC9B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,gBAAgB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC1B,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC3B,oBAAoB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC9B,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC;IACzB,kBAAkB,EAAE,cAAc;IAClC,iBAAiB,EAAE,cAAc;IACjC,iBAAiB,EAAE,cAAc;IACjC,oBAAoB,EAAE,cAAc;IACpC,mBAAmB,EAAE,cAAc;CACnC,CAAC,CAAC","sourcesContent":["import { createStory, uploadFunction } from \"../../common/helpers\";\
|
|
1
|
+
{"version":3,"file":"Appearance.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/Appearance.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAC5D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAe;IACd,KAAK,EAAE,mCAAmC;IAC1C,SAAS,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAkB,UAAU,EAAE;IAC5D,UAAU,EAAE,SAAS;IACrB,SAAS;IACT,UAAU;IACV,YAAY,EAAE,GAAG,EAAE;IAEnB,CAAC;IACD,UAAU,EAAE,CAAC,EAAc,EAAE,EAAE;QAC9B,EAAE,EAAE,CAAC;IACN,CAAC;IACD,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;IACxB,gBAAgB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC1B,iBAAiB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC3B,oBAAoB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC9B,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC;IACzB,kBAAkB,EAAE,cAAc;IAClC,iBAAiB,EAAE,cAAc;IACjC,iBAAiB,EAAE,cAAc;IACjC,oBAAoB,EAAE,cAAc;IACpC,mBAAmB,EAAE,cAAc;CACnC,CAAC,CAAC","sourcesContent":["import { createStory, uploadFunction } from \"../../common/helpers\";\nimport { Appearance, AppearanceProps } from \"../Appearance\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../../common/css/styles.css\";\nimport { darkTheme, lightTheme } from \"../themeDefinitions\";\n\nexport default {\n\ttitle: \"Smart Desktop Designer/Appearance\",\n\tcomponent: Appearance,\n};\n\nexport const Page = createStory<AppearanceProps>(Appearance, {\n\tstartTheme: darkTheme,\n\tdarkTheme,\n\tlightTheme,\n\tupdateThemes: () => {\n\t\t// console.log(`ID: ${id}, Theme: ${newValue}`);\n\t},\n\tareYouSure: (cb: () => void) => {\n\t\tcb();\n\t},\n\tbaseURL: \"\",\n\ttoolbarIcon: \"\",\n\ttaskbarIcon: \"\",\n\tinstallerIcon: \"\",\n\tsystemTrayIcon: \"\",\n\tsplashScreenImage: \"\",\n\tsetToolbarIcon: () => {},\n\tsetTaskbarIcon: () => {},\n\tsetInstallerIcon: () => {},\n\tsetSystemTrayIcon: () => {},\n\tsetSplashScreenImage: () => {},\n\tsetIconsChanged: () => {},\n\tupdateSplashScreen: uploadFunction,\n\tupdateToolbarIcon: uploadFunction,\n\tupdateTaskbarIcon: uploadFunction,\n\tupdateSystemTrayIcon: uploadFunction,\n\tupdateInstallerIcon: uploadFunction,\n});\n"]}
|