shared-ritm 1.1.96 → 1.1.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -1,41 +1,45 @@
1
1
  <template>
2
- <q-dialog
3
- ref="DialogRef"
4
- :model-value="true"
5
- :position="'right'"
6
- :class="$style['sheet-dialog']"
7
- :auto-focus="false"
8
- :focus-trap="false"
9
- no-shake
10
- no-esc-dismiss
11
- full-height
12
- full-width
13
- >
14
- <template v-if="type === 'details'">
15
- <q-card>
16
- <div class="wrapper">
17
- <div class="sheet-header">
18
- <h2>{{ title }}</h2>
19
- <div class="close-button">
20
- <q-btn v-close-popup dense flat icon="close" />
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>
21
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 />
22
30
  </div>
23
- <div v-if="loading" class="loader">
31
+ </q-card>
32
+ </template>
33
+ <template v-if="type === 'custom'">
34
+ <div v-if="loading" class="custom-wrapper">
35
+ <div class="loader">
24
36
  <q-spinner-audio v-if="loading" class="loader-spinner" size="md" :thickness="3" color="primary" />
25
37
  </div>
26
- <slot v-else />
27
- </div>
28
- </q-card>
29
- </template>
30
- <template v-if="type === 'custom'">
31
- <div v-if="loading" class="custom-wrapper">
32
- <div class="loader">
33
- <q-spinner-audio v-if="loading" class="loader-spinner" size="md" :thickness="3" color="primary" />
34
38
  </div>
35
- </div>
36
- <slot v-else />
37
- </template>
38
- </q-dialog>
39
+ <slot v-else />
40
+ </template>
41
+ </q-dialog>
42
+ </teleport>
39
43
  </template>
40
44
 
41
45
  <script setup lang="ts">