Flowfile 0.3.9__py3-none-any.whl → 0.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of Flowfile might be problematic. Click here for more details.

Files changed (169) hide show
  1. flowfile/__init__.py +6 -1
  2. flowfile/api.py +0 -1
  3. flowfile/web/static/assets/{CloudConnectionManager-c97c25f8.js → CloudConnectionManager-109ecc3c.js} +2 -2
  4. flowfile/web/static/assets/{CloudStorageReader-f1ff509e.js → CloudStorageReader-19cdd67a.js} +11 -78
  5. flowfile/web/static/assets/{CloudStorageWriter-034f8b78.js → CloudStorageWriter-48e0ae20.js} +12 -79
  6. flowfile/web/static/assets/{CloudStorageWriter-49c9a4b2.css → CloudStorageWriter-b0ee067f.css} +24 -24
  7. flowfile/web/static/assets/ColumnSelector-47996a16.css +10 -0
  8. flowfile/web/static/assets/ColumnSelector-ecaf7c44.js +83 -0
  9. flowfile/web/static/assets/ContextMenu-2b348c4c.js +41 -0
  10. flowfile/web/static/assets/{SettingsSection-9c836ecc.css → ContextMenu-4c74eef1.css} +0 -21
  11. flowfile/web/static/assets/ContextMenu-63cfa99b.css +26 -0
  12. flowfile/web/static/assets/ContextMenu-a779eed7.js +41 -0
  13. flowfile/web/static/assets/ContextMenu-c13f91d0.css +26 -0
  14. flowfile/web/static/assets/ContextMenu-eca26a03.js +41 -0
  15. flowfile/web/static/assets/{CrossJoin-41efa4cb.css → CrossJoin-1119d18e.css} +18 -18
  16. flowfile/web/static/assets/{CrossJoin-9e156ebe.js → CrossJoin-a88f8142.js} +14 -84
  17. flowfile/web/static/assets/CustomNode-74a37f74.css +32 -0
  18. flowfile/web/static/assets/CustomNode-cb863dff.js +211 -0
  19. flowfile/web/static/assets/{DatabaseConnectionSettings-d5c625b3.js → DatabaseConnectionSettings-819d3267.js} +3 -3
  20. flowfile/web/static/assets/{DatabaseManager-265adc5e.js → DatabaseManager-84ee2834.js} +2 -2
  21. flowfile/web/static/assets/{DatabaseReader-0b10551e.js → DatabaseReader-060dd412.js} +14 -114
  22. flowfile/web/static/assets/{DatabaseReader-f50c6558.css → DatabaseReader-ae61773c.css} +0 -27
  23. flowfile/web/static/assets/{DatabaseWriter-c17c6916.js → DatabaseWriter-7fc7750f.js} +13 -74
  24. flowfile/web/static/assets/{ExploreData-5bdae813.css → ExploreData-2d0cf4db.css} +8 -14
  25. flowfile/web/static/assets/ExploreData-82c95991.js +192 -0
  26. flowfile/web/static/assets/{ExternalSource-3a66556c.js → ExternalSource-e1a6ddc7.js} +8 -79
  27. flowfile/web/static/assets/{Filter-91ad87e7.js → Filter-8aca894a.js} +12 -85
  28. flowfile/web/static/assets/{Filter-a9d08ba1.css → Filter-f62091b3.css} +3 -3
  29. flowfile/web/static/assets/{Formula-29f19d21.css → Formula-bb96803d.css} +4 -4
  30. flowfile/web/static/assets/{Formula-3c395ab1.js → Formula-e33686d9.js} +18 -85
  31. flowfile/web/static/assets/{FuzzyMatch-6857de82.css → FuzzyMatch-1010f966.css} +42 -42
  32. flowfile/web/static/assets/{FuzzyMatch-2df0d230.js → FuzzyMatch-abda150d.js} +16 -87
  33. flowfile/web/static/assets/{GraphSolver-d285877f.js → GraphSolver-4ecad1d7.js} +13 -159
  34. flowfile/web/static/assets/GraphSolver-f0cb7bfb.css +22 -0
  35. flowfile/web/static/assets/{GroupBy-0bd1cc6b.js → GroupBy-656d07f3.js} +12 -75
  36. flowfile/web/static/assets/{Unique-b5615727.css → GroupBy-b9505323.css} +8 -8
  37. flowfile/web/static/assets/{Join-5a78a203.js → Join-b84ec849.js} +15 -85
  38. flowfile/web/static/assets/{Join-f45eff22.css → Join-fd79b451.css} +20 -20
  39. flowfile/web/static/assets/{ManualInput-a71b52c6.css → ManualInput-3246a08d.css} +20 -20
  40. flowfile/web/static/assets/{ManualInput-93aef9d6.js → ManualInput-346f4135.js} +11 -82
  41. flowfile/web/static/assets/MultiSelect-61b98268.js +5 -0
  42. flowfile/web/static/assets/MultiSelect.vue_vue_type_script_setup_true_lang-2a7c8312.js +63 -0
  43. flowfile/web/static/assets/NumericInput-e36602c2.js +5 -0
  44. flowfile/web/static/assets/NumericInput.vue_vue_type_script_setup_true_lang-211a1990.js +35 -0
  45. flowfile/web/static/assets/Output-ddc9079f.css +37 -0
  46. flowfile/web/static/assets/{Output-411ecaee.js → Output-eb041599.js} +13 -243
  47. flowfile/web/static/assets/Pivot-cf333e3d.css +22 -0
  48. flowfile/web/static/assets/{Pivot-89db4b04.js → Pivot-f5c774f4.js} +14 -138
  49. flowfile/web/static/assets/PivotValidation-26546cbc.js +61 -0
  50. flowfile/web/static/assets/PivotValidation-891ddfb0.css +13 -0
  51. flowfile/web/static/assets/PivotValidation-c46cd420.css +13 -0
  52. flowfile/web/static/assets/PivotValidation-e150a24b.js +61 -0
  53. flowfile/web/static/assets/{PolarsCode-a9f974f8.js → PolarsCode-da3a7abf.js} +13 -80
  54. flowfile/web/static/assets/Read-0c768769.js +243 -0
  55. flowfile/web/static/assets/Read-6b17491f.css +62 -0
  56. flowfile/web/static/assets/RecordCount-84736276.js +53 -0
  57. flowfile/web/static/assets/{RecordId-55ae7d36.js → RecordId-60055e6d.js} +8 -80
  58. flowfile/web/static/assets/SQLQueryComponent-36cef432.css +27 -0
  59. flowfile/web/static/assets/SQLQueryComponent-8a486004.js +38 -0
  60. flowfile/web/static/assets/{Sample-b4a18476.js → Sample-2d662611.js} +8 -77
  61. flowfile/web/static/assets/{SecretManager-b066d13a.js → SecretManager-ef586cab.js} +2 -2
  62. flowfile/web/static/assets/{Select-727688dc.js → Select-2e4a6965.js} +11 -85
  63. flowfile/web/static/assets/SettingsSection-2e4d03c4.css +21 -0
  64. flowfile/web/static/assets/{SettingsSection-695ac487.js → SettingsSection-310b61c0.js} +2 -40
  65. flowfile/web/static/assets/SettingsSection-5634f439.js +45 -0
  66. flowfile/web/static/assets/SettingsSection-5c696bee.css +20 -0
  67. flowfile/web/static/assets/SettingsSection-71e6b7e3.css +21 -0
  68. flowfile/web/static/assets/SettingsSection-7c68b19f.js +53 -0
  69. flowfile/web/static/assets/SingleSelect-7298811a.js +5 -0
  70. flowfile/web/static/assets/SingleSelect.vue_vue_type_script_setup_true_lang-43807bad.js +62 -0
  71. flowfile/web/static/assets/SliderInput-53105476.js +40 -0
  72. flowfile/web/static/assets/SliderInput-b8fb6a8c.css +4 -0
  73. flowfile/web/static/assets/{GroupBy-ab1ea74b.css → Sort-3643d625.css} +8 -8
  74. flowfile/web/static/assets/{Sort-be3339a8.js → Sort-4fdebe74.js} +12 -97
  75. flowfile/web/static/assets/TextInput-28366b7e.js +5 -0
  76. flowfile/web/static/assets/TextInput.vue_vue_type_script_setup_true_lang-9cad14ba.js +32 -0
  77. flowfile/web/static/assets/{TextToRows-c92d1ec2.css → TextToRows-5d2c1190.css} +9 -9
  78. flowfile/web/static/assets/{TextToRows-7b8998da.js → TextToRows-73ffa692.js} +14 -83
  79. flowfile/web/static/assets/ToggleSwitch-598add30.js +5 -0
  80. flowfile/web/static/assets/ToggleSwitch.vue_vue_type_script_setup_true_lang-f620cd32.js +31 -0
  81. flowfile/web/static/assets/{UnavailableFields-8b0cb48e.js → UnavailableFields-66239e83.js} +2 -2
  82. flowfile/web/static/assets/Union-26b10614.js +77 -0
  83. flowfile/web/static/assets/{Union-8d9ac7f9.css → Union-af6c3d9b.css} +6 -6
  84. flowfile/web/static/assets/{Unique-af5a80b4.js → Unique-33b9edbb.js} +22 -91
  85. flowfile/web/static/assets/{Sort-7ccfa0fe.css → Unique-f9fb0809.css} +8 -8
  86. flowfile/web/static/assets/Unpivot-1e422df3.css +30 -0
  87. flowfile/web/static/assets/{Unpivot-5195d411.js → Unpivot-ef69d0e2.js} +12 -166
  88. flowfile/web/static/assets/UnpivotValidation-0d240eeb.css +13 -0
  89. flowfile/web/static/assets/UnpivotValidation-8658388e.js +51 -0
  90. flowfile/web/static/assets/{ExploreData-18a4fe52.js → VueGraphicWalker-4d7861f4.js} +4 -264
  91. flowfile/web/static/assets/VueGraphicWalker-ed5ab88b.css +6 -0
  92. flowfile/web/static/assets/{api-023d1733.js → api-2d1394bd.js} +1 -1
  93. flowfile/web/static/assets/{api-cb00cce6.js → api-c908fffe.js} +1 -1
  94. flowfile/web/static/assets/{designer-6c322d8e.js → designer-1667687d.js} +2201 -705
  95. flowfile/web/static/assets/{designer-2197d782.css → designer-665e9408.css} +836 -201
  96. flowfile/web/static/assets/{documentation-4d1fafe1.js → documentation-5eed779e.js} +1 -1
  97. flowfile/web/static/assets/{dropDown-0b46dd77.js → dropDown-41ebe3c2.js} +1 -1
  98. flowfile/web/static/assets/{fullEditor-ec4e4f95.js → fullEditor-0670d32d.js} +2 -2
  99. flowfile/web/static/assets/{genericNodeSettings-def5879b.js → genericNodeSettings-38410ebf.js} +3 -3
  100. flowfile/web/static/assets/{index-681a3ed0.css → index-50508d4d.css} +8 -0
  101. flowfile/web/static/assets/{index-683fc198.js → index-5ec791df.js} +210 -31
  102. flowfile/web/static/assets/outputCsv-059583b6.js +86 -0
  103. flowfile/web/static/assets/{Output-48f81019.css → outputCsv-9cc59e0b.css} +0 -143
  104. flowfile/web/static/assets/outputExcel-76b1e02c.js +56 -0
  105. flowfile/web/static/assets/outputExcel-b41305c0.css +102 -0
  106. flowfile/web/static/assets/outputParquet-440fd4c7.js +31 -0
  107. flowfile/web/static/assets/outputParquet-cf8cf3f2.css +4 -0
  108. flowfile/web/static/assets/readCsv-9813903a.js +178 -0
  109. flowfile/web/static/assets/readCsv-bca3ed53.css +52 -0
  110. flowfile/web/static/assets/readExcel-7f40d237.js +203 -0
  111. flowfile/web/static/assets/readExcel-e1b381ea.css +64 -0
  112. flowfile/web/static/assets/readParquet-22d56002.js +26 -0
  113. flowfile/web/static/assets/readParquet-cee068e2.css +19 -0
  114. flowfile/web/static/assets/{secretApi-baceb6f9.js → secretApi-b3cb072e.js} +1 -1
  115. flowfile/web/static/assets/{selectDynamic-de91449a.js → selectDynamic-7ad95bca.js} +7 -7
  116. flowfile/web/static/assets/{selectDynamic-b062bc9b.css → selectDynamic-aa913ff4.css} +16 -16
  117. flowfile/web/static/assets/user-defined-icon-0ae16c90.png +0 -0
  118. flowfile/web/static/assets/{vue-codemirror.esm-dc5e3348.js → vue-codemirror.esm-b1dfaa46.js} +59 -33
  119. flowfile/web/static/assets/{vue-content-loader.es-ba94b82f.js → vue-content-loader.es-22bac17c.js} +1 -1
  120. flowfile/web/static/index.html +2 -2
  121. {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/METADATA +1 -1
  122. {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/RECORD +160 -102
  123. flowfile_core/configs/flow_logger.py +5 -13
  124. flowfile_core/configs/node_store/__init__.py +30 -0
  125. flowfile_core/configs/node_store/nodes.py +383 -99
  126. flowfile_core/configs/node_store/user_defined_node_registry.py +193 -0
  127. flowfile_core/configs/settings.py +2 -1
  128. flowfile_core/database/connection.py +5 -21
  129. flowfile_core/fileExplorer/funcs.py +239 -121
  130. flowfile_core/flowfile/flow_data_engine/flow_file_column/interface.py +4 -0
  131. flowfile_core/flowfile/flow_data_engine/flow_file_column/main.py +19 -34
  132. flowfile_core/flowfile/flow_data_engine/flow_file_column/type_registry.py +36 -0
  133. flowfile_core/flowfile/flow_data_engine/subprocess_operations/subprocess_operations.py +28 -8
  134. flowfile_core/flowfile/flow_graph.py +117 -34
  135. flowfile_core/flowfile/flow_node/flow_node.py +45 -13
  136. flowfile_core/flowfile/handler.py +22 -3
  137. flowfile_core/flowfile/manage/open_flowfile.py +9 -1
  138. flowfile_core/flowfile/node_designer/__init__.py +47 -0
  139. flowfile_core/flowfile/node_designer/_type_registry.py +197 -0
  140. flowfile_core/flowfile/node_designer/custom_node.py +371 -0
  141. flowfile_core/flowfile/node_designer/data_types.py +146 -0
  142. flowfile_core/flowfile/node_designer/ui_components.py +277 -0
  143. flowfile_core/flowfile/schema_callbacks.py +8 -4
  144. flowfile_core/flowfile/setting_generator/settings.py +0 -1
  145. flowfile_core/main.py +5 -1
  146. flowfile_core/routes/routes.py +73 -28
  147. flowfile_core/routes/user_defined_components.py +55 -0
  148. flowfile_core/schemas/input_schema.py +7 -1
  149. flowfile_core/schemas/output_model.py +5 -2
  150. flowfile_core/schemas/schemas.py +8 -3
  151. flowfile_core/schemas/transform_schema.py +1 -0
  152. flowfile_core/utils/validate_setup.py +3 -1
  153. flowfile_worker/__init__.py +6 -35
  154. flowfile_worker/main.py +5 -2
  155. flowfile_worker/routes.py +47 -5
  156. shared/__init__.py +15 -0
  157. shared/storage_config.py +258 -0
  158. flowfile/web/static/assets/GraphSolver-17fd26db.css +0 -68
  159. flowfile/web/static/assets/Pivot-f415e85f.css +0 -35
  160. flowfile/web/static/assets/Read-80dc1675.css +0 -197
  161. flowfile/web/static/assets/Read-c3b1929c.js +0 -701
  162. flowfile/web/static/assets/RecordCount-4e95f98e.js +0 -122
  163. flowfile/web/static/assets/Union-89fd73dc.js +0 -146
  164. flowfile/web/static/assets/Unpivot-246e9bbd.css +0 -77
  165. flowfile/web/static/assets/nodeTitle-a16db7c3.js +0 -227
  166. flowfile/web/static/assets/nodeTitle-f4b12bcb.css +0 -134
  167. {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/LICENSE +0 -0
  168. {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/WHEEL +0 -0
  169. {flowfile-0.3.9.dist-info → flowfile-0.4.0.dist-info}/entry_points.txt +0 -0
@@ -1,13 +1,12 @@
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, a5 as withDirectives, a6 as vModelText, ag as vModelSelect, u as unref, _ as _export_sfc, a7 as Teleport } from "./index-683fc198.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-dc5e3348.js";
3
- import { C as ColumnSelector } from "./dropDown-0b46dd77.js";
4
- import { s as selectDynamic } from "./selectDynamic-de91449a.js";
5
- import { u as unavailableField } from "./UnavailableFields-8b0cb48e.js";
6
- import { G as GenericNodeSettings } from "./genericNodeSettings-def5879b.js";
7
- import { C as CodeLoader } from "./vue-content-loader.es-ba94b82f.js";
8
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-a16db7c3.js";
9
- import "./designer-6c322d8e.js";
10
- const _hoisted_1$1 = {
1
+ import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, s as normalizeClass, F as Fragment, q as renderList, h as createBlock, i as createCommentVNode, g as createTextVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, ak as vModelSelect, u as unref, _ as _export_sfc } from "./index-5ec791df.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
3
+ import { C as ColumnSelector } from "./dropDown-41ebe3c2.js";
4
+ import { s as selectDynamic } from "./selectDynamic-7ad95bca.js";
5
+ import { u as unavailableField } from "./UnavailableFields-66239e83.js";
6
+ import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
7
+ import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
8
+ import "./designer-1667687d.js";
9
+ const _hoisted_1 = {
11
10
  key: 0,
12
11
  class: "fuzzy-join-container"
13
12
  };
@@ -43,8 +42,8 @@ const _hoisted_22 = {
43
42
  };
44
43
  const _hoisted_23 = { class: "settings-card" };
45
44
  const _hoisted_24 = { class: "card-content" };
46
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
47
- __name: "fuzzyMatch",
45
+ const _sfc_main = /* @__PURE__ */ defineComponent({
46
+ __name: "FuzzyMatch",
48
47
  setup(__props, { expose: __expose }) {
49
48
  const activeTab = ref("match");
50
49
  const containsVal = (arr, val) => {
@@ -115,7 +114,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
115
114
  };
116
115
  const loadNodeData = async (nodeId) => {
117
116
  var _a, _b, _c, _d, _e, _f;
118
- result.value = await nodeStore.getNodeData(nodeId, true);
117
+ result.value = await nodeStore.getNodeData(nodeId, false);
119
118
  nodeFuzzyJoin.value = (_a = result.value) == null ? void 0 : _a.setting_input;
120
119
  if (!((_b = nodeFuzzyJoin.value) == null ? void 0 : _b.is_setup) && ((_c = result.value) == null ? void 0 : _c.main_input)) {
121
120
  if (nodeFuzzyJoin.value) {
@@ -129,7 +128,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
129
128
  }
130
129
  } else {
131
130
  isLoaded.value = true;
132
- console.log("Data reloaded");
133
131
  }
134
132
  isLoaded.value = true;
135
133
  };
@@ -161,8 +159,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
161
159
  }
162
160
  };
163
161
  const pushNodeData = async () => {
164
- isLoaded.value = false;
165
- nodeStore.isDrawerOpen = false;
166
162
  if (nodeFuzzyJoin.value) {
167
163
  nodeFuzzyJoin.value.is_setup = true;
168
164
  }
@@ -188,7 +184,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
188
184
  await nextTick();
189
185
  });
190
186
  return (_ctx, _cache) => {
191
- return isLoaded.value && nodeFuzzyJoin.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
187
+ return isLoaded.value && nodeFuzzyJoin.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
192
188
  createVNode(GenericNodeSettings, {
193
189
  modelValue: nodeFuzzyJoin.value,
194
190
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => nodeFuzzyJoin.value = $event)
@@ -348,75 +344,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
348
344
  };
349
345
  }
350
346
  });
351
- const fuzzyMatch_vue_vue_type_style_index_0_scoped_99f9b22f_lang = "";
352
- const joinInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-99f9b22f"]]);
353
- const _hoisted_1 = { ref: "el" };
354
- const _sfc_main = /* @__PURE__ */ defineComponent({
355
- __name: "FuzzyMatch",
356
- props: {
357
- nodeId: {
358
- type: Number,
359
- required: true
360
- }
361
- },
362
- setup(__props) {
363
- const nodeStore = useNodeStore();
364
- const props = __props;
365
- const childComp = ref(null);
366
- const drawer = ref(false);
367
- const closeOnDrawer = () => {
368
- var _a;
369
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
370
- drawer.value = false;
371
- nodeStore.isDrawerOpen = false;
372
- };
373
- const openDrawer = async () => {
374
- if (nodeStore.node_id === props.nodeId) {
375
- return;
376
- }
377
- nodeStore.closeDrawer();
378
- drawer.value = true;
379
- const drawerOpen = nodeStore.isDrawerOpen;
380
- nodeStore.isDrawerOpen = true;
381
- await nextTick();
382
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
383
- return;
384
- }
385
- if (childComp.value) {
386
- childComp.value.loadNodeData(props.nodeId);
387
- nodeStore.openDrawer(closeOnDrawer);
388
- }
389
- };
390
- onMounted(async () => {
391
- await nextTick();
392
- });
393
- return (_ctx, _cache) => {
394
- return openBlock(), createElementBlock("div", _hoisted_1, [
395
- createVNode(NodeButton, {
396
- ref: "nodeButton",
397
- "node-id": __props.nodeId,
398
- "image-src": "fuzzy_match.png",
399
- title: `${__props.nodeId}: Fuzzy match`,
400
- onClick: openDrawer
401
- }, null, 8, ["node-id", "title"]),
402
- drawer.value ? (openBlock(), createBlock(Teleport, {
403
- key: 0,
404
- to: "#nodesettings"
405
- }, [
406
- createVNode(NodeTitle, {
407
- title: "Fuzzy match",
408
- intro: "Match data based on string similarity"
409
- }),
410
- createVNode(joinInput, {
411
- ref_key: "childComp",
412
- ref: childComp,
413
- "node-id": __props.nodeId
414
- }, null, 8, ["node-id"])
415
- ])) : createCommentVNode("", true)
416
- ], 512);
417
- };
418
- }
419
- });
347
+ const FuzzyMatch_vue_vue_type_style_index_0_scoped_3c562315_lang = "";
348
+ const FuzzyMatch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c562315"]]);
420
349
  export {
421
- _sfc_main as default
350
+ FuzzyMatch as default
422
351
  };
@@ -1,87 +1,10 @@
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, g as createTextVNode, i as createCommentVNode, r as ref, l as computed, n as onMounted, R as nextTick, o as onUnmounted, b as resolveComponent, f as createVNode, w as withCtx, v as withModifiers, h as createBlock, a7 as Teleport } from "./index-683fc198.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-dc5e3348.js";
3
- import { G as GenericNodeSettings } from "./genericNodeSettings-def5879b.js";
4
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-a16db7c3.js";
5
- import "./designer-6c322d8e.js";
6
- const _hoisted_1$3 = ["onClick"];
7
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8
- __name: "ContextMenu",
9
- props: {
10
- position: { type: Object, required: true },
11
- options: {
12
- type: Array,
13
- required: true
14
- }
15
- },
16
- emits: ["select", "close"],
17
- setup(__props, { emit: __emit }) {
18
- const emit = __emit;
19
- const selectOption = (action) => {
20
- emit("select", action);
21
- emit("close");
22
- };
23
- return (_ctx, _cache) => {
24
- return openBlock(), createElementBlock("div", {
25
- class: "context-menu",
26
- style: normalizeStyle({ top: __props.position.y + "px", left: __props.position.x + "px" })
27
- }, [
28
- createBaseVNode("ul", null, [
29
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
30
- return openBlock(), createElementBlock("li", {
31
- key: option.action,
32
- class: normalizeClass({ disabled: option.disabled }),
33
- onClick: ($event) => !option.disabled && selectOption(option.action)
34
- }, toDisplayString(option.label), 11, _hoisted_1$3);
35
- }), 128))
36
- ])
37
- ], 4);
38
- };
39
- }
40
- });
41
- const ContextMenu_vue_vue_type_style_index_0_scoped_d0286fd2_lang = "";
42
- const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-d0286fd2"]]);
43
- const _hoisted_1$2 = { class: "listbox-wrapper" };
44
- const _hoisted_2$1 = { class: "listbox-row" };
45
- const _hoisted_3$1 = { class: "listbox-subtitle" };
46
- const _hoisted_4$1 = { class: "items-container" };
47
- const _hoisted_5$1 = {
48
- key: 0,
49
- class: "item-box"
50
- };
51
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
52
- __name: "SettingsSection",
53
- props: {
54
- title: { type: String, required: true },
55
- item: { type: String, required: true }
56
- // Changed to a single item
57
- },
58
- emits: ["removeItem"],
59
- setup(__props, { emit: __emit }) {
60
- const emit = __emit;
61
- const emitRemove = (item) => {
62
- emit("removeItem", item);
63
- };
64
- return (_ctx, _cache) => {
65
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
66
- createBaseVNode("div", _hoisted_2$1, [
67
- createBaseVNode("div", _hoisted_3$1, toDisplayString(__props.title), 1),
68
- createBaseVNode("div", _hoisted_4$1, [
69
- __props.item !== "" ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
70
- createTextVNode(toDisplayString(__props.item) + " ", 1),
71
- createBaseVNode("span", {
72
- class: "remove-btn",
73
- onClick: _cache[0] || (_cache[0] = ($event) => emitRemove(__props.item))
74
- }, "x")
75
- ])) : createCommentVNode("", true)
76
- ])
77
- ])
78
- ]);
79
- };
80
- }
81
- });
82
- const SettingsSection_vue_vue_type_style_index_0_scoped_43acf78a_lang = "";
83
- const SettingsSection = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-43acf78a"]]);
84
- const _hoisted_1$1 = {
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-5ec791df.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
3
+ import ContextMenu from "./ContextMenu-2b348c4c.js";
4
+ import SettingsSection from "./SettingsSection-5634f439.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
6
+ import "./designer-1667687d.js";
7
+ const _hoisted_1 = {
85
8
  key: 0,
86
9
  class: "listbox-wrapper"
87
10
  };
@@ -90,8 +13,8 @@ const _hoisted_3 = { class: "listbox" };
90
13
  const _hoisted_4 = ["onClick", "onContextmenu", "onDragstart", "onDrop"];
91
14
  const _hoisted_5 = { class: "listbox-wrapper" };
92
15
  const _hoisted_6 = { class: "listbox-wrapper" };
93
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
94
- __name: "graphSolver",
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ __name: "GraphSolver",
95
18
  props: { nodeId: { type: Number, required: true } },
96
19
  setup(__props, { expose: __expose }) {
97
20
  const nodeStore = useNodeStore();
@@ -206,7 +129,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
206
129
  }
207
130
  }
208
131
  dataLoaded.value = true;
209
- nodeStore.isDrawerOpen = true;
210
132
  };
211
133
  const handleClickOutside = (event) => {
212
134
  const targetEvent = event.target;
@@ -221,7 +143,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
221
143
  if (nodeGraphSolver.value) {
222
144
  nodeStore.updateSettings(nodeGraphSolver);
223
145
  }
224
- nodeStore.isDrawerOpen = false;
225
146
  };
226
147
  __expose({
227
148
  loadNodeData,
@@ -236,7 +157,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
236
157
  });
237
158
  return (_ctx, _cache) => {
238
159
  const _component_el_input = resolveComponent("el-input");
239
- return dataLoaded.value && nodeGraphSolver.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
160
+ return dataLoaded.value && nodeGraphSolver.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
240
161
  createVNode(GenericNodeSettings, {
241
162
  modelValue: nodeGraphSolver.value,
242
163
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => nodeGraphSolver.value = $event)
@@ -308,75 +229,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
308
229
  };
309
230
  }
310
231
  });
311
- const graphSolver_vue_vue_type_style_index_0_scoped_5a467b52_lang = "";
312
- const readInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5a467b52"]]);
313
- const _hoisted_1 = { ref: "el" };
314
- const _sfc_main = /* @__PURE__ */ defineComponent({
315
- __name: "GraphSolver",
316
- props: {
317
- nodeId: {
318
- type: Number,
319
- required: true
320
- }
321
- },
322
- setup(__props) {
323
- const nodeStore = useNodeStore();
324
- const childComp = ref(null);
325
- const props = __props;
326
- const drawer = ref(false);
327
- const closeOnDrawer = () => {
328
- var _a;
329
- drawer.value = false;
330
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
331
- };
332
- const openDrawer = async () => {
333
- if (nodeStore.node_id === props.nodeId) {
334
- nodeStore.openDrawer(closeOnDrawer);
335
- return;
336
- }
337
- nodeStore.closeDrawer();
338
- drawer.value = true;
339
- const drawerOpen = nodeStore.isDrawerOpen;
340
- nodeStore.isDrawerOpen = true;
341
- await nextTick();
342
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
343
- return;
344
- }
345
- if (childComp.value) {
346
- childComp.value.loadNodeData(props.nodeId);
347
- nodeStore.openDrawer(closeOnDrawer);
348
- }
349
- };
350
- onMounted(async () => {
351
- await nextTick();
352
- });
353
- return (_ctx, _cache) => {
354
- return openBlock(), createElementBlock("div", _hoisted_1, [
355
- createVNode(NodeButton, {
356
- ref: "nodeButton",
357
- "node-id": __props.nodeId,
358
- "image-src": "graph_solver.png",
359
- title: `${__props.nodeId}: Graph Solver`,
360
- onClick: openDrawer
361
- }, null, 8, ["node-id", "title"]),
362
- drawer.value ? (openBlock(), createBlock(Teleport, {
363
- key: 0,
364
- to: "#nodesettings"
365
- }, [
366
- createVNode(NodeTitle, {
367
- title: "Graph Solver",
368
- intro: "Find groups in your data"
369
- }),
370
- createVNode(readInput, {
371
- ref_key: "childComp",
372
- ref: childComp,
373
- "node-id": __props.nodeId
374
- }, null, 8, ["node-id"])
375
- ])) : createCommentVNode("", true)
376
- ], 512);
377
- };
378
- }
379
- });
232
+ const GraphSolver_vue_vue_type_style_index_0_scoped_b4673e65_lang = "";
233
+ const GraphSolver = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4673e65"]]);
380
234
  export {
381
- _sfc_main as default
235
+ GraphSolver as default
382
236
  };
@@ -0,0 +1,22 @@
1
+
2
+ .context-menu[data-v-b4673e65] {
3
+ position: fixed;
4
+ z-index: 1000;
5
+ border: 1px solid #ccc;
6
+ background-color: white;
7
+ padding: 8px;
8
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
9
+ border-radius: 4px;
10
+ }
11
+ .context-menu ul[data-v-b4673e65] {
12
+ list-style: none;
13
+ padding: 0;
14
+ margin: 0;
15
+ }
16
+ .context-menu li[data-v-b4673e65] {
17
+ padding: 8px 16px;
18
+ cursor: pointer;
19
+ }
20
+ .context-menu li[data-v-b4673e65]:hover {
21
+ background-color: #f0f0f0;
22
+ }
@@ -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-683fc198.js";
2
- import { C as CodeLoader } from "./vue-content-loader.es-ba94b82f.js";
3
- import { u as useNodeStore } from "./vue-codemirror.esm-dc5e3348.js";
4
- import { G as GenericNodeSettings } from "./genericNodeSettings-def5879b.js";
5
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-a16db7c3.js";
6
- import "./designer-6c322d8e.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-5ec791df.js";
2
+ import { C as CodeLoader } from "./vue-content-loader.es-22bac17c.js";
3
+ import { u as useNodeStore } from "./vue-codemirror.esm-b1dfaa46.js";
4
+ import { G as GenericNodeSettings } from "./genericNodeSettings-38410ebf.js";
5
+ import "./designer-1667687d.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,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
  }