@burh/nuxt-core 1.0.212 → 1.0.213
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/components/argon-core/BaseDropdown.vue +114 -114
- package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
- package/components/burh-ds/Cards/RecruitmentCard.vue +188 -175
- package/components/burh-ds/Carousel/ImageCarousel.vue +106 -106
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +134 -134
- package/components/burh-ds/Headings/AppHeader.vue +133 -133
- package/components/burh-ds/Modals/SharedModal.vue +270 -270
- package/nuxt.config.js +206 -206
- package/package.json +1 -1
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dialog
|
|
3
|
-
:visible.sync="isActive"
|
|
4
|
-
width="80%"
|
|
5
|
-
custom-class="position-relative"
|
|
6
|
-
@close="$emit('close')"
|
|
7
|
-
class="test-radius"
|
|
8
|
-
>
|
|
9
|
-
<template>
|
|
10
|
-
<div class="row d-flex justify-content-between mx-0 user-pdf">
|
|
11
|
-
<img v-show="coverPhoto" :src="coverPhoto" alt="" />
|
|
12
|
-
<div v-show="!coverPhoto" class="no-cover-photo"></div>
|
|
13
|
-
<slot name="content"></slot>
|
|
14
|
-
</div>
|
|
15
|
-
<slot></slot>
|
|
16
|
-
<!-- <el-tooltip placement="top" :content="!showTools ? 'Exibir Ferramentas' : 'Esconder Ferramentas'">
|
|
17
|
-
<span class="tool tool-show--tools">
|
|
18
|
-
<font-awesome-icon :icon="['fas', !showTools ? 'expand-alt' : 'compress-alt']" class="h3 text-primary"
|
|
19
|
-
@click="showTools = !showTools"/>
|
|
20
|
-
</span>
|
|
21
|
-
</el-tooltip> -->
|
|
22
|
-
<span class="tool tool-close" @click="$emit('close')">
|
|
23
|
-
Fechar
|
|
24
|
-
<font-awesome-icon
|
|
25
|
-
:icon="['fas', 'times']"
|
|
26
|
-
class="text-white ml-1"
|
|
27
|
-
/>
|
|
28
|
-
</span>
|
|
29
|
-
</template>
|
|
30
|
-
</el-dialog>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script>
|
|
34
|
-
import { Dialog } from 'element-ui';
|
|
35
|
-
|
|
36
|
-
export default {
|
|
37
|
-
name: 'user-curriculum',
|
|
38
|
-
components: {
|
|
39
|
-
[Dialog.name]: Dialog
|
|
40
|
-
},
|
|
41
|
-
props: {
|
|
42
|
-
show: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: false
|
|
45
|
-
},
|
|
46
|
-
tools: {
|
|
47
|
-
type: Array,
|
|
48
|
-
default: () => []
|
|
49
|
-
},
|
|
50
|
-
cover: String
|
|
51
|
-
},
|
|
52
|
-
data() {
|
|
53
|
-
return {
|
|
54
|
-
isActive: this.show,
|
|
55
|
-
showTools: false,
|
|
56
|
-
coverPhoto: this.cover
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
watch: {
|
|
60
|
-
show(value) {
|
|
61
|
-
this.isActive = value;
|
|
62
|
-
},
|
|
63
|
-
cover(value) {
|
|
64
|
-
this.coverPhoto = value;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
</script>
|
|
69
|
-
|
|
70
|
-
<style lang="scss" scoped>
|
|
71
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
72
|
-
|
|
73
|
-
/deep/ .el-dialog__body {
|
|
74
|
-
padding: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/deep/ .el-dialog__header {
|
|
78
|
-
display: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/deep/ .el-dialog {
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
border-radius: 10px;
|
|
84
|
-
padding-bottom: 50px;
|
|
85
|
-
max-width: 1360px;
|
|
86
|
-
margin-top: 5vh!important;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.test-radius {
|
|
90
|
-
border-radius: 10px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.tool {
|
|
94
|
-
position: absolute;
|
|
95
|
-
top: 1rem;
|
|
96
|
-
z-index: 10;
|
|
97
|
-
color: $primary;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
|
|
100
|
-
&-show--tools {
|
|
101
|
-
right: 1.5rem;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-close {
|
|
105
|
-
position: absolute;
|
|
106
|
-
width: 104.93px;
|
|
107
|
-
height: 28px;
|
|
108
|
-
right: 1.5rem;
|
|
109
|
-
display: flex;
|
|
110
|
-
justify-content: center;
|
|
111
|
-
align-items: center;
|
|
112
|
-
|
|
113
|
-
font-weight: 600;
|
|
114
|
-
background: rgba(0, 0, 0, 0.2);
|
|
115
|
-
border-radius: 17.5px;
|
|
116
|
-
color: #fff;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.user-pdf {
|
|
121
|
-
background-color: #fff;
|
|
122
|
-
img {
|
|
123
|
-
width: 100%;
|
|
124
|
-
height: 150px;
|
|
125
|
-
object-fit: cover;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.no-cover-photo {
|
|
129
|
-
background: $primary;
|
|
130
|
-
width: 100%;
|
|
131
|
-
height: 150px;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
:visible.sync="isActive"
|
|
4
|
+
width="80%"
|
|
5
|
+
custom-class="position-relative"
|
|
6
|
+
@close="$emit('close')"
|
|
7
|
+
class="test-radius"
|
|
8
|
+
>
|
|
9
|
+
<template>
|
|
10
|
+
<div class="row d-flex justify-content-between mx-0 user-pdf">
|
|
11
|
+
<img v-show="coverPhoto" :src="coverPhoto" alt="" />
|
|
12
|
+
<div v-show="!coverPhoto" class="no-cover-photo"></div>
|
|
13
|
+
<slot name="content"></slot>
|
|
14
|
+
</div>
|
|
15
|
+
<slot></slot>
|
|
16
|
+
<!-- <el-tooltip placement="top" :content="!showTools ? 'Exibir Ferramentas' : 'Esconder Ferramentas'">
|
|
17
|
+
<span class="tool tool-show--tools">
|
|
18
|
+
<font-awesome-icon :icon="['fas', !showTools ? 'expand-alt' : 'compress-alt']" class="h3 text-primary"
|
|
19
|
+
@click="showTools = !showTools"/>
|
|
20
|
+
</span>
|
|
21
|
+
</el-tooltip> -->
|
|
22
|
+
<span class="tool tool-close" @click="$emit('close')">
|
|
23
|
+
Fechar
|
|
24
|
+
<font-awesome-icon
|
|
25
|
+
:icon="['fas', 'times']"
|
|
26
|
+
class="text-white ml-1"
|
|
27
|
+
/>
|
|
28
|
+
</span>
|
|
29
|
+
</template>
|
|
30
|
+
</el-dialog>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
import { Dialog } from 'element-ui';
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
name: 'user-curriculum',
|
|
38
|
+
components: {
|
|
39
|
+
[Dialog.name]: Dialog
|
|
40
|
+
},
|
|
41
|
+
props: {
|
|
42
|
+
show: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
},
|
|
46
|
+
tools: {
|
|
47
|
+
type: Array,
|
|
48
|
+
default: () => []
|
|
49
|
+
},
|
|
50
|
+
cover: String
|
|
51
|
+
},
|
|
52
|
+
data() {
|
|
53
|
+
return {
|
|
54
|
+
isActive: this.show,
|
|
55
|
+
showTools: false,
|
|
56
|
+
coverPhoto: this.cover
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
watch: {
|
|
60
|
+
show(value) {
|
|
61
|
+
this.isActive = value;
|
|
62
|
+
},
|
|
63
|
+
cover(value) {
|
|
64
|
+
this.coverPhoto = value;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<style lang="scss" scoped>
|
|
71
|
+
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
72
|
+
|
|
73
|
+
/deep/ .el-dialog__body {
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/deep/ .el-dialog__header {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/deep/ .el-dialog {
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
border-radius: 10px;
|
|
84
|
+
padding-bottom: 50px;
|
|
85
|
+
max-width: 1360px;
|
|
86
|
+
margin-top: 5vh!important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.test-radius {
|
|
90
|
+
border-radius: 10px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.tool {
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 1rem;
|
|
96
|
+
z-index: 10;
|
|
97
|
+
color: $primary;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
|
|
100
|
+
&-show--tools {
|
|
101
|
+
right: 1.5rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&-close {
|
|
105
|
+
position: absolute;
|
|
106
|
+
width: 104.93px;
|
|
107
|
+
height: 28px;
|
|
108
|
+
right: 1.5rem;
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
align-items: center;
|
|
112
|
+
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
background: rgba(0, 0, 0, 0.2);
|
|
115
|
+
border-radius: 17.5px;
|
|
116
|
+
color: #fff;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.user-pdf {
|
|
121
|
+
background-color: #fff;
|
|
122
|
+
img {
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: 150px;
|
|
125
|
+
object-fit: cover;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.no-cover-photo {
|
|
129
|
+
background: $primary;
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 150px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
</style>
|
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<base-header class="app-header" :type="'white'">
|
|
3
|
-
<div class="row justify-content-center">
|
|
4
|
-
<div
|
|
5
|
-
:class="{ 'images__container': images.length }"
|
|
6
|
-
class="col-6 my-auto header__container"
|
|
7
|
-
>
|
|
8
|
-
<slot name="header-top" />
|
|
9
|
-
|
|
10
|
-
<div class="header__content">
|
|
11
|
-
<h2 class="font-weight-bold display-3">{{name}}</h2>
|
|
12
|
-
<div class="images" v-if="images.length">
|
|
13
|
-
<img
|
|
14
|
-
v-for="(image, index) in images"
|
|
15
|
-
:key="index"
|
|
16
|
-
:src="image.src"
|
|
17
|
-
:alt="image.name"
|
|
18
|
-
>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<span id="credits-amount" v-if="subheader">
|
|
23
|
-
{{ subheader }} Créditos
|
|
24
|
-
</span>
|
|
25
|
-
|
|
26
|
-
<slot name="header-bottom" />
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<div class="col-6 d-flex justify-content-end align-items-center">
|
|
30
|
-
<el-tooltip v-for="(item, index) in icons" :key="index"
|
|
31
|
-
v-show="!item.disabled"
|
|
32
|
-
class="item" effect="dark" :content="item.title" placement="top">
|
|
33
|
-
<base-button size="md" type="link" class="text-primary px-2 w-auto"
|
|
34
|
-
@click="$emit(item.event, item)">
|
|
35
|
-
<font-awesome-icon :icon="item.icon" class="mr-2" />
|
|
36
|
-
</base-button>
|
|
37
|
-
</el-tooltip>
|
|
38
|
-
|
|
39
|
-
<slot name="buttons" />
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<slot/>
|
|
43
|
-
</div>
|
|
44
|
-
</base-header>
|
|
45
|
-
</template>
|
|
46
|
-
<script>
|
|
47
|
-
export default {
|
|
48
|
-
data(){
|
|
49
|
-
return{
|
|
50
|
-
default: ''
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
props:{
|
|
54
|
-
icons:{
|
|
55
|
-
type: Array,
|
|
56
|
-
default: () =>[{ event: 'view', icon: ['fas', 'eye'], disabled: false, title: 'Visualizar' }, { event: 'config', icon: ['fas', 'cog'], disabled: false, title: 'Editar' } ]
|
|
57
|
-
},
|
|
58
|
-
name: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: 'Teste de matematica'
|
|
61
|
-
},
|
|
62
|
-
subheader: {
|
|
63
|
-
type: Number,
|
|
64
|
-
default: null
|
|
65
|
-
},
|
|
66
|
-
images: {
|
|
67
|
-
type: Array,
|
|
68
|
-
default: () => []
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
</script>
|
|
73
|
-
<style lang="scss" scoped>
|
|
74
|
-
#credits-amount {
|
|
75
|
-
margin: 0!important;
|
|
76
|
-
min-width: 8em;
|
|
77
|
-
margin: 1rem 1rem 1rem 0;
|
|
78
|
-
padding: 0.25em 1em;
|
|
79
|
-
font-size: 0.85rem;
|
|
80
|
-
line-height: 1.4em;
|
|
81
|
-
border-radius: 23rem;
|
|
82
|
-
font-weight: 400;
|
|
83
|
-
text-align: center;
|
|
84
|
-
background-color: rgba(29, 161, 241, 0.1);
|
|
85
|
-
color: #1da1f1;
|
|
86
|
-
}
|
|
87
|
-
</style>
|
|
88
|
-
<style lang="scss">
|
|
89
|
-
|
|
90
|
-
.app-header {
|
|
91
|
-
width: 100%;
|
|
92
|
-
padding-top: 1.25rem;
|
|
93
|
-
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.header__container {
|
|
97
|
-
display: flex;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
align-items: flex-start;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.images__container {
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: flex-start;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
.header__content {
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: row;
|
|
110
|
-
h2 {
|
|
111
|
-
margin-bottom: 0;
|
|
112
|
-
}
|
|
113
|
-
.images {
|
|
114
|
-
margin-left: 10px;
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
user-select: none;
|
|
118
|
-
img {
|
|
119
|
-
$size: 32px;
|
|
120
|
-
display: block;
|
|
121
|
-
width: $size;
|
|
122
|
-
height: $size;
|
|
123
|
-
object-fit: cover;
|
|
124
|
-
border-radius: 100px;
|
|
125
|
-
border: 2px solid #fff;
|
|
126
|
-
&:not(:first-child) {
|
|
127
|
-
margin-left: -10px;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<base-header class="app-header" :type="'white'">
|
|
3
|
+
<div class="row justify-content-center">
|
|
4
|
+
<div
|
|
5
|
+
:class="{ 'images__container': images.length }"
|
|
6
|
+
class="col-6 my-auto header__container"
|
|
7
|
+
>
|
|
8
|
+
<slot name="header-top" />
|
|
9
|
+
|
|
10
|
+
<div class="header__content">
|
|
11
|
+
<h2 class="font-weight-bold display-3">{{name}}</h2>
|
|
12
|
+
<div class="images" v-if="images.length">
|
|
13
|
+
<img
|
|
14
|
+
v-for="(image, index) in images"
|
|
15
|
+
:key="index"
|
|
16
|
+
:src="image.src"
|
|
17
|
+
:alt="image.name"
|
|
18
|
+
>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<span id="credits-amount" v-if="subheader">
|
|
23
|
+
{{ subheader }} Créditos
|
|
24
|
+
</span>
|
|
25
|
+
|
|
26
|
+
<slot name="header-bottom" />
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div class="col-6 d-flex justify-content-end align-items-center">
|
|
30
|
+
<el-tooltip v-for="(item, index) in icons" :key="index"
|
|
31
|
+
v-show="!item.disabled"
|
|
32
|
+
class="item" effect="dark" :content="item.title" placement="top">
|
|
33
|
+
<base-button size="md" type="link" class="text-primary px-2 w-auto"
|
|
34
|
+
@click="$emit(item.event, item)">
|
|
35
|
+
<font-awesome-icon :icon="item.icon" class="mr-2" />
|
|
36
|
+
</base-button>
|
|
37
|
+
</el-tooltip>
|
|
38
|
+
|
|
39
|
+
<slot name="buttons" />
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<slot/>
|
|
43
|
+
</div>
|
|
44
|
+
</base-header>
|
|
45
|
+
</template>
|
|
46
|
+
<script>
|
|
47
|
+
export default {
|
|
48
|
+
data(){
|
|
49
|
+
return{
|
|
50
|
+
default: ''
|
|
51
|
+
};
|
|
52
|
+
},
|
|
53
|
+
props:{
|
|
54
|
+
icons:{
|
|
55
|
+
type: Array,
|
|
56
|
+
default: () =>[{ event: 'view', icon: ['fas', 'eye'], disabled: false, title: 'Visualizar' }, { event: 'config', icon: ['fas', 'cog'], disabled: false, title: 'Editar' } ]
|
|
57
|
+
},
|
|
58
|
+
name: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: 'Teste de matematica'
|
|
61
|
+
},
|
|
62
|
+
subheader: {
|
|
63
|
+
type: Number,
|
|
64
|
+
default: null
|
|
65
|
+
},
|
|
66
|
+
images: {
|
|
67
|
+
type: Array,
|
|
68
|
+
default: () => []
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
</script>
|
|
73
|
+
<style lang="scss" scoped>
|
|
74
|
+
#credits-amount {
|
|
75
|
+
margin: 0!important;
|
|
76
|
+
min-width: 8em;
|
|
77
|
+
margin: 1rem 1rem 1rem 0;
|
|
78
|
+
padding: 0.25em 1em;
|
|
79
|
+
font-size: 0.85rem;
|
|
80
|
+
line-height: 1.4em;
|
|
81
|
+
border-radius: 23rem;
|
|
82
|
+
font-weight: 400;
|
|
83
|
+
text-align: center;
|
|
84
|
+
background-color: rgba(29, 161, 241, 0.1);
|
|
85
|
+
color: #1da1f1;
|
|
86
|
+
}
|
|
87
|
+
</style>
|
|
88
|
+
<style lang="scss">
|
|
89
|
+
|
|
90
|
+
.app-header {
|
|
91
|
+
width: 100%;
|
|
92
|
+
padding-top: 1.25rem;
|
|
93
|
+
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.header__container {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: flex-start;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.images__container {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: flex-start;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
.header__content {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
h2 {
|
|
111
|
+
margin-bottom: 0;
|
|
112
|
+
}
|
|
113
|
+
.images {
|
|
114
|
+
margin-left: 10px;
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
user-select: none;
|
|
118
|
+
img {
|
|
119
|
+
$size: 32px;
|
|
120
|
+
display: block;
|
|
121
|
+
width: $size;
|
|
122
|
+
height: $size;
|
|
123
|
+
object-fit: cover;
|
|
124
|
+
border-radius: 100px;
|
|
125
|
+
border: 2px solid #fff;
|
|
126
|
+
&:not(:first-child) {
|
|
127
|
+
margin-left: -10px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
</style>
|