@nixweb/nixloc-ui 0.0.30 → 0.0.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nixweb/nixloc-ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.34",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -65,6 +65,7 @@ export default {
65
65
  <style scoped>
66
66
  .c-div-botao {
67
67
  display: inline-block;
68
+ margin-left: 5px;
68
69
  }
69
70
 
70
71
  .titulo {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div>
2
+ <div class="painel">
3
3
  <Toast />
4
4
  <Carregando v-show="carregando('painel')" />
5
5
  <div v-show="!carregando('painel')">
@@ -81,10 +81,6 @@ export default {
81
81
  },
82
82
  updated() {
83
83
  this.rotaAtual = this.$route.name;
84
- /* var caminho = this.$route.path;
85
- var modulo = caminho.split("/")[1];
86
- eventBus.$emit("topoAtivado", modulo);
87
- eventBus.$emit("menuAtivado", modulo);*/
88
84
  },
89
85
  computed: {
90
86
  ...mapGetters("generic", ["carregando"]),
@@ -101,9 +97,8 @@ export default {
101
97
  <style scoped>
102
98
  .c-container {
103
99
  margin: auto;
104
- padding-left: 120px;
105
- padding-right: 20px;
106
- padding-top: 60px;
100
+ padding-left: 30px;
101
+ padding-right: 30px;
107
102
  max-width: 1400px;
108
103
  }
109
104
 
@@ -129,4 +124,8 @@ export default {
129
124
  .c-voltar:hover {
130
125
  color: #8ca1b7;
131
126
  }
127
+
128
+ .painel {
129
+ padding: 20px;
130
+ }
132
131
  </style>
@@ -196,6 +196,11 @@ export default {
196
196
  </script>
197
197
 
198
198
  <style scoped>
199
+
200
+ table {
201
+ border-collapse: initial !important;
202
+ }
203
+
199
204
  table tbody tr td {
200
205
  max-width: 350px;
201
206
  }
@@ -207,6 +212,7 @@ table tbody tr td {
207
212
  padding-top: 7px !important;
208
213
  padding-bottom: 5px !important;
209
214
  padding-right: 5px !important;
215
+ border-bottom: 0px !important;
210
216
  }
211
217
 
212
218
  .td-checkbox {
@@ -1,14 +1,15 @@
1
1
  export default class Token {
2
+
2
3
  tokenHeaders() {
3
4
  return {
4
5
  "Content-Type": "application/json",
5
- Authorization: "Bearer " + sessionStorage.token
6
+ Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).usuario.usuarioLogado.token
6
7
  };
7
8
  }
8
9
  tokenHeadersFormData() {
9
10
  return {
10
11
  "Content-Type": "multipart/form-data",
11
- Authorization: "Bearer " + sessionStorage.token
12
+ Authorization: "Bearer " + JSON.parse(sessionStorage.vuex).usuario.usuarioLogado.token
12
13
  };
13
14
  }
14
15
  }
@@ -1,6 +1,7 @@
1
1
  import axios from "@/config/axios";
2
2
  import dicas from "@/config/dicas";
3
- import Token from "@/config/token";
3
+ import Token from "@nixweb/nixloc-ui/src/config/token";
4
+
4
5
 
5
6
  export default {
6
7
  namespaced: true,
@@ -134,7 +135,7 @@ export default {
134
135
  state.notificacoes = notificacoes;
135
136
  },
136
137
  insereNotificacaoErroApi: (state) => {
137
- var erro = { property: "ERRO API", message: "Falha de Comunicação!" };
138
+ var erro = { property: "ERRO API", mensagem: "Falha de Comunicação!" };
138
139
  state.notificacoes = [erro];
139
140
  },
140
141
  removeNotificacao: (state) => {