@knime/jsonforms 1.21.17 → 1.21.20
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/CHANGELOG.md +18 -0
- package/dist/{AnyOfTwinlist-SXwBBRp2.js → AnyOfTwinlist-C0HXLfC3.js} +1 -1
- package/dist/{CheckboxControl-CbWn843V.js → CheckboxControl-DnsRdf8z.js} +4 -4
- package/dist/{CheckboxesControl-BiQOMrsp.js → CheckboxesControl-BVesT8eM.js} +2 -2
- package/dist/{ColorControl-B_mQdOCs.js → ColorControl-Cdpprmlz.js} +1 -1
- package/dist/{ColorPreviewControl-BREwhSO9.js → ColorPreviewControl-CoKXaJR8.js} +5 -5
- package/dist/{ComboBoxControl-BIZlnizm.js → ComboBoxControl-Bpy8p1Dt.js} +2 -2
- package/dist/{DateControl-vkwY-8Qy.js → DateControl-CnoLTpxX.js} +1 -1
- package/dist/{DateTimeControl-CtXV6_D2.js → DateTimeControl-yMiwCIoT.js} +2 -2
- package/dist/{DateTimeFormatPickerControl-a7MPaNFN.js → DateTimeFormatPickerControl-DPvdaftr.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js → DateTimeFormatPickerWithTypeControl-BPLIjaa8.js} +15 -15
- package/dist/{DropdownControl-BUwovb4K.js → DropdownControl-B6vdbTUR.js} +2 -2
- package/dist/{ExecutorCoresControl-DN-1o1XJ.js → ExecutorCoresControl-CqupO0EH.js} +1 -1
- package/dist/{ExecutorMemoryControl-UzqzP4hI.js → ExecutorMemoryControl-BUTHn5-2.js} +1 -1
- package/dist/{FileUploadControl-WC8TFQHe.js → FileUploadControl-D3_Tik3K.js} +29 -29
- package/dist/{GridSelectionControl-BgqT1t9d.js → GridSelectionControl-B-0p89Ar.js} +16 -16
- package/dist/{HorizontalLayout-CESRA3YR.js → HorizontalLayout-DzisCoIO.js} +5 -5
- package/dist/{IntegerControl-DKXN0mcE.js → IntegerControl-DRg3adTS.js} +1 -1
- package/dist/{IntervalControl-BswGPjcV.js → IntervalControl-U10ZzART.js} +1 -1
- package/dist/{LinkControl-DTqOfnTg.js → LinkControl-3Tb-HmaU.js} +7 -7
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BJTyzJDs.js} +5 -5
- package/dist/{ManualTwinlistControl-CoZdPu6n.js → ManualTwinlistControl-BsQ4eF_T.js} +3 -3
- package/dist/{MultiSelectListBoxControl-CjM94miu.js → MultiSelectListBoxControl-BXZigXaD.js} +3 -3
- package/dist/{MultimodeTwinlistControl-NMnPBn6a.js → MultimodeTwinlistControl-B806J5Bs.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-iHU9MyAc.js} +5 -5
- package/dist/{NameFilter-DuVJG0SF.js → NameFilter-sEy-bXsQ.js} +1 -1
- package/dist/{NumberControl-NMJmxuze.js → NumberControl-D4eVvYI5.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BY_lIkOW.js} +4 -4
- package/dist/{OneOfDropdown-CwJemyYo.js → OneOfDropdown-D95vlsXG.js} +1 -1
- package/dist/RadioButtonsWithDescriptionControl-D9TQhEQl.js +57 -0
- package/dist/{RadioControl-ts1-JozG.js → RadioControl-BnjHIvPY.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js → RadioControlBase.vue_vue_type_script_setup_true_lang-COF69Ewk.js} +2 -2
- package/dist/{ResourceControlBase-FDiyHyQi.js → ResourceControlBase-BayVTGW8.js} +7 -7
- package/dist/{RichTextControl-DH6GqUeF.js → RichTextControl-ChVZO70R.js} +2794 -2625
- package/dist/SectionHeading-Dns-teVK.js +61 -0
- package/dist/{SectionLayout-Cb3_L9Te.js → SectionLayout-BiHs1sn5.js} +4 -4
- package/dist/SettingsSubPanel-Baq3cfRg.js +5 -0
- package/dist/SettingsSubPanelLayout-uKjawSBL.js +67 -0
- package/dist/{SimpleButtonControl-BeRnF6lP.js → SimpleButtonControl-BeKAajwo.js} +10 -11
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-BZ2fsJ3d.js +27174 -0
- package/dist/{SimpleTwinlistControl-CnBe4qsI.js → SimpleTwinlistControl-Dsl6K8R4.js} +2 -2
- package/dist/{SingleSelectControl-C4Qzk2Ki.js → SingleSelectControl-CgyNTJCv.js} +2 -2
- package/dist/{SingleSelectListBoxControl-sLe2Y67h.js → SingleSelectListBoxControl-B7a_x6AR.js} +5 -5
- package/dist/{SortListControl-ChpYm3CZ.js → SortListControl-DSy6AZdN.js} +5 -5
- package/dist/{StyledListItem-BJEJoIzr.js → StyledListItem-Epyl0QFE.js} +1 -1
- package/dist/{TeamAndSpacesControl-7ZXPUwBb.js → TeamAndSpacesControl-CJ0rphn6.js} +6 -6
- package/dist/{TeamResourceControl-BZDXMRLZ.js → TeamResourceControl-CWzSwuA-.js} +1 -1
- package/dist/{TextAreaControl-BDGtgWys.js → TextAreaControl-BwRYrvP3.js} +1 -1
- package/dist/{TextControl-8jfyOJKb.js → TextControl-CzWuv-09.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js → TextControl.vue_vue_type_script_setup_true_lang-BZ428khT.js} +2 -2
- package/dist/{TimeControl-Dvt5U7xN.js → TimeControl-DrXsfSOW.js} +7 -7
- package/dist/{TimeframesControl-DcUxC3kX.js → TimeframesControl-B9py1LZW.js} +2 -2
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-B_JLzzPW.js} +2 -2
- package/dist/{TypedStringFilter-Cx8OCQcE.js → TypedStringFilter-Bh5HKR6x.js} +1 -1
- package/dist/{ValueSwitchControl-1ax1yKbk.js → ValueSwitchControl-BK4MEpfr.js} +1 -1
- package/dist/{VerticalLayout-DnyoqTeh.js → VerticalLayout-BoLk9KU-.js} +2 -2
- package/dist/{VerticalLayoutBase-BS5IpgON.js → VerticalLayoutBase-WKyDOMUs.js} +2 -2
- package/dist/{ZonedDateTimeControl-mIIRwaHz.js → ZonedDateTimeControl-oXUgeq8e.js} +4 -4
- package/dist/{_Uint8Array-CsgDtogS.js → _Uint8Array-DdnpsFxu.js} +18 -18
- package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +104 -95
- package/dist/src/JsonFormsDialog.vue.d.ts +6 -6
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -3
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +0 -1
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +1 -1
- package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +3 -3
- package/dist/testing.js +3 -3
- package/dist/{toString-hCFROtg1.js → toString-BwbC1qQt.js} +1 -1
- package/dist/{useBuiltinValidations-Cfw3JlJf.js → useBuiltinValidations-DrrO9U7Y.js} +1 -1
- package/dist/{usePossibleValues-CtPV4Cjp.js → usePossibleValues-Cim2IK8S.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BCbqJg7j.js → useUnknownValuesInTwinlist-BgKXJtz6.js} +1 -1
- package/package.json +2 -2
- package/dist/RadioButtonsWithDescriptionControl-BK3UCreL.js +0 -57
- package/dist/SectionHeading-DIAFnjCM.js +0 -19
- package/dist/SettingsSubPanel-BuxORlJO.js +0 -5
- package/dist/SettingsSubPanelLayout-DruWJjQA.js +0 -73
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js +0 -27037
- package/dist/arrow-next-BQULX8HT.js +0 -17
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +0 -10
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as f, useTemplateRef as p, ref as m, watch as h, onBeforeUnmount as v, openBlock as _, createElementBlock as g, Fragment as b, createElementVNode as o, mergeProps as S, toDisplayString as y, renderSlot as k } from "vue";
|
|
2
|
+
import { _ as w } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-BZ2fsJ3d.js";
|
|
3
|
+
const E = { class: "section-header-layout-container" }, T = { class: "section-header-buttons" }, x = /* @__PURE__ */ f({
|
|
4
|
+
__name: "SectionHeading",
|
|
5
|
+
props: {
|
|
6
|
+
titleText: {}
|
|
7
|
+
},
|
|
8
|
+
setup(a) {
|
|
9
|
+
const l = p("sentinel"), i = m(!1);
|
|
10
|
+
let t = null;
|
|
11
|
+
const c = (e) => /(auto|scroll|overlay)/.test(e), d = (e) => {
|
|
12
|
+
let n = e.parentElement;
|
|
13
|
+
for (; n; ) {
|
|
14
|
+
const { overflowY: s, overflow: r } = globalThis.getComputedStyle(n);
|
|
15
|
+
if (c(s) || c(r))
|
|
16
|
+
return n;
|
|
17
|
+
n = n.parentElement;
|
|
18
|
+
}
|
|
19
|
+
return null;
|
|
20
|
+
};
|
|
21
|
+
return h(
|
|
22
|
+
l,
|
|
23
|
+
(e, n, s) => {
|
|
24
|
+
if (t?.disconnect(), t = null, !e || typeof IntersectionObserver > "u")
|
|
25
|
+
return;
|
|
26
|
+
const r = d(e);
|
|
27
|
+
t = new IntersectionObserver(
|
|
28
|
+
([u]) => {
|
|
29
|
+
i.value = u.intersectionRatio < 1;
|
|
30
|
+
},
|
|
31
|
+
{ root: r, threshold: [1] }
|
|
32
|
+
), t.observe(e), s(() => {
|
|
33
|
+
t?.disconnect(), t = null;
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
{ immediate: !0, flush: "post" }
|
|
37
|
+
), v(() => {
|
|
38
|
+
t?.disconnect(), t = null;
|
|
39
|
+
}), (e, n) => (_(), g(b, null, [
|
|
40
|
+
o("div", {
|
|
41
|
+
ref_key: "sentinel",
|
|
42
|
+
ref: l,
|
|
43
|
+
class: "section-header-sentinel",
|
|
44
|
+
"aria-hidden": "true"
|
|
45
|
+
}, null, 512),
|
|
46
|
+
o("div", S({
|
|
47
|
+
class: ["section-header", { "is-sticking": i.value }]
|
|
48
|
+
}, e.$attrs), [
|
|
49
|
+
o("div", E, [
|
|
50
|
+
o("h3", null, y(a.titleText), 1),
|
|
51
|
+
o("div", T, [
|
|
52
|
+
k(e.$slots, "right-buttons", {}, void 0, !0)
|
|
53
|
+
])
|
|
54
|
+
])
|
|
55
|
+
], 16)
|
|
56
|
+
], 64));
|
|
57
|
+
}
|
|
58
|
+
}), C = /* @__PURE__ */ w(x, [["__scopeId", "data-v-8c83cbe3"]]);
|
|
59
|
+
export {
|
|
60
|
+
C as S
|
|
61
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, ref as i, openBlock as o, createElementBlock as m, createVNode as n, withCtx as s, renderSlot as d, createBlock as f, unref as y } from "vue";
|
|
2
|
-
import { a as h, _ as v } from "./SimpleButtonControl.
|
|
3
|
-
import { V as b } from "./VerticalLayoutBase-
|
|
4
|
-
import { S as $ } from "./SectionHeading-
|
|
2
|
+
import { a as h, _ as v } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-BZ2fsJ3d.js";
|
|
3
|
+
import { V as b } from "./VerticalLayoutBase-WKyDOMUs.js";
|
|
4
|
+
import { S as $ } from "./SectionHeading-Dns-teVK.js";
|
|
5
5
|
const x = /* @__PURE__ */ c({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -40,7 +40,7 @@ const x = /* @__PURE__ */ c({
|
|
|
40
40
|
}, 8, ["elements"])
|
|
41
41
|
], 32));
|
|
42
42
|
}
|
|
43
|
-
}), L = /* @__PURE__ */ v(x, [["__scopeId", "data-v-
|
|
43
|
+
}), L = /* @__PURE__ */ v(x, [["__scopeId", "data-v-a1decb80"]]);
|
|
44
44
|
export {
|
|
45
45
|
L as default
|
|
46
46
|
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent as v, computed as s, ref as h, openBlock as r, createElementBlock as y, createVNode as l, withCtx as o, createBlock as k, unref as c, createElementVNode as S, renderSlot as p } from "vue";
|
|
2
|
+
import { a as x, B as g, _ as B } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-BZ2fsJ3d.js";
|
|
3
|
+
import { V as $ } from "./VerticalLayoutBase-WKyDOMUs.js";
|
|
4
|
+
import { S as L } from "./SectionHeading-Dns-teVK.js";
|
|
5
|
+
import { S as w } from "./SettingsSubPanel-Baq3cfRg.js";
|
|
6
|
+
const C = { class: "flex-row" }, V = /* @__PURE__ */ v({
|
|
7
|
+
__name: "SettingsSubPanelLayout",
|
|
8
|
+
props: {
|
|
9
|
+
layout: {}
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
const i = e, u = s(() => i.layout.uischema.options ?? {}), m = s(() => u.value.setText ?? "Set"), b = s(
|
|
13
|
+
() => u.value.backButtonLabel ?? "Back to node configuration"
|
|
14
|
+
), n = h(!1);
|
|
15
|
+
return (d, a) => (r(), y("div", {
|
|
16
|
+
onMouseover: a[0] || (a[0] = (t) => n.value = !0),
|
|
17
|
+
onMouseleave: a[1] || (a[1] = (t) => n.value = !1)
|
|
18
|
+
}, [
|
|
19
|
+
l(w, {
|
|
20
|
+
"show-back-arrow": "",
|
|
21
|
+
"back-button-label": b.value
|
|
22
|
+
}, {
|
|
23
|
+
"expand-button": o(({ expand: t }) => [
|
|
24
|
+
l(L, {
|
|
25
|
+
"title-text": e.layout.uischema.label
|
|
26
|
+
}, {
|
|
27
|
+
"right-buttons": o(() => [
|
|
28
|
+
S("div", C, [
|
|
29
|
+
p(d.$slots, "buttons", { hover: n.value }, void 0, !0),
|
|
30
|
+
l(c(g), {
|
|
31
|
+
variant: "transparent",
|
|
32
|
+
size: "small",
|
|
33
|
+
label: m.value,
|
|
34
|
+
"trailing-icon": "chevron-right",
|
|
35
|
+
onClick: t
|
|
36
|
+
}, null, 8, ["label", "onClick"])
|
|
37
|
+
])
|
|
38
|
+
]),
|
|
39
|
+
_: 2
|
|
40
|
+
}, 1032, ["title-text"])
|
|
41
|
+
]),
|
|
42
|
+
default: o(() => [
|
|
43
|
+
l($, {
|
|
44
|
+
elements: e.layout.uischema.elements
|
|
45
|
+
}, {
|
|
46
|
+
default: o(({ element: t, index: f }) => [
|
|
47
|
+
(r(), k(c(x), {
|
|
48
|
+
key: `${e.layout.path}-${f}`,
|
|
49
|
+
schema: e.layout.schema,
|
|
50
|
+
uischema: t,
|
|
51
|
+
path: e.layout.path,
|
|
52
|
+
enabled: e.layout.enabled,
|
|
53
|
+
renderers: e.layout.renderers,
|
|
54
|
+
cells: e.layout.cells
|
|
55
|
+
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 8, ["elements"])
|
|
59
|
+
]),
|
|
60
|
+
_: 3
|
|
61
|
+
}, 8, ["back-button-label"])
|
|
62
|
+
], 32));
|
|
63
|
+
}
|
|
64
|
+
}), z = /* @__PURE__ */ B(V, [["__scopeId", "data-v-915290ff"]]);
|
|
65
|
+
export {
|
|
66
|
+
z as default
|
|
67
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as h, computed as e, ref as
|
|
2
|
-
import { u as I, A as O, B as S, _ as $ } from "./SimpleButtonControl.
|
|
1
|
+
import { defineComponent as h, computed as e, ref as d, watch as B, openBlock as F, createElementBlock as C, createVNode as _, unref as y, renderSlot as k } from "vue";
|
|
2
|
+
import { u as I, A as O, B as S, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-BZ2fsJ3d.js";
|
|
3
3
|
const x = /* @__PURE__ */ h({
|
|
4
4
|
__name: "SimpleButtonControl",
|
|
5
5
|
props: {
|
|
@@ -13,7 +13,7 @@ const x = /* @__PURE__ */ h({
|
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(a) {
|
|
16
|
-
const o = a,
|
|
16
|
+
const o = a, c = e(() => !o.control.enabled), r = o.control.uischema.providedOptions, t = d(!1), l = e(
|
|
17
17
|
() => o.control.uischema
|
|
18
18
|
), u = r && r.includes("runFinished");
|
|
19
19
|
if (u) {
|
|
@@ -22,29 +22,28 @@ const x = /* @__PURE__ */ h({
|
|
|
22
22
|
t.value = !1;
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
const p = e(() =>
|
|
25
|
+
const p = e(() => c.value || t.value), v = e(() => l.value.options.triggerId), m = e(
|
|
26
26
|
() => l.value.options.icon
|
|
27
|
-
), f = O("trigger"),
|
|
27
|
+
), f = O("trigger"), g = () => {
|
|
28
28
|
u && (t.value = !0), f({ id: v.value });
|
|
29
|
-
}, i =
|
|
29
|
+
}, i = d(!1);
|
|
30
30
|
return (s, n) => (F(), C("div", {
|
|
31
31
|
class: "simple-button-input",
|
|
32
|
-
onMouseenter: n[0] || (n[0] = (
|
|
33
|
-
onMouseleave: n[1] || (n[1] = (
|
|
32
|
+
onMouseenter: n[0] || (n[0] = (b) => i.value = !0),
|
|
33
|
+
onMouseleave: n[1] || (n[1] = (b) => i.value = !1)
|
|
34
34
|
}, [
|
|
35
35
|
_(y(S), {
|
|
36
36
|
variant: "outlined",
|
|
37
37
|
size: "small",
|
|
38
38
|
disabled: p.value,
|
|
39
|
-
class: "button-input",
|
|
40
39
|
label: a.control.label,
|
|
41
40
|
"leading-icon": m.value,
|
|
42
|
-
onClick:
|
|
41
|
+
onClick: g
|
|
43
42
|
}, null, 8, ["disabled", "label", "leading-icon"]),
|
|
44
43
|
k(s.$slots, "buttons", { hover: i.value }, void 0, !0)
|
|
45
44
|
], 32));
|
|
46
45
|
}
|
|
47
|
-
}), R = /* @__PURE__ */ $(x, [["__scopeId", "data-v-
|
|
46
|
+
}), R = /* @__PURE__ */ $(x, [["__scopeId", "data-v-a203e154"]]);
|
|
48
47
|
export {
|
|
49
48
|
R as default
|
|
50
49
|
};
|