Flowfile 0.4.1__py3-none-any.whl → 0.5.1__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.
Files changed (139) hide show
  1. flowfile/__init__.py +3 -1
  2. flowfile/api.py +1 -2
  3. flowfile/web/static/assets/{CloudConnectionManager-d3248f8d.js → CloudConnectionManager-0dfba9f2.js} +2 -2
  4. flowfile/web/static/assets/{CloudStorageReader-d65bf041.js → CloudStorageReader-d5b1b6c9.js} +6 -6
  5. flowfile/web/static/assets/{CloudStorageWriter-e83be3ed.js → CloudStorageWriter-00d87aad.js} +6 -6
  6. flowfile/web/static/assets/{ColumnSelector-cce661cf.js → ColumnSelector-4685e75d.js} +1 -1
  7. flowfile/web/static/assets/{ContextMenu-cf18d2cc.js → ContextMenu-23e909da.js} +1 -1
  8. flowfile/web/static/assets/{ContextMenu-160afb08.js → ContextMenu-70ae0c79.js} +1 -1
  9. flowfile/web/static/assets/{ContextMenu-11a4652a.js → ContextMenu-f149cf7c.js} +1 -1
  10. flowfile/web/static/assets/{CrossJoin-d395d38c.js → CrossJoin-702a3edd.js} +7 -7
  11. flowfile/web/static/assets/{CustomNode-b812dc0b.js → CustomNode-b1519993.js} +11 -11
  12. flowfile/web/static/assets/{DatabaseConnectionSettings-7000bf2c.js → DatabaseConnectionSettings-6f3e4ea5.js} +2 -2
  13. flowfile/web/static/assets/{DatabaseManager-9662ec5b.js → DatabaseManager-cf5ef661.js} +2 -2
  14. flowfile/web/static/assets/{DatabaseReader-4f035d0c.js → DatabaseReader-d38c7295.js} +9 -9
  15. flowfile/web/static/assets/{DatabaseWriter-f65dcd54.js → DatabaseWriter-b04ef46a.js} +8 -8
  16. flowfile/web/static/assets/{ExploreData-94c43dfc.js → ExploreData-5fa10ed8.js} +5 -5
  17. flowfile/web/static/assets/{ExternalSource-ac04b3cc.js → ExternalSource-d39af878.js} +5 -5
  18. flowfile/web/static/assets/{Filter-812dcbca.js → Filter-9b6d08db.js} +7 -7
  19. flowfile/web/static/assets/{Formula-71472193.js → Formula-6b04fb1d.js} +7 -7
  20. flowfile/web/static/assets/{FuzzyMatch-b317f631.js → FuzzyMatch-999521f4.js} +8 -8
  21. flowfile/web/static/assets/{GraphSolver-754a234f.js → GraphSolver-17dd2198.js} +6 -6
  22. flowfile/web/static/assets/{GroupBy-6c6f9802.js → GroupBy-6b039e18.js} +5 -5
  23. flowfile/web/static/assets/{Join-a1b800be.js → Join-24d0f113.js} +8 -8
  24. flowfile/web/static/assets/{ManualInput-a9640276.js → ManualInput-34639209.js} +4 -4
  25. flowfile/web/static/assets/{MultiSelect-97213888.js → MultiSelect-0e8724a3.js} +2 -2
  26. flowfile/web/static/assets/{MultiSelect.vue_vue_type_script_setup_true_lang-6ffe088a.js → MultiSelect.vue_vue_type_script_setup_true_lang-b0e538c2.js} +1 -1
  27. flowfile/web/static/assets/{NumericInput-e638088a.js → NumericInput-3d63a470.js} +2 -2
  28. flowfile/web/static/assets/{NumericInput.vue_vue_type_script_setup_true_lang-90eb2cba.js → NumericInput.vue_vue_type_script_setup_true_lang-e0edeccc.js} +1 -1
  29. flowfile/web/static/assets/{Output-ddc9079f.css → Output-283fe388.css} +5 -5
  30. flowfile/web/static/assets/{Output-76750610.js → Output-edea9802.js} +57 -38
  31. flowfile/web/static/assets/{Pivot-7814803f.js → Pivot-61d19301.js} +7 -7
  32. flowfile/web/static/assets/{PivotValidation-f92137d2.js → PivotValidation-de9f43fe.js} +1 -1
  33. flowfile/web/static/assets/{PivotValidation-76dd431a.js → PivotValidation-f97fec5b.js} +1 -1
  34. flowfile/web/static/assets/{PolarsCode-889c3008.js → PolarsCode-bc3c9984.js} +5 -5
  35. flowfile/web/static/assets/{Read-637b72a7.js → Read-64a3f259.js} +80 -105
  36. flowfile/web/static/assets/{Read-6b17491f.css → Read-e808b239.css} +10 -10
  37. flowfile/web/static/assets/{RecordCount-2b050c41.js → RecordCount-3d5039be.js} +4 -4
  38. flowfile/web/static/assets/{RecordId-81df7784.js → RecordId-597510e0.js} +6 -6
  39. flowfile/web/static/assets/{SQLQueryComponent-88dcfe53.js → SQLQueryComponent-df51adbe.js} +1 -1
  40. flowfile/web/static/assets/{Sample-258ad2a9.js → Sample-4be0a507.js} +4 -4
  41. flowfile/web/static/assets/{SecretManager-2a2cb7e2.js → SecretManager-4839be57.js} +2 -2
  42. flowfile/web/static/assets/{Select-850215fd.js → Select-9b72f201.js} +7 -7
  43. flowfile/web/static/assets/{SettingsSection-29b4fa6b.js → SettingsSection-7ded385d.js} +1 -1
  44. flowfile/web/static/assets/{SettingsSection-0e8d9123.js → SettingsSection-e1e9c953.js} +1 -1
  45. flowfile/web/static/assets/{SettingsSection-55bae608.js → SettingsSection-f0f75a42.js} +1 -1
  46. flowfile/web/static/assets/{SingleSelect-bebd408b.js → SingleSelect-6c777aac.js} +2 -2
  47. flowfile/web/static/assets/{SingleSelect.vue_vue_type_script_setup_true_lang-6093741c.js → SingleSelect.vue_vue_type_script_setup_true_lang-33e3ff9b.js} +1 -1
  48. flowfile/web/static/assets/{SliderInput-6a05ab61.js → SliderInput-7cb93e62.js} +1 -1
  49. flowfile/web/static/assets/{Sort-10ab48ed.js → Sort-6cbde21a.js} +5 -5
  50. flowfile/web/static/assets/{TextInput-df9d6259.js → TextInput-d9a40c11.js} +2 -2
  51. flowfile/web/static/assets/{TextInput.vue_vue_type_script_setup_true_lang-000e1178.js → TextInput.vue_vue_type_script_setup_true_lang-5896c375.js} +1 -1
  52. flowfile/web/static/assets/{TextToRows-6c2d93d8.js → TextToRows-c4fcbf4d.js} +7 -7
  53. flowfile/web/static/assets/{ToggleSwitch-0ff7ac52.js → ToggleSwitch-4ef91d19.js} +2 -2
  54. flowfile/web/static/assets/{ToggleSwitch.vue_vue_type_script_setup_true_lang-c6dc3029.js → ToggleSwitch.vue_vue_type_script_setup_true_lang-38478c20.js} +1 -1
  55. flowfile/web/static/assets/{UnavailableFields-1bab97cb.js → UnavailableFields-a03f512c.js} +2 -2
  56. flowfile/web/static/assets/{Union-b563478a.js → Union-bfe9b996.js} +4 -4
  57. flowfile/web/static/assets/{Unique-f90db5db.js → Unique-5d023a27.js} +8 -20
  58. flowfile/web/static/assets/{Unpivot-bcb0025f.js → Unpivot-91cc5354.js} +6 -6
  59. flowfile/web/static/assets/{UnpivotValidation-c4e73b04.js → UnpivotValidation-7ee2de44.js} +1 -1
  60. flowfile/web/static/assets/{VueGraphicWalker-bb8535e2.js → VueGraphicWalker-e51b9924.js} +1 -1
  61. flowfile/web/static/assets/{api-2d6adc4f.js → api-c1bad5ca.js} +1 -1
  62. flowfile/web/static/assets/{api-4c8e3822.js → api-cf1221f0.js} +1 -1
  63. flowfile/web/static/assets/{designer-e3c150ec.css → designer-8da3ba3a.css} +90 -67
  64. flowfile/web/static/assets/{designer-f3656d8c.js → designer-9633482a.js} +119 -51
  65. flowfile/web/static/assets/{documentation-52b241e7.js → documentation-ca400224.js} +1 -1
  66. flowfile/web/static/assets/{dropDown-1bca8a74.js → dropDown-614b998d.js} +1 -1
  67. flowfile/web/static/assets/{fullEditor-2985687e.js → fullEditor-f7971590.js} +2 -2
  68. flowfile/web/static/assets/{genericNodeSettings-0476ba4e.js → genericNodeSettings-4fe5f36b.js} +3 -3
  69. flowfile/web/static/assets/{index-246f201c.js → index-5429bbf8.js} +6 -8
  70. flowfile/web/static/assets/nodeInput-5d0d6b79.js +41 -0
  71. flowfile/web/static/assets/{outputCsv-d686eeaf.js → outputCsv-076b85ab.js} +1 -1
  72. flowfile/web/static/assets/{outputExcel-8809ea2f.js → outputExcel-0fd17dbe.js} +1 -1
  73. flowfile/web/static/assets/{outputParquet-53ba645a.js → outputParquet-b61e0847.js} +1 -1
  74. flowfile/web/static/assets/{readCsv-053bf97b.js → readCsv-a8bb8b61.js} +21 -20
  75. flowfile/web/static/assets/{readCsv-bca3ed53.css → readCsv-c767cb37.css} +13 -13
  76. flowfile/web/static/assets/{readExcel-ad531eab.js → readExcel-67b4aee0.js} +10 -12
  77. flowfile/web/static/assets/{readExcel-e1b381ea.css → readExcel-806d2826.css} +12 -12
  78. flowfile/web/static/assets/{readParquet-cee068e2.css → readParquet-48c81530.css} +3 -3
  79. flowfile/web/static/assets/{readParquet-58e899a1.js → readParquet-92ce1dbc.js} +4 -7
  80. flowfile/web/static/assets/{secretApi-538058f3.js → secretApi-68435402.js} +1 -1
  81. flowfile/web/static/assets/{selectDynamic-b38de2ba.js → selectDynamic-92e25ee3.js} +3 -3
  82. flowfile/web/static/assets/{vue-codemirror.esm-db9b8936.js → vue-codemirror.esm-41b0e0d7.js} +7 -4
  83. flowfile/web/static/assets/{vue-content-loader.es-b5f3ac30.js → vue-content-loader.es-2c8e608f.js} +1 -1
  84. flowfile/web/static/index.html +1 -1
  85. {flowfile-0.4.1.dist-info → flowfile-0.5.1.dist-info}/METADATA +3 -2
  86. {flowfile-0.4.1.dist-info → flowfile-0.5.1.dist-info}/RECORD +138 -126
  87. {flowfile-0.4.1.dist-info → flowfile-0.5.1.dist-info}/WHEEL +1 -1
  88. {flowfile-0.4.1.dist-info → flowfile-0.5.1.dist-info}/entry_points.txt +1 -0
  89. flowfile_core/__init__.py +3 -0
  90. flowfile_core/flowfile/analytics/analytics_processor.py +1 -0
  91. flowfile_core/flowfile/code_generator/code_generator.py +62 -64
  92. flowfile_core/flowfile/flow_data_engine/create/funcs.py +73 -56
  93. flowfile_core/flowfile/flow_data_engine/flow_data_engine.py +77 -86
  94. flowfile_core/flowfile/flow_data_engine/fuzzy_matching/prepare_for_fuzzy_match.py +23 -23
  95. flowfile_core/flowfile/flow_data_engine/join/utils.py +1 -1
  96. flowfile_core/flowfile/flow_data_engine/join/verify_integrity.py +9 -4
  97. flowfile_core/flowfile/flow_data_engine/subprocess_operations/subprocess_operations.py +184 -78
  98. flowfile_core/flowfile/flow_data_engine/utils.py +2 -0
  99. flowfile_core/flowfile/flow_graph.py +129 -26
  100. flowfile_core/flowfile/flow_node/flow_node.py +3 -0
  101. flowfile_core/flowfile/flow_node/models.py +2 -1
  102. flowfile_core/flowfile/handler.py +5 -5
  103. flowfile_core/flowfile/manage/compatibility_enhancements.py +404 -41
  104. flowfile_core/flowfile/manage/io_flowfile.py +394 -0
  105. flowfile_core/flowfile/node_designer/__init__.py +1 -1
  106. flowfile_core/flowfile/node_designer/_type_registry.py +2 -2
  107. flowfile_core/flowfile/node_designer/custom_node.py +1 -1
  108. flowfile_core/flowfile/node_designer/ui_components.py +1 -1
  109. flowfile_core/flowfile/schema_callbacks.py +8 -5
  110. flowfile_core/flowfile/setting_generator/settings.py +15 -9
  111. flowfile_core/routes/routes.py +8 -10
  112. flowfile_core/schemas/cloud_storage_schemas.py +0 -2
  113. flowfile_core/schemas/input_schema.py +222 -65
  114. flowfile_core/schemas/output_model.py +1 -1
  115. flowfile_core/schemas/schemas.py +145 -32
  116. flowfile_core/schemas/transform_schema.py +1083 -413
  117. flowfile_core/schemas/yaml_types.py +103 -0
  118. flowfile_core/{flowfile/node_designer/data_types.py → types.py} +11 -1
  119. flowfile_frame/__init__.py +3 -1
  120. flowfile_frame/flow_frame.py +15 -18
  121. flowfile_frame/flow_frame_methods.py +12 -9
  122. flowfile_worker/__init__.py +3 -0
  123. flowfile_worker/create/__init__.py +3 -21
  124. flowfile_worker/create/funcs.py +68 -56
  125. flowfile_worker/create/models.py +130 -62
  126. flowfile_worker/routes.py +5 -8
  127. tools/migrate/README.md +56 -0
  128. tools/migrate/__init__.py +12 -0
  129. tools/migrate/__main__.py +131 -0
  130. tools/migrate/legacy_schemas.py +621 -0
  131. tools/migrate/migrate.py +598 -0
  132. tools/migrate/tests/__init__.py +0 -0
  133. tools/migrate/tests/conftest.py +23 -0
  134. tools/migrate/tests/test_migrate.py +627 -0
  135. tools/migrate/tests/test_migration_e2e.py +1010 -0
  136. tools/migrate/tests/test_node_migrations.py +813 -0
  137. flowfile_core/flowfile/manage/open_flowfile.py +0 -143
  138. {flowfile-0.4.1.dist-info → flowfile-0.5.1.dist-info}/licenses/LICENSE +0 -0
  139. /flowfile_core/flowfile/manage/manage_flowfile.py → /tools/__init__.py +0 -0
flowfile/__init__.py CHANGED
@@ -7,7 +7,9 @@ This package ties together the FlowFile ecosystem components:
7
7
  - flowfile_worker: Computation engine
8
8
  """
9
9
 
10
- __version__ = "0.4.1"
10
+ from importlib.metadata import version
11
+
12
+ __version__ = version("Flowfile")
11
13
 
12
14
  import os
13
15
  import logging
flowfile/api.py CHANGED
@@ -331,7 +331,6 @@ def import_flow_to_editor(flow_path: Path, auth_token: str) -> Optional[int]:
331
331
  try:
332
332
  headers: Dict[str, str] = {"Authorization": f"Bearer {auth_token}"}
333
333
  params: Dict[str, str] = {"flow_path": str(flow_path)}
334
-
335
334
  response: requests.Response = requests.get(
336
335
  f"{FLOWFILE_BASE_URL}/import_flow/",
337
336
  params=params,
@@ -440,7 +439,7 @@ def open_graph_in_editor(flow_graph: FlowGraph, storage_location: Optional[str]
440
439
  temp_dir_obj: Optional[TemporaryDirectory] = None
441
440
  try:
442
441
  original_execution_settings = flow_graph.flow_settings.model_copy()
443
- flow_graph.flow_settings.execution_location = "local" # when running in the process. Go for speed first
442
+ flow_graph.flow_settings.execution_location = "local"
444
443
  flow_graph.flow_settings.execution_mode = "Development"
445
444
  flow_file_path, temp_dir_obj = _save_flow_to_location(flow_graph, storage_location)
446
445
  if not flow_file_path:
@@ -1,5 +1,5 @@
1
- import { f as fetchCloudStorageConnectionsInterfaces, c as createCloudStorageConnectionApi, d as deleteCloudStorageConnectionApi } from "./api-2d6adc4f.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-246f201c.js";
1
+ import { f as fetchCloudStorageConnectionsInterfaces, c as createCloudStorageConnectionApi, d as deleteCloudStorageConnectionApi } from "./api-c1bad5ca.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-5429bbf8.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,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-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
4
- import { f as fetchCloudStorageConnectionsInterfaces } from "./api-2d6adc4f.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
6
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
4
+ import { f as fetchCloudStorageConnectionsInterfaces } from "./api-c1bad5ca.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
6
+ import "./designer-9633482a.js";
7
7
  const createNodeCloudStorageReader = (flowId, nodeId) => {
8
8
  const cloudStorageReadSettings = {
9
9
  auth_mode: "aws-cli",
@@ -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-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
4
- import { f as fetchCloudStorageConnectionsInterfaces } from "./api-2d6adc4f.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
6
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
4
+ import { f as fetchCloudStorageConnectionsInterfaces } from "./api-c1bad5ca.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
6
+ import "./designer-9633482a.js";
7
7
  const createNodeCloudStorageWriter = (flowId, nodeId) => {
8
8
  const cloudStorageWriteSettings = {
9
9
  auth_mode: "aws-cli",
@@ -1,4 +1,4 @@
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-246f201c.js";
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-5429bbf8.js";
2
2
  const _hoisted_1 = { class: "component-container" };
3
3
  const _hoisted_2 = { class: "listbox-subtitle" };
4
4
  const _hoisted_3 = {
@@ -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-246f201c.js";
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-5429bbf8.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-246f201c.js";
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-5429bbf8.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-246f201c.js";
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-5429bbf8.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-b5f3ac30.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { s as selectDynamic } from "./selectDynamic-b38de2ba.js";
4
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.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-246f201c.js";
6
- import "./UnavailableFields-1bab97cb.js";
7
- import "./designer-f3656d8c.js";
1
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { s as selectDynamic } from "./selectDynamic-92e25ee3.js";
4
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.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-5429bbf8.js";
6
+ import "./UnavailableFields-a03f512c.js";
7
+ import "./designer-9633482a.js";
8
8
  const _hoisted_1 = { key: 0 };
9
9
  const _hoisted_2 = { class: "listbox-wrapper" };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,14 +1,14 @@
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-246f201c.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
4
- import { _ as _sfc_main$3 } from "./MultiSelect.vue_vue_type_script_setup_true_lang-6ffe088a.js";
5
- import { _ as _sfc_main$5 } from "./ToggleSwitch.vue_vue_type_script_setup_true_lang-c6dc3029.js";
6
- import { _ as _sfc_main$1 } from "./TextInput.vue_vue_type_script_setup_true_lang-000e1178.js";
7
- import { _ as _sfc_main$2 } from "./NumericInput.vue_vue_type_script_setup_true_lang-90eb2cba.js";
8
- import SliderInput from "./SliderInput-6a05ab61.js";
9
- import { _ as _sfc_main$4 } from "./SingleSelect.vue_vue_type_script_setup_true_lang-6093741c.js";
10
- import ColumnSelector from "./ColumnSelector-cce661cf.js";
11
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
4
+ import { _ as _sfc_main$3 } from "./MultiSelect.vue_vue_type_script_setup_true_lang-b0e538c2.js";
5
+ import { _ as _sfc_main$5 } from "./ToggleSwitch.vue_vue_type_script_setup_true_lang-38478c20.js";
6
+ import { _ as _sfc_main$1 } from "./TextInput.vue_vue_type_script_setup_true_lang-5896c375.js";
7
+ import { _ as _sfc_main$2 } from "./NumericInput.vue_vue_type_script_setup_true_lang-e0edeccc.js";
8
+ import SliderInput from "./SliderInput-7cb93e62.js";
9
+ import { _ as _sfc_main$4 } from "./SingleSelect.vue_vue_type_script_setup_true_lang-33e3ff9b.js";
10
+ import ColumnSelector from "./ColumnSelector-4685e75d.js";
11
+ import "./designer-9633482a.js";
12
12
  async function getCustomNodeSchema(flowId, nodeId) {
13
13
  const response = await axios.get(
14
14
  `/user_defined_components/custom-node-schema`,
@@ -1,5 +1,5 @@
1
- import { f as fetchSecretsApi } from "./secretApi-538058f3.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-246f201c.js";
1
+ import { f as fetchSecretsApi } from "./secretApi-68435402.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-5429bbf8.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-4c8e3822.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-246f201c.js";
1
+ import { f as fetchDatabaseConnectionsInterfaces, c as createDatabaseConnectionApi, d as deleteDatabaseConnectionApi } from "./api-cf1221f0.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-5429bbf8.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-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
4
- import { f as fetchDatabaseConnectionsInterfaces } from "./api-4c8e3822.js";
5
- import DatabaseConnectionSettings from "./DatabaseConnectionSettings-7000bf2c.js";
6
- import SqlQueryComponent from "./SQLQueryComponent-88dcfe53.js";
7
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
8
- import "./secretApi-538058f3.js";
9
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
4
+ import { f as fetchDatabaseConnectionsInterfaces } from "./api-cf1221f0.js";
5
+ import DatabaseConnectionSettings from "./DatabaseConnectionSettings-6f3e4ea5.js";
6
+ import SqlQueryComponent from "./SQLQueryComponent-df51adbe.js";
7
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
8
+ import "./secretApi-68435402.js";
9
+ import "./designer-9633482a.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-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
4
- import { f as fetchDatabaseConnectionsInterfaces } from "./api-4c8e3822.js";
5
- import DatabaseConnectionSettings from "./DatabaseConnectionSettings-7000bf2c.js";
6
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
7
- import "./secretApi-538058f3.js";
8
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
4
+ import { f as fetchDatabaseConnectionsInterfaces } from "./api-cf1221f0.js";
5
+ import DatabaseConnectionSettings from "./DatabaseConnectionSettings-6f3e4ea5.js";
6
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
7
+ import "./secretApi-68435402.js";
8
+ import "./designer-9633482a.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-b5f3ac30.js";
2
- import VueGraphicWalker from "./VueGraphicWalker-bb8535e2.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-246f201c.js";
4
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
5
- import { u as useItemStore } from "./designer-f3656d8c.js";
1
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
2
+ import VueGraphicWalker from "./VueGraphicWalker-e51b9924.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-5429bbf8.js";
4
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
5
+ import { u as useItemStore } from "./designer-9633482a.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-b5f3ac30.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.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-246f201c.js";
5
- import "./designer-f3656d8c.js";
1
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.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-5429bbf8.js";
5
+ import "./designer-9633482a.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-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { C as ColumnSelector } from "./dropDown-1bca8a74.js";
4
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
5
- import mainEditorRef from "./fullEditor-2985687e.js";
6
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
7
- import "./designer-f3656d8c.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-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { C as ColumnSelector } from "./dropDown-614b998d.js";
4
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
5
+ import mainEditorRef from "./fullEditor-f7971590.js";
6
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
7
+ import "./designer-9633482a.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-b5f3ac30.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import mainEditorRef from "./fullEditor-2985687e.js";
4
- import { C as ColumnSelector } from "./dropDown-1bca8a74.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-246f201c.js";
6
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
7
- import "./designer-f3656d8c.js";
1
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import mainEditorRef from "./fullEditor-f7971590.js";
4
+ import { C as ColumnSelector } from "./dropDown-614b998d.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-5429bbf8.js";
6
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
7
+ import "./designer-9633482a.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-246f201c.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { C as ColumnSelector } from "./dropDown-1bca8a74.js";
4
- import { s as selectDynamic } from "./selectDynamic-b38de2ba.js";
5
- import { u as unavailableField } from "./UnavailableFields-1bab97cb.js";
6
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
7
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
8
- import "./designer-f3656d8c.js";
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-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { C as ColumnSelector } from "./dropDown-614b998d.js";
4
+ import { s as selectDynamic } from "./selectDynamic-92e25ee3.js";
5
+ import { u as unavailableField } from "./UnavailableFields-a03f512c.js";
6
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
7
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
8
+ import "./designer-9633482a.js";
9
9
  const _hoisted_1 = {
10
10
  key: 0,
11
11
  class: "fuzzy-join-container"
@@ -1,9 +1,9 @@
1
- import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, v as withModifiers, t as toDisplayString, h as createBlock, i as createCommentVNode, _ as _export_sfc } from "./index-246f201c.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import ContextMenu from "./ContextMenu-160afb08.js";
4
- import SettingsSection from "./SettingsSection-29b4fa6b.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
6
- import "./designer-f3656d8c.js";
1
+ import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, v as withModifiers, t as toDisplayString, h as createBlock, i as createCommentVNode, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import ContextMenu from "./ContextMenu-70ae0c79.js";
4
+ import SettingsSection from "./SettingsSection-7ded385d.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
6
+ import "./designer-9633482a.js";
7
7
  const _hoisted_1 = {
8
8
  key: 0,
9
9
  class: "listbox-wrapper"
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, v as withModifiers, h as createBlock, u as unref, _ as _export_sfc } from "./index-246f201c.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
4
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
5
- import "./designer-f3656d8c.js";
1
+ import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, v as withModifiers, h as createBlock, u as unref, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
4
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
5
+ import "./designer-9633482a.js";
6
6
  const _hoisted_1 = { key: 0 };
7
7
  const _hoisted_2 = { class: "listbox-wrapper" };
8
8
  const _hoisted_3 = {
@@ -1,11 +1,11 @@
1
- import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { C as ColumnSelector } from "./dropDown-1bca8a74.js";
4
- import { s as selectDynamic } from "./selectDynamic-b38de2ba.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
6
- import { d as defineComponent, r as ref, l as computed, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, h as createBlock, i as createCommentVNode, F as Fragment, q as renderList, u as unref, _ as _export_sfc } from "./index-246f201c.js";
7
- import "./UnavailableFields-1bab97cb.js";
8
- import "./designer-f3656d8c.js";
1
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { C as ColumnSelector } from "./dropDown-614b998d.js";
4
+ import { s as selectDynamic } from "./selectDynamic-92e25ee3.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
6
+ import { d as defineComponent, r as ref, l as computed, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, h as createBlock, i as createCommentVNode, F as Fragment, q as renderList, u as unref, _ as _export_sfc } from "./index-5429bbf8.js";
7
+ import "./UnavailableFields-a03f512c.js";
8
+ import "./designer-9633482a.js";
9
9
  const _hoisted_1 = {
10
10
  key: 0,
11
11
  class: "listbox-wrapper"
@@ -1,7 +1,7 @@
1
- import { r as ref, d as defineComponent, l as computed, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, a8 as withDirectives, a9 as vModelText, u as unref, h as createBlock, g as createTextVNode, s as normalizeClass, t as toDisplayString, i as createCommentVNode, E as ElNotification, _ as _export_sfc } from "./index-246f201c.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
- import { G as GenericNodeSettings } from "./genericNodeSettings-0476ba4e.js";
4
- import "./designer-f3656d8c.js";
1
+ import { r as ref, d as defineComponent, l as computed, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, a8 as withDirectives, a9 as vModelText, u as unref, h as createBlock, g as createTextVNode, s as normalizeClass, t as toDisplayString, i as createCommentVNode, E as ElNotification, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
4
+ import "./designer-9633482a.js";
5
5
  const createManualInput = (flowId = -1, nodeId = -1, pos_x = 0, pos_y = 0) => {
6
6
  const nodeManualInput = ref({
7
7
  flow_id: flowId,
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main } from "./MultiSelect.vue_vue_type_script_setup_true_lang-6ffe088a.js";
2
- import "./index-246f201c.js";
1
+ import { _ as _sfc_main } from "./MultiSelect.vue_vue_type_script_setup_true_lang-b0e538c2.js";
2
+ import "./index-5429bbf8.js";
3
3
  export {
4
4
  _sfc_main as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock } from "./index-246f201c.js";
1
+ import { d as defineComponent, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock } from "./index-5429bbf8.js";
2
2
  const _hoisted_1 = { class: "component-container" };
3
3
  const _hoisted_2 = { class: "listbox-subtitle" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main } from "./NumericInput.vue_vue_type_script_setup_true_lang-90eb2cba.js";
2
- import "./index-246f201c.js";
1
+ import { _ as _sfc_main } from "./NumericInput.vue_vue_type_script_setup_true_lang-e0edeccc.js";
2
+ import "./index-5429bbf8.js";
3
3
  export {
4
4
  _sfc_main as default
5
5
  };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode } from "./index-246f201c.js";
1
+ import { d as defineComponent, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode } from "./index-5429bbf8.js";
2
2
  const _hoisted_1 = { class: "component-container" };
3
3
  const _hoisted_2 = { class: "listbox-subtitle" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
 
2
- .main-part[data-v-86e92d7d] {
2
+ .main-part[data-v-4c6e3071] {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding: 20px;
@@ -8,13 +8,13 @@
8
8
  background-color: #fff;
9
9
  margin-top: 20px;
10
10
  }
11
- .file-upload-row[data-v-86e92d7d] {
11
+ .file-upload-row[data-v-4c6e3071] {
12
12
  display: flex;
13
13
  align-items: center;
14
14
  gap: 10px;
15
15
  margin-bottom: 20px;
16
16
  }
17
- .file-upload-label[data-v-86e92d7d] {
17
+ .file-upload-label[data-v-4c6e3071] {
18
18
  display: inline-flex;
19
19
  align-items: center;
20
20
  justify-content: center;
@@ -27,10 +27,10 @@
27
27
  cursor: pointer;
28
28
  transition: all 0.3s ease;
29
29
  }
30
- .file-upload-label[data-v-86e92d7d]:hover {
30
+ .file-upload-label[data-v-4c6e3071]:hover {
31
31
  background-color: #2980b9;
32
32
  }
33
- .warning-message[data-v-86e92d7d] {
33
+ .warning-message[data-v-4c6e3071] {
34
34
  color: #e74c3c;
35
35
  display: flex;
36
36
  align-items: center;
@@ -1,39 +1,41 @@
1
- import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
2
- import { d as defineComponent, r as ref, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, h as createBlock, i as createCommentVNode, f as createVNode, w as withCtx, u as unref, g as createTextVNode, F as Fragment, q as renderList, a as axios, _ as _export_sfc } from "./index-246f201c.js";
3
- import CsvTableConfig from "./outputCsv-d686eeaf.js";
4
- import ExcelTableConfig from "./outputExcel-8809ea2f.js";
5
- import ParquetTableConfig from "./outputParquet-53ba645a.js";
6
- import { w as warning_filled_default, F as FileBrowser } from "./designer-f3656d8c.js";
7
- const createDefaultParquetSettings = () => {
1
+ import { i as isOutputCsvTable, a as isOutputExcelTable, b as isOutputParquetTable } from "./nodeInput-5d0d6b79.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { d as defineComponent, r as ref, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, h as createBlock, i as createCommentVNode, f as createVNode, w as withCtx, u as unref, g as createTextVNode, F as Fragment, q as renderList, a as axios, _ as _export_sfc } from "./index-5429bbf8.js";
4
+ import CsvTableConfig from "./outputCsv-076b85ab.js";
5
+ import ExcelTableConfig from "./outputExcel-0fd17dbe.js";
6
+ import ParquetTableConfig from "./outputParquet-b61e0847.js";
7
+ import { w as warning_filled_default, F as FileBrowser } from "./designer-9633482a.js";
8
+ function createDefaultOutputSettings() {
8
9
  return {
9
- file_type: "parquet"
10
+ name: "output.csv",
11
+ directory: ".",
12
+ file_type: "csv",
13
+ write_mode: "overwrite",
14
+ table_settings: {
15
+ file_type: "csv",
16
+ delimiter: ",",
17
+ encoding: "utf-8"
18
+ }
10
19
  };
11
- };
12
- const createDefaultCsvSettings = () => {
20
+ }
21
+ function createCsvTableSettings() {
13
22
  return {
23
+ file_type: "csv",
14
24
  delimiter: ",",
15
- encoding: "utf-8",
16
- file_type: "csv"
25
+ encoding: "utf-8"
17
26
  };
18
- };
19
- const createDefaultExcelSettings = () => {
27
+ }
28
+ function createParquetTableSettings() {
20
29
  return {
21
- sheet_name: "Sheet1",
22
- file_type: "excel"
30
+ file_type: "parquet"
23
31
  };
24
- };
25
- const createDefaultOutputSettings = () => {
32
+ }
33
+ function createExcelTableSettings() {
26
34
  return {
27
- name: "",
28
- directory: "",
29
- file_type: "parquet",
30
- fields: [],
31
- write_mode: "overwrite",
32
- output_csv_table: createDefaultCsvSettings(),
33
- output_parquet_table: createDefaultParquetSettings(),
34
- output_excel_table: createDefaultExcelSettings()
35
+ file_type: "excel",
36
+ sheet_name: "Sheet1"
35
37
  };
36
- };
38
+ }
37
39
  const _hoisted_1 = {
38
40
  key: 0,
39
41
  class: "listbox-wrapper"
@@ -97,6 +99,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
97
99
  if (nodeOutput.value && fileTypeMap[verifiedExtension]) {
98
100
  nodeOutput.value.output_settings.file_type = fileTypeMap[verifiedExtension];
99
101
  nodeOutput.value.output_settings.write_mode = "overwrite";
102
+ updateTableSettings(fileTypeMap[verifiedExtension]);
103
+ }
104
+ }
105
+ function updateTableSettings(fileType) {
106
+ if (!nodeOutput.value)
107
+ return;
108
+ switch (fileType) {
109
+ case "csv":
110
+ nodeOutput.value.output_settings.table_settings = createCsvTableSettings();
111
+ break;
112
+ case "parquet":
113
+ nodeOutput.value.output_settings.table_settings = createParquetTableSettings();
114
+ break;
115
+ case "excel":
116
+ nodeOutput.value.output_settings.table_settings = createExcelTableSettings();
117
+ break;
100
118
  }
101
119
  }
102
120
  function handleFileNameChange() {
@@ -118,6 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
118
136
  if (!nodeOutput.value.output_settings.write_mode) {
119
137
  nodeOutput.value.output_settings.write_mode = "overwrite";
120
138
  }
139
+ updateTableSettings(nodeOutput.value.output_settings.file_type);
121
140
  }
122
141
  function handleDirectorySelected(directoryPath) {
123
142
  if (!nodeOutput.value)
@@ -261,20 +280,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
261
280
  ]),
262
281
  _: 1
263
282
  }, 8, ["modelValue", "disabled"]),
264
- nodeOutput.value.output_settings.file_type === "csv" ? (openBlock(), createBlock(CsvTableConfig, {
283
+ unref(isOutputCsvTable)(nodeOutput.value.output_settings.table_settings) ? (openBlock(), createBlock(CsvTableConfig, {
265
284
  key: 0,
266
- modelValue: nodeOutput.value.output_settings.output_csv_table,
267
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => nodeOutput.value.output_settings.output_csv_table = $event)
285
+ modelValue: nodeOutput.value.output_settings.table_settings,
286
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => nodeOutput.value.output_settings.table_settings = $event)
268
287
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
269
- nodeOutput.value.output_settings.file_type === "excel" ? (openBlock(), createBlock(ExcelTableConfig, {
288
+ unref(isOutputExcelTable)(nodeOutput.value.output_settings.table_settings) ? (openBlock(), createBlock(ExcelTableConfig, {
270
289
  key: 1,
271
- modelValue: nodeOutput.value.output_settings.output_excel_table,
272
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => nodeOutput.value.output_settings.output_excel_table = $event)
290
+ modelValue: nodeOutput.value.output_settings.table_settings,
291
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => nodeOutput.value.output_settings.table_settings = $event)
273
292
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
274
- nodeOutput.value.output_settings.file_type === "parquet" ? (openBlock(), createBlock(ParquetTableConfig, {
293
+ unref(isOutputParquetTable)(nodeOutput.value.output_settings.table_settings) ? (openBlock(), createBlock(ParquetTableConfig, {
275
294
  key: 2,
276
- modelValue: nodeOutput.value.output_settings.output_parquet_table,
277
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => nodeOutput.value.output_settings.output_parquet_table = $event)
295
+ modelValue: nodeOutput.value.output_settings.table_settings,
296
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => nodeOutput.value.output_settings.table_settings = $event)
278
297
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
279
298
  ]),
280
299
  createVNode(_component_el_dialog, {
@@ -299,8 +318,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
299
318
  };
300
319
  }
301
320
  });
302
- const Output_vue_vue_type_style_index_0_scoped_86e92d7d_lang = "";
303
- const Output = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-86e92d7d"]]);
321
+ const Output_vue_vue_type_style_index_0_scoped_4c6e3071_lang = "";
322
+ const Output = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4c6e3071"]]);
304
323
  export {
305
324
  Output as default
306
325
  };