@eccenca/gui-elements 22.0.1 → 22.1.0
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/CHANGELOG.md +37 -4
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +23 -15
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +23 -6
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +59 -31
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/index.js +11 -0
- package/dist/cjs/cmem/ActivityControl/index.js.map +1 -0
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/index.js +8 -0
- package/dist/cjs/cmem/ContentBlobToggler/index.js.map +1 -0
- package/dist/cjs/cmem/index.js +14 -13
- package/dist/cjs/cmem/index.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +57 -0
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/dist/cjs/cmem/react-flow/configuration/graph.js +31 -0
- package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/linking.js +29 -0
- package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/unspecified.js +15 -0
- package/dist/cjs/cmem/react-flow/configuration/unspecified.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js +27 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -0
- package/dist/cjs/common/utils/stringUtils.js +7 -0
- package/dist/cjs/common/utils/stringUtils.js.map +1 -0
- package/dist/cjs/components/Application/ApplicationContent.js +1 -7
- package/dist/cjs/components/Application/ApplicationContent.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +1 -7
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +286 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +81 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -0
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js +46 -0
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -0
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +13 -15
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/cjs/components/Button/Button.js +1 -1
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/Card.js +18 -3
- package/dist/cjs/components/Card/Card.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/cjs/components/Dialog/Modal.js +3 -3
- package/dist/cjs/components/Dialog/Modal.js.map +1 -1
- package/dist/cjs/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/cjs/components/Form/FieldItemRow.js +3 -4
- package/dist/cjs/components/Form/FieldItemRow.js.map +1 -1
- package/dist/cjs/components/Form/FieldSet.js +2 -2
- package/dist/cjs/components/Form/FieldSet.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +30 -0
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Iframe/Iframe.js +1 -1
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +212 -0
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/cjs/components/Notification/Notification.js +8 -2
- package/dist/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemList.js +2 -2
- package/dist/cjs/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +2 -1
- package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/cjs/components/Tabs/Tab.js +94 -0
- package/dist/cjs/components/Tabs/Tab.js.map +1 -0
- package/dist/cjs/components/Tabs/TabTitle.js +20 -0
- package/dist/cjs/components/Tabs/TabTitle.js.map +1 -0
- package/dist/cjs/components/Tabs/Tabs.js +26 -19
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js +7 -1
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/Tag/TagList.js +2 -2
- package/dist/cjs/components/Tag/TagList.js.map +1 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js +6 -6
- package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/cjs/components/Typography/classnames.js +2 -1
- package/dist/cjs/components/Typography/classnames.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js +98 -0
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -0
- package/dist/cjs/extensions/react-flow/edges/utils.js +97 -4
- package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +11 -8
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js +5 -4
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +11 -9
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/index.js +17 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/Button.js +61 -0
- package/dist/cjs/legacy-replacements/Button/Button.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js +55 -0
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js.map +1 -0
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js +48 -0
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js +36 -0
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -0
- package/dist/cjs/legacy-replacements/TextField/TextField.js +75 -0
- package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -0
- package/dist/cjs/legacy-replacements/index.js +22 -0
- package/dist/cjs/legacy-replacements/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js.map +0 -0
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +47 -0
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +21 -4
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/SilkActivityControl.js +60 -34
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -0
- package/dist/esm/cmem/ActivityControl/index.js +4 -0
- package/dist/esm/cmem/ActivityControl/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/ContentBlobToggler.js +1 -1
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/ContentBlobToggler.js.map +0 -0
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +1 -1
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/index.js +3 -0
- package/dist/esm/cmem/ContentBlobToggler/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +0 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +0 -0
- package/dist/esm/cmem/index.js +7 -0
- package/dist/esm/cmem/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js +2 -2
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js.map +0 -0
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js +43 -0
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/dist/esm/cmem/react-flow/configuration/graph.js +23 -0
- package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/linking.js +21 -0
- package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/unspecified.js +12 -0
- package/dist/esm/cmem/react-flow/configuration/unspecified.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/workflow.js +19 -0
- package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -0
- package/dist/{es5 → esm}/common/Intent/index.js +1 -1
- package/dist/{es5 → esm}/common/Intent/index.js.map +0 -0
- package/dist/{es5 → esm}/common/utils/openInNewTab.js +0 -0
- package/dist/{es5 → esm}/common/utils/openInNewTab.js.map +0 -0
- package/dist/esm/common/utils/stringUtils.js +3 -0
- package/dist/esm/common/utils/stringUtils.js.map +1 -0
- package/dist/{es5 → esm}/components/Accordion/Accordion.js +1 -1
- package/dist/{es5 → esm}/components/Accordion/Accordion.js.map +0 -0
- package/dist/{es5 → esm}/components/Accordion/AccordionItem.js +1 -1
- package/dist/{es5 → esm}/components/Accordion/AccordionItem.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationContainer.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationContent.js +2 -8
- package/dist/esm/components/Application/ApplicationContent.js.map +1 -0
- package/dist/{es5 → esm}/components/Application/ApplicationHeader.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarNavigation.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarNavigation.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarToggler.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarToggler.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationTitle.js +2 -8
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbar.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbar.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarAction.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarAction.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarPanel.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarPanel.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarSection.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarSection.js.map +0 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +348 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js +93 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -0
- package/dist/esm/components/AutoSuggestion/SingleLineCodeEditor.js +42 -0
- package/dist/esm/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -0
- package/dist/{es5 → esm}/components/AutocompleteField/AutoCompleteField.js +15 -17
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -0
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbItem.js +3 -3
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbItem.js.map +0 -0
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbList.js +2 -2
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbList.js.map +0 -0
- package/dist/{es5 → esm}/components/Button/Button.js +4 -4
- package/dist/{es5 → esm}/components/Button/Button.js.map +1 -1
- package/dist/{es5 → esm}/components/Card/Card.js +19 -4
- package/dist/esm/components/Card/Card.js.map +1 -0
- package/dist/{es5 → esm}/components/Card/CardActions.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardActions.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardActionsAux.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardActionsAux.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardContent.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardContent.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardHeader.js +5 -5
- package/dist/{es5 → esm}/components/Card/CardHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardOptions.js +2 -2
- package/dist/{es5 → esm}/components/Card/CardOptions.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardTitle.js +2 -2
- package/dist/{es5 → esm}/components/Card/CardTitle.js.map +0 -0
- package/dist/esm/components/Card/index.js +9 -0
- package/dist/{es5 → esm}/components/Card/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Checkbox/Checkbox.js +1 -1
- package/dist/{es5 → esm}/components/Checkbox/Checkbox.js.map +0 -0
- package/dist/{es5 → esm}/components/ContextOverlay/ContextMenu.js +5 -5
- package/dist/{es5 → esm}/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/{es5 → esm}/components/ContextOverlay/ContextOverlay.js +1 -1
- package/dist/{es5 → esm}/components/ContextOverlay/ContextOverlay.js.map +0 -0
- package/dist/{es5 → esm}/components/Dialog/AlertDialog.js +2 -2
- package/dist/{es5 → esm}/components/Dialog/AlertDialog.js.map +0 -0
- package/dist/{es5 → esm}/components/Dialog/Modal.js +5 -5
- package/dist/esm/components/Dialog/Modal.js.map +1 -0
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js +4 -4
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/{es5 → esm}/components/Form/FieldItem.js +3 -3
- package/dist/{es5 → esm}/components/Form/FieldItem.js.map +0 -0
- package/dist/esm/components/Form/FieldItemRow.js +34 -0
- package/dist/esm/components/Form/FieldItemRow.js.map +1 -0
- package/dist/{es5 → esm}/components/Form/FieldSet.js +15 -4
- package/dist/esm/components/Form/FieldSet.js.map +1 -0
- package/dist/{es5 → esm}/components/Grid/Grid.js +1 -1
- package/dist/{es5 → esm}/components/Grid/Grid.js.map +0 -0
- package/dist/{es5 → esm}/components/Grid/GridColumn.js +1 -1
- package/dist/{es5 → esm}/components/Grid/GridColumn.js.map +0 -0
- package/dist/{es5 → esm}/components/Grid/GridRow.js +1 -1
- package/dist/{es5 → esm}/components/Grid/GridRow.js.map +0 -0
- package/dist/{es5 → esm}/components/Icon/Icon.js +3 -3
- package/dist/esm/components/Icon/Icon.js.map +1 -0
- package/dist/{es5 → esm}/components/Icon/IconButton.js +3 -3
- package/dist/{es5 → esm}/components/Icon/IconButton.js.map +0 -0
- package/dist/{es5 → esm}/components/Icon/canonicalIconNames.js +30 -0
- package/dist/{es5 → esm}/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/{es5 → esm}/components/Iframe/Iframe.js +3 -3
- package/dist/{es5 → esm}/components/Iframe/Iframe.js.map +1 -1
- package/dist/{es5 → esm}/components/Iframe/IframeModal.js +4 -4
- package/dist/{es5 → esm}/components/Iframe/IframeModal.js.map +0 -0
- package/dist/{es5 → esm}/components/Label/Label.js +3 -3
- package/dist/{es5 → esm}/components/Label/Label.js.map +0 -0
- package/dist/{es5 → esm}/components/Link/Link.js +2 -2
- package/dist/{es5 → esm}/components/Link/Link.js.map +0 -0
- package/dist/{es5 → esm}/components/List/List.js +1 -1
- package/dist/{es5 → esm}/components/List/List.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/Menu.js +1 -1
- package/dist/{es5 → esm}/components/Menu/Menu.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/MenuDivider.js +1 -1
- package/dist/{es5 → esm}/components/Menu/MenuDivider.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/MenuItem.js +3 -3
- package/dist/{es5 → esm}/components/Menu/MenuItem.js.map +0 -0
- package/dist/esm/components/MultiSelect/MultiSelect.js +290 -0
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/{es5 → esm}/components/Notification/Notification.js +13 -6
- package/dist/esm/components/Notification/Notification.js.map +1 -0
- package/dist/{es5 → esm}/components/Notification/Toast.js +2 -2
- package/dist/{es5 → esm}/components/Notification/Toast.js.map +0 -0
- package/dist/{es5 → esm}/components/NumericInput/NumericInput.js +0 -0
- package/dist/{es5 → esm}/components/NumericInput/NumericInput.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItem.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItem.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemActions.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemActions.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDepiction.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDepiction.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDescription.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDescription.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemLine.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemLine.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemList.js +3 -3
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/esm/components/OverviewItem/index.js +8 -0
- package/dist/{es5 → esm}/components/OverviewItem/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Pagination/Pagination.js +1 -1
- package/dist/{es5 → esm}/components/Pagination/Pagination.js.map +0 -0
- package/dist/{es5 → esm}/components/ProgressBar/ProgressBar.js +0 -0
- package/dist/{es5 → esm}/components/ProgressBar/ProgressBar.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyName.js +2 -2
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyName.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValue.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValue.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValueList.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValueList.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValuePair.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValuePair.js.map +0 -0
- package/dist/esm/components/PropertyValuePair/index.js +6 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/index.js.map +0 -0
- package/dist/{es5 → esm}/components/RadioButton/RadioButton.js +1 -1
- package/dist/{es5 → esm}/components/RadioButton/RadioButton.js.map +0 -0
- package/dist/{es5 → esm}/components/Separation/Divider.js +1 -1
- package/dist/{es5 → esm}/components/Separation/Divider.js.map +0 -0
- package/dist/{es5 → esm}/components/Separation/Spacing.js +1 -1
- package/dist/{es5 → esm}/components/Separation/Spacing.js.map +0 -0
- package/dist/{es5 → esm}/components/SimpleTable/TableContainer.js +1 -1
- package/dist/{es5 → esm}/components/SimpleTable/TableContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/SimpleTable/index.js +1 -1
- package/dist/{es5 → esm}/components/SimpleTable/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Spinner/Spinner.js +4 -3
- package/dist/esm/components/Spinner/Spinner.js.map +1 -0
- package/dist/{es5 → esm}/components/Structure/Section.js +1 -1
- package/dist/{es5 → esm}/components/Structure/Section.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/SectionHeader.js +1 -1
- package/dist/{es5 → esm}/components/Structure/SectionHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitleMainsection.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitleMainsection.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitlePage.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitlePage.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitleSubsection.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitleSubsection.js.map +0 -0
- package/dist/{es5 → esm}/components/Switch/Switch.js +1 -1
- package/dist/{es5 → esm}/components/Switch/Switch.js.map +0 -0
- package/dist/esm/components/Tabs/Tab.js +97 -0
- package/dist/esm/components/Tabs/Tab.js.map +1 -0
- package/dist/esm/components/Tabs/TabTitle.js +16 -0
- package/dist/esm/components/Tabs/TabTitle.js.map +1 -0
- package/dist/esm/components/Tabs/Tabs.js +37 -0
- package/dist/esm/components/Tabs/Tabs.js.map +1 -0
- package/dist/{es5 → esm}/components/Tag/Tag.js +8 -2
- package/dist/esm/components/Tag/Tag.js.map +1 -0
- package/dist/{es5 → esm}/components/Tag/TagList.js +14 -3
- package/dist/esm/components/Tag/TagList.js.map +1 -0
- package/dist/{es5 → esm}/components/TextField/SearchField.js +4 -4
- package/dist/{es5 → esm}/components/TextField/SearchField.js.map +0 -0
- package/dist/{es5 → esm}/components/TextField/TextArea.js +1 -1
- package/dist/{es5 → esm}/components/TextField/TextArea.js.map +0 -0
- package/dist/{es5 → esm}/components/TextField/TextField.js +2 -2
- package/dist/{es5 → esm}/components/TextField/TextField.js.map +0 -0
- package/dist/{es5 → esm}/components/Toolbar/Toolbar.js +1 -1
- package/dist/{es5 → esm}/components/Toolbar/Toolbar.js.map +0 -0
- package/dist/{es5 → esm}/components/Toolbar/ToolbarSection.js +1 -1
- package/dist/{es5 → esm}/components/Toolbar/ToolbarSection.js.map +0 -0
- package/dist/{es5 → esm}/components/Tooltip/Tooltip.js +1 -1
- package/dist/{es5 → esm}/components/Tooltip/Tooltip.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/Highlighter.js +0 -0
- package/dist/{es5 → esm}/components/Typography/Highlighter.js.map +0 -0
- package/dist/esm/components/Typography/HtmlContentBlock.js +39 -0
- package/dist/esm/components/Typography/HtmlContentBlock.js.map +1 -0
- package/dist/{es5 → esm}/components/Typography/OverflowText.js +1 -1
- package/dist/{es5 → esm}/components/Typography/OverflowText.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/WhiteSpaceContainer.js +1 -1
- package/dist/{es5 → esm}/components/Typography/WhiteSpaceContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/classnames.js +2 -1
- package/dist/{es5 → esm}/components/Typography/classnames.js.map +1 -1
- package/dist/{es5 → esm}/components/Workspace/WorkspaceContent.js +3 -3
- package/dist/{es5 → esm}/components/Workspace/WorkspaceContent.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceHeader.js +1 -1
- package/dist/{es5 → esm}/components/Workspace/WorkspaceHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceMain.js +2 -2
- package/dist/{es5 → esm}/components/Workspace/WorkspaceMain.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceSide.js +2 -2
- package/dist/{es5 → esm}/components/Workspace/WorkspaceSide.js.map +0 -0
- package/dist/{es5 → esm}/components/interfaces.js +0 -0
- package/dist/{es5 → esm}/components/interfaces.js.map +0 -0
- package/dist/{es5 → esm}/configuration/constants.js +0 -0
- package/dist/{es5 → esm}/configuration/constants.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeDefault.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeStep.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeStep.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeTools.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeTools.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/edgeTypes.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/edgeTypes.js.map +0 -0
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js +119 -0
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -0
- package/dist/esm/extensions/react-flow/edges/utils.js +113 -0
- package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleContent.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleContent.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleDefault.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleDefault.js.map +0 -0
- package/dist/esm/extensions/react-flow/index.js +12 -0
- package/dist/{es5 → esm}/extensions/react-flow/index.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/minimap/MiniMap.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/minimap/utils.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/minimap/utils.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContent.js +30 -11
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContentExtension.js +7 -6
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeDefault.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeDefault.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeTools.js +14 -12
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/nodeTypes.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/nodes/nodeTypes.js.map +0 -0
- package/dist/esm/index.js +97 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/Button.js +65 -0
- package/dist/esm/legacy-replacements/Button/Button.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js +59 -0
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js.map +1 -0
- package/dist/esm/legacy-replacements/Radio/RadioButton.js +52 -0
- package/dist/esm/legacy-replacements/Radio/RadioButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Tabs/Tabs.js +40 -0
- package/dist/esm/legacy-replacements/Tabs/Tabs.js.map +1 -0
- package/dist/esm/legacy-replacements/TextField/TextField.js +81 -0
- package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -0
- package/dist/esm/legacy-replacements/index.js +10 -0
- package/dist/esm/legacy-replacements/index.js.map +1 -0
- package/dist/{es5 → esm}/package.json +0 -0
- package/dist/types/cmem/ActivityControl/ActivityControlTypes.d.ts +2 -1
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +48 -2
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +18 -3
- package/dist/types/cmem/ActivityControl/index.d.ts +3 -0
- package/dist/types/cmem/ContentBlobToggler/index.d.ts +2 -0
- package/dist/types/cmem/index.d.ts +8 -8
- package/dist/types/cmem/react-flow/ReactFlow/ReactFlow.d.ts +14 -0
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +21 -0
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +19 -0
- package/dist/types/cmem/react-flow/configuration/unspecified.d.ts +9 -0
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +17 -0
- package/dist/types/common/utils/stringUtils.d.ts +2 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +67 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestionList.d.ts +13 -0
- package/dist/types/components/AutoSuggestion/SingleLineCodeEditor.d.ts +25 -0
- package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +8 -7
- package/dist/types/components/Button/Button.d.ts +3 -2
- package/dist/types/components/Card/Card.d.ts +9 -4
- package/dist/types/components/ContextOverlay/ContextMenu.d.ts +6 -1
- package/dist/types/components/Dialog/Modal.d.ts +4 -3
- package/dist/types/components/Dialog/SimpleDialog.d.ts +2 -0
- package/dist/types/components/Form/FieldItemRow.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/Icon/IconButton.d.ts +1 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -1
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +86 -0
- package/dist/types/components/Notification/Notification.d.ts +55 -2
- package/dist/types/components/OverviewItem/OverviewItemList.d.ts +1 -1
- package/dist/types/components/Spinner/Spinner.d.ts +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +549 -0
- package/dist/types/components/Tabs/TabTitle.d.ts +38 -0
- package/dist/types/components/Tabs/Tabs.d.ts +14 -20
- package/dist/types/components/Tag/Tag.d.ts +1 -1
- package/dist/types/components/Typography/HtmlContentBlock.d.ts +15 -5
- package/dist/types/components/Typography/classnames.d.ts +1 -0
- package/dist/types/extensions/react-flow/edges/getSmoothStepPath.d.ts +18 -0
- package/dist/types/extensions/react-flow/edges/utils.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +15 -9
- package/dist/types/extensions/react-flow/nodes/NodeContentExtension.d.ts +5 -1
- package/dist/types/extensions/react-flow/nodes/NodeDefault.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +9 -2
- package/dist/types/extensions/react-flow/nodes/nodeTypes.d.ts +10 -10
- package/dist/types/index.d.ts +9 -4
- package/dist/types/legacy-replacements/Button/AffirmativeButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Button/Button.d.ts +5 -0
- package/dist/types/legacy-replacements/Button/DismissiveButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Button/DisruptiveButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Checkbox/Checkbox.d.ts +2 -0
- package/dist/types/legacy-replacements/Radio/RadioButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Tabs/Tabs.d.ts +22 -0
- package/dist/types/legacy-replacements/TextField/TextField.d.ts +2 -0
- package/dist/types/legacy-replacements/index.d.ts +10 -0
- package/package.json +43 -24
- package/src/cmem/ActivityControl/ActivityControlTypes.ts +3 -1
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +98 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +144 -89
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +11 -3
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +182 -120
- package/src/cmem/ActivityControl/index.ts +3 -0
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +1 -1
- package/src/cmem/ContentBlobToggler/index.ts +2 -0
- package/src/cmem/_index.scss +6 -0
- package/src/cmem/index.ts +10 -23
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +222 -0
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +40 -0
- package/src/cmem/react-flow/_edges.scss +23 -0
- package/src/cmem/react-flow/_handles.scss +34 -0
- package/src/cmem/react-flow/_index.scss +5 -0
- package/src/cmem/react-flow/_minimap.scss +33 -0
- package/src/cmem/react-flow/_nodes.scss +66 -0
- package/src/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/src/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/src/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/src/cmem/react-flow/configuration/_colors.scss +3 -0
- package/src/cmem/react-flow/configuration/graph.ts +29 -0
- package/src/cmem/react-flow/configuration/linking.ts +28 -0
- package/src/cmem/react-flow/configuration/unspecified.ts +13 -0
- package/src/cmem/react-flow/configuration/workflow.ts +25 -0
- package/src/common/utils/stringUtils.ts +2 -0
- package/src/components/Accordion/accordion.scss +1 -2
- package/src/components/Application/ApplicationContent.tsx +0 -5
- package/src/components/Application/ApplicationTitle.tsx +0 -5
- package/src/components/AutoSuggestion/AutoSuggestion.scss +100 -0
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +448 -0
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +170 -0
- package/src/components/AutoSuggestion/SingleLineCodeEditor.tsx +97 -0
- package/src/components/AutoSuggestion/tests/AutoSuggestion.test.tsx +37 -0
- package/src/components/AutoSuggestion/tests/AutoSuggestionList.test.tsx +124 -0
- package/src/components/AutoSuggestion/tests/SingleLineCodeEditor.test.tsx +55 -0
- package/src/components/AutocompleteField/AutoCompleteField.tsx +25 -23
- package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +2 -1
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +5 -5
- package/src/components/Breadcrumb/BreadcrumbList.tsx +1 -1
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/Button/Button.tsx +4 -3
- package/src/components/Card/Card.tsx +23 -4
- package/src/components/Card/card.scss +4 -0
- package/src/components/Checkbox/checkbox.scss +4 -0
- package/src/components/ContextOverlay/ContextMenu.tsx +8 -2
- package/src/components/Dialog/Modal.tsx +10 -3
- package/src/components/Dialog/SimpleDialog.tsx +2 -0
- package/src/components/Form/FieldItem.tsx +3 -3
- package/src/components/Form/FieldItemRow.tsx +3 -5
- package/src/components/Form/FieldSet.tsx +1 -0
- package/src/components/Icon/Icon.tsx +4 -4
- package/src/components/Icon/IconButton.tsx +3 -3
- package/src/components/Icon/canonicalIconNames.tsx +39 -2
- package/src/components/Iframe/Iframe.tsx +1 -1
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +71 -0
- package/src/components/MultiSelect/MultiSelect.tsx +373 -0
- package/src/components/Notification/Notification.stories.tsx +82 -0
- package/src/components/Notification/Notification.tsx +62 -4
- package/src/components/Notification/notification.scss +2 -1
- package/src/components/OverviewItem/OverviewItemList.tsx +3 -3
- package/src/components/RadioButton/radiobutton.scss +4 -0
- package/src/components/Spinner/Spinner.tsx +2 -1
- package/src/components/Switch/switch.scss +1 -0
- package/src/components/Tabs/Tab.tsx +111 -0
- package/src/components/Tabs/TabTitle.tsx +71 -0
- package/src/components/Tabs/Tabs.tsx +22 -90
- package/src/components/Tabs/stories/Tab.stories.tsx +65 -0
- package/src/components/Tabs/stories/TabTitle.stories.tsx +35 -0
- package/src/components/Tabs/stories/Tabs.stories.tsx +98 -0
- package/src/components/Tabs/tabs.scss +11 -4
- package/src/components/Tag/Tag.tsx +10 -3
- package/src/components/Tag/TagList.tsx +1 -0
- package/src/components/Tag/tag.scss +2 -2
- package/src/components/TextField/TextField.tsx +1 -1
- package/src/components/Toolbar/toolbar.scss +1 -1
- package/src/components/Typography/HtmlContentBlock.tsx +27 -4
- package/src/components/Typography/classnames.ts +1 -0
- package/src/components/Typography/typography.scss +8 -0
- package/src/configuration/_variables.scss +3 -3
- package/src/extensions/react-flow/_config.scss +2 -2
- package/src/extensions/react-flow/_react-flow.scss +4 -0
- package/src/extensions/react-flow/edges/EdgeDefault.tsx +0 -1
- package/src/extensions/react-flow/edges/_edges.scss +3 -28
- package/src/extensions/react-flow/edges/getSmoothStepPath.ts +118 -0
- package/src/extensions/react-flow/edges/utils.ts +131 -4
- package/src/extensions/react-flow/handles/_handles.scss +4 -58
- package/src/extensions/react-flow/minimap/MiniMap.tsx +1 -1
- package/src/extensions/react-flow/minimap/_minimap.scss +0 -45
- package/src/extensions/react-flow/nodes/NodeContent.tsx +141 -134
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +17 -10
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +2 -2
- package/src/extensions/react-flow/nodes/NodeTools.tsx +27 -10
- package/src/extensions/react-flow/nodes/_nodes.scss +61 -196
- package/src/extensions/react-flow/nodes/{NodeContent.stories.tsx → stories/NodeContent.stories.tsx} +14 -5
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +59 -0
- package/src/extensions/react-flow/nodes/{NodeDefault.stories.tsx → stories/NodeDefault.stories.tsx} +5 -4
- package/src/index.scss +1 -0
- package/src/index.ts +19 -4
- package/src/legacy-replacements/Tabs/Tabs.stories.tsx +46 -0
- package/src/legacy-replacements/Tabs/Tabs.tsx +84 -0
- package/src/legacy-replacements/index.ts +11 -0
- package/src/test/setupTests.js +19 -0
- package/dist/es5/cmem/ActivityControl/ActivityControlWidget.js +0 -39
- package/dist/es5/cmem/ActivityControl/ActivityControlWidget.js.map +0 -1
- package/dist/es5/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +0 -1
- package/dist/es5/cmem/ActivityControl/SilkActivityControl.js.map +0 -1
- package/dist/es5/cmem/index.js +0 -9
- package/dist/es5/cmem/index.js.map +0 -1
- package/dist/es5/components/Application/ApplicationContent.js.map +0 -1
- package/dist/es5/components/Application/ApplicationTitle.js.map +0 -1
- package/dist/es5/components/AutocompleteField/AutoCompleteField.js.map +0 -1
- package/dist/es5/components/Card/Card.js.map +0 -1
- package/dist/es5/components/Card/index.js +0 -9
- package/dist/es5/components/Dialog/Modal.js.map +0 -1
- package/dist/es5/components/Form/FieldItemRow.js +0 -24
- package/dist/es5/components/Form/FieldItemRow.js.map +0 -1
- package/dist/es5/components/Form/FieldSet.js.map +0 -1
- package/dist/es5/components/Icon/Icon.js.map +0 -1
- package/dist/es5/components/Notification/Notification.js.map +0 -1
- package/dist/es5/components/OverviewItem/index.js +0 -8
- package/dist/es5/components/PropertyValuePair/index.js +0 -6
- package/dist/es5/components/Spinner/Spinner.js.map +0 -1
- package/dist/es5/components/Tabs/Tabs.js +0 -50
- package/dist/es5/components/Tabs/Tabs.js.map +0 -1
- package/dist/es5/components/Tag/Tag.js.map +0 -1
- package/dist/es5/components/Tag/TagList.js.map +0 -1
- package/dist/es5/components/Typography/HtmlContentBlock.js +0 -30
- package/dist/es5/components/Typography/HtmlContentBlock.js.map +0 -1
- package/dist/es5/extensions/react-flow/edges/utils.js +0 -18
- package/dist/es5/extensions/react-flow/edges/utils.js.map +0 -1
- package/dist/es5/extensions/react-flow/index.js +0 -12
- package/dist/es5/extensions/react-flow/nodes/NodeContent.js.map +0 -1
- package/dist/es5/extensions/react-flow/nodes/NodeContentExtension.js.map +0 -1
- package/dist/es5/extensions/react-flow/nodes/NodeTools.js.map +0 -1
- package/dist/es5/index.js +0 -92
- package/dist/es5/index.js.map +0 -1
- package/src/extensions/react-flow/nodes/NodeContentExtension.stories.tsx +0 -36
|
@@ -1,17 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { TestableComponent } from "../../components/interfaces";
|
|
3
3
|
import { ProgressBarProps } from "../../components/ProgressBar/ProgressBar";
|
|
4
4
|
import { SpinnerProps } from "../../components/Spinner/Spinner";
|
|
5
|
+
import { ValidIconName } from "../../components/Icon/canonicalIconNames";
|
|
6
|
+
import { IconProps } from "../../components/Icon/Icon";
|
|
5
7
|
export interface IActivityControlProps extends TestableComponent {
|
|
8
|
+
/**
|
|
9
|
+
* The label to be shown
|
|
10
|
+
*/
|
|
6
11
|
label?: string | JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* Element that wraps around the label.
|
|
14
|
+
* Default: `<OverflowText inline={true} />`
|
|
15
|
+
*/
|
|
16
|
+
labelWrapper?: JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* To add tags in addition to the widget status description
|
|
19
|
+
*/
|
|
20
|
+
tags?: JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* The progress bar parameters if it should be show by a progres bar
|
|
23
|
+
*/
|
|
7
24
|
progressBar?: ProgressBarProps;
|
|
25
|
+
/**
|
|
26
|
+
* The spinner parameters if it should be show by a spinner
|
|
27
|
+
*/
|
|
8
28
|
progressSpinner?: SpinnerProps;
|
|
29
|
+
/**
|
|
30
|
+
* Status message
|
|
31
|
+
*/
|
|
9
32
|
statusMessage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The action buttons
|
|
35
|
+
*/
|
|
10
36
|
activityActions?: IActivityAction[];
|
|
37
|
+
/**
|
|
38
|
+
* Context menu items
|
|
39
|
+
*/
|
|
11
40
|
activityContextMenu?: IActivityContextMenu;
|
|
41
|
+
/**
|
|
42
|
+
* show small version of the widget
|
|
43
|
+
*/
|
|
12
44
|
small?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* display widget inside rectangle
|
|
47
|
+
*/
|
|
13
48
|
border?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* display a bit whitespace around widget, even without border
|
|
51
|
+
*/
|
|
52
|
+
hasSpacing?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* only use necessary width, not always the available 100% of parent element
|
|
55
|
+
*/
|
|
14
56
|
canShrink?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* if this is set the spinner is replaced when the progress has finished from 0 - 1
|
|
59
|
+
*/
|
|
60
|
+
progressSpinnerFinishedIcon?: React.ReactElement<IconProps>;
|
|
15
61
|
}
|
|
16
62
|
interface IActivityContextMenu extends TestableComponent {
|
|
17
63
|
tooltip?: string;
|
|
@@ -20,7 +66,7 @@ interface IActivityContextMenu extends TestableComponent {
|
|
|
20
66
|
export interface IActivityAction extends TestableComponent {
|
|
21
67
|
action: () => any;
|
|
22
68
|
tooltip?: string;
|
|
23
|
-
icon:
|
|
69
|
+
icon: ValidIconName;
|
|
24
70
|
disabled?: boolean;
|
|
25
71
|
hasStateWarning?: boolean;
|
|
26
72
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TestableComponent } from "../../components/interfaces";
|
|
3
|
-
import { IActivityStatus } from "./ActivityControlTypes";
|
|
3
|
+
import { ConcreteActivityStatus, IActivityStatus } from "./ActivityControlTypes";
|
|
4
|
+
import { Intent } from "@blueprintjs/core/src/common/intent";
|
|
4
5
|
import { TimeUnits } from "../DateTimeDisplay/ElapsedDateTimeDisplay";
|
|
5
6
|
interface SilkActivityControlProps extends TestableComponent {
|
|
6
|
-
label: string;
|
|
7
|
+
label: string | JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* To add tags in addition to the widget status description
|
|
10
|
+
*/
|
|
11
|
+
tags?: JSX.Element;
|
|
7
12
|
initialStatus?: IActivityStatus;
|
|
8
13
|
registerForUpdates: (callback: (status: IActivityStatus) => any) => any;
|
|
9
14
|
unregisterFromUpdates: () => any;
|
|
@@ -23,12 +28,16 @@ interface SilkActivityControlProps extends TestableComponent {
|
|
|
23
28
|
translate: (unit: TimeUnits) => string;
|
|
24
29
|
};
|
|
25
30
|
layoutConfig?: IActivityControlLayoutProps;
|
|
31
|
+
/** Configures when the status message should be hidden, e.g. because it is uninteresting. */
|
|
32
|
+
hideMessageOnStatus?: (concreteStatus: ConcreteActivityStatus | undefined) => boolean;
|
|
26
33
|
}
|
|
27
34
|
export interface IActivityControlLayoutProps {
|
|
28
35
|
small?: boolean;
|
|
29
36
|
border?: boolean;
|
|
37
|
+
hasSpacing?: boolean;
|
|
30
38
|
canShrink?: boolean;
|
|
31
39
|
visualization?: "none" | "progressbar" | "spinner";
|
|
40
|
+
labelWrapper?: JSX.Element;
|
|
32
41
|
}
|
|
33
42
|
interface IErrorReportAction {
|
|
34
43
|
title?: string;
|
|
@@ -58,5 +67,11 @@ interface IStacktrace {
|
|
|
58
67
|
export declare type ActivityControlTranslationKeys = "startActivity" | "stopActivity" | "reloadActivity" | "showErrorReport";
|
|
59
68
|
export declare type ActivityAction = "start" | "cancel" | "restart";
|
|
60
69
|
/** Silk activity control. */
|
|
61
|
-
export declare function SilkActivityControl(
|
|
70
|
+
export declare function SilkActivityControl(props: SilkActivityControlProps): JSX.Element;
|
|
71
|
+
export declare function useSilkActivityControl({ label, initialStatus, registerForUpdates, executeActivityAction, showReloadAction, showStartAction, viewValueAction, showStopAction, failureReportAction, unregisterFromUpdates, translate, elapsedTimeOfLastStart, tags, layoutConfig, hideMessageOnStatus, ...props }: SilkActivityControlProps): {
|
|
72
|
+
readonly elapsedDateTime: JSX.Element;
|
|
73
|
+
readonly intent: Intent;
|
|
74
|
+
readonly widget: JSX.Element;
|
|
75
|
+
};
|
|
76
|
+
export declare const calcIntent: (activityStatus: IActivityStatus) => Intent;
|
|
62
77
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ActivityExecutionErrorReportModal } from "./ActivityControl/ActivityExecutionErrorReportModal";
|
|
3
|
-
import { ActivityAction, SilkActivityControl, IActivityControlLayoutProps } from "./ActivityControl/SilkActivityControl";
|
|
1
|
+
import { ActivityAction, IActivityControlLayoutProps } from "./ActivityControl/SilkActivityControl";
|
|
4
2
|
import { IActivityStatus } from "./ActivityControl/ActivityControlTypes";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export {
|
|
3
|
+
import { TimeUnits } from "./DateTimeDisplay/ElapsedDateTimeDisplay";
|
|
4
|
+
export { ActivityControlWidget, ActivityExecutionErrorReportModal, SilkActivityControl, useSilkActivityControl, } from "./ActivityControl";
|
|
5
|
+
export { ContentBlobToggler, StringPreviewContentBlobToggler } from "./ContentBlobToggler";
|
|
6
|
+
export { firstNonEmptyLine } from "./ContentBlobToggler/StringPreviewContentBlobToggler";
|
|
7
|
+
export { ElapsedDateTimeDisplay } from "./DateTimeDisplay/ElapsedDateTimeDisplay";
|
|
8
|
+
export { Markdown } from "./markdown/Markdown";
|
|
9
|
+
export { ReactFlow } from "./react-flow/ReactFlow/ReactFlow";
|
|
10
10
|
export type { IActivityStatus, ActivityAction, IActivityControlLayoutProps, TimeUnits, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactFlowProps as ReactFlowOriginalProps } from "react-flow-renderer";
|
|
3
|
+
interface ReactFlowProps extends ReactFlowOriginalProps {
|
|
4
|
+
/**
|
|
5
|
+
* Load `ReactFlow` component with pre-configured values for `nodeTypes` and `edgeTypes`
|
|
6
|
+
*/
|
|
7
|
+
configuration?: "unspecified" | "graph" | "workflow" | "linking";
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* `ReactFlow` container extension that includes pre-configured nodes and edges for
|
|
11
|
+
* Corporate Memory tools.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ReactFlow: React.ForwardRefExoticComponent<ReactFlowProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import colors from "./_colors-graph.module.scss";
|
|
3
|
+
declare const edgeTypes: {
|
|
4
|
+
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
5
|
+
implicit: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
6
|
+
import: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
7
|
+
subclass: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
8
|
+
subproperty: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
9
|
+
rdftype: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
10
|
+
success: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
11
|
+
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
12
|
+
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
13
|
+
};
|
|
14
|
+
declare const nodeTypes: {
|
|
15
|
+
default: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
16
|
+
graph: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
17
|
+
class: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
18
|
+
instance: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
19
|
+
property: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
20
|
+
};
|
|
21
|
+
export { edgeTypes, nodeTypes, colors, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import colors from "./_colors-linking.module.scss";
|
|
3
|
+
declare const edgeTypes: {
|
|
4
|
+
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
5
|
+
value: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
6
|
+
score: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
7
|
+
success: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
8
|
+
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
9
|
+
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
10
|
+
};
|
|
11
|
+
declare const nodeTypes: {
|
|
12
|
+
default: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
13
|
+
sourcepath: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
14
|
+
targetpath: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
15
|
+
transformation: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
16
|
+
comparator: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
17
|
+
aggregator: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
18
|
+
};
|
|
19
|
+
export { edgeTypes, nodeTypes, colors, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const edgeTypes: {
|
|
3
|
+
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
4
|
+
straight: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
5
|
+
step: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
6
|
+
};
|
|
7
|
+
export declare const nodeTypes: {
|
|
8
|
+
default: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import colors from "./_colors-workflow.module.scss";
|
|
3
|
+
declare const edgeTypes: {
|
|
4
|
+
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
5
|
+
success: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
6
|
+
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
7
|
+
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
8
|
+
};
|
|
9
|
+
declare const nodeTypes: {
|
|
10
|
+
default: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
11
|
+
dataset: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
12
|
+
linking: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
13
|
+
transform: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
14
|
+
task: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
15
|
+
workflow: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
16
|
+
};
|
|
17
|
+
export { edgeTypes, nodeTypes, colors, };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum OVERWRITTEN_KEYS {
|
|
3
|
+
ArrowUp = "ArrowUp",
|
|
4
|
+
ArrowDown = "ArrowDown",
|
|
5
|
+
Enter = "Enter",
|
|
6
|
+
Tab = "Tab"
|
|
7
|
+
}
|
|
8
|
+
export declare type OverwrittenKeyTypes = typeof OVERWRITTEN_KEYS[keyof typeof OVERWRITTEN_KEYS];
|
|
9
|
+
/** A single suggestion. */
|
|
10
|
+
export interface ISuggestionBase {
|
|
11
|
+
value: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Same as ISuggestionBase, but with the query that was used to fetch this suggestion. */
|
|
16
|
+
export interface ISuggestionWithReplacementInfo extends ISuggestionBase {
|
|
17
|
+
query: string;
|
|
18
|
+
from: number;
|
|
19
|
+
length: number;
|
|
20
|
+
}
|
|
21
|
+
/** The suggestions for a specific substring of the given input string. */
|
|
22
|
+
export interface IReplacementResult {
|
|
23
|
+
replacementInterval: {
|
|
24
|
+
from: number;
|
|
25
|
+
length: number;
|
|
26
|
+
};
|
|
27
|
+
extractedQuery: string;
|
|
28
|
+
replacements: ISuggestionBase[];
|
|
29
|
+
}
|
|
30
|
+
export interface IPartialAutoCompleteResult {
|
|
31
|
+
inputString: string;
|
|
32
|
+
cursorPosition: number;
|
|
33
|
+
replacementResults: IReplacementResult[];
|
|
34
|
+
}
|
|
35
|
+
/** Validation result */
|
|
36
|
+
export interface IValidationResult {
|
|
37
|
+
valid: boolean;
|
|
38
|
+
parseError?: {
|
|
39
|
+
message: string;
|
|
40
|
+
start: number;
|
|
41
|
+
end: number;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface IProps {
|
|
45
|
+
label?: string;
|
|
46
|
+
initialValue: string;
|
|
47
|
+
onChange: (currentValue: string) => any;
|
|
48
|
+
fetchSuggestions: (inputString: string, cursorPosition: number) => (IPartialAutoCompleteResult | undefined) | Promise<IPartialAutoCompleteResult | undefined>;
|
|
49
|
+
checkInput?: (inputString: string) => IValidationResult | Promise<IValidationResult | undefined>;
|
|
50
|
+
onInputChecked?: (validInput: boolean) => any;
|
|
51
|
+
validationErrorText?: string;
|
|
52
|
+
clearIconText?: string;
|
|
53
|
+
onFocusChange?: (hasFocus: boolean) => any;
|
|
54
|
+
id?: string;
|
|
55
|
+
useTabForCompletions?: boolean;
|
|
56
|
+
/** An additional element that is put to the left side of the input field */
|
|
57
|
+
leftElement?: JSX.Element | null;
|
|
58
|
+
rightElement?: JSX.Element | null;
|
|
59
|
+
/** Placeholder tobe shown when no text has been entered, yet. */
|
|
60
|
+
placeholder?: string;
|
|
61
|
+
/** If the horizontal scrollbars should be shown. */
|
|
62
|
+
showScrollBar?: boolean;
|
|
63
|
+
}
|
|
64
|
+
/** Input component that allows partial, fine-grained auto-completion, i.e. of sub-strings of the input string.
|
|
65
|
+
* This is comparable to a one line code editor. */
|
|
66
|
+
declare const AutoSuggestion: ({ label, initialValue, onChange, fetchSuggestions, checkInput, validationErrorText, clearIconText, onFocusChange, id, onInputChecked, leftElement, rightElement, useTabForCompletions, placeholder, showScrollBar }: IProps) => JSX.Element;
|
|
67
|
+
export default AutoSuggestion;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISuggestionWithReplacementInfo } from "./AutoSuggestion";
|
|
3
|
+
export interface IDropdownProps {
|
|
4
|
+
options: Array<ISuggestionWithReplacementInfo>;
|
|
5
|
+
onItemSelectionChange: (item: ISuggestionWithReplacementInfo) => any;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
left?: number;
|
|
9
|
+
currentlyFocusedIndex: number;
|
|
10
|
+
itemToHighlight: (item: ISuggestionWithReplacementInfo | undefined) => any;
|
|
11
|
+
}
|
|
12
|
+
/** A drop-down-like list that can be used in combination with other components to show and select items. */
|
|
13
|
+
export declare const AutoSuggestionList: ({ isOpen, options, loading, onItemSelectionChange, left, currentlyFocusedIndex, itemToHighlight, }: IDropdownProps) => JSX.Element | null;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "codemirror/addon/display/placeholder.js";
|
|
3
|
+
import "codemirror/mode/sparql/sparql.js";
|
|
4
|
+
import { Editor as CodeMirrorEditor } from "codemirror";
|
|
5
|
+
export interface IEditorProps {
|
|
6
|
+
setEditorInstance: (editor: CodeMirrorEditor) => any;
|
|
7
|
+
onChange: (value: string) => any;
|
|
8
|
+
onCursorChange: (pos: any, coords: any) => any;
|
|
9
|
+
mode?: string;
|
|
10
|
+
initialValue: string;
|
|
11
|
+
onFocusChange: (focused: boolean) => any;
|
|
12
|
+
onKeyDown: (event: KeyboardEvent) => any;
|
|
13
|
+
onSelection: (ranges: IRange[]) => any;
|
|
14
|
+
enableTab?: boolean;
|
|
15
|
+
/** Placeholder tobe shown when no text has been entered, yet. */
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
showScrollBar?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface IRange {
|
|
20
|
+
from: number;
|
|
21
|
+
to: number;
|
|
22
|
+
}
|
|
23
|
+
/** A single-line code editor. */
|
|
24
|
+
declare const SingleLineCodeEditor: ({ setEditorInstance, onChange, onCursorChange, mode, initialValue, onFocusChange, onKeyDown, onSelection, enableTab, placeholder, showScrollBar }: IEditorProps) => JSX.Element;
|
|
25
|
+
export default SingleLineCodeEditor;
|
|
@@ -11,10 +11,9 @@ export interface IRenderModifiers {
|
|
|
11
11
|
/**
|
|
12
12
|
* Parameters for the auto-complete field parameterized by T and U.
|
|
13
13
|
* @param T is the input data structure/type of the items that can be selected.
|
|
14
|
-
* @param
|
|
15
|
-
* before onChange is called.
|
|
14
|
+
* @param UPDATE_VALUE The value type that will be pushed into the onChange callback.
|
|
16
15
|
*/
|
|
17
|
-
export interface IAutoCompleteFieldProps<T extends any,
|
|
16
|
+
export interface IAutoCompleteFieldProps<T extends any, UPDATE_VALUE extends any> {
|
|
18
17
|
/**
|
|
19
18
|
* Fired when text is typed into the input field. Returns a list of items of type T.
|
|
20
19
|
*/
|
|
@@ -24,7 +23,7 @@ export interface IAutoCompleteFieldProps<T extends any, U extends any> {
|
|
|
24
23
|
* @param value The value that has been converted with itemValueSelector.
|
|
25
24
|
* @param e The event
|
|
26
25
|
*/
|
|
27
|
-
onChange?(value:
|
|
26
|
+
onChange?(value: UPDATE_VALUE, e?: React.SyntheticEvent<HTMLElement>): any;
|
|
28
27
|
/**
|
|
29
28
|
* The initial value for the auto-complete input field
|
|
30
29
|
*/
|
|
@@ -47,7 +46,9 @@ export interface IAutoCompleteFieldProps<T extends any, U extends any> {
|
|
|
47
46
|
* Selects the part from the auto-completion item that is called with the onChange callback.
|
|
48
47
|
* @param item The selected item that should be converted to the value that onChange is called with.
|
|
49
48
|
*/
|
|
50
|
-
itemValueSelector(item: T):
|
|
49
|
+
itemValueSelector(item: T): UPDATE_VALUE;
|
|
50
|
+
/** The string representation of the actual value, i.e. without meta data etc. This will be used to compare if values are equal. */
|
|
51
|
+
itemValueString(item: T): string;
|
|
51
52
|
/** The text that should be displayed when no search result has been found and no custom entry can be created. */
|
|
52
53
|
noResultText: string;
|
|
53
54
|
/**
|
|
@@ -68,7 +69,7 @@ export interface IAutoCompleteFieldProps<T extends any, U extends any> {
|
|
|
68
69
|
* shown if true is returned. */
|
|
69
70
|
resettableValue(value: T): boolean;
|
|
70
71
|
/** The value onChange is called with when a reset action is triggered. */
|
|
71
|
-
resetValue:
|
|
72
|
+
resetValue: UPDATE_VALUE;
|
|
72
73
|
/** The reset button text that is shown on hovering over the reset icon. */
|
|
73
74
|
resetButtonText: string;
|
|
74
75
|
};
|
|
@@ -100,7 +101,7 @@ export interface IElementWidth {
|
|
|
100
101
|
maxWidth: string;
|
|
101
102
|
}
|
|
102
103
|
/** Auto-complete input widget. */
|
|
103
|
-
export declare function AutoCompleteField<T extends any,
|
|
104
|
+
export declare function AutoCompleteField<T extends any, UPDATE_VALUE extends any>(props: IAutoCompleteFieldProps<T, UPDATE_VALUE>): JSX.Element;
|
|
104
105
|
export declare namespace AutoCompleteField {
|
|
105
106
|
var defaultProps: {
|
|
106
107
|
autoFocus: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonProps as BlueprintButtonProps, AnchorButtonProps as BlueprintAnchorButtonProps } from "@blueprintjs/core";
|
|
3
3
|
import { TooltipProps } from "./../Tooltip/Tooltip";
|
|
4
|
+
import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
4
5
|
export declare type AnchorOrButtonProps = Omit<BlueprintButtonProps, "elementRef" | "icon" | "rightIcon"> | Omit<BlueprintAnchorButtonProps, "elementRef" | "icon" | "rightIcon">;
|
|
5
6
|
export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
7
|
/**
|
|
@@ -46,8 +47,8 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
46
47
|
* If an URL is set then the button is included as HTML anchor element instead of a button form element.
|
|
47
48
|
*/
|
|
48
49
|
href?: string;
|
|
49
|
-
icon?:
|
|
50
|
-
rightIcon?:
|
|
50
|
+
icon?: ValidIconName | JSX.Element;
|
|
51
|
+
rightIcon?: ValidIconName | JSX.Element;
|
|
51
52
|
target?: string;
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
@@ -2,22 +2,27 @@
|
|
|
2
2
|
import { CardProps as BlueprintCardProps } from "@blueprintjs/core";
|
|
3
3
|
export interface CardProps extends BlueprintCardProps {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* `<Card />` element is included in DOM as simple `div` element.
|
|
6
6
|
* By default it is a HTML `section`.
|
|
7
7
|
*/
|
|
8
8
|
isOnlyLayout?: boolean;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Take the full height of container to display the card.
|
|
11
11
|
*/
|
|
12
12
|
fullHeight?: boolean;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Background color is slightly altered to differ card display from other cards.
|
|
15
15
|
*/
|
|
16
16
|
elevated?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* When card (or its children) get focus the card is scrolled into the viewport.
|
|
19
|
+
* Property value defined which part of the card is always scrolled in, this may important when the card is larger than the viewport.
|
|
20
|
+
*/
|
|
21
|
+
scrollinOnFocus?: "start" | "center" | "end";
|
|
17
22
|
}
|
|
18
23
|
/**
|
|
19
24
|
* Element to separate content sections from each other.
|
|
20
25
|
* Cards can include other cards but should not.
|
|
21
26
|
*/
|
|
22
|
-
declare function Card({ children, className, elevation, isOnlyLayout, fullHeight, elevated, interactive, ...otherProps }: CardProps): JSX.Element;
|
|
27
|
+
declare function Card({ children, className, elevation, isOnlyLayout, fullHeight, elevated, scrollinOnFocus, interactive, ...otherProps }: CardProps): JSX.Element;
|
|
23
28
|
export default Card;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
3
|
+
interface ContextMenuProps {
|
|
4
|
+
togglerElement?: ValidIconName | JSX.Element;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
declare function ContextMenu({ children, className, togglerElement, togglerText, togglerLarge, tooltipAsTitle, ...restProps }: ContextMenuProps): JSX.Element;
|
|
3
8
|
export default ContextMenu;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { OverlayProps } from "@blueprintjs/core";
|
|
3
|
-
import { IOverlayState } from '@blueprintjs/core';
|
|
2
|
+
import { OverlayProps, IOverlayState } from "@blueprintjs/core";
|
|
4
3
|
export interface ModalProps extends OverlayProps, IOverlayState {
|
|
5
4
|
children: React.ReactNode | React.ReactNode[];
|
|
6
5
|
/**
|
|
@@ -15,11 +14,13 @@ export interface ModalProps extends OverlayProps, IOverlayState {
|
|
|
15
14
|
* Prevents that a backdrop area is displayed behind the modal elements.
|
|
16
15
|
*/
|
|
17
16
|
preventBackdrop?: boolean;
|
|
17
|
+
/** Optional props for the wrapper div element inside the modal overlay. */
|
|
18
|
+
wrapperDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* Displays contents on top of other elements, used to create dialogs.
|
|
21
22
|
* This element can be used to create own modal elements and edge cases for modal dialogs.
|
|
22
23
|
* For most situations the usage of `SimpleDialog` and `AlertDialog` should be sufficent.
|
|
23
24
|
*/
|
|
24
|
-
declare function Modal({ children, className, overlayClassName, size, canOutsideClickClose, canEscapeKeyClose, preventBackdrop, ...otherProps }: ModalProps): JSX.Element;
|
|
25
|
+
declare function Modal({ children, className, overlayClassName, size, canOutsideClickClose, canEscapeKeyClose, preventBackdrop, wrapperDivProps, ...otherProps }: ModalProps): JSX.Element;
|
|
25
26
|
export default Modal;
|
|
@@ -32,6 +32,8 @@ export interface SimpleDialogProps extends ModalProps, TestableComponent {
|
|
|
32
32
|
* Define purpose of the dialog, e.g. if it is a warning.
|
|
33
33
|
*/
|
|
34
34
|
intent?: IntentTypes;
|
|
35
|
+
/** Optional props for the wrapper div element inside the modal. */
|
|
36
|
+
wrapperDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
39
|
* Simplifies the dialog display by providing a direct `Card` template for the `Modal` element.
|
|
@@ -3,7 +3,7 @@ import { IconProps as CarbonIconProps } from "carbon-components-react";
|
|
|
3
3
|
import { IntentTypes } from "../../common/Intent";
|
|
4
4
|
import { TooltipProps } from "./../Tooltip/Tooltip";
|
|
5
5
|
import { ValidIconName } from "./canonicalIconNames";
|
|
6
|
-
interface IconProps extends Omit<CarbonIconProps, "icon" | "description" | "name"> {
|
|
6
|
+
export interface IconProps extends Omit<CarbonIconProps, "icon" | "description" | "name"> {
|
|
7
7
|
className?: string;
|
|
8
8
|
name: ValidIconName | string[];
|
|
9
9
|
description?: string;
|
|
@@ -15,6 +15,6 @@ interface IconProps extends Omit<CarbonIconProps, "icon" | "description" | "name
|
|
|
15
15
|
intent?: IntentTypes;
|
|
16
16
|
}
|
|
17
17
|
/** Returns the first icon name that exists or the fallback icon name. */
|
|
18
|
-
export declare const findExistingIconName: (iconNames: string[], fallbackIconName?:
|
|
18
|
+
export declare const findExistingIconName: (iconNames: string[], fallbackIconName?: ValidIconName) => ValidIconName;
|
|
19
19
|
declare function Icon({ className, name, large, small, tooltipText, tooltipOpenDelay, tooltipProperties, intent, ...restProps }: IconProps): JSX.Element;
|
|
20
20
|
export default Icon;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { ButtonProps, AnchorOrButtonProps } from "../Button/Button";
|
|
3
3
|
import { ValidIconName } from "./canonicalIconNames";
|
|
4
4
|
interface IconButtonProps extends ButtonProps {
|
|
5
|
-
name: ValidIconName;
|
|
5
|
+
name: ValidIconName | string[];
|
|
6
6
|
className?: string;
|
|
7
7
|
text?: string;
|
|
8
8
|
tooltipOpenDelay?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/** Valid icon names. */
|
|
3
|
-
export declare type ValidIconName =
|
|
3
|
+
export declare type ValidIconName = "application-dataintegration" | "application-homepage" | "application-useraccount" | "application-warning" | "application-mapping" | "application-explore" | "application-vocabularies" | "application-queries" | "application-legacygui" | "application-activities" | "module-timetracker" | "module-accesscontrol" | "module-annotation" | "module-dashboard" | "module-search" | "module-visualization" | "module-reports" | "module-thesauri" | "module-linkedrules" | "module-integrations" | "module-gdprsearch" | "toggler-showmore" | "toggler-showless" | "toggler-moveright" | "toggler-moveleft" | "toggler-maximize" | "toggler-minimize" | "toggler-tree" | "navigation-back" | "navigation-forth" | "navigation-close" | "navigation-jump" | "navigation-last" | "navigation-previous" | "navigation-next" | "navigation-first" | "item-moremenu" | "item-vertmenu" | "item-viewdetails" | "item-clone" | "item-edit" | "item-evaluation" | "item-execution" | "item-info" | "item-remove" | "item-add-artefact" | "item-launch" | "item-download" | "item-question" | "item-copy" | "item-save" | "item-start" | "item-stop" | "item-reload" | "item-shuffle" | "item-draggable" | "operation-search" | "operation-clear" | "operation-undo" | "operation-redo" | "operation-logout" | "operation-filter" | "operation-filteredit" | "operation-comparison" | "operation-transform" | "operation-aggregation" | "data-sourcepath" | "data-targetpath" | "list-sort" | "list-sortasc" | "list-sortdesc" | "state-info" | "state-success" | "state-warning" | "state-danger" | "state-unchecked" | "state-checked" | "state-partlychecked" | "artefact-project" | "artefact-workflow" | "artefact-dataset" | "artefact-dataset-csv" | "artefact-dataset-multicsv" | "artefact-dataset-sparkview" | "artefact-dataset-sqlendpoint" | "artefact-dataset-jdbc" | "artefact-dataset-xml" | "artefact-dataset-json" | "artefact-dataset-excel" | "artefact-dataset-file" | "artefact-dataset-eccencadataplatform" | "artefact-dataset-sparqlendpoint" | "artefact-dataset-neo4j" | "artefact-transform" | "artefact-linking" | "artefact-task" | "artefact-customtask" | "artefact-file" | "artefact-embedded" | "artefact-remote" | "artefact-deprecated" | "artefact-uncategorized" | "artefact-rawdata" | "artefact-report" | "activity-error-report" | "select-caret" | "linked-item" | "operation-auto-graph-layout" | "unlinked-item" | "write-protected" | "undefined" | "Undefined";
|
|
4
4
|
export interface IconSized {
|
|
5
5
|
small: (props: any) => JSX.Element | null;
|
|
6
6
|
normal: (props: any) => JSX.Element | null;
|