@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as i, computed as s, createBlock as p, openBlock as l, mergeProps as a } from "vue";
|
|
2
|
+
import u from "./MultimodeTwinlistControl-oIvgI_FP.js";
|
|
3
|
+
import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
4
|
+
const d = /* @__PURE__ */ i({
|
|
5
|
+
__name: "TypedStringFilter",
|
|
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(t, { expose: r }) {
|
|
16
|
+
r();
|
|
17
|
+
const n = t, e = s(() => n.control.uischema.options), o = { props: n, options: e, TwinlistControl: u };
|
|
18
|
+
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
function m(t, r, n, e, o, _) {
|
|
22
|
+
return l(), p(e.TwinlistControl, a({ ...t.$props, ...t.$attrs }, {
|
|
23
|
+
"show-unknown-values": "",
|
|
24
|
+
"unknown-values-text": e.options.unknownValuesText,
|
|
25
|
+
"empty-state-label": e.options.emptyStateLabel,
|
|
26
|
+
"twinlist-size": e.props.control.uischema.options?.twinlistSize
|
|
27
|
+
}), null, 16, ["unknown-values-text", "empty-state-label", "twinlist-size"]);
|
|
28
|
+
}
|
|
29
|
+
const b = /* @__PURE__ */ c(d, [["render", m], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/uiComponents/twinlist/TypedStringFilter.vue"]]);
|
|
30
|
+
export {
|
|
31
|
+
b as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { defineComponent as u, createElementBlock as l, openBlock as s, Fragment as d, renderList as v, normalizeClass as i, createElementVNode as n, renderSlot as p, createCommentVNode as B, toDisplayString as r, resolveComponent as V, createBlock as g, withCtx as $, normalizeProps as h, guardReactiveProps as S } from "vue";
|
|
2
|
+
import { B as w, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
3
|
+
const k = u({
|
|
4
|
+
name: "BaseRadioButtons",
|
|
5
|
+
props: {
|
|
6
|
+
id: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: null
|
|
9
|
+
},
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
name: {
|
|
15
|
+
type: String,
|
|
16
|
+
default() {
|
|
17
|
+
return `RadioButtons-${w()}`;
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
default: !1,
|
|
22
|
+
type: Boolean
|
|
23
|
+
},
|
|
24
|
+
possibleValues: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => [],
|
|
27
|
+
validator(e) {
|
|
28
|
+
return Array.isArray(e) ? e.every(
|
|
29
|
+
(a) => a.hasOwnProperty("id") && a.hasOwnProperty("text")
|
|
30
|
+
) : !1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
emits: ["update:modelValue"],
|
|
35
|
+
methods: {
|
|
36
|
+
onInput(e) {
|
|
37
|
+
const a = e.target.value;
|
|
38
|
+
this.$emit("update:modelValue", a);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}), R = ["id"], _ = ["checked", "value", "name", "disabled"], I = ["title"];
|
|
42
|
+
function C(e, a, f, c, b, y) {
|
|
43
|
+
return s(), l("div", {
|
|
44
|
+
id: e.id,
|
|
45
|
+
role: "radiogroup"
|
|
46
|
+
}, [
|
|
47
|
+
(s(!0), l(
|
|
48
|
+
d,
|
|
49
|
+
null,
|
|
50
|
+
v(e.possibleValues, (t) => (s(), l(
|
|
51
|
+
"label",
|
|
52
|
+
{
|
|
53
|
+
key: `radio-${t.id}`,
|
|
54
|
+
class: i({ disabled: e.disabled || t.disabled })
|
|
55
|
+
},
|
|
56
|
+
[
|
|
57
|
+
n("input", {
|
|
58
|
+
ref_for: !0,
|
|
59
|
+
ref: "input",
|
|
60
|
+
checked: e.modelValue === t.id,
|
|
61
|
+
value: t.id,
|
|
62
|
+
name: e.name,
|
|
63
|
+
disabled: e.disabled || t.disabled,
|
|
64
|
+
type: "radio",
|
|
65
|
+
onChange: a[0] || (a[0] = (...o) => e.onInput && e.onInput(...o))
|
|
66
|
+
}, null, 40, _),
|
|
67
|
+
n("span", {
|
|
68
|
+
title: t.text
|
|
69
|
+
}, r(t.text), 9, I),
|
|
70
|
+
p(e.$slots, "default", { item: t }, void 0, !0),
|
|
71
|
+
t.subtext ? (s(), l(
|
|
72
|
+
d,
|
|
73
|
+
{ key: 0 },
|
|
74
|
+
[
|
|
75
|
+
a[1] || (a[1] = n(
|
|
76
|
+
"br",
|
|
77
|
+
null,
|
|
78
|
+
null,
|
|
79
|
+
-1
|
|
80
|
+
/* CACHED */
|
|
81
|
+
)),
|
|
82
|
+
n(
|
|
83
|
+
"span",
|
|
84
|
+
null,
|
|
85
|
+
r(t.subtext),
|
|
86
|
+
1
|
|
87
|
+
/* TEXT */
|
|
88
|
+
)
|
|
89
|
+
],
|
|
90
|
+
64
|
|
91
|
+
/* STABLE_FRAGMENT */
|
|
92
|
+
)) : B("v-if", !0)
|
|
93
|
+
],
|
|
94
|
+
2
|
|
95
|
+
/* CLASS */
|
|
96
|
+
))),
|
|
97
|
+
128
|
|
98
|
+
/* KEYED_FRAGMENT */
|
|
99
|
+
))
|
|
100
|
+
], 8, R);
|
|
101
|
+
}
|
|
102
|
+
const A = /* @__PURE__ */ m(k, [["render", C], ["__scopeId", "data-v-43fdb486"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/components/src/components/forms/RadioButtons/BaseRadioButtons.vue"]]), E = u({
|
|
103
|
+
name: "ValueSwitch",
|
|
104
|
+
components: {
|
|
105
|
+
BaseRadioButtons: A
|
|
106
|
+
},
|
|
107
|
+
props: {
|
|
108
|
+
id: {
|
|
109
|
+
type: String,
|
|
110
|
+
default: null
|
|
111
|
+
},
|
|
112
|
+
modelValue: {
|
|
113
|
+
type: String,
|
|
114
|
+
default: null
|
|
115
|
+
},
|
|
116
|
+
name: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: null
|
|
119
|
+
},
|
|
120
|
+
disabled: {
|
|
121
|
+
default: !1,
|
|
122
|
+
type: Boolean
|
|
123
|
+
},
|
|
124
|
+
possibleValues: {
|
|
125
|
+
type: Array,
|
|
126
|
+
default: () => []
|
|
127
|
+
},
|
|
128
|
+
compact: {
|
|
129
|
+
type: Boolean,
|
|
130
|
+
default: !1
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
emits: ["update:modelValue"]
|
|
134
|
+
});
|
|
135
|
+
function N(e, a, f, c, b, y) {
|
|
136
|
+
const t = V("BaseRadioButtons");
|
|
137
|
+
return s(), g(t, {
|
|
138
|
+
id: e.id,
|
|
139
|
+
ref: "radioButton",
|
|
140
|
+
"possible-values": e.possibleValues,
|
|
141
|
+
"model-value": e.modelValue,
|
|
142
|
+
name: e.name,
|
|
143
|
+
disabled: e.disabled,
|
|
144
|
+
class: i(["value-switch", {
|
|
145
|
+
disabled: e.disabled,
|
|
146
|
+
compact: e.compact,
|
|
147
|
+
normal: !e.compact
|
|
148
|
+
}]),
|
|
149
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => e.$emit("update:modelValue", o))
|
|
150
|
+
}, {
|
|
151
|
+
default: $((o) => [
|
|
152
|
+
p(e.$slots, "default", h(S(o)), void 0, !0)
|
|
153
|
+
]),
|
|
154
|
+
_: 3
|
|
155
|
+
/* FORWARDED */
|
|
156
|
+
}, 8, ["id", "possible-values", "model-value", "name", "disabled", "class"]);
|
|
157
|
+
}
|
|
158
|
+
const U = /* @__PURE__ */ m(E, [["render", N], ["__scopeId", "data-v-1af0afae"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/components/src/components/forms/ValueSwitch/ValueSwitch.vue"]]);
|
|
159
|
+
export {
|
|
160
|
+
A as B,
|
|
161
|
+
U as V
|
|
162
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as a, openBlock as i, mergeProps as u } from "vue";
|
|
2
|
+
import { R as p } from "./RadioControlBase-BGUHTIUl.js";
|
|
3
|
+
import { _ as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
4
|
+
const c = /* @__PURE__ */ n({
|
|
5
|
+
__name: "ValueSwitchControl",
|
|
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 = { RadioControlBase: p };
|
|
18
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
function l(r, t, e, o, d, _) {
|
|
22
|
+
return i(), a(
|
|
23
|
+
o.RadioControlBase,
|
|
24
|
+
u(r.$props, { type: "valueSwitch" }),
|
|
25
|
+
null,
|
|
26
|
+
16
|
|
27
|
+
/* FULL_PROPS */
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
const y = /* @__PURE__ */ s(c, [["render", l], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/uiComponents/ValueSwitchControl.vue"]]);
|
|
31
|
+
export {
|
|
32
|
+
y as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as r, openBlock as s, withCtx as u } from "vue";
|
|
2
|
+
import { x as i, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
3
|
+
import { V as _ } from "./VerticalLayoutBase-CpN-KONq.js";
|
|
4
|
+
const d = /* @__PURE__ */ n({
|
|
5
|
+
__name: "VerticalLayout",
|
|
6
|
+
props: {
|
|
7
|
+
layout: { type: Object, required: !0 }
|
|
8
|
+
},
|
|
9
|
+
setup(c, { expose: t }) {
|
|
10
|
+
t();
|
|
11
|
+
const e = { get DispatchRenderer() {
|
|
12
|
+
return i;
|
|
13
|
+
}, VerticalLayoutBase: _ };
|
|
14
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
function y(c, t, e, a, p, h) {
|
|
18
|
+
return s(), r(a.VerticalLayoutBase, {
|
|
19
|
+
elements: e.layout.uischema.elements
|
|
20
|
+
}, {
|
|
21
|
+
default: u(({ element: o, index: l }) => [
|
|
22
|
+
(s(), r(a.DispatchRenderer, {
|
|
23
|
+
key: `${e.layout.path}-${l}`,
|
|
24
|
+
schema: e.layout.schema,
|
|
25
|
+
uischema: o,
|
|
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
|
+
]),
|
|
32
|
+
_: 1
|
|
33
|
+
/* STABLE */
|
|
34
|
+
}, 8, ["elements"]);
|
|
35
|
+
}
|
|
36
|
+
const V = /* @__PURE__ */ m(d, [["render", y], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/layoutComponents/VerticalLayout.vue"]]);
|
|
37
|
+
export {
|
|
38
|
+
V as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as c, createElementBlock as s, openBlock as a, Fragment as u, renderList as _, renderSlot as p } from "vue";
|
|
2
|
+
import { _ as l } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
3
|
+
const i = /* @__PURE__ */ c({
|
|
4
|
+
__name: "VerticalLayoutBase",
|
|
5
|
+
props: {
|
|
6
|
+
elements: { type: Array, required: !0 }
|
|
7
|
+
},
|
|
8
|
+
setup(t, { expose: r }) {
|
|
9
|
+
r();
|
|
10
|
+
const e = {};
|
|
11
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
12
|
+
}
|
|
13
|
+
}), m = { class: "vertical-layout" };
|
|
14
|
+
function d(t, r, e, f, y, v) {
|
|
15
|
+
return a(), s("div", m, [
|
|
16
|
+
(a(!0), s(
|
|
17
|
+
u,
|
|
18
|
+
null,
|
|
19
|
+
_(e.elements, (n, o) => p(t.$slots, "default", {
|
|
20
|
+
key: o,
|
|
21
|
+
element: n,
|
|
22
|
+
index: o
|
|
23
|
+
}, void 0, !0)),
|
|
24
|
+
128
|
|
25
|
+
/* KEYED_FRAGMENT */
|
|
26
|
+
))
|
|
27
|
+
]);
|
|
28
|
+
}
|
|
29
|
+
const k = /* @__PURE__ */ l(i, [["render", d], ["__scopeId", "data-v-98f477fc"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/layoutComponents/VerticalLayoutBase.vue"]]);
|
|
30
|
+
export {
|
|
31
|
+
k as V
|
|
32
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as c, computed as n, createElementBlock as p, openBlock as b, createVNode as u, createCommentVNode as f } from "vue";
|
|
2
|
+
import { D as _ } from "./DateTimeInput-DcwhvMD2.js";
|
|
3
|
+
import { _ as v } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
4
|
+
import { t as h, f as V } from "./localTimeUtils-CfchSrLG.js";
|
|
5
|
+
import { D as T } from "./Dropdown-D49sEHBa.js";
|
|
6
|
+
const g = /* @__PURE__ */ c({
|
|
7
|
+
__name: "ZonedDateTimeControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: { type: Object, required: !0 },
|
|
10
|
+
handleChange: { type: Function, required: !0 },
|
|
11
|
+
changeValue: { type: Function, required: !0 },
|
|
12
|
+
disabled: { type: Boolean, required: !0 },
|
|
13
|
+
isValid: { type: Boolean, required: !0 },
|
|
14
|
+
onRegisterValidation: { type: Function, required: !0 },
|
|
15
|
+
labelForId: { type: String, required: !0 }
|
|
16
|
+
},
|
|
17
|
+
setup(r, { expose: a }) {
|
|
18
|
+
a();
|
|
19
|
+
const o = r, e = n(() => o.control.uischema.options), t = n({
|
|
20
|
+
get: () => o.control.data,
|
|
21
|
+
set: o.changeValue
|
|
22
|
+
}), s = n({
|
|
23
|
+
get: () => h(t.value.dateTime),
|
|
24
|
+
set: (l) => {
|
|
25
|
+
t.value = {
|
|
26
|
+
...t.value,
|
|
27
|
+
// get wall time of UTC time
|
|
28
|
+
dateTime: V(l)
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}), i = n({
|
|
32
|
+
get: () => t.value.timeZone,
|
|
33
|
+
set: (l) => {
|
|
34
|
+
t.value = {
|
|
35
|
+
...t.value,
|
|
36
|
+
timeZone: l
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}), m = n(() => e.value?.possibleValues ?? []), d = { props: o, options: e, modelValue: t, datePart: s, zonePart: i, choices: m, get Dropdown() {
|
|
40
|
+
return T;
|
|
41
|
+
}, get DateTimeInput() {
|
|
42
|
+
return _;
|
|
43
|
+
} };
|
|
44
|
+
return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
|
|
45
|
+
}
|
|
46
|
+
}), w = ["id"];
|
|
47
|
+
function D(r, a, o, e, t, s) {
|
|
48
|
+
return b(), p("div", {
|
|
49
|
+
id: o.labelForId,
|
|
50
|
+
class: "layout-container"
|
|
51
|
+
}, [
|
|
52
|
+
u(e.DateTimeInput, {
|
|
53
|
+
modelValue: e.datePart,
|
|
54
|
+
"onUpdate:modelValue": a[0] || (a[0] = (i) => e.datePart = i),
|
|
55
|
+
required: !0,
|
|
56
|
+
"show-timezone": !1,
|
|
57
|
+
"show-seconds": e.options?.showSeconds,
|
|
58
|
+
"show-milliseconds": e.options?.showMilliseconds,
|
|
59
|
+
timezone: "UTC",
|
|
60
|
+
"is-valid": o.isValid,
|
|
61
|
+
compact: "",
|
|
62
|
+
disabled: o.disabled
|
|
63
|
+
}, null, 8, ["modelValue", "show-seconds", "show-milliseconds", "is-valid", "disabled"]),
|
|
64
|
+
f(" eslint-disable vue/attribute-hyphenation typescript complains with ':aria-label' instead of ':ariaLabel'"),
|
|
65
|
+
u(e.Dropdown, {
|
|
66
|
+
modelValue: e.zonePart,
|
|
67
|
+
"onUpdate:modelValue": a[1] || (a[1] = (i) => e.zonePart = i),
|
|
68
|
+
"is-valid": o.isValid,
|
|
69
|
+
compact: "",
|
|
70
|
+
"possible-values": e.choices,
|
|
71
|
+
disabled: o.disabled,
|
|
72
|
+
ariaLabel: "Timezone"
|
|
73
|
+
}, null, 8, ["modelValue", "is-valid", "possible-values", "disabled"])
|
|
74
|
+
], 8, w);
|
|
75
|
+
}
|
|
76
|
+
const z = /* @__PURE__ */ v(g, [["render", D], ["__scopeId", "data-v-e6a15b08"], ["__file", "/Users/albrecht/Documents/KNIME/git/webapps-common/packages/jsonforms/src/uiComponents/ZonedDateTimeControl.vue"]]);
|
|
77
|
+
export {
|
|
78
|
+
z as default
|
|
79
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h } from "./_baseIteratee-
|
|
2
|
-
import { d as b } from "./_getTag-
|
|
1
|
+
import { k as h } from "./_baseIteratee-D0MXvnuf.js";
|
|
2
|
+
import { d as b } from "./_getTag-BvpAzjaz.js";
|
|
3
3
|
function g(n) {
|
|
4
4
|
return function(e, r, f) {
|
|
5
5
|
for (var i = -1, a = Object(e), t = f(e), u = t.length; u--; ) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as Y, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as N, f as _n } from "./_getTag-
|
|
2
|
-
import { o as V, I as on, S as H, J as F, G as hn } from "./SectionHeading.
|
|
1
|
+
import { i as Y, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as N, f as _n } from "./_getTag-BvpAzjaz.js";
|
|
2
|
+
import { o as V, I as on, S as H, J as F, G as hn } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
3
3
|
import { i as O } from "./isArray-WzO_os3q.js";
|
|
4
|
-
import { t as pn } from "./toString-
|
|
4
|
+
import { t as pn } from "./toString-C-X8cE7K.js";
|
|
5
5
|
function dn(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as I, K as i, I as o, J as v, M as _ } from "./SectionHeading.
|
|
1
|
+
import { G as I, K as i, I as o, J as v, M as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js";
|
|
2
2
|
var V = "[object AsyncFunction]", D = "[object Function]", U = "[object GeneratorFunction]", G = "[object Proxy]";
|
|
3
3
|
function E(r) {
|
|
4
4
|
if (!I(r))
|
|
@@ -8,7 +8,13 @@ const t = {
|
|
|
8
8
|
};
|
|
9
9
|
function l(s, e) {
|
|
10
10
|
return n(), o("svg", t, e[0] || (e[0] = [
|
|
11
|
-
r(
|
|
11
|
+
r(
|
|
12
|
+
"path",
|
|
13
|
+
{ d: "M28.7 9.7 16 22.3 3.3 9.7" },
|
|
14
|
+
null,
|
|
15
|
+
-1
|
|
16
|
+
/* CACHED */
|
|
17
|
+
)
|
|
12
18
|
]));
|
|
13
19
|
}
|
|
14
20
|
const i = { render: l };
|
|
@@ -8,7 +8,13 @@ const r = {
|
|
|
8
8
|
};
|
|
9
9
|
function l(s, e) {
|
|
10
10
|
return n(), o("svg", r, e[0] || (e[0] = [
|
|
11
|
-
t(
|
|
11
|
+
t(
|
|
12
|
+
"path",
|
|
13
|
+
{ d: "m10.5 5 11 11-11 11" },
|
|
14
|
+
null,
|
|
15
|
+
-1
|
|
16
|
+
/* CACHED */
|
|
17
|
+
)
|
|
12
18
|
]));
|
|
13
19
|
}
|
|
14
20
|
const i = { render: l };
|
|
@@ -8,7 +8,13 @@ const r = {
|
|
|
8
8
|
};
|
|
9
9
|
function l(s, e) {
|
|
10
10
|
return n(), o("svg", r, e[0] || (e[0] = [
|
|
11
|
-
t(
|
|
11
|
+
t(
|
|
12
|
+
"path",
|
|
13
|
+
{ d: "M5 27 27 5M5 5l22 22" },
|
|
14
|
+
null,
|
|
15
|
+
-1
|
|
16
|
+
/* CACHED */
|
|
17
|
+
)
|
|
12
18
|
]));
|
|
13
19
|
}
|
|
14
20
|
const i = { render: l };
|