@finsemble/finsemble-ui 1.0.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -0
- package/README.md +28 -0
- package/index.d.ts +1 -0
- package/package.json +112 -0
- package/react/actions/favoriteActions.d.ts +21 -0
- package/react/actions/favoriteActions.js +9 -0
- package/react/actions/favoriteActions.js.map +1 -0
- package/react/actions/linkerActions.d.ts +48 -0
- package/react/actions/linkerActions.js +9 -0
- package/react/actions/linkerActions.js.map +1 -0
- package/react/actions/menuActions.d.ts +16 -0
- package/react/actions/menuActions.js +10 -0
- package/react/actions/menuActions.js.map +1 -0
- package/react/actions/rootActions.d.ts +9 -0
- package/react/actions/rootActions.js +3 -0
- package/react/actions/rootActions.js.map +1 -0
- package/react/actions/searchActions.d.ts +12 -0
- package/react/actions/searchActions.js +8 -0
- package/react/actions/searchActions.js.map +1 -0
- package/react/actions/smartDesktopDesignerActions.d.ts +45 -0
- package/react/actions/smartDesktopDesignerActions.js +23 -0
- package/react/actions/smartDesktopDesignerActions.js.map +1 -0
- package/react/actions/toolbarActions.d.ts +61 -0
- package/react/actions/toolbarActions.js +25 -0
- package/react/actions/toolbarActions.js.map +1 -0
- package/react/actions/workspaceActions.d.ts +11 -0
- package/react/actions/workspaceActions.js +7 -0
- package/react/actions/workspaceActions.js.map +1 -0
- package/react/assets/css/advancedAppLauncher.css +639 -0
- package/react/assets/css/appCatalog.css +1064 -0
- package/react/assets/css/authentication.css +79 -0
- package/react/assets/css/button.css +213 -0
- package/react/assets/css/core/formElements.css +23 -0
- package/react/assets/css/core/icons.css +70 -0
- package/react/assets/css/core/notifications.css +75 -0
- package/react/assets/css/core/windowFrame.css +36 -0
- package/react/assets/css/dashbar.css +78 -0
- package/react/assets/css/defaultTheme.css +312 -0
- package/react/assets/css/dialogs.css +160 -0
- package/react/assets/css/favorites.css +56 -0
- package/react/assets/css/finsemble.css +41 -0
- package/react/assets/css/focus.css +4 -0
- package/react/assets/css/font-finance.css +498 -0
- package/react/assets/css/fonts/Open_Sans/LICENSE.txt +202 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Bold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-BoldItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Definition.css +118 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-ExtraBold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Italic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Light.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-LightItalic.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-Regular.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-SemiBold.ttf +0 -0
- package/react/assets/css/fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf +0 -0
- package/react/assets/css/fonts/font-finance.eot +0 -0
- package/react/assets/css/fonts/font-finance.svg +124 -0
- package/react/assets/css/fonts/font-finance.ttf +0 -0
- package/react/assets/css/fonts/font-finance.woff +0 -0
- package/react/assets/css/fonts/icons-reference.html +1174 -0
- package/react/assets/css/linkerWindow.css +136 -0
- package/react/assets/css/menus.css +195 -0
- package/react/assets/css/notificationsCenter.css +613 -0
- package/react/assets/css/processMonitor.css +216 -0
- package/react/assets/css/search.css +128 -0
- package/react/assets/css/shared/animations.css +105 -0
- package/react/assets/css/shared/common.css +40 -0
- package/react/assets/css/tags.css +136 -0
- package/react/assets/css/toolbar.css +412 -0
- package/react/assets/css/userPreferences.css +576 -0
- package/react/assets/css/windowTitleBar.css +699 -0
- package/react/assets/icons/always-on-top.svg +20 -0
- package/react/assets/icons/caret.svg +7 -0
- package/react/assets/icons/check-square.svg +6 -0
- package/react/assets/icons/check.svg +4 -0
- package/react/assets/icons/chevron-left.svg +4 -0
- package/react/assets/icons/chevron-right.svg +4 -0
- package/react/assets/icons/close.svg +11 -0
- package/react/assets/icons/code-block.svg +15 -0
- package/react/assets/icons/copy.svg +11 -0
- package/react/assets/icons/documentation.svg +20 -0
- package/react/assets/icons/exclamation-circle.svg +5 -0
- package/react/assets/icons/external-link.svg +13 -0
- package/react/assets/icons/flag.svg +11 -0
- package/react/assets/icons/folder.svg +4 -0
- package/react/assets/icons/font.svg +4 -0
- package/react/assets/icons/globe.svg +4 -0
- package/react/assets/icons/group.png +0 -0
- package/react/assets/icons/hdd.svg +10 -0
- package/react/assets/icons/icon-copy.png +0 -0
- package/react/assets/icons/icons-app-manual.png +0 -0
- package/react/assets/icons/icons-app-native.png +0 -0
- package/react/assets/icons/icons-app-web.png +0 -0
- package/react/assets/icons/icons-app-wizard.png +0 -0
- package/react/assets/icons/icons-cancel.png +0 -0
- package/react/assets/icons/icons-confirm.png +0 -0
- package/react/assets/icons/icons-welcome-application.png +0 -0
- package/react/assets/icons/icons-welcome-export.png +0 -0
- package/react/assets/icons/icons-welcome-start.png +0 -0
- package/react/assets/icons/icons-welcome-theme.png +0 -0
- package/react/assets/icons/key.svg +11 -0
- package/react/assets/icons/life-ring.svg +4 -0
- package/react/assets/icons/linker.svg +18 -0
- package/react/assets/icons/lock.svg +6 -0
- package/react/assets/icons/magic.svg +16 -0
- package/react/assets/icons/maximize.svg +16 -0
- package/react/assets/icons/minimize.svg +15 -0
- package/react/assets/icons/moon.svg +11 -0
- package/react/assets/icons/paint-roller.svg +4 -0
- package/react/assets/icons/pencil.svg +11 -0
- package/react/assets/icons/plus.svg +4 -0
- package/react/assets/icons/question-circle.svg +6 -0
- package/react/assets/icons/search.svg +4 -0
- package/react/assets/icons/server.svg +26 -0
- package/react/assets/icons/sun.svg +10 -0
- package/react/assets/icons/times.svg +4 -0
- package/react/assets/icons/toggle-off.svg +7 -0
- package/react/assets/icons/toggle-on.svg +7 -0
- package/react/assets/icons/toolbar.svg +12 -0
- package/react/assets/icons/tools.svg +4 -0
- package/react/assets/icons/trash.svg +13 -0
- package/react/assets/icons/upload.svg +11 -0
- package/react/assets/icons/window.svg +4 -0
- package/react/assets/img/Finsemble_SystemTray_Icon.png +0 -0
- package/react/assets/img/Finsemble_Taskbar_Icon.png +0 -0
- package/react/assets/img/Finsemble_Toolbar_Icon.png +0 -0
- package/react/assets/img/cosaic-banner-100x20.png +0 -0
- package/react/assets/img/finsemble-display.png +0 -0
- package/react/assets/img/finsembleDarkBG_Solo@1.5x.png +0 -0
- package/react/componentTemplateGenerator.d.ts +1 -0
- package/react/componentTemplateGenerator.js +150 -0
- package/react/componentTemplateGenerator.js.map +1 -0
- package/react/components/FinsembleProvider.d.ts +14 -0
- package/react/components/FinsembleProvider.js +22 -0
- package/react/components/FinsembleProvider.js.map +1 -0
- package/react/components/appCatalog/AppCatalog.d.ts +10 -0
- package/react/components/appCatalog/AppCatalog.js +25 -0
- package/react/components/appCatalog/AppCatalog.js.map +1 -0
- package/react/components/appCatalog/AppCatalogComponent.d.ts +82 -0
- package/react/components/appCatalog/AppCatalogComponent.js +304 -0
- package/react/components/appCatalog/AppCatalogComponent.js.map +1 -0
- package/react/components/appCatalog/components/AppCard.d.ts +51 -0
- package/react/components/appCatalog/components/AppCard.js +201 -0
- package/react/components/appCatalog/components/AppCard.js.map +1 -0
- package/react/components/appCatalog/components/AppList.d.ts +8 -0
- package/react/components/appCatalog/components/AppList.js +26 -0
- package/react/components/appCatalog/components/AppList.js.map +1 -0
- package/react/components/appCatalog/components/AppResults.d.ts +21 -0
- package/react/components/appCatalog/components/AppResults.js +72 -0
- package/react/components/appCatalog/components/AppResults.js.map +1 -0
- package/react/components/appCatalog/components/Carousel.d.ts +37 -0
- package/react/components/appCatalog/components/Carousel.js +127 -0
- package/react/components/appCatalog/components/Carousel.js.map +1 -0
- package/react/components/appCatalog/components/EmptyResults.d.ts +7 -0
- package/react/components/appCatalog/components/EmptyResults.js +13 -0
- package/react/components/appCatalog/components/EmptyResults.js.map +1 -0
- package/react/components/appCatalog/components/Hero.d.ts +42 -0
- package/react/components/appCatalog/components/Hero.js +84 -0
- package/react/components/appCatalog/components/Hero.js.map +1 -0
- package/react/components/appCatalog/components/Home.d.ts +21 -0
- package/react/components/appCatalog/components/Home.js +29 -0
- package/react/components/appCatalog/components/Home.js.map +1 -0
- package/react/components/appCatalog/components/SearchBar.d.ts +57 -0
- package/react/components/appCatalog/components/SearchBar.js +108 -0
- package/react/components/appCatalog/components/SearchBar.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.d.ts +11 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js +16 -0
- package/react/components/appCatalog/components/Showcase/AppDescription.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.d.ts +14 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js +31 -0
- package/react/components/appCatalog/components/Showcase/AppDevNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.d.ts +28 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js +129 -0
- package/react/components/appCatalog/components/Showcase/AppShowcase.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/Header.d.ts +21 -0
- package/react/components/appCatalog/components/Showcase/Header.js +58 -0
- package/react/components/appCatalog/components/Showcase/Header.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.d.ts +13 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js +26 -0
- package/react/components/appCatalog/components/Showcase/ImageCarousel.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/Modal.d.ts +18 -0
- package/react/components/appCatalog/components/Showcase/Modal.js +24 -0
- package/react/components/appCatalog/components/Showcase/Modal.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.d.ts +9 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js +19 -0
- package/react/components/appCatalog/components/Showcase/ReleaseNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.d.ts +11 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js +27 -0
- package/react/components/appCatalog/components/Showcase/SupportNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.d.ts +9 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js +22 -0
- package/react/components/appCatalog/components/Showcase/VersionNotes.js.map +1 -0
- package/react/components/appCatalog/components/Showcase/defaults.d.ts +3 -0
- package/react/components/appCatalog/components/Showcase/defaults.js +4 -0
- package/react/components/appCatalog/components/Showcase/defaults.js.map +1 -0
- package/react/components/appCatalog/components/Tag.d.ts +13 -0
- package/react/components/appCatalog/components/Tag.js +23 -0
- package/react/components/appCatalog/components/Tag.js.map +1 -0
- package/react/components/appCatalog/components/Toast.d.ts +11 -0
- package/react/components/appCatalog/components/Toast.js +39 -0
- package/react/components/appCatalog/components/Toast.js.map +1 -0
- package/react/components/appCatalog/components/helpers.d.ts +2 -0
- package/react/components/appCatalog/components/helpers.js +34 -0
- package/react/components/appCatalog/components/helpers.js.map +1 -0
- package/react/components/appCatalog/index.d.ts +1 -0
- package/react/components/appCatalog/index.js +2 -0
- package/react/components/appCatalog/index.js.map +1 -0
- package/react/components/appCatalog/modules/AppDirectory.d.ts +12 -0
- package/react/components/appCatalog/modules/AppDirectory.js +11 -0
- package/react/components/appCatalog/modules/AppDirectory.js.map +1 -0
- package/react/components/appCatalog/modules/FDC3.d.ts +51 -0
- package/react/components/appCatalog/modules/FDC3.js +147 -0
- package/react/components/appCatalog/modules/FDC3.js.map +1 -0
- package/react/components/appCatalog/stores/appStore.d.ts +9 -0
- package/react/components/appCatalog/stores/appStore.js +47 -0
- package/react/components/appCatalog/stores/appStore.js.map +1 -0
- package/react/components/appCatalog/stores/storeActions.d.ts +145 -0
- package/react/components/appCatalog/stores/storeActions.js +424 -0
- package/react/components/appCatalog/stores/storeActions.js.map +1 -0
- package/react/components/common/Accordion.d.ts +11 -0
- package/react/components/common/Accordion.js +20 -0
- package/react/components/common/Accordion.js.map +1 -0
- package/react/components/common/Button.d.ts +33 -0
- package/react/components/common/Button.js +21 -0
- package/react/components/common/Button.js.map +1 -0
- package/react/components/common/ButtonIcon.d.ts +4 -0
- package/react/components/common/ButtonIcon.js +11 -0
- package/react/components/common/ButtonIcon.js.map +1 -0
- package/react/components/common/ButtonRow.d.ts +15 -0
- package/react/components/common/ButtonRow.js +32 -0
- package/react/components/common/ButtonRow.js.map +1 -0
- package/react/components/common/ButtonTile.d.ts +4 -0
- package/react/components/common/ButtonTile.js +12 -0
- package/react/components/common/ButtonTile.js.map +1 -0
- package/react/components/common/Checkbox.d.ts +10 -0
- package/react/components/common/Checkbox.js +24 -0
- package/react/components/common/Checkbox.js.map +1 -0
- package/react/components/common/ColorPicker.d.ts +20 -0
- package/react/components/common/ColorPicker.js +92 -0
- package/react/components/common/ColorPicker.js.map +1 -0
- package/react/components/common/DropZone.d.ts +22 -0
- package/react/components/common/DropZone.js +65 -0
- package/react/components/common/DropZone.js.map +1 -0
- package/react/components/common/DropdownButton.d.ts +14 -0
- package/react/components/common/DropdownButton.js +37 -0
- package/react/components/common/DropdownButton.js.map +1 -0
- package/react/components/common/ErrorBoundary.d.ts +34 -0
- package/react/components/common/ErrorBoundary.js +43 -0
- package/react/components/common/ErrorBoundary.js.map +1 -0
- package/react/components/common/FileInput.d.ts +30 -0
- package/react/components/common/FileInput.js +123 -0
- package/react/components/common/FileInput.js.map +1 -0
- package/react/components/common/FinsembleIcon.d.ts +20 -0
- package/react/components/common/FinsembleIcon.js +143 -0
- package/react/components/common/FinsembleIcon.js.map +1 -0
- package/react/components/common/FinsembleLink.d.ts +6 -0
- package/react/components/common/FinsembleLink.js +12 -0
- package/react/components/common/FinsembleLink.js.map +1 -0
- package/react/components/common/FinsembleSelect.d.ts +13 -0
- package/react/components/common/FinsembleSelect.js +62 -0
- package/react/components/common/FinsembleSelect.js.map +1 -0
- package/react/components/common/FinsembleToggle.d.ts +9 -0
- package/react/components/common/FinsembleToggle.js +23 -0
- package/react/components/common/FinsembleToggle.js.map +1 -0
- package/react/components/common/FinsembleToggleButtonBar.d.ts +13 -0
- package/react/components/common/FinsembleToggleButtonBar.js +44 -0
- package/react/components/common/FinsembleToggleButtonBar.js.map +1 -0
- package/react/components/common/Header.d.ts +12 -0
- package/react/components/common/Header.js +19 -0
- package/react/components/common/Header.js.map +1 -0
- package/react/components/common/ImagePreview.d.ts +21 -0
- package/react/components/common/ImagePreview.js +43 -0
- package/react/components/common/ImagePreview.js.map +1 -0
- package/react/components/common/InputTable.d.ts +18 -0
- package/react/components/common/InputTable.js +57 -0
- package/react/components/common/InputTable.js.map +1 -0
- package/react/components/common/LoadingSpinner.d.ts +3 -0
- package/react/components/common/LoadingSpinner.js +11 -0
- package/react/components/common/LoadingSpinner.js.map +1 -0
- package/react/components/common/Tab.d.ts +11 -0
- package/react/components/common/Tab.js +58 -0
- package/react/components/common/Tab.js.map +1 -0
- package/react/components/common/TimeSelect.d.ts +16 -0
- package/react/components/common/TimeSelect.js +174 -0
- package/react/components/common/TimeSelect.js.map +1 -0
- package/react/components/common/Tooltip.d.ts +14 -0
- package/react/components/common/Tooltip.js +30 -0
- package/react/components/common/Tooltip.js.map +1 -0
- package/react/components/common/css/FinsembleToggle.css +22 -0
- package/react/components/common/css/accordion.css +100 -0
- package/react/components/common/css/application-edit-page.css +330 -0
- package/react/components/common/css/application-list.css +53 -0
- package/react/components/common/css/button.css +171 -0
- package/react/components/common/css/checkbox.css +30 -0
- package/react/components/common/css/color-picker.css +52 -0
- package/react/components/common/css/drop-zone.css +13 -0
- package/react/components/common/css/file-input.css +65 -0
- package/react/components/common/css/header.css +31 -0
- package/react/components/common/css/icon.css +13 -0
- package/react/components/common/css/image-preview.css +57 -0
- package/react/components/common/css/loading-spinner.css +34 -0
- package/react/components/common/css/preload-edit-page.css +37 -0
- package/react/components/common/css/selector.css +51 -0
- package/react/components/common/css/styles.css +133 -0
- package/react/components/common/css/tab.css +56 -0
- package/react/components/common/css/time-select.css +9 -0
- package/react/components/common/css/toggle.css +60 -0
- package/react/components/common/css/tooltip.css +77 -0
- package/react/components/common/file_helpers.d.ts +2 -0
- package/react/components/common/file_helpers.js +22 -0
- package/react/components/common/file_helpers.js.map +1 -0
- package/react/components/common/fixtures/FinsembleIcon.css +4 -0
- package/react/components/common/helpers.d.ts +5 -0
- package/react/components/common/helpers.js +127 -0
- package/react/components/common/helpers.js.map +1 -0
- package/react/components/common/stories/Accordion.stories.d.ts +14 -0
- package/react/components/common/stories/Accordion.stories.js +42 -0
- package/react/components/common/stories/Accordion.stories.js.map +1 -0
- package/react/components/common/stories/Button.stories.d.ts +22 -0
- package/react/components/common/stories/Button.stories.js +77 -0
- package/react/components/common/stories/Button.stories.js.map +1 -0
- package/react/components/common/stories/ButtonIcon.stories.d.ts +15 -0
- package/react/components/common/stories/ButtonIcon.stories.js +35 -0
- package/react/components/common/stories/ButtonIcon.stories.js.map +1 -0
- package/react/components/common/stories/ButtonRow.stories.d.ts +14 -0
- package/react/components/common/stories/ButtonRow.stories.js +39 -0
- package/react/components/common/stories/ButtonRow.stories.js.map +1 -0
- package/react/components/common/stories/ButtonTile.stories.d.ts +17 -0
- package/react/components/common/stories/ButtonTile.stories.js +45 -0
- package/react/components/common/stories/ButtonTile.stories.js.map +1 -0
- package/react/components/common/stories/Checkbox.stories.d.ts +13 -0
- package/react/components/common/stories/Checkbox.stories.js +29 -0
- package/react/components/common/stories/Checkbox.stories.js.map +1 -0
- package/react/components/common/stories/ColorPicker.stories.d.ts +13 -0
- package/react/components/common/stories/ColorPicker.stories.js +29 -0
- package/react/components/common/stories/ColorPicker.stories.js.map +1 -0
- package/react/components/common/stories/DropZone.stories.d.ts +11 -0
- package/react/components/common/stories/DropZone.stories.js +16 -0
- package/react/components/common/stories/DropZone.stories.js.map +1 -0
- package/react/components/common/stories/DropdownButton.stories.d.ts +33 -0
- package/react/components/common/stories/DropdownButton.stories.js +41 -0
- package/react/components/common/stories/DropdownButton.stories.js.map +1 -0
- package/react/components/common/stories/FileInput.stories.d.ts +18 -0
- package/react/components/common/stories/FileInput.stories.js +59 -0
- package/react/components/common/stories/FileInput.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleIcon.stories.d.ts +3 -0
- package/react/components/common/stories/FinsembleIcon.stories.js +43 -0
- package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleSelect.stories.d.ts +20 -0
- package/react/components/common/stories/FinsembleSelect.stories.js +188 -0
- package/react/components/common/stories/FinsembleSelect.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleToggle.stories.d.ts +13 -0
- package/react/components/common/stories/FinsembleToggle.stories.js +28 -0
- package/react/components/common/stories/FinsembleToggle.stories.js.map +1 -0
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.d.ts +14 -0
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js +97 -0
- package/react/components/common/stories/FinsembleToggleButtonBar.stories.js.map +1 -0
- package/react/components/common/stories/Header.stories.d.ts +14 -0
- package/react/components/common/stories/Header.stories.js +38 -0
- package/react/components/common/stories/Header.stories.js.map +1 -0
- package/react/components/common/stories/ImagePreview.stories.d.ts +16 -0
- package/react/components/common/stories/ImagePreview.stories.js +55 -0
- package/react/components/common/stories/ImagePreview.stories.js.map +1 -0
- package/react/components/common/stories/InputTable.stories.d.ts +13 -0
- package/react/components/common/stories/InputTable.stories.js +45 -0
- package/react/components/common/stories/InputTable.stories.js.map +1 -0
- package/react/components/common/stories/LoadingSpinner.stories.d.ts +9 -0
- package/react/components/common/stories/LoadingSpinner.stories.js +10 -0
- package/react/components/common/stories/LoadingSpinner.stories.js.map +1 -0
- package/react/components/common/stories/Tab.stories.d.ts +12 -0
- package/react/components/common/stories/Tab.stories.js +28 -0
- package/react/components/common/stories/Tab.stories.js.map +1 -0
- package/react/components/common/stories/TimeSelect.stories.d.ts +11 -0
- package/react/components/common/stories/TimeSelect.stories.js +20 -0
- package/react/components/common/stories/TimeSelect.stories.js.map +1 -0
- package/react/components/common/stories/Tooltip.stories.d.ts +27 -0
- package/react/components/common/stories/Tooltip.stories.js +47 -0
- package/react/components/common/stories/Tooltip.stories.js.map +1 -0
- package/react/components/common/tests/Accordion.spec.d.ts +1 -0
- package/react/components/common/tests/Accordion.spec.js +59 -0
- package/react/components/common/tests/Accordion.spec.js.map +1 -0
- package/react/components/common/tests/ButtonRow.spec.d.ts +1 -0
- package/react/components/common/tests/ButtonRow.spec.js +30 -0
- package/react/components/common/tests/ButtonRow.spec.js.map +1 -0
- package/react/components/common/tests/Checkbox.spec.d.ts +1 -0
- package/react/components/common/tests/Checkbox.spec.js +36 -0
- package/react/components/common/tests/Checkbox.spec.js.map +1 -0
- package/react/components/common/tests/ColorPicker.spec.d.ts +1 -0
- package/react/components/common/tests/ColorPicker.spec.js +96 -0
- package/react/components/common/tests/ColorPicker.spec.js.map +1 -0
- package/react/components/common/tests/DropZone.spec.d.ts +1 -0
- package/react/components/common/tests/DropZone.spec.js +55 -0
- package/react/components/common/tests/DropZone.spec.js.map +1 -0
- package/react/components/common/tests/FileInput.spec.d.ts +1 -0
- package/react/components/common/tests/FileInput.spec.js +72 -0
- package/react/components/common/tests/FileInput.spec.js.map +1 -0
- package/react/components/common/tests/FinsembleSelect.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleSelect.spec.js +89 -0
- package/react/components/common/tests/FinsembleSelect.spec.js.map +1 -0
- package/react/components/common/tests/FinsembleToggle.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleToggle.spec.js +29 -0
- package/react/components/common/tests/FinsembleToggle.spec.js.map +1 -0
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.d.ts +1 -0
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js +41 -0
- package/react/components/common/tests/FinsembleToggleButtonBar.spec.js.map +1 -0
- package/react/components/common/tests/Header.spec.d.ts +1 -0
- package/react/components/common/tests/Header.spec.js +24 -0
- package/react/components/common/tests/Header.spec.js.map +1 -0
- package/react/components/common/tests/ImagePreview.spec.d.ts +1 -0
- package/react/components/common/tests/ImagePreview.spec.js +46 -0
- package/react/components/common/tests/ImagePreview.spec.js.map +1 -0
- package/react/components/common/tests/InputTable.spec.d.ts +1 -0
- package/react/components/common/tests/InputTable.spec.js +166 -0
- package/react/components/common/tests/InputTable.spec.js.map +1 -0
- package/react/components/common/tests/Tab.spec.d.ts +1 -0
- package/react/components/common/tests/Tab.spec.js +25 -0
- package/react/components/common/tests/Tab.spec.js.map +1 -0
- package/react/components/common/tests/TimeSelect.spec.d.ts +1 -0
- package/react/components/common/tests/TimeSelect.spec.js +75 -0
- package/react/components/common/tests/TimeSelect.spec.js.map +1 -0
- package/react/components/common/tests/Tooltip.spec.d.ts +1 -0
- package/react/components/common/tests/Tooltip.spec.js +50 -0
- package/react/components/common/tests/Tooltip.spec.js.map +1 -0
- package/react/components/favorites/FavoriteMaker.d.ts +16 -0
- package/react/components/favorites/FavoriteMaker.js +40 -0
- package/react/components/favorites/FavoriteMaker.js.map +1 -0
- package/react/components/favorites/FavoritesShell.d.ts +7 -0
- package/react/components/favorites/FavoritesShell.js +41 -0
- package/react/components/favorites/FavoritesShell.js.map +1 -0
- package/react/components/favorites/FavoritesShell.spec.d.ts +1 -0
- package/react/components/favorites/FavoritesShell.spec.js +64 -0
- package/react/components/favorites/FavoritesShell.spec.js.map +1 -0
- package/react/components/favorites/FavoritesShell.stories.d.ts +9 -0
- package/react/components/favorites/FavoritesShell.stories.js +46 -0
- package/react/components/favorites/FavoritesShell.stories.js.map +1 -0
- package/react/components/favorites/index.d.ts +2 -0
- package/react/components/favorites/index.js +3 -0
- package/react/components/favorites/index.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverContainer.d.ts +2 -0
- package/react/components/fdc3Resolver/ResolverContainer.js +52 -0
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.css +139 -0
- package/react/components/fdc3Resolver/ResolverDialog.d.ts +19 -0
- package/react/components/fdc3Resolver/ResolverDialog.js +71 -0
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.spec.d.ts +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +52 -0
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.d.ts +13 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +175 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -0
- package/react/components/icon/Icon.d.ts +22 -0
- package/react/components/icon/Icon.js +101 -0
- package/react/components/icon/Icon.js.map +1 -0
- package/react/components/icon/index.d.ts +1 -0
- package/react/components/icon/index.js +2 -0
- package/react/components/icon/index.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialog.d.ts +18 -0
- package/react/components/legacyControls/FinsembleDialog.js +57 -0
- package/react/components/legacyControls/FinsembleDialog.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogButton.d.ts +15 -0
- package/react/components/legacyControls/FinsembleDialogButton.js +17 -0
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.d.ts +13 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js +17 -0
- package/react/components/legacyControls/FinsembleDialogQuestion.js.map +1 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.d.ts +20 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js +64 -0
- package/react/components/legacyControls/FinsembleDialogTextInput.js.map +1 -0
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +45 -0
- package/react/components/legacyControls/FinsembleDnDContext.js +293 -0
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -0
- package/react/components/legacyControls/FinsembleDraggable.d.ts +14 -0
- package/react/components/legacyControls/FinsembleDraggable.js +22 -0
- package/react/components/legacyControls/FinsembleDraggable.js.map +1 -0
- package/react/components/legacyControls/FinsembleHoverDetector.d.ts +22 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js +57 -0
- package/react/components/legacyControls/FinsembleHoverDetector.js.map +1 -0
- package/react/components/legacyControls/FinsembleMenuSection.d.ts +17 -0
- package/react/components/legacyControls/FinsembleMenuSection.js +123 -0
- package/react/components/legacyControls/FinsembleMenuSection.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.d.ts +10 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js +21 -0
- package/react/components/legacyControls/stories/FinsembleDialog.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.d.ts +18 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js +37 -0
- package/react/components/legacyControls/stories/FinsembleDialogButton.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.d.ts +14 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js +15 -0
- package/react/components/legacyControls/stories/FinsembleDialogQuestion.stories.js.map +1 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.d.ts +16 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js +51 -0
- package/react/components/legacyControls/stories/FinsembleDialogTextInput.stories.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js +12 -0
- package/react/components/legacyControls/tests/FinsembleDialog.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js +39 -0
- package/react/components/legacyControls/tests/FinsembleDialogButton.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js +19 -0
- package/react/components/legacyControls/tests/FinsembleDialogQuestion.spec.js.map +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.d.ts +1 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js +83 -0
- package/react/components/legacyControls/tests/FinsembleDialogTextInput.spec.js.map +1 -0
- package/react/components/linker/LinkerMenu.d.ts +6 -0
- package/react/components/linker/LinkerMenu.js +129 -0
- package/react/components/linker/LinkerMenu.js.map +1 -0
- package/react/components/linker/LinkerMenuDeprecated.d.ts +7 -0
- package/react/components/linker/LinkerMenuDeprecated.js +38 -0
- package/react/components/linker/LinkerMenuDeprecated.js.map +1 -0
- package/react/components/linker/index.d.ts +1 -0
- package/react/components/linker/index.js +2 -0
- package/react/components/linker/index.js.map +1 -0
- package/react/components/linker/remoteRedux.d.ts +12 -0
- package/react/components/linker/remoteRedux.js +21 -0
- package/react/components/linker/remoteRedux.js.map +1 -0
- package/react/components/menu/Menu.d.ts +28 -0
- package/react/components/menu/Menu.js +26 -0
- package/react/components/menu/Menu.js.map +1 -0
- package/react/components/menu/MenuAutoResizer.d.ts +18 -0
- package/react/components/menu/MenuAutoResizer.js +67 -0
- package/react/components/menu/MenuAutoResizer.js.map +1 -0
- package/react/components/menu/MenuContent.d.ts +8 -0
- package/react/components/menu/MenuContent.js +15 -0
- package/react/components/menu/MenuContent.js.map +1 -0
- package/react/components/menu/MenuHotKey.d.ts +19 -0
- package/react/components/menu/MenuHotKey.js +35 -0
- package/react/components/menu/MenuHotKey.js.map +1 -0
- package/react/components/menu/MenuItem.d.ts +16 -0
- package/react/components/menu/MenuItem.js +22 -0
- package/react/components/menu/MenuItem.js.map +1 -0
- package/react/components/menu/MenuPortal.d.ts +4 -0
- package/react/components/menu/MenuPortal.js +242 -0
- package/react/components/menu/MenuPortal.js.map +1 -0
- package/react/components/menu/MenuShell.d.ts +30 -0
- package/react/components/menu/MenuShell.js +48 -0
- package/react/components/menu/MenuShell.js.map +1 -0
- package/react/components/menu/MenuToggle.d.ts +5 -0
- package/react/components/menu/MenuToggle.js +19 -0
- package/react/components/menu/MenuToggle.js.map +1 -0
- package/react/components/menu/index.d.ts +5 -0
- package/react/components/menu/index.js +6 -0
- package/react/components/menu/index.js.map +1 -0
- package/react/components/menu/keyboardNavigation.d.ts +13 -0
- package/react/components/menu/keyboardNavigation.js +196 -0
- package/react/components/menu/keyboardNavigation.js.map +1 -0
- package/react/components/menu/menuContext.d.ts +17 -0
- package/react/components/menu/menuContext.js +9 -0
- package/react/components/menu/menuContext.js.map +1 -0
- package/react/components/menu/menuHelpers.d.ts +32 -0
- package/react/components/menu/menuHelpers.js +111 -0
- package/react/components/menu/menuHelpers.js.map +1 -0
- package/react/components/notifications/components/NoNotifications.d.ts +3 -0
- package/react/components/notifications/components/NoNotifications.js +5 -0
- package/react/components/notifications/components/NoNotifications.js.map +1 -0
- package/react/components/notifications/components/drawer/Drawer.d.ts +7 -0
- package/react/components/notifications/components/drawer/Drawer.js +5 -0
- package/react/components/notifications/components/drawer/Drawer.js.map +1 -0
- package/react/components/notifications/components/drawer/DrawerControls.d.ts +3 -0
- package/react/components/notifications/components/drawer/DrawerControls.js +117 -0
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -0
- package/react/components/notifications/components/drawer/DrawerHeader.d.ts +6 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js +77 -0
- package/react/components/notifications/components/drawer/DrawerHeader.js.map +1 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.d.ts +4 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +402 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.d.ts +4 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +162 -0
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -0
- package/react/components/notifications/components/shared/CheckButton.d.ts +7 -0
- package/react/components/notifications/components/shared/CheckButton.js +39 -0
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -0
- package/react/components/notifications/components/shared/IconButton.d.ts +10 -0
- package/react/components/notifications/components/shared/IconButton.js +10 -0
- package/react/components/notifications/components/shared/IconButton.js.map +1 -0
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +19 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js +87 -0
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -0
- package/react/components/notifications/components/shared/OverflowMenu.d.ts +16 -0
- package/react/components/notifications/components/shared/OverflowMenu.js +114 -0
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js +32 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.d.ts +4 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyContentLogo.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +7 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js +14 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +9 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js +66 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.d.ts +4 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js +8 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderLogo.js.map +1 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +9 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js +19 -0
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -0
- package/react/components/notifications/components/views/CardView.d.ts +4 -0
- package/react/components/notifications/components/views/CardView.js +92 -0
- package/react/components/notifications/components/views/CardView.js.map +1 -0
- package/react/components/notifications/components/views/ListView.d.ts +11 -0
- package/react/components/notifications/components/views/ListView.js +150 -0
- package/react/components/notifications/components/views/ListView.js.map +1 -0
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts +7 -0
- package/react/components/notifications/components/views/NotificationDetailsView.js +64 -0
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -0
- package/react/components/notifications/constants.d.ts +9 -0
- package/react/components/notifications/constants.js +12 -0
- package/react/components/notifications/constants.js.map +1 -0
- package/react/components/notifications/icons/Card.d.ts +2 -0
- package/react/components/notifications/icons/Card.js +11 -0
- package/react/components/notifications/icons/Card.js.map +1 -0
- package/react/components/notifications/icons/Chevron.d.ts +2 -0
- package/react/components/notifications/icons/Chevron.js +14 -0
- package/react/components/notifications/icons/Chevron.js.map +1 -0
- package/react/components/notifications/icons/CloseIcon.d.ts +2 -0
- package/react/components/notifications/icons/CloseIcon.js +10 -0
- package/react/components/notifications/icons/CloseIcon.js.map +1 -0
- package/react/components/notifications/icons/EnvelopeClose.d.ts +2 -0
- package/react/components/notifications/icons/EnvelopeClose.js +12 -0
- package/react/components/notifications/icons/EnvelopeClose.js.map +1 -0
- package/react/components/notifications/icons/EnvelopeOpen.d.ts +2 -0
- package/react/components/notifications/icons/EnvelopeOpen.js +11 -0
- package/react/components/notifications/icons/EnvelopeOpen.js.map +1 -0
- package/react/components/notifications/icons/SnoozeIcon.d.ts +2 -0
- package/react/components/notifications/icons/SnoozeIcon.js +13 -0
- package/react/components/notifications/icons/SnoozeIcon.js.map +1 -0
- package/react/components/notifications/index.d.ts +8 -0
- package/react/components/notifications/index.js +9 -0
- package/react/components/notifications/index.js.map +1 -0
- package/react/components/notifications/notificationsContext.d.ts +7 -0
- package/react/components/notifications/notificationsContext.js +7 -0
- package/react/components/notifications/notificationsContext.js.map +1 -0
- package/react/components/notifications/types.d.ts +91 -0
- package/react/components/notifications/types.js +2 -0
- package/react/components/notifications/types.js.map +1 -0
- package/react/components/notifications/utils.d.ts +16 -0
- package/react/components/notifications/utils.js +71 -0
- package/react/components/notifications/utils.js.map +1 -0
- package/react/components/processMonitor/ProcessMonitor.d.ts +6 -0
- package/react/components/processMonitor/ProcessMonitor.js +101 -0
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -0
- package/react/components/processMonitor/ProcessMonitorTypes.d.ts +26 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js +6 -0
- package/react/components/processMonitor/ProcessMonitorTypes.js.map +1 -0
- package/react/components/processMonitor/components/ChildWindow.d.ts +14 -0
- package/react/components/processMonitor/components/ChildWindow.js +40 -0
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -0
- package/react/components/processMonitor/components/ListHeader.d.ts +24 -0
- package/react/components/processMonitor/components/ListHeader.js +54 -0
- package/react/components/processMonitor/components/ListHeader.js.map +1 -0
- package/react/components/processMonitor/components/ProcessStatistics.d.ts +12 -0
- package/react/components/processMonitor/components/ProcessStatistics.js +67 -0
- package/react/components/processMonitor/components/ProcessStatistics.js.map +1 -0
- package/react/components/processMonitor/constants.d.ts +9 -0
- package/react/components/processMonitor/constants.js +30 -0
- package/react/components/processMonitor/constants.js.map +1 -0
- package/react/components/processMonitor/helpers.d.ts +18 -0
- package/react/components/processMonitor/helpers.js +56 -0
- package/react/components/processMonitor/helpers.js.map +1 -0
- package/react/components/processMonitor/helpers.spec.d.ts +1 -0
- package/react/components/processMonitor/helpers.spec.js +48 -0
- package/react/components/processMonitor/helpers.spec.js.map +1 -0
- package/react/components/processMonitor/index.d.ts +1 -0
- package/react/components/processMonitor/index.js +2 -0
- package/react/components/processMonitor/index.js.map +1 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +62 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +291 -0
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -0
- package/react/components/quickComponentForm/QuickComponentForm.d.ts +7 -0
- package/react/components/quickComponentForm/QuickComponentForm.js +114 -0
- package/react/components/quickComponentForm/QuickComponentForm.js.map +1 -0
- package/react/components/quickComponentForm/index.d.ts +1 -0
- package/react/components/quickComponentForm/index.js +2 -0
- package/react/components/quickComponentForm/index.js.map +1 -0
- package/react/components/quickComponentForm/quickComponent.css +3 -0
- package/react/components/sdd/AddApp.d.ts +17 -0
- package/react/components/sdd/AddApp.js +170 -0
- package/react/components/sdd/AddApp.js.map +1 -0
- package/react/components/sdd/AppEditAccess.d.ts +16 -0
- package/react/components/sdd/AppEditAccess.js +130 -0
- package/react/components/sdd/AppEditAccess.js.map +1 -0
- package/react/components/sdd/AppEditPage.d.ts +26 -0
- package/react/components/sdd/AppEditPage.js +428 -0
- package/react/components/sdd/AppEditPage.js.map +1 -0
- package/react/components/sdd/Appearance.css +35 -0
- package/react/components/sdd/Appearance.d.ts +30 -0
- package/react/components/sdd/Appearance.helpers.d.ts +1 -0
- package/react/components/sdd/Appearance.helpers.js +2 -0
- package/react/components/sdd/Appearance.helpers.js.map +1 -0
- package/react/components/sdd/Appearance.js +64 -0
- package/react/components/sdd/Appearance.js.map +1 -0
- package/react/components/sdd/Application.d.ts +37 -0
- package/react/components/sdd/Application.js +269 -0
- package/react/components/sdd/Application.js.map +1 -0
- package/react/components/sdd/Applications.d.ts +20 -0
- package/react/components/sdd/Applications.js +281 -0
- package/react/components/sdd/Applications.js.map +1 -0
- package/react/components/sdd/AssetsPage.css +26 -0
- package/react/components/sdd/AssetsPage.d.ts +27 -0
- package/react/components/sdd/AssetsPage.js +56 -0
- package/react/components/sdd/AssetsPage.js.map +1 -0
- package/react/components/sdd/Authentication.d.ts +9 -0
- package/react/components/sdd/Authentication.js +61 -0
- package/react/components/sdd/Authentication.js.map +1 -0
- package/react/components/sdd/AuthenticationProviderConfig.d.ts +9 -0
- package/react/components/sdd/AuthenticationProviderConfig.js +90 -0
- package/react/components/sdd/AuthenticationProviderConfig.js.map +1 -0
- package/react/components/sdd/Content.d.ts +8 -0
- package/react/components/sdd/Content.js +7 -0
- package/react/components/sdd/Content.js.map +1 -0
- package/react/components/sdd/ContentHeader.d.ts +5 -0
- package/react/components/sdd/ContentHeader.js +10 -0
- package/react/components/sdd/ContentHeader.js.map +1 -0
- package/react/components/sdd/CurrentView.d.ts +11 -0
- package/react/components/sdd/CurrentView.js +14 -0
- package/react/components/sdd/CurrentView.js.map +1 -0
- package/react/components/sdd/EditPreload.d.ts +13 -0
- package/react/components/sdd/EditPreload.js +183 -0
- package/react/components/sdd/EditPreload.js.map +1 -0
- package/react/components/sdd/Export.d.ts +17 -0
- package/react/components/sdd/Export.js +65 -0
- package/react/components/sdd/Export.js.map +1 -0
- package/react/components/sdd/ExportCloud.d.ts +6 -0
- package/react/components/sdd/ExportCloud.js +38 -0
- package/react/components/sdd/ExportCloud.js.map +1 -0
- package/react/components/sdd/ExportDeployInfo.d.ts +2 -0
- package/react/components/sdd/ExportDeployInfo.js +18 -0
- package/react/components/sdd/ExportDeployInfo.js.map +1 -0
- package/react/components/sdd/ExportZip.d.ts +6 -0
- package/react/components/sdd/ExportZip.js +48 -0
- package/react/components/sdd/ExportZip.js.map +1 -0
- package/react/components/sdd/GettingStarted.d.ts +8 -0
- package/react/components/sdd/GettingStarted.js +25 -0
- package/react/components/sdd/GettingStarted.js.map +1 -0
- package/react/components/sdd/ItemList.d.ts +17 -0
- package/react/components/sdd/ItemList.js +58 -0
- package/react/components/sdd/ItemList.js.map +1 -0
- package/react/components/sdd/Navigation.d.ts +11 -0
- package/react/components/sdd/Navigation.js +61 -0
- package/react/components/sdd/Navigation.js.map +1 -0
- package/react/components/sdd/OptionalSettingsView.d.ts +10 -0
- package/react/components/sdd/OptionalSettingsView.js +48 -0
- package/react/components/sdd/OptionalSettingsView.js.map +1 -0
- package/react/components/sdd/Preloads.d.ts +6 -0
- package/react/components/sdd/Preloads.js +24 -0
- package/react/components/sdd/Preloads.js.map +1 -0
- package/react/components/sdd/ProjectErrors.d.ts +11 -0
- package/react/components/sdd/ProjectErrors.js +25 -0
- package/react/components/sdd/ProjectErrors.js.map +1 -0
- package/react/components/sdd/Publish.d.ts +8 -0
- package/react/components/sdd/Publish.js +112 -0
- package/react/components/sdd/Publish.js.map +1 -0
- package/react/components/sdd/PublishProgress.d.ts +9 -0
- package/react/components/sdd/PublishProgress.js +24 -0
- package/react/components/sdd/PublishProgress.js.map +1 -0
- package/react/components/sdd/SmartDesktopDesigner.d.ts +30 -0
- package/react/components/sdd/SmartDesktopDesigner.js +142 -0
- package/react/components/sdd/SmartDesktopDesigner.js.map +1 -0
- package/react/components/sdd/ThemePage.css +92 -0
- package/react/components/sdd/ThemePage.d.ts +14 -0
- package/react/components/sdd/ThemePage.js +106 -0
- package/react/components/sdd/ThemePage.js.map +1 -0
- package/react/components/sdd/Themes.d.ts +27 -0
- package/react/components/sdd/Themes.js +62 -0
- package/react/components/sdd/Themes.js.map +1 -0
- package/react/components/sdd/Toolbar.d.ts +16 -0
- package/react/components/sdd/Toolbar.js +134 -0
- package/react/components/sdd/Toolbar.js.map +1 -0
- package/react/components/sdd/View.d.ts +8 -0
- package/react/components/sdd/View.js +7 -0
- package/react/components/sdd/View.js.map +1 -0
- package/react/components/sdd/appEditPage/Behavior.d.ts +34 -0
- package/react/components/sdd/appEditPage/Behavior.js +134 -0
- package/react/components/sdd/appEditPage/Behavior.js.map +1 -0
- package/react/components/sdd/appEditPage/Component.d.ts +22 -0
- package/react/components/sdd/appEditPage/Component.js +76 -0
- package/react/components/sdd/appEditPage/Component.js.map +1 -0
- package/react/components/sdd/appEditPage/DebugToolkit.d.ts +9 -0
- package/react/components/sdd/appEditPage/DebugToolkit.js +20 -0
- package/react/components/sdd/appEditPage/DebugToolkit.js.map +1 -0
- package/react/components/sdd/appEditPage/Interop.d.ts +10 -0
- package/react/components/sdd/appEditPage/Interop.js +40 -0
- package/react/components/sdd/appEditPage/Interop.js.map +1 -0
- package/react/components/sdd/appEditPage/Position.d.ts +18 -0
- package/react/components/sdd/appEditPage/Position.js +72 -0
- package/react/components/sdd/appEditPage/Position.js.map +1 -0
- package/react/components/sdd/appEditPage/Preloads.d.ts +9 -0
- package/react/components/sdd/appEditPage/Preloads.js +16 -0
- package/react/components/sdd/appEditPage/Preloads.js.map +1 -0
- package/react/components/sdd/appEditPage/SelectConnect.d.ts +15 -0
- package/react/components/sdd/appEditPage/SelectConnect.js +28 -0
- package/react/components/sdd/appEditPage/SelectConnect.js.map +1 -0
- package/react/components/sdd/appEditPage/Workspace.d.ts +12 -0
- package/react/components/sdd/appEditPage/Workspace.js +30 -0
- package/react/components/sdd/appEditPage/Workspace.js.map +1 -0
- package/react/components/sdd/common/fsbl_functions.d.ts +2 -0
- package/react/components/sdd/common/fsbl_functions.js +17 -0
- package/react/components/sdd/common/fsbl_functions.js.map +1 -0
- package/react/components/sdd/common/getCSSVars.d.ts +1 -0
- package/react/components/sdd/common/getCSSVars.js +15 -0
- package/react/components/sdd/common/getCSSVars.js.map +1 -0
- package/react/components/sdd/common/setPreloadDefaults.d.ts +1 -0
- package/react/components/sdd/common/setPreloadDefaults.js +26 -0
- package/react/components/sdd/common/setPreloadDefaults.js.map +1 -0
- package/react/components/sdd/common/views.d.ts +3 -0
- package/react/components/sdd/common/views.js +205 -0
- package/react/components/sdd/common/views.js.map +1 -0
- package/react/components/sdd/css/addApp.css +65 -0
- package/react/components/sdd/css/appearance.css +27 -0
- package/react/components/sdd/css/applications.css +160 -0
- package/react/components/sdd/css/authentication.css +124 -0
- package/react/components/sdd/css/buttons.css +12 -0
- package/react/components/sdd/css/export.css +178 -0
- package/react/components/sdd/css/getting-started.css +28 -0
- package/react/components/sdd/css/nav.css +117 -0
- package/react/components/sdd/css/project-errors.css +15 -0
- package/react/components/sdd/css/project-header.css +122 -0
- package/react/components/sdd/css/styles.css +184 -0
- package/react/components/sdd/css/views.css +23 -0
- package/react/components/sdd/fixtures/apps.d.ts +9 -0
- package/react/components/sdd/fixtures/apps.js +383 -0
- package/react/components/sdd/fixtures/apps.js.map +1 -0
- package/react/components/sdd/fixtures/authenticationProps.d.ts +2 -0
- package/react/components/sdd/fixtures/authenticationProps.js +23 -0
- package/react/components/sdd/fixtures/authenticationProps.js.map +1 -0
- package/react/components/sdd/fixtures/configTemplate.d.ts +44 -0
- package/react/components/sdd/fixtures/configTemplate.js +54 -0
- package/react/components/sdd/fixtures/configTemplate.js.map +1 -0
- package/react/components/sdd/fixtures/exportProps.d.ts +2 -0
- package/react/components/sdd/fixtures/exportProps.js +34 -0
- package/react/components/sdd/fixtures/exportProps.js.map +1 -0
- package/react/components/sdd/fixtures/preloads.d.ts +3 -0
- package/react/components/sdd/fixtures/preloads.js +59 -0
- package/react/components/sdd/fixtures/preloads.js.map +1 -0
- package/react/components/sdd/fixtures/projectErrorsProps.d.ts +3 -0
- package/react/components/sdd/fixtures/projectErrorsProps.js +13 -0
- package/react/components/sdd/fixtures/projectErrorsProps.js.map +1 -0
- package/react/components/sdd/fixtures/publishProgress.d.ts +7 -0
- package/react/components/sdd/fixtures/publishProgress.js +358 -0
- package/react/components/sdd/fixtures/publishProgress.js.map +1 -0
- package/react/components/sdd/fixtures/themeProps.d.ts +30 -0
- package/react/components/sdd/fixtures/themeProps.js +33 -0
- package/react/components/sdd/fixtures/themeProps.js.map +1 -0
- package/react/components/sdd/fixtures/views.d.ts +3 -0
- package/react/components/sdd/fixtures/views.js +87 -0
- package/react/components/sdd/fixtures/views.js.map +1 -0
- package/react/components/sdd/sdd_helpers.d.ts +20 -0
- package/react/components/sdd/sdd_helpers.js +36 -0
- package/react/components/sdd/sdd_helpers.js.map +1 -0
- package/react/components/sdd/smartDesktopClient.d.ts +466 -0
- package/react/components/sdd/smartDesktopClient.js +906 -0
- package/react/components/sdd/smartDesktopClient.js.map +1 -0
- package/react/components/sdd/smartDesktopClient.spec.d.ts +1 -0
- package/react/components/sdd/smartDesktopClient.spec.js +64 -0
- package/react/components/sdd/smartDesktopClient.spec.js.map +1 -0
- package/react/components/sdd/stories/AddApp.stories.d.ts +11 -0
- package/react/components/sdd/stories/AddApp.stories.js +26 -0
- package/react/components/sdd/stories/AddApp.stories.js.map +1 -0
- package/react/components/sdd/stories/AppEditPage.stories.d.ts +17 -0
- package/react/components/sdd/stories/AppEditPage.stories.js +40 -0
- package/react/components/sdd/stories/AppEditPage.stories.js.map +1 -0
- package/react/components/sdd/stories/Appearance.stories.d.ts +10 -0
- package/react/components/sdd/stories/Appearance.stories.js +39 -0
- package/react/components/sdd/stories/Appearance.stories.js.map +1 -0
- package/react/components/sdd/stories/Applications.stories.d.ts +14 -0
- package/react/components/sdd/stories/Applications.stories.js +38 -0
- package/react/components/sdd/stories/Applications.stories.js.map +1 -0
- package/react/components/sdd/stories/AssetsPage.stories.d.ts +10 -0
- package/react/components/sdd/stories/AssetsPage.stories.js +40 -0
- package/react/components/sdd/stories/AssetsPage.stories.js.map +1 -0
- package/react/components/sdd/stories/Authentication.stories.d.ts +13 -0
- package/react/components/sdd/stories/Authentication.stories.js +25 -0
- package/react/components/sdd/stories/Authentication.stories.js.map +1 -0
- package/react/components/sdd/stories/ContentHeader.stories.d.ts +10 -0
- package/react/components/sdd/stories/ContentHeader.stories.js +13 -0
- package/react/components/sdd/stories/ContentHeader.stories.js.map +1 -0
- package/react/components/sdd/stories/Export.stories.d.ts +11 -0
- package/react/components/sdd/stories/Export.stories.js +19 -0
- package/react/components/sdd/stories/Export.stories.js.map +1 -0
- package/react/components/sdd/stories/ExportCloud.stories.d.ts +11 -0
- package/react/components/sdd/stories/ExportCloud.stories.js +19 -0
- package/react/components/sdd/stories/ExportCloud.stories.js.map +1 -0
- package/react/components/sdd/stories/ExportZip.stories.d.ts +12 -0
- package/react/components/sdd/stories/ExportZip.stories.js +26 -0
- package/react/components/sdd/stories/ExportZip.stories.js.map +1 -0
- package/react/components/sdd/stories/GettingStarted.stories.d.ts +11 -0
- package/react/components/sdd/stories/GettingStarted.stories.js +18 -0
- package/react/components/sdd/stories/GettingStarted.stories.js.map +1 -0
- package/react/components/sdd/stories/ItemList.stories.d.ts +16 -0
- package/react/components/sdd/stories/ItemList.stories.js +94 -0
- package/react/components/sdd/stories/ItemList.stories.js.map +1 -0
- package/react/components/sdd/stories/Navigation.stories.d.ts +11 -0
- package/react/components/sdd/stories/Navigation.stories.js +22 -0
- package/react/components/sdd/stories/Navigation.stories.js.map +1 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.d.ts +12 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.js +27 -0
- package/react/components/sdd/stories/OptionalSettingsView.stories.js.map +1 -0
- package/react/components/sdd/stories/ProjectErrors.stories.d.ts +11 -0
- package/react/components/sdd/stories/ProjectErrors.stories.js +19 -0
- package/react/components/sdd/stories/ProjectErrors.stories.js.map +1 -0
- package/react/components/sdd/stories/Publish.stories.d.ts +16 -0
- package/react/components/sdd/stories/Publish.stories.js +53 -0
- package/react/components/sdd/stories/Publish.stories.js.map +1 -0
- package/react/components/sdd/stories/PublishProgress.stories.d.ts +14 -0
- package/react/components/sdd/stories/PublishProgress.stories.js +26 -0
- package/react/components/sdd/stories/PublishProgress.stories.js.map +1 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.d.ts +10 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js +50 -0
- package/react/components/sdd/stories/SmartDesktopDesigner.stories.js.map +1 -0
- package/react/components/sdd/stories/ThemePage.stories.d.ts +10 -0
- package/react/components/sdd/stories/ThemePage.stories.js +16 -0
- package/react/components/sdd/stories/ThemePage.stories.js.map +1 -0
- package/react/components/sdd/stories/Themes.stories.d.ts +10 -0
- package/react/components/sdd/stories/Themes.stories.js +53 -0
- package/react/components/sdd/stories/Themes.stories.js.map +1 -0
- package/react/components/sdd/stories/Toolbar.stories.d.ts +14 -0
- package/react/components/sdd/stories/Toolbar.stories.js +38 -0
- package/react/components/sdd/stories/Toolbar.stories.js.map +1 -0
- package/react/components/sdd/tests/AddApp.spec.d.ts +1 -0
- package/react/components/sdd/tests/AddApp.spec.js +133 -0
- package/react/components/sdd/tests/AddApp.spec.js.map +1 -0
- package/react/components/sdd/tests/AppEditPage.spec.d.ts +1 -0
- package/react/components/sdd/tests/AppEditPage.spec.js +1236 -0
- package/react/components/sdd/tests/AppEditPage.spec.js.map +1 -0
- package/react/components/sdd/tests/Application.spec.d.ts +1 -0
- package/react/components/sdd/tests/Application.spec.js +1460 -0
- package/react/components/sdd/tests/Application.spec.js.map +1 -0
- package/react/components/sdd/tests/Applications.spec.d.ts +1 -0
- package/react/components/sdd/tests/Applications.spec.js +165 -0
- package/react/components/sdd/tests/Applications.spec.js.map +1 -0
- package/react/components/sdd/tests/Authentication.spec.d.ts +1 -0
- package/react/components/sdd/tests/Authentication.spec.js +118 -0
- package/react/components/sdd/tests/Authentication.spec.js.map +1 -0
- package/react/components/sdd/tests/ContentHeader.spec.d.ts +1 -0
- package/react/components/sdd/tests/ContentHeader.spec.js +33 -0
- package/react/components/sdd/tests/ContentHeader.spec.js.map +1 -0
- package/react/components/sdd/tests/EditPreload.spec.d.ts +1 -0
- package/react/components/sdd/tests/EditPreload.spec.js +115 -0
- package/react/components/sdd/tests/EditPreload.spec.js.map +1 -0
- package/react/components/sdd/tests/Export.spec.d.ts +1 -0
- package/react/components/sdd/tests/Export.spec.js +190 -0
- package/react/components/sdd/tests/Export.spec.js.map +1 -0
- package/react/components/sdd/tests/ExportZip.spec.d.ts +1 -0
- package/react/components/sdd/tests/ExportZip.spec.js +32 -0
- package/react/components/sdd/tests/ExportZip.spec.js.map +1 -0
- package/react/components/sdd/tests/ItemList.spec.d.ts +1 -0
- package/react/components/sdd/tests/ItemList.spec.js +98 -0
- package/react/components/sdd/tests/ItemList.spec.js.map +1 -0
- package/react/components/sdd/tests/Navigation.spec.d.ts +1 -0
- package/react/components/sdd/tests/Navigation.spec.js +25 -0
- package/react/components/sdd/tests/Navigation.spec.js.map +1 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.d.ts +1 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.js +286 -0
- package/react/components/sdd/tests/OptionalSettingsView.spec.js.map +1 -0
- package/react/components/sdd/tests/ProjectErrors.spec.d.ts +1 -0
- package/react/components/sdd/tests/ProjectErrors.spec.js +46 -0
- package/react/components/sdd/tests/ProjectErrors.spec.js.map +1 -0
- package/react/components/sdd/tests/Publish.spec.d.ts +1 -0
- package/react/components/sdd/tests/Publish.spec.js +31 -0
- package/react/components/sdd/tests/Publish.spec.js.map +1 -0
- package/react/components/sdd/tests/PublishProgess.spec.d.ts +1 -0
- package/react/components/sdd/tests/PublishProgess.spec.js +17 -0
- package/react/components/sdd/tests/PublishProgess.spec.js.map +1 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.d.ts +1 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js +58 -0
- package/react/components/sdd/tests/SmartDesktopDesigner.spec.js.map +1 -0
- package/react/components/sdd/tests/Themes.spec.d.ts +1 -0
- package/react/components/sdd/tests/Themes.spec.js +52 -0
- package/react/components/sdd/tests/Themes.spec.js.map +1 -0
- package/react/components/sdd/tests/Toolbar.spec.d.ts +1 -0
- package/react/components/sdd/tests/Toolbar.spec.js +256 -0
- package/react/components/sdd/tests/Toolbar.spec.js.map +1 -0
- package/react/components/sdd/tests/a11y_helper.d.ts +2 -0
- package/react/components/sdd/tests/a11y_helper.js +32 -0
- package/react/components/sdd/tests/a11y_helper.js.map +1 -0
- package/react/components/sdd/tests/sdd_helpers.spec.d.ts +1 -0
- package/react/components/sdd/tests/sdd_helpers.spec.js +18 -0
- package/react/components/sdd/tests/sdd_helpers.spec.js.map +1 -0
- package/react/components/sdd/themeDefinitions.d.ts +50 -0
- package/react/components/sdd/themeDefinitions.js +51 -0
- package/react/components/sdd/themeDefinitions.js.map +1 -0
- package/react/components/search/Highlight.d.ts +12 -0
- package/react/components/search/Highlight.js +40 -0
- package/react/components/search/Highlight.js.map +1 -0
- package/react/components/search/Highlight.spec.d.ts +1 -0
- package/react/components/search/Highlight.spec.js +22 -0
- package/react/components/search/Highlight.spec.js.map +1 -0
- package/react/components/search/Highlight.stories.d.ts +15 -0
- package/react/components/search/Highlight.stories.js +39 -0
- package/react/components/search/Highlight.stories.js.map +1 -0
- package/react/components/search/Search.d.ts +5 -0
- package/react/components/search/Search.js +28 -0
- package/react/components/search/Search.js.map +1 -0
- package/react/components/search/SearchBestMatch.d.ts +6 -0
- package/react/components/search/SearchBestMatch.js +39 -0
- package/react/components/search/SearchBestMatch.js.map +1 -0
- package/react/components/search/SearchInput.d.ts +7 -0
- package/react/components/search/SearchInput.js +29 -0
- package/react/components/search/SearchInput.js.map +1 -0
- package/react/components/search/SearchProviderResults.d.ts +7 -0
- package/react/components/search/SearchProviderResults.js +26 -0
- package/react/components/search/SearchProviderResults.js.map +1 -0
- package/react/components/search/SearchResult.d.ts +14 -0
- package/react/components/search/SearchResult.js +47 -0
- package/react/components/search/SearchResult.js.map +1 -0
- package/react/components/search/SearchResult.spec.d.ts +1 -0
- package/react/components/search/SearchResult.spec.js +46 -0
- package/react/components/search/SearchResult.spec.js.map +1 -0
- package/react/components/search/SearchResult.stories.d.ts +16 -0
- package/react/components/search/SearchResult.stories.js +113 -0
- package/react/components/search/SearchResult.stories.js.map +1 -0
- package/react/components/search/SearchResults.d.ts +3 -0
- package/react/components/search/SearchResults.js +22 -0
- package/react/components/search/SearchResults.js.map +1 -0
- package/react/components/search/SearchResults.spec.d.ts +1 -0
- package/react/components/search/SearchResults.spec.js +35 -0
- package/react/components/search/SearchResults.spec.js.map +1 -0
- package/react/components/search/SearchResults.stories.d.ts +11 -0
- package/react/components/search/SearchResults.stories.js +458 -0
- package/react/components/search/SearchResults.stories.js.map +1 -0
- package/react/components/search/index.d.ts +1 -0
- package/react/components/search/index.js +2 -0
- package/react/components/search/index.js.map +1 -0
- package/react/components/shared/Animate.d.ts +15 -0
- package/react/components/shared/Animate.js +36 -0
- package/react/components/shared/Animate.js.map +1 -0
- package/react/components/shared/BellIcon.d.ts +3 -0
- package/react/components/shared/BellIcon.js +8 -0
- package/react/components/shared/BellIcon.js.map +1 -0
- package/react/components/shared/BellIconCrossed.d.ts +3 -0
- package/react/components/shared/BellIconCrossed.js +10 -0
- package/react/components/shared/BellIconCrossed.js.map +1 -0
- package/react/components/shared/Button.d.ts +9 -0
- package/react/components/shared/Button.js +6 -0
- package/react/components/shared/Button.js.map +1 -0
- package/react/components/shared/ConditionalWrapper.d.ts +8 -0
- package/react/components/shared/ConditionalWrapper.js +6 -0
- package/react/components/shared/ConditionalWrapper.js.map +1 -0
- package/react/components/shared/DefaultDropdownButton.d.ts +18 -0
- package/react/components/shared/DefaultDropdownButton.js +118 -0
- package/react/components/shared/DefaultDropdownButton.js.map +1 -0
- package/react/components/shared/NavigationButton.d.ts +10 -0
- package/react/components/shared/NavigationButton.js +13 -0
- package/react/components/shared/NavigationButton.js.map +1 -0
- package/react/components/shared/Tag.d.ts +8 -0
- package/react/components/shared/Tag.js +23 -0
- package/react/components/shared/Tag.js.map +1 -0
- package/react/components/shared/TagsMenu.d.ts +36 -0
- package/react/components/shared/TagsMenu.js +78 -0
- package/react/components/shared/TagsMenu.js.map +1 -0
- package/react/components/shared/addProtocolToValidURL.d.ts +7 -0
- package/react/components/shared/addProtocolToValidURL.js +12 -0
- package/react/components/shared/addProtocolToValidURL.js.map +1 -0
- package/react/components/shared/linkerUtil.d.ts +3 -0
- package/react/components/shared/linkerUtil.js +10 -0
- package/react/components/shared/linkerUtil.js.map +1 -0
- package/react/components/shared/openQuitConfirmationDialog.d.ts +1 -0
- package/react/components/shared/openQuitConfirmationDialog.js +17 -0
- package/react/components/shared/openQuitConfirmationDialog.js.map +1 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.d.ts +1 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.js +75 -0
- package/react/components/shared/tests/DefaultDropdownButton.spec.js.map +1 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.d.ts +1 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.js +20 -0
- package/react/components/shared/tests/addProtocolToValidURL.spec.js.map +1 -0
- package/react/components/shared/validateURL.d.ts +19 -0
- package/react/components/shared/validateURL.js +30 -0
- package/react/components/shared/validateURL.js.map +1 -0
- package/react/components/shared/validateURL.spec.d.ts +1 -0
- package/react/components/shared/validateURL.spec.js +25 -0
- package/react/components/shared/validateURL.spec.js.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.css +3 -0
- package/react/components/singleInputDialog/SingleInputDialog.d.ts +8 -0
- package/react/components/singleInputDialog/SingleInputDialog.js +130 -0
- package/react/components/singleInputDialog/SingleInputDialog.js.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.spec.d.ts +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.spec.js +38 -0
- package/react/components/singleInputDialog/SingleInputDialog.spec.js.map +1 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.d.ts +15 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.js +65 -0
- package/react/components/singleInputDialog/SingleInputDialog.stories.js.map +1 -0
- package/react/components/singleInputDialog/index.d.ts +1 -0
- package/react/components/singleInputDialog/index.js +2 -0
- package/react/components/singleInputDialog/index.js.map +1 -0
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +2 -0
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +9 -0
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -0
- package/react/components/smartDesktopDesigner/common/views.d.ts +3 -0
- package/react/components/smartDesktopDesigner/common/views.js +2 -0
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -0
- package/react/components/system/System.d.ts +30 -0
- package/react/components/system/System.js +53 -0
- package/react/components/system/System.js.map +1 -0
- package/react/components/system/System.spec.d.ts +1 -0
- package/react/components/system/System.spec.js +21 -0
- package/react/components/system/System.spec.js.map +1 -0
- package/react/components/system/System.stories.d.ts +9 -0
- package/react/components/system/System.stories.js +42 -0
- package/react/components/system/System.stories.js.map +1 -0
- package/react/components/system/SystemTrayComponentShell.d.ts +10 -0
- package/react/components/system/SystemTrayComponentShell.js +29 -0
- package/react/components/system/SystemTrayComponentShell.js.map +1 -0
- package/react/components/system/index.d.ts +2 -0
- package/react/components/system/index.js +3 -0
- package/react/components/system/index.js.map +1 -0
- package/react/components/toolbar/AutoArrange.d.ts +9 -0
- package/react/components/toolbar/AutoArrange.js +36 -0
- package/react/components/toolbar/AutoArrange.js.map +1 -0
- package/react/components/toolbar/AutoArrange.spec.d.ts +1 -0
- package/react/components/toolbar/AutoArrange.spec.js +54 -0
- package/react/components/toolbar/AutoArrange.spec.js.map +1 -0
- package/react/components/toolbar/AutoArrange.stories.d.ts +11 -0
- package/react/components/toolbar/AutoArrange.stories.js +22 -0
- package/react/components/toolbar/AutoArrange.stories.js.map +1 -0
- package/react/components/toolbar/DragHandle.d.ts +11 -0
- package/react/components/toolbar/DragHandle.js +43 -0
- package/react/components/toolbar/DragHandle.js.map +1 -0
- package/react/components/toolbar/DragHandle.spec.d.ts +1 -0
- package/react/components/toolbar/DragHandle.spec.js +32 -0
- package/react/components/toolbar/DragHandle.spec.js.map +1 -0
- package/react/components/toolbar/DragHandle.stories.d.ts +13 -0
- package/react/components/toolbar/DragHandle.stories.js +40 -0
- package/react/components/toolbar/DragHandle.stories.js.map +1 -0
- package/react/components/toolbar/MinimizeAll.d.ts +8 -0
- package/react/components/toolbar/MinimizeAll.js +25 -0
- package/react/components/toolbar/MinimizeAll.js.map +1 -0
- package/react/components/toolbar/MinimizeAll.spec.d.ts +1 -0
- package/react/components/toolbar/MinimizeAll.spec.js +49 -0
- package/react/components/toolbar/MinimizeAll.spec.js.map +1 -0
- package/react/components/toolbar/MinimizeAll.stories.d.ts +11 -0
- package/react/components/toolbar/MinimizeAll.stories.js +22 -0
- package/react/components/toolbar/MinimizeAll.stories.js.map +1 -0
- package/react/components/toolbar/NotificationControl.d.ts +9 -0
- package/react/components/toolbar/NotificationControl.js +65 -0
- package/react/components/toolbar/NotificationControl.js.map +1 -0
- package/react/components/toolbar/RevealAll.d.ts +8 -0
- package/react/components/toolbar/RevealAll.js +27 -0
- package/react/components/toolbar/RevealAll.js.map +1 -0
- package/react/components/toolbar/RevealAll.spec.d.ts +1 -0
- package/react/components/toolbar/RevealAll.spec.js +49 -0
- package/react/components/toolbar/RevealAll.spec.js.map +1 -0
- package/react/components/toolbar/RevealAll.stories.d.ts +11 -0
- package/react/components/toolbar/RevealAll.stories.js +22 -0
- package/react/components/toolbar/RevealAll.stories.js.map +1 -0
- package/react/components/toolbar/SddButton.d.ts +6 -0
- package/react/components/toolbar/SddButton.js +27 -0
- package/react/components/toolbar/SddButton.js.map +1 -0
- package/react/components/toolbar/ToolbarIcon.d.ts +6 -0
- package/react/components/toolbar/ToolbarIcon.js +32 -0
- package/react/components/toolbar/ToolbarIcon.js.map +1 -0
- package/react/components/toolbar/ToolbarSection.d.ts +16 -0
- package/react/components/toolbar/ToolbarSection.js +42 -0
- package/react/components/toolbar/ToolbarSection.js.map +1 -0
- package/react/components/toolbar/ToolbarShell.d.ts +14 -0
- package/react/components/toolbar/ToolbarShell.js +23 -0
- package/react/components/toolbar/ToolbarShell.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +40 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js +93 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.d.ts +10 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js +31 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.d.ts +92 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js +277 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewAppForm.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.d.ts +10 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js +16 -0
- package/react/components/toolbar/advancedAppLauncher/components/AddNewFolder.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.d.ts +56 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js +175 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppActionsMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.d.ts +34 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js +56 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppDefinition.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.d.ts +16 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js +44 -0
- package/react/components/toolbar/advancedAppLauncher/components/AppTagsList.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +38 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js +171 -0
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.d.ts +21 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js +65 -0
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +59 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +299 -0
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.d.ts +25 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js +103 -0
- package/react/components/toolbar/advancedAppLauncher/components/LeftNavBottomLinks.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.d.ts +11 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js +10 -0
- package/react/components/toolbar/advancedAppLauncher/components/NoAppsFound.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.d.ts +18 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js +58 -0
- package/react/components/toolbar/advancedAppLauncher/components/SearchBox.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.d.ts +13 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js +38 -0
- package/react/components/toolbar/advancedAppLauncher/components/SortBy.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +19 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js +39 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.d.ts +29 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js +51 -0
- package/react/components/toolbar/advancedAppLauncher/components/TagsMenu.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.d.ts +8 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js +27 -0
- package/react/components/toolbar/advancedAppLauncher/components/ToggleFavoriteDropdown.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.d.ts +8 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js +11 -0
- package/react/components/toolbar/advancedAppLauncher/modules/AppDirectory.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.d.ts +55 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js +146 -0
- package/react/components/toolbar/advancedAppLauncher/modules/FDC3.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +5 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js +20 -0
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.d.ts +96 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js +532 -0
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.d.ts +18 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js +36 -0
- package/react/components/toolbar/advancedAppLauncher/utils/sort-functions.js.map +1 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.d.ts +28 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js +43 -0
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +38 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js +57 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -0
- package/react/components/toolbar/appLauncher/appLauncher.css +30 -0
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +41 -0
- package/react/components/toolbar/appLauncher/components/componentList.js +153 -0
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +44 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +262 -0
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -0
- package/react/components/toolbar/dashbar/Dashbar.d.ts +4 -0
- package/react/components/toolbar/dashbar/Dashbar.js +366 -0
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -0
- package/react/components/toolbar/dashbar/DashbarItem.d.ts +17 -0
- package/react/components/toolbar/dashbar/DashbarItem.js +38 -0
- package/react/components/toolbar/dashbar/DashbarItem.js.map +1 -0
- package/react/components/toolbar/index.d.ts +15 -0
- package/react/components/toolbar/index.js +16 -0
- package/react/components/toolbar/index.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +38 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js +69 -0
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +44 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js +73 -0
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.d.ts +44 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js +74 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceActions.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +22 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js +31 -0
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +147 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +722 -0
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -0
- package/react/components/toolbar/workspaceManagementMenu/workspaceManagementMenu.css +80 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.d.ts +15 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js +7 -0
- package/react/components/userPreferences/NotificationsPreferencesContext.js.map +1 -0
- package/react/components/userPreferences/UserPreferenceTypes.d.ts +9 -0
- package/react/components/userPreferences/UserPreferenceTypes.js +2 -0
- package/react/components/userPreferences/UserPreferenceTypes.js.map +1 -0
- package/react/components/userPreferences/UserPreferences.d.ts +17 -0
- package/react/components/userPreferences/UserPreferences.js +25 -0
- package/react/components/userPreferences/UserPreferences.js.map +1 -0
- package/react/components/userPreferences/UserPreferencesBase.d.ts +3 -0
- package/react/components/userPreferences/UserPreferencesBase.js +46 -0
- package/react/components/userPreferences/UserPreferencesBase.js.map +1 -0
- package/react/components/userPreferences/UserPreferencesWrapper.d.ts +4 -0
- package/react/components/userPreferences/UserPreferencesWrapper.js +27 -0
- package/react/components/userPreferences/UserPreferencesWrapper.js.map +1 -0
- package/react/components/userPreferences/components/ContentSection.d.ts +25 -0
- package/react/components/userPreferences/components/ContentSection.js +26 -0
- package/react/components/userPreferences/components/ContentSection.js.map +1 -0
- package/react/components/userPreferences/components/LeftNav.d.ts +27 -0
- package/react/components/userPreferences/components/LeftNav.js +64 -0
- package/react/components/userPreferences/components/LeftNav.js.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditor.d.ts +22 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js +132 -0
- package/react/components/userPreferences/components/content/DashbarEditor.js.map +1 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.d.ts +10 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.js +11 -0
- package/react/components/userPreferences/components/content/DashbarEditorItem.js.map +1 -0
- package/react/components/userPreferences/components/content/General.d.ts +8 -0
- package/react/components/userPreferences/components/content/General.js +32 -0
- package/react/components/userPreferences/components/content/General.js.map +1 -0
- package/react/components/userPreferences/components/content/Notifications.d.ts +11 -0
- package/react/components/userPreferences/components/content/Notifications.js +36 -0
- package/react/components/userPreferences/components/content/Notifications.js.map +1 -0
- package/react/components/userPreferences/components/content/Workspaces.d.ts +83 -0
- package/react/components/userPreferences/components/content/Workspaces.js +507 -0
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.d.ts +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js +214 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsPreferencesHome.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.d.ts +3 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js +134 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.d.ts +5 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js +79 -0
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourcesPreferences.js.map +1 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.d.ts +2 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js +35 -0
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -0
- package/react/components/userPreferences/components/general/ScheduledClose.d.ts +10 -0
- package/react/components/userPreferences/components/general/ScheduledClose.js +116 -0
- package/react/components/userPreferences/components/general/ScheduledClose.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.d.ts +8 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js +9 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceButton.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.d.ts +6 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js +11 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceComponents.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.d.ts +45 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js +107 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItem.js.map +1 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.d.ts +8 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js +21 -0
- package/react/components/userPreferences/components/workspaces/WorkspaceItemList.js.map +1 -0
- package/react/components/userPreferences/index.d.ts +5 -0
- package/react/components/userPreferences/index.js +6 -0
- package/react/components/userPreferences/index.js.map +1 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +33 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.js +140 -0
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -0
- package/react/components/userPreferences/stories/DashbarEditor.stories.d.ts +10 -0
- package/react/components/userPreferences/stories/DashbarEditor.stories.js +42 -0
- package/react/components/userPreferences/stories/DashbarEditor.stories.js.map +1 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.d.ts +11 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js +21 -0
- package/react/components/userPreferences/stories/DashbarEditorItem.stories.js.map +1 -0
- package/react/components/userPreferences/stories/General.stories.d.ts +13 -0
- package/react/components/userPreferences/stories/General.stories.js +16 -0
- package/react/components/userPreferences/stories/General.stories.js.map +1 -0
- package/react/components/userPreferences/stories/Notifications.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/Notifications.stories.js +17 -0
- package/react/components/userPreferences/stories/Notifications.stories.js.map +1 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js +20 -0
- package/react/components/userPreferences/stories/NotificationsSourceTypes.stories.js.map +1 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.d.ts +12 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.js +28 -0
- package/react/components/userPreferences/stories/NotificationsSources.stories.js.map +1 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.d.ts +12 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.js +53 -0
- package/react/components/userPreferences/stories/ScheduledClose.stories.js.map +1 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.d.ts +8 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.js +53 -0
- package/react/components/userPreferences/stories/UserPreferences.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.d.ts +11 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js +20 -0
- package/react/components/userPreferences/stories/WorkspaceButton.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.d.ts +13 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js +26 -0
- package/react/components/userPreferences/stories/WorkspaceComponents.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js +30 -0
- package/react/components/userPreferences/stories/WorkspaceItem.stories.js.map +1 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.d.ts +10 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js +57 -0
- package/react/components/userPreferences/stories/WorkspaceItemList.stories.js.map +1 -0
- package/react/components/userPreferences/stories/Workspaces.stories.d.ts +9 -0
- package/react/components/userPreferences/stories/Workspaces.stories.js +44 -0
- package/react/components/userPreferences/stories/Workspaces.stories.js.map +1 -0
- package/react/components/userPreferences/tests/ContentSection.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/ContentSection.spec.js +41 -0
- package/react/components/userPreferences/tests/ContentSection.spec.js.map +1 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.js +37 -0
- package/react/components/userPreferences/tests/DashbarEditor.spec.js.map +1 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js +38 -0
- package/react/components/userPreferences/tests/DashbarEditorItem.spec.js.map +1 -0
- package/react/components/userPreferences/tests/General.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/General.spec.js +15 -0
- package/react/components/userPreferences/tests/General.spec.js.map +1 -0
- package/react/components/userPreferences/tests/LeftNav.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/LeftNav.spec.js +26 -0
- package/react/components/userPreferences/tests/LeftNav.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js +14 -0
- package/react/components/userPreferences/tests/NotificationSourceTypes.spec.js.map +1 -0
- package/react/components/userPreferences/tests/Notifications.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/Notifications.spec.js +17 -0
- package/react/components/userPreferences/tests/Notifications.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js +40 -0
- package/react/components/userPreferences/tests/NotificationsPreferencesHome.spec.js.map +1 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js +22 -0
- package/react/components/userPreferences/tests/NotificationsSourcesPreferences.spec.js.map +1 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.js +47 -0
- package/react/components/userPreferences/tests/ScheduledClose.spec.js.map +1 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js +42 -0
- package/react/components/userPreferences/tests/UserPreferencesBase.spec.js.map +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/Workspace.spec.js +139 -0
- package/react/components/userPreferences/tests/Workspace.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceButton.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js +38 -0
- package/react/components/userPreferences/tests/WorkspaceButton.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js +22 -0
- package/react/components/userPreferences/tests/WorkspaceComponents.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js +64 -0
- package/react/components/userPreferences/tests/WorkspaceItem.spec.js.map +1 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.d.ts +1 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js +45 -0
- package/react/components/userPreferences/tests/WorkspaceItemList.spec.js.map +1 -0
- package/react/components/utils.d.ts +2 -0
- package/react/components/utils.js +6 -0
- package/react/components/utils.js.map +1 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +196 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js +756 -0
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -0
- package/react/components/windowTitleBar/components/center/Tab.d.ts +32 -0
- package/react/components/windowTitleBar/components/center/Tab.js +63 -0
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -0
- package/react/components/windowTitleBar/components/center/TabList.d.ts +138 -0
- package/react/components/windowTitleBar/components/center/TabList.js +616 -0
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -0
- package/react/components/windowTitleBar/components/center/TabRegion.d.ts +2 -0
- package/react/components/windowTitleBar/components/center/TabRegion.js +12 -0
- package/react/components/windowTitleBar/components/center/TabRegion.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.d.ts +10 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js +96 -0
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.d.ts +59 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js +172 -0
- package/react/components/windowTitleBar/components/left/LinkerButtonDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.d.ts +6 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js +21 -0
- package/react/components/windowTitleBar/components/left/LinkerGroups.js.map +1 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.d.ts +26 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js +120 -0
- package/react/components/windowTitleBar/components/left/LinkerGroupsDeprecated.js.map +1 -0
- package/react/components/windowTitleBar/components/left/ShareButton.d.ts +25 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js +82 -0
- package/react/components/windowTitleBar/components/left/ShareButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.d.ts +2 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js +14 -0
- package/react/components/windowTitleBar/components/right/AlwaysOnTopButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/CloseButton.d.ts +42 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js +54 -0
- package/react/components/windowTitleBar/components/right/CloseButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.d.ts +57 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js +91 -0
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +73 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +115 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.d.ts +41 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js +53 -0
- package/react/components/windowTitleBar/components/right/MinimizeButton.js.map +1 -0
- package/react/components/windowTitleBar/components/windowTitle.d.ts +66 -0
- package/react/components/windowTitleBar/components/windowTitle.js +377 -0
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -0
- package/react/components/windowTitleBar/index.d.ts +9 -0
- package/react/components/windowTitleBar/index.js +10 -0
- package/react/components/windowTitleBar/index.js.map +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +68 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +609 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.d.ts +43 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js +43 -0
- package/react/components/windowTitleBar/stores/windowTitleBarStoreDefaults.js.map +1 -0
- package/react/components/windowTitleBar/windowTitleBarContext.d.ts +22 -0
- package/react/components/windowTitleBar/windowTitleBarContext.js +22 -0
- package/react/components/windowTitleBar/windowTitleBarContext.js.map +1 -0
- package/react/components/yesNoDialog/Timer.spec.d.ts +1 -0
- package/react/components/yesNoDialog/Timer.spec.js +18 -0
- package/react/components/yesNoDialog/Timer.spec.js.map +1 -0
- package/react/components/yesNoDialog/Timer.stories.d.ts +9 -0
- package/react/components/yesNoDialog/Timer.stories.js +15 -0
- package/react/components/yesNoDialog/Timer.stories.js.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.css +3 -0
- package/react/components/yesNoDialog/YesNoDialog.d.ts +7 -0
- package/react/components/yesNoDialog/YesNoDialog.js +162 -0
- package/react/components/yesNoDialog/YesNoDialog.js.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.d.ts +1 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.js +63 -0
- package/react/components/yesNoDialog/YesNoDialog.spec.js.map +1 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.d.ts +14 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.js +74 -0
- package/react/components/yesNoDialog/YesNoDialog.stories.js.map +1 -0
- package/react/components/yesNoDialog/index.d.ts +1 -0
- package/react/components/yesNoDialog/index.js +2 -0
- package/react/components/yesNoDialog/index.js.map +1 -0
- package/react/components/yesNoDialog/timer.d.ts +16 -0
- package/react/components/yesNoDialog/timer.js +32 -0
- package/react/components/yesNoDialog/timer.js.map +1 -0
- package/react/enzymeSetup.d.ts +1 -0
- package/react/enzymeSetup.js +35 -0
- package/react/enzymeSetup.js.map +1 -0
- package/react/hooks/index.d.ts +2 -0
- package/react/hooks/index.js +3 -0
- package/react/hooks/index.js.map +1 -0
- package/react/hooks/useAuth.d.ts +10 -0
- package/react/hooks/useAuth.js +26 -0
- package/react/hooks/useAuth.js.map +1 -0
- package/react/hooks/useDashbar.d.ts +8 -0
- package/react/hooks/useDashbar.js +114 -0
- package/react/hooks/useDashbar.js.map +1 -0
- package/react/hooks/useDeepEffect.d.ts +5 -0
- package/react/hooks/useDeepEffect.js +34 -0
- package/react/hooks/useDeepEffect.js.map +1 -0
- package/react/hooks/useFavorites.d.ts +24 -0
- package/react/hooks/useFavorites.js +24 -0
- package/react/hooks/useFavorites.js.map +1 -0
- package/react/hooks/useFavoritesShell.d.ts +14 -0
- package/react/hooks/useFavoritesShell.js +78 -0
- package/react/hooks/useFavoritesShell.js.map +1 -0
- package/react/hooks/useHotkey.d.ts +8 -0
- package/react/hooks/useHotkey.js +22 -0
- package/react/hooks/useHotkey.js.map +1 -0
- package/react/hooks/useLinker.d.ts +4 -0
- package/react/hooks/useLinker.js +110 -0
- package/react/hooks/useLinker.js.map +1 -0
- package/react/hooks/useMenu.d.ts +39 -0
- package/react/hooks/useMenu.js +50 -0
- package/react/hooks/useMenu.js.map +1 -0
- package/react/hooks/useNotifications.d.ts +80 -0
- package/react/hooks/useNotifications.js +389 -0
- package/react/hooks/useNotifications.js.map +1 -0
- package/react/hooks/useOutsideClickDetector.d.ts +5 -0
- package/react/hooks/useOutsideClickDetector.js +18 -0
- package/react/hooks/useOutsideClickDetector.js.map +1 -0
- package/react/hooks/usePubSub.d.ts +21 -0
- package/react/hooks/usePubSub.js +38 -0
- package/react/hooks/usePubSub.js.map +1 -0
- package/react/hooks/useSearch.d.ts +15 -0
- package/react/hooks/useSearch.js +73 -0
- package/react/hooks/useSearch.js.map +1 -0
- package/react/hooks/useToolbar.d.ts +10 -0
- package/react/hooks/useToolbar.js +151 -0
- package/react/hooks/useToolbar.js.map +1 -0
- package/react/reducers/favoriteReducer.d.ts +11 -0
- package/react/reducers/favoriteReducer.js +28 -0
- package/react/reducers/favoriteReducer.js.map +1 -0
- package/react/reducers/linkerReducer.d.ts +13 -0
- package/react/reducers/linkerReducer.js +44 -0
- package/react/reducers/linkerReducer.js.map +1 -0
- package/react/reducers/menuReducer.d.ts +36 -0
- package/react/reducers/menuReducer.js +66 -0
- package/react/reducers/menuReducer.js.map +1 -0
- package/react/reducers/rootReducer.d.ts +219 -0
- package/react/reducers/rootReducer.js +21 -0
- package/react/reducers/rootReducer.js.map +1 -0
- package/react/reducers/searchReducer.d.ts +15 -0
- package/react/reducers/searchReducer.js +28 -0
- package/react/reducers/searchReducer.js.map +1 -0
- package/react/reducers/smartDesktopDesignerReducer.d.ts +5 -0
- package/react/reducers/smartDesktopDesignerReducer.js +170 -0
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -0
- package/react/reducers/toolbarReducer.d.ts +10 -0
- package/react/reducers/toolbarReducer.js +30 -0
- package/react/reducers/toolbarReducer.js.map +1 -0
- package/react/reducers/workspaceReducer.d.ts +10 -0
- package/react/reducers/workspaceReducer.js +27 -0
- package/react/reducers/workspaceReducer.js.map +1 -0
- package/react/store.d.ts +418 -0
- package/react/store.js +24 -0
- package/react/store.js.map +1 -0
- package/react/tsconfig.tsbuildinfo +1 -0
- package/react/types/advancedAppLauncherTypes.d.ts +46 -0
- package/react/types/advancedAppLauncherTypes.js +2 -0
- package/react/types/advancedAppLauncherTypes.js.map +1 -0
- package/react/types/dashbarTypes.d.ts +39 -0
- package/react/types/dashbarTypes.js +2 -0
- package/react/types/dashbarTypes.js.map +1 -0
- package/react/types/favoriteTypes.d.ts +10 -0
- package/react/types/favoriteTypes.js +2 -0
- package/react/types/favoriteTypes.js.map +1 -0
- package/react/types/fdc3.d.ts +35 -0
- package/react/types/fdc3.js +7 -0
- package/react/types/fdc3.js.map +1 -0
- package/react/types/hotkeyTypes.d.ts +1 -0
- package/react/types/hotkeyTypes.js +2 -0
- package/react/types/hotkeyTypes.js.map +1 -0
- package/react/types/linkerTypes.d.ts +27 -0
- package/react/types/linkerTypes.js +3 -0
- package/react/types/linkerTypes.js.map +1 -0
- package/react/types/smartDesktopDesignerTypes.d.ts +182 -0
- package/react/types/smartDesktopDesignerTypes.js +20 -0
- package/react/types/smartDesktopDesignerTypes.js.map +1 -0
- package/react/types/windowTitleBar.d.ts +49 -0
- package/react/types/windowTitleBar.js +2 -0
- package/react/types/windowTitleBar.js.map +1 -0
- package/react/types/workspaceTypes.d.ts +30 -0
- package/react/types/workspaceTypes.js +2 -0
- package/react/types/workspaceTypes.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowTitle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,CAAC,CAAC;IACzB,CAAC;IAED,yBAAyB,CAAC,EAAY;QACrC,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,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,EAAE,mBAAmB,IAAI,KAAK,EAAE,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,EAAE,QAAQ,EAAE,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport windowTitleBarStoreDefaults from \"./windowTitleBarStoreDefaults\";\nimport { StandardCallback } from \"@finsemble/finsemble-api/types/types\";\nimport { FinsembleWindow, WindowIdentifier } from \"@finsemble/finsemble-api\";\nimport StoreModel from \"@finsemble/finsemble-api/types/clients/StoreModel\";\n\nconst getWindowNameForDocking = (finsembleWindow: FinsembleWindow) => {\n\tconst parent = finsembleWindow.parentWindow;\n\treturn parent ? parent.name : finsembleWindow.name;\n};\n\ntype ParentParams = {\n\twindowIdentifiers: WindowIdentifier[];\n\tvisibleWindowIdentifier: WindowIdentifier;\n\tcreate: boolean;\n};\n\nconst getStackedWindow = (params: ParentParams, cb: StandardCallback) => {\n\tif (!finsembleWindow.parentWindow && params.create) {\n\t\tconst onParentSet = (evt: any) => {\n\t\t\tconst { parentName } = evt.data;\n\t\t\tfinsembleWindow.setParent({ windowName: parentName }, (err2, windowWrapper) => {\n\t\t\t\tcb?.(err2, windowWrapper);\n\t\t\t});\n\t\t\tfinsembleWindow.removeListener(\"parent-set\", onParentSet);\n\t\t};\n\t\tfinsembleWindow.addListener(\"parent-set\", onParentSet);\n\t\tFSBL.Clients.LauncherClient.spawn(\n\t\t\t\"StackedWindow\",\n\t\t\t{\n\t\t\t\twindowType: \"StackedWindow\",\n\t\t\t\tdata: { windowIdentifiers: params.windowIdentifiers },\n\t\t\t\toptions: { newStack: true },\n\t\t\t},\n\t\t\t(err) => {\n\t\t\t\tif (!err) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcb?.(err, null);\n\t\t\t}\n\t\t);\n\t} else {\n\t\tfinsembleWindow.getParent(cb);\n\t}\n};\n\nlet windowTitleBarStore: StoreModel;\n\ntype ConstantsType = {\n\tPARENT_WRAPPER_UPDATES: string;\n\tCHILD_WINDOW_FIELD: string;\n\tVISIBLE_WINDOW_FIELD: string;\n\tTAB_SCROLL_POSITION_CHANGED: string;\n};\n\ntype ActionsType = {\n\tparentWrapperStore: any;\n\tparentSubscriptions: any[];\n\tparentWrapper: FinsembleWindow | null;\n\n\tinitialize: () => void;\n\tgetMyDockingGroups: (groupData: any) => any[];\n\tonTabListScrollPositionChanged: StandardCallback;\n\tsetTabListScrollPosition: (translateX: number) => void;\n\tremoteStateUpdate: (command: string, state: any) => void;\n\tclickMinimize: () => void;\n\tclickClose: () => void;\n\ttoggleGroup: () => void;\n\tclickMaximize: () => void;\n\tgetTabs: () => WindowIdentifier[];\n\t_setTabs: (tabs: WindowIdentifier[] | null) => any;\n\taddTabLocally: (windowIdentifier: WindowIdentifier, i: number) => void;\n\tremoveTabsLocally: () => void;\n\tremoveTabLocally: (windowIdentifier: WindowIdentifier) => void;\n\treorderTabLocally: (tab: WindowIdentifier, newIndex: number) => undefined | any;\n\taddTab: (windowIdentifier: WindowIdentifier, i: number) => any;\n\tremoveTab: (windowIdentifier: WindowIdentifier, i: number) => any;\n\tcloseTab: (windowIdentifier: WindowIdentifier) => void;\n\treorderTab: (tab: WindowIdentifier, newIndex: number) => any;\n\tfindTab: (tab: WindowIdentifier) => { tab: WindowIdentifier; currentIndex: number };\n\tsetActiveTab: (windowIdentifier: WindowIdentifier) => Promise<any>;\n\tonTabListChanged: StandardCallback;\n\tstopListeningOnParentWrapper: (cb: Function) => void;\n\tlistenOnParentWrapper: () => void;\n\tsetupStore: (cb?: Function) => void;\n\tgetInitialTabList: (cb: StandardCallback) => void;\n\tcreateParentWrapper: (params: ParentParams, cb?: Function) => void;\n};\n\n/**\n * When a group update is publish, we sift through the data to see if this window is snapped or grouped with other windows. Then we publish that info, and the GroupingButton renders the correct icon.\n * @param {*} err\n * @param {*} response\n */\nconst onDockingGroupUpdate: StandardCallback = (err, response) => {\n\tif (err || !response.data || !response.data.groupData) {\n\t\treturn;\n\t}\n\tFSBL.Clients.Logger.system.debug(\"On docking group update\", response.data.groupData);\n\tlet groupNames = Object.keys(response.data.groupData);\n\tlet movableGroups = groupNames\n\t\t.filter((groupName) => response.data.groupData[groupName].isMovable)\n\t\t.map((groupName) => response.data.groupData[groupName]);\n\t// This is all movable and snapped groups. It's used later to figure out the icon to display.\n\twindowTitleBarStore.setValue({\n\t\tfield: \"Main.allDockingGroups\",\n\t\tvalue: response.data.groupData,\n\t});\n\n\twindowTitleBarStore.setValue({\n\t\tfield: \"Main.allMovableDockingGroups\",\n\t\tvalue: movableGroups,\n\t});\n\tlet myGroups = Actions.getMyDockingGroups(response.data.groupData);\n\twindowTitleBarStore.setValue({\n\t\tfield: \"Main.dockingGroups\",\n\t\tvalue: myGroups,\n\t});\n\t/**\n\t * Goes through groups and sees if this window is grouped, snapped, or freely hanging out there.\n\t */\n\tlet isSnapped = false;\n\tlet isInMovableGroup = false;\n\tlet isTopRight = false;\n\tlet windowName = getWindowNameForDocking(finsembleWindow);\n\tfor (let i = 0; i < myGroups.length; i++) {\n\t\tlet myGroup = myGroups[i];\n\t\tif (myGroup.isMovable) {\n\t\t\tisInMovableGroup = true;\n\t\t\tif (windowName == myGroup.topRightWindow) {\n\t\t\t\tisTopRight = true;\n\t\t\t}\n\t\t} else {\n\t\t\tisSnapped = true;\n\t\t}\n\t}\n\tlet icon: string | false = false;\n\n\tif (isSnapped) {\n\t\ticon = \"joiner\";\n\t}\n\tif (isInMovableGroup) {\n\t\ticon = \"ejector\";\n\t}\n\n\twindowTitleBarStore.setValues([\n\t\t{ field: \"isSnapped\", value: isSnapped },\n\t\t{ field: \"isGrouped\", value: isInMovableGroup },\n\t\t{ field: \"isTopRight\", value: isTopRight },\n\t\t{ field: \"Main.dockingIcon\", value: icon },\n\t]);\n};\n\n/**\n * Listen for updates from the dragAndDropClient.\n */\nconst listenForDNDUpdates = () => {\n\tFSBL.Clients.RouterClient.subscribe(`${FSBL.Clients.WindowClient.options.name}Finsemble.Sharer`, (err, response) => {\n\t\tif (err) {\n\t\t\treturn console.error(err);\n\t\t}\n\t\twindowTitleBarStore.setValues([\n\t\t\t{\n\t\t\t\tfield: \"Sharer.emitterEnabled\",\n\t\t\t\tvalue: response.data.emitterEnabled,\n\t\t\t},\n\t\t\t{\n\t\t\t\tfield: \"Sharer.receiverEnabled\",\n\t\t\t\tvalue: response.data.receiverEnabled,\n\t\t\t},\n\t\t]);\n\t});\n};\n\n/**\n * Handles whether to show the linker button.\n */\nconst showLinkerButton = () => {\n\t// Get state (channel membership) from the linkerClient. Then set the value in the header so that the title bar accurately reflects the state.\n\tconst cb: StandardCallback = (err, response) => {\n\t\tif (response.channels) {\n\t\t\twindowTitleBarStore.setValue({\n\t\t\t\tfield: \"Linker.channels\",\n\t\t\t\tvalue: response.channels,\n\t\t\t});\n\t\t}\n\t\twindowTitleBarStore.setValue({\n\t\t\tfield: \"Linker.showLinkerButton\",\n\t\t\tvalue: true,\n\t\t});\n\t};\n\tcb(null, FSBL.Clients.LinkerClient.getState());\n\tFSBL.Clients.LinkerClient.onStateChange(cb);\n};\n\nconst processInitialTabList = (err: any, values: any) => {\n\tconst onParentSet = () => {\n\t\tActions.parentWrapper = null;\n\t\tActions.getInitialTabList(() => {\n\t\t\tFSBL.Clients.Logger.system.debug(\"docking group update after initial tab list\");\n\t\t\tonDockingGroupUpdate(null, {\n\t\t\t\tdata: {\n\t\t\t\t\tgroupData: windowTitleBarStore.getValue({\n\t\t\t\t\t\tfield: \"Main.allDockingGroups\",\n\t\t\t\t\t}),\n\t\t\t\t},\n\t\t\t});\n\t\t});\n\t};\n\tconst onParentCleared = () => {\n\t\tActions.parentWrapper = null;\n\t\tFSBL.Clients.Logger.system.debug(\"ClearParent, setting tabs to null\");\n\t\tActions.stopListeningOnParentWrapper(() => {\n\t\t\tActions.parentWrapperStore = null;\n\t\t\tActions._setTabs(null);\n\t\t\tonDockingGroupUpdate(null, {\n\t\t\t\tdata: {\n\t\t\t\t\tgroupData: windowTitleBarStore.getValue({\n\t\t\t\t\t\tfield: \"Main.allDockingGroups\",\n\t\t\t\t\t}),\n\t\t\t\t},\n\t\t\t});\n\t\t});\n\t};\n\n\tfinsembleWindow?.addListener(\"setParent\", onParentSet);\n\tfinsembleWindow?.addListener(\"clearParent\", onParentCleared);\n\tif (err) {\n\t\treturn FSBL.Clients.Logger.system.error(\"Error in getInitialTabList.\", err);\n\t}\n\n\tif (values) Actions._setTabs(values);\n};\n\n/**\n * \"FSBLHeader\" can be true, false or an object. If false then we'll never even be here. If true, then maximize, minimize and close buttons will display. If an object, then the developer can override whether buttons are shown with \"hideMaximize\", \"hideMinimize\" and \"hideClose\"\n */\nconst processFSBLHeader = (FSBLHeader: any, windowTitleBarConfig: any, options: any) => {\n\t// Display name is first up for display. If it doesn't exist, we look for a default title (or one that's already set on init). If no title, we display the window's name (e.g., '5434-Welcome Component-2321').\n\tconst displayName = options.customData?.component?.displayName;\n\n\tconst max = !!FSBLHeader.hideMaximize;\n\n\twindowTitleBarStore.setValues([\n\t\t{ field: \"Maximize.hide\", value: max },\n\t\t{ field: \"Minimize.hide\", value: !!FSBLHeader.hideMinimize },\n\t\t{ field: \"Close.hide\", value: !!FSBLHeader.hideClose },\n\t\t{ field: \"AlwaysOnTop.show\", value: !!FSBLHeader.alwaysOnTop },\n\t]);\n\n\t// By default, we hack the window's scroll bar so that it displays underneath the header. html.overflow: hidden body.overflow:auto\n\twindowTitleBarStore.setValue({\n\t\tfield: \"hackScrollbar\",\n\t\tvalue: windowTitleBarConfig.FSBLHeader.hackScrollbar !== false,\n\t});\n\twindowTitleBarStore.setValue({\n\t\tfield: \"adjustContentHeights\",\n\t\tvalue: windowTitleBarConfig.FSBLHeader.adjustContentHeights !== false,\n\t});\n\t// By default, fixed positioned elements with a top style set to '0px' will be bumped by the header height and the\n\t// DOM will be monitored for nodes that are added dynamically and bump them if they are fixed with a top style of 0px.\n\twindowTitleBarStore.setValue({\n\t\tfield: \"bumpElements\",\n\t\tvalue: {\n\t\t\tfixed: \"0Positioned\",\n\t\t\tbumpBy: \"25px\",\n\t\t\tmonitorFixedAdditions: true,\n\t\t\t...windowTitleBarConfig.FSBLHeader.bumpElements,\n\t\t},\n\t});\n};\n\n// Once the above has been checked the individual component config is checked for customData.foreign.services[windowService || dockingService][!ignoreTilingAndTabbingRequests || allowTabbing]\nconst getOptionsCallback: StandardCallback = (err, opts: Record<string, any>) => {\n\tconst windowAllowTabbing = opts.customData?.foreign?.services?.windowService?.allowTabbing;\n\tconst windowIgnoreTabbing = opts.customData?.foreign?.services?.windowService?.ignoreTilingAndTabbingRequests;\n\tconst dockingAllowTabbing = opts.customData?.foreign?.services?.dockingService?.allowTabbing;\n\tconst dockingIgnoreTabbing = opts.customData?.foreign.services?.dockingService?.ignoreTilingAndTabbingRequests;\n\tconst dontShowTabs =\n\t\twindowAllowTabbing === false ||\n\t\twindowIgnoreTabbing === true ||\n\t\tdockingAllowTabbing === false ||\n\t\tdockingIgnoreTabbing === true;\n\n\twindowTitleBarStore.setValue({\n\t\tfield: \"showTabs\",\n\t\tvalue: !dontShowTabs,\n\t});\n};\n\nconst processFEAAndFinsembleConfig = (values: Record<string, any>, windowTitleBarConfig: Record<string, any>) => {\n\tconst finsembleConfig = values.finsemble;\n\n\t// Check FEA config for DOM based movement configuration\n\tconst { useDOMBasedMovement } = values[\"finsemble-electron-adapter\"];\n\n\twindowTitleBarStore.setValue({\n\t\tfield: \"Main.useDOMBasedMovement\",\n\t\tvalue: typeof useDOMBasedMovement === \"undefined\" ? true : useDOMBasedMovement,\n\t});\n\n\t// Override defaults if finsemble.Window Manager exists.\n\tconst globalWindowManagerConfig = finsembleConfig[\"Window Manager\"] || {\n\t\talwaysOnTopIcon: false,\n\t\tshowTabs: false,\n\t};\n\n\t// Look to see if docking is enabled. Cascade through backward compatibility with old \"betaFeatures\" and then a default if no config is found at all.\n\n\tfinsembleConfig.servicesConfig = finsembleConfig.servicesConfig ?? {};\n\n\tconst defaultDockingConfig = {\n\t\tenabled: true,\n\t};\n\tlet dockingConfig =\n\t\tfinsembleConfig.servicesConfig.docking ??\n\t\tfinsembleConfig.docking ??\n\t\tfinsembleConfig.betaFeatures?.docking ??\n\t\tdefaultDockingConfig;\n\tdockingConfig.tabbing = dockingConfig.tabbing ?? {};\n\n\t// Whether the alwaysOnTop pin is displayed depends this component's config (foreign.components[\"Widow Manager\"].alwaysOnTop)\n\t// and then on the global setting (finsemble[\"Window Manager\"].alwaysOnTop)\n\tconst alwaysOnTopIcon = windowTitleBarConfig.alwaysOnTopIcon ?? globalWindowManagerConfig.alwaysOnTopIcon ?? false;\n\n\tconst servicesConfigWindow = finsembleConfig.servicesConfig.window;\n\n\twindowTitleBarStore.setValues([\n\t\t{ field: \"Main.dockingEnabled\", value: dockingConfig.enabled },\n\t\t{\n\t\t\tfield: \"allowWindowTitleRenaming\",\n\t\t\tvalue: servicesConfigWindow.allowWindowTitleRenaming ?? dockingConfig.tabbing.allowEditing ?? false,\n\t\t},\n\t\t{ field: \"AlwaysOnTop.show\", value: alwaysOnTopIcon },\n\t]);\n\n\t// If tabbing is turned off, ignore global/local 'windowManager' config about whether to allow tabbing.\n\tif (dockingConfig.tabbing.enabled === false) {\n\t\twindowTitleBarStore.setValue({\n\t\t\tfield: \"showTabs\",\n\t\t\tvalue: dockingConfig.tabbing.enabled,\n\t\t});\n\t} else {\n\t\t// If tabbing is enabled system-wide, look to the global config for its value. Then look to the local component's config.\n\n\t\t// This is the global window manager config.\n\t\tif (typeof windowTitleBarConfig.showTabs !== \"boolean\") {\n\t\t\twindowTitleBarStore.setValue({\n\t\t\t\tfield: \"showTabs\",\n\t\t\t\tvalue: globalWindowManagerConfig.showTabs,\n\t\t\t});\n\t\t}\n\t\t// This is the component's config.\n\t\tif (windowTitleBarConfig.showTabs || windowTitleBarConfig.showTabs === false) {\n\t\t\twindowTitleBarStore.setValue({\n\t\t\t\tfield: \"showTabs\",\n\t\t\t\tvalue: windowTitleBarConfig.showTabs,\n\t\t\t});\n\t\t}\n\n\t\tfinsembleWindow.getOptions(getOptionsCallback);\n\t}\n};\n\n// these are constants that are set inside of setupStore. so they're declared as vars and not constants.\nlet constants: ConstantsType;\nconst Actions: ActionsType = {\n\tparentWrapperStore: null,\n\tinitialize: () => {\n\t\t// This ensures that our config is correct, even if the developer missed some entries\n\t\tconst { options } = FSBL.Clients.WindowClient;\n\t\tconst windowTitleBarConfig = options.customData.foreign.components[\"Window Manager\"];\n\t\tconst { FSBLHeader } = windowTitleBarConfig;\n\n\t\tif (FSBLHeader) processFSBLHeader(FSBLHeader, windowTitleBarConfig, options);\n\n\t\tif (windowTitleBarConfig.showLinker) showLinkerButton();\n\n\t\tlistenForDNDUpdates();\n\n\t\tFSBL.Clients.RouterClient.subscribe(\"Finsemble.WorkspaceService.groupUpdate\", onDockingGroupUpdate);\n\n\t\t// default title.\n\t\twindowTitleBarStore.setValue({\n\t\t\tfield: \"Main.windowTitle\",\n\t\t\tvalue: FSBL.Clients.WindowClient.getWindowTitle(),\n\t\t});\n\n\t\tFSBL.Clients.ConfigClient.getValues(\n\t\t\t[{ field: \"finsemble\" }, { field: \"finsemble-electron-adapter\" }],\n\t\t\t(err, config) => {\n\t\t\t\tif (config) processFEAAndFinsembleConfig(config, windowTitleBarConfig);\n\t\t\t}\n\t\t);\n\n\t\tActions.getInitialTabList(processInitialTabList);\n\n\t\t/**\n\t\t * This store does not listen on window events (such as \"maximized\" or \"minimized\") - that is the\n\t\t * WindowClient's job. The headerCommandChannel allows the WindowClient to affect the display state\n\t\t * of the windowTitleBar - such as changing the maximize icon when a \"maximized\" event is received.\n\t\t */\n\t\tFSBL.Clients.WindowClient.headerCommandChannel((command, state) => {\n\t\t\tActions.remoteStateUpdate(command, state);\n\t\t});\n\t},\n\t/**\n\t * Helper function to sift through all of the data coming from the windowService. Outputs an array of groups that the window belongs to.\n\t */\n\tgetMyDockingGroups: function (groupData) {\n\t\tlet myGroups = [];\n\t\tlet windowName = getWindowNameForDocking(finsembleWindow);\n\t\tif (finsembleWindow?.parentWindow) {\n\t\t\twindowName = finsembleWindow?.parentWindow.name;\n\t\t}\n\t\tFSBL.Clients.Logger.system.debug(\"Getting docking groups for \", windowName, groupData);\n\t\tif (groupData) {\n\t\t\tfor (let groupName in groupData) {\n\t\t\t\tgroupData[groupName].groupName = groupName;\n\t\t\t\tif (groupData[groupName].windowNames.includes(windowName)) {\n\t\t\t\t\tmyGroups.push(groupData[groupName]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn myGroups;\n\t},\n\tonTabListScrollPositionChanged: function (err, response) {\n\t\twindowTitleBarStore.setValue({\n\t\t\tfield: \"tabListTranslateX\",\n\t\t\tvalue: response.data.translateX,\n\t\t});\n\t},\n\tsetTabListScrollPosition: function (translateX) {\n\t\tFSBL.Clients.RouterClient.transmit(constants.TAB_SCROLL_POSITION_CHANGED, {\n\t\t\ttranslateX,\n\t\t});\n\t},\n\t/**\n\t * Handles messages coming from the windowClient.\n\t */\n\tremoteStateUpdate: function (command, state) {\n\t\tconst key = Object.keys(state)[0];\n\t\tconst field = `${command}.${key}`;\n\t\twindowTitleBarStore.setValue({ field: field, value: state[key] });\n\t},\n\t/**\n\t * Minimizes the window.\n\t */\n\tclickMinimize: function () {\n\t\tfinsembleWindow.minimize(() => {});\n\t},\n\t/**\n\t * Closes the window, allows for cleanup. Removes the window from workspace; this function is only invoked when the user clicks the close button.\n\t */\n\tclickClose: function () {\n\t\tFSBL.Clients.WindowClient.close({\n\t\t\tcloseWindow: true,\n\t\t\tremoveFromWorkspace: true, // this will cause the entire stack to close. Using this instead of a new parameter to ensure backwards compatibility\n\t\t\tuserInitiated: true,\n\t\t});\n\t},\n\t/**\n\t * Toggles group membership. If two windows are snapped, and this button is clicked, they become part of the same group that can be moved around together.\n\t */\n\ttoggleGroup: function () {\n\t\tconst groups = windowTitleBarStore.getValue({ field: \"Main.dockingGroups\" });\n\t\tconst isInMovableGroup = groups.some((group: any) => group.isMovable);\n\t\tif (isInMovableGroup) {\n\t\t\tfinsembleWindow.ejectFromGroup();\n\t\t} else {\n\t\t\tfinsembleWindow.formGroup();\n\t\t}\n\t},\n\t/**\n\t * Maximizes the window.\n\t */\n\tclickMaximize: function () {\n\t\tif (finsembleWindow.windowOptions.windowState !== finsembleWindow.WINDOWSTATE.MAXIMIZED)\n\t\t\treturn finsembleWindow.maximize(() => {\n\t\t\t\twindowTitleBarStore.setValue({\n\t\t\t\t\tfield: \"Maximize.maximized\",\n\t\t\t\t\tvalue: true,\n\t\t\t\t});\n\t\t\t});\n\n\t\treturn finsembleWindow.restore(() => {\n\t\t\twindowTitleBarStore.setValue({\n\t\t\t\tfield: \"Maximize.maximized\",\n\t\t\t\tvalue: false,\n\t\t\t});\n\t\t});\n\t},\n\n\tgetTabs() {\n\t\treturn windowTitleBarStore.getValue({ field: \"tabs\" }) as WindowIdentifier[];\n\t},\n\t_setTabs(tabs) {\n\t\tFSBL.Clients.Logger.system.debug(\"Set tabs\", tabs);\n\t\tlet activeIdentifier: any = finsembleWindow.identifier;\n\t\tactiveIdentifier.title = finsembleWindow.windowOptions.title;\n\t\treturn windowTitleBarStore.setValue({\n\t\t\tfield: \"tabs\",\n\t\t\tvalue: tabs || [activeIdentifier],\n\t\t});\n\t},\n\taddTabLocally: function (windowIdentifier, i) {\n\t\tlet tabs = Actions.getTabs();\n\t\tif (typeof i === \"undefined\") {\n\t\t\ti = tabs.length + 1;\n\t\t}\n\t\ttabs.splice(i, 0, windowIdentifier);\n\t\tActions._setTabs(tabs);\n\t},\n\tremoveTabsLocally: function () {\n\t\tActions._setTabs(null);\n\t},\n\tremoveTabLocally: function (windowIdentifier) {\n\t\tlet tabs = Actions.getTabs();\n\t\tlet i = tabs.findIndex((el) => el.windowName === windowIdentifier.windowName);\n\t\ttabs.splice(i, 1);\n\t\tActions._setTabs(tabs);\n\t},\n\treorderTabLocally: function (tab, newIndex) {\n\t\tlet tabs = Actions.getTabs();\n\t\tlet { currentIndex } = Actions.findTab(tab);\n\t\tif (currentIndex === newIndex) return;\n\t\tif (currentIndex === -1) {\n\t\t\treturn Actions.addTabLocally(tab, newIndex);\n\t\t}\n\t\ttabs.splice(currentIndex, 1);\n\t\ttabs.splice(newIndex, 0, tab);\n\n\t\tActions._setTabs(tabs);\n\t},\n\taddTab: function (windowIdentifier, i) {\n\t\tlet tabs = Actions.getTabs();\n\t\ttabs.push(windowIdentifier);\n\t\t// quick UI update\n\t\tActions._setTabs(tabs);\n\t\tlet callback = () => {\n\t\t\tActions.parentWrapper?.setVisibleWindow({ windowIdentifier });\n\t\t};\n\n\t\tif (!Actions.parentWrapper) {\n\t\t\treturn Actions.createParentWrapper({\n\t\t\t\twindowIdentifiers: finsembleWindow.identifier\n\t\t\t\t\t? [finsembleWindow.identifier, windowIdentifier]\n\t\t\t\t\t: [windowIdentifier],\n\t\t\t\tvisibleWindowIdentifier: windowIdentifier,\n\t\t\t\tcreate: true,\n\t\t\t});\n\t\t}\n\t\treturn Actions.parentWrapper.addWindow({ windowIdentifier, position: i }, callback);\n\t},\n\tremoveTab: function (windowIdentifier, i) {\n\t\treturn Actions.parentWrapper?.removeWindow({\n\t\t\twindowIdentifier,\n\t\t\tposition: i,\n\t\t});\n\t},\n\tcloseTab: function (windowIdentifier) {\n\t\tconst close: StandardCallback = (err, wrap) => {\n\t\t\twrap.close({ removeFromWorkspace: true });\n\t\t};\n\t\tFSBL.FinsembleWindow.getInstance(windowIdentifier, close);\n\t},\n\treorderTab: function (tab, newIndex) {\n\t\tlet tabs = Actions.getTabs();\n\t\tlet { currentIndex } = Actions.findTab(tab);\n\t\tif (currentIndex === -1 || !Actions.parentWrapper) {\n\t\t\treturn Actions.addTab(tab, newIndex);\n\t\t}\n\t\ttabs.splice(currentIndex, 1);\n\t\ttabs.splice(newIndex, 0, tab);\n\t\t// Local change, quickly updates the dom.\n\t\tActions._setTabs(tabs);\n\t\tActions.parentWrapper.reorder({ windowIdentifiers: tabs });\n\t},\n\tfindTab: function (tab) {\n\t\tlet tabs = Actions.getTabs();\n\t\tlet currentIndex = tabs.findIndex((el) => tab.windowName === el.windowName);\n\t\treturn { tab, currentIndex };\n\t},\n\tsetActiveTab: function (windowIdentifier) {\n\t\tFSBL.Clients.Logger.system.debug(\"setActiveTab.visibleWindow\");\n\t\treturn finsembleWindow.parentWindow.setVisibleWindow({ windowIdentifier });\n\t},\n\tparentWrapper: null,\n\tonTabListChanged: function (err, response) {\n\t\tFSBL.Clients.Logger.system.debug(\"OnTabListChanged\", response.data);\n\t\tif (response.data && response.data.hasOwnProperty(constants.CHILD_WINDOW_FIELD)) {\n\t\t\tActions._setTabs(response.data[constants.CHILD_WINDOW_FIELD]);\n\t\t}\n\t},\n\tparentSubscriptions: [],\n\tstopListeningOnParentWrapper: function (cb) {\n\t\tActions.parentSubscriptions.forEach((sub) => {\n\t\t\tFSBL.Clients.RouterClient.unsubscribe(sub);\n\t\t});\n\t\tActions.parentSubscriptions = []; // remove the subscribeId\n\t\t// Syncs scroll state across all tabs in a stack.\n\t\tFSBL.Clients.RouterClient.removeListener(\n\t\t\tconstants.TAB_SCROLL_POSITION_CHANGED,\n\t\t\tActions.onTabListScrollPositionChanged\n\t\t);\n\t\tcb();\n\t},\n\tlistenOnParentWrapper: function () {\n\t\tlet TABLIST_SUBSCRIPTION = FSBL.Clients.RouterClient.subscribe(\n\t\t\tconstants.PARENT_WRAPPER_UPDATES,\n\t\t\tActions.onTabListChanged\n\t\t);\n\t\tFSBL.Clients.RouterClient.addListener(\n\t\t\tconstants.TAB_SCROLL_POSITION_CHANGED,\n\t\t\tActions.onTabListScrollPositionChanged\n\t\t);\n\t\tActions.parentSubscriptions.push(TABLIST_SUBSCRIPTION);\n\t},\n\tsetupStore: function (cb = Function.prototype) {\n\t\tconstants = {\n\t\t\tPARENT_WRAPPER_UPDATES: `Finsemble.StackedWindow.${Actions.parentWrapper?.identifier?.windowName}`,\n\t\t\tCHILD_WINDOW_FIELD: \"childWindowIdentifiers\",\n\t\t\tVISIBLE_WINDOW_FIELD: \"visibleWindowIdentifier\",\n\t\t\tTAB_SCROLL_POSITION_CHANGED: `${Actions.parentWrapper?.name}.tabListTabListScrollPositionChanged`,\n\t\t};\n\t\tActions.listenOnParentWrapper();\n\t\tcb();\n\t},\n\tgetInitialTabList: function (cb) {\n\t\tfinsembleWindow.getParent((err, parentWrapper) => {\n\t\t\tActions.parentWrapper = parentWrapper;\n\t\t\tif (Actions.parentWrapper) {\n\t\t\t\tFSBL.Clients.Logger.system.debug(\"GetInitialTabList, parent exists\");\n\t\t\t\tActions.setupStore(cb);\n\t\t\t} else {\n\t\t\t\tlet activeIdentifier: any = finsembleWindow.identifier;\n\t\t\t\tactiveIdentifier.title = finsembleWindow.windowOptions.title;\n\t\t\t\tlet tabs = [activeIdentifier];\n\t\t\t\tcb(null, tabs);\n\t\t\t}\n\t\t});\n\t},\n\tcreateParentWrapper(params: ParentParams, cb = Function.prototype) {\n\t\t(window as any).Actions = Actions;\n\t\tif (Actions.parentWrapper) {\n\t\t\tcb();\n\t\t} else {\n\t\t\tconst getStackedWindowCallback: StandardCallback = (err, wrap) => {\n\t\t\t\tif (err) {\n\t\t\t\t\tActions.parentWrapper = null;\n\t\t\t\t\tActions._setTabs(null);\n\t\t\t\t} else {\n\t\t\t\t\tActions.parentWrapper = wrap;\n\t\t\t\t\tActions.setupStore(cb);\n\t\t\t\t}\n\t\t\t};\n\t\t\tgetStackedWindow(params, getStackedWindowCallback);\n\t\t}\n\t},\n};\n\n/**\n * Initializes the store for the windowTitleBar.\n *\n * @param {any} cb\n */\nfunction initialize(cb: Function) {\n\tFSBL.Clients.DistributedStoreClient.createStore(\n\t\t{ store: \"windowTitleBarStore\", values: windowTitleBarStoreDefaults },\n\t\t(err, store) => {\n\t\t\tif (!err && store) {\n\t\t\t\twindowTitleBarStore = store;\n\t\t\t}\n\t\t\tActions.initialize();\n\t\t\treturn cb(store, Actions);\n\t\t}\n\t);\n}\n\nlet getStore = () => windowTitleBarStore;\n\nclass StoreManager {\n\tinitialized = false;\n\n\tinitializing = false;\n\n\tstore: StoreModel | null = null;\n\n\tcallbacks: Function[] = [];\n\n\tconstructor() {}\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: Function) {\n\t\tif (this.initialized) return cb(this.store);\n\t\tthis.callbacks.push(cb);\n\t}\n\n\tremoveInitializedListener(cb: Function) {\n\t\tthis.callbacks = this.callbacks.filter((entry) => entry !== cb);\n\t}\n}\nconst storeManager = new StoreManager();\n\nexport { storeManager };\nexport { initialize };\nexport { windowTitleBarStore as Store };\nexport { Actions };\nexport { getStore };\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Main: {
|
|
3
|
+
windowTitle: string;
|
|
4
|
+
showDockingTooltip: boolean;
|
|
5
|
+
dockingIcon: boolean;
|
|
6
|
+
dockingEnabled: boolean;
|
|
7
|
+
mains2: {
|
|
8
|
+
main3: {
|
|
9
|
+
main4: {};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
useDOMBasedMovement: boolean;
|
|
13
|
+
};
|
|
14
|
+
Sharer: {
|
|
15
|
+
emitterEnabled: boolean;
|
|
16
|
+
receiverEnabled: boolean;
|
|
17
|
+
receiverHandler: boolean;
|
|
18
|
+
};
|
|
19
|
+
Linker: {
|
|
20
|
+
channels: {};
|
|
21
|
+
allChannels: {};
|
|
22
|
+
showLinkerButton: boolean;
|
|
23
|
+
};
|
|
24
|
+
Close: {
|
|
25
|
+
hide: boolean;
|
|
26
|
+
};
|
|
27
|
+
Maximize: {
|
|
28
|
+
maximized: boolean;
|
|
29
|
+
hide: boolean;
|
|
30
|
+
};
|
|
31
|
+
Minimize: {
|
|
32
|
+
hide: boolean;
|
|
33
|
+
};
|
|
34
|
+
Ejector: {
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
};
|
|
37
|
+
isSnapped: boolean;
|
|
38
|
+
isGrouped: boolean;
|
|
39
|
+
isTopRight: boolean;
|
|
40
|
+
tabs: never[];
|
|
41
|
+
activeTab: {};
|
|
42
|
+
};
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
Main: {
|
|
3
|
+
windowTitle: "",
|
|
4
|
+
showDockingTooltip: false,
|
|
5
|
+
dockingIcon: false,
|
|
6
|
+
dockingEnabled: false,
|
|
7
|
+
mains2: {
|
|
8
|
+
main3: {
|
|
9
|
+
main4: {},
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
useDOMBasedMovement: true,
|
|
13
|
+
},
|
|
14
|
+
Sharer: {
|
|
15
|
+
emitterEnabled: false,
|
|
16
|
+
receiverEnabled: false,
|
|
17
|
+
receiverHandler: false,
|
|
18
|
+
},
|
|
19
|
+
Linker: {
|
|
20
|
+
channels: {},
|
|
21
|
+
allChannels: {},
|
|
22
|
+
showLinkerButton: false,
|
|
23
|
+
},
|
|
24
|
+
Close: {
|
|
25
|
+
hide: false,
|
|
26
|
+
},
|
|
27
|
+
Maximize: {
|
|
28
|
+
maximized: false,
|
|
29
|
+
hide: false,
|
|
30
|
+
},
|
|
31
|
+
Minimize: {
|
|
32
|
+
hide: false,
|
|
33
|
+
},
|
|
34
|
+
Ejector: {
|
|
35
|
+
enabled: false,
|
|
36
|
+
},
|
|
37
|
+
isSnapped: false,
|
|
38
|
+
isGrouped: false,
|
|
39
|
+
isTopRight: false,
|
|
40
|
+
tabs: [],
|
|
41
|
+
activeTab: {},
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=windowTitleBarStoreDefaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowTitleBarStoreDefaults.js","sourceRoot":"","sources":["../../../../src/components/windowTitleBar/stores/windowTitleBarStoreDefaults.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,IAAI,EAAE;QACL,WAAW,EAAE,EAAE;QACf,kBAAkB,EAAE,KAAK;QACzB,WAAW,EAAE,KAAK;QAClB,cAAc,EAAE,KAAK;QACrB,MAAM,EAAE;YACP,KAAK,EAAE;gBACN,KAAK,EAAE,EAAE;aACT;SACD;QACD,mBAAmB,EAAE,IAAI;KACzB;IACD,MAAM,EAAE;QACP,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE,KAAK;QACtB,eAAe,EAAE,KAAK;KACtB;IACD,MAAM,EAAE;QACP,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,EAAE;QACf,gBAAgB,EAAE,KAAK;KACvB;IACD,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;KACX;IACD,QAAQ,EAAE;QACT,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,KAAK;KACX;IACD,QAAQ,EAAE;QACT,IAAI,EAAE,KAAK;KACX;IACD,OAAO,EAAE;QACR,OAAO,EAAE,KAAK;KACd;IACD,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,EAAE;IACR,SAAS,EAAE,EAAE;CACb,CAAC","sourcesContent":["export default {\n\tMain: {\n\t\twindowTitle: \"\",\n\t\tshowDockingTooltip: false,\n\t\tdockingIcon: false,\n\t\tdockingEnabled: false,\n\t\tmains2: {\n\t\t\tmain3: {\n\t\t\t\tmain4: {},\n\t\t\t},\n\t\t},\n\t\tuseDOMBasedMovement: true,\n\t},\n\tSharer: {\n\t\temitterEnabled: false,\n\t\treceiverEnabled: false,\n\t\treceiverHandler: false,\n\t},\n\tLinker: {\n\t\tchannels: {},\n\t\tallChannels: {},\n\t\tshowLinkerButton: false,\n\t},\n\tClose: {\n\t\thide: false,\n\t},\n\tMaximize: {\n\t\tmaximized: false,\n\t\thide: false,\n\t},\n\tMinimize: {\n\t\thide: false,\n\t},\n\tEjector: {\n\t\tenabled: false,\n\t},\n\tisSnapped: false,\n\tisGrouped: false,\n\tisTopRight: false,\n\ttabs: [],\n\tactiveTab: {},\n};\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { TabProperties } from "../../types/windowTitleBar";
|
|
3
|
+
export interface WindowTitleBarContextType {
|
|
4
|
+
showDockingButton: string | false;
|
|
5
|
+
useDOMBasedMovement: boolean;
|
|
6
|
+
tabs: TabProperties[];
|
|
7
|
+
showLinkerButton: boolean;
|
|
8
|
+
showShareButton: boolean;
|
|
9
|
+
showTabRegion: boolean;
|
|
10
|
+
showAlwaysOnTopButton: boolean;
|
|
11
|
+
showMinimizeButton: boolean;
|
|
12
|
+
showMaximizeButton: boolean;
|
|
13
|
+
showCloseButton: boolean;
|
|
14
|
+
onTabDropped: Function;
|
|
15
|
+
thisWindowTitle: string;
|
|
16
|
+
boundingBox: any;
|
|
17
|
+
listenForDragOver: boolean;
|
|
18
|
+
onTitleUpdated: Function;
|
|
19
|
+
showTabs: boolean;
|
|
20
|
+
alwaysOnTop: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const WindowTitleBarContext: React.Context<WindowTitleBarContextType>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const defaultConfigValues = {
|
|
3
|
+
useDOMBasedMovement: true,
|
|
4
|
+
showLinkerButton: false,
|
|
5
|
+
showShareButton: false,
|
|
6
|
+
showTabRegion: false,
|
|
7
|
+
showDockingButton: false,
|
|
8
|
+
showAlwaysOnTopButton: false,
|
|
9
|
+
showMinimizeButton: false,
|
|
10
|
+
showMaximizeButton: false,
|
|
11
|
+
showCloseButton: false,
|
|
12
|
+
onTabDropped: null,
|
|
13
|
+
thisWindowTitle: "",
|
|
14
|
+
boundingBox: null,
|
|
15
|
+
listenForDragOver: null,
|
|
16
|
+
tabs: null,
|
|
17
|
+
onTitleUpdated: null,
|
|
18
|
+
showTabs: false,
|
|
19
|
+
alwaysOnTop: false,
|
|
20
|
+
};
|
|
21
|
+
export const WindowTitleBarContext = React.createContext(defaultConfigValues);
|
|
22
|
+
//# sourceMappingURL=windowTitleBarContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowTitleBarContext.js","sourceRoot":"","sources":["../../../src/components/windowTitleBar/windowTitleBarContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuB/B,MAAM,mBAAmB,GAA8B;IACtD,mBAAmB,EAAE,IAAI;IACzB,gBAAgB,EAAE,KAAK;IACvB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,iBAAiB,EAAE,KAAK;IACxB,qBAAqB,EAAE,KAAK;IAC5B,kBAAkB,EAAE,KAAK;IACzB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,IAAW;IACzB,eAAe,EAAE,EAAE;IACnB,WAAW,EAAE,IAAW;IACxB,iBAAiB,EAAE,IAAW;IAC9B,IAAI,EAAE,IAAW;IACjB,cAAc,EAAE,IAAW;IAC3B,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,KAAK;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAA4B,mBAAmB,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { TabProperties } from \"../../types/windowTitleBar\";\n\nexport interface WindowTitleBarContextType {\n\tshowDockingButton: string | false;\n\tuseDOMBasedMovement: boolean;\n\ttabs: TabProperties[];\n\tshowLinkerButton: boolean;\n\tshowShareButton: boolean;\n\tshowTabRegion: boolean;\n\tshowAlwaysOnTopButton: boolean;\n\tshowMinimizeButton: boolean;\n\tshowMaximizeButton: boolean;\n\tshowCloseButton: boolean;\n\tonTabDropped: Function;\n\tthisWindowTitle: string;\n\tboundingBox: any;\n\tlistenForDragOver: boolean;\n\tonTitleUpdated: Function;\n\tshowTabs: boolean;\n\talwaysOnTop: boolean;\n}\n\nconst defaultConfigValues: WindowTitleBarContextType = {\n\tuseDOMBasedMovement: true,\n\tshowLinkerButton: false,\n\tshowShareButton: false,\n\tshowTabRegion: false,\n\tshowDockingButton: false,\n\tshowAlwaysOnTopButton: false,\n\tshowMinimizeButton: false,\n\tshowMaximizeButton: false,\n\tshowCloseButton: false,\n\tonTabDropped: null as any,\n\tthisWindowTitle: \"\",\n\tboundingBox: null as any,\n\tlistenForDragOver: null as any,\n\ttabs: null as any,\n\tonTitleUpdated: null as any,\n\tshowTabs: false,\n\talwaysOnTop: false,\n};\n\nexport const WindowTitleBarContext = React.createContext<WindowTitleBarContextType>(defaultConfigValues);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { mount } from "enzyme";
|
|
3
|
+
import { describe, it } from "mocha";
|
|
4
|
+
import { expect } from "chai";
|
|
5
|
+
import { Basic } from "./Timer.stories";
|
|
6
|
+
import { accessibilityAssessor } from "../sdd/tests/a11y_helper";
|
|
7
|
+
describe("<Timer/>", () => {
|
|
8
|
+
it("should pass accessibility scans (Page)", async () => {
|
|
9
|
+
const wrapper = mount(React.createElement(Basic, Object.assign({}, Basic.args)));
|
|
10
|
+
expect(await accessibilityAssessor(wrapper)).to.be.true;
|
|
11
|
+
});
|
|
12
|
+
it("should display the text 'Time remaining: '", async () => {
|
|
13
|
+
const wrapper = mount(React.createElement(Basic, Object.assign({}, Basic.args)));
|
|
14
|
+
expect(wrapper.find("div").text()).to.contain("Time remaining:");
|
|
15
|
+
wrapper.unmount();
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=Timer.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timer.spec.js","sourceRoot":"","sources":["../../../src/components/yesNoDialog/Timer.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;QACvD,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,KAAK,oBAAM,KAAK,CAAC,IAAe,EAAI,CAAC,CAAC;QAE7D,MAAM,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACzD,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC3D,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,KAAK,oBAAM,KAAK,CAAC,IAAe,EAAI,CAAC,CAAC;QAE7D,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACjE,OAAO,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it } from \"mocha\";\nimport { expect } from \"chai\";\nimport { Basic } from \"./Timer.stories\";\nimport { IProps } from \"./timer\";\nimport { accessibilityAssessor } from \"../sdd/tests/a11y_helper\";\n\ndescribe(\"<Timer/>\", () => {\n\tit(\"should pass accessibility scans (Page)\", async () => {\n\t\tconst wrapper = mount(<Basic {...(Basic.args as IProps)} />);\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n\tit(\"should display the text 'Time remaining: '\", async () => {\n\t\tconst wrapper = mount(<Basic {...(Basic.args as IProps)} />);\n\n\t\texpect(wrapper.find(\"div\").text()).to.contain(\"Time remaining:\");\n\t\twrapper.unmount();\n\t});\n});\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Timer, { IProps } from "./timer";
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import "../../assets/css/dialogs.css";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Timer;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Basic: Story<IProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Timer from "./timer";
|
|
3
|
+
import "../../assets/css/dialogs.css";
|
|
4
|
+
import { action } from "@storybook/addon-actions";
|
|
5
|
+
export default {
|
|
6
|
+
title: "YesNoDialog/Timer",
|
|
7
|
+
component: Timer,
|
|
8
|
+
};
|
|
9
|
+
const Template = (args) => React.createElement(Timer, Object.assign({}, args));
|
|
10
|
+
export const Basic = Template.bind({});
|
|
11
|
+
Basic.args = {
|
|
12
|
+
timerDuration: 1000,
|
|
13
|
+
ontimerDurationExpiration: action("Expired"),
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Timer.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timer.stories.js","sourceRoot":"","sources":["../../../src/components/yesNoDialog/Timer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAiB,MAAM,SAAS,CAAC;AAExC,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACd,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,QAAQ,GAAkB,CAAC,IAAY,EAAE,EAAE,CAAC,oBAAC,KAAK,oBAAK,IAAI,EAAI,CAAC;AAEtE,MAAM,CAAC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvC,KAAK,CAAC,IAAI,GAAG;IACZ,aAAa,EAAE,IAAI;IACnB,yBAAyB,EAAE,MAAM,CAAC,SAAS,CAAC;CAC5C,CAAC","sourcesContent":["import React from \"react\";\nimport Timer, { IProps } from \"./timer\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport \"../../assets/css/dialogs.css\";\nimport { action } from \"@storybook/addon-actions\";\n\nexport default {\n\ttitle: \"YesNoDialog/Timer\",\n\tcomponent: Timer,\n};\n\nconst Template: Story<IProps> = (args: IProps) => <Timer {...args} />;\n\nexport const Basic = Template.bind({});\nBasic.args = {\n\ttimerDuration: 1000,\n\tontimerDurationExpiration: action(\"Expired\"),\n};\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./YesNoDialog.css";
|
|
3
|
+
import "../../assets/css/dialogs.css";
|
|
4
|
+
/**
|
|
5
|
+
* This dialog window provides a binary choice to the user, and reports back the response to the opener.
|
|
6
|
+
*/
|
|
7
|
+
export declare const YesNoDialog: () => JSX.Element;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2017 by ChartIQ, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
import React from "react";
|
|
6
|
+
import "./YesNoDialog.css";
|
|
7
|
+
import "../../assets/css/dialogs.css";
|
|
8
|
+
import { FinsembleDialog } from "../legacyControls/FinsembleDialog";
|
|
9
|
+
import { FinsembleDialogQuestion } from "../legacyControls/FinsembleDialogQuestion";
|
|
10
|
+
import { FinsembleDialogButton } from "../legacyControls/FinsembleDialogButton";
|
|
11
|
+
import Timer from "./timer";
|
|
12
|
+
const DEFAULT_TITLE = "";
|
|
13
|
+
const DEFAULT_COMPONENT_STATE = {
|
|
14
|
+
title: DEFAULT_TITLE,
|
|
15
|
+
question: "No question.",
|
|
16
|
+
negativeResponseLabel: "No",
|
|
17
|
+
affirmativeResponseLabel: "Yes",
|
|
18
|
+
cancelResponseLabel: "Cancel",
|
|
19
|
+
showNegativeButton: true,
|
|
20
|
+
showAffirmativeButton: true,
|
|
21
|
+
showCancelButton: true,
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* This is our standard dialog that presents the user with 1 - 3 choices. It can be used to allow the user to confirm, reject, or cancel an action. All of these options can be included, and all can be excluded.
|
|
25
|
+
*
|
|
26
|
+
* @class YesNoDialog
|
|
27
|
+
* @extends {React.Component}
|
|
28
|
+
*/
|
|
29
|
+
class YesNoDialogBase extends React.Component {
|
|
30
|
+
constructor(props = {}) {
|
|
31
|
+
super(props);
|
|
32
|
+
this.bindCorrectContext();
|
|
33
|
+
this.state = DEFAULT_COMPONENT_STATE;
|
|
34
|
+
document.body.addEventListener("keydown", this.handleKeydownOnBody);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Handles escape and enter.
|
|
38
|
+
*
|
|
39
|
+
* @param {any} e
|
|
40
|
+
* @memberof YesNoDialog
|
|
41
|
+
*/
|
|
42
|
+
handleKeydownOnBody(e) {
|
|
43
|
+
if (e.code === "Enter" && e.shiftKey === false) {
|
|
44
|
+
this.sendResponse("affirmative");
|
|
45
|
+
}
|
|
46
|
+
if (e.code === "Escape") {
|
|
47
|
+
this.sendResponse("cancel");
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Necessary to ensure that `this` is correct when our methods are invoked.
|
|
52
|
+
*
|
|
53
|
+
* @memberof YesNoDialog
|
|
54
|
+
*/
|
|
55
|
+
bindCorrectContext() {
|
|
56
|
+
this.handleKeydownOnBody = this.handleKeydownOnBody.bind(this);
|
|
57
|
+
this.onShowRequested = this.onShowRequested.bind(this);
|
|
58
|
+
this.sendAffirmativeResponse = this.sendAffirmativeResponse.bind(this);
|
|
59
|
+
this.sendCancelResponse = this.sendCancelResponse.bind(this);
|
|
60
|
+
this.sendNegativeResponse = this.sendNegativeResponse.bind(this);
|
|
61
|
+
this.sendExpiredResponse = this.sendExpiredResponse.bind(this);
|
|
62
|
+
this.sendResponse = this.sendResponse.bind(this);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* When the opener requests that the dialog show itself, it also passes in initialization data. This function grabs that data, calls setState, and then fits the window to the contents of the DOM. Then we call `showDialog`, which will display the dialog on the proper monitor.
|
|
66
|
+
*
|
|
67
|
+
* @param {any} err
|
|
68
|
+
* @param {any} response
|
|
69
|
+
* @memberof YesNoDialog
|
|
70
|
+
*/
|
|
71
|
+
onShowRequested(err, response) {
|
|
72
|
+
let { data } = response;
|
|
73
|
+
this.setState({
|
|
74
|
+
title: typeof data.title === "undefined" ? DEFAULT_TITLE : data.title,
|
|
75
|
+
hideModalOnClose: typeof data.hideModalOnClose === "undefined" ? true : data.hideModalOnClose,
|
|
76
|
+
question: data.question,
|
|
77
|
+
negativeResponseLabel: data.negativeResponseLabel || "No",
|
|
78
|
+
affirmativeResponseLabel: data.affirmativeResponseLabel || "Yes",
|
|
79
|
+
cancelResponseLabel: data.cancelResponseLabel || "Cancel",
|
|
80
|
+
showNegativeButton: typeof data.showNegativeButton === "undefined" ? true : data.showNegativeButton,
|
|
81
|
+
showAffirmativeButton: typeof data.showAffirmativeButton === "undefined" ? true : data.showAffirmativeButton,
|
|
82
|
+
showCancelButton: typeof data.showCancelButton === "undefined" ? true : data.showCancelButton,
|
|
83
|
+
showTimer: typeof data.showTimer === "undefined" ? false : data.showTimer,
|
|
84
|
+
timerDuration: typeof data.timerDuration === "undefined" ? null : data.timerDuration,
|
|
85
|
+
}, this.fitAndShow);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Fits the contents of the DOM to the window, then calls `showDialog`, which positions the dialog on the proper monitor and toggles the visibility of the window.
|
|
89
|
+
*
|
|
90
|
+
* @memberof YesNoDialog
|
|
91
|
+
*/
|
|
92
|
+
fitAndShow() {
|
|
93
|
+
FSBL.Clients.WindowClient.fitToDOM(null, () => {
|
|
94
|
+
FSBL.Clients.DialogManager.showDialog();
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Sends user input to the opener.
|
|
99
|
+
*
|
|
100
|
+
* @param {any} response
|
|
101
|
+
* @memberof YesNoDialog
|
|
102
|
+
*/
|
|
103
|
+
sendResponse(response) {
|
|
104
|
+
FSBL.Clients.DialogManager.respondToOpener({
|
|
105
|
+
choice: response,
|
|
106
|
+
hideModalOnClose: this.state.hideModalOnClose,
|
|
107
|
+
});
|
|
108
|
+
// This will detach the timer component from the dom. Next time the component comes up, it'll have a fresh timer.
|
|
109
|
+
this.setState({
|
|
110
|
+
showTimer: false,
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Sends an affirmative response to the opener.
|
|
115
|
+
*
|
|
116
|
+
* @memberof YesNoDialog
|
|
117
|
+
*/
|
|
118
|
+
sendAffirmativeResponse() {
|
|
119
|
+
this.sendResponse("affirmative");
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Sends a negative response to the opener.
|
|
123
|
+
*
|
|
124
|
+
* @memberof YesNoDialog
|
|
125
|
+
*/
|
|
126
|
+
sendNegativeResponse() {
|
|
127
|
+
this.sendResponse("negative");
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Sends a cancel response to the opener.
|
|
131
|
+
*
|
|
132
|
+
* @memberof YesNoDialog
|
|
133
|
+
*/
|
|
134
|
+
sendCancelResponse() {
|
|
135
|
+
this.sendResponse("cancel");
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Sends an expired response to the opener.
|
|
139
|
+
*
|
|
140
|
+
* @memberof YesNoDialog
|
|
141
|
+
*/
|
|
142
|
+
sendExpiredResponse() {
|
|
143
|
+
this.sendResponse("expired");
|
|
144
|
+
}
|
|
145
|
+
render() {
|
|
146
|
+
document.title = this.state.title;
|
|
147
|
+
return (React.createElement(FinsembleDialog, { userInputTimeout: 10000, behaviorOnResponse: "hide", onShowRequested: this.onShowRequested, isModal: true },
|
|
148
|
+
React.createElement("div", { className: "dialog-title" }, this.state.title),
|
|
149
|
+
React.createElement(FinsembleDialogQuestion, null,
|
|
150
|
+
this.state.question,
|
|
151
|
+
this.state.showTimer && typeof this.state.timerDuration === "number" && (React.createElement(Timer, { ontimerDurationExpiration: this.sendExpiredResponse, timerDuration: this.state.timerDuration }))),
|
|
152
|
+
React.createElement("div", { className: "button-wrapper" },
|
|
153
|
+
React.createElement(FinsembleDialogButton, { show: this.state.showNegativeButton, className: "fsbl-button-neutral", onClick: this.sendNegativeResponse }, this.state.negativeResponseLabel),
|
|
154
|
+
React.createElement(FinsembleDialogButton, { show: this.state.showCancelButton, className: "fsbl-button-neutral", onClick: this.sendCancelResponse }, this.state.cancelResponseLabel),
|
|
155
|
+
React.createElement(FinsembleDialogButton, { show: this.state.showAffirmativeButton, className: "fsbl-button-affirmative", onClick: this.sendAffirmativeResponse }, this.state.affirmativeResponseLabel))));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* This dialog window provides a binary choice to the user, and reports back the response to the opener.
|
|
160
|
+
*/
|
|
161
|
+
export const YesNoDialog = () => React.createElement(YesNoDialogBase, null);
|
|
162
|
+
//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,gBAAgB,EACjC,SAAS,EAAC,qBAAqB,EAC/B,OAAO,EAAE,IAAI,CAAC,kBAAkB,IAE/B,IAAI,CAAC,KAAK,CAAC,mBAAmB,CACR;gBAExB,oBAAC,qBAAqB,IACrB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,qBAAqB,EACtC,SAAS,EAAC,yBAAyB,EACnC,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,KAAK,CAAC,wBAAwB,CACb,CACnB,CACW,CAClB,CAAC;IACH,CAAC;CACD;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,oBAAC,eAAe,OAAG,CAAC","sourcesContent":["/*!\n * Copyright 2017 by ChartIQ, Inc.\n * All rights reserved.\n */\nimport React from \"react\";\nimport \"./YesNoDialog.css\";\nimport \"../../assets/css/dialogs.css\";\nimport { FinsembleDialog } from \"../legacyControls/FinsembleDialog\";\nimport { FinsembleDialogQuestion } from \"../legacyControls/FinsembleDialogQuestion\";\nimport { FinsembleDialogButton } from \"../legacyControls/FinsembleDialogButton\";\nimport Timer from \"./timer\";\nconst DEFAULT_TITLE = \"\";\nconst DEFAULT_COMPONENT_STATE = {\n\ttitle: DEFAULT_TITLE,\n\tquestion: \"No question.\",\n\tnegativeResponseLabel: \"No\",\n\taffirmativeResponseLabel: \"Yes\",\n\tcancelResponseLabel: \"Cancel\",\n\tshowNegativeButton: true,\n\tshowAffirmativeButton: true,\n\tshowCancelButton: true,\n};\n\ninterface IProps {}\ninterface IState {\n\ttitle: string;\n\tquestion: string;\n\tnegativeResponseLabel: string;\n\taffirmativeResponseLabel: string;\n\tcancelResponseLabel: string;\n\tshowNegativeButton: boolean;\n\tshowAffirmativeButton: boolean;\n\tshowCancelButton: boolean;\n\thideModalOnClose?: boolean;\n\tshowTimer?: boolean;\n\ttimerDuration?: number | null;\n}\n\n/**\n * This is our standard dialog that presents the user with 1 - 3 choices. It can be used to allow the user to confirm, reject, or cancel an action. All of these options can be included, and all can be excluded.\n *\n * @class YesNoDialog\n * @extends {React.Component}\n */\nclass YesNoDialogBase extends React.Component<IProps, IState> {\n\tconstructor(props = {}) {\n\t\tsuper(props);\n\t\tthis.bindCorrectContext();\n\t\tthis.state = DEFAULT_COMPONENT_STATE;\n\t\tdocument.body.addEventListener(\"keydown\", this.handleKeydownOnBody);\n\t}\n\n\t/**\n\t * Handles escape and enter.\n\t *\n\t * @param {any} e\n\t * @memberof YesNoDialog\n\t */\n\thandleKeydownOnBody(e: any) {\n\t\tif (e.code === \"Enter\" && e.shiftKey === false) {\n\t\t\tthis.sendResponse(\"affirmative\");\n\t\t}\n\n\t\tif (e.code === \"Escape\") {\n\t\t\tthis.sendResponse(\"cancel\");\n\t\t}\n\t}\n\n\t/**\n\t * Necessary to ensure that `this` is correct when our methods are invoked.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tbindCorrectContext() {\n\t\tthis.handleKeydownOnBody = this.handleKeydownOnBody.bind(this);\n\t\tthis.onShowRequested = this.onShowRequested.bind(this);\n\t\tthis.sendAffirmativeResponse = this.sendAffirmativeResponse.bind(this);\n\t\tthis.sendCancelResponse = this.sendCancelResponse.bind(this);\n\t\tthis.sendNegativeResponse = this.sendNegativeResponse.bind(this);\n\t\tthis.sendExpiredResponse = this.sendExpiredResponse.bind(this);\n\t\tthis.sendResponse = this.sendResponse.bind(this);\n\t}\n\n\t/**\n\t * When the opener requests that the dialog show itself, it also passes in initialization data. This function grabs that data, calls setState, and then fits the window to the contents of the DOM. Then we call `showDialog`, which will display the dialog on the proper monitor.\n\t *\n\t * @param {any} err\n\t * @param {any} response\n\t * @memberof YesNoDialog\n\t */\n\tonShowRequested(err: any, response: any) {\n\t\tlet { data } = response;\n\t\tthis.setState(\n\t\t\t{\n\t\t\t\ttitle: typeof data.title === \"undefined\" ? DEFAULT_TITLE : data.title,\n\t\t\t\thideModalOnClose: typeof data.hideModalOnClose === \"undefined\" ? true : data.hideModalOnClose,\n\t\t\t\tquestion: data.question,\n\t\t\t\tnegativeResponseLabel: data.negativeResponseLabel || \"No\",\n\t\t\t\taffirmativeResponseLabel: data.affirmativeResponseLabel || \"Yes\",\n\t\t\t\tcancelResponseLabel: data.cancelResponseLabel || \"Cancel\",\n\t\t\t\tshowNegativeButton: typeof data.showNegativeButton === \"undefined\" ? true : data.showNegativeButton,\n\t\t\t\tshowAffirmativeButton: typeof data.showAffirmativeButton === \"undefined\" ? true : data.showAffirmativeButton,\n\t\t\t\tshowCancelButton: typeof data.showCancelButton === \"undefined\" ? true : data.showCancelButton,\n\t\t\t\tshowTimer: typeof data.showTimer === \"undefined\" ? false : data.showTimer,\n\t\t\t\ttimerDuration: typeof data.timerDuration === \"undefined\" ? null : data.timerDuration,\n\t\t\t},\n\t\t\tthis.fitAndShow\n\t\t);\n\t}\n\n\t/**\n\t * Fits the contents of the DOM to the window, then calls `showDialog`, which positions the dialog on the proper monitor and toggles the visibility of the window.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tfitAndShow() {\n\t\tFSBL.Clients.WindowClient.fitToDOM(null, () => {\n\t\t\tFSBL.Clients.DialogManager.showDialog();\n\t\t});\n\t}\n\n\t/**\n\t * Sends user input to the opener.\n\t *\n\t * @param {any} response\n\t * @memberof YesNoDialog\n\t */\n\tsendResponse(response: any) {\n\t\tFSBL.Clients.DialogManager.respondToOpener({\n\t\t\tchoice: response,\n\t\t\thideModalOnClose: this.state.hideModalOnClose,\n\t\t});\n\t\t// This will detach the timer component from the dom. Next time the component comes up, it'll have a fresh timer.\n\t\tthis.setState({\n\t\t\tshowTimer: false,\n\t\t});\n\t}\n\n\t/**\n\t * Sends an affirmative response to the opener.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tsendAffirmativeResponse() {\n\t\tthis.sendResponse(\"affirmative\");\n\t}\n\n\t/**\n\t * Sends a negative response to the opener.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tsendNegativeResponse() {\n\t\tthis.sendResponse(\"negative\");\n\t}\n\n\t/**\n\t * Sends a cancel response to the opener.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tsendCancelResponse() {\n\t\tthis.sendResponse(\"cancel\");\n\t}\n\n\t/**\n\t * Sends an expired response to the opener.\n\t *\n\t * @memberof YesNoDialog\n\t */\n\tsendExpiredResponse() {\n\t\tthis.sendResponse(\"expired\");\n\t}\n\n\trender() {\n\t\tdocument.title = this.state.title;\n\t\treturn (\n\t\t\t<FinsembleDialog\n\t\t\t\tuserInputTimeout={10000}\n\t\t\t\tbehaviorOnResponse=\"hide\"\n\t\t\t\tonShowRequested={this.onShowRequested}\n\t\t\t\tisModal={true}\n\t\t\t>\n\t\t\t\t<div className=\"dialog-title\">{this.state.title}</div>\n\t\t\t\t<FinsembleDialogQuestion>\n\t\t\t\t\t{this.state.question}\n\t\t\t\t\t{this.state.showTimer && typeof this.state.timerDuration === \"number\" && (\n\t\t\t\t\t\t<Timer ontimerDurationExpiration={this.sendExpiredResponse} timerDuration={this.state.timerDuration} />\n\t\t\t\t\t)}\n\t\t\t\t</FinsembleDialogQuestion>\n\t\t\t\t<div className=\"button-wrapper\">\n\t\t\t\t\t<FinsembleDialogButton\n\t\t\t\t\t\tshow={this.state.showNegativeButton}\n\t\t\t\t\t\tclassName=\"fsbl-button-neutral\"\n\t\t\t\t\t\tonClick={this.sendNegativeResponse}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.state.negativeResponseLabel}\n\t\t\t\t\t</FinsembleDialogButton>\n\n\t\t\t\t\t<FinsembleDialogButton\n\t\t\t\t\t\tshow={this.state.showCancelButton}\n\t\t\t\t\t\tclassName=\"fsbl-button-neutral\"\n\t\t\t\t\t\tonClick={this.sendCancelResponse}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.state.cancelResponseLabel}\n\t\t\t\t\t</FinsembleDialogButton>\n\n\t\t\t\t\t<FinsembleDialogButton\n\t\t\t\t\t\tshow={this.state.showAffirmativeButton}\n\t\t\t\t\t\tclassName=\"fsbl-button-affirmative\"\n\t\t\t\t\t\tonClick={this.sendAffirmativeResponse}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.state.affirmativeResponseLabel}\n\t\t\t\t\t</FinsembleDialogButton>\n\t\t\t\t</div>\n\t\t\t</FinsembleDialog>\n\t\t);\n\t}\n}\n\n/**\n * This dialog window provides a binary choice to the user, and reports back the response to the opener.\n */\nexport const YesNoDialog = () => <YesNoDialogBase />;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { mount } from "enzyme";
|
|
3
|
+
import { describe, it } from "mocha";
|
|
4
|
+
import { expect } from "chai";
|
|
5
|
+
import sinon from "sinon";
|
|
6
|
+
import { Basic, Empty, WithTimer, NoText, NoButtons, CustomButtonLabels } from "./YesNoDialog.stories";
|
|
7
|
+
import { accessibilityAssessor } from "../sdd/tests/a11y_helper";
|
|
8
|
+
describe("<YesNoDialog/>", () => {
|
|
9
|
+
it("should pass accessibility scans", async () => {
|
|
10
|
+
const wrapper = mount(React.createElement(Basic, null));
|
|
11
|
+
expect(await accessibilityAssessor(wrapper)).to.be.true;
|
|
12
|
+
});
|
|
13
|
+
it("should display Yes, No, and Cancel by default", async () => {
|
|
14
|
+
const wrapper = mount(React.createElement(Empty, null));
|
|
15
|
+
const dialog_text = wrapper.find(".dialog").text();
|
|
16
|
+
expect(dialog_text).to.contain("Yes");
|
|
17
|
+
expect(dialog_text).to.contain("No");
|
|
18
|
+
expect(dialog_text).to.contain("Cancel");
|
|
19
|
+
});
|
|
20
|
+
it("should display Yes and Cancel, but not No", async () => {
|
|
21
|
+
const wrapper = mount(React.createElement(Basic, Object.assign({}, Basic.args)));
|
|
22
|
+
const dialog_text = wrapper.find(".dialog").text();
|
|
23
|
+
expect(dialog_text).to.contain("Yes");
|
|
24
|
+
expect(dialog_text).to.not.contain("No");
|
|
25
|
+
expect(dialog_text).to.contain("Cancel");
|
|
26
|
+
});
|
|
27
|
+
it("should show 'Time remaining' until the clock ticks away", () => {
|
|
28
|
+
const clock = sinon.useFakeTimers();
|
|
29
|
+
const wrapper = mount(React.createElement(WithTimer, Object.assign({}, WithTimer.args)));
|
|
30
|
+
expect(wrapper.find(".dialog").text(), "Before countdown").to.contain("Time remaining:");
|
|
31
|
+
clock.tick(1000);
|
|
32
|
+
clock.tick(1000);
|
|
33
|
+
clock.tick(1000);
|
|
34
|
+
expect(wrapper.find(".dialog").text(), "After countdown").to.not.contain("Time remaining:");
|
|
35
|
+
clock.restore();
|
|
36
|
+
});
|
|
37
|
+
it("should display empty text if no title is provided", () => {
|
|
38
|
+
const wrapper = mount(React.createElement(NoText, Object.assign({}, NoText.args)));
|
|
39
|
+
const titleText = wrapper.find(".dialog-title").text();
|
|
40
|
+
expect(titleText).to.be.empty;
|
|
41
|
+
});
|
|
42
|
+
it("should not display any buttons if none are approved", () => {
|
|
43
|
+
const wrapper = mount(React.createElement(NoButtons, Object.assign({}, NoButtons.args)));
|
|
44
|
+
expect(wrapper.find("button").length).to.equal(0);
|
|
45
|
+
});
|
|
46
|
+
it("should display custom button labels when provided", () => {
|
|
47
|
+
const wrapper = mount(React.createElement(CustomButtonLabels, Object.assign({}, CustomButtonLabels.args)));
|
|
48
|
+
const dialog_text = wrapper.find(".dialog").text();
|
|
49
|
+
expect(dialog_text).to.contain("Tak");
|
|
50
|
+
expect(dialog_text).to.contain("Nie");
|
|
51
|
+
expect(dialog_text).to.contain("Anuluj");
|
|
52
|
+
expect(dialog_text).to.not.contain("Yes");
|
|
53
|
+
expect(dialog_text).to.not.contain("No");
|
|
54
|
+
expect(dialog_text).to.not.contain("Cancel");
|
|
55
|
+
});
|
|
56
|
+
it.skip("should handle keyboard interactions", () => {
|
|
57
|
+
// const wrapper = mount(<Basic {...(Basic.args as any)} />);
|
|
58
|
+
// Keyboard interactions are wired up to document.body.addEventListener, and Enzyme doesn't let us mock that
|
|
59
|
+
// This is a possibility, but it would require simulant and maybe also jsdom:
|
|
60
|
+
// https://github.com/enzymejs/enzyme/issues/426
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
//# sourceMappingURL=YesNoDialog.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YesNoDialog.spec.js","sourceRoot":"","sources":["../../../src/components/yesNoDialog/YesNoDialog.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC/B,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;QAChD,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,KAAK,OAAG,CAAC,CAAC;QAEjC,MAAM,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IACzD,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE;QAC9D,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAC,KAAK,OAAG,CAAC,CAAC;QAEjC,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,CAAC;QACnD,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACtC,MAAM,CA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C,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC1C,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,IAAI,CAAC,qCAAqC,EAAE,GAAG,EAAE;QACnD,6DAA6D;QAC7D,4GAA4G;QAC5G,6EAA6E;QAC7E,gDAAgD;IACjD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { mount } from \"enzyme\";\nimport { describe, it } from \"mocha\";\nimport { expect } from \"chai\";\nimport sinon from \"sinon\";\nimport { Basic, Empty, WithTimer, NoText, NoButtons, CustomButtonLabels } from \"./YesNoDialog.stories\";\nimport { accessibilityAssessor } from \"../sdd/tests/a11y_helper\";\n\ndescribe(\"<YesNoDialog/>\", () => {\n\tit(\"should pass accessibility scans\", async () => {\n\t\tconst wrapper = mount(<Basic />);\n\n\t\texpect(await accessibilityAssessor(wrapper)).to.be.true;\n\t});\n\tit(\"should display Yes, No, and Cancel by default\", async () => {\n\t\tconst wrapper = mount(<Empty />);\n\n\t\tconst dialog_text = wrapper.find(\".dialog\").text();\n\t\texpect(dialog_text).to.contain(\"Yes\");\n\t\texpect(dialog_text).to.contain(\"No\");\n\t\texpect(dialog_text).to.contain(\"Cancel\");\n\t});\n\tit(\"should display Yes and Cancel, but not No\", async () => {\n\t\tconst wrapper = mount(<Basic {...(Basic.args as any)} />);\n\n\t\tconst dialog_text = wrapper.find(\".dialog\").text();\n\t\texpect(dialog_text).to.contain(\"Yes\");\n\t\texpect(dialog_text).to.not.contain(\"No\");\n\t\texpect(dialog_text).to.contain(\"Cancel\");\n\t});\n\tit(\"should show 'Time remaining' until the clock ticks away\", () => {\n\t\tconst clock = sinon.useFakeTimers();\n\t\tconst wrapper = mount(<WithTimer {...(WithTimer.args as any)} />);\n\n\t\texpect(wrapper.find(\".dialog\").text(), \"Before countdown\").to.contain(\"Time remaining:\");\n\t\tclock.tick(1000);\n\t\tclock.tick(1000);\n\t\tclock.tick(1000);\n\t\texpect(wrapper.find(\".dialog\").text(), \"After countdown\").to.not.contain(\"Time remaining:\");\n\t\tclock.restore();\n\t});\n\tit(\"should display empty text if no title is provided\", () => {\n\t\tconst wrapper = mount(<NoText {...(NoText.args as any)} />);\n\t\tconst titleText = wrapper.find(\".dialog-title\").text();\n\t\texpect(titleText).to.be.empty;\n\t});\n\tit(\"should not display any buttons if none are approved\", () => {\n\t\tconst wrapper = mount(<NoButtons {...(NoButtons.args as any)} />);\n\t\texpect(wrapper.find(\"button\").length).to.equal(0);\n\t});\n\tit(\"should display custom button labels when provided\", () => {\n\t\tconst wrapper = mount(<CustomButtonLabels {...(CustomButtonLabels.args as any)} />);\n\n\t\tconst dialog_text = wrapper.find(\".dialog\").text();\n\t\texpect(dialog_text).to.contain(\"Tak\");\n\t\texpect(dialog_text).to.contain(\"Nie\");\n\t\texpect(dialog_text).to.contain(\"Anuluj\");\n\t\texpect(dialog_text).to.not.contain(\"Yes\");\n\t\texpect(dialog_text).to.not.contain(\"No\");\n\t\texpect(dialog_text).to.not.contain(\"Cancel\");\n\t});\n\tit.skip(\"should handle keyboard interactions\", () => {\n\t\t// const wrapper = mount(<Basic {...(Basic.args as any)} />);\n\t\t// Keyboard interactions are wired up to document.body.addEventListener, and Enzyme doesn't let us mock that\n\t\t// This is a possibility, but it would require simulant and maybe also jsdom:\n\t\t// https://github.com/enzymejs/enzyme/issues/426\n\t});\n});\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
3
|
+
import "../../assets/css/dialogs.css";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: () => JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Empty: Story<{}>;
|
|
10
|
+
export declare const Basic: Story<{}>;
|
|
11
|
+
export declare const NoText: Story<{}>;
|
|
12
|
+
export declare const WithTimer: Story<{}>;
|
|
13
|
+
export declare const NoButtons: Story<{}>;
|
|
14
|
+
export declare const CustomButtonLabels: Story<{}>;
|