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.
Files changed (103) hide show
  1. package/.editorconfig +33 -33
  2. package/.eslintignore +29 -29
  3. package/.eslintrc.cjs +81 -81
  4. package/CHANGELOG +364 -364
  5. package/README.md +71 -71
  6. package/bk.scss +117 -117
  7. package/package.json +61 -47
  8. package/src/$locales/en.json +143 -193
  9. package/src/$locales/fr.json +105 -194
  10. package/src/assets/data/onboardingMessages.json +47 -47
  11. package/src/components/AppBase.vue +1054 -1049
  12. package/src/components/AppBaseButton.vue +87 -91
  13. package/src/components/AppBaseErrorDisplay.vue +438 -428
  14. package/src/components/AppBaseFlipCard.vue +84 -83
  15. package/src/components/AppBaseModule.vue +1673 -1666
  16. package/src/components/AppBasePage.vue +779 -324
  17. package/src/components/AppBasePopover.vue +41 -0
  18. package/src/components/AppCompAudio.vue +234 -266
  19. package/src/components/AppCompBranchButtons.vue +552 -571
  20. package/src/components/AppCompButtonProgress.vue +126 -132
  21. package/src/components/AppCompCarousel.vue +298 -196
  22. package/src/components/{AppCompInputCheckBox.vue → AppCompInputCheckBoxNext.vue} +195 -233
  23. package/src/components/AppCompInputDropdownNext.vue +159 -0
  24. package/src/components/{AppCompInputRadio.vue → AppCompInputRadioNext.vue} +152 -162
  25. package/src/components/{AppCompInputTextBox.vue → AppCompInputTextNext.vue} +106 -91
  26. package/src/components/AppCompInputTextTableNext.vue +141 -0
  27. package/src/components/AppCompInputTextToFillDropdownNext.vue +230 -0
  28. package/src/components/{AppCompInputTextToFillText.vue → AppCompInputTextToFillNext.vue} +171 -164
  29. package/src/components/AppCompJauge.vue +74 -67
  30. package/src/components/AppCompMenu.vue +413 -402
  31. package/src/components/AppCompMenuItem.vue +228 -191
  32. package/src/components/AppCompNavigation.vue +960 -945
  33. package/src/components/AppCompNoteCall.vue +133 -141
  34. package/src/components/AppCompNoteCredit.vue +292 -267
  35. package/src/components/AppCompPlayBar.vue +1218 -1271
  36. package/src/components/AppCompPlayBarNext.vue +2052 -0
  37. package/src/components/AppCompPlayBarProgress.vue +82 -73
  38. package/src/components/AppCompPopUpNext.vue +503 -0
  39. package/src/components/{AppCompQuiz.vue → AppCompQuizNext.vue} +2904 -2975
  40. package/src/components/AppCompQuizRecall.vue +276 -277
  41. package/src/components/{AppCompSVG.vue → AppCompSVGNext.vue} +347 -335
  42. package/src/components/AppCompSettingsMenu.vue +172 -169
  43. package/src/components/AppCompTableOfContent.vue +387 -385
  44. package/src/components/AppCompTranscript.vue +24 -19
  45. package/src/components/AppCompVideoPlayer.vue +368 -380
  46. package/src/components/AppCompViewDisplay.vue +6 -6
  47. package/src/components/BaseModule.vue +72 -71
  48. package/src/composables/useQuiz.js +206 -0
  49. package/src/externalComps/ModuleView.vue +22 -0
  50. package/src/externalComps/SummaryView.vue +91 -0
  51. package/src/main.js +272 -263
  52. package/src/mixins/$mediaMixins.js +819 -827
  53. package/src/mixins/timerMixin.js +155 -155
  54. package/src/module/stores/appStore.js +893 -0
  55. package/src/module/xapi/ADL.js +376 -376
  56. package/src/module/xapi/Crypto/Hasher.js +241 -241
  57. package/src/module/xapi/Crypto/WordArray.js +278 -278
  58. package/src/module/xapi/Crypto/algorithms/BufferedBlockAlgorithm.js +103 -103
  59. package/src/module/xapi/Crypto/algorithms/C_algo.js +315 -315
  60. package/src/module/xapi/Crypto/algorithms/HMAC.js +9 -9
  61. package/src/module/xapi/Crypto/algorithms/SHA1.js +9 -9
  62. package/src/module/xapi/Crypto/encoders/Base.js +105 -105
  63. package/src/module/xapi/Crypto/encoders/Base64.js +99 -99
  64. package/src/module/xapi/Crypto/encoders/Hex.js +61 -61
  65. package/src/module/xapi/Crypto/encoders/Latin1.js +61 -61
  66. package/src/module/xapi/Crypto/encoders/Utf8.js +45 -45
  67. package/src/module/xapi/Crypto/index.js +53 -53
  68. package/src/module/xapi/Statement/activity.js +47 -47
  69. package/src/module/xapi/Statement/agent.js +55 -55
  70. package/src/module/xapi/Statement/group.js +26 -26
  71. package/src/module/xapi/Statement/index.js +259 -259
  72. package/src/module/xapi/Statement/statement.js +253 -253
  73. package/src/module/xapi/Statement/statementRef.js +23 -23
  74. package/src/module/xapi/Statement/substatement.js +22 -22
  75. package/src/module/xapi/Statement/verb.js +36 -36
  76. package/src/module/xapi/activitytypes.js +17 -17
  77. package/src/module/xapi/launch.js +157 -157
  78. package/src/module/xapi/utils.js +167 -167
  79. package/src/module/xapi/verbs.js +294 -294
  80. package/src/module/xapi/wrapper.js +1963 -1963
  81. package/src/module/xapi/xapiStatement.js +444 -444
  82. package/src/plugins/bus.js +8 -3
  83. package/src/plugins/gsap.js +14 -17
  84. package/src/plugins/helper.js +308 -294
  85. package/src/plugins/i18n.js +44 -44
  86. package/src/plugins/idb.js +219 -212
  87. package/src/plugins/save.js +37 -37
  88. package/src/plugins/scorm.js +287 -287
  89. package/src/plugins/xapi.js +11 -11
  90. package/src/public/index.html +33 -21
  91. package/src/router/index.js +43 -40
  92. package/src/router/routes.js +312 -317
  93. package/src/shared/generalfuncs.js +210 -195
  94. package/src/shared/validators.js +1069 -959
  95. package/vite.config.js +27 -0
  96. package/src/components/AppCompInputDropdown.vue +0 -182
  97. package/src/components/AppCompInputTextTable.vue +0 -158
  98. package/src/components/AppCompInputTextToFillDropdown.vue +0 -257
  99. package/src/components/AppCompPopUp.vue +0 -583
  100. package/src/components/AppCompPopover.vue +0 -27
  101. package/src/mixins/$pageMixins.js +0 -415
  102. package/src/mixins/$quizMixins.js +0 -442
  103. package/src/module/store.js +0 -1014
@@ -1,193 +1,143 @@
1
- {
2
- "button": {
3
- "accessibility":"Subtitles and text alternative",
4
- "alert_close":"Close this window",
5
- "back_to_branching":"Go back to the main page",
6
- "back_to_menu": "Back to the menu",
7
- "btn_branch":"Explore this topic further",
8
- "cancel_pop": "Cancel",
9
- "carousel_next": "Next",
10
- "carousel_prev": "Previous",
11
- "confirm_pop": "Confirm",
12
- "copyright": "Copyright",
13
- "download_transcript": "Download text alternative",
14
- "full_screen_on": "Full-screen",
15
- "full_screen_off": "Exit full-screen",
16
- "go_to_conclusion": "Go to the lesson conclusion",
17
- "go_to_next_page": "Go to the next page",
18
- "go_to_previous_page": "Go to the previous page",
19
- "go_to_first_page": "Go to the first page",
20
- "go_to_introduction": "Go to the lesson introduction",
21
- "go_to_branch":"Go to the next topic",
22
- "go_to_module_conclusion":"Go to the module conclusion",
23
- "go_to_lesson" : "Go to the next lesson",
24
- "go_to_menu": "Go to the lesson contents page",
25
- "go_to_first_page": "Go to the first page",
26
- "hide_nav_bar": "Hide navigation bar",
27
- "info": "Info",
28
- "instructions": "technical instruction",
29
- "menu": "Start",
30
- "menu_anchor": "Menu anchors",
31
- "menu_item": {
32
- "end": "Pick up where I left off",
33
- "middle": "Pick up where I left off",
34
- "start": "Start the lesson"
35
- },
36
- "mute": "Mute",
37
- "next": "Next",
38
- "next_activity": "Go to the next activity",
39
- "note_call":"Revenir plus haut",
40
- "note_call_in_page":"Atteindre la note de bas de page",
41
- "pause": "Pause",
42
- "play": "Play",
43
- "previous": "Go to the previous page",
44
- "previous_activity": "Previous",
45
- "quiz_close_no_answer": "Stay and complete the exercise",
46
- "quiz_confirm": "Confirm",
47
- "quiz_multiple": "my answers",
48
- "quiz_save": "Save",
49
- "quiz_single": "my answer",
50
- "quiz_verify": "Check",
51
- "replay": "Replay",
52
- "reset": "Reset",
53
- "return_to_branch":"return to main content",
54
- "save": "Save",
55
- "setting": "Settings",
56
- "skip_nav_content": "skip to main containt",
57
- "subtitle_off": "Hide subtitles",
58
- "subtitle_on": "Display subtitles",
59
- "submit": "Check my answer",
60
- "stay_on_page":"Stay on this page",
61
- "switch_off": "off",
62
- "switch_on": "on",
63
- "toc":"Progression",
64
- "transcript_off": "Hide transcript",
65
- "transcript_on": "Show transcript",
66
- "unmute": "Unmute",
67
- "volume":"Volume",
68
- "closePopUp": "Close"
69
- },
70
- "instruction": {
71
- "branch": "Click on the item to find additional information.",
72
- "bif": "Select the path you wish to discover.",
73
- "choix_mult": "Select one or more options, then check your answer.",
74
- "choix_mult_no_validation": "Select one or more options, then confirm your answer.",
75
- "choix_unique": "Select your answer, then check it.",
76
- "choix_unique_no_validation": "Select an option, then confirm your answer.",
77
- "click_show": "Click on the item to find additional information.",
78
- "dropdown": "Match the correct answers to the corresponding statements, then check your answers.",
79
- "dropdown_no_validation": "Match an answer to each statement, then confirm your answers.",
80
- "pop_over": "Hover over the item to display the information.",
81
- "reponse_ouverte": "Write your answer and save it.",
82
- "reponse_ouverte_no_validation": "Write your answer and save it.",
83
- "texte_tableau": {
84
- "multi":"Write your answers, then check them.",
85
- "single":"Write your answer, then check it."
86
- },
87
- "texte_tableau_no_validation": {
88
- "multi":"Write your answers, then save them.",
89
- "single":"Write your answer and save it."
90
- },
91
- "texte_troue": {
92
- "multi":"Write your answers, then check them.",
93
- "single":"Write your answer, then check it."
94
- },
95
- "texte_troue_no_validation": {
96
- "multi":"Write your answers, then save them.",
97
- "single":"Write your answer and save it."
98
- },
99
- "texte_troue_select": {
100
- "multi":"Select some options, then check your answers.",
101
- "single":"Select an option, then check your answer."
102
- },
103
- "texte_troue_select_no_validation": {
104
- "multi":"Select some options, then save them.",
105
- "single":"Select an option, and save it."
106
- }
107
- },
108
- "label": {
109
- "for_pagination": "page",
110
- "for_volume_level": "volume",
111
- "section":"Go to the section named",
112
- "timer":"estimated time"
113
- },
114
- "message": {
115
- "bad_orientation_msg": "Please, turn your device for a better experience.",
116
- "bad_orientation_title": "Warning",
117
- "err_download_file": "The file download has failed.",
118
- "err_download_transcript":"There was a problem to download the transcript file",
119
- "first_option_dropdown": "Choose an option",
120
- "no_answer": "You did not answer.",
121
- "no_attempts": "You have no more attempts.",
122
- "loading_state_msg":"Loading. Please wait...",
123
- "progress_card":"État d’avancement:",
124
- "recall_done":"You have answered the question :",
125
- "recall_undone":"You have not answered the question.",
126
- "skip_content":"Skip to the main content."
127
- },
128
- "popup": {
129
- "text_congratulation": "Congratulation",
130
- "text_noanswer_back_root": "You didn’t enter an answer. Do you really want to go back to the main page?",
131
- "text_noanswer_next_activity": "You didn’t enter an answer. Do you really want to go to the next activity?",
132
- "text_noanswer_go_to_branch": "You didn’t enter an answer. Do you really want to go to the next topic?",
133
- "text_noanswer_next_page": "You didn’t enter an answer. Do you really want to go to the next page?",
134
- "text_what_to_do": "What do you wish to do?",
135
- "title_warning": "Oops!"
136
- },
137
- "text": {
138
- "activity": "Activity",
139
- "activity_title":"My activitys",
140
- "activity_progress":"Progress status:",
141
- "anchors":"Section",
142
- "carousel":"Carousel",
143
- "conclusion": "Conclusion",
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
+ }