codevdesign 0.0.30 → 0.0.32
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/composants/csqcAide.vue +55 -40
- package/composants/gabarit/pivPiedPage.vue +70 -59
- package/package.json +1 -1
package/composants/csqcAide.vue
CHANGED
|
@@ -1,40 +1,55 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-menu
|
|
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
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<v-menu
|
|
3
|
+
:open-on-hover="hover"
|
|
4
|
+
v-if="!isXs"
|
|
5
|
+
location="top start"
|
|
6
|
+
>
|
|
7
|
+
<template #activator="{ props: activatorProps }">
|
|
8
|
+
<slot name="icone">
|
|
9
|
+
<v-icon
|
|
10
|
+
v-bind="activatorProps"
|
|
11
|
+
@click.stop.prevent
|
|
12
|
+
:style="styleCSS"
|
|
13
|
+
:size="grosseurEffective"
|
|
14
|
+
color="grisMoyen"
|
|
15
|
+
icon="mdi-help-circle"
|
|
16
|
+
/>
|
|
17
|
+
</slot>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<slot name="carte">
|
|
21
|
+
<v-expand-transition>
|
|
22
|
+
<v-card style="max-width: 1000px">
|
|
23
|
+
<v-card-text class="pa-6">
|
|
24
|
+
<span v-html="props.aide"></span>
|
|
25
|
+
</v-card-text> </v-card
|
|
26
|
+
></v-expand-transition>
|
|
27
|
+
</slot>
|
|
28
|
+
</v-menu>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script setup lang="ts">
|
|
32
|
+
import { computed } from 'vue'
|
|
33
|
+
import { useDisplay } from 'vuetify'
|
|
34
|
+
|
|
35
|
+
const props = withDefaults(
|
|
36
|
+
defineProps<{
|
|
37
|
+
aide: string
|
|
38
|
+
grosseur?: 'default' | 'small' | 'large' | 'x-large' | 'x-small'
|
|
39
|
+
hover?: boolean
|
|
40
|
+
styleCSS?: string
|
|
41
|
+
}>(),
|
|
42
|
+
{
|
|
43
|
+
grosseur: 'default',
|
|
44
|
+
hover: false,
|
|
45
|
+
styleCSS: '',
|
|
46
|
+
},
|
|
47
|
+
)
|
|
48
|
+
const grosseurEffective = computed(() => {
|
|
49
|
+
const val = props.grosseur
|
|
50
|
+
return val && val.trim() !== '' ? val : 'default'
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
const { name } = useDisplay()
|
|
54
|
+
const isXs = computed(() => name.value === 'xs')
|
|
55
|
+
</script>
|
|
@@ -1,59 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
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
|
-
footer
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<footer>
|
|
3
|
+
<div class="footer-content">
|
|
4
|
+
<a href="https://quebec.ca">
|
|
5
|
+
<img
|
|
6
|
+
id="logoFooter"
|
|
7
|
+
alt="Gouvernement du Québec."
|
|
8
|
+
src="/images/QUEBEC_couleur.svg"
|
|
9
|
+
width="117"
|
|
10
|
+
height="35"
|
|
11
|
+
/>
|
|
12
|
+
</a>
|
|
13
|
+
<div>
|
|
14
|
+
<small>
|
|
15
|
+
<a
|
|
16
|
+
href="http://www.droitauteur.gouv.qc.ca/copyright.php"
|
|
17
|
+
target="_blank"
|
|
18
|
+
>© Gouvernement du Québec {{ anneeEnCours }}
|
|
19
|
+
</a>
|
|
20
|
+
|
|
21
|
+
<a
|
|
22
|
+
v-if="props.version"
|
|
23
|
+
:href="props.lien"
|
|
24
|
+
target="_blank"
|
|
25
|
+
><br />
|
|
26
|
+
version <span v-html="props.version"
|
|
27
|
+
/></a>
|
|
28
|
+
</small>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</footer>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script setup lang="ts">
|
|
35
|
+
import { computed } from 'vue'
|
|
36
|
+
|
|
37
|
+
const props = defineProps<{
|
|
38
|
+
version?: string
|
|
39
|
+
lien?: string
|
|
40
|
+
}>()
|
|
41
|
+
|
|
42
|
+
const anneeEnCours = computed<number>(() => {
|
|
43
|
+
return new Date().getFullYear()
|
|
44
|
+
})
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<style scoped>
|
|
48
|
+
footer {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center; /* Centrer horizontalement */
|
|
51
|
+
align-items: center; /* Centrer verticalement */
|
|
52
|
+
text-align: center; /* Centrer le texte à l'intérieur des éléments */
|
|
53
|
+
height: 100px; /* Ajuster la hauteur du footer */
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.footer-content {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column; /* Disposer les éléments les uns sous les autres */
|
|
59
|
+
justify-content: center; /* Centrer verticalement à l'intérieur de .footer-content */
|
|
60
|
+
align-items: center; /* Centrer horizontalement à l'intérieur de .footer-content */
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
footer a {
|
|
64
|
+
text-decoration: none; /* Supprimer le soulignement des liens */
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
footer small {
|
|
68
|
+
margin-top: 10px; /* Ajouter de l'espace entre l'image et le texte */
|
|
69
|
+
}
|
|
70
|
+
</style>
|