@knime/jsonforms 1.21.17 → 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 +12 -0
- package/dist/{AnyOfTwinlist-SXwBBRp2.js → AnyOfTwinlist-Chx0nmt3.js} +1 -1
- package/dist/{CheckboxControl-CbWn843V.js → CheckboxControl-B8b1Di4k.js} +1 -1
- package/dist/{CheckboxesControl-BiQOMrsp.js → CheckboxesControl-DWUnPGdN.js} +2 -2
- package/dist/{ColorControl-B_mQdOCs.js → ColorControl-ByE5ku7u.js} +1 -1
- package/dist/{ColorPreviewControl-BREwhSO9.js → ColorPreviewControl-XiKZ4jfn.js} +5 -5
- package/dist/{ComboBoxControl-BIZlnizm.js → ComboBoxControl-zSceYlyZ.js} +2 -2
- package/dist/{DateControl-vkwY-8Qy.js → DateControl-BBGpEVpr.js} +1 -1
- package/dist/{DateTimeControl-CtXV6_D2.js → DateTimeControl-CymOURq5.js} +2 -2
- package/dist/{DateTimeFormatPickerControl-a7MPaNFN.js → DateTimeFormatPickerControl-Bx19jwpr.js} +1 -1
- package/dist/{DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq.js} +14 -14
- package/dist/{DropdownControl-BUwovb4K.js → DropdownControl-C6ffVYyf.js} +2 -2
- package/dist/{ExecutorCoresControl-DN-1o1XJ.js → ExecutorCoresControl-D9FZ-g9O.js} +1 -1
- package/dist/{ExecutorMemoryControl-UzqzP4hI.js → ExecutorMemoryControl-__P80Lkb.js} +1 -1
- package/dist/{FileUploadControl-WC8TFQHe.js → FileUploadControl-DWs4PhOj.js} +28 -28
- package/dist/{GridSelectionControl-BgqT1t9d.js → GridSelectionControl-WcJ4y6Fs.js} +7 -7
- package/dist/{HorizontalLayout-CESRA3YR.js → HorizontalLayout-ByB5A7X3.js} +1 -1
- package/dist/{IntegerControl-DKXN0mcE.js → IntegerControl-aveswmbr.js} +1 -1
- package/dist/{IntervalControl-BswGPjcV.js → IntervalControl-B4Eqs1Jf.js} +1 -1
- package/dist/{LinkControl-DTqOfnTg.js → LinkControl-DD56lOiw.js} +5 -5
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg.js} +5 -5
- package/dist/{ManualTwinlistControl-CoZdPu6n.js → ManualTwinlistControl-DBZ5RZgW.js} +3 -3
- package/dist/{MultiSelectListBoxControl-CjM94miu.js → MultiSelectListBoxControl-BMsPvxGQ.js} +3 -3
- package/dist/{MultimodeTwinlistControl-NMnPBn6a.js → MultimodeTwinlistControl-thO1be1r.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CKcpm_I1.js} +5 -5
- package/dist/{NameFilter-DuVJG0SF.js → NameFilter-DBMVmZmk.js} +1 -1
- package/dist/{NumberControl-NMJmxuze.js → NumberControl-BPVO5l6t.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6.js} +4 -4
- package/dist/{OneOfDropdown-CwJemyYo.js → OneOfDropdown-DBG8ZcpV.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BK3UCreL.js → RadioButtonsWithDescriptionControl-BsqMTEB5.js} +1 -1
- package/dist/{RadioControl-ts1-JozG.js → RadioControl-ClJmr0EQ.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw.js} +2 -2
- package/dist/{ResourceControlBase-FDiyHyQi.js → ResourceControlBase-CeXYJeR1.js} +7 -7
- package/dist/{RichTextControl-DH6GqUeF.js → RichTextControl-DvYkBpzH.js} +2794 -2625
- package/dist/SectionHeading-7KVIxCGG.js +61 -0
- package/dist/{SectionLayout-Cb3_L9Te.js → SectionLayout-CwRO3UXc.js} +3 -3
- package/dist/SettingsSubPanel-i2sjXJXx.js +5 -0
- package/dist/SettingsSubPanelLayout-CV6y2bcX.js +67 -0
- package/dist/{SimpleButtonControl-BeRnF6lP.js → SimpleButtonControl-D58aXnm7.js} +4 -4
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js} +9217 -9194
- package/dist/{SimpleTwinlistControl-CnBe4qsI.js → SimpleTwinlistControl-BSON5VYy.js} +2 -2
- package/dist/{SingleSelectControl-C4Qzk2Ki.js → SingleSelectControl-BSqORMYm.js} +2 -2
- package/dist/{SingleSelectListBoxControl-sLe2Y67h.js → SingleSelectListBoxControl-CFdKzbOK.js} +5 -5
- package/dist/{SortListControl-ChpYm3CZ.js → SortListControl-DZIHeQmn.js} +5 -5
- package/dist/{StyledListItem-BJEJoIzr.js → StyledListItem--sgmJ3W_.js} +1 -1
- package/dist/{TeamAndSpacesControl-7ZXPUwBb.js → TeamAndSpacesControl-DiMyDT-5.js} +5 -5
- package/dist/{TeamResourceControl-BZDXMRLZ.js → TeamResourceControl-Bag_dwA1.js} +1 -1
- package/dist/{TextAreaControl-BDGtgWys.js → TextAreaControl-B52P0DAa.js} +1 -1
- package/dist/{TextControl-8jfyOJKb.js → TextControl-52n-sttB.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js → TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js} +2 -2
- package/dist/{TimeControl-Dvt5U7xN.js → TimeControl-Cu12_qpz.js} +7 -7
- package/dist/{TimeframesControl-DcUxC3kX.js → TimeframesControl-DhdC8OS1.js} +1 -1
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz.js} +2 -2
- package/dist/{TypedStringFilter-Cx8OCQcE.js → TypedStringFilter-zJOICQei.js} +1 -1
- package/dist/{ValueSwitchControl-1ax1yKbk.js → ValueSwitchControl-CEVWJH7z.js} +1 -1
- package/dist/{VerticalLayout-DnyoqTeh.js → VerticalLayout-D_13xb_m.js} +2 -2
- package/dist/{VerticalLayoutBase-BS5IpgON.js → VerticalLayoutBase-CYfG9KqS.js} +1 -1
- package/dist/{ZonedDateTimeControl-mIIRwaHz.js → ZonedDateTimeControl-C-vO6fC1.js} +4 -4
- package/dist/{_Uint8Array-CsgDtogS.js → _Uint8Array-DdGQvEX6.js} +18 -18
- package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +106 -97
- 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-f8odPeFb.js} +1 -1
- package/dist/{useBuiltinValidations-Cfw3JlJf.js → useBuiltinValidations-KbChI8vv.js} +1 -1
- package/dist/{usePossibleValues-CtPV4Cjp.js → usePossibleValues-DiYOmnZW.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BCbqJg7j.js → useUnknownValuesInTwinlist-BhhirtmX.js} +1 -1
- package/package.json +2 -2
- package/dist/SectionHeading-DIAFnjCM.js +0 -19
- package/dist/SettingsSubPanel-BuxORlJO.js +0 -5
- package/dist/SettingsSubPanelLayout-DruWJjQA.js +0 -73
- package/dist/arrow-next-BQULX8HT.js +0 -17
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +0 -10
package/dist/knime-jsonforms.js
CHANGED
|
@@ -1,28 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { L as
|
|
4
|
-
import { default as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { V as
|
|
7
|
-
import { S as
|
|
8
|
-
import { S as
|
|
9
|
-
const G = {
|
|
1
|
+
import { openBlock as l, createElementBlock as D, createElementVNode as b, renderSlot as v, defineComponent as u, ref as y, onMounted as A, createVNode as n, unref as i, createCommentVNode as E, provide as I, computed as d, watch as F, createBlock as w, Suspense as B, withCtx as _, mergeProps as O, nextTick as J } from "vue";
|
|
2
|
+
import { _ as S, K as h, p as R, s as M, U as V, i as U, a as z } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
3
|
+
import { L as me, S as fe, c as pe, b as he, d as ve, e as ge, f as _e, g as ye, h as De, j as be, l as we, k as Se, m as Pe, n as xe, o as Le, t as $e, u as Ce, w as Fe, q as je } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
4
|
+
import { default as Te } from "./SimpleButtonControl-D58aXnm7.js";
|
|
5
|
+
import { _ as Ae } from "./TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js";
|
|
6
|
+
import { V as Ie } from "./VerticalLayoutBase-CYfG9KqS.js";
|
|
7
|
+
import { S as Oe } from "./SectionHeading-7KVIxCGG.js";
|
|
8
|
+
import { S as Re } from "./SettingsSubPanel-i2sjXJXx.js";
|
|
9
|
+
const q = {}, G = { class: "flex-wrapper" }, H = { class: "form" };
|
|
10
|
+
function K(t, s) {
|
|
11
|
+
return l(), D("div", G, [
|
|
12
|
+
b("div", H, [
|
|
13
|
+
v(t.$slots, "default", {}, void 0, !0)
|
|
14
|
+
]),
|
|
15
|
+
v(t.$slots, "bottom-content", {}, void 0, !0)
|
|
16
|
+
]);
|
|
17
|
+
}
|
|
18
|
+
const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-606e97f3"]]), Y = {
|
|
10
19
|
key: 0,
|
|
11
20
|
class: "loading-dialog"
|
|
12
|
-
},
|
|
21
|
+
}, Q = { class: "two-columns" }, W = 200, Z = /* @__PURE__ */ u({
|
|
13
22
|
__name: "LoadingDialog",
|
|
14
23
|
setup(t) {
|
|
15
24
|
const s = y(!1);
|
|
16
25
|
return A(() => {
|
|
17
26
|
setTimeout(() => {
|
|
18
27
|
s.value = !0;
|
|
19
|
-
},
|
|
20
|
-
}), (r,
|
|
28
|
+
}, W);
|
|
29
|
+
}), (r, a) => s.value ? (l(), D("div", Y, [
|
|
21
30
|
n(i(h), {
|
|
22
31
|
variant: "input-with-label",
|
|
23
32
|
repeat: 3
|
|
24
33
|
}),
|
|
25
|
-
|
|
34
|
+
b("div", Q, [
|
|
26
35
|
n(i(h), { variant: "input-with-label" }),
|
|
27
36
|
n(i(h), { variant: "input-with-label" })
|
|
28
37
|
]),
|
|
@@ -32,7 +41,7 @@ const G = {
|
|
|
32
41
|
})
|
|
33
42
|
])) : E("", !0);
|
|
34
43
|
}
|
|
35
|
-
}),
|
|
44
|
+
}), ee = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-fa5292ba"]]), te = { class: "dialog" }, j = "EXPOSED_METHOD", oe = /* @__PURE__ */ u({
|
|
36
45
|
__name: "JsonFormsDialog",
|
|
37
46
|
props: {
|
|
38
47
|
schema: {},
|
|
@@ -45,56 +54,56 @@ const G = {
|
|
|
45
54
|
},
|
|
46
55
|
emits: ["updateData", "trigger", "change", "alert", "stateProviderListener", "initialized"],
|
|
47
56
|
setup(t, { expose: s, emit: r }) {
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
const a = r, m = (e, o, g) => (o.type === V && // @ts-expect-error source doesn't exist on type object
|
|
58
|
+
o.context?.source !== j && setTimeout(() => J(() => a("updateData", o.path))), g(e, o)), c = (e) => {
|
|
59
|
+
a("change", e);
|
|
51
60
|
};
|
|
52
61
|
Object.entries({
|
|
53
|
-
trigger: (e) =>
|
|
54
|
-
addStateProviderListener: (e,
|
|
55
|
-
sendAlert: (e) =>
|
|
56
|
-
validate: (e,
|
|
62
|
+
trigger: (e) => a("trigger", e),
|
|
63
|
+
addStateProviderListener: (e, o) => a("stateProviderListener", e, o),
|
|
64
|
+
sendAlert: (e) => a("alert", e),
|
|
65
|
+
validate: (e, o) => {
|
|
57
66
|
if (!t.validate)
|
|
58
67
|
throw new Error(
|
|
59
68
|
`No validate function provided to JsonFormsDialog but validate called with arguments ${JSON.stringify(
|
|
60
|
-
{ id: e, data:
|
|
69
|
+
{ id: e, data: o }
|
|
61
70
|
)}`
|
|
62
71
|
);
|
|
63
|
-
return t.validate(e,
|
|
72
|
+
return t.validate(e, o);
|
|
64
73
|
}
|
|
65
|
-
}).forEach(([e,
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
source:
|
|
74
|
+
}).forEach(([e, o]) => I(e, o));
|
|
75
|
+
const p = y(null), P = [], x = (e, o) => {
|
|
76
|
+
p.value.dispatch(
|
|
77
|
+
U.update(e, () => o, {
|
|
78
|
+
source: j
|
|
70
79
|
})
|
|
71
80
|
);
|
|
72
|
-
},
|
|
73
|
-
let
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
}),
|
|
77
|
-
() =>
|
|
81
|
+
}, L = d(() => p.value !== null);
|
|
82
|
+
let $;
|
|
83
|
+
const k = new Promise((e) => {
|
|
84
|
+
$ = e;
|
|
85
|
+
}), T = F(
|
|
86
|
+
() => L.value,
|
|
78
87
|
(e) => {
|
|
79
|
-
e && (
|
|
88
|
+
e && (a("initialized"), T());
|
|
80
89
|
},
|
|
81
90
|
{ immediate: !0 }
|
|
82
91
|
);
|
|
83
|
-
|
|
84
|
-
() =>
|
|
92
|
+
F(
|
|
93
|
+
() => L.value,
|
|
85
94
|
(e) => {
|
|
86
|
-
e && (
|
|
87
|
-
({ path:
|
|
95
|
+
e && ($(), P.forEach(
|
|
96
|
+
({ path: o, value: g }) => x(o, g)
|
|
88
97
|
));
|
|
89
98
|
}
|
|
90
99
|
), s({
|
|
91
|
-
updateData: async (e,
|
|
92
|
-
|
|
100
|
+
updateData: async (e, o) => {
|
|
101
|
+
p.value ? x(e, o) : (P.push({ path: e, value: o }), await k);
|
|
93
102
|
}
|
|
94
103
|
});
|
|
95
|
-
const
|
|
96
|
-
R(
|
|
97
|
-
const
|
|
104
|
+
const C = y(null);
|
|
105
|
+
R(C);
|
|
106
|
+
const N = d(() => ({
|
|
98
107
|
data: t.data,
|
|
99
108
|
schema: t.schema,
|
|
100
109
|
uischema: t.uischema,
|
|
@@ -102,24 +111,24 @@ const G = {
|
|
|
102
111
|
middleware: m,
|
|
103
112
|
...t.ajv ? { ajv: t.ajv } : {}
|
|
104
113
|
}));
|
|
105
|
-
return (e,
|
|
106
|
-
|
|
114
|
+
return (e, o) => (l(), D("div", te, [
|
|
115
|
+
b("div", {
|
|
107
116
|
ref_key: "subPanelTeleportDest",
|
|
108
|
-
ref:
|
|
117
|
+
ref: C
|
|
109
118
|
}, null, 512),
|
|
110
|
-
(
|
|
111
|
-
fallback:
|
|
112
|
-
n(
|
|
119
|
+
(l(), w(B, null, {
|
|
120
|
+
fallback: _(() => [
|
|
121
|
+
n(ee)
|
|
113
122
|
]),
|
|
114
|
-
default:
|
|
115
|
-
n(
|
|
116
|
-
default:
|
|
117
|
-
|
|
118
|
-
n(i(
|
|
123
|
+
default: _(() => [
|
|
124
|
+
n(X, null, {
|
|
125
|
+
default: _(() => [
|
|
126
|
+
v(e.$slots, "top", {}, void 0, !0),
|
|
127
|
+
n(i(M), O({
|
|
119
128
|
ref_key: "jsonforms",
|
|
120
|
-
ref:
|
|
121
|
-
},
|
|
122
|
-
|
|
129
|
+
ref: p
|
|
130
|
+
}, N.value, { onChange: c }), null, 16),
|
|
131
|
+
v(e.$slots, "bottom", {}, void 0, !0)
|
|
123
132
|
]),
|
|
124
133
|
_: 3
|
|
125
134
|
})
|
|
@@ -128,14 +137,14 @@ const G = {
|
|
|
128
137
|
}))
|
|
129
138
|
]));
|
|
130
139
|
}
|
|
131
|
-
}),
|
|
140
|
+
}), ie = /* @__PURE__ */ S(oe, [["__scopeId", "data-v-dea72941"]]), ae = {
|
|
132
141
|
layout: {
|
|
133
142
|
type: Object,
|
|
134
143
|
required: !0
|
|
135
144
|
}
|
|
136
|
-
},
|
|
137
|
-
props:
|
|
138
|
-
}),
|
|
145
|
+
}, le = (t) => u(t, {
|
|
146
|
+
props: ae
|
|
147
|
+
}), se = /* @__PURE__ */ u({
|
|
139
148
|
__name: "FieldRenderer",
|
|
140
149
|
props: {
|
|
141
150
|
control: {},
|
|
@@ -143,20 +152,20 @@ const G = {
|
|
|
143
152
|
uischema: {}
|
|
144
153
|
},
|
|
145
154
|
setup(t) {
|
|
146
|
-
const s = (
|
|
155
|
+
const s = (c, f) => c === "" ? f : `${c}.${f}`, r = t, a = d(() => s(r.control.path, r.fieldName)), m = d(
|
|
147
156
|
() => r.control.schema.properties[r.fieldName]
|
|
148
157
|
);
|
|
149
|
-
return (
|
|
150
|
-
key:
|
|
158
|
+
return (c, f) => (l(), w(i(z), {
|
|
159
|
+
key: a.value,
|
|
151
160
|
schema: m.value,
|
|
152
161
|
uischema: t.uischema,
|
|
153
|
-
path:
|
|
162
|
+
path: a.value,
|
|
154
163
|
enabled: t.control.enabled,
|
|
155
164
|
renderers: t.control.renderers,
|
|
156
165
|
cells: t.control.cells
|
|
157
166
|
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
|
|
158
167
|
}
|
|
159
|
-
}),
|
|
168
|
+
}), ce = /* @__PURE__ */ u({
|
|
160
169
|
__name: "FieldControl",
|
|
161
170
|
props: {
|
|
162
171
|
control: {},
|
|
@@ -173,7 +182,7 @@ const G = {
|
|
|
173
182
|
format: s.format
|
|
174
183
|
}
|
|
175
184
|
}));
|
|
176
|
-
return (
|
|
185
|
+
return (a, m) => (l(), w(se, {
|
|
177
186
|
"field-name": t.fieldName,
|
|
178
187
|
uischema: r.value,
|
|
179
188
|
control: t.control
|
|
@@ -181,33 +190,33 @@ const G = {
|
|
|
181
190
|
}
|
|
182
191
|
});
|
|
183
192
|
export {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
193
|
+
ce as FieldControl,
|
|
194
|
+
X as Form,
|
|
195
|
+
ie as JsonFormsDialog,
|
|
196
|
+
me as LabeledControl,
|
|
197
|
+
Oe as SectionHeading,
|
|
198
|
+
Re as SettingsSubPanel,
|
|
199
|
+
fe as SimpleArrayLayout,
|
|
200
|
+
Te as SimpleButtonControl,
|
|
201
|
+
Ae as TextControl,
|
|
202
|
+
Ie as VerticalLayoutBase,
|
|
203
|
+
pe as controlProps,
|
|
204
|
+
he as controlToRenderer,
|
|
205
|
+
ve as controls,
|
|
206
|
+
ge as defaultRenderers,
|
|
207
|
+
_e as defineControl,
|
|
208
|
+
le as defineLayout,
|
|
209
|
+
ye as getAsyncSetupMethod,
|
|
210
|
+
De as handleAsyncComponents,
|
|
211
|
+
be as inputFormats,
|
|
212
|
+
ae as layoutProps,
|
|
213
|
+
we as layoutToRenderer,
|
|
214
|
+
Se as layouts,
|
|
215
|
+
Pe as mapControls,
|
|
216
|
+
xe as mapLayouts,
|
|
217
|
+
Le as priorityRanks,
|
|
218
|
+
$e as toRenderers,
|
|
219
|
+
Ce as useProvidedState,
|
|
220
|
+
Fe as withDescriptionButton,
|
|
221
|
+
je as withLabel
|
|
213
222
|
};
|
|
@@ -242,27 +242,27 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
242
242
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
243
243
|
updateData: (path: string, value: unknown) => Promise<void>;
|
|
244
244
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
245
|
+
trigger: (id: unknown) => any;
|
|
246
|
+
updateData: (path: string) => any;
|
|
245
247
|
change: (args_0: {
|
|
246
248
|
data: unknown;
|
|
247
249
|
}) => any;
|
|
248
|
-
initialized: () => any;
|
|
249
|
-
trigger: (id: unknown) => any;
|
|
250
|
-
updateData: (path: string) => any;
|
|
251
250
|
alert: (alert: AlertParams) => any;
|
|
252
251
|
stateProviderListener: (identifier: StateProviderLocation & {
|
|
253
252
|
[key: string]: unknown;
|
|
254
253
|
}, callback: (value: unknown) => void) => any;
|
|
254
|
+
initialized: () => any;
|
|
255
255
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
256
|
+
onTrigger?: ((id: unknown) => any) | undefined;
|
|
257
|
+
onUpdateData?: ((path: string) => any) | undefined;
|
|
256
258
|
onChange?: ((args_0: {
|
|
257
259
|
data: unknown;
|
|
258
260
|
}) => any) | undefined;
|
|
259
|
-
onInitialized?: (() => any) | undefined;
|
|
260
|
-
onTrigger?: ((id: unknown) => any) | undefined;
|
|
261
|
-
onUpdateData?: ((path: string) => any) | undefined;
|
|
262
261
|
onAlert?: ((alert: AlertParams) => any) | undefined;
|
|
263
262
|
onStateProviderListener?: ((identifier: StateProviderLocation & {
|
|
264
263
|
[key: string]: unknown;
|
|
265
264
|
}, callback: (value: unknown) => void) => any) | undefined;
|
|
265
|
+
onInitialized?: (() => any) | undefined;
|
|
266
266
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
267
267
|
subPanelTeleportDest: HTMLDivElement;
|
|
268
268
|
jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -6,11 +6,15 @@ declare function __VLS_template(): {
|
|
|
6
6
|
slots: {
|
|
7
7
|
'right-buttons'?(_: {}): any;
|
|
8
8
|
};
|
|
9
|
-
refs: {
|
|
10
|
-
|
|
9
|
+
refs: {
|
|
10
|
+
sentinel: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
rootEl: any;
|
|
11
13
|
};
|
|
12
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
sentinel: HTMLDivElement;
|
|
17
|
+
}, any>;
|
|
14
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
19
|
export default _default;
|
|
16
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -66,9 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
66
66
|
default: undefined;
|
|
67
67
|
};
|
|
68
68
|
}>> & Readonly<{}>, {
|
|
69
|
-
enabled: boolean;
|
|
70
69
|
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
71
70
|
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
72
71
|
config: Record<string, any>;
|
|
72
|
+
enabled: boolean;
|
|
73
73
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
74
|
export default _default;
|
|
@@ -68,9 +68,9 @@ export declare const simpleArrayLayoutRenderer: {
|
|
|
68
68
|
default: undefined;
|
|
69
69
|
};
|
|
70
70
|
}>> & Readonly<{}>, {
|
|
71
|
-
enabled: boolean;
|
|
72
71
|
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
73
72
|
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
74
73
|
config: Record<string, any>;
|
|
74
|
+
enabled: boolean;
|
|
75
75
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
76
76
|
};
|
|
@@ -88,8 +88,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
88
88
|
blur: () => any;
|
|
89
89
|
"update:modelValue": (content: string) => any;
|
|
90
90
|
}, string, {
|
|
91
|
-
withBorder: boolean;
|
|
92
91
|
disabled: boolean;
|
|
92
|
+
withBorder: boolean;
|
|
93
93
|
maxHeight: number | null;
|
|
94
94
|
minHeight: number | null;
|
|
95
95
|
autofocus: boolean;
|
|
@@ -137,8 +137,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
137
137
|
$nextTick: typeof import('vue').nextTick;
|
|
138
138
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
139
139
|
} & Readonly<{
|
|
140
|
-
withBorder: boolean;
|
|
141
140
|
disabled: boolean;
|
|
141
|
+
withBorder: boolean;
|
|
142
142
|
maxHeight: number | null;
|
|
143
143
|
minHeight: number | null;
|
|
144
144
|
autofocus: boolean;
|
|
@@ -198,7 +198,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
198
198
|
}> & Readonly<{
|
|
199
199
|
onBlur?: (() => any) | undefined;
|
|
200
200
|
"onUpdate:modelValue"?: ((content: string) => any) | undefined;
|
|
201
|
-
}>, "focus" | ("
|
|
201
|
+
}>, "focus" | ("disabled" | "withBorder" | "maxHeight" | "minHeight" | "autofocus" | "linkToolOptions" | "baseExtensions" | "hotkeyFormatter" | "editable" | "customExtensions" | "characterLimit")> & {
|
|
202
202
|
focus: () => void;
|
|
203
203
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
204
204
|
$slots: {
|
package/dist/testing.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Hh from "vue";
|
|
2
2
|
import { ssrUtils as Zi, initDirectivesForSSR as ng, nextTick as $o, defineComponent as Ni, computed as Vr, h as In, shallowReactive as rg, reactive as ig, ref as Yh, createApp as sg, transformVNodeArgs as og, setDevtoolsHook as ag, isRef as cg, TransitionGroup as lg, Transition as ug, BaseTransition as fg } from "vue";
|
|
3
|
-
import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
4
|
-
import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-
|
|
3
|
+
import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
4
|
+
import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-DdGQvEX6.js";
|
|
5
5
|
import { i as Rn } from "./isArray-WzO_os3q.js";
|
|
6
|
-
import { t as wg } from "./toString-
|
|
6
|
+
import { t as wg } from "./toString-f8odPeFb.js";
|
|
7
7
|
function Eg(e) {
|
|
8
8
|
return e;
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
1
|
+
import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
2
2
|
import { i as l } from "./isArray-WzO_os3q.js";
|
|
3
3
|
function p(r, t) {
|
|
4
4
|
for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onUnmounted as u, toRef as p, computed as d } from "vue";
|
|
2
|
-
import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
3
3
|
const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
|
|
4
4
|
const a = (t.providedOptions ?? []).filter(
|
|
5
5
|
(e) => e.startsWith("validation.")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as l } from "vue";
|
|
2
|
-
import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
3
3
|
const t = (s, e) => {
|
|
4
4
|
const u = l(() => s.value.uischema), o = d(u, "possibleValues");
|
|
5
5
|
return { possibleValues: l(() => u.value.providedOptions?.includes("possibleValues") ? o.value : u.value.options?.possibleValues ?? (typeof e?.defaultOnNonProvided > "u" ? [] : e?.defaultOnNonProvided)) };
|
package/dist/{useUnknownValuesInTwinlist-BCbqJg7j.js → useUnknownValuesInTwinlist-BhhirtmX.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as v, watch as m } from "vue";
|
|
2
2
|
import { g as S, a as g } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
3
|
+
import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
|
|
4
4
|
const w = ({
|
|
5
5
|
knownValuesSide: s,
|
|
6
6
|
possibleValueIds: l,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.19",
|
|
4
4
|
"description": "Internal JSON Forms integration for frontend KNIME projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@jsonforms/core": "3.4.0",
|
|
17
17
|
"@jsonforms/vue": "3.4.0",
|
|
18
18
|
"@jsonforms/vue-vanilla": "3.4.0",
|
|
19
|
-
"@knime/kds-components": "0.
|
|
19
|
+
"@knime/kds-components": "0.27.0",
|
|
20
20
|
"ajv": "8.18.0",
|
|
21
21
|
"temporal-polyfill": "^0.3.2",
|
|
22
22
|
"uuid": "14.0.0",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as e, toDisplayString as r, renderSlot as c } from "vue";
|
|
2
|
-
import { _ as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
-
const d = { class: "section-header" }, l = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ n({
|
|
4
|
-
__name: "SectionHeading",
|
|
5
|
-
props: {
|
|
6
|
-
titleText: {}
|
|
7
|
-
},
|
|
8
|
-
setup(t) {
|
|
9
|
-
return (o, p) => (s(), i("div", d, [
|
|
10
|
-
e("div", l, [
|
|
11
|
-
e("h3", null, r(t.titleText), 1),
|
|
12
|
-
c(o.$slots, "right-buttons", {}, void 0, !0)
|
|
13
|
-
])
|
|
14
|
-
]));
|
|
15
|
-
}
|
|
16
|
-
}), u = /* @__PURE__ */ a(_, [["__scopeId", "data-v-2310b6b8"]]);
|
|
17
|
-
export {
|
|
18
|
-
u as S
|
|
19
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, computed as s, ref as y, openBlock as c, createElementBlock as k, createVNode as a, withCtx as o, createBlock as p, unref as u, createElementVNode as i, renderSlot as S, toDisplayString as g } from "vue";
|
|
2
|
-
import { a as x, a8 as B, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
-
import { N as L } from "./arrow-next-BQULX8HT.js";
|
|
4
|
-
import { V as w } from "./VerticalLayoutBase-BS5IpgON.js";
|
|
5
|
-
import { S as C } from "./SectionHeading-DIAFnjCM.js";
|
|
6
|
-
import { S as N } from "./SettingsSubPanel-BuxORlJO.js";
|
|
7
|
-
const V = { class: "flex-row" }, P = /* @__PURE__ */ h({
|
|
8
|
-
__name: "SettingsSubPanelLayout",
|
|
9
|
-
props: {
|
|
10
|
-
layout: {}
|
|
11
|
-
},
|
|
12
|
-
setup(e) {
|
|
13
|
-
const m = e, r = s(() => m.layout.uischema.options ?? {}), d = s(() => r.value.setText ?? "Set"), b = s(
|
|
14
|
-
() => r.value.backButtonLabel ?? "Back to node configuration"
|
|
15
|
-
), n = y(!1);
|
|
16
|
-
return (f, l) => (c(), k("div", {
|
|
17
|
-
onMouseover: l[0] || (l[0] = (t) => n.value = !0),
|
|
18
|
-
onMouseleave: l[1] || (l[1] = (t) => n.value = !1)
|
|
19
|
-
}, [
|
|
20
|
-
a(N, {
|
|
21
|
-
"show-back-arrow": "",
|
|
22
|
-
"back-button-label": b.value,
|
|
23
|
-
"background-color-override": "var(--knime-gray-ultra-light)"
|
|
24
|
-
}, {
|
|
25
|
-
"expand-button": o(({ expand: t }) => [
|
|
26
|
-
a(C, {
|
|
27
|
-
"title-text": e.layout.uischema.label
|
|
28
|
-
}, {
|
|
29
|
-
"right-buttons": o(() => [
|
|
30
|
-
i("div", V, [
|
|
31
|
-
S(f.$slots, "buttons", { hover: n.value }, void 0, !0),
|
|
32
|
-
a(u(B), {
|
|
33
|
-
compact: "",
|
|
34
|
-
class: "set-button",
|
|
35
|
-
onClick: t
|
|
36
|
-
}, {
|
|
37
|
-
default: o(() => [
|
|
38
|
-
i("span", null, g(d.value), 1),
|
|
39
|
-
a(u(L))
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
-
}, 8, ["onClick"])
|
|
43
|
-
])
|
|
44
|
-
]),
|
|
45
|
-
_: 2
|
|
46
|
-
}, 1032, ["title-text"])
|
|
47
|
-
]),
|
|
48
|
-
default: o(() => [
|
|
49
|
-
a(w, {
|
|
50
|
-
elements: e.layout.uischema.elements
|
|
51
|
-
}, {
|
|
52
|
-
default: o(({ element: t, index: v }) => [
|
|
53
|
-
(c(), p(u(x), {
|
|
54
|
-
key: `${e.layout.path}-${v}`,
|
|
55
|
-
schema: e.layout.schema,
|
|
56
|
-
uischema: t,
|
|
57
|
-
path: e.layout.path,
|
|
58
|
-
enabled: e.layout.enabled,
|
|
59
|
-
renderers: e.layout.renderers,
|
|
60
|
-
cells: e.layout.cells
|
|
61
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 8, ["elements"])
|
|
65
|
-
]),
|
|
66
|
-
_: 3
|
|
67
|
-
}, 8, ["back-button-label"])
|
|
68
|
-
], 32));
|
|
69
|
-
}
|
|
70
|
-
}), H = /* @__PURE__ */ $(P, [["__scopeId", "data-v-7ec268f9"]]);
|
|
71
|
-
export {
|
|
72
|
-
H as default
|
|
73
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as n, createElementVNode as t } from "vue";
|
|
2
|
-
const r = {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
fill: "none",
|
|
5
|
-
stroke: "#000",
|
|
6
|
-
"stroke-linejoin": "round",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
8
|
-
};
|
|
9
|
-
function l(s, e) {
|
|
10
|
-
return o(), n("svg", r, [...e[0] || (e[0] = [
|
|
11
|
-
t("path", { d: "m10.5 5 11 11-11 11" }, null, -1)
|
|
12
|
-
])]);
|
|
13
|
-
}
|
|
14
|
-
const i = { render: l };
|
|
15
|
-
export {
|
|
16
|
-
i as N
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
backgroundColorOverride?: string;
|
|
3
|
-
backButtonLabel?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
click: (...args: any[]) => void;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
-
export default _default;
|