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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. flowfile/__init__.py +8 -1
  2. flowfile/api.py +1 -3
  3. flowfile/web/static/assets/{CloudConnectionManager-c97c25f8.js → CloudConnectionManager-0dfba9f2.js} +2 -2
  4. flowfile/web/static/assets/{CloudStorageReader-f1ff509e.js → CloudStorageReader-d5b1b6c9.js} +11 -78
  5. flowfile/web/static/assets/{CloudStorageWriter-034f8b78.js → CloudStorageWriter-00d87aad.js} +12 -79
  6. flowfile/web/static/assets/{CloudStorageWriter-49c9a4b2.css → CloudStorageWriter-b0ee067f.css} +24 -24
  7. flowfile/web/static/assets/ColumnSelector-4685e75d.js +83 -0
  8. flowfile/web/static/assets/ColumnSelector-47996a16.css +10 -0
  9. flowfile/web/static/assets/ContextMenu-23e909da.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-70ae0c79.js +41 -0
  13. flowfile/web/static/assets/ContextMenu-c13f91d0.css +26 -0
  14. flowfile/web/static/assets/ContextMenu-f149cf7c.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-702a3edd.js} +14 -84
  17. flowfile/web/static/assets/CustomNode-74a37f74.css +32 -0
  18. flowfile/web/static/assets/CustomNode-b1519993.js +211 -0
  19. flowfile/web/static/assets/{DatabaseConnectionSettings-d5c625b3.js → DatabaseConnectionSettings-6f3e4ea5.js} +3 -3
  20. flowfile/web/static/assets/{DatabaseManager-265adc5e.js → DatabaseManager-cf5ef661.js} +2 -2
  21. flowfile/web/static/assets/{DatabaseReader-f50c6558.css → DatabaseReader-ae61773c.css} +0 -27
  22. flowfile/web/static/assets/{DatabaseReader-0b10551e.js → DatabaseReader-d38c7295.js} +14 -114
  23. flowfile/web/static/assets/{DatabaseWriter-c17c6916.js → DatabaseWriter-b04ef46a.js} +13 -74
  24. flowfile/web/static/assets/{ExploreData-5bdae813.css → ExploreData-2d0cf4db.css} +8 -14
  25. flowfile/web/static/assets/ExploreData-5fa10ed8.js +192 -0
  26. flowfile/web/static/assets/{ExternalSource-3a66556c.js → ExternalSource-d39af878.js} +8 -79
  27. flowfile/web/static/assets/{Filter-91ad87e7.js → Filter-9b6d08db.js} +12 -85
  28. flowfile/web/static/assets/{Filter-a9d08ba1.css → Filter-f62091b3.css} +3 -3
  29. flowfile/web/static/assets/{Formula-3c395ab1.js → Formula-6b04fb1d.js} +20 -87
  30. flowfile/web/static/assets/{Formula-29f19d21.css → Formula-bb96803d.css} +4 -4
  31. flowfile/web/static/assets/{FuzzyMatch-6857de82.css → FuzzyMatch-1010f966.css} +42 -42
  32. flowfile/web/static/assets/{FuzzyMatch-2df0d230.js → FuzzyMatch-999521f4.js} +16 -87
  33. flowfile/web/static/assets/{GraphSolver-d285877f.js → GraphSolver-17dd2198.js} +13 -159
  34. flowfile/web/static/assets/GraphSolver-f0cb7bfb.css +22 -0
  35. flowfile/web/static/assets/{GroupBy-0bd1cc6b.js → GroupBy-6b039e18.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-24d0f113.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-34639209.js} +11 -82
  41. flowfile/web/static/assets/MultiSelect-0e8724a3.js +5 -0
  42. flowfile/web/static/assets/MultiSelect.vue_vue_type_script_setup_true_lang-b0e538c2.js +63 -0
  43. flowfile/web/static/assets/NumericInput-3d63a470.js +5 -0
  44. flowfile/web/static/assets/NumericInput.vue_vue_type_script_setup_true_lang-e0edeccc.js +35 -0
  45. flowfile/web/static/assets/Output-283fe388.css +37 -0
  46. flowfile/web/static/assets/{Output-411ecaee.js → Output-edea9802.js} +62 -273
  47. flowfile/web/static/assets/{Pivot-89db4b04.js → Pivot-61d19301.js} +14 -138
  48. flowfile/web/static/assets/Pivot-cf333e3d.css +22 -0
  49. flowfile/web/static/assets/PivotValidation-891ddfb0.css +13 -0
  50. flowfile/web/static/assets/PivotValidation-c46cd420.css +13 -0
  51. flowfile/web/static/assets/PivotValidation-de9f43fe.js +61 -0
  52. flowfile/web/static/assets/PivotValidation-f97fec5b.js +61 -0
  53. flowfile/web/static/assets/{PolarsCode-a9f974f8.js → PolarsCode-bc3c9984.js} +13 -80
  54. flowfile/web/static/assets/Read-64a3f259.js +218 -0
  55. flowfile/web/static/assets/Read-e808b239.css +62 -0
  56. flowfile/web/static/assets/RecordCount-3d5039be.js +53 -0
  57. flowfile/web/static/assets/{RecordId-55ae7d36.js → RecordId-597510e0.js} +8 -80
  58. flowfile/web/static/assets/SQLQueryComponent-36cef432.css +27 -0
  59. flowfile/web/static/assets/SQLQueryComponent-df51adbe.js +38 -0
  60. flowfile/web/static/assets/{Sample-b4a18476.js → Sample-4be0a507.js} +8 -77
  61. flowfile/web/static/assets/{SecretManager-b066d13a.js → SecretManager-4839be57.js} +2 -2
  62. flowfile/web/static/assets/{Select-727688dc.js → Select-9b72f201.js} +11 -85
  63. flowfile/web/static/assets/SettingsSection-2e4d03c4.css +21 -0
  64. flowfile/web/static/assets/SettingsSection-5c696bee.css +20 -0
  65. flowfile/web/static/assets/SettingsSection-71e6b7e3.css +21 -0
  66. flowfile/web/static/assets/SettingsSection-7ded385d.js +45 -0
  67. flowfile/web/static/assets/{SettingsSection-695ac487.js → SettingsSection-e1e9c953.js} +2 -40
  68. flowfile/web/static/assets/SettingsSection-f0f75a42.js +53 -0
  69. flowfile/web/static/assets/SingleSelect-6c777aac.js +5 -0
  70. flowfile/web/static/assets/SingleSelect.vue_vue_type_script_setup_true_lang-33e3ff9b.js +62 -0
  71. flowfile/web/static/assets/SliderInput-7cb93e62.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-6cbde21a.js} +12 -97
  75. flowfile/web/static/assets/TextInput-d9a40c11.js +5 -0
  76. flowfile/web/static/assets/TextInput.vue_vue_type_script_setup_true_lang-5896c375.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-c4fcbf4d.js} +14 -83
  79. flowfile/web/static/assets/ToggleSwitch-4ef91d19.js +5 -0
  80. flowfile/web/static/assets/ToggleSwitch.vue_vue_type_script_setup_true_lang-38478c20.js +31 -0
  81. flowfile/web/static/assets/{UnavailableFields-8b0cb48e.js → UnavailableFields-a03f512c.js} +2 -2
  82. flowfile/web/static/assets/{Union-8d9ac7f9.css → Union-af6c3d9b.css} +6 -6
  83. flowfile/web/static/assets/Union-bfe9b996.js +77 -0
  84. flowfile/web/static/assets/{Unique-af5a80b4.js → Unique-5d023a27.js} +23 -104
  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-91cc5354.js} +12 -166
  88. flowfile/web/static/assets/UnpivotValidation-0d240eeb.css +13 -0
  89. flowfile/web/static/assets/UnpivotValidation-7ee2de44.js +51 -0
  90. flowfile/web/static/assets/{ExploreData-18a4fe52.js → VueGraphicWalker-e51b9924.js} +4 -264
  91. flowfile/web/static/assets/VueGraphicWalker-ed5ab88b.css +6 -0
  92. flowfile/web/static/assets/{api-cb00cce6.js → api-c1bad5ca.js} +1 -1
  93. flowfile/web/static/assets/{api-023d1733.js → api-cf1221f0.js} +1 -1
  94. flowfile/web/static/assets/{designer-2197d782.css → designer-8da3ba3a.css} +859 -201
  95. flowfile/web/static/assets/{designer-6c322d8e.js → designer-9633482a.js} +2297 -733
  96. flowfile/web/static/assets/{documentation-4d1fafe1.js → documentation-ca400224.js} +1 -1
  97. flowfile/web/static/assets/{dropDown-0b46dd77.js → dropDown-614b998d.js} +1 -1
  98. flowfile/web/static/assets/{fullEditor-ec4e4f95.js → fullEditor-f7971590.js} +2 -2
  99. flowfile/web/static/assets/{genericNodeSettings-def5879b.js → genericNodeSettings-4fe5f36b.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-5429bbf8.js} +208 -31
  102. flowfile/web/static/assets/nodeInput-5d0d6b79.js +41 -0
  103. flowfile/web/static/assets/outputCsv-076b85ab.js +86 -0
  104. flowfile/web/static/assets/{Output-48f81019.css → outputCsv-9cc59e0b.css} +0 -143
  105. flowfile/web/static/assets/outputExcel-0fd17dbe.js +56 -0
  106. flowfile/web/static/assets/outputExcel-b41305c0.css +102 -0
  107. flowfile/web/static/assets/outputParquet-b61e0847.js +31 -0
  108. flowfile/web/static/assets/outputParquet-cf8cf3f2.css +4 -0
  109. flowfile/web/static/assets/readCsv-a8bb8b61.js +179 -0
  110. flowfile/web/static/assets/readCsv-c767cb37.css +52 -0
  111. flowfile/web/static/assets/readExcel-67b4aee0.js +201 -0
  112. flowfile/web/static/assets/readExcel-806d2826.css +64 -0
  113. flowfile/web/static/assets/readParquet-48c81530.css +19 -0
  114. flowfile/web/static/assets/readParquet-92ce1dbc.js +23 -0
  115. flowfile/web/static/assets/{secretApi-baceb6f9.js → secretApi-68435402.js} +1 -1
  116. flowfile/web/static/assets/{selectDynamic-de91449a.js → selectDynamic-92e25ee3.js} +7 -7
  117. flowfile/web/static/assets/{selectDynamic-b062bc9b.css → selectDynamic-aa913ff4.css} +16 -16
  118. flowfile/web/static/assets/user-defined-icon-0ae16c90.png +0 -0
  119. flowfile/web/static/assets/{vue-codemirror.esm-dc5e3348.js → vue-codemirror.esm-41b0e0d7.js} +65 -36
  120. flowfile/web/static/assets/{vue-content-loader.es-ba94b82f.js → vue-content-loader.es-2c8e608f.js} +1 -1
  121. flowfile/web/static/index.html +2 -2
  122. {flowfile-0.3.9.dist-info → flowfile-0.5.1.dist-info}/METADATA +5 -3
  123. {flowfile-0.3.9.dist-info → flowfile-0.5.1.dist-info}/RECORD +191 -121
  124. {flowfile-0.3.9.dist-info → flowfile-0.5.1.dist-info}/WHEEL +1 -1
  125. {flowfile-0.3.9.dist-info → flowfile-0.5.1.dist-info}/entry_points.txt +1 -0
  126. flowfile_core/__init__.py +3 -0
  127. flowfile_core/configs/flow_logger.py +5 -13
  128. flowfile_core/configs/node_store/__init__.py +30 -0
  129. flowfile_core/configs/node_store/nodes.py +383 -99
  130. flowfile_core/configs/node_store/user_defined_node_registry.py +193 -0
  131. flowfile_core/configs/settings.py +2 -1
  132. flowfile_core/database/connection.py +5 -21
  133. flowfile_core/fileExplorer/funcs.py +239 -121
  134. flowfile_core/flowfile/analytics/analytics_processor.py +1 -0
  135. flowfile_core/flowfile/code_generator/code_generator.py +62 -64
  136. flowfile_core/flowfile/flow_data_engine/create/funcs.py +73 -56
  137. flowfile_core/flowfile/flow_data_engine/flow_data_engine.py +77 -86
  138. flowfile_core/flowfile/flow_data_engine/flow_file_column/interface.py +4 -0
  139. flowfile_core/flowfile/flow_data_engine/flow_file_column/main.py +19 -34
  140. flowfile_core/flowfile/flow_data_engine/flow_file_column/type_registry.py +36 -0
  141. flowfile_core/flowfile/flow_data_engine/fuzzy_matching/prepare_for_fuzzy_match.py +23 -23
  142. flowfile_core/flowfile/flow_data_engine/join/utils.py +1 -1
  143. flowfile_core/flowfile/flow_data_engine/join/verify_integrity.py +9 -4
  144. flowfile_core/flowfile/flow_data_engine/subprocess_operations/subprocess_operations.py +212 -86
  145. flowfile_core/flowfile/flow_data_engine/utils.py +2 -0
  146. flowfile_core/flowfile/flow_graph.py +240 -54
  147. flowfile_core/flowfile/flow_node/flow_node.py +48 -13
  148. flowfile_core/flowfile/flow_node/models.py +2 -1
  149. flowfile_core/flowfile/handler.py +24 -5
  150. flowfile_core/flowfile/manage/compatibility_enhancements.py +404 -41
  151. flowfile_core/flowfile/manage/io_flowfile.py +394 -0
  152. flowfile_core/flowfile/node_designer/__init__.py +47 -0
  153. flowfile_core/flowfile/node_designer/_type_registry.py +197 -0
  154. flowfile_core/flowfile/node_designer/custom_node.py +371 -0
  155. flowfile_core/flowfile/node_designer/ui_components.py +277 -0
  156. flowfile_core/flowfile/schema_callbacks.py +17 -10
  157. flowfile_core/flowfile/setting_generator/settings.py +15 -10
  158. flowfile_core/main.py +5 -1
  159. flowfile_core/routes/routes.py +73 -30
  160. flowfile_core/routes/user_defined_components.py +55 -0
  161. flowfile_core/schemas/cloud_storage_schemas.py +0 -2
  162. flowfile_core/schemas/input_schema.py +228 -65
  163. flowfile_core/schemas/output_model.py +5 -2
  164. flowfile_core/schemas/schemas.py +153 -35
  165. flowfile_core/schemas/transform_schema.py +1083 -412
  166. flowfile_core/schemas/yaml_types.py +103 -0
  167. flowfile_core/types.py +156 -0
  168. flowfile_core/utils/validate_setup.py +3 -1
  169. flowfile_frame/__init__.py +3 -1
  170. flowfile_frame/flow_frame.py +31 -24
  171. flowfile_frame/flow_frame_methods.py +12 -9
  172. flowfile_worker/__init__.py +9 -35
  173. flowfile_worker/create/__init__.py +3 -21
  174. flowfile_worker/create/funcs.py +68 -56
  175. flowfile_worker/create/models.py +130 -62
  176. flowfile_worker/main.py +5 -2
  177. flowfile_worker/routes.py +52 -13
  178. shared/__init__.py +15 -0
  179. shared/storage_config.py +258 -0
  180. tools/migrate/README.md +56 -0
  181. tools/migrate/__init__.py +12 -0
  182. tools/migrate/__main__.py +131 -0
  183. tools/migrate/legacy_schemas.py +621 -0
  184. tools/migrate/migrate.py +598 -0
  185. tools/migrate/tests/__init__.py +0 -0
  186. tools/migrate/tests/conftest.py +23 -0
  187. tools/migrate/tests/test_migrate.py +627 -0
  188. tools/migrate/tests/test_migration_e2e.py +1010 -0
  189. tools/migrate/tests/test_node_migrations.py +813 -0
  190. flowfile/web/static/assets/GraphSolver-17fd26db.css +0 -68
  191. flowfile/web/static/assets/Pivot-f415e85f.css +0 -35
  192. flowfile/web/static/assets/Read-80dc1675.css +0 -197
  193. flowfile/web/static/assets/Read-c3b1929c.js +0 -701
  194. flowfile/web/static/assets/RecordCount-4e95f98e.js +0 -122
  195. flowfile/web/static/assets/Union-89fd73dc.js +0 -146
  196. flowfile/web/static/assets/Unpivot-246e9bbd.css +0 -77
  197. flowfile/web/static/assets/nodeTitle-a16db7c3.js +0 -227
  198. flowfile/web/static/assets/nodeTitle-f4b12bcb.css +0 -134
  199. flowfile_core/flowfile/manage/open_flowfile.py +0 -135
  200. {flowfile-0.3.9.dist-info → flowfile-0.5.1.dist-info/licenses}/LICENSE +0 -0
  201. /flowfile_core/flowfile/manage/manage_flowfile.py → /tools/__init__.py +0 -0
@@ -0,0 +1,62 @@
1
+ import { d as defineComponent, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "component-container" };
3
+ const _hoisted_2 = { class: "listbox-subtitle" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "SingleSelect",
6
+ props: {
7
+ schema: {
8
+ type: Object,
9
+ required: true
10
+ },
11
+ modelValue: {
12
+ type: [String, Number, Object],
13
+ default: null
14
+ },
15
+ incomingColumns: {
16
+ type: Array,
17
+ default: () => []
18
+ }
19
+ },
20
+ emits: ["update:modelValue"],
21
+ setup(__props) {
22
+ const props = __props;
23
+ const options = computed(() => {
24
+ if (props.schema.options && !Array.isArray(props.schema.options) && props.schema.options.__type__ === "IncomingColumns") {
25
+ return props.incomingColumns;
26
+ }
27
+ if (Array.isArray(props.schema.options)) {
28
+ return props.schema.options;
29
+ }
30
+ return [];
31
+ });
32
+ return (_ctx, _cache) => {
33
+ const _component_el_option = resolveComponent("el-option");
34
+ const _component_el_select = resolveComponent("el-select");
35
+ return openBlock(), createElementBlock("div", _hoisted_1, [
36
+ createBaseVNode("label", _hoisted_2, toDisplayString(__props.schema.label), 1),
37
+ createVNode(_component_el_select, {
38
+ "model-value": __props.modelValue,
39
+ filterable: "",
40
+ placeholder: "Select an option",
41
+ style: { "width": "100%" },
42
+ size: "large",
43
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
44
+ }, {
45
+ default: withCtx(() => [
46
+ (openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (item) => {
47
+ return openBlock(), createBlock(_component_el_option, {
48
+ key: Array.isArray(item) ? item[0] : item,
49
+ label: Array.isArray(item) ? item[1] : item,
50
+ value: Array.isArray(item) ? item[0] : item
51
+ }, null, 8, ["label", "value"]);
52
+ }), 128))
53
+ ]),
54
+ _: 1
55
+ }, 8, ["model-value"])
56
+ ]);
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ _sfc_main as _
62
+ };
@@ -0,0 +1,40 @@
1
+ import { d as defineComponent, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "component-container" };
3
+ const _hoisted_2 = { class: "listbox-subtitle" };
4
+ const _hoisted_3 = { class: "slider-wrapper" };
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "SliderInput",
7
+ props: {
8
+ schema: {
9
+ type: Object,
10
+ required: true
11
+ },
12
+ modelValue: Number
13
+ },
14
+ emits: ["update:modelValue"],
15
+ setup(__props) {
16
+ return (_ctx, _cache) => {
17
+ const _component_el_slider = resolveComponent("el-slider");
18
+ return openBlock(), createElementBlock("div", _hoisted_1, [
19
+ createBaseVNode("label", _hoisted_2, toDisplayString(__props.schema.label), 1),
20
+ createBaseVNode("div", _hoisted_3, [
21
+ createVNode(_component_el_slider, {
22
+ "model-value": __props.modelValue,
23
+ min: __props.schema.min_value,
24
+ max: __props.schema.max_value,
25
+ step: __props.schema.step || 1,
26
+ "show-input": true,
27
+ size: "large",
28
+ style: { "width": "100%" },
29
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
30
+ }, null, 8, ["model-value", "min", "max", "step"])
31
+ ])
32
+ ]);
33
+ };
34
+ }
35
+ });
36
+ const SliderInput_vue_vue_type_style_index_0_scoped_8182875c_lang = "";
37
+ const SliderInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8182875c"]]);
38
+ export {
39
+ SliderInput as default
40
+ };
@@ -0,0 +1,4 @@
1
+
2
+ .slider-wrapper[data-v-8182875c] {
3
+ padding: 0 10px;
4
+ }
@@ -1,5 +1,5 @@
1
1
 
2
- .context-menu[data-v-f29b10dc] {
2
+ .context-menu[data-v-0177dec6] {
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-f29b10dc] {
12
+ .context-menu button[data-v-0177dec6] {
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-f29b10dc]:hover {
22
+ .context-menu button[data-v-0177dec6]:hover {
23
23
  background-color: #f0f0f0;
24
24
  }
25
- .table-wrapper[data-v-f29b10dc] {
25
+ .table-wrapper[data-v-0177dec6] {
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-f29b10dc] {
32
+ .context-menu[data-v-0177dec6] {
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-f29b10dc] {
40
+ .context-menu ul[data-v-0177dec6] {
41
41
  list-style: none;
42
42
  padding: 0;
43
43
  margin: 0;
44
44
  }
45
- .context-menu li[data-v-f29b10dc] {
45
+ .context-menu li[data-v-0177dec6] {
46
46
  padding: 8px 16px;
47
47
  cursor: pointer;
48
48
  }
49
- .context-menu li[data-v-f29b10dc]:hover {
49
+ .context-menu li[data-v-0177dec6]: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-683fc198.js";
2
- import { u as useNodeStore } from "./vue-codemirror.esm-dc5e3348.js";
3
- import { C as CodeLoader } from "./vue-content-loader.es-ba94b82f.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 = {
1
+ import { d as defineComponent, r as ref, l as computed, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, F as Fragment, q as renderList, s as normalizeClass, t as toDisplayString, i as createCommentVNode, T as normalizeStyle, v as withModifiers, h as createBlock, u as unref, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
4
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
5
+ import "./designer-9633482a.js";
6
+ const _hoisted_1 = {
8
7
  key: 0,
9
8
  class: "listbox-wrapper"
10
9
  };
@@ -22,8 +21,8 @@ const _hoisted_6 = {
22
21
  const _hoisted_7 = { class: "styled-table" };
23
22
  const _hoisted_8 = { key: 0 };
24
23
  const _hoisted_9 = ["onContextmenu"];
25
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26
- __name: "sort",
24
+ const _sfc_main = /* @__PURE__ */ defineComponent({
25
+ __name: "Sort",
27
26
  setup(__props, { expose: __expose }) {
28
27
  const nodeStore = useNodeStore();
29
28
  const showContextMenu = ref(false);
@@ -103,34 +102,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
103
102
  nodeSort.value.is_setup = true;
104
103
  }
105
104
  };
106
- const handleClickOutside = (event) => {
107
- var _a;
108
- if (!((_a = contextMenuRef.value) == null ? void 0 : _a.contains(event.target))) {
109
- showContextMenu.value = false;
110
- contextMenuColumn.value = null;
111
- showContextMenuRemove.value = false;
112
- }
113
- };
114
105
  const pushNodeData = async () => {
115
106
  nodeStore.updateSettings(nodeSort);
116
- dataLoaded.value = false;
117
- nodeStore.isDrawerOpen = false;
118
107
  };
119
108
  __expose({
120
109
  loadNodeData,
121
110
  pushNodeData
122
111
  });
123
- onMounted(async () => {
124
- await nextTick();
125
- window.addEventListener("click", handleClickOutside);
126
- });
127
- onUnmounted(() => {
128
- window.removeEventListener("click", handleClickOutside);
129
- });
130
112
  return (_ctx, _cache) => {
131
113
  const _component_el_option = resolveComponent("el-option");
132
114
  const _component_el_select = resolveComponent("el-select");
133
- return dataLoaded.value && nodeSort.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
115
+ return dataLoaded.value && nodeSort.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
134
116
  createVNode(GenericNodeSettings, {
135
117
  modelValue: nodeSort.value,
136
118
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => nodeSort.value = $event)
@@ -235,75 +217,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
235
217
  };
236
218
  }
237
219
  });
238
- const sort_vue_vue_type_style_index_0_scoped_001e3d98_lang = "";
239
- const readInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-001e3d98"]]);
240
- const _hoisted_1 = { ref: "el" };
241
- const _sfc_main = /* @__PURE__ */ defineComponent({
242
- __name: "Sort",
243
- props: {
244
- nodeId: {
245
- type: Number,
246
- required: true
247
- }
248
- },
249
- setup(__props) {
250
- const nodeStore = useNodeStore();
251
- const childComp = ref(null);
252
- const drawer = ref(false);
253
- const props = __props;
254
- const closeOnDrawer = () => {
255
- var _a;
256
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
257
- drawer.value = false;
258
- nodeStore.isDrawerOpen = false;
259
- };
260
- const openDrawer = async () => {
261
- if (nodeStore.node_id === props.nodeId) {
262
- return;
263
- }
264
- nodeStore.closeDrawer();
265
- drawer.value = true;
266
- const drawerOpen = nodeStore.isDrawerOpen;
267
- nodeStore.isDrawerOpen = true;
268
- await nextTick();
269
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
270
- return;
271
- }
272
- if (childComp.value) {
273
- childComp.value.loadNodeData(props.nodeId);
274
- nodeStore.openDrawer(closeOnDrawer);
275
- }
276
- };
277
- onMounted(async () => {
278
- await nextTick();
279
- });
280
- return (_ctx, _cache) => {
281
- return openBlock(), createElementBlock("div", _hoisted_1, [
282
- createVNode(NodeButton, {
283
- ref: "nodeButton",
284
- "node-id": __props.nodeId,
285
- "image-src": "sort.png",
286
- title: `${__props.nodeId}: Sort`,
287
- onClick: openDrawer
288
- }, null, 8, ["node-id", "title"]),
289
- drawer.value ? (openBlock(), createBlock(Teleport, {
290
- key: 0,
291
- to: "#nodesettings"
292
- }, [
293
- createVNode(NodeTitle, {
294
- title: "Sort data",
295
- intro: "Sort rows in the data based on one or more columns"
296
- }),
297
- createVNode(readInput, {
298
- ref_key: "childComp",
299
- ref: childComp,
300
- "node-id": __props.nodeId
301
- }, null, 8, ["node-id"])
302
- ])) : createCommentVNode("", true)
303
- ], 512);
304
- };
305
- }
306
- });
220
+ const Sort_vue_vue_type_style_index_0_scoped_0177dec6_lang = "";
221
+ const Sort = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0177dec6"]]);
307
222
  export {
308
- _sfc_main as default
223
+ Sort as default
309
224
  };
@@ -0,0 +1,5 @@
1
+ import { _ as _sfc_main } from "./TextInput.vue_vue_type_script_setup_true_lang-5896c375.js";
2
+ import "./index-5429bbf8.js";
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -0,0 +1,32 @@
1
+ import { d as defineComponent, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "component-container" };
3
+ const _hoisted_2 = { class: "listbox-subtitle" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "TextInput",
6
+ props: {
7
+ schema: {
8
+ type: Object,
9
+ required: true
10
+ },
11
+ modelValue: String
12
+ },
13
+ emits: ["update:modelValue"],
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ const _component_el_input = resolveComponent("el-input");
17
+ return openBlock(), createElementBlock("div", _hoisted_1, [
18
+ createBaseVNode("label", _hoisted_2, toDisplayString(__props.schema.label), 1),
19
+ createVNode(_component_el_input, {
20
+ "model-value": __props.modelValue,
21
+ placeholder: __props.schema.placeholder || "Enter value...",
22
+ clearable: "",
23
+ size: "large",
24
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
25
+ }, null, 8, ["model-value", "placeholder"])
26
+ ]);
27
+ };
28
+ }
29
+ });
30
+ export {
31
+ _sfc_main as _
32
+ };
@@ -1,48 +1,48 @@
1
1
 
2
- .selectors[data-v-bf118d5c] {
2
+ .selectors[data-v-f1232e87] {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  gap: 8px;
6
6
  }
7
- .input-wrapper[data-v-bf118d5c] {
7
+ .input-wrapper[data-v-f1232e87] {
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  gap: 4px;
11
11
  }
12
- label[data-v-bf118d5c] {
12
+ label[data-v-f1232e87] {
13
13
  font-weight: 500;
14
14
  color: #333;
15
15
  font-size: 14px;
16
16
  }
17
- input[data-v-bf118d5c] {
17
+ input[data-v-f1232e87] {
18
18
  padding: 3px;
19
19
  border: 1px solid #ccc;
20
20
  border-radius: 4px;
21
21
  font-size: 14px;
22
22
  width: 100%;
23
23
  }
24
- .row[data-v-bf118d5c] {
24
+ .row[data-v-f1232e87] {
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
28
  gap: 16px;
29
29
  }
30
- .error-msg[data-v-bf118d5c] {
30
+ .error-msg[data-v-f1232e87] {
31
31
  font-size: 13px;
32
32
  color: #ff4d4f;
33
33
  display: flex;
34
34
  align-items: center;
35
35
  gap: 6px;
36
36
  }
37
- .error-icon[data-v-bf118d5c] {
37
+ .error-icon[data-v-f1232e87] {
38
38
  margin-right: 6px;
39
39
  }
40
- .table[data-v-bf118d5c] {
40
+ .table[data-v-f1232e87] {
41
41
  padding: 12px;
42
42
  border-radius: 6px;
43
43
 
44
44
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
45
45
  }
46
- el-checkbox[data-v-bf118d5c] {
46
+ el-checkbox[data-v-f1232e87] {
47
47
  margin-top: 10px;
48
48
  }
@@ -1,12 +1,11 @@
1
- import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, g as createTextVNode, i as createCommentVNode, a5 as withDirectives, a6 as vModelText, h as createBlock, 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 { u as unavailableField } from "./UnavailableFields-8b0cb48e.js";
5
- import { G as GenericNodeSettings } from "./genericNodeSettings-def5879b.js";
6
- import { C as CodeLoader } from "./vue-content-loader.es-ba94b82f.js";
7
- import { N as NodeButton, a as NodeTitle } from "./nodeTitle-a16db7c3.js";
8
- import "./designer-6c322d8e.js";
9
- const _hoisted_1$1 = {
1
+ import { d as defineComponent, r as ref, l as computed, n as onMounted, R as nextTick, b as resolveComponent, c as openBlock, e as createElementBlock, f as createVNode, w as withCtx, p as createBaseVNode, g as createTextVNode, i as createCommentVNode, a8 as withDirectives, a9 as vModelText, h as createBlock, u as unref, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { u as useNodeStore } from "./vue-codemirror.esm-41b0e0d7.js";
3
+ import { C as ColumnSelector } from "./dropDown-614b998d.js";
4
+ import { u as unavailableField } from "./UnavailableFields-a03f512c.js";
5
+ import { G as GenericNodeSettings } from "./genericNodeSettings-4fe5f36b.js";
6
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
7
+ import "./designer-9633482a.js";
8
+ const _hoisted_1 = {
10
9
  key: 0,
11
10
  class: "listbox-wrapper"
12
11
  };
@@ -31,8 +30,8 @@ const _hoisted_9 = {
31
30
  class: "row"
32
31
  };
33
32
  const _hoisted_10 = { class: "row" };
34
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
35
- __name: "textToRows",
33
+ const _sfc_main = /* @__PURE__ */ defineComponent({
34
+ __name: "TextToRows",
36
35
  setup(__props, { expose: __expose }) {
37
36
  const containsVal = (arr, val) => {
38
37
  return arr.includes(val);
@@ -76,7 +75,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
76
75
  };
77
76
  const pushNodeData = async () => {
78
77
  isLoaded.value = false;
79
- nodeStore.isDrawerOpen = false;
80
78
  if (nodeTextToRows.value) {
81
79
  nodeTextToRows.value.is_setup = true;
82
80
  }
@@ -95,7 +93,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
95
93
  const _component_el_radio = resolveComponent("el-radio");
96
94
  const _component_el_radio_group = resolveComponent("el-radio-group");
97
95
  const _component_el_col = resolveComponent("el-col");
98
- return isLoaded.value && nodeTextToRows.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
96
+ return isLoaded.value && nodeTextToRows.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
99
97
  createVNode(GenericNodeSettings, {
100
98
  modelValue: nodeTextToRows.value,
101
99
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => nodeTextToRows.value = $event)
@@ -238,75 +236,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
238
236
  };
239
237
  }
240
238
  });
241
- const textToRows_vue_vue_type_style_index_0_scoped_bf118d5c_lang = "";
242
- const joinInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bf118d5c"]]);
243
- const _hoisted_1 = { ref: "el" };
244
- const _sfc_main = /* @__PURE__ */ defineComponent({
245
- __name: "TextToRows",
246
- props: {
247
- nodeId: {
248
- type: Number,
249
- required: true
250
- }
251
- },
252
- setup(__props) {
253
- const nodeStore = useNodeStore();
254
- const props = __props;
255
- const childComp = ref(null);
256
- const drawer = ref(false);
257
- const closeOnDrawer = () => {
258
- var _a;
259
- (_a = childComp.value) == null ? void 0 : _a.pushNodeData();
260
- drawer.value = false;
261
- nodeStore.isDrawerOpen = false;
262
- };
263
- const openDrawer = async () => {
264
- if (nodeStore.node_id === props.nodeId) {
265
- return;
266
- }
267
- nodeStore.closeDrawer();
268
- drawer.value = true;
269
- const drawerOpen = nodeStore.isDrawerOpen;
270
- nodeStore.isDrawerOpen = true;
271
- await nextTick();
272
- if (nodeStore.node_id === props.nodeId && drawerOpen) {
273
- return;
274
- }
275
- if (childComp.value) {
276
- childComp.value.loadNodeData(props.nodeId);
277
- nodeStore.openDrawer(closeOnDrawer);
278
- }
279
- };
280
- onMounted(async () => {
281
- await nextTick();
282
- });
283
- return (_ctx, _cache) => {
284
- return openBlock(), createElementBlock("div", _hoisted_1, [
285
- createVNode(NodeButton, {
286
- ref: "nodeButton",
287
- "node-id": __props.nodeId,
288
- "image-src": "text_to_rows.png",
289
- title: `${__props.nodeId}: Fuzzy match`,
290
- onClick: openDrawer
291
- }, null, 8, ["node-id", "title"]),
292
- drawer.value ? (openBlock(), createBlock(Teleport, {
293
- key: 0,
294
- to: "#nodesettings"
295
- }, [
296
- createVNode(NodeTitle, {
297
- title: "Text to rows",
298
- intro: "Split text into rows based on a delimiter"
299
- }),
300
- createVNode(joinInput, {
301
- ref_key: "childComp",
302
- ref: childComp,
303
- "node-id": __props.nodeId
304
- }, null, 8, ["node-id"])
305
- ])) : createCommentVNode("", true)
306
- ], 512);
307
- };
308
- }
309
- });
239
+ const TextToRows_vue_vue_type_style_index_0_scoped_f1232e87_lang = "";
240
+ const TextToRows = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f1232e87"]]);
310
241
  export {
311
- _sfc_main as default
242
+ TextToRows as default
312
243
  };
@@ -0,0 +1,5 @@
1
+ import { _ as _sfc_main } from "./ToggleSwitch.vue_vue_type_script_setup_true_lang-38478c20.js";
2
+ import "./index-5429bbf8.js";
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -0,0 +1,31 @@
1
+ import { d as defineComponent, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, t as toDisplayString, f as createVNode } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "component-container" };
3
+ const _hoisted_2 = { class: "listbox-subtitle" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "ToggleSwitch",
6
+ props: {
7
+ schema: {
8
+ type: Object,
9
+ required: true
10
+ },
11
+ modelValue: Boolean
12
+ },
13
+ emits: ["update:modelValue"],
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ const _component_el_switch = resolveComponent("el-switch");
17
+ return openBlock(), createElementBlock("div", _hoisted_1, [
18
+ createBaseVNode("label", _hoisted_2, toDisplayString(__props.schema.label), 1),
19
+ createVNode(_component_el_switch, {
20
+ "model-value": __props.modelValue,
21
+ size: "large",
22
+ "inline-prompt": "",
23
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
24
+ }, null, 8, ["model-value"])
25
+ ]);
26
+ };
27
+ }
28
+ });
29
+ export {
30
+ _sfc_main as _
31
+ };
@@ -1,5 +1,5 @@
1
- import { P as PopOver } from "./vue-codemirror.esm-dc5e3348.js";
2
- import { d as defineComponent, c as openBlock, h as createBlock, w as withCtx, p as createBaseVNode, t as toDisplayString, _ as _export_sfc } from "./index-683fc198.js";
1
+ import { P as PopOver } from "./vue-codemirror.esm-41b0e0d7.js";
2
+ import { d as defineComponent, c as openBlock, h as createBlock, w as withCtx, p as createBaseVNode, t as toDisplayString, _ as _export_sfc } from "./index-5429bbf8.js";
3
3
  const _hoisted_1 = { class: "icon-wrapper" };
4
4
  const _hoisted_2 = { class: "unavailable-icon" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
 
2
- .context-menu[data-v-beb191a2] {
2
+ .context-menu[data-v-5786442f] {
3
3
  position: fixed;
4
4
  z-index: 1000;
5
5
  border: 1px solid #ccc;
@@ -8,23 +8,23 @@
8
8
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
9
9
  border-radius: 4px;
10
10
  }
11
- .context-menu ul[data-v-beb191a2] {
11
+ .context-menu ul[data-v-5786442f] {
12
12
  list-style: none;
13
13
  padding: 0;
14
14
  margin: 0;
15
15
  }
16
- .context-menu li[data-v-beb191a2] {
16
+ .context-menu li[data-v-5786442f] {
17
17
  padding: 8px 16px;
18
18
  cursor: pointer;
19
19
  }
20
- .context-menu li[data-v-beb191a2]:hover {
20
+ .context-menu li[data-v-5786442f]:hover {
21
21
  background-color: #f0f0f0;
22
22
  }
23
- .switch-container[data-v-beb191a2] {
23
+ .switch-container[data-v-5786442f] {
24
24
  display: flex;
25
25
  align-items: center;
26
26
  margin: 12px;
27
27
  }
28
- .switch-container span[data-v-beb191a2] {
28
+ .switch-container span[data-v-5786442f] {
29
29
  margin-right: 10px;
30
30
  }