datastake-daf 0.6.461 → 0.6.462

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.
@@ -10,97 +10,1400 @@ export const storyData = {
10
10
  getAppHeader,
11
11
  form: {
12
12
  form: {
13
- id: "identification",
14
- position: 1,
15
-
16
- areaOfInfluence: {
17
- _id: "68d699bcab72f002b8f04a9e",
18
- id: "d9db4b4d-a7bb-43d7-bdeb-e64bb38d41d1",
19
- dataId: "areaOfInfluence",
20
- section: "identification",
21
- type: "drawTerritory",
22
- meta: {
23
- comment: true,
24
- notApplicable: false,
25
- notAvailable: false,
26
- mandatory: false,
27
- group: "identification",
13
+ "id": "identification",
14
+ "position": 1,
15
+ "administrativeLevel1": {
16
+ "_id": "68ed0d1411b25ef8b3ac421c",
17
+ "id": "964b1596-6e28-44a6-9c22-00b698f35208",
18
+ "dataId": "administrativeLevel1",
19
+ "section": "identification",
20
+ "type": "ajaxSelect",
21
+ "meta": {
22
+ "disableEdit": {
23
+ "create": false,
24
+ "edit": true
25
+ },
26
+ "comment": false,
27
+ "notApplicable": false,
28
+ "notAvailable": true,
29
+ "address": "level1",
30
+ "call": "AdministrativeLevel::getOptions({\n \"country\": \"country\",\n \"level\": \"level_1 as \"\n })::{\n \"label\": \"name\",\n \"value\": \"id\",\n \"coordinates\": \"coordinates\"\n }",
31
+ "group": "identification",
32
+ "noAddNew": true,
33
+ "onNewSetValueKey": "administrativeLevel1Name",
34
+ "mandatory": true,
35
+ "store": {
36
+ "location": {
37
+ "global": true,
38
+ "path": "administrativeLevel1"
39
+ }
40
+ }
28
41
  },
29
-
30
- position: 6,
31
- description:
32
- "The area of influence is the area where actions of this armed group are happening",
33
- scope: ["armedGroups", "location", "conflictArea"],
34
- label: "Perimeter",
35
- createdAt: "2025-09-26T13:48:44.363Z",
36
- updatedAt: "2025-09-26T13:48:44.363Z",
37
- __v: 0,
42
+ "showIf": "country notEmpty true",
43
+ "position": 2,
44
+ "dataLink": {
45
+ "addToLinking": true,
46
+ "entity": "AdministrativeLevel",
47
+ "method": "createLevel",
48
+ "createUserVersion": false,
49
+ "createNew": false,
50
+ "collection": "administrative_levels",
51
+ "formNamespace": "SCL",
52
+ "customUrl": "/adm",
53
+ "keys": [
54
+ "country",
55
+ "level = level_1",
56
+ "administrativeLevel1"
57
+ ],
58
+ "pickKeys": []
59
+ },
60
+ "rules": [
61
+ {
62
+ "required": true,
63
+ "message": "errors::field is required"
64
+ }
65
+ ],
66
+ "scope": [
67
+ "createLocation",
68
+ "createAppLocation",
69
+ "createOperationalPlot",
70
+ "location",
71
+ "operationsActivity",
72
+ "engagementActivity",
73
+ "monitoringActivity",
74
+ "restorationActivity",
75
+ "newActivityLocation",
76
+ "activityLocation",
77
+ "samplingPlot",
78
+ "createProjectLocation",
79
+ "projectPlot",
80
+ "appPlot"
81
+ ],
82
+ "label": {
83
+ "country is BF": "Region",
84
+ "country is CD": "Province",
85
+ "country is AL": "Region",
86
+ "country is CO": "Department",
87
+ "country is ZW": "Province",
88
+ "country is SM": "Municipality",
89
+ "country is CH": "Region",
90
+ "country is HK": "Region",
91
+ "country is CA": "Region",
92
+ "country is SG": "District",
93
+ "country is AD": "Parish",
94
+ "country is TR": "Region",
95
+ "country is IT": "Region",
96
+ "country is US": "State",
97
+ "country is UG": "Region",
98
+ "country is MG": "Region",
99
+ "country is PE": "Department"
100
+ },
101
+ "createdAt": "2025-10-13T14:30:44.822Z",
102
+ "updatedAt": "2025-10-13T14:30:44.822Z",
103
+ "__v": 0
38
104
  },
39
-
40
- locationId: {
41
- _id: "68d699bcab72f002b8f04ab8",
42
- id: "956303f0-7a0f-40e1-ba9d-21df5079a833",
43
- dataId: "locationId",
44
- section: "identification",
45
- type: "ajaxSelect",
46
- meta: {
47
- comment: false,
48
- notApplicable: false,
49
- notAvailable: true,
50
- application: "nashiriki",
51
- group: "identification",
52
- mandatory: true,
53
- onNewSetValueKey: "name",
54
- store: {
55
- location: {
56
- path: "name",
57
- global: true,
58
- },
59
- },
60
- call: 'LOCATION::getOptions({\n "country": "country",\n "category": "category",\n "administrativeLevel1": "administrativeLevel1",\n "administrativeLevel2": "administrativeLevel2"\n })::{\n "label": "name",\n "value": "_id",\n "datastakeId": "datastakeId",\n "gps": "gps",\n "_id": "_id",\n "parent": "parent",\n "administrativeLevel1": "administrativeLevel1",\n "administrativeLevel2": "administrativeLevel2",\n "category":"category",\n "users": "users",\n "country": "country"\n }::["datastakeId", "gps", "administrativeLevel1", "administrativeLevel2", "category", "parent", "country", "_id"]',
105
+ "administrativeLevel2": {
106
+ "_id": "68ed0d1411b25ef8b3ac421e",
107
+ "id": "3510f8e2-d09a-49c2-8578-a35577e47127",
108
+ "dataId": "administrativeLevel2",
109
+ "section": "identification",
110
+ "type": "ajaxSelect",
111
+ "meta": {
112
+ "disableEdit": {
113
+ "create": false,
114
+ "edit": true
115
+ },
116
+ "comment": false,
117
+ "notApplicable": false,
118
+ "notAvailable": true,
119
+ "address": "level2",
120
+ "call": "AdministrativeLevel::getOptions({\n \"country\": \"country\",\n \"administrativeLevel1\": \"administrativeLevel1\",\n \"level\": \"level_2 as \"\n })::{\n \"label\": \"name\",\n \"value\": \"id\",\n \"coordinates\": \"coordinates\"\n }",
121
+ "group": "identification",
122
+ "noAddNew": true,
123
+ "onNewSetValueKey": "administrativeLevel2Name",
124
+ "mandatory": true,
125
+ "store": {
126
+ "location": {
127
+ "global": true,
128
+ "path": "administrativeLevel2"
129
+ }
130
+ }
61
131
  },
62
- position: 5,
63
- dataLink: {
64
- entity: "Location",
65
- createUserVersion: true,
66
- createNew: true,
67
- collection: "nashiriki.global_location",
68
- formNamespace: "location",
69
- keys: [
70
- "name",
132
+ "showIf": "country notEmpty true && administrativeLevel1 not undefined",
133
+ "position": 3,
134
+ "dataLink": {
135
+ "addToLinking": true,
136
+ "entity": "AdministrativeLevel",
137
+ "method": "createLevel",
138
+ "createUserVersion": false,
139
+ "createNew": false,
140
+ "collection": "administrative_levels",
141
+ "formNamespace": "SCL",
142
+ "customUrl": "/adm",
143
+ "keys": [
71
144
  "country",
72
- "category",
73
145
  "administrativeLevel1",
74
- "administrativeLevel2",
146
+ "level = level_2"
75
147
  ],
148
+ "pickKeys": []
76
149
  },
77
- rules: [
150
+ "rules": [
78
151
  {
79
- required: true,
80
- message: "errors::field is required",
152
+ "required": true,
153
+ "message": "errors::field is required"
154
+ }
155
+ ],
156
+ "scope": [
157
+ "createLocation",
158
+ "createAppLocation",
159
+ "location",
160
+ "operationsActivity",
161
+ "engagementActivity",
162
+ "createOperationalPlot",
163
+ "monitoringActivity",
164
+ "restorationActivity",
165
+ "newActivityLocation",
166
+ "activityLocation",
167
+ "samplingPlot",
168
+ "createProjectLocation",
169
+ "projectPlot",
170
+ "appPlot"
171
+ ],
172
+ "label": {
173
+ "country is BF": "Province",
174
+ "country is CD": "Territory",
175
+ "country is AL": "County",
176
+ "country is CO": "Municipality",
177
+ "country is ZW": "District",
178
+ "country is CH": "Township",
179
+ "country is HK": "District",
180
+ "country is CA": "Provinces & Territories",
181
+ "country is TR": "Province",
182
+ "country is IT": "Province",
183
+ "country is US": "County",
184
+ "country is UG": "District",
185
+ "country is MG": "District"
186
+ },
187
+ "createdAt": "2025-10-13T14:30:44.823Z",
188
+ "updatedAt": "2025-10-13T14:30:44.823Z",
189
+ "__v": 0
190
+ },
191
+ "category": {
192
+ "_id": "68ed0d1411b25ef8b3ac4220",
193
+ "id": "bc671dc2-76e9-4f83-adf2-23bd257f08a2",
194
+ "dataId": "category",
195
+ "section": "identification",
196
+ "type": "select",
197
+ "meta": {
198
+ "disableEdit": {
199
+ "create": false,
200
+ "edit": true
81
201
  },
202
+ "comment": false,
203
+ "notApplicable": false,
204
+ "notAvailable": true,
205
+ "group": "identification",
206
+ "hidden": true,
207
+ "mandatory": true
208
+ },
209
+ "position": 2,
210
+ "rules": [
211
+ {
212
+ "required": true,
213
+ "message": "errors::field is required"
214
+ }
82
215
  ],
83
- scope: [
84
- "nashirikiOperatorLocation",
85
- "nashirikiWorkerLocation",
86
- "modalNashiriki",
87
- "locationAssociatedVillage",
88
- "locationAssociatedExportTown",
89
- "workerPlaceOfBirth",
90
- "armedGroups",
91
- "locationSupplierTrade",
92
- "modal",
216
+ "scope": [
217
+ "location",
218
+ "operationsActivity",
219
+ "engagementActivity",
220
+ "monitoringActivity",
221
+ "restorationActivity",
222
+ "newActivityLocation",
223
+ "activityLocation",
224
+ "createAppLocation",
225
+ "createOtherLocation",
226
+ "createOperationalPlot",
227
+ "samplingPlot",
228
+ "createProjectLocation",
229
+ "projectPlot",
230
+ "appPlot",
231
+ "modal"
232
+ ],
233
+ "label": "Location type",
234
+ "tableLabel": "Category",
235
+ "options": [
236
+ {
237
+ "label": "Plot",
238
+ "value": "plot"
239
+ },
240
+ {
241
+ "label": "Sampling Plot",
242
+ "value": "samplingPlot"
243
+ },
244
+ {
245
+ "label": "Village",
246
+ "value": "village"
247
+ },
248
+ {
249
+ "label": "City",
250
+ "value": "city"
251
+ },
252
+ {
253
+ "label": "Other",
254
+ "value": "other"
255
+ }
256
+ ],
257
+ "createdAt": "2025-10-13T14:30:45.907Z",
258
+ "updatedAt": "2025-10-13T14:30:45.907Z",
259
+ "__v": 0
260
+ },
261
+ "country": {
262
+ "_id": "68ed0d1411b25ef8b3ac4222",
263
+ "id": "8551bde6-c4e0-4fd0-a320-a37d967b4d52",
264
+ "dataId": "country",
265
+ "section": "identification",
266
+ "type": "select",
267
+ "meta": {
268
+ "group": "identification",
269
+ "comment": false,
270
+ "notApplicable": false,
271
+ "notAvailable": true,
272
+ "address": "country",
273
+ "mandatory": true
274
+ },
275
+ "position": 1,
276
+ "scope": [
93
277
  "location",
94
- "conflictArea",
278
+ "operationsActivity",
279
+ "engagementActivity",
280
+ "monitoringActivity",
281
+ "restorationActivity",
282
+ "newActivityLocation",
283
+ "activityLocation",
284
+ "modal",
285
+ "createAppLocation",
286
+ "createOtherLocation",
287
+ "createOperationalPlot",
288
+ "createSamplingPlot",
289
+ "operationalPlotModal",
290
+ "samplingPlot",
291
+ "projectPlot",
292
+ "appPlot",
293
+ "createProjectLocation",
294
+ "createPlotModal"
295
+ ],
296
+ "label": "Country",
297
+ "options": [
298
+ {
299
+ "label": "Afghanistan",
300
+ "value": "AF"
301
+ },
302
+ {
303
+ "label": "Åland Islands",
304
+ "value": "AX"
305
+ },
306
+ {
307
+ "label": "Albania",
308
+ "value": "AL"
309
+ },
310
+ {
311
+ "label": "Algeria",
312
+ "value": "DZ"
313
+ },
314
+ {
315
+ "label": "American Samoa",
316
+ "value": "AS"
317
+ },
318
+ {
319
+ "label": "Andorra",
320
+ "value": "AD"
321
+ },
322
+ {
323
+ "label": "Angola",
324
+ "value": "AO"
325
+ },
326
+ {
327
+ "label": "Anguilla",
328
+ "value": "AI"
329
+ },
330
+ {
331
+ "label": "Antarctica",
332
+ "value": "AQ"
333
+ },
334
+ {
335
+ "label": "Antigua and Barbuda",
336
+ "value": "AG"
337
+ },
338
+ {
339
+ "label": "Argentina",
340
+ "value": "AR"
341
+ },
342
+ {
343
+ "label": "Armenia",
344
+ "value": "AM"
345
+ },
346
+ {
347
+ "label": "Aruba",
348
+ "value": "AW"
349
+ },
350
+ {
351
+ "label": "Australia",
352
+ "value": "AU"
353
+ },
354
+ {
355
+ "label": "Austria",
356
+ "value": "AT"
357
+ },
358
+ {
359
+ "label": "Azerbaijan",
360
+ "value": "AZ"
361
+ },
362
+ {
363
+ "label": "Bahamas",
364
+ "value": "BS"
365
+ },
366
+ {
367
+ "label": "Bahrain",
368
+ "value": "BH"
369
+ },
370
+ {
371
+ "label": "Bangladesh",
372
+ "value": "BD"
373
+ },
374
+ {
375
+ "label": "Barbados",
376
+ "value": "BB"
377
+ },
378
+ {
379
+ "label": "Belarus",
380
+ "value": "BY"
381
+ },
382
+ {
383
+ "label": "Belgium",
384
+ "value": "BE"
385
+ },
386
+ {
387
+ "label": "Belize",
388
+ "value": "BZ"
389
+ },
390
+ {
391
+ "label": "Benin",
392
+ "value": "BJ"
393
+ },
394
+ {
395
+ "label": "Bermuda",
396
+ "value": "BM"
397
+ },
398
+ {
399
+ "label": "Bhutan",
400
+ "value": "BT"
401
+ },
402
+ {
403
+ "label": "Bolivia (Plurinational State of)",
404
+ "value": "BO"
405
+ },
406
+ {
407
+ "label": "Bonaire, Sint Eustatius and Saba",
408
+ "value": "BQ"
409
+ },
410
+ {
411
+ "label": "Bosnia and Herzegovina",
412
+ "value": "BA"
413
+ },
414
+ {
415
+ "label": "Botswana",
416
+ "value": "BW"
417
+ },
418
+ {
419
+ "label": "Bouvet Island",
420
+ "value": "BV"
421
+ },
422
+ {
423
+ "label": "Brazil",
424
+ "value": "BR"
425
+ },
426
+ {
427
+ "label": "British Indian Ocean Territory",
428
+ "value": "IO"
429
+ },
430
+ {
431
+ "label": "Brunei Darussalam",
432
+ "value": "BN"
433
+ },
434
+ {
435
+ "label": "Bulgaria",
436
+ "value": "BG"
437
+ },
438
+ {
439
+ "label": "Burkina Faso",
440
+ "value": "BF"
441
+ },
442
+ {
443
+ "label": "Burundi",
444
+ "value": "BI"
445
+ },
446
+ {
447
+ "label": "Cabo Verde",
448
+ "value": "CV"
449
+ },
450
+ {
451
+ "label": "Cambodia",
452
+ "value": "KH"
453
+ },
454
+ {
455
+ "label": "Cameroon",
456
+ "value": "CM"
457
+ },
458
+ {
459
+ "label": "Canada",
460
+ "value": "CA"
461
+ },
462
+ {
463
+ "label": "Cayman Islands",
464
+ "value": "KY"
465
+ },
466
+ {
467
+ "label": "Central African Republic",
468
+ "value": "CF"
469
+ },
470
+ {
471
+ "label": "Chad",
472
+ "value": "TD"
473
+ },
474
+ {
475
+ "label": "Chile",
476
+ "value": "CL"
477
+ },
478
+ {
479
+ "label": "China",
480
+ "value": "CN"
481
+ },
482
+ {
483
+ "label": "Christmas Island",
484
+ "value": "CX"
485
+ },
486
+ {
487
+ "label": "Cocos (Keeling) Islands",
488
+ "value": "CC"
489
+ },
490
+ {
491
+ "label": "Colombia",
492
+ "value": "CO"
493
+ },
494
+ {
495
+ "label": "Comoros",
496
+ "value": "KM"
497
+ },
498
+ {
499
+ "label": "Congo",
500
+ "value": "CG"
501
+ },
502
+ {
503
+ "label": "Democratic Republic of the Congo",
504
+ "value": "CD"
505
+ },
506
+ {
507
+ "label": "Cook Islands",
508
+ "value": "CK"
509
+ },
510
+ {
511
+ "label": "Costa Rica",
512
+ "value": "CR"
513
+ },
514
+ {
515
+ "label": "Ivory Coast",
516
+ "value": "CI"
517
+ },
518
+ {
519
+ "label": "Croatia",
520
+ "value": "HR"
521
+ },
522
+ {
523
+ "label": "Cuba",
524
+ "value": "CU"
525
+ },
526
+ {
527
+ "label": "Curaçao",
528
+ "value": "CW"
529
+ },
530
+ {
531
+ "label": "Cyprus",
532
+ "value": "CY"
533
+ },
534
+ {
535
+ "label": "Czechia",
536
+ "value": "CZ"
537
+ },
538
+ {
539
+ "label": "Denmark",
540
+ "value": "DK"
541
+ },
542
+ {
543
+ "label": "Djibouti",
544
+ "value": "DJ"
545
+ },
546
+ {
547
+ "label": "Dominica",
548
+ "value": "DM"
549
+ },
550
+ {
551
+ "label": "Dominican Republic",
552
+ "value": "DO"
553
+ },
554
+ {
555
+ "label": "Ecuador",
556
+ "value": "EC"
557
+ },
558
+ {
559
+ "label": "Egypt",
560
+ "value": "EG"
561
+ },
562
+ {
563
+ "label": "El Salvador",
564
+ "value": "SV"
565
+ },
566
+ {
567
+ "label": "Equatorial Guinea",
568
+ "value": "GQ"
569
+ },
570
+ {
571
+ "label": "Eritrea",
572
+ "value": "ER"
573
+ },
574
+ {
575
+ "label": "Estonia",
576
+ "value": "EE"
577
+ },
578
+ {
579
+ "label": "Eswatini",
580
+ "value": "SZ"
581
+ },
582
+ {
583
+ "label": "Ethiopia",
584
+ "value": "ET"
585
+ },
586
+ {
587
+ "label": "Falkland Islands (Malvinas)",
588
+ "value": "FK"
589
+ },
590
+ {
591
+ "label": "Faroe Islands",
592
+ "value": "FO"
593
+ },
594
+ {
595
+ "label": "Fiji",
596
+ "value": "FJ"
597
+ },
598
+ {
599
+ "label": "Finland",
600
+ "value": "FI"
601
+ },
602
+ {
603
+ "label": "France",
604
+ "value": "FR"
605
+ },
606
+ {
607
+ "label": "French Guiana",
608
+ "value": "GF"
609
+ },
610
+ {
611
+ "label": "French Polynesia",
612
+ "value": "PF"
613
+ },
614
+ {
615
+ "label": "French Southern Territories",
616
+ "value": "TF"
617
+ },
618
+ {
619
+ "label": "Gabon",
620
+ "value": "GA"
621
+ },
622
+ {
623
+ "label": "Gambia",
624
+ "value": "GM"
625
+ },
626
+ {
627
+ "label": "Georgia",
628
+ "value": "GE"
629
+ },
630
+ {
631
+ "label": "Germany",
632
+ "value": "DE"
633
+ },
634
+ {
635
+ "label": "Ghana",
636
+ "value": "GH"
637
+ },
638
+ {
639
+ "label": "Gibraltar",
640
+ "value": "GI"
641
+ },
642
+ {
643
+ "label": "Greece",
644
+ "value": "GR"
645
+ },
646
+ {
647
+ "label": "Greenland",
648
+ "value": "GL"
649
+ },
650
+ {
651
+ "label": "Grenada",
652
+ "value": "GD"
653
+ },
654
+ {
655
+ "label": "Guadeloupe",
656
+ "value": "GP"
657
+ },
658
+ {
659
+ "label": "Guam",
660
+ "value": "GU"
661
+ },
662
+ {
663
+ "label": "Guatemala",
664
+ "value": "GT"
665
+ },
666
+ {
667
+ "label": "Guernsey",
668
+ "value": "GG"
669
+ },
670
+ {
671
+ "label": "Guinea",
672
+ "value": "GN"
673
+ },
674
+ {
675
+ "label": "Guinea-Bissau",
676
+ "value": "GW"
677
+ },
678
+ {
679
+ "label": "Guyana",
680
+ "value": "GY"
681
+ },
682
+ {
683
+ "label": "Haiti",
684
+ "value": "HT"
685
+ },
686
+ {
687
+ "label": "Heard Island and McDonald Islands",
688
+ "value": "HM"
689
+ },
690
+ {
691
+ "label": "Holy See",
692
+ "value": "VA"
693
+ },
694
+ {
695
+ "label": "Honduras",
696
+ "value": "HN"
697
+ },
698
+ {
699
+ "label": "Hong Kong",
700
+ "value": "HK"
701
+ },
702
+ {
703
+ "label": "Hungary",
704
+ "value": "HU"
705
+ },
706
+ {
707
+ "label": "Iceland",
708
+ "value": "IS"
709
+ },
710
+ {
711
+ "label": "India",
712
+ "value": "IN"
713
+ },
714
+ {
715
+ "label": "Indonesia",
716
+ "value": "ID"
717
+ },
718
+ {
719
+ "label": "Iran (Islamic Republic of)",
720
+ "value": "IR"
721
+ },
722
+ {
723
+ "label": "Iraq",
724
+ "value": "IQ"
725
+ },
726
+ {
727
+ "label": "Ireland",
728
+ "value": "IE"
729
+ },
730
+ {
731
+ "label": "Isle of Man",
732
+ "value": "IM"
733
+ },
734
+ {
735
+ "label": "Israel",
736
+ "value": "IL"
737
+ },
738
+ {
739
+ "label": "Italy",
740
+ "value": "IT"
741
+ },
742
+ {
743
+ "label": "Jamaica",
744
+ "value": "JM"
745
+ },
746
+ {
747
+ "label": "Japan",
748
+ "value": "JP"
749
+ },
750
+ {
751
+ "label": "Jersey",
752
+ "value": "JE"
753
+ },
754
+ {
755
+ "label": "Jordan",
756
+ "value": "JO"
757
+ },
758
+ {
759
+ "label": "Kazakhstan",
760
+ "value": "KZ"
761
+ },
762
+ {
763
+ "label": "Kenya",
764
+ "value": "KE"
765
+ },
766
+ {
767
+ "label": "Kiribati",
768
+ "value": "KI"
769
+ },
770
+ {
771
+ "label": "Korea (Democratic People's Republic of)",
772
+ "value": "KP"
773
+ },
774
+ {
775
+ "label": "Korea, Republic of",
776
+ "value": "KR"
777
+ },
778
+ {
779
+ "label": "Kuwait",
780
+ "value": "KW"
781
+ },
782
+ {
783
+ "label": "Kyrgyzstan",
784
+ "value": "KG"
785
+ },
786
+ {
787
+ "label": "Lao People's Democratic Republic",
788
+ "value": "LA"
789
+ },
790
+ {
791
+ "label": "Latvia",
792
+ "value": "LV"
793
+ },
794
+ {
795
+ "label": "Lebanon",
796
+ "value": "LB"
797
+ },
798
+ {
799
+ "label": "Lesotho",
800
+ "value": "LS"
801
+ },
802
+ {
803
+ "label": "Liberia",
804
+ "value": "LR"
805
+ },
806
+ {
807
+ "label": "Libya",
808
+ "value": "LY"
809
+ },
810
+ {
811
+ "label": "Liechtenstein",
812
+ "value": "LI"
813
+ },
814
+ {
815
+ "label": "Lithuania",
816
+ "value": "LT"
817
+ },
818
+ {
819
+ "label": "Luxembourg",
820
+ "value": "LU"
821
+ },
822
+ {
823
+ "label": "Macao",
824
+ "value": "MO"
825
+ },
826
+ {
827
+ "label": "Madagascar",
828
+ "value": "MG"
829
+ },
830
+ {
831
+ "label": "Malawi",
832
+ "value": "MW"
833
+ },
834
+ {
835
+ "label": "Malaysia",
836
+ "value": "MY"
837
+ },
838
+ {
839
+ "label": "Maldives",
840
+ "value": "MV"
841
+ },
842
+ {
843
+ "label": "Mali",
844
+ "value": "ML"
845
+ },
846
+ {
847
+ "label": "Malta",
848
+ "value": "MT"
849
+ },
850
+ {
851
+ "label": "Marshall Islands",
852
+ "value": "MH"
853
+ },
854
+ {
855
+ "label": "Martinique",
856
+ "value": "MQ"
857
+ },
858
+ {
859
+ "label": "Mauritania",
860
+ "value": "MR"
861
+ },
862
+ {
863
+ "label": "Mauritius",
864
+ "value": "MU"
865
+ },
866
+ {
867
+ "label": "Mayotte",
868
+ "value": "YT"
869
+ },
870
+ {
871
+ "label": "Mexico",
872
+ "value": "MX"
873
+ },
874
+ {
875
+ "label": "Micronesia (Federated States of)",
876
+ "value": "FM"
877
+ },
878
+ {
879
+ "label": "Moldova, Republic of",
880
+ "value": "MD"
881
+ },
882
+ {
883
+ "label": "Monaco",
884
+ "value": "MC"
885
+ },
886
+ {
887
+ "label": "Mongolia",
888
+ "value": "MN"
889
+ },
890
+ {
891
+ "label": "Montenegro",
892
+ "value": "ME"
893
+ },
894
+ {
895
+ "label": "Montserrat",
896
+ "value": "MS"
897
+ },
898
+ {
899
+ "label": "Morocco",
900
+ "value": "MA"
901
+ },
902
+ {
903
+ "label": "Mozambique",
904
+ "value": "MZ"
905
+ },
906
+ {
907
+ "label": "Myanmar",
908
+ "value": "MM"
909
+ },
910
+ {
911
+ "label": "Namibia",
912
+ "value": "NA"
913
+ },
914
+ {
915
+ "label": "Nauru",
916
+ "value": "NR"
917
+ },
918
+ {
919
+ "label": "Nepal",
920
+ "value": "NP"
921
+ },
922
+ {
923
+ "label": "Netherlands",
924
+ "value": "NL"
925
+ },
926
+ {
927
+ "label": "New Caledonia",
928
+ "value": "NC"
929
+ },
930
+ {
931
+ "label": "New Zealand",
932
+ "value": "NZ"
933
+ },
934
+ {
935
+ "label": "Nicaragua",
936
+ "value": "NI"
937
+ },
938
+ {
939
+ "label": "Niger",
940
+ "value": "NE"
941
+ },
942
+ {
943
+ "label": "Nigeria",
944
+ "value": "NG"
945
+ },
946
+ {
947
+ "label": "Niue",
948
+ "value": "NU"
949
+ },
950
+ {
951
+ "label": "Norfolk Island",
952
+ "value": "NF"
953
+ },
954
+ {
955
+ "label": "North Macedonia",
956
+ "value": "MK"
957
+ },
958
+ {
959
+ "label": "Northern Mariana Islands",
960
+ "value": "MP"
961
+ },
962
+ {
963
+ "label": "Norway",
964
+ "value": "NO"
965
+ },
966
+ {
967
+ "label": "Oman",
968
+ "value": "OM"
969
+ },
970
+ {
971
+ "label": "Pakistan",
972
+ "value": "PK"
973
+ },
974
+ {
975
+ "label": "Palau",
976
+ "value": "PW"
977
+ },
978
+ {
979
+ "label": "Palestine, State of",
980
+ "value": "PS"
981
+ },
982
+ {
983
+ "label": "Panama",
984
+ "value": "PA"
985
+ },
986
+ {
987
+ "label": "Papua New Guinea",
988
+ "value": "PG"
989
+ },
990
+ {
991
+ "label": "Paraguay",
992
+ "value": "PY"
993
+ },
994
+ {
995
+ "label": "Peru",
996
+ "value": "PE"
997
+ },
998
+ {
999
+ "label": "Philippines",
1000
+ "value": "PH"
1001
+ },
1002
+ {
1003
+ "label": "Pitcairn",
1004
+ "value": "PN"
1005
+ },
1006
+ {
1007
+ "label": "Poland",
1008
+ "value": "PL"
1009
+ },
1010
+ {
1011
+ "label": "Portugal",
1012
+ "value": "PT"
1013
+ },
1014
+ {
1015
+ "label": "Puerto Rico",
1016
+ "value": "PR"
1017
+ },
1018
+ {
1019
+ "label": "Qatar",
1020
+ "value": "QA"
1021
+ },
1022
+ {
1023
+ "label": "Réunion",
1024
+ "value": "RE"
1025
+ },
1026
+ {
1027
+ "label": "Romania",
1028
+ "value": "RO"
1029
+ },
1030
+ {
1031
+ "label": "Russian Federation",
1032
+ "value": "RU"
1033
+ },
1034
+ {
1035
+ "label": "Rwanda",
1036
+ "value": "RW"
1037
+ },
1038
+ {
1039
+ "label": "Saint Barthélemy",
1040
+ "value": "BL"
1041
+ },
1042
+ {
1043
+ "label": "Saint Helena, Ascension and Tristan da Cunha",
1044
+ "value": "SH"
1045
+ },
1046
+ {
1047
+ "label": "Saint Kitts and Nevis",
1048
+ "value": "KN"
1049
+ },
1050
+ {
1051
+ "label": "Saint Lucia",
1052
+ "value": "LC"
1053
+ },
1054
+ {
1055
+ "label": "Saint Martin (French part)",
1056
+ "value": "MF"
1057
+ },
1058
+ {
1059
+ "label": "Saint Pierre and Miquelon",
1060
+ "value": "PM"
1061
+ },
1062
+ {
1063
+ "label": "Saint Vincent and the Grenadines",
1064
+ "value": "VC"
1065
+ },
1066
+ {
1067
+ "label": "Samoa",
1068
+ "value": "WS"
1069
+ },
1070
+ {
1071
+ "label": "San Marino",
1072
+ "value": "SM"
1073
+ },
1074
+ {
1075
+ "label": "Sao Tome and Principe",
1076
+ "value": "ST"
1077
+ },
1078
+ {
1079
+ "label": "Saudi Arabia",
1080
+ "value": "SA"
1081
+ },
1082
+ {
1083
+ "label": "Senegal",
1084
+ "value": "SN"
1085
+ },
1086
+ {
1087
+ "label": "Serbia",
1088
+ "value": "RS"
1089
+ },
1090
+ {
1091
+ "label": "Seychelles",
1092
+ "value": "SC"
1093
+ },
1094
+ {
1095
+ "label": "Sierra Leone",
1096
+ "value": "SL"
1097
+ },
1098
+ {
1099
+ "label": "Singapore",
1100
+ "value": "SG"
1101
+ },
1102
+ {
1103
+ "label": "Sint Maarten (Dutch part)",
1104
+ "value": "SX"
1105
+ },
1106
+ {
1107
+ "label": "Slovakia",
1108
+ "value": "SK"
1109
+ },
1110
+ {
1111
+ "label": "Slovenia",
1112
+ "value": "SI"
1113
+ },
1114
+ {
1115
+ "label": "Solomon Islands",
1116
+ "value": "SB"
1117
+ },
1118
+ {
1119
+ "label": "Somalia",
1120
+ "value": "SO"
1121
+ },
1122
+ {
1123
+ "label": "South Africa",
1124
+ "value": "ZA"
1125
+ },
1126
+ {
1127
+ "label": "South Georgia and the South Sandwich Islands",
1128
+ "value": "GS"
1129
+ },
1130
+ {
1131
+ "label": "South Sudan",
1132
+ "value": "SS"
1133
+ },
1134
+ {
1135
+ "label": "Spain",
1136
+ "value": "ES"
1137
+ },
1138
+ {
1139
+ "label": "Sri Lanka",
1140
+ "value": "LK"
1141
+ },
1142
+ {
1143
+ "label": "Sudan",
1144
+ "value": "SD"
1145
+ },
1146
+ {
1147
+ "label": "Suriname",
1148
+ "value": "SR"
1149
+ },
1150
+ {
1151
+ "label": "Svalbard and Jan Mayen",
1152
+ "value": "SJ"
1153
+ },
1154
+ {
1155
+ "label": "Sweden",
1156
+ "value": "SE"
1157
+ },
1158
+ {
1159
+ "label": "Switzerland",
1160
+ "value": "CH"
1161
+ },
1162
+ {
1163
+ "label": "Syrian Arab Republic",
1164
+ "value": "SY"
1165
+ },
1166
+ {
1167
+ "label": "Taiwan, Province of China",
1168
+ "value": "TW"
1169
+ },
1170
+ {
1171
+ "label": "Tajikistan",
1172
+ "value": "TJ"
1173
+ },
1174
+ {
1175
+ "label": "Tanzania, United Republic of",
1176
+ "value": "TZ"
1177
+ },
1178
+ {
1179
+ "label": "Thailand",
1180
+ "value": "TH"
1181
+ },
1182
+ {
1183
+ "label": "Timor-Leste",
1184
+ "value": "TL"
1185
+ },
1186
+ {
1187
+ "label": "Togo",
1188
+ "value": "TG"
1189
+ },
1190
+ {
1191
+ "label": "Tokelau",
1192
+ "value": "TK"
1193
+ },
1194
+ {
1195
+ "label": "Tonga",
1196
+ "value": "TO"
1197
+ },
1198
+ {
1199
+ "label": "Trinidad and Tobago",
1200
+ "value": "TT"
1201
+ },
1202
+ {
1203
+ "label": "Tunisia",
1204
+ "value": "TN"
1205
+ },
1206
+ {
1207
+ "label": "Turkey",
1208
+ "value": "TR"
1209
+ },
1210
+ {
1211
+ "label": "Turkmenistan",
1212
+ "value": "TM"
1213
+ },
1214
+ {
1215
+ "label": "Turks and Caicos Islands",
1216
+ "value": "TC"
1217
+ },
1218
+ {
1219
+ "label": "Tuvalu",
1220
+ "value": "TV"
1221
+ },
1222
+ {
1223
+ "label": "Uganda",
1224
+ "value": "UG"
1225
+ },
1226
+ {
1227
+ "label": "Ukraine",
1228
+ "value": "UA"
1229
+ },
1230
+ {
1231
+ "label": "United Arab Emirates",
1232
+ "value": "AE"
1233
+ },
1234
+ {
1235
+ "label": "United Kingdom of Great Britain and Northern Ireland",
1236
+ "value": "GB"
1237
+ },
1238
+ {
1239
+ "label": "United States Minor Outlying Islands",
1240
+ "value": "UM"
1241
+ },
1242
+ {
1243
+ "label": "United States of America",
1244
+ "value": "US"
1245
+ },
1246
+ {
1247
+ "label": "Uruguay",
1248
+ "value": "UY"
1249
+ },
1250
+ {
1251
+ "label": "Uzbekistan",
1252
+ "value": "UZ"
1253
+ },
1254
+ {
1255
+ "label": "Vanuatu",
1256
+ "value": "VU"
1257
+ },
1258
+ {
1259
+ "label": "Venezuela (Bolivarian Republic of)",
1260
+ "value": "VE"
1261
+ },
1262
+ {
1263
+ "label": "Viet Nam",
1264
+ "value": "VN"
1265
+ },
1266
+ {
1267
+ "label": "Virgin Islands (British)",
1268
+ "value": "VG"
1269
+ },
1270
+ {
1271
+ "label": "Virgin Islands (U.S.)",
1272
+ "value": "VI"
1273
+ },
1274
+ {
1275
+ "label": "Wallis and Futuna",
1276
+ "value": "WF"
1277
+ },
1278
+ {
1279
+ "label": "Western Sahara",
1280
+ "value": "EH"
1281
+ },
1282
+ {
1283
+ "label": "Yemen",
1284
+ "value": "YE"
1285
+ },
1286
+ {
1287
+ "label": "Zambia",
1288
+ "value": "ZM"
1289
+ },
1290
+ {
1291
+ "label": "Zimbabwe",
1292
+ "value": "ZW"
1293
+ }
1294
+ ],
1295
+ "createdAt": "2025-10-13T14:30:45.792Z",
1296
+ "updatedAt": "2025-10-13T14:30:45.792Z",
1297
+ "__v": 0
1298
+ },
1299
+ "name": {
1300
+ "_id": "68ed0d1411b25ef8b3ac422e",
1301
+ "id": "26a57183-539a-4cef-bcc5-36297cd2c5f5",
1302
+ "dataId": "name",
1303
+ "section": "identification",
1304
+ "type": "text",
1305
+ "meta": {
1306
+ "comment": false,
1307
+ "notApplicable": false,
1308
+ "notAvailable": false,
1309
+ "group": "identification"
1310
+ },
1311
+ "position": 0,
1312
+ "rules": [
1313
+ {
1314
+ "required": true,
1315
+ "message": "errors::field is required"
1316
+ }
1317
+ ],
1318
+ "scope": [
1319
+ "createAppLocation",
1320
+ "createOtherLocation",
1321
+ "createOperationalPlot",
1322
+ "createSamplingPlot",
1323
+ "createProjectLocation",
1324
+ "samplingPlot",
1325
+ "appPlot",
1326
+ "projectPlot"
1327
+ ],
1328
+ "label": "Name",
1329
+ "createdAt": "2025-10-13T14:30:44.827Z",
1330
+ "updatedAt": "2025-10-13T14:30:44.827Z",
1331
+ "__v": 0
1332
+ },
1333
+ "perimeter": {
1334
+ "_id": "68ed0d1411b25ef8b3ac4232",
1335
+ "id": "20fdf108-01da-4572-aa7f-3765d1045af0",
1336
+ "dataId": "perimeter",
1337
+ "section": "identification",
1338
+ "type": "drawTerritory",
1339
+ "showIf": "category is plot",
1340
+ "position": 4,
1341
+ "scope": [
1342
+ "activityLocation",
1343
+ "newActivityLocation",
1344
+ "createAppLocation",
1345
+ "createOtherLocation",
1346
+ "createOperationalPlot",
1347
+ "createSamplingPlot",
1348
+ "appPlot",
1349
+ "samplingPlot",
1350
+ "projectPlot",
1351
+ "createProjectLocation"
1352
+ ],
1353
+ "label": "Perimeter",
1354
+ "createdAt": "2025-10-13T14:30:44.828Z",
1355
+ "updatedAt": "2025-10-13T14:30:44.828Z",
1356
+ "__v": 0
1357
+ },
1358
+ "region": {
1359
+ "_id": "68ed0d1411b25ef8b3ac4236",
1360
+ "id": "d2232c74-3cc0-46e6-899e-b1bf502247da",
1361
+ "dataId": "region",
1362
+ "section": "identification",
1363
+ "type": "select",
1364
+ "meta": {
1365
+ "group": "identification",
1366
+ "comment": true,
1367
+ "notApplicable": false,
1368
+ "notAvailable": false,
1369
+ "address": "region",
1370
+ "mandatory": true
1371
+ },
1372
+ "position": 2,
1373
+ "rules": [
1374
+ {
1375
+ "required": true,
1376
+ "message": "errors::field is required"
1377
+ }
1378
+ ],
1379
+ "scope": [
1380
+ "createProjectLocation",
1381
+ "projectLocation",
1382
+ "createAppLocation",
1383
+ "createOtherLocation",
1384
+ "createOperationalPlot",
1385
+ "samplingPlot",
1386
+ "createSamplingPlot",
1387
+ "newActivityLocation",
1388
+ "projectPlot"
1389
+ ],
1390
+ "label": "Region",
1391
+ "options": [
1392
+ {
1393
+ "label": "Casamance",
1394
+ "value": "casamance"
1395
+ },
1396
+ {
1397
+ "label": "Saloum",
1398
+ "value": "saloum"
1399
+ }
95
1400
  ],
96
- label: "Name of the location",
97
- tableLabel: "Name",
98
- createdAt: "2025-09-26T13:48:44.502Z",
99
- updatedAt: "2025-09-26T13:48:44.502Z",
100
- __v: 0,
1401
+ "createdAt": "2025-10-13T14:30:45.822Z",
1402
+ "updatedAt": "2025-10-13T14:30:45.822Z",
1403
+ "__v": 0
101
1404
  },
102
- label: "Identification",
103
- subTitle: "Identification",
1405
+ "label": "Identification",
1406
+ "subTitle": "Identification"
104
1407
  },
105
1408
  },
106
1409
  data: {