@jsonforms/examples 3.7.0-alpha.2 → 3.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/examples/prepend-append-slots.d.ts +66 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +580 -474
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +581 -476
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/examples/prepend-append-slots.ts +148 -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$T = {
|
|
16
16
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
17
17
|
definitions: {
|
|
18
18
|
address: {
|
|
@@ -45,7 +45,7 @@ const schema$S = {
|
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
|
-
const uischema$
|
|
48
|
+
const uischema$T = {
|
|
49
49
|
type: 'VerticalLayout',
|
|
50
50
|
elements: [
|
|
51
51
|
{
|
|
@@ -59,7 +59,7 @@ const uischema$S = {
|
|
|
59
59
|
},
|
|
60
60
|
],
|
|
61
61
|
};
|
|
62
|
-
const data$
|
|
62
|
+
const data$V = {
|
|
63
63
|
billing_address: {
|
|
64
64
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
65
65
|
city: 'Washington',
|
|
@@ -70,19 +70,19 @@ registerExamples([
|
|
|
70
70
|
{
|
|
71
71
|
name: 'allOf',
|
|
72
72
|
label: 'allOf',
|
|
73
|
-
data: data$
|
|
74
|
-
schema: schema$
|
|
75
|
-
uischema: uischema$
|
|
73
|
+
data: data$V,
|
|
74
|
+
schema: schema$T,
|
|
75
|
+
uischema: uischema$T,
|
|
76
76
|
},
|
|
77
77
|
]);
|
|
78
78
|
|
|
79
79
|
var allOf = /*#__PURE__*/Object.freeze({
|
|
80
80
|
__proto__: null,
|
|
81
|
-
schema: schema$
|
|
82
|
-
uischema: uischema$
|
|
81
|
+
schema: schema$T,
|
|
82
|
+
uischema: uischema$T
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
const schema$
|
|
85
|
+
const schema$S = {
|
|
86
86
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
87
87
|
definitions: {
|
|
88
88
|
address: {
|
|
@@ -136,7 +136,7 @@ const schema$R = {
|
|
|
136
136
|
},
|
|
137
137
|
},
|
|
138
138
|
};
|
|
139
|
-
const uischema$
|
|
139
|
+
const uischema$S = {
|
|
140
140
|
type: 'VerticalLayout',
|
|
141
141
|
elements: [
|
|
142
142
|
{
|
|
@@ -155,7 +155,7 @@ const uischema$R = {
|
|
|
155
155
|
},
|
|
156
156
|
],
|
|
157
157
|
};
|
|
158
|
-
const data$
|
|
158
|
+
const data$U = {
|
|
159
159
|
addressOrUser: {
|
|
160
160
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
161
161
|
city: 'Washington',
|
|
@@ -174,9 +174,9 @@ registerExamples([
|
|
|
174
174
|
{
|
|
175
175
|
name: 'anyOf',
|
|
176
176
|
label: 'anyOf',
|
|
177
|
-
data: data$
|
|
178
|
-
schema: schema$
|
|
179
|
-
uischema: uischema$
|
|
177
|
+
data: data$U,
|
|
178
|
+
schema: schema$S,
|
|
179
|
+
uischema: uischema$S,
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
name: 'anyOf_simple',
|
|
@@ -189,11 +189,11 @@ registerExamples([
|
|
|
189
189
|
|
|
190
190
|
var anyOf = /*#__PURE__*/Object.freeze({
|
|
191
191
|
__proto__: null,
|
|
192
|
-
schema: schema$
|
|
193
|
-
uischema: uischema$
|
|
192
|
+
schema: schema$S,
|
|
193
|
+
uischema: uischema$S
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
const schema$
|
|
196
|
+
const schema$R = {
|
|
197
197
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
198
198
|
definitions: {
|
|
199
199
|
address: {
|
|
@@ -228,7 +228,7 @@ const schema$Q = {
|
|
|
228
228
|
},
|
|
229
229
|
required: ['name'],
|
|
230
230
|
};
|
|
231
|
-
const uischema$
|
|
231
|
+
const uischema$R = {
|
|
232
232
|
type: 'VerticalLayout',
|
|
233
233
|
elements: [
|
|
234
234
|
{
|
|
@@ -241,7 +241,7 @@ const uischema$Q = {
|
|
|
241
241
|
},
|
|
242
242
|
],
|
|
243
243
|
};
|
|
244
|
-
const data$
|
|
244
|
+
const data$T = {
|
|
245
245
|
name: 'test',
|
|
246
246
|
addressOrUser: {
|
|
247
247
|
name: 'User',
|
|
@@ -463,9 +463,9 @@ registerExamples([
|
|
|
463
463
|
{
|
|
464
464
|
name: 'oneOf',
|
|
465
465
|
label: 'oneOf',
|
|
466
|
-
data: data$
|
|
467
|
-
schema: schema$
|
|
468
|
-
uischema: uischema$
|
|
466
|
+
data: data$T,
|
|
467
|
+
schema: schema$R,
|
|
468
|
+
uischema: uischema$R,
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
471
|
name: 'oneOf_1265_array',
|
|
@@ -506,11 +506,11 @@ registerExamples([
|
|
|
506
506
|
|
|
507
507
|
var oneOf = /*#__PURE__*/Object.freeze({
|
|
508
508
|
__proto__: null,
|
|
509
|
-
schema: schema$
|
|
510
|
-
uischema: uischema$
|
|
509
|
+
schema: schema$R,
|
|
510
|
+
uischema: uischema$R
|
|
511
511
|
});
|
|
512
512
|
|
|
513
|
-
const schema$
|
|
513
|
+
const schema$Q = {
|
|
514
514
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
515
515
|
definitions: {
|
|
516
516
|
address: {
|
|
@@ -545,7 +545,7 @@ const schema$P = {
|
|
|
545
545
|
},
|
|
546
546
|
},
|
|
547
547
|
};
|
|
548
|
-
const uischema$
|
|
548
|
+
const uischema$Q = {
|
|
549
549
|
type: 'VerticalLayout',
|
|
550
550
|
elements: [
|
|
551
551
|
{
|
|
@@ -554,7 +554,7 @@ const uischema$P = {
|
|
|
554
554
|
},
|
|
555
555
|
],
|
|
556
556
|
};
|
|
557
|
-
const data$
|
|
557
|
+
const data$S = {
|
|
558
558
|
name: 'test',
|
|
559
559
|
addressOrUsers: [
|
|
560
560
|
{
|
|
@@ -572,19 +572,19 @@ registerExamples([
|
|
|
572
572
|
{
|
|
573
573
|
name: 'oneOfArray',
|
|
574
574
|
label: 'oneOf - Inside array items',
|
|
575
|
-
data: data$
|
|
576
|
-
schema: schema$
|
|
577
|
-
uischema: uischema$
|
|
575
|
+
data: data$S,
|
|
576
|
+
schema: schema$Q,
|
|
577
|
+
uischema: uischema$Q,
|
|
578
578
|
},
|
|
579
579
|
]);
|
|
580
580
|
|
|
581
581
|
var oneOfArray = /*#__PURE__*/Object.freeze({
|
|
582
582
|
__proto__: null,
|
|
583
|
-
schema: schema$
|
|
584
|
-
uischema: uischema$
|
|
583
|
+
schema: schema$Q,
|
|
584
|
+
uischema: uischema$Q
|
|
585
585
|
});
|
|
586
586
|
|
|
587
|
-
const schema$
|
|
587
|
+
const schema$P = {
|
|
588
588
|
$defs: {
|
|
589
589
|
Base: {
|
|
590
590
|
type: 'object',
|
|
@@ -615,7 +615,7 @@ const schema$O = {
|
|
|
615
615
|
},
|
|
616
616
|
},
|
|
617
617
|
};
|
|
618
|
-
const uischema$
|
|
618
|
+
const uischema$P = {
|
|
619
619
|
type: 'VerticalLayout',
|
|
620
620
|
elements: [
|
|
621
621
|
{
|
|
@@ -640,24 +640,24 @@ const uischema$O = {
|
|
|
640
640
|
},
|
|
641
641
|
],
|
|
642
642
|
};
|
|
643
|
-
const data$
|
|
643
|
+
const data$R = {};
|
|
644
644
|
registerExamples([
|
|
645
645
|
{
|
|
646
646
|
name: 'anyOf-oneOf-allOf-resolve',
|
|
647
647
|
label: 'AnyOf OneOf AllOf Resolve',
|
|
648
|
-
data: data$
|
|
649
|
-
schema: schema$
|
|
650
|
-
uischema: uischema$
|
|
648
|
+
data: data$R,
|
|
649
|
+
schema: schema$P,
|
|
650
|
+
uischema: uischema$P,
|
|
651
651
|
},
|
|
652
652
|
]);
|
|
653
653
|
|
|
654
654
|
var anyOfOneOfAllOfResolve = /*#__PURE__*/Object.freeze({
|
|
655
655
|
__proto__: null,
|
|
656
|
-
schema: schema$
|
|
657
|
-
uischema: uischema$
|
|
656
|
+
schema: schema$P,
|
|
657
|
+
uischema: uischema$P
|
|
658
658
|
});
|
|
659
659
|
|
|
660
|
-
const schema$
|
|
660
|
+
const schema$O = {
|
|
661
661
|
type: 'object',
|
|
662
662
|
properties: {
|
|
663
663
|
comments: {
|
|
@@ -687,7 +687,7 @@ const schema$N = {
|
|
|
687
687
|
foo: { type: 'string' },
|
|
688
688
|
},
|
|
689
689
|
};
|
|
690
|
-
const uischema$
|
|
690
|
+
const uischema$O = {
|
|
691
691
|
type: 'VerticalLayout',
|
|
692
692
|
elements: [
|
|
693
693
|
{
|
|
@@ -719,7 +719,7 @@ const uischemaWithSorting$1 = {
|
|
|
719
719
|
},
|
|
720
720
|
],
|
|
721
721
|
};
|
|
722
|
-
const data$
|
|
722
|
+
const data$Q = {
|
|
723
723
|
comments: [
|
|
724
724
|
{
|
|
725
725
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -747,7 +747,7 @@ const actions$7 = [
|
|
|
747
747
|
apply: (props) => {
|
|
748
748
|
return {
|
|
749
749
|
...props,
|
|
750
|
-
uischema: uischema$
|
|
750
|
+
uischema: uischema$O,
|
|
751
751
|
};
|
|
752
752
|
},
|
|
753
753
|
},
|
|
@@ -762,9 +762,9 @@ registerExamples([
|
|
|
762
762
|
{
|
|
763
763
|
name: 'array',
|
|
764
764
|
label: 'Array',
|
|
765
|
-
data: data$
|
|
766
|
-
schema: schema$
|
|
767
|
-
uischema: uischema$
|
|
765
|
+
data: data$Q,
|
|
766
|
+
schema: schema$O,
|
|
767
|
+
uischema: uischema$O,
|
|
768
768
|
config: {
|
|
769
769
|
withSort: uischemaWithSorting$1,
|
|
770
770
|
},
|
|
@@ -774,13 +774,13 @@ registerExamples([
|
|
|
774
774
|
|
|
775
775
|
var arrays = /*#__PURE__*/Object.freeze({
|
|
776
776
|
__proto__: null,
|
|
777
|
-
schema: schema$
|
|
778
|
-
uischema: uischema$
|
|
777
|
+
schema: schema$O,
|
|
778
|
+
uischema: uischema$O,
|
|
779
779
|
uischemaWithSorting: uischemaWithSorting$1,
|
|
780
|
-
data: data$
|
|
780
|
+
data: data$Q
|
|
781
781
|
});
|
|
782
782
|
|
|
783
|
-
const schema$
|
|
783
|
+
const schema$N = {
|
|
784
784
|
type: 'object',
|
|
785
785
|
properties: {
|
|
786
786
|
comments: {
|
|
@@ -805,7 +805,7 @@ const schema$M = {
|
|
|
805
805
|
},
|
|
806
806
|
},
|
|
807
807
|
};
|
|
808
|
-
const uischema$
|
|
808
|
+
const uischema$N = {
|
|
809
809
|
type: 'VerticalLayout',
|
|
810
810
|
elements: [
|
|
811
811
|
{
|
|
@@ -817,7 +817,7 @@ const uischema$M = {
|
|
|
817
817
|
},
|
|
818
818
|
],
|
|
819
819
|
};
|
|
820
|
-
const data$
|
|
820
|
+
const data$P = {
|
|
821
821
|
comments: [
|
|
822
822
|
{
|
|
823
823
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -845,9 +845,9 @@ registerExamples([
|
|
|
845
845
|
{
|
|
846
846
|
name: 'array-i18n',
|
|
847
847
|
label: 'Array (i18n)',
|
|
848
|
-
data: data$
|
|
849
|
-
schema: schema$
|
|
850
|
-
uischema: uischema$
|
|
848
|
+
data: data$P,
|
|
849
|
+
schema: schema$N,
|
|
850
|
+
uischema: uischema$N,
|
|
851
851
|
i18n: {
|
|
852
852
|
translate: translate$3,
|
|
853
853
|
locale: 'en',
|
|
@@ -857,14 +857,14 @@ registerExamples([
|
|
|
857
857
|
|
|
858
858
|
var arraysI18n = /*#__PURE__*/Object.freeze({
|
|
859
859
|
__proto__: null,
|
|
860
|
-
schema: schema$
|
|
861
|
-
uischema: uischema$
|
|
862
|
-
data: data$
|
|
860
|
+
schema: schema$N,
|
|
861
|
+
uischema: uischema$N,
|
|
862
|
+
data: data$P,
|
|
863
863
|
translations: translations$2,
|
|
864
864
|
translate: translate$3
|
|
865
865
|
});
|
|
866
866
|
|
|
867
|
-
const schema$
|
|
867
|
+
const schema$M = {
|
|
868
868
|
definitions: {
|
|
869
869
|
choicesContainer: {
|
|
870
870
|
type: 'object',
|
|
@@ -889,7 +889,7 @@ const schema$L = {
|
|
|
889
889
|
},
|
|
890
890
|
},
|
|
891
891
|
};
|
|
892
|
-
const uischema$
|
|
892
|
+
const uischema$M = {
|
|
893
893
|
type: 'HorizontalLayout',
|
|
894
894
|
elements: [
|
|
895
895
|
{
|
|
@@ -902,7 +902,7 @@ const uischema$L = {
|
|
|
902
902
|
},
|
|
903
903
|
],
|
|
904
904
|
};
|
|
905
|
-
const data$
|
|
905
|
+
const data$O = {
|
|
906
906
|
exampleArray: [
|
|
907
907
|
{
|
|
908
908
|
choices: ['This', 'is', 'an', 'example'],
|
|
@@ -954,19 +954,19 @@ registerExamples([
|
|
|
954
954
|
{
|
|
955
955
|
name: 'nestedArray',
|
|
956
956
|
label: 'Nested Array',
|
|
957
|
-
data: data$
|
|
958
|
-
schema: schema$
|
|
959
|
-
uischema: uischema$
|
|
957
|
+
data: data$O,
|
|
958
|
+
schema: schema$M,
|
|
959
|
+
uischema: uischema$M,
|
|
960
960
|
actions: actions$6,
|
|
961
961
|
},
|
|
962
962
|
]);
|
|
963
963
|
|
|
964
964
|
var nestedArrays = /*#__PURE__*/Object.freeze({
|
|
965
965
|
__proto__: null,
|
|
966
|
-
uischema: uischema$
|
|
966
|
+
uischema: uischema$M
|
|
967
967
|
});
|
|
968
968
|
|
|
969
|
-
const schema$
|
|
969
|
+
const schema$L = {
|
|
970
970
|
type: 'object',
|
|
971
971
|
properties: {
|
|
972
972
|
cat1: {
|
|
@@ -1004,7 +1004,7 @@ const schema$K = {
|
|
|
1004
1004
|
},
|
|
1005
1005
|
},
|
|
1006
1006
|
};
|
|
1007
|
-
const uischema$
|
|
1007
|
+
const uischema$L = {
|
|
1008
1008
|
type: 'Categorization',
|
|
1009
1009
|
elements: [
|
|
1010
1010
|
{
|
|
@@ -1102,22 +1102,22 @@ const uischema$K = {
|
|
|
1102
1102
|
},
|
|
1103
1103
|
],
|
|
1104
1104
|
};
|
|
1105
|
-
const data$
|
|
1105
|
+
const data$N = {};
|
|
1106
1106
|
registerExamples([
|
|
1107
1107
|
{
|
|
1108
1108
|
name: 'nestedCategorization',
|
|
1109
1109
|
label: 'Nested Categorization',
|
|
1110
|
-
data: data$
|
|
1111
|
-
schema: schema$
|
|
1112
|
-
uischema: uischema$
|
|
1110
|
+
data: data$N,
|
|
1111
|
+
schema: schema$L,
|
|
1112
|
+
uischema: uischema$L,
|
|
1113
1113
|
},
|
|
1114
1114
|
]);
|
|
1115
1115
|
|
|
1116
1116
|
var nestedCategorization = /*#__PURE__*/Object.freeze({
|
|
1117
1117
|
__proto__: null,
|
|
1118
|
-
schema: schema$
|
|
1119
|
-
uischema: uischema$
|
|
1120
|
-
data: data$
|
|
1118
|
+
schema: schema$L,
|
|
1119
|
+
uischema: uischema$L,
|
|
1120
|
+
data: data$N
|
|
1121
1121
|
});
|
|
1122
1122
|
|
|
1123
1123
|
const personCoreSchema = {
|
|
@@ -1142,7 +1142,7 @@ const personCoreSchema = {
|
|
|
1142
1142
|
},
|
|
1143
1143
|
},
|
|
1144
1144
|
};
|
|
1145
|
-
const schema$
|
|
1145
|
+
const schema$K = {
|
|
1146
1146
|
type: 'object',
|
|
1147
1147
|
properties: {
|
|
1148
1148
|
...personCoreSchema.properties,
|
|
@@ -1182,7 +1182,7 @@ const schema$J = {
|
|
|
1182
1182
|
},
|
|
1183
1183
|
required: ['occupation', 'nationality'],
|
|
1184
1184
|
};
|
|
1185
|
-
const uischema$
|
|
1185
|
+
const uischema$K = {
|
|
1186
1186
|
type: 'VerticalLayout',
|
|
1187
1187
|
elements: [
|
|
1188
1188
|
{
|
|
@@ -1237,7 +1237,7 @@ const uischema$J = {
|
|
|
1237
1237
|
},
|
|
1238
1238
|
],
|
|
1239
1239
|
};
|
|
1240
|
-
const data$
|
|
1240
|
+
const data$M = {
|
|
1241
1241
|
name: 'John Doe',
|
|
1242
1242
|
vegetarian: false,
|
|
1243
1243
|
birthDate: '1985-06-02',
|
|
@@ -1250,21 +1250,21 @@ registerExamples([
|
|
|
1250
1250
|
{
|
|
1251
1251
|
name: 'person',
|
|
1252
1252
|
label: 'Person',
|
|
1253
|
-
data: data$
|
|
1254
|
-
schema: schema$
|
|
1255
|
-
uischema: uischema$
|
|
1253
|
+
data: data$M,
|
|
1254
|
+
schema: schema$K,
|
|
1255
|
+
uischema: uischema$K,
|
|
1256
1256
|
},
|
|
1257
1257
|
]);
|
|
1258
1258
|
|
|
1259
1259
|
var person = /*#__PURE__*/Object.freeze({
|
|
1260
1260
|
__proto__: null,
|
|
1261
1261
|
personCoreSchema: personCoreSchema,
|
|
1262
|
-
schema: schema$
|
|
1263
|
-
uischema: uischema$
|
|
1264
|
-
data: data$
|
|
1262
|
+
schema: schema$K,
|
|
1263
|
+
uischema: uischema$K,
|
|
1264
|
+
data: data$M
|
|
1265
1265
|
});
|
|
1266
1266
|
|
|
1267
|
-
const schema$
|
|
1267
|
+
const schema$J = {
|
|
1268
1268
|
type: 'object',
|
|
1269
1269
|
properties: {
|
|
1270
1270
|
...personCoreSchema.properties,
|
|
@@ -1291,7 +1291,7 @@ const schema$I = {
|
|
|
1291
1291
|
},
|
|
1292
1292
|
required: ['occupation', 'nationality'],
|
|
1293
1293
|
};
|
|
1294
|
-
const uischema$
|
|
1294
|
+
const uischema$J = {
|
|
1295
1295
|
type: 'VerticalLayout',
|
|
1296
1296
|
elements: [
|
|
1297
1297
|
{
|
|
@@ -1317,7 +1317,7 @@ const uischema$I = {
|
|
|
1317
1317
|
},
|
|
1318
1318
|
],
|
|
1319
1319
|
};
|
|
1320
|
-
const data$
|
|
1320
|
+
const data$L = {
|
|
1321
1321
|
comments: [
|
|
1322
1322
|
{
|
|
1323
1323
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1341,21 +1341,21 @@ registerExamples([
|
|
|
1341
1341
|
{
|
|
1342
1342
|
name: 'array-with-detail',
|
|
1343
1343
|
label: 'Array with detail',
|
|
1344
|
-
data: data$
|
|
1345
|
-
schema: schema$
|
|
1346
|
-
uischema: uischema$
|
|
1344
|
+
data: data$L,
|
|
1345
|
+
schema: schema$J,
|
|
1346
|
+
uischema: uischema$J,
|
|
1347
1347
|
actions: actions$5,
|
|
1348
1348
|
},
|
|
1349
1349
|
]);
|
|
1350
1350
|
|
|
1351
1351
|
var arraysWithDetail = /*#__PURE__*/Object.freeze({
|
|
1352
1352
|
__proto__: null,
|
|
1353
|
-
schema: schema$
|
|
1354
|
-
uischema: uischema$
|
|
1355
|
-
data: data$
|
|
1353
|
+
schema: schema$J,
|
|
1354
|
+
uischema: uischema$J,
|
|
1355
|
+
data: data$L
|
|
1356
1356
|
});
|
|
1357
1357
|
|
|
1358
|
-
const schema$
|
|
1358
|
+
const schema$I = {
|
|
1359
1359
|
type: 'object',
|
|
1360
1360
|
properties: {
|
|
1361
1361
|
...personCoreSchema.properties,
|
|
@@ -1381,7 +1381,7 @@ const schema$H = {
|
|
|
1381
1381
|
},
|
|
1382
1382
|
required: ['occupation', 'nationality'],
|
|
1383
1383
|
};
|
|
1384
|
-
const uischema$
|
|
1384
|
+
const uischema$I = {
|
|
1385
1385
|
type: 'VerticalLayout',
|
|
1386
1386
|
elements: [
|
|
1387
1387
|
{
|
|
@@ -1429,7 +1429,7 @@ const uischema$H = {
|
|
|
1429
1429
|
},
|
|
1430
1430
|
],
|
|
1431
1431
|
};
|
|
1432
|
-
const data$
|
|
1432
|
+
const data$K = {
|
|
1433
1433
|
occupation: 'developer',
|
|
1434
1434
|
comments: [
|
|
1435
1435
|
{
|
|
@@ -1446,20 +1446,20 @@ registerExamples([
|
|
|
1446
1446
|
{
|
|
1447
1447
|
name: 'array-with-detail-and-rule',
|
|
1448
1448
|
label: 'Array with detail and rule',
|
|
1449
|
-
data: data$
|
|
1450
|
-
schema: schema$
|
|
1451
|
-
uischema: uischema$
|
|
1449
|
+
data: data$K,
|
|
1450
|
+
schema: schema$I,
|
|
1451
|
+
uischema: uischema$I,
|
|
1452
1452
|
},
|
|
1453
1453
|
]);
|
|
1454
1454
|
|
|
1455
1455
|
var arraysWithDetailAndRule = /*#__PURE__*/Object.freeze({
|
|
1456
1456
|
__proto__: null,
|
|
1457
|
-
schema: schema$
|
|
1458
|
-
uischema: uischema$
|
|
1459
|
-
data: data$
|
|
1457
|
+
schema: schema$I,
|
|
1458
|
+
uischema: uischema$I,
|
|
1459
|
+
data: data$K
|
|
1460
1460
|
});
|
|
1461
1461
|
|
|
1462
|
-
const schema$
|
|
1462
|
+
const schema$H = {
|
|
1463
1463
|
type: 'object',
|
|
1464
1464
|
properties: {
|
|
1465
1465
|
comments: {
|
|
@@ -1479,7 +1479,7 @@ const schema$G = {
|
|
|
1479
1479
|
},
|
|
1480
1480
|
},
|
|
1481
1481
|
};
|
|
1482
|
-
const uischema$
|
|
1482
|
+
const uischema$H = {
|
|
1483
1483
|
type: 'VerticalLayout',
|
|
1484
1484
|
elements: [
|
|
1485
1485
|
{
|
|
@@ -1504,7 +1504,7 @@ const uischema$G = {
|
|
|
1504
1504
|
},
|
|
1505
1505
|
],
|
|
1506
1506
|
};
|
|
1507
|
-
const data$
|
|
1507
|
+
const data$J = {
|
|
1508
1508
|
comments: [
|
|
1509
1509
|
{
|
|
1510
1510
|
message1: 'This is an example message',
|
|
@@ -1520,20 +1520,20 @@ registerExamples([
|
|
|
1520
1520
|
{
|
|
1521
1521
|
name: 'array-with-custom-element-label',
|
|
1522
1522
|
label: 'Array with custom element label',
|
|
1523
|
-
data: data$
|
|
1524
|
-
schema: schema$
|
|
1525
|
-
uischema: uischema$
|
|
1523
|
+
data: data$J,
|
|
1524
|
+
schema: schema$H,
|
|
1525
|
+
uischema: uischema$H,
|
|
1526
1526
|
},
|
|
1527
1527
|
]);
|
|
1528
1528
|
|
|
1529
1529
|
var arraysWithCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1530
1530
|
__proto__: null,
|
|
1531
|
-
schema: schema$
|
|
1532
|
-
uischema: uischema$
|
|
1533
|
-
data: data$
|
|
1531
|
+
schema: schema$H,
|
|
1532
|
+
uischema: uischema$H,
|
|
1533
|
+
data: data$J
|
|
1534
1534
|
});
|
|
1535
1535
|
|
|
1536
|
-
const schema$
|
|
1536
|
+
const schema$G = {
|
|
1537
1537
|
type: 'object',
|
|
1538
1538
|
properties: {
|
|
1539
1539
|
comments: {
|
|
@@ -1561,7 +1561,7 @@ const schema$F = {
|
|
|
1561
1561
|
foo: { type: 'string' },
|
|
1562
1562
|
},
|
|
1563
1563
|
};
|
|
1564
|
-
const uischema$
|
|
1564
|
+
const uischema$G = {
|
|
1565
1565
|
type: 'VerticalLayout',
|
|
1566
1566
|
elements: [
|
|
1567
1567
|
{
|
|
@@ -1595,7 +1595,7 @@ const uischemaWithSorting = {
|
|
|
1595
1595
|
},
|
|
1596
1596
|
],
|
|
1597
1597
|
};
|
|
1598
|
-
const data$
|
|
1598
|
+
const data$I = {
|
|
1599
1599
|
comments: [
|
|
1600
1600
|
{
|
|
1601
1601
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1622,7 +1622,7 @@ const actions$4 = [
|
|
|
1622
1622
|
apply: (props) => {
|
|
1623
1623
|
return {
|
|
1624
1624
|
...props,
|
|
1625
|
-
uischema: uischema$
|
|
1625
|
+
uischema: uischema$G,
|
|
1626
1626
|
};
|
|
1627
1627
|
},
|
|
1628
1628
|
},
|
|
@@ -1631,9 +1631,9 @@ registerExamples([
|
|
|
1631
1631
|
{
|
|
1632
1632
|
name: 'array-with-sorting',
|
|
1633
1633
|
label: 'Array with sorting',
|
|
1634
|
-
data: data$
|
|
1635
|
-
schema: schema$
|
|
1636
|
-
uischema: uischema$
|
|
1634
|
+
data: data$I,
|
|
1635
|
+
schema: schema$G,
|
|
1636
|
+
uischema: uischema$G,
|
|
1637
1637
|
config: {
|
|
1638
1638
|
withSort: uischemaWithSorting,
|
|
1639
1639
|
},
|
|
@@ -1643,13 +1643,13 @@ registerExamples([
|
|
|
1643
1643
|
|
|
1644
1644
|
var arraysWithSorting = /*#__PURE__*/Object.freeze({
|
|
1645
1645
|
__proto__: null,
|
|
1646
|
-
schema: schema$
|
|
1647
|
-
uischema: uischema$
|
|
1646
|
+
schema: schema$G,
|
|
1647
|
+
uischema: uischema$G,
|
|
1648
1648
|
uischemaWithSorting: uischemaWithSorting,
|
|
1649
|
-
data: data$
|
|
1649
|
+
data: data$I
|
|
1650
1650
|
});
|
|
1651
1651
|
|
|
1652
|
-
const data$
|
|
1652
|
+
const data$H = {
|
|
1653
1653
|
article: {
|
|
1654
1654
|
title: 'title',
|
|
1655
1655
|
comments: [
|
|
@@ -1674,7 +1674,7 @@ const data$G = {
|
|
|
1674
1674
|
],
|
|
1675
1675
|
},
|
|
1676
1676
|
};
|
|
1677
|
-
const schema$
|
|
1677
|
+
const schema$F = {
|
|
1678
1678
|
type: 'object',
|
|
1679
1679
|
properties: {
|
|
1680
1680
|
article: {
|
|
@@ -1760,7 +1760,7 @@ const detail = {
|
|
|
1760
1760
|
},
|
|
1761
1761
|
],
|
|
1762
1762
|
};
|
|
1763
|
-
const uischema$
|
|
1763
|
+
const uischema$F = {
|
|
1764
1764
|
type: 'VerticalLayout',
|
|
1765
1765
|
elements: [
|
|
1766
1766
|
{
|
|
@@ -1884,9 +1884,9 @@ registerExamples([
|
|
|
1884
1884
|
{
|
|
1885
1885
|
name: 'array-with-translated-custom-element-label',
|
|
1886
1886
|
label: 'Array with translated custom element label',
|
|
1887
|
-
data: data$
|
|
1888
|
-
schema: schema$
|
|
1889
|
-
uischema: uischema$
|
|
1887
|
+
data: data$H,
|
|
1888
|
+
schema: schema$F,
|
|
1889
|
+
uischema: uischema$F,
|
|
1890
1890
|
i18n: {
|
|
1891
1891
|
translate: translate$2,
|
|
1892
1892
|
locale: 'en',
|
|
@@ -1896,12 +1896,12 @@ registerExamples([
|
|
|
1896
1896
|
|
|
1897
1897
|
var arraysWithTranslatedCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1898
1898
|
__proto__: null,
|
|
1899
|
-
data: data$
|
|
1900
|
-
uischema: uischema$
|
|
1899
|
+
data: data$H,
|
|
1900
|
+
uischema: uischema$F,
|
|
1901
1901
|
translate: translate$2
|
|
1902
1902
|
});
|
|
1903
1903
|
|
|
1904
|
-
const schema$
|
|
1904
|
+
const schema$E = {
|
|
1905
1905
|
definitions: {
|
|
1906
1906
|
itemsType: {
|
|
1907
1907
|
type: 'object',
|
|
@@ -1973,7 +1973,7 @@ const schema$D = {
|
|
|
1973
1973
|
},
|
|
1974
1974
|
},
|
|
1975
1975
|
};
|
|
1976
|
-
const uischema$
|
|
1976
|
+
const uischema$E = {
|
|
1977
1977
|
type: 'VerticalLayout',
|
|
1978
1978
|
elements: [
|
|
1979
1979
|
{
|
|
@@ -1990,25 +1990,25 @@ const uischema$D = {
|
|
|
1990
1990
|
},
|
|
1991
1991
|
],
|
|
1992
1992
|
};
|
|
1993
|
-
const data$
|
|
1993
|
+
const data$G = {};
|
|
1994
1994
|
registerExamples([
|
|
1995
1995
|
{
|
|
1996
1996
|
name: 'array-with-defaults',
|
|
1997
1997
|
label: 'Array with defaults',
|
|
1998
|
-
data: data$
|
|
1999
|
-
schema: schema$
|
|
2000
|
-
uischema: uischema$
|
|
1998
|
+
data: data$G,
|
|
1999
|
+
schema: schema$E,
|
|
2000
|
+
uischema: uischema$E,
|
|
2001
2001
|
},
|
|
2002
2002
|
]);
|
|
2003
2003
|
|
|
2004
2004
|
var arraysWithDefaults = /*#__PURE__*/Object.freeze({
|
|
2005
2005
|
__proto__: null,
|
|
2006
|
-
schema: schema$
|
|
2007
|
-
uischema: uischema$
|
|
2008
|
-
data: data$
|
|
2006
|
+
schema: schema$E,
|
|
2007
|
+
uischema: uischema$E,
|
|
2008
|
+
data: data$G
|
|
2009
2009
|
});
|
|
2010
2010
|
|
|
2011
|
-
const schema$
|
|
2011
|
+
const schema$D = {
|
|
2012
2012
|
type: 'object',
|
|
2013
2013
|
properties: {
|
|
2014
2014
|
comments: {
|
|
@@ -2021,7 +2021,7 @@ const schema$C = {
|
|
|
2021
2021
|
},
|
|
2022
2022
|
},
|
|
2023
2023
|
};
|
|
2024
|
-
const uischema$
|
|
2024
|
+
const uischema$D = {
|
|
2025
2025
|
type: 'VerticalLayout',
|
|
2026
2026
|
elements: [
|
|
2027
2027
|
{
|
|
@@ -2030,27 +2030,27 @@ const uischema$C = {
|
|
|
2030
2030
|
},
|
|
2031
2031
|
],
|
|
2032
2032
|
};
|
|
2033
|
-
const data$
|
|
2033
|
+
const data$F = {
|
|
2034
2034
|
comments: ['one string', 'two strings'],
|
|
2035
2035
|
};
|
|
2036
2036
|
registerExamples([
|
|
2037
2037
|
{
|
|
2038
2038
|
name: 'stringArray',
|
|
2039
2039
|
label: 'Array of Strings',
|
|
2040
|
-
data: data$
|
|
2041
|
-
schema: schema$
|
|
2042
|
-
uischema: uischema$
|
|
2040
|
+
data: data$F,
|
|
2041
|
+
schema: schema$D,
|
|
2042
|
+
uischema: uischema$D,
|
|
2043
2043
|
},
|
|
2044
2044
|
]);
|
|
2045
2045
|
|
|
2046
2046
|
var stringArray = /*#__PURE__*/Object.freeze({
|
|
2047
2047
|
__proto__: null,
|
|
2048
|
-
schema: schema$
|
|
2049
|
-
uischema: uischema$
|
|
2050
|
-
data: data$
|
|
2048
|
+
schema: schema$D,
|
|
2049
|
+
uischema: uischema$D,
|
|
2050
|
+
data: data$F
|
|
2051
2051
|
});
|
|
2052
2052
|
|
|
2053
|
-
const schema$
|
|
2053
|
+
const schema$C = {
|
|
2054
2054
|
type: 'object',
|
|
2055
2055
|
properties: {
|
|
2056
2056
|
firstName: {
|
|
@@ -2113,7 +2113,7 @@ const schema$B = {
|
|
|
2113
2113
|
},
|
|
2114
2114
|
},
|
|
2115
2115
|
};
|
|
2116
|
-
const uischema$
|
|
2116
|
+
const uischema$C = {
|
|
2117
2117
|
type: 'Categorization',
|
|
2118
2118
|
elements: [
|
|
2119
2119
|
{
|
|
@@ -2229,7 +2229,7 @@ const uischema$B = {
|
|
|
2229
2229
|
},
|
|
2230
2230
|
],
|
|
2231
2231
|
};
|
|
2232
|
-
const data$
|
|
2232
|
+
const data$E = {
|
|
2233
2233
|
provideAddress: true,
|
|
2234
2234
|
vegetarian: false,
|
|
2235
2235
|
};
|
|
@@ -2317,15 +2317,15 @@ registerExamples([
|
|
|
2317
2317
|
{
|
|
2318
2318
|
name: 'categorization',
|
|
2319
2319
|
label: 'Categorization',
|
|
2320
|
-
data: data$
|
|
2321
|
-
schema: schema$
|
|
2322
|
-
uischema: uischema$
|
|
2320
|
+
data: data$E,
|
|
2321
|
+
schema: schema$C,
|
|
2322
|
+
uischema: uischema$C,
|
|
2323
2323
|
i18n: { locale: 'en', translate: translate$1 },
|
|
2324
2324
|
},
|
|
2325
2325
|
{
|
|
2326
2326
|
name: 'categorization_1713',
|
|
2327
2327
|
label: 'Categorization - Issue 1713',
|
|
2328
|
-
data: data$
|
|
2328
|
+
data: data$E,
|
|
2329
2329
|
schema: schema_1713,
|
|
2330
2330
|
uischema: uischema_1713,
|
|
2331
2331
|
},
|
|
@@ -2333,65 +2333,65 @@ registerExamples([
|
|
|
2333
2333
|
|
|
2334
2334
|
var categorization = /*#__PURE__*/Object.freeze({
|
|
2335
2335
|
__proto__: null,
|
|
2336
|
-
schema: schema$
|
|
2337
|
-
uischema: uischema$
|
|
2338
|
-
data: data$
|
|
2336
|
+
schema: schema$C,
|
|
2337
|
+
uischema: uischema$C,
|
|
2338
|
+
data: data$E,
|
|
2339
2339
|
translations: translations$1,
|
|
2340
2340
|
translate: translate$1
|
|
2341
2341
|
});
|
|
2342
2342
|
|
|
2343
|
-
const schema$
|
|
2344
|
-
const uischema$
|
|
2345
|
-
...uischema$
|
|
2343
|
+
const schema$B = schema$C;
|
|
2344
|
+
const uischema$B = {
|
|
2345
|
+
...uischema$C,
|
|
2346
2346
|
options: {
|
|
2347
2347
|
variant: 'stepper',
|
|
2348
2348
|
},
|
|
2349
2349
|
};
|
|
2350
|
-
const data$
|
|
2350
|
+
const data$D = data$E;
|
|
2351
2351
|
registerExamples([
|
|
2352
2352
|
{
|
|
2353
2353
|
name: 'categorizationstepper',
|
|
2354
2354
|
label: 'Categorization (Stepper)',
|
|
2355
|
-
data: data$
|
|
2356
|
-
schema: schema$
|
|
2357
|
-
uischema: uischema$
|
|
2355
|
+
data: data$D,
|
|
2356
|
+
schema: schema$B,
|
|
2357
|
+
uischema: uischema$B,
|
|
2358
2358
|
},
|
|
2359
2359
|
]);
|
|
2360
2360
|
|
|
2361
2361
|
var categorizationStepper = /*#__PURE__*/Object.freeze({
|
|
2362
2362
|
__proto__: null,
|
|
2363
|
-
schema: schema$
|
|
2364
|
-
uischema: uischema$
|
|
2365
|
-
data: data$
|
|
2363
|
+
schema: schema$B,
|
|
2364
|
+
uischema: uischema$B,
|
|
2365
|
+
data: data$D
|
|
2366
2366
|
});
|
|
2367
2367
|
|
|
2368
|
-
const schema$
|
|
2369
|
-
const uischema$
|
|
2370
|
-
...uischema$
|
|
2368
|
+
const schema$A = schema$C;
|
|
2369
|
+
const uischema$A = {
|
|
2370
|
+
...uischema$C,
|
|
2371
2371
|
options: {
|
|
2372
2372
|
variant: 'stepper',
|
|
2373
2373
|
showNavButtons: true,
|
|
2374
2374
|
},
|
|
2375
2375
|
};
|
|
2376
|
-
const data$
|
|
2376
|
+
const data$C = data$E;
|
|
2377
2377
|
registerExamples([
|
|
2378
2378
|
{
|
|
2379
2379
|
name: 'categorization-stepper-nav-buttons',
|
|
2380
2380
|
label: 'Categorization (Stepper - Nav Buttons)',
|
|
2381
|
-
data: data$
|
|
2382
|
-
schema: schema$
|
|
2383
|
-
uischema: uischema$
|
|
2381
|
+
data: data$C,
|
|
2382
|
+
schema: schema$A,
|
|
2383
|
+
uischema: uischema$A,
|
|
2384
2384
|
},
|
|
2385
2385
|
]);
|
|
2386
2386
|
|
|
2387
2387
|
var categorizationStepperNavButtons = /*#__PURE__*/Object.freeze({
|
|
2388
2388
|
__proto__: null,
|
|
2389
|
-
schema: schema$
|
|
2390
|
-
uischema: uischema$
|
|
2391
|
-
data: data$
|
|
2389
|
+
schema: schema$A,
|
|
2390
|
+
uischema: uischema$A,
|
|
2391
|
+
data: data$C
|
|
2392
2392
|
});
|
|
2393
2393
|
|
|
2394
|
-
const schema$
|
|
2394
|
+
const schema$z = {
|
|
2395
2395
|
type: 'object',
|
|
2396
2396
|
properties: {
|
|
2397
2397
|
string: {
|
|
@@ -2425,7 +2425,7 @@ const schema$y = {
|
|
|
2425
2425
|
},
|
|
2426
2426
|
},
|
|
2427
2427
|
};
|
|
2428
|
-
const uischema$
|
|
2428
|
+
const uischema$z = {
|
|
2429
2429
|
type: 'VerticalLayout',
|
|
2430
2430
|
elements: [
|
|
2431
2431
|
{
|
|
@@ -2462,7 +2462,7 @@ const uischema$y = {
|
|
|
2462
2462
|
},
|
|
2463
2463
|
],
|
|
2464
2464
|
};
|
|
2465
|
-
const data$
|
|
2465
|
+
const data$B = {
|
|
2466
2466
|
string: 'This is a string',
|
|
2467
2467
|
boolean: true,
|
|
2468
2468
|
number: 50.5,
|
|
@@ -2575,7 +2575,7 @@ const extendedData = {
|
|
|
2575
2575
|
const combinedSchema = {
|
|
2576
2576
|
...extendedSchema,
|
|
2577
2577
|
properties: {
|
|
2578
|
-
...schema$
|
|
2578
|
+
...schema$z.properties,
|
|
2579
2579
|
...extendedSchema.properties,
|
|
2580
2580
|
},
|
|
2581
2581
|
};
|
|
@@ -2585,7 +2585,7 @@ const combinedUiSchema = {
|
|
|
2585
2585
|
{
|
|
2586
2586
|
type: 'Category',
|
|
2587
2587
|
label: 'Normal controls',
|
|
2588
|
-
elements: [uischema$
|
|
2588
|
+
elements: [uischema$z],
|
|
2589
2589
|
},
|
|
2590
2590
|
{
|
|
2591
2591
|
type: 'Category',
|
|
@@ -2595,7 +2595,7 @@ const combinedUiSchema = {
|
|
|
2595
2595
|
],
|
|
2596
2596
|
};
|
|
2597
2597
|
const combinedData = {
|
|
2598
|
-
...data$
|
|
2598
|
+
...data$B,
|
|
2599
2599
|
...extendedData,
|
|
2600
2600
|
};
|
|
2601
2601
|
registerExamples([
|
|
@@ -2610,15 +2610,15 @@ registerExamples([
|
|
|
2610
2610
|
|
|
2611
2611
|
var controlOptions = /*#__PURE__*/Object.freeze({
|
|
2612
2612
|
__proto__: null,
|
|
2613
|
-
schema: schema$
|
|
2614
|
-
uischema: uischema$
|
|
2615
|
-
data: data$
|
|
2613
|
+
schema: schema$z,
|
|
2614
|
+
uischema: uischema$z,
|
|
2615
|
+
data: data$B,
|
|
2616
2616
|
extendedSchema: extendedSchema,
|
|
2617
2617
|
extendedUischema: extendedUischema,
|
|
2618
2618
|
extendedData: extendedData
|
|
2619
2619
|
});
|
|
2620
2620
|
|
|
2621
|
-
const schema$
|
|
2621
|
+
const schema$y = {
|
|
2622
2622
|
type: 'object',
|
|
2623
2623
|
properties: {
|
|
2624
2624
|
schemaBased: {
|
|
@@ -2660,7 +2660,7 @@ const schema$x = {
|
|
|
2660
2660
|
},
|
|
2661
2661
|
},
|
|
2662
2662
|
};
|
|
2663
|
-
const uischema$
|
|
2663
|
+
const uischema$y = {
|
|
2664
2664
|
type: 'VerticalLayout',
|
|
2665
2665
|
elements: [
|
|
2666
2666
|
{
|
|
@@ -2719,7 +2719,7 @@ const uischema$x = {
|
|
|
2719
2719
|
},
|
|
2720
2720
|
],
|
|
2721
2721
|
};
|
|
2722
|
-
const data$
|
|
2722
|
+
const data$A = {
|
|
2723
2723
|
schemaBased: {
|
|
2724
2724
|
date: new Date().toISOString().substr(0, 10),
|
|
2725
2725
|
time: '13:37:00',
|
|
@@ -2735,17 +2735,17 @@ registerExamples([
|
|
|
2735
2735
|
{
|
|
2736
2736
|
name: 'dates',
|
|
2737
2737
|
label: 'Dates',
|
|
2738
|
-
data: data$
|
|
2739
|
-
schema: schema$
|
|
2740
|
-
uischema: uischema$
|
|
2738
|
+
data: data$A,
|
|
2739
|
+
schema: schema$y,
|
|
2740
|
+
uischema: uischema$y,
|
|
2741
2741
|
},
|
|
2742
2742
|
]);
|
|
2743
2743
|
|
|
2744
2744
|
var dates = /*#__PURE__*/Object.freeze({
|
|
2745
2745
|
__proto__: null,
|
|
2746
|
-
schema: schema$
|
|
2747
|
-
uischema: uischema$
|
|
2748
|
-
data: data$
|
|
2746
|
+
schema: schema$y,
|
|
2747
|
+
uischema: uischema$y,
|
|
2748
|
+
data: data$A
|
|
2749
2749
|
});
|
|
2750
2750
|
|
|
2751
2751
|
const actions$3 = [
|
|
@@ -2775,47 +2775,47 @@ var generateDynamic = /*#__PURE__*/Object.freeze({
|
|
|
2775
2775
|
actions: actions$3
|
|
2776
2776
|
});
|
|
2777
2777
|
|
|
2778
|
-
const schema$
|
|
2779
|
-
const uischema$
|
|
2780
|
-
const data$
|
|
2778
|
+
const schema$x = undefined;
|
|
2779
|
+
const uischema$x = undefined;
|
|
2780
|
+
const data$z = data$M;
|
|
2781
2781
|
registerExamples([
|
|
2782
2782
|
{
|
|
2783
2783
|
name: 'generate',
|
|
2784
2784
|
label: 'Generate both Schemas',
|
|
2785
|
-
data: data$
|
|
2786
|
-
schema: schema$
|
|
2787
|
-
uischema: uischema$
|
|
2785
|
+
data: data$z,
|
|
2786
|
+
schema: schema$x,
|
|
2787
|
+
uischema: uischema$x,
|
|
2788
2788
|
},
|
|
2789
2789
|
]);
|
|
2790
2790
|
|
|
2791
2791
|
var generate = /*#__PURE__*/Object.freeze({
|
|
2792
2792
|
__proto__: null,
|
|
2793
|
-
schema: schema$
|
|
2794
|
-
uischema: uischema$
|
|
2795
|
-
data: data$
|
|
2793
|
+
schema: schema$x,
|
|
2794
|
+
uischema: uischema$x,
|
|
2795
|
+
data: data$z
|
|
2796
2796
|
});
|
|
2797
2797
|
|
|
2798
|
-
const schema$
|
|
2799
|
-
const uischema$
|
|
2800
|
-
const data$
|
|
2798
|
+
const schema$w = personCoreSchema;
|
|
2799
|
+
const uischema$w = undefined;
|
|
2800
|
+
const data$y = data$M;
|
|
2801
2801
|
registerExamples([
|
|
2802
2802
|
{
|
|
2803
2803
|
name: 'generate-ui',
|
|
2804
2804
|
label: 'Generate UI Schema',
|
|
2805
|
-
data: data$
|
|
2806
|
-
schema: schema$
|
|
2807
|
-
uischema: uischema$
|
|
2805
|
+
data: data$y,
|
|
2806
|
+
schema: schema$w,
|
|
2807
|
+
uischema: uischema$w,
|
|
2808
2808
|
},
|
|
2809
2809
|
]);
|
|
2810
2810
|
|
|
2811
2811
|
var generateUI = /*#__PURE__*/Object.freeze({
|
|
2812
2812
|
__proto__: null,
|
|
2813
|
-
schema: schema$
|
|
2814
|
-
uischema: uischema$
|
|
2815
|
-
data: data$
|
|
2813
|
+
schema: schema$w,
|
|
2814
|
+
uischema: uischema$w,
|
|
2815
|
+
data: data$y
|
|
2816
2816
|
});
|
|
2817
2817
|
|
|
2818
|
-
const schema$
|
|
2818
|
+
const schema$v = schema$K;
|
|
2819
2819
|
const uischemaVertical = {
|
|
2820
2820
|
type: 'VerticalLayout',
|
|
2821
2821
|
elements: [
|
|
@@ -2903,49 +2903,49 @@ const uischemaComplex = {
|
|
|
2903
2903
|
},
|
|
2904
2904
|
],
|
|
2905
2905
|
};
|
|
2906
|
-
const data$
|
|
2906
|
+
const data$x = data$M;
|
|
2907
2907
|
registerExamples([
|
|
2908
2908
|
{
|
|
2909
2909
|
name: 'layout-vertical',
|
|
2910
2910
|
label: 'Layout Vertical',
|
|
2911
|
-
data: data$
|
|
2912
|
-
schema: schema$
|
|
2911
|
+
data: data$x,
|
|
2912
|
+
schema: schema$v,
|
|
2913
2913
|
uischema: uischemaVertical,
|
|
2914
2914
|
},
|
|
2915
2915
|
{
|
|
2916
2916
|
name: 'layout-horizontal',
|
|
2917
2917
|
label: 'Layout Horizontal',
|
|
2918
|
-
data: data$
|
|
2919
|
-
schema: schema$
|
|
2918
|
+
data: data$x,
|
|
2919
|
+
schema: schema$v,
|
|
2920
2920
|
uischema: uischemaHorizontal,
|
|
2921
2921
|
},
|
|
2922
2922
|
{
|
|
2923
2923
|
name: 'layout-group',
|
|
2924
2924
|
label: 'Layout Group',
|
|
2925
|
-
data: data$
|
|
2926
|
-
schema: schema$
|
|
2925
|
+
data: data$x,
|
|
2926
|
+
schema: schema$v,
|
|
2927
2927
|
uischema: uischemaGroup,
|
|
2928
2928
|
},
|
|
2929
2929
|
{
|
|
2930
2930
|
name: 'layout-complex',
|
|
2931
2931
|
label: 'Layout Complex',
|
|
2932
|
-
data: data$
|
|
2933
|
-
schema: schema$
|
|
2932
|
+
data: data$x,
|
|
2933
|
+
schema: schema$v,
|
|
2934
2934
|
uischema: uischemaComplex,
|
|
2935
2935
|
},
|
|
2936
2936
|
]);
|
|
2937
2937
|
|
|
2938
2938
|
var layout = /*#__PURE__*/Object.freeze({
|
|
2939
2939
|
__proto__: null,
|
|
2940
|
-
schema: schema$
|
|
2940
|
+
schema: schema$v,
|
|
2941
2941
|
uischemaVertical: uischemaVertical,
|
|
2942
2942
|
uischemaHorizontal: uischemaHorizontal,
|
|
2943
2943
|
uischemaGroup: uischemaGroup,
|
|
2944
2944
|
uischemaComplex: uischemaComplex,
|
|
2945
|
-
data: data$
|
|
2945
|
+
data: data$x
|
|
2946
2946
|
});
|
|
2947
2947
|
|
|
2948
|
-
const schema$
|
|
2948
|
+
const schema$u = {
|
|
2949
2949
|
type: 'object',
|
|
2950
2950
|
required: ['age'],
|
|
2951
2951
|
properties: {
|
|
@@ -3000,7 +3000,7 @@ const schema$t = {
|
|
|
3000
3000
|
},
|
|
3001
3001
|
},
|
|
3002
3002
|
};
|
|
3003
|
-
const uischema$
|
|
3003
|
+
const uischema$v = {
|
|
3004
3004
|
type: 'VerticalLayout',
|
|
3005
3005
|
elements: [
|
|
3006
3006
|
{
|
|
@@ -3093,7 +3093,7 @@ const uischema$u = {
|
|
|
3093
3093
|
},
|
|
3094
3094
|
],
|
|
3095
3095
|
};
|
|
3096
|
-
const data$
|
|
3096
|
+
const data$w = {
|
|
3097
3097
|
firstName: 'Max',
|
|
3098
3098
|
lastName: 'Power',
|
|
3099
3099
|
committer: false,
|
|
@@ -3102,20 +3102,20 @@ registerExamples([
|
|
|
3102
3102
|
{
|
|
3103
3103
|
name: '1884',
|
|
3104
3104
|
label: 'Issue 1884 - Nested enable/disable',
|
|
3105
|
-
data: data$
|
|
3106
|
-
schema: schema$
|
|
3107
|
-
uischema: uischema$
|
|
3105
|
+
data: data$w,
|
|
3106
|
+
schema: schema$u,
|
|
3107
|
+
uischema: uischema$v,
|
|
3108
3108
|
},
|
|
3109
3109
|
]);
|
|
3110
3110
|
|
|
3111
3111
|
var _1884 = /*#__PURE__*/Object.freeze({
|
|
3112
3112
|
__proto__: null,
|
|
3113
|
-
schema: schema$
|
|
3114
|
-
uischema: uischema$
|
|
3115
|
-
data: data$
|
|
3113
|
+
schema: schema$u,
|
|
3114
|
+
uischema: uischema$v,
|
|
3115
|
+
data: data$w
|
|
3116
3116
|
});
|
|
3117
3117
|
|
|
3118
|
-
const schema$
|
|
3118
|
+
const schema$t = {
|
|
3119
3119
|
type: 'object',
|
|
3120
3120
|
properties: {
|
|
3121
3121
|
name: {
|
|
@@ -3141,7 +3141,7 @@ const schema$s = {
|
|
|
3141
3141
|
},
|
|
3142
3142
|
},
|
|
3143
3143
|
};
|
|
3144
|
-
const uischema$
|
|
3144
|
+
const uischema$u = {
|
|
3145
3145
|
type: 'VerticalLayout',
|
|
3146
3146
|
elements: [
|
|
3147
3147
|
{
|
|
@@ -3214,7 +3214,7 @@ const uischema$t = {
|
|
|
3214
3214
|
},
|
|
3215
3215
|
],
|
|
3216
3216
|
};
|
|
3217
|
-
const data$
|
|
3217
|
+
const data$v = {
|
|
3218
3218
|
name: 'John Doe',
|
|
3219
3219
|
dead: false,
|
|
3220
3220
|
vegetables: false,
|
|
@@ -3223,20 +3223,20 @@ registerExamples([
|
|
|
3223
3223
|
{
|
|
3224
3224
|
name: 'rule',
|
|
3225
3225
|
label: 'Rule',
|
|
3226
|
-
data: data$
|
|
3227
|
-
schema: schema$
|
|
3228
|
-
uischema: uischema$
|
|
3226
|
+
data: data$v,
|
|
3227
|
+
schema: schema$t,
|
|
3228
|
+
uischema: uischema$u,
|
|
3229
3229
|
},
|
|
3230
3230
|
]);
|
|
3231
3231
|
|
|
3232
3232
|
var rule = /*#__PURE__*/Object.freeze({
|
|
3233
3233
|
__proto__: null,
|
|
3234
|
-
schema: schema$
|
|
3235
|
-
uischema: uischema$
|
|
3236
|
-
data: data$
|
|
3234
|
+
schema: schema$t,
|
|
3235
|
+
uischema: uischema$u,
|
|
3236
|
+
data: data$v
|
|
3237
3237
|
});
|
|
3238
3238
|
|
|
3239
|
-
const schema$
|
|
3239
|
+
const schema$s = {
|
|
3240
3240
|
type: 'object',
|
|
3241
3241
|
properties: {
|
|
3242
3242
|
toggleTopLayout: {
|
|
@@ -3256,7 +3256,7 @@ const schema$r = {
|
|
|
3256
3256
|
},
|
|
3257
3257
|
},
|
|
3258
3258
|
};
|
|
3259
|
-
const uischema$
|
|
3259
|
+
const uischema$t = {
|
|
3260
3260
|
type: 'VerticalLayout',
|
|
3261
3261
|
rule: {
|
|
3262
3262
|
effect: 'ENABLE',
|
|
@@ -3298,7 +3298,7 @@ const uischema$s = {
|
|
|
3298
3298
|
},
|
|
3299
3299
|
],
|
|
3300
3300
|
};
|
|
3301
|
-
const data$
|
|
3301
|
+
const data$u = {
|
|
3302
3302
|
toggleTopLayout: true,
|
|
3303
3303
|
toggleBottomLayout: true,
|
|
3304
3304
|
toggleControl: true,
|
|
@@ -3330,21 +3330,21 @@ registerExamples([
|
|
|
3330
3330
|
{
|
|
3331
3331
|
name: 'rule-enable',
|
|
3332
3332
|
label: 'Rule Inheritance',
|
|
3333
|
-
data: data$
|
|
3334
|
-
schema: schema$
|
|
3335
|
-
uischema: uischema$
|
|
3333
|
+
data: data$u,
|
|
3334
|
+
schema: schema$s,
|
|
3335
|
+
uischema: uischema$t,
|
|
3336
3336
|
actions: actions$2,
|
|
3337
3337
|
},
|
|
3338
3338
|
]);
|
|
3339
3339
|
|
|
3340
3340
|
var ruleInheritance = /*#__PURE__*/Object.freeze({
|
|
3341
3341
|
__proto__: null,
|
|
3342
|
-
schema: schema$
|
|
3343
|
-
uischema: uischema$
|
|
3344
|
-
data: data$
|
|
3342
|
+
schema: schema$s,
|
|
3343
|
+
uischema: uischema$t,
|
|
3344
|
+
data: data$u
|
|
3345
3345
|
});
|
|
3346
3346
|
|
|
3347
|
-
const schema$
|
|
3347
|
+
const schema$r = {
|
|
3348
3348
|
type: 'object',
|
|
3349
3349
|
properties: {
|
|
3350
3350
|
postalCode: {
|
|
@@ -3359,7 +3359,7 @@ const schema$q = {
|
|
|
3359
3359
|
},
|
|
3360
3360
|
required: ['postalCode'],
|
|
3361
3361
|
};
|
|
3362
|
-
const uischema$
|
|
3362
|
+
const uischema$s = {
|
|
3363
3363
|
type: 'VerticalLayout',
|
|
3364
3364
|
elements: [
|
|
3365
3365
|
{
|
|
@@ -3379,7 +3379,7 @@ const uischema$r = {
|
|
|
3379
3379
|
},
|
|
3380
3380
|
],
|
|
3381
3381
|
};
|
|
3382
|
-
const data$
|
|
3382
|
+
const data$t = {
|
|
3383
3383
|
postalCode: '12345',
|
|
3384
3384
|
};
|
|
3385
3385
|
const config = {
|
|
@@ -3392,28 +3392,28 @@ registerExamples([
|
|
|
3392
3392
|
{
|
|
3393
3393
|
name: 'configDefault',
|
|
3394
3394
|
label: 'Configuration (Default)',
|
|
3395
|
-
data: data$
|
|
3396
|
-
schema: schema$
|
|
3397
|
-
uischema: uischema$
|
|
3395
|
+
data: data$t,
|
|
3396
|
+
schema: schema$r,
|
|
3397
|
+
uischema: uischema$s,
|
|
3398
3398
|
},
|
|
3399
3399
|
{
|
|
3400
3400
|
name: 'configCustom',
|
|
3401
3401
|
label: 'Configuration (Custom)',
|
|
3402
|
-
data: data$
|
|
3403
|
-
schema: schema$
|
|
3404
|
-
uischema: uischema$
|
|
3402
|
+
data: data$t,
|
|
3403
|
+
schema: schema$r,
|
|
3404
|
+
uischema: uischema$s,
|
|
3405
3405
|
config,
|
|
3406
3406
|
},
|
|
3407
3407
|
]);
|
|
3408
3408
|
|
|
3409
3409
|
var config$1 = /*#__PURE__*/Object.freeze({
|
|
3410
3410
|
__proto__: null,
|
|
3411
|
-
schema: schema$
|
|
3412
|
-
uischema: uischema$
|
|
3413
|
-
data: data$
|
|
3411
|
+
schema: schema$r,
|
|
3412
|
+
uischema: uischema$s,
|
|
3413
|
+
data: data$t
|
|
3414
3414
|
});
|
|
3415
3415
|
|
|
3416
|
-
const schema$
|
|
3416
|
+
const schema$q = {
|
|
3417
3417
|
type: 'object',
|
|
3418
3418
|
properties: {
|
|
3419
3419
|
zipCode: {
|
|
@@ -3430,7 +3430,7 @@ const schema$p = {
|
|
|
3430
3430
|
},
|
|
3431
3431
|
},
|
|
3432
3432
|
};
|
|
3433
|
-
const uischema$
|
|
3433
|
+
const uischema$r = {
|
|
3434
3434
|
type: 'VerticalLayout',
|
|
3435
3435
|
elements: [
|
|
3436
3436
|
{
|
|
@@ -3467,7 +3467,7 @@ const uischema$q = {
|
|
|
3467
3467
|
},
|
|
3468
3468
|
],
|
|
3469
3469
|
};
|
|
3470
|
-
const data$
|
|
3470
|
+
const data$s = {
|
|
3471
3471
|
zipCode: '12345',
|
|
3472
3472
|
zipCodeWithoutTrim: '12345678',
|
|
3473
3473
|
zipCodeWithoutRestrict: '12345678',
|
|
@@ -3476,20 +3476,20 @@ registerExamples([
|
|
|
3476
3476
|
{
|
|
3477
3477
|
name: 'text',
|
|
3478
3478
|
label: 'Text Control Options',
|
|
3479
|
-
data: data$
|
|
3480
|
-
schema: schema$
|
|
3481
|
-
uischema: uischema$
|
|
3479
|
+
data: data$s,
|
|
3480
|
+
schema: schema$q,
|
|
3481
|
+
uischema: uischema$r,
|
|
3482
3482
|
},
|
|
3483
3483
|
]);
|
|
3484
3484
|
|
|
3485
3485
|
var text = /*#__PURE__*/Object.freeze({
|
|
3486
3486
|
__proto__: null,
|
|
3487
|
-
schema: schema$
|
|
3488
|
-
uischema: uischema$
|
|
3489
|
-
data: data$
|
|
3487
|
+
schema: schema$q,
|
|
3488
|
+
uischema: uischema$r,
|
|
3489
|
+
data: data$s
|
|
3490
3490
|
});
|
|
3491
3491
|
|
|
3492
|
-
const schema$
|
|
3492
|
+
const schema$p = {
|
|
3493
3493
|
type: 'object',
|
|
3494
3494
|
properties: {
|
|
3495
3495
|
price: {
|
|
@@ -3506,7 +3506,7 @@ const schema$o = {
|
|
|
3506
3506
|
},
|
|
3507
3507
|
},
|
|
3508
3508
|
};
|
|
3509
|
-
const uischema$
|
|
3509
|
+
const uischema$q = {
|
|
3510
3510
|
type: 'VerticalLayout',
|
|
3511
3511
|
elements: [
|
|
3512
3512
|
{
|
|
@@ -3542,22 +3542,22 @@ const uischema$p = {
|
|
|
3542
3542
|
},
|
|
3543
3543
|
],
|
|
3544
3544
|
};
|
|
3545
|
-
const data$
|
|
3545
|
+
const data$r = {};
|
|
3546
3546
|
registerExamples([
|
|
3547
3547
|
{
|
|
3548
3548
|
name: 'numbers',
|
|
3549
3549
|
label: 'Numbers',
|
|
3550
|
-
data: data$
|
|
3551
|
-
schema: schema$
|
|
3552
|
-
uischema: uischema$
|
|
3550
|
+
data: data$r,
|
|
3551
|
+
schema: schema$p,
|
|
3552
|
+
uischema: uischema$q,
|
|
3553
3553
|
},
|
|
3554
3554
|
]);
|
|
3555
3555
|
|
|
3556
3556
|
var numbers = /*#__PURE__*/Object.freeze({
|
|
3557
3557
|
__proto__: null,
|
|
3558
|
-
schema: schema$
|
|
3559
|
-
uischema: uischema$
|
|
3560
|
-
data: data$
|
|
3558
|
+
schema: schema$p,
|
|
3559
|
+
uischema: uischema$q,
|
|
3560
|
+
data: data$r
|
|
3561
3561
|
});
|
|
3562
3562
|
|
|
3563
3563
|
const orderSchema = {
|
|
@@ -3591,7 +3591,7 @@ const orderSchema = {
|
|
|
3591
3591
|
},
|
|
3592
3592
|
},
|
|
3593
3593
|
};
|
|
3594
|
-
const uischema$
|
|
3594
|
+
const uischema$p = {
|
|
3595
3595
|
type: 'VerticalLayout',
|
|
3596
3596
|
elements: [
|
|
3597
3597
|
{
|
|
@@ -3626,7 +3626,7 @@ const uischema$o = {
|
|
|
3626
3626
|
},
|
|
3627
3627
|
],
|
|
3628
3628
|
};
|
|
3629
|
-
const data$
|
|
3629
|
+
const data$q = {
|
|
3630
3630
|
orderId: '123456',
|
|
3631
3631
|
purchaseDate: '1985-06-02',
|
|
3632
3632
|
price: 16,
|
|
@@ -3639,20 +3639,20 @@ registerExamples([
|
|
|
3639
3639
|
{
|
|
3640
3640
|
name: 'scope',
|
|
3641
3641
|
label: 'Scope',
|
|
3642
|
-
data: data$
|
|
3642
|
+
data: data$q,
|
|
3643
3643
|
schema: orderSchema,
|
|
3644
|
-
uischema: uischema$
|
|
3644
|
+
uischema: uischema$p,
|
|
3645
3645
|
},
|
|
3646
3646
|
]);
|
|
3647
3647
|
|
|
3648
3648
|
var scope = /*#__PURE__*/Object.freeze({
|
|
3649
3649
|
__proto__: null,
|
|
3650
3650
|
orderSchema: orderSchema,
|
|
3651
|
-
uischema: uischema$
|
|
3652
|
-
data: data$
|
|
3651
|
+
uischema: uischema$p,
|
|
3652
|
+
data: data$q
|
|
3653
3653
|
});
|
|
3654
3654
|
|
|
3655
|
-
const data$
|
|
3655
|
+
const data$p = {
|
|
3656
3656
|
orders: [
|
|
3657
3657
|
{
|
|
3658
3658
|
customer: {
|
|
@@ -3681,7 +3681,7 @@ const data$o = {
|
|
|
3681
3681
|
},
|
|
3682
3682
|
],
|
|
3683
3683
|
};
|
|
3684
|
-
const schema$
|
|
3684
|
+
const schema$o = {
|
|
3685
3685
|
definitions: {
|
|
3686
3686
|
order: {
|
|
3687
3687
|
type: 'object',
|
|
@@ -3731,7 +3731,7 @@ const schema$n = {
|
|
|
3731
3731
|
},
|
|
3732
3732
|
},
|
|
3733
3733
|
};
|
|
3734
|
-
const uischema$
|
|
3734
|
+
const uischema$o = {
|
|
3735
3735
|
type: 'ListWithDetail',
|
|
3736
3736
|
scope: '#/properties/orders',
|
|
3737
3737
|
options: {
|
|
@@ -3912,30 +3912,30 @@ registerExamples([
|
|
|
3912
3912
|
{
|
|
3913
3913
|
name: 'list-with-detail',
|
|
3914
3914
|
label: 'List With Detail',
|
|
3915
|
-
data: data$
|
|
3916
|
-
schema: schema$
|
|
3917
|
-
uischema: uischema$
|
|
3915
|
+
data: data$p,
|
|
3916
|
+
schema: schema$o,
|
|
3917
|
+
uischema: uischema$o,
|
|
3918
3918
|
},
|
|
3919
3919
|
]);
|
|
3920
3920
|
registerExamples([
|
|
3921
3921
|
{
|
|
3922
3922
|
name: 'list-with-detail-no-labelref',
|
|
3923
3923
|
label: 'List With Detail (No Label Ref)',
|
|
3924
|
-
data: data$
|
|
3925
|
-
schema: schema$
|
|
3924
|
+
data: data$p,
|
|
3925
|
+
schema: schema$o,
|
|
3926
3926
|
uischema: uischemaNoLabelRef,
|
|
3927
3927
|
},
|
|
3928
3928
|
]);
|
|
3929
3929
|
|
|
3930
3930
|
var listWithDetail = /*#__PURE__*/Object.freeze({
|
|
3931
3931
|
__proto__: null,
|
|
3932
|
-
data: data$
|
|
3933
|
-
schema: schema$
|
|
3934
|
-
uischema: uischema$
|
|
3932
|
+
data: data$p,
|
|
3933
|
+
schema: schema$o,
|
|
3934
|
+
uischema: uischema$o,
|
|
3935
3935
|
uischemaNoLabelRef: uischemaNoLabelRef
|
|
3936
3936
|
});
|
|
3937
3937
|
|
|
3938
|
-
const data$
|
|
3938
|
+
const data$o = {
|
|
3939
3939
|
warehouseitems: [
|
|
3940
3940
|
{
|
|
3941
3941
|
name: 'Fantasy Book',
|
|
@@ -3963,7 +3963,7 @@ const data$n = {
|
|
|
3963
3963
|
},
|
|
3964
3964
|
],
|
|
3965
3965
|
};
|
|
3966
|
-
const schema$
|
|
3966
|
+
const schema$n = {
|
|
3967
3967
|
definitions: {
|
|
3968
3968
|
warehouseitem: {
|
|
3969
3969
|
type: 'object',
|
|
@@ -3994,7 +3994,7 @@ const schema$m = {
|
|
|
3994
3994
|
},
|
|
3995
3995
|
},
|
|
3996
3996
|
};
|
|
3997
|
-
const uischema$
|
|
3997
|
+
const uischema$n = {
|
|
3998
3998
|
type: 'ListWithDetail',
|
|
3999
3999
|
scope: '#/properties/warehouseitems',
|
|
4000
4000
|
options: {
|
|
@@ -4005,20 +4005,20 @@ registerExamples([
|
|
|
4005
4005
|
{
|
|
4006
4006
|
name: 'list-with-detail-registered',
|
|
4007
4007
|
label: 'List With Detail (Registered Detail UISchema)',
|
|
4008
|
-
data: data$
|
|
4009
|
-
schema: schema$
|
|
4010
|
-
uischema: uischema$
|
|
4008
|
+
data: data$o,
|
|
4009
|
+
schema: schema$n,
|
|
4010
|
+
uischema: uischema$n,
|
|
4011
4011
|
},
|
|
4012
4012
|
]);
|
|
4013
4013
|
|
|
4014
4014
|
var listWithDetailRegistered = /*#__PURE__*/Object.freeze({
|
|
4015
4015
|
__proto__: null,
|
|
4016
|
-
data: data$
|
|
4017
|
-
schema: schema$
|
|
4018
|
-
uischema: uischema$
|
|
4016
|
+
data: data$o,
|
|
4017
|
+
schema: schema$n,
|
|
4018
|
+
uischema: uischema$n
|
|
4019
4019
|
});
|
|
4020
4020
|
|
|
4021
|
-
const schema$
|
|
4021
|
+
const schema$m = {
|
|
4022
4022
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4023
4023
|
type: 'object',
|
|
4024
4024
|
properties: {
|
|
@@ -4079,7 +4079,7 @@ const uischemaNonRoot = {
|
|
|
4079
4079
|
},
|
|
4080
4080
|
],
|
|
4081
4081
|
};
|
|
4082
|
-
const data$
|
|
4082
|
+
const data$n = {
|
|
4083
4083
|
address: {
|
|
4084
4084
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
4085
4085
|
city: 'Washington',
|
|
@@ -4090,22 +4090,22 @@ registerExamples([
|
|
|
4090
4090
|
{
|
|
4091
4091
|
name: 'rootObject',
|
|
4092
4092
|
label: 'Object - Root Scope',
|
|
4093
|
-
data: data$
|
|
4094
|
-
schema: schema$
|
|
4093
|
+
data: data$n,
|
|
4094
|
+
schema: schema$m,
|
|
4095
4095
|
uischema: uischemaRoot,
|
|
4096
4096
|
},
|
|
4097
4097
|
{
|
|
4098
4098
|
name: 'object',
|
|
4099
4099
|
label: 'Object',
|
|
4100
|
-
data: data$
|
|
4101
|
-
schema: schema$
|
|
4100
|
+
data: data$n,
|
|
4101
|
+
schema: schema$m,
|
|
4102
4102
|
uischema: uischemaNonRoot,
|
|
4103
4103
|
},
|
|
4104
4104
|
]);
|
|
4105
4105
|
|
|
4106
4106
|
var object = /*#__PURE__*/Object.freeze({
|
|
4107
4107
|
__proto__: null,
|
|
4108
|
-
schema: schema$
|
|
4108
|
+
schema: schema$m,
|
|
4109
4109
|
uischemaRoot: uischemaRoot,
|
|
4110
4110
|
uischemaNonRoot: uischemaNonRoot
|
|
4111
4111
|
});
|
|
@@ -4118,7 +4118,7 @@ const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
|
4118
4118
|
localiseFunc(errors);
|
|
4119
4119
|
dispatch(updateErrors(errors));
|
|
4120
4120
|
};
|
|
4121
|
-
const uischema$
|
|
4121
|
+
const uischema$m = {
|
|
4122
4122
|
type: 'VerticalLayout',
|
|
4123
4123
|
elements: [
|
|
4124
4124
|
{
|
|
@@ -4154,7 +4154,7 @@ const uischema$l = {
|
|
|
4154
4154
|
},
|
|
4155
4155
|
],
|
|
4156
4156
|
};
|
|
4157
|
-
const data$
|
|
4157
|
+
const data$m = {
|
|
4158
4158
|
vegetarian: false,
|
|
4159
4159
|
birthDate: '1985-06-02',
|
|
4160
4160
|
personalData: {
|
|
@@ -4175,9 +4175,9 @@ registerExamples([
|
|
|
4175
4175
|
{
|
|
4176
4176
|
name: 'i18n',
|
|
4177
4177
|
label: 'Person (i18n)',
|
|
4178
|
-
data: data$
|
|
4178
|
+
data: data$m,
|
|
4179
4179
|
schema: personCoreSchema,
|
|
4180
|
-
uischema: uischema$
|
|
4180
|
+
uischema: uischema$m,
|
|
4181
4181
|
i18n: {
|
|
4182
4182
|
translate: translate,
|
|
4183
4183
|
locale: 'en',
|
|
@@ -4188,13 +4188,13 @@ registerExamples([
|
|
|
4188
4188
|
var i18n = /*#__PURE__*/Object.freeze({
|
|
4189
4189
|
__proto__: null,
|
|
4190
4190
|
onChange: onChange$2,
|
|
4191
|
-
uischema: uischema$
|
|
4192
|
-
data: data$
|
|
4191
|
+
uischema: uischema$m,
|
|
4192
|
+
data: data$m,
|
|
4193
4193
|
translations: translations,
|
|
4194
4194
|
translate: translate
|
|
4195
4195
|
});
|
|
4196
4196
|
|
|
4197
|
-
const schema$
|
|
4197
|
+
const schema$l = {
|
|
4198
4198
|
type: 'object',
|
|
4199
4199
|
definitions: {
|
|
4200
4200
|
import: {
|
|
@@ -4225,8 +4225,8 @@ const schema$k = {
|
|
|
4225
4225
|
},
|
|
4226
4226
|
},
|
|
4227
4227
|
};
|
|
4228
|
-
const uischema$
|
|
4229
|
-
const data$
|
|
4228
|
+
const uischema$l = undefined;
|
|
4229
|
+
const data$l = {
|
|
4230
4230
|
import: [
|
|
4231
4231
|
{
|
|
4232
4232
|
document: 'Document1',
|
|
@@ -4239,27 +4239,27 @@ registerExamples([
|
|
|
4239
4239
|
{
|
|
4240
4240
|
name: '1948_with',
|
|
4241
4241
|
label: 'Issue 1948 - Array renderer selection (with schema)',
|
|
4242
|
-
data: data$
|
|
4243
|
-
schema: schema$
|
|
4244
|
-
uischema: uischema$
|
|
4242
|
+
data: data$l,
|
|
4243
|
+
schema: schema$l,
|
|
4244
|
+
uischema: uischema$l,
|
|
4245
4245
|
},
|
|
4246
4246
|
{
|
|
4247
4247
|
name: '1948_without',
|
|
4248
4248
|
label: 'Issue 1948 - Array renderer selection (w/o schema)',
|
|
4249
|
-
data: data$
|
|
4249
|
+
data: data$l,
|
|
4250
4250
|
schema: undefined,
|
|
4251
|
-
uischema: uischema$
|
|
4251
|
+
uischema: uischema$l,
|
|
4252
4252
|
},
|
|
4253
4253
|
]);
|
|
4254
4254
|
|
|
4255
4255
|
var _1948 = /*#__PURE__*/Object.freeze({
|
|
4256
4256
|
__proto__: null,
|
|
4257
|
-
schema: schema$
|
|
4258
|
-
uischema: uischema$
|
|
4259
|
-
data: data$
|
|
4257
|
+
schema: schema$l,
|
|
4258
|
+
uischema: uischema$l,
|
|
4259
|
+
data: data$l
|
|
4260
4260
|
});
|
|
4261
4261
|
|
|
4262
|
-
const schema$
|
|
4262
|
+
const schema$k = {
|
|
4263
4263
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4264
4264
|
definitions: {
|
|
4265
4265
|
fileOrFolder: {
|
|
@@ -4297,28 +4297,28 @@ const schema$j = {
|
|
|
4297
4297
|
},
|
|
4298
4298
|
},
|
|
4299
4299
|
};
|
|
4300
|
-
const uischema$
|
|
4300
|
+
const uischema$k = {
|
|
4301
4301
|
type: 'Control',
|
|
4302
4302
|
scope: '#',
|
|
4303
4303
|
};
|
|
4304
|
-
const data$
|
|
4304
|
+
const data$k = {};
|
|
4305
4305
|
registerExamples([
|
|
4306
4306
|
{
|
|
4307
4307
|
name: 'oneOf-recursive',
|
|
4308
4308
|
label: 'oneOf recursive',
|
|
4309
|
-
data: data$
|
|
4310
|
-
schema: schema$
|
|
4311
|
-
uischema: uischema$
|
|
4309
|
+
data: data$k,
|
|
4310
|
+
schema: schema$k,
|
|
4311
|
+
uischema: uischema$k,
|
|
4312
4312
|
},
|
|
4313
4313
|
]);
|
|
4314
4314
|
|
|
4315
4315
|
var oneOfRecursive = /*#__PURE__*/Object.freeze({
|
|
4316
4316
|
__proto__: null,
|
|
4317
|
-
schema: schema$
|
|
4318
|
-
uischema: uischema$
|
|
4317
|
+
schema: schema$k,
|
|
4318
|
+
uischema: uischema$k
|
|
4319
4319
|
});
|
|
4320
4320
|
|
|
4321
|
-
const schema$
|
|
4321
|
+
const schema$j = {
|
|
4322
4322
|
$schema: 'http://json-schema.org/schema#',
|
|
4323
4323
|
definitions: {
|
|
4324
4324
|
confidenceTypes: {
|
|
@@ -5283,7 +5283,7 @@ const schema$i = {
|
|
|
5283
5283
|
attribution: { $ref: '#/definitions/attribution' },
|
|
5284
5284
|
},
|
|
5285
5285
|
};
|
|
5286
|
-
const data$
|
|
5286
|
+
const data$j = {
|
|
5287
5287
|
attribution: {
|
|
5288
5288
|
contributor: {
|
|
5289
5289
|
resource: '#A-1',
|
|
@@ -5613,7 +5613,7 @@ const data$i = {
|
|
|
5613
5613
|
},
|
|
5614
5614
|
],
|
|
5615
5615
|
};
|
|
5616
|
-
const uischema$
|
|
5616
|
+
const uischema$j = {
|
|
5617
5617
|
type: 'Categorization',
|
|
5618
5618
|
elements: [
|
|
5619
5619
|
{
|
|
@@ -5671,18 +5671,18 @@ registerExamples([
|
|
|
5671
5671
|
{
|
|
5672
5672
|
name: 'huge',
|
|
5673
5673
|
label: 'Huge Test',
|
|
5674
|
-
data: data$
|
|
5675
|
-
schema: schema$
|
|
5676
|
-
uischema: uischema$
|
|
5674
|
+
data: data$j,
|
|
5675
|
+
schema: schema$j,
|
|
5676
|
+
uischema: uischema$j,
|
|
5677
5677
|
},
|
|
5678
5678
|
]);
|
|
5679
5679
|
|
|
5680
5680
|
var huge = /*#__PURE__*/Object.freeze({
|
|
5681
5681
|
__proto__: null,
|
|
5682
|
-
uischema: uischema$
|
|
5682
|
+
uischema: uischema$j
|
|
5683
5683
|
});
|
|
5684
5684
|
|
|
5685
|
-
const schema$
|
|
5685
|
+
const schema$i = {
|
|
5686
5686
|
type: 'object',
|
|
5687
5687
|
properties: {
|
|
5688
5688
|
name: {
|
|
@@ -5716,7 +5716,7 @@ const schema$h = {
|
|
|
5716
5716
|
},
|
|
5717
5717
|
required: ['name', 'name_noDefault'],
|
|
5718
5718
|
};
|
|
5719
|
-
const uischema$
|
|
5719
|
+
const uischema$i = {
|
|
5720
5720
|
type: 'VerticalLayout',
|
|
5721
5721
|
elements: [
|
|
5722
5722
|
{
|
|
@@ -5753,7 +5753,7 @@ const uischema$h = {
|
|
|
5753
5753
|
},
|
|
5754
5754
|
],
|
|
5755
5755
|
};
|
|
5756
|
-
const data$
|
|
5756
|
+
const data$i = {
|
|
5757
5757
|
name: 'Send email to Adrian',
|
|
5758
5758
|
name_noDefault: 'Send email to Adrian',
|
|
5759
5759
|
description: 'Confirm if you have passed the subject\nHereby ...',
|
|
@@ -5766,17 +5766,17 @@ registerExamples([
|
|
|
5766
5766
|
{
|
|
5767
5767
|
name: 'default',
|
|
5768
5768
|
label: 'Default',
|
|
5769
|
-
data: data$
|
|
5770
|
-
schema: schema$
|
|
5771
|
-
uischema: uischema$
|
|
5769
|
+
data: data$i,
|
|
5770
|
+
schema: schema$i,
|
|
5771
|
+
uischema: uischema$i,
|
|
5772
5772
|
},
|
|
5773
5773
|
]);
|
|
5774
5774
|
|
|
5775
5775
|
var _default = /*#__PURE__*/Object.freeze({
|
|
5776
5776
|
__proto__: null,
|
|
5777
|
-
schema: schema$
|
|
5778
|
-
uischema: uischema$
|
|
5779
|
-
data: data$
|
|
5777
|
+
schema: schema$i,
|
|
5778
|
+
uischema: uischema$i,
|
|
5779
|
+
data: data$i
|
|
5780
5780
|
});
|
|
5781
5781
|
|
|
5782
5782
|
const touchedProperties = {
|
|
@@ -5792,7 +5792,7 @@ const onChange = (dispatch) => (_) => ({ data, errors }) => {
|
|
|
5792
5792
|
return dispatch(updateErrors(newErrors));
|
|
5793
5793
|
}
|
|
5794
5794
|
};
|
|
5795
|
-
const schema$
|
|
5795
|
+
const schema$h = {
|
|
5796
5796
|
type: 'object',
|
|
5797
5797
|
properties: {
|
|
5798
5798
|
name: {
|
|
@@ -5806,27 +5806,27 @@ const schema$g = {
|
|
|
5806
5806
|
},
|
|
5807
5807
|
required: ['name', 'description'],
|
|
5808
5808
|
};
|
|
5809
|
-
const uischema$
|
|
5810
|
-
const data$
|
|
5809
|
+
const uischema$h = undefined;
|
|
5810
|
+
const data$h = {};
|
|
5811
5811
|
registerExamples([
|
|
5812
5812
|
{
|
|
5813
5813
|
name: 'onChange',
|
|
5814
5814
|
label: 'On Change Listener',
|
|
5815
|
-
data: data$
|
|
5816
|
-
schema: schema$
|
|
5817
|
-
uischema: uischema$
|
|
5815
|
+
data: data$h,
|
|
5816
|
+
schema: schema$h,
|
|
5817
|
+
uischema: uischema$h,
|
|
5818
5818
|
},
|
|
5819
5819
|
]);
|
|
5820
5820
|
|
|
5821
5821
|
var onChange$1 = /*#__PURE__*/Object.freeze({
|
|
5822
5822
|
__proto__: null,
|
|
5823
5823
|
onChange: onChange,
|
|
5824
|
-
schema: schema$
|
|
5825
|
-
uischema: uischema$
|
|
5826
|
-
data: data$
|
|
5824
|
+
schema: schema$h,
|
|
5825
|
+
uischema: uischema$h,
|
|
5826
|
+
data: data$h
|
|
5827
5827
|
});
|
|
5828
5828
|
|
|
5829
|
-
const schema$
|
|
5829
|
+
const schema$g = {
|
|
5830
5830
|
type: 'object',
|
|
5831
5831
|
properties: {
|
|
5832
5832
|
plainEnum: {
|
|
@@ -5870,7 +5870,7 @@ const schema$f = {
|
|
|
5870
5870
|
},
|
|
5871
5871
|
},
|
|
5872
5872
|
};
|
|
5873
|
-
const uischema$
|
|
5873
|
+
const uischema$g = {
|
|
5874
5874
|
type: 'VerticalLayout',
|
|
5875
5875
|
elements: [
|
|
5876
5876
|
{
|
|
@@ -5943,7 +5943,7 @@ const uischema$f = {
|
|
|
5943
5943
|
},
|
|
5944
5944
|
],
|
|
5945
5945
|
};
|
|
5946
|
-
const data$
|
|
5946
|
+
const data$g = {
|
|
5947
5947
|
plainEnumSet: 'foo',
|
|
5948
5948
|
enumWithError: 'bogus',
|
|
5949
5949
|
oneOfEnumSet: 'bar',
|
|
@@ -5953,21 +5953,21 @@ registerExamples([
|
|
|
5953
5953
|
{
|
|
5954
5954
|
name: 'enum',
|
|
5955
5955
|
label: 'Enums',
|
|
5956
|
-
data: data$
|
|
5957
|
-
schema: schema$
|
|
5958
|
-
uischema: uischema$
|
|
5956
|
+
data: data$g,
|
|
5957
|
+
schema: schema$g,
|
|
5958
|
+
uischema: uischema$g,
|
|
5959
5959
|
},
|
|
5960
5960
|
]);
|
|
5961
5961
|
|
|
5962
5962
|
var _enum = /*#__PURE__*/Object.freeze({
|
|
5963
5963
|
__proto__: null,
|
|
5964
|
-
schema: schema$
|
|
5965
|
-
uischema: uischema$
|
|
5966
|
-
data: data$
|
|
5964
|
+
schema: schema$g,
|
|
5965
|
+
uischema: uischema$g,
|
|
5966
|
+
data: data$g
|
|
5967
5967
|
});
|
|
5968
5968
|
|
|
5969
|
-
const data$
|
|
5970
|
-
const schema$
|
|
5969
|
+
const data$f = {};
|
|
5970
|
+
const schema$f = {
|
|
5971
5971
|
type: 'object',
|
|
5972
5972
|
properties: {
|
|
5973
5973
|
exampleRadioEnum: {
|
|
@@ -5984,7 +5984,7 @@ const schema$e = {
|
|
|
5984
5984
|
},
|
|
5985
5985
|
},
|
|
5986
5986
|
};
|
|
5987
|
-
const uischema$
|
|
5987
|
+
const uischema$f = {
|
|
5988
5988
|
type: 'VerticalLayout',
|
|
5989
5989
|
elements: [
|
|
5990
5990
|
{
|
|
@@ -6020,20 +6020,20 @@ registerExamples([
|
|
|
6020
6020
|
{
|
|
6021
6021
|
name: 'radio-group',
|
|
6022
6022
|
label: 'Radio Group',
|
|
6023
|
-
data: data$
|
|
6024
|
-
schema: schema$
|
|
6025
|
-
uischema: uischema$
|
|
6023
|
+
data: data$f,
|
|
6024
|
+
schema: schema$f,
|
|
6025
|
+
uischema: uischema$f,
|
|
6026
6026
|
},
|
|
6027
6027
|
]);
|
|
6028
6028
|
|
|
6029
6029
|
var radioGroup = /*#__PURE__*/Object.freeze({
|
|
6030
6030
|
__proto__: null,
|
|
6031
|
-
data: data$
|
|
6032
|
-
schema: schema$
|
|
6033
|
-
uischema: uischema$
|
|
6031
|
+
data: data$f,
|
|
6032
|
+
schema: schema$f,
|
|
6033
|
+
uischema: uischema$f
|
|
6034
6034
|
});
|
|
6035
6035
|
|
|
6036
|
-
const schema$
|
|
6036
|
+
const schema$e = {
|
|
6037
6037
|
type: 'object',
|
|
6038
6038
|
properties: {
|
|
6039
6039
|
oneOfMultiEnum: {
|
|
@@ -6057,7 +6057,7 @@ const schema$d = {
|
|
|
6057
6057
|
},
|
|
6058
6058
|
},
|
|
6059
6059
|
};
|
|
6060
|
-
const uischema$
|
|
6060
|
+
const uischema$e = {
|
|
6061
6061
|
type: 'VerticalLayout',
|
|
6062
6062
|
elements: [
|
|
6063
6063
|
{
|
|
@@ -6070,25 +6070,25 @@ const uischema$d = {
|
|
|
6070
6070
|
},
|
|
6071
6071
|
],
|
|
6072
6072
|
};
|
|
6073
|
-
const data$
|
|
6073
|
+
const data$e = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
6074
6074
|
registerExamples([
|
|
6075
6075
|
{
|
|
6076
6076
|
name: 'multi-enum',
|
|
6077
6077
|
label: 'Enum - Multi selection',
|
|
6078
|
-
data: data$
|
|
6079
|
-
schema: schema$
|
|
6080
|
-
uischema: uischema$
|
|
6078
|
+
data: data$e,
|
|
6079
|
+
schema: schema$e,
|
|
6080
|
+
uischema: uischema$e,
|
|
6081
6081
|
},
|
|
6082
6082
|
]);
|
|
6083
6083
|
|
|
6084
6084
|
var enumMulti = /*#__PURE__*/Object.freeze({
|
|
6085
6085
|
__proto__: null,
|
|
6086
|
-
schema: schema$
|
|
6087
|
-
uischema: uischema$
|
|
6088
|
-
data: data$
|
|
6086
|
+
schema: schema$e,
|
|
6087
|
+
uischema: uischema$e,
|
|
6088
|
+
data: data$e
|
|
6089
6089
|
});
|
|
6090
6090
|
|
|
6091
|
-
const schema$
|
|
6091
|
+
const schema$d = {
|
|
6092
6092
|
type: 'array',
|
|
6093
6093
|
items: {
|
|
6094
6094
|
type: 'object',
|
|
@@ -6108,7 +6108,7 @@ const schema$c = {
|
|
|
6108
6108
|
},
|
|
6109
6109
|
},
|
|
6110
6110
|
};
|
|
6111
|
-
const uischema$
|
|
6111
|
+
const uischema$d = {
|
|
6112
6112
|
type: 'VerticalLayout',
|
|
6113
6113
|
elements: [
|
|
6114
6114
|
{
|
|
@@ -6117,25 +6117,25 @@ const uischema$c = {
|
|
|
6117
6117
|
},
|
|
6118
6118
|
],
|
|
6119
6119
|
};
|
|
6120
|
-
const data$
|
|
6120
|
+
const data$d = [];
|
|
6121
6121
|
registerExamples([
|
|
6122
6122
|
{
|
|
6123
6123
|
name: 'enumInArray',
|
|
6124
6124
|
label: 'Array containing enums',
|
|
6125
|
-
data: data$
|
|
6126
|
-
schema: schema$
|
|
6127
|
-
uischema: uischema$
|
|
6125
|
+
data: data$d,
|
|
6126
|
+
schema: schema$d,
|
|
6127
|
+
uischema: uischema$d,
|
|
6128
6128
|
},
|
|
6129
6129
|
]);
|
|
6130
6130
|
|
|
6131
6131
|
var enumInArray = /*#__PURE__*/Object.freeze({
|
|
6132
6132
|
__proto__: null,
|
|
6133
|
-
schema: schema$
|
|
6134
|
-
uischema: uischema$
|
|
6135
|
-
data: data$
|
|
6133
|
+
schema: schema$d,
|
|
6134
|
+
uischema: uischema$d,
|
|
6135
|
+
data: data$d
|
|
6136
6136
|
});
|
|
6137
6137
|
|
|
6138
|
-
const schema$
|
|
6138
|
+
const schema$c = {
|
|
6139
6139
|
type: 'object',
|
|
6140
6140
|
properties: {
|
|
6141
6141
|
readonly: {
|
|
@@ -6150,7 +6150,7 @@ const schema$b = {
|
|
|
6150
6150
|
},
|
|
6151
6151
|
},
|
|
6152
6152
|
};
|
|
6153
|
-
const uischema$
|
|
6153
|
+
const uischema$c = {
|
|
6154
6154
|
type: 'VerticalLayout',
|
|
6155
6155
|
elements: [
|
|
6156
6156
|
{
|
|
@@ -6173,7 +6173,7 @@ const uischema$b = {
|
|
|
6173
6173
|
},
|
|
6174
6174
|
],
|
|
6175
6175
|
};
|
|
6176
|
-
const data$
|
|
6176
|
+
const data$c = {
|
|
6177
6177
|
readonly: 'readonly by schema',
|
|
6178
6178
|
readonlyByUISchema: 'readonly by ui schema',
|
|
6179
6179
|
notReadonly: 'normal field',
|
|
@@ -6182,23 +6182,23 @@ registerExamples([
|
|
|
6182
6182
|
{
|
|
6183
6183
|
name: 'Readonly Fields',
|
|
6184
6184
|
label: 'Readonly examples',
|
|
6185
|
-
data: data$
|
|
6186
|
-
schema: schema$
|
|
6187
|
-
uischema: uischema$
|
|
6185
|
+
data: data$c,
|
|
6186
|
+
schema: schema$c,
|
|
6187
|
+
uischema: uischema$c,
|
|
6188
6188
|
},
|
|
6189
6189
|
]);
|
|
6190
6190
|
|
|
6191
6191
|
var readonly = /*#__PURE__*/Object.freeze({
|
|
6192
6192
|
__proto__: null,
|
|
6193
|
-
schema: schema$
|
|
6194
|
-
uischema: uischema$
|
|
6195
|
-
data: data$
|
|
6193
|
+
schema: schema$c,
|
|
6194
|
+
uischema: uischema$c,
|
|
6195
|
+
data: data$c
|
|
6196
6196
|
});
|
|
6197
6197
|
|
|
6198
|
-
const data$
|
|
6198
|
+
const data$b = {
|
|
6199
6199
|
'an-array-of-strings': ['foo', 'bar', 'foobar'],
|
|
6200
6200
|
};
|
|
6201
|
-
const schema$
|
|
6201
|
+
const schema$b = {
|
|
6202
6202
|
type: 'object',
|
|
6203
6203
|
properties: {
|
|
6204
6204
|
'an-array-of-strings': {
|
|
@@ -6209,7 +6209,7 @@ const schema$a = {
|
|
|
6209
6209
|
},
|
|
6210
6210
|
},
|
|
6211
6211
|
};
|
|
6212
|
-
const uischema$
|
|
6212
|
+
const uischema$b = {
|
|
6213
6213
|
type: 'ListWithDetail',
|
|
6214
6214
|
scope: '#/properties/an-array-of-strings',
|
|
6215
6215
|
};
|
|
@@ -6217,9 +6217,9 @@ registerExamples([
|
|
|
6217
6217
|
{
|
|
6218
6218
|
name: 'list-with-detail-primitive-string',
|
|
6219
6219
|
label: 'List With Detail primitive (string)',
|
|
6220
|
-
data: data$
|
|
6221
|
-
schema: schema$
|
|
6222
|
-
uischema: uischema$
|
|
6220
|
+
data: data$b,
|
|
6221
|
+
schema: schema$b,
|
|
6222
|
+
uischema: uischema$b,
|
|
6223
6223
|
},
|
|
6224
6224
|
]);
|
|
6225
6225
|
const data_number = {
|
|
@@ -6252,15 +6252,15 @@ registerExamples([
|
|
|
6252
6252
|
|
|
6253
6253
|
var listWithDetailPrimitives = /*#__PURE__*/Object.freeze({
|
|
6254
6254
|
__proto__: null,
|
|
6255
|
-
data: data$
|
|
6256
|
-
schema: schema$
|
|
6257
|
-
uischema: uischema$
|
|
6255
|
+
data: data$b,
|
|
6256
|
+
schema: schema$b,
|
|
6257
|
+
uischema: uischema$b,
|
|
6258
6258
|
data_number: data_number,
|
|
6259
6259
|
schema_number: schema_number,
|
|
6260
6260
|
uischema_number: uischema_number
|
|
6261
6261
|
});
|
|
6262
6262
|
|
|
6263
|
-
const schema$
|
|
6263
|
+
const schema$a = {
|
|
6264
6264
|
type: 'object',
|
|
6265
6265
|
properties: {
|
|
6266
6266
|
name: {
|
|
@@ -6295,7 +6295,7 @@ const schema$9 = {
|
|
|
6295
6295
|
},
|
|
6296
6296
|
],
|
|
6297
6297
|
};
|
|
6298
|
-
const uischema$
|
|
6298
|
+
const uischema$a = {
|
|
6299
6299
|
type: 'HorizontalLayout',
|
|
6300
6300
|
elements: [
|
|
6301
6301
|
{
|
|
@@ -6339,21 +6339,21 @@ const uischema$9 = {
|
|
|
6339
6339
|
},
|
|
6340
6340
|
],
|
|
6341
6341
|
};
|
|
6342
|
-
const data$
|
|
6342
|
+
const data$a = {};
|
|
6343
6343
|
registerExamples([
|
|
6344
6344
|
{
|
|
6345
6345
|
name: 'conditional-schema-compositions',
|
|
6346
6346
|
label: 'Conditional Schema Compositions',
|
|
6347
|
-
data: data$
|
|
6348
|
-
schema: schema$
|
|
6349
|
-
uischema: uischema$
|
|
6347
|
+
data: data$a,
|
|
6348
|
+
schema: schema$a,
|
|
6349
|
+
uischema: uischema$a,
|
|
6350
6350
|
},
|
|
6351
6351
|
]);
|
|
6352
6352
|
|
|
6353
6353
|
var conditionalSchemaCompositions = /*#__PURE__*/Object.freeze({
|
|
6354
6354
|
__proto__: null,
|
|
6355
|
-
schema: schema$
|
|
6356
|
-
uischema: uischema$
|
|
6355
|
+
schema: schema$a,
|
|
6356
|
+
uischema: uischema$a
|
|
6357
6357
|
});
|
|
6358
6358
|
|
|
6359
6359
|
const additionalErrors = [];
|
|
@@ -6379,9 +6379,9 @@ registerExamples([
|
|
|
6379
6379
|
{
|
|
6380
6380
|
name: 'additional-errors',
|
|
6381
6381
|
label: 'Additional errors',
|
|
6382
|
-
data: data$
|
|
6383
|
-
schema: schema$
|
|
6384
|
-
uischema: uischema$
|
|
6382
|
+
data: data$M,
|
|
6383
|
+
schema: schema$K,
|
|
6384
|
+
uischema: uischema$K,
|
|
6385
6385
|
actions: actions$1,
|
|
6386
6386
|
},
|
|
6387
6387
|
]);
|
|
@@ -6392,7 +6392,7 @@ var additionalErrors$1 = /*#__PURE__*/Object.freeze({
|
|
|
6392
6392
|
actions: actions$1
|
|
6393
6393
|
});
|
|
6394
6394
|
|
|
6395
|
-
const schema$
|
|
6395
|
+
const schema$9 = {
|
|
6396
6396
|
type: 'object',
|
|
6397
6397
|
properties: {
|
|
6398
6398
|
oneOfMultiEnum: {
|
|
@@ -6418,7 +6418,7 @@ const schema$8 = {
|
|
|
6418
6418
|
},
|
|
6419
6419
|
},
|
|
6420
6420
|
};
|
|
6421
|
-
const uischema$
|
|
6421
|
+
const uischema$9 = {
|
|
6422
6422
|
type: 'VerticalLayout',
|
|
6423
6423
|
elements: [
|
|
6424
6424
|
{
|
|
@@ -6439,25 +6439,25 @@ const uischema$8 = {
|
|
|
6439
6439
|
},
|
|
6440
6440
|
],
|
|
6441
6441
|
};
|
|
6442
|
-
const data$
|
|
6442
|
+
const data$9 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
6443
6443
|
registerExamples([
|
|
6444
6444
|
{
|
|
6445
6445
|
name: 'multi-enum-with-label-and-desc',
|
|
6446
6446
|
label: 'Enum - Multi selection with label and desc',
|
|
6447
|
-
data: data$
|
|
6448
|
-
schema: schema$
|
|
6449
|
-
uischema: uischema$
|
|
6447
|
+
data: data$9,
|
|
6448
|
+
schema: schema$9,
|
|
6449
|
+
uischema: uischema$9,
|
|
6450
6450
|
},
|
|
6451
6451
|
]);
|
|
6452
6452
|
|
|
6453
6453
|
var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
|
|
6454
6454
|
__proto__: null,
|
|
6455
|
-
schema: schema$
|
|
6456
|
-
uischema: uischema$
|
|
6457
|
-
data: data$
|
|
6455
|
+
schema: schema$9,
|
|
6456
|
+
uischema: uischema$9,
|
|
6457
|
+
data: data$9
|
|
6458
6458
|
});
|
|
6459
6459
|
|
|
6460
|
-
const schema$
|
|
6460
|
+
const schema$8 = {
|
|
6461
6461
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6462
6462
|
type: 'object',
|
|
6463
6463
|
properties: {
|
|
@@ -6531,11 +6531,11 @@ const schema$7 = {
|
|
|
6531
6531
|
},
|
|
6532
6532
|
maxProperties: 15,
|
|
6533
6533
|
};
|
|
6534
|
-
const uischema$
|
|
6534
|
+
const uischema$8 = {
|
|
6535
6535
|
type: 'Control',
|
|
6536
6536
|
scope: '#/',
|
|
6537
6537
|
};
|
|
6538
|
-
const data$
|
|
6538
|
+
const data$8 = {
|
|
6539
6539
|
propertiesString: 'data',
|
|
6540
6540
|
string: 'string value',
|
|
6541
6541
|
number: 10.2,
|
|
@@ -6554,19 +6554,19 @@ registerExamples([
|
|
|
6554
6554
|
{
|
|
6555
6555
|
name: 'additional-properties',
|
|
6556
6556
|
label: 'Additional Properties',
|
|
6557
|
-
data: data$
|
|
6558
|
-
schema: schema$
|
|
6559
|
-
uischema: uischema$
|
|
6557
|
+
data: data$8,
|
|
6558
|
+
schema: schema$8,
|
|
6559
|
+
uischema: uischema$8,
|
|
6560
6560
|
},
|
|
6561
6561
|
]);
|
|
6562
6562
|
|
|
6563
6563
|
var additionalProperties = /*#__PURE__*/Object.freeze({
|
|
6564
6564
|
__proto__: null,
|
|
6565
|
-
schema: schema$
|
|
6566
|
-
uischema: uischema$
|
|
6565
|
+
schema: schema$8,
|
|
6566
|
+
uischema: uischema$8
|
|
6567
6567
|
});
|
|
6568
6568
|
|
|
6569
|
-
const schema$
|
|
6569
|
+
const schema$7 = {
|
|
6570
6570
|
type: 'object',
|
|
6571
6571
|
properties: {
|
|
6572
6572
|
username: {
|
|
@@ -6581,7 +6581,7 @@ const schema$6 = {
|
|
|
6581
6581
|
},
|
|
6582
6582
|
required: ['username', 'password'],
|
|
6583
6583
|
};
|
|
6584
|
-
const uischema$
|
|
6584
|
+
const uischema$7 = {
|
|
6585
6585
|
type: 'VerticalLayout',
|
|
6586
6586
|
elements: [
|
|
6587
6587
|
{
|
|
@@ -6603,51 +6603,51 @@ const uischema$6 = {
|
|
|
6603
6603
|
},
|
|
6604
6604
|
],
|
|
6605
6605
|
};
|
|
6606
|
-
const data$
|
|
6606
|
+
const data$7 = {
|
|
6607
6607
|
username: 'john.doe@email.com',
|
|
6608
6608
|
};
|
|
6609
6609
|
registerExamples([
|
|
6610
6610
|
{
|
|
6611
6611
|
name: 'login',
|
|
6612
6612
|
label: 'Login Form',
|
|
6613
|
-
data: data$
|
|
6614
|
-
schema: schema$
|
|
6615
|
-
uischema: uischema$
|
|
6613
|
+
data: data$7,
|
|
6614
|
+
schema: schema$7,
|
|
6615
|
+
uischema: uischema$7,
|
|
6616
6616
|
},
|
|
6617
6617
|
]);
|
|
6618
6618
|
|
|
6619
6619
|
var login = /*#__PURE__*/Object.freeze({
|
|
6620
6620
|
__proto__: null,
|
|
6621
|
-
schema: schema$
|
|
6622
|
-
uischema: uischema$
|
|
6621
|
+
schema: schema$7,
|
|
6622
|
+
uischema: uischema$7
|
|
6623
6623
|
});
|
|
6624
6624
|
|
|
6625
|
-
const schema$
|
|
6625
|
+
const schema$6 = {
|
|
6626
6626
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6627
6627
|
type: ['string', 'boolean', 'integer', 'null'],
|
|
6628
6628
|
};
|
|
6629
|
-
const uischema$
|
|
6629
|
+
const uischema$6 = {
|
|
6630
6630
|
type: 'Control',
|
|
6631
6631
|
scope: '#/',
|
|
6632
6632
|
};
|
|
6633
|
-
const data$
|
|
6633
|
+
const data$6 = undefined;
|
|
6634
6634
|
registerExamples([
|
|
6635
6635
|
{
|
|
6636
6636
|
name: 'mixed',
|
|
6637
6637
|
label: 'Mixed',
|
|
6638
|
-
data: data$
|
|
6639
|
-
schema: schema$
|
|
6640
|
-
uischema: uischema$
|
|
6638
|
+
data: data$6,
|
|
6639
|
+
schema: schema$6,
|
|
6640
|
+
uischema: uischema$6,
|
|
6641
6641
|
},
|
|
6642
6642
|
]);
|
|
6643
6643
|
|
|
6644
6644
|
var mixed = /*#__PURE__*/Object.freeze({
|
|
6645
6645
|
__proto__: null,
|
|
6646
|
-
schema: schema$
|
|
6647
|
-
uischema: uischema$
|
|
6646
|
+
schema: schema$6,
|
|
6647
|
+
uischema: uischema$6
|
|
6648
6648
|
});
|
|
6649
6649
|
|
|
6650
|
-
const schema$
|
|
6650
|
+
const schema$5 = {
|
|
6651
6651
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6652
6652
|
title: 'Mixed Types Example',
|
|
6653
6653
|
type: 'object',
|
|
@@ -6673,7 +6673,7 @@ const schema$4 = {
|
|
|
6673
6673
|
},
|
|
6674
6674
|
required: ['mixedSimple'],
|
|
6675
6675
|
};
|
|
6676
|
-
const uischema$
|
|
6676
|
+
const uischema$5 = {
|
|
6677
6677
|
type: 'VerticalLayout',
|
|
6678
6678
|
elements: [
|
|
6679
6679
|
{
|
|
@@ -6690,7 +6690,7 @@ const uischema$4 = {
|
|
|
6690
6690
|
},
|
|
6691
6691
|
],
|
|
6692
6692
|
};
|
|
6693
|
-
const data$
|
|
6693
|
+
const data$5 = {
|
|
6694
6694
|
mixedSimple: 'String',
|
|
6695
6695
|
nullableString: null,
|
|
6696
6696
|
};
|
|
@@ -6698,39 +6698,144 @@ registerExamples([
|
|
|
6698
6698
|
{
|
|
6699
6699
|
name: 'mixed-object',
|
|
6700
6700
|
label: 'Mixed Object',
|
|
6701
|
-
data: data$
|
|
6702
|
-
schema: schema$
|
|
6703
|
-
uischema: uischema$
|
|
6701
|
+
data: data$5,
|
|
6702
|
+
schema: schema$5,
|
|
6703
|
+
uischema: uischema$5,
|
|
6704
6704
|
},
|
|
6705
6705
|
]);
|
|
6706
6706
|
|
|
6707
6707
|
var mixedObject = /*#__PURE__*/Object.freeze({
|
|
6708
6708
|
__proto__: null,
|
|
6709
|
-
schema: schema$
|
|
6710
|
-
uischema: uischema$
|
|
6709
|
+
schema: schema$5,
|
|
6710
|
+
uischema: uischema$5
|
|
6711
6711
|
});
|
|
6712
6712
|
|
|
6713
|
-
const schema$
|
|
6713
|
+
const schema$4 = {
|
|
6714
6714
|
type: 'string',
|
|
6715
6715
|
title: 'String',
|
|
6716
6716
|
description: 'The form output will be a string',
|
|
6717
6717
|
};
|
|
6718
|
-
const uischema$
|
|
6718
|
+
const uischema$4 = {
|
|
6719
6719
|
type: 'Control',
|
|
6720
6720
|
scope: '#/',
|
|
6721
6721
|
};
|
|
6722
|
-
const data$
|
|
6722
|
+
const data$4 = 'This is a test string';
|
|
6723
6723
|
registerExamples([
|
|
6724
6724
|
{
|
|
6725
6725
|
name: 'string',
|
|
6726
6726
|
label: 'String',
|
|
6727
|
+
data: data$4,
|
|
6728
|
+
schema: schema$4,
|
|
6729
|
+
uischema: uischema$4,
|
|
6730
|
+
},
|
|
6731
|
+
]);
|
|
6732
|
+
|
|
6733
|
+
var string = /*#__PURE__*/Object.freeze({
|
|
6734
|
+
__proto__: null,
|
|
6735
|
+
schema: schema$4,
|
|
6736
|
+
uischema: uischema$4,
|
|
6737
|
+
data: data$4
|
|
6738
|
+
});
|
|
6739
|
+
|
|
6740
|
+
const schema$3 = {
|
|
6741
|
+
type: 'object',
|
|
6742
|
+
properties: {
|
|
6743
|
+
displayName: {
|
|
6744
|
+
type: 'string',
|
|
6745
|
+
description: 'Decorative icon',
|
|
6746
|
+
},
|
|
6747
|
+
password: {
|
|
6748
|
+
type: 'string',
|
|
6749
|
+
description: 'Dynamic strength meter',
|
|
6750
|
+
},
|
|
6751
|
+
username: {
|
|
6752
|
+
type: 'string',
|
|
6753
|
+
maxLength: 20,
|
|
6754
|
+
description: 'Availability checker (try "admin" or "user")',
|
|
6755
|
+
},
|
|
6756
|
+
email: {
|
|
6757
|
+
type: 'string',
|
|
6758
|
+
format: 'email',
|
|
6759
|
+
description: 'Copy to clipboard',
|
|
6760
|
+
},
|
|
6761
|
+
temperature: {
|
|
6762
|
+
type: 'integer',
|
|
6763
|
+
minimum: -50,
|
|
6764
|
+
maximum: 50,
|
|
6765
|
+
description: 'Temperature with dynamic icon and unit (°C)',
|
|
6766
|
+
},
|
|
6767
|
+
},
|
|
6768
|
+
};
|
|
6769
|
+
const uischema$3 = {
|
|
6770
|
+
type: 'VerticalLayout',
|
|
6771
|
+
elements: [
|
|
6772
|
+
{
|
|
6773
|
+
type: 'Label',
|
|
6774
|
+
text: 'Prepend Slot Only',
|
|
6775
|
+
},
|
|
6776
|
+
{
|
|
6777
|
+
type: 'Control',
|
|
6778
|
+
scope: '#/properties/displayName',
|
|
6779
|
+
options: {
|
|
6780
|
+
clearable: false,
|
|
6781
|
+
},
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
type: 'Control',
|
|
6785
|
+
scope: '#/properties/password',
|
|
6786
|
+
options: {
|
|
6787
|
+
clearable: false,
|
|
6788
|
+
},
|
|
6789
|
+
},
|
|
6790
|
+
{
|
|
6791
|
+
type: 'Label',
|
|
6792
|
+
text: 'Append Slot Only',
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
type: 'Control',
|
|
6796
|
+
scope: '#/properties/username',
|
|
6797
|
+
options: {
|
|
6798
|
+
clearable: false,
|
|
6799
|
+
},
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
type: 'Control',
|
|
6803
|
+
scope: '#/properties/email',
|
|
6804
|
+
options: {
|
|
6805
|
+
clearable: false,
|
|
6806
|
+
},
|
|
6807
|
+
},
|
|
6808
|
+
{
|
|
6809
|
+
type: 'Label',
|
|
6810
|
+
text: 'Both Prepend and Append',
|
|
6811
|
+
},
|
|
6812
|
+
{
|
|
6813
|
+
type: 'Control',
|
|
6814
|
+
scope: '#/properties/temperature',
|
|
6815
|
+
options: {
|
|
6816
|
+
clearable: false,
|
|
6817
|
+
},
|
|
6818
|
+
},
|
|
6819
|
+
],
|
|
6820
|
+
};
|
|
6821
|
+
const data$3 = {
|
|
6822
|
+
displayName: 'John Doe',
|
|
6823
|
+
password: '',
|
|
6824
|
+
username: '',
|
|
6825
|
+
email: 'user@example.com',
|
|
6826
|
+
temperature: 22,
|
|
6827
|
+
};
|
|
6828
|
+
registerExamples([
|
|
6829
|
+
{
|
|
6830
|
+
name: 'prepend-append-slots',
|
|
6831
|
+
label: 'Prepend/Append Slots (Basic)',
|
|
6727
6832
|
data: data$3,
|
|
6728
6833
|
schema: schema$3,
|
|
6729
6834
|
uischema: uischema$3,
|
|
6730
6835
|
},
|
|
6731
6836
|
]);
|
|
6732
6837
|
|
|
6733
|
-
var
|
|
6838
|
+
var prependAppendSlots = /*#__PURE__*/Object.freeze({
|
|
6734
6839
|
__proto__: null,
|
|
6735
6840
|
schema: schema$3,
|
|
6736
6841
|
uischema: uischema$3,
|
|
@@ -7341,5 +7446,5 @@ var jsonEditor = /*#__PURE__*/Object.freeze({
|
|
|
7341
7446
|
uischema: uischema
|
|
7342
7447
|
});
|
|
7343
7448
|
|
|
7344
|
-
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, 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, radioGroup as radioGroupExample, readonly, registerExamples, rule, ruleInheritance, scope, categorizationStepper as stepper, categorizationStepperNavButtons as steppershownav, string, stringArray, text };
|
|
7449
|
+
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, 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 };
|
|
7345
7450
|
//# sourceMappingURL=jsonforms-examples.esm.js.map
|