@finsemble/finsemble-ui 6.6.1 → 7.0.0-beta-X
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +31 -43
- package/react/actions/favoriteActions.d.ts +1 -0
- package/react/actions/favoriteActions.js +1 -0
- package/react/actions/favoriteActions.js.map +1 -1
- package/react/actions/menuActions.d.ts +1 -0
- package/react/actions/menuActions.js +1 -0
- package/react/actions/menuActions.js.map +1 -1
- package/react/actions/rootActions.d.ts +1 -0
- package/react/actions/rootActions.js +1 -0
- package/react/actions/rootActions.js.map +1 -1
- package/react/actions/searchActions.d.ts +1 -0
- package/react/actions/searchActions.js +1 -0
- package/react/actions/searchActions.js.map +1 -1
- package/react/actions/toolbarActions.d.ts +34 -0
- package/react/actions/toolbarActions.js +17 -0
- package/react/actions/toolbarActions.js.map +1 -1
- package/react/actions/workspaceActions.d.ts +1 -0
- package/react/actions/workspaceActions.js +1 -0
- package/react/actions/workspaceActions.js.map +1 -1
- package/react/assets/css/advancedAppLauncher.css +22 -19
- package/react/assets/css/appCatalog.css +67 -72
- package/react/assets/css/authentication.css +4 -3
- package/react/assets/css/button.css +4 -11
- package/react/assets/css/core/formElements.css +1 -1
- package/react/assets/css/core/icons.css +3 -2
- package/react/assets/css/core/notifications.css +2 -2
- package/react/assets/css/core/windowFrame.css +9 -9
- package/react/assets/css/dashbar.css +1 -1
- package/react/assets/css/defaultTheme.css +9 -53
- package/react/assets/css/dialogs.css +13 -11
- package/react/assets/css/favorites.css +3 -48
- package/react/assets/css/finsemble.css +6 -2
- package/react/assets/css/font-finance.css +233 -120
- package/react/assets/css/fonts/Open_Sans/OpenSans-Definition.css +10 -10
- package/react/assets/css/linkerWindow.css +15 -3
- package/react/assets/css/menus.css +12 -12
- package/react/assets/css/notificationsCenter.css +49 -33
- package/react/assets/css/processMonitor.css +7 -4
- package/react/assets/css/search.css +1 -1
- package/react/assets/css/shared/animations.css +10 -4
- package/react/assets/css/shared/common.css +40 -0
- package/react/assets/css/tags.css +10 -10
- package/react/assets/css/toolbar.css +22 -19
- package/react/assets/css/userPreferences.css +29 -26
- package/react/assets/css/windowTitleBar.css +86 -40
- package/react/assets/icons/server.svg +26 -0
- package/react/componentTemplateGenerator.js +3 -2
- package/react/componentTemplateGenerator.js.map +1 -1
- package/react/components/FinsembleProvider.d.ts +7 -0
- package/react/components/FinsembleProvider.js +2 -0
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/AppCatalog.d.ts +4 -0
- package/react/components/appCatalog/AppCatalog.js +4 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +58 -0
- package/react/components/appCatalog/AppCatalogComponent.js +70 -1
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +35 -0
- package/react/components/appCatalog/components/AppCard.js +42 -0
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +10 -0
- package/react/components/appCatalog/components/AppResults.js +24 -0
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +26 -0
- package/react/components/appCatalog/components/Carousel.js +34 -0
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +4 -0
- package/react/components/appCatalog/components/EmptyResults.js +8 -0
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
- package/react/components/appCatalog/components/Hero.d.ts +15 -0
- package/react/components/appCatalog/components/Hero.js +15 -0
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +6 -4
- package/react/components/appCatalog/components/Home.js +10 -0
- package/react/components/appCatalog/components/Home.js.map +1 -1
- package/react/components/appCatalog/components/SearchBar.d.ts +31 -0
- package/react/components/appCatalog/components/SearchBar.js +33 -0
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +5 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js +9 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +7 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +15 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +17 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +25 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +7 -0
- package/react/components/appCatalog/components/Showcase/Header.js +12 -0
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +7 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +11 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +10 -0
- package/react/components/appCatalog/components/Showcase/Modal.js +10 -0
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +5 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +9 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +6 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +11 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +5 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +9 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -1
- package/react/components/appCatalog/components/Tag.d.ts +6 -0
- package/react/components/appCatalog/components/Tag.js +10 -0
- package/react/components/appCatalog/components/Tag.js.map +1 -1
- package/react/components/appCatalog/components/Toast.d.ts +5 -0
- package/react/components/appCatalog/components/Toast.js +9 -0
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.js +1 -0
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +5 -0
- package/react/components/appCatalog/modules/AppDirectory.js +5 -0
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.d.ts +37 -0
- package/react/components/appCatalog/modules/FDC3.js +40 -0
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.js +1 -0
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +91 -0
- package/react/components/appCatalog/stores/storeActions.js +116 -1
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/common/ButtonIcon.js +1 -1
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.js +2 -2
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.js +3 -3
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ColorPicker.d.ts +5 -0
- package/react/components/common/ColorPicker.js +56 -15
- package/react/components/common/ColorPicker.js.map +1 -1
- package/react/components/common/DropZone.d.ts +11 -0
- package/react/components/common/DropZone.js +21 -1
- package/react/components/common/DropZone.js.map +1 -1
- package/react/components/common/DropdownButton.d.ts +4 -0
- package/react/components/common/DropdownButton.js +4 -0
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +34 -0
- package/react/components/common/ErrorBoundary.js +43 -0
- package/react/components/common/ErrorBoundary.js.map +1 -0
- package/react/components/common/FileInput.d.ts +8 -1
- package/react/components/common/FileInput.js +19 -4
- package/react/components/common/FileInput.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +13 -2
- package/react/components/common/FinsembleIcon.js +61 -5
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleLink.d.ts +6 -0
- package/react/components/common/FinsembleLink.js +12 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/FinsembleSelect.js +5 -1
- package/react/components/common/FinsembleSelect.js.map +1 -1
- package/react/components/common/FinsembleToggle.d.ts +1 -2
- package/react/components/common/FinsembleToggle.js +2 -6
- package/react/components/common/FinsembleToggle.js.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.d.ts +13 -0
- package/react/components/common/FinsembleToggleButtonBar.js +44 -0
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -0
- package/react/components/common/InputTable.d.ts +10 -3
- package/react/components/common/InputTable.js +20 -13
- package/react/components/common/InputTable.js.map +1 -1
- package/react/components/common/Tab.js +36 -5
- package/react/components/common/Tab.js.map +1 -1
- package/react/components/common/TimeSelect.js +34 -3
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/Tooltip.js +2 -0
- package/react/components/common/Tooltip.js.map +1 -1
- package/react/components/common/css/FinsembleToggle.css +22 -0
- package/react/components/common/css/accordion.css +9 -6
- package/react/components/common/css/application-edit-page.css +48 -45
- package/react/components/common/css/button.css +10 -5
- package/react/components/common/css/color-picker.css +3 -3
- package/react/components/common/css/drop-zone.css +2 -6
- package/react/components/common/css/file-input.css +5 -5
- package/react/components/common/css/header.css +3 -2
- package/react/components/common/css/icon.css +1 -1
- package/react/components/common/css/loading-spinner.css +7 -12
- package/react/components/common/css/selector.css +4 -4
- package/react/components/common/css/styles.css +22 -16
- package/react/components/common/css/tab.css +14 -14
- package/react/components/common/css/time-select.css +2 -1
- package/react/components/common/css/toggle.css +4 -12
- package/react/components/common/css/tooltip.css +2 -3
- package/react/components/common/file_helpers.js +2 -0
- package/react/components/common/file_helpers.js.map +1 -1
- package/react/components/common/helpers.js +12 -1
- package/react/components/common/helpers.js.map +1 -1
- package/react/components/common/stories/ColorPicker.stories.js +9 -11
- package/react/components/common/stories/ColorPicker.stories.js.map +1 -1
- package/react/components/common/stories/FileInput.stories.d.ts +3 -1
- package/react/components/common/stories/FileInput.stories.js +12 -0
- package/react/components/common/stories/FileInput.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleToggle.stories.d.ts +1 -2
- package/react/components/common/stories/FinsembleToggle.stories.js +0 -7
- package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.d.ts +14 -0
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js +97 -0
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js.map +1 -0
- package/react/components/common/stories/InputTable.stories.d.ts +4 -3
- package/react/components/common/stories/InputTable.stories.js +18 -8
- package/react/components/common/stories/InputTable.stories.js.map +1 -1
- package/react/components/common/tests/Accordion.spec.js +6 -0
- package/react/components/common/tests/Accordion.spec.js.map +1 -1
- package/react/components/common/tests/ButtonRow.spec.js +5 -0
- package/react/components/common/tests/ButtonRow.spec.js.map +1 -1
- package/react/components/common/tests/Checkbox.spec.js +1 -0
- package/react/components/common/tests/Checkbox.spec.js.map +1 -1
- package/react/components/common/tests/ColorPicker.spec.js +6 -0
- package/react/components/common/tests/ColorPicker.spec.js.map +1 -1
- package/react/components/common/tests/DropZone.spec.js +1 -0
- package/react/components/common/tests/DropZone.spec.js.map +1 -1
- package/react/components/common/tests/FileInput.spec.js +22 -0
- package/react/components/common/tests/FileInput.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleSelect.spec.js +1 -0
- package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleToggle.spec.js +2 -6
- package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -1
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js +41 -0
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js.map +1 -0
- package/react/components/common/tests/InputTable.spec.js +3 -3
- package/react/components/common/tests/InputTable.spec.js.map +1 -1
- package/react/components/common/tests/TimeSelect.spec.js +4 -0
- package/react/components/common/tests/TimeSelect.spec.js.map +1 -1
- package/react/components/common/tests/Tooltip.spec.js +16 -0
- package/react/components/common/tests/Tooltip.spec.js.map +1 -1
- package/react/components/favorites/FavoriteMaker.d.ts +8 -0
- package/react/components/favorites/FavoriteMaker.js +10 -1
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +4 -0
- package/react/components/favorites/FavoritesShell.js +13 -1
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/favorites/FavoritesShell.spec.js +3 -0
- package/react/components/favorites/FavoritesShell.spec.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js +12 -7
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.css +16 -3
- package/react/components/fdc3Resolver/ResolverDialog.js +7 -2
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +3 -2
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +2 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -1
- package/react/components/icon/Icon.d.ts +14 -1
- package/react/components/icon/Icon.js +42 -1
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.d.ts +4 -0
- package/react/components/legacyControls/FinsembleDialog.js +16 -1
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +3 -0
- package/react/components/legacyControls/FinsembleDialogButton.js +6 -1
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +7 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js +7 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +3 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js +14 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +19 -0
- package/react/components/legacyControls/FinsembleDnDContext.js +133 -8
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +3 -0
- package/react/components/legacyControls/FinsembleDraggable.js +3 -0
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +15 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js +26 -1
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -1
- package/react/components/legacyControls/FinsembleMenuSection.d.ts +4 -0
- package/react/components/legacyControls/FinsembleMenuSection.js +38 -0
- package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -1
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -1
- package/react/components/linker/LinkerMenu.d.ts +3 -0
- package/react/components/linker/LinkerMenu.js +21 -0
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +3 -0
- package/react/components/linker/LinkerMenuDeprecated.js +9 -0
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/remoteRedux.js +1 -0
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +15 -0
- package/react/components/menu/Menu.js +15 -0
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +7 -0
- package/react/components/menu/MenuAutoResizer.js +27 -0
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +4 -0
- package/react/components/menu/MenuContent.js +4 -0
- package/react/components/menu/MenuContent.js.map +1 -1
- package/react/components/menu/MenuHotKey.d.ts +14 -0
- package/react/components/menu/MenuHotKey.js +15 -0
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +8 -0
- package/react/components/menu/MenuItem.js +13 -2
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.js +125 -24
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +16 -0
- package/react/components/menu/MenuShell.js +26 -0
- package/react/components/menu/MenuShell.js.map +1 -1
- package/react/components/menu/MenuToggle.d.ts +3 -0
- package/react/components/menu/MenuToggle.js +5 -2
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/keyboardNavigation.d.ts +13 -22
- package/react/components/menu/keyboardNavigation.js +165 -160
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +6 -0
- package/react/components/menu/menuContext.js +6 -0
- package/react/components/menu/menuContext.js.map +1 -1
- package/react/components/menu/menuHelpers.d.ts +22 -0
- package/react/components/menu/menuHelpers.js +58 -1
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerControls.js +47 -25
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerHeader.js +5 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +37 -6
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +17 -10
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.js +19 -8
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +9 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js +15 -7
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.d.ts +4 -0
- package/react/components/notifications/components/shared/OverflowMenu.js +16 -2
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +2 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +2 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.js +8 -3
- package/react/components/notifications/components/views/CardView.js.map +1 -1
- package/react/components/notifications/components/views/ListView.js +11 -1
- package/react/components/notifications/components/views/ListView.js.map +1 -1
- package/react/components/notifications/notificationsContext.d.ts +4 -0
- package/react/components/notifications/notificationsContext.js +4 -0
- package/react/components/notifications/notificationsContext.js.map +1 -1
- package/react/components/notifications/types.d.ts +6 -0
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +4 -0
- package/react/components/notifications/utils.js +4 -0
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +3 -0
- package/react/components/processMonitor/ProcessMonitor.js +21 -3
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +3 -0
- package/react/components/processMonitor/components/ChildWindow.js +5 -0
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +5 -0
- package/react/components/processMonitor/components/ListHeader.js +7 -0
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.js +12 -3
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.js +6 -0
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +13 -0
- package/react/components/processMonitor/helpers.js +27 -6
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/helpers.spec.js +7 -3
- package/react/components/processMonitor/helpers.spec.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +39 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +50 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +3 -0
- package/react/components/quickComponentForm/QuickComponentForm.js +20 -0
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/quickComponent.css +1 -1
- package/react/components/sdd/AddApp.d.ts +7 -4
- package/react/components/sdd/AddApp.js +144 -34
- package/react/components/sdd/AddApp.js.map +1 -1
- package/react/components/sdd/AppEditAccess.d.ts +4 -3
- package/react/components/sdd/AppEditAccess.js +8 -0
- package/react/components/sdd/AppEditAccess.js.map +1 -1
- package/react/components/sdd/AppEditPage.d.ts +6 -4
- package/react/components/sdd/AppEditPage.js +205 -393
- package/react/components/sdd/AppEditPage.js.map +1 -1
- package/react/components/sdd/Appearance.css +1 -1
- package/react/components/sdd/Appearance.d.ts +2 -1
- package/react/components/sdd/Appearance.js +18 -7
- package/react/components/sdd/Appearance.js.map +1 -1
- package/react/components/sdd/Application.d.ts +5 -4
- package/react/components/sdd/Application.js +94 -44
- package/react/components/sdd/Application.js.map +1 -1
- package/react/components/sdd/Applications.d.ts +12 -11
- package/react/components/sdd/Applications.js +110 -15
- package/react/components/sdd/Applications.js.map +1 -1
- package/react/components/sdd/AssetsPage.css +3 -3
- package/react/components/sdd/Authentication.js +1 -6
- package/react/components/sdd/Authentication.js.map +1 -1
- package/react/components/sdd/AuthenticationProviderConfig.js +5 -3
- package/react/components/sdd/AuthenticationProviderConfig.js.map +1 -1
- package/react/components/sdd/EditPreload.d.ts +4 -3
- package/react/components/sdd/EditPreload.js +49 -22
- package/react/components/sdd/EditPreload.js.map +1 -1
- package/react/components/sdd/Export.d.ts +7 -6
- package/react/components/sdd/Export.js +4 -3
- package/react/components/sdd/Export.js.map +1 -1
- package/react/components/sdd/ExportCloud.js +4 -0
- package/react/components/sdd/ExportCloud.js.map +1 -1
- package/react/components/sdd/GettingStarted.js +3 -3
- package/react/components/sdd/GettingStarted.js.map +1 -1
- package/react/components/sdd/Navigation.js +28 -4
- package/react/components/sdd/Navigation.js.map +1 -1
- package/react/components/sdd/OptionalSettingsView.d.ts +6 -5
- package/react/components/sdd/OptionalSettingsView.js +2 -10
- package/react/components/sdd/OptionalSettingsView.js.map +1 -1
- package/react/components/sdd/ProjectErrors.js +1 -1
- package/react/components/sdd/ProjectErrors.js.map +1 -1
- package/react/components/sdd/Publish.js +4 -2
- package/react/components/sdd/Publish.js.map +1 -1
- package/react/components/sdd/PublishProgress.js +11 -1
- package/react/components/sdd/PublishProgress.js.map +1 -1
- package/react/components/sdd/SmartDesktopDesigner.d.ts +17 -16
- package/react/components/sdd/SmartDesktopDesigner.js +54 -34
- package/react/components/sdd/SmartDesktopDesigner.js.map +1 -1
- package/react/components/sdd/ThemePage.css +6 -23
- package/react/components/sdd/ThemePage.js +8 -5
- package/react/components/sdd/ThemePage.js.map +1 -1
- package/react/components/sdd/Themes.d.ts +2 -1
- package/react/components/sdd/Themes.js +4 -2
- package/react/components/sdd/Themes.js.map +1 -1
- package/react/components/sdd/Toolbar.d.ts +5 -4
- package/react/components/sdd/Toolbar.js +18 -9
- package/react/components/sdd/Toolbar.js.map +1 -1
- package/react/components/sdd/appEditPage/Behavior.d.ts +34 -0
- package/react/components/sdd/appEditPage/Behavior.js +134 -0
- package/react/components/sdd/appEditPage/Behavior.js.map +1 -0
- package/react/components/sdd/appEditPage/Component.d.ts +22 -0
- package/react/components/sdd/appEditPage/Component.js +76 -0
- package/react/components/sdd/appEditPage/Component.js.map +1 -0
- package/react/components/sdd/appEditPage/DebugToolkit.d.ts +9 -0
- package/react/components/sdd/appEditPage/DebugToolkit.js +20 -0
- package/react/components/sdd/appEditPage/DebugToolkit.js.map +1 -0
- package/react/components/sdd/appEditPage/Interop.d.ts +10 -0
- package/react/components/sdd/appEditPage/Interop.js +40 -0
- package/react/components/sdd/appEditPage/Interop.js.map +1 -0
- package/react/components/sdd/appEditPage/Position.d.ts +18 -0
- package/react/components/sdd/appEditPage/Position.js +72 -0
- package/react/components/sdd/appEditPage/Position.js.map +1 -0
- package/react/components/sdd/appEditPage/Preloads.d.ts +9 -0
- package/react/components/sdd/appEditPage/Preloads.js +16 -0
- package/react/components/sdd/appEditPage/Preloads.js.map +1 -0
- package/react/components/sdd/appEditPage/SelectConnect.d.ts +15 -0
- package/react/components/sdd/appEditPage/SelectConnect.js +28 -0
- package/react/components/sdd/appEditPage/SelectConnect.js.map +1 -0
- package/react/components/sdd/appEditPage/Workspace.d.ts +12 -0
- package/react/components/sdd/appEditPage/Workspace.js +30 -0
- package/react/components/sdd/appEditPage/Workspace.js.map +1 -0
- package/react/components/sdd/common/getCSSVars.js +7 -2
- package/react/components/sdd/common/getCSSVars.js.map +1 -1
- package/react/components/sdd/common/setPreloadDefaults.d.ts +1 -1
- package/react/components/sdd/common/setPreloadDefaults.js +9 -4
- package/react/components/sdd/common/setPreloadDefaults.js.map +1 -1
- package/react/components/sdd/common/views.js +7 -4
- package/react/components/sdd/common/views.js.map +1 -1
- package/react/components/sdd/css/addApp.css +65 -0
- package/react/components/sdd/css/appearance.css +6 -0
- package/react/components/sdd/css/applications.css +27 -34
- package/react/components/sdd/css/authentication.css +7 -6
- package/react/components/sdd/css/buttons.css +1 -1
- package/react/components/sdd/css/export.css +5 -3
- package/react/components/sdd/css/getting-started.css +2 -2
- package/react/components/sdd/css/nav.css +11 -14
- package/react/components/sdd/css/project-header.css +5 -7
- package/react/components/sdd/css/styles.css +29 -23
- package/react/components/sdd/css/views.css +4 -3
- package/react/components/sdd/fixtures/apps.js +12 -0
- package/react/components/sdd/fixtures/apps.js.map +1 -1
- package/react/components/sdd/fixtures/authenticationProps.js +15 -1
- package/react/components/sdd/fixtures/authenticationProps.js.map +1 -1
- package/react/components/sdd/fixtures/configTemplate.js +1 -0
- package/react/components/sdd/fixtures/configTemplate.js.map +1 -1
- package/react/components/sdd/fixtures/preloads.js +14 -12
- package/react/components/sdd/fixtures/preloads.js.map +1 -1
- package/react/components/sdd/fixtures/publishProgress.js +40 -0
- package/react/components/sdd/fixtures/publishProgress.js.map +1 -1
- package/react/components/sdd/sdd_helpers.d.ts +6 -0
- package/react/components/sdd/sdd_helpers.js +6 -0
- package/react/components/sdd/sdd_helpers.js.map +1 -1
- package/react/components/sdd/smartDesktopClient.d.ts +466 -0
- package/react/components/sdd/smartDesktopClient.js +906 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/smartDesktopClient.spec.d.ts +1 -0
- package/react/components/sdd/smartDesktopClient.spec.js +64 -0
- package/react/components/sdd/smartDesktopClient.spec.js.map +1 -0
- package/react/components/sdd/stories/AddApp.stories.d.ts +11 -0
- package/react/components/sdd/stories/AddApp.stories.js +26 -0
- package/react/components/sdd/stories/AddApp.stories.js.map +1 -0
- package/react/components/sdd/stories/AppEditPage.stories.d.ts +5 -1
- package/react/components/sdd/stories/AppEditPage.stories.js +5 -0
- package/react/components/sdd/stories/AppEditPage.stories.js.map +1 -1
- package/react/components/sdd/stories/Appearance.stories.d.ts +1 -1
- package/react/components/sdd/stories/Appearance.stories.js +2 -0
- package/react/components/sdd/stories/Appearance.stories.js.map +1 -1
- package/react/components/sdd/stories/Authentication.stories.js +2 -16
- package/react/components/sdd/stories/Authentication.stories.js.map +1 -1
- package/react/components/sdd/stories/OptionalSettingsView.stories.js +1 -1
- package/react/components/sdd/stories/OptionalSettingsView.stories.js.map +1 -1
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.d.ts +1 -1
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js +3 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js.map +1 -1
- package/react/components/sdd/stories/Themes.stories.d.ts +1 -1
- package/react/components/sdd/stories/Themes.stories.js +1 -0
- package/react/components/sdd/stories/Themes.stories.js.map +1 -1
- package/react/components/sdd/tests/AddApp.spec.d.ts +1 -0
- package/react/components/sdd/tests/AddApp.spec.js +133 -0
- package/react/components/sdd/tests/AddApp.spec.js.map +1 -0
- package/react/components/sdd/tests/AppEditPage.spec.js +108 -23
- package/react/components/sdd/tests/AppEditPage.spec.js.map +1 -1
- package/react/components/sdd/tests/Application.spec.js +351 -369
- package/react/components/sdd/tests/Application.spec.js.map +1 -1
- package/react/components/sdd/tests/Applications.spec.d.ts +1 -1
- package/react/components/sdd/tests/Applications.spec.js +30 -50
- package/react/components/sdd/tests/Applications.spec.js.map +1 -1
- package/react/components/sdd/tests/Authentication.spec.js +8 -1
- package/react/components/sdd/tests/Authentication.spec.js.map +1 -1
- package/react/components/sdd/tests/ContentHeader.spec.js +2 -0
- package/react/components/sdd/tests/ContentHeader.spec.js.map +1 -1
- package/react/components/sdd/tests/EditPreload.spec.js +63 -7
- package/react/components/sdd/tests/EditPreload.spec.js.map +1 -1
- package/react/components/sdd/tests/Export.spec.js +8 -1
- package/react/components/sdd/tests/Export.spec.js.map +1 -1
- package/react/components/sdd/tests/ItemList.spec.js +4 -0
- package/react/components/sdd/tests/ItemList.spec.js.map +1 -1
- package/react/components/sdd/tests/Navigation.spec.js +2 -2
- package/react/components/sdd/tests/Navigation.spec.js.map +1 -1
- package/react/components/sdd/tests/OptionalSettingsView.spec.js +264 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.js.map +1 -1
- package/react/components/sdd/tests/ProjectErrors.spec.js +3 -1
- package/react/components/sdd/tests/ProjectErrors.spec.js.map +1 -1
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js +2 -2
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js.map +1 -1
- package/react/components/sdd/tests/Themes.spec.js +1 -1
- package/react/components/sdd/tests/Themes.spec.js.map +1 -1
- package/react/components/sdd/tests/Toolbar.spec.js +53 -0
- package/react/components/sdd/tests/Toolbar.spec.js.map +1 -1
- package/react/components/sdd/tests/a11y_helper.js +8 -0
- package/react/components/sdd/tests/a11y_helper.js.map +1 -1
- package/react/components/search/Highlight.d.ts +6 -0
- package/react/components/search/Highlight.js +19 -0
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Highlight.stories.js +1 -1
- package/react/components/search/Highlight.stories.js.map +1 -1
- package/react/components/search/Search.js +1 -1
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +4 -0
- package/react/components/search/SearchBestMatch.js +11 -0
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +5 -0
- package/react/components/search/SearchInput.js +6 -0
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.js +2 -0
- package/react/components/search/SearchProviderResults.js.map +1 -1
- package/react/components/search/SearchResult.d.ts +5 -0
- package/react/components/search/SearchResult.js +6 -0
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/search/SearchResult.spec.d.ts +1 -0
- package/react/components/search/SearchResult.spec.js +46 -0
- package/react/components/search/SearchResult.spec.js.map +1 -0
- package/react/components/search/SearchResult.stories.d.ts +16 -0
- package/react/components/search/SearchResult.stories.js +113 -0
- package/react/components/search/SearchResult.stories.js.map +1 -0
- package/react/components/search/SearchResults.js +5 -1
- package/react/components/search/SearchResults.js.map +1 -1
- package/react/components/search/SearchResults.spec.d.ts +1 -0
- package/react/components/search/SearchResults.spec.js +35 -0
- package/react/components/search/SearchResults.spec.js.map +1 -0
- package/react/components/search/SearchResults.stories.d.ts +11 -0
- package/react/components/search/SearchResults.stories.js +458 -0
- package/react/components/search/SearchResults.stories.js.map +1 -0
- package/react/components/shared/Animate.d.ts +5 -0
- package/react/components/shared/Animate.js +12 -1
- package/react/components/shared/Animate.js.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +26 -6
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/Tag.d.ts +0 -4
- package/react/components/shared/Tag.js +4 -0
- package/react/components/shared/Tag.js.map +1 -1
- package/react/components/shared/TagsMenu.d.ts +6 -0
- package/react/components/shared/TagsMenu.js +7 -0
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +6 -0
- package/react/components/shared/addProtocolToValidURL.js +6 -0
- package/react/components/shared/addProtocolToValidURL.js.map +1 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -1
- package/react/components/shared/openQuitConfirmationDialog.js +4 -4
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.js +12 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -1
- package/react/components/shared/tests/addProtocolToValidURL.spec.js +1 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -1
- package/react/components/shared/validateURL.d.ts +18 -0
- package/react/components/shared/validateURL.js +24 -5
- package/react/components/shared/validateURL.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.css +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +3 -0
- package/react/components/singleInputDialog/SingleInputDialog.js +46 -0
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.stories.js +2 -2
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +1 -16
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +5 -3
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
- package/react/components/system/System.d.ts +22 -0
- package/react/components/system/System.js +23 -1
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/System.stories.js +1 -0
- package/react/components/system/System.stories.js.map +1 -1
- package/react/components/system/SystemTrayComponentShell.d.ts +6 -0
- package/react/components/system/SystemTrayComponentShell.js +9 -0
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +5 -0
- package/react/components/toolbar/AutoArrange.js +8 -1
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/AutoArrange.spec.js +10 -4
- package/react/components/toolbar/AutoArrange.spec.js.map +1 -1
- package/react/components/toolbar/AutoArrange.stories.js +1 -0
- package/react/components/toolbar/AutoArrange.stories.js.map +1 -1
- package/react/components/toolbar/DragHandle.d.ts +4 -0
- package/react/components/toolbar/DragHandle.js +11 -0
- package/react/components/toolbar/DragHandle.js.map +1 -1
- package/react/components/toolbar/DragHandle.spec.js +1 -0
- package/react/components/toolbar/DragHandle.spec.js.map +1 -1
- package/react/components/toolbar/DragHandle.stories.js +1 -0
- package/react/components/toolbar/DragHandle.stories.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.d.ts +4 -0
- package/react/components/toolbar/MinimizeAll.js +7 -1
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.spec.js +1 -0
- package/react/components/toolbar/MinimizeAll.spec.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.stories.js +1 -0
- package/react/components/toolbar/MinimizeAll.stories.js.map +1 -1
- package/react/components/toolbar/NotificationControl.d.ts +5 -0
- package/react/components/toolbar/NotificationControl.js +8 -1
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +4 -0
- package/react/components/toolbar/RevealAll.js +7 -1
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/RevealAll.spec.js +1 -0
- package/react/components/toolbar/RevealAll.spec.js.map +1 -1
- package/react/components/toolbar/RevealAll.stories.js +1 -0
- package/react/components/toolbar/RevealAll.stories.js.map +1 -1
- package/react/components/toolbar/SddButton.d.ts +4 -0
- package/react/components/toolbar/SddButton.js +4 -0
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +4 -0
- package/react/components/toolbar/ToolbarIcon.js +6 -2
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +8 -9
- package/react/components/toolbar/ToolbarSection.js +21 -7
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +5 -0
- package/react/components/toolbar/ToolbarShell.js +7 -0
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +16 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +20 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +52 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +58 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js +5 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +27 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +49 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +13 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +21 -10
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +19 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +4 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js +4 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +16 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +39 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +4 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +9 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js +3 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.d.ts +6 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js +7 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js +5 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js +5 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +37 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js +40 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts +3 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +83 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +10 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js +12 -3
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +18 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +20 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +9 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +12 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/appLauncher.css +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +3 -0
- package/react/components/toolbar/appLauncher/components/componentList.js +17 -3
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +6 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +26 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +91 -15
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.js +5 -0
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +8 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +7 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +17 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +21 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +26 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +29 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +6 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +6 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +78 -2
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +191 -40
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +8 -18
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +4 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js +4 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +3 -0
- package/react/components/userPreferences/UserPreferences.d.ts +8 -0
- package/react/components/userPreferences/UserPreferences.js +8 -0
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.js +4 -0
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +5 -0
- package/react/components/userPreferences/components/ContentSection.js +1 -1
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +4 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js +3 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.js +3 -0
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +14 -2
- package/react/components/userPreferences/components/content/Workspaces.js +78 -38
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +7 -3
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.js +26 -5
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +20 -10
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +18 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.js +35 -6
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/userPreferences/tests/LeftNav.spec.js +15 -1
- package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -1
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js +1 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -1
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js +42 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js.map +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.js +139 -0
- package/react/components/userPreferences/tests/Workspace.spec.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +130 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.js +386 -27
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +3 -0
- package/react/components/windowTitleBar/components/center/Tab.js +3 -0
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +90 -0
- package/react/components/windowTitleBar/components/center/TabList.js +170 -4
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts +9 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js +27 -5
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +47 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +76 -1
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts +4 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js +5 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +18 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +49 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -1
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +17 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js +39 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +4 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts +27 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js +27 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +37 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js +40 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +46 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +54 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +26 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +26 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +40 -0
- package/react/components/windowTitleBar/components/windowTitle.js +245 -48
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +5 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +81 -6
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.css +1 -1
- package/react/components/yesNoDialog/YesNoDialog.d.ts +3 -0
- package/react/components/yesNoDialog/YesNoDialog.js +64 -1
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.js +4 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.stories.js +2 -2
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -1
- package/react/components/yesNoDialog/timer.js +2 -0
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/enzymeSetup.js +10 -0
- package/react/enzymeSetup.js.map +1 -1
- package/react/hooks/useDashbar.js +10 -0
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +4 -0
- package/react/hooks/useDeepEffect.js +21 -0
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +15 -0
- package/react/hooks/useFavorites.js +3 -0
- package/react/hooks/useFavorites.js.map +1 -1
- package/react/hooks/useFavoritesShell.d.ts +4 -0
- package/react/hooks/useFavoritesShell.js +23 -0
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useHotkey.d.ts +6 -0
- package/react/hooks/useHotkey.js +9 -0
- package/react/hooks/useHotkey.js.map +1 -1
- package/react/hooks/useLinker.js +14 -0
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +29 -0
- package/react/hooks/useMenu.js +12 -1
- package/react/hooks/useMenu.js.map +1 -1
- package/react/hooks/useNotifications.d.ts +44 -0
- package/react/hooks/useNotifications.js +104 -12
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.d.ts +3 -0
- package/react/hooks/useOutsideClickDetector.js +3 -0
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +17 -0
- package/react/hooks/usePubSub.js +18 -0
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +5 -0
- package/react/hooks/useSearch.js +30 -0
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +1 -1
- package/react/hooks/useToolbar.js +54 -2
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/reducers/favoriteReducer.d.ts +3 -0
- package/react/reducers/linkerReducer.d.ts +3 -0
- package/react/reducers/linkerReducer.js +4 -0
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +28 -0
- package/react/reducers/menuReducer.js +34 -0
- package/react/reducers/menuReducer.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +2 -2
- package/react/reducers/rootReducer.js +3 -0
- package/react/reducers/rootReducer.js.map +1 -1
- package/react/reducers/searchReducer.d.ts +7 -0
- package/react/reducers/searchReducer.js +6 -0
- package/react/reducers/searchReducer.js.map +1 -1
- package/react/reducers/workspaceReducer.js +1 -0
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +8 -4
- package/react/store.js +11 -0
- package/react/store.js.map +1 -1
- package/react/tsconfig.tsbuildinfo +1 -0
- package/react/types/fdc3.d.ts +2 -0
- package/react/types/linkerTypes.d.ts +13 -0
- package/react/types/linkerTypes.js +1 -0
- package/react/types/linkerTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +8 -0
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/workspaceTypes.d.ts +8 -0
package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js
CHANGED
|
@@ -1,28 +1,44 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* The workspace management menu may be the most complicated component that we have (other than the toolbar). It isn't because workspace management is particularly difficult, it's because there is a lot of user question and answer going on. We don't want to overwrite data without explicit consent, and so the calls get involved. To simplify the code, we are using the `async` library. If you are unfamiliar with this library, see this link: https://caolan.github.io/async/docs.html
|
|
5
|
+
*/
|
|
1
6
|
import async from "async";
|
|
2
7
|
import { Util } from "@finsemble/finsemble-api";
|
|
8
|
+
// When a user cancels the save workspace dialog, we throw an error, which short-circuits the async call.
|
|
3
9
|
const SAVE_DIALOG_CANCEL_ERROR = "Cancel";
|
|
4
10
|
const NEGATIVE = "Negative";
|
|
5
|
-
let PROMPT_ON_DIRTY_WORKSPACE
|
|
6
|
-
let DISCARD_UNSAVED_CHANGES
|
|
11
|
+
let PROMPT_ON_DIRTY_WORKSPACE;
|
|
12
|
+
let DISCARD_UNSAVED_CHANGES;
|
|
7
13
|
const WORKSPACE_CONFIGS = {
|
|
8
14
|
PROMPT_USER_ON_DIRTY_WORKSPACE: "finsemble.servicesConfig.workspace.promptUserOnDirtyWorkspace",
|
|
9
15
|
DISCARD_UNSAVED_CHANGES: "finsemble.servicesConfig.workspace.discardUnsavedChanges",
|
|
10
|
-
DEPRECATED_PROMPT_ON_DIRTY: "finsemble.preferences.workspaceService.promptUserOnDirtyWorkspace",
|
|
16
|
+
DEPRECATED_PROMPT_ON_DIRTY: "finsemble.preferences.workspaceService.promptUserOnDirtyWorkspace", // DEPRECATED - retrieving it for backwards compatibility
|
|
11
17
|
};
|
|
12
18
|
let WorkspaceManagementStore;
|
|
13
19
|
let StoreClient;
|
|
14
20
|
let Logger;
|
|
15
21
|
let WorkspaceManagementGlobalStore;
|
|
22
|
+
// Initial data for the store.
|
|
16
23
|
const defaultData = {
|
|
17
24
|
activeWorkspace: {},
|
|
18
25
|
menuWidth: 285,
|
|
19
26
|
WorkspaceList: [],
|
|
20
27
|
newWorkspaceDialogIsActive: false,
|
|
28
|
+
/**
|
|
29
|
+
* State around whether the workspace is currently in the process of switching.
|
|
30
|
+
*
|
|
31
|
+
* For simplicity, we're storing this in the local store for now, but this precludes
|
|
32
|
+
* other components from signaling that the workspace is changing. A consequence,
|
|
33
|
+
* for example, is that if you switch workspaces uses a pin on the toolbar instead
|
|
34
|
+
* of the workspace management menu, the spinner doesn't show up.
|
|
35
|
+
*/
|
|
21
36
|
isSwitchingWorkspaces: false,
|
|
22
37
|
isPromptingUser: false,
|
|
23
38
|
};
|
|
24
39
|
function addListeners(done) {
|
|
25
40
|
FSBL.Clients.RouterClient.addListener("Application.restart", (err, response) => {
|
|
41
|
+
// when the user calls a "Reset" function, Finsemble shouldn't show a save workspace dialog.
|
|
26
42
|
if (response.data && response.data.forceRestart === true)
|
|
27
43
|
PROMPT_ON_DIRTY_WORKSPACE = false;
|
|
28
44
|
});
|
|
@@ -44,21 +60,7 @@ const Actions = {
|
|
|
44
60
|
callback(null);
|
|
45
61
|
}
|
|
46
62
|
},
|
|
47
|
-
|
|
48
|
-
FSBL.Clients.ConfigClient.getPreferences((err, preferences) => {
|
|
49
|
-
var _a, _b;
|
|
50
|
-
Logger.system.log("WorkspaceManagementStore init getPreferences", preferences);
|
|
51
|
-
if (preferences) {
|
|
52
|
-
PROMPT_ON_DIRTY_WORKSPACE = (_a = preferences[WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE]) !== null && _a !== void 0 ? _a : false;
|
|
53
|
-
DISCARD_UNSAVED_CHANGES = (_b = preferences[WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES]) !== null && _b !== void 0 ? _b : false;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
FSBL.Clients.ConfigClient.getValue({ field: WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE }, (err, data) => {
|
|
57
|
-
Logger.system.log("WorkspaceManagementStore init getValue promptUserOnDirtyWorkspace", data);
|
|
58
|
-
PROMPT_ON_DIRTY_WORKSPACE = data !== null && data !== void 0 ? data : true;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
});
|
|
63
|
+
completeInitialize: () => {
|
|
62
64
|
FSBL.Clients.ConfigClient.addListener({ field: WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE }, (err, config) => {
|
|
63
65
|
Logger.system.log("WorkspaceManagementStore new promptUserOnDirtyWorkspace config", config);
|
|
64
66
|
PROMPT_ON_DIRTY_WORKSPACE = !!config.value;
|
|
@@ -67,6 +69,7 @@ const Actions = {
|
|
|
67
69
|
Logger.system.log("WorkspaceManagementStore new discardUnsavedChanges config", config);
|
|
68
70
|
DISCARD_UNSAVED_CHANGES = !!config.value;
|
|
69
71
|
});
|
|
72
|
+
// Gets the workspace list and sets the value in the store.
|
|
70
73
|
FSBL.Clients.WorkspaceClient.getWorkspaces((err, workspaces) => {
|
|
71
74
|
Logger.system.debug("WorkspaceManagementStore init getWorkspaces", workspaces);
|
|
72
75
|
WorkspaceManagementStore.setValue({
|
|
@@ -74,6 +77,7 @@ const Actions = {
|
|
|
74
77
|
value: workspaces,
|
|
75
78
|
});
|
|
76
79
|
});
|
|
80
|
+
// Get the activeWorkspace and set the value. I could have iterated through the workspaces above and found the active one, but this seems simpler.
|
|
77
81
|
FSBL.Clients.WorkspaceClient.getActiveWorkspace((err, activeWorkspace) => {
|
|
78
82
|
Logger.system.debug("WorkspaceManagementStore init getActiveWorkspace", activeWorkspace);
|
|
79
83
|
WorkspaceManagementStore.setValue({
|
|
@@ -81,6 +85,12 @@ const Actions = {
|
|
|
81
85
|
value: activeWorkspace,
|
|
82
86
|
});
|
|
83
87
|
});
|
|
88
|
+
/**
|
|
89
|
+
* We listen here for any workspace updates, and pass them to the store.
|
|
90
|
+
* **NOTE**: You may notice that the signature of this callback is different from the previous ones. In this case,
|
|
91
|
+
* we receive a `response`, instead of `workspaces` or `activeWorkspace`. This is because this callback is for
|
|
92
|
+
* a `RouterClient` message. The functions above are callbacks to `WorkspaceClient` API calls.
|
|
93
|
+
*/
|
|
84
94
|
FSBL.Clients.RouterClient.subscribe("Finsemble.WorkspaceService.update", (err, response) => {
|
|
85
95
|
if (response.data && response.data.activeWorkspace) {
|
|
86
96
|
Logger.system.debug("WorkspaceManagementStore init update", response.data);
|
|
@@ -116,12 +126,19 @@ const Actions = {
|
|
|
116
126
|
Actions.renameWorkspace(action.data);
|
|
117
127
|
break;
|
|
118
128
|
default:
|
|
129
|
+
// Nothing to do here
|
|
119
130
|
break;
|
|
120
131
|
}
|
|
121
132
|
});
|
|
122
133
|
});
|
|
123
134
|
},
|
|
135
|
+
/*********************************************************************************************
|
|
136
|
+
*
|
|
137
|
+
* GETTERS/SETTERS
|
|
138
|
+
*
|
|
139
|
+
*********************************************************************************************/
|
|
124
140
|
getActiveWorkspace: () => WorkspaceManagementStore.getValue("activeWorkspace"),
|
|
141
|
+
// Get the name of the workspace that is currently being edited
|
|
125
142
|
getWorkspaceBeingEdited: () => WorkspaceManagementStore.getValue("workspaceBeingEdited"),
|
|
126
143
|
getWorkspaceList: () => WorkspaceManagementStore.getValue("WorkspaceList"),
|
|
127
144
|
getIsSwitchingWorkspaces: () => WorkspaceManagementStore.getValue("isSwitchingWorkspaces"),
|
|
@@ -134,14 +151,24 @@ const Actions = {
|
|
|
134
151
|
field: "isPromptingUser",
|
|
135
152
|
value: val,
|
|
136
153
|
}),
|
|
154
|
+
/*********************************************************************************************
|
|
155
|
+
*
|
|
156
|
+
* Main Workspace Actions
|
|
157
|
+
*
|
|
158
|
+
*********************************************************************************************/
|
|
159
|
+
/**
|
|
160
|
+
* Handles the complete workflow for creating a new workspace.
|
|
161
|
+
* We make sure the user doesn't lose any unsaved work, ask them to name it, make sure that workspace doesn't already exist, then actually save the new workspace. After that, we fire off a notification to let them know that everything was a great success.
|
|
162
|
+
*/
|
|
137
163
|
newWorkspace: function () {
|
|
138
164
|
let newWorkspaceName;
|
|
139
165
|
Logger.system.log("New workspace - start.");
|
|
140
166
|
const newWorkspaceDialogIsActive = WorkspaceManagementStore.getValue("newWorkspaceDialogIsActive");
|
|
167
|
+
// Creates the new workspace.
|
|
141
168
|
const createIt = (params, cb) => {
|
|
142
169
|
Logger.system.log("createIt", params);
|
|
143
170
|
const { workspaceName } = params;
|
|
144
|
-
FSBL.Clients.WorkspaceClient.
|
|
171
|
+
FSBL.Clients.WorkspaceClient.createWorkspace(workspaceName, {}, (err, response) => {
|
|
145
172
|
Logger.system.log("createIt createNewWorkspace response", workspaceName, response);
|
|
146
173
|
newWorkspaceName = response.workspaceName;
|
|
147
174
|
if (cb) {
|
|
@@ -169,6 +196,12 @@ const Actions = {
|
|
|
169
196
|
}
|
|
170
197
|
async.waterfall(tasks, Actions.onAsyncComplete);
|
|
171
198
|
},
|
|
199
|
+
/**
|
|
200
|
+
* Handles the workflow for removing a workspace.
|
|
201
|
+
* As long as you are not deleting the workspace that is active, it will pop up a confirm dialog,
|
|
202
|
+
* and if the user says "yes", it will delete the workspace.
|
|
203
|
+
*/
|
|
204
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
172
205
|
removeWorkspace: (data, cb = (val) => { }) => {
|
|
173
206
|
const workspaceName = data.name;
|
|
174
207
|
const dialogParams = {
|
|
@@ -178,6 +211,9 @@ const Actions = {
|
|
|
178
211
|
affirmativeResponseLabel: "Delete",
|
|
179
212
|
hideModalOnClose: data.hideModalOnClose,
|
|
180
213
|
};
|
|
214
|
+
/**
|
|
215
|
+
* Invoked when the user interacts with the dialog.
|
|
216
|
+
*/
|
|
181
217
|
function onUserInput(err, response) {
|
|
182
218
|
if (response.choice === "affirmative") {
|
|
183
219
|
cb(true);
|
|
@@ -191,6 +227,9 @@ const Actions = {
|
|
|
191
227
|
}
|
|
192
228
|
Actions.spawnDialog("yesNo", dialogParams, onUserInput);
|
|
193
229
|
},
|
|
230
|
+
/**
|
|
231
|
+
* The `activeWorkspace` is simply a copy of something we brought out of storage. This function copies the `activeWorkspace` to back to storage.
|
|
232
|
+
*/
|
|
194
233
|
saveWorkspace: (cb) => {
|
|
195
234
|
const activeWorkspace = WorkspaceManagementStore.getValue("activeWorkspace");
|
|
196
235
|
FSBL.Clients.WorkspaceClient.saveAs({
|
|
@@ -221,6 +260,8 @@ const Actions = {
|
|
|
221
260
|
});
|
|
222
261
|
},
|
|
223
262
|
renameWorkspace: ({ oldName, newName }) => {
|
|
263
|
+
// Note: This does no checking of the workspace before renaming. If you call this function, and `newName` is an existing
|
|
264
|
+
// workspace name, the existing workspace will get stomped. Currently, the UI prevents renaming to existing names.
|
|
224
265
|
FSBL.Clients.WorkspaceClient.rename({
|
|
225
266
|
oldName: oldName,
|
|
226
267
|
newName: newName,
|
|
@@ -237,6 +278,9 @@ const Actions = {
|
|
|
237
278
|
top: "center",
|
|
238
279
|
});
|
|
239
280
|
},
|
|
281
|
+
/**
|
|
282
|
+
* Ask the user for a name, make sure it doesn't already exist, then save.
|
|
283
|
+
*/
|
|
240
284
|
saveWorkspaceAs: () => {
|
|
241
285
|
function saveIt(workspaceName, callback) {
|
|
242
286
|
FSBL.Clients.WorkspaceClient.saveAs({
|
|
@@ -256,8 +300,13 @@ const Actions = {
|
|
|
256
300
|
saveIt,
|
|
257
301
|
], Actions.onAsyncComplete);
|
|
258
302
|
},
|
|
303
|
+
/**
|
|
304
|
+
* Asks the user if they'd like to save their data, then loads the requested workspace.
|
|
305
|
+
*/
|
|
259
306
|
switchToWorkspace: async function ({ name }) {
|
|
260
307
|
var _a;
|
|
308
|
+
// if a workspace prompt is outstanding for a previous switch, immediately return to lock out user from doing another switch (until responding to prompt);
|
|
309
|
+
// note this prompting flag is cleared in Actions.onAsyncComplete when the previous switch completes (after user responds to the prompt)
|
|
261
310
|
const prompting = Actions.getIsPromptingUser();
|
|
262
311
|
Logger.system.log("workspaceManagementMenuStore: switchToWorkspace", prompting ? "prompting" : "not-prompting");
|
|
263
312
|
if (prompting)
|
|
@@ -265,6 +314,10 @@ const Actions = {
|
|
|
265
314
|
Actions.setIsSwitchingWorkspaces(true);
|
|
266
315
|
Actions.blurWindow();
|
|
267
316
|
const activeWorkspace = WorkspaceManagementStore.getValue("activeWorkspace");
|
|
317
|
+
/**
|
|
318
|
+
* Actually perform the switch. Happens after we ask the user what they want.
|
|
319
|
+
*
|
|
320
|
+
*/
|
|
268
321
|
const switchWorkspace = (callback = () => { }) => {
|
|
269
322
|
FSBL.Clients.WorkspaceClient.switchTo({
|
|
270
323
|
name: name,
|
|
@@ -273,6 +326,9 @@ const Actions = {
|
|
|
273
326
|
callback();
|
|
274
327
|
});
|
|
275
328
|
};
|
|
329
|
+
/**
|
|
330
|
+
* Make sure the user is sure
|
|
331
|
+
*/
|
|
276
332
|
const askAboutReload = (callback) => {
|
|
277
333
|
Actions.spawnDialog("yesNo", {
|
|
278
334
|
monitor: "primary",
|
|
@@ -282,15 +338,21 @@ const Actions = {
|
|
|
282
338
|
negativeResponseLabel: "Don't Save",
|
|
283
339
|
}, callback);
|
|
284
340
|
};
|
|
341
|
+
/**
|
|
342
|
+
* If the workspace is dirty, we need to do more than if it's clean.
|
|
343
|
+
*/
|
|
285
344
|
if (await FSBL.Clients.WorkspaceClient.isWorkspaceDirty()) {
|
|
286
345
|
let tasks = [];
|
|
287
346
|
Actions.setIsPromptingUser(true);
|
|
288
347
|
let firstMethod = Actions.autoSave, secondMethod = null;
|
|
289
348
|
if (PROMPT_ON_DIRTY_WORKSPACE === true) {
|
|
349
|
+
// We want to ask the user to save. But if they're trying to reload the workspace,
|
|
350
|
+
// the message needs to be different. The first if block just switches that method.
|
|
290
351
|
firstMethod = Actions.askIfUserWantsToSave;
|
|
291
352
|
if (name === ((_a = FSBL.Clients.WorkspaceClient.activeWorkspace) === null || _a === void 0 ? void 0 : _a.name)) {
|
|
292
353
|
firstMethod = askAboutReload;
|
|
293
354
|
}
|
|
355
|
+
// If we are not autosaving, we need to process the dialog input.
|
|
294
356
|
secondMethod = Actions.handleSaveDialogResponse;
|
|
295
357
|
}
|
|
296
358
|
if (!DISCARD_UNSAVED_CHANGES) {
|
|
@@ -299,6 +361,7 @@ const Actions = {
|
|
|
299
361
|
if (secondMethod) {
|
|
300
362
|
tasks.push(secondMethod);
|
|
301
363
|
}
|
|
364
|
+
// Switch is the last thing we do.
|
|
302
365
|
tasks.push(switchWorkspace);
|
|
303
366
|
async.waterfall(tasks, Actions.onAsyncComplete);
|
|
304
367
|
}
|
|
@@ -306,6 +369,14 @@ const Actions = {
|
|
|
306
369
|
switchWorkspace();
|
|
307
370
|
}
|
|
308
371
|
},
|
|
372
|
+
/*********************************************************************************************
|
|
373
|
+
*
|
|
374
|
+
* Workspace Management Helpers
|
|
375
|
+
*
|
|
376
|
+
*********************************************************************************************/
|
|
377
|
+
/**
|
|
378
|
+
* General handler for `async.series` and `async.waterfall`
|
|
379
|
+
*/
|
|
309
380
|
onAsyncComplete(err) {
|
|
310
381
|
Logger.system.debug("workspaceManagementMenuStore: onAsyncComplete");
|
|
311
382
|
WorkspaceManagementStore.setValue({
|
|
@@ -314,11 +385,20 @@ const Actions = {
|
|
|
314
385
|
});
|
|
315
386
|
const errMessage = err === null || err === void 0 ? void 0 : err.message;
|
|
316
387
|
if (errMessage && errMessage !== NEGATIVE && errMessage !== SAVE_DIALOG_CANCEL_ERROR) {
|
|
388
|
+
// handle error.
|
|
317
389
|
Logger.system.error(err);
|
|
318
390
|
}
|
|
391
|
+
// Unlock the UI.
|
|
319
392
|
Actions.setIsSwitchingWorkspaces(false);
|
|
320
393
|
Actions.setIsPromptingUser(false);
|
|
321
394
|
},
|
|
395
|
+
/**
|
|
396
|
+
* Helper for spawning dialogs. Keeps the internals of other functions squeaky clean.
|
|
397
|
+
*
|
|
398
|
+
* @param {string} type "yesNo" or "singleInput"
|
|
399
|
+
* @param {object} data Optional params for the dialog call.
|
|
400
|
+
* @param {function} responseCallback invoked when the user interacts with the dialog.
|
|
401
|
+
*/
|
|
322
402
|
spawnDialog(type, data, responseCallback) {
|
|
323
403
|
Logger.system.debug("spawnDialog", type, data);
|
|
324
404
|
if (type === "singleInput") {
|
|
@@ -331,6 +411,7 @@ const Actions = {
|
|
|
331
411
|
Logger.system.log("SpawnSaveAsDialog onUserInput", response);
|
|
332
412
|
let callbackError = null;
|
|
333
413
|
if (typeof err === "string") {
|
|
414
|
+
// Error objects cause async to invoke the final callback in async.waterfall.
|
|
334
415
|
callbackError = new Error(err);
|
|
335
416
|
}
|
|
336
417
|
if (cb) {
|
|
@@ -346,12 +427,17 @@ const Actions = {
|
|
|
346
427
|
};
|
|
347
428
|
Actions.spawnDialog("singleInput", dialogParams, onUserInput);
|
|
348
429
|
},
|
|
430
|
+
/**
|
|
431
|
+
* Spawns an input field asking what the user would like to name their new workspace.
|
|
432
|
+
*/
|
|
349
433
|
spawnWorkspaceInputField: (cb) => {
|
|
434
|
+
// Spawns the dialog with the input field and accepts a callback to be invoked after the user acts.
|
|
350
435
|
Logger.system.log("SpawnWorkspaceInput - start");
|
|
351
436
|
const onUserInput = (err, response) => {
|
|
352
437
|
Logger.system.log("SpawnWorkspaceInput onUserInput", response);
|
|
353
438
|
let callbackError = null;
|
|
354
439
|
if (typeof err === "string") {
|
|
440
|
+
// Error objects cause async to invoke the final callback in async.waterfall.
|
|
355
441
|
callbackError = new Error(err);
|
|
356
442
|
}
|
|
357
443
|
if (cb) {
|
|
@@ -367,6 +453,9 @@ const Actions = {
|
|
|
367
453
|
};
|
|
368
454
|
Actions.spawnDialog("singleInput", dialogParams, onUserInput);
|
|
369
455
|
},
|
|
456
|
+
/**
|
|
457
|
+
* Asks the user if they'd like to save their workspace if it's different from what's in storage. If the workspace is clean, we just invoke the callback.
|
|
458
|
+
*/
|
|
370
459
|
askIfUserWantsToSave: async function (callback) {
|
|
371
460
|
const activeWorkspace = WorkspaceManagementStore.getValue("activeWorkspace");
|
|
372
461
|
if (await FSBL.Clients.WorkspaceClient.isWorkspaceDirty()) {
|
|
@@ -390,24 +479,38 @@ const Actions = {
|
|
|
390
479
|
return await waitForUserInput();
|
|
391
480
|
}
|
|
392
481
|
else {
|
|
482
|
+
// In this case the workspace is not dirty, so we don't need to save.
|
|
393
483
|
if (callback)
|
|
394
484
|
callback(null, { choice: "negative" });
|
|
395
485
|
return { choice: "negative" };
|
|
396
486
|
}
|
|
397
487
|
},
|
|
488
|
+
/**
|
|
489
|
+
* Handles the response from the dialog asking if the user wants to save their workspace.
|
|
490
|
+
*
|
|
491
|
+
* @param {any} response
|
|
492
|
+
* @param {any} callback
|
|
493
|
+
*/
|
|
398
494
|
handleSaveDialogResponse(response, callback) {
|
|
399
495
|
if (response.choice === "affirmative") {
|
|
496
|
+
// User wants to save, so call the client API.
|
|
400
497
|
Actions.saveWorkspace(callback);
|
|
401
498
|
}
|
|
402
499
|
else if (response.choice === "negative") {
|
|
500
|
+
// Doesn't want to save.
|
|
403
501
|
callback(null);
|
|
404
502
|
}
|
|
405
503
|
else {
|
|
504
|
+
// choice === cancel
|
|
406
505
|
callback(new Error(SAVE_DIALOG_CANCEL_ERROR));
|
|
407
506
|
}
|
|
408
507
|
},
|
|
508
|
+
/**
|
|
509
|
+
* Makes sure the user has input a valid workspace name.
|
|
510
|
+
*/
|
|
409
511
|
validateWorkspaceInput(response, callback) {
|
|
410
512
|
Logger.system.log("spawnWorkspaceInput", response);
|
|
513
|
+
// If user wants to proceed but gave an invalid name, tell them that they messed up, then die.
|
|
411
514
|
if (response.choice !== "cancel" && (!response.value || response.value === "")) {
|
|
412
515
|
let dialogParams = {
|
|
413
516
|
title: "Invalid Workspace Name",
|
|
@@ -470,9 +573,13 @@ const Actions = {
|
|
|
470
573
|
callback(null, { workspaceName, template });
|
|
471
574
|
}
|
|
472
575
|
},
|
|
576
|
+
/**
|
|
577
|
+
* Checks if the workspace exists. If it does, it asks the user if they're comfortable overwriting that data.
|
|
578
|
+
*/
|
|
473
579
|
checkIfWorkspaceAlreadyExists(response, callback) {
|
|
474
580
|
const workspaceName = response.value;
|
|
475
581
|
const camelCaseWorkspaceName = Util.camelCase(workspaceName);
|
|
582
|
+
// Do any of the workspaces have the same name that the user is trying to input.
|
|
476
583
|
const workspaceExists = FSBL.Clients.WorkspaceClient.workspaces.some((workspace) => Util.camelCase(workspace) === camelCaseWorkspaceName);
|
|
477
584
|
callback(null, {
|
|
478
585
|
workspaceExists,
|
|
@@ -480,6 +587,14 @@ const Actions = {
|
|
|
480
587
|
template: response.template,
|
|
481
588
|
});
|
|
482
589
|
},
|
|
590
|
+
/*********************************************************************************************
|
|
591
|
+
*
|
|
592
|
+
* Misc functionality
|
|
593
|
+
*
|
|
594
|
+
*********************************************************************************************/
|
|
595
|
+
/**
|
|
596
|
+
* Un-focuses from the menu.
|
|
597
|
+
*/
|
|
483
598
|
blurWindow: function () {
|
|
484
599
|
finsembleWindow.blur();
|
|
485
600
|
},
|
|
@@ -502,44 +617,80 @@ function createGlobalStore(done) {
|
|
|
502
617
|
}
|
|
503
618
|
function getPreferences(done) {
|
|
504
619
|
(async () => {
|
|
505
|
-
var _a, _b;
|
|
506
|
-
const { err:
|
|
507
|
-
if (
|
|
508
|
-
Logger.system.error("workspaceManagementMenuStore.getPreferences - getPreferences",
|
|
620
|
+
var _a, _b, _c;
|
|
621
|
+
const { err: preferencesErr, data: preferencesValues } = await FSBL.Clients.ConfigClient.getPreferences();
|
|
622
|
+
if (preferencesErr) {
|
|
623
|
+
Logger.system.error("workspaceManagementMenuStore.getPreferences - getPreferences", preferencesErr);
|
|
509
624
|
}
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
625
|
+
let promptUserOnDirtyWorkspaceFromPreferences;
|
|
626
|
+
let discardUnsavedChangesFromPreferences;
|
|
627
|
+
if (preferencesValues) {
|
|
628
|
+
promptUserOnDirtyWorkspaceFromPreferences = preferencesValues[WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE];
|
|
629
|
+
discardUnsavedChangesFromPreferences = preferencesValues[WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES];
|
|
515
630
|
}
|
|
516
|
-
|
|
517
|
-
|
|
631
|
+
// if we don't have a preference as a boolean value (i.e. null or undefined)
|
|
632
|
+
// fetch the config to apply
|
|
633
|
+
if (typeof promptUserOnDirtyWorkspaceFromPreferences !== "boolean") {
|
|
634
|
+
const { err: configErr, data: configValues } = await FSBL.Clients.ConfigClient.getValues([
|
|
518
635
|
WORKSPACE_CONFIGS.DEPRECATED_PROMPT_ON_DIRTY,
|
|
636
|
+
WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE,
|
|
519
637
|
]);
|
|
520
|
-
if (
|
|
521
|
-
Logger.system.error("workspaceManagementMenuStore.getPreferences - getValues",
|
|
638
|
+
if (configErr) {
|
|
639
|
+
Logger.system.error("workspaceManagementMenuStore.getPreferences - getValues - promptUserOnDirtyWorkspace", configErr);
|
|
522
640
|
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
641
|
+
if (configValues) {
|
|
642
|
+
// deprecated (if present) > config (fallback) > default
|
|
643
|
+
PROMPT_ON_DIRTY_WORKSPACE =
|
|
644
|
+
(_b = (_a = configValues[WORKSPACE_CONFIGS.DEPRECATED_PROMPT_ON_DIRTY]) !== null && _a !== void 0 ? _a : configValues[WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE]) !== null && _b !== void 0 ? _b : true;
|
|
645
|
+
}
|
|
646
|
+
else {
|
|
647
|
+
// we shouldn't get to this - but in case we do we apply the default.
|
|
648
|
+
PROMPT_ON_DIRTY_WORKSPACE = true;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
PROMPT_ON_DIRTY_WORKSPACE = promptUserOnDirtyWorkspaceFromPreferences;
|
|
653
|
+
}
|
|
654
|
+
// if we don't have a preference as a boolean value (i.e. null or undefined)
|
|
655
|
+
// fetch the config to apply
|
|
656
|
+
if (typeof discardUnsavedChangesFromPreferences !== "boolean") {
|
|
657
|
+
const { err: configErr, data: configValue } = await FSBL.Clients.ConfigClient.getValue(WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES);
|
|
658
|
+
if (configErr) {
|
|
659
|
+
Logger.system.error("workspaceManagementMenuStore.getPreferences - getValues - discardUnsavedworkspaceChanges", configErr);
|
|
660
|
+
}
|
|
661
|
+
if (configValue) {
|
|
662
|
+
// config (fallback) > default
|
|
663
|
+
DISCARD_UNSAVED_CHANGES = (_c = configValue[WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES]) !== null && _c !== void 0 ? _c : false;
|
|
664
|
+
}
|
|
665
|
+
else {
|
|
666
|
+
// we shouldn't get to this - but in case we do we assume user does not want to discard unsaved changes
|
|
667
|
+
// by default.
|
|
668
|
+
DISCARD_UNSAVED_CHANGES = false;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
else {
|
|
672
|
+
DISCARD_UNSAVED_CHANGES = discardUnsavedChangesFromPreferences;
|
|
530
673
|
}
|
|
531
674
|
done();
|
|
532
675
|
})();
|
|
533
676
|
}
|
|
677
|
+
/**
|
|
678
|
+
* Initializes the store for the Workspace Management Menu.
|
|
679
|
+
*/
|
|
534
680
|
function initialize(cb) {
|
|
535
681
|
StoreClient = FSBL.Clients.DistributedStoreClient;
|
|
682
|
+
// eslint-disable-next-line prefer-destructuring
|
|
536
683
|
Logger = FSBL.Clients.Logger;
|
|
537
684
|
async.parallel([createGlobalStore, createLocalStore, getPreferences, addListeners], () => {
|
|
538
|
-
Actions.
|
|
685
|
+
Actions.completeInitialize();
|
|
539
686
|
cb(WorkspaceManagementStore);
|
|
540
687
|
});
|
|
541
688
|
}
|
|
542
689
|
let getStore = () => WorkspaceManagementStore;
|
|
690
|
+
/**
|
|
691
|
+
* This is a quick little initialization manager that Terry hacked up.
|
|
692
|
+
* Ultimately everything in this file should be rewritten in hooks/redux pattern.
|
|
693
|
+
*/
|
|
543
694
|
class StoreManager {
|
|
544
695
|
constructor() {
|
|
545
696
|
this.initialized = false;
|