@paris-ias/trees 2.0.21 → 2.0.22

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.
@@ -59,6 +59,7 @@ const data = {
59
59
  },
60
60
  "start": "",
61
61
  "stop": "",
62
+ "image": "",
62
63
  "subtitle": {
63
64
  "en": "",
64
65
  "fr": ""
@@ -81,7 +82,7 @@ const data = {
81
82
  "en": "",
82
83
  "fr": ""
83
84
  },
84
- "affiliation": "",
85
+ "affiliations": "",
85
86
  "appId": "",
86
87
  "bookingState": "",
87
88
  "delay": "",
@@ -90,15 +91,10 @@ const data = {
90
91
  "fr": ""
91
92
  },
92
93
  "disciplines": "",
93
- "discussants": [
94
- {
95
- "discussants": ""
96
- }
97
- ],
94
+ "discussants": "",
98
95
  "organiserType": "",
99
96
  "lang": "",
100
97
  "files": "",
101
- "image": "",
102
98
  "gallery": "",
103
99
  "eventSlot": [
104
100
  {
@@ -109,17 +105,13 @@ const data = {
109
105
  "lang": ""
110
106
  }
111
107
  ],
112
- "organizers": [
113
- {
114
- "organizers": ""
115
- }
116
- ],
117
- "organizerState": "",
108
+ "organizers": "",
118
109
  "outside": false,
119
110
  "location": {
120
111
  "name": "",
112
+ "acronym": "",
113
+ "image": "",
121
114
  "details": "",
122
- "alt": "",
123
115
  "street": "",
124
116
  "city": "",
125
117
  "country": "",
@@ -137,11 +129,7 @@ const data = {
137
129
  "projects": "",
138
130
  "fellowships": ""
139
131
  },
140
- "speakers": [
141
- {
142
- "speakers": ""
143
- }
144
- ],
132
+ "speakers": "",
145
133
  "state": "",
146
134
  "tags": "",
147
135
  "totalSlots": "",
@@ -157,7 +145,7 @@ const data = {
157
145
  "rules": {
158
146
  "required": true,
159
147
  "min": 5,
160
- "max": 200
148
+ "max": 300
161
149
  },
162
150
  "meta": "name"
163
151
  },
@@ -181,6 +169,16 @@ const data = {
181
169
  },
182
170
  "meta": "stop"
183
171
  },
172
+ "image": {
173
+ "label": "image",
174
+ "component": "ImagePicker",
175
+ "type": "DOCUMENT",
176
+ "rules": {
177
+ "required": true
178
+ },
179
+ "meta": "image",
180
+ "default": ""
181
+ },
184
182
  "subtitle": {
185
183
  "label": "subtitle",
186
184
  "component": "TextArea",
@@ -189,7 +187,7 @@ const data = {
189
187
  "rules": {
190
188
  "required": true,
191
189
  "min": 5,
192
- "max": 200
190
+ "max": 400
193
191
  },
194
192
  "meta": "subtitle"
195
193
  },
@@ -197,9 +195,9 @@ const data = {
197
195
  "label": "summary",
198
196
  "component": "TextArea",
199
197
  "type": "PRIMITIVE",
198
+ "description": "Will be extracted from description if left empty",
200
199
  "i18n": true,
201
200
  "rules": {
202
- "required": true,
203
201
  "min": 5,
204
202
  "max": 200
205
203
  },
@@ -252,8 +250,11 @@ const data = {
252
250
  "rules": {
253
251
  "required": true,
254
252
  "min": 5,
255
- "max": 200
253
+ "max": 2000
256
254
  },
255
+ "transformers": [
256
+ "CANDIDATES"
257
+ ],
257
258
  "meta": "description"
258
259
  },
259
260
  "details": {
@@ -264,8 +265,11 @@ const data = {
264
265
  "rules": {
265
266
  "required": true,
266
267
  "min": 5,
267
- "max": 200
268
+ "max": 2000
268
269
  },
270
+ "transformers": [
271
+ "CANDIDATES"
272
+ ],
269
273
  "meta": "details"
270
274
  },
271
275
  "program": {
@@ -276,17 +280,17 @@ const data = {
276
280
  "rules": {
277
281
  "required": true,
278
282
  "min": 5,
279
- "max": 200
283
+ "max": 2000
280
284
  },
285
+ "transformers": [
286
+ "CANDIDATES"
287
+ ],
281
288
  "meta": "program"
282
289
  },
283
- "affiliation": {
290
+ "affiliations": {
284
291
  "label": "affiliations",
285
- "component": "AffiliationPicker",
292
+ "component": "DocumentPicker",
286
293
  "type": "DOCUMENT",
287
- "rules": {
288
- "required": true
289
- },
290
294
  "meta": "affiliations",
291
295
  "default": ""
292
296
  },
@@ -309,15 +313,16 @@ const data = {
309
313
  "type": "PRIMITIVE",
310
314
  "default": 0,
311
315
  "rules": {
312
- "required": true
316
+ "numerical": true
313
317
  },
314
318
  "meta": "delay"
315
319
  },
316
320
  "dateText": {
317
321
  "label": "dateText",
318
- "component": "TextArea",
322
+ "component": "TextField",
319
323
  "type": "PRIMITIVE",
320
324
  "i18n": true,
325
+ "hint": "full text date for details and nuances, e.g. Mondays, Wednesdays and Fridays, from 10 am to 12 pm, from September 20 to December 15, 2023",
321
326
  "rules": {
322
327
  "min": 5,
323
328
  "max": 200
@@ -338,18 +343,10 @@ const data = {
338
343
  },
339
344
  "discussants": {
340
345
  "label": "discussants",
341
- "component": "CollectionContainerPanel",
342
- "type": "ARRAY",
343
- "items": {
344
- "discussants": {
345
- "label": "discussants",
346
- "component": "DocumentPicker",
347
- "type": "DOCUMENT",
348
- "meta": "discussants",
349
- "default": ""
350
- }
351
- },
352
- "meta": "discussants"
346
+ "component": "DocumentPicker",
347
+ "type": "DOCUMENT",
348
+ "meta": "discussants",
349
+ "default": ""
353
350
  },
354
351
  "organiserType": {
355
352
  "label": "organiserType",
@@ -370,6 +367,10 @@ const data = {
370
367
  "label": "lang",
371
368
  "component": "Select",
372
369
  "type": "PRIMITIVE",
370
+ "items": {
371
+ "EN": "en",
372
+ "FR": "fr"
373
+ },
373
374
  "rules": {
374
375
  "required": true
375
376
  },
@@ -385,16 +386,6 @@ const data = {
385
386
  "meta": "files",
386
387
  "default": ""
387
388
  },
388
- "image": {
389
- "label": "image",
390
- "component": "ImagePicker",
391
- "type": "DOCUMENT",
392
- "rules": {
393
- "required": true
394
- },
395
- "meta": "image",
396
- "default": ""
397
- },
398
389
  "gallery": {
399
390
  "label": "gallery",
400
391
  "component": "ImagePicker",
@@ -459,43 +450,29 @@ const data = {
459
450
  "rules": {
460
451
  "required": true
461
452
  },
453
+ "items": {
454
+ "EN": "en",
455
+ "FR": "fr"
456
+ },
462
457
  "meta": "lang"
463
458
  }
464
459
  }
465
460
  },
466
461
  "organizers": {
467
462
  "label": "organizers",
468
- "component": "CollectionContainerPanel",
469
- "type": "ARRAY",
470
- "items": {
471
- "organizers": {
472
- "label": "organizers",
473
- "component": "DocumentPicker",
474
- "type": "DOCUMENT",
475
- "meta": "organizers",
476
- "default": ""
477
- }
478
- },
479
- "meta": "organizers"
480
- },
481
- "organizerState": {
482
- "label": "organizerState",
483
- "component": "ListRadio",
484
- "type": "PRIMITIVE",
463
+ "component": "DocumentPicker",
464
+ "type": "DOCUMENT",
465
+ "meta": "organizers",
485
466
  "rules": {
486
- "required": true
467
+ "max": 20
487
468
  },
488
- "meta": "organizerState"
469
+ "default": ""
489
470
  },
490
471
  "outside": {
491
472
  "label": "outside",
492
473
  "component": "Checkbox",
474
+ "hint": "Tick this to indicate the event is not taking place at hotel de Lauzun",
493
475
  "type": "PRIMITIVE",
494
- "rules": {
495
- "required": true,
496
- "min": 5,
497
- "max": 200
498
- },
499
476
  "meta": "outside"
500
477
  },
501
478
  "location": {
@@ -505,6 +482,15 @@ const data = {
505
482
  "rules": {
506
483
  "required": true
507
484
  },
485
+ "show": {
486
+ "switchIf": [
487
+ {
488
+ "outside": false
489
+ }
490
+ ],
491
+ "default": true,
492
+ "disjonctive": false
493
+ },
508
494
  "meta": "place",
509
495
  "items": {
510
496
  "name": {
@@ -518,27 +504,34 @@ const data = {
518
504
  },
519
505
  "meta": "name"
520
506
  },
521
- "details": {
522
- "label": "details",
523
- "component": "TextArea",
507
+ "acronym": {
508
+ "label": "acronym",
509
+ "component": "TextField",
524
510
  "type": "PRIMITIVE",
525
511
  "rules": {
526
- "required": true,
527
- "min": 5,
528
- "max": 200
512
+ "max": 20
529
513
  },
530
- "meta": "details"
514
+ "meta": "acronym"
515
+ },
516
+ "image": {
517
+ "label": "image",
518
+ "component": "ImagePicker",
519
+ "type": "DOCUMENT",
520
+ "rules": {
521
+ "required": true
522
+ },
523
+ "meta": "image",
524
+ "default": ""
531
525
  },
532
- "alt": {
533
- "label": "alt",
526
+ "details": {
527
+ "label": "details",
534
528
  "component": "TextArea",
535
529
  "type": "PRIMITIVE",
536
530
  "rules": {
537
- "required": true,
538
531
  "min": 5,
539
- "max": 200
532
+ "max": 2000
540
533
  },
541
- "meta": "alt"
534
+ "meta": "details"
542
535
  },
543
536
  "street": {
544
537
  "label": "street",
@@ -546,7 +539,7 @@ const data = {
546
539
  "type": "PRIMITIVE",
547
540
  "rules": {
548
541
  "required": true,
549
- "max": 200
542
+ "max": 2000
550
543
  },
551
544
  "meta": "street"
552
545
  },
@@ -572,41 +565,26 @@ const data = {
572
565
  "type": "PRIMITIVE",
573
566
  "rules": {
574
567
  "required": true,
575
- "min": 5,
576
- "max": 200
568
+ "numerical": true
577
569
  },
578
570
  "meta": "zip"
579
571
  },
580
572
  "geocode": {
581
573
  "label": "geocode",
582
- "component": "LocationPicker",
574
+ "component": "GeocodePicker",
583
575
  "type": "OBJECT",
584
- "rules": {
585
- "required": true,
586
- "min": 5,
587
- "max": 200
588
- },
576
+ "rules": {},
589
577
  "items": {
590
578
  "lat": {
591
579
  "label": "latitude",
592
- "component": "TextField",
580
+ "component": false,
593
581
  "type": "PRIMITIVE",
594
- "rules": {
595
- "required": true,
596
- "min": 5,
597
- "max": 200
598
- },
599
582
  "meta": "latitude"
600
583
  },
601
584
  "lng": {
602
585
  "label": "longitude",
603
- "component": "TextField",
586
+ "component": false,
604
587
  "type": "PRIMITIVE",
605
- "rules": {
606
- "required": true,
607
- "min": 5,
608
- "max": 200
609
- },
610
588
  "meta": "longitude"
611
589
  }
612
590
  },
@@ -618,11 +596,6 @@ const data = {
618
596
  "label": "related",
619
597
  "component": "ObjectContainerPanel",
620
598
  "type": "OBJECT",
621
- "rules": {
622
- "required": true,
623
- "min": 5,
624
- "max": 200
625
- },
626
599
  "meta": "related",
627
600
  "items": {
628
601
  "events": {
@@ -671,18 +644,13 @@ const data = {
671
644
  },
672
645
  "speakers": {
673
646
  "label": "speakers",
674
- "component": "CollectionContainerPanel",
675
- "type": "ARRAY",
676
- "items": {
677
- "speakers": {
678
- "label": "speakers",
679
- "component": "DocumentPicker",
680
- "type": "DOCUMENT",
681
- "meta": "speakers",
682
- "default": ""
683
- }
647
+ "component": "DocumentPicker",
648
+ "type": "DOCUMENT",
649
+ "meta": "speakers",
650
+ "rules": {
651
+ "max": 200
684
652
  },
685
- "meta": "speakers"
653
+ "default": ""
686
654
  },
687
655
  "state": {
688
656
  "label": "state",
@@ -691,24 +659,32 @@ const data = {
691
659
  "rules": {
692
660
  "required": true
693
661
  },
662
+ "items": {
663
+ "Draft": "DRAFT",
664
+ "Published": "PUBLISHED",
665
+ "Removed": "REMOVED",
666
+ "Finished": "FINISHED",
667
+ "Cancelled": "CANCELLED",
668
+ "Postponed": "POSTPONED",
669
+ "Rescheduled": "RESCHEDULED"
670
+ },
694
671
  "meta": "state"
695
672
  },
696
673
  "tags": {
697
674
  "label": "tags",
698
675
  "component": "TagPicker",
699
676
  "type": "DOCUMENT",
700
- "rules": {
701
- "required": true
702
- },
703
677
  "meta": "tags",
704
678
  "default": ""
705
679
  },
706
680
  "totalSlots": {
707
681
  "label": "totalSlots",
682
+ "hint": "Total number of slots available for booking. event will show up as full when all slots are booked.",
708
683
  "component": false,
709
684
  "type": "PRIMITIVE",
710
685
  "rules": {
711
686
  "required": true,
687
+ "numerical": true,
712
688
  "min": 5,
713
689
  "max": 200
714
690
  },
@@ -729,7 +705,6 @@ const data = {
729
705
  "component": "TextField",
730
706
  "type": "PRIMITIVE",
731
707
  "rules": {
732
- "required": true,
733
708
  "url": true
734
709
  },
735
710
  "meta": "url"