@tekkare/romulus 0.1.357 → 0.1.359
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/dist/module.json
CHANGED
|
@@ -20,6 +20,12 @@ export interface RmModalProps {
|
|
|
20
20
|
labelledBy?: string
|
|
21
21
|
/** Libelle du bouton de fermeture, pour les lecteurs d'ecran. */
|
|
22
22
|
closeLabel?: string
|
|
23
|
+
/**
|
|
24
|
+
* Plan de superposition, quand la modale s'ouvre au-dessus d'un calque plus
|
|
25
|
+
* haut que le sien (un tiroir pose par-dessus le rail). Absent : la feuille
|
|
26
|
+
* decide (100).
|
|
27
|
+
*/
|
|
28
|
+
zIndex?: number | string
|
|
23
29
|
}
|
|
24
30
|
|
|
25
31
|
const props = withDefaults(defineProps<RmModalProps>(), {
|
|
@@ -28,6 +34,7 @@ const props = withDefaults(defineProps<RmModalProps>(), {
|
|
|
28
34
|
label: undefined,
|
|
29
35
|
labelledBy: undefined,
|
|
30
36
|
closeLabel: 'Fermer',
|
|
37
|
+
zIndex: undefined,
|
|
31
38
|
})
|
|
32
39
|
|
|
33
40
|
const emit = defineEmits<{
|
|
@@ -75,6 +82,7 @@ const modalStyle = computed(() => {
|
|
|
75
82
|
<div
|
|
76
83
|
v-if="modelValue"
|
|
77
84
|
class="rm-modal-overlay"
|
|
85
|
+
:style="zIndex === undefined ? undefined : { zIndex }"
|
|
78
86
|
@click.self="onOverlayClick"
|
|
79
87
|
>
|
|
80
88
|
<div
|
|
@@ -15,9 +15,13 @@
|
|
|
15
15
|
fr_drugs_app et de France Augmented Science).
|
|
16
16
|
-->
|
|
17
17
|
<template>
|
|
18
|
+
<!-- Colle au bord droit, par-dessus le rail (402) et son panneau : ouverte
|
|
19
|
+
depuis le panneau Projets, la creation se calait a gauche du bloc. -->
|
|
18
20
|
<RmDrawer
|
|
19
21
|
:model-value="modelValue"
|
|
20
22
|
size="xl"
|
|
23
|
+
offset="0px"
|
|
24
|
+
:z-index="410"
|
|
21
25
|
:label="tr('Création guidée', 'Guided creation')"
|
|
22
26
|
@update:model-value="requestClose"
|
|
23
27
|
>
|
|
@@ -413,7 +417,7 @@
|
|
|
413
417
|
</template>
|
|
414
418
|
</RmDrawer>
|
|
415
419
|
|
|
416
|
-
<ProjectDiscardConfirm v-model="confirmingClose" @discard="close" />
|
|
420
|
+
<ProjectDiscardConfirm v-model="confirmingClose" :z-index="420" @discard="close" />
|
|
417
421
|
</template>
|
|
418
422
|
|
|
419
423
|
<script setup lang="ts">
|