@burh/nuxt-core 1.0.19 → 1.0.21
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/assets/sass/burh-ds/atoms/_forms.scss +19 -0
- package/assets/sass/burh-ds/content/_main-content.scss +8 -0
- package/assets/sass/burh-ds/variables/_colors.scss +3 -1
- package/assets/sass/custom/_variables.scss +1 -0
- package/components/burh-ds/Avatar/AvatarLink.vue +23 -0
- package/components/burh-ds/Avatar/BusinessAvatar.vue +38 -0
- package/components/burh-ds/Button/ExportButton.vue +26 -0
- package/components/burh-ds/Button/SwitchStateButton.vue +165 -0
- package/components/burh-ds/Cards/PlanCard.vue +149 -109
- package/components/burh-ds/Cards/PurchaseCard.vue +0 -3
- package/components/burh-ds/Cards/PurchaseCardSimple.vue +0 -3
- package/components/burh-ds/Cards/RecentTestCard.vue +51 -0
- package/components/burh-ds/Cards/WelcomeCard.vue +53 -20
- package/components/burh-ds/Dropdown/AppLinkArea.vue +38 -25
- package/components/burh-ds/Dropdown/DropdownItem.vue +21 -0
- package/components/burh-ds/Dropdown/DropdownSection.vue +38 -0
- package/components/burh-ds/Dropdown/FaqVideoArea.vue +9 -4
- package/components/burh-ds/Dropdown/SignOutItem.vue +11 -0
- package/components/burh-ds/Dropdown/UserMenuDropdown.vue +58 -0
- package/components/burh-ds/Groups/ProductItem.vue +62 -0
- package/components/burh-ds/Groups/SimpleProductItem.vue +34 -30
- package/components/burh-ds/Headings/AppHeader.vue +63 -0
- package/components/burh-ds/Headings/StepHeader.vue +67 -0
- package/components/burh-ds/Inputs/BaseSwitch.vue +43 -0
- package/components/burh-ds/Inputs/BaseSwitchSecondary.vue +84 -0
- package/components/burh-ds/Lists/ListNavLinks.vue +36 -21
- package/components/burh-ds/Loadings/LoadingFullPage.vue +54 -0
- package/components/burh-ds/Modals/AppConfigModal.vue +171 -0
- package/components/burh-ds/Questions/Question.vue +110 -0
- package/components/burh-ds/Questions/QuestionAttach.vue +14 -0
- package/components/burh-ds/Questions/QuestionRadio.vue +97 -0
- package/components/burh-ds/Questions/QuestionRadioItem.vue +75 -0
- package/components/burh-ds/Questions/QuestionText.vue +36 -0
- package/components/burh-ds/Questions/index.js +14 -0
- package/components/layouts/burh-ds/footer/StoreFooter.vue +25 -25
- package/components/layouts/burh-ds/navbar/AppNavbar.vue +60 -0
- package/components/layouts/burh-ds/navbar/BusinessGlobalNavbar.vue +102 -125
- package/components/layouts/burh-ds/navbar/SimpleNavbar.vue +1 -2
- package/dictionary.js +5 -1
- package/package.json +2 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-radio
|
|
4
|
+
:label="value"
|
|
5
|
+
class="form-radio"
|
|
6
|
+
:class="{'form-radio--error': getError('Response')}">
|
|
7
|
+
<base-input
|
|
8
|
+
name="Response"
|
|
9
|
+
class=""
|
|
10
|
+
type="text"
|
|
11
|
+
placeholder="Coloque uma resposta aqui"
|
|
12
|
+
v-model="value"
|
|
13
|
+
v-on:input="$emit('change-answer', value)"
|
|
14
|
+
:error="getError('Response')"
|
|
15
|
+
:valid="isValid('Response')"
|
|
16
|
+
v-validate="'required'"/>
|
|
17
|
+
</el-radio>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
import { Radio } from 'element-ui'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
name: 'question-radio-item',
|
|
26
|
+
components: {
|
|
27
|
+
[Radio.name]: Radio,
|
|
28
|
+
},
|
|
29
|
+
props: {
|
|
30
|
+
},
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
value: '',
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
getError(name){
|
|
38
|
+
return this.errors.first(name);
|
|
39
|
+
},
|
|
40
|
+
isValid(name) {
|
|
41
|
+
return this.validated && !this.errors.has(name);
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<style lang='scss'>
|
|
48
|
+
.form-radio.el-radio {
|
|
49
|
+
display: block;
|
|
50
|
+
margin-right: 1.5rem;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
.form-group {
|
|
54
|
+
display: inline-block;
|
|
55
|
+
width: 100%;
|
|
56
|
+
padding-left: 1rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:last-child {
|
|
60
|
+
margin-right: 1.5rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__input {
|
|
64
|
+
top: 1.5rem
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
.form-radio--error {
|
|
70
|
+
.el-radio__input {
|
|
71
|
+
top: -1.5rem;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
</style>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<base-input
|
|
3
|
+
name="maxCharacters"
|
|
4
|
+
type="Number"
|
|
5
|
+
label="Quantidade maxima de caracteres da resposta"
|
|
6
|
+
v-model="value"
|
|
7
|
+
v-on:change="$emit('data-changed', { max_char: value })"
|
|
8
|
+
:error="getError('maxCharacters')"
|
|
9
|
+
:valid="isValid('maxCharacters')"
|
|
10
|
+
v-validate="'required|between:30,4096'">
|
|
11
|
+
</base-input>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: 'question-text',
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
value: 240
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
methods: {
|
|
24
|
+
getError(name){
|
|
25
|
+
return this.errors.first(name);
|
|
26
|
+
},
|
|
27
|
+
isValid(name) {
|
|
28
|
+
return this.validated && !this.errors.has(name);
|
|
29
|
+
},
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<style>
|
|
35
|
+
|
|
36
|
+
</style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Question from '@burh/nuxt-core/components/burh-ds/Questions/Question.vue';
|
|
2
|
+
import QuestionAttach from '@burh/nuxt-core/components/burh-ds/Questions/QuestionAttach.vue';
|
|
3
|
+
import QuestionText from '@burh/nuxt-core/components/burh-ds/Questions/QuestionText.vue';
|
|
4
|
+
import QuestionRadio from '@burh/nuxt-core/components/burh-ds/Questions/QuestionRadio.vue';
|
|
5
|
+
import QuestionRadioItem from '@burh/nuxt-core/components/burh-ds/Questions/QuestionRadioItem.vue';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
Question,
|
|
10
|
+
QuestionAttach,
|
|
11
|
+
QuestionText,
|
|
12
|
+
QuestionRadio,
|
|
13
|
+
QuestionRadioItem
|
|
14
|
+
}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="footer-simple
|
|
3
|
-
<div class="footer--container
|
|
4
|
-
<base-button outline type="primary" href="/termos-de-uso" class="
|
|
5
|
-
<i class="fas
|
|
2
|
+
<div class="footer-simple border-top">
|
|
3
|
+
<div class="footer-simple--container container-fluid container-fluid--bu">
|
|
4
|
+
<base-button outline type="primary" href="/termos-de-uso" class="mr-0 px-sm-5 px-3 btn-md-sm d-inline" rel="noopener" @click="$emit('backward')">
|
|
5
|
+
<i class="fas fa-long-arrow-alt-left"></i>Voltar
|
|
6
6
|
</base-button>
|
|
7
7
|
|
|
8
|
-
<base-button
|
|
8
|
+
<base-button
|
|
9
|
+
size="sm"
|
|
10
|
+
type="primary"
|
|
11
|
+
class="ml-auto px-sm-5 px-3 mr-2"
|
|
12
|
+
target="_blank"
|
|
13
|
+
rel="noopener" @click="$emit('forward')"
|
|
14
|
+
:disabled="btnForwardDisabled"
|
|
15
|
+
>{{btnForwardText}}</base-button>
|
|
9
16
|
</div>
|
|
10
17
|
</div>
|
|
11
18
|
</template>
|
|
@@ -16,6 +23,10 @@ export default {
|
|
|
16
23
|
type: String,
|
|
17
24
|
default: 'Ir para o checkout'
|
|
18
25
|
},
|
|
26
|
+
btnForwardDisabled: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: false
|
|
29
|
+
},
|
|
19
30
|
},
|
|
20
31
|
data() {
|
|
21
32
|
return {
|
|
@@ -30,25 +41,14 @@ export default {
|
|
|
30
41
|
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables.scss";
|
|
31
42
|
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss";
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
@media screen and (min-width: 992px){
|
|
44
|
-
.footer-container{
|
|
45
|
-
padding-right: 3rem;
|
|
46
|
-
padding-left: 3rem;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
.btn-outline-primary:hover {
|
|
50
|
-
color: #fff;
|
|
51
|
-
background-color: transparent !important;
|
|
52
|
-
border-color: #1DA1F1;
|
|
44
|
+
.footer-simple {
|
|
45
|
+
width: 100%;
|
|
46
|
+
background-color: $white;
|
|
47
|
+
|
|
48
|
+
&--container {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
}
|
|
53
52
|
}
|
|
53
|
+
|
|
54
54
|
</style>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<base-nav
|
|
3
|
+
container-classes="container-class-layout"
|
|
4
|
+
class="border-bottom navbar-animated navbar-horizontal"
|
|
5
|
+
expand="lg"
|
|
6
|
+
type="white"
|
|
7
|
+
>
|
|
8
|
+
<avatar-link
|
|
9
|
+
slot="brand"
|
|
10
|
+
:logo="brand"
|
|
11
|
+
:name="brandName"
|
|
12
|
+
class="row pl-4 nav-link"
|
|
13
|
+
/>
|
|
14
|
+
<app-link-area class="hover" />
|
|
15
|
+
<user-menu-dropdown
|
|
16
|
+
:text="userMenuText"
|
|
17
|
+
:userAvatar="currentUser.avatar"
|
|
18
|
+
:userName="currentUser.name"
|
|
19
|
+
:companyLogo="currentCompany.logo"
|
|
20
|
+
:companyName="currentCompany.name"
|
|
21
|
+
/>
|
|
22
|
+
</base-nav>
|
|
23
|
+
</template>
|
|
24
|
+
<script>
|
|
25
|
+
import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
|
|
26
|
+
import UserMenuDropdown from '@burh/nuxt-core/components/burh-ds/Dropdown/UserMenuDropdown.vue';
|
|
27
|
+
import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea.vue';
|
|
28
|
+
import AvatarLink from '@burh/nuxt-core/components/burh-ds/Avatar/AvatarLink.vue';
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
components: {
|
|
32
|
+
BaseNav,
|
|
33
|
+
UserMenuDropdown,
|
|
34
|
+
AppLinkArea,
|
|
35
|
+
AvatarLink
|
|
36
|
+
},
|
|
37
|
+
props: {
|
|
38
|
+
currentUser: Object,
|
|
39
|
+
currentCompany: Object,
|
|
40
|
+
userMenuText: Object,
|
|
41
|
+
brand: String,
|
|
42
|
+
brandName: String
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
<style lang="scss">
|
|
47
|
+
.container-class-layout {
|
|
48
|
+
flex: 1;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: row;
|
|
51
|
+
padding: 3rem;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.hover {
|
|
56
|
+
&:hover {
|
|
57
|
+
color: #25a4f1 !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
@@ -3,156 +3,99 @@
|
|
|
3
3
|
id="business__nav"
|
|
4
4
|
v-model="showMenu"
|
|
5
5
|
container-classes="container-fluid container-fluid--bu"
|
|
6
|
-
class="
|
|
7
|
-
:class="navbarColor"
|
|
6
|
+
class="navbar-main navbar-blue"
|
|
8
7
|
expand="lg"
|
|
9
8
|
type="primary"
|
|
10
9
|
>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
<div
|
|
11
|
+
slot="brand"
|
|
12
|
+
class="navbar-wrapper d-flex"
|
|
13
|
+
v-if="!appMode"
|
|
14
|
+
>
|
|
15
15
|
<nuxt-link class="navbar-brand d-flex pt-2" to="/">
|
|
16
|
-
<img
|
|
16
|
+
<img
|
|
17
|
+
src="/img/brand/burh-imagotipo-white.svg"
|
|
18
|
+
class="navbar-brand-img navbar-brand-img--full"
|
|
19
|
+
alt="BURH: Suas vagas"
|
|
20
|
+
>
|
|
17
21
|
</nuxt-link>
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
<ul class= "navbar-nav align-items-center d-none d-lg-flex flex-row mr-sm-auto">
|
|
24
|
+
<navbar-links
|
|
25
|
+
v-for="(item, index) in listOfLinks" :key="index"
|
|
26
|
+
:name="item.name"
|
|
27
|
+
:id="item.id"
|
|
28
|
+
:link="item.link"
|
|
29
|
+
:children="item.children"
|
|
30
|
+
/>
|
|
31
|
+
</ul>
|
|
30
32
|
</div>
|
|
31
|
-
<!--END BRAND-->
|
|
32
|
-
|
|
33
|
-
<!--LEFT-->
|
|
34
|
-
|
|
35
|
-
<!--RIGHT-->
|
|
36
33
|
|
|
37
34
|
<ul class="navbar-nav navbar-nav--menu align-items-center mr-md-auto">
|
|
38
35
|
<template v-if="currentUser == null">
|
|
39
36
|
<li class="nav-item">
|
|
40
|
-
<button
|
|
37
|
+
<button
|
|
38
|
+
@click="toLogin()"
|
|
39
|
+
class="btn btn-block"
|
|
40
|
+
:class="{'btn-outline-light': !showMenu, 'btn-primary': showMenu, 'btn-light': !showMenu}"
|
|
41
|
+
>
|
|
41
42
|
Entrar
|
|
42
43
|
</button>
|
|
43
44
|
<hr class="d-lg-none mt-3 mb-3">
|
|
44
45
|
</li>
|
|
45
46
|
<li class="nav-item">
|
|
46
|
-
<a
|
|
47
|
+
<a
|
|
48
|
+
v-if="showMenu"
|
|
49
|
+
href="javascript:void(0)"
|
|
50
|
+
@click="$router.push('/empresas/cadastro/criar-conta')"
|
|
51
|
+
class="btn"
|
|
52
|
+
:class="{'btn-light': !showMenu, 'btn-outline-primary': showMenu}"
|
|
53
|
+
>
|
|
54
|
+
Cadastrar-se
|
|
55
|
+
</a>
|
|
47
56
|
</li>
|
|
48
57
|
</template>
|
|
49
58
|
</ul>
|
|
50
59
|
|
|
51
|
-
|
|
52
|
-
<faq-video-area
|
|
60
|
+
<faq-video-area
|
|
53
61
|
v-if="currentUser != null"
|
|
54
62
|
:videos="listOfVideos"
|
|
55
63
|
v-on:open-video-modal="openModalVideo"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<video-modal
|
|
64
|
+
class="white-block"
|
|
65
|
+
/>
|
|
66
|
+
<video-modal
|
|
59
67
|
:show="videoModalProperties.showModal"
|
|
60
68
|
:link="this.videoModalProperties.link"
|
|
61
69
|
:title="this.videoModalProperties.title"
|
|
62
|
-
|
|
63
|
-
</video-modal>
|
|
64
|
-
<!--FAQ-->
|
|
65
|
-
|
|
66
|
-
<!--APPS-->
|
|
67
|
-
<app-link-area v-if="currentUser != null"></app-link-area>
|
|
68
|
-
<!--APPS-->
|
|
69
|
-
|
|
70
|
-
<!--USER-->
|
|
71
|
-
<div slot="user" v-if="currentUser != null">
|
|
72
|
-
<base-dropdown menu-on-right
|
|
73
|
-
class="nav-item"
|
|
74
|
-
tag="li"
|
|
75
|
-
title-tag="a"
|
|
76
|
-
title-classes="nav-link pr-0">
|
|
77
|
-
<a href="#" class="nav-link pr-0 pt-2 pb-2" @click.prevent slot="title-container">
|
|
78
|
-
<div class="media align-items-center">
|
|
79
|
-
|
|
80
|
-
<span class="avatar avatar-sm rounded-circle">
|
|
81
|
-
|
|
82
|
-
<img :src="currentCompany != null && currentCompany.logo ? currentCompany.logo : ''">
|
|
83
|
-
|
|
84
|
-
</span>
|
|
70
|
+
/>
|
|
85
71
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
<span class="avatar avatar-sm rounded-circle">
|
|
102
|
-
<img :src="currentUser.avatar != null ? currentUser.avatar : ''">
|
|
103
|
-
</span>
|
|
104
|
-
<span>{{currentUser.name}}</span>
|
|
105
|
-
</a>
|
|
106
|
-
</template>
|
|
107
|
-
|
|
108
|
-
<template v-if="currentCompany != null">
|
|
109
|
-
<div class="dropdown-divider"></div>
|
|
110
|
-
<h6 class="dropdown-header">Minha empresa</h6>
|
|
111
|
-
<a href="#!" class="dropdown-item">Anunciar Vaga</a>
|
|
112
|
-
<a href="#!" class="dropdown-item">Perfil da Empresa</a>
|
|
113
|
-
<a href="#!" class="dropdown-item">Editar Empresa</a>
|
|
114
|
-
<a href="#!" class="dropdown-item d-flex align-items-center w-100">
|
|
115
|
-
<span>Blog de RH</span> <badge rounded type="primary" class="ml-auto">Novo</badge>
|
|
116
|
-
</a>
|
|
117
|
-
|
|
118
|
-
<div class="dropdown-divider"></div>
|
|
119
|
-
<h6 class="dropdown-header">Configurações</h6>
|
|
120
|
-
<a href="#!" class="dropdown-item">Sua Conta</a>
|
|
121
|
-
<a href="#!" class="dropdown-item">Equipe</a>
|
|
122
|
-
<a href="#!" class="dropdown-item">Avisos & Notificações</a>
|
|
123
|
-
<a href="#!" class="dropdown-item">Seu Plano</a>
|
|
124
|
-
</template>
|
|
125
|
-
|
|
126
|
-
<template v-if="currentCompany == null">
|
|
127
|
-
<div class="dropdown-divider"></div>
|
|
128
|
-
<h6 class="dropdown-header">Meu Burh</h6>
|
|
129
|
-
<a href="#" class="dropdown-item">Meu perfil</a>
|
|
130
|
-
<a href="#" class="dropdown-item">Configurações</a>
|
|
131
|
-
</template>
|
|
132
|
-
|
|
133
|
-
<div class="dropdown-divider"></div>
|
|
134
|
-
<a href="#!" class="dropdown-item">
|
|
135
|
-
<font-awesome-icon :icon="['fas','door-open']"/>
|
|
136
|
-
<span>Sair</span>
|
|
137
|
-
</a>
|
|
138
|
-
</template>
|
|
139
|
-
</base-dropdown>
|
|
140
|
-
</div>
|
|
141
|
-
<!--END USERS-->
|
|
142
|
-
<!--END RIGHT-->
|
|
143
|
-
<slot></slot>
|
|
72
|
+
<app-link-area
|
|
73
|
+
v-if="currentUser != null"
|
|
74
|
+
class="white-block"
|
|
75
|
+
/>
|
|
76
|
+
<user-menu-dropdown
|
|
77
|
+
slot="user"
|
|
78
|
+
v-if="currentUser != null"
|
|
79
|
+
:text="userMenuText"
|
|
80
|
+
:userAvatar="currentUser.avatar"
|
|
81
|
+
:userName="currentUser.name"
|
|
82
|
+
:companyLogo="currentCompany.logo"
|
|
83
|
+
:companyName="currentCompany.name"
|
|
84
|
+
class="text-color"
|
|
85
|
+
/>
|
|
86
|
+
<slot></slot>
|
|
144
87
|
</base-nav>
|
|
145
88
|
</template>
|
|
146
89
|
|
|
147
90
|
<script>
|
|
148
91
|
import { CollapseTransition } from 'vue2-transitions';
|
|
149
|
-
|
|
150
|
-
import BaseNav from '
|
|
151
|
-
import VideoModal from '
|
|
152
|
-
import NavbarLinks from '
|
|
153
|
-
import AppLinkArea from '
|
|
154
|
-
import FaqVideoArea from '
|
|
155
|
-
import Modal from '
|
|
92
|
+
import UserMenuDropdown from '@burh/nuxt-core/components/burh-ds/Dropdown/UserMenuDropdown.vue';
|
|
93
|
+
import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
|
|
94
|
+
import VideoModal from '@burh/nuxt-core/components/burh-ds/Modals/VideoModal.vue';
|
|
95
|
+
import NavbarLinks from '@burh/nuxt-core/components/burh-ds/Lists/ListNavLinks.vue';
|
|
96
|
+
import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea.vue';
|
|
97
|
+
import FaqVideoArea from '@burh/nuxt-core/components/burh-ds/Dropdown/FaqVideoArea.vue';
|
|
98
|
+
import Modal from '@burh/nuxt-core/components/argon-core/Modal.vue';
|
|
156
99
|
import * as ListofLinksNavbar from '@burh/nuxt-core/data/ListNavLinksMock.json';
|
|
157
100
|
import * as ListVideos from '@burh/nuxt-core/data/ListVideoLinksMock.json';
|
|
158
101
|
import moment from 'moment';
|
|
@@ -166,13 +109,14 @@
|
|
|
166
109
|
AppLinkArea,
|
|
167
110
|
FaqVideoArea,
|
|
168
111
|
NavbarLinks,
|
|
169
|
-
VideoModal
|
|
112
|
+
VideoModal,
|
|
113
|
+
UserMenuDropdown,
|
|
170
114
|
},
|
|
171
115
|
props: {
|
|
172
116
|
type: {
|
|
173
117
|
type: String,
|
|
174
|
-
default: '
|
|
175
|
-
description: 'Look of the dashboard navbar.
|
|
118
|
+
default: 'primary', // default|light
|
|
119
|
+
description: 'Look of the dashboard navbar. primary (blue) or ligte (white)'
|
|
176
120
|
},
|
|
177
121
|
logoMini: {
|
|
178
122
|
type: String,
|
|
@@ -208,6 +152,10 @@
|
|
|
208
152
|
type: Array,
|
|
209
153
|
default: () => ListVideos.default,
|
|
210
154
|
description: 'Lista de videos em exibição no dropdown de videos'
|
|
155
|
+
},
|
|
156
|
+
userMenuText: {
|
|
157
|
+
type:Object,
|
|
158
|
+
description: 'Contains the text for the user menu'
|
|
211
159
|
}
|
|
212
160
|
},
|
|
213
161
|
computed: {
|
|
@@ -249,16 +197,17 @@
|
|
|
249
197
|
if (this.showMenu) {
|
|
250
198
|
this.closeMenu();
|
|
251
199
|
}
|
|
252
|
-
|
|
200
|
+
|
|
253
201
|
if(this.navbarSearch && newRoute != '/busca'){
|
|
254
202
|
this.menuSearch = ''
|
|
255
203
|
} else {
|
|
256
204
|
this.menuSearch = this.$route.query.term
|
|
257
205
|
}
|
|
258
|
-
|
|
206
|
+
|
|
259
207
|
}
|
|
260
208
|
},
|
|
261
209
|
mounted () {
|
|
210
|
+
console.log("userMenuText", this.userMenuText)
|
|
262
211
|
window.addEventListener('scroll', this.handleScrollNavbar);
|
|
263
212
|
|
|
264
213
|
let header = document.querySelector('[data-menu="fixed"]');
|
|
@@ -279,7 +228,7 @@
|
|
|
279
228
|
destroyed () {
|
|
280
229
|
window.removeEventListener('scroll', this.handleScrollNavbar);
|
|
281
230
|
}
|
|
282
|
-
|
|
231
|
+
|
|
283
232
|
};
|
|
284
233
|
|
|
285
234
|
</script>
|
|
@@ -292,6 +241,11 @@
|
|
|
292
241
|
.dropdown-menu{
|
|
293
242
|
min-width: 16rem;
|
|
294
243
|
}
|
|
244
|
+
|
|
245
|
+
.navbar-blue {
|
|
246
|
+
background-color: #258bf4 !important;
|
|
247
|
+
}
|
|
248
|
+
|
|
295
249
|
.navbar {
|
|
296
250
|
.navbar-search-light {
|
|
297
251
|
&--focus {
|
|
@@ -309,7 +263,30 @@
|
|
|
309
263
|
background-color: $primary;
|
|
310
264
|
border: 0 !important;
|
|
311
265
|
animation: navbarCompanyDefaultLoading .5s;
|
|
312
|
-
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&--white{
|
|
270
|
+
.nav-link {
|
|
271
|
+
color: $white;
|
|
272
|
+
&:hover {
|
|
273
|
+
color: $color-dark;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
313
276
|
}
|
|
314
277
|
}
|
|
278
|
+
|
|
279
|
+
.text-color {
|
|
280
|
+
color: #fff !important;
|
|
281
|
+
&:hover {
|
|
282
|
+
color: #515e7e !important;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.white-block {
|
|
287
|
+
color: white;
|
|
288
|
+
&:hover {
|
|
289
|
+
color: #515e7e;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
315
292
|
</style>
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
id="business__nav"
|
|
4
4
|
v-model="showMenu"
|
|
5
5
|
container-classes="container-fluid container-fluid--bu"
|
|
6
|
-
class="border-bottom navbar-animated navbar-horizontal"
|
|
7
|
-
:class="navbarColor"
|
|
6
|
+
class="navbar-main border-bottom navbar-animated navbar-horizontal navbar-expand-lg"
|
|
8
7
|
expand="lg"
|
|
9
8
|
type="primary"
|
|
10
9
|
>
|
package/dictionary.js
CHANGED
|
@@ -31,5 +31,9 @@ module.exports = {
|
|
|
31
31
|
Details: 'Detalhes',
|
|
32
32
|
Detail: 'Detalhe',
|
|
33
33
|
employee_number: 'Número de Funcionários',
|
|
34
|
-
area_ocuppation: 'Área de Ocupação'
|
|
34
|
+
area_ocuppation: 'Área de Ocupação',
|
|
35
|
+
Cancel: 'Cancelar',
|
|
36
|
+
cancel: 'cancelar',
|
|
37
|
+
Confirm: 'Confirmar',
|
|
38
|
+
confirm: 'confirmar'
|
|
35
39
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burh/nuxt-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "Design System and Components.",
|
|
5
5
|
"author": "Burh",
|
|
6
6
|
"scripts": {
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"vue-croppie": "^2.0.1",
|
|
71
71
|
"vue-flatpickr-component": "^8.1.2",
|
|
72
72
|
"vue-form-generator": "^2.3.4",
|
|
73
|
+
"vue-loading-overlay": "^3.3.2",
|
|
73
74
|
"vue-plain-pagination": "^0.3.0",
|
|
74
75
|
"vue-the-mask": "^0.11.1",
|
|
75
76
|
"vue2-transitions": "^0.3.0",
|