@knime/scripting-editor 0.0.132 → 0.0.133
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-DEv6xgTn-BV0O3had.js → AnyOfTwinlist-CKNl_Xwk-DpdmD6Y_.js} +1 -1
- package/dist/{ArrayLayout-xpUEX4UY.js → ArrayLayout-XksJXnhS.js} +51 -51
- package/dist/{ButtonControl-BFG84O1r.js → ButtonControl-CGN4of4k.js} +5 -5
- package/dist/{CheckboxControl-Yqf7_a5P--lSSti7m.js → CheckboxControl-Doj5Pl3W-Dk3mHCwf.js} +1 -1
- package/dist/{CheckboxesControl-Cx7qUDbd-ByGOCDtp.js → CheckboxesControl-of1RkErM-Depvhzov.js} +2 -2
- package/dist/{CodeEditorControl-DAfgzg-h.js → CodeEditorControl-Cw_Gj8Kn.js} +28 -28
- package/dist/{ColorControl-BjIoBGby-B54hb0gK.js → ColorControl-CYp6665w-Cz3T7gFq.js} +1 -1
- package/dist/{ColorPreviewControl-Cmpb3_o4--muSe_be.js → ColorPreviewControl-DASvbRv2-BcvEXrhU.js} +24 -24
- package/dist/{ComboBoxControl-DJsbSwD6-xuE8rZyf.js → ComboBoxControl-CDsmu2re-DX4k5SqO.js} +7 -7
- package/dist/{ConfigurationNodeNotSupported-Bkfoi87W.js → ConfigurationNodeNotSupported-DyQhBiW9.js} +3 -3
- package/dist/{ControlWithSubParameters-B9TiQfTU.js → ControlWithSubParameters-zcN9X0gF.js} +18 -14
- package/dist/{CredentialsControl-CqulYPUL.js → CredentialsControl-B0awnzBc.js} +2 -2
- package/dist/{CredentialsControlBase-x4zTZK8u.js → CredentialsControlBase-CMeDxKBK.js} +14 -14
- package/dist/{DateControl-CcuCk97j-CdiO3xtM.js → DateControl-CQqgNnLT-BwpIpPwC.js} +5 -5
- package/dist/DateTimeControl-CREQEjeO-DvTO-X97.js +112 -0
- package/dist/{DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js → DateTimeFormatPickerControl-C8vEg2z6-COYnZjFW.js} +1 -1
- package/dist/DialogFileExplorer-zbo5DDXP.js +433 -0
- package/dist/{DirtyTrackerRenderer-6k1ego1B.js → DirtyTrackerRenderer-DC192nyo.js} +1 -1
- package/dist/{DropdownControl-CpSZxjr1-C804I9fG.js → DropdownControl-CtwmuEsb-Cyfs0JQW.js} +2 -2
- package/dist/DynamicInputControl-DXw5qoOq.js +6 -0
- package/dist/{ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js → ExecutorCoresControl-CoEYfg6t-Cc6LPHHw.js} +1 -1
- package/dist/{ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js → ExecutorMemoryControl-BljLEdwM-CJXpm-_6.js} +1 -1
- package/dist/{FileChooserControl-Cv9Nvwrw.js → FileChooserControl-B0tWVocx.js} +2 -2
- package/dist/{FileChooserControlBase-C4WoqeuQ.js → FileChooserControlBase-xHnkds47.js} +91 -91
- package/dist/{FileChooserControlForMultiFile-DJydfSjI.js → FileChooserControlForMultiFile-C_v0Qlrw.js} +1 -1
- package/dist/{FileUploadControl-IAwE26IH-LLTdmWyW.js → FileUploadControl-BN1ZcIOy-81dPQCFP.js} +138 -138
- package/dist/{GridSelectionControl-DUVIpMsY-CuyLvikR.js → GridSelectionControl-llAAbmgk-CX0TsQ0E.js} +32 -32
- package/dist/{HorizontalLayout-92oHZT6R--JjwD9hI.js → HorizontalLayout-jN2ocYG5-CrErZyTw.js} +5 -5
- package/dist/{IntegerControl-B2TyUPGu-BLpffmEs.js → IntegerControl-CaIxt1i8-DEsNKUHq.js} +1 -1
- package/dist/{IntervalControl-BbIwNXK3-DcVnnDMh.js → IntervalControl-t714rU_V-MGYedhl3.js} +3 -3
- package/dist/{LabeledGroup-oOuEM_pN.js → LabeledGroup-LQTFxJnW.js} +6 -6
- package/dist/{LegacyCredentialsControl-DAZOUpou.js → LegacyCredentialsControl-B7HDTB-Y.js} +24 -20
- package/dist/{LinkControl-Cmk_qiO_-CF2rBAA7.js → LinkControl-DHge9xPr-DJ2ZdJgk.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cj3ak4Kd-CGPIwlnR.js} +1 -1
- package/dist/{ManualTwinlistControl-DTl3XPje-CnoltRZh.js → ManualTwinlistControl-DDabLDpL-CBO85_R7.js} +13 -13
- package/dist/{MultiFileChooserControl-1YghP5YI.js → MultiFileChooserControl-Bir5CRJ9.js} +15 -15
- package/dist/{MultiRuleWrapper-BnwWI1WL.js → MultiRuleWrapper-DwJa92_U.js} +1 -1
- package/dist/{MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js → MultiSelectListBoxControl-DdWI84_Z-S4a3Gqjz.js} +32 -32
- package/dist/{MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js → MultimodeTwinlistControl-Da66Qd_9-Bbml7WCJ.js} +27 -27
- package/dist/{NameFilter-Crwz1wiJ-CU1s2b7c.js → NameFilter-CGftAGoS-eES5XN_m.js} +1 -1
- package/dist/{NumberControl-CTycpm1q-SsW1E9e6.js → NumberControl-D6IUlr0F-BY4ied5y.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js → NumberControlBase.vue_vue_type_script_setup_true_lang-E8FQgjrx-D0v57kFS.js} +3 -3
- package/dist/{OneOfDropdown-B7KrUOWD-DAFKZmqZ.js → OneOfDropdown-C67MhziA-CpMIH2JQ.js} +5 -5
- package/dist/ProgressButtonControl-CxH6Cipu-C6HhyVpC.js +54 -0
- package/dist/{RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js → RadioButtonsWithDescriptionControl-CbJxLwdI-BoB6XMXH.js} +7 -7
- package/dist/{RadioControl-BAoCJNMH-VuiN6M_V.js → RadioControl-DcUIHhJC-BwptwkBW.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CWUPk9t_-DNZ6dVPk.js} +7 -7
- package/dist/{ResourceControlBase-97R2-qQ7-BBi11JJj.js → ResourceControlBase-BQY6errk-u3DjtQtM.js} +18 -18
- package/dist/RichTextControl-Mcxf362n-DdOUSE6M.js +19683 -0
- package/dist/{SectionLayout-DS6gpiV1-BN6brreP.js → SectionLayout-DyslAsrB-CUKYruK6.js} +13 -13
- package/dist/{SettingsSubPanelLayout-CJeD408x-yH9r1jii.js → SettingsSubPanelLayout-Cay8i6NA-DbMFWTQS.js} +7 -7
- package/dist/{SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js → SimpleTwinlistControl-D4BFF9jE-CLzhAZh8.js} +2 -2
- package/dist/{SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js → SingleSelectControl-D-yUZtl2-BUEaZUuq.js} +2 -2
- package/dist/{SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js → SingleSelectListBoxControl-BpC-WEID-Fkrf5Nzh.js} +11 -11
- package/dist/{SortListControl-BlsAnJjH-tbIOGxZ_.js → SortListControl-7mmEkodd-CNOnx3jy.js} +17 -17
- package/dist/{StringFileChooserControl-BUYM9fmT.js → StringFileChooserControl-Bx5y6IUS.js} +11 -11
- package/dist/{StyledListItem-DjdZOUWD-BMILJImI.js → StyledListItem-BmNDGGnr-Bq-z-rsZ.js} +17 -17
- package/dist/{TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js → TeamAndSpacesControl-BI4anOSY-M-p6tIeU.js} +20 -20
- package/dist/{TeamResourceControl-Cd0UTItF-Coo1MGve.js → TeamResourceControl-s9NfKZEk-YrY32KjS.js} +1 -1
- package/dist/{TextAreaControl-B-AfgqCE-BxgZnZ7G.js → TextAreaControl-DSBystkT-BSHORNXB.js} +4 -4
- package/dist/TextControl-DBIt0sjP-BIZDsHMy.js +59813 -0
- package/dist/{TimeControl-DOs9b4bm-B7dozTCB.js → TimeControl-COlrx8kC-BcVH6ODv.js} +5 -5
- package/dist/{TimeframesControl-4JGOYGkE-DfsHVFg9.js → TimeframesControl-Cg12Kpcx-C7dGpAT6.js} +13 -13
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-_TYZPooB-Dfpkfwo6.js} +4 -4
- package/dist/{TypedStringFilter-C6N8H2Xj-CI1wXgVk.js → TypedStringFilter-CX3YoFa7-C1x-NGyu.js} +1 -1
- package/dist/{ValueSwitchControl-BO6x8fsi-B4Fuvawe.js → ValueSwitchControl-DpxEagdS-C4QFBVRx.js} +1 -1
- package/dist/{VennDiagramLayout-HkmFaxWm.js → VennDiagramLayout-DUW0acFP.js} +39 -39
- package/dist/{VerticalLayout-AMSQYCUV-HYDBzl_2.js → VerticalLayout-X4PVwPsF-b_ZcHKaF.js} +4 -4
- package/dist/ZonedDateTimeControl-CWeuMH0t-Dt7Rxkqb.js +100 -0
- package/dist/auto-configure-BU7AIhL7-7W3z7Vjz-6q91a8j9.js +22 -0
- package/dist/copy-D43FaHi--Bqzsv-mJ-7FU3jkgQ.js +22 -0
- package/dist/duplicate-Mtq886XD-BDwFp0vh-CIu7W6h6.js +22 -0
- package/dist/feedback-CSzO39Ck-BS5Fxtel.js +22 -0
- package/dist/feedback-CSzO39Ck-CKiwRjzw.js +22 -0
- package/dist/feedback-CSzO39Ck-_5Kb5BA8-CKe-zu3t.js +22 -0
- package/dist/{copy-DAYm6-mo-CDvX8jVa-B9UCeqRZ.js → folder-move-6L5NfoIs-CCvXkj23-BYHDrg6P.js} +5 -5
- package/dist/import-table-BaqmTPnF-CZCiPNmS.js +22 -0
- package/dist/import-table-BaqmTPnF-D0en45ie.js +22 -0
- package/dist/import-table-BaqmTPnF-KBTO9jUb-Bpwci1gw.js +22 -0
- package/dist/linked-component-BOb5aj87-VJSVKxb2-DMjL90PX.js +22 -0
- package/dist/login-DGaxAy8E-D6O36glE.js +22 -0
- package/dist/login-DGaxAy8E-DplCH1d8-6sF6_FhA.js +22 -0
- package/dist/login-DGaxAy8E-_ybELmwN.js +22 -0
- package/dist/main.js +601 -596
- package/dist/parameters.js +1 -1
- package/dist/random-seed-BmLMj_2x-DINXvCyu-wqk9PzlG.js +22 -0
- package/dist/random-seed-BmLMj_2x-DKTVdNoj.js +22 -0
- package/dist/random-seed-BmLMj_2x-qRFs8Sbo.js +22 -0
- package/dist/table-Pffb9Oig-CvTPEL4F.js +22 -0
- package/dist/table-Pffb9Oig-Qm0Lnd2q-C-VWjB_D.js +22 -0
- package/dist/table-Pffb9Oig-TCq5zt91.js +22 -0
- package/dist/update-file-5lTfm97G-BGdh5udY.js +22 -0
- package/dist/update-file-5lTfm97G-BwwZevAR.js +22 -0
- package/dist/update-file-5lTfm97G-mHppEON3-CqyuH0wP.js +22 -0
- package/dist/{useFileChooserBackend-uDGm68hp.js → useFileChooserBackend-Cnk4jIty.js} +9 -9
- package/dist/{usePossibleValues-CsJuQ591-r_2wYQe_.js → usePossibleValues-BbkYA3Ri-phbvmDoC.js} +2 -2
- package/dist/validate-CD0_eO0m-8oVXNF5a-JUzgUSW_.js +22 -0
- package/dist/validate-CD0_eO0m-Dsn7xOmd.js +22 -0
- package/dist/validate-CD0_eO0m-DxUbUuun.js +22 -0
- package/package.json +3 -3
- package/dist/DateTimeControl-CuB6aWlL-CgLiloF4.js +0 -89
- package/dist/DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js +0 -598
- package/dist/DialogFileExplorer-CiOfUL_M.js +0 -501
- package/dist/DynamicInputControl-Bc99HU8j.js +0 -6
- package/dist/RichTextControl-D4ItwmZa-CV9QLVR2.js +0 -19326
- package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +0 -54247
- package/dist/ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js +0 -82
- package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +0 -2003
- package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +0 -34
- /package/dist/{useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js → useUnknownValuesInTwinlist-uBQ8vniL-D2ve7iXH.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as P, toRef as B, ref as S, computed as m, onMounted as Y, watch as R, createBlock as V, openBlock as g, unref as u, createElementBlock as O, createElementVNode as A, createVNode as I, toDisplayString as me, createPropsRestProxy as fe, Fragment as Z, createCommentVNode as J, h as $, withCtx as ve, isRef as he, resolveDynamicComponent as Ce } from "vue";
|
|
2
|
+
import { T as K, a6 as W, ai as q, aH as be, aI as ge, a3 as ye, N as Te, P as Se } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
|
|
3
|
+
import { a as X, G as we, D as Fe, u as Ee, _ as Ue } from "./DialogFileExplorer-zbo5DDXP.js";
|
|
4
|
+
import { b as Q, a as Ve, g as ee, u as ke } from "./useFileChooserBackend-Cnk4jIty.js";
|
|
5
|
+
import { _ as M } 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,12 +19,12 @@ 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/", _e = [
|
|
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
|
-
], Pe = /* @__PURE__ */
|
|
27
|
+
], Pe = /* @__PURE__ */ P({
|
|
28
28
|
__name: "FSLocationTextControl",
|
|
29
29
|
props: {
|
|
30
30
|
modelValue: {},
|
|
@@ -35,12 +35,12 @@ const te = (r, t, o) => {
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["update:modelValue"],
|
|
37
37
|
setup(r, { expose: t, emit: o }) {
|
|
38
|
-
const a = r, i = o, { isConnected: n, isLocal: p } =
|
|
39
|
-
filteredExtensions:
|
|
38
|
+
const a = r, i = o, { isConnected: n, isLocal: p } = Q(B(a, "options")), { getFilePath: v } = Ve({
|
|
39
|
+
filteredExtensions: S([]),
|
|
40
40
|
// only relevant for browsing
|
|
41
|
-
appendedExtension:
|
|
41
|
+
appendedExtension: S(null),
|
|
42
42
|
// We do not wish to append anything here, since the user should be able to manually access any file
|
|
43
|
-
isWriter:
|
|
43
|
+
isWriter: S(!1),
|
|
44
44
|
// only relevant for browsing
|
|
45
45
|
backendType: m(
|
|
46
46
|
() => {
|
|
@@ -64,22 +64,22 @@ const te = (r, t, o) => {
|
|
|
64
64
|
if (!n.value && e.fsCategory === "LOCAL") {
|
|
65
65
|
if (e.path === "")
|
|
66
66
|
return "";
|
|
67
|
-
const { path: l, errorMessage:
|
|
67
|
+
const { path: l, errorMessage: T } = await v(
|
|
68
68
|
null,
|
|
69
69
|
e.path,
|
|
70
70
|
null
|
|
71
71
|
);
|
|
72
|
-
return
|
|
72
|
+
return T ? e.path : l || "";
|
|
73
73
|
}
|
|
74
74
|
return n.value && e.fsCategory === "CONNECTED" ? e.path : ((y = e.context) == null ? void 0 : y.fsToString) ?? "";
|
|
75
|
-
}, c =
|
|
75
|
+
}, c = S(null), h = S(""), C = S(!1);
|
|
76
76
|
Y(() => {
|
|
77
77
|
d();
|
|
78
78
|
});
|
|
79
79
|
const d = async () => {
|
|
80
80
|
h.value = await f(a.modelValue);
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
R(
|
|
83
83
|
() => a.modelValue,
|
|
84
84
|
() => {
|
|
85
85
|
C.value || d();
|
|
@@ -98,11 +98,11 @@ const te = (r, t, o) => {
|
|
|
98
98
|
fsSpecifier: (l = a.options.connectedFSOptions) == null ? void 0 : l.fileSystemSpecifier
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
for (const [
|
|
102
|
-
if (e.startsWith(
|
|
101
|
+
for (const [T, U] of _e)
|
|
102
|
+
if (e.startsWith(U))
|
|
103
103
|
return {
|
|
104
|
-
fsCategory:
|
|
105
|
-
path: e.replace(
|
|
104
|
+
fsCategory: T,
|
|
105
|
+
path: e.replace(U, ""),
|
|
106
106
|
timeout: a.modelValue.timeout
|
|
107
107
|
};
|
|
108
108
|
const y = p.value ? "LOCAL" : "relative-to-current-hubspace";
|
|
@@ -113,9 +113,9 @@ const te = (r, t, o) => {
|
|
|
113
113
|
};
|
|
114
114
|
}, F = (e) => {
|
|
115
115
|
h.value = e, i("update:modelValue", w(e));
|
|
116
|
-
},
|
|
116
|
+
}, E = () => {
|
|
117
117
|
C.value = !0;
|
|
118
|
-
},
|
|
118
|
+
}, x = () => {
|
|
119
119
|
C.value = !1, d();
|
|
120
120
|
};
|
|
121
121
|
return t({
|
|
@@ -123,7 +123,7 @@ const te = (r, t, o) => {
|
|
|
123
123
|
var e;
|
|
124
124
|
return (e = c.value) == null ? void 0 : e.focus();
|
|
125
125
|
}
|
|
126
|
-
}), (e, y) => (g(), V(u(
|
|
126
|
+
}), (e, y) => (g(), V(u(q), {
|
|
127
127
|
ref_key: "textInputRef",
|
|
128
128
|
ref: c,
|
|
129
129
|
"model-value": h.value,
|
|
@@ -133,34 +133,34 @@ const te = (r, t, o) => {
|
|
|
133
133
|
"sub-text": e.subText,
|
|
134
134
|
ariaLabel: "File path",
|
|
135
135
|
"onUpdate:modelValue": F,
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
onFocusin: E,
|
|
137
|
+
onFocusout: x
|
|
138
138
|
}, null, 8, ["model-value", "disabled", "placeholder", "error", "sub-text"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), xe = {
|
|
141
141
|
xmlns: "http://www.w3.org/2000/svg",
|
|
142
142
|
fill: "none",
|
|
143
143
|
stroke: "#000",
|
|
144
144
|
"stroke-linejoin": "round",
|
|
145
145
|
viewBox: "0 0 32 32"
|
|
146
146
|
};
|
|
147
|
-
function
|
|
148
|
-
return g(), O("svg",
|
|
149
|
-
|
|
147
|
+
function De(r, t) {
|
|
148
|
+
return g(), O("svg", xe, t[0] || (t[0] = [
|
|
149
|
+
A("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)
|
|
150
150
|
]));
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const Ne = { render: De }, Ie = { class: "vertical" }, Oe = /* @__PURE__ */ P({
|
|
153
153
|
__name: "ConnectionPreventsTab",
|
|
154
154
|
props: {
|
|
155
155
|
browseAction: {}
|
|
156
156
|
},
|
|
157
157
|
setup(r) {
|
|
158
|
-
return (t, o) => (g(), O("div",
|
|
159
|
-
I(u(
|
|
160
|
-
|
|
158
|
+
return (t, o) => (g(), O("div", Ie, [
|
|
159
|
+
I(u(Ne), { class: "icon" }),
|
|
160
|
+
A("span", null, "Remove the file system input port in order to " + me(t.browseAction) + ".", 1)
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
|
-
}),
|
|
163
|
+
}), Be = /* @__PURE__ */ M(Oe, [["__scopeId", "data-v-098ffb92"]]), Re = /* @__PURE__ */ P({
|
|
164
164
|
__name: "CustomUrlFileChooser",
|
|
165
165
|
props: {
|
|
166
166
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -172,7 +172,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
172
172
|
setup(r, { emit: t }) {
|
|
173
173
|
const o = fe(r, ["disabled", "urlErrorMessage"]), a = t;
|
|
174
174
|
return (i, n) => (g(), O(Z, null, [
|
|
175
|
-
I(u(
|
|
175
|
+
I(u(q), {
|
|
176
176
|
id: o.id ?? void 0,
|
|
177
177
|
class: "url-input",
|
|
178
178
|
ariaLabel: "URL",
|
|
@@ -196,7 +196,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
196
196
|
}, null, 8, ["disabled", "model-value"])
|
|
197
197
|
], 64));
|
|
198
198
|
}
|
|
199
|
-
}), Ae = /* @__PURE__ */
|
|
199
|
+
}), Ae = /* @__PURE__ */ M(Re, [["__scopeId", "data-v-f3f673d7"]]), Me = /* @__PURE__ */ P({
|
|
200
200
|
__name: "UrlTab",
|
|
201
201
|
props: {
|
|
202
202
|
modelValue: {},
|
|
@@ -204,7 +204,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
204
204
|
},
|
|
205
205
|
emits: ["update:path", "update:timeout"],
|
|
206
206
|
setup(r, { emit: t }) {
|
|
207
|
-
const o = r, a = t, { text: i, disabled: n, onApply: p } =
|
|
207
|
+
const o = r, a = t, { text: i, disabled: n, onApply: p } = X(), { shown: v } = X(
|
|
208
208
|
we
|
|
209
209
|
);
|
|
210
210
|
Y(() => {
|
|
@@ -213,7 +213,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
213
213
|
const f = m(
|
|
214
214
|
() => oe.test(o.modelValue.path)
|
|
215
215
|
);
|
|
216
|
-
|
|
216
|
+
R(
|
|
217
217
|
() => f.value,
|
|
218
218
|
(h) => {
|
|
219
219
|
n.value = !h;
|
|
@@ -231,11 +231,11 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
231
231
|
"onUpdate:timeout": C[1] || (C[1] = (d) => a("update:timeout", d))
|
|
232
232
|
}, null, 8, ["id", "model-value", "url-error-message"]));
|
|
233
233
|
}
|
|
234
|
-
}),
|
|
234
|
+
}), Le = ({
|
|
235
235
|
backendType: r,
|
|
236
236
|
modelValue: t
|
|
237
237
|
}) => {
|
|
238
|
-
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({
|
|
239
239
|
[o]: t.value.path
|
|
240
240
|
});
|
|
241
241
|
return {
|
|
@@ -246,7 +246,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
246
246
|
a.value[r.value] = p ?? "";
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
-
},
|
|
249
|
+
}, $e = { class: "flex" }, We = { class: "flex-grow" }, Ke = /* @__PURE__ */ P({
|
|
250
250
|
__name: "SideDrawerContent",
|
|
251
251
|
props: {
|
|
252
252
|
modelValue: {},
|
|
@@ -273,14 +273,14 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
273
273
|
isLocal: d,
|
|
274
274
|
isLoaded: w,
|
|
275
275
|
tabsCanBeRendered: F,
|
|
276
|
-
spacePath:
|
|
277
|
-
mountId:
|
|
276
|
+
spacePath: E,
|
|
277
|
+
mountId: x,
|
|
278
278
|
relativeWorkflowPath: e,
|
|
279
279
|
isConnected: y,
|
|
280
280
|
portFileSystemName: l,
|
|
281
|
-
portIndex:
|
|
282
|
-
fileSystems:
|
|
283
|
-
} =
|
|
281
|
+
portIndex: T,
|
|
282
|
+
fileSystems: U
|
|
283
|
+
} = ke(i), k = (s, b, _) => ({
|
|
284
284
|
id: `file-chooser-${o.id}-tab-${s}`,
|
|
285
285
|
value: s,
|
|
286
286
|
label: b,
|
|
@@ -296,25 +296,25 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
296
296
|
k("LOCAL", "Local file system", "local-filesystem")
|
|
297
297
|
),
|
|
298
298
|
...D(
|
|
299
|
-
|
|
299
|
+
U.value.includes("SPACE"),
|
|
300
300
|
k(
|
|
301
301
|
"SPACE",
|
|
302
|
-
|
|
302
|
+
x.value,
|
|
303
303
|
d.value ? "space-local" : "cloud-knime"
|
|
304
304
|
)
|
|
305
305
|
),
|
|
306
306
|
...D(
|
|
307
|
-
|
|
307
|
+
U.value.includes("EMBEDDED"),
|
|
308
308
|
k("EMBEDDED", "Embedded data", "folder")
|
|
309
309
|
),
|
|
310
310
|
...D(
|
|
311
|
-
|
|
311
|
+
U.value.includes("CUSTOM_URL"),
|
|
312
312
|
k("CUSTOM_URL", "URL", "link")
|
|
313
313
|
)
|
|
314
314
|
]), L = m(
|
|
315
315
|
() => o.modelValue.fsCategory === "relative-to-workflow"
|
|
316
|
-
), z = L.value,
|
|
317
|
-
|
|
316
|
+
), z = L.value, H = S(L.value), re = (s) => {
|
|
317
|
+
H.value = s, n(
|
|
318
318
|
s ? "relative-to-workflow" : "relative-to-current-hubspace"
|
|
319
319
|
);
|
|
320
320
|
}, N = m({
|
|
@@ -324,7 +324,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
324
324
|
},
|
|
325
325
|
set: (s) => {
|
|
326
326
|
n(
|
|
327
|
-
s === "SPACE" ?
|
|
327
|
+
s === "SPACE" ? H.value || z ? "relative-to-workflow" : "relative-to-current-hubspace" : s === "EMBEDDED" ? "relative-to-embedded-data" : s
|
|
328
328
|
);
|
|
329
329
|
}
|
|
330
330
|
}), ie = m(() => {
|
|
@@ -334,45 +334,45 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
334
334
|
rootLabel: "Space",
|
|
335
335
|
relativeRootLabel: "Workflow",
|
|
336
336
|
isRelativeTo: L.value,
|
|
337
|
-
relativeRootIcon:
|
|
337
|
+
relativeRootIcon: "workflow",
|
|
338
338
|
initialFilePathIsRelative: z
|
|
339
339
|
} : null;
|
|
340
|
-
}),
|
|
341
|
-
() => ee(o.modelValue.fsCategory,
|
|
342
|
-
), { initialFilePathForCurrentTab: ue, handleNavigate: de } =
|
|
343
|
-
backendType:
|
|
340
|
+
}), G = m(
|
|
341
|
+
() => ee(o.modelValue.fsCategory, T.value)
|
|
342
|
+
), { initialFilePathForCurrentTab: ue, handleNavigate: de } = Le({
|
|
343
|
+
backendType: G,
|
|
344
344
|
modelValue: B(o, "modelValue")
|
|
345
|
-
}), 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 = {
|
|
346
346
|
SPACE: "browse the current space",
|
|
347
347
|
EMBEDDED: "browse the embedded data",
|
|
348
348
|
CUSTOM_URL: "use a URL to read files",
|
|
349
349
|
LOCAL: "browse the local file system"
|
|
350
350
|
};
|
|
351
|
-
return (s, b) => (g(), O("div",
|
|
351
|
+
return (s, b) => (g(), O("div", $e, [
|
|
352
352
|
u(F) ? (g(), V(u(ge), {
|
|
353
353
|
key: 0,
|
|
354
354
|
modelValue: N.value,
|
|
355
355
|
"onUpdate:modelValue": b[0] || (b[0] = (_) => N.value = _),
|
|
356
356
|
tabs: se.value
|
|
357
|
-
}, null, 8, ["modelValue", "tabs"])) :
|
|
358
|
-
|
|
359
|
-
u(y) && N.value !== "CONNECTED" ? (g(), V(
|
|
357
|
+
}, null, 8, ["modelValue", "tabs"])) : J("", !0),
|
|
358
|
+
A("div", We, [
|
|
359
|
+
u(y) && N.value !== "CONNECTED" ? (g(), V(Be, {
|
|
360
360
|
key: 0,
|
|
361
361
|
"browse-action": ce[N.value]
|
|
362
|
-
}, null, 8, ["browse-action"])) : s.modelValue.fsCategory === "CUSTOM_URL" ? (g(), V(
|
|
362
|
+
}, null, 8, ["browse-action"])) : s.modelValue.fsCategory === "CUSTOM_URL" ? (g(), V(Me, {
|
|
363
363
|
key: 1,
|
|
364
364
|
id: s.id,
|
|
365
365
|
"model-value": s.modelValue,
|
|
366
366
|
disabled: s.disabled,
|
|
367
367
|
"onUpdate:path": u(p),
|
|
368
368
|
"onUpdate:timeout": u(v)
|
|
369
|
-
}, null, 8, ["id", "model-value", "disabled", "onUpdate:path", "onUpdate:timeout"])) : u(w) ? (g(), V(
|
|
369
|
+
}, null, 8, ["id", "model-value", "disabled", "onUpdate:path", "onUpdate:timeout"])) : u(w) ? (g(), V(Fe, {
|
|
370
370
|
key: 2,
|
|
371
371
|
id: s.id,
|
|
372
372
|
"filtered-extensions": u(c),
|
|
373
373
|
"appended-extension": u(h),
|
|
374
374
|
"is-writer": u(C),
|
|
375
|
-
"backend-type":
|
|
375
|
+
"backend-type": G.value,
|
|
376
376
|
"initial-file-path": u(ue),
|
|
377
377
|
"initial-file-name": j.value,
|
|
378
378
|
"breadcrumb-root": pe.value,
|
|
@@ -383,11 +383,11 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
383
383
|
"onUpdate:fileName": b[1] || (b[1] = (_) => j.value = _),
|
|
384
384
|
"onUpdate:isRelativeTo": re,
|
|
385
385
|
onApplyAndClose: b[2] || (b[2] = (_) => a("applyAndClose"))
|
|
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"])) :
|
|
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)
|
|
387
387
|
])
|
|
388
388
|
]));
|
|
389
389
|
}
|
|
390
|
-
}),
|
|
390
|
+
}), ze = /* @__PURE__ */ M(Ke, [["__scopeId", "data-v-17f99ce3"]]), He = ({
|
|
391
391
|
data: r,
|
|
392
392
|
validCategories: t,
|
|
393
393
|
isOverwritten: o,
|
|
@@ -398,13 +398,13 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
398
398
|
const p = m(
|
|
399
399
|
() => !o.value && !t.value.includes(r.value.fsCategory) && t.value.length > 0
|
|
400
400
|
);
|
|
401
|
-
|
|
401
|
+
R(a, () => {
|
|
402
402
|
!o.value && a.value && i(t.value[0]);
|
|
403
403
|
}, { immediate: !0 });
|
|
404
404
|
const f = (d) => {
|
|
405
|
-
var w, F,
|
|
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,") || (
|
|
407
|
-
}, 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, {
|
|
408
408
|
variant: "warning",
|
|
409
409
|
headline: "The currently configured file system is no longer selectable.",
|
|
410
410
|
description: f(d)
|
|
@@ -433,7 +433,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
433
433
|
),
|
|
434
434
|
fsNotSupported: p
|
|
435
435
|
};
|
|
436
|
-
},
|
|
436
|
+
}, Ge = { class: "flex-row" }, je = /* @__PURE__ */ P({
|
|
437
437
|
__name: "FileChooserControlBase",
|
|
438
438
|
props: {
|
|
439
439
|
control: {},
|
|
@@ -458,7 +458,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
458
458
|
validCategories: n,
|
|
459
459
|
isConnectedButNoFileConnectionIsAvailable: p,
|
|
460
460
|
isConnected: v
|
|
461
|
-
} =
|
|
461
|
+
} = Q(i), f = () => {
|
|
462
462
|
var l;
|
|
463
463
|
return {
|
|
464
464
|
path: "",
|
|
@@ -469,7 +469,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
469
469
|
fsSpecifier: (l = a.value) == null ? void 0 : l.fileSystemSpecifier
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
|
-
}, 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({
|
|
473
473
|
path: m(() => t.control.path)
|
|
474
474
|
}), C = m(
|
|
475
475
|
() => {
|
|
@@ -477,7 +477,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
477
477
|
return !!((l = h.value) != null && l.controllingFlowVariableName);
|
|
478
478
|
}
|
|
479
479
|
);
|
|
480
|
-
|
|
480
|
+
R(
|
|
481
481
|
() => C.value,
|
|
482
482
|
(l) => {
|
|
483
483
|
l || t.changePath(f());
|
|
@@ -487,9 +487,9 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
487
487
|
c,
|
|
488
488
|
t.changePath,
|
|
489
489
|
o
|
|
490
|
-
), w =
|
|
490
|
+
), w = S(
|
|
491
491
|
null
|
|
492
|
-
), { fsNotSupportedComponent: F, fsNotSupported:
|
|
492
|
+
), { fsNotSupportedComponent: F, fsNotSupported: E } = He({
|
|
493
493
|
data: c,
|
|
494
494
|
validCategories: n,
|
|
495
495
|
isOverwritten: C,
|
|
@@ -497,18 +497,18 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
497
497
|
onFsCategoryUpdate: d,
|
|
498
498
|
clearPath: () => {
|
|
499
499
|
t.changePath(f()), setTimeout(() => {
|
|
500
|
-
var l,
|
|
501
|
-
return (
|
|
500
|
+
var l, T;
|
|
501
|
+
return (T = (l = w.value) == null ? void 0 : l.focusInput) == null ? void 0 : T.call(l);
|
|
502
502
|
}, 0);
|
|
503
503
|
}
|
|
504
|
-
}), { onApply:
|
|
504
|
+
}), { onApply: x, sideDrawerValue: e } = Ee({
|
|
505
505
|
onChange: t.changePath,
|
|
506
506
|
initialValue: c
|
|
507
507
|
}), y = m(
|
|
508
|
-
() => t.disabled || p.value || n.value.length === 0 ||
|
|
508
|
+
() => t.disabled || p.value || n.value.length === 0 || E.value
|
|
509
509
|
);
|
|
510
|
-
return (l,
|
|
511
|
-
|
|
510
|
+
return (l, T) => (g(), O(Z, null, [
|
|
511
|
+
A("div", Ge, [
|
|
512
512
|
I(Pe, {
|
|
513
513
|
id: l.labelForId,
|
|
514
514
|
ref_key: "textControl",
|
|
@@ -521,19 +521,19 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
521
521
|
options: i.value,
|
|
522
522
|
"onUpdate:modelValue": l.changePath
|
|
523
523
|
}, null, 8, ["id", "model-value", "disabled", "error", "sub-text", "options", "onUpdate:modelValue"]),
|
|
524
|
-
I(
|
|
524
|
+
I(Ue, {
|
|
525
525
|
disabled: y.value,
|
|
526
|
-
onApply: u(
|
|
526
|
+
onApply: u(x)
|
|
527
527
|
}, {
|
|
528
|
-
default: ve(({ applyAndClose:
|
|
529
|
-
(g(), V(
|
|
528
|
+
default: ve(({ applyAndClose: U }) => [
|
|
529
|
+
(g(), V(ze, {
|
|
530
530
|
id: l.labelForId ?? null,
|
|
531
531
|
key: `${c.value.fsCategory}-${c.value.path}`,
|
|
532
532
|
modelValue: u(e),
|
|
533
|
-
"onUpdate:modelValue":
|
|
533
|
+
"onUpdate:modelValue": T[0] || (T[0] = (k) => he(e) ? e.value = k : null),
|
|
534
534
|
disabled: y.value,
|
|
535
535
|
uischema: o.value,
|
|
536
|
-
onApplyAndClose:
|
|
536
|
+
onApplyAndClose: U
|
|
537
537
|
}, null, 8, ["id", "modelValue", "disabled", "uischema", "onApplyAndClose"]))
|
|
538
538
|
]),
|
|
539
539
|
_: 1
|
|
@@ -542,7 +542,7 @@ const Ie = { render: Ne }, Oe = { class: "vertical" }, Be = /* @__PURE__ */ x({
|
|
|
542
542
|
(g(), V(Ce(u(F))))
|
|
543
543
|
], 64));
|
|
544
544
|
}
|
|
545
|
-
}),
|
|
545
|
+
}), Qe = /* @__PURE__ */ M(je, [["__scopeId", "data-v-4241e416"]]);
|
|
546
546
|
export {
|
|
547
|
-
|
|
547
|
+
Qe as F
|
|
548
548
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, createBlock as a, openBlock as r, mergeProps as l } from "vue";
|
|
2
|
-
import { F as p } from "./FileChooserControlBase-
|
|
2
|
+
import { F as p } from "./FileChooserControlBase-xHnkds47.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "FileChooserControlForMultiFile",
|
|
5
5
|
props: {
|