pict-section-form 1.0.10 → 1.0.13

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 (37) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/example_applications/Build-Examples.sh +41 -0
  3. package/example_applications/Clean-Examples.sh +10 -0
  4. package/example_applications/Open-Examples.sh +8 -0
  5. package/example_applications/README.md +57 -0
  6. package/example_applications/complex_table/Complex-Tabular-Application.js +219 -0
  7. package/example_applications/complex_table/FruitData.json +695 -0
  8. package/example_applications/complex_table/README-ComplexTable.md +31 -0
  9. package/example_applications/complex_table/html/index.html +13 -0
  10. package/example_applications/complex_table/package.json +26 -0
  11. package/example_applications/gradebook/source/Gradebook-Application.js +2 -1
  12. package/example_applications/gradebook/source/manifests/Assignment-Manifest.json +36 -1
  13. package/example_applications/gradebook/source/manifests/Gradebook-Manifest.js +20 -3
  14. package/example_applications/gradebook/source/manifests/Student-Manifest.json +34 -23
  15. package/example_applications/gradebook/source/views/BasicContent-View-Templates.json +42 -0
  16. package/example_applications/postcard_example/Pict-Application-Postcard.js +15 -0
  17. package/example_applications/postcard_example/providers/PictProvider-BestPostcardTheme.js +19 -46
  18. package/example_applications/postcard_example/providers/PictProvider-Dynamic-Sections-MockServerResponse.json +8 -4
  19. package/example_applications/simple_form/html/index.html +1 -1
  20. package/example_applications/simple_table/FruitData.json +693 -692
  21. package/example_applications/simple_table/Simple-Tabular-Application.js +6 -18
  22. package/example_applications/simple_table_from_object/FruitDataInAnObject.json +692 -2
  23. package/example_applications/simple_table_from_object/MigrateThatFruit.js +2 -2
  24. package/example_applications/simple_table_from_object/Simple-Tabular-Application-FromObject.js +5 -18
  25. package/package.json +3 -2
  26. package/source/Pict-Section-Form.js +6 -10
  27. package/source/{Pict-Section-Form-Application.js → application/Pict-Application-Form.js} +1 -1
  28. package/source/providers/Pict-Provider-DynamicSolver.js +264 -0
  29. package/source/{Pict-Section-Form-Provider-Templates-DefaultFormTemplates.js → providers/Pict-Provider-DynamicTemplates-DefaultFormTemplates.js} +88 -77
  30. package/source/{Pict-Section-Form-Provider-Templates.js → providers/Pict-Provider-DynamicTemplates.js} +4 -1
  31. package/source/{Pict-Service-Informary.js → providers/Pict-Provider-Informary.js} +13 -4
  32. package/source/templates/Pict-Template-Base.js +87 -0
  33. package/source/{Pict-Template-MetacontrollerValueSetWithGroup.js → templates/Pict-Template-Metacontroller-ValueSetWithGroup.js} +1 -1
  34. package/source/{Pict-Section-Form-View-DefaultConfiguration.json → views/Pict-View-DynamicForm-DefaultConfiguration.json} +1 -0
  35. package/source/{Pict-Section-Form-View.js → views/Pict-View-DynamicForm.js} +149 -38
  36. package/source/{Pict-Form-Metacontroller.js → views/Pict-View-Form-Metacontroller.js} +45 -15
  37. /package/source/{Pict-Section-Form-MetatemplateGenerator.js → providers/Pict-Provider-MetatemplateGenerator.js} +0 -0
@@ -1,694 +1,695 @@
1
1
  {
2
- "DataURL": "https://www.fruityvice.com/",
3
- "DataLicense": "Public Domain",
2
+ "FruitData": {
3
+ "DataURL": "https://www.fruityvice.com/",
4
+ "DataLicense": "Public Domain",
4
5
 
5
- "FruityVice":
6
- [
7
- {
8
- "name": "Persimmon",
9
- "id": 52,
10
- "family": "Ebenaceae",
11
- "order": "Rosales",
12
- "genus": "Diospyros",
13
- "nutritions": {
14
- "calories": 81,
15
- "fat": 0,
16
- "sugar": 18,
17
- "carbohydrates": 18,
18
- "protein": 0
19
- }
20
- },
21
- {
22
- "name": "Strawberry",
23
- "id": 3,
24
- "family": "Rosaceae",
25
- "order": "Rosales",
26
- "genus": "Fragaria",
27
- "nutritions": {
28
- "calories": 29,
29
- "fat": 0.4,
30
- "sugar": 5.4,
31
- "carbohydrates": 5.5,
32
- "protein": 0.8
33
- }
34
- },
35
- {
36
- "name": "Banana",
37
- "id": 1,
38
- "family": "Musaceae",
39
- "order": "Zingiberales",
40
- "genus": "Musa",
41
- "nutritions": {
42
- "calories": 96,
43
- "fat": 0.2,
44
- "sugar": 17.2,
45
- "carbohydrates": 22,
46
- "protein": 1
47
- }
48
- },
49
- {
50
- "name": "Tomato",
51
- "id": 5,
52
- "family": "Solanaceae",
53
- "order": "Solanales",
54
- "genus": "Solanum",
55
- "nutritions": {
56
- "calories": 74,
57
- "fat": 0.2,
58
- "sugar": 2.6,
59
- "carbohydrates": 3.9,
60
- "protein": 0.9
61
- }
62
- },
63
- {
64
- "name": "Pear",
65
- "id": 4,
66
- "family": "Rosaceae",
67
- "order": "Rosales",
68
- "genus": "Pyrus",
69
- "nutritions": {
70
- "calories": 57,
71
- "fat": 0.1,
72
- "sugar": 10,
73
- "carbohydrates": 15,
74
- "protein": 0.4
75
- }
76
- },
77
- {
78
- "name": "Durian",
79
- "id": 60,
80
- "family": "Malvaceae",
81
- "order": "Malvales",
82
- "genus": "Durio",
83
- "nutritions": {
84
- "calories": 147,
85
- "fat": 5.3,
86
- "sugar": 6.75,
87
- "carbohydrates": 27.1,
88
- "protein": 1.5
89
- }
90
- },
91
- {
92
- "name": "Blackberry",
93
- "id": 64,
94
- "family": "Rosaceae",
95
- "order": "Rosales",
96
- "genus": "Rubus",
97
- "nutritions": {
98
- "calories": 40,
99
- "fat": 0.4,
100
- "sugar": 4.5,
101
- "carbohydrates": 9,
102
- "protein": 1.3
103
- }
104
- },
105
- {
106
- "name": "Lingonberry",
107
- "id": 65,
108
- "family": "Ericaceae",
109
- "order": "Ericales",
110
- "genus": "Vaccinium",
111
- "nutritions": {
112
- "calories": 50,
113
- "fat": 0.34,
114
- "sugar": 5.74,
115
- "carbohydrates": 11.3,
116
- "protein": 0.75
117
- }
118
- },
119
- {
120
- "name": "Kiwi",
121
- "id": 66,
122
- "family": "Actinidiaceae",
123
- "order": "Struthioniformes",
124
- "genus": "Apteryx",
125
- "nutritions": {
126
- "calories": 61,
127
- "fat": 0.5,
128
- "sugar": 9,
129
- "carbohydrates": 15,
130
- "protein": 1.1
131
- }
132
- },
133
- {
134
- "name": "Lychee",
135
- "id": 67,
136
- "family": "Sapindaceae",
137
- "order": "Sapindales",
138
- "genus": "Litchi",
139
- "nutritions": {
140
- "calories": 66,
141
- "fat": 0.44,
142
- "sugar": 15,
143
- "carbohydrates": 17,
144
- "protein": 0.8
145
- }
146
- },
147
- {
148
- "name": "Pineapple",
149
- "id": 10,
150
- "family": "Bromeliaceae",
151
- "order": "Poales",
152
- "genus": "Ananas",
153
- "nutritions": {
154
- "calories": 50,
155
- "fat": 0.12,
156
- "sugar": 9.85,
157
- "carbohydrates": 13.12,
158
- "protein": 0.54
159
- }
160
- },
161
- {
162
- "name": "Fig",
163
- "id": 68,
164
- "family": "Moraceae",
165
- "order": "Rosales",
166
- "genus": "Ficus",
167
- "nutritions": {
168
- "calories": 74,
169
- "fat": 0.3,
170
- "sugar": 16,
171
- "carbohydrates": 19,
172
- "protein": 0.8
173
- }
174
- },
175
- {
176
- "name": "Gooseberry",
177
- "id": 69,
178
- "family": "Grossulariaceae",
179
- "order": "Saxifragales",
180
- "genus": "Ribes",
181
- "nutritions": {
182
- "calories": 44,
183
- "fat": 0.6,
184
- "sugar": 0,
185
- "carbohydrates": 10,
186
- "protein": 0.9
187
- }
188
- },
189
- {
190
- "name": "Passionfruit",
191
- "id": 70,
192
- "family": "Passifloraceae",
193
- "order": "Malpighiales",
194
- "genus": "Passiflora",
195
- "nutritions": {
196
- "calories": 97,
197
- "fat": 0.7,
198
- "sugar": 11.2,
199
- "carbohydrates": 22.4,
200
- "protein": 2.2
201
- }
202
- },
203
- {
204
- "name": "Plum",
205
- "id": 71,
206
- "family": "Rosaceae",
207
- "order": "Rosales",
208
- "genus": "Prunus",
209
- "nutritions": {
210
- "calories": 46,
211
- "fat": 0.28,
212
- "sugar": 9.92,
213
- "carbohydrates": 11.4,
214
- "protein": 0.7
215
- }
216
- },
217
- {
218
- "name": "Orange",
219
- "id": 2,
220
- "family": "Rutaceae",
221
- "order": "Sapindales",
222
- "genus": "Citrus",
223
- "nutritions": {
224
- "calories": 43,
225
- "fat": 0.2,
226
- "sugar": 8.2,
227
- "carbohydrates": 8.3,
228
- "protein": 1
229
- }
230
- },
231
- {
232
- "name": "GreenApple",
233
- "id": 72,
234
- "family": "Rosaceae",
235
- "order": "Rosales",
236
- "genus": "Malus",
237
- "nutritions": {
238
- "calories": 21,
239
- "fat": 0.1,
240
- "sugar": 6.4,
241
- "carbohydrates": 3.1,
242
- "protein": 0.4
243
- }
244
- },
245
- {
246
- "name": "Raspberry",
247
- "id": 23,
248
- "family": "Rosaceae",
249
- "order": "Rosales",
250
- "genus": "Rubus",
251
- "nutritions": {
252
- "calories": 53,
253
- "fat": 0.7,
254
- "sugar": 4.4,
255
- "carbohydrates": 12,
256
- "protein": 1.2
257
- }
258
- },
259
- {
260
- "name": "Watermelon",
261
- "id": 25,
262
- "family": "Cucurbitaceae",
263
- "order": "Cucurbitales",
264
- "genus": "Citrullus",
265
- "nutritions": {
266
- "calories": 30,
267
- "fat": 0.2,
268
- "sugar": 6,
269
- "carbohydrates": 8,
270
- "protein": 0.6
271
- }
272
- },
273
- {
274
- "name": "Lemon",
275
- "id": 26,
276
- "family": "Rutaceae",
277
- "order": "Sapindales",
278
- "genus": "Citrus",
279
- "nutritions": {
280
- "calories": 29,
281
- "fat": 0.3,
282
- "sugar": 2.5,
283
- "carbohydrates": 9,
284
- "protein": 1.1
285
- }
286
- },
287
- {
288
- "name": "Mango",
289
- "id": 27,
290
- "family": "Anacardiaceae",
291
- "order": "Sapindales",
292
- "genus": "Mangifera",
293
- "nutritions": {
294
- "calories": 60,
295
- "fat": 0.38,
296
- "sugar": 13.7,
297
- "carbohydrates": 15,
298
- "protein": 0.82
299
- }
300
- },
301
- {
302
- "name": "Blueberry",
303
- "id": 33,
304
- "family": "Rosaceae",
305
- "order": "Rosales",
306
- "genus": "Fragaria",
307
- "nutritions": {
308
- "calories": 29,
309
- "fat": 0.4,
310
- "sugar": 5.4,
311
- "carbohydrates": 5.5,
312
- "protein": 0
313
- }
314
- },
315
- {
316
- "name": "Apple",
317
- "id": 6,
318
- "family": "Rosaceae",
319
- "order": "Rosales",
320
- "genus": "Malus",
321
- "nutritions": {
322
- "calories": 52,
323
- "fat": 0.4,
324
- "sugar": 10.3,
325
- "carbohydrates": 11.4,
326
- "protein": 0.3
327
- }
328
- },
329
- {
330
- "name": "Guava",
331
- "id": 37,
332
- "family": "Myrtaceae",
333
- "order": "Myrtales",
334
- "genus": "Psidium",
335
- "nutritions": {
336
- "calories": 68,
337
- "fat": 1,
338
- "sugar": 9,
339
- "carbohydrates": 14,
340
- "protein": 2.6
341
- }
342
- },
343
- {
344
- "name": "Apricot",
345
- "id": 35,
346
- "family": "Rosaceae",
347
- "order": "Rosales",
348
- "genus": "Prunus",
349
- "nutritions": {
350
- "calories": 15,
351
- "fat": 0.1,
352
- "sugar": 3.2,
353
- "carbohydrates": 3.9,
354
- "protein": 0.5
355
- }
356
- },
357
- {
358
- "name": "Melon",
359
- "id": 41,
360
- "family": "Cucurbitaceae",
361
- "order": "Cucurbitaceae",
362
- "genus": "Cucumis",
363
- "nutritions": {
364
- "calories": 34,
365
- "fat": 0,
366
- "sugar": 8,
367
- "carbohydrates": 8,
368
- "protein": 0
369
- }
370
- },
371
- {
372
- "name": "Tangerine",
373
- "id": 77,
374
- "family": "Rutaceae",
375
- "order": "Sapindales",
376
- "genus": "Citrus",
377
- "nutritions": {
378
- "calories": 45,
379
- "fat": 0.4,
380
- "sugar": 9.1,
381
- "carbohydrates": 8.3,
382
- "protein": 0
383
- }
384
- },
385
- {
386
- "name": "Pitahaya",
387
- "id": 78,
388
- "family": "Cactaceae",
389
- "order": "Caryophyllales",
390
- "genus": "Cactaceae",
391
- "nutritions": {
392
- "calories": 36,
393
- "fat": 0.4,
394
- "sugar": 3,
395
- "carbohydrates": 7,
396
- "protein": 1
397
- }
398
- },
399
- {
400
- "name": "Lime",
401
- "id": 44,
402
- "family": "Rutaceae",
403
- "order": "Sapindales",
404
- "genus": "Citrus",
405
- "nutritions": {
406
- "calories": 25,
407
- "fat": 0.1,
408
- "sugar": 1.7,
409
- "carbohydrates": 8.4,
410
- "protein": 0.3
411
- }
412
- },
413
- {
414
- "name": "Pomegranate",
415
- "id": 79,
416
- "family": "Lythraceae",
417
- "order": "Myrtales",
418
- "genus": "Punica",
419
- "nutritions": {
420
- "calories": 83,
421
- "fat": 1.2,
422
- "sugar": 13.7,
423
- "carbohydrates": 18.7,
424
- "protein": 1.7
425
- }
426
- },
427
- {
428
- "name": "Dragonfruit",
429
- "id": 80,
430
- "family": "Cactaceae",
431
- "order": "Caryophyllales",
432
- "genus": "Selenicereus",
433
- "nutritions": {
434
- "calories": 60,
435
- "fat": 1.5,
436
- "sugar": 8,
437
- "carbohydrates": 9,
438
- "protein": 9
439
- }
440
- },
441
- {
442
- "name": "Grape",
443
- "id": 81,
444
- "family": "Vitaceae",
445
- "order": "Vitales",
446
- "genus": "Vitis",
447
- "nutritions": {
448
- "calories": 69,
449
- "fat": 0.16,
450
- "sugar": 16,
451
- "carbohydrates": 18.1,
452
- "protein": 0.72
453
- }
454
- },
455
- {
456
- "name": "Morus",
457
- "id": 82,
458
- "family": "Moraceae",
459
- "order": "Rosales",
460
- "genus": "Morus",
461
- "nutritions": {
462
- "calories": 43,
463
- "fat": 0.39,
464
- "sugar": 8.1,
465
- "carbohydrates": 9.8,
466
- "protein": 1.44
467
- }
468
- },
469
- {
470
- "name": "Feijoa",
471
- "id": 76,
472
- "family": "Myrtaceae",
473
- "order": "Myrtoideae",
474
- "genus": "Sellowiana",
475
- "nutritions": {
476
- "calories": 44,
477
- "fat": 0.4,
478
- "sugar": 3,
479
- "carbohydrates": 8,
480
- "protein": 0.6
481
- }
482
- },
483
- {
484
- "name": "Avocado",
485
- "id": 84,
486
- "family": "Lauraceae",
487
- "order": "Laurales",
488
- "genus": "Persea",
489
- "nutritions": {
490
- "calories": 160,
491
- "fat": 14.66,
492
- "sugar": 0.66,
493
- "carbohydrates": 8.53,
494
- "protein": 2
495
- }
496
- },
497
- {
498
- "name": "Kiwifruit",
499
- "id": 85,
500
- "family": "Actinidiaceae",
501
- "order": "Ericales",
502
- "genus": "Actinidia",
503
- "nutritions": {
504
- "calories": 61,
505
- "fat": 0.5,
506
- "sugar": 8.9,
507
- "carbohydrates": 14.6,
508
- "protein": 1.14
509
- }
510
- },
511
- {
512
- "name": "Cranberry",
513
- "id": 87,
514
- "family": "Ericaceae",
515
- "order": "Ericales",
516
- "genus": "Vaccinium",
517
- "nutritions": {
518
- "calories": 46,
519
- "fat": 0.1,
520
- "sugar": 4,
521
- "carbohydrates": 12.2,
522
- "protein": 0.4
523
- }
524
- },
525
- {
526
- "name": "Cherry",
527
- "id": 9,
528
- "family": "Rosaceae",
529
- "order": "Rosales",
530
- "genus": "Prunus",
531
- "nutritions": {
532
- "calories": 50,
533
- "fat": 0.3,
534
- "sugar": 8,
535
- "carbohydrates": 12,
536
- "protein": 1
537
- }
538
- },
539
- {
540
- "name": "Peach",
541
- "id": 86,
542
- "family": "Rosaceae",
543
- "order": "Rosales",
544
- "genus": "Prunus",
545
- "nutritions": {
546
- "calories": 39,
547
- "fat": 0.25,
548
- "sugar": 8.4,
549
- "carbohydrates": 9.5,
550
- "protein": 0.9
551
- }
552
- },
553
- {
554
- "name": "Jackfruit",
555
- "id": 94,
556
- "family": "Moraceae",
557
- "order": "Rosales",
558
- "genus": "Artocarpus",
559
- "nutritions": {
560
- "calories": 95,
561
- "fat": 0,
562
- "sugar": 19.1,
563
- "carbohydrates": 23.2,
564
- "protein": 1.72
565
- }
566
- },
567
- {
568
- "name": "Horned Melon",
569
- "id": 95,
570
- "family": "Cucurbitaceae",
571
- "order": "Cucurbitales",
572
- "genus": "Cucumis",
573
- "nutritions": {
574
- "calories": 44,
575
- "fat": 1.26,
576
- "sugar": 0.5,
577
- "carbohydrates": 7.56,
578
- "protein": 1.78
579
- }
580
- },
581
- {
582
- "name": "Hazelnut",
583
- "id": 96,
584
- "family": "Betulaceae",
585
- "order": "Fagales",
586
- "genus": "Corylus",
587
- "nutritions": {
588
- "calories": 628,
589
- "fat": 61,
590
- "sugar": 4.3,
591
- "carbohydrates": 17,
592
- "protein": 15
593
- }
594
- },
595
- {
596
- "name": "Pomelo",
597
- "id": 98,
598
- "family": "Rutaceae",
599
- "order": "Sapindales",
600
- "genus": "Citrus",
601
- "nutritions": {
602
- "calories": 37,
603
- "fat": 0,
604
- "sugar": 8.5,
605
- "carbohydrates": 9.67,
606
- "protein": 0.82
607
- }
608
- },
609
- {
610
- "name": "Mangosteen",
611
- "id": 99,
612
- "family": "Clusiaceae",
613
- "order": "Malpighiales",
614
- "genus": "Garcinia",
615
- "nutritions": {
616
- "calories": 73,
617
- "fat": 0.58,
618
- "sugar": 16.11,
619
- "carbohydrates": 17.91,
620
- "protein": 0.41
621
- }
622
- },
623
- {
624
- "name": "Pumpkin",
625
- "id": 100,
626
- "family": "Cucurbitaceae",
627
- "order": "Cucurbitales",
628
- "genus": "Cucurbita",
629
- "nutritions": {
630
- "calories": 25,
631
- "fat": 0.3,
632
- "sugar": 3.3,
633
- "carbohydrates": 4.6,
634
- "protein": 1.1
635
- }
636
- },
637
- {
638
- "name": "Japanese Persimmon",
639
- "id": 101,
640
- "family": " Ebenaceae",
641
- "order": " Ericales",
642
- "genus": "Diospyros",
643
- "nutritions": {
644
- "calories": 70,
645
- "fat": 0.2,
646
- "sugar": 13,
647
- "carbohydrates": 19,
648
- "protein": 0.6
649
- }
650
- },
651
- {
652
- "name": "Papaya",
653
- "id": 42,
654
- "family": "Caricaceae",
655
- "order": "Brassicales",
656
- "genus": "Carica",
657
- "nutritions": {
658
- "calories": 39,
659
- "fat": 0.3,
660
- "sugar": 4.4,
661
- "carbohydrates": 5.8,
662
- "protein": 0.5
663
- }
664
- },
665
- {
666
- "name": "Annona",
667
- "id": 103,
668
- "family": "Annonaceae",
669
- "order": "Rosales",
670
- "genus": "Annonas",
671
- "nutritions": {
672
- "calories": 92,
673
- "fat": 0.29,
674
- "sugar": 3.4,
675
- "carbohydrates": 19.1,
676
- "protein": 1.5
677
- }
678
- },
679
- {
680
- "name": "Ceylon Gooseberry",
681
- "id": 104,
682
- "family": "Salicaceae",
683
- "order": "Malpighiales",
684
- "genus": "Dovyalis",
685
- "nutritions": {
686
- "calories": 47,
687
- "fat": 0.3,
688
- "sugar": 8.1,
689
- "carbohydrates": 9.6,
690
- "protein": 1.2
691
- }
692
- }
693
- ]
694
- }
6
+ "FruityVice": [
7
+ {
8
+ "name": "Persimmon",
9
+ "id": 52,
10
+ "family": "Ebenaceae",
11
+ "order": "Rosales",
12
+ "genus": "Diospyros",
13
+ "nutritions": {
14
+ "calories": 81,
15
+ "fat": 0,
16
+ "sugar": 18,
17
+ "carbohydrates": 18,
18
+ "protein": 0
19
+ }
20
+ },
21
+ {
22
+ "name": "Strawberry",
23
+ "id": 3,
24
+ "family": "Rosaceae",
25
+ "order": "Rosales",
26
+ "genus": "Fragaria",
27
+ "nutritions": {
28
+ "calories": 29,
29
+ "fat": 0.4,
30
+ "sugar": 5.4,
31
+ "carbohydrates": 5.5,
32
+ "protein": 0.8
33
+ }
34
+ },
35
+ {
36
+ "name": "Banana",
37
+ "id": 1,
38
+ "family": "Musaceae",
39
+ "order": "Zingiberales",
40
+ "genus": "Musa",
41
+ "nutritions": {
42
+ "calories": 96,
43
+ "fat": 0.2,
44
+ "sugar": 17.2,
45
+ "carbohydrates": 22,
46
+ "protein": 1
47
+ }
48
+ },
49
+ {
50
+ "name": "Tomato",
51
+ "id": 5,
52
+ "family": "Solanaceae",
53
+ "order": "Solanales",
54
+ "genus": "Solanum",
55
+ "nutritions": {
56
+ "calories": 74,
57
+ "fat": 0.2,
58
+ "sugar": 2.6,
59
+ "carbohydrates": 3.9,
60
+ "protein": 0.9
61
+ }
62
+ },
63
+ {
64
+ "name": "Pear",
65
+ "id": 4,
66
+ "family": "Rosaceae",
67
+ "order": "Rosales",
68
+ "genus": "Pyrus",
69
+ "nutritions": {
70
+ "calories": 57,
71
+ "fat": 0.1,
72
+ "sugar": 10,
73
+ "carbohydrates": 15,
74
+ "protein": 0.4
75
+ }
76
+ },
77
+ {
78
+ "name": "Durian",
79
+ "id": 60,
80
+ "family": "Malvaceae",
81
+ "order": "Malvales",
82
+ "genus": "Durio",
83
+ "nutritions": {
84
+ "calories": 147,
85
+ "fat": 5.3,
86
+ "sugar": 6.75,
87
+ "carbohydrates": 27.1,
88
+ "protein": 1.5
89
+ }
90
+ },
91
+ {
92
+ "name": "Blackberry",
93
+ "id": 64,
94
+ "family": "Rosaceae",
95
+ "order": "Rosales",
96
+ "genus": "Rubus",
97
+ "nutritions": {
98
+ "calories": 40,
99
+ "fat": 0.4,
100
+ "sugar": 4.5,
101
+ "carbohydrates": 9,
102
+ "protein": 1.3
103
+ }
104
+ },
105
+ {
106
+ "name": "Lingonberry",
107
+ "id": 65,
108
+ "family": "Ericaceae",
109
+ "order": "Ericales",
110
+ "genus": "Vaccinium",
111
+ "nutritions": {
112
+ "calories": 50,
113
+ "fat": 0.34,
114
+ "sugar": 5.74,
115
+ "carbohydrates": 11.3,
116
+ "protein": 0.75
117
+ }
118
+ },
119
+ {
120
+ "name": "Kiwi",
121
+ "id": 66,
122
+ "family": "Actinidiaceae",
123
+ "order": "Struthioniformes",
124
+ "genus": "Apteryx",
125
+ "nutritions": {
126
+ "calories": 61,
127
+ "fat": 0.5,
128
+ "sugar": 9,
129
+ "carbohydrates": 15,
130
+ "protein": 1.1
131
+ }
132
+ },
133
+ {
134
+ "name": "Lychee",
135
+ "id": 67,
136
+ "family": "Sapindaceae",
137
+ "order": "Sapindales",
138
+ "genus": "Litchi",
139
+ "nutritions": {
140
+ "calories": 66,
141
+ "fat": 0.44,
142
+ "sugar": 15,
143
+ "carbohydrates": 17,
144
+ "protein": 0.8
145
+ }
146
+ },
147
+ {
148
+ "name": "Pineapple",
149
+ "id": 10,
150
+ "family": "Bromeliaceae",
151
+ "order": "Poales",
152
+ "genus": "Ananas",
153
+ "nutritions": {
154
+ "calories": 50,
155
+ "fat": 0.12,
156
+ "sugar": 9.85,
157
+ "carbohydrates": 13.12,
158
+ "protein": 0.54
159
+ }
160
+ },
161
+ {
162
+ "name": "Fig",
163
+ "id": 68,
164
+ "family": "Moraceae",
165
+ "order": "Rosales",
166
+ "genus": "Ficus",
167
+ "nutritions": {
168
+ "calories": 74,
169
+ "fat": 0.3,
170
+ "sugar": 16,
171
+ "carbohydrates": 19,
172
+ "protein": 0.8
173
+ }
174
+ },
175
+ {
176
+ "name": "Gooseberry",
177
+ "id": 69,
178
+ "family": "Grossulariaceae",
179
+ "order": "Saxifragales",
180
+ "genus": "Ribes",
181
+ "nutritions": {
182
+ "calories": 44,
183
+ "fat": 0.6,
184
+ "sugar": 0,
185
+ "carbohydrates": 10,
186
+ "protein": 0.9
187
+ }
188
+ },
189
+ {
190
+ "name": "Passionfruit",
191
+ "id": 70,
192
+ "family": "Passifloraceae",
193
+ "order": "Malpighiales",
194
+ "genus": "Passiflora",
195
+ "nutritions": {
196
+ "calories": 97,
197
+ "fat": 0.7,
198
+ "sugar": 11.2,
199
+ "carbohydrates": 22.4,
200
+ "protein": 2.2
201
+ }
202
+ },
203
+ {
204
+ "name": "Plum",
205
+ "id": 71,
206
+ "family": "Rosaceae",
207
+ "order": "Rosales",
208
+ "genus": "Prunus",
209
+ "nutritions": {
210
+ "calories": 46,
211
+ "fat": 0.28,
212
+ "sugar": 9.92,
213
+ "carbohydrates": 11.4,
214
+ "protein": 0.7
215
+ }
216
+ },
217
+ {
218
+ "name": "Orange",
219
+ "id": 2,
220
+ "family": "Rutaceae",
221
+ "order": "Sapindales",
222
+ "genus": "Citrus",
223
+ "nutritions": {
224
+ "calories": 43,
225
+ "fat": 0.2,
226
+ "sugar": 8.2,
227
+ "carbohydrates": 8.3,
228
+ "protein": 1
229
+ }
230
+ },
231
+ {
232
+ "name": "GreenApple",
233
+ "id": 72,
234
+ "family": "Rosaceae",
235
+ "order": "Rosales",
236
+ "genus": "Malus",
237
+ "nutritions": {
238
+ "calories": 21,
239
+ "fat": 0.1,
240
+ "sugar": 6.4,
241
+ "carbohydrates": 3.1,
242
+ "protein": 0.4
243
+ }
244
+ },
245
+ {
246
+ "name": "Raspberry",
247
+ "id": 23,
248
+ "family": "Rosaceae",
249
+ "order": "Rosales",
250
+ "genus": "Rubus",
251
+ "nutritions": {
252
+ "calories": 53,
253
+ "fat": 0.7,
254
+ "sugar": 4.4,
255
+ "carbohydrates": 12,
256
+ "protein": 1.2
257
+ }
258
+ },
259
+ {
260
+ "name": "Watermelon",
261
+ "id": 25,
262
+ "family": "Cucurbitaceae",
263
+ "order": "Cucurbitales",
264
+ "genus": "Citrullus",
265
+ "nutritions": {
266
+ "calories": 30,
267
+ "fat": 0.2,
268
+ "sugar": 6,
269
+ "carbohydrates": 8,
270
+ "protein": 0.6
271
+ }
272
+ },
273
+ {
274
+ "name": "Lemon",
275
+ "id": 26,
276
+ "family": "Rutaceae",
277
+ "order": "Sapindales",
278
+ "genus": "Citrus",
279
+ "nutritions": {
280
+ "calories": 29,
281
+ "fat": 0.3,
282
+ "sugar": 2.5,
283
+ "carbohydrates": 9,
284
+ "protein": 1.1
285
+ }
286
+ },
287
+ {
288
+ "name": "Mango",
289
+ "id": 27,
290
+ "family": "Anacardiaceae",
291
+ "order": "Sapindales",
292
+ "genus": "Mangifera",
293
+ "nutritions": {
294
+ "calories": 60,
295
+ "fat": 0.38,
296
+ "sugar": 13.7,
297
+ "carbohydrates": 15,
298
+ "protein": 0.82
299
+ }
300
+ },
301
+ {
302
+ "name": "Blueberry",
303
+ "id": 33,
304
+ "family": "Rosaceae",
305
+ "order": "Rosales",
306
+ "genus": "Fragaria",
307
+ "nutritions": {
308
+ "calories": 29,
309
+ "fat": 0.4,
310
+ "sugar": 5.4,
311
+ "carbohydrates": 5.5,
312
+ "protein": 0
313
+ }
314
+ },
315
+ {
316
+ "name": "Apple",
317
+ "id": 6,
318
+ "family": "Rosaceae",
319
+ "order": "Rosales",
320
+ "genus": "Malus",
321
+ "nutritions": {
322
+ "calories": 52,
323
+ "fat": 0.4,
324
+ "sugar": 10.3,
325
+ "carbohydrates": 11.4,
326
+ "protein": 0.3
327
+ }
328
+ },
329
+ {
330
+ "name": "Guava",
331
+ "id": 37,
332
+ "family": "Myrtaceae",
333
+ "order": "Myrtales",
334
+ "genus": "Psidium",
335
+ "nutritions": {
336
+ "calories": 68,
337
+ "fat": 1,
338
+ "sugar": 9,
339
+ "carbohydrates": 14,
340
+ "protein": 2.6
341
+ }
342
+ },
343
+ {
344
+ "name": "Apricot",
345
+ "id": 35,
346
+ "family": "Rosaceae",
347
+ "order": "Rosales",
348
+ "genus": "Prunus",
349
+ "nutritions": {
350
+ "calories": 15,
351
+ "fat": 0.1,
352
+ "sugar": 3.2,
353
+ "carbohydrates": 3.9,
354
+ "protein": 0.5
355
+ }
356
+ },
357
+ {
358
+ "name": "Melon",
359
+ "id": 41,
360
+ "family": "Cucurbitaceae",
361
+ "order": "Cucurbitaceae",
362
+ "genus": "Cucumis",
363
+ "nutritions": {
364
+ "calories": 34,
365
+ "fat": 0,
366
+ "sugar": 8,
367
+ "carbohydrates": 8,
368
+ "protein": 0
369
+ }
370
+ },
371
+ {
372
+ "name": "Tangerine",
373
+ "id": 77,
374
+ "family": "Rutaceae",
375
+ "order": "Sapindales",
376
+ "genus": "Citrus",
377
+ "nutritions": {
378
+ "calories": 45,
379
+ "fat": 0.4,
380
+ "sugar": 9.1,
381
+ "carbohydrates": 8.3,
382
+ "protein": 0
383
+ }
384
+ },
385
+ {
386
+ "name": "Pitahaya",
387
+ "id": 78,
388
+ "family": "Cactaceae",
389
+ "order": "Caryophyllales",
390
+ "genus": "Cactaceae",
391
+ "nutritions": {
392
+ "calories": 36,
393
+ "fat": 0.4,
394
+ "sugar": 3,
395
+ "carbohydrates": 7,
396
+ "protein": 1
397
+ }
398
+ },
399
+ {
400
+ "name": "Lime",
401
+ "id": 44,
402
+ "family": "Rutaceae",
403
+ "order": "Sapindales",
404
+ "genus": "Citrus",
405
+ "nutritions": {
406
+ "calories": 25,
407
+ "fat": 0.1,
408
+ "sugar": 1.7,
409
+ "carbohydrates": 8.4,
410
+ "protein": 0.3
411
+ }
412
+ },
413
+ {
414
+ "name": "Pomegranate",
415
+ "id": 79,
416
+ "family": "Lythraceae",
417
+ "order": "Myrtales",
418
+ "genus": "Punica",
419
+ "nutritions": {
420
+ "calories": 83,
421
+ "fat": 1.2,
422
+ "sugar": 13.7,
423
+ "carbohydrates": 18.7,
424
+ "protein": 1.7
425
+ }
426
+ },
427
+ {
428
+ "name": "Dragonfruit",
429
+ "id": 80,
430
+ "family": "Cactaceae",
431
+ "order": "Caryophyllales",
432
+ "genus": "Selenicereus",
433
+ "nutritions": {
434
+ "calories": 60,
435
+ "fat": 1.5,
436
+ "sugar": 8,
437
+ "carbohydrates": 9,
438
+ "protein": 9
439
+ }
440
+ },
441
+ {
442
+ "name": "Grape",
443
+ "id": 81,
444
+ "family": "Vitaceae",
445
+ "order": "Vitales",
446
+ "genus": "Vitis",
447
+ "nutritions": {
448
+ "calories": 69,
449
+ "fat": 0.16,
450
+ "sugar": 16,
451
+ "carbohydrates": 18.1,
452
+ "protein": 0.72
453
+ }
454
+ },
455
+ {
456
+ "name": "Morus",
457
+ "id": 82,
458
+ "family": "Moraceae",
459
+ "order": "Rosales",
460
+ "genus": "Morus",
461
+ "nutritions": {
462
+ "calories": 43,
463
+ "fat": 0.39,
464
+ "sugar": 8.1,
465
+ "carbohydrates": 9.8,
466
+ "protein": 1.44
467
+ }
468
+ },
469
+ {
470
+ "name": "Feijoa",
471
+ "id": 76,
472
+ "family": "Myrtaceae",
473
+ "order": "Myrtoideae",
474
+ "genus": "Sellowiana",
475
+ "nutritions": {
476
+ "calories": 44,
477
+ "fat": 0.4,
478
+ "sugar": 3,
479
+ "carbohydrates": 8,
480
+ "protein": 0.6
481
+ }
482
+ },
483
+ {
484
+ "name": "Avocado",
485
+ "id": 84,
486
+ "family": "Lauraceae",
487
+ "order": "Laurales",
488
+ "genus": "Persea",
489
+ "nutritions": {
490
+ "calories": 160,
491
+ "fat": 14.66,
492
+ "sugar": 0.66,
493
+ "carbohydrates": 8.53,
494
+ "protein": 2
495
+ }
496
+ },
497
+ {
498
+ "name": "Kiwifruit",
499
+ "id": 85,
500
+ "family": "Actinidiaceae",
501
+ "order": "Ericales",
502
+ "genus": "Actinidia",
503
+ "nutritions": {
504
+ "calories": 61,
505
+ "fat": 0.5,
506
+ "sugar": 8.9,
507
+ "carbohydrates": 14.6,
508
+ "protein": 1.14
509
+ }
510
+ },
511
+ {
512
+ "name": "Cranberry",
513
+ "id": 87,
514
+ "family": "Ericaceae",
515
+ "order": "Ericales",
516
+ "genus": "Vaccinium",
517
+ "nutritions": {
518
+ "calories": 46,
519
+ "fat": 0.1,
520
+ "sugar": 4,
521
+ "carbohydrates": 12.2,
522
+ "protein": 0.4
523
+ }
524
+ },
525
+ {
526
+ "name": "Cherry",
527
+ "id": 9,
528
+ "family": "Rosaceae",
529
+ "order": "Rosales",
530
+ "genus": "Prunus",
531
+ "nutritions": {
532
+ "calories": 50,
533
+ "fat": 0.3,
534
+ "sugar": 8,
535
+ "carbohydrates": 12,
536
+ "protein": 1
537
+ }
538
+ },
539
+ {
540
+ "name": "Peach",
541
+ "id": 86,
542
+ "family": "Rosaceae",
543
+ "order": "Rosales",
544
+ "genus": "Prunus",
545
+ "nutritions": {
546
+ "calories": 39,
547
+ "fat": 0.25,
548
+ "sugar": 8.4,
549
+ "carbohydrates": 9.5,
550
+ "protein": 0.9
551
+ }
552
+ },
553
+ {
554
+ "name": "Jackfruit",
555
+ "id": 94,
556
+ "family": "Moraceae",
557
+ "order": "Rosales",
558
+ "genus": "Artocarpus",
559
+ "nutritions": {
560
+ "calories": 95,
561
+ "fat": 0,
562
+ "sugar": 19.1,
563
+ "carbohydrates": 23.2,
564
+ "protein": 1.72
565
+ }
566
+ },
567
+ {
568
+ "name": "Horned Melon",
569
+ "id": 95,
570
+ "family": "Cucurbitaceae",
571
+ "order": "Cucurbitales",
572
+ "genus": "Cucumis",
573
+ "nutritions": {
574
+ "calories": 44,
575
+ "fat": 1.26,
576
+ "sugar": 0.5,
577
+ "carbohydrates": 7.56,
578
+ "protein": 1.78
579
+ }
580
+ },
581
+ {
582
+ "name": "Hazelnut",
583
+ "id": 96,
584
+ "family": "Betulaceae",
585
+ "order": "Fagales",
586
+ "genus": "Corylus",
587
+ "nutritions": {
588
+ "calories": 628,
589
+ "fat": 61,
590
+ "sugar": 4.3,
591
+ "carbohydrates": 17,
592
+ "protein": 15
593
+ }
594
+ },
595
+ {
596
+ "name": "Pomelo",
597
+ "id": 98,
598
+ "family": "Rutaceae",
599
+ "order": "Sapindales",
600
+ "genus": "Citrus",
601
+ "nutritions": {
602
+ "calories": 37,
603
+ "fat": 0,
604
+ "sugar": 8.5,
605
+ "carbohydrates": 9.67,
606
+ "protein": 0.82
607
+ }
608
+ },
609
+ {
610
+ "name": "Mangosteen",
611
+ "id": 99,
612
+ "family": "Clusiaceae",
613
+ "order": "Malpighiales",
614
+ "genus": "Garcinia",
615
+ "nutritions": {
616
+ "calories": 73,
617
+ "fat": 0.58,
618
+ "sugar": 16.11,
619
+ "carbohydrates": 17.91,
620
+ "protein": 0.41
621
+ }
622
+ },
623
+ {
624
+ "name": "Pumpkin",
625
+ "id": 100,
626
+ "family": "Cucurbitaceae",
627
+ "order": "Cucurbitales",
628
+ "genus": "Cucurbita",
629
+ "nutritions": {
630
+ "calories": 25,
631
+ "fat": 0.3,
632
+ "sugar": 3.3,
633
+ "carbohydrates": 4.6,
634
+ "protein": 1.1
635
+ }
636
+ },
637
+ {
638
+ "name": "Japanese Persimmon",
639
+ "id": 101,
640
+ "family": " Ebenaceae",
641
+ "order": " Ericales",
642
+ "genus": "Diospyros",
643
+ "nutritions": {
644
+ "calories": 70,
645
+ "fat": 0.2,
646
+ "sugar": 13,
647
+ "carbohydrates": 19,
648
+ "protein": 0.6
649
+ }
650
+ },
651
+ {
652
+ "name": "Papaya",
653
+ "id": 42,
654
+ "family": "Caricaceae",
655
+ "order": "Brassicales",
656
+ "genus": "Carica",
657
+ "nutritions": {
658
+ "calories": 39,
659
+ "fat": 0.3,
660
+ "sugar": 4.4,
661
+ "carbohydrates": 5.8,
662
+ "protein": 0.5
663
+ }
664
+ },
665
+ {
666
+ "name": "Annona",
667
+ "id": 103,
668
+ "family": "Annonaceae",
669
+ "order": "Rosales",
670
+ "genus": "Annonas",
671
+ "nutritions": {
672
+ "calories": 92,
673
+ "fat": 0.29,
674
+ "sugar": 3.4,
675
+ "carbohydrates": 19.1,
676
+ "protein": 1.5
677
+ }
678
+ },
679
+ {
680
+ "name": "Ceylon Gooseberry",
681
+ "id": 104,
682
+ "family": "Salicaceae",
683
+ "order": "Malpighiales",
684
+ "genus": "Dovyalis",
685
+ "nutritions": {
686
+ "calories": 47,
687
+ "fat": 0.3,
688
+ "sugar": 8.1,
689
+ "carbohydrates": 9.6,
690
+ "protein": 1.2
691
+ }
692
+ }
693
+ ]
694
+ }
695
+ }