@knime/jsonforms 1.15.0 → 1.15.1
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 +8 -0
- package/dist/AnyOfTwinlist-BmHETHvW.js +28 -0
- package/dist/{Button-Cqwayw73.js → Button-B9RSLVI2.js} +8 -7
- package/dist/CheckboxControl-q88fZSZD.js +58 -0
- package/dist/Checkboxes-Bofcg7tl.js +120 -0
- package/dist/CheckboxesControl-DY0R1PDD.js +47 -0
- package/dist/{ComboBoxControl-R0DlbAdT.js → ComboBoxControl-2r1FWcy-.js} +234 -165
- package/dist/DateControl-vnkppn62.js +38 -0
- package/dist/DateTimeControl-MkF9G3Xz.js +53 -0
- package/dist/DateTimeFormatInput-Ds2VLXw1.js +426 -0
- package/dist/DateTimeFormatPickerControl-D3OjZCj7.js +47 -0
- package/dist/DateTimeFormatPickerWithTypeControl-DDto-oJk.js +85 -0
- package/dist/{DateTimeInput-Cs0KqlOS.js → DateTimeInput-DcwhvMD2.js} +421 -377
- package/dist/{Dropdown-BEx-cvXH.js → Dropdown-D49sEHBa.js} +140 -85
- package/dist/DropdownControl-aeEqC-Yg.js +46 -0
- package/dist/HorizontalLayout-D0toQmVl.js +39 -0
- package/dist/{InputField-OkFB9VHZ.js → InputField-C_aZPs-f.js} +48 -36
- package/dist/IntegerControl-DAwniqjW.js +33 -0
- package/dist/IntervalControl-Bkuhg0Ga.js +647 -0
- package/dist/LoadingDropdown-B9jHjdWV.js +50 -0
- package/dist/LoadingIcon-RPBUjTO3.js +23 -0
- package/dist/ManualTwinlistControl-DGW-7a2Q.js +90 -0
- package/dist/MultiSelectListBoxControl-BYHuC9jL.js +48 -0
- package/dist/MultimodeTwinlistControl-oIvgI_FP.js +486 -0
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-2fVBipAl.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_bd2eaa56_lang-pnMOUiIt.js} +1 -1
- package/dist/{MultiselectListBox-CMTJnAWr.js → MultiselectListBox-CfdPbcn1.js} +96 -72
- package/dist/NameFilter-BV68t_P5.js +37 -0
- package/dist/NumberControl-Dm01CJW9.js +33 -0
- package/dist/NumberControlBase-CN5eTKEm.js +58 -0
- package/dist/{NumberInput-BepS3tAK.js → NumberInput-DWTImcA_.js} +72 -54
- package/dist/OneOfDropdown-DuXXP0Qn.js +50 -0
- package/dist/RadioControl-X6HLs9F1.js +36 -0
- package/dist/RadioControlBase-BGUHTIUl.js +111 -0
- package/dist/{RichTextControl-CE6whfV5.js → RichTextControl-B1mJMs1e.js} +4126 -3777
- package/dist/SectionHeading-B6JkPyMh.js +31 -0
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js → SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js} +5456 -5284
- package/dist/SectionLayout-7pXn4OHo.js +61 -0
- package/dist/SettingsSubPanel-DToMRoLu.js +48 -0
- package/dist/SettingsSubPanelLayout-DnZnghFr.js +83 -0
- package/dist/SimpleButtonControl-DOSd92Kq.js +84 -0
- package/dist/SimpleTwinlistControl-RBfQTk47.js +31 -0
- package/dist/SingleSelectControl-C-GLQD-a.js +73 -0
- package/dist/SingleSelectListBoxControl-CDg_1QUT.js +260 -0
- package/dist/SortListControl-CWuxKIEb.js +445 -0
- package/dist/StyledListItem-NqAG7jSw.js +81 -0
- package/dist/TextAreaControl-Dt5ZGrae.js +122 -0
- package/dist/TextControl-w9vrCC1T.js +54 -0
- package/dist/TimeControl-DiNQSV4K.js +46 -0
- package/dist/TwinlistControlBase-CMFEecdr.js +47 -0
- package/dist/TwinlistLoadingInfo-Cy6HY-97.js +1080 -0
- package/dist/TypedStringFilter-FUF8sqOm.js +32 -0
- package/dist/ValueSwitch-Ozmr1YfK.js +162 -0
- package/dist/ValueSwitchControl-CdFlHo-2.js +33 -0
- package/dist/VerticalLayout-DY8gbasK.js +39 -0
- package/dist/VerticalLayoutBase-CpN-KONq.js +32 -0
- package/dist/ZonedDateTimeControl-Cg3dAfq5.js +79 -0
- package/dist/{_baseEach-DdH9cM67.js → _baseEach-CWap1NWh.js} +2 -2
- package/dist/{_baseIteratee-BGt-t7Os.js → _baseIteratee-D0MXvnuf.js} +3 -3
- package/dist/{_getTag-DAFySze4.js → _getTag-BvpAzjaz.js} +1 -1
- package/dist/{arrow-dropdown-BAFsD8Su.js → arrow-dropdown-eS-nVNCv.js} +7 -1
- package/dist/{arrow-next-BQVCxGb8.js → arrow-next-BmOStWql.js} +7 -1
- package/dist/{close-DGt8x-x_.js → close-0dYG2oDA.js} +7 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +134 -108
- package/dist/{localTimeUtils-NIKgHnIr.js → localTimeUtils-CfchSrLG.js} +1 -1
- package/dist/{reload-DCdbNLa2.js → reload-57Xc2t-6.js} +7 -1
- package/dist/testing.js +2 -2
- package/dist/{toString-BhubvA3m.js → toString-C-X8cE7K.js} +1 -1
- package/dist/{useBuiltinValidations-Boxrm71q.js → useBuiltinValidations-D0WuEacN.js} +1 -1
- package/dist/{usePossibleValues-DXuWWBh_.js → usePossibleValues-DTVXBGRC.js} +1 -1
- package/package.json +4 -4
- package/dist/AnyOfTwinlist-Co_sJAsc.js +0 -22
- package/dist/CheckboxControl-C10_DX1N.js +0 -40
- package/dist/Checkboxes-DWOxHiUX.js +0 -103
- package/dist/CheckboxesControl-BMRFgmO_.js +0 -38
- package/dist/DateControl-DAGAM92B.js +0 -29
- package/dist/DateTimeControl-DJhIb_U4.js +0 -45
- package/dist/DateTimeFormatInput-BhLQzC-P.js +0 -373
- package/dist/DateTimeFormatPickerControl-V7pxRYaW.js +0 -40
- package/dist/DateTimeFormatPickerWithTypeControl-3fa75rGw.js +0 -76
- package/dist/DropdownControl-DEIA5VD4.js +0 -31
- package/dist/HorizontalLayout-DCfhMNq4.js +0 -25
- package/dist/IntegerControl-Om8J7hch.js +0 -20
- package/dist/IntervalControl-B7UbyyD-.js +0 -545
- package/dist/LoadingDropdown-CINkq_Sw.js +0 -40
- package/dist/ManualTwinlistControl-BLTfr2gT.js +0 -79
- package/dist/MultiSelectListBoxControl-j1TaFtQj.js +0 -31
- package/dist/MultimodeTwinlistControl-BsFqHRFM.js +0 -459
- package/dist/NameFilter-d5k6rDVY.js +0 -24
- package/dist/NumberControl-Kc3hvVef.js +0 -20
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BOCR1qXG.js +0 -50
- package/dist/OneOfDropdown-CLwVXrbC.js +0 -33
- package/dist/RadioControl-DpziR8nA.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DVIeg5W1.js +0 -104
- package/dist/SectionHeading-D7znCZXu.js +0 -19
- package/dist/SectionLayout-BhXDOzqB.js +0 -46
- package/dist/SettingsSubPanel-x9uWGoiu.js +0 -5
- package/dist/SettingsSubPanelLayout-BPHBM5n5.js +0 -62
- package/dist/SimpleButtonControl-DfCSlgZS.js +0 -61
- package/dist/SimpleTwinlistControl-CBalniCf.js +0 -25
- package/dist/SingleSelectControl-DC4w0ata.js +0 -58
- package/dist/SingleSelectListBoxControl-CKj-p8jZ.js +0 -232
- package/dist/SortListControl-BIUyPjCi.js +0 -377
- package/dist/StyledListItem-D-HJWfo5.js +0 -72
- package/dist/TextAreaControl-D28TQZEY.js +0 -108
- package/dist/TextControl-DUDBWcHy.js +0 -4
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-DpAd3yOu.js +0 -47
- package/dist/TimeControl-HRooO_z3.js +0 -36
- package/dist/TwinlistControlBase-Brfh5pqZ.js +0 -40
- package/dist/TwinlistLoadingInfo-C4Tta00d.js +0 -946
- package/dist/TypedStringFilter-CdvgPKhD.js +0 -26
- package/dist/ValueSwitch-W4y1YvNM.js +0 -131
- package/dist/ValueSwitchControl-BaXH8Cjx.js +0 -20
- package/dist/VerticalLayout-ChAmRKNj.js +0 -30
- package/dist/VerticalLayoutBase-DAk4vfH5.js +0 -20
- package/dist/ZonedDateTimeControl-Qb57KmMT.js +0 -69
- package/dist/svgWithTitle-CnTmPYAB.js +0 -18
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as G, shallowRef as
|
|
2
|
-
import { o as te, t as se, b as R, i as N, c as
|
|
3
|
-
import { A as le } from "./arrow-dropdown-
|
|
4
|
-
import { C as re } from "./close-
|
|
1
|
+
import { defineComponent as G, shallowRef as T, h as U, watch as _, toValue as f, computed as B, unref as z, nextTick as X, toRefs as q, ref as M, resolveComponent as v, createBlock as E, openBlock as c, withCtx as C, createElementVNode as m, normalizeClass as y, withDirectives as Q, normalizeStyle as J, createElementBlock as h, withModifiers as x, renderSlot as D, toDisplayString as O, createCommentVNode as V, withKeys as Z, createVNode as P, Fragment as w, renderList as K, createTextVNode as $, vShow as ee } from "vue";
|
|
2
|
+
import { o as te, t as se, b as R, i as N, c as k, w as ne, d as ie, e as oe } from "./index-CpKfM262.js";
|
|
3
|
+
import { A as le } from "./arrow-dropdown-eS-nVNCv.js";
|
|
4
|
+
import { C as re } from "./close-0dYG2oDA.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { u as ae } from "./useSearch-hpyYQ_6y.js";
|
|
7
|
-
import { v as de, B as ue, _ as ce } from "./SectionHeading.
|
|
7
|
+
import { v as de, B as ue, _ as ce } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
8
8
|
import { i as he } from "./hotkeys-rxnt4egK.js";
|
|
9
|
-
import { d as pe, a as fe, b as me, i as ge, e as ye, h as
|
|
9
|
+
import { d as pe, a as fe, b as me, i as ge, e as ye, h as ve, c as xe } from "./_getTag-BvpAzjaz.js";
|
|
10
10
|
import { i as Ve } from "./isArray-WzO_os3q.js";
|
|
11
11
|
var we = "[object Map]", be = "[object Set]", Ee = Object.prototype, Ce = Ee.hasOwnProperty;
|
|
12
|
-
function
|
|
12
|
+
function De(e) {
|
|
13
13
|
if (e == null)
|
|
14
14
|
return !0;
|
|
15
15
|
if (pe(e) && (Ve(e) || typeof e == "string" || typeof e.splice == "function" || fe(e) || me(e) || ge(e)))
|
|
@@ -17,45 +17,45 @@ function Oe(e) {
|
|
|
17
17
|
var t = ye(e);
|
|
18
18
|
if (t == we || t == be)
|
|
19
19
|
return !e.size;
|
|
20
|
-
if (
|
|
21
|
-
return !
|
|
20
|
+
if (ve(e))
|
|
21
|
+
return !xe(e).length;
|
|
22
22
|
for (var s in e)
|
|
23
23
|
if (Ce.call(e, s))
|
|
24
24
|
return !1;
|
|
25
25
|
return !0;
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const Oe = /* @__PURE__ */ G({
|
|
28
28
|
name: "OnClickOutside",
|
|
29
29
|
props: ["as", "options"],
|
|
30
30
|
emits: ["trigger"],
|
|
31
31
|
setup(e, { slots: t, emit: s }) {
|
|
32
|
-
const a =
|
|
32
|
+
const a = T();
|
|
33
33
|
return te(a, (i) => {
|
|
34
34
|
s("trigger", i);
|
|
35
35
|
}, e.options), () => {
|
|
36
36
|
if (t.default)
|
|
37
|
-
return
|
|
37
|
+
return U(e.as || "div", { ref: a }, t.default());
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
41
|
-
function
|
|
40
|
+
}), ke = oe ? window : void 0;
|
|
41
|
+
function Se(e) {
|
|
42
42
|
var t;
|
|
43
43
|
const s = f(e);
|
|
44
44
|
return (t = s?.$el) != null ? t : s;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Ie(...e) {
|
|
47
47
|
const t = [], s = () => {
|
|
48
48
|
t.forEach((o) => o()), t.length = 0;
|
|
49
49
|
}, a = (o, l, r, u) => (o.addEventListener(l, r, u), () => o.removeEventListener(l, r, u)), i = B(() => {
|
|
50
|
-
const o =
|
|
50
|
+
const o = k(f(e[0])).filter((l) => l != null);
|
|
51
51
|
return o.every((l) => typeof l != "string") ? o : void 0;
|
|
52
52
|
}), n = ne(
|
|
53
53
|
() => {
|
|
54
54
|
var o, l;
|
|
55
55
|
return [
|
|
56
|
-
(l = (o = i.value) == null ? void 0 : o.map((r) =>
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
(l = (o = i.value) == null ? void 0 : o.map((r) => Se(r))) != null ? l : [ke].filter((r) => r != null),
|
|
57
|
+
k(f(i.value ? e[1] : e[0])),
|
|
58
|
+
k(z(i.value ? e[2] : e[1])),
|
|
59
59
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
60
60
|
f(i.value ? e[3] : e[2])
|
|
61
61
|
];
|
|
@@ -78,7 +78,7 @@ function Te(...e) {
|
|
|
78
78
|
};
|
|
79
79
|
return R(s), p;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function S(e) {
|
|
82
82
|
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
83
83
|
}
|
|
84
84
|
function A(e) {
|
|
@@ -90,19 +90,19 @@ function A(e) {
|
|
|
90
90
|
return !s || s.tagName === "BODY" ? !1 : A(s);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Te(e) {
|
|
94
94
|
const t = e || window.event, s = t.target;
|
|
95
95
|
return A(s) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
96
96
|
}
|
|
97
|
-
const
|
|
97
|
+
const I = /* @__PURE__ */ new WeakMap();
|
|
98
98
|
function _e(e, t = !1) {
|
|
99
|
-
const s =
|
|
99
|
+
const s = T(t);
|
|
100
100
|
let a = null, i = "";
|
|
101
101
|
_(se(e), (o) => {
|
|
102
|
-
const l =
|
|
102
|
+
const l = S(f(o));
|
|
103
103
|
if (l) {
|
|
104
104
|
const r = l;
|
|
105
|
-
if (
|
|
105
|
+
if (I.get(r) || I.set(r, r.style.overflow), r.style.overflow !== "hidden" && (i = r.style.overflow), r.style.overflow === "hidden")
|
|
106
106
|
return s.value = !0;
|
|
107
107
|
if (s.value)
|
|
108
108
|
return r.style.overflow = "hidden";
|
|
@@ -111,18 +111,18 @@ function _e(e, t = !1) {
|
|
|
111
111
|
immediate: !0
|
|
112
112
|
});
|
|
113
113
|
const n = () => {
|
|
114
|
-
const o =
|
|
115
|
-
!o || s.value || (N && (a =
|
|
114
|
+
const o = S(f(e));
|
|
115
|
+
!o || s.value || (N && (a = Ie(
|
|
116
116
|
o,
|
|
117
117
|
"touchmove",
|
|
118
118
|
(l) => {
|
|
119
|
-
|
|
119
|
+
Te(l);
|
|
120
120
|
},
|
|
121
121
|
{ passive: !1 }
|
|
122
122
|
)), o.style.overflow = "hidden", s.value = !0);
|
|
123
123
|
}, p = () => {
|
|
124
|
-
const o =
|
|
125
|
-
!o || !s.value || (N && a?.(), o.style.overflow = i,
|
|
124
|
+
const o = S(f(e));
|
|
125
|
+
!o || !s.value || (N && a?.(), o.style.overflow = i, I.delete(o), s.value = !1);
|
|
126
126
|
};
|
|
127
127
|
return R(p), B({
|
|
128
128
|
get() {
|
|
@@ -135,7 +135,7 @@ function _e(e, t = !1) {
|
|
|
135
135
|
}
|
|
136
136
|
function Be() {
|
|
137
137
|
let e = !1;
|
|
138
|
-
const t =
|
|
138
|
+
const t = T(!1);
|
|
139
139
|
return (s, a) => {
|
|
140
140
|
if (t.value = a.value, e)
|
|
141
141
|
return;
|
|
@@ -149,7 +149,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
149
149
|
name: "Dropdown",
|
|
150
150
|
components: {
|
|
151
151
|
DropdownIcon: le,
|
|
152
|
-
OnClickOutside:
|
|
152
|
+
OnClickOutside: Oe,
|
|
153
153
|
FunctionButton: de,
|
|
154
154
|
CloseIcon: re
|
|
155
155
|
},
|
|
@@ -308,7 +308,7 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
308
308
|
},
|
|
309
309
|
hasOptionTemplate() {
|
|
310
310
|
return this.possibleValues.length === 0 ? !1 : this.possibleValues.every(
|
|
311
|
-
(e) => e.slotData && !
|
|
311
|
+
(e) => e.slotData && !De(e.slotData)
|
|
312
312
|
);
|
|
313
313
|
},
|
|
314
314
|
selectedOption() {
|
|
@@ -452,8 +452,8 @@ const L = "ArrowDown", H = "ArrowUp", F = "Home", W = "End", Me = "Escape", Y =
|
|
|
452
452
|
key: 0,
|
|
453
453
|
class: "empty-state"
|
|
454
454
|
}, je = ["id", "title", "aria-selected", "onMouseenter", "onClick"], Ge = ["id", "name", "value"];
|
|
455
|
-
function
|
|
456
|
-
const p =
|
|
455
|
+
function Ue(e, t, s, a, i, n) {
|
|
456
|
+
const p = v("CloseIcon"), o = v("FunctionButton"), l = v("DropdownIcon"), r = v("OnClickOutside");
|
|
457
457
|
return c(), E(r, { onTrigger: n.closeDropdown }, {
|
|
458
458
|
default: C(() => [
|
|
459
459
|
m("div", {
|
|
@@ -499,24 +499,36 @@ function ze(e, t, s, a, i, n) {
|
|
|
499
499
|
role: "searchbox",
|
|
500
500
|
class: "search-input",
|
|
501
501
|
type: "text",
|
|
502
|
-
onClick: t[0] || (t[0] =
|
|
502
|
+
onClick: t[0] || (t[0] = x(() => {
|
|
503
503
|
}, ["stop"])),
|
|
504
504
|
onInput: t[1] || (t[1] = (u) => n.handleSearch(u.target.value))
|
|
505
|
-
}, null, 40, Ae)) : n.hasOptionTemplate ? (c(), h(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
505
|
+
}, null, 40, Ae)) : n.hasOptionTemplate ? (c(), h(
|
|
506
|
+
"div",
|
|
507
|
+
Le,
|
|
508
|
+
[
|
|
509
|
+
D(e.$slots, "option", {
|
|
510
|
+
slotData: n.selectedOption?.slotData,
|
|
511
|
+
isMissing: n.isMissing,
|
|
512
|
+
selectedValue: s.modelValue,
|
|
513
|
+
expanded: !1
|
|
514
|
+
})
|
|
515
|
+
],
|
|
516
|
+
512
|
|
517
|
+
/* NEED_PATCH */
|
|
518
|
+
)) : (c(), h(
|
|
519
|
+
"span",
|
|
520
|
+
{
|
|
521
|
+
key: 2,
|
|
522
|
+
ref: "span"
|
|
523
|
+
},
|
|
524
|
+
O(n.displayText),
|
|
525
|
+
513
|
|
526
|
+
/* TEXT, NEED_PATCH */
|
|
527
|
+
)),
|
|
516
528
|
m("div", He, [
|
|
517
529
|
n.hasRightIcon ? (c(), h("div", Fe, [
|
|
518
|
-
|
|
519
|
-
])) : V("", !0),
|
|
530
|
+
D(e.$slots, "icon-right")
|
|
531
|
+
])) : V("v-if", !0),
|
|
520
532
|
i.isExpanded && n.nonEmptySearchValue ? (c(), E(o, {
|
|
521
533
|
key: 1,
|
|
522
534
|
ref: "closeButton",
|
|
@@ -524,15 +536,16 @@ function ze(e, t, s, a, i, n) {
|
|
|
524
536
|
tabindex: "0",
|
|
525
537
|
class: "button",
|
|
526
538
|
compact: s.compact,
|
|
527
|
-
onKeydown: t[2] || (t[2] = Z(
|
|
539
|
+
onKeydown: t[2] || (t[2] = Z(x(() => {
|
|
528
540
|
}, ["stop"]), ["enter"])),
|
|
529
|
-
onClick:
|
|
541
|
+
onClick: x(n.handleResetInput, ["stop"])
|
|
530
542
|
}, {
|
|
531
543
|
default: C(() => [
|
|
532
544
|
P(p, { class: "icon" })
|
|
533
545
|
]),
|
|
534
546
|
_: 1
|
|
535
|
-
|
|
547
|
+
/* STABLE */
|
|
548
|
+
}, 8, ["compact", "onClick"])) : V("v-if", !0),
|
|
536
549
|
!i.isExpanded || !n.nonEmptySearchValue ? (c(), E(o, {
|
|
537
550
|
key: 2,
|
|
538
551
|
class: "button",
|
|
@@ -540,7 +553,7 @@ function ze(e, t, s, a, i, n) {
|
|
|
540
553
|
disabled: n.isDisabled,
|
|
541
554
|
title: i.isExpanded ? "Cancel" : "Expand",
|
|
542
555
|
tabindex: i.isExpanded ? 0 : -1,
|
|
543
|
-
onClick:
|
|
556
|
+
onClick: x(n.toggleExpanded, ["stop"])
|
|
544
557
|
}, {
|
|
545
558
|
default: C(() => [
|
|
546
559
|
P(l, {
|
|
@@ -548,7 +561,8 @@ function ze(e, t, s, a, i, n) {
|
|
|
548
561
|
})
|
|
549
562
|
]),
|
|
550
563
|
_: 1
|
|
551
|
-
|
|
564
|
+
/* STABLE */
|
|
565
|
+
}, 8, ["compact", "disabled", "title", "tabindex", "onClick"])) : V("v-if", !0)
|
|
552
566
|
])
|
|
553
567
|
], 46, Re),
|
|
554
568
|
Q(m("ul", {
|
|
@@ -558,36 +572,76 @@ function ze(e, t, s, a, i, n) {
|
|
|
558
572
|
"aria-activedescendant": i.isExpanded ? n.generateId("option", n.getCurrentSelectedId()) : void 0,
|
|
559
573
|
class: y({ "drops-upwards": s.direction === "up" })
|
|
560
574
|
}, [
|
|
561
|
-
n.hasNoFilteredPossibleValues ? (c(), h(
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
(
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
575
|
+
n.hasNoFilteredPossibleValues ? (c(), h(
|
|
576
|
+
"div",
|
|
577
|
+
Ye,
|
|
578
|
+
O(i.emptyState),
|
|
579
|
+
1
|
|
580
|
+
/* TEXT */
|
|
581
|
+
)) : V("v-if", !0),
|
|
582
|
+
(c(!0), h(
|
|
583
|
+
w,
|
|
584
|
+
null,
|
|
585
|
+
K(n.orderedGroupedValues, (u, b) => (c(), h(
|
|
586
|
+
w,
|
|
587
|
+
{ key: b },
|
|
588
|
+
[
|
|
589
|
+
t[5] || (t[5] = m(
|
|
590
|
+
"span",
|
|
591
|
+
{ class: "group-divider" },
|
|
592
|
+
null,
|
|
593
|
+
-1
|
|
594
|
+
/* CACHED */
|
|
595
|
+
)),
|
|
596
|
+
(c(!0), h(
|
|
597
|
+
w,
|
|
598
|
+
null,
|
|
599
|
+
K(u.items, (d) => (c(), h("li", {
|
|
600
|
+
id: n.generateId("option", d.id),
|
|
601
|
+
key: `listbox-${d.id}`,
|
|
602
|
+
ref_for: !0,
|
|
603
|
+
ref: (g) => i.optionRefs.set(d.id, g),
|
|
604
|
+
role: "option",
|
|
605
|
+
title: typeof d.title > "u" ? d.text : d.title,
|
|
606
|
+
class: y({
|
|
607
|
+
focused: n.isCurrentValue(d.id),
|
|
608
|
+
noselect: !0,
|
|
609
|
+
empty: d.text.trim() === "",
|
|
610
|
+
"has-option-template": n.hasOptionTemplate,
|
|
611
|
+
special: d.isSpecial
|
|
612
|
+
}),
|
|
613
|
+
"aria-selected": n.isCurrentValue(d.id),
|
|
614
|
+
onMouseenter: (g) => n.updateCandidate(d.id),
|
|
615
|
+
onClick: (g) => n.emitAndClose(d.id)
|
|
616
|
+
}, [
|
|
617
|
+
n.hasOptionTemplate ? D(e.$slots, "option", {
|
|
618
|
+
key: 0,
|
|
619
|
+
slotData: d.slotData,
|
|
620
|
+
expanded: !0
|
|
621
|
+
}) : (c(), h(
|
|
622
|
+
w,
|
|
623
|
+
{ key: 1 },
|
|
624
|
+
[
|
|
625
|
+
$(
|
|
626
|
+
O(d.text),
|
|
627
|
+
1
|
|
628
|
+
/* TEXT */
|
|
629
|
+
)
|
|
630
|
+
],
|
|
631
|
+
64
|
|
632
|
+
/* STABLE_FRAGMENT */
|
|
633
|
+
))
|
|
634
|
+
], 42, je))),
|
|
635
|
+
128
|
|
636
|
+
/* KEYED_FRAGMENT */
|
|
637
|
+
))
|
|
638
|
+
],
|
|
639
|
+
64
|
|
640
|
+
/* STABLE_FRAGMENT */
|
|
641
|
+
))),
|
|
642
|
+
128
|
|
643
|
+
/* KEYED_FRAGMENT */
|
|
644
|
+
))
|
|
591
645
|
], 10, We), [
|
|
592
646
|
[ee, i.isExpanded]
|
|
593
647
|
]),
|
|
@@ -600,9 +654,10 @@ function ze(e, t, s, a, i, n) {
|
|
|
600
654
|
], 10, Ne)
|
|
601
655
|
]),
|
|
602
656
|
_: 3
|
|
657
|
+
/* FORWARDED */
|
|
603
658
|
}, 8, ["onTrigger"]);
|
|
604
659
|
}
|
|
605
|
-
const nt = /* @__PURE__ */ ce(Ke, [["render",
|
|
660
|
+
const nt = /* @__PURE__ */ ce(Ke, [["render", Ue], ["__scopeId", "data-v-4996d969"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/components/src/components/forms/Dropdown/Dropdown.vue"]]);
|
|
606
661
|
export {
|
|
607
662
|
nt as D
|
|
608
663
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as n, toRef as l, createElementBlock as i, openBlock as s, Fragment as d, createCommentVNode as u, createVNode as c } from "vue";
|
|
2
|
+
import { u as p } from "./usePossibleValues-DTVXBGRC.js";
|
|
3
|
+
import { L as m } from "./LoadingDropdown-B9jHjdWV.js";
|
|
4
|
+
import { _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
5
|
+
const _ = /* @__PURE__ */ n({
|
|
6
|
+
__name: "DropdownControl",
|
|
7
|
+
props: {
|
|
8
|
+
control: { type: Object, required: !0 },
|
|
9
|
+
handleChange: { type: Function, required: !0 },
|
|
10
|
+
changeValue: { type: Function, required: !0 },
|
|
11
|
+
disabled: { type: Boolean, required: !0 },
|
|
12
|
+
isValid: { type: Boolean, required: !0 },
|
|
13
|
+
onRegisterValidation: { type: Function, required: !0 },
|
|
14
|
+
labelForId: { type: String, required: !0 }
|
|
15
|
+
},
|
|
16
|
+
setup(a, { expose: r }) {
|
|
17
|
+
r();
|
|
18
|
+
const e = a, { possibleValues: o } = p(l(e, "control")), t = { props: e, possibleValues: o, LoadingDropdown: m };
|
|
19
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
function f(a, r, e, o, t, V) {
|
|
23
|
+
return s(), i(
|
|
24
|
+
d,
|
|
25
|
+
null,
|
|
26
|
+
[
|
|
27
|
+
u(" eslint-disable vue/attribute-hyphenation typescript complains with ':aria-label' instead of ':ariaLabel'"),
|
|
28
|
+
c(o.LoadingDropdown, {
|
|
29
|
+
id: e.labelForId ?? "",
|
|
30
|
+
ariaLabel: e.control.label,
|
|
31
|
+
disabled: e.disabled,
|
|
32
|
+
"model-value": e.control.data ?? "",
|
|
33
|
+
"possible-values": o.possibleValues,
|
|
34
|
+
"is-valid": e.isValid,
|
|
35
|
+
compact: "",
|
|
36
|
+
"onUpdate:modelValue": e.changeValue
|
|
37
|
+
}, null, 8, ["id", "ariaLabel", "disabled", "model-value", "possible-values", "is-valid", "onUpdate:modelValue"])
|
|
38
|
+
],
|
|
39
|
+
2112
|
|
40
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
const q = /* @__PURE__ */ b(_, [["render", f], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/uiComponents/DropdownControl.vue"]]);
|
|
44
|
+
export {
|
|
45
|
+
q as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as c, createElementBlock as r, openBlock as t, Fragment as u, renderList as i, createBlock as _ } from "vue";
|
|
2
|
+
import { x as m, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
3
|
+
const p = /* @__PURE__ */ c({
|
|
4
|
+
__name: "HorizontalLayout",
|
|
5
|
+
props: {
|
|
6
|
+
layout: { type: Object, required: !0 }
|
|
7
|
+
},
|
|
8
|
+
setup(o, { expose: a }) {
|
|
9
|
+
a();
|
|
10
|
+
const e = { get DispatchRenderer() {
|
|
11
|
+
return m;
|
|
12
|
+
} };
|
|
13
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
14
|
+
}
|
|
15
|
+
}), h = { class: "horizontal" };
|
|
16
|
+
function y(o, a, e, n, f, b) {
|
|
17
|
+
return t(), r("div", h, [
|
|
18
|
+
(t(!0), r(
|
|
19
|
+
u,
|
|
20
|
+
null,
|
|
21
|
+
i(e.layout.uischema.elements, (s, l) => (t(), _(n.DispatchRenderer, {
|
|
22
|
+
key: l,
|
|
23
|
+
class: "horizontal-element",
|
|
24
|
+
schema: e.layout.schema,
|
|
25
|
+
uischema: s,
|
|
26
|
+
path: e.layout.path,
|
|
27
|
+
enabled: e.layout.enabled,
|
|
28
|
+
renderers: e.layout.renderers,
|
|
29
|
+
cells: e.layout.cells
|
|
30
|
+
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))),
|
|
31
|
+
128
|
|
32
|
+
/* KEYED_FRAGMENT */
|
|
33
|
+
))
|
|
34
|
+
]);
|
|
35
|
+
}
|
|
36
|
+
const z = /* @__PURE__ */ d(p, [["render", y], ["__scopeId", "data-v-37425baf"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/layoutComponents/HorizontalLayout.vue"]]);
|
|
37
|
+
export {
|
|
38
|
+
z as default
|
|
39
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
import { _ as
|
|
2
|
+
import { createElementBlock as l, openBlock as s, normalizeClass as r, createCommentVNode as o, createElementVNode as u, renderSlot as d, mergeProps as p } from "vue";
|
|
3
|
+
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "InputField",
|
|
6
6
|
props: {
|
|
@@ -109,40 +109,52 @@ const c = {
|
|
|
109
109
|
key: 1,
|
|
110
110
|
class: "icon icon-right"
|
|
111
111
|
};
|
|
112
|
-
function g(e, t, n, v, I,
|
|
113
|
-
return s(),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
112
|
+
function g(e, t, n, v, I, i) {
|
|
113
|
+
return s(), l(
|
|
114
|
+
"div",
|
|
115
|
+
{
|
|
116
|
+
class: r(["input-wrapper", { compact: n.compact }])
|
|
117
|
+
},
|
|
118
|
+
[
|
|
119
|
+
i.hasLeftIcon ? (s(), l("div", m, [
|
|
120
|
+
d(e.$slots, "icon")
|
|
121
|
+
])) : o("v-if", !0),
|
|
122
|
+
u("input", p(e.$attrs, {
|
|
123
|
+
id: n.id,
|
|
124
|
+
ref: "input",
|
|
125
|
+
name: n.name,
|
|
126
|
+
value: n.modelValue,
|
|
127
|
+
class: i.inputClassList,
|
|
128
|
+
type: n.type,
|
|
129
|
+
pattern: n.pattern,
|
|
130
|
+
placeholder: n.placeholder,
|
|
131
|
+
autofocus: n.autofocus,
|
|
132
|
+
"aria-activedescendant": n.ariaActivedescendant,
|
|
133
|
+
"aria-owns": n.ariaOwns,
|
|
134
|
+
autocomplete: n.autocomplete,
|
|
135
|
+
disabled: n.disabled,
|
|
136
|
+
onInput: t[0] || (t[0] = (...a) => i.onInput && i.onInput(...a)),
|
|
137
|
+
onFocus: t[1] || (t[1] = (a) => e.$emit("focus", a)),
|
|
138
|
+
onKeyup: t[2] || (t[2] = (a) => e.$emit("keyup", a)),
|
|
139
|
+
onKeypress: t[3] || (t[3] = (a) => e.$emit("keypress", a)),
|
|
140
|
+
onKeydown: t[4] || (t[4] = (a) => e.$emit("keydown", a))
|
|
141
|
+
}), null, 16, h),
|
|
142
|
+
i.hasRightIcon ? (s(), l("div", y, [
|
|
143
|
+
d(e.$slots, "iconRight")
|
|
144
|
+
])) : o("v-if", !0),
|
|
145
|
+
t[5] || (t[5] = u(
|
|
146
|
+
"span",
|
|
147
|
+
{ class: "invalid-marker" },
|
|
148
|
+
null,
|
|
149
|
+
-1
|
|
150
|
+
/* CACHED */
|
|
151
|
+
))
|
|
152
|
+
],
|
|
153
|
+
2
|
|
154
|
+
/* CLASS */
|
|
155
|
+
);
|
|
144
156
|
}
|
|
145
|
-
const
|
|
157
|
+
const S = /* @__PURE__ */ f(c, [["render", g], ["__scopeId", "data-v-075acf38"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/components/src/components/forms/InputField/InputField.vue"]]);
|
|
146
158
|
export {
|
|
147
|
-
|
|
159
|
+
S as I
|
|
148
160
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as p, openBlock as u, mergeProps as s } from "vue";
|
|
2
|
+
import { N as i } from "./NumberControlBase-CN5eTKEm.js";
|
|
3
|
+
import { _ as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
4
|
+
const c = /* @__PURE__ */ n({
|
|
5
|
+
__name: "IntegerControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: { type: Object, required: !0 },
|
|
8
|
+
handleChange: { type: Function, required: !0 },
|
|
9
|
+
changeValue: { type: Function, required: !0 },
|
|
10
|
+
disabled: { type: Boolean, required: !0 },
|
|
11
|
+
isValid: { type: Boolean, required: !0 },
|
|
12
|
+
onRegisterValidation: { type: Function, required: !0 },
|
|
13
|
+
labelForId: { type: String, required: !0 }
|
|
14
|
+
},
|
|
15
|
+
setup(r, { expose: t }) {
|
|
16
|
+
t();
|
|
17
|
+
const e = { NumberControlBase: i };
|
|
18
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
function l(r, t, e, o, d, _) {
|
|
22
|
+
return u(), p(
|
|
23
|
+
o.NumberControlBase,
|
|
24
|
+
s(r.$props, { type: "integer" }),
|
|
25
|
+
null,
|
|
26
|
+
16
|
|
27
|
+
/* FULL_PROPS */
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
const b = /* @__PURE__ */ a(c, [["render", l], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/uiComponents/IntegerControl.vue"]]);
|
|
31
|
+
export {
|
|
32
|
+
b as default
|
|
33
|
+
};
|