Flowfile 0.3.9__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/api.py +0 -1
- flowfile/web/static/assets/{CloudConnectionManager-c97c25f8.js → CloudConnectionManager-109ecc3c.js} +2 -2
- flowfile/web/static/assets/{CloudStorageReader-f1ff509e.js → CloudStorageReader-19cdd67a.js} +11 -78
- flowfile/web/static/assets/{CloudStorageWriter-034f8b78.js → CloudStorageWriter-48e0ae20.js} +12 -79
- flowfile/web/static/assets/{CloudStorageWriter-49c9a4b2.css → CloudStorageWriter-b0ee067f.css} +24 -24
- flowfile/web/static/assets/ColumnSelector-47996a16.css +10 -0
- flowfile/web/static/assets/ColumnSelector-ecaf7c44.js +83 -0
- flowfile/web/static/assets/ContextMenu-2b348c4c.js +41 -0
- flowfile/web/static/assets/{SettingsSection-9c836ecc.css → ContextMenu-4c74eef1.css} +0 -21
- flowfile/web/static/assets/ContextMenu-63cfa99b.css +26 -0
- flowfile/web/static/assets/ContextMenu-a779eed7.js +41 -0
- flowfile/web/static/assets/ContextMenu-c13f91d0.css +26 -0
- flowfile/web/static/assets/ContextMenu-eca26a03.js +41 -0
- flowfile/web/static/assets/{CrossJoin-41efa4cb.css → CrossJoin-1119d18e.css} +18 -18
- flowfile/web/static/assets/{CrossJoin-9e156ebe.js → CrossJoin-a88f8142.js} +14 -84
- flowfile/web/static/assets/CustomNode-74a37f74.css +32 -0
- flowfile/web/static/assets/CustomNode-cb863dff.js +211 -0
- flowfile/web/static/assets/{DatabaseConnectionSettings-d5c625b3.js → DatabaseConnectionSettings-819d3267.js} +3 -3
- flowfile/web/static/assets/{DatabaseManager-265adc5e.js → DatabaseManager-84ee2834.js} +2 -2
- flowfile/web/static/assets/{DatabaseReader-0b10551e.js → DatabaseReader-060dd412.js} +14 -114
- flowfile/web/static/assets/{DatabaseReader-f50c6558.css → DatabaseReader-ae61773c.css} +0 -27
- flowfile/web/static/assets/{DatabaseWriter-c17c6916.js → DatabaseWriter-7fc7750f.js} +13 -74
- flowfile/web/static/assets/{ExploreData-5bdae813.css → ExploreData-2d0cf4db.css} +8 -14
- flowfile/web/static/assets/ExploreData-82c95991.js +192 -0
- flowfile/web/static/assets/{ExternalSource-3a66556c.js → ExternalSource-e1a6ddc7.js} +8 -79
- flowfile/web/static/assets/{Filter-91ad87e7.js → Filter-8aca894a.js} +12 -85
- flowfile/web/static/assets/{Filter-a9d08ba1.css → Filter-f62091b3.css} +3 -3
- flowfile/web/static/assets/{Formula-29f19d21.css → Formula-bb96803d.css} +4 -4
- flowfile/web/static/assets/{Formula-3c395ab1.js → Formula-e33686d9.js} +18 -85
- flowfile/web/static/assets/{FuzzyMatch-6857de82.css → FuzzyMatch-1010f966.css} +42 -42
- flowfile/web/static/assets/{FuzzyMatch-2df0d230.js → FuzzyMatch-abda150d.js} +16 -87
- flowfile/web/static/assets/{GraphSolver-d285877f.js → GraphSolver-4ecad1d7.js} +13 -159
- flowfile/web/static/assets/GraphSolver-f0cb7bfb.css +22 -0
- flowfile/web/static/assets/{GroupBy-0bd1cc6b.js → GroupBy-656d07f3.js} +12 -75
- flowfile/web/static/assets/{Unique-b5615727.css → GroupBy-b9505323.css} +8 -8
- flowfile/web/static/assets/{Join-5a78a203.js → Join-b84ec849.js} +15 -85
- flowfile/web/static/assets/{Join-f45eff22.css → Join-fd79b451.css} +20 -20
- flowfile/web/static/assets/{ManualInput-a71b52c6.css → ManualInput-3246a08d.css} +20 -20
- flowfile/web/static/assets/{ManualInput-93aef9d6.js → ManualInput-346f4135.js} +11 -82
- 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-ddc9079f.css +37 -0
- flowfile/web/static/assets/{Output-411ecaee.js → Output-eb041599.js} +13 -243
- flowfile/web/static/assets/Pivot-cf333e3d.css +22 -0
- flowfile/web/static/assets/{Pivot-89db4b04.js → Pivot-f5c774f4.js} +14 -138
- flowfile/web/static/assets/PivotValidation-26546cbc.js +61 -0
- flowfile/web/static/assets/PivotValidation-891ddfb0.css +13 -0
- flowfile/web/static/assets/PivotValidation-c46cd420.css +13 -0
- flowfile/web/static/assets/PivotValidation-e150a24b.js +61 -0
- flowfile/web/static/assets/{PolarsCode-a9f974f8.js → PolarsCode-da3a7abf.js} +13 -80
- flowfile/web/static/assets/Read-0c768769.js +243 -0
- flowfile/web/static/assets/Read-6b17491f.css +62 -0
- flowfile/web/static/assets/RecordCount-84736276.js +53 -0
- flowfile/web/static/assets/{RecordId-55ae7d36.js → RecordId-60055e6d.js} +8 -80
- flowfile/web/static/assets/SQLQueryComponent-36cef432.css +27 -0
- flowfile/web/static/assets/SQLQueryComponent-8a486004.js +38 -0
- flowfile/web/static/assets/{Sample-b4a18476.js → Sample-2d662611.js} +8 -77
- flowfile/web/static/assets/{SecretManager-b066d13a.js → SecretManager-ef586cab.js} +2 -2
- flowfile/web/static/assets/{Select-727688dc.js → Select-2e4a6965.js} +11 -85
- flowfile/web/static/assets/SettingsSection-2e4d03c4.css +21 -0
- flowfile/web/static/assets/{SettingsSection-695ac487.js → SettingsSection-310b61c0.js} +2 -40
- flowfile/web/static/assets/SettingsSection-5634f439.js +45 -0
- flowfile/web/static/assets/SettingsSection-5c696bee.css +20 -0
- flowfile/web/static/assets/SettingsSection-71e6b7e3.css +21 -0
- flowfile/web/static/assets/SettingsSection-7c68b19f.js +53 -0
- 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/{GroupBy-ab1ea74b.css → Sort-3643d625.css} +8 -8
- flowfile/web/static/assets/{Sort-be3339a8.js → Sort-4fdebe74.js} +12 -97
- 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-c92d1ec2.css → TextToRows-5d2c1190.css} +9 -9
- flowfile/web/static/assets/{TextToRows-7b8998da.js → TextToRows-73ffa692.js} +14 -83
- 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-8b0cb48e.js → UnavailableFields-66239e83.js} +2 -2
- flowfile/web/static/assets/Union-26b10614.js +77 -0
- flowfile/web/static/assets/{Union-8d9ac7f9.css → Union-af6c3d9b.css} +6 -6
- flowfile/web/static/assets/{Unique-af5a80b4.js → Unique-33b9edbb.js} +22 -91
- flowfile/web/static/assets/{Sort-7ccfa0fe.css → Unique-f9fb0809.css} +8 -8
- flowfile/web/static/assets/Unpivot-1e422df3.css +30 -0
- flowfile/web/static/assets/{Unpivot-5195d411.js → Unpivot-ef69d0e2.js} +12 -166
- flowfile/web/static/assets/UnpivotValidation-0d240eeb.css +13 -0
- flowfile/web/static/assets/UnpivotValidation-8658388e.js +51 -0
- flowfile/web/static/assets/{ExploreData-18a4fe52.js → VueGraphicWalker-4d7861f4.js} +4 -264
- flowfile/web/static/assets/VueGraphicWalker-ed5ab88b.css +6 -0
- flowfile/web/static/assets/{api-023d1733.js → api-2d1394bd.js} +1 -1
- flowfile/web/static/assets/{api-cb00cce6.js → api-c908fffe.js} +1 -1
- flowfile/web/static/assets/{designer-6c322d8e.js → designer-1667687d.js} +2201 -705
- flowfile/web/static/assets/{designer-2197d782.css → designer-665e9408.css} +836 -201
- flowfile/web/static/assets/{documentation-4d1fafe1.js → documentation-5eed779e.js} +1 -1
- flowfile/web/static/assets/{dropDown-0b46dd77.js → dropDown-41ebe3c2.js} +1 -1
- flowfile/web/static/assets/{fullEditor-ec4e4f95.js → fullEditor-0670d32d.js} +2 -2
- flowfile/web/static/assets/{genericNodeSettings-def5879b.js → genericNodeSettings-38410ebf.js} +3 -3
- flowfile/web/static/assets/{index-681a3ed0.css → index-50508d4d.css} +8 -0
- flowfile/web/static/assets/{index-683fc198.js → index-5ec791df.js} +210 -31
- flowfile/web/static/assets/outputCsv-059583b6.js +86 -0
- flowfile/web/static/assets/{Output-48f81019.css → outputCsv-9cc59e0b.css} +0 -143
- flowfile/web/static/assets/outputExcel-76b1e02c.js +56 -0
- flowfile/web/static/assets/outputExcel-b41305c0.css +102 -0
- flowfile/web/static/assets/outputParquet-440fd4c7.js +31 -0
- flowfile/web/static/assets/outputParquet-cf8cf3f2.css +4 -0
- flowfile/web/static/assets/readCsv-9813903a.js +178 -0
- flowfile/web/static/assets/readCsv-bca3ed53.css +52 -0
- flowfile/web/static/assets/readExcel-7f40d237.js +203 -0
- flowfile/web/static/assets/readExcel-e1b381ea.css +64 -0
- flowfile/web/static/assets/readParquet-22d56002.js +26 -0
- flowfile/web/static/assets/readParquet-cee068e2.css +19 -0
- flowfile/web/static/assets/{secretApi-baceb6f9.js → secretApi-b3cb072e.js} +1 -1
- flowfile/web/static/assets/{selectDynamic-de91449a.js → selectDynamic-7ad95bca.js} +7 -7
- flowfile/web/static/assets/{selectDynamic-b062bc9b.css → selectDynamic-aa913ff4.css} +16 -16
- flowfile/web/static/assets/user-defined-icon-0ae16c90.png +0 -0
- flowfile/web/static/assets/{vue-codemirror.esm-dc5e3348.js → vue-codemirror.esm-b1dfaa46.js} +59 -33
- flowfile/web/static/assets/{vue-content-loader.es-ba94b82f.js → vue-content-loader.es-22bac17c.js} +1 -1
- flowfile/web/static/index.html +2 -2
- {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/METADATA +1 -1
- {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/RECORD +160 -102
- flowfile_core/configs/flow_logger.py +5 -13
- flowfile_core/configs/node_store/__init__.py +30 -0
- flowfile_core/configs/node_store/nodes.py +383 -99
- flowfile_core/configs/node_store/user_defined_node_registry.py +193 -0
- flowfile_core/configs/settings.py +2 -1
- flowfile_core/database/connection.py +5 -21
- flowfile_core/fileExplorer/funcs.py +239 -121
- 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_data_engine/subprocess_operations/subprocess_operations.py +28 -8
- flowfile_core/flowfile/flow_graph.py +117 -34
- flowfile_core/flowfile/flow_node/flow_node.py +45 -13
- flowfile_core/flowfile/handler.py +22 -3
- 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/flowfile/schema_callbacks.py +8 -4
- flowfile_core/flowfile/setting_generator/settings.py +0 -1
- flowfile_core/main.py +5 -1
- flowfile_core/routes/routes.py +73 -28
- flowfile_core/routes/user_defined_components.py +55 -0
- flowfile_core/schemas/input_schema.py +7 -1
- flowfile_core/schemas/output_model.py +5 -2
- flowfile_core/schemas/schemas.py +8 -3
- flowfile_core/schemas/transform_schema.py +1 -0
- flowfile_core/utils/validate_setup.py +3 -1
- flowfile_worker/__init__.py +6 -35
- flowfile_worker/main.py +5 -2
- flowfile_worker/routes.py +47 -5
- shared/__init__.py +15 -0
- shared/storage_config.py +258 -0
- flowfile/web/static/assets/GraphSolver-17fd26db.css +0 -68
- flowfile/web/static/assets/Pivot-f415e85f.css +0 -35
- flowfile/web/static/assets/Read-80dc1675.css +0 -197
- flowfile/web/static/assets/Read-c3b1929c.js +0 -701
- flowfile/web/static/assets/RecordCount-4e95f98e.js +0 -122
- flowfile/web/static/assets/Union-89fd73dc.js +0 -146
- flowfile/web/static/assets/Unpivot-246e9bbd.css +0 -77
- flowfile/web/static/assets/nodeTitle-a16db7c3.js +0 -227
- flowfile/web/static/assets/nodeTitle-f4b12bcb.css +0 -134
- {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/LICENSE +0 -0
- {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/WHEEL +0 -0
- {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,11 +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,
|
|
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
|
|
8
|
-
import "./designer-6c322d8e.js";
|
|
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";
|
|
9
8
|
const _hoisted_1 = { key: 0 };
|
|
10
9
|
const _hoisted_2 = { class: "listbox-wrapper" };
|
|
11
10
|
const _hoisted_3 = { style: { "border-radius": "20px" } };
|
|
@@ -15,8 +14,8 @@ const _hoisted_6 = { class: "selectors-row" };
|
|
|
15
14
|
const _hoisted_7 = { key: 0 };
|
|
16
15
|
const _hoisted_8 = { key: 1 };
|
|
17
16
|
const _hoisted_9 = { key: 2 };
|
|
18
|
-
const _sfc_main
|
|
19
|
-
__name: "
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
|
+
__name: "Filter",
|
|
20
19
|
setup(__props, { expose: __expose }) {
|
|
21
20
|
const editorString = ref("");
|
|
22
21
|
const isLoaded = ref(false);
|
|
@@ -88,8 +87,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
88
87
|
}
|
|
89
88
|
nodeStore.updateSettings(nodeFilter);
|
|
90
89
|
}
|
|
91
|
-
isLoaded.value = false;
|
|
92
|
-
nodeStore.isDrawerOpen = false;
|
|
93
90
|
};
|
|
94
91
|
__expose({ loadNodeData, pushNodeData });
|
|
95
92
|
return (_ctx, _cache) => {
|
|
@@ -160,78 +157,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
160
157
|
};
|
|
161
158
|
}
|
|
162
159
|
});
|
|
163
|
-
const
|
|
164
|
-
const
|
|
165
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
166
|
-
__name: "Filter",
|
|
167
|
-
props: {
|
|
168
|
-
nodeId: {
|
|
169
|
-
type: Number,
|
|
170
|
-
required: true
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
setup(__props) {
|
|
174
|
-
const nodeStore = useNodeStore();
|
|
175
|
-
const childComp = ref(null);
|
|
176
|
-
const props = __props;
|
|
177
|
-
const el = ref(null);
|
|
178
|
-
const drawer = ref(false);
|
|
179
|
-
const closeOnDrawer = () => {
|
|
180
|
-
var _a;
|
|
181
|
-
(_a = childComp.value) == null ? void 0 : _a.pushNodeData();
|
|
182
|
-
drawer.value = false;
|
|
183
|
-
nodeStore.isDrawerOpen = false;
|
|
184
|
-
};
|
|
185
|
-
const openDrawer = async () => {
|
|
186
|
-
if (nodeStore.node_id === props.nodeId) {
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
nodeStore.closeDrawer();
|
|
190
|
-
drawer.value = true;
|
|
191
|
-
const drawerOpen = nodeStore.isDrawerOpen;
|
|
192
|
-
nodeStore.isDrawerOpen = true;
|
|
193
|
-
await nextTick();
|
|
194
|
-
if (nodeStore.node_id === props.nodeId && drawerOpen) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
if (childComp.value) {
|
|
198
|
-
childComp.value.loadNodeData(props.nodeId);
|
|
199
|
-
nodeStore.openDrawer(closeOnDrawer);
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
onMounted(async () => {
|
|
203
|
-
await nextTick();
|
|
204
|
-
});
|
|
205
|
-
return (_ctx, _cache) => {
|
|
206
|
-
return openBlock(), createElementBlock("div", {
|
|
207
|
-
ref_key: "el",
|
|
208
|
-
ref: el
|
|
209
|
-
}, [
|
|
210
|
-
createVNode(NodeButton, {
|
|
211
|
-
ref: "nodeButton",
|
|
212
|
-
"node-id": __props.nodeId,
|
|
213
|
-
"image-src": "filter.png",
|
|
214
|
-
title: `${__props.nodeId}: Filter`,
|
|
215
|
-
onClick: openDrawer
|
|
216
|
-
}, null, 8, ["node-id", "title"]),
|
|
217
|
-
drawer.value ? (openBlock(), createBlock(Teleport, {
|
|
218
|
-
key: 0,
|
|
219
|
-
to: "#nodesettings"
|
|
220
|
-
}, [
|
|
221
|
-
createVNode(NodeTitle, {
|
|
222
|
-
title: "Filter data",
|
|
223
|
-
intro: "Filter rows in the data"
|
|
224
|
-
}),
|
|
225
|
-
createVNode(filterInput, {
|
|
226
|
-
ref_key: "childComp",
|
|
227
|
-
ref: childComp,
|
|
228
|
-
"node-id": __props.nodeId
|
|
229
|
-
}, null, 8, ["node-id"])
|
|
230
|
-
])) : createCommentVNode("", true)
|
|
231
|
-
], 512);
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
});
|
|
160
|
+
const Filter_vue_vue_type_style_index_0_scoped_08e238c3_lang = "";
|
|
161
|
+
const Filter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-08e238c3"]]);
|
|
235
162
|
export {
|
|
236
|
-
|
|
163
|
+
Filter as default
|
|
237
164
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.x-flip[data-v-
|
|
1
|
+
.x-flip[data-v-08e238c3] {
|
|
2
2
|
transform: scaleX(-100%);
|
|
3
3
|
}
|
|
4
|
-
.input-field[data-v-
|
|
4
|
+
.input-field[data-v-08e238c3] {
|
|
5
5
|
width: 100%; /* Full width to fit container */
|
|
6
6
|
padding: 6px 10px; /* Reduced padding */
|
|
7
7
|
font-size: 14px; /* Smaller font size */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
outline: none; /* Remove the default focus outline */
|
|
13
13
|
transition: border-color 0.2s, box-shadow 0.2s; /* Smooth transition for focus */
|
|
14
14
|
}
|
|
15
|
-
.selectors-row[data-v-
|
|
15
|
+
.selectors-row[data-v-08e238c3] {
|
|
16
16
|
display: flex;
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
margin-bottom: 20px; /* Spacing between rows */
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
width: 100%;
|
|
9
9
|
position: relative;
|
|
10
10
|
}
|
|
11
|
-
.x-flip[data-v-
|
|
11
|
+
.x-flip[data-v-eac276b3] {
|
|
12
12
|
transform: scaleX(-1);
|
|
13
13
|
}
|
|
14
|
-
.va-navbar__item[data-v-
|
|
14
|
+
.va-navbar__item[data-v-eac276b3] {
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
margin-bottom: 20px; /* Added margin for spacing */
|
|
17
17
|
}
|
|
18
|
-
.data-type-select[data-v-
|
|
18
|
+
.data-type-select[data-v-eac276b3] {
|
|
19
19
|
margin-top: 10px;
|
|
20
20
|
margin-bottom: 20px;
|
|
21
21
|
}
|
|
22
|
-
.selector-container[data-v-
|
|
22
|
+
.selector-container[data-v-eac276b3] {
|
|
23
23
|
display: flex; /* Make children align horizontally */
|
|
24
24
|
align-items: center; /* Center items vertically */
|
|
25
25
|
gap: 10px; /* Add space between items */
|
|
@@ -1,17 +1,16 @@
|
|
|
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
|
|
6
|
-
import { G as GenericNodeSettings } from "./genericNodeSettings-
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
const _hoisted_1$2 = {
|
|
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
|
+
const _hoisted_1$1 = {
|
|
10
9
|
key: 0,
|
|
11
10
|
class: "label"
|
|
12
11
|
};
|
|
13
12
|
const _hoisted_2$1 = { class: "select-wrapper" };
|
|
14
|
-
const _sfc_main$
|
|
13
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
15
14
|
__name: "dropDownGeneric",
|
|
16
15
|
props: {
|
|
17
16
|
modelValue: {
|
|
@@ -56,7 +55,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
56
55
|
});
|
|
57
56
|
return (_ctx, _cache) => {
|
|
58
57
|
return openBlock(), createElementBlock("div", null, [
|
|
59
|
-
__props.title !== "" ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
58
|
+
__props.title !== "" ? (openBlock(), createElementBlock("p", _hoisted_1$1, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
60
59
|
createBaseVNode("div", _hoisted_2$1, [
|
|
61
60
|
createVNode(ColumnSelector, {
|
|
62
61
|
modelValue: localSelectedValue.value,
|
|
@@ -72,7 +71,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
72
71
|
}
|
|
73
72
|
});
|
|
74
73
|
const dropDownGeneric_vue_vue_type_style_index_0_scoped_f2958f57_lang = "";
|
|
75
|
-
const DropDownGeneric = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
74
|
+
const DropDownGeneric = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f2958f57"]]);
|
|
76
75
|
const createFormulaInput = (field_name = "", data_type = "String", function_def = "") => {
|
|
77
76
|
const fieldInput = {
|
|
78
77
|
name: field_name,
|
|
@@ -96,7 +95,7 @@ const createFormulaNode = (flowId = -1, nodeId = -1, pos_x = 0, pos_y = 0, field
|
|
|
96
95
|
};
|
|
97
96
|
return nodeFunction;
|
|
98
97
|
};
|
|
99
|
-
const _hoisted_1
|
|
98
|
+
const _hoisted_1 = {
|
|
100
99
|
key: 0,
|
|
101
100
|
class: "listbox-wrapper"
|
|
102
101
|
};
|
|
@@ -105,8 +104,8 @@ const _hoisted_3 = {
|
|
|
105
104
|
key: 0,
|
|
106
105
|
class: "selector-container"
|
|
107
106
|
};
|
|
108
|
-
const _sfc_main
|
|
109
|
-
__name: "
|
|
107
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
108
|
+
__name: "Formula",
|
|
110
109
|
setup(__props, { expose: __expose }) {
|
|
111
110
|
const showEditor = ref(false);
|
|
112
111
|
const nodeStore = useNodeStore();
|
|
@@ -148,7 +147,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
148
147
|
};
|
|
149
148
|
__expose({ loadNodeData, pushNodeData });
|
|
150
149
|
return (_ctx, _cache) => {
|
|
151
|
-
return dataLoaded.value && nodeFormula.value ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
150
|
+
return dataLoaded.value && nodeFormula.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
152
151
|
createVNode(GenericNodeSettings, {
|
|
153
152
|
modelValue: nodeFormula.value,
|
|
154
153
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => nodeFormula.value = $event)
|
|
@@ -189,74 +188,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
189
188
|
};
|
|
190
189
|
}
|
|
191
190
|
});
|
|
192
|
-
const
|
|
193
|
-
const
|
|
194
|
-
const _hoisted_1 = { ref: "el" };
|
|
195
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
196
|
-
__name: "Formula",
|
|
197
|
-
props: {
|
|
198
|
-
nodeId: {
|
|
199
|
-
type: Number,
|
|
200
|
-
required: true
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
setup(__props) {
|
|
204
|
-
const nodeStore = useNodeStore();
|
|
205
|
-
const childComp = ref(null);
|
|
206
|
-
const drawer = ref(false);
|
|
207
|
-
const props = __props;
|
|
208
|
-
const closeOnDrawer = () => {
|
|
209
|
-
var _a;
|
|
210
|
-
(_a = childComp.value) == null ? void 0 : _a.pushNodeData();
|
|
211
|
-
drawer.value = false;
|
|
212
|
-
nodeStore.isDrawerOpen = false;
|
|
213
|
-
};
|
|
214
|
-
const openDrawer = async () => {
|
|
215
|
-
if (nodeStore.node_id === props.nodeId) {
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
nodeStore.closeDrawer();
|
|
219
|
-
drawer.value = true;
|
|
220
|
-
const drawerOpen = nodeStore.isDrawerOpen;
|
|
221
|
-
nodeStore.isDrawerOpen = true;
|
|
222
|
-
await nextTick();
|
|
223
|
-
if (nodeStore.node_id === props.nodeId && drawerOpen) {
|
|
224
|
-
return;
|
|
225
|
-
}
|
|
226
|
-
if (childComp.value) {
|
|
227
|
-
childComp.value.loadNodeData(props.nodeId);
|
|
228
|
-
nodeStore.openDrawer(closeOnDrawer);
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
onMounted(async () => {
|
|
232
|
-
await nextTick();
|
|
233
|
-
});
|
|
234
|
-
return (_ctx, _cache) => {
|
|
235
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
236
|
-
createVNode(NodeButton, {
|
|
237
|
-
ref: "nodeButton",
|
|
238
|
-
"node-id": __props.nodeId,
|
|
239
|
-
"image-src": "formula.png",
|
|
240
|
-
title: `${__props.nodeId}: Formula`,
|
|
241
|
-
onClick: openDrawer
|
|
242
|
-
}, null, 8, ["node-id", "title"]),
|
|
243
|
-
drawer.value ? (openBlock(), createBlock(Teleport, {
|
|
244
|
-
key: 0,
|
|
245
|
-
to: "#nodesettings"
|
|
246
|
-
}, [
|
|
247
|
-
createVNode(NodeTitle, {
|
|
248
|
-
title: "Formula",
|
|
249
|
-
intro: "Create a new column with a formula"
|
|
250
|
-
}),
|
|
251
|
-
createVNode(editorInput, {
|
|
252
|
-
ref_key: "childComp",
|
|
253
|
-
ref: childComp
|
|
254
|
-
}, null, 512)
|
|
255
|
-
])) : createCommentVNode("", true)
|
|
256
|
-
], 512);
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
});
|
|
191
|
+
const Formula_vue_vue_type_style_index_0_scoped_eac276b3_lang = "";
|
|
192
|
+
const Formula = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eac276b3"]]);
|
|
260
193
|
export {
|
|
261
|
-
|
|
194
|
+
Formula as default
|
|
262
195
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/* Modern styling for an AI app */
|
|
3
|
-
.fuzzy-join-container[data-v-
|
|
3
|
+
.fuzzy-join-container[data-v-3c562315] {
|
|
4
4
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
5
5
|
color: #1a202c;
|
|
6
6
|
max-width: 100%;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* Tabs Navigation */
|
|
10
|
-
.tabs-navigation[data-v-
|
|
10
|
+
.tabs-navigation[data-v-3c562315] {
|
|
11
11
|
display: flex;
|
|
12
12
|
border-bottom: 1px solid #e2e8f0;
|
|
13
13
|
margin-bottom: 1.25rem;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
border-radius: 8px 8px 0 0;
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
}
|
|
18
|
-
.tab-button[data-v-
|
|
18
|
+
.tab-button[data-v-3c562315] {
|
|
19
19
|
background: none;
|
|
20
20
|
border: none;
|
|
21
21
|
padding: 0.75rem 1.25rem;
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
flex: 1;
|
|
30
30
|
text-align: center;
|
|
31
31
|
}
|
|
32
|
-
.tab-button[data-v-
|
|
32
|
+
.tab-button[data-v-3c562315]:hover {
|
|
33
33
|
color: #4a5568;
|
|
34
34
|
background-color: #edf2f7;
|
|
35
35
|
}
|
|
36
|
-
.tab-button.active[data-v-
|
|
36
|
+
.tab-button.active[data-v-3c562315] {
|
|
37
37
|
border-bottom-color: #3182ce;
|
|
38
38
|
color: #3182ce;
|
|
39
39
|
background-color: #ebf8ff;
|
|
40
40
|
}
|
|
41
|
-
.tab-content[data-v-
|
|
41
|
+
.tab-content[data-v-3c562315] {
|
|
42
42
|
min-height: 300px;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Card styling */
|
|
46
|
-
.settings-card[data-v-
|
|
46
|
+
.settings-card[data-v-3c562315] {
|
|
47
47
|
background-color: #ffffff;
|
|
48
48
|
border-radius: 8px;
|
|
49
49
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
@@ -51,45 +51,45 @@
|
|
|
51
51
|
border: 1px solid #edf2f7;
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
}
|
|
54
|
-
.card-header[data-v-
|
|
54
|
+
.card-header[data-v-3c562315] {
|
|
55
55
|
padding: 1rem 1.25rem;
|
|
56
56
|
border-bottom: 1px solid #edf2f7;
|
|
57
57
|
background-color: #fafafa;
|
|
58
58
|
}
|
|
59
|
-
.section-title[data-v-
|
|
59
|
+
.section-title[data-v-3c562315] {
|
|
60
60
|
margin: 0;
|
|
61
61
|
font-size: 1rem;
|
|
62
62
|
font-weight: 600;
|
|
63
63
|
color: #2d3748;
|
|
64
64
|
}
|
|
65
|
-
.card-content[data-v-
|
|
65
|
+
.card-content[data-v-3c562315] {
|
|
66
66
|
padding: 1rem 1.25rem;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* Join Settings */
|
|
70
|
-
.join-settings[data-v-
|
|
70
|
+
.join-settings[data-v-3c562315] {
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
gap: 1.25rem;
|
|
74
74
|
}
|
|
75
|
-
.setting-panel[data-v-
|
|
75
|
+
.setting-panel[data-v-3c562315] {
|
|
76
76
|
background-color: #f8fafc;
|
|
77
77
|
border-radius: 6px;
|
|
78
78
|
padding: 1rem;
|
|
79
79
|
border: 1px solid #edf2f7;
|
|
80
80
|
transition: all 0.2s ease;
|
|
81
81
|
}
|
|
82
|
-
.setting-panel[data-v-
|
|
82
|
+
.setting-panel[data-v-3c562315]:hover {
|
|
83
83
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
|
|
84
84
|
border-color: #e2e8f0;
|
|
85
85
|
}
|
|
86
|
-
.setting-header[data-v-
|
|
86
|
+
.setting-header[data-v-3c562315] {
|
|
87
87
|
display: flex;
|
|
88
88
|
justify-content: space-between;
|
|
89
89
|
align-items: center;
|
|
90
90
|
margin-bottom: 1rem;
|
|
91
91
|
}
|
|
92
|
-
.setting-title[data-v-
|
|
92
|
+
.setting-title[data-v-3c562315] {
|
|
93
93
|
font-size: 0.95rem;
|
|
94
94
|
font-weight: 600;
|
|
95
95
|
color: #4a5568;
|
|
@@ -97,54 +97,54 @@
|
|
|
97
97
|
display: flex;
|
|
98
98
|
align-items: center;
|
|
99
99
|
}
|
|
100
|
-
.unavailable-field[data-v-
|
|
100
|
+
.unavailable-field[data-v-3c562315] {
|
|
101
101
|
margin-right: 0.5rem;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/* Column Selection Grid */
|
|
105
|
-
.columns-grid[data-v-
|
|
105
|
+
.columns-grid[data-v-3c562315] {
|
|
106
106
|
display: grid;
|
|
107
107
|
grid-template-columns: 1fr 1fr;
|
|
108
108
|
gap: 1rem;
|
|
109
109
|
margin-bottom: 1rem;
|
|
110
110
|
}
|
|
111
|
-
.column-field[data-v-
|
|
111
|
+
.column-field[data-v-3c562315] {
|
|
112
112
|
display: flex;
|
|
113
113
|
flex-direction: column;
|
|
114
114
|
gap: 0.5rem;
|
|
115
115
|
}
|
|
116
|
-
.column-field label[data-v-
|
|
116
|
+
.column-field label[data-v-3c562315] {
|
|
117
117
|
font-size: 0.875rem;
|
|
118
118
|
font-weight: 500;
|
|
119
119
|
color: #4a5568;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/* Settings Grid */
|
|
123
|
-
.settings-grid[data-v-
|
|
123
|
+
.settings-grid[data-v-3c562315] {
|
|
124
124
|
display: grid;
|
|
125
125
|
grid-template-columns: 1fr 1fr;
|
|
126
126
|
gap: 1rem;
|
|
127
127
|
}
|
|
128
|
-
.threshold-field[data-v-
|
|
129
|
-
.select-field[data-v-
|
|
128
|
+
.threshold-field[data-v-3c562315],
|
|
129
|
+
.select-field[data-v-3c562315] {
|
|
130
130
|
display: flex;
|
|
131
131
|
flex-direction: column;
|
|
132
132
|
gap: 0.5rem;
|
|
133
133
|
}
|
|
134
|
-
.threshold-field label[data-v-
|
|
135
|
-
.select-field label[data-v-
|
|
134
|
+
.threshold-field label[data-v-3c562315],
|
|
135
|
+
.select-field label[data-v-3c562315] {
|
|
136
136
|
font-size: 0.875rem;
|
|
137
137
|
font-weight: 500;
|
|
138
138
|
color: #4a5568;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/* Range Input */
|
|
142
|
-
.range-container[data-v-
|
|
142
|
+
.range-container[data-v-3c562315] {
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
145
|
gap: 1rem;
|
|
146
146
|
}
|
|
147
|
-
.range-slider[data-v-
|
|
147
|
+
.range-slider[data-v-3c562315] {
|
|
148
148
|
flex: 1;
|
|
149
149
|
-webkit-appearance: none;
|
|
150
150
|
width: 100%;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
background: #e2e8f0;
|
|
154
154
|
outline: none;
|
|
155
155
|
}
|
|
156
|
-
.range-slider[data-v-
|
|
156
|
+
.range-slider[data-v-3c562315]::-webkit-slider-thumb {
|
|
157
157
|
-webkit-appearance: none;
|
|
158
158
|
appearance: none;
|
|
159
159
|
width: 16px;
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
border: 2px solid white;
|
|
165
165
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
166
166
|
}
|
|
167
|
-
.range-slider[data-v-
|
|
167
|
+
.range-slider[data-v-3c562315]::-moz-range-thumb {
|
|
168
168
|
width: 16px;
|
|
169
169
|
height: 16px;
|
|
170
170
|
border-radius: 50%;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
border: 2px solid white;
|
|
174
174
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
175
175
|
}
|
|
176
|
-
.range-value[data-v-
|
|
176
|
+
.range-value[data-v-3c562315] {
|
|
177
177
|
min-width: 3rem;
|
|
178
178
|
text-align: right;
|
|
179
179
|
font-size: 0.875rem;
|
|
@@ -182,10 +182,10 @@
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/* Select Input */
|
|
185
|
-
.select-wrapper[data-v-
|
|
185
|
+
.select-wrapper[data-v-3c562315] {
|
|
186
186
|
position: relative;
|
|
187
187
|
}
|
|
188
|
-
.select-input[data-v-
|
|
188
|
+
.select-input[data-v-3c562315] {
|
|
189
189
|
width: 100%;
|
|
190
190
|
padding: 0.5rem 0.75rem;
|
|
191
191
|
font-size: 0.875rem;
|
|
@@ -197,14 +197,14 @@
|
|
|
197
197
|
outline: none;
|
|
198
198
|
transition: all 0.2s ease;
|
|
199
199
|
}
|
|
200
|
-
.select-input[data-v-
|
|
200
|
+
.select-input[data-v-3c562315]:focus {
|
|
201
201
|
border-color: #3182ce;
|
|
202
202
|
box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.15);
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
/* Buttons */
|
|
206
|
-
.add-button[data-v-
|
|
207
|
-
.remove-button[data-v-
|
|
206
|
+
.add-button[data-v-3c562315],
|
|
207
|
+
.remove-button[data-v-3c562315] {
|
|
208
208
|
padding: 0.5rem 0.75rem;
|
|
209
209
|
border: 1px solid #e2e8f0;
|
|
210
210
|
border-radius: 6px;
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
cursor: pointer;
|
|
216
216
|
transition: all 0.2s ease;
|
|
217
217
|
}
|
|
218
|
-
.add-button[data-v-
|
|
218
|
+
.add-button[data-v-3c562315] {
|
|
219
219
|
background-color: #ebf8ff;
|
|
220
220
|
color: #3182ce;
|
|
221
221
|
margin-top: 0.5rem;
|
|
@@ -224,22 +224,22 @@
|
|
|
224
224
|
justify-content: center;
|
|
225
225
|
align-items: center;
|
|
226
226
|
}
|
|
227
|
-
.add-button[data-v-
|
|
227
|
+
.add-button[data-v-3c562315]:hover {
|
|
228
228
|
background-color: #bee3f8;
|
|
229
229
|
}
|
|
230
|
-
.remove-button[data-v-
|
|
230
|
+
.remove-button[data-v-3c562315] {
|
|
231
231
|
background-color: transparent;
|
|
232
232
|
border: 1px solid #e2e8f0;
|
|
233
233
|
}
|
|
234
|
-
.remove-button[data-v-
|
|
234
|
+
.remove-button[data-v-3c562315]:hover {
|
|
235
235
|
background-color: #fee2e2;
|
|
236
236
|
color: #e53e3e;
|
|
237
237
|
border-color: #fbd5d5;
|
|
238
238
|
}
|
|
239
|
-
.select-section[data-v-
|
|
239
|
+
.select-section[data-v-3c562315] {
|
|
240
240
|
margin-top: 1rem;
|
|
241
241
|
}
|
|
242
|
-
.select-section + .select-section[data-v-
|
|
242
|
+
.select-section + .select-section[data-v-3c562315] {
|
|
243
243
|
margin-top: 2rem;
|
|
244
244
|
padding-top: 1.5rem;
|
|
245
245
|
border-top: 1px solid #edf2f7;
|
|
@@ -247,8 +247,8 @@
|
|
|
247
247
|
|
|
248
248
|
/* Responsive adjustments */
|
|
249
249
|
@media (max-width: 768px) {
|
|
250
|
-
.columns-grid[data-v-
|
|
251
|
-
.settings-grid[data-v-
|
|
250
|
+
.columns-grid[data-v-3c562315],
|
|
251
|
+
.settings-grid[data-v-3c562315] {
|
|
252
252
|
grid-template-columns: 1fr;
|
|
253
253
|
}
|
|
254
254
|
}
|