@finsemble/finsemble-ui 6.4.0-beta.1 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/package.json +20 -19
- 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 +6 -2
- package/react/actions/smartDesktopDesignerActions.js +2 -0
- 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 -538
- 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 -7
- 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/code-block.svg +15 -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 -12
- 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.d.ts +1 -1
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +2 -2
- 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.js +1 -1
- package/react/components/common/Accordion.js.map +1 -1
- 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.js +1 -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 +3 -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 +15 -1
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleSelect.js +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 +3 -1
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/ImagePreview.js.map +1 -1
- package/react/components/common/InputTable.js.map +1 -1
- package/react/components/common/LoadingSpinner.js.map +1 -1
- package/react/components/common/Tab.js.map +1 -1
- package/react/components/common/Tooltip.js +3 -1
- package/react/components/common/Tooltip.js.map +1 -1
- package/react/components/common/css/accordion.css +99 -89
- package/react/components/common/css/application-edit-page.css +324 -223
- package/react/components/common/css/application-list.css +53 -47
- package/react/components/common/css/button.css +166 -166
- package/react/components/common/css/checkbox.css +30 -31
- 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 -32
- 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/preload-edit-page.css +37 -0
- 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.js.map +1 -1
- 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.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.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.js.map +1 -1
- 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/common/tests/Accordion.spec.js.map +1 -1
- package/react/components/common/tests/ButtonRow.spec.js.map +1 -1
- 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/common/tests/InputTable.spec.js.map +1 -1
- 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.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
- 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.d.ts +2 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +8 -6
- 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.d.ts +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 +3 -2
- 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 +118 -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.map +1 -1
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
- 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.d.ts +1 -1
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +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.d.ts +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +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.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +1 -1
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +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.d.ts +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 +4 -3
- 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 +4 -3
- 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.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 +2 -2
- package/react/components/smartDesktopDesigner/AddApp.js +28 -17
- package/react/components/smartDesktopDesigner/AddApp.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditPage.d.ts +2 -2
- package/react/components/smartDesktopDesigner/AppEditPage.js +311 -242
- package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Appearance.css +35 -28
- 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 +10 -3
- package/react/components/smartDesktopDesigner/Application.js +37 -44
- package/react/components/smartDesktopDesigner/Application.js.map +1 -1
- package/react/components/smartDesktopDesigner/Applications.d.ts +2 -0
- package/react/components/smartDesktopDesigner/Applications.js +29 -20
- 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 +1 -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.map +1 -1
- package/react/components/smartDesktopDesigner/EditPreload.d.ts +14 -0
- package/react/components/smartDesktopDesigner/EditPreload.js +169 -0
- package/react/components/smartDesktopDesigner/EditPreload.js.map +1 -0
- package/react/components/smartDesktopDesigner/Export.js +5 -5
- 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 -4
- 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 -22
- package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
- package/react/components/smartDesktopDesigner/ItemList.d.ts +17 -0
- package/react/components/smartDesktopDesigner/ItemList.js +58 -0
- package/react/components/smartDesktopDesigner/ItemList.js.map +1 -0
- package/react/components/smartDesktopDesigner/Navigation.js.map +1 -1
- package/react/components/smartDesktopDesigner/OptionalSettingsView.d.ts +11 -0
- package/react/components/smartDesktopDesigner/OptionalSettingsView.js +71 -0
- package/react/components/smartDesktopDesigner/OptionalSettingsView.js.map +1 -0
- package/react/components/smartDesktopDesigner/Preloads.d.ts +8 -0
- package/react/components/smartDesktopDesigner/Preloads.js +26 -0
- package/react/components/smartDesktopDesigner/Preloads.js.map +1 -0
- 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 +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +34 -3
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
- package/react/components/smartDesktopDesigner/ThemePage.css +109 -109
- 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.js +16 -18
- package/react/components/smartDesktopDesigner/Toolbar.js.map +1 -1
- 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.js +27 -3
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/css/appearance.css +21 -18
- package/react/components/smartDesktopDesigner/css/applications.css +167 -167
- package/react/components/smartDesktopDesigner/css/authentication.css +119 -130
- package/react/components/smartDesktopDesigner/css/buttons.css +12 -12
- package/react/components/smartDesktopDesigner/css/export.css +176 -167
- package/react/components/smartDesktopDesigner/css/getting-started.css +28 -8
- package/react/components/smartDesktopDesigner/css/nav.css +120 -109
- 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 -17
- package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +1 -1
- package/react/components/smartDesktopDesigner/fixtures/apps.js +23 -1
- 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.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/preloads.d.ts +22 -0
- package/react/components/smartDesktopDesigner/fixtures/preloads.js +40 -0
- package/react/components/smartDesktopDesigner/fixtures/preloads.js.map +1 -0
- package/react/components/smartDesktopDesigner/fixtures/projectErrorsProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.d.ts +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.js +14 -6
- package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +2 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +2 -0
- 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/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/EditPreload.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/EditPreload.stories.js +35 -0
- package/react/components/smartDesktopDesigner/stories/EditPreload.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/ItemList.stories.d.ts +16 -0
- package/react/components/smartDesktopDesigner/stories/{ApplicationList.stories.js → ItemList.stories.js} +30 -23
- package/react/components/smartDesktopDesigner/stories/ItemList.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/Navigation.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.js +28 -0
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.js +31 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.js.map +1 -0
- 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.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +1100 -311
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/{ApplicationList.spec.d.ts → Application.spec.d.ts} +0 -0
- package/react/components/smartDesktopDesigner/tests/Application.spec.js +1496 -0
- package/react/components/smartDesktopDesigner/tests/Application.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Applications.spec.d.ts +1 -1
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js +94 -7
- 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/ContentHeader.spec.d.ts +1 -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/EditPreload.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/EditPreload.spec.js +61 -0
- package/react/components/smartDesktopDesigner/tests/EditPreload.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Export.spec.js +95 -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/ItemList.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/{ApplicationList.spec.js → ItemList.spec.js} +8 -8
- package/react/components/smartDesktopDesigner/tests/ItemList.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Navigation.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.js +47 -0
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +1 -1
- 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 +7 -30
- 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 -1
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js +5 -6
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/a11y_helper.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js +1 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +1 -1
- 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/DragHandle.spec.d.ts +1 -0
- package/react/components/toolbar/DragHandle.spec.js +31 -0
- package/react/components/toolbar/DragHandle.spec.js.map +1 -0
- package/react/components/toolbar/DragHandle.stories.d.ts +13 -0
- package/react/components/toolbar/DragHandle.stories.js +39 -0
- package/react/components/toolbar/DragHandle.stories.js.map +1 -0
- 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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +2 -2
- 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.d.ts +2 -2
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +3 -2
- 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 +9 -12
- 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 +2 -2
- 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 +4 -4
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +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.d.ts +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +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.d.ts +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.d.ts +4 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.js +60 -59
- 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 +2 -3
- package/react/components/windowTitleBar/components/center/TabList.js +19 -82
- 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 +8 -2
- 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 +9 -6
- package/react/components/windowTitleBar/components/windowTitle.js +154 -45
- 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.d.ts +3 -3
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +213 -217
- 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.map +1 -1
- package/react/hooks/index.js.map +1 -1
- package/react/hooks/useAuth.js.map +1 -1
- package/react/hooks/useDashbar.js.map +1 -1
- 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.d.ts +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.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 +11 -3
- package/react/reducers/rootReducer.js.map +1 -1
- package/react/reducers/searchReducer.js.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.js +8 -0
- 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 +22 -6
- 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 +2 -2
- 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.d.ts +1 -8
- package/react/types/searchTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +8 -2
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +4 -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/ApplicationList.d.ts +0 -15
- package/react/components/smartDesktopDesigner/ApplicationList.js +0 -56
- package/react/components/smartDesktopDesigner/ApplicationList.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +0 -15
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Application.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Application.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAEN,gCAAgC,EAChC,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,GAClB,MAAM,gBAAgB,CAAC;AAGxB,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IACjD,EAAE,CAAC,0BAA0B,EAAE,GAAG,EAAE;QACnC,MAAM,SAAS,GAAG;YACjB,QAAQ,EAAE;gBACT,MAAM,EAAE;oBACP,QAAQ,EAAE,SAAS;oBACnB,GAAG,EAAE,GAAG;oBACR,IAAI,EAAE,GAAG;iBACT;aACD;SACgB,CAAC;QAEnB,MAAM,CAAC,gCAAgC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACvC,MAAM,SAAS,GAAG;YACjB,QAAQ,EAAE;gBACT,MAAM,EAAE;oBACP,QAAQ,EAAE,SAAS;oBACnB,MAAM,EAAE,GAAG;oBACX,KAAK,EAAE,GAAG;iBACV;aACD;SACgB,CAAC;QAEnB,MAAM,CAAC,gCAAgC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACtC,MAAM,SAAS,GAAG;YACjB,QAAQ,EA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AAW,EAAE,IAAI;wBACjB,WAAW,EAAE,IAAI;wBACjB,OAAO,EAAE,CAAC;wBACV,SAAS,EAAE,IAAI;wBACf,cAAc,EAAE,SAAS;wBACzB,kBAAkB,EAAE,EAAE;qBACtB;oBACD,IAAI,EAAE,EAAE;oBACR,KAAK,EAAE,EAAE;oBACT,UAAU,EAAE,cAAc;iBAC1B;aACD;YACD,YAAY,EAAE,WAAW;YACzB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,GAAG;SACZ,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import { expect } from \"chai\";\nimport {\n\tAppDefinition,\n\tgenAbstractPositionFromAppConfig,\n\tgenWindowParamsFromAbstractPosition,\n\tappConfigToAppData,\n\tappDataToAppConfig,\n} from \"../Application\";\nimport * as Types from \"../../../types/smartDesktopDesignerTypes\";\n\ndescribe(\"genAbstractPositionFromAppConfig\", () => {\n\tit(\"should identify top left\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\tposition: \"monitor\",\n\t\t\t\t\ttop: \"0\",\n\t\t\t\t\tleft: \"0\",\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(1);\n\t});\n\tit(\"should identify bottom right\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\tposition: \"monitor\",\n\t\t\t\t\tbottom: \"0\",\n\t\t\t\t\tright: \"0\",\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(9);\n\t});\n\tit(\"should identify dead center\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\tposition: \"monitor\",\n\t\t\t\t\ttop: \"center\",\n\t\t\t\t\tleft: \"center\",\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(5);\n\t});\n\tit(\"should identify default if no position is defined\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\ttop: \"0\",\n\t\t\t\t\tleft: \"0\",\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(0);\n\t});\n\tit(\"should identify default if no manifest assigned\", () => {\n\t\tconst appConfig = {} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(0);\n\t});\n\tit(\"should identify default if no window assigned\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(0);\n\t});\n\tit(\"should return -1 if invalid value combination\", () => {\n\t\tconst appConfig = {\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\tposition: \"monitor\",\n\t\t\t\t\ttop: \"0\",\n\t\t\t\t\tbottom: \"0\",\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\n\t\texpect(genAbstractPositionFromAppConfig(appConfig)).to.equal(-1);\n\t});\n});\n\ndescribe(\"genWindowParamsFromAbstractPosition\", () => {\n\tit(\"should handle default\", () => {\n\t\texpect(genWindowParamsFromAbstractPosition(1)).to.deep.equal({\n\t\t\tposition: \"monitor\",\n\t\t\ttop: \"0\",\n\t\t\tleft: \"0\",\n\t\t});\n\t});\n\tit(\"should handle top left\", () => {\n\t\texpect(genWindowParamsFromAbstractPosition(1)).to.deep.equal({\n\t\t\tposition: \"monitor\",\n\t\t\ttop: \"0\",\n\t\t\tleft: \"0\",\n\t\t});\n\t});\n\tit(\"should handle dead center\", () => {\n\t\texpect(genWindowParamsFromAbstractPosition(5)).to.deep.equal({\n\t\t\tposition: \"monitor\",\n\t\t\ttop: \"center\",\n\t\t\tleft: \"center\",\n\t\t});\n\t});\n\tit(\"should handle bottom right\", () => {\n\t\texpect(genWindowParamsFromAbstractPosition(9)).to.deep.equal({\n\t\t\tposition: \"monitor\",\n\t\t\tbottom: \"0\",\n\t\t\tright: \"0\",\n\t\t});\n\t});\n});\n\ndescribe(\"appConfigToAppData\", () => {\n\tit(\"kitchen sink\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tdescription: \"test\",\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tdisplayName: \"Test displayName\",\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [\"zoom\"],\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"\",\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\twindowType: \"application\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tFSBLHeader: false, // true, false, object\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tintents: [],\n\t\t\t},\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tpreloads: [\"zoom\"],\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t});\n\t});\n\tit(\"defaults: FDC3 Workbench\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"FDC3 workbench\",\n\t\t\tname: \"FDC3 workbench\",\n\t\t\tdescription: \"Development and test tool for FDC3 desktop agents and apps\",\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"http://fdc3.finos.org/toolbox/fdc3-workbench\",\n\t\t\t\t\twidth: 800,\n\t\t\t\t\theight: 750,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\tminWidth: 75,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": { launchableByUser: true },\n\t\t\t\t\t\tToolbar: { iconURL: \"http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png\" },\n\t\t\t\t\t\t\"Window Manager\": { FSBLHeader: true, persistWindowState: true },\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {},\n\t\t\t},\n\t\t\tversion: \"1.0.0\",\n\t\t\ttooltip: \"FDC3 Workbench\",\n\t\t\timages: [\n\t\t\t\t{\n\t\t\t\t\turl: \"http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png\",\n\t\t\t\t\ttooltip: \"FDC3 logo\",\n\t\t\t\t},\n\t\t\t],\n\t\t\ttags: [\"fdc3\", \"interop\", \"interoperabilty\", \"developer tool\"],\n\t\t\tcontactEmail: \"info@cosaic.io\",\n\t\t\tsupportEmail: \"support@finsemble.com\",\n\t\t\tpublisher: \"Cosaic\",\n\t\t\ticons: [\n\t\t\t\t{\n\t\t\t\t\turl: \"http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: false,\n\t\t\tappArguments: undefined,\n\t\t\tappType: undefined,\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"Development and test tool for FDC3 desktop agents and apps\",\n\t\t\tenableAOT: false,\n\t\t\tenableTitleBar: true,\n\t\t\theight: 750,\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: false,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"FDC3 workbench\",\n\t\t\tnative_windowSpawnTimeout: 30,\n\t\t\topacity: 1,\n\t\t\tpath: undefined,\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: false,\n\t\t\tresizable: true,\n\t\t\trules: undefined,\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: false,\n\t\t\tspawnOnStartup: false,\n\t\t\tpreloads: [],\n\t\t\turl: \"http://fdc3.finos.org/toolbox/fdc3-workbench\",\n\t\t\twidth: 800,\n\t\t});\n\t});\n\tit(\"defaults: ChartIQ\", () => {\n\t\tconst appConfig = {\n\t\t\tname: \"ChartIQ Example App\",\n\t\t\tappId: \"ChartIQ Example App\",\n\t\t\tdescription: \"Visualize market data in the leading FDC3 compliant technical chart.\",\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"https://assets.finsemble.com/components/chart/technical-analysis-chart.html\",\n\t\t\t\t\twidth: 800,\n\t\t\t\t\theight: 600,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\tminWidth: 75,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonClass: \"ff-chart-advanced\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tselectConnect: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcontextType: \"layout\",\n\t\t\t\t\t\t\tfwd: \"#Workspace\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcontextType: \"fdc3.instrument\",\n\t\t\t\t\t\t\tcc: \"#Workspace\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t},\n\t\t\tversion: \"1.0.0\",\n\t\t\ttooltip: \"ChartIQ Technical Chart\",\n\t\t\timages: [\n\t\t\t\t{\n\t\t\t\t\turl: \"https://i.imgur.com/10C3LdH.png\",\n\t\t\t\t\ttooltip: \"ChartIQ FDC3 compatible chart\",\n\t\t\t\t},\n\t\t\t],\n\t\t\ttags: [\"charts\", \"market data\", \"visualization\", \"graphics\", \"fdc3\"],\n\t\t\tcontactEmail: \"info@cosaic.io\",\n\t\t\tsupportEmail: \"support@finsemble.com\",\n\t\t\tpublisher: \"Cosaic\",\n\t\t\ticons: [\n\t\t\t\t{\n\t\t\t\t\turl: \"https://i.imgur.com/mpBdiHd.png\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tintents: [\n\t\t\t\t{\n\t\t\t\t\tname: \"ViewChart\",\n\t\t\t\t\tdisplayName: \"View Chart\",\n\t\t\t\t\tcontexts: [\"fdc3.instrument\"],\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: false,\n\t\t\tappArguments: undefined,\n\t\t\tappType: undefined,\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"Visualize market data in the leading FDC3 compliant technical chart.\",\n\t\t\tenableAOT: false,\n\t\t\tenableTitleBar: true,\n\t\t\theight: 600,\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: undefined,\n\t\t\tintents: [\n\t\t\t\t{\n\t\t\t\t\tcontexts: [\"fdc3.instrument\"],\n\t\t\t\t\tdisplayName: \"View Chart\",\n\t\t\t\t\tname: \"ViewChart\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tisEvergreen: false,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"ChartIQ Example App\",\n\t\t\tnative_windowSpawnTimeout: 30,\n\t\t\topacity: 1,\n\t\t\tpath: undefined,\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: false,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [\n\t\t\t\t{\n\t\t\t\t\tcontextType: \"layout\",\n\t\t\t\t\tfwd: \"#Workspace\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcc: \"#Workspace\",\n\t\t\t\t\tcontextType: \"fdc3.instrument\",\n\t\t\t\t},\n\t\t\t],\n\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: false,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"https://assets.finsemble.com/components/chart/technical-analysis-chart.html\",\n\t\t\twidth: 800,\n\t\t});\n\t});\n\tit(\"defaults: Grid\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"AG-Grid Example Blotter\",\n\t\t\tname: \"AG-Grid Example Blotter\",\n\t\t\tdescription: \"Organize data with FDC3 compliant blotters built on AG Grid\",\n\t\t\tmanifest: {\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"https://assets.finsemble.com/components/ag-grid/index.html\",\n\t\t\t\t\twidth: 1000,\n\t\t\t\t\theight: 600,\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"https://assets.finsemble.com/components/ag-grid/ag-grid-logo.png\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tselectConnect: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tcontextType: \"fdc3.instrument\",\n\t\t\t\t\t\t\tcc: \"#Workspace\",\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t},\n\t\t\tversion: \"1.0.0\",\n\t\t\ttooltip: \"AG Grid FDC3 compatible blotter\",\n\t\t\ttags: [\"grid\", \"ag-grid\", \"blotter\", \"fdc3\"],\n\t\t\tcontactEmail: \"info@cosaic.io\",\n\t\t\tsupportEmail: \"support@finsemble.com\",\n\t\t\tpublisher: \"Cosaic\",\n\t\t\ticons: [\n\t\t\t\t{\n\t\t\t\t\turl: \"https://assets.finsemble.com/components/ag-grid/ag-grid-logo.png\",\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: false,\n\t\t\tappArguments: undefined,\n\t\t\tappType: undefined,\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"Organize data with FDC3 compliant blotters built on AG Grid\",\n\t\t\tenableAOT: false,\n\t\t\tenableTitleBar: true,\n\t\t\theight: 600,\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"https://assets.finsemble.com/components/ag-grid/ag-grid-logo.png\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: false,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"AG-Grid Example Blotter\",\n\t\t\tnative_windowSpawnTimeout: 30,\n\t\t\topacity: 1,\n\t\t\tpath: undefined,\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: false,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [\n\t\t\t\t{\n\t\t\t\t\tcc: \"#Workspace\",\n\t\t\t\t\tcontextType: \"fdc3.instrument\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: false,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"https://assets.finsemble.com/components/ag-grid/index.html\",\n\t\t\twidth: 1000,\n\t\t});\n\t});\n\tit(\"with no manifest\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tdescription: \"test\",\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: false,\n\t\t\tappArguments: undefined,\n\t\t\tappType: undefined,\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: false,\n\t\t\tenableTitleBar: true,\n\t\t\theight: undefined,\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: undefined,\n\t\t\tintents: [],\n\t\t\tisEvergreen: false,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 30,\n\t\t\topacity: 1,\n\t\t\tpath: undefined,\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: false,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: undefined,\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: false,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: undefined,\n\t\t\twidth: undefined,\n\t\t});\n\t});\n\tit(\"with no manifest.window\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tdescription: \"test\",\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tdisplayName: \"Test displayName\",\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tFSBLHeader: false, // true, false, object\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tintents: [],\n\t\t\t},\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: false,\n\t\t\tappArguments: undefined,\n\t\t\tappType: undefined,\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: undefined,\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: false,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 30,\n\t\t\topacity: 1,\n\t\t\tpath: undefined,\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: true,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: undefined,\n\t\t\twidth: undefined,\n\t\t});\n\t});\n\tit(\"with no description\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tdisplayName: \"Test displayName\",\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"\",\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\twindowType: \"application\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tFSBLHeader: false, // true, false, object\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tintents: [],\n\t\t\t},\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t});\n\t});\n\tit(\"with no intents\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tdescription: \"test\",\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tdisplayName: \"Test displayName\",\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"\",\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\twindowType: \"application\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tFSBLHeader: false, // true, false, object\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: true,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t});\n\t});\n\tit(\"with undefined addToWorkspace/allow/enable\", () => {\n\t\tconst appConfig = {\n\t\t\tappId: \"test ID\",\n\t\t\tname: \"test\",\n\t\t\tdescription: \"test\",\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tdisplayName: \"Test displayName\",\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\turl: \"\",\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\twindowType: \"application\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tFSBLHeader: false, // true, false, object\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\twindowService: {},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tintents: [],\n\t\t\t},\n\t\t} as AppDefinition;\n\t\texpect(appConfigToAppData(appConfig)).to.deep.equal({\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistPath: false,\n\t\t\tpersistURL: true,\n\t\t\tpreloads: [],\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t});\n\t});\n});\n\ndescribe(\"appDataToAppConfig\", () => {\n\tconst configTemplate = {\n\t\tappId: \"123\",\n\t\tname: \"\",\n\t\tmanifest: {\n\t\t\twindow: {\n\t\t\t\turl: \"\",\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\"App Launcher\": {\n\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t},\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: \"finsemble\",\n\t\tversion: \"1\",\n\t};\n\tit(\"appType: web\", () => {\n\t\tconst appData = {\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"web\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"http://www.google.com\",\n\t\t\twidth: \"\",\n\t\t\tpreloads: [\"zoom\"],\n\t\t} as Types.ApplicationSaveData;\n\n\t\texpect(appDataToAppConfig(configTemplate, appData, \"123\")).to.deep.equal({\n\t\t\tappId: \"123\",\n\t\t\tdescription: \"test\",\n\t\t\tintents: [],\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [\"zoom\"],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: false,\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistPath: false,\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\theight: \"\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\turl: \"http://www.google.com\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tmanifestType: \"finsemble\",\n\t\t\tname: \"test\",\n\t\t\tversion: \"1\",\n\t\t});\n\t});\n\tit(\"appType: native\", () => {\n\t\tconst appData = {\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"native\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"blah blah blah\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t\tpreloads: [],\n\t\t} as Types.ApplicationSaveData;\n\n\t\texpect(appDataToAppConfig(configTemplate, appData, \"123\")).to.deep.equal({\n\t\t\tappId: \"123\",\n\t\t\tdescription: \"test\",\n\t\t\tintents: [],\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: false,\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistPath: false,\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t\tpath: \"blah blah blah\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\twindowType: \"native\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tmanifestType: \"finsemble\",\n\t\t\tname: \"test\",\n\t\t\tversion: \"1\",\n\t\t});\n\t});\n\tit(\"appType: assimilation + default position + empty icon URL\", () => {\n\t\tconst appData = {\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t\tpreloads: [],\n\t\t} as Types.ApplicationSaveData;\n\n\t\texpect(appDataToAppConfig(configTemplate, appData, \"123\")).to.deep.equal({\n\t\t\tappId: \"123\",\n\t\t\tdescription: \"test\",\n\t\t\tintents: [],\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: false,\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistPath: false,\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\twindowType: \"assimilation\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tmanifestType: \"finsemble\",\n\t\t\tname: \"test\",\n\t\t\tversion: \"1\",\n\t\t});\n\t});\n\tit(\"set abstract position\", () => {\n\t\tconst appData = {\n\t\t\tabstractPosition: 4,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t\tpreloads: [],\n\t\t} as Types.ApplicationSaveData;\n\n\t\texpect(appDataToAppConfig(configTemplate, appData, \"123\")).to.deep.equal({\n\t\t\tappId: \"123\",\n\t\t\tdescription: \"test\",\n\t\t\tintents: [],\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: false,\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistPath: false,\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\tleft: \"0\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\tposition: \"monitor\",\n\t\t\t\t\ttop: \"center\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\twindowType: \"assimilation\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tmanifestType: \"finsemble\",\n\t\t\tname: \"test\",\n\t\t\tversion: \"1\",\n\t\t});\n\t});\n\tit(\"specified iconURL\", () => {\n\t\tconst appData = {\n\t\t\tabstractPosition: 0,\n\t\t\taddToWorkspace: true,\n\t\t\tallowAutoArrange: true,\n\t\t\tallowGrouping: true,\n\t\t\tallowMaximize: true,\n\t\t\tallowMinimize: true,\n\t\t\tallowSnapping: true,\n\t\t\tallowTabbing: true,\n\t\t\tallowTiling: true,\n\t\t\talwaysOnTop: true,\n\t\t\tappArguments: \"\",\n\t\t\tappType: \"application\",\n\t\t\tautoConnect: true,\n\t\t\tdescription: \"test\",\n\t\t\tenableAOT: true,\n\t\t\tenableTitleBar: false,\n\t\t\theight: \"\",\n\t\t\thideClose: false,\n\t\t\thideMaximize: false,\n\t\t\thideMinimize: false,\n\t\t\ticonURL: \"blah blah blah\",\n\t\t\tintents: [],\n\t\t\tisEvergreen: true,\n\t\t\tlaunchableByUser: true,\n\t\t\tname: \"test\",\n\t\t\tnative_windowSpawnTimeout: 60,\n\t\t\topacity: 1,\n\t\t\tpath: \"\",\n\t\t\tpersistURL: true,\n\t\t\tpersistPath: false,\n\t\t\tresizable: true,\n\t\t\trules: [],\n\t\t\tsecurity: \"trusted\",\n\t\t\tsingleton: true,\n\t\t\tspawnOnStartup: false,\n\t\t\turl: \"\",\n\t\t\twidth: \"\",\n\t\t\tpreloads: [],\n\t\t} as Types.ApplicationSaveData;\n\n\t\texpect(appDataToAppConfig(configTemplate, appData, \"123\")).to.deep.equal({\n\t\t\tappId: \"123\",\n\t\t\tdescription: \"test\",\n\t\t\tintents: [],\n\t\t\tmanifest: {\n\t\t\t\tcomponent: {\n\t\t\t\t\tsingleton: true,\n\t\t\t\t\tspawnOnStartup: false,\n\t\t\t\t\tpreload: [],\n\t\t\t\t},\n\t\t\t\tforeign: {\n\t\t\t\t\tcomponents: {\n\t\t\t\t\t\t\"App Launcher\": {\n\t\t\t\t\t\t\tlaunchableByUser: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tToolbar: {\n\t\t\t\t\t\t\ticonURL: \"blah blah blah\",\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Window Manager\": {\n\t\t\t\t\t\t\tFSBLHeader: false,\n\t\t\t\t\t\t\talwaysOnTopIcon: true,\n\t\t\t\t\t\t\tpersistWindowState: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tservices: {\n\t\t\t\t\t\twindowService: {\n\t\t\t\t\t\t\tallowAutoArrange: true,\n\t\t\t\t\t\t\tallowGrouping: true,\n\t\t\t\t\t\t\tallowMaximize: true,\n\t\t\t\t\t\t\tallowMinimize: true,\n\t\t\t\t\t\t\tallowSnapping: true,\n\t\t\t\t\t\t\tallowTabbing: true,\n\t\t\t\t\t\t\tallowTiling: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tworkspace: {\n\t\t\t\t\t\t\tpersistPath: false,\n\t\t\t\t\t\t\tpersistURL: true,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tinterop: {\n\t\t\t\t\tautoConnect: true,\n\t\t\t\t\tselectConnect: [],\n\t\t\t\t},\n\t\t\t\twindow: {\n\t\t\t\t\taddToWorkspace: true,\n\t\t\t\t\targuments: \"\",\n\t\t\t\t\theight: \"\",\n\t\t\t\t\toptions: {\n\t\t\t\t\t\talwaysOnTop: true,\n\t\t\t\t\t\tisEvergreen: true,\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\tresizable: true,\n\t\t\t\t\t\tsecurityPolicy: \"trusted\",\n\t\t\t\t\t\twindowSpawnTimeout: 60,\n\t\t\t\t\t},\n\t\t\t\t\tpath: \"\",\n\t\t\t\t\twidth: \"\",\n\t\t\t\t\twindowType: \"assimilation\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tmanifestType: \"finsemble\",\n\t\t\tname: \"test\",\n\t\t\tversion: \"1\",\n\t\t});\n\t});\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ADD_NEW_APP_BUTTON = ".
|
|
1
|
+
export declare const ADD_NEW_APP_BUTTON = ".icon-before-add button", ACTIVE_TAB_APP_LIST_TABLE_ROW = ".app-list-row", APP_LIST_EMPTY_MESSAGE = ".app-list-empty", PAGE_HEADER = ".view-title .leftSide", PAGE_HEADER_BUTTON = ".view-title .leftSide button", SETUP_WIZARD_BUTTON = ".tile-type-buttons .icon-wizard button", SETUP_MANUAL_BUTTON = ".tile-type-buttons .icon-manual button", APP_ACCESS_RULE = ".app-edit-access-item", APP_ACCESS_BLOCKED = ".app-edit-access-blocked", QUICK_ADD_APP = ".quick-add-app", QUICK_ADD_APP_URL = ".quick-add-app #app-url", QUICK_ADD_APP_BUTTON = ".save-button-container button";
|
|
@@ -6,7 +6,7 @@ import { DefaultApplications, EmptyApplications } from "../stories/Applications.
|
|
|
6
6
|
import { getApplicationsArgs } from "../fixtures/apps";
|
|
7
7
|
import { waitTick } from "../sdd_helpers";
|
|
8
8
|
import { accessibilityAssessor } from "./a11y_helper";
|
|
9
|
-
export const ADD_NEW_APP_BUTTON = ".
|
|
9
|
+
export const ADD_NEW_APP_BUTTON = ".icon-before-add button", ACTIVE_TAB_APP_LIST_TABLE_ROW = ".app-list-row", APP_LIST_EMPTY_MESSAGE = ".app-list-empty", PAGE_HEADER = ".view-title .leftSide", PAGE_HEADER_BUTTON = ".view-title .leftSide button", SETUP_WIZARD_BUTTON = ".tile-type-buttons .icon-wizard button", SETUP_MANUAL_BUTTON = ".tile-type-buttons .icon-manual button", APP_ACCESS_RULE = ".app-edit-access-item", APP_ACCESS_BLOCKED = ".app-edit-access-blocked", QUICK_ADD_APP = ".quick-add-app", QUICK_ADD_APP_URL = ".quick-add-app #app-url", QUICK_ADD_APP_BUTTON = ".save-button-container button";
|
|
10
10
|
describe("<Applications/>", () => {
|
|
11
11
|
it("should pass accessibility scans", async () => {
|
|
12
12
|
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
@@ -44,7 +44,7 @@ describe("<Applications/>", () => {
|
|
|
44
44
|
const app = wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first();
|
|
45
45
|
const appName = app.find(".app-name").text();
|
|
46
46
|
const newName = `${appName} modified`;
|
|
47
|
-
app.simulate("click");
|
|
47
|
+
app.find(".icon-edit button").at(0).simulate("click");
|
|
48
48
|
const input = wrapper.find("input#app-name");
|
|
49
49
|
input.simulate("focus");
|
|
50
50
|
input.simulate("change", { target: { value: newName } });
|
|
@@ -58,20 +58,23 @@ describe("<Applications/>", () => {
|
|
|
58
58
|
await waitTick();
|
|
59
59
|
wrapper.update();
|
|
60
60
|
expect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, "3 apps are listed in the table").to.be.equal(3);
|
|
61
|
-
wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first().simulate("click");
|
|
62
|
-
|
|
61
|
+
wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first().find(".icon-edit button").at(0).simulate("click");
|
|
62
|
+
wrapper.find("input[name='interop-trust'][value='false']").simulate("change");
|
|
63
|
+
expect(wrapper.find(APP_ACCESS_RULE).length, "SelectConnect access rules visible initially").to.equal(2);
|
|
63
64
|
expect(wrapper.find(APP_ACCESS_BLOCKED).length, "Inbound SelectConnect blocked").to.equal(2);
|
|
64
65
|
wrapper.find(".finsembleToggle input").first().simulate("change");
|
|
65
|
-
expect(wrapper.find(".finsembleToggle-on").length, "should be toggled on").to.equal(
|
|
66
|
+
expect(wrapper.find(".finsembleToggle-on").length, "should be toggled on").to.equal(2);
|
|
66
67
|
wrapper.find(".app-edit-actions button").last().simulate("click");
|
|
67
68
|
await waitTick();
|
|
68
69
|
wrapper.update();
|
|
69
|
-
wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).at(1).simulate("click");
|
|
70
|
+
wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).at(1).find(".icon-edit button").at(0).simulate("click");
|
|
70
71
|
await waitTick();
|
|
71
72
|
wrapper.update();
|
|
73
|
+
wrapper.find("input[name='interop-trust'][value='false']").simulate("change");
|
|
72
74
|
expect(wrapper.find(APP_ACCESS_RULE).length, "SelectConnect access rules visible").to.equal(2);
|
|
73
|
-
expect(wrapper.find(APP_ACCESS_BLOCKED).length, "1 of 2 SelectConnect rules are blocked").to.equal(1);
|
|
74
75
|
});
|
|
76
|
+
});
|
|
77
|
+
describe("<Applications/> - Quick Add", () => {
|
|
75
78
|
it("should be able to quick add a web app", async () => {
|
|
76
79
|
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
77
80
|
await waitTick();
|
|
@@ -94,5 +97,89 @@ describe("<Applications/>", () => {
|
|
|
94
97
|
expect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, "App list shows 4 items").to.equal(4);
|
|
95
98
|
expect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).filterWhere((node) => node.text().includes("Facebook")).length, "App list includes 'Facebook'");
|
|
96
99
|
});
|
|
100
|
+
it("if you add a URL, the App name should pre-fill with a generated name", async () => {
|
|
101
|
+
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
102
|
+
await waitTick();
|
|
103
|
+
wrapper.update();
|
|
104
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
105
|
+
await waitTick();
|
|
106
|
+
wrapper.update();
|
|
107
|
+
wrapper.find(QUICK_ADD_APP_URL).simulate("change", {
|
|
108
|
+
target: {
|
|
109
|
+
value: "http://www.google.com",
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
expect(wrapper.find("#app-name").prop("value"), "Pre-filled generated name").to.equal("Google");
|
|
113
|
+
expect(wrapper.find(QUICK_ADD_APP_BUTTON).prop("disabled"), "Save button should be enabled").to.be.false;
|
|
114
|
+
});
|
|
115
|
+
it("if you add a URL without an auto-name, the App name should be empty", async () => {
|
|
116
|
+
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
117
|
+
await waitTick();
|
|
118
|
+
wrapper.update();
|
|
119
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
120
|
+
await waitTick();
|
|
121
|
+
wrapper.update();
|
|
122
|
+
wrapper.find(QUICK_ADD_APP_URL).simulate("change", {
|
|
123
|
+
target: {
|
|
124
|
+
value: "http://www.cnn.com",
|
|
125
|
+
},
|
|
126
|
+
});
|
|
127
|
+
expect(wrapper.find("#app-name").prop("value"), "Pre-filled generated name").to.equal("");
|
|
128
|
+
expect(wrapper.find(QUICK_ADD_APP_BUTTON).prop("disabled"), "Save button should be disabled").to.be.true;
|
|
129
|
+
});
|
|
130
|
+
it("if you add a URL, the path field should be disabled", async () => {
|
|
131
|
+
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
132
|
+
await waitTick();
|
|
133
|
+
wrapper.update();
|
|
134
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
135
|
+
await waitTick();
|
|
136
|
+
wrapper.update();
|
|
137
|
+
wrapper.find(QUICK_ADD_APP_URL).simulate("change", {
|
|
138
|
+
target: {
|
|
139
|
+
value: "http://www.cnn.com",
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
expect(wrapper.find(".file-input-container button").prop("disabled"), "File input disabled").to.be.true;
|
|
143
|
+
});
|
|
144
|
+
it("if you add a URL and then save it, the URL should be cleared on re-open", async () => {
|
|
145
|
+
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
146
|
+
await waitTick();
|
|
147
|
+
wrapper.update();
|
|
148
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
149
|
+
await waitTick();
|
|
150
|
+
wrapper.update();
|
|
151
|
+
wrapper.find(QUICK_ADD_APP_URL).simulate("change", {
|
|
152
|
+
target: {
|
|
153
|
+
value: "http://www.cnn.com",
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
wrapper.find(QUICK_ADD_APP_BUTTON).simulate("click");
|
|
157
|
+
await waitTick();
|
|
158
|
+
wrapper.update();
|
|
159
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
160
|
+
await waitTick();
|
|
161
|
+
wrapper.update();
|
|
162
|
+
expect(wrapper.find(QUICK_ADD_APP_URL).prop("value")).to.be.empty;
|
|
163
|
+
});
|
|
164
|
+
it("if you add a URL and then close quick add, the URL should be cleared on re-open", async () => {
|
|
165
|
+
const wrapper = mount(React.createElement(DefaultApplications, Object.assign({}, getApplicationsArgs("default"))));
|
|
166
|
+
await waitTick();
|
|
167
|
+
wrapper.update();
|
|
168
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
169
|
+
await waitTick();
|
|
170
|
+
wrapper.update();
|
|
171
|
+
wrapper.find(QUICK_ADD_APP_URL).simulate("change", {
|
|
172
|
+
target: {
|
|
173
|
+
value: "http://www.cnn.com",
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
wrapper.find("button[title='Close']").simulate("click");
|
|
177
|
+
await waitTick();
|
|
178
|
+
wrapper.update();
|
|
179
|
+
wrapper.find(ADD_NEW_APP_BUTTON).simulate("click");
|
|
180
|
+
await waitTick();
|
|
181
|
+
wrapper.update();
|
|
182
|
+
expect(wrapper.find(QUICK_ADD_APP_URL).prop("value")).to.be.empty;
|
|
183
|
+
});
|
|
97
184
|
});
|
|
98
185
|
//# sourceMappingURL=Applications.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Applications.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Applications.spec.tsx"],"names":[],"mappings":"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CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\r\nimport { mount } from \"enzyme\";\r\nimport { describe, it } from \"mocha\";\r\nimport { expect } from \"chai\";\r\nimport { DefaultApplications, EmptyApplications, Long } from \"../stories/Applications.stories\";\r\nimport { getApplicationsArgs } from \"../fixtures/apps\";\r\nimport { waitTick } from \"../sdd_helpers\";\r\nimport { accessibilityAssessor } from \"./a11y_helper\";\r\n\r\nexport const ADD_NEW_APP_BUTTON = \".visible .icon-before-add button\",\r\n\tACTIVE_TAB_APP_LIST_TABLE_ROW = \".visible .app-list-row\",\r\n\tAPP_LIST_EMPTY_MESSAGE = \".app-list-empty\",\r\n\tPAGE_HEADER = \".view-title .leftSide\",\r\n\tPAGE_HEADER_BUTTON = \".view-title .leftSide button\",\r\n\tSETUP_WIZARD_BUTTON = \".tile-type-buttons .icon-wizard button\",\r\n\tSETUP_MANUAL_BUTTON = \".tile-type-buttons .icon-manual button\",\r\n\tAPP_ACCESS_RULE = \".app-edit-access-item\",\r\n\tAPP_ACCESS_BLOCKED = \".app-edit-access-blocked\",\r\n\tQUICK_ADD_APP = \".quick-add-app\",\r\n\tQUICK_ADD_APP_URL = \".quick-add-app #app-url\",\r\n\tQUICK_ADD_APP_BUTTON = \".save-button-container button\";\r\n\r\ndescribe(\"<Applications/>\", () => {\r\n\tit(\"should pass accessibility scans\", async () => {\r\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\r\n\t});\r\n\r\n\tit(\"should pass accessibility scans (empty)\", async () => {\r\n\t\tconst wrapper = mount(<EmptyApplications {...getApplicationsArgs(\"empty\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\r\n\t});\r\n\r\n\tit(\"should contain add button app list when not empty\", async () => {\r\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\t// wait for async effects to finish\r\n\r\n\t\twrapper.update();\r\n\r\n\t\texpect(wrapper.find(\".view-content button\").first().text()).to.contain(\"Add\");\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length).to.be.greaterThan(0);\r\n\t\texpect(wrapper.find(APP_LIST_EMPTY_MESSAGE).length).to.equal(0);\r\n\t});\r\n\tit(\"should contain add button and empty message when empty\", async () => {\r\n\t\tconst wrapper = mount(<EmptyApplications {...getApplicationsArgs(\"empty\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\t// wait for async effects to finish\r\n\r\n\t\twrapper.update();\r\n\r\n\t\texpect(wrapper.find(\".view-content button\").first().text()).to.contain(\"Add\");\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length).to.be.equal(0);\r\n\t\texpect(wrapper.find(APP_LIST_EMPTY_MESSAGE).first().text()).to.contain(\"nothing here\");\r\n\t});\r\n\tit(\"should be able to edit a web app\", async () => {\r\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\t// wait for async effects to finish\r\n\r\n\t\twrapper.update();\r\n\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"App list contains items\").to.be.greaterThan(0);\r\n\r\n\t\tconst app = wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first();\r\n\r\n\t\tconst appName = app.find(\".app-name\").text();\r\n\r\n\t\tconst newName = `${appName} modified`;\r\n\r\n\t\tapp.simulate(\"click\");\r\n\r\n\t\tconst input = wrapper.find(\"input#app-name\");\r\n\r\n\t\tinput.simulate(\"focus\");\r\n\t\tinput.simulate(\"change\", { target: { value: newName } });\r\n\r\n\t\twrapper.find(\".app-edit-actions .button-container-secondary button\").simulate(\"click\");\r\n\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\texpect(\r\n\t\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).someWhere((node) => node.find(\".app-name\").text() === newName),\r\n\t\t\t\"App list contains newly renamed name\"\r\n\t\t).to.be.true;\r\n\t});\r\n\tit(\"should be able to grant selectConnect access between two apps\", async () => {\r\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\t// wait for async effects to finish\r\n\r\n\t\twrapper.update();\r\n\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"3 apps are listed in the table\").to.be.equal(3);\r\n\r\n\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first().simulate(\"click\");\r\n\r\n\t\texpect(wrapper.find(APP_ACCESS_RULE).length, \"SelectConnect access rules visible\").to.equal(2);\r\n\r\n\t\texpect(wrapper.find(APP_ACCESS_BLOCKED).length, \"Inbound SelectConnect blocked\").to.equal(2);\r\n\r\n\t\twrapper.find(\".finsembleToggle input\").first().simulate(\"change\");\r\n\r\n\t\texpect(wrapper.find(\".finsembleToggle-on\").length, \"should be toggled on\").to.equal(1);\r\n\r\n\t\twrapper.find(\".app-edit-actions button\").last().simulate(\"click\");\r\n\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).at(1).simulate(\"click\");\r\n\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\texpect(wrapper.find(APP_ACCESS_RULE).length, \"SelectConnect access rules visible\").to.equal(2);\r\n\r\n\t\texpect(wrapper.find(APP_ACCESS_BLOCKED).length, \"1 of 2 SelectConnect rules are blocked\").to.equal(1);\r\n\t});\r\n\tit(\"should be able to quick add a web app\", async () => {\r\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\r\n\r\n\t\tawait waitTick();\r\n\t\t// wait for async effects to finish\r\n\r\n\t\twrapper.update();\r\n\r\n\t\t// Everything starts the way I expect\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"Start out with 3 items in the list\").to.equal(3);\r\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add doesn't display\").to.be.true;\r\n\r\n\t\t// Click the \"Add App\" button\r\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\t// expect quick add to display\r\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add displays\").to.be.false;\r\n\r\n\t\t// in the URL input, add \"http://www.facebook.com\"\r\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\r\n\t\t\ttarget: {\r\n\t\t\t\tvalue: \"http://www.facebook.com\",\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\t// click the Add button\r\n\t\twrapper.find(QUICK_ADD_APP_BUTTON).simulate(\"click\");\r\n\r\n\t\t// wait tick\r\n\t\tawait waitTick();\r\n\t\twrapper.update();\r\n\r\n\t\t// expect updates\r\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add doesn't display\").to.be.true;\r\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"App list shows 4 items\").to.equal(4);\r\n\t\texpect(\r\n\t\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).filterWhere((node: any) => node.text().includes(\"Facebook\")).length,\r\n\t\t\t\"App list includes 'Facebook'\"\r\n\t\t);\r\n\t});\r\n});\r\n"]}
|
|
1
|
+
{"version":3,"file":"Applications.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Applications.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,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,EAAE;QAChG,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,mBAAmB,oBAAK,mBAAmB,CAAC,SAAS,CAAC,EAAI,CAAC,CAAC;QAEnF,MAAM,QAAQ,EAAE,CAAC;QAGjB,OAAO,CAAC,MAAM,EAAE,CAAC;QAGjB,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACnD,MAAM,QAAQ,EAAE,CAAC;QACjB,OAAO,CAAC,MAAM,EAAE,CAAC;QAGjB,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE;YAClD,MAAM,EAAE;gBACP,KAAK,EAAE,oBAAoB;aAC3B;SACD,CAAC,CAAC;QAGH,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAGxD,MAAM,QAAQ,EAAE,CAAC;QACjB,OAAO,CAAC,MAAM,EAAE,CAAC;QAGjB,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACnD,MAAM,QAAQ,EAAE,CAAC;QACjB,OAAO,CAAC,MAAM,EAAE,CAAC;QAEjB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;IACnE,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it } from \"mocha\";\nimport { expect } from \"chai\";\nimport { DefaultApplications, EmptyApplications } from \"../stories/Applications.stories\";\nimport { getApplicationsArgs } from \"../fixtures/apps\";\nimport { waitTick } from \"../sdd_helpers\";\nimport { accessibilityAssessor } from \"./a11y_helper\";\n\nexport const ADD_NEW_APP_BUTTON = \".icon-before-add button\",\n\tACTIVE_TAB_APP_LIST_TABLE_ROW = \".app-list-row\",\n\tAPP_LIST_EMPTY_MESSAGE = \".app-list-empty\",\n\tPAGE_HEADER = \".view-title .leftSide\",\n\tPAGE_HEADER_BUTTON = \".view-title .leftSide button\",\n\tSETUP_WIZARD_BUTTON = \".tile-type-buttons .icon-wizard button\",\n\tSETUP_MANUAL_BUTTON = \".tile-type-buttons .icon-manual button\",\n\tAPP_ACCESS_RULE = \".app-edit-access-item\",\n\tAPP_ACCESS_BLOCKED = \".app-edit-access-blocked\",\n\tQUICK_ADD_APP = \".quick-add-app\",\n\tQUICK_ADD_APP_URL = \".quick-add-app #app-url\",\n\tQUICK_ADD_APP_BUTTON = \".save-button-container button\";\n\ndescribe(\"<Applications/>\", () => {\n\tit(\"should pass accessibility scans\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n\n\tit(\"should pass accessibility scans (empty)\", async () => {\n\t\tconst wrapper = mount(<EmptyApplications {...getApplicationsArgs(\"empty\")} />);\n\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n\n\tit(\"should contain add button app list when not empty\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(\".view-content button\").first().text()).to.contain(\"Add\");\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length).to.be.greaterThan(0);\n\t\texpect(wrapper.find(APP_LIST_EMPTY_MESSAGE).length).to.equal(0);\n\t});\n\tit(\"should contain add button and empty message when empty\", async () => {\n\t\tconst wrapper = mount(<EmptyApplications {...getApplicationsArgs(\"empty\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(\".view-content button\").first().text()).to.contain(\"Add\");\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length).to.be.equal(0);\n\t\texpect(wrapper.find(APP_LIST_EMPTY_MESSAGE).first().text()).to.contain(\"nothing here\");\n\t});\n\tit(\"should be able to edit a web app\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"App list contains items\").to.be.greaterThan(0);\n\n\t\tconst app = wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first();\n\n\t\tconst appName = app.find(\".app-name\").text();\n\n\t\tconst newName = `${appName} modified`;\n\t\tapp.find(\".icon-edit button\").at(0).simulate(\"click\");\n\n\t\tconst input = wrapper.find(\"input#app-name\");\n\n\t\tinput.simulate(\"focus\");\n\t\tinput.simulate(\"change\", { target: { value: newName } });\n\n\t\twrapper.find(\".app-edit-actions .button-container-secondary button\").simulate(\"click\");\n\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\texpect(\n\t\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).someWhere((node) => node.find(\".app-name\").text() === newName),\n\t\t\t\"App list contains newly renamed name\"\n\t\t).to.be.true;\n\t});\n\tit(\"should be able to grant selectConnect access between two apps\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"3 apps are listed in the table\").to.be.equal(3);\n\n\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).first().find(\".icon-edit button\").at(0).simulate(\"click\");\n\n\t\twrapper.find(\"input[name='interop-trust'][value='false']\").simulate(\"change\");\n\n\t\texpect(wrapper.find(APP_ACCESS_RULE).length, \"SelectConnect access rules visible initially\").to.equal(2);\n\n\t\texpect(wrapper.find(APP_ACCESS_BLOCKED).length, \"Inbound SelectConnect blocked\").to.equal(2);\n\n\t\twrapper.find(\".finsembleToggle input\").first().simulate(\"change\");\n\n\t\texpect(wrapper.find(\".finsembleToggle-on\").length, \"should be toggled on\").to.equal(2);\n\n\t\twrapper.find(\".app-edit-actions button\").last().simulate(\"click\");\n\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).at(1).find(\".icon-edit button\").at(0).simulate(\"click\");\n\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\twrapper.find(\"input[name='interop-trust'][value='false']\").simulate(\"change\");\n\t\texpect(wrapper.find(APP_ACCESS_RULE).length, \"SelectConnect access rules visible\").to.equal(2);\n\t});\n});\n\ndescribe(\"<Applications/> - Quick Add\", () => {\n\tit(\"should be able to quick add a web app\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Everything starts the way I expect\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"Start out with 3 items in the list\").to.equal(3);\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add doesn't display\").to.be.true;\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// expect quick add to display\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add displays\").to.be.false;\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.facebook.com\",\n\t\t\t},\n\t\t});\n\n\t\t// click the Add button\n\t\twrapper.find(QUICK_ADD_APP_BUTTON).simulate(\"click\");\n\n\t\t// wait tick\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// expect updates\n\t\texpect(wrapper.find(QUICK_ADD_APP).is(\".collapsed\"), \"Quick Add doesn't display\").to.be.true;\n\t\texpect(wrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).length, \"App list shows 4 items\").to.equal(4);\n\t\texpect(\n\t\t\twrapper.find(ACTIVE_TAB_APP_LIST_TABLE_ROW).filterWhere((node: any) => node.text().includes(\"Facebook\")).length,\n\t\t\t\"App list includes 'Facebook'\"\n\t\t);\n\t});\n\n\tit(\"if you add a URL, the App name should pre-fill with a generated name\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.google.com\",\n\t\t\t},\n\t\t});\n\n\t\texpect(wrapper.find(\"#app-name\").prop(\"value\"), \"Pre-filled generated name\").to.equal(\"Google\");\n\t\texpect(wrapper.find(QUICK_ADD_APP_BUTTON).prop(\"disabled\"), \"Save button should be enabled\").to.be.false;\n\t});\n\n\tit(\"if you add a URL without an auto-name, the App name should be empty\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.cnn.com\",\n\t\t\t},\n\t\t});\n\n\t\texpect(wrapper.find(\"#app-name\").prop(\"value\"), \"Pre-filled generated name\").to.equal(\"\");\n\t\texpect(wrapper.find(QUICK_ADD_APP_BUTTON).prop(\"disabled\"), \"Save button should be disabled\").to.be.true;\n\t});\n\n\tit(\"if you add a URL, the path field should be disabled\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.cnn.com\",\n\t\t\t},\n\t\t});\n\n\t\texpect(wrapper.find(\".file-input-container button\").prop(\"disabled\"), \"File input disabled\").to.be.true;\n\t});\n\n\tit(\"if you add a URL and then save it, the URL should be cleared on re-open\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.cnn.com\",\n\t\t\t},\n\t\t});\n\n\t\t// click the Add button\n\t\twrapper.find(QUICK_ADD_APP_BUTTON).simulate(\"click\");\n\n\t\t// wait tick\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(QUICK_ADD_APP_URL).prop(\"value\")).to.be.empty;\n\t});\n\tit(\"if you add a URL and then close quick add, the URL should be cleared on re-open\", async () => {\n\t\tconst wrapper = mount(<DefaultApplications {...getApplicationsArgs(\"default\")} />);\n\n\t\tawait waitTick();\n\t\t// wait for async effects to finish\n\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// in the URL input, add \"http://www.facebook.com\"\n\t\twrapper.find(QUICK_ADD_APP_URL).simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.cnn.com\",\n\t\t\t},\n\t\t});\n\n\t\t// click the Close button\n\t\twrapper.find(\"button[title='Close']\").simulate(\"click\");\n\n\t\t// wait tick\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\t// Click the \"Add App\" button\n\t\twrapper.find(ADD_NEW_APP_BUTTON).simulate(\"click\");\n\t\tawait waitTick();\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(QUICK_ADD_APP_URL).prop(\"value\")).to.be.empty;\n\t});\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authentication.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Authentication.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO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KAAK,IAAI,EAAE;QAC3D,MAAM,eAAe,GAAG,EAAE,CAAC;QAE3B,MAAM,OAAO,GAAG,KAAK,CACpB,oBAAC,cAAc,sCAET,cAAc,CAAC,IAA4B,GAE/C,CACF,CAAC;QAGF,OAAO,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE;YACjE,MAAM,EAAE;gBACP,KAAK,EAAE,eAAe;aACtB;SACD,CAAC,CAAC;QAEH,MAAM,QAAQ,EAAE,CAAC;QAEjB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACtF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8CAA8C,EAAE,KAAK,IAAI,EAAE;QAC7D,MAAM,eAAe,GAAG,EAAE,CAAC;QAE3B,MAAM,OAAO,GAAG,KAAK,CACpB,oBAAC,cAAc,sCAET,cAAc,CAAC,IAA4B,GAE/C,CACF,CAAC;QAGF,OAAO,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE;YACjE,MAAM,EAAE;gBACP,KAAK,EAAE,eAAe;aACtB;SACD,CAAC,CAAC;QAEH,MAAM,QAAQ,EAAE,CAAC;QAEjB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACtF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\
|
|
1
|
+
{"version":3,"file":"Authentication.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Authentication.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,K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tF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it } from \"mocha\";\nimport { expect } from \"chai\";\nimport { Page as Authentication } from \"../stories/Authentication.stories\";\nimport { AuthenticationProps } from \"../Authentication\";\nimport { waitTick } from \"../sdd_helpers\";\nimport { accessibilityAssessor } from \"./a11y_helper\";\n\ndescribe(\"<Authentication/>\", () => {\n\tit(\"should pass accessibility scans (Page)\", async () => {\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n\tit(\"should allow adding auth settings\", async () => {\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\twrapper\n\t\t\t.find(\".auth-setup-select-provider\")\n\t\t\t.at(0)\n\t\t\t.simulate(\"change\", {\n\t\t\t\ttarget: {\n\t\t\t\t\tvalue: \"Custom\",\n\t\t\t\t},\n\t\t\t});\n\n\t\tawait waitTick();\n\n\t\twrapper.update();\n\n\t\texpect(wrapper.find(\".auth-setup-provider\").length).to.equal(1);\n\n\t\tconst inputs = [\n\t\t\t{\n\t\t\t\tselector: \".auth-setup-provider .auth-setup-clientid input\",\n\t\t\t\tvalue: \"clientidTest\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tselector: \".auth-setup-provider .auth-setup-endpoint-url input\",\n\t\t\t\tvalue: \"http://test.com\",\n\t\t\t},\n\t\t];\n\n\t\tinputs.forEach((input) => {\n\t\t\texpect(wrapper.find(input.selector).length, `Find ${input.selector}`).to.be.greaterThan(0);\n\n\t\t\twrapper\n\t\t\t\t.find(input.selector)\n\t\t\t\t.at(0)\n\t\t\t\t.simulate(\"change\", {\n\t\t\t\t\ttarget: {\n\t\t\t\t\t\tvalue: input.value,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t});\n\n\t\tawait waitTick();\n\n\t\twrapper.update();\n\n\t\tinputs.forEach((input) => {\n\t\t\texpect(wrapper.find(input.selector).at(0).prop(\"value\")).to.equal(input.value);\n\t\t\texpect(wrapper.find(input.selector).at(0).prop(\"aria-invalid\")).to.be.false;\n\t\t});\n\t});\n\n\tit(\"toggling advanced options should not clear inputs\", async () => {\n\t\tconst arbitrary_value = \"my test\";\n\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\twrapper\n\t\t\t.find(\".auth-setup-select-provider\")\n\t\t\t.at(0)\n\t\t\t.simulate(\"change\", {\n\t\t\t\ttarget: {\n\t\t\t\t\tvalue: \"Custom\",\n\t\t\t\t},\n\t\t\t});\n\n\t\tawait waitTick();\n\n\t\twrapper.update();\n\n\t\t// Assign an arbitrary value to \"Client ID\"\n\t\twrapper.find(\".auth-setup-clientid input\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: arbitrary_value,\n\t\t\t},\n\t\t});\n\t\tawait waitTick();\n\n\t\t// Toggle the Advanced Options\n\t\twrapper.find(\".auth-setup-toggle-mode button\").simulate(\"click\");\n\n\t\t// Confirm that \"Client ID\" didn't change\n\t\texpect(wrapper.find(\".auth-setup-clientid input\").prop(\"value\"), `Confirm that \"Client ID\" didn't change`).to.equal(\n\t\t\tarbitrary_value\n\t\t);\n\n\t\t// Test accessibility of expanded options while we're at it\n\t\texpect(await accessibilityAssessor(wrapper), \"Accessibility scan\").to.be.true;\n\t});\n\n\tit(\"should allow saving valid endpoint URL\", async () => {\n\t\tconst arbitrary_value = \"http://cosaic.io\";\n\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\t// Assign an arbitrary value to \"Client ID\"\n\t\twrapper.find(\".auth-setup-endpoint-url input\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: arbitrary_value,\n\t\t\t},\n\t\t});\n\n\t\tawait waitTick();\n\n\t\texpect(wrapper.find(\".auth-setup-actions button\").at(0).prop(\"disabled\")).to.be.false;\n\t});\n\n\tit(\"should not allow saving empty endpoint URL\", async () => {\n\t\tconst arbitrary_value = \"\";\n\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\t// Assign an arbitrary value to \"Client ID\"\n\t\twrapper.find(\".auth-setup-endpoint-url input\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: arbitrary_value,\n\t\t\t},\n\t\t});\n\n\t\tawait waitTick();\n\n\t\texpect(wrapper.find(\".auth-setup-actions button\").at(0).prop(\"disabled\")).to.be.true;\n\t});\n\n\tit(\"should not allow saving invalid endpoint URL\", async () => {\n\t\tconst arbitrary_value = \"\";\n\n\t\tconst wrapper = mount(\n\t\t\t<Authentication\n\t\t\t\t{...{\n\t\t\t\t\t...(Authentication.args as AuthenticationProps),\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\n\t\t// Assign an arbitrary value to \"Client ID\"\n\t\twrapper.find(\".auth-setup-endpoint-url input\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: arbitrary_value,\n\t\t\t},\n\t\t});\n\n\t\tawait waitTick();\n\n\t\texpect(wrapper.find(\".auth-setup-actions button\").at(0).prop(\"disabled\")).to.be.true;\n\t});\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { mount } from "enzyme";
|
|
3
|
+
import { describe, it } from "mocha";
|
|
4
|
+
import { expect } from "chai";
|
|
5
|
+
import { BasicStory } from "../stories/ContentHeader.stories";
|
|
6
|
+
import { accessibilityAssessor } from "./a11y_helper";
|
|
7
|
+
import addons, { mockChannel } from "@storybook/addons";
|
|
8
|
+
addons.setChannel(mockChannel());
|
|
9
|
+
describe("<Header/>", () => {
|
|
10
|
+
it("should display text", () => {
|
|
11
|
+
const wrapper = mount(React.createElement(BasicStory, Object.assign({}, BasicStory.args)));
|
|
12
|
+
expect(wrapper.find(".project-title-icon").text(), "The icon is set").to.equal("P");
|
|
13
|
+
expect(wrapper.find(".project-name").text(), "The text matches").to.equal("Project Title");
|
|
14
|
+
});
|
|
15
|
+
it("should have a capital Letter Icon", () => {
|
|
16
|
+
const props = Object.assign(Object.assign({}, BasicStory.args), { name: "hello Worms" });
|
|
17
|
+
const wrapper = mount(React.createElement(BasicStory, Object.assign({}, props)));
|
|
18
|
+
expect(wrapper.find(".project-title-icon").text(), "The icon is capitalised").to.equal("H");
|
|
19
|
+
expect(wrapper.find(".project-name").text(), "The text matches").to.equal("hello Worms");
|
|
20
|
+
});
|
|
21
|
+
it("should display default text", () => {
|
|
22
|
+
const props = Object.assign(Object.assign({}, BasicStory.args), { name: "default" });
|
|
23
|
+
const wrapper = mount(React.createElement(BasicStory, Object.assign({}, props)));
|
|
24
|
+
expect(wrapper.find(".project-name").text(), "The text matches").to.equal("Untitled project");
|
|
25
|
+
});
|
|
26
|
+
it("should pass accessibility scans", async () => {
|
|
27
|
+
const wrapper = mount(React.createElement(BasicStory, Object.assign({}, BasicStory.args)));
|
|
28
|
+
expect(await accessibilityAssessor(wrapper)).to.be.true;
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=ContentHeader.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentHeader.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/Content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EAAE,yBAAyB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5F,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACtC,MAAM,KAAK,mCAAS,UAAU,CAAC,IAAoB,KAAE,IAAI,EAAE,SAAS,GAAE,CAAC;QACvE,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,UAAU,oBAAK,KAAK,EAAI,CAAC,CAAC;QAEjD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC/F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;QAChD,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,UAAU,oBAAM,UAAU,CAAC,IAAoB,EAAI,CAAC,CAAC;QAE5E,MAAM,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACzD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it, afterEach } from \"mocha\";\nimport { expect } from \"chai\";\nimport { HeaderProps } from \"../ContentHeader\";\nimport { BasicStory } from \"../stories/ContentHeader.stories\";\n\n// For running accessibility scans\nimport { accessibilityAssessor } from \"./a11y_helper\";\n\n// For testing user interactions (like click events):\nimport sinon from \"sinon\";\n// Necessary to allow sinon to work with mocked actions (which are shown in the Actions panel in Storybook)\nimport addons, { mockChannel } from \"@storybook/addons\";\naddons.setChannel(mockChannel());\n\ndescribe(\"<Header/>\", () => {\n\tit(\"should display text\", () => {\n\t\tconst wrapper = mount(<BasicStory {...(BasicStory.args as HeaderProps)} />);\n\n\t\texpect(wrapper.find(\".project-title-icon\").text(), \"The icon is set\").to.equal(\"P\");\n\t\texpect(wrapper.find(\".project-name\").text(), \"The text matches\").to.equal(\"Project Title\");\n\t});\n\n\tit(\"should have a capital Letter Icon\", () => {\n\t\tconst props = { ...(BasicStory.args as HeaderProps), name: \"hello Worms\" };\n\t\tconst wrapper = mount(<BasicStory {...props} />);\n\n\t\texpect(wrapper.find(\".project-title-icon\").text(), \"The icon is capitalised\").to.equal(\"H\");\n\t\texpect(wrapper.find(\".project-name\").text(), \"The text matches\").to.equal(\"hello Worms\");\n\t});\n\n\tit(\"should display default text\", () => {\n\t\tconst props = { ...(BasicStory.args as HeaderProps), name: \"default\" };\n\t\tconst wrapper = mount(<BasicStory {...props} />);\n\n\t\texpect(wrapper.find(\".project-name\").text(), \"The text matches\").to.equal(\"Untitled project\");\n\t});\n\n\tit(\"should pass accessibility scans\", async () => {\n\t\tconst wrapper = mount(<BasicStory {...(BasicStory.args as HeaderProps)} />);\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n});\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { mount } from "enzyme";
|
|
3
|
+
import { describe, it, afterEach } from "mocha";
|
|
4
|
+
import { expect } from "chai";
|
|
5
|
+
import { AddNewPreload } from "../stories/EditPreload.stories";
|
|
6
|
+
import { accessibilityAssessor } from "./a11y_helper";
|
|
7
|
+
import sinon from "sinon";
|
|
8
|
+
import addons, { mockChannel } from "@storybook/addons";
|
|
9
|
+
addons.setChannel(mockChannel());
|
|
10
|
+
describe("<EditPreload/>", () => {
|
|
11
|
+
afterEach(() => {
|
|
12
|
+
sinon.restore();
|
|
13
|
+
});
|
|
14
|
+
it("should have initial state", () => {
|
|
15
|
+
const wrapper = mount(React.createElement(AddNewPreload, Object.assign({}, AddNewPreload.args)));
|
|
16
|
+
expect(wrapper.find("h2").exists(), "The heading exists").to.be.true;
|
|
17
|
+
expect(wrapper.find("h2").text(), "The heading text").to.equal("Untitled preload");
|
|
18
|
+
const buttons = wrapper.find(".preload-edit-actions button");
|
|
19
|
+
expect(buttons, "No remove button").to.have.lengthOf(2);
|
|
20
|
+
expect(buttons.last().text(), "Has save button").to.equal("Save");
|
|
21
|
+
expect(buttons.last().prop("disabled"), "Save button is disabled").to.be.true;
|
|
22
|
+
expect(wrapper.find({ value: "selection" }).prop("checked"), "Selected apps is selected").to.be.true;
|
|
23
|
+
expect(wrapper.find(".emperorOption input[checked]"), "No checked apps").to.have.lengthOf(0);
|
|
24
|
+
});
|
|
25
|
+
it('should hide and show app list based on "Load for" value ', async () => {
|
|
26
|
+
const wrapper = mount(React.createElement(AddNewPreload, Object.assign({}, AddNewPreload.args)));
|
|
27
|
+
expect(wrapper.find(".emperorSelectContainer").exists(), "App select should be shown").to.be.true;
|
|
28
|
+
wrapper
|
|
29
|
+
.find("input[name='preload-usage']")
|
|
30
|
+
.first()
|
|
31
|
+
.simulate("change", {
|
|
32
|
+
target: {
|
|
33
|
+
checked: true,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
expect(wrapper.find(".emperorSelectContainer").exists(), "App select should not be shown").to.be.false;
|
|
37
|
+
});
|
|
38
|
+
it("should change the alias", async () => {
|
|
39
|
+
const wrapper = mount(React.createElement(AddNewPreload, Object.assign({}, AddNewPreload.args)));
|
|
40
|
+
expect(wrapper.find("h2").text(), "The heading text").to.equal("Untitled preload");
|
|
41
|
+
expect(wrapper.find(".preload-edit-actions button").last().prop("disabled"), "Save button is disabled").to.be.true;
|
|
42
|
+
wrapper.find("#preload-alias").simulate("change", {
|
|
43
|
+
target: {
|
|
44
|
+
value: "test-alias",
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
expect(wrapper.find("h2").text(), "The heading text").to.equal("test-alias");
|
|
48
|
+
wrapper.find("#preload-url").simulate("change", {
|
|
49
|
+
target: {
|
|
50
|
+
value: "http://www.example.com/preload.js",
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
expect(wrapper.find(".preload-edit-actions button").last().prop("disabled"), "Save button no longer disabled").to.be
|
|
54
|
+
.false;
|
|
55
|
+
});
|
|
56
|
+
it("should pass accessibility scans", async () => {
|
|
57
|
+
const wrapper = mount(React.createElement(AddNewPreload, Object.assign({}, AddNewPreload.args)));
|
|
58
|
+
expect(await accessibilityAssessor(wrapper)).to.be.true;
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=EditPreload.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditPreload.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/EditPreload.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAuB,MAAM,gCAAgC,CAAC;AAGpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;AAEjC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAE/B,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2BAA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EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAE7E,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE;YAC/C,MAAM,EAAE;gBACP,KAAK,EAAE,mCAAmC;aAC1C;SACD,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,gCAAgC,CAAC,CAAC,EAAE,CAAC,EAAE;aAClH,KAAK,CAAC;IACT,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;QAChD,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,aAAa,oBAAM,aAAa,CAAC,IAAyB,EAAI,CAAC,CAAC;QACvF,MAAM,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACzD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it, afterEach } from \"mocha\";\nimport { expect } from \"chai\";\nimport { EditPreloadProps } from \"../EditPreload\";\nimport { AddNewPreload, EditExistingPreload } from \"../stories/EditPreload.stories\";\n\n// For running accessibility scans\nimport { accessibilityAssessor } from \"./a11y_helper\";\n\n// For testing user interactions (like click events):\nimport sinon from \"sinon\";\n// Necessary to allow sinon to work with mocked actions (which are shown in the Actions panel in Storybook)\nimport addons, { mockChannel } from \"@storybook/addons\";\nimport { waitTick, waitTime } from \"../sdd_helpers\";\naddons.setChannel(mockChannel());\n\ndescribe(\"<EditPreload/>\", () => {\n\t// Used to clear after each interactive test using sinon\n\tafterEach(() => {\n\t\tsinon.restore();\n\t});\n\n\tit(\"should have initial state\", () => {\n\t\tconst wrapper = mount(<AddNewPreload {...(AddNewPreload.args as EditPreloadProps)} />);\n\t\texpect(wrapper.find(\"h2\").exists(), \"The heading exists\").to.be.true;\n\t\texpect(wrapper.find(\"h2\").text(), \"The heading text\").to.equal(\"Untitled preload\");\n\t\tconst buttons = wrapper.find(\".preload-edit-actions button\");\n\t\texpect(buttons, \"No remove button\").to.have.lengthOf(2);\n\t\texpect(buttons.last().text(), \"Has save button\").to.equal(\"Save\");\n\t\texpect(buttons.last().prop(\"disabled\"), \"Save button is disabled\").to.be.true;\n\t\texpect(wrapper.find({ value: \"selection\" }).prop(\"checked\"), \"Selected apps is selected\").to.be.true;\n\t\texpect(wrapper.find(\".emperorOption input[checked]\"), \"No checked apps\").to.have.lengthOf(0);\n\t});\n\n\tit('should hide and show app list based on \"Load for\" value ', async () => {\n\t\tconst wrapper = mount(<AddNewPreload {...(AddNewPreload.args as EditPreloadProps)} />);\n\t\texpect(wrapper.find(\".emperorSelectContainer\").exists(), \"App select should be shown\").to.be.true;\n\n\t\twrapper\n\t\t\t.find(\"input[name='preload-usage']\")\n\t\t\t.first()\n\t\t\t.simulate(\"change\", {\n\t\t\t\ttarget: {\n\t\t\t\t\tchecked: true,\n\t\t\t\t},\n\t\t\t});\n\t\texpect(wrapper.find(\".emperorSelectContainer\").exists(), \"App select should not be shown\").to.be.false;\n\t});\n\n\tit(\"should change the alias\", async () => {\n\t\tconst wrapper = mount(<AddNewPreload {...(AddNewPreload.args as EditPreloadProps)} />);\n\n\t\texpect(wrapper.find(\"h2\").text(), \"The heading text\").to.equal(\"Untitled preload\");\n\t\texpect(wrapper.find(\".preload-edit-actions button\").last().prop(\"disabled\"), \"Save button is disabled\").to.be.true;\n\t\twrapper.find(\"#preload-alias\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"test-alias\",\n\t\t\t},\n\t\t});\n\n\t\texpect(wrapper.find(\"h2\").text(), \"The heading text\").to.equal(\"test-alias\");\n\n\t\twrapper.find(\"#preload-url\").simulate(\"change\", {\n\t\t\ttarget: {\n\t\t\t\tvalue: \"http://www.example.com/preload.js\",\n\t\t\t},\n\t\t});\n\n\t\texpect(wrapper.find(\".preload-edit-actions button\").last().prop(\"disabled\"), \"Save button no longer disabled\").to.be\n\t\t\t.false;\n\t});\n\n\tit(\"should pass accessibility scans\", async () => {\n\t\tconst wrapper = mount(<AddNewPreload {...(AddNewPreload.args as EditPreloadProps)} />);\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n});\n"]}
|