@burh/nuxt-core 1.0.157 → 1.0.159

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,140 +1,156 @@
1
1
  <template>
2
- <div class="bg-white content-right tabs">
3
- <el-tabs :class="activeName" class="mt-3 ml-4 handle-icon-color" v-model="activeName">
4
- <el-tab-pane class="history" name="history">
5
- <span class="tab__icon" slot="label">
6
- <img class="img__icon img__icon--history" src="../../../../assets/images/icons/historicCv.svg">
7
- </span>
8
- <p class="notes-title mb-0">Histórico com sua empresa</p>
9
- <div class="line mb-3"></div>
10
-
11
- <div
12
- v-show="userData.user_applied_job.length > 0"
13
- class="mt-3"
14
- v-for="(applied, index) in userData.user_applied_job"
15
- :key="index"
16
- >
17
- <p class="history-text mb-0">
18
- Se candidatou na vaga {{ applied.job.title }}
19
- </p>
20
- <span>{{ applied.subscribe_at | convertDate }}</span>
21
- </div>
22
- <p
23
- v-show="userData.user_applied_job.length === 0"
24
- class="history-text"
25
- >
26
- Nenhuma vaga aplicada.
27
- </p>
28
- </el-tab-pane>
29
-
30
- <el-tab-pane name="notes" v-if="isNotesActived">
31
- <span class="tab__icon" slot="label">
32
- <img class="img__icon img__icon--notes" src="../../../../assets/images/icons/notesCv.svg">
33
- </span>
34
- <p class="notes-title mb-0">Notas da equipe</p>
35
- <div class="line mb-3"></div>
36
- <div
37
- v-show="notes.length > 0"
38
- v-for="(note, index) in notes"
39
- :key="index"
40
- >
41
- <div class="notes-baloon">
42
- <div class="notes-text ml-3 pt-1">
43
- <p class="mt-3">{{ note.text }}</p>
44
- </div>
45
- <div
46
- class="d-flex justify-content-end align-items-center mr-3"
47
- >
48
- <p class="notes-date">
49
- {{ note.created_at | convertDate }}
50
- </p>
51
- </div>
52
- </div>
53
- <div class="notes-owner d-flex mt-2">
54
- <img
55
- v-show="note.user.urlAvatar"
56
- :src="note.user.urlAvatar"
57
- :alt="note.user.name"
58
- />
59
- <div
60
- v-show="!note.user.urlAvatar"
61
- class="notes-avatar"
62
- ></div>
63
- <p class="ml-1">
64
- {{ note.user.name }}
65
- </p>
66
- </div>
67
- </div>
68
- <div class="notes-text pt-1" v-show="notes.length === 0">
69
- <p>Nenhuma nota criada.</p>
70
- </div>
71
-
72
- <input
73
- class="notes-new pl-4 mt-3 mb-3 form-rounded"
74
- type="text"
75
- placeholder="Escrever anotação"
76
- v-model="newNote"
77
- @change="$emit('new-note', newNote, userData.id)"
78
- v-on:change="cleatInput()"
79
- />
80
- </el-tab-pane>
81
-
82
- <el-tab-pane :disabled="true">
83
- <span class="tab__icon" slot="label">
84
- <img class="img__icon" src="../../../../assets/images/icons/icon3.svg">
85
- </span>
86
- </el-tab-pane>
87
-
88
- <el-tab-pane :disabled="true">
89
- <span class="tab__icon" slot="label">
90
- <img class="img__icon" src="../../../../assets/images/icons/icon4.svg">
91
- </span>
92
- </el-tab-pane>
93
- </el-tabs>
94
- </div>
2
+ <div class="bg-white content-right tabs">
3
+ <el-tabs
4
+ :class="activeName"
5
+ class="mt-3 ml-4 handle-icon-color"
6
+ v-model="activeName"
7
+ >
8
+ <el-tab-pane class="history" name="history">
9
+ <span class="tab__icon" slot="label">
10
+ <img
11
+ class="img__icon img__icon--history"
12
+ src="../../../../assets/images/icons/historicCv.svg"
13
+ />
14
+ </span>
15
+ <p class="notes-title mb-0">Histórico com sua empresa</p>
16
+ <div class="line mb-3"></div>
17
+
18
+ <div
19
+ v-show="userData.user_applied_job.length > 0"
20
+ class="mt-3"
21
+ v-for="(applied, index) in userData.user_applied_job"
22
+ :key="index"
23
+ >
24
+ <p class="history-text mb-0">
25
+ Se candidatou na vaga {{ applied.job.title }}
26
+ </p>
27
+ <span>{{ applied.subscribe_at | convertDate }}</span>
28
+ </div>
29
+ <p
30
+ v-show="userData.user_applied_job.length === 0"
31
+ class="history-text"
32
+ >
33
+ Nenhuma vaga aplicada.
34
+ </p>
35
+ </el-tab-pane>
36
+
37
+ <el-tab-pane name="notes" v-if="isNotesActived">
38
+ <span class="tab__icon" slot="label">
39
+ <img
40
+ class="img__icon img__icon--notes"
41
+ src="../../../../assets/images/icons/notesCv.svg"
42
+ />
43
+ </span>
44
+ <p class="notes-title mb-0">Notas da equipe</p>
45
+ <div class="line mb-3"></div>
46
+ <div
47
+ v-show="notes.length > 0"
48
+ v-for="(note, index) in notes"
49
+ :key="index"
50
+ >
51
+ <div class="notes-baloon">
52
+ <div class="notes-text ml-3 pt-1">
53
+ <p class="mt-3">{{ note.text }}</p>
54
+ </div>
55
+ <div
56
+ class="d-flex justify-content-end align-items-center mr-3"
57
+ >
58
+ <p class="notes-date">
59
+ {{ note.created_at | convertDate }}
60
+ </p>
61
+ </div>
62
+ </div>
63
+ <div class="notes-owner d-flex mt-2">
64
+ <img
65
+ v-show="note.user.urlAvatar"
66
+ :src="note.user.urlAvatar"
67
+ :alt="note.user.name"
68
+ />
69
+ <div
70
+ v-show="!note.user.urlAvatar"
71
+ class="notes-avatar"
72
+ ></div>
73
+ <p class="ml-1">
74
+ {{ note.user.name }}
75
+ </p>
76
+ </div>
77
+ </div>
78
+ <div class="notes-text" v-show="notes.length === 0">
79
+ <p>Nenhuma nota criada.</p>
80
+ </div>
81
+
82
+ <input
83
+ class="notes-new pl-4 mt-3 mb-3 form-rounded"
84
+ type="text"
85
+ placeholder="Escrever anotação"
86
+ v-model="newNote"
87
+ @change="$emit('new-note', newNote, userData.id)"
88
+ v-on:change="cleatInput()"
89
+ />
90
+ </el-tab-pane>
91
+
92
+ <el-tab-pane :disabled="true">
93
+ <span class="tab__icon cursor-disabled" slot="label">
94
+ <img
95
+ class="img__icon"
96
+ src="../../../../assets/images/icons/icon3.svg"
97
+ />
98
+ </span>
99
+ </el-tab-pane>
100
+
101
+ <el-tab-pane :disabled="true">
102
+ <span class="tab__icon cursor-disabled" slot="label">
103
+ <img
104
+ class="img__icon"
105
+ src="../../../../assets/images/icons/icon4.svg"
106
+ />
107
+ </span>
108
+ </el-tab-pane>
109
+ </el-tabs>
110
+ </div>
95
111
  </template>
96
112
 
97
113
  <script>
98
114
  import { Tabs, TabPane } from 'element-ui';
99
115
 
100
116
  export default {
101
- name: 'user-cv-left-side',
102
- filters: {
103
- convertDate(data) {
104
- let d = new Date(data);
105
- let options = { hour: '2-digit', minute: '2-digit' };
106
- return d.toLocaleDateString('pt-BR', options);
107
- }
108
- },
109
- components: {
110
- [Tabs.name]: Tabs,
111
- [TabPane.name]: TabPane
112
- },
113
- props: {
114
- userData: Object,
115
- notes: Array,
116
- activeName: String,
117
- isNotesActived: {
118
- type: Boolean,
119
- default: true
120
- }
121
- },
122
- methods: {
123
- cleatInput() {
124
- this.newNote = '';
125
- },
126
- },
127
- data() {
128
- return {
129
- newNote: '',
130
- active: this.activeName
131
- };
132
- }
117
+ name: 'user-cv-left-side',
118
+ filters: {
119
+ convertDate(data) {
120
+ let d = new Date(data);
121
+ let options = { hour: '2-digit', minute: '2-digit' };
122
+ return d.toLocaleDateString('pt-BR', options);
123
+ }
124
+ },
125
+ components: {
126
+ [Tabs.name]: Tabs,
127
+ [TabPane.name]: TabPane
128
+ },
129
+ props: {
130
+ userData: Object,
131
+ notes: Array,
132
+ activeName: String,
133
+ isNotesActived: {
134
+ type: Boolean,
135
+ default: true
136
+ }
137
+ },
138
+ methods: {
139
+ cleatInput() {
140
+ this.newNote = '';
141
+ }
142
+ },
143
+ data() {
144
+ return {
145
+ newNote: '',
146
+ active: this.activeName
147
+ };
148
+ }
133
149
  };
134
150
  </script>
135
151
 
136
152
  <style lang="scss" scoped>
137
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
153
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
138
154
 
139
155
  .readmore {
140
156
  overflow: hidden;
@@ -144,16 +160,16 @@ export default {
144
160
  -webkit-box-orient: vertical;
145
161
  }
146
162
  .el-tabs__item {
147
- padding: 3rem;
163
+ padding: 3rem;
148
164
  }
149
165
 
150
166
  .tab__icon {
151
- .img__icon {
152
- background-color: #f5f5f5 !important;
153
- border-radius: 30%;
154
- padding: 7px;
155
- margin-bottom: 1rem;
156
- }
167
+ .img__icon {
168
+ background-color: #f5f5f5 !important;
169
+ border-radius: 30%;
170
+ padding: 7px;
171
+ margin-bottom: 1rem;
172
+ }
157
173
  }
158
174
 
159
175
  .content-right {
@@ -231,9 +247,9 @@ export default {
231
247
  }
232
248
 
233
249
  .history {
234
- margin-right: 22px;
250
+ margin-right: 22px;
235
251
  word-break: break-word;
236
-
252
+
237
253
  .history-text {
238
254
  font-size: 13px;
239
255
  color: #62778c;
@@ -246,4 +262,8 @@ export default {
246
262
  color: #8da2b5;
247
263
  }
248
264
  }
265
+
266
+ .cursor-disabled {
267
+ cursor: no-drop;
268
+ }
249
269
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.157",
3
+ "version": "1.0.159",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {