@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
package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceManagementMenuStore.js","sourceRoot":"","sources":["../../../../../src/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAkBhD,yGAAyG;AACzG,MAAM,wBAAwB,GAAG,QAAQ,CAAC;AAC1C,MAAM,QAAQ,GAAG,UAAU,CAAC;AAE5B,IAAI,yBAAkC,CAAC;AACvC,IAAI,uBAAgC,CAAC;AAErC,MAAM,iBAAiB,GAAG;IACzB,8BAA8B,EAAE,+DAA+D;IAC/F,uBAAuB,EAAE,0DAA0D;IACnF,0BAA0B,EAAE,mEAAmE,EAAE,yDAAyD;CAC1J,CAAC;AAEF,IAAI,wBAAoC,CAAC;AACzC,IAAI,WAAgB,CAAC;AACrB,IAAI,MAAW,CAAC;AAChB,IAAI,8BAA0C,CAAC;AAE/C,8BAA8B;AAC9B,MAAM,WAAW,GAAG;IACnB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,GAAG;IACd,aAAa,EAAE,EAAE;IACjB,0BAA0B,EAAE,KAAK;IACjC;;;;;;;OAOG;IACH,qBAAqB,EAAE,KAAK;IAC5B,eAAe,EAAE,KAAK;CACtB,CAAC;AAEF,SAAS,YAAY,CAAC,IAAgB;IACrC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,qBAAqB,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;QAC9E,4FAA4F;QAC5F,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC,YAAY,KAAK,IAAI;YAAE,yBAAyB,GAAG,KAAK,CAAC;IAC7F,CAAC,CAAC,CAAC;IACH,IAAI,EAAE,CAAC;AACR,CAAC;AAED,MAAM,OAAO,GAAG;IACf,QAAQ,EAA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C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC;IACjE,CAAC;CACD;AACD,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;AAExC,OAAO,EACN,YAAY,EACZ,8BAA8B,IAAI,WAAW,EAC7C,UAAU,EACV,wBAAwB,IAAI,KAAK,EACjC,OAAO,EACP,QAAQ,GACR,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n * The workspace management menu may be the most complicated component that we have (other than the toolbar). It isn't because workspace management is particularly difficult, it's because there is a lot of user question and answer going on. We don't want to overwrite data without explicit consent, and so the calls get involved. To simplify the code, we are using the `async` library. If you are unfamiliar with this library, see this link: https://caolan.github.io/async/docs.html\n */\nimport async from \"async\";\nimport { Util } from \"@finsemble/finsemble-api\";\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\nimport { StandardCallback, StandardError } from \"@finsemble/finsemble-api/types/types\";\nimport { Workspace as WorkspaceType } from \"@finsemble/finsemble-api/types/services/workspace/types\";\nimport { types } from \"@finsemble/finsemble-api\";\n\ntype StandardErrorCallback = types.StandardErrorCallback;\n\ntype UserInputResponseType = {\n\tchoice: string;\n\tvalue?: string;\n};\ntype SaveWorkspaceWaterfallParams = {\n\tworkspaceExists: boolean;\n\tworkspaceName: string;\n\ttemplate: any;\n};\n\n// When a user cancels the save workspace dialog, we throw an error, which short-circuits the async call.\nconst SAVE_DIALOG_CANCEL_ERROR = \"Cancel\";\nconst NEGATIVE = \"Negative\";\n\nlet PROMPT_ON_DIRTY_WORKSPACE: boolean;\nlet DISCARD_UNSAVED_CHANGES: boolean;\n\nconst WORKSPACE_CONFIGS = {\n\tPROMPT_USER_ON_DIRTY_WORKSPACE: \"finsemble.servicesConfig.workspace.promptUserOnDirtyWorkspace\",\n\tDISCARD_UNSAVED_CHANGES: \"finsemble.servicesConfig.workspace.discardUnsavedChanges\",\n\tDEPRECATED_PROMPT_ON_DIRTY: \"finsemble.preferences.workspaceService.promptUserOnDirtyWorkspace\", // DEPRECATED - retrieving it for backwards compatibility\n};\n\nlet WorkspaceManagementStore: StoreModel;\nlet StoreClient: any;\nlet Logger: any;\nlet WorkspaceManagementGlobalStore: StoreModel;\n\n// Initial data for the store.\nconst defaultData = {\n\tactiveWorkspace: {},\n\tmenuWidth: 285,\n\tWorkspaceList: [],\n\tnewWorkspaceDialogIsActive: false,\n\t/**\n\t * State around whether the workspace is currently in the process of switching.\n\t *\n\t * For simplicity, we're storing this in the local store for now, but this precludes\n\t * other components from signaling that the workspace is changing. A consequence,\n\t * for example, is that if you switch workspaces uses a pin on the toolbar instead\n\t * of the workspace management menu, the spinner doesn't show up.\n\t */\n\tisSwitchingWorkspaces: false,\n\tisPromptingUser: false,\n};\n\nfunction addListeners(done: () => void) {\n\tFSBL.Clients.RouterClient.addListener(\"Application.restart\", (err, response) => {\n\t\t// when the user calls a \"Reset\" function, Finsemble shouldn't show a save workspace dialog.\n\t\tif (response.data && response.data.forceRestart === true) PROMPT_ON_DIRTY_WORKSPACE = false;\n\t});\n\tdone();\n}\n\nconst Actions = {\n\tautoSave: (callback: StandardCallback) => {\n\t\tconst activeName = FSBL.Clients.WorkspaceClient.activeWorkspace?.name;\n\t\tif (!PROMPT_ON_DIRTY_WORKSPACE) {\n\t\t\tFSBL.Clients.WorkspaceClient.saveAs(\n\t\t\t\t{\n\t\t\t\t\tname: activeName,\n\t\t\t\t\tforce: true,\n\t\t\t\t},\n\t\t\t\t(err: StandardError) => {\n\t\t\t\t\tcallback(err);\n\t\t\t\t}\n\t\t\t);\n\t\t} else {\n\t\t\tcallback(null);\n\t\t}\n\t},\n\tcompleteInitialize: () => {\n\t\tFSBL.Clients.ConfigClient.addListener(\n\t\t\t{ field: WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE },\n\t\t\t(err, config) => {\n\t\t\t\tLogger.system.log(\"WorkspaceManagementStore new promptUserOnDirtyWorkspace config\", config);\n\t\t\t\tPROMPT_ON_DIRTY_WORKSPACE = !!config.value;\n\t\t\t}\n\t\t);\n\n\t\tFSBL.Clients.ConfigClient.addListener({ field: WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES }, (err, config) => {\n\t\t\tLogger.system.log(\"WorkspaceManagementStore new discardUnsavedChanges config\", config);\n\t\t\tDISCARD_UNSAVED_CHANGES = !!config.value;\n\t\t});\n\n\t\t// Gets the workspace list and sets the value in the store.\n\t\tFSBL.Clients.WorkspaceClient.getWorkspaces((err: StandardError, workspaces: WorkspaceType[]) => {\n\t\t\tLogger.system.debug(\"WorkspaceManagementStore init getWorkspaces\", workspaces);\n\t\t\tWorkspaceManagementStore.setValue({\n\t\t\t\tfield: \"WorkspaceList\",\n\t\t\t\tvalue: workspaces,\n\t\t\t});\n\t\t});\n\n\t\t// Get the activeWorkspace and set the value. I could have iterated through the workspaces above and found the active one, but this seems simpler.\n\t\tFSBL.Clients.WorkspaceClient.getActiveWorkspace(\n\t\t\t(err: StandardError, activeWorkspace: { data: WorkspaceType } | undefined) => {\n\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore init getActiveWorkspace\", activeWorkspace);\n\t\t\t\tWorkspaceManagementStore.setValue({\n\t\t\t\t\tfield: \"activeWorkspace\",\n\t\t\t\t\tvalue: activeWorkspace,\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\n\t\t/**\n\t\t * We listen here for any workspace updates, and pass them to the store.\n\t\t * **NOTE**: You may notice that the signature of this callback is different from the previous ones. In this case,\n\t\t * we receive a `response`, instead of `workspaces` or `activeWorkspace`. This is because this callback is for\n\t\t * a `RouterClient` message. The functions above are callbacks to `WorkspaceClient` API calls.\n\t\t */\n\t\tFSBL.Clients.RouterClient.subscribe(\"Finsemble.WorkspaceService.update\", (err, response) => {\n\t\t\tif (response.data && response.data.activeWorkspace) {\n\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore init update\", response.data);\n\t\t\t\tWorkspaceManagementStore.setValue({\n\t\t\t\t\tfield: \"activeWorkspace\",\n\t\t\t\t\tvalue: response.data.activeWorkspace,\n\t\t\t\t});\n\t\t\t\tWorkspaceManagementStore.setValue({\n\t\t\t\t\tfield: \"WorkspaceList\",\n\t\t\t\t\tvalue: response.data.workspacesConfig,\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\n\t\tWorkspaceManagementGlobalStore.getValue({ field: \"owner\" }, (err: StandardError, data?: string) => {\n\t\t\tif (data !== finsembleWindow.name) return;\n\t\t\tWorkspaceManagementGlobalStore.Dispatcher.register((action) => {\n\t\t\t\tswitch (action.actionType) {\n\t\t\t\t\tcase \"switchToWorkspace\":\n\t\t\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore switchToWorkspace\", action.data);\n\t\t\t\t\t\tActions.switchToWorkspace(action.data);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"reorderWorkspace\":\n\t\t\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore reorderWorkspace\", action.data);\n\t\t\t\t\t\tActions.reorderWorkspaceList(action.data);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"removeWorkspace\":\n\t\t\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore removeWorkspace\", action.data);\n\t\t\t\t\t\tActions.removeWorkspace(\n\t\t\t\t\t\t\taction.data as {\n\t\t\t\t\t\t\t\tname: string;\n\t\t\t\t\t\t\t\thideModalOnClose: boolean;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"renameWorkspace\":\n\t\t\t\t\t\tLogger.system.debug(\"WorkspaceManagementStore renameWorkspace\", action.data);\n\t\t\t\t\t\tActions.renameWorkspace(action.data);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// Nothing to do here\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t},\n\n\t/*********************************************************************************************\n\t *\n\t *\t\t\t\t\t\t\t\tGETTERS/SETTERS\n\t *\n\t *********************************************************************************************/\n\tgetActiveWorkspace: () => WorkspaceManagementStore.getValue(\"activeWorkspace\") as WorkspaceType,\n\n\t// Get the name of the workspace that is currently being edited\n\tgetWorkspaceBeingEdited: () => WorkspaceManagementStore.getValue(\"workspaceBeingEdited\") as string,\n\n\tgetWorkspaceList: () => WorkspaceManagementStore.getValue(\"WorkspaceList\") as WorkspaceType[],\n\n\tgetIsSwitchingWorkspaces: () => WorkspaceManagementStore.getValue(\"isSwitchingWorkspaces\") as boolean,\n\n\tsetIsSwitchingWorkspaces: (val: boolean) =>\n\t\tWorkspaceManagementStore.setValue({\n\t\t\tfield: \"isSwitchingWorkspaces\",\n\t\t\tvalue: val,\n\t\t}),\n\n\tgetIsPromptingUser: () => WorkspaceManagementStore.getValue(\"isPromptingUser\") as boolean,\n\n\tsetIsPromptingUser: (val: boolean) =>\n\t\tWorkspaceManagementStore.setValue({\n\t\t\tfield: \"isPromptingUser\",\n\t\t\tvalue: val,\n\t\t}),\n\n\t/*********************************************************************************************\n\t *\n\t *\t\t\t\t\t\t\t\tMain Workspace Actions\n\t *\n\t *********************************************************************************************/\n\n\t/**\n\t * Handles the complete workflow for creating a new workspace.\n\t * We make sure the user doesn't lose any unsaved work, ask them to name it, make sure that workspace doesn't already exist, then actually save the new workspace. After that, we fire off a notification to let them know that everything was a great success.\n\t */\n\tnewWorkspace: function () {\n\t\tlet newWorkspaceName: string;\n\t\tLogger.system.log(\"New workspace - start.\");\n\t\tconst newWorkspaceDialogIsActive = WorkspaceManagementStore.getValue(\"newWorkspaceDialogIsActive\");\n\n\t\ttype createItParams = {\n\t\t\tworkspaceName: string;\n\t\t};\n\t\t// Creates the new workspace.\n\t\tconst createIt = (params: createItParams, cb?: StandardCallback) => {\n\t\t\tLogger.system.log(\"createIt\", params);\n\t\t\tconst { workspaceName } = params;\n\t\t\tFSBL.Clients.WorkspaceClient.createWorkspace(workspaceName, {}, (err, response) => {\n\t\t\t\tLogger.system.log(\"createIt createNewWorkspace response\", workspaceName, response);\n\t\t\t\tnewWorkspaceName = response.workspaceName;\n\t\t\t\tif (cb) {\n\t\t\t\t\tcb(null, newWorkspaceName);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\tif (!newWorkspaceDialogIsActive) {\n\t\t\tWorkspaceManagementStore.setValue({\n\t\t\t\tfield: \"newWorkspaceDialogIsActive\",\n\t\t\t\tvalue: true,\n\t\t\t});\n\t\t}\n\n\t\tActions.blurWindow();\n\t\tlet tasks: Function[] = [\n\t\t\tActions.autoSave,\n\t\t\tActions.spawnWorkspaceInputField,\n\t\t\tActions.validateWorkspaceInput,\n\t\t\tActions.checkIfWorkspaceAlreadyExists,\n\t\t\tActions.askIfUserWantsNewWorkspace,\n\t\t\tcreateIt,\n\t\t];\n\t\tif (PROMPT_ON_DIRTY_WORKSPACE) {\n\t\t\ttasks = ([Actions.askIfUserWantsToSave, Actions.handleSaveDialogResponse] as Function[]).concat(tasks);\n\t\t}\n\t\tasync.waterfall(tasks, Actions.onAsyncComplete);\n\t},\n\n\t/**\n\t * Handles the workflow for removing a workspace.\n\t * As long as you are not deleting the workspace that is active, it will pop up a confirm dialog,\n\t * and if the user says \"yes\", it will delete the workspace.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tremoveWorkspace: (data: { name: string; hideModalOnClose?: boolean }, cb = (val: any) => {}) => {\n\t\tconst workspaceName = data.name;\n\n\t\tconst dialogParams = {\n\t\t\ttitle: \"Delete this workspace?\",\n\t\t\tquestion: `Are you sure you want to delete the workspace \"${workspaceName}\"?`,\n\t\t\tshowNegativeButton: false,\n\t\t\taffirmativeResponseLabel: \"Delete\",\n\t\t\thideModalOnClose: data.hideModalOnClose,\n\t\t};\n\n\t\t/**\n\t\t * Invoked when the user interacts with the dialog.\n\t\t */\n\t\tfunction onUserInput(err: StandardError, response: UserInputResponseType) {\n\t\t\tif (response.choice === \"affirmative\") {\n\t\t\t\tcb(true);\n\t\t\t\tFSBL.Clients.WorkspaceClient.remove({\n\t\t\t\t\tname: workspaceName,\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tcb(false);\n\t\t\t}\n\t\t}\n\t\tActions.spawnDialog(\"yesNo\", dialogParams, onUserInput);\n\t},\n\t/**\n\t * The `activeWorkspace` is simply a copy of something we brought out of storage. This function copies the `activeWorkspace` to back to storage.\n\t */\n\tsaveWorkspace: (cb?: StandardErrorCallback) => {\n\t\tconst activeWorkspace = WorkspaceManagementStore.getValue(\"activeWorkspace\");\n\t\tFSBL.Clients.WorkspaceClient.saveAs(\n\t\t\t{\n\t\t\t\tforce: true,\n\t\t\t\tname: activeWorkspace.name,\n\t\t\t},\n\t\t\t() => {\n\t\t\t\tcb?.(null);\n\t\t\t}\n\t\t);\n\t},\n\treorderWorkspaceList: ({ oldIndex, newIndex }: { oldIndex: number; newIndex: number }) => {\n\t\tlet workspaces: WorkspaceType[] = WorkspaceManagementStore.getValue<WorkspaceType[]>({\n\t\t\tfield: \"WorkspaceList\",\n\t\t});\n\t\tconst workspaceToMove = workspaces[oldIndex];\n\t\tworkspaces.splice(oldIndex, 1);\n\t\tworkspaces.splice(newIndex, 0, workspaceToMove);\n\t\tconst workspacesWithExpectedStructure = workspaces.map((WSName) => {\n\t\t\treturn {\n\t\t\t\tname: WSName,\n\t\t\t};\n\t\t});\n\t\tFSBL.Clients.WorkspaceClient.setWorkspaces(\n\t\t\t{\n\t\t\t\tworkspaces: workspacesWithExpectedStructure,\n\t\t\t},\n\t\t\t() => {}\n\t\t);\n\t\tWorkspaceManagementStore.setValue({\n\t\t\tfield: \"WorkspaceList\",\n\t\t\tvalue: workspaces,\n\t\t});\n\t},\n\trenameWorkspace: ({ oldName, newName }: { oldName: string; newName: string }) => {\n\t\t// Note: This does no checking of the workspace before renaming. If you call this function, and `newName` is an existing\n\t\t// workspace name, the existing workspace will get stomped. Currently, the UI prevents renaming to existing names.\n\t\tFSBL.Clients.WorkspaceClient.rename({\n\t\t\toldName: oldName,\n\t\t\tnewName: newName,\n\t\t\tremoveOldWorkspace: true,\n\t\t\toverwriteExisting: true,\n\t\t});\n\t},\n\n\tshowPreferences: () => {\n\t\tFSBL.Clients.LauncherClient.showWindow(\n\t\t\t{\n\t\t\t\tcomponentType: \"UserPreferences\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tmonitor: \"mine\",\n\t\t\t\tleft: \"center\",\n\t\t\t\ttop: \"center\",\n\t\t\t}\n\t\t);\n\t},\n\n\t/**\n\t * Ask the user for a name, make sure it doesn't already exist, then save.\n\t */\n\tsaveWorkspaceAs: () => {\n\t\tfunction saveIt(workspaceName: string, callback: StandardErrorCallback) {\n\t\t\tFSBL.Clients.WorkspaceClient.saveAs(\n\t\t\t\t{\n\t\t\t\t\tname: workspaceName,\n\t\t\t\t\tforce: true,\n\t\t\t\t},\n\t\t\t\t(err: StandardError, response: any) => {\n\t\t\t\t\tcallback(err, response);\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tLogger.system.log(\"SaveWorkspaceAs clicked.\");\n\n\t\tasync.waterfall(\n\t\t\t[\n\t\t\t\tActions.autoSave,\n\t\t\t\tActions.spawnSaveAsDialog,\n\t\t\t\tActions.validateWorkspaceInput,\n\t\t\t\tActions.checkIfWorkspaceAlreadyExists,\n\t\t\t\tActions.askAboutOverwrite,\n\t\t\t\tsaveIt,\n\t\t\t],\n\t\t\tActions.onAsyncComplete\n\t\t);\n\t},\n\n\t/**\n\t * Asks the user if they'd like to save their data, then loads the requested workspace.\n\t */\n\tswitchToWorkspace: async function ({ name }: { name: string }) {\n\t\t// if a workspace prompt is outstanding for a previous switch, immediately return to lock out user from doing another switch (until responding to prompt);\n\t\t// note this prompting flag is cleared in Actions.onAsyncComplete when the previous switch completes (after user responds to the prompt)\n\t\tconst prompting = Actions.getIsPromptingUser();\n\t\tLogger.system.log(\"workspaceManagementMenuStore: switchToWorkspace\", prompting ? \"prompting\" : \"not-prompting\");\n\t\tif (prompting) return;\n\n\t\tActions.setIsSwitchingWorkspaces(true);\n\t\tActions.blurWindow();\n\t\tconst activeWorkspace = WorkspaceManagementStore.getValue(\"activeWorkspace\");\n\n\t\t/**\n\t\t * Actually perform the switch. Happens after we ask the user what they want.\n\t\t *\n\t\t */\n\t\tconst switchWorkspace = (callback = () => {}) => {\n\t\t\tFSBL.Clients.WorkspaceClient.switchTo(\n\t\t\t\t{\n\t\t\t\t\tname: name,\n\t\t\t\t},\n\t\t\t\t() => {\n\t\t\t\t\tActions.setIsSwitchingWorkspaces(false);\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t);\n\t\t};\n\n\t\t/**\n\t\t * Make sure the user is sure\n\t\t */\n\t\tconst askAboutReload = (callback: () => void) => {\n\t\t\tActions.spawnDialog(\n\t\t\t\t\"yesNo\",\n\t\t\t\t{\n\t\t\t\t\tmonitor: \"primary\",\n\t\t\t\t\ttitle: \"Save your workspace?\",\n\t\t\t\t\tquestion: `\\\"${activeWorkspace.name}\\\" has unsaved changes. Would you like to save?`,\n\t\t\t\t\taffirmativeResponseLabel: \"Save\",\n\t\t\t\t\tnegativeResponseLabel: \"Don't Save\",\n\t\t\t\t},\n\t\t\t\tcallback\n\t\t\t);\n\t\t};\n\n\t\t/**\n\t\t * If the workspace is dirty, we need to do more than if it's clean.\n\t\t */\n\t\tif (await FSBL.Clients.WorkspaceClient.isWorkspaceDirty()) {\n\t\t\tlet tasks: Function[] = [];\n\n\t\t\tActions.setIsPromptingUser(true);\n\t\t\tlet firstMethod: Function = Actions.autoSave,\n\t\t\t\tsecondMethod = null;\n\n\t\t\tif (PROMPT_ON_DIRTY_WORKSPACE === true) {\n\t\t\t\t// We want to ask the user to save. But if they're trying to reload the workspace,\n\t\t\t\t// the message needs to be different. The first if block just switches that method.\n\t\t\t\tfirstMethod = Actions.askIfUserWantsToSave;\n\t\t\t\tif (name === FSBL.Clients.WorkspaceClient.activeWorkspace?.name) {\n\t\t\t\t\tfirstMethod = askAboutReload;\n\t\t\t\t}\n\n\t\t\t\t// If we are not autosaving, we need to process the dialog input.\n\t\t\t\tsecondMethod = Actions.handleSaveDialogResponse;\n\t\t\t}\n\n\t\t\tif (!DISCARD_UNSAVED_CHANGES) {\n\t\t\t\ttasks = [firstMethod];\n\t\t\t}\n\n\t\t\tif (secondMethod) {\n\t\t\t\ttasks.push(secondMethod);\n\t\t\t}\n\n\t\t\t// Switch is the last thing we do.\n\t\t\ttasks.push(switchWorkspace);\n\n\t\t\tasync.waterfall(tasks, Actions.onAsyncComplete);\n\t\t} else {\n\t\t\tswitchWorkspace();\n\t\t}\n\t},\n\n\t/*********************************************************************************************\n\t *\n\t *\t\t\t\t\t\t\t\tWorkspace Management Helpers\n\t *\n\t *********************************************************************************************/\n\n\t/**\n\t * General handler for `async.series` and `async.waterfall`\n\t */\n\tonAsyncComplete(err?: Error | null) {\n\t\tLogger.system.debug(\"workspaceManagementMenuStore: onAsyncComplete\");\n\t\tWorkspaceManagementStore.setValue({\n\t\t\tfield: \"newWorkspaceDialogIsActive\",\n\t\t\tvalue: false,\n\t\t});\n\t\tconst errMessage = err?.message;\n\t\tif (errMessage && errMessage !== NEGATIVE && errMessage !== SAVE_DIALOG_CANCEL_ERROR) {\n\t\t\t// handle error.\n\t\t\tLogger.system.error(err);\n\t\t}\n\n\t\t// Unlock the UI.\n\t\tActions.setIsSwitchingWorkspaces(false);\n\t\tActions.setIsPromptingUser(false);\n\t},\n\n\t/**\n\t * Helper for spawning dialogs. Keeps the internals of other functions squeaky clean.\n\t *\n\t * @param {string} type \"yesNo\" or \"singleInput\"\n\t * @param {object} data Optional params for the dialog call.\n\t * @param {function} responseCallback invoked when the user interacts with the dialog.\n\t */\n\tspawnDialog(type: \"yesNo\" | \"singleInput\", data: any, responseCallback: StandardErrorCallback) {\n\t\tLogger.system.debug(\"spawnDialog\", type, data);\n\t\tif (type === \"singleInput\") {\n\t\t\tdata.showCancelButton = true;\n\t\t}\n\t\tFSBL.Clients.DialogManager.open(type, data, responseCallback);\n\t},\n\n\tspawnSaveAsDialog: (cb: StandardCallback) => {\n\t\tconst onUserInput = (err: StandardError, response: UserInputResponseType) => {\n\t\t\tLogger.system.log(\"SpawnSaveAsDialog onUserInput\", response);\n\t\t\tlet callbackError: Error | null = null;\n\t\t\tif (typeof err === \"string\") {\n\t\t\t\t// Error objects cause async to invoke the final callback in async.waterfall.\n\t\t\t\tcallbackError = new Error(err);\n\t\t\t}\n\t\t\tif (cb) {\n\t\t\t\tcb(callbackError || err, response);\n\t\t\t}\n\t\t};\n\n\t\tconst dialogParams = {\n\t\t\ttitle: \"Enter a name for your new workspace.\",\n\t\t\tinputLabel: \"Enter a name for your new workspace.\",\n\t\t\taffirmativeResponseLabel: \"Confirm\",\n\t\t\tshowCancelButton: false,\n\t\t\tshowNegativeButton: false,\n\t\t};\n\n\t\tActions.spawnDialog(\"singleInput\", dialogParams, onUserInput);\n\t},\n\n\t/**\n\t * Spawns an input field asking what the user would like to name their new workspace.\n\t */\n\tspawnWorkspaceInputField: (cb: StandardCallback) => {\n\t\t// Spawns the dialog with the input field and accepts a callback to be invoked after the user acts.\n\t\tLogger.system.log(\"SpawnWorkspaceInput - start\");\n\t\tconst onUserInput = (err: StandardError, response: UserInputResponseType) => {\n\t\t\tLogger.system.log(\"SpawnWorkspaceInput onUserInput\", response);\n\t\t\tlet callbackError: Error | null = null;\n\t\t\tif (typeof err === \"string\") {\n\t\t\t\t// Error objects cause async to invoke the final callback in async.waterfall.\n\t\t\t\tcallbackError = new Error(err);\n\t\t\t}\n\t\t\tif (cb) {\n\t\t\t\tcb(callbackError || err, response);\n\t\t\t}\n\t\t};\n\n\t\tconst dialogParams = {\n\t\t\ttitle: \"Enter a name for your new workspace.\",\n\t\t\tinputLabel: \"Enter a name for your new workspace.\",\n\t\t\taffirmativeResponseLabel: \"Confirm\",\n\t\t\tshowCancelButton: false,\n\t\t\tshowNegativeButton: false,\n\t\t};\n\n\t\tActions.spawnDialog(\"singleInput\", dialogParams, onUserInput);\n\t},\n\n\t/**\n\t * Asks the user if they'd like to save their workspace if it's different from what's in storage. If the workspace is clean, we just invoke the callback.\n\t */\n\taskIfUserWantsToSave: async function (callback: StandardCallback) {\n\t\tconst activeWorkspace: WorkspaceType = WorkspaceManagementStore.getValue(\"activeWorkspace\");\n\n\t\tif (await FSBL.Clients.WorkspaceClient.isWorkspaceDirty()) {\n\t\t\tLogger.system.log(\"NewWorkspace.spawnDialog start.\");\n\t\t\tconst dialogParams = {\n\t\t\t\tmonitor: \"primary\",\n\t\t\t\ttitle: \"Save your workspace?\",\n\t\t\t\tquestion: `\\\"${activeWorkspace.name}\\\" has unsaved changes. Would you like to save?`,\n\t\t\t\taffirmativeResponseLabel: \"Save\",\n\t\t\t\tnegativeResponseLabel: \"Don't Save\",\n\t\t\t};\n\t\t\tconst waitForUserInput = () =>\n\t\t\t\tnew Promise((resolve) => {\n\t\t\t\t\tconst onUserInput = (err: StandardError, response: UserInputResponseType) => {\n\t\t\t\t\t\tLogger.system.log(\"Spawn Dialog callback.\");\n\t\t\t\t\t\tif (callback) callback(null, response);\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t};\n\t\t\t\t\tActions.spawnDialog(\"yesNo\", dialogParams, onUserInput);\n\t\t\t\t});\n\t\t\treturn await waitForUserInput();\n\t\t} else {\n\t\t\t// In this case the workspace is not dirty, so we don't need to save.\n\t\t\tif (callback) callback(null, { choice: \"negative\" });\n\t\t\treturn { choice: \"negative\" };\n\t\t}\n\t},\n\n\t/**\n\t * Handles the response from the dialog asking if the user wants to save their workspace.\n\t *\n\t * @param {any} response\n\t * @param {any} callback\n\t */\n\thandleSaveDialogResponse(response: UserInputResponseType, callback: StandardErrorCallback) {\n\t\tif (response.choice === \"affirmative\") {\n\t\t\t// User wants to save, so call the client API.\n\t\t\tActions.saveWorkspace(callback);\n\t\t} else if (response.choice === \"negative\") {\n\t\t\t// Doesn't want to save.\n\t\t\tcallback(null);\n\t\t} else {\n\t\t\t// choice === cancel\n\t\t\tcallback(new Error(SAVE_DIALOG_CANCEL_ERROR));\n\t\t}\n\t},\n\t/**\n\t * Makes sure the user has input a valid workspace name.\n\t */\n\tvalidateWorkspaceInput(response: UserInputResponseType, callback: StandardErrorCallback) {\n\t\tLogger.system.log(\"spawnWorkspaceInput\", response);\n\t\t// If user wants to proceed but gave an invalid name, tell them that they messed up, then die.\n\t\tif (response.choice !== \"cancel\" && (!response.value || response.value === \"\")) {\n\t\t\tlet dialogParams = {\n\t\t\t\ttitle: \"Invalid Workspace Name\",\n\t\t\t\tquestion: \"Workspace names must contain letters or numbers. Please try again.\",\n\t\t\t\taffirmativeResponseLabel: \"OK\",\n\t\t\t\tshowNegativeButton: false,\n\t\t\t\tshowCancelButton: false,\n\t\t\t};\n\t\t\tActions.spawnDialog(\"yesNo\", dialogParams, () => {});\n\t\t\treturn callback(new Error(\"Invalid workspace name.\"));\n\t\t} else if (response.choice === \"cancel\") {\n\t\t\treturn callback(new Error(SAVE_DIALOG_CANCEL_ERROR));\n\t\t}\n\t\tcallback(null, response);\n\t},\n\n\taskAboutOverwrite(params: SaveWorkspaceWaterfallParams, callback: StandardErrorCallback) {\n\t\tconst { workspaceExists, workspaceName } = params;\n\t\tconst dialogParams = {\n\t\t\ttitle: \"Overwrite Workspace?\",\n\t\t\tquestion: `This will overwrite the saved data for \"${workspaceName}\". Would you like to proceed?`,\n\t\t\taffirmativeResponseLabel: \"Overwrite\",\n\t\t\tshowNegativeButton: false,\n\t\t};\n\t\tconst onUserInput = (err: StandardError, response: UserInputResponseType) => {\n\t\t\tif (response.choice === \"affirmative\") {\n\t\t\t\tcallback(null, workspaceName);\n\t\t\t} else {\n\t\t\t\tcallback(new Error(NEGATIVE));\n\t\t\t}\n\t\t};\n\t\tif (workspaceExists) {\n\t\t\tActions.spawnDialog(\"yesNo\", dialogParams, onUserInput);\n\t\t} else {\n\t\t\tcallback(null, workspaceName);\n\t\t}\n\t},\n\taskIfUserWantsNewWorkspace(params: SaveWorkspaceWaterfallParams, callback: StandardErrorCallback) {\n\t\tlet { workspaceExists, workspaceName, template } = params;\n\n\t\tlet dialogParams = {\n\t\t\ttitle: \"New workspace\",\n\t\t\tquestion: `The workspace \"${workspaceName}\" already exists. A new workspace with a modified name will be created.`,\n\t\t\taffirmativeResponseLabel: \"OK\",\n\t\t\tshowNegativeButton: false,\n\t\t};\n\n\t\tfunction onUserInput(err: StandardError, response: UserInputResponseType) {\n\t\t\tif (response.choice === \"affirmative\") {\n\t\t\t\tcallback(null, { workspaceName, template });\n\t\t\t} else {\n\t\t\t\tcallback(new Error(NEGATIVE));\n\t\t\t}\n\t\t}\n\t\tif (workspaceExists) {\n\t\t\tActions.spawnDialog(\"yesNo\", dialogParams, onUserInput);\n\t\t} else {\n\t\t\tcallback(null, { workspaceName, template });\n\t\t}\n\t},\n\n\t/**\n\t * Checks if the workspace exists. If it does, it asks the user if they're comfortable overwriting that data.\n\t */\n\tcheckIfWorkspaceAlreadyExists(response: any, callback: StandardErrorCallback) {\n\t\tconst workspaceName = response.value;\n\t\tconst camelCaseWorkspaceName = Util.camelCase(workspaceName);\n\t\t// Do any of the workspaces have the same name that the user is trying to input.\n\t\tconst workspaceExists = FSBL.Clients.WorkspaceClient.workspaces.some(\n\t\t\t(workspace) => Util.camelCase(workspace) === camelCaseWorkspaceName\n\t\t);\n\t\tcallback(null, {\n\t\t\tworkspaceExists,\n\t\t\tworkspaceName,\n\t\t\ttemplate: response.template,\n\t\t});\n\t},\n\t/*********************************************************************************************\n\t *\n\t *\t\t\t\t\t\t\t\tMisc functionality\n\t *\n\t *********************************************************************************************/\n\t/**\n\t * Un-focuses from the menu.\n\t */\n\tblurWindow: function () {\n\t\tfinsembleWindow.blur();\n\t},\n};\n\nfunction createLocalStore(done: () => void) {\n\tStoreClient.createStore(\n\t\t{ store: \"Finsemble-WorkspaceMenu-Local-Store\", values: defaultData },\n\t\t(err: StandardError, store: StoreModel) => {\n\t\t\tWorkspaceManagementStore = store;\n\t\t\tdone();\n\t\t}\n\t);\n}\n\nfunction createGlobalStore(done: () => void) {\n\tStoreClient.createStore(\n\t\t{\n\t\t\tstore: \"Finsemble-WorkspaceMenu-Global-Store\",\n\t\t\tglobal: true,\n\t\t\tvalues: { owner: finsembleWindow.name },\n\t\t},\n\t\t(err: StandardError, store: StoreModel) => {\n\t\t\tWorkspaceManagementGlobalStore = store;\n\t\t\tdone();\n\t\t}\n\t);\n}\n\nfunction getPreferences(done: () => void) {\n\t(async () => {\n\t\tconst { err: preferencesErr, data: preferencesValues } = await FSBL.Clients.ConfigClient.getPreferences();\n\t\tif (preferencesErr) {\n\t\t\tLogger.system.error(\"workspaceManagementMenuStore.getPreferences - getPreferences\", preferencesErr);\n\t\t}\n\t\tlet promptUserOnDirtyWorkspaceFromPreferences;\n\t\tlet discardUnsavedChangesFromPreferences;\n\t\tif (preferencesValues) {\n\t\t\tpromptUserOnDirtyWorkspaceFromPreferences = preferencesValues[WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE];\n\t\t\tdiscardUnsavedChangesFromPreferences = preferencesValues[WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES];\n\t\t}\n\n\t\t// if we don't have a preference as a boolean value (i.e. null or undefined)\n\t\t// fetch the config to apply\n\t\tif (typeof promptUserOnDirtyWorkspaceFromPreferences !== \"boolean\") {\n\t\t\tconst { err: configErr, data: configValues } = await FSBL.Clients.ConfigClient.getValues([\n\t\t\t\tWORKSPACE_CONFIGS.DEPRECATED_PROMPT_ON_DIRTY,\n\t\t\t\tWORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE,\n\t\t\t]);\n\n\t\t\tif (configErr) {\n\t\t\t\tLogger.system.error(\n\t\t\t\t\t\"workspaceManagementMenuStore.getPreferences - getValues - promptUserOnDirtyWorkspace\",\n\t\t\t\t\tconfigErr\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (configValues) {\n\t\t\t\t// deprecated (if present) > config (fallback) > default\n\t\t\t\tPROMPT_ON_DIRTY_WORKSPACE =\n\t\t\t\t\tconfigValues[WORKSPACE_CONFIGS.DEPRECATED_PROMPT_ON_DIRTY] ??\n\t\t\t\t\tconfigValues[WORKSPACE_CONFIGS.PROMPT_USER_ON_DIRTY_WORKSPACE] ??\n\t\t\t\t\ttrue;\n\t\t\t} else {\n\t\t\t\t// we shouldn't get to this - but in case we do we apply the default.\n\t\t\t\tPROMPT_ON_DIRTY_WORKSPACE = true;\n\t\t\t}\n\t\t} else {\n\t\t\tPROMPT_ON_DIRTY_WORKSPACE = promptUserOnDirtyWorkspaceFromPreferences;\n\t\t}\n\n\t\t// if we don't have a preference as a boolean value (i.e. null or undefined)\n\t\t// fetch the config to apply\n\t\tif (typeof discardUnsavedChangesFromPreferences !== \"boolean\") {\n\t\t\tconst { err: configErr, data: configValue } = await FSBL.Clients.ConfigClient.getValue(\n\t\t\t\tWORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES\n\t\t\t);\n\n\t\t\tif (configErr) {\n\t\t\t\tLogger.system.error(\n\t\t\t\t\t\"workspaceManagementMenuStore.getPreferences - getValues - discardUnsavedworkspaceChanges\",\n\t\t\t\t\tconfigErr\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (configValue) {\n\t\t\t\t// config (fallback) > default\n\t\t\t\tDISCARD_UNSAVED_CHANGES = configValue[WORKSPACE_CONFIGS.DISCARD_UNSAVED_CHANGES] ?? false;\n\t\t\t} else {\n\t\t\t\t// we shouldn't get to this - but in case we do we assume user does not want to discard unsaved changes\n\t\t\t\t// by default.\n\t\t\t\tDISCARD_UNSAVED_CHANGES = false;\n\t\t\t}\n\t\t} else {\n\t\t\tDISCARD_UNSAVED_CHANGES = discardUnsavedChangesFromPreferences;\n\t\t}\n\n\t\tdone();\n\t})();\n}\n\n/**\n * Initializes the store for the Workspace Management Menu.\n */\nfunction initialize(cb: any) {\n\tStoreClient = FSBL.Clients.DistributedStoreClient;\n\t// eslint-disable-next-line prefer-destructuring\n\tLogger = FSBL.Clients.Logger;\n\tasync.parallel([createGlobalStore, createLocalStore, getPreferences, addListeners], () => {\n\t\tActions.completeInitialize();\n\t\tcb(WorkspaceManagementStore);\n\t});\n}\n\nlet getStore = () => WorkspaceManagementStore;\n\n/**\n * This is a quick little initialization manager that Terry hacked up.\n * Ultimately everything in this file should be rewritten in hooks/redux pattern.\n */\nclass StoreManager {\n\tinitialized: boolean;\n\n\tinitializing: boolean;\n\n\tcallbacks: Function[];\n\n\tstore: StoreModel | 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 !== null) 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 {\n\tstoreManager,\n\tWorkspaceManagementGlobalStore as GlobalStore,\n\tinitialize,\n\tWorkspaceManagementStore as Store,\n\tActions,\n\tgetStore,\n};\n"]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* workspaceManagementMenu.css
|
|
3
|
+
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
.active-workspace > div {
|
|
8
|
+
font-weight: var(--menu-active-workspace-font-weight);
|
|
9
|
+
color: var(--menu-active-workspace-font-color);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.workspace-name {
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.workspace-menu-list {
|
|
20
|
+
padding-top: 4px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.fsbl-loader {
|
|
24
|
+
font-size: 10px;
|
|
25
|
+
margin: 10px 10px 10px 1px;
|
|
26
|
+
text-indent: -9999em;
|
|
27
|
+
width: 10px;
|
|
28
|
+
height: 10px;
|
|
29
|
+
top: -7px;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
background: linear-gradient(to right, #fff 10%, rgb(255 255 255 / 0%) 42%);
|
|
32
|
+
position: relative;
|
|
33
|
+
animation: load3 1.4s infinite linear;
|
|
34
|
+
transform: translateZ(0);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.fsbl-loader::before {
|
|
38
|
+
width: 50%;
|
|
39
|
+
height: 50%;
|
|
40
|
+
background: #fff;
|
|
41
|
+
border-radius: 100% 0 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 0;
|
|
44
|
+
left: 0;
|
|
45
|
+
content: "";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.fsbl-loader::after {
|
|
49
|
+
background: #303d47;
|
|
50
|
+
width: 75%;
|
|
51
|
+
height: 75%;
|
|
52
|
+
border-radius: 50%;
|
|
53
|
+
content: "";
|
|
54
|
+
margin: auto;
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
right: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@keyframes load3 {
|
|
63
|
+
0% {
|
|
64
|
+
transform: rotate(0deg);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
100% {
|
|
68
|
+
transform: rotate(360deg);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes load3 {
|
|
73
|
+
0% {
|
|
74
|
+
transform: rotate(0deg);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
100% {
|
|
78
|
+
transform: rotate(360deg);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { INotificationSources } from "./components/content/Notifications";
|
|
3
|
+
export declare type NotificationsPreferencesContextType = {
|
|
4
|
+
currentNotificationsPreferencesView: "Home" | "Sources" | "Details";
|
|
5
|
+
setCurrentNotificationsPreferencesView: React.Dispatch<React.SetStateAction<"Home" | "Sources" | "Details">>;
|
|
6
|
+
selectedNotificationSource: INotificationSources | null;
|
|
7
|
+
setSelectedNotificationSource: React.Dispatch<React.SetStateAction<INotificationSources | null>>;
|
|
8
|
+
notificationSources: INotificationSources[];
|
|
9
|
+
setNotificationSources: React.Dispatch<React.SetStateAction<INotificationSources[]>>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* We initialize our context with an empty object.
|
|
13
|
+
* We will set the context properly when we use it at runtime (during the first render).
|
|
14
|
+
*/
|
|
15
|
+
export declare const NotificationsPreferencesContext: import("react").Context<NotificationsPreferencesContextType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createContext } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* We initialize our context with an empty object.
|
|
4
|
+
* We will set the context properly when we use it at runtime (during the first render).
|
|
5
|
+
*/
|
|
6
|
+
export const NotificationsPreferencesContext = createContext({});
|
|
7
|
+
//# sourceMappingURL=NotificationsPreferencesContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsPreferencesContext.js","sourceRoot":"","sources":["../../../src/components/userPreferences/NotificationsPreferencesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYtC;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,aAAa,CAC3D,EAAyC,CACzC,CAAC","sourcesContent":["import { createContext } from \"react\";\nimport { INotificationSources } from \"./components/content/Notifications\";\n\nexport type NotificationsPreferencesContextType = {\n\tcurrentNotificationsPreferencesView: \"Home\" | \"Sources\" | \"Details\";\n\tsetCurrentNotificationsPreferencesView: React.Dispatch<React.SetStateAction<\"Home\" | \"Sources\" | \"Details\">>;\n\tselectedNotificationSource: INotificationSources | null;\n\tsetSelectedNotificationSource: React.Dispatch<React.SetStateAction<INotificationSources | null>>;\n\tnotificationSources: INotificationSources[];\n\tsetNotificationSources: React.Dispatch<React.SetStateAction<INotificationSources[]>>;\n};\n\n/**\n * We initialize our context with an empty object.\n * We will set the context properly when we use it at runtime (during the first render).\n */\nexport const NotificationsPreferencesContext = createContext<NotificationsPreferencesContextType>(\n\t{} as NotificationsPreferencesContextType\n);\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated renamed to more correct universal name. use ScheduledDayTimeObjectType
|
|
3
|
+
*/
|
|
4
|
+
export declare type ScheduledRestartObjectType = {
|
|
5
|
+
dayOfWeek?: number;
|
|
6
|
+
hour: number;
|
|
7
|
+
minute: number;
|
|
8
|
+
};
|
|
9
|
+
export declare type ScheduledDayTimeObjectType = ScheduledRestartObjectType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPreferenceTypes.js","sourceRoot":"","sources":["../../../src/components/userPreferences/UserPreferenceTypes.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @deprecated renamed to more correct universal name. use ScheduledDayTimeObjectType\n */\nexport type ScheduledRestartObjectType = {\n\tdayOfWeek?: number;\n\thour: number;\n\tminute: number;\n};\n\nexport type ScheduledDayTimeObjectType = ScheduledRestartObjectType;\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
import General from "./components/content/General";
|
|
7
|
+
import Workspaces from "./components/content/Workspaces";
|
|
8
|
+
import DashbarEditor from "./components/content/DashbarEditor";
|
|
9
|
+
import Notifications from "./components/content/Notifications";
|
|
10
|
+
/**
|
|
11
|
+
* The UserPreferences component initializes the user preference store that's used by its child components and renders
|
|
12
|
+
* its child components: LeftNav and ContentSection with the proper styles.
|
|
13
|
+
*/
|
|
14
|
+
export declare const UserPreferences: React.FunctionComponent<{
|
|
15
|
+
sections?: {};
|
|
16
|
+
}>;
|
|
17
|
+
export { General, Workspaces, DashbarEditor, Notifications };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 - 2020 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
import General from "./components/content/General";
|
|
7
|
+
import Workspaces from "./components/content/Workspaces";
|
|
8
|
+
import DashbarEditor from "./components/content/DashbarEditor";
|
|
9
|
+
import Notifications from "./components/content/Notifications";
|
|
10
|
+
import { UserPreferencesBase } from "./UserPreferencesBase";
|
|
11
|
+
import * as Store from "./stores/UserPreferencesStore";
|
|
12
|
+
/**
|
|
13
|
+
* The UserPreferences component initializes the user preference store that's used by its child components and renders
|
|
14
|
+
* its child components: LeftNav and ContentSection with the proper styles.
|
|
15
|
+
*/
|
|
16
|
+
export const UserPreferences = ({ sections }) => {
|
|
17
|
+
const { UserPreferencesStore } = Store;
|
|
18
|
+
const storeSetValue = (obj) => UserPreferencesStore.setValue(obj);
|
|
19
|
+
const storeGetValue = (obj, cb) => UserPreferencesStore.getValue(obj, cb);
|
|
20
|
+
const storeAddListener = (obj, cb) => UserPreferencesStore.addListener(obj, cb);
|
|
21
|
+
const storeRemoveListener = (obj, cb) => UserPreferencesStore.removeListener(obj, cb);
|
|
22
|
+
return (React.createElement(UserPreferencesBase, { sections: sections, setValue: storeSetValue, getValue: storeGetValue, addListener: storeAddListener, removeListener: storeRemoveListener }));
|
|
23
|
+
};
|
|
24
|
+
export { General, Workspaces, DashbarEditor, Notifications };
|
|
25
|
+
//# sourceMappingURL=UserPreferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPreferences.js","sourceRoot":"","sources":["../../../src/components/userPreferences/UserPreferences.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,8BAA8B,CAAC;AACnD,OAAO,UAAU,MAAM,iCAAiC,CAAC;AACzD,OAAO,aAAa,MAAM,oCAAoC,CAAC;AAC/D,OAAO,aAAa,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,+BAA+B,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAEvB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrB,MAAM,EAAE,oBAAoB,EAAE,GAAQ,KAAK,CAAC;IAC5C,MAAM,aAAa,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC1E,MAAM,aAAa,GAAG,CAAC,GAAW,EAAE,EAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAC5F,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAClG,MAAM,mBAAmB,GAAG,CAAC,GAAW,EAAE,EAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACxG,OAAO,CACN,oBAAC,mBAAmB,IACnB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,gBAAgB,EAC7B,cAAc,EAAE,mBAAmB,GAClC,CACF,CAAC;AACH,CAAC,CAAC;AACF,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC","sourcesContent":["/*!\n * Copyright 2017 - 2020 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\nimport General from \"./components/content/General\";\nimport Workspaces from \"./components/content/Workspaces\";\nimport DashbarEditor from \"./components/content/DashbarEditor\";\nimport Notifications from \"./components/content/Notifications\";\nimport { UserPreferencesBase } from \"./UserPreferencesBase\";\nimport * as Store from \"./stores/UserPreferencesStore\";\n\n/**\n * The UserPreferences component initializes the user preference store that's used by its child components and renders\n * its child components: LeftNav and ContentSection with the proper styles.\n */\nexport const UserPreferences: React.FunctionComponent<{\n\tsections?: {};\n}> = ({ sections }) => {\n\tconst { UserPreferencesStore }: any = Store;\n\tconst storeSetValue = (obj: object) => UserPreferencesStore.setValue(obj);\n\tconst storeGetValue = (obj: object, cb: Function) => UserPreferencesStore.getValue(obj, cb);\n\tconst storeAddListener = (obj: object, cb: Function) => UserPreferencesStore.addListener(obj, cb);\n\tconst storeRemoveListener = (obj: object, cb: Function) => UserPreferencesStore.removeListener(obj, cb);\n\treturn (\n\t\t<UserPreferencesBase\n\t\t\tsections={sections}\n\t\t\tsetValue={storeSetValue}\n\t\t\tgetValue={storeGetValue}\n\t\t\taddListener={storeAddListener}\n\t\t\tremoveListener={storeRemoveListener}\n\t\t/>\n\t);\n};\nexport { General, Workspaces, DashbarEditor, Notifications };\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import LeftNav from "./components/LeftNav";
|
|
3
|
+
import ContentSection from "./components/ContentSection";
|
|
4
|
+
import "../../assets/css/userPreferences.css";
|
|
5
|
+
import FloatingFocus from "@q42/floating-focus-a11y";
|
|
6
|
+
// The package FloatingFocus injects a focus indicator that moves around the page, but only for
|
|
7
|
+
// keyboard users. (Mouse users don't see the indicator.) All that needs to be done is to envoke it.
|
|
8
|
+
new FloatingFocus();
|
|
9
|
+
// If you want to make changes to the indicator, the styles are being maintained in assets/css/focus.css
|
|
10
|
+
export const UserPreferencesBase = (props) => {
|
|
11
|
+
// The active section is the section that is currently selected and displayed in the preference menu.
|
|
12
|
+
const [activeSection, setActiveSection] = useState("General");
|
|
13
|
+
const entries = Object.keys(props.sections);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
function listenForPreference(error, response) {
|
|
16
|
+
if (error) {
|
|
17
|
+
console.error("FinsembleUserPreferencesChannel: ", error);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const { data } = response;
|
|
21
|
+
if (data.preferencesTab) {
|
|
22
|
+
if (entries.includes(data.preferencesTab)) {
|
|
23
|
+
setActiveSection(data.preferencesTab);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
console.warn(`Unknown ${data === null || data === void 0 ? void 0 : data.preferencesTab} value for User Preferences sections`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
FSBL.Clients.RouterClient.addListener("FinsembleUserPreferencesChannel", listenForPreference);
|
|
32
|
+
return () => {
|
|
33
|
+
FSBL.Clients.RouterClient.removeListener("FinsembleUserPreferencesChannel", listenForPreference);
|
|
34
|
+
};
|
|
35
|
+
}, []);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
props.addListener({ field: "activeSection" }, setActiveSection);
|
|
38
|
+
return function cleanup() {
|
|
39
|
+
props.removeListener({ field: "activeSection" }, setActiveSection);
|
|
40
|
+
};
|
|
41
|
+
}, []);
|
|
42
|
+
return (React.createElement("div", { className: "complex-menu-wrapper" },
|
|
43
|
+
React.createElement(LeftNav, { activeSection: activeSection, setValue: props.setValue, getValue: props.getValue, entries: entries, setActiveEntry: setActiveSection }),
|
|
44
|
+
React.createElement(ContentSection, Object.assign({ activeSection: activeSection }, props))));
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=UserPreferencesBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPreferencesBase.js","sourceRoot":"","sources":["../../../src/components/userPreferences/UserPreferencesBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,cAAc,MAAM,6BAA6B,CAAC;AACzD,OAAO,sCAAsC,CAAC;AAE9C,OAAO,aAAa,MAAM,0BAA0B,CAAC;AACrD,+FAA+F;AAC/F,oGAAoG;AACpG,IAAI,aAAa,EAAE,CAAC;AACpB,wGAAwG;AAExG,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAU,EAAE,EAAE;IACjD,qGAAqG;IACrG,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAE5C,SAAS,CAAC,GAAG,EAAE;QACd,SAAS,mBAAmB,CAAC,KAAU,EAAE,QAAa;YACrD,IAAI,KAAK,EAAE;gBACV,OAAO,CAAC,KAAK,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC;aAC1D;iBAAM;gBACN,MAAM,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC;gBAC1B,IAAI,IAAI,CAAC,cAAc,EAAE;oBACxB,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;wBAC1C,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;qBACtC;yBAAM;wBACN,OAAO,CAAC,IAAI,CAAC,WAAW,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,sCAAsC,CAAC,CAAC;qBACpF;iBACD;aACD;QACF,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,iCAAiC,EAAE,mBAAmB,CAAC,CAAC;QAC9F,OAAO,GAAG,EAAE;YACX,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,cAAc,CAAC,iCAAiC,EAAE,mBAAmB,CAAC,CAAC;QAClG,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,gBAAgB,CAAC,CAAC;QAEhE,OAAO,SAAS,OAAO;YACtB,KAAK,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,gBAAgB,CAAC,CAAC;QACpE,CAAC,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,SAAS,EAAC,sBAAsB;QACpC,oBAAC,OAAO,IACP,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,gBAAgB,GAC/B;QACF,oBAAC,cAAc,kBAAC,aAAa,EAAE,aAAa,IAAM,KAAK,EAAI,CACtD,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from \"react\";\n\nimport LeftNav from \"./components/LeftNav\";\nimport ContentSection from \"./components/ContentSection\";\nimport \"../../assets/css/userPreferences.css\";\n\nimport FloatingFocus from \"@q42/floating-focus-a11y\";\n// The package FloatingFocus injects a focus indicator that moves around the page, but only for\n// keyboard users. (Mouse users don't see the indicator.) All that needs to be done is to envoke it.\nnew FloatingFocus();\n// If you want to make changes to the indicator, the styles are being maintained in assets/css/focus.css\n\nexport const UserPreferencesBase = (props: any) => {\n\t// The active section is the section that is currently selected and displayed in the preference menu.\n\tconst [activeSection, setActiveSection] = useState(\"General\");\n\tconst entries = Object.keys(props.sections);\n\n\tuseEffect(() => {\n\t\tfunction listenForPreference(error: any, response: any) {\n\t\t\tif (error) {\n\t\t\t\tconsole.error(\"FinsembleUserPreferencesChannel: \", error);\n\t\t\t} else {\n\t\t\t\tconst { data } = response;\n\t\t\t\tif (data.preferencesTab) {\n\t\t\t\t\tif (entries.includes(data.preferencesTab)) {\n\t\t\t\t\t\tsetActiveSection(data.preferencesTab);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.warn(`Unknown ${data?.preferencesTab} value for User Preferences sections`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tFSBL.Clients.RouterClient.addListener(\"FinsembleUserPreferencesChannel\", listenForPreference);\n\t\treturn () => {\n\t\t\tFSBL.Clients.RouterClient.removeListener(\"FinsembleUserPreferencesChannel\", listenForPreference);\n\t\t};\n\t}, []);\n\n\tuseEffect(() => {\n\t\tprops.addListener({ field: \"activeSection\" }, setActiveSection);\n\n\t\treturn function cleanup() {\n\t\t\tprops.removeListener({ field: \"activeSection\" }, setActiveSection);\n\t\t};\n\t}, []);\n\n\treturn (\n\t\t<div className=\"complex-menu-wrapper\">\n\t\t\t<LeftNav\n\t\t\t\tactiveSection={activeSection}\n\t\t\t\tsetValue={props.setValue}\n\t\t\t\tgetValue={props.getValue}\n\t\t\t\tentries={entries}\n\t\t\t\tsetActiveEntry={setActiveSection}\n\t\t\t/>\n\t\t\t<ContentSection activeSection={activeSection} {...props} />\n\t\t</div>\n\t);\n};\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import * as storeExports from "../toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore";
|
|
3
|
+
import { initialize as userPreferencesStoreInitialize, Actions as UserPreferencesActions, } from "./stores/UserPreferencesStore";
|
|
4
|
+
import { UserPreferences as UserPreferencesComponent } from "./UserPreferences";
|
|
5
|
+
var WorkspaceManagementMenuGlobalStore;
|
|
6
|
+
export const UserPreferences = ({ sections }) => {
|
|
7
|
+
const [ready, setReady] = React.useState(false);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const makeReady = () => {
|
|
10
|
+
storeExports.initialize(() => {
|
|
11
|
+
WorkspaceManagementMenuGlobalStore = storeExports.GlobalStore;
|
|
12
|
+
userPreferencesStoreInitialize(WorkspaceManagementMenuGlobalStore, () => {
|
|
13
|
+
UserPreferencesActions.getWorkspaces();
|
|
14
|
+
});
|
|
15
|
+
setReady(true);
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
if (window.FSBL && (FSBL === null || FSBL === void 0 ? void 0 : FSBL.addEventListener)) {
|
|
19
|
+
FSBL.addEventListener("onReady", makeReady);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
window.addEventListener("FSBLReady", makeReady);
|
|
23
|
+
}
|
|
24
|
+
}, []);
|
|
25
|
+
return React.createElement(React.Fragment, null, ready && React.createElement(UserPreferencesComponent, { sections: sections }));
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=UserPreferencesWrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPreferencesWrapper.js","sourceRoot":"","sources":["../../../src/components/userPreferences/UserPreferencesWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,YAAY,MAAM,wEAAwE,CAAC;AACvG,OAAO,EACN,UAAU,IAAI,8BAA8B,EAC5C,OAAO,IAAI,sBAAsB,GACjC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,IAAI,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,IAAI,kCAAuC,CAAC;AAE5C,MAAM,CAAC,MAAM,eAAe,GAEvB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,SAAS,CAAC,GAAG,EAAE;QACd,MAAM,SAAS,GAAG,GAAG,EAAE;YACtB,YAAY,CAAC,UAAU,CAAC,GAAG,EAAE;gBAC5B,kCAAkC,GAAG,YAAY,CAAC,WAAW,CAAC;gBAC9D,8BAA8B,CAAC,kCAAkC,EAAE,GAAG,EAAE;oBACvE,sBAAsB,CAAC,aAAa,EAAE,CAAC;gBACxC,CAAC,CAAC,CAAC;gBACH,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC;QACF,IAAI,MAAM,CAAC,IAAI,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,gBAAgB,CAAA,EAAE;YAC1C,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;SAC5C;aAAM;YACN,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;SAChD;IACF,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,0CAAG,KAAK,IAAI,oBAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,CAAI,CAAC;AACzE,CAAC,CAAC","sourcesContent":["import React, { useEffect } from \"react\";\nimport * as storeExports from \"../toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore\";\nimport {\n\tinitialize as userPreferencesStoreInitialize,\n\tActions as UserPreferencesActions,\n} from \"./stores/UserPreferencesStore\";\nimport { UserPreferences as UserPreferencesComponent } from \"./UserPreferences\";\n\nvar WorkspaceManagementMenuGlobalStore: any;\n\nexport const UserPreferences: React.FunctionComponent<{\n\tsections?: {};\n}> = ({ sections }) => {\n\tconst [ready, setReady] = React.useState(false);\n\n\tuseEffect(() => {\n\t\tconst makeReady = () => {\n\t\t\tstoreExports.initialize(() => {\n\t\t\t\tWorkspaceManagementMenuGlobalStore = storeExports.GlobalStore;\n\t\t\t\tuserPreferencesStoreInitialize(WorkspaceManagementMenuGlobalStore, () => {\n\t\t\t\t\tUserPreferencesActions.getWorkspaces();\n\t\t\t\t});\n\t\t\t\tsetReady(true);\n\t\t\t});\n\t\t};\n\t\tif (window.FSBL && FSBL?.addEventListener) {\n\t\t\tFSBL.addEventListener(\"onReady\", makeReady);\n\t\t} else {\n\t\t\twindow.addEventListener(\"FSBLReady\", makeReady);\n\t\t}\n\t}, []);\n\n\treturn <>{ready && <UserPreferencesComponent sections={sections} />}</>;\n};\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Displays the user preference section page for the currently selected section.
|
|
4
|
+
* @param {string} props.activeSection The current selected section.
|
|
5
|
+
* @param {object} props.customSections The client customized user preference sections.
|
|
6
|
+
*/
|
|
7
|
+
declare type ContentSectionProps = {
|
|
8
|
+
addListener: Function;
|
|
9
|
+
removeListener: Function;
|
|
10
|
+
getValue: Function;
|
|
11
|
+
setValue: Function;
|
|
12
|
+
activeSection?: String;
|
|
13
|
+
sections?: {
|
|
14
|
+
Dashbar: any;
|
|
15
|
+
General: any;
|
|
16
|
+
Notifications: any;
|
|
17
|
+
Workspaces: any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default class ContentSection extends React.Component<ContentSectionProps> {
|
|
21
|
+
constructor(props: ContentSectionProps);
|
|
22
|
+
hideWindow(): void;
|
|
23
|
+
render(): JSX.Element;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Header } from "../../common/Header";
|
|
3
|
+
export default class ContentSection extends React.Component {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super(props);
|
|
6
|
+
}
|
|
7
|
+
hideWindow() {
|
|
8
|
+
FSBL.Clients.DialogManager.hideModal();
|
|
9
|
+
finsembleWindow === null || finsembleWindow === void 0 ? void 0 : finsembleWindow.hide();
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
const { activeSection, sections } = this.props;
|
|
13
|
+
const Component = sections[activeSection];
|
|
14
|
+
return (React.createElement("div", { className: "complex-menu-content-row" },
|
|
15
|
+
React.createElement("div", { className: "complex-menu-header" },
|
|
16
|
+
React.createElement("div", { style: { marginTop: "-25px", marginLeft: "-25px" }, className: "active-section-header" },
|
|
17
|
+
React.createElement(Header, null, activeSection)),
|
|
18
|
+
React.createElement("div", { role: "button", tabIndex: 0, "aria-label": "Close", className: "ff-close complex-menu-close", onClick: this.hideWindow, onKeyDown: (e) => {
|
|
19
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
20
|
+
this.hideWindow();
|
|
21
|
+
}
|
|
22
|
+
} })),
|
|
23
|
+
React.createElement(Component, { addListener: this.props.addListener, removeListener: this.props.removeListener, setValue: this.props.setValue, getValue: this.props.getValue })));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=ContentSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentSection.js","sourceRoot":"","sources":["../../../../src/components/userPreferences/components/ContentSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgB7C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,SAA8B;IAC/E,YAAY,KAA0B;QACrC,KAAK,CAAC,KAAK,CAAC,CAAC;IACd,CAAC;IAED,UAAU;QACT,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,CAAC;QACvC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IAED,MAAM;QACL,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAQ,IAAI,CAAC,KAAK,CAAC;QACpD,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC1C,OAAO,CACN,6BAAK,SAAS,EAAC,0BAA0B;YACxC,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,6BAAK,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,SAAS,EAAC,uBAAuB;oBACzF,oBAAC,MAAM,QAAE,aAAa,CAAU,CAC3B;gBACN,6BACC,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,gBACA,OAAO,EAClB,SAAS,EAAC,6BAA6B,EACvC,OAAO,EAAE,IAAI,CAAC,UAAU,EACxB,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;wBAChB,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;4BACvC,IAAI,CAAC,UAAU,EAAE,CAAC;yBAClB;oBACF,CAAC,GACK,CACF;YACN,oBAAC,SAAS,IACT,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EACzC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC7B,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,GAC5B,CACG,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["import React from \"react\";\nimport { Header } from \"../../common/Header\";\n\n/**\n * Displays the user preference section page for the currently selected section.\n * @param {string} props.activeSection The current selected section.\n * @param {object} props.customSections The client customized user preference sections.\n */\n\ntype ContentSectionProps = {\n\taddListener: Function;\n\tremoveListener: Function;\n\tgetValue: Function;\n\tsetValue: Function;\n\tactiveSection?: String;\n\tsections?: { Dashbar: any; General: any; Notifications: any; Workspaces: any };\n};\nexport default class ContentSection extends React.Component<ContentSectionProps> {\n\tconstructor(props: ContentSectionProps) {\n\t\tsuper(props);\n\t}\n\n\thideWindow() {\n\t\tFSBL.Clients.DialogManager.hideModal();\n\t\tfinsembleWindow?.hide();\n\t}\n\n\trender() {\n\t\tconst { activeSection, sections }: any = this.props;\n\t\tconst Component = sections[activeSection];\n\t\treturn (\n\t\t\t<div className=\"complex-menu-content-row\">\n\t\t\t\t<div className=\"complex-menu-header\">\n\t\t\t\t\t<div style={{ marginTop: \"-25px\", marginLeft: \"-25px\" }} className=\"active-section-header\">\n\t\t\t\t\t\t<Header>{activeSection}</Header>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t\taria-label=\"Close\"\n\t\t\t\t\t\tclassName=\"ff-close complex-menu-close\"\n\t\t\t\t\t\tonClick={this.hideWindow}\n\t\t\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\t\t\tif (e.key === \"Enter\" || e.key === \" \") {\n\t\t\t\t\t\t\t\tthis.hideWindow();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t></div>\n\t\t\t\t</div>\n\t\t\t\t<Component\n\t\t\t\t\taddListener={this.props.addListener}\n\t\t\t\t\tremoveListener={this.props.removeListener}\n\t\t\t\t\tsetValue={this.props.setValue}\n\t\t\t\t\tgetValue={this.props.getValue}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The left section of the UserPreference menu. It contains all the preference section buttons for the user
|
|
4
|
+
* to select and go to different user preference sections.
|
|
5
|
+
*/
|
|
6
|
+
declare type LeftNavProps = {
|
|
7
|
+
getValue: Function;
|
|
8
|
+
setValue: Function;
|
|
9
|
+
setActiveEntry: Function;
|
|
10
|
+
activeSection: string;
|
|
11
|
+
entries: Array<string>;
|
|
12
|
+
};
|
|
13
|
+
declare type LeftNavState = {
|
|
14
|
+
activeSection: string;
|
|
15
|
+
headerImgUrl: string;
|
|
16
|
+
};
|
|
17
|
+
export default class LeftNav extends React.Component<LeftNavProps, LeftNavState> {
|
|
18
|
+
constructor(props: LeftNavProps);
|
|
19
|
+
setActiveSection(name: string): void;
|
|
20
|
+
componentDidMount(): void;
|
|
21
|
+
static getDerivedStateFromProps(nextProps: any, prevState: any): {
|
|
22
|
+
activeSection: any;
|
|
23
|
+
} | null;
|
|
24
|
+
componentDidUpdate(prevProps: any): void;
|
|
25
|
+
render(): JSX.Element;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import ButtonRow from "../../common/ButtonRow";
|
|
3
|
+
export default class LeftNav extends React.Component {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super(props);
|
|
6
|
+
this.state = {
|
|
7
|
+
activeSection: "General",
|
|
8
|
+
headerImgUrl: "",
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
setActiveSection(name) {
|
|
12
|
+
let activeSection = this.props.getValue({
|
|
13
|
+
field: "activeSection",
|
|
14
|
+
});
|
|
15
|
+
if (activeSection !== name) {
|
|
16
|
+
this.setState({
|
|
17
|
+
activeSection: name,
|
|
18
|
+
});
|
|
19
|
+
this.props.setValue({ field: "activeSection", value: name });
|
|
20
|
+
this.props.setActiveEntry(name);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
componentDidMount() {
|
|
24
|
+
FSBL.Clients.ConfigClient.getValues(null, (err, config) => {
|
|
25
|
+
if (config.startup_app && config.startup_app.applicationIcon) {
|
|
26
|
+
this.setState({
|
|
27
|
+
headerImgUrl: config.startup_app.applicationIcon,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
static getDerivedStateFromProps(nextProps, prevState) {
|
|
33
|
+
if (nextProps.activeSection !== prevState.activeSection) {
|
|
34
|
+
return {
|
|
35
|
+
activeSection: nextProps.activeSection,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
componentDidUpdate(prevProps) {
|
|
41
|
+
if (this.props.activeSection !== prevProps.activeSection) {
|
|
42
|
+
this.setActiveSection(this.props.activeSection);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
return (React.createElement("div", { className: "complex-menu-left-nav-preference", role: "tabgroup" },
|
|
47
|
+
React.createElement("div", { className: "complex-menu-left-nav-header", role: "header", "aria-level": 1 }, "Preferences"),
|
|
48
|
+
this.props.entries.map((entry) => {
|
|
49
|
+
let sectionToggleClasses = "complex-menu-section-toggle";
|
|
50
|
+
if (entry === this.state.activeSection) {
|
|
51
|
+
sectionToggleClasses = `${sectionToggleClasses} active-section-toggle`;
|
|
52
|
+
}
|
|
53
|
+
return (React.createElement("div", { key: entry, style: { height: 35 } },
|
|
54
|
+
React.createElement(ButtonRow, { className: sectionToggleClasses, label: entry, role: "tab", tabIndex: 0, onClick: () => {
|
|
55
|
+
this.setActiveSection(entry);
|
|
56
|
+
}, onKeyDown: (e) => {
|
|
57
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
58
|
+
this.setActiveSection(entry);
|
|
59
|
+
}
|
|
60
|
+
} })));
|
|
61
|
+
})));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=LeftNav.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeftNav.js","sourceRoot":"","sources":["../../../../src/components/userPreferences/components/LeftNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAmB/C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,KAAK,CAAC,SAAqC;IAC/E,YAAY,KAAmB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,aAAa,EAAE,SAAS;YACxB,YAAY,EAAE,EAAE;SAChB,CAAC;IACH,CAAC;IAED,gB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BAAK,SAAS,EAAC,8BAA8B,EAAC,IAAI,EAAC,QAAQ,gBAAa,CAAC,kBAEnE;YACL,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE;gBACtC,IAAI,oBAAoB,GAAG,6BAA6B,CAAC;gBACzD,IAAI,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE;oBACvC,oBAAoB,GAAG,GAAG,oBAAoB,wBAAwB,CAAC;iBACvE;gBACD,OAAO,CACN,6BAAK,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;oBACrC,oBAAC,SAAS,IACT,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,GAAG,EAAE;4BACb,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;wBAC9B,CAAC,EACD,SAAS,EAAE,CAAC,CAAgB,EAAE,EAAE;4BAC/B,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE;gCACvC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;6BAC7B;wBACF,CAAC,GACW,CACR,CACN,CAAC;YACH,CAAC,CAAC,CACG,CACN,CAAC;IACH,CAAC;CACD","sourcesContent":["import React from \"react\";\nimport ButtonRow from \"../../common/ButtonRow\";\n\n/**\n * The left section of the UserPreference menu. It contains all the preference section buttons for the user\n * to select and go to different user preference sections.\n */\n\ntype LeftNavProps = {\n\tgetValue: Function;\n\tsetValue: Function;\n\tsetActiveEntry: Function;\n\tactiveSection: string;\n\tentries: Array<string>;\n};\n\ntype LeftNavState = {\n\tactiveSection: string;\n\theaderImgUrl: string;\n};\nexport default class LeftNav extends React.Component<LeftNavProps, LeftNavState> {\n\tconstructor(props: LeftNavProps) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tactiveSection: \"General\",\n\t\t\theaderImgUrl: \"\",\n\t\t};\n\t}\n\n\tsetActiveSection(name: string) {\n\t\tlet activeSection = this.props.getValue({\n\t\t\tfield: \"activeSection\",\n\t\t});\n\t\tif (activeSection !== name) {\n\t\t\tthis.setState({\n\t\t\t\tactiveSection: name,\n\t\t\t});\n\t\t\tthis.props.setValue({ field: \"activeSection\", value: name });\n\t\t\tthis.props.setActiveEntry(name);\n\t\t}\n\t}\n\n\tcomponentDidMount() {\n\t\tFSBL.Clients.ConfigClient.getValues(null, (err: any, config: any) => {\n\t\t\tif (config.startup_app && config.startup_app.applicationIcon) {\n\t\t\t\tthis.setState({\n\t\t\t\t\theaderImgUrl: config.startup_app.applicationIcon,\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n\n\tstatic getDerivedStateFromProps(nextProps: any, prevState: any) {\n\t\tif (nextProps.activeSection !== prevState.activeSection) {\n\t\t\treturn {\n\t\t\t\tactiveSection: nextProps.activeSection,\n\t\t\t};\n\t\t}\n\t\treturn null;\n\t}\n\n\tcomponentDidUpdate(prevProps: any) {\n\t\tif (this.props.activeSection !== prevProps.activeSection) {\n\t\t\tthis.setActiveSection(this.props.activeSection);\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<div className=\"complex-menu-left-nav-preference\" role=\"tabgroup\">\n\t\t\t\t<div className=\"complex-menu-left-nav-header\" role=\"header\" aria-level={1}>\n\t\t\t\t\tPreferences\n\t\t\t\t</div>\n\t\t\t\t{this.props.entries.map((entry: any) => {\n\t\t\t\t\tlet sectionToggleClasses = \"complex-menu-section-toggle\";\n\t\t\t\t\tif (entry === this.state.activeSection) {\n\t\t\t\t\t\tsectionToggleClasses = `${sectionToggleClasses} active-section-toggle`;\n\t\t\t\t\t}\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<div key={entry} style={{ height: 35 }}>\n\t\t\t\t\t\t\t<ButtonRow\n\t\t\t\t\t\t\t\tclassName={sectionToggleClasses}\n\t\t\t\t\t\t\t\tlabel={entry}\n\t\t\t\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t\tthis.setActiveSection(entry);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tonKeyDown={(e: KeyboardEvent) => {\n\t\t\t\t\t\t\t\t\tif (e.key === \"Enter\" || e.key === \" \") {\n\t\t\t\t\t\t\t\t\t\tthis.setActiveSection(entry);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t></ButtonRow>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../../../assets/css/userPreferences.css";
|
|
3
|
+
declare type DashbarEditorProps = {
|
|
4
|
+
availableItems?: Array<any>;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
declare type DashbarEditorState = {
|
|
8
|
+
dashbarStore: any;
|
|
9
|
+
dashbarConfigPath: string;
|
|
10
|
+
dashbarStorePath: string;
|
|
11
|
+
availableItems: Array<any>;
|
|
12
|
+
};
|
|
13
|
+
export default class DashbarEditor extends React.Component<DashbarEditorProps, DashbarEditorState> {
|
|
14
|
+
constructor(props: DashbarEditorProps);
|
|
15
|
+
componentDidMount(): Promise<void>;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
updateDashbarItems(err: any, data: any): Promise<void>;
|
|
18
|
+
removeItem(itemId: number): void;
|
|
19
|
+
addItem(itemId: number): void;
|
|
20
|
+
render(): JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
export {};
|