@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 +1 -1
- package/src/component/forms/CheckboxMultiplo.vue +5 -1
- package/src/component/forms/Escolher.vue +9 -3
- package/src/component/layout/BarraFixa.vue +1 -1
- package/src/component/layout/Menu.vue +11 -7
- package/src/component/layout/Moldura.vue +1 -1
- package/src/component/layout/Painel.vue +1 -1
- package/src/component/layout/Topo.vue +1 -1
- package/src/component/template/{InserirEditarModeloView.vue → ModeloAdicionarModificarView.vue} +1 -1
- package/src/component/template/ModeloCadastroView.vue +36 -0
package/package.json
CHANGED
|
@@ -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:
|
|
301
|
-
border-bottom: 1px solid #
|
|
302
|
-
border-radius:
|
|
306
|
+
height: 36px;
|
|
307
|
+
border-bottom: 1px solid #d6dadf;
|
|
308
|
+
border-radius: 0px !important;
|
|
303
309
|
margin-bottom: 20px;
|
|
304
310
|
}
|
|
305
311
|
|
|
@@ -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="
|
|
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="
|
|
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:
|
|
163
|
+
font-size: 20px;
|
|
163
164
|
}
|
|
164
165
|
.icone-dash {
|
|
165
|
-
font-size:
|
|
166
|
+
font-size: 22px;
|
|
166
167
|
}
|
|
167
168
|
.titulo {
|
|
168
|
-
font-size:
|
|
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;
|
package/src/component/template/{InserirEditarModeloView.vue → ModeloAdicionarModificarView.vue}
RENAMED
|
@@ -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: "
|
|
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>
|