@burh/nuxt-core 1.0.349 → 1.0.351

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.
@@ -1,509 +1,509 @@
1
- <template>
2
- <div class="bg-white content-left">
3
- <div class="profile w-100 text-center">
4
- <div class="avatar">
5
- <img
6
- v-if="userData.urlAvatar"
7
- :src="userData.urlAvatar"
8
- :alt="userData.name"
9
- />
10
- <div v-else class="no-image">
11
- {{ userData.name }}
12
- </div>
13
- </div>
14
-
15
- <h5
16
- class="mb-0 text-wrap"
17
- :class="{ 'mt-5': !userData.urlAvatar }"
18
- v-html="
19
- highlightText(
20
- search,
21
- `${userData.name} ${userData.last_name}`
22
- )
23
- "
24
- ></h5>
25
-
26
- <p
27
- class="user-info"
28
- v-if="userData.user_experience.length > 0"
29
- v-html="
30
- highlightText(
31
- search,
32
- `${userData.user_experience[0].job_title} em ${userData.user_experience[0].company}`
33
- )
34
- "
35
- ></p>
36
-
37
- <span v-if="userData.user_address">
38
- <i class="fas fa-map-marker-alt"></i>
39
- {{ userData.user_address.city_name }} -
40
- {{ userData.user_address.region_code }}
41
- </span>
42
- <br />
43
- <span
44
- v-if="
45
- userData.user_complementary_information.wage_pretension > 1
46
- "
47
- >Pretensão salarial:
48
- {{
49
- userData.user_complementary_information.wage_pretension
50
- | convertMoney
51
- }}</span
52
- >
53
- </div>
54
-
55
- <div
56
- class="deficiency title-block mt-3 ml-4"
57
- v-if="userData.user_deficiency"
58
- >
59
- <div class="d-flex align-items-center">
60
- <i class="fas fa-wheelchair"></i>
61
- <h6 class="mb-0 ml-2">Deficiência</h6>
62
- </div>
63
- <div class="line"></div>
64
- <p>
65
- {{ userData.user_deficiency.deficiency_id | allDeficiencies }} -
66
- {{ userData.user_deficiency.cid }}
67
- </p>
68
-
69
- <p v-show="userData.user_deficiency.appliance">
70
- Acessório: {{ userData.user_deficiency.appliance }}
71
- </p>
72
-
73
- <p v-show="userData.user_deficiency.apparatus">
74
- Necessidade: {{ userData.user_deficiency.apparatus }}
75
- </p>
76
-
77
- <p v-show="userData.user_deficiency.course">
78
- Curso: {{ userData.user_deficiency.course }}
79
- </p>
80
-
81
- <p v-show="userData.user_deficiency.note">
82
- Anotações: {{ userData.user_deficiency.note }}
83
- </p>
84
-
85
- <p v-show="userData.user_deficiency.transport === 1">
86
- Utiliza transporte coletivo
87
- </p>
88
-
89
- <p v-show="userData.user_deficiency.vehicle === 1">
90
- Possuí veículo adaptado
91
- </p>
92
-
93
- <p v-show="userData.user_deficiency.escort === 1">
94
- Precisa de acompanhante
95
- </p>
96
- </div>
97
-
98
- <div
99
- v-show="userData.user_desired_job.length > 0"
100
- class="desidered title-block mt-3 ml-4"
101
- >
102
- <h6 class="mb-0">Cargos desejados</h6>
103
- <div class="line"></div>
104
-
105
- <p
106
- v-for="(des, index) in userData.user_desired_job"
107
- :key="`skill-${index}`"
108
- class="ml-1 mt-1 mb-0 text-capitalize"
109
- v-html="highlightText(search, des.occupation)"
110
- ></p>
111
- </div>
112
-
113
- <div
114
- v-show="userData.user_language.length > 0"
115
- class="languages title-block mt-3 ml-4"
116
- >
117
- <h6 class="mb-0">Idiomas</h6>
118
- <div class="line"></div>
119
-
120
- <p
121
- class="mb-1 text-capitalize"
122
- v-for="(lan, index) in userData.user_language"
123
- :key="index"
124
- v-html="
125
- highlightText(
126
- search,
127
- `${lan.language[0].name} ${languageLevel(lan.level)}`
128
- )
129
- "
130
- ></p>
131
- </div>
132
-
133
- <div
134
- v-show="userData.user_skill.length > 0"
135
- class="skills title-block ml-4"
136
- >
137
- <h6 class="mb-0">Habilidades</h6>
138
- <div class="line"></div>
139
-
140
- <p
141
- v-for="(skill, index) in userData.user_skill"
142
- :key="`skill-${index}`"
143
- class="ml-1 mt-1 mb-0 text-capitalize"
144
- v-html="highlightText(search, skill.skill_word)"
145
- ></p>
146
- </div>
147
-
148
- <div class="socials text-center mt-5">
149
- <a
150
- :href="baseUrl + '/' + userData.slug.slug"
151
- class="text-center"
152
- target="_blank"
153
- rel="noopener noreferrer"
154
- >
155
- <img
156
- class="no-social"
157
- src="../../../../assets/images/burhCv.svg"
158
- alt="Burh"
159
- />
160
- </a>
161
- <a
162
- v-show="userData.user_complementary_information.facebook_url"
163
- :href="userData.user_complementary_information.facebook_url"
164
- target="_blank"
165
- class="ml-2"
166
- rel="noopener noreferrer"
167
- >
168
- <img
169
- class="no-social"
170
- src="../../../../assets/images/facebookCv.svg"
171
- alt="Facebook"
172
- />
173
- </a>
174
- <a
175
- v-show="userData.user_complementary_information.linkedin_url"
176
- :href="userData.user_complementary_information.linkedin_url"
177
- target="_blank"
178
- class="ml-2"
179
- rel="noopener noreferrer"
180
- >
181
- <img
182
- class="no-social"
183
- src="../../../../assets/images/linkedinCv.svg"
184
- alt="Linkdin"
185
- />
186
- </a>
187
- <a
188
- v-show="userData.user_complementary_information.website"
189
- :href="userData.user_complementary_information.website"
190
- class="text-center ml-2"
191
- target="_blank"
192
- rel="noopener noreferrer"
193
- >
194
- <img
195
- class="no-social"
196
- src="../../../../assets/images/webCv.svg"
197
- alt="Web"
198
- />
199
- </a>
200
- </div>
201
-
202
- <div class="burh-code text-center mt-4">
203
- <vue-qrcode
204
- :value="baseUrl + '/' + userData.slug.slug"
205
- :options="{ width: 98, height: 98 }"
206
- class="border qr-code"
207
- ></vue-qrcode>
208
- <p class="mb-0">Código BURH</p>
209
- <span class="qr-id">{{ userData.id }}</span
210
- ><br />
211
- <div class="teste-block">
212
- <span class="font-weight-normal mt-2 d-block" v-if="!isLocked"
213
- >Data de atualização:
214
- {{ $moment(userData.updated_at).format('DD/MM/YYYY H:mm') }}
215
- <!-- <template v-if="isLocked" @click="$emit('open-contact', isLocked)">
216
- <i class="fa fa-lock"></i>
217
- </template>
218
- <template v-else>
219
- {{$moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}
220
- </template> -->
221
- </span>
222
- </div>
223
- </div>
224
- </div>
225
- </template>
226
-
227
- <script>
228
- import getPrefixes from '~/util/getPrefixes.js';
229
- import VueQrcode from '@chenfengyuan/vue-qrcode';
230
- import swal from 'sweetalert2';
231
-
232
- export default {
233
- name: 'user-cv-left-side',
234
- components: {
235
- VueQrcode
236
- },
237
- computed: {
238
- currentCompany() {
239
- return this.$store.state.company.currentCompany;
240
- }
241
- },
242
- props: {
243
- userData: Object,
244
- baseUrl: String,
245
- search: {
246
- type: String,
247
- default: ''
248
- }
249
- },
250
- data() {
251
- return {
252
- isLocked: !this.companyHasProduct(
253
- this.$store.state.loja.showableProducts['BUSCA_AVANCADA']
254
- )
255
- };
256
- },
257
- methods: {
258
- highlightText(search, text) {
259
- if (search.length < 2) return text;
260
-
261
- const regex = new RegExp(search.toLowerCase(), 'gmi');
262
- return String(text || '').replace(
263
- regex,
264
- `<span class="search-highlight">${search}</span>`
265
- );
266
- },
267
- getTime(
268
- { start_year = null, end_year = null, start_month, end_month },
269
- textHappening = 'Cursando'
270
- ) {
271
- const isHappening = !end_month && !end_year;
272
-
273
- if (isHappening) {
274
- return textHappening;
275
- }
276
-
277
- const dateInitial = this.$moment(
278
- ['1', start_month.toString(), start_year.toString()],
279
- 'DD/MM/YYYY'
280
- );
281
- const dateDone = this.$moment(
282
- ['1', end_month.toString(), end_year.toString()],
283
- 'DD/MM/YYYY'
284
- );
285
- const diffDuration = this.$moment.duration(
286
- dateDone.diff(dateInitial)
287
- );
288
- const years = diffDuration.years();
289
- const months = diffDuration.months();
290
-
291
- if (years) {
292
- return years > 1 ? `(${years} anos)` : `(${years} ano)`;
293
- }
294
-
295
- return months > 1
296
- ? `(${months} meses)`
297
- : months == 1
298
- ? `(${months} mês)`
299
- : '';
300
- },
301
- languageLevel(level) {
302
- switch (parseInt(level)) {
303
- case 1:
304
- return 'Iniciante';
305
- case 2:
306
- return 'Elementar';
307
- case 3:
308
- return 'Pré-intermediário';
309
- case 4:
310
- return 'Intermediário';
311
- case 5:
312
- return 'Intermediário Superior';
313
- case 6:
314
- return 'Avançado';
315
- case 7:
316
- return 'Fluente';
317
- default:
318
- return '';
319
- }
320
- },
321
- treatPhone(phone) {
322
- if (phone) {
323
- if (phone == '0' || phone.length < 9 || !phone) {
324
- return 'não cadastrado';
325
- }
326
- }
327
-
328
- return phone;
329
- },
330
- treatCellphone(cellphone) {
331
- if (cellphone) {
332
- if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
333
- return 'não cadastrado';
334
- }
335
- }
336
-
337
- return cellphone;
338
- },
339
- handleGetPrefixes(name = '') {
340
- return getPrefixes(name);
341
- },
342
- treatEndDate(end_month, end_year) {
343
- if (end_month && end_year) {
344
- return `${end_month}/${end_year}`;
345
- }
346
- return '';
347
- }
348
- },
349
- filters: {
350
- allDeficiencies(id) {
351
- const typeDeficiency = {
352
- 1: 'Deficiência Física',
353
- 2: 'Deficiência Visual',
354
- 3: 'Deficiência Mental',
355
- 4: 'Deficiência Auditiva',
356
- 5: 'Deficiência Fonológica',
357
- 6: 'Deficiência Múltipla'
358
- };
359
-
360
- return typeDeficiency[id] || '-';
361
- },
362
- convertMoney(money) {
363
- let moneyAux = parseFloat(money);
364
- let m = moneyAux.toLocaleString('pt-BR', {
365
- style: 'currency',
366
- currency: 'BRL'
367
- });
368
- return m;
369
- }
370
- }
371
- };
372
- </script>
373
-
374
- <style lang="scss" scoped>
375
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
376
-
377
- /deep/ .search-highlight {
378
- background: rgb(255, 252, 61);
379
- color: #000;
380
- }
381
-
382
- .teste-block {
383
- display: inline !important;
384
- }
385
- .qr-id {
386
- color: #32325d !important;
387
- }
388
-
389
- .bg-light--darken {
390
- background-color: $gray-100 !important;
391
- }
392
-
393
- .profile {
394
- .avatar {
395
- background: transparent !important;
396
- img {
397
- width: 178.14px;
398
- height: 163px;
399
- border-radius: 50%;
400
- top: 75%;
401
- }
402
-
403
- .no-image {
404
- display: flex;
405
- justify-content: center;
406
- align-items: center;
407
-
408
- position: absolute;
409
- background-color: #adb5bd;
410
- width: 163px;
411
- height: 163px;
412
- top: 120;
413
- border-radius: 50%;
414
- margin-bottom: 20px;
415
- }
416
- }
417
-
418
- .user-info {
419
- padding: 0 20px;
420
- margin-top: 5px;
421
- }
422
-
423
- p {
424
- font-size: 13px;
425
- font-weight: 400;
426
- color: #62778c;
427
- line-height: 0.85rem;
428
- margin-bottom: 2rem;
429
- }
430
-
431
- span {
432
- font-size: 14px;
433
- color: #8da2b5;
434
- }
435
- }
436
-
437
- .skills {
438
- margin-top: 2.3rem;
439
- margin-bottom: 2.3rem;
440
- }
441
-
442
- .desidered {
443
- margin-bottom: 2.3rem;
444
- }
445
-
446
- .deficiency {
447
- p {
448
- margin-top: 0.25rem;
449
- margin-bottom: 0;
450
- text-transform: capitalize;
451
- }
452
- }
453
-
454
- .languages {
455
- margin-bottom: 2.3rem;
456
- }
457
-
458
- .title-block {
459
- .line {
460
- width: 235px;
461
- height: 0px;
462
- border: 1px solid #ececec5c;
463
- margin-bottom: 0.75rem;
464
- }
465
-
466
- p {
467
- font-size: 13px;
468
- }
469
- }
470
-
471
- .burh-code {
472
- .qr-code {
473
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
474
- border-radius: 10px;
475
- }
476
-
477
- p {
478
- font-size: 8px;
479
- font-weight: bold;
480
- }
481
-
482
- span {
483
- font-size: 12px;
484
- font-weight: bold;
485
- }
486
- }
487
-
488
- .socials {
489
- .no-social {
490
- height: 1.39rem;
491
- }
492
- }
493
-
494
- .cv-left {
495
- word-break: initial;
496
- }
497
-
498
- .disable-none {
499
- user-select: none;
500
- }
501
-
502
- .content-left {
503
- width: 25%;
504
- height: auto;
505
- padding: 0 20px;
506
- word-break: break-word !important;
507
- color: #62778c !important;
508
- }
509
- </style>
1
+ <template>
2
+ <div class="bg-white content-left">
3
+ <div class="profile w-100 text-center">
4
+ <div class="avatar">
5
+ <img
6
+ v-if="userData.urlAvatar"
7
+ :src="userData.urlAvatar"
8
+ :alt="userData.name"
9
+ />
10
+ <div v-else class="no-image">
11
+ {{ userData.name }}
12
+ </div>
13
+ </div>
14
+
15
+ <h5
16
+ class="mb-0 text-wrap"
17
+ :class="{ 'mt-5': !userData.urlAvatar }"
18
+ v-html="
19
+ highlightText(
20
+ search,
21
+ `${userData.name} ${userData.last_name}`
22
+ )
23
+ "
24
+ ></h5>
25
+
26
+ <p
27
+ class="user-info"
28
+ v-if="userData.user_experience.length > 0"
29
+ v-html="
30
+ highlightText(
31
+ search,
32
+ `${userData.user_experience[0].job_title} em ${userData.user_experience[0].company}`
33
+ )
34
+ "
35
+ ></p>
36
+
37
+ <span v-if="userData.user_address">
38
+ <i class="fas fa-map-marker-alt"></i>
39
+ {{ userData.user_address.city_name }} -
40
+ {{ userData.user_address.region_code }}
41
+ </span>
42
+ <br />
43
+ <span
44
+ v-if="
45
+ userData.user_complementary_information.wage_pretension > 1
46
+ "
47
+ >Pretensão salarial:
48
+ {{
49
+ userData.user_complementary_information.wage_pretension
50
+ | convertMoney
51
+ }}</span
52
+ >
53
+ </div>
54
+
55
+ <div
56
+ class="deficiency title-block mt-3 ml-4"
57
+ v-if="userData.user_deficiency"
58
+ >
59
+ <div class="d-flex align-items-center">
60
+ <i class="fas fa-wheelchair"></i>
61
+ <h6 class="mb-0 ml-2">Deficiência</h6>
62
+ </div>
63
+ <div class="line"></div>
64
+ <p>
65
+ {{ userData.user_deficiency.deficiency_id | allDeficiencies }} -
66
+ {{ userData.user_deficiency.cid }}
67
+ </p>
68
+
69
+ <p v-show="userData.user_deficiency.appliance">
70
+ Acessório: {{ userData.user_deficiency.appliance }}
71
+ </p>
72
+
73
+ <p v-show="userData.user_deficiency.apparatus">
74
+ Necessidade: {{ userData.user_deficiency.apparatus }}
75
+ </p>
76
+
77
+ <p v-show="userData.user_deficiency.course">
78
+ Curso: {{ userData.user_deficiency.course }}
79
+ </p>
80
+
81
+ <p v-show="userData.user_deficiency.note">
82
+ Anotações: {{ userData.user_deficiency.note }}
83
+ </p>
84
+
85
+ <p v-show="userData.user_deficiency.transport === 1">
86
+ Utiliza transporte coletivo
87
+ </p>
88
+
89
+ <p v-show="userData.user_deficiency.vehicle === 1">
90
+ Possuí veículo adaptado
91
+ </p>
92
+
93
+ <p v-show="userData.user_deficiency.escort === 1">
94
+ Precisa de acompanhante
95
+ </p>
96
+ </div>
97
+
98
+ <div
99
+ v-show="userData.user_desired_job.length > 0"
100
+ class="desidered title-block mt-3 ml-4"
101
+ >
102
+ <h6 class="mb-0">Cargos desejados</h6>
103
+ <div class="line"></div>
104
+
105
+ <p
106
+ v-for="(des, index) in userData.user_desired_job"
107
+ :key="`skill-${index}`"
108
+ class="ml-1 mt-1 mb-0 text-capitalize"
109
+ v-html="highlightText(search, des.occupation)"
110
+ ></p>
111
+ </div>
112
+
113
+ <div
114
+ v-show="userData.user_language.length > 0"
115
+ class="languages title-block mt-3 ml-4"
116
+ >
117
+ <h6 class="mb-0">Idiomas</h6>
118
+ <div class="line"></div>
119
+
120
+ <p
121
+ class="mb-1 text-capitalize"
122
+ v-for="(lan, index) in userData.user_language"
123
+ :key="index"
124
+ v-html="
125
+ highlightText(
126
+ search,
127
+ `${lan.language[0].name} ${languageLevel(lan.level)}`
128
+ )
129
+ "
130
+ ></p>
131
+ </div>
132
+
133
+ <div
134
+ v-show="userData.user_skill.length > 0"
135
+ class="skills title-block ml-4"
136
+ >
137
+ <h6 class="mb-0">Habilidades</h6>
138
+ <div class="line"></div>
139
+
140
+ <p
141
+ v-for="(skill, index) in userData.user_skill"
142
+ :key="`skill-${index}`"
143
+ class="ml-1 mt-1 mb-0 text-capitalize"
144
+ v-html="highlightText(search, skill.skill_word)"
145
+ ></p>
146
+ </div>
147
+
148
+ <div class="socials text-center mt-5">
149
+ <a
150
+ :href="baseUrl + '/' + userData.slug.slug"
151
+ class="text-center"
152
+ target="_blank"
153
+ rel="noopener noreferrer"
154
+ >
155
+ <img
156
+ class="no-social"
157
+ src="../../../../assets/images/burhCv.svg"
158
+ alt="Burh"
159
+ />
160
+ </a>
161
+ <a
162
+ v-show="userData.user_complementary_information.facebook_url"
163
+ :href="userData.user_complementary_information.facebook_url"
164
+ target="_blank"
165
+ class="ml-2"
166
+ rel="noopener noreferrer"
167
+ >
168
+ <img
169
+ class="no-social"
170
+ src="../../../../assets/images/facebookCv.svg"
171
+ alt="Facebook"
172
+ />
173
+ </a>
174
+ <a
175
+ v-show="userData.user_complementary_information.linkedin_url"
176
+ :href="userData.user_complementary_information.linkedin_url"
177
+ target="_blank"
178
+ class="ml-2"
179
+ rel="noopener noreferrer"
180
+ >
181
+ <img
182
+ class="no-social"
183
+ src="../../../../assets/images/linkedinCv.svg"
184
+ alt="Linkdin"
185
+ />
186
+ </a>
187
+ <a
188
+ v-show="userData.user_complementary_information.website"
189
+ :href="userData.user_complementary_information.website"
190
+ class="text-center ml-2"
191
+ target="_blank"
192
+ rel="noopener noreferrer"
193
+ >
194
+ <img
195
+ class="no-social"
196
+ src="../../../../assets/images/webCv.svg"
197
+ alt="Web"
198
+ />
199
+ </a>
200
+ </div>
201
+
202
+ <div class="burh-code text-center mt-4">
203
+ <vue-qrcode
204
+ :value="baseUrl + '/' + userData.slug.slug"
205
+ :options="{ width: 98, height: 98 }"
206
+ class="border qr-code"
207
+ ></vue-qrcode>
208
+ <p class="mb-0">Código BURH</p>
209
+ <span class="qr-id">{{ userData.id }}</span
210
+ ><br />
211
+ <div class="teste-block">
212
+ <span class="font-weight-normal mt-2 d-block" v-if="!isLocked"
213
+ >Data de atualização:
214
+ {{ $moment(userData.updated_at).format('DD/MM/YYYY H:mm') }}
215
+ <!-- <template v-if="isLocked" @click="$emit('open-contact', isLocked)">
216
+ <i class="fa fa-lock"></i>
217
+ </template>
218
+ <template v-else>
219
+ {{$moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}
220
+ </template> -->
221
+ </span>
222
+ </div>
223
+ </div>
224
+ </div>
225
+ </template>
226
+
227
+ <script>
228
+ import getPrefixes from '~/util/getPrefixes.js';
229
+ import VueQrcode from '@chenfengyuan/vue-qrcode';
230
+ import swal from 'sweetalert2';
231
+
232
+ export default {
233
+ name: 'user-cv-left-side',
234
+ components: {
235
+ VueQrcode
236
+ },
237
+ computed: {
238
+ currentCompany() {
239
+ return this.$store.state.company.currentCompany;
240
+ }
241
+ },
242
+ props: {
243
+ userData: Object,
244
+ baseUrl: String,
245
+ search: {
246
+ type: String,
247
+ default: ''
248
+ }
249
+ },
250
+ data() {
251
+ return {
252
+ isLocked: !this.companyHasProduct(
253
+ this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['BUSCA_AVANCADA'] || false
254
+ )
255
+ };
256
+ },
257
+ methods: {
258
+ highlightText(search, text) {
259
+ if (search.length < 2) return text;
260
+
261
+ const regex = new RegExp(search.toLowerCase(), 'gmi');
262
+ return String(text || '').replace(
263
+ regex,
264
+ `<span class="search-highlight">${search}</span>`
265
+ );
266
+ },
267
+ getTime(
268
+ { start_year = null, end_year = null, start_month, end_month },
269
+ textHappening = 'Cursando'
270
+ ) {
271
+ const isHappening = !end_month && !end_year;
272
+
273
+ if (isHappening) {
274
+ return textHappening;
275
+ }
276
+
277
+ const dateInitial = this.$moment(
278
+ ['1', start_month.toString(), start_year.toString()],
279
+ 'DD/MM/YYYY'
280
+ );
281
+ const dateDone = this.$moment(
282
+ ['1', end_month.toString(), end_year.toString()],
283
+ 'DD/MM/YYYY'
284
+ );
285
+ const diffDuration = this.$moment.duration(
286
+ dateDone.diff(dateInitial)
287
+ );
288
+ const years = diffDuration.years();
289
+ const months = diffDuration.months();
290
+
291
+ if (years) {
292
+ return years > 1 ? `(${years} anos)` : `(${years} ano)`;
293
+ }
294
+
295
+ return months > 1
296
+ ? `(${months} meses)`
297
+ : months == 1
298
+ ? `(${months} mês)`
299
+ : '';
300
+ },
301
+ languageLevel(level) {
302
+ switch (parseInt(level)) {
303
+ case 1:
304
+ return 'Iniciante';
305
+ case 2:
306
+ return 'Elementar';
307
+ case 3:
308
+ return 'Pré-intermediário';
309
+ case 4:
310
+ return 'Intermediário';
311
+ case 5:
312
+ return 'Intermediário Superior';
313
+ case 6:
314
+ return 'Avançado';
315
+ case 7:
316
+ return 'Fluente';
317
+ default:
318
+ return '';
319
+ }
320
+ },
321
+ treatPhone(phone) {
322
+ if (phone) {
323
+ if (phone == '0' || phone.length < 9 || !phone) {
324
+ return 'não cadastrado';
325
+ }
326
+ }
327
+
328
+ return phone;
329
+ },
330
+ treatCellphone(cellphone) {
331
+ if (cellphone) {
332
+ if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
333
+ return 'não cadastrado';
334
+ }
335
+ }
336
+
337
+ return cellphone;
338
+ },
339
+ handleGetPrefixes(name = '') {
340
+ return getPrefixes(name);
341
+ },
342
+ treatEndDate(end_month, end_year) {
343
+ if (end_month && end_year) {
344
+ return `${end_month}/${end_year}`;
345
+ }
346
+ return '';
347
+ }
348
+ },
349
+ filters: {
350
+ allDeficiencies(id) {
351
+ const typeDeficiency = {
352
+ 1: 'Deficiência Física',
353
+ 2: 'Deficiência Visual',
354
+ 3: 'Deficiência Mental',
355
+ 4: 'Deficiência Auditiva',
356
+ 5: 'Deficiência Fonológica',
357
+ 6: 'Deficiência Múltipla'
358
+ };
359
+
360
+ return typeDeficiency[id] || '-';
361
+ },
362
+ convertMoney(money) {
363
+ let moneyAux = parseFloat(money);
364
+ let m = moneyAux.toLocaleString('pt-BR', {
365
+ style: 'currency',
366
+ currency: 'BRL'
367
+ });
368
+ return m;
369
+ }
370
+ }
371
+ };
372
+ </script>
373
+
374
+ <style lang="scss" scoped>
375
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
376
+
377
+ /deep/ .search-highlight {
378
+ background: rgb(255, 252, 61);
379
+ color: #000;
380
+ }
381
+
382
+ .teste-block {
383
+ display: inline !important;
384
+ }
385
+ .qr-id {
386
+ color: #32325d !important;
387
+ }
388
+
389
+ .bg-light--darken {
390
+ background-color: $gray-100 !important;
391
+ }
392
+
393
+ .profile {
394
+ .avatar {
395
+ background: transparent !important;
396
+ img {
397
+ width: 178.14px;
398
+ height: 163px;
399
+ border-radius: 50%;
400
+ top: 75%;
401
+ }
402
+
403
+ .no-image {
404
+ display: flex;
405
+ justify-content: center;
406
+ align-items: center;
407
+
408
+ position: absolute;
409
+ background-color: #adb5bd;
410
+ width: 163px;
411
+ height: 163px;
412
+ top: 120;
413
+ border-radius: 50%;
414
+ margin-bottom: 20px;
415
+ }
416
+ }
417
+
418
+ .user-info {
419
+ padding: 0 20px;
420
+ margin-top: 5px;
421
+ }
422
+
423
+ p {
424
+ font-size: 13px;
425
+ font-weight: 400;
426
+ color: #62778c;
427
+ line-height: 0.85rem;
428
+ margin-bottom: 2rem;
429
+ }
430
+
431
+ span {
432
+ font-size: 14px;
433
+ color: #8da2b5;
434
+ }
435
+ }
436
+
437
+ .skills {
438
+ margin-top: 2.3rem;
439
+ margin-bottom: 2.3rem;
440
+ }
441
+
442
+ .desidered {
443
+ margin-bottom: 2.3rem;
444
+ }
445
+
446
+ .deficiency {
447
+ p {
448
+ margin-top: 0.25rem;
449
+ margin-bottom: 0;
450
+ text-transform: capitalize;
451
+ }
452
+ }
453
+
454
+ .languages {
455
+ margin-bottom: 2.3rem;
456
+ }
457
+
458
+ .title-block {
459
+ .line {
460
+ width: 235px;
461
+ height: 0px;
462
+ border: 1px solid #ececec5c;
463
+ margin-bottom: 0.75rem;
464
+ }
465
+
466
+ p {
467
+ font-size: 13px;
468
+ }
469
+ }
470
+
471
+ .burh-code {
472
+ .qr-code {
473
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
474
+ border-radius: 10px;
475
+ }
476
+
477
+ p {
478
+ font-size: 8px;
479
+ font-weight: bold;
480
+ }
481
+
482
+ span {
483
+ font-size: 12px;
484
+ font-weight: bold;
485
+ }
486
+ }
487
+
488
+ .socials {
489
+ .no-social {
490
+ height: 1.39rem;
491
+ }
492
+ }
493
+
494
+ .cv-left {
495
+ word-break: initial;
496
+ }
497
+
498
+ .disable-none {
499
+ user-select: none;
500
+ }
501
+
502
+ .content-left {
503
+ width: 25%;
504
+ height: auto;
505
+ padding: 0 20px;
506
+ word-break: break-word !important;
507
+ color: #62778c !important;
508
+ }
509
+ </style>