@knime/jsonforms 1.5.14 → 1.6.0
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 +17 -0
- package/dist/{AnyOfTwinlist-BW6xzn6D.js → AnyOfTwinlist-DuPzMJFu.js} +1 -1
- package/dist/{BaseButton-KN6tsTZH.js → BaseButton-Bqle7Pky.js} +1 -1
- package/dist/{Button-nvDPZmUL.js → Button-Bb4_kByn.js} +2 -2
- package/dist/{Checkbox-APwGzxUZ.js → Checkbox-B0dHc2cw.js} +1 -1
- package/dist/{CheckboxControl-DERe2t3M.js → CheckboxControl-Ds_KzfcZ.js} +2 -2
- package/dist/{Checkboxes-CMQRU5RS.js → Checkboxes-BFH5JEO4.js} +2 -2
- package/dist/{CheckboxesControl-CIc6e0K2.js → CheckboxesControl-C9zw3j-_.js} +2 -2
- package/dist/{ColumnFilter-HTq_8Vwp.js → ColumnFilter-CzGvzKW5.js} +1 -1
- package/dist/{ColumnSelect-D8qjL-rW.js → ColumnSelect-BH-oM1GP.js} +2 -2
- package/dist/{ComboBoxControl-CpZPliym.js → ComboBoxControl-BTaFTuQD.js} +3 -3
- package/dist/{DateControl-CoaP_Jqz.js → DateControl-xwRtS9Ug.js} +1 -1
- package/dist/{DateTimeControl-DtgTZM8Y.js → DateTimeControl-D5-4KdaD.js} +2 -2
- package/dist/{DateTimeFormatInput-pARck1p2.js → DateTimeFormatInput-DB0xVkX3.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-Bo8DiElc.js → DateTimeFormatPickerControl-Btynl1ef.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-_4mX0yje.js → DateTimeFormatPickerWithTypeControl-ByIRYguh.js} +3 -3
- package/dist/{DateTimeInput-CKmavUr1.js → DateTimeInput-DpYeNAd4.js} +3 -3
- package/dist/{Dropdown-C_udaF1y.js → Dropdown-BYAyjf4X.js} +2 -2
- package/dist/{DropdownControl-CBxCK6W5.js → DropdownControl-CA1wGdYy.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-_caXfAHP.js → DropdownControl.vue_vue_type_script_setup_true_lang-BVYvnwb4.js} +4 -4
- package/dist/{FunctionButton-CbFtX3ME.js → FunctionButton-CtbjmsFY.js} +2 -2
- package/dist/{HorizontalLayout-DgRr-wPK.js → HorizontalLayout-uvMqpi6w.js} +1 -1
- package/dist/{InputField-52w9v8Gl.js → InputField-C6t2uYCo.js} +1 -1
- package/dist/{IntegerControl-C4pWeSbA.js → IntegerControl-rTAVtp2j.js} +1 -1
- package/dist/{IntervalControl-StK211ux.js → IntervalControl-DQwMsSeK.js} +4 -4
- package/dist/{MultiselectListBox-v_KpvHt_.js → MultiselectListBox-Dh6-a8Bu.js} +1 -1
- package/dist/{NameFilter-B9sgYAkx.js → NameFilter-DJRWez3J.js} +1 -1
- package/dist/{NumberControl-i8wmX6ml.js → NumberControl-DbZrfdhW.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BNQKK53r.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BM9SbzdL.js} +2 -2
- package/dist/{NumberInput-BMgvWZAl.js → NumberInput-1AzGYr5u.js} +1 -1
- package/dist/{OneOfDropdown-uUTEFEQB.js → OneOfDropdown-C6nYroSs.js} +1 -1
- package/dist/{RadioControl-pkvYKFD0.js → RadioControl-D_D9B4BI.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-iw4Afaws.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B1TYbZNG.js} +2 -2
- package/dist/{RichTextControl-CwxxLWRe.js → RichTextControl-DkcI5Gex.js} +6 -6
- package/dist/SectionHeading-Kr6DVJJ9.js +19 -0
- package/dist/SectionLayout-D6-WXqLn.js +46 -0
- package/dist/SettingsSubPanel-HFzD5Do7.js +131 -0
- package/dist/{VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BQPV6FY5.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js} +1493 -1486
- package/dist/SettingsSubPanelLayout-fKsDyDkP.js +58 -0
- package/dist/{SimpleButtonControl-D95wXupo.js → SimpleButtonControl-36-1h81W.js} +2 -2
- package/dist/{SimpleTwinlistControl-EESdkelP.js → SimpleTwinlistControl-kTW_frQh.js} +2 -2
- package/dist/{SortListControl-D2frHMoU.js → SortListControl-Dn9e7jfJ.js} +4 -4
- package/dist/{TextAreaControl-BzVMBePH.js → TextAreaControl-DcY94Clz.js} +1 -1
- package/dist/{TextControl-DkJ94ogc.js → TextControl-B8fDld05.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Cd2dbyd5.js → TextControl.vue_vue_type_script_setup_true_lang-BLHNYAUm.js} +3 -3
- package/dist/{TimeControl-xvqmAblk.js → TimeControl-F4qKbGY2.js} +2 -2
- package/dist/{TwinlistControl-CKNeH31K.js → TwinlistControl-DPJBwXvs.js} +4 -4
- package/dist/{TwinlistLoadingInfo-Df62g5Zf.js → TwinlistLoadingInfo-CwcBV1cW.js} +6 -6
- package/dist/{ValueSwitch-CwstikEi.js → ValueSwitch-Cj7JpVm4.js} +1 -1
- package/dist/{ValueSwitchControl-B_AVHlbM.js → ValueSwitchControl-DC9Audd0.js} +1 -1
- package/dist/{VerticalLayout-DCiD4S0f.js → VerticalLayout-BTMwIdqH.js} +2 -2
- package/dist/{VerticalLayoutBase-BPR8oCFe.js → VerticalLayoutBase-MyHG9994.js} +1 -1
- package/dist/{ZonedDateTimeControl-DplK5Mf2.js → ZonedDateTimeControl-af0yjRxk.js} +4 -4
- package/dist/{arrow-next-CvdR0-WC.js → arrow-next-Qa8PNb04.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +71 -77
- package/dist/{localTimeUtils-DTcqASgn.js → localTimeUtils-DAmgbeN-.js} +1 -1
- package/dist/{magic-string.es-w9KVPi12.js → magic-string.es-BblF2zLm.js} +1 -1
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/index.d.ts +2 -1
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +22 -0
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +42 -0
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +6 -0
- package/dist/src/renderers/defaultRenderers.d.ts +47 -0
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +47 -0
- package/dist/{svgWithTitle-DCQiKDmU.js → svgWithTitle-BC4xkxyd.js} +1 -1
- package/dist/testing.js +2 -2
- package/package.json +3 -3
- package/dist/SectionLayout-CHg-AdbJ.js +0 -43
package/dist/knime-jsonforms.js
CHANGED
|
@@ -1,34 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _, s as
|
|
3
|
-
import { E as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
p("div", V, [
|
|
11
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
12
|
-
]),
|
|
13
|
-
d(o.$slots, "bottom-content", {}, void 0, !0)
|
|
14
|
-
]);
|
|
15
|
-
}
|
|
16
|
-
const U = /* @__PURE__ */ _(F, [["render", N], ["__scopeId", "data-v-c672b17b"]]), J = (o) => ($("data-v-7dabb11d"), o = o(), k(), o), G = {
|
|
1
|
+
import { defineComponent as i, ref as g, onMounted as C, openBlock as c, createElementBlock as v, createCommentVNode as E, pushScopeId as k, popScopeId as x, createElementVNode as D, provide as P, computed as A, watch as T, createBlock as w, Suspense as I, withCtx as d, createVNode as l, renderSlot as _, unref as B, nextTick as j } from "vue";
|
|
2
|
+
import { _ as y, s as F, U as M, i as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
3
|
+
import { E as ae, L as re, a as ne, c as de, e as le, b as ce, d as ie, g as pe, h as ue, j as me, l as fe, f as _e, m as he, p as ge, t as ve, w as De } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
4
|
+
import { F as $ } from "./SettingsSubPanel-HFzD5Do7.js";
|
|
5
|
+
import { S as Se } from "./SettingsSubPanel-HFzD5Do7.js";
|
|
6
|
+
import { default as Le } from "./SimpleButtonControl-36-1h81W.js";
|
|
7
|
+
import { _ as Ee } from "./TextControl.vue_vue_type_script_setup_true_lang-BLHNYAUm.js";
|
|
8
|
+
import { V as xe } from "./VerticalLayoutBase-MyHG9994.js";
|
|
9
|
+
const R = (o) => (k("data-v-7dabb11d"), o = o(), x(), o), V = {
|
|
17
10
|
key: 0,
|
|
18
11
|
class: "loading-dialog skeleton-wrapper"
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
],
|
|
12
|
+
}, N = /* @__PURE__ */ R(() => /* @__PURE__ */ D("div", { class: "loading-dialog-content skeleton" }, null, -1)), U = [
|
|
13
|
+
N
|
|
14
|
+
], J = 200, G = /* @__PURE__ */ i({
|
|
22
15
|
__name: "LoadingDialog",
|
|
23
16
|
setup(o) {
|
|
24
|
-
const a =
|
|
25
|
-
return
|
|
17
|
+
const a = g(!1);
|
|
18
|
+
return C(() => {
|
|
26
19
|
setTimeout(() => {
|
|
27
20
|
a.value = !0;
|
|
28
|
-
},
|
|
29
|
-
}), (
|
|
21
|
+
}, J);
|
|
22
|
+
}), (p, s) => a.value ? (c(), v("div", V, U)) : E("", !0);
|
|
30
23
|
}
|
|
31
|
-
}),
|
|
24
|
+
}), q = /* @__PURE__ */ y(G, [["__scopeId", "data-v-7dabb11d"]]), H = { class: "dialog" }, X = { ref: "subPanels" }, h = "EXPOSED_METHOD", Y = /* @__PURE__ */ i({
|
|
32
25
|
__name: "JsonFormsDialog",
|
|
33
26
|
props: {
|
|
34
27
|
schema: {},
|
|
@@ -37,55 +30,55 @@ const U = /* @__PURE__ */ _(F, [["render", N], ["__scopeId", "data-v-c672b17b"]]
|
|
|
37
30
|
renderers: {}
|
|
38
31
|
},
|
|
39
32
|
emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
|
|
40
|
-
setup(o, { expose: a, emit:
|
|
41
|
-
const s =
|
|
42
|
-
var
|
|
43
|
-
return t.type === M && ((
|
|
44
|
-
},
|
|
33
|
+
setup(o, { expose: a, emit: p }) {
|
|
34
|
+
const s = p, S = (e, t, n) => {
|
|
35
|
+
var f;
|
|
36
|
+
return t.type === M && ((f = t.context) == null ? void 0 : f.source) !== h && setTimeout(() => j(() => s("updateData", t.path))), n(e, t);
|
|
37
|
+
}, b = (e) => {
|
|
45
38
|
s("change", e);
|
|
46
39
|
};
|
|
47
40
|
Object.entries({
|
|
48
41
|
trigger: (e) => s("trigger", e),
|
|
49
42
|
addStateProviderListener: (e, t) => s("stateProviderListener", e, t),
|
|
50
43
|
sendAlert: (e) => s("alert", e)
|
|
51
|
-
}).forEach(([e, t]) =>
|
|
52
|
-
const r =
|
|
44
|
+
}).forEach(([e, t]) => P(e, t));
|
|
45
|
+
const r = g(null), u = [], m = (e, t) => {
|
|
53
46
|
r.value.dispatch(
|
|
54
47
|
O.update(e, () => t, {
|
|
55
|
-
source:
|
|
48
|
+
source: h
|
|
56
49
|
})
|
|
57
50
|
);
|
|
58
|
-
},
|
|
59
|
-
return
|
|
60
|
-
() =>
|
|
61
|
-
(e) => e &&
|
|
62
|
-
({ path: t, value:
|
|
51
|
+
}, L = A(() => r.value !== null);
|
|
52
|
+
return T(
|
|
53
|
+
() => L.value,
|
|
54
|
+
(e) => e && u.forEach(
|
|
55
|
+
({ path: t, value: n }) => m(t, n)
|
|
63
56
|
)
|
|
64
57
|
), a({
|
|
65
58
|
updateData: (e, t) => {
|
|
66
|
-
r.value ?
|
|
59
|
+
r.value ? m(e, t) : u.push({ path: e, value: t });
|
|
67
60
|
}
|
|
68
|
-
}), (e, t) => (
|
|
69
|
-
|
|
70
|
-
(
|
|
71
|
-
fallback:
|
|
72
|
-
|
|
61
|
+
}), (e, t) => (c(), v("div", H, [
|
|
62
|
+
D("div", X, null, 512),
|
|
63
|
+
(c(), w(I, null, {
|
|
64
|
+
fallback: d(() => [
|
|
65
|
+
l(q)
|
|
73
66
|
]),
|
|
74
|
-
default:
|
|
75
|
-
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
|
|
67
|
+
default: d(() => [
|
|
68
|
+
l($, null, {
|
|
69
|
+
default: d(() => [
|
|
70
|
+
_(e.$slots, "top", {}, void 0, !0),
|
|
71
|
+
l(B(F), {
|
|
79
72
|
ref_key: "jsonforms",
|
|
80
73
|
ref: r,
|
|
81
74
|
data: e.data,
|
|
82
75
|
schema: e.schema,
|
|
83
76
|
uischema: e.uischema,
|
|
84
77
|
renderers: e.renderers,
|
|
85
|
-
middleware:
|
|
86
|
-
onChange:
|
|
78
|
+
middleware: S,
|
|
79
|
+
onChange: b
|
|
87
80
|
}, null, 8, ["data", "schema", "uischema", "renderers"]),
|
|
88
|
-
|
|
81
|
+
_(e.$slots, "bottom", {}, void 0, !0)
|
|
89
82
|
]),
|
|
90
83
|
_: 3
|
|
91
84
|
})
|
|
@@ -94,36 +87,37 @@ const U = /* @__PURE__ */ _(F, [["render", N], ["__scopeId", "data-v-c672b17b"]]
|
|
|
94
87
|
}))
|
|
95
88
|
]));
|
|
96
89
|
}
|
|
97
|
-
}),
|
|
90
|
+
}), ee = /* @__PURE__ */ y(Y, [["__scopeId", "data-v-c12f9a95"]]), z = {
|
|
98
91
|
layout: {
|
|
99
92
|
type: Object,
|
|
100
93
|
required: !0
|
|
101
94
|
}
|
|
102
|
-
},
|
|
103
|
-
props:
|
|
95
|
+
}, te = (o) => i(o, {
|
|
96
|
+
props: z
|
|
104
97
|
});
|
|
105
98
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
99
|
+
ae as ErrorMessages,
|
|
100
|
+
$ as Form,
|
|
101
|
+
ee as JsonFormsDialog,
|
|
102
|
+
re as LabeledControl,
|
|
103
|
+
Se as SettingsSubPanel,
|
|
104
|
+
Le as SimpleButtonControl,
|
|
105
|
+
Ee as TextControl,
|
|
106
|
+
xe as VerticalLayoutBase,
|
|
107
|
+
ne as controlProps,
|
|
108
|
+
de as controlToRenderer,
|
|
109
|
+
le as controls,
|
|
110
|
+
ce as defaultRenderers,
|
|
111
|
+
ie as defineControl,
|
|
112
|
+
te as defineLayout,
|
|
113
|
+
pe as getAsyncSetupMethod,
|
|
114
|
+
ue as handleAsyncComponents,
|
|
115
|
+
me as inputFormats,
|
|
116
|
+
z as layoutProps,
|
|
117
|
+
fe as layoutToRenderer,
|
|
118
|
+
_e as layouts,
|
|
119
|
+
he as mapControls,
|
|
120
|
+
ge as priorityRanks,
|
|
121
|
+
ve as toRenderers,
|
|
122
|
+
De as withLabel
|
|
129
123
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-
|
|
1
|
+
import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-DpYeNAd4.js";
|
|
2
2
|
var ie = 864e5;
|
|
3
3
|
function oe(a) {
|
|
4
4
|
q(1, arguments);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ht } from "./
|
|
1
|
+
import { r as ht } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
2
2
|
var q = { exports: {} };
|
|
3
3
|
(function(E, t) {
|
|
4
4
|
(function(e, n) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VueLayoutProps } from '../higherOrderComponents/layout/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<VueLayoutProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<VueLayoutProps>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { default as Form } from './Form.vue';
|
|
2
2
|
import { default as VerticalLayoutBase } from './VerticalLayoutBase.vue';
|
|
3
|
-
|
|
3
|
+
import { default as SettingsSubPanel } from './settingsSubPanel/SettingsSubPanel.vue';
|
|
4
|
+
export { Form, VerticalLayoutBase, SettingsSubPanel };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
titleText: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
+
titleText: string;
|
|
5
|
+
}>>>, {}, {}>, {
|
|
6
|
+
"right-buttons"?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
showBackArrow?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
5
|
+
showBackArrow: boolean;
|
|
6
|
+
}>, {
|
|
7
|
+
expand: () => void;
|
|
8
|
+
close: () => void;
|
|
9
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
|
+
showBackArrow: boolean;
|
|
11
|
+
}>>>, {
|
|
12
|
+
showBackArrow: boolean;
|
|
13
|
+
}, {}>, {
|
|
14
|
+
"expand-button"?(_: {
|
|
15
|
+
expand: () => void;
|
|
16
|
+
}): any;
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
"bottom-content"?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_PrettifyLocal<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
click: (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -1924,6 +1924,53 @@ export declare const layouts: {
|
|
|
1924
1924
|
});
|
|
1925
1925
|
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
1926
1926
|
};
|
|
1927
|
+
settingsSubPanelLayoutRenderer: {
|
|
1928
|
+
name: string;
|
|
1929
|
+
layout: import('vue').DefineComponent<{
|
|
1930
|
+
layout: {
|
|
1931
|
+
type: import('vue').PropType<{
|
|
1932
|
+
uischema: NonNullable<import('@jsonforms/core').Layout & import('@jsonforms/core').UISchemaElement>;
|
|
1933
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
1934
|
+
path: string;
|
|
1935
|
+
enabled: boolean;
|
|
1936
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
1937
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
1938
|
+
config: any;
|
|
1939
|
+
direction: NonNullable<"column" | "row">;
|
|
1940
|
+
label: string;
|
|
1941
|
+
data: any;
|
|
1942
|
+
visible: boolean;
|
|
1943
|
+
} & {
|
|
1944
|
+
uischema: {
|
|
1945
|
+
[K: string]: any;
|
|
1946
|
+
};
|
|
1947
|
+
}>;
|
|
1948
|
+
required: true;
|
|
1949
|
+
};
|
|
1950
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1951
|
+
layout: {
|
|
1952
|
+
type: import('vue').PropType<{
|
|
1953
|
+
uischema: NonNullable<import('@jsonforms/core').Layout & import('@jsonforms/core').UISchemaElement>;
|
|
1954
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
1955
|
+
path: string;
|
|
1956
|
+
enabled: boolean;
|
|
1957
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
1958
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
1959
|
+
config: any;
|
|
1960
|
+
direction: NonNullable<"column" | "row">;
|
|
1961
|
+
label: string;
|
|
1962
|
+
data: any;
|
|
1963
|
+
visible: boolean;
|
|
1964
|
+
} & {
|
|
1965
|
+
uischema: {
|
|
1966
|
+
[K: string]: any;
|
|
1967
|
+
};
|
|
1968
|
+
}>;
|
|
1969
|
+
required: true;
|
|
1970
|
+
};
|
|
1971
|
+
}>>, {}, {}>;
|
|
1972
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
1973
|
+
};
|
|
1927
1974
|
};
|
|
1928
1975
|
export declare const toRenderers: (renderers: NamedRenderer[], controls: VueControlRenderer[], layouts: VueLayoutRenderer[]) => readonly NamedRenderer[];
|
|
1929
1976
|
export declare const defaultRenderers: readonly NamedRenderer[];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const settingsSubPanelLayoutRenderer: {
|
|
2
|
+
name: string;
|
|
3
|
+
layout: import('vue').DefineComponent<{
|
|
4
|
+
layout: {
|
|
5
|
+
type: import('vue').PropType<{
|
|
6
|
+
uischema: NonNullable<import('@jsonforms/core').Layout & import('@jsonforms/core').UISchemaElement>;
|
|
7
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
8
|
+
path: string;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
11
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
12
|
+
config: any;
|
|
13
|
+
direction: NonNullable<"column" | "row">;
|
|
14
|
+
label: string;
|
|
15
|
+
data: any;
|
|
16
|
+
visible: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
uischema: {
|
|
19
|
+
[K: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
layout: {
|
|
26
|
+
type: import('vue').PropType<{
|
|
27
|
+
uischema: NonNullable<import('@jsonforms/core').Layout & import('@jsonforms/core').UISchemaElement>;
|
|
28
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
29
|
+
path: string;
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
32
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
|
|
33
|
+
config: any;
|
|
34
|
+
direction: NonNullable<"column" | "row">;
|
|
35
|
+
label: string;
|
|
36
|
+
data: any;
|
|
37
|
+
visible: boolean;
|
|
38
|
+
} & {
|
|
39
|
+
uischema: {
|
|
40
|
+
[K: string]: any;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>>, {}, {}>;
|
|
46
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
47
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as c, createBlock as s, unref as a, h as i } from "vue";
|
|
2
2
|
import { R as d } from "./reload-BhzcZRFp.js";
|
|
3
|
-
import { _ } from "./
|
|
3
|
+
import { _ } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
4
4
|
const p = /* @__PURE__ */ r({
|
|
5
5
|
__name: "LoadingIcon",
|
|
6
6
|
setup(t) {
|
package/dist/testing.js
CHANGED
|
@@ -3,7 +3,7 @@ var N_ = (e, t, n) => t in e ? O_(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var G = (e, t, n) => N_(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as Jf from "vue";
|
|
5
5
|
import { initDirectivesForSSR as I_, nextTick as lo, defineComponent as ai, computed as Ar, h as En, shallowReactive as A_, reactive as k_, ref as C_, createApp as $_, transformVNodeArgs as P_, setDevtoolsHook as M_, Transition as R_, BaseTransition as D_, TransitionGroup as j_, isRef as L_ } from "vue";
|
|
6
|
-
import { b as F_ } from "./
|
|
6
|
+
import { b as F_ } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_c744f57c_lang-DVYChx12.js";
|
|
7
7
|
import { i as B_ } from "./isSymbol-OFe5xy2f.js";
|
|
8
8
|
import { b as V_ } from "./_baseIteratee-DvBmrhnf.js";
|
|
9
9
|
function q_(e, t) {
|
|
@@ -9513,7 +9513,7 @@ function Aw(e, t) {
|
|
|
9513
9513
|
return s + 1;
|
|
9514
9514
|
}
|
|
9515
9515
|
async function kw(e, t) {
|
|
9516
|
-
const n = (await import("./magic-string.es-
|
|
9516
|
+
const n = (await import("./magic-string.es-BblF2zLm.js")).default, r = new Set(t.map((i) => i.file));
|
|
9517
9517
|
await Promise.all(
|
|
9518
9518
|
Array.from(r).map(async (i) => {
|
|
9519
9519
|
const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Internal JSON Forms integration for frontend KNIME projects",
|
|
5
5
|
"homepage": "https://knime.github.io/webapps-common/",
|
|
6
6
|
"license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"focus-trap-vue": "4.0.3",
|
|
16
16
|
"tabbable": "6.2.0",
|
|
17
17
|
"uuid": "10.0.0",
|
|
18
|
-
"@knime/components": "1.19.
|
|
19
|
-
"@knime/rich-text-editor": "1.3.
|
|
18
|
+
"@knime/components": "1.19.3",
|
|
19
|
+
"@knime/rich-text-editor": "1.3.28",
|
|
20
20
|
"@knime/styles": "1.3.1",
|
|
21
21
|
"@knime/utils": "1.3.1"
|
|
22
22
|
},
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, ref as u, openBlock as s, createElementBlock as i, createElementVNode as l, createTextVNode as d, toDisplayString as m, renderSlot as c, createVNode as p, withCtx as f, createBlock as h, unref as y } from "vue";
|
|
2
|
-
import { n as v, _ as $ } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BQPV6FY5.js";
|
|
3
|
-
import { V as b } from "./VerticalLayoutBase-BPR8oCFe.js";
|
|
4
|
-
const V = { class: "section-header" }, k = /* @__PURE__ */ n({
|
|
5
|
-
__name: "SectionLayout",
|
|
6
|
-
props: {
|
|
7
|
-
layout: {}
|
|
8
|
-
},
|
|
9
|
-
setup(B) {
|
|
10
|
-
const o = u(!1);
|
|
11
|
-
return (e, t) => (s(), i("div", {
|
|
12
|
-
class: "section",
|
|
13
|
-
onMouseover: t[0] || (t[0] = (a) => o.value = !0),
|
|
14
|
-
onMouseleave: t[1] || (t[1] = (a) => o.value = !1)
|
|
15
|
-
}, [
|
|
16
|
-
l("div", V, [
|
|
17
|
-
l("h3", null, [
|
|
18
|
-
d(m(e.layout.uischema.label) + " ", 1),
|
|
19
|
-
c(e.$slots, "buttons", { hover: o.value }, void 0, !0)
|
|
20
|
-
])
|
|
21
|
-
]),
|
|
22
|
-
p(b, {
|
|
23
|
-
elements: e.layout.uischema.elements
|
|
24
|
-
}, {
|
|
25
|
-
default: f(({ element: a, index: r }) => [
|
|
26
|
-
(s(), h(y(v), {
|
|
27
|
-
key: `${e.layout.path}-${r}`,
|
|
28
|
-
schema: e.layout.schema,
|
|
29
|
-
uischema: a,
|
|
30
|
-
path: e.layout.path,
|
|
31
|
-
enabled: e.layout.enabled,
|
|
32
|
-
renderers: e.layout.renderers,
|
|
33
|
-
cells: e.layout.cells
|
|
34
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
37
|
-
}, 8, ["elements"])
|
|
38
|
-
], 32));
|
|
39
|
-
}
|
|
40
|
-
}), _ = /* @__PURE__ */ $(k, [["__scopeId", "data-v-4e141ef6"]]);
|
|
41
|
-
export {
|
|
42
|
-
_ as default
|
|
43
|
-
};
|