@jsonforms/examples 3.8.0 → 3.9.0-alpha.1
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/lib/examples/special-property-names.d.ts +59 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +580 -467
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +582 -470
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/examples/special-property-names.ts +133 -0
- package/src/index.ts +2 -0
- package/stats.html +1 -1
|
@@ -12,7 +12,7 @@ const getExamples = () => {
|
|
|
12
12
|
return examples;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const schema$
|
|
15
|
+
const schema$W = {
|
|
16
16
|
type: 'object',
|
|
17
17
|
required: ['age'],
|
|
18
18
|
properties: {
|
|
@@ -67,7 +67,7 @@ const schema$V = {
|
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
69
|
};
|
|
70
|
-
const uischema$
|
|
70
|
+
const uischema$W = {
|
|
71
71
|
type: 'VerticalLayout',
|
|
72
72
|
elements: [
|
|
73
73
|
{
|
|
@@ -160,7 +160,7 @@ const uischema$V = {
|
|
|
160
160
|
},
|
|
161
161
|
],
|
|
162
162
|
};
|
|
163
|
-
const data$
|
|
163
|
+
const data$Y = {
|
|
164
164
|
firstName: 'Max',
|
|
165
165
|
lastName: 'Power',
|
|
166
166
|
committer: false,
|
|
@@ -169,20 +169,20 @@ registerExamples([
|
|
|
169
169
|
{
|
|
170
170
|
name: '1884',
|
|
171
171
|
label: 'Issue 1884 - Nested enable/disable',
|
|
172
|
-
data: data$
|
|
173
|
-
schema: schema$
|
|
174
|
-
uischema: uischema$
|
|
172
|
+
data: data$Y,
|
|
173
|
+
schema: schema$W,
|
|
174
|
+
uischema: uischema$W,
|
|
175
175
|
},
|
|
176
176
|
]);
|
|
177
177
|
|
|
178
178
|
var _1884 = /*#__PURE__*/Object.freeze({
|
|
179
179
|
__proto__: null,
|
|
180
|
-
schema: schema$
|
|
181
|
-
uischema: uischema$
|
|
182
|
-
data: data$
|
|
180
|
+
schema: schema$W,
|
|
181
|
+
uischema: uischema$W,
|
|
182
|
+
data: data$Y
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
const schema$
|
|
185
|
+
const schema$V = {
|
|
186
186
|
type: 'object',
|
|
187
187
|
definitions: {
|
|
188
188
|
import: {
|
|
@@ -213,8 +213,8 @@ const schema$U = {
|
|
|
213
213
|
},
|
|
214
214
|
},
|
|
215
215
|
};
|
|
216
|
-
const uischema$
|
|
217
|
-
const data$
|
|
216
|
+
const uischema$V = undefined;
|
|
217
|
+
const data$X = {
|
|
218
218
|
import: [
|
|
219
219
|
{
|
|
220
220
|
document: 'Document1',
|
|
@@ -227,24 +227,24 @@ registerExamples([
|
|
|
227
227
|
{
|
|
228
228
|
name: '1948_with',
|
|
229
229
|
label: 'Issue 1948 - Array renderer selection (with schema)',
|
|
230
|
-
data: data$
|
|
231
|
-
schema: schema$
|
|
232
|
-
uischema: uischema$
|
|
230
|
+
data: data$X,
|
|
231
|
+
schema: schema$V,
|
|
232
|
+
uischema: uischema$V,
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
name: '1948_without',
|
|
236
236
|
label: 'Issue 1948 - Array renderer selection (w/o schema)',
|
|
237
|
-
data: data$
|
|
237
|
+
data: data$X,
|
|
238
238
|
schema: undefined,
|
|
239
|
-
uischema: uischema$
|
|
239
|
+
uischema: uischema$V,
|
|
240
240
|
},
|
|
241
241
|
]);
|
|
242
242
|
|
|
243
243
|
var _1948 = /*#__PURE__*/Object.freeze({
|
|
244
244
|
__proto__: null,
|
|
245
|
-
schema: schema$
|
|
246
|
-
uischema: uischema$
|
|
247
|
-
data: data$
|
|
245
|
+
schema: schema$V,
|
|
246
|
+
uischema: uischema$V,
|
|
247
|
+
data: data$X
|
|
248
248
|
});
|
|
249
249
|
|
|
250
250
|
const personCoreSchema = {
|
|
@@ -269,7 +269,7 @@ const personCoreSchema = {
|
|
|
269
269
|
},
|
|
270
270
|
},
|
|
271
271
|
};
|
|
272
|
-
const schema$
|
|
272
|
+
const schema$U = {
|
|
273
273
|
type: 'object',
|
|
274
274
|
properties: {
|
|
275
275
|
...personCoreSchema.properties,
|
|
@@ -309,7 +309,7 @@ const schema$T = {
|
|
|
309
309
|
},
|
|
310
310
|
required: ['occupation', 'nationality'],
|
|
311
311
|
};
|
|
312
|
-
const uischema$
|
|
312
|
+
const uischema$U = {
|
|
313
313
|
type: 'VerticalLayout',
|
|
314
314
|
elements: [
|
|
315
315
|
{
|
|
@@ -364,7 +364,7 @@ const uischema$T = {
|
|
|
364
364
|
},
|
|
365
365
|
],
|
|
366
366
|
};
|
|
367
|
-
const data$
|
|
367
|
+
const data$W = {
|
|
368
368
|
name: 'John Doe',
|
|
369
369
|
vegetarian: false,
|
|
370
370
|
birthDate: '1985-06-02',
|
|
@@ -377,18 +377,18 @@ registerExamples([
|
|
|
377
377
|
{
|
|
378
378
|
name: 'person',
|
|
379
379
|
label: 'Person',
|
|
380
|
-
data: data$
|
|
381
|
-
schema: schema$
|
|
382
|
-
uischema: uischema$
|
|
380
|
+
data: data$W,
|
|
381
|
+
schema: schema$U,
|
|
382
|
+
uischema: uischema$U,
|
|
383
383
|
},
|
|
384
384
|
]);
|
|
385
385
|
|
|
386
386
|
var person = /*#__PURE__*/Object.freeze({
|
|
387
387
|
__proto__: null,
|
|
388
388
|
personCoreSchema: personCoreSchema,
|
|
389
|
-
schema: schema$
|
|
390
|
-
uischema: uischema$
|
|
391
|
-
data: data$
|
|
389
|
+
schema: schema$U,
|
|
390
|
+
uischema: uischema$U,
|
|
391
|
+
data: data$W
|
|
392
392
|
});
|
|
393
393
|
|
|
394
394
|
const additionalErrors = [];
|
|
@@ -414,9 +414,9 @@ registerExamples([
|
|
|
414
414
|
{
|
|
415
415
|
name: 'additional-errors',
|
|
416
416
|
label: 'Additional errors',
|
|
417
|
-
data: data$
|
|
418
|
-
schema: schema$
|
|
419
|
-
uischema: uischema$
|
|
417
|
+
data: data$W,
|
|
418
|
+
schema: schema$U,
|
|
419
|
+
uischema: uischema$U,
|
|
420
420
|
actions: actions$7,
|
|
421
421
|
},
|
|
422
422
|
]);
|
|
@@ -427,7 +427,7 @@ var additionalErrors$1 = /*#__PURE__*/Object.freeze({
|
|
|
427
427
|
actions: actions$7
|
|
428
428
|
});
|
|
429
429
|
|
|
430
|
-
const schema$
|
|
430
|
+
const schema$T = {
|
|
431
431
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
432
432
|
type: 'object',
|
|
433
433
|
properties: {
|
|
@@ -501,11 +501,11 @@ const schema$S = {
|
|
|
501
501
|
},
|
|
502
502
|
maxProperties: 15,
|
|
503
503
|
};
|
|
504
|
-
const uischema$
|
|
504
|
+
const uischema$T = {
|
|
505
505
|
type: 'Control',
|
|
506
506
|
scope: '#/',
|
|
507
507
|
};
|
|
508
|
-
const data$
|
|
508
|
+
const data$V = {
|
|
509
509
|
propertiesString: 'data',
|
|
510
510
|
string: 'string value',
|
|
511
511
|
number: 10.2,
|
|
@@ -524,19 +524,19 @@ registerExamples([
|
|
|
524
524
|
{
|
|
525
525
|
name: 'additional-properties',
|
|
526
526
|
label: 'Additional Properties',
|
|
527
|
-
data: data$
|
|
528
|
-
schema: schema$
|
|
529
|
-
uischema: uischema$
|
|
527
|
+
data: data$V,
|
|
528
|
+
schema: schema$T,
|
|
529
|
+
uischema: uischema$T,
|
|
530
530
|
},
|
|
531
531
|
]);
|
|
532
532
|
|
|
533
533
|
var additionalProperties = /*#__PURE__*/Object.freeze({
|
|
534
534
|
__proto__: null,
|
|
535
|
-
schema: schema$
|
|
536
|
-
uischema: uischema$
|
|
535
|
+
schema: schema$T,
|
|
536
|
+
uischema: uischema$T
|
|
537
537
|
});
|
|
538
538
|
|
|
539
|
-
const schema$
|
|
539
|
+
const schema$S = {
|
|
540
540
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
541
541
|
definitions: {
|
|
542
542
|
address: {
|
|
@@ -569,7 +569,7 @@ const schema$R = {
|
|
|
569
569
|
},
|
|
570
570
|
},
|
|
571
571
|
};
|
|
572
|
-
const uischema$
|
|
572
|
+
const uischema$S = {
|
|
573
573
|
type: 'VerticalLayout',
|
|
574
574
|
elements: [
|
|
575
575
|
{
|
|
@@ -583,7 +583,7 @@ const uischema$R = {
|
|
|
583
583
|
},
|
|
584
584
|
],
|
|
585
585
|
};
|
|
586
|
-
const data$
|
|
586
|
+
const data$U = {
|
|
587
587
|
billing_address: {
|
|
588
588
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
589
589
|
city: 'Washington',
|
|
@@ -594,19 +594,19 @@ registerExamples([
|
|
|
594
594
|
{
|
|
595
595
|
name: 'allOf',
|
|
596
596
|
label: 'allOf',
|
|
597
|
-
data: data$
|
|
598
|
-
schema: schema$
|
|
599
|
-
uischema: uischema$
|
|
597
|
+
data: data$U,
|
|
598
|
+
schema: schema$S,
|
|
599
|
+
uischema: uischema$S,
|
|
600
600
|
},
|
|
601
601
|
]);
|
|
602
602
|
|
|
603
603
|
var allOf = /*#__PURE__*/Object.freeze({
|
|
604
604
|
__proto__: null,
|
|
605
|
-
schema: schema$
|
|
606
|
-
uischema: uischema$
|
|
605
|
+
schema: schema$S,
|
|
606
|
+
uischema: uischema$S
|
|
607
607
|
});
|
|
608
608
|
|
|
609
|
-
const schema$
|
|
609
|
+
const schema$R = {
|
|
610
610
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
611
611
|
definitions: {
|
|
612
612
|
address: {
|
|
@@ -660,7 +660,7 @@ const schema$Q = {
|
|
|
660
660
|
},
|
|
661
661
|
},
|
|
662
662
|
};
|
|
663
|
-
const uischema$
|
|
663
|
+
const uischema$R = {
|
|
664
664
|
type: 'VerticalLayout',
|
|
665
665
|
elements: [
|
|
666
666
|
{
|
|
@@ -679,7 +679,7 @@ const uischema$Q = {
|
|
|
679
679
|
},
|
|
680
680
|
],
|
|
681
681
|
};
|
|
682
|
-
const data$
|
|
682
|
+
const data$T = {
|
|
683
683
|
addressOrUser: {
|
|
684
684
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
685
685
|
city: 'Washington',
|
|
@@ -698,9 +698,9 @@ registerExamples([
|
|
|
698
698
|
{
|
|
699
699
|
name: 'anyOf',
|
|
700
700
|
label: 'anyOf',
|
|
701
|
-
data: data$
|
|
702
|
-
schema: schema$
|
|
703
|
-
uischema: uischema$
|
|
701
|
+
data: data$T,
|
|
702
|
+
schema: schema$R,
|
|
703
|
+
uischema: uischema$R,
|
|
704
704
|
},
|
|
705
705
|
{
|
|
706
706
|
name: 'anyOf_simple',
|
|
@@ -713,11 +713,11 @@ registerExamples([
|
|
|
713
713
|
|
|
714
714
|
var anyOf = /*#__PURE__*/Object.freeze({
|
|
715
715
|
__proto__: null,
|
|
716
|
-
schema: schema$
|
|
717
|
-
uischema: uischema$
|
|
716
|
+
schema: schema$R,
|
|
717
|
+
uischema: uischema$R
|
|
718
718
|
});
|
|
719
719
|
|
|
720
|
-
const schema$
|
|
720
|
+
const schema$Q = {
|
|
721
721
|
$defs: {
|
|
722
722
|
Base: {
|
|
723
723
|
type: 'object',
|
|
@@ -748,7 +748,7 @@ const schema$P = {
|
|
|
748
748
|
},
|
|
749
749
|
},
|
|
750
750
|
};
|
|
751
|
-
const uischema$
|
|
751
|
+
const uischema$Q = {
|
|
752
752
|
type: 'VerticalLayout',
|
|
753
753
|
elements: [
|
|
754
754
|
{
|
|
@@ -773,24 +773,24 @@ const uischema$P = {
|
|
|
773
773
|
},
|
|
774
774
|
],
|
|
775
775
|
};
|
|
776
|
-
const data$
|
|
776
|
+
const data$S = {};
|
|
777
777
|
registerExamples([
|
|
778
778
|
{
|
|
779
779
|
name: 'anyOf-oneOf-allOf-resolve',
|
|
780
780
|
label: 'AnyOf OneOf AllOf Resolve',
|
|
781
|
-
data: data$
|
|
782
|
-
schema: schema$
|
|
783
|
-
uischema: uischema$
|
|
781
|
+
data: data$S,
|
|
782
|
+
schema: schema$Q,
|
|
783
|
+
uischema: uischema$Q,
|
|
784
784
|
},
|
|
785
785
|
]);
|
|
786
786
|
|
|
787
787
|
var anyOfOneOfAllOfResolve = /*#__PURE__*/Object.freeze({
|
|
788
788
|
__proto__: null,
|
|
789
|
-
schema: schema$
|
|
790
|
-
uischema: uischema$
|
|
789
|
+
schema: schema$Q,
|
|
790
|
+
uischema: uischema$Q
|
|
791
791
|
});
|
|
792
792
|
|
|
793
|
-
const schema$
|
|
793
|
+
const schema$P = {
|
|
794
794
|
type: 'object',
|
|
795
795
|
properties: {
|
|
796
796
|
comments: {
|
|
@@ -820,7 +820,7 @@ const schema$O = {
|
|
|
820
820
|
foo: { type: 'string' },
|
|
821
821
|
},
|
|
822
822
|
};
|
|
823
|
-
const uischema$
|
|
823
|
+
const uischema$P = {
|
|
824
824
|
type: 'VerticalLayout',
|
|
825
825
|
elements: [
|
|
826
826
|
{
|
|
@@ -852,7 +852,7 @@ const uischemaWithSorting$1 = {
|
|
|
852
852
|
},
|
|
853
853
|
],
|
|
854
854
|
};
|
|
855
|
-
const data$
|
|
855
|
+
const data$R = {
|
|
856
856
|
comments: [
|
|
857
857
|
{
|
|
858
858
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -880,7 +880,7 @@ const actions$6 = [
|
|
|
880
880
|
apply: (props) => {
|
|
881
881
|
return {
|
|
882
882
|
...props,
|
|
883
|
-
uischema: uischema$
|
|
883
|
+
uischema: uischema$P,
|
|
884
884
|
};
|
|
885
885
|
},
|
|
886
886
|
},
|
|
@@ -895,9 +895,9 @@ registerExamples([
|
|
|
895
895
|
{
|
|
896
896
|
name: 'array',
|
|
897
897
|
label: 'Array',
|
|
898
|
-
data: data$
|
|
899
|
-
schema: schema$
|
|
900
|
-
uischema: uischema$
|
|
898
|
+
data: data$R,
|
|
899
|
+
schema: schema$P,
|
|
900
|
+
uischema: uischema$P,
|
|
901
901
|
config: {
|
|
902
902
|
withSort: uischemaWithSorting$1,
|
|
903
903
|
},
|
|
@@ -907,13 +907,13 @@ registerExamples([
|
|
|
907
907
|
|
|
908
908
|
var arrays = /*#__PURE__*/Object.freeze({
|
|
909
909
|
__proto__: null,
|
|
910
|
-
schema: schema$
|
|
911
|
-
uischema: uischema$
|
|
910
|
+
schema: schema$P,
|
|
911
|
+
uischema: uischema$P,
|
|
912
912
|
uischemaWithSorting: uischemaWithSorting$1,
|
|
913
|
-
data: data$
|
|
913
|
+
data: data$R
|
|
914
914
|
});
|
|
915
915
|
|
|
916
|
-
const schema$
|
|
916
|
+
const schema$O = {
|
|
917
917
|
type: 'object',
|
|
918
918
|
properties: {
|
|
919
919
|
comments: {
|
|
@@ -933,7 +933,7 @@ const schema$N = {
|
|
|
933
933
|
},
|
|
934
934
|
},
|
|
935
935
|
};
|
|
936
|
-
const uischema$
|
|
936
|
+
const uischema$O = {
|
|
937
937
|
type: 'VerticalLayout',
|
|
938
938
|
elements: [
|
|
939
939
|
{
|
|
@@ -958,7 +958,7 @@ const uischema$N = {
|
|
|
958
958
|
},
|
|
959
959
|
],
|
|
960
960
|
};
|
|
961
|
-
const data$
|
|
961
|
+
const data$Q = {
|
|
962
962
|
comments: [
|
|
963
963
|
{
|
|
964
964
|
message1: 'This is an example message',
|
|
@@ -974,20 +974,20 @@ registerExamples([
|
|
|
974
974
|
{
|
|
975
975
|
name: 'array-with-custom-element-label',
|
|
976
976
|
label: 'Array with custom element label',
|
|
977
|
-
data: data$
|
|
978
|
-
schema: schema$
|
|
979
|
-
uischema: uischema$
|
|
977
|
+
data: data$Q,
|
|
978
|
+
schema: schema$O,
|
|
979
|
+
uischema: uischema$O,
|
|
980
980
|
},
|
|
981
981
|
]);
|
|
982
982
|
|
|
983
983
|
var arraysWithCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
984
984
|
__proto__: null,
|
|
985
|
-
schema: schema$
|
|
986
|
-
uischema: uischema$
|
|
987
|
-
data: data$
|
|
985
|
+
schema: schema$O,
|
|
986
|
+
uischema: uischema$O,
|
|
987
|
+
data: data$Q
|
|
988
988
|
});
|
|
989
989
|
|
|
990
|
-
const schema$
|
|
990
|
+
const schema$N = {
|
|
991
991
|
definitions: {
|
|
992
992
|
itemsType: {
|
|
993
993
|
type: 'object',
|
|
@@ -1059,7 +1059,7 @@ const schema$M = {
|
|
|
1059
1059
|
},
|
|
1060
1060
|
},
|
|
1061
1061
|
};
|
|
1062
|
-
const uischema$
|
|
1062
|
+
const uischema$N = {
|
|
1063
1063
|
type: 'VerticalLayout',
|
|
1064
1064
|
elements: [
|
|
1065
1065
|
{
|
|
@@ -1076,25 +1076,25 @@ const uischema$M = {
|
|
|
1076
1076
|
},
|
|
1077
1077
|
],
|
|
1078
1078
|
};
|
|
1079
|
-
const data$
|
|
1079
|
+
const data$P = {};
|
|
1080
1080
|
registerExamples([
|
|
1081
1081
|
{
|
|
1082
1082
|
name: 'array-with-defaults',
|
|
1083
1083
|
label: 'Array with defaults',
|
|
1084
|
-
data: data$
|
|
1085
|
-
schema: schema$
|
|
1086
|
-
uischema: uischema$
|
|
1084
|
+
data: data$P,
|
|
1085
|
+
schema: schema$N,
|
|
1086
|
+
uischema: uischema$N,
|
|
1087
1087
|
},
|
|
1088
1088
|
]);
|
|
1089
1089
|
|
|
1090
1090
|
var arraysWithDefaults = /*#__PURE__*/Object.freeze({
|
|
1091
1091
|
__proto__: null,
|
|
1092
|
-
schema: schema$
|
|
1093
|
-
uischema: uischema$
|
|
1094
|
-
data: data$
|
|
1092
|
+
schema: schema$N,
|
|
1093
|
+
uischema: uischema$N,
|
|
1094
|
+
data: data$P
|
|
1095
1095
|
});
|
|
1096
1096
|
|
|
1097
|
-
const schema$
|
|
1097
|
+
const schema$M = {
|
|
1098
1098
|
type: 'object',
|
|
1099
1099
|
properties: {
|
|
1100
1100
|
...personCoreSchema.properties,
|
|
@@ -1121,7 +1121,7 @@ const schema$L = {
|
|
|
1121
1121
|
},
|
|
1122
1122
|
required: ['occupation', 'nationality'],
|
|
1123
1123
|
};
|
|
1124
|
-
const uischema$
|
|
1124
|
+
const uischema$M = {
|
|
1125
1125
|
type: 'VerticalLayout',
|
|
1126
1126
|
elements: [
|
|
1127
1127
|
{
|
|
@@ -1147,7 +1147,7 @@ const uischema$L = {
|
|
|
1147
1147
|
},
|
|
1148
1148
|
],
|
|
1149
1149
|
};
|
|
1150
|
-
const data$
|
|
1150
|
+
const data$O = {
|
|
1151
1151
|
comments: [
|
|
1152
1152
|
{
|
|
1153
1153
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1171,21 +1171,21 @@ registerExamples([
|
|
|
1171
1171
|
{
|
|
1172
1172
|
name: 'array-with-detail',
|
|
1173
1173
|
label: 'Array with detail',
|
|
1174
|
-
data: data$
|
|
1175
|
-
schema: schema$
|
|
1176
|
-
uischema: uischema$
|
|
1174
|
+
data: data$O,
|
|
1175
|
+
schema: schema$M,
|
|
1176
|
+
uischema: uischema$M,
|
|
1177
1177
|
actions: actions$5,
|
|
1178
1178
|
},
|
|
1179
1179
|
]);
|
|
1180
1180
|
|
|
1181
1181
|
var arraysWithDetail = /*#__PURE__*/Object.freeze({
|
|
1182
1182
|
__proto__: null,
|
|
1183
|
-
schema: schema$
|
|
1184
|
-
uischema: uischema$
|
|
1185
|
-
data: data$
|
|
1183
|
+
schema: schema$M,
|
|
1184
|
+
uischema: uischema$M,
|
|
1185
|
+
data: data$O
|
|
1186
1186
|
});
|
|
1187
1187
|
|
|
1188
|
-
const schema$
|
|
1188
|
+
const schema$L = {
|
|
1189
1189
|
type: 'object',
|
|
1190
1190
|
properties: {
|
|
1191
1191
|
...personCoreSchema.properties,
|
|
@@ -1211,7 +1211,7 @@ const schema$K = {
|
|
|
1211
1211
|
},
|
|
1212
1212
|
required: ['occupation', 'nationality'],
|
|
1213
1213
|
};
|
|
1214
|
-
const uischema$
|
|
1214
|
+
const uischema$L = {
|
|
1215
1215
|
type: 'VerticalLayout',
|
|
1216
1216
|
elements: [
|
|
1217
1217
|
{
|
|
@@ -1259,7 +1259,7 @@ const uischema$K = {
|
|
|
1259
1259
|
},
|
|
1260
1260
|
],
|
|
1261
1261
|
};
|
|
1262
|
-
const data$
|
|
1262
|
+
const data$N = {
|
|
1263
1263
|
occupation: 'developer',
|
|
1264
1264
|
comments: [
|
|
1265
1265
|
{
|
|
@@ -1276,20 +1276,20 @@ registerExamples([
|
|
|
1276
1276
|
{
|
|
1277
1277
|
name: 'array-with-detail-and-rule',
|
|
1278
1278
|
label: 'Array with detail and rule',
|
|
1279
|
-
data: data$
|
|
1280
|
-
schema: schema$
|
|
1281
|
-
uischema: uischema$
|
|
1279
|
+
data: data$N,
|
|
1280
|
+
schema: schema$L,
|
|
1281
|
+
uischema: uischema$L,
|
|
1282
1282
|
},
|
|
1283
1283
|
]);
|
|
1284
1284
|
|
|
1285
1285
|
var arraysWithDetailAndRule = /*#__PURE__*/Object.freeze({
|
|
1286
1286
|
__proto__: null,
|
|
1287
|
-
schema: schema$
|
|
1288
|
-
uischema: uischema$
|
|
1289
|
-
data: data$
|
|
1287
|
+
schema: schema$L,
|
|
1288
|
+
uischema: uischema$L,
|
|
1289
|
+
data: data$N
|
|
1290
1290
|
});
|
|
1291
1291
|
|
|
1292
|
-
const schema$
|
|
1292
|
+
const schema$K = {
|
|
1293
1293
|
type: 'object',
|
|
1294
1294
|
properties: {
|
|
1295
1295
|
comments: {
|
|
@@ -1317,7 +1317,7 @@ const schema$J = {
|
|
|
1317
1317
|
foo: { type: 'string' },
|
|
1318
1318
|
},
|
|
1319
1319
|
};
|
|
1320
|
-
const uischema$
|
|
1320
|
+
const uischema$K = {
|
|
1321
1321
|
type: 'VerticalLayout',
|
|
1322
1322
|
elements: [
|
|
1323
1323
|
{
|
|
@@ -1351,7 +1351,7 @@ const uischemaWithSorting = {
|
|
|
1351
1351
|
},
|
|
1352
1352
|
],
|
|
1353
1353
|
};
|
|
1354
|
-
const data$
|
|
1354
|
+
const data$M = {
|
|
1355
1355
|
comments: [
|
|
1356
1356
|
{
|
|
1357
1357
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1378,7 +1378,7 @@ const actions$4 = [
|
|
|
1378
1378
|
apply: (props) => {
|
|
1379
1379
|
return {
|
|
1380
1380
|
...props,
|
|
1381
|
-
uischema: uischema$
|
|
1381
|
+
uischema: uischema$K,
|
|
1382
1382
|
};
|
|
1383
1383
|
},
|
|
1384
1384
|
},
|
|
@@ -1387,9 +1387,9 @@ registerExamples([
|
|
|
1387
1387
|
{
|
|
1388
1388
|
name: 'array-with-sorting',
|
|
1389
1389
|
label: 'Array with sorting',
|
|
1390
|
-
data: data$
|
|
1391
|
-
schema: schema$
|
|
1392
|
-
uischema: uischema$
|
|
1390
|
+
data: data$M,
|
|
1391
|
+
schema: schema$K,
|
|
1392
|
+
uischema: uischema$K,
|
|
1393
1393
|
config: {
|
|
1394
1394
|
withSort: uischemaWithSorting,
|
|
1395
1395
|
},
|
|
@@ -1399,13 +1399,13 @@ registerExamples([
|
|
|
1399
1399
|
|
|
1400
1400
|
var arraysWithSorting = /*#__PURE__*/Object.freeze({
|
|
1401
1401
|
__proto__: null,
|
|
1402
|
-
schema: schema$
|
|
1403
|
-
uischema: uischema$
|
|
1402
|
+
schema: schema$K,
|
|
1403
|
+
uischema: uischema$K,
|
|
1404
1404
|
uischemaWithSorting: uischemaWithSorting,
|
|
1405
|
-
data: data$
|
|
1405
|
+
data: data$M
|
|
1406
1406
|
});
|
|
1407
1407
|
|
|
1408
|
-
const data$
|
|
1408
|
+
const data$L = {
|
|
1409
1409
|
article: {
|
|
1410
1410
|
title: 'title',
|
|
1411
1411
|
comments: [
|
|
@@ -1430,7 +1430,7 @@ const data$K = {
|
|
|
1430
1430
|
],
|
|
1431
1431
|
},
|
|
1432
1432
|
};
|
|
1433
|
-
const schema$
|
|
1433
|
+
const schema$J = {
|
|
1434
1434
|
type: 'object',
|
|
1435
1435
|
properties: {
|
|
1436
1436
|
article: {
|
|
@@ -1516,7 +1516,7 @@ const detail = {
|
|
|
1516
1516
|
},
|
|
1517
1517
|
],
|
|
1518
1518
|
};
|
|
1519
|
-
const uischema$
|
|
1519
|
+
const uischema$J = {
|
|
1520
1520
|
type: 'VerticalLayout',
|
|
1521
1521
|
elements: [
|
|
1522
1522
|
{
|
|
@@ -1640,9 +1640,9 @@ registerExamples([
|
|
|
1640
1640
|
{
|
|
1641
1641
|
name: 'array-with-translated-custom-element-label',
|
|
1642
1642
|
label: 'Array with translated custom element label',
|
|
1643
|
-
data: data$
|
|
1644
|
-
schema: schema$
|
|
1645
|
-
uischema: uischema$
|
|
1643
|
+
data: data$L,
|
|
1644
|
+
schema: schema$J,
|
|
1645
|
+
uischema: uischema$J,
|
|
1646
1646
|
i18n: {
|
|
1647
1647
|
translate: translate$4,
|
|
1648
1648
|
locale: 'en',
|
|
@@ -1652,12 +1652,12 @@ registerExamples([
|
|
|
1652
1652
|
|
|
1653
1653
|
var arraysWithTranslatedCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1654
1654
|
__proto__: null,
|
|
1655
|
-
data: data$
|
|
1656
|
-
uischema: uischema$
|
|
1655
|
+
data: data$L,
|
|
1656
|
+
uischema: uischema$J,
|
|
1657
1657
|
translate: translate$4
|
|
1658
1658
|
});
|
|
1659
1659
|
|
|
1660
|
-
const schema$
|
|
1660
|
+
const schema$I = {
|
|
1661
1661
|
type: 'object',
|
|
1662
1662
|
properties: {
|
|
1663
1663
|
comments: {
|
|
@@ -1682,7 +1682,7 @@ const schema$H = {
|
|
|
1682
1682
|
},
|
|
1683
1683
|
},
|
|
1684
1684
|
};
|
|
1685
|
-
const uischema$
|
|
1685
|
+
const uischema$I = {
|
|
1686
1686
|
type: 'VerticalLayout',
|
|
1687
1687
|
elements: [
|
|
1688
1688
|
{
|
|
@@ -1694,7 +1694,7 @@ const uischema$H = {
|
|
|
1694
1694
|
},
|
|
1695
1695
|
],
|
|
1696
1696
|
};
|
|
1697
|
-
const data$
|
|
1697
|
+
const data$K = {
|
|
1698
1698
|
comments: [
|
|
1699
1699
|
{
|
|
1700
1700
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1722,9 +1722,9 @@ registerExamples([
|
|
|
1722
1722
|
{
|
|
1723
1723
|
name: 'array-i18n',
|
|
1724
1724
|
label: 'Array (i18n)',
|
|
1725
|
-
data: data$
|
|
1726
|
-
schema: schema$
|
|
1727
|
-
uischema: uischema$
|
|
1725
|
+
data: data$K,
|
|
1726
|
+
schema: schema$I,
|
|
1727
|
+
uischema: uischema$I,
|
|
1728
1728
|
i18n: {
|
|
1729
1729
|
translate: translate$3,
|
|
1730
1730
|
locale: 'en',
|
|
@@ -1734,14 +1734,14 @@ registerExamples([
|
|
|
1734
1734
|
|
|
1735
1735
|
var arraysI18n = /*#__PURE__*/Object.freeze({
|
|
1736
1736
|
__proto__: null,
|
|
1737
|
-
schema: schema$
|
|
1738
|
-
uischema: uischema$
|
|
1739
|
-
data: data$
|
|
1737
|
+
schema: schema$I,
|
|
1738
|
+
uischema: uischema$I,
|
|
1739
|
+
data: data$K,
|
|
1740
1740
|
translations: translations$3,
|
|
1741
1741
|
translate: translate$3
|
|
1742
1742
|
});
|
|
1743
1743
|
|
|
1744
|
-
const schema$
|
|
1744
|
+
const schema$H = {
|
|
1745
1745
|
type: 'object',
|
|
1746
1746
|
properties: {
|
|
1747
1747
|
firstName: {
|
|
@@ -1804,7 +1804,7 @@ const schema$G = {
|
|
|
1804
1804
|
},
|
|
1805
1805
|
},
|
|
1806
1806
|
};
|
|
1807
|
-
const uischema$
|
|
1807
|
+
const uischema$H = {
|
|
1808
1808
|
type: 'Categorization',
|
|
1809
1809
|
elements: [
|
|
1810
1810
|
{
|
|
@@ -1920,7 +1920,7 @@ const uischema$G = {
|
|
|
1920
1920
|
},
|
|
1921
1921
|
],
|
|
1922
1922
|
};
|
|
1923
|
-
const data$
|
|
1923
|
+
const data$J = {
|
|
1924
1924
|
provideAddress: true,
|
|
1925
1925
|
vegetarian: false,
|
|
1926
1926
|
};
|
|
@@ -2008,15 +2008,15 @@ registerExamples([
|
|
|
2008
2008
|
{
|
|
2009
2009
|
name: 'categorization',
|
|
2010
2010
|
label: 'Categorization',
|
|
2011
|
-
data: data$
|
|
2012
|
-
schema: schema$
|
|
2013
|
-
uischema: uischema$
|
|
2011
|
+
data: data$J,
|
|
2012
|
+
schema: schema$H,
|
|
2013
|
+
uischema: uischema$H,
|
|
2014
2014
|
i18n: { locale: 'en', translate: translate$2 },
|
|
2015
2015
|
},
|
|
2016
2016
|
{
|
|
2017
2017
|
name: 'categorization_1713',
|
|
2018
2018
|
label: 'Categorization - Issue 1713',
|
|
2019
|
-
data: data$
|
|
2019
|
+
data: data$J,
|
|
2020
2020
|
schema: schema_1713,
|
|
2021
2021
|
uischema: uischema_1713,
|
|
2022
2022
|
},
|
|
@@ -2024,65 +2024,65 @@ registerExamples([
|
|
|
2024
2024
|
|
|
2025
2025
|
var categorization = /*#__PURE__*/Object.freeze({
|
|
2026
2026
|
__proto__: null,
|
|
2027
|
-
schema: schema$
|
|
2028
|
-
uischema: uischema$
|
|
2029
|
-
data: data$
|
|
2027
|
+
schema: schema$H,
|
|
2028
|
+
uischema: uischema$H,
|
|
2029
|
+
data: data$J,
|
|
2030
2030
|
translations: translations$2,
|
|
2031
2031
|
translate: translate$2
|
|
2032
2032
|
});
|
|
2033
2033
|
|
|
2034
|
-
const schema$
|
|
2035
|
-
const uischema$
|
|
2036
|
-
...uischema$
|
|
2034
|
+
const schema$G = schema$H;
|
|
2035
|
+
const uischema$G = {
|
|
2036
|
+
...uischema$H,
|
|
2037
2037
|
options: {
|
|
2038
2038
|
variant: 'stepper',
|
|
2039
2039
|
},
|
|
2040
2040
|
};
|
|
2041
|
-
const data$
|
|
2041
|
+
const data$I = data$J;
|
|
2042
2042
|
registerExamples([
|
|
2043
2043
|
{
|
|
2044
2044
|
name: 'categorizationstepper',
|
|
2045
2045
|
label: 'Categorization (Stepper)',
|
|
2046
|
-
data: data$
|
|
2047
|
-
schema: schema$
|
|
2048
|
-
uischema: uischema$
|
|
2046
|
+
data: data$I,
|
|
2047
|
+
schema: schema$G,
|
|
2048
|
+
uischema: uischema$G,
|
|
2049
2049
|
},
|
|
2050
2050
|
]);
|
|
2051
2051
|
|
|
2052
2052
|
var categorizationStepper = /*#__PURE__*/Object.freeze({
|
|
2053
2053
|
__proto__: null,
|
|
2054
|
-
schema: schema$
|
|
2055
|
-
uischema: uischema$
|
|
2056
|
-
data: data$
|
|
2054
|
+
schema: schema$G,
|
|
2055
|
+
uischema: uischema$G,
|
|
2056
|
+
data: data$I
|
|
2057
2057
|
});
|
|
2058
2058
|
|
|
2059
|
-
const schema$
|
|
2060
|
-
const uischema$
|
|
2061
|
-
...uischema$
|
|
2059
|
+
const schema$F = schema$H;
|
|
2060
|
+
const uischema$F = {
|
|
2061
|
+
...uischema$H,
|
|
2062
2062
|
options: {
|
|
2063
2063
|
variant: 'stepper',
|
|
2064
2064
|
showNavButtons: true,
|
|
2065
2065
|
},
|
|
2066
2066
|
};
|
|
2067
|
-
const data$
|
|
2067
|
+
const data$H = data$J;
|
|
2068
2068
|
registerExamples([
|
|
2069
2069
|
{
|
|
2070
2070
|
name: 'categorization-stepper-nav-buttons',
|
|
2071
2071
|
label: 'Categorization (Stepper - Nav Buttons)',
|
|
2072
|
-
data: data$
|
|
2073
|
-
schema: schema$
|
|
2074
|
-
uischema: uischema$
|
|
2072
|
+
data: data$H,
|
|
2073
|
+
schema: schema$F,
|
|
2074
|
+
uischema: uischema$F,
|
|
2075
2075
|
},
|
|
2076
2076
|
]);
|
|
2077
2077
|
|
|
2078
2078
|
var categorizationStepperNavButtons = /*#__PURE__*/Object.freeze({
|
|
2079
2079
|
__proto__: null,
|
|
2080
|
-
schema: schema$
|
|
2081
|
-
uischema: uischema$
|
|
2082
|
-
data: data$
|
|
2080
|
+
schema: schema$F,
|
|
2081
|
+
uischema: uischema$F,
|
|
2082
|
+
data: data$H
|
|
2083
2083
|
});
|
|
2084
2084
|
|
|
2085
|
-
const schema$
|
|
2085
|
+
const schema$E = {
|
|
2086
2086
|
type: 'object',
|
|
2087
2087
|
properties: {
|
|
2088
2088
|
name: {
|
|
@@ -2117,7 +2117,7 @@ const schema$D = {
|
|
|
2117
2117
|
},
|
|
2118
2118
|
],
|
|
2119
2119
|
};
|
|
2120
|
-
const uischema$
|
|
2120
|
+
const uischema$E = {
|
|
2121
2121
|
type: 'HorizontalLayout',
|
|
2122
2122
|
elements: [
|
|
2123
2123
|
{
|
|
@@ -2161,24 +2161,24 @@ const uischema$D = {
|
|
|
2161
2161
|
},
|
|
2162
2162
|
],
|
|
2163
2163
|
};
|
|
2164
|
-
const data$
|
|
2164
|
+
const data$G = {};
|
|
2165
2165
|
registerExamples([
|
|
2166
2166
|
{
|
|
2167
2167
|
name: 'conditional-schema-compositions',
|
|
2168
2168
|
label: 'Conditional Schema Compositions',
|
|
2169
|
-
data: data$
|
|
2170
|
-
schema: schema$
|
|
2171
|
-
uischema: uischema$
|
|
2169
|
+
data: data$G,
|
|
2170
|
+
schema: schema$E,
|
|
2171
|
+
uischema: uischema$E,
|
|
2172
2172
|
},
|
|
2173
2173
|
]);
|
|
2174
2174
|
|
|
2175
2175
|
var conditionalSchemaCompositions = /*#__PURE__*/Object.freeze({
|
|
2176
2176
|
__proto__: null,
|
|
2177
|
-
schema: schema$
|
|
2178
|
-
uischema: uischema$
|
|
2177
|
+
schema: schema$E,
|
|
2178
|
+
uischema: uischema$E
|
|
2179
2179
|
});
|
|
2180
2180
|
|
|
2181
|
-
const schema$
|
|
2181
|
+
const schema$D = {
|
|
2182
2182
|
type: 'object',
|
|
2183
2183
|
properties: {
|
|
2184
2184
|
postalCode: {
|
|
@@ -2193,7 +2193,7 @@ const schema$C = {
|
|
|
2193
2193
|
},
|
|
2194
2194
|
required: ['postalCode'],
|
|
2195
2195
|
};
|
|
2196
|
-
const uischema$
|
|
2196
|
+
const uischema$D = {
|
|
2197
2197
|
type: 'VerticalLayout',
|
|
2198
2198
|
elements: [
|
|
2199
2199
|
{
|
|
@@ -2213,7 +2213,7 @@ const uischema$C = {
|
|
|
2213
2213
|
},
|
|
2214
2214
|
],
|
|
2215
2215
|
};
|
|
2216
|
-
const data$
|
|
2216
|
+
const data$F = {
|
|
2217
2217
|
postalCode: '12345',
|
|
2218
2218
|
};
|
|
2219
2219
|
const config = {
|
|
@@ -2226,28 +2226,28 @@ registerExamples([
|
|
|
2226
2226
|
{
|
|
2227
2227
|
name: 'configDefault',
|
|
2228
2228
|
label: 'Configuration (Default)',
|
|
2229
|
-
data: data$
|
|
2230
|
-
schema: schema$
|
|
2231
|
-
uischema: uischema$
|
|
2229
|
+
data: data$F,
|
|
2230
|
+
schema: schema$D,
|
|
2231
|
+
uischema: uischema$D,
|
|
2232
2232
|
},
|
|
2233
2233
|
{
|
|
2234
2234
|
name: 'configCustom',
|
|
2235
2235
|
label: 'Configuration (Custom)',
|
|
2236
|
-
data: data$
|
|
2237
|
-
schema: schema$
|
|
2238
|
-
uischema: uischema$
|
|
2236
|
+
data: data$F,
|
|
2237
|
+
schema: schema$D,
|
|
2238
|
+
uischema: uischema$D,
|
|
2239
2239
|
config,
|
|
2240
2240
|
},
|
|
2241
2241
|
]);
|
|
2242
2242
|
|
|
2243
2243
|
var config$1 = /*#__PURE__*/Object.freeze({
|
|
2244
2244
|
__proto__: null,
|
|
2245
|
-
schema: schema$
|
|
2246
|
-
uischema: uischema$
|
|
2247
|
-
data: data$
|
|
2245
|
+
schema: schema$D,
|
|
2246
|
+
uischema: uischema$D,
|
|
2247
|
+
data: data$F
|
|
2248
2248
|
});
|
|
2249
2249
|
|
|
2250
|
-
const schema$
|
|
2250
|
+
const schema$C = {
|
|
2251
2251
|
type: 'object',
|
|
2252
2252
|
properties: {
|
|
2253
2253
|
string: {
|
|
@@ -2281,7 +2281,7 @@ const schema$B = {
|
|
|
2281
2281
|
},
|
|
2282
2282
|
},
|
|
2283
2283
|
};
|
|
2284
|
-
const uischema$
|
|
2284
|
+
const uischema$C = {
|
|
2285
2285
|
type: 'VerticalLayout',
|
|
2286
2286
|
elements: [
|
|
2287
2287
|
{
|
|
@@ -2318,7 +2318,7 @@ const uischema$B = {
|
|
|
2318
2318
|
},
|
|
2319
2319
|
],
|
|
2320
2320
|
};
|
|
2321
|
-
const data$
|
|
2321
|
+
const data$E = {
|
|
2322
2322
|
string: 'This is a string',
|
|
2323
2323
|
boolean: true,
|
|
2324
2324
|
number: 50.5,
|
|
@@ -2431,7 +2431,7 @@ const extendedData = {
|
|
|
2431
2431
|
const combinedSchema = {
|
|
2432
2432
|
...extendedSchema,
|
|
2433
2433
|
properties: {
|
|
2434
|
-
...schema$
|
|
2434
|
+
...schema$C.properties,
|
|
2435
2435
|
...extendedSchema.properties,
|
|
2436
2436
|
},
|
|
2437
2437
|
};
|
|
@@ -2441,7 +2441,7 @@ const combinedUiSchema = {
|
|
|
2441
2441
|
{
|
|
2442
2442
|
type: 'Category',
|
|
2443
2443
|
label: 'Normal controls',
|
|
2444
|
-
elements: [uischema$
|
|
2444
|
+
elements: [uischema$C],
|
|
2445
2445
|
},
|
|
2446
2446
|
{
|
|
2447
2447
|
type: 'Category',
|
|
@@ -2451,7 +2451,7 @@ const combinedUiSchema = {
|
|
|
2451
2451
|
],
|
|
2452
2452
|
};
|
|
2453
2453
|
const combinedData = {
|
|
2454
|
-
...data$
|
|
2454
|
+
...data$E,
|
|
2455
2455
|
...extendedData,
|
|
2456
2456
|
};
|
|
2457
2457
|
registerExamples([
|
|
@@ -2466,15 +2466,15 @@ registerExamples([
|
|
|
2466
2466
|
|
|
2467
2467
|
var controlOptions = /*#__PURE__*/Object.freeze({
|
|
2468
2468
|
__proto__: null,
|
|
2469
|
-
schema: schema$
|
|
2470
|
-
uischema: uischema$
|
|
2471
|
-
data: data$
|
|
2469
|
+
schema: schema$C,
|
|
2470
|
+
uischema: uischema$C,
|
|
2471
|
+
data: data$E,
|
|
2472
2472
|
extendedSchema: extendedSchema,
|
|
2473
2473
|
extendedUischema: extendedUischema,
|
|
2474
2474
|
extendedData: extendedData
|
|
2475
2475
|
});
|
|
2476
2476
|
|
|
2477
|
-
const schema$
|
|
2477
|
+
const schema$B = {
|
|
2478
2478
|
type: 'object',
|
|
2479
2479
|
properties: {
|
|
2480
2480
|
schemaBased: {
|
|
@@ -2516,7 +2516,7 @@ const schema$A = {
|
|
|
2516
2516
|
},
|
|
2517
2517
|
},
|
|
2518
2518
|
};
|
|
2519
|
-
const uischema$
|
|
2519
|
+
const uischema$B = {
|
|
2520
2520
|
type: 'VerticalLayout',
|
|
2521
2521
|
elements: [
|
|
2522
2522
|
{
|
|
@@ -2575,7 +2575,7 @@ const uischema$A = {
|
|
|
2575
2575
|
},
|
|
2576
2576
|
],
|
|
2577
2577
|
};
|
|
2578
|
-
const data$
|
|
2578
|
+
const data$D = {
|
|
2579
2579
|
schemaBased: {
|
|
2580
2580
|
date: new Date().toISOString().substr(0, 10),
|
|
2581
2581
|
time: '13:37:00',
|
|
@@ -2591,20 +2591,20 @@ registerExamples([
|
|
|
2591
2591
|
{
|
|
2592
2592
|
name: 'dates',
|
|
2593
2593
|
label: 'Dates',
|
|
2594
|
-
data: data$
|
|
2595
|
-
schema: schema$
|
|
2596
|
-
uischema: uischema$
|
|
2594
|
+
data: data$D,
|
|
2595
|
+
schema: schema$B,
|
|
2596
|
+
uischema: uischema$B,
|
|
2597
2597
|
},
|
|
2598
2598
|
]);
|
|
2599
2599
|
|
|
2600
2600
|
var dates = /*#__PURE__*/Object.freeze({
|
|
2601
2601
|
__proto__: null,
|
|
2602
|
-
schema: schema$
|
|
2603
|
-
uischema: uischema$
|
|
2604
|
-
data: data$
|
|
2602
|
+
schema: schema$B,
|
|
2603
|
+
uischema: uischema$B,
|
|
2604
|
+
data: data$D
|
|
2605
2605
|
});
|
|
2606
2606
|
|
|
2607
|
-
const schema$
|
|
2607
|
+
const schema$A = {
|
|
2608
2608
|
type: 'object',
|
|
2609
2609
|
properties: {
|
|
2610
2610
|
name: {
|
|
@@ -2638,7 +2638,7 @@ const schema$z = {
|
|
|
2638
2638
|
},
|
|
2639
2639
|
required: ['name', 'name_noDefault'],
|
|
2640
2640
|
};
|
|
2641
|
-
const uischema$
|
|
2641
|
+
const uischema$A = {
|
|
2642
2642
|
type: 'VerticalLayout',
|
|
2643
2643
|
elements: [
|
|
2644
2644
|
{
|
|
@@ -2675,7 +2675,7 @@ const uischema$z = {
|
|
|
2675
2675
|
},
|
|
2676
2676
|
],
|
|
2677
2677
|
};
|
|
2678
|
-
const data$
|
|
2678
|
+
const data$C = {
|
|
2679
2679
|
name: 'Send email to Adrian',
|
|
2680
2680
|
name_noDefault: 'Send email to Adrian',
|
|
2681
2681
|
description: 'Confirm if you have passed the subject\nHereby ...',
|
|
@@ -2688,20 +2688,20 @@ registerExamples([
|
|
|
2688
2688
|
{
|
|
2689
2689
|
name: 'default',
|
|
2690
2690
|
label: 'Default',
|
|
2691
|
-
data: data$
|
|
2692
|
-
schema: schema$
|
|
2693
|
-
uischema: uischema$
|
|
2691
|
+
data: data$C,
|
|
2692
|
+
schema: schema$A,
|
|
2693
|
+
uischema: uischema$A,
|
|
2694
2694
|
},
|
|
2695
2695
|
]);
|
|
2696
2696
|
|
|
2697
2697
|
var _default = /*#__PURE__*/Object.freeze({
|
|
2698
2698
|
__proto__: null,
|
|
2699
|
-
schema: schema$
|
|
2700
|
-
uischema: uischema$
|
|
2701
|
-
data: data$
|
|
2699
|
+
schema: schema$A,
|
|
2700
|
+
uischema: uischema$A,
|
|
2701
|
+
data: data$C
|
|
2702
2702
|
});
|
|
2703
2703
|
|
|
2704
|
-
const schema$
|
|
2704
|
+
const schema$z = {
|
|
2705
2705
|
type: 'object',
|
|
2706
2706
|
properties: {
|
|
2707
2707
|
plainEnum: {
|
|
@@ -2745,7 +2745,7 @@ const schema$y = {
|
|
|
2745
2745
|
},
|
|
2746
2746
|
},
|
|
2747
2747
|
};
|
|
2748
|
-
const uischema$
|
|
2748
|
+
const uischema$z = {
|
|
2749
2749
|
type: 'VerticalLayout',
|
|
2750
2750
|
elements: [
|
|
2751
2751
|
{
|
|
@@ -2818,7 +2818,7 @@ const uischema$y = {
|
|
|
2818
2818
|
},
|
|
2819
2819
|
],
|
|
2820
2820
|
};
|
|
2821
|
-
const data$
|
|
2821
|
+
const data$B = {
|
|
2822
2822
|
plainEnumSet: 'foo',
|
|
2823
2823
|
enumWithError: 'bogus',
|
|
2824
2824
|
oneOfEnumSet: 'bar',
|
|
@@ -2828,20 +2828,20 @@ registerExamples([
|
|
|
2828
2828
|
{
|
|
2829
2829
|
name: 'enum',
|
|
2830
2830
|
label: 'Enums',
|
|
2831
|
-
data: data$
|
|
2832
|
-
schema: schema$
|
|
2833
|
-
uischema: uischema$
|
|
2831
|
+
data: data$B,
|
|
2832
|
+
schema: schema$z,
|
|
2833
|
+
uischema: uischema$z,
|
|
2834
2834
|
},
|
|
2835
2835
|
]);
|
|
2836
2836
|
|
|
2837
2837
|
var _enum = /*#__PURE__*/Object.freeze({
|
|
2838
2838
|
__proto__: null,
|
|
2839
|
-
schema: schema$
|
|
2840
|
-
uischema: uischema$
|
|
2841
|
-
data: data$
|
|
2839
|
+
schema: schema$z,
|
|
2840
|
+
uischema: uischema$z,
|
|
2841
|
+
data: data$B
|
|
2842
2842
|
});
|
|
2843
2843
|
|
|
2844
|
-
const schema$
|
|
2844
|
+
const schema$y = {
|
|
2845
2845
|
type: 'object',
|
|
2846
2846
|
properties: {
|
|
2847
2847
|
oneOfMultiEnum: {
|
|
@@ -2865,7 +2865,7 @@ const schema$x = {
|
|
|
2865
2865
|
},
|
|
2866
2866
|
},
|
|
2867
2867
|
};
|
|
2868
|
-
const uischema$
|
|
2868
|
+
const uischema$y = {
|
|
2869
2869
|
type: 'VerticalLayout',
|
|
2870
2870
|
elements: [
|
|
2871
2871
|
{
|
|
@@ -2878,25 +2878,25 @@ const uischema$x = {
|
|
|
2878
2878
|
},
|
|
2879
2879
|
],
|
|
2880
2880
|
};
|
|
2881
|
-
const data$
|
|
2881
|
+
const data$A = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
2882
2882
|
registerExamples([
|
|
2883
2883
|
{
|
|
2884
2884
|
name: 'multi-enum',
|
|
2885
2885
|
label: 'Enum - Multi selection',
|
|
2886
|
-
data: data$
|
|
2887
|
-
schema: schema$
|
|
2888
|
-
uischema: uischema$
|
|
2886
|
+
data: data$A,
|
|
2887
|
+
schema: schema$y,
|
|
2888
|
+
uischema: uischema$y,
|
|
2889
2889
|
},
|
|
2890
2890
|
]);
|
|
2891
2891
|
|
|
2892
2892
|
var enumMulti = /*#__PURE__*/Object.freeze({
|
|
2893
2893
|
__proto__: null,
|
|
2894
|
-
schema: schema$
|
|
2895
|
-
uischema: uischema$
|
|
2896
|
-
data: data$
|
|
2894
|
+
schema: schema$y,
|
|
2895
|
+
uischema: uischema$y,
|
|
2896
|
+
data: data$A
|
|
2897
2897
|
});
|
|
2898
2898
|
|
|
2899
|
-
const schema$
|
|
2899
|
+
const schema$x = {
|
|
2900
2900
|
type: 'object',
|
|
2901
2901
|
properties: {
|
|
2902
2902
|
oneOfMultiEnum: {
|
|
@@ -2922,7 +2922,7 @@ const schema$w = {
|
|
|
2922
2922
|
},
|
|
2923
2923
|
},
|
|
2924
2924
|
};
|
|
2925
|
-
const uischema$
|
|
2925
|
+
const uischema$x = {
|
|
2926
2926
|
type: 'VerticalLayout',
|
|
2927
2927
|
elements: [
|
|
2928
2928
|
{
|
|
@@ -2943,25 +2943,25 @@ const uischema$w = {
|
|
|
2943
2943
|
},
|
|
2944
2944
|
],
|
|
2945
2945
|
};
|
|
2946
|
-
const data$
|
|
2946
|
+
const data$z = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
2947
2947
|
registerExamples([
|
|
2948
2948
|
{
|
|
2949
2949
|
name: 'multi-enum-with-label-and-desc',
|
|
2950
2950
|
label: 'Enum - Multi selection with label and desc',
|
|
2951
|
-
data: data$
|
|
2952
|
-
schema: schema$
|
|
2953
|
-
uischema: uischema$
|
|
2951
|
+
data: data$z,
|
|
2952
|
+
schema: schema$x,
|
|
2953
|
+
uischema: uischema$x,
|
|
2954
2954
|
},
|
|
2955
2955
|
]);
|
|
2956
2956
|
|
|
2957
2957
|
var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
|
|
2958
2958
|
__proto__: null,
|
|
2959
|
-
schema: schema$
|
|
2960
|
-
uischema: uischema$
|
|
2961
|
-
data: data$
|
|
2959
|
+
schema: schema$x,
|
|
2960
|
+
uischema: uischema$x,
|
|
2961
|
+
data: data$z
|
|
2962
2962
|
});
|
|
2963
2963
|
|
|
2964
|
-
const schema$
|
|
2964
|
+
const schema$w = {
|
|
2965
2965
|
type: 'object',
|
|
2966
2966
|
properties: {
|
|
2967
2967
|
country: {
|
|
@@ -2982,7 +2982,7 @@ const schema$v = {
|
|
|
2982
2982
|
},
|
|
2983
2983
|
},
|
|
2984
2984
|
};
|
|
2985
|
-
const uischema$
|
|
2985
|
+
const uischema$w = {
|
|
2986
2986
|
type: 'VerticalLayout',
|
|
2987
2987
|
elements: [
|
|
2988
2988
|
{
|
|
@@ -3023,7 +3023,7 @@ const uischema$v = {
|
|
|
3023
3023
|
},
|
|
3024
3024
|
],
|
|
3025
3025
|
};
|
|
3026
|
-
const data$
|
|
3026
|
+
const data$y = {
|
|
3027
3027
|
country: 'DE',
|
|
3028
3028
|
};
|
|
3029
3029
|
const translations$1 = {
|
|
@@ -3050,9 +3050,9 @@ registerExamples([
|
|
|
3050
3050
|
{
|
|
3051
3051
|
name: 'enum-i18n',
|
|
3052
3052
|
label: 'Enums (i18n)',
|
|
3053
|
-
data: data$
|
|
3054
|
-
schema: schema$
|
|
3055
|
-
uischema: uischema$
|
|
3053
|
+
data: data$y,
|
|
3054
|
+
schema: schema$w,
|
|
3055
|
+
uischema: uischema$w,
|
|
3056
3056
|
i18n: {
|
|
3057
3057
|
translate: translate$1,
|
|
3058
3058
|
locale: 'en',
|
|
@@ -3062,14 +3062,14 @@ registerExamples([
|
|
|
3062
3062
|
|
|
3063
3063
|
var enumI18n = /*#__PURE__*/Object.freeze({
|
|
3064
3064
|
__proto__: null,
|
|
3065
|
-
schema: schema$
|
|
3066
|
-
uischema: uischema$
|
|
3067
|
-
data: data$
|
|
3065
|
+
schema: schema$w,
|
|
3066
|
+
uischema: uischema$w,
|
|
3067
|
+
data: data$y,
|
|
3068
3068
|
translations: translations$1,
|
|
3069
3069
|
translate: translate$1
|
|
3070
3070
|
});
|
|
3071
3071
|
|
|
3072
|
-
const schema$
|
|
3072
|
+
const schema$v = {
|
|
3073
3073
|
type: 'array',
|
|
3074
3074
|
items: {
|
|
3075
3075
|
type: 'object',
|
|
@@ -3089,7 +3089,7 @@ const schema$u = {
|
|
|
3089
3089
|
},
|
|
3090
3090
|
},
|
|
3091
3091
|
};
|
|
3092
|
-
const uischema$
|
|
3092
|
+
const uischema$v = {
|
|
3093
3093
|
type: 'VerticalLayout',
|
|
3094
3094
|
elements: [
|
|
3095
3095
|
{
|
|
@@ -3098,42 +3098,42 @@ const uischema$u = {
|
|
|
3098
3098
|
},
|
|
3099
3099
|
],
|
|
3100
3100
|
};
|
|
3101
|
-
const data$
|
|
3101
|
+
const data$x = [];
|
|
3102
3102
|
registerExamples([
|
|
3103
3103
|
{
|
|
3104
3104
|
name: 'enumInArray',
|
|
3105
3105
|
label: 'Array containing enums',
|
|
3106
|
-
data: data$
|
|
3107
|
-
schema: schema$
|
|
3108
|
-
uischema: uischema$
|
|
3106
|
+
data: data$x,
|
|
3107
|
+
schema: schema$v,
|
|
3108
|
+
uischema: uischema$v,
|
|
3109
3109
|
},
|
|
3110
3110
|
]);
|
|
3111
3111
|
|
|
3112
3112
|
var enumInArray = /*#__PURE__*/Object.freeze({
|
|
3113
3113
|
__proto__: null,
|
|
3114
|
-
schema: schema$
|
|
3115
|
-
uischema: uischema$
|
|
3116
|
-
data: data$
|
|
3114
|
+
schema: schema$v,
|
|
3115
|
+
uischema: uischema$v,
|
|
3116
|
+
data: data$x
|
|
3117
3117
|
});
|
|
3118
3118
|
|
|
3119
|
-
const schema$
|
|
3120
|
-
const uischema$
|
|
3121
|
-
const data$
|
|
3119
|
+
const schema$u = undefined;
|
|
3120
|
+
const uischema$u = undefined;
|
|
3121
|
+
const data$w = data$W;
|
|
3122
3122
|
registerExamples([
|
|
3123
3123
|
{
|
|
3124
3124
|
name: 'generate',
|
|
3125
3125
|
label: 'Generate both Schemas',
|
|
3126
|
-
data: data$
|
|
3127
|
-
schema: schema$
|
|
3128
|
-
uischema: uischema$
|
|
3126
|
+
data: data$w,
|
|
3127
|
+
schema: schema$u,
|
|
3128
|
+
uischema: uischema$u,
|
|
3129
3129
|
},
|
|
3130
3130
|
]);
|
|
3131
3131
|
|
|
3132
3132
|
var generate = /*#__PURE__*/Object.freeze({
|
|
3133
3133
|
__proto__: null,
|
|
3134
|
-
schema: schema$
|
|
3135
|
-
uischema: uischema$
|
|
3136
|
-
data: data$
|
|
3134
|
+
schema: schema$u,
|
|
3135
|
+
uischema: uischema$u,
|
|
3136
|
+
data: data$w
|
|
3137
3137
|
});
|
|
3138
3138
|
|
|
3139
3139
|
const actions$3 = [
|
|
@@ -3163,27 +3163,27 @@ var generateDynamic = /*#__PURE__*/Object.freeze({
|
|
|
3163
3163
|
actions: actions$3
|
|
3164
3164
|
});
|
|
3165
3165
|
|
|
3166
|
-
const schema$
|
|
3167
|
-
const uischema$
|
|
3168
|
-
const data$
|
|
3166
|
+
const schema$t = personCoreSchema;
|
|
3167
|
+
const uischema$t = undefined;
|
|
3168
|
+
const data$v = data$W;
|
|
3169
3169
|
registerExamples([
|
|
3170
3170
|
{
|
|
3171
3171
|
name: 'generate-ui',
|
|
3172
3172
|
label: 'Generate UI Schema',
|
|
3173
|
-
data: data$
|
|
3174
|
-
schema: schema$
|
|
3175
|
-
uischema: uischema$
|
|
3173
|
+
data: data$v,
|
|
3174
|
+
schema: schema$t,
|
|
3175
|
+
uischema: uischema$t,
|
|
3176
3176
|
},
|
|
3177
3177
|
]);
|
|
3178
3178
|
|
|
3179
3179
|
var generateUI = /*#__PURE__*/Object.freeze({
|
|
3180
3180
|
__proto__: null,
|
|
3181
|
-
schema: schema$
|
|
3182
|
-
uischema: uischema$
|
|
3183
|
-
data: data$
|
|
3181
|
+
schema: schema$t,
|
|
3182
|
+
uischema: uischema$t,
|
|
3183
|
+
data: data$v
|
|
3184
3184
|
});
|
|
3185
3185
|
|
|
3186
|
-
const schema$
|
|
3186
|
+
const schema$s = {
|
|
3187
3187
|
$schema: 'http://json-schema.org/schema#',
|
|
3188
3188
|
definitions: {
|
|
3189
3189
|
confidenceTypes: {
|
|
@@ -4148,7 +4148,7 @@ const schema$r = {
|
|
|
4148
4148
|
attribution: { $ref: '#/definitions/attribution' },
|
|
4149
4149
|
},
|
|
4150
4150
|
};
|
|
4151
|
-
const data$
|
|
4151
|
+
const data$u = {
|
|
4152
4152
|
attribution: {
|
|
4153
4153
|
contributor: {
|
|
4154
4154
|
resource: '#A-1',
|
|
@@ -4478,7 +4478,7 @@ const data$t = {
|
|
|
4478
4478
|
},
|
|
4479
4479
|
],
|
|
4480
4480
|
};
|
|
4481
|
-
const uischema$
|
|
4481
|
+
const uischema$s = {
|
|
4482
4482
|
type: 'Categorization',
|
|
4483
4483
|
elements: [
|
|
4484
4484
|
{
|
|
@@ -4536,15 +4536,15 @@ registerExamples([
|
|
|
4536
4536
|
{
|
|
4537
4537
|
name: 'huge',
|
|
4538
4538
|
label: 'Huge Test',
|
|
4539
|
-
data: data$
|
|
4540
|
-
schema: schema$
|
|
4541
|
-
uischema: uischema$
|
|
4539
|
+
data: data$u,
|
|
4540
|
+
schema: schema$s,
|
|
4541
|
+
uischema: uischema$s,
|
|
4542
4542
|
},
|
|
4543
4543
|
]);
|
|
4544
4544
|
|
|
4545
4545
|
var huge = /*#__PURE__*/Object.freeze({
|
|
4546
4546
|
__proto__: null,
|
|
4547
|
-
uischema: uischema$
|
|
4547
|
+
uischema: uischema$s
|
|
4548
4548
|
});
|
|
4549
4549
|
|
|
4550
4550
|
const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
@@ -4555,7 +4555,7 @@ const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
|
4555
4555
|
localiseFunc(errors);
|
|
4556
4556
|
dispatch(updateErrors(errors));
|
|
4557
4557
|
};
|
|
4558
|
-
const uischema$
|
|
4558
|
+
const uischema$r = {
|
|
4559
4559
|
type: 'VerticalLayout',
|
|
4560
4560
|
elements: [
|
|
4561
4561
|
{
|
|
@@ -4591,7 +4591,7 @@ const uischema$q = {
|
|
|
4591
4591
|
},
|
|
4592
4592
|
],
|
|
4593
4593
|
};
|
|
4594
|
-
const data$
|
|
4594
|
+
const data$t = {
|
|
4595
4595
|
vegetarian: false,
|
|
4596
4596
|
birthDate: '1985-06-02',
|
|
4597
4597
|
personalData: {
|
|
@@ -4612,9 +4612,9 @@ registerExamples([
|
|
|
4612
4612
|
{
|
|
4613
4613
|
name: 'i18n',
|
|
4614
4614
|
label: 'Person (i18n)',
|
|
4615
|
-
data: data$
|
|
4615
|
+
data: data$t,
|
|
4616
4616
|
schema: personCoreSchema,
|
|
4617
|
-
uischema: uischema$
|
|
4617
|
+
uischema: uischema$r,
|
|
4618
4618
|
i18n: {
|
|
4619
4619
|
translate: translate,
|
|
4620
4620
|
locale: 'en',
|
|
@@ -4625,13 +4625,13 @@ registerExamples([
|
|
|
4625
4625
|
var i18n = /*#__PURE__*/Object.freeze({
|
|
4626
4626
|
__proto__: null,
|
|
4627
4627
|
onChange: onChange$2,
|
|
4628
|
-
uischema: uischema$
|
|
4629
|
-
data: data$
|
|
4628
|
+
uischema: uischema$r,
|
|
4629
|
+
data: data$t,
|
|
4630
4630
|
translations: translations,
|
|
4631
4631
|
translate: translate
|
|
4632
4632
|
});
|
|
4633
4633
|
|
|
4634
|
-
const schema$
|
|
4634
|
+
const schema$r = schema$U;
|
|
4635
4635
|
const uischemaVertical = {
|
|
4636
4636
|
type: 'VerticalLayout',
|
|
4637
4637
|
elements: [
|
|
@@ -4719,49 +4719,49 @@ const uischemaComplex = {
|
|
|
4719
4719
|
},
|
|
4720
4720
|
],
|
|
4721
4721
|
};
|
|
4722
|
-
const data$
|
|
4722
|
+
const data$s = data$W;
|
|
4723
4723
|
registerExamples([
|
|
4724
4724
|
{
|
|
4725
4725
|
name: 'layout-vertical',
|
|
4726
4726
|
label: 'Layout Vertical',
|
|
4727
|
-
data: data$
|
|
4728
|
-
schema: schema$
|
|
4727
|
+
data: data$s,
|
|
4728
|
+
schema: schema$r,
|
|
4729
4729
|
uischema: uischemaVertical,
|
|
4730
4730
|
},
|
|
4731
4731
|
{
|
|
4732
4732
|
name: 'layout-horizontal',
|
|
4733
4733
|
label: 'Layout Horizontal',
|
|
4734
|
-
data: data$
|
|
4735
|
-
schema: schema$
|
|
4734
|
+
data: data$s,
|
|
4735
|
+
schema: schema$r,
|
|
4736
4736
|
uischema: uischemaHorizontal,
|
|
4737
4737
|
},
|
|
4738
4738
|
{
|
|
4739
4739
|
name: 'layout-group',
|
|
4740
4740
|
label: 'Layout Group',
|
|
4741
|
-
data: data$
|
|
4742
|
-
schema: schema$
|
|
4741
|
+
data: data$s,
|
|
4742
|
+
schema: schema$r,
|
|
4743
4743
|
uischema: uischemaGroup,
|
|
4744
4744
|
},
|
|
4745
4745
|
{
|
|
4746
4746
|
name: 'layout-complex',
|
|
4747
4747
|
label: 'Layout Complex',
|
|
4748
|
-
data: data$
|
|
4749
|
-
schema: schema$
|
|
4748
|
+
data: data$s,
|
|
4749
|
+
schema: schema$r,
|
|
4750
4750
|
uischema: uischemaComplex,
|
|
4751
4751
|
},
|
|
4752
4752
|
]);
|
|
4753
4753
|
|
|
4754
4754
|
var layout = /*#__PURE__*/Object.freeze({
|
|
4755
4755
|
__proto__: null,
|
|
4756
|
-
schema: schema$
|
|
4756
|
+
schema: schema$r,
|
|
4757
4757
|
uischemaVertical: uischemaVertical,
|
|
4758
4758
|
uischemaHorizontal: uischemaHorizontal,
|
|
4759
4759
|
uischemaGroup: uischemaGroup,
|
|
4760
4760
|
uischemaComplex: uischemaComplex,
|
|
4761
|
-
data: data$
|
|
4761
|
+
data: data$s
|
|
4762
4762
|
});
|
|
4763
4763
|
|
|
4764
|
-
const data$
|
|
4764
|
+
const data$r = {
|
|
4765
4765
|
orders: [
|
|
4766
4766
|
{
|
|
4767
4767
|
customer: {
|
|
@@ -4790,7 +4790,7 @@ const data$q = {
|
|
|
4790
4790
|
},
|
|
4791
4791
|
],
|
|
4792
4792
|
};
|
|
4793
|
-
const schema$
|
|
4793
|
+
const schema$q = {
|
|
4794
4794
|
definitions: {
|
|
4795
4795
|
order: {
|
|
4796
4796
|
type: 'object',
|
|
@@ -4840,7 +4840,7 @@ const schema$p = {
|
|
|
4840
4840
|
},
|
|
4841
4841
|
},
|
|
4842
4842
|
};
|
|
4843
|
-
const uischema$
|
|
4843
|
+
const uischema$q = {
|
|
4844
4844
|
type: 'ListWithDetail',
|
|
4845
4845
|
scope: '#/properties/orders',
|
|
4846
4846
|
options: {
|
|
@@ -5021,33 +5021,33 @@ registerExamples([
|
|
|
5021
5021
|
{
|
|
5022
5022
|
name: 'list-with-detail',
|
|
5023
5023
|
label: 'List With Detail',
|
|
5024
|
-
data: data$
|
|
5025
|
-
schema: schema$
|
|
5026
|
-
uischema: uischema$
|
|
5024
|
+
data: data$r,
|
|
5025
|
+
schema: schema$q,
|
|
5026
|
+
uischema: uischema$q,
|
|
5027
5027
|
},
|
|
5028
5028
|
]);
|
|
5029
5029
|
registerExamples([
|
|
5030
5030
|
{
|
|
5031
5031
|
name: 'list-with-detail-no-labelref',
|
|
5032
5032
|
label: 'List With Detail (No Label Ref)',
|
|
5033
|
-
data: data$
|
|
5034
|
-
schema: schema$
|
|
5033
|
+
data: data$r,
|
|
5034
|
+
schema: schema$q,
|
|
5035
5035
|
uischema: uischemaNoLabelRef,
|
|
5036
5036
|
},
|
|
5037
5037
|
]);
|
|
5038
5038
|
|
|
5039
5039
|
var listWithDetail = /*#__PURE__*/Object.freeze({
|
|
5040
5040
|
__proto__: null,
|
|
5041
|
-
data: data$
|
|
5042
|
-
schema: schema$
|
|
5043
|
-
uischema: uischema$
|
|
5041
|
+
data: data$r,
|
|
5042
|
+
schema: schema$q,
|
|
5043
|
+
uischema: uischema$q,
|
|
5044
5044
|
uischemaNoLabelRef: uischemaNoLabelRef
|
|
5045
5045
|
});
|
|
5046
5046
|
|
|
5047
|
-
const data$
|
|
5047
|
+
const data$q = {
|
|
5048
5048
|
'an-array-of-strings': ['foo', 'bar', 'foobar'],
|
|
5049
5049
|
};
|
|
5050
|
-
const schema$
|
|
5050
|
+
const schema$p = {
|
|
5051
5051
|
type: 'object',
|
|
5052
5052
|
properties: {
|
|
5053
5053
|
'an-array-of-strings': {
|
|
@@ -5058,7 +5058,7 @@ const schema$o = {
|
|
|
5058
5058
|
},
|
|
5059
5059
|
},
|
|
5060
5060
|
};
|
|
5061
|
-
const uischema$
|
|
5061
|
+
const uischema$p = {
|
|
5062
5062
|
type: 'ListWithDetail',
|
|
5063
5063
|
scope: '#/properties/an-array-of-strings',
|
|
5064
5064
|
};
|
|
@@ -5066,9 +5066,9 @@ registerExamples([
|
|
|
5066
5066
|
{
|
|
5067
5067
|
name: 'list-with-detail-primitive-string',
|
|
5068
5068
|
label: 'List With Detail primitive (string)',
|
|
5069
|
-
data: data$
|
|
5070
|
-
schema: schema$
|
|
5071
|
-
uischema: uischema$
|
|
5069
|
+
data: data$q,
|
|
5070
|
+
schema: schema$p,
|
|
5071
|
+
uischema: uischema$p,
|
|
5072
5072
|
},
|
|
5073
5073
|
]);
|
|
5074
5074
|
const data_number = {
|
|
@@ -5101,15 +5101,15 @@ registerExamples([
|
|
|
5101
5101
|
|
|
5102
5102
|
var listWithDetailPrimitives = /*#__PURE__*/Object.freeze({
|
|
5103
5103
|
__proto__: null,
|
|
5104
|
-
data: data$
|
|
5105
|
-
schema: schema$
|
|
5106
|
-
uischema: uischema$
|
|
5104
|
+
data: data$q,
|
|
5105
|
+
schema: schema$p,
|
|
5106
|
+
uischema: uischema$p,
|
|
5107
5107
|
data_number: data_number,
|
|
5108
5108
|
schema_number: schema_number,
|
|
5109
5109
|
uischema_number: uischema_number
|
|
5110
5110
|
});
|
|
5111
5111
|
|
|
5112
|
-
const data$
|
|
5112
|
+
const data$p = {
|
|
5113
5113
|
warehouseitems: [
|
|
5114
5114
|
{
|
|
5115
5115
|
name: 'Fantasy Book',
|
|
@@ -5137,7 +5137,7 @@ const data$o = {
|
|
|
5137
5137
|
},
|
|
5138
5138
|
],
|
|
5139
5139
|
};
|
|
5140
|
-
const schema$
|
|
5140
|
+
const schema$o = {
|
|
5141
5141
|
definitions: {
|
|
5142
5142
|
warehouseitem: {
|
|
5143
5143
|
type: 'object',
|
|
@@ -5168,7 +5168,7 @@ const schema$n = {
|
|
|
5168
5168
|
},
|
|
5169
5169
|
},
|
|
5170
5170
|
};
|
|
5171
|
-
const uischema$
|
|
5171
|
+
const uischema$o = {
|
|
5172
5172
|
type: 'ListWithDetail',
|
|
5173
5173
|
scope: '#/properties/warehouseitems',
|
|
5174
5174
|
options: {
|
|
@@ -5179,20 +5179,20 @@ registerExamples([
|
|
|
5179
5179
|
{
|
|
5180
5180
|
name: 'list-with-detail-registered',
|
|
5181
5181
|
label: 'List With Detail (Registered Detail UISchema)',
|
|
5182
|
-
data: data$
|
|
5183
|
-
schema: schema$
|
|
5184
|
-
uischema: uischema$
|
|
5182
|
+
data: data$p,
|
|
5183
|
+
schema: schema$o,
|
|
5184
|
+
uischema: uischema$o,
|
|
5185
5185
|
},
|
|
5186
5186
|
]);
|
|
5187
5187
|
|
|
5188
5188
|
var listWithDetailRegistered = /*#__PURE__*/Object.freeze({
|
|
5189
5189
|
__proto__: null,
|
|
5190
|
-
data: data$
|
|
5191
|
-
schema: schema$
|
|
5192
|
-
uischema: uischema$
|
|
5190
|
+
data: data$p,
|
|
5191
|
+
schema: schema$o,
|
|
5192
|
+
uischema: uischema$o
|
|
5193
5193
|
});
|
|
5194
5194
|
|
|
5195
|
-
const schema$
|
|
5195
|
+
const schema$n = {
|
|
5196
5196
|
type: 'object',
|
|
5197
5197
|
properties: {
|
|
5198
5198
|
username: {
|
|
@@ -5207,7 +5207,7 @@ const schema$m = {
|
|
|
5207
5207
|
},
|
|
5208
5208
|
required: ['username', 'password'],
|
|
5209
5209
|
};
|
|
5210
|
-
const uischema$
|
|
5210
|
+
const uischema$n = {
|
|
5211
5211
|
type: 'VerticalLayout',
|
|
5212
5212
|
elements: [
|
|
5213
5213
|
{
|
|
@@ -5229,51 +5229,51 @@ const uischema$m = {
|
|
|
5229
5229
|
},
|
|
5230
5230
|
],
|
|
5231
5231
|
};
|
|
5232
|
-
const data$
|
|
5232
|
+
const data$o = {
|
|
5233
5233
|
username: 'john.doe@email.com',
|
|
5234
5234
|
};
|
|
5235
5235
|
registerExamples([
|
|
5236
5236
|
{
|
|
5237
5237
|
name: 'login',
|
|
5238
5238
|
label: 'Login Form',
|
|
5239
|
-
data: data$
|
|
5240
|
-
schema: schema$
|
|
5241
|
-
uischema: uischema$
|
|
5239
|
+
data: data$o,
|
|
5240
|
+
schema: schema$n,
|
|
5241
|
+
uischema: uischema$n,
|
|
5242
5242
|
},
|
|
5243
5243
|
]);
|
|
5244
5244
|
|
|
5245
5245
|
var login = /*#__PURE__*/Object.freeze({
|
|
5246
5246
|
__proto__: null,
|
|
5247
|
-
schema: schema$
|
|
5248
|
-
uischema: uischema$
|
|
5247
|
+
schema: schema$n,
|
|
5248
|
+
uischema: uischema$n
|
|
5249
5249
|
});
|
|
5250
5250
|
|
|
5251
|
-
const schema$
|
|
5251
|
+
const schema$m = {
|
|
5252
5252
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
5253
5253
|
type: ['string', 'boolean', 'integer', 'null'],
|
|
5254
5254
|
};
|
|
5255
|
-
const uischema$
|
|
5255
|
+
const uischema$m = {
|
|
5256
5256
|
type: 'Control',
|
|
5257
5257
|
scope: '#/',
|
|
5258
5258
|
};
|
|
5259
|
-
const data$
|
|
5259
|
+
const data$n = undefined;
|
|
5260
5260
|
registerExamples([
|
|
5261
5261
|
{
|
|
5262
5262
|
name: 'mixed',
|
|
5263
5263
|
label: 'Mixed',
|
|
5264
|
-
data: data$
|
|
5265
|
-
schema: schema$
|
|
5266
|
-
uischema: uischema$
|
|
5264
|
+
data: data$n,
|
|
5265
|
+
schema: schema$m,
|
|
5266
|
+
uischema: uischema$m,
|
|
5267
5267
|
},
|
|
5268
5268
|
]);
|
|
5269
5269
|
|
|
5270
5270
|
var mixed = /*#__PURE__*/Object.freeze({
|
|
5271
5271
|
__proto__: null,
|
|
5272
|
-
schema: schema$
|
|
5273
|
-
uischema: uischema$
|
|
5272
|
+
schema: schema$m,
|
|
5273
|
+
uischema: uischema$m
|
|
5274
5274
|
});
|
|
5275
5275
|
|
|
5276
|
-
const schema$
|
|
5276
|
+
const schema$l = {
|
|
5277
5277
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
5278
5278
|
title: 'Mixed Types Example',
|
|
5279
5279
|
type: 'object',
|
|
@@ -5311,7 +5311,7 @@ const schema$k = {
|
|
|
5311
5311
|
},
|
|
5312
5312
|
required: ['mixedSimple'],
|
|
5313
5313
|
};
|
|
5314
|
-
const uischema$
|
|
5314
|
+
const uischema$l = {
|
|
5315
5315
|
type: 'VerticalLayout',
|
|
5316
5316
|
elements: [
|
|
5317
5317
|
{
|
|
@@ -5332,7 +5332,7 @@ const uischema$k = {
|
|
|
5332
5332
|
},
|
|
5333
5333
|
],
|
|
5334
5334
|
};
|
|
5335
|
-
const data$
|
|
5335
|
+
const data$m = {
|
|
5336
5336
|
mixedSimple: 'String',
|
|
5337
5337
|
nullableString: null,
|
|
5338
5338
|
nullableObject: {
|
|
@@ -5344,19 +5344,19 @@ registerExamples([
|
|
|
5344
5344
|
{
|
|
5345
5345
|
name: 'mixed-object',
|
|
5346
5346
|
label: 'Mixed Object',
|
|
5347
|
-
data: data$
|
|
5348
|
-
schema: schema$
|
|
5349
|
-
uischema: uischema$
|
|
5347
|
+
data: data$m,
|
|
5348
|
+
schema: schema$l,
|
|
5349
|
+
uischema: uischema$l,
|
|
5350
5350
|
},
|
|
5351
5351
|
]);
|
|
5352
5352
|
|
|
5353
5353
|
var mixedObject = /*#__PURE__*/Object.freeze({
|
|
5354
5354
|
__proto__: null,
|
|
5355
|
-
schema: schema$
|
|
5356
|
-
uischema: uischema$
|
|
5355
|
+
schema: schema$l,
|
|
5356
|
+
uischema: uischema$l
|
|
5357
5357
|
});
|
|
5358
5358
|
|
|
5359
|
-
const schema$
|
|
5359
|
+
const schema$k = {
|
|
5360
5360
|
definitions: {
|
|
5361
5361
|
choicesContainer: {
|
|
5362
5362
|
type: 'object',
|
|
@@ -5381,7 +5381,7 @@ const schema$j = {
|
|
|
5381
5381
|
},
|
|
5382
5382
|
},
|
|
5383
5383
|
};
|
|
5384
|
-
const uischema$
|
|
5384
|
+
const uischema$k = {
|
|
5385
5385
|
type: 'HorizontalLayout',
|
|
5386
5386
|
elements: [
|
|
5387
5387
|
{
|
|
@@ -5394,7 +5394,7 @@ const uischema$j = {
|
|
|
5394
5394
|
},
|
|
5395
5395
|
],
|
|
5396
5396
|
};
|
|
5397
|
-
const data$
|
|
5397
|
+
const data$l = {
|
|
5398
5398
|
exampleArray: [
|
|
5399
5399
|
{
|
|
5400
5400
|
choices: ['This', 'is', 'an', 'example'],
|
|
@@ -5446,19 +5446,19 @@ registerExamples([
|
|
|
5446
5446
|
{
|
|
5447
5447
|
name: 'nestedArray',
|
|
5448
5448
|
label: 'Nested Array',
|
|
5449
|
-
data: data$
|
|
5450
|
-
schema: schema$
|
|
5451
|
-
uischema: uischema$
|
|
5449
|
+
data: data$l,
|
|
5450
|
+
schema: schema$k,
|
|
5451
|
+
uischema: uischema$k,
|
|
5452
5452
|
actions: actions$2,
|
|
5453
5453
|
},
|
|
5454
5454
|
]);
|
|
5455
5455
|
|
|
5456
5456
|
var nestedArrays = /*#__PURE__*/Object.freeze({
|
|
5457
5457
|
__proto__: null,
|
|
5458
|
-
uischema: uischema$
|
|
5458
|
+
uischema: uischema$k
|
|
5459
5459
|
});
|
|
5460
5460
|
|
|
5461
|
-
const schema$
|
|
5461
|
+
const schema$j = {
|
|
5462
5462
|
type: 'object',
|
|
5463
5463
|
properties: {
|
|
5464
5464
|
cat1: {
|
|
@@ -5496,7 +5496,7 @@ const schema$i = {
|
|
|
5496
5496
|
},
|
|
5497
5497
|
},
|
|
5498
5498
|
};
|
|
5499
|
-
const uischema$
|
|
5499
|
+
const uischema$j = {
|
|
5500
5500
|
type: 'Categorization',
|
|
5501
5501
|
elements: [
|
|
5502
5502
|
{
|
|
@@ -5594,25 +5594,25 @@ const uischema$i = {
|
|
|
5594
5594
|
},
|
|
5595
5595
|
],
|
|
5596
5596
|
};
|
|
5597
|
-
const data$
|
|
5597
|
+
const data$k = {};
|
|
5598
5598
|
registerExamples([
|
|
5599
5599
|
{
|
|
5600
5600
|
name: 'nestedCategorization',
|
|
5601
5601
|
label: 'Nested Categorization',
|
|
5602
|
-
data: data$
|
|
5603
|
-
schema: schema$
|
|
5604
|
-
uischema: uischema$
|
|
5602
|
+
data: data$k,
|
|
5603
|
+
schema: schema$j,
|
|
5604
|
+
uischema: uischema$j,
|
|
5605
5605
|
},
|
|
5606
5606
|
]);
|
|
5607
5607
|
|
|
5608
5608
|
var nestedCategorization = /*#__PURE__*/Object.freeze({
|
|
5609
5609
|
__proto__: null,
|
|
5610
|
-
schema: schema$
|
|
5611
|
-
uischema: uischema$
|
|
5612
|
-
data: data$
|
|
5610
|
+
schema: schema$j,
|
|
5611
|
+
uischema: uischema$j,
|
|
5612
|
+
data: data$k
|
|
5613
5613
|
});
|
|
5614
5614
|
|
|
5615
|
-
const schema$
|
|
5615
|
+
const schema$i = {
|
|
5616
5616
|
type: 'object',
|
|
5617
5617
|
properties: {
|
|
5618
5618
|
price: {
|
|
@@ -5629,7 +5629,7 @@ const schema$h = {
|
|
|
5629
5629
|
},
|
|
5630
5630
|
},
|
|
5631
5631
|
};
|
|
5632
|
-
const uischema$
|
|
5632
|
+
const uischema$i = {
|
|
5633
5633
|
type: 'VerticalLayout',
|
|
5634
5634
|
elements: [
|
|
5635
5635
|
{
|
|
@@ -5665,25 +5665,25 @@ const uischema$h = {
|
|
|
5665
5665
|
},
|
|
5666
5666
|
],
|
|
5667
5667
|
};
|
|
5668
|
-
const data$
|
|
5668
|
+
const data$j = {};
|
|
5669
5669
|
registerExamples([
|
|
5670
5670
|
{
|
|
5671
5671
|
name: 'numbers',
|
|
5672
5672
|
label: 'Numbers',
|
|
5673
|
-
data: data$
|
|
5674
|
-
schema: schema$
|
|
5675
|
-
uischema: uischema$
|
|
5673
|
+
data: data$j,
|
|
5674
|
+
schema: schema$i,
|
|
5675
|
+
uischema: uischema$i,
|
|
5676
5676
|
},
|
|
5677
5677
|
]);
|
|
5678
5678
|
|
|
5679
5679
|
var numbers = /*#__PURE__*/Object.freeze({
|
|
5680
5680
|
__proto__: null,
|
|
5681
|
-
schema: schema$
|
|
5682
|
-
uischema: uischema$
|
|
5683
|
-
data: data$
|
|
5681
|
+
schema: schema$i,
|
|
5682
|
+
uischema: uischema$i,
|
|
5683
|
+
data: data$j
|
|
5684
5684
|
});
|
|
5685
5685
|
|
|
5686
|
-
const schema$
|
|
5686
|
+
const schema$h = {
|
|
5687
5687
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
5688
5688
|
type: 'object',
|
|
5689
5689
|
properties: {
|
|
@@ -5744,7 +5744,7 @@ const uischemaNonRoot = {
|
|
|
5744
5744
|
},
|
|
5745
5745
|
],
|
|
5746
5746
|
};
|
|
5747
|
-
const data$
|
|
5747
|
+
const data$i = {
|
|
5748
5748
|
address: {
|
|
5749
5749
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
5750
5750
|
city: 'Washington',
|
|
@@ -5755,22 +5755,22 @@ registerExamples([
|
|
|
5755
5755
|
{
|
|
5756
5756
|
name: 'rootObject',
|
|
5757
5757
|
label: 'Object - Root Scope',
|
|
5758
|
-
data: data$
|
|
5759
|
-
schema: schema$
|
|
5758
|
+
data: data$i,
|
|
5759
|
+
schema: schema$h,
|
|
5760
5760
|
uischema: uischemaRoot,
|
|
5761
5761
|
},
|
|
5762
5762
|
{
|
|
5763
5763
|
name: 'object',
|
|
5764
5764
|
label: 'Object',
|
|
5765
|
-
data: data$
|
|
5766
|
-
schema: schema$
|
|
5765
|
+
data: data$i,
|
|
5766
|
+
schema: schema$h,
|
|
5767
5767
|
uischema: uischemaNonRoot,
|
|
5768
5768
|
},
|
|
5769
5769
|
]);
|
|
5770
5770
|
|
|
5771
5771
|
var object = /*#__PURE__*/Object.freeze({
|
|
5772
5772
|
__proto__: null,
|
|
5773
|
-
schema: schema$
|
|
5773
|
+
schema: schema$h,
|
|
5774
5774
|
uischemaRoot: uischemaRoot,
|
|
5775
5775
|
uischemaNonRoot: uischemaNonRoot
|
|
5776
5776
|
});
|
|
@@ -5788,7 +5788,7 @@ const onChange = (dispatch) => (_) => ({ data, errors }) => {
|
|
|
5788
5788
|
return dispatch(updateErrors(newErrors));
|
|
5789
5789
|
}
|
|
5790
5790
|
};
|
|
5791
|
-
const schema$
|
|
5791
|
+
const schema$g = {
|
|
5792
5792
|
type: 'object',
|
|
5793
5793
|
properties: {
|
|
5794
5794
|
name: {
|
|
@@ -5802,27 +5802,27 @@ const schema$f = {
|
|
|
5802
5802
|
},
|
|
5803
5803
|
required: ['name', 'description'],
|
|
5804
5804
|
};
|
|
5805
|
-
const uischema$
|
|
5806
|
-
const data$
|
|
5805
|
+
const uischema$h = undefined;
|
|
5806
|
+
const data$h = {};
|
|
5807
5807
|
registerExamples([
|
|
5808
5808
|
{
|
|
5809
5809
|
name: 'onChange',
|
|
5810
5810
|
label: 'On Change Listener',
|
|
5811
|
-
data: data$
|
|
5812
|
-
schema: schema$
|
|
5813
|
-
uischema: uischema$
|
|
5811
|
+
data: data$h,
|
|
5812
|
+
schema: schema$g,
|
|
5813
|
+
uischema: uischema$h,
|
|
5814
5814
|
},
|
|
5815
5815
|
]);
|
|
5816
5816
|
|
|
5817
5817
|
var onChange$1 = /*#__PURE__*/Object.freeze({
|
|
5818
5818
|
__proto__: null,
|
|
5819
5819
|
onChange: onChange,
|
|
5820
|
-
schema: schema$
|
|
5821
|
-
uischema: uischema$
|
|
5822
|
-
data: data$
|
|
5820
|
+
schema: schema$g,
|
|
5821
|
+
uischema: uischema$h,
|
|
5822
|
+
data: data$h
|
|
5823
5823
|
});
|
|
5824
5824
|
|
|
5825
|
-
const schema$
|
|
5825
|
+
const schema$f = {
|
|
5826
5826
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
5827
5827
|
definitions: {
|
|
5828
5828
|
address: {
|
|
@@ -5857,7 +5857,7 @@ const schema$e = {
|
|
|
5857
5857
|
},
|
|
5858
5858
|
required: ['name'],
|
|
5859
5859
|
};
|
|
5860
|
-
const uischema$
|
|
5860
|
+
const uischema$g = {
|
|
5861
5861
|
type: 'VerticalLayout',
|
|
5862
5862
|
elements: [
|
|
5863
5863
|
{
|
|
@@ -5870,7 +5870,7 @@ const uischema$f = {
|
|
|
5870
5870
|
},
|
|
5871
5871
|
],
|
|
5872
5872
|
};
|
|
5873
|
-
const data$
|
|
5873
|
+
const data$g = {
|
|
5874
5874
|
name: 'test',
|
|
5875
5875
|
addressOrUser: {
|
|
5876
5876
|
name: 'User',
|
|
@@ -6092,9 +6092,9 @@ registerExamples([
|
|
|
6092
6092
|
{
|
|
6093
6093
|
name: 'oneOf',
|
|
6094
6094
|
label: 'oneOf',
|
|
6095
|
-
data: data$
|
|
6096
|
-
schema: schema$
|
|
6097
|
-
uischema: uischema$
|
|
6095
|
+
data: data$g,
|
|
6096
|
+
schema: schema$f,
|
|
6097
|
+
uischema: uischema$g,
|
|
6098
6098
|
},
|
|
6099
6099
|
{
|
|
6100
6100
|
name: 'oneOf_1265_array',
|
|
@@ -6135,11 +6135,11 @@ registerExamples([
|
|
|
6135
6135
|
|
|
6136
6136
|
var oneOf = /*#__PURE__*/Object.freeze({
|
|
6137
6137
|
__proto__: null,
|
|
6138
|
-
schema: schema$
|
|
6139
|
-
uischema: uischema$
|
|
6138
|
+
schema: schema$f,
|
|
6139
|
+
uischema: uischema$g
|
|
6140
6140
|
});
|
|
6141
6141
|
|
|
6142
|
-
const schema$
|
|
6142
|
+
const schema$e = {
|
|
6143
6143
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6144
6144
|
definitions: {
|
|
6145
6145
|
fileOrFolder: {
|
|
@@ -6177,28 +6177,28 @@ const schema$d = {
|
|
|
6177
6177
|
},
|
|
6178
6178
|
},
|
|
6179
6179
|
};
|
|
6180
|
-
const uischema$
|
|
6180
|
+
const uischema$f = {
|
|
6181
6181
|
type: 'Control',
|
|
6182
6182
|
scope: '#',
|
|
6183
6183
|
};
|
|
6184
|
-
const data$
|
|
6184
|
+
const data$f = {};
|
|
6185
6185
|
registerExamples([
|
|
6186
6186
|
{
|
|
6187
6187
|
name: 'oneOf-recursive',
|
|
6188
6188
|
label: 'oneOf recursive',
|
|
6189
|
-
data: data$
|
|
6190
|
-
schema: schema$
|
|
6191
|
-
uischema: uischema$
|
|
6189
|
+
data: data$f,
|
|
6190
|
+
schema: schema$e,
|
|
6191
|
+
uischema: uischema$f,
|
|
6192
6192
|
},
|
|
6193
6193
|
]);
|
|
6194
6194
|
|
|
6195
6195
|
var oneOfRecursive = /*#__PURE__*/Object.freeze({
|
|
6196
6196
|
__proto__: null,
|
|
6197
|
-
schema: schema$
|
|
6198
|
-
uischema: uischema$
|
|
6197
|
+
schema: schema$e,
|
|
6198
|
+
uischema: uischema$f
|
|
6199
6199
|
});
|
|
6200
6200
|
|
|
6201
|
-
const schema$
|
|
6201
|
+
const schema$d = {
|
|
6202
6202
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6203
6203
|
definitions: {
|
|
6204
6204
|
address: {
|
|
@@ -6233,7 +6233,7 @@ const schema$c = {
|
|
|
6233
6233
|
},
|
|
6234
6234
|
},
|
|
6235
6235
|
};
|
|
6236
|
-
const uischema$
|
|
6236
|
+
const uischema$e = {
|
|
6237
6237
|
type: 'VerticalLayout',
|
|
6238
6238
|
elements: [
|
|
6239
6239
|
{
|
|
@@ -6242,7 +6242,7 @@ const uischema$d = {
|
|
|
6242
6242
|
},
|
|
6243
6243
|
],
|
|
6244
6244
|
};
|
|
6245
|
-
const data$
|
|
6245
|
+
const data$e = {
|
|
6246
6246
|
name: 'test',
|
|
6247
6247
|
addressOrUsers: [
|
|
6248
6248
|
{
|
|
@@ -6260,19 +6260,19 @@ registerExamples([
|
|
|
6260
6260
|
{
|
|
6261
6261
|
name: 'oneOfArray',
|
|
6262
6262
|
label: 'oneOf - Inside array items',
|
|
6263
|
-
data: data$
|
|
6264
|
-
schema: schema$
|
|
6265
|
-
uischema: uischema$
|
|
6263
|
+
data: data$e,
|
|
6264
|
+
schema: schema$d,
|
|
6265
|
+
uischema: uischema$e,
|
|
6266
6266
|
},
|
|
6267
6267
|
]);
|
|
6268
6268
|
|
|
6269
6269
|
var oneOfArray = /*#__PURE__*/Object.freeze({
|
|
6270
6270
|
__proto__: null,
|
|
6271
|
-
schema: schema$
|
|
6272
|
-
uischema: uischema$
|
|
6271
|
+
schema: schema$d,
|
|
6272
|
+
uischema: uischema$e
|
|
6273
6273
|
});
|
|
6274
6274
|
|
|
6275
|
-
const schema$
|
|
6275
|
+
const schema$c = {
|
|
6276
6276
|
type: 'object',
|
|
6277
6277
|
properties: {
|
|
6278
6278
|
displayName: {
|
|
@@ -6301,7 +6301,7 @@ const schema$b = {
|
|
|
6301
6301
|
},
|
|
6302
6302
|
},
|
|
6303
6303
|
};
|
|
6304
|
-
const uischema$
|
|
6304
|
+
const uischema$d = {
|
|
6305
6305
|
type: 'VerticalLayout',
|
|
6306
6306
|
elements: [
|
|
6307
6307
|
{
|
|
@@ -6353,7 +6353,7 @@ const uischema$c = {
|
|
|
6353
6353
|
},
|
|
6354
6354
|
],
|
|
6355
6355
|
};
|
|
6356
|
-
const data$
|
|
6356
|
+
const data$d = {
|
|
6357
6357
|
displayName: 'John Doe',
|
|
6358
6358
|
password: '',
|
|
6359
6359
|
username: '',
|
|
@@ -6364,21 +6364,21 @@ registerExamples([
|
|
|
6364
6364
|
{
|
|
6365
6365
|
name: 'prepend-append-slots',
|
|
6366
6366
|
label: 'Prepend/Append Slots (Basic)',
|
|
6367
|
-
data: data$
|
|
6368
|
-
schema: schema$
|
|
6369
|
-
uischema: uischema$
|
|
6367
|
+
data: data$d,
|
|
6368
|
+
schema: schema$c,
|
|
6369
|
+
uischema: uischema$d,
|
|
6370
6370
|
},
|
|
6371
6371
|
]);
|
|
6372
6372
|
|
|
6373
6373
|
var prependAppendSlots = /*#__PURE__*/Object.freeze({
|
|
6374
6374
|
__proto__: null,
|
|
6375
|
-
schema: schema$
|
|
6376
|
-
uischema: uischema$
|
|
6377
|
-
data: data$
|
|
6375
|
+
schema: schema$c,
|
|
6376
|
+
uischema: uischema$d,
|
|
6377
|
+
data: data$d
|
|
6378
6378
|
});
|
|
6379
6379
|
|
|
6380
|
-
const data$
|
|
6381
|
-
const schema$
|
|
6380
|
+
const data$c = {};
|
|
6381
|
+
const schema$b = {
|
|
6382
6382
|
type: 'object',
|
|
6383
6383
|
properties: {
|
|
6384
6384
|
exampleRadioEnum: {
|
|
@@ -6395,7 +6395,7 @@ const schema$a = {
|
|
|
6395
6395
|
},
|
|
6396
6396
|
},
|
|
6397
6397
|
};
|
|
6398
|
-
const uischema$
|
|
6398
|
+
const uischema$c = {
|
|
6399
6399
|
type: 'VerticalLayout',
|
|
6400
6400
|
elements: [
|
|
6401
6401
|
{
|
|
@@ -6431,20 +6431,20 @@ registerExamples([
|
|
|
6431
6431
|
{
|
|
6432
6432
|
name: 'radio-group',
|
|
6433
6433
|
label: 'Radio Group',
|
|
6434
|
-
data: data$
|
|
6435
|
-
schema: schema$
|
|
6436
|
-
uischema: uischema$
|
|
6434
|
+
data: data$c,
|
|
6435
|
+
schema: schema$b,
|
|
6436
|
+
uischema: uischema$c,
|
|
6437
6437
|
},
|
|
6438
6438
|
]);
|
|
6439
6439
|
|
|
6440
6440
|
var radioGroup = /*#__PURE__*/Object.freeze({
|
|
6441
6441
|
__proto__: null,
|
|
6442
|
-
data: data$
|
|
6443
|
-
schema: schema$
|
|
6444
|
-
uischema: uischema$
|
|
6442
|
+
data: data$c,
|
|
6443
|
+
schema: schema$b,
|
|
6444
|
+
uischema: uischema$c
|
|
6445
6445
|
});
|
|
6446
6446
|
|
|
6447
|
-
const schema$
|
|
6447
|
+
const schema$a = {
|
|
6448
6448
|
type: 'object',
|
|
6449
6449
|
properties: {
|
|
6450
6450
|
readonly: {
|
|
@@ -6459,7 +6459,7 @@ const schema$9 = {
|
|
|
6459
6459
|
},
|
|
6460
6460
|
},
|
|
6461
6461
|
};
|
|
6462
|
-
const uischema$
|
|
6462
|
+
const uischema$b = {
|
|
6463
6463
|
type: 'VerticalLayout',
|
|
6464
6464
|
elements: [
|
|
6465
6465
|
{
|
|
@@ -6482,7 +6482,7 @@ const uischema$a = {
|
|
|
6482
6482
|
},
|
|
6483
6483
|
],
|
|
6484
6484
|
};
|
|
6485
|
-
const data$
|
|
6485
|
+
const data$b = {
|
|
6486
6486
|
readonly: 'readonly by schema',
|
|
6487
6487
|
readonlyByUISchema: 'readonly by ui schema',
|
|
6488
6488
|
notReadonly: 'normal field',
|
|
@@ -6491,20 +6491,20 @@ registerExamples([
|
|
|
6491
6491
|
{
|
|
6492
6492
|
name: 'Readonly Fields',
|
|
6493
6493
|
label: 'Readonly examples',
|
|
6494
|
-
data: data$
|
|
6495
|
-
schema: schema$
|
|
6496
|
-
uischema: uischema$
|
|
6494
|
+
data: data$b,
|
|
6495
|
+
schema: schema$a,
|
|
6496
|
+
uischema: uischema$b,
|
|
6497
6497
|
},
|
|
6498
6498
|
]);
|
|
6499
6499
|
|
|
6500
6500
|
var readonly = /*#__PURE__*/Object.freeze({
|
|
6501
6501
|
__proto__: null,
|
|
6502
|
-
schema: schema$
|
|
6503
|
-
uischema: uischema$
|
|
6504
|
-
data: data$
|
|
6502
|
+
schema: schema$a,
|
|
6503
|
+
uischema: uischema$b,
|
|
6504
|
+
data: data$b
|
|
6505
6505
|
});
|
|
6506
6506
|
|
|
6507
|
-
const schema$
|
|
6507
|
+
const schema$9 = {
|
|
6508
6508
|
type: 'object',
|
|
6509
6509
|
properties: {
|
|
6510
6510
|
name: {
|
|
@@ -6530,7 +6530,7 @@ const schema$8 = {
|
|
|
6530
6530
|
},
|
|
6531
6531
|
},
|
|
6532
6532
|
};
|
|
6533
|
-
const uischema$
|
|
6533
|
+
const uischema$a = {
|
|
6534
6534
|
type: 'VerticalLayout',
|
|
6535
6535
|
elements: [
|
|
6536
6536
|
{
|
|
@@ -6603,7 +6603,7 @@ const uischema$9 = {
|
|
|
6603
6603
|
},
|
|
6604
6604
|
],
|
|
6605
6605
|
};
|
|
6606
|
-
const data$
|
|
6606
|
+
const data$a = {
|
|
6607
6607
|
name: 'John Doe',
|
|
6608
6608
|
dead: false,
|
|
6609
6609
|
vegetables: false,
|
|
@@ -6612,20 +6612,20 @@ registerExamples([
|
|
|
6612
6612
|
{
|
|
6613
6613
|
name: 'rule',
|
|
6614
6614
|
label: 'Rule',
|
|
6615
|
-
data: data$
|
|
6616
|
-
schema: schema$
|
|
6617
|
-
uischema: uischema$
|
|
6615
|
+
data: data$a,
|
|
6616
|
+
schema: schema$9,
|
|
6617
|
+
uischema: uischema$a,
|
|
6618
6618
|
},
|
|
6619
6619
|
]);
|
|
6620
6620
|
|
|
6621
6621
|
var rule = /*#__PURE__*/Object.freeze({
|
|
6622
6622
|
__proto__: null,
|
|
6623
|
-
schema: schema$
|
|
6624
|
-
uischema: uischema$
|
|
6625
|
-
data: data$
|
|
6623
|
+
schema: schema$9,
|
|
6624
|
+
uischema: uischema$a,
|
|
6625
|
+
data: data$a
|
|
6626
6626
|
});
|
|
6627
6627
|
|
|
6628
|
-
const schema$
|
|
6628
|
+
const schema$8 = {
|
|
6629
6629
|
type: 'object',
|
|
6630
6630
|
properties: {
|
|
6631
6631
|
toggleTopLayout: {
|
|
@@ -6645,7 +6645,7 @@ const schema$7 = {
|
|
|
6645
6645
|
},
|
|
6646
6646
|
},
|
|
6647
6647
|
};
|
|
6648
|
-
const uischema$
|
|
6648
|
+
const uischema$9 = {
|
|
6649
6649
|
type: 'VerticalLayout',
|
|
6650
6650
|
rule: {
|
|
6651
6651
|
effect: 'ENABLE',
|
|
@@ -6687,7 +6687,7 @@ const uischema$8 = {
|
|
|
6687
6687
|
},
|
|
6688
6688
|
],
|
|
6689
6689
|
};
|
|
6690
|
-
const data$
|
|
6690
|
+
const data$9 = {
|
|
6691
6691
|
toggleTopLayout: true,
|
|
6692
6692
|
toggleBottomLayout: true,
|
|
6693
6693
|
toggleControl: true,
|
|
@@ -6719,18 +6719,18 @@ registerExamples([
|
|
|
6719
6719
|
{
|
|
6720
6720
|
name: 'rule-enable',
|
|
6721
6721
|
label: 'Rule Inheritance',
|
|
6722
|
-
data: data$
|
|
6723
|
-
schema: schema$
|
|
6724
|
-
uischema: uischema$
|
|
6722
|
+
data: data$9,
|
|
6723
|
+
schema: schema$8,
|
|
6724
|
+
uischema: uischema$9,
|
|
6725
6725
|
actions: actions$1,
|
|
6726
6726
|
},
|
|
6727
6727
|
]);
|
|
6728
6728
|
|
|
6729
6729
|
var ruleInheritance = /*#__PURE__*/Object.freeze({
|
|
6730
6730
|
__proto__: null,
|
|
6731
|
-
schema: schema$
|
|
6732
|
-
uischema: uischema$
|
|
6733
|
-
data: data$
|
|
6731
|
+
schema: schema$8,
|
|
6732
|
+
uischema: uischema$9,
|
|
6733
|
+
data: data$9
|
|
6734
6734
|
});
|
|
6735
6735
|
|
|
6736
6736
|
const orderSchema = {
|
|
@@ -6764,7 +6764,7 @@ const orderSchema = {
|
|
|
6764
6764
|
},
|
|
6765
6765
|
},
|
|
6766
6766
|
};
|
|
6767
|
-
const uischema$
|
|
6767
|
+
const uischema$8 = {
|
|
6768
6768
|
type: 'VerticalLayout',
|
|
6769
6769
|
elements: [
|
|
6770
6770
|
{
|
|
@@ -6799,7 +6799,7 @@ const uischema$7 = {
|
|
|
6799
6799
|
},
|
|
6800
6800
|
],
|
|
6801
6801
|
};
|
|
6802
|
-
const data$
|
|
6802
|
+
const data$8 = {
|
|
6803
6803
|
orderId: '123456',
|
|
6804
6804
|
purchaseDate: '1985-06-02',
|
|
6805
6805
|
price: 16,
|
|
@@ -6812,15 +6812,127 @@ registerExamples([
|
|
|
6812
6812
|
{
|
|
6813
6813
|
name: 'scope',
|
|
6814
6814
|
label: 'Scope',
|
|
6815
|
-
data: data$
|
|
6815
|
+
data: data$8,
|
|
6816
6816
|
schema: orderSchema,
|
|
6817
|
-
uischema: uischema$
|
|
6817
|
+
uischema: uischema$8,
|
|
6818
6818
|
},
|
|
6819
6819
|
]);
|
|
6820
6820
|
|
|
6821
6821
|
var scope = /*#__PURE__*/Object.freeze({
|
|
6822
6822
|
__proto__: null,
|
|
6823
6823
|
orderSchema: orderSchema,
|
|
6824
|
+
uischema: uischema$8,
|
|
6825
|
+
data: data$8
|
|
6826
|
+
});
|
|
6827
|
+
|
|
6828
|
+
const schema$7 = {
|
|
6829
|
+
type: 'object',
|
|
6830
|
+
properties: {
|
|
6831
|
+
numericKeys: {
|
|
6832
|
+
type: 'object',
|
|
6833
|
+
title: 'Object with purely numeric property names',
|
|
6834
|
+
properties: {
|
|
6835
|
+
'15': {
|
|
6836
|
+
type: 'string',
|
|
6837
|
+
title: 'Property "15"',
|
|
6838
|
+
},
|
|
6839
|
+
'42': {
|
|
6840
|
+
type: 'string',
|
|
6841
|
+
title: 'Property "42"',
|
|
6842
|
+
},
|
|
6843
|
+
},
|
|
6844
|
+
},
|
|
6845
|
+
'property[0]': {
|
|
6846
|
+
type: 'string',
|
|
6847
|
+
title: 'Top-level property containing brackets: "property[0]"',
|
|
6848
|
+
},
|
|
6849
|
+
'nested[0]': {
|
|
6850
|
+
type: 'object',
|
|
6851
|
+
title: 'Object property whose name contains brackets: "nested[0]"',
|
|
6852
|
+
properties: {
|
|
6853
|
+
value: {
|
|
6854
|
+
type: 'string',
|
|
6855
|
+
title: 'Inner value',
|
|
6856
|
+
},
|
|
6857
|
+
},
|
|
6858
|
+
},
|
|
6859
|
+
'dashed-key': {
|
|
6860
|
+
type: 'object',
|
|
6861
|
+
title: 'Mixed: dashed parent with numeric and dashed children',
|
|
6862
|
+
properties: {
|
|
6863
|
+
'15': {
|
|
6864
|
+
type: 'string',
|
|
6865
|
+
title: 'Numeric child "15"',
|
|
6866
|
+
},
|
|
6867
|
+
'non-numeric-key': {
|
|
6868
|
+
type: 'string',
|
|
6869
|
+
title: 'Dashed sibling',
|
|
6870
|
+
},
|
|
6871
|
+
},
|
|
6872
|
+
},
|
|
6873
|
+
},
|
|
6874
|
+
};
|
|
6875
|
+
const uischema$7 = {
|
|
6876
|
+
type: 'VerticalLayout',
|
|
6877
|
+
elements: [
|
|
6878
|
+
{
|
|
6879
|
+
type: 'Group',
|
|
6880
|
+
label: 'Numeric property names',
|
|
6881
|
+
elements: [
|
|
6882
|
+
{
|
|
6883
|
+
type: 'Control',
|
|
6884
|
+
scope: '#/properties/numericKeys/properties/15',
|
|
6885
|
+
},
|
|
6886
|
+
{
|
|
6887
|
+
type: 'Control',
|
|
6888
|
+
scope: '#/properties/numericKeys/properties/42',
|
|
6889
|
+
},
|
|
6890
|
+
],
|
|
6891
|
+
},
|
|
6892
|
+
{
|
|
6893
|
+
type: 'Group',
|
|
6894
|
+
label: 'Property names containing brackets',
|
|
6895
|
+
elements: [
|
|
6896
|
+
{
|
|
6897
|
+
type: 'Control',
|
|
6898
|
+
scope: '#/properties/property[0]',
|
|
6899
|
+
},
|
|
6900
|
+
{
|
|
6901
|
+
type: 'Control',
|
|
6902
|
+
scope: '#/properties/nested[0]/properties/value',
|
|
6903
|
+
},
|
|
6904
|
+
],
|
|
6905
|
+
},
|
|
6906
|
+
{
|
|
6907
|
+
type: 'Group',
|
|
6908
|
+
label: 'Mixed numeric and dashed property names',
|
|
6909
|
+
elements: [
|
|
6910
|
+
{
|
|
6911
|
+
type: 'Control',
|
|
6912
|
+
scope: '#/properties/dashed-key/properties/15',
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
type: 'Control',
|
|
6916
|
+
scope: '#/properties/dashed-key/properties/non-numeric-key',
|
|
6917
|
+
},
|
|
6918
|
+
],
|
|
6919
|
+
},
|
|
6920
|
+
],
|
|
6921
|
+
};
|
|
6922
|
+
const data$7 = {};
|
|
6923
|
+
registerExamples([
|
|
6924
|
+
{
|
|
6925
|
+
name: 'special-property-names',
|
|
6926
|
+
label: 'Special property names (numeric and bracket characters)',
|
|
6927
|
+
data: data$7,
|
|
6928
|
+
schema: schema$7,
|
|
6929
|
+
uischema: uischema$7,
|
|
6930
|
+
},
|
|
6931
|
+
]);
|
|
6932
|
+
|
|
6933
|
+
var specialPropertyNames = /*#__PURE__*/Object.freeze({
|
|
6934
|
+
__proto__: null,
|
|
6935
|
+
schema: schema$7,
|
|
6824
6936
|
uischema: uischema$7,
|
|
6825
6937
|
data: data$7
|
|
6826
6938
|
});
|
|
@@ -7621,5 +7733,5 @@ var jsonschema = /*#__PURE__*/Object.freeze({
|
|
|
7621
7733
|
uischemas: uischemas
|
|
7622
7734
|
});
|
|
7623
7735
|
|
|
7624
|
-
export { additionalErrors$1 as additionalErrors, additionalProperties, allOf, anyOf, anyOfOneOfAllOfResolve, arrays as array, arraysI18n as arrayI18n, arraysWithCustomElementLabel as arrayWithCustomChildLabel, arraysWithDefaults as arrayWithDefaults, arraysWithDetail as arrayWithDetail, arraysWithDetailAndRule as arrayWithDetailAndRule, arraysWithSorting as arrayWithSorting, arraysWithTranslatedCustomElementLabel as arrayWithTranslatedCustomChildLabel, categorization, conditionalSchemaCompositions as conditionalSchemaComposition, config$1 as config, controlOptions, dates, _default as defaultExample, _enum as enumExample, enumI18n, enumInArray, generateDynamic, generate as generateSchema, generateUI as generateUISchema, getExamples, huge, i18n, if_then_else as ifThenElse, _1884 as issue_1884, _1948 as issue_1948, jsonEditor as jsoneditor, jsonschema, layout, listWithDetail, listWithDetailPrimitives, listWithDetailRegistered, login, mixed, mixedObject, enumMulti as multiEnum, enumMultiWithLabelAndDesc as multiEnumWithLabelAndDesc, nestedArrays as nestedArray, nestedCategorization, numbers, object, onChange$1 as onChange, oneOf, oneOfArray, oneOfRecursive, person, prependAppendSlots, radioGroup as radioGroupExample, readonly, registerExamples, rule, ruleInheritance, scope, categorizationStepper as stepper, categorizationStepperNavButtons as steppershownav, string, stringArray, text, validationNestedSameName };
|
|
7736
|
+
export { additionalErrors$1 as additionalErrors, additionalProperties, allOf, anyOf, anyOfOneOfAllOfResolve, arrays as array, arraysI18n as arrayI18n, arraysWithCustomElementLabel as arrayWithCustomChildLabel, arraysWithDefaults as arrayWithDefaults, arraysWithDetail as arrayWithDetail, arraysWithDetailAndRule as arrayWithDetailAndRule, arraysWithSorting as arrayWithSorting, arraysWithTranslatedCustomElementLabel as arrayWithTranslatedCustomChildLabel, categorization, conditionalSchemaCompositions as conditionalSchemaComposition, config$1 as config, controlOptions, dates, _default as defaultExample, _enum as enumExample, enumI18n, enumInArray, generateDynamic, generate as generateSchema, generateUI as generateUISchema, getExamples, huge, i18n, if_then_else as ifThenElse, _1884 as issue_1884, _1948 as issue_1948, jsonEditor as jsoneditor, jsonschema, layout, listWithDetail, listWithDetailPrimitives, listWithDetailRegistered, login, mixed, mixedObject, enumMulti as multiEnum, enumMultiWithLabelAndDesc as multiEnumWithLabelAndDesc, nestedArrays as nestedArray, nestedCategorization, numbers, object, onChange$1 as onChange, oneOf, oneOfArray, oneOfRecursive, person, prependAppendSlots, radioGroup as radioGroupExample, readonly, registerExamples, rule, ruleInheritance, scope, specialPropertyNames, categorizationStepper as stepper, categorizationStepperNavButtons as steppershownav, string, stringArray, text, validationNestedSameName };
|
|
7625
7737
|
//# sourceMappingURL=jsonforms-examples.esm.js.map
|