@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbarReducer.js","sourceRoot":"","sources":["../../src/reducers/toolbarReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,cAAc,EAAsB,MAAM,2BAA2B,CAAC;AAU/E,MAAM,YAAY,GAAiB;IAClC,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA8C,OAAO,CAC/E,CAAC,KAAmB,EAAE,MAA0B,EAAE,EAAE;IACnD,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE;QAC5B,qBAAqB,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;YACjD,MAAM,sBAAsB,GAAG,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;YACvD,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YAC3D,sBAAsB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;YAC3C,sBAAsB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,iBAAiB,CAAC,CAAC;YAC9D,KAAK,CAAC,YAAY,GAAG,sBAAsB,CAAC;QAC7C,CAAC;QACD,iBAAiB,EAAE,CAAC,KAAyB,EAAE,EAAE;YAChD,KAAK,CAAC,YAAY,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACjD,CAAC;QACD,eAAe,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;YAC5B,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,eAAe,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;YAC5B,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;KACpB,CAAC,CAAC;AACJ,CAAC,EACD,YAAY,CACZ,CAAC","sourcesContent":["import produce from \"immer\";\
|
|
1
|
+
{"version":3,"file":"toolbarReducer.js","sourceRoot":"","sources":["../../src/reducers/toolbarReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,cAAc,EAAsB,MAAM,2BAA2B,CAAC;AAU/E,MAAM,YAAY,GAAiB;IAClC,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA8C,OAAO,CAC/E,CAAC,KAAmB,EAAE,MAA0B,EAAE,EAAE;IACnD,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE;QAC5B,qBAAqB,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;YACjD,MAAM,sBAAsB,GAAG,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;YACvD,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;YAC3D,sBAAsB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;YAC3C,sBAAsB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,iBAAiB,CAAC,CAAC;YAC9D,KAAK,CAAC,YAAY,GAAG,sBAAsB,CAAC;QAC7C,CAAC;QACD,iBAAiB,EAAE,CAAC,KAAyB,EAAE,EAAE;YAChD,KAAK,CAAC,YAAY,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACjD,CAAC;QACD,eAAe,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;YAC5B,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,eAAe,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;YAC5B,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;KACpB,CAAC,CAAC;AACJ,CAAC,EACD,YAAY,CACZ,CAAC","sourcesContent":["import produce from \"immer\";\nimport { DashbarItem } from \"../types/dashbarTypes\";\nimport { ToolbarActions, ToolbarActionTypes } from \"../actions/toolbarActions\";\nimport { Reducer } from \"react\";\n\nexport type ToolbarState = {\n\tmyFoo: string;\n\tmyBar: string;\n\tdashbarItems: DashbarItem[];\n\tdashbarItemKeys: string[];\n};\n\nconst initialState: ToolbarState = {\n\tmyFoo: \"\",\n\tmyBar: \"\",\n\tdashbarItems: [],\n\tdashbarItemKeys: [],\n};\n\nexport const toolbarReducer: Reducer<ToolbarState, ToolbarActionTypes> = produce(\n\t(state: ToolbarState, action: ToolbarActionTypes) => {\n\t\tToolbarActions.match(action, {\n\t\t\tREORDER_DASHBAR_ITEMS: ({ oldIndex, newIndex }) => {\n\t\t\t\tconst dashbarItemsInNewOrder = [...state.dashbarItems];\n\t\t\t\tconst dashbarItemToMove = dashbarItemsInNewOrder[oldIndex];\n\t\t\t\tdashbarItemsInNewOrder.splice(oldIndex, 1);\n\t\t\t\tdashbarItemsInNewOrder.splice(newIndex, 0, dashbarItemToMove);\n\t\t\t\tstate.dashbarItems = dashbarItemsInNewOrder;\n\t\t\t},\n\t\t\tSET_DASHBAR_ITEMS: (items: Array<DashbarItem>) => {\n\t\t\t\tstate.dashbarItems = items?.length ? items : [];\n\t\t\t},\n\t\t\tTOOLBAR_ACTION1: ({ foo }) => {\n\t\t\t\tstate.myFoo = foo;\n\t\t\t},\n\t\t\tTOOLBAR_ACTION2: ({ bar }) => {\n\t\t\t\tstate.myBar = bar;\n\t\t\t},\n\t\t\tdefault: () => state,\n\t\t});\n\t},\n\tinitialState\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceReducer.js","sourceRoot":"","sources":["../../src/reducers/workspaceReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAwB,MAAM,6BAA6B,CAAC;AAUrF,MAAM,CAAC,MAAM,YAAY,GAAmB;IAC3C,eAAe,EAAE;QAChB,IAAI,EAAE,EAAE;KACR;IACD,UAAU,EAAE,EAAE;IACd,YAAY,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAkD,OAAO,CACrF,CAAC,KAAqB,EAAE,MAA4B,EAAE,EAAE;IACvD,gBAAgB,CAAC,KAAK,CAAC,MAAM,EAAE;QAC9B,qBAAqB,EAAE,CAAC,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;YAC1D,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;YAExC,IAAI,UAAU,EAAE;gBAEf,KAAK,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;oBAC9C,OAAO,EAAE,IAAI,EAAE,CAAC;gBACjB,CAAC,CAAC,CAAC;aACH;QACF,CAAC;QACD,0CAA0C,EAAE,CAAC,YAAY,EAAE,EAAE;YAC5D,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;KACpB,CAAC,CAAC;AACJ,CAAC,EACD,YAAY,CACZ,CAAC","sourcesContent":["import produce from \"immer\";\
|
|
1
|
+
{"version":3,"file":"workspaceReducer.js","sourceRoot":"","sources":["../../src/reducers/workspaceReducer.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAwB,MAAM,6BAA6B,CAAC;AAUrF,MAAM,CAAC,MAAM,YAAY,GAAmB;IAC3C,eAAe,EAAE;QAChB,IAAI,EAAE,EAAE;KACR;IACD,UAAU,EAAE,EAAE;IACd,YAAY,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAkD,OAAO,CACrF,CAAC,KAAqB,EAAE,MAA4B,EAAE,EAAE;IACvD,gBAAgB,CAAC,KAAK,CAAC,MAAM,EAAE;QAC9B,qBAAqB,EAAE,CAAC,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;YAC1D,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;YAExC,IAAI,UAAU,EAAE;gBAEf,KAAK,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;oBAC9C,OAAO,EAAE,IAAI,EAAE,CAAC;gBACjB,CAAC,CAAC,CAAC;aACH;QACF,CAAC;QACD,0CAA0C,EAAE,CAAC,YAAY,EAAE,EAAE;YAC5D,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;QACnC,CAAC;QACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;KACpB,CAAC,CAAC;AACJ,CAAC,EACD,YAAY,CACZ,CAAC","sourcesContent":["import produce from \"immer\";\nimport { WorkspaceActions, WorkspaceActionTypes } from \"../actions/workspaceActions\";\nimport { Workspace } from \"../types/workspaceTypes\";\nimport { Reducer } from \"react\";\n\nexport type WorkspaceState = {\n\tactiveWorkspace: Workspace;\n\tworkspaces: Workspace[];\n\tpromptOnSave: boolean;\n};\n\nexport const initialState: WorkspaceState = {\n\tactiveWorkspace: {\n\t\tname: \"\",\n\t},\n\tworkspaces: [],\n\tpromptOnSave: false,\n};\n\nexport const workspaceReducer: Reducer<WorkspaceState, WorkspaceActionTypes> = produce(\n\t(state: WorkspaceState, action: WorkspaceActionTypes) => {\n\t\tWorkspaceActions.match(action, {\n\t\t\tUPDATE_ALL_WORKSPACES: ({ activeWorkspace, workspaces }) => {\n\t\t\t\tstate.activeWorkspace = activeWorkspace;\n\n\t\t\t\tif (workspaces) {\n\t\t\t\t\t// We only care about the name returned by the workspaceService updates\n\t\t\t\t\tstate.workspaces = workspaces.map(({ name }) => {\n\t\t\t\t\t\treturn { name };\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\tUPDATE_PROMPT_ON_SAVE_WORKSPACE_PREFERENCE: (promptOnSave) => {\n\t\t\t\tstate.promptOnSave = promptOnSave;\n\t\t\t},\n\t\t\tdefault: () => state,\n\t\t});\n\t},\n\tinitialState\n);\n"]}
|
package/react/store.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export declare const createStore: () => import("redux").Store<import("redux").Em
|
|
|
133
133
|
}) | ({
|
|
134
134
|
type: "update_apps";
|
|
135
135
|
} & {
|
|
136
|
-
payload: import("@finsemble/finsemble-
|
|
136
|
+
payload: import("@finsemble/finsemble-api/types/services/Interop/types").AppDefinition[];
|
|
137
137
|
}) | ({
|
|
138
138
|
type: "new_app";
|
|
139
139
|
} & {
|
|
@@ -145,7 +145,7 @@ export declare const createStore: () => import("redux").Store<import("redux").Em
|
|
|
145
145
|
}) | ({
|
|
146
146
|
type: "update_app";
|
|
147
147
|
} & {
|
|
148
|
-
payload: import("@finsemble/finsemble-
|
|
148
|
+
payload: import("@finsemble/finsemble-api/types/services/Interop/types").AppDefinition;
|
|
149
149
|
}) | ({
|
|
150
150
|
type: "delete_app";
|
|
151
151
|
} & {
|
|
@@ -154,10 +154,18 @@ export declare const createStore: () => import("redux").Store<import("redux").Em
|
|
|
154
154
|
type: "update_menus";
|
|
155
155
|
} & {
|
|
156
156
|
payload: import("./types/smartDesktopDesignerTypes").MenuType;
|
|
157
|
+
}) | ({
|
|
158
|
+
type: "update_preloads";
|
|
159
|
+
} & {
|
|
160
|
+
payload: import("./types/smartDesktopDesignerTypes").PreloadType[];
|
|
161
|
+
}) | ({
|
|
162
|
+
type: "set_current_preload";
|
|
163
|
+
} & {
|
|
164
|
+
payload: import("./types/smartDesktopDesignerTypes").PreloadType | null;
|
|
157
165
|
}) | ({
|
|
158
166
|
type: "set_deploy_info";
|
|
159
167
|
} & {
|
|
160
|
-
payload: import("@finsemble/finsemble-
|
|
168
|
+
payload: import("@finsemble/finsemble-api/types/FEA").DeployInfo | null;
|
|
161
169
|
}) | ({
|
|
162
170
|
type: "set_publish_error";
|
|
163
171
|
} & {
|
|
@@ -330,7 +338,7 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
330
338
|
}) | ({
|
|
331
339
|
type: "update_apps";
|
|
332
340
|
} & {
|
|
333
|
-
payload: import("@finsemble/finsemble-
|
|
341
|
+
payload: import("@finsemble/finsemble-api/types/services/Interop/types").AppDefinition[];
|
|
334
342
|
}) | ({
|
|
335
343
|
type: "new_app";
|
|
336
344
|
} & {
|
|
@@ -342,7 +350,7 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
342
350
|
}) | ({
|
|
343
351
|
type: "update_app";
|
|
344
352
|
} & {
|
|
345
|
-
payload: import("@finsemble/finsemble-
|
|
353
|
+
payload: import("@finsemble/finsemble-api/types/services/Interop/types").AppDefinition;
|
|
346
354
|
}) | ({
|
|
347
355
|
type: "delete_app";
|
|
348
356
|
} & {
|
|
@@ -351,10 +359,18 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
351
359
|
type: "update_menus";
|
|
352
360
|
} & {
|
|
353
361
|
payload: import("./types/smartDesktopDesignerTypes").MenuType;
|
|
362
|
+
}) | ({
|
|
363
|
+
type: "update_preloads";
|
|
364
|
+
} & {
|
|
365
|
+
payload: import("./types/smartDesktopDesignerTypes").PreloadType[];
|
|
366
|
+
}) | ({
|
|
367
|
+
type: "set_current_preload";
|
|
368
|
+
} & {
|
|
369
|
+
payload: import("./types/smartDesktopDesignerTypes").PreloadType | null;
|
|
354
370
|
}) | ({
|
|
355
371
|
type: "set_deploy_info";
|
|
356
372
|
} & {
|
|
357
|
-
payload: import("@finsemble/finsemble-
|
|
373
|
+
payload: import("@finsemble/finsemble-api/types/FEA").DeployInfo | null;
|
|
358
374
|
}) | ({
|
|
359
375
|
type: "set_publish_error";
|
|
360
376
|
} & {
|
package/react/store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,eAAe,EAAc,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/F,OAAO,EAAa,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMhE,MAAM,MAAM,GACX,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,CAAC,IAAS,EAAE,EAAE,CACd,CAAC,MAAW,EAAE,EAAE;IAEf,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;IAEjC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,CAAC;IAGxF,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,SAAS,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AAEnG,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;AAInC,MAAM,CAAC,MAAM,WAAW,GAAoC,gBAAgB,CAAC;AAI7E,MAAM,CAAC,MAAM,WAAW,GAAqD,gBAAgB,CAAC","sourcesContent":["import { createStore as createReduxStore, applyMiddleware, Middleware } from \"redux\";\
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,eAAe,EAAc,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/F,OAAO,EAAa,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMhE,MAAM,MAAM,GACX,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,CAAC,IAAS,EAAE,EAAE,CACd,CAAC,MAAW,EAAE,EAAE;IAEf,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;IAEjC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,CAAC;IAGxF,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,SAAS,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AAEnG,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;AAInC,MAAM,CAAC,MAAM,WAAW,GAAoC,gBAAgB,CAAC;AAI7E,MAAM,CAAC,MAAM,WAAW,GAAqD,gBAAgB,CAAC","sourcesContent":["import { createStore as createReduxStore, applyMiddleware, Middleware } from \"redux\";\nimport { useDispatch as reduxUseDispatch, useSelector as reduxUseSelector } from \"react-redux\";\nimport { Actions } from \"./actions/rootActions\";\nimport { RootState, rootReducer } from \"./reducers/rootReducer\";\n\n/**\n * Logging middleware that logs each action (and the resulting state).\n * Adapted from https://redux.js.org/api/applymiddleware/\n */\nconst logger: Middleware =\n\t({ getState }) =>\n\t(next: any) =>\n\t(action: any) => {\n\t\t// Call the next dispatch method in the middleware chain.\n\t\tconst returnValue = next(action);\n\n\t\tFSBL.Clients.Logger.system.debug(\"Toolbar Action\", action, \"Current State\", getState());\n\t\t// This will likely be the action itself, unless\n\t\t// a middleware further in chain changed it.\n\t\treturn returnValue;\n\t};\n\nexport const createStore = () => createReduxStore(rootReducer, undefined, applyMiddleware(logger));\n\nexport const store = createStore();\n\n/** Strongly typed version of useDispatch from react-redux.\n * https://react-redux.js.org/api/hooks#usedispatch */\nexport const useDispatch: () => (action: Actions) => void = reduxUseDispatch;\n\n/** Strongly typed version of useSelector from react-redux.\n * https://react-redux.js.org/api/hooks#useselector */\nexport const useSelector: <T1>(selectorFn: (state: RootState) => T1) => T1 = reduxUseSelector;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advancedAppLauncherTypes.js","sourceRoot":"","sources":["../../src/types/advancedAppLauncherTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\
|
|
1
|
+
{"version":3,"file":"advancedAppLauncherTypes.js","sourceRoot":"","sources":["../../src/types/advancedAppLauncherTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\n\nexport type FavoriteCategory = \"Workspace\" | \"Application\";\n\nexport type FavoriteDropdown = {\n\t/* The unique identifier of a favorite */\n\tid: string;\n\t/* Favorite category - the kind of items that can be favorited */\n\tcategory: FavoriteCategory;\n\t/* The display name of a favorite */\n\tname: string;\n\t/* The object containing the entire application */\n\tapp?: object;\n\t/* The icon for the favorite item in the toolbar. This value should be a className */\n\ticon: Icon;\n\t/* Function to setState. Used to update dropdown menu's state */\n\tinstance: any;\n};\n\nexport type FavoriteStar = {\n\t/* The unique identifier of a favorite */\n\tid: string;\n\t/* Favorite category - the kind of items that can be favorited */\n\tcategory: FavoriteCategory;\n\t/* The display name of a favorite */\n\tname: string;\n\t/* The object containing the entire application */\n\tapp: object;\n\t/* The icon for the favorite item in the toolbar. This value should be a className */\n\ticon: Icon;\n};\n\nexport type FolderAppType = {\n\tname: string;\n\tappID: string;\n\tdisplayName?: string;\n\ttags?: string[];\n};\n\nexport type FolderType = {\n\tname?: string;\n\ticon?: string;\n\ttype?: \"folder\";\n\tcanDelete?: boolean;\n\tcanEdit?: boolean;\n\tapps: FolderAppType[];\n};\n\nexport type FoldersType = {\n\tlist: string[];\n\tfolders: {\n\t\t[folderName: string]: FolderType;\n\t};\n};\n\nexport interface WindowOptions {\n\tcustomData: {\n\t\tcomponent: {\n\t\t\tuseAppCatalog: boolean;\n\t\t};\n\t};\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashbarTypes.js","sourceRoot":"","sources":["../../src/types/dashbarTypes.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from \"react\";\
|
|
1
|
+
{"version":3,"file":"dashbarTypes.js","sourceRoot":"","sources":["../../src/types/dashbarTypes.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from \"react\";\n\nexport type DashbarItem = {\n\tid: string;\n\ttitle: string;\n\turl: string;\n\twidth: number;\n\theight?: number;\n\tdisablePointerEvents?: boolean;\n\traiseIntentOptions?: RaiseIntentOptions;\n};\n\nexport type RaiseIntentOptions = {\n\tintent: string;\n\tcontext: any;\n\ttargetApp: any;\n};\n\nexport type Dashbar = {\n\tclassName?: string;\n\tchildren?: React.ReactNode;\n\twidgetTitleGenerator?: Function;\n};\n\nexport type View = {\n\tid: Number;\n\tremove: Function;\n\tsetBounds: Function;\n\tbringToFront: Function;\n};\n\nexport type DashbarView = {\n\turl: string;\n\ttitle: string;\n\tview: View;\n\twidth: number;\n\traiseIntentOptions?: RaiseIntentOptions;\n\tbounds: {\n\t\ttop: number;\n\t\tleft: number;\n\t\twidth: number;\n\t\theight: number;\n\t};\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"favoriteTypes.js","sourceRoot":"","sources":["../../src/types/favoriteTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\
|
|
1
|
+
{"version":3,"file":"favoriteTypes.js","sourceRoot":"","sources":["../../src/types/favoriteTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\n\nexport type FavoriteCategory = \"Workspace\" | \"Application\";\n\nexport type Favorite = {\n\t/* The unique identifier of a favorite */\n\tid: string;\n\t/* Favorite category - the kind of items that can be favorited */\n\tcategory: FavoriteCategory;\n\t/* The display name of a favorite */\n\tname: string;\n\t/* The icon for the favorite item in the toolbar. This value should be a className */\n\ticon?: Icon;\n};\n"]}
|
package/react/types/fdc3.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StandardError, FDC3 } from "@finsemble/finsemble-
|
|
2
|
-
import { clients } from "@finsemble/finsemble-
|
|
1
|
+
import { StandardError, FDC3 } from "@finsemble/finsemble-api/types/types";
|
|
2
|
+
import { clients } from "@finsemble/finsemble-api";
|
|
3
3
|
export declare enum ResolveError {
|
|
4
4
|
NoAppsFound = "NoAppsFound",
|
|
5
5
|
ResolverUnavailable = "ResolverUnavailable",
|
package/react/types/fdc3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fdc3.js","sourceRoot":"","sources":["../../src/types/fdc3.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,2CAA2B,CAAA;IAC3B,2DAA2C,CAAA;IAC3C,mDAAmC,CAAA;AACpC,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB","sourcesContent":["import { StandardError, FDC3 } from \"@finsemble/finsemble-
|
|
1
|
+
{"version":3,"file":"fdc3.js","sourceRoot":"","sources":["../../src/types/fdc3.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,2CAA2B,CAAA;IAC3B,2DAA2C,CAAA;IAC3C,mDAAmC,CAAA;AACpC,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB","sourcesContent":["import { StandardError, FDC3 } from \"@finsemble/finsemble-api/types/types\";\nimport { clients } from \"@finsemble/finsemble-api\";\n\nexport enum ResolveError {\n\tNoAppsFound = \"NoAppsFound\",\n\tResolverUnavailable = \"ResolverUnavailable\",\n\tResolverTimeout = \"ResolverTimeout\",\n}\nexport type AppMetadata = FDC3.AppMetadata;\nexport type Context = FDC3.Context;\n\n/** This is a copy & paste from core/clients/Interop/types.ts */\nexport type ResolutionCandidate = clients.Interop.types.ResolutionCandidate;\n\n/** This is a copy & paste from core/clients/Interop/types.ts */\nexport type ResolutionList = clients.Interop.types.ResolutionList;\n\nexport type ContextAny = clients.Interop.types.ContextAny;\n\nexport interface FDC3Props {\n\tconfig: {\n\t\turl?: string;\n\t};\n\tcreds: {};\n}\n\nexport type myTmpType = (first: null, second: string) => void;\n\nexport type FDC3GetCallback = (\n\targ1: null | Record<string, string>,\n\topts?: { applications: string[]; tags: string[] }\n) => void;\n\nexport type FDC3PostCallbackData =\n\t| {\n\t\t\tapplications: string[];\n\t }\n\t| undefined;\n\nexport type ErrorOrMessage = StandardError | { message: string };\n\nexport type FDC3PostCallback = (arg1: ErrorOrMessage, opts?: { applications: string[] }) => void;\n\nexport type FDC3SearchCallback = (error: string | null, applications: string[] | undefined) => void;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotkeyTypes.js","sourceRoot":"","sources":["../../src/types/hotkeyTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type HotkeyCombination = Array<string>;\
|
|
1
|
+
{"version":3,"file":"hotkeyTypes.js","sourceRoot":"","sources":["../../src/types/hotkeyTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type HotkeyCombination = Array<string>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconTypes.js","sourceRoot":"","sources":["../../src/types/iconTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type IconUrl = {\
|
|
1
|
+
{"version":3,"file":"iconTypes.js","sourceRoot":"","sources":["../../src/types/iconTypes.ts"],"names":[],"mappings":"","sourcesContent":["export type IconUrl = {\n\timageType: \"url\" | \"fonticon\";\n\tpath: string;\n};\n\nexport type IconInitials = {\n\timageType: \"initials\";\n\tname: string;\n};\n\nexport type Icon = (IconUrl | IconInitials) & {\n\tcategory?: string;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkerTypes.js","sourceRoot":"","sources":["../../src/types/linkerTypes.ts"],"names":[],"mappings":"AAiCA,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC","sourcesContent":["export type WindowIdentifier = {\
|
|
1
|
+
{"version":3,"file":"linkerTypes.js","sourceRoot":"","sources":["../../src/types/linkerTypes.ts"],"names":[],"mappings":"AAiCA,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC","sourcesContent":["export type WindowIdentifier = {\n\t/**\n\t * The name of the physical HTML window, or a reference to a native window that was launched with Assimilation service\n\t */\n\twindowName: string;\n\t/**\n\t * The type of component\n\t */\n\tcomponentType?: string;\n\t/**\n\t * Optional uuid of a particular application process\n\t */\n\tuuid?: string;\n\twindowType?: string;\n};\n\n/**\n * The linker channel\n */\nexport type Channel = {\n\t/* The ID of the channel */\n\tid: number;\n\t/* The name of the channel */\n\tname: string;\n\t/* The color of the channel */\n\tcolor?: string;\n\t/* Whether the channel is selected for a certain component or not. If selected, this field will be set to 'true' */\n\tactive?: boolean;\n\t/* The color of the channel's border */\n\tborder?: string;\n};\n\n/** Number of allowed active channels to be rendered on the titlebar. Current max is 6. */\nexport const MAXIMUM_ALLOWED_ACTIVE_CHANNELS = 6;\n"]}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Icon } from "./iconTypes";
|
|
2
|
-
|
|
3
|
-
displayName: string;
|
|
4
|
-
channel: string;
|
|
5
|
-
providerActionTitle: string;
|
|
6
|
-
providerActionCallback: Function;
|
|
7
|
-
windowName: string;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
2
|
+
import { SearchProvider } from "@finsemble/finsemble-api/types/services/search";
|
|
10
3
|
export declare type SearchProviderResponse = {
|
|
11
4
|
provider: SearchProvider;
|
|
12
5
|
returnCallback: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchTypes.js","sourceRoot":"","sources":["../../src/types/searchTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\
|
|
1
|
+
{"version":3,"file":"searchTypes.js","sourceRoot":"","sources":["../../src/types/searchTypes.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from \"./iconTypes\";\n\nimport { SearchProvider } from \"@finsemble/finsemble-api/types/services/search\";\n\nexport type SearchProviderResponse = {\n\tprovider: SearchProvider;\n\treturnCallback: string;\n\tsearchId: string;\n\tdata: SearchResults;\n};\n\nexport type SearchResultType = {\n\tactions: { name: string }[];\n\tdescription: string;\n\tdisplayName: string;\n\ticon: Icon;\n\tscore: number;\n\tname: string;\n\tprovider: FunctionStringCallback;\n\ttype: string;\n};\n\nexport type SearchQuery = string | null;\nexport type SearchResults = SearchResultType[] | null;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { FinsembleIconType } from "../components/common/FinsembleIcon";
|
|
3
|
-
import { services, FEA } from "@finsemble/finsemble-
|
|
3
|
+
import { services, FEA } from "@finsemble/finsemble-api";
|
|
4
4
|
export declare type ApplicationRule = services.Interop.types.SelectConnectRule;
|
|
5
5
|
declare type AppDefinition = services.Interop.types.AppDefinition;
|
|
6
6
|
declare type DeployInfo = FEA.DeployInfo;
|
|
@@ -22,7 +22,6 @@ export declare type ApplicationSaveData = {
|
|
|
22
22
|
description?: string;
|
|
23
23
|
enableAOT: boolean;
|
|
24
24
|
enableTitleBar: boolean;
|
|
25
|
-
grpc: boolean;
|
|
26
25
|
height?: number | string;
|
|
27
26
|
hideClose: boolean;
|
|
28
27
|
hideMaximize: boolean;
|
|
@@ -36,6 +35,7 @@ export declare type ApplicationSaveData = {
|
|
|
36
35
|
path?: string;
|
|
37
36
|
persistPath: boolean;
|
|
38
37
|
persistURL: boolean;
|
|
38
|
+
preloads: string[];
|
|
39
39
|
resizable: boolean;
|
|
40
40
|
rules?: ApplicationRule[];
|
|
41
41
|
security: "trusted" | "untrusted";
|
|
@@ -111,6 +111,10 @@ export declare type AuthenticationProvider = {
|
|
|
111
111
|
scope?: string;
|
|
112
112
|
nonce: boolean;
|
|
113
113
|
};
|
|
114
|
+
export declare type PreloadType = {
|
|
115
|
+
alias: string;
|
|
116
|
+
url: string;
|
|
117
|
+
};
|
|
114
118
|
export declare type ProjectError = {
|
|
115
119
|
viewId: string;
|
|
116
120
|
message: string;
|
|
@@ -123,7 +127,9 @@ export declare type SmartDesktopDesignerState = {
|
|
|
123
127
|
newAppId: string | null;
|
|
124
128
|
currentAppId: string | null;
|
|
125
129
|
currentAppSetupType: null | ApplicationSetupType;
|
|
130
|
+
currentPreload: PreloadType | null;
|
|
126
131
|
menus: MenuType;
|
|
132
|
+
preloads: PreloadType[];
|
|
127
133
|
projectInfo: ProjectSaveData;
|
|
128
134
|
export: {
|
|
129
135
|
uuid: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartDesktopDesignerTypes.js","sourceRoot":"","sources":["../../src/types/smartDesktopDesignerTypes.ts"],"names":[],"mappings":"AA0FA,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;AAChB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AASD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,mFAAc,CAAA;IACd,uFAAgB,CAAA;IAChB,qFAAe,CAAA;IACf,yFAAiB,CAAA;AAClB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;AACtB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B","sourcesContent":["import React from \"react\";\
|
|
1
|
+
{"version":3,"file":"smartDesktopDesignerTypes.js","sourceRoot":"","sources":["../../src/types/smartDesktopDesignerTypes.ts"],"names":[],"mappings":"AA0FA,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;AAChB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AASD,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,mFAAc,CAAA;IACd,uFAAgB,CAAA;IAChB,qFAAe,CAAA;IACf,yFAAiB,CAAA;AAClB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;AACtB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B","sourcesContent":["import React from \"react\";\nimport { FinsembleIconType } from \"../components/common/FinsembleIcon\";\nimport { services, FEA } from \"@finsemble/finsemble-api\";\n\nexport type ApplicationRule = services.Interop.types.SelectConnectRule;\ntype AppDefinition = services.Interop.types.AppDefinition;\ntype DeployInfo = FEA.DeployInfo;\n\nexport type ApplicationSaveData = {\n\tname: string;\n\n\tabstractPosition: number;\n\taddToWorkspace: boolean;\n\tallowAutoArrange: boolean;\n\tallowGrouping: boolean;\n\tallowMinimize: boolean;\n\tallowMaximize: boolean;\n\tallowSnapping: boolean;\n\tallowTabbing: boolean;\n\tallowTiling: boolean;\n\talwaysOnTop: boolean;\n\tappArguments?: string;\n\tappType?: string;\n\tautoConnect: boolean;\n\tdescription?: string;\n\tenableAOT: boolean;\n\tenableTitleBar: boolean;\n\theight?: number | string;\n\thideClose: boolean;\n\thideMaximize: boolean;\n\thideMinimize: boolean;\n\ticonURL?: string;\n\tintents: IntentEntry[];\n\tisEvergreen: boolean;\n\tlaunchableByUser: boolean;\n\tnative_windowSpawnTimeout: number;\n\topacity: number;\n\tpath?: string;\n\tpersistPath: boolean;\n\tpersistURL: boolean;\n\tpreloads: string[];\n\tresizable: boolean;\n\trules?: ApplicationRule[];\n\tsecurity: \"trusted\" | \"untrusted\";\n\tsingleton: boolean;\n\tspawnOnStartup: boolean;\n\ttags?: string[];\n\turl?: string;\n\twidth?: number | string;\n};\n\nexport type IntentEntry = {\n\tname: string;\n\tdisplayName: string;\n\tcontexts?: string[];\n};\n\nexport type ProjectSaveData = {\n\tname: string;\n\tpath?: string;\n\tuser: UserSaveData;\n\texport: ExportSaveData;\n};\n\nexport type ExportSaveData = {\n\tauthor: string;\n\tcompanyName: string;\n\tdescription: string;\n} & ProjectAssets;\n\nexport type ProjectAssets = {\n\ttoolbarIcon: string;\n\tinstallerIcon: string;\n\ttaskbarIcon: string;\n\tsystemTrayIcon: string;\n\tsplashScreenImage: string;\n};\n\nexport type UserSaveData = {\n\tfirstName: string;\n\tlastName: string;\n\tcompany: string;\n\temail: string;\n};\n\nexport type SDServerInfo = {\n\tenabled: boolean;\n\tapplicationRoot?: string;\n};\n\nexport enum ProgressState {\n\tStarted = \"Started\",\n\tNotStarted = \"NotStarted\",\n\tFinished = \"Finished\",\n\tError = \"Error\",\n}\n\nexport type PublishProgress = {\n\tstep: string;\n\terror: string;\n\tpercentComplete: number;\n\tstate: ProgressState;\n};\n\nexport enum ApplicationSetupType {\n\tAPP_ADD_SIMPLE,\n\tAPP_ADD_ADVANCED,\n\tAPP_EDIT_SIMPLE,\n\tAPP_EDIT_ADVANCED,\n}\n\nexport enum AuthenticationType {\n\tOAUTH2 = \"OAUTH2\",\n\tPASSWORD = \"PASSWORD\",\n}\n\nexport type AuthenticationProvider = {\n\tname: string;\n\ttype: AuthenticationType;\n\tclient_id: string | null;\n\tsecret: string | null;\n\tenabled: boolean;\n\tredirect_uri: string;\n\tauthorization_endpoint?: string;\n\tscope?: string;\n\tnonce: boolean;\n};\n\nexport type PreloadType = {\n\talias: string;\n\turl: string;\n};\n\nexport type ProjectError = {\n\tviewId: string;\n\tmessage: string;\n};\n\nexport type SmartDesktopDesignerState = {\n\tisGettingStarted: boolean;\n\tpreviousViewId: string | null;\n\tcurrentViewId: string | null;\n\tapps: AppDefinition[];\n\tnewAppId: string | null;\n\tcurrentAppId: string | null;\n\tcurrentAppSetupType: null | ApplicationSetupType;\n\tcurrentPreload: PreloadType | null;\n\tmenus: MenuType;\n\tpreloads: PreloadType[];\n\tprojectInfo: ProjectSaveData;\n\texport: {\n\t\tuuid: string | null;\n\t\tisPublishing: boolean;\n\t\tdeployInfo: DeployInfo | null;\n\t\tpublishError: string | null;\n\t};\n\tauthentication: {\n\t\tproviders: AuthenticationProvider[];\n\t};\n\terrors: ProjectError[];\n\tisReviewingErrors: boolean;\n};\n\nexport type ViewInfo = {\n\tid: string;\n\ticon: FinsembleIconType;\n\tname: string;\n\tcomponent: React.ReactNode;\n\tprops?: any;\n};\n\nexport type ViewSectionInfo = {\n\tshowLabel: boolean;\n\tlabel: string;\n\tviews: ViewInfo[];\n};\n\nexport type MenuObjType = {\n\tdisplayName: string;\n\tapplications: string[];\n\tposition: number;\n};\nexport type MenuType = {\n\t[key: string]: MenuObjType;\n};\n"]}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { WindowIdentifier } from "@finsemble/finsemble-api";
|
|
2
3
|
export declare type ValueOf<T> = T[keyof T];
|
|
3
4
|
export interface EditTabProps {
|
|
4
5
|
tabWidth?: number;
|
|
5
6
|
tab?: TabProperties;
|
|
6
|
-
setActiveTab?: (
|
|
7
|
+
setActiveTab?: () => void;
|
|
7
8
|
children: React.ReactNode;
|
|
8
|
-
|
|
9
|
+
title?: string;
|
|
10
|
+
windowIdentifier: WindowIdentifier;
|
|
9
11
|
}
|
|
10
12
|
export interface TabProperties {
|
|
11
13
|
windowName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"windowTitleBar.js","sourceRoot":"","sources":["../../src/types/windowTitleBar.ts"],"names":[],"mappings":"","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"windowTitleBar.js","sourceRoot":"","sources":["../../src/types/windowTitleBar.ts"],"names":[],"mappings":"","sourcesContent":["import { WindowIdentifier } from \"@finsemble/finsemble-api\";\n\nexport type ValueOf<T> = T[keyof T];\n\nexport interface EditTabProps {\n\ttabWidth?: number;\n\ttab?: TabProperties;\n\tsetActiveTab?: () => void;\n\tchildren: React.ReactNode;\n\ttitle?: string;\n\t// The windowIdentifier indicates which app/component this tab instance should represent\n\twindowIdentifier: WindowIdentifier;\n}\n\nexport interface TabProperties {\n\twindowName: string;\n\tuuid: string;\n\tname?: string;\n\ttitle: string;\n}\n\nexport interface TabListProps {\n\tlistenForDragOver: boolean;\n\tclassName: string;\n\tonTitleUpdated: Function;\n\tonTabDropped: Function;\n\tthisWindowTitle: string;\n\tboundingBox: BoundingBox;\n\ttabs: TabProperties[];\n}\n\ninterface BoundingBox {\n\ttop: number;\n\tbottom: number;\n\tright: number;\n\tleft: number;\n\twidth: number;\n\theight: number;\n}\n\nexport interface TabListState {\n\ttranslateX: number;\n\ttabs: TabProperties[];\n\tactiveTab: TabProperties;\n\tboundingBox: BoundingBox;\n\tiAmDragging: boolean;\n\thoverState: string;\n\ttabWidth: number;\n\thoveredTabIndex: number | undefined;\n}\n\nexport interface GetTabWidthParams {\n\tboundingBox?: BoundingBox;\n\ttabList?: TabProperties[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaceTypes.js","sourceRoot":"","sources":["../../src/types/workspaceTypes.ts"],"names":[],"mappings":"","sourcesContent":["/**\
|
|
1
|
+
{"version":3,"file":"workspaceTypes.js","sourceRoot":"","sources":["../../src/types/workspaceTypes.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * The complete data representation of a Workspace.\n */\nexport type Workspace = {\n\t/** A string uniquely identifying the workspace from other workspaces.\n\t *\n\t * NOTE: Does not differentiate between instances of the same workspace.\n\t * For that, see the `guid` property of the `ActiveWorkspace` type.\n\t */\n\tname: string;\n\tcomponents?: string[];\n};\n\nexport type ImportWorkspace = (evt: Event) => any;\n\nexport interface WorkspaceData {\n\tvalue: {\n\t\t\"finsemble.initialWorkspace\": string;\n\t};\n}\n\nexport interface WorkspaceWindowData {\n\tcomponentType: string;\n\tcustomData: {\n\t\tcomponent: {\n\t\t\ttype: string;\n\t\t};\n\t};\n}\n\nexport interface WorkspaceTemplate {\n\twindows: string[];\n\twindowData: WorkspaceWindowData[];\n}\n"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
const FONT_SIZE_LIST = [
|
|
3
|
-
"xx-small",
|
|
4
|
-
"x-small",
|
|
5
|
-
"small",
|
|
6
|
-
"medium",
|
|
7
|
-
"large",
|
|
8
|
-
"x-large",
|
|
9
|
-
"xx-large",
|
|
10
|
-
"xxx-large",
|
|
11
|
-
"smaller",
|
|
12
|
-
"larger",
|
|
13
|
-
"8px",
|
|
14
|
-
"10px",
|
|
15
|
-
"12px",
|
|
16
|
-
"14px",
|
|
17
|
-
"16px",
|
|
18
|
-
"8pt",
|
|
19
|
-
"10pt",
|
|
20
|
-
"12pt",
|
|
21
|
-
"14pt",
|
|
22
|
-
"0.6em",
|
|
23
|
-
"0.8em",
|
|
24
|
-
"1.2em",
|
|
25
|
-
"1.4em",
|
|
26
|
-
"60%",
|
|
27
|
-
"80%",
|
|
28
|
-
"120%",
|
|
29
|
-
"140%",
|
|
30
|
-
"inherit",
|
|
31
|
-
"initial",
|
|
32
|
-
"unset",
|
|
33
|
-
];
|
|
34
|
-
export const FontSize = ({ id, startSize, updateSize }) => {
|
|
35
|
-
const [size, setSize] = useState(startSize);
|
|
36
|
-
return (React.createElement("div", { className: "font-size-picker" },
|
|
37
|
-
React.createElement("select", Object.assign({}, { id }, { value: size, onChange: (e) => {
|
|
38
|
-
setSize(e.target.value);
|
|
39
|
-
updateSize(e.target.value);
|
|
40
|
-
} }), FONT_SIZE_LIST.map((font_size) => (React.createElement("option", { key: font_size }, font_size))))));
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=FontSizeSelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FontSizeSelector.js","sourceRoot":"","sources":["../../../src/components/common/FontSizeSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAe,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,cAAc,GAAG;IACtB,UAAU;IACV,SAAS;IACT,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,UAAU;IACV,WAAW;IACX,SAAS;IACT,QAAQ;IACR,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,SAAS;IACT,SAAS;IACT,OAAO;CACP,CAAC;AAaF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,UAAU,EAAiB,EAAE,EAAE;IACxE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAE5C,OAAO,CACN,6BAAK,SAAS,EAAC,kBAAkB;QAChC,gDACK,EAAE,EAAE,EAAE,IACV,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAiC,EAAE,EAAE;gBAC/C,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBACxB,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC,KAEA,cAAc,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAClC,gCAAQ,GAAG,EAAE,SAAS,IAAG,SAAS,CAAU,CAC5C,CAAC,CACM,CACJ,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import React, { ChangeEvent, useState } from \"react\";\r\n\r\nconst FONT_SIZE_LIST = [\r\n\t\"xx-small\",\r\n\t\"x-small\",\r\n\t\"small\",\r\n\t\"medium\",\r\n\t\"large\",\r\n\t\"x-large\",\r\n\t\"xx-large\",\r\n\t\"xxx-large\",\r\n\t\"smaller\",\r\n\t\"larger\",\r\n\t\"8px\",\r\n\t\"10px\",\r\n\t\"12px\",\r\n\t\"14px\",\r\n\t\"16px\",\r\n\t\"8pt\",\r\n\t\"10pt\",\r\n\t\"12pt\",\r\n\t\"14pt\",\r\n\t\"0.6em\",\r\n\t\"0.8em\",\r\n\t\"1.2em\",\r\n\t\"1.4em\",\r\n\t\"60%\",\r\n\t\"80%\",\r\n\t\"120%\",\r\n\t\"140%\",\r\n\t\"inherit\",\r\n\t\"initial\",\r\n\t\"unset\",\r\n];\r\n\r\nexport interface FontSizeProps {\r\n\tid?: string;\r\n\tstartSize: string;\r\n\tupdateSize: (newSize: string) => void;\r\n}\r\n\r\n/**\r\n * FontSize component to update theme variables. Text input that validates against browser.\r\n *\r\n * @param {{ id?: string; startSize: string; updateSize: (newSize: string) => void }} { startSize, updateSize }\r\n */\r\nexport const FontSize = ({ id, startSize, updateSize }: FontSizeProps) => {\r\n\tconst [size, setSize] = useState(startSize);\r\n\r\n\treturn (\r\n\t\t<div className=\"font-size-picker\">\r\n\t\t\t<select\r\n\t\t\t\t{...{ id }}\r\n\t\t\t\tvalue={size}\r\n\t\t\t\tonChange={(e: ChangeEvent<HTMLSelectElement>) => {\r\n\t\t\t\t\tsetSize(e.target.value);\r\n\t\t\t\t\tupdateSize(e.target.value);\r\n\t\t\t\t}}\r\n\t\t\t>\r\n\t\t\t\t{FONT_SIZE_LIST.map((font_size) => (\r\n\t\t\t\t\t<option key={font_size}>{font_size}</option>\r\n\t\t\t\t))}\r\n\t\t\t</select>\r\n\t\t</div>\r\n\t);\r\n};\r\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FontSizeProps } from "../FontSizeSelector";
|
|
3
|
-
import "../../../assets/css/finsemble.css";
|
|
4
|
-
import "../css/styles.css";
|
|
5
|
-
import { Story } from "@storybook/react/types-6-0";
|
|
6
|
-
declare const _default: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: ({ id, startSize, updateSize }: FontSizeProps) => JSX.Element;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const EmptyField: Story<FontSizeProps>;
|
|
12
|
-
export declare const Large: Story<FontSizeProps>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FontSize } from "../FontSizeSelector";
|
|
3
|
-
import "../../../assets/css/finsemble.css";
|
|
4
|
-
import "../css/styles.css";
|
|
5
|
-
export default {
|
|
6
|
-
title: "Common/FontSize",
|
|
7
|
-
component: FontSize,
|
|
8
|
-
};
|
|
9
|
-
const Template = (args) => React.createElement(FontSize, Object.assign({}, args));
|
|
10
|
-
export const EmptyField = Template.bind({});
|
|
11
|
-
EmptyField.args = {
|
|
12
|
-
startSize: "",
|
|
13
|
-
updateSize: (newSize) => {
|
|
14
|
-
console.log(newSize);
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
export const Large = Template.bind({});
|
|
18
|
-
Large.args = {
|
|
19
|
-
startSize: "large",
|
|
20
|
-
updateSize: (newSize) => {
|
|
21
|
-
console.log(newSize);
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=FontSizeSelector.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FontSizeSelector.stories.js","sourceRoot":"","sources":["../../../../src/components/common/stories/FontSizeSelector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAiB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mBAAmB,CAAC;AAG3B,eAAe;IACd,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,QAAQ;CACnB,CAAC;AAEF,MAAM,QAAQ,GAAyB,CAAC,IAAmB,EAAE,EAAE,CAAC,oBAAC,QAAQ,oBAAK,IAAI,EAAI,CAAC;AAEvF,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,UAAU,CAAC,IAAI,GAAG;IACjB,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtB,CAAC;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvC,KAAK,CAAC,IAAI,GAAG;IACZ,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;QACvB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtB,CAAC;CACD,CAAC","sourcesContent":["import React from \"react\";\r\nimport { FontSize, FontSizeProps } from \"../FontSizeSelector\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\n\r\nexport default {\r\n\ttitle: \"Common/FontSize\",\r\n\tcomponent: FontSize,\r\n};\r\n\r\nconst Template: Story<FontSizeProps> = (args: FontSizeProps) => <FontSize {...args} />;\r\n\r\nexport const EmptyField = Template.bind({});\r\nEmptyField.args = {\r\n\tstartSize: \"\",\r\n\tupdateSize: (newSize) => {\r\n\t\tconsole.log(newSize);\r\n\t},\r\n};\r\n\r\nexport const Large = Template.bind({});\r\nLarge.args = {\r\n\tstartSize: \"large\",\r\n\tupdateSize: (newSize) => {\r\n\t\tconsole.log(newSize);\r\n\t},\r\n};\r\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
/// <reference types="react" />
|
|
6
|
-
import "../common/css/application-list.css";
|
|
7
|
-
import { services } from "@finsemble/finsemble-core";
|
|
8
|
-
declare type AppDefinition = services.Interop.types.AppDefinition;
|
|
9
|
-
export declare type ApplicationListProps = {
|
|
10
|
-
apps: AppDefinition[];
|
|
11
|
-
clickApp: (s: string) => void;
|
|
12
|
-
deleteApp: (s: string) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare const ApplicationList: ({ apps, clickApp, deleteApp }: ApplicationListProps) => JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import { ButtonIcon } from "../common/ButtonIcon";
|
|
7
|
-
import "../common/css/application-list.css";
|
|
8
|
-
import { Tooltip } from "../common/Tooltip";
|
|
9
|
-
export const ApplicationList = ({ apps, clickApp, deleteApp }) => (React.createElement(React.Fragment, null, apps.length < 1 ? (React.createElement("div", { className: "app-list-empty" },
|
|
10
|
-
"There\u2019s nothing here!",
|
|
11
|
-
React.createElement("br", null),
|
|
12
|
-
"Click the Add button to add apps.")) : (React.createElement("div", { className: "app-list-table", role: "list" }, apps
|
|
13
|
-
.sort((a, b) => {
|
|
14
|
-
if (a.name > b.name) {
|
|
15
|
-
return 1;
|
|
16
|
-
}
|
|
17
|
-
else if (b.name > a.name) {
|
|
18
|
-
return -1;
|
|
19
|
-
}
|
|
20
|
-
return 0;
|
|
21
|
-
})
|
|
22
|
-
.map((appDEntry) => {
|
|
23
|
-
var _a, _b;
|
|
24
|
-
const appID = appDEntry.appId;
|
|
25
|
-
const openAppEventHandler = (e) => {
|
|
26
|
-
clickApp(appID);
|
|
27
|
-
e.preventDefault();
|
|
28
|
-
};
|
|
29
|
-
const deleteAppEventHandler = (e) => {
|
|
30
|
-
e.stopPropagation();
|
|
31
|
-
deleteApp(appID);
|
|
32
|
-
};
|
|
33
|
-
const keyDownHandler = (e) => {
|
|
34
|
-
switch (e.key) {
|
|
35
|
-
case "Enter": {
|
|
36
|
-
}
|
|
37
|
-
case " ": {
|
|
38
|
-
openAppEventHandler(e);
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
case "Delete": {
|
|
42
|
-
deleteAppEventHandler(e);
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
default: {
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
const displayName = ((_b = (_a = appDEntry.manifest) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.displayName) || appDEntry.name || appID;
|
|
50
|
-
return (React.createElement("div", { key: appID, id: `app-list-row-${appID}`, className: "app-list-row", role: "listitem", tabIndex: 0, onClick: openAppEventHandler, onKeyDown: keyDownHandler },
|
|
51
|
-
React.createElement("span", { className: "app-name" }, displayName),
|
|
52
|
-
React.createElement("div", { className: "icon-bar" },
|
|
53
|
-
appDEntry.icons ? (React.createElement(Tooltip, { altClassName: "icon-warning", position: "left" }, "This app group is empty.")) : (""),
|
|
54
|
-
React.createElement(ButtonIcon, { tabIndex: -1, className: "icon-delete", icon: "trash", text: "Delete", onClick: deleteAppEventHandler }))));
|
|
55
|
-
})))));
|
|
56
|
-
//# sourceMappingURL=ApplicationList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationList.js","sourceRoot":"","sources":["../../../src/components/smartDesktopDesigner/ApplicationList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAW5C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAwB,EAAE,EAAE,CAAC,CACvF,0CACE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAClB,6BAAK,SAAS,EAAC,gBAAgB;;IAE9B,+BAAM;wCAED,CACN,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,MAAM,IACzC,IAAI;KACH,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;IACd,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE;QACpB,OAAO,CAAC,CAAC;KACT;SAAM,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE;QAC3B,OAAO,CAAC,CAAC,CAAC;KACV;IAED,OAAO,CAAC,CAAC;AACV,CAAC,CAAC;KACD,GAAG,CAAC,CAAC,SAAwB,EAAE,EAAE;;IACjC,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;IAE9B,MAAM,mBAAmB,GAAG,CAAC,CAA2D,EAAE,EAAE;QAC3F,QAAQ,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,cAAc,EAAE,CAAC;IACpB,CAAC,CAAC;IACF,MAAM,qBAAqB,GAAG,CAAC,CAA2D,EAAE,EAAE;QAC7F,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,SAAS,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC;IACF,MAAM,cAAc,GAAG,CAAC,CAAsC,EAAE,EAAE;QACjE,QAAQ,CAAC,CAAC,GAAG,EAAE;YACd,KAAK,OAAO,CAAC,CAAC;aACb;YACD,KAAK,GAAG,CAAC,CAAC;gBACT,mBAAmB,CAAC,CAAC,CAAC,CAAC;gBACvB,MAAM;aACN;YACD,KAAK,QAAQ,CAAC,CAAC;gBACd,qBAAqB,CAAC,CAAC,CAAC,CAAC;gBACzB,MAAM;aACN;YACD,OAAO,CAAC,CAAC;aACR;SACD;IACF,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,CAAA,MAAA,MAAA,SAAS,CAAC,QAAQ,0CAAE,SAAS,0CAAE,WAAW,KAAI,SAAS,CAAC,IAAI,IAAI,KAAK,CAAC;IAE1F,OAAO,CACN,6BACC,GAAG,EAAE,KAAK,EACV,EAAE,EAAE,gBAAgB,KAAK,EAAE,EAC3B,SAAS,EAAC,cAAc,EACxB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,mBAAmB,EAC5B,SAAS,EAAE,cAAc;QAEzB,8BAAM,SAAS,EAAC,UAAU,IAAE,WAAW,CAAQ;QAC/C,6BAAK,SAAS,EAAC,UAAU;YACvB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAClB,oBAAC,OAAO,IAAC,YAAY,EAAC,cAAc,EAAC,QAAQ,EAAC,MAAM,+BAE1C,CACV,CAAC,CAAC,CAAC,CACH,EAAE,CACF;YACD,oBAAC,UAAU,IACV,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAC,aAAa,EACvB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,qBAAqB,GAC7B,CACG,CACD,CACN,CAAC;AACH,CAAC,CAAC,CACE,CACN,CACC,CACH,CAAC","sourcesContent":["/*!\r\n * Copyright 2017 - 2020 by ChartIQ, Inc.\r\n * All rights reserved.\r\n */\r\n\r\nimport React from \"react\";\r\nimport { ButtonIcon } from \"../common/ButtonIcon\";\r\nimport \"../common/css/application-list.css\";\r\nimport { Tooltip } from \"../common/Tooltip\";\r\nimport { services } from \"@finsemble/finsemble-core\";\r\n\r\ntype AppDefinition = services.Interop.types.AppDefinition;\r\n\r\nexport type ApplicationListProps = {\r\n\tapps: AppDefinition[];\r\n\tclickApp: (s: string) => void;\r\n\tdeleteApp: (s: string) => void;\r\n};\r\n\r\nexport const ApplicationList = ({ apps, clickApp, deleteApp }: ApplicationListProps) => (\r\n\t<>\r\n\t\t{apps.length < 1 ? (\r\n\t\t\t<div className=\"app-list-empty\">\r\n\t\t\t\tThere’s nothing here!\r\n\t\t\t\t<br />\r\n\t\t\t\tClick the Add button to add apps.\r\n\t\t\t</div>\r\n\t\t) : (\r\n\t\t\t<div className=\"app-list-table\" role=\"list\">\r\n\t\t\t\t{apps\r\n\t\t\t\t\t.sort((a, b) => {\r\n\t\t\t\t\t\tif (a.name > b.name) {\r\n\t\t\t\t\t\t\treturn 1;\r\n\t\t\t\t\t\t} else if (b.name > a.name) {\r\n\t\t\t\t\t\t\treturn -1;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\treturn 0;\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.map((appDEntry: AppDefinition) => {\r\n\t\t\t\t\t\tconst appID = appDEntry.appId;\r\n\r\n\t\t\t\t\t\tconst openAppEventHandler = (e: React.MouseEvent<Element> | React.KeyboardEvent<Element>) => {\r\n\t\t\t\t\t\t\tclickApp(appID);\r\n\t\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tconst deleteAppEventHandler = (e: React.MouseEvent<Element> | React.KeyboardEvent<Element>) => {\r\n\t\t\t\t\t\t\te.stopPropagation();\r\n\t\t\t\t\t\t\tdeleteApp(appID);\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tconst keyDownHandler = (e: React.KeyboardEvent<HTMLDivElement>) => {\r\n\t\t\t\t\t\t\tswitch (e.key) {\r\n\t\t\t\t\t\t\t\tcase \"Enter\": {\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tcase \" \": {\r\n\t\t\t\t\t\t\t\t\topenAppEventHandler(e);\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tcase \"Delete\": {\r\n\t\t\t\t\t\t\t\t\tdeleteAppEventHandler(e);\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdefault: {\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\tconst displayName = appDEntry.manifest?.component?.displayName || appDEntry.name || appID;\r\n\r\n\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\tkey={appID}\r\n\t\t\t\t\t\t\t\tid={`app-list-row-${appID}`}\r\n\t\t\t\t\t\t\t\tclassName=\"app-list-row\"\r\n\t\t\t\t\t\t\t\trole=\"listitem\"\r\n\t\t\t\t\t\t\t\ttabIndex={0}\r\n\t\t\t\t\t\t\t\tonClick={openAppEventHandler}\r\n\t\t\t\t\t\t\t\tonKeyDown={keyDownHandler}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t<span className=\"app-name\">{displayName}</span>\r\n\t\t\t\t\t\t\t\t<div className=\"icon-bar\">\r\n\t\t\t\t\t\t\t\t\t{appDEntry.icons ? (\r\n\t\t\t\t\t\t\t\t\t\t<Tooltip altClassName=\"icon-warning\" position=\"left\">\r\n\t\t\t\t\t\t\t\t\t\t\tThis app group is empty.\r\n\t\t\t\t\t\t\t\t\t\t</Tooltip>\r\n\t\t\t\t\t\t\t\t\t) : (\r\n\t\t\t\t\t\t\t\t\t\t\"\"\r\n\t\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t\t\t\t<ButtonIcon\r\n\t\t\t\t\t\t\t\t\t\ttabIndex={-1}\r\n\t\t\t\t\t\t\t\t\t\tclassName=\"icon-delete\"\r\n\t\t\t\t\t\t\t\t\t\ticon=\"trash\"\r\n\t\t\t\t\t\t\t\t\t\ttext=\"Delete\"\r\n\t\t\t\t\t\t\t\t\t\tonClick={deleteAppEventHandler}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t})}\r\n\t\t\t</div>\r\n\t\t)}\r\n\t</>\r\n);\r\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ApplicationListProps } from "../ApplicationList";
|
|
3
|
-
import "../../../assets/css/finsemble.css";
|
|
4
|
-
import "../../common/css/styles.css";
|
|
5
|
-
import { Story } from "@storybook/react/types-6-0";
|
|
6
|
-
declare const _default: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: ({ apps, clickApp, deleteApp }: ApplicationListProps) => JSX.Element;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const EmptyAppList: Story<ApplicationListProps>;
|
|
12
|
-
export declare const OneAppInList: Story<ApplicationListProps>;
|
|
13
|
-
export declare const AppWithoutDisplayName: Story<ApplicationListProps>;
|
|
14
|
-
export declare const SampleAppList: Story<ApplicationListProps>;
|
|
15
|
-
export declare const appsWithWarnings: Story<ApplicationListProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationList.stories.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/stories/ApplicationList.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import React from \"react\";\r\nimport { ApplicationList, ApplicationListProps } from \"../ApplicationList\";\r\nimport \"../../../assets/css/finsemble.css\";\r\nimport \"../../common/css/styles.css\";\r\nimport { Story } from \"@storybook/react/types-6-0\";\r\nimport { action } from \"@storybook/addon-actions\";\r\n\r\nexport default {\r\n\ttitle: \"Smart Desktop Designer/ApplicationList\",\r\n\tcomponent: ApplicationList,\r\n};\r\n\r\nconst Template: Story<ApplicationListProps> = (args: ApplicationListProps) => <ApplicationList {...args} />;\r\nconst sampleApps = [\r\n\t{\r\n\t\tappId: \"1\",\r\n\t\tname: \"1\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Hello World\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"Example\",\r\n\t\tname: \"Example\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Example\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"NoDisplayName\",\r\n\t\tname: \"NoDisplayName\",\r\n\t},\r\n];\r\nconst warningApps = [\r\n\t{\r\n\t\tappId: \"1\",\r\n\t\tname: \"1\",\r\n\t\tcomponents: {\r\n\t\t\tdisplayName: \"Hello World\",\r\n\t\t},\r\n\t},\r\n\t{\r\n\t\tappId: \"NoDisplayName\",\r\n\t\tname: \"NoDisplayName\",\r\n\t},\r\n\t{\r\n\t\tappId: \"Test\",\r\n\t\tname: \"Test\",\r\n\t\ticon: \"warning\",\r\n\t},\r\n];\r\nconst clickApp = action(\"Clicked app\");\r\n\r\nconst deleteApp = (appID: string) => {\r\n\tconst element = document.getElementById(`app-list-row-${appID}`);\r\n\telement?.parentNode?.removeChild(element);\r\n};\r\n\r\nexport const EmptyAppList = Template.bind({});\r\nEmptyAppList.args = {\r\n\tapps: [],\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const OneAppInList = Template.bind({});\r\nOneAppInList.args = {\r\n\tapps: sampleApps.slice(0, 1),\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const AppWithoutDisplayName = Template.bind({});\r\nAppWithoutDisplayName.args = {\r\n\tapps: sampleApps.slice(2, 3),\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nconst deepClone = (json: object | object[]) => JSON.parse(JSON.stringify(json));\r\nconst longList = deepClone(sampleApps);\r\n\r\nexport const SampleAppList = Template.bind({});\r\nSampleAppList.args = {\r\n\tapps: longList,\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n\r\nexport const appsWithWarnings = Template.bind({});\r\nappsWithWarnings.args = {\r\n\tapps: warningApps,\r\n\tclickApp,\r\n\tdeleteApp,\r\n};\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationList.spec.js","sourceRoot":"","sources":["../../../../src/components/smartDesktopDesigner/tests/ApplicationList.spec.tsx"],"names":[],"mappings":"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","sourcesContent":["import * as React from \"react\";\r\nimport { mount } from \"enzyme\";\r\nimport { afterEach, describe, it } from \"mocha\";\r\nimport { expect } from \"chai\";\r\nimport sinon from \"sinon\";\r\nimport { ApplicationListProps } from \"../ApplicationList\";\r\nimport { EmptyAppList, OneAppInList, AppWithoutDisplayName, SampleAppList } from \"../stories/ApplicationList.stories\";\r\nimport { accessibilityAssessor } from \"./a11y_helper\";\r\n\r\n// Necessary to allow sinon to work with mocked actions (which are shown in the Actions panel in Storybook)\r\nimport addons, { mockChannel } from \"@storybook/addons\";\r\naddons.setChannel(mockChannel());\r\n\r\ndescribe(\"<ApplicationList/>\", () => {\r\n\tafterEach(() => {\r\n\t\tsinon.restore();\r\n\t});\r\n\r\n\tit(\"should pass accessibility scans (when empty)\", async () => {\r\n\t\tconst wrapper = mount(<EmptyAppList {...(EmptyAppList.args as ApplicationListProps)} />);\r\n\r\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\r\n\t});\r\n\r\n\tit(\"should pass accessibility scans (Sample)\", async () => {\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\r\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\r\n\t});\r\n\r\n\tit(\"should show a zero state message when there are no apps to display\", () => {\r\n\t\tconst wrapper = mount(<EmptyAppList {...(EmptyAppList.args as ApplicationListProps)} />);\r\n\r\n\t\texpect(wrapper.find(\".app-list-empty\").first().text()).to.contain(\"There’s nothing here\");\r\n\t});\r\n\r\n\tit(\"should show an app title and a delete icon when 1 app is provided\", () => {\r\n\t\tconst wrapper = mount(<OneAppInList {...(OneAppInList.args as ApplicationListProps)} />);\r\n\r\n\t\texpect(wrapper.find(\".app-list-row .app-name\").exists()).to.be.true;\r\n\t\texpect(wrapper.find(\".app-list-row .icon-delete\").exists()).to.be.true;\r\n\t});\r\n\r\n\tit(\"should show an appId if no displayname is provided\", () => {\r\n\t\tconst wrapper = mount(<AppWithoutDisplayName {...(AppWithoutDisplayName.args as ApplicationListProps)} />);\r\n\t\texpect(wrapper.find(\".app-list-row .app-name\").text()).to.equal(\"NoDisplayName\");\r\n\t});\r\n\tit(\"should show 3 apps when 3 apps are provided\", () => {\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\texpect(wrapper.find(\".app-list-row\")).to.have.lengthOf(3);\r\n\t});\r\n\tit(\"should delete an app when the delete button is clicked\", () => {\r\n\t\tconst buttonSpy = sinon.spy(SampleAppList.args as ApplicationListProps, \"deleteApp\");\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\twrapper\r\n\t\t\t.find(\".app-list-row button\")\r\n\t\t\t.at(0)\r\n\t\t\t.simulate(\"click\", { stopPropagation: () => {} });\r\n\t\texpect(buttonSpy.calledOnce).to.be.true;\r\n\t});\r\n\tit(\"should perform the launch action when the app name is clicked\", () => {\r\n\t\tconst buttonSpy = sinon.spy(SampleAppList.args as ApplicationListProps, \"clickApp\");\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\twrapper\r\n\t\t\t.find(\".app-list-row\")\r\n\t\t\t.at(0)\r\n\t\t\t.simulate(\"click\", { preventDefault: () => {} });\r\n\t\texpect(buttonSpy.calledOnce).to.be.true;\r\n\t});\r\n\tit(\"should perform the launch action when the app name is in focus and the Enter key is pressed\", () => {\r\n\t\tconst buttonSpy = sinon.spy(SampleAppList.args as ApplicationListProps, \"clickApp\");\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\twrapper\r\n\t\t\t.find(\".app-list-row\")\r\n\t\t\t.at(0)\r\n\t\t\t.simulate(\"keyDown\", {\r\n\t\t\t\tkey: \"Enter\",\r\n\t\t\t\tpreventDefault: () => {},\r\n\t\t\t});\r\n\t\texpect(buttonSpy.calledOnce).to.be.true;\r\n\t});\r\n\tit(\"should perform the launch action when the app name is in focus and the spacebar is pressed\", () => {\r\n\t\tconst buttonSpy = sinon.spy(SampleAppList.args as ApplicationListProps, \"clickApp\");\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\twrapper\r\n\t\t\t.find(\".app-list-row\")\r\n\t\t\t.at(0)\r\n\t\t\t.simulate(\"keyDown\", {\r\n\t\t\t\tkey: \" \",\r\n\t\t\t\tpreventDefault: () => {},\r\n\t\t\t});\r\n\t\texpect(buttonSpy.calledOnce).to.be.true;\r\n\t});\r\n\tit(\"should delete an app when the app name is in focus and the delete key is pressed\", () => {\r\n\t\tconst buttonSpy = sinon.spy(SampleAppList.args as ApplicationListProps, \"deleteApp\");\r\n\t\tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t\twrapper\r\n\t\t\t.find(\".app-list-row\")\r\n\t\t\t.at(0)\r\n\t\t\t.simulate(\"keyDown\", {\r\n\t\t\t\tkey: \"Delete\",\r\n\t\t\t\tstopPropagation: () => {},\r\n\t\t\t});\r\n\t\texpect(buttonSpy.calledOnce).to.be.true;\r\n\t});\r\n\t// it(\"should not perform the launch action when the delete name is clicked\", () => {\r\n\t// \tconst wrapper = mount(<SampleAppList {...(SampleAppList.args as ApplicationListProps)} />);\r\n\t// });\r\n});\r\n"]}
|