fcad-core-dragon 2.0.0-beta.7 → 2.0.0-beta.9
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/CHANGELOG
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
2.0.0-beta.9(03 mars 2025)
|
|
2
|
+
Correction de bogues (conflit toc/notes avec popup, ouverture simultanée de toc et notes)
|
|
3
|
+
|
|
4
|
+
2.0.0-beta.8(25 février 2025)
|
|
5
|
+
Nettoyage des dépendances
|
|
6
|
+
|
|
7
|
+
Nettoyage commentaires et console.log
|
|
8
|
+
|
|
9
|
+
2.0.0-beta.7(24 février 2025)
|
|
2
10
|
Règle un problème avec l’import dynamique des branches
|
|
3
11
|
|
|
4
12
|
2.0.0-beta.6(21 février 2025)
|
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.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/main.js",
|
|
@@ -41,13 +41,8 @@
|
|
|
41
41
|
"nodemon": "^3.1.0",
|
|
42
42
|
"prettier": "^3.2.5",
|
|
43
43
|
"prettier-eslint": "^16.3.0",
|
|
44
|
-
"sass": "^1.77.6",
|
|
45
|
-
"start-server-and-test": "^2.0.4",
|
|
46
|
-
"vite": "^5.4.10",
|
|
47
|
-
"vite-plugin-dynamic-import": "^1.5.0",
|
|
48
44
|
"vitest": "^2.1.5",
|
|
49
45
|
"vue": "^3.5.12",
|
|
50
|
-
"vue-i18n": "^9.13.1",
|
|
51
46
|
"vue-router": "^4.4.5"
|
|
52
47
|
},
|
|
53
48
|
"browserslist": [
|
|
@@ -665,7 +665,7 @@ export default {
|
|
|
665
665
|
else return this.$xapi.verbs.initialized
|
|
666
666
|
}
|
|
667
667
|
default: {
|
|
668
|
-
//ID
|
|
668
|
+
//ID of Lesson or doesn't exist relate (menu, conclusion, activite, intro )
|
|
669
669
|
if (
|
|
670
670
|
this.$xapi._getAgent(
|
|
671
671
|
this.getConnectionInfo.actor.mbox.replace(
|
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
class="app-nav"
|
|
24
24
|
:class="{ show: closeDelay }"
|
|
25
25
|
>
|
|
26
|
-
<!------------------------ Nav for drMode ------------------>
|
|
27
|
-
<!-- <app-comp-table-of-content /> -->
|
|
28
|
-
<!------------------------ Nav for FullMode ---------------->
|
|
29
|
-
|
|
30
26
|
<app-comp-navigation
|
|
31
27
|
:app-status="appReady ? true : null"
|
|
32
28
|
:auto-navigate="theNavigationBetweenActivity"
|
|
@@ -64,7 +60,6 @@
|
|
|
64
60
|
:aria-label="$t('label.side_panel')"
|
|
65
61
|
:class="{
|
|
66
62
|
'v-media': dynamicSidebarContent._context === 'ctxTranscript'
|
|
67
|
-
// 'right-sidebar-show': rightSidebarVisible
|
|
68
63
|
}"
|
|
69
64
|
>
|
|
70
65
|
<div id="right-sidebar-header">
|
|
@@ -618,12 +613,6 @@ export default {
|
|
|
618
613
|
|
|
619
614
|
if (code === 'Escape' && this.rightSidebarVisible)
|
|
620
615
|
return (this.rightSidebarVisible = false)
|
|
621
|
-
|
|
622
|
-
//==========================================
|
|
623
|
-
/*const videoRange = await this.getFocusables()
|
|
624
|
-
if (videoRange && videoRange.indexOf(document.activeElement) === -1)
|
|
625
|
-
return
|
|
626
|
-
this.$bus.$emit('play-media', code)*/
|
|
627
616
|
},
|
|
628
617
|
|
|
629
618
|
/**
|
|
@@ -753,11 +742,6 @@ export default {
|
|
|
753
742
|
//Change transcript content
|
|
754
743
|
if (this.transcriptContent !== c) this.transcriptContent = c
|
|
755
744
|
|
|
756
|
-
if (this.transcriptContainer && this.transcriptContainer !== container) {
|
|
757
|
-
/*console.log('transcriptContainer est différent de container')
|
|
758
|
-
console.log({ ancien: this.transcriptContainer, nouveau: container })
|
|
759
|
-
console.log('agrandir ancien container et réduire nouveau container')*/
|
|
760
|
-
}
|
|
761
745
|
this.transcriptContainer = container
|
|
762
746
|
this.transcriptVisible = true
|
|
763
747
|
},
|
|
@@ -1172,13 +1156,11 @@ export default {
|
|
|
1172
1156
|
let err = false
|
|
1173
1157
|
let errorList = [] //array for errors dectected
|
|
1174
1158
|
if (onboardingMessages && typeof onboardingMessages == 'object') {
|
|
1175
|
-
//continue
|
|
1176
1159
|
//check the list of attributes is message_X
|
|
1177
1160
|
let listMessage = Object.keys(onboardingMessages)
|
|
1178
1161
|
for (let index = 1; index <= listMessage.length; index++) {
|
|
1179
1162
|
const element = listMessage[index - 1]
|
|
1180
1163
|
if (element == 'message_' + index) {
|
|
1181
|
-
//continu
|
|
1182
1164
|
if (
|
|
1183
1165
|
onboardingMessages[element] &&
|
|
1184
1166
|
typeof onboardingMessages[element] == 'object'
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
</template>
|
|
209
209
|
|
|
210
210
|
<script>
|
|
211
|
-
import { mapActions } from 'pinia'
|
|
211
|
+
import { mapState, mapActions } from 'pinia'
|
|
212
212
|
import { useAppStore } from '../module/stores/appStore'
|
|
213
213
|
|
|
214
214
|
export default {
|
|
@@ -229,6 +229,7 @@ export default {
|
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
computed: {
|
|
232
|
+
...mapState(useAppStore, ['getNotes', 'getWidgetOpen']),
|
|
232
233
|
contentLength() {
|
|
233
234
|
let size = null
|
|
234
235
|
if (!this.pType || this.pType !== 'popup-info') return
|
|
@@ -399,6 +400,9 @@ export default {
|
|
|
399
400
|
if (this.pType == 'popup-endActivity')
|
|
400
401
|
this.updateEndPopUp(true) //This will handle the activation of the element in the portal
|
|
401
402
|
else this.updateEndPopUp(false) //This will handle the activation of the element in the portal
|
|
403
|
+
if (this.getWidgetOpen) {
|
|
404
|
+
this.$bus.$emit('close-widget')
|
|
405
|
+
}
|
|
402
406
|
this.$open()
|
|
403
407
|
}
|
|
404
408
|
},
|