@knime/scripting-editor 0.0.127 → 0.0.129
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.
- package/dist/{AnyOfTwinlist-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js} +5 -4
- package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-C2-4wxkT.js} +39 -39
- package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-Dga3IomB.js} +26 -26
- package/dist/CheckboxControl-B8b1Di4k-CEkOsWEu.js +40 -0
- package/dist/CheckboxesControl-DWUnPGdN-BOSX_stf.js +42 -0
- package/dist/CodeEditorControl-CN4ltMvy.js +133 -0
- package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-ByE5ku7u-C12pZ0rg.js} +10 -8
- package/dist/ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js +89 -0
- package/dist/ComboBoxControl-zSceYlyZ-BgpAi7q9.js +42 -0
- package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-B27grebd.js} +3 -3
- package/dist/ControlWithSubParameters-ROJGaqDF.js +63 -0
- package/dist/CredentialsControl-B6jczlBv.js +33 -0
- package/dist/CredentialsControlBase-CdNdAngd.js +96 -0
- package/dist/DateControl-BBGpEVpr-yZP_TZnE.js +44 -0
- package/dist/DateTimeControl-CymOURq5-Ca0mT1HW.js +89 -0
- package/dist/DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js +37 -0
- package/dist/DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js +598 -0
- package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BmT2YlVn.js} +2 -2
- package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-BG451zZD.js} +10 -10
- package/dist/DropdownControl-C6ffVYyf-hy0i8nDV.js +32 -0
- package/dist/DynamicInputControl-W23Zexge.js +6 -0
- package/dist/ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js +51 -0
- package/dist/ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js +44 -0
- package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-BBbay7zU.js} +4 -3
- package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-DpYYK3eE.js} +147 -143
- package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-6NLYZKbt.js} +5 -4
- package/dist/FileUploadControl-DWs4PhOj-BvByW-Tq.js +545 -0
- package/dist/GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js +117 -0
- package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-ByB5A7X3-BURAMMFG.js} +5 -5
- package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-aveswmbr-50_b6vGY.js} +5 -4
- package/dist/IntervalControl-B4Eqs1Jf-CiB2D52B.js +51 -0
- package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-BONZ_GLo.js} +3 -3
- package/dist/LegacyCredentialsControl-DaIrvNBd.js +88 -0
- package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DD56lOiw-CDy6OBu8.js} +10 -10
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js} +1 -1
- package/dist/ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js +77 -0
- package/dist/MultiFileChooserControl-cyndOpF7.js +341 -0
- package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-Db-W_o1f.js} +1 -1
- package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js} +10 -9
- package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js} +64 -62
- package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DBMVmZmk-DnB-5f39.js} +7 -6
- package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-BPVO5l6t--nrQcx4m.js} +8 -7
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js +54 -0
- package/dist/OneOfDropdown-DBG8ZcpV-cZs_ptrT.js +36 -0
- package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js} +17 -17
- package/dist/RadioControl-ClJmr0EQ-BzjoXaZ3.js +21 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js +64 -0
- package/dist/ResourceControlBase-CeXYJeR1-DSmxhV0s.js +113 -0
- package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DvYkBpzH-CtMZq2re.js} +7876 -6699
- package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-CwRO3UXc-d5rFpCRN.js} +5 -5
- package/dist/SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js +64 -0
- package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-BSON5VYy-BaAaU86G.js} +7 -6
- package/dist/SingleSelectControl-BSqORMYm-CBP_mVGB.js +58 -0
- package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js} +14 -13
- package/dist/{SortListControl-4v3T2j_9-BkTlN-H5.js → SortListControl-DZIHeQmn-CKRyT1hN.js} +41 -39
- package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-Br8gZTku.js} +33 -30
- package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem--sgmJ3W_-Bo6f-_9B.js} +1 -1
- package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js} +21 -20
- package/dist/TeamResourceControl-Bag_dwA1-PdtnhxEi.js +44 -0
- package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-B52P0DAa-McfOgZWn.js} +10 -8
- package/dist/TextControl-52n-sttB-DssWw4KP.js +50962 -0
- package/dist/TimeControl-Cu12_qpz-CK1bxhya.js +71 -0
- package/dist/TimeframesControl-DhdC8OS1-DYseJbBV.js +352 -0
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js +45 -0
- package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-zJOICQei-B-5z8atp.js} +7 -6
- package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-CEVWJH7z-DzuxqLvy.js} +7 -6
- package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-DyTZ5EJ9.js} +24 -24
- package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-D_13xb_m-BfU1M3IE.js} +7 -7
- package/dist/ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js +82 -0
- package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
- package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
- package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
- package/dist/collection-BBXRVj4b-DzRZ2FYd-COyFmQqa.js +22 -0
- package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
- package/dist/main.js +9977 -13304
- package/dist/parameters.js +1 -1
- package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
- package/dist/src/components/SettingsPage.vue.d.ts +5 -4
- package/dist/src/scripting-service.d.ts +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
- package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-CLdJ1RU1.js} +6 -6
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
- package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-DiYOmnZW-CaSLjdK-.js} +4 -4
- package/package.json +3 -3
- package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
- package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
- package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
- package/dist/ColorPreviewControl-CntI0nTL-qVTX4e1m.js +0 -89
- package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
- package/dist/ControlWithSubParameters-DgJhqCMe.js +0 -80
- package/dist/CredentialsControl-CuHgBJQY.js +0 -32
- package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
- package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
- package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
- package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
- package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
- package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
- package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
- package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
- package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
- package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
- package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
- package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
- package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
- package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
- package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
- package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
- package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
- package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
- package/dist/SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js +0 -70
- package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
- package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
- package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
- package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
- package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
- package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
- package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js +0 -42
- package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
- package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
- package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
- package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
- package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
- package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
- package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
- package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
- package/dist/src/lsp/completion.d.ts +0 -7
- package/dist/src/lsp/connection.d.ts +0 -56
- package/dist/src/lsp/diagnostics.d.ts +0 -4
- package/dist/src/lsp/doc-sync.d.ts +0 -5
- package/dist/src/lsp/hover.d.ts +0 -5
- package/dist/src/lsp/knime-io.d.ts +0 -22
- package/dist/src/lsp/mapping-utils.d.ts +0 -8
- package/dist/src/lsp/signature-help.d.ts +0 -5
- package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
- package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
- /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { a as X, b as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as x, toRef as B, ref as S, computed as m, onMounted as Z, watch as M, createBlock as V, openBlock as g, unref as u, createElementBlock as O, createElementVNode as R, createVNode as I, toDisplayString as me, createPropsRestProxy as fe, Fragment as q, createCommentVNode as J, h as $, withCtx as ve, isRef as he, resolveDynamicComponent as Ce } from "vue";
|
|
2
|
+
import { t as K, N as W, aa as Q, aw as be, ax as ge, I as ye, l as Te, m as Se } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { a as Y, G as we, W as Fe, D as Ee, u as Ue, _ as Ve } from "./DialogFileExplorer-BmT2YlVn.js";
|
|
4
|
+
import { a as X, b as ke, g as ee, u as _e } from "./useFileChooserBackend-CLdJ1RU1.js";
|
|
5
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const te = (r, t, o) => {
|
|
7
7
|
const a = K(o, "connectedFSOptions");
|
|
8
8
|
return { onPathUpdate: (v) => {
|
|
@@ -19,27 +19,28 @@ const te = (r, t, o) => {
|
|
|
19
19
|
}, onFsCategoryUpdate: (v) => {
|
|
20
20
|
t(W(r.value, { fsCategory: v }));
|
|
21
21
|
} };
|
|
22
|
-
}, oe = /^[A-Za-z0-9]+:\/\//, ae = "knime://knime.space/", le = "knime://knime.workflow/", ne = "knime://knime.workflow/data/",
|
|
22
|
+
}, oe = /^[A-Za-z0-9]+:\/\//, ae = "knime://knime.space/", le = "knime://knime.workflow/", ne = "knime://knime.workflow/data/", xe = [
|
|
23
23
|
["relative-to-current-hubspace", ae],
|
|
24
24
|
["relative-to-embedded-data", ne],
|
|
25
25
|
// check before workflow!
|
|
26
26
|
["relative-to-workflow", le]
|
|
27
|
-
],
|
|
27
|
+
], Pe = /* @__PURE__ */ x({
|
|
28
28
|
__name: "FSLocationTextControl",
|
|
29
29
|
props: {
|
|
30
30
|
modelValue: {},
|
|
31
31
|
disabled: { type: Boolean },
|
|
32
32
|
options: {},
|
|
33
|
-
|
|
33
|
+
error: { type: Boolean },
|
|
34
|
+
subText: {}
|
|
34
35
|
},
|
|
35
36
|
emits: ["update:modelValue"],
|
|
36
37
|
setup(r, { expose: t, emit: o }) {
|
|
37
|
-
const a = r, i = o, { isConnected:
|
|
38
|
-
filteredExtensions:
|
|
38
|
+
const a = r, i = o, { isConnected: n, isLocal: p } = X(B(a, "options")), { getFilePath: v } = ke({
|
|
39
|
+
filteredExtensions: S([]),
|
|
39
40
|
// only relevant for browsing
|
|
40
|
-
appendedExtension:
|
|
41
|
+
appendedExtension: S(null),
|
|
41
42
|
// We do not wish to append anything here, since the user should be able to manually access any file
|
|
42
|
-
isWriter:
|
|
43
|
+
isWriter: S(!1),
|
|
43
44
|
// only relevant for browsing
|
|
44
45
|
backendType: m(
|
|
45
46
|
() => {
|
|
@@ -52,41 +53,41 @@ const te = (r, t, o) => {
|
|
|
52
53
|
)
|
|
53
54
|
}), f = async (e) => {
|
|
54
55
|
var y;
|
|
55
|
-
if (!
|
|
56
|
+
if (!n.value && e.fsCategory === "relative-to-current-hubspace")
|
|
56
57
|
return ae + e.path;
|
|
57
|
-
if (!
|
|
58
|
+
if (!n.value && e.fsCategory === "relative-to-workflow")
|
|
58
59
|
return le + e.path;
|
|
59
|
-
if (!
|
|
60
|
+
if (!n.value && e.fsCategory === "relative-to-embedded-data")
|
|
60
61
|
return ne + e.path;
|
|
61
|
-
if (!
|
|
62
|
+
if (!n.value && e.fsCategory === "CUSTOM_URL")
|
|
62
63
|
return e.path;
|
|
63
|
-
if (!
|
|
64
|
+
if (!n.value && e.fsCategory === "LOCAL") {
|
|
64
65
|
if (e.path === "")
|
|
65
66
|
return "";
|
|
66
|
-
const { path:
|
|
67
|
+
const { path: l, errorMessage: T } = await v(
|
|
67
68
|
null,
|
|
68
69
|
e.path,
|
|
69
70
|
null
|
|
70
71
|
);
|
|
71
|
-
return
|
|
72
|
+
return T ? e.path : l || "";
|
|
72
73
|
}
|
|
73
|
-
return
|
|
74
|
-
}, c =
|
|
75
|
-
|
|
74
|
+
return n.value && e.fsCategory === "CONNECTED" ? e.path : ((y = e.context) == null ? void 0 : y.fsToString) ?? "";
|
|
75
|
+
}, c = S(null), h = S(""), C = S(!1);
|
|
76
|
+
Z(() => {
|
|
76
77
|
d();
|
|
77
78
|
});
|
|
78
79
|
const d = async () => {
|
|
79
80
|
h.value = await f(a.modelValue);
|
|
80
81
|
};
|
|
81
|
-
|
|
82
|
+
M(
|
|
82
83
|
() => a.modelValue,
|
|
83
84
|
() => {
|
|
84
85
|
C.value || d();
|
|
85
86
|
}
|
|
86
87
|
);
|
|
87
88
|
const w = (e) => {
|
|
88
|
-
var
|
|
89
|
-
if (
|
|
89
|
+
var l;
|
|
90
|
+
if (n.value)
|
|
90
91
|
return {
|
|
91
92
|
fsCategory: "CONNECTED",
|
|
92
93
|
path: e,
|
|
@@ -94,14 +95,14 @@ const te = (r, t, o) => {
|
|
|
94
95
|
context: {
|
|
95
96
|
fsToString: "",
|
|
96
97
|
// won't be used in case of isConnected = true
|
|
97
|
-
fsSpecifier: (
|
|
98
|
+
fsSpecifier: (l = a.options.connectedFSOptions) == null ? void 0 : l.fileSystemSpecifier
|
|
98
99
|
}
|
|
99
100
|
};
|
|
100
|
-
for (const [
|
|
101
|
-
if (e.startsWith(
|
|
101
|
+
for (const [T, U] of xe)
|
|
102
|
+
if (e.startsWith(U))
|
|
102
103
|
return {
|
|
103
|
-
fsCategory:
|
|
104
|
-
path: e.replace(
|
|
104
|
+
fsCategory: T,
|
|
105
|
+
path: e.replace(U, ""),
|
|
105
106
|
timeout: a.modelValue.timeout
|
|
106
107
|
};
|
|
107
108
|
const y = p.value ? "LOCAL" : "relative-to-current-hubspace";
|
|
@@ -112,9 +113,9 @@ const te = (r, t, o) => {
|
|
|
112
113
|
};
|
|
113
114
|
}, F = (e) => {
|
|
114
115
|
h.value = e, i("update:modelValue", w(e));
|
|
115
|
-
},
|
|
116
|
+
}, E = () => {
|
|
116
117
|
C.value = !0;
|
|
117
|
-
},
|
|
118
|
+
}, P = () => {
|
|
118
119
|
C.value = !1, d();
|
|
119
120
|
};
|
|
120
121
|
return t({
|
|
@@ -122,20 +123,21 @@ const te = (r, t, o) => {
|
|
|
122
123
|
var e;
|
|
123
124
|
return (e = c.value) == null ? void 0 : e.focus();
|
|
124
125
|
}
|
|
125
|
-
}), (e, y) => (
|
|
126
|
+
}), (e, y) => (g(), V(u(Q), {
|
|
126
127
|
ref_key: "textInputRef",
|
|
127
128
|
ref: c,
|
|
128
129
|
"model-value": h.value,
|
|
129
130
|
disabled: e.disabled,
|
|
130
131
|
placeholder: e.options.placeholder,
|
|
131
|
-
error:
|
|
132
|
+
error: e.error,
|
|
133
|
+
"sub-text": e.subText,
|
|
132
134
|
ariaLabel: "File path",
|
|
133
135
|
"onUpdate:modelValue": F,
|
|
134
|
-
onFocus:
|
|
135
|
-
onBlur:
|
|
136
|
-
}, null, 8, ["model-value", "disabled", "placeholder", "error"]));
|
|
136
|
+
onFocus: E,
|
|
137
|
+
onBlur: P
|
|
138
|
+
}, null, 8, ["model-value", "disabled", "placeholder", "error", "sub-text"]));
|
|
137
139
|
}
|
|
138
|
-
}),
|
|
140
|
+
}), De = {
|
|
139
141
|
xmlns: "http://www.w3.org/2000/svg",
|
|
140
142
|
fill: "none",
|
|
141
143
|
stroke: "#000",
|
|
@@ -143,22 +145,22 @@ const te = (r, t, o) => {
|
|
|
143
145
|
viewBox: "0 0 32 32"
|
|
144
146
|
};
|
|
145
147
|
function Ne(r, t) {
|
|
146
|
-
return
|
|
147
|
-
|
|
148
|
+
return g(), O("svg", De, t[0] || (t[0] = [
|
|
149
|
+
R("path", { d: "M13.2 6.2c-3.8 2.1-5.1 7-3 10.8s7 5.1 10.8 3l4.4-2.6-7.8-13.7zm6.9 1.9 5.7-3.2m-2.9 8.2 5.7-3.2M10.2 17c-1.9 1.1-7.3 1.8-5.1 5.9s-1.7 5.4-1.7 5.4" }, null, -1)
|
|
148
150
|
]));
|
|
149
151
|
}
|
|
150
|
-
const
|
|
152
|
+
const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
151
153
|
__name: "ConnectionPreventsTab",
|
|
152
154
|
props: {
|
|
153
155
|
browseAction: {}
|
|
154
156
|
},
|
|
155
157
|
setup(r) {
|
|
156
|
-
return (t, o) => (
|
|
157
|
-
|
|
158
|
-
|
|
158
|
+
return (t, o) => (g(), O("div", Oe, [
|
|
159
|
+
I(u(Ie), { class: "icon" }),
|
|
160
|
+
R("span", null, "Remove the file system input port in order to " + me(t.browseAction) + ".", 1)
|
|
159
161
|
]));
|
|
160
162
|
}
|
|
161
|
-
}),
|
|
163
|
+
}), Me = /* @__PURE__ */ A(Be, [["__scopeId", "data-v-d064fa5b"]]), Re = /* @__PURE__ */ x({
|
|
162
164
|
__name: "CustomUrlFileChooser",
|
|
163
165
|
props: {
|
|
164
166
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -169,8 +171,8 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
169
171
|
emits: ["update:path", "update:timeout"],
|
|
170
172
|
setup(r, { emit: t }) {
|
|
171
173
|
const o = fe(r, ["disabled", "urlErrorMessage"]), a = t;
|
|
172
|
-
return (i,
|
|
173
|
-
|
|
174
|
+
return (i, n) => (g(), O(q, null, [
|
|
175
|
+
I(u(Q), {
|
|
174
176
|
id: o.id ?? void 0,
|
|
175
177
|
class: "url-input",
|
|
176
178
|
ariaLabel: "URL",
|
|
@@ -181,20 +183,20 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
181
183
|
"model-value": i.modelValue.path,
|
|
182
184
|
autocomplete: "off",
|
|
183
185
|
placeholder: "URL",
|
|
184
|
-
"onUpdate:modelValue":
|
|
186
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => a("update:path", p))
|
|
185
187
|
}, null, 8, ["id", "error", "sub-text", "disabled", "model-value"]),
|
|
186
|
-
|
|
188
|
+
I(u(be), {
|
|
187
189
|
label: "Timeout",
|
|
188
190
|
min: 0,
|
|
189
191
|
step: 1,
|
|
190
192
|
disabled: i.disabled,
|
|
191
193
|
"model-value": i.modelValue.timeout,
|
|
192
194
|
unit: "ms",
|
|
193
|
-
"onUpdate:modelValue":
|
|
195
|
+
"onUpdate:modelValue": n[1] || (n[1] = (p) => a("update:timeout", p))
|
|
194
196
|
}, null, 8, ["disabled", "model-value"])
|
|
195
197
|
], 64));
|
|
196
198
|
}
|
|
197
|
-
}),
|
|
199
|
+
}), Ae = /* @__PURE__ */ A(Re, [["__scopeId", "data-v-f3f673d7"]]), Le = /* @__PURE__ */ x({
|
|
198
200
|
__name: "UrlTab",
|
|
199
201
|
props: {
|
|
200
202
|
modelValue: {},
|
|
@@ -202,26 +204,26 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
202
204
|
},
|
|
203
205
|
emits: ["update:path", "update:timeout"],
|
|
204
206
|
setup(r, { emit: t }) {
|
|
205
|
-
const o = r, a = t, { text: i, disabled:
|
|
207
|
+
const o = r, a = t, { text: i, disabled: n, onApply: p } = Y(), { shown: v } = Y(
|
|
206
208
|
we
|
|
207
209
|
);
|
|
208
|
-
|
|
210
|
+
Z(() => {
|
|
209
211
|
i.value = "Set Url", v.value = !1, p.value = () => Promise.resolve();
|
|
210
212
|
});
|
|
211
213
|
const f = m(
|
|
212
214
|
() => oe.test(o.modelValue.path)
|
|
213
215
|
);
|
|
214
|
-
|
|
216
|
+
M(
|
|
215
217
|
() => f.value,
|
|
216
218
|
(h) => {
|
|
217
|
-
|
|
219
|
+
n.value = !h;
|
|
218
220
|
},
|
|
219
221
|
{ immediate: !0 }
|
|
220
222
|
);
|
|
221
223
|
const c = m(
|
|
222
224
|
() => f.value ? null : 'The url needs to start with a scheme (e.g. "https://")'
|
|
223
225
|
);
|
|
224
|
-
return (h, C) => (
|
|
226
|
+
return (h, C) => (g(), V(Ae, {
|
|
225
227
|
id: h.id,
|
|
226
228
|
"model-value": h.modelValue,
|
|
227
229
|
"url-error-message": c.value,
|
|
@@ -233,7 +235,7 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
233
235
|
backendType: r,
|
|
234
236
|
modelValue: t
|
|
235
237
|
}) => {
|
|
236
|
-
const o = t.value.fsCategory === "CUSTOM_URL" ? "CUSTOM_URL" : r.value, a =
|
|
238
|
+
const o = t.value.fsCategory === "CUSTOM_URL" ? "CUSTOM_URL" : r.value, a = S({
|
|
237
239
|
[o]: t.value.path
|
|
238
240
|
});
|
|
239
241
|
return {
|
|
@@ -244,7 +246,7 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
244
246
|
a.value[r.value] = p ?? "";
|
|
245
247
|
}
|
|
246
248
|
};
|
|
247
|
-
}, We = { class: "flex" }, Ke = { class: "flex-grow" }, ze = /* @__PURE__ */
|
|
249
|
+
}, We = { class: "flex" }, Ke = { class: "flex-grow" }, ze = /* @__PURE__ */ x({
|
|
248
250
|
__name: "SideDrawerContent",
|
|
249
251
|
props: {
|
|
250
252
|
modelValue: {},
|
|
@@ -254,7 +256,7 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
254
256
|
},
|
|
255
257
|
emits: ["update:modelValue", "applyAndClose"],
|
|
256
258
|
setup(r, { emit: t }) {
|
|
257
|
-
const o = r, a = t, i = B(o, "uischema"), { onFsCategoryUpdate:
|
|
259
|
+
const o = r, a = t, i = B(o, "uischema"), { onFsCategoryUpdate: n, onPathUpdate: p, onTimeoutUpdate: v } = te(
|
|
258
260
|
B(o, "modelValue"),
|
|
259
261
|
(s) => {
|
|
260
262
|
a("update:modelValue", s);
|
|
@@ -271,48 +273,48 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
271
273
|
isLocal: d,
|
|
272
274
|
isLoaded: w,
|
|
273
275
|
tabsCanBeRendered: F,
|
|
274
|
-
spacePath:
|
|
275
|
-
mountId:
|
|
276
|
+
spacePath: E,
|
|
277
|
+
mountId: P,
|
|
276
278
|
relativeWorkflowPath: e,
|
|
277
279
|
isConnected: y,
|
|
278
|
-
portFileSystemName:
|
|
279
|
-
portIndex:
|
|
280
|
-
fileSystems:
|
|
281
|
-
} =
|
|
280
|
+
portFileSystemName: l,
|
|
281
|
+
portIndex: T,
|
|
282
|
+
fileSystems: U
|
|
283
|
+
} = _e(i), k = (s, b, _) => ({
|
|
282
284
|
id: `file-chooser-${o.id}-tab-${s}`,
|
|
283
285
|
value: s,
|
|
284
|
-
label:
|
|
286
|
+
label: b,
|
|
285
287
|
panelId: `file-chooser-${o.id}-panel-${s}`,
|
|
286
|
-
accessory: { type: "icon", name:
|
|
287
|
-
}),
|
|
288
|
-
...
|
|
288
|
+
accessory: { type: "icon", name: _ }
|
|
289
|
+
}), D = (s, b) => s ? [b] : [], se = m(() => [
|
|
290
|
+
...D(
|
|
289
291
|
y.value,
|
|
290
|
-
|
|
292
|
+
k("CONNECTED", l.value, "connection")
|
|
291
293
|
),
|
|
292
|
-
...
|
|
294
|
+
...D(
|
|
293
295
|
d.value,
|
|
294
|
-
|
|
296
|
+
k("LOCAL", "Local file system", "local-filesystem")
|
|
295
297
|
),
|
|
296
|
-
...
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
...D(
|
|
299
|
+
U.value.includes("SPACE"),
|
|
300
|
+
k(
|
|
299
301
|
"SPACE",
|
|
300
|
-
|
|
302
|
+
P.value,
|
|
301
303
|
d.value ? "space-local" : "cloud-knime"
|
|
302
304
|
)
|
|
303
305
|
),
|
|
304
|
-
...
|
|
305
|
-
|
|
306
|
-
|
|
306
|
+
...D(
|
|
307
|
+
U.value.includes("EMBEDDED"),
|
|
308
|
+
k("EMBEDDED", "Embedded data", "folder")
|
|
307
309
|
),
|
|
308
|
-
...
|
|
309
|
-
|
|
310
|
-
|
|
310
|
+
...D(
|
|
311
|
+
U.value.includes("CUSTOM_URL"),
|
|
312
|
+
k("CUSTOM_URL", "URL", "link")
|
|
311
313
|
)
|
|
312
314
|
]), L = m(
|
|
313
315
|
() => o.modelValue.fsCategory === "relative-to-workflow"
|
|
314
|
-
), z = L.value, G =
|
|
315
|
-
G.value = s,
|
|
316
|
+
), z = L.value, G = S(L.value), re = (s) => {
|
|
317
|
+
G.value = s, n(
|
|
316
318
|
s ? "relative-to-workflow" : "relative-to-current-hubspace"
|
|
317
319
|
);
|
|
318
320
|
}, N = m({
|
|
@@ -321,14 +323,14 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
321
323
|
return s === "relative-to-workflow" || s === "relative-to-current-hubspace" ? "SPACE" : s === "relative-to-embedded-data" ? "EMBEDDED" : s;
|
|
322
324
|
},
|
|
323
325
|
set: (s) => {
|
|
324
|
-
|
|
326
|
+
n(
|
|
325
327
|
s === "SPACE" ? G.value || z ? "relative-to-workflow" : "relative-to-current-hubspace" : s === "EMBEDDED" ? "relative-to-embedded-data" : s
|
|
326
328
|
);
|
|
327
329
|
}
|
|
328
330
|
}), ie = m(() => {
|
|
329
|
-
const s = N.value === "SPACE",
|
|
330
|
-
return s &&
|
|
331
|
-
relativeToPath:
|
|
331
|
+
const s = N.value === "SPACE", b = e.value;
|
|
332
|
+
return s && b ? {
|
|
333
|
+
relativeToPath: b,
|
|
332
334
|
rootLabel: "Space",
|
|
333
335
|
relativeRootLabel: "Workflow",
|
|
334
336
|
isRelativeTo: L.value,
|
|
@@ -336,35 +338,35 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
336
338
|
initialFilePathIsRelative: z
|
|
337
339
|
} : null;
|
|
338
340
|
}), H = m(
|
|
339
|
-
() => ee(o.modelValue.fsCategory,
|
|
341
|
+
() => ee(o.modelValue.fsCategory, T.value)
|
|
340
342
|
), { initialFilePathForCurrentTab: ue, handleNavigate: de } = $e({
|
|
341
343
|
backendType: H,
|
|
342
344
|
modelValue: B(o, "modelValue")
|
|
343
|
-
}), j =
|
|
345
|
+
}), j = S(null), pe = m(() => o.modelValue.fsCategory === "relative-to-current-hubspace" ? E.value : o.modelValue.fsCategory === "relative-to-embedded-data" ? "Data" : null), ce = {
|
|
344
346
|
SPACE: "browse the current space",
|
|
345
347
|
EMBEDDED: "browse the embedded data",
|
|
346
348
|
CUSTOM_URL: "use a URL to read files",
|
|
347
349
|
LOCAL: "browse the local file system"
|
|
348
350
|
};
|
|
349
|
-
return (s,
|
|
350
|
-
u(F) ? (
|
|
351
|
+
return (s, b) => (g(), O("div", We, [
|
|
352
|
+
u(F) ? (g(), V(u(ge), {
|
|
351
353
|
key: 0,
|
|
352
354
|
modelValue: N.value,
|
|
353
|
-
"onUpdate:modelValue":
|
|
355
|
+
"onUpdate:modelValue": b[0] || (b[0] = (_) => N.value = _),
|
|
354
356
|
tabs: se.value
|
|
355
357
|
}, null, 8, ["modelValue", "tabs"])) : J("", !0),
|
|
356
|
-
|
|
357
|
-
u(y) && N.value !== "CONNECTED" ? (
|
|
358
|
+
R("div", Ke, [
|
|
359
|
+
u(y) && N.value !== "CONNECTED" ? (g(), V(Me, {
|
|
358
360
|
key: 0,
|
|
359
361
|
"browse-action": ce[N.value]
|
|
360
|
-
}, null, 8, ["browse-action"])) : s.modelValue.fsCategory === "CUSTOM_URL" ? (
|
|
362
|
+
}, null, 8, ["browse-action"])) : s.modelValue.fsCategory === "CUSTOM_URL" ? (g(), V(Le, {
|
|
361
363
|
key: 1,
|
|
362
364
|
id: s.id,
|
|
363
365
|
"model-value": s.modelValue,
|
|
364
366
|
disabled: s.disabled,
|
|
365
367
|
"onUpdate:path": u(p),
|
|
366
368
|
"onUpdate:timeout": u(v)
|
|
367
|
-
}, null, 8, ["id", "model-value", "disabled", "onUpdate:path", "onUpdate:timeout"])) : u(w) ? (
|
|
369
|
+
}, null, 8, ["id", "model-value", "disabled", "onUpdate:path", "onUpdate:timeout"])) : u(w) ? (g(), V(Ee, {
|
|
368
370
|
key: 2,
|
|
369
371
|
id: s.id,
|
|
370
372
|
"filtered-extensions": u(c),
|
|
@@ -378,31 +380,31 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
378
380
|
"relative-to-options": ie.value,
|
|
379
381
|
onChooseItem: u(p),
|
|
380
382
|
onNavigate: u(de),
|
|
381
|
-
"onUpdate:fileName":
|
|
383
|
+
"onUpdate:fileName": b[1] || (b[1] = (_) => j.value = _),
|
|
382
384
|
"onUpdate:isRelativeTo": re,
|
|
383
|
-
onApplyAndClose:
|
|
385
|
+
onApplyAndClose: b[2] || (b[2] = (_) => a("applyAndClose"))
|
|
384
386
|
}, null, 8, ["id", "filtered-extensions", "appended-extension", "is-writer", "backend-type", "initial-file-path", "initial-file-name", "breadcrumb-root", "selection-mode", "relative-to-options", "onChooseItem", "onNavigate"])) : J("", !0)
|
|
385
387
|
])
|
|
386
388
|
]));
|
|
387
389
|
}
|
|
388
|
-
}), Ge = /* @__PURE__ */
|
|
390
|
+
}), Ge = /* @__PURE__ */ A(ze, [["__scopeId", "data-v-0cf1258f"]]), He = ({
|
|
389
391
|
data: r,
|
|
390
392
|
validCategories: t,
|
|
391
393
|
isOverwritten: o,
|
|
392
394
|
isConnected: a,
|
|
393
395
|
onFsCategoryUpdate: i,
|
|
394
|
-
clearPath:
|
|
396
|
+
clearPath: n
|
|
395
397
|
}) => {
|
|
396
398
|
const p = m(
|
|
397
399
|
() => !o.value && !t.value.includes(r.value.fsCategory) && t.value.length > 0
|
|
398
400
|
);
|
|
399
|
-
|
|
401
|
+
M(a, () => {
|
|
400
402
|
!o.value && a.value && i(t.value[0]);
|
|
401
403
|
}, { immediate: !0 });
|
|
402
404
|
const f = (d) => {
|
|
403
|
-
var w, F,
|
|
404
|
-
return d.fsCategory === "CONNECTED" ? "The path has been configured with a file system from an input port that is no longer available. Either add the port again or clear the path to configure using a different file system." : (w = d.context) != null && w.fsToString.startsWith("(HUB_SPACE,") ? 'Selecting a path from a custom HUB Space is no longer supported in this dialog. Consider connecting a "Space Connector" node to this node instead.' : (F = d.context) != null && F.fsToString.startsWith("(RELATIVE, knime.mountpoint,") || (
|
|
405
|
-
}, c = (d) => $(
|
|
405
|
+
var w, F, E;
|
|
406
|
+
return d.fsCategory === "CONNECTED" ? "The path has been configured with a file system from an input port that is no longer available. Either add the port again or clear the path to configure using a different file system." : (w = d.context) != null && w.fsToString.startsWith("(HUB_SPACE,") ? 'Selecting a path from a custom HUB Space is no longer supported in this dialog. Consider connecting a "Space Connector" node to this node instead.' : (F = d.context) != null && F.fsToString.startsWith("(RELATIVE, knime.mountpoint,") || (E = d.context) != null && E.fsToString.startsWith("(MOUNTPOINT,") ? 'Selecting a path from a mountpoint is no longer supported in this dialog. Consider connecting a "Mountpoint Connector" node to this node instead.' : "The selected file system is no longer selectable.";
|
|
407
|
+
}, c = (d) => $(Te, {
|
|
406
408
|
variant: "warning",
|
|
407
409
|
headline: "The currently configured file system is no longer selectable.",
|
|
408
410
|
description: f(d)
|
|
@@ -410,7 +412,7 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
410
412
|
size: "small",
|
|
411
413
|
label: "Clear to reconfigure",
|
|
412
414
|
variant: "outlined",
|
|
413
|
-
onClick: () =>
|
|
415
|
+
onClick: () => n()
|
|
414
416
|
});
|
|
415
417
|
return {
|
|
416
418
|
fsNotSupportedComponent: m(
|
|
@@ -431,14 +433,15 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
431
433
|
),
|
|
432
434
|
fsNotSupported: p
|
|
433
435
|
};
|
|
434
|
-
}, je = { class: "flex-row" }, Je = /* @__PURE__ */
|
|
436
|
+
}, je = { class: "flex-row" }, Je = /* @__PURE__ */ x({
|
|
435
437
|
__name: "FileChooserControlBase",
|
|
436
438
|
props: {
|
|
437
439
|
control: {},
|
|
438
440
|
handleChange: { type: Function },
|
|
439
441
|
changeValue: { type: Function },
|
|
440
442
|
disabled: { type: Boolean },
|
|
441
|
-
|
|
443
|
+
error: { type: Boolean },
|
|
444
|
+
subText: {},
|
|
442
445
|
onRegisterValidation: { type: Function },
|
|
443
446
|
labelForId: {},
|
|
444
447
|
toPath: { type: Function },
|
|
@@ -446,99 +449,100 @@ const xe = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ P({
|
|
|
446
449
|
},
|
|
447
450
|
setup(r) {
|
|
448
451
|
const t = r, o = m(() => t.control.uischema), a = K(o, "connectedFSOptions"), i = m(() => {
|
|
449
|
-
var
|
|
452
|
+
var l;
|
|
450
453
|
return {
|
|
451
454
|
...o.value.options,
|
|
452
|
-
connectedFSOptions: a.value ?? ((
|
|
455
|
+
connectedFSOptions: a.value ?? ((l = o.value.options) == null ? void 0 : l.connectedFSOptions)
|
|
453
456
|
};
|
|
454
457
|
}), {
|
|
455
|
-
validCategories:
|
|
458
|
+
validCategories: n,
|
|
456
459
|
isConnectedButNoFileConnectionIsAvailable: p,
|
|
457
460
|
isConnected: v
|
|
458
461
|
} = X(i), f = () => {
|
|
459
|
-
var
|
|
462
|
+
var l;
|
|
460
463
|
return {
|
|
461
464
|
path: "",
|
|
462
465
|
timeout: 1e4,
|
|
463
|
-
fsCategory:
|
|
466
|
+
fsCategory: n.value[0],
|
|
464
467
|
context: {
|
|
465
468
|
fsToString: "",
|
|
466
|
-
fsSpecifier: (
|
|
469
|
+
fsSpecifier: (l = a.value) == null ? void 0 : l.fileSystemSpecifier
|
|
467
470
|
}
|
|
468
471
|
};
|
|
469
|
-
}, c = m(() => t.control.data ? t.toPath(t.control.data) : f()), { flowSettings: h } =
|
|
472
|
+
}, c = m(() => t.control.data ? t.toPath(t.control.data) : f()), { flowSettings: h } = Se({
|
|
470
473
|
path: m(() => t.control.path)
|
|
471
474
|
}), C = m(
|
|
472
475
|
() => {
|
|
473
|
-
var
|
|
474
|
-
return !!((
|
|
476
|
+
var l;
|
|
477
|
+
return !!((l = h.value) != null && l.controllingFlowVariableName);
|
|
475
478
|
}
|
|
476
479
|
);
|
|
477
|
-
|
|
480
|
+
M(
|
|
478
481
|
() => C.value,
|
|
479
|
-
(
|
|
480
|
-
|
|
482
|
+
(l) => {
|
|
483
|
+
l || t.changePath(f());
|
|
481
484
|
}
|
|
482
485
|
);
|
|
483
486
|
const { onFsCategoryUpdate: d } = te(
|
|
484
487
|
c,
|
|
485
488
|
t.changePath,
|
|
486
489
|
o
|
|
487
|
-
), w =
|
|
490
|
+
), w = S(
|
|
488
491
|
null
|
|
489
|
-
), { fsNotSupportedComponent: F, fsNotSupported:
|
|
492
|
+
), { fsNotSupportedComponent: F, fsNotSupported: E } = He({
|
|
490
493
|
data: c,
|
|
491
|
-
validCategories:
|
|
494
|
+
validCategories: n,
|
|
492
495
|
isOverwritten: C,
|
|
493
496
|
isConnected: v,
|
|
494
497
|
onFsCategoryUpdate: d,
|
|
495
498
|
clearPath: () => {
|
|
496
499
|
t.changePath(f()), setTimeout(() => {
|
|
497
|
-
var
|
|
498
|
-
return (
|
|
500
|
+
var l, T;
|
|
501
|
+
return (T = (l = w.value) == null ? void 0 : l.focusInput) == null ? void 0 : T.call(l);
|
|
499
502
|
}, 0);
|
|
500
503
|
}
|
|
501
|
-
}), { onApply:
|
|
504
|
+
}), { onApply: P, sideDrawerValue: e } = Ue({
|
|
502
505
|
onChange: t.changePath,
|
|
503
506
|
initialValue: c
|
|
504
507
|
}), y = m(
|
|
505
|
-
() => t.disabled || p.value ||
|
|
508
|
+
() => t.disabled || p.value || n.value.length === 0 || E.value
|
|
506
509
|
);
|
|
507
|
-
return (
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
id:
|
|
510
|
+
return (l, T) => (g(), O(q, null, [
|
|
511
|
+
R("div", je, [
|
|
512
|
+
I(Pe, {
|
|
513
|
+
id: l.labelForId,
|
|
511
514
|
ref_key: "textControl",
|
|
512
515
|
ref: w,
|
|
513
516
|
class: "flex-grow",
|
|
514
517
|
"model-value": c.value,
|
|
515
518
|
disabled: y.value,
|
|
516
|
-
|
|
519
|
+
error: l.error,
|
|
520
|
+
"sub-text": l.subText,
|
|
517
521
|
options: i.value,
|
|
518
|
-
"onUpdate:modelValue":
|
|
519
|
-
}, null, 8, ["id", "model-value", "disabled", "
|
|
520
|
-
|
|
522
|
+
"onUpdate:modelValue": l.changePath
|
|
523
|
+
}, null, 8, ["id", "model-value", "disabled", "error", "sub-text", "options", "onUpdate:modelValue"]),
|
|
524
|
+
I(Ve, {
|
|
521
525
|
disabled: y.value,
|
|
522
|
-
onApply: u(
|
|
526
|
+
onApply: u(P)
|
|
523
527
|
}, {
|
|
524
|
-
default: ve(({ applyAndClose:
|
|
525
|
-
(
|
|
526
|
-
id:
|
|
528
|
+
default: ve(({ applyAndClose: U }) => [
|
|
529
|
+
(g(), V(Ge, {
|
|
530
|
+
id: l.labelForId ?? null,
|
|
527
531
|
key: `${c.value.fsCategory}-${c.value.path}`,
|
|
528
532
|
modelValue: u(e),
|
|
529
|
-
"onUpdate:modelValue":
|
|
533
|
+
"onUpdate:modelValue": T[0] || (T[0] = (k) => he(e) ? e.value = k : null),
|
|
530
534
|
disabled: y.value,
|
|
531
535
|
uischema: o.value,
|
|
532
|
-
onApplyAndClose:
|
|
536
|
+
onApplyAndClose: U
|
|
533
537
|
}, null, 8, ["id", "modelValue", "disabled", "uischema", "onApplyAndClose"]))
|
|
534
538
|
]),
|
|
535
539
|
_: 1
|
|
536
540
|
}, 8, ["disabled", "onApply"])
|
|
537
541
|
]),
|
|
538
|
-
(
|
|
542
|
+
(g(), V(Ce(u(F))))
|
|
539
543
|
], 64));
|
|
540
544
|
}
|
|
541
|
-
}), et = /* @__PURE__ */
|
|
545
|
+
}), et = /* @__PURE__ */ A(Je, [["__scopeId", "data-v-74fe8345"]]);
|
|
542
546
|
export {
|
|
543
547
|
et as F
|
|
544
548
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as a, openBlock as
|
|
2
|
-
import { F as p } from "./FileChooserControlBase-
|
|
1
|
+
import { defineComponent as n, createBlock as a, openBlock as r, mergeProps as l } from "vue";
|
|
2
|
+
import { F as p } from "./FileChooserControlBase-DpYYK3eE.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "FileChooserControlForMultiFile",
|
|
5
5
|
props: {
|
|
@@ -7,13 +7,14 @@ const u = /* @__PURE__ */ n({
|
|
|
7
7
|
handleChange: { type: Function },
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
|
-
|
|
10
|
+
error: { type: Boolean },
|
|
11
|
+
subText: {},
|
|
11
12
|
onRegisterValidation: { type: Function },
|
|
12
13
|
labelForId: {}
|
|
13
14
|
},
|
|
14
15
|
setup(o) {
|
|
15
16
|
const e = o;
|
|
16
|
-
return (c, i) => (
|
|
17
|
+
return (c, i) => (r(), a(p, l(e, {
|
|
17
18
|
"change-path": e.changeValue,
|
|
18
19
|
"to-path": (t) => t
|
|
19
20
|
}), null, 16, ["change-path", "to-path"]));
|