@tekkare/romulus 0.1.365 → 0.1.367
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 +1 -1
- package/dist/runtime/components/Drawer.vue +3 -1
- package/dist/runtime/components/Popover.vue +8 -1
- package/dist/runtime/components/ProjectCreateDialog.vue +9 -2
- package/layer/app/components/panels/OipPanelProjects.vue +2 -0
- package/layer/app/components/project/NewButton.vue +3 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -99,6 +99,8 @@ watch(() => props.modelValue, (open) => { if (open) fitRail() }, { immediate: tr
|
|
|
99
99
|
|
|
100
100
|
const sideOffset = computed(() => props.offset ?? railFit.value?.offset ?? '0px')
|
|
101
101
|
const edgeInset = computed(() => props.inset ?? railFit.value?.inset)
|
|
102
|
+
/** Le voile s'arrete au rail : le tiroir pose a cote, le rail reste net et cliquable. */
|
|
103
|
+
const overlayStyle = computed(() => [layer.value, railFit.value ? { right: railFit.value.offset } : {}])
|
|
102
104
|
</script>
|
|
103
105
|
|
|
104
106
|
<template>
|
|
@@ -107,7 +109,7 @@ const edgeInset = computed(() => props.inset ?? railFit.value?.inset)
|
|
|
107
109
|
<div
|
|
108
110
|
v-if="modelValue && overlay"
|
|
109
111
|
class="rm-drawer-overlay"
|
|
110
|
-
:style="
|
|
112
|
+
:style="overlayStyle"
|
|
111
113
|
@click="close"
|
|
112
114
|
/>
|
|
113
115
|
</Transition>
|
|
@@ -36,8 +36,14 @@ const props = withDefaults(
|
|
|
36
36
|
* son bord gauche.
|
|
37
37
|
*/
|
|
38
38
|
align?: 'start' | 'end'
|
|
39
|
+
/**
|
|
40
|
+
* Plan de superposition, quand l'ancre vit dans un calque plus haut que
|
|
41
|
+
* celui du panneau (un bouton du panneau du rail, a 401) : sans lui, le
|
|
42
|
+
* panneau s'ouvre derriere. Absent : la feuille decide (`--z-drawer`).
|
|
43
|
+
*/
|
|
44
|
+
zIndex?: number | string
|
|
39
45
|
}>(),
|
|
40
|
-
{ anchor: null, width: '', label: undefined, align: 'end' },
|
|
46
|
+
{ anchor: null, width: '', label: undefined, align: 'end', zIndex: undefined },
|
|
41
47
|
)
|
|
42
48
|
|
|
43
49
|
const emit = defineEmits<{ 'update:modelValue': [value: boolean] }>()
|
|
@@ -51,6 +57,7 @@ const EDGE = 8
|
|
|
51
57
|
const panelStyle = computed(() => ({
|
|
52
58
|
...style.value,
|
|
53
59
|
...(props.width ? { width: props.width } : {}),
|
|
60
|
+
...(props.zIndex === undefined ? {} : { zIndex: String(props.zIndex) }),
|
|
54
61
|
}))
|
|
55
62
|
|
|
56
63
|
function place() {
|
|
@@ -16,8 +16,14 @@ const props = withDefaults(
|
|
|
16
16
|
/** Refus de l'API, affiche sous le formulaire. */
|
|
17
17
|
error?: string
|
|
18
18
|
lang?: 'fr' | 'en'
|
|
19
|
+
/**
|
|
20
|
+
* Plan de superposition, quand la fenetre s'ouvre depuis un calque plus
|
|
21
|
+
* haut que le sien (le panneau du rail et son voile, a 400). Sa
|
|
22
|
+
* confirmation de sortie passe juste au-dessus. Absent : celui de RmModal.
|
|
23
|
+
*/
|
|
24
|
+
zIndex?: number
|
|
19
25
|
}>(),
|
|
20
|
-
{ loading: false, error: '', lang: 'fr' },
|
|
26
|
+
{ loading: false, error: '', lang: 'fr', zIndex: undefined },
|
|
21
27
|
)
|
|
22
28
|
|
|
23
29
|
const emit = defineEmits<{
|
|
@@ -81,6 +87,7 @@ function submit() {
|
|
|
81
87
|
:model-value="modelValue"
|
|
82
88
|
size="sm"
|
|
83
89
|
mode="free"
|
|
90
|
+
:z-index="zIndex"
|
|
84
91
|
:label="T.heading"
|
|
85
92
|
@update:model-value="$event ? emit('update:modelValue', true) : requestClose()"
|
|
86
93
|
>
|
|
@@ -100,7 +107,7 @@ function submit() {
|
|
|
100
107
|
</template>
|
|
101
108
|
</RmModal>
|
|
102
109
|
|
|
103
|
-
<RmModal v-model="confirming" size="sm" mode="free" :label="T.leave">
|
|
110
|
+
<RmModal v-model="confirming" size="sm" mode="free" :z-index="zIndex === undefined ? undefined : zIndex + 1" :label="T.leave">
|
|
104
111
|
<template #header>
|
|
105
112
|
<p class="rm-project-dialog__title">{{ T.leave }}</p>
|
|
106
113
|
</template>
|
|
@@ -43,9 +43,11 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
</RmProjectPanel>
|
|
45
45
|
|
|
46
|
+
<!-- Au-dessus du voile et du panneau du rail (400 a 402). -->
|
|
46
47
|
<RmProjectCreateDialog
|
|
47
48
|
v-if="own"
|
|
48
49
|
v-model="dialogOpen"
|
|
50
|
+
:z-index="405"
|
|
49
51
|
:loading="dialogSaving"
|
|
50
52
|
:error="dialogError"
|
|
51
53
|
:lang="locale === 'en' ? 'en' : 'fr'"
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
formulaire.
|
|
8
8
|
|
|
9
9
|
Un panneau accroche au bouton plutot qu'une modale : le choix se fait dans
|
|
10
|
-
la foulee du clic.
|
|
10
|
+
la foulee du clic. Il passe au-dessus du rail (402) : ouvert depuis le
|
|
11
|
+
panneau Projets, il restait cache derriere. Le meme bouton sert le panneau Projets du rail et la
|
|
11
12
|
page « Mes projets », pour que les deux proposent les memes choix.
|
|
12
13
|
-->
|
|
13
14
|
<template>
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
:label="en ? 'New project' : 'Nouveau projet'"
|
|
31
32
|
:align="align"
|
|
32
33
|
width="280px"
|
|
34
|
+
:z-index="405"
|
|
33
35
|
>
|
|
34
36
|
<div class="prj_pnb_choices">
|
|
35
37
|
<button type="button" class="prj_pnb_choice" @click="startFree">
|