Flowfile 0.3.10__py3-none-any.whl → 0.4.0__py3-none-any.whl
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.
Potentially problematic release.
This version of Flowfile might be problematic. Click here for more details.
- flowfile/__init__.py +6 -1
- flowfile/web/static/assets/{CloudConnectionManager-d7c2c028.js → CloudConnectionManager-109ecc3c.js} +2 -2
- flowfile/web/static/assets/{CloudStorageReader-d467329f.js → CloudStorageReader-19cdd67a.js} +6 -6
- flowfile/web/static/assets/{CloudStorageWriter-071b8b00.js → CloudStorageWriter-48e0ae20.js} +6 -6
- flowfile/web/static/assets/ColumnSelector-47996a16.css +10 -0
- flowfile/web/static/assets/ColumnSelector-ecaf7c44.js +83 -0
- flowfile/web/static/assets/{ContextMenu-2dea5e27.js → ContextMenu-2b348c4c.js} +1 -1
- flowfile/web/static/assets/{ContextMenu-785554c4.js → ContextMenu-a779eed7.js} +1 -1
- flowfile/web/static/assets/{ContextMenu-a51e19ea.js → ContextMenu-eca26a03.js} +1 -1
- flowfile/web/static/assets/{CrossJoin-cf68ec7a.js → CrossJoin-a88f8142.js} +7 -7
- flowfile/web/static/assets/CustomNode-74a37f74.css +32 -0
- flowfile/web/static/assets/CustomNode-cb863dff.js +211 -0
- flowfile/web/static/assets/{DatabaseConnectionSettings-435c5dd8.js → DatabaseConnectionSettings-819d3267.js} +2 -2
- flowfile/web/static/assets/{DatabaseManager-349e33a8.js → DatabaseManager-84ee2834.js} +2 -2
- flowfile/web/static/assets/{DatabaseReader-8075bd28.js → DatabaseReader-060dd412.js} +9 -9
- flowfile/web/static/assets/{DatabaseWriter-3e2dda89.js → DatabaseWriter-7fc7750f.js} +8 -8
- flowfile/web/static/assets/{ExploreData-76ec698c.js → ExploreData-82c95991.js} +5 -5
- flowfile/web/static/assets/{ExternalSource-609a265c.js → ExternalSource-e1a6ddc7.js} +5 -5
- flowfile/web/static/assets/{Filter-97cff793.js → Filter-8aca894a.js} +7 -7
- flowfile/web/static/assets/{Formula-09de0ec9.js → Formula-e33686d9.js} +7 -7
- flowfile/web/static/assets/{FuzzyMatch-bdf70248.js → FuzzyMatch-abda150d.js} +8 -8
- flowfile/web/static/assets/{GraphSolver-0b5a0e05.js → GraphSolver-4ecad1d7.js} +6 -6
- flowfile/web/static/assets/{GroupBy-eaddadde.js → GroupBy-656d07f3.js} +5 -5
- flowfile/web/static/assets/{Join-3313371b.js → Join-b84ec849.js} +8 -8
- flowfile/web/static/assets/{ManualInput-e8bfc0be.js → ManualInput-346f4135.js} +4 -4
- flowfile/web/static/assets/MultiSelect-61b98268.js +5 -0
- flowfile/web/static/assets/MultiSelect.vue_vue_type_script_setup_true_lang-2a7c8312.js +63 -0
- flowfile/web/static/assets/NumericInput-e36602c2.js +5 -0
- flowfile/web/static/assets/NumericInput.vue_vue_type_script_setup_true_lang-211a1990.js +35 -0
- flowfile/web/static/assets/{Output-7303bb09.js → Output-eb041599.js} +6 -6
- flowfile/web/static/assets/{Pivot-3b1c54ef.js → Pivot-f5c774f4.js} +7 -7
- flowfile/web/static/assets/{PivotValidation-3bb36c8f.js → PivotValidation-26546cbc.js} +1 -1
- flowfile/web/static/assets/{PivotValidation-eaa819c0.js → PivotValidation-e150a24b.js} +1 -1
- flowfile/web/static/assets/{PolarsCode-aa12e25d.js → PolarsCode-da3a7abf.js} +5 -5
- flowfile/web/static/assets/{Read-a2bfc618.js → Read-0c768769.js} +8 -8
- flowfile/web/static/assets/{RecordCount-aa0dc082.js → RecordCount-84736276.js} +4 -4
- flowfile/web/static/assets/{RecordId-48ee1a3b.js → RecordId-60055e6d.js} +6 -6
- flowfile/web/static/assets/{SQLQueryComponent-e149dbf2.js → SQLQueryComponent-8a486004.js} +1 -1
- flowfile/web/static/assets/{Sample-f06cb97a.js → Sample-2d662611.js} +4 -4
- flowfile/web/static/assets/{SecretManager-37f34886.js → SecretManager-ef586cab.js} +2 -2
- flowfile/web/static/assets/{Select-b60e6c47.js → Select-2e4a6965.js} +7 -7
- flowfile/web/static/assets/{SettingsSection-75b6cf4f.js → SettingsSection-310b61c0.js} +1 -1
- flowfile/web/static/assets/{SettingsSection-e57a672e.js → SettingsSection-5634f439.js} +1 -1
- flowfile/web/static/assets/{SettingsSection-70e5a7b1.js → SettingsSection-7c68b19f.js} +1 -1
- flowfile/web/static/assets/SingleSelect-7298811a.js +5 -0
- flowfile/web/static/assets/SingleSelect.vue_vue_type_script_setup_true_lang-43807bad.js +62 -0
- flowfile/web/static/assets/SliderInput-53105476.js +40 -0
- flowfile/web/static/assets/SliderInput-b8fb6a8c.css +4 -0
- flowfile/web/static/assets/{Sort-51b1ee4d.js → Sort-4fdebe74.js} +5 -5
- flowfile/web/static/assets/TextInput-28366b7e.js +5 -0
- flowfile/web/static/assets/TextInput.vue_vue_type_script_setup_true_lang-9cad14ba.js +32 -0
- flowfile/web/static/assets/{TextToRows-26835f8f.js → TextToRows-73ffa692.js} +7 -7
- flowfile/web/static/assets/ToggleSwitch-598add30.js +5 -0
- flowfile/web/static/assets/ToggleSwitch.vue_vue_type_script_setup_true_lang-f620cd32.js +31 -0
- flowfile/web/static/assets/{UnavailableFields-88a4cd0c.js → UnavailableFields-66239e83.js} +2 -2
- flowfile/web/static/assets/{Union-4d0088eb.js → Union-26b10614.js} +4 -4
- flowfile/web/static/assets/{Unique-7d554a62.js → Unique-33b9edbb.js} +7 -7
- flowfile/web/static/assets/{Unpivot-4668595c.js → Unpivot-ef69d0e2.js} +6 -6
- flowfile/web/static/assets/{UnpivotValidation-d4f0e0e8.js → UnpivotValidation-8658388e.js} +1 -1
- flowfile/web/static/assets/{VueGraphicWalker-5324d566.js → VueGraphicWalker-4d7861f4.js} +1 -1
- flowfile/web/static/assets/{api-31e4fea6.js → api-2d1394bd.js} +1 -1
- flowfile/web/static/assets/{api-271ed117.js → api-c908fffe.js} +1 -1
- flowfile/web/static/assets/{designer-bf3d9487.js → designer-1667687d.js} +24 -16
- flowfile/web/static/assets/{designer-091bdc3f.css → designer-665e9408.css} +18 -18
- flowfile/web/static/assets/{documentation-4d0a1cea.js → documentation-5eed779e.js} +1 -1
- flowfile/web/static/assets/{dropDown-025888df.js → dropDown-41ebe3c2.js} +1 -1
- flowfile/web/static/assets/{fullEditor-1df991ec.js → fullEditor-0670d32d.js} +2 -2
- flowfile/web/static/assets/{genericNodeSettings-d3b2b2ac.js → genericNodeSettings-38410ebf.js} +3 -3
- flowfile/web/static/assets/{index-681a3ed0.css → index-50508d4d.css} +8 -0
- flowfile/web/static/assets/{index-d0518598.js → index-5ec791df.js} +6 -6
- flowfile/web/static/assets/{outputCsv-d8457527.js → outputCsv-059583b6.js} +1 -1
- flowfile/web/static/assets/{outputExcel-be89153e.js → outputExcel-76b1e02c.js} +1 -1
- flowfile/web/static/assets/{outputParquet-fabb445a.js → outputParquet-440fd4c7.js} +1 -1
- flowfile/web/static/assets/{readCsv-e8359522.js → readCsv-9813903a.js} +1 -1
- flowfile/web/static/assets/{readExcel-dabaf51b.js → readExcel-7f40d237.js} +3 -3
- flowfile/web/static/assets/{readParquet-e0771ef2.js → readParquet-22d56002.js} +1 -1
- flowfile/web/static/assets/{secretApi-ce823eee.js → secretApi-b3cb072e.js} +1 -1
- flowfile/web/static/assets/{selectDynamic-5476546e.js → selectDynamic-7ad95bca.js} +3 -3
- flowfile/web/static/assets/user-defined-icon-0ae16c90.png +0 -0
- flowfile/web/static/assets/{vue-codemirror.esm-9ed00d50.js → vue-codemirror.esm-b1dfaa46.js} +33 -3
- flowfile/web/static/assets/{vue-content-loader.es-7bca2d9b.js → vue-content-loader.es-22bac17c.js} +1 -1
- flowfile/web/static/index.html +2 -2
- {flowfile-0.3.10.dist-info → flowfile-0.4.0.dist-info}/METADATA +1 -1
- {flowfile-0.3.10.dist-info → flowfile-0.4.0.dist-info}/RECORD +108 -82
- flowfile_core/configs/node_store/__init__.py +30 -0
- flowfile_core/configs/node_store/nodes.py +383 -358
- flowfile_core/configs/node_store/user_defined_node_registry.py +193 -0
- flowfile_core/flowfile/flow_data_engine/flow_file_column/interface.py +4 -0
- flowfile_core/flowfile/flow_data_engine/flow_file_column/main.py +19 -34
- flowfile_core/flowfile/flow_data_engine/flow_file_column/type_registry.py +36 -0
- flowfile_core/flowfile/flow_graph.py +20 -1
- flowfile_core/flowfile/flow_node/flow_node.py +4 -4
- flowfile_core/flowfile/manage/open_flowfile.py +9 -1
- flowfile_core/flowfile/node_designer/__init__.py +47 -0
- flowfile_core/flowfile/node_designer/_type_registry.py +197 -0
- flowfile_core/flowfile/node_designer/custom_node.py +371 -0
- flowfile_core/flowfile/node_designer/data_types.py +146 -0
- flowfile_core/flowfile/node_designer/ui_components.py +277 -0
- flowfile_core/main.py +2 -1
- flowfile_core/routes/routes.py +16 -20
- flowfile_core/routes/user_defined_components.py +55 -0
- flowfile_core/schemas/input_schema.py +8 -1
- flowfile_core/schemas/schemas.py +6 -3
- flowfile_core/utils/validate_setup.py +3 -1
- shared/storage_config.py +17 -2
- {flowfile-0.3.10.dist-info → flowfile-0.4.0.dist-info}/LICENSE +0 -0
- {flowfile-0.3.10.dist-info → flowfile-0.4.0.dist-info}/WHEEL +0 -0
- {flowfile-0.3.10.dist-info → flowfile-0.4.0.dist-info}/entry_points.txt +0 -0
flowfile/__init__.py
CHANGED
|
@@ -7,7 +7,7 @@ This package ties together the FlowFile ecosystem components:
|
|
|
7
7
|
- flowfile_worker: Computation engine
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "0.
|
|
10
|
+
__version__ = "0.4.0"
|
|
11
11
|
|
|
12
12
|
import os
|
|
13
13
|
import logging
|
|
@@ -62,6 +62,9 @@ from polars.datatypes import (
|
|
|
62
62
|
DataType, DataTypeClass, Field
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
+
from flowfile_core.flowfile import node_designer
|
|
66
|
+
|
|
67
|
+
|
|
65
68
|
__all__ = [
|
|
66
69
|
# Core FlowFrame classes
|
|
67
70
|
'FlowFrame', 'GroupByFrame', 'FullCloudStorageConnection',
|
|
@@ -84,6 +87,8 @@ __all__ = [
|
|
|
84
87
|
'categorical', 'object_', 'list_', 'struct', 'all_',
|
|
85
88
|
'by_dtype', 'contains', 'starts_with', 'ends_with', 'matches',
|
|
86
89
|
|
|
90
|
+
"node_designer",
|
|
91
|
+
|
|
87
92
|
# Utilities
|
|
88
93
|
'create_flow_graph', 'open_graph_in_editor',
|
|
89
94
|
|
flowfile/web/static/assets/{CloudConnectionManager-d7c2c028.js → CloudConnectionManager-109ecc3c.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as fetchCloudStorageConnectionsInterfaces, c as createCloudStorageConnectionApi, d as deleteCloudStorageConnectionApi } from "./api-
|
|
2
|
-
import { d as defineComponent, r as ref, m as watch, l as computed, c as openBlock, e as createElementBlock, p as createBaseVNode, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, i as createCommentVNode, al as vModelDynamic, s as normalizeClass, am as vModelCheckbox, v as withModifiers, n as onMounted, g as createTextVNode, f as createVNode, w as withCtx, u as unref, z as ElMessage, an as ElDialog, ao as ElButton, _ as _export_sfc } from "./index-
|
|
1
|
+
import { f as fetchCloudStorageConnectionsInterfaces, c as createCloudStorageConnectionApi, d as deleteCloudStorageConnectionApi } from "./api-c908fffe.js";
|
|
2
|
+
import { d as defineComponent, r as ref, m as watch, l as computed, c as openBlock, e as createElementBlock, p as createBaseVNode, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, i as createCommentVNode, al as vModelDynamic, s as normalizeClass, am as vModelCheckbox, v as withModifiers, n as onMounted, g as createTextVNode, f as createVNode, w as withCtx, u as unref, z as ElMessage, an as ElDialog, ao as ElButton, _ as _export_sfc } from "./index-5ec791df.js";
|
|
3
3
|
const _hoisted_1$1 = { class: "form-grid" };
|
|
4
4
|
const _hoisted_2$1 = { class: "form-field" };
|
|
5
5
|
const _hoisted_3$1 = { class: "form-field" };
|
flowfile/web/static/assets/{CloudStorageReader-d467329f.js → CloudStorageReader-19cdd67a.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, a8 as withDirectives, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, g as createTextVNode, i as createCommentVNode, a9 as vModelText, am as vModelCheckbox, h as createBlock, u as unref, z as ElMessage, _ as _export_sfc } from "./index-
|
|
2
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
3
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
4
|
-
import { f as fetchCloudStorageConnectionsInterfaces } from "./api-
|
|
5
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
6
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, a8 as withDirectives, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, g as createTextVNode, i as createCommentVNode, a9 as vModelText, am as vModelCheckbox, h as createBlock, u as unref, z as ElMessage, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
3
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
4
|
+
import { f as fetchCloudStorageConnectionsInterfaces } from "./api-c908fffe.js";
|
|
5
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
6
|
+
import "./designer-1667687d.js";
|
|
7
7
|
const createNodeCloudStorageReader = (flowId, nodeId) => {
|
|
8
8
|
const cloudStorageReadSettings = {
|
|
9
9
|
auth_mode: "aws-cli",
|
flowfile/web/static/assets/{CloudStorageWriter-071b8b00.js → CloudStorageWriter-48e0ae20.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, a8 as withDirectives, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, g as createTextVNode, i as createCommentVNode, a9 as vModelText, h as createBlock, u as unref, z as ElMessage, _ as _export_sfc } from "./index-
|
|
2
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
3
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
4
|
-
import { f as fetchCloudStorageConnectionsInterfaces } from "./api-
|
|
5
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
6
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, a8 as withDirectives, ak as vModelSelect, F as Fragment, q as renderList, t as toDisplayString, g as createTextVNode, i as createCommentVNode, a9 as vModelText, h as createBlock, u as unref, z as ElMessage, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
3
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
4
|
+
import { f as fetchCloudStorageConnectionsInterfaces } from "./api-c908fffe.js";
|
|
5
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
6
|
+
import "./designer-1667687d.js";
|
|
7
7
|
const createNodeCloudStorageWriter = (flowId, nodeId) => {
|
|
8
8
|
const cloudStorageWriteSettings = {
|
|
9
9
|
auth_mode: "aws-cli",
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { d as defineComponent, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, g as createTextVNode, t as toDisplayString, i as createCommentVNode, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
const _hoisted_1 = { class: "component-container" };
|
|
3
|
+
const _hoisted_2 = { class: "listbox-subtitle" };
|
|
4
|
+
const _hoisted_3 = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "required-indicator"
|
|
7
|
+
};
|
|
8
|
+
const _hoisted_4 = { class: "column-type" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "ColumnSelector",
|
|
11
|
+
props: {
|
|
12
|
+
schema: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: [String, Array],
|
|
18
|
+
default: () => []
|
|
19
|
+
},
|
|
20
|
+
incomingColumns: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => []
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue"],
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const filteredColumns = computed(() => {
|
|
29
|
+
console.log("props.schem.data_types", props.schema);
|
|
30
|
+
console.log("incoming columns", props.incomingColumns);
|
|
31
|
+
if (!props.schema.data_types || props.schema.data_types === "ALL") {
|
|
32
|
+
return props.incomingColumns;
|
|
33
|
+
}
|
|
34
|
+
if (Array.isArray(props.schema.data_types)) {
|
|
35
|
+
return props.incomingColumns.filter((column) => {
|
|
36
|
+
return props.schema.data_types.includes(column.data_type);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return props.incomingColumns;
|
|
40
|
+
});
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
const _component_el_option = resolveComponent("el-option");
|
|
43
|
+
const _component_el_select = resolveComponent("el-select");
|
|
44
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
45
|
+
createBaseVNode("label", _hoisted_2, [
|
|
46
|
+
createTextVNode(toDisplayString(__props.schema.label) + " ", 1),
|
|
47
|
+
__props.schema.required ? (openBlock(), createElementBlock("span", _hoisted_3, "*")) : createCommentVNode("", true)
|
|
48
|
+
]),
|
|
49
|
+
createVNode(_component_el_select, {
|
|
50
|
+
"model-value": __props.modelValue,
|
|
51
|
+
multiple: __props.schema.multiple,
|
|
52
|
+
filterable: "",
|
|
53
|
+
placeholder: __props.schema.multiple ? "Select columns..." : "Select a column...",
|
|
54
|
+
style: { "width": "100%" },
|
|
55
|
+
size: "large",
|
|
56
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
|
|
57
|
+
}, {
|
|
58
|
+
default: withCtx(() => [
|
|
59
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredColumns.value, (column) => {
|
|
60
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
61
|
+
key: column.name,
|
|
62
|
+
label: column.name,
|
|
63
|
+
value: column.name
|
|
64
|
+
}, {
|
|
65
|
+
default: withCtx(() => [
|
|
66
|
+
createBaseVNode("span", null, toDisplayString(column.name), 1),
|
|
67
|
+
createBaseVNode("span", _hoisted_4, toDisplayString(column.data_type), 1)
|
|
68
|
+
]),
|
|
69
|
+
_: 2
|
|
70
|
+
}, 1032, ["label", "value"]);
|
|
71
|
+
}), 128))
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
}, 8, ["model-value", "multiple", "placeholder"])
|
|
75
|
+
]);
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const ColumnSelector_vue_vue_type_style_index_0_scoped_ee9d221e_lang = "";
|
|
80
|
+
const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ee9d221e"]]);
|
|
81
|
+
export {
|
|
82
|
+
ColumnSelector as default
|
|
83
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
2
|
const _hoisted_1 = ["onClick"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ContextMenu",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
2
|
const _hoisted_1 = ["onClick"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ContextMenu",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, T as normalizeStyle, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
2
|
const _hoisted_1 = ["onClick"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ContextMenu",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
2
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
3
|
-
import { s as selectDynamic } from "./selectDynamic-
|
|
4
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
5
|
-
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, h as createBlock, u as unref, _ as _export_sfc } from "./index-
|
|
6
|
-
import "./UnavailableFields-
|
|
7
|
-
import "./designer-
|
|
1
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
2
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
3
|
+
import { s as selectDynamic } from "./selectDynamic-7ad95bca.js";
|
|
4
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
5
|
+
import { d as defineComponent, r as ref, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, h as createBlock, u as unref, _ as _export_sfc } from "./index-5ec791df.js";
|
|
6
|
+
import "./UnavailableFields-66239e83.js";
|
|
7
|
+
import "./designer-1667687d.js";
|
|
8
8
|
const _hoisted_1 = { key: 0 };
|
|
9
9
|
const _hoisted_2 = { class: "listbox-wrapper" };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
.custom-node-wrapper[data-v-d7137248] {
|
|
3
|
+
padding: 1.5rem;
|
|
4
|
+
background-color: #f9fafb; /* bg-gray-50 */
|
|
5
|
+
}
|
|
6
|
+
.node-header[data-v-d7137248] {
|
|
7
|
+
padding-bottom: 1rem;
|
|
8
|
+
border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
|
|
9
|
+
margin-bottom: 1.5rem;
|
|
10
|
+
}
|
|
11
|
+
.node-title[data-v-d7137248] {
|
|
12
|
+
font-size: 1.25rem; /* text-xl */
|
|
13
|
+
font-weight: 700; /* font-bold */
|
|
14
|
+
color: #1f2937; /* text-gray-800 */
|
|
15
|
+
}
|
|
16
|
+
.node-category[data-v-d7137248] {
|
|
17
|
+
font-size: 0.875rem; /* text-sm */
|
|
18
|
+
color: #6b7280; /* text-gray-500 */
|
|
19
|
+
margin-top: 0.25rem;
|
|
20
|
+
}
|
|
21
|
+
.section-description[data-v-d7137248] {
|
|
22
|
+
font-size: 0.875rem;
|
|
23
|
+
color: #6b7280; /* text-gray-500 */
|
|
24
|
+
margin-top: 0.25rem;
|
|
25
|
+
margin-bottom: 1.25rem;
|
|
26
|
+
padding-left: 0.5rem;
|
|
27
|
+
}
|
|
28
|
+
.components-container[data-v-d7137248] {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: 1.25rem; /* space-y-5 */
|
|
32
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { a as axios, d as defineComponent, r as ref, c as openBlock, e as createElementBlock, p as createBaseVNode, g as createTextVNode, t as toDisplayString, f as createVNode, w as withCtx, F as Fragment, q as renderList, a8 as withDirectives, af as vShow, i as createCommentVNode, h as createBlock, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
3
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
4
|
+
import { _ as _sfc_main$3 } from "./MultiSelect.vue_vue_type_script_setup_true_lang-2a7c8312.js";
|
|
5
|
+
import { _ as _sfc_main$5 } from "./ToggleSwitch.vue_vue_type_script_setup_true_lang-f620cd32.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./TextInput.vue_vue_type_script_setup_true_lang-9cad14ba.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./NumericInput.vue_vue_type_script_setup_true_lang-211a1990.js";
|
|
8
|
+
import SliderInput from "./SliderInput-53105476.js";
|
|
9
|
+
import { _ as _sfc_main$4 } from "./SingleSelect.vue_vue_type_script_setup_true_lang-43807bad.js";
|
|
10
|
+
import ColumnSelector from "./ColumnSelector-ecaf7c44.js";
|
|
11
|
+
import "./designer-1667687d.js";
|
|
12
|
+
async function getCustomNodeSchema(flowId, nodeId) {
|
|
13
|
+
const response = await axios.get(
|
|
14
|
+
`/user_defined_components/custom-node-schema`,
|
|
15
|
+
{
|
|
16
|
+
params: { flow_id: flowId, node_id: nodeId },
|
|
17
|
+
headers: { accept: "application/json" }
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
return response.data;
|
|
21
|
+
}
|
|
22
|
+
const _hoisted_1 = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "p-4 text-center text-gray-500"
|
|
25
|
+
};
|
|
26
|
+
const _hoisted_2 = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "p-4 text-red-600 bg-red-100 rounded-md"
|
|
29
|
+
};
|
|
30
|
+
const _hoisted_3 = {
|
|
31
|
+
key: 2,
|
|
32
|
+
class: "custom-node-wrapper"
|
|
33
|
+
};
|
|
34
|
+
const _hoisted_4 = { class: "listbox-subtitle" };
|
|
35
|
+
const _hoisted_5 = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "section-description"
|
|
38
|
+
};
|
|
39
|
+
const _hoisted_6 = { class: "components-container" };
|
|
40
|
+
const _hoisted_7 = {
|
|
41
|
+
key: 7,
|
|
42
|
+
class: "text-red-500 text-xs"
|
|
43
|
+
};
|
|
44
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
|
+
__name: "CustomNode",
|
|
46
|
+
setup(__props, { expose: __expose }) {
|
|
47
|
+
const schema = ref(null);
|
|
48
|
+
const formData = ref(null);
|
|
49
|
+
const loading = ref(true);
|
|
50
|
+
const error = ref("");
|
|
51
|
+
const nodeStore = useNodeStore();
|
|
52
|
+
const nodeData = ref(null);
|
|
53
|
+
const availableColumns = ref([]);
|
|
54
|
+
const currentNodeId = ref(null);
|
|
55
|
+
const nodeUserDefined = ref(null);
|
|
56
|
+
const columnTypes = ref([]);
|
|
57
|
+
const loadNodeData = async (nodeId) => {
|
|
58
|
+
var _a, _b, _c;
|
|
59
|
+
loading.value = true;
|
|
60
|
+
error.value = "";
|
|
61
|
+
currentNodeId.value = nodeId;
|
|
62
|
+
try {
|
|
63
|
+
const inputNodeData = await nodeStore.getNodeData(nodeId, false);
|
|
64
|
+
if (!inputNodeData) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const [schemaData] = await Promise.all([getCustomNodeSchema(nodeStore.flow_id, nodeId)]);
|
|
68
|
+
console.log("schemaData", schemaData);
|
|
69
|
+
schema.value = schemaData;
|
|
70
|
+
nodeData.value = inputNodeData;
|
|
71
|
+
nodeUserDefined.value = (_a = nodeData.value) == null ? void 0 : _a.setting_input;
|
|
72
|
+
if (!((_b = nodeData.value) == null ? void 0 : _b.setting_input.is_setup) && nodeUserDefined.value) {
|
|
73
|
+
nodeUserDefined.value.settings = {};
|
|
74
|
+
}
|
|
75
|
+
if ((_c = inputNodeData == null ? void 0 : inputNodeData.main_input) == null ? void 0 : _c.columns) {
|
|
76
|
+
availableColumns.value = inputNodeData.main_input.columns;
|
|
77
|
+
columnTypes.value = inputNodeData.main_input.table_schema;
|
|
78
|
+
} else {
|
|
79
|
+
console.warn(
|
|
80
|
+
`No main_input or columns found for node ${nodeId}. Select components may be empty.`
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
initializeFormData(schemaData, inputNodeData == null ? void 0 : inputNodeData.setting_input);
|
|
84
|
+
} catch (err) {
|
|
85
|
+
error.value = err.message || "An unknown error occurred while loading node data.";
|
|
86
|
+
} finally {
|
|
87
|
+
loading.value = false;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const pushNodeData = async () => {
|
|
91
|
+
if (!nodeData.value || currentNodeId.value === null) {
|
|
92
|
+
console.warn("Cannot push data: node data or ID is not available.");
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (nodeUserDefined.value) {
|
|
96
|
+
nodeUserDefined.value.settings = formData.value;
|
|
97
|
+
nodeUserDefined.value.is_user_defined = true;
|
|
98
|
+
nodeUserDefined.value.is_setup = true;
|
|
99
|
+
}
|
|
100
|
+
console.log(JSON.stringify(formData.value, null, 2));
|
|
101
|
+
nodeStore.updateUserDefinedSettings(nodeUserDefined);
|
|
102
|
+
};
|
|
103
|
+
function initializeFormData(schemaData, savedSettings) {
|
|
104
|
+
var _a;
|
|
105
|
+
const data = {};
|
|
106
|
+
for (const sectionKey in schemaData.settings_schema) {
|
|
107
|
+
data[sectionKey] = {};
|
|
108
|
+
const section = schemaData.settings_schema[sectionKey];
|
|
109
|
+
for (const componentKey in section.components) {
|
|
110
|
+
const component = section.components[componentKey];
|
|
111
|
+
const savedValue = (_a = savedSettings == null ? void 0 : savedSettings[sectionKey]) == null ? void 0 : _a[componentKey];
|
|
112
|
+
if (savedValue !== void 0) {
|
|
113
|
+
data[sectionKey][componentKey] = savedValue;
|
|
114
|
+
} else if (component.value !== void 0) {
|
|
115
|
+
data[sectionKey][componentKey] = component.value;
|
|
116
|
+
} else {
|
|
117
|
+
let defaultValue = component.default ?? null;
|
|
118
|
+
if (component.input_type === "array" && defaultValue === null) {
|
|
119
|
+
defaultValue = [];
|
|
120
|
+
}
|
|
121
|
+
data[sectionKey][componentKey] = defaultValue;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
formData.value = data;
|
|
126
|
+
}
|
|
127
|
+
__expose({
|
|
128
|
+
loadNodeData,
|
|
129
|
+
pushNodeData
|
|
130
|
+
});
|
|
131
|
+
return (_ctx, _cache) => {
|
|
132
|
+
return loading.value ? (openBlock(), createElementBlock("div", _hoisted_1, "Loading Node UI...")) : error.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
133
|
+
_cache[1] || (_cache[1] = createBaseVNode("strong", null, "Error:", -1)),
|
|
134
|
+
createTextVNode(" " + toDisplayString(error.value), 1)
|
|
135
|
+
])) : schema.value && formData.value && nodeUserDefined.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
136
|
+
createVNode(GenericNodeSettings, {
|
|
137
|
+
modelValue: nodeUserDefined.value,
|
|
138
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeUserDefined.value = $event)
|
|
139
|
+
}, {
|
|
140
|
+
default: withCtx(() => [
|
|
141
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(schema.value.settings_schema, (section, sectionKey) => {
|
|
142
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
143
|
+
key: sectionKey,
|
|
144
|
+
class: "listbox-wrapper"
|
|
145
|
+
}, [
|
|
146
|
+
createBaseVNode("div", _hoisted_4, toDisplayString(section.title || sectionKey.toString().replace(/_/g, " ")), 1),
|
|
147
|
+
section.description ? (openBlock(), createElementBlock("p", _hoisted_5, toDisplayString(section.description), 1)) : createCommentVNode("", true),
|
|
148
|
+
createBaseVNode("div", _hoisted_6, [
|
|
149
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(section.components, (component, componentKey) => {
|
|
150
|
+
return openBlock(), createElementBlock("div", {
|
|
151
|
+
key: componentKey,
|
|
152
|
+
class: "component-item"
|
|
153
|
+
}, [
|
|
154
|
+
component.component_type === "TextInput" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
155
|
+
key: 0,
|
|
156
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
157
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
158
|
+
schema: component
|
|
159
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : component.component_type === "NumericInput" ? (openBlock(), createBlock(_sfc_main$2, {
|
|
160
|
+
key: 1,
|
|
161
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
162
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
163
|
+
schema: component
|
|
164
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : component.component_type === "SliderInput" ? (openBlock(), createBlock(SliderInput, {
|
|
165
|
+
key: 2,
|
|
166
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
167
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
168
|
+
schema: component
|
|
169
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : component.component_type === "MultiSelect" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
170
|
+
key: 3,
|
|
171
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
172
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
173
|
+
schema: component,
|
|
174
|
+
"incoming-columns": availableColumns.value
|
|
175
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema", "incoming-columns"])) : component.component_type === "SingleSelect" ? (openBlock(), createBlock(_sfc_main$4, {
|
|
176
|
+
key: 4,
|
|
177
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
178
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
179
|
+
schema: component,
|
|
180
|
+
"incoming-columns": availableColumns.value
|
|
181
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema", "incoming-columns"])) : component.component_type === "ToggleSwitch" ? (openBlock(), createBlock(_sfc_main$5, {
|
|
182
|
+
key: 5,
|
|
183
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
184
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
185
|
+
schema: component
|
|
186
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : component.component_type === "ColumnSelector" ? (openBlock(), createBlock(ColumnSelector, {
|
|
187
|
+
key: 6,
|
|
188
|
+
modelValue: formData.value[sectionKey][componentKey],
|
|
189
|
+
"onUpdate:modelValue": ($event) => formData.value[sectionKey][componentKey] = $event,
|
|
190
|
+
schema: component,
|
|
191
|
+
"incoming-columns": columnTypes.value
|
|
192
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema", "incoming-columns"])) : (openBlock(), createElementBlock("div", _hoisted_7, " Unknown component type: " + toDisplayString(component.component_type), 1))
|
|
193
|
+
]);
|
|
194
|
+
}), 128))
|
|
195
|
+
])
|
|
196
|
+
])), [
|
|
197
|
+
[vShow, !section.hidden]
|
|
198
|
+
]);
|
|
199
|
+
}), 128))
|
|
200
|
+
]),
|
|
201
|
+
_: 1
|
|
202
|
+
}, 8, ["modelValue"])
|
|
203
|
+
])) : createCommentVNode("", true);
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
const CustomNode_vue_vue_type_style_index_0_scoped_d7137248_lang = "";
|
|
208
|
+
const CustomNode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d7137248"]]);
|
|
209
|
+
export {
|
|
210
|
+
CustomNode as default
|
|
211
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as fetchSecretsApi } from "./secretApi-
|
|
2
|
-
import { d as defineComponent, r as ref, n as onMounted, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, F as Fragment, q as renderList, i as createCommentVNode, _ as _export_sfc } from "./index-
|
|
1
|
+
import { f as fetchSecretsApi } from "./secretApi-b3cb072e.js";
|
|
2
|
+
import { d as defineComponent, r as ref, n as onMounted, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, F as Fragment, q as renderList, i as createCommentVNode, _ as _export_sfc } from "./index-5ec791df.js";
|
|
3
3
|
const _hoisted_1 = { class: "connection-settings-container" };
|
|
4
4
|
const _hoisted_2 = { class: "toggle-button" };
|
|
5
5
|
const _hoisted_3 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as fetchDatabaseConnectionsInterfaces, c as createDatabaseConnectionApi, d as deleteDatabaseConnectionApi } from "./api-
|
|
2
|
-
import { d as defineComponent, r as ref, m as watch, l as computed, c as openBlock, e as createElementBlock, p as createBaseVNode, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, al as vModelDynamic, s as normalizeClass, am as vModelCheckbox, t as toDisplayString, v as withModifiers, n as onMounted, g as createTextVNode, F as Fragment, q as renderList, f as createVNode, w as withCtx, u as unref, z as ElMessage, an as ElDialog, ao as ElButton, _ as _export_sfc } from "./index-
|
|
1
|
+
import { f as fetchDatabaseConnectionsInterfaces, c as createDatabaseConnectionApi, d as deleteDatabaseConnectionApi } from "./api-2d1394bd.js";
|
|
2
|
+
import { d as defineComponent, r as ref, m as watch, l as computed, c as openBlock, e as createElementBlock, p as createBaseVNode, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, al as vModelDynamic, s as normalizeClass, am as vModelCheckbox, t as toDisplayString, v as withModifiers, n as onMounted, g as createTextVNode, F as Fragment, q as renderList, f as createVNode, w as withCtx, u as unref, z as ElMessage, an as ElDialog, ao as ElButton, _ as _export_sfc } from "./index-5ec791df.js";
|
|
3
3
|
const _hoisted_1$1 = { class: "form-grid" };
|
|
4
4
|
const _hoisted_2$1 = { class: "form-field" };
|
|
5
5
|
const _hoisted_3$1 = { class: "form-field" };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, n as onMounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, h as createBlock, g as createTextVNode, t as toDisplayString, u as unref, ap as ElRadio, a8 as withDirectives, ak as vModelSelect, a9 as vModelText, i as createCommentVNode, a as axios, z as ElMessage, _ as _export_sfc } from "./index-
|
|
2
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
3
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
4
|
-
import { f as fetchDatabaseConnectionsInterfaces } from "./api-
|
|
5
|
-
import DatabaseConnectionSettings from "./DatabaseConnectionSettings-
|
|
6
|
-
import SqlQueryComponent from "./SQLQueryComponent-
|
|
7
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
8
|
-
import "./secretApi-
|
|
9
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, n as onMounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, h as createBlock, g as createTextVNode, t as toDisplayString, u as unref, ap as ElRadio, a8 as withDirectives, ak as vModelSelect, a9 as vModelText, i as createCommentVNode, a as axios, z as ElMessage, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
3
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
4
|
+
import { f as fetchDatabaseConnectionsInterfaces } from "./api-2d1394bd.js";
|
|
5
|
+
import DatabaseConnectionSettings from "./DatabaseConnectionSettings-819d3267.js";
|
|
6
|
+
import SqlQueryComponent from "./SQLQueryComponent-8a486004.js";
|
|
7
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
8
|
+
import "./secretApi-b3cb072e.js";
|
|
9
|
+
import "./designer-1667687d.js";
|
|
10
10
|
const createNodeDatabaseReader = (flowId, nodeId) => {
|
|
11
11
|
const databaseSettings = {
|
|
12
12
|
query_mode: "table",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, n as onMounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, h as createBlock, g as createTextVNode, t as toDisplayString, u as unref, ap as ElRadio, a8 as withDirectives, ak as vModelSelect, a9 as vModelText, z as ElMessage, _ as _export_sfc } from "./index-
|
|
2
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
3
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
4
|
-
import { f as fetchDatabaseConnectionsInterfaces } from "./api-
|
|
5
|
-
import DatabaseConnectionSettings from "./DatabaseConnectionSettings-
|
|
6
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
7
|
-
import "./secretApi-
|
|
8
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, n as onMounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, h as createBlock, g as createTextVNode, t as toDisplayString, u as unref, ap as ElRadio, a8 as withDirectives, ak as vModelSelect, a9 as vModelText, z as ElMessage, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
3
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
4
|
+
import { f as fetchDatabaseConnectionsInterfaces } from "./api-2d1394bd.js";
|
|
5
|
+
import DatabaseConnectionSettings from "./DatabaseConnectionSettings-819d3267.js";
|
|
6
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
7
|
+
import "./secretApi-b3cb072e.js";
|
|
8
|
+
import "./designer-1667687d.js";
|
|
9
9
|
const createNodeDatabaseWriter = (flowId, nodeId) => {
|
|
10
10
|
const databaseWriteSettings = {
|
|
11
11
|
if_exists: "replace",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
2
|
-
import VueGraphicWalker from "./VueGraphicWalker-
|
|
3
|
-
import { a as axios, d as defineComponent, r as ref, l as computed, c as openBlock, e as createElementBlock, h as createBlock, u as unref, p as createBaseVNode, t as toDisplayString, _ as _export_sfc } from "./index-
|
|
4
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
5
|
-
import { u as useItemStore } from "./designer-
|
|
1
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
2
|
+
import VueGraphicWalker from "./VueGraphicWalker-4d7861f4.js";
|
|
3
|
+
import { a as axios, d as defineComponent, r as ref, l as computed, c as openBlock, e as createElementBlock, h as createBlock, u as unref, p as createBaseVNode, t as toDisplayString, _ as _export_sfc } from "./index-5ec791df.js";
|
|
4
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
5
|
+
import { u as useItemStore } from "./designer-1667687d.js";
|
|
6
6
|
const fetchGraphicWalkerData = async (flowId, nodeId) => {
|
|
7
7
|
var _a, _b;
|
|
8
8
|
console.log(`[GraphicWalker] Fetching data for flow ${flowId}, node ${nodeId}`);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
2
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
3
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
4
|
-
import { d as defineComponent, r as ref, a3 as watchEffect, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, i as createCommentVNode, h as createBlock, u as unref, _ as _export_sfc } from "./index-
|
|
5
|
-
import "./designer-
|
|
1
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
2
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
3
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
4
|
+
import { d as defineComponent, r as ref, a3 as watchEffect, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, i as createCommentVNode, h as createBlock, u as unref, _ as _export_sfc } from "./index-5ec791df.js";
|
|
5
|
+
import "./designer-1667687d.js";
|
|
6
6
|
function get_template_source_type(type, options) {
|
|
7
7
|
switch (type) {
|
|
8
8
|
case "SAMPLE_USERS":
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, g as createTextVNode, i as createCommentVNode, u as unref, a8 as withDirectives, a9 as vModelText, h as createBlock, _ as _export_sfc } from "./index-
|
|
2
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
3
|
-
import { C as ColumnSelector } from "./dropDown-
|
|
4
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
5
|
-
import mainEditorRef from "./fullEditor-
|
|
6
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
7
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, g as createTextVNode, i as createCommentVNode, u as unref, a8 as withDirectives, a9 as vModelText, h as createBlock, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
3
|
+
import { C as ColumnSelector } from "./dropDown-41ebe3c2.js";
|
|
4
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
5
|
+
import mainEditorRef from "./fullEditor-0670d32d.js";
|
|
6
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
7
|
+
import "./designer-1667687d.js";
|
|
8
8
|
const _hoisted_1 = { key: 0 };
|
|
9
9
|
const _hoisted_2 = { class: "listbox-wrapper" };
|
|
10
10
|
const _hoisted_3 = { style: { "border-radius": "20px" } };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
2
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
3
|
-
import mainEditorRef from "./fullEditor-
|
|
4
|
-
import { C as ColumnSelector } from "./dropDown-
|
|
5
|
-
import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, t as toDisplayString, i as createCommentVNode, p as createBaseVNode, f as createVNode, _ as _export_sfc, w as withCtx, u as unref, h as createBlock } from "./index-
|
|
6
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
7
|
-
import "./designer-
|
|
1
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
2
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
3
|
+
import mainEditorRef from "./fullEditor-0670d32d.js";
|
|
4
|
+
import { C as ColumnSelector } from "./dropDown-41ebe3c2.js";
|
|
5
|
+
import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, t as toDisplayString, i as createCommentVNode, p as createBaseVNode, f as createVNode, _ as _export_sfc, w as withCtx, u as unref, h as createBlock } from "./index-5ec791df.js";
|
|
6
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
7
|
+
import "./designer-1667687d.js";
|
|
8
8
|
const _hoisted_1$1 = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "label"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, s as normalizeClass, F as Fragment, q as renderList, h as createBlock, i as createCommentVNode, g as createTextVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, u as unref, _ as _export_sfc } from "./index-
|
|
2
|
-
import { u as useNodeStore } from "./vue-codemirror.esm-
|
|
3
|
-
import { C as ColumnSelector } from "./dropDown-
|
|
4
|
-
import { s as selectDynamic } from "./selectDynamic-
|
|
5
|
-
import { u as unavailableField } from "./UnavailableFields-
|
|
6
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
7
|
-
import { C as CodeLoader } from "./vue-content-loader.es-
|
|
8
|
-
import "./designer-
|
|
1
|
+
import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, s as normalizeClass, F as Fragment, q as renderList, h as createBlock, i as createCommentVNode, g as createTextVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, u as unref, _ as _export_sfc } from "./index-5ec791df.js";
|
|
2
|
+
import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
|
|
3
|
+
import { C as ColumnSelector } from "./dropDown-41ebe3c2.js";
|
|
4
|
+
import { s as selectDynamic } from "./selectDynamic-7ad95bca.js";
|
|
5
|
+
import { u as unavailableField } from "./UnavailableFields-66239e83.js";
|
|
6
|
+
import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
|
|
7
|
+
import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
|
|
8
|
+
import "./designer-1667687d.js";
|
|
9
9
|
const _hoisted_1 = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "fuzzy-join-container"
|