@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
package/dist/{temporal-polyfill-D4u1I_Z--enRiDjrC.js → temporal-polyfill-D4u1I_Z--B8F1flcx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
1
|
+
//#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/temporal-polyfill-D4u1I_Z-.js
|
|
2
2
|
var e = globalThis.Temporal, t = (e, t) => `Non-positive ${e}: ${t}`, n = (e, t) => `Non-finite ${e}: ${t}`, r = (e) => `Cannot convert bigint to ${e}`, i = "Invalid object", a = (e, t, n, r) => o(e, t) + `; must be between ${n}-${r}`, o = (e, t) => `Invalid ${e}: ${t}`, s = 1e3, c = 1e6, l = 1e9, u = 6e10, d = 36e11;
|
|
3
3
|
function f(e) {
|
|
4
4
|
return e === void 0 ? Object.create(null) : re(e);
|
package/dist/{toKdsPossibleValues-BAEvyJCk-COlZpol8.js → toKdsPossibleValues-BAEvyJCk-Dww9tu-1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
1
|
+
//#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/toKdsPossibleValues-BAEvyJCk.js
|
|
2
2
|
var e = (e) => e.map((e) => ({
|
|
3
3
|
id: e.id,
|
|
4
4
|
text: e.text,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region ../core-ui/src/nodeDialog/composables/nodeDialog/useArrayIds.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Map(), t = (t, n) => e.set(t, n), n = (t) => e.get(t) ?? null, r = (t) => e.delete(t), i = () => crypto.randomUUID(), a = (e, t) => (e[t] === void 0 && (e[t] = {}), e[t]), o = a, s = a, c = (e, t) => delete e[t], l = (e, t, r) => {
|
|
3
|
+
let i = r[t[0]];
|
|
4
|
+
if (e.length === 0) return [];
|
|
5
|
+
if (i === void 0) throw Error("No array layout found on value update. This should not happen.");
|
|
6
|
+
let a = Object.keys(i).find((t) => n(t) === e[0]);
|
|
7
|
+
if (a === void 0) throw Error("No array layout element id found on value update. This should not happen.");
|
|
8
|
+
return [a, ...l(e.slice(1), t.slice(1), i[a])];
|
|
9
|
+
}, u = (e, r, a) => {
|
|
10
|
+
let c = e[r] ?? o(e, r), l = Object.keys(c).find((e) => n(e) === a);
|
|
11
|
+
if (l === void 0) {
|
|
12
|
+
let e = i();
|
|
13
|
+
return t(e, a), {
|
|
14
|
+
indexId: e,
|
|
15
|
+
arrayRecord: s(c, e)
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
indexId: l,
|
|
20
|
+
arrayRecord: c[l]
|
|
21
|
+
};
|
|
22
|
+
}, d = (e, t, n) => {
|
|
23
|
+
if (t.length === 0) return n;
|
|
24
|
+
let [r, ...i] = t, [a, ...o] = e, { arrayRecord: s } = u(n, a, r);
|
|
25
|
+
return d(o, i, s);
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as a, d as c, c as i, t as l, s as n, n as o, i as r, u as s, o as t, l as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./useProvidedState-478_KXOe-
|
|
1
|
+
import { n as e } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
2
2
|
import { computed as t, onUnmounted as n, toRef as r } 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/useBuiltinValidations-B_Drc2y-.js
|
|
4
4
|
var i = (e = {}) => e.validation || null, a = (e) => e.replace(/^validation\./, ""), o = (t) => {
|
|
5
5
|
let n = (t.providedOptions ?? []).filter((e) => e.startsWith("validation."));
|
|
6
6
|
return n.length === 0 ? null : n.reduce((n, i) => ({
|
package/dist/{useFileChooserBrowseOptions-l1i9z66C.js → useFileChooserBrowseOptions-ClAKTcw1.js}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import { n as t } from "./
|
|
1
|
+
import { n as e } from "./inject-DGoSf00A.js";
|
|
2
|
+
import { n as t } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
3
3
|
import { computed as n, onMounted as r, ref as i, watch as a } from "vue";
|
|
4
4
|
//#region ../core-ui/src/nodeDialog/uiComponents/fileChooser/composables/useFileChooserBackend.ts
|
|
5
|
-
var o = ({ filteredExtensions:
|
|
6
|
-
let o =
|
|
5
|
+
var o = ({ filteredExtensions: t, appendedExtension: n, isWriter: r, isWorkflowFilterMode: i, backendType: a }) => {
|
|
6
|
+
let o = e("getData");
|
|
7
7
|
return {
|
|
8
|
-
listItems: (
|
|
8
|
+
listItems: (e, n, s) => o({
|
|
9
9
|
method: "fileChooser.listItems",
|
|
10
10
|
options: [
|
|
11
11
|
a.value,
|
|
12
|
-
|
|
12
|
+
e,
|
|
13
13
|
n,
|
|
14
14
|
{
|
|
15
|
-
extensions:
|
|
15
|
+
extensions: t.value,
|
|
16
16
|
isWriter: r.value,
|
|
17
17
|
isWorkflowFilterMode: i?.value ?? !1
|
|
18
18
|
},
|
|
19
19
|
s
|
|
20
20
|
]
|
|
21
21
|
}),
|
|
22
|
-
getFilePath: (
|
|
22
|
+
getFilePath: (e, r, i) => o({
|
|
23
23
|
method: "fileChooser.getFilePath",
|
|
24
24
|
options: [
|
|
25
25
|
a.value,
|
|
26
|
-
|
|
26
|
+
e,
|
|
27
27
|
r,
|
|
28
28
|
n?.value,
|
|
29
|
-
|
|
29
|
+
t.value,
|
|
30
30
|
i
|
|
31
31
|
]
|
|
32
32
|
}),
|
|
@@ -59,20 +59,20 @@ var o = ({ filteredExtensions: e, appendedExtension: n, isWriter: r, isWorkflowF
|
|
|
59
59
|
isConnected: r,
|
|
60
60
|
isConnectedButNoFileConnectionIsAvailable: i
|
|
61
61
|
};
|
|
62
|
-
}, u = (
|
|
63
|
-
let o = e
|
|
62
|
+
}, u = (e) => {
|
|
63
|
+
let o = t(e, "connectedFSOptions", Symbol("undefined")), s = (e) => typeof e == "object" && !!e, u = i(!1);
|
|
64
64
|
a(o, (e) => {
|
|
65
65
|
typeof e != "symbol" && (u.value = !0);
|
|
66
66
|
}, { immediate: !0 });
|
|
67
67
|
let d = n(() => ({
|
|
68
|
-
...
|
|
68
|
+
...e.value.options ?? {},
|
|
69
69
|
...s(o.value) && { connectedFSOptions: o.value }
|
|
70
|
-
})), { isLocal: f, isConnected: p, fileSystems: m } = l(d), h = n(() => d.value.isWriter), g = n(() => d.value.spaceFSOptions?.mountId ?? "Current space"), _ = n(() => d.value.spaceFSOptions?.spacePath), v = n(() => d.value.spaceFSOptions?.relativeWorkflowPath), y = n(() => s(o.value) ? o.value.portIndex : void 0), b = n(() => c(s(o.value) ? o.value.fileSystemType ?? "Connected file system" : "Connected file system")), x = e
|
|
70
|
+
})), { isLocal: f, isConnected: p, fileSystems: m } = l(d), h = n(() => d.value.isWriter), g = n(() => d.value.spaceFSOptions?.mountId ?? "Current space"), _ = n(() => d.value.spaceFSOptions?.spacePath), v = n(() => d.value.spaceFSOptions?.relativeWorkflowPath), y = n(() => s(o.value) ? o.value.portIndex : void 0), b = n(() => c(s(o.value) ? o.value.fileSystemType ?? "Connected file system" : "Connected file system")), x = t(e, "appendedExtension"), S = n(() => {
|
|
71
71
|
let e = d.value.fileExtensions;
|
|
72
72
|
return e?.length ? e : x.value ? [x.value] : [];
|
|
73
|
-
}), C = n(() => !
|
|
73
|
+
}), C = n(() => !e.value.providedOptions?.includes("appendedExtension") || x.value !== null);
|
|
74
74
|
return r(() => {
|
|
75
|
-
|
|
75
|
+
e.value.providedOptions?.includes("connectedFSOptions") || (u.value = !0);
|
|
76
76
|
}), {
|
|
77
77
|
filteredExtensions: S,
|
|
78
78
|
appendedExtension: x,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./inject-DGoSf00A.js";
|
|
2
|
-
import { i as t } from "./paths-
|
|
2
|
+
import { i as t } from "./paths-daLajhdU.js";
|
|
3
3
|
import { computed as n, inject as r, provide as i, reactive as a } from "vue";
|
|
4
4
|
//#region ../core-ui/src/nodeDialog/composables/components/useProvidedFlowVariablesMap.ts
|
|
5
|
-
var o = Symbol("flowVariablesMap"), s = () => {
|
|
6
|
-
let
|
|
7
|
-
return i(o,
|
|
8
|
-
flowVariablesMap:
|
|
9
|
-
setInitialFlowVariablesMap: (
|
|
10
|
-
Object.keys(
|
|
11
|
-
|
|
5
|
+
var o = Symbol("flowVariablesMap"), s = (e) => {
|
|
6
|
+
let t = e ?? a({});
|
|
7
|
+
return i(o, t), {
|
|
8
|
+
flowVariablesMap: t,
|
|
9
|
+
setInitialFlowVariablesMap: (e) => {
|
|
10
|
+
Object.keys(e).forEach((n) => {
|
|
11
|
+
t[n] = e[n];
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
};
|
package/dist/{usePossibleValues-Cx6iSt_X-BlD7PZcJ.js → usePossibleValues-Cx6iSt_X-Ch5oJkDE.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./useProvidedState-478_KXOe-
|
|
1
|
+
import { n as e } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
2
2
|
import { computed as t } 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/usePossibleValues-Cx6iSt_X.js
|
|
4
4
|
var n = (n, r) => {
|
|
5
5
|
let i = t(() => n.value.uischema), a = e(i, "possibleValues");
|
|
6
6
|
return { possibleValues: t(() => i.value.providedOptions?.includes("possibleValues") ? a.value : i.value.options?.possibleValues ?? (r?.defaultOnNonProvided === void 0 ? [] : r?.defaultOnNonProvided)) };
|
package/dist/{useProvideForFlowVariables-AgNwtMFv.js → useProvideForFlowVariables-Ck3YUR2C.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, n as t, o as n, r } from "./useFlowVariables-
|
|
2
|
-
import {
|
|
1
|
+
import { i as e, n as t, o as n, r } from "./useFlowVariables-BPi2ZpWk.js";
|
|
2
|
+
import { i } from "./useDirtySettings-DVDbAZgX.js";
|
|
3
3
|
import { computed as a, provide as o, unref as s } from "vue";
|
|
4
4
|
//#region ../core-ui/src/nodeDialog/uiComponents/flowVariables/composables/useControllingFlowVariable.ts
|
|
5
5
|
var c = ({ flowVariablesMap: e, getSettingStateFlowVariables: t }) => {
|
package/dist/{useProvidedState-478_KXOe-KGpEF13j.js → useProvidedState-478_KXOe-Dpb35s5s.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./inject-DEsHVs5q-
|
|
1
|
+
import { t as e } from "./inject-DEsHVs5q-ChUMe45j.js";
|
|
2
2
|
import { onMounted as t, ref as n, unref as r } 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/useProvidedState-478_KXOe.js
|
|
4
4
|
var i = (i, a, o = null) => {
|
|
5
5
|
let s = e("addStateProviderListener"), c = n(i.value.options?.[a] ?? o), l = r(i), u = "scope" in l ? { scope: l.scope } : { id: l.id };
|
|
6
6
|
return t(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { C as t, L as n, W as r, m as i, n as a, t as o } from "./dist-iAFUw6uq.js";
|
|
3
|
-
import { a as s } from "./src-pw1LRAdm-
|
|
4
|
-
import { i as c } from "./useFileChooserBrowseOptions-
|
|
3
|
+
import { a as s } from "./src-pw1LRAdm-uu-I1-YX.js";
|
|
4
|
+
import { i as c } from "./useFileChooserBrowseOptions-ClAKTcw1.js";
|
|
5
5
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, inject as _, onMounted as v, openBlock as y, provide as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, toRefs as T, unref as E, useTemplateRef as D, watch as O, withCtx as k } from "vue";
|
|
6
6
|
//#region ../core-ui/src/nodeDialog/uiComponents/fileChooser/composables/useFileChooserIcons.ts
|
|
7
7
|
var A = (e) => ({ getItemIcon: (t) => t.isDirectory ? "folder" : e.value ? "workflow" : "file-text" }), ee = (e) => ({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as r, r as i, t as a } from "./utils-DmZLgn8X-
|
|
4
|
-
import { n as o, t as s } from "./usePossibleValues-Cx6iSt_X-
|
|
5
|
-
import { t as c } from "./toKdsPossibleValues-BAEvyJCk-
|
|
1
|
+
import { H as e, J as t } from "./dist-iAFUw6uq.js";
|
|
2
|
+
import { t as n } from "./rolldown-runtime-Dy4uBu1J-DiUrVT6I.js";
|
|
3
|
+
import { i as r, r as i, t as a } from "./utils-DmZLgn8X-yDkNNqcu.js";
|
|
4
|
+
import { n as o, t as s } from "./usePossibleValues-Cx6iSt_X-Ch5oJkDE.js";
|
|
5
|
+
import { t as c } from "./toKdsPossibleValues-BAEvyJCk-Dww9tu-1.js";
|
|
6
6
|
import { computed as l, createBlock as u, defineComponent as d, mergeProps as f, openBlock as p, ref as m, toRef as h, unref as g, watch as _ } from "vue";
|
|
7
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
7
|
+
//#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/useUnknownValuesInTwinlist-CHB8kt9t.js
|
|
8
8
|
var v = /*@__PURE__*/ d({
|
|
9
9
|
__name: "MultimodeTwinlistControl",
|
|
10
10
|
props: {
|
|
@@ -25,8 +25,8 @@ var v = /*@__PURE__*/ d({
|
|
|
25
25
|
default: !1
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
setup(
|
|
29
|
-
let i =
|
|
28
|
+
setup(n) {
|
|
29
|
+
let i = n, { possibleValues: a } = s(h(i, "control")), { excludedLabel: d, includedLabel: m } = o(h(i, "control")), { selectedAndDeselected: _, setCurrentManualFilter: v } = S({
|
|
30
30
|
data: l(() => i.control.data),
|
|
31
31
|
possibleValueIds: l(() => a.value?.map(({ id: e }) => e) ?? null)
|
|
32
32
|
}), y = (e) => {
|
|
@@ -51,24 +51,24 @@ var v = /*@__PURE__*/ d({
|
|
|
51
51
|
}, O = l(() => {
|
|
52
52
|
switch (i.control.data.mode.toUpperCase()) {
|
|
53
53
|
case "WILDCARD":
|
|
54
|
-
case "REGEX": return
|
|
55
|
-
case "TYPE": return
|
|
56
|
-
default: return
|
|
54
|
+
case "REGEX": return t.PATTERN;
|
|
55
|
+
case "TYPE": return t.TYPE;
|
|
56
|
+
default: return t.MANUAL;
|
|
57
57
|
}
|
|
58
58
|
}), k = l(() => i.control.data.mode.toUpperCase() === "REGEX"), A = (e) => {
|
|
59
|
-
let
|
|
59
|
+
let n;
|
|
60
60
|
switch (e) {
|
|
61
|
-
case
|
|
62
|
-
|
|
61
|
+
case t.PATTERN:
|
|
62
|
+
n = k.value ? "REGEX" : "WILDCARD";
|
|
63
63
|
break;
|
|
64
|
-
case
|
|
65
|
-
|
|
64
|
+
case t.TYPE:
|
|
65
|
+
n = "TYPE";
|
|
66
66
|
break;
|
|
67
|
-
default:
|
|
67
|
+
default: n = "MANUAL";
|
|
68
68
|
}
|
|
69
|
-
y({ mode:
|
|
69
|
+
y({ mode: n });
|
|
70
70
|
}, j = (e) => {
|
|
71
|
-
O.value ===
|
|
71
|
+
O.value === t.PATTERN && y({ mode: e ? "REGEX" : "WILDCARD" });
|
|
72
72
|
}, M = (e) => {
|
|
73
73
|
y({ patternFilter: { pattern: e } });
|
|
74
74
|
}, N = (e) => {
|
|
@@ -108,27 +108,27 @@ var v = /*@__PURE__*/ d({
|
|
|
108
108
|
typeDisplays: t
|
|
109
109
|
} });
|
|
110
110
|
};
|
|
111
|
-
return (
|
|
112
|
-
id:
|
|
113
|
-
ariaLabel:
|
|
114
|
-
disabled:
|
|
111
|
+
return (t, r) => (p(), u(g(e), f(t.$attrs, {
|
|
112
|
+
id: n.labelForId,
|
|
113
|
+
ariaLabel: n.control.label,
|
|
114
|
+
disabled: n.disabled,
|
|
115
115
|
mode: O.value,
|
|
116
116
|
"manually-included": g(_).selected ?? [],
|
|
117
117
|
"manually-excluded": g(_).deselected ?? [],
|
|
118
118
|
"include-unknown-values": i.showUnknownValues ? i.control.data.manualFilter.includeUnknownColumns : null,
|
|
119
|
-
pattern:
|
|
120
|
-
"case-sensitive":
|
|
121
|
-
"exclude-matches":
|
|
119
|
+
pattern: n.control.data.patternFilter.pattern,
|
|
120
|
+
"case-sensitive": n.control.data.patternFilter.isCaseSensitive,
|
|
121
|
+
"exclude-matches": n.control.data.patternFilter.isInverted,
|
|
122
122
|
"use-regex": k.value,
|
|
123
|
-
"selected-types":
|
|
123
|
+
"selected-types": n.control.data.typeFilter?.selectedTypes ?? [],
|
|
124
124
|
"possible-values": b.value,
|
|
125
125
|
"filter-types": I.value,
|
|
126
126
|
"enable-pattern-filter": !0,
|
|
127
127
|
loading: g(_).selected === null,
|
|
128
128
|
"exclude-label": g(d),
|
|
129
129
|
"include-label": g(m),
|
|
130
|
-
error:
|
|
131
|
-
"sub-text":
|
|
130
|
+
error: n.error,
|
|
131
|
+
"sub-text": n.subText,
|
|
132
132
|
"onUpdate:mode": A,
|
|
133
133
|
"onUpdate:manuallyIncluded": T,
|
|
134
134
|
"onUpdate:manuallyExcluded": E,
|
|
@@ -160,7 +160,7 @@ var v = /*@__PURE__*/ d({
|
|
|
160
160
|
"sub-text"
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
|
-
}), y = /* @__PURE__ */
|
|
163
|
+
}), y = /* @__PURE__ */ n({ default: () => b }), b = v, x = ({ knownValuesSide: e, possibleValueIds: t, unknownValuesSide: n }) => {
|
|
164
164
|
let r = new Set(e.previous), o = new Set(t), s = (e) => i(e, o);
|
|
165
165
|
n.setNext([...s(n.previous), ...i(t, r)]), e.setNext([...s(e.previous), ...a(t, r)]);
|
|
166
166
|
}, S = ({ data: e, possibleValueIds: t }) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { n as t
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as d } from "./
|
|
2
|
+
import { n as t } from "./inject-DGoSf00A.js";
|
|
3
|
+
import { t as n } from "./paths-daLajhdU.js";
|
|
4
|
+
import { n as r, t as i } from "./_toKey-d3bPBoxN.js";
|
|
5
|
+
import { n as a } from "./useProvidedState-478_KXOe-Dpb35s5s.js";
|
|
6
|
+
import { r as o, u as s } from "./jsonforms-vue.esm-B9eODaNM.js";
|
|
7
|
+
import { c, o as l, s as u } from "./useArrayIds-CpJmT5_d.js";
|
|
8
|
+
import { t as d } from "./utils-Cq7tM0Xv.js";
|
|
9
9
|
import { computed as f, createBlock as p, createCommentVNode as m, defineComponent as h, nextTick as g, openBlock as _, provide as v, unref as y, watch as b } from "vue";
|
|
10
10
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
11
|
-
function x(e,
|
|
12
|
-
|
|
13
|
-
for (var
|
|
14
|
-
return
|
|
11
|
+
function x(e, t) {
|
|
12
|
+
t = r(t, e);
|
|
13
|
+
for (var n = 0, a = t.length; e != null && n < a;) e = e[i(t[n++])];
|
|
14
|
+
return n && n == a ? e : void 0;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
@@ -57,23 +57,23 @@ var C = (e, t) => e.reduce((e, n, r) => (r === 0 ? e[0] = n : r <= t.length ? e[
|
|
|
57
57
|
}
|
|
58
58
|
return n;
|
|
59
59
|
}, A = (e) => {
|
|
60
|
-
let
|
|
61
|
-
v(
|
|
60
|
+
let n = "addStateProviderListener", r = t(n);
|
|
61
|
+
v(n, (t, n) => r({
|
|
62
62
|
...t,
|
|
63
63
|
...e.value ? { settingsId: e.value } : {}
|
|
64
|
-
},
|
|
64
|
+
}, n));
|
|
65
65
|
}, j = (e) => {
|
|
66
|
-
let
|
|
67
|
-
v(
|
|
68
|
-
let { id:
|
|
69
|
-
await
|
|
70
|
-
id:
|
|
66
|
+
let n = "trigger", r = t(n);
|
|
67
|
+
v(n, async (t) => {
|
|
68
|
+
let { id: n, indexIds: i = [] } = t;
|
|
69
|
+
await r({
|
|
70
|
+
id: n,
|
|
71
71
|
indexIds: i,
|
|
72
72
|
...e.value ? { settingsId: e.value } : {}
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
|
-
let
|
|
76
|
-
v(
|
|
75
|
+
let i = "isTriggerActive", a = t(i);
|
|
76
|
+
v(i, ({ id: t, indexIds: n = [] }) => a({
|
|
77
77
|
id: t,
|
|
78
78
|
indexIds: n,
|
|
79
79
|
...e.value ? { settingsId: e.value } : {}
|
|
@@ -91,8 +91,8 @@ var C = (e, t) => e.reduce((e, n, r) => (r === 0 ? e[0] = n : r <= t.length ? e[
|
|
|
91
91
|
onRegisterValidation: { type: Function }
|
|
92
92
|
},
|
|
93
93
|
setup(e) {
|
|
94
|
-
let
|
|
95
|
-
let e =
|
|
94
|
+
let r = e, i = f(() => r.control.uischema), s = a(i, M), c = f(() => JSON.parse(s.value?.uiSchema || "{}")), l = f(() => JSON.parse(s.value?.schema || "{}")), u = f(() => s.value?.settingsId ?? null), h = f(() => {
|
|
95
|
+
let e = s.value?.updates;
|
|
96
96
|
if (e) try {
|
|
97
97
|
return JSON.parse(e);
|
|
98
98
|
} catch {
|
|
@@ -100,35 +100,35 @@ var C = (e, t) => e.reduce((e, n, r) => (r === 0 ? e[0] = n : r <= t.length ? e[
|
|
|
100
100
|
}
|
|
101
101
|
return null;
|
|
102
102
|
}), g = f(() => {
|
|
103
|
-
let e =
|
|
103
|
+
let e = s.value?.persist;
|
|
104
104
|
if (e) try {
|
|
105
105
|
return JSON.parse(e);
|
|
106
106
|
} catch {
|
|
107
107
|
return null;
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
|
-
}), v =
|
|
111
|
-
b(
|
|
112
|
-
x?.(
|
|
110
|
+
}), v = t("processUpdates"), x = t("setAdvancedDynamicParameters");
|
|
111
|
+
b(c, (e) => {
|
|
112
|
+
x?.(r.control.path, d(e));
|
|
113
113
|
}, { immediate: !0 });
|
|
114
114
|
let S = f(() => {
|
|
115
|
-
let e =
|
|
115
|
+
let e = u.value;
|
|
116
116
|
return e === null ? null : {
|
|
117
117
|
settingsId: e,
|
|
118
|
-
currentParentPathSegments:
|
|
118
|
+
currentParentPathSegments: r.control.path.split(".")
|
|
119
119
|
};
|
|
120
120
|
});
|
|
121
|
-
return b(
|
|
122
|
-
|
|
121
|
+
return b(u, (e, t) => {
|
|
122
|
+
t && Z(t), S.value !== null && (h.value !== null && v?.({
|
|
123
123
|
settingsIdContext: S.value,
|
|
124
124
|
updates: h.value
|
|
125
|
-
}), g.value !== null &&
|
|
126
|
-
}, { immediate: !0 }), A(S), j(S), (e,
|
|
127
|
-
key:
|
|
125
|
+
}), g.value !== null && n(r.control.path, g.value), x?.(r.control.path, d(c.value)));
|
|
126
|
+
}, { immediate: !0 }), A(S), j(S), (e, t) => y(s)?.uiSchema ? (_(), p(y(o), {
|
|
127
|
+
key: u.value ?? "no-settings-id",
|
|
128
128
|
enabled: !e.disabled,
|
|
129
|
-
uischema:
|
|
130
|
-
schema:
|
|
131
|
-
path:
|
|
129
|
+
uischema: c.value,
|
|
130
|
+
schema: l.value,
|
|
131
|
+
path: r.control.path
|
|
132
132
|
}, null, 8, [
|
|
133
133
|
"enabled",
|
|
134
134
|
"uischema",
|
|
@@ -139,10 +139,10 @@ var C = (e, t) => e.reduce((e, n, r) => (r === 0 ? e[0] = n : r <= t.length ? e[
|
|
|
139
139
|
}), P = /* @__PURE__ */ e({
|
|
140
140
|
DYNAMIC_SETTINGS_KEY: () => M,
|
|
141
141
|
default: () => F
|
|
142
|
-
}), F = N, I = (e) => "scope" in e && !!e.scope, L = (e) => "scope" in e && !("providedOptionName" in e), R = (e) => "scope" in e && "providedOptionName" in e, z = (e) => "scope" in e, B = (e, t) => e.length > 0, V = (e, t, n, r) => W(e, C(t, n),
|
|
142
|
+
}), F = N, I = (e) => "scope" in e && !!e.scope, L = (e) => "scope" in e && !("providedOptionName" in e), R = (e) => "scope" in e && "providedOptionName" in e, z = (e) => "scope" in e, B = (e, t) => e.length > 0, V = (e, t, n, r) => W(e, C(t, n), c(t, n, r)), H = (e, t, n, r) => V(e, w(t), n, r), U = (e, t, n, r) => {
|
|
143
143
|
let i = e._id;
|
|
144
144
|
if (i === void 0) {
|
|
145
|
-
let { indexId: i } =
|
|
145
|
+
let { indexId: i } = u(r, n, t);
|
|
146
146
|
return e._id = i, i;
|
|
147
147
|
}
|
|
148
148
|
return i;
|
|
@@ -165,7 +165,7 @@ function W(e, t, n) {
|
|
|
165
165
|
var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
166
166
|
indices: e.map(t),
|
|
167
167
|
value: n
|
|
168
|
-
})).filter(({ indices: e }) => e.every((e) => e !== null)), K = (e) => e.length === 0 || typeof e[0] == "string", q = (e) => e.length === 0 || K(e[0].indices), J = (e) => (e ?? []).map((e) =>
|
|
168
|
+
})).filter(({ indices: e }) => e.every((e) => e !== null)), K = (e) => e.length === 0 || typeof e[0] == "string", q = (e) => e.length === 0 || K(e[0].indices), J = (e) => (e ?? []).map((e) => l(e)), Y = /* @__PURE__ */ new Map(), X = (e, t) => {
|
|
169
169
|
Y.has(e) || Y.set(e, []), Y.get(e).push(t);
|
|
170
170
|
}, Z = (e) => {
|
|
171
171
|
let t = Y.get(e);
|
|
@@ -174,21 +174,21 @@ var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
|
174
174
|
Y.delete(e);
|
|
175
175
|
}
|
|
176
176
|
}, Q = (e) => !e.includes(null), $ = (e, t, n, r, i) => {
|
|
177
|
-
let
|
|
178
|
-
return i.length > 0 && (
|
|
179
|
-
toBeAdjustedByLastPathSegment:
|
|
180
|
-
let i = S(e, t),
|
|
181
|
-
if (!
|
|
182
|
-
return
|
|
177
|
+
let a = T(e, t ?? []);
|
|
178
|
+
return i.length > 0 && (a[0] = [...i, a[0]].join(".")), {
|
|
179
|
+
toBeAdjustedByLastPathSegment: a.slice(0, a.length - 1).reduce((e, t) => e.flatMap(({ settings: e, path: n, values: r }) => {
|
|
180
|
+
let i = S(e, t), a = r[0][0];
|
|
181
|
+
if (!a) throw Error("Should not happen");
|
|
182
|
+
return a.length === 0 ? i.map((e, i) => ({
|
|
183
183
|
settings: e,
|
|
184
|
-
path:
|
|
184
|
+
path: s(s(n, t), `${i}`),
|
|
185
185
|
values: r
|
|
186
186
|
})) : [...r.reduce((e, [t, n]) => {
|
|
187
187
|
let r = t[0];
|
|
188
188
|
return e.has(r) || e.set(r, []), e.get(r).push([t.slice(1), n]), e;
|
|
189
189
|
}, /* @__PURE__ */ new Map()).entries()].map(([e, r]) => ({
|
|
190
190
|
settings: i[e],
|
|
191
|
-
path:
|
|
191
|
+
path: s(s(n, t), `${e}`),
|
|
192
192
|
values: r
|
|
193
193
|
}));
|
|
194
194
|
}), [{
|
|
@@ -196,7 +196,7 @@ var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
|
196
196
|
path: "",
|
|
197
197
|
values: n
|
|
198
198
|
}]),
|
|
199
|
-
lastPathSegment:
|
|
199
|
+
lastPathSegment: a[a.length - 1]
|
|
200
200
|
};
|
|
201
201
|
}, ee = (e) => e === null || e.data !== null, te = ({ updateResult: e, onValueUpdate: t, indices: n, newSettings: r, resolveValueUpdateResult: i, settingsIdContext: a }) => {
|
|
202
202
|
if (R(e) && e.providedOptionName === "dynamicSettings") {
|
|
@@ -216,14 +216,14 @@ var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
|
216
216
|
skipIfEqual: !0
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
}, ne = ({ callStateProviderListener: e, callStateProviderListenerByIndices: t, registerWatcher: n, registerTrigger: r, updateData: i, sendAlert:
|
|
220
|
-
let f = ({ updateResult: e, onValueUpdate: t, indices: n, newSettings: r, settingsIdContext: i, skipIfEqual:
|
|
221
|
-
let { scope: u, values: d } = e, { toBeAdjustedByLastPathSegment: f, lastPathSegment: p } = $(u, n, (q(d) ? G(d,
|
|
219
|
+
}, ne = ({ callStateProviderListener: e, callStateProviderListenerByIndices: t, registerWatcher: n, registerTrigger: r, updateData: i, sendAlert: a, pathIsControlledByFlowVariable: o, setValueAtPath: c, globalArrayIdsRecord: u, callDataService: d }) => {
|
|
220
|
+
let f = ({ updateResult: e, onValueUpdate: t, indices: n, newSettings: r, settingsIdContext: i, skipIfEqual: a = !1 }) => {
|
|
221
|
+
let { scope: u, values: d } = e, { toBeAdjustedByLastPathSegment: f, lastPathSegment: p } = $(u, n, (q(d) ? G(d, l) : d).map(({ indices: e, value: t }) => [e, t]), r, i ? i.currentParentPathSegments : []);
|
|
222
222
|
f.forEach(({ path: e, settings: n, values: [[, r]] }) => {
|
|
223
|
-
let i =
|
|
224
|
-
if (!
|
|
225
|
-
if (
|
|
226
|
-
t(i,
|
|
223
|
+
let i = s(e, p);
|
|
224
|
+
if (!o(i)) {
|
|
225
|
+
if (a && JSON.stringify(S(n, p)) === JSON.stringify(r)) return;
|
|
226
|
+
t(i, c(i, r));
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
229
|
}, p = (n, r, i, a) => (o) => {
|
|
@@ -286,7 +286,7 @@ var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
|
286
286
|
t
|
|
287
287
|
]
|
|
288
288
|
}), C = (e) => {
|
|
289
|
-
e?.forEach((e) =>
|
|
289
|
+
e?.forEach((e) => a({
|
|
290
290
|
message: e,
|
|
291
291
|
type: "error"
|
|
292
292
|
}));
|
|
@@ -315,10 +315,10 @@ var G = (e, t) => e.map(({ indices: e, value: n }) => ({
|
|
|
315
315
|
isActive: !1
|
|
316
316
|
}, t.push(n)), n;
|
|
317
317
|
}, E = ({ scope: e, currentIndices: t, indexIds: n, value: r, settings: i, settingsIdContext: a }) => {
|
|
318
|
-
let o = n.map(
|
|
318
|
+
let o = n.map(l);
|
|
319
319
|
if (!Q(o)) return !1;
|
|
320
|
-
let { toBeAdjustedByLastPathSegment:
|
|
321
|
-
return !!
|
|
320
|
+
let { toBeAdjustedByLastPathSegment: s, lastPathSegment: c } = $(e, t, [[o, r]], i, a ? a.currentParentPathSegments : []);
|
|
321
|
+
return !!s.find(({ settings: e, values: [[, t]] }) => S(e, c) !== t);
|
|
322
322
|
}, D = ({ updateResult: e, settings: t, indexIds: n }) => e.reduce((e, r) => {
|
|
323
323
|
let i = J(n);
|
|
324
324
|
return Q(i) && r.values.forEach(({ indices: n, value: a }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@knime+jsonforms@5.1.1_@knime+kds-components@11.0.0_@vueuse+core@14.4.0_vue@3.5.
|
|
1
|
+
//#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/utils-DmZLgn8X.js
|
|
2
2
|
var e = ({ const: e, title: t }) => ({
|
|
3
3
|
id: e,
|
|
4
4
|
text: t
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/scripting-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.150",
|
|
5
5
|
"description": "Shared Scripting Editor components for KNIME",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@xterm/addon-fit": "^0.10.0",
|
|
22
22
|
"@xterm/addon-unicode11": "^0.8.0",
|
|
23
23
|
"@xterm/xterm": "^5.5.0",
|
|
24
|
-
"handlebars": "4.7.
|
|
24
|
+
"handlebars": "4.7.10",
|
|
25
25
|
"vscode-languageserver-protocol": "3.18.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|