fcad-core-dragon 2.3.0-test.2 → 2.3.0-test.4
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.md +14 -0
- package/package.json +1 -1
- package/src/$locales/en.json +1 -0
- package/src/$locales/fr.json +1 -0
- package/src/components/AppCompInputDropdownNx.vue +20 -1
- package/src/components/AppCompInputTextNx.vue +1 -0
- package/src/components/AppCompInputTextTableNx.vue +6 -1
- package/src/components/AppCompInputTextToFillNx.vue +0 -2
- package/src/components/AppCompQuizNext.vue +32 -4
- package/src/components/AppCompTableOfContent.vue +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.3.0-test.4](https://git.crosemont.qc.ca/fcad/core/fcad-core-2/compare/v2.3.0-test.3...v2.3.0-test.4) (2026-04-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **texttofill:** Remove debug code ([fff8de2](https://git.crosemont.qc.ca/fcad/core/fcad-core-2/commit/fff8de288cadde9469c7f6debb8f320e6751c96d))
|
|
7
|
+
|
|
8
|
+
# [2.3.0-test.3](https://git.crosemont.qc.ca/fcad/core/fcad-core-2/compare/v2.3.0-test.2...v2.3.0-test.3) (2026-04-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **quiz:** correction du formatage du message précédent ([6985f51](https://git.crosemont.qc.ca/fcad/core/fcad-core-2/commit/6985f51dee569ec7cfeaba18bf4ee19089f6b5e2))
|
|
14
|
+
|
|
1
15
|
# [2.3.0-test.2](https://git.crosemont.qc.ca/fcad/core/fcad-core-2/compare/v2.3.0-test.1...v2.3.0-test.2) (2026-04-10)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/$locales/en.json
CHANGED
package/src/$locales/fr.json
CHANGED
|
@@ -26,12 +26,30 @@
|
|
|
26
26
|
:model-value="inputsValue[singleDropdown.id]"
|
|
27
27
|
item-title="text"
|
|
28
28
|
:item-props="true"
|
|
29
|
+
:hide-details="true"
|
|
29
30
|
:items="getItemOptions(index)"
|
|
30
31
|
:open-text="`${$t('message.dropdown_list')}_${singleDropdown.ennonce}`"
|
|
31
32
|
:aria-describedby="`${id}_${singleDropdown.id}-msg-erreur`"
|
|
32
33
|
menu-icon="mdi-chevron-down"
|
|
33
34
|
@update:model-value="onSelectUpdate($event, index)"
|
|
34
|
-
|
|
35
|
+
>
|
|
36
|
+
|
|
37
|
+
<template #item="{ props, item }">
|
|
38
|
+
<v-list-item v-bind="props">
|
|
39
|
+
<template #title>
|
|
40
|
+
<span v-html="item.raw.text"></span>
|
|
41
|
+
</template>
|
|
42
|
+
</v-list-item>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<template #selection="{ item }">
|
|
46
|
+
<span v-html="item.raw.text"></span>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
</v-select>
|
|
51
|
+
|
|
52
|
+
|
|
35
53
|
|
|
36
54
|
<span
|
|
37
55
|
:id="`${id}_${singleDropdown.id}-msg-erreur`"
|
|
@@ -184,6 +202,7 @@ export default {
|
|
|
184
202
|
* @Return a collection of item representing the options for a the selectables
|
|
185
203
|
*/
|
|
186
204
|
getItemOptions(index) {
|
|
205
|
+
console.log(Object.values(this.mappedOptions[index])[0])
|
|
187
206
|
return Object.values(this.mappedOptions[index])[0]
|
|
188
207
|
},
|
|
189
208
|
/**
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
<template>
|
|
9
9
|
<div :id="id" class="input-box">
|
|
10
10
|
<fieldset :aria-label="fieldsetLabel">
|
|
11
|
-
<div
|
|
11
|
+
<div
|
|
12
|
+
v-for="(textInput, index) in inputData"
|
|
13
|
+
:key="textInput.id"
|
|
14
|
+
class="textfield-container"
|
|
15
|
+
>
|
|
12
16
|
<label
|
|
13
17
|
:id="`${id}_${textInput.id}-label`"
|
|
14
18
|
aria-hidden="true"
|
|
@@ -20,6 +24,7 @@
|
|
|
20
24
|
:id="`${id}_${textInput.id}-champ`"
|
|
21
25
|
:model-value="inputsValue[textInput.id]"
|
|
22
26
|
:placeholder="$t('text.place_holder.for_textarea')"
|
|
27
|
+
:hide-details="true"
|
|
23
28
|
:aria-describedby="`${id}_${textInput.id}-msg-erreur`"
|
|
24
29
|
:aria-labelledby="`${id}_${textInput.id}-label`"
|
|
25
30
|
no-resize
|
|
@@ -513,16 +513,44 @@ export default {
|
|
|
513
513
|
z-index: 0;
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
.math-ex-infinity{
|
|
517
|
-
|
|
518
|
-
div.box-btn{
|
|
516
|
+
.math-ex-infinity {
|
|
517
|
+
div.box-btn {
|
|
519
518
|
display: flex;
|
|
520
519
|
flex-wrap: wrap;
|
|
521
520
|
flex-direction: row;
|
|
522
521
|
|
|
523
|
-
:last-child{
|
|
522
|
+
:last-child {
|
|
524
523
|
margin-left: 10px;
|
|
525
524
|
}
|
|
526
525
|
}
|
|
527
526
|
}
|
|
527
|
+
.box-checkbox {
|
|
528
|
+
&:last-of-type {
|
|
529
|
+
.checkbox-label {
|
|
530
|
+
margin-bottom: 0px;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
.box-radio {
|
|
535
|
+
&:last-of-type {
|
|
536
|
+
.radio-label {
|
|
537
|
+
margin-bottom: 0px;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
.dropdown-container {
|
|
542
|
+
margin-bottom: 16px;
|
|
543
|
+
&:last-of-type {
|
|
544
|
+
margin-bottom: 0px;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
.textfield-container {
|
|
548
|
+
margin-bottom: 16px;
|
|
549
|
+
&:last-of-type {
|
|
550
|
+
margin-bottom: 0px;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
.btn-ctrl-quiz {
|
|
554
|
+
margin-top: 16px;
|
|
555
|
+
}
|
|
528
556
|
</style>
|
|
@@ -159,9 +159,15 @@ export default {
|
|
|
159
159
|
//Format title in the Progress info
|
|
160
160
|
switch (nb) {
|
|
161
161
|
case '0':
|
|
162
|
-
|
|
162
|
+
if(menuInfo[activity].prepDev == false || menuInfo[activity].prepDev == undefined )
|
|
163
|
+
this.title = menuInfo[activity].subTitle
|
|
163
164
|
? `Introduction : ${menuInfo[activity].subTitle}`
|
|
164
165
|
: `Introduction`
|
|
166
|
+
else
|
|
167
|
+
this.title = menuInfo[activity].subTitle
|
|
168
|
+
? `${this.$t('text.prep_devoir')} : ${menuInfo[activity].subTitle}`
|
|
169
|
+
: `${this.$t('text.prep_devoir')}`
|
|
170
|
+
|
|
165
171
|
break
|
|
166
172
|
|
|
167
173
|
case '99':
|