@eccenca/gui-elements 22.1.0-rc.1 → 23.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -4
- package/README.md +1 -11
- 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/ReactFlow/ReactFlow.js +7 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/customLabel.js +13 -0
- package/dist/cjs/cmem/react-flow/configuration/customLabel.js.map +1 -0
- 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/inverseEdge.js +13 -0
- package/dist/cjs/cmem/react-flow/configuration/inverseEdge.js.map +1 -0
- 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/components/AutoSuggestion/AutoSuggestion.js +2 -0
- 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 +1 -0
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.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/Dialog/SimpleDialog.js +9 -4
- package/dist/cjs/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/cjs/components/Form/FieldItemRow.js +1 -1
- 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/canonicalIconNames.js +10 -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/Iframe/IframeModal.js +2 -6
- package/dist/cjs/components/Iframe/IframeModal.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemList.js +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +1 -0
- package/dist/cjs/components/Spinner/Spinner.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/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 +5 -5
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/index.js +5 -1
- package/dist/cjs/extensions/react-flow/index.js.map +1 -1
- package/dist/cjs/extensions/react-flow/markers/MarkerArrowClosedInverse.js +13 -0
- package/dist/cjs/extensions/react-flow/markers/MarkerArrowClosedInverse.js.map +1 -0
- package/dist/cjs/extensions/react-flow/markers/ReactFlowMarkers.js +15 -0
- package/dist/cjs/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -0
- 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/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 +2 -2
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlWidget.js.map +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +1 -1
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/SilkActivityControl.js +4 -4
- package/dist/{es5 → esm}/cmem/ActivityControl/SilkActivityControl.js.map +0 -0
- 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 +11 -5
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/customLabel.js +10 -0
- package/dist/esm/cmem/react-flow/configuration/customLabel.js.map +1 -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/esm/cmem/react-flow/configuration/inverseEdge.js +10 -0
- package/dist/esm/cmem/react-flow/configuration/inverseEdge.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/{es5 → esm}/common/utils/stringUtils.js +0 -0
- package/dist/{es5 → esm}/common/utils/stringUtils.js.map +0 -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 +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationContent.js.map +0 -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 +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationTitle.js.map +0 -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 -3
- 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 +3 -2
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -0
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbItem.js +2 -2
- 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 +3 -3
- package/dist/{es5 → esm}/components/Button/Button.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/Card.js +1 -1
- package/dist/{es5 → esm}/components/Card/Card.js.map +0 -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 +29 -8
- package/dist/esm/components/Dialog/SimpleDialog.js.map +1 -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 +10 -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 +5 -25
- package/dist/esm/components/Iframe/IframeModal.js.map +1 -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 +5 -5
- package/dist/{es5 → esm}/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/{es5 → esm}/components/Notification/Notification.js +3 -3
- package/dist/{es5 → esm}/components/Notification/Notification.js.map +0 -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 +2 -2
- 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 +2 -1
- 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 +2 -2
- package/dist/{es5 → esm}/components/Tabs/Tab.js.map +0 -0
- 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 +2 -2
- package/dist/{es5 → esm}/components/Tabs/Tabs.js.map +0 -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/{es5 → esm}/components/Typography/HtmlContentBlock.js +2 -2
- package/dist/{es5 → esm}/components/Typography/HtmlContentBlock.js.map +0 -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 +1 -1
- package/dist/{es5 → esm}/components/Typography/classnames.js.map +0 -0
- 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 +7 -7
- package/dist/esm/extensions/react-flow/edges/EdgeDefault.js.map +1 -0
- 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/{es5 → esm}/extensions/react-flow/edges/getSmoothStepPath.js +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/getSmoothStepPath.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/utils.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/edges/utils.js.map +0 -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 +14 -0
- package/dist/{es5 → esm}/extensions/react-flow/index.js.map +1 -1
- package/dist/esm/extensions/react-flow/markers/MarkerArrowClosedInverse.js +6 -0
- package/dist/esm/extensions/react-flow/markers/MarkerArrowClosedInverse.js.map +1 -0
- package/dist/esm/extensions/react-flow/markers/ReactFlowMarkers.js +8 -0
- package/dist/esm/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -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 +3 -3
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContent.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContentExtension.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContentExtension.js.map +0 -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 +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeTools.js.map +0 -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/react-flow/ReactFlow/ReactFlow.d.ts +2 -3
- package/dist/types/cmem/react-flow/configuration/customLabel.d.ts +8 -0
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +1 -2
- package/dist/types/cmem/react-flow/configuration/inverseEdge.d.ts +8 -0
- 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/components/AutoSuggestion/SingleLineCodeEditor.d.ts +1 -1
- package/dist/types/components/Dialog/SimpleDialog.d.ts +5 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -1
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +1 -1
- 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/EdgeDefault.d.ts +3 -0
- package/dist/types/extensions/react-flow/index.d.ts +2 -0
- package/dist/types/extensions/react-flow/markers/MarkerArrowClosedInverse.d.ts +2 -0
- package/dist/types/extensions/react-flow/markers/ReactFlowMarkers.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +15 -10
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +1 -1
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +115 -39
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +10 -3
- 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/customLabel.ts +11 -0
- package/src/cmem/react-flow/configuration/graph.ts +0 -2
- package/src/cmem/react-flow/configuration/inverseEdge.ts +11 -0
- 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 +133 -0
- package/src/common/utils/getColorConfiguration.ts +21 -0
- package/src/components/Accordion/accordion.scss +8 -2
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +2 -0
- package/src/components/AutoSuggestion/SingleLineCodeEditor.tsx +3 -3
- package/src/components/AutocompleteField/AutoCompleteField.tsx +1 -0
- package/src/components/Dialog/Modal.tsx +1 -1
- package/src/components/Dialog/SimpleDialog.tsx +25 -4
- package/src/components/Form/FieldItemRow.tsx +1 -1
- package/src/components/Form/FieldSet.tsx +1 -0
- package/src/components/Icon/canonicalIconNames.tsx +12 -0
- package/src/components/Iframe/Iframe.tsx +1 -1
- package/src/components/Iframe/IframeModal.tsx +6 -17
- package/src/components/MultiSelect/MultiSelect.tsx +2 -2
- package/src/components/OverviewItem/OverviewItemList.tsx +1 -1
- package/src/components/Spinner/Spinner.tsx +1 -0
- package/src/components/Tag/TagList.tsx +1 -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/edges/EdgeDefault.tsx +7 -2
- package/src/extensions/react-flow/index.ts +2 -0
- package/src/extensions/react-flow/markers/MarkerArrowClosedInverse.tsx +25 -0
- package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +13 -0
- package/src/extensions/react-flow/minimap/MiniMap.tsx +1 -1
- package/src/index.scss +1 -4
- package/src/index.ts +1 -1
- 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/index.js +0 -4
- package/dist/es5/cmem/ContentBlobToggler/index.js +0 -3
- package/dist/es5/cmem/react-flow/ReactFlow/ReactFlow.js.map +0 -1
- 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/AutoSuggestion/AutoSuggestion.js.map +0 -1
- package/dist/es5/components/AutocompleteField/AutoCompleteField.js.map +0 -1
- package/dist/es5/components/Card/index.js +0 -9
- package/dist/es5/components/Dialog/SimpleDialog.js.map +0 -1
- package/dist/es5/components/Form/FieldItemRow.js +0 -23
- package/dist/es5/components/Form/FieldItemRow.js.map +0 -1
- package/dist/es5/components/Form/FieldSet.js.map +0 -1
- package/dist/es5/components/Iframe/IframeModal.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/Tag/TagList.js.map +0 -1
- package/dist/es5/extensions/react-flow/edges/EdgeDefault.js.map +0 -1
- package/dist/es5/extensions/react-flow/index.js +0 -12
- package/dist/es5/index.js +0 -97
- 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
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
1
12
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
13
|
var t = {};
|
|
3
14
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -10,11 +21,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
21
|
return t;
|
|
11
22
|
};
|
|
12
23
|
import React from 'react';
|
|
13
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
14
25
|
function TagList(_a) {
|
|
15
26
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.label, label = _c === void 0 ? '' : _c, otherProps = __rest(_a, ["children", "className", "label"]);
|
|
16
|
-
var tagList = (React.createElement("ul", { className: eccgui + "-tag__list" +
|
|
17
|
-
((className && label) ? ' ' + className : '') }, React.Children.map(children, function (child, i) {
|
|
27
|
+
var tagList = (React.createElement("ul", __assign({ className: eccgui + "-tag__list" +
|
|
28
|
+
((className && label) ? ' ' + className : '') }, otherProps), React.Children.map(children, function (child, i) {
|
|
18
29
|
return React.createElement("li", { className: eccgui + "-tag__list-item", key: 'tagitem_' + i }, child);
|
|
19
30
|
})));
|
|
20
31
|
if (label) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TagList.js","sourceRoot":"","sources":["../../../../src/components/Tag/TagList.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEtE,SAAS,OAAO,CAAC,EAKX;IAJF,IAAA,QAAQ,cAAA,EACR,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA,EACd,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACP,UAAU,cAJA,kCAKhB,CADgB;IAKb,IAAM,OAAO,GAAG,CACZ,qCACI,SAAS,EACF,MAAM,eAAY;YACrB,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAE7C,UAAU,GAGV,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAE,CAAC;QAClC,OAAO,4BAAI,SAAS,EAAK,MAAM,oBAAiB,EAAE,GAAG,EAAE,UAAU,GAAC,CAAC,IAC9D,KAAK,CACL,CAAA;IACT,CAAC,CAAC,CAEL,CACR,CAAC;IAEF,IAAI,KAAK,EAAE;QACP,OAAO,CACH,6BACI,SAAS,EACF,MAAM,uBAAoB;gBAC7B,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;YAGtC,gCAAQ,SAAS,EAAK,MAAM,qBAAkB,IACzC,KAAK,CACD;YACT,8BAAM,SAAS,EAAK,MAAM,uBAAoB,IACzC,OAAO,CACL,CACL,CACT,CAAC;KACL;IAED,OAAO,OAAO,CAAC;AACnB,CAAC;AAAA,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -21,10 +21,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
25
|
-
import IconButton from "../Icon/IconButton";
|
|
26
|
-
import Icon from "../Icon/Icon";
|
|
27
|
-
import TextField from "./TextField";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
|
+
import IconButton from "../Icon/IconButton.js";
|
|
26
|
+
import Icon from "../Icon/Icon.js";
|
|
27
|
+
import TextField from "./TextField.js";
|
|
28
28
|
/**
|
|
29
29
|
* Special `TextField` element for search term inputs.
|
|
30
30
|
*/
|
|
File without changes
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
24
|
import { TextArea as BlueprintTextArea, Intent as BlueprintIntent, } from "@blueprintjs/core";
|
|
25
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
25
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
26
26
|
function TextArea(_a) {
|
|
27
27
|
var _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.hasStatePrimary, hasStatePrimary = _c === void 0 ? false : _c, _d = _a.hasStateSuccess, hasStateSuccess = _d === void 0 ? false : _d, _e = _a.hasStateWarning, hasStateWarning = _e === void 0 ? false : _e, _f = _a.hasStateDanger, hasStateDanger = _f === void 0 ? false : _f, _g = _a.rows, rows = _g === void 0 ? 5 : _g, otherProps = __rest(_a, ["className", "hasStatePrimary", "hasStateSuccess", "hasStateWarning", "hasStateDanger", "rows"]);
|
|
28
28
|
var intent;
|
|
File without changes
|
|
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
24
|
import { InputGroup as BlueprintInputGroup, Classes as BlueprintClassNames, Intent as BlueprintIntent, } from "@blueprintjs/core";
|
|
25
|
-
import Icon from "../Icon/Icon";
|
|
26
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
25
|
+
import Icon from "../Icon/Icon.js";
|
|
26
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
27
27
|
/**
|
|
28
28
|
* Text input field.
|
|
29
29
|
*/
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
/**
|
|
26
26
|
* Element to group user-interaction elements.
|
|
27
27
|
*/
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
/**
|
|
26
26
|
* Provides element to group toolbar elements together.
|
|
27
27
|
* It can be configured how dynamic it is displayed regarding provided space inside the `Toolbar` parent.
|
|
File without changes
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
24
|
import { Classes as BlueprintClassNames, Tooltip as BlueprintTooltip } from "@blueprintjs/core";
|
|
25
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
25
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
26
26
|
function Tooltip(_a) {
|
|
27
27
|
var children = _a.children, content = _a.content, _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, _d = _a.addIndicator, addIndicator = _d === void 0 ? false : _d, _e = _a.tooltipProps, tooltipProps = _e === void 0 ? {} : _e, otherProps = __rest(_a, ["children", "content", "className", "size", "addIndicator", "tooltipProps"]);
|
|
28
28
|
return (React.createElement(BlueprintTooltip, __assign({ lazy: true, hoverOpenDelay: 500 }, otherProps, { content: content }, tooltipProps, { className: eccgui + "-tooltip__wrapper" +
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
25
|
-
import * as TypographyClassNames from "./classnames";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
|
+
import * as TypographyClassNames from "./classnames.js";
|
|
26
26
|
function HtmlContentBlock(_a) {
|
|
27
27
|
var _b = _a.className, className = _b === void 0 ? "" : _b, children = _a.children, _c = _a.small, small = _c === void 0 ? false : _c, _d = _a.large, large = _d === void 0 ? false : _d, _e = _a.muted, muted = _e === void 0 ? false : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, _g = _a.linebreakForced, linebreakForced = _g === void 0 ? false : _g, _h = _a.linebreakPrevented, linebreakPrevented = _h === void 0 ? false : _h, _j = _a.noScrollbarsOnChildren, noScrollbarsOnChildren = _j === void 0 ? false : _j, otherProps = __rest(_a, ["className", "children", "small", "large", "muted", "disabled", "linebreakForced", "linebreakPrevented", "noScrollbarsOnChildren"]);
|
|
28
28
|
return (React.createElement("div", __assign({ className: eccgui + "-typography__contentblock" +
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
/** Prevents text from overflowing. */
|
|
26
26
|
function OverflowText(_a) {
|
|
27
27
|
var _b = _a.className, className = _b === void 0 ? "" : _b, children = _a.children, ellipsis = _a.ellipsis, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.passDown, passDown = _d === void 0 ? false : _d, useHtmlElement = _a.useHtmlElement, otherProps = __rest(_a, ["className", "children", "ellipsis", "inline", "passDown", "useHtmlElement"]);
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
function WhiteSpaceContainer(_a) {
|
|
26
26
|
var _b = _a.className, className = _b === void 0 ? "" : _b, children = _a.children, _c = _a.marginTop, marginTop = _c === void 0 ? "" : _c, // tiny, small, regular, large, xlarge
|
|
27
27
|
_d = _a.marginRight, // tiny, small, regular, large, xlarge
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
1
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
2
2
|
// helper classes
|
|
3
3
|
export var NOOVERFLOW = eccgui + "-typography--nooverflow";
|
|
4
4
|
export var FORCELINEBREAK = eccgui + "-typography--forcelinebreak";
|
|
File without changes
|
|
@@ -22,9 +22,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
24
|
// import PropTypes from 'prop-types';
|
|
25
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
26
|
-
import Grid from "./../Grid/Grid";
|
|
27
|
-
import GridRow from "./../Grid/GridRow";
|
|
25
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
26
|
+
import Grid from "./../Grid/Grid.js";
|
|
27
|
+
import GridRow from "./../Grid/GridRow.js";
|
|
28
28
|
function WorkspaceContent(_a) {
|
|
29
29
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, restProps = __rest(_a, ["children", "className"]);
|
|
30
30
|
return (React.createElement(Grid, __assign({}, restProps, { as: 'article', className: eccgui + "-workspace__content " + className, fullWidth: true }),
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
function WorkspaceHeader(_a) {
|
|
26
26
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, otherProps = __rest(_a, ["children", "className"]);
|
|
27
27
|
return (React.createElement("div", __assign({ className: eccgui + "-workspace__header " + className }, otherProps), children));
|
|
File without changes
|
|
@@ -21,9 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
// import PropTypes from 'prop-types';
|
|
26
|
-
import GridColumn from "./../Grid/GridColumn";
|
|
26
|
+
import GridColumn from "./../Grid/GridColumn.js";
|
|
27
27
|
function WorkspaceMain(_a) {
|
|
28
28
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? "" : _b, restProps = __rest(_a, ["children", "className"]);
|
|
29
29
|
return (React.createElement(GridColumn, __assign({}, restProps, { className: eccgui + "-workspace__main " + className }), children));
|
|
File without changes
|
|
@@ -21,9 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
25
25
|
// import PropTypes from 'prop-types';
|
|
26
|
-
import GridColumn from "./../Grid/GridColumn";
|
|
26
|
+
import GridColumn from "./../Grid/GridColumn.js";
|
|
27
27
|
function WorkspaceSide(_a) {
|
|
28
28
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, restProps = __rest(_a, ["children", "className"]);
|
|
29
29
|
return (React.createElement(GridColumn, __assign({}, restProps, { className: eccgui + "-workspace__side " + className, sm: 4, md: 8, lg: 5, xlg: 5 }), children));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { useEffect, useRef } from "react";
|
|
2
|
+
import CodeMirror from "codemirror";
|
|
3
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants.js";
|
|
4
|
+
import "codemirror/mode/markdown/markdown.js";
|
|
5
|
+
import "codemirror/mode/python/python.js";
|
|
6
|
+
import "codemirror/mode/sparql/sparql.js";
|
|
7
|
+
import "codemirror/mode/sql/sql.js";
|
|
8
|
+
import "codemirror/mode/turtle/turtle.js";
|
|
9
|
+
import "codemirror/mode/xml/xml.js";
|
|
10
|
+
/**
|
|
11
|
+
* Includes a code editor, currently we use CodeMirror library as base.
|
|
12
|
+
*/
|
|
13
|
+
export var CodeEditor = function (_a) {
|
|
14
|
+
var onChange = _a.onChange, name = _a.name, id = _a.id, _b = _a.mode, mode = _b === void 0 ? "undefined" : _b, defaultValue = _a.defaultValue;
|
|
15
|
+
var domRef = useRef(null);
|
|
16
|
+
useEffect(function () {
|
|
17
|
+
var editorInstance = CodeMirror.fromTextArea(domRef.current, {
|
|
18
|
+
mode: mode === "undefined" ? undefined : mode,
|
|
19
|
+
lineWrapping: true,
|
|
20
|
+
lineNumbers: true,
|
|
21
|
+
tabSize: 2,
|
|
22
|
+
theme: "xq-light",
|
|
23
|
+
});
|
|
24
|
+
editorInstance.on("change", function (api) {
|
|
25
|
+
onChange(api.getValue());
|
|
26
|
+
});
|
|
27
|
+
return function cleanup() {
|
|
28
|
+
editorInstance.toTextArea();
|
|
29
|
+
};
|
|
30
|
+
}, [onChange, mode]);
|
|
31
|
+
return (React.createElement("div", { className: eccgui + "-codeeditor" },
|
|
32
|
+
React.createElement("textarea", { ref: domRef, "data-test-id": "codemirror-wrapper", id: !!id ? id : "codemirror-" + name, name: name, defaultValue: defaultValue })));
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=CodeMirror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeMirror.js","sourceRoot":"","sources":["../../../../src/extensions/codemirror/CodeMirror.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,sCAAsC,CAAC;AAC9C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,4BAA4B,CAAC;AACpC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,4BAA4B,CAAC;AA2BpC;;GAEG;AACH,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAMT;QALd,QAAQ,cAAA,EACR,IAAI,UAAA,EACJ,EAAE,QAAA,EACF,YAAkB,EAAlB,IAAI,mBAAG,WAAW,KAAA,EAClB,YAAY,kBAAA;IAEZ,IAAM,MAAM,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAC;IAEjD,SAAS,CAAC;QACN,IAAM,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,OAAQ,EAAE;YAC5D,IAAI,EAAE,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI;YAC7C,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,CAAC;YACV,KAAK,EAAE,UAAU;SACpB,CAAC,CAAC;QAEH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,UAAC,GAAG;YAC5B,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;QAEH,OAAO,SAAS,OAAO;YACnB,cAAc,CAAC,UAAU,EAAE,CAAC;QAChC,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;IAErB,OAAO,CACH,6BAAK,SAAS,EAAK,MAAM,gBAAa;QAClC,kCACI,GAAG,EAAE,MAAM,kBAME,oBAAoB,EACjC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAc,IAAM,EACpC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,GAC5B,CACA,CACT,CAAC;AACN,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC"}
|
|
@@ -22,11 +22,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React, { memo } from 'react';
|
|
24
24
|
import { getMarkerEnd, getEdgeCenter, EdgeText, } from "react-flow-renderer";
|
|
25
|
-
import { drawEdgeStraight } from "./utils";
|
|
25
|
+
import { drawEdgeStraight } from "./utils.js";
|
|
26
26
|
export var EdgeDefault = memo(function (edge) {
|
|
27
|
-
var _a;
|
|
28
|
-
var
|
|
29
|
-
var
|
|
27
|
+
var _a, _b, _c;
|
|
28
|
+
var _d = edge.data, data = _d === void 0 ? {} : _d, _e = edge.drawSvgPath, drawSvgPath = _e === void 0 ? drawEdgeStraight : _e, edgeOriginalProperties = __rest(edge, ["data", "drawSvgPath"]);
|
|
29
|
+
var _f = data.pathGlowWidth, pathGlowWidth = _f === void 0 ? 10 : _f, markerStart = data.markerStart;
|
|
30
30
|
var pathDisplay = drawSvgPath(__assign(__assign({}, edgeOriginalProperties), { data: data }));
|
|
31
31
|
var markerEnd = getMarkerEnd(edgeOriginalProperties.arrowHeadType, edgeOriginalProperties.markerEndId);
|
|
32
32
|
var edgeCenter = getEdgeCenter({
|
|
@@ -35,11 +35,11 @@ export var EdgeDefault = memo(function (edge) {
|
|
|
35
35
|
targetX: edgeOriginalProperties.targetX,
|
|
36
36
|
targetY: edgeOriginalProperties.targetY,
|
|
37
37
|
});
|
|
38
|
-
var edgeLabel = edgeOriginalProperties.label ? (React.createElement(EdgeText, { x: edgeCenter[0], y: edgeCenter[1], label: edgeOriginalProperties.label, labelStyle: edgeOriginalProperties.labelStyle, labelShowBg: edgeOriginalProperties.labelShowBg, labelBgStyle: edgeOriginalProperties.labelBgStyle, labelBgPadding: edgeOriginalProperties.labelBgPadding || [5, 5], labelBgBorderRadius: edgeOriginalProperties.labelBgBorderRadius || 3 })) : null;
|
|
39
|
-
var edgeStyle = (
|
|
38
|
+
var edgeLabel = (_b = (_a = data.renderLabel) === null || _a === void 0 ? void 0 : _a.call(data, edgeCenter)) !== null && _b !== void 0 ? _b : (edgeOriginalProperties.label ? (React.createElement(EdgeText, { x: edgeCenter[0], y: edgeCenter[1], label: edgeOriginalProperties.label, labelStyle: edgeOriginalProperties.labelStyle, labelShowBg: edgeOriginalProperties.labelShowBg, labelBgStyle: edgeOriginalProperties.labelBgStyle, labelBgPadding: edgeOriginalProperties.labelBgPadding || [5, 5], labelBgBorderRadius: edgeOriginalProperties.labelBgBorderRadius || 3 })) : null);
|
|
39
|
+
var edgeStyle = (_c = edgeOriginalProperties.style) !== null && _c !== void 0 ? _c : {};
|
|
40
40
|
return (React.createElement("g", { style: __assign(__assign({}, edgeStyle), { color: edgeStyle.color || edgeStyle.stroke }) },
|
|
41
41
|
pathGlowWidth && (React.createElement("path", { d: pathDisplay, className: "react-flow__edge-path-glow", strokeWidth: pathGlowWidth })),
|
|
42
|
-
React.createElement("path", { d: pathDisplay, className: "react-flow__edge-path", markerEnd: markerEnd }),
|
|
42
|
+
React.createElement("path", { d: pathDisplay, className: "react-flow__edge-path", markerStart: markerStart, markerEnd: markerEnd }),
|
|
43
43
|
edgeLabel));
|
|
44
44
|
});
|
|
45
45
|
//# sourceMappingURL=EdgeDefault.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDefault.js","sourceRoot":"","sources":["../../../../../src/extensions/react-flow/edges/EdgeDefault.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAIpC,OAAO,EACH,YAAY,EACZ,aAAa,EACb,QAAQ,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAC,MAAM,SAAS,CAAC;AAc1C,MAAM,CAAC,IAAM,WAAW,GAAG,IAAI,CAC3B,UAAC,IAAsB;;IAEf,IAAA,KAGA,IAAI,KAHK,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,KAEA,IAAI,YAF0B,EAA9B,WAAW,mBAAG,gBAAgB,KAAA,EAC3B,sBAAsB,UACzB,IAAI,EAJF,uBAIL,CAD4B,CACpB;IAEL,IAAA,KAEA,IAAI,cAFc,EAAlB,aAAa,mBAAG,EAAE,KAAA,EAClB,WAAW,GACX,IAAI,YADO,CACN;IAET,IAAM,WAAW,GAAG,WAAW,uBAAK,sBAAsB,KAAE,IAAI,MAAA,IAAE,CAAC;IACnE,IAAM,SAAS,GAAG,YAAY,CAC1B,sBAAsB,CAAC,aAAa,EACpC,sBAAsB,CAAC,WAAW,CACrC,CAAC;IACF,IAAM,UAAU,GAAG,aAAa,CAAC;QAC7B,OAAO,EAAE,sBAAsB,CAAC,OAAO;QACvC,OAAO,EAAE,sBAAsB,CAAC,OAAO;QACvC,OAAO,EAAE,sBAAsB,CAAC,OAAO;QACvC,OAAO,EAAE,sBAAsB,CAAC,OAAO;KAC1C,CAAC,CAAC;IAEH,IAAM,SAAS,GAAG,MAAA,MAAA,IAAI,CAAC,WAAW,+CAAhB,IAAI,EAAe,UAAU,CAAC,mCAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAChF,oBAAC,QAAQ,IACL,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,KAAK,EAAE,sBAAsB,CAAC,KAAK,EACnC,UAAU,EAAE,sBAAsB,CAAC,UAAU,EAC7C,WAAW,EAAE,sBAAsB,CAAC,WAAW,EAC/C,YAAY,EAAE,sBAAsB,CAAC,YAAY,EACjD,cAAc,EAAE,sBAAsB,CAAC,cAAc,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAC/D,mBAAmB,EAAE,sBAAsB,CAAC,mBAAmB,IAAI,CAAC,GACtE,CACL,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAEV,IAAM,SAAS,GAAG,MAAA,sBAAsB,CAAC,KAAK,mCAAI,EAAE,CAAC;IACrD,OAAO,CACH,2BAAG,KAAK,wBAAM,SAAS,KAAE,KAAK,EAAE,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,MAAM;QAC7D,aAAa,IAAI,CACf,8BACI,CAAC,EAAE,WAAW,EACd,SAAS,EAAC,4BAA4B,EACtC,WAAW,EAAE,aAAa,GAC5B,CACL;QACD,8BACI,CAAC,EAAE,WAAW,EACd,SAAS,EAAC,uBAAuB,EACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACtB;QACA,SAAS,CACX,CACP,CAAC;AACN,CAAC,CACJ,CAAC"}
|
|
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import React, { memo } from 'react';
|
|
13
|
-
import { EdgeDefault } from "./EdgeDefault";
|
|
14
|
-
import { drawEdgeStep } from "./utils";
|
|
13
|
+
import { EdgeDefault } from "./EdgeDefault.js";
|
|
14
|
+
import { drawEdgeStep } from "./utils.js";
|
|
15
15
|
export var EdgeStep = memo(function (edge) {
|
|
16
16
|
return (React.createElement(EdgeDefault, __assign({}, edge, { drawSvgPath: drawEdgeStep })));
|
|
17
17
|
});
|
|
File without changes
|
|
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React, { memo } from 'react';
|
|
24
|
-
import { ContextOverlay } from "../../../index";
|
|
25
|
-
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
24
|
+
import { ContextOverlay } from "../../../index.js";
|
|
25
|
+
import { CLASSPREFIX as eccgui } from "../../../configuration/constants.js";
|
|
26
26
|
import { PopoverInteractionKind as BlueprintPopoverInteractionKind, } from "@blueprintjs/core";
|
|
27
27
|
export var EdgeTools = memo(function (_a) {
|
|
28
28
|
var posOffset = _a.posOffset, children = _a.children, otherProps = __rest(_a, ["posOffset", "children"]);
|
|
File without changes
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
1. do not export all sub elements, e.g. edges
|
|
5
5
|
2. we need to add additional features for better usage
|
|
6
6
|
*/
|
|
7
|
-
import { EdgeDefault } from "./EdgeDefault";
|
|
8
|
-
import { EdgeStep } from "./EdgeStep";
|
|
7
|
+
import { EdgeDefault } from "./EdgeDefault.js";
|
|
8
|
+
import { EdgeStep } from "./EdgeStep.js";
|
|
9
9
|
export var edgeTypes = {
|
|
10
10
|
default: EdgeDefault,
|
|
11
11
|
straight: EdgeDefault,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Position } from "react-flow-renderer";
|
|
2
|
-
import { getSmoothStepPath } from "./getSmoothStepPath";
|
|
2
|
+
import { getSmoothStepPath } from "./getSmoothStepPath.js";
|
|
3
3
|
var posCorrectionEdge = function (_a) {
|
|
4
4
|
var sourceX = _a.sourceX, sourceY = _a.sourceY, sourcePosition = _a.sourcePosition, targetX = _a.targetX, targetY = _a.targetY, targetPosition = _a.targetPosition, _b = _a.correctionLength, correctionLength = _b === void 0 ? 7 : _b, _c = _a.correctionRadius, correctionRadius = _c === void 0 ? 7 : _c;
|
|
5
5
|
var newSourceX = sourceX;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
3
|
-
import { Tooltip } from "../../../index";
|
|
2
|
+
import { CLASSPREFIX as eccgui } from "../../../configuration/constants.js";
|
|
3
|
+
import { Tooltip } from "../../../index.js";
|
|
4
4
|
export var HandleContent = memo(function (_a) {
|
|
5
5
|
var children = _a.children, extendedTooltip = _a.extendedTooltip;
|
|
6
6
|
var handleContent = !!children ? (React.createElement("div", { className: eccgui + "-graphviz__handle__content" }, children)) : !!extendedTooltip ? (React.createElement("div", { className: eccgui + "-graphviz__handle__content" })) : (React.createElement(React.Fragment, null));
|
|
File without changes
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React, { memo } from 'react';
|
|
24
24
|
import { Handle, } from "react-flow-renderer";
|
|
25
|
-
import { HandleContent } from "./HandleContent";
|
|
25
|
+
import { HandleContent } from "./HandleContent.js";
|
|
26
26
|
export var HandleDefault = memo(function (_a) {
|
|
27
27
|
var data = _a.data, tooltip = _a.tooltip, children = _a.children, handleProps = __rest(_a, ["data", "tooltip", "children"]);
|
|
28
28
|
var tooltipTitle = !!tooltip ? { title: tooltip } : {};
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { NodeDefault } from "./nodes/NodeDefault.js";
|
|
2
|
+
export { NodeContent } from "./nodes/NodeContent.js";
|
|
3
|
+
export { NodeContentExtension } from "./nodes/NodeContentExtension.js";
|
|
4
|
+
export { NodeTools } from "./nodes/NodeTools.js";
|
|
5
|
+
export { nodeTypes } from "./nodes/nodeTypes.js";
|
|
6
|
+
export { EdgeDefault } from "./edges/EdgeDefault.js";
|
|
7
|
+
export { EdgeStep } from "./edges/EdgeStep.js";
|
|
8
|
+
export { EdgeTools } from "./edges/EdgeTools.js";
|
|
9
|
+
export { edgeTypes } from "./edges/edgeTypes.js";
|
|
10
|
+
export { MarkerArrowClosedInverse } from "./markers/MarkerArrowClosedInverse.js";
|
|
11
|
+
export { ReactFlowMarkers } from "./markers/ReactFlowMarkers.js";
|
|
12
|
+
export { MiniMap } from "./minimap/MiniMap.js";
|
|
13
|
+
export { minimapNodeClassName, minimapNodeColor } from "./minimap/utils.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/extensions/react-flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/extensions/react-flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export var MarkerArrowClosedInverse = function () {
|
|
3
|
+
return (React.createElement("marker", { className: "react-flow__arrowhead", id: "react-flow__arrowclosed-inverse", markerWidth: "12.5", markerHeight: "12.5", viewBox: "-10 -10 20 20", orient: "auto", refX: "0", refY: "0" },
|
|
4
|
+
React.createElement("polyline", { stroke: "#b1b1b7", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1", fill: "#b1b1b7", points: "5,-4 0,0 5,4 5,-4" })));
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=MarkerArrowClosedInverse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkerArrowClosedInverse.js","sourceRoot":"","sources":["../../../../../src/extensions/react-flow/markers/MarkerArrowClosedInverse.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAElC,MAAM,CAAC,IAAM,wBAAwB,GAAO;IACxC,OAAO,CACH,gCACI,SAAS,EAAC,uBAAuB,EACjC,EAAE,EAAC,iCAAiC,EACpC,WAAW,EAAC,MAAM,EAClB,YAAY,EAAC,MAAM,EACnB,OAAO,EAAC,eAAe,EACvB,MAAM,EAAC,MAAM,EACb,IAAI,EAAC,GAAG,EACR,IAAI,EAAC,GAAG;QAER,kCACI,MAAM,EAAC,SAAS,EAChB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAC,GAAG,EACf,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,mBAAmB,GAClB,CACP,CACZ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MarkerArrowClosedInverse } from "./MarkerArrowClosedInverse.js";
|
|
3
|
+
export var ReactFlowMarkers = function () {
|
|
4
|
+
return (React.createElement("svg", null,
|
|
5
|
+
React.createElement("defs", null,
|
|
6
|
+
React.createElement(MarkerArrowClosedInverse, null))));
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=ReactFlowMarkers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactFlowMarkers.js","sourceRoot":"","sources":["../../../../../src/extensions/react-flow/markers/ReactFlowMarkers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,CAAC,IAAM,gBAAgB,GAAO;IAChC,OAAO,CACH;QACI;YACI,oBAAC,wBAAwB,OAAG,CACzB,CACL,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -83,7 +83,7 @@ export var MiniMap = memo(function (_a) {
|
|
|
83
83
|
/**
|
|
84
84
|
enables the mini-map fake drag effect see "handleMiniMapMouseMove" above.
|
|
85
85
|
**/
|
|
86
|
-
var handleMiniMapMouseDown = function (
|
|
86
|
+
var handleMiniMapMouseDown = function () {
|
|
87
87
|
if (enableNavigation && flowInstance) {
|
|
88
88
|
minimapCalcConf.navigationOn = true;
|
|
89
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiniMap.js","sourceRoot":"","sources":["../../../../../src/extensions/react-flow/minimap/MiniMap.tsx"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"MiniMap.js","sourceRoot":"","sources":["../../../../../src/extensions/react-flow/minimap/MiniMap.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CLASSPREFIX as eccgui } from "./../../../configuration/constants";
|
|
2
|
-
import { gethighlightedStateClasses } from "./../nodes/NodeContent";
|
|
1
|
+
import { CLASSPREFIX as eccgui } from "./../../../configuration/constants.js";
|
|
2
|
+
import { gethighlightedStateClasses } from "./../nodes/NodeContent.js";
|
|
3
3
|
export var minimapNodeClassName = function (node) {
|
|
4
4
|
var _a, _b, _c;
|
|
5
5
|
var typeClass = eccgui + "-graphviz__minimap__node--" + node.type;
|
|
File without changes
|
|
@@ -38,9 +38,9 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
38
38
|
};
|
|
39
39
|
import React from "react";
|
|
40
40
|
import { Position } from "react-flow-renderer";
|
|
41
|
-
import { Icon, Tooltip } from "../../../index";
|
|
42
|
-
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
43
|
-
import { HandleDefault } from "./../handles/HandleDefault";
|
|
41
|
+
import { Icon, Tooltip } from "../../../index.js";
|
|
42
|
+
import { CLASSPREFIX as eccgui } from "../../../configuration/constants.js";
|
|
43
|
+
import { HandleDefault } from "./../handles/HandleDefault.js";
|
|
44
44
|
var defaultHandles = [
|
|
45
45
|
{ type: "target" },
|
|
46
46
|
{ type: "source" },
|
|
File without changes
|
|
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from "react";
|
|
24
|
-
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
25
|
-
import IconButton from "../../../components/Icon/IconButton";
|
|
24
|
+
import { CLASSPREFIX as eccgui } from "../../../configuration/constants.js";
|
|
25
|
+
import IconButton from "../../../components/Icon/IconButton.js";
|
|
26
26
|
/**
|
|
27
27
|
* Displays an content area that can be attached to `NodeContent` elements.
|
|
28
28
|
*/
|
|
File without changes
|
|
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import React, { memo } from "react";
|
|
13
13
|
import { Position } from "react-flow-renderer";
|
|
14
|
-
import { Tooltip } from "../../../index";
|
|
15
|
-
import { NodeContent } from "./NodeContent";
|
|
14
|
+
import { Tooltip } from "../../../index.js";
|
|
15
|
+
import { NodeContent } from "./NodeContent.js";
|
|
16
16
|
/**
|
|
17
17
|
* The `NodeDefault` element manages the display of React-Flow nodes.
|
|
18
18
|
* This element cannot be used directly, it must be connected via a `nodeTypes` definition and all properties need to be routed through the `elements` property items inside the `ReactFlow` container.
|
|
File without changes
|
|
@@ -38,8 +38,8 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
38
38
|
};
|
|
39
39
|
import React, { memo, useEffect, useState } from "react";
|
|
40
40
|
import { PopoverInteractionKind as BlueprintPopoverInteractionKind, } from "@blueprintjs/core";
|
|
41
|
-
import { ContextOverlay, IconButton } from "../../../index";
|
|
42
|
-
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
41
|
+
import { ContextOverlay, IconButton } from "../../../index.js";
|
|
42
|
+
import { CLASSPREFIX as eccgui } from "../../../configuration/constants.js";
|
|
43
43
|
export var NodeTools = memo(function (_a) {
|
|
44
44
|
var children = _a.children, _b = _a.togglerElement, togglerElement = _b === void 0 ? "item-moremenu" : _b, _c = _a.togglerText, togglerText = _c === void 0 ? "Show more options" : _c, menuButtonDataTestId = _a.menuButtonDataTestId, menuFunctionsCallback = _a.menuFunctionsCallback, otherOverlayProps = __rest(_a, ["children", "togglerElement", "togglerText", "menuButtonDataTestId", "menuFunctionsCallback"]);
|
|
45
45
|
var _d = __read(useState(false), 2), isOpen = _d[0], setIsOpen = _d[1];
|
|
File without changes
|
|
File without changes
|