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,102 @@
1
+
2
+ .excel-table-settings[data-v-45248953] {
3
+ width: 100%;
4
+ max-width: 600px; /* Set a maximum width for better layout */
5
+ margin: auto; /* Center align the form */
6
+ }
7
+ .excel-table-settings label[data-v-45248953] {
8
+ display: block;
9
+ margin-bottom: 10px;
10
+ color: #333;
11
+ font-size: 16px;
12
+ font-weight: 500;
13
+ }
14
+ .excel-table-settings input[type="text"][data-v-45248953],
15
+ .excel-table-settings input[type="number"][data-v-45248953] {
16
+ width: 100%;
17
+ padding: 10px 15px;
18
+ border: 1px solid #ddd;
19
+ border-radius: 4px;
20
+ font-size: 16px;
21
+ color: #333;
22
+ background-color: #f5f5f5;
23
+ transition: background-color 0.3s ease;
24
+ }
25
+ .excel-table-settings input[type="text"][data-v-45248953]:hover,
26
+ .excel-table-settings input[type="number"][data-v-45248953]:hover {
27
+ background-color: #e4e4e4;
28
+ }
29
+ .excel-table-settings .checkbox-container[data-v-45248953] {
30
+ display: flex;
31
+ align-items: center;
32
+ margin-bottom: 10px;
33
+ }
34
+ .excel-table-settings .checkbox-label[data-v-45248953] {
35
+ margin-left: 10px;
36
+ font-size: 16px;
37
+ }
38
+ .excel-table-settings input[type="checkbox"][data-v-45248953] {
39
+ accent-color: #333; /* Customize the checkbox color */
40
+ }
41
+ .excel-table-settings button[data-v-45248953] {
42
+ padding: 10px 15px;
43
+ border: 1px solid #ddd;
44
+ border-radius: 4px;
45
+ font-size: 16px;
46
+ font-weight: 500;
47
+ color: #333;
48
+ background-color: #f5f5f5;
49
+ cursor: pointer;
50
+ transition: background-color 0.3s ease;
51
+ margin-top: 20px; /* Additional spacing above the button */
52
+ }
53
+ .excel-table-settings button[data-v-45248953]:hover {
54
+ background-color: #e4e4e4;
55
+ }
56
+ .optional-section[data-v-45248953] {
57
+ margin-top: 20px;
58
+ }
59
+ .row-inputs[data-v-45248953] {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ margin-bottom: 20px;
63
+ }
64
+ .input-group[data-v-45248953] {
65
+ display: flex;
66
+ flex-direction: column;
67
+ flex-basis: 48%; /* Adjusts the width of each group */
68
+ }
69
+ .input-group label[data-v-45248953] {
70
+ margin-bottom: 5px;
71
+ }
72
+ .input-group input[type="number"][data-v-45248953] {
73
+ padding: 10px;
74
+ border: 1px solid #ddd;
75
+ border-radius: 4px;
76
+ background-color: #f5f5f5;
77
+ }
78
+ .section-divider[data-v-45248953] {
79
+ border: none;
80
+ height: 1px;
81
+ background-color: #999999; /* Color of the divider */
82
+ margin: 20px 0; /* Spacing around the divider */
83
+ }
84
+ .checkbox-row[data-v-45248953] {
85
+ display: flex;
86
+ justify-content: space-between;
87
+ align-items: center;
88
+ margin-bottom: 20px;
89
+ }
90
+ .checkbox-group[data-v-45248953] {
91
+ display: flex;
92
+ align-items: center;
93
+ margin-bottom: 20px;
94
+ }
95
+ .checkbox-group label[data-v-45248953] {
96
+ margin-left: 10px;
97
+ font-size: 16px;
98
+ font-weight: 500;
99
+ }
100
+ .checkbox-group input[type="checkbox"][data-v-45248953] {
101
+ accent-color: #333; /* Customize the checkbox color */
102
+ }
@@ -0,0 +1,31 @@
1
+ import { d as defineComponent, r as ref, m as watch, c as openBlock, e as createElementBlock, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "parquet-table-settings" };
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "outputParquet",
5
+ props: {
6
+ modelValue: {
7
+ type: Object,
8
+ required: true
9
+ }
10
+ },
11
+ emits: ["update:modelValue"],
12
+ setup(__props, { emit: __emit }) {
13
+ const props = __props;
14
+ const localParquetTable = ref(props.modelValue);
15
+ watch(
16
+ () => props.modelValue,
17
+ (newVal) => {
18
+ localParquetTable.value = newVal;
19
+ },
20
+ { deep: true }
21
+ );
22
+ return (_ctx, _cache) => {
23
+ return openBlock(), createElementBlock("div", _hoisted_1);
24
+ };
25
+ }
26
+ });
27
+ const outputParquet_vue_vue_type_style_index_0_scoped_7db0128e_lang = "";
28
+ const ParquetTableConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7db0128e"]]);
29
+ export {
30
+ ParquetTableConfig as default
31
+ };
@@ -0,0 +1,4 @@
1
+
2
+ .parquet-table-settings button[data-v-7db0128e]:hover {
3
+ background-color: #e4e4e4;
4
+ }
@@ -0,0 +1,179 @@
1
+ import { d as defineComponent, r as ref, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, F as Fragment, q as renderList, h as createBlock, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "csv-table-settings" };
3
+ const _hoisted_2 = { class: "row" };
4
+ const _hoisted_3 = { class: "row" };
5
+ const _hoisted_4 = { class: "row" };
6
+ const _hoisted_5 = { class: "row" };
7
+ const _hoisted_6 = { class: "row" };
8
+ const _hoisted_7 = { class: "row" };
9
+ const _hoisted_8 = { class: "row" };
10
+ const _hoisted_9 = { class: "row" };
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "readCsv",
13
+ props: {
14
+ modelValue: {}
15
+ },
16
+ emits: ["update:modelValue"],
17
+ setup(__props, { emit: __emit }) {
18
+ const props = __props;
19
+ const emit = __emit;
20
+ const localCsvTable = ref({ ...props.modelValue });
21
+ const updateParent = () => {
22
+ emit("update:modelValue", localCsvTable.value);
23
+ };
24
+ const csv_settings = {
25
+ delimiter_options: [",", ";", "|", "tab"],
26
+ encoding_options: ["utf-8", "ISO-8859-1", "ASCII"],
27
+ row_delimiter: ["\\n", "\\r\\n", "\\r"],
28
+ quote_char: ['"', "'", "auto"]
29
+ };
30
+ watch(
31
+ () => props.modelValue,
32
+ (newVal) => {
33
+ localCsvTable.value = newVal;
34
+ },
35
+ { deep: true }
36
+ );
37
+ return (_ctx, _cache) => {
38
+ const _component_el_checkbox = resolveComponent("el-checkbox");
39
+ const _component_el_option = resolveComponent("el-option");
40
+ const _component_el_select = resolveComponent("el-select");
41
+ const _component_el_slider = resolveComponent("el-slider");
42
+ return openBlock(), createElementBlock("div", _hoisted_1, [
43
+ createBaseVNode("div", _hoisted_2, [
44
+ _cache[8] || (_cache[8] = createBaseVNode("label", { for: "has-headers" }, "Has Headers:", -1)),
45
+ createVNode(_component_el_checkbox, {
46
+ modelValue: localCsvTable.value.has_headers,
47
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localCsvTable.value.has_headers = $event),
48
+ size: "large",
49
+ onChange: updateParent
50
+ }, null, 8, ["modelValue"])
51
+ ]),
52
+ createBaseVNode("div", _hoisted_3, [
53
+ _cache[9] || (_cache[9] = createBaseVNode("label", { for: "delimiter" }, "Delimiter:", -1)),
54
+ createVNode(_component_el_select, {
55
+ modelValue: localCsvTable.value.delimiter,
56
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => localCsvTable.value.delimiter = $event),
57
+ placeholder: "Select delimiter",
58
+ clearable: "",
59
+ size: "small",
60
+ onChange: updateParent
61
+ }, {
62
+ default: withCtx(() => [
63
+ (openBlock(true), createElementBlock(Fragment, null, renderList(csv_settings.delimiter_options, (option) => {
64
+ return openBlock(), createBlock(_component_el_option, {
65
+ key: option,
66
+ label: option,
67
+ value: option
68
+ }, null, 8, ["label", "value"]);
69
+ }), 128))
70
+ ]),
71
+ _: 1
72
+ }, 8, ["modelValue"])
73
+ ]),
74
+ createBaseVNode("div", _hoisted_4, [
75
+ _cache[10] || (_cache[10] = createBaseVNode("label", { for: "encoding" }, "Encoding:", -1)),
76
+ createVNode(_component_el_select, {
77
+ modelValue: localCsvTable.value.encoding,
78
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => localCsvTable.value.encoding = $event),
79
+ placeholder: "Select encoding",
80
+ clearable: "",
81
+ size: "small",
82
+ onChange: updateParent
83
+ }, {
84
+ default: withCtx(() => [
85
+ (openBlock(true), createElementBlock(Fragment, null, renderList(csv_settings.encoding_options, (option) => {
86
+ return openBlock(), createBlock(_component_el_option, {
87
+ key: option,
88
+ label: option,
89
+ value: option
90
+ }, null, 8, ["label", "value"]);
91
+ }), 128))
92
+ ]),
93
+ _: 1
94
+ }, 8, ["modelValue"])
95
+ ]),
96
+ createBaseVNode("div", _hoisted_5, [
97
+ _cache[11] || (_cache[11] = createBaseVNode("label", { for: "quote-char" }, "Quote Character:", -1)),
98
+ createVNode(_component_el_select, {
99
+ modelValue: localCsvTable.value.quote_char,
100
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => localCsvTable.value.quote_char = $event),
101
+ placeholder: "Select quote character",
102
+ clearable: "",
103
+ size: "small",
104
+ onChange: updateParent
105
+ }, {
106
+ default: withCtx(() => [
107
+ (openBlock(true), createElementBlock(Fragment, null, renderList(csv_settings.quote_char, (option) => {
108
+ return openBlock(), createBlock(_component_el_option, {
109
+ key: option,
110
+ label: option,
111
+ value: option
112
+ }, null, 8, ["label", "value"]);
113
+ }), 128))
114
+ ]),
115
+ _: 1
116
+ }, 8, ["modelValue"])
117
+ ]),
118
+ createBaseVNode("div", _hoisted_6, [
119
+ _cache[12] || (_cache[12] = createBaseVNode("label", { for: "row-delimiter" }, "New Line Delimiter:", -1)),
120
+ createVNode(_component_el_select, {
121
+ modelValue: localCsvTable.value.row_delimiter,
122
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => localCsvTable.value.row_delimiter = $event),
123
+ placeholder: "Select new line delimiter",
124
+ clearable: "",
125
+ size: "small",
126
+ onChange: updateParent
127
+ }, {
128
+ default: withCtx(() => [
129
+ (openBlock(true), createElementBlock(Fragment, null, renderList(csv_settings.row_delimiter, (option) => {
130
+ return openBlock(), createBlock(_component_el_option, {
131
+ key: option,
132
+ label: option,
133
+ value: option
134
+ }, null, 8, ["label", "value"]);
135
+ }), 128))
136
+ ]),
137
+ _: 1
138
+ }, 8, ["modelValue"])
139
+ ]),
140
+ createBaseVNode("div", _hoisted_7, [
141
+ _cache[13] || (_cache[13] = createBaseVNode("label", { for: "infer-schema-length" }, "Schema Infer Length:", -1)),
142
+ createVNode(_component_el_slider, {
143
+ modelValue: localCsvTable.value.infer_schema_length,
144
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => localCsvTable.value.infer_schema_length = $event),
145
+ step: 1e3,
146
+ max: 1e5,
147
+ min: 0,
148
+ "show-stops": "",
149
+ size: "small",
150
+ onChange: updateParent
151
+ }, null, 8, ["modelValue"])
152
+ ]),
153
+ createBaseVNode("div", _hoisted_8, [
154
+ _cache[14] || (_cache[14] = createBaseVNode("label", { for: "truncate-long-lines" }, "Truncate Long Lines:", -1)),
155
+ createVNode(_component_el_checkbox, {
156
+ modelValue: localCsvTable.value.truncate_ragged_lines,
157
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => localCsvTable.value.truncate_ragged_lines = $event),
158
+ size: "large",
159
+ onChange: updateParent
160
+ }, null, 8, ["modelValue"])
161
+ ]),
162
+ createBaseVNode("div", _hoisted_9, [
163
+ _cache[15] || (_cache[15] = createBaseVNode("label", { for: "ignore-errors" }, "Ignore Errors:", -1)),
164
+ createVNode(_component_el_checkbox, {
165
+ modelValue: localCsvTable.value.ignore_errors,
166
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => localCsvTable.value.ignore_errors = $event),
167
+ size: "large",
168
+ onChange: updateParent
169
+ }, null, 8, ["modelValue"])
170
+ ])
171
+ ]);
172
+ };
173
+ }
174
+ });
175
+ const readCsv_vue_vue_type_style_index_0_scoped_86748428_lang = "";
176
+ const CsvTableConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-86748428"]]);
177
+ export {
178
+ CsvTableConfig as default
179
+ };
@@ -0,0 +1,52 @@
1
+
2
+ [data-v-86748428] {
3
+ box-sizing: border-box;
4
+ }
5
+ .csv-table-settings[data-v-86748428] {
6
+ background: #fff;
7
+ border-radius: 6px;
8
+ padding: 16px;
9
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
10
+ margin: 20px auto;
11
+ max-width: 600px;
12
+ overflow-x: hidden; /* Prevent horizontal scroll */
13
+ }
14
+ .row[data-v-86748428] {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: space-between;
18
+ margin-bottom: 12px;
19
+ gap: 20px;
20
+ max-width: 100%; /* Prevent overflow */
21
+ }
22
+ label[data-v-86748428] {
23
+ font-weight: 500;
24
+ color: #333;
25
+ font-size: 14px;
26
+ flex: 1;
27
+ max-width: 100%;
28
+ }
29
+ .el-select[data-v-86748428],
30
+ .el-slider[data-v-86748428],
31
+ .el-checkbox[data-v-86748428] {
32
+ flex: 2;
33
+ max-width: 100%; /* Prevent overflow */
34
+ }
35
+ .el-slider[data-v-86748428] {
36
+ padding-top: 10px;
37
+ }
38
+ .el-checkbox[data-v-86748428] {
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+ @media (max-width: 600px) {
43
+ .row[data-v-86748428] {
44
+ flex-direction: column;
45
+ align-items: flex-start;
46
+ }
47
+ .el-select[data-v-86748428],
48
+ .el-slider[data-v-86748428],
49
+ .el-checkbox[data-v-86748428] {
50
+ width: 100%;
51
+ }
52
+ }
@@ -0,0 +1,201 @@
1
+ import { a as axios, d as defineComponent, r as ref, l as computed, n as onMounted, m as watch, b as resolveComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, f as createVNode, w as withCtx, i as createCommentVNode, t as toDisplayString, a8 as withDirectives, a9 as vModelText, h as createBlock, u as unref, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ import { C as ColumnSelector } from "./dropDown-614b998d.js";
3
+ import { C as CodeLoader } from "./vue-content-loader.es-2c8e608f.js";
4
+ const getXlsxSheetNamesForPath = async (path) => {
5
+ const response = await axios.get(`/api/get_xlsx_sheet_names?path=${path}`);
6
+ return response.data;
7
+ };
8
+ const _hoisted_1 = { key: 0 };
9
+ const _hoisted_2 = { class: "table" };
10
+ const _hoisted_3 = {
11
+ key: 0,
12
+ class: "selectors"
13
+ };
14
+ const _hoisted_4 = { class: "row" };
15
+ const _hoisted_5 = { class: "input-wrapper" };
16
+ const _hoisted_6 = {
17
+ key: 0,
18
+ class: "warning-sign"
19
+ };
20
+ const _hoisted_7 = { class: "row" };
21
+ const _hoisted_8 = { class: "button-container" };
22
+ const _hoisted_9 = {
23
+ key: 0,
24
+ class: "optional-section"
25
+ };
26
+ const _hoisted_10 = { class: "row" };
27
+ const _hoisted_11 = { class: "input-wrapper" };
28
+ const _hoisted_12 = { class: "input-wrapper" };
29
+ const _hoisted_13 = { class: "row" };
30
+ const _hoisted_14 = { class: "input-wrapper" };
31
+ const _hoisted_15 = { class: "input-wrapper" };
32
+ const _sfc_main = /* @__PURE__ */ defineComponent({
33
+ __name: "readExcel",
34
+ props: {
35
+ modelValue: {},
36
+ path: {}
37
+ },
38
+ emits: ["update:modelValue"],
39
+ setup(__props, { emit: __emit }) {
40
+ const props = __props;
41
+ const isLoaded = ref(false);
42
+ const emit = __emit;
43
+ const localExcelTable = ref({ ...props.modelValue });
44
+ const showOptionalSettings = ref(false);
45
+ const sheetNames = ref([]);
46
+ const sheetNamesLoaded = ref(false);
47
+ const getSheetNames = async () => {
48
+ sheetNames.value = await getXlsxSheetNamesForPath(props.path);
49
+ sheetNamesLoaded.value = true;
50
+ };
51
+ const toggleOptionalSettings = () => {
52
+ showOptionalSettings.value = !showOptionalSettings.value;
53
+ };
54
+ const showWarning = computed(() => {
55
+ if (!sheetNamesLoaded.value || !localExcelTable.value.sheet_name) {
56
+ return false;
57
+ }
58
+ return !sheetNames.value.includes(localExcelTable.value.sheet_name);
59
+ });
60
+ onMounted(() => {
61
+ if (props.path) {
62
+ getSheetNames();
63
+ }
64
+ isLoaded.value = true;
65
+ });
66
+ watch(
67
+ () => localExcelTable.value,
68
+ (newValue) => {
69
+ emit("update:modelValue", { ...newValue });
70
+ },
71
+ { deep: true }
72
+ );
73
+ return (_ctx, _cache) => {
74
+ const _component_el_row = resolveComponent("el-row");
75
+ const _component_el_checkbox = resolveComponent("el-checkbox");
76
+ return isLoaded.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
77
+ createBaseVNode("div", _hoisted_2, [
78
+ localExcelTable.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
79
+ createBaseVNode("div", _hoisted_4, [
80
+ createVNode(_component_el_row, null, {
81
+ default: withCtx(() => [
82
+ createBaseVNode("div", _hoisted_5, [
83
+ _cache[7] || (_cache[7] = createBaseVNode("label", null, "Sheet Name", -1)),
84
+ createVNode(ColumnSelector, {
85
+ modelValue: localExcelTable.value.sheet_name,
86
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localExcelTable.value.sheet_name = $event),
87
+ placeholder: "Select or type sheet name",
88
+ "column-options": sheetNames.value,
89
+ "is-loading": !sheetNamesLoaded.value
90
+ }, null, 8, ["modelValue", "column-options", "is-loading"]),
91
+ showWarning.value ? (openBlock(), createElementBlock("span", _hoisted_6, "⚠️")) : createCommentVNode("", true)
92
+ ])
93
+ ]),
94
+ _: 1
95
+ })
96
+ ]),
97
+ createBaseVNode("div", _hoisted_7, [
98
+ createVNode(_component_el_checkbox, {
99
+ modelValue: localExcelTable.value.has_headers,
100
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => localExcelTable.value.has_headers = $event),
101
+ label: "Has headers",
102
+ size: "large"
103
+ }, null, 8, ["modelValue"]),
104
+ createVNode(_component_el_checkbox, {
105
+ modelValue: localExcelTable.value.type_inference,
106
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => localExcelTable.value.type_inference = $event),
107
+ label: "Type inference",
108
+ size: "large"
109
+ }, null, 8, ["modelValue"])
110
+ ]),
111
+ _cache[15] || (_cache[15] = createBaseVNode("hr", { class: "section-divider" }, null, -1)),
112
+ createBaseVNode("div", _hoisted_8, [
113
+ createBaseVNode("button", {
114
+ class: "toggle-button",
115
+ onClick: toggleOptionalSettings
116
+ }, toDisplayString(showOptionalSettings.value ? "Hide" : "Show") + " Optional Settings ", 1)
117
+ ]),
118
+ showOptionalSettings.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
119
+ _cache[12] || (_cache[12] = createBaseVNode("hr", { class: "section-divider" }, null, -1)),
120
+ _cache[13] || (_cache[13] = createBaseVNode("div", { class: "table-sizes" }, "Table sizes", -1)),
121
+ createBaseVNode("div", _hoisted_10, [
122
+ createBaseVNode("div", _hoisted_11, [
123
+ _cache[8] || (_cache[8] = createBaseVNode("label", { for: "start-row" }, "Start Row", -1)),
124
+ withDirectives(createBaseVNode("input", {
125
+ id: "start-row",
126
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => localExcelTable.value.start_row = $event),
127
+ type: "number",
128
+ class: "compact-input"
129
+ }, null, 512), [
130
+ [
131
+ vModelText,
132
+ localExcelTable.value.start_row,
133
+ void 0,
134
+ { number: true }
135
+ ]
136
+ ])
137
+ ]),
138
+ createBaseVNode("div", _hoisted_12, [
139
+ _cache[9] || (_cache[9] = createBaseVNode("label", { for: "end-row" }, "End Row", -1)),
140
+ withDirectives(createBaseVNode("input", {
141
+ id: "end-row",
142
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => localExcelTable.value.end_row = $event),
143
+ type: "number",
144
+ class: "compact-input"
145
+ }, null, 512), [
146
+ [
147
+ vModelText,
148
+ localExcelTable.value.end_row,
149
+ void 0,
150
+ { number: true }
151
+ ]
152
+ ])
153
+ ])
154
+ ]),
155
+ _cache[14] || (_cache[14] = createBaseVNode("hr", { class: "section-divider" }, null, -1)),
156
+ createBaseVNode("div", _hoisted_13, [
157
+ createBaseVNode("div", _hoisted_14, [
158
+ _cache[10] || (_cache[10] = createBaseVNode("label", { for: "start-column" }, "Start Column", -1)),
159
+ withDirectives(createBaseVNode("input", {
160
+ id: "start-column",
161
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => localExcelTable.value.start_column = $event),
162
+ type: "number",
163
+ class: "compact-input"
164
+ }, null, 512), [
165
+ [
166
+ vModelText,
167
+ localExcelTable.value.start_column,
168
+ void 0,
169
+ { number: true }
170
+ ]
171
+ ])
172
+ ]),
173
+ createBaseVNode("div", _hoisted_15, [
174
+ _cache[11] || (_cache[11] = createBaseVNode("label", { for: "end-column" }, "End Column", -1)),
175
+ withDirectives(createBaseVNode("input", {
176
+ id: "end-column",
177
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => localExcelTable.value.end_column = $event),
178
+ type: "number",
179
+ class: "compact-input"
180
+ }, null, 512), [
181
+ [
182
+ vModelText,
183
+ localExcelTable.value.end_column,
184
+ void 0,
185
+ { number: true }
186
+ ]
187
+ ])
188
+ ])
189
+ ])
190
+ ])) : createCommentVNode("", true)
191
+ ])) : createCommentVNode("", true)
192
+ ])
193
+ ])) : (openBlock(), createBlock(unref(CodeLoader), { key: 1 }));
194
+ };
195
+ }
196
+ });
197
+ const readExcel_vue_vue_type_style_index_0_scoped_13a180bf_lang = "";
198
+ const ExcelTableConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-13a180bf"]]);
199
+ export {
200
+ ExcelTableConfig as default
201
+ };
@@ -0,0 +1,64 @@
1
+
2
+ .selectors[data-v-13a180bf] {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 12px;
6
+ }
7
+ .input-wrapper[data-v-13a180bf] {
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: 4px;
11
+ flex: 1;
12
+ }
13
+ label[data-v-13a180bf] {
14
+ font-weight: 500;
15
+ color: #333;
16
+ font-size: 14px;
17
+ }
18
+ input[data-v-13a180bf] {
19
+ padding: 6px;
20
+ border: 1px solid #ccc;
21
+ border-radius: 4px;
22
+ font-size: 14px;
23
+ width: 99%;
24
+ }
25
+ .row[data-v-13a180bf] {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: space-between;
29
+ gap: 16px;
30
+ }
31
+ .compact-input[data-v-13a180bf] {
32
+ width: 96%;
33
+ padding: 6px;
34
+ font-size: 14px;
35
+ border: 1px solid #ccc;
36
+ border-radius: 4px;
37
+ }
38
+ .button-container[data-v-13a180bf] {
39
+ display: flex;
40
+ justify-content: center;
41
+ margin: 16px 0;
42
+ }
43
+ .optional-section[data-v-13a180bf] {
44
+ margin-top: 20px;
45
+ }
46
+ .section-divider[data-v-13a180bf] {
47
+ margin: 16px 0;
48
+ border: none;
49
+ border-top: 1px solid #ddd;
50
+ }
51
+ .table-sizes[data-v-13a180bf] {
52
+ font-weight: bold;
53
+ margin-bottom: 10px;
54
+ }
55
+ .warning-sign[data-v-13a180bf] {
56
+ color: #e74c3c;
57
+ font-size: 16px;
58
+ margin-left: 8px;
59
+ }
60
+ @media (max-width: 600px) {
61
+ .row[data-v-13a180bf] {
62
+ flex-direction: column;
63
+ }
64
+ }
@@ -0,0 +1,19 @@
1
+
2
+ .parquet-table-settings[data-v-6f7c2759] {
3
+ background: #f9fafb;
4
+ border-radius: 8px;
5
+ padding: 20px;
6
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
7
+ max-width: 600px;
8
+ margin: 20px auto;
9
+ text-align: center; /* Center the text */
10
+ }
11
+ .message h2[data-v-6f7c2759] {
12
+ font-size: 24px;
13
+ color: #3498db;
14
+ margin-bottom: 10px;
15
+ }
16
+ .message p[data-v-6f7c2759] {
17
+ font-size: 16px;
18
+ color: #333;
19
+ }
@@ -0,0 +1,23 @@
1
+ import { d as defineComponent, c as openBlock, e as createElementBlock, p as createBaseVNode, _ as _export_sfc } from "./index-5429bbf8.js";
2
+ const _hoisted_1 = { class: "parquet-table-settings" };
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "readParquet",
5
+ props: {
6
+ modelValue: {}
7
+ },
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("div", _hoisted_1, _cache[0] || (_cache[0] = [
11
+ createBaseVNode("div", { class: "message" }, [
12
+ createBaseVNode("h2", null, "You are ready to flow!"),
13
+ createBaseVNode("p", null, "Your Parquet table setup is complete. Enjoy the smooth data processing experience.")
14
+ ], -1)
15
+ ]));
16
+ };
17
+ }
18
+ });
19
+ const readParquet_vue_vue_type_style_index_0_scoped_6f7c2759_lang = "";
20
+ const ParquetTableConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6f7c2759"]]);
21
+ export {
22
+ ParquetTableConfig as default
23
+ };
@@ -1,4 +1,4 @@
1
- import { a as axios } from "./index-683fc198.js";
1
+ import { a as axios } from "./index-5429bbf8.js";
2
2
  const API_BASE_URL = "/secrets/secrets";
3
3
  const fetchSecretsApi = async () => {
4
4
  try {