@burh/nuxt-core 1.0.315 → 1.0.317

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.
@@ -4,16 +4,17 @@
4
4
 
5
5
  <h2 class="display-4 px-2">
6
6
  Insira os e-mail que deseja enviar o treinamento <br>
7
- <div style="display: inline-block;">
8
- <el-switch
9
- v-model="switchSingle"
10
- active-color="#5865F2"
11
- inactive-text="Usuario em específico"
12
- active-text="Enviar em massa">
13
- </el-switch>
14
- </div>
7
+
15
8
  </h2>
16
9
  </template>
10
+ <div class="switch-position">
11
+ <el-switch
12
+ v-model="switchSingle"
13
+ active-color="#5865F2"
14
+ inactive-text="Usuario em específico"
15
+ active-text="Enviar em massa">
16
+ </el-switch>
17
+ </div>
17
18
  <div v-if="switchSingle === false" style="min-height:100px">
18
19
  <div class="row px-4">
19
20
  <div class="col-4">
@@ -257,7 +258,9 @@ export default {
257
258
  selectedCourse(newValue) {
258
259
  this.coursesToSend = newValue ? [newValue] : [];
259
260
  },
260
- switchSingle(){this.selectedRole = '';}
261
+ switchSingle(){
262
+ this.resetSlots();
263
+ }
261
264
  },
262
265
  data() {
263
266
  return {
@@ -297,8 +300,15 @@ export default {
297
300
  .pointer {
298
301
  cursor: pointer;
299
302
  }
303
+ .switch-position{
304
+ padding: 16px 0;
305
+ margin-bottom: 16px;
306
+ display: flex;
307
+ align-items: center;
308
+ justify-content: center;
309
+ }
300
310
  /deep/ .el-switch__label{
301
- height: 13.5px !important;
311
+ /* height: 13.5px !important; */
302
312
  &.is-active{
303
313
  color: #5865F2 !important;
304
314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.315",
3
+ "version": "1.0.317",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {