@knime/jsonforms 1.8.5 → 1.9.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 +22 -0
- package/dist/{AnyOfTwinlist-jfzkBOsu.js → AnyOfTwinlist-Bh4pM6oH.js} +1 -1
- package/dist/{BaseButton-BIZz4hsW.js → BaseButton-B-d7gAOs.js} +1 -1
- package/dist/{Button-BWp4ylfx.js → Button-Cxza7ya0.js} +2 -2
- package/dist/{Checkbox-9L6PiOA6.js → Checkbox-C1dZL2je.js} +1 -1
- package/dist/{CheckboxControl-B0EYYiYA.js → CheckboxControl-C-Vqb4rS.js} +2 -2
- package/dist/{Checkboxes-Dsougafw.js → Checkboxes-BM6dczYg.js} +2 -2
- package/dist/{CheckboxesControl-B80ih8nb.js → CheckboxesControl-DLJyPTax.js} +2 -2
- package/dist/{ComboBoxControl-YYOeEfZ9.js → ComboBoxControl-CPgWFQ3E.js} +4 -4
- package/dist/{DateControl-DFexgeVO.js → DateControl-B5aNfmDS.js} +1 -1
- package/dist/{DateTimeControl-uz8PdOTX.js → DateTimeControl-DnAq_y1G.js} +2 -2
- package/dist/{DateTimeFormatInput-DYkvm-DH.js → DateTimeFormatInput-D0gFWkDj.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-7dR8hU4R.js → DateTimeFormatPickerControl-BAm-YwQR.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-C4N-vP1Z.js → DateTimeFormatPickerWithTypeControl-kLWtEkzC.js} +3 -3
- package/dist/{DateTimeInput-Pl9aqt1c.js → DateTimeInput-CCOVOyZg.js} +3 -3
- package/dist/{Dropdown-CtKY3_Yr.js → Dropdown-DEJ37CWM.js} +2 -2
- package/dist/{DropdownControl-DIVv2VOC.js → DropdownControl-DjGi-91y.js} +4 -4
- package/dist/{FunctionButton-C5NEWH81.js → FunctionButton-D0hM3gS_.js} +2 -2
- package/dist/{HorizontalLayout-CoCWGqhL.js → HorizontalLayout-5K8cdlC-.js} +1 -1
- package/dist/{InputField-NN_2iLts.js → InputField-DKqvsYvw.js} +1 -1
- package/dist/{IntegerControl-BjkANKgl.js → IntegerControl-Di2Z_1kO.js} +1 -1
- package/dist/{IntervalControl-DTl43wkl.js → IntervalControl-z_8kuaUH.js} +4 -4
- package/dist/{LoadingDropdown-WiBSh0Qf.js → LoadingDropdown-CcRFsTOf.js} +3 -3
- package/dist/{MultimodeTwinlistControl-DL9f7xEJ.js → MultimodeTwinlistControl-CrgZoWIM.js} +5 -5
- package/dist/{MultiselectListBox-uJPv-E73.js → MultiselectListBox-D1SKEhxF.js} +1 -1
- package/dist/{NameFilter-oHbpKIdc.js → NameFilter-DytpZDut.js} +1 -1
- package/dist/{NumberControl-DaNO_abv.js → NumberControl-DuimTvN7.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DpVmEcwh.js → NumberControlBase.vue_vue_type_script_setup_true_lang-D6vn-6dz.js} +2 -2
- package/dist/{NumberInput-Cjjy0jqp.js → NumberInput-Dbs_HhID.js} +1 -1
- package/dist/{OneOfDropdown-4l_pP8AP.js → OneOfDropdown-DLuPD4vb.js} +1 -1
- package/dist/{RadioControl-NuAj17Ai.js → RadioControl-CRSO18ib.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-rL9jMdAP.js → RadioControlBase.vue_vue_type_script_setup_true_lang-C-Xu_lRP.js} +2 -2
- package/dist/{RichTextControl-DlwnXkRz.js → RichTextControl-Det6MXge.js} +5 -5
- package/dist/{SectionHeading-BCsJih-6.js → SectionHeading-DogS80o6.js} +1 -1
- package/dist/{SectionLayout-CnF1UT9M.js → SectionLayout-YXciALxD.js} +3 -3
- package/dist/SettingsSubPanel-CKzw390P.js +143 -0
- package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-bqXwxVZY.js → SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js} +76 -75
- package/dist/{SettingsSubPanelLayout-BhNuwfji.js → SettingsSubPanelLayout-C1vAi50O.js} +21 -17
- package/dist/{SimpleButtonControl-B7HuHsgD.js → SimpleButtonControl-C5Bu2UlU.js} +2 -2
- package/dist/{SimpleTwinlistControl-B0gpkCpi.js → SimpleTwinlistControl-Cwzofngw.js} +2 -2
- package/dist/{SingleSelectControl-93iEvfgh.js → SingleSelectControl-NTvlFtDt.js} +2 -2
- package/dist/{SortListControl-Bl1rJ-S8.js → SortListControl-DHW2NYFQ.js} +4 -4
- package/dist/{TextAreaControl-CY8doVTm.js → TextAreaControl-DDyE4C3O.js} +1 -1
- package/dist/{TextControl-CNzoSIKE.js → TextControl-C_b68-fk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DDrSjpRA.js → TextControl.vue_vue_type_script_setup_true_lang-U86A8vv3.js} +4 -4
- package/dist/{TimeControl-DMbaX2ue.js → TimeControl-BKDuYAqj.js} +2 -2
- package/dist/{TwinlistControlBase-a6UvXibH.js → TwinlistControlBase-CaCznnlh.js} +3 -3
- package/dist/{TwinlistLoadingInfo-BJvmG0yG.js → TwinlistLoadingInfo-B1VpQXg5.js} +5 -5
- package/dist/{TypedStringFilter-CABpncM7.js → TypedStringFilter-D5hpRznk.js} +1 -1
- package/dist/{ValueSwitch-D_irI3D5.js → ValueSwitch-DLjmKUJK.js} +1 -1
- package/dist/{ValueSwitchControl-tU_rteDv.js → ValueSwitchControl-D71Pwa50.js} +1 -1
- package/dist/{VerticalLayout-nURrjmKa.js → VerticalLayout-CHgqTKir.js} +2 -2
- package/dist/{VerticalLayoutBase-e8dtkGap.js → VerticalLayoutBase-DMue85aT.js} +1 -1
- package/dist/{ZonedDateTimeControl-q6lHJu09.js → ZonedDateTimeControl-CouOa7ed.js} +4 -4
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +44 -43
- package/dist/{localTimeUtils-B14aZlHW.js → localTimeUtils-Bpwc2y6B.js} +1 -1
- package/dist/{magic-string.es-BN6dIAyB.js → magic-string.es-CukxJUVp.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +19 -3
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +9 -2
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +2 -3
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +12 -4
- package/dist/{svgWithTitle-BN874PBG.js → svgWithTitle-FlxoO5N3.js} +1 -1
- package/dist/testing.js +2 -2
- package/dist/{useBuiltinValidations-85_NBFff.js → useBuiltinValidations-CrQ0McL_.js} +1 -1
- package/dist/{usePossibleValues-DHCWUUp9.js → usePossibleValues-BJDCD98T.js} +1 -1
- package/package.json +3 -3
- package/dist/SettingsSubPanel-DUJNjsfj.js +0 -131
package/dist/knime-jsonforms.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { E as ae, L as re, a as ne, c as de, e as le, b as
|
|
4
|
-
import { F as
|
|
5
|
-
import { S as
|
|
6
|
-
import { default as Le } from "./SimpleButtonControl-
|
|
7
|
-
import { _ as Ee } from "./TextControl.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { V as
|
|
9
|
-
const R = (o) => (k("data-v-7dabb11d"), o = o(),
|
|
1
|
+
import { defineComponent as u, ref as g, onMounted as C, openBlock as c, createElementBlock as v, createCommentVNode as E, pushScopeId as k, popScopeId as P, createElementVNode as D, provide as w, computed as x, watch as A, renderSlot as d, createBlock as T, Suspense as I, withCtx as l, createVNode as i, unref as B, nextTick as $ } from "vue";
|
|
2
|
+
import { _ as b, s as j, U as F, i as M } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
|
|
3
|
+
import { E as ae, L as re, a as ne, c as de, e as le, b as ie, d as ce, g as ue, h as pe, 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_1_lang-D3eEeut_.js";
|
|
4
|
+
import { F as O } from "./SettingsSubPanel-CKzw390P.js";
|
|
5
|
+
import { S as ye } from "./SettingsSubPanel-CKzw390P.js";
|
|
6
|
+
import { default as Le } from "./SimpleButtonControl-C5Bu2UlU.js";
|
|
7
|
+
import { _ as Ee } from "./TextControl.vue_vue_type_script_setup_true_lang-U86A8vv3.js";
|
|
8
|
+
import { V as Pe } from "./VerticalLayoutBase-DMue85aT.js";
|
|
9
|
+
const R = (o) => (k("data-v-7dabb11d"), o = o(), P(), o), V = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "loading-dialog skeleton-wrapper"
|
|
12
12
|
}, N = /* @__PURE__ */ R(() => /* @__PURE__ */ D("div", { class: "loading-dialog-content skeleton" }, null, -1)), U = [
|
|
13
13
|
N
|
|
14
|
-
], J = 200, G = /* @__PURE__ */
|
|
14
|
+
], J = 200, G = /* @__PURE__ */ u({
|
|
15
15
|
__name: "LoadingDialog",
|
|
16
16
|
setup(o) {
|
|
17
17
|
const a = g(!1);
|
|
@@ -21,7 +21,7 @@ const R = (o) => (k("data-v-7dabb11d"), o = o(), x(), o), V = {
|
|
|
21
21
|
}, J);
|
|
22
22
|
}), (p, s) => a.value ? (c(), v("div", V, U)) : E("", !0);
|
|
23
23
|
}
|
|
24
|
-
}), q = /* @__PURE__ */
|
|
24
|
+
}), q = /* @__PURE__ */ b(G, [["__scopeId", "data-v-7dabb11d"]]), H = { class: "dialog" }, X = { ref: "subPanels" }, h = "EXPOSED_METHOD", Y = /* @__PURE__ */ u({
|
|
25
25
|
__name: "JsonFormsDialog",
|
|
26
26
|
props: {
|
|
27
27
|
schema: {},
|
|
@@ -31,54 +31,55 @@ const R = (o) => (k("data-v-7dabb11d"), o = o(), x(), o), V = {
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
|
|
33
33
|
setup(o, { expose: a, emit: p }) {
|
|
34
|
-
const s = p,
|
|
35
|
-
var
|
|
36
|
-
return t.type ===
|
|
37
|
-
},
|
|
34
|
+
const s = p, y = (e, t, n) => {
|
|
35
|
+
var _;
|
|
36
|
+
return t.type === F && ((_ = t.context) == null ? void 0 : _.source) !== h && setTimeout(() => $(() => s("updateData", t.path))), n(e, t);
|
|
37
|
+
}, S = (e) => {
|
|
38
38
|
s("change", e);
|
|
39
39
|
};
|
|
40
40
|
Object.entries({
|
|
41
41
|
trigger: (e) => s("trigger", e),
|
|
42
42
|
addStateProviderListener: (e, t) => s("stateProviderListener", e, t),
|
|
43
43
|
sendAlert: (e) => s("alert", e)
|
|
44
|
-
}).forEach(([e, t]) =>
|
|
45
|
-
const r = g(null),
|
|
44
|
+
}).forEach(([e, t]) => w(e, t));
|
|
45
|
+
const r = g(null), m = [], f = (e, t) => {
|
|
46
46
|
r.value.dispatch(
|
|
47
|
-
|
|
47
|
+
M.update(e, () => t, {
|
|
48
48
|
source: h
|
|
49
49
|
})
|
|
50
50
|
);
|
|
51
|
-
}, L =
|
|
52
|
-
return
|
|
51
|
+
}, L = x(() => r.value !== null);
|
|
52
|
+
return A(
|
|
53
53
|
() => L.value,
|
|
54
|
-
(e) => e &&
|
|
55
|
-
({ path: t, value: n }) =>
|
|
54
|
+
(e) => e && m.forEach(
|
|
55
|
+
({ path: t, value: n }) => f(t, n)
|
|
56
56
|
)
|
|
57
57
|
), a({
|
|
58
58
|
updateData: (e, t) => {
|
|
59
|
-
r.value ?
|
|
59
|
+
r.value ? f(e, t) : m.push({ path: e, value: t });
|
|
60
60
|
}
|
|
61
61
|
}), (e, t) => (c(), v("div", H, [
|
|
62
|
+
d(e.$slots, "sideDrawerDest", {}, void 0, !0),
|
|
62
63
|
D("div", X, null, 512),
|
|
63
|
-
(c(),
|
|
64
|
-
fallback:
|
|
65
|
-
|
|
64
|
+
(c(), T(I, null, {
|
|
65
|
+
fallback: l(() => [
|
|
66
|
+
i(q)
|
|
66
67
|
]),
|
|
67
|
-
default:
|
|
68
|
-
|
|
69
|
-
default:
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
default: l(() => [
|
|
69
|
+
i(O, null, {
|
|
70
|
+
default: l(() => [
|
|
71
|
+
d(e.$slots, "top", {}, void 0, !0),
|
|
72
|
+
i(B(j), {
|
|
72
73
|
ref_key: "jsonforms",
|
|
73
74
|
ref: r,
|
|
74
75
|
data: e.data,
|
|
75
76
|
schema: e.schema,
|
|
76
77
|
uischema: e.uischema,
|
|
77
78
|
renderers: e.renderers,
|
|
78
|
-
middleware:
|
|
79
|
-
onChange:
|
|
79
|
+
middleware: y,
|
|
80
|
+
onChange: S
|
|
80
81
|
}, null, 8, ["data", "schema", "uischema", "renderers"]),
|
|
81
|
-
|
|
82
|
+
d(e.$slots, "bottom", {}, void 0, !0)
|
|
82
83
|
]),
|
|
83
84
|
_: 3
|
|
84
85
|
})
|
|
@@ -87,31 +88,31 @@ const R = (o) => (k("data-v-7dabb11d"), o = o(), x(), o), V = {
|
|
|
87
88
|
}))
|
|
88
89
|
]));
|
|
89
90
|
}
|
|
90
|
-
}), ee = /* @__PURE__ */
|
|
91
|
+
}), ee = /* @__PURE__ */ b(Y, [["__scopeId", "data-v-0b6690fa"]]), z = {
|
|
91
92
|
layout: {
|
|
92
93
|
type: Object,
|
|
93
94
|
required: !0
|
|
94
95
|
}
|
|
95
|
-
}, te = (o) =>
|
|
96
|
+
}, te = (o) => u(o, {
|
|
96
97
|
props: z
|
|
97
98
|
});
|
|
98
99
|
export {
|
|
99
100
|
ae as ErrorMessages,
|
|
100
|
-
|
|
101
|
+
O as Form,
|
|
101
102
|
ee as JsonFormsDialog,
|
|
102
103
|
re as LabeledControl,
|
|
103
|
-
|
|
104
|
+
ye as SettingsSubPanel,
|
|
104
105
|
Le as SimpleButtonControl,
|
|
105
106
|
Ee as TextControl,
|
|
106
|
-
|
|
107
|
+
Pe as VerticalLayoutBase,
|
|
107
108
|
ne as controlProps,
|
|
108
109
|
de as controlToRenderer,
|
|
109
110
|
le as controls,
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
ie as defaultRenderers,
|
|
112
|
+
ce as defineControl,
|
|
112
113
|
te as defineLayout,
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
ue as getAsyncSetupMethod,
|
|
115
|
+
pe as handleAsyncComponents,
|
|
115
116
|
me as inputFormats,
|
|
116
117
|
z as layoutProps,
|
|
117
118
|
fe as layoutToRenderer,
|
|
@@ -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-CCOVOyZg.js";
|
|
2
2
|
var ie = 864e5;
|
|
3
3
|
function oe(a) {
|
|
4
4
|
q(1, arguments);
|
|
@@ -30,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
30
30
|
onAlert?: ((alert: AlertParams) => any) | undefined;
|
|
31
31
|
onStateProviderListener?: ((id: any, callback: (value: any) => void) => any) | undefined;
|
|
32
32
|
}, {}, {}>, {
|
|
33
|
+
sideDrawerDest?(_: {}): any;
|
|
33
34
|
top?(_: {}): any;
|
|
34
35
|
bottom?(_: {}): any;
|
|
35
36
|
}>;
|
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
errors: string[];
|
|
3
|
-
|
|
3
|
+
fill?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
fill: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
7
|
errors: string[];
|
|
5
|
-
|
|
8
|
+
fill?: boolean | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
fill: boolean;
|
|
11
|
+
}>>>, {
|
|
12
|
+
fill: boolean;
|
|
13
|
+
}, {}>, {
|
|
6
14
|
default?(_: {}): any;
|
|
7
15
|
}>;
|
|
8
16
|
export default _default;
|
|
17
|
+
type __VLS_WithDefaults<P, D> = {
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
19
|
+
default: D[K];
|
|
20
|
+
}> : P[K];
|
|
21
|
+
};
|
|
9
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
23
|
type __VLS_TypePropsToOption<T> = {
|
|
11
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -20,3 +33,6 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
20
33
|
$slots: S;
|
|
21
34
|
};
|
|
22
35
|
};
|
|
36
|
+
type __VLS_PrettifyLocal<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
import { VueControl, VueControlProps } from '../types';
|
|
3
|
-
export declare const addErrorMessageToVNode: (
|
|
4
|
-
|
|
3
|
+
export declare const addErrorMessageToVNode: ({ fill }: {
|
|
4
|
+
fill: boolean;
|
|
5
|
+
}) => (vNode: VNode, props: Pick<VueControlProps<any>, "messages">) => VNode | VNode[];
|
|
6
|
+
export declare const withErrorMessage: (config?: {
|
|
7
|
+
/**
|
|
8
|
+
* Set to true if the renderer should grow within its parent
|
|
9
|
+
*/
|
|
10
|
+
fill: boolean;
|
|
11
|
+
}) => <D>({ control, tester, name, __asyncSetup, }: import('../util').SpecialControlRenderer<VueControl<D>>) => import('../util').SpecialControlRenderer<VueControl<D>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PropsToComponent, VueControl, VueControlProps } from './types';
|
|
2
|
-
import { SpecialControlRenderer } from './util';
|
|
3
2
|
export type VueControlPropsForLabelContent<D> = Omit<VueControlProps<D>, "labelForId" | "messages"> & {
|
|
4
3
|
labelForId: string;
|
|
5
4
|
};
|
|
6
5
|
export type VueControlThatRequiresLabelWrapper<D> = PropsToComponent<VueControlPropsForLabelContent<D>>;
|
|
7
|
-
export declare const withLabel:
|
|
6
|
+
export declare const withLabel: (config?: {
|
|
8
7
|
fill: boolean;
|
|
9
|
-
}) => SpecialControlRenderer<VueControl<D>>;
|
|
8
|
+
}) => <D>({ control, tester, name, __asyncSetup, }: import('./util').SpecialControlRenderer<VueControlThatRequiresLabelWrapper<D>>) => import('./util').SpecialControlRenderer<VueControl<D>>;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SettingsSubPanelProps = {
|
|
2
2
|
showBackArrow?: boolean;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
hideButtonsWhenExpanded?: boolean;
|
|
4
|
+
backgroundColorOverride?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SettingsSubPanelProps>, {
|
|
5
7
|
showBackArrow: boolean;
|
|
8
|
+
hideButtonsWhenExpanded: boolean;
|
|
9
|
+
backgroundColorOverride: string;
|
|
6
10
|
}>, {
|
|
7
11
|
expand: () => void;
|
|
8
12
|
close: () => void;
|
|
9
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
13
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SettingsSubPanelProps>, {
|
|
10
14
|
showBackArrow: boolean;
|
|
15
|
+
hideButtonsWhenExpanded: boolean;
|
|
16
|
+
backgroundColorOverride: string;
|
|
11
17
|
}>>>, {
|
|
12
18
|
showBackArrow: boolean;
|
|
19
|
+
hideButtonsWhenExpanded: boolean;
|
|
20
|
+
backgroundColorOverride: string;
|
|
13
21
|
}, {}>, {
|
|
14
22
|
"expand-button"?(_: {
|
|
15
23
|
expand: () => void;
|
|
@@ -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 "./SettingsSubPanel.
|
|
3
|
+
import { _ } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.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 "./SettingsSubPanel.
|
|
6
|
+
import { b as F_ } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
|
|
7
7
|
import { i as B_ } from "./isSymbol-C3_SC0Qp.js";
|
|
8
8
|
import { b as V_ } from "./_baseIteratee-DhaGkQLM.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-CukxJUVp.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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as r } from "vue";
|
|
2
|
-
import { u as d } from "./SettingsSubPanel.
|
|
2
|
+
import { u as d } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
|
|
3
3
|
const l = (e = {}) => e.validations ?? [], c = (e = {}) => (e.validationProviders ?? []).map(
|
|
4
4
|
(i) => d(i, null)
|
|
5
5
|
), s = (e, i) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as a } from "vue";
|
|
2
|
-
import { u as c } from "./SettingsSubPanel.
|
|
2
|
+
import { u as c } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
|
|
3
3
|
const t = (s) => {
|
|
4
4
|
var e;
|
|
5
5
|
const u = a(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.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.25.
|
|
19
|
-
"@knime/rich-text-editor": "1.4.
|
|
18
|
+
"@knime/components": "1.25.4",
|
|
19
|
+
"@knime/rich-text-editor": "1.4.7",
|
|
20
20
|
"@knime/styles": "1.4.0",
|
|
21
21
|
"@knime/utils": "1.4.0"
|
|
22
22
|
},
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as i, createElementVNode as n, renderSlot as a, defineComponent as m, createBlock as f, Transition as $, withCtx as c, normalizeStyle as k, createCommentVNode as w, createVNode as l, unref as _, pushScopeId as x, popScopeId as B, ref as g, inject as h, watch as y, Fragment as E, Teleport as P } from "vue";
|
|
2
|
-
import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-bqXwxVZY.js";
|
|
3
|
-
import { F as I } from "./FunctionButton-C5NEWH81.js";
|
|
4
|
-
const C = {}, A = { class: "flex-wrapper" }, F = { class: "form" };
|
|
5
|
-
function N(e, t) {
|
|
6
|
-
return o(), i("div", A, [
|
|
7
|
-
n("div", F, [
|
|
8
|
-
a(e.$slots, "default", {}, void 0, !0)
|
|
9
|
-
]),
|
|
10
|
-
a(e.$slots, "bottom-content", {}, void 0, !0)
|
|
11
|
-
]);
|
|
12
|
-
}
|
|
13
|
-
const O = /* @__PURE__ */ u(C, [["render", N], ["__scopeId", "data-v-c672b17b"]]), V = { class: "content" }, j = {}, z = /* @__PURE__ */ m({
|
|
14
|
-
...j,
|
|
15
|
-
__name: "SideDrawer",
|
|
16
|
-
props: {
|
|
17
|
-
isExpanded: { type: Boolean, default: !1 },
|
|
18
|
-
styleOverrides: { default: () => ({
|
|
19
|
-
position: "fixed",
|
|
20
|
-
width: "500px"
|
|
21
|
-
}) }
|
|
22
|
-
},
|
|
23
|
-
setup(e) {
|
|
24
|
-
return (t, s) => (o(), f($, { name: "slide" }, {
|
|
25
|
-
default: c(() => [
|
|
26
|
-
t.isExpanded ? (o(), i("div", {
|
|
27
|
-
key: 0,
|
|
28
|
-
class: "side-drawer",
|
|
29
|
-
style: k({
|
|
30
|
-
"--position-common-side-drawer": t.styleOverrides.position,
|
|
31
|
-
"--width-common-side-drawer": t.styleOverrides.width
|
|
32
|
-
})
|
|
33
|
-
}, [
|
|
34
|
-
n("div", V, [
|
|
35
|
-
a(t.$slots, "default", {}, void 0, !0)
|
|
36
|
-
])
|
|
37
|
-
], 4)) : w("", !0)
|
|
38
|
-
]),
|
|
39
|
-
_: 3
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
}), D = /* @__PURE__ */ u(z, [["__scopeId", "data-v-fc759edb"]]), T = {
|
|
43
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
-
fill: "none",
|
|
45
|
-
stroke: "#000",
|
|
46
|
-
"stroke-linejoin": "round",
|
|
47
|
-
viewBox: "0 0 32 32"
|
|
48
|
-
}, L = /* @__PURE__ */ n("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), q = [
|
|
49
|
-
L
|
|
50
|
-
];
|
|
51
|
-
function G(e, t) {
|
|
52
|
-
return o(), i("svg", T, [...q]);
|
|
53
|
-
}
|
|
54
|
-
const H = { render: G }, v = (e) => (x("data-v-499ba16d"), e = e(), B(), e), J = { class: "flex-horizontal" }, K = /* @__PURE__ */ v(() => /* @__PURE__ */ n("span", { class: "spacer" }, null, -1)), M = /* @__PURE__ */ v(() => /* @__PURE__ */ n("span", { class: "bold" }, "Back to node configuration", -1)), Q = /* @__PURE__ */ m({
|
|
55
|
-
__name: "SettingsSubPanelBackArrow",
|
|
56
|
-
emits: ["click"],
|
|
57
|
-
setup(e, { emit: t }) {
|
|
58
|
-
const s = t;
|
|
59
|
-
return (p, r) => (o(), i("div", J, [
|
|
60
|
-
l(_(I), {
|
|
61
|
-
class: "arrow-left-button",
|
|
62
|
-
onClick: r[0] || (r[0] = () => s("click"))
|
|
63
|
-
}, {
|
|
64
|
-
default: c(() => [
|
|
65
|
-
l(_(H))
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
K,
|
|
70
|
-
M
|
|
71
|
-
]));
|
|
72
|
-
}
|
|
73
|
-
}), R = /* @__PURE__ */ u(Q, [["__scopeId", "data-v-499ba16d"]]), U = { class: "side-drawer-content" }, W = { class: "main-content" }, X = { class: "bottom-content" }, Y = /* @__PURE__ */ m({
|
|
74
|
-
__name: "SettingsSubPanel",
|
|
75
|
-
props: {
|
|
76
|
-
showBackArrow: { type: Boolean, default: !1 }
|
|
77
|
-
},
|
|
78
|
-
setup(e, { expose: t }) {
|
|
79
|
-
const s = g(!1), p = () => {
|
|
80
|
-
s.value = !0;
|
|
81
|
-
}, r = () => {
|
|
82
|
-
s.value = !1;
|
|
83
|
-
};
|
|
84
|
-
t({ expand: p, close: r });
|
|
85
|
-
const b = h("setSubPanelExpanded");
|
|
86
|
-
y(
|
|
87
|
-
s,
|
|
88
|
-
// @ts-expect-error expected 0 arguments
|
|
89
|
-
(d) => b({ isExpanded: d })
|
|
90
|
-
);
|
|
91
|
-
const S = h("getPanelsContainer")();
|
|
92
|
-
return (d, Z) => (o(), i(E, null, [
|
|
93
|
-
a(d.$slots, "expand-button", { expand: p }, void 0, !0),
|
|
94
|
-
(o(), f(P, {
|
|
95
|
-
disabled: !s.value,
|
|
96
|
-
to: _(S)
|
|
97
|
-
}, [
|
|
98
|
-
l(_(D), {
|
|
99
|
-
"is-expanded": s.value,
|
|
100
|
-
class: "side-drawer",
|
|
101
|
-
"style-overrides": { width: "100%", position: "absolute" }
|
|
102
|
-
}, {
|
|
103
|
-
default: c(() => [
|
|
104
|
-
n("div", U, [
|
|
105
|
-
n("div", W, [
|
|
106
|
-
l(O, null, {
|
|
107
|
-
default: c(() => [
|
|
108
|
-
d.showBackArrow ? (o(), f(R, {
|
|
109
|
-
key: 0,
|
|
110
|
-
onClick: r
|
|
111
|
-
})) : w("", !0),
|
|
112
|
-
a(d.$slots, "default", {}, void 0, !0)
|
|
113
|
-
]),
|
|
114
|
-
_: 3
|
|
115
|
-
})
|
|
116
|
-
]),
|
|
117
|
-
n("div", X, [
|
|
118
|
-
a(d.$slots, "bottom-content", {}, void 0, !0)
|
|
119
|
-
])
|
|
120
|
-
])
|
|
121
|
-
]),
|
|
122
|
-
_: 3
|
|
123
|
-
}, 8, ["is-expanded"])
|
|
124
|
-
], 8, ["disabled", "to"]))
|
|
125
|
-
], 64));
|
|
126
|
-
}
|
|
127
|
-
}), oe = /* @__PURE__ */ u(Y, [["__scopeId", "data-v-67b92e23"]]);
|
|
128
|
-
export {
|
|
129
|
-
O as F,
|
|
130
|
-
oe as S
|
|
131
|
-
};
|