@burh/nuxt-core 1.1.4 → 1.1.6
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.
|
@@ -780,6 +780,20 @@ export default {
|
|
|
780
780
|
companyHistory() {
|
|
781
781
|
let history = [];
|
|
782
782
|
|
|
783
|
+
let jobs = this.userData.user_applied_job.map(job => {
|
|
784
|
+
return {
|
|
785
|
+
id: job.id,
|
|
786
|
+
date: job.subscribe_at,
|
|
787
|
+
user: {
|
|
788
|
+
name: this.userData.name
|
|
789
|
+
},
|
|
790
|
+
job: {
|
|
791
|
+
name: job.job.title
|
|
792
|
+
},
|
|
793
|
+
text: `Se inscreveu na vaga ${job.job.title}`
|
|
794
|
+
};
|
|
795
|
+
});
|
|
796
|
+
|
|
783
797
|
let tests = this.userData.tests.map(x => {
|
|
784
798
|
let test = {
|
|
785
799
|
id: x.id,
|
|
@@ -816,7 +830,7 @@ export default {
|
|
|
816
830
|
text: 'Realizou um teste DISC'
|
|
817
831
|
}));
|
|
818
832
|
|
|
819
|
-
history = history.concat(tests, discs, courses);
|
|
833
|
+
history = history.concat(jobs, tests, discs, courses);
|
|
820
834
|
|
|
821
835
|
return history;
|
|
822
836
|
},
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
v-show="isDropdownOpen"
|
|
35
35
|
class="filter__dropdown"
|
|
36
36
|
ref="dropdownContainer"
|
|
37
|
+
:style="`--filter-dropdown-width: ${dropdownWidth}px`"
|
|
37
38
|
>
|
|
38
39
|
<div class="filter__dropdown__content">
|
|
39
40
|
<slot name="dropdown-content" />
|
|
@@ -70,6 +71,10 @@ export default {
|
|
|
70
71
|
baseColor: {
|
|
71
72
|
type: String,
|
|
72
73
|
default: '#5865F2'
|
|
74
|
+
},
|
|
75
|
+
dropdownWidth: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: '350'
|
|
73
78
|
}
|
|
74
79
|
},
|
|
75
80
|
data() {
|
|
@@ -183,8 +188,10 @@ export default {
|
|
|
183
188
|
z-index: 100;
|
|
184
189
|
margin-bottom: 10px;
|
|
185
190
|
.filter__dropdown {
|
|
191
|
+
$width: var(--filter-dropdown-width);
|
|
192
|
+
|
|
186
193
|
position: absolute;
|
|
187
|
-
width:
|
|
194
|
+
width: $width;
|
|
188
195
|
left: calc(50% + (10px / 2));
|
|
189
196
|
transform: translateX(-50%);
|
|
190
197
|
margin-top: 10px;
|