shared-ritm 1.0.41 → 1.0.43
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 +733 -739
- package/dist/shared-ritm.umd.js +7 -7
- package/package.json +1 -1
- package/src/common/app-layout/AppLayout.vue +20 -19
- package/src/common/app-loader/index.vue +6 -4
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<q-layout :class="$style.layout" view="lHh LpR fFf">
|
|
3
|
-
<div v-if="logged" :class="$style['loader-backdrop']"
|
|
4
|
-
<q-spinner size="md" color="white" :class="$style['loader-spinner']"
|
|
5
|
-
</div
|
|
3
|
+
<!-- <div v-if="logged" :class="$style['loader-backdrop']">-->
|
|
4
|
+
<!-- <q-spinner size="md" color="white" :class="$style['loader-spinner']" />-->
|
|
5
|
+
<!-- </div>-->
|
|
6
|
+
<app-loader :loading="logged" size="md" :thickness="3" :backdrop="true" />
|
|
6
7
|
<slot name="drawer"></slot>
|
|
7
8
|
<slot name="header"></slot>
|
|
8
9
|
<q-page-container :class="{ container: container }" @wheel="mouseMove">
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
|
|
20
21
|
<script lang="ts" setup>
|
|
21
22
|
import { defineProps } from 'vue'
|
|
22
|
-
|
|
23
|
+
import AppLoader from '@/common/app-loader/index.vue'
|
|
23
24
|
interface LayoutProps {
|
|
24
25
|
logged: boolean
|
|
25
26
|
console?: boolean
|
|
@@ -43,19 +44,19 @@ function mouseMove(e: any) {
|
|
|
43
44
|
position: relative;
|
|
44
45
|
background: linear-gradient(235deg, #87caff 9.16%, #5386d3 45.8%, #0b3f8e 92.27%);
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
-
&-backdrop {
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
background-color: rgba(255, 255, 255, 0.45);
|
|
51
|
-
position: absolute;
|
|
52
|
-
z-index: 9999;
|
|
53
|
-
}
|
|
54
|
-
&-spinner {
|
|
55
|
-
position: absolute;
|
|
56
|
-
top: 50%;
|
|
57
|
-
left: 50%;
|
|
58
|
-
z-index: 2;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
47
|
+
//.loader {
|
|
48
|
+
// &-backdrop {
|
|
49
|
+
// width: 100%;
|
|
50
|
+
// height: 100%;
|
|
51
|
+
// background-color: rgba(255, 255, 255, 0.45);
|
|
52
|
+
// position: absolute;
|
|
53
|
+
// z-index: 9999;
|
|
54
|
+
// }
|
|
55
|
+
// &-spinner {
|
|
56
|
+
// position: absolute;
|
|
57
|
+
// top: 50%;
|
|
58
|
+
// left: 50%;
|
|
59
|
+
// z-index: 2;
|
|
60
|
+
// }
|
|
61
|
+
//}
|
|
61
62
|
</style>
|
|
@@ -24,8 +24,10 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
24
24
|
<style scoped lang="scss">
|
|
25
25
|
.loader {
|
|
26
26
|
&-backdrop {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
top: 0;
|
|
28
|
+
bottom: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
right: 0;
|
|
29
31
|
background-color: rgba(255, 255, 255, 0.45);
|
|
30
32
|
position: absolute;
|
|
31
33
|
z-index: 9999;
|
|
@@ -33,9 +35,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
33
35
|
&-spinner {
|
|
34
36
|
position: absolute;
|
|
35
37
|
color: #3f8cff;
|
|
36
|
-
top:
|
|
38
|
+
top: 40%;
|
|
37
39
|
left: 48%;
|
|
38
|
-
z-index:
|
|
40
|
+
z-index: 9999;
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
</style>
|