@jsonforms/examples 3.4.0-alpha.2 → 3.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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$L = {
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$L = {
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$N = {
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$N,
74
- schema: schema$L,
75
- uischema: uischema$L,
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$L,
82
- uischema: uischema$L
82
+ schema: schema$O,
83
+ uischema: uischema$O
83
84
  });
84
85
 
85
- const schema$K = {
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$K = {
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$M = {
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$M,
178
- schema: schema$K,
179
- uischema: uischema$K,
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$K,
193
- uischema: uischema$K
193
+ schema: schema$N,
194
+ uischema: uischema$N
194
195
  });
195
196
 
196
- const schema$J = {
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$J = {
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$L = {
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$L,
467
- schema: schema$J,
468
- uischema: uischema$J,
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$J,
510
- uischema: uischema$J
510
+ schema: schema$M,
511
+ uischema: uischema$M
511
512
  });
512
513
 
513
- const schema$I = {
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$I = {
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$K = {
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$K,
576
- schema: schema$I,
577
- uischema: uischema$I,
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$I,
584
- uischema: uischema$I
584
+ schema: schema$L,
585
+ uischema: uischema$L
585
586
  });
586
587
 
587
- const schema$H = {
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$H = {
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$J = {};
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$J,
649
- schema: schema$H,
650
- uischema: uischema$H,
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$H,
657
- uischema: uischema$H
657
+ schema: schema$K,
658
+ uischema: uischema$K
658
659
  });
659
660
 
660
- const schema$G = {
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$G = {
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$I = {
723
+ const data$L = {
723
724
  comments: [
724
725
  {
725
726
  date: new Date(2001, 8, 11).toISOString().substr(0, 10),
@@ -732,7 +733,7 @@ const data$I = {
732
733
  },
733
734
  ],
734
735
  };
735
- const actions$5 = [
736
+ const actions$6 = [
736
737
  {
737
738
  label: 'Enable Sorting',
738
739
  apply: (props) => {
@@ -747,34 +748,40 @@ const actions$5 = [
747
748
  apply: (props) => {
748
749
  return {
749
750
  ...props,
750
- uischema: uischema$G,
751
+ uischema: uischema$J,
751
752
  };
752
753
  },
753
754
  },
755
+ {
756
+ label: 'Toggle readonly',
757
+ apply: (props) => {
758
+ return { ...props, readonly: !props.readonly };
759
+ },
760
+ },
754
761
  ];
755
762
  registerExamples([
756
763
  {
757
764
  name: 'array',
758
765
  label: 'Array',
759
- data: data$I,
760
- schema: schema$G,
761
- uischema: uischema$G,
766
+ data: data$L,
767
+ schema: schema$J,
768
+ uischema: uischema$J,
762
769
  config: {
763
770
  withSort: uischemaWithSorting$1,
764
771
  },
765
- actions: actions$5,
772
+ actions: actions$6,
766
773
  },
767
774
  ]);
768
775
 
769
776
  var arrays = /*#__PURE__*/Object.freeze({
770
777
  __proto__: null,
771
- schema: schema$G,
772
- uischema: uischema$G,
778
+ schema: schema$J,
779
+ uischema: uischema$J,
773
780
  uischemaWithSorting: uischemaWithSorting$1,
774
- data: data$I
781
+ data: data$L
775
782
  });
776
783
 
777
- const schema$F = {
784
+ const schema$I = {
778
785
  type: 'object',
779
786
  properties: {
780
787
  comments: {
@@ -799,7 +806,7 @@ const schema$F = {
799
806
  },
800
807
  },
801
808
  };
802
- const uischema$F = {
809
+ const uischema$I = {
803
810
  type: 'VerticalLayout',
804
811
  elements: [
805
812
  {
@@ -811,7 +818,7 @@ const uischema$F = {
811
818
  },
812
819
  ],
813
820
  };
814
- const data$H = {
821
+ const data$K = {
815
822
  comments: [
816
823
  {
817
824
  date: new Date(2001, 8, 11).toISOString().substr(0, 10),
@@ -839,9 +846,9 @@ registerExamples([
839
846
  {
840
847
  name: 'array-i18n',
841
848
  label: 'Array (i18n)',
842
- data: data$H,
843
- schema: schema$F,
844
- uischema: uischema$F,
849
+ data: data$K,
850
+ schema: schema$I,
851
+ uischema: uischema$I,
845
852
  i18n: {
846
853
  translate: translate$3,
847
854
  locale: 'en',
@@ -851,14 +858,14 @@ registerExamples([
851
858
 
852
859
  var arraysI18n = /*#__PURE__*/Object.freeze({
853
860
  __proto__: null,
854
- schema: schema$F,
855
- uischema: uischema$F,
856
- data: data$H,
861
+ schema: schema$I,
862
+ uischema: uischema$I,
863
+ data: data$K,
857
864
  translations: translations$2,
858
865
  translate: translate$3
859
866
  });
860
867
 
861
- const schema$E = {
868
+ const schema$H = {
862
869
  definitions: {
863
870
  choicesContainer: {
864
871
  type: 'object',
@@ -883,7 +890,7 @@ const schema$E = {
883
890
  },
884
891
  },
885
892
  };
886
- const uischema$E = {
893
+ const uischema$H = {
887
894
  type: 'HorizontalLayout',
888
895
  elements: [
889
896
  {
@@ -896,7 +903,7 @@ const uischema$E = {
896
903
  },
897
904
  ],
898
905
  };
899
- const data$G = {
906
+ const data$J = {
900
907
  exampleArray: [
901
908
  {
902
909
  choices: ['This', 'is', 'an', 'example'],
@@ -923,7 +930,7 @@ const uischemas = [
923
930
  },
924
931
  },
925
932
  ];
926
- const actions$4 = [
933
+ const actions$5 = [
927
934
  {
928
935
  label: 'Register NestedArray UISchema',
929
936
  apply: (props) => {
@@ -948,19 +955,19 @@ registerExamples([
948
955
  {
949
956
  name: 'nestedArray',
950
957
  label: 'Nested Array',
951
- data: data$G,
952
- schema: schema$E,
953
- uischema: uischema$E,
954
- actions: actions$4,
958
+ data: data$J,
959
+ schema: schema$H,
960
+ uischema: uischema$H,
961
+ actions: actions$5,
955
962
  },
956
963
  ]);
957
964
 
958
965
  var nestedArrays = /*#__PURE__*/Object.freeze({
959
966
  __proto__: null,
960
- uischema: uischema$E
967
+ uischema: uischema$H
961
968
  });
962
969
 
963
- const schema$D = {
970
+ const schema$G = {
964
971
  type: 'object',
965
972
  properties: {
966
973
  cat1: {
@@ -998,7 +1005,7 @@ const schema$D = {
998
1005
  },
999
1006
  },
1000
1007
  };
1001
- const uischema$D = {
1008
+ const uischema$G = {
1002
1009
  type: 'Categorization',
1003
1010
  elements: [
1004
1011
  {
@@ -1096,22 +1103,22 @@ const uischema$D = {
1096
1103
  },
1097
1104
  ],
1098
1105
  };
1099
- const data$F = {};
1106
+ const data$I = {};
1100
1107
  registerExamples([
1101
1108
  {
1102
1109
  name: 'nestedCategorization',
1103
1110
  label: 'Nested Categorization',
1104
- data: data$F,
1105
- schema: schema$D,
1106
- uischema: uischema$D,
1111
+ data: data$I,
1112
+ schema: schema$G,
1113
+ uischema: uischema$G,
1107
1114
  },
1108
1115
  ]);
1109
1116
 
1110
1117
  var nestedCategorization = /*#__PURE__*/Object.freeze({
1111
1118
  __proto__: null,
1112
- schema: schema$D,
1113
- uischema: uischema$D,
1114
- data: data$F
1119
+ schema: schema$G,
1120
+ uischema: uischema$G,
1121
+ data: data$I
1115
1122
  });
1116
1123
 
1117
1124
  const personCoreSchema = {
@@ -1136,7 +1143,7 @@ const personCoreSchema = {
1136
1143
  },
1137
1144
  },
1138
1145
  };
1139
- const schema$C = {
1146
+ const schema$F = {
1140
1147
  type: 'object',
1141
1148
  properties: {
1142
1149
  ...personCoreSchema.properties,
@@ -1176,7 +1183,7 @@ const schema$C = {
1176
1183
  },
1177
1184
  required: ['occupation', 'nationality'],
1178
1185
  };
1179
- const uischema$C = {
1186
+ const uischema$F = {
1180
1187
  type: 'VerticalLayout',
1181
1188
  elements: [
1182
1189
  {
@@ -1214,22 +1221,24 @@ const uischema$C = {
1214
1221
  {
1215
1222
  type: 'Control',
1216
1223
  scope: '#/properties/occupation',
1217
- suggestion: [
1218
- 'Accountant',
1219
- 'Engineer',
1220
- 'Freelancer',
1221
- 'Journalism',
1222
- 'Physician',
1223
- 'Student',
1224
- 'Teacher',
1225
- 'Other',
1226
- ],
1224
+ options: {
1225
+ suggestion: [
1226
+ 'Accountant',
1227
+ 'Engineer',
1228
+ 'Freelancer',
1229
+ 'Journalism',
1230
+ 'Physician',
1231
+ 'Student',
1232
+ 'Teacher',
1233
+ 'Other',
1234
+ ],
1235
+ },
1227
1236
  },
1228
1237
  ],
1229
1238
  },
1230
1239
  ],
1231
1240
  };
1232
- const data$E = {
1241
+ const data$H = {
1233
1242
  name: 'John Doe',
1234
1243
  vegetarian: false,
1235
1244
  birthDate: '1985-06-02',
@@ -1242,21 +1251,21 @@ registerExamples([
1242
1251
  {
1243
1252
  name: 'person',
1244
1253
  label: 'Person',
1245
- data: data$E,
1246
- schema: schema$C,
1247
- uischema: uischema$C,
1254
+ data: data$H,
1255
+ schema: schema$F,
1256
+ uischema: uischema$F,
1248
1257
  },
1249
1258
  ]);
1250
1259
 
1251
1260
  var person = /*#__PURE__*/Object.freeze({
1252
1261
  __proto__: null,
1253
1262
  personCoreSchema: personCoreSchema,
1254
- schema: schema$C,
1255
- uischema: uischema$C,
1256
- data: data$E
1263
+ schema: schema$F,
1264
+ uischema: uischema$F,
1265
+ data: data$H
1257
1266
  });
1258
1267
 
1259
- const schema$B = {
1268
+ const schema$E = {
1260
1269
  type: 'object',
1261
1270
  properties: {
1262
1271
  ...personCoreSchema.properties,
@@ -1283,7 +1292,7 @@ const schema$B = {
1283
1292
  },
1284
1293
  required: ['occupation', 'nationality'],
1285
1294
  };
1286
- const uischema$B = {
1295
+ const uischema$E = {
1287
1296
  type: 'VerticalLayout',
1288
1297
  elements: [
1289
1298
  {
@@ -1309,7 +1318,7 @@ const uischema$B = {
1309
1318
  },
1310
1319
  ],
1311
1320
  };
1312
- const data$D = {
1321
+ const data$G = {
1313
1322
  comments: [
1314
1323
  {
1315
1324
  date: new Date(2001, 8, 11).toISOString().substr(0, 10),
@@ -1321,24 +1330,33 @@ const data$D = {
1321
1330
  },
1322
1331
  ],
1323
1332
  };
1333
+ const actions$4 = [
1334
+ {
1335
+ label: 'Toggle readonly',
1336
+ apply: (props) => {
1337
+ return { ...props, readonly: !props.readonly };
1338
+ },
1339
+ },
1340
+ ];
1324
1341
  registerExamples([
1325
1342
  {
1326
1343
  name: 'array-with-detail',
1327
1344
  label: 'Array with detail',
1328
- data: data$D,
1329
- schema: schema$B,
1330
- uischema: uischema$B,
1345
+ data: data$G,
1346
+ schema: schema$E,
1347
+ uischema: uischema$E,
1348
+ actions: actions$4,
1331
1349
  },
1332
1350
  ]);
1333
1351
 
1334
1352
  var arraysWithDetail = /*#__PURE__*/Object.freeze({
1335
1353
  __proto__: null,
1336
- schema: schema$B,
1337
- uischema: uischema$B,
1338
- data: data$D
1354
+ schema: schema$E,
1355
+ uischema: uischema$E,
1356
+ data: data$G
1339
1357
  });
1340
1358
 
1341
- const schema$A = {
1359
+ const schema$D = {
1342
1360
  type: 'object',
1343
1361
  properties: {
1344
1362
  ...personCoreSchema.properties,
@@ -1364,7 +1382,7 @@ const schema$A = {
1364
1382
  },
1365
1383
  required: ['occupation', 'nationality'],
1366
1384
  };
1367
- const uischema$A = {
1385
+ const uischema$D = {
1368
1386
  type: 'VerticalLayout',
1369
1387
  elements: [
1370
1388
  {
@@ -1412,7 +1430,7 @@ const uischema$A = {
1412
1430
  },
1413
1431
  ],
1414
1432
  };
1415
- const data$C = {
1433
+ const data$F = {
1416
1434
  occupation: 'developer',
1417
1435
  comments: [
1418
1436
  {
@@ -1429,20 +1447,20 @@ registerExamples([
1429
1447
  {
1430
1448
  name: 'array-with-detail-and-rule',
1431
1449
  label: 'Array with detail and rule',
1432
- data: data$C,
1433
- schema: schema$A,
1434
- uischema: uischema$A,
1450
+ data: data$F,
1451
+ schema: schema$D,
1452
+ uischema: uischema$D,
1435
1453
  },
1436
1454
  ]);
1437
1455
 
1438
1456
  var arraysWithDetailAndRule = /*#__PURE__*/Object.freeze({
1439
1457
  __proto__: null,
1440
- schema: schema$A,
1441
- uischema: uischema$A,
1442
- data: data$C
1458
+ schema: schema$D,
1459
+ uischema: uischema$D,
1460
+ data: data$F
1443
1461
  });
1444
1462
 
1445
- const schema$z = {
1463
+ const schema$C = {
1446
1464
  type: 'object',
1447
1465
  properties: {
1448
1466
  comments: {
@@ -1462,7 +1480,7 @@ const schema$z = {
1462
1480
  },
1463
1481
  },
1464
1482
  };
1465
- const uischema$z = {
1483
+ const uischema$C = {
1466
1484
  type: 'VerticalLayout',
1467
1485
  elements: [
1468
1486
  {
@@ -1487,7 +1505,7 @@ const uischema$z = {
1487
1505
  },
1488
1506
  ],
1489
1507
  };
1490
- const data$B = {
1508
+ const data$E = {
1491
1509
  comments: [
1492
1510
  {
1493
1511
  message1: 'This is an example message',
@@ -1503,20 +1521,20 @@ registerExamples([
1503
1521
  {
1504
1522
  name: 'array-with-custom-element-label',
1505
1523
  label: 'Array with custom element label',
1506
- data: data$B,
1507
- schema: schema$z,
1508
- uischema: uischema$z,
1524
+ data: data$E,
1525
+ schema: schema$C,
1526
+ uischema: uischema$C,
1509
1527
  },
1510
1528
  ]);
1511
1529
 
1512
1530
  var arraysWithCustomElementLabel = /*#__PURE__*/Object.freeze({
1513
1531
  __proto__: null,
1514
- schema: schema$z,
1515
- uischema: uischema$z,
1516
- data: data$B
1532
+ schema: schema$C,
1533
+ uischema: uischema$C,
1534
+ data: data$E
1517
1535
  });
1518
1536
 
1519
- const schema$y = {
1537
+ const schema$B = {
1520
1538
  type: 'object',
1521
1539
  properties: {
1522
1540
  comments: {
@@ -1544,7 +1562,7 @@ const schema$y = {
1544
1562
  foo: { type: 'string' },
1545
1563
  },
1546
1564
  };
1547
- const uischema$y = {
1565
+ const uischema$B = {
1548
1566
  type: 'VerticalLayout',
1549
1567
  elements: [
1550
1568
  {
@@ -1578,7 +1596,7 @@ const uischemaWithSorting = {
1578
1596
  },
1579
1597
  ],
1580
1598
  };
1581
- const data$A = {
1599
+ const data$D = {
1582
1600
  comments: [
1583
1601
  {
1584
1602
  date: new Date(2001, 8, 11).toISOString().substr(0, 10),
@@ -1605,7 +1623,7 @@ const actions$3 = [
1605
1623
  apply: (props) => {
1606
1624
  return {
1607
1625
  ...props,
1608
- uischema: uischema$y,
1626
+ uischema: uischema$B,
1609
1627
  };
1610
1628
  },
1611
1629
  },
@@ -1614,9 +1632,9 @@ registerExamples([
1614
1632
  {
1615
1633
  name: 'array-with-sorting',
1616
1634
  label: 'Array with sorting',
1617
- data: data$A,
1618
- schema: schema$y,
1619
- uischema: uischema$y,
1635
+ data: data$D,
1636
+ schema: schema$B,
1637
+ uischema: uischema$B,
1620
1638
  config: {
1621
1639
  withSort: uischemaWithSorting,
1622
1640
  },
@@ -1626,13 +1644,13 @@ registerExamples([
1626
1644
 
1627
1645
  var arraysWithSorting = /*#__PURE__*/Object.freeze({
1628
1646
  __proto__: null,
1629
- schema: schema$y,
1630
- uischema: uischema$y,
1647
+ schema: schema$B,
1648
+ uischema: uischema$B,
1631
1649
  uischemaWithSorting: uischemaWithSorting,
1632
- data: data$A
1650
+ data: data$D
1633
1651
  });
1634
1652
 
1635
- const data$z = {
1653
+ const data$C = {
1636
1654
  article: {
1637
1655
  title: 'title',
1638
1656
  comments: [
@@ -1657,7 +1675,7 @@ const data$z = {
1657
1675
  ],
1658
1676
  },
1659
1677
  };
1660
- const schema$x = {
1678
+ const schema$A = {
1661
1679
  type: 'object',
1662
1680
  properties: {
1663
1681
  article: {
@@ -1743,7 +1761,7 @@ const detail = {
1743
1761
  },
1744
1762
  ],
1745
1763
  };
1746
- const uischema$x = {
1764
+ const uischema$A = {
1747
1765
  type: 'VerticalLayout',
1748
1766
  elements: [
1749
1767
  {
@@ -1867,9 +1885,9 @@ registerExamples([
1867
1885
  {
1868
1886
  name: 'array-with-translated-custom-element-label',
1869
1887
  label: 'Array with translated custom element label',
1870
- data: data$z,
1871
- schema: schema$x,
1872
- uischema: uischema$x,
1888
+ data: data$C,
1889
+ schema: schema$A,
1890
+ uischema: uischema$A,
1873
1891
  i18n: {
1874
1892
  translate: translate$2,
1875
1893
  locale: 'en',
@@ -1879,12 +1897,12 @@ registerExamples([
1879
1897
 
1880
1898
  var arraysWithTranslatedCustomElementLabel = /*#__PURE__*/Object.freeze({
1881
1899
  __proto__: null,
1882
- data: data$z,
1883
- uischema: uischema$x,
1900
+ data: data$C,
1901
+ uischema: uischema$A,
1884
1902
  translate: translate$2
1885
1903
  });
1886
1904
 
1887
- const schema$w = {
1905
+ const schema$z = {
1888
1906
  definitions: {
1889
1907
  itemsType: {
1890
1908
  type: 'object',
@@ -1956,7 +1974,7 @@ const schema$w = {
1956
1974
  },
1957
1975
  },
1958
1976
  };
1959
- const uischema$w = {
1977
+ const uischema$z = {
1960
1978
  type: 'VerticalLayout',
1961
1979
  elements: [
1962
1980
  {
@@ -1973,25 +1991,25 @@ const uischema$w = {
1973
1991
  },
1974
1992
  ],
1975
1993
  };
1976
- const data$y = {};
1994
+ const data$B = {};
1977
1995
  registerExamples([
1978
1996
  {
1979
1997
  name: 'array-with-defaults',
1980
1998
  label: 'Array with defaults',
1981
- data: data$y,
1982
- schema: schema$w,
1983
- uischema: uischema$w,
1999
+ data: data$B,
2000
+ schema: schema$z,
2001
+ uischema: uischema$z,
1984
2002
  },
1985
2003
  ]);
1986
2004
 
1987
2005
  var arraysWithDefaults = /*#__PURE__*/Object.freeze({
1988
2006
  __proto__: null,
1989
- schema: schema$w,
1990
- uischema: uischema$w,
1991
- data: data$y
2007
+ schema: schema$z,
2008
+ uischema: uischema$z,
2009
+ data: data$B
1992
2010
  });
1993
2011
 
1994
- const schema$v = {
2012
+ const schema$y = {
1995
2013
  type: 'object',
1996
2014
  properties: {
1997
2015
  comments: {
@@ -2004,7 +2022,7 @@ const schema$v = {
2004
2022
  },
2005
2023
  },
2006
2024
  };
2007
- const uischema$v = {
2025
+ const uischema$y = {
2008
2026
  type: 'VerticalLayout',
2009
2027
  elements: [
2010
2028
  {
@@ -2013,27 +2031,27 @@ const uischema$v = {
2013
2031
  },
2014
2032
  ],
2015
2033
  };
2016
- const data$x = {
2034
+ const data$A = {
2017
2035
  comments: ['one string', 'two strings'],
2018
2036
  };
2019
2037
  registerExamples([
2020
2038
  {
2021
2039
  name: 'stringArray',
2022
2040
  label: 'Array of Strings',
2023
- data: data$x,
2024
- schema: schema$v,
2025
- uischema: uischema$v,
2041
+ data: data$A,
2042
+ schema: schema$y,
2043
+ uischema: uischema$y,
2026
2044
  },
2027
2045
  ]);
2028
2046
 
2029
2047
  var stringArray = /*#__PURE__*/Object.freeze({
2030
2048
  __proto__: null,
2031
- schema: schema$v,
2032
- uischema: uischema$v,
2033
- data: data$x
2049
+ schema: schema$y,
2050
+ uischema: uischema$y,
2051
+ data: data$A
2034
2052
  });
2035
2053
 
2036
- const schema$u = {
2054
+ const schema$x = {
2037
2055
  type: 'object',
2038
2056
  properties: {
2039
2057
  firstName: {
@@ -2096,7 +2114,7 @@ const schema$u = {
2096
2114
  },
2097
2115
  },
2098
2116
  };
2099
- const uischema$u = {
2117
+ const uischema$x = {
2100
2118
  type: 'Categorization',
2101
2119
  elements: [
2102
2120
  {
@@ -2212,7 +2230,7 @@ const uischema$u = {
2212
2230
  },
2213
2231
  ],
2214
2232
  };
2215
- const data$w = {
2233
+ const data$z = {
2216
2234
  provideAddress: true,
2217
2235
  vegetarian: false,
2218
2236
  };
@@ -2300,15 +2318,15 @@ registerExamples([
2300
2318
  {
2301
2319
  name: 'categorization',
2302
2320
  label: 'Categorization',
2303
- data: data$w,
2304
- schema: schema$u,
2305
- uischema: uischema$u,
2321
+ data: data$z,
2322
+ schema: schema$x,
2323
+ uischema: uischema$x,
2306
2324
  i18n: { locale: 'en', translate: translate$1 },
2307
2325
  },
2308
2326
  {
2309
2327
  name: 'categorization_1713',
2310
2328
  label: 'Categorization - Issue 1713',
2311
- data: data$w,
2329
+ data: data$z,
2312
2330
  schema: schema_1713,
2313
2331
  uischema: uischema_1713,
2314
2332
  },
@@ -2316,65 +2334,65 @@ registerExamples([
2316
2334
 
2317
2335
  var categorization = /*#__PURE__*/Object.freeze({
2318
2336
  __proto__: null,
2319
- schema: schema$u,
2320
- uischema: uischema$u,
2321
- data: data$w,
2337
+ schema: schema$x,
2338
+ uischema: uischema$x,
2339
+ data: data$z,
2322
2340
  translations: translations$1,
2323
2341
  translate: translate$1
2324
2342
  });
2325
2343
 
2326
- const schema$t = schema$u;
2327
- const uischema$t = {
2328
- ...uischema$u,
2344
+ const schema$w = schema$x;
2345
+ const uischema$w = {
2346
+ ...uischema$x,
2329
2347
  options: {
2330
2348
  variant: 'stepper',
2331
2349
  },
2332
2350
  };
2333
- const data$v = data$w;
2351
+ const data$y = data$z;
2334
2352
  registerExamples([
2335
2353
  {
2336
2354
  name: 'categorizationstepper',
2337
2355
  label: 'Categorization (Stepper)',
2338
- data: data$v,
2339
- schema: schema$t,
2340
- uischema: uischema$t,
2356
+ data: data$y,
2357
+ schema: schema$w,
2358
+ uischema: uischema$w,
2341
2359
  },
2342
2360
  ]);
2343
2361
 
2344
2362
  var categorizationStepper = /*#__PURE__*/Object.freeze({
2345
2363
  __proto__: null,
2346
- schema: schema$t,
2347
- uischema: uischema$t,
2348
- data: data$v
2364
+ schema: schema$w,
2365
+ uischema: uischema$w,
2366
+ data: data$y
2349
2367
  });
2350
2368
 
2351
- const schema$s = schema$u;
2352
- const uischema$s = {
2353
- ...uischema$u,
2369
+ const schema$v = schema$x;
2370
+ const uischema$v = {
2371
+ ...uischema$x,
2354
2372
  options: {
2355
2373
  variant: 'stepper',
2356
2374
  showNavButtons: true,
2357
2375
  },
2358
2376
  };
2359
- const data$u = data$w;
2377
+ const data$x = data$z;
2360
2378
  registerExamples([
2361
2379
  {
2362
2380
  name: 'categorization-stepper-nav-buttons',
2363
2381
  label: 'Categorization (Stepper - Nav Buttons)',
2364
- data: data$u,
2365
- schema: schema$s,
2366
- uischema: uischema$s,
2382
+ data: data$x,
2383
+ schema: schema$v,
2384
+ uischema: uischema$v,
2367
2385
  },
2368
2386
  ]);
2369
2387
 
2370
2388
  var categorizationStepperNavButtons = /*#__PURE__*/Object.freeze({
2371
2389
  __proto__: null,
2372
- schema: schema$s,
2373
- uischema: uischema$s,
2374
- data: data$u
2390
+ schema: schema$v,
2391
+ uischema: uischema$v,
2392
+ data: data$x
2375
2393
  });
2376
2394
 
2377
- const schema$r = {
2395
+ const schema$u = {
2378
2396
  type: 'object',
2379
2397
  properties: {
2380
2398
  string: {
@@ -2408,7 +2426,7 @@ const schema$r = {
2408
2426
  },
2409
2427
  },
2410
2428
  };
2411
- const uischema$r = {
2429
+ const uischema$u = {
2412
2430
  type: 'VerticalLayout',
2413
2431
  elements: [
2414
2432
  {
@@ -2445,7 +2463,7 @@ const uischema$r = {
2445
2463
  },
2446
2464
  ],
2447
2465
  };
2448
- const data$t = {
2466
+ const data$w = {
2449
2467
  string: 'This is a string',
2450
2468
  boolean: true,
2451
2469
  number: 50.5,
@@ -2558,7 +2576,7 @@ const extendedData = {
2558
2576
  const combinedSchema = {
2559
2577
  ...extendedSchema,
2560
2578
  properties: {
2561
- ...schema$r.properties,
2579
+ ...schema$u.properties,
2562
2580
  ...extendedSchema.properties,
2563
2581
  },
2564
2582
  };
@@ -2568,7 +2586,7 @@ const combinedUiSchema = {
2568
2586
  {
2569
2587
  type: 'Category',
2570
2588
  label: 'Normal controls',
2571
- elements: [uischema$r],
2589
+ elements: [uischema$u],
2572
2590
  },
2573
2591
  {
2574
2592
  type: 'Category',
@@ -2578,7 +2596,7 @@ const combinedUiSchema = {
2578
2596
  ],
2579
2597
  };
2580
2598
  const combinedData = {
2581
- ...data$t,
2599
+ ...data$w,
2582
2600
  ...extendedData,
2583
2601
  };
2584
2602
  registerExamples([
@@ -2593,15 +2611,15 @@ registerExamples([
2593
2611
 
2594
2612
  var controlOptions = /*#__PURE__*/Object.freeze({
2595
2613
  __proto__: null,
2596
- schema: schema$r,
2597
- uischema: uischema$r,
2598
- data: data$t,
2614
+ schema: schema$u,
2615
+ uischema: uischema$u,
2616
+ data: data$w,
2599
2617
  extendedSchema: extendedSchema,
2600
2618
  extendedUischema: extendedUischema,
2601
2619
  extendedData: extendedData
2602
2620
  });
2603
2621
 
2604
- const schema$q = {
2622
+ const schema$t = {
2605
2623
  type: 'object',
2606
2624
  properties: {
2607
2625
  schemaBased: {
@@ -2643,7 +2661,7 @@ const schema$q = {
2643
2661
  },
2644
2662
  },
2645
2663
  };
2646
- const uischema$q = {
2664
+ const uischema$t = {
2647
2665
  type: 'VerticalLayout',
2648
2666
  elements: [
2649
2667
  {
@@ -2702,7 +2720,7 @@ const uischema$q = {
2702
2720
  },
2703
2721
  ],
2704
2722
  };
2705
- const data$s = {
2723
+ const data$v = {
2706
2724
  schemaBased: {
2707
2725
  date: new Date().toISOString().substr(0, 10),
2708
2726
  time: '13:37:00',
@@ -2718,17 +2736,17 @@ registerExamples([
2718
2736
  {
2719
2737
  name: 'dates',
2720
2738
  label: 'Dates',
2721
- data: data$s,
2722
- schema: schema$q,
2723
- uischema: uischema$q,
2739
+ data: data$v,
2740
+ schema: schema$t,
2741
+ uischema: uischema$t,
2724
2742
  },
2725
2743
  ]);
2726
2744
 
2727
2745
  var dates = /*#__PURE__*/Object.freeze({
2728
2746
  __proto__: null,
2729
- schema: schema$q,
2730
- uischema: uischema$q,
2731
- data: data$s
2747
+ schema: schema$t,
2748
+ uischema: uischema$t,
2749
+ data: data$v
2732
2750
  });
2733
2751
 
2734
2752
  const actions$2 = [
@@ -2758,47 +2776,47 @@ var generateDynamic = /*#__PURE__*/Object.freeze({
2758
2776
  actions: actions$2
2759
2777
  });
2760
2778
 
2761
- const schema$p = undefined;
2762
- const uischema$p = undefined;
2763
- const data$r = data$E;
2779
+ const schema$s = undefined;
2780
+ const uischema$s = undefined;
2781
+ const data$u = data$H;
2764
2782
  registerExamples([
2765
2783
  {
2766
2784
  name: 'generate',
2767
2785
  label: 'Generate both Schemas',
2768
- data: data$r,
2769
- schema: schema$p,
2770
- uischema: uischema$p,
2786
+ data: data$u,
2787
+ schema: schema$s,
2788
+ uischema: uischema$s,
2771
2789
  },
2772
2790
  ]);
2773
2791
 
2774
2792
  var generate = /*#__PURE__*/Object.freeze({
2775
2793
  __proto__: null,
2776
- schema: schema$p,
2777
- uischema: uischema$p,
2778
- data: data$r
2794
+ schema: schema$s,
2795
+ uischema: uischema$s,
2796
+ data: data$u
2779
2797
  });
2780
2798
 
2781
- const schema$o = personCoreSchema;
2782
- const uischema$o = undefined;
2783
- const data$q = data$E;
2799
+ const schema$r = personCoreSchema;
2800
+ const uischema$r = undefined;
2801
+ const data$t = data$H;
2784
2802
  registerExamples([
2785
2803
  {
2786
2804
  name: 'generate-ui',
2787
2805
  label: 'Generate UI Schema',
2788
- data: data$q,
2789
- schema: schema$o,
2790
- uischema: uischema$o,
2806
+ data: data$t,
2807
+ schema: schema$r,
2808
+ uischema: uischema$r,
2791
2809
  },
2792
2810
  ]);
2793
2811
 
2794
2812
  var generateUI = /*#__PURE__*/Object.freeze({
2795
2813
  __proto__: null,
2796
- schema: schema$o,
2797
- uischema: uischema$o,
2798
- data: data$q
2814
+ schema: schema$r,
2815
+ uischema: uischema$r,
2816
+ data: data$t
2799
2817
  });
2800
2818
 
2801
- const schema$n = schema$C;
2819
+ const schema$q = schema$F;
2802
2820
  const uischemaVertical = {
2803
2821
  type: 'VerticalLayout',
2804
2822
  elements: [
@@ -2886,49 +2904,49 @@ const uischemaComplex = {
2886
2904
  },
2887
2905
  ],
2888
2906
  };
2889
- const data$p = data$E;
2907
+ const data$s = data$H;
2890
2908
  registerExamples([
2891
2909
  {
2892
2910
  name: 'layout-vertical',
2893
2911
  label: 'Layout Vertical',
2894
- data: data$p,
2895
- schema: schema$n,
2912
+ data: data$s,
2913
+ schema: schema$q,
2896
2914
  uischema: uischemaVertical,
2897
2915
  },
2898
2916
  {
2899
2917
  name: 'layout-horizontal',
2900
2918
  label: 'Layout Horizontal',
2901
- data: data$p,
2902
- schema: schema$n,
2919
+ data: data$s,
2920
+ schema: schema$q,
2903
2921
  uischema: uischemaHorizontal,
2904
2922
  },
2905
2923
  {
2906
2924
  name: 'layout-group',
2907
2925
  label: 'Layout Group',
2908
- data: data$p,
2909
- schema: schema$n,
2926
+ data: data$s,
2927
+ schema: schema$q,
2910
2928
  uischema: uischemaGroup,
2911
2929
  },
2912
2930
  {
2913
2931
  name: 'layout-complex',
2914
2932
  label: 'Layout Complex',
2915
- data: data$p,
2916
- schema: schema$n,
2933
+ data: data$s,
2934
+ schema: schema$q,
2917
2935
  uischema: uischemaComplex,
2918
2936
  },
2919
2937
  ]);
2920
2938
 
2921
2939
  var layout = /*#__PURE__*/Object.freeze({
2922
2940
  __proto__: null,
2923
- schema: schema$n,
2941
+ schema: schema$q,
2924
2942
  uischemaVertical: uischemaVertical,
2925
2943
  uischemaHorizontal: uischemaHorizontal,
2926
2944
  uischemaGroup: uischemaGroup,
2927
2945
  uischemaComplex: uischemaComplex,
2928
- data: data$p
2946
+ data: data$s
2929
2947
  });
2930
2948
 
2931
- const schema$m = {
2949
+ const schema$p = {
2932
2950
  type: 'object',
2933
2951
  required: ['age'],
2934
2952
  properties: {
@@ -2983,7 +3001,7 @@ const schema$m = {
2983
3001
  },
2984
3002
  },
2985
3003
  };
2986
- const uischema$n = {
3004
+ const uischema$q = {
2987
3005
  type: 'VerticalLayout',
2988
3006
  elements: [
2989
3007
  {
@@ -3076,7 +3094,7 @@ const uischema$n = {
3076
3094
  },
3077
3095
  ],
3078
3096
  };
3079
- const data$o = {
3097
+ const data$r = {
3080
3098
  firstName: 'Max',
3081
3099
  lastName: 'Power',
3082
3100
  committer: false,
@@ -3085,20 +3103,20 @@ registerExamples([
3085
3103
  {
3086
3104
  name: '1884',
3087
3105
  label: 'Issue 1884 - Nested enable/disable',
3088
- data: data$o,
3089
- schema: schema$m,
3090
- uischema: uischema$n,
3106
+ data: data$r,
3107
+ schema: schema$p,
3108
+ uischema: uischema$q,
3091
3109
  },
3092
3110
  ]);
3093
3111
 
3094
3112
  var _1884 = /*#__PURE__*/Object.freeze({
3095
3113
  __proto__: null,
3096
- schema: schema$m,
3097
- uischema: uischema$n,
3098
- data: data$o
3114
+ schema: schema$p,
3115
+ uischema: uischema$q,
3116
+ data: data$r
3099
3117
  });
3100
3118
 
3101
- const schema$l = {
3119
+ const schema$o = {
3102
3120
  type: 'object',
3103
3121
  properties: {
3104
3122
  name: {
@@ -3120,7 +3138,7 @@ const schema$l = {
3120
3138
  },
3121
3139
  },
3122
3140
  };
3123
- const uischema$m = {
3141
+ const uischema$p = {
3124
3142
  type: 'VerticalLayout',
3125
3143
  elements: [
3126
3144
  {
@@ -3178,7 +3196,7 @@ const uischema$m = {
3178
3196
  },
3179
3197
  ],
3180
3198
  };
3181
- const data$n = {
3199
+ const data$q = {
3182
3200
  name: 'John Doe',
3183
3201
  dead: false,
3184
3202
  vegetables: false,
@@ -3187,20 +3205,20 @@ registerExamples([
3187
3205
  {
3188
3206
  name: 'rule',
3189
3207
  label: 'Rule',
3190
- data: data$n,
3191
- schema: schema$l,
3192
- uischema: uischema$m,
3208
+ data: data$q,
3209
+ schema: schema$o,
3210
+ uischema: uischema$p,
3193
3211
  },
3194
3212
  ]);
3195
3213
 
3196
3214
  var rule = /*#__PURE__*/Object.freeze({
3197
3215
  __proto__: null,
3198
- schema: schema$l,
3199
- uischema: uischema$m,
3200
- data: data$n
3216
+ schema: schema$o,
3217
+ uischema: uischema$p,
3218
+ data: data$q
3201
3219
  });
3202
3220
 
3203
- const schema$k = {
3221
+ const schema$n = {
3204
3222
  type: 'object',
3205
3223
  properties: {
3206
3224
  toggleTopLayout: {
@@ -3220,7 +3238,7 @@ const schema$k = {
3220
3238
  },
3221
3239
  },
3222
3240
  };
3223
- const uischema$l = {
3241
+ const uischema$o = {
3224
3242
  type: 'VerticalLayout',
3225
3243
  rule: {
3226
3244
  effect: 'ENABLE',
@@ -3262,7 +3280,7 @@ const uischema$l = {
3262
3280
  },
3263
3281
  ],
3264
3282
  };
3265
- const data$m = {
3283
+ const data$p = {
3266
3284
  toggleTopLayout: true,
3267
3285
  toggleBottomLayout: true,
3268
3286
  toggleControl: true,
@@ -3294,21 +3312,21 @@ registerExamples([
3294
3312
  {
3295
3313
  name: 'rule-enable',
3296
3314
  label: 'Rule Inheritance',
3297
- data: data$m,
3298
- schema: schema$k,
3299
- uischema: uischema$l,
3315
+ data: data$p,
3316
+ schema: schema$n,
3317
+ uischema: uischema$o,
3300
3318
  actions: actions$1,
3301
3319
  },
3302
3320
  ]);
3303
3321
 
3304
3322
  var ruleInheritance = /*#__PURE__*/Object.freeze({
3305
3323
  __proto__: null,
3306
- schema: schema$k,
3307
- uischema: uischema$l,
3308
- data: data$m
3324
+ schema: schema$n,
3325
+ uischema: uischema$o,
3326
+ data: data$p
3309
3327
  });
3310
3328
 
3311
- const schema$j = {
3329
+ const schema$m = {
3312
3330
  type: 'object',
3313
3331
  properties: {
3314
3332
  postalCode: {
@@ -3323,7 +3341,7 @@ const schema$j = {
3323
3341
  },
3324
3342
  required: ['postalCode'],
3325
3343
  };
3326
- const uischema$k = {
3344
+ const uischema$n = {
3327
3345
  type: 'VerticalLayout',
3328
3346
  elements: [
3329
3347
  {
@@ -3343,7 +3361,7 @@ const uischema$k = {
3343
3361
  },
3344
3362
  ],
3345
3363
  };
3346
- const data$l = {
3364
+ const data$o = {
3347
3365
  postalCode: '12345',
3348
3366
  };
3349
3367
  const config = {
@@ -3356,28 +3374,28 @@ registerExamples([
3356
3374
  {
3357
3375
  name: 'configDefault',
3358
3376
  label: 'Configuration (Default)',
3359
- data: data$l,
3360
- schema: schema$j,
3361
- uischema: uischema$k,
3377
+ data: data$o,
3378
+ schema: schema$m,
3379
+ uischema: uischema$n,
3362
3380
  },
3363
3381
  {
3364
3382
  name: 'configCustom',
3365
3383
  label: 'Configuration (Custom)',
3366
- data: data$l,
3367
- schema: schema$j,
3368
- uischema: uischema$k,
3384
+ data: data$o,
3385
+ schema: schema$m,
3386
+ uischema: uischema$n,
3369
3387
  config,
3370
3388
  },
3371
3389
  ]);
3372
3390
 
3373
3391
  var config$1 = /*#__PURE__*/Object.freeze({
3374
3392
  __proto__: null,
3375
- schema: schema$j,
3376
- uischema: uischema$k,
3377
- data: data$l
3393
+ schema: schema$m,
3394
+ uischema: uischema$n,
3395
+ data: data$o
3378
3396
  });
3379
3397
 
3380
- const schema$i = {
3398
+ const schema$l = {
3381
3399
  type: 'object',
3382
3400
  properties: {
3383
3401
  zipCode: {
@@ -3394,7 +3412,7 @@ const schema$i = {
3394
3412
  },
3395
3413
  },
3396
3414
  };
3397
- const uischema$j = {
3415
+ const uischema$m = {
3398
3416
  type: 'VerticalLayout',
3399
3417
  elements: [
3400
3418
  {
@@ -3431,7 +3449,7 @@ const uischema$j = {
3431
3449
  },
3432
3450
  ],
3433
3451
  };
3434
- const data$k = {
3452
+ const data$n = {
3435
3453
  zipCode: '12345',
3436
3454
  zipCodeWithoutTrim: '12345678',
3437
3455
  zipCodeWithoutRestrict: '12345678',
@@ -3440,20 +3458,20 @@ registerExamples([
3440
3458
  {
3441
3459
  name: 'text',
3442
3460
  label: 'Text Control Options',
3443
- data: data$k,
3444
- schema: schema$i,
3445
- uischema: uischema$j,
3461
+ data: data$n,
3462
+ schema: schema$l,
3463
+ uischema: uischema$m,
3446
3464
  },
3447
3465
  ]);
3448
3466
 
3449
3467
  var text = /*#__PURE__*/Object.freeze({
3450
3468
  __proto__: null,
3451
- schema: schema$i,
3452
- uischema: uischema$j,
3453
- data: data$k
3469
+ schema: schema$l,
3470
+ uischema: uischema$m,
3471
+ data: data$n
3454
3472
  });
3455
3473
 
3456
- const schema$h = {
3474
+ const schema$k = {
3457
3475
  type: 'object',
3458
3476
  properties: {
3459
3477
  price: {
@@ -3470,7 +3488,7 @@ const schema$h = {
3470
3488
  },
3471
3489
  },
3472
3490
  };
3473
- const uischema$i = {
3491
+ const uischema$l = {
3474
3492
  type: 'VerticalLayout',
3475
3493
  elements: [
3476
3494
  {
@@ -3503,22 +3521,22 @@ const uischema$i = {
3503
3521
  },
3504
3522
  ],
3505
3523
  };
3506
- const data$j = {};
3524
+ const data$m = {};
3507
3525
  registerExamples([
3508
3526
  {
3509
3527
  name: 'numbers',
3510
3528
  label: 'Numbers',
3511
- data: data$j,
3512
- schema: schema$h,
3513
- uischema: uischema$i,
3529
+ data: data$m,
3530
+ schema: schema$k,
3531
+ uischema: uischema$l,
3514
3532
  },
3515
3533
  ]);
3516
3534
 
3517
3535
  var numbers = /*#__PURE__*/Object.freeze({
3518
3536
  __proto__: null,
3519
- schema: schema$h,
3520
- uischema: uischema$i,
3521
- data: data$j
3537
+ schema: schema$k,
3538
+ uischema: uischema$l,
3539
+ data: data$m
3522
3540
  });
3523
3541
 
3524
3542
  const orderSchema = {
@@ -3552,7 +3570,7 @@ const orderSchema = {
3552
3570
  },
3553
3571
  },
3554
3572
  };
3555
- const uischema$h = {
3573
+ const uischema$k = {
3556
3574
  type: 'VerticalLayout',
3557
3575
  elements: [
3558
3576
  {
@@ -3587,7 +3605,7 @@ const uischema$h = {
3587
3605
  },
3588
3606
  ],
3589
3607
  };
3590
- const data$i = {
3608
+ const data$l = {
3591
3609
  orderId: '123456',
3592
3610
  purchaseDate: '1985-06-02',
3593
3611
  price: 16,
@@ -3600,20 +3618,20 @@ registerExamples([
3600
3618
  {
3601
3619
  name: 'scope',
3602
3620
  label: 'Scope',
3603
- data: data$i,
3621
+ data: data$l,
3604
3622
  schema: orderSchema,
3605
- uischema: uischema$h,
3623
+ uischema: uischema$k,
3606
3624
  },
3607
3625
  ]);
3608
3626
 
3609
3627
  var scope = /*#__PURE__*/Object.freeze({
3610
3628
  __proto__: null,
3611
3629
  orderSchema: orderSchema,
3612
- uischema: uischema$h,
3613
- data: data$i
3630
+ uischema: uischema$k,
3631
+ data: data$l
3614
3632
  });
3615
3633
 
3616
- const data$h = {
3634
+ const data$k = {
3617
3635
  orders: [
3618
3636
  {
3619
3637
  customer: {
@@ -3642,7 +3660,7 @@ const data$h = {
3642
3660
  },
3643
3661
  ],
3644
3662
  };
3645
- const schema$g = {
3663
+ const schema$j = {
3646
3664
  definitions: {
3647
3665
  order: {
3648
3666
  type: 'object',
@@ -3692,7 +3710,7 @@ const schema$g = {
3692
3710
  },
3693
3711
  },
3694
3712
  };
3695
- const uischema$g = {
3713
+ const uischema$j = {
3696
3714
  type: 'ListWithDetail',
3697
3715
  scope: '#/properties/orders',
3698
3716
  options: {
@@ -3873,30 +3891,30 @@ registerExamples([
3873
3891
  {
3874
3892
  name: 'list-with-detail',
3875
3893
  label: 'List With Detail',
3876
- data: data$h,
3877
- schema: schema$g,
3878
- uischema: uischema$g,
3894
+ data: data$k,
3895
+ schema: schema$j,
3896
+ uischema: uischema$j,
3879
3897
  },
3880
3898
  ]);
3881
3899
  registerExamples([
3882
3900
  {
3883
3901
  name: 'list-with-detail-no-labelref',
3884
3902
  label: 'List With Detail (No Label Ref)',
3885
- data: data$h,
3886
- schema: schema$g,
3903
+ data: data$k,
3904
+ schema: schema$j,
3887
3905
  uischema: uischemaNoLabelRef,
3888
3906
  },
3889
3907
  ]);
3890
3908
 
3891
3909
  var listWithDetail = /*#__PURE__*/Object.freeze({
3892
3910
  __proto__: null,
3893
- data: data$h,
3894
- schema: schema$g,
3895
- uischema: uischema$g,
3911
+ data: data$k,
3912
+ schema: schema$j,
3913
+ uischema: uischema$j,
3896
3914
  uischemaNoLabelRef: uischemaNoLabelRef
3897
3915
  });
3898
3916
 
3899
- const data$g = {
3917
+ const data$j = {
3900
3918
  warehouseitems: [
3901
3919
  {
3902
3920
  name: 'Fantasy Book',
@@ -3924,7 +3942,7 @@ const data$g = {
3924
3942
  },
3925
3943
  ],
3926
3944
  };
3927
- const schema$f = {
3945
+ const schema$i = {
3928
3946
  definitions: {
3929
3947
  warehouseitem: {
3930
3948
  type: 'object',
@@ -3955,7 +3973,7 @@ const schema$f = {
3955
3973
  },
3956
3974
  },
3957
3975
  };
3958
- const uischema$f = {
3976
+ const uischema$i = {
3959
3977
  type: 'ListWithDetail',
3960
3978
  scope: '#/properties/warehouseitems',
3961
3979
  options: {
@@ -3966,20 +3984,20 @@ registerExamples([
3966
3984
  {
3967
3985
  name: 'list-with-detail-registered',
3968
3986
  label: 'List With Detail (Registered Detail UISchema)',
3969
- data: data$g,
3970
- schema: schema$f,
3971
- uischema: uischema$f,
3987
+ data: data$j,
3988
+ schema: schema$i,
3989
+ uischema: uischema$i,
3972
3990
  },
3973
3991
  ]);
3974
3992
 
3975
3993
  var listWithDetailRegistered = /*#__PURE__*/Object.freeze({
3976
3994
  __proto__: null,
3977
- data: data$g,
3978
- schema: schema$f,
3979
- uischema: uischema$f
3995
+ data: data$j,
3996
+ schema: schema$i,
3997
+ uischema: uischema$i
3980
3998
  });
3981
3999
 
3982
- const schema$e = {
4000
+ const schema$h = {
3983
4001
  $schema: 'http://json-schema.org/draft-07/schema#',
3984
4002
  type: 'object',
3985
4003
  properties: {
@@ -4040,7 +4058,7 @@ const uischemaNonRoot = {
4040
4058
  },
4041
4059
  ],
4042
4060
  };
4043
- const data$f = {
4061
+ const data$i = {
4044
4062
  address: {
4045
4063
  street_address: '1600 Pennsylvania Avenue NW',
4046
4064
  city: 'Washington',
@@ -4051,27 +4069,26 @@ registerExamples([
4051
4069
  {
4052
4070
  name: 'rootObject',
4053
4071
  label: 'Object - Root Scope',
4054
- data: data$f,
4055
- schema: schema$e,
4072
+ data: data$i,
4073
+ schema: schema$h,
4056
4074
  uischema: uischemaRoot,
4057
4075
  },
4058
4076
  {
4059
4077
  name: 'object',
4060
4078
  label: 'Object',
4061
- data: data$f,
4062
- schema: schema$e,
4079
+ data: data$i,
4080
+ schema: schema$h,
4063
4081
  uischema: uischemaNonRoot,
4064
4082
  },
4065
4083
  ]);
4066
4084
 
4067
4085
  var object = /*#__PURE__*/Object.freeze({
4068
4086
  __proto__: null,
4069
- schema: schema$e,
4087
+ schema: schema$h,
4070
4088
  uischemaRoot: uischemaRoot,
4071
4089
  uischemaNonRoot: uischemaNonRoot
4072
4090
  });
4073
4091
 
4074
- const localize = require('ajv-i18n');
4075
4092
  const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
4076
4093
  if (!extensionState) {
4077
4094
  return;
@@ -4080,7 +4097,7 @@ const onChange$2 = (dispatch) => (extensionState) => ({ errors }) => {
4080
4097
  localiseFunc(errors);
4081
4098
  dispatch(updateErrors(errors));
4082
4099
  };
4083
- const uischema$e = {
4100
+ const uischema$h = {
4084
4101
  type: 'VerticalLayout',
4085
4102
  elements: [
4086
4103
  {
@@ -4116,7 +4133,7 @@ const uischema$e = {
4116
4133
  },
4117
4134
  ],
4118
4135
  };
4119
- const data$e = {
4136
+ const data$h = {
4120
4137
  vegetarian: false,
4121
4138
  birthDate: '1985-06-02',
4122
4139
  personalData: {
@@ -4137,9 +4154,9 @@ registerExamples([
4137
4154
  {
4138
4155
  name: 'i18n',
4139
4156
  label: 'Person (i18n)',
4140
- data: data$e,
4157
+ data: data$h,
4141
4158
  schema: personCoreSchema,
4142
- uischema: uischema$e,
4159
+ uischema: uischema$h,
4143
4160
  i18n: {
4144
4161
  translate: translate,
4145
4162
  locale: 'en',
@@ -4150,13 +4167,13 @@ registerExamples([
4150
4167
  var i18n = /*#__PURE__*/Object.freeze({
4151
4168
  __proto__: null,
4152
4169
  onChange: onChange$2,
4153
- uischema: uischema$e,
4154
- data: data$e,
4170
+ uischema: uischema$h,
4171
+ data: data$h,
4155
4172
  translations: translations,
4156
4173
  translate: translate
4157
4174
  });
4158
4175
 
4159
- const schema$d = {
4176
+ const schema$g = {
4160
4177
  type: 'object',
4161
4178
  definitions: {
4162
4179
  import: {
@@ -4187,8 +4204,8 @@ const schema$d = {
4187
4204
  },
4188
4205
  },
4189
4206
  };
4190
- const uischema$d = undefined;
4191
- const data$d = {
4207
+ const uischema$g = undefined;
4208
+ const data$g = {
4192
4209
  import: [
4193
4210
  {
4194
4211
  document: 'Document1',
@@ -4201,27 +4218,27 @@ registerExamples([
4201
4218
  {
4202
4219
  name: '1948_with',
4203
4220
  label: 'Issue 1948 - Array renderer selection (with schema)',
4204
- data: data$d,
4205
- schema: schema$d,
4206
- uischema: uischema$d,
4221
+ data: data$g,
4222
+ schema: schema$g,
4223
+ uischema: uischema$g,
4207
4224
  },
4208
4225
  {
4209
4226
  name: '1948_without',
4210
4227
  label: 'Issue 1948 - Array renderer selection (w/o schema)',
4211
- data: data$d,
4228
+ data: data$g,
4212
4229
  schema: undefined,
4213
- uischema: uischema$d,
4230
+ uischema: uischema$g,
4214
4231
  },
4215
4232
  ]);
4216
4233
 
4217
4234
  var _1948 = /*#__PURE__*/Object.freeze({
4218
4235
  __proto__: null,
4219
- schema: schema$d,
4220
- uischema: uischema$d,
4221
- data: data$d
4236
+ schema: schema$g,
4237
+ uischema: uischema$g,
4238
+ data: data$g
4222
4239
  });
4223
4240
 
4224
- const schema$c = {
4241
+ const schema$f = {
4225
4242
  $schema: 'http://json-schema.org/draft-07/schema#',
4226
4243
  definitions: {
4227
4244
  fileOrFolder: {
@@ -4259,28 +4276,28 @@ const schema$c = {
4259
4276
  },
4260
4277
  },
4261
4278
  };
4262
- const uischema$c = {
4279
+ const uischema$f = {
4263
4280
  type: 'Control',
4264
4281
  scope: '#',
4265
4282
  };
4266
- const data$c = {};
4283
+ const data$f = {};
4267
4284
  registerExamples([
4268
4285
  {
4269
4286
  name: 'oneOf-recursive',
4270
4287
  label: 'oneOf recursive',
4271
- data: data$c,
4272
- schema: schema$c,
4273
- uischema: uischema$c,
4288
+ data: data$f,
4289
+ schema: schema$f,
4290
+ uischema: uischema$f,
4274
4291
  },
4275
4292
  ]);
4276
4293
 
4277
4294
  var oneOfRecursive = /*#__PURE__*/Object.freeze({
4278
4295
  __proto__: null,
4279
- schema: schema$c,
4280
- uischema: uischema$c
4296
+ schema: schema$f,
4297
+ uischema: uischema$f
4281
4298
  });
4282
4299
 
4283
- const schema$b = {
4300
+ const schema$e = {
4284
4301
  $schema: 'http://json-schema.org/schema#',
4285
4302
  definitions: {
4286
4303
  confidenceTypes: {
@@ -5245,7 +5262,7 @@ const schema$b = {
5245
5262
  attribution: { $ref: '#/definitions/attribution' },
5246
5263
  },
5247
5264
  };
5248
- const data$b = {
5265
+ const data$e = {
5249
5266
  attribution: {
5250
5267
  contributor: {
5251
5268
  resource: '#A-1',
@@ -5575,7 +5592,7 @@ const data$b = {
5575
5592
  },
5576
5593
  ],
5577
5594
  };
5578
- const uischema$b = {
5595
+ const uischema$e = {
5579
5596
  type: 'Categorization',
5580
5597
  elements: [
5581
5598
  {
@@ -5633,18 +5650,18 @@ registerExamples([
5633
5650
  {
5634
5651
  name: 'huge',
5635
5652
  label: 'Huge Test',
5636
- data: data$b,
5637
- schema: schema$b,
5638
- uischema: uischema$b,
5653
+ data: data$e,
5654
+ schema: schema$e,
5655
+ uischema: uischema$e,
5639
5656
  },
5640
5657
  ]);
5641
5658
 
5642
5659
  var huge = /*#__PURE__*/Object.freeze({
5643
5660
  __proto__: null,
5644
- uischema: uischema$b
5661
+ uischema: uischema$e
5645
5662
  });
5646
5663
 
5647
- const schema$a = {
5664
+ const schema$d = {
5648
5665
  type: 'object',
5649
5666
  properties: {
5650
5667
  name: {
@@ -5678,7 +5695,7 @@ const schema$a = {
5678
5695
  },
5679
5696
  required: ['name', 'name_noDefault'],
5680
5697
  };
5681
- const uischema$a = {
5698
+ const uischema$d = {
5682
5699
  type: 'VerticalLayout',
5683
5700
  elements: [
5684
5701
  {
@@ -5715,7 +5732,7 @@ const uischema$a = {
5715
5732
  },
5716
5733
  ],
5717
5734
  };
5718
- const data$a = {
5735
+ const data$d = {
5719
5736
  name: 'Send email to Adrian',
5720
5737
  name_noDefault: 'Send email to Adrian',
5721
5738
  description: 'Confirm if you have passed the subject\nHereby ...',
@@ -5728,17 +5745,17 @@ registerExamples([
5728
5745
  {
5729
5746
  name: 'default',
5730
5747
  label: 'Default',
5731
- data: data$a,
5732
- schema: schema$a,
5733
- uischema: uischema$a,
5748
+ data: data$d,
5749
+ schema: schema$d,
5750
+ uischema: uischema$d,
5734
5751
  },
5735
5752
  ]);
5736
5753
 
5737
5754
  var _default = /*#__PURE__*/Object.freeze({
5738
5755
  __proto__: null,
5739
- schema: schema$a,
5740
- uischema: uischema$a,
5741
- data: data$a
5756
+ schema: schema$d,
5757
+ uischema: uischema$d,
5758
+ data: data$d
5742
5759
  });
5743
5760
 
5744
5761
  const touchedProperties = {
@@ -5754,7 +5771,7 @@ const onChange = (dispatch) => (_) => ({ data, errors }) => {
5754
5771
  return dispatch(updateErrors(newErrors));
5755
5772
  }
5756
5773
  };
5757
- const schema$9 = {
5774
+ const schema$c = {
5758
5775
  type: 'object',
5759
5776
  properties: {
5760
5777
  name: {
@@ -5768,27 +5785,27 @@ const schema$9 = {
5768
5785
  },
5769
5786
  required: ['name', 'description'],
5770
5787
  };
5771
- const uischema$9 = undefined;
5772
- const data$9 = {};
5788
+ const uischema$c = undefined;
5789
+ const data$c = {};
5773
5790
  registerExamples([
5774
5791
  {
5775
5792
  name: 'onChange',
5776
5793
  label: 'On Change Listener',
5777
- data: data$9,
5778
- schema: schema$9,
5779
- uischema: uischema$9,
5794
+ data: data$c,
5795
+ schema: schema$c,
5796
+ uischema: uischema$c,
5780
5797
  },
5781
5798
  ]);
5782
5799
 
5783
5800
  var onChange$1 = /*#__PURE__*/Object.freeze({
5784
5801
  __proto__: null,
5785
5802
  onChange: onChange,
5786
- schema: schema$9,
5787
- uischema: uischema$9,
5788
- data: data$9
5803
+ schema: schema$c,
5804
+ uischema: uischema$c,
5805
+ data: data$c
5789
5806
  });
5790
5807
 
5791
- const schema$8 = {
5808
+ const schema$b = {
5792
5809
  type: 'object',
5793
5810
  properties: {
5794
5811
  plainEnum: {
@@ -5832,7 +5849,7 @@ const schema$8 = {
5832
5849
  },
5833
5850
  },
5834
5851
  };
5835
- const uischema$8 = {
5852
+ const uischema$b = {
5836
5853
  type: 'VerticalLayout',
5837
5854
  elements: [
5838
5855
  {
@@ -5905,7 +5922,7 @@ const uischema$8 = {
5905
5922
  },
5906
5923
  ],
5907
5924
  };
5908
- const data$8 = {
5925
+ const data$b = {
5909
5926
  plainEnumSet: 'foo',
5910
5927
  enumWithError: 'bogus',
5911
5928
  oneOfEnumSet: 'bar',
@@ -5915,21 +5932,21 @@ registerExamples([
5915
5932
  {
5916
5933
  name: 'enum',
5917
5934
  label: 'Enums',
5918
- data: data$8,
5919
- schema: schema$8,
5920
- uischema: uischema$8,
5935
+ data: data$b,
5936
+ schema: schema$b,
5937
+ uischema: uischema$b,
5921
5938
  },
5922
5939
  ]);
5923
5940
 
5924
5941
  var _enum = /*#__PURE__*/Object.freeze({
5925
5942
  __proto__: null,
5926
- schema: schema$8,
5927
- uischema: uischema$8,
5928
- data: data$8
5943
+ schema: schema$b,
5944
+ uischema: uischema$b,
5945
+ data: data$b
5929
5946
  });
5930
5947
 
5931
- const data$7 = {};
5932
- const schema$7 = {
5948
+ const data$a = {};
5949
+ const schema$a = {
5933
5950
  type: 'object',
5934
5951
  properties: {
5935
5952
  exampleRadioEnum: {
@@ -5946,7 +5963,7 @@ const schema$7 = {
5946
5963
  },
5947
5964
  },
5948
5965
  };
5949
- const uischema$7 = {
5966
+ const uischema$a = {
5950
5967
  type: 'VerticalLayout',
5951
5968
  elements: [
5952
5969
  {
@@ -5982,20 +5999,20 @@ registerExamples([
5982
5999
  {
5983
6000
  name: 'radio-group',
5984
6001
  label: 'Radio Group',
5985
- data: data$7,
5986
- schema: schema$7,
5987
- uischema: uischema$7,
6002
+ data: data$a,
6003
+ schema: schema$a,
6004
+ uischema: uischema$a,
5988
6005
  },
5989
6006
  ]);
5990
6007
 
5991
6008
  var radioGroup = /*#__PURE__*/Object.freeze({
5992
6009
  __proto__: null,
5993
- data: data$7,
5994
- schema: schema$7,
5995
- uischema: uischema$7
6010
+ data: data$a,
6011
+ schema: schema$a,
6012
+ uischema: uischema$a
5996
6013
  });
5997
6014
 
5998
- const schema$6 = {
6015
+ const schema$9 = {
5999
6016
  type: 'object',
6000
6017
  properties: {
6001
6018
  oneOfMultiEnum: {
@@ -6019,7 +6036,7 @@ const schema$6 = {
6019
6036
  },
6020
6037
  },
6021
6038
  };
6022
- const uischema$6 = {
6039
+ const uischema$9 = {
6023
6040
  type: 'VerticalLayout',
6024
6041
  elements: [
6025
6042
  {
@@ -6032,25 +6049,25 @@ const uischema$6 = {
6032
6049
  },
6033
6050
  ],
6034
6051
  };
6035
- const data$6 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
6052
+ const data$9 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
6036
6053
  registerExamples([
6037
6054
  {
6038
6055
  name: 'multi-enum',
6039
6056
  label: 'Enum - Multi selection',
6040
- data: data$6,
6041
- schema: schema$6,
6042
- uischema: uischema$6,
6057
+ data: data$9,
6058
+ schema: schema$9,
6059
+ uischema: uischema$9,
6043
6060
  },
6044
6061
  ]);
6045
6062
 
6046
6063
  var enumMulti = /*#__PURE__*/Object.freeze({
6047
6064
  __proto__: null,
6048
- schema: schema$6,
6049
- uischema: uischema$6,
6050
- data: data$6
6065
+ schema: schema$9,
6066
+ uischema: uischema$9,
6067
+ data: data$9
6051
6068
  });
6052
6069
 
6053
- const schema$5 = {
6070
+ const schema$8 = {
6054
6071
  type: 'array',
6055
6072
  items: {
6056
6073
  type: 'object',
@@ -6070,7 +6087,7 @@ const schema$5 = {
6070
6087
  },
6071
6088
  },
6072
6089
  };
6073
- const uischema$5 = {
6090
+ const uischema$8 = {
6074
6091
  type: 'VerticalLayout',
6075
6092
  elements: [
6076
6093
  {
@@ -6079,25 +6096,25 @@ const uischema$5 = {
6079
6096
  },
6080
6097
  ],
6081
6098
  };
6082
- const data$5 = [];
6099
+ const data$8 = [];
6083
6100
  registerExamples([
6084
6101
  {
6085
6102
  name: 'enumInArray',
6086
6103
  label: 'Array containing enums',
6087
- data: data$5,
6088
- schema: schema$5,
6089
- uischema: uischema$5,
6104
+ data: data$8,
6105
+ schema: schema$8,
6106
+ uischema: uischema$8,
6090
6107
  },
6091
6108
  ]);
6092
6109
 
6093
6110
  var enumInArray = /*#__PURE__*/Object.freeze({
6094
6111
  __proto__: null,
6095
- schema: schema$5,
6096
- uischema: uischema$5,
6097
- data: data$5
6112
+ schema: schema$8,
6113
+ uischema: uischema$8,
6114
+ data: data$8
6098
6115
  });
6099
6116
 
6100
- const schema$4 = {
6117
+ const schema$7 = {
6101
6118
  type: 'object',
6102
6119
  properties: {
6103
6120
  readonly: {
@@ -6112,7 +6129,7 @@ const schema$4 = {
6112
6129
  },
6113
6130
  },
6114
6131
  };
6115
- const uischema$4 = {
6132
+ const uischema$7 = {
6116
6133
  type: 'VerticalLayout',
6117
6134
  elements: [
6118
6135
  {
@@ -6135,7 +6152,7 @@ const uischema$4 = {
6135
6152
  },
6136
6153
  ],
6137
6154
  };
6138
- const data$4 = {
6155
+ const data$7 = {
6139
6156
  readonly: 'readonly by schema',
6140
6157
  readonlyByUISchema: 'readonly by ui schema',
6141
6158
  notReadonly: 'normal field',
@@ -6144,23 +6161,23 @@ registerExamples([
6144
6161
  {
6145
6162
  name: 'Readonly Fields',
6146
6163
  label: 'Readonly examples',
6147
- data: data$4,
6148
- schema: schema$4,
6149
- uischema: uischema$4,
6164
+ data: data$7,
6165
+ schema: schema$7,
6166
+ uischema: uischema$7,
6150
6167
  },
6151
6168
  ]);
6152
6169
 
6153
6170
  var readonly = /*#__PURE__*/Object.freeze({
6154
6171
  __proto__: null,
6155
- schema: schema$4,
6156
- uischema: uischema$4,
6157
- data: data$4
6172
+ schema: schema$7,
6173
+ uischema: uischema$7,
6174
+ data: data$7
6158
6175
  });
6159
6176
 
6160
- const data$3 = {
6177
+ const data$6 = {
6161
6178
  'an-array-of-strings': ['foo', 'bar', 'foobar'],
6162
6179
  };
6163
- const schema$3 = {
6180
+ const schema$6 = {
6164
6181
  type: 'object',
6165
6182
  properties: {
6166
6183
  'an-array-of-strings': {
@@ -6171,7 +6188,7 @@ const schema$3 = {
6171
6188
  },
6172
6189
  },
6173
6190
  };
6174
- const uischema$3 = {
6191
+ const uischema$6 = {
6175
6192
  type: 'ListWithDetail',
6176
6193
  scope: '#/properties/an-array-of-strings',
6177
6194
  };
@@ -6179,9 +6196,9 @@ registerExamples([
6179
6196
  {
6180
6197
  name: 'list-with-detail-primitive-string',
6181
6198
  label: 'List With Detail primitive (string)',
6182
- data: data$3,
6183
- schema: schema$3,
6184
- uischema: uischema$3,
6199
+ data: data$6,
6200
+ schema: schema$6,
6201
+ uischema: uischema$6,
6185
6202
  },
6186
6203
  ]);
6187
6204
  const data_number = {
@@ -6214,15 +6231,15 @@ registerExamples([
6214
6231
 
6215
6232
  var listWithDetailPrimitives = /*#__PURE__*/Object.freeze({
6216
6233
  __proto__: null,
6217
- data: data$3,
6218
- schema: schema$3,
6219
- uischema: uischema$3,
6234
+ data: data$6,
6235
+ schema: schema$6,
6236
+ uischema: uischema$6,
6220
6237
  data_number: data_number,
6221
6238
  schema_number: schema_number,
6222
6239
  uischema_number: uischema_number
6223
6240
  });
6224
6241
 
6225
- const schema$2 = {
6242
+ const schema$5 = {
6226
6243
  type: 'object',
6227
6244
  properties: {
6228
6245
  name: {
@@ -6257,7 +6274,7 @@ const schema$2 = {
6257
6274
  },
6258
6275
  ],
6259
6276
  };
6260
- const uischema$2 = {
6277
+ const uischema$5 = {
6261
6278
  type: 'HorizontalLayout',
6262
6279
  elements: [
6263
6280
  {
@@ -6301,21 +6318,21 @@ const uischema$2 = {
6301
6318
  },
6302
6319
  ],
6303
6320
  };
6304
- const data$2 = {};
6321
+ const data$5 = {};
6305
6322
  registerExamples([
6306
6323
  {
6307
6324
  name: 'conditional-schema-compositions',
6308
6325
  label: 'Conditional Schema Compositions',
6309
- data: data$2,
6310
- schema: schema$2,
6311
- uischema: uischema$2,
6326
+ data: data$5,
6327
+ schema: schema$5,
6328
+ uischema: uischema$5,
6312
6329
  },
6313
6330
  ]);
6314
6331
 
6315
6332
  var conditionalSchemaCompositions = /*#__PURE__*/Object.freeze({
6316
6333
  __proto__: null,
6317
- schema: schema$2,
6318
- uischema: uischema$2
6334
+ schema: schema$5,
6335
+ uischema: uischema$5
6319
6336
  });
6320
6337
 
6321
6338
  const additionalErrors = [];
@@ -6341,9 +6358,9 @@ registerExamples([
6341
6358
  {
6342
6359
  name: 'additional-errors',
6343
6360
  label: 'Additional errors',
6344
- data: data$E,
6345
- schema: schema$C,
6346
- uischema: uischema$C,
6361
+ data: data$H,
6362
+ schema: schema$F,
6363
+ uischema: uischema$F,
6347
6364
  actions,
6348
6365
  },
6349
6366
  ]);
@@ -6354,7 +6371,7 @@ var additionalErrors$1 = /*#__PURE__*/Object.freeze({
6354
6371
  actions: actions
6355
6372
  });
6356
6373
 
6357
- const schema$1 = {
6374
+ const schema$4 = {
6358
6375
  type: 'object',
6359
6376
  properties: {
6360
6377
  oneOfMultiEnum: {
@@ -6380,7 +6397,7 @@ const schema$1 = {
6380
6397
  },
6381
6398
  },
6382
6399
  };
6383
- const uischema$1 = {
6400
+ const uischema$4 = {
6384
6401
  type: 'VerticalLayout',
6385
6402
  elements: [
6386
6403
  {
@@ -6401,18 +6418,210 @@ const uischema$1 = {
6401
6418
  },
6402
6419
  ],
6403
6420
  };
6404
- const data$1 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
6421
+ const data$4 = { oneOfMultiEnum: ['foo'], multiEnum: ['bar'] };
6405
6422
  registerExamples([
6406
6423
  {
6407
6424
  name: 'multi-enum-with-label-and-desc',
6408
6425
  label: 'Enum - Multi selection with label and desc',
6426
+ data: data$4,
6427
+ schema: schema$4,
6428
+ uischema: uischema$4,
6429
+ },
6430
+ ]);
6431
+
6432
+ var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
6433
+ __proto__: null,
6434
+ schema: schema$4,
6435
+ uischema: uischema$4,
6436
+ data: data$4
6437
+ });
6438
+
6439
+ const schema$3 = {
6440
+ $schema: 'http://json-schema.org/draft-07/schema#',
6441
+ type: 'object',
6442
+ properties: {
6443
+ propertiesString: {
6444
+ type: 'string',
6445
+ },
6446
+ },
6447
+ propertyNames: {
6448
+ minLength: 2,
6449
+ },
6450
+ patternProperties: {
6451
+ '^string$': {
6452
+ type: 'string',
6453
+ },
6454
+ '^number$': {
6455
+ type: 'number',
6456
+ },
6457
+ '^integer$': {
6458
+ type: 'integer',
6459
+ },
6460
+ '^object$': {
6461
+ type: 'object',
6462
+ properties: {
6463
+ prop1: {
6464
+ type: 'string',
6465
+ },
6466
+ },
6467
+ },
6468
+ '^boolean$': {
6469
+ type: 'boolean',
6470
+ },
6471
+ '^stringArray$': {
6472
+ type: 'array',
6473
+ items: {
6474
+ type: 'string',
6475
+ },
6476
+ },
6477
+ '^numberArray$': {
6478
+ type: 'array',
6479
+ items: {
6480
+ type: 'number',
6481
+ },
6482
+ },
6483
+ '^integerArray$': {
6484
+ type: 'array',
6485
+ items: {
6486
+ type: 'integer',
6487
+ },
6488
+ },
6489
+ '^objectArray$': {
6490
+ type: 'array',
6491
+ items: {
6492
+ type: 'object',
6493
+ properties: {
6494
+ prop1: {
6495
+ type: 'string',
6496
+ },
6497
+ },
6498
+ },
6499
+ },
6500
+ '^booleanArray$': {
6501
+ type: 'array',
6502
+ items: {
6503
+ type: 'boolean',
6504
+ },
6505
+ },
6506
+ },
6507
+ additionalProperties: {
6508
+ type: 'string',
6509
+ title: 'Additional Properties',
6510
+ },
6511
+ maxProperties: 15,
6512
+ };
6513
+ const uischema$3 = {
6514
+ type: 'Control',
6515
+ scope: '#/',
6516
+ };
6517
+ const data$3 = {
6518
+ propertiesString: 'data',
6519
+ string: 'string value',
6520
+ number: 10.2,
6521
+ integer: 11,
6522
+ object: {
6523
+ prop1: 'prop 1 value',
6524
+ },
6525
+ boolean: true,
6526
+ stringArray: ['value1', 'value2'],
6527
+ numberArray: [12.2],
6528
+ integerArray: [33],
6529
+ objectArray: [{ prop1: 'prop1 val' }, {}],
6530
+ booleanArray: [false, true],
6531
+ };
6532
+ registerExamples([
6533
+ {
6534
+ name: 'additional-properties',
6535
+ label: 'Additional Properties',
6536
+ data: data$3,
6537
+ schema: schema$3,
6538
+ uischema: uischema$3,
6539
+ },
6540
+ ]);
6541
+
6542
+ var additionalProperties = /*#__PURE__*/Object.freeze({
6543
+ __proto__: null,
6544
+ schema: schema$3,
6545
+ uischema: uischema$3
6546
+ });
6547
+
6548
+ const schema$2 = {
6549
+ type: 'object',
6550
+ properties: {
6551
+ username: {
6552
+ type: 'string',
6553
+ description: 'Login Name',
6554
+ },
6555
+ password: {
6556
+ type: 'string',
6557
+ format: 'password',
6558
+ description: 'Login password',
6559
+ },
6560
+ },
6561
+ required: ['username', 'password'],
6562
+ };
6563
+ const uischema$2 = {
6564
+ type: 'VerticalLayout',
6565
+ elements: [
6566
+ {
6567
+ type: 'Label',
6568
+ text: 'Login Information',
6569
+ },
6570
+ {
6571
+ type: 'HorizontalLayout',
6572
+ elements: [
6573
+ {
6574
+ type: 'Control',
6575
+ scope: '#/properties/username',
6576
+ },
6577
+ {
6578
+ type: 'Control',
6579
+ scope: '#/properties/password',
6580
+ },
6581
+ ],
6582
+ },
6583
+ ],
6584
+ };
6585
+ const data$2 = {
6586
+ username: 'john.doe@email.com',
6587
+ };
6588
+ registerExamples([
6589
+ {
6590
+ name: 'login',
6591
+ label: 'Login Form',
6592
+ data: data$2,
6593
+ schema: schema$2,
6594
+ uischema: uischema$2,
6595
+ },
6596
+ ]);
6597
+
6598
+ var login = /*#__PURE__*/Object.freeze({
6599
+ __proto__: null,
6600
+ schema: schema$2,
6601
+ uischema: uischema$2
6602
+ });
6603
+
6604
+ const schema$1 = {
6605
+ type: 'string',
6606
+ title: 'String',
6607
+ description: 'The form output will be a string',
6608
+ };
6609
+ const uischema$1 = {
6610
+ type: 'Control',
6611
+ scope: '#/',
6612
+ };
6613
+ const data$1 = 'This is a test string';
6614
+ registerExamples([
6615
+ {
6616
+ name: 'string',
6617
+ label: 'String',
6409
6618
  data: data$1,
6410
6619
  schema: schema$1,
6411
6620
  uischema: uischema$1,
6412
6621
  },
6413
6622
  ]);
6414
6623
 
6415
- var enumMultiWithLabelAndDesc = /*#__PURE__*/Object.freeze({
6624
+ var string = /*#__PURE__*/Object.freeze({
6416
6625
  __proto__: null,
6417
6626
  schema: schema$1,
6418
6627
  uischema: uischema$1,
@@ -6447,5 +6656,5 @@ var if_then_else = /*#__PURE__*/Object.freeze({
6447
6656
  data: data
6448
6657
  });
6449
6658
 
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 };
6659
+ 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
6660
  //# sourceMappingURL=jsonforms-examples.esm.js.map