@paris-ias/trees 2.0.21 → 2.0.23
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/dist/form/actions.cjs.js +17 -17
- package/dist/form/actions.d.ts +11 -0
- package/dist/form/actions.js +17 -17
- package/dist/form/affiliations.cjs.js +19 -124
- package/dist/form/affiliations.js +19 -124
- package/dist/form/apps.cjs.js +1 -1
- package/dist/form/apps.js +1 -1
- package/dist/form/disciplines.cjs.js +13 -2
- package/dist/form/disciplines.js +13 -2
- package/dist/form/events.cjs.js +106 -131
- package/dist/form/events.js +106 -131
- package/dist/form/fellowships.cjs.js +92 -100
- package/dist/form/fellowships.js +92 -100
- package/dist/form/mailing.cjs.js +3 -4
- package/dist/form/mailing.d.ts +1 -0
- package/dist/form/mailing.js +3 -4
- package/dist/form/news.cjs.js +49 -61
- package/dist/form/news.js +49 -61
- package/dist/form/people.cjs.js +1 -6
- package/dist/form/people.js +1 -6
- package/dist/form/projects.cjs.js +17 -17
- package/dist/form/projects.js +17 -17
- package/dist/form/publications.cjs.js +3 -10
- package/dist/form/publications.js +3 -10
- package/dist/form/tags.cjs.js +9 -0
- package/dist/form/tags.js +9 -0
- package/dist/form/users.cjs.js +1 -6
- package/dist/form/users.js +1 -6
- package/dist/list/actions.d.ts +11 -0
- package/dist/list/affiliations.cjs.js +1 -7
- package/dist/list/affiliations.js +1 -7
- package/dist/list/mailing.d.ts +1 -0
- package/package.json +1 -1
package/dist/form/fellowships.js
CHANGED
|
@@ -63,10 +63,13 @@ const data = {
|
|
|
63
63
|
"en": "",
|
|
64
64
|
"fr": ""
|
|
65
65
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
66
|
+
"image": "",
|
|
67
|
+
"affiliations": "",
|
|
68
|
+
"publicationDate": "",
|
|
68
69
|
"applicationStart": "",
|
|
70
|
+
"applicationStop": "",
|
|
69
71
|
"fellowshipStart": "",
|
|
72
|
+
"fellowshipStop": "",
|
|
70
73
|
"contact": "",
|
|
71
74
|
"description": {
|
|
72
75
|
"en": "",
|
|
@@ -94,8 +97,9 @@ const data = {
|
|
|
94
97
|
"location": [
|
|
95
98
|
{
|
|
96
99
|
"name": "",
|
|
100
|
+
"acronym": "",
|
|
101
|
+
"image": "",
|
|
97
102
|
"details": "",
|
|
98
|
-
"alt": "",
|
|
99
103
|
"street": "",
|
|
100
104
|
"city": "",
|
|
101
105
|
"country": "",
|
|
@@ -138,10 +142,6 @@ const data = {
|
|
|
138
142
|
],
|
|
139
143
|
"gallery": "",
|
|
140
144
|
"url": "",
|
|
141
|
-
"fellowshipStop": "",
|
|
142
|
-
"applicationStop": "",
|
|
143
|
-
"image": "",
|
|
144
|
-
"publicationDate": "",
|
|
145
145
|
"files": "",
|
|
146
146
|
"video": [
|
|
147
147
|
{
|
|
@@ -171,7 +171,7 @@ const data = {
|
|
|
171
171
|
"type": "PRIMITIVE",
|
|
172
172
|
"rules": {
|
|
173
173
|
"required": true,
|
|
174
|
-
"min":
|
|
174
|
+
"min": 3,
|
|
175
175
|
"max": 200
|
|
176
176
|
},
|
|
177
177
|
"meta": "name"
|
|
@@ -192,26 +192,27 @@ const data = {
|
|
|
192
192
|
"label": "summary",
|
|
193
193
|
"component": "TextArea",
|
|
194
194
|
"type": "PRIMITIVE",
|
|
195
|
+
"description": "Will be extracted from description if left empty",
|
|
195
196
|
"i18n": true,
|
|
196
197
|
"rules": {
|
|
197
|
-
"required": true,
|
|
198
198
|
"min": 5,
|
|
199
199
|
"max": 200
|
|
200
200
|
},
|
|
201
201
|
"meta": "summary"
|
|
202
202
|
},
|
|
203
|
-
"
|
|
204
|
-
"label": "
|
|
205
|
-
"component": "
|
|
206
|
-
"type": "
|
|
203
|
+
"image": {
|
|
204
|
+
"label": "image",
|
|
205
|
+
"component": "ImagePicker",
|
|
206
|
+
"type": "DOCUMENT",
|
|
207
207
|
"rules": {
|
|
208
208
|
"required": true
|
|
209
209
|
},
|
|
210
|
-
"meta": "
|
|
210
|
+
"meta": "image",
|
|
211
|
+
"default": ""
|
|
211
212
|
},
|
|
212
|
-
"
|
|
213
|
+
"affiliations": {
|
|
213
214
|
"label": "affiliations",
|
|
214
|
-
"component": "
|
|
215
|
+
"component": "DocumentPicker",
|
|
215
216
|
"type": "DOCUMENT",
|
|
216
217
|
"rules": {
|
|
217
218
|
"required": true
|
|
@@ -219,30 +220,66 @@ const data = {
|
|
|
219
220
|
"meta": "affiliations",
|
|
220
221
|
"default": ""
|
|
221
222
|
},
|
|
223
|
+
"publicationDate": {
|
|
224
|
+
"label": "publicationDate",
|
|
225
|
+
"component": "DatePicker",
|
|
226
|
+
"description": "The date when the fellowship is published on the website. It should not be visible before.",
|
|
227
|
+
"type": "PRIMITIVE",
|
|
228
|
+
"rules": {
|
|
229
|
+
"required": true,
|
|
230
|
+
"date": true
|
|
231
|
+
},
|
|
232
|
+
"meta": "publicationDate"
|
|
233
|
+
},
|
|
222
234
|
"applicationStart": {
|
|
223
235
|
"label": "applicationStart",
|
|
224
236
|
"component": "DatePicker",
|
|
225
237
|
"type": "PRIMITIVE",
|
|
238
|
+
"description": "The date when applications open",
|
|
226
239
|
"rules": {
|
|
227
240
|
"required": true,
|
|
228
241
|
"date": true
|
|
229
242
|
},
|
|
230
243
|
"meta": "applicationStart"
|
|
231
244
|
},
|
|
245
|
+
"applicationStop": {
|
|
246
|
+
"label": "applicationStop",
|
|
247
|
+
"component": "DatePicker",
|
|
248
|
+
"description": "The date when applications close",
|
|
249
|
+
"type": "PRIMITIVE",
|
|
250
|
+
"rules": {
|
|
251
|
+
"required": true,
|
|
252
|
+
"date": true
|
|
253
|
+
},
|
|
254
|
+
"meta": "applicationStop"
|
|
255
|
+
},
|
|
232
256
|
"fellowshipStart": {
|
|
233
257
|
"label": "fellowshipStart",
|
|
234
258
|
"component": "DatePicker",
|
|
235
259
|
"type": "PRIMITIVE",
|
|
260
|
+
"description": "The date when the fellowship starts, i.e. the fellow arrives",
|
|
236
261
|
"rules": {
|
|
237
262
|
"required": true,
|
|
238
263
|
"date": true
|
|
239
264
|
},
|
|
240
265
|
"meta": "fellowshipStart"
|
|
241
266
|
},
|
|
267
|
+
"fellowshipStop": {
|
|
268
|
+
"label": "fellowshipStop",
|
|
269
|
+
"component": "DatePicker",
|
|
270
|
+
"type": "PRIMITIVE",
|
|
271
|
+
"description": "The date when the fellowship ends",
|
|
272
|
+
"rules": {
|
|
273
|
+
"required": true,
|
|
274
|
+
"date": true
|
|
275
|
+
},
|
|
276
|
+
"meta": "fellowshipStop"
|
|
277
|
+
},
|
|
242
278
|
"contact": {
|
|
243
279
|
"label": "contact",
|
|
244
280
|
"component": "TextField",
|
|
245
281
|
"type": "PRIMITIVE",
|
|
282
|
+
"description": "it will be hidden from public view but used to reroute applications",
|
|
246
283
|
"rules": {
|
|
247
284
|
"required": true,
|
|
248
285
|
"email": true
|
|
@@ -257,7 +294,7 @@ const data = {
|
|
|
257
294
|
"rules": {
|
|
258
295
|
"required": true,
|
|
259
296
|
"min": 5,
|
|
260
|
-
"max":
|
|
297
|
+
"max": 1600
|
|
261
298
|
},
|
|
262
299
|
"meta": "description"
|
|
263
300
|
},
|
|
@@ -267,8 +304,8 @@ const data = {
|
|
|
267
304
|
"type": "DOCUMENT",
|
|
268
305
|
"rules": {
|
|
269
306
|
"required": true,
|
|
270
|
-
"min":
|
|
271
|
-
"max":
|
|
307
|
+
"min": 1,
|
|
308
|
+
"max": 15
|
|
272
309
|
},
|
|
273
310
|
"meta": "disciplines",
|
|
274
311
|
"default": ""
|
|
@@ -279,8 +316,8 @@ const data = {
|
|
|
279
316
|
"type": "PRIMITIVE",
|
|
280
317
|
"rules": {
|
|
281
318
|
"required": true,
|
|
282
|
-
"min":
|
|
283
|
-
"max":
|
|
319
|
+
"min": 1,
|
|
320
|
+
"max": 3
|
|
284
321
|
},
|
|
285
322
|
"items": {
|
|
286
323
|
"ShortStay": "SHORT_STAY",
|
|
@@ -294,7 +331,9 @@ const data = {
|
|
|
294
331
|
"component": "ObjectContainerPanel",
|
|
295
332
|
"type": "OBJECT",
|
|
296
333
|
"rules": {
|
|
297
|
-
"required": true
|
|
334
|
+
"required": true,
|
|
335
|
+
"min": 1,
|
|
336
|
+
"max": 1600
|
|
298
337
|
},
|
|
299
338
|
"meta": "details",
|
|
300
339
|
"items": {
|
|
@@ -359,27 +398,34 @@ const data = {
|
|
|
359
398
|
},
|
|
360
399
|
"meta": "name"
|
|
361
400
|
},
|
|
362
|
-
"
|
|
363
|
-
"label": "
|
|
364
|
-
"component": "
|
|
401
|
+
"acronym": {
|
|
402
|
+
"label": "acronym",
|
|
403
|
+
"component": "TextField",
|
|
365
404
|
"type": "PRIMITIVE",
|
|
366
405
|
"rules": {
|
|
367
|
-
"
|
|
368
|
-
"min": 5,
|
|
369
|
-
"max": 200
|
|
406
|
+
"max": 20
|
|
370
407
|
},
|
|
371
|
-
"meta": "
|
|
408
|
+
"meta": "acronym"
|
|
372
409
|
},
|
|
373
|
-
"
|
|
374
|
-
"label": "
|
|
410
|
+
"image": {
|
|
411
|
+
"label": "image",
|
|
412
|
+
"component": "ImagePicker",
|
|
413
|
+
"type": "DOCUMENT",
|
|
414
|
+
"rules": {
|
|
415
|
+
"required": true
|
|
416
|
+
},
|
|
417
|
+
"meta": "image",
|
|
418
|
+
"default": ""
|
|
419
|
+
},
|
|
420
|
+
"details": {
|
|
421
|
+
"label": "details",
|
|
375
422
|
"component": "TextArea",
|
|
376
423
|
"type": "PRIMITIVE",
|
|
377
424
|
"rules": {
|
|
378
|
-
"required": true,
|
|
379
425
|
"min": 5,
|
|
380
|
-
"max":
|
|
426
|
+
"max": 2000
|
|
381
427
|
},
|
|
382
|
-
"meta": "
|
|
428
|
+
"meta": "details"
|
|
383
429
|
},
|
|
384
430
|
"street": {
|
|
385
431
|
"label": "street",
|
|
@@ -387,7 +433,7 @@ const data = {
|
|
|
387
433
|
"type": "PRIMITIVE",
|
|
388
434
|
"rules": {
|
|
389
435
|
"required": true,
|
|
390
|
-
"max":
|
|
436
|
+
"max": 2000
|
|
391
437
|
},
|
|
392
438
|
"meta": "street"
|
|
393
439
|
},
|
|
@@ -413,41 +459,26 @@ const data = {
|
|
|
413
459
|
"type": "PRIMITIVE",
|
|
414
460
|
"rules": {
|
|
415
461
|
"required": true,
|
|
416
|
-
"
|
|
417
|
-
"max": 200
|
|
462
|
+
"numerical": true
|
|
418
463
|
},
|
|
419
464
|
"meta": "zip"
|
|
420
465
|
},
|
|
421
466
|
"geocode": {
|
|
422
467
|
"label": "geocode",
|
|
423
|
-
"component": "
|
|
468
|
+
"component": "GeocodePicker",
|
|
424
469
|
"type": "OBJECT",
|
|
425
|
-
"rules": {
|
|
426
|
-
"required": true,
|
|
427
|
-
"min": 5,
|
|
428
|
-
"max": 200
|
|
429
|
-
},
|
|
470
|
+
"rules": {},
|
|
430
471
|
"items": {
|
|
431
472
|
"lat": {
|
|
432
473
|
"label": "latitude",
|
|
433
|
-
"component":
|
|
474
|
+
"component": false,
|
|
434
475
|
"type": "PRIMITIVE",
|
|
435
|
-
"rules": {
|
|
436
|
-
"required": true,
|
|
437
|
-
"min": 5,
|
|
438
|
-
"max": 200
|
|
439
|
-
},
|
|
440
476
|
"meta": "latitude"
|
|
441
477
|
},
|
|
442
478
|
"lng": {
|
|
443
479
|
"label": "longitude",
|
|
444
|
-
"component":
|
|
480
|
+
"component": false,
|
|
445
481
|
"type": "PRIMITIVE",
|
|
446
|
-
"rules": {
|
|
447
|
-
"required": true,
|
|
448
|
-
"min": 5,
|
|
449
|
-
"max": 200
|
|
450
|
-
},
|
|
451
482
|
"meta": "longitude"
|
|
452
483
|
}
|
|
453
484
|
},
|
|
@@ -473,7 +504,7 @@ const data = {
|
|
|
473
504
|
"rules": {
|
|
474
505
|
"required": true,
|
|
475
506
|
"min": 5,
|
|
476
|
-
"max":
|
|
507
|
+
"max": 2000
|
|
477
508
|
},
|
|
478
509
|
"meta": "housing"
|
|
479
510
|
},
|
|
@@ -485,7 +516,7 @@ const data = {
|
|
|
485
516
|
"rules": {
|
|
486
517
|
"required": true,
|
|
487
518
|
"min": 5,
|
|
488
|
-
"max":
|
|
519
|
+
"max": 2000
|
|
489
520
|
},
|
|
490
521
|
"meta": "meals"
|
|
491
522
|
},
|
|
@@ -497,7 +528,7 @@ const data = {
|
|
|
497
528
|
"rules": {
|
|
498
529
|
"required": true,
|
|
499
530
|
"min": 5,
|
|
500
|
-
"max":
|
|
531
|
+
"max": 2000
|
|
501
532
|
},
|
|
502
533
|
"meta": "applicationMaterials"
|
|
503
534
|
},
|
|
@@ -509,7 +540,7 @@ const data = {
|
|
|
509
540
|
"rules": {
|
|
510
541
|
"required": true,
|
|
511
542
|
"min": 5,
|
|
512
|
-
"max":
|
|
543
|
+
"max": 2000
|
|
513
544
|
},
|
|
514
545
|
"meta": "selectionProcess"
|
|
515
546
|
},
|
|
@@ -521,7 +552,7 @@ const data = {
|
|
|
521
552
|
"rules": {
|
|
522
553
|
"required": true,
|
|
523
554
|
"min": 5,
|
|
524
|
-
"max":
|
|
555
|
+
"max": 2000
|
|
525
556
|
},
|
|
526
557
|
"meta": "researchSupport"
|
|
527
558
|
}
|
|
@@ -560,49 +591,10 @@ const data = {
|
|
|
560
591
|
},
|
|
561
592
|
"meta": "url"
|
|
562
593
|
},
|
|
563
|
-
"fellowshipStop": {
|
|
564
|
-
"label": "fellowshipStop",
|
|
565
|
-
"component": "DatePicker",
|
|
566
|
-
"type": "PRIMITIVE",
|
|
567
|
-
"rules": {
|
|
568
|
-
"required": true,
|
|
569
|
-
"date": true
|
|
570
|
-
},
|
|
571
|
-
"meta": "fellowshipStop"
|
|
572
|
-
},
|
|
573
|
-
"applicationStop": {
|
|
574
|
-
"label": "applicationStop",
|
|
575
|
-
"component": "DatePicker",
|
|
576
|
-
"type": "PRIMITIVE",
|
|
577
|
-
"rules": {
|
|
578
|
-
"required": true,
|
|
579
|
-
"date": true
|
|
580
|
-
},
|
|
581
|
-
"meta": "applicationStop"
|
|
582
|
-
},
|
|
583
|
-
"image": {
|
|
584
|
-
"label": "image",
|
|
585
|
-
"component": "ImagePicker",
|
|
586
|
-
"type": "DOCUMENT",
|
|
587
|
-
"rules": {
|
|
588
|
-
"required": true
|
|
589
|
-
},
|
|
590
|
-
"meta": "image",
|
|
591
|
-
"default": ""
|
|
592
|
-
},
|
|
593
|
-
"publicationDate": {
|
|
594
|
-
"label": "publicationDate",
|
|
595
|
-
"component": "DatePicker",
|
|
596
|
-
"type": "PRIMITIVE",
|
|
597
|
-
"rules": {
|
|
598
|
-
"required": true,
|
|
599
|
-
"date": true
|
|
600
|
-
},
|
|
601
|
-
"meta": "publicationDate"
|
|
602
|
-
},
|
|
603
594
|
"files": {
|
|
604
595
|
"label": "files",
|
|
605
596
|
"component": "FilePicker",
|
|
597
|
+
"description": "Additional files related to the fellowship - e.g. application form",
|
|
606
598
|
"type": "DOCUMENT",
|
|
607
599
|
"meta": "files",
|
|
608
600
|
"default": ""
|
package/dist/form/mailing.cjs.js
CHANGED
|
@@ -76,19 +76,18 @@ const data = {
|
|
|
76
76
|
"rules": {
|
|
77
77
|
"required": true,
|
|
78
78
|
"min": 5,
|
|
79
|
-
"max":
|
|
79
|
+
"max": 20000
|
|
80
80
|
},
|
|
81
81
|
"meta": "content"
|
|
82
82
|
},
|
|
83
83
|
"date": {
|
|
84
84
|
"label": "date",
|
|
85
|
-
"component": "
|
|
85
|
+
"component": "DatePicker",
|
|
86
86
|
"description": "The date when the mailing will be sent",
|
|
87
87
|
"type": "PRIMITIVE",
|
|
88
88
|
"rules": {
|
|
89
89
|
"required": true,
|
|
90
|
-
"
|
|
91
|
-
"max": 200
|
|
90
|
+
"date": true
|
|
92
91
|
},
|
|
93
92
|
"meta": "date"
|
|
94
93
|
}
|
package/dist/form/mailing.d.ts
CHANGED
package/dist/form/mailing.js
CHANGED
|
@@ -74,19 +74,18 @@ const data = {
|
|
|
74
74
|
"rules": {
|
|
75
75
|
"required": true,
|
|
76
76
|
"min": 5,
|
|
77
|
-
"max":
|
|
77
|
+
"max": 20000
|
|
78
78
|
},
|
|
79
79
|
"meta": "content"
|
|
80
80
|
},
|
|
81
81
|
"date": {
|
|
82
82
|
"label": "date",
|
|
83
|
-
"component": "
|
|
83
|
+
"component": "DatePicker",
|
|
84
84
|
"description": "The date when the mailing will be sent",
|
|
85
85
|
"type": "PRIMITIVE",
|
|
86
86
|
"rules": {
|
|
87
87
|
"required": true,
|
|
88
|
-
"
|
|
89
|
-
"max": 200
|
|
88
|
+
"date": true
|
|
90
89
|
},
|
|
91
90
|
"meta": "date"
|
|
92
91
|
}
|
package/dist/form/news.cjs.js
CHANGED
|
@@ -69,12 +69,13 @@ const data = {
|
|
|
69
69
|
"en": "",
|
|
70
70
|
"fr": ""
|
|
71
71
|
},
|
|
72
|
+
"date": "",
|
|
73
|
+
"category": "",
|
|
72
74
|
"image": "",
|
|
73
75
|
"color": "",
|
|
74
76
|
"url": "",
|
|
75
77
|
"files": "",
|
|
76
78
|
"gallery": "",
|
|
77
|
-
"date": "",
|
|
78
79
|
"featured": "",
|
|
79
80
|
"tags": "",
|
|
80
81
|
"related": {
|
|
@@ -84,8 +85,7 @@ const data = {
|
|
|
84
85
|
"publications": "",
|
|
85
86
|
"projects": "",
|
|
86
87
|
"fellowships": ""
|
|
87
|
-
}
|
|
88
|
-
"category": ""
|
|
88
|
+
}
|
|
89
89
|
},
|
|
90
90
|
"schema": {
|
|
91
91
|
"name": {
|
|
@@ -105,8 +105,8 @@ const data = {
|
|
|
105
105
|
"component": "TextArea",
|
|
106
106
|
"type": "PRIMITIVE",
|
|
107
107
|
"i18n": true,
|
|
108
|
+
"description": "Will be extracted from description if left empty",
|
|
108
109
|
"rules": {
|
|
109
|
-
"required": true,
|
|
110
110
|
"min": 5,
|
|
111
111
|
"max": 200
|
|
112
112
|
},
|
|
@@ -132,17 +132,56 @@ const data = {
|
|
|
132
132
|
"rules": {
|
|
133
133
|
"required": true,
|
|
134
134
|
"min": 5,
|
|
135
|
-
"max":
|
|
135
|
+
"max": 2000
|
|
136
136
|
},
|
|
137
137
|
"meta": "description"
|
|
138
138
|
},
|
|
139
|
+
"date": {
|
|
140
|
+
"label": "date",
|
|
141
|
+
"component": "DatePicker",
|
|
142
|
+
"type": "PRIMITIVE",
|
|
143
|
+
"description": "If the date is in the future, will be scheduled for publication at due time/date",
|
|
144
|
+
"rules": {
|
|
145
|
+
"required": true,
|
|
146
|
+
"date": true
|
|
147
|
+
},
|
|
148
|
+
"meta": "date"
|
|
149
|
+
},
|
|
150
|
+
"category": {
|
|
151
|
+
"label": "category",
|
|
152
|
+
"component": "Select",
|
|
153
|
+
"type": "PRIMITIVE",
|
|
154
|
+
"rules": {
|
|
155
|
+
"required": true
|
|
156
|
+
},
|
|
157
|
+
"items": {
|
|
158
|
+
"PressRelease": "PRESS_RELEASE",
|
|
159
|
+
"Interview": "INTERVIEW",
|
|
160
|
+
"Article": "ARTICLE",
|
|
161
|
+
"Opinion": "OPINION",
|
|
162
|
+
"Report": "REPORT",
|
|
163
|
+
"Blog": "BLOG",
|
|
164
|
+
"LifeAtTheInstitute": "LIFE_AT_THE_INSTITUTE",
|
|
165
|
+
"Event": "EVENT",
|
|
166
|
+
"Announcement": "ANNOUNCEMENT",
|
|
167
|
+
"Job": "JOB",
|
|
168
|
+
"Fellowship": "FELLOWSHIP",
|
|
169
|
+
"Grant": "GRANT",
|
|
170
|
+
"Award": "AWARD",
|
|
171
|
+
"Project": "PROJECT",
|
|
172
|
+
"Tool": "TOOL",
|
|
173
|
+
"Software": "SOFTWARE",
|
|
174
|
+
"Data": "DATA",
|
|
175
|
+
"Publication": "PUBLICATION",
|
|
176
|
+
"Video": "VIDEO",
|
|
177
|
+
"Audio": "AUDIO"
|
|
178
|
+
},
|
|
179
|
+
"meta": "category"
|
|
180
|
+
},
|
|
139
181
|
"image": {
|
|
140
182
|
"label": "image",
|
|
141
183
|
"component": "ImagePicker",
|
|
142
184
|
"type": "DOCUMENT",
|
|
143
|
-
"rules": {
|
|
144
|
-
"required": true
|
|
145
|
-
},
|
|
146
185
|
"meta": "image",
|
|
147
186
|
"default": ""
|
|
148
187
|
},
|
|
@@ -151,7 +190,6 @@ const data = {
|
|
|
151
190
|
"component": "ColorPicker",
|
|
152
191
|
"type": "PRIMITIVE",
|
|
153
192
|
"rules": {
|
|
154
|
-
"required": true,
|
|
155
193
|
"color": true
|
|
156
194
|
},
|
|
157
195
|
"meta": "color"
|
|
@@ -161,7 +199,6 @@ const data = {
|
|
|
161
199
|
"component": "TextField",
|
|
162
200
|
"type": "PRIMITIVE",
|
|
163
201
|
"rules": {
|
|
164
|
-
"required": true,
|
|
165
202
|
"url": true
|
|
166
203
|
},
|
|
167
204
|
"meta": "url"
|
|
@@ -170,9 +207,6 @@ const data = {
|
|
|
170
207
|
"label": "files",
|
|
171
208
|
"component": "FilePicker",
|
|
172
209
|
"type": "DOCUMENT",
|
|
173
|
-
"rules": {
|
|
174
|
-
"required": true
|
|
175
|
-
},
|
|
176
210
|
"meta": "files",
|
|
177
211
|
"default": ""
|
|
178
212
|
},
|
|
@@ -180,26 +214,17 @@ const data = {
|
|
|
180
214
|
"label": "gallery",
|
|
181
215
|
"component": "ImagePicker",
|
|
182
216
|
"type": "DOCUMENT",
|
|
183
|
-
"multiple": true,
|
|
184
217
|
"meta": "gallery",
|
|
185
|
-
"default": ""
|
|
186
|
-
},
|
|
187
|
-
"date": {
|
|
188
|
-
"label": "date",
|
|
189
|
-
"component": "DatePicker",
|
|
190
|
-
"type": "PRIMITIVE",
|
|
191
218
|
"rules": {
|
|
192
|
-
"
|
|
193
|
-
"date": true
|
|
219
|
+
"max": 100
|
|
194
220
|
},
|
|
195
|
-
"
|
|
221
|
+
"default": ""
|
|
196
222
|
},
|
|
197
223
|
"featured": {
|
|
198
224
|
"label": "featured",
|
|
199
225
|
"component": "DatePicker",
|
|
200
226
|
"type": "PRIMITIVE",
|
|
201
227
|
"rules": {
|
|
202
|
-
"required": true,
|
|
203
228
|
"date": true
|
|
204
229
|
},
|
|
205
230
|
"meta": "featured"
|
|
@@ -209,7 +234,6 @@ const data = {
|
|
|
209
234
|
"component": "TagPicker",
|
|
210
235
|
"type": "DOCUMENT",
|
|
211
236
|
"rules": {
|
|
212
|
-
"required": true,
|
|
213
237
|
"min": 1
|
|
214
238
|
},
|
|
215
239
|
"meta": "tags",
|
|
@@ -219,11 +243,6 @@ const data = {
|
|
|
219
243
|
"label": "related",
|
|
220
244
|
"component": "ObjectContainerPanel",
|
|
221
245
|
"type": "OBJECT",
|
|
222
|
-
"rules": {
|
|
223
|
-
"required": true,
|
|
224
|
-
"min": 5,
|
|
225
|
-
"max": 200
|
|
226
|
-
},
|
|
227
246
|
"meta": "related",
|
|
228
247
|
"items": {
|
|
229
248
|
"events": {
|
|
@@ -269,37 +288,6 @@ const data = {
|
|
|
269
288
|
"default": ""
|
|
270
289
|
}
|
|
271
290
|
}
|
|
272
|
-
},
|
|
273
|
-
"category": {
|
|
274
|
-
"label": "category",
|
|
275
|
-
"component": "Select",
|
|
276
|
-
"type": "PRIMITIVE",
|
|
277
|
-
"rules": {
|
|
278
|
-
"required": true
|
|
279
|
-
},
|
|
280
|
-
"items": {
|
|
281
|
-
"PressRelease": "PRESS_RELEASE",
|
|
282
|
-
"Interview": "INTERVIEW",
|
|
283
|
-
"Article": "ARTICLE",
|
|
284
|
-
"Opinion": "OPINION",
|
|
285
|
-
"Report": "REPORT",
|
|
286
|
-
"Blog": "BLOG",
|
|
287
|
-
"LifeAtTheInstitute": "LIFE_AT_THE_INSTITUTE",
|
|
288
|
-
"Event": "EVENT",
|
|
289
|
-
"Announcement": "ANNOUNCEMENT",
|
|
290
|
-
"Job": "JOB",
|
|
291
|
-
"Fellowship": "FELLOWSHIP",
|
|
292
|
-
"Grant": "GRANT",
|
|
293
|
-
"Award": "AWARD",
|
|
294
|
-
"Project": "PROJECT",
|
|
295
|
-
"Tool": "TOOL",
|
|
296
|
-
"Software": "SOFTWARE",
|
|
297
|
-
"Data": "DATA",
|
|
298
|
-
"Publication": "PUBLICATION",
|
|
299
|
-
"Video": "VIDEO",
|
|
300
|
-
"Audio": "AUDIO"
|
|
301
|
-
},
|
|
302
|
-
"meta": "category"
|
|
303
291
|
}
|
|
304
292
|
}
|
|
305
293
|
};
|