@eccenca/gui-elements 23.0.0-rc.1 → 23.0.0-rc.3
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 -0
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +4 -10
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/index.js +3 -1
- package/dist/cjs/cmem/index.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +2 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js +64 -0
- package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/linking.js +2 -0
- package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/typing.js +35 -0
- package/dist/cjs/cmem/react-flow/configuration/typing.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js +2 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js +42 -0
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -0
- package/dist/cjs/common/utils/CssCustomProperties.js +114 -0
- package/dist/cjs/common/utils/CssCustomProperties.js.map +1 -0
- package/dist/cjs/common/utils/getColorConfiguration.js +21 -0
- package/dist/cjs/common/utils/getColorConfiguration.js.map +1 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +19 -19
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +4 -12
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +15 -6
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbItem.js +13 -4
- package/dist/cjs/components/Breadcrumb/BreadcrumbItem.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +11 -4
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/cjs/components/Button/Button.js +2 -2
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js +6 -5
- package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js +6 -8
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/cjs/components/Form/FieldItem.js +2 -2
- package/dist/cjs/components/Form/FieldItem.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js +2 -2
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/IconButton.js +2 -2
- package/dist/cjs/components/Icon/IconButton.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +124 -114
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Label/Label.js +6 -6
- package/dist/cjs/components/Label/Label.js.map +1 -1
- package/dist/cjs/components/Menu/MenuItem.js +2 -5
- package/dist/cjs/components/Menu/MenuItem.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +8 -10
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +29 -0
- package/dist/cjs/components/Select/Select.js.map +1 -0
- package/dist/cjs/components/Tabs/TabTitle.js +2 -4
- package/dist/cjs/components/Tabs/TabTitle.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js +2 -1
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js +7 -4
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js +3 -3
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +2 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/index.js +6 -1
- package/dist/cjs/extensions/react-flow/index.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +3 -2
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/utils.js +12 -6
- package/dist/cjs/extensions/react-flow/minimap/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +74 -25
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js +10 -6
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +1 -3
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js +49 -0
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -0
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js +1 -1
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/legacy-replacements/TextField/TextField.js +5 -8
- package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +4 -10
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/esm/cmem/index.js +1 -0
- package/dist/esm/cmem/index.js.map +1 -1
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js +2 -1
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js +89 -0
- package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/graph.js +1 -1
- package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -1
- package/dist/esm/cmem/react-flow/configuration/linking.js +3 -1
- package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -1
- package/dist/esm/cmem/react-flow/configuration/typing.js +32 -0
- package/dist/esm/cmem/react-flow/configuration/typing.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/workflow.js +3 -1
- package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -1
- package/dist/esm/cmem/react-flow/nodes/StickyNoteNode.js +31 -0
- package/dist/esm/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -0
- package/dist/esm/common/utils/CssCustomProperties.js +154 -0
- package/dist/esm/common/utils/CssCustomProperties.js.map +1 -0
- package/dist/esm/common/utils/getColorConfiguration.js +16 -0
- package/dist/esm/common/utils/getColorConfiguration.js.map +1 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +23 -21
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js +4 -12
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js +32 -23
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbItem.js +13 -4
- package/dist/esm/components/Breadcrumb/BreadcrumbItem.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js +11 -4
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/esm/components/Button/Button.js +2 -2
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextMenu.js +6 -5
- package/dist/esm/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextOverlay.js +6 -8
- package/dist/esm/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/esm/components/Form/FieldItem.js +2 -2
- package/dist/esm/components/Form/FieldItem.js.map +1 -1
- package/dist/esm/components/Icon/Icon.js +2 -2
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Icon/IconButton.js +2 -2
- package/dist/esm/components/Icon/IconButton.js.map +1 -1
- package/dist/esm/components/Icon/canonicalIconNames.js +124 -114
- package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/esm/components/Label/Label.js +6 -6
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/Menu/MenuItem.js +2 -5
- package/dist/esm/components/Menu/MenuItem.js.map +1 -1
- package/dist/esm/components/MultiSelect/MultiSelect.js +5 -7
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/esm/components/Select/Select.js +35 -0
- package/dist/esm/components/Select/Select.js.map +1 -0
- package/dist/esm/components/Tabs/TabTitle.js +2 -4
- package/dist/esm/components/Tabs/TabTitle.js.map +1 -1
- package/dist/esm/components/Tag/Tag.js +2 -1
- package/dist/esm/components/Tag/Tag.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +7 -4
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/extensions/codemirror/CodeMirror.js +3 -3
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js +2 -1
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleContent.js +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/index.js +1 -0
- package/dist/esm/extensions/react-flow/index.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js +3 -2
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/utils.js +10 -5
- package/dist/esm/extensions/react-flow/minimap/utils.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js +76 -27
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js +26 -6
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js +1 -3
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js +44 -0
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legacy-replacements/Tabs/Tabs.js +1 -1
- package/dist/esm/legacy-replacements/Tabs/Tabs.js.map +1 -1
- package/dist/esm/legacy-replacements/TextField/TextField.js +2 -5
- package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/types/cmem/index.d.ts +1 -0
- package/dist/types/cmem/react-flow/StickyNoteModal/StickyNoteModal.d.ts +26 -0
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +3 -8
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +3 -9
- package/dist/types/cmem/react-flow/configuration/typing.d.ts +28 -0
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +3 -9
- package/dist/types/cmem/react-flow/nodes/StickyNoteNode.d.ts +3 -0
- package/dist/types/common/utils/CssCustomProperties.d.ts +28 -0
- package/dist/types/common/utils/getColorConfiguration.d.ts +8 -0
- package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +7 -4
- package/dist/types/components/Breadcrumb/BreadcrumbItem.d.ts +7 -3
- package/dist/types/components/Breadcrumb/BreadcrumbList.d.ts +20 -8
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/ContextOverlay/ContextMenu.d.ts +37 -3
- package/dist/types/components/ContextOverlay/ContextOverlay.d.ts +12 -1
- package/dist/types/components/Form/FieldItem.d.ts +3 -2
- package/dist/types/components/Icon/Icon.d.ts +32 -7
- package/dist/types/components/Icon/IconButton.d.ts +21 -7
- package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -1
- package/dist/types/components/Label/Label.d.ts +30 -2
- package/dist/types/components/Menu/MenuItem.d.ts +3 -7
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +13 -9
- package/dist/types/components/Select/Select.d.ts +22 -0
- package/dist/types/components/Tag/Tag.d.ts +5 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +13 -11
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +5 -1
- package/dist/types/extensions/react-flow/edges/EdgeTools.d.ts +2 -2
- package/dist/types/extensions/react-flow/index.d.ts +1 -0
- package/dist/types/extensions/react-flow/minimap/MiniMap.d.ts +1 -1
- package/dist/types/extensions/react-flow/minimap/utils.d.ts +1 -0
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +17 -1
- package/dist/types/extensions/react-flow/nodes/NodeContentExtension.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/nodeUtils.d.ts +14 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/legacy-replacements/Tabs/Tabs.d.ts +1 -1
- package/package.json +19 -15
- package/scripts/compile-sass.ts +9 -0
- package/scripts/fix-cjs-dist +5 -0
- package/scripts/fix-esm-dist +6 -0
- package/scripts/sassConfig.js +13 -0
- package/src/_shame.scss +17 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +2 -2
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +5 -10
- package/src/cmem/index.ts +1 -0
- package/src/cmem/markdown/markdown.scss +1 -1
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +48 -15
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +2 -0
- package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +134 -0
- package/src/cmem/react-flow/_index.scss +1 -1
- package/src/cmem/react-flow/_minimap.scss +6 -2
- package/src/cmem/react-flow/configuration/graph.ts +3 -5
- package/src/cmem/react-flow/configuration/linking.ts +5 -6
- package/src/cmem/react-flow/configuration/typing.ts +30 -0
- package/src/cmem/react-flow/configuration/workflow.ts +5 -5
- package/src/cmem/react-flow/nodes/StickyNoteNode.tsx +13 -0
- package/src/cmem/react-flow/{_nodes.scss → nodes/_colors.scss} +0 -0
- package/src/cmem/react-flow/nodes/_index.scss +2 -0
- package/src/cmem/react-flow/nodes/_stickynote.scss +72 -0
- package/src/common/utils/CssCustomProperties.ts +14 -12
- package/src/common/utils/getColorConfiguration.ts +1 -2
- package/src/components/Accordion/accordion.scss +11 -11
- package/src/components/Application/_header.scss +4 -3
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +23 -23
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +15 -17
- package/src/components/AutoSuggestion/tests/AutoSuggestionList.test.tsx +1 -1
- package/src/components/AutocompleteField/AutoCompleteField.tsx +44 -19
- package/src/components/AutocompleteField/autocompletefield.scss +5 -3
- package/src/components/AutocompleteField/stories/AutoCompleteField.stories.tsx +75 -0
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +15 -6
- package/src/components/Breadcrumb/BreadcrumbList.tsx +36 -14
- package/src/components/Breadcrumb/breadcrumb.scss +24 -1
- package/src/components/Breadcrumb/stories/BreadcrumbItem.stories.tsx +19 -0
- package/src/components/Breadcrumb/stories/BreadcrumbList.stories.tsx +26 -0
- package/src/components/Button/Button.tsx +3 -3
- package/src/components/Button/button.scss +43 -6
- package/src/components/Card/card.scss +5 -5
- package/src/components/ContextOverlay/ContextMenu.stories.tsx +33 -0
- package/src/components/ContextOverlay/ContextMenu.tsx +46 -8
- package/src/components/ContextOverlay/ContextOverlay.stories.tsx +148 -0
- package/src/components/ContextOverlay/ContextOverlay.tsx +16 -9
- package/src/components/ContextOverlay/contextoverlay.scss +17 -5
- package/src/components/Dialog/dialog.scss +10 -8
- package/src/components/Form/FieldItem.tsx +4 -4
- package/src/components/Form/form.scss +6 -6
- package/src/components/Icon/Icon.tsx +33 -18
- package/src/components/Icon/IconButton.tsx +24 -19
- package/src/components/Icon/canonicalIconNames.tsx +134 -121
- package/src/components/Icon/icon.scss +1 -1
- package/src/components/Icon/stories/Icon.stories.tsx +52 -0
- package/src/components/Icon/stories/IconButton.stories.tsx +27 -0
- package/src/components/Label/Label.stories.tsx +27 -0
- package/src/components/Label/Label.tsx +47 -15
- package/src/components/Label/label.scss +2 -2
- package/src/components/Menu/MenuItem.tsx +9 -16
- package/src/components/Menu/menu.scss +10 -9
- package/src/components/MultiSelect/MultiSelect.tsx +30 -18
- package/src/components/Notification/notification.scss +3 -1
- package/src/components/OverviewItem/overviewitem.scss +8 -8
- package/src/components/PropertyValuePair/propertyvalue.scss +9 -7
- package/src/components/Select/Select.stories.tsx +35 -0
- package/src/components/Select/Select.tsx +38 -0
- package/src/components/Select/_select.scss +8 -0
- package/src/components/Separation/separation.scss +6 -6
- package/src/components/SimpleTable/simpletable.scss +5 -5
- package/src/components/Tabs/TabTitle.tsx +2 -4
- package/src/components/Tabs/tabs.scss +3 -3
- package/src/components/Tag/Tag.tsx +6 -0
- package/src/components/Tag/tag.scss +62 -33
- package/src/components/TextField/textfield.scss +6 -4
- package/src/components/Tooltip/Tooltip.stories.tsx +36 -0
- package/src/components/Tooltip/Tooltip.tsx +23 -18
- package/src/components/Tooltip/tooltip.scss +7 -7
- package/src/components/Typography/typography.scss +5 -4
- package/src/components/interfaces.ts +3 -1
- package/src/configuration/_variables.scss +11 -9
- package/src/extensions/codemirror/CodeMirror.tsx +9 -4
- package/src/extensions/react-flow/edges/EdgeTools.tsx +6 -4
- package/src/extensions/react-flow/edges/_edges.scss +3 -3
- package/src/extensions/react-flow/handles/HandleContent.tsx +0 -1
- package/src/extensions/react-flow/handles/_handles.scss +13 -13
- package/src/extensions/react-flow/index.ts +1 -0
- package/src/extensions/react-flow/minimap/MiniMap.tsx +16 -1
- package/src/extensions/react-flow/minimap/_minimap.scss +6 -6
- package/src/extensions/react-flow/minimap/utils.ts +8 -3
- package/src/extensions/react-flow/nodes/NodeContent.tsx +253 -166
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +17 -11
- package/src/extensions/react-flow/nodes/NodeTools.tsx +10 -7
- package/src/extensions/react-flow/nodes/_nodes.scss +44 -12
- package/src/extensions/react-flow/nodes/nodeUtils.tsx +53 -0
- package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +41 -12
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +39 -47
- package/src/includes/blueprintjs/_variables.scss +4 -2
- package/src/includes/carbon-components/_variables.scss +7 -5
- package/src/index.scss +9 -5
- package/src/index.ts +4 -2
- package/src/legacy-replacements/Tabs/Tabs.tsx +3 -1
- package/src/legacy-replacements/TextField/TextField.tsx +7 -5
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { WORKFLOW_NODE_TYPES } from "./typing";
|
|
2
3
|
declare const edgeTypes: {
|
|
3
4
|
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
4
5
|
success: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
5
6
|
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
6
7
|
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
7
8
|
};
|
|
8
|
-
declare const nodeTypes:
|
|
9
|
-
|
|
10
|
-
dataset: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
11
|
-
linking: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
12
|
-
transform: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
13
|
-
task: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
14
|
-
workflow: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
15
|
-
};
|
|
16
|
-
export { edgeTypes, nodeTypes, };
|
|
9
|
+
declare const nodeTypes: Record<WORKFLOW_NODE_TYPES, React.ReactNode>;
|
|
10
|
+
export { edgeTypes, nodeTypes };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Based on CSS Tricks tutorial.
|
|
3
|
+
* @see https://css-tricks.com/how-to-get-all-custom-properties-on-a-page-in-javascript/
|
|
4
|
+
*/
|
|
5
|
+
declare type AllowedCSSRule = CSSStyleRule | CSSPageRule;
|
|
6
|
+
interface getLocalCssStyleRulesProps {
|
|
7
|
+
cssRuleType?: "CSSStyleRule" | "CSSPageRule";
|
|
8
|
+
selectorText?: string;
|
|
9
|
+
}
|
|
10
|
+
interface getLocalCssStyleRulePropertiesProps extends getLocalCssStyleRulesProps {
|
|
11
|
+
propertyType?: "all" | "normal" | "custom";
|
|
12
|
+
}
|
|
13
|
+
interface getCustomPropertiesProps extends getLocalCssStyleRulesProps {
|
|
14
|
+
removeDashPrefix?: boolean;
|
|
15
|
+
returnObject?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export default class CssCustomProperties {
|
|
18
|
+
getterDefaultProps: getCustomPropertiesProps;
|
|
19
|
+
customprops: {};
|
|
20
|
+
constructor(props?: getCustomPropertiesProps);
|
|
21
|
+
customProperties: (props?: getCustomPropertiesProps) => any;
|
|
22
|
+
static listLocalStylesheets: () => CSSStyleSheet[];
|
|
23
|
+
static listLocalCssRules: () => CSSRule[];
|
|
24
|
+
static listLocalCssStyleRules: (filter?: getLocalCssStyleRulesProps) => AllowedCSSRule[];
|
|
25
|
+
static listLocalCssStyleRuleProperties: (filter?: getLocalCssStyleRulePropertiesProps) => string[][];
|
|
26
|
+
static listCustomProperties: (props?: getCustomPropertiesProps) => any;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare type colorconfigs = "react-flow-graph" | "react-flow-linking" | "react-flow-workflow" | "stickynotes";
|
|
2
|
+
/**
|
|
3
|
+
* Read and returns color values provided by CSS custom properties.
|
|
4
|
+
* They are defined for special CSS classes.
|
|
5
|
+
* Currently color configurations for the react flow editors are supported.
|
|
6
|
+
**/
|
|
7
|
+
declare const getColorConfiguration: (configId: colorconfigs) => any;
|
|
8
|
+
export default getColorConfiguration;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { HTMLInputProps
|
|
2
|
+
import { HTMLInputProps as BlueprintHTMLInputProps, InputGroupProps as BlueprintInputGroupProps } from "@blueprintjs/core";
|
|
3
|
+
import { ContextOverlayProps } from "../../index";
|
|
3
4
|
declare type SearchFunction<T extends any> = (value: string) => T[];
|
|
4
5
|
declare type AsyncSearchFunction<T extends any> = (value: string) => Promise<T[]>;
|
|
5
6
|
export interface IRenderModifiers {
|
|
@@ -56,11 +57,11 @@ export interface IAutoCompleteFieldProps<T extends any, UPDATE_VALUE extends any
|
|
|
56
57
|
* `query` and `onQueryChange` instead of `inputProps.value` and
|
|
57
58
|
* `inputProps.onChange`.
|
|
58
59
|
*/
|
|
59
|
-
inputProps?:
|
|
60
|
+
inputProps?: BlueprintInputGroupProps & BlueprintHTMLInputProps;
|
|
60
61
|
/**
|
|
61
|
-
* Optional props of the
|
|
62
|
+
* Optional props of the internally used `<ContextOverlay/>` element..
|
|
62
63
|
*/
|
|
63
|
-
|
|
64
|
+
contextOverlayProps?: Partial<Omit<ContextOverlayProps, "content" | "children">>;
|
|
64
65
|
/** Defines if a value can be reset, i.e. a reset icon is shown and the value is set to a specific value.
|
|
65
66
|
* When undefined, a value cannot be reset.
|
|
66
67
|
*/
|
|
@@ -94,6 +95,8 @@ export interface IAutoCompleteFieldProps<T extends any, UPDATE_VALUE extends any
|
|
|
94
95
|
* @param selectedValue The currently selected value.
|
|
95
96
|
*/
|
|
96
97
|
resetQueryToValue?(selectedValue: T): string;
|
|
98
|
+
/** If an error occurs during the auto-completion request, the error details will be prefixed with this string. */
|
|
99
|
+
requestErrorPrefix?: string;
|
|
97
100
|
}
|
|
98
101
|
/** Style object to be used in menu option items. */
|
|
99
102
|
export interface IElementWidth {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare type
|
|
4
|
-
|
|
2
|
+
import { BreadcrumbProps as BlueprintBreadcrumbItemProps } from "@blueprintjs/core";
|
|
3
|
+
export declare type BreadcrumbItemProps = Omit<BlueprintBreadcrumbItemProps, "icon" | "iconTitle" | "intent" | "target">;
|
|
4
|
+
/**
|
|
5
|
+
* Item of the breadcrumbs list.
|
|
6
|
+
* It cannot be used directly but the properties can be used within the elements of the `BreadcrumbList.items` property.
|
|
7
|
+
*/
|
|
8
|
+
declare function BreadcrumbItem({ className, onClick, href, ...otherBlueprintBreadcrumbProps }: BreadcrumbItemProps): JSX.Element;
|
|
5
9
|
export default BreadcrumbItem;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
declare type ReducedBreadcrumbsProps = Omit<
|
|
5
|
-
interface
|
|
2
|
+
import { Breadcrumbs2Props as BlueprintBreadcrumbsProps } from "@blueprintjs/popover2";
|
|
3
|
+
import { BreadcrumbItemProps } from "./BreadcrumbItem";
|
|
4
|
+
declare type ReducedBreadcrumbsProps = Omit<BlueprintBreadcrumbsProps, "breadcrumbRenderer" | "collapseFrom" | "currentBreadcrumbRenderer" | "minVisibleItems" | "overflowListProps" | "popoverProps">;
|
|
5
|
+
interface BreadcrumbListProps extends ReducedBreadcrumbsProps {
|
|
6
6
|
/**
|
|
7
7
|
list of breadcrumb items to display
|
|
8
8
|
*/
|
|
9
|
-
items:
|
|
9
|
+
items: BreadcrumbItemProps[];
|
|
10
10
|
/**
|
|
11
11
|
click handler used on breadcrumb items
|
|
12
12
|
*/
|
|
13
|
-
onItemClick?(itemUrl: string, event: object): any;
|
|
13
|
+
onItemClick?(itemUrl: string | undefined, event: object): any;
|
|
14
14
|
/**
|
|
15
15
|
native attributes for the unordered HTML list (ul)
|
|
16
16
|
*/
|
|
@@ -18,7 +18,19 @@ interface IBreadcrumbListProps extends ReducedBreadcrumbsProps {
|
|
|
18
18
|
/**
|
|
19
19
|
char that devides breadcrumb items, default: "/" (currently unsupported)
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Do not re-render breadcrumbs in a shortened version if they overflow the available space.
|
|
23
|
+
*/
|
|
24
|
+
ignoreOverflow?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* If set to `true` then breadcrumb items can shrink.
|
|
27
|
+
* This way we cannot prevent overflowing breadcrumbs completely but this happens very late.
|
|
28
|
+
* You should enable this when `ignoreOverflow` is `true`.
|
|
29
|
+
*/
|
|
30
|
+
latenOverflow?: boolean;
|
|
22
31
|
}
|
|
23
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Navigation path to the currently show resource or view in the application.
|
|
34
|
+
*/
|
|
35
|
+
declare function BreadcrumbList({ className, onItemClick, htmlUlProps, ignoreOverflow, latenOverflow, ...otherBlueprintBreadcrumbsProps }: BreadcrumbListProps): JSX.Element;
|
|
24
36
|
export default BreadcrumbList;
|
|
@@ -42,7 +42,7 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
42
42
|
/**
|
|
43
43
|
* Object with additional properties for the tooltip.
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
tooltipProps?: Partial<Omit<TooltipProps, "content" | "children">>;
|
|
46
46
|
/**
|
|
47
47
|
* If an URL is set then the button is included as HTML anchor element instead of a button form element.
|
|
48
48
|
*/
|
|
@@ -55,5 +55,5 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
55
55
|
* Display a button element to enable user interaction.
|
|
56
56
|
* It normally should trigger action when clicked.
|
|
57
57
|
*/
|
|
58
|
-
declare function Button({ children, className, affirmative, disruptive, elevated, hasStatePrimary, hasStateSuccess, hasStateWarning, hasStateDanger, icon, rightIcon, tooltip,
|
|
58
|
+
declare function Button({ children, className, affirmative, disruptive, elevated, hasStatePrimary, hasStateSuccess, hasStateWarning, hasStateDanger, icon, rightIcon, tooltip, tooltipProps, ...restProps }: ButtonProps & AnchorOrButtonProps): JSX.Element;
|
|
59
59
|
export default Button;
|
|
@@ -1,8 +1,42 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { TestableComponent } from "../interfaces";
|
|
3
|
+
import { ContextOverlayProps } from "./ContextOverlay";
|
|
2
4
|
import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
3
|
-
interface ContextMenuProps {
|
|
5
|
+
interface ContextMenuProps extends TestableComponent {
|
|
6
|
+
/**
|
|
7
|
+
* Addional CSS class names.
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The elements of the context menu.
|
|
12
|
+
* They will be wrapped in a `Menu` element automatically.
|
|
13
|
+
*/
|
|
14
|
+
children?: JSX.Element | JSX.Element[];
|
|
15
|
+
/**
|
|
16
|
+
* Toggler that need to be used to display menu.
|
|
17
|
+
* If a valid icon name is used then the icon element is displayed.
|
|
18
|
+
* In this case `togglerText`, `togglerLarge` and `tooltipAsTitle` are used, too.
|
|
19
|
+
*/
|
|
4
20
|
togglerElement?: ValidIconName | JSX.Element;
|
|
5
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Text displayed as title or tooltip on toggler element.
|
|
23
|
+
*/
|
|
24
|
+
togglerText?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Toggler element is displayed larger than normal.
|
|
27
|
+
*/
|
|
28
|
+
togglerLarge?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Tooltip on toggler element is display as HTML title, not as extra tooltip element.
|
|
31
|
+
*/
|
|
32
|
+
tooltipAsTitle?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Props to spread to `ContextOverlay` that is used to display the dropdown.
|
|
35
|
+
*/
|
|
36
|
+
contextOverlayProps?: Partial<Omit<ContextOverlayProps, "content" | "children" | "className">>;
|
|
6
37
|
}
|
|
7
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Element displays menu items after toggler is clicked.
|
|
40
|
+
*/
|
|
41
|
+
declare function ContextMenu({ children, className, togglerElement, togglerText, contextOverlayProps, togglerLarge, tooltipAsTitle, ...restProps }: ContextMenuProps): JSX.Element;
|
|
8
42
|
export default ContextMenu;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { Popover2Props as BlueprintPopoverProps } from "@blueprintjs/popover2";
|
|
3
|
+
export interface ContextOverlayProps extends Omit<BlueprintPopoverProps, "position"> {
|
|
4
|
+
/**
|
|
5
|
+
* `target` element to use as toggler for the overlay display.
|
|
6
|
+
*/
|
|
7
|
+
children?: JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Element displays connected content by interacting with a target element.
|
|
11
|
+
* Full list of available option can be seen at https://blueprintjs.com/docs/#popover2-package/popover2
|
|
12
|
+
*/
|
|
13
|
+
declare function ContextOverlay({ children, className, ...restProps }: ContextOverlayProps): JSX.Element;
|
|
3
14
|
export default ContextOverlay;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { LabelProps } from "../Label/Label";
|
|
2
3
|
import { TestableComponent } from "../interfaces";
|
|
3
4
|
interface IProps extends TestableComponent {
|
|
4
5
|
hasStatePrimary?: boolean;
|
|
@@ -8,9 +9,9 @@ interface IProps extends TestableComponent {
|
|
|
8
9
|
children: JSX.Element | JSX.Element[] | null;
|
|
9
10
|
className?: string;
|
|
10
11
|
disabled?: boolean;
|
|
11
|
-
|
|
12
|
+
labelProps?: LabelProps;
|
|
12
13
|
helperText?: string | JSX.Element;
|
|
13
14
|
messageText?: string;
|
|
14
15
|
}
|
|
15
|
-
declare function FieldItem({ hasStatePrimary, hasStateSuccess, hasStateWarning, hasStateDanger, children, className, disabled,
|
|
16
|
+
declare function FieldItem({ hasStatePrimary, hasStateSuccess, hasStateWarning, hasStateDanger, children, className, disabled, labelProps, helperText, messageText, ...otherProps }: IProps): JSX.Element;
|
|
16
17
|
export default FieldItem;
|
|
@@ -4,17 +4,42 @@ import { IntentTypes } from "../../common/Intent";
|
|
|
4
4
|
import { TooltipProps } from "./../Tooltip/Tooltip";
|
|
5
5
|
import { ValidIconName } from "./canonicalIconNames";
|
|
6
6
|
export interface IconProps extends Omit<CarbonIconProps, "icon" | "description" | "name"> {
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Canonical icon name, or an array of strings.
|
|
9
|
+
* In case of the array the first valid icon name is used.
|
|
10
|
+
*/
|
|
8
11
|
name: ValidIconName | string[];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Add tooltip text to icon
|
|
14
|
+
*/
|
|
12
15
|
tooltipText?: string;
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Intent state of icon.
|
|
18
|
+
* Currently only `success`, `info`, `warning` and `danger` are implemented for icons, even there are more states available.
|
|
19
|
+
*/
|
|
15
20
|
intent?: IntentTypes;
|
|
21
|
+
/**
|
|
22
|
+
* Display large icon version.
|
|
23
|
+
*/
|
|
24
|
+
large?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Display small icon version.
|
|
27
|
+
*/
|
|
28
|
+
small?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Additional CSS classes.
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Description for icon as accessibility fallback.
|
|
35
|
+
*/
|
|
36
|
+
description?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Additonal tooltip properties, e.g. `hoverOpenDelay`.
|
|
39
|
+
*/
|
|
40
|
+
tooltipProps?: Partial<Omit<TooltipProps, "content" | "children">>;
|
|
16
41
|
}
|
|
17
42
|
/** Returns the first icon name that exists or the fallback icon name. */
|
|
18
43
|
export declare const findExistingIconName: (iconNames: string[], fallbackIconName?: ValidIconName) => ValidIconName;
|
|
19
|
-
declare function Icon({ className, name, large, small, tooltipText,
|
|
44
|
+
declare function Icon({ className, name, large, small, tooltipText, tooltipProps, intent, ...restProps }: IconProps): JSX.Element;
|
|
20
45
|
export default Icon;
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps, AnchorOrButtonProps } from "../Button/Button";
|
|
3
3
|
import { ValidIconName } from "./canonicalIconNames";
|
|
4
|
-
interface IconButtonProps extends ButtonProps {
|
|
4
|
+
interface IconButtonProps extends Omit<ButtonProps, "icon" | "rightIcon" | "text" | "minimal" | "tooltip"> {
|
|
5
|
+
/**
|
|
6
|
+
* Canonical icon name, or an array of strings.
|
|
7
|
+
* In case of the array the first valid icon name is used.
|
|
8
|
+
*/
|
|
5
9
|
name: ValidIconName | string[];
|
|
6
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Button text, will be displayed as tooltip.
|
|
12
|
+
*/
|
|
7
13
|
text?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
/**
|
|
15
|
+
* If `text` should be set as HTML `title` attribute instead of attaching it as tooltip.
|
|
16
|
+
* If true then `tooltipProps` is ignored.
|
|
17
|
+
*/
|
|
11
18
|
tooltipAsTitle?: boolean;
|
|
12
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Description for icon as accessibility fallback.
|
|
21
|
+
* If not set then `text` is used.
|
|
22
|
+
*/
|
|
13
23
|
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Button is displayed with minimal styles (no borders, no background color).
|
|
26
|
+
*/
|
|
27
|
+
minimal?: boolean;
|
|
14
28
|
}
|
|
15
29
|
/** A button with an icon instead of text. */
|
|
16
|
-
declare function IconButton({ className, name, text,
|
|
30
|
+
declare function IconButton({ className, name, text, tooltipProps, description, tooltipAsTitle, minimal, ...restProps }: IconButtonProps & AnchorOrButtonProps): JSX.Element;
|
|
17
31
|
export default IconButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/** Valid icon names. */
|
|
3
|
-
export declare type ValidIconName = "application-dataintegration" | "application-homepage" | "application-useraccount" | "application-warning" | "application-mapping" | "application-explore" | "application-vocabularies" | "application-queries" | "application-legacygui" | "application-activities" | "module-timetracker" | "module-accesscontrol" | "module-annotation" | "module-dashboard" | "module-search" | "module-visualization" | "module-reports" | "module-thesauri" | "module-linkedrules" | "module-integrations" | "module-gdprsearch" | "toggler-showmore" | "toggler-showless" | "toggler-moveright" | "toggler-moveleft" | "toggler-maximize" | "toggler-minimize" | "toggler-tree" | "navigation-back" | "navigation-forth" | "navigation-close" | "navigation-jump" | "navigation-last" | "navigation-previous" | "navigation-next" | "navigation-first" | "item-moremenu" | "item-vertmenu" | "item-viewdetails" | "item-clone" | "item-edit" | "item-evaluation" | "item-execution" | "item-info" | "item-remove" | "item-add-artefact" | "item-launch" | "item-download" | "item-question" | "item-copy" | "item-save" | "item-start" | "item-stop" | "item-reload" | "item-shuffle" | "item-draggable" | "operation-search" | "operation-clear" | "operation-undo" | "operation-redo" | "operation-logout" | "operation-filter" | "operation-filteredit" | "operation-comparison" | "operation-transform" | "operation-aggregation" | "operation-commit" | "operation-sharelink" | "data-sourcepath" | "data-targetpath" | "list-sort" | "list-sortasc" | "list-sortdesc" | "state-info" | "state-success" | "state-warning" | "state-danger" | "state-unchecked" | "state-checked" | "state-partlychecked" | "artefact-project" | "artefact-workflow" | "artefact-dataset" | "artefact-dataset-csv" | "artefact-dataset-multicsv" | "artefact-dataset-sparkview" | "artefact-dataset-sqlendpoint" | "artefact-dataset-jdbc" | "artefact-dataset-xml" | "artefact-dataset-json" | "artefact-dataset-excel" | "artefact-dataset-file" | "artefact-dataset-eccencadataplatform" | "artefact-dataset-sparqlendpoint" | "artefact-dataset-neo4j" | "artefact-transform" | "artefact-linking" | "artefact-task" | "artefact-customtask" | "artefact-file" | "artefact-embedded" | "artefact-remote" | "artefact-deprecated" | "artefact-uncategorized" | "artefact-rawdata" | "artefact-report" | "activity-error-report" | "select-caret" | "linked-item" | "operation-auto-graph-layout" | "unlinked-item" | "write-protected" | "undefined" | "Undefined";
|
|
3
|
+
export declare type ValidIconName = "application-dataintegration" | "application-homepage" | "application-useraccount" | "application-warning" | "application-mapping" | "application-explore" | "application-vocabularies" | "application-queries" | "application-legacygui" | "application-activities" | "module-timetracker" | "module-accesscontrol" | "module-annotation" | "module-dashboard" | "module-search" | "module-visualization" | "module-reports" | "module-thesauri" | "module-linkedrules" | "module-integrations" | "module-gdprsearch" | "toggler-showmore" | "toggler-showless" | "toggler-moveright" | "toggler-moveleft" | "toggler-maximize" | "toggler-minimize" | "toggler-tree" | "navigation-back" | "navigation-forth" | "navigation-close" | "navigation-jump" | "navigation-last" | "navigation-previous" | "navigation-next" | "navigation-first" | "item-moremenu" | "item-vertmenu" | "item-viewdetails" | "item-clone" | "item-edit" | "item-evaluation" | "item-execution" | "item-info" | "item-remove" | "item-add-artefact" | "item-launch" | "item-download" | "item-question" | "item-comment" | "item-copy" | "item-save" | "item-start" | "item-stop" | "item-reload" | "item-shuffle" | "item-draggable" | "operation-search" | "operation-clear" | "operation-undo" | "operation-redo" | "operation-logout" | "operation-filter" | "operation-filteredit" | "operation-comparison" | "operation-transform" | "operation-aggregation" | "operation-commit" | "operation-sharelink" | "data-sourcepath" | "data-targetpath" | "list-sort" | "list-sortasc" | "list-sortdesc" | "state-info" | "state-success" | "state-warning" | "state-danger" | "state-unchecked" | "state-checked" | "state-checkedsimple" | "state-partlychecked" | "artefact-project" | "artefact-workflow" | "artefact-dataset" | "artefact-dataset-csv" | "artefact-dataset-multicsv" | "artefact-dataset-sparkview" | "artefact-dataset-sqlendpoint" | "artefact-dataset-jdbc" | "artefact-dataset-xml" | "artefact-dataset-json" | "artefact-dataset-excel" | "artefact-dataset-file" | "artefact-dataset-eccencadataplatform" | "artefact-dataset-sparqlendpoint" | "artefact-dataset-neo4j" | "artefact-transform" | "artefact-linking" | "artefact-task" | "artefact-customtask" | "artefact-file" | "artefact-embedded" | "artefact-remote" | "artefact-deprecated" | "artefact-uncategorized" | "artefact-rawdata" | "artefact-report" | "activity-error-report" | "select-caret" | "linked-item" | "operation-auto-graph-layout" | "unlinked-item" | "write-protected" | "undefined" | "Undefined";
|
|
4
4
|
export interface IconSized {
|
|
5
5
|
small: (props: any) => JSX.Element | null;
|
|
6
6
|
normal: (props: any) => JSX.Element | null;
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TooltipProps } from "../Tooltip/Tooltip";
|
|
3
|
+
export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Label text.
|
|
6
|
+
*/
|
|
7
|
+
text?: string | JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* Short info about label semantic, it is displayed in parentesis after the label text.
|
|
10
|
+
*/
|
|
11
|
+
info?: string | JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* Additional tooltip, attached to an info icon that is displayed after the info.
|
|
14
|
+
*/
|
|
15
|
+
tooltip?: string | JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* Additonal tooltip properties, e.g. `hoverOpenDelay`.
|
|
18
|
+
*/
|
|
19
|
+
tooltipProps?: Partial<Omit<TooltipProps, "content" | "children" | "disabled">>;
|
|
20
|
+
/**
|
|
21
|
+
* Set the name of an HTML element if the display should be used for something else that a `label` element.
|
|
22
|
+
*/
|
|
23
|
+
isLayoutForElement?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Label is displayed inactive.
|
|
26
|
+
* If there is no `isLayoutForElement` set then a `span` is used.
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare function Label({ children, className, disabled, text, info, tooltip, tooltipProps, isLayoutForElement, ...otherLabelProps }: LabelProps): JSX.Element;
|
|
3
31
|
export default Label;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { MenuItemProps } from "@blueprintjs/core";
|
|
2
|
+
import { MenuItemProps as BlueprintMenuItemProps } from "@blueprintjs/core";
|
|
3
3
|
import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
4
|
-
interface
|
|
5
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
6
|
-
className?: string;
|
|
4
|
+
export interface MenuItemProps extends Omit<BlueprintMenuItemProps, "icon">, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target"> {
|
|
7
5
|
icon?: ValidIconName | string[];
|
|
8
|
-
internalProps?: Partial<MenuItemProps> & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
9
|
-
[key: string]: any;
|
|
10
6
|
}
|
|
11
7
|
/** A single item in a Menu. */
|
|
12
|
-
declare function MenuItem({ children, className, icon,
|
|
8
|
+
declare function MenuItem({ children, className, icon, onClick, href, ...restProps }: MenuItemProps): JSX.Element;
|
|
13
9
|
export default MenuItem;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { HTMLInputProps as BlueprintHTMLInputProps } from "@blueprintjs/core";
|
|
3
|
+
import { MultiSelect2 as BlueprintMultiSelect, MultiSelect2Props as BlueprintMultiSelectProps } from "@blueprintjs/select";
|
|
4
|
+
import { ContextOverlayProps } from "./../../index";
|
|
4
5
|
export interface SelectedParamsType<T> {
|
|
5
6
|
newlySelected: T;
|
|
6
7
|
selectedItems: T[];
|
|
7
8
|
createdItems: Partial<T>[];
|
|
8
9
|
}
|
|
9
|
-
interface IProps<T> extends Pick<
|
|
10
|
+
interface IProps<T> extends Pick<BlueprintMultiSelectProps<T>, "items" | "placeholder" | "openOnKeyDown"> {
|
|
10
11
|
/**
|
|
11
12
|
* Returns the unique ID of an item. This will be used for equality of items.
|
|
12
13
|
*/
|
|
@@ -25,22 +26,22 @@ interface IProps<T> extends Pick<MultiSelectProps<T>, "items" | "placeholder" |
|
|
|
25
26
|
*/
|
|
26
27
|
onSelection?: (params: SelectedParamsType<T>) => void;
|
|
27
28
|
/**
|
|
28
|
-
* Props to spread to `
|
|
29
|
+
* Props to spread to `ContextOverlay`. Note that `content` cannot be changed.
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
+
contextOverlayProps?: Partial<Omit<ContextOverlayProps, "content" | "children">>;
|
|
31
32
|
/**
|
|
32
33
|
* Props to spread to `TagInput`. Use `query` and `onQueryChange` to control the input.
|
|
33
34
|
*/
|
|
34
|
-
tagInputProps?:
|
|
35
|
+
tagInputProps?: BlueprintMultiSelectProps<T>["tagInputProps"];
|
|
35
36
|
/** Additional properties for the (query) input field of the multi-selection. */
|
|
36
|
-
inputProps?:
|
|
37
|
+
inputProps?: BlueprintHTMLInputProps;
|
|
37
38
|
/**
|
|
38
39
|
* prop to listen for query changes, when text is entered in the multi-select input
|
|
39
40
|
*/
|
|
40
41
|
runOnQueryChange?: (query: string) => Promise<T[] | undefined>;
|
|
41
42
|
/**
|
|
42
43
|
* Whether the component should take up the full width of its container.
|
|
43
|
-
* This overrides `
|
|
44
|
+
* This overrides `tagInputProps.fill`.
|
|
44
45
|
*/
|
|
45
46
|
fullWidth?: boolean;
|
|
46
47
|
/**
|
|
@@ -82,5 +83,8 @@ interface IProps<T> extends Pick<MultiSelectProps<T>, "items" | "placeholder" |
|
|
|
82
83
|
*/
|
|
83
84
|
disabled?: boolean;
|
|
84
85
|
}
|
|
85
|
-
declare function MultiSelect<T>({ items, prePopulateWithItems, itemId, itemLabel, onSelection,
|
|
86
|
+
declare function MultiSelect<T>({ items, prePopulateWithItems, itemId, itemLabel, onSelection, contextOverlayProps, tagInputProps, inputProps, runOnQueryChange, fullWidth, noResultText, newItemCreationText, newItemPostfix, hasStatePrimary, hasStateDanger, hasStateSuccess, hasStateWarning, disabled, createNewItemFromQuery, ...otherProps }: IProps<T>): JSX.Element;
|
|
87
|
+
declare namespace MultiSelect {
|
|
88
|
+
var ofType: typeof BlueprintMultiSelect.ofType;
|
|
89
|
+
}
|
|
86
90
|
export default MultiSelect;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Select2 as BlueprintSelect, Select2Props as BlueprintSelectProps } from "@blueprintjs/select";
|
|
3
|
+
import { ContextOverlayProps } from "./../../index";
|
|
4
|
+
/**
|
|
5
|
+
* FIXME: Currently we only route the original element through.
|
|
6
|
+
* We should add here basic elemeents and processes for target and selections, etc.
|
|
7
|
+
*/
|
|
8
|
+
export interface SelectProps<T> extends Omit<BlueprintSelectProps<T>, "popoverTargetProps" | "popoverContentProps" | "popoverProps" | "popoverRef"> {
|
|
9
|
+
/**
|
|
10
|
+
* Props to spread to `ContextOverlay` that is used to display the dropdown.
|
|
11
|
+
*/
|
|
12
|
+
contextOverlayProps?: Partial<Omit<ContextOverlayProps, "content" | "defaultIsOpen" | "disabled" | "fill" | "renderTarget" | "targetTagName">>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Create a Select box without the HTML select element.
|
|
16
|
+
* It is possible to filter options, as well as to add new options if necessary.
|
|
17
|
+
*/
|
|
18
|
+
declare function Select<T>({ contextOverlayProps, ...otherSelectProps }: SelectProps<T>): JSX.Element;
|
|
19
|
+
declare namespace Select {
|
|
20
|
+
var ofType: typeof BlueprintSelect.ofType;
|
|
21
|
+
}
|
|
22
|
+
export default Select;
|
|
@@ -18,10 +18,14 @@ interface TagProps extends Omit<BlueprintTagProps, "active" | "fill" | "large" |
|
|
|
18
18
|
* display tag in a small version
|
|
19
19
|
*/
|
|
20
20
|
small?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* display tag in a large version
|
|
23
|
+
*/
|
|
24
|
+
large?: boolean;
|
|
21
25
|
/**
|
|
22
26
|
* **deprecated**, use `minimal=false` plus `emphasis="stronger"`
|
|
23
27
|
*/
|
|
24
28
|
emphasized?: never;
|
|
25
29
|
}
|
|
26
|
-
declare function Tag({ children, className, emphasis, minimal, small, backgroundColor, ...otherProps }: TagProps): JSX.Element;
|
|
30
|
+
declare function Tag({ children, className, emphasis, minimal, small, large, backgroundColor, ...otherProps }: TagProps): JSX.Element;
|
|
27
31
|
export default Tag;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
export interface TooltipProps {
|
|
4
|
-
|
|
2
|
+
import { Tooltip2Props as BlueprintTooltipProps } from "@blueprintjs/popover2";
|
|
3
|
+
export interface TooltipProps extends Omit<BlueprintTooltipProps, "position"> {
|
|
4
|
+
/**
|
|
5
|
+
* Add dotted underline as visual indication to the target that a tooltip is attached.
|
|
6
|
+
* Should be used together with text-only elements.
|
|
7
|
+
*/
|
|
5
8
|
addIndicator?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
content: JSX.Element | string;
|
|
10
|
-
/** The size specifies the dimension the element can maximal grow. */
|
|
9
|
+
/**
|
|
10
|
+
* The size specifies the dimension the tooltip overlay element can maximal grow.
|
|
11
|
+
*/
|
|
11
12
|
size?: "small" | "medium" | "large";
|
|
13
|
+
/**
|
|
14
|
+
* The tolltip will be attached to this element when it is hovered.
|
|
15
|
+
*/
|
|
12
16
|
children: React.ReactNode | React.ReactNode[];
|
|
13
|
-
/** @deprecated Use tooltipProps for Blueprint specific props or add concrete properties in all other cases. */
|
|
14
|
-
[key: string]: any;
|
|
15
17
|
}
|
|
16
|
-
declare function Tooltip({ children, content, className, size, addIndicator,
|
|
18
|
+
declare function Tooltip({ children, content, className, size, addIndicator, ...otherProps }: TooltipProps): JSX.Element;
|
|
17
19
|
export default Tooltip;
|
|
@@ -28,8 +28,12 @@ export interface CodeEditorProps {
|
|
|
28
28
|
* Default value used first when the editor is instanciated.
|
|
29
29
|
*/
|
|
30
30
|
defaultValue?: any;
|
|
31
|
+
/**
|
|
32
|
+
* If enabled the code editor won't show numbers before each line.
|
|
33
|
+
*/
|
|
34
|
+
preventLineNumbers?: boolean;
|
|
31
35
|
}
|
|
32
36
|
/**
|
|
33
37
|
* Includes a code editor, currently we use CodeMirror library as base.
|
|
34
38
|
*/
|
|
35
|
-
export declare const CodeEditor: ({ onChange, name, id, mode, defaultValue }: CodeEditorProps) => JSX.Element;
|
|
39
|
+
export declare const CodeEditor: ({ onChange, name, id, mode, preventLineNumbers, defaultValue, }: CodeEditorProps) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ContextOverlayProps } from "./../../../components/ContextOverlay/ContextOverlay";
|
|
3
3
|
interface PosOffset {
|
|
4
4
|
left: number;
|
|
5
5
|
top: number;
|
|
6
6
|
}
|
|
7
|
-
export interface EdgeToolsProps extends
|
|
7
|
+
export interface EdgeToolsProps extends Omit<ContextOverlayProps, "children"> {
|
|
8
8
|
posOffset: PosOffset;
|
|
9
9
|
children: string | JSX.Element | JSX.Element[];
|
|
10
10
|
}
|
|
@@ -11,6 +11,7 @@ export { MarkerArrowClosedInverse } from "./markers/MarkerArrowClosedInverse";
|
|
|
11
11
|
export { ReactFlowMarkers } from "./markers/ReactFlowMarkers";
|
|
12
12
|
export { MiniMap } from "./minimap/MiniMap";
|
|
13
13
|
export { minimapNodeClassName, minimapNodeColor } from "./minimap/utils";
|
|
14
|
+
export { default as nodeUtils } from "./nodes/nodeUtils";
|
|
14
15
|
export type { NodeProps } from "./nodes/NodeDefault";
|
|
15
16
|
export type { NodeContentProps } from "./nodes/NodeContent";
|
|
16
17
|
export type { NodeContentExtensionProps } from "./nodes/NodeContentExtension";
|
|
@@ -5,4 +5,4 @@ export interface MiniMapProps extends ReactFlowMiniMapProps {
|
|
|
5
5
|
enableNavigation?: boolean;
|
|
6
6
|
}
|
|
7
7
|
/** An improved mini-map for react-flow that supports navigation via the mini-map. */
|
|
8
|
-
export declare const MiniMap: React.MemoExoticComponent<({ flowInstance, enableNavigation, maskColor, ...minimapProps }: MiniMapProps) => JSX.Element>;
|
|
8
|
+
export declare const MiniMap: React.MemoExoticComponent<({ flowInstance, enableNavigation, maskColor, nodeClassName, nodeColor, nodeStrokeColor, ...minimapProps }: MiniMapProps) => JSX.Element>;
|