@burh/nuxt-core 1.0.340 → 1.0.342
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/_global.scss +323 -323
- package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
- package/assets/sass/burh-ds/content/_main-content.scss +25 -25
- package/components/argon-core/BaseDropdown.vue +114 -114
- package/components/argon-core/LoadingPanel.vue +26 -26
- package/components/argon-core/Modal.vue +183 -183
- package/components/burh-ds/Cards/BaseCard.vue +190 -188
- 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 +229 -229
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
- package/components/burh-ds/Dropdown/JobStatusDropdown.vue +153 -146
- package/components/burh-ds/Filters/BaseFilterContainer.vue +91 -71
- package/components/burh-ds/Filters/FilterWithDropdown.vue +228 -169
- package/components/burh-ds/Inputs/SearchInput.vue +64 -64
- package/components/burh-ds/Modals/NewUserModal.vue +87 -87
- package/components/burh-ds/Modals/SharedModal.vue +270 -270
- package/components/burh-ds/Modals/UniversityAccessModal.vue +134 -134
- package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
- package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
- package/components/burh-ds/Skeleton/BaseCourseInfo.vue +71 -71
- 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/environment.js +221 -221
- package/nuxt.config.js +207 -207
- package/package.json +1 -1
- package/plugins/vClickOutside.js +4 -4
|
@@ -1,146 +1,153 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
this.isDropdownOpen =
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
v-if="selectedOptionId"
|
|
4
|
+
v-click-outside="dropDownOutsideClick"
|
|
5
|
+
class="job__status"
|
|
6
|
+
>
|
|
7
|
+
<p class="job__status__title" @click.stop.prevent="toggleDropdown">
|
|
8
|
+
<span :class="`color--${options[(selectedOptionId - 1)].color}`"></span>
|
|
9
|
+
{{ options[(selectedOptionId - 1)].title }}
|
|
10
|
+
<i class="fas fa-caret-down"></i>
|
|
11
|
+
</p>
|
|
12
|
+
<ul class="job__status__dropdown" :class="{ 'job__status__dropdown--open': isDropdownOpen }">
|
|
13
|
+
<li
|
|
14
|
+
v-for="item in options"
|
|
15
|
+
:key="item.id"
|
|
16
|
+
>
|
|
17
|
+
<p
|
|
18
|
+
class="job__status__title"
|
|
19
|
+
v-if="item.id !== selectedOptionId"
|
|
20
|
+
@click.stop.prevent="selectOption(item.id)"
|
|
21
|
+
>
|
|
22
|
+
<span :class="`color--${item.color}`"></span>
|
|
23
|
+
{{ item.title }}
|
|
24
|
+
</p>
|
|
25
|
+
</li>
|
|
26
|
+
</ul>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
export default {
|
|
32
|
+
name: 'job-status-dropdown',
|
|
33
|
+
props: {
|
|
34
|
+
status: {
|
|
35
|
+
type: Number,
|
|
36
|
+
default: 1
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
data() {
|
|
40
|
+
return {
|
|
41
|
+
isDropdownOpen: false,
|
|
42
|
+
selectedOptionId: null,
|
|
43
|
+
options: [
|
|
44
|
+
{
|
|
45
|
+
id: 1,
|
|
46
|
+
title: 'Aberta',
|
|
47
|
+
color: 'green'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: 2,
|
|
51
|
+
title: 'Em Análise',
|
|
52
|
+
color: 'yellow'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 3,
|
|
56
|
+
title: 'Pausada',
|
|
57
|
+
color: 'pink'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 4,
|
|
61
|
+
title: 'Finalizada',
|
|
62
|
+
color: 'blue'
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
mounted() {
|
|
68
|
+
this.selectedOptionId = this.status;
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
toggleDropdown() {
|
|
72
|
+
this.isDropdownOpen = !this.isDropdownOpen;
|
|
73
|
+
},
|
|
74
|
+
selectOption(id) {
|
|
75
|
+
this.selectedOptionId = id;
|
|
76
|
+
this.isDropdownOpen = false;
|
|
77
|
+
this.$emit('select', id);
|
|
78
|
+
},
|
|
79
|
+
dropDownOutsideClick() {
|
|
80
|
+
this.isDropdownOpen = false;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<style lang="scss" scoped>
|
|
87
|
+
.job__status {
|
|
88
|
+
position: relative;
|
|
89
|
+
z-index: 120;
|
|
90
|
+
&__dropdown {
|
|
91
|
+
position: absolute;
|
|
92
|
+
left: -20px;
|
|
93
|
+
transform: translateY(-10px);
|
|
94
|
+
opacity: 0;
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
background: #fff;
|
|
97
|
+
box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
|
|
98
|
+
list-style: none;
|
|
99
|
+
border-radius: 4px;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
min-width: 220px;
|
|
102
|
+
padding: 0!important;
|
|
103
|
+
margin: 0!important;
|
|
104
|
+
transition: transform 0.3s, opacity 0.3s;
|
|
105
|
+
transform-origin: top;
|
|
106
|
+
&--open {
|
|
107
|
+
transform: translateY(10px);
|
|
108
|
+
opacity: 1;
|
|
109
|
+
pointer-events: all;
|
|
110
|
+
}
|
|
111
|
+
li {
|
|
112
|
+
display: block;
|
|
113
|
+
p {
|
|
114
|
+
padding: 15px 20px;
|
|
115
|
+
transition: background 0.5s, color 0.5s;
|
|
116
|
+
&:hover {
|
|
117
|
+
background: #F6F9FC;
|
|
118
|
+
color: #1F8CEB;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
&__title {
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
user-select: none;
|
|
128
|
+
margin: 0!important;
|
|
129
|
+
span {
|
|
130
|
+
display: block;
|
|
131
|
+
border-radius: 100px;
|
|
132
|
+
width: 12px;
|
|
133
|
+
height: 12px;
|
|
134
|
+
margin-right: 10px;
|
|
135
|
+
&.color--green {
|
|
136
|
+
background: #3AC089;
|
|
137
|
+
}
|
|
138
|
+
&.color--yellow {
|
|
139
|
+
background: #FFCF02;
|
|
140
|
+
}
|
|
141
|
+
&.color--pink {
|
|
142
|
+
background: #FF539D;
|
|
143
|
+
}
|
|
144
|
+
&.color--blue {
|
|
145
|
+
background: #0C95FC;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
i {
|
|
149
|
+
margin-left: 10px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
</style>
|
|
@@ -1,71 +1,91 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="base__filter">
|
|
3
|
-
<div class="base__filter__content">
|
|
4
|
-
<slot />
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div v-if="showFooter" class="base__filter__footer">
|
|
8
|
-
<div>
|
|
9
|
-
<button
|
|
10
|
-
@click="$emit('filter-clear')"
|
|
11
|
-
class="base__filter__button clear"
|
|
12
|
-
>
|
|
13
|
-
<span>Limpar</span>
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
<div>
|
|
17
|
-
<button
|
|
18
|
-
@click="$emit('filter-apply')"
|
|
19
|
-
class="base__filter__button apply"
|
|
20
|
-
>
|
|
21
|
-
<span>Filtrar</span>
|
|
22
|
-
</button>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</template>
|
|
27
|
-
|
|
28
|
-
<script>
|
|
29
|
-
export default {
|
|
30
|
-
name: 'base-filter-container',
|
|
31
|
-
props: {
|
|
32
|
-
showFooter: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: true
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
</script>
|
|
39
|
-
|
|
40
|
-
<style lang="scss" scoped>
|
|
41
|
-
.base__filter {
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
justify-content: space-between;
|
|
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
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="base__filter">
|
|
3
|
+
<div class="base__filter__content">
|
|
4
|
+
<slot />
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div v-if="showFooter" class="base__filter__footer">
|
|
8
|
+
<div>
|
|
9
|
+
<button
|
|
10
|
+
@click="$emit('filter-clear')"
|
|
11
|
+
class="base__filter__button clear"
|
|
12
|
+
>
|
|
13
|
+
<span>Limpar</span>
|
|
14
|
+
</button>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<button
|
|
18
|
+
@click="$emit('filter-apply')"
|
|
19
|
+
class="base__filter__button apply"
|
|
20
|
+
>
|
|
21
|
+
<span>Filtrar</span>
|
|
22
|
+
</button>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
export default {
|
|
30
|
+
name: 'base-filter-container',
|
|
31
|
+
props: {
|
|
32
|
+
showFooter: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style lang="scss" scoped>
|
|
41
|
+
.base__filter {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
max-height: 350px;
|
|
46
|
+
&__content {
|
|
47
|
+
max-height: calc(350px - 44px);
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
&::-webkit-scrollbar-track {
|
|
51
|
+
border-radius: 10px;
|
|
52
|
+
background-color: #f5f5f5;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&::-webkit-scrollbar {
|
|
56
|
+
width: 4px;
|
|
57
|
+
background-color: #f5f5f5;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&::-webkit-scrollbar-thumb {
|
|
61
|
+
border-radius: 10px;
|
|
62
|
+
background-color: #e9e8e8;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&__footer {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
margin-top: 20px;
|
|
70
|
+
.base__filter__button {
|
|
71
|
+
background: transparent;
|
|
72
|
+
border: none;
|
|
73
|
+
color: #32325d;
|
|
74
|
+
padding: 10px 20px;
|
|
75
|
+
border-radius: 4px;
|
|
76
|
+
transition: background 0.5s, color 0.5s;
|
|
77
|
+
&:focus {
|
|
78
|
+
outline: none;
|
|
79
|
+
}
|
|
80
|
+
&.clear:hover {
|
|
81
|
+
background: rgba(222, 33, 75, 0.1);
|
|
82
|
+
color: #de214b;
|
|
83
|
+
}
|
|
84
|
+
&.apply:hover {
|
|
85
|
+
background: rgba(88, 101, 242, 0.1);
|
|
86
|
+
color: #5865F2;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</style>
|