@knime/jsonforms 1.21.16 → 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 +18 -0
- package/dist/AnyOfTwinlist-Chx0nmt3.js +23 -0
- package/dist/CheckboxControl-B8b1Di4k.js +40 -0
- package/dist/CheckboxesControl-DWUnPGdN.js +39 -0
- package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-ByE5ku7u.js} +10 -8
- package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-XiKZ4jfn.js} +28 -28
- package/dist/ComboBoxControl-zSceYlyZ.js +39 -0
- package/dist/DateControl-BBGpEVpr.js +44 -0
- package/dist/DateTimeControl-CymOURq5.js +80 -0
- package/dist/DateTimeFormatPickerControl-Bx19jwpr.js +34 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq.js} +30 -29
- package/dist/DropdownControl-C6ffVYyf.js +32 -0
- package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-D9FZ-g9O.js} +10 -9
- package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-__P80Lkb.js} +9 -8
- package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-DWs4PhOj.js} +53 -52
- package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-WcJ4y6Fs.js} +27 -26
- package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-ByB5A7X3.js} +6 -6
- package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-aveswmbr.js} +5 -4
- package/dist/IntervalControl-B4Eqs1Jf.js +51 -0
- package/dist/LinkControl-DD56lOiw.js +35 -0
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg.js} +5 -5
- package/dist/ManualTwinlistControl-DBZ5RZgW.js +74 -0
- package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-BMsPvxGQ.js} +53 -52
- package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-thO1be1r.js} +1 -1
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CKcpm_I1.js +159 -0
- package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DBMVmZmk.js} +7 -6
- package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-BPVO5l6t.js} +7 -6
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6.js +52 -0
- package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-DBG8ZcpV.js} +13 -11
- package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BsqMTEB5.js} +15 -15
- package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ClJmr0EQ.js} +5 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw.js +57 -0
- package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-CeXYJeR1.js} +21 -18
- package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DvYkBpzH.js} +2796 -2626
- package/dist/SectionHeading-7KVIxCGG.js +61 -0
- package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-CwRO3UXc.js} +3 -3
- package/dist/SettingsSubPanel-i2sjXJXx.js +5 -0
- package/dist/SettingsSubPanelLayout-CV6y2bcX.js +67 -0
- package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-D58aXnm7.js} +14 -14
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js} +9583 -9612
- package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-BSON5VYy.js} +6 -5
- package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-BSqORMYm.js} +21 -19
- package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-CFdKzbOK.js} +18 -17
- package/dist/SortListControl-DZIHeQmn.js +105 -0
- package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem--sgmJ3W_.js} +1 -1
- package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-DiMyDT-5.js} +16 -15
- package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-Bag_dwA1.js} +12 -11
- package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-B52P0DAa.js} +10 -8
- package/dist/{TextControl-BrUMvx4G.js → TextControl-52n-sttB.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js} +16 -14
- package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Cu12_qpz.js} +26 -24
- package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DhdC8OS1.js} +7 -6
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz.js} +14 -11
- package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-zJOICQei.js} +5 -4
- package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-CEVWJH7z.js} +6 -5
- package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-D_13xb_m.js} +2 -2
- package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-CYfG9KqS.js} +2 -2
- package/dist/ZonedDateTimeControl-C-vO6fC1.js +79 -0
- package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-DdGQvEX6.js} +27 -27
- package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +107 -99
- package/dist/src/JsonFormsDialog.vue.d.ts +6 -6
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
- 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/checkboxRenderer.d.ts +120 -1
- package/dist/src/renderers/defaultRenderers.d.ts +120 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +120 -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-DXjInt1t.js → toString-f8odPeFb.js} +1 -1
- package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-KbChI8vv.js} +1 -1
- package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-DiYOmnZW.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BhhirtmX.js} +1 -1
- package/package.json +2 -2
- package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
- package/dist/CheckboxControl-CjiUwvWU.js +0 -38
- package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
- package/dist/ComboBoxControl-hveFsDLi.js +0 -37
- package/dist/DateControl-BtCCimuA.js +0 -42
- package/dist/DateTimeControl-Bll2rZlX.js +0 -78
- package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
- package/dist/DropdownControl-DA8lNfVk.js +0 -30
- package/dist/IntervalControl-vOi33CZB.js +0 -48
- package/dist/LinkControl-D5t3awqb.js +0 -35
- package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
- package/dist/SectionHeading-xMNeMcnS.js +0 -19
- package/dist/SettingsSubPanel-D_FDP5Zc.js +0 -5
- package/dist/SettingsSubPanelLayout-Dp_jLbsR.js +0 -73
- package/dist/SortListControl-kjhkdRwC.js +0 -103
- package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
- package/dist/arrow-next-BQULX8HT.js +0 -17
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
- 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 {
|
|
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
|
-
return
|
|
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
|
]),
|
|
@@ -30,9 +39,9 @@ const G = {
|
|
|
30
39
|
variant: "input-with-label",
|
|
31
40
|
repeat: 3
|
|
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,55 +54,55 @@ 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
|
-
}), T =
|
|
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
|
-
|
|
104
|
+
const C = y(null);
|
|
105
|
+
R(C);
|
|
97
106
|
const N = d(() => ({
|
|
98
107
|
data: t.data,
|
|
99
108
|
schema: t.schema,
|
|
@@ -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
|
-
}, N.value, { onChange:
|
|
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,34 +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
|
-
|
|
213
|
-
Ce as withLabel
|
|
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
|
|
214
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<{
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as LabeledControl } from './LabeledControl.vue';
|
|
2
|
-
import { default as ErrorMessages } from './errorMessage/ErrorMessages.vue';
|
|
3
2
|
export type * from './types';
|
|
4
3
|
export * from './withLabel';
|
|
5
4
|
export * from './controlToRenderer';
|
|
6
5
|
export * from './util';
|
|
7
6
|
export * from './withDescription';
|
|
8
7
|
export type { PerformExternalValidation } from './validation/types';
|
|
9
|
-
export { LabeledControl
|
|
8
|
+
export { LabeledControl };
|
|
@@ -18,13 +18,12 @@ export declare const controlProps: {
|
|
|
18
18
|
type: PropType<VueControlProps<never>["disabled"]>;
|
|
19
19
|
required: boolean;
|
|
20
20
|
};
|
|
21
|
-
|
|
22
|
-
type: PropType<VueControlProps<never>["
|
|
21
|
+
error: {
|
|
22
|
+
type: PropType<VueControlProps<never>["error"]>;
|
|
23
23
|
required: boolean;
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
type: PropType<VueControlProps<never>["
|
|
27
|
-
required: boolean;
|
|
25
|
+
subText: {
|
|
26
|
+
type: PropType<VueControlProps<never>["subText"]>;
|
|
28
27
|
};
|
|
29
28
|
onRegisterValidation: {
|
|
30
29
|
type: PropType<VueControlProps<never>["onRegisterValidation"]>;
|
|
@@ -10,8 +10,8 @@ export type Messages = {
|
|
|
10
10
|
*/
|
|
11
11
|
export type ValidationMethod<D> = MaybeRef<((value: D) => Messages) | null>;
|
|
12
12
|
export type ValidationSettings<D> = {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
error: boolean;
|
|
14
|
+
subText: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* @param validation the validation method to register.
|
|
17
17
|
* @returns the cleanup callback with which the validation can be unregistered.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsToComponent, VueControl, VueControlProps } from './types';
|
|
2
|
-
export type VueControlPropsForLabelContent<D> = Omit<VueControlProps<D>, "labelForId"
|
|
2
|
+
export type VueControlPropsForLabelContent<D> = Omit<VueControlProps<D>, "labelForId"> & {
|
|
3
3
|
labelForId: string;
|
|
4
4
|
};
|
|
5
5
|
export type VueControlThatRequiresLabelWrapper<D> = PropsToComponent<VueControlPropsForLabelContent<D>>;
|
|
@@ -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;
|
|
@@ -1 +1,120 @@
|
|
|
1
|
-
export declare const checkboxRenderer:
|
|
1
|
+
export declare const checkboxRenderer: {
|
|
2
|
+
name: string;
|
|
3
|
+
control: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
5
|
+
control: {
|
|
6
|
+
data: boolean;
|
|
7
|
+
uischema: {
|
|
8
|
+
providedOptions?: string[];
|
|
9
|
+
id?: string;
|
|
10
|
+
};
|
|
11
|
+
} & Omit<{
|
|
12
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
13
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
14
|
+
path: string;
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
17
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
18
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
19
|
+
cell: any;
|
|
20
|
+
}[];
|
|
21
|
+
config: any;
|
|
22
|
+
label: string;
|
|
23
|
+
description: string;
|
|
24
|
+
required: NonNullable<boolean | undefined>;
|
|
25
|
+
i18nKeyPrefix: string;
|
|
26
|
+
errors: string;
|
|
27
|
+
data: any;
|
|
28
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
29
|
+
id: string;
|
|
30
|
+
visible: boolean;
|
|
31
|
+
}, "data">;
|
|
32
|
+
handleChange: (path: string, value: unknown) => void;
|
|
33
|
+
changeValue: (newValue: boolean) => void;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
labelForId?: null;
|
|
36
|
+
} & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
37
|
+
P: {};
|
|
38
|
+
B: {};
|
|
39
|
+
D: {};
|
|
40
|
+
C: {};
|
|
41
|
+
M: {};
|
|
42
|
+
Defaults: {};
|
|
43
|
+
}, Readonly<{
|
|
44
|
+
control: {
|
|
45
|
+
data: boolean;
|
|
46
|
+
uischema: {
|
|
47
|
+
providedOptions?: string[];
|
|
48
|
+
id?: string;
|
|
49
|
+
};
|
|
50
|
+
} & Omit<{
|
|
51
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
52
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
53
|
+
path: string;
|
|
54
|
+
enabled: boolean;
|
|
55
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
56
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
57
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
58
|
+
cell: any;
|
|
59
|
+
}[];
|
|
60
|
+
config: any;
|
|
61
|
+
label: string;
|
|
62
|
+
description: string;
|
|
63
|
+
required: NonNullable<boolean | undefined>;
|
|
64
|
+
i18nKeyPrefix: string;
|
|
65
|
+
errors: string;
|
|
66
|
+
data: any;
|
|
67
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
68
|
+
id: string;
|
|
69
|
+
visible: boolean;
|
|
70
|
+
}, "data">;
|
|
71
|
+
handleChange: (path: string, value: unknown) => void;
|
|
72
|
+
changeValue: (newValue: boolean) => void;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
labelForId?: null;
|
|
75
|
+
} & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
76
|
+
__isFragment?: never;
|
|
77
|
+
__isTeleport?: never;
|
|
78
|
+
__isSuspense?: never;
|
|
79
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
80
|
+
control: {
|
|
81
|
+
data: boolean;
|
|
82
|
+
uischema: {
|
|
83
|
+
providedOptions?: string[];
|
|
84
|
+
id?: string;
|
|
85
|
+
};
|
|
86
|
+
} & Omit<{
|
|
87
|
+
uischema: import('@jsonforms/core').ControlElement;
|
|
88
|
+
schema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
89
|
+
path: string;
|
|
90
|
+
enabled: boolean;
|
|
91
|
+
renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
|
|
92
|
+
cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
|
|
93
|
+
tester: import('@jsonforms/core').RankedTester;
|
|
94
|
+
cell: any;
|
|
95
|
+
}[];
|
|
96
|
+
config: any;
|
|
97
|
+
label: string;
|
|
98
|
+
description: string;
|
|
99
|
+
required: NonNullable<boolean | undefined>;
|
|
100
|
+
i18nKeyPrefix: string;
|
|
101
|
+
errors: string;
|
|
102
|
+
data: any;
|
|
103
|
+
rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
|
|
104
|
+
id: string;
|
|
105
|
+
visible: boolean;
|
|
106
|
+
}, "data">;
|
|
107
|
+
handleChange: (path: string, value: unknown) => void;
|
|
108
|
+
changeValue: (newValue: boolean) => void;
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
labelForId?: null;
|
|
111
|
+
} & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
112
|
+
$slots: {
|
|
113
|
+
icon?(_: {}): any;
|
|
114
|
+
buttons?(_: {
|
|
115
|
+
hover: boolean;
|
|
116
|
+
}): any;
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
|
|
120
|
+
};
|