@coorpacademy/player-web 4.2.11 → 4.3.0

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 (157) hide show
  1. package/es/map-state-to-props/test/answer.js +390 -0
  2. package/es/map-state-to-props/test/answer.js.map +1 -0
  3. package/es/map-state-to-props/test/fixtures/player/clue.json +131 -0
  4. package/es/map-state-to-props/test/fixtures/player/loading-clue.json +131 -0
  5. package/es/map-state-to-props/test/fixtures/player/no-clue.json +118 -0
  6. package/es/map-state-to-props/test/fixtures/player/slide-no-lessons.json +115 -0
  7. package/es/map-state-to-props/test/fixtures/player/slide.json +127 -0
  8. package/es/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +139 -0
  9. package/es/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +145 -0
  10. package/es/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +282 -0
  11. package/es/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +140 -0
  12. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +154 -0
  13. package/es/map-state-to-props/test/fixtures/popin-correction/popin-success.json +268 -0
  14. package/es/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +473 -0
  15. package/es/map-state-to-props/test/fixtures/popin-end/fail.json +205 -0
  16. package/es/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +209 -0
  17. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +211 -0
  18. package/es/map-state-to-props/test/fixtures/popin-end/learner-failure.json +211 -0
  19. package/es/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +278 -0
  20. package/es/map-state-to-props/test/fixtures/popin-end/learner-success.json +275 -0
  21. package/es/map-state-to-props/test/fixtures/popin-end/success.json +223 -0
  22. package/es/map-state-to-props/test/fixtures/progression-learner.json +102 -0
  23. package/es/map-state-to-props/test/fixtures/progression-state.json +45 -0
  24. package/es/map-state-to-props/test/fixtures/slides/basic.json +60 -0
  25. package/es/map-state-to-props/test/fixtures/slides/plop.json +56 -0
  26. package/es/map-state-to-props/test/fixtures/slides/qcm-drag.json +56 -0
  27. package/es/map-state-to-props/test/fixtures/slides/qcm-graphic.json +49 -0
  28. package/es/map-state-to-props/test/fixtures/slides/qcm.json +43 -0
  29. package/es/map-state-to-props/test/fixtures/slides/slider.json +57 -0
  30. package/es/map-state-to-props/test/fixtures/slides/template.json +49 -0
  31. package/es/map-state-to-props/test/fixtures/slides/videos.json +163 -0
  32. package/es/map-state-to-props/test/fixtures/slides/with-context.json +69 -0
  33. package/es/map-state-to-props/test/header.js +131 -0
  34. package/es/map-state-to-props/test/header.js.map +1 -0
  35. package/es/map-state-to-props/test/index.js +107 -0
  36. package/es/map-state-to-props/test/index.js.map +1 -0
  37. package/es/map-state-to-props/test/player.js +680 -0
  38. package/es/map-state-to-props/test/player.js.map +1 -0
  39. package/es/map-state-to-props/test/popin-correction.create-header-cta.js +301 -0
  40. package/es/map-state-to-props/test/popin-correction.create-header-cta.js.map +1 -0
  41. package/es/map-state-to-props/test/popin-correction.js +80 -0
  42. package/es/map-state-to-props/test/popin-correction.js.map +1 -0
  43. package/es/map-state-to-props/test/popin-end.js +313 -0
  44. package/es/map-state-to-props/test/popin-end.js.map +1 -0
  45. package/es/map-state-to-props/test/popin-error.js +77 -0
  46. package/es/map-state-to-props/test/popin-error.js.map +1 -0
  47. package/es/map-state-to-props/test/resources.js +31 -0
  48. package/es/map-state-to-props/test/resources.js.map +1 -0
  49. package/es/test/add-timeout.js +8 -0
  50. package/es/test/add-timeout.js.map +1 -0
  51. package/es/test/helpers/css-register.js +3 -0
  52. package/es/test/helpers/css-register.js.map +1 -0
  53. package/es/test/helpers/macro.js +6 -0
  54. package/es/test/helpers/macro.js.map +1 -0
  55. package/es/test/index.js +39 -0
  56. package/es/test/index.js.map +1 -0
  57. package/es/test/init-reducers.js +50 -0
  58. package/es/test/init-reducers.js.map +1 -0
  59. package/es/test/locales.js +8 -0
  60. package/es/test/locales.js.map +1 -0
  61. package/es/test/run-app.js +20 -0
  62. package/es/test/run-app.js.map +1 -0
  63. package/es/test/store.js +38 -0
  64. package/es/test/store.js.map +1 -0
  65. package/es/views/test/helpers/render.js +13 -0
  66. package/es/views/test/helpers/render.js.map +1 -0
  67. package/es/views/test/helpers/state-to-vnode.js +7 -0
  68. package/es/views/test/helpers/state-to-vnode.js.map +1 -0
  69. package/es/views/test/loading.js +15 -0
  70. package/es/views/test/loading.js.map +1 -0
  71. package/es/views/test/popin-correction.js +223 -0
  72. package/es/views/test/popin-correction.js.map +1 -0
  73. package/es/views/test/popin-end.js +93 -0
  74. package/es/views/test/popin-end.js.map +1 -0
  75. package/es/views/test/router.js +22 -0
  76. package/es/views/test/router.js.map +1 -0
  77. package/es/views/test/slide.js +335 -0
  78. package/es/views/test/slide.js.map +1 -0
  79. package/lib/map-state-to-props/test/answer.js +408 -0
  80. package/lib/map-state-to-props/test/answer.js.map +1 -0
  81. package/lib/map-state-to-props/test/fixtures/player/clue.json +131 -0
  82. package/lib/map-state-to-props/test/fixtures/player/loading-clue.json +131 -0
  83. package/lib/map-state-to-props/test/fixtures/player/no-clue.json +118 -0
  84. package/lib/map-state-to-props/test/fixtures/player/slide-no-lessons.json +115 -0
  85. package/lib/map-state-to-props/test/fixtures/player/slide.json +127 -0
  86. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-extra-life.json +139 -0
  87. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-failure.json +145 -0
  88. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-next-level.json +282 -0
  89. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-revival.json +140 -0
  90. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success-node.json +154 -0
  91. package/lib/map-state-to-props/test/fixtures/popin-correction/popin-success.json +268 -0
  92. package/lib/map-state-to-props/test/fixtures/popin-correction/state-fail-multiple-answers.json +473 -0
  93. package/lib/map-state-to-props/test/fixtures/popin-end/fail.json +205 -0
  94. package/lib/map-state-to-props/test/fixtures/popin-end/learner-adaptive-failure.json +209 -0
  95. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure-with-redirection.json +211 -0
  96. package/lib/map-state-to-props/test/fixtures/popin-end/learner-failure.json +211 -0
  97. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success-with-redirection.json +278 -0
  98. package/lib/map-state-to-props/test/fixtures/popin-end/learner-success.json +275 -0
  99. package/lib/map-state-to-props/test/fixtures/popin-end/success.json +223 -0
  100. package/lib/map-state-to-props/test/fixtures/progression-learner.json +102 -0
  101. package/lib/map-state-to-props/test/fixtures/progression-state.json +45 -0
  102. package/lib/map-state-to-props/test/fixtures/slides/basic.json +60 -0
  103. package/lib/map-state-to-props/test/fixtures/slides/plop.json +56 -0
  104. package/lib/map-state-to-props/test/fixtures/slides/qcm-drag.json +56 -0
  105. package/lib/map-state-to-props/test/fixtures/slides/qcm-graphic.json +49 -0
  106. package/lib/map-state-to-props/test/fixtures/slides/qcm.json +43 -0
  107. package/lib/map-state-to-props/test/fixtures/slides/slider.json +57 -0
  108. package/lib/map-state-to-props/test/fixtures/slides/template.json +49 -0
  109. package/lib/map-state-to-props/test/fixtures/slides/videos.json +163 -0
  110. package/lib/map-state-to-props/test/fixtures/slides/with-context.json +69 -0
  111. package/lib/map-state-to-props/test/header.js +143 -0
  112. package/lib/map-state-to-props/test/header.js.map +1 -0
  113. package/lib/map-state-to-props/test/index.js +100 -0
  114. package/lib/map-state-to-props/test/index.js.map +1 -0
  115. package/lib/map-state-to-props/test/player.js +714 -0
  116. package/lib/map-state-to-props/test/player.js.map +1 -0
  117. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js +315 -0
  118. package/lib/map-state-to-props/test/popin-correction.create-header-cta.js.map +1 -0
  119. package/lib/map-state-to-props/test/popin-correction.js +85 -0
  120. package/lib/map-state-to-props/test/popin-correction.js.map +1 -0
  121. package/lib/map-state-to-props/test/popin-end.js +328 -0
  122. package/lib/map-state-to-props/test/popin-end.js.map +1 -0
  123. package/lib/map-state-to-props/test/popin-error.js +85 -0
  124. package/lib/map-state-to-props/test/popin-error.js.map +1 -0
  125. package/lib/map-state-to-props/test/resources.js +42 -0
  126. package/lib/map-state-to-props/test/resources.js.map +1 -0
  127. package/lib/test/add-timeout.js +14 -0
  128. package/lib/test/add-timeout.js.map +1 -0
  129. package/lib/test/helpers/css-register.js +8 -0
  130. package/lib/test/helpers/css-register.js.map +1 -0
  131. package/lib/test/helpers/macro.js +12 -0
  132. package/lib/test/helpers/macro.js.map +1 -0
  133. package/lib/test/index.js +53 -0
  134. package/lib/test/index.js.map +1 -0
  135. package/lib/test/init-reducers.js +57 -0
  136. package/lib/test/init-reducers.js.map +1 -0
  137. package/lib/test/locales.js +18 -0
  138. package/lib/test/locales.js.map +1 -0
  139. package/lib/test/run-app.js +27 -0
  140. package/lib/test/run-app.js.map +1 -0
  141. package/lib/test/store.js +45 -0
  142. package/lib/test/store.js.map +1 -0
  143. package/lib/views/test/helpers/render.js +24 -0
  144. package/lib/views/test/helpers/render.js.map +1 -0
  145. package/lib/views/test/helpers/state-to-vnode.js +14 -0
  146. package/lib/views/test/helpers/state-to-vnode.js.map +1 -0
  147. package/lib/views/test/loading.js +22 -0
  148. package/lib/views/test/loading.js.map +1 -0
  149. package/lib/views/test/popin-correction.js +237 -0
  150. package/lib/views/test/popin-correction.js.map +1 -0
  151. package/lib/views/test/popin-end.js +105 -0
  152. package/lib/views/test/popin-end.js.map +1 -0
  153. package/lib/views/test/router.js +32 -0
  154. package/lib/views/test/router.js.map +1 -0
  155. package/lib/views/test/slide.js +359 -0
  156. package/lib/views/test/slide.js.map +1 -0
  157. package/package.json +4 -3
@@ -0,0 +1,131 @@
1
+ {
2
+ "data": {
3
+ "configs": {
4
+ "entities": {
5
+ "microlearning@1": {
6
+ "version": 1
7
+ }
8
+ }
9
+ },
10
+ "clues": {
11
+ "entities": {
12
+ "0": {
13
+ "1.B2.4": null
14
+ }
15
+ }
16
+ },
17
+ "contents": {
18
+ "chapter": {
19
+ "entities": {
20
+ "cha_Ny1BTxRp~": {
21
+ "info": {
22
+ "nbSlides": 1
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "slide": {
28
+ "entities": {
29
+ "1.B2.4": {
30
+ "_id": "1.B2.4",
31
+ "klf": "Some KLF",
32
+ "tips": "XXX",
33
+ "hasClue": true,
34
+ "chapter_id": "cha_Ny1BTxRp~",
35
+ "authors": [],
36
+ "context": {
37
+ "media": {
38
+ "subtitles": [],
39
+ "posters": [],
40
+ "src": []
41
+ }
42
+ },
43
+ "lessons": [
44
+ {
45
+ "type": "video",
46
+ "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
47
+ "description": "Anatomie d'une page de résultats",
48
+ "mimeType": "application/vimeo",
49
+ "videoId": "88393119\n",
50
+ "_id": "590b862e2e967f64333ad456",
51
+ "subtitles": [],
52
+ "posters": [],
53
+ "src": []
54
+ }
55
+ ],
56
+ "question": {
57
+ "type": "basic",
58
+ "header": "Écrivez le mot Text dans l'input.\n",
59
+ "explanation": "Saisissez votre réponse.",
60
+ "content": {
61
+ "label": "Saisissez votre réponse.",
62
+ "placeholder": " ",
63
+ "maxTypos": null,
64
+ "choices": [],
65
+ "answers": [["Text"]],
66
+ "media": {
67
+ "subtitles": [],
68
+ "posters": [],
69
+ "src": []
70
+ }
71
+ },
72
+ "medias": []
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "progressions": {
79
+ "entities": {
80
+ "0": {
81
+ "_id": "0",
82
+ "engine": {
83
+ "ref": "microlearning",
84
+ "version": "1"
85
+ },
86
+ "content": {
87
+ "ref": "cha_Ny1BTxRp~",
88
+ "type": "chapter"
89
+ },
90
+ "state": {
91
+ "slides": ["1.B2.3"],
92
+ "content": {
93
+ "ref": "1.B2.3",
94
+ "type": "slide"
95
+ },
96
+ "nextContent": {
97
+ "ref": "1.B2.4",
98
+ "type": "slide"
99
+ },
100
+ "lives": 1,
101
+ "step": {
102
+ "current": 1
103
+ },
104
+ "isCorrect": false,
105
+ "stars": 0,
106
+ "requestedClues": [],
107
+ "viewedResources": []
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "exitNodes": {
113
+ "entities": {}
114
+ }
115
+ },
116
+ "ui": {
117
+ "answers": {
118
+ "0": {
119
+ "isCorrect": false,
120
+ "correction": [["Text"]]
121
+ }
122
+ },
123
+ "current": {
124
+ "progressionId": "0"
125
+ },
126
+ "corrections": {},
127
+ "route": {
128
+ "0": "clue"
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "data": {
3
+ "configs": {
4
+ "entities": {
5
+ "microlearning@1": {
6
+ "version": 1
7
+ }
8
+ }
9
+ },
10
+ "contents": {
11
+ "slide": {
12
+ "entities": {
13
+ "1.B2.4": {
14
+ "_id": "1.B2.4",
15
+ "klf": "Some KLF",
16
+ "tips": "XXX",
17
+ "hasClue": false,
18
+ "chapter_id": "cha_Ny1BTxRp~",
19
+ "authors": [],
20
+ "context": {
21
+ "media": {
22
+ "subtitles": [],
23
+ "posters": [],
24
+ "src": []
25
+ }
26
+ },
27
+ "info": {
28
+ "nbSlides": 4
29
+ },
30
+ "lessons": [
31
+ {
32
+ "type": "video",
33
+ "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
34
+ "description": "Anatomie d'une page de résultats",
35
+ "mimeType": "application/vimeo",
36
+ "videoId": "88393119\n",
37
+ "_id": "590b862e2e967f64333ad456",
38
+ "subtitles": [],
39
+ "posters": [],
40
+ "src": []
41
+ }
42
+ ],
43
+ "question": {
44
+ "type": "basic",
45
+ "header": "Écrivez le mot Text dans l'input.\n",
46
+ "explanation": "Saisissez votre réponse.",
47
+ "content": {
48
+ "label": "Saisissez votre réponse.",
49
+ "placeholder": " ",
50
+ "maxTypos": null,
51
+ "choices": [],
52
+ "answers": [["Text"]],
53
+ "media": {
54
+ "subtitles": [],
55
+ "posters": [],
56
+ "src": []
57
+ }
58
+ },
59
+ "medias": []
60
+ }
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "progressions": {
66
+ "entities": {
67
+ "0": {
68
+ "_id": "0",
69
+ "engine": {
70
+ "ref": "microlearning",
71
+ "version": "1"
72
+ },
73
+ "content": {
74
+ "ref": "1.B2.4",
75
+ "type": "slide"
76
+ },
77
+ "state": {
78
+ "slides": ["1.B2.3"],
79
+ "content": {
80
+ "ref": "1.B2.3",
81
+ "type": "slide"
82
+ },
83
+ "nextContent": {
84
+ "ref": "1.B2.4",
85
+ "type": "slide"
86
+ },
87
+ "lives": 1,
88
+ "step": {
89
+ "current": 2
90
+ },
91
+ "isCorrect": false,
92
+ "stars": 0,
93
+ "requestedClues": [],
94
+ "viewedResources": []
95
+ }
96
+ }
97
+ }
98
+ },
99
+ "exitNodes": {
100
+ "entities": {}
101
+ }
102
+ },
103
+ "ui": {
104
+ "route": {
105
+ "0": "answer"
106
+ },
107
+ "answers": {
108
+ "0": {
109
+ "isCorrect": false,
110
+ "correction": [["Text"]]
111
+ }
112
+ },
113
+ "current": {
114
+ "progressionId": "0"
115
+ },
116
+ "corrections": {}
117
+ }
118
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "data": {
3
+ "configs": {
4
+ "entities": {
5
+ "microlearning@1": {
6
+ "version": 1
7
+ }
8
+ }
9
+ },
10
+ "contents": {
11
+ "chapter": {
12
+ "entities": {
13
+ "cha_Ny1BTxRp~": {
14
+ "info": {
15
+ "nbSlides": 4
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "slide": {
21
+ "entities": {
22
+ "1.B2.4": {
23
+ "_id": "1.B2.4",
24
+ "klf": "Some KLF",
25
+ "tips": "XXX",
26
+ "hasClue": true,
27
+ "chapter_id": "cha_Ny1BTxRp~",
28
+ "authors": [],
29
+ "context": {
30
+ "media": {
31
+ "subtitles": [],
32
+ "posters": [],
33
+ "src": []
34
+ }
35
+ },
36
+ "info": {
37
+ "nbSlides": 4
38
+ },
39
+ "lessons": [],
40
+ "question": {
41
+ "type": "basic",
42
+ "header": "Écrivez le mot Text dans l'input.\n",
43
+ "explanation": "Saisissez votre réponse.",
44
+ "content": {
45
+ "label": "Saisissez votre réponse.",
46
+ "placeholder": " ",
47
+ "maxTypos": null,
48
+ "choices": [],
49
+ "answers": [["Text"]],
50
+ "media": {
51
+ "subtitles": [],
52
+ "posters": [],
53
+ "src": []
54
+ }
55
+ },
56
+ "medias": []
57
+ }
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "progressions": {
63
+ "entities": {
64
+ "0": {
65
+ "_id": "0",
66
+ "engine": {
67
+ "ref": "microlearning",
68
+ "version": "1"
69
+ },
70
+ "content": {
71
+ "ref": "cha_Ny1BTxRp~",
72
+ "type": "chapter"
73
+ },
74
+ "state": {
75
+ "slides": ["1.B2.3"],
76
+ "content": {
77
+ "ref": "1.B2.3",
78
+ "type": "slide"
79
+ },
80
+ "nextContent": {
81
+ "ref": "1.B2.4",
82
+ "type": "slide"
83
+ },
84
+ "lives": 1,
85
+ "step": {
86
+ "current": 2
87
+ },
88
+ "isCorrect": false,
89
+ "stars": 0,
90
+ "requestedClues": [],
91
+ "viewedResources": []
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "exitNodes": {
97
+ "entities": {}
98
+ }
99
+ },
100
+ "ui": {
101
+ "route": {
102
+ "0": "answer"
103
+ },
104
+ "answers": {
105
+ "0": {
106
+ "isCorrect": false,
107
+ "correction": [["Text"]]
108
+ }
109
+ },
110
+ "current": {
111
+ "progressionId": "0"
112
+ },
113
+ "corrections": {}
114
+ }
115
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "data": {
3
+ "configs": {
4
+ "entities": {
5
+ "microlearning@1": {
6
+ "version": 1
7
+ }
8
+ }
9
+ },
10
+ "contents": {
11
+ "chapter": {
12
+ "entities": {
13
+ "cha_Ny1BTxRp~": {
14
+ "info": {
15
+ "nbSlides": 4
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "slide": {
21
+ "entities": {
22
+ "1.B2.4": {
23
+ "_id": "1.B2.4",
24
+ "klf": "Some KLF",
25
+ "tips": "XXX",
26
+ "hasClue": true,
27
+ "chapter_id": "cha_Ny1BTxRp~",
28
+ "authors": [],
29
+ "context": {
30
+ "media": {
31
+ "subtitles": [],
32
+ "posters": [],
33
+ "src": []
34
+ }
35
+ },
36
+ "info": {
37
+ "nbSlides": 4
38
+ },
39
+ "lessons": [
40
+ {
41
+ "type": "video",
42
+ "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
43
+ "description": "Anatomie d'une page de résultats",
44
+ "mimeType": "application/vimeo",
45
+ "videoId": "88393119\n",
46
+ "_id": "590b862e2e967f64333ad456",
47
+ "subtitles": [],
48
+ "posters": [],
49
+ "src": []
50
+ }
51
+ ],
52
+ "question": {
53
+ "type": "basic",
54
+ "header": "Écrivez le mot Text dans l'input.\n",
55
+ "explanation": "Saisissez votre réponse.",
56
+ "content": {
57
+ "label": "Saisissez votre réponse.",
58
+ "placeholder": " ",
59
+ "maxTypos": null,
60
+ "choices": [],
61
+ "answers": [["Text"]],
62
+ "media": {
63
+ "subtitles": [],
64
+ "posters": [],
65
+ "src": []
66
+ }
67
+ },
68
+ "medias": []
69
+ }
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "progressions": {
75
+ "entities": {
76
+ "0": {
77
+ "_id": "0",
78
+ "engine": {
79
+ "ref": "microlearning",
80
+ "version": "1"
81
+ },
82
+ "content": {
83
+ "ref": "cha_Ny1BTxRp~",
84
+ "type": "chapter"
85
+ },
86
+ "state": {
87
+ "slides": ["1.B2.3"],
88
+ "content": {
89
+ "ref": "1.B2.3",
90
+ "type": "slide"
91
+ },
92
+ "nextContent": {
93
+ "ref": "1.B2.4",
94
+ "type": "slide"
95
+ },
96
+ "lives": 1,
97
+ "step": {
98
+ "current": 2
99
+ },
100
+ "isCorrect": false,
101
+ "stars": 0,
102
+ "requestedClues": [],
103
+ "viewedResources": []
104
+ }
105
+ }
106
+ }
107
+ },
108
+ "exitNodes": {
109
+ "entities": {}
110
+ }
111
+ },
112
+ "ui": {
113
+ "route": {
114
+ "0": "answer"
115
+ },
116
+ "answers": {
117
+ "0": {
118
+ "isCorrect": false,
119
+ "correction": [["Text"]]
120
+ }
121
+ },
122
+ "current": {
123
+ "progressionId": "0"
124
+ },
125
+ "corrections": {}
126
+ }
127
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "data": {
3
+ "configs": {
4
+ "entities": {
5
+ "microlearning@1": {
6
+ "version": 1
7
+ }
8
+ }
9
+ },
10
+ "contents": {
11
+ "slide": {
12
+ "entities": {
13
+ "1.B2.4": {
14
+ "_id": "1.B2.4",
15
+ "klf": "Some KLF",
16
+ "tips": "XXX",
17
+ "chapter_id": "cha_Ny1BTxRp~",
18
+ "authors": [],
19
+ "context": {
20
+ "media": {
21
+ "subtitles": [],
22
+ "posters": [],
23
+ "src": []
24
+ }
25
+ },
26
+ "lessons": [
27
+ {
28
+ "type": "video",
29
+ "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B2.png",
30
+ "description": "Anatomie d'une page de résultats",
31
+ "mimeType": "application/vimeo",
32
+ "videoId": "88393119\n",
33
+ "_id": "590b862e2e967f64333ad456",
34
+ "subtitles": [],
35
+ "posters": [],
36
+ "src": []
37
+ },
38
+ {
39
+ "description": "Historique des moteurs de recherche",
40
+ "mimeType": "application/vimeo",
41
+ "poster": "//static.coorpacademy.com/content/digital/miniatures_cours/base/1B1.png",
42
+ "posters": [],
43
+ "src": [],
44
+ "subtitles": [],
45
+ "type": "video",
46
+ "videoId": "88546728\n",
47
+ "_id": "590b862e2e967f64333ad4fc"
48
+ }
49
+ ],
50
+ "question": {
51
+ "type": "basic",
52
+ "header": "Écrivez le mot Text dans l'input.\n",
53
+ "explanation": "Saisissez votre réponse.",
54
+ "content": {
55
+ "label": "Saisissez votre réponse.",
56
+ "placeholder": " ",
57
+ "maxTypos": null,
58
+ "choices": [],
59
+ "answers": [["Text"]],
60
+ "media": {
61
+ "subtitles": [],
62
+ "posters": [],
63
+ "src": []
64
+ }
65
+ },
66
+ "medias": []
67
+ }
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "answers": {
73
+ "entities": {
74
+ "0": {
75
+ "1.B2.4": {
76
+ "correctAnswer": ["Text"],
77
+ "corrections": [
78
+ {
79
+ "answer": "Toto",
80
+ "isCorrect": false
81
+ }
82
+ ]
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "progressions": {
88
+ "entities": {
89
+ "0": {
90
+ "_id": "0",
91
+ "engine": {
92
+ "ref": "microlearning",
93
+ "version": "1"
94
+ },
95
+ "content": {
96
+ "ref": "1.B2.4",
97
+ "type": "slide"
98
+ },
99
+ "state": {
100
+ "slides": ["1.B2.4"],
101
+ "nextContent": {
102
+ "ref": "extraLife",
103
+ "type": "node"
104
+ },
105
+ "lives": 0,
106
+ "step": {
107
+ "current": 2
108
+ },
109
+ "isCorrect": false,
110
+ "hasViewedAResourceAtThisStep": false,
111
+ "stars": 0,
112
+ "requestedClues": [],
113
+ "viewedResources": [],
114
+ "content": {
115
+ "ref": "1.B2.4",
116
+ "type": "slide"
117
+ }
118
+ }
119
+ }
120
+ }
121
+ },
122
+ "exitNodes": {
123
+ "entities": {}
124
+ }
125
+ },
126
+ "ui": {
127
+ "answers": {
128
+ "0": {
129
+ "value": ["Toto"]
130
+ }
131
+ },
132
+ "current": {
133
+ "progressionId": "0"
134
+ },
135
+ "corrections": {
136
+ "accordion": [true, false, false]
137
+ }
138
+ }
139
+ }