@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,236 +1,221 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="45%"
5
- custom-class="position-relative"
6
- @close="$emit('close')"
7
- >
8
- <template>
9
- <div class="modal-request">
10
- <h3>Requisição de Vagas</h3>
11
-
12
- <validation-observer ref="sendTest">
13
- <section>
14
- <label for="job">Escolha a vaga desejada</label>
15
- <el-select
16
- filterable
17
- no-match-text="Nenhuma vaga encontrada"
18
- no-data-text="Nenhuma vaga encontrada"
19
- placeholder="Escolha"
20
- v-model="jobs.job"
21
- class="w-100"
22
- >
23
- <el-option
24
- v-for="(job, index) in allJobs"
25
- class="select-danger"
26
- :value="job.id"
27
- :label="job.title"
28
- :key="index"
29
- ></el-option>
30
- </el-select>
31
-
32
- <label for="reason" class="mt-4">Motivo</label>
33
- <el-select
34
- filterable
35
- no-match-text="Nenhum dado encontrado"
36
- no-data-text="Nenhum dado encontrado"
37
- placeholder="Escolha"
38
- v-model="jobs.reason"
39
- class="w-100"
40
- >
41
- <el-option
42
- v-for="(reas, index) in allReasons"
43
- class="select-danger"
44
- :value="reas.value"
45
- :label="reas.label"
46
- :key="index"
47
- ></el-option>
48
- </el-select>
49
-
50
- <validation-provider
51
- tag="div"
52
- name="Salário"
53
- rules="required"
54
- v-slot="{ errors }"
55
- >
56
- <base-input
57
- v-model="jobs.salary"
58
- class="w-100 mt-4"
59
- id="salary"
60
- :error="errors[0]"
61
- :valid="errors.length ? true : false"
62
- label="Salário"
63
- v-on:input="setSalary($event)"
64
- placeholder="R$ 1.500,00"
65
- />
66
- </validation-provider>
67
-
68
- <el-checkbox v-model="jobs.confidential">
69
- Confidencial
70
- </el-checkbox>
71
-
72
- <label for="observations" class="mt-4"
73
- >Observações</label
74
- >
75
- <textarea
76
- id="observations"
77
- class="form-control"
78
- v-model="jobs.observations"
79
- ></textarea>
80
-
81
- <button
82
- type="button"
83
- @click="sendRequest"
84
- class="btn btn-primary"
85
- :disabled="!jobs.job || !jobs.reason"
86
- >
87
- Solicitar Abertura
88
- </button>
89
- </section>
90
- </validation-observer>
91
- </div>
92
-
93
- <span class="tool tool-close" @click="$emit('close')">
94
- Fechar
95
- <font-awesome-icon
96
- :icon="['fas', 'times']"
97
- class="text-white ml-1"
98
- />
99
- </span>
100
- </template>
101
- </el-dialog>
2
+ <modal
3
+ :show.sync="isActive"
4
+ :size="'lg'"
5
+ @close="$emit('close')"
6
+ >
7
+ <template>
8
+ <div class="modal-request">
9
+ <h3>Requisição de Vagas</h3>
10
+
11
+ <validation-observer ref="sendTest">
12
+ <section>
13
+ <label for="job">Escolha a vaga desejada</label>
14
+ <el-select
15
+ filterable
16
+ no-match-text="Nenhuma vaga encontrada"
17
+ no-data-text="Nenhuma vaga encontrada"
18
+ placeholder="Escolha"
19
+ v-model="jobs.job"
20
+ class="w-100"
21
+ >
22
+ <el-option
23
+ v-for="(job, index) in allJobs"
24
+ class="select-danger"
25
+ :value="job.id"
26
+ :label="job.title"
27
+ :key="index"
28
+ ></el-option>
29
+ </el-select>
30
+
31
+ <label for="reason" class="mt-4">Motivo</label>
32
+ <el-select
33
+ filterable
34
+ no-match-text="Nenhum dado encontrado"
35
+ no-data-text="Nenhum dado encontrado"
36
+ placeholder="Escolha"
37
+ v-model="jobs.reason"
38
+ class="w-100"
39
+ >
40
+ <el-option
41
+ v-for="(reas, index) in allReasons"
42
+ class="select-danger"
43
+ :value="reas.value"
44
+ :label="reas.label"
45
+ :key="index"
46
+ ></el-option>
47
+ </el-select>
48
+
49
+ <validation-provider
50
+ tag="div"
51
+ name="Salário"
52
+ rules="required"
53
+ v-slot="{ errors }"
54
+ >
55
+ <base-input
56
+ v-model="jobs.salary"
57
+ class="w-100 mt-4"
58
+ id="salary"
59
+ :error="errors[0]"
60
+ :valid="errors.length ? true : false"
61
+ label="Salário"
62
+ v-on:input="setSalary($event)"
63
+ placeholder="R$ 1.500,00"
64
+ />
65
+ </validation-provider>
66
+
67
+ <el-checkbox v-model="jobs.confidential">
68
+ Confidencial
69
+ </el-checkbox>
70
+
71
+ <label for="observations" class="mt-4"
72
+ >Observações</label
73
+ >
74
+ <textarea
75
+ id="observations"
76
+ class="form-control"
77
+ v-model="jobs.observations"
78
+ ></textarea>
79
+
80
+ <button
81
+ type="button"
82
+ @click="sendRequest"
83
+ class="btn btn-primary"
84
+ :disabled="!jobs.job || !jobs.reason"
85
+ >
86
+ Solicitar Abertura
87
+ </button>
88
+ </section>
89
+ </validation-observer>
90
+ </div>
91
+
92
+ <span class="tool tool-close" @click="$emit('close')">
93
+ Fechar
94
+ <font-awesome-icon
95
+ :icon="['fas', 'times']"
96
+ class="text-white ml-1"
97
+ />
98
+ </span>
99
+ </template>
100
+ </modal>
102
101
  </template>
103
102
 
104
103
  <script>
105
- import { Dialog, Select, Option, Checkbox } from 'element-ui';
104
+ import { Select, Option, Checkbox } from 'element-ui';
106
105
 
107
106
  export default {
108
- name: 'request-modal',
109
- components: {
110
- [Dialog.name]: Dialog,
111
- [Select.name]: Select,
112
- [Option.name]: Option,
113
- [Checkbox.name]: Checkbox
114
- },
115
- props: {
116
- isActive: Boolean,
117
- allJobs: Array,
118
- userId: String,
119
- allReasons: Array
120
- },
121
- data() {
122
- return {
123
- jobs: {
124
- job: '',
125
- reason: '',
126
- salary: 'R$ 0,00',
127
- confidential: false,
128
- observations: ''
129
- }
130
- };
131
- },
132
- methods: {
133
- async sendRequest() {
134
- const pass = await this.$refs.sendTest.validate();
135
- if (!pass || !this.jobs.job || !this.jobs.reason) {
136
- return;
137
- }
138
-
139
- let salary = this.jobs.salary;
140
- salary = this.replaceAll(salary, '.', '');
141
- salary = salary
142
- .replace(',', '.')
143
- .replace('R$', '')
144
- .trim();
145
-
146
- let payload = {
147
- job_id: this.jobs.job,
148
- user_id: parseInt(this.userId),
149
- reason: this.jobs.reason,
150
- salary: parseInt(salary),
151
- private: this.jobs.confidential,
152
- note: this.jobs.observations
153
- };
154
-
155
- this.$emit('send-request', payload);
156
- this.$emit('close');
157
-
158
- let field = {};
159
- for (field in this.jobs) this.jobs[field] = '';
160
- this.jobs.salary = 'R$ 0,00';
161
- },
162
- setSalary(e, onlyMasking = false) {
163
- let value = e
164
- .replace(/\s/g, '')
165
- .replace('R$', '')
166
- .replace('.', '')
167
- .replace(',', '');
168
-
169
- if (value.trim() == '') {
170
- this.jobs.salary = 'R$ 0,00';
171
- return;
172
- }
173
-
174
- if (value.length > 2) {
175
- let position = value.length - 2;
176
- value = [
177
- value.slice(0, position),
178
- '.',
179
- value.slice(position)
180
- ].join('');
181
- } else {
182
- value = '0.' + value;
183
- }
184
-
185
- while (value.charAt(0) === '0' && value.length >= 5) {
186
- value = value.substr(1);
187
- }
188
-
189
- if (!onlyMasking) {
190
- this.jobs.salary = parseFloat(value).toLocaleString('pt-BR', {
191
- style: 'currency',
192
- currency: 'BRL'
193
- });
194
- } else {
195
- return parseFloat(value).toLocaleString('pt-BR', {
196
- style: 'currency',
197
- currency: 'BRL'
198
- });
199
- }
200
- },
201
- replaceAll(str, find, replace) {
202
- return str.replace(
203
- new RegExp(find.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g'),
204
- replace
205
- );
206
- }
207
- },
208
- watch: {
209
- isActive(newValue) {
210
- !newValue && this.$emit('close-modal');
211
- }
212
- }
107
+ name: 'request-modal',
108
+ components: {
109
+ [Select.name]: Select,
110
+ [Option.name]: Option,
111
+ [Checkbox.name]: Checkbox
112
+ },
113
+ props: {
114
+ isActive: Boolean,
115
+ allJobs: Array,
116
+ userId: String,
117
+ allReasons: Array
118
+ },
119
+ data() {
120
+ return {
121
+ jobs: {
122
+ job: '',
123
+ reason: '',
124
+ salary: 'R$ 0,00',
125
+ confidential: false,
126
+ observations: ''
127
+ }
128
+ };
129
+ },
130
+ methods: {
131
+ async sendRequest() {
132
+ const pass = await this.$refs.sendTest.validate();
133
+ if (!pass || !this.jobs.job || !this.jobs.reason) {
134
+ return;
135
+ }
136
+
137
+ let salary = this.jobs.salary;
138
+ salary = this.replaceAll(salary, '.', '');
139
+ salary = salary
140
+ .replace(',', '.')
141
+ .replace('R$', '')
142
+ .trim();
143
+
144
+ let payload = {
145
+ job_id: this.jobs.job,
146
+ user_id: parseInt(this.userId),
147
+ reason: this.jobs.reason,
148
+ salary: parseInt(salary),
149
+ private: this.jobs.confidential,
150
+ note: this.jobs.observations
151
+ };
152
+
153
+ this.$emit('send-request', payload);
154
+ this.$emit('close');
155
+
156
+ let field = {};
157
+ for (field in this.jobs) this.jobs[field] = '';
158
+ this.jobs.salary = 'R$ 0,00';
159
+ },
160
+ setSalary(e, onlyMasking = false) {
161
+ let value = e
162
+ .replace(/\s/g, '')
163
+ .replace('R$', '')
164
+ .replace('.', '')
165
+ .replace(',', '');
166
+
167
+ if (value.trim() == '') {
168
+ this.jobs.salary = 'R$ 0,00';
169
+ return;
170
+ }
171
+
172
+ if (value.length > 2) {
173
+ let position = value.length - 2;
174
+ value = [
175
+ value.slice(0, position),
176
+ '.',
177
+ value.slice(position)
178
+ ].join('');
179
+ } else {
180
+ value = '0.' + value;
181
+ }
182
+
183
+ while (value.charAt(0) === '0' && value.length >= 5) {
184
+ value = value.substr(1);
185
+ }
186
+
187
+ if (!onlyMasking) {
188
+ this.jobs.salary = parseFloat(value).toLocaleString('pt-BR', {
189
+ style: 'currency',
190
+ currency: 'BRL'
191
+ });
192
+ } else {
193
+ return parseFloat(value).toLocaleString('pt-BR', {
194
+ style: 'currency',
195
+ currency: 'BRL'
196
+ });
197
+ }
198
+ },
199
+ replaceAll(str, find, replace) {
200
+ return str.replace(
201
+ new RegExp(find.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g'),
202
+ replace
203
+ );
204
+ }
205
+ },
206
+ watch: {
207
+ isActive(newValue) {
208
+ !newValue && this.$emit('close-modal');
209
+ }
210
+ }
213
211
  };
214
212
  </script>
215
213
 
216
214
  <style lang="scss" scoped>
217
215
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
218
216
 
219
- /deep/ .el-dialog__body {
220
- padding: 2rem 5rem 2rem;
221
- }
222
-
223
- /deep/ .el-dialog__header {
224
- display: none;
225
- }
226
-
227
- /deep/ .el-dialog {
228
- overflow: hidden;
229
- border-radius: 0.625rem;
230
- padding-bottom: 3.125rem;
231
- max-width: 38.375rem;
232
- min-width: 38.375rem;
233
- margin-top: 5vh !important;
217
+ /deep/ .modal-body {
218
+ margin: 1rem 2rem;
234
219
  }
235
220
 
236
221
  .modal-request {
@@ -252,30 +237,4 @@ export default {
252
237
  }
253
238
  }
254
239
  }
255
-
256
- .tool {
257
- position: absolute;
258
- top: 1rem;
259
- z-index: 10;
260
- color: $primary;
261
- cursor: pointer;
262
-
263
- &-close {
264
- position: absolute;
265
- width: 5.5rem;
266
- height: 1.687rem;
267
- right: 7px;
268
- top: 7px;
269
- display: flex;
270
- justify-content: center;
271
- align-items: center;
272
-
273
- font-size: 0.687rem;
274
-
275
- font-weight: 500;
276
- background: rgba(0, 0, 0, 0.2);
277
- border-radius: 1.09rem;
278
- color: #fff;
279
- }
280
- }
281
240
  </style>
@@ -1,8 +1,7 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isModalOpen"
4
- width="54%"
5
- custom-class="position-relative"
2
+ <modal
3
+ :show.sync="isModalOpen"
4
+ :size="'lg'"
6
5
  @close="$emit('close')"
7
6
  >
8
7
  <basics :isLoading="loading" v-if="loading"/>
@@ -171,20 +170,18 @@
171
170
  />
172
171
  </span>
173
172
  </template>
174
- </el-dialog>
173
+ </modal>
175
174
  </template>
176
175
 
177
176
  <script>
178
177
  import Basics from '../Loadings/Basics';
179
- import { Dialog, Select, Option } from 'element-ui';
180
- import Badge from '../../argon-core/Badge.vue';
178
+ import { Select, Option } from 'element-ui';
181
179
 
182
180
  export default {
183
181
  name: 'send-test',
184
182
  components: {
185
183
  [Select.name]: Select,
186
184
  [Option.name]: Option,
187
- [Dialog.name]: Dialog,
188
185
  Basics
189
186
  },
190
187
  props: {
@@ -289,15 +286,8 @@ export default {
289
286
  <style lang="scss" scoped>
290
287
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
291
288
 
292
- /deep/ .el-dialog__header {
293
- display: none;
294
- }
295
-
296
- /deep/ .el-dialog {
297
- overflow: hidden;
298
- border-radius: 10px;
299
- padding-bottom: 25px;
300
- max-width: 734px;
289
+ /deep/ .modal-body {
290
+ margin: 2rem 0;
301
291
  }
302
292
 
303
293
  /deep/ .mt-2,
@@ -364,30 +354,4 @@ export default {
364
354
  outline: 0;
365
355
  }
366
356
  }
367
-
368
- .tool {
369
- position: absolute;
370
- top: 1rem;
371
- z-index: 10;
372
- color: $primary;
373
- cursor: pointer;
374
-
375
- &-close {
376
- position: absolute;
377
- width: 88px;
378
- height: 27px;
379
- right: 7px;
380
- top: 7px;
381
- display: flex;
382
- justify-content: center;
383
- align-items: center;
384
-
385
- font-size: 11px;
386
-
387
- font-weight: 500;
388
- background: rgba(0, 0, 0, 0.2);
389
- border-radius: 17.5px;
390
- color: #fff;
391
- }
392
- }
393
357
  </style>
@@ -1,8 +1,7 @@
1
1
  <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="54%"
5
- custom-class="position-relative"
2
+ <modal
3
+ :show.sync="isActive"
4
+ :size="'lg'"
6
5
  @close="$emit('close')"
7
6
  >
8
7
  <template>
@@ -120,17 +119,13 @@
120
119
  />
121
120
  </span>
122
121
  </template>
123
- </el-dialog>
122
+ </modal>
124
123
  </template>
125
124
 
126
125
  <script>
127
- import { Dialog } from 'element-ui';
128
-
129
126
  export default {
130
127
  name: 'shared-modal',
131
- components: {
132
- [Dialog.name]: Dialog
133
- },
128
+ components: {},
134
129
  props: {
135
130
  isActive: Boolean,
136
131
  userData: Object,
@@ -175,20 +170,8 @@ export default {
175
170
  <style lang="scss" scoped>
176
171
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
177
172
 
178
- /deep/ .el-dialog__body {
179
- padding: 0;
180
- }
181
-
182
- /deep/ .el-dialog__header {
183
- display: none;
184
- }
185
-
186
- /deep/ .el-dialog {
187
- overflow: hidden;
188
- border-radius: 10px;
189
- padding-bottom: 50px;
190
- max-width: 725px;
191
- min-width: 725px;
173
+ /deep/ .modal-body {
174
+ margin-bottom: 2rem !important;
192
175
  }
193
176
 
194
177
  .social {
@@ -213,32 +196,6 @@ export default {
213
196
  }
214
197
  }
215
198
 
216
- .tool {
217
- position: absolute;
218
- top: 1rem;
219
- z-index: 10;
220
- color: $primary;
221
- cursor: pointer;
222
-
223
- &-close {
224
- position: absolute;
225
- width: 88px;
226
- height: 27px;
227
- right: 7px;
228
- top: 7px;
229
- display: flex;
230
- justify-content: center;
231
- align-items: center;
232
-
233
- font-size: 11px;
234
-
235
- font-weight: 500;
236
- background: rgba(0, 0, 0, 0.2);
237
- border-radius: 17.5px;
238
- color: #fff;
239
- }
240
- }
241
-
242
199
  .btn-whatsapp:hover {
243
200
  color: white;
244
201
  }