fcad-core-dragon 2.0.0-beta.0 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +7 -9
- package/src/$locales/en.json +39 -15
- package/src/$locales/fr.json +48 -23
- package/src/components/AppBase.vue +245 -266
- package/src/components/AppBaseErrorDisplay.vue +29 -0
- package/src/components/AppBaseModule.vue +485 -232
- package/src/components/AppBasePage.vue +28 -54
- package/src/components/AppCompBif.vue +120 -0
- package/src/components/AppCompBranchButtons.vue +31 -30
- package/src/components/AppCompButtonProgress.vue +35 -46
- package/src/components/AppCompCarousel.vue +154 -247
- package/src/components/AppCompJauge.vue +1 -2
- package/src/components/AppCompMediaPlayer.vue +106 -74
- package/src/components/AppCompMenu.vue +87 -81
- package/src/components/AppCompMenuItem.vue +48 -90
- package/src/components/AppCompNavigation.vue +949 -0
- package/src/components/AppCompNoteCall.vue +126 -0
- package/src/components/AppCompNoteCredit.vue +164 -0
- package/src/components/AppCompPlayBar.vue +864 -1085
- package/src/components/AppCompPopUp.vue +26 -27
- package/src/components/AppCompPopover.vue +27 -0
- package/src/components/AppCompQuiz.vue +27 -36
- package/src/components/AppCompQuizRecall.vue +250 -0
- package/src/components/AppCompSVG.vue +309 -0
- package/src/components/AppCompSettingsMenu.vue +1 -0
- package/src/components/AppCompTableOfContent.vue +140 -85
- package/src/components/AppCompTranscript.vue +19 -0
- package/src/components/AppCompVideoPlayer.vue +336 -0
- package/src/components/BaseModule.vue +24 -105
- package/src/main.js +18 -9
- package/src/mixins/$pageMixins.js +106 -28
- package/src/mixins/timerMixin.js +31 -7
- package/src/module/store.js +33 -12
- package/src/module/xapi/Crypto/encoders/Hex.js +2 -1
- package/src/module/xapi/wrapper.js +4 -4
- package/src/plugins/gsap.js +4 -1
- package/src/plugins/helper.js +53 -18
- package/src/plugins/idb.js +1 -0
- package/src/public/index.html +1 -1
- package/src/router/index.js +41 -0
- package/src/router/routes.js +337 -0
- package/src/routes_bckp.js +313 -0
- package/src/routes_static.js +344 -0
- package/src/shared/generalfuncs.js +79 -4
- package/src/shared/validators.js +249 -0
- package/src/components/AppCompNavigationFull.vue +0 -1791
- package/src/components/AppCompToolTip.vue +0 -94
- package/src/routes.js +0 -734
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fcad-core-dragon",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./src/main.js",
|
|
6
6
|
"config": {
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
"vue": "vue"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"axios": "^0.27.2",
|
|
17
|
+
"core-js": "~3.9.1",
|
|
16
18
|
"crypto-js": "^4.0.0",
|
|
17
|
-
"gsap": "^3.
|
|
19
|
+
"gsap": "^3.12.2",
|
|
18
20
|
"idb": "^6.1.2",
|
|
19
|
-
"axios": "^0.27.2",
|
|
20
|
-
"portal-vue": "^2.1.7",
|
|
21
21
|
"mobile-detect": "^1.4.4",
|
|
22
|
-
"
|
|
22
|
+
"portal-vue": "^2.1.7"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"vuex": "~3.0.1",
|
|
26
26
|
"vue-axios": "~3.3.7",
|
|
27
27
|
"vue-router": "~3.2.0",
|
|
28
|
-
"vue-i18n":
|
|
28
|
+
"vue-i18n": "~8.26.3",
|
|
29
29
|
"vue": "~2.6.11"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -49,11 +49,9 @@
|
|
|
49
49
|
"vuex": "~3.0.1",
|
|
50
50
|
"vue-axios": "~3.3.7",
|
|
51
51
|
"vue-router": "~3.2.0",
|
|
52
|
-
"vue-i18n":
|
|
52
|
+
"vue-i18n": "~8.26.3",
|
|
53
53
|
"vue": "~2.6.11"
|
|
54
54
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
55
|
"browserslist": [
|
|
58
56
|
"> 1%",
|
|
59
57
|
"last 2 versions",
|
package/src/$locales/en.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button": {
|
|
3
|
-
"accessibility":"Subtitles and
|
|
3
|
+
"accessibility":"Subtitles and text alternative",
|
|
4
4
|
"alert_close":"Close this window",
|
|
5
5
|
"back_to_branching":"Go back to the main page",
|
|
6
|
+
"back_to_first_page": "Go back to the first page",
|
|
6
7
|
"back_to_menu": "Back to the menu",
|
|
7
8
|
"btn_branch":"Explore this topic further",
|
|
8
9
|
"cancel_pop": "Cancel",
|
|
@@ -11,9 +12,16 @@
|
|
|
11
12
|
"confirm_pop": "Confirm",
|
|
12
13
|
"copyright": "Copyright",
|
|
13
14
|
"download_transcript": "Download text alternative",
|
|
14
|
-
"
|
|
15
|
+
"full_screen_on": "Full-screen",
|
|
16
|
+
"full_screen_off": "Exit full-screen",
|
|
17
|
+
"go_to_conclusion": "Go to the lesson conclusion",
|
|
18
|
+
"go_to_introduction": "Go to the lesson introduction",
|
|
19
|
+
"go_to_branch":"Go to the next topic",
|
|
20
|
+
"go_to_module_conclusion":"Go to the module conclusion",
|
|
21
|
+
"go_to_lesson" : "Go to the next lesson",
|
|
22
|
+
"go_to_menu": "Go to the lesson contents page",
|
|
15
23
|
"hide_nav_bar": "Hide navigation bar",
|
|
16
|
-
"
|
|
24
|
+
"info": "infos",
|
|
17
25
|
"instructions": "technical instruction",
|
|
18
26
|
"menu": "Lesson contents",
|
|
19
27
|
"menu_anchor": "Menu anchors",
|
|
@@ -25,11 +33,8 @@
|
|
|
25
33
|
"mute": "Mute",
|
|
26
34
|
"next": "Go to the next page",
|
|
27
35
|
"next_activity": "Go to the next activity",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"next_branch":"Go to the next topic",
|
|
31
|
-
"next_before_conclu_module":"Go to the module conclusion",
|
|
32
|
-
"next_lesson" : "Go to the next lesson",
|
|
36
|
+
"note_call":"Revenir plus haut",
|
|
37
|
+
"note_call_in_page":"Atteindre la note de bas de page",
|
|
33
38
|
"pause": "Pause",
|
|
34
39
|
"play": "Play",
|
|
35
40
|
"previous": "Go to the previous page",
|
|
@@ -45,11 +50,16 @@
|
|
|
45
50
|
"return_to_branch":"return to main content",
|
|
46
51
|
"save": "Save",
|
|
47
52
|
"setting": "Settings",
|
|
48
|
-
"show_subtitle": "Display subtitles",
|
|
49
53
|
"skip_nav_content": "skip to main containt",
|
|
54
|
+
"subtitle_off": "Hide subtitles",
|
|
55
|
+
"subtitle_on": "Display subtitles",
|
|
50
56
|
"submit": "Check my answer",
|
|
57
|
+
"stay_on_page":"Stay on this page",
|
|
51
58
|
"switch_off": "off",
|
|
52
59
|
"switch_on": "on",
|
|
60
|
+
"toc":"Progression",
|
|
61
|
+
"transcript_off": "Hide transcript",
|
|
62
|
+
"transcript_on": "Show transcript",
|
|
53
63
|
"unmute": "Unmute",
|
|
54
64
|
"volume":"Volume",
|
|
55
65
|
"closePopUp": "Close"
|
|
@@ -95,7 +105,6 @@
|
|
|
95
105
|
"label": {
|
|
96
106
|
"for_pagination": "page",
|
|
97
107
|
"for_volume_level": "volume",
|
|
98
|
-
"splashscreen": "Welcome",
|
|
99
108
|
"section":"Go to the section named",
|
|
100
109
|
"timer":"estimated time"
|
|
101
110
|
},
|
|
@@ -107,18 +116,22 @@
|
|
|
107
116
|
"first_option_dropdown": "Choose an option",
|
|
108
117
|
"no_answer": "You did not answer.",
|
|
109
118
|
"no_attempts": "You have no more attempts.",
|
|
110
|
-
"skip_content":"Skip to the main content."
|
|
111
|
-
"splash_welcome": "This course includes multimedia content. To avoid having to click on the play button on every page, you can activate automatic playback here. You can change this choice at any time in the settings.Settings Automatic playback of multimedia content at any time in the settings."
|
|
119
|
+
"skip_content":"Skip to the main content."
|
|
112
120
|
},
|
|
113
121
|
"popup": {
|
|
122
|
+
"text_congratulation": "Congratulation",
|
|
114
123
|
"text_noanswer_back_root": "You didn’t enter an answer. Do you really want to go back to the main page?",
|
|
115
124
|
"text_noanswer_next_activity": "You didn’t enter an answer. Do you really want to go to the next activity?",
|
|
116
|
-
"
|
|
125
|
+
"text_noanswer_go_to_branch": "You didn’t enter an answer. Do you really want to go to the next topic?",
|
|
117
126
|
"text_noanswer_next_page": "You didn’t enter an answer. Do you really want to go to the next page?",
|
|
127
|
+
"text_what_to_do": "What do you wish to do?",
|
|
118
128
|
"title_warning": "Oops!"
|
|
119
129
|
},
|
|
120
130
|
"text": {
|
|
121
131
|
"activity": "Activity",
|
|
132
|
+
"activity_title":"My activitys",
|
|
133
|
+
"activity_progress":"Progress in the activity",
|
|
134
|
+
"anchors":"Section",
|
|
122
135
|
"conclusion": "Conclusion",
|
|
123
136
|
"introduction": "Introduction",
|
|
124
137
|
"lesson": "Lesson",
|
|
@@ -129,7 +142,18 @@
|
|
|
129
142
|
"for_textarea": "Write here.",
|
|
130
143
|
"for_download_file_name":"file",
|
|
131
144
|
"for_title_btn_progress":"Click to discover the content"
|
|
132
|
-
}
|
|
145
|
+
},
|
|
146
|
+
"title_note": "Notes",
|
|
147
|
+
"title_credit": "Credits",
|
|
148
|
+
"title_end_activity": "What do you wish to do?",
|
|
149
|
+
"title_link_bas": "Revenir plus haut",
|
|
150
|
+
"title_link_call": "Atteindre la note de bas de page",
|
|
151
|
+
"no_credit":"Il n'y a pas de crédit.",
|
|
152
|
+
"no_note":"Il n'y a pas de note.",
|
|
153
|
+
"you_are_here":"You are in : ",
|
|
154
|
+
"carousel":"Carousel",
|
|
155
|
+
"slide":"Slide",
|
|
156
|
+
"of":"of"
|
|
133
157
|
},
|
|
134
158
|
"user_settings": {
|
|
135
159
|
"autoplay": "Automatic playback of multimedia content",
|
|
@@ -139,7 +163,7 @@
|
|
|
139
163
|
"title": "Settings"
|
|
140
164
|
},
|
|
141
165
|
"quizState":{
|
|
142
|
-
"
|
|
166
|
+
"selected":"Option selected",
|
|
143
167
|
"goodAnswer":"Good answer",
|
|
144
168
|
"badAnswer":"Wrong answer"
|
|
145
169
|
},
|
package/src/$locales/fr.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button": {
|
|
3
|
-
"accessibility":"Sous-titres et
|
|
3
|
+
"accessibility":"Sous-titres et version texte",
|
|
4
4
|
"alert_close":"Fermer cette fenêtre",
|
|
5
5
|
"back_to_branching":"Retourner à la page d’origine",
|
|
6
|
+
"back_to_first_page": "Retourner à la première page",
|
|
6
7
|
"back_to_menu": "Retour au sommaire",
|
|
7
8
|
"btn_branch":"Approfondir ce sujet",
|
|
8
9
|
"cancel_pop": "Annuler",
|
|
@@ -11,11 +12,18 @@
|
|
|
11
12
|
"confirm_pop": "Confirmer",
|
|
12
13
|
"copyright": "Droit d'auteur",
|
|
13
14
|
"download_transcript": "Télécharger une version texte",
|
|
14
|
-
"
|
|
15
|
+
"full_screen_on": "Plein-écran",
|
|
16
|
+
"full_screen_off": "Quitter le mode plein-écran",
|
|
17
|
+
"go_to_conclusion": "Aller à la conclusion de la leçon",
|
|
18
|
+
"go_to_introduction": "Aller à l'introduction de la leçon",
|
|
19
|
+
"go_to_branch":"Aller au sujet suivant",
|
|
20
|
+
"go_to_module_conclusion":"Aller à la conclusion du module",
|
|
21
|
+
"go_to_lesson" : "Aller à la leçon suivante",
|
|
22
|
+
"go_to_menu": "Aller au sommaire de la leçon",
|
|
15
23
|
"hide_nav_bar": "Masquer la barre de navigation",
|
|
16
|
-
"hide_subtitle": "Masquer les sous-titres",
|
|
17
24
|
"instructions": "consigne technique",
|
|
18
|
-
"
|
|
25
|
+
"info": "infos",
|
|
26
|
+
"menu": "Menu",
|
|
19
27
|
"menu_anchor": "Menu des ancres",
|
|
20
28
|
"menu_item": {
|
|
21
29
|
"end": "Reprendre là où j’étais",
|
|
@@ -25,13 +33,10 @@
|
|
|
25
33
|
"mute": "Désactiver le son",
|
|
26
34
|
"next": "Aller à la page suivante",
|
|
27
35
|
"next_activity": "Aller à l’activité suivante",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"next_branch":"Aller au sujet suivant",
|
|
31
|
-
"next_before_conclu_module":"Aller à la conclusion du module",
|
|
32
|
-
"next_lesson" : "Aller à la leçon suivante",
|
|
36
|
+
"note_call":"Revenir plus haut",
|
|
37
|
+
"note_call_in_page":"Atteindre la note de bas de page",
|
|
33
38
|
"pause": "Pause",
|
|
34
|
-
"play": "
|
|
39
|
+
"play": "Jouer",
|
|
35
40
|
"previous": "Aller à la page précédente",
|
|
36
41
|
"previous_activity": "Aller à l’activité précédente",
|
|
37
42
|
"quiz_close_no_answer": "Rester et faire cet exercice",
|
|
@@ -45,11 +50,16 @@
|
|
|
45
50
|
"return_to_branch":"Retour au résumé",
|
|
46
51
|
"save": "Enregistrer",
|
|
47
52
|
"setting": "Paramètres",
|
|
48
|
-
"show_subtitle": "Afficher les sous-titres",
|
|
49
53
|
"skip_nav_content": "Passer au contenu principal",
|
|
54
|
+
"subtitle_off": "Masquer les sous-titres",
|
|
55
|
+
"subtitle_on": "Afficher les sous-titres",
|
|
50
56
|
"submit": "Vérifier ma réponse",
|
|
57
|
+
"stay_on_page":"Rester sur cette page",
|
|
51
58
|
"switch_off": "off",
|
|
52
59
|
"switch_on": "on",
|
|
60
|
+
"toc":"Progression",
|
|
61
|
+
"transcript_off": "Fermer la transcription",
|
|
62
|
+
"transcript_on": "Afficher la transcription",
|
|
53
63
|
"unmute": "Activer le son",
|
|
54
64
|
"volume":"Volume",
|
|
55
65
|
"closePopUp": "Fermer"
|
|
@@ -95,7 +105,6 @@
|
|
|
95
105
|
"label": {
|
|
96
106
|
"for_pagination": "page",
|
|
97
107
|
"for_volume_level": "volume",
|
|
98
|
-
"splashscreen": "Contenu multimédia",
|
|
99
108
|
"section":"Aller à la section intitulée",
|
|
100
109
|
"timer":"temps estimé"
|
|
101
110
|
},
|
|
@@ -107,30 +116,46 @@
|
|
|
107
116
|
"first_option_dropdown": "Choisir une option",
|
|
108
117
|
"no_answer": "Vous n'avez pas répondu.",
|
|
109
118
|
"no_attempts": "Vous n'avez plus d'essai.",
|
|
110
|
-
"skip_content":"Passer au contenu principal"
|
|
111
|
-
"splash_welcome": "Ce cours comprend du contenu multimédia. Pour éviter de devoir lancer la lecture de ce contenu dans chaque page, vous pouvez activer la lecture automatique ici. Il vous sera possible de modifier ce choix à tout moment dans les paramètres."
|
|
119
|
+
"skip_content":"Passer au contenu principal"
|
|
112
120
|
|
|
113
121
|
},
|
|
114
122
|
"popup": {
|
|
123
|
+
"text_congratulation": "Félicitation",
|
|
115
124
|
"text_noanswer_back_root": "Vous n’avez pas entré de réponse. Voulez-vous tout de même retourner à la page d’origine?",
|
|
116
125
|
"text_noanswer_next_activity": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller à l’activité suivante?",
|
|
117
|
-
"
|
|
126
|
+
"text_noanswer_go_to_branch": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller au sujet suivant?",
|
|
118
127
|
"text_noanswer_next_page": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller à la page suivante?",
|
|
128
|
+
"text_what_to_do": "Que voulez-vous faire?",
|
|
119
129
|
"title_warning": "Attention!"
|
|
130
|
+
|
|
120
131
|
},
|
|
121
132
|
"text": {
|
|
122
133
|
"activity": "Activité",
|
|
134
|
+
"activity_title": "Mes activités",
|
|
135
|
+
"activity_progress":"Progression dans l'activité",
|
|
136
|
+
"anchors":"Section",
|
|
137
|
+
"carousel":"Carrousel",
|
|
123
138
|
"conclusion": "Conclusion",
|
|
124
139
|
"introduction": "Introduction",
|
|
125
140
|
"lesson": "Leçon",
|
|
126
|
-
"quiz":"Mot complétant la phrase",
|
|
127
|
-
"place_holder":{
|
|
128
|
-
"for_branch_title":"Titre de la branche",
|
|
129
|
-
"for_lesson_title":"Titre de la leçon",
|
|
141
|
+
"quiz": "Mot complétant la phrase",
|
|
142
|
+
"place_holder": {
|
|
143
|
+
"for_branch_title": "Titre de la branche",
|
|
144
|
+
"for_lesson_title": "Titre de la leçon",
|
|
130
145
|
"for_textarea": "Écrivez ici.",
|
|
131
|
-
"for_download_file_name":"fichier",
|
|
132
|
-
"for_title_btn_progress":"Cliquer pour découvrir le contenu"
|
|
133
|
-
}
|
|
146
|
+
"for_download_file_name": "fichier",
|
|
147
|
+
"for_title_btn_progress": "Cliquer pour découvrir le contenu"
|
|
148
|
+
},
|
|
149
|
+
"title_note": "Notes",
|
|
150
|
+
"title_credit": "Crédits",
|
|
151
|
+
"title_end_activity": "Que souhaitez-vous faire?",
|
|
152
|
+
"title_link_bas": "Revenir plus haut",
|
|
153
|
+
"title_link_call": "Atteindre la note de bas de page",
|
|
154
|
+
"no_credit": "Il n'y a pas de crédit.",
|
|
155
|
+
"no_note": "Il n'y a pas de note.",
|
|
156
|
+
"of":"de",
|
|
157
|
+
"slide":"Diapositive",
|
|
158
|
+
"you_are_here":"Vous êtes dans : "
|
|
134
159
|
},
|
|
135
160
|
"user_settings": {
|
|
136
161
|
"autoplay": "Lecture automatique du contenu multimédia",
|
|
@@ -140,7 +165,7 @@
|
|
|
140
165
|
"title": "Paramètres"
|
|
141
166
|
},
|
|
142
167
|
"quizState":{
|
|
143
|
-
"
|
|
168
|
+
"selected":"Réponse sélectionnée",
|
|
144
169
|
"goodAnswer":"Bonne réponse",
|
|
145
170
|
"badAnswer":"Mauvaise réponse"
|
|
146
171
|
},
|