@burh/nuxt-core 1.0.125 → 1.0.127
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,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<card class="card">
|
|
3
3
|
<h4 class="aria-text">Funcionalidades</h4>
|
|
4
|
-
<ul class="list line-card">
|
|
4
|
+
<ul class="list-unstyled list line-card">
|
|
5
5
|
<functionality-item
|
|
6
6
|
class="cursor-pointer"
|
|
7
7
|
:icone="firstItemIcon"
|
|
@@ -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 list line-card">
|
|
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 {
|