@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,262 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import async from "async";
|
|
6
|
+
let appLauncherStore;
|
|
7
|
+
let COMPONENT_UPDATE_CHANNEL;
|
|
8
|
+
const Actions = {
|
|
9
|
+
componentList: {},
|
|
10
|
+
initialize: function (cb) {
|
|
11
|
+
async.parallel([
|
|
12
|
+
Actions.initializeComponentList,
|
|
13
|
+
Actions.getUserDefinedComponentList,
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
15
|
+
setupHotkeys,
|
|
16
|
+
], (err) => {
|
|
17
|
+
if (err) {
|
|
18
|
+
console.error(err);
|
|
19
|
+
}
|
|
20
|
+
FSBL.Clients.Logger.system.debug("Actions.initialize done");
|
|
21
|
+
cb();
|
|
22
|
+
});
|
|
23
|
+
},
|
|
24
|
+
getComponentList(cb) {
|
|
25
|
+
FSBL.Clients.LauncherClient.getComponentList((err, response) => {
|
|
26
|
+
if (typeof err === "string") {
|
|
27
|
+
throw new Error(err);
|
|
28
|
+
}
|
|
29
|
+
// Each AppLauncher
|
|
30
|
+
FSBL.Clients.Logger.system.debug("getComponentList from LauncherClient", response);
|
|
31
|
+
Actions.filterComponents(response);
|
|
32
|
+
if (cb) {
|
|
33
|
+
cb();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
initializeComponentList(cb) {
|
|
38
|
+
const self = Actions;
|
|
39
|
+
let firstTime = true;
|
|
40
|
+
// When an app launcher button is clicked, it sends over the types of components that the app launcher can spawn. We assign that data to an object in the windowClient, and then use that to render the app launcher.
|
|
41
|
+
FSBL.Clients.RouterClient.subscribe(COMPONENT_UPDATE_CHANNEL, (_err, response) => {
|
|
42
|
+
if (!FSBL.Clients.WindowClient.options.customData.spawnData) {
|
|
43
|
+
FSBL.Clients.WindowClient.options.customData.spawnData = {};
|
|
44
|
+
}
|
|
45
|
+
Object.assign(FSBL.Clients.WindowClient.options.customData.spawnData, response.data);
|
|
46
|
+
if (firstTime) {
|
|
47
|
+
// only update component list the first time to eliminate re-rendering the menu
|
|
48
|
+
Actions.getComponentList(cb);
|
|
49
|
+
firstTime = false;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
// Whenever we add or remove a component, this event is fired. We get a list of all components, then filter it out to include only the ones that this particular launcher is capable of spawning.
|
|
53
|
+
FSBL.Clients.RouterClient.subscribe("Launcher.update", (err, response) => {
|
|
54
|
+
FSBL.Clients.Logger.system.debug("list updated", err, response);
|
|
55
|
+
if (err) {
|
|
56
|
+
return console.error(err);
|
|
57
|
+
}
|
|
58
|
+
self.filterComponents(response.data.componentList);
|
|
59
|
+
});
|
|
60
|
+
},
|
|
61
|
+
// get quick components that the user created from storage.
|
|
62
|
+
getUserDefinedComponentList(cb) {
|
|
63
|
+
return cb();
|
|
64
|
+
},
|
|
65
|
+
// saves quick components
|
|
66
|
+
saveCustomComponents() {
|
|
67
|
+
const UDCs = {};
|
|
68
|
+
const components = Object.keys(Actions.componentList);
|
|
69
|
+
for (let i = 0; i < components.length; i++) {
|
|
70
|
+
const config = Actions.componentList[components[i]];
|
|
71
|
+
if (config.component && config.component.isUserDefined) {
|
|
72
|
+
UDCs[config.component.type] = config;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
FSBL.Clients.StorageClient.save({
|
|
76
|
+
topic: "finsemble",
|
|
77
|
+
key: "userDefinedComponents",
|
|
78
|
+
value: UDCs,
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
/**
|
|
82
|
+
* Produce a filtered component list based on the settings for this menu (either "mode" or "list").
|
|
83
|
+
*
|
|
84
|
+
* Components will only be added to the returned list if they match the specified mode or
|
|
85
|
+
* are found in the specified list
|
|
86
|
+
*/
|
|
87
|
+
processSettings(settings, components) {
|
|
88
|
+
let componentList = {};
|
|
89
|
+
const keys = Object.keys(components);
|
|
90
|
+
if (settings.mode) {
|
|
91
|
+
const settingsMode = Array.isArray(settings.mode) ? settings.mode : [settings.mode];
|
|
92
|
+
keys.forEach((componentType) => {
|
|
93
|
+
var _a;
|
|
94
|
+
const config = components[componentType];
|
|
95
|
+
const mode = ((_a = config === null || config === void 0 ? void 0 : config.component) === null || _a === void 0 ? void 0 : _a.mode) || [""];
|
|
96
|
+
const coponentMode = Array.isArray(mode) ? mode : [mode];
|
|
97
|
+
const commonModes = coponentMode.filter((n) => settingsMode.indexOf(n) !== -1);
|
|
98
|
+
// If the current mode isn't in the list of modes for the component then don't include it in our list
|
|
99
|
+
if (commonModes.length) {
|
|
100
|
+
componentList[componentType] = components[componentType];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
if (settings.list) {
|
|
105
|
+
const commonItems = settings.list.filter((n) => keys.indexOf(n) !== -1);
|
|
106
|
+
for (let i = 0; i < commonItems.length; i++) {
|
|
107
|
+
componentList[commonItems[i]] = components[commonItems[i]];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return componentList;
|
|
111
|
+
},
|
|
112
|
+
// This filters components based on the mode and list settings in customData
|
|
113
|
+
// Available settings are list - where you list specific individual component Types, mode - which piggybacks on config.mode and lists all components where the mode matches
|
|
114
|
+
// If neither mode not list are set, all components are shown
|
|
115
|
+
// Custom Components are always shown
|
|
116
|
+
filterComponents(components = {}) {
|
|
117
|
+
var _a;
|
|
118
|
+
const settings = (_a = FSBL.Clients.WindowClient.getSpawnData()) !== null && _a !== void 0 ? _a : {};
|
|
119
|
+
this.componentList = settings.mode || settings.list ? this.processSettings(settings, components) : components;
|
|
120
|
+
FSBL.Clients.Logger.system.debug("appLauncher filterComponents", this.componentList, "settings", settings, "customData", FSBL.Clients.WindowClient.options.customData);
|
|
121
|
+
appLauncherStore === null || appLauncherStore === void 0 ? void 0 : appLauncherStore.setValue({
|
|
122
|
+
field: "componentList",
|
|
123
|
+
value: this.componentList,
|
|
124
|
+
});
|
|
125
|
+
this.saveCustomComponents();
|
|
126
|
+
},
|
|
127
|
+
// Handler for when the user wants to remove a quick component.
|
|
128
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
129
|
+
handleRemoveCustomComponent(componentName, cb = (wasDeconsted) => { }) {
|
|
130
|
+
const self = this;
|
|
131
|
+
FSBL.Clients.DialogManager.open("yesNo", {
|
|
132
|
+
title: "Delete this App?",
|
|
133
|
+
question: `Are you sure you would like to delete "${componentName}"?`,
|
|
134
|
+
affirmativeResponseLabel: "Delete",
|
|
135
|
+
showNegativeButton: false,
|
|
136
|
+
}, (err, response) => {
|
|
137
|
+
// If the user chooses "affirmative" then delete the component.
|
|
138
|
+
// We should never get an error, but if we do then go ahead and delete the component too.
|
|
139
|
+
if (err || response.choice === "affirmative") {
|
|
140
|
+
cb(true);
|
|
141
|
+
self.removeCustomComponent(componentName);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
cb(false);
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
// Remove the component, notify others.
|
|
149
|
+
removeCustomComponent(componentName) {
|
|
150
|
+
FSBL.Clients.LauncherClient.removeUserDefinedComponent({
|
|
151
|
+
name: componentName,
|
|
152
|
+
}, (err) => {
|
|
153
|
+
if (err) {
|
|
154
|
+
return console.error(err);
|
|
155
|
+
}
|
|
156
|
+
Actions.getComponentList();
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
// Hide the window.
|
|
160
|
+
hideWindow() {
|
|
161
|
+
finsembleWindow.hide();
|
|
162
|
+
},
|
|
163
|
+
// Spawn a component.
|
|
164
|
+
launchComponent(config, params, cb) {
|
|
165
|
+
// Actions.hideWindow();
|
|
166
|
+
const defaultParams = {
|
|
167
|
+
addToWorkspace: true,
|
|
168
|
+
monitor: "mine",
|
|
169
|
+
options: { customData: {} },
|
|
170
|
+
};
|
|
171
|
+
params = Object.assign(defaultParams, params);
|
|
172
|
+
if (!params.options.customData) {
|
|
173
|
+
params.options.customData = {};
|
|
174
|
+
}
|
|
175
|
+
if (!params.options.customData.component) {
|
|
176
|
+
params.options.customData.component = {};
|
|
177
|
+
}
|
|
178
|
+
if (config.component.windowGroup) {
|
|
179
|
+
params.groupName = config.component.windowGroup;
|
|
180
|
+
}
|
|
181
|
+
FSBL.Clients.LauncherClient.spawn(config.component.type, params, (_err, windowInfo) => {
|
|
182
|
+
if (cb) {
|
|
183
|
+
cb(windowInfo === null || windowInfo === void 0 ? void 0 : windowInfo.windowIdentifier);
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
function createLocalStore(done) {
|
|
189
|
+
const defaultData = {
|
|
190
|
+
componentList: {},
|
|
191
|
+
monitorDimensions: {},
|
|
192
|
+
};
|
|
193
|
+
FSBL.Clients.DistributedStoreClient.createStore({ store: "Finsemble-AppLauncher-Local-Store", values: defaultData }, (_err, store) => {
|
|
194
|
+
appLauncherStore = store;
|
|
195
|
+
done();
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
function getWindowGroupStore(done) {
|
|
199
|
+
FSBL.Clients.DistributedStoreClient.createStore({ global: true, store: "Finsemble-WindowGroups" }, () => {
|
|
200
|
+
done();
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
function initialize(cb) {
|
|
204
|
+
COMPONENT_UPDATE_CHANNEL = `${finsembleWindow.name}.ComponentsToRender`;
|
|
205
|
+
FSBL.Clients.RouterClient.addPubSubResponder(COMPONENT_UPDATE_CHANNEL, {});
|
|
206
|
+
async.parallel([createLocalStore, getWindowGroupStore, Actions.initialize], (err) => {
|
|
207
|
+
if (err) {
|
|
208
|
+
console.error(err);
|
|
209
|
+
}
|
|
210
|
+
FSBL.Clients.Logger.system.debug("appLauncherstore init done");
|
|
211
|
+
cb(appLauncherStore);
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
const keys = {};
|
|
215
|
+
function setupHotkeys(cb) {
|
|
216
|
+
FSBL.Clients.RouterClient.subscribe("humanInterface.keydown", (_err, response) => {
|
|
217
|
+
if (!keys[response.data.key]) {
|
|
218
|
+
keys[response.data.key] = {};
|
|
219
|
+
}
|
|
220
|
+
keys[response.data.key] = true;
|
|
221
|
+
if (keys[160] && keys[162] && keys[68] && Actions.componentList["Advanced Chart"]) {
|
|
222
|
+
FSBL.Clients.LauncherClient.spawn("Advanced Chart", { addToWorkspace: true, monitor: "mine" });
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
FSBL.Clients.RouterClient.subscribe("humanInterface.keyup", (_err, response) => {
|
|
226
|
+
if (!keys[response.data.key]) {
|
|
227
|
+
keys[response.data.key] = {};
|
|
228
|
+
}
|
|
229
|
+
keys[response.data.key] = false;
|
|
230
|
+
});
|
|
231
|
+
return cb();
|
|
232
|
+
}
|
|
233
|
+
const getStore = () => appLauncherStore;
|
|
234
|
+
class StoreManager {
|
|
235
|
+
constructor() {
|
|
236
|
+
this.initialized = false;
|
|
237
|
+
this.initializing = false;
|
|
238
|
+
this.callbacks = [];
|
|
239
|
+
this.store = null;
|
|
240
|
+
}
|
|
241
|
+
initialize() {
|
|
242
|
+
if (this.initializing)
|
|
243
|
+
return;
|
|
244
|
+
this.initializing = true;
|
|
245
|
+
initialize((store) => {
|
|
246
|
+
this.initialized = true;
|
|
247
|
+
this.store = store;
|
|
248
|
+
this.callbacks.forEach((cb) => cb(store));
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
addInitializedListener(cb) {
|
|
252
|
+
if (this.initialized && this.store)
|
|
253
|
+
return cb(this.store);
|
|
254
|
+
this.callbacks.push(cb);
|
|
255
|
+
}
|
|
256
|
+
removeInitializedListener(cb) {
|
|
257
|
+
this.callbacks = this.callbacks.filter((entry) => entry !== cb);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
const storeManager = new StoreManager();
|
|
261
|
+
export { storeManager, initialize, appLauncherStore as Store, Actions, getStore };
|
|
262
|
+
//# sourceMappingURL=appLauncherStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appLauncherStore.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/appLauncher/stores/appLauncherStore.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\n\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\nimport { SpawnResponse } from \"@finsemble/finsemble-api/types/clients/launcherClient\";\nimport { StandardError } from \"@finsemble/finsemble-api/types/types\";\nimport async from \"async\";\nimport { WindowIdentifier } from \"@finsemble/finsemble-api\";\nlet appLauncherStore: StoreModel | undefined;\nlet COMPONENT_UPDATE_CHANNEL: string;\ntype VoidCallback = () => void;\ntype ComponentDescriptor = Record<string, any>;\ntype ComponentList = Record<string, ComponentDescriptor>;\n\nconst Actions = {\n\tcomponentList: {} as ComponentList,\n\tinitialize: function (cb: VoidCallback) {\n\t\tasync.parallel(\n\t\t\t[\n\t\t\t\tActions.initializeComponentList,\n\t\t\t\tActions.getUserDefinedComponentList,\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\t\t\tsetupHotkeys,\n\t\t\t],\n\t\t\t(err) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.error(err);\n\t\t\t\t}\n\t\t\t\tFSBL.Clients.Logger.system.debug(\"Actions.initialize done\");\n\t\t\t\tcb();\n\t\t\t}\n\t\t);\n\t},\n\tgetComponentList(cb?: VoidCallback) {\n\t\tFSBL.Clients.LauncherClient.getComponentList((err: StandardError, response) => {\n\t\t\tif (typeof err === \"string\") {\n\t\t\t\tthrow new Error(err);\n\t\t\t}\n\t\t\t// Each AppLauncher\n\t\t\tFSBL.Clients.Logger.system.debug(\"getComponentList from LauncherClient\", response);\n\t\t\tActions.filterComponents(response);\n\t\t\tif (cb) {\n\t\t\t\tcb();\n\t\t\t}\n\t\t});\n\t},\n\tinitializeComponentList(cb: VoidCallback) {\n\t\tconst self = Actions;\n\t\tlet firstTime = true;\n\n\t\t// When an app launcher button is clicked, it sends over the types of components that the app launcher can spawn. We assign that data to an object in the windowClient, and then use that to render the app launcher.\n\t\tFSBL.Clients.RouterClient.subscribe(COMPONENT_UPDATE_CHANNEL, (_err, response) => {\n\t\t\tif (!FSBL.Clients.WindowClient.options.customData.spawnData) {\n\t\t\t\tFSBL.Clients.WindowClient.options.customData.spawnData = {};\n\t\t\t}\n\t\t\tObject.assign(FSBL.Clients.WindowClient.options.customData.spawnData, response.data);\n\t\t\tif (firstTime) {\n\t\t\t\t// only update component list the first time to eliminate re-rendering the menu\n\t\t\t\tActions.getComponentList(cb);\n\t\t\t\tfirstTime = false;\n\t\t\t}\n\t\t});\n\n\t\t// Whenever we add or remove a component, this event is fired. We get a list of all components, then filter it out to include only the ones that this particular launcher is capable of spawning.\n\t\tFSBL.Clients.RouterClient.subscribe(\"Launcher.update\", (err, response) => {\n\t\t\tFSBL.Clients.Logger.system.debug(\"list updated\", err, response);\n\t\t\tif (err) {\n\t\t\t\treturn console.error(err);\n\t\t\t}\n\t\t\tself.filterComponents(response.data.componentList);\n\t\t});\n\t},\n\t// get quick components that the user created from storage.\n\tgetUserDefinedComponentList(cb: VoidCallback) {\n\t\treturn cb();\n\t},\n\t// saves quick components\n\tsaveCustomComponents() {\n\t\tconst UDCs: { [key: string]: any } = {};\n\t\tconst components = Object.keys(Actions.componentList);\n\t\tfor (let i = 0; i < components.length; i++) {\n\t\t\tconst config = Actions.componentList[components[i]];\n\t\t\tif (config.component && config.component.isUserDefined) {\n\t\t\t\tUDCs[config.component.type] = config;\n\t\t\t}\n\t\t}\n\t\tFSBL.Clients.StorageClient.save({\n\t\t\ttopic: \"finsemble\",\n\t\t\tkey: \"userDefinedComponents\",\n\t\t\tvalue: UDCs,\n\t\t});\n\t},\n\t/**\n\t * Produce a filtered component list based on the settings for this menu (either \"mode\" or \"list\").\n\t *\n\t * Components will only be added to the returned list if they match the specified mode or\n\t * are found in the specified list\n\t */\n\tprocessSettings(settings: any, components: ComponentList): ComponentList {\n\t\tlet componentList: ComponentList = {};\n\t\tconst keys = Object.keys(components);\n\t\tif (settings.mode) {\n\t\t\tconst settingsMode = Array.isArray(settings.mode) ? settings.mode : [settings.mode];\n\n\t\t\tkeys.forEach((componentType) => {\n\t\t\t\tconst config = components[componentType];\n\t\t\t\tconst mode = config?.component?.mode || [\"\"];\n\t\t\t\tconst coponentMode = Array.isArray(mode) ? mode : [mode];\n\n\t\t\t\tconst commonModes = coponentMode.filter((n: ComponentDescriptor) => settingsMode.indexOf(n) !== -1);\n\n\t\t\t\t// If the current mode isn't in the list of modes for the component then don't include it in our list\n\t\t\t\tif (commonModes.length) {\n\t\t\t\t\tcomponentList[componentType] = components[componentType];\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (settings.list) {\n\t\t\tconst commonItems = settings.list.filter((n: any) => keys.indexOf(n) !== -1);\n\n\t\t\tfor (let i = 0; i < commonItems.length; i++) {\n\t\t\t\tcomponentList[commonItems[i]] = components[commonItems[i]];\n\t\t\t}\n\t\t}\n\t\treturn componentList;\n\t},\n\t// This filters components based on the mode and list settings in customData\n\t// Available settings are list - where you list specific individual component Types, mode - which piggybacks on config.mode and lists all components where the mode matches\n\t// If neither mode not list are set, all components are shown\n\t// Custom Components are always shown\n\tfilterComponents(components: ComponentList = {}) {\n\t\tconst settings = FSBL.Clients.WindowClient.getSpawnData() ?? {};\n\t\tthis.componentList = settings.mode || settings.list ? this.processSettings(settings, components) : components;\n\n\t\tFSBL.Clients.Logger.system.debug(\n\t\t\t\"appLauncher filterComponents\",\n\t\t\tthis.componentList,\n\t\t\t\"settings\",\n\t\t\tsettings,\n\t\t\t\"customData\",\n\t\t\tFSBL.Clients.WindowClient.options.customData\n\t\t);\n\t\tappLauncherStore?.setValue({\n\t\t\tfield: \"componentList\",\n\t\t\tvalue: this.componentList,\n\t\t});\n\t\tthis.saveCustomComponents();\n\t},\n\t// Handler for when the user wants to remove a quick component.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\thandleRemoveCustomComponent(componentName: string, cb = (wasDeconsted: boolean) => {}) {\n\t\tconst self = this;\n\t\tFSBL.Clients.DialogManager.open(\n\t\t\t\"yesNo\",\n\t\t\t{\n\t\t\t\ttitle: \"Delete this App?\",\n\t\t\t\tquestion: `Are you sure you would like to delete \"${componentName}\"?`,\n\t\t\t\taffirmativeResponseLabel: \"Delete\",\n\t\t\t\tshowNegativeButton: false,\n\t\t\t},\n\t\t\t(err, response) => {\n\t\t\t\t// If the user chooses \"affirmative\" then delete the component.\n\t\t\t\t// We should never get an error, but if we do then go ahead and delete the component too.\n\t\t\t\tif (err || response.choice === \"affirmative\") {\n\t\t\t\t\tcb(true);\n\t\t\t\t\tself.removeCustomComponent(componentName);\n\t\t\t\t} else {\n\t\t\t\t\tcb(false);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t},\n\t// Remove the component, notify others.\n\tremoveCustomComponent(componentName: string) {\n\t\tFSBL.Clients.LauncherClient.removeUserDefinedComponent(\n\t\t\t{\n\t\t\t\tname: componentName,\n\t\t\t},\n\t\t\t(err) => {\n\t\t\t\tif (err) {\n\t\t\t\t\treturn console.error(err);\n\t\t\t\t}\n\t\t\t\tActions.getComponentList();\n\t\t\t}\n\t\t);\n\t},\n\t// Hide the window.\n\thideWindow() {\n\t\tfinsembleWindow.hide();\n\t},\n\t// Spawn a component.\n\tlaunchComponent(config: any, params: any, cb?: (win?: WindowIdentifier) => void) {\n\t\t// Actions.hideWindow();\n\t\tconst defaultParams = {\n\t\t\taddToWorkspace: true,\n\t\t\tmonitor: \"mine\",\n\t\t\toptions: { customData: {} },\n\t\t};\n\t\tparams = Object.assign(defaultParams, params);\n\t\tif (!params.options.customData) {\n\t\t\tparams.options.customData = {};\n\t\t}\n\t\tif (!params.options.customData.component) {\n\t\t\tparams.options.customData.component = {};\n\t\t}\n\t\tif (config.component.windowGroup) {\n\t\t\tparams.groupName = config.component.windowGroup;\n\t\t}\n\t\tFSBL.Clients.LauncherClient.spawn(\n\t\t\tconfig.component.type,\n\t\t\tparams,\n\t\t\t(_err: StandardError, windowInfo?: SpawnResponse) => {\n\t\t\t\tif (cb) {\n\t\t\t\t\tcb(windowInfo?.windowIdentifier);\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t},\n};\n\nfunction createLocalStore(done: VoidCallback) {\n\tconst defaultData = {\n\t\tcomponentList: {},\n\t\tmonitorDimensions: {},\n\t};\n\n\tFSBL.Clients.DistributedStoreClient.createStore(\n\t\t{ store: \"Finsemble-AppLauncher-Local-Store\", values: defaultData },\n\t\t(_err, store) => {\n\t\t\tappLauncherStore = store;\n\t\t\tdone();\n\t\t}\n\t);\n}\n\nfunction getWindowGroupStore(done: VoidCallback) {\n\tFSBL.Clients.DistributedStoreClient.createStore({ global: true, store: \"Finsemble-WindowGroups\" }, () => {\n\t\tdone();\n\t});\n}\n\nfunction initialize(cb: (store?: StoreModel) => void) {\n\tCOMPONENT_UPDATE_CHANNEL = `${finsembleWindow.name}.ComponentsToRender`;\n\tFSBL.Clients.RouterClient.addPubSubResponder(COMPONENT_UPDATE_CHANNEL, {});\n\tasync.parallel([createLocalStore, getWindowGroupStore, Actions.initialize], (err) => {\n\t\tif (err) {\n\t\t\tconsole.error(err);\n\t\t}\n\t\tFSBL.Clients.Logger.system.debug(\"appLauncherstore init done\");\n\t\tcb(appLauncherStore);\n\t});\n}\n\nconst keys: { [key: string]: any } = {};\nfunction setupHotkeys(cb: VoidCallback) {\n\tFSBL.Clients.RouterClient.subscribe(\"humanInterface.keydown\", (_err, response) => {\n\t\tif (!keys[response.data.key]) {\n\t\t\tkeys[response.data.key] = {};\n\t\t}\n\t\tkeys[response.data.key] = true;\n\t\tif (keys[160] && keys[162] && keys[68] && Actions.componentList[\"Advanced Chart\"]) {\n\t\t\tFSBL.Clients.LauncherClient.spawn(\"Advanced Chart\", { addToWorkspace: true, monitor: \"mine\" });\n\t\t}\n\t});\n\tFSBL.Clients.RouterClient.subscribe(\"humanInterface.keyup\", (_err, response) => {\n\t\tif (!keys[response.data.key]) {\n\t\t\tkeys[response.data.key] = {};\n\t\t}\n\t\tkeys[response.data.key] = false;\n\t});\n\n\treturn cb();\n}\n\nconst getStore = () => appLauncherStore;\n\nclass StoreManager {\n\tinitialized: boolean;\n\n\tinitializing: boolean;\n\n\tcallbacks: Function[];\n\n\tstore: StoreModel | undefined | null;\n\n\tconstructor() {\n\t\tthis.initialized = false;\n\t\tthis.initializing = false;\n\t\tthis.callbacks = [];\n\t\tthis.store = null;\n\t}\n\n\tinitialize() {\n\t\tif (this.initializing) return;\n\t\tthis.initializing = true;\n\t\tinitialize((store?: StoreModel) => {\n\t\t\tthis.initialized = true;\n\t\t\tthis.store = store;\n\t\t\tthis.callbacks.forEach((cb) => cb(store));\n\t\t});\n\t}\n\n\taddInitializedListener(cb: (store: StoreModel) => void) {\n\t\tif (this.initialized && this.store) return cb(this.store);\n\t\tthis.callbacks.push(cb);\n\t}\n\n\tremoveInitializedListener(cb: Function) {\n\t\tthis.callbacks = this.callbacks.filter((entry) => entry !== cb);\n\t}\n}\nconst storeManager = new StoreManager();\n\nexport { storeManager, initialize, appLauncherStore as Store, Actions, getStore };\n"]}
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { DashbarItem } from "./DashbarItem";
|
|
3
|
+
import { useDashbar } from "../../../hooks/useDashbar";
|
|
4
|
+
import { useToolbar } from "../../../hooks/useToolbar";
|
|
5
|
+
import { FinsembleDnDContext, AllowableDnDAxis } from "../../legacyControls/FinsembleDnDContext";
|
|
6
|
+
import clone from "lodash/cloneDeep";
|
|
7
|
+
import "../../../assets/css/dashbar.css";
|
|
8
|
+
let cachedWidgetTop;
|
|
9
|
+
let cachedWidgetHeight;
|
|
10
|
+
export const Dashbar = ({ className, children, widgetTitleGenerator }) => {
|
|
11
|
+
const { dashbarItems, reorderDashbarItems } = useDashbar();
|
|
12
|
+
const { launchPreferences } = useToolbar();
|
|
13
|
+
const [widgets, setWidgets] = useState({});
|
|
14
|
+
const [horizontalBounds, setHorizontalBounds] = useState(0);
|
|
15
|
+
const [wasReorganized, setReorganized] = useState(false);
|
|
16
|
+
const [totalWidgetsWidth, setTotalWidgetsWidth] = useState(0);
|
|
17
|
+
const [isUpdatingState, setIsUpdatingState] = useState(false);
|
|
18
|
+
const [secondUpdateRequired, setSecondUpdateRequired] = useState(false);
|
|
19
|
+
let movingIndex = null; // The dashbarItem index being dragged, null if none
|
|
20
|
+
let titleGrabPosition = null; // The mouse of event when a widget title is dragged
|
|
21
|
+
let offsetX = null; // The original grab location of a given view titlebar
|
|
22
|
+
const WIDGET_COUNT = Object.keys(widgets).length;
|
|
23
|
+
const SCROLL_BUTTON_DEFAULT_WIDTH = 30;
|
|
24
|
+
const defaultWidgetTitleGenerator = (widget, titleRef) => {
|
|
25
|
+
const handleWidgetTitleClick = () => {
|
|
26
|
+
if (widget.raiseIntentOptions) {
|
|
27
|
+
fdc3.raiseIntent(widget.raiseIntentOptions.intent, widget.raiseIntentOptions.context, widget.raiseIntentOptions.targetApp);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
return (React.createElement("div", { ref: titleRef, onClick: () => handleWidgetTitleClick() },
|
|
31
|
+
React.createElement("span", { dangerouslySetInnerHTML: { __html: widget.title } })));
|
|
32
|
+
};
|
|
33
|
+
const titleGenerator = widgetTitleGenerator !== null && widgetTitleGenerator !== void 0 ? widgetTitleGenerator : defaultWidgetTitleGenerator;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param {object} params
|
|
37
|
+
* @param {number} oldIndex The index of the item being moved
|
|
38
|
+
* @param {number} newIndex The index to move the item to
|
|
39
|
+
*/
|
|
40
|
+
const reorderItems = ({ oldIndex, newIndex }) => {
|
|
41
|
+
movingIndex = null;
|
|
42
|
+
titleGrabPosition = null;
|
|
43
|
+
offsetX = null;
|
|
44
|
+
setReorganized(true);
|
|
45
|
+
// Update the redux store
|
|
46
|
+
reorderDashbarItems({ oldIndex, newIndex });
|
|
47
|
+
};
|
|
48
|
+
const launchDashbar = () => {
|
|
49
|
+
launchPreferences("Dashbar");
|
|
50
|
+
};
|
|
51
|
+
const { dashbar } = FSBL.Clients.WindowClient.getSpawnData();
|
|
52
|
+
// Dashbar is disabled (no config in toolbar) or dashbar height is not specified
|
|
53
|
+
if (!dashbar || !dashbar.height) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
const toolbarHeight = finsembleWindow.windowOptions.height;
|
|
57
|
+
const dashbarHeight = `${dashbar.height}px`;
|
|
58
|
+
const verticalBounds = toolbarHeight - dashbar.height;
|
|
59
|
+
const widgetDividerWidth = dashbar.widgetDividerWidth || 0;
|
|
60
|
+
const wrapperClasses = `finsemble-dashbar ${className || ""}`.trim();
|
|
61
|
+
const getTotalWidth = () => {
|
|
62
|
+
let totalWidth = 0;
|
|
63
|
+
dashbarItems.forEach((item) => {
|
|
64
|
+
totalWidth = totalWidth + item.width;
|
|
65
|
+
});
|
|
66
|
+
return totalWidth;
|
|
67
|
+
};
|
|
68
|
+
const [leftButtonTooltip, setLeftButtonTooltip] = useState("");
|
|
69
|
+
const [rightButtonTooltip, setRightButtonTooltip] = useState("");
|
|
70
|
+
// For calculation widgets position that function uses the HTML elements.
|
|
71
|
+
// If something will be changed in HTML hierarchy for widgets, that function should be refactored.
|
|
72
|
+
const setWidgetsPositions = async () => {
|
|
73
|
+
var _a;
|
|
74
|
+
const { data: bounds } = await finsembleWindow.getBounds();
|
|
75
|
+
const scrollButtonsEnabled = document.querySelectorAll("#dashbar-container > .chevron-container").length > 0;
|
|
76
|
+
const elements = document.getElementsByClassName("finsemble-dashbar-item");
|
|
77
|
+
let toolbarWidth = (_a = bounds === null || bounds === void 0 ? void 0 : bounds.width) !== null && _a !== void 0 ? _a : 0;
|
|
78
|
+
let SCROLL_BUTTON_WIDTH = SCROLL_BUTTON_DEFAULT_WIDTH;
|
|
79
|
+
if (scrollButtonsEnabled) {
|
|
80
|
+
// Get actual width in case of client styling
|
|
81
|
+
SCROLL_BUTTON_WIDTH = document.querySelectorAll("#dashbar-container > .chevron-container")[0]
|
|
82
|
+
.offsetWidth;
|
|
83
|
+
toolbarWidth = toolbarWidth - 2 * SCROLL_BUTTON_WIDTH;
|
|
84
|
+
}
|
|
85
|
+
let tempLeft = 0;
|
|
86
|
+
let leftButtonSize = 0;
|
|
87
|
+
if (scrollButtonsEnabled) {
|
|
88
|
+
tempLeft = SCROLL_BUTTON_WIDTH;
|
|
89
|
+
leftButtonSize = SCROLL_BUTTON_WIDTH;
|
|
90
|
+
}
|
|
91
|
+
let leftItemsCount = 0;
|
|
92
|
+
let rightItemsCount = 0;
|
|
93
|
+
for (const dashbarItem of elements) {
|
|
94
|
+
// rect.width already contains the divider width
|
|
95
|
+
const rect = dashbarItem.getBoundingClientRect();
|
|
96
|
+
const dashbarItemFrame = dashbarItem.firstChild;
|
|
97
|
+
const widgetId = dashbarItemFrame.id;
|
|
98
|
+
const widget = widgets[widgetId];
|
|
99
|
+
// Happens when widgets were removed, but dom-elements still exists. So just ignore.
|
|
100
|
+
if (!widget)
|
|
101
|
+
continue;
|
|
102
|
+
if (rect.left < SCROLL_BUTTON_WIDTH && scrollButtonsEnabled) {
|
|
103
|
+
widget.bounds.width = 0;
|
|
104
|
+
widget.bounds.left = tempLeft;
|
|
105
|
+
leftItemsCount++;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
widget.bounds.width = rect.width - widgetDividerWidth;
|
|
109
|
+
widget.bounds.left = tempLeft;
|
|
110
|
+
tempLeft = tempLeft + rect.width;
|
|
111
|
+
}
|
|
112
|
+
let offsetRight = rect.left + rect.width - widgetDividerWidth - leftButtonSize - toolbarWidth;
|
|
113
|
+
if (offsetRight > 0) {
|
|
114
|
+
// hide title for invisible items
|
|
115
|
+
dashbarItemFrame.firstChild.style.visibility = "hidden";
|
|
116
|
+
widget.bounds.width = 0;
|
|
117
|
+
rightItemsCount++;
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
dashbarItemFrame.firstChild.style.visibility = "visible";
|
|
121
|
+
}
|
|
122
|
+
widget.view.setBounds(widget.bounds);
|
|
123
|
+
}
|
|
124
|
+
setLeftButtonTooltip(`${leftItemsCount} more`);
|
|
125
|
+
setRightButtonTooltip(`${rightItemsCount} more`);
|
|
126
|
+
};
|
|
127
|
+
const addWidgets = async () => {
|
|
128
|
+
const _widgets = clone(widgets);
|
|
129
|
+
let tempHorizontalBounds = horizontalBounds;
|
|
130
|
+
for (const item of dashbarItems) {
|
|
131
|
+
const widgetBounds = {
|
|
132
|
+
top: verticalBounds,
|
|
133
|
+
left: tempHorizontalBounds,
|
|
134
|
+
width: item.width - widgetDividerWidth,
|
|
135
|
+
height: item.height || dashbar.height,
|
|
136
|
+
};
|
|
137
|
+
if (!_widgets.hasOwnProperty(item.id)) {
|
|
138
|
+
const webContentsName = `(Dashbar) ${item.id}`;
|
|
139
|
+
const res = await finsembleWindow.addBrowserView({
|
|
140
|
+
url: item.url,
|
|
141
|
+
webContentsName,
|
|
142
|
+
bounds: widgetBounds,
|
|
143
|
+
allowAutoResize: false,
|
|
144
|
+
});
|
|
145
|
+
_widgets[item.id] = {
|
|
146
|
+
url: item.url,
|
|
147
|
+
title: item.title,
|
|
148
|
+
bounds: widgetBounds,
|
|
149
|
+
view: res,
|
|
150
|
+
width: item.width,
|
|
151
|
+
raiseIntentOptions: item.raiseIntentOptions,
|
|
152
|
+
};
|
|
153
|
+
tempHorizontalBounds = tempHorizontalBounds + item.width;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
setWidgets(_widgets);
|
|
157
|
+
setHorizontalBounds(tempHorizontalBounds);
|
|
158
|
+
};
|
|
159
|
+
const removeWidgets = async () => {
|
|
160
|
+
const _widgets = clone(widgets);
|
|
161
|
+
// Widgets is an object, with each key being a reference to an item in dashbarItems
|
|
162
|
+
// but dashbarItems is an array of objects. Its necessary to loop through them to determine
|
|
163
|
+
// the differences to figure out which items were removed.
|
|
164
|
+
const toRemove = [];
|
|
165
|
+
Object.keys(_widgets).forEach((widgetId) => {
|
|
166
|
+
let found = false;
|
|
167
|
+
for (let i = 0; i < dashbarItems.length; i++) {
|
|
168
|
+
const dashItem = dashbarItems[i];
|
|
169
|
+
if (dashItem.id === widgetId) {
|
|
170
|
+
found = true;
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (!found) {
|
|
175
|
+
toRemove.push(widgetId);
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
let tempNewHorizontalBounds = 0;
|
|
179
|
+
// toRemove is an array of widgetIds which were no longer found in dashbarItems
|
|
180
|
+
// As items are removed, the remaining items have to be shuffled to fill the space
|
|
181
|
+
for (const id of toRemove) {
|
|
182
|
+
if (_widgets.hasOwnProperty(id)) {
|
|
183
|
+
await _widgets[id].view.remove(() => {
|
|
184
|
+
delete _widgets[id];
|
|
185
|
+
// Shuffle remaining views to fill any gaps that were left
|
|
186
|
+
Object.values(_widgets).forEach((widget) => {
|
|
187
|
+
widget.bounds = {
|
|
188
|
+
width: widget.bounds.width,
|
|
189
|
+
height: widget.bounds.height,
|
|
190
|
+
left: tempNewHorizontalBounds,
|
|
191
|
+
top: widget.bounds.top,
|
|
192
|
+
};
|
|
193
|
+
widget.view.setBounds(widget.bounds);
|
|
194
|
+
tempNewHorizontalBounds = tempNewHorizontalBounds + widget.bounds.width;
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
FSBL.Clients.Logger.system.error(`Error removing widget: ${id} from dashbar`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
setWidgets(_widgets);
|
|
203
|
+
setHorizontalBounds(tempNewHorizontalBounds);
|
|
204
|
+
};
|
|
205
|
+
const reorganizeWidgets = () => {
|
|
206
|
+
const _widgets = clone(widgets);
|
|
207
|
+
// Each view needs to be resituated to fill any holes
|
|
208
|
+
// left by views that have been removed. Use a tempBounds
|
|
209
|
+
// int to keep track of new widths and set the overall width
|
|
210
|
+
// once everything is re-seated
|
|
211
|
+
let tempBounds = 0;
|
|
212
|
+
dashbarItems.forEach((item) => {
|
|
213
|
+
const widget = _widgets[item.id];
|
|
214
|
+
widget.bounds = {
|
|
215
|
+
height: cachedWidgetHeight || widget.bounds.height,
|
|
216
|
+
width: widget.bounds.width,
|
|
217
|
+
top: cachedWidgetTop || verticalBounds,
|
|
218
|
+
left: tempBounds,
|
|
219
|
+
};
|
|
220
|
+
widget.view.setBounds(widget.bounds);
|
|
221
|
+
delete _widgets[item.id];
|
|
222
|
+
_widgets[item.id] = widget;
|
|
223
|
+
tempBounds = tempBounds + item.width;
|
|
224
|
+
});
|
|
225
|
+
setReorganized(false);
|
|
226
|
+
setWidgets(_widgets);
|
|
227
|
+
setHorizontalBounds(tempBounds);
|
|
228
|
+
};
|
|
229
|
+
const updateItems = () => {
|
|
230
|
+
const doUpdate = async () => {
|
|
231
|
+
if (dashbarItems.length > WIDGET_COUNT) {
|
|
232
|
+
//Items have been added
|
|
233
|
+
await addWidgets();
|
|
234
|
+
setTotalWidgetsWidth(getTotalWidth());
|
|
235
|
+
}
|
|
236
|
+
else if (dashbarItems.length < WIDGET_COUNT) {
|
|
237
|
+
//Items have been removed
|
|
238
|
+
await removeWidgets();
|
|
239
|
+
setTotalWidgetsWidth(getTotalWidth());
|
|
240
|
+
}
|
|
241
|
+
else if (wasReorganized) {
|
|
242
|
+
if (movingIndex)
|
|
243
|
+
return;
|
|
244
|
+
// Length is the same, order has changed
|
|
245
|
+
reorganizeWidgets();
|
|
246
|
+
}
|
|
247
|
+
await setWidgetsPositions();
|
|
248
|
+
setIsUpdatingState(false);
|
|
249
|
+
};
|
|
250
|
+
if (isUpdatingState === false) {
|
|
251
|
+
setIsUpdatingState(true);
|
|
252
|
+
doUpdate();
|
|
253
|
+
}
|
|
254
|
+
else if (!secondUpdateRequired) {
|
|
255
|
+
setSecondUpdateRequired(true);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* When the distributed store's 'dashbaritems' is updated it will cause this hook to
|
|
260
|
+
* execute. The local representation of widgets will be mutated, then a call to
|
|
261
|
+
* setWidgets will re-render the component
|
|
262
|
+
*/
|
|
263
|
+
useEffect(() => {
|
|
264
|
+
updateItems();
|
|
265
|
+
}, [dashbarItems]);
|
|
266
|
+
/**
|
|
267
|
+
* DashbarItems can be changed very quickly before all widgets will be initialized.
|
|
268
|
+
* Double-calling updateItems() fixes a bug.
|
|
269
|
+
*/
|
|
270
|
+
useEffect(() => {
|
|
271
|
+
if (secondUpdateRequired && !isUpdatingState) {
|
|
272
|
+
updateItems();
|
|
273
|
+
setSecondUpdateRequired(false);
|
|
274
|
+
}
|
|
275
|
+
}, [isUpdatingState, secondUpdateRequired]);
|
|
276
|
+
/**
|
|
277
|
+
* Sets the title height as determined by the DashbarItem
|
|
278
|
+
* component, since the CSS can be changed by the user
|
|
279
|
+
* the component will render the title and pass back
|
|
280
|
+
* computed height of that title, then the Dashbar will
|
|
281
|
+
* make room for item
|
|
282
|
+
*
|
|
283
|
+
* @param {number} titleHeight The height of the span containing the title
|
|
284
|
+
* @param {string} id The key'ed id of the view
|
|
285
|
+
*/
|
|
286
|
+
const setTitleHeight = (titleHeight, id) => {
|
|
287
|
+
const _widgets = widgets;
|
|
288
|
+
const widget = _widgets[id];
|
|
289
|
+
if (cachedWidgetTop) {
|
|
290
|
+
titleHeight = 0;
|
|
291
|
+
}
|
|
292
|
+
const newBounds = {
|
|
293
|
+
top: cachedWidgetTop || widget.bounds.top + titleHeight,
|
|
294
|
+
left: widget.bounds.left,
|
|
295
|
+
height: cachedWidgetHeight || widget.bounds.height - titleHeight,
|
|
296
|
+
width: widget.bounds.width,
|
|
297
|
+
};
|
|
298
|
+
cachedWidgetTop = newBounds.top;
|
|
299
|
+
cachedWidgetHeight = newBounds.height;
|
|
300
|
+
widget.view.setBounds(newBounds);
|
|
301
|
+
widget.bounds = newBounds;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* When a view starts moving, bring it to the front
|
|
305
|
+
*
|
|
306
|
+
* @param {MouseEvent} event The event passed by react-sortable-hoc
|
|
307
|
+
*/
|
|
308
|
+
const startMove = (node, event) => {
|
|
309
|
+
movingIndex = node.index;
|
|
310
|
+
if (offsetX === null && titleGrabPosition !== null) {
|
|
311
|
+
offsetX = event.clientX - titleGrabPosition;
|
|
312
|
+
}
|
|
313
|
+
const widget = Object.values(widgets)[node.index];
|
|
314
|
+
widget.view.bringToFront();
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Event triggered by view movement
|
|
318
|
+
*
|
|
319
|
+
* @param {MouseEvent} event
|
|
320
|
+
*/
|
|
321
|
+
const moveItem = (event) => {
|
|
322
|
+
if (movingIndex !== null) {
|
|
323
|
+
const movingWidget = Object.values(widgets)[movingIndex];
|
|
324
|
+
movingWidget.view.setBounds({
|
|
325
|
+
top: movingWidget.bounds.top,
|
|
326
|
+
height: movingWidget.bounds.height,
|
|
327
|
+
width: movingWidget.bounds.width,
|
|
328
|
+
left: event.clientX - (offsetX || 0),
|
|
329
|
+
});
|
|
330
|
+
// Some completely not react very hacky stuff to make browserviews move in conjunction with the titles
|
|
331
|
+
const elements = document.getElementsByClassName("dashbar-item-frame");
|
|
332
|
+
for (const element of elements) {
|
|
333
|
+
const rect = element.getBoundingClientRect();
|
|
334
|
+
const widget = widgets[element.id];
|
|
335
|
+
if (widget !== movingWidget && widget.bounds.left !== rect.left) {
|
|
336
|
+
widget.bounds.left = rect.left;
|
|
337
|
+
widget.view.setBounds(widget.bounds);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
const setGrabLocation = (location) => {
|
|
343
|
+
titleGrabPosition = location;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Every time a widget is added or removed, modify the key on the FinsembleDnDContext element forcing a rerender.
|
|
347
|
+
*
|
|
348
|
+
* This is a workaround for certain cases where removing a dashbar item would align the panels incorrectly in
|
|
349
|
+
* FinsembleDnDContext. The scrolling works by the FinsembleDnDContext setting scrollLeft value. All calculations
|
|
350
|
+
* in FinsembleDnDContext are correct but due to a browser bug, when removing component under certain conditions,
|
|
351
|
+
* it somehow sets false maximum value for this scrollLeft value. Any value higher than the maximum is capped
|
|
352
|
+
* causing it to half scroll an element.
|
|
353
|
+
*
|
|
354
|
+
*/
|
|
355
|
+
const elementKey = Object.entries(widgets)
|
|
356
|
+
.map((entry) => entry[0])
|
|
357
|
+
.sort()
|
|
358
|
+
.join("-");
|
|
359
|
+
return (React.createElement("div", { className: wrapperClasses, style: { height: dashbarHeight } },
|
|
360
|
+
WIDGET_COUNT > 0 && (React.createElement(FinsembleDnDContext, { key: elementKey, onDragEnd: reorderItems, onDragStart: startMove, onDragMove: moveItem, onLayoutUpdate: setWidgetsPositions, className: "finsemble-dashbar-section rearrange-region", id: "dashbar-container", axis: AllowableDnDAxis.x, lockAxis: AllowableDnDAxis.x, allowHorizontalScroll: true, showScrollButtonsTooltip: true, leftButtonTooltip: leftButtonTooltip, rightButtonTooltip: rightButtonTooltip, metadata: { dashbar } }, Object.values(widgets).map((widget, i) => (React.createElement(DashbarItem, { key: i, id: Object.keys(widgets)[i], index: i, widgetTitleGenerator: titleGenerator, widget: widget, dashbarHeight: dashbar.height, widgetDividerWidth: widgetDividerWidth, setTitleHeight: setTitleHeight, setGrabLocation: setGrabLocation }))))),
|
|
361
|
+
WIDGET_COUNT === 0 && (React.createElement("div", { className: "add-dashbar-item-button", onClick: launchDashbar },
|
|
362
|
+
React.createElement("span", null,
|
|
363
|
+
React.createElement("i", { className: "ff-plus" })))),
|
|
364
|
+
children));
|
|
365
|
+
};
|
|
366
|
+
//# sourceMappingURL=Dashbar.js.map
|