@burh/nuxt-core 1.0.291 → 1.0.293
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/_buttons.scss +219 -219
- package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
- package/assets/sass/burh-ds/content/_main-content.scss +25 -25
- package/assets/sass/burh-ds/variables/_colors.scss +350 -350
- package/components/argon-core/BaseDropdown.vue +114 -114
- package/components/argon-core/BaseProgress.vue +121 -121
- package/components/argon-core/Modal.vue +184 -184
- package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
- package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
- package/components/burh-ds/Cards/RecruitmentCard.vue +214 -214
- package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +497 -496
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
- package/components/burh-ds/Dropdown/JobStatusDropdown.vue +145 -145
- package/components/burh-ds/Headings/AppHeader.vue +162 -162
- package/components/burh-ds/Inputs/SearchInput.vue +64 -64
- package/components/burh-ds/Lists/VagasSimple.vue +404 -404
- package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
- package/components/burh-ds/Loads/LoadingBar.vue +83 -83
- package/components/burh-ds/Modals/MobileModal.vue +65 -65
- package/components/burh-ds/Modals/NewUserModal.vue +87 -87
- package/components/burh-ds/Modals/SharedModal.vue +270 -270
- package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
- package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
- package/components/burh-ds/Skeleton/Cards.vue +86 -86
- package/components/burh-ds/Skeleton/Home.vue +100 -100
- package/components/burh-ds/Skeleton/RecruitmentCard.vue +169 -169
- package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
- package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
- package/nuxt.config.js +206 -206
- package/package.json +1 -1
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<SlideYUpTransition :duration="animationDuration">
|
|
3
|
-
<div
|
|
4
|
-
class="modal fade"
|
|
5
|
-
@click.self="closeModal"
|
|
6
|
-
:class="[
|
|
7
|
-
{ 'show d-block': show },
|
|
8
|
-
{ 'd-none': !show },
|
|
9
|
-
{ 'modal-mini': type === 'mini' }
|
|
10
|
-
]"
|
|
11
|
-
v-show="show"
|
|
12
|
-
tabindex="-1"
|
|
13
|
-
role="dialog"
|
|
14
|
-
:aria-hidden="!show"
|
|
15
|
-
>
|
|
16
|
-
<div
|
|
17
|
-
class="modal-dialog modal-dialog-centered"
|
|
18
|
-
:class="[
|
|
19
|
-
{
|
|
20
|
-
'modal-notice': type === 'notice',
|
|
21
|
-
[`modal-${size}`]: size
|
|
22
|
-
},
|
|
23
|
-
modalClasses
|
|
24
|
-
]"
|
|
25
|
-
>
|
|
26
|
-
<div
|
|
27
|
-
class="modal-content"
|
|
28
|
-
:class="[
|
|
29
|
-
gradient ? `bg-gradient-${gradient}` : '',
|
|
30
|
-
modalContentClasses
|
|
31
|
-
]"
|
|
32
|
-
>
|
|
33
|
-
<div
|
|
34
|
-
class="modal-header"
|
|
35
|
-
:class="[headerClasses]"
|
|
36
|
-
v-if="$slots.header"
|
|
37
|
-
>
|
|
38
|
-
<slot name="header"></slot>
|
|
39
|
-
<slot name="close-button">
|
|
40
|
-
<button
|
|
41
|
-
class="tool tool-close"
|
|
42
|
-
v-if="showClose"
|
|
43
|
-
@click="closeModal"
|
|
44
|
-
data-dismiss="modal"
|
|
45
|
-
aria-label="Close"
|
|
46
|
-
>
|
|
47
|
-
Fechar
|
|
48
|
-
<font-awesome-icon
|
|
49
|
-
:icon="['fas', 'times']"
|
|
50
|
-
class="text-white ml-1"
|
|
51
|
-
/>
|
|
52
|
-
</button>
|
|
53
|
-
</slot>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="modal-body" :class="bodyClasses">
|
|
57
|
-
<slot></slot>
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
<div
|
|
61
|
-
class="modal-footer"
|
|
62
|
-
:class="footerClasses"
|
|
63
|
-
v-if="$slots.footer"
|
|
64
|
-
>
|
|
65
|
-
<slot name="footer"></slot>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</SlideYUpTransition>
|
|
71
|
-
</template>
|
|
72
|
-
<script>
|
|
73
|
-
import { SlideYUpTransition } from 'vue2-transitions';
|
|
74
|
-
|
|
75
|
-
export default {
|
|
76
|
-
name: 'modal',
|
|
77
|
-
components: {
|
|
78
|
-
SlideYUpTransition
|
|
79
|
-
},
|
|
80
|
-
props: {
|
|
81
|
-
show: Boolean,
|
|
82
|
-
showClose: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: true
|
|
85
|
-
},
|
|
86
|
-
type: {
|
|
87
|
-
type: String,
|
|
88
|
-
default: '',
|
|
89
|
-
validator(value) {
|
|
90
|
-
let acceptedValues = ['', 'notice', 'mini'];
|
|
91
|
-
return acceptedValues.indexOf(value) !== -1;
|
|
92
|
-
},
|
|
93
|
-
description: 'Modal type (notice|mini|"") '
|
|
94
|
-
},
|
|
95
|
-
modalClasses: {
|
|
96
|
-
type: [Object, String],
|
|
97
|
-
description: 'Modal dialog css classes'
|
|
98
|
-
},
|
|
99
|
-
size: {
|
|
100
|
-
type: String,
|
|
101
|
-
description: 'Modal size',
|
|
102
|
-
validator(value) {
|
|
103
|
-
let acceptedValues = ['', 'sm', 'lg', 'xl'];
|
|
104
|
-
return acceptedValues.indexOf(value) !== -1;
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
modalContentClasses: {
|
|
108
|
-
type: [Object, String],
|
|
109
|
-
description: 'Modal dialog content css classes'
|
|
110
|
-
},
|
|
111
|
-
gradient: {
|
|
112
|
-
type: String,
|
|
113
|
-
description: 'Modal gradient type (danger, primary etc)'
|
|
114
|
-
},
|
|
115
|
-
headerClasses: {
|
|
116
|
-
type: [Object, String],
|
|
117
|
-
description: 'Modal Header css classes'
|
|
118
|
-
},
|
|
119
|
-
bodyClasses: {
|
|
120
|
-
type: [Object, String],
|
|
121
|
-
description: 'Modal Body css classes'
|
|
122
|
-
},
|
|
123
|
-
footerClasses: {
|
|
124
|
-
type: [Object, String],
|
|
125
|
-
description: 'Modal Footer css classes'
|
|
126
|
-
},
|
|
127
|
-
animationDuration: {
|
|
128
|
-
type: Number,
|
|
129
|
-
default: 500,
|
|
130
|
-
description: 'Modal transition duration'
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
methods: {
|
|
134
|
-
closeModal() {
|
|
135
|
-
this.$emit('update:show', false);
|
|
136
|
-
this.$emit('close');
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
watch: {
|
|
140
|
-
show(val) {
|
|
141
|
-
let documentClasses = document.body.classList;
|
|
142
|
-
if (val) {
|
|
143
|
-
documentClasses.add('modal-open');
|
|
144
|
-
} else {
|
|
145
|
-
documentClasses.remove('modal-open');
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
</script>
|
|
151
|
-
<style lang="scss">
|
|
152
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
153
|
-
|
|
154
|
-
.modal.show {
|
|
155
|
-
background-color: rgba(23,43,77, 0.7);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.tool {
|
|
159
|
-
position: absolute;
|
|
160
|
-
top: 1rem;
|
|
161
|
-
z-index: 10;
|
|
162
|
-
color: $primary;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
border: none;
|
|
165
|
-
|
|
166
|
-
&-close {
|
|
167
|
-
position: absolute;
|
|
168
|
-
width: 88px;
|
|
169
|
-
height: 27px;
|
|
170
|
-
right: 7px;
|
|
171
|
-
top: 7px;
|
|
172
|
-
display: flex;
|
|
173
|
-
justify-content: center;
|
|
174
|
-
align-items: center;
|
|
175
|
-
|
|
176
|
-
font-size: 11px;
|
|
177
|
-
|
|
178
|
-
font-weight: 500;
|
|
179
|
-
background: rgba(0, 0, 0, 0.2);
|
|
180
|
-
border-radius: 17.5px;
|
|
181
|
-
color: #fff;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<SlideYUpTransition :duration="animationDuration">
|
|
3
|
+
<div
|
|
4
|
+
class="modal fade"
|
|
5
|
+
@click.self="closeModal"
|
|
6
|
+
:class="[
|
|
7
|
+
{ 'show d-block': show },
|
|
8
|
+
{ 'd-none': !show },
|
|
9
|
+
{ 'modal-mini': type === 'mini' }
|
|
10
|
+
]"
|
|
11
|
+
v-show="show"
|
|
12
|
+
tabindex="-1"
|
|
13
|
+
role="dialog"
|
|
14
|
+
:aria-hidden="!show"
|
|
15
|
+
>
|
|
16
|
+
<div
|
|
17
|
+
class="modal-dialog modal-dialog-centered"
|
|
18
|
+
:class="[
|
|
19
|
+
{
|
|
20
|
+
'modal-notice': type === 'notice',
|
|
21
|
+
[`modal-${size}`]: size
|
|
22
|
+
},
|
|
23
|
+
modalClasses
|
|
24
|
+
]"
|
|
25
|
+
>
|
|
26
|
+
<div
|
|
27
|
+
class="modal-content"
|
|
28
|
+
:class="[
|
|
29
|
+
gradient ? `bg-gradient-${gradient}` : '',
|
|
30
|
+
modalContentClasses
|
|
31
|
+
]"
|
|
32
|
+
>
|
|
33
|
+
<div
|
|
34
|
+
class="modal-header"
|
|
35
|
+
:class="[headerClasses]"
|
|
36
|
+
v-if="$slots.header"
|
|
37
|
+
>
|
|
38
|
+
<slot name="header"></slot>
|
|
39
|
+
<slot name="close-button">
|
|
40
|
+
<button
|
|
41
|
+
class="tool tool-close"
|
|
42
|
+
v-if="showClose"
|
|
43
|
+
@click="closeModal"
|
|
44
|
+
data-dismiss="modal"
|
|
45
|
+
aria-label="Close"
|
|
46
|
+
>
|
|
47
|
+
Fechar
|
|
48
|
+
<font-awesome-icon
|
|
49
|
+
:icon="['fas', 'times']"
|
|
50
|
+
class="text-white ml-1"
|
|
51
|
+
/>
|
|
52
|
+
</button>
|
|
53
|
+
</slot>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div class="modal-body" :class="bodyClasses">
|
|
57
|
+
<slot></slot>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div
|
|
61
|
+
class="modal-footer"
|
|
62
|
+
:class="footerClasses"
|
|
63
|
+
v-if="$slots.footer"
|
|
64
|
+
>
|
|
65
|
+
<slot name="footer"></slot>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</SlideYUpTransition>
|
|
71
|
+
</template>
|
|
72
|
+
<script>
|
|
73
|
+
import { SlideYUpTransition } from 'vue2-transitions';
|
|
74
|
+
|
|
75
|
+
export default {
|
|
76
|
+
name: 'modal',
|
|
77
|
+
components: {
|
|
78
|
+
SlideYUpTransition
|
|
79
|
+
},
|
|
80
|
+
props: {
|
|
81
|
+
show: Boolean,
|
|
82
|
+
showClose: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: true
|
|
85
|
+
},
|
|
86
|
+
type: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: '',
|
|
89
|
+
validator(value) {
|
|
90
|
+
let acceptedValues = ['', 'notice', 'mini'];
|
|
91
|
+
return acceptedValues.indexOf(value) !== -1;
|
|
92
|
+
},
|
|
93
|
+
description: 'Modal type (notice|mini|"") '
|
|
94
|
+
},
|
|
95
|
+
modalClasses: {
|
|
96
|
+
type: [Object, String],
|
|
97
|
+
description: 'Modal dialog css classes'
|
|
98
|
+
},
|
|
99
|
+
size: {
|
|
100
|
+
type: String,
|
|
101
|
+
description: 'Modal size',
|
|
102
|
+
validator(value) {
|
|
103
|
+
let acceptedValues = ['', 'sm', 'lg', 'xl'];
|
|
104
|
+
return acceptedValues.indexOf(value) !== -1;
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
modalContentClasses: {
|
|
108
|
+
type: [Object, String],
|
|
109
|
+
description: 'Modal dialog content css classes'
|
|
110
|
+
},
|
|
111
|
+
gradient: {
|
|
112
|
+
type: String,
|
|
113
|
+
description: 'Modal gradient type (danger, primary etc)'
|
|
114
|
+
},
|
|
115
|
+
headerClasses: {
|
|
116
|
+
type: [Object, String],
|
|
117
|
+
description: 'Modal Header css classes'
|
|
118
|
+
},
|
|
119
|
+
bodyClasses: {
|
|
120
|
+
type: [Object, String],
|
|
121
|
+
description: 'Modal Body css classes'
|
|
122
|
+
},
|
|
123
|
+
footerClasses: {
|
|
124
|
+
type: [Object, String],
|
|
125
|
+
description: 'Modal Footer css classes'
|
|
126
|
+
},
|
|
127
|
+
animationDuration: {
|
|
128
|
+
type: Number,
|
|
129
|
+
default: 500,
|
|
130
|
+
description: 'Modal transition duration'
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
methods: {
|
|
134
|
+
closeModal() {
|
|
135
|
+
this.$emit('update:show', false);
|
|
136
|
+
this.$emit('close');
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
watch: {
|
|
140
|
+
show(val) {
|
|
141
|
+
let documentClasses = document.body.classList;
|
|
142
|
+
if (val) {
|
|
143
|
+
documentClasses.add('modal-open');
|
|
144
|
+
} else {
|
|
145
|
+
documentClasses.remove('modal-open');
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
</script>
|
|
151
|
+
<style lang="scss">
|
|
152
|
+
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
153
|
+
|
|
154
|
+
.modal.show {
|
|
155
|
+
background-color: rgba(23,43,77, 0.7);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.tool {
|
|
159
|
+
position: absolute;
|
|
160
|
+
top: 1rem;
|
|
161
|
+
z-index: 10;
|
|
162
|
+
color: $primary;
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
border: none;
|
|
165
|
+
|
|
166
|
+
&-close {
|
|
167
|
+
position: absolute;
|
|
168
|
+
width: 88px;
|
|
169
|
+
height: 27px;
|
|
170
|
+
right: 7px;
|
|
171
|
+
top: 7px;
|
|
172
|
+
display: flex;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
align-items: center;
|
|
175
|
+
|
|
176
|
+
font-size: 11px;
|
|
177
|
+
|
|
178
|
+
font-weight: 500;
|
|
179
|
+
background: rgba(0, 0, 0, 0.2);
|
|
180
|
+
border-radius: 17.5px;
|
|
181
|
+
color: #fff;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
</style>
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="feature__card">
|
|
3
|
-
<div class="feature__card__image" :style="`--icon-bg-color: #${iconBgColor}`">
|
|
4
|
-
<img :src="icon" :alt="title">
|
|
5
|
-
</div>
|
|
6
|
-
<div class="feature__card__title">
|
|
7
|
-
<p>{{ title }}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="feature__card__description">
|
|
10
|
-
<span>{{ description }}</span>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
export default {
|
|
17
|
-
name: 'FeatureBusinessCard',
|
|
18
|
-
props: {
|
|
19
|
-
icon: String,
|
|
20
|
-
iconBgColor: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: '5983FE'
|
|
23
|
-
},
|
|
24
|
-
title: String,
|
|
25
|
-
description: String,
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
</script>
|
|
29
|
-
|
|
30
|
-
<style lang="scss" scoped>
|
|
31
|
-
.feature__card {
|
|
32
|
-
background: #fff;
|
|
33
|
-
padding: 20px;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
align-items: flex-start;
|
|
37
|
-
box-shadow: 5px 5px 50px 2px #E9EEF2;
|
|
38
|
-
border-radius: 10px;
|
|
39
|
-
width: 100%;
|
|
40
|
-
min-width: 300px;
|
|
41
|
-
margin: 0 auto;
|
|
42
|
-
transition: transform 0.25s, box-shadow 0.5s;
|
|
43
|
-
&__image {
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
width: 45px;
|
|
48
|
-
height: 45px;
|
|
49
|
-
border-radius: 10px;
|
|
50
|
-
background: var(--icon-bg-color);
|
|
51
|
-
img {
|
|
52
|
-
display: block;
|
|
53
|
-
width: 25px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
&__title {
|
|
57
|
-
padding: 10px 0;
|
|
58
|
-
p {
|
|
59
|
-
font-size: 1.5625rem;
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
margin-bottom: 0;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&__description {
|
|
65
|
-
text-align: left;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
font-size: 0.875rem;
|
|
68
|
-
}
|
|
69
|
-
&:hover {
|
|
70
|
-
transform: translateY(-10px);
|
|
71
|
-
box-shadow: 7px 15px 20px rgba(0, 0, 0, 0.05);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="feature__card">
|
|
3
|
+
<div class="feature__card__image" :style="`--icon-bg-color: #${iconBgColor}`">
|
|
4
|
+
<img :src="icon" :alt="title">
|
|
5
|
+
</div>
|
|
6
|
+
<div class="feature__card__title">
|
|
7
|
+
<p>{{ title }}</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="feature__card__description">
|
|
10
|
+
<span>{{ description }}</span>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
name: 'FeatureBusinessCard',
|
|
18
|
+
props: {
|
|
19
|
+
icon: String,
|
|
20
|
+
iconBgColor: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '5983FE'
|
|
23
|
+
},
|
|
24
|
+
title: String,
|
|
25
|
+
description: String,
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<style lang="scss" scoped>
|
|
31
|
+
.feature__card {
|
|
32
|
+
background: #fff;
|
|
33
|
+
padding: 20px;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: flex-start;
|
|
37
|
+
box-shadow: 5px 5px 50px 2px #E9EEF2;
|
|
38
|
+
border-radius: 10px;
|
|
39
|
+
width: 100%;
|
|
40
|
+
min-width: 300px;
|
|
41
|
+
margin: 0 auto;
|
|
42
|
+
transition: transform 0.25s, box-shadow 0.5s;
|
|
43
|
+
&__image {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
width: 45px;
|
|
48
|
+
height: 45px;
|
|
49
|
+
border-radius: 10px;
|
|
50
|
+
background: var(--icon-bg-color);
|
|
51
|
+
img {
|
|
52
|
+
display: block;
|
|
53
|
+
width: 25px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&__title {
|
|
57
|
+
padding: 10px 0;
|
|
58
|
+
p {
|
|
59
|
+
font-size: 1.5625rem;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
margin-bottom: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&__description {
|
|
65
|
+
text-align: left;
|
|
66
|
+
font-weight: 400;
|
|
67
|
+
font-size: 0.875rem;
|
|
68
|
+
}
|
|
69
|
+
&:hover {
|
|
70
|
+
transform: translateY(-10px);
|
|
71
|
+
box-shadow: 7px 15px 20px rgba(0, 0, 0, 0.05);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<card class="card">
|
|
3
|
-
<h4 class="aria-text">Funcionalidades</h4>
|
|
4
|
-
<ul class="list-unstyled list line-card">
|
|
5
|
-
<functionality-item
|
|
6
|
-
class="cursor-pointer card-item"
|
|
7
|
-
:icone="firstItemIcon"
|
|
8
|
-
:text="firstItemText"
|
|
9
|
-
@functionality-click="$emit('click-first-item')"
|
|
10
|
-
/>
|
|
11
|
-
<functionality-item
|
|
12
|
-
class="cursor-pointer border-left card-item"
|
|
13
|
-
:icone="secondItemIcon"
|
|
14
|
-
:text="secondItemText"
|
|
15
|
-
@functionality-click="$emit('click-second-item')"
|
|
16
|
-
/>
|
|
17
|
-
</ul>
|
|
18
|
-
<hr />
|
|
19
|
-
<h6 class="list-title font-weight-bold">{{ title }}</h6>
|
|
20
|
-
<ul class="list-unstyled list line-card">
|
|
21
|
-
<slot></slot>
|
|
22
|
-
</ul>
|
|
23
|
-
<p class="footer-text">{{ context }}</p>
|
|
24
|
-
</card>
|
|
25
|
-
</template>
|
|
26
|
-
<script>
|
|
27
|
-
import FunctionalityItem from './FunctionalityItem';
|
|
28
|
-
export default {
|
|
29
|
-
name: 'performance-card',
|
|
30
|
-
components: {
|
|
31
|
-
FunctionalityItem
|
|
32
|
-
},
|
|
33
|
-
props: {
|
|
34
|
-
title: String,
|
|
35
|
-
context: String,
|
|
36
|
-
firstItemText: String,
|
|
37
|
-
secondItemText: String,
|
|
38
|
-
firstItemIcon: String,
|
|
39
|
-
secondItemIcon: String,
|
|
40
|
-
subscribers: Number,
|
|
41
|
-
jobs: Number,
|
|
42
|
-
visualization: Number,
|
|
43
|
-
skeleton: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: false
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
</script>
|
|
50
|
-
<style lang="scss" scoped>
|
|
51
|
-
hr {
|
|
52
|
-
border-color: #e9ecef;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.list {
|
|
56
|
-
margin: 1.8rem 0;
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: space-evenly;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.line-card {
|
|
62
|
-
ul {
|
|
63
|
-
&:not(:first-child) {
|
|
64
|
-
border: 2px solid #e9ecef;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.card-item {
|
|
70
|
-
width: 50%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.footer-text {
|
|
74
|
-
margin-left: 1rem;
|
|
75
|
-
opacity: 0.4;
|
|
76
|
-
font-size: smaller;
|
|
77
|
-
}
|
|
78
|
-
.padding-border {
|
|
79
|
-
padding-left: 7.5rem;
|
|
80
|
-
}
|
|
81
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<card class="card">
|
|
3
|
+
<h4 class="aria-text">Funcionalidades</h4>
|
|
4
|
+
<ul class="list-unstyled list line-card">
|
|
5
|
+
<functionality-item
|
|
6
|
+
class="cursor-pointer card-item"
|
|
7
|
+
:icone="firstItemIcon"
|
|
8
|
+
:text="firstItemText"
|
|
9
|
+
@functionality-click="$emit('click-first-item')"
|
|
10
|
+
/>
|
|
11
|
+
<functionality-item
|
|
12
|
+
class="cursor-pointer border-left card-item"
|
|
13
|
+
:icone="secondItemIcon"
|
|
14
|
+
:text="secondItemText"
|
|
15
|
+
@functionality-click="$emit('click-second-item')"
|
|
16
|
+
/>
|
|
17
|
+
</ul>
|
|
18
|
+
<hr />
|
|
19
|
+
<h6 class="list-title font-weight-bold">{{ title }}</h6>
|
|
20
|
+
<ul class="list-unstyled list line-card">
|
|
21
|
+
<slot></slot>
|
|
22
|
+
</ul>
|
|
23
|
+
<p class="footer-text">{{ context }}</p>
|
|
24
|
+
</card>
|
|
25
|
+
</template>
|
|
26
|
+
<script>
|
|
27
|
+
import FunctionalityItem from './FunctionalityItem';
|
|
28
|
+
export default {
|
|
29
|
+
name: 'performance-card',
|
|
30
|
+
components: {
|
|
31
|
+
FunctionalityItem
|
|
32
|
+
},
|
|
33
|
+
props: {
|
|
34
|
+
title: String,
|
|
35
|
+
context: String,
|
|
36
|
+
firstItemText: String,
|
|
37
|
+
secondItemText: String,
|
|
38
|
+
firstItemIcon: String,
|
|
39
|
+
secondItemIcon: String,
|
|
40
|
+
subscribers: Number,
|
|
41
|
+
jobs: Number,
|
|
42
|
+
visualization: Number,
|
|
43
|
+
skeleton: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
</script>
|
|
50
|
+
<style lang="scss" scoped>
|
|
51
|
+
hr {
|
|
52
|
+
border-color: #e9ecef;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.list {
|
|
56
|
+
margin: 1.8rem 0;
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: space-evenly;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.line-card {
|
|
62
|
+
ul {
|
|
63
|
+
&:not(:first-child) {
|
|
64
|
+
border: 2px solid #e9ecef;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.card-item {
|
|
70
|
+
width: 50%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.footer-text {
|
|
74
|
+
margin-left: 1rem;
|
|
75
|
+
opacity: 0.4;
|
|
76
|
+
font-size: smaller;
|
|
77
|
+
}
|
|
78
|
+
.padding-border {
|
|
79
|
+
padding-left: 7.5rem;
|
|
80
|
+
}
|
|
81
|
+
</style>
|