@finsemble/finsemble-ui 7.3.10 → 7.3.11
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 +24 -4
- package/index.d.ts +1 -72
- package/package.json +111 -44
- package/react/actions/favoriteActions.d.ts +0 -1
- package/react/actions/favoriteActions.js.map +1 -1
- package/react/actions/linkerActions.d.ts +0 -1
- package/react/actions/linkerActions.js.map +1 -1
- package/react/actions/menuActions.d.ts +0 -1
- package/react/actions/menuActions.js.map +1 -1
- package/react/actions/rootActions.d.ts +0 -1
- package/react/actions/rootActions.js.map +1 -1
- package/react/actions/searchActions.d.ts +0 -1
- package/react/actions/searchActions.js.map +1 -1
- package/react/actions/smartDesktopDesignerActions.d.ts +8 -20
- package/react/actions/smartDesktopDesignerActions.js +0 -5
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/actions/toolbarActions.d.ts +0 -1
- package/react/actions/toolbarActions.js.map +1 -1
- package/react/actions/workspaceActions.d.ts +0 -1
- package/react/actions/workspaceActions.js.map +1 -1
- package/react/assets/css/advancedAppLauncher.css +2 -11
- package/react/assets/css/authentication.css +0 -1
- package/react/assets/css/contextMenu.css +2 -0
- package/react/assets/css/core/icons.css +5 -0
- package/react/assets/css/core/windowFrame.css +4 -13
- package/react/assets/css/dialogs.css +1 -2
- package/react/assets/css/finsemble.css +1 -0
- package/react/assets/css/focus.css +4 -0
- package/react/assets/css/fonts/icons-reference.html +1 -1
- package/react/assets/css/linkerWindow.css +5 -0
- package/react/assets/css/notificationsCenter.css +402 -0
- package/react/assets/css/processMonitor.css +4 -9
- package/react/assets/css/shared/animations.css +4 -0
- package/react/assets/css/toolbar.css +3 -3
- package/react/assets/css/userPreferences.css +1 -59
- package/react/assets/css/windowTitleBar.css +282 -122
- package/react/assets/icons/question-circle.svg +6 -0
- package/react/componentTemplateGenerator.d.ts +1 -0
- package/react/componentTemplateGenerator.js +150 -0
- package/react/componentTemplateGenerator.js.map +1 -0
- package/react/components/FinsembleProvider.d.ts +3 -8
- package/react/components/FinsembleProvider.js +5 -10
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/AppCatalog.d.ts +0 -4
- package/react/components/appCatalog/AppCatalog.js +0 -9
- package/react/components/appCatalog/AppCatalog.js.map +1 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts +1 -6
- package/react/components/appCatalog/AppCatalogComponent.js +2 -6
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -1
- package/react/components/appCatalog/components/AppCard.d.ts +0 -1
- package/react/components/appCatalog/components/AppCard.js.map +1 -1
- package/react/components/appCatalog/components/AppList.d.ts +0 -1
- package/react/components/appCatalog/components/AppList.js.map +1 -1
- package/react/components/appCatalog/components/AppResults.d.ts +0 -1
- package/react/components/appCatalog/components/AppResults.js +1 -1
- package/react/components/appCatalog/components/AppResults.js.map +1 -1
- package/react/components/appCatalog/components/Carousel.d.ts +0 -1
- package/react/components/appCatalog/components/Carousel.js.map +1 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts +0 -1
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -1
- package/react/components/appCatalog/components/Hero.d.ts +0 -1
- package/react/components/appCatalog/components/Hero.js.map +1 -1
- package/react/components/appCatalog/components/Home.d.ts +0 -1
- package/react/components/appCatalog/components/Home.js.map +1 -1
- package/react/components/appCatalog/components/SearchBar.d.ts +0 -1
- package/react/components/appCatalog/components/SearchBar.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/Header.js +2 -3
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +1 -2
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +1 -2
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -1
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +0 -1
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -1
- package/react/components/appCatalog/components/Tag.d.ts +13 -0
- package/react/components/appCatalog/components/Tag.js +23 -0
- package/react/components/appCatalog/components/Tag.js.map +1 -0
- package/react/components/appCatalog/components/Toast.d.ts +0 -1
- package/react/components/appCatalog/components/Toast.js.map +1 -1
- package/react/components/appCatalog/components/helpers.d.ts +0 -1
- package/react/components/appCatalog/components/helpers.js.map +1 -1
- package/react/components/appCatalog/index.d.ts +0 -1
- package/react/components/appCatalog/index.js.map +1 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts +0 -1
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.d.ts +1 -2
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +2 -3
- package/react/components/appCatalog/stores/appStore.js +1 -2
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/appCatalog/stores/storeActions.d.ts +0 -1
- package/react/components/appCatalog/stores/storeActions.js.map +1 -1
- package/react/components/common/Accordion.d.ts +11 -0
- package/react/components/common/Accordion.js +20 -0
- package/react/components/common/Accordion.js.map +1 -0
- package/react/components/common/Button.d.ts +1 -4
- package/react/components/common/Button.js +0 -1
- package/react/components/common/Button.js.map +1 -1
- package/react/components/common/ButtonIcon.d.ts +0 -1
- package/react/components/common/ButtonIcon.js +2 -3
- package/react/components/common/ButtonIcon.js.map +1 -1
- package/react/components/common/ButtonRow.d.ts +0 -1
- package/react/components/common/ButtonRow.js +9 -4
- package/react/components/common/ButtonRow.js.map +1 -1
- package/react/components/common/ButtonTile.d.ts +4 -0
- package/react/components/common/ButtonTile.js +12 -0
- package/react/components/common/ButtonTile.js.map +1 -0
- package/react/components/common/Checkbox.d.ts +0 -2
- package/react/components/common/Checkbox.js +2 -14
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/ColorPicker.d.ts +20 -0
- package/react/components/common/ColorPicker.js +92 -0
- package/react/components/common/ColorPicker.js.map +1 -0
- package/react/components/common/ContextMenu.d.ts +0 -1
- package/react/components/common/ContextMenu.js +11 -5
- package/react/components/common/ContextMenu.js.map +1 -1
- package/react/components/common/DropZone.d.ts +22 -0
- package/react/components/common/DropZone.js +65 -0
- package/react/components/common/DropZone.js.map +1 -0
- package/react/components/common/DropdownButton.d.ts +0 -1
- package/react/components/common/DropdownButton.js +24 -11
- package/react/components/common/DropdownButton.js.map +1 -1
- package/react/components/common/ErrorBoundary.d.ts +0 -1
- package/react/components/common/ErrorBoundary.js +1 -2
- package/react/components/common/ErrorBoundary.js.map +1 -1
- package/react/components/common/FileInput.d.ts +30 -0
- package/react/components/common/FileInput.js +123 -0
- package/react/components/common/FileInput.js.map +1 -0
- package/react/components/common/FinsembleIcon.d.ts +1 -2
- package/react/components/common/FinsembleIcon.js +8 -16
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleLink.d.ts +0 -1
- package/react/components/common/FinsembleLink.js +1 -2
- package/react/components/common/FinsembleLink.js.map +1 -1
- package/react/components/common/FinsembleSelect.d.ts +13 -0
- package/react/components/common/FinsembleSelect.js +62 -0
- package/react/components/common/FinsembleSelect.js.map +1 -0
- package/react/components/common/FinsembleToggle.d.ts +0 -1
- package/react/components/common/FinsembleToggle.js +19 -8
- package/react/components/common/FinsembleToggle.js.map +1 -1
- package/react/components/common/FinsembleToggleButtonBar.d.ts +0 -3
- package/react/components/common/FinsembleToggleButtonBar.js +25 -21
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -1
- package/react/components/common/Header.d.ts +0 -2
- package/react/components/common/Header.js +2 -4
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/ImagePreview.d.ts +21 -0
- package/react/components/common/ImagePreview.js +43 -0
- package/react/components/common/ImagePreview.js.map +1 -0
- package/react/components/common/InputTable.d.ts +18 -0
- package/react/components/common/InputTable.js +57 -0
- package/react/components/common/InputTable.js.map +1 -0
- package/react/components/common/LoadingSpinner.d.ts +3 -0
- package/react/components/common/LoadingSpinner.js +11 -0
- package/react/components/common/LoadingSpinner.js.map +1 -0
- package/react/components/common/Tab.d.ts +11 -0
- package/react/components/common/Tab.js +58 -0
- package/react/components/common/Tab.js.map +1 -0
- package/react/components/common/TimeSelect.d.ts +0 -1
- package/react/components/common/TimeSelect.js.map +1 -1
- package/react/components/common/Tooltip.d.ts +14 -0
- package/react/components/common/Tooltip.js +30 -0
- package/react/components/common/Tooltip.js.map +1 -0
- package/react/components/common/css/FinsembleToggle.css +2 -17
- package/react/components/common/css/accordion.css +21 -9
- package/react/components/common/css/application-edit-page.css +15 -0
- package/react/components/common/css/application-list.css +23 -54
- package/react/components/common/css/button.css +22 -58
- package/react/components/common/css/selector.css +2 -8
- package/react/components/common/css/tab.css +0 -1
- package/react/components/common/css/toggle.css +49 -34
- package/react/components/common/file_helpers.d.ts +2 -0
- package/react/components/common/file_helpers.js +22 -0
- package/react/components/common/file_helpers.js.map +1 -0
- package/react/components/common/helpers.d.ts +5 -0
- package/react/components/common/helpers.js +136 -0
- package/react/components/common/helpers.js.map +1 -0
- package/react/components/common/stories/Accordion.stories.d.ts +14 -0
- package/react/components/common/stories/Accordion.stories.js +42 -0
- package/react/components/common/stories/Accordion.stories.js.map +1 -0
- package/react/components/common/stories/Button.stories.d.ts +22 -0
- package/react/components/common/stories/Button.stories.js +77 -0
- package/react/components/common/stories/Button.stories.js.map +1 -0
- package/react/components/common/stories/ButtonIcon.stories.d.ts +15 -0
- package/react/components/common/stories/ButtonIcon.stories.js +35 -0
- package/react/components/common/stories/ButtonIcon.stories.js.map +1 -0
- package/react/components/common/stories/ButtonRow.stories.d.ts +14 -0
- package/react/components/common/stories/ButtonRow.stories.js +39 -0
- package/react/components/common/stories/ButtonRow.stories.js.map +1 -0
- package/react/components/common/stories/ButtonTile.stories.d.ts +17 -0
- package/react/components/common/stories/ButtonTile.stories.js +45 -0
- package/react/components/common/stories/ButtonTile.stories.js.map +1 -0
- package/react/components/common/stories/Checkbox.stories.d.ts +13 -0
- package/react/components/common/stories/Checkbox.stories.js +29 -0
- package/react/components/common/stories/Checkbox.stories.js.map +1 -0
- package/react/components/common/stories/ColorPicker.stories.d.ts +13 -0
- package/react/components/common/stories/ColorPicker.stories.js +29 -0
- package/react/components/common/stories/ColorPicker.stories.js.map +1 -0
- package/react/components/common/stories/ContextMenu.stories.d.ts +38 -0
- package/react/components/common/stories/ContextMenu.stories.js +70 -0
- package/react/components/common/stories/ContextMenu.stories.js.map +1 -0
- package/react/components/common/stories/DropZone.stories.d.ts +11 -0
- package/react/components/common/stories/DropZone.stories.js +16 -0
- package/react/components/common/stories/DropZone.stories.js.map +1 -0
- package/react/components/common/stories/DropdownButton.stories.d.ts +33 -0
- package/react/components/common/stories/DropdownButton.stories.js +42 -0
- package/react/components/common/stories/DropdownButton.stories.js.map +1 -0
- package/react/components/common/stories/FileInput.stories.d.ts +18 -0
- package/react/components/common/stories/FileInput.stories.js +59 -0
- package/react/components/common/stories/FileInput.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleIcon.stories.d.ts +3 -0
- package/react/components/common/stories/FinsembleIcon.stories.js +43 -0
- package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleSelect.stories.d.ts +20 -0
- package/react/components/common/stories/FinsembleSelect.stories.js +188 -0
- package/react/components/common/stories/FinsembleSelect.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleToggle.stories.d.ts +13 -0
- package/react/components/common/stories/FinsembleToggle.stories.js +28 -0
- package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -0
- 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/Header.stories.d.ts +14 -0
- package/react/components/common/stories/Header.stories.js +38 -0
- package/react/components/common/stories/Header.stories.js.map +1 -0
- package/react/components/common/stories/ImagePreview.stories.d.ts +16 -0
- package/react/components/common/stories/ImagePreview.stories.js +55 -0
- package/react/components/common/stories/ImagePreview.stories.js.map +1 -0
- package/react/components/common/stories/InputTable.stories.d.ts +13 -0
- package/react/components/common/stories/InputTable.stories.js +45 -0
- package/react/components/common/stories/InputTable.stories.js.map +1 -0
- package/react/components/common/stories/LoadingSpinner.stories.d.ts +9 -0
- package/react/components/common/stories/LoadingSpinner.stories.js +10 -0
- package/react/components/common/stories/LoadingSpinner.stories.js.map +1 -0
- package/react/components/common/stories/Tab.stories.d.ts +12 -0
- package/react/components/common/stories/Tab.stories.js +28 -0
- package/react/components/common/stories/Tab.stories.js.map +1 -0
- package/react/components/common/stories/TimeSelect.stories.d.ts +11 -0
- package/react/components/common/stories/TimeSelect.stories.js +20 -0
- package/react/components/common/stories/TimeSelect.stories.js.map +1 -0
- package/react/components/common/stories/Tooltip.stories.d.ts +27 -0
- package/react/components/common/stories/Tooltip.stories.js +47 -0
- package/react/components/common/stories/Tooltip.stories.js.map +1 -0
- package/react/components/common/tests/Accordion.spec.d.ts +1 -0
- package/react/components/common/tests/Accordion.spec.js +59 -0
- package/react/components/common/tests/Accordion.spec.js.map +1 -0
- package/react/components/common/tests/ButtonRow.spec.d.ts +1 -0
- package/react/components/common/tests/ButtonRow.spec.js +30 -0
- package/react/components/common/tests/ButtonRow.spec.js.map +1 -0
- package/react/components/common/tests/Checkbox.spec.d.ts +1 -0
- package/react/components/common/tests/Checkbox.spec.js +34 -0
- package/react/components/common/tests/Checkbox.spec.js.map +1 -0
- package/react/components/common/tests/ColorPicker.spec.d.ts +1 -0
- package/react/components/common/tests/ColorPicker.spec.js +96 -0
- package/react/components/common/tests/ColorPicker.spec.js.map +1 -0
- package/react/components/common/tests/ContextMenu.spec.d.ts +1 -0
- package/react/components/common/tests/ContextMenu.spec.js +108 -0
- package/react/components/common/tests/ContextMenu.spec.js.map +1 -0
- package/react/components/common/tests/DropZone.spec.d.ts +1 -0
- package/react/components/common/tests/DropZone.spec.js +55 -0
- package/react/components/common/tests/DropZone.spec.js.map +1 -0
- package/react/components/common/tests/DropdownButton.spec.d.ts +1 -0
- package/react/components/common/tests/DropdownButton.spec.js +32 -0
- package/react/components/common/tests/DropdownButton.spec.js.map +1 -0
- package/react/components/common/tests/FileInput.spec.d.ts +1 -0
- package/react/components/common/tests/FileInput.spec.js +72 -0
- package/react/components/common/tests/FileInput.spec.js.map +1 -0
- package/react/components/common/tests/FinsembleSelect.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleSelect.spec.js +89 -0
- package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -0
- package/react/components/common/tests/FinsembleToggle.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleToggle.spec.js +29 -0
- package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -0
- 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/Header.spec.d.ts +1 -0
- package/react/components/common/tests/Header.spec.js +24 -0
- package/react/components/common/tests/Header.spec.js.map +1 -0
- package/react/components/common/tests/ImagePreview.spec.d.ts +1 -0
- package/react/components/common/tests/ImagePreview.spec.js +46 -0
- package/react/components/common/tests/ImagePreview.spec.js.map +1 -0
- package/react/components/common/tests/InputTable.spec.d.ts +1 -0
- package/react/components/common/tests/InputTable.spec.js +166 -0
- package/react/components/common/tests/InputTable.spec.js.map +1 -0
- package/react/components/common/tests/Tab.spec.d.ts +1 -0
- package/react/components/common/tests/Tab.spec.js +25 -0
- package/react/components/common/tests/Tab.spec.js.map +1 -0
- package/react/components/common/tests/TimeSelect.spec.d.ts +1 -0
- package/react/components/common/tests/TimeSelect.spec.js +75 -0
- package/react/components/common/tests/TimeSelect.spec.js.map +1 -0
- package/react/components/common/tests/Tooltip.spec.d.ts +1 -0
- package/react/components/common/tests/Tooltip.spec.js +50 -0
- package/react/components/common/tests/Tooltip.spec.js.map +1 -0
- package/react/components/favorites/FavoriteMaker.d.ts +0 -1
- package/react/components/favorites/FavoriteMaker.js.map +1 -1
- package/react/components/favorites/FavoritesShell.d.ts +0 -1
- package/react/components/favorites/FavoritesShell.js.map +1 -1
- package/react/components/favorites/FavoritesShell.spec.d.ts +1 -0
- package/react/components/favorites/FavoritesShell.spec.js +64 -0
- package/react/components/favorites/FavoritesShell.spec.js.map +1 -0
- package/react/components/favorites/FavoritesShell.stories.d.ts +9 -0
- package/react/components/favorites/FavoritesShell.stories.js +46 -0
- package/react/components/favorites/FavoritesShell.stories.js.map +1 -0
- package/react/components/favorites/index.d.ts +2 -0
- package/react/components/favorites/index.js +3 -0
- package/react/components/favorites/index.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +0 -7
- package/react/components/fdc3Resolver/ResolverContainer.js +18 -63
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.css +84 -72
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +2 -15
- package/react/components/fdc3Resolver/ResolverDialog.js +72 -132
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.d.ts +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +52 -0
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.d.ts +13 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +175 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -0
- package/react/components/icon/Icon.d.ts +2 -2
- package/react/components/icon/Icon.js +1 -1
- package/react/components/icon/Icon.js.map +1 -1
- package/react/components/icon/index.d.ts +0 -1
- package/react/components/icon/index.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialog.d.ts +0 -1
- package/react/components/legacyControls/FinsembleDialog.js +12 -13
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +0 -1
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +0 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +1 -2
- package/react/components/legacyControls/FinsembleDialogTextInput.js +3 -4
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +0 -1
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts +0 -1
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -1
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +22 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js +57 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -0
- package/react/components/legacyControls/FinsembleMenuSection.d.ts +17 -0
- package/react/components/legacyControls/FinsembleMenuSection.js +123 -0
- package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.d.ts +10 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js +21 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.d.ts +18 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js +37 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.d.ts +14 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js +15 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.d.ts +16 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js +51 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js +12 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js +39 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js +19 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +83 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -0
- package/react/components/linker/LinkerMenu.d.ts +0 -1
- package/react/components/linker/LinkerMenu.js +22 -30
- package/react/components/linker/LinkerMenu.js.map +1 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts +0 -1
- package/react/components/linker/LinkerMenuDeprecated.js +2 -3
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -1
- package/react/components/linker/index.d.ts +0 -1
- package/react/components/linker/index.js.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +12 -4
- package/react/components/linker/remoteRedux.js +15 -4
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +4 -5
- package/react/components/menu/Menu.js +4 -4
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +0 -1
- package/react/components/menu/MenuAutoResizer.js +1 -2
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuContent.d.ts +0 -1
- package/react/components/menu/MenuContent.js.map +1 -1
- package/react/components/menu/MenuHotKey.d.ts +1 -2
- package/react/components/menu/MenuHotKey.js +9 -20
- package/react/components/menu/MenuHotKey.js.map +1 -1
- package/react/components/menu/MenuItem.d.ts +0 -1
- package/react/components/menu/MenuItem.js.map +1 -1
- package/react/components/menu/MenuPortal.d.ts +0 -1
- package/react/components/menu/MenuPortal.js +4 -6
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +2 -3
- package/react/components/menu/MenuShell.js +3 -3
- package/react/components/menu/MenuShell.js.map +1 -1
- package/react/components/menu/MenuToggle.d.ts +0 -1
- package/react/components/menu/MenuToggle.js.map +1 -1
- package/react/components/menu/index.d.ts +0 -1
- package/react/components/menu/index.js.map +1 -1
- package/react/components/menu/keyboardNavigation.d.ts +0 -1
- package/react/components/menu/keyboardNavigation.js +1 -1
- package/react/components/menu/keyboardNavigation.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +0 -1
- package/react/components/menu/menuContext.js.map +1 -1
- package/react/components/menu/menuHelpers.d.ts +0 -1
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/NoNotifications.d.ts +0 -1
- package/react/components/notifications/components/NoNotifications.js.map +1 -1
- package/react/components/notifications/components/drawer/Drawer.d.ts +7 -0
- package/react/components/notifications/components/drawer/Drawer.js.map +1 -0
- package/react/components/notifications/components/drawer/DrawerControls.d.ts +3 -0
- package/react/components/notifications/components/drawer/DrawerControls.js +117 -0
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -0
- package/react/components/notifications/components/drawer/DrawerHeader.d.ts +6 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js +77 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +2 -4
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +375 -17
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +1 -2
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +103 -144
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +3 -2
- package/react/components/notifications/components/shared/CheckButton.js +2 -2
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.d.ts +1 -2
- package/react/components/notifications/components/shared/IconButton.js +2 -2
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +4 -3
- package/react/components/notifications/components/shared/NotificationCardShell.js +4 -5
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +3 -2
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +5 -4
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +88 -93
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +4 -3
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.d.ts +4 -0
- package/react/components/notifications/components/views/CardView.js +92 -0
- package/react/components/notifications/components/views/CardView.js.map +1 -0
- package/react/components/notifications/components/views/ListView.d.ts +11 -0
- package/react/components/notifications/components/views/ListView.js +146 -0
- package/react/components/notifications/components/views/ListView.js.map +1 -0
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts +7 -0
- package/react/components/notifications/components/views/NotificationDetailsView.js +64 -0
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -0
- package/react/components/notifications/constants.d.ts +0 -1
- package/react/components/notifications/constants.js.map +1 -1
- package/react/components/notifications/css/notification-card.css +7 -11
- package/react/components/notifications/icons/Card.d.ts +2 -0
- package/react/components/notifications/icons/Card.js +11 -0
- package/react/components/notifications/icons/Card.js.map +1 -0
- package/react/components/notifications/icons/Chevron.d.ts +2 -0
- package/react/components/notifications/icons/Chevron.js +14 -0
- package/react/components/notifications/icons/Chevron.js.map +1 -0
- package/react/components/notifications/icons/CloseIcon.d.ts +2 -0
- package/react/components/notifications/icons/CloseIcon.js +10 -0
- package/react/components/notifications/icons/CloseIcon.js.map +1 -0
- package/react/components/notifications/icons/EnvelopeClose.d.ts +0 -1
- package/react/components/notifications/icons/EnvelopeClose.js.map +1 -1
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +0 -1
- package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -1
- package/react/components/notifications/icons/SnoozeIcon.d.ts +0 -1
- package/react/components/notifications/icons/SnoozeIcon.js.map +1 -1
- package/react/components/notifications/index.d.ts +1 -2
- package/react/components/notifications/index.js +1 -1
- package/react/components/notifications/index.js.map +1 -1
- package/react/components/notifications/notificationsContext.d.ts +0 -1
- package/react/components/notifications/notificationsContext.js.map +1 -1
- package/react/components/notifications/stories/NotificationCardShell.stories.d.ts +14 -0
- package/react/components/notifications/stories/NotificationCardShell.stories.js +108 -0
- package/react/components/notifications/stories/NotificationCardShell.stories.js.map +1 -0
- package/react/components/notifications/tests/NotificationCardShell.spec.d.ts +1 -0
- package/react/components/notifications/tests/NotificationCardShell.spec.js +91 -0
- package/react/components/notifications/tests/NotificationCardShell.spec.js.map +1 -0
- package/react/components/notifications/types.d.ts +7 -5
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +5 -2
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts +0 -1
- package/react/components/processMonitor/ProcessMonitor.js +88 -52
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +5 -2
- package/react/components/processMonitor/ProcessMonitorTypes.js +5 -1
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts +9 -7
- package/react/components/processMonitor/components/ChildWindow.js +34 -27
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +19 -4
- package/react/components/processMonitor/components/ListHeader.js +39 -36
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +9 -8
- package/react/components/processMonitor/components/ProcessStatistics.js +24 -22
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -1
- package/react/components/processMonitor/constants.d.ts +2 -2
- package/react/components/processMonitor/constants.js +8 -2
- package/react/components/processMonitor/constants.js.map +1 -1
- package/react/components/processMonitor/helpers.d.ts +1 -1
- package/react/components/processMonitor/helpers.js +9 -2
- package/react/components/processMonitor/helpers.js.map +1 -1
- package/react/components/processMonitor/helpers.spec.d.ts +1 -0
- package/react/components/processMonitor/helpers.spec.js +48 -0
- package/react/components/processMonitor/helpers.spec.js.map +1 -0
- package/react/components/processMonitor/index.d.ts +0 -1
- package/react/components/processMonitor/index.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +11 -8
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +58 -30
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +0 -1
- package/react/components/quickComponentForm/QuickComponentForm.js +17 -27
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -1
- package/react/components/quickComponentForm/index.d.ts +0 -1
- package/react/components/quickComponentForm/index.js.map +1 -1
- package/react/components/sdd/AddApp.d.ts +17 -0
- package/react/components/sdd/AddApp.js +178 -0
- package/react/components/sdd/AddApp.js.map +1 -0
- package/react/components/sdd/AppEditAccess.d.ts +16 -0
- package/react/components/sdd/AppEditAccess.js +130 -0
- package/react/components/sdd/AppEditAccess.js.map +1 -0
- package/react/components/sdd/AppEditPage.d.ts +26 -0
- package/react/components/sdd/AppEditPage.js +421 -0
- package/react/components/sdd/AppEditPage.js.map +1 -0
- package/react/components/sdd/Appearance.d.ts +18 -0
- package/react/components/sdd/Appearance.helpers.d.ts +1 -0
- package/react/components/sdd/Appearance.helpers.js +2 -0
- package/react/components/sdd/Appearance.helpers.js.map +1 -0
- package/react/components/sdd/Appearance.js +64 -0
- package/react/components/sdd/Appearance.js.map +1 -0
- package/react/components/sdd/Application.d.ts +37 -0
- package/react/components/sdd/Application.js +269 -0
- package/react/components/sdd/Application.js.map +1 -0
- package/react/components/sdd/Applications.d.ts +20 -0
- package/react/components/sdd/Applications.js +281 -0
- package/react/components/sdd/Applications.js.map +1 -0
- package/react/components/sdd/AssetsPage.d.ts +15 -0
- package/react/components/sdd/AssetsPage.js +59 -0
- package/react/components/sdd/AssetsPage.js.map +1 -0
- package/react/components/sdd/Authentication.d.ts +9 -0
- package/react/components/sdd/Authentication.js +61 -0
- package/react/components/sdd/Authentication.js.map +1 -0
- package/react/components/sdd/AuthenticationProviderConfig.d.ts +9 -0
- package/react/components/sdd/AuthenticationProviderConfig.js +90 -0
- package/react/components/sdd/AuthenticationProviderConfig.js.map +1 -0
- package/react/components/sdd/Content.d.ts +0 -1
- package/react/components/sdd/Content.js.map +1 -1
- package/react/components/sdd/ContentHeader.d.ts +5 -0
- package/react/components/sdd/ContentHeader.js +10 -0
- package/react/components/sdd/ContentHeader.js.map +1 -0
- package/react/components/sdd/CurrentView.d.ts +11 -0
- package/react/components/sdd/CurrentView.js +14 -0
- package/react/components/sdd/CurrentView.js.map +1 -0
- package/react/components/sdd/EditPreload.d.ts +13 -0
- package/react/components/sdd/EditPreload.js +183 -0
- package/react/components/sdd/EditPreload.js.map +1 -0
- package/react/components/sdd/Export.d.ts +0 -7
- package/react/components/sdd/Export.js +15 -83
- package/react/components/sdd/Export.js.map +1 -1
- package/react/components/sdd/ExportCloud.d.ts +0 -1
- package/react/components/sdd/ExportCloud.js.map +1 -1
- package/react/components/sdd/ExportDeployInfo.d.ts +0 -1
- package/react/components/sdd/ExportDeployInfo.js.map +1 -1
- package/react/components/sdd/ExportZip.d.ts +0 -1
- package/react/components/sdd/ExportZip.js +25 -20
- package/react/components/sdd/ExportZip.js.map +1 -1
- package/react/components/sdd/ItemList.d.ts +17 -0
- package/react/components/sdd/ItemList.js +58 -0
- package/react/components/sdd/ItemList.js.map +1 -0
- package/react/components/sdd/Navigation.d.ts +11 -0
- package/react/components/sdd/Navigation.js +59 -0
- package/react/components/sdd/Navigation.js.map +1 -0
- package/react/components/sdd/OptionalSettingsView.d.ts +10 -0
- package/react/components/sdd/OptionalSettingsView.js +48 -0
- package/react/components/sdd/OptionalSettingsView.js.map +1 -0
- package/react/components/sdd/Preloads.d.ts +6 -0
- package/react/components/sdd/Preloads.js +24 -0
- package/react/components/sdd/Preloads.js.map +1 -0
- package/react/components/sdd/ProjectErrors.d.ts +0 -1
- package/react/components/sdd/ProjectErrors.js +2 -3
- package/react/components/sdd/ProjectErrors.js.map +1 -1
- package/react/components/sdd/Publish.d.ts +0 -1
- package/react/components/sdd/Publish.js +3 -4
- package/react/components/sdd/Publish.js.map +1 -1
- package/react/components/sdd/PublishProgress.d.ts +0 -1
- package/react/components/sdd/PublishProgress.js.map +1 -1
- package/react/components/sdd/SmartDesktopDesigner.d.ts +30 -0
- package/react/components/sdd/SmartDesktopDesigner.js +146 -0
- package/react/components/sdd/SmartDesktopDesigner.js.map +1 -0
- package/react/components/sdd/ThemePage.css +0 -6
- package/react/components/sdd/ThemePage.d.ts +14 -0
- package/react/components/sdd/ThemePage.js +106 -0
- package/react/components/sdd/ThemePage.js.map +1 -0
- package/react/components/sdd/Themes.d.ts +22 -0
- package/react/components/sdd/Themes.js +15 -0
- package/react/components/sdd/Themes.js.map +1 -0
- package/react/components/sdd/Toolbar.d.ts +16 -0
- package/react/components/sdd/Toolbar.js +134 -0
- package/react/components/sdd/Toolbar.js.map +1 -0
- package/react/components/sdd/View.d.ts +0 -1
- package/react/components/sdd/View.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/fsbl_functions.d.ts +2 -0
- package/react/components/sdd/common/fsbl_functions.js +17 -0
- package/react/components/sdd/common/fsbl_functions.js.map +1 -0
- package/react/components/sdd/common/getCSSVars.d.ts +1 -0
- package/react/components/sdd/common/getCSSVars.js +15 -0
- package/react/components/sdd/common/getCSSVars.js.map +1 -0
- package/react/components/sdd/common/setPreloadDefaults.d.ts +1 -0
- package/react/components/sdd/common/setPreloadDefaults.js +26 -0
- package/react/components/sdd/common/setPreloadDefaults.js.map +1 -0
- package/react/components/sdd/common/views.d.ts +3 -0
- package/react/components/sdd/common/views.js +190 -0
- package/react/components/sdd/common/views.js.map +1 -0
- package/react/components/sdd/css/addApp.css +9 -63
- package/react/components/sdd/css/applications.css +15 -53
- package/react/components/sdd/css/authentication.css +1 -1
- package/react/components/sdd/css/export.css +3 -68
- package/react/components/sdd/css/nav.css +21 -26
- package/react/components/sdd/css/project-header.css +1 -2
- package/react/components/sdd/css/views.css +0 -3
- package/react/components/sdd/fixtures/apps.d.ts +9 -0
- package/react/components/sdd/fixtures/apps.js +383 -0
- package/react/components/sdd/fixtures/apps.js.map +1 -0
- package/react/components/sdd/fixtures/authenticationProps.d.ts +2 -0
- package/react/components/sdd/fixtures/authenticationProps.js +23 -0
- package/react/components/sdd/fixtures/authenticationProps.js.map +1 -0
- package/react/components/sdd/fixtures/configTemplate.d.ts +44 -0
- package/react/components/sdd/fixtures/configTemplate.js +54 -0
- package/react/components/sdd/fixtures/configTemplate.js.map +1 -0
- package/react/components/sdd/fixtures/exportProps.d.ts +2 -0
- package/react/components/sdd/fixtures/exportProps.js +34 -0
- package/react/components/sdd/fixtures/exportProps.js.map +1 -0
- package/react/components/sdd/fixtures/preloads.d.ts +3 -0
- package/react/components/sdd/fixtures/preloads.js +59 -0
- package/react/components/sdd/fixtures/preloads.js.map +1 -0
- package/react/components/sdd/fixtures/projectErrorsProps.d.ts +3 -0
- package/react/components/sdd/fixtures/projectErrorsProps.js +13 -0
- package/react/components/sdd/fixtures/projectErrorsProps.js.map +1 -0
- package/react/components/sdd/fixtures/publishProgress.d.ts +7 -0
- package/react/components/sdd/fixtures/publishProgress.js +358 -0
- package/react/components/sdd/fixtures/publishProgress.js.map +1 -0
- package/react/components/sdd/fixtures/themeProps.d.ts +26 -0
- package/react/components/sdd/fixtures/themeProps.js +18 -0
- package/react/components/sdd/fixtures/themeProps.js.map +1 -0
- package/react/components/sdd/fixtures/views.d.ts +3 -0
- package/react/components/sdd/fixtures/views.js +74 -0
- package/react/components/sdd/fixtures/views.js.map +1 -0
- package/react/components/sdd/sdd_helpers.d.ts +20 -0
- package/react/components/sdd/sdd_helpers.js +36 -0
- package/react/components/sdd/sdd_helpers.js.map +1 -0
- package/react/components/sdd/smartDesktopClient.d.ts +18 -179
- package/react/components/sdd/smartDesktopClient.js +30 -346
- package/react/components/sdd/smartDesktopClient.js.map +1 -1
- 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 +17 -0
- package/react/components/sdd/stories/AppEditPage.stories.js +40 -0
- package/react/components/sdd/stories/AppEditPage.stories.js.map +1 -0
- package/react/components/sdd/stories/Appearance.stories.d.ts +10 -0
- package/react/components/sdd/stories/Appearance.stories.js +27 -0
- package/react/components/sdd/stories/Appearance.stories.js.map +1 -0
- package/react/components/sdd/stories/Applications.stories.d.ts +14 -0
- package/react/components/sdd/stories/Applications.stories.js +38 -0
- package/react/components/sdd/stories/Applications.stories.js.map +1 -0
- package/react/components/sdd/stories/AssetsPage.stories.d.ts +10 -0
- package/react/components/sdd/stories/AssetsPage.stories.js +16 -0
- package/react/components/sdd/stories/AssetsPage.stories.js.map +1 -0
- package/react/components/sdd/stories/Authentication.stories.d.ts +13 -0
- package/react/components/sdd/stories/Authentication.stories.js +25 -0
- package/react/components/sdd/stories/Authentication.stories.js.map +1 -0
- package/react/components/sdd/stories/ContentHeader.stories.d.ts +10 -0
- package/react/components/sdd/stories/ContentHeader.stories.js +13 -0
- package/react/components/sdd/stories/ContentHeader.stories.js.map +1 -0
- package/react/components/sdd/stories/Export.stories.d.ts +11 -0
- package/react/components/sdd/stories/Export.stories.js +19 -0
- package/react/components/sdd/stories/Export.stories.js.map +1 -0
- package/react/components/sdd/stories/ExportCloud.stories.d.ts +11 -0
- package/react/components/sdd/stories/ExportCloud.stories.js +19 -0
- package/react/components/sdd/stories/ExportCloud.stories.js.map +1 -0
- package/react/components/sdd/stories/ExportZip.stories.d.ts +12 -0
- package/react/components/sdd/stories/ExportZip.stories.js +26 -0
- package/react/components/sdd/stories/ExportZip.stories.js.map +1 -0
- package/react/components/sdd/stories/ItemList.stories.d.ts +16 -0
- package/react/components/sdd/stories/ItemList.stories.js +94 -0
- package/react/components/sdd/stories/ItemList.stories.js.map +1 -0
- package/react/components/sdd/stories/Navigation.stories.d.ts +11 -0
- package/react/components/sdd/stories/Navigation.stories.js +22 -0
- package/react/components/sdd/stories/Navigation.stories.js.map +1 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.d.ts +12 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.js +27 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.js.map +1 -0
- package/react/components/sdd/stories/ProjectErrors.stories.d.ts +11 -0
- package/react/components/sdd/stories/ProjectErrors.stories.js +19 -0
- package/react/components/sdd/stories/ProjectErrors.stories.js.map +1 -0
- package/react/components/sdd/stories/Publish.stories.d.ts +16 -0
- package/react/components/sdd/stories/Publish.stories.js +53 -0
- package/react/components/sdd/stories/Publish.stories.js.map +1 -0
- package/react/components/sdd/stories/PublishProgress.stories.d.ts +14 -0
- package/react/components/sdd/stories/PublishProgress.stories.js +26 -0
- package/react/components/sdd/stories/PublishProgress.stories.js.map +1 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.d.ts +10 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js +65 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js.map +1 -0
- package/react/components/sdd/stories/ThemePage.stories.d.ts +10 -0
- package/react/components/sdd/stories/ThemePage.stories.js +16 -0
- package/react/components/sdd/stories/ThemePage.stories.js.map +1 -0
- package/react/components/sdd/stories/Themes.stories.d.ts +10 -0
- package/react/components/sdd/stories/Themes.stories.js +28 -0
- package/react/components/sdd/stories/Themes.stories.js.map +1 -0
- package/react/components/sdd/stories/Toolbar.stories.d.ts +14 -0
- package/react/components/sdd/stories/Toolbar.stories.js +38 -0
- package/react/components/sdd/stories/Toolbar.stories.js.map +1 -0
- package/react/components/sdd/tests/AddApp.spec.d.ts +1 -0
- package/react/components/sdd/tests/AddApp.spec.js +239 -0
- package/react/components/sdd/tests/AddApp.spec.js.map +1 -0
- package/react/components/sdd/tests/AppEditPage.spec.d.ts +1 -0
- package/react/components/sdd/tests/AppEditPage.spec.js +1348 -0
- package/react/components/sdd/tests/AppEditPage.spec.js.map +1 -0
- package/react/components/sdd/tests/Application.spec.d.ts +1 -0
- package/react/components/sdd/tests/Application.spec.js +1460 -0
- package/react/components/sdd/tests/Application.spec.js.map +1 -0
- package/react/components/sdd/tests/Applications.spec.d.ts +1 -0
- package/react/components/sdd/tests/Applications.spec.js +165 -0
- package/react/components/sdd/tests/Applications.spec.js.map +1 -0
- package/react/components/sdd/tests/Authentication.spec.d.ts +1 -0
- package/react/components/sdd/tests/Authentication.spec.js +118 -0
- package/react/components/sdd/tests/Authentication.spec.js.map +1 -0
- package/react/components/sdd/tests/ContentHeader.spec.d.ts +1 -0
- package/react/components/sdd/tests/ContentHeader.spec.js +33 -0
- package/react/components/sdd/tests/ContentHeader.spec.js.map +1 -0
- package/react/components/sdd/tests/EditPreload.spec.d.ts +1 -0
- package/react/components/sdd/tests/EditPreload.spec.js +126 -0
- package/react/components/sdd/tests/EditPreload.spec.js.map +1 -0
- package/react/components/sdd/tests/Export.spec.d.ts +1 -0
- package/react/components/sdd/tests/Export.spec.js +190 -0
- package/react/components/sdd/tests/Export.spec.js.map +1 -0
- package/react/components/sdd/tests/ExportZip.spec.d.ts +1 -0
- package/react/components/sdd/tests/ExportZip.spec.js +32 -0
- package/react/components/sdd/tests/ExportZip.spec.js.map +1 -0
- package/react/components/sdd/tests/ItemList.spec.d.ts +1 -0
- package/react/components/sdd/tests/ItemList.spec.js +98 -0
- package/react/components/sdd/tests/ItemList.spec.js.map +1 -0
- package/react/components/sdd/tests/Navigation.spec.d.ts +1 -0
- package/react/components/sdd/tests/Navigation.spec.js +26 -0
- package/react/components/sdd/tests/Navigation.spec.js.map +1 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.d.ts +1 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.js +299 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.js.map +1 -0
- package/react/components/sdd/tests/ProjectErrors.spec.d.ts +1 -0
- package/react/components/sdd/tests/ProjectErrors.spec.js +46 -0
- package/react/components/sdd/tests/ProjectErrors.spec.js.map +1 -0
- package/react/components/sdd/tests/Publish.spec.d.ts +1 -0
- package/react/components/sdd/tests/Publish.spec.js +31 -0
- package/react/components/sdd/tests/Publish.spec.js.map +1 -0
- package/react/components/sdd/tests/PublishProgess.spec.d.ts +1 -0
- package/react/components/sdd/tests/PublishProgess.spec.js +17 -0
- package/react/components/sdd/tests/PublishProgess.spec.js.map +1 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.d.ts +1 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js +57 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js.map +1 -0
- package/react/components/sdd/tests/Themes.spec.d.ts +1 -0
- package/react/components/sdd/tests/Themes.spec.js +52 -0
- package/react/components/sdd/tests/Themes.spec.js.map +1 -0
- package/react/components/sdd/tests/Toolbar.spec.d.ts +1 -0
- package/react/components/sdd/tests/Toolbar.spec.js +256 -0
- package/react/components/sdd/tests/Toolbar.spec.js.map +1 -0
- package/react/components/sdd/tests/a11y_helper.d.ts +2 -0
- package/react/components/sdd/tests/a11y_helper.js +32 -0
- package/react/components/sdd/tests/a11y_helper.js.map +1 -0
- package/react/components/sdd/tests/sdd_helpers.spec.d.ts +1 -0
- package/react/components/sdd/tests/sdd_helpers.spec.js +18 -0
- package/react/components/sdd/tests/sdd_helpers.spec.js.map +1 -0
- package/react/components/sdd/themeDefinitions.d.ts +50 -0
- package/react/components/sdd/themeDefinitions.js +51 -0
- package/react/components/sdd/themeDefinitions.js.map +1 -0
- package/react/components/search/Highlight.d.ts +0 -1
- package/react/components/search/Highlight.js.map +1 -1
- package/react/components/search/Highlight.spec.d.ts +1 -0
- package/react/components/search/Highlight.spec.js +22 -0
- package/react/components/search/Highlight.spec.js.map +1 -0
- package/react/components/search/Highlight.stories.d.ts +15 -0
- package/react/components/search/Highlight.stories.js +39 -0
- package/react/components/search/Highlight.stories.js.map +1 -0
- package/react/components/search/Search.d.ts +0 -1
- package/react/components/search/Search.js.map +1 -1
- package/react/components/search/SearchBestMatch.d.ts +0 -1
- package/react/components/search/SearchBestMatch.js.map +1 -1
- package/react/components/search/SearchInput.d.ts +0 -1
- package/react/components/search/SearchInput.js +1 -1
- package/react/components/search/SearchInput.js.map +1 -1
- package/react/components/search/SearchProviderResults.d.ts +3 -2
- package/react/components/search/SearchProviderResults.js +2 -3
- package/react/components/search/SearchProviderResults.js.map +1 -1
- package/react/components/search/SearchResult.d.ts +3 -2
- package/react/components/search/SearchResult.js +3 -4
- 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.d.ts +0 -1
- package/react/components/search/SearchResults.js +6 -6
- 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/search/index.d.ts +0 -1
- package/react/components/search/index.js.map +1 -1
- package/react/components/shared/Animate.d.ts +15 -0
- package/react/components/shared/Animate.js +36 -0
- package/react/components/shared/Animate.js.map +1 -0
- package/react/components/shared/BellIcon.d.ts +0 -1
- package/react/components/shared/BellIcon.js.map +1 -1
- package/react/components/shared/BellIconCrossed.d.ts +0 -1
- package/react/components/shared/BellIconCrossed.js.map +1 -1
- package/react/components/shared/Button.d.ts +0 -1
- package/react/components/shared/Button.js.map +1 -1
- package/react/components/shared/ConditionalWrapper.d.ts +0 -1
- package/react/components/shared/ConditionalWrapper.js.map +1 -1
- package/react/components/shared/DefaultDropdownButton.d.ts +0 -1
- package/react/components/shared/DefaultDropdownButton.js +1 -1
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/shared/NavigationButton.d.ts +10 -0
- package/react/components/shared/NavigationButton.js +13 -0
- package/react/components/shared/NavigationButton.js.map +1 -0
- package/react/components/shared/Tag.d.ts +0 -1
- package/react/components/shared/Tag.js.map +1 -1
- package/react/components/shared/TagsMenu.d.ts +0 -1
- package/react/components/shared/TagsMenu.js.map +1 -1
- package/react/components/shared/addProtocolToValidURL.d.ts +0 -1
- package/react/components/shared/addProtocolToValidURL.js.map +1 -1
- package/react/components/shared/linkerUtil.d.ts +3 -0
- package/react/components/shared/linkerUtil.js +10 -0
- package/react/components/shared/linkerUtil.js.map +1 -0
- package/react/components/shared/openQuitConfirmationDialog.d.ts +0 -1
- package/react/components/shared/openQuitConfirmationDialog.js +6 -34
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -1
- package/react/components/shared/tests/DefaultDropdownButton.spec.d.ts +1 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.js +75 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.d.ts +1 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.js +20 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -0
- package/react/components/shared/validateURL.d.ts +0 -1
- package/react/components/shared/validateURL.js.map +1 -1
- package/react/components/shared/validateURL.spec.d.ts +1 -0
- package/react/components/shared/validateURL.spec.js +25 -0
- package/react/components/shared/validateURL.spec.js.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +0 -1
- package/react/components/singleInputDialog/SingleInputDialog.js +101 -87
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -1
- package/react/components/singleInputDialog/SingleInputDialog.spec.d.ts +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.spec.js +38 -0
- package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.d.ts +15 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.js +65 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -0
- package/react/components/singleInputDialog/index.d.ts +0 -1
- package/react/components/singleInputDialog/index.js.map +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +2 -0
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +9 -0
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -0
- package/react/components/smartDesktopDesigner/common/views.d.ts +3 -0
- package/react/components/smartDesktopDesigner/common/views.js +2 -0
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -0
- package/react/components/system/System.d.ts +0 -1
- package/react/components/system/System.js +6 -7
- package/react/components/system/System.js.map +1 -1
- package/react/components/system/System.spec.d.ts +1 -0
- package/react/components/system/System.spec.js +21 -0
- package/react/components/system/System.spec.js.map +1 -0
- package/react/components/system/System.stories.d.ts +9 -0
- package/react/components/system/System.stories.js +42 -0
- package/react/components/system/System.stories.js.map +1 -0
- package/react/components/system/SystemTrayComponentShell.d.ts +2 -6
- package/react/components/system/SystemTrayComponentShell.js +7 -22
- package/react/components/system/SystemTrayComponentShell.js.map +1 -1
- package/react/components/system/index.d.ts +0 -1
- package/react/components/system/index.js.map +1 -1
- package/react/components/toolbar/AutoArrange.d.ts +0 -1
- package/react/components/toolbar/AutoArrange.js +1 -2
- package/react/components/toolbar/AutoArrange.js.map +1 -1
- package/react/components/toolbar/AutoArrange.spec.d.ts +1 -0
- package/react/components/toolbar/AutoArrange.spec.js +54 -0
- package/react/components/toolbar/AutoArrange.spec.js.map +1 -0
- package/react/components/toolbar/AutoArrange.stories.d.ts +11 -0
- package/react/components/toolbar/AutoArrange.stories.js +22 -0
- package/react/components/toolbar/AutoArrange.stories.js.map +1 -0
- package/react/components/toolbar/DragHandle.d.ts +0 -1
- package/react/components/toolbar/DragHandle.js +6 -10
- 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 +32 -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 +40 -0
- package/react/components/toolbar/DragHandle.stories.js.map +1 -0
- package/react/components/toolbar/MinimizeAll.d.ts +1 -2
- package/react/components/toolbar/MinimizeAll.js +1 -1
- package/react/components/toolbar/MinimizeAll.js.map +1 -1
- package/react/components/toolbar/MinimizeAll.spec.d.ts +1 -0
- package/react/components/toolbar/MinimizeAll.spec.js +49 -0
- package/react/components/toolbar/MinimizeAll.spec.js.map +1 -0
- package/react/components/toolbar/MinimizeAll.stories.d.ts +11 -0
- package/react/components/toolbar/MinimizeAll.stories.js +22 -0
- package/react/components/toolbar/MinimizeAll.stories.js.map +1 -0
- package/react/components/toolbar/NotificationControl.d.ts +0 -1
- package/react/components/toolbar/NotificationControl.js +5 -4
- package/react/components/toolbar/NotificationControl.js.map +1 -1
- package/react/components/toolbar/RevealAll.d.ts +1 -2
- package/react/components/toolbar/RevealAll.js +1 -1
- package/react/components/toolbar/RevealAll.js.map +1 -1
- package/react/components/toolbar/RevealAll.spec.d.ts +1 -0
- package/react/components/toolbar/RevealAll.spec.js +49 -0
- package/react/components/toolbar/RevealAll.spec.js.map +1 -0
- package/react/components/toolbar/RevealAll.stories.d.ts +11 -0
- package/react/components/toolbar/RevealAll.stories.js +22 -0
- package/react/components/toolbar/RevealAll.stories.js.map +1 -0
- package/react/components/toolbar/SddButton.d.ts +0 -1
- package/react/components/toolbar/SddButton.js +2 -3
- package/react/components/toolbar/SddButton.js.map +1 -1
- package/react/components/toolbar/ToolbarIcon.d.ts +1 -2
- package/react/components/toolbar/ToolbarIcon.js +4 -14
- package/react/components/toolbar/ToolbarIcon.js.map +1 -1
- package/react/components/toolbar/ToolbarSection.d.ts +0 -1
- package/react/components/toolbar/ToolbarSection.js.map +1 -1
- package/react/components/toolbar/ToolbarShell.d.ts +1 -7
- package/react/components/toolbar/ToolbarShell.js +7 -14
- package/react/components/toolbar/ToolbarShell.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +1 -2
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +11 -6
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +5 -6
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +2 -3
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +3 -3
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +6 -4
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +1 -2
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +3 -4
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js +12 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +2 -3
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +7 -4
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +1 -2
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +11 -12
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts +2 -3
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js +10 -4
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js +5 -2
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +1 -2
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.d.ts +29 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js +51 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +3 -4
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js +9 -11
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +18 -19
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +0 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +3 -4
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +6 -9
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +16 -8
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +41 -33
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +37 -4
- package/react/components/toolbar/appLauncher/components/componentList.js +75 -56
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +2 -3
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +24 -25
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.d.ts +0 -1
- package/react/components/toolbar/dashbar/Dashbar.js +75 -108
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +1 -2
- package/react/components/toolbar/dashbar/DashbarItem.js +4 -25
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -1
- package/react/components/toolbar/index.d.ts +0 -3
- package/react/components/toolbar/index.js +0 -2
- package/react/components/toolbar/index.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +18 -2
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +55 -43
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +33 -5
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +68 -38
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +44 -4
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +54 -31
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +17 -5
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +19 -13
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +11 -11
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +42 -44
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +0 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -1
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +0 -1
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -1
- package/react/components/userPreferences/UserPreferences.d.ts +1 -4
- package/react/components/userPreferences/UserPreferences.js +2 -5
- package/react/components/userPreferences/UserPreferences.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts +0 -1
- package/react/components/userPreferences/UserPreferencesBase.js +8 -60
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +0 -1
- package/react/components/userPreferences/UserPreferencesWrapper.js +3 -5
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -1
- package/react/components/userPreferences/components/ContentSection.d.ts +13 -12
- package/react/components/userPreferences/components/ContentSection.js +23 -20
- package/react/components/userPreferences/components/ContentSection.js.map +1 -1
- package/react/components/userPreferences/components/LeftNav.d.ts +16 -4
- package/react/components/userPreferences/components/LeftNav.js +54 -36
- package/react/components/userPreferences/components/LeftNav.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +17 -4
- package/react/components/userPreferences/components/content/DashbarEditor.js +106 -102
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +0 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -1
- package/react/components/userPreferences/components/content/General.d.ts +0 -1
- package/react/components/userPreferences/components/content/General.js +3 -20
- package/react/components/userPreferences/components/content/General.js.map +1 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts +0 -1
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +2 -8
- package/react/components/userPreferences/components/content/Workspaces.js +46 -63
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +0 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +12 -10
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +0 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +11 -12
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +0 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +5 -6
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +0 -3
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +3 -5
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +1 -2
- package/react/components/userPreferences/components/general/ScheduledClose.js +0 -15
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +12 -2
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +54 -33
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -1
- package/react/components/userPreferences/index.d.ts +0 -2
- package/react/components/userPreferences/index.js +0 -1
- package/react/components/userPreferences/index.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +2 -9
- package/react/components/userPreferences/stores/UserPreferencesStore.js +30 -31
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/userPreferences/stories/DashbarEditor.stories.d.ts +10 -0
- package/react/components/userPreferences/stories/DashbarEditor.stories.js +42 -0
- package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +1 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.d.ts +11 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js +21 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +1 -0
- package/react/components/userPreferences/stories/General.stories.d.ts +13 -0
- package/react/components/userPreferences/stories/General.stories.js +16 -0
- package/react/components/userPreferences/stories/General.stories.js.map +1 -0
- package/react/components/userPreferences/stories/Notifications.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/Notifications.stories.js +17 -0
- package/react/components/userPreferences/stories/Notifications.stories.js.map +1 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js +20 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.d.ts +12 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.js +28 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.d.ts +12 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.js +53 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.js.map +1 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.d.ts +8 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.js +53 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.d.ts +11 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js +20 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.d.ts +13 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js +26 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js +30 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.d.ts +10 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js +57 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +1 -0
- package/react/components/userPreferences/stories/Workspaces.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/Workspaces.stories.js +44 -0
- package/react/components/userPreferences/stories/Workspaces.stories.js.map +1 -0
- package/react/components/userPreferences/tests/ContentSection.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/ContentSection.spec.js +41 -0
- package/react/components/userPreferences/tests/ContentSection.spec.js.map +1 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.js +37 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +1 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js +38 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +1 -0
- package/react/components/userPreferences/tests/General.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/General.spec.js +15 -0
- package/react/components/userPreferences/tests/General.spec.js.map +1 -0
- package/react/components/userPreferences/tests/LeftNav.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/LeftNav.spec.js +26 -0
- package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js +14 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +1 -0
- package/react/components/userPreferences/tests/Notifications.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/Notifications.spec.js +17 -0
- package/react/components/userPreferences/tests/Notifications.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js +43 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js +22 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +1 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.js +47 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.js.map +1 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js +44 -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/userPreferences/tests/WorkspaceButton.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js +38 -0
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js +22 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js +64 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js +45 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +1 -0
- package/react/components/utils.d.ts +0 -48
- package/react/components/utils.js +0 -54
- package/react/components/utils.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +269 -15
- package/react/components/windowTitleBar/WindowTitleBarShell.js +899 -44
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +32 -0
- package/react/components/windowTitleBar/components/center/Tab.js +63 -0
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -0
- package/react/components/windowTitleBar/components/center/TabList.d.ts +138 -0
- package/react/components/windowTitleBar/components/center/TabList.js +616 -0
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -0
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +2 -0
- package/react/components/windowTitleBar/components/center/TabRegion.js +12 -0
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts +10 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js +105 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +84 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +172 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts +6 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js +21 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +49 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +120 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +41 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js +82 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +2 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +14 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts +42 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js +54 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +57 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js +91 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +73 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +115 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +41 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +53 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/components/windowTitle.d.ts +66 -0
- package/react/components/windowTitleBar/components/windowTitle.js +382 -0
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -0
- package/react/components/windowTitleBar/index.d.ts +8 -11
- package/react/components/windowTitleBar/index.js +8 -10
- package/react/components/windowTitleBar/index.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +68 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +609 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +43 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +43 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -0
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +22 -0
- package/react/components/windowTitleBar/windowTitleBarContext.js +22 -0
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -0
- package/react/components/yesNoDialog/Timer.spec.d.ts +1 -0
- package/react/components/yesNoDialog/Timer.spec.js +18 -0
- package/react/components/yesNoDialog/Timer.spec.js.map +1 -0
- package/react/components/yesNoDialog/Timer.stories.d.ts +9 -0
- package/react/components/yesNoDialog/Timer.stories.js +15 -0
- package/react/components/yesNoDialog/Timer.stories.js.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.d.ts +0 -1
- package/react/components/yesNoDialog/YesNoDialog.js +110 -106
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -1
- package/react/components/yesNoDialog/YesNoDialog.spec.d.ts +1 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.js +63 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.d.ts +14 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.js +74 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -0
- package/react/components/yesNoDialog/index.d.ts +0 -1
- package/react/components/yesNoDialog/index.js.map +1 -1
- package/react/components/yesNoDialog/timer.d.ts +0 -1
- package/react/components/yesNoDialog/timer.js +1 -2
- package/react/components/yesNoDialog/timer.js.map +1 -1
- package/react/enzymeSetup.d.ts +1 -0
- package/react/enzymeSetup.js +35 -0
- package/react/enzymeSetup.js.map +1 -0
- package/react/hooks/index.d.ts +0 -3
- package/react/hooks/index.js +0 -2
- package/react/hooks/index.js.map +1 -1
- package/react/hooks/useAuth.d.ts +0 -1
- package/react/hooks/useAuth.js +3 -4
- package/react/hooks/useAuth.js.map +1 -1
- package/react/hooks/useDashbar.d.ts +1 -2
- package/react/hooks/useDashbar.js +14 -9
- package/react/hooks/useDashbar.js.map +1 -1
- package/react/hooks/useDeepEffect.d.ts +0 -1
- package/react/hooks/useDeepEffect.js.map +1 -1
- package/react/hooks/useFavorites.d.ts +0 -1
- package/react/hooks/useFavorites.js.map +1 -1
- package/react/hooks/useFavoritesShell.d.ts +0 -1
- package/react/hooks/useFavoritesShell.js +5 -6
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useHotkey.d.ts +0 -1
- package/react/hooks/useHotkey.js +2 -5
- package/react/hooks/useHotkey.js.map +1 -1
- package/react/hooks/useLinker.d.ts +0 -1
- package/react/hooks/useLinker.js +24 -25
- package/react/hooks/useLinker.js.map +1 -1
- package/react/hooks/useMenu.d.ts +1 -2
- package/react/hooks/useMenu.js +3 -5
- package/react/hooks/useMenu.js.map +1 -1
- package/react/hooks/useNotifications.d.ts +10 -7
- package/react/hooks/useNotifications.js +68 -70
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useOutsideClickDetector.d.ts +0 -1
- package/react/hooks/useOutsideClickDetector.js.map +1 -1
- package/react/hooks/usePubSub.d.ts +0 -1
- package/react/hooks/usePubSub.js +3 -4
- package/react/hooks/usePubSub.js.map +1 -1
- package/react/hooks/useSearch.d.ts +2 -2
- package/react/hooks/useSearch.js +2 -2
- package/react/hooks/useSearch.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +0 -2
- package/react/hooks/useToolbar.js +23 -34
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/reducers/favoriteReducer.d.ts +0 -1
- package/react/reducers/favoriteReducer.js.map +1 -1
- package/react/reducers/linkerReducer.d.ts +0 -1
- package/react/reducers/linkerReducer.js.map +1 -1
- package/react/reducers/menuReducer.d.ts +0 -1
- package/react/reducers/menuReducer.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +3 -24
- package/react/reducers/rootReducer.js.map +1 -1
- package/react/reducers/searchReducer.d.ts +0 -1
- package/react/reducers/searchReducer.js.map +1 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts +0 -1
- package/react/reducers/smartDesktopDesignerReducer.js +0 -20
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/reducers/toolbarReducer.d.ts +0 -1
- package/react/reducers/toolbarReducer.js.map +1 -1
- package/react/reducers/workspaceReducer.d.ts +0 -1
- package/react/reducers/workspaceReducer.js.map +1 -1
- package/react/store.d.ts +6 -47
- package/react/store.js +1 -2
- package/react/store.js.map +1 -1
- package/react/tsconfig.tsbuildinfo +1 -0
- package/react/types/advancedAppLauncherTypes.d.ts +3 -2
- package/react/types/advancedAppLauncherTypes.js.map +1 -1
- package/react/types/dashbarTypes.d.ts +1 -4
- package/react/types/dashbarTypes.js.map +1 -1
- package/react/types/favoriteTypes.d.ts +3 -2
- package/react/types/favoriteTypes.js.map +1 -1
- package/react/types/fdc3.d.ts +7 -2
- package/react/types/fdc3.js.map +1 -1
- package/react/types/hotkeyTypes.d.ts +0 -1
- package/react/types/hotkeyTypes.js.map +1 -1
- package/react/types/linkerTypes.d.ts +0 -1
- package/react/types/linkerTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +7 -51
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +49 -0
- package/react/types/windowTitleBar.js +2 -0
- package/react/types/windowTitleBar.js.map +1 -0
- package/react/types/workspaceTypes.d.ts +0 -1
- package/react/types/workspaceTypes.js.map +1 -1
- package/FEA.d.ts +0 -1426
- package/FEA.d.ts.map +0 -1
- package/FEA.js +0 -11
- package/FEA.js.map +0 -1
- package/clients/Interop/FinsembleDesktopAgent.d.ts +0 -228
- package/clients/Interop/FinsembleDesktopAgent.d.ts.map +0 -1
- package/clients/Interop/FinsembleDesktopAgent.js +0 -1227
- package/clients/Interop/FinsembleDesktopAgent.js.map +0 -1
- package/clients/Interop/InteropAdmin.d.ts +0 -30
- package/clients/Interop/InteropAdmin.d.ts.map +0 -1
- package/clients/Interop/InteropAdmin.js +0 -99
- package/clients/Interop/InteropAdmin.js.map +0 -1
- package/clients/Interop/index.d.ts +0 -2
- package/clients/Interop/index.d.ts.map +0 -1
- package/clients/Interop/index.js +0 -3
- package/clients/Interop/index.js.map +0 -1
- package/clients/Interop/types.d.ts +0 -430
- package/clients/Interop/types.d.ts.map +0 -1
- package/clients/Interop/types.js +0 -45
- package/clients/Interop/types.js.map +0 -1
- package/clients/Startup/FSBLDesktop.d.ts +0 -158
- package/clients/Startup/FSBLDesktop.d.ts.map +0 -1
- package/clients/Startup/FSBLDesktop.js +0 -429
- package/clients/Startup/FSBLDesktop.js.map +0 -1
- package/clients/Startup/FSBLFreestanding.d.ts +0 -28
- package/clients/Startup/FSBLFreestanding.d.ts.map +0 -1
- package/clients/Startup/FSBLFreestanding.js +0 -130
- package/clients/Startup/FSBLFreestanding.js.map +0 -1
- package/clients/Startup/FSBLService.d.ts +0 -8
- package/clients/Startup/FSBLService.d.ts.map +0 -1
- package/clients/Startup/FSBLService.js +0 -57
- package/clients/Startup/FSBLService.js.map +0 -1
- package/clients/Startup/RouterConfig.d.ts +0 -37
- package/clients/Startup/RouterConfig.d.ts.map +0 -1
- package/clients/Startup/RouterConfig.js +0 -108
- package/clients/Startup/RouterConfig.js.map +0 -1
- package/clients/Startup/SDDListeners.d.ts +0 -12
- package/clients/Startup/SDDListeners.d.ts.map +0 -1
- package/clients/Startup/SDDListeners.js +0 -98
- package/clients/Startup/SDDListeners.js.map +0 -1
- package/clients/Startup/Startup.d.ts +0 -59
- package/clients/Startup/Startup.d.ts.map +0 -1
- package/clients/Startup/Startup.js +0 -102
- package/clients/Startup/Startup.js.map +0 -1
- package/clients/Startup/index.d.ts +0 -2
- package/clients/Startup/index.d.ts.map +0 -1
- package/clients/Startup/index.js +0 -3
- package/clients/Startup/index.js.map +0 -1
- package/clients/Startup/types.d.ts +0 -82
- package/clients/Startup/types.d.ts.map +0 -1
- package/clients/Startup/types.js +0 -2
- package/clients/Startup/types.js.map +0 -1
- package/clients/Startup/unhandledErrors.d.ts +0 -7
- package/clients/Startup/unhandledErrors.d.ts.map +0 -1
- package/clients/Startup/unhandledErrors.js +0 -76
- package/clients/Startup/unhandledErrors.js.map +0 -1
- package/clients/Startup/windowStartup.d.ts +0 -18
- package/clients/Startup/windowStartup.d.ts.map +0 -1
- package/clients/Startup/windowStartup.js +0 -436
- package/clients/Startup/windowStartup.js.map +0 -1
- package/clients/StoreModel.d.ts +0 -391
- package/clients/StoreModel.d.ts.map +0 -1
- package/clients/StoreModel.js +0 -892
- package/clients/StoreModel.js.map +0 -1
- package/clients/appsClient.d.ts +0 -463
- package/clients/appsClient.d.ts.map +0 -1
- package/clients/appsClient.js +0 -696
- package/clients/appsClient.js.map +0 -1
- package/clients/authenticationClient.d.ts +0 -190
- package/clients/authenticationClient.d.ts.map +0 -1
- package/clients/authenticationClient.js +0 -246
- package/clients/authenticationClient.js.map +0 -1
- package/clients/configClient.d.ts +0 -637
- package/clients/configClient.d.ts.map +0 -1
- package/clients/configClient.js +0 -960
- package/clients/configClient.js.map +0 -1
- package/clients/controller/DialogManagerClientController.d.ts +0 -78
- package/clients/controller/DialogManagerClientController.d.ts.map +0 -1
- package/clients/controller/DialogManagerClientController.js +0 -213
- package/clients/controller/DialogManagerClientController.js.map +0 -1
- package/clients/dialogManagerClient.d.ts +0 -187
- package/clients/dialogManagerClient.d.ts.map +0 -1
- package/clients/dialogManagerClient.js +0 -476
- package/clients/dialogManagerClient.js.map +0 -1
- package/clients/distributedStoreClient.d.ts +0 -152
- package/clients/distributedStoreClient.d.ts.map +0 -1
- package/clients/distributedStoreClient.js +0 -254
- package/clients/distributedStoreClient.js.map +0 -1
- package/clients/hotkeyClient.d.ts +0 -128
- package/clients/hotkeyClient.d.ts.map +0 -1
- package/clients/hotkeyClient.js +0 -645
- package/clients/hotkeyClient.js.map +0 -1
- package/clients/index.d.ts +0 -17
- package/clients/index.d.ts.map +0 -1
- package/clients/index.js +0 -19
- package/clients/index.js.map +0 -1
- package/clients/launcherClient.d.ts +0 -124
- package/clients/launcherClient.d.ts.map +0 -1
- package/clients/launcherClient.js +0 -65
- package/clients/launcherClient.js.map +0 -1
- package/clients/logger.d.ts +0 -364
- package/clients/logger.d.ts.map +0 -1
- package/clients/logger.js +0 -932
- package/clients/logger.js.map +0 -1
- package/clients/notificationClient.d.ts +0 -311
- package/clients/notificationClient.d.ts.map +0 -1
- package/clients/notificationClient.js +0 -558
- package/clients/notificationClient.js.map +0 -1
- package/clients/routerClient.d.ts +0 -509
- package/clients/routerClient.d.ts.map +0 -1
- package/clients/routerClient.js +0 -1376
- package/clients/routerClient.js.map +0 -1
- package/clients/searchClient.d.ts +0 -156
- package/clients/searchClient.d.ts.map +0 -1
- package/clients/searchClient.js +0 -281
- package/clients/searchClient.js.map +0 -1
- package/clients/storageClient.d.ts +0 -236
- package/clients/storageClient.d.ts.map +0 -1
- package/clients/storageClient.js +0 -308
- package/clients/storageClient.js.map +0 -1
- package/clients/windowClient.d.ts +0 -699
- package/clients/windowClient.d.ts.map +0 -1
- package/clients/windowClient.js +0 -1022
- package/clients/windowClient.js.map +0 -1
- package/clients/workspaceClient.d.ts +0 -508
- package/clients/workspaceClient.d.ts.map +0 -1
- package/clients/workspaceClient.js +0 -742
- package/clients/workspaceClient.js.map +0 -1
- package/common/Desktop.d.ts +0 -57
- package/common/Desktop.d.ts.map +0 -1
- package/common/Desktop.js +0 -98
- package/common/Desktop.js.map +0 -1
- package/common/FinsembleWindow.d.ts +0 -814
- package/common/FinsembleWindow.d.ts.map +0 -1
- package/common/FinsembleWindow.js +0 -1406
- package/common/FinsembleWindow.js.map +0 -1
- package/common/Globals.d.ts +0 -97
- package/common/Globals.d.ts.map +0 -1
- package/common/Globals.js +0 -30
- package/common/Globals.js.map +0 -1
- package/common/Monitors.d.ts +0 -151
- package/common/Monitors.d.ts.map +0 -1
- package/common/Monitors.js +0 -429
- package/common/Monitors.js.map +0 -1
- package/common/Performance.d.ts +0 -7
- package/common/Performance.d.ts.map +0 -1
- package/common/Performance.js +0 -13
- package/common/Performance.js.map +0 -1
- package/common/REST.d.ts +0 -17
- package/common/REST.d.ts.map +0 -1
- package/common/REST.js +0 -85
- package/common/REST.js.map +0 -1
- package/common/Singleton.d.ts +0 -73
- package/common/Singleton.d.ts.map +0 -1
- package/common/Singleton.js +0 -96
- package/common/Singleton.js.map +0 -1
- package/common/configUtil.d.ts +0 -59
- package/common/configUtil.d.ts.map +0 -1
- package/common/configUtil.js +0 -348
- package/common/configUtil.js.map +0 -1
- package/common/constants.d.ts +0 -100
- package/common/constants.d.ts.map +0 -1
- package/common/constants.js +0 -170
- package/common/constants.js.map +0 -1
- package/common/dependencyManager.d.ts +0 -172
- package/common/dependencyManager.d.ts.map +0 -1
- package/common/dependencyManager.js +0 -383
- package/common/dependencyManager.js.map +0 -1
- package/common/events/FinsembleEvent.d.ts +0 -30
- package/common/events/FinsembleEvent.d.ts.map +0 -1
- package/common/events/FinsembleEvent.js +0 -72
- package/common/events/FinsembleEvent.js.map +0 -1
- package/common/events/PublicEventManager.d.ts +0 -68
- package/common/events/PublicEventManager.d.ts.map +0 -1
- package/common/events/PublicEventManager.js +0 -177
- package/common/events/PublicEventManager.js.map +0 -1
- package/common/index.d.ts +0 -4
- package/common/index.d.ts.map +0 -1
- package/common/index.js +0 -6
- package/common/index.js.map +0 -1
- package/common/redux/getRemoteStore.d.ts +0 -53
- package/common/redux/getRemoteStore.d.ts.map +0 -1
- package/common/redux/getRemoteStore.js +0 -50
- package/common/redux/getRemoteStore.js.map +0 -1
- package/common/redux/remoteReduxEnhancer.d.ts +0 -29
- package/common/redux/remoteReduxEnhancer.d.ts.map +0 -1
- package/common/redux/remoteReduxEnhancer.js +0 -217
- package/common/redux/remoteReduxEnhancer.js.map +0 -1
- package/common/redux/types.d.ts +0 -27
- package/common/redux/types.d.ts.map +0 -1
- package/common/redux/types.js +0 -2
- package/common/redux/types.js.map +0 -1
- package/common/system.d.ts +0 -309
- package/common/system.d.ts.map +0 -1
- package/common/system.js +0 -545
- package/common/system.js.map +0 -1
- package/common/systemManagerClient.d.ts +0 -92
- package/common/systemManagerClient.d.ts.map +0 -1
- package/common/systemManagerClient.js +0 -190
- package/common/systemManagerClient.js.map +0 -1
- package/common/testPoint.d.ts +0 -57
- package/common/testPoint.d.ts.map +0 -1
- package/common/testPoint.js +0 -106
- package/common/testPoint.js.map +0 -1
- package/common/toast.d.ts +0 -36
- package/common/toast.d.ts.map +0 -1
- package/common/toast.js +0 -88
- package/common/toast.js.map +0 -1
- package/common/util.d.ts +0 -133
- package/common/util.d.ts.map +0 -1
- package/common/util.js +0 -442
- package/common/util.js.map +0 -1
- package/deprecated/SmartDesktopClient.d.ts +0 -19
- package/deprecated/SmartDesktopClient.d.ts.map +0 -1
- package/deprecated/SmartDesktopClient.js +0 -19
- package/deprecated/SmartDesktopClient.js.map +0 -1
- package/deprecated/baseClient.d.ts +0 -88
- package/deprecated/baseClient.d.ts.map +0 -1
- package/deprecated/baseClient.js +0 -124
- package/deprecated/baseClient.js.map +0 -1
- package/deprecated/deprecatedFunctions.d.ts +0 -45
- package/deprecated/deprecatedFunctions.d.ts.map +0 -1
- package/deprecated/deprecatedFunctions.js +0 -200
- package/deprecated/deprecatedFunctions.js.map +0 -1
- package/deprecated/deprecatedlauncherClient.d.ts +0 -163
- package/deprecated/deprecatedlauncherClient.d.ts.map +0 -1
- package/deprecated/deprecatedlauncherClient.js +0 -286
- package/deprecated/deprecatedlauncherClient.js.map +0 -1
- package/deprecated/dragAndDropAssets/dragAndDropScrim.css +0 -54
- package/deprecated/dragAndDropAssets/ff-delete-circle.svg +0 -11
- package/deprecated/dragAndDropAssets/ff-share.svg +0 -14
- package/deprecated/dragAndDropClient.d.ts +0 -289
- package/deprecated/dragAndDropClient.d.ts.map +0 -1
- package/deprecated/dragAndDropClient.js +0 -699
- package/deprecated/dragAndDropClient.js.map +0 -1
- package/deprecated/index.d.ts +0 -2
- package/deprecated/index.d.ts.map +0 -1
- package/deprecated/index.js +0 -2
- package/deprecated/index.js.map +0 -1
- package/deprecated/legacyUIComponentNames.d.ts +0 -24
- package/deprecated/legacyUIComponentNames.d.ts.map +0 -1
- package/deprecated/legacyUIComponentNames.js +0 -24
- package/deprecated/legacyUIComponentNames.js.map +0 -1
- package/deprecated/linkerClient.d.ts +0 -422
- package/deprecated/linkerClient.d.ts.map +0 -1
- package/deprecated/linkerClient.js +0 -891
- package/deprecated/linkerClient.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/index.js +0 -5
- package/index.js.map +0 -1
- package/main.d.ts +0 -863
- package/main.d.ts.map +0 -1
- package/main.js +0 -85
- package/main.js.map +0 -1
- package/platform/preloads/BloombergBridgeClient.d.ts +0 -454
- package/platform/preloads/BloombergBridgeClient.d.ts.map +0 -1
- package/platform/preloads/BloombergBridgeClient.js +0 -569
- package/platform/preloads/BloombergBridgeClient.js.map +0 -1
- package/platform/services/Interop/AuthSignVerify.d.ts +0 -51
- package/platform/services/Interop/AuthSignVerify.d.ts.map +0 -1
- package/platform/services/Interop/AuthSignVerify.js +0 -284
- package/platform/services/Interop/AuthSignVerify.js.map +0 -1
- package/platform/services/Interop/modules/actions.d.ts +0 -17
- package/platform/services/Interop/modules/actions.d.ts.map +0 -1
- package/platform/services/Interop/modules/actions.js +0 -11
- package/platform/services/Interop/modules/actions.js.map +0 -1
- package/platform/services/Interop/modules/types.d.ts +0 -89
- package/platform/services/Interop/modules/types.d.ts.map +0 -1
- package/platform/services/Interop/modules/types.js +0 -2
- package/platform/services/Interop/modules/types.js.map +0 -1
- package/platform/services/Interop/types.d.ts +0 -616
- package/platform/services/Interop/types.d.ts.map +0 -1
- package/platform/services/Interop/types.js +0 -13
- package/platform/services/Interop/types.js.map +0 -1
- package/platform/services/baseService.d.ts +0 -83
- package/platform/services/baseService.d.ts.map +0 -1
- package/platform/services/baseService.js +0 -301
- package/platform/services/baseService.js.map +0 -1
- package/platform/services/config/types.d.ts +0 -43
- package/platform/services/config/types.d.ts.map +0 -1
- package/platform/services/config/types.js +0 -2
- package/platform/services/config/types.js.map +0 -1
- package/platform/services/distributedStore/storeUtils.d.ts +0 -68
- package/platform/services/distributedStore/storeUtils.d.ts.map +0 -1
- package/platform/services/distributedStore/storeUtils.js +0 -239
- package/platform/services/distributedStore/storeUtils.js.map +0 -1
- package/platform/services/logger/types.d.ts +0 -79
- package/platform/services/logger/types.d.ts.map +0 -1
- package/platform/services/logger/types.js +0 -2
- package/platform/services/logger/types.js.map +0 -1
- package/platform/services/notification/types/Action.d.ts +0 -13
- package/platform/services/notification/types/Action.d.ts.map +0 -1
- package/platform/services/notification/types/Action.js +0 -8
- package/platform/services/notification/types/Action.js.map +0 -1
- package/platform/services/notification/types/ActionTypes.d.ts +0 -17
- package/platform/services/notification/types/ActionTypes.d.ts.map +0 -1
- package/platform/services/notification/types/ActionTypes.js +0 -19
- package/platform/services/notification/types/ActionTypes.js.map +0 -1
- package/platform/services/notification/types/Callbacks.d.ts +0 -8
- package/platform/services/notification/types/Callbacks.d.ts.map +0 -1
- package/platform/services/notification/types/Callbacks.js +0 -2
- package/platform/services/notification/types/Callbacks.js.map +0 -1
- package/platform/services/notification/types/Filter.d.ts +0 -23
- package/platform/services/notification/types/Filter.d.ts.map +0 -1
- package/platform/services/notification/types/Filter.js +0 -20
- package/platform/services/notification/types/Filter.js.map +0 -1
- package/platform/services/notification/types/IAction.d.ts +0 -52
- package/platform/services/notification/types/IAction.d.ts.map +0 -1
- package/platform/services/notification/types/IAction.js +0 -2
- package/platform/services/notification/types/IAction.js.map +0 -1
- package/platform/services/notification/types/IFilter.d.ts +0 -25
- package/platform/services/notification/types/IFilter.d.ts.map +0 -1
- package/platform/services/notification/types/IFilter.js +0 -2
- package/platform/services/notification/types/IFilter.js.map +0 -1
- package/platform/services/notification/types/ILastIssued.d.ts +0 -9
- package/platform/services/notification/types/ILastIssued.d.ts.map +0 -1
- package/platform/services/notification/types/ILastIssued.js +0 -2
- package/platform/services/notification/types/ILastIssued.js.map +0 -1
- package/platform/services/notification/types/IMuteFilter.d.ts +0 -8
- package/platform/services/notification/types/IMuteFilter.d.ts.map +0 -1
- package/platform/services/notification/types/IMuteFilter.js +0 -5
- package/platform/services/notification/types/IMuteFilter.js.map +0 -1
- package/platform/services/notification/types/INotification.d.ts +0 -101
- package/platform/services/notification/types/INotification.d.ts.map +0 -1
- package/platform/services/notification/types/INotification.js +0 -2
- package/platform/services/notification/types/INotification.js.map +0 -1
- package/platform/services/notification/types/INotificationClient.d.ts +0 -95
- package/platform/services/notification/types/INotificationClient.d.ts.map +0 -1
- package/platform/services/notification/types/INotificationClient.js +0 -2
- package/platform/services/notification/types/INotificationClient.js.map +0 -1
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts +0 -19
- package/platform/services/notification/types/INotificationHistoryOptions.d.ts.map +0 -1
- package/platform/services/notification/types/INotificationHistoryOptions.js +0 -2
- package/platform/services/notification/types/INotificationHistoryOptions.js.map +0 -1
- package/platform/services/notification/types/INotificationService.d.ts +0 -58
- package/platform/services/notification/types/INotificationService.d.ts.map +0 -1
- package/platform/services/notification/types/INotificationService.js +0 -2
- package/platform/services/notification/types/INotificationService.js.map +0 -1
- package/platform/services/notification/types/IPerformedAction.d.ts +0 -10
- package/platform/services/notification/types/IPerformedAction.d.ts.map +0 -1
- package/platform/services/notification/types/IPerformedAction.js +0 -2
- package/platform/services/notification/types/IPerformedAction.js.map +0 -1
- package/platform/services/notification/types/ISnoozeTimer.d.ts +0 -14
- package/platform/services/notification/types/ISnoozeTimer.d.ts.map +0 -1
- package/platform/services/notification/types/ISnoozeTimer.js +0 -10
- package/platform/services/notification/types/ISnoozeTimer.js.map +0 -1
- package/platform/services/notification/types/ISubscription.d.ts +0 -16
- package/platform/services/notification/types/ISubscription.d.ts.map +0 -1
- package/platform/services/notification/types/ISubscription.js +0 -2
- package/platform/services/notification/types/ISubscription.js.map +0 -1
- package/platform/services/notification/types/LastIssued.d.ts +0 -11
- package/platform/services/notification/types/LastIssued.d.ts.map +0 -1
- package/platform/services/notification/types/LastIssued.js +0 -7
- package/platform/services/notification/types/LastIssued.js.map +0 -1
- package/platform/services/notification/types/Meta.d.ts +0 -13
- package/platform/services/notification/types/Meta.d.ts.map +0 -1
- package/platform/services/notification/types/Meta.js +0 -7
- package/platform/services/notification/types/Meta.js.map +0 -1
- package/platform/services/notification/types/Notification.d.ts +0 -30
- package/platform/services/notification/types/Notification.d.ts.map +0 -1
- package/platform/services/notification/types/Notification.js +0 -17
- package/platform/services/notification/types/Notification.js.map +0 -1
- package/platform/services/notification/types/NotificationConfig.d.ts +0 -22
- package/platform/services/notification/types/NotificationConfig.d.ts.map +0 -1
- package/platform/services/notification/types/NotificationConfig.js +0 -2
- package/platform/services/notification/types/NotificationConfig.js.map +0 -1
- package/platform/services/notification/types/NotificationHookTypes.d.ts +0 -7
- package/platform/services/notification/types/NotificationHookTypes.d.ts.map +0 -1
- package/platform/services/notification/types/NotificationHookTypes.js +0 -2
- package/platform/services/notification/types/NotificationHookTypes.js.map +0 -1
- package/platform/services/notification/types/PerformedAction.d.ts +0 -11
- package/platform/services/notification/types/PerformedAction.d.ts.map +0 -1
- package/platform/services/notification/types/PerformedAction.js +0 -8
- package/platform/services/notification/types/PerformedAction.js.map +0 -1
- package/platform/services/notification/types/SnoozeTimer.d.ts +0 -8
- package/platform/services/notification/types/SnoozeTimer.d.ts.map +0 -1
- package/platform/services/notification/types/SnoozeTimer.js +0 -3
- package/platform/services/notification/types/SnoozeTimer.js.map +0 -1
- package/platform/services/notification/types/Subscription.d.ts +0 -14
- package/platform/services/notification/types/Subscription.d.ts.map +0 -1
- package/platform/services/notification/types/Subscription.js +0 -15
- package/platform/services/notification/types/Subscription.js.map +0 -1
- package/platform/services/notification/types/index.d.ts +0 -46
- package/platform/services/notification/types/index.d.ts.map +0 -1
- package/platform/services/notification/types/index.js +0 -24
- package/platform/services/notification/types/index.js.map +0 -1
- package/platform/services/router/routerTransport.d.ts +0 -80
- package/platform/services/router/routerTransport.d.ts.map +0 -1
- package/platform/services/router/routerTransport.js +0 -359
- package/platform/services/router/routerTransport.js.map +0 -1
- package/platform/services/router/types.d.ts +0 -213
- package/platform/services/router/types.d.ts.map +0 -1
- package/platform/services/router/types.js +0 -2
- package/platform/services/router/types.js.map +0 -1
- package/platform/services/search/types.d.ts +0 -30
- package/platform/services/search/types.d.ts.map +0 -1
- package/platform/services/search/types.js +0 -2
- package/platform/services/search/types.js.map +0 -1
- package/platform/services/storage/adapters/base.d.ts +0 -4
- package/platform/services/storage/adapters/base.d.ts.map +0 -1
- package/platform/services/storage/adapters/base.js +0 -64
- package/platform/services/storage/adapters/base.js.map +0 -1
- package/platform/services/storage/adapters/types.d.ts +0 -22
- package/platform/services/storage/adapters/types.d.ts.map +0 -1
- package/platform/services/storage/adapters/types.js +0 -2
- package/platform/services/storage/adapters/types.js.map +0 -1
- package/platform/services/systemManager/_constants.d.ts +0 -10
- package/platform/services/systemManager/_constants.d.ts.map +0 -1
- package/platform/services/systemManager/_constants.js +0 -22
- package/platform/services/systemManager/_constants.js.map +0 -1
- package/platform/services/systemManager/common.d.ts +0 -14
- package/platform/services/systemManager/common.d.ts.map +0 -1
- package/platform/services/systemManager/common.js +0 -20
- package/platform/services/systemManager/common.js.map +0 -1
- package/platform/services/systemManager/types.d.ts +0 -49
- package/platform/services/systemManager/types.d.ts.map +0 -1
- package/platform/services/systemManager/types.js +0 -12
- package/platform/services/systemManager/types.js.map +0 -1
- package/platform/services/types.d.ts +0 -11
- package/platform/services/types.d.ts.map +0 -1
- package/platform/services/types.js +0 -10
- package/platform/services/types.js.map +0 -1
- package/platform/services/window/modules/actions.d.ts +0 -68
- package/platform/services/window/modules/actions.d.ts.map +0 -1
- package/platform/services/window/modules/actions.js +0 -60
- package/platform/services/window/modules/actions.js.map +0 -1
- package/platform/services/window/types.d.ts +0 -1182
- package/platform/services/window/types.d.ts.map +0 -1
- package/platform/services/window/types.js +0 -2
- package/platform/services/window/types.js.map +0 -1
- package/platform/services/workspace/types.d.ts +0 -79
- package/platform/services/workspace/types.d.ts.map +0 -1
- package/platform/services/workspace/types.js +0 -2
- package/platform/services/workspace/types.js.map +0 -1
- package/platform/services/workspace/workspaceAdminAPI.d.ts +0 -27
- package/platform/services/workspace/workspaceAdminAPI.d.ts.map +0 -1
- package/platform/services/workspace/workspaceAdminAPI.js +0 -45
- package/platform/services/workspace/workspaceAdminAPI.js.map +0 -1
- package/react/actions/favoriteActions.d.ts.map +0 -1
- package/react/actions/linkerActions.d.ts.map +0 -1
- package/react/actions/menuActions.d.ts.map +0 -1
- package/react/actions/rootActions.d.ts.map +0 -1
- package/react/actions/searchActions.d.ts.map +0 -1
- package/react/actions/smartDesktopDesignerActions.d.ts.map +0 -1
- package/react/actions/toolbarActions.d.ts.map +0 -1
- package/react/actions/workspaceActions.d.ts.map +0 -1
- package/react/assets/css/dialogs.lazy.css +0 -4
- package/react/assets/css/download.css +0 -119
- package/react/assets/css/finsemble.lazy.css +0 -4
- package/react/assets/css/floatingFocus.lazy.css +0 -66
- package/react/assets/css/windowTitleBar.lazy.css +0 -4
- package/react/assets/icons/cancel.svg +0 -15
- package/react/assets/icons/chevron-down.svg +0 -1
- package/react/assets/icons/chevron-up.svg +0 -1
- package/react/assets/icons/gear.svg +0 -9
- package/react/assets/icons/grid.svg +0 -26
- package/react/assets/icons/pause.svg +0 -15
- package/react/assets/icons/resume.svg +0 -17
- package/react/assets/img/Finsemble-installation.gif +0 -0
- package/react/components/FinsembleCSS.d.ts +0 -13
- package/react/components/FinsembleCSS.d.ts.map +0 -1
- package/react/components/FinsembleCSS.js +0 -27
- package/react/components/FinsembleCSS.js.map +0 -1
- package/react/components/FinsembleProvider.d.ts.map +0 -1
- package/react/components/appCatalog/AppCatalog.d.ts.map +0 -1
- package/react/components/appCatalog/AppCatalogComponent.d.ts.map +0 -1
- package/react/components/appCatalog/components/AppCard.d.ts.map +0 -1
- package/react/components/appCatalog/components/AppList.d.ts.map +0 -1
- package/react/components/appCatalog/components/AppResults.d.ts.map +0 -1
- package/react/components/appCatalog/components/Carousel.d.ts.map +0 -1
- package/react/components/appCatalog/components/EmptyResults.d.ts.map +0 -1
- package/react/components/appCatalog/components/Hero.d.ts.map +0 -1
- package/react/components/appCatalog/components/Home.d.ts.map +0 -1
- package/react/components/appCatalog/components/SearchBar.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/Header.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/Modal.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts.map +0 -1
- package/react/components/appCatalog/components/Showcase/defaults.d.ts.map +0 -1
- package/react/components/appCatalog/components/Toast.d.ts.map +0 -1
- package/react/components/appCatalog/components/helpers.d.ts.map +0 -1
- package/react/components/appCatalog/index.d.ts.map +0 -1
- package/react/components/appCatalog/modules/AppDirectory.d.ts.map +0 -1
- package/react/components/appCatalog/modules/FDC3.d.ts.map +0 -1
- package/react/components/appCatalog/stores/appStore.d.ts.map +0 -1
- package/react/components/appCatalog/stores/storeActions.d.ts.map +0 -1
- package/react/components/common/Button.d.ts.map +0 -1
- package/react/components/common/ButtonIcon.d.ts.map +0 -1
- package/react/components/common/ButtonRow.d.ts.map +0 -1
- package/react/components/common/Checkbox.d.ts.map +0 -1
- package/react/components/common/ContextMenu.d.ts.map +0 -1
- package/react/components/common/Dropdown.d.ts +0 -15
- package/react/components/common/Dropdown.d.ts.map +0 -1
- package/react/components/common/Dropdown.js +0 -83
- package/react/components/common/Dropdown.js.map +0 -1
- package/react/components/common/DropdownButton.d.ts.map +0 -1
- package/react/components/common/ErrorBoundary.d.ts.map +0 -1
- package/react/components/common/FinsembleIcon.d.ts.map +0 -1
- package/react/components/common/FinsembleLink.d.ts.map +0 -1
- package/react/components/common/FinsembleToggle.d.ts.map +0 -1
- package/react/components/common/FinsembleToggleButtonBar.d.ts.map +0 -1
- package/react/components/common/Header.d.ts.map +0 -1
- package/react/components/common/TimeSelect.d.ts.map +0 -1
- package/react/components/common/css/dropdown.css +0 -56
- package/react/components/downloadManager/DownloadItem.d.ts +0 -16
- package/react/components/downloadManager/DownloadItem.d.ts.map +0 -1
- package/react/components/downloadManager/DownloadItem.js +0 -74
- package/react/components/downloadManager/DownloadItem.js.map +0 -1
- package/react/components/downloadManager/DownloadManager.d.ts +0 -10
- package/react/components/downloadManager/DownloadManager.d.ts.map +0 -1
- package/react/components/downloadManager/DownloadManager.js +0 -40
- package/react/components/downloadManager/DownloadManager.js.map +0 -1
- package/react/components/downloadManager/index.d.ts +0 -2
- package/react/components/downloadManager/index.d.ts.map +0 -1
- package/react/components/downloadManager/index.js +0 -2
- package/react/components/downloadManager/index.js.map +0 -1
- package/react/components/favorites/FavoriteMaker.d.ts.map +0 -1
- package/react/components/favorites/FavoritesShell.d.ts.map +0 -1
- package/react/components/fdc3Resolver/ResolverContainer.d.ts.map +0 -1
- package/react/components/fdc3Resolver/ResolverDialog.d.ts.map +0 -1
- package/react/components/fdc3Resolver/index.d.ts +0 -2
- package/react/components/fdc3Resolver/index.d.ts.map +0 -1
- package/react/components/fdc3Resolver/index.js +0 -2
- package/react/components/fdc3Resolver/index.js.map +0 -1
- package/react/components/icon/Icon.d.ts.map +0 -1
- package/react/components/icon/index.d.ts.map +0 -1
- package/react/components/index.d.ts +0 -29
- package/react/components/index.d.ts.map +0 -1
- package/react/components/index.js +0 -29
- package/react/components/index.js.map +0 -1
- package/react/components/legacyControls/FinsembleDialog.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleDialogButton.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts.map +0 -1
- package/react/components/legacyControls/FinsembleDraggable.d.ts.map +0 -1
- package/react/components/linker/LinkerMenu.d.ts.map +0 -1
- package/react/components/linker/LinkerMenuDeprecated.d.ts.map +0 -1
- package/react/components/linker/index.d.ts.map +0 -1
- package/react/components/linker/remoteRedux.d.ts.map +0 -1
- package/react/components/menu/Menu.d.ts.map +0 -1
- package/react/components/menu/MenuAutoResizer.d.ts.map +0 -1
- package/react/components/menu/MenuContent.d.ts.map +0 -1
- package/react/components/menu/MenuHotKey.d.ts.map +0 -1
- package/react/components/menu/MenuItem.d.ts.map +0 -1
- package/react/components/menu/MenuPortal.d.ts.map +0 -1
- package/react/components/menu/MenuShell.d.ts.map +0 -1
- package/react/components/menu/MenuToggle.d.ts.map +0 -1
- package/react/components/menu/index.d.ts.map +0 -1
- package/react/components/menu/keyboardNavigation.d.ts.map +0 -1
- package/react/components/menu/menuContext.d.ts.map +0 -1
- package/react/components/menu/menuHelpers.d.ts.map +0 -1
- package/react/components/notifications/components/NoNotifications.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts +0 -19
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js +0 -84
- package/react/components/notifications/components/notificationsCenter/NotificationCenterUtils.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts +0 -5
- package/react/components/notifications/components/notificationsCenter/components/CardView.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/CardView.js +0 -92
- package/react/components/notifications/components/notificationsCenter/components/CardView.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts +0 -8
- package/react/components/notifications/components/notificationsCenter/components/Drawer.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/Drawer.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts +0 -4
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js +0 -94
- package/react/components/notifications/components/notificationsCenter/components/DrawerControls.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts +0 -7
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js +0 -78
- package/react/components/notifications/components/notificationsCenter/components/DrawerHeader.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts +0 -11
- package/react/components/notifications/components/notificationsCenter/components/ListView.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/ListView.js +0 -151
- package/react/components/notifications/components/notificationsCenter/components/ListView.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts +0 -19
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js +0 -69
- package/react/components/notifications/components/notificationsCenter/components/NotificationCenterMainView.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts +0 -7
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js +0 -64
- package/react/components/notifications/components/notificationsCenter/components/NotificationDetailsView.js.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts +0 -10
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.d.ts.map +0 -1
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js +0 -304
- package/react/components/notifications/components/notificationsCenter/components/NotificationsCenterWindow.js.map +0 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts.map +0 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts.map +0 -1
- package/react/components/notifications/components/shared/IconButton.d.ts.map +0 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts.map +0 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts.map +0 -1
- package/react/components/notifications/constants.d.ts.map +0 -1
- package/react/components/notifications/css/notification-center.css +0 -410
- package/react/components/notifications/css/notifications-toasts.css +0 -32
- package/react/components/notifications/icons/EnvelopeClose.d.ts.map +0 -1
- package/react/components/notifications/icons/EnvelopeOpen.d.ts.map +0 -1
- package/react/components/notifications/icons/SnoozeIcon.d.ts.map +0 -1
- package/react/components/notifications/index.d.ts.map +0 -1
- package/react/components/notifications/notificationsContext.d.ts.map +0 -1
- package/react/components/notifications/types.d.ts.map +0 -1
- package/react/components/notifications/utils.d.ts.map +0 -1
- package/react/components/processMonitor/ProcessMonitor.d.ts.map +0 -1
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts.map +0 -1
- package/react/components/processMonitor/components/ChildWindow.d.ts.map +0 -1
- package/react/components/processMonitor/components/ListHeader.d.ts.map +0 -1
- package/react/components/processMonitor/components/Process.d.ts +0 -10
- package/react/components/processMonitor/components/Process.d.ts.map +0 -1
- package/react/components/processMonitor/components/Process.js +0 -11
- package/react/components/processMonitor/components/Process.js.map +0 -1
- package/react/components/processMonitor/components/ProcessStatistics.d.ts.map +0 -1
- package/react/components/processMonitor/constants.d.ts.map +0 -1
- package/react/components/processMonitor/helpers.d.ts.map +0 -1
- package/react/components/processMonitor/index.d.ts.map +0 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts.map +0 -1
- package/react/components/quickComponentForm/QuickComponentForm.d.ts.map +0 -1
- package/react/components/quickComponentForm/index.d.ts.map +0 -1
- package/react/components/sdd/Content.d.ts.map +0 -1
- package/react/components/sdd/Dashboard.css +0 -97
- package/react/components/sdd/Dashboard.d.ts +0 -20
- package/react/components/sdd/Dashboard.d.ts.map +0 -1
- package/react/components/sdd/Dashboard.js +0 -103
- package/react/components/sdd/Dashboard.js.map +0 -1
- package/react/components/sdd/Export.d.ts.map +0 -1
- package/react/components/sdd/ExportCloud.d.ts.map +0 -1
- package/react/components/sdd/ExportDeployInfo.d.ts.map +0 -1
- package/react/components/sdd/ExportZip.d.ts.map +0 -1
- package/react/components/sdd/ProjectErrors.d.ts.map +0 -1
- package/react/components/sdd/ProjectMasonry.d.ts +0 -13
- package/react/components/sdd/ProjectMasonry.d.ts.map +0 -1
- package/react/components/sdd/ProjectMasonry.js +0 -22
- package/react/components/sdd/ProjectMasonry.js.map +0 -1
- package/react/components/sdd/Publish.d.ts.map +0 -1
- package/react/components/sdd/PublishProgress.d.ts.map +0 -1
- package/react/components/sdd/View.d.ts.map +0 -1
- package/react/components/sdd/css/appD.css +0 -81
- package/react/components/sdd/css/appDViewer.css +0 -93
- package/react/components/sdd/css/exportAppD.css +0 -31
- package/react/components/sdd/css/horizontalScroll.css +0 -9
- package/react/components/sdd/css/interopField.css +0 -14
- package/react/components/sdd/smartDesktopClient.d.ts.map +0 -1
- package/react/components/sdd/types.d.ts +0 -9
- package/react/components/sdd/types.d.ts.map +0 -1
- package/react/components/sdd/types.js +0 -2
- package/react/components/sdd/types.js.map +0 -1
- package/react/components/search/Highlight.d.ts.map +0 -1
- package/react/components/search/Search.d.ts.map +0 -1
- package/react/components/search/SearchBestMatch.d.ts.map +0 -1
- package/react/components/search/SearchInput.d.ts.map +0 -1
- package/react/components/search/SearchProviderResults.d.ts.map +0 -1
- package/react/components/search/SearchResult.d.ts.map +0 -1
- package/react/components/search/SearchResults.d.ts.map +0 -1
- package/react/components/search/index.d.ts.map +0 -1
- package/react/components/shared/BellIcon.d.ts.map +0 -1
- package/react/components/shared/BellIconCrossed.d.ts.map +0 -1
- package/react/components/shared/Button.d.ts.map +0 -1
- package/react/components/shared/ConditionalWrapper.d.ts.map +0 -1
- package/react/components/shared/DefaultDropdownButton.d.ts.map +0 -1
- package/react/components/shared/Tag.d.ts.map +0 -1
- package/react/components/shared/TagsMenu.d.ts.map +0 -1
- package/react/components/shared/addProtocolToValidURL.d.ts.map +0 -1
- package/react/components/shared/openQuitConfirmationDialog.d.ts.map +0 -1
- package/react/components/shared/validateURL.d.ts.map +0 -1
- package/react/components/singleInputDialog/SingleInputDialog.d.ts.map +0 -1
- package/react/components/singleInputDialog/index.d.ts.map +0 -1
- package/react/components/system/System.d.ts.map +0 -1
- package/react/components/system/SystemTrayComponentShell.d.ts.map +0 -1
- package/react/components/system/index.d.ts.map +0 -1
- package/react/components/toolbar/AutoArrange.d.ts.map +0 -1
- package/react/components/toolbar/DownloadButton.d.ts +0 -8
- package/react/components/toolbar/DownloadButton.d.ts.map +0 -1
- package/react/components/toolbar/DownloadButton.js +0 -27
- package/react/components/toolbar/DownloadButton.js.map +0 -1
- package/react/components/toolbar/DragHandle.d.ts.map +0 -1
- package/react/components/toolbar/MinimizeAll.d.ts.map +0 -1
- package/react/components/toolbar/NotificationControl.d.ts.map +0 -1
- package/react/components/toolbar/RevealAll.d.ts.map +0 -1
- package/react/components/toolbar/SddButton.d.ts.map +0 -1
- package/react/components/toolbar/ToolbarIcon.d.ts.map +0 -1
- package/react/components/toolbar/ToolbarSection.d.ts.map +0 -1
- package/react/components/toolbar/ToolbarShell.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts.map +0 -1
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts.map +0 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts.map +0 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts.map +0 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts.map +0 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts.map +0 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts +0 -5
- package/react/components/toolbar/bloomberg/BloombergStatus.d.ts.map +0 -1
- package/react/components/toolbar/bloomberg/BloombergStatus.js +0 -117
- package/react/components/toolbar/bloomberg/BloombergStatus.js.map +0 -1
- package/react/components/toolbar/bloomberg/bloomberg.css +0 -38
- package/react/components/toolbar/dashbar/Dashbar.d.ts.map +0 -1
- package/react/components/toolbar/dashbar/DashbarItem.d.ts.map +0 -1
- package/react/components/toolbar/index.d.ts.map +0 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts.map +0 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts.map +0 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts.map +0 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts.map +0 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts.map +0 -1
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts.map +0 -1
- package/react/components/userPreferences/UserPreferenceTypes.d.ts.map +0 -1
- package/react/components/userPreferences/UserPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/UserPreferencesBase.d.ts.map +0 -1
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts.map +0 -1
- package/react/components/userPreferences/components/ContentSection.d.ts.map +0 -1
- package/react/components/userPreferences/components/LeftNav.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts +0 -5
- package/react/components/userPreferences/components/content/BloombergPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/BloombergPreferences.js +0 -97
- package/react/components/userPreferences/components/content/BloombergPreferences.js.map +0 -1
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/General.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/Notifications.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/bloomberg.css +0 -44
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts.map +0 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts +0 -10
- package/react/components/userPreferences/components/general/DownloadPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/components/general/DownloadPreferences.js +0 -111
- package/react/components/userPreferences/components/general/DownloadPreferences.js.map +0 -1
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts +0 -4
- package/react/components/userPreferences/components/general/ResetPreferences.d.ts.map +0 -1
- package/react/components/userPreferences/components/general/ResetPreferences.js +0 -44
- package/react/components/userPreferences/components/general/ResetPreferences.js.map +0 -1
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts.map +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts.map +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts.map +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts.map +0 -1
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts.map +0 -1
- package/react/components/userPreferences/index.d.ts.map +0 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts.map +0 -1
- package/react/components/utils.d.ts.map +0 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts +0 -9
- package/react/components/windowTitleBar/AlwaysOnTopButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/AlwaysOnTopButton.js +0 -29
- package/react/components/windowTitleBar/AlwaysOnTopButton.js.map +0 -1
- package/react/components/windowTitleBar/CloseButton.d.ts +0 -3
- package/react/components/windowTitleBar/CloseButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/CloseButton.js +0 -22
- package/react/components/windowTitleBar/CloseButton.js.map +0 -1
- package/react/components/windowTitleBar/GroupingButton.d.ts +0 -3
- package/react/components/windowTitleBar/GroupingButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/GroupingButton.js +0 -25
- package/react/components/windowTitleBar/GroupingButton.js.map +0 -1
- package/react/components/windowTitleBar/LinkerButton.d.ts +0 -11
- package/react/components/windowTitleBar/LinkerButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/LinkerButton.js +0 -107
- package/react/components/windowTitleBar/LinkerButton.js.map +0 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts +0 -11
- package/react/components/windowTitleBar/LinkerButtonDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js +0 -63
- package/react/components/windowTitleBar/LinkerButtonDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/LinkerGroups.d.ts +0 -7
- package/react/components/windowTitleBar/LinkerGroups.d.ts.map +0 -1
- package/react/components/windowTitleBar/LinkerGroups.js +0 -21
- package/react/components/windowTitleBar/LinkerGroups.js.map +0 -1
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts +0 -7
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.d.ts.map +0 -1
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js +0 -35
- package/react/components/windowTitleBar/LinkerGroupsDeprecated.js.map +0 -1
- package/react/components/windowTitleBar/MaximizeButton.d.ts +0 -3
- package/react/components/windowTitleBar/MaximizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/MaximizeButton.js +0 -18
- package/react/components/windowTitleBar/MaximizeButton.js.map +0 -1
- package/react/components/windowTitleBar/MinimizeButton.d.ts +0 -3
- package/react/components/windowTitleBar/MinimizeButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/MinimizeButton.js +0 -21
- package/react/components/windowTitleBar/MinimizeButton.js.map +0 -1
- package/react/components/windowTitleBar/ShareButton.d.ts +0 -3
- package/react/components/windowTitleBar/ShareButton.d.ts.map +0 -1
- package/react/components/windowTitleBar/ShareButton.js +0 -24
- package/react/components/windowTitleBar/ShareButton.js.map +0 -1
- package/react/components/windowTitleBar/TabRegion.d.ts +0 -7
- package/react/components/windowTitleBar/TabRegion.d.ts.map +0 -1
- package/react/components/windowTitleBar/TabRegion.js +0 -479
- package/react/components/windowTitleBar/TabRegion.js.map +0 -1
- package/react/components/windowTitleBar/TabTitle.d.ts +0 -8
- package/react/components/windowTitleBar/TabTitle.d.ts.map +0 -1
- package/react/components/windowTitleBar/TabTitle.js +0 -17
- package/react/components/windowTitleBar/TabTitle.js.map +0 -1
- package/react/components/windowTitleBar/TitleEdit.d.ts +0 -10
- package/react/components/windowTitleBar/TitleEdit.d.ts.map +0 -1
- package/react/components/windowTitleBar/TitleEdit.js +0 -30
- package/react/components/windowTitleBar/TitleEdit.js.map +0 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts +0 -12
- package/react/components/windowTitleBar/WindowTitleBarContext.d.ts.map +0 -1
- package/react/components/windowTitleBar/WindowTitleBarContext.js +0 -3
- package/react/components/windowTitleBar/WindowTitleBarContext.js.map +0 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts.map +0 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts +0 -10
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.d.ts.map +0 -1
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js +0 -23
- package/react/components/windowTitleBar/getOrCreateWindowTitleBarContainer.js.map +0 -1
- package/react/components/windowTitleBar/index.d.ts.map +0 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts +0 -7
- package/react/components/windowTitleBar/useKeyboardNavigation.d.ts.map +0 -1
- package/react/components/windowTitleBar/useKeyboardNavigation.js +0 -57
- package/react/components/windowTitleBar/useKeyboardNavigation.js.map +0 -1
- package/react/components/windowTitleBar/useMaximize.d.ts +0 -5
- package/react/components/windowTitleBar/useMaximize.d.ts.map +0 -1
- package/react/components/windowTitleBar/useMaximize.js +0 -23
- package/react/components/windowTitleBar/useMaximize.js.map +0 -1
- package/react/components/yesNoDialog/YesNoDialog.d.ts.map +0 -1
- package/react/components/yesNoDialog/index.d.ts.map +0 -1
- package/react/components/yesNoDialog/timer.d.ts.map +0 -1
- package/react/hooks/index.d.ts.map +0 -1
- package/react/hooks/useAuth.d.ts.map +0 -1
- package/react/hooks/useDashbar.d.ts.map +0 -1
- package/react/hooks/useDeepEffect.d.ts.map +0 -1
- package/react/hooks/useDownloadItems.d.ts +0 -24
- package/react/hooks/useDownloadItems.d.ts.map +0 -1
- package/react/hooks/useDownloadItems.js +0 -68
- package/react/hooks/useDownloadItems.js.map +0 -1
- package/react/hooks/useDragRegion.d.ts +0 -27
- package/react/hooks/useDragRegion.d.ts.map +0 -1
- package/react/hooks/useDragRegion.js +0 -74
- package/react/hooks/useDragRegion.js.map +0 -1
- package/react/hooks/useFavorites.d.ts.map +0 -1
- package/react/hooks/useFavoritesShell.d.ts.map +0 -1
- package/react/hooks/useFloatingFocus.d.ts +0 -16
- package/react/hooks/useFloatingFocus.d.ts.map +0 -1
- package/react/hooks/useFloatingFocus.js +0 -36
- package/react/hooks/useFloatingFocus.js.map +0 -1
- package/react/hooks/useHotkey.d.ts.map +0 -1
- package/react/hooks/useInjectedTitleBar.d.ts +0 -3
- package/react/hooks/useInjectedTitleBar.d.ts.map +0 -1
- package/react/hooks/useInjectedTitleBar.js +0 -437
- package/react/hooks/useInjectedTitleBar.js.map +0 -1
- package/react/hooks/useLinker.d.ts.map +0 -1
- package/react/hooks/useMenu.d.ts.map +0 -1
- package/react/hooks/useNotifications.d.ts.map +0 -1
- package/react/hooks/useOAuth.d.ts +0 -17
- package/react/hooks/useOAuth.d.ts.map +0 -1
- package/react/hooks/useOAuth.js +0 -116
- package/react/hooks/useOAuth.js.map +0 -1
- package/react/hooks/useOutsideClickDetector.d.ts.map +0 -1
- package/react/hooks/usePubSub.d.ts.map +0 -1
- package/react/hooks/useSearch.d.ts.map +0 -1
- package/react/hooks/useTitle.d.ts +0 -18
- package/react/hooks/useTitle.d.ts.map +0 -1
- package/react/hooks/useTitle.js +0 -29
- package/react/hooks/useTitle.js.map +0 -1
- package/react/hooks/useToolbar.d.ts.map +0 -1
- package/react/index.d.ts +0 -3
- package/react/index.d.ts.map +0 -1
- package/react/index.js +0 -3
- package/react/index.js.map +0 -1
- package/react/reducers/favoriteReducer.d.ts.map +0 -1
- package/react/reducers/linkerReducer.d.ts.map +0 -1
- package/react/reducers/menuReducer.d.ts.map +0 -1
- package/react/reducers/rootReducer.d.ts.map +0 -1
- package/react/reducers/searchReducer.d.ts.map +0 -1
- package/react/reducers/smartDesktopDesignerReducer.d.ts.map +0 -1
- package/react/reducers/toolbarReducer.d.ts.map +0 -1
- package/react/reducers/workspaceReducer.d.ts.map +0 -1
- package/react/store.d.ts.map +0 -1
- package/react/types/advancedAppLauncherTypes.d.ts.map +0 -1
- package/react/types/dashbarTypes.d.ts.map +0 -1
- package/react/types/favoriteTypes.d.ts.map +0 -1
- package/react/types/fdc3.d.ts.map +0 -1
- package/react/types/hotkeyTypes.d.ts.map +0 -1
- package/react/types/linkerTypes.d.ts.map +0 -1
- package/react/types/smartDesktopDesignerTypes.d.ts.map +0 -1
- package/react/types/workspaceTypes.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.d.ts +0 -18
- package/typedefs/FDC3/api/AppIdentifier.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIdentifier.js +0 -6
- package/typedefs/FDC3/api/AppIdentifier.js.map +0 -1
- package/typedefs/FDC3/api/AppIntent.d.ts +0 -16
- package/typedefs/FDC3/api/AppIntent.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppIntent.js +0 -6
- package/typedefs/FDC3/api/AppIntent.js.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.d.ts +0 -40
- package/typedefs/FDC3/api/AppMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/AppMetadata.js +0 -6
- package/typedefs/FDC3/api/AppMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Channel.d.ts +0 -66
- package/typedefs/FDC3/api/Channel.d.ts.map +0 -1
- package/typedefs/FDC3/api/Channel.js +0 -6
- package/typedefs/FDC3/api/Channel.js.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.d.ts +0 -19
- package/typedefs/FDC3/api/ContextMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ContextMetadata.js +0 -6
- package/typedefs/FDC3/api/ContextMetadata.js.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.d.ts +0 -493
- package/typedefs/FDC3/api/DesktopAgent.d.ts.map +0 -1
- package/typedefs/FDC3/api/DesktopAgent.js +0 -6
- package/typedefs/FDC3/api/DesktopAgent.js.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.d.ts +0 -24
- package/typedefs/FDC3/api/DisplayMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/DisplayMetadata.js +0 -6
- package/typedefs/FDC3/api/DisplayMetadata.js.map +0 -1
- package/typedefs/FDC3/api/Errors.d.ts +0 -47
- package/typedefs/FDC3/api/Errors.d.ts.map +0 -1
- package/typedefs/FDC3/api/Errors.js +0 -51
- package/typedefs/FDC3/api/Errors.js.map +0 -1
- package/typedefs/FDC3/api/Icon.d.ts +0 -13
- package/typedefs/FDC3/api/Icon.d.ts.map +0 -1
- package/typedefs/FDC3/api/Icon.js +0 -6
- package/typedefs/FDC3/api/Icon.js.map +0 -1
- package/typedefs/FDC3/api/Image.d.ts +0 -15
- package/typedefs/FDC3/api/Image.d.ts.map +0 -1
- package/typedefs/FDC3/api/Image.js +0 -6
- package/typedefs/FDC3/api/Image.js.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts +0 -21
- package/typedefs/FDC3/api/ImplementationMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/ImplementationMetadata.js +0 -6
- package/typedefs/FDC3/api/ImplementationMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.d.ts +0 -14
- package/typedefs/FDC3/api/IntentMetadata.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentMetadata.js +0 -6
- package/typedefs/FDC3/api/IntentMetadata.js.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.d.ts +0 -63
- package/typedefs/FDC3/api/IntentResolution.d.ts.map +0 -1
- package/typedefs/FDC3/api/IntentResolution.js +0 -6
- package/typedefs/FDC3/api/IntentResolution.js.map +0 -1
- package/typedefs/FDC3/api/Listener.d.ts +0 -11
- package/typedefs/FDC3/api/Listener.d.ts.map +0 -1
- package/typedefs/FDC3/api/Listener.js +0 -6
- package/typedefs/FDC3/api/Listener.js.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.d.ts +0 -54
- package/typedefs/FDC3/api/PrivateChannel.d.ts.map +0 -1
- package/typedefs/FDC3/api/PrivateChannel.js +0 -6
- package/typedefs/FDC3/api/PrivateChannel.js.map +0 -1
- package/typedefs/FDC3/api/Types.d.ts +0 -30
- package/typedefs/FDC3/api/Types.d.ts.map +0 -1
- package/typedefs/FDC3/api/Types.js +0 -6
- package/typedefs/FDC3/api/Types.js.map +0 -1
- package/typedefs/FDC3/api/index.d.ts +0 -13
- package/typedefs/FDC3/api/index.d.ts.map +0 -1
- package/typedefs/FDC3/api/index.js +0 -13
- package/typedefs/FDC3/api/index.js.map +0 -1
- package/typedefs/FDC3/context/ContextType.d.ts +0 -11
- package/typedefs/FDC3/context/ContextType.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextType.js +0 -11
- package/typedefs/FDC3/context/ContextType.js.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.d.ts +0 -105
- package/typedefs/FDC3/context/ContextTypes.d.ts.map +0 -1
- package/typedefs/FDC3/context/ContextTypes.js +0 -278
- package/typedefs/FDC3/context/ContextTypes.js.map +0 -1
- package/typedefs/FDC3/index.d.ts +0 -19
- package/typedefs/FDC3/index.d.ts.map +0 -1
- package/typedefs/FDC3/index.js +0 -19
- package/typedefs/FDC3/index.js.map +0 -1
- package/typedefs/FDC3/intents/Intents.d.ts +0 -11
- package/typedefs/FDC3/intents/Intents.d.ts.map +0 -1
- package/typedefs/FDC3/intents/Intents.js +0 -12
- package/typedefs/FDC3/intents/Intents.js.map +0 -1
- package/typedefs/index.d.ts +0 -2
- package/typedefs/index.d.ts.map +0 -1
- package/typedefs/index.js +0 -3
- package/typedefs/index.js.map +0 -1
- package/typedoc-types.d.ts +0 -9
- package/typedoc-types.d.ts.map +0 -1
- package/typedoc-types.js +0 -6
- package/typedoc-types.js.map +0 -1
- package/types.d.ts +0 -17
- package/types.d.ts.map +0 -1
- package/types.js +0 -8
- package/types.js.map +0 -1
- /package/react/components/notifications/components/{notificationsCenter/components → drawer}/Drawer.js +0 -0
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { configureStore, createAction } from "@reduxjs/toolkit";
|
|
2
|
+
const { remoteRedux } = FSBL;
|
|
3
|
+
const dummyReducer = (state) => state;
|
|
4
4
|
const emptyStore = {
|
|
5
5
|
clients: {},
|
|
6
6
|
allChannels: [],
|
|
7
7
|
connectIdToJoinedChannel: {},
|
|
8
8
|
};
|
|
9
|
-
export const
|
|
9
|
+
export const store = configureStore({
|
|
10
|
+
preloadedState: emptyStore,
|
|
11
|
+
reducer: dummyReducer,
|
|
12
|
+
enhancers: [
|
|
13
|
+
remoteRedux.remoteReduxClientEnhancer({ server: "@@finsemble/remoteRedux/InteropStore", slice: "linker" }),
|
|
14
|
+
],
|
|
15
|
+
});
|
|
16
|
+
export const actions = {
|
|
17
|
+
setActiveWindow: createAction("linker/setActiveWindow"),
|
|
18
|
+
linkChannels: createAction("linker/linkChannels"),
|
|
19
|
+
unlinkChannels: createAction("linker/unlinkChannels"),
|
|
20
|
+
};
|
|
10
21
|
//# sourceMappingURL=remoteRedux.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteRedux.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"remoteRedux.js","sourceRoot":"","sources":["../../../src/components/linker/remoteRedux.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAQ/E,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;AAE7B,MAAM,YAAY,GAAG,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC;AAE3C,MAAM,UAAU,GAAgB;IAC/B,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,wBAAwB,EAAE,EAAE;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAyC,cAAc,CAAC;IACzE,cAAc,EAAE,UAAU;IAC1B,OAAO,EAAE,YAAY;IACrB,SAAS,EAAE;QACV,WAAW,CAAC,yBAAyB,CAAC,EAAE,MAAM,EAAE,sCAAsC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;KAC1G;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,eAAe,EAAE,YAAY,CAA+B,wBAAwB,CAAC;IACrF,YAAY,EAAE,YAAY,CAAsB,qBAAqB,CAAC;IACtE,cAAc,EAAE,YAAY,CAAwB,uBAAuB,CAAC;CAC5E,CAAC","sourcesContent":["import { configureStore, createAction, EnhancedStore } from \"@reduxjs/toolkit\";\nimport { services } from \"@finsemble/finsemble-api\";\n\nexport type LinkerStore = services.Interop.types.LinkerStore;\nexport type InteropLinkChannels = services.Interop.modules.linker.InteropLinkChannels;\nexport type InteropUnlinkChannels = services.Interop.modules.linker.InteropUnlinkChannels;\nexport type InteropLinkerSetActiveWindow = services.Interop.modules.linker.InteropLinkerSetActiveWindow;\n\nconst { remoteRedux } = FSBL;\n\nconst dummyReducer = (state: any) => state;\n\nconst emptyStore: LinkerStore = {\n\tclients: {},\n\tallChannels: [],\n\tconnectIdToJoinedChannel: {},\n};\n\nexport const store: EnhancedStore<LinkerStore, any, any> = configureStore({\n\tpreloadedState: emptyStore,\n\treducer: dummyReducer,\n\tenhancers: [\n\t\tremoteRedux.remoteReduxClientEnhancer({ server: \"@@finsemble/remoteRedux/InteropStore\", slice: \"linker\" }),\n\t],\n});\n\nexport const actions = {\n\tsetActiveWindow: createAction<InteropLinkerSetActiveWindow>(\"linker/setActiveWindow\"),\n\tlinkChannels: createAction<InteropLinkChannels>(\"linker/linkChannels\"),\n\tunlinkChannels: createAction<InteropUnlinkChannels>(\"linker/unlinkChannels\"),\n};\n"]}
|
|
@@ -11,19 +11,18 @@ export declare type MenuProps = {
|
|
|
11
11
|
title?: React.ReactNode | string;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
* A convenience component that fully encapsulates a menu by constructing a
|
|
14
|
+
* A convenience component that fully encapsulates a menu by constructing a <MenuShell> and its contents.
|
|
15
15
|
* All of the props are passed to MenuShell.
|
|
16
16
|
*
|
|
17
|
-
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the
|
|
18
|
-
* @param {array} [closeHotkey]
|
|
17
|
+
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.
|
|
18
|
+
* @param {array} [closeHotkey=["escape"] ] - A hotkey combination to close the menu. Defaults to ["escape"].
|
|
19
19
|
* @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.
|
|
20
20
|
* @param {string} [id] - Unique ID for the menu. Defaults to a random string.
|
|
21
21
|
* @param {number} [maxHeight=Infinity] - Maximum height of the menu.
|
|
22
22
|
* @param {number} [minHeight] - Minimum height of the menu
|
|
23
23
|
* @param {array} [openHotkey] - A hotkey combination to open the menu.
|
|
24
24
|
* @param {number} [width=180] - Custom width for the menu.
|
|
25
|
-
* @param {title} [string] - Name that appears in the menu's
|
|
25
|
+
* @param {title} [string] - Name that appears in the menu's <MenuToggle> button.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare const Menu: React.FunctionComponent<MenuProps>;
|
|
29
|
-
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -3,18 +3,18 @@ import { MenuShell } from "./MenuShell";
|
|
|
3
3
|
import { MenuToggle } from "./MenuToggle";
|
|
4
4
|
import { MenuContent } from "./MenuContent";
|
|
5
5
|
/**
|
|
6
|
-
* A convenience component that fully encapsulates a menu by constructing a
|
|
6
|
+
* A convenience component that fully encapsulates a menu by constructing a <MenuShell> and its contents.
|
|
7
7
|
* All of the props are passed to MenuShell.
|
|
8
8
|
*
|
|
9
|
-
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the
|
|
10
|
-
* @param {array} [closeHotkey]
|
|
9
|
+
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.
|
|
10
|
+
* @param {array} [closeHotkey=["escape"] ] - A hotkey combination to close the menu. Defaults to ["escape"].
|
|
11
11
|
* @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.
|
|
12
12
|
* @param {string} [id] - Unique ID for the menu. Defaults to a random string.
|
|
13
13
|
* @param {number} [maxHeight=Infinity] - Maximum height of the menu.
|
|
14
14
|
* @param {number} [minHeight] - Minimum height of the menu
|
|
15
15
|
* @param {array} [openHotkey] - A hotkey combination to open the menu.
|
|
16
16
|
* @param {number} [width=180] - Custom width for the menu.
|
|
17
|
-
* @param {title} [string] - Name that appears in the menu's
|
|
17
|
+
* @param {title} [string] - Name that appears in the menu's <MenuToggle> button.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
20
|
export const Menu = (props) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Menu.js","sourceRoot":"","sources":["../../../src/components/menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAc5C;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,IAAI,GAAuC,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAElC,OAAO,CACN,oBAAC,SAAS,oBAAK,KAAK;QACnB,oBAAC,UAAU,QAAE,KAAK,CAAc;QAChC,oBAAC,WAAW,QAAE,QAAQ,CAAe,CAC1B,CACZ,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { MenuShell } from \"./MenuShell\";\nimport { MenuToggle } from \"./MenuToggle\";\nimport { MenuContent } from \"./MenuContent\";\n\nexport type MenuProps = {\n\tclassName?: string;\n\tcloseHotkey?: Array<string>;\n\theight?: number;\n\tid?: string;\n\tmaxHeight?: number;\n\tminHeight?: number;\n\topenHotkey?: Array<string>;\n\twidth?: number;\n\ttitle?: React.ReactNode | string;\n};\n\n/**\n * A convenience component that fully encapsulates a menu by constructing a <MenuShell> and its contents.\n * All of the props are passed to MenuShell.\n *\n * @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.\n * @param {array} [closeHotkey=[\"escape\"] ] - A hotkey combination to close the menu. Defaults to [\"escape\"].\n * @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.\n * @param {string} [id] - Unique ID for the menu. Defaults to a random string.\n * @param {number} [maxHeight=Infinity] - Maximum height of the menu.\n * @param {number} [minHeight] - Minimum height of the menu\n * @param {array} [openHotkey] - A hotkey combination to open the menu.\n * @param {number} [width=180] - Custom width for the menu.\n * @param {title} [string] - Name that appears in the menu's <MenuToggle> button.\n *\n */\n\nexport const Menu: React.FunctionComponent<MenuProps> = (props) => {\n\tconst { children, title } = props;\n\n\treturn (\n\t\t<MenuShell {...props}>\n\t\t\t<MenuToggle>{title}</MenuToggle>\n\t\t\t<MenuContent>{children}</MenuContent>\n\t\t</MenuShell>\n\t);\n};\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { calculateDimensions } from "./menuHelpers";
|
|
2
|
-
import { FEAGlobals } from "../../../common/Globals";
|
|
3
2
|
/**
|
|
4
3
|
* To make sure that MenuPortal.tsx remain small
|
|
5
4
|
* I have isolated the auto resize logic in this class.
|
|
@@ -61,7 +60,7 @@ export class MenuAutoResizer {
|
|
|
61
60
|
*/
|
|
62
61
|
//this.childWindow.moveTo(left, top);
|
|
63
62
|
//this.childWindow.resizeTo(this.width, height);
|
|
64
|
-
|
|
63
|
+
FSBL.Clients.LauncherClient.showWindow({ windowName: this.childWindow.window.name }, params);
|
|
65
64
|
this.childWindow.document.body.setAttribute("resizing", "false");
|
|
66
65
|
}
|
|
67
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuAutoResizer.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuAutoResizer.js","sourceRoot":"","sources":["../../../src/components/menu/MenuAutoResizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAKpD;;;GAGG;AACH,MAAM,OAAO,eAAe;IAa3B,YAAY,WAAmB,EAAE,MAAc,EAAE,KAAa,EAAE,YAAoB,QAAQ,EAAE,YAAoB,CAAC;QAClH,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrE;;;;;;UAME;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAClE;;;UAGE;QACF,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;YAChD,SAAS,EAAE,IAAI;YACf,aAAa,EAAE,KAAK;YACpB,OAAO,EAAE,IAAI;SACb,CAAC,CAAC;QAEH,8CAA8C;QAC9C,UAAU,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU;QACT,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IAC5B,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,sBAAsB;QACnC,2FAA2F;QAC3F,4FAA4F;QAC5F,uBAAuB;QACvB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,MAAM,cAAc,CAAC,EAAE;YAC3D,OAAO;SACP;QACD,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,mBAAmB,CACtD,IAAI,CAAC,WAAW,EAChB,IAAI,CAAC,MAAM,EACX,CAAC,EACD,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,SAAS,CACd,CAAC;QAEF,MAAM,MAAM,GAAgB;YAC3B,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,GAAG;YACR,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,MAAM;YACd,aAAa,EAAE,IAAI;YACnB,gBAAgB,EAAE,aAAa;SAC/B,CAAC;QAEF;;WAEG;QACH,qCAAqC;QACrC,gDAAgD;QAChD,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC;QAC7F,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACD","sourcesContent":["import { calculateDimensions } from \"./menuHelpers\";\nimport { services } from \"@finsemble/finsemble-api\";\n\ntype SpawnParams = services.window.types.SpawnParams;\n\n/**\n * To make sure that MenuPortal.tsx remain small\n * I have isolated the auto resize logic in this class.\n */\nexport class MenuAutoResizer {\n\tprivate width: number;\n\n\tprivate maxHeight: number;\n\n\tprivate childWindow: Window;\n\n\tprivate menuId: string;\n\n\tprivate observer: MutationObserver;\n\n\tprivate minHeight: number;\n\n\tconstructor(childWindow: Window, menuId: string, width: number, maxHeight: number = Infinity, minHeight: number = 0) {\n\t\tthis.width = width;\n\t\tthis.maxHeight = maxHeight;\n\t\tthis.minHeight = minHeight;\n\t\tthis.childWindow = childWindow;\n\t\tthis.menuId = menuId;\n\t\tthis.updateWindowDimensions = this.updateWindowDimensions.bind(this);\n\t\t/* The external window does not have a URL and so its origin\n\t\twill not match the toolbar's origin, in that case\n\t\twe won't have onload, DOMContentLoaded or any other events.\n\t\tThat makes it hard to know when the content are loaded, we cant\n\t\teven inject custom JS as it will be already late.\n\t\tThe only way to know about a DOM change was MutationObserver!\n\t\t*/\n\t\tthis.observer = new MutationObserver(this.updateWindowDimensions);\n\t\t/* Now we watch for any DOM changes in the childWindow\n\t\tKnowing the height of the window contents is crucial for\n\t\tmaking decision about its position (below/above the toolbar).\n\t\t*/\n\t\tthis.observer.observe(this.childWindow.document, {\n\t\t\tchildList: true,\n\t\t\tcharacterData: false,\n\t\t\tsubtree: true,\n\t\t});\n\n\t\t// Initialize the window to the correct height\n\t\tsetTimeout(this.updateWindowDimensions, 0);\n\t}\n\n\tdisconnect() {\n\t\tthis.observer.disconnect();\n\t}\n\n\t/**\n\t * Callback for MutationObserver\n\t */\n\tprivate async updateWindowDimensions() {\n\t\t// If the original menu button has been removed then bypass updating the window dimensions.\n\t\t// Probably the menu itself is in the process of being removed but the mutation observer has\n\t\t// not yet disconnected\n\t\tif (!document.querySelector(`#${this.menuId}-menu-toggle`)) {\n\t\t\treturn;\n\t\t}\n\t\tconst { left, top, height } = await calculateDimensions(\n\t\t\tthis.childWindow,\n\t\t\tthis.menuId,\n\t\t\t0,\n\t\t\tthis.maxHeight,\n\t\t\tthis.minHeight\n\t\t);\n\n\t\tconst params: SpawnParams = {\n\t\t\tmonitor: \"mine\",\n\t\t\tposition: \"absolute\",\n\t\t\tleft: left,\n\t\t\ttop: top,\n\t\t\twidth: this.width,\n\t\t\theight: height,\n\t\t\tsetBoundsOnly: true,\n\t\t\tforceOntoMonitor: \"monitorRect\",\n\t\t};\n\n\t\t/**\n\t\t * See comment in MenuPortal.tsx on why we use showWindow() here instead of childWindow.moveTo()\n\t\t */\n\t\t//this.childWindow.moveTo(left, top);\n\t\t//this.childWindow.resizeTo(this.width, height);\n\t\tFSBL.Clients.LauncherClient.showWindow({ windowName: this.childWindow.window.name }, params);\n\t\tthis.childWindow.document.body.setAttribute(\"resizing\", \"false\");\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuContent.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuContent.js","sourceRoot":"","sources":["../../../src/components/menu/MenuContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAEnB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE;IAC5B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IACrD,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC;IAEnC,OAAO,CACN,oBAAC,UAAU,IAAC,IAAI,EAAE,YAAY,EAAE;QAC/B,6BAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAE,KAAK,IAC7D,QAAQ,CACJ,CACM,CACb,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { MenuContext } from \"./menuContext\";\nimport { MenuPortal } from \"./MenuPortal\";\nimport { useMenu } from \"../../hooks/useMenu\";\n\n/**\n * Holds all the menu contents\n * @param {string} style - The custom CSS style for the menu. This is necessary because the DOM's style will be lost when this is sent through a React portal.\n */\nexport const MenuContent: React.FunctionComponent<{\n\tstyle?: React.CSSProperties;\n}> = ({ children, style }) => {\n\tconst { thisMenuId } = React.useContext(MenuContext);\n\tconst { isMenuActive } = useMenu();\n\n\treturn (\n\t\t<MenuPortal show={isMenuActive()}>\n\t\t\t<div id={thisMenuId} className=\"menu menu-primary\" style={style}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</MenuPortal>\n\t);\n};\n"]}
|
|
@@ -11,10 +11,9 @@ import * as React from "react";
|
|
|
11
11
|
* since all the other menus will already be closed. This was preferable over the potential
|
|
12
12
|
* complication of logic that registers/unregisters a close hotkey with every menu open/close.
|
|
13
13
|
* @param {string[]} [open] - An array of key names for opening the menu.
|
|
14
|
-
* @param {string[]} [close] - An
|
|
14
|
+
* @param {string[]} [close="escape" ] - An array of key names for closing the menu. Defaults to `["escape"]` unless overridden with `null`.
|
|
15
15
|
*/
|
|
16
16
|
export declare const MenuHotKey: React.FunctionComponent<{
|
|
17
17
|
open?: string[];
|
|
18
18
|
close?: string[];
|
|
19
19
|
}>;
|
|
20
|
-
//# sourceMappingURL=MenuHotKey.d.ts.map
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { useMenu } from "../../hooks/useMenu";
|
|
2
2
|
import { useHotkey } from "../../hooks/useHotkey";
|
|
3
|
-
import { FEAGlobals } from "../../../common/Globals";
|
|
4
|
-
import { useDeepEffect } from "../../hooks/useDeepEffect";
|
|
5
3
|
/**
|
|
6
4
|
* A component that registers a custom hotkeys pattern for opening and closing the menu.
|
|
7
5
|
* This component is used privately by <MenuShell>
|
|
@@ -14,33 +12,24 @@ import { useDeepEffect } from "../../hooks/useDeepEffect";
|
|
|
14
12
|
* since all the other menus will already be closed. This was preferable over the potential
|
|
15
13
|
* complication of logic that registers/unregisters a close hotkey with every menu open/close.
|
|
16
14
|
* @param {string[]} [open] - An array of key names for opening the menu.
|
|
17
|
-
* @param {string[]} [close] - An
|
|
15
|
+
* @param {string[]} [close="escape" ] - An array of key names for closing the menu. Defaults to `["escape"]` unless overridden with `null`.
|
|
18
16
|
*/
|
|
19
17
|
export const MenuHotKey = ({ open, close }) => {
|
|
20
18
|
const { openMenu, closeMenu, isMenuActive } = useMenu();
|
|
21
19
|
useHotkey(open, openMenu);
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
return;
|
|
25
|
-
closeMenu();
|
|
20
|
+
function removeHotKeyAndCloseMenu() {
|
|
21
|
+
FSBL.Clients.HotkeyClient.removeGlobalHotkey(close || [], removeHotKeyAndCloseMenu, closeMenu);
|
|
26
22
|
// Once menu closes, return focus to the component that launched the menu
|
|
27
|
-
|
|
23
|
+
finsembleWindow.bringToFront(null, (err) => {
|
|
28
24
|
if (err) {
|
|
29
|
-
|
|
25
|
+
FSBL.Clients.Logger.system.error("failed to bringToFront, error:", err);
|
|
30
26
|
}
|
|
31
|
-
|
|
27
|
+
finsembleWindow.focus();
|
|
32
28
|
});
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
if (close && (close === null || close === void 0 ? void 0 : close.length) > 0 && !isEscape) {
|
|
38
|
-
FEAGlobals.FSBL.Clients.HotkeyClient.addGlobalHotkey(close, hotkeyHandler);
|
|
39
|
-
return () => {
|
|
40
|
-
FEAGlobals.FSBL.Clients.HotkeyClient.removeGlobalHotkey(close, hotkeyHandler);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
}, [close]);
|
|
30
|
+
if (Array.isArray(close) && close.length > 0 && isMenuActive()) {
|
|
31
|
+
FSBL.Clients.HotkeyClient.addGlobalHotkey(close || [], removeHotKeyAndCloseMenu);
|
|
32
|
+
}
|
|
44
33
|
return null;
|
|
45
34
|
};
|
|
46
35
|
//# sourceMappingURL=MenuHotKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuHotKey.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuHotKey.js","sourceRoot":"","sources":["../../../src/components/menu/MenuHotKey.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,UAAU,GAGlB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAQ,EAAE;IAC9B,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC;IACxD,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAE1B,SAAS,wBAAwB;QAChC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,kBAAkB,CAAC,KAAK,IAAI,EAAE,EAAE,wBAAwB,EAAE,SAAS,CAAC,CAAC;QAE/F,yEAAyE;QACzE,eAAe,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC/C,IAAI,GAAG,EAAE;gBACR,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,GAAG,CAAC,CAAC;aACxE;YAED,eAAe,CAAC,KAAK,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,YAAY,EAAE,EAAE;QAC/D,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,KAAK,IAAI,EAAE,EAAE,wBAAwB,CAAC,CAAC;KACjF;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { useMenu } from \"../../hooks/useMenu\";\nimport { useHotkey } from \"../../hooks/useHotkey\";\n\n/**\n * A component that registers a custom hotkeys pattern for opening and closing the menu.\n * This component is used privately by <MenuShell>\n *\n * Note that a design decision was made to keep registry of \"close\" hotkeys simple.\n * We *could* have written extra logic so that the close hotkey is only registered\n * when the window is open but that seems unnecessary. Instead, every menu is always\n * registered with its hotkey. The net effect is that every menu will dispatch a CLOSE_MENU\n * action when \"escape\" is called. This creates a lot of dispatches but results in no operations\n * since all the other menus will already be closed. This was preferable over the potential\n * complication of logic that registers/unregisters a close hotkey with every menu open/close.\n * @param {string[]} [open] - An array of key names for opening the menu.\n * @param {string[]} [close=\"escape\" ] - An array of key names for closing the menu. Defaults to `[\"escape\"]` unless overridden with `null`.\n */\nexport const MenuHotKey: React.FunctionComponent<{\n\topen?: string[];\n\tclose?: string[];\n}> = ({ open, close }): null => {\n\tconst { openMenu, closeMenu, isMenuActive } = useMenu();\n\tuseHotkey(open, openMenu);\n\n\tfunction removeHotKeyAndCloseMenu() {\n\t\tFSBL.Clients.HotkeyClient.removeGlobalHotkey(close || [], removeHotKeyAndCloseMenu, closeMenu);\n\n\t\t// Once menu closes, return focus to the component that launched the menu\n\t\tfinsembleWindow.bringToFront(null, (err: any) => {\n\t\t\tif (err) {\n\t\t\t\tFSBL.Clients.Logger.system.error(\"failed to bringToFront, error:\", err);\n\t\t\t}\n\n\t\t\tfinsembleWindow.focus();\n\t\t});\n\t}\n\n\tif (Array.isArray(close) && close.length > 0 && isMenuActive()) {\n\t\tFSBL.Clients.HotkeyClient.addGlobalHotkey(close || [], removeHotKeyAndCloseMenu);\n\t}\n\n\treturn null;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuItem.js","sourceRoot":"","sources":["../../../src/components/menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAOhB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,GAAG,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,EAAO,EAAE;IAC7F,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC;IAEhC,+CAA+C;IAC/C,kDAAkD;IAClD,MAAM,eAAe,GAAG,GAAG,EAAE;QAC5B,8CAA8C;QAC9C,OAAO,IAAI,OAAO,EAAE,CAAC;QAErB,kDAAkD;QAClD,CAAC,OAAO,IAAI,SAAS,EAAE,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,CACN,6BACC,QAAQ,EAAE,CAAC,EACX,IAAI,EAAC,UAAU,EACf,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,IAET,QAAQ,CACJ,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { useMenu } from \"../../hooks/useMenu\";\n\n/**\n * Individual menu item.\n * @param {function} [onClick] - Custom onClick handler function for when the menu item is clicked.\n * @param {string} [className] - Custom css class name for the menu item. Defaults to \"menu-item\".\n * @param {string} [style] - Custom css styles for the menu item. This is necessary because the DOM's styles will be lost when this component is sent through a React portal.\n * @param {boolean} [noClose=false] - If set to true, prevents the menu from closing when an item is clicked on.\n */\nexport const MenuItem: React.FunctionComponent<{\n\tonClick?: () => void;\n\tonKeyDown?: () => void;\n\tclassName?: string;\n\tstyle?: object;\n\tnoClose?: boolean;\n\tlang?: string;\n}> = ({ children, onClick, style, noClose, className = \"menu-item\", onKeyDown, lang }): any => {\n\tconst { closeMenu } = useMenu();\n\n\t// Combines the passed onClick handler with our\n\t// default onClick handler (which closes the menu)\n\tconst combinedOnClick = () => {\n\t\t// Call the developer's custom onClick handler\n\t\tonClick && onClick();\n\n\t\t// Do not close menu when noClose attributes exist\n\t\t!noClose && closeMenu();\n\t};\n\n\treturn (\n\t\t<div\n\t\t\ttabIndex={0}\n\t\t\trole=\"menuitem\"\n\t\t\tclassName={className}\n\t\t\tonClick={combinedOnClick}\n\t\t\tstyle={style}\n\t\t\tonKeyDown={onKeyDown}\n\t\t\tlang={lang}\n\t\t>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n"]}
|
|
@@ -5,7 +5,6 @@ import { applyMenuKeyboardNavigation } from "./keyboardNavigation";
|
|
|
5
5
|
import { MenuAutoResizer } from "./MenuAutoResizer";
|
|
6
6
|
import { useState, useEffect, useContext } from "react";
|
|
7
7
|
import { useMenu } from "../../hooks/useMenu";
|
|
8
|
-
import { FEAGlobals } from "../../../common/Globals";
|
|
9
8
|
/**
|
|
10
9
|
* Proxy/fake events are needed because when `document.addEventListener` is used inside a component
|
|
11
10
|
* that is rendered inside react portal, `document` will refer to the toolbar's document instead
|
|
@@ -120,7 +119,6 @@ const useCreateDropdown = ({ setElement, childWindow, setChildWindow, }) => {
|
|
|
120
119
|
newWindow.addEventListener("keydown", (e) => {
|
|
121
120
|
if (e.key === "Escape") {
|
|
122
121
|
blurMenu();
|
|
123
|
-
FEAGlobals.finsembleWindow.focus();
|
|
124
122
|
}
|
|
125
123
|
});
|
|
126
124
|
applyMenuKeyboardNavigation(newWindow);
|
|
@@ -131,7 +129,7 @@ const useCreateDropdown = ({ setElement, childWindow, setChildWindow, }) => {
|
|
|
131
129
|
newWindow.addEventListener("load", onLoad, true);
|
|
132
130
|
}
|
|
133
131
|
else {
|
|
134
|
-
|
|
132
|
+
FSBL.Clients.Logger.system.error(`MenuPortal error: window.open returned null for "./menu.html#${thisMenuId}"`);
|
|
135
133
|
}
|
|
136
134
|
return () => {
|
|
137
135
|
// imesner 20210406 childwindow and keyboardNavigation were both null but hadn't closed the window or released global hotkeys
|
|
@@ -167,17 +165,17 @@ const showHideResizeWindow = async ({ childWindow, show, thisMenuId, menuHeight,
|
|
|
167
165
|
* side of the toolbar. Finally, showWindow() forces windows to open entirely on a monitor, so it will slide the
|
|
168
166
|
* menu to the left or right as necessary to prevent it from straddling.
|
|
169
167
|
*/
|
|
170
|
-
await
|
|
168
|
+
await FSBL.Clients.LauncherClient.showWindow({ windowName: name }, params);
|
|
171
169
|
// Ensures that the menu has keyboard focus for accessibility
|
|
172
170
|
finWindow.focus();
|
|
173
171
|
// Ensures that the menu is positioned above any other windows that have setAlwaysOnTop flagged
|
|
174
|
-
|
|
172
|
+
FSBL.FinsembleWindow.getInstance({ name: name }, (e, fsblWindow) => {
|
|
175
173
|
fsblWindow.setAlwaysOnTop({ alwaysOnTop: true });
|
|
176
174
|
});
|
|
177
175
|
}
|
|
178
176
|
else {
|
|
179
177
|
const { name } = childWindow;
|
|
180
|
-
|
|
178
|
+
FSBL.FinsembleWindow.getInstance({ name: name }, (e, fsblWindow) => {
|
|
181
179
|
fsblWindow.setAlwaysOnTop({ alwaysOnTop: false });
|
|
182
180
|
});
|
|
183
181
|
finWindow.hide();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuPortal.js","sourceRoot":"","sources":["../../../../../src/ui/components/menu/MenuPortal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAE,EAAE;IAClD,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,OAAO,CAAC,CAA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jC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAe,CAAC;IACtD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAEpE;;;OAGG;IACH,SAAS,CAAC,GAAG,EAAE;QACd,mDAAmD;QACnD,IAAI,CAAC,WAAW;YAAE,OAAO;QAEzB,oBAAoB,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;QAC1F,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;IACjB,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAEX,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC,CAAC;IAE/D,MAAM,OAAO,GAAG,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IAEvD,IAAI,OAAO;QAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAElC,4DAA4D;IAC5D,yCAAyC;IACzC,yCAAyC;IACzC,wEAAwE;IACxE,OAAO,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClE,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { MenuContext } from \"./menuContext\";\nimport { calculateDimensions, injectCSS } from \"./menuHelpers\";\nimport { applyMenuKeyboardNavigation } from \"./keyboardNavigation\";\nimport { MenuAutoResizer } from \"./MenuAutoResizer\";\nimport { useState, useEffect, useContext } from \"react\";\nimport { useMenu } from \"../../hooks/useMenu\";\nimport { services, FEA } from \"@finsemble/finsemble-api\";\n\ntype SpawnParams = services.window.types.SpawnParams;\n\n/**\n * Proxy/fake events are needed because when `document.addEventListener` is used inside a component\n * that is rendered inside react portal, `document` will refer to the toolbar's document instead\n * of the childWindow's document. Clicking inside a portal will not therefore capture those events.\n *\n * This code intercepts these events inside the portal and then forwards them to the parent (toolbar).\n */\nconst setupEventForwarding = (newWindow: Window) => {\n\t[\"mouseDown\", \"click\", \"mouseUp\"].forEach((eventName) => {\n\t\tnewWindow.document.addEventListener(eventName, (event) => {\n\t\t\tdocument.dispatchEvent(\n\t\t\t\tnew CustomEvent(`portal:${eventName}`, {\n\t\t\t\t\tdetail: {\n\t\t\t\t\t\t// Devs may need access to the x and y of the cursor\n\t\t\t\t\t\tmouseEvent: new MouseEvent(eventName, event),\n\t\t\t\t\t\t// And possibly the target element\n\t\t\t\t\t\ttarget: event.target,\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t);\n\t\t});\n\t});\n\n\t/**\n\t * Proxies keyboard events from the portal up into the parent window.\n\t * instead of e.key, you'll need to access e.detail.key.\n\t */\n\t[\"keyup\", \"keydown\", \"keypress\"].forEach((eventName) => {\n\t\tnewWindow?.document.addEventListener(eventName, (event) => {\n\t\t\tdocument.dispatchEvent(\n\t\t\t\tnew CustomEvent(`portal:${eventName}`, {\n\t\t\t\t\tdetail: new KeyboardEvent(event.type, event),\n\t\t\t\t})\n\t\t\t);\n\t\t});\n\t});\n};\n\n/**\n * The window (opened by window.open) is an empty html document.\n * This function creates a containerDiv for the parent to insert its\n * React DOM. That containerDiv is set through the `setElement()` method\n * which must be passed in.\n *\n * This function also does portal housekeeping such as transferring CSS and window\n * events.\n */\nconst insertWindowContent = ({\n\tnewWindow,\n\tisAutoResizable,\n\tclassName,\n\tsetElement,\n\tmenuHeight,\n}: {\n\tnewWindow: Window;\n\tisAutoResizable: boolean;\n\tclassName?: string;\n\tmenuHeight?: number;\n\tsetElement: React.Dispatch<React.SetStateAction<HTMLElement | undefined>>;\n}) => {\n\t// Set the child window's <html> tag to class \"menu-portal\" for scrollbar styling\n\tnewWindow.document.documentElement.className = \"menu-portal\";\n\tif (isAutoResizable) newWindow.document.body.setAttribute(\"resizing\", \"true\");\n\n\t// Create the element which will hold our react elements and then append it into the child window's body.\n\tconst containerDiv: HTMLElement = document.createElement(\"div\");\n\tnewWindow.document.body.appendChild(containerDiv);\n\n\t// The className that was passed to MenuShell is added to the child window's <body>\n\tclassName?.split(\" \").forEach((name: string) => newWindow!.document.body.classList.add(name));\n\n\t// This will update local state which will cause the parent React Functional Component\n\t// to return a react portal. See comments at the end of this file.\n\tsetElement(containerDiv);\n\n\t// Inject css into the child window's <head>\n\tinjectCSS(newWindow);\n\n\t// THE FOLLOWING IS LIKELY DEPRECATED BUT KEEPING JUST IN CASE\n\t// Place height on the portal.\n\t// inside of the portal, window.outerHeight === 39 (toolbar height).\n\t// Knowing the height of the window is important because some menus use that\n\t// information to force overflow on certain sections of the menu.\n\t(newWindow as any).portalHeight = menuHeight;\n};\n\n/**\n * React hook to create a drop down menu. This hook creates a new window using window.open\n * and assigns it as the childWindow to the MenuPortal. It then uses insertWindowContent()\n * to establish the React/DOM connection with the parent (e.g. Toolbar).\n */\nconst useCreateDropdown = ({\n\tsetElement,\n\tchildWindow,\n\tsetChildWindow,\n}: {\n\tsetElement: React.Dispatch<React.SetStateAction<HTMLElement | undefined>>;\n\tchildWindow: Window | null;\n\tsetChildWindow: React.Dispatch<React.SetStateAction<Window | null>>;\n}) => {\n\tconst { thisMenuId, menuWidth, menuHeight, className, maxHeight, minHeight } = useContext(MenuContext);\n\tconst { blurMenu } = useMenu();\n\tconst isAutoResizable = !menuHeight;\n\n\t/**\n\t * Initialize the window. This should only run once though it is possible\n\t * to run multiple times if MenuContext changes.\n\t */\n\tuseEffect(() => {\n\t\tlet menuAutoResizer: any = null;\n\n\t\t/**\n\t\t * Initial size and location of the menu is irrelevant because it is hidden.\n\t\t * The menu will be resized and positioned correctly when it is shown.\n\t\t */\n\t\tconst features = `height=1,width=${menuWidth},left=0,top=0,opacity=1`;\n\n\t\t/**\n\t\t * Opens the window which will contain the menu contents. This looks like a browser window open\n\t\t * but actually opens an Electron window which FEA intercepts. FEA uses the `childWindowOptions`\n\t\t * json configuration to determine how to display the window. `childWindowOptions.show` should\n\t\t * be set to `false` otherwise a white window will flash prior to the menu being rendered.\n\t\t *\n\t\t *\n\t\t * The \"/component/toolbar/menu.html\" is just an empty page. It's necessary to reference a real page\n\t\t * rather than about:blank in order that the \"origin\" is correct for the page. Many CSS ui-assets such\n\t\t * as fonts and images are set with relative paths that require a correct origin.\n\t\t *\n\t\t * Note, we append the menu ID for automated testing. This allows Selenium to\n\t\t * uniquely identify each menu.\n\t\t */\n\t\tconst newWindow = window.open(`./menu.html#${thisMenuId}`, `(Menu) ${thisMenuId}`, features);\n\t\tsetChildWindow(newWindow);\n\n\t\tif (newWindow) {\n\t\t\tconst onLoad = () => {\n\t\t\t\tinsertWindowContent({ newWindow, isAutoResizable, className, setElement, menuHeight });\n\t\t\t\tsetupEventForwarding(newWindow);\n\t\t\t\t/* Close window when a user clicks away.\n\t\t\t\t\tAre you wondering why not just close the window without calling\n\t\t\t\t\ttoggle? because we want to update the state in the store first\n\t\t\t\t\twhich will cause openMenuId to no longer match the shell id\n\t\t\t\t\tand eventually destroy this component which will cause the window\n\t\t\t\t\tto close (see cleanup function).\n\t\t\t\t*/\n\t\t\t\tnewWindow.addEventListener(\"blur\", blurMenu);\n\t\t\t\tnewWindow.addEventListener(\"keydown\", (e) => {\n\t\t\t\t\tif (e.key === \"Escape\") {\n\t\t\t\t\t\tblurMenu();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tapplyMenuKeyboardNavigation(newWindow);\n\n\t\t\t\t// Attach MenuAutoResizer only if the menu doesn't have a fixed height\n\t\t\t\tif (isAutoResizable)\n\t\t\t\t\tmenuAutoResizer = new MenuAutoResizer(newWindow, thisMenuId, menuWidth, maxHeight, minHeight);\n\t\t\t};\n\t\t\tnewWindow.addEventListener(\"load\", onLoad, true);\n\t\t} else {\n\t\t\tFSBL.Clients.Logger.system.error(`MenuPortal error: window.open returned null for \"./menu.html#${thisMenuId}\"`);\n\t\t}\n\n\t\treturn () => {\n\t\t\t// imesner 20210406 childwindow and keyboardNavigation were both null but hadn't closed the window or released global hotkeys\n\t\t\tconst win = childWindow || menuAutoResizer?.childWindow;\n\n\t\t\tmenuAutoResizer?.disconnect();\n\t\t\twin?.close();\n\t\t\tsetChildWindow(null);\n\t\t};\n\t}, [blurMenu, className, menuWidth, menuHeight, maxHeight, thisMenuId]);\n};\n\n/**\n * Sets visibility, size and location of the window. This can be called numerous times\n * during the lifetime of the MenuPortal.\n */\nconst showHideResizeWindow = async ({\n\tchildWindow,\n\tshow,\n\tthisMenuId,\n\tmenuHeight,\n\tmaxHeight,\n\tminHeight,\n}: {\n\tchildWindow: Window;\n\tshow: boolean;\n\tthisMenuId: string;\n\tmenuHeight?: number;\n\tmaxHeight: number;\n\tminHeight: number;\n}) => {\n\tconst finWindow: FEA.FEAWindow = childWindow.fin.desktop.Window.getCurrent();\n\tif (show) {\n\t\tconst { left, top, height } = await calculateDimensions(childWindow, thisMenuId, menuHeight, maxHeight, minHeight);\n\n\t\tconst params: SpawnParams = {\n\t\t\tposition: \"absolute\",\n\t\t\tleft: left,\n\t\t\ttop: top,\n\t\t\theight: height,\n\t\t\tforceOntoMonitor: \"monitorRect\",\n\t\t};\n\n\t\tconst { name } = childWindow;\n\n\t\t/**\n\t\t * Use Finsemble to show the window. We might be tempted simply to use childWindow.moveTo() or childWindow.resizeTo()\n\t\t * but those commands limit the child window to a single monitor. We want to position the window relative to the\n\t\t * monitor on which the toolbar currently resides. showWindow() is monitor aware, so by using monitor=\"mine\" we can\n\t\t * ensure that the menu will always open on the same monitor as the toolbar. Since our toolbar has built in logic\n\t\t * to avoid straddling, we can be sure that the menu will never have to guess whether it exists on the left or right\n\t\t * side of the toolbar. Finally, showWindow() forces windows to open entirely on a monitor, so it will slide the\n\t\t * menu to the left or right as necessary to prevent it from straddling.\n\t\t */\n\t\tawait FSBL.Clients.LauncherClient.showWindow({ windowName: name }, params);\n\n\t\t// Ensures that the menu has keyboard focus for accessibility\n\t\tfinWindow.focus();\n\n\t\t// Ensures that the menu is positioned above any other windows that have setAlwaysOnTop flagged\n\t\tFSBL.FinsembleWindow.getInstance({ name: name }, (e: any, fsblWindow: any) => {\n\t\t\tfsblWindow.setAlwaysOnTop({ alwaysOnTop: true });\n\t\t});\n\t} else {\n\t\tconst { name } = childWindow;\n\t\tFSBL.FinsembleWindow.getInstance({ name: name }, (e: any, fsblWindow: any) => {\n\t\t\tfsblWindow.setAlwaysOnTop({ alwaysOnTop: false });\n\t\t});\n\n\t\tfinWindow.hide();\n\t}\n};\n\n/**\n * Closes the menu portal if the menu button is removed from the toolbar\n *\n * @param {Node} element - HTML element to observe\n *\n */\nconst closePortal = (element: Node) => {\n\tconst { closeMenu } = useMenu();\n\n\tconst options = {\n\t\tchildList: true,\n\t\tsubtree: true,\n\t};\n\n\t/**\n\t * MutationObserver interface provides the ability to watch for\n\t * changes to the DOM tree using the observe method\n\t */\n\tconst mutationObserver = new MutationObserver((mutations) => {\n\t\tmutations.forEach((mutation) => {\n\t\t\tif (\n\t\t\t\tmutation.removedNodes?.length &&\n\t\t\t\t// prevents menu closing if the favorite apps have been changed\n\t\t\t\t(mutation.target as HTMLDivElement)?.id !== \"favoritesContainer\"\n\t\t\t) {\n\t\t\t\tcloseMenu();\n\t\t\t}\n\n\t\t\t// stops the MutationObserver from receiving notification from observer\n\t\t\tmutationObserver.disconnect();\n\t\t});\n\t});\n\n\t// watches for DOM changes\n\tmutationObserver.observe(element, options);\n};\n\nexport const MenuPortal: React.FunctionComponent<{\n\tshow: boolean;\n}> = ({ show, children }) => {\n\tconst { thisMenuId, menuHeight, maxHeight, minHeight } = useContext(MenuContext);\n\n\t// Container div for React portal\n\tconst [element, setElement] = useState<HTMLElement>();\n\tconst [childWindow, setChildWindow] = useState<Window | null>(null);\n\n\t/**\n\t * Show and hide window. This effect will run whenever the `show` prop changes,\n\t * generally initiated by a click to <MenuToggle>.\n\t */\n\tuseEffect(() => {\n\t\t// If child window isn't yet initialized then no-op\n\t\tif (!childWindow) return;\n\n\t\tshowHideResizeWindow({ childWindow, show, thisMenuId, menuHeight, maxHeight, minHeight });\n\t\treturn () => {};\n\t}, [show]);\n\n\t// Create the dropdown. (if MenuContext changes then the dropdown will be removed and recreated).\n\tuseCreateDropdown({ childWindow, setElement, setChildWindow });\n\n\tconst toolbar = document.getElementById(\"Toolbar-tsx\");\n\n\tif (toolbar) closePortal(toolbar);\n\n\t// We should only return a react portal when window is ready\n\t// and container div appended to its body\n\t// See Dan abramov comment about this at:\n\t// https://github.com/facebook/react/issues/12355#issuecomment-410996235\n\treturn element ? ReactDOM.createPortal(children, element) : null;\n};\n"]}
|
|
@@ -16,8 +16,8 @@ declare type ShellProps = {
|
|
|
16
16
|
*
|
|
17
17
|
* If window.FSBL.debug==true then windows won't automatically close on blur. This is useful for debugging events that occur in the windows.
|
|
18
18
|
*
|
|
19
|
-
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the
|
|
20
|
-
* @param {array} [closeHotkey]
|
|
19
|
+
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.
|
|
20
|
+
* @param {array} [closeHotkey=["escape"] ] - A hotkey combination to close the menu. Defaults to ["escape"].
|
|
21
21
|
* @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.
|
|
22
22
|
* @param {string} [id] - Unique ID for the menu. Defaults to a random string.
|
|
23
23
|
* @param {number} [maxHeight=Infinity] - Maximum height of the menu.
|
|
@@ -28,4 +28,3 @@ declare type ShellProps = {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const MenuShell: React.FunctionComponent<ShellProps>;
|
|
30
30
|
export {};
|
|
31
|
-
//# sourceMappingURL=MenuShell.d.ts.map
|
|
@@ -10,8 +10,8 @@ const MENU_WIDTH = 180;
|
|
|
10
10
|
*
|
|
11
11
|
* If window.FSBL.debug==true then windows won't automatically close on blur. This is useful for debugging events that occur in the windows.
|
|
12
12
|
*
|
|
13
|
-
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the
|
|
14
|
-
* @param {array} [closeHotkey]
|
|
13
|
+
* @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.
|
|
14
|
+
* @param {array} [closeHotkey=["escape"] ] - A hotkey combination to close the menu. Defaults to ["escape"].
|
|
15
15
|
* @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.
|
|
16
16
|
* @param {string} [id] - Unique ID for the menu. Defaults to a random string.
|
|
17
17
|
* @param {number} [maxHeight=Infinity] - Maximum height of the menu.
|
|
@@ -20,7 +20,7 @@ const MENU_WIDTH = 180;
|
|
|
20
20
|
* @param {number} [width=180] - Custom width for the menu.
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const MenuShell = ({ children, id, width = MENU_WIDTH, height, className, maxHeight = Infinity, minHeight = 0, openHotkey, closeHotkey, }) => {
|
|
23
|
+
export const MenuShell = ({ children, id, width = MENU_WIDTH, height, className, maxHeight = Infinity, minHeight = 0, openHotkey, closeHotkey = ["escape"], }) => {
|
|
24
24
|
/**
|
|
25
25
|
* Every menu has its own context which contains information that child components need to use.
|
|
26
26
|
* Here, we initialize that context. We do this with useMemo() for efficiency. Without useMemo,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuShell.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuShell.js","sourceRoot":"","sources":["../../../src/components/menu/MenuShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,UAAU,GAAW,GAAG,CAAC;AAa/B;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAwC,CAAC,EAC9D,QAAQ,EACR,EAAE,EACF,KAAK,GAAG,UAAU,EAClB,MAAM,EACN,SAAS,EACT,SAAS,GAAG,QAAQ,EACpB,SAAS,GAAG,CAAC,EACb,UAAU,EACV,WAAW,GAAG,CAAC,QAAQ,CAAC,GACxB,EAAE,EAAE;IACJ;;;;;;;;;OASG;IACH,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE;QACjC,OAAO;YACN,UAAU,EAAE,EAAE,IAAI,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;YAC1E,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,MAAM;SAClB,CAAC;IACH,CAAC,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IAEzD,OAAO,CACN,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY;QACxC,oBAAC,UAAU,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,GAAI;QACnD,QAAQ,CACa,CACvB,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { MenuContext } from \"./menuContext\";\nimport \"../../assets/css/menus.css\";\nimport { useMemo } from \"react\";\nimport { MenuHotKey } from \"./MenuHotKey\";\n\nconst MENU_WIDTH: number = 180;\n\ntype ShellProps = {\n\tclassName?: string;\n\tcloseHotkey?: Array<string>;\n\theight?: number;\n\tid?: string;\n\tmaxHeight?: number;\n\tminHeight?: number;\n\topenHotkey?: Array<string>;\n\twidth?: number;\n};\n\n/**\n * The higher level menu component that manages the menu state, renders different parts of the menu, and facilitates\n * communication between them.\n *\n * If window.FSBL.debug==true then windows won't automatically close on blur. This is useful for debugging events that occur in the windows.\n *\n * @param {string} [className] - Custom body class for the menu contents. These classes will be set on the <body> tag for the Menu's drop down window.\n * @param {array} [closeHotkey=[\"escape\"] ] - A hotkey combination to close the menu. Defaults to [\"escape\"].\n * @param {number} [height] - Custom height for the menu. If not set then the height will be automatically calculated based on the content height and available monitor space.\n * @param {string} [id] - Unique ID for the menu. Defaults to a random string.\n * @param {number} [maxHeight=Infinity] - Maximum height of the menu.\n * @param {number} [minHeight] - Minimum height of the menu\n * @param {array} [openHotkey] - A hotkey combination to open the menu.\n * @param {number} [width=180] - Custom width for the menu.\n *\n */\n\nexport const MenuShell: React.FunctionComponent<ShellProps> = ({\n\tchildren,\n\tid,\n\twidth = MENU_WIDTH,\n\theight,\n\tclassName,\n\tmaxHeight = Infinity,\n\tminHeight = 0,\n\topenHotkey,\n\tcloseHotkey = [\"escape\"],\n}) => {\n\t/**\n\t * Every menu has its own context which contains information that child components need to use.\n\t * Here, we initialize that context. We do this with useMemo() for efficiency. Without useMemo,\n\t * our context value *object* would be recreated with every render cycle, and would thus trigger\n\t * every object that depended on context to re-render. Instead, useMenu creates a stable object\n\t * that only updates when one of *its* dependencies updates. So in essence, so long as MenuShell's\n\t * props are stable, context and all child props will also be stable.\n\t *\n\t * If id is passed in as a prop then we'll use that to initialize thisMenuId. Otherwise we'll set it to a random string.\n\t */\n\tconst contextValue = useMemo(() => {\n\t\treturn {\n\t\t\tthisMenuId: id || `MENU_${((Math.random() * 0xffffff) << 0).toString(16)}`,\n\t\t\tclassName: className,\n\t\t\tmaxHeight: maxHeight,\n\t\t\tminHeight: minHeight,\n\t\t\tmenuWidth: width,\n\t\t\tmenuHeight: height,\n\t\t};\n\t}, [id, className, maxHeight, minHeight, width, height]);\n\n\treturn (\n\t\t<MenuContext.Provider value={contextValue}>\n\t\t\t<MenuHotKey open={openHotkey} close={closeHotkey} />\n\t\t\t{children}\n\t\t</MenuContext.Provider>\n\t);\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["../../../src/components/menu/MenuToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC;IAC/C,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAErD,MAAM,eAAe,GAAW,YAAY,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;IAEpE,OAAO,CACN,6BACC,EAAE,EAAE,GAAG,UAAU,cAAc,EAC/B,SAAS,EAAE,4BAA4B,eAAe,EAAE,EACxD,WAAW,EAAE,UAAU,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACX,SAAS,EAAE,CAAC,CAAsC,EAAE,EAAE;YACrD,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE;gBACvC,UAAU,EAAE,CAAC;aACb;QACF,CAAC,mBACa,OAAO,mBACP,MAAM;QAEnB,QAAQ;QACT,2BAAG,SAAS,EAAC,+CAA+C,iBAAa,MAAM,GAAK,CAC/E,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { MenuContext } from \"./menuContext\";\nimport { useMenu } from \"../../hooks/useMenu\";\n\n/**\n * A menu button that opens and closes the menu.\n */\nexport const MenuToggle: React.FunctionComponent = ({ children }) => {\n\tconst { toggleMenu, isMenuActive } = useMenu();\n\tconst { thisMenuId } = React.useContext(MenuContext);\n\n\tconst menuActiveClass: string = isMenuActive() ? \"menu-active\" : \"\";\n\n\treturn (\n\t\t<div\n\t\t\tid={`${thisMenuId}-menu-toggle`}\n\t\t\tclassName={`finsemble-toolbar-button ${menuActiveClass}`}\n\t\t\tonMouseDown={toggleMenu}\n\t\t\trole=\"button\"\n\t\t\ttabIndex={0}\n\t\t\tonKeyDown={(e: React.KeyboardEvent<HTMLDivElement>) => {\n\t\t\t\tif ([\"Enter\", \"Space\"].includes(e.key)) {\n\t\t\t\t\ttoggleMenu();\n\t\t\t\t}\n\t\t\t}}\n\t\t\taria-expanded=\"false\"\n\t\t\taria-haspopup=\"true\"\n\t\t>\n\t\t\t{children}\n\t\t\t<i className=\"finsemble-toolbar-button-icon ff-chevron-down\" aria-hidden=\"true\"></i>\n\t\t</div>\n\t);\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { Menu } from \"./Menu\";\nexport { MenuContent } from \"./MenuContent\";\nexport { MenuItem } from \"./MenuItem\";\nexport { MenuShell } from \"./MenuShell\";\nexport { MenuToggle } from \"./MenuToggle\";\n"]}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export const applyMenuKeyboardNavigation = (childWin, className = ".menu-item") => {
|
|
14
14
|
let selectedItem = 0;
|
|
15
15
|
let selectedIcon = -1;
|
|
16
|
-
new
|
|
16
|
+
new MutationObserver(() => {
|
|
17
17
|
// Reset selectedIndex when elements added or removed
|
|
18
18
|
// from the DOM. The motivation behind this was an issue
|
|
19
19
|
// with Brad's search menu where the order of focus is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardNavigation.js","sourceRoot":"","sources":["../../../../../src/ui/components/menu/keyboardNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,QAAgB,EAAE,YAAoB,YAAY,EAAE,EAAE;IACjG,IAAI,YAAY,GAAW,CAAC,CAAC;IAE7B,IAAI,YAAY,GAAW,CAAC,CAAC,CAAC;IAE9B,IAAI,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE;QAChC,qDAAqD;QACrD,wDAAwD;QACxD,sDAAsD;QACtD,6CAA6C;QAC7C,YAAY,GAAG,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE;QAClC,SAAS,EAAE,IAAI;QACf,aAAa,EAAE,KAAK;QACpB,OAAO,EAAE,IAAI;KACb,CAAC,CAAC;IAEH;;OAEG;IACH,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,gBAAgB,CAAC,SAAS,CAA4B,CAAC;IAEnG,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,EAAE;QAC1C,MAAM,SAAS,GAAG,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,CAA4B,CAAC;IACxF,CAAC,CAAC;IAEF;;;OAGG;IACH,MAAM,OAAO,GAAG,CAAC,KAAa,EAAE,EAAE;QACjC,MAAM,SAAS,GAAG,WAAW,EAAE,CAAC;QAEhC,2BAA2B;QAC3B,IAAI,CAAC,SAAS,CAAC,MAAM;YAAE,OAA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WAAW;QACtB,UAAU,EAAE,YAAY;QACxB,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,YAAY;QAClB,GAAG,EAAE,WAAW;KAChB,CAAC;IAEF,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;;QAC1C,MAAM,EAAE,GAAG,EAAE,GAAG,CAAkB,CAAC;QAEnC,IAAI,GAAG,IAAI,gBAAgB,EAAE;YAC5B,MAAA,gBAAgB,CAAC,GAAoC,CAAC,gEAAI,CAAC;YAC3D,CAAC,CAAC,cAAc,EAAE,CAAC;SACnB;IACF,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,gBAAgB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAChD,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAClD,CAAC,CAAC","sourcesContent":["/**\n * Keyboard navigation allows the end user to navigate through menus using\n * arrow keys and to select items using the enter key.\n *\n * When an element is selected then the keyboard navigation state is reset\n * so that the user will begin again with the first item.\n *\n * @param childWin - Main window or child window reference.\n * @param [className] - Selector of elements to apply navigation on.\n * @example\n * applyMenuKeyboardNavigation(window, \".menu-item\");\n */\nexport const applyMenuKeyboardNavigation = (childWin: Window, className: string = \".menu-item\") => {\n\tlet selectedItem: number = 0;\n\n\tlet selectedIcon: number = -1;\n\n\tnew MutationObserver(() => {\n\t\t// Reset selectedIndex when elements added or removed\n\t\t// from the DOM. The motivation behind this was an issue\n\t\t// with Brad's search menu where the order of focus is\n\t\t// messed up when his list of result changes.\n\t\tselectedItem = 0;\n\t}).observe(childWin.document.body, {\n\t\tchildList: true,\n\t\tcharacterData: false,\n\t\tsubtree: true,\n\t});\n\n\t/**\n\t * Returns list of elements\n\t */\n\tconst getElements = () => childWin.document.querySelectorAll(className) as NodeListOf<HTMLElement>;\n\n\tconst getMenuItemIcons = (index: number) => {\n\t\tconst menuItems = getElements();\n\t\treturn menuItems[index].querySelectorAll(\".menu-item-icon\") as NodeListOf<HTMLElement>;\n\t};\n\n\t/**\n\t * Sets the focus on a menu item\n\t * @param index The index of the menu item in the list\n\t */\n\tconst focusOn = (index: number) => {\n\t\tconst menuItems = getElements();\n\n\t\t// Menu could have no items\n\t\tif (!menuItems.length) return;\n\n\t\t// Focus on element and scroll if needed\n\t\tmenuItems[index].focus();\n\t};\n\n\tconst focusOnFirst = () => {\n\t\tselectedItem = 0;\n\t\tselectedIcon = -1;\n\t\tfocusOn(0);\n\t};\n\n\tconst focusOnLast = () => {\n\t\tselectedIcon = -1;\n\t\tconst { length } = getElements();\n\t\tif (length) {\n\t\t\tselectedItem = length - 1;\n\t\t\tfocusOn(length - 1);\n\t\t}\n\t};\n\n\t/**\n\t * Sets the focus on a menu item's icon\n\t * @param index The index of the menu item in the list\n\t * @param iconIndex The index of the menu item's icon (-1 = menu text, not icon)\n\t */\n\tconst focusOnIcon = (index: number, iconIndex: number) => {\n\t\tconst menuItems = getElements();\n\t\t// Menu could have no items\n\t\tif (!menuItems.length) return;\n\n\t\tconst icons = getMenuItemIcons(index);\n\t\t// Defend against possible js runtime error\n\t\tif (icons.length <= iconIndex) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Focus on menu item text, if relevant\n\t\tif (iconIndex === -1) {\n\t\t\tmenuItems[index].focus();\n\t\t\treturn;\n\t\t}\n\n\t\ticons[iconIndex].focus();\n\t};\n\n\t/**\n\t * Simulates mouse events\n\t */\n\tconst clickOnItem = () => {\n\t\tconst elements = getElements();\n\t\tconst selectedItemElement = elements[selectedItem as any];\n\t\t[\"mousedown\", \"click\", \"mouseup\"].forEach((event) => {\n\t\t\tif (selectedIcon > -1) {\n\t\t\t\tconst icons = getMenuItemIcons(selectedItem as any);\n\t\t\t\tconst selectedIconElement = icons[selectedIcon as any];\n\t\t\t\tif (selectedIconElement) {\n\t\t\t\t\tselectedIconElement.dispatchEvent(\n\t\t\t\t\t\tnew MouseEvent(event, {\n\t\t\t\t\t\t\tview: childWin,\n\t\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\t\tcancelable: true,\n\t\t\t\t\t\t\tbuttons: 1,\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (selectedItemElement && selectedItemElement.dispatchEvent) {\n\t\t\t\tselectedItemElement.dispatchEvent(\n\t\t\t\t\tnew MouseEvent(event, {\n\t\t\t\t\t\tview: childWin,\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcancelable: true,\n\t\t\t\t\t\tbuttons: 1,\n\t\t\t\t\t})\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t};\n\n\t/**\n\t * Invoked when a user presses on the arrow up key\n\t */\n\tconst onArrowUp = () => {\n\t\tselectedIcon = -1;\n\n\t\t// Set the focus on the previous item\n\t\tselectedItem--;\n\t\tif (selectedItem < 0) {\n\t\t\t// If we are back to the begining\n\t\t\t// set the focus on last item\n\t\t\tfocusOnLast();\n\t\t\treturn;\n\t\t}\n\t\tfocusOn(selectedItem);\n\t};\n\n\t/**\n\t * Invoked when user press the arrow down key\n\t */\n\tconst onArrowDown = () => {\n\t\tselectedIcon = -1;\n\n\t\t// The the focus on the next item\n\t\tselectedItem++;\n\t\t// If we reached the end, then go back to first item\n\t\tif (selectedItem === getElements().length) {\n\t\t\tselectedItem = 0;\n\t\t}\n\t\tfocusOn(selectedItem);\n\t};\n\n\t/**\n\t * Invoked when user press the arrow right key\n\t */\n\tconst onArrowRight = () => {\n\t\tconst menuItems = getElements();\n\t\t// Menu could have no items\n\t\tif (!menuItems.length) return;\n\n\t\tconst icons = getMenuItemIcons(selectedItem);\n\t\tif (icons.length === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tselectedIcon++;\n\t\tif (selectedIcon === icons.length) {\n\t\t\tselectedIcon = -1;\n\t\t}\n\t\tfocusOnIcon(selectedItem, selectedIcon);\n\t};\n\n\t/**\n\t * Invoked when user press the arrow left key\n\t */\n\tconst onArrowLeft = () => {\n\t\tconst menuItems = getElements();\n\t\t// Menu could have no items\n\t\tif (!menuItems.length) return;\n\n\t\tconst icons = getMenuItemIcons(selectedItem);\n\t\tif (icons.length === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tselectedIcon--;\n\t\tif (selectedIcon === icons.length) {\n\t\t\tselectedIcon = -1;\n\t\t}\n\t\tfocusOnIcon(selectedItem, selectedIcon);\n\t};\n\n\tconst actionDictionary = {\n\t\tArrowDown: onArrowDown,\n\t\tArrowUp: onArrowUp,\n\t\tArrowLeft: onArrowLeft,\n\t\tArrowRight: onArrowRight,\n\t\tEnter: clickOnItem,\n\t\tHome: focusOnFirst,\n\t\tEnd: focusOnLast,\n\t};\n\n\tchildWin.addEventListener(\"keydown\", (e) => {\n\t\tconst { key } = e as KeyboardEvent;\n\n\t\tif (key in actionDictionary) {\n\t\t\tactionDictionary[key as keyof typeof actionDictionary]?.();\n\t\t\te.preventDefault();\n\t\t}\n\t});\n\n\tchildWin.addEventListener(\"blur\", focusOnFirst);\n\tchildWin.addEventListener(\"focus\", focusOnFirst);\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuContext.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menuContext.js","sourceRoot":"","sources":["../../../src/components/menu/menuContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAWtC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAkB,EAAqB,CAAC,CAAC","sourcesContent":["import { createContext } from \"react\";\n\ntype MenuContextType = {\n\tthisMenuId: string;\n\tclassName: string | undefined;\n\tmaxHeight: number;\n\tmenuWidth: number;\n\tmenuHeight: number | undefined;\n\tminHeight: number;\n};\n\n/**\n * We initialize our context with an empty object because we know that MenuShell will\n * properly initialize our context at runtime (during the first render). We cast () to MenuContextType\n * to avoid typescript errors for any consumers of the context object. Beware that if you get a runtime error\n * then someone has probably missed an initialization in MenuShell.\n */\nexport const MenuContext = createContext<MenuContextType>({} as MenuContextType);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuHelpers.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menuHelpers.js","sourceRoot":"","sources":["../../../src/components/menu/menuHelpers.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EACrC,MAAc,EACd,iBAA0B,EAIxB,EAAE;;IACJ,wGAAwG;IACxG,gHAAgH;IAChH,uGAAuG;IACvG,MAAM,aAAa,GAAiB,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAE,CAAC,YAAY,CAAC;IAE1G,oHAAoH;IACpH,4CAA4C;IAC5C,MAAM,EAAE,WAAW,EAAE,GAAW,MAAM,CAAC,MAAM,CAAC;IAE9C,2IAA2I;IAC3I,mEAAmE;IACnE,MAAM,QAAQ,GAAG,MAAA,MAAC,MAAM,CAAC,MAAc,0CAAE,QAAQ,mCAAI,CAAC,CAAC;IAEvD,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;IAClC,MAAM,iBAAiB,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,CAAC;IAE5E;;;MAGE;IACF,MAAM,QAAQ,GAAG,IAAI,MAAM,cAAc,CAAC;IAC1C,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,CAAC,UAAU,EAAE;QAChB,OAAO,CAAC,KAAK,CAAC,4CAA4C,QAAQ,GAAG,CAAC,CAAC;KACvE;IAED,mEAAmE;IACnE,gGAAgG;IAChG,MAAM,EAAE,CAAC,EAAE,WAAW,EAAE,GAAG,UAA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C,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAElD,OAAO;QACN,GAAG;QACH,IAAI;QACJ,MAAM,EAAE,WAAW;KACnB,CAAC;AACH,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,WAAmB,EAAQ,EAAE;IACtD,MAAM,EAAE,QAAQ,EAAE,GAAQ,QAAQ,CAAC,IAAI,CAAC;IACxC,MAAM,aAAa,GAAkB,EAAE,CAAC;IACxC,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE;QAC5B;;;UAGK;QACL,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,KAAK,MAAM,EAAE;YAC5E,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YAClD,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SAC/B;KACD;IACD,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9B,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Minimum portal height (chromium limitation)\nconst MIN_HEIGHT = 100;\n\n/**\n * Returns a drop down menu's position relative to the toolbar's current location and the\n * MenuToggle that was pressed. The dimensions returned are relative to the toolbar's\n * current monitor.\n * @param menuId The shell ID (e.g. filemenu)\n * @param menuContentHeight The height of menu contents.\n */\nexport const calculatePosition = async (\n\tmenuId: string,\n\tmenuContentHeight?: number\n): Promise<{\n\ttop: number;\n\tleft: number;\n}> => {\n\t// Rather than use window.innerHeight, we use the height of the document because Electron at times fails\n\t// to resize windows across monitors with different DPI scaling. We've worked around this by calling setShape()\n\t// to avoid a white bar at the bottom of the window, but the window DOM height is still the old height.\n\tconst toolbarHeight = (<HTMLElement>document.getElementsByClassName(\"finsemble-toolbar\")[0]).offsetHeight;\n\n\t// The monitor's available height and width is found in the window.screen object (just like Electron, less the space\n\t// taken up by the operating system toolbar)\n\tconst { availHeight }: Screen = window.screen;\n\n\t// Non-standard. Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features.\n\t// https://developer.mozilla.org/en-US/docs/Web/API/Screen/availTop\n\tconst availTop = (window.screen as any)?.availTop ?? 0;\n\n\tconst toolbarX = window.screenLeft;\n\tconst toolbarY = window.screenTop;\n\tconst spaceBelowToolbar = availHeight + availTop - toolbarY - toolbarHeight;\n\n\t/*\n\tGet a reference to the MenuToggle's element using querySelector to avoid having to pass\n\tReact ref all the way down here.\n\t*/\n\tconst selector = `#${menuId}-menu-toggle`;\n\tconst menuToggle = document.querySelector(selector);\n\tif (!menuToggle) {\n\t\tconsole.error(`calculatePosition() can't find selector \"${selector}\"`);\n\t}\n\n\t// Get the \"x\" coordinate of our toggle button *within* the toolbar\n\t// If for whatever reason the menuToggle can't be found, then default to an x coordinate of zero\n\tconst { x: menuToggleX } = menuToggle ? menuToggle.getBoundingClientRect() : { x: 0 };\n\n\tlet left = toolbarX + menuToggleX;\n\tlet top = toolbarY + toolbarHeight;\n\t/*\n\tCheck if we have enough space for the menu between\n\tthe toolbar and bottom edge of the screen. If not,\n\tthen reposition the menu to appear above toolbar.\n\t*/\n\tif (menuContentHeight) {\n\t\tconst menuHeight = Math.max(menuContentHeight, MIN_HEIGHT);\n\t\tif (menuHeight > spaceBelowToolbar) {\n\t\t\ttop = toolbarY - menuHeight;\n\t\t}\n\t}\n\n\treturn {\n\t\ttop,\n\t\tleft,\n\t};\n};\n\n/**\n * Calculates the height and position that a window should take based on the height necessary to display\n * the window's DOM contents without scrollbars, but not beyond the scope of the monitor itself.\n *\n * @param childWindow Window The window to calculate\n * @param menuId string The id of the menu, used for a CSS selector\n * @param [maxHeight] Maximum height for the window\n * @param [fixedHeight] Optional fixed height\n */\nexport const calculateDimensions = async (\n\tchildWindow: Window,\n\tmenuId: string,\n\tfixedHeight: number = 0,\n\tmaxHeight: number = Infinity,\n\tminHeight: number\n): Promise<{\n\ttop: number;\n\tleft: number;\n\theight: number;\n}> => {\n\t/* Content height is essentially the offsetHeight of the window's <html> element.\n\tThis seems more reliable than summing the heights of all body children.\n\t*/\n\tconst contentHeight = childWindow.document.documentElement.offsetHeight;\n\n\t/**\n\t * Calculate the actual menu height, constrained by maximum and minimum sizes.\n\t * Zero, null or undefined are invalid maximum heights.\n\t *\n\t * Chromium imposes a 100 pixel minimum on window height.\n\t */\n\tconst CHROMIUM_MIN_HEIGHT = minHeight ?? 0;\n\tconst minimumContentHeight = Math.max(contentHeight, CHROMIUM_MIN_HEIGHT);\n\tconst height = fixedHeight ? fixedHeight : Math.min(minimumContentHeight, maxHeight);\n\n\tconst { left, top } = await calculatePosition(menuId, height);\n\n\t// Final step, make sure the menu isn't larger than the screen itself\n\tconst { availHeight }: Screen = window.screen;\n\tconst finalHeight = Math.min(height, availHeight);\n\n\treturn {\n\t\ttop,\n\t\tleft,\n\t\theight: finalHeight,\n\t};\n};\n\n/**\n * Copy CSS elements from parent to child window. Portals operate in a new window which doesn't automatically\n * have access to the CSS from the main window, so we need to clone those elements into the menu's window\n * when it is created.\n * @param childWindow Child window reference\n */\nexport const injectCSS = (childWindow: Window): void => {\n\tconst { children }: any = document.head;\n\tconst styleElements: HTMLElement[] = [];\n\tfor (const item in children) {\n\t\t/** \n\t\t\twebpack's style-loader creates <style> tags but some versions will create <link> tags if CSS source maps are \n\t\t\tenabled (sourceMap), or if `injectType: linkTag` is configured.\n \t*/\n\t\tif (children[item].tagName === \"STYLE\" || children[item].tagName === \"LINK\") {\n\t\t\tconst newElement = children[item].cloneNode(true);\n\t\t\tstyleElements.push(newElement);\n\t\t}\n\t}\n\tstyleElements.forEach((item) => {\n\t\tchildWindow.document.head.append(item);\n\t});\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoNotifications.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"NoNotifications.js","sourceRoot":"","sources":["../../../../src/components/notifications/components/NoNotifications.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,eAAe,GAA4B,GAAG,EAAE,CAAC,CACtD,6BAAK,SAAS,EAAC,kBAAkB;IAChC,6DAAkC,CAC7B,CACN,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import React from \"react\";\n\nconst NoNotifications: React.FunctionComponent = () => (\n\t<div className=\"no-notifications\">\n\t\t<p>No notifications to display</p>\n\t</div>\n);\n\nexport default NoNotifications;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.js","sourceRoot":"","sources":["../../../../../src/components/notifications/components/drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,MAAM,GAAmC,CAAC,KAAY,EAAE,EAAE,CAAC,CAChE,6BAAK,EAAE,EAAC,QAAQ,EAAC,SAAS,EAAE,KAAK,CAAC,UAAU;IAC3C,6BAAK,SAAS,EAAC,kBAAkB,IAAE,KAAK,CAAC,QAAQ,CAAO,CACnD,CACN,CAAC;AAEF,eAAe,MAAM,CAAC","sourcesContent":["import React from \"react\";\n\ninterface Props {\n\tclassNames?: string;\n\tchildren?: React.ReactNode;\n}\n\nconst Drawer: React.FunctionComponent<Props> = (props: Props) => (\n\t<div id=\"drawer\" className={props.classNames}>\n\t\t<div className=\"drawer-container\">{props.children}</div>\n\t</div>\n);\n\nexport default Drawer;\n"]}
|