@knime/jsonforms 1.9.2 → 1.9.4
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 +14 -0
- package/dist/{AnyOfTwinlist-BPOZOLti.js → AnyOfTwinlist-D1KycEHY.js} +1 -1
- package/dist/{Button-eJKYDCkd.js → Button-Dj1USqpr.js} +4 -5
- package/dist/{Checkbox-Cn75drbc.js → Checkbox-5l-7O-Rc.js} +1 -1
- package/dist/{CheckboxControl-CZI1ksFg.js → CheckboxControl-CcV_DXsi.js} +2 -2
- package/dist/{Checkboxes-DkHfcl3G.js → Checkboxes-TSVYIY6A.js} +2 -2
- package/dist/{CheckboxesControl-mDBFA4w8.js → CheckboxesControl-CEIBobjb.js} +2 -2
- package/dist/{ComboBoxControl-D21AHICP.js → ComboBoxControl-FTELjHzm.js} +20 -21
- package/dist/{DateControl-CoZARCXP.js → DateControl-CF5FYRLV.js} +1 -1
- package/dist/{DateTimeControl-Cy5gTvNj.js → DateTimeControl-D1B_TgdP.js} +2 -2
- package/dist/DateTimeFormatInput--ahcIWAg.js +381 -0
- package/dist/{DateTimeFormatPickerControl-tGAM1JkC.js → DateTimeFormatPickerControl-BliVRAB0.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-BclhGpyC.js → DateTimeFormatPickerWithTypeControl-CXseluiT.js} +3 -3
- package/dist/{DateTimeInput-DdlMeRDs.js → DateTimeInput-DqqCRfzR.js} +4 -5
- package/dist/{Dropdown-DXrbBJkL.js → Dropdown-BfqaIGuC.js} +27 -28
- package/dist/{DropdownControl-CCHrJ6le.js → DropdownControl-D8-qWkOR.js} +4 -4
- package/dist/{HorizontalLayout-DygZj0o9.js → HorizontalLayout-CWRVRpwR.js} +1 -1
- package/dist/{InputField-Bvyoaw2O.js → InputField-C2yLbANc.js} +1 -1
- package/dist/{IntegerControl-DsenUVe6.js → IntegerControl-Bz5KWKoG.js} +1 -1
- package/dist/{IntervalControl-DYdVuEIn.js → IntervalControl-B0CHqejJ.js} +16 -17
- package/dist/{LoadingDropdown-B04_zKDo.js → LoadingDropdown-fVxRhH6V.js} +3 -3
- package/dist/{MultimodeTwinlistControl-84S7d7BP.js → MultimodeTwinlistControl-DV_0SHHy.js} +5 -5
- package/dist/{MultiselectListBox-D1l5U70X.js → MultiselectListBox-Cn7ngRfj.js} +1 -1
- package/dist/{NameFilter-CxG07CNi.js → NameFilter-DTecZo_d.js} +1 -1
- package/dist/{NumberControl-Ds5fzpFG.js → NumberControl-Bv6y2n41.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Da027LaV.js → NumberControlBase.vue_vue_type_script_setup_true_lang-6m9utn_F.js} +2 -2
- package/dist/{NumberInput-DNVDyuiW.js → NumberInput-Ys4Hdd7b.js} +1 -1
- package/dist/{OneOfDropdown-CX5YhB5y.js → OneOfDropdown-CDAPUCNY.js} +1 -1
- package/dist/{RadioControl-2vz2SEnY.js → RadioControl-B2pjYv6_.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-UGxGM4HJ.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CclH-Wwk.js} +2 -2
- package/dist/{RichTextControl-C9zYte_e.js → RichTextControl-Cp-ZJ8Qo.js} +3341 -4054
- package/dist/{SectionHeading-D5VIHfZ6.js → SectionHeading-D0esbYSn.js} +1 -1
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js +13635 -0
- package/dist/{SectionLayout-FgUSzxvg.js → SectionLayout-lUG0FeYA.js} +3 -3
- package/dist/SettingsSubPanel-DlUlLFts.js +5 -0
- package/dist/{SettingsSubPanelLayout-CiSDF0QY.js → SettingsSubPanelLayout-BvbwLKfV.js} +20 -21
- package/dist/{SimpleButtonControl-E4YUEkFB.js → SimpleButtonControl-DWLU_5Ny.js} +8 -8
- package/dist/{SimpleTwinlistControl-BTXe7YwA.js → SimpleTwinlistControl-D6ORIuzH.js} +2 -2
- package/dist/{SingleSelectControl-Lr3z2PQP.js → SingleSelectControl-BKv71LA7.js} +2 -2
- package/dist/{SortListControl-D7yx8Zz-.js → SortListControl-B5N2Hqr2.js} +5 -6
- package/dist/{TextAreaControl-Dr7sr6e5.js → TextAreaControl-Bb1thkUU.js} +1 -1
- package/dist/{TextControl-CBgD2gmx.js → TextControl-CuiHsefr.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Chd6nIT-.js → TextControl.vue_vue_type_script_setup_true_lang-DqaxrzeR.js} +4 -4
- package/dist/{TimeControl-Cm8yqjem.js → TimeControl-CfdGsohr.js} +2 -2
- package/dist/{TwinlistControlBase-D09CXwzh.js → TwinlistControlBase-CYNUKmVM.js} +3 -3
- package/dist/{TwinlistLoadingInfo-B_2E8y_B.js → TwinlistLoadingInfo-CPqVvWp4.js} +13 -14
- package/dist/{TypedStringFilter-BMlauzYE.js → TypedStringFilter-0MA1D7-X.js} +1 -1
- package/dist/{ValueSwitch-D1egJZr6.js → ValueSwitch-B6rM3Cb9.js} +1 -1
- package/dist/{ValueSwitchControl-CextiX-9.js → ValueSwitchControl-avfCCusm.js} +1 -1
- package/dist/{VerticalLayout-uvd7dU17.js → VerticalLayout-DXyKnMvI.js} +2 -2
- package/dist/{VerticalLayoutBase-CSnU3mLb.js → VerticalLayoutBase-D-TX7EUL.js} +1 -1
- package/dist/{ZonedDateTimeControl-CB0KZQXT.js → ZonedDateTimeControl-BNZ8YhWM.js} +4 -4
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +42 -43
- package/dist/{localTimeUtils-DnV5kh7m.js → localTimeUtils-Bvx7vLrT.js} +1 -1
- package/dist/{magic-string.es-B5A5AF4s.js → magic-string.es-CvzN4vs8.js} +1 -1
- package/dist/{svgWithTitle-WX_pgBsG.js → svgWithTitle-DMRd3aDh.js} +1 -1
- package/dist/testUtils/component.d.ts +13 -0
- package/dist/testing.js +1503 -1501
- package/dist/{useBuiltinValidations-LNyl7q7j.js → useBuiltinValidations-iU8yJR-J.js} +1 -1
- package/dist/useDropdownNavigation-7o7SRJSo.js +781 -0
- package/dist/{usePossibleValues-CM2RTisz.js → usePossibleValues-CQWkZRBa.js} +1 -1
- package/package.json +3 -3
- package/dist/BaseButton-6PV3BYUQ.js +0 -112
- package/dist/DateTimeFormatInput-Btt_BLk-.js +0 -347
- package/dist/FunctionButton-QVrKdZdI.js +0 -75
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js +0 -13322
- package/dist/SettingsSubPanel-BZE2IRG9.js +0 -142
- package/dist/useDropdownNavigation-D6ZenVxz.js +0 -55
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as c, createElementVNode as n, renderSlot as r, defineComponent as h, createBlock as m, Transition as x, withCtx as u, normalizeStyle as B, createCommentVNode as b, createVNode as p, unref as _, pushScopeId as E, popScopeId as C, ref as I, inject as w, watch as P, computed as D, Fragment as O, Teleport as A, provide as F } from "vue";
|
|
2
|
-
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
|
|
3
|
-
import { F as T } from "./FunctionButton-QVrKdZdI.js";
|
|
4
|
-
const j = {}, L = { class: "flex-wrapper" }, N = { class: "form" };
|
|
5
|
-
function V(e, t) {
|
|
6
|
-
return o(), c("div", L, [
|
|
7
|
-
n("div", N, [
|
|
8
|
-
r(e.$slots, "default", {}, void 0, !0)
|
|
9
|
-
]),
|
|
10
|
-
r(e.$slots, "bottom-content", {}, void 0, !0)
|
|
11
|
-
]);
|
|
12
|
-
}
|
|
13
|
-
const z = /* @__PURE__ */ f(j, [["render", V], ["__scopeId", "data-v-c672b17b"]]), K = { class: "content" }, W = {}, l = {
|
|
14
|
-
position: "fixed",
|
|
15
|
-
width: "500px",
|
|
16
|
-
backgroundColor: "var(--knime-porcelain)"
|
|
17
|
-
}, U = /* @__PURE__ */ h({
|
|
18
|
-
...W,
|
|
19
|
-
__name: "SideDrawer",
|
|
20
|
-
props: {
|
|
21
|
-
isExpanded: { type: Boolean, default: !1 },
|
|
22
|
-
styleOverrides: { default: () => ({
|
|
23
|
-
...l
|
|
24
|
-
}) }
|
|
25
|
-
},
|
|
26
|
-
setup(e) {
|
|
27
|
-
return (t, d) => (o(), m(x, { name: "slide" }, {
|
|
28
|
-
default: u(() => [
|
|
29
|
-
t.isExpanded ? (o(), c("div", {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "side-drawer",
|
|
32
|
-
style: B({
|
|
33
|
-
"--position-common-side-drawer": t.styleOverrides.position ?? l.position,
|
|
34
|
-
"--width-common-side-drawer": t.styleOverrides.width ?? l.width,
|
|
35
|
-
"--background-color-common-side-drawer": t.styleOverrides.backgroundColor ?? l.backgroundColor
|
|
36
|
-
})
|
|
37
|
-
}, [
|
|
38
|
-
n("div", K, [
|
|
39
|
-
r(t.$slots, "default", {}, void 0, !0)
|
|
40
|
-
])
|
|
41
|
-
], 4)) : b("", !0)
|
|
42
|
-
]),
|
|
43
|
-
_: 3
|
|
44
|
-
}));
|
|
45
|
-
}
|
|
46
|
-
}), Y = /* @__PURE__ */ f(U, [["__scopeId", "data-v-0e34c675"]]), q = {
|
|
47
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
48
|
-
fill: "none",
|
|
49
|
-
stroke: "#000",
|
|
50
|
-
"stroke-linejoin": "round",
|
|
51
|
-
viewBox: "0 0 32 32"
|
|
52
|
-
}, G = /* @__PURE__ */ n("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), H = [
|
|
53
|
-
G
|
|
54
|
-
];
|
|
55
|
-
function J(e, t) {
|
|
56
|
-
return o(), c("svg", q, [...H]);
|
|
57
|
-
}
|
|
58
|
-
const M = { render: J }, k = (e) => (E("data-v-aa6d21d7"), e = e(), C(), e), Q = { class: "flex-horizontal" }, R = /* @__PURE__ */ k(() => /* @__PURE__ */ n("span", { class: "spacer" }, null, -1)), X = /* @__PURE__ */ k(() => /* @__PURE__ */ n("span", { class: "bold" }, "Back to node configuration", -1)), Z = /* @__PURE__ */ h({
|
|
59
|
-
__name: "SettingsSubPanelBackArrow",
|
|
60
|
-
emits: ["click"],
|
|
61
|
-
setup(e, { emit: t }) {
|
|
62
|
-
const d = t;
|
|
63
|
-
return (a, i) => (o(), c("div", Q, [
|
|
64
|
-
p(_(T), {
|
|
65
|
-
primary: "",
|
|
66
|
-
class: "arrow-left-button",
|
|
67
|
-
onClick: i[0] || (i[0] = () => d("click"))
|
|
68
|
-
}, {
|
|
69
|
-
default: u(() => [
|
|
70
|
-
p(_(M))
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
}),
|
|
74
|
-
R,
|
|
75
|
-
X
|
|
76
|
-
]));
|
|
77
|
-
}
|
|
78
|
-
}), ee = /* @__PURE__ */ f(Z, [["__scopeId", "data-v-aa6d21d7"]]), te = { class: "side-drawer-content" }, oe = { class: "main-content" }, ne = { class: "bottom-content" }, S = Symbol("subPanelDestInjectionKey"), ce = (e) => F(S, e), se = /* @__PURE__ */ h({
|
|
79
|
-
__name: "SettingsSubPanel",
|
|
80
|
-
props: {
|
|
81
|
-
showBackArrow: { type: Boolean, default: !0 },
|
|
82
|
-
hideButtonsWhenExpanded: { type: Boolean, default: !1 },
|
|
83
|
-
backgroundColorOverride: { default: "var(--knime-porcelain)" }
|
|
84
|
-
},
|
|
85
|
-
setup(e, { expose: t }) {
|
|
86
|
-
const d = e, a = I(!1), i = () => {
|
|
87
|
-
a.value = !0;
|
|
88
|
-
}, v = () => {
|
|
89
|
-
a.value = !1;
|
|
90
|
-
};
|
|
91
|
-
t({ expand: i, close: v });
|
|
92
|
-
const y = w("setSubPanelExpanded");
|
|
93
|
-
P(
|
|
94
|
-
a,
|
|
95
|
-
(s) => (
|
|
96
|
-
// @ts-expect-error expected 0 arguments
|
|
97
|
-
d.hideButtonsWhenExpanded && y({ isExpanded: s })
|
|
98
|
-
)
|
|
99
|
-
);
|
|
100
|
-
const $ = w(S), g = D(() => ({
|
|
101
|
-
width: "100%",
|
|
102
|
-
position: "absolute",
|
|
103
|
-
backgroundColor: d.backgroundColorOverride
|
|
104
|
-
}));
|
|
105
|
-
return (s, re) => (o(), c(O, null, [
|
|
106
|
-
r(s.$slots, "expand-button", { expand: i }, void 0, !0),
|
|
107
|
-
(o(), m(A, { to: _($) }, [
|
|
108
|
-
p(_(Y), {
|
|
109
|
-
"is-expanded": a.value,
|
|
110
|
-
class: "side-drawer",
|
|
111
|
-
"style-overrides": g.value
|
|
112
|
-
}, {
|
|
113
|
-
default: u(() => [
|
|
114
|
-
n("div", te, [
|
|
115
|
-
s.showBackArrow ? (o(), m(ee, {
|
|
116
|
-
key: 0,
|
|
117
|
-
onClick: v
|
|
118
|
-
})) : b("", !0),
|
|
119
|
-
n("div", oe, [
|
|
120
|
-
p(z, null, {
|
|
121
|
-
default: u(() => [
|
|
122
|
-
r(s.$slots, "default", {}, void 0, !0)
|
|
123
|
-
]),
|
|
124
|
-
_: 3
|
|
125
|
-
})
|
|
126
|
-
]),
|
|
127
|
-
n("div", ne, [
|
|
128
|
-
r(s.$slots, "bottom-content", {}, void 0, !0)
|
|
129
|
-
])
|
|
130
|
-
])
|
|
131
|
-
]),
|
|
132
|
-
_: 3
|
|
133
|
-
}, 8, ["is-expanded", "style-overrides"])
|
|
134
|
-
], 8, ["to"]))
|
|
135
|
-
], 64));
|
|
136
|
-
}
|
|
137
|
-
}), le = /* @__PURE__ */ f(se, [["__scopeId", "data-v-110037e2"]]);
|
|
138
|
-
export {
|
|
139
|
-
z as F,
|
|
140
|
-
le as S,
|
|
141
|
-
ce as p
|
|
142
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ref as C } from "vue";
|
|
2
|
-
const a = (n) => {
|
|
3
|
-
n.preventDefault(), n.stopPropagation(), n.stopImmediatePropagation();
|
|
4
|
-
}, h = ({
|
|
5
|
-
getNextElement: n,
|
|
6
|
-
getFirstElement: s,
|
|
7
|
-
getLastElement: t,
|
|
8
|
-
close: d,
|
|
9
|
-
disableSpaceToClick: k,
|
|
10
|
-
keepOpenedOnTab: b
|
|
11
|
-
}) => {
|
|
12
|
-
const o = C(null), l = () => {
|
|
13
|
-
};
|
|
14
|
-
let c = l;
|
|
15
|
-
const i = () => {
|
|
16
|
-
o.value = null, c = l;
|
|
17
|
-
}, r = (e) => {
|
|
18
|
-
o.value = e.index, c = e.onClick;
|
|
19
|
-
}, p = (e) => {
|
|
20
|
-
r(n(o.value, e));
|
|
21
|
-
}, u = () => {
|
|
22
|
-
i(), d();
|
|
23
|
-
};
|
|
24
|
-
return { onKeydown: (e) => {
|
|
25
|
-
switch (e.code) {
|
|
26
|
-
case "ArrowDown":
|
|
27
|
-
a(e), p(1);
|
|
28
|
-
break;
|
|
29
|
-
case "ArrowUp":
|
|
30
|
-
a(e), p(-1);
|
|
31
|
-
break;
|
|
32
|
-
case "Enter":
|
|
33
|
-
case "Space": {
|
|
34
|
-
const f = e.code === "Enter", w = e.code === "Space";
|
|
35
|
-
o.value !== null && (f || w && !k) && (a(e), c());
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
case "Home":
|
|
39
|
-
s && r(s());
|
|
40
|
-
break;
|
|
41
|
-
case "End":
|
|
42
|
-
t && r(t());
|
|
43
|
-
break;
|
|
44
|
-
case "Escape":
|
|
45
|
-
a(e), u();
|
|
46
|
-
break;
|
|
47
|
-
case "Tab":
|
|
48
|
-
b || u();
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
}, currentIndex: o, resetNavigation: i };
|
|
52
|
-
};
|
|
53
|
-
export {
|
|
54
|
-
h as u
|
|
55
|
-
};
|