@burh/nuxt-core 1.0.123 → 1.0.124

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.
@@ -35,7 +35,7 @@
35
35
  <p
36
36
  v-for="(skill, index) in userData.user_skill"
37
37
  :key="`skill-${index}`"
38
- class="ml-1 mt-1 mb-0"
38
+ class="ml-1 mt-1 mb-0 text-capitalize"
39
39
  >
40
40
  {{ skill.skill_word }}
41
41
  </p>
@@ -49,7 +49,7 @@
49
49
  <div class="line"></div>
50
50
 
51
51
  <p
52
- class="mb-1"
52
+ class="mb-1 text-capitalize"
53
53
  v-for="(lan, index) in userData.user_language"
54
54
  :key="index"
55
55
  >
@@ -67,7 +67,7 @@
67
67
  <p
68
68
  v-for="(des, index) in userData.user_desired_job"
69
69
  :key="`skill-${index}`"
70
- class="ml-1 mt-1 mb-0"
70
+ class="ml-1 mt-1 mb-0 text-capitalize"
71
71
  >
72
72
  {{ des.occupation }}
73
73
  </p>
@@ -65,11 +65,12 @@
65
65
  </div>
66
66
 
67
67
  <input
68
- class="notes-new pl-4 mt-3 mb-3 form-control form-rounded"
68
+ class="notes-new pl-4 mt-3 mb-3 form-rounded"
69
69
  type="text"
70
70
  placeholder="Escrever anotação"
71
71
  v-model="newNote"
72
72
  @change="$emit('new-note', newNote, userData.id)"
73
+ v-on:change="cleatInput()"
73
74
  />
74
75
  </el-tab-pane>
75
76
  </el-tabs>
@@ -96,16 +97,21 @@ export default {
96
97
  userData: Object,
97
98
  notes: Array
98
99
  },
100
+ methods: {
101
+ cleatInput() {
102
+ this.newNote = '';
103
+ }
104
+ },
99
105
  data() {
100
106
  return {
101
- activeName: 'history',
107
+ activeName: 'notes',
102
108
  newNote: ''
103
109
  };
104
110
  }
105
111
  };
106
112
  </script>
107
113
 
108
- <style lang="scss">
114
+ <style lang="scss" scoped>
109
115
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
110
116
 
111
117
  .readmore {
@@ -116,24 +122,6 @@ export default {
116
122
  -webkit-box-orient: vertical;
117
123
  }
118
124
 
119
- .tabs {
120
- .el-tabs__nav-wrap::after {
121
- background: #fff !important;
122
- }
123
-
124
- .el-tabs__active-bar {
125
- height: 4px;
126
- border-radius: 10px 10px 0px 0px;
127
- }
128
- }
129
-
130
- .el-dialog {
131
- overflow: hidden;
132
- border-radius: 10px;
133
- padding-bottom: 50px;
134
- max-width: 1500px;
135
- }
136
-
137
125
  .content-right {
138
126
  width: 25%;
139
127
  }
@@ -197,6 +185,8 @@ export default {
197
185
  background: #f5f5f5;
198
186
  border-radius: 16.5px;
199
187
  border: none;
188
+
189
+ outline: 0;
200
190
  }
201
191
 
202
192
  .line {
@@ -111,18 +111,6 @@ export default {
111
111
 
112
112
  .user-pdf {
113
113
  background-color: #fff;
114
- // clip-path: polygon(0 12%, 10% 0, 100% 0, 100% 100%, 0 100%);
115
- /* clip-path: polygon(
116
- 10% 0%,
117
- 100% 0,
118
- 100% 10%,
119
- 100% 90%,
120
- 90% 100%,
121
- 10% 100%,
122
- 0 100%,
123
- 0% 10%
124
- ); */
125
-
126
114
  img {
127
115
  width: 100%;
128
116
  height: 150px;
@@ -58,9 +58,9 @@ export default {
58
58
  fileToUpload: null,
59
59
  dropzoneOptions: {
60
60
  maxFiles: 1,
61
- maxFilesize: 2, // ESTÁ DEFINIDO TAMANHO MÁXIMO DE 20 KB NA FOTO
61
+ maxFilesize: 0.2, // ESTÁ DEFINIDO TAMANHO MÁXIMO DE 20 KB NA FOTO
62
62
  dictFileTooBig:
63
- 'A imagem que você tentou inserir é maior que 2MB',
63
+ 'A imagem que você tentou inserir é maior que 200KB',
64
64
  dictDefaultMessage: 'Clique ou arraste seu arquivo aqui'
65
65
  }
66
66
  };
@@ -98,7 +98,9 @@ export default {
98
98
  async saveImage() {
99
99
  if (this.fileToUpload != null) {
100
100
  let image = this.fileToUpload;
101
- this.$emit('save-img', image);
101
+ if (image[0].size <= 200000) {
102
+ this.$emit('save-img', image);
103
+ }
102
104
  }
103
105
 
104
106
  this.$emit('close-modal-video');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.123",
3
+ "version": "1.0.124",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {