Flowfile 0.3.8__py3-none-any.whl → 0.3.10__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.

Files changed (161) hide show
  1. flowfile/__init__.py +4 -3
  2. flowfile/api.py +1 -1
  3. flowfile/web/static/assets/{CloudConnectionManager-c20a740f.js → CloudConnectionManager-d7c2c028.js} +2 -2
  4. flowfile/web/static/assets/{CloudStorageReader-960b400a.js → CloudStorageReader-d467329f.js} +11 -78
  5. flowfile/web/static/assets/{CloudStorageWriter-e3decbdd.js → CloudStorageWriter-071b8b00.js} +12 -79
  6. flowfile/web/static/assets/{CloudStorageWriter-49c9a4b2.css → CloudStorageWriter-b0ee067f.css} +24 -24
  7. flowfile/web/static/assets/ContextMenu-2dea5e27.js +41 -0
  8. flowfile/web/static/assets/{SettingsSection-9c836ecc.css → ContextMenu-4c74eef1.css} +0 -21
  9. flowfile/web/static/assets/ContextMenu-63cfa99b.css +26 -0
  10. flowfile/web/static/assets/ContextMenu-785554c4.js +41 -0
  11. flowfile/web/static/assets/ContextMenu-a51e19ea.js +41 -0
  12. flowfile/web/static/assets/ContextMenu-c13f91d0.css +26 -0
  13. flowfile/web/static/assets/{CrossJoin-41efa4cb.css → CrossJoin-1119d18e.css} +18 -18
  14. flowfile/web/static/assets/{CrossJoin-d67e2405.js → CrossJoin-cf68ec7a.js} +14 -84
  15. flowfile/web/static/assets/{DatabaseConnectionSettings-a81e0f7e.js → DatabaseConnectionSettings-435c5dd8.js} +3 -3
  16. flowfile/web/static/assets/{DatabaseManager-9ea35e84.js → DatabaseManager-349e33a8.js} +2 -2
  17. flowfile/web/static/assets/{DatabaseReader-9578bfa5.js → DatabaseReader-8075bd28.js} +14 -114
  18. flowfile/web/static/assets/{DatabaseReader-f50c6558.css → DatabaseReader-ae61773c.css} +0 -27
  19. flowfile/web/static/assets/{DatabaseWriter-19531098.js → DatabaseWriter-3e2dda89.js} +13 -74
  20. flowfile/web/static/assets/{ExploreData-5bdae813.css → ExploreData-2d0cf4db.css} +8 -14
  21. flowfile/web/static/assets/ExploreData-76ec698c.js +192 -0
  22. flowfile/web/static/assets/{ExternalSource-2297ef96.js → ExternalSource-609a265c.js} +8 -79
  23. flowfile/web/static/assets/{Filter-f211c03a.js → Filter-97cff793.js} +12 -85
  24. flowfile/web/static/assets/{Filter-a9d08ba1.css → Filter-f62091b3.css} +3 -3
  25. flowfile/web/static/assets/{Formula-4207ea31.js → Formula-09de0ec9.js} +18 -85
  26. flowfile/web/static/assets/{Formula-29f19d21.css → Formula-bb96803d.css} +4 -4
  27. flowfile/web/static/assets/{FuzzyMatch-6857de82.css → FuzzyMatch-1010f966.css} +42 -42
  28. flowfile/web/static/assets/{FuzzyMatch-bf120df0.js → FuzzyMatch-bdf70248.js} +16 -87
  29. flowfile/web/static/assets/{GraphSolver-5bb7497a.js → GraphSolver-0b5a0e05.js} +13 -159
  30. flowfile/web/static/assets/GraphSolver-f0cb7bfb.css +22 -0
  31. flowfile/web/static/assets/{Unique-b5615727.css → GroupBy-b9505323.css} +8 -8
  32. flowfile/web/static/assets/{GroupBy-92c81b65.js → GroupBy-eaddadde.js} +12 -75
  33. flowfile/web/static/assets/{Join-4e49a274.js → Join-3313371b.js} +15 -85
  34. flowfile/web/static/assets/{Join-f45eff22.css → Join-fd79b451.css} +20 -20
  35. flowfile/web/static/assets/{ManualInput-a71b52c6.css → ManualInput-3246a08d.css} +20 -20
  36. flowfile/web/static/assets/{ManualInput-90998ae8.js → ManualInput-e8bfc0be.js} +11 -82
  37. flowfile/web/static/assets/{Output-81e3e917.js → Output-7303bb09.js} +13 -243
  38. flowfile/web/static/assets/Output-ddc9079f.css +37 -0
  39. flowfile/web/static/assets/{Pivot-a3419842.js → Pivot-3b1c54ef.js} +14 -138
  40. flowfile/web/static/assets/Pivot-cf333e3d.css +22 -0
  41. flowfile/web/static/assets/PivotValidation-3bb36c8f.js +61 -0
  42. flowfile/web/static/assets/PivotValidation-891ddfb0.css +13 -0
  43. flowfile/web/static/assets/PivotValidation-c46cd420.css +13 -0
  44. flowfile/web/static/assets/PivotValidation-eaa819c0.js +61 -0
  45. flowfile/web/static/assets/{PolarsCode-72710deb.js → PolarsCode-aa12e25d.js} +13 -80
  46. flowfile/web/static/assets/Read-6b17491f.css +62 -0
  47. flowfile/web/static/assets/Read-a2bfc618.js +243 -0
  48. flowfile/web/static/assets/RecordCount-aa0dc082.js +53 -0
  49. flowfile/web/static/assets/{RecordId-10baf191.js → RecordId-48ee1a3b.js} +8 -80
  50. flowfile/web/static/assets/SQLQueryComponent-36cef432.css +27 -0
  51. flowfile/web/static/assets/SQLQueryComponent-e149dbf2.js +38 -0
  52. flowfile/web/static/assets/{Sample-3ed9a0ae.js → Sample-f06cb97a.js} +8 -77
  53. flowfile/web/static/assets/{SecretManager-0d49c0e8.js → SecretManager-37f34886.js} +2 -2
  54. flowfile/web/static/assets/{Select-8a02a0b3.js → Select-b60e6c47.js} +11 -85
  55. flowfile/web/static/assets/SettingsSection-2e4d03c4.css +21 -0
  56. flowfile/web/static/assets/SettingsSection-5c696bee.css +20 -0
  57. flowfile/web/static/assets/SettingsSection-70e5a7b1.js +53 -0
  58. flowfile/web/static/assets/SettingsSection-71e6b7e3.css +21 -0
  59. flowfile/web/static/assets/{SettingsSection-4c0f45f5.js → SettingsSection-75b6cf4f.js} +2 -40
  60. flowfile/web/static/assets/SettingsSection-e57a672e.js +45 -0
  61. flowfile/web/static/assets/{GroupBy-ab1ea74b.css → Sort-3643d625.css} +8 -8
  62. flowfile/web/static/assets/{Sort-f55c9f9d.js → Sort-51b1ee4d.js} +12 -97
  63. flowfile/web/static/assets/{TextToRows-5dbc2145.js → TextToRows-26835f8f.js} +14 -83
  64. flowfile/web/static/assets/{TextToRows-c92d1ec2.css → TextToRows-5d2c1190.css} +9 -9
  65. flowfile/web/static/assets/{UnavailableFields-a1768e52.js → UnavailableFields-88a4cd0c.js} +2 -2
  66. flowfile/web/static/assets/Union-4d0088eb.js +77 -0
  67. flowfile/web/static/assets/{Union-8d9ac7f9.css → Union-af6c3d9b.css} +6 -6
  68. flowfile/web/static/assets/{Unique-46b250da.js → Unique-7d554a62.js} +22 -91
  69. flowfile/web/static/assets/{Sort-7ccfa0fe.css → Unique-f9fb0809.css} +8 -8
  70. flowfile/web/static/assets/Unpivot-1e422df3.css +30 -0
  71. flowfile/web/static/assets/{Unpivot-25ac84cc.js → Unpivot-4668595c.js} +12 -166
  72. flowfile/web/static/assets/UnpivotValidation-0d240eeb.css +13 -0
  73. flowfile/web/static/assets/UnpivotValidation-d4f0e0e8.js +51 -0
  74. flowfile/web/static/assets/{ExploreData-40476474.js → VueGraphicWalker-5324d566.js} +4 -264
  75. flowfile/web/static/assets/VueGraphicWalker-ed5ab88b.css +6 -0
  76. flowfile/web/static/assets/{api-6ef0dcef.js → api-271ed117.js} +1 -1
  77. flowfile/web/static/assets/{api-a0abbdc7.js → api-31e4fea6.js} +1 -1
  78. flowfile/web/static/assets/{designer-186f2e71.css → designer-091bdc3f.css} +819 -184
  79. flowfile/web/static/assets/{designer-13eabd83.js → designer-bf3d9487.js} +2214 -680
  80. flowfile/web/static/assets/{documentation-b87e7f6f.js → documentation-4d0a1cea.js} +1 -1
  81. flowfile/web/static/assets/{dropDown-13564764.js → dropDown-025888df.js} +1 -1
  82. flowfile/web/static/assets/{fullEditor-fd2cd6f9.js → fullEditor-1df991ec.js} +2 -2
  83. flowfile/web/static/assets/{genericNodeSettings-71e11604.js → genericNodeSettings-d3b2b2ac.js} +3 -3
  84. flowfile/web/static/assets/{index-f6c15e76.js → index-d0518598.js} +210 -31
  85. flowfile/web/static/assets/{Output-48f81019.css → outputCsv-9cc59e0b.css} +0 -143
  86. flowfile/web/static/assets/outputCsv-d8457527.js +86 -0
  87. flowfile/web/static/assets/outputExcel-b41305c0.css +102 -0
  88. flowfile/web/static/assets/outputExcel-be89153e.js +56 -0
  89. flowfile/web/static/assets/outputParquet-cf8cf3f2.css +4 -0
  90. flowfile/web/static/assets/outputParquet-fabb445a.js +31 -0
  91. flowfile/web/static/assets/readCsv-bca3ed53.css +52 -0
  92. flowfile/web/static/assets/readCsv-e8359522.js +178 -0
  93. flowfile/web/static/assets/readExcel-dabaf51b.js +203 -0
  94. flowfile/web/static/assets/readExcel-e1b381ea.css +64 -0
  95. flowfile/web/static/assets/readParquet-cee068e2.css +19 -0
  96. flowfile/web/static/assets/readParquet-e0771ef2.js +26 -0
  97. flowfile/web/static/assets/{secretApi-dd636aa2.js → secretApi-ce823eee.js} +1 -1
  98. flowfile/web/static/assets/{selectDynamic-af36165e.js → selectDynamic-5476546e.js} +7 -7
  99. flowfile/web/static/assets/{selectDynamic-b062bc9b.css → selectDynamic-aa913ff4.css} +16 -16
  100. flowfile/web/static/assets/{vue-codemirror.esm-2847001e.js → vue-codemirror.esm-9ed00d50.js} +29 -33
  101. flowfile/web/static/assets/{vue-content-loader.es-0371da73.js → vue-content-loader.es-7bca2d9b.js} +1 -1
  102. flowfile/web/static/index.html +1 -1
  103. {flowfile-0.3.8.dist-info → flowfile-0.3.10.dist-info}/METADATA +2 -1
  104. {flowfile-0.3.8.dist-info → flowfile-0.3.10.dist-info}/RECORD +147 -117
  105. flowfile_core/configs/flow_logger.py +5 -13
  106. flowfile_core/configs/node_store/nodes.py +303 -44
  107. flowfile_core/configs/settings.py +6 -3
  108. flowfile_core/database/connection.py +5 -21
  109. flowfile_core/fileExplorer/funcs.py +239 -121
  110. flowfile_core/flowfile/code_generator/code_generator.py +36 -0
  111. flowfile_core/flowfile/flow_data_engine/flow_data_engine.py +60 -80
  112. flowfile_core/flowfile/flow_data_engine/flow_file_column/main.py +61 -0
  113. flowfile_core/flowfile/flow_data_engine/fuzzy_matching/prepare_for_fuzzy_match.py +44 -3
  114. flowfile_core/flowfile/flow_data_engine/subprocess_operations/models.py +3 -3
  115. flowfile_core/flowfile/flow_data_engine/subprocess_operations/subprocess_operations.py +33 -10
  116. flowfile_core/flowfile/flow_graph.py +223 -118
  117. flowfile_core/flowfile/flow_node/flow_node.py +56 -19
  118. flowfile_core/flowfile/flow_node/models.py +0 -2
  119. flowfile_core/flowfile/flow_node/schema_callback.py +138 -43
  120. flowfile_core/flowfile/graph_tree/graph_tree.py +250 -0
  121. flowfile_core/flowfile/graph_tree/models.py +15 -0
  122. flowfile_core/flowfile/handler.py +22 -3
  123. flowfile_core/flowfile/manage/compatibility_enhancements.py +1 -1
  124. flowfile_core/flowfile/{flow_data_engine/fuzzy_matching/settings_validator.py → schema_callbacks.py} +72 -16
  125. flowfile_core/flowfile/setting_generator/settings.py +2 -2
  126. flowfile_core/flowfile/util/execution_orderer.py +9 -0
  127. flowfile_core/flowfile/util/node_skipper.py +8 -0
  128. flowfile_core/main.py +4 -1
  129. flowfile_core/routes/routes.py +59 -10
  130. flowfile_core/schemas/input_schema.py +0 -1
  131. flowfile_core/schemas/output_model.py +5 -2
  132. flowfile_core/schemas/schemas.py +48 -3
  133. flowfile_core/schemas/transform_schema.py +28 -38
  134. flowfile_frame/__init__.py +1 -4
  135. flowfile_frame/flow_frame.py +33 -4
  136. flowfile_frame/flow_frame.pyi +2 -0
  137. flowfile_worker/__init__.py +6 -35
  138. flowfile_worker/funcs.py +7 -3
  139. flowfile_worker/main.py +5 -2
  140. flowfile_worker/models.py +3 -1
  141. flowfile_worker/routes.py +47 -5
  142. shared/__init__.py +15 -0
  143. shared/storage_config.py +243 -0
  144. flowfile/web/static/assets/GraphSolver-17fd26db.css +0 -68
  145. flowfile/web/static/assets/Pivot-f415e85f.css +0 -35
  146. flowfile/web/static/assets/Read-80dc1675.css +0 -197
  147. flowfile/web/static/assets/Read-c4059daf.js +0 -701
  148. flowfile/web/static/assets/RecordCount-c2b5e095.js +0 -122
  149. flowfile/web/static/assets/Union-f2aefdc9.js +0 -146
  150. flowfile/web/static/assets/Unpivot-246e9bbd.css +0 -77
  151. flowfile/web/static/assets/nodeTitle-988d9efe.js +0 -227
  152. flowfile/web/static/assets/nodeTitle-f4b12bcb.css +0 -134
  153. flowfile_worker/polars_fuzzy_match/matcher.py +0 -435
  154. flowfile_worker/polars_fuzzy_match/models.py +0 -36
  155. flowfile_worker/polars_fuzzy_match/pre_process.py +0 -213
  156. flowfile_worker/polars_fuzzy_match/process.py +0 -86
  157. flowfile_worker/polars_fuzzy_match/utils.py +0 -50
  158. {flowfile-0.3.8.dist-info → flowfile-0.3.10.dist-info}/LICENSE +0 -0
  159. {flowfile-0.3.8.dist-info → flowfile-0.3.10.dist-info}/WHEEL +0 -0
  160. {flowfile-0.3.8.dist-info → flowfile-0.3.10.dist-info}/entry_points.txt +0 -0
  161. {flowfile_worker/polars_fuzzy_match → flowfile_core/flowfile/graph_tree}/__init__.py +0 -0
@@ -1,5 +1,5 @@
1
1
 
2
- .context-menu[data-v-8edf8bb6] {
2
+ .context-menu[data-v-734437d8] {
3
3
  position: fixed;
4
4
  z-index: 1000;
5
5
  border: 1px solid #ccc;
@@ -9,7 +9,7 @@
9
9
  border-radius: 4px;
10
10
  user-select: none;
11
11
  }
12
- .context-menu button[data-v-8edf8bb6] {
12
+ .context-menu button[data-v-734437d8] {
13
13
  display: block;
14
14
  background: none;
15
15
  border: none;
@@ -19,17 +19,17 @@
19
19
  cursor: pointer;
20
20
  z-index: 100;
21
21
  }
22
- .context-menu button[data-v-8edf8bb6]:hover {
22
+ .context-menu button[data-v-734437d8]:hover {
23
23
  background-color: #f0f0f0;
24
24
  }
25
- .table-wrapper[data-v-8edf8bb6] {
25
+ .table-wrapper[data-v-734437d8] {
26
26
  max-height: 300px; /* Adjust this value as needed */
27
27
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
28
28
  border-radius: 8px; /* rounded corners */
29
29
  overflow: auto; /* ensures the rounded corners are applied to the child elements */
30
30
  margin: 5px; /* adds a small margin around the table */
31
31
  }
32
- .context-menu[data-v-8edf8bb6] {
32
+ .context-menu[data-v-734437d8] {
33
33
  position: fixed;
34
34
  z-index: 1000;
35
35
  border: 1px solid #ccc;
@@ -37,15 +37,15 @@
37
37
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
38
38
  border-radius: 4px;
39
39
  }
40
- .context-menu ul[data-v-8edf8bb6] {
40
+ .context-menu ul[data-v-734437d8] {
41
41
  list-style: none;
42
42
  padding: 0;
43
43
  margin: 0;
44
44
  }
45
- .context-menu li[data-v-8edf8bb6] {
45
+ .context-menu li[data-v-734437d8] {
46
46
  padding: 8px 16px;
47
47
  cursor: pointer;
48
48
  }
49
- .context-menu li[data-v-8edf8bb6]:hover {
49
+ .context-menu li[data-v-734437d8]:hover {
50
50
  background-color: #f0f0f0;
51
51
  }
@@ -1,10 +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, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, v as withModifiers, h as createBlock, u as unref, _ as _export_sfc, a7 as Teleport } from "./index-f6c15e76.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-0371da73.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-2847001e.js";
4
- import { G as GenericNodeSettings } from "./genericNodeSettings-71e11604.js";
5
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-988d9efe.js";
6
- import "./designer-13eabd83.js";
7
- const _hoisted_1$1 = { key: 0 };
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-d0518598.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-7bca2d9b.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-9ed00d50.js";
4
+ import { G as GenericNodeSettings } from "./genericNodeSettings-d3b2b2ac.js";
5
+ import "./designer-bf3d9487.js";
6
+ const _hoisted_1 = { key: 0 };
8
7
  const _hoisted_2 = { class: "listbox-wrapper" };
9
8
  const _hoisted_3 = {
10
9
  key: 0,
@@ -18,8 +17,8 @@ const _hoisted_6 = {
18
17
  };
19
18
  const _hoisted_7 = { class: "styled-table" };
20
19
  const _hoisted_8 = ["onContextmenu"];
21
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
22
- __name: "groupBy",
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "GroupBy",
23
22
  setup(__props, { expose: __expose }) {
24
23
  const nodeStore = useNodeStore();
25
24
  const showContextMenu = ref(false);
@@ -132,7 +131,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
132
131
  const loadNodeData = async (nodeId) => {
133
132
  loadData(nodeId);
134
133
  dataLoaded.value = true;
135
- nodeStore.isDrawerOpen = true;
136
134
  };
137
135
  const handleClickOutside = (event) => {
138
136
  var _a;
@@ -211,7 +209,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
211
209
  const pushNodeData = async () => {
212
210
  var _a, _b, _c;
213
211
  dataLoaded.value = false;
214
- nodeStore.isDrawerOpen = false;
215
212
  if ((_a = nodeGroupBy.value) == null ? void 0 : _a.is_setup) {
216
213
  nodeGroupBy.value.is_setup = true;
217
214
  }
@@ -236,7 +233,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
236
233
  const _component_el_option = resolveComponent("el-option");
237
234
  const _component_el_select = resolveComponent("el-select");
238
235
  const _component_el_input = resolveComponent("el-input");
239
- return dataLoaded.value && nodeGroupBy.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
236
+ return dataLoaded.value && nodeGroupBy.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
240
237
  createVNode(GenericNodeSettings, {
241
238
  modelValue: nodeGroupBy.value,
242
239
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => nodeGroupBy.value = $event)
@@ -347,68 +344,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
347
344
  };
348
345
  }
349
346
  });
350
- const groupBy_vue_vue_type_style_index_0_scoped_f29b10dc_lang = "";
351
- const readInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f29b10dc"]]);
352
- const _hoisted_1 = { ref: "el" };
353
- const _sfc_main = /* @__PURE__ */ defineComponent({
354
- __name: "GroupBy",
355
- props: {
356
- nodeId: {
357
- type: Number,
358
- required: true
359
- }
360
- },
361
- setup(__props) {
362
- const nodeStore = useNodeStore();
363
- const childComp = ref(null);
364
- const props = __props;
365
- const drawer = ref(false);
366
- const closeOnDrawer = () => {
367
- var _a;
368
- drawer.value = false;
369
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
370
- };
371
- const openDrawer = async () => {
372
- nodeStore.closeDrawer();
373
- drawer.value = true;
374
- nodeStore.isDrawerOpen;
375
- nodeStore.isDrawerOpen = true;
376
- await nextTick();
377
- if (childComp.value) {
378
- childComp.value.loadNodeData(props.nodeId);
379
- nodeStore.openDrawer(closeOnDrawer);
380
- }
381
- };
382
- onMounted(async () => {
383
- await nextTick();
384
- });
385
- return (_ctx, _cache) => {
386
- return openBlock(), createElementBlock("div", _hoisted_1, [
387
- createVNode(NodeButton, {
388
- ref: "nodeButton",
389
- "node-id": __props.nodeId,
390
- "image-src": "group_by.png",
391
- title: `${__props.nodeId}: Group by`,
392
- onClick: openDrawer
393
- }, null, 8, ["node-id", "title"]),
394
- drawer.value ? (openBlock(), createBlock(Teleport, {
395
- key: 0,
396
- to: "#nodesettings"
397
- }, [
398
- createVNode(NodeTitle, {
399
- title: "Group by",
400
- intro: "Group data by a column"
401
- }),
402
- createVNode(readInput, {
403
- ref_key: "childComp",
404
- ref: childComp,
405
- "node-id": __props.nodeId
406
- }, null, 8, ["node-id"])
407
- ])) : createCommentVNode("", true)
408
- ], 512);
409
- };
410
- }
411
- });
347
+ const GroupBy_vue_vue_type_style_index_0_scoped_734437d8_lang = "";
348
+ const GroupBy = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-734437d8"]]);
412
349
  export {
413
- _sfc_main as default
350
+ GroupBy as default
414
351
  };
@@ -1,13 +1,12 @@
1
- import { C as CodeLoader } from "./vue-content-loader.es-0371da73.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-2847001e.js";
3
- import { C as ColumnSelector } from "./dropDown-13564764.js";
4
- import { s as selectDynamic } from "./selectDynamic-af36165e.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-71e11604.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, n as onMounted, R as nextTick, a7 as Teleport } from "./index-f6c15e76.js";
7
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-988d9efe.js";
8
- import "./UnavailableFields-a1768e52.js";
9
- import "./designer-13eabd83.js";
10
- const _hoisted_1$1 = {
1
+ import { C as CodeLoader } from "./vue-content-loader.es-7bca2d9b.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-9ed00d50.js";
3
+ import { C as ColumnSelector } from "./dropDown-025888df.js";
4
+ import { s as selectDynamic } from "./selectDynamic-5476546e.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-d3b2b2ac.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-d0518598.js";
7
+ import "./UnavailableFields-88a4cd0c.js";
8
+ import "./designer-bf3d9487.js";
9
+ const _hoisted_1 = {
11
10
  key: 0,
12
11
  class: "listbox-wrapper"
13
12
  };
@@ -18,8 +17,8 @@ const _hoisted_5 = { class: "table-wrapper" };
18
17
  const _hoisted_6 = { class: "selectors-container" };
19
18
  const _hoisted_7 = { class: "action-buttons" };
20
19
  const _hoisted_8 = ["onClick"];
21
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
22
- __name: "join",
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "Join",
23
22
  setup(__props, { expose: __expose }) {
24
23
  const joinTypes = ["inner", "left", "right", "full", "semi", "anti", "cross"];
25
24
  const JOIN_TYPES_WITHOUT_COLUMN_SELECTION = ["anti", "semi"];
@@ -44,7 +43,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
44
43
  if (result.value) {
45
44
  dataLoaded.value = true;
46
45
  }
47
- nodeStore.isDrawerOpen = true;
48
46
  };
49
47
  const addJoinCondition = () => {
50
48
  if (nodeJoin.value) {
@@ -78,14 +76,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
78
76
  const pushNodeData = async () => {
79
77
  console.log("Pushing node data");
80
78
  nodeStore.updateSettings(nodeJoin);
81
- nodeStore.isDrawerOpen = false;
82
79
  };
83
80
  __expose({
84
81
  loadNodeData,
85
82
  pushNodeData
86
83
  });
87
84
  return (_ctx, _cache) => {
88
- return dataLoaded.value && nodeJoin.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
85
+ return dataLoaded.value && nodeJoin.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
89
86
  createVNode(GenericNodeSettings, {
90
87
  modelValue: nodeJoin.value,
91
88
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => nodeJoin.value = $event)
@@ -182,75 +179,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
182
179
  };
183
180
  }
184
181
  });
185
- const join_vue_vue_type_style_index_0_scoped_f4a6a0de_lang = "";
186
- const joinInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f4a6a0de"]]);
187
- const _hoisted_1 = { ref: "el" };
188
- const _sfc_main = /* @__PURE__ */ defineComponent({
189
- __name: "Join",
190
- props: {
191
- nodeId: {
192
- type: Number,
193
- required: true
194
- }
195
- },
196
- setup(__props) {
197
- const nodeStore = useNodeStore();
198
- const childComp = ref(null);
199
- const drawer = ref(false);
200
- const props = __props;
201
- const closeOnDrawer = () => {
202
- var _a;
203
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
204
- drawer.value = false;
205
- nodeStore.isDrawerOpen = false;
206
- };
207
- const openDrawer = async () => {
208
- if (nodeStore.node_id === props.nodeId) {
209
- return;
210
- }
211
- nodeStore.closeDrawer();
212
- drawer.value = true;
213
- const drawerOpen = nodeStore.isDrawerOpen;
214
- nodeStore.isDrawerOpen = true;
215
- await nextTick();
216
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
217
- return;
218
- }
219
- if (childComp.value) {
220
- childComp.value.loadNodeData(props.nodeId);
221
- nodeStore.openDrawer(closeOnDrawer);
222
- }
223
- };
224
- onMounted(async () => {
225
- await nextTick();
226
- });
227
- return (_ctx, _cache) => {
228
- return openBlock(), createElementBlock("div", _hoisted_1, [
229
- createVNode(NodeButton, {
230
- ref: "nodeButton",
231
- "node-id": __props.nodeId,
232
- "image-src": "join.png",
233
- title: `${__props.nodeId}: Join`,
234
- onClick: openDrawer
235
- }, null, 8, ["node-id", "title"]),
236
- drawer.value ? (openBlock(), createBlock(Teleport, {
237
- key: 0,
238
- to: "#nodesettings"
239
- }, [
240
- createVNode(NodeTitle, {
241
- title: "Join",
242
- intro: "Combine datasets based on one or more columns."
243
- }),
244
- createVNode(joinInput, {
245
- ref_key: "childComp",
246
- ref: childComp,
247
- "node-id": __props.nodeId
248
- }, null, 8, ["node-id"])
249
- ])) : createCommentVNode("", true)
250
- ], 512);
251
- };
252
- }
253
- });
182
+ const Join_vue_vue_type_style_index_0_scoped_7d5cefa4_lang = "";
183
+ const Join = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7d5cefa4"]]);
254
184
  export {
255
- _sfc_main as default
185
+ Join as default
256
186
  };
@@ -1,12 +1,12 @@
1
1
 
2
2
  /* Join Type Selector */
3
- .join-type-selector[data-v-f4a6a0de] {
3
+ .join-type-selector[data-v-7d5cefa4] {
4
4
  display: flex;
5
5
  align-items: center;
6
6
  margin: 12px;
7
7
  gap: 10px;
8
8
  }
9
- .join-type-label[data-v-f4a6a0de] {
9
+ .join-type-label[data-v-7d5cefa4] {
10
10
  font-size: 12px;
11
11
  color: #333;
12
12
  font-weight: 500;
@@ -14,27 +14,27 @@
14
14
  }
15
15
 
16
16
  /* Join Mapping Section */
17
- .table-wrapper[data-v-f4a6a0de] {
17
+ .table-wrapper[data-v-7d5cefa4] {
18
18
  border: 1px solid #eee;
19
19
  border-radius: 6px;
20
20
  overflow: hidden;
21
21
  margin: 5px;
22
22
  }
23
- .selectors-header[data-v-f4a6a0de] {
23
+ .selectors-header[data-v-7d5cefa4] {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  padding: 8px 16px;
27
27
  background-color: #fafafa;
28
28
  border-bottom: 1px solid #eee;
29
29
  }
30
- .selectors-title[data-v-f4a6a0de] {
30
+ .selectors-title[data-v-7d5cefa4] {
31
31
  flex: 1;
32
32
  text-align: center;
33
33
  font-size: 12px;
34
34
  color: #666;
35
35
  font-weight: 500;
36
36
  }
37
- .selectors-container[data-v-f4a6a0de] {
37
+ .selectors-container[data-v-7d5cefa4] {
38
38
  padding: 12px;
39
39
  box-sizing: border-box;
40
40
  width: 100%;
@@ -42,7 +42,7 @@
42
42
  justify-content: space-between;
43
43
  flex-direction: column;
44
44
  }
45
- .selectors-row[data-v-f4a6a0de] {
45
+ .selectors-row[data-v-7d5cefa4] {
46
46
  display: flex;
47
47
  gap: 12px;
48
48
  margin-bottom: 8px;
@@ -50,20 +50,20 @@
50
50
  display: flex;
51
51
  justify-content: space-between;
52
52
  }
53
- .selectors-row[data-v-f4a6a0de]:last-child {
53
+ .selectors-row[data-v-7d5cefa4]:last-child {
54
54
  margin-bottom: 0;
55
55
  }
56
56
 
57
57
  /* Action Buttons */
58
- .action-buttons[data-v-f4a6a0de] {
58
+ .action-buttons[data-v-7d5cefa4] {
59
59
  display: flex;
60
60
  gap: 4px;
61
61
  min-width: 60px;
62
62
  justify-content: center;
63
63
  }
64
- .action-button[data-v-f4a6a0de],
65
- .add-join-button[data-v-f4a6a0de],
66
- .remove-join-button[data-v-f4a6a0de] {
64
+ .action-button[data-v-7d5cefa4],
65
+ .add-join-button[data-v-7d5cefa4],
66
+ .remove-join-button[data-v-7d5cefa4] {
67
67
  cursor: pointer;
68
68
  width: 24px;
69
69
  height: 24px;
@@ -76,34 +76,34 @@
76
76
  font-size: 14px;
77
77
  transition: all 0.2s ease;
78
78
  }
79
- .add-join-button[data-v-f4a6a0de] {
79
+ .add-join-button[data-v-7d5cefa4] {
80
80
  color: #45a049;
81
81
  border-color: #45a049;
82
82
  }
83
- .add-join-button[data-v-f4a6a0de]:hover {
83
+ .add-join-button[data-v-7d5cefa4]:hover {
84
84
  background-color: #45a049;
85
85
  color: #fff;
86
86
  }
87
- .remove-join-button[data-v-f4a6a0de] {
87
+ .remove-join-button[data-v-7d5cefa4] {
88
88
  color: #d32f2f;
89
89
  border-color: #d32f2f;
90
90
  }
91
- .remove-join-button[data-v-f4a6a0de]:hover {
91
+ .remove-join-button[data-v-7d5cefa4]:hover {
92
92
  background-color: #d32f2f;
93
93
  color: #fff;
94
94
  }
95
95
 
96
96
  /* Custom scrollbar */
97
- .selectors-container[data-v-f4a6a0de]::-webkit-scrollbar {
97
+ .selectors-container[data-v-7d5cefa4]::-webkit-scrollbar {
98
98
  width: 8px;
99
99
  }
100
- .selectors-container[data-v-f4a6a0de]::-webkit-scrollbar-track {
100
+ .selectors-container[data-v-7d5cefa4]::-webkit-scrollbar-track {
101
101
  background: transparent;
102
102
  }
103
- .selectors-container[data-v-f4a6a0de]::-webkit-scrollbar-thumb {
103
+ .selectors-container[data-v-7d5cefa4]::-webkit-scrollbar-thumb {
104
104
  background-color: rgba(0, 0, 0, 0.1);
105
105
  border-radius: 4px;
106
106
  }
107
- .selectors-container[data-v-f4a6a0de]::-webkit-scrollbar-thumb:hover {
107
+ .selectors-container[data-v-7d5cefa4]::-webkit-scrollbar-thumb:hover {
108
108
  background-color: rgba(0, 0, 0, 0.2);
109
109
  }
@@ -1,59 +1,59 @@
1
1
 
2
- .settings-section[data-v-2eba6653] {
2
+ .settings-section[data-v-3b48a5f1] {
3
3
  padding: 1.25rem;
4
4
  background: var(--el-bg-color);
5
5
  border-radius: 8px;
6
6
  margin-bottom: 1rem;
7
7
  }
8
- .table-container[data-v-2eba6653] {
8
+ .table-container[data-v-3b48a5f1] {
9
9
  max-height: 400px;
10
10
  overflow: auto;
11
11
  border: 1px solid var(--el-border-color-lighter);
12
12
  border-radius: 8px;
13
13
  margin-bottom: 1rem;
14
14
  }
15
- .modern-table[data-v-2eba6653] {
15
+ .modern-table[data-v-3b48a5f1] {
16
16
  width: 100%;
17
17
  border-collapse: separate;
18
18
  border-spacing: 0;
19
19
  background: white;
20
20
  }
21
- .modern-table th[data-v-2eba6653],
22
- .modern-table td[data-v-2eba6653] {
21
+ .modern-table th[data-v-3b48a5f1],
22
+ .modern-table td[data-v-3b48a5f1] {
23
23
  padding: 0.5rem;
24
24
  border: 1px solid var(--el-border-color-lighter);
25
25
  }
26
- .column-header[data-v-2eba6653] {
26
+ .column-header[data-v-3b48a5f1] {
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
  gap: 0.25rem;
30
30
  }
31
- .type-select[data-v-2eba6653] {
31
+ .type-select[data-v-3b48a5f1] {
32
32
  width: 100%;
33
33
  }
34
- .type-select[data-v-2eba6653] .el-input__inner {
34
+ .type-select[data-v-3b48a5f1] .el-input__inner {
35
35
  font-size: 0.75rem;
36
36
  padding: 0 0.5rem;
37
37
  }
38
- .input-header[data-v-2eba6653],
39
- .input-cell[data-v-2eba6653] {
38
+ .input-header[data-v-3b48a5f1],
39
+ .input-cell[data-v-3b48a5f1] {
40
40
  width: 100%;
41
41
  border: none;
42
42
  padding: 0.25rem;
43
43
  font-size: 0.875rem;
44
44
  background: transparent;
45
45
  }
46
- .input-header[data-v-2eba6653] {
46
+ .input-header[data-v-3b48a5f1] {
47
47
  font-weight: 500;
48
48
  }
49
- .controls-section[data-v-2eba6653] {
49
+ .controls-section[data-v-3b48a5f1] {
50
50
  margin: 1rem 0;
51
51
  }
52
- .button-group[data-v-2eba6653] {
52
+ .button-group[data-v-3b48a5f1] {
53
53
  display: flex;
54
54
  gap: 0.5rem;
55
55
  }
56
- .delete-button[data-v-2eba6653] {
56
+ .delete-button[data-v-3b48a5f1] {
57
57
  width: 20px;
58
58
  height: 20px;
59
59
  padding: 0;
@@ -68,8 +68,8 @@
68
68
  position: relative;
69
69
  margin: 0 auto;
70
70
  }
71
- .delete-button[data-v-2eba6653]::before,
72
- .delete-button[data-v-2eba6653]::after {
71
+ .delete-button[data-v-3b48a5f1]::before,
72
+ .delete-button[data-v-3b48a5f1]::after {
73
73
  content: "";
74
74
  position: absolute;
75
75
  width: 10px;
@@ -77,19 +77,19 @@
77
77
  background-color: currentColor;
78
78
  transform: rotate(45deg);
79
79
  }
80
- .delete-button[data-v-2eba6653]::after {
80
+ .delete-button[data-v-3b48a5f1]::after {
81
81
  transform: rotate(-45deg);
82
82
  }
83
- .delete-button[data-v-2eba6653]:hover {
83
+ .delete-button[data-v-3b48a5f1]:hover {
84
84
  color: #ff4d4f;
85
85
  }
86
- .raw-data-section[data-v-2eba6653] {
86
+ .raw-data-section[data-v-3b48a5f1] {
87
87
  margin-top: 1rem;
88
88
  padding: 1rem;
89
89
  background: var(--el-bg-color-page);
90
90
  border-radius: 8px;
91
91
  }
92
- .raw-data-controls[data-v-2eba6653] {
92
+ .raw-data-controls[data-v-3b48a5f1] {
93
93
  margin-top: 0.5rem;
94
94
  display: flex;
95
95
  justify-content: flex-end;
@@ -1,8 +1,7 @@
1
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-988d9efe.js";
2
- 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, a5 as withDirectives, a6 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, n as onMounted, R as nextTick, a7 as Teleport } from "./index-f6c15e76.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-2847001e.js";
4
- import { G as GenericNodeSettings } from "./genericNodeSettings-71e11604.js";
5
- import "./designer-13eabd83.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-d0518598.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-9ed00d50.js";
3
+ import { G as GenericNodeSettings } from "./genericNodeSettings-d3b2b2ac.js";
4
+ import "./designer-bf3d9487.js";
6
5
  const createManualInput = (flowId = -1, nodeId = -1, pos_x = 0, pos_y = 0) => {
7
6
  const nodeManualInput = ref({
8
7
  flow_id: flowId,
@@ -32,8 +31,8 @@ const _hoisted_12 = {
32
31
  class: "raw-data-section"
33
32
  };
34
33
  const _hoisted_13 = { class: "raw-data-controls" };
35
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
36
- __name: "manualInput",
34
+ const _sfc_main = /* @__PURE__ */ defineComponent({
35
+ __name: "ManualInput",
37
36
  setup(__props, { expose: __expose }) {
38
37
  const nodeStore = useNodeStore();
39
38
  const dataLoaded = ref(false);
@@ -126,6 +125,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
126
125
  const nodeResult = await nodeStore.getNodeData(nodeId, false);
127
126
  if (nodeResult == null ? void 0 : nodeResult.setting_input) {
128
127
  nodeManualInput.value = nodeResult.setting_input;
128
+ console.log("nodeManualInput.value from input", nodeManualInput.value);
129
129
  if (nodeResult.setting_input.raw_data_format && nodeResult.setting_input.raw_data_format.columns && nodeResult.setting_input.raw_data_format.data) {
130
130
  populateTableFromRawDataFormat(nodeResult.setting_input.raw_data_format);
131
131
  } else if (nodeResult.setting_input.raw_data) {
@@ -135,6 +135,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
135
135
  }
136
136
  } else {
137
137
  nodeManualInput.value = createManualInput(nodeStore.flow_id, nodeStore.node_id).value;
138
+ console.log("nodeManualInput.value no data available", nodeManualInput.value);
138
139
  initializeEmptyTable();
139
140
  }
140
141
  rawDataString.value = JSON.stringify(rawData.value, null, 2);
@@ -387,80 +388,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
387
388
  };
388
389
  }
389
390
  });
390
- const manualInput_vue_vue_type_style_index_0_scoped_2eba6653_lang = "";
391
- const manualInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-2eba6653"]]);
392
- const _sfc_main = /* @__PURE__ */ defineComponent({
393
- __name: "ManualInput",
394
- props: {
395
- nodeId: {
396
- type: Number,
397
- required: true
398
- }
399
- },
400
- setup(__props) {
401
- const nodeStore = useNodeStore();
402
- const nodeButton = ref(null);
403
- const childComp = ref(null);
404
- const props = __props;
405
- const el = ref(null);
406
- const drawer = ref(false);
407
- const closeOnDrawer = () => {
408
- var _a;
409
- drawer.value = false;
410
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
411
- nodeStore.isDrawerOpen = false;
412
- };
413
- const openDrawer = async () => {
414
- if (nodeStore.node_id === props.nodeId) {
415
- return;
416
- }
417
- nodeStore.closeDrawer();
418
- drawer.value = true;
419
- const drawerOpen = nodeStore.isDrawerOpen;
420
- nodeStore.isDrawerOpen = true;
421
- await nextTick();
422
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
423
- return;
424
- }
425
- if (childComp.value) {
426
- childComp.value.loadNodeData(props.nodeId);
427
- nodeStore.openDrawer(closeOnDrawer);
428
- }
429
- };
430
- onMounted(async () => {
431
- await nextTick();
432
- });
433
- return (_ctx, _cache) => {
434
- return openBlock(), createElementBlock("div", {
435
- ref_key: "el",
436
- ref: el
437
- }, [
438
- createVNode(NodeButton, {
439
- ref_key: "nodeButton",
440
- ref: nodeButton,
441
- "node-id": __props.nodeId,
442
- "image-src": "manual_input.png",
443
- title: `${__props.nodeId}: Manual input`,
444
- onClick: openDrawer
445
- }, null, 8, ["node-id", "title"]),
446
- drawer.value ? (openBlock(), createBlock(Teleport, {
447
- key: 0,
448
- to: "#nodesettings"
449
- }, [
450
- createVNode(NodeTitle, {
451
- title: "Provide manual input",
452
- intro: "Provide a fixed data that can be used and combined with other tables."
453
- }),
454
- createVNode(manualInput, {
455
- ref_key: "childComp",
456
- ref: childComp,
457
- "node-id": __props.nodeId
458
- }, null, 8, ["node-id"])
459
- ])) : createCommentVNode("", true)
460
- ], 512);
461
- };
462
- }
463
- });
391
+ const ManualInput_vue_vue_type_style_index_0_scoped_3b48a5f1_lang = "";
392
+ const ManualInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3b48a5f1"]]);
464
393
  export {
465
- _sfc_main as default
394
+ ManualInput as default
466
395
  };