@nixweb/nixloc-ui 0.0.121 → 0.0.124
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/docs/src/component/template/ModeloRelatorioView.drawio +2 -2
- package/docs/src/store/modulos/relatorio.drawio +2 -2
- package/package.json +77 -77
- package/public/styles/app.css +1 -1
- package/src/component/forms/{Botao.vue → Button.vue} +53 -57
- package/src/component/forms/CheckboxGroup.vue +63 -0
- package/src/component/forms/{CheckboxUnico.vue → CheckboxSimple.vue} +8 -8
- package/src/component/forms/{Cor.vue → Color.vue} +9 -9
- package/src/component/forms/DateTime.vue +55 -55
- package/src/component/forms/{BotaoDropdown.vue → Dropdown.vue} +58 -58
- package/src/component/forms/EditorHtml.vue +123 -0
- package/src/component/forms/FileUpload.vue +189 -0
- package/src/component/forms/InputDecimal.vue +137 -0
- package/src/component/forms/InputNumber.vue +149 -0
- package/src/component/forms/InputPassword.vue +135 -0
- package/src/component/forms/InputText.vue +157 -0
- package/src/component/forms/Modal.vue +15 -15
- package/src/component/forms/RadioGroup.vue +50 -0
- package/src/component/forms/Select.vue +337 -0
- package/src/component/forms/SelectStatic.vue +120 -0
- package/src/component/forms/TextArea.vue +126 -0
- package/src/component/forms/Toggle.vue +13 -13
- package/src/component/layout/{Conta.vue → Account.vue} +28 -28
- package/src/component/layout/{Alerta.vue → Alert.vue} +22 -22
- package/src/component/layout/Badge.vue +23 -23
- package/src/component/layout/{BarraFixa.vue → FixedBar.vue} +16 -16
- package/src/component/layout/{Topo.vue → Header.vue} +5 -5
- package/src/component/layout/{CarregandoTelaInteira.vue → LoadingFullPage.vue} +3 -3
- package/src/component/layout/Menu.vue +66 -66
- package/src/component/layout/{Moldura.vue → Molded.vue} +4 -4
- package/src/component/layout/Panel.vue +142 -0
- package/src/component/layout/Popover.vue +1 -1
- package/src/component/layout/{BarraRolagem.vue → Scrollbar.vue} +9 -11
- package/src/component/layout/Tag.vue +15 -15
- package/src/component/layout/Wizard.vue +3 -3
- package/src/component/shared/{CodigoEditor.vue → CodeEditor.vue} +25 -25
- package/src/component/shared/Collapse.vue +131 -0
- package/src/component/shared/Confirmation.vue +80 -0
- package/src/component/shared/{DocumentoEditor.vue → DocumentEditor.vue} +10 -16
- package/src/component/shared/{DocumentoPreview.vue → DocumentPreview.vue} +2 -2
- package/src/component/shared/ExportExcel.vue +67 -0
- package/src/component/shared/{ExportarPDF.vue → ExportPDF.vue} +18 -18
- package/src/component/shared/HeaderPrint.vue +36 -0
- package/src/component/shared/HorizontalFilter.vue +59 -0
- package/src/component/shared/LegendaParametro.vue +22 -22
- package/src/component/shared/{Carregando.vue → Loading.vue} +16 -16
- package/src/component/shared/LoadingMoreButton.vue +23 -0
- package/src/component/shared/Messages.vue +83 -0
- package/src/component/shared/{Paginacao.vue → Pagination.vue} +12 -12
- package/src/component/shared/ProgressBar.vue +21 -0
- package/src/component/shared/{BotaoConsulta.vue → QueryButton.vue} +16 -16
- package/src/component/shared/SaveCancel.vue +56 -0
- package/src/component/shared/{Pesquisa.vue → Search.vue} +46 -46
- package/src/component/shared/Table.vue +243 -0
- package/src/component/shared/TableButton.vue +36 -0
- package/src/component/shared/{Registro.vue → TableTotalRecords.vue} +7 -7
- package/src/component/shared/{ResumoTabela.vue → TableTotalization.vue} +12 -8
- package/src/component/shared/Tip.vue +42 -0
- package/src/component/shared/Toast.vue +7 -7
- package/src/component/shared/{FiltroVertical.vue → VerticalFilter.vue} +24 -24
- package/src/component/shared/query-builder/AddRule.vue +187 -0
- package/src/component/shared/query-builder/ConvertToOdata.js +80 -0
- package/src/component/shared/query-builder/DynamicComponent.vue +107 -0
- package/src/component/shared/query-builder/Fields.vue +127 -0
- package/src/component/shared/query-builder/ListDynamicComponent.vue +42 -0
- package/src/component/shared/query-builder/QueryBuilder.vue +25 -120
- package/src/component/shared/query-builder/{Filtro.vue → Rules.vue} +13 -18
- package/src/component/shared/query-builder/SelectRule.vue +96 -0
- package/src/component/shared/query-builder/Tags.vue +14 -14
- package/src/component/shared/query-builder/{Rodape.vue → Totalization.vue} +10 -10
- package/src/component/template/AddEditReport.vue +106 -0
- package/src/component/template/ListViewWithHandlerData.vue +231 -0
- package/src/component/template/ViewTemplateConfiguration.vue +69 -0
- package/src/component/template/ViewTemplateDocumentView.vue +227 -0
- package/src/component/template/ViewTemplateReportList.vue +230 -0
- package/src/component/template/ViewTemplateReportPreview.vue +500 -0
- package/src/component/template/ViewTemplateWithSalveCancel.vue +32 -0
- package/src/component/template/ViewTemplateWithTable.vue +49 -0
- package/src/component/template/model/Report.js +6 -0
- package/src/component/value-objects/DadosContato.vue +34 -35
- package/src/component/value-objects/DadosPessoa.vue +58 -58
- package/src/component/value-objects/Endereco.vue +96 -97
- package/src/config/dicas.js +1 -1
- package/src/config/token.js +2 -2
- package/src/store/modules/generic.js +489 -0
- package/src/store/modules/report.js +246 -0
- package/src/store/modules/user.js +38 -0
- package/src/store/modules/validation.js +39 -0
- package/src/store/store.js +4 -4
- package/src/component/forms/ArquivoUpload.vue +0 -199
- package/src/component/forms/CheckboxMultiplo.vue +0 -63
- package/src/component/forms/Decimal.vue +0 -137
- package/src/component/forms/Escolher.vue +0 -335
- package/src/component/forms/EscolherEstatico.vue +0 -139
- package/src/component/forms/Numero.vue +0 -153
- package/src/component/forms/Opcoes.vue +0 -51
- package/src/component/forms/Senha.vue +0 -139
- package/src/component/forms/Texto.vue +0 -161
- package/src/component/forms/TextoArea.vue +0 -126
- package/src/component/forms/TextoEditor.vue +0 -123
- package/src/component/layout/Painel.vue +0 -142
- package/src/component/shared/BotaoCarregarMais.vue +0 -23
- package/src/component/shared/CabecalhoImpressao.vue +0 -36
- package/src/component/shared/Confirmacao.vue +0 -80
- package/src/component/shared/Dica.vue +0 -42
- package/src/component/shared/EsconderMostrar.vue +0 -131
- package/src/component/shared/ExportarExcel.vue +0 -67
- package/src/component/shared/FiltroHorizontal.vue +0 -59
- package/src/component/shared/Mensagem.vue +0 -86
- package/src/component/shared/Progresso.vue +0 -21
- package/src/component/shared/SalvarCancelar.vue +0 -56
- package/src/component/shared/Tabela.vue +0 -275
- package/src/component/shared/TabelaBotao.vue +0 -36
- package/src/component/shared/query-builder/Campo.vue +0 -116
- package/src/component/shared/query-builder/ConverteParaOdata.js +0 -77
- package/src/component/shared/query-builder/components/CustomSelect.vue +0 -115
- package/src/component/shared/query-builder/components/QueryBuilderChildren.vue +0 -46
- package/src/component/shared/query-builder/components/QueryBuilderGroup.vue +0 -151
- package/src/component/shared/query-builder/components/QueryBuilderRule.vue +0 -81
- package/src/component/shared/query-builder/layouts/Bootstrap/BootstrapGroup.vue +0 -120
- package/src/component/shared/query-builder/layouts/Bootstrap/BootstrapRule.vue +0 -187
- package/src/component/shared/query-builder/main.js +0 -81
- package/src/component/template/ModeloAdicionarModificarView.vue +0 -32
- package/src/component/template/ModeloDocumentoView.vue +0 -227
- package/src/component/template/ModeloLista.vue +0 -231
- package/src/component/template/ModeloRelatorioListaView.vue +0 -227
- package/src/component/template/ModeloRelatorioView.vue +0 -489
- package/src/component/template/ModeloSubView.vue +0 -69
- package/src/component/template/ModeloView.vue +0 -49
- package/src/component/template/Relatorio.js +0 -10
- package/src/component/template/RelatorioAdicionarModificar.vue +0 -106
- package/src/store/modulos/generic.js +0 -494
- package/src/store/modulos/relatorio.js +0 -204
- package/src/store/modulos/usuario.js +0 -38
- package/src/store/modulos/validation.js +0 -39
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="
|
|
3
|
+
<div class="photo-container" @click="hideShow = !hideShow">
|
|
4
4
|
<img
|
|
5
5
|
src="https://portal1.iff.edu.br/desenvolvimento-institucional/imagens/avatar.jpg/@@images/image.jpeg"
|
|
6
6
|
alt="Avatar"
|
|
7
7
|
/>
|
|
8
8
|
</div>
|
|
9
|
-
<div class="
|
|
9
|
+
<div class="profile-container" v-if="hideShow">
|
|
10
10
|
<div class="item-header text-center">
|
|
11
11
|
<span>Conta</span>
|
|
12
12
|
</div>
|
|
13
|
-
<div class="
|
|
14
|
-
<div class="item-
|
|
15
|
-
<div class="
|
|
13
|
+
<div class="profile-content" v-for="item in items" :key="item.title">
|
|
14
|
+
<div class="item-content" @click="navegateTo(item.routeName)">
|
|
15
|
+
<div class="title-container">
|
|
16
16
|
<span>
|
|
17
|
-
<i :class="item.
|
|
18
|
-
<span class="
|
|
17
|
+
<i :class="item.classIcon"></i>
|
|
18
|
+
<span class="title-profile title-input">{{ item.title }}</span>
|
|
19
19
|
</span>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="
|
|
24
|
-
<div class="item-
|
|
25
|
-
<div class="
|
|
23
|
+
<div class="profile-content" @click="execute">
|
|
24
|
+
<div class="item-content">
|
|
25
|
+
<div class="title-container">
|
|
26
26
|
<span>
|
|
27
27
|
<i class="fas fa-sign-in"></i>
|
|
28
|
-
<span class="
|
|
28
|
+
<span class="title-profile title-input">Sair</span>
|
|
29
29
|
</span>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
@@ -35,29 +35,29 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
<script>
|
|
37
37
|
export default {
|
|
38
|
-
name: "
|
|
38
|
+
name: "Account",
|
|
39
39
|
props: {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
items: [],
|
|
41
|
+
exited: Function,
|
|
42
42
|
},
|
|
43
43
|
data() {
|
|
44
44
|
return {
|
|
45
|
-
|
|
45
|
+
hideShow: false,
|
|
46
46
|
};
|
|
47
47
|
},
|
|
48
48
|
methods: {
|
|
49
|
-
|
|
50
|
-
this.$router.push({ name:
|
|
51
|
-
this.
|
|
49
|
+
navegateTo(routeName) {
|
|
50
|
+
this.$router.push({ name: routeName });
|
|
51
|
+
this.hideShow = false;
|
|
52
52
|
},
|
|
53
|
-
|
|
54
|
-
if (this.
|
|
53
|
+
execute() {
|
|
54
|
+
if (this.exited) this.exited();
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
</script>
|
|
59
59
|
<style scoped>
|
|
60
|
-
.
|
|
60
|
+
.photo-container {
|
|
61
61
|
margin-top: -15px;
|
|
62
62
|
padding-right: 10px;
|
|
63
63
|
cursor: pointer;
|
|
@@ -73,7 +73,7 @@ img {
|
|
|
73
73
|
width: 45px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.profile-container {
|
|
77
77
|
position: fixed;
|
|
78
78
|
float: right;
|
|
79
79
|
left: auto;
|
|
@@ -88,7 +88,7 @@ img {
|
|
|
88
88
|
border-bottom: 1px solid #e9ebec;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.profile-content {
|
|
92
92
|
right: 0;
|
|
93
93
|
height: 100%;
|
|
94
94
|
z-index: 101;
|
|
@@ -104,7 +104,7 @@ img {
|
|
|
104
104
|
border-top: 1px solid #e9ebec;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.item-
|
|
107
|
+
.item-content {
|
|
108
108
|
padding-left: 15px;
|
|
109
109
|
height: 45px;
|
|
110
110
|
background: white;
|
|
@@ -113,20 +113,20 @@ img {
|
|
|
113
113
|
cursor: pointer;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.item-
|
|
116
|
+
.item-content:hover {
|
|
117
117
|
background: #f8f8f8;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
.title-container {
|
|
121
121
|
padding-top: 10px;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.title-container:hover {
|
|
125
125
|
padding-top: 10px;
|
|
126
126
|
color: #37597c;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.title-profile {
|
|
130
130
|
padding-left: 10px;
|
|
131
131
|
}
|
|
132
132
|
</style>
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<div
|
|
4
|
-
class="
|
|
4
|
+
class="warning"
|
|
5
5
|
:class="{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
info:
|
|
10
|
-
|
|
6
|
+
primary: type === 'primary',
|
|
7
|
+
success: type === 'success',
|
|
8
|
+
warning: type === 'warning',
|
|
9
|
+
info: type === 'info',
|
|
10
|
+
danger: type === 'danger',
|
|
11
11
|
}"
|
|
12
12
|
>
|
|
13
|
-
<span v-if="
|
|
13
|
+
<span v-if="type === 'success'" class="success-icon">
|
|
14
14
|
<i class="fas fa-check-circle"></i>
|
|
15
15
|
</span>
|
|
16
|
-
<span v-if="
|
|
16
|
+
<span v-if="type === 'danger'" class="danger-icon">
|
|
17
17
|
<i class="fas fa-times-circle"></i
|
|
18
18
|
></span>
|
|
19
|
-
<span v-if="
|
|
19
|
+
<span v-if="type === 'warning'" class="warning-icon">
|
|
20
20
|
<i class="fas fa-exclamation-triangle"></i
|
|
21
21
|
></span>
|
|
22
|
-
<span v-if="
|
|
22
|
+
<span v-if="type === 'info'" class="info-icon">
|
|
23
23
|
<i class="fas fa-exclamation-circle"></i
|
|
24
24
|
></span>
|
|
25
|
-
<span class="
|
|
25
|
+
<span class="message"><slot></slot></span>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
</template>
|
|
29
29
|
<script>
|
|
30
30
|
export default {
|
|
31
|
-
name: "
|
|
31
|
+
name: "Alert",
|
|
32
32
|
props: {
|
|
33
|
-
|
|
33
|
+
type: String,
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
36
|
</script>
|
|
37
37
|
<style scoped>
|
|
38
|
-
.
|
|
38
|
+
.warning {
|
|
39
39
|
box-sizing: border-box;
|
|
40
40
|
margin-bottom: 10px;
|
|
41
41
|
color: rgba(0, 0, 0, 0.65);
|
|
@@ -50,16 +50,16 @@ export default {
|
|
|
50
50
|
border-radius: 4px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.message {
|
|
54
54
|
margin-left: 5px;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.success {
|
|
58
58
|
background-color: #f6ffed;
|
|
59
59
|
border: 1px solid #b7eb8f;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.warning {
|
|
63
63
|
background-color: #fffbe6;
|
|
64
64
|
border: 1px solid #ffe58f;
|
|
65
65
|
}
|
|
@@ -69,24 +69,24 @@ export default {
|
|
|
69
69
|
border: 1px solid #91d5ff;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
.danger {
|
|
73
73
|
background-color: #fff1f0;
|
|
74
74
|
border: 1px solid #ffa39e;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
.success-icon {
|
|
78
78
|
color: #52c41a;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.warning-icon {
|
|
82
82
|
color: #faad14;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.info-
|
|
85
|
+
.info-icon {
|
|
86
86
|
color: #1890ff;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
89
|
+
.danger-icon {
|
|
90
90
|
color: red;
|
|
91
91
|
}
|
|
92
92
|
</style>
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
<div
|
|
4
4
|
class="badge"
|
|
5
5
|
:class="{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
info:
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
small: size === 'small',
|
|
7
|
+
medium: size === 'medium',
|
|
8
|
+
large: size === 'large',
|
|
9
|
+
primary: type === 'primary',
|
|
10
|
+
success: type === 'success',
|
|
11
|
+
warning: type === 'warning',
|
|
12
|
+
info: type === 'info',
|
|
13
|
+
edit: type === 'edit',
|
|
14
|
+
danger: type === 'danger',
|
|
15
15
|
}"
|
|
16
16
|
>
|
|
17
|
-
<i :class="
|
|
17
|
+
<i :class="classIcon"></i> <span>{{ title }}</span>
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
export default {
|
|
24
24
|
name: "Badge",
|
|
25
25
|
props: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
title: String,
|
|
27
|
+
type: String,
|
|
28
|
+
size: String,
|
|
29
|
+
classIcon: String,
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
</script>
|
|
@@ -44,34 +44,34 @@ export default {
|
|
|
44
44
|
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 12%);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.small {
|
|
48
48
|
padding: 5px 10px;
|
|
49
49
|
font-size: 13px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.medium {
|
|
53
53
|
padding: 7px 12px;
|
|
54
54
|
font-size: 13px;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.large {
|
|
58
58
|
padding: 11px 16px;
|
|
59
59
|
font-size: 14px;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.disabled {
|
|
63
63
|
background: #bbbbbb !important;
|
|
64
64
|
border-color: #bbbbbb !important;
|
|
65
65
|
color: #fff;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.primary {
|
|
69
69
|
background: #577696;
|
|
70
70
|
border-color: #577696;
|
|
71
71
|
color: #fff;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.success {
|
|
75
75
|
color: #fff;
|
|
76
76
|
background: #94aa2a;
|
|
77
77
|
border-color: #94aa2a;
|
|
@@ -83,19 +83,19 @@ export default {
|
|
|
83
83
|
background: #4ab4e2;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.edit {
|
|
87
87
|
color: #fff;
|
|
88
88
|
border-color: #7b7f83;
|
|
89
89
|
background: #7b7f83;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.warning {
|
|
93
93
|
color: #fff;
|
|
94
94
|
border-color: #f1bc31;
|
|
95
95
|
background: #f1bc31;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.danger {
|
|
99
99
|
color: #fff;
|
|
100
100
|
border-color: #f0134d;
|
|
101
101
|
background: #f0134d;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<div
|
|
4
|
-
v-show="!
|
|
5
|
-
class="
|
|
6
|
-
:style="'min-height:' +
|
|
4
|
+
v-show="!isLoading('panel')"
|
|
5
|
+
class="bar"
|
|
6
|
+
:style="'min-height:' + height + 'px;'"
|
|
7
7
|
:class="{
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
top: position == 'top',
|
|
9
|
+
footer: position == 'footer',
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
|
-
<div class="
|
|
12
|
+
<div class="size">
|
|
13
13
|
<slot></slot>
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
@@ -17,28 +17,28 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script>
|
|
20
|
-
import {
|
|
20
|
+
import { mapGetters } from "vuex";
|
|
21
21
|
|
|
22
22
|
export default {
|
|
23
|
-
name: "
|
|
23
|
+
name: "FixedBar",
|
|
24
24
|
props: {
|
|
25
|
-
|
|
25
|
+
position: {
|
|
26
26
|
type: String,
|
|
27
|
-
default: "
|
|
27
|
+
default: "top",
|
|
28
28
|
},
|
|
29
|
-
|
|
29
|
+
height: {
|
|
30
30
|
type: Number,
|
|
31
31
|
default: 70,
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
computed: {
|
|
35
|
-
...mapGetters("generic", ["
|
|
35
|
+
...mapGetters("generic", ["isLoading"]),
|
|
36
36
|
},
|
|
37
37
|
};
|
|
38
38
|
</script>
|
|
39
39
|
|
|
40
40
|
<style scoped>
|
|
41
|
-
.
|
|
41
|
+
.bar {
|
|
42
42
|
background-color: white;
|
|
43
43
|
position: fixed;
|
|
44
44
|
width: 100%;
|
|
@@ -48,19 +48,19 @@ export default {
|
|
|
48
48
|
margin-left: 100px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.size {
|
|
52
52
|
max-width: 1600px;
|
|
53
53
|
margin: auto;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.top {
|
|
57
57
|
top: 0;
|
|
58
58
|
left: 0;
|
|
59
59
|
right: 0;
|
|
60
60
|
border-bottom: 1px solid #e1e1e2;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.footer {
|
|
64
64
|
left: 0;
|
|
65
65
|
bottom: 0px;
|
|
66
66
|
border-top: 1px solid #e1e1e2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="
|
|
4
|
-
<div class="
|
|
3
|
+
<div class="top" :style="'background-color:' + backgroundColor">
|
|
4
|
+
<div class="side-by-side">
|
|
5
5
|
<slot></slot>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import { mapState, mapMutations } from "vuex";
|
|
14
14
|
|
|
15
15
|
export default {
|
|
16
|
-
name: "
|
|
16
|
+
name: "Top",
|
|
17
17
|
props: {
|
|
18
|
-
|
|
18
|
+
backgroundColor: {
|
|
19
19
|
type: String,
|
|
20
20
|
default: "#4680A5",
|
|
21
21
|
},
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<style scoped>
|
|
27
|
-
.
|
|
27
|
+
.top {
|
|
28
28
|
height: 50px;
|
|
29
29
|
width: 100%;
|
|
30
30
|
position: fixed;
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
></vue-loading>
|
|
10
10
|
</b-col>
|
|
11
11
|
<b-col sm="12" class="text-center">
|
|
12
|
-
<div class="
|
|
12
|
+
<div class="message">Por favor aguarde, estamos trabalhando...</div>
|
|
13
13
|
</b-col>
|
|
14
14
|
</b-row>
|
|
15
15
|
</div>
|
|
16
16
|
</template>
|
|
17
17
|
<script>
|
|
18
18
|
export default {
|
|
19
|
-
name: "
|
|
19
|
+
name: "LoadingFullPage",
|
|
20
20
|
};
|
|
21
21
|
</script>
|
|
22
22
|
<style scoped>
|
|
23
|
-
.
|
|
23
|
+
.message {
|
|
24
24
|
font-size: 15px;
|
|
25
25
|
margin-top: 5px;
|
|
26
26
|
}
|