@jsonforms/examples 3.2.1 → 3.3.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/enum-multi-with-label-and-desc.d.ts +40 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +487 -421
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +489 -424
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/examples/dates.ts +1 -1
- package/src/examples/enum-multi-with-label-and-desc.ts +86 -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$K = {
|
|
16
16
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
17
17
|
definitions: {
|
|
18
18
|
address: {
|
|
@@ -45,7 +45,7 @@ const schema$J = {
|
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
|
-
const uischema$
|
|
48
|
+
const uischema$K = {
|
|
49
49
|
type: 'VerticalLayout',
|
|
50
50
|
elements: [
|
|
51
51
|
{
|
|
@@ -59,7 +59,7 @@ const uischema$J = {
|
|
|
59
59
|
},
|
|
60
60
|
],
|
|
61
61
|
};
|
|
62
|
-
const data$
|
|
62
|
+
const data$M = {
|
|
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$M,
|
|
74
|
+
schema: schema$K,
|
|
75
|
+
uischema: uischema$K,
|
|
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$K,
|
|
82
|
+
uischema: uischema$K
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
const schema$
|
|
85
|
+
const schema$J = {
|
|
86
86
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
87
87
|
definitions: {
|
|
88
88
|
address: {
|
|
@@ -136,7 +136,7 @@ const schema$I = {
|
|
|
136
136
|
},
|
|
137
137
|
},
|
|
138
138
|
};
|
|
139
|
-
const uischema$
|
|
139
|
+
const uischema$J = {
|
|
140
140
|
type: 'VerticalLayout',
|
|
141
141
|
elements: [
|
|
142
142
|
{
|
|
@@ -155,7 +155,7 @@ const uischema$I = {
|
|
|
155
155
|
},
|
|
156
156
|
],
|
|
157
157
|
};
|
|
158
|
-
const data$
|
|
158
|
+
const data$L = {
|
|
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$L,
|
|
178
|
+
schema: schema$J,
|
|
179
|
+
uischema: uischema$J,
|
|
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$J,
|
|
193
|
+
uischema: uischema$J
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
const schema$
|
|
196
|
+
const schema$I = {
|
|
197
197
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
198
198
|
definitions: {
|
|
199
199
|
address: {
|
|
@@ -228,7 +228,7 @@ const schema$H = {
|
|
|
228
228
|
},
|
|
229
229
|
required: ['name'],
|
|
230
230
|
};
|
|
231
|
-
const uischema$
|
|
231
|
+
const uischema$I = {
|
|
232
232
|
type: 'VerticalLayout',
|
|
233
233
|
elements: [
|
|
234
234
|
{
|
|
@@ -241,7 +241,7 @@ const uischema$H = {
|
|
|
241
241
|
},
|
|
242
242
|
],
|
|
243
243
|
};
|
|
244
|
-
const data$
|
|
244
|
+
const data$K = {
|
|
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$K,
|
|
467
|
+
schema: schema$I,
|
|
468
|
+
uischema: uischema$I,
|
|
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$I,
|
|
510
|
+
uischema: uischema$I
|
|
511
511
|
});
|
|
512
512
|
|
|
513
|
-
const schema$
|
|
513
|
+
const schema$H = {
|
|
514
514
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
515
515
|
definitions: {
|
|
516
516
|
address: {
|
|
@@ -545,7 +545,7 @@ const schema$G = {
|
|
|
545
545
|
},
|
|
546
546
|
},
|
|
547
547
|
};
|
|
548
|
-
const uischema$
|
|
548
|
+
const uischema$H = {
|
|
549
549
|
type: 'VerticalLayout',
|
|
550
550
|
elements: [
|
|
551
551
|
{
|
|
@@ -554,7 +554,7 @@ const uischema$G = {
|
|
|
554
554
|
},
|
|
555
555
|
],
|
|
556
556
|
};
|
|
557
|
-
const data$
|
|
557
|
+
const data$J = {
|
|
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$J,
|
|
576
|
+
schema: schema$H,
|
|
577
|
+
uischema: uischema$H,
|
|
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$H,
|
|
584
|
+
uischema: uischema$H
|
|
585
585
|
});
|
|
586
586
|
|
|
587
|
-
const schema$
|
|
587
|
+
const schema$G = {
|
|
588
588
|
$defs: {
|
|
589
589
|
Base: {
|
|
590
590
|
type: 'object',
|
|
@@ -615,7 +615,7 @@ const schema$F = {
|
|
|
615
615
|
},
|
|
616
616
|
},
|
|
617
617
|
};
|
|
618
|
-
const uischema$
|
|
618
|
+
const uischema$G = {
|
|
619
619
|
type: 'VerticalLayout',
|
|
620
620
|
elements: [
|
|
621
621
|
{
|
|
@@ -640,24 +640,24 @@ const uischema$F = {
|
|
|
640
640
|
},
|
|
641
641
|
],
|
|
642
642
|
};
|
|
643
|
-
const data$
|
|
643
|
+
const data$I = {};
|
|
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$I,
|
|
649
|
+
schema: schema$G,
|
|
650
|
+
uischema: uischema$G,
|
|
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$G,
|
|
657
|
+
uischema: uischema$G
|
|
658
658
|
});
|
|
659
659
|
|
|
660
|
-
const schema$
|
|
660
|
+
const schema$F = {
|
|
661
661
|
type: 'object',
|
|
662
662
|
properties: {
|
|
663
663
|
comments: {
|
|
@@ -687,7 +687,7 @@ const schema$E = {
|
|
|
687
687
|
foo: { type: 'string' },
|
|
688
688
|
},
|
|
689
689
|
};
|
|
690
|
-
const uischema$
|
|
690
|
+
const uischema$F = {
|
|
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$H = {
|
|
723
723
|
comments: [
|
|
724
724
|
{
|
|
725
725
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -747,7 +747,7 @@ const actions$5 = [
|
|
|
747
747
|
apply: (props) => {
|
|
748
748
|
return {
|
|
749
749
|
...props,
|
|
750
|
-
uischema: uischema$
|
|
750
|
+
uischema: uischema$F,
|
|
751
751
|
};
|
|
752
752
|
},
|
|
753
753
|
},
|
|
@@ -756,9 +756,9 @@ registerExamples([
|
|
|
756
756
|
{
|
|
757
757
|
name: 'array',
|
|
758
758
|
label: 'Array',
|
|
759
|
-
data: data$
|
|
760
|
-
schema: schema$
|
|
761
|
-
uischema: uischema$
|
|
759
|
+
data: data$H,
|
|
760
|
+
schema: schema$F,
|
|
761
|
+
uischema: uischema$F,
|
|
762
762
|
config: {
|
|
763
763
|
withSort: uischemaWithSorting$1,
|
|
764
764
|
},
|
|
@@ -768,13 +768,13 @@ registerExamples([
|
|
|
768
768
|
|
|
769
769
|
var arrays = /*#__PURE__*/Object.freeze({
|
|
770
770
|
__proto__: null,
|
|
771
|
-
schema: schema$
|
|
772
|
-
uischema: uischema$
|
|
771
|
+
schema: schema$F,
|
|
772
|
+
uischema: uischema$F,
|
|
773
773
|
uischemaWithSorting: uischemaWithSorting$1,
|
|
774
|
-
data: data$
|
|
774
|
+
data: data$H
|
|
775
775
|
});
|
|
776
776
|
|
|
777
|
-
const schema$
|
|
777
|
+
const schema$E = {
|
|
778
778
|
type: 'object',
|
|
779
779
|
properties: {
|
|
780
780
|
comments: {
|
|
@@ -799,7 +799,7 @@ const schema$D = {
|
|
|
799
799
|
},
|
|
800
800
|
},
|
|
801
801
|
};
|
|
802
|
-
const uischema$
|
|
802
|
+
const uischema$E = {
|
|
803
803
|
type: 'VerticalLayout',
|
|
804
804
|
elements: [
|
|
805
805
|
{
|
|
@@ -811,7 +811,7 @@ const uischema$D = {
|
|
|
811
811
|
},
|
|
812
812
|
],
|
|
813
813
|
};
|
|
814
|
-
const data$
|
|
814
|
+
const data$G = {
|
|
815
815
|
comments: [
|
|
816
816
|
{
|
|
817
817
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -839,9 +839,9 @@ registerExamples([
|
|
|
839
839
|
{
|
|
840
840
|
name: 'array-i18n',
|
|
841
841
|
label: 'Array (i18n)',
|
|
842
|
-
data: data$
|
|
843
|
-
schema: schema$
|
|
844
|
-
uischema: uischema$
|
|
842
|
+
data: data$G,
|
|
843
|
+
schema: schema$E,
|
|
844
|
+
uischema: uischema$E,
|
|
845
845
|
i18n: {
|
|
846
846
|
translate: translate$2,
|
|
847
847
|
locale: 'en',
|
|
@@ -851,14 +851,14 @@ registerExamples([
|
|
|
851
851
|
|
|
852
852
|
var arraysI18n = /*#__PURE__*/Object.freeze({
|
|
853
853
|
__proto__: null,
|
|
854
|
-
schema: schema$
|
|
855
|
-
uischema: uischema$
|
|
856
|
-
data: data$
|
|
854
|
+
schema: schema$E,
|
|
855
|
+
uischema: uischema$E,
|
|
856
|
+
data: data$G,
|
|
857
857
|
translations: translations$2,
|
|
858
858
|
translate: translate$2
|
|
859
859
|
});
|
|
860
860
|
|
|
861
|
-
const schema$
|
|
861
|
+
const schema$D = {
|
|
862
862
|
definitions: {
|
|
863
863
|
choicesContainer: {
|
|
864
864
|
type: 'object',
|
|
@@ -883,7 +883,7 @@ const schema$C = {
|
|
|
883
883
|
},
|
|
884
884
|
},
|
|
885
885
|
};
|
|
886
|
-
const uischema$
|
|
886
|
+
const uischema$D = {
|
|
887
887
|
type: 'HorizontalLayout',
|
|
888
888
|
elements: [
|
|
889
889
|
{
|
|
@@ -896,7 +896,7 @@ const uischema$C = {
|
|
|
896
896
|
},
|
|
897
897
|
],
|
|
898
898
|
};
|
|
899
|
-
const data$
|
|
899
|
+
const data$F = {
|
|
900
900
|
exampleArray: [
|
|
901
901
|
{
|
|
902
902
|
choices: ['This', 'is', 'an', 'example'],
|
|
@@ -948,19 +948,19 @@ registerExamples([
|
|
|
948
948
|
{
|
|
949
949
|
name: 'nestedArray',
|
|
950
950
|
label: 'Nested Array',
|
|
951
|
-
data: data$
|
|
952
|
-
schema: schema$
|
|
953
|
-
uischema: uischema$
|
|
951
|
+
data: data$F,
|
|
952
|
+
schema: schema$D,
|
|
953
|
+
uischema: uischema$D,
|
|
954
954
|
actions: actions$4,
|
|
955
955
|
},
|
|
956
956
|
]);
|
|
957
957
|
|
|
958
958
|
var nestedArrays = /*#__PURE__*/Object.freeze({
|
|
959
959
|
__proto__: null,
|
|
960
|
-
uischema: uischema$
|
|
960
|
+
uischema: uischema$D
|
|
961
961
|
});
|
|
962
962
|
|
|
963
|
-
const schema$
|
|
963
|
+
const schema$C = {
|
|
964
964
|
type: 'object',
|
|
965
965
|
properties: {
|
|
966
966
|
cat1: {
|
|
@@ -998,7 +998,7 @@ const schema$B = {
|
|
|
998
998
|
},
|
|
999
999
|
},
|
|
1000
1000
|
};
|
|
1001
|
-
const uischema$
|
|
1001
|
+
const uischema$C = {
|
|
1002
1002
|
type: 'Categorization',
|
|
1003
1003
|
elements: [
|
|
1004
1004
|
{
|
|
@@ -1096,22 +1096,22 @@ const uischema$B = {
|
|
|
1096
1096
|
},
|
|
1097
1097
|
],
|
|
1098
1098
|
};
|
|
1099
|
-
const data$
|
|
1099
|
+
const data$E = {};
|
|
1100
1100
|
registerExamples([
|
|
1101
1101
|
{
|
|
1102
1102
|
name: 'nestedCategorization',
|
|
1103
1103
|
label: 'Nested Categorization',
|
|
1104
|
-
data: data$
|
|
1105
|
-
schema: schema$
|
|
1106
|
-
uischema: uischema$
|
|
1104
|
+
data: data$E,
|
|
1105
|
+
schema: schema$C,
|
|
1106
|
+
uischema: uischema$C,
|
|
1107
1107
|
},
|
|
1108
1108
|
]);
|
|
1109
1109
|
|
|
1110
1110
|
var nestedCategorization = /*#__PURE__*/Object.freeze({
|
|
1111
1111
|
__proto__: null,
|
|
1112
|
-
schema: schema$
|
|
1113
|
-
uischema: uischema$
|
|
1114
|
-
data: data$
|
|
1112
|
+
schema: schema$C,
|
|
1113
|
+
uischema: uischema$C,
|
|
1114
|
+
data: data$E
|
|
1115
1115
|
});
|
|
1116
1116
|
|
|
1117
1117
|
const personCoreSchema = {
|
|
@@ -1136,7 +1136,7 @@ const personCoreSchema = {
|
|
|
1136
1136
|
},
|
|
1137
1137
|
},
|
|
1138
1138
|
};
|
|
1139
|
-
const schema$
|
|
1139
|
+
const schema$B = {
|
|
1140
1140
|
type: 'object',
|
|
1141
1141
|
properties: {
|
|
1142
1142
|
...personCoreSchema.properties,
|
|
@@ -1176,7 +1176,7 @@ const schema$A = {
|
|
|
1176
1176
|
},
|
|
1177
1177
|
required: ['occupation', 'nationality'],
|
|
1178
1178
|
};
|
|
1179
|
-
const uischema$
|
|
1179
|
+
const uischema$B = {
|
|
1180
1180
|
type: 'VerticalLayout',
|
|
1181
1181
|
elements: [
|
|
1182
1182
|
{
|
|
@@ -1229,7 +1229,7 @@ const uischema$A = {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
],
|
|
1231
1231
|
};
|
|
1232
|
-
const data$
|
|
1232
|
+
const data$D = {
|
|
1233
1233
|
name: 'John Doe',
|
|
1234
1234
|
vegetarian: false,
|
|
1235
1235
|
birthDate: '1985-06-02',
|
|
@@ -1242,21 +1242,21 @@ registerExamples([
|
|
|
1242
1242
|
{
|
|
1243
1243
|
name: 'person',
|
|
1244
1244
|
label: 'Person',
|
|
1245
|
-
data: data$
|
|
1246
|
-
schema: schema$
|
|
1247
|
-
uischema: uischema$
|
|
1245
|
+
data: data$D,
|
|
1246
|
+
schema: schema$B,
|
|
1247
|
+
uischema: uischema$B,
|
|
1248
1248
|
},
|
|
1249
1249
|
]);
|
|
1250
1250
|
|
|
1251
1251
|
var person = /*#__PURE__*/Object.freeze({
|
|
1252
1252
|
__proto__: null,
|
|
1253
1253
|
personCoreSchema: personCoreSchema,
|
|
1254
|
-
schema: schema$
|
|
1255
|
-
uischema: uischema$
|
|
1256
|
-
data: data$
|
|
1254
|
+
schema: schema$B,
|
|
1255
|
+
uischema: uischema$B,
|
|
1256
|
+
data: data$D
|
|
1257
1257
|
});
|
|
1258
1258
|
|
|
1259
|
-
const schema$
|
|
1259
|
+
const schema$A = {
|
|
1260
1260
|
type: 'object',
|
|
1261
1261
|
properties: {
|
|
1262
1262
|
...personCoreSchema.properties,
|
|
@@ -1283,7 +1283,7 @@ const schema$z = {
|
|
|
1283
1283
|
},
|
|
1284
1284
|
required: ['occupation', 'nationality'],
|
|
1285
1285
|
};
|
|
1286
|
-
const uischema$
|
|
1286
|
+
const uischema$A = {
|
|
1287
1287
|
type: 'VerticalLayout',
|
|
1288
1288
|
elements: [
|
|
1289
1289
|
{
|
|
@@ -1309,7 +1309,7 @@ const uischema$z = {
|
|
|
1309
1309
|
},
|
|
1310
1310
|
],
|
|
1311
1311
|
};
|
|
1312
|
-
const data$
|
|
1312
|
+
const data$C = {
|
|
1313
1313
|
comments: [
|
|
1314
1314
|
{
|
|
1315
1315
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1325,20 +1325,20 @@ registerExamples([
|
|
|
1325
1325
|
{
|
|
1326
1326
|
name: 'array-with-detail',
|
|
1327
1327
|
label: 'Array with detail',
|
|
1328
|
-
data: data$
|
|
1329
|
-
schema: schema$
|
|
1330
|
-
uischema: uischema$
|
|
1328
|
+
data: data$C,
|
|
1329
|
+
schema: schema$A,
|
|
1330
|
+
uischema: uischema$A,
|
|
1331
1331
|
},
|
|
1332
1332
|
]);
|
|
1333
1333
|
|
|
1334
1334
|
var arraysWithDetail = /*#__PURE__*/Object.freeze({
|
|
1335
1335
|
__proto__: null,
|
|
1336
|
-
schema: schema$
|
|
1337
|
-
uischema: uischema$
|
|
1338
|
-
data: data$
|
|
1336
|
+
schema: schema$A,
|
|
1337
|
+
uischema: uischema$A,
|
|
1338
|
+
data: data$C
|
|
1339
1339
|
});
|
|
1340
1340
|
|
|
1341
|
-
const schema$
|
|
1341
|
+
const schema$z = {
|
|
1342
1342
|
type: 'object',
|
|
1343
1343
|
properties: {
|
|
1344
1344
|
...personCoreSchema.properties,
|
|
@@ -1364,7 +1364,7 @@ const schema$y = {
|
|
|
1364
1364
|
},
|
|
1365
1365
|
required: ['occupation', 'nationality'],
|
|
1366
1366
|
};
|
|
1367
|
-
const uischema$
|
|
1367
|
+
const uischema$z = {
|
|
1368
1368
|
type: 'VerticalLayout',
|
|
1369
1369
|
elements: [
|
|
1370
1370
|
{
|
|
@@ -1412,7 +1412,7 @@ const uischema$y = {
|
|
|
1412
1412
|
},
|
|
1413
1413
|
],
|
|
1414
1414
|
};
|
|
1415
|
-
const data$
|
|
1415
|
+
const data$B = {
|
|
1416
1416
|
occupation: 'developer',
|
|
1417
1417
|
comments: [
|
|
1418
1418
|
{
|
|
@@ -1429,20 +1429,20 @@ registerExamples([
|
|
|
1429
1429
|
{
|
|
1430
1430
|
name: 'array-with-detail-and-rule',
|
|
1431
1431
|
label: 'Array with detail and rule',
|
|
1432
|
-
data: data$
|
|
1433
|
-
schema: schema$
|
|
1434
|
-
uischema: uischema$
|
|
1432
|
+
data: data$B,
|
|
1433
|
+
schema: schema$z,
|
|
1434
|
+
uischema: uischema$z,
|
|
1435
1435
|
},
|
|
1436
1436
|
]);
|
|
1437
1437
|
|
|
1438
1438
|
var arraysWithDetailAndRule = /*#__PURE__*/Object.freeze({
|
|
1439
1439
|
__proto__: null,
|
|
1440
|
-
schema: schema$
|
|
1441
|
-
uischema: uischema$
|
|
1442
|
-
data: data$
|
|
1440
|
+
schema: schema$z,
|
|
1441
|
+
uischema: uischema$z,
|
|
1442
|
+
data: data$B
|
|
1443
1443
|
});
|
|
1444
1444
|
|
|
1445
|
-
const schema$
|
|
1445
|
+
const schema$y = {
|
|
1446
1446
|
type: 'object',
|
|
1447
1447
|
properties: {
|
|
1448
1448
|
comments: {
|
|
@@ -1462,7 +1462,7 @@ const schema$x = {
|
|
|
1462
1462
|
},
|
|
1463
1463
|
},
|
|
1464
1464
|
};
|
|
1465
|
-
const uischema$
|
|
1465
|
+
const uischema$y = {
|
|
1466
1466
|
type: 'VerticalLayout',
|
|
1467
1467
|
elements: [
|
|
1468
1468
|
{
|
|
@@ -1487,7 +1487,7 @@ const uischema$x = {
|
|
|
1487
1487
|
},
|
|
1488
1488
|
],
|
|
1489
1489
|
};
|
|
1490
|
-
const data$
|
|
1490
|
+
const data$A = {
|
|
1491
1491
|
comments: [
|
|
1492
1492
|
{
|
|
1493
1493
|
message1: 'This is an example message',
|
|
@@ -1503,20 +1503,20 @@ registerExamples([
|
|
|
1503
1503
|
{
|
|
1504
1504
|
name: 'array-with-custom-element-label',
|
|
1505
1505
|
label: 'Array with custom element label',
|
|
1506
|
-
data: data$
|
|
1507
|
-
schema: schema$
|
|
1508
|
-
uischema: uischema$
|
|
1506
|
+
data: data$A,
|
|
1507
|
+
schema: schema$y,
|
|
1508
|
+
uischema: uischema$y,
|
|
1509
1509
|
},
|
|
1510
1510
|
]);
|
|
1511
1511
|
|
|
1512
1512
|
var arraysWithCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1513
1513
|
__proto__: null,
|
|
1514
|
-
schema: schema$
|
|
1515
|
-
uischema: uischema$
|
|
1516
|
-
data: data$
|
|
1514
|
+
schema: schema$y,
|
|
1515
|
+
uischema: uischema$y,
|
|
1516
|
+
data: data$A
|
|
1517
1517
|
});
|
|
1518
1518
|
|
|
1519
|
-
const schema$
|
|
1519
|
+
const schema$x = {
|
|
1520
1520
|
type: 'object',
|
|
1521
1521
|
properties: {
|
|
1522
1522
|
comments: {
|
|
@@ -1544,7 +1544,7 @@ const schema$w = {
|
|
|
1544
1544
|
foo: { type: 'string' },
|
|
1545
1545
|
},
|
|
1546
1546
|
};
|
|
1547
|
-
const uischema$
|
|
1547
|
+
const uischema$x = {
|
|
1548
1548
|
type: 'VerticalLayout',
|
|
1549
1549
|
elements: [
|
|
1550
1550
|
{
|
|
@@ -1578,7 +1578,7 @@ const uischemaWithSorting = {
|
|
|
1578
1578
|
},
|
|
1579
1579
|
],
|
|
1580
1580
|
};
|
|
1581
|
-
const data$
|
|
1581
|
+
const data$z = {
|
|
1582
1582
|
comments: [
|
|
1583
1583
|
{
|
|
1584
1584
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1605,7 +1605,7 @@ const actions$3 = [
|
|
|
1605
1605
|
apply: (props) => {
|
|
1606
1606
|
return {
|
|
1607
1607
|
...props,
|
|
1608
|
-
uischema: uischema$
|
|
1608
|
+
uischema: uischema$x,
|
|
1609
1609
|
};
|
|
1610
1610
|
},
|
|
1611
1611
|
},
|
|
@@ -1614,9 +1614,9 @@ registerExamples([
|
|
|
1614
1614
|
{
|
|
1615
1615
|
name: 'array-with-sorting',
|
|
1616
1616
|
label: 'Array with sorting',
|
|
1617
|
-
data: data$
|
|
1618
|
-
schema: schema$
|
|
1619
|
-
uischema: uischema$
|
|
1617
|
+
data: data$z,
|
|
1618
|
+
schema: schema$x,
|
|
1619
|
+
uischema: uischema$x,
|
|
1620
1620
|
config: {
|
|
1621
1621
|
withSort: uischemaWithSorting,
|
|
1622
1622
|
},
|
|
@@ -1626,13 +1626,13 @@ registerExamples([
|
|
|
1626
1626
|
|
|
1627
1627
|
var arraysWithSorting = /*#__PURE__*/Object.freeze({
|
|
1628
1628
|
__proto__: null,
|
|
1629
|
-
schema: schema$
|
|
1630
|
-
uischema: uischema$
|
|
1629
|
+
schema: schema$x,
|
|
1630
|
+
uischema: uischema$x,
|
|
1631
1631
|
uischemaWithSorting: uischemaWithSorting,
|
|
1632
|
-
data: data$
|
|
1632
|
+
data: data$z
|
|
1633
1633
|
});
|
|
1634
1634
|
|
|
1635
|
-
const schema$
|
|
1635
|
+
const schema$w = {
|
|
1636
1636
|
definitions: {
|
|
1637
1637
|
itemsType: {
|
|
1638
1638
|
type: 'object',
|
|
@@ -1704,7 +1704,7 @@ const schema$v = {
|
|
|
1704
1704
|
},
|
|
1705
1705
|
},
|
|
1706
1706
|
};
|
|
1707
|
-
const uischema$
|
|
1707
|
+
const uischema$w = {
|
|
1708
1708
|
type: 'VerticalLayout',
|
|
1709
1709
|
elements: [
|
|
1710
1710
|
{
|
|
@@ -1721,25 +1721,25 @@ const uischema$v = {
|
|
|
1721
1721
|
},
|
|
1722
1722
|
],
|
|
1723
1723
|
};
|
|
1724
|
-
const data$
|
|
1724
|
+
const data$y = {};
|
|
1725
1725
|
registerExamples([
|
|
1726
1726
|
{
|
|
1727
1727
|
name: 'array-with-defaults',
|
|
1728
1728
|
label: 'Array with defaults',
|
|
1729
|
-
data: data$
|
|
1730
|
-
schema: schema$
|
|
1731
|
-
uischema: uischema$
|
|
1729
|
+
data: data$y,
|
|
1730
|
+
schema: schema$w,
|
|
1731
|
+
uischema: uischema$w,
|
|
1732
1732
|
},
|
|
1733
1733
|
]);
|
|
1734
1734
|
|
|
1735
1735
|
var arraysWithDefaults = /*#__PURE__*/Object.freeze({
|
|
1736
1736
|
__proto__: null,
|
|
1737
|
-
schema: schema$
|
|
1738
|
-
uischema: uischema$
|
|
1739
|
-
data: data$
|
|
1737
|
+
schema: schema$w,
|
|
1738
|
+
uischema: uischema$w,
|
|
1739
|
+
data: data$y
|
|
1740
1740
|
});
|
|
1741
1741
|
|
|
1742
|
-
const schema$
|
|
1742
|
+
const schema$v = {
|
|
1743
1743
|
type: 'object',
|
|
1744
1744
|
properties: {
|
|
1745
1745
|
comments: {
|
|
@@ -1752,7 +1752,7 @@ const schema$u = {
|
|
|
1752
1752
|
},
|
|
1753
1753
|
},
|
|
1754
1754
|
};
|
|
1755
|
-
const uischema$
|
|
1755
|
+
const uischema$v = {
|
|
1756
1756
|
type: 'VerticalLayout',
|
|
1757
1757
|
elements: [
|
|
1758
1758
|
{
|
|
@@ -1761,27 +1761,27 @@ const uischema$u = {
|
|
|
1761
1761
|
},
|
|
1762
1762
|
],
|
|
1763
1763
|
};
|
|
1764
|
-
const data$
|
|
1764
|
+
const data$x = {
|
|
1765
1765
|
comments: ['one string', 'two strings'],
|
|
1766
1766
|
};
|
|
1767
1767
|
registerExamples([
|
|
1768
1768
|
{
|
|
1769
1769
|
name: 'stringArray',
|
|
1770
1770
|
label: 'Array of Strings',
|
|
1771
|
-
data: data$
|
|
1772
|
-
schema: schema$
|
|
1773
|
-
uischema: uischema$
|
|
1771
|
+
data: data$x,
|
|
1772
|
+
schema: schema$v,
|
|
1773
|
+
uischema: uischema$v,
|
|
1774
1774
|
},
|
|
1775
1775
|
]);
|
|
1776
1776
|
|
|
1777
1777
|
var stringArray = /*#__PURE__*/Object.freeze({
|
|
1778
1778
|
__proto__: null,
|
|
1779
|
-
schema: schema$
|
|
1780
|
-
uischema: uischema$
|
|
1781
|
-
data: data$
|
|
1779
|
+
schema: schema$v,
|
|
1780
|
+
uischema: uischema$v,
|
|
1781
|
+
data: data$x
|
|
1782
1782
|
});
|
|
1783
1783
|
|
|
1784
|
-
const schema$
|
|
1784
|
+
const schema$u = {
|
|
1785
1785
|
type: 'object',
|
|
1786
1786
|
properties: {
|
|
1787
1787
|
firstName: {
|
|
@@ -1844,7 +1844,7 @@ const schema$t = {
|
|
|
1844
1844
|
},
|
|
1845
1845
|
},
|
|
1846
1846
|
};
|
|
1847
|
-
const uischema$
|
|
1847
|
+
const uischema$u = {
|
|
1848
1848
|
type: 'Categorization',
|
|
1849
1849
|
elements: [
|
|
1850
1850
|
{
|
|
@@ -1960,7 +1960,7 @@ const uischema$t = {
|
|
|
1960
1960
|
},
|
|
1961
1961
|
],
|
|
1962
1962
|
};
|
|
1963
|
-
const data$
|
|
1963
|
+
const data$w = {
|
|
1964
1964
|
provideAddress: true,
|
|
1965
1965
|
vegetarian: false,
|
|
1966
1966
|
};
|
|
@@ -2048,15 +2048,15 @@ registerExamples([
|
|
|
2048
2048
|
{
|
|
2049
2049
|
name: 'categorization',
|
|
2050
2050
|
label: 'Categorization',
|
|
2051
|
-
data: data$
|
|
2052
|
-
schema: schema$
|
|
2053
|
-
uischema: uischema$
|
|
2051
|
+
data: data$w,
|
|
2052
|
+
schema: schema$u,
|
|
2053
|
+
uischema: uischema$u,
|
|
2054
2054
|
i18n: { locale: 'en', translate: translate$1 },
|
|
2055
2055
|
},
|
|
2056
2056
|
{
|
|
2057
2057
|
name: 'categorization_1713',
|
|
2058
2058
|
label: 'Categorization - Issue 1713',
|
|
2059
|
-
data: data$
|
|
2059
|
+
data: data$w,
|
|
2060
2060
|
schema: schema_1713,
|
|
2061
2061
|
uischema: uischema_1713,
|
|
2062
2062
|
},
|
|
@@ -2064,65 +2064,65 @@ registerExamples([
|
|
|
2064
2064
|
|
|
2065
2065
|
var categorization = /*#__PURE__*/Object.freeze({
|
|
2066
2066
|
__proto__: null,
|
|
2067
|
-
schema: schema$
|
|
2068
|
-
uischema: uischema$
|
|
2069
|
-
data: data$
|
|
2067
|
+
schema: schema$u,
|
|
2068
|
+
uischema: uischema$u,
|
|
2069
|
+
data: data$w,
|
|
2070
2070
|
translations: translations$1,
|
|
2071
2071
|
translate: translate$1
|
|
2072
2072
|
});
|
|
2073
2073
|
|
|
2074
|
-
const schema$
|
|
2075
|
-
const uischema$
|
|
2076
|
-
...uischema$
|
|
2074
|
+
const schema$t = schema$u;
|
|
2075
|
+
const uischema$t = {
|
|
2076
|
+
...uischema$u,
|
|
2077
2077
|
options: {
|
|
2078
2078
|
variant: 'stepper',
|
|
2079
2079
|
},
|
|
2080
2080
|
};
|
|
2081
|
-
const data$
|
|
2081
|
+
const data$v = data$w;
|
|
2082
2082
|
registerExamples([
|
|
2083
2083
|
{
|
|
2084
2084
|
name: 'categorizationstepper',
|
|
2085
2085
|
label: 'Categorization (Stepper)',
|
|
2086
|
-
data: data$
|
|
2087
|
-
schema: schema$
|
|
2088
|
-
uischema: uischema$
|
|
2086
|
+
data: data$v,
|
|
2087
|
+
schema: schema$t,
|
|
2088
|
+
uischema: uischema$t,
|
|
2089
2089
|
},
|
|
2090
2090
|
]);
|
|
2091
2091
|
|
|
2092
2092
|
var categorizationStepper = /*#__PURE__*/Object.freeze({
|
|
2093
2093
|
__proto__: null,
|
|
2094
|
-
schema: schema$
|
|
2095
|
-
uischema: uischema$
|
|
2096
|
-
data: data$
|
|
2094
|
+
schema: schema$t,
|
|
2095
|
+
uischema: uischema$t,
|
|
2096
|
+
data: data$v
|
|
2097
2097
|
});
|
|
2098
2098
|
|
|
2099
|
-
const schema$
|
|
2100
|
-
const uischema$
|
|
2101
|
-
...uischema$
|
|
2099
|
+
const schema$s = schema$u;
|
|
2100
|
+
const uischema$s = {
|
|
2101
|
+
...uischema$u,
|
|
2102
2102
|
options: {
|
|
2103
2103
|
variant: 'stepper',
|
|
2104
2104
|
showNavButtons: true,
|
|
2105
2105
|
},
|
|
2106
2106
|
};
|
|
2107
|
-
const data$
|
|
2107
|
+
const data$u = data$w;
|
|
2108
2108
|
registerExamples([
|
|
2109
2109
|
{
|
|
2110
2110
|
name: 'categorization-stepper-nav-buttons',
|
|
2111
2111
|
label: 'Categorization (Stepper - Nav Buttons)',
|
|
2112
|
-
data: data$
|
|
2113
|
-
schema: schema$
|
|
2114
|
-
uischema: uischema$
|
|
2112
|
+
data: data$u,
|
|
2113
|
+
schema: schema$s,
|
|
2114
|
+
uischema: uischema$s,
|
|
2115
2115
|
},
|
|
2116
2116
|
]);
|
|
2117
2117
|
|
|
2118
2118
|
var categorizationStepperNavButtons = /*#__PURE__*/Object.freeze({
|
|
2119
2119
|
__proto__: null,
|
|
2120
|
-
schema: schema$
|
|
2121
|
-
uischema: uischema$
|
|
2122
|
-
data: data$
|
|
2120
|
+
schema: schema$s,
|
|
2121
|
+
uischema: uischema$s,
|
|
2122
|
+
data: data$u
|
|
2123
2123
|
});
|
|
2124
2124
|
|
|
2125
|
-
const schema$
|
|
2125
|
+
const schema$r = {
|
|
2126
2126
|
type: 'object',
|
|
2127
2127
|
properties: {
|
|
2128
2128
|
string: {
|
|
@@ -2156,7 +2156,7 @@ const schema$q = {
|
|
|
2156
2156
|
},
|
|
2157
2157
|
},
|
|
2158
2158
|
};
|
|
2159
|
-
const uischema$
|
|
2159
|
+
const uischema$r = {
|
|
2160
2160
|
type: 'VerticalLayout',
|
|
2161
2161
|
elements: [
|
|
2162
2162
|
{
|
|
@@ -2193,7 +2193,7 @@ const uischema$q = {
|
|
|
2193
2193
|
},
|
|
2194
2194
|
],
|
|
2195
2195
|
};
|
|
2196
|
-
const data$
|
|
2196
|
+
const data$t = {
|
|
2197
2197
|
string: 'This is a string',
|
|
2198
2198
|
boolean: true,
|
|
2199
2199
|
number: 50.5,
|
|
@@ -2306,7 +2306,7 @@ const extendedData = {
|
|
|
2306
2306
|
const combinedSchema = {
|
|
2307
2307
|
...extendedSchema,
|
|
2308
2308
|
properties: {
|
|
2309
|
-
...schema$
|
|
2309
|
+
...schema$r.properties,
|
|
2310
2310
|
...extendedSchema.properties,
|
|
2311
2311
|
},
|
|
2312
2312
|
};
|
|
@@ -2316,7 +2316,7 @@ const combinedUiSchema = {
|
|
|
2316
2316
|
{
|
|
2317
2317
|
type: 'Category',
|
|
2318
2318
|
label: 'Normal controls',
|
|
2319
|
-
elements: [uischema$
|
|
2319
|
+
elements: [uischema$r],
|
|
2320
2320
|
},
|
|
2321
2321
|
{
|
|
2322
2322
|
type: 'Category',
|
|
@@ -2326,7 +2326,7 @@ const combinedUiSchema = {
|
|
|
2326
2326
|
],
|
|
2327
2327
|
};
|
|
2328
2328
|
const combinedData = {
|
|
2329
|
-
...data$
|
|
2329
|
+
...data$t,
|
|
2330
2330
|
...extendedData,
|
|
2331
2331
|
};
|
|
2332
2332
|
registerExamples([
|
|
@@ -2341,15 +2341,15 @@ registerExamples([
|
|
|
2341
2341
|
|
|
2342
2342
|
var controlOptions = /*#__PURE__*/Object.freeze({
|
|
2343
2343
|
__proto__: null,
|
|
2344
|
-
schema: schema$
|
|
2345
|
-
uischema: uischema$
|
|
2346
|
-
data: data$
|
|
2344
|
+
schema: schema$r,
|
|
2345
|
+
uischema: uischema$r,
|
|
2346
|
+
data: data$t,
|
|
2347
2347
|
extendedSchema: extendedSchema,
|
|
2348
2348
|
extendedUischema: extendedUischema,
|
|
2349
2349
|
extendedData: extendedData
|
|
2350
2350
|
});
|
|
2351
2351
|
|
|
2352
|
-
const schema$
|
|
2352
|
+
const schema$q = {
|
|
2353
2353
|
type: 'object',
|
|
2354
2354
|
properties: {
|
|
2355
2355
|
schemaBased: {
|
|
@@ -2391,7 +2391,7 @@ const schema$p = {
|
|
|
2391
2391
|
},
|
|
2392
2392
|
},
|
|
2393
2393
|
};
|
|
2394
|
-
const uischema$
|
|
2394
|
+
const uischema$q = {
|
|
2395
2395
|
type: 'VerticalLayout',
|
|
2396
2396
|
elements: [
|
|
2397
2397
|
{
|
|
@@ -2450,14 +2450,14 @@ const uischema$p = {
|
|
|
2450
2450
|
},
|
|
2451
2451
|
],
|
|
2452
2452
|
};
|
|
2453
|
-
const data$
|
|
2453
|
+
const data$s = {
|
|
2454
2454
|
schemaBased: {
|
|
2455
2455
|
date: new Date().toISOString().substr(0, 10),
|
|
2456
2456
|
time: '13:37:00',
|
|
2457
2457
|
datetime: new Date().toISOString(),
|
|
2458
2458
|
},
|
|
2459
2459
|
uiSchemaBased: {
|
|
2460
|
-
date:
|
|
2460
|
+
date: '2024-01',
|
|
2461
2461
|
time: '13:37:00',
|
|
2462
2462
|
datetime: '1999/12/11 10:05 am',
|
|
2463
2463
|
},
|
|
@@ -2466,17 +2466,17 @@ registerExamples([
|
|
|
2466
2466
|
{
|
|
2467
2467
|
name: 'dates',
|
|
2468
2468
|
label: 'Dates',
|
|
2469
|
-
data: data$
|
|
2470
|
-
schema: schema$
|
|
2471
|
-
uischema: uischema$
|
|
2469
|
+
data: data$s,
|
|
2470
|
+
schema: schema$q,
|
|
2471
|
+
uischema: uischema$q,
|
|
2472
2472
|
},
|
|
2473
2473
|
]);
|
|
2474
2474
|
|
|
2475
2475
|
var dates = /*#__PURE__*/Object.freeze({
|
|
2476
2476
|
__proto__: null,
|
|
2477
|
-
schema: schema$
|
|
2478
|
-
uischema: uischema$
|
|
2479
|
-
data: data$
|
|
2477
|
+
schema: schema$q,
|
|
2478
|
+
uischema: uischema$q,
|
|
2479
|
+
data: data$s
|
|
2480
2480
|
});
|
|
2481
2481
|
|
|
2482
2482
|
const actions$2 = [
|
|
@@ -2506,47 +2506,47 @@ var generateDynamic = /*#__PURE__*/Object.freeze({
|
|
|
2506
2506
|
actions: actions$2
|
|
2507
2507
|
});
|
|
2508
2508
|
|
|
2509
|
-
const schema$
|
|
2510
|
-
const uischema$
|
|
2511
|
-
const data$
|
|
2509
|
+
const schema$p = undefined;
|
|
2510
|
+
const uischema$p = undefined;
|
|
2511
|
+
const data$r = data$D;
|
|
2512
2512
|
registerExamples([
|
|
2513
2513
|
{
|
|
2514
2514
|
name: 'generate',
|
|
2515
2515
|
label: 'Generate both Schemas',
|
|
2516
|
-
data: data$
|
|
2517
|
-
schema: schema$
|
|
2518
|
-
uischema: uischema$
|
|
2516
|
+
data: data$r,
|
|
2517
|
+
schema: schema$p,
|
|
2518
|
+
uischema: uischema$p,
|
|
2519
2519
|
},
|
|
2520
2520
|
]);
|
|
2521
2521
|
|
|
2522
2522
|
var generate = /*#__PURE__*/Object.freeze({
|
|
2523
2523
|
__proto__: null,
|
|
2524
|
-
schema: schema$
|
|
2525
|
-
uischema: uischema$
|
|
2526
|
-
data: data$
|
|
2524
|
+
schema: schema$p,
|
|
2525
|
+
uischema: uischema$p,
|
|
2526
|
+
data: data$r
|
|
2527
2527
|
});
|
|
2528
2528
|
|
|
2529
|
-
const schema$
|
|
2530
|
-
const uischema$
|
|
2531
|
-
const data$
|
|
2529
|
+
const schema$o = personCoreSchema;
|
|
2530
|
+
const uischema$o = undefined;
|
|
2531
|
+
const data$q = data$D;
|
|
2532
2532
|
registerExamples([
|
|
2533
2533
|
{
|
|
2534
2534
|
name: 'generate-ui',
|
|
2535
2535
|
label: 'Generate UI Schema',
|
|
2536
|
-
data: data$
|
|
2537
|
-
schema: schema$
|
|
2538
|
-
uischema: uischema$
|
|
2536
|
+
data: data$q,
|
|
2537
|
+
schema: schema$o,
|
|
2538
|
+
uischema: uischema$o,
|
|
2539
2539
|
},
|
|
2540
2540
|
]);
|
|
2541
2541
|
|
|
2542
2542
|
var generateUI = /*#__PURE__*/Object.freeze({
|
|
2543
2543
|
__proto__: null,
|
|
2544
|
-
schema: schema$
|
|
2545
|
-
uischema: uischema$
|
|
2546
|
-
data: data$
|
|
2544
|
+
schema: schema$o,
|
|
2545
|
+
uischema: uischema$o,
|
|
2546
|
+
data: data$q
|
|
2547
2547
|
});
|
|
2548
2548
|
|
|
2549
|
-
const schema$
|
|
2549
|
+
const schema$n = schema$B;
|
|
2550
2550
|
const uischemaVertical = {
|
|
2551
2551
|
type: 'VerticalLayout',
|
|
2552
2552
|
elements: [
|
|
@@ -2634,49 +2634,49 @@ const uischemaComplex = {
|
|
|
2634
2634
|
},
|
|
2635
2635
|
],
|
|
2636
2636
|
};
|
|
2637
|
-
const data$
|
|
2637
|
+
const data$p = data$D;
|
|
2638
2638
|
registerExamples([
|
|
2639
2639
|
{
|
|
2640
2640
|
name: 'layout-vertical',
|
|
2641
2641
|
label: 'Layout Vertical',
|
|
2642
|
-
data: data$
|
|
2643
|
-
schema: schema$
|
|
2642
|
+
data: data$p,
|
|
2643
|
+
schema: schema$n,
|
|
2644
2644
|
uischema: uischemaVertical,
|
|
2645
2645
|
},
|
|
2646
2646
|
{
|
|
2647
2647
|
name: 'layout-horizontal',
|
|
2648
2648
|
label: 'Layout Horizontal',
|
|
2649
|
-
data: data$
|
|
2650
|
-
schema: schema$
|
|
2649
|
+
data: data$p,
|
|
2650
|
+
schema: schema$n,
|
|
2651
2651
|
uischema: uischemaHorizontal,
|
|
2652
2652
|
},
|
|
2653
2653
|
{
|
|
2654
2654
|
name: 'layout-group',
|
|
2655
2655
|
label: 'Layout Group',
|
|
2656
|
-
data: data$
|
|
2657
|
-
schema: schema$
|
|
2656
|
+
data: data$p,
|
|
2657
|
+
schema: schema$n,
|
|
2658
2658
|
uischema: uischemaGroup,
|
|
2659
2659
|
},
|
|
2660
2660
|
{
|
|
2661
2661
|
name: 'layout-complex',
|
|
2662
2662
|
label: 'Layout Complex',
|
|
2663
|
-
data: data$
|
|
2664
|
-
schema: schema$
|
|
2663
|
+
data: data$p,
|
|
2664
|
+
schema: schema$n,
|
|
2665
2665
|
uischema: uischemaComplex,
|
|
2666
2666
|
},
|
|
2667
2667
|
]);
|
|
2668
2668
|
|
|
2669
2669
|
var layout = /*#__PURE__*/Object.freeze({
|
|
2670
2670
|
__proto__: null,
|
|
2671
|
-
schema: schema$
|
|
2671
|
+
schema: schema$n,
|
|
2672
2672
|
uischemaVertical: uischemaVertical,
|
|
2673
2673
|
uischemaHorizontal: uischemaHorizontal,
|
|
2674
2674
|
uischemaGroup: uischemaGroup,
|
|
2675
2675
|
uischemaComplex: uischemaComplex,
|
|
2676
|
-
data: data$
|
|
2676
|
+
data: data$p
|
|
2677
2677
|
});
|
|
2678
2678
|
|
|
2679
|
-
const schema$
|
|
2679
|
+
const schema$m = {
|
|
2680
2680
|
type: 'object',
|
|
2681
2681
|
required: ['age'],
|
|
2682
2682
|
properties: {
|
|
@@ -2731,7 +2731,7 @@ const schema$l = {
|
|
|
2731
2731
|
},
|
|
2732
2732
|
},
|
|
2733
2733
|
};
|
|
2734
|
-
const uischema$
|
|
2734
|
+
const uischema$n = {
|
|
2735
2735
|
type: 'VerticalLayout',
|
|
2736
2736
|
elements: [
|
|
2737
2737
|
{
|
|
@@ -2824,7 +2824,7 @@ const uischema$m = {
|
|
|
2824
2824
|
},
|
|
2825
2825
|
],
|
|
2826
2826
|
};
|
|
2827
|
-
const data$
|
|
2827
|
+
const data$o = {
|
|
2828
2828
|
firstName: 'Max',
|
|
2829
2829
|
lastName: 'Power',
|
|
2830
2830
|
committer: false,
|
|
@@ -2833,20 +2833,20 @@ registerExamples([
|
|
|
2833
2833
|
{
|
|
2834
2834
|
name: '1884',
|
|
2835
2835
|
label: 'Issue 1884 - Nested enable/disable',
|
|
2836
|
-
data: data$
|
|
2837
|
-
schema: schema$
|
|
2838
|
-
uischema: uischema$
|
|
2836
|
+
data: data$o,
|
|
2837
|
+
schema: schema$m,
|
|
2838
|
+
uischema: uischema$n,
|
|
2839
2839
|
},
|
|
2840
2840
|
]);
|
|
2841
2841
|
|
|
2842
2842
|
var _1884 = /*#__PURE__*/Object.freeze({
|
|
2843
2843
|
__proto__: null,
|
|
2844
|
-
schema: schema$
|
|
2845
|
-
uischema: uischema$
|
|
2846
|
-
data: data$
|
|
2844
|
+
schema: schema$m,
|
|
2845
|
+
uischema: uischema$n,
|
|
2846
|
+
data: data$o
|
|
2847
2847
|
});
|
|
2848
2848
|
|
|
2849
|
-
const schema$
|
|
2849
|
+
const schema$l = {
|
|
2850
2850
|
type: 'object',
|
|
2851
2851
|
properties: {
|
|
2852
2852
|
name: {
|
|
@@ -2868,7 +2868,7 @@ const schema$k = {
|
|
|
2868
2868
|
},
|
|
2869
2869
|
},
|
|
2870
2870
|
};
|
|
2871
|
-
const uischema$
|
|
2871
|
+
const uischema$m = {
|
|
2872
2872
|
type: 'VerticalLayout',
|
|
2873
2873
|
elements: [
|
|
2874
2874
|
{
|
|
@@ -2926,7 +2926,7 @@ const uischema$l = {
|
|
|
2926
2926
|
},
|
|
2927
2927
|
],
|
|
2928
2928
|
};
|
|
2929
|
-
const data$
|
|
2929
|
+
const data$n = {
|
|
2930
2930
|
name: 'John Doe',
|
|
2931
2931
|
dead: false,
|
|
2932
2932
|
vegetables: false,
|
|
@@ -2935,20 +2935,20 @@ registerExamples([
|
|
|
2935
2935
|
{
|
|
2936
2936
|
name: 'rule',
|
|
2937
2937
|
label: 'Rule',
|
|
2938
|
-
data: data$
|
|
2939
|
-
schema: schema$
|
|
2940
|
-
uischema: uischema$
|
|
2938
|
+
data: data$n,
|
|
2939
|
+
schema: schema$l,
|
|
2940
|
+
uischema: uischema$m,
|
|
2941
2941
|
},
|
|
2942
2942
|
]);
|
|
2943
2943
|
|
|
2944
2944
|
var rule = /*#__PURE__*/Object.freeze({
|
|
2945
2945
|
__proto__: null,
|
|
2946
|
-
schema: schema$
|
|
2947
|
-
uischema: uischema$
|
|
2948
|
-
data: data$
|
|
2946
|
+
schema: schema$l,
|
|
2947
|
+
uischema: uischema$m,
|
|
2948
|
+
data: data$n
|
|
2949
2949
|
});
|
|
2950
2950
|
|
|
2951
|
-
const schema$
|
|
2951
|
+
const schema$k = {
|
|
2952
2952
|
type: 'object',
|
|
2953
2953
|
properties: {
|
|
2954
2954
|
toggleTopLayout: {
|
|
@@ -2968,7 +2968,7 @@ const schema$j = {
|
|
|
2968
2968
|
},
|
|
2969
2969
|
},
|
|
2970
2970
|
};
|
|
2971
|
-
const uischema$
|
|
2971
|
+
const uischema$l = {
|
|
2972
2972
|
type: 'VerticalLayout',
|
|
2973
2973
|
rule: {
|
|
2974
2974
|
effect: 'ENABLE',
|
|
@@ -3010,7 +3010,7 @@ const uischema$k = {
|
|
|
3010
3010
|
},
|
|
3011
3011
|
],
|
|
3012
3012
|
};
|
|
3013
|
-
const data$
|
|
3013
|
+
const data$m = {
|
|
3014
3014
|
toggleTopLayout: true,
|
|
3015
3015
|
toggleBottomLayout: true,
|
|
3016
3016
|
toggleControl: true,
|
|
@@ -3042,21 +3042,21 @@ registerExamples([
|
|
|
3042
3042
|
{
|
|
3043
3043
|
name: 'rule-enable',
|
|
3044
3044
|
label: 'Rule Inheritance',
|
|
3045
|
-
data: data$
|
|
3046
|
-
schema: schema$
|
|
3047
|
-
uischema: uischema$
|
|
3045
|
+
data: data$m,
|
|
3046
|
+
schema: schema$k,
|
|
3047
|
+
uischema: uischema$l,
|
|
3048
3048
|
actions: actions$1,
|
|
3049
3049
|
},
|
|
3050
3050
|
]);
|
|
3051
3051
|
|
|
3052
3052
|
var ruleInheritance = /*#__PURE__*/Object.freeze({
|
|
3053
3053
|
__proto__: null,
|
|
3054
|
-
schema: schema$
|
|
3055
|
-
uischema: uischema$
|
|
3056
|
-
data: data$
|
|
3054
|
+
schema: schema$k,
|
|
3055
|
+
uischema: uischema$l,
|
|
3056
|
+
data: data$m
|
|
3057
3057
|
});
|
|
3058
3058
|
|
|
3059
|
-
const schema$
|
|
3059
|
+
const schema$j = {
|
|
3060
3060
|
type: 'object',
|
|
3061
3061
|
properties: {
|
|
3062
3062
|
postalCode: {
|
|
@@ -3071,7 +3071,7 @@ const schema$i = {
|
|
|
3071
3071
|
},
|
|
3072
3072
|
required: ['postalCode'],
|
|
3073
3073
|
};
|
|
3074
|
-
const uischema$
|
|
3074
|
+
const uischema$k = {
|
|
3075
3075
|
type: 'VerticalLayout',
|
|
3076
3076
|
elements: [
|
|
3077
3077
|
{
|
|
@@ -3091,7 +3091,7 @@ const uischema$j = {
|
|
|
3091
3091
|
},
|
|
3092
3092
|
],
|
|
3093
3093
|
};
|
|
3094
|
-
const data$
|
|
3094
|
+
const data$l = {
|
|
3095
3095
|
postalCode: '12345',
|
|
3096
3096
|
};
|
|
3097
3097
|
const config = {
|
|
@@ -3104,28 +3104,28 @@ registerExamples([
|
|
|
3104
3104
|
{
|
|
3105
3105
|
name: 'configDefault',
|
|
3106
3106
|
label: 'Configuration (Default)',
|
|
3107
|
-
data: data$
|
|
3108
|
-
schema: schema$
|
|
3109
|
-
uischema: uischema$
|
|
3107
|
+
data: data$l,
|
|
3108
|
+
schema: schema$j,
|
|
3109
|
+
uischema: uischema$k,
|
|
3110
3110
|
},
|
|
3111
3111
|
{
|
|
3112
3112
|
name: 'configCustom',
|
|
3113
3113
|
label: 'Configuration (Custom)',
|
|
3114
|
-
data: data$
|
|
3115
|
-
schema: schema$
|
|
3116
|
-
uischema: uischema$
|
|
3114
|
+
data: data$l,
|
|
3115
|
+
schema: schema$j,
|
|
3116
|
+
uischema: uischema$k,
|
|
3117
3117
|
config,
|
|
3118
3118
|
},
|
|
3119
3119
|
]);
|
|
3120
3120
|
|
|
3121
3121
|
var config$1 = /*#__PURE__*/Object.freeze({
|
|
3122
3122
|
__proto__: null,
|
|
3123
|
-
schema: schema$
|
|
3124
|
-
uischema: uischema$
|
|
3125
|
-
data: data$
|
|
3123
|
+
schema: schema$j,
|
|
3124
|
+
uischema: uischema$k,
|
|
3125
|
+
data: data$l
|
|
3126
3126
|
});
|
|
3127
3127
|
|
|
3128
|
-
const schema$
|
|
3128
|
+
const schema$i = {
|
|
3129
3129
|
type: 'object',
|
|
3130
3130
|
properties: {
|
|
3131
3131
|
zipCode: {
|
|
@@ -3142,7 +3142,7 @@ const schema$h = {
|
|
|
3142
3142
|
},
|
|
3143
3143
|
},
|
|
3144
3144
|
};
|
|
3145
|
-
const uischema$
|
|
3145
|
+
const uischema$j = {
|
|
3146
3146
|
type: 'VerticalLayout',
|
|
3147
3147
|
elements: [
|
|
3148
3148
|
{
|
|
@@ -3179,7 +3179,7 @@ const uischema$i = {
|
|
|
3179
3179
|
},
|
|
3180
3180
|
],
|
|
3181
3181
|
};
|
|
3182
|
-
const data$
|
|
3182
|
+
const data$k = {
|
|
3183
3183
|
zipCode: '12345',
|
|
3184
3184
|
zipCodeWithoutTrim: '12345678',
|
|
3185
3185
|
zipCodeWithoutRestrict: '12345678',
|
|
@@ -3188,20 +3188,20 @@ registerExamples([
|
|
|
3188
3188
|
{
|
|
3189
3189
|
name: 'text',
|
|
3190
3190
|
label: 'Text Control Options',
|
|
3191
|
-
data: data$
|
|
3192
|
-
schema: schema$
|
|
3193
|
-
uischema: uischema$
|
|
3191
|
+
data: data$k,
|
|
3192
|
+
schema: schema$i,
|
|
3193
|
+
uischema: uischema$j,
|
|
3194
3194
|
},
|
|
3195
3195
|
]);
|
|
3196
3196
|
|
|
3197
3197
|
var text = /*#__PURE__*/Object.freeze({
|
|
3198
3198
|
__proto__: null,
|
|
3199
|
-
schema: schema$
|
|
3200
|
-
uischema: uischema$
|
|
3201
|
-
data: data$
|
|
3199
|
+
schema: schema$i,
|
|
3200
|
+
uischema: uischema$j,
|
|
3201
|
+
data: data$k
|
|
3202
3202
|
});
|
|
3203
3203
|
|
|
3204
|
-
const schema$
|
|
3204
|
+
const schema$h = {
|
|
3205
3205
|
type: 'object',
|
|
3206
3206
|
properties: {
|
|
3207
3207
|
price: {
|
|
@@ -3218,7 +3218,7 @@ const schema$g = {
|
|
|
3218
3218
|
},
|
|
3219
3219
|
},
|
|
3220
3220
|
};
|
|
3221
|
-
const uischema$
|
|
3221
|
+
const uischema$i = {
|
|
3222
3222
|
type: 'VerticalLayout',
|
|
3223
3223
|
elements: [
|
|
3224
3224
|
{
|
|
@@ -3251,22 +3251,22 @@ const uischema$h = {
|
|
|
3251
3251
|
},
|
|
3252
3252
|
],
|
|
3253
3253
|
};
|
|
3254
|
-
const data$
|
|
3254
|
+
const data$j = {};
|
|
3255
3255
|
registerExamples([
|
|
3256
3256
|
{
|
|
3257
3257
|
name: 'numbers',
|
|
3258
3258
|
label: 'Numbers',
|
|
3259
|
-
data: data$
|
|
3260
|
-
schema: schema$
|
|
3261
|
-
uischema: uischema$
|
|
3259
|
+
data: data$j,
|
|
3260
|
+
schema: schema$h,
|
|
3261
|
+
uischema: uischema$i,
|
|
3262
3262
|
},
|
|
3263
3263
|
]);
|
|
3264
3264
|
|
|
3265
3265
|
var numbers = /*#__PURE__*/Object.freeze({
|
|
3266
3266
|
__proto__: null,
|
|
3267
|
-
schema: schema$
|
|
3268
|
-
uischema: uischema$
|
|
3269
|
-
data: data$
|
|
3267
|
+
schema: schema$h,
|
|
3268
|
+
uischema: uischema$i,
|
|
3269
|
+
data: data$j
|
|
3270
3270
|
});
|
|
3271
3271
|
|
|
3272
3272
|
const orderSchema = {
|
|
@@ -3300,7 +3300,7 @@ const orderSchema = {
|
|
|
3300
3300
|
},
|
|
3301
3301
|
},
|
|
3302
3302
|
};
|
|
3303
|
-
const uischema$
|
|
3303
|
+
const uischema$h = {
|
|
3304
3304
|
type: 'VerticalLayout',
|
|
3305
3305
|
elements: [
|
|
3306
3306
|
{
|
|
@@ -3335,7 +3335,7 @@ const uischema$g = {
|
|
|
3335
3335
|
},
|
|
3336
3336
|
],
|
|
3337
3337
|
};
|
|
3338
|
-
const data$
|
|
3338
|
+
const data$i = {
|
|
3339
3339
|
orderId: '123456',
|
|
3340
3340
|
purchaseDate: '1985-06-02',
|
|
3341
3341
|
price: 16,
|
|
@@ -3348,20 +3348,20 @@ registerExamples([
|
|
|
3348
3348
|
{
|
|
3349
3349
|
name: 'scope',
|
|
3350
3350
|
label: 'Scope',
|
|
3351
|
-
data: data$
|
|
3351
|
+
data: data$i,
|
|
3352
3352
|
schema: orderSchema,
|
|
3353
|
-
uischema: uischema$
|
|
3353
|
+
uischema: uischema$h,
|
|
3354
3354
|
},
|
|
3355
3355
|
]);
|
|
3356
3356
|
|
|
3357
3357
|
var scope = /*#__PURE__*/Object.freeze({
|
|
3358
3358
|
__proto__: null,
|
|
3359
3359
|
orderSchema: orderSchema,
|
|
3360
|
-
uischema: uischema$
|
|
3361
|
-
data: data$
|
|
3360
|
+
uischema: uischema$h,
|
|
3361
|
+
data: data$i
|
|
3362
3362
|
});
|
|
3363
3363
|
|
|
3364
|
-
const data$
|
|
3364
|
+
const data$h = {
|
|
3365
3365
|
orders: [
|
|
3366
3366
|
{
|
|
3367
3367
|
customer: {
|
|
@@ -3390,7 +3390,7 @@ const data$g = {
|
|
|
3390
3390
|
},
|
|
3391
3391
|
],
|
|
3392
3392
|
};
|
|
3393
|
-
const schema$
|
|
3393
|
+
const schema$g = {
|
|
3394
3394
|
definitions: {
|
|
3395
3395
|
order: {
|
|
3396
3396
|
type: 'object',
|
|
@@ -3440,7 +3440,7 @@ const schema$f = {
|
|
|
3440
3440
|
},
|
|
3441
3441
|
},
|
|
3442
3442
|
};
|
|
3443
|
-
const uischema$
|
|
3443
|
+
const uischema$g = {
|
|
3444
3444
|
type: 'ListWithDetail',
|
|
3445
3445
|
scope: '#/properties/orders',
|
|
3446
3446
|
options: {
|
|
@@ -3621,30 +3621,30 @@ registerExamples([
|
|
|
3621
3621
|
{
|
|
3622
3622
|
name: 'list-with-detail',
|
|
3623
3623
|
label: 'List With Detail',
|
|
3624
|
-
data: data$
|
|
3625
|
-
schema: schema$
|
|
3626
|
-
uischema: uischema$
|
|
3624
|
+
data: data$h,
|
|
3625
|
+
schema: schema$g,
|
|
3626
|
+
uischema: uischema$g,
|
|
3627
3627
|
},
|
|
3628
3628
|
]);
|
|
3629
3629
|
registerExamples([
|
|
3630
3630
|
{
|
|
3631
3631
|
name: 'list-with-detail-no-labelref',
|
|
3632
3632
|
label: 'List With Detail (No Label Ref)',
|
|
3633
|
-
data: data$
|
|
3634
|
-
schema: schema$
|
|
3633
|
+
data: data$h,
|
|
3634
|
+
schema: schema$g,
|
|
3635
3635
|
uischema: uischemaNoLabelRef,
|
|
3636
3636
|
},
|
|
3637
3637
|
]);
|
|
3638
3638
|
|
|
3639
3639
|
var listWithDetail = /*#__PURE__*/Object.freeze({
|
|
3640
3640
|
__proto__: null,
|
|
3641
|
-
data: data$
|
|
3642
|
-
schema: schema$
|
|
3643
|
-
uischema: uischema$
|
|
3641
|
+
data: data$h,
|
|
3642
|
+
schema: schema$g,
|
|
3643
|
+
uischema: uischema$g,
|
|
3644
3644
|
uischemaNoLabelRef: uischemaNoLabelRef
|
|
3645
3645
|
});
|
|
3646
3646
|
|
|
3647
|
-
const data$
|
|
3647
|
+
const data$g = {
|
|
3648
3648
|
warehouseitems: [
|
|
3649
3649
|
{
|
|
3650
3650
|
name: 'Fantasy Book',
|
|
@@ -3672,7 +3672,7 @@ const data$f = {
|
|
|
3672
3672
|
},
|
|
3673
3673
|
],
|
|
3674
3674
|
};
|
|
3675
|
-
const schema$
|
|
3675
|
+
const schema$f = {
|
|
3676
3676
|
definitions: {
|
|
3677
3677
|
warehouseitem: {
|
|
3678
3678
|
type: 'object',
|
|
@@ -3703,7 +3703,7 @@ const schema$e = {
|
|
|
3703
3703
|
},
|
|
3704
3704
|
},
|
|
3705
3705
|
};
|
|
3706
|
-
const uischema$
|
|
3706
|
+
const uischema$f = {
|
|
3707
3707
|
type: 'ListWithDetail',
|
|
3708
3708
|
scope: '#/properties/warehouseitems',
|
|
3709
3709
|
options: {
|
|
@@ -3714,20 +3714,20 @@ registerExamples([
|
|
|
3714
3714
|
{
|
|
3715
3715
|
name: 'list-with-detail-registered',
|
|
3716
3716
|
label: 'List With Detail (Registered Detail UISchema)',
|
|
3717
|
-
data: data$
|
|
3718
|
-
schema: schema$
|
|
3719
|
-
uischema: uischema$
|
|
3717
|
+
data: data$g,
|
|
3718
|
+
schema: schema$f,
|
|
3719
|
+
uischema: uischema$f,
|
|
3720
3720
|
},
|
|
3721
3721
|
]);
|
|
3722
3722
|
|
|
3723
3723
|
var listWithDetailRegistered = /*#__PURE__*/Object.freeze({
|
|
3724
3724
|
__proto__: null,
|
|
3725
|
-
data: data$
|
|
3726
|
-
schema: schema$
|
|
3727
|
-
uischema: uischema$
|
|
3725
|
+
data: data$g,
|
|
3726
|
+
schema: schema$f,
|
|
3727
|
+
uischema: uischema$f
|
|
3728
3728
|
});
|
|
3729
3729
|
|
|
3730
|
-
const schema$
|
|
3730
|
+
const schema$e = {
|
|
3731
3731
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
3732
3732
|
type: 'object',
|
|
3733
3733
|
properties: {
|
|
@@ -3788,7 +3788,7 @@ const uischemaNonRoot = {
|
|
|
3788
3788
|
},
|
|
3789
3789
|
],
|
|
3790
3790
|
};
|
|
3791
|
-
const data$
|
|
3791
|
+
const data$f = {
|
|
3792
3792
|
address: {
|
|
3793
3793
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
3794
3794
|
city: 'Washington',
|
|
@@ -3799,22 +3799,22 @@ registerExamples([
|
|
|
3799
3799
|
{
|
|
3800
3800
|
name: 'rootObject',
|
|
3801
3801
|
label: 'Object - Root Scope',
|
|
3802
|
-
data: data$
|
|
3803
|
-
schema: schema$
|
|
3802
|
+
data: data$f,
|
|
3803
|
+
schema: schema$e,
|
|
3804
3804
|
uischema: uischemaRoot,
|
|
3805
3805
|
},
|
|
3806
3806
|
{
|
|
3807
3807
|
name: 'object',
|
|
3808
3808
|
label: 'Object',
|
|
3809
|
-
data: data$
|
|
3810
|
-
schema: schema$
|
|
3809
|
+
data: data$f,
|
|
3810
|
+
schema: schema$e,
|
|
3811
3811
|
uischema: uischemaNonRoot,
|
|
3812
3812
|
},
|
|
3813
3813
|
]);
|
|
3814
3814
|
|
|
3815
3815
|
var object = /*#__PURE__*/Object.freeze({
|
|
3816
3816
|
__proto__: null,
|
|
3817
|
-
schema: schema$
|
|
3817
|
+
schema: schema$e,
|
|
3818
3818
|
uischemaRoot: uischemaRoot,
|
|
3819
3819
|
uischemaNonRoot: uischemaNonRoot
|
|
3820
3820
|
});
|
|
@@ -3828,7 +3828,7 @@ const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
|
3828
3828
|
localiseFunc(errors);
|
|
3829
3829
|
dispatch(updateErrors(errors));
|
|
3830
3830
|
};
|
|
3831
|
-
const uischema$
|
|
3831
|
+
const uischema$e = {
|
|
3832
3832
|
type: 'VerticalLayout',
|
|
3833
3833
|
elements: [
|
|
3834
3834
|
{
|
|
@@ -3864,7 +3864,7 @@ const uischema$d = {
|
|
|
3864
3864
|
},
|
|
3865
3865
|
],
|
|
3866
3866
|
};
|
|
3867
|
-
const data$
|
|
3867
|
+
const data$e = {
|
|
3868
3868
|
vegetarian: false,
|
|
3869
3869
|
birthDate: '1985-06-02',
|
|
3870
3870
|
personalData: {
|
|
@@ -3885,9 +3885,9 @@ registerExamples([
|
|
|
3885
3885
|
{
|
|
3886
3886
|
name: 'i18n',
|
|
3887
3887
|
label: 'Person (i18n)',
|
|
3888
|
-
data: data$
|
|
3888
|
+
data: data$e,
|
|
3889
3889
|
schema: personCoreSchema,
|
|
3890
|
-
uischema: uischema$
|
|
3890
|
+
uischema: uischema$e,
|
|
3891
3891
|
i18n: {
|
|
3892
3892
|
translate: translate,
|
|
3893
3893
|
locale: 'en',
|
|
@@ -3898,13 +3898,13 @@ registerExamples([
|
|
|
3898
3898
|
var i18n = /*#__PURE__*/Object.freeze({
|
|
3899
3899
|
__proto__: null,
|
|
3900
3900
|
onChange: onChange$2,
|
|
3901
|
-
uischema: uischema$
|
|
3902
|
-
data: data$
|
|
3901
|
+
uischema: uischema$e,
|
|
3902
|
+
data: data$e,
|
|
3903
3903
|
translations: translations,
|
|
3904
3904
|
translate: translate
|
|
3905
3905
|
});
|
|
3906
3906
|
|
|
3907
|
-
const schema$
|
|
3907
|
+
const schema$d = {
|
|
3908
3908
|
type: 'object',
|
|
3909
3909
|
definitions: {
|
|
3910
3910
|
import: {
|
|
@@ -3935,8 +3935,8 @@ const schema$c = {
|
|
|
3935
3935
|
},
|
|
3936
3936
|
},
|
|
3937
3937
|
};
|
|
3938
|
-
const uischema$
|
|
3939
|
-
const data$
|
|
3938
|
+
const uischema$d = undefined;
|
|
3939
|
+
const data$d = {
|
|
3940
3940
|
import: [
|
|
3941
3941
|
{
|
|
3942
3942
|
document: 'Document1',
|
|
@@ -3949,27 +3949,27 @@ registerExamples([
|
|
|
3949
3949
|
{
|
|
3950
3950
|
name: '1948_with',
|
|
3951
3951
|
label: 'Issue 1948 - Array renderer selection (with schema)',
|
|
3952
|
-
data: data$
|
|
3953
|
-
schema: schema$
|
|
3954
|
-
uischema: uischema$
|
|
3952
|
+
data: data$d,
|
|
3953
|
+
schema: schema$d,
|
|
3954
|
+
uischema: uischema$d,
|
|
3955
3955
|
},
|
|
3956
3956
|
{
|
|
3957
3957
|
name: '1948_without',
|
|
3958
3958
|
label: 'Issue 1948 - Array renderer selection (w/o schema)',
|
|
3959
|
-
data: data$
|
|
3959
|
+
data: data$d,
|
|
3960
3960
|
schema: undefined,
|
|
3961
|
-
uischema: uischema$
|
|
3961
|
+
uischema: uischema$d,
|
|
3962
3962
|
},
|
|
3963
3963
|
]);
|
|
3964
3964
|
|
|
3965
3965
|
var _1948 = /*#__PURE__*/Object.freeze({
|
|
3966
3966
|
__proto__: null,
|
|
3967
|
-
schema: schema$
|
|
3968
|
-
uischema: uischema$
|
|
3969
|
-
data: data$
|
|
3967
|
+
schema: schema$d,
|
|
3968
|
+
uischema: uischema$d,
|
|
3969
|
+
data: data$d
|
|
3970
3970
|
});
|
|
3971
3971
|
|
|
3972
|
-
const schema$
|
|
3972
|
+
const schema$c = {
|
|
3973
3973
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
3974
3974
|
definitions: {
|
|
3975
3975
|
fileOrFolder: {
|
|
@@ -4007,28 +4007,28 @@ const schema$b = {
|
|
|
4007
4007
|
},
|
|
4008
4008
|
},
|
|
4009
4009
|
};
|
|
4010
|
-
const uischema$
|
|
4010
|
+
const uischema$c = {
|
|
4011
4011
|
type: 'Control',
|
|
4012
4012
|
scope: '#',
|
|
4013
4013
|
};
|
|
4014
|
-
const data$
|
|
4014
|
+
const data$c = {};
|
|
4015
4015
|
registerExamples([
|
|
4016
4016
|
{
|
|
4017
4017
|
name: 'oneOf-recursive',
|
|
4018
4018
|
label: 'oneOf recursive',
|
|
4019
|
-
data: data$
|
|
4020
|
-
schema: schema$
|
|
4021
|
-
uischema: uischema$
|
|
4019
|
+
data: data$c,
|
|
4020
|
+
schema: schema$c,
|
|
4021
|
+
uischema: uischema$c,
|
|
4022
4022
|
},
|
|
4023
4023
|
]);
|
|
4024
4024
|
|
|
4025
4025
|
var oneOfRecursive = /*#__PURE__*/Object.freeze({
|
|
4026
4026
|
__proto__: null,
|
|
4027
|
-
schema: schema$
|
|
4028
|
-
uischema: uischema$
|
|
4027
|
+
schema: schema$c,
|
|
4028
|
+
uischema: uischema$c
|
|
4029
4029
|
});
|
|
4030
4030
|
|
|
4031
|
-
const schema$
|
|
4031
|
+
const schema$b = {
|
|
4032
4032
|
$schema: 'http://json-schema.org/schema#',
|
|
4033
4033
|
definitions: {
|
|
4034
4034
|
confidenceTypes: {
|
|
@@ -4993,7 +4993,7 @@ const schema$a = {
|
|
|
4993
4993
|
attribution: { $ref: '#/definitions/attribution' },
|
|
4994
4994
|
},
|
|
4995
4995
|
};
|
|
4996
|
-
const data$
|
|
4996
|
+
const data$b = {
|
|
4997
4997
|
attribution: {
|
|
4998
4998
|
contributor: {
|
|
4999
4999
|
resource: '#A-1',
|
|
@@ -5323,7 +5323,7 @@ const data$a = {
|
|
|
5323
5323
|
},
|
|
5324
5324
|
],
|
|
5325
5325
|
};
|
|
5326
|
-
const uischema$
|
|
5326
|
+
const uischema$b = {
|
|
5327
5327
|
type: 'Categorization',
|
|
5328
5328
|
elements: [
|
|
5329
5329
|
{
|
|
@@ -5381,18 +5381,18 @@ registerExamples([
|
|
|
5381
5381
|
{
|
|
5382
5382
|
name: 'huge',
|
|
5383
5383
|
label: 'Huge Test',
|
|
5384
|
-
data: data$
|
|
5385
|
-
schema: schema$
|
|
5386
|
-
uischema: uischema$
|
|
5384
|
+
data: data$b,
|
|
5385
|
+
schema: schema$b,
|
|
5386
|
+
uischema: uischema$b,
|
|
5387
5387
|
},
|
|
5388
5388
|
]);
|
|
5389
5389
|
|
|
5390
5390
|
var huge = /*#__PURE__*/Object.freeze({
|
|
5391
5391
|
__proto__: null,
|
|
5392
|
-
uischema: uischema$
|
|
5392
|
+
uischema: uischema$b
|
|
5393
5393
|
});
|
|
5394
5394
|
|
|
5395
|
-
const schema$
|
|
5395
|
+
const schema$a = {
|
|
5396
5396
|
type: 'object',
|
|
5397
5397
|
properties: {
|
|
5398
5398
|
name: {
|
|
@@ -5426,7 +5426,7 @@ const schema$9 = {
|
|
|
5426
5426
|
},
|
|
5427
5427
|
required: ['name', 'name_noDefault'],
|
|
5428
5428
|
};
|
|
5429
|
-
const uischema$
|
|
5429
|
+
const uischema$a = {
|
|
5430
5430
|
type: 'VerticalLayout',
|
|
5431
5431
|
elements: [
|
|
5432
5432
|
{
|
|
@@ -5463,7 +5463,7 @@ const uischema$9 = {
|
|
|
5463
5463
|
},
|
|
5464
5464
|
],
|
|
5465
5465
|
};
|
|
5466
|
-
const data$
|
|
5466
|
+
const data$a = {
|
|
5467
5467
|
name: 'Send email to Adrian',
|
|
5468
5468
|
name_noDefault: 'Send email to Adrian',
|
|
5469
5469
|
description: 'Confirm if you have passed the subject\nHereby ...',
|
|
@@ -5476,17 +5476,17 @@ registerExamples([
|
|
|
5476
5476
|
{
|
|
5477
5477
|
name: 'default',
|
|
5478
5478
|
label: 'Default',
|
|
5479
|
-
data: data$
|
|
5480
|
-
schema: schema$
|
|
5481
|
-
uischema: uischema$
|
|
5479
|
+
data: data$a,
|
|
5480
|
+
schema: schema$a,
|
|
5481
|
+
uischema: uischema$a,
|
|
5482
5482
|
},
|
|
5483
5483
|
]);
|
|
5484
5484
|
|
|
5485
5485
|
var _default = /*#__PURE__*/Object.freeze({
|
|
5486
5486
|
__proto__: null,
|
|
5487
|
-
schema: schema$
|
|
5488
|
-
uischema: uischema$
|
|
5489
|
-
data: data$
|
|
5487
|
+
schema: schema$a,
|
|
5488
|
+
uischema: uischema$a,
|
|
5489
|
+
data: data$a
|
|
5490
5490
|
});
|
|
5491
5491
|
|
|
5492
5492
|
const touchedProperties = {
|
|
@@ -5502,7 +5502,7 @@ const onChange = (dispatch) => (_) => ({ data, errors }) => {
|
|
|
5502
5502
|
return dispatch(updateErrors(newErrors));
|
|
5503
5503
|
}
|
|
5504
5504
|
};
|
|
5505
|
-
const schema$
|
|
5505
|
+
const schema$9 = {
|
|
5506
5506
|
type: 'object',
|
|
5507
5507
|
properties: {
|
|
5508
5508
|
name: {
|
|
@@ -5516,27 +5516,27 @@ const schema$8 = {
|
|
|
5516
5516
|
},
|
|
5517
5517
|
required: ['name', 'description'],
|
|
5518
5518
|
};
|
|
5519
|
-
const uischema$
|
|
5520
|
-
const data$
|
|
5519
|
+
const uischema$9 = undefined;
|
|
5520
|
+
const data$9 = {};
|
|
5521
5521
|
registerExamples([
|
|
5522
5522
|
{
|
|
5523
5523
|
name: 'onChange',
|
|
5524
5524
|
label: 'On Change Listener',
|
|
5525
|
-
data: data$
|
|
5526
|
-
schema: schema$
|
|
5527
|
-
uischema: uischema$
|
|
5525
|
+
data: data$9,
|
|
5526
|
+
schema: schema$9,
|
|
5527
|
+
uischema: uischema$9,
|
|
5528
5528
|
},
|
|
5529
5529
|
]);
|
|
5530
5530
|
|
|
5531
5531
|
var onChange$1 = /*#__PURE__*/Object.freeze({
|
|
5532
5532
|
__proto__: null,
|
|
5533
5533
|
onChange: onChange,
|
|
5534
|
-
schema: schema$
|
|
5535
|
-
uischema: uischema$
|
|
5536
|
-
data: data$
|
|
5534
|
+
schema: schema$9,
|
|
5535
|
+
uischema: uischema$9,
|
|
5536
|
+
data: data$9
|
|
5537
5537
|
});
|
|
5538
5538
|
|
|
5539
|
-
const schema$
|
|
5539
|
+
const schema$8 = {
|
|
5540
5540
|
type: 'object',
|
|
5541
5541
|
properties: {
|
|
5542
5542
|
plainEnum: {
|
|
@@ -5580,7 +5580,7 @@ const schema$7 = {
|
|
|
5580
5580
|
},
|
|
5581
5581
|
},
|
|
5582
5582
|
};
|
|
5583
|
-
const uischema$
|
|
5583
|
+
const uischema$8 = {
|
|
5584
5584
|
type: 'VerticalLayout',
|
|
5585
5585
|
elements: [
|
|
5586
5586
|
{
|
|
@@ -5653,7 +5653,7 @@ const uischema$7 = {
|
|
|
5653
5653
|
},
|
|
5654
5654
|
],
|
|
5655
5655
|
};
|
|
5656
|
-
const data$
|
|
5656
|
+
const data$8 = {
|
|
5657
5657
|
plainEnumSet: 'foo',
|
|
5658
5658
|
enumWithError: 'bogus',
|
|
5659
5659
|
oneOfEnumSet: 'bar',
|
|
@@ -5663,21 +5663,21 @@ registerExamples([
|
|
|
5663
5663
|
{
|
|
5664
5664
|
name: 'enum',
|
|
5665
5665
|
label: 'Enums',
|
|
5666
|
-
data: data$
|
|
5667
|
-
schema: schema$
|
|
5668
|
-
uischema: uischema$
|
|
5666
|
+
data: data$8,
|
|
5667
|
+
schema: schema$8,
|
|
5668
|
+
uischema: uischema$8,
|
|
5669
5669
|
},
|
|
5670
5670
|
]);
|
|
5671
5671
|
|
|
5672
5672
|
var _enum = /*#__PURE__*/Object.freeze({
|
|
5673
5673
|
__proto__: null,
|
|
5674
|
-
schema: schema$
|
|
5675
|
-
uischema: uischema$
|
|
5676
|
-
data: data$
|
|
5674
|
+
schema: schema$8,
|
|
5675
|
+
uischema: uischema$8,
|
|
5676
|
+
data: data$8
|
|
5677
5677
|
});
|
|
5678
5678
|
|
|
5679
|
-
const data$
|
|
5680
|
-
const schema$
|
|
5679
|
+
const data$7 = {};
|
|
5680
|
+
const schema$7 = {
|
|
5681
5681
|
type: 'object',
|
|
5682
5682
|
properties: {
|
|
5683
5683
|
exampleRadioEnum: {
|
|
@@ -5694,7 +5694,7 @@ const schema$6 = {
|
|
|
5694
5694
|
},
|
|
5695
5695
|
},
|
|
5696
5696
|
};
|
|
5697
|
-
const uischema$
|
|
5697
|
+
const uischema$7 = {
|
|
5698
5698
|
type: 'VerticalLayout',
|
|
5699
5699
|
elements: [
|
|
5700
5700
|
{
|
|
@@ -5730,20 +5730,20 @@ registerExamples([
|
|
|
5730
5730
|
{
|
|
5731
5731
|
name: 'radio-group',
|
|
5732
5732
|
label: 'Radio Group',
|
|
5733
|
-
data: data$
|
|
5734
|
-
schema: schema$
|
|
5735
|
-
uischema: uischema$
|
|
5733
|
+
data: data$7,
|
|
5734
|
+
schema: schema$7,
|
|
5735
|
+
uischema: uischema$7,
|
|
5736
5736
|
},
|
|
5737
5737
|
]);
|
|
5738
5738
|
|
|
5739
5739
|
var radioGroup = /*#__PURE__*/Object.freeze({
|
|
5740
5740
|
__proto__: null,
|
|
5741
|
-
data: data$
|
|
5742
|
-
schema: schema$
|
|
5743
|
-
uischema: uischema$
|
|
5741
|
+
data: data$7,
|
|
5742
|
+
schema: schema$7,
|
|
5743
|
+
uischema: uischema$7
|
|
5744
5744
|
});
|
|
5745
5745
|
|
|
5746
|
-
const schema$
|
|
5746
|
+
const schema$6 = {
|
|
5747
5747
|
type: 'object',
|
|
5748
5748
|
properties: {
|
|
5749
5749
|
oneOfMultiEnum: {
|
|
@@ -5767,7 +5767,7 @@ const schema$5 = {
|
|
|
5767
5767
|
},
|
|
5768
5768
|
},
|
|
5769
5769
|
};
|
|
5770
|
-
const uischema$
|
|
5770
|
+
const uischema$6 = {
|
|
5771
5771
|
type: 'VerticalLayout',
|
|
5772
5772
|
elements: [
|
|
5773
5773
|
{
|
|
@@ -5780,25 +5780,25 @@ const uischema$5 = {
|
|
|
5780
5780
|
},
|
|
5781
5781
|
],
|
|
5782
5782
|
};
|
|
5783
|
-
const data$
|
|
5783
|
+
const data$6 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
5784
5784
|
registerExamples([
|
|
5785
5785
|
{
|
|
5786
5786
|
name: 'multi-enum',
|
|
5787
5787
|
label: 'Enum - Multi selection',
|
|
5788
|
-
data: data$
|
|
5789
|
-
schema: schema$
|
|
5790
|
-
uischema: uischema$
|
|
5788
|
+
data: data$6,
|
|
5789
|
+
schema: schema$6,
|
|
5790
|
+
uischema: uischema$6,
|
|
5791
5791
|
},
|
|
5792
5792
|
]);
|
|
5793
5793
|
|
|
5794
5794
|
var enumMulti = /*#__PURE__*/Object.freeze({
|
|
5795
5795
|
__proto__: null,
|
|
5796
|
-
schema: schema$
|
|
5797
|
-
uischema: uischema$
|
|
5798
|
-
data: data$
|
|
5796
|
+
schema: schema$6,
|
|
5797
|
+
uischema: uischema$6,
|
|
5798
|
+
data: data$6
|
|
5799
5799
|
});
|
|
5800
5800
|
|
|
5801
|
-
const schema$
|
|
5801
|
+
const schema$5 = {
|
|
5802
5802
|
type: 'array',
|
|
5803
5803
|
items: {
|
|
5804
5804
|
type: 'object',
|
|
@@ -5818,7 +5818,7 @@ const schema$4 = {
|
|
|
5818
5818
|
},
|
|
5819
5819
|
},
|
|
5820
5820
|
};
|
|
5821
|
-
const uischema$
|
|
5821
|
+
const uischema$5 = {
|
|
5822
5822
|
type: 'VerticalLayout',
|
|
5823
5823
|
elements: [
|
|
5824
5824
|
{
|
|
@@ -5827,25 +5827,25 @@ const uischema$4 = {
|
|
|
5827
5827
|
},
|
|
5828
5828
|
],
|
|
5829
5829
|
};
|
|
5830
|
-
const data$
|
|
5830
|
+
const data$5 = [];
|
|
5831
5831
|
registerExamples([
|
|
5832
5832
|
{
|
|
5833
5833
|
name: 'enumInArray',
|
|
5834
5834
|
label: 'Array containing enums',
|
|
5835
|
-
data: data$
|
|
5836
|
-
schema: schema$
|
|
5837
|
-
uischema: uischema$
|
|
5835
|
+
data: data$5,
|
|
5836
|
+
schema: schema$5,
|
|
5837
|
+
uischema: uischema$5,
|
|
5838
5838
|
},
|
|
5839
5839
|
]);
|
|
5840
5840
|
|
|
5841
5841
|
var enumInArray = /*#__PURE__*/Object.freeze({
|
|
5842
5842
|
__proto__: null,
|
|
5843
|
-
schema: schema$
|
|
5844
|
-
uischema: uischema$
|
|
5845
|
-
data: data$
|
|
5843
|
+
schema: schema$5,
|
|
5844
|
+
uischema: uischema$5,
|
|
5845
|
+
data: data$5
|
|
5846
5846
|
});
|
|
5847
5847
|
|
|
5848
|
-
const schema$
|
|
5848
|
+
const schema$4 = {
|
|
5849
5849
|
type: 'object',
|
|
5850
5850
|
properties: {
|
|
5851
5851
|
readonly: {
|
|
@@ -5860,7 +5860,7 @@ const schema$3 = {
|
|
|
5860
5860
|
},
|
|
5861
5861
|
},
|
|
5862
5862
|
};
|
|
5863
|
-
const uischema$
|
|
5863
|
+
const uischema$4 = {
|
|
5864
5864
|
type: 'VerticalLayout',
|
|
5865
5865
|
elements: [
|
|
5866
5866
|
{
|
|
@@ -5883,7 +5883,7 @@ const uischema$3 = {
|
|
|
5883
5883
|
},
|
|
5884
5884
|
],
|
|
5885
5885
|
};
|
|
5886
|
-
const data$
|
|
5886
|
+
const data$4 = {
|
|
5887
5887
|
readonly: 'readonly by schema',
|
|
5888
5888
|
readonlyByUISchema: 'readonly by ui schema',
|
|
5889
5889
|
notReadonly: 'normal field',
|
|
@@ -5892,23 +5892,23 @@ registerExamples([
|
|
|
5892
5892
|
{
|
|
5893
5893
|
name: 'Readonly Fields',
|
|
5894
5894
|
label: 'Readonly examples',
|
|
5895
|
-
data: data$
|
|
5896
|
-
schema: schema$
|
|
5897
|
-
uischema: uischema$
|
|
5895
|
+
data: data$4,
|
|
5896
|
+
schema: schema$4,
|
|
5897
|
+
uischema: uischema$4,
|
|
5898
5898
|
},
|
|
5899
5899
|
]);
|
|
5900
5900
|
|
|
5901
5901
|
var readonly = /*#__PURE__*/Object.freeze({
|
|
5902
5902
|
__proto__: null,
|
|
5903
|
-
schema: schema$
|
|
5904
|
-
uischema: uischema$
|
|
5905
|
-
data: data$
|
|
5903
|
+
schema: schema$4,
|
|
5904
|
+
uischema: uischema$4,
|
|
5905
|
+
data: data$4
|
|
5906
5906
|
});
|
|
5907
5907
|
|
|
5908
|
-
const data$
|
|
5908
|
+
const data$3 = {
|
|
5909
5909
|
'an-array-of-strings': ['foo', 'bar', 'foobar'],
|
|
5910
5910
|
};
|
|
5911
|
-
const schema$
|
|
5911
|
+
const schema$3 = {
|
|
5912
5912
|
type: 'object',
|
|
5913
5913
|
properties: {
|
|
5914
5914
|
'an-array-of-strings': {
|
|
@@ -5919,7 +5919,7 @@ const schema$2 = {
|
|
|
5919
5919
|
},
|
|
5920
5920
|
},
|
|
5921
5921
|
};
|
|
5922
|
-
const uischema$
|
|
5922
|
+
const uischema$3 = {
|
|
5923
5923
|
type: 'ListWithDetail',
|
|
5924
5924
|
scope: '#/properties/an-array-of-strings',
|
|
5925
5925
|
};
|
|
@@ -5927,9 +5927,9 @@ registerExamples([
|
|
|
5927
5927
|
{
|
|
5928
5928
|
name: 'list-with-detail-primitive-string',
|
|
5929
5929
|
label: 'List With Detail primitive (string)',
|
|
5930
|
-
data: data$
|
|
5931
|
-
schema: schema$
|
|
5932
|
-
uischema: uischema$
|
|
5930
|
+
data: data$3,
|
|
5931
|
+
schema: schema$3,
|
|
5932
|
+
uischema: uischema$3,
|
|
5933
5933
|
},
|
|
5934
5934
|
]);
|
|
5935
5935
|
const data_number = {
|
|
@@ -5962,15 +5962,15 @@ registerExamples([
|
|
|
5962
5962
|
|
|
5963
5963
|
var listWithDetailPrimitives = /*#__PURE__*/Object.freeze({
|
|
5964
5964
|
__proto__: null,
|
|
5965
|
-
data: data$
|
|
5966
|
-
schema: schema$
|
|
5967
|
-
uischema: uischema$
|
|
5965
|
+
data: data$3,
|
|
5966
|
+
schema: schema$3,
|
|
5967
|
+
uischema: uischema$3,
|
|
5968
5968
|
data_number: data_number,
|
|
5969
5969
|
schema_number: schema_number,
|
|
5970
5970
|
uischema_number: uischema_number
|
|
5971
5971
|
});
|
|
5972
5972
|
|
|
5973
|
-
const schema$
|
|
5973
|
+
const schema$2 = {
|
|
5974
5974
|
type: 'object',
|
|
5975
5975
|
properties: {
|
|
5976
5976
|
name: {
|
|
@@ -6005,7 +6005,7 @@ const schema$1 = {
|
|
|
6005
6005
|
},
|
|
6006
6006
|
],
|
|
6007
6007
|
};
|
|
6008
|
-
const uischema$
|
|
6008
|
+
const uischema$2 = {
|
|
6009
6009
|
type: 'HorizontalLayout',
|
|
6010
6010
|
elements: [
|
|
6011
6011
|
{
|
|
@@ -6049,21 +6049,21 @@ const uischema$1 = {
|
|
|
6049
6049
|
},
|
|
6050
6050
|
],
|
|
6051
6051
|
};
|
|
6052
|
-
const data$
|
|
6052
|
+
const data$2 = {};
|
|
6053
6053
|
registerExamples([
|
|
6054
6054
|
{
|
|
6055
6055
|
name: 'conditional-schema-compositions',
|
|
6056
6056
|
label: 'Conditional Schema Compositions',
|
|
6057
|
-
data: data$
|
|
6058
|
-
schema: schema$
|
|
6059
|
-
uischema: uischema$
|
|
6057
|
+
data: data$2,
|
|
6058
|
+
schema: schema$2,
|
|
6059
|
+
uischema: uischema$2,
|
|
6060
6060
|
},
|
|
6061
6061
|
]);
|
|
6062
6062
|
|
|
6063
6063
|
var conditionalSchemaCompositions = /*#__PURE__*/Object.freeze({
|
|
6064
6064
|
__proto__: null,
|
|
6065
|
-
schema: schema$
|
|
6066
|
-
uischema: uischema$
|
|
6065
|
+
schema: schema$2,
|
|
6066
|
+
uischema: uischema$2
|
|
6067
6067
|
});
|
|
6068
6068
|
|
|
6069
6069
|
const additionalErrors = [];
|
|
@@ -6089,9 +6089,9 @@ registerExamples([
|
|
|
6089
6089
|
{
|
|
6090
6090
|
name: 'additional-errors',
|
|
6091
6091
|
label: 'Additional errors',
|
|
6092
|
-
data: data$
|
|
6093
|
-
schema: schema$
|
|
6094
|
-
uischema: uischema$
|
|
6092
|
+
data: data$D,
|
|
6093
|
+
schema: schema$B,
|
|
6094
|
+
uischema: uischema$B,
|
|
6095
6095
|
actions,
|
|
6096
6096
|
},
|
|
6097
6097
|
]);
|
|
@@ -6102,6 +6102,71 @@ var additionalErrors$1 = /*#__PURE__*/Object.freeze({
|
|
|
6102
6102
|
actions: actions
|
|
6103
6103
|
});
|
|
6104
6104
|
|
|
6105
|
+
const schema$1 = {
|
|
6106
|
+
type: 'object',
|
|
6107
|
+
properties: {
|
|
6108
|
+
oneOfMultiEnum: {
|
|
6109
|
+
type: 'array',
|
|
6110
|
+
uniqueItems: true,
|
|
6111
|
+
description: 'Description',
|
|
6112
|
+
items: {
|
|
6113
|
+
oneOf: [
|
|
6114
|
+
{ const: 'foo', title: 'My Foo' },
|
|
6115
|
+
{ const: 'bar', title: 'My Bar' },
|
|
6116
|
+
{ const: 'foobar', title: 'My FooBar' },
|
|
6117
|
+
],
|
|
6118
|
+
},
|
|
6119
|
+
},
|
|
6120
|
+
multiEnum: {
|
|
6121
|
+
type: 'array',
|
|
6122
|
+
uniqueItems: true,
|
|
6123
|
+
description: 'Description',
|
|
6124
|
+
items: {
|
|
6125
|
+
type: 'string',
|
|
6126
|
+
enum: ['foo', 'bar', 'foobar'],
|
|
6127
|
+
},
|
|
6128
|
+
},
|
|
6129
|
+
},
|
|
6130
|
+
};
|
|
6131
|
+
const uischema$1 = {
|
|
6132
|
+
type: 'VerticalLayout',
|
|
6133
|
+
elements: [
|
|
6134
|
+
{
|
|
6135
|
+
type: 'Control',
|
|
6136
|
+
scope: '#/properties/oneOfMultiEnum',
|
|
6137
|
+
label: 'Form Label',
|
|
6138
|
+
options: {
|
|
6139
|
+
showUnfocusedDescription: true,
|
|
6140
|
+
},
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
type: 'Control',
|
|
6144
|
+
scope: '#/properties/multiEnum',
|
|
6145
|
+
label: 'Form Label',
|
|
6146
|
+
options: {
|
|
6147
|
+
showUnfocusedDescription: true,
|
|
6148
|
+
},
|
|
6149
|
+
},
|
|
6150
|
+
],
|
|
6151
|
+
};
|
|
6152
|
+
const data$1 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
6153
|
+
registerExamples([
|
|
6154
|
+
{
|
|
6155
|
+
name: 'multi-enum-with-label-and-desc',
|
|
6156
|
+
label: 'Enum - Multi selection with label and desc',
|
|
6157
|
+
data: data$1,
|
|
6158
|
+
schema: schema$1,
|
|
6159
|
+
uischema: uischema$1,
|
|
6160
|
+
},
|
|
6161
|
+
]);
|
|
6162
|
+
|
|
6163
|
+
var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
|
|
6164
|
+
__proto__: null,
|
|
6165
|
+
schema: schema$1,
|
|
6166
|
+
uischema: uischema$1,
|
|
6167
|
+
data: data$1
|
|
6168
|
+
});
|
|
6169
|
+
|
|
6105
6170
|
const schema = {
|
|
6106
6171
|
type: 'object',
|
|
6107
6172
|
properties: {
|
|
@@ -6130,5 +6195,5 @@ var if_then_else = /*#__PURE__*/Object.freeze({
|
|
|
6130
6195
|
data: data
|
|
6131
6196
|
});
|
|
6132
6197
|
|
|
6133
|
-
export { additionalErrors$1 as additionalErrors, allOf, anyOf, anyOfOneOfAllOfResolve, arrays as array, arraysI18n as arrayI18n, arraysWithCustomElementLabel as arrayWithCustomChildLabel, arraysWithDefaults as arrayWithDefaults, arraysWithDetail as arrayWithDetail, arraysWithDetailAndRule as arrayWithDetailAndRule, arraysWithSorting as arrayWithSorting, 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, layout, listWithDetail, listWithDetailPrimitives, listWithDetailRegistered, enumMulti as multiEnum, 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, stringArray, text };
|
|
6198
|
+
export { additionalErrors$1 as additionalErrors, allOf, anyOf, anyOfOneOfAllOfResolve, arrays as array, arraysI18n as arrayI18n, arraysWithCustomElementLabel as arrayWithCustomChildLabel, arraysWithDefaults as arrayWithDefaults, arraysWithDetail as arrayWithDetail, arraysWithDetailAndRule as arrayWithDetailAndRule, arraysWithSorting as arrayWithSorting, 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, layout, listWithDetail, listWithDetailPrimitives, listWithDetailRegistered, 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, stringArray, text };
|
|
6134
6199
|
//# sourceMappingURL=jsonforms-examples.esm.js.map
|