@burh/nuxt-core 1.0.409 → 1.0.411

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.
Files changed (38) hide show
  1. package/assets/images/icons/icon5.svg +3 -3
  2. package/assets/images/icons/icon6.svg +3 -3
  3. package/assets/sass/burh-ds/_global.scss +324 -324
  4. package/assets/sass/burh-ds/atoms/_forms.scss +21 -19
  5. package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
  6. package/assets/sass/burh-ds/content/_main-content.scss +25 -25
  7. package/components/argon-core/BaseDropdown.vue +114 -114
  8. package/components/argon-core/LoadingPanel.vue +26 -26
  9. package/components/burh-ds/Cards/BaseCard.vue +194 -194
  10. package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
  11. package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
  12. package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +18 -2
  13. package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSideNotAuth.vue +379 -379
  14. package/components/burh-ds/Filters/BaseFilterContainer.vue +91 -91
  15. package/components/burh-ds/Headings/AppHeader.vue +222 -222
  16. package/components/burh-ds/Modals/AddCustomerModal.vue +5 -46
  17. package/components/burh-ds/Modals/AddMember.vue +5 -48
  18. package/components/burh-ds/Modals/AddRoleModal.vue +4 -47
  19. package/components/burh-ds/Modals/AppConfigModal.vue +326 -326
  20. package/components/burh-ds/Modals/NewUserModal.vue +87 -87
  21. package/components/burh-ds/Modals/PlanModal.vue +133 -172
  22. package/components/burh-ds/Modals/RequestModal.vue +206 -247
  23. package/components/burh-ds/Modals/SendTest.vue +7 -43
  24. package/components/burh-ds/Modals/SharedModal.vue +7 -50
  25. package/components/burh-ds/Modals/UniversalShareModal.vue +7 -50
  26. package/components/burh-ds/Modals/UniversalWhatsappModal.vue +5 -53
  27. package/components/burh-ds/Modals/WhatsappModal.vue +79 -127
  28. package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
  29. package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
  30. package/components/burh-ds/Skeleton/BaseCourseInfo.vue +71 -71
  31. package/components/burh-ds/Skeleton/Cards.vue +86 -86
  32. package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
  33. package/components/burh-ds/Tabs/TesteTab.vue +108 -108
  34. package/components/layouts/burh-ds/navbar/PublicNavbar.vue +168 -168
  35. package/environment.js +221 -221
  36. package/nuxt.config.js +207 -207
  37. package/package.json +1 -1
  38. package/plugins/vClickOutside.js +4 -4
@@ -1,379 +1,379 @@
1
- <template>
2
- <div class="bg-white content-right tabs ">
3
- <el-tabs
4
- :class="active"
5
- class="mt-3 handle-icon-color"
6
- v-model="active"
7
- >
8
- <el-tab-pane name="reports" class="ml-2">
9
- <span class="tab__icon-pane" slot="label">
10
- <img
11
- class="img__icon-pane img__icon--reports"
12
- src="../../../../assets/images/icons/icon5.svg"
13
- />
14
- </span>
15
-
16
- <p class="notes-title mb-0">Laudo do Candidato</p>
17
- <div class="line mb-3"></div>
18
-
19
- <p v-show="!userReportData.annex" class="history-text">
20
- Nenhum arquivo vinculado a este usuário.
21
- </p>
22
-
23
- <div class="archive-content" v-if="userReportData.annex">
24
- <div @click="openArchive(userReportData.annex)" class="archive-container">
25
- <div>
26
- <img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
27
- </div>
28
- <div class="archive-name">
29
- <span>{{ userReportData.annex.name }}</span>
30
- </div>
31
- </div>
32
- </div>
33
-
34
- <p class="notes-title mb-0">Comentários Recrutador</p>
35
- <div class="line mb-3"></div>
36
-
37
- <p v-show="!userReportData.annex" class="history-text">
38
- Nenhum comentário vinculado a este usuário.
39
- </p>
40
-
41
- <div v-if="userReportData.comment">
42
- <div class="notes-baloon fullsize">
43
- <div class="notes-text mx-3 pt-1">
44
- <p class="mt-3">{{ userReportData.comment.comment }}</p>
45
- </div>
46
- <div
47
- class="d-flex justify-content-end align-items-center mr-3"
48
- >
49
- <p class="notes-date">
50
- {{ userReportData.comment.created_at | convertDate }}
51
- </p>
52
- </div>
53
- </div>
54
- <div class="notes-owner d-flex mt-2">
55
- <img
56
- v-if="userReportData.comment.user.urlAvatar"
57
- :src="userReportData.comment.user.urlAvatar"
58
- :alt="userReportData.comment.user.name"
59
- />
60
- <div
61
- v-else
62
- class="notes-avatar"
63
- ></div>
64
- <p class="ml-1">
65
- {{ userReportData.comment.user.name }}
66
- </p>
67
- </div>
68
- </div>
69
- </el-tab-pane>
70
- </el-tabs>
71
- </div>
72
- </template>
73
-
74
- <script>
75
- import { Tabs, TabPane } from 'element-ui';
76
-
77
- export default {
78
- name: 'user-cv-right-side',
79
- filters: {
80
- convertDate(data) {
81
- if (typeof data !== 'string') {
82
- data = '2020-01-01 12:00:00';
83
- }
84
- let d = new Date(data);
85
- let options = { hour: '2-digit', minute: '2-digit' };
86
- return d.toLocaleDateString('pt-BR', options);
87
- }
88
- },
89
- components: {
90
- [Tabs.name]: Tabs,
91
- [TabPane.name]: TabPane,
92
- },
93
- data(){
94
- return {
95
- newNote: '',
96
- newReportNote: '',
97
- active: 'reports',
98
- userReportData: [],
99
- };
100
- },
101
- props: {
102
- userData: Object,
103
- userFolderId: String,
104
- },
105
- mounted() {
106
- this.getUserFolderData();
107
- },
108
- methods: {
109
- async getUserFolderData() {
110
- const apiUrl = `${process.env.baseApiUrlV2}/company/buffer/folder/user/${this.userFolderId}`;
111
-
112
- const data = await this.$axios(apiUrl)
113
- .then(res => res.data)
114
- .catch(() => {});
115
-
116
- if (!data) return;
117
-
118
- this.mountUserReport(data.data);
119
- },
120
-
121
- openArchive(item) {
122
- window.open(item.annex_url, '_blank');
123
- },
124
-
125
- mountUserReport(userData) {
126
- const annex = userData.annex[0] || undefined;
127
- const comment = userData.comments[0] || undefined;
128
-
129
- this.userReportData = {
130
- annex,
131
- comment
132
- };
133
- }
134
- },
135
- };
136
- </script>
137
- <style>
138
- .el-tabs__nav-wrap::after {
139
- background: #fff !important;
140
- }
141
-
142
- .el-tabs__active-bar {
143
- width: 30px !important;
144
- height: 4px !important;
145
- border-radius: 10px 10px 0px 0px;
146
- }
147
- </style>
148
-
149
- <style lang="scss" scoped>
150
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
151
-
152
- /deep/ .el-tab-pane {
153
- height: 760px;
154
- max-height: 760px;
155
- overflow: hidden;
156
- overflow-y: auto;
157
- position: relative;
158
-
159
- > .notes-title {
160
- position: sticky;
161
- position: -webkit-sticky;
162
- top: 0;
163
- background: white;
164
- padding: 10px 0;
165
- }
166
-
167
- > .input-container {
168
- position: sticky;
169
- position: -webkit-sticky;
170
- bottom: 0;
171
- background: white;
172
- > .input-icon {
173
- cursor: pointer;
174
- position: absolute;
175
- top: 50%;
176
- right: 30px;
177
- transform: translateY(-50%);
178
- color: #c8c8c8;
179
- }
180
- }
181
-
182
- &::-webkit-scrollbar {
183
- width: 8px;
184
- }
185
-
186
- &::-webkit-scrollbar-track {
187
- background: #f5f5f5;
188
- }
189
-
190
- &::-webkit-scrollbar-thumb {
191
- background: #e9e8e8;
192
- border-radius: 10px;
193
- }
194
-
195
- .archive-content {
196
- width: 95%;
197
-
198
- p {
199
- margin-bottom: 0;
200
- font-size: 0.875rem;
201
- padding: .3rem .6rem 0 .6rem;
202
- }
203
-
204
- .archive-container {
205
- display: flex;
206
- align-items: center;
207
- padding: 0.5rem 0.5rem 0.438rem;
208
- cursor: pointer;
209
- user-select: none;
210
-
211
- &:hover{
212
- background-color: #f6f9fc;
213
- border-radius: 5px;
214
- }
215
-
216
- .archive-img {
217
- background-color: #f5f5f5;
218
- border-radius: 6px;
219
- padding: 7px;
220
- }
221
-
222
- .archive-name {
223
- display: flex;
224
- margin-left: .8rem;
225
- width: 145%;
226
- justify-content: space-between !important;
227
-
228
- .archive-icon {
229
- margin-left: 1.5rem;
230
- }
231
-
232
- p {
233
- margin: 0;
234
- padding: 0;
235
- width: 13rem;
236
- white-space: nowrap;
237
- overflow: hidden;
238
- text-overflow: ellipsis;
239
- }
240
- }
241
-
242
- .upload-container {
243
- position: sticky;
244
- position: -webkit-sticky;
245
- bottom: 0;
246
- background: white;
247
- width: 231px;
248
- }
249
- }
250
- }
251
-
252
- .archive-buttons {
253
- display: flex;
254
- margin-top: -1rem;
255
- width: 95%;
256
- }
257
-
258
- .archive-remove {
259
- width: 90%;
260
- word-break: break-word;
261
- }
262
- }
263
-
264
- /deep/ .el-tabs__nav-scroll {
265
- display: flex;
266
- justify-content: stretch;
267
- align-items: flex-start;
268
- }
269
-
270
- /deep/ .el-tabs__item {
271
- padding: 0 1.60rem !important;
272
- }
273
-
274
- /deep/ .el-tabs__nav {
275
- width: 100% !important;
276
- user-select: none;
277
- }
278
-
279
- @media (max-width: 1520px) {
280
- /deep/ .el-tabs__item {
281
- padding: 0 1.8rem !important;
282
- }
283
- }
284
-
285
- .readmore {
286
- overflow: hidden;
287
- text-overflow: ellipsis;
288
- display: -webkit-box;
289
- -webkit-line-clamp: 3;
290
- -webkit-box-orient: vertical;
291
- }
292
-
293
- .tab__icon-pane {
294
- .img__icon-pane {
295
- background-color: #f5f5f5 !important;
296
- border-radius: 30%;
297
- padding: 7px;
298
- margin-bottom: 1rem;
299
- }
300
- }
301
-
302
- .content-right {
303
- width: 25%;
304
- }
305
-
306
- .notes-title {
307
- font-size: 14px;
308
- color: #1d364b;
309
- font-weight: bold;
310
- background-color: white;
311
- z-index: 500;
312
- }
313
-
314
- .notes-baloon {
315
- width: 231px;
316
- height: auto;
317
-
318
- background: #eff5fd;
319
- border-radius: 10px 10px 10px 0px;
320
-
321
- &.fullsize {
322
- width: 80%!important;
323
- min-width: 280px;
324
- }
325
- }
326
-
327
- .notes-text {
328
- p {
329
- font-size: 13px;
330
- color: #62778c;
331
- }
332
- }
333
-
334
- .notes-date {
335
- font-size: 11px;
336
- text-align: right;
337
-
338
- color: #8da2b5;
339
- top: calc(50% - 17px / 2 - 444.5px);
340
- }
341
-
342
- .notes-owner {
343
- img {
344
- width: 23px;
345
- height: 23px;
346
- border-radius: 50%;
347
- }
348
-
349
- .notes-avatar {
350
- width: 23px;
351
- height: 23px;
352
- border-radius: 50%;
353
- background-color: #adb5bd;
354
- }
355
-
356
- p {
357
- font-size: 13px;
358
- font-weight: 600;
359
- text-transform: uppercase;
360
-
361
- color: #62778c;
362
- }
363
- }
364
-
365
- .line {
366
- width: 221px;
367
- height: 0px;
368
-
369
- border: 1px solid #ececec5c;
370
- }
371
-
372
- .history-text {
373
- font-size: 13px;
374
- color: #62778c;
375
- }
376
- .cursor-disabled {
377
- cursor: no-drop;
378
- }
379
- </style>
1
+ <template>
2
+ <div class="bg-white content-right tabs ">
3
+ <el-tabs
4
+ :class="active"
5
+ class="mt-3 handle-icon-color"
6
+ v-model="active"
7
+ >
8
+ <el-tab-pane name="reports" class="ml-2">
9
+ <span class="tab__icon-pane" slot="label">
10
+ <img
11
+ class="img__icon-pane img__icon--reports"
12
+ src="../../../../assets/images/icons/icon5.svg"
13
+ />
14
+ </span>
15
+
16
+ <p class="notes-title mb-0">Laudo do Candidato</p>
17
+ <div class="line mb-3"></div>
18
+
19
+ <p v-show="!userReportData.annex" class="history-text">
20
+ Nenhum arquivo vinculado a este usuário.
21
+ </p>
22
+
23
+ <div class="archive-content" v-if="userReportData.annex">
24
+ <div @click="openArchive(userReportData.annex)" class="archive-container">
25
+ <div>
26
+ <img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
27
+ </div>
28
+ <div class="archive-name">
29
+ <span>{{ userReportData.annex.name }}</span>
30
+ </div>
31
+ </div>
32
+ </div>
33
+
34
+ <p class="notes-title mb-0">Comentários Recrutador</p>
35
+ <div class="line mb-3"></div>
36
+
37
+ <p v-show="!userReportData.annex" class="history-text">
38
+ Nenhum comentário vinculado a este usuário.
39
+ </p>
40
+
41
+ <div v-if="userReportData.comment">
42
+ <div class="notes-baloon fullsize">
43
+ <div class="notes-text mx-3 pt-1">
44
+ <p class="mt-3">{{ userReportData.comment.comment }}</p>
45
+ </div>
46
+ <div
47
+ class="d-flex justify-content-end align-items-center mr-3"
48
+ >
49
+ <p class="notes-date">
50
+ {{ userReportData.comment.created_at | convertDate }}
51
+ </p>
52
+ </div>
53
+ </div>
54
+ <div class="notes-owner d-flex mt-2">
55
+ <img
56
+ v-if="userReportData.comment.user.urlAvatar"
57
+ :src="userReportData.comment.user.urlAvatar"
58
+ :alt="userReportData.comment.user.name"
59
+ />
60
+ <div
61
+ v-else
62
+ class="notes-avatar"
63
+ ></div>
64
+ <p class="ml-1">
65
+ {{ userReportData.comment.user.name }}
66
+ </p>
67
+ </div>
68
+ </div>
69
+ </el-tab-pane>
70
+ </el-tabs>
71
+ </div>
72
+ </template>
73
+
74
+ <script>
75
+ import { Tabs, TabPane } from 'element-ui';
76
+
77
+ export default {
78
+ name: 'user-cv-right-side',
79
+ filters: {
80
+ convertDate(data) {
81
+ if (typeof data !== 'string') {
82
+ data = '2020-01-01 12:00:00';
83
+ }
84
+ let d = new Date(data);
85
+ let options = { hour: '2-digit', minute: '2-digit' };
86
+ return d.toLocaleDateString('pt-BR', options);
87
+ }
88
+ },
89
+ components: {
90
+ [Tabs.name]: Tabs,
91
+ [TabPane.name]: TabPane,
92
+ },
93
+ data(){
94
+ return {
95
+ newNote: '',
96
+ newReportNote: '',
97
+ active: 'reports',
98
+ userReportData: [],
99
+ };
100
+ },
101
+ props: {
102
+ userData: Object,
103
+ userFolderId: String,
104
+ },
105
+ mounted() {
106
+ this.getUserFolderData();
107
+ },
108
+ methods: {
109
+ async getUserFolderData() {
110
+ const apiUrl = `${process.env.baseApiUrlV2}/company/buffer/folder/user/${this.userFolderId}`;
111
+
112
+ const data = await this.$axios(apiUrl)
113
+ .then(res => res.data)
114
+ .catch(() => {});
115
+
116
+ if (!data) return;
117
+
118
+ this.mountUserReport(data.data);
119
+ },
120
+
121
+ openArchive(item) {
122
+ window.open(item.annex_url, '_blank');
123
+ },
124
+
125
+ mountUserReport(userData) {
126
+ const annex = userData.annex[0] || undefined;
127
+ const comment = userData.comments[0] || undefined;
128
+
129
+ this.userReportData = {
130
+ annex,
131
+ comment
132
+ };
133
+ }
134
+ },
135
+ };
136
+ </script>
137
+ <style>
138
+ .el-tabs__nav-wrap::after {
139
+ background: #fff !important;
140
+ }
141
+
142
+ .el-tabs__active-bar {
143
+ width: 30px !important;
144
+ height: 4px !important;
145
+ border-radius: 10px 10px 0px 0px;
146
+ }
147
+ </style>
148
+
149
+ <style lang="scss" scoped>
150
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
151
+
152
+ /deep/ .el-tab-pane {
153
+ height: 760px;
154
+ max-height: 760px;
155
+ overflow: hidden;
156
+ overflow-y: auto;
157
+ position: relative;
158
+
159
+ > .notes-title {
160
+ position: sticky;
161
+ position: -webkit-sticky;
162
+ top: 0;
163
+ background: white;
164
+ padding: 10px 0;
165
+ }
166
+
167
+ > .input-container {
168
+ position: sticky;
169
+ position: -webkit-sticky;
170
+ bottom: 0;
171
+ background: white;
172
+ > .input-icon {
173
+ cursor: pointer;
174
+ position: absolute;
175
+ top: 50%;
176
+ right: 30px;
177
+ transform: translateY(-50%);
178
+ color: #c8c8c8;
179
+ }
180
+ }
181
+
182
+ &::-webkit-scrollbar {
183
+ width: 8px;
184
+ }
185
+
186
+ &::-webkit-scrollbar-track {
187
+ background: #f5f5f5;
188
+ }
189
+
190
+ &::-webkit-scrollbar-thumb {
191
+ background: #e9e8e8;
192
+ border-radius: 10px;
193
+ }
194
+
195
+ .archive-content {
196
+ width: 95%;
197
+
198
+ p {
199
+ margin-bottom: 0;
200
+ font-size: 0.875rem;
201
+ padding: .3rem .6rem 0 .6rem;
202
+ }
203
+
204
+ .archive-container {
205
+ display: flex;
206
+ align-items: center;
207
+ padding: 0.5rem 0.5rem 0.438rem;
208
+ cursor: pointer;
209
+ user-select: none;
210
+
211
+ &:hover{
212
+ background-color: #f6f9fc;
213
+ border-radius: 5px;
214
+ }
215
+
216
+ .archive-img {
217
+ background-color: #f5f5f5;
218
+ border-radius: 6px;
219
+ padding: 7px;
220
+ }
221
+
222
+ .archive-name {
223
+ display: flex;
224
+ margin-left: .8rem;
225
+ width: 145%;
226
+ justify-content: space-between !important;
227
+
228
+ .archive-icon {
229
+ margin-left: 1.5rem;
230
+ }
231
+
232
+ p {
233
+ margin: 0;
234
+ padding: 0;
235
+ width: 13rem;
236
+ white-space: nowrap;
237
+ overflow: hidden;
238
+ text-overflow: ellipsis;
239
+ }
240
+ }
241
+
242
+ .upload-container {
243
+ position: sticky;
244
+ position: -webkit-sticky;
245
+ bottom: 0;
246
+ background: white;
247
+ width: 231px;
248
+ }
249
+ }
250
+ }
251
+
252
+ .archive-buttons {
253
+ display: flex;
254
+ margin-top: -1rem;
255
+ width: 95%;
256
+ }
257
+
258
+ .archive-remove {
259
+ width: 90%;
260
+ word-break: break-word;
261
+ }
262
+ }
263
+
264
+ /deep/ .el-tabs__nav-scroll {
265
+ display: flex;
266
+ justify-content: stretch;
267
+ align-items: flex-start;
268
+ }
269
+
270
+ /deep/ .el-tabs__item {
271
+ padding: 0 1.60rem !important;
272
+ }
273
+
274
+ /deep/ .el-tabs__nav {
275
+ width: 100% !important;
276
+ user-select: none;
277
+ }
278
+
279
+ @media (max-width: 1520px) {
280
+ /deep/ .el-tabs__item {
281
+ padding: 0 1.8rem !important;
282
+ }
283
+ }
284
+
285
+ .readmore {
286
+ overflow: hidden;
287
+ text-overflow: ellipsis;
288
+ display: -webkit-box;
289
+ -webkit-line-clamp: 3;
290
+ -webkit-box-orient: vertical;
291
+ }
292
+
293
+ .tab__icon-pane {
294
+ .img__icon-pane {
295
+ background-color: #f5f5f5 !important;
296
+ border-radius: 30%;
297
+ padding: 7px;
298
+ margin-bottom: 1rem;
299
+ }
300
+ }
301
+
302
+ .content-right {
303
+ width: 25%;
304
+ }
305
+
306
+ .notes-title {
307
+ font-size: 14px;
308
+ color: #1d364b;
309
+ font-weight: bold;
310
+ background-color: white;
311
+ z-index: 500;
312
+ }
313
+
314
+ .notes-baloon {
315
+ width: 231px;
316
+ height: auto;
317
+
318
+ background: #eff5fd;
319
+ border-radius: 10px 10px 10px 0px;
320
+
321
+ &.fullsize {
322
+ width: 80%!important;
323
+ min-width: 280px;
324
+ }
325
+ }
326
+
327
+ .notes-text {
328
+ p {
329
+ font-size: 13px;
330
+ color: #62778c;
331
+ }
332
+ }
333
+
334
+ .notes-date {
335
+ font-size: 11px;
336
+ text-align: right;
337
+
338
+ color: #8da2b5;
339
+ top: calc(50% - 17px / 2 - 444.5px);
340
+ }
341
+
342
+ .notes-owner {
343
+ img {
344
+ width: 23px;
345
+ height: 23px;
346
+ border-radius: 50%;
347
+ }
348
+
349
+ .notes-avatar {
350
+ width: 23px;
351
+ height: 23px;
352
+ border-radius: 50%;
353
+ background-color: #adb5bd;
354
+ }
355
+
356
+ p {
357
+ font-size: 13px;
358
+ font-weight: 600;
359
+ text-transform: uppercase;
360
+
361
+ color: #62778c;
362
+ }
363
+ }
364
+
365
+ .line {
366
+ width: 221px;
367
+ height: 0px;
368
+
369
+ border: 1px solid #ececec5c;
370
+ }
371
+
372
+ .history-text {
373
+ font-size: 13px;
374
+ color: #62778c;
375
+ }
376
+ .cursor-disabled {
377
+ cursor: no-drop;
378
+ }
379
+ </style>