fcad-core-dragon 2.0.0-beta.2 → 2.0.0-beta.3
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/.editorconfig +33 -33
- package/.eslintignore +29 -29
- package/.eslintrc.cjs +81 -81
- package/CHANGELOG +364 -364
- package/README.md +71 -71
- package/bk.scss +117 -117
- package/package.json +61 -47
- package/src/$locales/en.json +143 -193
- package/src/$locales/fr.json +105 -194
- package/src/assets/data/onboardingMessages.json +47 -47
- package/src/components/AppBase.vue +1054 -1049
- package/src/components/AppBaseButton.vue +87 -91
- package/src/components/AppBaseErrorDisplay.vue +438 -428
- package/src/components/AppBaseFlipCard.vue +84 -83
- package/src/components/AppBaseModule.vue +1673 -1666
- package/src/components/AppBasePage.vue +779 -324
- package/src/components/AppBasePopover.vue +41 -0
- package/src/components/AppCompAudio.vue +234 -266
- package/src/components/AppCompBranchButtons.vue +552 -571
- package/src/components/AppCompButtonProgress.vue +126 -132
- package/src/components/AppCompCarousel.vue +298 -196
- package/src/components/{AppCompInputCheckBox.vue → AppCompInputCheckBoxNext.vue} +195 -233
- package/src/components/AppCompInputDropdownNext.vue +159 -0
- package/src/components/{AppCompInputRadio.vue → AppCompInputRadioNext.vue} +152 -162
- package/src/components/{AppCompInputTextBox.vue → AppCompInputTextNext.vue} +106 -91
- package/src/components/AppCompInputTextTableNext.vue +141 -0
- package/src/components/AppCompInputTextToFillDropdownNext.vue +230 -0
- package/src/components/{AppCompInputTextToFillText.vue → AppCompInputTextToFillNext.vue} +171 -164
- package/src/components/AppCompJauge.vue +74 -67
- package/src/components/AppCompMenu.vue +413 -402
- package/src/components/AppCompMenuItem.vue +228 -191
- package/src/components/AppCompNavigation.vue +960 -945
- package/src/components/AppCompNoteCall.vue +133 -141
- package/src/components/AppCompNoteCredit.vue +292 -267
- package/src/components/AppCompPlayBar.vue +1218 -1271
- package/src/components/AppCompPlayBarNext.vue +2052 -0
- package/src/components/AppCompPlayBarProgress.vue +82 -73
- package/src/components/AppCompPopUpNext.vue +503 -0
- package/src/components/{AppCompQuiz.vue → AppCompQuizNext.vue} +2904 -2975
- package/src/components/AppCompQuizRecall.vue +276 -277
- package/src/components/{AppCompSVG.vue → AppCompSVGNext.vue} +347 -335
- package/src/components/AppCompSettingsMenu.vue +172 -169
- package/src/components/AppCompTableOfContent.vue +387 -385
- package/src/components/AppCompTranscript.vue +24 -19
- package/src/components/AppCompVideoPlayer.vue +368 -380
- package/src/components/AppCompViewDisplay.vue +6 -6
- package/src/components/BaseModule.vue +72 -71
- package/src/composables/useQuiz.js +206 -0
- package/src/externalComps/ModuleView.vue +22 -0
- package/src/externalComps/SummaryView.vue +91 -0
- package/src/main.js +272 -263
- package/src/mixins/$mediaMixins.js +819 -827
- package/src/mixins/timerMixin.js +155 -155
- package/src/module/stores/appStore.js +893 -0
- package/src/module/xapi/ADL.js +376 -376
- package/src/module/xapi/Crypto/Hasher.js +241 -241
- package/src/module/xapi/Crypto/WordArray.js +278 -278
- package/src/module/xapi/Crypto/algorithms/BufferedBlockAlgorithm.js +103 -103
- package/src/module/xapi/Crypto/algorithms/C_algo.js +315 -315
- package/src/module/xapi/Crypto/algorithms/HMAC.js +9 -9
- package/src/module/xapi/Crypto/algorithms/SHA1.js +9 -9
- package/src/module/xapi/Crypto/encoders/Base.js +105 -105
- package/src/module/xapi/Crypto/encoders/Base64.js +99 -99
- package/src/module/xapi/Crypto/encoders/Hex.js +61 -61
- package/src/module/xapi/Crypto/encoders/Latin1.js +61 -61
- package/src/module/xapi/Crypto/encoders/Utf8.js +45 -45
- package/src/module/xapi/Crypto/index.js +53 -53
- package/src/module/xapi/Statement/activity.js +47 -47
- package/src/module/xapi/Statement/agent.js +55 -55
- package/src/module/xapi/Statement/group.js +26 -26
- package/src/module/xapi/Statement/index.js +259 -259
- package/src/module/xapi/Statement/statement.js +253 -253
- package/src/module/xapi/Statement/statementRef.js +23 -23
- package/src/module/xapi/Statement/substatement.js +22 -22
- package/src/module/xapi/Statement/verb.js +36 -36
- package/src/module/xapi/activitytypes.js +17 -17
- package/src/module/xapi/launch.js +157 -157
- package/src/module/xapi/utils.js +167 -167
- package/src/module/xapi/verbs.js +294 -294
- package/src/module/xapi/wrapper.js +1963 -1963
- package/src/module/xapi/xapiStatement.js +444 -444
- package/src/plugins/bus.js +8 -3
- package/src/plugins/gsap.js +14 -17
- package/src/plugins/helper.js +308 -294
- package/src/plugins/i18n.js +44 -44
- package/src/plugins/idb.js +219 -212
- package/src/plugins/save.js +37 -37
- package/src/plugins/scorm.js +287 -287
- package/src/plugins/xapi.js +11 -11
- package/src/public/index.html +33 -21
- package/src/router/index.js +43 -40
- package/src/router/routes.js +312 -317
- package/src/shared/generalfuncs.js +210 -195
- package/src/shared/validators.js +1069 -959
- package/vite.config.js +27 -0
- package/src/components/AppCompInputDropdown.vue +0 -182
- package/src/components/AppCompInputTextTable.vue +0 -158
- package/src/components/AppCompInputTextToFillDropdown.vue +0 -257
- package/src/components/AppCompPopUp.vue +0 -583
- package/src/components/AppCompPopover.vue +0 -27
- package/src/mixins/$pageMixins.js +0 -415
- package/src/mixins/$quizMixins.js +0 -442
- package/src/module/store.js +0 -1014
package/src/$locales/en.json
CHANGED
|
@@ -1,193 +1,143 @@
|
|
|
1
|
-
{
|
|
2
|
-
"button": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
},
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"complete":"Completed",
|
|
145
|
-
"introduction": "Introduction",
|
|
146
|
-
"lesson": "Lesson",
|
|
147
|
-
"quiz":"Words to complete the sentence",
|
|
148
|
-
"place_holder":{
|
|
149
|
-
"for_branch_title":"Title for branch",
|
|
150
|
-
"for_lesson_title":"Title of this lesson",
|
|
151
|
-
"for_textarea": "Write here.",
|
|
152
|
-
"for_download_file_name":"file",
|
|
153
|
-
"for_title_btn_progress":"Click to discover the content"
|
|
154
|
-
},
|
|
155
|
-
"of":"of",
|
|
156
|
-
"no_note":"Il n'y a pas de note.",
|
|
157
|
-
"no_credit":"Il n'y a pas de crédit.",
|
|
158
|
-
"slide":"Slide",
|
|
159
|
-
"title_note": "Note(s)",
|
|
160
|
-
"title_credit": "Credit(s)",
|
|
161
|
-
"err_credit": "Le texte de la page ne comporte pas d’appel de note correspondant à cette note-ci. Un appel de note doit être ajouté.",
|
|
162
|
-
"title_end_activity": "What do you wish to do?",
|
|
163
|
-
"title_link_bas": "Go back to the text",
|
|
164
|
-
"title_link_call": "Go to the footnote",
|
|
165
|
-
"toc":"Contents",
|
|
166
|
-
"title_content_view":"Lesson contents",
|
|
167
|
-
"transcript": "Transcript",
|
|
168
|
-
"you_are_here":"You are in : "
|
|
169
|
-
},
|
|
170
|
-
"user_settings": {
|
|
171
|
-
"autoplay": "Automatic playback of multimedia content",
|
|
172
|
-
"close": "Close this window",
|
|
173
|
-
"onboarding": "Turn on the guided tour",
|
|
174
|
-
"subtitles":"Always show subtitles when playing multimedia content",
|
|
175
|
-
"title": "Settings"
|
|
176
|
-
},
|
|
177
|
-
"quizState":{
|
|
178
|
-
"selected":"Option selected",
|
|
179
|
-
"goodAnswer":"Good answer",
|
|
180
|
-
"badAnswer":"Wrong answer",
|
|
181
|
-
"neutralAnswer":"Neutral answer",
|
|
182
|
-
"answers" : "Answer choices"
|
|
183
|
-
},
|
|
184
|
-
"a11y_sr":{
|
|
185
|
-
"time": {
|
|
186
|
-
"hours":"hour | hours",
|
|
187
|
-
"minute":"minute | minutes",
|
|
188
|
-
"second":"second |seconds"
|
|
189
|
-
},
|
|
190
|
-
"seek_slider":"Seek slider",
|
|
191
|
-
"range_expression":"at {x} of {y}."
|
|
192
|
-
}
|
|
193
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"button": {
|
|
3
|
+
"alert_close":"Close this window",
|
|
4
|
+
"cancel_pop": "Cancel",
|
|
5
|
+
"carousel_next": "Next",
|
|
6
|
+
"carousel_prev": "Previous",
|
|
7
|
+
"confirm_pop": "Confirm",
|
|
8
|
+
"full_screen_on": "Full-screen",
|
|
9
|
+
"full_screen_off": "Exit full-screen",
|
|
10
|
+
"go_to_next_page": "Go to the next page",
|
|
11
|
+
"go_to_previous_page": "Go to the previous page",
|
|
12
|
+
"go_to_first_page": "Go to the first page",
|
|
13
|
+
"go_to_lesson" : "Go to the next lesson",
|
|
14
|
+
"go_to_menu": "Go to the lesson contents page",
|
|
15
|
+
"go_to_first_page": "Go to the first page",
|
|
16
|
+
"info": "Info",
|
|
17
|
+
"menu": "Start",
|
|
18
|
+
"menu_item": {
|
|
19
|
+
"end": "Pick up where I left off",
|
|
20
|
+
"start": "Start the lesson"
|
|
21
|
+
},
|
|
22
|
+
"mute": "Mute",
|
|
23
|
+
"next": "Next",
|
|
24
|
+
"next_activity": "Go to the next activity",
|
|
25
|
+
"pause": "Pause",
|
|
26
|
+
"play": "Play",
|
|
27
|
+
"previous": "Previous",
|
|
28
|
+
"quiz_verify": "Check",
|
|
29
|
+
"replay": "Replay",
|
|
30
|
+
"save": "Save",
|
|
31
|
+
"subtitle_off": "Hide subtitles",
|
|
32
|
+
"subtitle_on": "Display subtitles",
|
|
33
|
+
"submit": "Check",
|
|
34
|
+
"toc":"Progression",
|
|
35
|
+
"transcript_off": "Hide transcript",
|
|
36
|
+
"transcript_on": "Show transcript",
|
|
37
|
+
"unmute": "Unmute",
|
|
38
|
+
"volume": "Volume",
|
|
39
|
+
"closePopUp": "Close"
|
|
40
|
+
},
|
|
41
|
+
"instruction": {
|
|
42
|
+
"branch": "Click on the item to find additional information.",
|
|
43
|
+
"bif": "Select the path you wish to discover.",
|
|
44
|
+
"choix_mult": "Select one or more options, then check your answer.",
|
|
45
|
+
"choix_mult_no_validation": "Select one or more options, then confirm your answer.",
|
|
46
|
+
"choix_unique": "Select your answer, then check it.",
|
|
47
|
+
"choix_unique_no_validation": "Select an option, then confirm your answer.",
|
|
48
|
+
"click_show": "Click on the item to find additional information.",
|
|
49
|
+
"dropdown": "Match the correct answers to the corresponding statements, then check your answers.",
|
|
50
|
+
"dropdown_no_validation": "Match an answer to each statement, then confirm your answers.",
|
|
51
|
+
"pop_over": "Hover over the item to display the information.",
|
|
52
|
+
"reponse_ouverte": "Write your answer and save it.",
|
|
53
|
+
"reponse_ouverte_no_validation": "Write your answer and save it.",
|
|
54
|
+
"texte_tableau": {
|
|
55
|
+
"multi": "Write your answers, then check them.",
|
|
56
|
+
"single": "Write your answer, then check it."
|
|
57
|
+
},
|
|
58
|
+
"texte_tableau_no_validation": {
|
|
59
|
+
"multi": "Write your answers, then save them.",
|
|
60
|
+
"single": "Write your answer and save it."
|
|
61
|
+
},
|
|
62
|
+
"texte_troue": {
|
|
63
|
+
"multi": "Write your answers, then check them.",
|
|
64
|
+
"single": "Write your answer, then check it."
|
|
65
|
+
},
|
|
66
|
+
"texte_troue_no_validation": {
|
|
67
|
+
"multi": "Write your answers, then save them.",
|
|
68
|
+
"single": "Write your answer and save it."
|
|
69
|
+
},
|
|
70
|
+
"texte_troue_select": {
|
|
71
|
+
"multi": "Select some options, then check your answers.",
|
|
72
|
+
"single": "Select an option, then check your answer."
|
|
73
|
+
},
|
|
74
|
+
"texte_troue_select_no_validation": {
|
|
75
|
+
"multi": "Select some options, then save them.",
|
|
76
|
+
"single": "Select an option, and save it."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"label": {
|
|
80
|
+
"timer":"estimated time"
|
|
81
|
+
},
|
|
82
|
+
"message": {
|
|
83
|
+
"err_download_file": "The file download has failed.",
|
|
84
|
+
"first_option_dropdown": "Choose an option",
|
|
85
|
+
"no_attempts": "You have no more attempts.",
|
|
86
|
+
"loading_state_msg": "Loading. Please wait...",
|
|
87
|
+
"progress_card": "État d’avancement:",
|
|
88
|
+
"recall_done": "You have answered the question :",
|
|
89
|
+
"recall_undone": "You have not answered the question.",
|
|
90
|
+
"skip_content": "Skip to the main content."
|
|
91
|
+
},
|
|
92
|
+
"popup": {
|
|
93
|
+
"text_what_to_do": "What do you wish to do?"
|
|
94
|
+
},
|
|
95
|
+
"text": {
|
|
96
|
+
"activity": "Activity",
|
|
97
|
+
"activity_title":"My activitys",
|
|
98
|
+
"activity_progress":"Progress status:",
|
|
99
|
+
"carousel":"Carousel",
|
|
100
|
+
"conclusion": "Conclusion",
|
|
101
|
+
"complete": "Completed",
|
|
102
|
+
"introduction": "Introduction",
|
|
103
|
+
"lesson": "Lesson",
|
|
104
|
+
"quiz":"Words to complete the sentence",
|
|
105
|
+
"place_holder":{
|
|
106
|
+
"for_lesson_title":"Title of this lesson",
|
|
107
|
+
"for_textarea": "Write here.",
|
|
108
|
+
"for_title_btn_progress":"Click to discover the content"
|
|
109
|
+
},
|
|
110
|
+
"of":"of",
|
|
111
|
+
"slide":"Slide",
|
|
112
|
+
"title_note": "Note(s)",
|
|
113
|
+
"title_credit": "Credit(s)",
|
|
114
|
+
"err_credit": "Le texte de la page ne comporte pas d’appel de note correspondant à cette note-ci. Un appel de note doit être ajouté.",
|
|
115
|
+
"title_link_bas": "Go back to the text",
|
|
116
|
+
"title_link_call": "Go to the footnote",
|
|
117
|
+
"toc":"Table of contents",
|
|
118
|
+
"title_content_view":"Lesson contents",
|
|
119
|
+
"transcript": "Transcript"
|
|
120
|
+
},
|
|
121
|
+
"user_settings": {
|
|
122
|
+
"autoplay": "Automatic playback of multimedia content",
|
|
123
|
+
"close": "Close this window",
|
|
124
|
+
"onboarding": "Turn on the guided tour",
|
|
125
|
+
"subtitles": "Always show subtitles when playing multimedia content",
|
|
126
|
+
"title": "Settings"
|
|
127
|
+
},
|
|
128
|
+
"quizState":{
|
|
129
|
+
"goodAnswer":"Good answer",
|
|
130
|
+
"badAnswer":"Wrong answer",
|
|
131
|
+
"neutralAnswer":"Neutral answer",
|
|
132
|
+
"answers" : "Answer choices"
|
|
133
|
+
},
|
|
134
|
+
"a11y_sr": {
|
|
135
|
+
"time": {
|
|
136
|
+
"hours": "hour | hours",
|
|
137
|
+
"minute": "minute | minutes",
|
|
138
|
+
"second": "second |seconds"
|
|
139
|
+
},
|
|
140
|
+
"seek_slider": "Seek slider",
|
|
141
|
+
"range_expression": "at %x of %y."
|
|
142
|
+
}
|
|
143
|
+
}
|