@eccenca/gui-elements 22.1.0-rc.0 → 23.0.0-rc.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 +41 -4
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +13 -9
- 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 +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/graph.js +1 -6
- package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/linking.js +1 -6
- package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/workflow.js +1 -6
- package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -1
- 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 +2 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js +3 -3
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +6 -4
- 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/Dialog/Modal.js +1 -1
- package/dist/cjs/components/Dialog/Modal.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/Iframe/Iframe.js +1 -1
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +34 -41
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- 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 +1 -2
- package/dist/cjs/components/Tabs/Tab.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +1 -4
- package/dist/cjs/components/Tabs/Tabs.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/codemirror/CodeMirror.js +59 -0
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -0
- package/dist/cjs/extensions/index.js +15 -0
- package/dist/cjs/extensions/index.js.map +1 -0
- 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 +21 -20
- 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 +6 -4
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js +3 -2
- 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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js.map +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlWidget.js +15 -11
- 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 +5 -5
- package/dist/{es5 → esm}/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/index.js +4 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/index.js.map +0 -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/{es5 → esm}/cmem/ContentBlobToggler/index.js.map +0 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +0 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +0 -0
- package/dist/{es5 → esm}/cmem/index.js +6 -6
- package/dist/{es5 → esm}/cmem/index.js.map +0 -0
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js +2 -2
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js.map +0 -0
- package/dist/{es5 → esm}/cmem/react-flow/ReactFlow/ReactFlow.js +4 -4
- package/dist/{es5 → esm}/cmem/react-flow/ReactFlow/ReactFlow.js.map +0 -0
- package/dist/{es5 → esm}/cmem/react-flow/configuration/graph.js +3 -4
- package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -0
- package/dist/{es5 → esm}/cmem/react-flow/configuration/linking.js +3 -4
- package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -0
- package/dist/{es5 → esm}/cmem/react-flow/configuration/unspecified.js +3 -3
- package/dist/{es5 → esm}/cmem/react-flow/configuration/unspecified.js.map +0 -0
- package/dist/{es5 → esm}/cmem/react-flow/configuration/workflow.js +3 -4
- 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/{es5 → esm}/components/AutoSuggestion/AutoSuggestion.js +5 -4
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -0
- package/dist/{es5 → esm}/components/AutoSuggestion/AutoSuggestionList.js +1 -1
- package/dist/{es5 → esm}/components/AutoSuggestion/AutoSuggestionList.js.map +0 -0
- package/dist/{es5 → esm}/components/AutoSuggestion/SingleLineCodeEditor.js +3 -3
- package/dist/{es5 → esm}/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -1
- package/dist/{es5 → esm}/components/AutocompleteField/AutoCompleteField.js +8 -6
- 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 +4 -4
- package/dist/{es5 → esm}/components/ContextOverlay/ContextMenu.js.map +0 -0
- 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 +3 -3
- package/dist/{es5 → esm}/components/Dialog/Modal.js.map +1 -1
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js +4 -4
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js.map +0 -0
- 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/{es5 → esm}/components/Icon/Icon.js.map +0 -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 +0 -0
- package/dist/{es5 → esm}/components/Icon/canonicalIconNames.js.map +0 -0
- 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/{es5 → esm}/components/MultiSelect/MultiSelect.js +44 -55
- 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/{es5 → esm}/components/Tabs/Tab.js +3 -4
- package/dist/{es5 → esm}/components/Tabs/Tab.js.map +1 -1
- package/dist/{es5 → esm}/components/Tabs/TabTitle.js +2 -2
- package/dist/{es5 → esm}/components/Tabs/TabTitle.js.map +0 -0
- package/dist/{es5 → esm}/components/Tabs/Tabs.js +3 -6
- package/dist/esm/components/Tabs/Tabs.js.map +1 -0
- package/dist/{es5 → esm}/components/Tag/Tag.js +1 -1
- package/dist/{es5 → esm}/components/Tag/Tag.js.map +0 -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/esm/extensions/codemirror/CodeMirror.js +34 -0
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -0
- package/dist/esm/extensions/index.js +3 -0
- package/dist/esm/extensions/index.js.map +1 -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/{es5 → esm}/extensions/react-flow/edges/utils.js +21 -20
- 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 +10 -8
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContentExtension.js +5 -4
- 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/{es5 → esm}/index.js.map +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Button/AffirmativeButton.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Button/AffirmativeButton.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Button/Button.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Button/Button.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Button/DismissiveButton.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Button/DismissiveButton.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Button/DisruptiveButton.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Button/DisruptiveButton.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Checkbox/Checkbox.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Checkbox/Checkbox.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Radio/RadioButton.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Radio/RadioButton.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/Tabs/Tabs.js +1 -1
- package/dist/{es5 → esm}/legacy-replacements/Tabs/Tabs.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/TextField/TextField.js +4 -4
- package/dist/{es5 → esm}/legacy-replacements/TextField/TextField.js.map +0 -0
- package/dist/{es5 → esm}/legacy-replacements/index.js +9 -9
- package/dist/{es5 → esm}/legacy-replacements/index.js.map +0 -0
- package/dist/{es5 → esm}/package.json +0 -0
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +9 -0
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +2 -0
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +1 -2
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +1 -2
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +1 -2
- package/dist/types/common/utils/stringUtils.d.ts +2 -0
- package/dist/types/components/AutoSuggestion/SingleLineCodeEditor.d.ts +1 -1
- package/dist/types/components/Card/Card.d.ts +9 -4
- package/dist/types/components/Form/FieldItemRow.d.ts +1 -0
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +17 -10
- 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/Typography/HtmlContentBlock.d.ts +15 -5
- package/dist/types/components/Typography/classnames.d.ts +1 -0
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +35 -0
- package/dist/types/extensions/index.d.ts +2 -0
- package/dist/types/extensions/react-flow/edges/getSmoothStepPath.d.ts +18 -0
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +8 -2
- package/dist/types/extensions/react-flow/nodes/NodeContentExtension.d.ts +5 -1
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +7 -1
- package/dist/types/index.d.ts +2 -4
- package/package.json +29 -19
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +6 -6
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +27 -14
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +11 -3
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +5 -1
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +1 -1
- package/src/cmem/react-flow/_nodes.scss +12 -6
- package/src/cmem/react-flow/configuration/_colors-graph.scss +35 -0
- package/src/cmem/react-flow/configuration/_colors-linking.scss +29 -0
- package/src/cmem/react-flow/configuration/_colors-workflow.scss +22 -0
- package/src/cmem/react-flow/configuration/_colors.scss +3 -3
- package/src/cmem/react-flow/configuration/graph.ts +0 -2
- package/src/cmem/react-flow/configuration/linking.ts +0 -2
- package/src/cmem/react-flow/configuration/workflow.ts +0 -2
- package/src/common/utils/CssCustomProperties.ts +123 -0
- package/src/common/utils/getColorConfiguration.ts +21 -0
- package/src/common/utils/stringUtils.ts +2 -0
- package/src/components/Accordion/accordion.scss +8 -2
- package/src/components/Application/ApplicationContent.tsx +0 -5
- package/src/components/Application/ApplicationTitle.tsx +0 -5
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +2 -1
- package/src/components/AutoSuggestion/SingleLineCodeEditor.tsx +3 -3
- package/src/components/AutocompleteField/AutoCompleteField.tsx +6 -4
- 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 +1 -1
- 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/Dialog/Modal.tsx +1 -1
- 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/IconButton.tsx +2 -2
- package/src/components/Iframe/Iframe.tsx +1 -1
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +15 -7
- package/src/components/MultiSelect/MultiSelect.tsx +65 -62
- 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 +1 -2
- package/src/components/Tabs/Tabs.tsx +1 -5
- package/src/components/Tabs/stories/Tabs.stories.tsx +3 -3
- package/src/components/Tag/TagList.tsx +1 -0
- package/src/components/Tag/tag.scss +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/extensions/_index.scss +5 -0
- package/src/extensions/codemirror/CodeMirror.stories.tsx +26 -0
- package/src/extensions/codemirror/CodeMirror.tsx +82 -0
- package/src/extensions/codemirror/_codemirror.scss +31 -0
- package/src/extensions/index.ts +2 -0
- 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/getSmoothStepPath.ts +118 -0
- package/src/extensions/react-flow/edges/utils.ts +21 -29
- package/src/extensions/react-flow/minimap/MiniMap.tsx +1 -1
- package/src/extensions/react-flow/nodes/NodeContent.tsx +13 -7
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +6 -0
- package/src/extensions/react-flow/nodes/NodeTools.tsx +25 -9
- package/src/extensions/react-flow/nodes/_nodes.scss +31 -12
- package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +10 -1
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +23 -0
- package/src/index.scss +1 -4
- package/src/index.ts +4 -4
- package/dist/cjs/cmem/react-flow/configuration/_colors-graph.module.scss +0 -35
- package/dist/cjs/cmem/react-flow/configuration/_colors-linking.module.scss +0 -29
- package/dist/cjs/cmem/react-flow/configuration/_colors-workflow.module.scss +0 -22
- 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/index.js +0 -4
- package/dist/es5/cmem/ContentBlobToggler/index.js +0 -3
- package/dist/es5/cmem/react-flow/configuration/_colors-graph.module.scss +0 -35
- package/dist/es5/cmem/react-flow/configuration/_colors-linking.module.scss +0 -29
- package/dist/es5/cmem/react-flow/configuration/_colors-workflow.module.scss +0 -22
- package/dist/es5/cmem/react-flow/configuration/graph.js.map +0 -1
- package/dist/es5/cmem/react-flow/configuration/linking.js.map +0 -1
- package/dist/es5/cmem/react-flow/configuration/workflow.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/AutoSuggestion/AutoSuggestion.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/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/MultiSelect/MultiSelect.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.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.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 -99
- package/src/cmem/react-flow/configuration/_colors-graph.module.scss +0 -35
- package/src/cmem/react-flow/configuration/_colors-linking.module.scss +0 -29
- package/src/cmem/react-flow/configuration/_colors-workflow.module.scss +0 -22
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "codemirror/mode/markdown/markdown.js";
|
|
3
|
+
import "codemirror/mode/python/python.js";
|
|
4
|
+
import "codemirror/mode/sparql/sparql.js";
|
|
5
|
+
import "codemirror/mode/sql/sql.js";
|
|
6
|
+
import "codemirror/mode/turtle/turtle.js";
|
|
7
|
+
import "codemirror/mode/xml/xml.js";
|
|
8
|
+
export interface CodeEditorProps {
|
|
9
|
+
/**
|
|
10
|
+
* `name` attribute of connected textarea element.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* `id` attribute of connected textarea element.
|
|
15
|
+
* If not set then the default value is created by `codemirror-${name-attribute}`.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Handler method to receive onChange events.
|
|
20
|
+
* As input the new value is given.
|
|
21
|
+
*/
|
|
22
|
+
onChange: (v: any) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Syntax mode of the code editor.
|
|
25
|
+
*/
|
|
26
|
+
mode?: "markdown" | "python" | "sparql" | "sql" | "turtle" | "xml" | "undefined";
|
|
27
|
+
/**
|
|
28
|
+
* Default value used first when the editor is instanciated.
|
|
29
|
+
*/
|
|
30
|
+
defaultValue?: any;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Includes a code editor, currently we use CodeMirror library as base.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CodeEditor: ({ onChange, name, id, mode, defaultValue }: CodeEditorProps) => JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from `react-flow` because we need to change there routing.
|
|
3
|
+
* We use the 10.2.0cversion minus commit 87d518f8b5540a91a3f9c163a2315c2de47abc31
|
|
4
|
+
* @see https://github.com/wbkd/react-flow/commit/87d518f8b5540a91a3f9c163a2315c2de47abc31
|
|
5
|
+
*/
|
|
6
|
+
import { Position } from "react-flow-renderer";
|
|
7
|
+
export interface GetSmoothStepPathParams {
|
|
8
|
+
sourceX: number;
|
|
9
|
+
sourceY: number;
|
|
10
|
+
sourcePosition?: Position;
|
|
11
|
+
targetX: number;
|
|
12
|
+
targetY: number;
|
|
13
|
+
targetPosition?: Position;
|
|
14
|
+
borderRadius?: number;
|
|
15
|
+
centerX?: number;
|
|
16
|
+
centerY?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function getSmoothStepPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, borderRadius, centerX, centerY, }: GetSmoothStepPathParams): string;
|
|
@@ -3,6 +3,7 @@ import { Position } from "react-flow-renderer";
|
|
|
3
3
|
import { ValidIconName } from "../../../components/Icon/canonicalIconNames";
|
|
4
4
|
import { HandleProps } from "./../handles/HandleDefault";
|
|
5
5
|
import { NodeProps } from "./NodeDefault";
|
|
6
|
+
import { NodeContentExtensionProps } from "./NodeContentExtension";
|
|
6
7
|
export declare type HighlightingState = "success" | "warning" | "danger" | "match" | "altmatch";
|
|
7
8
|
export interface IHandleProps extends HandleProps {
|
|
8
9
|
category?: "configuration";
|
|
@@ -28,7 +29,7 @@ interface NodeContentData<CONTENT_PROPS = any> {
|
|
|
28
29
|
/**
|
|
29
30
|
* Content extension, displayed at the bottom side of a node.
|
|
30
31
|
*/
|
|
31
|
-
contentExtension?: React.
|
|
32
|
+
contentExtension?: React.ReactElement<NodeContentExtensionProps>;
|
|
32
33
|
}
|
|
33
34
|
export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends NodeContentData, React.HTMLAttributes<HTMLDivElement> {
|
|
34
35
|
/**
|
|
@@ -111,11 +112,16 @@ export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends N
|
|
|
111
112
|
* If set then it will be always overwritten internally.
|
|
112
113
|
*/
|
|
113
114
|
selected?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Allow react flow wheel events, e.g. for zooming using the mouse wheel over a node.
|
|
117
|
+
* If this is allowed scrolling inside a node is not possible.
|
|
118
|
+
*/
|
|
119
|
+
letPassWheelEvents?: boolean;
|
|
114
120
|
}
|
|
115
121
|
export declare const gethighlightedStateClasses: (state: any, baseClassName: any) => any;
|
|
116
122
|
/**
|
|
117
123
|
* The `NodeContent` element manages the main view of how a node is displaying which content.
|
|
118
124
|
* This element cannot be used directly, all properties must be routed through the `data` property of an `elements` property item inside the `ReactFlow` container.
|
|
119
125
|
*/
|
|
120
|
-
export declare function NodeContent<CONTENT_PROPS = any>({ iconName, depiction, typeLabel, label, showExecutionButtons, executionButtons, menuButtons, content, contentExtension, size, minimalShape, highlightedState, handles, adaptHeightForHandleMinCount, adaptSizeIncrement, getMinimalTooltipData, style, showUnconnectableHandles, animated, targetPosition, sourcePosition, isConnectable, selected, businessData, ...otherProps }: NodeContentProps<any>): JSX.Element;
|
|
126
|
+
export declare function NodeContent<CONTENT_PROPS = any>({ iconName, depiction, typeLabel, label, showExecutionButtons, executionButtons, menuButtons, content, contentExtension, size, minimalShape, highlightedState, handles, adaptHeightForHandleMinCount, adaptSizeIncrement, getMinimalTooltipData, style, showUnconnectableHandles, animated, targetPosition, sourcePosition, isConnectable, selected, letPassWheelEvents, businessData, ...otherProps }: NodeContentProps<any>): JSX.Element;
|
|
121
127
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* When enabled the element is displayed in a way that it does not count into the node size calculation.
|
|
5
|
+
*/
|
|
6
|
+
slideOutOfNode?: boolean;
|
|
3
7
|
/**
|
|
4
8
|
* Element is displayed in expanded state.
|
|
5
9
|
* If it has no `onToggle` handler property set then it is always expanded.
|
|
@@ -27,4 +31,4 @@ export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivE
|
|
|
27
31
|
/**
|
|
28
32
|
* Displays an content area that can be attached to `NodeContent` elements.
|
|
29
33
|
*/
|
|
30
|
-
export declare const NodeContentExtension: ({ children, isExpanded, onToggle, actionButtons, tooltipExpand, tooltipReduce, ...otherProps }: NodeContentExtensionProps) => JSX.Element;
|
|
34
|
+
export declare const NodeContentExtension: ({ children, slideOutOfNode, isExpanded, onToggle, actionButtons, tooltipExpand, tooltipReduce, ...otherProps }: NodeContentExtensionProps) => JSX.Element;
|
|
@@ -6,5 +6,11 @@ export interface NodeToolsProps extends IBlueprintPopoverProps {
|
|
|
6
6
|
togglerElement?: ValidIconName | JSX.Element;
|
|
7
7
|
togglerText?: string;
|
|
8
8
|
menuButtonDataTestId?: string;
|
|
9
|
+
/** If defined this function will be called with the menu API object to be used externally. */
|
|
10
|
+
menuFunctionsCallback?: (menuFunctions: NodeToolsMenuFunctions) => any;
|
|
9
11
|
}
|
|
10
|
-
export
|
|
12
|
+
export interface NodeToolsMenuFunctions {
|
|
13
|
+
/** Closes the menu if its open. */
|
|
14
|
+
closeMenu: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const NodeTools: React.MemoExoticComponent<({ children, togglerElement, togglerText, menuButtonDataTestId, menuFunctionsCallback, ...otherOverlayProps }: NodeToolsProps) => JSX.Element>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -91,9 +91,7 @@ declare const HelperClasses: {
|
|
|
91
91
|
declare const Utilities: {
|
|
92
92
|
openInNewTab: (event: import("react").MouseEvent<HTMLElement, MouseEvent>, handler?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined, url?: string | undefined) => void;
|
|
93
93
|
};
|
|
94
|
-
export { ApplicationContainer, ApplicationHeader, ApplicationContent, ApplicationSidebarNavigation, ApplicationSidebarToggler, ApplicationTitle, ApplicationToolbar, ApplicationToolbarSection, ApplicationToolbarAction, ApplicationToolbarPanel, AutoSuggestion, AutoSuggestionList, SingleLineCodeEditor, HtmlContentBlock, OverflowText, WhiteSpaceContainer, Highlighter, Grid, GridRow, GridColumn, List, WorkspaceContent, WorkspaceMain, WorkspaceSide, WorkspaceHeader, Menu, MenuItem, MenuDivider, ContextOverlay, ContextMenu, OverviewItem, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemActions, OverviewItemList, TableContainer, Table, TableHead, TableRow, TableBody, TableCell, TableHeader, Icon, IconButton, Label, Button, Checkbox, RadioButton, Tabs, Tab, TabTitle, TextField, TextArea, SearchField, Switch, //
|
|
95
|
-
NumericInput, // TODO: scss styles
|
|
96
|
-
FieldItem, FieldItemRow, FieldSet, BreadcrumbList, BreadcrumbItem, Modal, SimpleDialog, AlertDialog, Card, CardHeader, CardTitle, CardOptions, CardContent, CardActions, CardActionsAux, Spacing, Divider, Tooltip, Section, SectionHeader, TitlePage, TitleMainsection, TitleSubsection, Accordion, AccordionItem, Toolbar, ToolbarSection, Tag, TagList, Pagination, Notification, Link, Spinner, PropertyName, PropertyValue, PropertyValuePair, PropertyValueList, Toast, HelperClasses, Select, // TODO: include as own element
|
|
94
|
+
export { ApplicationContainer, ApplicationHeader, ApplicationContent, ApplicationSidebarNavigation, ApplicationSidebarToggler, ApplicationTitle, ApplicationToolbar, ApplicationToolbarSection, ApplicationToolbarAction, ApplicationToolbarPanel, AutoSuggestion, AutoSuggestionList, SingleLineCodeEditor, HtmlContentBlock, OverflowText, WhiteSpaceContainer, Highlighter, Grid, GridRow, GridColumn, List, WorkspaceContent, WorkspaceMain, WorkspaceSide, WorkspaceHeader, Menu, MenuItem, MenuDivider, ContextOverlay, ContextMenu, OverviewItem, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemActions, OverviewItemList, TableContainer, Table, TableHead, TableRow, TableBody, TableCell, TableHeader, Icon, IconButton, Label, Button, Checkbox, RadioButton, Tabs, Tab, TabTitle, TextField, TextArea, SearchField, Switch, NumericInput, FieldItem, FieldItemRow, FieldSet, BreadcrumbList, BreadcrumbItem, Modal, SimpleDialog, AlertDialog, Card, CardHeader, CardTitle, CardOptions, CardContent, CardActions, CardActionsAux, Spacing, Divider, Tooltip, Section, SectionHeader, TitlePage, TitleMainsection, TitleSubsection, Accordion, AccordionItem, Toolbar, ToolbarSection, Tag, TagList, Pagination, Notification, Link, Spinner, PropertyName, PropertyValue, PropertyValuePair, PropertyValueList, Toast, HelperClasses, Select, // FIXME: CMEM-3742: include as own element
|
|
97
95
|
MultiSelect, AutoCompleteField, ProgressBar, Iframe, IframeModal, Utilities, LegacyReplacements, };
|
|
98
96
|
export * from "./cmem";
|
|
99
|
-
export * from "./extensions
|
|
97
|
+
export * from "./extensions";
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eccenca/gui-elements",
|
|
3
3
|
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "23.0.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/eccenca/gui-elements",
|
|
7
|
+
"bugs": "https://github.com/eccenca/gui-elements/issues",
|
|
7
8
|
"keywords": [
|
|
8
9
|
"GUI",
|
|
9
10
|
"React",
|
|
10
|
-
"Blueprint
|
|
11
|
-
"Carbon
|
|
12
|
-
"Typescript"
|
|
11
|
+
"Blueprint",
|
|
12
|
+
"Carbon Design System",
|
|
13
|
+
"Typescript",
|
|
14
|
+
"SCSS"
|
|
13
15
|
],
|
|
14
16
|
"maintainers": [
|
|
15
17
|
{
|
|
@@ -18,22 +20,23 @@
|
|
|
18
20
|
"web": "https://eccence.com/"
|
|
19
21
|
}
|
|
20
22
|
],
|
|
21
|
-
"repository":
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git://github.com/eccenca/gui-elements.git"
|
|
26
|
+
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"registry": "https://registry.npmjs.org"
|
|
29
29
|
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=14.x"
|
|
32
|
+
},
|
|
30
33
|
"style": "src/index.scss",
|
|
31
34
|
"main": "dist/cjs/index.js",
|
|
32
|
-
"module": "dist/
|
|
35
|
+
"module": "dist/esm/index.js",
|
|
33
36
|
"types": "dist/types/index.d.ts",
|
|
34
37
|
"exports": {
|
|
35
38
|
".": {
|
|
36
|
-
"import": "./dist/
|
|
39
|
+
"import": "./dist/esm/index.js",
|
|
37
40
|
"require": "./dist/cjs/index.js"
|
|
38
41
|
}
|
|
39
42
|
},
|
|
@@ -43,9 +46,9 @@
|
|
|
43
46
|
],
|
|
44
47
|
"scripts": {
|
|
45
48
|
"build:clean": "rimraf dist/",
|
|
46
|
-
"build:
|
|
47
|
-
"build:cjs": "tsc --
|
|
48
|
-
"build:all": "yarn build:clean && yarn build:
|
|
49
|
+
"build:esm": "tsc --project .typescript/tsbuild-esm.json && ./scripts/fix-esm-dist",
|
|
50
|
+
"build:cjs": "tsc --project .typescript/tsbuild-cjs.json && ./scripts/fix-cjs-dist",
|
|
51
|
+
"build:all": "yarn build:clean && yarn build:esm && yarn build:cjs",
|
|
49
52
|
"compile": "tsc --build tsconfig.json",
|
|
50
53
|
"compile-scss": "node-sass src/index.scss --importer=node_modules/node-sass-tilde-importer",
|
|
51
54
|
"storybook": "start-storybook -p 6006",
|
|
@@ -53,7 +56,8 @@
|
|
|
53
56
|
"test": "jest",
|
|
54
57
|
"test:ci": "jest --ci --reporters='default'",
|
|
55
58
|
"test:coverage": "jest --collectCoverage",
|
|
56
|
-
"test:generate-output": "jest --json --outputFile=.jest-test-results.json"
|
|
59
|
+
"test:generate-output": "jest --json --outputFile=.jest-test-results.json",
|
|
60
|
+
"check:package": "pjv --warnings --recommendations"
|
|
57
61
|
},
|
|
58
62
|
"dependencies": {
|
|
59
63
|
"@blueprintjs/core": "3.49.1",
|
|
@@ -97,7 +101,7 @@
|
|
|
97
101
|
"@storybook/react": "^6.4.9",
|
|
98
102
|
"@testing-library/jest-dom": "^5.16.1",
|
|
99
103
|
"@testing-library/react": "^12.1.2",
|
|
100
|
-
"@types/carbon-components-react": "
|
|
104
|
+
"@types/carbon-components-react": "7.49.0",
|
|
101
105
|
"@types/codemirror": "^5.60.5",
|
|
102
106
|
"@types/color": "^3.0.2",
|
|
103
107
|
"@types/jest": "^24.9.1",
|
|
@@ -106,7 +110,6 @@
|
|
|
106
110
|
"@typescript-eslint/parser": "^4.33.0",
|
|
107
111
|
"babel-jest": "^27.5.1",
|
|
108
112
|
"chromatic": "^6.5.1",
|
|
109
|
-
"copyfiles": "^2.4.1",
|
|
110
113
|
"css-loader": "3.4.2",
|
|
111
114
|
"eslint": "^7.32.0",
|
|
112
115
|
"eslint-config-react-app": "^6.0.0",
|
|
@@ -116,12 +119,14 @@
|
|
|
116
119
|
"jest-pnp-resolver": "^1.2.1",
|
|
117
120
|
"node-sass": "4.14.1",
|
|
118
121
|
"node-sass-tilde-importer": "^1.0.2",
|
|
122
|
+
"package-json-validator": "^0.6.3",
|
|
119
123
|
"react-app-polyfill": "^1.0.6",
|
|
120
124
|
"react-lorem-ipsum": "^1.4.9",
|
|
121
125
|
"regenerator-runtime": "^0.13.9",
|
|
122
126
|
"rimraf": "^3.0.2",
|
|
123
127
|
"sass-loader": "8.0.2",
|
|
124
128
|
"style-loader": "0.23.1",
|
|
129
|
+
"tsc-esm-fix": "^2.13.0",
|
|
125
130
|
"typescript": "4.4.4",
|
|
126
131
|
"webpack": "^4.46.0"
|
|
127
132
|
},
|
|
@@ -133,7 +138,12 @@
|
|
|
133
138
|
"**/carbon-components": "10.44.0",
|
|
134
139
|
"**/carbon-components-react": "7.44.1",
|
|
135
140
|
"**/carbon-icons": "7.0.7",
|
|
136
|
-
"**/@types/react": "^17.0.0"
|
|
141
|
+
"**/@types/react": "^17.0.0",
|
|
142
|
+
"**/node-gyp": "^7.0.0",
|
|
143
|
+
"**/glob-parent": "^5.1.2",
|
|
144
|
+
"**/trim": "^0.0.3",
|
|
145
|
+
"**/trim-newlines": "^3.0.1",
|
|
146
|
+
"**/minimist": "^1.2.6"
|
|
137
147
|
},
|
|
138
148
|
"eslintConfig": {
|
|
139
149
|
"extends": [
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { ActivityControlWidget } from "./ActivityControlWidget";
|
|
5
|
-
import { loremIpsum
|
|
5
|
+
import { loremIpsum } from "react-lorem-ipsum";
|
|
6
6
|
import Tag from "../../components/Tag/Tag";
|
|
7
7
|
import TagList from "../../components/Tag/TagList";
|
|
8
8
|
|
|
@@ -66,10 +66,10 @@ const actions = [
|
|
|
66
66
|
];
|
|
67
67
|
|
|
68
68
|
const commonWidgetArgs = {
|
|
69
|
-
label: loremIpsum({ p: 1, avgSentencesPerParagraph: 1, avgWordsPerSentence: 4 }),
|
|
69
|
+
label: loremIpsum({ p: 1, avgSentencesPerParagraph: 1, avgWordsPerSentence: 4, random: false }),
|
|
70
70
|
border: true,
|
|
71
71
|
activityActions: actions,
|
|
72
|
-
statusMessage: loremIpsum({ p: 1, startWithLoremIpsum: false }),
|
|
72
|
+
statusMessage: loremIpsum({ p: 1, startWithLoremIpsum: false, random: false }),
|
|
73
73
|
progressSpinner: {
|
|
74
74
|
intent: "none",
|
|
75
75
|
value: 0.5,
|
|
@@ -86,9 +86,9 @@ export const WidgetWithTags = TemplateWithTags.bind({});
|
|
|
86
86
|
|
|
87
87
|
const widgetTags = (
|
|
88
88
|
<TagList>
|
|
89
|
-
<Tag small>
|
|
90
|
-
<Tag small>
|
|
91
|
-
<Tag small>
|
|
89
|
+
<Tag small>Tag one</Tag>
|
|
90
|
+
<Tag small>Other tag</Tag>
|
|
91
|
+
<Tag small>Third keyword</Tag>
|
|
92
92
|
</TagList>
|
|
93
93
|
);
|
|
94
94
|
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
OverviewItemDescription,
|
|
12
12
|
OverviewItemLine,
|
|
13
13
|
ProgressBar,
|
|
14
|
-
Spacing,
|
|
15
14
|
Spinner,
|
|
16
15
|
Tooltip,
|
|
17
16
|
} from "../../index";
|
|
@@ -27,6 +26,11 @@ export interface IActivityControlProps extends TestableComponent {
|
|
|
27
26
|
* The label to be shown
|
|
28
27
|
*/
|
|
29
28
|
label?: string | JSX.Element;
|
|
29
|
+
/**
|
|
30
|
+
* Element that wraps around the label.
|
|
31
|
+
* Default: `<OverflowText inline={true} />`
|
|
32
|
+
*/
|
|
33
|
+
labelWrapper?: JSX.Element;
|
|
30
34
|
/**
|
|
31
35
|
* To add tags in addition to the widget status description
|
|
32
36
|
*/
|
|
@@ -59,6 +63,10 @@ export interface IActivityControlProps extends TestableComponent {
|
|
|
59
63
|
* display widget inside rectangle
|
|
60
64
|
*/
|
|
61
65
|
border?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* display a bit whitespace around widget, even without border
|
|
68
|
+
*/
|
|
69
|
+
hasSpacing?: boolean;
|
|
62
70
|
/**
|
|
63
71
|
* only use necessary width, not always the available 100% of parent element
|
|
64
72
|
*/
|
|
@@ -103,13 +111,15 @@ export function ActivityControlWidget(props: IActivityControlProps) {
|
|
|
103
111
|
activityContextMenu,
|
|
104
112
|
small,
|
|
105
113
|
border,
|
|
114
|
+
hasSpacing,
|
|
106
115
|
canShrink,
|
|
107
116
|
tags,
|
|
108
117
|
progressSpinnerFinishedIcon,
|
|
118
|
+
labelWrapper = <OverflowText inline={true} />,
|
|
109
119
|
} = props;
|
|
110
120
|
const spinnerClassNames = (progressSpinner?.className ?? "") + ` ${eccgui}-spinner--permanent`;
|
|
111
121
|
const widget = (
|
|
112
|
-
<OverviewItem data-test-id={dataTestId} hasSpacing={border} densityHigh={small}>
|
|
122
|
+
<OverviewItem data-test-id={dataTestId} hasSpacing={border || hasSpacing} densityHigh={small}>
|
|
113
123
|
{progressBar && <ProgressBar {...progressBar} />}
|
|
114
124
|
{(progressSpinner || progressSpinnerFinishedIcon) && (
|
|
115
125
|
<OverviewItemDepiction keepColors>
|
|
@@ -129,31 +139,34 @@ export function ActivityControlWidget(props: IActivityControlProps) {
|
|
|
129
139
|
<OverviewItemDescription>
|
|
130
140
|
{props.label && (
|
|
131
141
|
<OverviewItemLine small={small}>
|
|
132
|
-
|
|
142
|
+
{ React.cloneElement(labelWrapper, {}, props.label) }
|
|
133
143
|
</OverviewItemLine>
|
|
134
144
|
)}
|
|
135
145
|
{(props.statusMessage || tags) && (
|
|
136
146
|
<OverviewItemLine small>
|
|
137
|
-
{tags
|
|
138
|
-
<>
|
|
139
|
-
{ tags }
|
|
140
|
-
<Spacing vertical size="tiny" />
|
|
141
|
-
</>
|
|
142
|
-
)}
|
|
147
|
+
{ tags }
|
|
143
148
|
{props.statusMessage && (
|
|
144
|
-
|
|
149
|
+
<OverflowText passDown>
|
|
145
150
|
{props.statusMessage.length > 50 ? (
|
|
146
151
|
<Tooltip
|
|
147
152
|
content={props.statusMessage}
|
|
148
153
|
size="large"
|
|
149
|
-
tooltipProps={{
|
|
154
|
+
tooltipProps={{
|
|
155
|
+
position: "top-right",
|
|
156
|
+
boundary: "viewport",
|
|
157
|
+
modifiers: {
|
|
158
|
+
flip: {
|
|
159
|
+
enabled: false
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}}
|
|
150
163
|
>
|
|
151
|
-
|
|
164
|
+
{props.statusMessage}
|
|
152
165
|
</Tooltip>
|
|
153
166
|
) : (
|
|
154
|
-
|
|
167
|
+
props.statusMessage
|
|
155
168
|
)}
|
|
156
|
-
|
|
169
|
+
</OverflowText>
|
|
157
170
|
)}
|
|
158
171
|
</OverviewItemLine>
|
|
159
172
|
)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {Button, HtmlContentBlock, SimpleDialog} from "../../index";
|
|
2
|
-
import React from "react";
|
|
1
|
+
import {Button, HtmlContentBlock, IconButton, SimpleDialog} from "../../index";
|
|
2
|
+
import React, { useState } from "react";
|
|
3
3
|
|
|
4
4
|
interface IProps {
|
|
5
5
|
// Title of the modal
|
|
@@ -18,6 +18,7 @@ interface IProps {
|
|
|
18
18
|
|
|
19
19
|
/** Shows the execution error report to the user and offers to download the report. */
|
|
20
20
|
export const ActivityExecutionErrorReportModal = ({title, onDiscard, report, downloadButtonValue, closeButtonValue, fetchErrorReport}: IProps) => {
|
|
21
|
+
const [displayFullscreen, setDisplayFullscreen] = useState<boolean>(false);
|
|
21
22
|
const fileName = "Activity execution report from " + (new Date()).toISOString().replace(/T/, " ").replace(/:/g, "-").substr(0, 19) + ".md"
|
|
22
23
|
const handleDownload = async () => {
|
|
23
24
|
const markdown = await fetchErrorReport()
|
|
@@ -37,7 +38,14 @@ export const ActivityExecutionErrorReportModal = ({title, onDiscard, report, dow
|
|
|
37
38
|
<SimpleDialog
|
|
38
39
|
title={title}
|
|
39
40
|
isOpen={true}
|
|
41
|
+
size={displayFullscreen ? "fullscreen" : "large"}
|
|
40
42
|
onClose={onDiscard}
|
|
43
|
+
headerOptions={(
|
|
44
|
+
<IconButton
|
|
45
|
+
name={displayFullscreen ? "toggler-minimize" : "toggler-maximize"}
|
|
46
|
+
onClick={() => setDisplayFullscreen(!displayFullscreen)}
|
|
47
|
+
/>
|
|
48
|
+
)}
|
|
41
49
|
actions={[
|
|
42
50
|
<Button data-test-id={"error-report-download-btn"} affirmative onClick={handleDownload} key="download">
|
|
43
51
|
{downloadButtonValue}
|
|
@@ -47,7 +55,7 @@ export const ActivityExecutionErrorReportModal = ({title, onDiscard, report, dow
|
|
|
47
55
|
</Button>,
|
|
48
56
|
]}
|
|
49
57
|
>
|
|
50
|
-
<HtmlContentBlock>
|
|
58
|
+
<HtmlContentBlock noScrollbarsOnChildren>
|
|
51
59
|
{report}
|
|
52
60
|
</HtmlContentBlock>
|
|
53
61
|
</SimpleDialog>
|
|
@@ -63,10 +63,14 @@ export interface IActivityControlLayoutProps {
|
|
|
63
63
|
small?: boolean;
|
|
64
64
|
// display widget inside rectange
|
|
65
65
|
border?: boolean;
|
|
66
|
+
// add a bit spacing
|
|
67
|
+
hasSpacing?: boolean;
|
|
66
68
|
// only use necessary width, not always the available 100% of parent element
|
|
67
69
|
canShrink?: boolean;
|
|
68
70
|
// what type of progrss display should be uses, horizontal progress bar, circular spinner, or none of that
|
|
69
71
|
visualization?: "none" | "progressbar" | "spinner";
|
|
72
|
+
// wrapper around label
|
|
73
|
+
labelWrapper?: JSX.Element;
|
|
70
74
|
}
|
|
71
75
|
|
|
72
76
|
const defaultLayout: IActivityControlLayoutProps = {
|
|
@@ -352,7 +356,7 @@ export const calcIntent = (activityStatus: IActivityStatus): Intent => {
|
|
|
352
356
|
intent = "danger";
|
|
353
357
|
break;
|
|
354
358
|
case "Waiting":
|
|
355
|
-
intent = "none";
|
|
359
|
+
intent = "none";
|
|
356
360
|
break;
|
|
357
361
|
default:
|
|
358
362
|
intent = "none";
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
background-color: mix($color, #fff, 24%);
|
|
11
11
|
}
|
|
12
12
|
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
13
|
-
|
|
13
|
+
&.#{$eccgui}-graphviz__node__extension--slideout {
|
|
14
|
+
border-color: $color;
|
|
15
|
+
}
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -23,10 +25,12 @@
|
|
|
23
25
|
border-width: 3 * $reactflow-node-border-width;
|
|
24
26
|
}
|
|
25
27
|
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
&.#{$eccgui}-graphviz__node__extension--slideout {
|
|
29
|
+
border-style: double;
|
|
30
|
+
border-width: 3 * $reactflow-node-border-width;
|
|
31
|
+
left: -3 * $reactflow-node-border-width;
|
|
32
|
+
right: -3 * $reactflow-node-border-width;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
|
|
@@ -39,7 +43,9 @@
|
|
|
39
43
|
border-style: dashed;
|
|
40
44
|
}
|
|
41
45
|
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
42
|
-
|
|
46
|
+
&.#{$eccgui}-graphviz__node__extension--slideout {
|
|
47
|
+
border-style: dashed;
|
|
48
|
+
}
|
|
43
49
|
}
|
|
44
50
|
}
|
|
45
51
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
$reactflow-color-graph-node: #745a85 !default;
|
|
2
|
+
$reactflow-color-class-node: #3a7896 !default;
|
|
3
|
+
$reactflow-color-instance-node: #0097a7 !default;
|
|
4
|
+
$reactflow-color-property-node: #ffd54f !default;
|
|
5
|
+
|
|
6
|
+
$reactflow-color-implicit-edge: #ae3c74 !default;
|
|
7
|
+
$reactflow-color-import-edge: $reactflow-color-graph-node !default;
|
|
8
|
+
$reactflow-color-subclass-edge: $reactflow-color-class-node !default;
|
|
9
|
+
$reactflow-color-subproperty-edge: $reactflow-color-property-node !default;
|
|
10
|
+
$reactflow-color-rdftype-edge: $reactflow-color-instance-node !default;
|
|
11
|
+
|
|
12
|
+
@function bright($color) {
|
|
13
|
+
@return mix($color, #fff, 24%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.#{eccgui}-configuration--colors__react-flow-graph {
|
|
17
|
+
--graphNode: #{$reactflow-color-graph-node};
|
|
18
|
+
--classNode: #{$reactflow-color-class-node};
|
|
19
|
+
--instanceNode: #{$reactflow-color-instance-node};
|
|
20
|
+
--propertyNode: #{$reactflow-color-property-node};
|
|
21
|
+
--implicitEdge: #{$reactflow-color-implicit-edge};
|
|
22
|
+
--importEdge: #{$reactflow-color-import-edge};
|
|
23
|
+
--subclassEdge: #{$reactflow-color-subclass-edge};
|
|
24
|
+
--subpropertyEdge: #{$reactflow-color-subproperty-edge};
|
|
25
|
+
--rdftypeEdge: #{$reactflow-color-rdftype-edge};
|
|
26
|
+
--graphNodeBright: #{bright($reactflow-color-graph-node)};
|
|
27
|
+
--classNodeBright: #{bright($reactflow-color-class-node)};
|
|
28
|
+
--instanceNodeBright: #{bright($reactflow-color-instance-node)};
|
|
29
|
+
--propertyNodeBright: #{bright($reactflow-color-property-node)};
|
|
30
|
+
--implicitEdgeBright: #{bright($reactflow-color-implicit-edge)};
|
|
31
|
+
--importEdgeBright: #{bright($reactflow-color-import-edge)};
|
|
32
|
+
--subclassEdgeBright: #{bright($reactflow-color-subclass-edge)};
|
|
33
|
+
--subpropertyEdgeBright: #{bright($reactflow-color-subproperty-edge)};
|
|
34
|
+
--rdftypeEdgeBright: #{bright($reactflow-color-rdftype-edge)};
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
$reactflow-color-sourcepath-node: #745a85 !default;
|
|
2
|
+
$reactflow-color-targetpath-node: #3a7896 !default;
|
|
3
|
+
$reactflow-color-transformation-node: #ae3c74 !default;
|
|
4
|
+
$reactflow-color-comparator-node: #40a691 !default;
|
|
5
|
+
$reactflow-color-aggregator-node: #0097a7 !default;
|
|
6
|
+
|
|
7
|
+
$reactflow-color-value-edge: #222 !default;
|
|
8
|
+
$reactflow-color-score-edge: $reactflow-color-aggregator-node !default;
|
|
9
|
+
|
|
10
|
+
@function bright($color) {
|
|
11
|
+
@return mix($color, #fff, 24%);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.#{eccgui}-configuration--colors__react-flow-linking {
|
|
15
|
+
--sourcepathNode: #{$reactflow-color-sourcepath-node};
|
|
16
|
+
--targetpathNode: #{$reactflow-color-targetpath-node};
|
|
17
|
+
--transformationNode: #{$reactflow-color-transformation-node};
|
|
18
|
+
--comparatorNode: #{$reactflow-color-comparator-node};
|
|
19
|
+
--aggregatorNode: #{$reactflow-color-aggregator-node};
|
|
20
|
+
--valueEdge: #{$reactflow-color-value-edge};
|
|
21
|
+
--scoreEdge: #{$reactflow-color-score-edge};
|
|
22
|
+
--sourcepathNodeBright: #{bright($reactflow-color-sourcepath-node)};
|
|
23
|
+
--targetpathNodeBright: #{bright($reactflow-color-targetpath-node)};
|
|
24
|
+
--transformationNodeBright: #{bright($reactflow-color-transformation-node)};
|
|
25
|
+
--comparatorNodeBright: #{bright($reactflow-color-comparator-node)};
|
|
26
|
+
--aggregatorNodeBright: #{bright($reactflow-color-aggregator-node)};
|
|
27
|
+
--valueEdgeBright: #{bright($reactflow-color-value-edge)};
|
|
28
|
+
--scoreEdgeBright: #{bright($reactflow-color-score-edge)};
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$reactflow-color-dataset-node: #3a7896 !default;
|
|
2
|
+
$reactflow-color-linking-node: #0097a7 !default;
|
|
3
|
+
$reactflow-color-transform-node: #40a691 !default;
|
|
4
|
+
$reactflow-color-task-node: #80b67b !default;
|
|
5
|
+
$reactflow-color-workflow-node: #745a85 !default;
|
|
6
|
+
|
|
7
|
+
@function bright($color) {
|
|
8
|
+
@return mix($color, #fff, 24%);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.#{eccgui}-configuration--colors__react-flow-workflow {
|
|
12
|
+
--datasetNode: #{$reactflow-color-dataset-node};
|
|
13
|
+
--linkingNode: #{$reactflow-color-linking-node};
|
|
14
|
+
--transformNode: #{$reactflow-color-transform-node};
|
|
15
|
+
--taskNode: #{$reactflow-color-task-node};
|
|
16
|
+
--workflowNode: #{$reactflow-color-workflow-node};
|
|
17
|
+
--datasetNodeBright: #{bright($reactflow-color-dataset-node)};
|
|
18
|
+
--linkingNodeBright: #{bright($reactflow-color-linking-node)};
|
|
19
|
+
--transformNodeBright: #{bright($reactflow-color-transform-node)};
|
|
20
|
+
--taskNodeBright: #{bright($reactflow-color-task-node)};
|
|
21
|
+
--workflowNodeBright: #{bright($reactflow-color-workflow-node)};
|
|
22
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import "colors-graph
|
|
2
|
-
@import "colors-workflow
|
|
3
|
-
@import "colors-linking
|
|
1
|
+
@import "colors-graph";
|
|
2
|
+
@import "colors-workflow";
|
|
3
|
+
@import "colors-linking";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EdgeDefault } from "./../../../extensions/react-flow/edges/EdgeDefault";
|
|
2
2
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
3
|
-
import colors from "./_colors-graph.module.scss";
|
|
4
3
|
|
|
5
4
|
const edgeTypes = {
|
|
6
5
|
default: EdgeDefault,
|
|
@@ -25,5 +24,4 @@ const nodeTypes = {
|
|
|
25
24
|
export {
|
|
26
25
|
edgeTypes,
|
|
27
26
|
nodeTypes,
|
|
28
|
-
colors,
|
|
29
27
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { EdgeStep } from "./../../../extensions/react-flow/edges/EdgeStep";
|
|
3
3
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
4
|
-
import colors from "./_colors-linking.module.scss";
|
|
5
4
|
|
|
6
5
|
const edgeTypes = {
|
|
7
6
|
default: EdgeStep,
|
|
@@ -24,5 +23,4 @@ const nodeTypes = {
|
|
|
24
23
|
export {
|
|
25
24
|
edgeTypes,
|
|
26
25
|
nodeTypes,
|
|
27
|
-
colors,
|
|
28
26
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EdgeStep } from "./../../../extensions/react-flow/edges/EdgeStep";
|
|
2
2
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
3
|
-
import colors from "./_colors-workflow.module.scss";
|
|
4
3
|
|
|
5
4
|
const edgeTypes = {
|
|
6
5
|
default: EdgeStep,
|
|
@@ -21,5 +20,4 @@ const nodeTypes = {
|
|
|
21
20
|
export {
|
|
22
21
|
edgeTypes,
|
|
23
22
|
nodeTypes,
|
|
24
|
-
colors,
|
|
25
23
|
}
|