@jsonforms/examples 3.1.0-alpha.0 → 3.1.0-alpha.2

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.
Files changed (111) hide show
  1. package/.eslintrc.js +29 -0
  2. package/.prettierrc.js +6 -0
  3. package/README.md +2 -2
  4. package/docs/assets/js/search.json +1 -1
  5. package/docs/globals.html +2011 -3265
  6. package/docs/index.html +1 -31
  7. package/lib/examples/1884.d.ts +8 -0
  8. package/lib/examples/additional-errors.d.ts +16 -1
  9. package/lib/examples/anyOf.d.ts +15 -2
  10. package/lib/examples/arraysI18n.d.ts +52 -0
  11. package/lib/examples/control-options.d.ts +1 -0
  12. package/lib/examples/dates.d.ts +115 -1
  13. package/lib/examples/enum.d.ts +3 -0
  14. package/lib/examples/generate-dynamic.d.ts +15 -0
  15. package/lib/examples/list-with-detail-primitives.d.ts +36 -0
  16. package/lib/examples/list-with-detail-registered.d.ts +55 -1
  17. package/lib/examples/list-with-detail.d.ts +191 -1
  18. package/lib/examples/nestedCategorization.d.ts +57 -0
  19. package/lib/examples/radioGroup.d.ts +42 -1
  20. package/lib/index.d.ts +8 -19
  21. package/lib/jsonforms-examples.cjs.js +2280 -2873
  22. package/lib/jsonforms-examples.cjs.js.map +1 -1
  23. package/lib/jsonforms-examples.esm.js +2272 -2882
  24. package/lib/jsonforms-examples.esm.js.map +1 -1
  25. package/package.json +14 -7
  26. package/rollup.config.js +12 -12
  27. package/src/example.ts +3 -3
  28. package/src/examples/1884.ts +52 -48
  29. package/src/examples/1948.ts +19 -19
  30. package/src/examples/additional-errors.ts +28 -25
  31. package/src/examples/allOf.ts +18 -18
  32. package/src/examples/anyOf-oneOf-allOf-resolve.ts +21 -21
  33. package/src/examples/anyOf.ts +42 -24
  34. package/src/examples/arrays-with-custom-element-label.ts +21 -21
  35. package/src/examples/arrays-with-detail-and-rule.ts +28 -28
  36. package/src/examples/arrays-with-detail.ts +21 -21
  37. package/src/examples/arrays-with-sorting.ts +35 -35
  38. package/src/examples/arrays.ts +35 -35
  39. package/src/examples/arraysI18n.ts +107 -0
  40. package/src/examples/{steppershownav.ts → categorization-stepper-nav-buttons.ts} +6 -6
  41. package/src/examples/{stepper.ts → categorization-stepper.ts} +5 -5
  42. package/src/examples/categorization.ts +119 -119
  43. package/src/examples/conditional-schema-compositions.ts +20 -20
  44. package/src/examples/config.ts +15 -15
  45. package/src/examples/control-options.ts +81 -81
  46. package/src/examples/dates.ts +34 -34
  47. package/src/examples/default.ts +22 -22
  48. package/src/examples/{multi-enum.ts → enum-multi.ts} +14 -14
  49. package/src/examples/enum.ts +40 -33
  50. package/src/examples/enumInArray.ts +10 -10
  51. package/src/examples/{dynamic.ts → generate-dynamic.ts} +10 -10
  52. package/src/examples/generate.ts +2 -2
  53. package/src/examples/generateUI.ts +2 -2
  54. package/src/examples/huge.ts +381 -377
  55. package/src/examples/i18n.ts +37 -28
  56. package/src/examples/if_then_else.ts +4 -4
  57. package/src/examples/layout.ts +29 -29
  58. package/src/examples/{booleanToggle.ts → list-with-detail-primitives.ts} +46 -33
  59. package/src/examples/list-with-detail-registered.ts +26 -26
  60. package/src/examples/list-with-detail.ts +82 -82
  61. package/src/examples/nestedArrays.ts +40 -35
  62. package/src/examples/nestedCategorization.ts +175 -0
  63. package/src/examples/numbers.ts +17 -17
  64. package/src/examples/object.ts +24 -24
  65. package/src/examples/onChange.ts +28 -22
  66. package/src/examples/oneOf-recursive.ts +15 -15
  67. package/src/examples/oneOf.ts +99 -96
  68. package/src/examples/oneOfArray.ts +20 -20
  69. package/src/examples/person.ts +35 -35
  70. package/src/examples/radioGroup.ts +52 -53
  71. package/src/examples/readonly.ts +14 -14
  72. package/src/examples/rule.ts +26 -26
  73. package/src/examples/ruleInheritance.ts +37 -34
  74. package/src/examples/scope.ts +26 -26
  75. package/src/examples/stringArray.ts +10 -10
  76. package/src/examples/text.ts +19 -19
  77. package/src/index.ts +11 -33
  78. package/src/register.ts +6 -3
  79. package/stats.html +4949 -2051
  80. package/tsconfig.json +2 -6
  81. package/lib/examples/1169.d.ts +0 -24
  82. package/lib/examples/1220.d.ts +0 -4
  83. package/lib/examples/1253.d.ts +0 -16
  84. package/lib/examples/1254.d.ts +0 -21
  85. package/lib/examples/1645.d.ts +0 -68
  86. package/lib/examples/1779.d.ts +0 -1
  87. package/lib/examples/1996.d.ts +0 -31
  88. package/lib/examples/booleanToggle.d.ts +0 -62
  89. package/lib/examples/day1.d.ts +0 -23
  90. package/lib/examples/day2.d.ts +0 -42
  91. package/lib/examples/day3.d.ts +0 -51
  92. package/lib/examples/day4.d.ts +0 -72
  93. package/lib/examples/day5.d.ts +0 -133
  94. package/lib/examples/day6.d.ts +0 -85
  95. package/lib/examples/dynamic.d.ts +0 -1
  96. package/src/examples/1169.ts +0 -62
  97. package/src/examples/1220.ts +0 -146
  98. package/src/examples/1253.ts +0 -212
  99. package/src/examples/1254.ts +0 -67
  100. package/src/examples/1645.ts +0 -66
  101. package/src/examples/1779.ts +0 -83
  102. package/src/examples/1996.ts +0 -102
  103. package/src/examples/day1.ts +0 -61
  104. package/src/examples/day2.ts +0 -62
  105. package/src/examples/day3.ts +0 -76
  106. package/src/examples/day4.ts +0 -83
  107. package/src/examples/day5.ts +0 -169
  108. package/src/examples/day6.ts +0 -44
  109. /package/lib/examples/{steppershownav.d.ts → categorization-stepper-nav-buttons.d.ts} +0 -0
  110. /package/lib/examples/{stepper.d.ts → categorization-stepper.d.ts} +0 -0
  111. /package/lib/examples/{multi-enum.d.ts → enum-multi.d.ts} +0 -0
@@ -0,0 +1,107 @@
1
+ /*
2
+ The MIT License
3
+
4
+ Copyright (c) 2017-2019 EclipseSource Munich
5
+ https://github.com/eclipsesource/jsonforms
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
24
+ */
25
+ import { registerExamples } from '../register';
26
+ import { ArrayTranslationEnum, Translator } from '@jsonforms/core';
27
+ import { get } from 'lodash';
28
+
29
+ export const schema = {
30
+ type: 'object',
31
+ properties: {
32
+ comments: {
33
+ type: 'array',
34
+ items: {
35
+ type: 'object',
36
+ properties: {
37
+ date: {
38
+ type: 'string',
39
+ format: 'date',
40
+ },
41
+ message: {
42
+ type: 'string',
43
+ maxLength: 5,
44
+ },
45
+ enum: {
46
+ type: 'string',
47
+ const: 'foo',
48
+ },
49
+ },
50
+ },
51
+ },
52
+ },
53
+ };
54
+
55
+ export const uischema = {
56
+ type: 'VerticalLayout',
57
+ elements: [
58
+ {
59
+ type: 'Control',
60
+ scope: '#/properties/comments',
61
+ options: {
62
+ showSortButtons: true,
63
+ },
64
+ },
65
+ ],
66
+ };
67
+
68
+ export const data = {
69
+ comments: [
70
+ {
71
+ date: new Date(2001, 8, 11).toISOString().substr(0, 10),
72
+ message: 'This is an example message',
73
+ },
74
+ {
75
+ date: new Date().toISOString().substr(0, 10),
76
+ message: 'Get ready for booohay',
77
+ },
78
+ ],
79
+ };
80
+
81
+ export const translations = {
82
+ comments: {
83
+ [ArrayTranslationEnum.noDataMessage]: 'Be the first to write a comment',
84
+ [ArrayTranslationEnum.addTooltip]: 'Add a Comment',
85
+ [ArrayTranslationEnum.deleteDialogAccept]: 'Delete!',
86
+ [ArrayTranslationEnum.deleteDialogDecline]: 'Cancel!',
87
+ [ArrayTranslationEnum.deleteDialogMessage]:
88
+ 'Are you sure you want to delete this comment?',
89
+ },
90
+ };
91
+ export const translate: Translator = (key: string, defaultMessage: string) => {
92
+ return get(translations, key) ?? defaultMessage;
93
+ };
94
+
95
+ registerExamples([
96
+ {
97
+ name: 'array-i18n',
98
+ label: 'Array (i18n)',
99
+ data,
100
+ schema,
101
+ uischema,
102
+ i18n: {
103
+ translate: translate,
104
+ locale: 'en',
105
+ },
106
+ },
107
+ ]);
@@ -26,7 +26,7 @@ import { registerExamples } from '../register';
26
26
  import {
27
27
  data as categorizationData,
28
28
  schema as categorizationSchema,
29
- uischema as categorizationUiSchema
29
+ uischema as categorizationUiSchema,
30
30
  } from './categorization';
31
31
 
32
32
  export const schema = categorizationSchema;
@@ -35,18 +35,18 @@ export const uischema = {
35
35
  ...categorizationUiSchema,
36
36
  options: {
37
37
  variant: 'stepper',
38
- showNavButtons: true
39
- }
38
+ showNavButtons: true,
39
+ },
40
40
  };
41
41
 
42
42
  export const data = categorizationData;
43
43
 
44
44
  registerExamples([
45
45
  {
46
- name: 'categorizationsteppernavbuttons',
46
+ name: 'categorization-stepper-nav-buttons',
47
47
  label: 'Categorization (Stepper - Nav Buttons)',
48
48
  data,
49
49
  schema,
50
- uischema
51
- }
50
+ uischema,
51
+ },
52
52
  ]);
@@ -26,7 +26,7 @@ import { registerExamples } from '../register';
26
26
  import {
27
27
  data as categorizationData,
28
28
  schema as categorizationSchema,
29
- uischema as categorizationUiSchema
29
+ uischema as categorizationUiSchema,
30
30
  } from './categorization';
31
31
 
32
32
  export const schema = categorizationSchema;
@@ -34,8 +34,8 @@ export const schema = categorizationSchema;
34
34
  export const uischema = {
35
35
  ...categorizationUiSchema,
36
36
  options: {
37
- variant: 'stepper'
38
- }
37
+ variant: 'stepper',
38
+ },
39
39
  };
40
40
 
41
41
  export const data = categorizationData;
@@ -46,6 +46,6 @@ registerExamples([
46
46
  label: 'Categorization (Stepper)',
47
47
  data,
48
48
  schema,
49
- uischema
50
- }
49
+ uischema,
50
+ },
51
51
  ]);
@@ -32,61 +32,61 @@ export const schema = {
32
32
  firstName: {
33
33
  type: 'string',
34
34
  minLength: 3,
35
- description: 'Please enter your first name'
35
+ description: 'Please enter your first name',
36
36
  },
37
37
  secondName: {
38
38
  type: 'string',
39
39
  minLength: 3,
40
- description: 'Please enter your second name'
40
+ description: 'Please enter your second name',
41
41
  },
42
42
  vegetarian: {
43
- type: 'boolean'
43
+ type: 'boolean',
44
44
  },
45
45
  birthDate: {
46
46
  type: 'string',
47
47
  format: 'date',
48
- description: 'Please enter your birth date.'
48
+ description: 'Please enter your birth date.',
49
49
  },
50
50
  nationality: {
51
51
  type: 'string',
52
- enum: ['DE', 'IT', 'JP', 'US', 'RU', 'Other']
52
+ enum: ['DE', 'IT', 'JP', 'US', 'RU', 'Other'],
53
53
  },
54
54
  provideAddress: {
55
- type: 'boolean'
55
+ type: 'boolean',
56
56
  },
57
57
  address: {
58
58
  type: 'object',
59
59
  properties: {
60
60
  street: {
61
- type: 'string'
61
+ type: 'string',
62
62
  },
63
63
  streetNumber: {
64
- type: 'string'
64
+ type: 'string',
65
65
  },
66
66
  city: {
67
- type: 'string'
67
+ type: 'string',
68
68
  },
69
69
  postalCode: {
70
70
  type: 'string',
71
- maxLength: 5
71
+ maxLength: 5,
72
72
  },
73
- }
73
+ },
74
74
  },
75
75
  vegetarianOptions: {
76
76
  type: 'object',
77
77
  properties: {
78
78
  vegan: {
79
- type: 'boolean'
79
+ type: 'boolean',
80
80
  },
81
81
  favoriteVegetable: {
82
82
  type: 'string',
83
- enum: ['Tomato', 'Potato', 'Salad', 'Aubergine', 'Cucumber', 'Other']
83
+ enum: ['Tomato', 'Potato', 'Salad', 'Aubergine', 'Cucumber', 'Other'],
84
84
  },
85
85
  otherFavoriteVegetable: {
86
- type: 'string'
87
- }
88
- }
89
- }
86
+ type: 'string',
87
+ },
88
+ },
89
+ },
90
90
  },
91
91
  };
92
92
 
@@ -102,36 +102,36 @@ export const uischema = {
102
102
  elements: [
103
103
  {
104
104
  type: 'Control',
105
- scope: '#/properties/firstName'
105
+ scope: '#/properties/firstName',
106
106
  },
107
107
  {
108
108
  type: 'Control',
109
- scope: '#/properties/secondName'
110
- }
111
- ]
109
+ scope: '#/properties/secondName',
110
+ },
111
+ ],
112
112
  },
113
113
  {
114
114
  type: 'HorizontalLayout',
115
115
  elements: [
116
116
  {
117
117
  type: 'Control',
118
- scope: '#/properties/birthDate'
118
+ scope: '#/properties/birthDate',
119
119
  },
120
120
  {
121
121
  type: 'Control',
122
- scope: '#/properties/nationality'
123
- }
124
- ]
122
+ scope: '#/properties/nationality',
123
+ },
124
+ ],
125
125
  },
126
126
  {
127
127
  type: 'Control',
128
- scope: '#/properties/provideAddress'
128
+ scope: '#/properties/provideAddress',
129
129
  },
130
130
  {
131
131
  type: 'Control',
132
- scope: '#/properties/vegetarian'
133
- }
134
- ]
132
+ scope: '#/properties/vegetarian',
133
+ },
134
+ ],
135
135
  },
136
136
  {
137
137
  type: 'Category',
@@ -142,35 +142,35 @@ export const uischema = {
142
142
  elements: [
143
143
  {
144
144
  type: 'Control',
145
- scope: '#/properties/address/properties/street'
145
+ scope: '#/properties/address/properties/street',
146
146
  },
147
147
  {
148
148
  type: 'Control',
149
- scope: '#/properties/address/properties/streetNumber'
149
+ scope: '#/properties/address/properties/streetNumber',
150
150
  },
151
- ]
151
+ ],
152
152
  },
153
153
  {
154
154
  type: 'HorizontalLayout',
155
155
  elements: [
156
156
  {
157
157
  type: 'Control',
158
- scope: '#/properties/address/properties/city'
158
+ scope: '#/properties/address/properties/city',
159
159
  },
160
160
  {
161
161
  type: 'Control',
162
- scope: '#/properties/address/properties/postalCode'
163
- }
164
- ]
162
+ scope: '#/properties/address/properties/postalCode',
163
+ },
164
+ ],
165
165
  },
166
166
  ],
167
167
  rule: {
168
168
  effect: 'SHOW',
169
169
  condition: {
170
170
  scope: '#/properties/provideAddress',
171
- schema: { const: true }
172
- }
173
- }
171
+ schema: { const: true },
172
+ },
173
+ },
174
174
  },
175
175
  {
176
176
  type: 'Category',
@@ -178,122 +178,122 @@ export const uischema = {
178
178
  elements: [
179
179
  {
180
180
  type: 'Control',
181
- scope: '#/properties/vegetarianOptions/properties/vegan'
181
+ scope: '#/properties/vegetarianOptions/properties/vegan',
182
182
  },
183
183
  {
184
184
  type: 'Control',
185
- scope: '#/properties/vegetarianOptions/properties/favoriteVegetable'
185
+ scope: '#/properties/vegetarianOptions/properties/favoriteVegetable',
186
186
  },
187
187
  {
188
188
  type: 'Control',
189
- scope: '#/properties/vegetarianOptions/properties/otherFavoriteVegetable',
189
+ scope:
190
+ '#/properties/vegetarianOptions/properties/otherFavoriteVegetable',
190
191
  rule: {
191
192
  effect: 'SHOW',
192
193
  condition: {
193
- scope: '#/properties/vegetarianOptions/properties/favoriteVegetable',
194
- schema: { const: 'Other' }
195
- }
196
- }
194
+ scope:
195
+ '#/properties/vegetarianOptions/properties/favoriteVegetable',
196
+ schema: { const: 'Other' },
197
+ },
198
+ },
197
199
  },
198
200
  ],
199
201
  rule: {
200
202
  effect: 'SHOW',
201
203
  condition: {
202
204
  scope: '#/properties/vegetarian',
203
- schema: { const: true }
204
- }
205
- }
206
- }
207
- ]
205
+ schema: { const: true },
206
+ },
207
+ },
208
+ },
209
+ ],
208
210
  };
209
211
 
210
212
  export const data = {
211
213
  provideAddress: true,
212
- vegetarian: false
214
+ vegetarian: false,
213
215
  };
214
216
 
215
217
  const schema_1713 = {
216
- "type": "object",
217
- "properties": {
218
- "experiments": {
219
- "type": "array",
220
- "items": {
221
- "type": "object",
222
- "properties": {
223
- "ID": {
224
- "type": "string"
225
- }
218
+ type: 'object',
219
+ properties: {
220
+ experiments: {
221
+ type: 'array',
222
+ items: {
223
+ type: 'object',
224
+ properties: {
225
+ ID: {
226
+ type: 'string',
227
+ },
226
228
  },
227
- "additionalProperties": false,
228
- "additionalItems": false
229
- }
230
- }
229
+ additionalProperties: false,
230
+ additionalItems: false,
231
+ },
232
+ },
231
233
  },
232
- "required": [
233
- "experiments"
234
- ]
234
+ required: ['experiments'],
235
235
  };
236
236
  const uischema_1713 = {
237
- "type": "Categorization",
238
- "elements": [
237
+ type: 'Categorization',
238
+ elements: [
239
239
  {
240
- "type": "Category",
241
- "label": "Experiments",
242
- "elements": [
240
+ type: 'Category',
241
+ label: 'Experiments',
242
+ elements: [
243
243
  {
244
- "type": "ListWithDetail",
245
- "scope": "#/properties/experiments",
246
- "options": {
247
- "labelRef": "#/items/properties/ID",
248
- "detail": {
249
- "type": "VerticalLayout",
250
- "elements": [
244
+ type: 'ListWithDetail',
245
+ scope: '#/properties/experiments',
246
+ options: {
247
+ labelRef: '#/items/properties/ID',
248
+ detail: {
249
+ type: 'VerticalLayout',
250
+ elements: [
251
251
  {
252
- "type": "HorizontalLayout",
253
- "elements": [
252
+ type: 'HorizontalLayout',
253
+ elements: [
254
254
  {
255
- "type": "Control",
256
- "scope": "#/properties/ID"
257
- }
258
- ]
255
+ type: 'Control',
256
+ scope: '#/properties/ID',
257
+ },
258
+ ],
259
259
  },
260
260
  {
261
- "type": "Categorization",
262
- "elements": [
261
+ type: 'Categorization',
262
+ elements: [
263
263
  {
264
- "type": "Category",
265
- "label": "Sequential",
266
- "elements": [
264
+ type: 'Category',
265
+ label: 'Sequential',
266
+ elements: [
267
267
  {
268
- "type": "VerticalLayout",
269
- "elements": [
268
+ type: 'VerticalLayout',
269
+ elements: [
270
270
  {
271
- "type": "Control",
272
- "scope": "#/properties/ID"
273
- }
274
- ]
275
- }
276
- ]
277
- }
278
- ]
279
- }
280
- ]
281
- }
282
- }
283
- }
284
- ]
285
- }
286
- ]
287
- };
271
+ type: 'Control',
272
+ scope: '#/properties/ID',
273
+ },
274
+ ],
275
+ },
276
+ ],
277
+ },
278
+ ],
279
+ },
280
+ ],
281
+ },
282
+ },
283
+ },
284
+ ],
285
+ },
286
+ ],
287
+ };
288
288
 
289
289
  export const translations = {
290
290
  categoryLabelKey: 'Basic',
291
291
  address: {
292
- label: "Address",
292
+ label: 'Address',
293
293
  },
294
294
  };
295
295
  export const translate: Translator = (key: string, defaultMessage: string) => {
296
- return get(translations, key) ?? defaultMessage
296
+ return get(translations, key) ?? defaultMessage;
297
297
  };
298
298
 
299
299
  registerExamples([
@@ -303,13 +303,13 @@ registerExamples([
303
303
  data,
304
304
  schema,
305
305
  uischema,
306
- i18n: { locale: 'en', translate: translate }
306
+ i18n: { locale: 'en', translate: translate },
307
307
  },
308
308
  {
309
- name: '1713',
310
- label: 'Bug 1713',
309
+ name: 'categorization_1713',
310
+ label: 'Categorization - Issue 1713',
311
311
  data,
312
- schema:schema_1713,
313
- uischema:uischema_1713
314
- }
312
+ schema: schema_1713,
313
+ uischema: uischema_1713,
314
+ },
315
315
  ]);
@@ -30,7 +30,7 @@ export const schema = {
30
30
  name: {
31
31
  type: 'string',
32
32
  minLength: 1,
33
- description: 'The task\'s name',
33
+ description: "The task's name",
34
34
  },
35
35
  recurrence: {
36
36
  type: 'string',
@@ -42,22 +42,22 @@ export const schema = {
42
42
  if: {
43
43
  properties: {
44
44
  recurrence: {
45
- const: 'Never'
46
- }
47
- }
45
+ const: 'Never',
46
+ },
47
+ },
48
48
  },
49
49
  then: {
50
50
  properties: {
51
51
  lastname: {
52
- type: 'string'
52
+ type: 'string',
53
53
  },
54
54
  age: {
55
- type: 'number'
56
- }
57
- }
58
- }
55
+ type: 'number',
56
+ },
57
+ },
58
+ },
59
59
  },
60
- ]
60
+ ],
61
61
  };
62
62
 
63
63
  export const uischema = {
@@ -82,10 +82,10 @@ export const uischema = {
82
82
  condition: {
83
83
  scope: '#/properties/recurrence',
84
84
  schema: {
85
- const: 'Never'
86
- }
87
- }
88
- }
85
+ const: 'Never',
86
+ },
87
+ },
88
+ },
89
89
  },
90
90
  {
91
91
  type: 'Control',
@@ -95,10 +95,10 @@ export const uischema = {
95
95
  condition: {
96
96
  scope: '#/properties/recurrence',
97
97
  schema: {
98
- const: 'Never'
99
- }
100
- }
101
- }
98
+ const: 'Never',
99
+ },
100
+ },
101
+ },
102
102
  },
103
103
  ],
104
104
  },
@@ -113,6 +113,6 @@ registerExamples([
113
113
  label: 'Conditional Schema Compositions',
114
114
  data,
115
115
  schema,
116
- uischema
117
- }
116
+ uischema,
117
+ },
118
118
  ]);