@code0-tech/pictor 0.0.0-mvp.2 → 0.0.0-mvp.21
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/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/assets/components/alert/Alert.style.css +1 -0
- package/dist/assets/components/avatar/Avatar.style.css +1 -0
- package/dist/assets/components/badge/Badge.style.css +1 -0
- package/dist/assets/components/button/Button.style.css +1 -0
- package/dist/assets/components/card/Card.style.css +1 -0
- package/dist/assets/components/command/Command.style.css +1 -0
- package/dist/assets/components/d-flow/DFlow.style.css +1 -0
- package/dist/assets/components/d-flow/folder/DFlowFolder.style.css +1 -0
- package/dist/assets/components/d-flow/function/DFlowFunctionDefaultCard.style.css +1 -0
- package/dist/assets/components/d-flow/input/DFlowInputDataType.style.css +1 -0
- package/dist/assets/components/d-flow/minimap/DFlowMiniMap.style.css +1 -0
- package/dist/assets/components/d-flow/validation/DFlowValidation.style.css +1 -0
- package/dist/assets/components/d-layout/DLayout.style.css +1 -0
- package/dist/assets/components/d-resizable/DResizable.style.css +1 -0
- package/dist/assets/components/dialog/Dialog.style.css +1 -0
- package/dist/assets/components/file-tabs/FileTabs.style.css +1 -0
- package/dist/assets/components/form/Input.style.css +1 -0
- package/dist/assets/components/menu/Menu.style.css +1 -0
- package/dist/assets/{ScrollArea.css → components/scroll-area/ScrollArea.style.css} +1 -1
- package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -0
- package/dist/assets/components/spacing/Spacing.style.css +1 -0
- package/dist/assets/components/tab/Tab.style.css +1 -0
- package/dist/assets/components/text/Text.style.css +1 -0
- package/dist/assets/components/toast/Toast.style.css +1 -0
- package/dist/assets/components/tooltip/Tooltip.style.css +1 -0
- package/dist/assets/{DFlow.css → node_modules/@xyflow/react/dist/style.css} +1 -1
- package/dist/components/alert/Alert.d.ts +7 -0
- package/dist/components/alert/Alert.js +38 -0
- package/dist/components/avatar/Avatar.js +2 -2
- package/dist/components/badge/Badge.js +2 -2
- package/dist/components/breadcrumb/Breadcrumb.js +16 -28
- package/dist/components/button/Button.d.ts +2 -1
- package/dist/components/button/Button.js +23 -20
- package/dist/components/button-group/ButtonGroup.js +6 -5
- package/dist/components/card/Card.d.ts +2 -1
- package/dist/components/card/Card.js +25 -22
- package/dist/components/card/CardSection.d.ts +1 -0
- package/dist/components/card/CardSection.js +18 -12
- package/dist/components/col/Col.js +9 -8
- package/dist/components/command/Command.js +19 -18
- package/dist/components/container/Container.js +12 -11
- package/dist/components/d-flow/DFlow.edges.hook.js +9 -10
- package/dist/components/d-flow/DFlow.js +6 -4
- package/dist/components/d-flow/DFlow.nodes.hook.js +18 -19
- package/dist/components/d-flow/control/DFlowControl.js +50 -46
- package/dist/components/d-flow/data-type/DFlowDataType.service.js +89 -5
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +18 -4
- package/dist/components/d-flow/data-type/index.js +1 -1
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.js +220 -4
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.js +227 -4
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeParentRule.js +1 -1
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +241 -5
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.js +8 -6
- package/dist/components/d-flow/edge/DFlowEdge.js +1 -1
- package/dist/components/d-flow/folder/DFlowFolder.js +16 -15
- package/dist/components/d-flow/function/DFlowFunction.return.hook.js +1 -1
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +19 -20
- package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +56 -56
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +1 -1
- package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +1 -1
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +72 -76
- package/dist/components/d-flow/index.js +8 -8
- package/dist/components/d-flow/input/DFlowInputDataType.js +201 -201
- package/dist/components/d-flow/minimap/DFlowMiniMap.js +6 -5
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +61 -62
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +1 -1
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuFooter.js +1 -1
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuSearchBar.js +1 -1
- package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +9 -8
- package/dist/components/d-flow/tab/DFlowTabs.js +1 -1
- package/dist/components/d-flow/validation/DFlowValidation.js +15 -14
- package/dist/components/d-fullscreen/DFullScreen.d.ts +1 -2
- package/dist/components/d-fullscreen/DFullScreen.js +24 -18
- package/dist/components/d-layout/DLayout.js +27 -26
- package/dist/components/d-license/DNamespaceLicense.service.d.ts +11 -0
- package/dist/components/d-license/DNamespaceLicense.service.js +12 -0
- package/dist/components/d-license/index.d.ts +2 -0
- package/dist/components/d-license/index.js +6 -0
- package/dist/components/d-member/DNamespaceMember.service.d.ts +13 -0
- package/dist/components/d-member/DNamespaceMember.service.js +15 -0
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.d.ts +4 -1
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.js +4 -1
- package/dist/components/d-member/index.d.ts +2 -0
- package/dist/components/d-member/index.js +6 -0
- package/dist/components/d-namespace/DNamespace.service.d.ts +1 -1
- package/dist/components/d-namespace/DNamespace.service.js +5 -4
- package/dist/components/d-namespace/index.d.ts +0 -10
- package/dist/components/d-namespace/index.js +4 -33
- package/dist/components/d-organization/DOrganization.service.d.ts +3 -3
- package/dist/components/d-organization/DOrganization.service.js +5 -4
- package/dist/components/d-organization/DOrganization.view.d.ts +4 -1
- package/dist/components/d-organization/DOrganization.view.js +21 -18
- package/dist/components/d-organization/DOrganizationCard.d.ts +3 -3
- package/dist/components/d-organization/DOrganizationCard.js +13 -60
- package/dist/components/d-organization/DOrganizationList.d.ts +11 -0
- package/dist/components/d-organization/DOrganizationList.js +23 -0
- package/dist/components/d-organization/DOrganizatonContent.d.ts +9 -0
- package/dist/components/d-organization/DOrganizatonContent.js +86 -0
- package/dist/components/d-organization/index.d.ts +1 -0
- package/dist/components/d-organization/index.js +15 -10
- package/dist/components/d-project/DNamespaceProject.service.d.ts +12 -0
- package/dist/components/d-project/DNamespaceProject.service.js +12 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.d.ts +4 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.js +13 -10
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectCard.d.ts +1 -1
- package/dist/components/d-project/DNamespaceProjectCard.js +15 -0
- package/dist/components/d-project/DNamespaceProjectContent.d.ts +8 -0
- package/dist/components/d-project/DNamespaceProjectContent.js +70 -0
- package/dist/components/d-project/DNamespaceProjectList.d.ts +11 -0
- package/dist/components/d-project/DNamespaceProjectList.js +25 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectMenu.d.ts +1 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectMenu.js +3 -3
- package/dist/components/d-project/index.d.ts +5 -0
- package/dist/components/d-project/index.js +24 -0
- package/dist/components/d-resizable/DResizable.js +17 -16
- package/dist/components/d-role/DNamespaceRole.service.d.ts +13 -0
- package/dist/components/d-role/DNamespaceRole.service.js +12 -0
- package/dist/components/d-role/index.d.ts +2 -0
- package/dist/components/d-role/index.js +6 -0
- package/dist/components/d-runtime/DRuntime.service.d.ts +5 -2
- package/dist/components/d-runtime/DRuntime.service.js +0 -2
- package/dist/components/d-runtime/DRuntime.view.d.ts +4 -1
- package/dist/components/d-runtime/DRuntime.view.js +6 -3
- package/dist/components/d-runtime/DRuntimeCard.d.ts +7 -0
- package/dist/components/d-runtime/DRuntimeCard.js +17 -0
- package/dist/components/d-runtime/DRuntimeContent.d.ts +7 -0
- package/dist/components/d-runtime/DRuntimeContent.js +40 -0
- package/dist/components/d-runtime/DRuntimeList.d.ts +10 -0
- package/dist/components/d-runtime/DRuntimeList.js +22 -0
- package/dist/components/d-runtime/index.d.ts +2 -0
- package/dist/components/d-runtime/index.js +6 -2
- package/dist/components/d-user/DUser.service.d.ts +1 -3
- package/dist/components/d-user/DUser.service.js +3 -9
- package/dist/components/d-user/DUser.session.hook.d.ts +3 -0
- package/dist/components/d-user/DUser.session.hook.js +16 -0
- package/dist/components/d-user/DUser.view.d.ts +4 -1
- package/dist/components/d-user/DUser.view.js +13 -10
- package/dist/components/d-user/DUserCard.d.ts +7 -0
- package/dist/components/d-user/DUserCard.js +15 -0
- package/dist/components/d-user/DUserContent.d.ts +7 -0
- package/dist/components/d-user/DUserContent.js +84 -0
- package/dist/components/d-user/DUserList.d.ts +10 -0
- package/dist/components/d-user/DUserList.js +22 -0
- package/dist/components/d-user/DUserMenu.js +19 -19
- package/dist/components/d-user/index.d.ts +3 -0
- package/dist/components/d-user/index.js +15 -8
- package/dist/components/dialog/Dialog.js +18 -17
- package/dist/components/file-tabs/FileTabs.js +41 -40
- package/dist/components/flex/Flex.js +2 -2
- package/dist/components/form/CheckboxInput.js +2 -2
- package/dist/components/form/Input.js +1 -1
- package/dist/components/form/InputDescription.js +1 -1
- package/dist/components/form/InputLabel.js +1 -1
- package/dist/components/form/InputMessage.js +1 -1
- package/dist/components/form/InputSuggestion.js +1 -1
- package/dist/components/form/PinInput.js +2 -2
- package/dist/components/form/RadioGroup.js +2 -2
- package/dist/components/form/RadioInput.js +2 -2
- package/dist/components/form/useForm.d.ts +2 -1
- package/dist/components/form/useForm.js +66 -32
- package/dist/components/menu/Menu.js +2 -2
- package/dist/components/quote/Quote.js +32 -36
- package/dist/components/row/Row.js +10 -9
- package/dist/components/scroll-area/ScrollArea.js +18 -17
- package/dist/components/segmented-control/SegmentedControl.js +12 -11
- package/dist/components/spacing/Spacing.d.ts +6 -0
- package/dist/components/spacing/Spacing.js +23 -0
- package/dist/components/tab/Tab.d.ts +11 -0
- package/dist/components/tab/Tab.js +40 -0
- package/dist/components/text/Text.js +2 -2
- package/dist/components/toast/Toast.d.ts +13 -0
- package/dist/components/toast/Toast.js +62 -0
- package/dist/components/tooltip/Tooltip.js +10 -9
- package/dist/index.d.ts +8 -0
- package/dist/index.js +238 -210
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/utils/arrayService.d.ts +2 -2
- package/dist/utils/contextStore.js +1 -1
- package/dist/utils/generics.js +88 -89
- package/dist/utils/reactiveArrayService.d.ts +3 -3
- package/dist/utils/reactiveArrayService.js +52 -42
- package/dist/utils/types.d.ts +2 -2
- package/package.json +31 -30
- package/dist/DFlowDataType.service-Dz8pQUeO.js +0 -793
- package/dist/assets/Avatar.css +0 -1
- package/dist/assets/Badge.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/Card.css +0 -1
- package/dist/assets/Command.css +0 -1
- package/dist/assets/DFlowFolder.css +0 -1
- package/dist/assets/DFlowFunctionDefaultCard.css +0 -1
- package/dist/assets/DFlowInputDataType.css +0 -1
- package/dist/assets/DFlowMiniMap.css +0 -1
- package/dist/assets/DFlowValidation.css +0 -1
- package/dist/assets/DLayout.css +0 -1
- package/dist/assets/DResizable.css +0 -1
- package/dist/assets/Dialog.css +0 -1
- package/dist/assets/FileTabs.css +0 -1
- package/dist/assets/Input.css +0 -1
- package/dist/assets/Menu.css +0 -1
- package/dist/assets/SegmentedControl.css +0 -1
- package/dist/assets/Text.css +0 -1
- package/dist/assets/Tooltip.css +0 -1
- package/dist/compiler-runtime-BNHg76kC.js +0 -36
- package/dist/components/d-namespace/license/DNamespaceLicense.service.d.ts +0 -8
- package/dist/components/d-namespace/license/DNamespaceLicense.service.js +0 -11
- package/dist/components/d-namespace/member/DNamespaceMember.service.d.ts +0 -9
- package/dist/components/d-namespace/member/DNamespaceMember.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProject.service.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProject.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProjectCard.js +0 -57
- package/dist/components/d-namespace/role/DNamespaceRole.service.d.ts +0 -10
- package/dist/components/d-namespace/role/DNamespaceRole.service.js +0 -11
- /package/dist/assets/{Breadcrumb.css → components/breadcrumb/Breadcrumb.style.css} +0 -0
- /package/dist/assets/{ButtonGroup.css → components/button-group/ButtonGroup.style.css} +0 -0
- /package/dist/assets/{Col.css → components/col/Col.style.css} +0 -0
- /package/dist/assets/{Container.css → components/container/Container.style.css} +0 -0
- /package/dist/assets/{DFlowSuggestionSearchInput.css → components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css} +0 -0
- /package/dist/assets/{DFullScreen.css → components/d-fullscreen/DFullScreen.style.css} +0 -0
- /package/dist/assets/{Flex.css → components/flex/Flex.style.css} +0 -0
- /package/dist/assets/{Quote.css → components/quote/Quote.style.css} +0 -0
- /package/dist/assets/{Row.css → components/row/Row.style.css} +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.d.ts +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.js +0 -0
- /package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.d.ts +0 -0
- /package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.js +0 -0
|
@@ -1,7 +1,243 @@
|
|
|
1
|
-
import "./DFlowDataTypeRule.js";
|
|
2
|
-
import "
|
|
3
|
-
import "../DFlowDataType.validation.
|
|
4
|
-
|
|
1
|
+
import { genericMapping as I, staticImplements as A } from "./DFlowDataTypeRule.js";
|
|
2
|
+
import { useValidateDataType as T } from "../DFlowDataType.validation.type.js";
|
|
3
|
+
import { useValidateValue as v } from "../DFlowDataType.validation.value.js";
|
|
4
|
+
function P(t, e, r, n) {
|
|
5
|
+
var i = k(), a = e(function(s) {
|
|
6
|
+
i.initializeInstanceElements(s, o.elements);
|
|
7
|
+
}, r), o = i.decorateClass(x(a.d.map(_)), t);
|
|
8
|
+
return i.initializeClassElements(a.F, o.elements), i.runClassFinishers(a.F, o.finishers);
|
|
9
|
+
}
|
|
10
|
+
function k() {
|
|
11
|
+
k = function() {
|
|
12
|
+
return t;
|
|
13
|
+
};
|
|
14
|
+
var t = { elementsDefinitionOrder: [["method"], ["field"]], initializeInstanceElements: function(e, r) {
|
|
15
|
+
["method", "field"].forEach(function(n) {
|
|
16
|
+
r.forEach(function(i) {
|
|
17
|
+
i.kind === n && i.placement === "own" && this.defineClassElement(e, i);
|
|
18
|
+
}, this);
|
|
19
|
+
}, this);
|
|
20
|
+
}, initializeClassElements: function(e, r) {
|
|
21
|
+
var n = e.prototype;
|
|
22
|
+
["method", "field"].forEach(function(i) {
|
|
23
|
+
r.forEach(function(a) {
|
|
24
|
+
var o = a.placement;
|
|
25
|
+
if (a.kind === i && (o === "static" || o === "prototype")) {
|
|
26
|
+
var s = o === "static" ? e : n;
|
|
27
|
+
this.defineClassElement(s, a);
|
|
28
|
+
}
|
|
29
|
+
}, this);
|
|
30
|
+
}, this);
|
|
31
|
+
}, defineClassElement: function(e, r) {
|
|
32
|
+
var n = r.descriptor;
|
|
33
|
+
if (r.kind === "field") {
|
|
34
|
+
var i = r.initializer;
|
|
35
|
+
n = { enumerable: n.enumerable, writable: n.writable, configurable: n.configurable, value: i === void 0 ? void 0 : i.call(e) };
|
|
36
|
+
}
|
|
37
|
+
Object.defineProperty(e, r.key, n);
|
|
38
|
+
}, decorateClass: function(e, r) {
|
|
39
|
+
var n = [], i = [], a = { static: [], prototype: [], own: [] };
|
|
40
|
+
if (e.forEach(function(s) {
|
|
41
|
+
this.addElementPlacement(s, a);
|
|
42
|
+
}, this), e.forEach(function(s) {
|
|
43
|
+
if (!y(s)) return n.push(s);
|
|
44
|
+
var l = this.decorateElement(s, a);
|
|
45
|
+
n.push(l.element), n.push.apply(n, l.extras), i.push.apply(i, l.finishers);
|
|
46
|
+
}, this), !r) return { elements: n, finishers: i };
|
|
47
|
+
var o = this.decorateConstructor(n, r);
|
|
48
|
+
return i.push.apply(i, o.finishers), o.finishers = i, o;
|
|
49
|
+
}, addElementPlacement: function(e, r, n) {
|
|
50
|
+
var i = r[e.placement];
|
|
51
|
+
if (!n && i.indexOf(e.key) !== -1) throw new TypeError("Duplicated element (" + e.key + ")");
|
|
52
|
+
i.push(e.key);
|
|
53
|
+
}, decorateElement: function(e, r) {
|
|
54
|
+
for (var n = [], i = [], a = e.decorators, o = a.length - 1; o >= 0; o--) {
|
|
55
|
+
var s = r[e.placement];
|
|
56
|
+
s.splice(s.indexOf(e.key), 1);
|
|
57
|
+
var l = this.fromElementDescriptor(e), p = this.toElementFinisherExtras((0, a[o])(l) || l);
|
|
58
|
+
e = p.element, this.addElementPlacement(e, r), p.finisher && i.push(p.finisher);
|
|
59
|
+
var c = p.extras;
|
|
60
|
+
if (c) {
|
|
61
|
+
for (var d = 0; d < c.length; d++) this.addElementPlacement(c[d], r);
|
|
62
|
+
n.push.apply(n, c);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return { element: e, finishers: i, extras: n };
|
|
66
|
+
}, decorateConstructor: function(e, r) {
|
|
67
|
+
for (var n = [], i = r.length - 1; i >= 0; i--) {
|
|
68
|
+
var a = this.fromClassDescriptor(e), o = this.toClassDescriptor((0, r[i])(a) || a);
|
|
69
|
+
if (o.finisher !== void 0 && n.push(o.finisher), o.elements !== void 0) {
|
|
70
|
+
e = o.elements;
|
|
71
|
+
for (var s = 0; s < e.length - 1; s++) for (var l = s + 1; l < e.length; l++) if (e[s].key === e[l].key && e[s].placement === e[l].placement) throw new TypeError("Duplicated element (" + e[s].key + ")");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return { elements: e, finishers: n };
|
|
75
|
+
}, fromElementDescriptor: function(e) {
|
|
76
|
+
var r = { kind: e.kind, key: e.key, placement: e.placement, descriptor: e.descriptor };
|
|
77
|
+
return Object.defineProperty(r, Symbol.toStringTag, { value: "Descriptor", configurable: !0 }), e.kind === "field" && (r.initializer = e.initializer), r;
|
|
78
|
+
}, toElementDescriptors: function(e) {
|
|
79
|
+
if (e !== void 0) return R(e).map(function(r) {
|
|
80
|
+
var n = this.toElementDescriptor(r);
|
|
81
|
+
return this.disallowProperty(r, "finisher", "An element descriptor"), this.disallowProperty(r, "extras", "An element descriptor"), n;
|
|
82
|
+
}, this);
|
|
83
|
+
}, toElementDescriptor: function(e) {
|
|
84
|
+
var r = e.kind + "";
|
|
85
|
+
if (r !== "method" && r !== "field") throw new TypeError(`An element descriptor's .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "` + r + '"');
|
|
86
|
+
var n = E(e.key), i = e.placement + "";
|
|
87
|
+
if (i !== "static" && i !== "prototype" && i !== "own") throw new TypeError(`An element descriptor's .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "` + i + '"');
|
|
88
|
+
var a = e.descriptor;
|
|
89
|
+
this.disallowProperty(e, "elements", "An element descriptor");
|
|
90
|
+
var o = { kind: r, key: n, placement: i, descriptor: Object.assign({}, a) };
|
|
91
|
+
return r !== "field" ? this.disallowProperty(e, "initializer", "A method descriptor") : (this.disallowProperty(a, "get", "The property descriptor of a field descriptor"), this.disallowProperty(a, "set", "The property descriptor of a field descriptor"), this.disallowProperty(a, "value", "The property descriptor of a field descriptor"), o.initializer = e.initializer), o;
|
|
92
|
+
}, toElementFinisherExtras: function(e) {
|
|
93
|
+
return { element: this.toElementDescriptor(e), finisher: b(e, "finisher"), extras: this.toElementDescriptors(e.extras) };
|
|
94
|
+
}, fromClassDescriptor: function(e) {
|
|
95
|
+
var r = { kind: "class", elements: e.map(this.fromElementDescriptor, this) };
|
|
96
|
+
return Object.defineProperty(r, Symbol.toStringTag, { value: "Descriptor", configurable: !0 }), r;
|
|
97
|
+
}, toClassDescriptor: function(e) {
|
|
98
|
+
var r = e.kind + "";
|
|
99
|
+
if (r !== "class") throw new TypeError(`A class descriptor's .kind property must be "class", but a decorator created a class descriptor with .kind "` + r + '"');
|
|
100
|
+
this.disallowProperty(e, "key", "A class descriptor"), this.disallowProperty(e, "placement", "A class descriptor"), this.disallowProperty(e, "descriptor", "A class descriptor"), this.disallowProperty(e, "initializer", "A class descriptor"), this.disallowProperty(e, "extras", "A class descriptor");
|
|
101
|
+
var n = b(e, "finisher");
|
|
102
|
+
return { elements: this.toElementDescriptors(e.elements), finisher: n };
|
|
103
|
+
}, runClassFinishers: function(e, r) {
|
|
104
|
+
for (var n = 0; n < r.length; n++) {
|
|
105
|
+
var i = (0, r[n])(e);
|
|
106
|
+
if (i !== void 0) {
|
|
107
|
+
if (typeof i != "function") throw new TypeError("Finishers must return a constructor.");
|
|
108
|
+
e = i;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return e;
|
|
112
|
+
}, disallowProperty: function(e, r, n) {
|
|
113
|
+
if (e[r] !== void 0) throw new TypeError(n + " can't have a ." + r + " property.");
|
|
114
|
+
} };
|
|
115
|
+
return t;
|
|
116
|
+
}
|
|
117
|
+
function _(t) {
|
|
118
|
+
var e, r = E(t.key);
|
|
119
|
+
t.kind === "method" ? e = { value: t.value, writable: !0, configurable: !0, enumerable: !1 } : t.kind === "get" ? e = { get: t.value, configurable: !0, enumerable: !1 } : t.kind === "set" ? e = { set: t.value, configurable: !0, enumerable: !1 } : t.kind === "field" && (e = { configurable: !0, writable: !0, enumerable: !0 });
|
|
120
|
+
var n = { kind: t.kind === "field" ? "field" : "method", key: r, placement: t.static ? "static" : t.kind === "field" ? "own" : "prototype", descriptor: e };
|
|
121
|
+
return t.decorators && (n.decorators = t.decorators), t.kind === "field" && (n.initializer = t.value), n;
|
|
122
|
+
}
|
|
123
|
+
function C(t, e) {
|
|
124
|
+
t.descriptor.get !== void 0 ? e.descriptor.get = t.descriptor.get : e.descriptor.set = t.descriptor.set;
|
|
125
|
+
}
|
|
126
|
+
function x(t) {
|
|
127
|
+
for (var e = [], r = function(o) {
|
|
128
|
+
return o.kind === "method" && o.key === a.key && o.placement === a.placement;
|
|
129
|
+
}, n = 0; n < t.length; n++) {
|
|
130
|
+
var i, a = t[n];
|
|
131
|
+
if (a.kind === "method" && (i = e.find(r)))
|
|
132
|
+
if (g(a.descriptor) || g(i.descriptor)) {
|
|
133
|
+
if (y(a) || y(i)) throw new ReferenceError("Duplicated methods (" + a.key + ") can't be decorated.");
|
|
134
|
+
i.descriptor = a.descriptor;
|
|
135
|
+
} else {
|
|
136
|
+
if (y(a)) {
|
|
137
|
+
if (y(i)) throw new ReferenceError("Decorators can't be placed on different accessors with for the same property (" + a.key + ").");
|
|
138
|
+
i.decorators = a.decorators;
|
|
139
|
+
}
|
|
140
|
+
C(a, i);
|
|
141
|
+
}
|
|
142
|
+
else e.push(a);
|
|
143
|
+
}
|
|
144
|
+
return e;
|
|
145
|
+
}
|
|
146
|
+
function y(t) {
|
|
147
|
+
return t.decorators && t.decorators.length;
|
|
148
|
+
}
|
|
149
|
+
function g(t) {
|
|
150
|
+
return t !== void 0 && !(t.value === void 0 && t.writable === void 0);
|
|
151
|
+
}
|
|
152
|
+
function b(t, e) {
|
|
153
|
+
var r = t[e];
|
|
154
|
+
if (r !== void 0 && typeof r != "function") throw new TypeError("Expected '" + e + "' to be a function");
|
|
155
|
+
return r;
|
|
156
|
+
}
|
|
157
|
+
function E(t) {
|
|
158
|
+
var e = F(t, "string");
|
|
159
|
+
return typeof e == "symbol" ? e : e + "";
|
|
160
|
+
}
|
|
161
|
+
function F(t, e) {
|
|
162
|
+
if (typeof t != "object" || !t) return t;
|
|
163
|
+
var r = t[Symbol.toPrimitive];
|
|
164
|
+
if (r !== void 0) {
|
|
165
|
+
var n = r.call(t, e);
|
|
166
|
+
if (typeof n != "object") return n;
|
|
167
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
168
|
+
}
|
|
169
|
+
return (e === "string" ? String : Number)(t);
|
|
170
|
+
}
|
|
171
|
+
function R(t) {
|
|
172
|
+
return j(t) || O(t) || z(t) || S();
|
|
173
|
+
}
|
|
174
|
+
function S() {
|
|
175
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
176
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
177
|
+
}
|
|
178
|
+
function z(t, e) {
|
|
179
|
+
if (t) {
|
|
180
|
+
if (typeof t == "string") return w(t, e);
|
|
181
|
+
var r = {}.toString.call(t).slice(8, -1);
|
|
182
|
+
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? w(t, e) : void 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function w(t, e) {
|
|
186
|
+
(e == null || e > t.length) && (e = t.length);
|
|
187
|
+
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
|
188
|
+
return n;
|
|
189
|
+
}
|
|
190
|
+
function O(t) {
|
|
191
|
+
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
192
|
+
}
|
|
193
|
+
function j(t) {
|
|
194
|
+
if (Array.isArray(t)) return t;
|
|
195
|
+
}
|
|
196
|
+
let B = P([A()], function(t) {
|
|
197
|
+
class e {
|
|
198
|
+
constructor() {
|
|
199
|
+
t(this);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return {
|
|
203
|
+
F: e,
|
|
204
|
+
d: [{
|
|
205
|
+
kind: "method",
|
|
206
|
+
static: !0,
|
|
207
|
+
key: "validate",
|
|
208
|
+
value: function(n, i, a, o, s) {
|
|
209
|
+
const l = a?.get(i?.dataTypeIdentifier?.genericKey), p = a?.get(i?.dataTypeIdentifier?.genericKey)?.sourceDataTypeIdentifiers, c = a?.get(i?.dataTypeIdentifier?.genericKey)?.genericCombinationStrategies;
|
|
210
|
+
if (n.__typename != "NodeFunction") return !1;
|
|
211
|
+
const d = D(n, s);
|
|
212
|
+
if (!d) return !1;
|
|
213
|
+
if (i?.dataTypeIdentifier?.genericKey && !l && !o?.getDataType(i.dataTypeIdentifier)) return !0;
|
|
214
|
+
if (!(o?.getDataType(i.dataTypeIdentifier) || l) || l && !o?.hasDataTypes(p) || l && (c?.length ?? 0) + 1 != p.length) return !1;
|
|
215
|
+
if (d?.parameters?.nodes[0]?.value.__typename === "ReferenceValue") {
|
|
216
|
+
if (i?.dataTypeIdentifier?.genericKey && l && p) {
|
|
217
|
+
const u = p.map((f) => T(o?.getDataType(f), o?.getDataType((d?.parameters?.nodes[0]?.value).dataTypeIdentifier)));
|
|
218
|
+
return u.length > 1 ? u.reduce((f, m, h) => c && c[h - 1].type == "OR" ? f || m : f && m) : u[0];
|
|
219
|
+
}
|
|
220
|
+
if (i?.dataTypeIdentifier?.dataType)
|
|
221
|
+
return T(o?.getDataType(i.dataTypeIdentifier), o?.getDataType(d?.parameters?.nodes[0]?.value?.dataTypeIdentifier));
|
|
222
|
+
} else if (d?.parameters?.nodes[0]?.value?.__typename != "NodeFunction") {
|
|
223
|
+
if (i?.dataTypeIdentifier?.genericKey && l && p) {
|
|
224
|
+
const u = p.map((f) => v(d?.parameters?.nodes[0]?.value, o?.getDataType(f), s, f.genericType.genericMappers));
|
|
225
|
+
return u.length > 1 ? u.reduce((f, m, h) => c && c[h - 1].type == "OR" ? f || m : f && m) : u[0];
|
|
226
|
+
}
|
|
227
|
+
return i?.dataTypeIdentifier?.dataType ? v(d?.parameters?.nodes[0]?.value, o?.getDataType(i.dataTypeIdentifier)) : v(d?.parameters?.nodes[0]?.value, o?.getDataType(i.dataTypeIdentifier), s, I(i.dataTypeIdentifier?.genericType?.genericMappers, a));
|
|
228
|
+
}
|
|
229
|
+
return !1;
|
|
230
|
+
}
|
|
231
|
+
}]
|
|
232
|
+
};
|
|
233
|
+
});
|
|
234
|
+
const D = (t, e) => {
|
|
235
|
+
if (t.functionDefinition?.runtimeFunctionDefinition?.identifier === "RETURN") return t;
|
|
236
|
+
if (e.getNodeById(t.nextNodeId)) {
|
|
237
|
+
const r = D(e.getNodeById(t.nextNodeId).json(), e);
|
|
238
|
+
if (r) return r;
|
|
239
|
+
}
|
|
240
|
+
};
|
|
5
241
|
export {
|
|
6
|
-
|
|
242
|
+
B as DFlowDataTypeReturnTypeRule
|
|
7
243
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import "./DFlowDataTypeRegexRule.js";
|
|
2
|
-
import "./DFlowDataTypeNumberRangeRule.js";
|
|
3
|
-
import "./DFlowDataTypeItemOfCollectionRule.js";
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
1
|
+
import { DFlowDataTypeRegexRule as e } from "./DFlowDataTypeRegexRule.js";
|
|
2
|
+
import { DFlowDataTypeRangeRule as o } from "./DFlowDataTypeNumberRangeRule.js";
|
|
3
|
+
import { DFlowDataTypeItemOfCollectionRule as t } from "./DFlowDataTypeItemOfCollectionRule.js";
|
|
4
|
+
import { DFlowDataTypeContainsTypeRule as a } from "./DFlowDataTypeContainsTypeRule.js";
|
|
5
|
+
import { DFlowDataTypeContainsKeyRule as p } from "./DFlowDataTypeContainsKeyRule.js";
|
|
6
|
+
import { DFlowDataTypeReturnTypeRule as l } from "./DFlowDataTypeReturnTypeRule.js";
|
|
7
|
+
const i = /* @__PURE__ */ new Map([["REGEX", e], ["NUMBER_RANGE", o], ["ITEM_OF_COLLECTION", t], ["CONTAINS_TYPE", a], ["CONTAINS_KEY", p], ["RETURN_TYPE", l]]);
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
i as RuleMap
|
|
8
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c, jsxs as Y, Fragment as B } from "react/jsx-runtime";
|
|
2
|
-
import { c as S } from "../../../compiler-runtime
|
|
2
|
+
import { c as S } from "../../../_virtual/compiler-runtime.js";
|
|
3
3
|
import { Position as m, getSmoothStepPath as X, EdgeLabelRenderer as $, BaseEdge as j } from "@xyflow/react";
|
|
4
4
|
import { memo as v } from "react";
|
|
5
5
|
import { Badge as y } from "../../badge/Badge.js";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs as g, Fragment as O, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as N } from "../../../compiler-runtime
|
|
2
|
+
import { c as N } from "../../../_virtual/compiler-runtime.js";
|
|
3
|
+
import '../../../assets/components/d-flow/folder/DFlowFolder.style.css';/* empty css */
|
|
3
4
|
import S from "react";
|
|
4
5
|
import { mergeCode0Props as D } from "../../../utils/utils.js";
|
|
5
6
|
import { IconChevronDown as $, IconChevronRight as x, IconFolder as A } from "@tabler/icons-react";
|
|
6
7
|
import { useService as I, useStore as k } from "../../../utils/contextStore.js";
|
|
7
8
|
import { DFlowReactiveService as b } from "../DFlow.service.js";
|
|
8
9
|
import { ScrollArea as z, ScrollAreaViewport as R, ScrollAreaScrollbar as j, ScrollAreaThumb as M } from "../../scroll-area/ScrollArea.js";
|
|
9
|
-
|
|
10
|
+
const U = (f) => {
|
|
10
11
|
const {
|
|
11
12
|
flowId: e
|
|
12
|
-
} = f, a = I(b), m = k(b), h = (n) => n.replace(/^\/+|\/+$/g, "").split("/").filter(Boolean), d = S.useMemo(() => (a.values?.() ?? []).filter((l) => !!l?.name), [m]),
|
|
13
|
+
} = f, a = I(b), m = k(b), h = (n) => n.replace(/^\/+|\/+$/g, "").split("/").filter(Boolean), d = S.useMemo(() => (a.values?.() ?? []).filter((l) => !!l?.name), [m]), p = S.useMemo(() => {
|
|
13
14
|
const n = d.find((l) => l.id === e);
|
|
14
15
|
return n?.name ? h(n.name) : [];
|
|
15
|
-
}, [d, e]),
|
|
16
|
+
}, [d, e]), u = S.useMemo(() => {
|
|
16
17
|
const n = {
|
|
17
18
|
name: "",
|
|
18
19
|
path: "",
|
|
@@ -37,7 +38,7 @@ import '../../../assets/DFlowFolder.css';const Q = (f) => {
|
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
return n;
|
|
40
|
-
}, [d]), v = S.useCallback((n) => n ? n.split("/").filter(Boolean).every((i, o) =>
|
|
41
|
+
}, [d]), v = S.useCallback((n) => n ? n.split("/").filter(Boolean).every((i, o) => p[o] === i) : !1, [p]), _ = S.useCallback((n) => {
|
|
41
42
|
const l = Object.values(n), i = l.filter((t) => !t.flow), o = l.filter((t) => !!t.flow);
|
|
42
43
|
return i.sort((t, c) => t.name.localeCompare(c.name)), o.sort((t, c) => t.name.localeCompare(c.name)), /* @__PURE__ */ g(O, { children: [
|
|
43
44
|
i.map((t) => /* @__PURE__ */ s(P, { name: t.name, defaultOpen: v(t.path), children: _(t.children) }, t.path)),
|
|
@@ -45,7 +46,7 @@ import '../../../assets/DFlowFolder.css';const Q = (f) => {
|
|
|
45
46
|
] });
|
|
46
47
|
}, [e, v]);
|
|
47
48
|
return /* @__PURE__ */ g(z, { h: "100%", children: [
|
|
48
|
-
/* @__PURE__ */ s(R, { children: /* @__PURE__ */ s("div", { className: "d-folder__root", children: _(
|
|
49
|
+
/* @__PURE__ */ s(R, { children: /* @__PURE__ */ s("div", { className: "d-folder__root", children: _(u.children) }) }),
|
|
49
50
|
/* @__PURE__ */ s(j, { orientation: "vertical", children: /* @__PURE__ */ s(M, {}) })
|
|
50
51
|
] });
|
|
51
52
|
}, P = (f) => {
|
|
@@ -54,14 +55,14 @@ import '../../../assets/DFlowFolder.css';const Q = (f) => {
|
|
|
54
55
|
defaultOpen: m,
|
|
55
56
|
children: h,
|
|
56
57
|
...d
|
|
57
|
-
} = f,
|
|
58
|
+
} = f, p = m === void 0 ? !1 : m, [u, v] = S.useState(p);
|
|
58
59
|
let _;
|
|
59
60
|
e[0] !== v ? (_ = () => v(B), e[0] = v, e[1] = _) : _ = e[1];
|
|
60
61
|
const n = D("d-folder", d);
|
|
61
62
|
let l;
|
|
62
63
|
e[2] !== v ? (l = () => v(E), e[2] = v, e[3] = l) : l = e[3];
|
|
63
64
|
let i;
|
|
64
|
-
e[4] !==
|
|
65
|
+
e[4] !== u ? (i = u ? /* @__PURE__ */ s($, { size: 12 }) : /* @__PURE__ */ s(x, { size: 12 }), e[4] = u, e[5] = i) : i = e[5];
|
|
65
66
|
let o;
|
|
66
67
|
e[6] !== l || e[7] !== i ? (o = /* @__PURE__ */ s("span", { onClick: l, className: "d-folder__status", children: i }), e[6] = l, e[7] = i, e[8] = o) : o = e[8];
|
|
67
68
|
let t;
|
|
@@ -74,7 +75,7 @@ import '../../../assets/DFlowFolder.css';const Q = (f) => {
|
|
|
74
75
|
t,
|
|
75
76
|
c
|
|
76
77
|
] }), e[12] = _, e[13] = n, e[14] = o, e[15] = c, e[16] = r) : r = e[16];
|
|
77
|
-
const F =
|
|
78
|
+
const F = u ? h : null;
|
|
78
79
|
let w;
|
|
79
80
|
e[17] !== F ? (w = /* @__PURE__ */ s("div", { className: "d-folder__content", children: F }), e[17] = F, e[18] = w) : w = e[18];
|
|
80
81
|
let C;
|
|
@@ -97,13 +98,13 @@ import '../../../assets/DFlowFolder.css';const Q = (f) => {
|
|
|
97
98
|
a = e[1], m = e[2], h = e[3];
|
|
98
99
|
let d;
|
|
99
100
|
e[4] !== a ? (d = a ? /* @__PURE__ */ s("span", { className: "d-folder__item-icon", children: a }) : null, e[4] = a, e[5] = d) : d = e[5];
|
|
100
|
-
let u;
|
|
101
|
-
e[6] !== m ? (u = /* @__PURE__ */ s("span", { className: "d-folder__item-name", children: m }), e[6] = m, e[7] = u) : u = e[7];
|
|
102
101
|
let p;
|
|
103
|
-
|
|
102
|
+
e[6] !== m ? (p = /* @__PURE__ */ s("span", { className: "d-folder__item-name", children: m }), e[6] = m, e[7] = p) : p = e[7];
|
|
103
|
+
let u;
|
|
104
|
+
return e[8] !== h || e[9] !== d || e[10] !== p ? (u = /* @__PURE__ */ g("div", { ...h, children: [
|
|
104
105
|
d,
|
|
105
|
-
|
|
106
|
-
] }), e[8] = h, e[9] = d, e[10] =
|
|
106
|
+
p
|
|
107
|
+
] }), e[8] = h, e[9] = d, e[10] = p, e[11] = u) : u = e[11], u;
|
|
107
108
|
};
|
|
108
109
|
function B(f) {
|
|
109
110
|
return !f;
|
|
@@ -112,7 +113,7 @@ function E(f) {
|
|
|
112
113
|
return !f;
|
|
113
114
|
}
|
|
114
115
|
export {
|
|
115
|
-
|
|
116
|
+
U as DFlowFolder,
|
|
116
117
|
P as DFlowFolderGroup,
|
|
117
118
|
y as DFlowFolderItem
|
|
118
119
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DFlowDataTypeReactiveService as n } from "../data-type/DFlowDataType.service.js";
|
|
2
2
|
import { resolveGenericKeys as p, replaceGenericKeysInType as i } from "../../../utils/generics.js";
|
|
3
3
|
import { useService as s } from "../../../utils/contextStore.js";
|
|
4
4
|
const c = (e, o, r) => {
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { DataTypeView as m } from "../data-type/DFlowDataType.view.js";
|
|
2
|
-
import { InspectionSeverity as
|
|
3
|
-
import { resolveGenericKeys as
|
|
4
|
-
import { useReturnType as
|
|
5
|
-
import { useService as
|
|
6
|
-
import { DFlowFunctionReactiveService as
|
|
7
|
-
import { DataTypeVariant as h } from "@code0-tech/sagittarius-graphql-types";
|
|
2
|
+
import { InspectionSeverity as G } from "../../../utils/inspection.js";
|
|
3
|
+
import { resolveGenericKeys as N, replaceGenericKeysInDataTypeObject as g, replaceGenericKeysInType as D } from "../../../utils/generics.js";
|
|
4
|
+
import { useReturnType as I } from "./DFlowFunction.return.hook.js";
|
|
5
|
+
import { useService as V } from "../../../utils/contextStore.js";
|
|
6
|
+
import { DFlowFunctionReactiveService as E } from "./DFlowFunction.service.js";
|
|
8
7
|
import { useValidateDataType as T } from "../data-type/DFlowDataType.validation.type.js";
|
|
9
|
-
import {
|
|
10
|
-
import { DFlowReactiveService as
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
const n = d[
|
|
8
|
+
import { useValidateValue as l } from "../data-type/DFlowDataType.validation.value.js";
|
|
9
|
+
import { DFlowReactiveService as M } from "../DFlow.service.js";
|
|
10
|
+
const q = (f, d, a, h) => {
|
|
11
|
+
const R = V(E), y = V(M).getById(h), u = N(f, d, a, y), w = f.parameterDefinitions ?? [], v = f.genericKeys ?? [], r = [];
|
|
12
|
+
return w.forEach((s, F) => {
|
|
13
|
+
const n = d[F];
|
|
15
14
|
if (!n) return;
|
|
16
|
-
const p = s.dataTypeIdentifier, e = a.getDataType(p), _ = n.__typename === "NodeFunction" && e?.variant !=
|
|
15
|
+
const p = s.dataTypeIdentifier, e = a.getDataType(p), _ = n.__typename === "NodeFunction" && e?.variant != "NODE" ? I(R.getById(n.functionDefinition?.id), n.parameters?.nodes?.map((o) => o?.value)) : a.getTypeFromValue(n, y), t = a.getDataType(_), K = e && p?.genericType || p?.genericKey && v.includes(p.genericKey);
|
|
17
16
|
let i = !0;
|
|
18
|
-
if (
|
|
17
|
+
if (K) {
|
|
19
18
|
if (_?.genericType && e) {
|
|
20
19
|
if (n.__typename === "ReferenceValue" || n.__typename === "NodeFunction") {
|
|
21
|
-
const o = new m(g(e.json, u)),
|
|
22
|
-
i = T(o,
|
|
20
|
+
const o = new m(g(e.json, u)), j = new m(g(t?.json, u));
|
|
21
|
+
i = T(o, j), i || r.push(c(s.id, e, t));
|
|
23
22
|
} else {
|
|
24
23
|
const o = D(p, u);
|
|
25
24
|
i = l(n, e, y, o?.genericType?.genericMappers), i || r.push(c(s.id, e, t));
|
|
26
25
|
}
|
|
27
26
|
return;
|
|
28
27
|
}
|
|
29
|
-
if (p?.genericKey &&
|
|
28
|
+
if (p?.genericKey && v.includes(p?.genericKey)) {
|
|
30
29
|
if (n.__typename != "ReferenceValue") {
|
|
31
30
|
const o = D(p, u);
|
|
32
31
|
i = l(n, a.getDataType(o), y, o.genericType?.genericMappers), i || r.push(c(s.id, e, t));
|
|
@@ -54,7 +53,7 @@ const C = (f, d, a, R) => {
|
|
|
54
53
|
return;
|
|
55
54
|
}
|
|
56
55
|
if (t) {
|
|
57
|
-
(n.__typename === "ReferenceValue" || n.__typename === "NodeFunction") && e.variant !==
|
|
56
|
+
(n.__typename === "ReferenceValue" || n.__typename === "NodeFunction") && e.variant !== "NODE" ? (i = T(e, t), i || r.push(c(s.id, e, t))) : (i = l(n, e), i || r.push(c(s.id, e, t)));
|
|
58
57
|
return;
|
|
59
58
|
}
|
|
60
59
|
}
|
|
@@ -62,7 +61,7 @@ const C = (f, d, a, R) => {
|
|
|
62
61
|
}), r.length > 0 ? r : null;
|
|
63
62
|
}, c = (f, d, a) => ({
|
|
64
63
|
parameterId: f,
|
|
65
|
-
type:
|
|
64
|
+
type: G.ERROR,
|
|
66
65
|
message: {
|
|
67
66
|
nodes: [{
|
|
68
67
|
code: "en-US",
|
|
@@ -71,5 +70,5 @@ const C = (f, d, a, R) => {
|
|
|
71
70
|
}
|
|
72
71
|
});
|
|
73
72
|
export {
|
|
74
|
-
|
|
73
|
+
q as useFunctionValidation
|
|
75
74
|
};
|