@eccenca/gui-elements 23.0.0-rc.2 → 23.0.0-rc.3-unofficial.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/dist/cjs/cmem/index.js +3 -1
- package/dist/cjs/cmem/index.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/Icon/canonicalIconNames.js +124 -114
- package/dist/cjs/components/Icon/canonicalIconNames.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/extensions/codemirror/CodeMirror.js +3 -3
- package/dist/cjs/extensions/codemirror/CodeMirror.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/nodeUtils.js +49 -0
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -0
- 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/index.js +1 -0
- package/dist/esm/cmem/index.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/Icon/canonicalIconNames.js +124 -114
- package/dist/esm/components/Icon/canonicalIconNames.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/extensions/codemirror/CodeMirror.js +3 -3
- package/dist/esm/extensions/codemirror/CodeMirror.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/nodeUtils.js +44 -0
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -0
- package/dist/esm/index.js +1 -1
- 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/Icon/canonicalIconNames.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +5 -1
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +5 -1
- 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/nodeUtils.d.ts +14 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/legacy-replacements/Tabs/Tabs.d.ts +1 -1
- package/package.json +14 -13
- 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/index.ts +1 -0
- package/src/cmem/markdown/markdown.scss +1 -1
- 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 +2 -2
- 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/Button/button.scss +43 -6
- package/src/components/Card/card.scss +5 -5
- package/src/components/ContextOverlay/ContextMenu.stories.tsx +4 -1
- package/src/components/ContextOverlay/contextoverlay.scss +14 -2
- package/src/components/Dialog/dialog.scss +10 -8
- package/src/components/Form/form.scss +6 -6
- package/src/components/Icon/canonicalIconNames.tsx +134 -121
- package/src/components/Icon/icon.scss +1 -1
- package/src/components/Label/label.scss +2 -2
- package/src/components/Menu/menu.scss +6 -6
- 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/Separation/separation.scss +6 -6
- package/src/components/SimpleTable/simpletable.scss +5 -5
- package/src/components/Tabs/tabs.scss +2 -2
- package/src/components/Tag/Tag.tsx +6 -0
- package/src/components/Tag/tag.scss +36 -11
- package/src/components/TextField/textfield.scss +6 -4
- package/src/components/Tooltip/tooltip.scss +3 -3
- package/src/components/Typography/typography.scss +4 -4
- package/src/configuration/_variables.scss +11 -9
- package/src/extensions/codemirror/CodeMirror.tsx +9 -4
- package/src/extensions/react-flow/edges/_edges.scss +3 -3
- 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/_nodes.scss +44 -12
- package/src/extensions/react-flow/nodes/nodeUtils.tsx +53 -0
- package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +24 -13
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +39 -47
- package/src/includes/blueprintjs/_variables.scss +3 -1
- package/src/includes/carbon-components/_variables.scss +7 -5
- package/src/index.ts +1 -1
- package/src/legacy-replacements/Tabs/Tabs.tsx +3 -1
- package/src/legacy-replacements/TextField/TextField.tsx +7 -5
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,+CAA+C,CAAC;AACjF,OAAO,iBAAiB,MAAM,4CAA4C,CAAC;AAC3E,OAAO,kBAAkB,MAAM,6CAA6C,CAAC;AAC7E,OAAO,4BAA4B,MAAM,uDAAuD,CAAC;AACjG,OAAO,yBAAyB,MAAM,oDAAoD,CAAC;AAC3F,OAAO,gBAAgB,MAAM,2CAA2C,CAAC;AACzE,OAAO,kBAAkB,MAAM,6CAA6C,CAAC;AAC7E,OAAO,yBAAyB,MAAM,oDAAoD,CAAC;AAC3F,OAAO,wBAAwB,MAAM,mDAAmD,CAAC;AACzF,OAAO,uBAAuB,MAAM,kDAAkD,CAAC;AACvF,OAAO,cAAc,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,oBAAoB,MAAM,kDAAkD,CAAC;AAEpF,OAAO,gBAAgB,MAAM,0CAA0C,CAAC;AACxE,OAAO,YAAY,MAAM,sCAAsC,CAAC;AAChE,OAAO,mBAAmB,MAAM,6CAA6C,CAAC;AAC9E,OAAO,WAAW,MAAM,qCAAqC,CAAC;AAE9D,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,UAAU,MAAM,8BAA8B,CAAC;AAEtD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,aAAa,MAAM,sCAAsC,CAAC;AACjE,OAAO,aAAa,MAAM,sCAAsC,CAAC;AACjE,OAAO,eAAe,MAAM,wCAAwC,CAAC;AAErE,OAAO,IAAI,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,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,KAAK,EACL,SAAS,EACT,QAAQ,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,GAAG,EACH,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,WAAW,EACX,MAAM,EACN,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,cAAc,EACd,KAAK,EACL,YAAY,EACZ,WAAW,EACX,IAAI,EACJ,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,WAAW,EACX,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,aAAa,EACb,OAAO,EACP,cAAc,EACd,GAAG,EACH,OAAO,EACP,UAAU,EACV,YAAY,EACZ,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,MAAM,EAAE,2CAA2C;AACnD,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,MAAM,EACN,WAAW,EACX,SAAS,EACT,kBAAkB,EACrB,CAAC;AAEF,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
|
@@ -32,7 +32,7 @@ export function TabsReplacement(_a) {
|
|
|
32
32
|
var activeTab = _a.activeTab, _b = _a.tabs, tabs = _b === void 0 ? [] : _b, onTabClick = _a.onTabClick, _c = _a.controlled, controlled = _c === void 0 ? false : _c, prefixTabNames = _a.prefixTabNames, _d = _a.className, className = _d === void 0 ? "" : _d, allowScrollbars = _a.allowScrollbars, restProps = __rest(_a, ["activeTab", "tabs", "onTabClick", "controlled", "prefixTabNames", "className", "allowScrollbars"]);
|
|
33
33
|
var usagetype = controlled ? { selectedTabId: activeTab } : { defaultSelectedTabId: activeTab };
|
|
34
34
|
return (React.createElement(BlueprintTabs, __assign({ id: prefixTabNames, onChange: onTabClick, className: className +
|
|
35
|
-
(allowScrollbars ? " " + eccgui + "-tabs--scrollablelist" : "") }, usagetype, restProps), tabs.map(function (tab) {
|
|
35
|
+
(allowScrollbars ? " " + eccgui + "-tabs--scrollablelist" : "") }, usagetype, { renderActiveTabPanelOnly: true }, restProps, { animate: false }), tabs.map(function (tab) {
|
|
36
36
|
return createDeprecatedTab(__assign({ className: prefixTabNames + "-header-" + tab.tabId }, tab));
|
|
37
37
|
})));
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../../src/legacy-replacements/Tabs/Tabs.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,IAAI,IAAI,aAAa,EAErB,GAAG,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AA2BtE,IAAM,mBAAmB,GAAG,UAAC,EAMR;IALjB,IAAA,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,UAAU,gBAAA,EACV,kBAAgB,EAAhB,UAAU,mBAAC,KAAK,KAAA,EACb,aAAa,cALS,iDAM5B,CADmB;IAEhB,IAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAC,UAAU,EAAE,CAAC,EAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACjE,OAAO,oBAAC,GAAG,aACP,GAAG,EAAE,KAAK,EACV,EAAE,EAAE,KAAK,EACT,KAAK,EAAE,QAAQ,EACf,KAAK,EAAE,UAAU,IACb,aAAa,EACb,WAAW,EACjB,CAAC;AACP,CAAC,CAAA;AAED,MAAM,UAAU,eAAe,CAAC,EASpB;IARR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EAAE,EAAE,KAAK,EACT,KAAK,EAAE,QAAQ,EACf,KAAK,EAAE,UAAU,IACb,aAAa,EACb,WAAW,EACjB,CAAC;AACP,CAAC,CAAA;AAED,MAAM,UAAU,eAAe,CAAC,EASpB;IARR,IAAA,SAAS,eAAA,EACT,YAAO,EAAP,IAAI,mBAAC,EAAE,KAAA,EACP,UAAU,gBAAA,EACV,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA,EAClB,cAAc,oBAAA,EACd,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA,EACd,eAAe,qBAAA,EACZ,SAAS,cARgB,mGAS/B,CADe;IAEZ,IAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAA;IACjG,OAAO,CACH,oBAAC,aAAa,aACV,EAAE,EAAE,cAAc,EAClB,QAAQ,EAAE,UAAU,EACpB,SAAS,EACL,SAAS;YACT,CAAC,eAAe,CAAC,CAAC,CAAC,MAAI,MAAM,0BAAuB,CAAC,CAAC,CAAC,EAAE,CAAC,IAE1D,SAAS,IACb,wBAAwB,EAAE,IAAI,IAC1B,SAAS,IACb,OAAO,EAAE,KAAK,KAGV,IAAI,CAAC,GAAG,CAAC,UAAA,GAAG;QACR,OAAO,mBAAmB,YACtB,SAAS,EAAK,cAAc,gBAAW,GAAG,CAAC,KAAO,IAC/C,GAAG,EACR,CAAC;IACP,CAAC,CAAC,CAEM,CACnB,CAAC;AACN,CAAC;AAAA,CAAC"}
|
|
@@ -21,10 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React from 'react';
|
|
24
|
-
import FieldItem from "
|
|
25
|
-
import TextField from "../../components/TextField/TextField.js";
|
|
26
|
-
import TextArea from "../../components/TextField/TextArea.js";
|
|
27
|
-
import IconButton from "../../components/Icon/IconButton.js";
|
|
24
|
+
import { FieldItem, TextField, TextArea, IconButton } from "./../../index.js";
|
|
28
25
|
var extendedOnChange = function (onChangeFn, event) {
|
|
29
26
|
if (typeof onChangeFn === "function") {
|
|
30
27
|
onChangeFn({
|
|
@@ -56,7 +53,7 @@ export function TextFieldReplacement(_a) {
|
|
|
56
53
|
var fieldProperties = {
|
|
57
54
|
className: className,
|
|
58
55
|
messageText: error,
|
|
59
|
-
|
|
56
|
+
labelProps: !!label ? { text: label } : {},
|
|
60
57
|
};
|
|
61
58
|
var inputProperties = {
|
|
62
59
|
className: inputClassName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.js","sourceRoot":"","sources":["../../../../src/legacy-replacements/TextField/TextField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,
|
|
1
|
+
{"version":3,"file":"TextField.js","sourceRoot":"","sources":["../../../../src/legacy-replacements/TextField/TextField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,SAAS,EACT,SAAS,EACT,QAAQ,EACR,UAAU,EACb,MAAM,eAAe,CAAC;AAEvB,IAAM,gBAAgB,GAAG,UAAC,UAAe,EAAE,KAAU;IACjD,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE;QAClC,UAAU,CAAC;YACP,KAAK,OAAA;YACL,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI;YACvB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK;YACzB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK;SAC/B,CAAC,CAAC;KACN;AACL,CAAC,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAAE,EAchC;IAbF,IAAA,SAAS,eAAA,EACT,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,KAAK,WAAA,EAC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,EAAE,QAAQ,CAAC;KAClD,CAAA;IAED,IAAI,CAAC,CAAC,SAAS,EAAE;QACb,OAAO,eAAe,CAAC,SAAS,CAAC;KACpC;IAED,IAAI,SAAS,KAAK,KAAK,IAAI,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,KAAK,EAAE;QAClD,eAAe,CAAC,cAAc,CAAC,GAAG,CAC9B,oBAAC,UAAU,oBACO,UAAU,CAAC,cAAc,CAAC,IAAO,UAAU,CAAC,cAAc,CAAC,eAAY,EACrF,IAAI,EAAC,iBAAiB,EACtB,OAAO,EAAE,YAAY,GACvB,CACL,CAAC;KACL;IAED,IAAM,gBAAgB,GAAG;QACrB,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;QACtC,QAAQ,EAAE,QAAQ;KACrB,CAAC;IAEF,OAAO,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CACxB,oBAAC,SAAS,eACF,gBAAgB,EAChB,eAAe;QAEnB,oBAAC,YAAY,eAAK,UAAU,EAAM,gBAAgB,EAAM,eAAe,EAAI,CACnE,CACf,CAAC,CAAC,CAAC,CACA,oBAAC,YAAY,eAAK,UAAU,EAAM,eAAe,EAAI,CACxD,CAAC;AACN,CAAC"}
|
|
@@ -7,4 +7,5 @@ export { firstNonEmptyLine } from "./ContentBlobToggler/StringPreviewContentBlob
|
|
|
7
7
|
export { ElapsedDateTimeDisplay } from "./DateTimeDisplay/ElapsedDateTimeDisplay";
|
|
8
8
|
export { Markdown } from "./markdown/Markdown";
|
|
9
9
|
export { ReactFlow } from "./react-flow/ReactFlow/ReactFlow";
|
|
10
|
+
export { StickyNoteModal } from "./react-flow/StickyNoteModal/StickyNoteModal";
|
|
10
11
|
export type { IActivityStatus, ActivityAction, IActivityControlLayoutProps, TimeUnits, };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type StickyNoteModalTranslationKeys = "modalTitle" | "noteLabel" | "colorLabel" | "saveButton" | "cancelButton";
|
|
3
|
+
export declare type StickyNoteMetadataType = {
|
|
4
|
+
note: string;
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
export interface StickyNoteModalProps {
|
|
8
|
+
/**
|
|
9
|
+
* sticky data containing the sticky note and the selected color
|
|
10
|
+
*/
|
|
11
|
+
metaData?: StickyNoteMetadataType;
|
|
12
|
+
/**
|
|
13
|
+
* utility to close the sticky note modal when cancelled as well as closed also
|
|
14
|
+
*/
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* utility to save recently entered metadata for sticky
|
|
18
|
+
* note and add on to the canvas
|
|
19
|
+
*/
|
|
20
|
+
onSubmit: (data: StickyNoteMetadataType) => void;
|
|
21
|
+
/**
|
|
22
|
+
* translation utility for language compatibility
|
|
23
|
+
*/
|
|
24
|
+
translate: (key: StickyNoteModalTranslationKeys) => string;
|
|
25
|
+
}
|
|
26
|
+
export declare const StickyNoteModal: React.FC<StickyNoteModalProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { GRAPH_NODE_TYPES } from "./typing";
|
|
2
3
|
declare const edgeTypes: {
|
|
3
4
|
default: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
4
5
|
implicit: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
@@ -10,11 +11,5 @@ declare const edgeTypes: {
|
|
|
10
11
|
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
11
12
|
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeDefault").EdgeDefaultProps) => JSX.Element>;
|
|
12
13
|
};
|
|
13
|
-
declare const nodeTypes:
|
|
14
|
-
|
|
15
|
-
graph: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
16
|
-
class: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
17
|
-
instance: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
18
|
-
property: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
19
|
-
};
|
|
20
|
-
export { edgeTypes, nodeTypes, };
|
|
14
|
+
declare const nodeTypes: Record<GRAPH_NODE_TYPES, React.ReactNode>;
|
|
15
|
+
export { edgeTypes, nodeTypes };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { LINKING_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
|
value: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
@@ -7,12 +8,5 @@ declare const edgeTypes: {
|
|
|
7
8
|
warning: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
8
9
|
danger: import("react").MemoExoticComponent<(edge: import("./../../../extensions/react-flow/edges/EdgeStep").EdgeStepProps) => JSX.Element>;
|
|
9
10
|
};
|
|
10
|
-
declare const nodeTypes:
|
|
11
|
-
|
|
12
|
-
sourcepath: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
13
|
-
targetpath: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
14
|
-
transformation: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
15
|
-
comparator: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
16
|
-
aggregator: import("react").MemoExoticComponent<(node: import("./../../../extensions/react-flow/nodes/NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
17
|
-
};
|
|
18
|
-
export { edgeTypes, nodeTypes, };
|
|
11
|
+
declare const nodeTypes: Record<LINKING_NODE_TYPES, React.ReactNode>;
|
|
12
|
+
export { edgeTypes, nodeTypes };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** node types for linking editor nodes */
|
|
2
|
+
export declare enum LINKING_NODE_TYPES {
|
|
3
|
+
default = "default",
|
|
4
|
+
sourcepath = "sourcepath",
|
|
5
|
+
targetpath = "targetpath",
|
|
6
|
+
transformation = "transformation",
|
|
7
|
+
comparator = "comparator",
|
|
8
|
+
aggregator = "aggregator",
|
|
9
|
+
stickynote = "stickynote"
|
|
10
|
+
}
|
|
11
|
+
/** node types for workflow editor nodes */
|
|
12
|
+
export declare enum WORKFLOW_NODE_TYPES {
|
|
13
|
+
default = "default",
|
|
14
|
+
dataset = "dataset",
|
|
15
|
+
linking = "linking",
|
|
16
|
+
transform = "transform",
|
|
17
|
+
task = "task",
|
|
18
|
+
workflow = "workflow",
|
|
19
|
+
stickynote = "stickynote"
|
|
20
|
+
}
|
|
21
|
+
/** node types for graph editor */
|
|
22
|
+
export declare enum GRAPH_NODE_TYPES {
|
|
23
|
+
default = "default",
|
|
24
|
+
graph = "graph",
|
|
25
|
+
class = "class",
|
|
26
|
+
instance = "instance",
|
|
27
|
+
property = "property"
|
|
28
|
+
}
|
|
@@ -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,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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -8,6 +8,10 @@ export declare type HighlightingState = "success" | "warning" | "danger" | "matc
|
|
|
8
8
|
export interface IHandleProps extends HandleProps {
|
|
9
9
|
category?: "configuration";
|
|
10
10
|
}
|
|
11
|
+
export declare type NodeDimensions = {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
11
15
|
interface NodeContentData<CONTENT_PROPS = any> {
|
|
12
16
|
/**
|
|
13
17
|
* Name of icon that should be displayed before the node label.
|
|
@@ -30,6 +34,10 @@ interface NodeContentData<CONTENT_PROPS = any> {
|
|
|
30
34
|
* Content extension, displayed at the bottom side of a node.
|
|
31
35
|
*/
|
|
32
36
|
contentExtension?: React.ReactElement<NodeContentExtensionProps>;
|
|
37
|
+
/**
|
|
38
|
+
* If submitted then the node will display footer element.
|
|
39
|
+
*/
|
|
40
|
+
footerContent?: React.ReactNode;
|
|
33
41
|
}
|
|
34
42
|
export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends NodeContentData, React.HTMLAttributes<HTMLDivElement> {
|
|
35
43
|
/**
|
|
@@ -117,11 +125,19 @@ export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends N
|
|
|
117
125
|
* If this is allowed scrolling inside a node is not possible.
|
|
118
126
|
*/
|
|
119
127
|
letPassWheelEvents?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* When set to true, allows nodes to be resized by dragging edges and sides
|
|
130
|
+
*/
|
|
131
|
+
onNodeResize?: (data: NodeDimensions) => void;
|
|
132
|
+
/**
|
|
133
|
+
* width and height dimensions of the node (Optional)
|
|
134
|
+
*/
|
|
135
|
+
nodeDimensions?: NodeDimensions;
|
|
120
136
|
}
|
|
121
137
|
export declare const gethighlightedStateClasses: (state: any, baseClassName: any) => any;
|
|
122
138
|
/**
|
|
123
139
|
* The `NodeContent` element manages the main view of how a node is displaying which content.
|
|
124
140
|
* This element cannot be used directly, all properties must be routed through the `data` property of an `elements` property item inside the `ReactFlow` container.
|
|
125
141
|
*/
|
|
126
|
-
export declare function NodeContent<CONTENT_PROPS = any>({ iconName, depiction, typeLabel, label, showExecutionButtons, executionButtons, menuButtons, content, contentExtension, size, minimalShape, highlightedState, handles, adaptHeightForHandleMinCount, adaptSizeIncrement, getMinimalTooltipData, style, showUnconnectableHandles, animated, targetPosition, sourcePosition, isConnectable, selected, letPassWheelEvents, businessData, ...otherProps }: NodeContentProps<any>): JSX.Element;
|
|
142
|
+
export declare function NodeContent<CONTENT_PROPS = any>({ iconName, depiction, typeLabel, label, showExecutionButtons, executionButtons, menuButtons, content, contentExtension, footerContent, size, minimalShape, highlightedState, handles, adaptHeightForHandleMinCount, adaptSizeIncrement, getMinimalTooltipData, style, showUnconnectableHandles, animated, onNodeResize, nodeDimensions, targetPosition, sourcePosition, isConnectable, selected, letPassWheelEvents, businessData, ...otherProps }: NodeContentProps<any>): JSX.Element;
|
|
127
143
|
export {};
|
|
@@ -13,7 +13,7 @@ export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivE
|
|
|
13
13
|
* Click handler to manage the expanded state from outside the the element.
|
|
14
14
|
* This state is not managed automatically by the element itself.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
setExpanded?: (event: React.MouseEvent<HTMLElement>, isCurrentlyExpanded: boolean) => boolean;
|
|
17
17
|
/**
|
|
18
18
|
* Single element or aray of `IconButton` and `Button` elements.
|
|
19
19
|
* They will be displayed beside the closing button under the element content body.
|
|
@@ -31,4 +31,4 @@ export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivE
|
|
|
31
31
|
/**
|
|
32
32
|
* Displays an content area that can be attached to `NodeContent` elements.
|
|
33
33
|
*/
|
|
34
|
-
export declare const NodeContentExtension: ({ children, slideOutOfNode, isExpanded,
|
|
34
|
+
export declare const NodeContentExtension: ({ children, slideOutOfNode, isExpanded, setExpanded, actionButtons, tooltipExpand, tooltipReduce, ...otherProps }: NodeContentExtensionProps) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
import { Node } from "react-flow-renderer";
|
|
3
|
+
interface IStickyNote {
|
|
4
|
+
id: string;
|
|
5
|
+
content: string;
|
|
6
|
+
color: string;
|
|
7
|
+
position: number[];
|
|
8
|
+
dimension: number[];
|
|
9
|
+
}
|
|
10
|
+
declare const utils: {
|
|
11
|
+
generateStyleWithColor: (color: string) => CSSProperties;
|
|
12
|
+
transformNodeToStickyNode: (node: Node<any>) => IStickyNote;
|
|
13
|
+
};
|
|
14
|
+
export default utils;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ declare const Utilities: {
|
|
|
92
92
|
openInNewTab: (event: import("react").MouseEvent<HTMLElement, MouseEvent>, handler?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined, url?: string | undefined) => void;
|
|
93
93
|
};
|
|
94
94
|
export { ApplicationContainer, ApplicationHeader, ApplicationContent, ApplicationSidebarNavigation, ApplicationSidebarToggler, ApplicationTitle, ApplicationToolbar, ApplicationToolbarSection, ApplicationToolbarAction, ApplicationToolbarPanel, AutoSuggestion, AutoSuggestionList, SingleLineCodeEditor, HtmlContentBlock, OverflowText, WhiteSpaceContainer, Highlighter, Grid, GridRow, GridColumn, List, WorkspaceContent, WorkspaceMain, WorkspaceSide, WorkspaceHeader, Menu, MenuItem, MenuDivider, ContextOverlay, ContextMenu, OverviewItem, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemActions, OverviewItemList, TableContainer, Table, TableHead, TableRow, TableBody, TableCell, TableHeader, Icon, IconButton, Label, Button, Checkbox, RadioButton, Tabs, Tab, TabTitle, TextField, TextArea, SearchField, Switch, NumericInput, FieldItem, FieldItemRow, FieldSet, BreadcrumbList, BreadcrumbItem, Modal, SimpleDialog, AlertDialog, Card, CardHeader, CardTitle, CardOptions, CardContent, CardActions, CardActionsAux, Spacing, Divider, Tooltip, Section, SectionHeader, TitlePage, TitleMainsection, TitleSubsection, Accordion, AccordionItem, Toolbar, ToolbarSection, Tag, TagList, Pagination, Notification, Link, Spinner, PropertyName, PropertyValue, PropertyValuePair, PropertyValueList, Toast, HelperClasses, Select, // FIXME: CMEM-3742: include as own element
|
|
95
|
-
MultiSelect, AutoCompleteField, ProgressBar, Iframe, IframeModal, Utilities, LegacyReplacements
|
|
95
|
+
MultiSelect, AutoCompleteField, ProgressBar, Iframe, IframeModal, Utilities, LegacyReplacements };
|
|
96
96
|
export * from "./cmem";
|
|
97
97
|
export * from "./extensions";
|
|
98
98
|
export * from "./components/interfaces";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabsProps as BlueprintTabsProps } from "@blueprintjs/core";
|
|
3
|
-
interface TabsProps extends Omit<BlueprintTabsProps, "vertical" | "onChange" | "large" | "id" | "
|
|
3
|
+
interface TabsProps extends Omit<BlueprintTabsProps, "vertical" | "onChange" | "large" | "id" | "animate"> {
|
|
4
4
|
activeTab: string;
|
|
5
5
|
tabs: DeprecatedTabProps[];
|
|
6
6
|
onTabClick?: ({ props }: any) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eccenca/gui-elements",
|
|
3
3
|
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
|
|
4
|
-
"version": "23.0.0-rc.
|
|
4
|
+
"version": "23.0.0-rc.3-unofficial.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/eccenca/gui-elements",
|
|
7
7
|
"bugs": "https://github.com/eccenca/gui-elements/issues",
|
|
@@ -38,11 +38,13 @@
|
|
|
38
38
|
".": {
|
|
39
39
|
"import": "./dist/esm/index.js",
|
|
40
40
|
"require": "./dist/cjs/index.js"
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"./config/sassOptions": "./scripts/sassConfig.js"
|
|
42
43
|
},
|
|
43
44
|
"files": [
|
|
44
45
|
"dist",
|
|
45
|
-
"src"
|
|
46
|
+
"src",
|
|
47
|
+
"scripts"
|
|
46
48
|
],
|
|
47
49
|
"scripts": {
|
|
48
50
|
"build:clean": "rimraf dist/",
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
"build:cjs": "tsc --project .typescript/tsbuild-cjs.json && ./scripts/fix-cjs-dist",
|
|
51
53
|
"build:all": "yarn build:clean && yarn build:esm && yarn build:cjs",
|
|
52
54
|
"compile": "tsc --build tsconfig.json",
|
|
53
|
-
"compile-scss": "node-
|
|
55
|
+
"compile-scss": "ts-node -O \"{ \\\"esModuleInterop\\\": true, \\\"module\\\": \\\"commonjs\\\"}\" ./scripts/compile-sass.ts",
|
|
54
56
|
"storybook": "start-storybook -p 6006",
|
|
55
57
|
"build-storybook": "build-storybook",
|
|
56
58
|
"test": "jest",
|
|
@@ -60,10 +62,10 @@
|
|
|
60
62
|
"check:package": "pjv --warnings --recommendations"
|
|
61
63
|
},
|
|
62
64
|
"dependencies": {
|
|
63
|
-
"@blueprintjs/colors": "^4.1.
|
|
64
|
-
"@blueprintjs/core": "4.
|
|
65
|
-
"@blueprintjs/popover2": "1.
|
|
66
|
-
"@blueprintjs/select": "4.
|
|
65
|
+
"@blueprintjs/colors": "^4.1.4",
|
|
66
|
+
"@blueprintjs/core": "^4.6.1",
|
|
67
|
+
"@blueprintjs/popover2": "^1.4.3",
|
|
68
|
+
"@blueprintjs/select": "^4.5.1",
|
|
67
69
|
"@carbon/icons": "10.44.0",
|
|
68
70
|
"@carbon/icons-react": "10.44.0",
|
|
69
71
|
"@mavrin/remark-typograf": "^2.2.0",
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
"color": "3.2.1",
|
|
75
77
|
"lodash": "^4.17.21",
|
|
76
78
|
"micromark": "^3.0.10",
|
|
79
|
+
"re-resizable": "6.9.9",
|
|
77
80
|
"react": "^16.13.1",
|
|
78
81
|
"react-codemirror2": "^7.2.1",
|
|
79
82
|
"react-dom": "^16.13.1",
|
|
@@ -119,15 +122,16 @@
|
|
|
119
122
|
"jest": "^26.6.3",
|
|
120
123
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
|
121
124
|
"jest-pnp-resolver": "^1.2.1",
|
|
122
|
-
"node-sass": "
|
|
123
|
-
"node-sass-tilde-importer": "^1.0.2",
|
|
125
|
+
"node-sass-package-importer": "^5.3.2",
|
|
124
126
|
"package-json-validator": "^0.6.3",
|
|
125
127
|
"react-app-polyfill": "^1.0.6",
|
|
126
128
|
"react-lorem-ipsum": "^1.4.9",
|
|
127
129
|
"regenerator-runtime": "^0.13.9",
|
|
128
130
|
"rimraf": "^3.0.2",
|
|
131
|
+
"sass": "^1.53.0",
|
|
129
132
|
"sass-loader": "^10.3.1",
|
|
130
133
|
"style-loader": "0.23.1",
|
|
134
|
+
"ts-node": "^10.9.1",
|
|
131
135
|
"tsc-esm-fix": "^2.13.0",
|
|
132
136
|
"typescript": "4.4.4",
|
|
133
137
|
"webpack": "^4.46.0"
|
|
@@ -137,9 +141,6 @@
|
|
|
137
141
|
"react-dom": ">=16"
|
|
138
142
|
},
|
|
139
143
|
"resolutions": {
|
|
140
|
-
"**/@blueprintjs/core": "4.0.4",
|
|
141
|
-
"**/@blueprintjs/popover2": "1.0.4",
|
|
142
|
-
"**/@blueprintjs/select": "4.3.1",
|
|
143
144
|
"**/@carbon/icons": "10.44.0",
|
|
144
145
|
"**/@carbon/icons-react": "10.44.0",
|
|
145
146
|
"**/carbon-components": "10.44.0",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const sass = require("sass");
|
|
2
|
+
|
|
3
|
+
const functions = {
|
|
4
|
+
'svg-icon($path, $selectors: null)': function(_path, _selectors) {
|
|
5
|
+
return new sass.SassString("unset");
|
|
6
|
+
},
|
|
7
|
+
};
|
|
8
|
+
const sassRenderSyncConfig = {
|
|
9
|
+
quietDeps: true,
|
|
10
|
+
functions,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
module.exports = sassRenderSyncConfig;
|
package/src/_shame.scss
CHANGED
|
@@ -109,3 +109,20 @@ scrollbar-color: #bbb transparent;
|
|
|
109
109
|
background-color: #bbb;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
+
|
|
113
|
+
/*
|
|
114
|
+
CHANGE: default focus behaviour
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:focus,
|
|
119
|
+
input:focus-visible,
|
|
120
|
+
textarea:focus-visible {
|
|
121
|
+
outline: none;
|
|
122
|
+
outline-offset: 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:focus-visible {
|
|
126
|
+
outline: rgba($eccgui-color-accent, $eccgui-opacity-muted) solid 2px;
|
|
127
|
+
outline-offset: 1px;
|
|
128
|
+
}
|
package/src/cmem/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { firstNonEmptyLine } from "./ContentBlobToggler/StringPreviewContentBlob
|
|
|
13
13
|
export { ElapsedDateTimeDisplay } from "./DateTimeDisplay/ElapsedDateTimeDisplay";
|
|
14
14
|
export { Markdown } from "./markdown/Markdown";
|
|
15
15
|
export { ReactFlow } from "./react-flow/ReactFlow/ReactFlow";
|
|
16
|
+
export { StickyNoteModal } from "./react-flow/StickyNoteModal/StickyNoteModal";
|
|
16
17
|
|
|
17
18
|
export type {
|
|
18
19
|
IActivityStatus,
|