Flowfile 0.3.10__py3-none-any.whl → 0.4.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 (111) hide show
  1. flowfile/__init__.py +6 -1
  2. flowfile/api.py +1 -1
  3. flowfile/web/static/assets/{CloudConnectionManager-d7c2c028.js → CloudConnectionManager-d3248f8d.js} +2 -2
  4. flowfile/web/static/assets/{CloudStorageReader-d467329f.js → CloudStorageReader-d65bf041.js} +6 -6
  5. flowfile/web/static/assets/{CloudStorageWriter-071b8b00.js → CloudStorageWriter-e83be3ed.js} +6 -6
  6. flowfile/web/static/assets/ColumnSelector-47996a16.css +10 -0
  7. flowfile/web/static/assets/ColumnSelector-cce661cf.js +83 -0
  8. flowfile/web/static/assets/{ContextMenu-a51e19ea.js → ContextMenu-11a4652a.js} +1 -1
  9. flowfile/web/static/assets/{ContextMenu-2dea5e27.js → ContextMenu-160afb08.js} +1 -1
  10. flowfile/web/static/assets/{ContextMenu-785554c4.js → ContextMenu-cf18d2cc.js} +1 -1
  11. flowfile/web/static/assets/{CrossJoin-cf68ec7a.js → CrossJoin-d395d38c.js} +7 -7
  12. flowfile/web/static/assets/CustomNode-74a37f74.css +32 -0
  13. flowfile/web/static/assets/CustomNode-b812dc0b.js +211 -0
  14. flowfile/web/static/assets/{DatabaseConnectionSettings-435c5dd8.js → DatabaseConnectionSettings-7000bf2c.js} +2 -2
  15. flowfile/web/static/assets/{DatabaseManager-349e33a8.js → DatabaseManager-9662ec5b.js} +2 -2
  16. flowfile/web/static/assets/{DatabaseReader-8075bd28.js → DatabaseReader-4f035d0c.js} +9 -9
  17. flowfile/web/static/assets/{DatabaseWriter-3e2dda89.js → DatabaseWriter-f65dcd54.js} +8 -8
  18. flowfile/web/static/assets/{ExploreData-76ec698c.js → ExploreData-94c43dfc.js} +5 -5
  19. flowfile/web/static/assets/{ExternalSource-609a265c.js → ExternalSource-ac04b3cc.js} +5 -5
  20. flowfile/web/static/assets/{Filter-97cff793.js → Filter-812dcbca.js} +7 -7
  21. flowfile/web/static/assets/{Formula-09de0ec9.js → Formula-71472193.js} +9 -9
  22. flowfile/web/static/assets/{FuzzyMatch-bdf70248.js → FuzzyMatch-b317f631.js} +8 -8
  23. flowfile/web/static/assets/{GraphSolver-0b5a0e05.js → GraphSolver-754a234f.js} +6 -6
  24. flowfile/web/static/assets/{GroupBy-eaddadde.js → GroupBy-6c6f9802.js} +5 -5
  25. flowfile/web/static/assets/{Join-3313371b.js → Join-a1b800be.js} +8 -8
  26. flowfile/web/static/assets/{ManualInput-e8bfc0be.js → ManualInput-a9640276.js} +4 -4
  27. flowfile/web/static/assets/MultiSelect-97213888.js +5 -0
  28. flowfile/web/static/assets/MultiSelect.vue_vue_type_script_setup_true_lang-6ffe088a.js +63 -0
  29. flowfile/web/static/assets/NumericInput-e638088a.js +5 -0
  30. flowfile/web/static/assets/NumericInput.vue_vue_type_script_setup_true_lang-90eb2cba.js +35 -0
  31. flowfile/web/static/assets/{Output-7303bb09.js → Output-76750610.js} +6 -6
  32. flowfile/web/static/assets/{Pivot-3b1c54ef.js → Pivot-7814803f.js} +7 -7
  33. flowfile/web/static/assets/{PivotValidation-3bb36c8f.js → PivotValidation-76dd431a.js} +1 -1
  34. flowfile/web/static/assets/{PivotValidation-eaa819c0.js → PivotValidation-f92137d2.js} +1 -1
  35. flowfile/web/static/assets/{PolarsCode-aa12e25d.js → PolarsCode-889c3008.js} +5 -5
  36. flowfile/web/static/assets/{Read-a2bfc618.js → Read-637b72a7.js} +8 -8
  37. flowfile/web/static/assets/{RecordCount-aa0dc082.js → RecordCount-2b050c41.js} +4 -4
  38. flowfile/web/static/assets/{RecordId-48ee1a3b.js → RecordId-81df7784.js} +6 -6
  39. flowfile/web/static/assets/{SQLQueryComponent-e149dbf2.js → SQLQueryComponent-88dcfe53.js} +1 -1
  40. flowfile/web/static/assets/{Sample-f06cb97a.js → Sample-258ad2a9.js} +4 -4
  41. flowfile/web/static/assets/{SecretManager-37f34886.js → SecretManager-2a2cb7e2.js} +2 -2
  42. flowfile/web/static/assets/{Select-b60e6c47.js → Select-850215fd.js} +7 -7
  43. flowfile/web/static/assets/{SettingsSection-75b6cf4f.js → SettingsSection-0e8d9123.js} +1 -1
  44. flowfile/web/static/assets/{SettingsSection-e57a672e.js → SettingsSection-29b4fa6b.js} +1 -1
  45. flowfile/web/static/assets/{SettingsSection-70e5a7b1.js → SettingsSection-55bae608.js} +1 -1
  46. flowfile/web/static/assets/SingleSelect-bebd408b.js +5 -0
  47. flowfile/web/static/assets/SingleSelect.vue_vue_type_script_setup_true_lang-6093741c.js +62 -0
  48. flowfile/web/static/assets/SliderInput-6a05ab61.js +40 -0
  49. flowfile/web/static/assets/SliderInput-b8fb6a8c.css +4 -0
  50. flowfile/web/static/assets/{Sort-51b1ee4d.js → Sort-10ab48ed.js} +5 -5
  51. flowfile/web/static/assets/TextInput-df9d6259.js +5 -0
  52. flowfile/web/static/assets/TextInput.vue_vue_type_script_setup_true_lang-000e1178.js +32 -0
  53. flowfile/web/static/assets/{TextToRows-26835f8f.js → TextToRows-6c2d93d8.js} +7 -7
  54. flowfile/web/static/assets/ToggleSwitch-0ff7ac52.js +5 -0
  55. flowfile/web/static/assets/ToggleSwitch.vue_vue_type_script_setup_true_lang-c6dc3029.js +31 -0
  56. flowfile/web/static/assets/{UnavailableFields-88a4cd0c.js → UnavailableFields-1bab97cb.js} +2 -2
  57. flowfile/web/static/assets/{Union-4d0088eb.js → Union-b563478a.js} +4 -4
  58. flowfile/web/static/assets/{Unique-7d554a62.js → Unique-f90db5db.js} +7 -7
  59. flowfile/web/static/assets/{Unpivot-4668595c.js → Unpivot-bcb0025f.js} +6 -6
  60. flowfile/web/static/assets/{UnpivotValidation-d4f0e0e8.js → UnpivotValidation-c4e73b04.js} +1 -1
  61. flowfile/web/static/assets/{VueGraphicWalker-5324d566.js → VueGraphicWalker-bb8535e2.js} +1 -1
  62. flowfile/web/static/assets/{api-271ed117.js → api-2d6adc4f.js} +1 -1
  63. flowfile/web/static/assets/{api-31e4fea6.js → api-4c8e3822.js} +1 -1
  64. flowfile/web/static/assets/{designer-091bdc3f.css → designer-e3c150ec.css} +41 -41
  65. flowfile/web/static/assets/{designer-bf3d9487.js → designer-f3656d8c.js} +23 -15
  66. flowfile/web/static/assets/{documentation-4d0a1cea.js → documentation-52b241e7.js} +1 -1
  67. flowfile/web/static/assets/{dropDown-025888df.js → dropDown-1bca8a74.js} +1 -1
  68. flowfile/web/static/assets/{fullEditor-1df991ec.js → fullEditor-2985687e.js} +2 -2
  69. flowfile/web/static/assets/{genericNodeSettings-d3b2b2ac.js → genericNodeSettings-0476ba4e.js} +3 -3
  70. flowfile/web/static/assets/{index-d0518598.js → index-246f201c.js} +6 -6
  71. flowfile/web/static/assets/{index-681a3ed0.css → index-50508d4d.css} +8 -0
  72. flowfile/web/static/assets/{outputCsv-d8457527.js → outputCsv-d686eeaf.js} +1 -1
  73. flowfile/web/static/assets/{outputExcel-be89153e.js → outputExcel-8809ea2f.js} +1 -1
  74. flowfile/web/static/assets/{outputParquet-fabb445a.js → outputParquet-53ba645a.js} +1 -1
  75. flowfile/web/static/assets/{readCsv-e8359522.js → readCsv-053bf97b.js} +1 -1
  76. flowfile/web/static/assets/{readExcel-dabaf51b.js → readExcel-ad531eab.js} +3 -3
  77. flowfile/web/static/assets/{readParquet-e0771ef2.js → readParquet-58e899a1.js} +1 -1
  78. flowfile/web/static/assets/{secretApi-ce823eee.js → secretApi-538058f3.js} +1 -1
  79. flowfile/web/static/assets/{selectDynamic-5476546e.js → selectDynamic-b38de2ba.js} +3 -3
  80. flowfile/web/static/assets/user-defined-icon-0ae16c90.png +0 -0
  81. flowfile/web/static/assets/{vue-codemirror.esm-9ed00d50.js → vue-codemirror.esm-db9b8936.js} +33 -3
  82. flowfile/web/static/assets/{vue-content-loader.es-7bca2d9b.js → vue-content-loader.es-b5f3ac30.js} +1 -1
  83. flowfile/web/static/index.html +2 -2
  84. {flowfile-0.3.10.dist-info → flowfile-0.4.1.dist-info}/METADATA +3 -2
  85. {flowfile-0.3.10.dist-info → flowfile-0.4.1.dist-info}/RECORD +111 -85
  86. {flowfile-0.3.10.dist-info → flowfile-0.4.1.dist-info}/WHEEL +1 -1
  87. flowfile_core/configs/node_store/__init__.py +30 -0
  88. flowfile_core/configs/node_store/nodes.py +383 -358
  89. flowfile_core/configs/node_store/user_defined_node_registry.py +193 -0
  90. flowfile_core/flowfile/flow_data_engine/flow_file_column/interface.py +4 -0
  91. flowfile_core/flowfile/flow_data_engine/flow_file_column/main.py +19 -34
  92. flowfile_core/flowfile/flow_data_engine/flow_file_column/type_registry.py +36 -0
  93. flowfile_core/flowfile/flow_graph.py +20 -1
  94. flowfile_core/flowfile/flow_node/flow_node.py +4 -4
  95. flowfile_core/flowfile/manage/open_flowfile.py +9 -1
  96. flowfile_core/flowfile/node_designer/__init__.py +47 -0
  97. flowfile_core/flowfile/node_designer/_type_registry.py +197 -0
  98. flowfile_core/flowfile/node_designer/custom_node.py +371 -0
  99. flowfile_core/flowfile/node_designer/data_types.py +146 -0
  100. flowfile_core/flowfile/node_designer/ui_components.py +277 -0
  101. flowfile_core/flowfile/schema_callbacks.py +1 -1
  102. flowfile_core/main.py +2 -1
  103. flowfile_core/routes/routes.py +16 -20
  104. flowfile_core/routes/user_defined_components.py +55 -0
  105. flowfile_core/schemas/input_schema.py +8 -1
  106. flowfile_core/schemas/schemas.py +6 -3
  107. flowfile_core/utils/validate_setup.py +3 -1
  108. flowfile_frame/flow_frame.py +16 -6
  109. shared/storage_config.py +17 -2
  110. {flowfile-0.3.10.dist-info → flowfile-0.4.1.dist-info}/entry_points.txt +0 -0
  111. {flowfile-0.3.10.dist-info → flowfile-0.4.1.dist-info/licenses}/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
- import { u as useNodeStore } from "./vue-codemirror.esm-9ed00d50.js";
2
- import { i as info_filled_default } from "./designer-bf3d9487.js";
3
- import { d as defineComponent, r as ref, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, L as renderSlot, p as createBaseVNode, g as createTextVNode, u as unref, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
2
+ import { i as info_filled_default } from "./designer-f3656d8c.js";
3
+ import { d as defineComponent, r as ref, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, L as renderSlot, p as createBaseVNode, g as createTextVNode, u as unref, _ as _export_sfc } from "./index-246f201c.js";
4
4
  const _hoisted_1 = { class: "settings-wrapper" };
5
5
  const _hoisted_2 = { class: "settings-section" };
6
6
  const _hoisted_3 = { class: "setting-group" };
@@ -15843,32 +15843,32 @@ const routes = [
15843
15843
  {
15844
15844
  path: "designer",
15845
15845
  name: "designer",
15846
- component: () => __vitePreload(() => import("./designer-bf3d9487.js").then((n) => n.d), true ? ["assets/designer-bf3d9487.js","assets/vue-codemirror.esm-9ed00d50.js","assets/vue-codemirror-bccfde04.css","assets/designer-091bdc3f.css"] : void 0)
15846
+ component: () => __vitePreload(() => import("./designer-f3656d8c.js").then((n) => n.d), true ? ["assets/designer-f3656d8c.js","assets/vue-codemirror.esm-db9b8936.js","assets/vue-codemirror-bccfde04.css","assets/designer-e3c150ec.css"] : void 0)
15847
15847
  },
15848
15848
  {
15849
15849
  name: "nodeData",
15850
15850
  path: "nodeData",
15851
- component: () => __vitePreload(() => import("./fullEditor-1df991ec.js"), true ? ["assets/fullEditor-1df991ec.js","assets/vue-codemirror.esm-9ed00d50.js","assets/vue-codemirror-bccfde04.css","assets/fullEditor-178376bb.css"] : void 0)
15851
+ component: () => __vitePreload(() => import("./fullEditor-2985687e.js"), true ? ["assets/fullEditor-2985687e.js","assets/vue-codemirror.esm-db9b8936.js","assets/vue-codemirror-bccfde04.css","assets/fullEditor-178376bb.css"] : void 0)
15852
15852
  },
15853
15853
  {
15854
15854
  name: "documentation",
15855
15855
  path: "documentation",
15856
- component: () => __vitePreload(() => import("./documentation-4d0a1cea.js"), true ? ["assets/documentation-4d0a1cea.js","assets/documentation-12216a74.css"] : void 0)
15856
+ component: () => __vitePreload(() => import("./documentation-52b241e7.js"), true ? ["assets/documentation-52b241e7.js","assets/documentation-12216a74.css"] : void 0)
15857
15857
  },
15858
15858
  {
15859
15859
  name: "databaseManager",
15860
15860
  path: "databaseManager",
15861
- component: () => __vitePreload(() => import("./DatabaseManager-349e33a8.js"), true ? ["assets/DatabaseManager-349e33a8.js","assets/api-31e4fea6.js","assets/DatabaseManager-30fa27e5.css"] : void 0)
15861
+ component: () => __vitePreload(() => import("./DatabaseManager-9662ec5b.js"), true ? ["assets/DatabaseManager-9662ec5b.js","assets/api-4c8e3822.js","assets/DatabaseManager-30fa27e5.css"] : void 0)
15862
15862
  },
15863
15863
  {
15864
15864
  name: "cloudConnectionManager",
15865
15865
  path: "cloudConnectionManager",
15866
- component: () => __vitePreload(() => import("./CloudConnectionManager-d7c2c028.js"), true ? ["assets/CloudConnectionManager-d7c2c028.js","assets/api-271ed117.js","assets/CloudConnectionManager-2dfdce2f.css"] : void 0)
15866
+ component: () => __vitePreload(() => import("./CloudConnectionManager-d3248f8d.js"), true ? ["assets/CloudConnectionManager-d3248f8d.js","assets/api-2d6adc4f.js","assets/CloudConnectionManager-2dfdce2f.css"] : void 0)
15867
15867
  },
15868
15868
  {
15869
15869
  name: "secretManager",
15870
15870
  path: "secretManager",
15871
- component: () => __vitePreload(() => import("./SecretManager-37f34886.js"), true ? ["assets/SecretManager-37f34886.js","assets/secretApi-ce823eee.js"] : void 0)
15871
+ component: () => __vitePreload(() => import("./SecretManager-2a2cb7e2.js"), true ? ["assets/SecretManager-2a2cb7e2.js","assets/secretApi-538058f3.js"] : void 0)
15872
15872
  }
15873
15873
  ]
15874
15874
  },
@@ -8103,6 +8103,14 @@ readers do not read off random characters that represent icons */
8103
8103
  z-index: 1;
8104
8104
  }
8105
8105
 
8106
+ .custom-component-container {
8107
+ display: flex;
8108
+ flex-direction: column;
8109
+ gap: 8px;
8110
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
8111
+ border-radius: 8px;
8112
+ }
8113
+
8106
8114
  .listbox-subtitle {
8107
8115
  display: flex;
8108
8116
  align-items: center;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock, u as unref, at as ElOption, au as ElSelect, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock, u as unref, at as ElOption, au as ElSelect, _ as _export_sfc } from "./index-246f201c.js";
2
2
  const _hoisted_1 = { class: "csv-table-settings" };
3
3
  const _hoisted_2 = { class: "input-group" };
4
4
  const _hoisted_3 = { class: "input-group" };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, r as ref, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, i as createCommentVNode, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { d as defineComponent, r as ref, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, i as createCommentVNode, _ as _export_sfc } from "./index-246f201c.js";
2
2
  const _hoisted_1 = { class: "excel-table-settings" };
3
3
  const _hoisted_2 = { class: "mandatory-section" };
4
4
  const _hoisted_3 = {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, _ as _export_sfc } from "./index-246f201c.js";
2
2
  const _hoisted_1 = { class: "parquet-table-settings" };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "outputParquet",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, u as unref, av as ElCheckbox, w as withCtx, F as Fragment, q as renderList, h as createBlock, at as ElOption, au as ElSelect, aw as ElSlider, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, u as unref, av as ElCheckbox, w as withCtx, F as Fragment, q as renderList, h as createBlock, at as ElOption, au as ElSelect, aw as ElSlider, _ as _export_sfc } from "./index-246f201c.js";
2
2
  const _hoisted_1 = { class: "csv-table-settings" };
3
3
  const _hoisted_2 = { class: "row" };
4
4
  const _hoisted_3 = { class: "row" };
@@ -1,6 +1,6 @@
1
- import { a as axios, d as defineComponent, r as ref, l as computed, n as onMounted, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, i as createCommentVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, h as createBlock, u as unref, _ as _export_sfc } from "./index-d0518598.js";
2
- import { C as ColumnSelector } from "./dropDown-025888df.js";
3
- import { C as CodeLoader } from "./vue-content-loader.es-7bca2d9b.js";
1
+ import { a as axios, d as defineComponent, r as ref, l as computed, n as onMounted, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, i as createCommentVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, h as createBlock, u as unref, _ as _export_sfc } from "./index-246f201c.js";
2
+ import { C as ColumnSelector } from "./dropDown-1bca8a74.js";
3
+ import { C as CodeLoader } from "./vue-content-loader.es-b5f3ac30.js";
4
4
  const getXlsxSheetNamesForPath = async (path) => {
5
5
  const response = await axios.get(`/api/get_xlsx_sheet_names?path=${path}`);
6
6
  return response.data;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, _ as _export_sfc } from "./index-d0518598.js";
1
+ import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, _ as _export_sfc } from "./index-246f201c.js";
2
2
  const _hoisted_1 = { class: "parquet-table-settings" };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "readParquet",
@@ -1,4 +1,4 @@
1
- import { a as axios } from "./index-d0518598.js";
1
+ import { a as axios } from "./index-246f201c.js";
2
2
  const API_BASE_URL = "/secrets/secrets";
3
3
  const fetchSecretsApi = async () => {
4
4
  try {
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, r as ref, a3 as watchEffect, l as computed, n as onMounted, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, p as createBaseVNode, i as createCommentVNode, t as toDisplayString, T as normalizeStyle, g as createTextVNode, F as Fragment, q as renderList, s as normalizeClass, v as withModifiers, w as withCtx, u as unref, h as createBlock, _ as _export_sfc } from "./index-d0518598.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-9ed00d50.js";
3
- import { u as unavailableField } from "./UnavailableFields-88a4cd0c.js";
1
+ import { d as defineComponent, r as ref, a3 as watchEffect, l as computed, n as onMounted, o as onUnmounted, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, p as createBaseVNode, i as createCommentVNode, t as toDisplayString, T as normalizeStyle, g as createTextVNode, F as Fragment, q as renderList, s as normalizeClass, v as withModifiers, w as withCtx, u as unref, h as createBlock, _ as _export_sfc } from "./index-246f201c.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-db9b8936.js";
3
+ import { u as unavailableField } from "./UnavailableFields-1bab97cb.js";
4
4
  const _hoisted_1 = { key: 0 };
5
5
  const _hoisted_2 = {
6
6
  key: 1,
@@ -1,4 +1,4 @@
1
- import { r as ref, j as defineStore, X as shallowRef, a as axios, d as defineComponent, ai as useCssVars, n as onMounted, c as openBlock, e as createElementBlock, p as createBaseVNode, L as renderSlot, h as createBlock, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, s as normalizeClass, aa as Teleport, R as nextTick, _ as _export_sfc, B as inject, l as computed, m as watch, U as onBeforeUnmount, Y as h$1, aj as toRaw } from "./index-d0518598.js";
1
+ import { r as ref, j as defineStore, X as shallowRef, a as axios, d as defineComponent, ai as useCssVars, n as onMounted, c as openBlock, e as createElementBlock, p as createBaseVNode, L as renderSlot, h as createBlock, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, s as normalizeClass, aa as Teleport, R as nextTick, _ as _export_sfc, B as inject, l as computed, m as watch, U as onBeforeUnmount, Y as h$1, aj as toRaw } from "./index-246f201c.js";
2
2
  const FLOW_ID_STORAGE_KEY = "last_flow_id";
3
3
  ref(null);
4
4
  const getDownstreamNodeIds = async (flow_id, node_id) => {
@@ -412,15 +412,45 @@ const useNodeStore = defineStore("node", {
412
412
  throw error;
413
413
  }
414
414
  },
415
- async updateSettings(inputData) {
415
+ async updateUserDefinedSettings(inputData) {
416
416
  var _a2, _b;
417
417
  try {
418
418
  const node = (_a2 = this.vueFlowInstance) == null ? void 0 : _a2.findNode(String(inputData.value.node_id));
419
+ const nodeType = node.data.nodeTemplate.item;
420
+ inputData.value.pos_x = node.position.x;
421
+ inputData.value.pos_y = node.position.y;
422
+ const response = await axios.post(
423
+ "/user_defined_components/update_user_defined_node/",
424
+ inputData.value,
425
+ {
426
+ params: {
427
+ node_type: nodeType
428
+ }
429
+ }
430
+ );
431
+ const downstreamNodeIds = await loadDownstreamNodeIds(
432
+ this.flow_id,
433
+ inputData.value.node_id
434
+ );
435
+ downstreamNodeIds.map((nodeId) => {
436
+ this.validateNode(nodeId);
437
+ });
438
+ return response.data;
439
+ } catch (error) {
440
+ console.error("Error updating settings:", (_b = error.response) == null ? void 0 : _b.data);
441
+ throw error;
442
+ }
443
+ },
444
+ async updateSettings(inputData, inputNodeType) {
445
+ var _a2, _b;
446
+ try {
447
+ const node = (_a2 = this.vueFlowInstance) == null ? void 0 : _a2.findNode(String(inputData.value.node_id));
448
+ const nodeType = inputNodeType ?? node.data.nodeTemplate.item;
419
449
  inputData.value.pos_x = node.position.x;
420
450
  inputData.value.pos_y = node.position.y;
421
451
  const response = await axios.post("/update_settings/", inputData.value, {
422
452
  params: {
423
- node_type: node.data.nodeTemplate.item
453
+ node_type: nodeType
424
454
  }
425
455
  });
426
456
  const downstreamNodeIds = await loadDownstreamNodeIds(
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, f as createVNode, l as computed } from "./index-d0518598.js";
1
+ import { d as defineComponent, f as createVNode, l as computed } from "./index-246f201c.js";
2
2
  var uid = function() {
3
3
  return Math.random().toString(36).substring(2);
4
4
  };
@@ -12,8 +12,8 @@
12
12
 
13
13
  <!-- Material Icons -->
14
14
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
15
- <script type="module" crossorigin src="/assets/index-d0518598.js"></script>
16
- <link rel="stylesheet" href="/assets/index-681a3ed0.css">
15
+ <script type="module" crossorigin src="/assets/index-246f201c.js"></script>
16
+ <link rel="stylesheet" href="/assets/index-50508d4d.css">
17
17
  </head>
18
18
  <body>
19
19
  <div id="app"></div>
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: Flowfile
3
- Version: 0.3.10
3
+ Version: 0.4.1
4
4
  Summary: Project combining flowfile core (backend) and flowfile_worker (compute offloader) and flowfile_frame (api)
5
+ License-File: LICENSE
5
6
  Author: Edward van Eechoud
6
7
  Author-email: evaneechoud@gmail.com
7
8
  Requires-Python: >=3.10,<3.13