@burh/nuxt-core 1.0.348 → 1.0.350

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,27 +1,27 @@
1
1
  <template>
2
- <li
3
- @click="$emit('functionality-click')"
4
- class="functionality-item text-center "
5
- >
6
- <i class="functionality-item--icone fas " :class="icone"></i>
7
- <span class="functionality-item--text">{{ text }}</span>
8
- </li>
2
+ <li
3
+ @click="$emit('functionality-click')"
4
+ class="functionality-item text-center "
5
+ >
6
+ <i class="functionality-item--icone fas " :class="icone"></i>
7
+ <span class="functionality-item--text">{{ text }}</span>
8
+ </li>
9
9
  </template>
10
10
  <script>
11
11
  export default {
12
- name: 'functionality-item',
13
- props: {
14
- icone: String,
15
- text: String,
16
- click: Function
17
- }
12
+ name: 'functionality-item',
13
+ props: {
14
+ icone: String,
15
+ text: String,
16
+ click: Function
17
+ }
18
18
  };
19
19
  </script>
20
20
  <style lang="scss" scoped>
21
21
  .functionality-item {
22
22
  display: flex;
23
23
  flex-direction: column;
24
- color: #258bf4;
24
+ color: #5865F2;
25
25
  line-height: 2.5;
26
26
 
27
27
  &--icone {
@@ -1,47 +1,47 @@
1
1
  <template>
2
- <li class="performance-item" :class="primary && ' primary'">
3
- <span class="performance-item--title">{{ formatedTitle }}</span>
4
- <span v-if="!skeleton" class="performance-item--value">{{
5
- value > 999 ? formatedValue + ' mil' : formatedValue + ''
6
- }}</span>
7
- <span
8
- v-if="skeleton"
9
- class="performance-item--value skeleton-inner"
10
- ></span>
11
- </li>
2
+ <li class="performance-item" :class="primary && ' primary'">
3
+ <span class="performance-item--title">{{ formatedTitle }}</span>
4
+ <span v-if="!skeleton" class="performance-item--value">{{
5
+ value > 999 ? formatedValue + ' mil' : formatedValue + ''
6
+ }}</span>
7
+ <span
8
+ v-if="skeleton"
9
+ class="performance-item--value skeleton-inner"
10
+ ></span>
11
+ </li>
12
12
  </template>
13
13
  <script>
14
14
  export default {
15
- name: 'performance-item',
16
- props: {
17
- title: {
18
- type: String,
19
- default: 'Visualizações'
20
- },
21
- value: {
22
- type: Number,
23
- default: 3910
24
- },
25
- primary: {
26
- type: Boolean,
27
- default: false
28
- },
29
- skeleton: {
30
- type: Boolean,
31
- default: false
32
- }
33
- },
34
- computed: {
35
- formatedValue() {
36
- if (this.value > 999) return this.value / 1000;
15
+ name: 'performance-item',
16
+ props: {
17
+ title: {
18
+ type: String,
19
+ default: 'Visualizações'
20
+ },
21
+ value: {
22
+ type: Number,
23
+ default: 3910
24
+ },
25
+ primary: {
26
+ type: Boolean,
27
+ default: false
28
+ },
29
+ skeleton: {
30
+ type: Boolean,
31
+ default: false
32
+ }
33
+ },
34
+ computed: {
35
+ formatedValue() {
36
+ if (this.value > 999) return this.value / 1000;
37
37
 
38
- return this.value;
39
- },
40
- formatedTitle() {
41
- const title = this.title.toLowerCase();
42
- return title[0].toUpperCase() + title.slice(1);
43
- }
44
- }
38
+ return this.value;
39
+ },
40
+ formatedTitle() {
41
+ const title = this.title.toLowerCase();
42
+ return title[0].toUpperCase() + title.slice(1);
43
+ }
44
+ }
45
45
  };
46
46
  </script>
47
47
  <style lang="scss" scoped>
@@ -59,7 +59,7 @@ export default {
59
59
  }
60
60
 
61
61
  .primary {
62
- color: #258bf4;
62
+ color: #5865F2;
63
63
  font-weight: 600;
64
64
  }
65
65
  </style>
@@ -90,13 +90,9 @@
90
90
  ><br />
91
91
  <span
92
92
  class="info-text"
93
- v-html="
94
- highlightText(
95
- search,
96
- edu.formation_level_id | formationLevel
97
- )
98
- "
99
- ></span>
93
+ >
94
+ {{edu.formation_level_id | formationLevel}}
95
+ </span>
100
96
  </div>
101
97
 
102
98
  <!-- EXPERIÊNCIAS -->
@@ -214,6 +210,8 @@ export default {
214
210
  6: 'Doutorado'
215
211
  };
216
212
 
213
+ console.log(typeFormation[id]);
214
+
217
215
  return typeFormation[id] || '-';
218
216
  }
219
217
  },
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <modal :show="isModalOpen" v-on:close="closeModal" size="xl" class="modal">
3
3
  <template slot="header">
4
-
4
+
5
5
  <h2 class="display-4 px-2">
6
6
  Insira os e-mail que deseja enviar o treinamento <br>
7
7
 
@@ -24,7 +24,7 @@
24
24
  <label for="email">E-mail</label>
25
25
  </div>
26
26
  <div class="col-4">
27
- <label for="email">Cargo</label>
27
+ <label for="email">Setor</label>
28
28
  </div>
29
29
  </div>
30
30
  <validation-observer ref="sendCourse">
@@ -43,6 +43,7 @@
43
43
  v-model="slot.name"
44
44
  :error="errors[0]"
45
45
  :valid="errors.length ? true : false"
46
+ placeholder="Nome Completo"
46
47
  />
47
48
  </validation-provider>
48
49
 
@@ -59,6 +60,7 @@
59
60
  v-model="slot.email"
60
61
  :error="errors[0]"
61
62
  :valid="errors.length ? true : false"
63
+ placeholder="E-mail"
62
64
  />
63
65
  </validation-provider>
64
66
 
@@ -70,7 +72,7 @@
70
72
  class="select-danger"
71
73
  v-model="slot.access_level_id"
72
74
  style="height: 50px"
73
- :placeholder="''"
75
+ placeholder="Escolha o setor"
74
76
  >
75
77
  <el-option
76
78
  v-for="role in corporativeRole"
@@ -98,7 +100,7 @@
98
100
  <!-- envio em massa -->
99
101
  <div v-else style="height:100px">
100
102
  <div class="px-4">
101
- <label for="email">Cargo</label>
103
+ <label for="email">Setor</label>
102
104
  </div>
103
105
  <validation-observer ref="sendCourse">
104
106
  <div class="row px-4" v-for="(slot, idx) in payload.users" :key="idx">
@@ -111,7 +113,7 @@
111
113
  multiple
112
114
  style="width: 100%;"
113
115
  v-model="selectedRole"
114
- :placeholder="''"
116
+ placeholder="Escolha o setor"
115
117
  >
116
118
  <el-option
117
119
  v-for="role in corporativeRole"
@@ -286,7 +288,7 @@ export default {
286
288
  {
287
289
  idx: '',
288
290
  name: '',
289
- email: '',
291
+ email: '',
290
292
  access_level_id: this.selectedRole
291
293
  }
292
294
  ],
@@ -52,7 +52,7 @@ export default {
52
52
  .functionality-item {
53
53
  display: flex;
54
54
  flex-direction: column;
55
- color: #258bf4;
55
+ color: #5865F2;
56
56
  line-height: 2.5;
57
57
  align-items: center;
58
58
 
@@ -390,7 +390,7 @@ export default {
390
390
  }
391
391
 
392
392
  .navbar-blue {
393
- background-color: #258bf4 !important;
393
+ background-color: #5865F2 !important;
394
394
  .nav-link{
395
395
  &:hover{
396
396
  color: white;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.348",
3
+ "version": "1.0.350",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {