@burh/nuxt-core 1.0.454 → 1.0.456

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.
@@ -10,7 +10,7 @@
10
10
  class="burh-color"
11
11
  @click.native="$emit('send-contact')"
12
12
  >
13
- <i class="fas fa-lock mr-1"></i>
13
+ <diamond class="mr-1" />
14
14
  Atualizar
15
15
  </base-button>
16
16
  </div>
@@ -215,12 +215,6 @@
215
215
  <span class="font-weight-normal mt-2 d-block" v-if="!isLocked"
216
216
  >Data de atualização:
217
217
  {{ $moment(userData.updated_at).format('DD/MM/YYYY H:mm') }}
218
- <!-- <template v-if="isLocked" @click="$emit('open-contact', isLocked)">
219
- <i class="fa fa-lock"></i>
220
- </template>
221
- <template v-else>
222
- {{$moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}
223
- </template> -->
224
218
  </span>
225
219
  </div>
226
220
  </div>
@@ -13,10 +13,7 @@
13
13
  "
14
14
  >
15
15
  <template v-if="tool.event !== 'moveTo'">
16
- <i
17
- v-show="isLocked && tool.event !== 'share'"
18
- class="fas fa-lock mr-1"
19
- ></i>
16
+ <diamond v-if="isLocked && tool.event !== 'share'" class="mr-1" :size="16" />
20
17
  {{ tool.name }}
21
18
  </template>
22
19
  <template v-else-if="tool.event === 'moveTo'">
@@ -71,7 +68,7 @@
71
68
  >Ler mais</a
72
69
  >
73
70
 
74
- <p v-if="userData && userData.user_complementary_information && userData.user_complementary_information.about || false" class="">
71
+ <p v-if="!(userData && userData.user_complementary_information && userData.user_complementary_information.about)" class="">
75
72
  Nenhuma informação adicionada
76
73
  </p>
77
74
  </div>
@@ -15,14 +15,13 @@
15
15
  </div>
16
16
  <div>
17
17
  <button
18
- @click="!isLocked ? handleFilterApply() : $emit('open-plan-modal')"
18
+ @click="!isLocked ? handleFilterApply() : handleOpenPlanModal()"
19
19
  class="base__filter__button apply"
20
20
  :class="{ 'disabled': isLocked }"
21
21
  >
22
22
  <template v-if="isLocked">
23
23
  <span class="mr-1 custom__icon">
24
- <i class="fas fa-lock lock"></i>
25
- <i class="fas fa-rocket rocket"></i>
24
+ <diamond class="lock" />
26
25
  </span>
27
26
  </template>
28
27
  <span>Filtrar</span>
@@ -49,6 +48,10 @@ export default {
49
48
  handleFilterApply() {
50
49
  this.$bus.$emit('close-dropdown');
51
50
  this.$emit('filter-apply');
51
+ },
52
+ handleOpenPlanModal() {
53
+ this.$bus.$emit('close-dropdown');
54
+ this.$emit('open-plan-modal');
52
55
  }
53
56
  }
54
57
  };
@@ -127,20 +130,6 @@ export default {
127
130
  .lock {
128
131
  animation: fadeInDown 0.5s;
129
132
  }
130
- .rocket {
131
- display: none;
132
- }
133
- }
134
- &:hover {
135
- .custom__icon {
136
- .lock {
137
- display: none;
138
- }
139
- .rocket {
140
- display: block;
141
- animation: fadeInDown 0.5s;
142
- }
143
- }
144
133
  }
145
134
  }
146
135
  }
@@ -21,8 +21,13 @@
21
21
  v-if="status != ''"
22
22
  class="status"
23
23
  :class="`status--${status}`"
24
- ></div>
24
+ />
25
+
26
+ <slot name="button-left" />
27
+
25
28
  <p>{{ text }}</p>
29
+
30
+ <slot name="button-right" />
26
31
  </button>
27
32
 
28
33
  <div
@@ -30,7 +30,7 @@
30
30
  type="primary"
31
31
  v-if="hasEnableBadge"
32
32
  >
33
- ATUALIZAR
33
+ <diamond class="mr-1" :size="14" /> ATUALIZAR
34
34
  </badge>
35
35
 
36
36
  <badge
@@ -85,14 +85,16 @@ export default {
85
85
  },
86
86
  methods: {
87
87
  showError(file, message) {
88
- return swal.fire({
89
- title: 'Erro',
90
- text: message,
91
- type: 'error',
92
- buttonsStyling: false,
93
- confirmButtonText: 'Ok, fechar!',
94
- confirmButtonClass: 'btn btn-primary btn-fill'
95
- });
88
+ if(file.status != 'canceled'){
89
+ return swal.fire({
90
+ title: 'Erro',
91
+ text: message,
92
+ type: 'error',
93
+ buttonsStyling: false,
94
+ confirmButtonText: 'Ok, fechar!',
95
+ confirmButtonClass: 'btn btn-primary btn-fill'
96
+ });
97
+ }
96
98
  },
97
99
  removeImage() {
98
100
  if (!this.image) {
@@ -106,7 +108,7 @@ export default {
106
108
  if (image[0].size <= 500000) {
107
109
  this.$emit('save-img', image);
108
110
  }
109
- }
111
+ }
110
112
 
111
113
  this.$emit('close-modal-video');
112
114
  }
@@ -195,6 +195,7 @@
195
195
  <el-select
196
196
  v-model="coursesToSend"
197
197
  multiple
198
+ collapse-tags
198
199
  no-match-text="Nenhum Treinamento encontrado"
199
200
  no-data-text="Nenhum Treinamento encontrado"
200
201
  class="w-100"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.454",
3
+ "version": "1.0.456",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {