@nixweb/nixloc-ui 0.0.82 → 0.0.85

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.82",
3
+ "version": "0.0.85",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -28,6 +28,10 @@ export default {
28
28
  type: Boolean,
29
29
  default: false,
30
30
  },
31
+ marcarFormSujo: {
32
+ type: Boolean,
33
+ default: true,
34
+ },
31
35
  },
32
36
  data() {
33
37
  return {
@@ -40,7 +44,7 @@ export default {
40
44
  methods: {
41
45
  ...mapMutations("validation", ["insereFormSujo"]),
42
46
  executar(event) {
43
- this.insereFormSujo(true);
47
+ if (this.marcarFormSujo) this.insereFormSujo(true);
44
48
  this.$emit("input", this.selecionado);
45
49
  let self = this;
46
50
  setTimeout(function () {
@@ -118,6 +118,10 @@ export default {
118
118
  cadastrarNovoTitulo: String,
119
119
  cadastrarNovoLargura: Number,
120
120
  cadastrarNovoAltura: Number,
121
+ marcarFormSujo: {
122
+ type: Boolean,
123
+ default: true,
124
+ },
121
125
  },
122
126
  components: {
123
127
  Multiselect,
@@ -169,11 +173,13 @@ export default {
169
173
  "insereValidacao",
170
174
  "removeValidacao",
171
175
  "reiniciaValidacao",
176
+ "insereFormSujo",
172
177
  ]),
173
178
  aoAbrir() {
174
179
  this.obterTodos();
175
180
  },
176
181
  aoSelecionar(value) {
182
+ if (this.marcarFormSujo) this.insereFormSujo(true);
177
183
  this.$emit("input", value);
178
184
  if (this.alterou) this.alterou();
179
185
  if (this.campoAlvo) {
@@ -297,9 +303,9 @@ div.depois-lista {
297
303
  }
298
304
 
299
305
  .selecione {
300
- height: 34px;
301
- border-bottom: 1px solid #d6d6d6;
302
- border-radius: 2px !important;
306
+ height: 36px;
307
+ border-bottom: 1px solid #d6dadf;
308
+ border-radius: 0px !important;
303
309
  margin-bottom: 20px;
304
310
  }
305
311
 
@@ -39,7 +39,7 @@ export default {
39
39
 
40
40
  <style scoped>
41
41
  .barra {
42
- background-color: #fafafc;
42
+ background-color: white;
43
43
  position: fixed;
44
44
  width: 100%;
45
45
  overflow: hidden;
@@ -15,7 +15,7 @@
15
15
  <div class="div-icone lado-a-lado">
16
16
  <i class="fas fa-chart-area icone-dash" :style="'color:' + corBase"></i>
17
17
  </div>
18
- <div class="lado-a-lado titulo">Dashboard</div>
18
+ <div class="titulo">Dashboard</div>
19
19
  </a>
20
20
  </li>
21
21
 
@@ -28,10 +28,10 @@
28
28
  <div class="div-icone lado-a-lado">
29
29
  <i :class="item.icone" class="icone" :style="'color:' + corBase"></i>
30
30
  </div>
31
- <div class="lado-a-lado titulo">{{ item.modulo }}</div>
32
- <div class="lado-a-lado seta menu__arrow-icon">
31
+ <div class="titulo">{{ item.titulo }}</div>
32
+ <!-- <div class="lado-a-lado seta menu__arrow-icon">
33
33
  <i class="fas fa-angle-right"></i>
34
- </div>
34
+ </div> -->
35
35
  </a>
36
36
  </li>
37
37
  </ul>
@@ -153,20 +153,24 @@ export default {
153
153
  width: 35px;
154
154
  height: 35px;
155
155
  padding-top: 5px;
156
+ margin-left: 38px;
156
157
  }
157
158
 
158
159
  .icone-fechar {
159
160
  margin-right: 20px;
160
161
  }
161
162
  .icone {
162
- font-size: 18px;
163
+ font-size: 20px;
163
164
  }
164
165
  .icone-dash {
165
- font-size: 20px;
166
+ font-size: 22px;
166
167
  }
167
168
  .titulo {
168
- font-size: 14px;
169
+ font-size: 13px;
169
170
  font-weight: 400;
171
+ margin-top: -6px;
172
+ text-align: center;
173
+ width: 100%;
170
174
  }
171
175
  .titulo-sub {
172
176
  margin-left: 5px;
@@ -13,7 +13,7 @@ export default {
13
13
  .moldura {
14
14
  border: 1px solid #dbdfe9;
15
15
  background-color: white;
16
- border-radius: 6px;
16
+ border-radius: 3px;
17
17
  padding: 15px;
18
18
  }
19
19
  </style>
@@ -98,7 +98,7 @@ export default {
98
98
  <style scoped>
99
99
  .c-container {
100
100
  margin: auto;
101
- padding-left: 220px;
101
+ padding-left: 110px;
102
102
  max-width: 1400px;
103
103
  }
104
104
 
@@ -29,7 +29,7 @@ export default {
29
29
  width: 100%;
30
30
  position: fixed;
31
31
  top: 0;
32
- left: 220px;
32
+ left: 100px;
33
33
  z-index: 20;
34
34
  }
35
35
  </style>
@@ -23,7 +23,7 @@ import Painel from "@nixweb/nixloc-ui/src/component/layout/Painel";
23
23
  import SalvarCancelar from "@nixweb/nixloc-ui/src/component/shared/SalvarCancelar";
24
24
 
25
25
  export default {
26
- name: "InserirEditarModeloView",
26
+ name: "ModeloAdicionarModificarView",
27
27
  components: { Painel, SalvarCancelar },
28
28
  props: {
29
29
  painel: Object,
@@ -0,0 +1,36 @@
1
+ <template>
2
+ <div>
3
+ <slot name="conteudo-botoes"></slot>
4
+ <Pesquisa />
5
+ <br />
6
+ <ModeloLista :modeloLista="modeloLista" :botaoExcluir="botaoExcluir">
7
+ <div slot="conteudo-botoes-tabela-cabecalho">
8
+ <slot name="conteudo-botoes-tabela-cabecalho"></slot>
9
+ </div>
10
+ <div slot="conteudo-filtro-horizontal">
11
+ <slot name="conteudo-filtro-horizontal"></slot>
12
+ </div>
13
+ <div slot="conteudo-botoes-tabela">
14
+ <slot name="conteudo-botoes-tabela"></slot>
15
+ </div>
16
+ </ModeloLista>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ import Pesquisa from "../shared/Pesquisa.vue";
22
+
23
+ import ModeloLista from "@nixweb/nixloc-ui/src/component/template/ModeloLista.vue";
24
+
25
+ export default {
26
+ name: "ModeloView",
27
+ components: { Pesquisa, ModeloLista },
28
+ props: {
29
+ modeloLista: Object,
30
+ botaoExcluir: {
31
+ type: Boolean,
32
+ default: true,
33
+ },
34
+ },
35
+ };
36
+ </script>