shared-ritm 1.1.97 → 1.1.99
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/index.css +1 -1
- package/dist/shared-ritm.es.js +347 -344
- package/dist/shared-ritm.umd.js +2 -2
- package/package.json +1 -1
- package/src/common/app-sheet/AppSheet.vue +44 -34
package/package.json
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
<div class="
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
<
|
|
2
|
+
<teleport to="body">
|
|
3
|
+
<q-dialog
|
|
4
|
+
ref="DialogRef"
|
|
5
|
+
no-refocus
|
|
6
|
+
no-focus
|
|
7
|
+
:model-value="true"
|
|
8
|
+
:position="'right'"
|
|
9
|
+
:class="$style['sheet-dialog']"
|
|
10
|
+
:auto-focus="false"
|
|
11
|
+
:focus-trap="false"
|
|
12
|
+
no-shake
|
|
13
|
+
no-esc-dismiss
|
|
14
|
+
full-height
|
|
15
|
+
full-width
|
|
16
|
+
>
|
|
17
|
+
<template v-if="type === 'details'">
|
|
18
|
+
<q-card>
|
|
19
|
+
<div class="wrapper">
|
|
20
|
+
<div class="sheet-header">
|
|
21
|
+
<h2>{{ title }}</h2>
|
|
22
|
+
<div class="close-button">
|
|
23
|
+
<q-btn v-close-popup dense flat icon="close" />
|
|
24
|
+
</div>
|
|
23
25
|
</div>
|
|
26
|
+
<div v-if="loading" class="loader">
|
|
27
|
+
<q-spinner-audio v-if="loading" class="loader-spinner" size="md" :thickness="3" color="primary" />
|
|
28
|
+
</div>
|
|
29
|
+
<slot v-else />
|
|
24
30
|
</div>
|
|
25
|
-
|
|
31
|
+
</q-card>
|
|
32
|
+
</template>
|
|
33
|
+
<template v-if="type === 'custom'">
|
|
34
|
+
<div v-if="loading" class="custom-wrapper">
|
|
35
|
+
<div class="loader">
|
|
26
36
|
<q-spinner-audio v-if="loading" class="loader-spinner" size="md" :thickness="3" color="primary" />
|
|
27
37
|
</div>
|
|
28
|
-
<slot v-else />
|
|
29
|
-
</div>
|
|
30
|
-
</q-card>
|
|
31
|
-
</template>
|
|
32
|
-
<template v-if="type === 'custom'">
|
|
33
|
-
<div v-if="loading" class="custom-wrapper">
|
|
34
|
-
<div class="loader">
|
|
35
|
-
<q-spinner-audio v-if="loading" class="loader-spinner" size="md" :thickness="3" color="primary" />
|
|
36
38
|
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</
|
|
40
|
-
</
|
|
39
|
+
<slot v-else />
|
|
40
|
+
</template>
|
|
41
|
+
</q-dialog>
|
|
42
|
+
</teleport>
|
|
41
43
|
</template>
|
|
42
44
|
|
|
43
45
|
<script setup lang="ts">
|
|
@@ -128,5 +130,13 @@ const DialogRef = computed({
|
|
|
128
130
|
:global(.q-dialog__inner--minimized) {
|
|
129
131
|
padding: 0;
|
|
130
132
|
}
|
|
133
|
+
:deep(.q-focus-helper) {
|
|
134
|
+
display: none !important;
|
|
135
|
+
pointer-events: none !important;
|
|
136
|
+
}
|
|
137
|
+
:global(.q-focus-helper) {
|
|
138
|
+
display: none !important;
|
|
139
|
+
pointer-events: none !important;
|
|
140
|
+
}
|
|
131
141
|
}
|
|
132
142
|
</style>
|