@burh/nuxt-core 1.0.174 → 1.0.176
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.
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<img
|
|
46
46
|
v-if="image"
|
|
47
47
|
slot="image"
|
|
48
|
-
class="
|
|
48
|
+
class=""
|
|
49
49
|
:src="image"
|
|
50
50
|
alt="Card image cap"
|
|
51
51
|
/>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
class="card-img-top card__icon border-bottom"
|
|
58
58
|
/>
|
|
59
59
|
<!-- title -->
|
|
60
|
-
<h3 class="h6
|
|
60
|
+
<h3 class="h6 mb-2 content-block">{{ title }}</h3>
|
|
61
61
|
<!-- descrição -->
|
|
62
62
|
<p v-if="description" class="card-title mb-2">{{ description }}</p>
|
|
63
63
|
<!-- another information -->
|
|
@@ -95,10 +95,17 @@ export default {
|
|
|
95
95
|
<style lang="scss" scoped>
|
|
96
96
|
.card-app--training {
|
|
97
97
|
height: 15.8rem !important;
|
|
98
|
-
}
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
img {
|
|
100
|
+
height: 11rem;
|
|
101
|
+
object-fit: cover;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
h3 {
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
text-overflow: ellipsis;
|
|
108
|
+
}
|
|
102
109
|
}
|
|
103
110
|
|
|
104
111
|
.card {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
<base-nav
|
|
3
|
+
container-classes="container-fluid container-fluid--bu"
|
|
4
|
+
class="border-bottom navbar-animated navbar-horizontal"
|
|
5
|
+
expand="lg"
|
|
6
|
+
type="white"
|
|
7
|
+
>
|
|
8
|
+
<div style="display: flex; " slot="brand">
|
|
9
|
+
<avatar-link
|
|
10
|
+
:logo="brand"
|
|
11
|
+
:name="brandName"
|
|
12
|
+
class="row pl-4 nav-link cursor-pointer"
|
|
13
|
+
@avatar-click="redirectIndex"
|
|
14
|
+
/>
|
|
15
|
+
<slot name="brand-center" />
|
|
16
|
+
</div>
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
18
|
+
<a
|
|
19
|
+
v-if="!disabledLinks"
|
|
20
|
+
@click="$emit('to-home')"
|
|
21
|
+
class="btn btn-link text-primary cursor-pointer"
|
|
22
|
+
>
|
|
23
|
+
Voltar para o Burh
|
|
24
|
+
</a>
|
|
25
|
+
<user-menu-dropdown
|
|
26
|
+
v-else
|
|
27
|
+
:userAvatar="currentCompany.logo"
|
|
28
|
+
:userName="currentUser.name"
|
|
29
|
+
:companyName="currentCompany.name"
|
|
30
|
+
:isSindipecas="true"
|
|
31
|
+
@logout="$emit('logout')"
|
|
32
|
+
/>
|
|
33
|
+
</base-nav>
|
|
34
34
|
</template>
|
|
35
35
|
<script>
|
|
36
36
|
import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
|
|
@@ -39,44 +39,44 @@ import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea
|
|
|
39
39
|
import AvatarLink from '@burh/nuxt-core/components/burh-ds/Avatar/AvatarLink.vue';
|
|
40
40
|
|
|
41
41
|
export default {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
42
|
+
components: {
|
|
43
|
+
BaseNav,
|
|
44
|
+
UserMenuDropdown,
|
|
45
|
+
AppLinkArea,
|
|
46
|
+
AvatarLink
|
|
47
|
+
},
|
|
48
|
+
props: {
|
|
49
|
+
currentUser: Object,
|
|
50
|
+
currentCompany: Object,
|
|
51
|
+
userMenuText: Object,
|
|
52
|
+
brand: String,
|
|
53
|
+
brandName: String,
|
|
54
|
+
showableProducts: Object,
|
|
55
|
+
activeProducts: Array,
|
|
56
|
+
gridApps: Array,
|
|
57
|
+
disabledLinks: Boolean
|
|
58
|
+
},
|
|
59
|
+
data() {
|
|
60
|
+
return {
|
|
61
|
+
console: console,
|
|
62
|
+
indexRoute: String,
|
|
63
|
+
urlBackToBusiness: process.env.oldBusinessUrl
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
methods: {
|
|
67
|
+
handleAvatarClick(company) {
|
|
68
|
+
this.$emit('company-click', company);
|
|
69
|
+
},
|
|
70
|
+
redirectIndex() {
|
|
71
|
+
if (!this.disabledLinks) this.$router.push(this.indexRoute);
|
|
72
|
+
},
|
|
73
|
+
getCurrentApp() {
|
|
74
|
+
this.indexRoute = `/${this.$route.path.split('/')[1]}`;
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
mounted() {
|
|
78
|
+
this.getCurrentApp();
|
|
79
|
+
}
|
|
80
80
|
};
|
|
81
81
|
</script>
|
|
82
82
|
<style lang="scss">
|