@burh/nuxt-core 1.0.166 → 1.0.168
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.
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<div
|
|
49
49
|
v-show="userData.user_education.length > 0"
|
|
50
50
|
class="education ml-3"
|
|
51
|
-
v-for="(edu, index) in
|
|
51
|
+
v-for="(edu, index) in userData.user_education"
|
|
52
52
|
:key="index"
|
|
53
53
|
>
|
|
54
54
|
<p class="sub-title">{{ edu.formation }}</p>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<div
|
|
71
71
|
v-show="userData.user_experience.length > 0"
|
|
72
72
|
class="experience ml-3 mr-3"
|
|
73
|
-
v-for="(exp, index) in
|
|
73
|
+
v-for="(exp, index) in userData.user_experience"
|
|
74
74
|
:key="`experience-${index}`"
|
|
75
75
|
>
|
|
76
76
|
<p class="sub-title">{{ exp.job_title }}</p>
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
<div
|
|
106
106
|
v-show="userData.user_course.length > 0"
|
|
107
107
|
class="courses ml-3"
|
|
108
|
-
v-for="(cou, index) in
|
|
108
|
+
v-for="(cou, index) in userData.user_course"
|
|
109
109
|
:key="`course-${index}`"
|
|
110
110
|
>
|
|
111
111
|
<p class="sub-title">{{ cou.institution }}</p>
|
|
@@ -129,6 +129,13 @@ export default {
|
|
|
129
129
|
default: () => []
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
|
+
watch: {
|
|
133
|
+
userData() {
|
|
134
|
+
this.userData.user_experience = this.filterByDate(this.userData.user_experience);
|
|
135
|
+
this.userData.user_course = this.filterByDate(this.userData.user_course, 'old');
|
|
136
|
+
this.userData.user_education =this.filterByDate(this.userData.user_education, 'old');
|
|
137
|
+
}
|
|
138
|
+
},
|
|
132
139
|
methods: {
|
|
133
140
|
filterByDate(data, by = 'new') {
|
|
134
141
|
let sortedArray = data.sort((a, b) => {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
|
|
84
84
|
<div class="row">
|
|
85
|
-
<div class="col-
|
|
85
|
+
<div class="col-6" @click="copyToClipboard">
|
|
86
86
|
<label class="ml-5 social social-label" for="linkShareModal"
|
|
87
87
|
>Link compartilhável</label
|
|
88
88
|
>
|
|
@@ -96,7 +96,16 @@
|
|
|
96
96
|
/>
|
|
97
97
|
</div>
|
|
98
98
|
|
|
99
|
-
<div class="col-
|
|
99
|
+
<div class="col-6 text-center pt-1">
|
|
100
|
+
<base-button
|
|
101
|
+
size="sm"
|
|
102
|
+
type="outline-primary"
|
|
103
|
+
class="mt-4 ml-3"
|
|
104
|
+
@click="$emit('close-modal')"
|
|
105
|
+
>
|
|
106
|
+
Voltar
|
|
107
|
+
</base-button>
|
|
108
|
+
|
|
100
109
|
<base-button
|
|
101
110
|
id="btnCopyLinkShare"
|
|
102
111
|
size="sm"
|
|
@@ -185,7 +194,7 @@ export default {
|
|
|
185
194
|
}
|
|
186
195
|
|
|
187
196
|
&-input {
|
|
188
|
-
width:
|
|
197
|
+
/* width: 300px; */
|
|
189
198
|
border: none;
|
|
190
199
|
border-radius: 5px;
|
|
191
200
|
background: #e9ecef;
|