@dataloop-ai/components 0.19.261 → 0.19.262
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
|
@@ -21,6 +21,7 @@ import DlSpinnerGrid from './components/DlSpinnerGrid.vue'
|
|
|
21
21
|
import DlSpinnerCircle from './components/DlSpinnerCircle.vue'
|
|
22
22
|
import DlSpinnerClock from './components/DlSpinnerClock.vue'
|
|
23
23
|
import DlSpinnerDots from './components/DlSpinnerDots.vue'
|
|
24
|
+
import DlSpinnerLogo from './components/DlSpinnerLogo.vue'
|
|
24
25
|
import { DlSpinnerTypes } from './types'
|
|
25
26
|
|
|
26
27
|
export default defineComponent({
|
|
@@ -28,7 +29,8 @@ export default defineComponent({
|
|
|
28
29
|
DlSpinnerGrid,
|
|
29
30
|
DlSpinnerCircle,
|
|
30
31
|
DlSpinnerClock,
|
|
31
|
-
DlSpinnerDots
|
|
32
|
+
DlSpinnerDots,
|
|
33
|
+
DlSpinnerLogo
|
|
32
34
|
},
|
|
33
35
|
props: {
|
|
34
36
|
text: {
|
|
@@ -80,7 +82,7 @@ export default defineComponent({
|
|
|
80
82
|
case DlSpinnerTypes.CLOCK:
|
|
81
83
|
return 'DlSpinnerClock'
|
|
82
84
|
default:
|
|
83
|
-
return '
|
|
85
|
+
return 'DlSpinnerLogo'
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="dl-spinner-wrapper">
|
|
3
|
+
<svg
|
|
4
|
+
:width="size"
|
|
5
|
+
:height="size"
|
|
6
|
+
viewBox="0 0 64 64"
|
|
7
|
+
shape-rendering="geometricPrecision"
|
|
8
|
+
text-rendering="geometricPrecision"
|
|
9
|
+
>
|
|
10
|
+
<g class="first-rect">
|
|
11
|
+
<rect />
|
|
12
|
+
</g>
|
|
13
|
+
<g class="second-rect">
|
|
14
|
+
<rect />
|
|
15
|
+
</g>
|
|
16
|
+
<g class="third-rect">
|
|
17
|
+
<rect />
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script lang="ts">
|
|
24
|
+
import { defineComponent } from 'vue-demi'
|
|
25
|
+
|
|
26
|
+
export default defineComponent({
|
|
27
|
+
name: 'DlSpinnerLogo',
|
|
28
|
+
props: {
|
|
29
|
+
size: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: '64px'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<style lang="scss" scoped>
|
|
38
|
+
@import '../styles/spinnerStyles.scss';
|
|
39
|
+
|
|
40
|
+
@keyframes moveFirstRect {
|
|
41
|
+
0% {
|
|
42
|
+
transform: translate(2px, 2px);
|
|
43
|
+
}
|
|
44
|
+
25%,
|
|
45
|
+
75% {
|
|
46
|
+
transform: translate(38px, 2px);
|
|
47
|
+
}
|
|
48
|
+
95%,
|
|
49
|
+
100% {
|
|
50
|
+
transform: translate(38px, 38px);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes moveSecondRect {
|
|
55
|
+
0%,
|
|
56
|
+
25% {
|
|
57
|
+
transform: translate(2px, 38px);
|
|
58
|
+
}
|
|
59
|
+
45%,
|
|
60
|
+
100% {
|
|
61
|
+
transform: translate(2px, 2px);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes moveThirdRect {
|
|
66
|
+
0%,
|
|
67
|
+
50% {
|
|
68
|
+
transform: translate(38px, 38px);
|
|
69
|
+
}
|
|
70
|
+
70%,
|
|
71
|
+
100% {
|
|
72
|
+
transform: translate(2px, 38px);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
rect {
|
|
77
|
+
width: 24px;
|
|
78
|
+
height: 24px;
|
|
79
|
+
fill: #ffd7e2;
|
|
80
|
+
stroke: #ef6284;
|
|
81
|
+
stroke-width: 4;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.first-rect {
|
|
85
|
+
animation: moveFirstRect 2s ease-out infinite;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.second-rect {
|
|
89
|
+
animation: moveSecondRect 2s ease-out infinite;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.third-rect {
|
|
93
|
+
animation: moveThirdRect 2s ease-out infinite;
|
|
94
|
+
}
|
|
95
|
+
</style>
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
<dl-button @click="isOpenedStudioModal = true">
|
|
4
4
|
Studio Layout
|
|
5
5
|
</dl-button>
|
|
6
|
-
<div
|
|
7
|
-
v-if="isOpenedStudioModal"
|
|
8
|
-
class="fullscreen-template"
|
|
9
|
-
>
|
|
6
|
+
<div v-if="isOpenedStudioModal" class="fullscreen-template">
|
|
10
7
|
<div class="fullscreen-template__close">
|
|
11
8
|
<dl-button
|
|
12
9
|
flat
|
|
@@ -19,6 +16,8 @@
|
|
|
19
16
|
<left-menu-content />
|
|
20
17
|
</template>
|
|
21
18
|
<template #leftDrawer>
|
|
19
|
+
testestest
|
|
20
|
+
|
|
22
21
|
<studio-left-drawer />
|
|
23
22
|
</template>
|
|
24
23
|
<template #rightDrawer>
|