@jsonforms/examples 3.4.0-alpha.2 → 3.4.0-alpha.3
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/additional-properties.d.ts +78 -0
- package/lib/examples/login.d.ts +30 -0
- package/lib/examples/person.d.ts +4 -2
- package/lib/examples/string.d.ts +10 -0
- package/lib/index.d.ts +4 -1
- package/lib/jsonforms-examples.cjs.js +643 -445
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +640 -446
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/examples/additional-properties.ts +131 -0
- package/src/examples/i18n.ts +3 -4
- package/src/examples/login.ts +78 -0
- package/src/examples/person.ts +12 -10
- package/src/examples/string.ts +48 -0
- package/src/index.ts +6 -0
- package/stats.html +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ArrayTranslationEnum, NOT_APPLICABLE, convertDateToString, updateErrors } from '@jsonforms/core';
|
|
2
2
|
import { get } from 'lodash';
|
|
3
3
|
import get$1 from 'lodash/get';
|
|
4
|
+
import localize from 'ajv-i18n/localize';
|
|
4
5
|
|
|
5
6
|
const knownExamples = {};
|
|
6
7
|
const registerExamples = (examples) => {
|
|
@@ -12,7 +13,7 @@ const getExamples = () => {
|
|
|
12
13
|
return examples;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
|
-
const schema$
|
|
16
|
+
const schema$O = {
|
|
16
17
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
17
18
|
definitions: {
|
|
18
19
|
address: {
|
|
@@ -45,7 +46,7 @@ const schema$L = {
|
|
|
45
46
|
},
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
|
-
const uischema$
|
|
49
|
+
const uischema$O = {
|
|
49
50
|
type: 'VerticalLayout',
|
|
50
51
|
elements: [
|
|
51
52
|
{
|
|
@@ -59,7 +60,7 @@ const uischema$L = {
|
|
|
59
60
|
},
|
|
60
61
|
],
|
|
61
62
|
};
|
|
62
|
-
const data$
|
|
63
|
+
const data$Q = {
|
|
63
64
|
billing_address: {
|
|
64
65
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
65
66
|
city: 'Washington',
|
|
@@ -70,19 +71,19 @@ registerExamples([
|
|
|
70
71
|
{
|
|
71
72
|
name: 'allOf',
|
|
72
73
|
label: 'allOf',
|
|
73
|
-
data: data$
|
|
74
|
-
schema: schema$
|
|
75
|
-
uischema: uischema$
|
|
74
|
+
data: data$Q,
|
|
75
|
+
schema: schema$O,
|
|
76
|
+
uischema: uischema$O,
|
|
76
77
|
},
|
|
77
78
|
]);
|
|
78
79
|
|
|
79
80
|
var allOf = /*#__PURE__*/Object.freeze({
|
|
80
81
|
__proto__: null,
|
|
81
|
-
schema: schema$
|
|
82
|
-
uischema: uischema$
|
|
82
|
+
schema: schema$O,
|
|
83
|
+
uischema: uischema$O
|
|
83
84
|
});
|
|
84
85
|
|
|
85
|
-
const schema$
|
|
86
|
+
const schema$N = {
|
|
86
87
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
87
88
|
definitions: {
|
|
88
89
|
address: {
|
|
@@ -136,7 +137,7 @@ const schema$K = {
|
|
|
136
137
|
},
|
|
137
138
|
},
|
|
138
139
|
};
|
|
139
|
-
const uischema$
|
|
140
|
+
const uischema$N = {
|
|
140
141
|
type: 'VerticalLayout',
|
|
141
142
|
elements: [
|
|
142
143
|
{
|
|
@@ -155,7 +156,7 @@ const uischema$K = {
|
|
|
155
156
|
},
|
|
156
157
|
],
|
|
157
158
|
};
|
|
158
|
-
const data$
|
|
159
|
+
const data$P = {
|
|
159
160
|
addressOrUser: {
|
|
160
161
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
161
162
|
city: 'Washington',
|
|
@@ -174,9 +175,9 @@ registerExamples([
|
|
|
174
175
|
{
|
|
175
176
|
name: 'anyOf',
|
|
176
177
|
label: 'anyOf',
|
|
177
|
-
data: data$
|
|
178
|
-
schema: schema$
|
|
179
|
-
uischema: uischema$
|
|
178
|
+
data: data$P,
|
|
179
|
+
schema: schema$N,
|
|
180
|
+
uischema: uischema$N,
|
|
180
181
|
},
|
|
181
182
|
{
|
|
182
183
|
name: 'anyOf_simple',
|
|
@@ -189,11 +190,11 @@ registerExamples([
|
|
|
189
190
|
|
|
190
191
|
var anyOf = /*#__PURE__*/Object.freeze({
|
|
191
192
|
__proto__: null,
|
|
192
|
-
schema: schema$
|
|
193
|
-
uischema: uischema$
|
|
193
|
+
schema: schema$N,
|
|
194
|
+
uischema: uischema$N
|
|
194
195
|
});
|
|
195
196
|
|
|
196
|
-
const schema$
|
|
197
|
+
const schema$M = {
|
|
197
198
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
198
199
|
definitions: {
|
|
199
200
|
address: {
|
|
@@ -228,7 +229,7 @@ const schema$J = {
|
|
|
228
229
|
},
|
|
229
230
|
required: ['name'],
|
|
230
231
|
};
|
|
231
|
-
const uischema$
|
|
232
|
+
const uischema$M = {
|
|
232
233
|
type: 'VerticalLayout',
|
|
233
234
|
elements: [
|
|
234
235
|
{
|
|
@@ -241,7 +242,7 @@ const uischema$J = {
|
|
|
241
242
|
},
|
|
242
243
|
],
|
|
243
244
|
};
|
|
244
|
-
const data$
|
|
245
|
+
const data$O = {
|
|
245
246
|
name: 'test',
|
|
246
247
|
addressOrUser: {
|
|
247
248
|
name: 'User',
|
|
@@ -463,9 +464,9 @@ registerExamples([
|
|
|
463
464
|
{
|
|
464
465
|
name: 'oneOf',
|
|
465
466
|
label: 'oneOf',
|
|
466
|
-
data: data$
|
|
467
|
-
schema: schema$
|
|
468
|
-
uischema: uischema$
|
|
467
|
+
data: data$O,
|
|
468
|
+
schema: schema$M,
|
|
469
|
+
uischema: uischema$M,
|
|
469
470
|
},
|
|
470
471
|
{
|
|
471
472
|
name: 'oneOf_1265_array',
|
|
@@ -506,11 +507,11 @@ registerExamples([
|
|
|
506
507
|
|
|
507
508
|
var oneOf = /*#__PURE__*/Object.freeze({
|
|
508
509
|
__proto__: null,
|
|
509
|
-
schema: schema$
|
|
510
|
-
uischema: uischema$
|
|
510
|
+
schema: schema$M,
|
|
511
|
+
uischema: uischema$M
|
|
511
512
|
});
|
|
512
513
|
|
|
513
|
-
const schema$
|
|
514
|
+
const schema$L = {
|
|
514
515
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
515
516
|
definitions: {
|
|
516
517
|
address: {
|
|
@@ -545,7 +546,7 @@ const schema$I = {
|
|
|
545
546
|
},
|
|
546
547
|
},
|
|
547
548
|
};
|
|
548
|
-
const uischema$
|
|
549
|
+
const uischema$L = {
|
|
549
550
|
type: 'VerticalLayout',
|
|
550
551
|
elements: [
|
|
551
552
|
{
|
|
@@ -554,7 +555,7 @@ const uischema$I = {
|
|
|
554
555
|
},
|
|
555
556
|
],
|
|
556
557
|
};
|
|
557
|
-
const data$
|
|
558
|
+
const data$N = {
|
|
558
559
|
name: 'test',
|
|
559
560
|
addressOrUsers: [
|
|
560
561
|
{
|
|
@@ -572,19 +573,19 @@ registerExamples([
|
|
|
572
573
|
{
|
|
573
574
|
name: 'oneOfArray',
|
|
574
575
|
label: 'oneOf - Inside array items',
|
|
575
|
-
data: data$
|
|
576
|
-
schema: schema$
|
|
577
|
-
uischema: uischema$
|
|
576
|
+
data: data$N,
|
|
577
|
+
schema: schema$L,
|
|
578
|
+
uischema: uischema$L,
|
|
578
579
|
},
|
|
579
580
|
]);
|
|
580
581
|
|
|
581
582
|
var oneOfArray = /*#__PURE__*/Object.freeze({
|
|
582
583
|
__proto__: null,
|
|
583
|
-
schema: schema$
|
|
584
|
-
uischema: uischema$
|
|
584
|
+
schema: schema$L,
|
|
585
|
+
uischema: uischema$L
|
|
585
586
|
});
|
|
586
587
|
|
|
587
|
-
const schema$
|
|
588
|
+
const schema$K = {
|
|
588
589
|
$defs: {
|
|
589
590
|
Base: {
|
|
590
591
|
type: 'object',
|
|
@@ -615,7 +616,7 @@ const schema$H = {
|
|
|
615
616
|
},
|
|
616
617
|
},
|
|
617
618
|
};
|
|
618
|
-
const uischema$
|
|
619
|
+
const uischema$K = {
|
|
619
620
|
type: 'VerticalLayout',
|
|
620
621
|
elements: [
|
|
621
622
|
{
|
|
@@ -640,24 +641,24 @@ const uischema$H = {
|
|
|
640
641
|
},
|
|
641
642
|
],
|
|
642
643
|
};
|
|
643
|
-
const data$
|
|
644
|
+
const data$M = {};
|
|
644
645
|
registerExamples([
|
|
645
646
|
{
|
|
646
647
|
name: 'anyOf-oneOf-allOf-resolve',
|
|
647
648
|
label: 'AnyOf OneOf AllOf Resolve',
|
|
648
|
-
data: data$
|
|
649
|
-
schema: schema$
|
|
650
|
-
uischema: uischema$
|
|
649
|
+
data: data$M,
|
|
650
|
+
schema: schema$K,
|
|
651
|
+
uischema: uischema$K,
|
|
651
652
|
},
|
|
652
653
|
]);
|
|
653
654
|
|
|
654
655
|
var anyOfOneOfAllOfResolve = /*#__PURE__*/Object.freeze({
|
|
655
656
|
__proto__: null,
|
|
656
|
-
schema: schema$
|
|
657
|
-
uischema: uischema$
|
|
657
|
+
schema: schema$K,
|
|
658
|
+
uischema: uischema$K
|
|
658
659
|
});
|
|
659
660
|
|
|
660
|
-
const schema$
|
|
661
|
+
const schema$J = {
|
|
661
662
|
type: 'object',
|
|
662
663
|
properties: {
|
|
663
664
|
comments: {
|
|
@@ -687,7 +688,7 @@ const schema$G = {
|
|
|
687
688
|
foo: { type: 'string' },
|
|
688
689
|
},
|
|
689
690
|
};
|
|
690
|
-
const uischema$
|
|
691
|
+
const uischema$J = {
|
|
691
692
|
type: 'VerticalLayout',
|
|
692
693
|
elements: [
|
|
693
694
|
{
|
|
@@ -719,7 +720,7 @@ const uischemaWithSorting$1 = {
|
|
|
719
720
|
},
|
|
720
721
|
],
|
|
721
722
|
};
|
|
722
|
-
const data$
|
|
723
|
+
const data$L = {
|
|
723
724
|
comments: [
|
|
724
725
|
{
|
|
725
726
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -747,7 +748,7 @@ const actions$5 = [
|
|
|
747
748
|
apply: (props) => {
|
|
748
749
|
return {
|
|
749
750
|
...props,
|
|
750
|
-
uischema: uischema$
|
|
751
|
+
uischema: uischema$J,
|
|
751
752
|
};
|
|
752
753
|
},
|
|
753
754
|
},
|
|
@@ -756,9 +757,9 @@ registerExamples([
|
|
|
756
757
|
{
|
|
757
758
|
name: 'array',
|
|
758
759
|
label: 'Array',
|
|
759
|
-
data: data$
|
|
760
|
-
schema: schema$
|
|
761
|
-
uischema: uischema$
|
|
760
|
+
data: data$L,
|
|
761
|
+
schema: schema$J,
|
|
762
|
+
uischema: uischema$J,
|
|
762
763
|
config: {
|
|
763
764
|
withSort: uischemaWithSorting$1,
|
|
764
765
|
},
|
|
@@ -768,13 +769,13 @@ registerExamples([
|
|
|
768
769
|
|
|
769
770
|
var arrays = /*#__PURE__*/Object.freeze({
|
|
770
771
|
__proto__: null,
|
|
771
|
-
schema: schema$
|
|
772
|
-
uischema: uischema$
|
|
772
|
+
schema: schema$J,
|
|
773
|
+
uischema: uischema$J,
|
|
773
774
|
uischemaWithSorting: uischemaWithSorting$1,
|
|
774
|
-
data: data$
|
|
775
|
+
data: data$L
|
|
775
776
|
});
|
|
776
777
|
|
|
777
|
-
const schema$
|
|
778
|
+
const schema$I = {
|
|
778
779
|
type: 'object',
|
|
779
780
|
properties: {
|
|
780
781
|
comments: {
|
|
@@ -799,7 +800,7 @@ const schema$F = {
|
|
|
799
800
|
},
|
|
800
801
|
},
|
|
801
802
|
};
|
|
802
|
-
const uischema$
|
|
803
|
+
const uischema$I = {
|
|
803
804
|
type: 'VerticalLayout',
|
|
804
805
|
elements: [
|
|
805
806
|
{
|
|
@@ -811,7 +812,7 @@ const uischema$F = {
|
|
|
811
812
|
},
|
|
812
813
|
],
|
|
813
814
|
};
|
|
814
|
-
const data$
|
|
815
|
+
const data$K = {
|
|
815
816
|
comments: [
|
|
816
817
|
{
|
|
817
818
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -839,9 +840,9 @@ registerExamples([
|
|
|
839
840
|
{
|
|
840
841
|
name: 'array-i18n',
|
|
841
842
|
label: 'Array (i18n)',
|
|
842
|
-
data: data$
|
|
843
|
-
schema: schema$
|
|
844
|
-
uischema: uischema$
|
|
843
|
+
data: data$K,
|
|
844
|
+
schema: schema$I,
|
|
845
|
+
uischema: uischema$I,
|
|
845
846
|
i18n: {
|
|
846
847
|
translate: translate$3,
|
|
847
848
|
locale: 'en',
|
|
@@ -851,14 +852,14 @@ registerExamples([
|
|
|
851
852
|
|
|
852
853
|
var arraysI18n = /*#__PURE__*/Object.freeze({
|
|
853
854
|
__proto__: null,
|
|
854
|
-
schema: schema$
|
|
855
|
-
uischema: uischema$
|
|
856
|
-
data: data$
|
|
855
|
+
schema: schema$I,
|
|
856
|
+
uischema: uischema$I,
|
|
857
|
+
data: data$K,
|
|
857
858
|
translations: translations$2,
|
|
858
859
|
translate: translate$3
|
|
859
860
|
});
|
|
860
861
|
|
|
861
|
-
const schema$
|
|
862
|
+
const schema$H = {
|
|
862
863
|
definitions: {
|
|
863
864
|
choicesContainer: {
|
|
864
865
|
type: 'object',
|
|
@@ -883,7 +884,7 @@ const schema$E = {
|
|
|
883
884
|
},
|
|
884
885
|
},
|
|
885
886
|
};
|
|
886
|
-
const uischema$
|
|
887
|
+
const uischema$H = {
|
|
887
888
|
type: 'HorizontalLayout',
|
|
888
889
|
elements: [
|
|
889
890
|
{
|
|
@@ -896,7 +897,7 @@ const uischema$E = {
|
|
|
896
897
|
},
|
|
897
898
|
],
|
|
898
899
|
};
|
|
899
|
-
const data$
|
|
900
|
+
const data$J = {
|
|
900
901
|
exampleArray: [
|
|
901
902
|
{
|
|
902
903
|
choices: ['This', 'is', 'an', 'example'],
|
|
@@ -948,19 +949,19 @@ registerExamples([
|
|
|
948
949
|
{
|
|
949
950
|
name: 'nestedArray',
|
|
950
951
|
label: 'Nested Array',
|
|
951
|
-
data: data$
|
|
952
|
-
schema: schema$
|
|
953
|
-
uischema: uischema$
|
|
952
|
+
data: data$J,
|
|
953
|
+
schema: schema$H,
|
|
954
|
+
uischema: uischema$H,
|
|
954
955
|
actions: actions$4,
|
|
955
956
|
},
|
|
956
957
|
]);
|
|
957
958
|
|
|
958
959
|
var nestedArrays = /*#__PURE__*/Object.freeze({
|
|
959
960
|
__proto__: null,
|
|
960
|
-
uischema: uischema$
|
|
961
|
+
uischema: uischema$H
|
|
961
962
|
});
|
|
962
963
|
|
|
963
|
-
const schema$
|
|
964
|
+
const schema$G = {
|
|
964
965
|
type: 'object',
|
|
965
966
|
properties: {
|
|
966
967
|
cat1: {
|
|
@@ -998,7 +999,7 @@ const schema$D = {
|
|
|
998
999
|
},
|
|
999
1000
|
},
|
|
1000
1001
|
};
|
|
1001
|
-
const uischema$
|
|
1002
|
+
const uischema$G = {
|
|
1002
1003
|
type: 'Categorization',
|
|
1003
1004
|
elements: [
|
|
1004
1005
|
{
|
|
@@ -1096,22 +1097,22 @@ const uischema$D = {
|
|
|
1096
1097
|
},
|
|
1097
1098
|
],
|
|
1098
1099
|
};
|
|
1099
|
-
const data$
|
|
1100
|
+
const data$I = {};
|
|
1100
1101
|
registerExamples([
|
|
1101
1102
|
{
|
|
1102
1103
|
name: 'nestedCategorization',
|
|
1103
1104
|
label: 'Nested Categorization',
|
|
1104
|
-
data: data$
|
|
1105
|
-
schema: schema$
|
|
1106
|
-
uischema: uischema$
|
|
1105
|
+
data: data$I,
|
|
1106
|
+
schema: schema$G,
|
|
1107
|
+
uischema: uischema$G,
|
|
1107
1108
|
},
|
|
1108
1109
|
]);
|
|
1109
1110
|
|
|
1110
1111
|
var nestedCategorization = /*#__PURE__*/Object.freeze({
|
|
1111
1112
|
__proto__: null,
|
|
1112
|
-
schema: schema$
|
|
1113
|
-
uischema: uischema$
|
|
1114
|
-
data: data$
|
|
1113
|
+
schema: schema$G,
|
|
1114
|
+
uischema: uischema$G,
|
|
1115
|
+
data: data$I
|
|
1115
1116
|
});
|
|
1116
1117
|
|
|
1117
1118
|
const personCoreSchema = {
|
|
@@ -1136,7 +1137,7 @@ const personCoreSchema = {
|
|
|
1136
1137
|
},
|
|
1137
1138
|
},
|
|
1138
1139
|
};
|
|
1139
|
-
const schema$
|
|
1140
|
+
const schema$F = {
|
|
1140
1141
|
type: 'object',
|
|
1141
1142
|
properties: {
|
|
1142
1143
|
...personCoreSchema.properties,
|
|
@@ -1176,7 +1177,7 @@ const schema$C = {
|
|
|
1176
1177
|
},
|
|
1177
1178
|
required: ['occupation', 'nationality'],
|
|
1178
1179
|
};
|
|
1179
|
-
const uischema$
|
|
1180
|
+
const uischema$F = {
|
|
1180
1181
|
type: 'VerticalLayout',
|
|
1181
1182
|
elements: [
|
|
1182
1183
|
{
|
|
@@ -1214,22 +1215,24 @@ const uischema$C = {
|
|
|
1214
1215
|
{
|
|
1215
1216
|
type: 'Control',
|
|
1216
1217
|
scope: '#/properties/occupation',
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1218
|
+
options: {
|
|
1219
|
+
suggestion: [
|
|
1220
|
+
'Accountant',
|
|
1221
|
+
'Engineer',
|
|
1222
|
+
'Freelancer',
|
|
1223
|
+
'Journalism',
|
|
1224
|
+
'Physician',
|
|
1225
|
+
'Student',
|
|
1226
|
+
'Teacher',
|
|
1227
|
+
'Other',
|
|
1228
|
+
],
|
|
1229
|
+
},
|
|
1227
1230
|
},
|
|
1228
1231
|
],
|
|
1229
1232
|
},
|
|
1230
1233
|
],
|
|
1231
1234
|
};
|
|
1232
|
-
const data$
|
|
1235
|
+
const data$H = {
|
|
1233
1236
|
name: 'John Doe',
|
|
1234
1237
|
vegetarian: false,
|
|
1235
1238
|
birthDate: '1985-06-02',
|
|
@@ -1242,21 +1245,21 @@ registerExamples([
|
|
|
1242
1245
|
{
|
|
1243
1246
|
name: 'person',
|
|
1244
1247
|
label: 'Person',
|
|
1245
|
-
data: data$
|
|
1246
|
-
schema: schema$
|
|
1247
|
-
uischema: uischema$
|
|
1248
|
+
data: data$H,
|
|
1249
|
+
schema: schema$F,
|
|
1250
|
+
uischema: uischema$F,
|
|
1248
1251
|
},
|
|
1249
1252
|
]);
|
|
1250
1253
|
|
|
1251
1254
|
var person = /*#__PURE__*/Object.freeze({
|
|
1252
1255
|
__proto__: null,
|
|
1253
1256
|
personCoreSchema: personCoreSchema,
|
|
1254
|
-
schema: schema$
|
|
1255
|
-
uischema: uischema$
|
|
1256
|
-
data: data$
|
|
1257
|
+
schema: schema$F,
|
|
1258
|
+
uischema: uischema$F,
|
|
1259
|
+
data: data$H
|
|
1257
1260
|
});
|
|
1258
1261
|
|
|
1259
|
-
const schema$
|
|
1262
|
+
const schema$E = {
|
|
1260
1263
|
type: 'object',
|
|
1261
1264
|
properties: {
|
|
1262
1265
|
...personCoreSchema.properties,
|
|
@@ -1283,7 +1286,7 @@ const schema$B = {
|
|
|
1283
1286
|
},
|
|
1284
1287
|
required: ['occupation', 'nationality'],
|
|
1285
1288
|
};
|
|
1286
|
-
const uischema$
|
|
1289
|
+
const uischema$E = {
|
|
1287
1290
|
type: 'VerticalLayout',
|
|
1288
1291
|
elements: [
|
|
1289
1292
|
{
|
|
@@ -1309,7 +1312,7 @@ const uischema$B = {
|
|
|
1309
1312
|
},
|
|
1310
1313
|
],
|
|
1311
1314
|
};
|
|
1312
|
-
const data$
|
|
1315
|
+
const data$G = {
|
|
1313
1316
|
comments: [
|
|
1314
1317
|
{
|
|
1315
1318
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1325,20 +1328,20 @@ registerExamples([
|
|
|
1325
1328
|
{
|
|
1326
1329
|
name: 'array-with-detail',
|
|
1327
1330
|
label: 'Array with detail',
|
|
1328
|
-
data: data$
|
|
1329
|
-
schema: schema$
|
|
1330
|
-
uischema: uischema$
|
|
1331
|
+
data: data$G,
|
|
1332
|
+
schema: schema$E,
|
|
1333
|
+
uischema: uischema$E,
|
|
1331
1334
|
},
|
|
1332
1335
|
]);
|
|
1333
1336
|
|
|
1334
1337
|
var arraysWithDetail = /*#__PURE__*/Object.freeze({
|
|
1335
1338
|
__proto__: null,
|
|
1336
|
-
schema: schema$
|
|
1337
|
-
uischema: uischema$
|
|
1338
|
-
data: data$
|
|
1339
|
+
schema: schema$E,
|
|
1340
|
+
uischema: uischema$E,
|
|
1341
|
+
data: data$G
|
|
1339
1342
|
});
|
|
1340
1343
|
|
|
1341
|
-
const schema$
|
|
1344
|
+
const schema$D = {
|
|
1342
1345
|
type: 'object',
|
|
1343
1346
|
properties: {
|
|
1344
1347
|
...personCoreSchema.properties,
|
|
@@ -1364,7 +1367,7 @@ const schema$A = {
|
|
|
1364
1367
|
},
|
|
1365
1368
|
required: ['occupation', 'nationality'],
|
|
1366
1369
|
};
|
|
1367
|
-
const uischema$
|
|
1370
|
+
const uischema$D = {
|
|
1368
1371
|
type: 'VerticalLayout',
|
|
1369
1372
|
elements: [
|
|
1370
1373
|
{
|
|
@@ -1412,7 +1415,7 @@ const uischema$A = {
|
|
|
1412
1415
|
},
|
|
1413
1416
|
],
|
|
1414
1417
|
};
|
|
1415
|
-
const data$
|
|
1418
|
+
const data$F = {
|
|
1416
1419
|
occupation: 'developer',
|
|
1417
1420
|
comments: [
|
|
1418
1421
|
{
|
|
@@ -1429,20 +1432,20 @@ registerExamples([
|
|
|
1429
1432
|
{
|
|
1430
1433
|
name: 'array-with-detail-and-rule',
|
|
1431
1434
|
label: 'Array with detail and rule',
|
|
1432
|
-
data: data$
|
|
1433
|
-
schema: schema$
|
|
1434
|
-
uischema: uischema$
|
|
1435
|
+
data: data$F,
|
|
1436
|
+
schema: schema$D,
|
|
1437
|
+
uischema: uischema$D,
|
|
1435
1438
|
},
|
|
1436
1439
|
]);
|
|
1437
1440
|
|
|
1438
1441
|
var arraysWithDetailAndRule = /*#__PURE__*/Object.freeze({
|
|
1439
1442
|
__proto__: null,
|
|
1440
|
-
schema: schema$
|
|
1441
|
-
uischema: uischema$
|
|
1442
|
-
data: data$
|
|
1443
|
+
schema: schema$D,
|
|
1444
|
+
uischema: uischema$D,
|
|
1445
|
+
data: data$F
|
|
1443
1446
|
});
|
|
1444
1447
|
|
|
1445
|
-
const schema$
|
|
1448
|
+
const schema$C = {
|
|
1446
1449
|
type: 'object',
|
|
1447
1450
|
properties: {
|
|
1448
1451
|
comments: {
|
|
@@ -1462,7 +1465,7 @@ const schema$z = {
|
|
|
1462
1465
|
},
|
|
1463
1466
|
},
|
|
1464
1467
|
};
|
|
1465
|
-
const uischema$
|
|
1468
|
+
const uischema$C = {
|
|
1466
1469
|
type: 'VerticalLayout',
|
|
1467
1470
|
elements: [
|
|
1468
1471
|
{
|
|
@@ -1487,7 +1490,7 @@ const uischema$z = {
|
|
|
1487
1490
|
},
|
|
1488
1491
|
],
|
|
1489
1492
|
};
|
|
1490
|
-
const data$
|
|
1493
|
+
const data$E = {
|
|
1491
1494
|
comments: [
|
|
1492
1495
|
{
|
|
1493
1496
|
message1: 'This is an example message',
|
|
@@ -1503,20 +1506,20 @@ registerExamples([
|
|
|
1503
1506
|
{
|
|
1504
1507
|
name: 'array-with-custom-element-label',
|
|
1505
1508
|
label: 'Array with custom element label',
|
|
1506
|
-
data: data$
|
|
1507
|
-
schema: schema$
|
|
1508
|
-
uischema: uischema$
|
|
1509
|
+
data: data$E,
|
|
1510
|
+
schema: schema$C,
|
|
1511
|
+
uischema: uischema$C,
|
|
1509
1512
|
},
|
|
1510
1513
|
]);
|
|
1511
1514
|
|
|
1512
1515
|
var arraysWithCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1513
1516
|
__proto__: null,
|
|
1514
|
-
schema: schema$
|
|
1515
|
-
uischema: uischema$
|
|
1516
|
-
data: data$
|
|
1517
|
+
schema: schema$C,
|
|
1518
|
+
uischema: uischema$C,
|
|
1519
|
+
data: data$E
|
|
1517
1520
|
});
|
|
1518
1521
|
|
|
1519
|
-
const schema$
|
|
1522
|
+
const schema$B = {
|
|
1520
1523
|
type: 'object',
|
|
1521
1524
|
properties: {
|
|
1522
1525
|
comments: {
|
|
@@ -1544,7 +1547,7 @@ const schema$y = {
|
|
|
1544
1547
|
foo: { type: 'string' },
|
|
1545
1548
|
},
|
|
1546
1549
|
};
|
|
1547
|
-
const uischema$
|
|
1550
|
+
const uischema$B = {
|
|
1548
1551
|
type: 'VerticalLayout',
|
|
1549
1552
|
elements: [
|
|
1550
1553
|
{
|
|
@@ -1578,7 +1581,7 @@ const uischemaWithSorting = {
|
|
|
1578
1581
|
},
|
|
1579
1582
|
],
|
|
1580
1583
|
};
|
|
1581
|
-
const data$
|
|
1584
|
+
const data$D = {
|
|
1582
1585
|
comments: [
|
|
1583
1586
|
{
|
|
1584
1587
|
date: new Date(2001, 8, 11).toISOString().substr(0, 10),
|
|
@@ -1605,7 +1608,7 @@ const actions$3 = [
|
|
|
1605
1608
|
apply: (props) => {
|
|
1606
1609
|
return {
|
|
1607
1610
|
...props,
|
|
1608
|
-
uischema: uischema$
|
|
1611
|
+
uischema: uischema$B,
|
|
1609
1612
|
};
|
|
1610
1613
|
},
|
|
1611
1614
|
},
|
|
@@ -1614,9 +1617,9 @@ registerExamples([
|
|
|
1614
1617
|
{
|
|
1615
1618
|
name: 'array-with-sorting',
|
|
1616
1619
|
label: 'Array with sorting',
|
|
1617
|
-
data: data$
|
|
1618
|
-
schema: schema$
|
|
1619
|
-
uischema: uischema$
|
|
1620
|
+
data: data$D,
|
|
1621
|
+
schema: schema$B,
|
|
1622
|
+
uischema: uischema$B,
|
|
1620
1623
|
config: {
|
|
1621
1624
|
withSort: uischemaWithSorting,
|
|
1622
1625
|
},
|
|
@@ -1626,13 +1629,13 @@ registerExamples([
|
|
|
1626
1629
|
|
|
1627
1630
|
var arraysWithSorting = /*#__PURE__*/Object.freeze({
|
|
1628
1631
|
__proto__: null,
|
|
1629
|
-
schema: schema$
|
|
1630
|
-
uischema: uischema$
|
|
1632
|
+
schema: schema$B,
|
|
1633
|
+
uischema: uischema$B,
|
|
1631
1634
|
uischemaWithSorting: uischemaWithSorting,
|
|
1632
|
-
data: data$
|
|
1635
|
+
data: data$D
|
|
1633
1636
|
});
|
|
1634
1637
|
|
|
1635
|
-
const data$
|
|
1638
|
+
const data$C = {
|
|
1636
1639
|
article: {
|
|
1637
1640
|
title: 'title',
|
|
1638
1641
|
comments: [
|
|
@@ -1657,7 +1660,7 @@ const data$z = {
|
|
|
1657
1660
|
],
|
|
1658
1661
|
},
|
|
1659
1662
|
};
|
|
1660
|
-
const schema$
|
|
1663
|
+
const schema$A = {
|
|
1661
1664
|
type: 'object',
|
|
1662
1665
|
properties: {
|
|
1663
1666
|
article: {
|
|
@@ -1743,7 +1746,7 @@ const detail = {
|
|
|
1743
1746
|
},
|
|
1744
1747
|
],
|
|
1745
1748
|
};
|
|
1746
|
-
const uischema$
|
|
1749
|
+
const uischema$A = {
|
|
1747
1750
|
type: 'VerticalLayout',
|
|
1748
1751
|
elements: [
|
|
1749
1752
|
{
|
|
@@ -1867,9 +1870,9 @@ registerExamples([
|
|
|
1867
1870
|
{
|
|
1868
1871
|
name: 'array-with-translated-custom-element-label',
|
|
1869
1872
|
label: 'Array with translated custom element label',
|
|
1870
|
-
data: data$
|
|
1871
|
-
schema: schema$
|
|
1872
|
-
uischema: uischema$
|
|
1873
|
+
data: data$C,
|
|
1874
|
+
schema: schema$A,
|
|
1875
|
+
uischema: uischema$A,
|
|
1873
1876
|
i18n: {
|
|
1874
1877
|
translate: translate$2,
|
|
1875
1878
|
locale: 'en',
|
|
@@ -1879,12 +1882,12 @@ registerExamples([
|
|
|
1879
1882
|
|
|
1880
1883
|
var arraysWithTranslatedCustomElementLabel = /*#__PURE__*/Object.freeze({
|
|
1881
1884
|
__proto__: null,
|
|
1882
|
-
data: data$
|
|
1883
|
-
uischema: uischema$
|
|
1885
|
+
data: data$C,
|
|
1886
|
+
uischema: uischema$A,
|
|
1884
1887
|
translate: translate$2
|
|
1885
1888
|
});
|
|
1886
1889
|
|
|
1887
|
-
const schema$
|
|
1890
|
+
const schema$z = {
|
|
1888
1891
|
definitions: {
|
|
1889
1892
|
itemsType: {
|
|
1890
1893
|
type: 'object',
|
|
@@ -1956,7 +1959,7 @@ const schema$w = {
|
|
|
1956
1959
|
},
|
|
1957
1960
|
},
|
|
1958
1961
|
};
|
|
1959
|
-
const uischema$
|
|
1962
|
+
const uischema$z = {
|
|
1960
1963
|
type: 'VerticalLayout',
|
|
1961
1964
|
elements: [
|
|
1962
1965
|
{
|
|
@@ -1973,25 +1976,25 @@ const uischema$w = {
|
|
|
1973
1976
|
},
|
|
1974
1977
|
],
|
|
1975
1978
|
};
|
|
1976
|
-
const data$
|
|
1979
|
+
const data$B = {};
|
|
1977
1980
|
registerExamples([
|
|
1978
1981
|
{
|
|
1979
1982
|
name: 'array-with-defaults',
|
|
1980
1983
|
label: 'Array with defaults',
|
|
1981
|
-
data: data$
|
|
1982
|
-
schema: schema$
|
|
1983
|
-
uischema: uischema$
|
|
1984
|
+
data: data$B,
|
|
1985
|
+
schema: schema$z,
|
|
1986
|
+
uischema: uischema$z,
|
|
1984
1987
|
},
|
|
1985
1988
|
]);
|
|
1986
1989
|
|
|
1987
1990
|
var arraysWithDefaults = /*#__PURE__*/Object.freeze({
|
|
1988
1991
|
__proto__: null,
|
|
1989
|
-
schema: schema$
|
|
1990
|
-
uischema: uischema$
|
|
1991
|
-
data: data$
|
|
1992
|
+
schema: schema$z,
|
|
1993
|
+
uischema: uischema$z,
|
|
1994
|
+
data: data$B
|
|
1992
1995
|
});
|
|
1993
1996
|
|
|
1994
|
-
const schema$
|
|
1997
|
+
const schema$y = {
|
|
1995
1998
|
type: 'object',
|
|
1996
1999
|
properties: {
|
|
1997
2000
|
comments: {
|
|
@@ -2004,7 +2007,7 @@ const schema$v = {
|
|
|
2004
2007
|
},
|
|
2005
2008
|
},
|
|
2006
2009
|
};
|
|
2007
|
-
const uischema$
|
|
2010
|
+
const uischema$y = {
|
|
2008
2011
|
type: 'VerticalLayout',
|
|
2009
2012
|
elements: [
|
|
2010
2013
|
{
|
|
@@ -2013,27 +2016,27 @@ const uischema$v = {
|
|
|
2013
2016
|
},
|
|
2014
2017
|
],
|
|
2015
2018
|
};
|
|
2016
|
-
const data$
|
|
2019
|
+
const data$A = {
|
|
2017
2020
|
comments: ['one string', 'two strings'],
|
|
2018
2021
|
};
|
|
2019
2022
|
registerExamples([
|
|
2020
2023
|
{
|
|
2021
2024
|
name: 'stringArray',
|
|
2022
2025
|
label: 'Array of Strings',
|
|
2023
|
-
data: data$
|
|
2024
|
-
schema: schema$
|
|
2025
|
-
uischema: uischema$
|
|
2026
|
+
data: data$A,
|
|
2027
|
+
schema: schema$y,
|
|
2028
|
+
uischema: uischema$y,
|
|
2026
2029
|
},
|
|
2027
2030
|
]);
|
|
2028
2031
|
|
|
2029
2032
|
var stringArray = /*#__PURE__*/Object.freeze({
|
|
2030
2033
|
__proto__: null,
|
|
2031
|
-
schema: schema$
|
|
2032
|
-
uischema: uischema$
|
|
2033
|
-
data: data$
|
|
2034
|
+
schema: schema$y,
|
|
2035
|
+
uischema: uischema$y,
|
|
2036
|
+
data: data$A
|
|
2034
2037
|
});
|
|
2035
2038
|
|
|
2036
|
-
const schema$
|
|
2039
|
+
const schema$x = {
|
|
2037
2040
|
type: 'object',
|
|
2038
2041
|
properties: {
|
|
2039
2042
|
firstName: {
|
|
@@ -2096,7 +2099,7 @@ const schema$u = {
|
|
|
2096
2099
|
},
|
|
2097
2100
|
},
|
|
2098
2101
|
};
|
|
2099
|
-
const uischema$
|
|
2102
|
+
const uischema$x = {
|
|
2100
2103
|
type: 'Categorization',
|
|
2101
2104
|
elements: [
|
|
2102
2105
|
{
|
|
@@ -2212,7 +2215,7 @@ const uischema$u = {
|
|
|
2212
2215
|
},
|
|
2213
2216
|
],
|
|
2214
2217
|
};
|
|
2215
|
-
const data$
|
|
2218
|
+
const data$z = {
|
|
2216
2219
|
provideAddress: true,
|
|
2217
2220
|
vegetarian: false,
|
|
2218
2221
|
};
|
|
@@ -2300,15 +2303,15 @@ registerExamples([
|
|
|
2300
2303
|
{
|
|
2301
2304
|
name: 'categorization',
|
|
2302
2305
|
label: 'Categorization',
|
|
2303
|
-
data: data$
|
|
2304
|
-
schema: schema$
|
|
2305
|
-
uischema: uischema$
|
|
2306
|
+
data: data$z,
|
|
2307
|
+
schema: schema$x,
|
|
2308
|
+
uischema: uischema$x,
|
|
2306
2309
|
i18n: { locale: 'en', translate: translate$1 },
|
|
2307
2310
|
},
|
|
2308
2311
|
{
|
|
2309
2312
|
name: 'categorization_1713',
|
|
2310
2313
|
label: 'Categorization - Issue 1713',
|
|
2311
|
-
data: data$
|
|
2314
|
+
data: data$z,
|
|
2312
2315
|
schema: schema_1713,
|
|
2313
2316
|
uischema: uischema_1713,
|
|
2314
2317
|
},
|
|
@@ -2316,65 +2319,65 @@ registerExamples([
|
|
|
2316
2319
|
|
|
2317
2320
|
var categorization = /*#__PURE__*/Object.freeze({
|
|
2318
2321
|
__proto__: null,
|
|
2319
|
-
schema: schema$
|
|
2320
|
-
uischema: uischema$
|
|
2321
|
-
data: data$
|
|
2322
|
+
schema: schema$x,
|
|
2323
|
+
uischema: uischema$x,
|
|
2324
|
+
data: data$z,
|
|
2322
2325
|
translations: translations$1,
|
|
2323
2326
|
translate: translate$1
|
|
2324
2327
|
});
|
|
2325
2328
|
|
|
2326
|
-
const schema$
|
|
2327
|
-
const uischema$
|
|
2328
|
-
...uischema$
|
|
2329
|
+
const schema$w = schema$x;
|
|
2330
|
+
const uischema$w = {
|
|
2331
|
+
...uischema$x,
|
|
2329
2332
|
options: {
|
|
2330
2333
|
variant: 'stepper',
|
|
2331
2334
|
},
|
|
2332
2335
|
};
|
|
2333
|
-
const data$
|
|
2336
|
+
const data$y = data$z;
|
|
2334
2337
|
registerExamples([
|
|
2335
2338
|
{
|
|
2336
2339
|
name: 'categorizationstepper',
|
|
2337
2340
|
label: 'Categorization (Stepper)',
|
|
2338
|
-
data: data$
|
|
2339
|
-
schema: schema$
|
|
2340
|
-
uischema: uischema$
|
|
2341
|
+
data: data$y,
|
|
2342
|
+
schema: schema$w,
|
|
2343
|
+
uischema: uischema$w,
|
|
2341
2344
|
},
|
|
2342
2345
|
]);
|
|
2343
2346
|
|
|
2344
2347
|
var categorizationStepper = /*#__PURE__*/Object.freeze({
|
|
2345
2348
|
__proto__: null,
|
|
2346
|
-
schema: schema$
|
|
2347
|
-
uischema: uischema$
|
|
2348
|
-
data: data$
|
|
2349
|
+
schema: schema$w,
|
|
2350
|
+
uischema: uischema$w,
|
|
2351
|
+
data: data$y
|
|
2349
2352
|
});
|
|
2350
2353
|
|
|
2351
|
-
const schema$
|
|
2352
|
-
const uischema$
|
|
2353
|
-
...uischema$
|
|
2354
|
+
const schema$v = schema$x;
|
|
2355
|
+
const uischema$v = {
|
|
2356
|
+
...uischema$x,
|
|
2354
2357
|
options: {
|
|
2355
2358
|
variant: 'stepper',
|
|
2356
2359
|
showNavButtons: true,
|
|
2357
2360
|
},
|
|
2358
2361
|
};
|
|
2359
|
-
const data$
|
|
2362
|
+
const data$x = data$z;
|
|
2360
2363
|
registerExamples([
|
|
2361
2364
|
{
|
|
2362
2365
|
name: 'categorization-stepper-nav-buttons',
|
|
2363
2366
|
label: 'Categorization (Stepper - Nav Buttons)',
|
|
2364
|
-
data: data$
|
|
2365
|
-
schema: schema$
|
|
2366
|
-
uischema: uischema$
|
|
2367
|
+
data: data$x,
|
|
2368
|
+
schema: schema$v,
|
|
2369
|
+
uischema: uischema$v,
|
|
2367
2370
|
},
|
|
2368
2371
|
]);
|
|
2369
2372
|
|
|
2370
2373
|
var categorizationStepperNavButtons = /*#__PURE__*/Object.freeze({
|
|
2371
2374
|
__proto__: null,
|
|
2372
|
-
schema: schema$
|
|
2373
|
-
uischema: uischema$
|
|
2374
|
-
data: data$
|
|
2375
|
+
schema: schema$v,
|
|
2376
|
+
uischema: uischema$v,
|
|
2377
|
+
data: data$x
|
|
2375
2378
|
});
|
|
2376
2379
|
|
|
2377
|
-
const schema$
|
|
2380
|
+
const schema$u = {
|
|
2378
2381
|
type: 'object',
|
|
2379
2382
|
properties: {
|
|
2380
2383
|
string: {
|
|
@@ -2408,7 +2411,7 @@ const schema$r = {
|
|
|
2408
2411
|
},
|
|
2409
2412
|
},
|
|
2410
2413
|
};
|
|
2411
|
-
const uischema$
|
|
2414
|
+
const uischema$u = {
|
|
2412
2415
|
type: 'VerticalLayout',
|
|
2413
2416
|
elements: [
|
|
2414
2417
|
{
|
|
@@ -2445,7 +2448,7 @@ const uischema$r = {
|
|
|
2445
2448
|
},
|
|
2446
2449
|
],
|
|
2447
2450
|
};
|
|
2448
|
-
const data$
|
|
2451
|
+
const data$w = {
|
|
2449
2452
|
string: 'This is a string',
|
|
2450
2453
|
boolean: true,
|
|
2451
2454
|
number: 50.5,
|
|
@@ -2558,7 +2561,7 @@ const extendedData = {
|
|
|
2558
2561
|
const combinedSchema = {
|
|
2559
2562
|
...extendedSchema,
|
|
2560
2563
|
properties: {
|
|
2561
|
-
...schema$
|
|
2564
|
+
...schema$u.properties,
|
|
2562
2565
|
...extendedSchema.properties,
|
|
2563
2566
|
},
|
|
2564
2567
|
};
|
|
@@ -2568,7 +2571,7 @@ const combinedUiSchema = {
|
|
|
2568
2571
|
{
|
|
2569
2572
|
type: 'Category',
|
|
2570
2573
|
label: 'Normal controls',
|
|
2571
|
-
elements: [uischema$
|
|
2574
|
+
elements: [uischema$u],
|
|
2572
2575
|
},
|
|
2573
2576
|
{
|
|
2574
2577
|
type: 'Category',
|
|
@@ -2578,7 +2581,7 @@ const combinedUiSchema = {
|
|
|
2578
2581
|
],
|
|
2579
2582
|
};
|
|
2580
2583
|
const combinedData = {
|
|
2581
|
-
...data$
|
|
2584
|
+
...data$w,
|
|
2582
2585
|
...extendedData,
|
|
2583
2586
|
};
|
|
2584
2587
|
registerExamples([
|
|
@@ -2593,15 +2596,15 @@ registerExamples([
|
|
|
2593
2596
|
|
|
2594
2597
|
var controlOptions = /*#__PURE__*/Object.freeze({
|
|
2595
2598
|
__proto__: null,
|
|
2596
|
-
schema: schema$
|
|
2597
|
-
uischema: uischema$
|
|
2598
|
-
data: data$
|
|
2599
|
+
schema: schema$u,
|
|
2600
|
+
uischema: uischema$u,
|
|
2601
|
+
data: data$w,
|
|
2599
2602
|
extendedSchema: extendedSchema,
|
|
2600
2603
|
extendedUischema: extendedUischema,
|
|
2601
2604
|
extendedData: extendedData
|
|
2602
2605
|
});
|
|
2603
2606
|
|
|
2604
|
-
const schema$
|
|
2607
|
+
const schema$t = {
|
|
2605
2608
|
type: 'object',
|
|
2606
2609
|
properties: {
|
|
2607
2610
|
schemaBased: {
|
|
@@ -2643,7 +2646,7 @@ const schema$q = {
|
|
|
2643
2646
|
},
|
|
2644
2647
|
},
|
|
2645
2648
|
};
|
|
2646
|
-
const uischema$
|
|
2649
|
+
const uischema$t = {
|
|
2647
2650
|
type: 'VerticalLayout',
|
|
2648
2651
|
elements: [
|
|
2649
2652
|
{
|
|
@@ -2702,7 +2705,7 @@ const uischema$q = {
|
|
|
2702
2705
|
},
|
|
2703
2706
|
],
|
|
2704
2707
|
};
|
|
2705
|
-
const data$
|
|
2708
|
+
const data$v = {
|
|
2706
2709
|
schemaBased: {
|
|
2707
2710
|
date: new Date().toISOString().substr(0, 10),
|
|
2708
2711
|
time: '13:37:00',
|
|
@@ -2718,17 +2721,17 @@ registerExamples([
|
|
|
2718
2721
|
{
|
|
2719
2722
|
name: 'dates',
|
|
2720
2723
|
label: 'Dates',
|
|
2721
|
-
data: data$
|
|
2722
|
-
schema: schema$
|
|
2723
|
-
uischema: uischema$
|
|
2724
|
+
data: data$v,
|
|
2725
|
+
schema: schema$t,
|
|
2726
|
+
uischema: uischema$t,
|
|
2724
2727
|
},
|
|
2725
2728
|
]);
|
|
2726
2729
|
|
|
2727
2730
|
var dates = /*#__PURE__*/Object.freeze({
|
|
2728
2731
|
__proto__: null,
|
|
2729
|
-
schema: schema$
|
|
2730
|
-
uischema: uischema$
|
|
2731
|
-
data: data$
|
|
2732
|
+
schema: schema$t,
|
|
2733
|
+
uischema: uischema$t,
|
|
2734
|
+
data: data$v
|
|
2732
2735
|
});
|
|
2733
2736
|
|
|
2734
2737
|
const actions$2 = [
|
|
@@ -2758,47 +2761,47 @@ var generateDynamic = /*#__PURE__*/Object.freeze({
|
|
|
2758
2761
|
actions: actions$2
|
|
2759
2762
|
});
|
|
2760
2763
|
|
|
2761
|
-
const schema$
|
|
2762
|
-
const uischema$
|
|
2763
|
-
const data$
|
|
2764
|
+
const schema$s = undefined;
|
|
2765
|
+
const uischema$s = undefined;
|
|
2766
|
+
const data$u = data$H;
|
|
2764
2767
|
registerExamples([
|
|
2765
2768
|
{
|
|
2766
2769
|
name: 'generate',
|
|
2767
2770
|
label: 'Generate both Schemas',
|
|
2768
|
-
data: data$
|
|
2769
|
-
schema: schema$
|
|
2770
|
-
uischema: uischema$
|
|
2771
|
+
data: data$u,
|
|
2772
|
+
schema: schema$s,
|
|
2773
|
+
uischema: uischema$s,
|
|
2771
2774
|
},
|
|
2772
2775
|
]);
|
|
2773
2776
|
|
|
2774
2777
|
var generate = /*#__PURE__*/Object.freeze({
|
|
2775
2778
|
__proto__: null,
|
|
2776
|
-
schema: schema$
|
|
2777
|
-
uischema: uischema$
|
|
2778
|
-
data: data$
|
|
2779
|
+
schema: schema$s,
|
|
2780
|
+
uischema: uischema$s,
|
|
2781
|
+
data: data$u
|
|
2779
2782
|
});
|
|
2780
2783
|
|
|
2781
|
-
const schema$
|
|
2782
|
-
const uischema$
|
|
2783
|
-
const data$
|
|
2784
|
+
const schema$r = personCoreSchema;
|
|
2785
|
+
const uischema$r = undefined;
|
|
2786
|
+
const data$t = data$H;
|
|
2784
2787
|
registerExamples([
|
|
2785
2788
|
{
|
|
2786
2789
|
name: 'generate-ui',
|
|
2787
2790
|
label: 'Generate UI Schema',
|
|
2788
|
-
data: data$
|
|
2789
|
-
schema: schema$
|
|
2790
|
-
uischema: uischema$
|
|
2791
|
+
data: data$t,
|
|
2792
|
+
schema: schema$r,
|
|
2793
|
+
uischema: uischema$r,
|
|
2791
2794
|
},
|
|
2792
2795
|
]);
|
|
2793
2796
|
|
|
2794
2797
|
var generateUI = /*#__PURE__*/Object.freeze({
|
|
2795
2798
|
__proto__: null,
|
|
2796
|
-
schema: schema$
|
|
2797
|
-
uischema: uischema$
|
|
2798
|
-
data: data$
|
|
2799
|
+
schema: schema$r,
|
|
2800
|
+
uischema: uischema$r,
|
|
2801
|
+
data: data$t
|
|
2799
2802
|
});
|
|
2800
2803
|
|
|
2801
|
-
const schema$
|
|
2804
|
+
const schema$q = schema$F;
|
|
2802
2805
|
const uischemaVertical = {
|
|
2803
2806
|
type: 'VerticalLayout',
|
|
2804
2807
|
elements: [
|
|
@@ -2886,49 +2889,49 @@ const uischemaComplex = {
|
|
|
2886
2889
|
},
|
|
2887
2890
|
],
|
|
2888
2891
|
};
|
|
2889
|
-
const data$
|
|
2892
|
+
const data$s = data$H;
|
|
2890
2893
|
registerExamples([
|
|
2891
2894
|
{
|
|
2892
2895
|
name: 'layout-vertical',
|
|
2893
2896
|
label: 'Layout Vertical',
|
|
2894
|
-
data: data$
|
|
2895
|
-
schema: schema$
|
|
2897
|
+
data: data$s,
|
|
2898
|
+
schema: schema$q,
|
|
2896
2899
|
uischema: uischemaVertical,
|
|
2897
2900
|
},
|
|
2898
2901
|
{
|
|
2899
2902
|
name: 'layout-horizontal',
|
|
2900
2903
|
label: 'Layout Horizontal',
|
|
2901
|
-
data: data$
|
|
2902
|
-
schema: schema$
|
|
2904
|
+
data: data$s,
|
|
2905
|
+
schema: schema$q,
|
|
2903
2906
|
uischema: uischemaHorizontal,
|
|
2904
2907
|
},
|
|
2905
2908
|
{
|
|
2906
2909
|
name: 'layout-group',
|
|
2907
2910
|
label: 'Layout Group',
|
|
2908
|
-
data: data$
|
|
2909
|
-
schema: schema$
|
|
2911
|
+
data: data$s,
|
|
2912
|
+
schema: schema$q,
|
|
2910
2913
|
uischema: uischemaGroup,
|
|
2911
2914
|
},
|
|
2912
2915
|
{
|
|
2913
2916
|
name: 'layout-complex',
|
|
2914
2917
|
label: 'Layout Complex',
|
|
2915
|
-
data: data$
|
|
2916
|
-
schema: schema$
|
|
2918
|
+
data: data$s,
|
|
2919
|
+
schema: schema$q,
|
|
2917
2920
|
uischema: uischemaComplex,
|
|
2918
2921
|
},
|
|
2919
2922
|
]);
|
|
2920
2923
|
|
|
2921
2924
|
var layout = /*#__PURE__*/Object.freeze({
|
|
2922
2925
|
__proto__: null,
|
|
2923
|
-
schema: schema$
|
|
2926
|
+
schema: schema$q,
|
|
2924
2927
|
uischemaVertical: uischemaVertical,
|
|
2925
2928
|
uischemaHorizontal: uischemaHorizontal,
|
|
2926
2929
|
uischemaGroup: uischemaGroup,
|
|
2927
2930
|
uischemaComplex: uischemaComplex,
|
|
2928
|
-
data: data$
|
|
2931
|
+
data: data$s
|
|
2929
2932
|
});
|
|
2930
2933
|
|
|
2931
|
-
const schema$
|
|
2934
|
+
const schema$p = {
|
|
2932
2935
|
type: 'object',
|
|
2933
2936
|
required: ['age'],
|
|
2934
2937
|
properties: {
|
|
@@ -2983,7 +2986,7 @@ const schema$m = {
|
|
|
2983
2986
|
},
|
|
2984
2987
|
},
|
|
2985
2988
|
};
|
|
2986
|
-
const uischema$
|
|
2989
|
+
const uischema$q = {
|
|
2987
2990
|
type: 'VerticalLayout',
|
|
2988
2991
|
elements: [
|
|
2989
2992
|
{
|
|
@@ -3076,7 +3079,7 @@ const uischema$n = {
|
|
|
3076
3079
|
},
|
|
3077
3080
|
],
|
|
3078
3081
|
};
|
|
3079
|
-
const data$
|
|
3082
|
+
const data$r = {
|
|
3080
3083
|
firstName: 'Max',
|
|
3081
3084
|
lastName: 'Power',
|
|
3082
3085
|
committer: false,
|
|
@@ -3085,20 +3088,20 @@ registerExamples([
|
|
|
3085
3088
|
{
|
|
3086
3089
|
name: '1884',
|
|
3087
3090
|
label: 'Issue 1884 - Nested enable/disable',
|
|
3088
|
-
data: data$
|
|
3089
|
-
schema: schema$
|
|
3090
|
-
uischema: uischema$
|
|
3091
|
+
data: data$r,
|
|
3092
|
+
schema: schema$p,
|
|
3093
|
+
uischema: uischema$q,
|
|
3091
3094
|
},
|
|
3092
3095
|
]);
|
|
3093
3096
|
|
|
3094
3097
|
var _1884 = /*#__PURE__*/Object.freeze({
|
|
3095
3098
|
__proto__: null,
|
|
3096
|
-
schema: schema$
|
|
3097
|
-
uischema: uischema$
|
|
3098
|
-
data: data$
|
|
3099
|
+
schema: schema$p,
|
|
3100
|
+
uischema: uischema$q,
|
|
3101
|
+
data: data$r
|
|
3099
3102
|
});
|
|
3100
3103
|
|
|
3101
|
-
const schema$
|
|
3104
|
+
const schema$o = {
|
|
3102
3105
|
type: 'object',
|
|
3103
3106
|
properties: {
|
|
3104
3107
|
name: {
|
|
@@ -3120,7 +3123,7 @@ const schema$l = {
|
|
|
3120
3123
|
},
|
|
3121
3124
|
},
|
|
3122
3125
|
};
|
|
3123
|
-
const uischema$
|
|
3126
|
+
const uischema$p = {
|
|
3124
3127
|
type: 'VerticalLayout',
|
|
3125
3128
|
elements: [
|
|
3126
3129
|
{
|
|
@@ -3178,7 +3181,7 @@ const uischema$m = {
|
|
|
3178
3181
|
},
|
|
3179
3182
|
],
|
|
3180
3183
|
};
|
|
3181
|
-
const data$
|
|
3184
|
+
const data$q = {
|
|
3182
3185
|
name: 'John Doe',
|
|
3183
3186
|
dead: false,
|
|
3184
3187
|
vegetables: false,
|
|
@@ -3187,20 +3190,20 @@ registerExamples([
|
|
|
3187
3190
|
{
|
|
3188
3191
|
name: 'rule',
|
|
3189
3192
|
label: 'Rule',
|
|
3190
|
-
data: data$
|
|
3191
|
-
schema: schema$
|
|
3192
|
-
uischema: uischema$
|
|
3193
|
+
data: data$q,
|
|
3194
|
+
schema: schema$o,
|
|
3195
|
+
uischema: uischema$p,
|
|
3193
3196
|
},
|
|
3194
3197
|
]);
|
|
3195
3198
|
|
|
3196
3199
|
var rule = /*#__PURE__*/Object.freeze({
|
|
3197
3200
|
__proto__: null,
|
|
3198
|
-
schema: schema$
|
|
3199
|
-
uischema: uischema$
|
|
3200
|
-
data: data$
|
|
3201
|
+
schema: schema$o,
|
|
3202
|
+
uischema: uischema$p,
|
|
3203
|
+
data: data$q
|
|
3201
3204
|
});
|
|
3202
3205
|
|
|
3203
|
-
const schema$
|
|
3206
|
+
const schema$n = {
|
|
3204
3207
|
type: 'object',
|
|
3205
3208
|
properties: {
|
|
3206
3209
|
toggleTopLayout: {
|
|
@@ -3220,7 +3223,7 @@ const schema$k = {
|
|
|
3220
3223
|
},
|
|
3221
3224
|
},
|
|
3222
3225
|
};
|
|
3223
|
-
const uischema$
|
|
3226
|
+
const uischema$o = {
|
|
3224
3227
|
type: 'VerticalLayout',
|
|
3225
3228
|
rule: {
|
|
3226
3229
|
effect: 'ENABLE',
|
|
@@ -3262,7 +3265,7 @@ const uischema$l = {
|
|
|
3262
3265
|
},
|
|
3263
3266
|
],
|
|
3264
3267
|
};
|
|
3265
|
-
const data$
|
|
3268
|
+
const data$p = {
|
|
3266
3269
|
toggleTopLayout: true,
|
|
3267
3270
|
toggleBottomLayout: true,
|
|
3268
3271
|
toggleControl: true,
|
|
@@ -3294,21 +3297,21 @@ registerExamples([
|
|
|
3294
3297
|
{
|
|
3295
3298
|
name: 'rule-enable',
|
|
3296
3299
|
label: 'Rule Inheritance',
|
|
3297
|
-
data: data$
|
|
3298
|
-
schema: schema$
|
|
3299
|
-
uischema: uischema$
|
|
3300
|
+
data: data$p,
|
|
3301
|
+
schema: schema$n,
|
|
3302
|
+
uischema: uischema$o,
|
|
3300
3303
|
actions: actions$1,
|
|
3301
3304
|
},
|
|
3302
3305
|
]);
|
|
3303
3306
|
|
|
3304
3307
|
var ruleInheritance = /*#__PURE__*/Object.freeze({
|
|
3305
3308
|
__proto__: null,
|
|
3306
|
-
schema: schema$
|
|
3307
|
-
uischema: uischema$
|
|
3308
|
-
data: data$
|
|
3309
|
+
schema: schema$n,
|
|
3310
|
+
uischema: uischema$o,
|
|
3311
|
+
data: data$p
|
|
3309
3312
|
});
|
|
3310
3313
|
|
|
3311
|
-
const schema$
|
|
3314
|
+
const schema$m = {
|
|
3312
3315
|
type: 'object',
|
|
3313
3316
|
properties: {
|
|
3314
3317
|
postalCode: {
|
|
@@ -3323,7 +3326,7 @@ const schema$j = {
|
|
|
3323
3326
|
},
|
|
3324
3327
|
required: ['postalCode'],
|
|
3325
3328
|
};
|
|
3326
|
-
const uischema$
|
|
3329
|
+
const uischema$n = {
|
|
3327
3330
|
type: 'VerticalLayout',
|
|
3328
3331
|
elements: [
|
|
3329
3332
|
{
|
|
@@ -3343,7 +3346,7 @@ const uischema$k = {
|
|
|
3343
3346
|
},
|
|
3344
3347
|
],
|
|
3345
3348
|
};
|
|
3346
|
-
const data$
|
|
3349
|
+
const data$o = {
|
|
3347
3350
|
postalCode: '12345',
|
|
3348
3351
|
};
|
|
3349
3352
|
const config = {
|
|
@@ -3356,28 +3359,28 @@ registerExamples([
|
|
|
3356
3359
|
{
|
|
3357
3360
|
name: 'configDefault',
|
|
3358
3361
|
label: 'Configuration (Default)',
|
|
3359
|
-
data: data$
|
|
3360
|
-
schema: schema$
|
|
3361
|
-
uischema: uischema$
|
|
3362
|
+
data: data$o,
|
|
3363
|
+
schema: schema$m,
|
|
3364
|
+
uischema: uischema$n,
|
|
3362
3365
|
},
|
|
3363
3366
|
{
|
|
3364
3367
|
name: 'configCustom',
|
|
3365
3368
|
label: 'Configuration (Custom)',
|
|
3366
|
-
data: data$
|
|
3367
|
-
schema: schema$
|
|
3368
|
-
uischema: uischema$
|
|
3369
|
+
data: data$o,
|
|
3370
|
+
schema: schema$m,
|
|
3371
|
+
uischema: uischema$n,
|
|
3369
3372
|
config,
|
|
3370
3373
|
},
|
|
3371
3374
|
]);
|
|
3372
3375
|
|
|
3373
3376
|
var config$1 = /*#__PURE__*/Object.freeze({
|
|
3374
3377
|
__proto__: null,
|
|
3375
|
-
schema: schema$
|
|
3376
|
-
uischema: uischema$
|
|
3377
|
-
data: data$
|
|
3378
|
+
schema: schema$m,
|
|
3379
|
+
uischema: uischema$n,
|
|
3380
|
+
data: data$o
|
|
3378
3381
|
});
|
|
3379
3382
|
|
|
3380
|
-
const schema$
|
|
3383
|
+
const schema$l = {
|
|
3381
3384
|
type: 'object',
|
|
3382
3385
|
properties: {
|
|
3383
3386
|
zipCode: {
|
|
@@ -3394,7 +3397,7 @@ const schema$i = {
|
|
|
3394
3397
|
},
|
|
3395
3398
|
},
|
|
3396
3399
|
};
|
|
3397
|
-
const uischema$
|
|
3400
|
+
const uischema$m = {
|
|
3398
3401
|
type: 'VerticalLayout',
|
|
3399
3402
|
elements: [
|
|
3400
3403
|
{
|
|
@@ -3431,7 +3434,7 @@ const uischema$j = {
|
|
|
3431
3434
|
},
|
|
3432
3435
|
],
|
|
3433
3436
|
};
|
|
3434
|
-
const data$
|
|
3437
|
+
const data$n = {
|
|
3435
3438
|
zipCode: '12345',
|
|
3436
3439
|
zipCodeWithoutTrim: '12345678',
|
|
3437
3440
|
zipCodeWithoutRestrict: '12345678',
|
|
@@ -3440,20 +3443,20 @@ registerExamples([
|
|
|
3440
3443
|
{
|
|
3441
3444
|
name: 'text',
|
|
3442
3445
|
label: 'Text Control Options',
|
|
3443
|
-
data: data$
|
|
3444
|
-
schema: schema$
|
|
3445
|
-
uischema: uischema$
|
|
3446
|
+
data: data$n,
|
|
3447
|
+
schema: schema$l,
|
|
3448
|
+
uischema: uischema$m,
|
|
3446
3449
|
},
|
|
3447
3450
|
]);
|
|
3448
3451
|
|
|
3449
3452
|
var text = /*#__PURE__*/Object.freeze({
|
|
3450
3453
|
__proto__: null,
|
|
3451
|
-
schema: schema$
|
|
3452
|
-
uischema: uischema$
|
|
3453
|
-
data: data$
|
|
3454
|
+
schema: schema$l,
|
|
3455
|
+
uischema: uischema$m,
|
|
3456
|
+
data: data$n
|
|
3454
3457
|
});
|
|
3455
3458
|
|
|
3456
|
-
const schema$
|
|
3459
|
+
const schema$k = {
|
|
3457
3460
|
type: 'object',
|
|
3458
3461
|
properties: {
|
|
3459
3462
|
price: {
|
|
@@ -3470,7 +3473,7 @@ const schema$h = {
|
|
|
3470
3473
|
},
|
|
3471
3474
|
},
|
|
3472
3475
|
};
|
|
3473
|
-
const uischema$
|
|
3476
|
+
const uischema$l = {
|
|
3474
3477
|
type: 'VerticalLayout',
|
|
3475
3478
|
elements: [
|
|
3476
3479
|
{
|
|
@@ -3503,22 +3506,22 @@ const uischema$i = {
|
|
|
3503
3506
|
},
|
|
3504
3507
|
],
|
|
3505
3508
|
};
|
|
3506
|
-
const data$
|
|
3509
|
+
const data$m = {};
|
|
3507
3510
|
registerExamples([
|
|
3508
3511
|
{
|
|
3509
3512
|
name: 'numbers',
|
|
3510
3513
|
label: 'Numbers',
|
|
3511
|
-
data: data$
|
|
3512
|
-
schema: schema$
|
|
3513
|
-
uischema: uischema$
|
|
3514
|
+
data: data$m,
|
|
3515
|
+
schema: schema$k,
|
|
3516
|
+
uischema: uischema$l,
|
|
3514
3517
|
},
|
|
3515
3518
|
]);
|
|
3516
3519
|
|
|
3517
3520
|
var numbers = /*#__PURE__*/Object.freeze({
|
|
3518
3521
|
__proto__: null,
|
|
3519
|
-
schema: schema$
|
|
3520
|
-
uischema: uischema$
|
|
3521
|
-
data: data$
|
|
3522
|
+
schema: schema$k,
|
|
3523
|
+
uischema: uischema$l,
|
|
3524
|
+
data: data$m
|
|
3522
3525
|
});
|
|
3523
3526
|
|
|
3524
3527
|
const orderSchema = {
|
|
@@ -3552,7 +3555,7 @@ const orderSchema = {
|
|
|
3552
3555
|
},
|
|
3553
3556
|
},
|
|
3554
3557
|
};
|
|
3555
|
-
const uischema$
|
|
3558
|
+
const uischema$k = {
|
|
3556
3559
|
type: 'VerticalLayout',
|
|
3557
3560
|
elements: [
|
|
3558
3561
|
{
|
|
@@ -3587,7 +3590,7 @@ const uischema$h = {
|
|
|
3587
3590
|
},
|
|
3588
3591
|
],
|
|
3589
3592
|
};
|
|
3590
|
-
const data$
|
|
3593
|
+
const data$l = {
|
|
3591
3594
|
orderId: '123456',
|
|
3592
3595
|
purchaseDate: '1985-06-02',
|
|
3593
3596
|
price: 16,
|
|
@@ -3600,20 +3603,20 @@ registerExamples([
|
|
|
3600
3603
|
{
|
|
3601
3604
|
name: 'scope',
|
|
3602
3605
|
label: 'Scope',
|
|
3603
|
-
data: data$
|
|
3606
|
+
data: data$l,
|
|
3604
3607
|
schema: orderSchema,
|
|
3605
|
-
uischema: uischema$
|
|
3608
|
+
uischema: uischema$k,
|
|
3606
3609
|
},
|
|
3607
3610
|
]);
|
|
3608
3611
|
|
|
3609
3612
|
var scope = /*#__PURE__*/Object.freeze({
|
|
3610
3613
|
__proto__: null,
|
|
3611
3614
|
orderSchema: orderSchema,
|
|
3612
|
-
uischema: uischema$
|
|
3613
|
-
data: data$
|
|
3615
|
+
uischema: uischema$k,
|
|
3616
|
+
data: data$l
|
|
3614
3617
|
});
|
|
3615
3618
|
|
|
3616
|
-
const data$
|
|
3619
|
+
const data$k = {
|
|
3617
3620
|
orders: [
|
|
3618
3621
|
{
|
|
3619
3622
|
customer: {
|
|
@@ -3642,7 +3645,7 @@ const data$h = {
|
|
|
3642
3645
|
},
|
|
3643
3646
|
],
|
|
3644
3647
|
};
|
|
3645
|
-
const schema$
|
|
3648
|
+
const schema$j = {
|
|
3646
3649
|
definitions: {
|
|
3647
3650
|
order: {
|
|
3648
3651
|
type: 'object',
|
|
@@ -3692,7 +3695,7 @@ const schema$g = {
|
|
|
3692
3695
|
},
|
|
3693
3696
|
},
|
|
3694
3697
|
};
|
|
3695
|
-
const uischema$
|
|
3698
|
+
const uischema$j = {
|
|
3696
3699
|
type: 'ListWithDetail',
|
|
3697
3700
|
scope: '#/properties/orders',
|
|
3698
3701
|
options: {
|
|
@@ -3873,30 +3876,30 @@ registerExamples([
|
|
|
3873
3876
|
{
|
|
3874
3877
|
name: 'list-with-detail',
|
|
3875
3878
|
label: 'List With Detail',
|
|
3876
|
-
data: data$
|
|
3877
|
-
schema: schema$
|
|
3878
|
-
uischema: uischema$
|
|
3879
|
+
data: data$k,
|
|
3880
|
+
schema: schema$j,
|
|
3881
|
+
uischema: uischema$j,
|
|
3879
3882
|
},
|
|
3880
3883
|
]);
|
|
3881
3884
|
registerExamples([
|
|
3882
3885
|
{
|
|
3883
3886
|
name: 'list-with-detail-no-labelref',
|
|
3884
3887
|
label: 'List With Detail (No Label Ref)',
|
|
3885
|
-
data: data$
|
|
3886
|
-
schema: schema$
|
|
3888
|
+
data: data$k,
|
|
3889
|
+
schema: schema$j,
|
|
3887
3890
|
uischema: uischemaNoLabelRef,
|
|
3888
3891
|
},
|
|
3889
3892
|
]);
|
|
3890
3893
|
|
|
3891
3894
|
var listWithDetail = /*#__PURE__*/Object.freeze({
|
|
3892
3895
|
__proto__: null,
|
|
3893
|
-
data: data$
|
|
3894
|
-
schema: schema$
|
|
3895
|
-
uischema: uischema$
|
|
3896
|
+
data: data$k,
|
|
3897
|
+
schema: schema$j,
|
|
3898
|
+
uischema: uischema$j,
|
|
3896
3899
|
uischemaNoLabelRef: uischemaNoLabelRef
|
|
3897
3900
|
});
|
|
3898
3901
|
|
|
3899
|
-
const data$
|
|
3902
|
+
const data$j = {
|
|
3900
3903
|
warehouseitems: [
|
|
3901
3904
|
{
|
|
3902
3905
|
name: 'Fantasy Book',
|
|
@@ -3924,7 +3927,7 @@ const data$g = {
|
|
|
3924
3927
|
},
|
|
3925
3928
|
],
|
|
3926
3929
|
};
|
|
3927
|
-
const schema$
|
|
3930
|
+
const schema$i = {
|
|
3928
3931
|
definitions: {
|
|
3929
3932
|
warehouseitem: {
|
|
3930
3933
|
type: 'object',
|
|
@@ -3955,7 +3958,7 @@ const schema$f = {
|
|
|
3955
3958
|
},
|
|
3956
3959
|
},
|
|
3957
3960
|
};
|
|
3958
|
-
const uischema$
|
|
3961
|
+
const uischema$i = {
|
|
3959
3962
|
type: 'ListWithDetail',
|
|
3960
3963
|
scope: '#/properties/warehouseitems',
|
|
3961
3964
|
options: {
|
|
@@ -3966,20 +3969,20 @@ registerExamples([
|
|
|
3966
3969
|
{
|
|
3967
3970
|
name: 'list-with-detail-registered',
|
|
3968
3971
|
label: 'List With Detail (Registered Detail UISchema)',
|
|
3969
|
-
data: data$
|
|
3970
|
-
schema: schema$
|
|
3971
|
-
uischema: uischema$
|
|
3972
|
+
data: data$j,
|
|
3973
|
+
schema: schema$i,
|
|
3974
|
+
uischema: uischema$i,
|
|
3972
3975
|
},
|
|
3973
3976
|
]);
|
|
3974
3977
|
|
|
3975
3978
|
var listWithDetailRegistered = /*#__PURE__*/Object.freeze({
|
|
3976
3979
|
__proto__: null,
|
|
3977
|
-
data: data$
|
|
3978
|
-
schema: schema$
|
|
3979
|
-
uischema: uischema$
|
|
3980
|
+
data: data$j,
|
|
3981
|
+
schema: schema$i,
|
|
3982
|
+
uischema: uischema$i
|
|
3980
3983
|
});
|
|
3981
3984
|
|
|
3982
|
-
const schema$
|
|
3985
|
+
const schema$h = {
|
|
3983
3986
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
3984
3987
|
type: 'object',
|
|
3985
3988
|
properties: {
|
|
@@ -4040,7 +4043,7 @@ const uischemaNonRoot = {
|
|
|
4040
4043
|
},
|
|
4041
4044
|
],
|
|
4042
4045
|
};
|
|
4043
|
-
const data$
|
|
4046
|
+
const data$i = {
|
|
4044
4047
|
address: {
|
|
4045
4048
|
street_address: '1600 Pennsylvania Avenue NW',
|
|
4046
4049
|
city: 'Washington',
|
|
@@ -4051,27 +4054,26 @@ registerExamples([
|
|
|
4051
4054
|
{
|
|
4052
4055
|
name: 'rootObject',
|
|
4053
4056
|
label: 'Object - Root Scope',
|
|
4054
|
-
data: data$
|
|
4055
|
-
schema: schema$
|
|
4057
|
+
data: data$i,
|
|
4058
|
+
schema: schema$h,
|
|
4056
4059
|
uischema: uischemaRoot,
|
|
4057
4060
|
},
|
|
4058
4061
|
{
|
|
4059
4062
|
name: 'object',
|
|
4060
4063
|
label: 'Object',
|
|
4061
|
-
data: data$
|
|
4062
|
-
schema: schema$
|
|
4064
|
+
data: data$i,
|
|
4065
|
+
schema: schema$h,
|
|
4063
4066
|
uischema: uischemaNonRoot,
|
|
4064
4067
|
},
|
|
4065
4068
|
]);
|
|
4066
4069
|
|
|
4067
4070
|
var object = /*#__PURE__*/Object.freeze({
|
|
4068
4071
|
__proto__: null,
|
|
4069
|
-
schema: schema$
|
|
4072
|
+
schema: schema$h,
|
|
4070
4073
|
uischemaRoot: uischemaRoot,
|
|
4071
4074
|
uischemaNonRoot: uischemaNonRoot
|
|
4072
4075
|
});
|
|
4073
4076
|
|
|
4074
|
-
const localize = require('ajv-i18n');
|
|
4075
4077
|
const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
4076
4078
|
if (!extensionState) {
|
|
4077
4079
|
return;
|
|
@@ -4080,7 +4082,7 @@ const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
|
|
|
4080
4082
|
localiseFunc(errors);
|
|
4081
4083
|
dispatch(updateErrors(errors));
|
|
4082
4084
|
};
|
|
4083
|
-
const uischema$
|
|
4085
|
+
const uischema$h = {
|
|
4084
4086
|
type: 'VerticalLayout',
|
|
4085
4087
|
elements: [
|
|
4086
4088
|
{
|
|
@@ -4116,7 +4118,7 @@ const uischema$e = {
|
|
|
4116
4118
|
},
|
|
4117
4119
|
],
|
|
4118
4120
|
};
|
|
4119
|
-
const data$
|
|
4121
|
+
const data$h = {
|
|
4120
4122
|
vegetarian: false,
|
|
4121
4123
|
birthDate: '1985-06-02',
|
|
4122
4124
|
personalData: {
|
|
@@ -4137,9 +4139,9 @@ registerExamples([
|
|
|
4137
4139
|
{
|
|
4138
4140
|
name: 'i18n',
|
|
4139
4141
|
label: 'Person (i18n)',
|
|
4140
|
-
data: data$
|
|
4142
|
+
data: data$h,
|
|
4141
4143
|
schema: personCoreSchema,
|
|
4142
|
-
uischema: uischema$
|
|
4144
|
+
uischema: uischema$h,
|
|
4143
4145
|
i18n: {
|
|
4144
4146
|
translate: translate,
|
|
4145
4147
|
locale: 'en',
|
|
@@ -4150,13 +4152,13 @@ registerExamples([
|
|
|
4150
4152
|
var i18n = /*#__PURE__*/Object.freeze({
|
|
4151
4153
|
__proto__: null,
|
|
4152
4154
|
onChange: onChange$2,
|
|
4153
|
-
uischema: uischema$
|
|
4154
|
-
data: data$
|
|
4155
|
+
uischema: uischema$h,
|
|
4156
|
+
data: data$h,
|
|
4155
4157
|
translations: translations,
|
|
4156
4158
|
translate: translate
|
|
4157
4159
|
});
|
|
4158
4160
|
|
|
4159
|
-
const schema$
|
|
4161
|
+
const schema$g = {
|
|
4160
4162
|
type: 'object',
|
|
4161
4163
|
definitions: {
|
|
4162
4164
|
import: {
|
|
@@ -4187,8 +4189,8 @@ const schema$d = {
|
|
|
4187
4189
|
},
|
|
4188
4190
|
},
|
|
4189
4191
|
};
|
|
4190
|
-
const uischema$
|
|
4191
|
-
const data$
|
|
4192
|
+
const uischema$g = undefined;
|
|
4193
|
+
const data$g = {
|
|
4192
4194
|
import: [
|
|
4193
4195
|
{
|
|
4194
4196
|
document: 'Document1',
|
|
@@ -4201,27 +4203,27 @@ registerExamples([
|
|
|
4201
4203
|
{
|
|
4202
4204
|
name: '1948_with',
|
|
4203
4205
|
label: 'Issue 1948 - Array renderer selection (with schema)',
|
|
4204
|
-
data: data$
|
|
4205
|
-
schema: schema$
|
|
4206
|
-
uischema: uischema$
|
|
4206
|
+
data: data$g,
|
|
4207
|
+
schema: schema$g,
|
|
4208
|
+
uischema: uischema$g,
|
|
4207
4209
|
},
|
|
4208
4210
|
{
|
|
4209
4211
|
name: '1948_without',
|
|
4210
4212
|
label: 'Issue 1948 - Array renderer selection (w/o schema)',
|
|
4211
|
-
data: data$
|
|
4213
|
+
data: data$g,
|
|
4212
4214
|
schema: undefined,
|
|
4213
|
-
uischema: uischema$
|
|
4215
|
+
uischema: uischema$g,
|
|
4214
4216
|
},
|
|
4215
4217
|
]);
|
|
4216
4218
|
|
|
4217
4219
|
var _1948 = /*#__PURE__*/Object.freeze({
|
|
4218
4220
|
__proto__: null,
|
|
4219
|
-
schema: schema$
|
|
4220
|
-
uischema: uischema$
|
|
4221
|
-
data: data$
|
|
4221
|
+
schema: schema$g,
|
|
4222
|
+
uischema: uischema$g,
|
|
4223
|
+
data: data$g
|
|
4222
4224
|
});
|
|
4223
4225
|
|
|
4224
|
-
const schema$
|
|
4226
|
+
const schema$f = {
|
|
4225
4227
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4226
4228
|
definitions: {
|
|
4227
4229
|
fileOrFolder: {
|
|
@@ -4259,28 +4261,28 @@ const schema$c = {
|
|
|
4259
4261
|
},
|
|
4260
4262
|
},
|
|
4261
4263
|
};
|
|
4262
|
-
const uischema$
|
|
4264
|
+
const uischema$f = {
|
|
4263
4265
|
type: 'Control',
|
|
4264
4266
|
scope: '#',
|
|
4265
4267
|
};
|
|
4266
|
-
const data$
|
|
4268
|
+
const data$f = {};
|
|
4267
4269
|
registerExamples([
|
|
4268
4270
|
{
|
|
4269
4271
|
name: 'oneOf-recursive',
|
|
4270
4272
|
label: 'oneOf recursive',
|
|
4271
|
-
data: data$
|
|
4272
|
-
schema: schema$
|
|
4273
|
-
uischema: uischema$
|
|
4273
|
+
data: data$f,
|
|
4274
|
+
schema: schema$f,
|
|
4275
|
+
uischema: uischema$f,
|
|
4274
4276
|
},
|
|
4275
4277
|
]);
|
|
4276
4278
|
|
|
4277
4279
|
var oneOfRecursive = /*#__PURE__*/Object.freeze({
|
|
4278
4280
|
__proto__: null,
|
|
4279
|
-
schema: schema$
|
|
4280
|
-
uischema: uischema$
|
|
4281
|
+
schema: schema$f,
|
|
4282
|
+
uischema: uischema$f
|
|
4281
4283
|
});
|
|
4282
4284
|
|
|
4283
|
-
const schema$
|
|
4285
|
+
const schema$e = {
|
|
4284
4286
|
$schema: 'http://json-schema.org/schema#',
|
|
4285
4287
|
definitions: {
|
|
4286
4288
|
confidenceTypes: {
|
|
@@ -5245,7 +5247,7 @@ const schema$b = {
|
|
|
5245
5247
|
attribution: { $ref: '#/definitions/attribution' },
|
|
5246
5248
|
},
|
|
5247
5249
|
};
|
|
5248
|
-
const data$
|
|
5250
|
+
const data$e = {
|
|
5249
5251
|
attribution: {
|
|
5250
5252
|
contributor: {
|
|
5251
5253
|
resource: '#A-1',
|
|
@@ -5575,7 +5577,7 @@ const data$b = {
|
|
|
5575
5577
|
},
|
|
5576
5578
|
],
|
|
5577
5579
|
};
|
|
5578
|
-
const uischema$
|
|
5580
|
+
const uischema$e = {
|
|
5579
5581
|
type: 'Categorization',
|
|
5580
5582
|
elements: [
|
|
5581
5583
|
{
|
|
@@ -5633,18 +5635,18 @@ registerExamples([
|
|
|
5633
5635
|
{
|
|
5634
5636
|
name: 'huge',
|
|
5635
5637
|
label: 'Huge Test',
|
|
5636
|
-
data: data$
|
|
5637
|
-
schema: schema$
|
|
5638
|
-
uischema: uischema$
|
|
5638
|
+
data: data$e,
|
|
5639
|
+
schema: schema$e,
|
|
5640
|
+
uischema: uischema$e,
|
|
5639
5641
|
},
|
|
5640
5642
|
]);
|
|
5641
5643
|
|
|
5642
5644
|
var huge = /*#__PURE__*/Object.freeze({
|
|
5643
5645
|
__proto__: null,
|
|
5644
|
-
uischema: uischema$
|
|
5646
|
+
uischema: uischema$e
|
|
5645
5647
|
});
|
|
5646
5648
|
|
|
5647
|
-
const schema$
|
|
5649
|
+
const schema$d = {
|
|
5648
5650
|
type: 'object',
|
|
5649
5651
|
properties: {
|
|
5650
5652
|
name: {
|
|
@@ -5678,7 +5680,7 @@ const schema$a = {
|
|
|
5678
5680
|
},
|
|
5679
5681
|
required: ['name', 'name_noDefault'],
|
|
5680
5682
|
};
|
|
5681
|
-
const uischema$
|
|
5683
|
+
const uischema$d = {
|
|
5682
5684
|
type: 'VerticalLayout',
|
|
5683
5685
|
elements: [
|
|
5684
5686
|
{
|
|
@@ -5715,7 +5717,7 @@ const uischema$a = {
|
|
|
5715
5717
|
},
|
|
5716
5718
|
],
|
|
5717
5719
|
};
|
|
5718
|
-
const data$
|
|
5720
|
+
const data$d = {
|
|
5719
5721
|
name: 'Send email to Adrian',
|
|
5720
5722
|
name_noDefault: 'Send email to Adrian',
|
|
5721
5723
|
description: 'Confirm if you have passed the subject\nHereby ...',
|
|
@@ -5728,17 +5730,17 @@ registerExamples([
|
|
|
5728
5730
|
{
|
|
5729
5731
|
name: 'default',
|
|
5730
5732
|
label: 'Default',
|
|
5731
|
-
data: data$
|
|
5732
|
-
schema: schema$
|
|
5733
|
-
uischema: uischema$
|
|
5733
|
+
data: data$d,
|
|
5734
|
+
schema: schema$d,
|
|
5735
|
+
uischema: uischema$d,
|
|
5734
5736
|
},
|
|
5735
5737
|
]);
|
|
5736
5738
|
|
|
5737
5739
|
var _default = /*#__PURE__*/Object.freeze({
|
|
5738
5740
|
__proto__: null,
|
|
5739
|
-
schema: schema$
|
|
5740
|
-
uischema: uischema$
|
|
5741
|
-
data: data$
|
|
5741
|
+
schema: schema$d,
|
|
5742
|
+
uischema: uischema$d,
|
|
5743
|
+
data: data$d
|
|
5742
5744
|
});
|
|
5743
5745
|
|
|
5744
5746
|
const touchedProperties = {
|
|
@@ -5754,7 +5756,7 @@ const onChange = (dispatch) => (_) => ({ data, errors }) => {
|
|
|
5754
5756
|
return dispatch(updateErrors(newErrors));
|
|
5755
5757
|
}
|
|
5756
5758
|
};
|
|
5757
|
-
const schema$
|
|
5759
|
+
const schema$c = {
|
|
5758
5760
|
type: 'object',
|
|
5759
5761
|
properties: {
|
|
5760
5762
|
name: {
|
|
@@ -5768,27 +5770,27 @@ const schema$9 = {
|
|
|
5768
5770
|
},
|
|
5769
5771
|
required: ['name', 'description'],
|
|
5770
5772
|
};
|
|
5771
|
-
const uischema$
|
|
5772
|
-
const data$
|
|
5773
|
+
const uischema$c = undefined;
|
|
5774
|
+
const data$c = {};
|
|
5773
5775
|
registerExamples([
|
|
5774
5776
|
{
|
|
5775
5777
|
name: 'onChange',
|
|
5776
5778
|
label: 'On Change Listener',
|
|
5777
|
-
data: data$
|
|
5778
|
-
schema: schema$
|
|
5779
|
-
uischema: uischema$
|
|
5779
|
+
data: data$c,
|
|
5780
|
+
schema: schema$c,
|
|
5781
|
+
uischema: uischema$c,
|
|
5780
5782
|
},
|
|
5781
5783
|
]);
|
|
5782
5784
|
|
|
5783
5785
|
var onChange$1 = /*#__PURE__*/Object.freeze({
|
|
5784
5786
|
__proto__: null,
|
|
5785
5787
|
onChange: onChange,
|
|
5786
|
-
schema: schema$
|
|
5787
|
-
uischema: uischema$
|
|
5788
|
-
data: data$
|
|
5788
|
+
schema: schema$c,
|
|
5789
|
+
uischema: uischema$c,
|
|
5790
|
+
data: data$c
|
|
5789
5791
|
});
|
|
5790
5792
|
|
|
5791
|
-
const schema$
|
|
5793
|
+
const schema$b = {
|
|
5792
5794
|
type: 'object',
|
|
5793
5795
|
properties: {
|
|
5794
5796
|
plainEnum: {
|
|
@@ -5832,7 +5834,7 @@ const schema$8 = {
|
|
|
5832
5834
|
},
|
|
5833
5835
|
},
|
|
5834
5836
|
};
|
|
5835
|
-
const uischema$
|
|
5837
|
+
const uischema$b = {
|
|
5836
5838
|
type: 'VerticalLayout',
|
|
5837
5839
|
elements: [
|
|
5838
5840
|
{
|
|
@@ -5905,7 +5907,7 @@ const uischema$8 = {
|
|
|
5905
5907
|
},
|
|
5906
5908
|
],
|
|
5907
5909
|
};
|
|
5908
|
-
const data$
|
|
5910
|
+
const data$b = {
|
|
5909
5911
|
plainEnumSet: 'foo',
|
|
5910
5912
|
enumWithError: 'bogus',
|
|
5911
5913
|
oneOfEnumSet: 'bar',
|
|
@@ -5915,21 +5917,21 @@ registerExamples([
|
|
|
5915
5917
|
{
|
|
5916
5918
|
name: 'enum',
|
|
5917
5919
|
label: 'Enums',
|
|
5918
|
-
data: data$
|
|
5919
|
-
schema: schema$
|
|
5920
|
-
uischema: uischema$
|
|
5920
|
+
data: data$b,
|
|
5921
|
+
schema: schema$b,
|
|
5922
|
+
uischema: uischema$b,
|
|
5921
5923
|
},
|
|
5922
5924
|
]);
|
|
5923
5925
|
|
|
5924
5926
|
var _enum = /*#__PURE__*/Object.freeze({
|
|
5925
5927
|
__proto__: null,
|
|
5926
|
-
schema: schema$
|
|
5927
|
-
uischema: uischema$
|
|
5928
|
-
data: data$
|
|
5928
|
+
schema: schema$b,
|
|
5929
|
+
uischema: uischema$b,
|
|
5930
|
+
data: data$b
|
|
5929
5931
|
});
|
|
5930
5932
|
|
|
5931
|
-
const data$
|
|
5932
|
-
const schema$
|
|
5933
|
+
const data$a = {};
|
|
5934
|
+
const schema$a = {
|
|
5933
5935
|
type: 'object',
|
|
5934
5936
|
properties: {
|
|
5935
5937
|
exampleRadioEnum: {
|
|
@@ -5946,7 +5948,7 @@ const schema$7 = {
|
|
|
5946
5948
|
},
|
|
5947
5949
|
},
|
|
5948
5950
|
};
|
|
5949
|
-
const uischema$
|
|
5951
|
+
const uischema$a = {
|
|
5950
5952
|
type: 'VerticalLayout',
|
|
5951
5953
|
elements: [
|
|
5952
5954
|
{
|
|
@@ -5982,20 +5984,20 @@ registerExamples([
|
|
|
5982
5984
|
{
|
|
5983
5985
|
name: 'radio-group',
|
|
5984
5986
|
label: 'Radio Group',
|
|
5985
|
-
data: data$
|
|
5986
|
-
schema: schema$
|
|
5987
|
-
uischema: uischema$
|
|
5987
|
+
data: data$a,
|
|
5988
|
+
schema: schema$a,
|
|
5989
|
+
uischema: uischema$a,
|
|
5988
5990
|
},
|
|
5989
5991
|
]);
|
|
5990
5992
|
|
|
5991
5993
|
var radioGroup = /*#__PURE__*/Object.freeze({
|
|
5992
5994
|
__proto__: null,
|
|
5993
|
-
data: data$
|
|
5994
|
-
schema: schema$
|
|
5995
|
-
uischema: uischema$
|
|
5995
|
+
data: data$a,
|
|
5996
|
+
schema: schema$a,
|
|
5997
|
+
uischema: uischema$a
|
|
5996
5998
|
});
|
|
5997
5999
|
|
|
5998
|
-
const schema$
|
|
6000
|
+
const schema$9 = {
|
|
5999
6001
|
type: 'object',
|
|
6000
6002
|
properties: {
|
|
6001
6003
|
oneOfMultiEnum: {
|
|
@@ -6019,7 +6021,7 @@ const schema$6 = {
|
|
|
6019
6021
|
},
|
|
6020
6022
|
},
|
|
6021
6023
|
};
|
|
6022
|
-
const uischema$
|
|
6024
|
+
const uischema$9 = {
|
|
6023
6025
|
type: 'VerticalLayout',
|
|
6024
6026
|
elements: [
|
|
6025
6027
|
{
|
|
@@ -6032,25 +6034,25 @@ const uischema$6 = {
|
|
|
6032
6034
|
},
|
|
6033
6035
|
],
|
|
6034
6036
|
};
|
|
6035
|
-
const data$
|
|
6037
|
+
const data$9 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
6036
6038
|
registerExamples([
|
|
6037
6039
|
{
|
|
6038
6040
|
name: 'multi-enum',
|
|
6039
6041
|
label: 'Enum - Multi selection',
|
|
6040
|
-
data: data$
|
|
6041
|
-
schema: schema$
|
|
6042
|
-
uischema: uischema$
|
|
6042
|
+
data: data$9,
|
|
6043
|
+
schema: schema$9,
|
|
6044
|
+
uischema: uischema$9,
|
|
6043
6045
|
},
|
|
6044
6046
|
]);
|
|
6045
6047
|
|
|
6046
6048
|
var enumMulti = /*#__PURE__*/Object.freeze({
|
|
6047
6049
|
__proto__: null,
|
|
6048
|
-
schema: schema$
|
|
6049
|
-
uischema: uischema$
|
|
6050
|
-
data: data$
|
|
6050
|
+
schema: schema$9,
|
|
6051
|
+
uischema: uischema$9,
|
|
6052
|
+
data: data$9
|
|
6051
6053
|
});
|
|
6052
6054
|
|
|
6053
|
-
const schema$
|
|
6055
|
+
const schema$8 = {
|
|
6054
6056
|
type: 'array',
|
|
6055
6057
|
items: {
|
|
6056
6058
|
type: 'object',
|
|
@@ -6070,7 +6072,7 @@ const schema$5 = {
|
|
|
6070
6072
|
},
|
|
6071
6073
|
},
|
|
6072
6074
|
};
|
|
6073
|
-
const uischema$
|
|
6075
|
+
const uischema$8 = {
|
|
6074
6076
|
type: 'VerticalLayout',
|
|
6075
6077
|
elements: [
|
|
6076
6078
|
{
|
|
@@ -6079,25 +6081,25 @@ const uischema$5 = {
|
|
|
6079
6081
|
},
|
|
6080
6082
|
],
|
|
6081
6083
|
};
|
|
6082
|
-
const data$
|
|
6084
|
+
const data$8 = [];
|
|
6083
6085
|
registerExamples([
|
|
6084
6086
|
{
|
|
6085
6087
|
name: 'enumInArray',
|
|
6086
6088
|
label: 'Array containing enums',
|
|
6087
|
-
data: data$
|
|
6088
|
-
schema: schema$
|
|
6089
|
-
uischema: uischema$
|
|
6089
|
+
data: data$8,
|
|
6090
|
+
schema: schema$8,
|
|
6091
|
+
uischema: uischema$8,
|
|
6090
6092
|
},
|
|
6091
6093
|
]);
|
|
6092
6094
|
|
|
6093
6095
|
var enumInArray = /*#__PURE__*/Object.freeze({
|
|
6094
6096
|
__proto__: null,
|
|
6095
|
-
schema: schema$
|
|
6096
|
-
uischema: uischema$
|
|
6097
|
-
data: data$
|
|
6097
|
+
schema: schema$8,
|
|
6098
|
+
uischema: uischema$8,
|
|
6099
|
+
data: data$8
|
|
6098
6100
|
});
|
|
6099
6101
|
|
|
6100
|
-
const schema$
|
|
6102
|
+
const schema$7 = {
|
|
6101
6103
|
type: 'object',
|
|
6102
6104
|
properties: {
|
|
6103
6105
|
readonly: {
|
|
@@ -6112,7 +6114,7 @@ const schema$4 = {
|
|
|
6112
6114
|
},
|
|
6113
6115
|
},
|
|
6114
6116
|
};
|
|
6115
|
-
const uischema$
|
|
6117
|
+
const uischema$7 = {
|
|
6116
6118
|
type: 'VerticalLayout',
|
|
6117
6119
|
elements: [
|
|
6118
6120
|
{
|
|
@@ -6135,7 +6137,7 @@ const uischema$4 = {
|
|
|
6135
6137
|
},
|
|
6136
6138
|
],
|
|
6137
6139
|
};
|
|
6138
|
-
const data$
|
|
6140
|
+
const data$7 = {
|
|
6139
6141
|
readonly: 'readonly by schema',
|
|
6140
6142
|
readonlyByUISchema: 'readonly by ui schema',
|
|
6141
6143
|
notReadonly: 'normal field',
|
|
@@ -6144,23 +6146,23 @@ registerExamples([
|
|
|
6144
6146
|
{
|
|
6145
6147
|
name: 'Readonly Fields',
|
|
6146
6148
|
label: 'Readonly examples',
|
|
6147
|
-
data: data$
|
|
6148
|
-
schema: schema$
|
|
6149
|
-
uischema: uischema$
|
|
6149
|
+
data: data$7,
|
|
6150
|
+
schema: schema$7,
|
|
6151
|
+
uischema: uischema$7,
|
|
6150
6152
|
},
|
|
6151
6153
|
]);
|
|
6152
6154
|
|
|
6153
6155
|
var readonly = /*#__PURE__*/Object.freeze({
|
|
6154
6156
|
__proto__: null,
|
|
6155
|
-
schema: schema$
|
|
6156
|
-
uischema: uischema$
|
|
6157
|
-
data: data$
|
|
6157
|
+
schema: schema$7,
|
|
6158
|
+
uischema: uischema$7,
|
|
6159
|
+
data: data$7
|
|
6158
6160
|
});
|
|
6159
6161
|
|
|
6160
|
-
const data$
|
|
6162
|
+
const data$6 = {
|
|
6161
6163
|
'an-array-of-strings': ['foo', 'bar', 'foobar'],
|
|
6162
6164
|
};
|
|
6163
|
-
const schema$
|
|
6165
|
+
const schema$6 = {
|
|
6164
6166
|
type: 'object',
|
|
6165
6167
|
properties: {
|
|
6166
6168
|
'an-array-of-strings': {
|
|
@@ -6171,7 +6173,7 @@ const schema$3 = {
|
|
|
6171
6173
|
},
|
|
6172
6174
|
},
|
|
6173
6175
|
};
|
|
6174
|
-
const uischema$
|
|
6176
|
+
const uischema$6 = {
|
|
6175
6177
|
type: 'ListWithDetail',
|
|
6176
6178
|
scope: '#/properties/an-array-of-strings',
|
|
6177
6179
|
};
|
|
@@ -6179,9 +6181,9 @@ registerExamples([
|
|
|
6179
6181
|
{
|
|
6180
6182
|
name: 'list-with-detail-primitive-string',
|
|
6181
6183
|
label: 'List With Detail primitive (string)',
|
|
6182
|
-
data: data$
|
|
6183
|
-
schema: schema$
|
|
6184
|
-
uischema: uischema$
|
|
6184
|
+
data: data$6,
|
|
6185
|
+
schema: schema$6,
|
|
6186
|
+
uischema: uischema$6,
|
|
6185
6187
|
},
|
|
6186
6188
|
]);
|
|
6187
6189
|
const data_number = {
|
|
@@ -6214,15 +6216,15 @@ registerExamples([
|
|
|
6214
6216
|
|
|
6215
6217
|
var listWithDetailPrimitives = /*#__PURE__*/Object.freeze({
|
|
6216
6218
|
__proto__: null,
|
|
6217
|
-
data: data$
|
|
6218
|
-
schema: schema$
|
|
6219
|
-
uischema: uischema$
|
|
6219
|
+
data: data$6,
|
|
6220
|
+
schema: schema$6,
|
|
6221
|
+
uischema: uischema$6,
|
|
6220
6222
|
data_number: data_number,
|
|
6221
6223
|
schema_number: schema_number,
|
|
6222
6224
|
uischema_number: uischema_number
|
|
6223
6225
|
});
|
|
6224
6226
|
|
|
6225
|
-
const schema$
|
|
6227
|
+
const schema$5 = {
|
|
6226
6228
|
type: 'object',
|
|
6227
6229
|
properties: {
|
|
6228
6230
|
name: {
|
|
@@ -6257,7 +6259,7 @@ const schema$2 = {
|
|
|
6257
6259
|
},
|
|
6258
6260
|
],
|
|
6259
6261
|
};
|
|
6260
|
-
const uischema$
|
|
6262
|
+
const uischema$5 = {
|
|
6261
6263
|
type: 'HorizontalLayout',
|
|
6262
6264
|
elements: [
|
|
6263
6265
|
{
|
|
@@ -6301,21 +6303,21 @@ const uischema$2 = {
|
|
|
6301
6303
|
},
|
|
6302
6304
|
],
|
|
6303
6305
|
};
|
|
6304
|
-
const data$
|
|
6306
|
+
const data$5 = {};
|
|
6305
6307
|
registerExamples([
|
|
6306
6308
|
{
|
|
6307
6309
|
name: 'conditional-schema-compositions',
|
|
6308
6310
|
label: 'Conditional Schema Compositions',
|
|
6309
|
-
data: data$
|
|
6310
|
-
schema: schema$
|
|
6311
|
-
uischema: uischema$
|
|
6311
|
+
data: data$5,
|
|
6312
|
+
schema: schema$5,
|
|
6313
|
+
uischema: uischema$5,
|
|
6312
6314
|
},
|
|
6313
6315
|
]);
|
|
6314
6316
|
|
|
6315
6317
|
var conditionalSchemaCompositions = /*#__PURE__*/Object.freeze({
|
|
6316
6318
|
__proto__: null,
|
|
6317
|
-
schema: schema$
|
|
6318
|
-
uischema: uischema$
|
|
6319
|
+
schema: schema$5,
|
|
6320
|
+
uischema: uischema$5
|
|
6319
6321
|
});
|
|
6320
6322
|
|
|
6321
6323
|
const additionalErrors = [];
|
|
@@ -6341,9 +6343,9 @@ registerExamples([
|
|
|
6341
6343
|
{
|
|
6342
6344
|
name: 'additional-errors',
|
|
6343
6345
|
label: 'Additional errors',
|
|
6344
|
-
data: data$
|
|
6345
|
-
schema: schema$
|
|
6346
|
-
uischema: uischema$
|
|
6346
|
+
data: data$H,
|
|
6347
|
+
schema: schema$F,
|
|
6348
|
+
uischema: uischema$F,
|
|
6347
6349
|
actions,
|
|
6348
6350
|
},
|
|
6349
6351
|
]);
|
|
@@ -6354,7 +6356,7 @@ var additionalErrors$1 = /*#__PURE__*/Object.freeze({
|
|
|
6354
6356
|
actions: actions
|
|
6355
6357
|
});
|
|
6356
6358
|
|
|
6357
|
-
const schema$
|
|
6359
|
+
const schema$4 = {
|
|
6358
6360
|
type: 'object',
|
|
6359
6361
|
properties: {
|
|
6360
6362
|
oneOfMultiEnum: {
|
|
@@ -6380,7 +6382,7 @@ const schema$1 = {
|
|
|
6380
6382
|
},
|
|
6381
6383
|
},
|
|
6382
6384
|
};
|
|
6383
|
-
const uischema$
|
|
6385
|
+
const uischema$4 = {
|
|
6384
6386
|
type: 'VerticalLayout',
|
|
6385
6387
|
elements: [
|
|
6386
6388
|
{
|
|
@@ -6401,18 +6403,210 @@ const uischema$1 = {
|
|
|
6401
6403
|
},
|
|
6402
6404
|
],
|
|
6403
6405
|
};
|
|
6404
|
-
const data$
|
|
6406
|
+
const data$4 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
|
|
6405
6407
|
registerExamples([
|
|
6406
6408
|
{
|
|
6407
6409
|
name: 'multi-enum-with-label-and-desc',
|
|
6408
6410
|
label: 'Enum - Multi selection with label and desc',
|
|
6411
|
+
data: data$4,
|
|
6412
|
+
schema: schema$4,
|
|
6413
|
+
uischema: uischema$4,
|
|
6414
|
+
},
|
|
6415
|
+
]);
|
|
6416
|
+
|
|
6417
|
+
var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
|
|
6418
|
+
__proto__: null,
|
|
6419
|
+
schema: schema$4,
|
|
6420
|
+
uischema: uischema$4,
|
|
6421
|
+
data: data$4
|
|
6422
|
+
});
|
|
6423
|
+
|
|
6424
|
+
const schema$3 = {
|
|
6425
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6426
|
+
type: 'object',
|
|
6427
|
+
properties: {
|
|
6428
|
+
propertiesString: {
|
|
6429
|
+
type: 'string',
|
|
6430
|
+
},
|
|
6431
|
+
},
|
|
6432
|
+
propertyNames: {
|
|
6433
|
+
minLength: 2,
|
|
6434
|
+
},
|
|
6435
|
+
patternProperties: {
|
|
6436
|
+
'^string$': {
|
|
6437
|
+
type: 'string',
|
|
6438
|
+
},
|
|
6439
|
+
'^number$': {
|
|
6440
|
+
type: 'number',
|
|
6441
|
+
},
|
|
6442
|
+
'^integer$': {
|
|
6443
|
+
type: 'integer',
|
|
6444
|
+
},
|
|
6445
|
+
'^object$': {
|
|
6446
|
+
type: 'object',
|
|
6447
|
+
properties: {
|
|
6448
|
+
prop1: {
|
|
6449
|
+
type: 'string',
|
|
6450
|
+
},
|
|
6451
|
+
},
|
|
6452
|
+
},
|
|
6453
|
+
'^boolean$': {
|
|
6454
|
+
type: 'boolean',
|
|
6455
|
+
},
|
|
6456
|
+
'^stringArray$': {
|
|
6457
|
+
type: 'array',
|
|
6458
|
+
items: {
|
|
6459
|
+
type: 'string',
|
|
6460
|
+
},
|
|
6461
|
+
},
|
|
6462
|
+
'^numberArray$': {
|
|
6463
|
+
type: 'array',
|
|
6464
|
+
items: {
|
|
6465
|
+
type: 'number',
|
|
6466
|
+
},
|
|
6467
|
+
},
|
|
6468
|
+
'^integerArray$': {
|
|
6469
|
+
type: 'array',
|
|
6470
|
+
items: {
|
|
6471
|
+
type: 'integer',
|
|
6472
|
+
},
|
|
6473
|
+
},
|
|
6474
|
+
'^objectArray$': {
|
|
6475
|
+
type: 'array',
|
|
6476
|
+
items: {
|
|
6477
|
+
type: 'object',
|
|
6478
|
+
properties: {
|
|
6479
|
+
prop1: {
|
|
6480
|
+
type: 'string',
|
|
6481
|
+
},
|
|
6482
|
+
},
|
|
6483
|
+
},
|
|
6484
|
+
},
|
|
6485
|
+
'^booleanArray$': {
|
|
6486
|
+
type: 'array',
|
|
6487
|
+
items: {
|
|
6488
|
+
type: 'boolean',
|
|
6489
|
+
},
|
|
6490
|
+
},
|
|
6491
|
+
},
|
|
6492
|
+
additionalProperties: {
|
|
6493
|
+
type: 'string',
|
|
6494
|
+
title: 'Additional Properties',
|
|
6495
|
+
},
|
|
6496
|
+
maxProperties: 15,
|
|
6497
|
+
};
|
|
6498
|
+
const uischema$3 = {
|
|
6499
|
+
type: 'Control',
|
|
6500
|
+
scope: '#/',
|
|
6501
|
+
};
|
|
6502
|
+
const data$3 = {
|
|
6503
|
+
propertiesString: 'data',
|
|
6504
|
+
string: 'string value',
|
|
6505
|
+
number: 10.2,
|
|
6506
|
+
integer: 11,
|
|
6507
|
+
object: {
|
|
6508
|
+
prop1: 'prop 1 value',
|
|
6509
|
+
},
|
|
6510
|
+
boolean: true,
|
|
6511
|
+
stringArray: ['value1', 'value2'],
|
|
6512
|
+
numberArray: [12.2],
|
|
6513
|
+
integerArray: [33],
|
|
6514
|
+
objectArray: [{ prop1: 'prop1 val' }, {}],
|
|
6515
|
+
booleanArray: [false, true],
|
|
6516
|
+
};
|
|
6517
|
+
registerExamples([
|
|
6518
|
+
{
|
|
6519
|
+
name: 'additional-properties',
|
|
6520
|
+
label: 'Additional Properties',
|
|
6521
|
+
data: data$3,
|
|
6522
|
+
schema: schema$3,
|
|
6523
|
+
uischema: uischema$3,
|
|
6524
|
+
},
|
|
6525
|
+
]);
|
|
6526
|
+
|
|
6527
|
+
var additionalProperties = /*#__PURE__*/Object.freeze({
|
|
6528
|
+
__proto__: null,
|
|
6529
|
+
schema: schema$3,
|
|
6530
|
+
uischema: uischema$3
|
|
6531
|
+
});
|
|
6532
|
+
|
|
6533
|
+
const schema$2 = {
|
|
6534
|
+
type: 'object',
|
|
6535
|
+
properties: {
|
|
6536
|
+
username: {
|
|
6537
|
+
type: 'string',
|
|
6538
|
+
description: 'Login Name',
|
|
6539
|
+
},
|
|
6540
|
+
password: {
|
|
6541
|
+
type: 'string',
|
|
6542
|
+
format: 'password',
|
|
6543
|
+
description: 'Login password',
|
|
6544
|
+
},
|
|
6545
|
+
},
|
|
6546
|
+
required: ['username', 'password'],
|
|
6547
|
+
};
|
|
6548
|
+
const uischema$2 = {
|
|
6549
|
+
type: 'VerticalLayout',
|
|
6550
|
+
elements: [
|
|
6551
|
+
{
|
|
6552
|
+
type: 'Label',
|
|
6553
|
+
text: 'Login Information',
|
|
6554
|
+
},
|
|
6555
|
+
{
|
|
6556
|
+
type: 'HorizontalLayout',
|
|
6557
|
+
elements: [
|
|
6558
|
+
{
|
|
6559
|
+
type: 'Control',
|
|
6560
|
+
scope: '#/properties/username',
|
|
6561
|
+
},
|
|
6562
|
+
{
|
|
6563
|
+
type: 'Control',
|
|
6564
|
+
scope: '#/properties/password',
|
|
6565
|
+
},
|
|
6566
|
+
],
|
|
6567
|
+
},
|
|
6568
|
+
],
|
|
6569
|
+
};
|
|
6570
|
+
const data$2 = {
|
|
6571
|
+
username: 'john.doe@email.com',
|
|
6572
|
+
};
|
|
6573
|
+
registerExamples([
|
|
6574
|
+
{
|
|
6575
|
+
name: 'login',
|
|
6576
|
+
label: 'Login Form',
|
|
6577
|
+
data: data$2,
|
|
6578
|
+
schema: schema$2,
|
|
6579
|
+
uischema: uischema$2,
|
|
6580
|
+
},
|
|
6581
|
+
]);
|
|
6582
|
+
|
|
6583
|
+
var login = /*#__PURE__*/Object.freeze({
|
|
6584
|
+
__proto__: null,
|
|
6585
|
+
schema: schema$2,
|
|
6586
|
+
uischema: uischema$2
|
|
6587
|
+
});
|
|
6588
|
+
|
|
6589
|
+
const schema$1 = {
|
|
6590
|
+
type: 'string',
|
|
6591
|
+
title: 'String',
|
|
6592
|
+
description: 'The form output will be a string',
|
|
6593
|
+
};
|
|
6594
|
+
const uischema$1 = {
|
|
6595
|
+
type: 'Control',
|
|
6596
|
+
scope: '#/',
|
|
6597
|
+
};
|
|
6598
|
+
const data$1 = 'This is a test string';
|
|
6599
|
+
registerExamples([
|
|
6600
|
+
{
|
|
6601
|
+
name: 'string',
|
|
6602
|
+
label: 'String',
|
|
6409
6603
|
data: data$1,
|
|
6410
6604
|
schema: schema$1,
|
|
6411
6605
|
uischema: uischema$1,
|
|
6412
6606
|
},
|
|
6413
6607
|
]);
|
|
6414
6608
|
|
|
6415
|
-
var
|
|
6609
|
+
var string = /*#__PURE__*/Object.freeze({
|
|
6416
6610
|
__proto__: null,
|
|
6417
6611
|
schema: schema$1,
|
|
6418
6612
|
uischema: uischema$1,
|
|
@@ -6447,5 +6641,5 @@ var if_then_else = /*#__PURE__*/Object.freeze({
|
|
|
6447
6641
|
data: data
|
|
6448
6642
|
});
|
|
6449
6643
|
|
|
6450
|
-
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, 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, 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 };
|
|
6644
|
+
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, layout, listWithDetail, listWithDetailPrimitives, listWithDetailRegistered, login, 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 };
|
|
6451
6645
|
//# sourceMappingURL=jsonforms-examples.esm.js.map
|