@json-layout/vocabulary 1.4.1 → 1.5.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.
@@ -0,0 +1,583 @@
1
+ declare namespace _default {
2
+ let $id: string;
3
+ let $defs: {
4
+ "normalized-layout": {
5
+ title: string;
6
+ type: string;
7
+ unevaluatedProperties: boolean;
8
+ oneOf: {
9
+ $ref: string;
10
+ }[];
11
+ };
12
+ "switch-struct": {
13
+ type: string;
14
+ required: string[];
15
+ additionalProperties: boolean;
16
+ properties: {
17
+ switch: {
18
+ type: string;
19
+ items: {
20
+ $ref: string;
21
+ };
22
+ };
23
+ };
24
+ };
25
+ "base-comp-object": {
26
+ type: string;
27
+ required: string[];
28
+ properties: {
29
+ comp: {
30
+ type: string;
31
+ };
32
+ if: {
33
+ $ref: string;
34
+ };
35
+ options: {
36
+ $ref: string;
37
+ };
38
+ getOptions: {
39
+ $ref: string;
40
+ };
41
+ defaultData: {};
42
+ getDefaultData: {
43
+ $ref: string;
44
+ };
45
+ constData: {};
46
+ getConstData: {
47
+ $ref: string;
48
+ };
49
+ transformData: {
50
+ $ref: string;
51
+ };
52
+ nullable: {
53
+ type: string;
54
+ };
55
+ help: {
56
+ type: string;
57
+ };
58
+ cols: {
59
+ $ref: string;
60
+ };
61
+ props: {
62
+ $ref: string;
63
+ };
64
+ getProps: {
65
+ $ref: string;
66
+ };
67
+ slots: {
68
+ $ref: string;
69
+ };
70
+ };
71
+ };
72
+ "composite-comp-object": {
73
+ allOf: ({
74
+ $ref: string;
75
+ type?: undefined;
76
+ required?: undefined;
77
+ properties?: undefined;
78
+ } | {
79
+ type: string;
80
+ required: string[];
81
+ properties: {
82
+ comp: {
83
+ type: string;
84
+ };
85
+ title: {
86
+ type: string[];
87
+ };
88
+ subtitle: {
89
+ type: string[];
90
+ };
91
+ children: {
92
+ $ref: string;
93
+ };
94
+ };
95
+ $ref?: undefined;
96
+ })[];
97
+ };
98
+ "slot-comp-object": {
99
+ allOf: ({
100
+ $ref: string;
101
+ type?: undefined;
102
+ required?: undefined;
103
+ properties?: undefined;
104
+ } | {
105
+ type: string;
106
+ required: string[];
107
+ properties: {
108
+ comp: {
109
+ type: string;
110
+ const: string;
111
+ };
112
+ };
113
+ $ref?: undefined;
114
+ })[];
115
+ };
116
+ "simple-comp-object": {
117
+ allOf: ({
118
+ $ref: string;
119
+ type?: undefined;
120
+ required?: undefined;
121
+ properties?: undefined;
122
+ } | {
123
+ type: string;
124
+ required: string[];
125
+ properties: {
126
+ comp: {
127
+ type: string;
128
+ };
129
+ label: {
130
+ type: string;
131
+ };
132
+ hint: {
133
+ type: string[];
134
+ };
135
+ };
136
+ $ref?: undefined;
137
+ })[];
138
+ };
139
+ "focusable-comp-object": {
140
+ allOf: ({
141
+ $ref: string;
142
+ type?: undefined;
143
+ required?: undefined;
144
+ properties?: undefined;
145
+ } | {
146
+ type: string;
147
+ required: string[];
148
+ properties: {
149
+ comp: {
150
+ type: string;
151
+ };
152
+ autofocus: {
153
+ type: string;
154
+ };
155
+ };
156
+ $ref?: undefined;
157
+ })[];
158
+ };
159
+ "items-based-comp-object": {
160
+ allOf: ({
161
+ $ref: string;
162
+ type?: undefined;
163
+ required?: undefined;
164
+ properties?: undefined;
165
+ } | {
166
+ type: string;
167
+ required: string[];
168
+ properties: {
169
+ comp: {
170
+ type: string;
171
+ };
172
+ items: {
173
+ $ref: string;
174
+ };
175
+ getItems: {
176
+ $ref: string;
177
+ };
178
+ };
179
+ $ref?: undefined;
180
+ })[];
181
+ };
182
+ "multiple-compat-comp-object": {
183
+ allOf: ({
184
+ $ref: string;
185
+ type?: undefined;
186
+ required?: undefined;
187
+ properties?: undefined;
188
+ } | {
189
+ type: string;
190
+ required: string[];
191
+ properties: {
192
+ comp: {
193
+ type: string;
194
+ };
195
+ multiple: {
196
+ type: string;
197
+ };
198
+ separator: {
199
+ type: string;
200
+ };
201
+ };
202
+ $ref?: undefined;
203
+ })[];
204
+ };
205
+ "child-ref": {
206
+ type: string;
207
+ required: string[];
208
+ additionalProperties: boolean;
209
+ properties: {
210
+ key: {
211
+ type: string[];
212
+ };
213
+ cols: {
214
+ $ref: string;
215
+ };
216
+ if: {
217
+ $ref: string;
218
+ };
219
+ slots: {
220
+ $ref: string;
221
+ };
222
+ };
223
+ };
224
+ "child-composite": {
225
+ type: string;
226
+ required: string[];
227
+ additionalProperties: boolean;
228
+ properties: {
229
+ key: {
230
+ type: string[];
231
+ };
232
+ cols: {
233
+ $ref: string;
234
+ };
235
+ comp: {
236
+ type: string;
237
+ };
238
+ title: {
239
+ type: string;
240
+ };
241
+ subtitle: {
242
+ type: string;
243
+ };
244
+ children: {
245
+ $ref: string;
246
+ };
247
+ if: {
248
+ $ref: string;
249
+ };
250
+ slots: {
251
+ $ref: string;
252
+ };
253
+ };
254
+ };
255
+ "child-slot": {
256
+ type: string;
257
+ required: string[];
258
+ additionalProperties: boolean;
259
+ properties: {
260
+ key: {
261
+ type: string[];
262
+ };
263
+ cols: {
264
+ $ref: string;
265
+ };
266
+ comp: {
267
+ const: string;
268
+ };
269
+ if: {
270
+ $ref: string;
271
+ };
272
+ slots: {
273
+ $ref: string;
274
+ };
275
+ };
276
+ };
277
+ child: {
278
+ title: string;
279
+ type: string;
280
+ oneOf: {
281
+ $ref: string;
282
+ }[];
283
+ };
284
+ children: {
285
+ type: string;
286
+ items: {
287
+ $ref: string;
288
+ };
289
+ };
290
+ "select-items": {
291
+ type: string;
292
+ items: {
293
+ $ref: string;
294
+ };
295
+ };
296
+ "select-item": {
297
+ type: string;
298
+ required: string[];
299
+ properties: {
300
+ title: {
301
+ type: string;
302
+ };
303
+ key: {
304
+ type: string;
305
+ };
306
+ value: {};
307
+ icon: {
308
+ type: string;
309
+ };
310
+ };
311
+ };
312
+ "get-items": {
313
+ type: string;
314
+ allOf: ({
315
+ properties: {
316
+ returnObjects: {
317
+ type: string;
318
+ readOnly: boolean;
319
+ };
320
+ itemsResults: {
321
+ $ref: string;
322
+ };
323
+ itemTitle: {
324
+ $ref: string;
325
+ };
326
+ itemKey: {
327
+ $ref: string;
328
+ };
329
+ itemValue: {
330
+ $ref: string;
331
+ };
332
+ itemIcon: {
333
+ $ref: string;
334
+ };
335
+ immutable: {
336
+ type: string;
337
+ };
338
+ };
339
+ oneOf?: undefined;
340
+ } | {
341
+ oneOf: {
342
+ $ref: string;
343
+ }[];
344
+ properties?: undefined;
345
+ })[];
346
+ };
347
+ "get-items-fetch": {
348
+ type: string;
349
+ required: string[];
350
+ properties: {
351
+ url: {
352
+ $ref: string;
353
+ };
354
+ qSearchParam: {
355
+ type: string;
356
+ };
357
+ searchParams: {
358
+ type: string;
359
+ patternProperties: {
360
+ ".*": {
361
+ $ref: string;
362
+ };
363
+ };
364
+ };
365
+ };
366
+ };
367
+ expression: {
368
+ type: string;
369
+ required: string[];
370
+ properties: {
371
+ type: {
372
+ type: string;
373
+ enum: string[];
374
+ };
375
+ expr: {
376
+ type: string;
377
+ };
378
+ pure: {
379
+ type: string;
380
+ };
381
+ dataAlias: {
382
+ type: string;
383
+ };
384
+ ref: {
385
+ type: string;
386
+ readOnly: boolean;
387
+ };
388
+ };
389
+ };
390
+ "cols-obj": {
391
+ type: string;
392
+ additionalProperties: boolean;
393
+ required: string[];
394
+ properties: {
395
+ xs: {
396
+ $ref: string;
397
+ default: number;
398
+ };
399
+ sm: {
400
+ $ref: string;
401
+ };
402
+ md: {
403
+ $ref: string;
404
+ };
405
+ lg: {
406
+ $ref: string;
407
+ };
408
+ xl: {
409
+ $ref: string;
410
+ };
411
+ xxl: {
412
+ $ref: string;
413
+ };
414
+ };
415
+ };
416
+ cols: {
417
+ type: string;
418
+ minimum: number;
419
+ maximum: number;
420
+ };
421
+ slot: {
422
+ oneOf: ({
423
+ type: string;
424
+ additionalProperties: boolean;
425
+ required: string[];
426
+ properties: {
427
+ text: {
428
+ type: string;
429
+ };
430
+ markdown?: undefined;
431
+ name?: undefined;
432
+ props?: undefined;
433
+ };
434
+ } | {
435
+ type: string;
436
+ additionalProperties: boolean;
437
+ required: string[];
438
+ properties: {
439
+ markdown: {
440
+ type: string;
441
+ };
442
+ text?: undefined;
443
+ name?: undefined;
444
+ props?: undefined;
445
+ };
446
+ } | {
447
+ type: string;
448
+ additionalProperties: boolean;
449
+ required: string[];
450
+ properties: {
451
+ name: {
452
+ type: string;
453
+ };
454
+ props: {
455
+ type: string;
456
+ };
457
+ text?: undefined;
458
+ markdown?: undefined;
459
+ };
460
+ })[];
461
+ };
462
+ slots: {
463
+ type: string;
464
+ allOf: ({
465
+ $ref: string;
466
+ properties?: undefined;
467
+ } | {
468
+ properties: {
469
+ before: {
470
+ $ref: string;
471
+ };
472
+ after: {
473
+ $ref: string;
474
+ };
475
+ component: {
476
+ $ref: string;
477
+ };
478
+ };
479
+ $ref?: undefined;
480
+ })[];
481
+ };
482
+ "state-node-options-base": {
483
+ type: string;
484
+ allOf: ({
485
+ $ref: string;
486
+ properties?: undefined;
487
+ } | {
488
+ properties: {
489
+ readOnly: {
490
+ type: string;
491
+ default: boolean;
492
+ };
493
+ summary: {
494
+ type: string;
495
+ default: boolean;
496
+ };
497
+ titleDepth: {
498
+ type: string;
499
+ minimum: number;
500
+ maximum: number;
501
+ default: number;
502
+ };
503
+ density: {
504
+ type: string;
505
+ enum: string[];
506
+ default: string;
507
+ };
508
+ indent: {
509
+ type: string[];
510
+ };
511
+ removeAdditional: {
512
+ description: string;
513
+ default: string;
514
+ oneOf: ({
515
+ type: string;
516
+ enum?: undefined;
517
+ } | {
518
+ type: string;
519
+ enum: string[];
520
+ })[];
521
+ };
522
+ validateOn: {
523
+ type: string;
524
+ enum: string[];
525
+ default: string;
526
+ };
527
+ updateOn: {
528
+ type: string;
529
+ enum: string[];
530
+ default: string;
531
+ };
532
+ debounceInputMs: {
533
+ type: string;
534
+ minimum: number;
535
+ default: number;
536
+ };
537
+ initialValidation: {
538
+ type: string;
539
+ enum: string[];
540
+ default: string;
541
+ };
542
+ defaultOn: {
543
+ type: string;
544
+ enum: string[];
545
+ default: string;
546
+ };
547
+ autofocus: {
548
+ type: string;
549
+ default: boolean;
550
+ };
551
+ readOnlyPropertiesMode: {
552
+ type: string;
553
+ enum: string[];
554
+ default: string;
555
+ };
556
+ };
557
+ $ref?: undefined;
558
+ })[];
559
+ };
560
+ "state-node-options-base-lib": {
561
+ type: string;
562
+ patternProperties: {
563
+ ".*": {};
564
+ };
565
+ };
566
+ "state-node-props-lib": {
567
+ type: string;
568
+ patternProperties: {
569
+ ".*": {};
570
+ };
571
+ };
572
+ "state-node-slots-lib": {
573
+ type: string;
574
+ patternProperties: {
575
+ ".*": {
576
+ $ref: string;
577
+ };
578
+ };
579
+ };
580
+ };
581
+ }
582
+ export default _default;
583
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/schema.js"],"names":[],"mappings":""}