@knime/scripting-editor 0.0.149 → 0.0.150
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-DdcxtAjb-CaN_HwzO.js → AnyOfTwinlist-DdcxtAjb-QRuNcffK.js} +3 -3
- package/dist/{ArrayLayout-Cqct4YS3.js → ArrayLayout-CiNvK2R8.js} +204 -193
- package/dist/ButtonControl-XAPpl7GY.js +116 -0
- package/dist/{CheckboxControl-C99OdmDL-CDrrcyc8.js → CheckboxControl-C99OdmDL-Do7Fm1Hf.js} +12 -12
- package/dist/{CheckboxesControl-BZhMhT9x-DX6Wv2OC.js → CheckboxesControl-BZhMhT9x-Pc8YrIvQ.js} +3 -3
- package/dist/{CodeEditorControl-C0nEU4Bk.js → CodeEditorControl-BZlds1_z.js} +1 -1
- package/dist/{ColorControl-D1dNnNbO-ZnPFuKHS.js → ColorControl-D1dNnNbO-D2ewwNgx.js} +1 -1
- package/dist/{ColorPreviewControl-B4zix2kb-lDW3LcbF.js → ColorPreviewControl-B4zix2kb-C8iUsUfi.js} +10 -10
- package/dist/{ComboBoxControl-BGWAD9IW-CYGoHz_u.js → ComboBoxControl-BGWAD9IW-Dqnlk__Q.js} +2 -2
- package/dist/{ConfigurationNodeNotSupported-D-Rxn0Gi.js → ConfigurationNodeNotSupported-CGclvYAj.js} +6 -6
- package/dist/{ControlWithSubParameters-C3O8tagW.js → ControlWithSubParameters-D_0dvLqM.js} +10 -10
- package/dist/{CredentialsControl-DaEBQpvd.js → CredentialsControl-uYcyYidL.js} +2 -2
- package/dist/{CredentialsControlBase-BivCOrno.js → CredentialsControlBase-u4DXxRC0.js} +7 -7
- package/dist/{DateControl-D0HfVrtz-9eE4B_fe.js → DateControl-D0HfVrtz-Bt1CkhVc.js} +3 -3
- package/dist/{DateTimeControl-kTQZI9JC-DmnFBKmN.js → DateTimeControl-kTQZI9JC-DT157PDM.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-BiYcsKSn-xVSLrwBl.js → DateTimeFormatPickerControl-BiYcsKSn-CMda9u5J.js} +5 -5
- package/dist/{DirtyTrackerRenderer-DMDmrGOs.js → DirtyTrackerRenderer-BePhAn76.js} +3 -3
- package/dist/{DropdownControl-jsayV3N5-8v3EQUz3.js → DropdownControl-jsayV3N5-Dsha5hge.js} +3 -3
- package/dist/{ExecutorCoresControl-DNo2SaC6-BoEm-W4r.js → ExecutorCoresControl-DNo2SaC6-BkcAA9UN.js} +2 -2
- package/dist/{ExecutorMemoryControl-C8RLYQdd-B8ZEGYAX.js → ExecutorMemoryControl-C8RLYQdd-Cedm5trN.js} +2 -2
- package/dist/{FileChooserControl-DNfgbEr3.js → FileChooserControl-Ct51fY7Z.js} +1 -1
- package/dist/{FileChooserControlBase-BozmAfJW.js → FileChooserControlBase-CGo0zU3e.js} +35 -35
- package/dist/{FileChooserControlForMultiFile-B21mwjMa.js → FileChooserControlForMultiFile-Dh_WXtgn.js} +1 -1
- package/dist/{FileUploadControl-D5QfM3Wa-DXqlNHXY.js → FileUploadControl-D5QfM3Wa-7kqQRO4-.js} +1 -1
- package/dist/FlowVariableButtonWrapper-mLnms8yQ.js +466 -0
- package/dist/FlowVariableSelector-C4IiVzue.js +162 -0
- package/dist/{GridSelectionControl-RKdnWWGk-CqxxipH6.js → GridSelectionControl-RKdnWWGk-naGGUZCh.js} +13 -13
- package/dist/{HorizontalLayout-B_lETfCu-CQVlABjY.js → HorizontalLayout-B_lETfCu-BZK7jH4z.js} +2 -2
- package/dist/{IntegerControl-Cr8SO0xH-DmFardsB.js → IntegerControl-Cr8SO0xH-lclR3djp.js} +2 -2
- package/dist/{IntervalControl-BdjKEwLy-CRGsrkTU.js → IntervalControl-BdjKEwLy-C_LCaU8r.js} +6 -6
- package/dist/{LabeledGroup-BSlRYaIO.js → LabeledGroup-C4WOU_qE.js} +1 -1
- package/dist/{LegacyCredentialsControl-DDppdKDf.js → LegacyCredentialsControl-CuFuBunJ.js} +11 -11
- package/dist/{LinkControl-QMwkCJlj-D7KOgNqO.js → LinkControl-QMwkCJlj-DZRZvKsJ.js} +8 -8
- package/dist/{LoadingDropdown-BpU4Uiin-DDrrGAtm.js → LoadingDropdown-BpU4Uiin-DpT8YNnA.js} +1 -1
- package/dist/{ManualTwinlistControl-5dfnmQZ--BLDAtepu.js → ManualTwinlistControl-5dfnmQZ--9BVHFNRR.js} +5 -5
- package/dist/{MultiFileChooserControl-yLU6lVm6.js → MultiFileChooserControl-Buzeme6N.js} +54 -54
- package/dist/{NameFilter-DzqgrcaF-BHDDEtD7.js → NameFilter-DzqgrcaF-Cl38kTPw.js} +2 -2
- package/dist/{NumberControl-ODy5GAlR-DqeFhQlG.js → NumberControl-ODy5GAlR-IQBNh99B.js} +2 -2
- package/dist/{NumberControlBase-Cl3QcvzB-CLt8mpCC.js → NumberControlBase-Cl3QcvzB-DLl4RMsa.js} +5 -5
- package/dist/{OneOfDropdown-CMPRAraI-D0fD0jJG.js → OneOfDropdown-CMPRAraI-DyOs4qXq.js} +2 -2
- package/dist/{ProgressButtonControl-hlI6JZ-z-iW0cQ79f.js → ProgressButtonControl-hlI6JZ-z-C3y7IOhk.js} +12 -12
- package/dist/{RadioButtonsWithDescriptionControl-DJu3ODo7-BVxmFTjy.js → RadioButtonsWithDescriptionControl-DJu3ODo7-BvOWhYc3.js} +9 -9
- package/dist/{RadioControl-D_NE5s4n-CBhjB07g.js → RadioControl-D_NE5s4n-DQ3orr8G.js} +2 -2
- package/dist/{RadioControlBase-knF86px0-M-iKdCgZ.js → RadioControlBase-knF86px0-CNYDwFjA.js} +3 -3
- package/dist/{ResourceControlBase-BVMVVYns-CCmfdMoZ.js → ResourceControlBase-BVMVVYns-DHo4NA_m.js} +17 -17
- package/dist/{RichTextControl-JIM904_P-Cz7wPLpv.js → RichTextControl-JIM904_P-CCTpWWMW.js} +2717 -2697
- package/dist/{SectionLayout-Ca6XH3w3-C31MJtZ9.js → SectionLayout-Ca6XH3w3-Civ901Ea.js} +3 -3
- package/dist/{SettingsSubPanelLayout-B7QJ7YhZ-BVhurigk.js → SettingsSubPanelLayout-B7QJ7YhZ-Dmgm0Ir9.js} +20 -20
- package/dist/{SimpleTwinlistControl-CQ4tSh0c-D-AFsdOr.js → SimpleTwinlistControl-CQ4tSh0c-Ce_hUVf7.js} +3 -3
- package/dist/{SingleSelectControl-CJV9VMZm-jwZqt2tP.js → SingleSelectControl-CJV9VMZm-Bk8t6TSw.js} +3 -3
- package/dist/{SortListControl-D-ifoRva-VjNJfqzM.js → SortListControl-D-ifoRva-CJZ3kNt9.js} +5 -5
- package/dist/{StringFileChooserControl-BWoTwYp2.js → StringFileChooserControl-HEpT7Ip7.js} +8 -8
- package/dist/{TeamAndSpacesControl-D1FvyeCV-QFi264Nj.js → TeamAndSpacesControl-D1FvyeCV-DnRJHhj4.js} +9 -9
- package/dist/{TeamResourceControl-DyCO6-Nk-DHNrRSMY.js → TeamResourceControl-DyCO6-Nk-BI-LwsIM.js} +2 -2
- package/dist/{TextAreaControl-7QziyTgn-BniXqehe.js → TextAreaControl-7QziyTgn-BtBO7YNu.js} +1 -1
- package/dist/{TimeControl-B29iTlhP-eYfkjPai.js → TimeControl-B29iTlhP-e7HifMYl.js} +3 -3
- package/dist/{TimeframesControl-Wvu--J0V-DhhqpxZS.js → TimeframesControl-Wvu--J0V-BuY4sciw.js} +9 -9
- package/dist/{TwinlistControlBase-CaRdq20R-BspKBwDU.js → TwinlistControlBase-CaRdq20R-Dc80qJgM.js} +3 -3
- package/dist/{TypedStringFilter-B3ZMqGIC-D3eyvWTQ.js → TypedStringFilter-B3ZMqGIC-ByKsSSQ4.js} +2 -2
- package/dist/{ValueSwitchControl-H2t2Wgo6-Dkr6ED74.js → ValueSwitchControl-H2t2Wgo6-CQw22eR0.js} +2 -2
- package/dist/{VennDiagramLayout-rZsnxKb8.js → VennDiagramLayout-BiBLF_be.js} +15 -15
- package/dist/{VerticalLayout-sPAmI_XK-BHSQFbh5.js → VerticalLayout-sPAmI_XK-BZz3aVLy.js} +2 -2
- package/dist/{ZonedDateTimeControl-Co3v2EVv-fcHef5TR.js → ZonedDateTimeControl-Co3v2EVv-mFgzT9ZR.js} +2 -2
- package/dist/{_plugin-vue_export-helper-B3ysoDQm-C4BqYrqY.js → _plugin-vue_export-helper-B3ysoDQm-jCLY2oWQ.js} +1 -1
- package/dist/elementCheckboxRenderer-BTDQ1ITf.js +117 -0
- package/dist/{fileChooserRenderer-CqIzTlME.js → fileChooserRenderer-C9ULvJjo.js} +3 -3
- package/dist/{inject-DEsHVs5q-zP4nUeAa.js → inject-DEsHVs5q-ChUMe45j.js} +1 -1
- package/dist/lib/main.d.ts +5 -3
- package/dist/main.js +764 -692
- package/dist/parameters.js +469 -647
- package/dist/{paths-DH9g52IX.js → paths-daLajhdU.js} +9 -6
- package/dist/{plainDateTimeUtils-5uOCJ4N5-DRHKOepZ.js → plainDateTimeUtils-5uOCJ4N5-3VUpuprJ.js} +2 -2
- package/dist/{rolldown-runtime-Dy4uBu1J-Cwht8A8-.js → rolldown-runtime-Dy4uBu1J-DiUrVT6I.js} +1 -1
- package/dist/settings-service-browser-mock.js +13 -5
- package/dist/src/components/MainEditorPane.vue.d.ts +74 -7
- package/dist/src/components/ScriptingEditor.vue.d.ts +0 -23
- package/dist/src/editor.d.ts +1 -1
- package/dist/src/settings-service-browser-mock.d.ts +3 -4
- package/dist/src/settings-service.d.ts +3 -35
- package/dist/src/store/settings.d.ts +52 -0
- package/dist/src-pw1LRAdm-uu-I1-YX.js +1246 -0
- package/dist/{temporal-polyfill-D4u1I_Z--enRiDjrC.js → temporal-polyfill-D4u1I_Z--B8F1flcx.js} +1 -1
- package/dist/{toKdsPossibleValues-BAEvyJCk-COlZpol8.js → toKdsPossibleValues-BAEvyJCk-Dww9tu-1.js} +1 -1
- package/dist/useArrayIds-CpJmT5_d.js +28 -0
- package/dist/{useBuiltinValidations-B_Drc2y--BIe8Vj_8.js → useBuiltinValidations-B_Drc2y--vtgmNI5H.js} +2 -2
- package/dist/{useDirtySettings-C_JB8Tb9.js → useDirtySettings-DVDbAZgX.js} +1 -1
- package/dist/{useFileChooserBrowseOptions-l1i9z66C.js → useFileChooserBrowseOptions-ClAKTcw1.js} +16 -16
- package/dist/{useFlowVariables-BFaB9PV-.js → useFlowVariables-BPi2ZpWk.js} +8 -8
- package/dist/{usePossibleValues-Cx6iSt_X-BlD7PZcJ.js → usePossibleValues-Cx6iSt_X-Ch5oJkDE.js} +2 -2
- package/dist/{useProvideForFlowVariables-AgNwtMFv.js → useProvideForFlowVariables-Ck3YUR2C.js} +2 -2
- package/dist/{useProvidedState-478_KXOe-KGpEF13j.js → useProvidedState-478_KXOe-Dpb35s5s.js} +2 -2
- package/dist/{useSideDrawerContent-Bl7nrXfr.js → useSideDrawerContent-BKwzHoq0.js} +2 -2
- package/dist/{useUnknownValuesInTwinlist-CHB8kt9t-Bak4ZAxt.js → useUnknownValuesInTwinlist-CHB8kt9t-C4bjDxVB.js} +30 -30
- package/dist/{useUpdates-Binc_B7h.js → useUpdates-Db1ELMwP.js} +60 -60
- package/dist/{utils-DmZLgn8X-D9PS3NK4.js → utils-DmZLgn8X-yDkNNqcu.js} +1 -1
- package/package.json +2 -2
- package/dist/ButtonControl-JfX5cPMH.js +0 -117
- package/dist/ai-bar-DEyz4yf0.js +0 -332
- package/dist/elementCheckboxRenderer-CfYz9-5L.js +0 -214
- package/dist/src-pw1LRAdm-BUOXZfmX.js +0 -1246
- package/dist/useArrayIds-CvcfiogC.js +0 -29
- package/dist/v4-Dd9glBki.js +0 -30
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { n as t } from "./inject-DGoSf00A.js";
|
|
3
|
+
import { C as n, n as r } from "./dist-iAFUw6uq.js";
|
|
4
|
+
import { t as i } from "./set-DhBYVp3B.js";
|
|
5
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, defineComponent as u, onMounted as d, openBlock as f, ref as p, toDisplayString as m, unref as h } from "vue";
|
|
6
|
+
//#region ../core-ui/src/nodeDialog/utils/getFlattenedSettings.ts
|
|
7
|
+
var g = ({ view: e, model: t }) => ({
|
|
8
|
+
...e,
|
|
9
|
+
...t
|
|
10
|
+
}), _ = { class: "button-wrapper" }, v = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "error-message"
|
|
13
|
+
}, y = /*#__PURE__*/ e(/* @__PURE__ */ u({
|
|
14
|
+
__name: "ButtonControl",
|
|
15
|
+
props: {
|
|
16
|
+
control: {},
|
|
17
|
+
handleChange: { type: Function },
|
|
18
|
+
changeValue: { type: Function },
|
|
19
|
+
disabled: { type: Boolean },
|
|
20
|
+
labelForId: {},
|
|
21
|
+
error: { type: Boolean },
|
|
22
|
+
subText: {},
|
|
23
|
+
onRegisterValidation: { type: Function }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
let u = t("registerWatcher"), y = t("getData"), b = t("applyData"), x = e, S = p(null), C = () => {
|
|
27
|
+
S.value = null;
|
|
28
|
+
}, w = p({}), T = (e) => {
|
|
29
|
+
w.value = g(e);
|
|
30
|
+
}, E = p({}), D = a(() => x.control.uischema.options?.states ?? []), O = (e) => {
|
|
31
|
+
C(), E.value = D.value.find(({ id: t }) => t === e);
|
|
32
|
+
}, k = (e) => {
|
|
33
|
+
setTimeout(() => x.changeValue(e));
|
|
34
|
+
}, A = (e) => {
|
|
35
|
+
if (e === null) return;
|
|
36
|
+
let { settingValue: t, setSettingValue: n, buttonState: r } = e;
|
|
37
|
+
n && k(t), O(r);
|
|
38
|
+
}, j = (e, t = () => {}) => {
|
|
39
|
+
let { state: n } = e;
|
|
40
|
+
if (n === "SUCCESS") {
|
|
41
|
+
A(e.result);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
n === "FAIL" && (S.value = e.message?.[0]), t();
|
|
45
|
+
}, M = p(0), N = crypto.randomUUID(), P = async ({ method: e, options: t, handler: n }, r = () => {}) => {
|
|
46
|
+
M.value += 1;
|
|
47
|
+
let i = await y({
|
|
48
|
+
method: e,
|
|
49
|
+
options: [
|
|
50
|
+
N,
|
|
51
|
+
n,
|
|
52
|
+
...t
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
--M.value, j(i, r);
|
|
56
|
+
}, F = async (e) => {
|
|
57
|
+
T(e), await P({
|
|
58
|
+
method: "settings.initializeButton",
|
|
59
|
+
options: [x.control.data],
|
|
60
|
+
handler: x.control.uischema.options.actionHandler
|
|
61
|
+
});
|
|
62
|
+
}, I = (e) => {
|
|
63
|
+
P({
|
|
64
|
+
method: "settings.update",
|
|
65
|
+
options: [g(e)],
|
|
66
|
+
handler: x.control.uischema.options.updateOptions.updateHandler
|
|
67
|
+
});
|
|
68
|
+
}, L = async () => {
|
|
69
|
+
if (b && x.control.uischema.options?.incrementAndApplyOnClick) {
|
|
70
|
+
b((e) => i(e, x.control.path, x.control.data + 1));
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
let { id: e, nextState: t } = E.value, n = E.value;
|
|
74
|
+
t !== void 0 && O(t), await P({
|
|
75
|
+
method: "settings.invokeButtonAction",
|
|
76
|
+
options: [e, w.value],
|
|
77
|
+
handler: x.control.uischema.options.actionHandler
|
|
78
|
+
}, () => {
|
|
79
|
+
t === E.value.id && (E.value = n);
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
d(() => {
|
|
83
|
+
u({
|
|
84
|
+
init: F,
|
|
85
|
+
transformSettings: T,
|
|
86
|
+
dependencies: x.control.uischema.options?.dependencies || []
|
|
87
|
+
});
|
|
88
|
+
let e = x.control.uischema?.options?.updateOptions;
|
|
89
|
+
e !== void 0 && u({
|
|
90
|
+
transformSettings: I,
|
|
91
|
+
dependencies: e.dependencies
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
let R = a(() => x.control.uischema.options?.displayErrorMessage ?? !0);
|
|
95
|
+
return (e, t) => (f(), c("div", _, [
|
|
96
|
+
l(h(r), {
|
|
97
|
+
disabled: e.disabled || E.value.disabled,
|
|
98
|
+
variant: E.value.primary ? "filled" : "outlined",
|
|
99
|
+
size: "small",
|
|
100
|
+
label: E.value.text,
|
|
101
|
+
onClick: L
|
|
102
|
+
}, null, 8, [
|
|
103
|
+
"disabled",
|
|
104
|
+
"variant",
|
|
105
|
+
"label"
|
|
106
|
+
]),
|
|
107
|
+
M.value > 0 ? (f(), o(h(n), {
|
|
108
|
+
key: 0,
|
|
109
|
+
size: "small"
|
|
110
|
+
})) : s("", !0),
|
|
111
|
+
S.value && R.value ? (f(), c("span", v, " Error: " + m(S.value), 1)) : s("", !0)
|
|
112
|
+
]));
|
|
113
|
+
}
|
|
114
|
+
}), [["__scopeId", "data-v-ce72bcef"]]);
|
|
115
|
+
//#endregion
|
|
116
|
+
export { y as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as e } from "./dist-iAFUw6uq.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-B3ysoDQm-jCLY2oWQ.js";
|
|
3
3
|
import { createElementBlock as n, createElementVNode as r, createVNode as i, defineComponent as a, openBlock as o, ref as s, renderSlot as c, unref as l } from "vue";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
5
|
-
var u = { class: "checkbox-container" }, d = /*#__PURE__*/
|
|
4
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/CheckboxControl-C99OdmDL.js
|
|
5
|
+
var u = { class: "checkbox-container" }, d = /*#__PURE__*/ t(/* @__PURE__ */ a({
|
|
6
6
|
__name: "CheckboxControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -14,20 +14,20 @@ var u = { class: "checkbox-container" }, d = /*#__PURE__*/ e(/* @__PURE__ */ a({
|
|
|
14
14
|
subText: {},
|
|
15
15
|
onRegisterValidation: { type: Function }
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
17
|
+
setup(t) {
|
|
18
18
|
let a = s(!1);
|
|
19
19
|
return (s, d) => (o(), n("div", {
|
|
20
20
|
class: "checkbox-input",
|
|
21
21
|
onMouseover: d[1] ||= (e) => a.value = !0,
|
|
22
22
|
onMouseleave: d[2] ||= (e) => a.value = !1
|
|
23
|
-
}, [r("div", u, [i(l(
|
|
23
|
+
}, [r("div", u, [i(l(e), {
|
|
24
24
|
class: "checkbox",
|
|
25
|
-
disabled:
|
|
26
|
-
"model-value":
|
|
27
|
-
label:
|
|
28
|
-
error:
|
|
29
|
-
"sub-text":
|
|
30
|
-
"onUpdate:modelValue": d[0] ||= (
|
|
25
|
+
disabled: t.disabled,
|
|
26
|
+
"model-value": t.control.data,
|
|
27
|
+
label: t.control.label,
|
|
28
|
+
error: t.error,
|
|
29
|
+
"sub-text": t.subText,
|
|
30
|
+
"onUpdate:modelValue": d[0] ||= (e) => t.changeValue(e === !0)
|
|
31
31
|
}, null, 8, [
|
|
32
32
|
"disabled",
|
|
33
33
|
"model-value",
|
package/dist/{CheckboxesControl-BZhMhT9x-DX6Wv2OC.js → CheckboxesControl-BZhMhT9x-Pc8YrIvQ.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./dist-iAFUw6uq.js";
|
|
2
|
-
import { n as t } from "./utils-DmZLgn8X-
|
|
3
|
-
import { t as n } from "./usePossibleValues-Cx6iSt_X-
|
|
2
|
+
import { n as t } from "./utils-DmZLgn8X-yDkNNqcu.js";
|
|
3
|
+
import { t as n } from "./usePossibleValues-Cx6iSt_X-Ch5oJkDE.js";
|
|
4
4
|
import { computed as r, createBlock as i, createCommentVNode as a, defineComponent as o, onMounted as s, openBlock as c, ref as l, toRef as u, unref as d } from "vue";
|
|
5
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
5
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/CheckboxesControl-BZhMhT9x.js
|
|
6
6
|
var f = /* @__PURE__ */ o({
|
|
7
7
|
__name: "CheckboxesControl",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./knime-io-B5eFG9KP.js";
|
|
2
|
-
import { n as r } from "./useProvidedState-478_KXOe-
|
|
2
|
+
import { n as r } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
3
3
|
import { KdsCodeEditor as i } from "@knime/kds-code-editor";
|
|
4
4
|
import { computed as a, createBlock as o, defineComponent as s, inject as c, onMounted as l, onUnmounted as u, openBlock as d, ref as f, unref as p, useTemplateRef as m, watch as h } from "vue";
|
|
5
5
|
import { MarkerSeverity as g, editor as _ } from "monaco-editor";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "./dist-iAFUw6uq.js";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r, unref as i } from "vue";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/ColorControl-D1dNnNbO.js
|
|
4
4
|
var a = /* @__PURE__ */ n({
|
|
5
5
|
__name: "ColorControl",
|
|
6
6
|
props: {
|
package/dist/{ColorPreviewControl-B4zix2kb-lDW3LcbF.js → ColorPreviewControl-B4zix2kb-C8iUsUfi.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { p as e } from "./dist-iAFUw6uq.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-B3ysoDQm-jCLY2oWQ.js";
|
|
3
|
+
import { n } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createVNode as s, defineComponent as c, normalizeStyle as l, openBlock as u, renderList as d, unref as f } from "vue";
|
|
5
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
6
|
-
var p = { class: "empty-state-wrapper" }, m = /*#__PURE__*/
|
|
5
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/ColorPreviewControl-B4zix2kb.js
|
|
6
|
+
var p = { class: "empty-state-wrapper" }, m = /*#__PURE__*/ t(/* @__PURE__ */ c({
|
|
7
7
|
__name: "ColorPreviewEmptyState",
|
|
8
|
-
setup(
|
|
9
|
-
return (
|
|
8
|
+
setup(t) {
|
|
9
|
+
return (t, n) => (u(), o("div", p, [s(f(e), { headline: "No colors" })]));
|
|
10
10
|
}
|
|
11
|
-
}), [["__scopeId", "data-v-7a09310d"]]), h = { class: "gradient-preview" }, g = /*#__PURE__*/
|
|
11
|
+
}), [["__scopeId", "data-v-7a09310d"]]), h = { class: "gradient-preview" }, g = /*#__PURE__*/ t(/* @__PURE__ */ c({
|
|
12
12
|
__name: "GradientPreview",
|
|
13
13
|
props: { gradient: {} },
|
|
14
14
|
setup(e) {
|
|
@@ -22,7 +22,7 @@ var p = { class: "empty-state-wrapper" }, m = /*#__PURE__*/ e(/* @__PURE__ */ c(
|
|
|
22
22
|
style: l({ background: s.value })
|
|
23
23
|
}, null, 4)) : (u(), a(m, { key: 1 }))]));
|
|
24
24
|
}
|
|
25
|
-
}), [["__scopeId", "data-v-8a745225"]]), _ = { class: "palette-preview" }, v = 8, y = /*#__PURE__*/
|
|
25
|
+
}), [["__scopeId", "data-v-8a745225"]]), _ = { class: "palette-preview" }, v = 8, y = /*#__PURE__*/ t(/* @__PURE__ */ c({
|
|
26
26
|
__name: "PalettePreview",
|
|
27
27
|
props: { palette: {} },
|
|
28
28
|
setup(e) {
|
|
@@ -53,7 +53,7 @@ var p = { class: "empty-state-wrapper" }, m = /*#__PURE__*/ e(/* @__PURE__ */ c(
|
|
|
53
53
|
onRegisterValidation: { type: Function }
|
|
54
54
|
},
|
|
55
55
|
setup(e) {
|
|
56
|
-
let
|
|
56
|
+
let t = e, r = n(i(() => t.control.uischema), "previewColors", { colors: [] }), s = (e) => !("stops" in e);
|
|
57
57
|
return (e, t) => (u(), o("div", b, [s(f(r)) ? (u(), a(y, {
|
|
58
58
|
key: 0,
|
|
59
59
|
palette: f(r)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as e } from "./dist-iAFUw6uq.js";
|
|
2
|
-
import { t } from "./usePossibleValues-Cx6iSt_X-
|
|
2
|
+
import { t } from "./usePossibleValues-Cx6iSt_X-Ch5oJkDE.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, openBlock as a, toRef as o, unref as s } from "vue";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/ComboBoxControl-BGWAD9IW.js
|
|
5
5
|
var c = /* @__PURE__ */ i({
|
|
6
6
|
__name: "ComboBoxControl",
|
|
7
7
|
props: {
|
package/dist/{ConfigurationNodeNotSupported-D-Rxn0Gi.js → ConfigurationNodeNotSupported-CGclvYAj.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { _ as e } from "./dist-iAFUw6uq.js";
|
|
2
|
+
import { s as t, t as n } from "./jsonforms-vue.esm-B9eODaNM.js";
|
|
3
3
|
import { computed as r, createBlock as i, defineComponent as a, openBlock as o, unref as s } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region ../core-ui/src/nodeDialog/uiComponents/ConfigurationNodeNotSupported.vue
|
|
6
6
|
var c = /* @__PURE__ */ a({
|
|
7
7
|
__name: "ConfigurationNodeNotSupported",
|
|
8
|
-
props:
|
|
9
|
-
setup(
|
|
10
|
-
let { renderer: a } =
|
|
11
|
-
return (
|
|
8
|
+
props: n(),
|
|
9
|
+
setup(n) {
|
|
10
|
+
let { renderer: a } = t(n), c = r(() => a.value.uischema.options?.nodeName), l = r(() => `Not Supported: ${c.value}`), u = r(() => `The node "${c.value}" is not supported in this dialog.`);
|
|
11
|
+
return (t, n) => (o(), i(s(e), {
|
|
12
12
|
headline: l.value,
|
|
13
13
|
description: u.value,
|
|
14
14
|
variant: "error"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as i, i as a } from "./src-pw1LRAdm-
|
|
2
|
+
import { n as t } from "./dist-iAFUw6uq.js";
|
|
3
|
+
import { n } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
4
|
+
import { r } from "./jsonforms-vue.esm-B9eODaNM.js";
|
|
5
|
+
import { a as i, i as a } from "./src-pw1LRAdm-uu-I1-YX.js";
|
|
6
6
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createVNode as u, defineComponent as d, openBlock as f, unref as p, withCtx as m } from "vue";
|
|
7
7
|
//#region ../core-ui/src/nodeDialog/layoutComponents/ControlWithSubParameters.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var h = { class: "control-with-sub-parameters" }, g = /*#__PURE__*/ e(/* @__PURE__ */ d({
|
|
9
9
|
__name: "ControlWithSubParameters",
|
|
10
10
|
props: { layout: {} },
|
|
11
11
|
setup(e) {
|
|
12
|
-
let d = e, g = o(() => d.layout.uischema.control), _ = o(() => d.layout.uischema.elements), v =
|
|
13
|
-
return (e,
|
|
12
|
+
let d = e, g = o(() => d.layout.uischema.control), _ = o(() => d.layout.uischema.elements), v = n(g, "showSubParameters", !0);
|
|
13
|
+
return (e, n) => (f(), l("div", h, [(f(), s(p(r), {
|
|
14
14
|
key: `${e.layout.path}-control`,
|
|
15
15
|
schema: e.layout.schema,
|
|
16
16
|
uischema: g.value,
|
|
@@ -26,21 +26,21 @@ var h = { class: "control-with-sub-parameters" }, g = /*#__PURE__*/ e(/* @__PURE
|
|
|
26
26
|
"renderers",
|
|
27
27
|
"cells"
|
|
28
28
|
])), p(v) ? (f(), s(p(i), { key: 0 }, {
|
|
29
|
-
"expand-button": m(({ expand:
|
|
29
|
+
"expand-button": m(({ expand: n }) => [u(p(t), {
|
|
30
30
|
class: "settings-button",
|
|
31
31
|
variant: "transparent",
|
|
32
32
|
size: "small",
|
|
33
33
|
"leading-icon": "settings",
|
|
34
34
|
ariaLabel: "Settings",
|
|
35
35
|
disabled: !e.layout.enabled,
|
|
36
|
-
onClick:
|
|
36
|
+
onClick: n
|
|
37
37
|
}, null, 8, ["disabled", "onClick"])]),
|
|
38
38
|
default: m(() => [u(p(a), {
|
|
39
39
|
class: "sub-parameters",
|
|
40
40
|
elements: _.value
|
|
41
41
|
}, {
|
|
42
|
-
default: m(({ element: t, index:
|
|
43
|
-
key: `${e.layout.path}-${
|
|
42
|
+
default: m(({ element: t, index: n }) => [(f(), s(p(r), {
|
|
43
|
+
key: `${e.layout.path}-${n}`,
|
|
44
44
|
schema: e.layout.schema,
|
|
45
45
|
uischema: t,
|
|
46
46
|
path: e.layout.path,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e } from "./useFlowVariables-
|
|
2
|
-
import { t } from "./CredentialsControlBase-
|
|
1
|
+
import { a as e } from "./useFlowVariables-BPi2ZpWk.js";
|
|
2
|
+
import { t } from "./CredentialsControlBase-u4DXxRC0.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, openBlock as a, unref as o } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region ../core-ui/src/nodeDialog/uiComponents/credentials/CredentialsControl.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { U as t, k as n } from "./dist-iAFUw6uq.js";
|
|
3
|
+
import { n as r } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
4
4
|
import { n as i } from "./utils-Cq7tM0Xv.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, defineComponent as l, openBlock as u, ref as d, unref as f, watch as p } from "vue";
|
|
6
6
|
//#region ../core-ui/src/nodeDialog/uiComponents/credentials/CredentialsControlBase.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -32,16 +32,16 @@ var m = ["id"], h = "*****************", g = /*#__PURE__*/ e(/* @__PURE__ */ l({
|
|
|
32
32
|
secondFactor: e,
|
|
33
33
|
isHiddenSecondFactor: !1
|
|
34
34
|
}));
|
|
35
|
-
}, C = a(() => y.value.isHiddenPassword ? h : y.value.password), w = a(() => y.value.isHiddenSecondFactor ? h : y.value.secondFactor), T = a(() => g.control.uischema), E = a(() => T.value.options ?? {}), D =
|
|
35
|
+
}, C = a(() => y.value.isHiddenPassword ? h : y.value.password), w = a(() => y.value.isHiddenSecondFactor ? h : y.value.secondFactor), T = a(() => g.control.uischema), E = a(() => T.value.options ?? {}), D = r(T, "hasUsername", !0), O = r(T, "hasPassword", !0), k = a(() => O.value && (E.value.showSecondFactor ?? !1)), A = a(() => E.value?.usernameLabel ?? "Username"), j = a(() => E.value?.passwordLabel ?? "Password"), M = a(() => E.value?.secondFactorLabel ?? "Second authentication factor"), N = a(() => g.flowSettings?.controllingFlowVariableName);
|
|
36
36
|
p(() => N.value, (e) => e || _("change", v()));
|
|
37
37
|
let P = d(null);
|
|
38
|
-
return (e,
|
|
38
|
+
return (e, r) => (u(), c("div", {
|
|
39
39
|
id: e.labelForId ?? void 0,
|
|
40
40
|
ref_key: "controlElement",
|
|
41
41
|
ref: P,
|
|
42
42
|
class: "credentials-input-wrapper"
|
|
43
43
|
}, [
|
|
44
|
-
f(D) ? (u(), o(f(
|
|
44
|
+
f(D) ? (u(), o(f(t), {
|
|
45
45
|
key: 0,
|
|
46
46
|
placeholder: A.value,
|
|
47
47
|
"model-value": y.value.username ?? "",
|
|
@@ -54,7 +54,7 @@ var m = ["id"], h = "*****************", g = /*#__PURE__*/ e(/* @__PURE__ */ l({
|
|
|
54
54
|
"disabled",
|
|
55
55
|
"error"
|
|
56
56
|
])) : s("", !0),
|
|
57
|
-
f(O) ? (u(), o(f(
|
|
57
|
+
f(O) ? (u(), o(f(n), {
|
|
58
58
|
key: 1,
|
|
59
59
|
variant: "password",
|
|
60
60
|
placeholder: j.value,
|
|
@@ -70,7 +70,7 @@ var m = ["id"], h = "*****************", g = /*#__PURE__*/ e(/* @__PURE__ */ l({
|
|
|
70
70
|
"disabled",
|
|
71
71
|
"error"
|
|
72
72
|
])) : s("", !0),
|
|
73
|
-
k.value ? (u(), o(f(
|
|
73
|
+
k.value ? (u(), o(f(n), {
|
|
74
74
|
key: 2,
|
|
75
75
|
variant: "key",
|
|
76
76
|
placeholder: M.value,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as e } from "./dist-iAFUw6uq.js";
|
|
2
|
-
import { t } from "./temporal-polyfill-D4u1I_Z--
|
|
3
|
-
import { t as n } from "./plainDateTimeUtils-5uOCJ4N5-
|
|
2
|
+
import { t } from "./temporal-polyfill-D4u1I_Z--B8F1flcx.js";
|
|
3
|
+
import { t as n } from "./plainDateTimeUtils-5uOCJ4N5-3VUpuprJ.js";
|
|
4
4
|
import { computed as r, createBlock as i, defineComponent as a, openBlock as o, unref as s } from "vue";
|
|
5
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
5
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/DateControl-D0HfVrtz.js
|
|
6
6
|
var c = /* @__PURE__ */ a({
|
|
7
7
|
__name: "DateControl",
|
|
8
8
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as e, s as t } from "./dist-iAFUw6uq.js";
|
|
2
|
-
import { t as n } from "./temporal-polyfill-D4u1I_Z--
|
|
3
|
-
import { t as r } from "./plainDateTimeUtils-5uOCJ4N5-
|
|
2
|
+
import { t as n } from "./temporal-polyfill-D4u1I_Z--B8F1flcx.js";
|
|
3
|
+
import { t as r } from "./plainDateTimeUtils-5uOCJ4N5-3VUpuprJ.js";
|
|
4
4
|
import { computed as i, createBlock as a, defineComponent as o, openBlock as s, ref as c, unref as l } from "vue";
|
|
5
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
5
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/DateTimeControl-kTQZI9JC.js
|
|
6
6
|
var u = /* @__PURE__ */ o({
|
|
7
7
|
__name: "DateTimeControl",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { c as e } from "./dist-iAFUw6uq.js";
|
|
2
|
+
import { n as t } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, openBlock as a, unref as o } from "vue";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/DateTimeFormatPickerControl-BiYcsKSn.js
|
|
5
5
|
var s = /* @__PURE__ */ i({
|
|
6
6
|
__name: "DateTimeFormatPickerControl",
|
|
7
7
|
props: {
|
|
@@ -15,8 +15,8 @@ var s = /* @__PURE__ */ i({
|
|
|
15
15
|
labelForId: {}
|
|
16
16
|
},
|
|
17
17
|
setup(i) {
|
|
18
|
-
let s = i, c = n(() => s.control.uischema), l = n(() => c.value.options), u = n(() => l.value?.allowedFormats), d =
|
|
19
|
-
return (
|
|
18
|
+
let s = i, c = n(() => s.control.uischema), l = n(() => c.value.options), u = n(() => l.value?.allowedFormats), d = t(c, "dateTimeFormats", []);
|
|
19
|
+
return (t, n) => (a(), r(o(e), {
|
|
20
20
|
id: i.labelForId,
|
|
21
21
|
ariaLabel: i.control.label,
|
|
22
22
|
"model-value": s.control.data,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as e, t } from "./useDirtySettings-DVDbAZgX.js";
|
|
2
|
+
import { n } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
3
3
|
import { computed as r, defineComponent as i, watch as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region ../core-ui/src/nodeDialog/uiComponents/DirtyTrackerRenderer.vue
|
|
@@ -16,7 +16,7 @@ var o = /* @__PURE__ */ i({
|
|
|
16
16
|
onRegisterValidation: { type: Function }
|
|
17
17
|
},
|
|
18
18
|
setup(i) {
|
|
19
|
-
let o = i, s = r(() => o.control.uischema), c =
|
|
19
|
+
let o = i, s = r(() => o.control.uischema), c = n(s, "makeDirty", !1), { registerNonControlState: l } = e(), u = l(t(o.control.path))({
|
|
20
20
|
initialValue: !1,
|
|
21
21
|
valueComparator: {
|
|
22
22
|
isModified: (e) => e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./usePossibleValues-Cx6iSt_X-
|
|
2
|
-
import { t } from "./LoadingDropdown-BpU4Uiin-
|
|
1
|
+
import { t as e } from "./usePossibleValues-Cx6iSt_X-Ch5oJkDE.js";
|
|
2
|
+
import { t } from "./LoadingDropdown-BpU4Uiin-DpT8YNnA.js";
|
|
3
3
|
import { createBlock as n, defineComponent as r, openBlock as i, toRef as a, unref as o } from "vue";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/DropdownControl-jsayV3N5.js
|
|
5
5
|
var s = /* @__PURE__ */ r({
|
|
6
6
|
__name: "DropdownControl",
|
|
7
7
|
props: {
|
package/dist/{ExecutorCoresControl-DNo2SaC6-BoEm-W4r.js → ExecutorCoresControl-DNo2SaC6-BkcAA9UN.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./ResourceControlBase-BVMVVYns-
|
|
1
|
+
import { t as e } from "./ResourceControlBase-BVMVVYns-DHo4NA_m.js";
|
|
2
2
|
import { computed as t, createBlock as n, defineComponent as r, mergeProps as i, openBlock as a } from "vue";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/ExecutorCoresControl-DNo2SaC6.js
|
|
4
4
|
var o = /* @__PURE__ */ r({
|
|
5
5
|
__name: "ExecutorCoresControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./ResourceControlBase-BVMVVYns-
|
|
1
|
+
import { t as e } from "./ResourceControlBase-BVMVVYns-DHo4NA_m.js";
|
|
2
2
|
import { computed as t, createBlock as n, defineComponent as r, mergeProps as i, openBlock as a } from "vue";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.18_type_8d51cc9ea2721872177fa4b0010b5104/node_modules/@knime/jsonforms/dist/ExecutorMemoryControl-C8RLYQdd.js
|
|
4
4
|
var o = /* @__PURE__ */ r({
|
|
5
5
|
__name: "ExecutorMemoryControl",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as e } from "./jsonforms-vue.esm-B9eODaNM.js";
|
|
2
|
-
import { t } from "./FileChooserControlBase-
|
|
2
|
+
import { t } from "./FileChooserControlBase-CGo0zU3e.js";
|
|
3
3
|
import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region ../core-ui/src/nodeDialog/uiComponents/fileChooser/withTabs/FileChooserControl.vue
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as t } from "./useFlowVariables-BPi2ZpWk.js";
|
|
3
3
|
import { D as n, I as r, L as i, S as a, _ as o, n as s, p as c } from "./dist-iAFUw6uq.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as l } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
5
5
|
import { n as u } from "./utils-Cq7tM0Xv.js";
|
|
6
|
-
import { i as d, n as f, r as p, t as m } from "./useFileChooserBrowseOptions-
|
|
7
|
-
import { a as h, i as g, n as _, r as v, t as y } from "./useSideDrawerContent-
|
|
6
|
+
import { i as d, n as f, r as p, t as m } from "./useFileChooserBrowseOptions-ClAKTcw1.js";
|
|
7
|
+
import { a as h, i as g, n as _, r as v, t as y } from "./useSideDrawerContent-BKwzHoq0.js";
|
|
8
8
|
import { t as b } from "./useFileChooserContextInfo-CLuctHVL.js";
|
|
9
9
|
import { Fragment as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createPropsRestProxy as D, createVNode as O, defineComponent as k, h as A, isRef as j, onMounted as M, openBlock as N, ref as P, resolveDynamicComponent as F, toRef as I, unref as L, watch as R, withCtx as z } from "vue";
|
|
10
10
|
//#region ../core-ui/src/nodeDialog/uiComponents/fileChooser/composables/useFileChooserStateChange.ts
|
|
11
|
-
var B = (e,
|
|
12
|
-
let
|
|
11
|
+
var B = (e, t, n) => {
|
|
12
|
+
let r = l(n, "connectedFSOptions");
|
|
13
13
|
return {
|
|
14
|
-
onPathUpdate: (
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
path:
|
|
18
|
-
...
|
|
14
|
+
onPathUpdate: (n) => {
|
|
15
|
+
let i = r.value?.fileSystemSpecifier;
|
|
16
|
+
t(u(e.value, {
|
|
17
|
+
path: n,
|
|
18
|
+
...i ? { context: { fsSpecifier: i } } : {}
|
|
19
19
|
}));
|
|
20
20
|
},
|
|
21
|
-
onTimeoutUpdate: (
|
|
22
|
-
|
|
21
|
+
onTimeoutUpdate: (n) => {
|
|
22
|
+
t(u(e.value, { timeout: n }));
|
|
23
23
|
},
|
|
24
|
-
onFsCategoryUpdate: (
|
|
25
|
-
|
|
24
|
+
onFsCategoryUpdate: (n) => {
|
|
25
|
+
t(u(e.value, { fsCategory: n }));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
}, V = /^[A-Za-z0-9]+:\/\//, H = "knime://knime.space/", U = "knime://knime.workflow/", W = "knime://knime.workflow/data/", G = [
|
|
@@ -211,17 +211,17 @@ var B = (e, n, r) => {
|
|
|
211
211
|
uischema: {}
|
|
212
212
|
},
|
|
213
213
|
emits: ["update:modelValue", "applyAndClose"],
|
|
214
|
-
setup(e, { emit:
|
|
215
|
-
let
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
id: `file-chooser-${
|
|
214
|
+
setup(e, { emit: t }) {
|
|
215
|
+
let n = e, i = t, a = I(n, "uischema"), { onFsCategoryUpdate: o, onPathUpdate: s, onTimeoutUpdate: c } = B(I(n, "modelValue"), (e) => {
|
|
216
|
+
i("update:modelValue", e);
|
|
217
|
+
}, a), u = l(a, "selectionMode", "FILE"), { filteredExtensions: d, appendedExtension: f, isWriter: h, isLocal: g, isLoaded: _, tabsCanBeRendered: y, spacePath: b, relativeWorkflowPath: x, isConnected: D, portFileSystemName: O, portIndex: k, fileSystems: A } = m(a), j = (e, t, r) => ({
|
|
218
|
+
id: `file-chooser-${n.id}-tab-${e}`,
|
|
219
219
|
value: e,
|
|
220
220
|
label: t,
|
|
221
|
-
panelId: `file-chooser-${
|
|
221
|
+
panelId: `file-chooser-${n.id}-panel-${e}`,
|
|
222
222
|
accessory: {
|
|
223
223
|
type: "icon",
|
|
224
|
-
name:
|
|
224
|
+
name: r
|
|
225
225
|
}
|
|
226
226
|
}), M = (e, t) => e ? [t] : [], F = S(() => [
|
|
227
227
|
...M(D.value, j("CONNECTED", O.value, "connection")),
|
|
@@ -229,15 +229,15 @@ var B = (e, n, r) => {
|
|
|
229
229
|
...M(A.value.includes("SPACE"), j("SPACE", "Current space", g.value ? "space-local" : "cloud-knime")),
|
|
230
230
|
...M(A.value.includes("EMBEDDED"), j("EMBEDDED", "Embedded data", "folder")),
|
|
231
231
|
...M(A.value.includes("CUSTOM_URL"), j("CUSTOM_URL", "URL", "link"))
|
|
232
|
-
]), R = S(() =>
|
|
233
|
-
V.value = e,
|
|
232
|
+
]), R = S(() => n.modelValue.fsCategory === "relative-to-workflow"), z = R.value, V = P(R.value), H = (e) => {
|
|
233
|
+
V.value = e, o(e ? "relative-to-workflow" : "relative-to-current-hubspace");
|
|
234
234
|
}, U = S({
|
|
235
235
|
get: () => {
|
|
236
|
-
let e =
|
|
236
|
+
let e = n.modelValue.fsCategory;
|
|
237
237
|
return e === "relative-to-workflow" || e === "relative-to-current-hubspace" ? "SPACE" : e === "relative-to-embedded-data" ? "EMBEDDED" : e;
|
|
238
238
|
},
|
|
239
239
|
set: (e) => {
|
|
240
|
-
|
|
240
|
+
o(e === "SPACE" ? V.value || z ? "relative-to-workflow" : "relative-to-current-hubspace" : e === "EMBEDDED" ? "relative-to-embedded-data" : e);
|
|
241
241
|
}
|
|
242
242
|
}), W = S(() => {
|
|
243
243
|
let e = U.value === "SPACE", t = x.value;
|
|
@@ -249,10 +249,10 @@ var B = (e, n, r) => {
|
|
|
249
249
|
relativeRootIcon: "workflow",
|
|
250
250
|
initialFilePathIsRelative: z
|
|
251
251
|
} : null;
|
|
252
|
-
}), G = S(() => p(
|
|
252
|
+
}), G = S(() => p(n.modelValue.fsCategory, k.value)), { initialFilePathForCurrentTab: K, handleNavigate: q } = Z({
|
|
253
253
|
backendType: G,
|
|
254
|
-
modelValue: I(
|
|
255
|
-
}), Y = P(null), Q = S(() =>
|
|
254
|
+
modelValue: I(n, "modelValue")
|
|
255
|
+
}), Y = P(null), Q = S(() => n.modelValue.fsCategory === "relative-to-current-hubspace" ? b.value : n.modelValue.fsCategory === "relative-to-embedded-data" ? "Data" : null), $ = {
|
|
256
256
|
SPACE: "browse the current space",
|
|
257
257
|
EMBEDDED: "browse the embedded data",
|
|
258
258
|
CUSTOM_URL: "use a URL to read files",
|
|
@@ -271,8 +271,8 @@ var B = (e, n, r) => {
|
|
|
271
271
|
id: e.id,
|
|
272
272
|
"model-value": e.modelValue,
|
|
273
273
|
disabled: e.disabled,
|
|
274
|
-
"onUpdate:path": L(
|
|
275
|
-
"onUpdate:timeout": L(
|
|
274
|
+
"onUpdate:path": L(s),
|
|
275
|
+
"onUpdate:timeout": L(c)
|
|
276
276
|
}, null, 8, [
|
|
277
277
|
"id",
|
|
278
278
|
"model-value",
|
|
@@ -291,11 +291,11 @@ var B = (e, n, r) => {
|
|
|
291
291
|
"breadcrumb-root": Q.value,
|
|
292
292
|
"selection-mode": L(u),
|
|
293
293
|
"relative-to-options": W.value,
|
|
294
|
-
onChooseItem: L(
|
|
294
|
+
onChooseItem: L(s),
|
|
295
295
|
onNavigate: L(q),
|
|
296
296
|
"onUpdate:fileName": t[1] ||= (e) => Y.value = e,
|
|
297
297
|
"onUpdate:isRelativeTo": H,
|
|
298
|
-
onApplyAndClose: t[2] ||= (e) =>
|
|
298
|
+
onApplyAndClose: t[2] ||= (e) => i("applyAndClose")
|
|
299
299
|
}, null, 8, [
|
|
300
300
|
"id",
|
|
301
301
|
"filtered-extensions",
|
|
@@ -349,7 +349,7 @@ var B = (e, n, r) => {
|
|
|
349
349
|
changePath: { type: Function }
|
|
350
350
|
},
|
|
351
351
|
setup(e) {
|
|
352
|
-
let n = e, { uischema: r, isLoaded: i } = b(S(() => n.control.uischema)), o =
|
|
352
|
+
let n = e, { uischema: r, isLoaded: i } = b(S(() => n.control.uischema)), o = l(r, "connectedFSOptions"), s = S(() => ({
|
|
353
353
|
...r.value.options,
|
|
354
354
|
connectedFSOptions: o.value ?? r.value.options?.connectedFSOptions
|
|
355
355
|
})), { validCategories: c, isConnectedButNoFileConnectionIsAvailable: u, isConnected: d } = f(s), p = () => ({
|
|
@@ -360,7 +360,7 @@ var B = (e, n, r) => {
|
|
|
360
360
|
fsToString: "",
|
|
361
361
|
fsSpecifier: o.value?.fileSystemSpecifier
|
|
362
362
|
}
|
|
363
|
-
}), m = S(() => n.control.data ? n.toPath(n.control.data) : p()), { flowSettings: h } =
|
|
363
|
+
}), m = S(() => n.control.data ? n.toPath(n.control.data) : p()), { flowSettings: h } = t({ path: S(() => n.control.path) }), g = S(() => !!h.value?.controllingFlowVariableName);
|
|
364
364
|
R(() => g.value, (e) => {
|
|
365
365
|
e || n.changePath(p());
|
|
366
366
|
});
|