@code0-tech/pictor 0.0.0-mvp.3 → 0.0.0-mvp.5
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/d-flow/DFlow.style.css +1 -0
- package/dist/assets/{DFlow.css → node_modules/@xyflow/react/dist/style.css} +1 -1
- package/dist/components/avatar/Avatar.js +2 -2
- package/dist/components/badge/Badge.js +2 -2
- package/dist/components/breadcrumb/Breadcrumb.js +17 -16
- package/dist/components/button/Button.js +6 -5
- package/dist/components/button-group/ButtonGroup.js +6 -5
- package/dist/components/card/Card.js +2 -2
- package/dist/components/card/CardSection.js +1 -1
- 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 +1 -1
- 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 +51 -51
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +1 -1
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +1 -1
- 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 +15 -14
- package/dist/components/d-layout/DLayout.js +13 -12
- package/dist/components/d-namespace/index.js +6 -6
- package/dist/components/d-organization/index.js +5 -5
- package/dist/components/d-resizable/DResizable.js +17 -16
- package/dist/components/d-user/index.js +4 -4
- 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/menu/Menu.js +2 -2
- package/dist/components/quote/Quote.js +4 -3
- 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/text/Text.js +2 -2
- package/dist/components/tooltip/Tooltip.js +10 -9
- package/dist/index.js +219 -218
- 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/contextStore.js +1 -1
- package/dist/utils/generics.js +88 -89
- package/package.json +4 -6
- package/dist/DFlowDataType.service-Dz8pQUeO.js +0 -793
- package/dist/compiler-runtime-BNHg76kC.js +0 -36
- /package/dist/assets/{Avatar.css → components/avatar/Avatar.style.css} +0 -0
- /package/dist/assets/{Badge.css → components/badge/Badge.style.css} +0 -0
- /package/dist/assets/{Breadcrumb.css → components/breadcrumb/Breadcrumb.style.css} +0 -0
- /package/dist/assets/{Button.css → components/button/Button.style.css} +0 -0
- /package/dist/assets/{ButtonGroup.css → components/button-group/ButtonGroup.style.css} +0 -0
- /package/dist/assets/{Card.css → components/card/Card.style.css} +0 -0
- /package/dist/assets/{Col.css → components/col/Col.style.css} +0 -0
- /package/dist/assets/{Command.css → components/command/Command.style.css} +0 -0
- /package/dist/assets/{Container.css → components/container/Container.style.css} +0 -0
- /package/dist/assets/{DFlowFolder.css → components/d-flow/folder/DFlowFolder.style.css} +0 -0
- /package/dist/assets/{DFlowFunctionDefaultCard.css → components/d-flow/function/DFlowFunctionDefaultCard.style.css} +0 -0
- /package/dist/assets/{DFlowInputDataType.css → components/d-flow/input/DFlowInputDataType.style.css} +0 -0
- /package/dist/assets/{DFlowMiniMap.css → components/d-flow/minimap/DFlowMiniMap.style.css} +0 -0
- /package/dist/assets/{DFlowSuggestionSearchInput.css → components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css} +0 -0
- /package/dist/assets/{DFlowValidation.css → components/d-flow/validation/DFlowValidation.style.css} +0 -0
- /package/dist/assets/{DFullScreen.css → components/d-fullscreen/DFullScreen.style.css} +0 -0
- /package/dist/assets/{DLayout.css → components/d-layout/DLayout.style.css} +0 -0
- /package/dist/assets/{DResizable.css → components/d-resizable/DResizable.style.css} +0 -0
- /package/dist/assets/{Dialog.css → components/dialog/Dialog.style.css} +0 -0
- /package/dist/assets/{FileTabs.css → components/file-tabs/FileTabs.style.css} +0 -0
- /package/dist/assets/{Flex.css → components/flex/Flex.style.css} +0 -0
- /package/dist/assets/{Input.css → components/form/Input.style.css} +0 -0
- /package/dist/assets/{Menu.css → components/menu/Menu.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/assets/{ScrollArea.css → components/scroll-area/ScrollArea.style.css} +0 -0
- /package/dist/assets/{SegmentedControl.css → components/segmented-control/SegmentedControl.style.css} +0 -0
- /package/dist/assets/{Text.css → components/text/Text.style.css} +0 -0
- /package/dist/assets/{Tooltip.css → components/tooltip/Tooltip.style.css} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useStore as h, useReactFlow as
|
|
2
|
+
import { useStore as h, useReactFlow as j, useStoreApi as B, Handle as I, Position as u } from "@xyflow/react";
|
|
3
3
|
import { NodeFunctionView as b } from "../DFlow.view.js";
|
|
4
|
-
import { memo as
|
|
4
|
+
import { memo as G } from "react";
|
|
5
5
|
import { Card as H } from "../../card/Card.js";
|
|
6
|
-
import
|
|
6
|
+
import '../../../assets/components/d-flow/function/DFlowFunctionDefaultCard.style.css';/* empty css */
|
|
7
|
+
import S from "../../card/CardSection.js";
|
|
7
8
|
import { Flex as s } from "../../flex/Flex.js";
|
|
8
|
-
import { IconFileLambdaFilled as
|
|
9
|
-
import { Text as
|
|
9
|
+
import { IconFileLambdaFilled as V, IconDots as W, IconTrash as k, IconCopy as $, IconLayoutNavbarCollapseFilled as X, IconExclamationCircle as Y, IconAlertTriangle as q, IconMessageExclamation as J, IconArrowRightCircle as K } from "@tabler/icons-react";
|
|
10
|
+
import { Text as T } from "../../text/Text.js";
|
|
10
11
|
import { Button as D } from "../../button/Button.js";
|
|
11
|
-
import { Menu as
|
|
12
|
+
import { Menu as Q, MenuTrigger as U, MenuPortal as Z, MenuContent as ee, MenuLabel as te, MenuItem as x } from "../../menu/Menu.js";
|
|
12
13
|
import { Badge as R } from "../../badge/Badge.js";
|
|
13
14
|
import { useService as g } from "../../../utils/contextStore.js";
|
|
14
|
-
import { DFlowFunctionReactiveService as
|
|
15
|
-
import { useFunctionValidation as
|
|
16
|
-
import {
|
|
15
|
+
import { DFlowFunctionReactiveService as ie } from "./DFlowFunction.service.js";
|
|
16
|
+
import { useFunctionValidation as ne } from "./DFlowFunction.vaildation.hook.js";
|
|
17
|
+
import { DFlowDataTypeReactiveService as oe } from "../data-type/DFlowDataType.service.js";
|
|
17
18
|
import { InspectionSeverity as c } from "../../../utils/inspection.js";
|
|
18
|
-
import { DFlowReactiveService as
|
|
19
|
-
import { DFlowSuggestionMenu as
|
|
20
|
-
import { useSuggestions as
|
|
21
|
-
import { FileTabsService as
|
|
22
|
-
import { DFlowTabDefault as
|
|
23
|
-
|
|
24
|
-
import '../../../assets/DFlowFunctionDefaultCard.css';const Ee = V((d) => {
|
|
19
|
+
import { DFlowReactiveService as re } from "../DFlow.service.js";
|
|
20
|
+
import { DFlowSuggestionMenu as ae } from "../suggestion/DFlowSuggestionMenu.js";
|
|
21
|
+
import { useSuggestions as le } from "../suggestion/DFlowSuggestion.hook.js";
|
|
22
|
+
import { FileTabsService as de } from "../../file-tabs/FileTabs.service.js";
|
|
23
|
+
import { DFlowTabDefault as se } from "../tab/DFlowTabDefault.js";
|
|
24
|
+
const Me = G((d) => {
|
|
25
25
|
const {
|
|
26
26
|
data: i,
|
|
27
27
|
id: m
|
|
28
|
-
} = d,
|
|
28
|
+
} = d, N = h((e) => e.width), F = h((e) => e.height), A = j(), _ = B(), v = g(de), C = g(re), z = g(ie), w = g(oe), f = z.getById(i.instance.functionDefinition?.id), r = ne(f, i.instance.parameters.map((e) => e.value instanceof b ? e.value.json() : e.value), w, d.data.flowId), M = h((e) => e.edges), E = d.width ?? 0, L = d.height ?? 0;
|
|
29
29
|
i.instance.parameters?.forEach((e) => {
|
|
30
30
|
const a = f?.parameterDefinitions.find((n) => n.id == e?.id);
|
|
31
31
|
e.validationResults = r ? r.filter((n) => n.parameterId === a?.id) : [];
|
|
32
32
|
});
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function P(e) {
|
|
34
|
+
return M.some((a) => a.target === m && a.targetHandle === `param-${e}`);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const O = h((e) => {
|
|
37
37
|
const a = e.nodes.filter((l) => l.parentId === d.parentId);
|
|
38
38
|
let n;
|
|
39
39
|
return a.forEach((l) => {
|
|
40
|
-
const
|
|
41
|
-
(!n ||
|
|
40
|
+
const y = l.data?.index ?? 1 / 0, p = n?.data?.index ?? 1 / 0;
|
|
41
|
+
(!n || y < p) && (n = l);
|
|
42
42
|
}), n;
|
|
43
43
|
});
|
|
44
|
-
return /* @__PURE__ */ o(H, { outline:
|
|
45
|
-
|
|
46
|
-
x:
|
|
47
|
-
y:
|
|
44
|
+
return /* @__PURE__ */ o(H, { outline: O.id === m, borderColor: v.getActiveTab()?.id == m ? "info" : void 0, className: v.getActiveTab()?.id == m ? "d-flow-viewport-default-card--active" : void 0, color: (r?.filter((e) => e.type === c.ERROR)?.length ?? 0) > 0 ? "error" : "secondary", onClick: () => {
|
|
45
|
+
A.setViewport({
|
|
46
|
+
x: N / 2 + d.positionAbsoluteX * -1 - E / 2,
|
|
47
|
+
y: F / 2 + d.positionAbsoluteY * -1 - L / 2,
|
|
48
48
|
zoom: 1
|
|
49
49
|
}, {
|
|
50
50
|
duration: 250
|
|
@@ -52,49 +52,49 @@ import '../../../assets/DFlowFunctionDefaultCard.css';const Ee = V((d) => {
|
|
|
52
52
|
id: m,
|
|
53
53
|
active: !0,
|
|
54
54
|
closeable: !0,
|
|
55
|
-
children: /* @__PURE__ */ t(
|
|
56
|
-
content: /* @__PURE__ */ t(
|
|
55
|
+
children: /* @__PURE__ */ t(T, { size: "md", children: f?.names?.nodes[0]?.content }),
|
|
56
|
+
content: /* @__PURE__ */ t(se, { flowId: d.data.flowId, depthLevel: i.depth, scopeLevel: i.scope, nodeLevel: i.index, functionInstance: i.instance })
|
|
57
57
|
});
|
|
58
58
|
}, style: {
|
|
59
59
|
position: "relative"
|
|
60
60
|
}, children: [
|
|
61
|
-
/* @__PURE__ */ t(
|
|
61
|
+
/* @__PURE__ */ t(S, { border: !0, children: /* @__PURE__ */ o(s, { align: "center", justify: "space-between", style: {
|
|
62
62
|
gap: "0.7rem"
|
|
63
63
|
}, children: [
|
|
64
64
|
/* @__PURE__ */ o(s, { align: "center", style: {
|
|
65
65
|
gap: "0.7rem"
|
|
66
66
|
}, children: [
|
|
67
|
-
/* @__PURE__ */ t(
|
|
68
|
-
/* @__PURE__ */ t(
|
|
67
|
+
/* @__PURE__ */ t(V, { size: 16 }),
|
|
68
|
+
/* @__PURE__ */ t(T, { size: "md", children: f?.names?.nodes[0]?.content })
|
|
69
69
|
] }),
|
|
70
70
|
/* @__PURE__ */ o(s, { align: "center", style: {
|
|
71
71
|
gap: "0.7rem"
|
|
72
72
|
}, children: [
|
|
73
|
-
/* @__PURE__ */ o(
|
|
73
|
+
/* @__PURE__ */ o(Q, { onOpenChange: (e) => {
|
|
74
74
|
setTimeout(() => {
|
|
75
|
-
|
|
75
|
+
_.setState({
|
|
76
76
|
nodesDraggable: !e,
|
|
77
77
|
nodesConnectable: !e,
|
|
78
78
|
elementsSelectable: !e
|
|
79
79
|
});
|
|
80
80
|
}, 250);
|
|
81
81
|
}, children: [
|
|
82
|
-
/* @__PURE__ */ t(
|
|
83
|
-
/* @__PURE__ */ t(
|
|
84
|
-
/* @__PURE__ */ t(
|
|
82
|
+
/* @__PURE__ */ t(U, { asChild: !0, children: /* @__PURE__ */ t(D, { variant: "none", children: /* @__PURE__ */ t(W, { size: 16 }) }) }),
|
|
83
|
+
/* @__PURE__ */ t(Z, { children: /* @__PURE__ */ o(ee, { children: [
|
|
84
|
+
/* @__PURE__ */ t(te, { children: "Actions" }),
|
|
85
85
|
/* @__PURE__ */ o(x, { onClick: () => {
|
|
86
|
-
i.instance.deleteNextNode(),
|
|
86
|
+
i.instance.deleteNextNode(), C.update();
|
|
87
87
|
}, children: [
|
|
88
|
-
/* @__PURE__ */ t(
|
|
88
|
+
/* @__PURE__ */ t(k, { size: 16 }),
|
|
89
89
|
" Delete node"
|
|
90
90
|
] }),
|
|
91
91
|
/* @__PURE__ */ o(x, { disabled: !0, children: [
|
|
92
|
-
/* @__PURE__ */ t(
|
|
92
|
+
/* @__PURE__ */ t($, { size: 16 }),
|
|
93
93
|
" Copy node"
|
|
94
94
|
] })
|
|
95
95
|
] }) })
|
|
96
96
|
] }),
|
|
97
|
-
/* @__PURE__ */ t(D, { disabled: !0, children: /* @__PURE__ */ t(
|
|
97
|
+
/* @__PURE__ */ t(D, { disabled: !0, children: /* @__PURE__ */ t(X, { size: 16 }) })
|
|
98
98
|
] })
|
|
99
99
|
] }) }),
|
|
100
100
|
/* @__PURE__ */ t(I, { isConnectable: !1, draggable: !1, type: "target", className: "d-flow-viewport-default-card__handle d-flow-viewport-default-card__handle--target", style: {
|
|
@@ -110,38 +110,38 @@ import '../../../assets/DFlowFunctionDefaultCard.css';const Ee = V((d) => {
|
|
|
110
110
|
(r?.filter((e) => e.type === c.ERROR)?.length ?? 0) > 0 ? /* @__PURE__ */ t(R, { color: "error", children: /* @__PURE__ */ o(s, { align: "center", style: {
|
|
111
111
|
gap: "0.35rem"
|
|
112
112
|
}, children: [
|
|
113
|
-
/* @__PURE__ */ t(
|
|
113
|
+
/* @__PURE__ */ t(Y, { size: 12 }),
|
|
114
114
|
r?.filter((e) => e.type === c.ERROR)?.length
|
|
115
115
|
] }) }) : null,
|
|
116
116
|
(r?.filter((e) => e.type === c.WARNING)?.length ?? 0) > 0 ? /* @__PURE__ */ t(R, { color: "warning", children: /* @__PURE__ */ o(s, { align: "center", style: {
|
|
117
117
|
gap: "0.35rem"
|
|
118
118
|
}, children: [
|
|
119
|
-
/* @__PURE__ */ t(
|
|
119
|
+
/* @__PURE__ */ t(q, { size: 12 }),
|
|
120
120
|
r?.filter((e) => e.type === c.WARNING)?.length
|
|
121
121
|
] }) }) : null,
|
|
122
122
|
(r?.filter((e) => e.type === c.GRAMMAR)?.length ?? 0) > 0 ? /* @__PURE__ */ t(R, { children: /* @__PURE__ */ o(s, { align: "center", style: {
|
|
123
123
|
gap: "0.35rem"
|
|
124
124
|
}, children: [
|
|
125
|
-
/* @__PURE__ */ t(
|
|
125
|
+
/* @__PURE__ */ t(J, { size: 12 }),
|
|
126
126
|
r?.filter((e) => e.type === c.GRAMMAR)?.length
|
|
127
127
|
] }) }) : null
|
|
128
128
|
] }) }) : null,
|
|
129
129
|
i.instance.parameters?.some((e) => {
|
|
130
|
-
const a = f?.parameterDefinitions.find((l) => l.id == e.id), n =
|
|
130
|
+
const a = f?.parameterDefinitions.find((l) => l.id == e.id), n = w.getDataType(a?.dataTypeIdentifier)?.variant === "NODE";
|
|
131
131
|
return e.value instanceof b && !n || !e.value;
|
|
132
|
-
}) ? /* @__PURE__ */ t(
|
|
133
|
-
const n = f?.parameterDefinitions.find((p) => p.id == e.id), l =
|
|
132
|
+
}) ? /* @__PURE__ */ t(S, { children: i.instance.parameters?.map((e, a) => {
|
|
133
|
+
const n = f?.parameterDefinitions.find((p) => p.id == e.id), l = w.getDataType(n?.dataTypeIdentifier)?.variant === "NODE", y = le(n?.dataTypeIdentifier ?? void 0, [], d.data.flowId, i.depth, i.scope, i.index);
|
|
134
134
|
return e.value instanceof b && !l || !e.value ? /* @__PURE__ */ o(s, { pos: "relative", justify: "space-between", align: "center", children: [
|
|
135
135
|
n?.names?.nodes[0]?.content ?? e.id,
|
|
136
|
-
e.value ? null : /* @__PURE__ */ t(
|
|
137
|
-
e.value = p.value,
|
|
138
|
-
}, suggestions:
|
|
136
|
+
e.value ? null : /* @__PURE__ */ t(ae, { onSuggestionSelect: (p) => {
|
|
137
|
+
e.value = p.value, C.update();
|
|
138
|
+
}, suggestions: y, triggerContent: /* @__PURE__ */ t(D, { variant: "none", children: /* @__PURE__ */ t(K, { size: 12 }) }) }),
|
|
139
139
|
/* @__PURE__ */ t(I, { type: "target", position: u.Right, style: {
|
|
140
140
|
position: "absolute",
|
|
141
141
|
transform: l ? "translate(-50%, -50%)" : "translate(50%, -50%)",
|
|
142
142
|
top: "50%",
|
|
143
143
|
right: l ? "50%" : "0"
|
|
144
|
-
}, id: `param-${e.id}`, isConnectable: !1, hidden: !
|
|
144
|
+
}, id: `param-${e.id}`, isConnectable: !1, hidden: !P(e.id), className: "d-flow-viewport-default-card__handle d-flow-viewport-default-card__handle--target" }, e.id)
|
|
145
145
|
] }, a) : null;
|
|
146
146
|
}) }) : null,
|
|
147
147
|
/* @__PURE__ */ t(I, { isConnectable: !1, type: "source", style: {
|
|
@@ -154,5 +154,5 @@ import '../../../assets/DFlowFunctionDefaultCard.css';const Ee = V((d) => {
|
|
|
154
154
|
] });
|
|
155
155
|
});
|
|
156
156
|
export {
|
|
157
|
-
|
|
157
|
+
Me as DFlowFunctionDefaultCard
|
|
158
158
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as w, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import { c as E } from "../../../compiler-runtime
|
|
2
|
+
import { c as E } from "../../../_virtual/compiler-runtime.js";
|
|
3
3
|
import { memo as F } from "react";
|
|
4
4
|
import { useStore as N, Handle as g, Position as x } from "@xyflow/react";
|
|
5
5
|
import { FLOW_EDGE_RAINBOW as b } from "../DFlow.edges.hook.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as g } from "react/jsx-runtime";
|
|
2
|
-
import { c as Y } from "../../../compiler-runtime
|
|
2
|
+
import { c as Y } from "../../../_virtual/compiler-runtime.js";
|
|
3
3
|
import { memo as k } from "react";
|
|
4
4
|
import { useReactFlow as H, useStore as j, Handle as E, Position as L } from "@xyflow/react";
|
|
5
5
|
import { Text as R } from "../../text/Text.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FlowSettingView as r, FlowView as t, NodeFunctionView as i, NodeParameterView as w } from "./DFlow.view.js";
|
|
2
2
|
import { DFlowReactiveService as l } from "./DFlow.service.js";
|
|
3
|
-
import { FLOW_EDGE_RAINBOW as m, useFlowEdges as
|
|
3
|
+
import { FLOW_EDGE_RAINBOW as m, useFlowEdges as f } from "./DFlow.edges.hook.js";
|
|
4
4
|
import { useFlowNodes as a } from "./DFlow.nodes.hook.js";
|
|
5
5
|
import { DFlow as x } from "./DFlow.js";
|
|
6
|
-
import { DFlowControl as
|
|
7
|
-
import {
|
|
8
|
-
import { DataTypeView as
|
|
6
|
+
import { DFlowControl as u } from "./control/DFlowControl.js";
|
|
7
|
+
import { DFlowDataTypeReactiveService as V } from "./data-type/DFlowDataType.service.js";
|
|
8
|
+
import { DataTypeView as s } from "./data-type/DFlowDataType.view.js";
|
|
9
9
|
import { DFlowFolder as g, DFlowFolderGroup as R, DFlowFolderItem as y } from "./folder/DFlowFolder.js";
|
|
10
10
|
import { DFlowFunctionReactiveService as N } from "./function/DFlowFunction.service.js";
|
|
11
11
|
import { FunctionDefinitionView as G, ParameterDefinitionView as I } from "./function/DFlowFunction.view.js";
|
|
@@ -18,8 +18,8 @@ import { useDFlowValidations as k } from "./validation/DFlowValidation.hook.js";
|
|
|
18
18
|
import { DFlowValidation as z } from "./validation/DFlowValidation.js";
|
|
19
19
|
export {
|
|
20
20
|
x as DFlow,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
u as DFlowControl,
|
|
22
|
+
V as DFlowDataTypeReactiveService,
|
|
23
23
|
g as DFlowFolder,
|
|
24
24
|
R as DFlowFolderGroup,
|
|
25
25
|
y as DFlowFolderItem,
|
|
@@ -31,7 +31,7 @@ export {
|
|
|
31
31
|
B as DFlowSuggestionType,
|
|
32
32
|
L as DFlowTypeReactiveService,
|
|
33
33
|
z as DFlowValidation,
|
|
34
|
-
|
|
34
|
+
s as DataTypeView,
|
|
35
35
|
m as FLOW_EDGE_RAINBOW,
|
|
36
36
|
r as FlowSettingView,
|
|
37
37
|
h as FlowTypeView,
|
|
@@ -41,6 +41,6 @@ export {
|
|
|
41
41
|
w as NodeParameterView,
|
|
42
42
|
I as ParameterDefinitionView,
|
|
43
43
|
k as useDFlowValidations,
|
|
44
|
-
|
|
44
|
+
f as useFlowEdges,
|
|
45
45
|
a as useFlowNodes
|
|
46
46
|
};
|