@knime/jsonforms 1.15.41 → 1.15.43
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 +14 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +86 -81
- package/dist/src/JsonFormsDialog.vue.d.ts +473 -0
- package/dist/testUtils/component.d.ts +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
import { CoreActions, JsonFormsCore, JsonSchema, UISchemaElement } from '@jsonforms/core';
|
|
2
|
+
import { default as Ajv } from 'ajv';
|
|
3
|
+
import { NamedRenderer } from './higherOrderComponents/types';
|
|
4
|
+
import { AlertParams } from './types/alert';
|
|
5
|
+
import { StateProviderLocation } from './types/provided';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
schema: JsonSchema;
|
|
8
|
+
uischema: UISchemaElement;
|
|
9
|
+
data: unknown;
|
|
10
|
+
renderers: readonly NamedRenderer[];
|
|
11
|
+
/**
|
|
12
|
+
* Optional AJV instance for JSON Schema validation.
|
|
13
|
+
*
|
|
14
|
+
* By default, JsonForms creates its own AJV instance internally, which uses `eval()`
|
|
15
|
+
* to compile validation functions from JSON schemas. This can cause CSP (Content Security Policy)
|
|
16
|
+
* violations in environments that restrict dynamic code execution with 'unsafe-eval'.
|
|
17
|
+
*/
|
|
18
|
+
ajv?: Ajv;
|
|
19
|
+
/**
|
|
20
|
+
* Called by elements who have custom validation needs.
|
|
21
|
+
* Calling this method on every value change (debounced) starts when the ui option
|
|
22
|
+
* `validatorId` is provided with a non-`null` value and stops when `null` is provided
|
|
23
|
+
* as id. Also one call is issued when the `validatorId` is provided.
|
|
24
|
+
*
|
|
25
|
+
* @param id the id of the validator
|
|
26
|
+
* @param data the current data to validate
|
|
27
|
+
*/
|
|
28
|
+
validate?: (id: string, data: unknown) => Promise<string | null>;
|
|
29
|
+
};
|
|
30
|
+
declare function __VLS_template(): {
|
|
31
|
+
attrs: Partial<{}>;
|
|
32
|
+
slots: {
|
|
33
|
+
top?(_: {}): any;
|
|
34
|
+
bottom?(_: {}): any;
|
|
35
|
+
};
|
|
36
|
+
refs: {
|
|
37
|
+
subPanelTeleportDest: HTMLDivElement;
|
|
38
|
+
jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
data: {
|
|
40
|
+
required: true;
|
|
41
|
+
type: import('vue').PropType<any>;
|
|
42
|
+
};
|
|
43
|
+
schema: {
|
|
44
|
+
required: false;
|
|
45
|
+
type: import('vue').PropType<JsonSchema>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
uischema: {
|
|
49
|
+
required: false;
|
|
50
|
+
type: import('vue').PropType<UISchemaElement>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
renderers: {
|
|
54
|
+
required: true;
|
|
55
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
|
|
56
|
+
};
|
|
57
|
+
cells: {
|
|
58
|
+
required: false;
|
|
59
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
|
|
60
|
+
default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
config: {
|
|
63
|
+
required: false;
|
|
64
|
+
type: import('vue').PropType<any>;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
readonly: {
|
|
68
|
+
required: false;
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
uischemas: {
|
|
73
|
+
required: false;
|
|
74
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
|
|
75
|
+
default: () => never[];
|
|
76
|
+
};
|
|
77
|
+
validationMode: {
|
|
78
|
+
required: false;
|
|
79
|
+
type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
ajv: {
|
|
83
|
+
required: false;
|
|
84
|
+
type: import('vue').PropType<Ajv>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
i18n: {
|
|
88
|
+
required: false;
|
|
89
|
+
type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
additionalErrors: {
|
|
93
|
+
required: false;
|
|
94
|
+
type: import('vue').PropType<import('ajv').ErrorObject<string, Record<string, any>, unknown>[]>;
|
|
95
|
+
default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
96
|
+
};
|
|
97
|
+
middleware: {
|
|
98
|
+
required: false;
|
|
99
|
+
type: import('vue').PropType<import('@jsonforms/core').Middleware>;
|
|
100
|
+
default: import('@jsonforms/core').Middleware;
|
|
101
|
+
};
|
|
102
|
+
}>> & {
|
|
103
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, unknown, {
|
|
105
|
+
schemaToUse: JsonSchema;
|
|
106
|
+
dataToUse: any;
|
|
107
|
+
uischemaToUse: UISchemaElement;
|
|
108
|
+
jsonforms: {
|
|
109
|
+
core: JsonFormsCore;
|
|
110
|
+
config: any;
|
|
111
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
112
|
+
renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
|
|
113
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
114
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
115
|
+
readonly: boolean;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
coreDataToUpdate(): any;
|
|
119
|
+
eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
|
|
120
|
+
}, {
|
|
121
|
+
dispatch(action: CoreActions): void;
|
|
122
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], import('vue').PublicProps, {
|
|
123
|
+
config: any;
|
|
124
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
125
|
+
schema: JsonSchema;
|
|
126
|
+
uischema: UISchemaElement;
|
|
127
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
128
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
129
|
+
readonly: boolean;
|
|
130
|
+
validationMode: import('@jsonforms/core').ValidationMode;
|
|
131
|
+
ajv: Ajv;
|
|
132
|
+
additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
133
|
+
middleware: import('@jsonforms/core').Middleware;
|
|
134
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
135
|
+
P: {};
|
|
136
|
+
B: {};
|
|
137
|
+
D: {};
|
|
138
|
+
C: {};
|
|
139
|
+
M: {};
|
|
140
|
+
Defaults: {};
|
|
141
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
142
|
+
data: {
|
|
143
|
+
required: true;
|
|
144
|
+
type: import('vue').PropType<any>;
|
|
145
|
+
};
|
|
146
|
+
schema: {
|
|
147
|
+
required: false;
|
|
148
|
+
type: import('vue').PropType<JsonSchema>;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
uischema: {
|
|
152
|
+
required: false;
|
|
153
|
+
type: import('vue').PropType<UISchemaElement>;
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
renderers: {
|
|
157
|
+
required: true;
|
|
158
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
|
|
159
|
+
};
|
|
160
|
+
cells: {
|
|
161
|
+
required: false;
|
|
162
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
|
|
163
|
+
default: () => never[];
|
|
164
|
+
};
|
|
165
|
+
config: {
|
|
166
|
+
required: false;
|
|
167
|
+
type: import('vue').PropType<any>;
|
|
168
|
+
default: undefined;
|
|
169
|
+
};
|
|
170
|
+
readonly: {
|
|
171
|
+
required: false;
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
uischemas: {
|
|
176
|
+
required: false;
|
|
177
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
|
|
178
|
+
default: () => never[];
|
|
179
|
+
};
|
|
180
|
+
validationMode: {
|
|
181
|
+
required: false;
|
|
182
|
+
type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
ajv: {
|
|
186
|
+
required: false;
|
|
187
|
+
type: import('vue').PropType<Ajv>;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
190
|
+
i18n: {
|
|
191
|
+
required: false;
|
|
192
|
+
type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
|
|
193
|
+
default: undefined;
|
|
194
|
+
};
|
|
195
|
+
additionalErrors: {
|
|
196
|
+
required: false;
|
|
197
|
+
type: import('vue').PropType<import('ajv').ErrorObject<string, Record<string, any>, unknown>[]>;
|
|
198
|
+
default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
199
|
+
};
|
|
200
|
+
middleware: {
|
|
201
|
+
required: false;
|
|
202
|
+
type: import('vue').PropType<import('@jsonforms/core').Middleware>;
|
|
203
|
+
default: import('@jsonforms/core').Middleware;
|
|
204
|
+
};
|
|
205
|
+
}>> & {
|
|
206
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
207
|
+
}, {}, {
|
|
208
|
+
schemaToUse: JsonSchema;
|
|
209
|
+
dataToUse: any;
|
|
210
|
+
uischemaToUse: UISchemaElement;
|
|
211
|
+
jsonforms: {
|
|
212
|
+
core: JsonFormsCore;
|
|
213
|
+
config: any;
|
|
214
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
215
|
+
renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
|
|
216
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
217
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
218
|
+
readonly: boolean;
|
|
219
|
+
};
|
|
220
|
+
}, {
|
|
221
|
+
coreDataToUpdate(): any;
|
|
222
|
+
eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
|
|
223
|
+
}, {
|
|
224
|
+
dispatch(action: CoreActions): void;
|
|
225
|
+
}, {
|
|
226
|
+
config: any;
|
|
227
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
228
|
+
schema: JsonSchema;
|
|
229
|
+
uischema: UISchemaElement;
|
|
230
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
231
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
232
|
+
readonly: boolean;
|
|
233
|
+
validationMode: import('@jsonforms/core').ValidationMode;
|
|
234
|
+
ajv: Ajv;
|
|
235
|
+
additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
236
|
+
middleware: import('@jsonforms/core').Middleware;
|
|
237
|
+
}> | null;
|
|
238
|
+
};
|
|
239
|
+
rootEl: HTMLDivElement;
|
|
240
|
+
};
|
|
241
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
242
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
243
|
+
updateData: (path: string, value: unknown) => void;
|
|
244
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
245
|
+
change: (args_0: {
|
|
246
|
+
data: unknown;
|
|
247
|
+
}) => any;
|
|
248
|
+
trigger: (id: unknown) => any;
|
|
249
|
+
updateData: (path: string) => any;
|
|
250
|
+
alert: (alert: AlertParams) => any;
|
|
251
|
+
stateProviderListener: (identifier: StateProviderLocation & {
|
|
252
|
+
[key: string]: unknown;
|
|
253
|
+
}, callback: (value: unknown) => void) => any;
|
|
254
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
255
|
+
onChange?: ((args_0: {
|
|
256
|
+
data: unknown;
|
|
257
|
+
}) => any) | undefined;
|
|
258
|
+
onTrigger?: ((id: unknown) => any) | undefined;
|
|
259
|
+
onUpdateData?: ((path: string) => any) | undefined;
|
|
260
|
+
onAlert?: ((alert: AlertParams) => any) | undefined;
|
|
261
|
+
onStateProviderListener?: ((identifier: StateProviderLocation & {
|
|
262
|
+
[key: string]: unknown;
|
|
263
|
+
}, callback: (value: unknown) => void) => any) | undefined;
|
|
264
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
265
|
+
subPanelTeleportDest: HTMLDivElement;
|
|
266
|
+
jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
267
|
+
data: {
|
|
268
|
+
required: true;
|
|
269
|
+
type: import('vue').PropType<any>;
|
|
270
|
+
};
|
|
271
|
+
schema: {
|
|
272
|
+
required: false;
|
|
273
|
+
type: import('vue').PropType<JsonSchema>;
|
|
274
|
+
default: undefined;
|
|
275
|
+
};
|
|
276
|
+
uischema: {
|
|
277
|
+
required: false;
|
|
278
|
+
type: import('vue').PropType<UISchemaElement>;
|
|
279
|
+
default: undefined;
|
|
280
|
+
};
|
|
281
|
+
renderers: {
|
|
282
|
+
required: true;
|
|
283
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
|
|
284
|
+
};
|
|
285
|
+
cells: {
|
|
286
|
+
required: false;
|
|
287
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
|
|
288
|
+
default: () => never[];
|
|
289
|
+
};
|
|
290
|
+
config: {
|
|
291
|
+
required: false;
|
|
292
|
+
type: import('vue').PropType<any>;
|
|
293
|
+
default: undefined;
|
|
294
|
+
};
|
|
295
|
+
readonly: {
|
|
296
|
+
required: false;
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
uischemas: {
|
|
301
|
+
required: false;
|
|
302
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
|
|
303
|
+
default: () => never[];
|
|
304
|
+
};
|
|
305
|
+
validationMode: {
|
|
306
|
+
required: false;
|
|
307
|
+
type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
ajv: {
|
|
311
|
+
required: false;
|
|
312
|
+
type: import('vue').PropType<Ajv>;
|
|
313
|
+
default: undefined;
|
|
314
|
+
};
|
|
315
|
+
i18n: {
|
|
316
|
+
required: false;
|
|
317
|
+
type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
|
|
318
|
+
default: undefined;
|
|
319
|
+
};
|
|
320
|
+
additionalErrors: {
|
|
321
|
+
required: false;
|
|
322
|
+
type: import('vue').PropType<import('ajv').ErrorObject<string, Record<string, any>, unknown>[]>;
|
|
323
|
+
default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
324
|
+
};
|
|
325
|
+
middleware: {
|
|
326
|
+
required: false;
|
|
327
|
+
type: import('vue').PropType<import('@jsonforms/core').Middleware>;
|
|
328
|
+
default: import('@jsonforms/core').Middleware;
|
|
329
|
+
};
|
|
330
|
+
}>> & {
|
|
331
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
332
|
+
}, unknown, {
|
|
333
|
+
schemaToUse: JsonSchema;
|
|
334
|
+
dataToUse: any;
|
|
335
|
+
uischemaToUse: UISchemaElement;
|
|
336
|
+
jsonforms: {
|
|
337
|
+
core: JsonFormsCore;
|
|
338
|
+
config: any;
|
|
339
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
340
|
+
renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
|
|
341
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
342
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
343
|
+
readonly: boolean;
|
|
344
|
+
};
|
|
345
|
+
}, {
|
|
346
|
+
coreDataToUpdate(): any;
|
|
347
|
+
eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
|
|
348
|
+
}, {
|
|
349
|
+
dispatch(action: CoreActions): void;
|
|
350
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], import('vue').PublicProps, {
|
|
351
|
+
config: any;
|
|
352
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
353
|
+
schema: JsonSchema;
|
|
354
|
+
uischema: UISchemaElement;
|
|
355
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
356
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
357
|
+
readonly: boolean;
|
|
358
|
+
validationMode: import('@jsonforms/core').ValidationMode;
|
|
359
|
+
ajv: Ajv;
|
|
360
|
+
additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
361
|
+
middleware: import('@jsonforms/core').Middleware;
|
|
362
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
363
|
+
P: {};
|
|
364
|
+
B: {};
|
|
365
|
+
D: {};
|
|
366
|
+
C: {};
|
|
367
|
+
M: {};
|
|
368
|
+
Defaults: {};
|
|
369
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
370
|
+
data: {
|
|
371
|
+
required: true;
|
|
372
|
+
type: import('vue').PropType<any>;
|
|
373
|
+
};
|
|
374
|
+
schema: {
|
|
375
|
+
required: false;
|
|
376
|
+
type: import('vue').PropType<JsonSchema>;
|
|
377
|
+
default: undefined;
|
|
378
|
+
};
|
|
379
|
+
uischema: {
|
|
380
|
+
required: false;
|
|
381
|
+
type: import('vue').PropType<UISchemaElement>;
|
|
382
|
+
default: undefined;
|
|
383
|
+
};
|
|
384
|
+
renderers: {
|
|
385
|
+
required: true;
|
|
386
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
|
|
387
|
+
};
|
|
388
|
+
cells: {
|
|
389
|
+
required: false;
|
|
390
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
|
|
391
|
+
default: () => never[];
|
|
392
|
+
};
|
|
393
|
+
config: {
|
|
394
|
+
required: false;
|
|
395
|
+
type: import('vue').PropType<any>;
|
|
396
|
+
default: undefined;
|
|
397
|
+
};
|
|
398
|
+
readonly: {
|
|
399
|
+
required: false;
|
|
400
|
+
type: BooleanConstructor;
|
|
401
|
+
default: boolean;
|
|
402
|
+
};
|
|
403
|
+
uischemas: {
|
|
404
|
+
required: false;
|
|
405
|
+
type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
|
|
406
|
+
default: () => never[];
|
|
407
|
+
};
|
|
408
|
+
validationMode: {
|
|
409
|
+
required: false;
|
|
410
|
+
type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
ajv: {
|
|
414
|
+
required: false;
|
|
415
|
+
type: import('vue').PropType<Ajv>;
|
|
416
|
+
default: undefined;
|
|
417
|
+
};
|
|
418
|
+
i18n: {
|
|
419
|
+
required: false;
|
|
420
|
+
type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
|
|
421
|
+
default: undefined;
|
|
422
|
+
};
|
|
423
|
+
additionalErrors: {
|
|
424
|
+
required: false;
|
|
425
|
+
type: import('vue').PropType<import('ajv').ErrorObject<string, Record<string, any>, unknown>[]>;
|
|
426
|
+
default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
427
|
+
};
|
|
428
|
+
middleware: {
|
|
429
|
+
required: false;
|
|
430
|
+
type: import('vue').PropType<import('@jsonforms/core').Middleware>;
|
|
431
|
+
default: import('@jsonforms/core').Middleware;
|
|
432
|
+
};
|
|
433
|
+
}>> & {
|
|
434
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
435
|
+
}, {}, {
|
|
436
|
+
schemaToUse: JsonSchema;
|
|
437
|
+
dataToUse: any;
|
|
438
|
+
uischemaToUse: UISchemaElement;
|
|
439
|
+
jsonforms: {
|
|
440
|
+
core: JsonFormsCore;
|
|
441
|
+
config: any;
|
|
442
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
443
|
+
renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
|
|
444
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
445
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
446
|
+
readonly: boolean;
|
|
447
|
+
};
|
|
448
|
+
}, {
|
|
449
|
+
coreDataToUpdate(): any;
|
|
450
|
+
eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
|
|
451
|
+
}, {
|
|
452
|
+
dispatch(action: CoreActions): void;
|
|
453
|
+
}, {
|
|
454
|
+
config: any;
|
|
455
|
+
i18n: import('@jsonforms/core').JsonFormsI18nState;
|
|
456
|
+
schema: JsonSchema;
|
|
457
|
+
uischema: UISchemaElement;
|
|
458
|
+
cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
|
|
459
|
+
uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
|
|
460
|
+
readonly: boolean;
|
|
461
|
+
validationMode: import('@jsonforms/core').ValidationMode;
|
|
462
|
+
ajv: Ajv;
|
|
463
|
+
additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
|
|
464
|
+
middleware: import('@jsonforms/core').Middleware;
|
|
465
|
+
}> | null;
|
|
466
|
+
}, HTMLDivElement>;
|
|
467
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
468
|
+
export default _default;
|
|
469
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
470
|
+
new (): {
|
|
471
|
+
$slots: S;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
@@ -124,6 +124,7 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
|
|
|
124
124
|
disabled: boolean;
|
|
125
125
|
isValid: boolean;
|
|
126
126
|
labelForId?: null | undefined;
|
|
127
|
+
messages: import('../src/higherOrderComponents/control/validation/types').Messages;
|
|
127
128
|
control: {
|
|
128
129
|
data: D;
|
|
129
130
|
uischema: {
|
|
@@ -151,7 +152,6 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
|
|
|
151
152
|
id: string;
|
|
152
153
|
visible: boolean;
|
|
153
154
|
}, "data">;
|
|
154
|
-
messages: import('../src/higherOrderComponents/control/validation/types').Messages;
|
|
155
155
|
}, never>>>;
|
|
156
156
|
handleChange: Mock<(...args: any[]) => any>;
|
|
157
157
|
changeValue: Mock<(...args: any[]) => any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.43",
|
|
4
4
|
"description": "Internal JSON Forms integration for frontend KNIME projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,15 @@
|
|
|
17
17
|
"@jsonforms/vue": "3.4.0",
|
|
18
18
|
"@jsonforms/vue-vanilla": "3.4.0",
|
|
19
19
|
"@knime/kds-components": "0.0.8",
|
|
20
|
+
"ajv": "8.13.0",
|
|
20
21
|
"date-fns": "2.30.0",
|
|
21
22
|
"focus-trap-vue": "4.0.3",
|
|
22
23
|
"tabbable": "6.2.0",
|
|
23
24
|
"uuid": "10.0.0",
|
|
24
|
-
"@knime/components": "1.41.
|
|
25
|
-
"@knime/
|
|
26
|
-
"@knime/
|
|
27
|
-
"@knime/
|
|
25
|
+
"@knime/components": "1.41.8",
|
|
26
|
+
"@knime/rich-text-editor": "1.7.37",
|
|
27
|
+
"@knime/utils": "1.7.1",
|
|
28
|
+
"@knime/styles": "1.14.3"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"consola": "3.x",
|