@finsemble/finsemble-ui 1.0.0-beta-1
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/LICENSE +1 -0
- package/README.md +28 -0
- package/index.d.ts +1 -0
- package/package.json +112 -0
- package/react/actions/favoriteActions.d.ts +21 -0
- package/react/actions/favoriteActions.js +9 -0
- package/react/actions/favoriteActions.js.map +1 -0
- package/react/actions/linkerActions.d.ts +48 -0
- package/react/actions/linkerActions.js +9 -0
- package/react/actions/linkerActions.js.map +1 -0
- package/react/actions/menuActions.d.ts +16 -0
- package/react/actions/menuActions.js +10 -0
- package/react/actions/menuActions.js.map +1 -0
- package/react/actions/rootActions.d.ts +9 -0
- package/react/actions/rootActions.js +3 -0
- package/react/actions/rootActions.js.map +1 -0
- package/react/actions/searchActions.d.ts +12 -0
- package/react/actions/searchActions.js +8 -0
- package/react/actions/searchActions.js.map +1 -0
- package/react/actions/smartDesktopDesignerActions.d.ts +45 -0
- package/react/actions/smartDesktopDesignerActions.js +23 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -0
- package/react/actions/toolbarActions.d.ts +61 -0
- package/react/actions/toolbarActions.js +25 -0
- package/react/actions/toolbarActions.js.map +1 -0
- package/react/actions/workspaceActions.d.ts +11 -0
- package/react/actions/workspaceActions.js +7 -0
- package/react/actions/workspaceActions.js.map +1 -0
- package/react/assets/css/advancedAppLauncher.css +639 -0
- package/react/assets/css/appCatalog.css +1064 -0
- package/react/assets/css/authentication.css +79 -0
- package/react/assets/css/button.css +213 -0
- package/react/assets/css/core/formElements.css +23 -0
- package/react/assets/css/core/icons.css +70 -0
- package/react/assets/css/core/notifications.css +75 -0
- package/react/assets/css/core/windowFrame.css +36 -0
- package/react/assets/css/dashbar.css +78 -0
- package/react/assets/css/defaultTheme.css +312 -0
- package/react/assets/css/dialogs.css +160 -0
- package/react/assets/css/favorites.css +56 -0
- package/react/assets/css/finsemble.css +41 -0
- package/react/assets/css/focus.css +4 -0
- package/react/assets/css/font-finance.css +498 -0
- package/react/assets/css/fonts/Open_Sans/LICENSE.txt +202 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Bold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-BoldItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Definition.css +118 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-ExtraBold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Italic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Light.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-LightItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Regular.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-SemiBold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf +0 -0
- package/react/assets/css/fonts/font-finance.eot +0 -0
- package/react/assets/css/fonts/font-finance.svg +124 -0
- package/react/assets/css/fonts/font-finance.ttf +0 -0
- package/react/assets/css/fonts/font-finance.woff +0 -0
- package/react/assets/css/fonts/icons-reference.html +1174 -0
- package/react/assets/css/linkerWindow.css +136 -0
- package/react/assets/css/menus.css +195 -0
- package/react/assets/css/notificationsCenter.css +613 -0
- package/react/assets/css/processMonitor.css +216 -0
- package/react/assets/css/search.css +128 -0
- package/react/assets/css/shared/animations.css +105 -0
- package/react/assets/css/shared/common.css +40 -0
- package/react/assets/css/tags.css +136 -0
- package/react/assets/css/toolbar.css +412 -0
- package/react/assets/css/userPreferences.css +576 -0
- package/react/assets/css/windowTitleBar.css +699 -0
- package/react/assets/icons/always-on-top.svg +20 -0
- package/react/assets/icons/caret.svg +7 -0
- package/react/assets/icons/check-square.svg +6 -0
- package/react/assets/icons/check.svg +4 -0
- package/react/assets/icons/chevron-left.svg +4 -0
- package/react/assets/icons/chevron-right.svg +4 -0
- package/react/assets/icons/close.svg +11 -0
- package/react/assets/icons/code-block.svg +15 -0
- package/react/assets/icons/copy.svg +11 -0
- package/react/assets/icons/documentation.svg +20 -0
- package/react/assets/icons/exclamation-circle.svg +5 -0
- package/react/assets/icons/external-link.svg +13 -0
- package/react/assets/icons/flag.svg +11 -0
- package/react/assets/icons/folder.svg +4 -0
- package/react/assets/icons/font.svg +4 -0
- package/react/assets/icons/globe.svg +4 -0
- package/react/assets/icons/group.png +0 -0
- package/react/assets/icons/hdd.svg +10 -0
- package/react/assets/icons/icon-copy.png +0 -0
- package/react/assets/icons/icons-app-manual.png +0 -0
- package/react/assets/icons/icons-app-native.png +0 -0
- package/react/assets/icons/icons-app-web.png +0 -0
- package/react/assets/icons/icons-app-wizard.png +0 -0
- package/react/assets/icons/icons-cancel.png +0 -0
- package/react/assets/icons/icons-confirm.png +0 -0
- package/react/assets/icons/icons-welcome-application.png +0 -0
- package/react/assets/icons/icons-welcome-export.png +0 -0
- package/react/assets/icons/icons-welcome-start.png +0 -0
- package/react/assets/icons/icons-welcome-theme.png +0 -0
- package/react/assets/icons/key.svg +11 -0
- package/react/assets/icons/life-ring.svg +4 -0
- package/react/assets/icons/linker.svg +18 -0
- package/react/assets/icons/lock.svg +6 -0
- package/react/assets/icons/magic.svg +16 -0
- package/react/assets/icons/maximize.svg +16 -0
- package/react/assets/icons/minimize.svg +15 -0
- package/react/assets/icons/moon.svg +11 -0
- package/react/assets/icons/paint-roller.svg +4 -0
- package/react/assets/icons/pencil.svg +11 -0
- package/react/assets/icons/plus.svg +4 -0
- package/react/assets/icons/question-circle.svg +6 -0
- package/react/assets/icons/search.svg +4 -0
- package/react/assets/icons/server.svg +26 -0
- package/react/assets/icons/sun.svg +10 -0
- package/react/assets/icons/times.svg +4 -0
- package/react/assets/icons/toggle-off.svg +7 -0
- package/react/assets/icons/toggle-on.svg +7 -0
- package/react/assets/icons/toolbar.svg +12 -0
- package/react/assets/icons/tools.svg +4 -0
- package/react/assets/icons/trash.svg +13 -0
- package/react/assets/icons/upload.svg +11 -0
- package/react/assets/icons/window.svg +4 -0
- package/react/assets/img/Finsemble_SystemTray_Icon.png +0 -0
- package/react/assets/img/Finsemble_Taskbar_Icon.png +0 -0
- package/react/assets/img/Finsemble_Toolbar_Icon.png +0 -0
- package/react/assets/img/cosaic-banner-100x20.png +0 -0
- package/react/assets/img/finsemble-display.png +0 -0
- package/react/assets/img/finsembleDarkBG_Solo@1.5x.png +0 -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 +14 -0
- package/react/components/FinsembleProvider.js +22 -0
- package/react/components/FinsembleProvider.js.map +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts +10 -0
- package/react/components/appCatalog/AppCatalog.js +25 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -0
- package/react/components/appCatalog/AppCatalogComponent.d.ts +82 -0
- package/react/components/appCatalog/AppCatalogComponent.js +304 -0
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -0
- package/react/components/appCatalog/components/AppCard.d.ts +51 -0
- package/react/components/appCatalog/components/AppCard.js +201 -0
- package/react/components/appCatalog/components/AppCard.js.map +1 -0
- package/react/components/appCatalog/components/AppList.d.ts +8 -0
- package/react/components/appCatalog/components/AppList.js +26 -0
- package/react/components/appCatalog/components/AppList.js.map +1 -0
- package/react/components/appCatalog/components/AppResults.d.ts +21 -0
- package/react/components/appCatalog/components/AppResults.js +72 -0
- package/react/components/appCatalog/components/AppResults.js.map +1 -0
- package/react/components/appCatalog/components/Carousel.d.ts +37 -0
- package/react/components/appCatalog/components/Carousel.js +127 -0
- package/react/components/appCatalog/components/Carousel.js.map +1 -0
- package/react/components/appCatalog/components/EmptyResults.d.ts +7 -0
- package/react/components/appCatalog/components/EmptyResults.js +13 -0
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -0
- package/react/components/appCatalog/components/Hero.d.ts +42 -0
- package/react/components/appCatalog/components/Hero.js +84 -0
- package/react/components/appCatalog/components/Hero.js.map +1 -0
- package/react/components/appCatalog/components/Home.d.ts +21 -0
- package/react/components/appCatalog/components/Home.js +29 -0
- package/react/components/appCatalog/components/Home.js.map +1 -0
- package/react/components/appCatalog/components/SearchBar.d.ts +57 -0
- package/react/components/appCatalog/components/SearchBar.js +108 -0
- package/react/components/appCatalog/components/SearchBar.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +11 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js +16 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +14 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +31 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +28 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +129 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -0
- package/react/components/appCatalog/components/Showcase/Header.js +58 -0
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +13 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +26 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -0
- package/react/components/appCatalog/components/Showcase/Modal.js +24 -0
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +9 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +19 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +11 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +27 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +9 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +22 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -0
- package/react/components/appCatalog/components/Showcase/defaults.js +4 -0
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -0
- 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 +11 -0
- package/react/components/appCatalog/components/Toast.js +39 -0
- package/react/components/appCatalog/components/Toast.js.map +1 -0
- package/react/components/appCatalog/components/helpers.d.ts +2 -0
- package/react/components/appCatalog/components/helpers.js +34 -0
- package/react/components/appCatalog/components/helpers.js.map +1 -0
- package/react/components/appCatalog/index.d.ts +1 -0
- package/react/components/appCatalog/index.js +2 -0
- package/react/components/appCatalog/index.js.map +1 -0
- package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -0
- package/react/components/appCatalog/modules/AppDirectory.js +11 -0
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -0
- package/react/components/appCatalog/modules/FDC3.d.ts +51 -0
- package/react/components/appCatalog/modules/FDC3.js +147 -0
- package/react/components/appCatalog/modules/FDC3.js.map +1 -0
- package/react/components/appCatalog/stores/appStore.d.ts +9 -0
- package/react/components/appCatalog/stores/appStore.js +47 -0
- package/react/components/appCatalog/stores/appStore.js.map +1 -0
- package/react/components/appCatalog/stores/storeActions.d.ts +145 -0
- package/react/components/appCatalog/stores/storeActions.js +424 -0
- package/react/components/appCatalog/stores/storeActions.js.map +1 -0
- 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 +33 -0
- package/react/components/common/Button.js +21 -0
- package/react/components/common/Button.js.map +1 -0
- package/react/components/common/ButtonIcon.d.ts +4 -0
- package/react/components/common/ButtonIcon.js +11 -0
- package/react/components/common/ButtonIcon.js.map +1 -0
- package/react/components/common/ButtonRow.d.ts +15 -0
- package/react/components/common/ButtonRow.js +32 -0
- package/react/components/common/ButtonRow.js.map +1 -0
- 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 +10 -0
- package/react/components/common/Checkbox.js +24 -0
- package/react/components/common/Checkbox.js.map +1 -0
- 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/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 +14 -0
- package/react/components/common/DropdownButton.js +37 -0
- package/react/components/common/DropdownButton.js.map +1 -0
- package/react/components/common/ErrorBoundary.d.ts +34 -0
- package/react/components/common/ErrorBoundary.js +43 -0
- package/react/components/common/ErrorBoundary.js.map +1 -0
- package/react/components/common/FileInput.d.ts +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 +20 -0
- package/react/components/common/FinsembleIcon.js +143 -0
- package/react/components/common/FinsembleIcon.js.map +1 -0
- package/react/components/common/FinsembleLink.d.ts +6 -0
- package/react/components/common/FinsembleLink.js +12 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/FinsembleSelect.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 +9 -0
- package/react/components/common/FinsembleToggle.js +23 -0
- package/react/components/common/FinsembleToggle.js.map +1 -0
- package/react/components/common/FinsembleToggleButtonBar.d.ts +13 -0
- package/react/components/common/FinsembleToggleButtonBar.js +44 -0
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -0
- package/react/components/common/Header.d.ts +12 -0
- package/react/components/common/Header.js +19 -0
- package/react/components/common/Header.js.map +1 -0
- 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 +16 -0
- package/react/components/common/TimeSelect.js +174 -0
- package/react/components/common/TimeSelect.js.map +1 -0
- 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 +22 -0
- package/react/components/common/css/accordion.css +100 -0
- package/react/components/common/css/application-edit-page.css +330 -0
- package/react/components/common/css/application-list.css +53 -0
- package/react/components/common/css/button.css +171 -0
- package/react/components/common/css/checkbox.css +30 -0
- package/react/components/common/css/color-picker.css +52 -0
- package/react/components/common/css/drop-zone.css +13 -0
- package/react/components/common/css/file-input.css +65 -0
- package/react/components/common/css/header.css +31 -0
- package/react/components/common/css/icon.css +13 -0
- package/react/components/common/css/image-preview.css +57 -0
- package/react/components/common/css/loading-spinner.css +34 -0
- package/react/components/common/css/preload-edit-page.css +37 -0
- package/react/components/common/css/selector.css +51 -0
- package/react/components/common/css/styles.css +133 -0
- package/react/components/common/css/tab.css +56 -0
- package/react/components/common/css/time-select.css +9 -0
- package/react/components/common/css/toggle.css +60 -0
- package/react/components/common/css/tooltip.css +77 -0
- 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/fixtures/FinsembleIcon.css +4 -0
- package/react/components/common/helpers.d.ts +5 -0
- package/react/components/common/helpers.js +127 -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/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 +41 -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 +36 -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/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/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 +16 -0
- package/react/components/favorites/FavoriteMaker.js +40 -0
- package/react/components/favorites/FavoriteMaker.js.map +1 -0
- package/react/components/favorites/FavoritesShell.d.ts +7 -0
- package/react/components/favorites/FavoritesShell.js +41 -0
- package/react/components/favorites/FavoritesShell.js.map +1 -0
- 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 +2 -0
- package/react/components/fdc3Resolver/ResolverContainer.js +52 -0
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.css +139 -0
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +19 -0
- package/react/components/fdc3Resolver/ResolverDialog.js +71 -0
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -0
- 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 +22 -0
- package/react/components/icon/Icon.js +101 -0
- package/react/components/icon/Icon.js.map +1 -0
- package/react/components/icon/index.d.ts +1 -0
- package/react/components/icon/index.js +2 -0
- package/react/components/icon/index.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialog.d.ts +18 -0
- package/react/components/legacyControls/FinsembleDialog.js +57 -0
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +15 -0
- package/react/components/legacyControls/FinsembleDialogButton.js +17 -0
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +13 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js +17 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +20 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -0
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +45 -0
- package/react/components/legacyControls/FinsembleDnDContext.js +293 -0
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -0
- package/react/components/legacyControls/FinsembleDraggable.d.ts +14 -0
- package/react/components/legacyControls/FinsembleDraggable.js +22 -0
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -0
- 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 +6 -0
- package/react/components/linker/LinkerMenu.js +129 -0
- package/react/components/linker/LinkerMenu.js.map +1 -0
- package/react/components/linker/LinkerMenuDeprecated.d.ts +7 -0
- package/react/components/linker/LinkerMenuDeprecated.js +38 -0
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -0
- package/react/components/linker/index.d.ts +1 -0
- package/react/components/linker/index.js +2 -0
- package/react/components/linker/index.js.map +1 -0
- package/react/components/linker/remoteRedux.d.ts +12 -0
- package/react/components/linker/remoteRedux.js +21 -0
- package/react/components/linker/remoteRedux.js.map +1 -0
- package/react/components/menu/Menu.d.ts +28 -0
- package/react/components/menu/Menu.js +26 -0
- package/react/components/menu/Menu.js.map +1 -0
- package/react/components/menu/MenuAutoResizer.d.ts +18 -0
- package/react/components/menu/MenuAutoResizer.js +67 -0
- package/react/components/menu/MenuAutoResizer.js.map +1 -0
- package/react/components/menu/MenuContent.d.ts +8 -0
- package/react/components/menu/MenuContent.js +15 -0
- package/react/components/menu/MenuContent.js.map +1 -0
- package/react/components/menu/MenuHotKey.d.ts +19 -0
- package/react/components/menu/MenuHotKey.js +35 -0
- package/react/components/menu/MenuHotKey.js.map +1 -0
- package/react/components/menu/MenuItem.d.ts +16 -0
- package/react/components/menu/MenuItem.js +22 -0
- package/react/components/menu/MenuItem.js.map +1 -0
- package/react/components/menu/MenuPortal.d.ts +4 -0
- package/react/components/menu/MenuPortal.js +242 -0
- package/react/components/menu/MenuPortal.js.map +1 -0
- package/react/components/menu/MenuShell.d.ts +30 -0
- package/react/components/menu/MenuShell.js +48 -0
- package/react/components/menu/MenuShell.js.map +1 -0
- package/react/components/menu/MenuToggle.d.ts +5 -0
- package/react/components/menu/MenuToggle.js +19 -0
- package/react/components/menu/MenuToggle.js.map +1 -0
- package/react/components/menu/index.d.ts +5 -0
- package/react/components/menu/index.js +6 -0
- package/react/components/menu/index.js.map +1 -0
- package/react/components/menu/keyboardNavigation.d.ts +13 -0
- package/react/components/menu/keyboardNavigation.js +196 -0
- package/react/components/menu/keyboardNavigation.js.map +1 -0
- package/react/components/menu/menuContext.d.ts +17 -0
- package/react/components/menu/menuContext.js +9 -0
- package/react/components/menu/menuContext.js.map +1 -0
- package/react/components/menu/menuHelpers.d.ts +32 -0
- package/react/components/menu/menuHelpers.js +111 -0
- package/react/components/menu/menuHelpers.js.map +1 -0
- package/react/components/notifications/components/NoNotifications.d.ts +3 -0
- package/react/components/notifications/components/NoNotifications.js +5 -0
- package/react/components/notifications/components/NoNotifications.js.map +1 -0
- package/react/components/notifications/components/drawer/Drawer.d.ts +7 -0
- package/react/components/notifications/components/drawer/Drawer.js +5 -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 +4 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +402 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +162 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -0
- package/react/components/notifications/components/shared/CheckButton.d.ts +7 -0
- package/react/components/notifications/components/shared/CheckButton.js +39 -0
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -0
- package/react/components/notifications/components/shared/IconButton.d.ts +10 -0
- package/react/components/notifications/components/shared/IconButton.js +10 -0
- package/react/components/notifications/components/shared/IconButton.js.map +1 -0
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +19 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js +87 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -0
- package/react/components/notifications/components/shared/OverflowMenu.d.ts +16 -0
- package/react/components/notifications/components/shared/OverflowMenu.js +114 -0
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +32 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +14 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +9 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +66 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +8 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +9 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +19 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -0
- 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 +150 -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 +9 -0
- package/react/components/notifications/constants.js +12 -0
- package/react/components/notifications/constants.js.map +1 -0
- 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 +2 -0
- package/react/components/notifications/icons/EnvelopeClose.js +12 -0
- package/react/components/notifications/icons/EnvelopeClose.js.map +1 -0
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -0
- package/react/components/notifications/icons/EnvelopeOpen.js +11 -0
- package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -0
- package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -0
- package/react/components/notifications/icons/SnoozeIcon.js +13 -0
- package/react/components/notifications/icons/SnoozeIcon.js.map +1 -0
- package/react/components/notifications/index.d.ts +8 -0
- package/react/components/notifications/index.js +9 -0
- package/react/components/notifications/index.js.map +1 -0
- package/react/components/notifications/notificationsContext.d.ts +7 -0
- package/react/components/notifications/notificationsContext.js +7 -0
- package/react/components/notifications/notificationsContext.js.map +1 -0
- package/react/components/notifications/types.d.ts +91 -0
- package/react/components/notifications/types.js +2 -0
- package/react/components/notifications/types.js.map +1 -0
- package/react/components/notifications/utils.d.ts +16 -0
- package/react/components/notifications/utils.js +71 -0
- package/react/components/notifications/utils.js.map +1 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts +6 -0
- package/react/components/processMonitor/ProcessMonitor.js +101 -0
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -0
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +26 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js +6 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -0
- package/react/components/processMonitor/components/ChildWindow.d.ts +14 -0
- package/react/components/processMonitor/components/ChildWindow.js +40 -0
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -0
- package/react/components/processMonitor/components/ListHeader.d.ts +24 -0
- package/react/components/processMonitor/components/ListHeader.js +54 -0
- package/react/components/processMonitor/components/ListHeader.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +12 -0
- package/react/components/processMonitor/components/ProcessStatistics.js +67 -0
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -0
- package/react/components/processMonitor/constants.d.ts +9 -0
- package/react/components/processMonitor/constants.js +30 -0
- package/react/components/processMonitor/constants.js.map +1 -0
- package/react/components/processMonitor/helpers.d.ts +18 -0
- package/react/components/processMonitor/helpers.js +56 -0
- package/react/components/processMonitor/helpers.js.map +1 -0
- 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 +1 -0
- package/react/components/processMonitor/index.js +2 -0
- package/react/components/processMonitor/index.js.map +1 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +62 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +291 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -0
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -0
- package/react/components/quickComponentForm/QuickComponentForm.js +114 -0
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -0
- package/react/components/quickComponentForm/index.d.ts +1 -0
- package/react/components/quickComponentForm/index.js +2 -0
- package/react/components/quickComponentForm/index.js.map +1 -0
- package/react/components/quickComponentForm/quickComponent.css +3 -0
- package/react/components/sdd/AddApp.d.ts +17 -0
- package/react/components/sdd/AddApp.js +170 -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 +428 -0
- package/react/components/sdd/AppEditPage.js.map +1 -0
- package/react/components/sdd/Appearance.css +35 -0
- package/react/components/sdd/Appearance.d.ts +30 -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.css +26 -0
- package/react/components/sdd/AssetsPage.d.ts +27 -0
- package/react/components/sdd/AssetsPage.js +56 -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 +8 -0
- package/react/components/sdd/Content.js +7 -0
- package/react/components/sdd/Content.js.map +1 -0
- 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 +17 -0
- package/react/components/sdd/Export.js +65 -0
- package/react/components/sdd/Export.js.map +1 -0
- package/react/components/sdd/ExportCloud.d.ts +6 -0
- package/react/components/sdd/ExportCloud.js +38 -0
- package/react/components/sdd/ExportCloud.js.map +1 -0
- package/react/components/sdd/ExportDeployInfo.d.ts +2 -0
- package/react/components/sdd/ExportDeployInfo.js +18 -0
- package/react/components/sdd/ExportDeployInfo.js.map +1 -0
- package/react/components/sdd/ExportZip.d.ts +6 -0
- package/react/components/sdd/ExportZip.js +48 -0
- package/react/components/sdd/ExportZip.js.map +1 -0
- package/react/components/sdd/GettingStarted.d.ts +8 -0
- package/react/components/sdd/GettingStarted.js +25 -0
- package/react/components/sdd/GettingStarted.js.map +1 -0
- 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 +61 -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 +11 -0
- package/react/components/sdd/ProjectErrors.js +25 -0
- package/react/components/sdd/ProjectErrors.js.map +1 -0
- package/react/components/sdd/Publish.d.ts +8 -0
- package/react/components/sdd/Publish.js +112 -0
- package/react/components/sdd/Publish.js.map +1 -0
- package/react/components/sdd/PublishProgress.d.ts +9 -0
- package/react/components/sdd/PublishProgress.js +24 -0
- package/react/components/sdd/PublishProgress.js.map +1 -0
- package/react/components/sdd/SmartDesktopDesigner.d.ts +30 -0
- package/react/components/sdd/SmartDesktopDesigner.js +142 -0
- package/react/components/sdd/SmartDesktopDesigner.js.map +1 -0
- package/react/components/sdd/ThemePage.css +92 -0
- 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 +27 -0
- package/react/components/sdd/Themes.js +62 -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 +8 -0
- package/react/components/sdd/View.js +7 -0
- package/react/components/sdd/View.js.map +1 -0
- 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 +205 -0
- package/react/components/sdd/common/views.js.map +1 -0
- package/react/components/sdd/css/addApp.css +65 -0
- package/react/components/sdd/css/appearance.css +27 -0
- package/react/components/sdd/css/applications.css +160 -0
- package/react/components/sdd/css/authentication.css +124 -0
- package/react/components/sdd/css/buttons.css +12 -0
- package/react/components/sdd/css/export.css +178 -0
- package/react/components/sdd/css/getting-started.css +28 -0
- package/react/components/sdd/css/nav.css +117 -0
- package/react/components/sdd/css/project-errors.css +15 -0
- package/react/components/sdd/css/project-header.css +122 -0
- package/react/components/sdd/css/styles.css +184 -0
- package/react/components/sdd/css/views.css +23 -0
- 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 +30 -0
- package/react/components/sdd/fixtures/themeProps.js +33 -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 +87 -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 +466 -0
- package/react/components/sdd/smartDesktopClient.js +906 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/smartDesktopClient.spec.d.ts +1 -0
- package/react/components/sdd/smartDesktopClient.spec.js +64 -0
- package/react/components/sdd/smartDesktopClient.spec.js.map +1 -0
- package/react/components/sdd/stories/AddApp.stories.d.ts +11 -0
- package/react/components/sdd/stories/AddApp.stories.js +26 -0
- package/react/components/sdd/stories/AddApp.stories.js.map +1 -0
- package/react/components/sdd/stories/AppEditPage.stories.d.ts +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 +39 -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 +40 -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/GettingStarted.stories.d.ts +11 -0
- package/react/components/sdd/stories/GettingStarted.stories.js +18 -0
- package/react/components/sdd/stories/GettingStarted.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 +50 -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 +53 -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 +133 -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 +1236 -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 +115 -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 +25 -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 +286 -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 +58 -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 +12 -0
- package/react/components/search/Highlight.js +40 -0
- package/react/components/search/Highlight.js.map +1 -0
- 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 +5 -0
- package/react/components/search/Search.js +28 -0
- package/react/components/search/Search.js.map +1 -0
- package/react/components/search/SearchBestMatch.d.ts +6 -0
- package/react/components/search/SearchBestMatch.js +39 -0
- package/react/components/search/SearchBestMatch.js.map +1 -0
- package/react/components/search/SearchInput.d.ts +7 -0
- package/react/components/search/SearchInput.js +29 -0
- package/react/components/search/SearchInput.js.map +1 -0
- package/react/components/search/SearchProviderResults.d.ts +7 -0
- package/react/components/search/SearchProviderResults.js +26 -0
- package/react/components/search/SearchProviderResults.js.map +1 -0
- package/react/components/search/SearchResult.d.ts +14 -0
- package/react/components/search/SearchResult.js +47 -0
- package/react/components/search/SearchResult.js.map +1 -0
- 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 +3 -0
- package/react/components/search/SearchResults.js +22 -0
- package/react/components/search/SearchResults.js.map +1 -0
- 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 +1 -0
- package/react/components/search/index.js +2 -0
- package/react/components/search/index.js.map +1 -0
- 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 +3 -0
- package/react/components/shared/BellIcon.js +8 -0
- package/react/components/shared/BellIcon.js.map +1 -0
- package/react/components/shared/BellIconCrossed.d.ts +3 -0
- package/react/components/shared/BellIconCrossed.js +10 -0
- package/react/components/shared/BellIconCrossed.js.map +1 -0
- package/react/components/shared/Button.d.ts +9 -0
- package/react/components/shared/Button.js +6 -0
- package/react/components/shared/Button.js.map +1 -0
- package/react/components/shared/ConditionalWrapper.d.ts +8 -0
- package/react/components/shared/ConditionalWrapper.js +6 -0
- package/react/components/shared/ConditionalWrapper.js.map +1 -0
- package/react/components/shared/DefaultDropdownButton.d.ts +18 -0
- package/react/components/shared/DefaultDropdownButton.js +118 -0
- package/react/components/shared/DefaultDropdownButton.js.map +1 -0
- 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 +8 -0
- package/react/components/shared/Tag.js +23 -0
- package/react/components/shared/Tag.js.map +1 -0
- package/react/components/shared/TagsMenu.d.ts +36 -0
- package/react/components/shared/TagsMenu.js +78 -0
- package/react/components/shared/TagsMenu.js.map +1 -0
- package/react/components/shared/addProtocolToValidURL.d.ts +7 -0
- package/react/components/shared/addProtocolToValidURL.js +12 -0
- package/react/components/shared/addProtocolToValidURL.js.map +1 -0
- 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 +1 -0
- package/react/components/shared/openQuitConfirmationDialog.js +17 -0
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -0
- 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 +19 -0
- package/react/components/shared/validateURL.js +30 -0
- package/react/components/shared/validateURL.js.map +1 -0
- 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.css +3 -0
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +8 -0
- package/react/components/singleInputDialog/SingleInputDialog.js +130 -0
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -0
- 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 +1 -0
- package/react/components/singleInputDialog/index.js +2 -0
- package/react/components/singleInputDialog/index.js.map +1 -0
- 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 +30 -0
- package/react/components/system/System.js +53 -0
- package/react/components/system/System.js.map +1 -0
- 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 +10 -0
- package/react/components/system/SystemTrayComponentShell.js +29 -0
- package/react/components/system/SystemTrayComponentShell.js.map +1 -0
- package/react/components/system/index.d.ts +2 -0
- package/react/components/system/index.js +3 -0
- package/react/components/system/index.js.map +1 -0
- package/react/components/toolbar/AutoArrange.d.ts +9 -0
- package/react/components/toolbar/AutoArrange.js +36 -0
- package/react/components/toolbar/AutoArrange.js.map +1 -0
- 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 +11 -0
- package/react/components/toolbar/DragHandle.js +43 -0
- package/react/components/toolbar/DragHandle.js.map +1 -0
- 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 +8 -0
- package/react/components/toolbar/MinimizeAll.js +25 -0
- package/react/components/toolbar/MinimizeAll.js.map +1 -0
- 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 +9 -0
- package/react/components/toolbar/NotificationControl.js +65 -0
- package/react/components/toolbar/NotificationControl.js.map +1 -0
- package/react/components/toolbar/RevealAll.d.ts +8 -0
- package/react/components/toolbar/RevealAll.js +27 -0
- package/react/components/toolbar/RevealAll.js.map +1 -0
- 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 +6 -0
- package/react/components/toolbar/SddButton.js +27 -0
- package/react/components/toolbar/SddButton.js.map +1 -0
- package/react/components/toolbar/ToolbarIcon.d.ts +6 -0
- package/react/components/toolbar/ToolbarIcon.js +32 -0
- package/react/components/toolbar/ToolbarIcon.js.map +1 -0
- package/react/components/toolbar/ToolbarSection.d.ts +16 -0
- package/react/components/toolbar/ToolbarSection.js +42 -0
- package/react/components/toolbar/ToolbarSection.js.map +1 -0
- package/react/components/toolbar/ToolbarShell.d.ts +14 -0
- package/react/components/toolbar/ToolbarShell.js +23 -0
- package/react/components/toolbar/ToolbarShell.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +40 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +93 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +31 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +92 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +277 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +10 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js +16 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +56 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +175 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +34 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +56 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts +16 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js +44 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +38 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +171 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +21 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js +65 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +59 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +299 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +103 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts +11 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js +10 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts +18 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js +58 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts +13 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js +38 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +19 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js +39 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -0
- 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 +8 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js +27 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +8 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js +11 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +55 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js +146 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js +20 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts +96 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +532 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +18 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js +36 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +43 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +38 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +57 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/appLauncher/appLauncher.css +30 -0
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +41 -0
- package/react/components/toolbar/appLauncher/components/componentList.js +153 -0
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +262 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -0
- package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -0
- package/react/components/toolbar/dashbar/Dashbar.js +366 -0
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -0
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -0
- package/react/components/toolbar/dashbar/DashbarItem.js +38 -0
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -0
- package/react/components/toolbar/index.d.ts +15 -0
- package/react/components/toolbar/index.js +16 -0
- package/react/components/toolbar/index.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +38 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +69 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +44 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +73 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +44 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +74 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +22 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +31 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +147 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +722 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +80 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +15 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js +7 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -0
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -0
- package/react/components/userPreferences/UserPreferenceTypes.js +2 -0
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -0
- package/react/components/userPreferences/UserPreferences.d.ts +17 -0
- package/react/components/userPreferences/UserPreferences.js +25 -0
- package/react/components/userPreferences/UserPreferences.js.map +1 -0
- package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -0
- package/react/components/userPreferences/UserPreferencesBase.js +46 -0
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -0
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -0
- package/react/components/userPreferences/UserPreferencesWrapper.js +27 -0
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -0
- package/react/components/userPreferences/components/ContentSection.d.ts +25 -0
- package/react/components/userPreferences/components/ContentSection.js +26 -0
- package/react/components/userPreferences/components/ContentSection.js.map +1 -0
- package/react/components/userPreferences/components/LeftNav.d.ts +27 -0
- package/react/components/userPreferences/components/LeftNav.js +64 -0
- package/react/components/userPreferences/components/LeftNav.js.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +22 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js +132 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.js +11 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -0
- package/react/components/userPreferences/components/content/General.d.ts +8 -0
- package/react/components/userPreferences/components/content/General.js +32 -0
- package/react/components/userPreferences/components/content/General.js.map +1 -0
- package/react/components/userPreferences/components/content/Notifications.d.ts +11 -0
- package/react/components/userPreferences/components/content/Notifications.js +36 -0
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -0
- package/react/components/userPreferences/components/content/Workspaces.d.ts +83 -0
- package/react/components/userPreferences/components/content/Workspaces.js +507 -0
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +214 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +5 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +2 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +35 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -0
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -0
- package/react/components/userPreferences/components/general/ScheduledClose.js +116 -0
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +9 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +11 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +45 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +107 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +21 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -0
- package/react/components/userPreferences/index.d.ts +5 -0
- package/react/components/userPreferences/index.js +6 -0
- package/react/components/userPreferences/index.js.map +1 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +33 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -0
- 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 +40 -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 +42 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js.map +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.js +139 -0
- package/react/components/userPreferences/tests/Workspace.spec.js.map +1 -0
- package/react/components/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 +2 -0
- package/react/components/utils.js +6 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +196 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js +756 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -0
- 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 +96 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +59 -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 +26 -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 +25 -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 +377 -0
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -0
- package/react/components/windowTitleBar/index.d.ts +9 -0
- package/react/components/windowTitleBar/index.js +10 -0
- package/react/components/windowTitleBar/index.js.map +1 -0
- 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.css +3 -0
- package/react/components/yesNoDialog/YesNoDialog.d.ts +7 -0
- package/react/components/yesNoDialog/YesNoDialog.js +162 -0
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -0
- 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 +1 -0
- package/react/components/yesNoDialog/index.js +2 -0
- package/react/components/yesNoDialog/index.js.map +1 -0
- package/react/components/yesNoDialog/timer.d.ts +16 -0
- package/react/components/yesNoDialog/timer.js +32 -0
- package/react/components/yesNoDialog/timer.js.map +1 -0
- 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 +2 -0
- package/react/hooks/index.js +3 -0
- package/react/hooks/index.js.map +1 -0
- package/react/hooks/useAuth.d.ts +10 -0
- package/react/hooks/useAuth.js +26 -0
- package/react/hooks/useAuth.js.map +1 -0
- package/react/hooks/useDashbar.d.ts +8 -0
- package/react/hooks/useDashbar.js +114 -0
- package/react/hooks/useDashbar.js.map +1 -0
- package/react/hooks/useDeepEffect.d.ts +5 -0
- package/react/hooks/useDeepEffect.js +34 -0
- package/react/hooks/useDeepEffect.js.map +1 -0
- package/react/hooks/useFavorites.d.ts +24 -0
- package/react/hooks/useFavorites.js +24 -0
- package/react/hooks/useFavorites.js.map +1 -0
- package/react/hooks/useFavoritesShell.d.ts +14 -0
- package/react/hooks/useFavoritesShell.js +78 -0
- package/react/hooks/useFavoritesShell.js.map +1 -0
- package/react/hooks/useHotkey.d.ts +8 -0
- package/react/hooks/useHotkey.js +22 -0
- package/react/hooks/useHotkey.js.map +1 -0
- package/react/hooks/useLinker.d.ts +4 -0
- package/react/hooks/useLinker.js +110 -0
- package/react/hooks/useLinker.js.map +1 -0
- package/react/hooks/useMenu.d.ts +39 -0
- package/react/hooks/useMenu.js +50 -0
- package/react/hooks/useMenu.js.map +1 -0
- package/react/hooks/useNotifications.d.ts +80 -0
- package/react/hooks/useNotifications.js +389 -0
- package/react/hooks/useNotifications.js.map +1 -0
- package/react/hooks/useOutsideClickDetector.d.ts +5 -0
- package/react/hooks/useOutsideClickDetector.js +18 -0
- package/react/hooks/useOutsideClickDetector.js.map +1 -0
- package/react/hooks/usePubSub.d.ts +21 -0
- package/react/hooks/usePubSub.js +38 -0
- package/react/hooks/usePubSub.js.map +1 -0
- package/react/hooks/useSearch.d.ts +15 -0
- package/react/hooks/useSearch.js +73 -0
- package/react/hooks/useSearch.js.map +1 -0
- package/react/hooks/useToolbar.d.ts +10 -0
- package/react/hooks/useToolbar.js +151 -0
- package/react/hooks/useToolbar.js.map +1 -0
- package/react/reducers/favoriteReducer.d.ts +11 -0
- package/react/reducers/favoriteReducer.js +28 -0
- package/react/reducers/favoriteReducer.js.map +1 -0
- package/react/reducers/linkerReducer.d.ts +13 -0
- package/react/reducers/linkerReducer.js +44 -0
- package/react/reducers/linkerReducer.js.map +1 -0
- package/react/reducers/menuReducer.d.ts +36 -0
- package/react/reducers/menuReducer.js +66 -0
- package/react/reducers/menuReducer.js.map +1 -0
- package/react/reducers/rootReducer.d.ts +219 -0
- package/react/reducers/rootReducer.js +21 -0
- package/react/reducers/rootReducer.js.map +1 -0
- package/react/reducers/searchReducer.d.ts +15 -0
- package/react/reducers/searchReducer.js +28 -0
- package/react/reducers/searchReducer.js.map +1 -0
- package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -0
- package/react/reducers/smartDesktopDesignerReducer.js +170 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -0
- package/react/reducers/toolbarReducer.d.ts +10 -0
- package/react/reducers/toolbarReducer.js +30 -0
- package/react/reducers/toolbarReducer.js.map +1 -0
- package/react/reducers/workspaceReducer.d.ts +10 -0
- package/react/reducers/workspaceReducer.js +27 -0
- package/react/reducers/workspaceReducer.js.map +1 -0
- package/react/store.d.ts +418 -0
- package/react/store.js +24 -0
- package/react/store.js.map +1 -0
- package/react/tsconfig.tsbuildinfo +1 -0
- package/react/types/advancedAppLauncherTypes.d.ts +46 -0
- package/react/types/advancedAppLauncherTypes.js +2 -0
- package/react/types/advancedAppLauncherTypes.js.map +1 -0
- package/react/types/dashbarTypes.d.ts +39 -0
- package/react/types/dashbarTypes.js +2 -0
- package/react/types/dashbarTypes.js.map +1 -0
- package/react/types/favoriteTypes.d.ts +10 -0
- package/react/types/favoriteTypes.js +2 -0
- package/react/types/favoriteTypes.js.map +1 -0
- package/react/types/fdc3.d.ts +35 -0
- package/react/types/fdc3.js +7 -0
- package/react/types/fdc3.js.map +1 -0
- package/react/types/hotkeyTypes.d.ts +1 -0
- package/react/types/hotkeyTypes.js +2 -0
- package/react/types/hotkeyTypes.js.map +1 -0
- package/react/types/linkerTypes.d.ts +27 -0
- package/react/types/linkerTypes.js +3 -0
- package/react/types/linkerTypes.js.map +1 -0
- package/react/types/smartDesktopDesignerTypes.d.ts +182 -0
- package/react/types/smartDesktopDesignerTypes.js +20 -0
- package/react/types/smartDesktopDesignerTypes.js.map +1 -0
- 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 +30 -0
- package/react/types/workspaceTypes.js +2 -0
- package/react/types/workspaceTypes.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashbar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E,kBAAkB,EACtC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAEpB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1C,oBAAC,WAAW,IACX,GAAG,EAAE,CAAC,EACN,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAC3B,KAAK,EAAE,CAAC,EACR,oBAAoB,EAAE,cAAc,EACpC,MAAM,EAAE,MAAqB,EAC7B,aAAa,EAAE,OAAO,CAAC,MAAM,EAC7B,kBAAkB,EAAE,kBAAkB,EACtC,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,GAC/B,CACF,CAAC,CACmB,CACtB;QACA,YAAY,KAAK,CAAC,IAAI,CACtB,6BAAK,SAAS,EAAC,yBAAyB,EAAC,OAAO,EAAE,aAAa;YAC9D;gBACC,2BAAG,SAAS,EAAC,SAAS,GAAK,CACrB,CACF,CACN;QACA,QAAQ,CACJ,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { DashbarItem } from \"./DashbarItem\";\nimport { Dashbar as DashbarType, DashbarItem as DashbarItemType, DashbarView } from \"../../../types/dashbarTypes\";\nimport { useDashbar } from \"../../../hooks/useDashbar\";\nimport { useToolbar } from \"../../../hooks/useToolbar\";\nimport { FinsembleDnDContext, AllowableDnDAxis } from \"../../legacyControls/FinsembleDnDContext\";\nimport clone from \"lodash/cloneDeep\";\n\nimport \"../../../assets/css/dashbar.css\";\n\ntype DashbarViews = {\n\t[key: string]: DashbarView;\n} & {};\n\nlet cachedWidgetTop: number;\nlet cachedWidgetHeight: number;\n\nexport const Dashbar = ({ className, children, widgetTitleGenerator }: DashbarType) => {\n\tconst { dashbarItems, reorderDashbarItems } = useDashbar();\n\tconst { launchPreferences } = useToolbar();\n\n\tconst [widgets, setWidgets] = useState({});\n\tconst [horizontalBounds, setHorizontalBounds] = useState(0);\n\tconst [wasReorganized, setReorganized] = useState(false);\n\tconst [totalWidgetsWidth, setTotalWidgetsWidth] = useState(0);\n\tconst [isUpdatingState, setIsUpdatingState] = useState(false);\n\tconst [secondUpdateRequired, setSecondUpdateRequired] = useState(false);\n\n\tlet movingIndex: number | null = null; // The dashbarItem index being dragged, null if none\n\tlet titleGrabPosition: number | null = null; // The mouse of event when a widget title is dragged\n\tlet offsetX: number | null = null; // The original grab location of a given view titlebar\n\n\tconst WIDGET_COUNT: number = Object.keys(widgets).length;\n\tconst SCROLL_BUTTON_DEFAULT_WIDTH = 30;\n\n\tconst defaultWidgetTitleGenerator = (widget: DashbarView, titleRef: React.MutableRefObject<null>) => {\n\t\tconst handleWidgetTitleClick = () => {\n\t\t\tif (widget.raiseIntentOptions) {\n\t\t\t\tfdc3.raiseIntent(\n\t\t\t\t\twidget.raiseIntentOptions.intent,\n\t\t\t\t\twidget.raiseIntentOptions.context,\n\t\t\t\t\twidget.raiseIntentOptions.targetApp\n\t\t\t\t);\n\t\t\t}\n\t\t};\n\n\t\treturn (\n\t\t\t<div ref={titleRef} onClick={() => handleWidgetTitleClick()}>\n\t\t\t\t<span dangerouslySetInnerHTML={{ __html: widget.title }}></span>\n\t\t\t</div>\n\t\t);\n\t};\n\n\tconst titleGenerator = widgetTitleGenerator ?? defaultWidgetTitleGenerator;\n\n\t/**\n\t *\n\t * @param {object} params\n\t * @param {number} oldIndex The index of the item being moved\n\t * @param {number} newIndex The index to move the item to\n\t */\n\tconst reorderItems = ({ oldIndex, newIndex }: { oldIndex: number; newIndex: number }) => {\n\t\tmovingIndex = null;\n\t\ttitleGrabPosition = null;\n\t\toffsetX = null;\n\t\tsetReorganized(true);\n\t\t// Update the redux store\n\t\treorderDashbarItems({ oldIndex, newIndex });\n\t};\n\n\tconst launchDashbar = () => {\n\t\tlaunchPreferences(\"Dashbar\");\n\t};\n\n\tconst { dashbar } = FSBL.Clients.WindowClient.getSpawnData();\n\n\t// Dashbar is disabled (no config in toolbar) or dashbar height is not specified\n\tif (!dashbar || !dashbar.height) {\n\t\treturn null;\n\t}\n\tconst toolbarHeight = finsembleWindow.windowOptions.height;\n\tconst dashbarHeight = `${dashbar.height}px`;\n\tconst verticalBounds = toolbarHeight - dashbar.height;\n\tconst widgetDividerWidth = dashbar.widgetDividerWidth || 0;\n\n\tconst wrapperClasses = `finsemble-dashbar ${className || \"\"}`.trim();\n\n\tconst getTotalWidth = () => {\n\t\tlet totalWidth = 0;\n\t\tdashbarItems.forEach((item: DashbarItemType) => {\n\t\t\ttotalWidth = totalWidth + item.width;\n\t\t});\n\t\treturn totalWidth;\n\t};\n\n\tconst [leftButtonTooltip, setLeftButtonTooltip] = useState(\"\");\n\tconst [rightButtonTooltip, setRightButtonTooltip] = useState(\"\");\n\n\t// For calculation widgets position that function uses the HTML elements.\n\t// If something will be changed in HTML hierarchy for widgets, that function should be refactored.\n\tconst setWidgetsPositions = async () => {\n\t\tconst { data: bounds } = await finsembleWindow.getBounds();\n\t\tconst scrollButtonsEnabled = document.querySelectorAll(\"#dashbar-container > .chevron-container\").length > 0;\n\t\tconst elements = document.getElementsByClassName(\"finsemble-dashbar-item\");\n\t\tlet toolbarWidth = bounds?.width ?? 0;\n\t\tlet SCROLL_BUTTON_WIDTH = SCROLL_BUTTON_DEFAULT_WIDTH;\n\t\tif (scrollButtonsEnabled) {\n\t\t\t// Get actual width in case of client styling\n\t\t\tSCROLL_BUTTON_WIDTH = (document.querySelectorAll(\"#dashbar-container > .chevron-container\")[0] as HTMLElement)\n\t\t\t\t.offsetWidth;\n\t\t\ttoolbarWidth = toolbarWidth - 2 * SCROLL_BUTTON_WIDTH;\n\t\t}\n\n\t\tlet tempLeft = 0;\n\t\tlet leftButtonSize = 0;\n\t\tif (scrollButtonsEnabled) {\n\t\t\ttempLeft = SCROLL_BUTTON_WIDTH;\n\t\t\tleftButtonSize = SCROLL_BUTTON_WIDTH;\n\t\t}\n\n\t\tlet leftItemsCount = 0;\n\t\tlet rightItemsCount = 0;\n\n\t\tfor (const dashbarItem of elements) {\n\t\t\t// rect.width already contains the divider width\n\t\t\tconst rect = dashbarItem.getBoundingClientRect();\n\t\t\tconst dashbarItemFrame = dashbarItem.firstChild as Element;\n\t\t\tconst widgetId = dashbarItemFrame.id;\n\t\t\tconst widget = (widgets as DashbarViews)[widgetId];\n\t\t\t// Happens when widgets were removed, but dom-elements still exists. So just ignore.\n\t\t\tif (!widget) continue;\n\n\t\t\tif (rect.left < SCROLL_BUTTON_WIDTH && scrollButtonsEnabled) {\n\t\t\t\twidget.bounds.width = 0;\n\t\t\t\twidget.bounds.left = tempLeft;\n\t\t\t\tleftItemsCount++;\n\t\t\t} else {\n\t\t\t\twidget.bounds.width = rect.width - widgetDividerWidth;\n\t\t\t\twidget.bounds.left = tempLeft;\n\t\t\t\ttempLeft = tempLeft + rect.width;\n\t\t\t}\n\n\t\t\tlet offsetRight = rect.left + rect.width - widgetDividerWidth - leftButtonSize - toolbarWidth;\n\t\t\tif (offsetRight > 0) {\n\t\t\t\t// hide title for invisible items\n\t\t\t\t(dashbarItemFrame.firstChild as HTMLElement).style.visibility = \"hidden\";\n\t\t\t\twidget.bounds.width = 0;\n\t\t\t\trightItemsCount++;\n\t\t\t} else {\n\t\t\t\t(dashbarItemFrame.firstChild as HTMLElement).style.visibility = \"visible\";\n\t\t\t}\n\t\t\twidget.view.setBounds(widget.bounds);\n\t\t}\n\n\t\tsetLeftButtonTooltip(`${leftItemsCount} more`);\n\t\tsetRightButtonTooltip(`${rightItemsCount} more`);\n\t};\n\n\tconst addWidgets = async () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\tlet tempHorizontalBounds = horizontalBounds;\n\n\t\tfor (const item of dashbarItems) {\n\t\t\tconst widgetBounds = {\n\t\t\t\ttop: verticalBounds,\n\t\t\t\tleft: tempHorizontalBounds,\n\t\t\t\twidth: item.width - widgetDividerWidth,\n\t\t\t\theight: item.height || dashbar.height,\n\t\t\t};\n\n\t\t\tif (!_widgets.hasOwnProperty(item.id)) {\n\t\t\t\tconst webContentsName = `(Dashbar) ${item.id}`;\n\t\t\t\tconst res: any = await finsembleWindow.addBrowserView({\n\t\t\t\t\turl: item.url,\n\t\t\t\t\twebContentsName,\n\t\t\t\t\tbounds: widgetBounds,\n\t\t\t\t\tallowAutoResize: false,\n\t\t\t\t});\n\n\t\t\t\t_widgets[item.id] = {\n\t\t\t\t\turl: item.url,\n\t\t\t\t\ttitle: item.title,\n\t\t\t\t\tbounds: widgetBounds,\n\t\t\t\t\tview: res,\n\t\t\t\t\twidth: item.width,\n\t\t\t\t\traiseIntentOptions: item.raiseIntentOptions,\n\t\t\t\t};\n\n\t\t\t\ttempHorizontalBounds = tempHorizontalBounds + item.width;\n\t\t\t}\n\t\t}\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempHorizontalBounds);\n\t};\n\n\tconst removeWidgets = async () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\t// Widgets is an object, with each key being a reference to an item in dashbarItems\n\t\t// but dashbarItems is an array of objects. Its necessary to loop through them to determine\n\t\t// the differences to figure out which items were removed.\n\t\tconst toRemove: string[] = [];\n\t\tObject.keys(_widgets).forEach((widgetId) => {\n\t\t\tlet found = false;\n\t\t\tfor (let i = 0; i < dashbarItems.length; i++) {\n\t\t\t\tconst dashItem = dashbarItems[i];\n\t\t\t\tif (dashItem.id === widgetId) {\n\t\t\t\t\tfound = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!found) {\n\t\t\t\ttoRemove.push(widgetId);\n\t\t\t}\n\t\t});\n\n\t\tlet tempNewHorizontalBounds = 0;\n\t\t// toRemove is an array of widgetIds which were no longer found in dashbarItems\n\t\t// As items are removed, the remaining items have to be shuffled to fill the space\n\t\tfor (const id of toRemove) {\n\t\t\tif (_widgets.hasOwnProperty(id)) {\n\t\t\t\tawait _widgets[id].view.remove(() => {\n\t\t\t\t\tdelete _widgets[id];\n\t\t\t\t\t// Shuffle remaining views to fill any gaps that were left\n\t\t\t\t\tObject.values(_widgets).forEach((widget) => {\n\t\t\t\t\t\twidget.bounds = {\n\t\t\t\t\t\t\twidth: widget.bounds.width,\n\t\t\t\t\t\t\theight: widget.bounds.height,\n\t\t\t\t\t\t\tleft: tempNewHorizontalBounds,\n\t\t\t\t\t\t\ttop: widget.bounds.top,\n\t\t\t\t\t\t};\n\t\t\t\t\t\twidget.view.setBounds(widget.bounds);\n\t\t\t\t\t\ttempNewHorizontalBounds = tempNewHorizontalBounds + widget.bounds.width;\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tFSBL.Clients.Logger.system.error(`Error removing widget: ${id} from dashbar`);\n\t\t\t}\n\t\t}\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempNewHorizontalBounds);\n\t};\n\n\tconst reorganizeWidgets = () => {\n\t\tconst _widgets: DashbarViews = clone(widgets);\n\t\t// Each view needs to be resituated to fill any holes\n\t\t// left by views that have been removed. Use a tempBounds\n\t\t// int to keep track of new widths and set the overall width\n\t\t// once everything is re-seated\n\t\tlet tempBounds = 0;\n\t\tdashbarItems.forEach((item) => {\n\t\t\tconst widget = _widgets[item.id];\n\n\t\t\twidget.bounds = {\n\t\t\t\theight: cachedWidgetHeight || widget.bounds.height,\n\t\t\t\twidth: widget.bounds.width,\n\t\t\t\ttop: cachedWidgetTop || verticalBounds,\n\t\t\t\tleft: tempBounds,\n\t\t\t};\n\n\t\t\twidget.view.setBounds(widget.bounds);\n\n\t\t\tdelete _widgets[item.id];\n\t\t\t_widgets[item.id] = widget;\n\n\t\t\ttempBounds = tempBounds + item.width;\n\t\t});\n\n\t\tsetReorganized(false);\n\t\tsetWidgets(_widgets);\n\t\tsetHorizontalBounds(tempBounds);\n\t};\n\n\tconst updateItems = () => {\n\t\tconst doUpdate = async () => {\n\t\t\tif (dashbarItems.length > WIDGET_COUNT) {\n\t\t\t\t//Items have been added\n\t\t\t\tawait addWidgets();\n\t\t\t\tsetTotalWidgetsWidth(getTotalWidth());\n\t\t\t} else if (dashbarItems.length < WIDGET_COUNT) {\n\t\t\t\t//Items have been removed\n\t\t\t\tawait removeWidgets();\n\t\t\t\tsetTotalWidgetsWidth(getTotalWidth());\n\t\t\t} else if (wasReorganized) {\n\t\t\t\tif (movingIndex) return;\n\t\t\t\t// Length is the same, order has changed\n\t\t\t\treorganizeWidgets();\n\t\t\t}\n\n\t\t\tawait setWidgetsPositions();\n\t\t\tsetIsUpdatingState(false);\n\t\t};\n\n\t\tif (isUpdatingState === false) {\n\t\t\tsetIsUpdatingState(true);\n\t\t\tdoUpdate();\n\t\t} else if (!secondUpdateRequired) {\n\t\t\tsetSecondUpdateRequired(true);\n\t\t}\n\t};\n\n\t/**\n\t * When the distributed store's 'dashbaritems' is updated it will cause this hook to\n\t * execute. The local representation of widgets will be mutated, then a call to\n\t * setWidgets will re-render the component\n\t */\n\tuseEffect(() => {\n\t\tupdateItems();\n\t}, [dashbarItems]);\n\n\t/**\n\t * DashbarItems can be changed very quickly before all widgets will be initialized.\n\t * Double-calling updateItems() fixes a bug.\n\t */\n\tuseEffect(() => {\n\t\tif (secondUpdateRequired && !isUpdatingState) {\n\t\t\tupdateItems();\n\t\t\tsetSecondUpdateRequired(false);\n\t\t}\n\t}, [isUpdatingState, secondUpdateRequired]);\n\n\t/**\n\t * Sets the title height as determined by the DashbarItem\n\t * component, since the CSS can be changed by the user\n\t * the component will render the title and pass back\n\t * computed height of that title, then the Dashbar will\n\t * make room for item\n\t *\n\t * @param {number} titleHeight The height of the span containing the title\n\t * @param {string} id The key'ed id of the view\n\t */\n\tconst setTitleHeight = (titleHeight: number, id: string) => {\n\t\tconst _widgets: DashbarViews = widgets;\n\t\tconst widget = _widgets[id];\n\t\tif (cachedWidgetTop) {\n\t\t\ttitleHeight = 0;\n\t\t}\n\n\t\tconst newBounds = {\n\t\t\ttop: cachedWidgetTop || widget.bounds.top + titleHeight,\n\t\t\tleft: widget.bounds.left,\n\t\t\theight: cachedWidgetHeight || widget.bounds.height - titleHeight,\n\t\t\twidth: widget.bounds.width,\n\t\t};\n\t\tcachedWidgetTop = newBounds.top;\n\t\tcachedWidgetHeight = newBounds.height;\n\n\t\twidget.view.setBounds(newBounds);\n\t\twidget.bounds = newBounds;\n\t};\n\n\t/**\n\t * When a view starts moving, bring it to the front\n\t *\n\t * @param {MouseEvent} event The event passed by react-sortable-hoc\n\t */\n\tconst startMove = (node: any, event: any) => {\n\t\tmovingIndex = node.index;\n\t\tif (offsetX === null && titleGrabPosition !== null) {\n\t\t\toffsetX = event.clientX - titleGrabPosition;\n\t\t}\n\t\tconst widget = Object.values(widgets)[node.index] as DashbarView;\n\t\twidget.view.bringToFront();\n\t};\n\n\t/**\n\t * Event triggered by view movement\n\t *\n\t * @param {MouseEvent} event\n\t */\n\tconst moveItem = (event: any) => {\n\t\tif (movingIndex !== null) {\n\t\t\tconst movingWidget = Object.values(widgets)[movingIndex] as DashbarView;\n\n\t\t\tmovingWidget.view.setBounds({\n\t\t\t\ttop: movingWidget.bounds.top,\n\t\t\t\theight: movingWidget.bounds.height,\n\t\t\t\twidth: movingWidget.bounds.width,\n\t\t\t\tleft: event.clientX - (offsetX || 0),\n\t\t\t});\n\n\t\t\t// Some completely not react very hacky stuff to make browserviews move in conjunction with the titles\n\t\t\tconst elements = document.getElementsByClassName(\"dashbar-item-frame\");\n\t\t\tfor (const element of elements) {\n\t\t\t\tconst rect = element.getBoundingClientRect();\n\t\t\t\tconst widget = (widgets as any)[element.id];\n\t\t\t\tif (widget !== movingWidget && widget.bounds.left !== rect.left) {\n\t\t\t\t\twidget.bounds.left = rect.left;\n\t\t\t\t\twidget.view.setBounds(widget.bounds);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconst setGrabLocation = (location: number) => {\n\t\ttitleGrabPosition = location;\n\t};\n\n\t/**\n\t * Every time a widget is added or removed, modify the key on the FinsembleDnDContext element forcing a rerender.\n\t *\n\t * This is a workaround for certain cases where removing a dashbar item would align the panels incorrectly in\n\t * FinsembleDnDContext. The scrolling works by the FinsembleDnDContext setting scrollLeft value. All calculations\n\t * in FinsembleDnDContext are correct but due to a browser bug, when removing component under certain conditions,\n\t * it somehow sets false maximum value for this scrollLeft value. Any value higher than the maximum is capped\n\t * causing it to half scroll an element.\n\t *\n\t */\n\tconst elementKey = Object.entries(widgets)\n\t\t.map((entry) => entry[0])\n\t\t.sort()\n\t\t.join(\"-\");\n\n\treturn (\n\t\t<div className={wrapperClasses} style={{ height: dashbarHeight }}>\n\t\t\t{WIDGET_COUNT > 0 && (\n\t\t\t\t<FinsembleDnDContext\n\t\t\t\t\tkey={elementKey}\n\t\t\t\t\tonDragEnd={reorderItems}\n\t\t\t\t\tonDragStart={startMove}\n\t\t\t\t\tonDragMove={moveItem}\n\t\t\t\t\tonLayoutUpdate={setWidgetsPositions}\n\t\t\t\t\tclassName=\"finsemble-dashbar-section rearrange-region\"\n\t\t\t\t\tid=\"dashbar-container\"\n\t\t\t\t\taxis={AllowableDnDAxis.x}\n\t\t\t\t\tlockAxis={AllowableDnDAxis.x}\n\t\t\t\t\tallowHorizontalScroll={true}\n\t\t\t\t\tshowScrollButtonsTooltip={true}\n\t\t\t\t\tleftButtonTooltip={leftButtonTooltip}\n\t\t\t\t\trightButtonTooltip={rightButtonTooltip}\n\t\t\t\t\tmetadata={{ dashbar }}\n\t\t\t\t>\n\t\t\t\t\t{Object.values(widgets).map((widget, i) => (\n\t\t\t\t\t\t<DashbarItem\n\t\t\t\t\t\t\tkey={i}\n\t\t\t\t\t\t\tid={Object.keys(widgets)[i]}\n\t\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\t\twidgetTitleGenerator={titleGenerator}\n\t\t\t\t\t\t\twidget={widget as DashbarView}\n\t\t\t\t\t\t\tdashbarHeight={dashbar.height}\n\t\t\t\t\t\t\twidgetDividerWidth={widgetDividerWidth}\n\t\t\t\t\t\t\tsetTitleHeight={setTitleHeight}\n\t\t\t\t\t\t\tsetGrabLocation={setGrabLocation}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</FinsembleDnDContext>\n\t\t\t)}\n\t\t\t{WIDGET_COUNT === 0 && (\n\t\t\t\t<div className=\"add-dashbar-item-button\" onClick={launchDashbar}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<i className=\"ff-plus\"></i>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DashbarView } from "../../../types/dashbarTypes";
|
|
3
|
+
import "../../../assets/css/dashbar.css";
|
|
4
|
+
declare type DashbarItemProps = {
|
|
5
|
+
id?: string;
|
|
6
|
+
index: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
height?: number;
|
|
9
|
+
widget: DashbarView;
|
|
10
|
+
dashbarHeight?: number;
|
|
11
|
+
widgetDividerWidth?: number;
|
|
12
|
+
setTitleHeight: Function;
|
|
13
|
+
setGrabLocation: Function;
|
|
14
|
+
widgetTitleGenerator: Function;
|
|
15
|
+
};
|
|
16
|
+
export declare const DashbarItem: ({ id, index, className, widget, height, dashbarHeight, widgetDividerWidth, setTitleHeight, setGrabLocation, widgetTitleGenerator, }: DashbarItemProps) => JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useRef, useLayoutEffect } from "react";
|
|
3
|
+
import { FinsembleDraggable } from "../../legacyControls/FinsembleDraggable";
|
|
4
|
+
import "../../../assets/css/dashbar.css";
|
|
5
|
+
export const DashbarItem = ({ id = `finsemble-draggable-${Date.now()}-${Math.random()}`, index, className, widget, height, dashbarHeight, widgetDividerWidth, setTitleHeight, setGrabLocation, widgetTitleGenerator, }) => {
|
|
6
|
+
const titleRef = useRef(null);
|
|
7
|
+
const divRef = useRef(null);
|
|
8
|
+
useLayoutEffect(() => {
|
|
9
|
+
if ((titleRef === null || titleRef === void 0 ? void 0 : titleRef.current) && dashbarHeight) {
|
|
10
|
+
const { offsetHeight } = titleRef.current;
|
|
11
|
+
const titleHeight = height ? height + offsetHeight : offsetHeight;
|
|
12
|
+
setTitleHeight(titleHeight, id);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Sets the location the titlebar of a view is clicked on when a user grabs a dashbar item
|
|
17
|
+
*
|
|
18
|
+
* @param event
|
|
19
|
+
*/
|
|
20
|
+
const _setGrabLocation = () => {
|
|
21
|
+
if (divRef === null || divRef === void 0 ? void 0 : divRef.current) {
|
|
22
|
+
const rect = divRef.current.getBoundingClientRect();
|
|
23
|
+
setGrabLocation(rect.left);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const wrapperClass = `finsemble-dashbar-item ${className || ""}`;
|
|
27
|
+
const itemStyle = {
|
|
28
|
+
display: "flex",
|
|
29
|
+
width: widget.width,
|
|
30
|
+
borderRight: `${widgetDividerWidth}px solid var(--dashbar-divider-color)`,
|
|
31
|
+
};
|
|
32
|
+
const title = widgetTitleGenerator(widget, titleRef);
|
|
33
|
+
return (React.createElement(FinsembleDraggable, { draggableId: id, index: index, key: id, wrapperClass: wrapperClass },
|
|
34
|
+
React.createElement("div", { ref: divRef, id: id, onMouseDown: _setGrabLocation, className: "dashbar-item-frame", style: itemStyle },
|
|
35
|
+
React.createElement("div", null, title),
|
|
36
|
+
React.createElement("div", { className: "empty-space" }))));
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=DashbarItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashbarItem.js","sourceRoot":"","sources":["../../../../src/components/toolbar/dashbar/DashbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAChD,O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KACzE,CAAC;IAEF,MAAM,KAAK,GAAG,oBAAoB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAErD,OAAO,CACN,oBAAC,kBAAkB,IAAC,WAAW,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,YAAY,EAAE,YAAY;QACrF,6BAAK,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,gBAAgB,EAAE,SAAS,EAAC,oBAAoB,EAAC,KAAK,EAAE,SAAS;YACvG,iCAAM,KAAK,CAAO;YAClB,6BAAK,SAAS,EAAC,aAAa,GAAO,CAC9B,CACc,CACrB,CAAC;AACH,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { useRef, useLayoutEffect } from \"react\";\nimport { FinsembleDraggable } from \"../../legacyControls/FinsembleDraggable\";\nimport { DashbarView } from \"../../../types/dashbarTypes\";\n\nimport \"../../../assets/css/dashbar.css\";\n\ntype DashbarItemProps = {\n\tid?: string;\n\tindex: number;\n\tclassName?: string;\n\theight?: number;\n\twidget: DashbarView;\n\tdashbarHeight?: number;\n\twidgetDividerWidth?: number;\n\tsetTitleHeight: Function;\n\tsetGrabLocation: Function;\n\twidgetTitleGenerator: Function;\n};\n\nexport const DashbarItem = ({\n\tid = `finsemble-draggable-${Date.now()}-${Math.random()}`,\n\tindex,\n\tclassName,\n\twidget,\n\theight,\n\tdashbarHeight,\n\twidgetDividerWidth,\n\tsetTitleHeight,\n\tsetGrabLocation,\n\twidgetTitleGenerator,\n}: DashbarItemProps) => {\n\tconst titleRef = useRef<HTMLDivElement>(null);\n\tconst divRef = useRef<HTMLDivElement>(null);\n\n\tuseLayoutEffect(() => {\n\t\tif (titleRef?.current && dashbarHeight) {\n\t\t\tconst { offsetHeight } = titleRef.current;\n\n\t\t\tconst titleHeight = height ? height + offsetHeight : offsetHeight;\n\t\t\tsetTitleHeight(titleHeight, id);\n\t\t}\n\t});\n\n\t/**\n\t * Sets the location the titlebar of a view is clicked on when a user grabs a dashbar item\n\t *\n\t * @param event\n\t */\n\tconst _setGrabLocation = () => {\n\t\tif (divRef?.current) {\n\t\t\tconst rect = (divRef.current as HTMLElement).getBoundingClientRect();\n\t\t\tsetGrabLocation(rect.left);\n\t\t}\n\t};\n\n\tconst wrapperClass = `finsemble-dashbar-item ${className || \"\"}`;\n\tconst itemStyle = {\n\t\tdisplay: \"flex\",\n\t\twidth: widget.width,\n\t\tborderRight: `${widgetDividerWidth}px solid var(--dashbar-divider-color)`,\n\t};\n\n\tconst title = widgetTitleGenerator(widget, titleRef);\n\n\treturn (\n\t\t<FinsembleDraggable draggableId={id} index={index} key={id} wrapperClass={wrapperClass}>\n\t\t\t<div ref={divRef} id={id} onMouseDown={_setGrabLocation} className=\"dashbar-item-frame\" style={itemStyle}>\n\t\t\t\t<div>{title}</div>\n\t\t\t\t<div className=\"empty-space\"></div>\n\t\t\t</div>\n\t\t</FinsembleDraggable>\n\t);\n};\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { ToolbarShell } from "./ToolbarShell";
|
|
2
|
+
export { AutoArrange } from "./AutoArrange";
|
|
3
|
+
export { MinimizeAll } from "./MinimizeAll";
|
|
4
|
+
export { NotificationControl } from "./NotificationControl";
|
|
5
|
+
export { RevealAll } from "./RevealAll";
|
|
6
|
+
export { ToolbarSection } from "./ToolbarSection";
|
|
7
|
+
export { AppLauncherMenu } from "./appLauncher/AppLauncherMenu";
|
|
8
|
+
export { AdvancedAppLauncherMenu } from "./advancedAppLauncher/AdvancedAppLauncherMenu";
|
|
9
|
+
export { WorkspaceManagementMenu } from "./workspaceManagementMenu/WorkspaceManagementMenu";
|
|
10
|
+
export { Dashbar } from "./dashbar/Dashbar";
|
|
11
|
+
export { DashbarItem } from "./dashbar/DashbarItem";
|
|
12
|
+
export { Search } from "../search/Search";
|
|
13
|
+
export { DragHandle } from "./DragHandle";
|
|
14
|
+
export { ToolbarIcon } from "./ToolbarIcon";
|
|
15
|
+
export { FavoritesShell } from "../favorites/FavoritesShell";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { ToolbarShell } from "./ToolbarShell";
|
|
2
|
+
export { AutoArrange } from "./AutoArrange";
|
|
3
|
+
export { MinimizeAll } from "./MinimizeAll";
|
|
4
|
+
export { NotificationControl } from "./NotificationControl";
|
|
5
|
+
export { RevealAll } from "./RevealAll";
|
|
6
|
+
export { ToolbarSection } from "./ToolbarSection";
|
|
7
|
+
export { AppLauncherMenu } from "./appLauncher/AppLauncherMenu";
|
|
8
|
+
export { AdvancedAppLauncherMenu } from "./advancedAppLauncher/AdvancedAppLauncherMenu";
|
|
9
|
+
export { WorkspaceManagementMenu } from "./workspaceManagementMenu/WorkspaceManagementMenu";
|
|
10
|
+
export { Dashbar } from "./dashbar/Dashbar";
|
|
11
|
+
export { DashbarItem } from "./dashbar/DashbarItem";
|
|
12
|
+
export { Search } from "../search/Search";
|
|
13
|
+
export { DragHandle } from "./DragHandle";
|
|
14
|
+
export { ToolbarIcon } from "./ToolbarIcon";
|
|
15
|
+
export { FavoritesShell } from "../favorites/FavoritesShell";
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/toolbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { ToolbarShell } from \"./ToolbarShell\";\nexport { AutoArrange } from \"./AutoArrange\";\nexport { MinimizeAll } from \"./MinimizeAll\";\nexport { NotificationControl } from \"./NotificationControl\";\nexport { RevealAll } from \"./RevealAll\";\nexport { ToolbarSection } from \"./ToolbarSection\";\nexport { AppLauncherMenu } from \"./appLauncher/AppLauncherMenu\";\nexport { AdvancedAppLauncherMenu } from \"./advancedAppLauncher/AdvancedAppLauncherMenu\";\nexport { WorkspaceManagementMenu } from \"./workspaceManagementMenu/WorkspaceManagementMenu\";\nexport { Dashbar } from \"./dashbar/Dashbar\";\nexport { DashbarItem } from \"./dashbar/DashbarItem\";\nexport { Search } from \"../search/Search\";\nexport { DragHandle } from \"./DragHandle\";\nexport { ToolbarIcon } from \"./ToolbarIcon\";\nexport { FavoritesShell } from \"../favorites/FavoritesShell\";\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { Workspace as WorkspaceType } from "@finsemble/finsemble-api/types/services/workspace/types";
|
|
7
|
+
import "./workspaceManagementMenu.css";
|
|
8
|
+
import StoreModel from "@finsemble/finsemble-api/types/clients/StoreModel";
|
|
9
|
+
interface IProps {
|
|
10
|
+
id?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
maxHeight?: number;
|
|
15
|
+
title?: React.ReactNode;
|
|
16
|
+
openHotkey?: Array<string>;
|
|
17
|
+
closeHotkey?: Array<string>;
|
|
18
|
+
}
|
|
19
|
+
interface IState {
|
|
20
|
+
WorkspaceList: WorkspaceType[];
|
|
21
|
+
activeWorkspace: WorkspaceType | null;
|
|
22
|
+
initialized: boolean;
|
|
23
|
+
isSwitchingWorkspaces: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A button that opens the workspace management menu when clicked.
|
|
27
|
+
*/
|
|
28
|
+
export declare class WorkspaceManagementMenu extends React.Component<IProps, IState> {
|
|
29
|
+
store: StoreModel | null;
|
|
30
|
+
constructor(props: IProps);
|
|
31
|
+
bindCorrectContext(): void;
|
|
32
|
+
onInitialized(store: StoreModel): void;
|
|
33
|
+
onStoreChange(): void;
|
|
34
|
+
componentDidMount(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
36
|
+
render(): JSX.Element;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { Actions as WorkspaceManagementMenuActions } from "./stores/workspaceManagementMenuStore";
|
|
7
|
+
import WorkspaceActions from "./components/WorkspaceActions";
|
|
8
|
+
import WorkspaceList from "./components/WorkspaceList";
|
|
9
|
+
import { Menu } from "../../menu/Menu";
|
|
10
|
+
import { storeManager } from "./stores/workspaceManagementMenuStore";
|
|
11
|
+
import "./workspaceManagementMenu.css";
|
|
12
|
+
/**
|
|
13
|
+
* A button that opens the workspace management menu when clicked.
|
|
14
|
+
*/
|
|
15
|
+
export class WorkspaceManagementMenu extends React.Component {
|
|
16
|
+
constructor(props) {
|
|
17
|
+
super(props);
|
|
18
|
+
this.bindCorrectContext();
|
|
19
|
+
this.store = null;
|
|
20
|
+
this.state = {
|
|
21
|
+
WorkspaceList: [],
|
|
22
|
+
activeWorkspace: null,
|
|
23
|
+
initialized: false,
|
|
24
|
+
isSwitchingWorkspaces: false,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
bindCorrectContext() {
|
|
28
|
+
this.onStoreChange = this.onStoreChange.bind(this);
|
|
29
|
+
this.onInitialized = this.onInitialized.bind(this);
|
|
30
|
+
}
|
|
31
|
+
onInitialized(store) {
|
|
32
|
+
this.store = store;
|
|
33
|
+
this.store.addListener({ field: "WorkspaceList" }, this.onStoreChange);
|
|
34
|
+
this.store.addListener({ field: "activeWorkspace" }, this.onStoreChange);
|
|
35
|
+
this.store.addListener({ field: "isSwitchingWorkspaces" }, this.onStoreChange);
|
|
36
|
+
this.onStoreChange();
|
|
37
|
+
this.setState({
|
|
38
|
+
initialized: true,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
onStoreChange() {
|
|
42
|
+
this.setState({
|
|
43
|
+
WorkspaceList: WorkspaceManagementMenuActions.getWorkspaceList(),
|
|
44
|
+
activeWorkspace: WorkspaceManagementMenuActions.getActiveWorkspace(),
|
|
45
|
+
isSwitchingWorkspaces: WorkspaceManagementMenuActions.getIsSwitchingWorkspaces(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
componentDidMount() {
|
|
49
|
+
storeManager.addInitializedListener(this.onInitialized);
|
|
50
|
+
storeManager.initialize();
|
|
51
|
+
}
|
|
52
|
+
componentWillUnmount() {
|
|
53
|
+
var _a, _b, _c;
|
|
54
|
+
storeManager.removeInitializedListener(this.onInitialized);
|
|
55
|
+
if (this.state.initialized) {
|
|
56
|
+
(_a = this.store) === null || _a === void 0 ? void 0 : _a.removeListener({ field: "WorkspaceList" }, this.onStoreChange);
|
|
57
|
+
(_b = this.store) === null || _b === void 0 ? void 0 : _b.removeListener({ field: "activeWorkspace" }, this.onStoreChange);
|
|
58
|
+
(_c = this.store) === null || _c === void 0 ? void 0 : _c.removeListener({ field: "isSwitchingWorkspaces" }, this.onStoreChange);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
var _a, _b, _c, _d;
|
|
63
|
+
let completeProps = Object.assign(Object.assign({}, this.props), { width: (_a = this.props.width) !== null && _a !== void 0 ? _a : 330, className: (_b = this.props.className) !== null && _b !== void 0 ? _b : "workspace-management-menu", id: (_c = this.props.id) !== null && _c !== void 0 ? _c : "WorkspaceMenu", title: (_d = this.state.activeWorkspace) === null || _d === void 0 ? void 0 : _d.name });
|
|
64
|
+
return (React.createElement(Menu, Object.assign({}, completeProps), this.state.initialized && this.state.activeWorkspace ? (React.createElement(React.Fragment, null,
|
|
65
|
+
React.createElement(WorkspaceActions, null),
|
|
66
|
+
React.createElement(WorkspaceList, { isSwitchingWorkspaces: this.state.isSwitchingWorkspaces, activeWorkspace: this.state.activeWorkspace, workspaces: this.state.WorkspaceList }))) : null));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=WorkspaceManagementMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceManagementMenu.js","sourceRoot":"","sources":["../../../../src/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,OAAO,+BAA+B,CAAC;AAoBvC;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,KAAK,C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AC,eAAe,EAC3C,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,GACnC,CACA,CACH,CAAC,CAAC,CAAC,IAAI,CACF,CACP,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\nimport { Actions as WorkspaceManagementMenuActions } from \"./stores/workspaceManagementMenuStore\";\nimport WorkspaceActions from \"./components/WorkspaceActions\";\nimport WorkspaceList from \"./components/WorkspaceList\";\nimport { Menu } from \"../../menu/Menu\";\nimport { storeManager } from \"./stores/workspaceManagementMenuStore\";\nimport { Workspace as WorkspaceType } from \"@finsemble/finsemble-api/types/services/workspace/types\";\n\nimport \"./workspaceManagementMenu.css\";\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\n\ninterface IProps {\n\tid?: string;\n\tclassName?: string;\n\twidth?: number;\n\theight?: number;\n\tmaxHeight?: number;\n\ttitle?: React.ReactNode;\n\topenHotkey?: Array<string>;\n\tcloseHotkey?: Array<string>;\n}\ninterface IState {\n\tWorkspaceList: WorkspaceType[];\n\tactiveWorkspace: WorkspaceType | null;\n\tinitialized: boolean;\n\tisSwitchingWorkspaces: boolean;\n}\n\n/**\n * A button that opens the workspace management menu when clicked.\n */\nexport class WorkspaceManagementMenu extends React.Component<IProps, IState> {\n\tstore: StoreModel | null;\n\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.bindCorrectContext();\n\t\tthis.store = null;\n\t\tthis.state = {\n\t\t\tWorkspaceList: [],\n\t\t\tactiveWorkspace: null,\n\t\t\tinitialized: false,\n\t\t\tisSwitchingWorkspaces: false,\n\t\t};\n\t}\n\n\tbindCorrectContext() {\n\t\tthis.onStoreChange = this.onStoreChange.bind(this);\n\t\tthis.onInitialized = this.onInitialized.bind(this);\n\t}\n\n\tonInitialized(store: StoreModel) {\n\t\tthis.store = store;\n\t\tthis.store.addListener({ field: \"WorkspaceList\" }, this.onStoreChange);\n\t\tthis.store.addListener({ field: \"activeWorkspace\" }, this.onStoreChange);\n\t\tthis.store.addListener({ field: \"isSwitchingWorkspaces\" }, this.onStoreChange);\n\t\tthis.onStoreChange();\n\t\tthis.setState({\n\t\t\tinitialized: true,\n\t\t});\n\t}\n\n\tonStoreChange() {\n\t\tthis.setState({\n\t\t\tWorkspaceList: WorkspaceManagementMenuActions.getWorkspaceList(),\n\t\t\tactiveWorkspace: WorkspaceManagementMenuActions.getActiveWorkspace(),\n\t\t\tisSwitchingWorkspaces: WorkspaceManagementMenuActions.getIsSwitchingWorkspaces(),\n\t\t});\n\t}\n\n\tcomponentDidMount() {\n\t\tstoreManager.addInitializedListener(this.onInitialized);\n\t\tstoreManager.initialize();\n\t}\n\n\tcomponentWillUnmount() {\n\t\tstoreManager.removeInitializedListener(this.onInitialized);\n\t\tif (this.state.initialized) {\n\t\t\tthis.store?.removeListener({ field: \"WorkspaceList\" }, this.onStoreChange);\n\t\t\tthis.store?.removeListener({ field: \"activeWorkspace\" }, this.onStoreChange);\n\t\t\tthis.store?.removeListener({ field: \"isSwitchingWorkspaces\" }, this.onStoreChange);\n\t\t}\n\t}\n\n\trender() {\n\t\tlet completeProps = {\n\t\t\t...this.props,\n\t\t\twidth: this.props.width ?? 330,\n\t\t\tclassName: this.props.className ?? \"workspace-management-menu\",\n\t\t\tid: this.props.id ?? \"WorkspaceMenu\",\n\t\t\ttitle: this.state.activeWorkspace?.name,\n\t\t};\n\n\t\treturn (\n\t\t\t<Menu {...completeProps}>\n\t\t\t\t{this.state.initialized && this.state.activeWorkspace ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<WorkspaceActions />\n\t\t\t\t\t\t<WorkspaceList\n\t\t\t\t\t\t\tisSwitchingWorkspaces={this.state.isSwitchingWorkspaces}\n\t\t\t\t\t\t\tactiveWorkspace={this.state.activeWorkspace}\n\t\t\t\t\t\t\tworkspaces={this.state.WorkspaceList}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</>\n\t\t\t\t) : null}\n\t\t\t</Menu>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is a single workspace. When clicked, it requests that the app switch to the clicked workspace.
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { Workspace as WorkspaceType } from "@finsemble/finsemble-api/types/services/workspace/types";
|
|
8
|
+
declare type WorkspaceActionType = WorkspaceType & {
|
|
9
|
+
permanent?: boolean;
|
|
10
|
+
};
|
|
11
|
+
interface IProps {
|
|
12
|
+
isSwitchingWorkspaces: boolean;
|
|
13
|
+
isActiveWorkspace: boolean;
|
|
14
|
+
dragHandle: {
|
|
15
|
+
iconClass: string;
|
|
16
|
+
};
|
|
17
|
+
workspace: WorkspaceActionType;
|
|
18
|
+
mainAction: (data: {
|
|
19
|
+
name: string;
|
|
20
|
+
}) => void;
|
|
21
|
+
}
|
|
22
|
+
export default class Workspace extends React.Component<IProps> {
|
|
23
|
+
constructor(props: IProps);
|
|
24
|
+
/**
|
|
25
|
+
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
26
|
+
*
|
|
27
|
+
* @memberof Workspace
|
|
28
|
+
*/
|
|
29
|
+
bindCorrectContext(): void;
|
|
30
|
+
/**
|
|
31
|
+
* When the main body of the component is clicked, we fire off the mainAction. By default this is to switch workspaces.
|
|
32
|
+
*
|
|
33
|
+
* @memberof Workspace
|
|
34
|
+
*/
|
|
35
|
+
onClick(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Render method.
|
|
38
|
+
*
|
|
39
|
+
* @returns
|
|
40
|
+
* @memberof Workspace
|
|
41
|
+
*/
|
|
42
|
+
render(): JSX.Element;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is a single workspace. When clicked, it requests that the app switch to the clicked workspace.
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { MenuItem } from "../../../menu/MenuItem";
|
|
8
|
+
import { Actions as WorkspaceManagementMenuActions } from "../stores/workspaceManagementMenuStore";
|
|
9
|
+
import { FavoriteMaker } from "../../../favorites/FavoriteMaker";
|
|
10
|
+
import { useFavorites } from "../../../../hooks/useFavorites";
|
|
11
|
+
const RemoveWorkspace = (props) => {
|
|
12
|
+
const { workspace } = props;
|
|
13
|
+
const { isFavorited, removeFavorite } = useFavorites();
|
|
14
|
+
const actuallyRemoveWorkspace = (e) => {
|
|
15
|
+
e.preventDefault();
|
|
16
|
+
e.stopPropagation();
|
|
17
|
+
// Trigger the remove. This will throw a dialog. It will return a boolean
|
|
18
|
+
// for whether it was or was not deleted.
|
|
19
|
+
// If the thing was deleted, remove it from favorites.
|
|
20
|
+
WorkspaceManagementMenuActions.removeWorkspace(workspace, (wasDeleted) => {
|
|
21
|
+
if (wasDeleted && isFavorited(workspace.name)) {
|
|
22
|
+
removeFavorite(workspace.name);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
return (React.createElement("span", { role: "button", tabIndex: 0, onClick: actuallyRemoveWorkspace, className: "menu-item-icon" },
|
|
27
|
+
React.createElement("i", { className: "ff-adp-trash-outline", title: "Delete" })));
|
|
28
|
+
};
|
|
29
|
+
export default class Workspace extends React.Component {
|
|
30
|
+
constructor(props) {
|
|
31
|
+
super(props);
|
|
32
|
+
this.bindCorrectContext();
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* This is necessary to make sure that the `this` inside of the callback is correct.
|
|
36
|
+
*
|
|
37
|
+
* @memberof Workspace
|
|
38
|
+
*/
|
|
39
|
+
bindCorrectContext() {
|
|
40
|
+
this.onClick = this.onClick.bind(this);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* When the main body of the component is clicked, we fire off the mainAction. By default this is to switch workspaces.
|
|
44
|
+
*
|
|
45
|
+
* @memberof Workspace
|
|
46
|
+
*/
|
|
47
|
+
onClick() {
|
|
48
|
+
this.props.mainAction({
|
|
49
|
+
name: this.props.workspace.name,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Render method.
|
|
54
|
+
*
|
|
55
|
+
* @returns
|
|
56
|
+
* @memberof Workspace
|
|
57
|
+
*/
|
|
58
|
+
render() {
|
|
59
|
+
const { isSwitchingWorkspaces, workspace, isActiveWorkspace, dragHandle } = this.props;
|
|
60
|
+
// Actions are remove and pin workspace.
|
|
61
|
+
const showSpinner = isSwitchingWorkspaces && isActiveWorkspace;
|
|
62
|
+
let classes = isActiveWorkspace ? "menu-item active-workspace workspace-name" : "menu-item workspace-name";
|
|
63
|
+
return (React.createElement(MenuItem, { onClick: this.onClick, className: classes },
|
|
64
|
+
React.createElement("div", { className: "menu-item-row" },
|
|
65
|
+
showSpinner && React.createElement("span", { className: "fsbl-loader" }, "Loading..."),
|
|
66
|
+
!showSpinner && dragHandle && dragHandle.iconClass && React.createElement("span", { className: dragHandle.iconClass }),
|
|
67
|
+
React.createElement("span", { className: "workspace-name", title: workspace.name }, workspace.name),
|
|
68
|
+
React.createElement("div", { className: "menu-item-row-push-right" },
|
|
69
|
+
!isActiveWorkspace && !workspace.permanent && React.createElement(RemoveWorkspace, { workspace: workspace }),
|
|
70
|
+
React.createElement(FavoriteMaker, { id: workspace.name, name: workspace.name, category: "Workspace", className: "menu-item-icon" })))));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=Workspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Workspace.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/workspaceManagementMenu/components/Workspace.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE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ChartIQ, Inc.\n * All rights reserved.\n * This is a single workspace. When clicked, it requests that the app switch to the clicked workspace.\n */\n\nimport React from \"react\";\nimport { MenuItem } from \"../../../menu/MenuItem\";\nimport { Actions as WorkspaceManagementMenuActions } from \"../stores/workspaceManagementMenuStore\";\nimport { FavoriteMaker } from \"../../../favorites/FavoriteMaker\";\nimport { useFavorites } from \"../../../../hooks/useFavorites\";\nimport { Workspace as WorkspaceType } from \"@finsemble/finsemble-api/types/services/workspace/types\";\n\ntype WorkspaceActionType = WorkspaceType & {\n\tpermanent?: boolean;\n};\n\ninterface RemoveWorkspaceProps {\n\tworkspace: WorkspaceActionType;\n}\n\nconst RemoveWorkspace = (props: RemoveWorkspaceProps) => {\n\tconst { workspace } = props;\n\tconst { isFavorited, removeFavorite } = useFavorites();\n\tconst actuallyRemoveWorkspace = (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\t\te.stopPropagation();\n\t\t// Trigger the remove. This will throw a dialog. It will return a boolean\n\t\t// for whether it was or was not deleted.\n\t\t// If the thing was deleted, remove it from favorites.\n\t\tWorkspaceManagementMenuActions.removeWorkspace(workspace, (wasDeleted) => {\n\t\t\tif (wasDeleted && isFavorited(workspace.name)) {\n\t\t\t\tremoveFavorite(workspace.name);\n\t\t\t}\n\t\t});\n\t};\n\n\treturn (\n\t\t<span role=\"button\" tabIndex={0} onClick={actuallyRemoveWorkspace} className=\"menu-item-icon\">\n\t\t\t<i className=\"ff-adp-trash-outline\" title=\"Delete\"></i>\n\t\t</span>\n\t);\n};\n\ninterface IProps {\n\tisSwitchingWorkspaces: boolean;\n\tisActiveWorkspace: boolean;\n\tdragHandle: { iconClass: string };\n\tworkspace: WorkspaceActionType;\n\tmainAction: (data: { name: string }) => void;\n}\n\nexport default class Workspace extends React.Component<IProps> {\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.bindCorrectContext();\n\t}\n\n\t/**\n\t * This is necessary to make sure that the `this` inside of the callback is correct.\n\t *\n\t * @memberof Workspace\n\t */\n\tbindCorrectContext() {\n\t\tthis.onClick = this.onClick.bind(this);\n\t}\n\n\t/**\n\t * When the main body of the component is clicked, we fire off the mainAction. By default this is to switch workspaces.\n\t *\n\t * @memberof Workspace\n\t */\n\tonClick() {\n\t\tthis.props.mainAction({\n\t\t\tname: this.props.workspace.name,\n\t\t});\n\t}\n\n\t/**\n\t * Render method.\n\t *\n\t * @returns\n\t * @memberof Workspace\n\t */\n\trender() {\n\t\tconst { isSwitchingWorkspaces, workspace, isActiveWorkspace, dragHandle } = this.props;\n\n\t\t// Actions are remove and pin workspace.\n\n\t\tconst showSpinner = isSwitchingWorkspaces && isActiveWorkspace;\n\n\t\tlet classes = isActiveWorkspace ? \"menu-item active-workspace workspace-name\" : \"menu-item workspace-name\";\n\n\t\treturn (\n\t\t\t<MenuItem onClick={this.onClick} className={classes}>\n\t\t\t\t<div className=\"menu-item-row\">\n\t\t\t\t\t{showSpinner && <span className=\"fsbl-loader\">Loading...</span>}\n\t\t\t\t\t{!showSpinner && dragHandle && dragHandle.iconClass && <span className={dragHandle.iconClass}></span>}\n\t\t\t\t\t<span className=\"workspace-name\" title={workspace.name}>\n\t\t\t\t\t\t{workspace.name}\n\t\t\t\t\t</span>\n\t\t\t\t\t<div className=\"menu-item-row-push-right\">\n\t\t\t\t\t\t{!isActiveWorkspace && !workspace.permanent && <RemoveWorkspace workspace={workspace} />}\n\t\t\t\t\t\t<FavoriteMaker\n\t\t\t\t\t\t\tid={workspace.name}\n\t\t\t\t\t\t\tname={workspace.name}\n\t\t\t\t\t\t\tcategory={\"Workspace\"}\n\t\t\t\t\t\t\tclassName=\"menu-item-icon\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</MenuItem>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is the list of actions the user can take; it's placed above the list of workspaces..
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
interface IProps {
|
|
8
|
+
}
|
|
9
|
+
declare type UserActionsType = {
|
|
10
|
+
method: () => void;
|
|
11
|
+
label: string;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
export default class WorkspaceActions extends React.Component<IProps> {
|
|
15
|
+
userActions: UserActionsType[];
|
|
16
|
+
constructor(props: IProps);
|
|
17
|
+
/**
|
|
18
|
+
* Blurs window. Pops up a dialog asking for a name for the new workspace.
|
|
19
|
+
*
|
|
20
|
+
* @memberof WorkspaceActions
|
|
21
|
+
*/
|
|
22
|
+
createWorkspace(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Blurs window. Persists activeWorkspace to the storage.
|
|
25
|
+
*
|
|
26
|
+
* @memberof WorkspaceActions
|
|
27
|
+
*/
|
|
28
|
+
saveWorkspace(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Blurs window. Pops up a dialog asking for a name for the new workspace.
|
|
31
|
+
*
|
|
32
|
+
* @memberof WorkspaceActions
|
|
33
|
+
*/
|
|
34
|
+
saveWorkspaceAs(): void;
|
|
35
|
+
showPreferences(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Render method.
|
|
38
|
+
*
|
|
39
|
+
* @returns
|
|
40
|
+
* @memberof WorkspaceActions
|
|
41
|
+
*/
|
|
42
|
+
render(): JSX.Element;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is the list of actions the user can take; it's placed above the list of workspaces..
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { Actions as WorkspaceManagementMenuActions } from "../stores/workspaceManagementMenuStore";
|
|
8
|
+
import { MenuItem } from "../../../menu/MenuItem";
|
|
9
|
+
export default class WorkspaceActions extends React.Component {
|
|
10
|
+
constructor(props) {
|
|
11
|
+
super(props);
|
|
12
|
+
this.userActions = [
|
|
13
|
+
{
|
|
14
|
+
method: this.createWorkspace,
|
|
15
|
+
label: "New workspace",
|
|
16
|
+
id: "NewWorkspace",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
method: this.saveWorkspace,
|
|
20
|
+
label: "Save",
|
|
21
|
+
id: "SaveWorkspace",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
method: this.saveWorkspaceAs,
|
|
25
|
+
label: "Save as",
|
|
26
|
+
id: "SaveWorkspaceAs",
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Blurs window. Pops up a dialog asking for a name for the new workspace.
|
|
32
|
+
*
|
|
33
|
+
* @memberof WorkspaceActions
|
|
34
|
+
*/
|
|
35
|
+
createWorkspace() {
|
|
36
|
+
WorkspaceManagementMenuActions.blurWindow();
|
|
37
|
+
WorkspaceManagementMenuActions.newWorkspace();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Blurs window. Persists activeWorkspace to the storage.
|
|
41
|
+
*
|
|
42
|
+
* @memberof WorkspaceActions
|
|
43
|
+
*/
|
|
44
|
+
saveWorkspace() {
|
|
45
|
+
WorkspaceManagementMenuActions.blurWindow();
|
|
46
|
+
WorkspaceManagementMenuActions.saveWorkspace();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Blurs window. Pops up a dialog asking for a name for the new workspace.
|
|
50
|
+
*
|
|
51
|
+
* @memberof WorkspaceActions
|
|
52
|
+
*/
|
|
53
|
+
saveWorkspaceAs() {
|
|
54
|
+
WorkspaceManagementMenuActions.blurWindow();
|
|
55
|
+
WorkspaceManagementMenuActions.saveWorkspaceAs();
|
|
56
|
+
}
|
|
57
|
+
showPreferences() {
|
|
58
|
+
WorkspaceManagementMenuActions.blurWindow();
|
|
59
|
+
WorkspaceManagementMenuActions.showPreferences();
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Render method.
|
|
63
|
+
*
|
|
64
|
+
* @returns
|
|
65
|
+
* @memberof WorkspaceActions
|
|
66
|
+
*/
|
|
67
|
+
render() {
|
|
68
|
+
/**
|
|
69
|
+
* Iterates through the list of actions defined in the constructor, creating an `li` for each.
|
|
70
|
+
*/
|
|
71
|
+
return (React.createElement("div", { className: "menu-secondary workspace-actions" }, this.userActions.map((action, index) => (React.createElement(MenuItem, { key: index, onClick: action.method }, action.label)))));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=WorkspaceActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceActions.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAQlD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,KAAK,CAAC,SAAiB;IAGpE,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,WAAW,GAAG;YAClB;gBACC,MAAM,EAAE,IAAI,CAAC,eAAe;gBAC5B,KAAK,EAAE,eAAe;gBACtB,EAAE,EAAE,cAAc;aAClB;YACD;gBACC,MAAM,EAAE,IAAI,CAAC,aAAa;gBAC1B,KAAK,EAAE,MAAM;gBACb,EAAE,EAAE,eAAe;aACnB;YACD;gBACC,MAAM,EAAE,IAAI,CAAC,eAAe;gBAC5B,KAAK,EAAE,SAAS;gBAChB,EAAE,EAAE,iBAAiB;aACrB;SACD,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,eAAe;QACd,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC5C,8BAA8B,CAAC,YAAY,EAAE,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACH,aAAa;QACZ,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC5C,8BAA8B,CAAC,aAAa,EAAE,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACH,eAAe;QACd,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC5C,8BAA8B,CAAC,eAAe,EAAE,CAAC;IAClD,CAAC;IAED,eAAe;QACd,8BAA8B,CAAC,UAAU,EAAE,CAAC;QAC5C,8BAA8B,CAAC,eAAe,EAAE,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACH,MAAM;QACL;;WAEG;QACH,OAAO,CACN,6BAAK,SAAS,EAAC,kCAAkC,IAC/C,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CACxC,oBAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,IAC1C,MAAM,CAAC,KAAK,CACH,CACX,CAAC,CACG,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n * This is the list of actions the user can take; it's placed above the list of workspaces..\n */\nimport React from \"react\";\nimport { Actions as WorkspaceManagementMenuActions } from \"../stores/workspaceManagementMenuStore\";\nimport { MenuItem } from \"../../../menu/MenuItem\";\n\ninterface IProps {}\ntype UserActionsType = {\n\tmethod: () => void;\n\tlabel: string;\n\tid: string;\n};\nexport default class WorkspaceActions extends React.Component<IProps> {\n\tuserActions: UserActionsType[];\n\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.userActions = [\n\t\t\t{\n\t\t\t\tmethod: this.createWorkspace,\n\t\t\t\tlabel: \"New workspace\",\n\t\t\t\tid: \"NewWorkspace\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tmethod: this.saveWorkspace,\n\t\t\t\tlabel: \"Save\",\n\t\t\t\tid: \"SaveWorkspace\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tmethod: this.saveWorkspaceAs,\n\t\t\t\tlabel: \"Save as\",\n\t\t\t\tid: \"SaveWorkspaceAs\",\n\t\t\t},\n\t\t];\n\t}\n\n\t/**\n\t * Blurs window. Pops up a dialog asking for a name for the new workspace.\n\t *\n\t * @memberof WorkspaceActions\n\t */\n\tcreateWorkspace() {\n\t\tWorkspaceManagementMenuActions.blurWindow();\n\t\tWorkspaceManagementMenuActions.newWorkspace();\n\t}\n\n\t/**\n\t * Blurs window. Persists activeWorkspace to the storage.\n\t *\n\t * @memberof WorkspaceActions\n\t */\n\tsaveWorkspace() {\n\t\tWorkspaceManagementMenuActions.blurWindow();\n\t\tWorkspaceManagementMenuActions.saveWorkspace();\n\t}\n\n\t/**\n\t * Blurs window. Pops up a dialog asking for a name for the new workspace.\n\t *\n\t * @memberof WorkspaceActions\n\t */\n\tsaveWorkspaceAs() {\n\t\tWorkspaceManagementMenuActions.blurWindow();\n\t\tWorkspaceManagementMenuActions.saveWorkspaceAs();\n\t}\n\n\tshowPreferences() {\n\t\tWorkspaceManagementMenuActions.blurWindow();\n\t\tWorkspaceManagementMenuActions.showPreferences();\n\t}\n\n\t/**\n\t * Render method.\n\t *\n\t * @returns\n\t * @memberof WorkspaceActions\n\t */\n\trender() {\n\t\t/**\n\t\t * Iterates through the list of actions defined in the constructor, creating an `li` for each.\n\t\t */\n\t\treturn (\n\t\t\t<div className=\"menu-secondary workspace-actions\">\n\t\t\t\t{this.userActions.map((action, index) => (\n\t\t\t\t\t<MenuItem key={index} onClick={action.method}>\n\t\t\t\t\t\t{action.label}\n\t\t\t\t\t</MenuItem>\n\t\t\t\t))}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is a list of workspaces that the user can click on, loading them.
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { Workspace as WorkspaceType } from "@finsemble/finsemble-api/types/services/workspace/types";
|
|
8
|
+
interface IProps {
|
|
9
|
+
isSwitchingWorkspaces: boolean;
|
|
10
|
+
activeWorkspace: WorkspaceType;
|
|
11
|
+
workspaces: WorkspaceType[];
|
|
12
|
+
}
|
|
13
|
+
declare type ReorderType = {
|
|
14
|
+
oldIndex: number;
|
|
15
|
+
newIndex: number;
|
|
16
|
+
};
|
|
17
|
+
export default class WorkspaceList extends React.Component<IProps> {
|
|
18
|
+
constructor(props: IProps);
|
|
19
|
+
onDragEnd({ oldIndex, newIndex }: ReorderType): void;
|
|
20
|
+
render(): JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* This is a list of workspaces that the user can click on, loading them.
|
|
5
|
+
*/
|
|
6
|
+
import React from "react";
|
|
7
|
+
import Workspace from "./Workspace";
|
|
8
|
+
import { Actions } from "../stores/workspaceManagementMenuStore";
|
|
9
|
+
import { FinsembleDraggable } from "../../../legacyControls/FinsembleDraggable";
|
|
10
|
+
import { FinsembleDnDContext } from "../../../legacyControls/FinsembleDnDContext";
|
|
11
|
+
export default class WorkspaceList extends React.Component {
|
|
12
|
+
constructor(props) {
|
|
13
|
+
super(props);
|
|
14
|
+
this.onDragEnd = this.onDragEnd.bind(this);
|
|
15
|
+
}
|
|
16
|
+
onDragEnd({ oldIndex, newIndex }) {
|
|
17
|
+
Actions.reorderWorkspaceList({ oldIndex, newIndex });
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const { isSwitchingWorkspaces, activeWorkspace } = this.props;
|
|
21
|
+
let workspaces = this.props.workspaces.map((workspace, i) => {
|
|
22
|
+
// Separate array for each workspace. This way, the activeWorkspace can be rendered without a trashcan.
|
|
23
|
+
let isActiveWorkspace = workspace.name === activeWorkspace.name;
|
|
24
|
+
const dragHandle = { iconClass: "ff-adp-hamburger" };
|
|
25
|
+
return (React.createElement(FinsembleDraggable, { index: i, key: i, draggableId: workspace.name },
|
|
26
|
+
React.createElement(Workspace, { key: i, isActiveWorkspace: isActiveWorkspace, dragHandle: dragHandle, workspace: workspace, mainAction: Actions.switchToWorkspace, isSwitchingWorkspaces: isSwitchingWorkspaces })));
|
|
27
|
+
});
|
|
28
|
+
return (React.createElement(FinsembleDnDContext, { onDragEnd: this.onDragEnd, className: "workspace-list" }, workspaces));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=WorkspaceList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceList.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/workspaceManagementMenu/components/WorkspaceList.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAalF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAiB;IACjE,YAAY,KAAa;QACxB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAe;QAC5C,OAAO,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,MAAM;QACL,MAAM,EAAE,qBAAqB,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9D,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE;YAC3D,uGAAuG;YACvG,IAAI,iBAAiB,GAAG,SAAS,CAAC,IAAI,KAAK,eAAe,CAAC,IAAI,CAAC;YAChE,MAAM,UAAU,GAAG,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;YAErD,OAAO,CACN,oBAAC,kBAAkB,IAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,WAAW,EAAE,SAAS,CAAC,IAAI;gBAChE,oBAAC,SAAS,IACT,GAAG,EAAE,CAAC,EACN,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,OAAO,CAAC,iBAAiB,EACrC,qBAAqB,EAAE,qBAAqB,GAC3C,CACkB,CACrB,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,CACN,oBAAC,mBAAmB,IAAC,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,EAAC,gBAAgB,IACxE,UAAU,CACU,CACtB,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n * This is a list of workspaces that the user can click on, loading them.\n */\nimport React from \"react\";\nimport Workspace from \"./Workspace\";\nimport { Actions } from \"../stores/workspaceManagementMenuStore\";\nimport { FinsembleDraggable } from \"../../../legacyControls/FinsembleDraggable\";\nimport { FinsembleDnDContext } from \"../../../legacyControls/FinsembleDnDContext\";\nimport { Workspace as WorkspaceType } from \"@finsemble/finsemble-api/types/services/workspace/types\";\n\ninterface IProps {\n\tisSwitchingWorkspaces: boolean;\n\tactiveWorkspace: WorkspaceType;\n\tworkspaces: WorkspaceType[];\n}\n\ntype ReorderType = {\n\toldIndex: number;\n\tnewIndex: number;\n};\nexport default class WorkspaceList extends React.Component<IProps> {\n\tconstructor(props: IProps) {\n\t\tsuper(props);\n\t\tthis.onDragEnd = this.onDragEnd.bind(this);\n\t}\n\n\tonDragEnd({ oldIndex, newIndex }: ReorderType) {\n\t\tActions.reorderWorkspaceList({ oldIndex, newIndex });\n\t}\n\n\trender() {\n\t\tconst { isSwitchingWorkspaces, activeWorkspace } = this.props;\n\t\tlet workspaces = this.props.workspaces.map((workspace, i) => {\n\t\t\t// Separate array for each workspace. This way, the activeWorkspace can be rendered without a trashcan.\n\t\t\tlet isActiveWorkspace = workspace.name === activeWorkspace.name;\n\t\t\tconst dragHandle = { iconClass: \"ff-adp-hamburger\" };\n\n\t\t\treturn (\n\t\t\t\t<FinsembleDraggable index={i} key={i} draggableId={workspace.name}>\n\t\t\t\t\t<Workspace\n\t\t\t\t\t\tkey={i}\n\t\t\t\t\t\tisActiveWorkspace={isActiveWorkspace}\n\t\t\t\t\t\tdragHandle={dragHandle}\n\t\t\t\t\t\tworkspace={workspace}\n\t\t\t\t\t\tmainAction={Actions.switchToWorkspace}\n\t\t\t\t\t\tisSwitchingWorkspaces={isSwitchingWorkspaces}\n\t\t\t\t\t/>\n\t\t\t\t</FinsembleDraggable>\n\t\t\t);\n\t\t});\n\n\t\treturn (\n\t\t\t<FinsembleDnDContext onDragEnd={this.onDragEnd} className=\"workspace-list\">\n\t\t\t\t{workspaces}\n\t\t\t</FinsembleDnDContext>\n\t\t);\n\t}\n}\n"]}
|