@nixweb/nixloc-ui 0.0.125 → 0.0.128
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/ViewTemplateReportPreview.drawio +210 -0
- package/package.json +79 -77
- package/src/App.vue +13 -13
- package/src/component/forms/Button.vue +170 -169
- package/src/component/forms/CheckboxGroup.vue +72 -63
- package/src/component/forms/CheckboxSimple.vue +46 -27
- package/src/component/forms/Color.vue +38 -38
- package/src/component/forms/DateTime.vue +167 -177
- package/src/component/forms/Dropdown.vue +218 -224
- package/src/component/forms/EditorHtml.vue +126 -123
- package/src/component/forms/FileUpload.vue +185 -189
- package/src/component/forms/ImageUpload.vue +230 -0
- package/src/component/forms/IncrementDecrement.vue +101 -0
- package/src/component/forms/InputDecimal.vue +142 -137
- package/src/component/forms/InputNumber.vue +154 -149
- package/src/component/forms/InputPassword.vue +135 -135
- package/src/component/forms/InputText.vue +162 -157
- package/src/component/forms/Modal.vue +65 -60
- package/src/component/forms/RadioGroup.vue +50 -50
- package/src/component/forms/Select.vue +349 -337
- package/src/component/forms/SelectStatic.vue +127 -120
- package/src/component/forms/Slider.vue +18 -18
- package/src/component/forms/TextArea.vue +126 -126
- package/src/component/layout/Alert.vue +92 -92
- package/src/component/layout/Badge.vue +103 -103
- package/src/component/layout/FixedBar.vue +100 -68
- package/src/component/layout/Header.vue +38 -35
- package/src/component/layout/LoadingFullPage.vue +27 -27
- package/src/component/layout/Menu.vue +210 -214
- package/src/component/layout/Molded.vue +28 -27
- package/src/component/layout/Panel.vue +140 -142
- package/src/component/layout/Popover.vue +126 -126
- package/src/component/layout/ScrollBar.vue +42 -43
- package/src/component/layout/Tab.vue +135 -0
- package/src/component/layout/Tag.vue +3 -3
- package/src/component/layout/Wizard.vue +211 -213
- package/src/component/rental/DisplayPeriodRent.vue +81 -0
- package/src/component/rental/DisplayTotalization.vue +47 -0
- package/src/component/shared/Collapse.vue +131 -131
- package/src/component/shared/Confirmation.vue +2 -2
- package/src/component/shared/DocumentEditor.vue +1 -1
- package/src/component/shared/DocumentPreview.vue +1 -1
- package/src/component/shared/DocumentPublic.vue +34 -0
- package/src/component/shared/ExportExcel.vue +1 -8
- package/src/component/shared/ExportPDF.vue +116 -116
- package/src/component/shared/{HeaderPrint.vue → HeaderReport.vue} +4 -4
- package/src/component/shared/HorizontalFilter.vue +59 -59
- package/src/component/shared/Loading.vue +107 -107
- package/src/component/shared/LoadingMoreButton.vue +23 -23
- package/src/component/shared/Messages.vue +81 -83
- package/src/component/shared/PDFViewer.vue +22 -22
- package/src/component/shared/Pagination.vue +52 -53
- package/src/component/shared/{LegendaParametro.vue → ParameterLegend.vue} +22 -26
- package/src/component/shared/ProgressBar.vue +22 -21
- package/src/component/shared/QueryButton.vue +66 -66
- package/src/component/shared/Report.vue +187 -0
- package/src/component/shared/SaveCancel.vue +26 -5
- package/src/component/shared/Search.vue +154 -154
- package/src/component/shared/SelectOption.vue +146 -0
- package/src/component/shared/Table.vue +163 -243
- package/src/component/shared/TableButton.vue +36 -36
- package/src/component/shared/TableDraggable.vue +127 -0
- package/src/component/shared/TableItem.vue +177 -0
- package/src/component/shared/TableTotalRecords.vue +9 -10
- package/src/component/shared/TableTotalization.vue +47 -47
- package/src/component/shared/Tip.vue +42 -42
- package/src/component/shared/Toast.vue +54 -54
- package/src/component/shared/TotalizationReport.vue +59 -0
- package/src/component/shared/VerticalFilter.vue +97 -145
- package/src/component/shared/query-builder/AddRule.vue +181 -187
- package/src/component/shared/query-builder/ConvertToOdata.js +34 -43
- package/src/component/shared/query-builder/DynamicComponent.vue +21 -16
- package/src/component/shared/query-builder/DynamicComponentList.vue +73 -0
- package/src/component/shared/query-builder/Fields.vue +29 -63
- package/src/component/shared/query-builder/QueryBuilder.vue +69 -69
- package/src/component/shared/query-builder/Rules.vue +2 -14
- package/src/component/shared/query-builder/SelectRule.vue +15 -15
- package/src/component/shared/query-builder/Tags.vue +24 -8
- package/src/component/shared/query-builder/utilities.js +21 -21
- package/src/component/template/{ListViewWithHandlerData.vue → ListViewWithDataHandler.vue} +260 -231
- package/src/component/template/{AddEditReport.vue → ReportCreateUpdate.vue} +40 -22
- package/src/component/template/ViewTemplateConfiguration.vue +64 -69
- package/src/component/template/ViewTemplateDocumentView.vue +22 -25
- package/src/component/template/ViewTemplateReportList.vue +39 -57
- package/src/component/template/ViewTemplateReportPreview.vue +270 -341
- package/src/component/template/ViewTemplateReportPreviewCOPIASEGURANCA.vue +497 -0
- package/src/component/template/ViewTemplateSelectOption.vue +60 -0
- package/src/component/template/ViewTemplateWithSalveCancel.vue +32 -32
- package/src/component/template/ViewTemplateWithTable.vue +56 -49
- package/src/component/template/model/Report.js +2 -2
- package/src/component/value-objects/Address.js +11 -0
- package/src/component/value-objects/{Endereco.vue → Address.vue} +39 -40
- package/src/component/value-objects/{DadosContato.js → Contact.js} +2 -2
- package/src/component/value-objects/{DadosContato.vue → Contact.vue} +24 -17
- package/src/component/value-objects/Person.js +10 -0
- package/src/component/value-objects/{DadosPessoa.vue → Person.vue} +50 -35
- package/src/config/axios.js +9 -9
- package/src/config/dicas.js +14 -14
- package/src/config/router.js +13 -13
- package/src/config/token.js +14 -14
- package/src/main.js +23 -23
- package/src/store/modules/generic.js +512 -488
- package/src/store/modules/report.js +156 -127
- package/src/store/modules/user.js +6 -0
- package/src/store/modules/validation.js +38 -38
- package/src/store/store.js +13 -13
- package/docs/src/component/template/ModeloRelatorioView.drawio +0 -160
- package/src/component/shared/query-builder/ListDynamicComponent.vue +0 -42
- package/src/component/shared/query-builder/Totalization.vue +0 -38
- package/src/component/value-objects/DadosPessoa.js +0 -10
- package/src/component/value-objects/Endereco.js +0 -11
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div
|
|
4
|
-
class="warning"
|
|
5
|
-
:class="{
|
|
6
|
-
primary: type === 'primary',
|
|
7
|
-
success: type === 'success',
|
|
8
|
-
warning: type === 'warning',
|
|
9
|
-
info: type === 'info',
|
|
10
|
-
danger: type === 'danger',
|
|
11
|
-
}"
|
|
12
|
-
>
|
|
13
|
-
<span v-if="type === 'success'" class="success-icon">
|
|
14
|
-
<i class="fas fa-check-circle"></i>
|
|
15
|
-
</span>
|
|
16
|
-
<span v-if="type === 'danger'" class="danger-icon">
|
|
17
|
-
<i class="fas fa-times-circle"></i
|
|
18
|
-
></span>
|
|
19
|
-
<span v-if="type === 'warning'" class="warning-icon">
|
|
20
|
-
<i class="fas fa-exclamation-triangle"></i
|
|
21
|
-
></span>
|
|
22
|
-
<span v-if="type === 'info'" class="info-icon">
|
|
23
|
-
<i class="fas fa-exclamation-circle"></i
|
|
24
|
-
></span>
|
|
25
|
-
<span class="message"><slot></slot></span>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</template>
|
|
29
|
-
<script>
|
|
30
|
-
export default {
|
|
31
|
-
name: "Alert",
|
|
32
|
-
props: {
|
|
33
|
-
type: String,
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
</script>
|
|
37
|
-
<style scoped>
|
|
38
|
-
.warning {
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
margin-bottom: 10px;
|
|
41
|
-
color: rgba(0, 0, 0, 0.65);
|
|
42
|
-
font-size: 14px;
|
|
43
|
-
font-variant: tabular-nums;
|
|
44
|
-
line-height: 1.5;
|
|
45
|
-
list-style: none;
|
|
46
|
-
font-feature-settings: "tnum";
|
|
47
|
-
position: relative;
|
|
48
|
-
padding: 8px 15px 8px 10px;
|
|
49
|
-
word-wrap: break-word;
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.message {
|
|
54
|
-
margin-left: 5px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.success {
|
|
58
|
-
background-color: #f6ffed;
|
|
59
|
-
border: 1px solid #b7eb8f;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.warning {
|
|
63
|
-
background-color: #fffbe6;
|
|
64
|
-
border: 1px solid #ffe58f;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.info {
|
|
68
|
-
background-color: #e6f7ff;
|
|
69
|
-
border: 1px solid #91d5ff;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.danger {
|
|
73
|
-
background-color: #fff1f0;
|
|
74
|
-
border: 1px solid #ffa39e;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.success-icon {
|
|
78
|
-
color: #52c41a;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.warning-icon {
|
|
82
|
-
color: #faad14;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.info-icon {
|
|
86
|
-
color: #1890ff;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.danger-icon {
|
|
90
|
-
color: red;
|
|
91
|
-
}
|
|
92
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div
|
|
4
|
+
class="warning"
|
|
5
|
+
:class="{
|
|
6
|
+
primary: type === 'primary',
|
|
7
|
+
success: type === 'success',
|
|
8
|
+
warning: type === 'warning',
|
|
9
|
+
info: type === 'info',
|
|
10
|
+
danger: type === 'danger',
|
|
11
|
+
}"
|
|
12
|
+
>
|
|
13
|
+
<span v-if="type === 'success'" class="success-icon">
|
|
14
|
+
<i class="fas fa-check-circle"></i>
|
|
15
|
+
</span>
|
|
16
|
+
<span v-if="type === 'danger'" class="danger-icon">
|
|
17
|
+
<i class="fas fa-times-circle"></i
|
|
18
|
+
></span>
|
|
19
|
+
<span v-if="type === 'warning'" class="warning-icon">
|
|
20
|
+
<i class="fas fa-exclamation-triangle"></i
|
|
21
|
+
></span>
|
|
22
|
+
<span v-if="type === 'info'" class="info-icon">
|
|
23
|
+
<i class="fas fa-exclamation-circle"></i
|
|
24
|
+
></span>
|
|
25
|
+
<span class="message"><slot></slot></span>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
<script>
|
|
30
|
+
export default {
|
|
31
|
+
name: "Alert",
|
|
32
|
+
props: {
|
|
33
|
+
type: String,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
</script>
|
|
37
|
+
<style scoped>
|
|
38
|
+
.warning {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
margin-bottom: 10px;
|
|
41
|
+
color: rgba(0, 0, 0, 0.65);
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
font-variant: tabular-nums;
|
|
44
|
+
line-height: 1.5;
|
|
45
|
+
list-style: none;
|
|
46
|
+
font-feature-settings: "tnum";
|
|
47
|
+
position: relative;
|
|
48
|
+
padding: 8px 15px 8px 10px;
|
|
49
|
+
word-wrap: break-word;
|
|
50
|
+
border-radius: 4px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.message {
|
|
54
|
+
margin-left: 5px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.success {
|
|
58
|
+
background-color: #f6ffed;
|
|
59
|
+
border: 1px solid #b7eb8f;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.warning {
|
|
63
|
+
background-color: #fffbe6;
|
|
64
|
+
border: 1px solid #ffe58f;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.info {
|
|
68
|
+
background-color: #e6f7ff;
|
|
69
|
+
border: 1px solid #91d5ff;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.danger {
|
|
73
|
+
background-color: #fff1f0;
|
|
74
|
+
border: 1px solid #ffa39e;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.success-icon {
|
|
78
|
+
color: #52c41a;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.warning-icon {
|
|
82
|
+
color: #faad14;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.info-icon {
|
|
86
|
+
color: #1890ff;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.danger-icon {
|
|
90
|
+
color: red;
|
|
91
|
+
}
|
|
92
|
+
</style>
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div
|
|
4
|
-
class="badge"
|
|
5
|
-
:class="{
|
|
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
|
-
}"
|
|
16
|
-
>
|
|
17
|
-
<i :class="classIcon"></i> <span>{{ title }}</span>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
export default {
|
|
24
|
-
name: "Badge",
|
|
25
|
-
props: {
|
|
26
|
-
title: String,
|
|
27
|
-
type: String,
|
|
28
|
-
size: String,
|
|
29
|
-
classIcon: String,
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<style scoped>
|
|
35
|
-
.badge {
|
|
36
|
-
padding: 8px 12px;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
border: none;
|
|
39
|
-
border-radius: 5px !important;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
font-weight: 400;
|
|
42
|
-
-webkit-box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 12%);
|
|
43
|
-
-moz-box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
|
|
44
|
-
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 12%);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.small {
|
|
48
|
-
padding: 5px 10px;
|
|
49
|
-
font-size: 13px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.medium {
|
|
53
|
-
padding: 7px 12px;
|
|
54
|
-
font-size: 13px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.large {
|
|
58
|
-
padding: 11px 16px;
|
|
59
|
-
font-size: 14px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.disabled {
|
|
63
|
-
background: #bbbbbb !important;
|
|
64
|
-
border-color: #bbbbbb !important;
|
|
65
|
-
color: #fff;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.primary {
|
|
69
|
-
background: #577696;
|
|
70
|
-
border-color: #577696;
|
|
71
|
-
color: #fff;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.success {
|
|
75
|
-
color: #fff;
|
|
76
|
-
background: #94aa2a;
|
|
77
|
-
border-color: #94aa2a;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.info {
|
|
81
|
-
color: #fff;
|
|
82
|
-
border-color: #4ab4e2;
|
|
83
|
-
background: #4ab4e2;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.edit {
|
|
87
|
-
color: #fff;
|
|
88
|
-
border-color: #7b7f83;
|
|
89
|
-
background: #7b7f83;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.warning {
|
|
93
|
-
color: #fff;
|
|
94
|
-
border-color: #f1bc31;
|
|
95
|
-
background: #f1bc31;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.danger {
|
|
99
|
-
color: #fff;
|
|
100
|
-
border-color: #f0134d;
|
|
101
|
-
background: #f0134d;
|
|
102
|
-
}
|
|
103
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div
|
|
4
|
+
class="badge"
|
|
5
|
+
:class="{
|
|
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
|
+
}"
|
|
16
|
+
>
|
|
17
|
+
<i :class="classIcon"></i> <span>{{ title }}</span>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
export default {
|
|
24
|
+
name: "Badge",
|
|
25
|
+
props: {
|
|
26
|
+
title: String,
|
|
27
|
+
type: String,
|
|
28
|
+
size: String,
|
|
29
|
+
classIcon: String,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<style scoped>
|
|
35
|
+
.badge {
|
|
36
|
+
padding: 8px 12px;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
border: none;
|
|
39
|
+
border-radius: 5px !important;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
-webkit-box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 12%);
|
|
43
|
+
-moz-box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
|
|
44
|
+
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 12%);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.small {
|
|
48
|
+
padding: 5px 10px;
|
|
49
|
+
font-size: 13px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.medium {
|
|
53
|
+
padding: 7px 12px;
|
|
54
|
+
font-size: 13px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.large {
|
|
58
|
+
padding: 11px 16px;
|
|
59
|
+
font-size: 14px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.disabled {
|
|
63
|
+
background: #bbbbbb !important;
|
|
64
|
+
border-color: #bbbbbb !important;
|
|
65
|
+
color: #fff;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.primary {
|
|
69
|
+
background: #577696;
|
|
70
|
+
border-color: #577696;
|
|
71
|
+
color: #fff;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.success {
|
|
75
|
+
color: #fff;
|
|
76
|
+
background: #94aa2a;
|
|
77
|
+
border-color: #94aa2a;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.info {
|
|
81
|
+
color: #fff;
|
|
82
|
+
border-color: #4ab4e2;
|
|
83
|
+
background: #4ab4e2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.edit {
|
|
87
|
+
color: #fff;
|
|
88
|
+
border-color: #7b7f83;
|
|
89
|
+
background: #7b7f83;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.warning {
|
|
93
|
+
color: #fff;
|
|
94
|
+
border-color: #f1bc31;
|
|
95
|
+
background: #f1bc31;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.danger {
|
|
99
|
+
color: #fff;
|
|
100
|
+
border-color: #f0134d;
|
|
101
|
+
background: #f0134d;
|
|
102
|
+
}
|
|
103
|
+
</style>
|
|
@@ -1,68 +1,100 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div
|
|
4
|
-
v-show="!isLoading('panel')"
|
|
5
|
-
class="bar"
|
|
6
|
-
:style="'min-height:' + height + 'px;'"
|
|
7
|
-
:class="{
|
|
8
|
-
top: position == 'top',
|
|
9
|
-
footer: position == 'footer',
|
|
10
|
-
}"
|
|
11
|
-
>
|
|
12
|
-
<div class="size">
|
|
13
|
-
<slot></slot>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
left:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div
|
|
4
|
+
v-show="!isLoading('panel')"
|
|
5
|
+
class="bar side-by-side"
|
|
6
|
+
:style="'min-height:' + height + 'px;'"
|
|
7
|
+
:class="{
|
|
8
|
+
top: position == 'top',
|
|
9
|
+
footer: position == 'footer',
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<div class="size">
|
|
13
|
+
<div class="side-by-side"><slot></slot></div>
|
|
14
|
+
<div
|
|
15
|
+
class="close-icon side-by-side"
|
|
16
|
+
v-if="position == 'top' && showButtonClose"
|
|
17
|
+
@click="close"
|
|
18
|
+
>
|
|
19
|
+
<i class="fa-regular fa-xmark"></i>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script>
|
|
27
|
+
import { mapGetters, mapMutations } from "vuex";
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
name: "FixedBar",
|
|
31
|
+
props: {
|
|
32
|
+
showButtonClose: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false,
|
|
35
|
+
},
|
|
36
|
+
position: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "top",
|
|
39
|
+
},
|
|
40
|
+
height: {
|
|
41
|
+
type: Number,
|
|
42
|
+
default: 70,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
computed: {
|
|
46
|
+
...mapGetters("generic", ["isLoading"]),
|
|
47
|
+
},
|
|
48
|
+
methods: {
|
|
49
|
+
...mapMutations("generic", ["addEvent"]),
|
|
50
|
+
close() {
|
|
51
|
+
this.addEvent({ name: "closedFixedBar" });
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style scoped>
|
|
58
|
+
.bar {
|
|
59
|
+
background-color: white;
|
|
60
|
+
position: fixed;
|
|
61
|
+
width: 100%;
|
|
62
|
+
z-index: 20;
|
|
63
|
+
padding: 18px;
|
|
64
|
+
padding-left: 100px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.size {
|
|
68
|
+
max-width: 1600px;
|
|
69
|
+
margin: auto;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.top {
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 0;
|
|
75
|
+
right: 0;
|
|
76
|
+
border-bottom: 0px solid #e1e1e2;
|
|
77
|
+
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 5%);
|
|
78
|
+
border-bottom: 0px solid #eff0f1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.footer {
|
|
82
|
+
left: 0;
|
|
83
|
+
bottom: 0px;
|
|
84
|
+
border-top: 0px solid #e1e1e2;
|
|
85
|
+
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 5%);
|
|
86
|
+
border-top: 0px solid #eff0f1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.close-icon {
|
|
90
|
+
float: right;
|
|
91
|
+
font-size: 30px;
|
|
92
|
+
font-weight: 400;
|
|
93
|
+
line-height: 1;
|
|
94
|
+
color: #b9babb;
|
|
95
|
+
text-shadow: 0 1px 0 #fff;
|
|
96
|
+
padding-right: 80px;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
</style>
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="top" :style="'background-color:' + backgroundColor">
|
|
4
|
-
<div class="side-by-side">
|
|
5
|
-
<slot></slot>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
<br />
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
import { mapState, mapMutations } from "vuex";
|
|
14
|
-
|
|
15
|
-
export default {
|
|
16
|
-
name: "Top",
|
|
17
|
-
props: {
|
|
18
|
-
backgroundColor: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "#4680A5",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
</script>
|
|
25
|
-
|
|
26
|
-
<style scoped>
|
|
27
|
-
.top {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="top" :style="'background-color:' + backgroundColor">
|
|
4
|
+
<div class="side-by-side">
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
<br />
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import { mapState, mapMutations } from "vuex";
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
name: "Top",
|
|
17
|
+
props: {
|
|
18
|
+
backgroundColor: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "#4680A5",
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<style scoped>
|
|
27
|
+
.top {
|
|
28
|
+
border-radius: 0px 0px 0px 0px;
|
|
29
|
+
height: 50px;
|
|
30
|
+
width: 100%;
|
|
31
|
+
position: fixed;
|
|
32
|
+
top: 0;
|
|
33
|
+
left: 100px;
|
|
34
|
+
z-index: 20;
|
|
35
|
+
box-shadow: 0px 10px 30px -6px rgb(0 0 0 / 10%);
|
|
36
|
+
border-bottom: 0px solid #eff0f1;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<b-row>
|
|
4
|
-
<b-col sm="12" class="text-center">
|
|
5
|
-
<vue-loading
|
|
6
|
-
type="bubbles"
|
|
7
|
-
color="#577696"
|
|
8
|
-
:size="{ width: '80px', height: '80px' }"
|
|
9
|
-
></vue-loading>
|
|
10
|
-
</b-col>
|
|
11
|
-
<b-col sm="12" class="text-center">
|
|
12
|
-
<div class="message">Por favor aguarde, estamos trabalhando...</div>
|
|
13
|
-
</b-col>
|
|
14
|
-
</b-row>
|
|
15
|
-
</div>
|
|
16
|
-
</template>
|
|
17
|
-
<script>
|
|
18
|
-
export default {
|
|
19
|
-
name: "LoadingFullPage",
|
|
20
|
-
};
|
|
21
|
-
</script>
|
|
22
|
-
<style scoped>
|
|
23
|
-
.message {
|
|
24
|
-
font-size: 15px;
|
|
25
|
-
margin-top: 5px;
|
|
26
|
-
}
|
|
27
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<b-row>
|
|
4
|
+
<b-col sm="12" class="text-center">
|
|
5
|
+
<vue-loading
|
|
6
|
+
type="bubbles"
|
|
7
|
+
color="#577696"
|
|
8
|
+
:size="{ width: '80px', height: '80px' }"
|
|
9
|
+
></vue-loading>
|
|
10
|
+
</b-col>
|
|
11
|
+
<b-col sm="12" class="text-center">
|
|
12
|
+
<div class="message">Por favor aguarde, estamos trabalhando...</div>
|
|
13
|
+
</b-col>
|
|
14
|
+
</b-row>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
<script>
|
|
18
|
+
export default {
|
|
19
|
+
name: "LoadingFullPage",
|
|
20
|
+
};
|
|
21
|
+
</script>
|
|
22
|
+
<style scoped>
|
|
23
|
+
.message {
|
|
24
|
+
font-size: 15px;
|
|
25
|
+
margin-top: 5px;
|
|
26
|
+
}
|
|
27
|
+
</style>
|