@knime/jsonforms 1.21.16 → 1.21.19
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-Chx0nmt3.js +23 -0
- package/dist/CheckboxControl-B8b1Di4k.js +40 -0
- package/dist/CheckboxesControl-DWUnPGdN.js +39 -0
- package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-ByE5ku7u.js} +10 -8
- package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-XiKZ4jfn.js} +28 -28
- package/dist/ComboBoxControl-zSceYlyZ.js +39 -0
- package/dist/DateControl-BBGpEVpr.js +44 -0
- package/dist/DateTimeControl-CymOURq5.js +80 -0
- package/dist/DateTimeFormatPickerControl-Bx19jwpr.js +34 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq.js} +30 -29
- package/dist/DropdownControl-C6ffVYyf.js +32 -0
- package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-D9FZ-g9O.js} +10 -9
- package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-__P80Lkb.js} +9 -8
- package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-DWs4PhOj.js} +53 -52
- package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-WcJ4y6Fs.js} +27 -26
- package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-ByB5A7X3.js} +6 -6
- package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-aveswmbr.js} +5 -4
- package/dist/IntervalControl-B4Eqs1Jf.js +51 -0
- package/dist/LinkControl-DD56lOiw.js +35 -0
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg.js} +5 -5
- package/dist/ManualTwinlistControl-DBZ5RZgW.js +74 -0
- package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-BMsPvxGQ.js} +53 -52
- package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-thO1be1r.js} +1 -1
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CKcpm_I1.js +159 -0
- package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DBMVmZmk.js} +7 -6
- package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-BPVO5l6t.js} +7 -6
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6.js +52 -0
- package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-DBG8ZcpV.js} +13 -11
- package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BsqMTEB5.js} +15 -15
- package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ClJmr0EQ.js} +5 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw.js +57 -0
- package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-CeXYJeR1.js} +21 -18
- package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DvYkBpzH.js} +2796 -2626
- package/dist/SectionHeading-7KVIxCGG.js +61 -0
- package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-CwRO3UXc.js} +3 -3
- package/dist/SettingsSubPanel-i2sjXJXx.js +5 -0
- package/dist/SettingsSubPanelLayout-CV6y2bcX.js +67 -0
- package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-D58aXnm7.js} +14 -14
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js} +9583 -9612
- package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-BSON5VYy.js} +6 -5
- package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-BSqORMYm.js} +21 -19
- package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-CFdKzbOK.js} +18 -17
- package/dist/SortListControl-DZIHeQmn.js +105 -0
- package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem--sgmJ3W_.js} +1 -1
- package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-DiMyDT-5.js} +16 -15
- package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-Bag_dwA1.js} +12 -11
- package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-B52P0DAa.js} +10 -8
- package/dist/{TextControl-BrUMvx4G.js → TextControl-52n-sttB.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js} +16 -14
- package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Cu12_qpz.js} +26 -24
- package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DhdC8OS1.js} +7 -6
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz.js} +14 -11
- package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-zJOICQei.js} +5 -4
- package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-CEVWJH7z.js} +6 -5
- package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-D_13xb_m.js} +2 -2
- package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-CYfG9KqS.js} +2 -2
- package/dist/ZonedDateTimeControl-C-vO6fC1.js +79 -0
- package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-DdGQvEX6.js} +27 -27
- package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +107 -99
- package/dist/src/JsonFormsDialog.vue.d.ts +6 -6
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
- 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/checkboxRenderer.d.ts +120 -1
- package/dist/src/renderers/defaultRenderers.d.ts +120 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +120 -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-DXjInt1t.js → toString-f8odPeFb.js} +1 -1
- package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-KbChI8vv.js} +1 -1
- package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-DiYOmnZW.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BhhirtmX.js} +1 -1
- package/package.json +2 -2
- package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
- package/dist/CheckboxControl-CjiUwvWU.js +0 -38
- package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
- package/dist/ComboBoxControl-hveFsDLi.js +0 -37
- package/dist/DateControl-BtCCimuA.js +0 -42
- package/dist/DateTimeControl-Bll2rZlX.js +0 -78
- package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
- package/dist/DropdownControl-DA8lNfVk.js +0 -30
- package/dist/IntervalControl-vOi33CZB.js +0 -48
- package/dist/LinkControl-D5t3awqb.js +0 -35
- package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
- package/dist/SectionHeading-xMNeMcnS.js +0 -19
- package/dist/SettingsSubPanel-D_FDP5Zc.js +0 -5
- package/dist/SettingsSubPanelLayout-Dp_jLbsR.js +0 -73
- package/dist/SortListControl-kjhkdRwC.js +0 -103
- package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
- package/dist/arrow-next-BQULX8HT.js +0 -17
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
- 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_17a4a240_lang-BseRdW9f.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.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
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_17a4a240_lang-BseRdW9f.js";
|
|
3
|
+
import { V as b } from "./VerticalLayoutBase-CYfG9KqS.js";
|
|
4
|
+
import { S as $ } from "./SectionHeading-7KVIxCGG.js";
|
|
5
5
|
const x = /* @__PURE__ */ c({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -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_17a4a240_lang-BseRdW9f.js";
|
|
3
|
+
import { V as $ } from "./VerticalLayoutBase-CYfG9KqS.js";
|
|
4
|
+
import { S as L } from "./SectionHeading-7KVIxCGG.js";
|
|
5
|
+
import { S as w } from "./SettingsSubPanel-i2sjXJXx.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,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as h, computed as e, ref as
|
|
2
|
-
import { u as I, A as O, B as S, _ as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as h, computed as e, ref as c, 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_17a4a240_lang-BseRdW9f.js";
|
|
3
|
+
const x = /* @__PURE__ */ h({
|
|
4
4
|
__name: "SimpleButtonControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -8,12 +8,12 @@ const $ = /* @__PURE__ */ h({
|
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
10
|
labelForId: {},
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(a) {
|
|
16
|
-
const o = a,
|
|
16
|
+
const o = a, d = e(() => !o.control.enabled), r = o.control.uischema.providedOptions, t = c(!1), l = e(
|
|
17
17
|
() => o.control.uischema
|
|
18
18
|
), u = r && r.includes("runFinished");
|
|
19
19
|
if (u) {
|
|
@@ -22,15 +22,15 @@ const $ = /* @__PURE__ */ h({
|
|
|
22
22
|
t.value = !1;
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
const p = e(() =>
|
|
25
|
+
const p = e(() => d.value || t.value), v = e(() => l.value.options.triggerId), m = e(
|
|
26
26
|
() => l.value.options.icon
|
|
27
|
-
),
|
|
28
|
-
u && (t.value = !0),
|
|
29
|
-
}, i =
|
|
27
|
+
), b = O("trigger"), f = () => {
|
|
28
|
+
u && (t.value = !0), b({ id: v.value });
|
|
29
|
+
}, i = c(!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] = (g) => i.value = !0),
|
|
33
|
+
onMouseleave: n[1] || (n[1] = (g) => i.value = !1)
|
|
34
34
|
}, [
|
|
35
35
|
_(y(S), {
|
|
36
36
|
variant: "outlined",
|
|
@@ -39,12 +39,12 @@ const $ = /* @__PURE__ */ h({
|
|
|
39
39
|
class: "button-input",
|
|
40
40
|
label: a.control.label,
|
|
41
41
|
"leading-icon": m.value,
|
|
42
|
-
onClick:
|
|
42
|
+
onClick: f
|
|
43
43
|
}, null, 8, ["disabled", "label", "leading-icon"]),
|
|
44
44
|
k(s.$slots, "buttons", { hover: i.value }, void 0, !0)
|
|
45
45
|
], 32));
|
|
46
46
|
}
|
|
47
|
-
}), R = /* @__PURE__ */
|
|
47
|
+
}), R = /* @__PURE__ */ $(x, [["__scopeId", "data-v-17a4a240"]]);
|
|
48
48
|
export {
|
|
49
49
|
R as default
|
|
50
50
|
};
|