@burh/nuxt-core 1.0.124 → 1.0.126
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.
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
@click="$emit('functionality-click')"
|
|
4
|
+
class="functionality-item text-center"
|
|
5
|
+
>
|
|
5
6
|
<i class="functionality-item--icone fas " :class="icone"></i>
|
|
6
7
|
<span class="functionality-item--text">{{ text }}</span>
|
|
7
8
|
</li>
|
|
8
9
|
</template>
|
|
9
10
|
<script>
|
|
10
11
|
export default {
|
|
11
|
-
name:
|
|
12
|
+
name: 'functionality-item',
|
|
12
13
|
props: {
|
|
13
14
|
icone: String,
|
|
14
15
|
text: String,
|
|
15
16
|
click: Function
|
|
16
17
|
}
|
|
17
|
-
}
|
|
18
|
+
};
|
|
18
19
|
</script>
|
|
19
20
|
<style lang="scss" scoped>
|
|
20
21
|
.functionality-item {
|
|
21
22
|
display: flex;
|
|
22
23
|
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
24
|
color: #258bf4;
|
|
25
25
|
line-height: 2.5;
|
|
26
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<card class="card">
|
|
3
3
|
<h4 class="aria-text">Funcionalidades</h4>
|
|
4
|
-
<ul class="list
|
|
4
|
+
<ul class="list-unstyled d-flex justify-content-between ml-5 mr-5 mt-4">
|
|
5
5
|
<functionality-item
|
|
6
|
-
class="cursor-pointer"
|
|
6
|
+
class="cursor-pointer ml-3"
|
|
7
7
|
:icone="firstItemIcon"
|
|
8
8
|
:text="firstItemText"
|
|
9
9
|
@functionality-click="$emit('click-first-item')"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</ul>
|
|
18
18
|
<hr />
|
|
19
19
|
<h6 class="list-title font-weight-bold">{{ title }}</h6>
|
|
20
|
-
<ul class="list">
|
|
20
|
+
<ul class="list-unstyled d-flex justify-content-between ml-6 mr-6 mt-4">
|
|
21
21
|
<slot></slot>
|
|
22
22
|
</ul>
|
|
23
23
|
<p class="footer-text">{{ context }}</p>
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li class="performance-item" :class="primary && ' primary'">
|
|
3
|
-
<span class="performance-item--title">{{formatedTitle}}</span>
|
|
4
|
-
<span v-if="!skeleton" class="performance-item--value">{{
|
|
5
|
-
|
|
3
|
+
<span class="performance-item--title">{{ formatedTitle }}</span>
|
|
4
|
+
<span v-if="!skeleton" class="performance-item--value">{{
|
|
5
|
+
value > 999 ? formatedValue + ' mil' : formatedValue + ''
|
|
6
|
+
}}</span>
|
|
7
|
+
<span
|
|
8
|
+
v-if="skeleton"
|
|
9
|
+
class="performance-item--value skeleton-inner"
|
|
10
|
+
></span>
|
|
6
11
|
</li>
|
|
7
12
|
</template>
|
|
8
|
-
<script>
|
|
13
|
+
<script>
|
|
9
14
|
export default {
|
|
10
|
-
name:
|
|
15
|
+
name: 'performance-item',
|
|
11
16
|
props: {
|
|
12
17
|
title: {
|
|
13
18
|
type: String,
|
|
14
|
-
default:
|
|
19
|
+
default: 'Visualizações'
|
|
15
20
|
},
|
|
16
21
|
value: {
|
|
17
22
|
type: Number,
|
|
@@ -22,23 +27,22 @@ export default {
|
|
|
22
27
|
default: false
|
|
23
28
|
},
|
|
24
29
|
skeleton: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
}
|
|
28
33
|
},
|
|
29
34
|
computed: {
|
|
30
35
|
formatedValue() {
|
|
31
|
-
if (this.value > 999)
|
|
32
|
-
return this.value/1000
|
|
36
|
+
if (this.value > 999) return this.value / 1000;
|
|
33
37
|
|
|
34
|
-
return this.value
|
|
38
|
+
return this.value;
|
|
35
39
|
},
|
|
36
40
|
formatedTitle() {
|
|
37
41
|
const title = this.title.toLowerCase();
|
|
38
42
|
return title[0].toUpperCase() + title.slice(1);
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
|
-
}
|
|
45
|
+
};
|
|
42
46
|
</script>
|
|
43
47
|
<style lang="scss" scoped>
|
|
44
48
|
.performance-item {
|
|
@@ -95,7 +95,8 @@ export default {
|
|
|
95
95
|
},
|
|
96
96
|
props: {
|
|
97
97
|
userData: Object,
|
|
98
|
-
notes: Array
|
|
98
|
+
notes: Array,
|
|
99
|
+
activeName: String
|
|
99
100
|
},
|
|
100
101
|
methods: {
|
|
101
102
|
cleatInput() {
|
|
@@ -104,8 +105,8 @@ export default {
|
|
|
104
105
|
},
|
|
105
106
|
data() {
|
|
106
107
|
return {
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
newNote: '',
|
|
109
|
+
active: this.activeName
|
|
109
110
|
};
|
|
110
111
|
}
|
|
111
112
|
};
|