@nixweb/nixloc-ui 1.19.0 → 1.21.0
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/ButtonFilter.vue +104 -104
- package/src/component/forms/ButtonGroup.vue +66 -66
- package/src/component/forms/ButtonGroupInline.vue +210 -210
- package/src/component/forms/ButtonSub.vue +97 -97
- package/src/component/forms/ButtonToggle.vue +76 -76
- package/src/component/forms/DateYearMonth.vue +192 -192
- package/src/component/forms/ImageUpload.vue +214 -214
- package/src/component/forms/IncrementDecrement.vue +151 -151
- package/src/component/forms/InputAddressGoogle.vue +171 -171
- package/src/component/forms/InputCallToAction.vue +135 -135
- package/src/component/forms/InputDecimalDiscount.vue +146 -146
- package/src/component/forms/InputTag.vue +124 -124
- package/src/component/forms/InputTextEdit.vue +69 -69
- package/src/component/forms/InputWhatsApp.vue +47 -47
- package/src/component/forms/SideBar.vue +99 -99
- package/src/component/forms/Toggle.vue +72 -72
- package/src/component/layout/Account.vue +131 -131
- package/src/component/layout/AnimatedPhrase.vue +68 -68
- package/src/component/layout/BarFloating.vue +67 -67
- package/src/component/layout/BottomActionsBar.vue +205 -205
- package/src/component/layout/ColorPicker.vue +175 -175
- package/src/component/layout/Gantt.vue +128 -128
- package/src/component/layout/HideShow.vue +61 -61
- package/src/component/layout/IconMolded.vue +58 -58
- package/src/component/layout/IconPicker.vue +161 -161
- package/src/component/layout/NewAccount.vue +136 -136
- package/src/component/layout/NewHeader.vue +59 -59
- package/src/component/layout/NewIconMolded.vue +70 -70
- package/src/component/layout/NewMenu.vue +472 -472
- package/src/component/layout/Tab.vue +259 -259
- package/src/component/layout/Tag.vue +97 -97
- package/src/component/layout/Tooltip.vue +155 -155
- package/src/component/layout/Zoom.vue +111 -111
- package/src/component/rental/DisplayCalculatePeriod.vue +48 -48
- package/src/component/rental/DisplayPeriodRent.vue +55 -55
- package/src/component/rental/DisplayTotalization.vue +86 -86
- package/src/component/report/Fields.vue +108 -108
- package/src/component/report/Report.vue +377 -377
- package/src/component/report/ReportTable.vue +111 -111
- package/src/component/report/Totalization.vue +33 -33
- package/src/component/shared/CodeEditor.vue +128 -128
- package/src/component/shared/Confirmation.vue +74 -74
- package/src/component/shared/DocumentEditor.vue +99 -99
- package/src/component/shared/DocumentPreview.vue +117 -105
- package/src/component/shared/DocumentPublic.vue +33 -33
- package/src/component/shared/ExportExcel.vue +56 -56
- package/src/component/shared/FullCalendar.vue +175 -175
- package/src/component/shared/HeaderReport.vue +47 -47
- package/src/component/shared/ListNotifications.vue +70 -70
- package/src/component/shared/Loading.vue +1 -4
- package/src/component/shared/LoadingCard.vue +64 -64
- package/src/component/shared/ParameterLegend.vue +169 -169
- package/src/component/shared/Report.vue +250 -250
- package/src/component/shared/SaveCancel.vue +99 -117
- package/src/component/shared/SelectOption.vue +162 -162
- package/src/component/shared/TableDraggable.vue +117 -117
- package/src/component/shared/TableImport.vue +93 -93
- package/src/component/shared/TableItem.vue +228 -228
- package/src/component/shared/TableTotalPerPage.vue +114 -114
- package/src/component/shared/TableTotalRecords.vue +44 -44
- package/src/component/shared/TimeLine.vue +41 -41
- package/src/component/shared/Timer.vue +77 -77
- package/src/component/shared/ToggleTheme.vue +127 -127
- package/src/component/shared/TotalizationReport.vue +86 -86
- package/src/component/shared/actions/ActionButtons.vue +53 -53
- package/src/component/shared/actions/ActionErrorContent.vue +103 -103
- package/src/component/shared/actions/ActionFooter.vue +93 -99
- package/src/component/shared/actions/ActionHeader.vue +110 -110
- package/src/component/shared/actions/ActionItemList.vue +143 -143
- package/src/component/shared/actions/ActionsOptions.vue +209 -209
- package/src/component/shared/actions/ActionsSelected.vue +262 -262
- package/src/component/shared/automation/ActivitiesList.vue +43 -43
- package/src/component/shared/automation/AddRule.vue +60 -60
- package/src/component/shared/automation/AutomationBuilder.vue +26 -26
- package/src/component/shared/automation/DynamicComponentList.vue +85 -85
- package/src/component/shared/automation/SelectRule.vue +97 -97
- package/src/component/shared/automation/components/BillingByRent.vue +97 -97
- package/src/component/shared/automation/components/SendEmail.vue +93 -93
- package/src/component/shared/file-manager/FileManager.vue +390 -390
- package/src/component/shared/filter-builder/FilterBuilder.vue +220 -220
- package/src/component/shared/filter-builder/FilterQuery.vue +95 -95
- package/src/component/shared/query-builder/ConvertToOdata.js +86 -86
- package/src/component/shared/query-builder/DynamicComponent.vue +161 -161
- package/src/component/shared/query-builder/Fields.vue +93 -93
- package/src/component/shared/query-builder/Rules.vue +68 -68
- package/src/component/shared/query-builder/SelectRule.vue +97 -97
- package/src/component/shared/query-builder/Tags.vue +59 -59
- package/src/component/signature/Payment.vue +160 -160
- package/src/component/signature/Warning.vue +75 -75
- package/src/component/template/ReportCreateUpdate.vue +110 -110
- package/src/component/template/ViewTemplateDocumentView.vue +213 -213
- package/src/component/template/ViewTemplateImportFile.vue +347 -347
- package/src/component/template/ViewTemplateReportList.vue +240 -240
- package/src/component/template/ViewTemplateReportPreview.vue +521 -521
- package/src/component/template/ViewTemplateSelectOption.vue +46 -46
- package/src/component/template/model/Report.js +5 -5
- package/src/component/training/Course.vue +343 -343
- package/src/component/training/CourseView.vue +198 -198
- package/src/component/value-objects/Address.js +10 -10
- package/src/component/value-objects/Address.vue +173 -173
- package/src/component/value-objects/Contact.js +6 -6
- package/src/component/value-objects/Contact.vue +106 -106
- package/src/component/value-objects/Person.js +10 -10
- package/src/component/value-objects/Person.vue +130 -130
- package/src/store/modules/automation.js +30 -30
- package/src/store/modules/generic.js +16 -6
- package/src/store/modules/report.js +277 -277
- package/src/store/modules/user.js +69 -69
- package/src/store/modules/util.js +25 -25
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="error-details-header">
|
|
4
|
-
<i class="fas fa-triangle-exclamation"></i>
|
|
5
|
-
<div>
|
|
6
|
-
<div class="error-details-title title">O que deu errado?</div>
|
|
7
|
-
<!-- <div class="error-details-sub">ID: {{ id }}</div> -->
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<ScrollBar :minHeight="190" :maxHeight="190">
|
|
12
|
-
<ul class="error-list">
|
|
13
|
-
<li v-for="(msg, i) in safeMessages" :key="i" class="error-item">
|
|
14
|
-
<i class="fas fa-info-circle"></i>
|
|
15
|
-
<span>{{ msg }}</span>
|
|
16
|
-
</li>
|
|
17
|
-
|
|
18
|
-
<li v-if="safeMessages.length === 0" class="error-item muted">
|
|
19
|
-
<i class="fas fa-info-circle"></i>
|
|
20
|
-
<span>Algo deu errado, mas não recebemos detalhes do servidor.</span>
|
|
21
|
-
</li>
|
|
22
|
-
</ul>
|
|
23
|
-
</ScrollBar>
|
|
24
|
-
|
|
25
|
-
<div class="text-center">
|
|
26
|
-
<Button key="closeErrors" title="Fechar" classIcon="fa-solid fa-circle-xmark" color="white"
|
|
27
|
-
backGroundColor="#6D757B" size="small" :clicked="() => $emit('close')" />
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<script>
|
|
33
|
-
import ScrollBar from "@nixweb/nixloc-ui/src/component/layout/ScrollBar.vue";
|
|
34
|
-
import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
|
|
35
|
-
|
|
36
|
-
export default {
|
|
37
|
-
name: "ActionErrorContent",
|
|
38
|
-
components: { ScrollBar, Button },
|
|
39
|
-
props: {
|
|
40
|
-
id: { type: [String, Number], required: true },
|
|
41
|
-
index: { type: Number, default: -1 },
|
|
42
|
-
messages: { type: Array, default: () => [] },
|
|
43
|
-
},
|
|
44
|
-
computed: {
|
|
45
|
-
safeMessages() {
|
|
46
|
-
return (this.messages || []).filter(Boolean);
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
</script>
|
|
51
|
-
|
|
52
|
-
<style scoped>
|
|
53
|
-
.error-details-header {
|
|
54
|
-
display: flex;
|
|
55
|
-
gap: 10px;
|
|
56
|
-
align-items: center;
|
|
57
|
-
margin-bottom: 12px;
|
|
58
|
-
color: #dc2626;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.error-details-header i {
|
|
62
|
-
font-size: 18px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.error-details-title {
|
|
66
|
-
font-weight: 500;
|
|
67
|
-
color: #6b7280;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.error-details-sub {
|
|
71
|
-
font-size: 12px;
|
|
72
|
-
color: #6b7280;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.error-list {
|
|
76
|
-
list-style: none;
|
|
77
|
-
margin: 0;
|
|
78
|
-
padding: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.error-item {
|
|
82
|
-
display: flex;
|
|
83
|
-
gap: 8px;
|
|
84
|
-
align-items: flex-start;
|
|
85
|
-
padding: 8px 10px;
|
|
86
|
-
background: #fff7f7;
|
|
87
|
-
border: 1px solid #fde2e2;
|
|
88
|
-
border-radius: 8px;
|
|
89
|
-
margin-bottom: 8px;
|
|
90
|
-
font-size: 13px;
|
|
91
|
-
color: #dc2626;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.error-item i {
|
|
95
|
-
margin-top: 2px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.error-item.muted {
|
|
99
|
-
background: #f9fafb;
|
|
100
|
-
border-color: #e5e7eb;
|
|
101
|
-
color: #6b7280;
|
|
102
|
-
}
|
|
103
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="error-details-header">
|
|
4
|
+
<i class="fas fa-triangle-exclamation"></i>
|
|
5
|
+
<div>
|
|
6
|
+
<div class="error-details-title title">O que deu errado?</div>
|
|
7
|
+
<!-- <div class="error-details-sub">ID: {{ id }}</div> -->
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<ScrollBar :minHeight="190" :maxHeight="190">
|
|
12
|
+
<ul class="error-list">
|
|
13
|
+
<li v-for="(msg, i) in safeMessages" :key="i" class="error-item">
|
|
14
|
+
<i class="fas fa-info-circle"></i>
|
|
15
|
+
<span>{{ msg }}</span>
|
|
16
|
+
</li>
|
|
17
|
+
|
|
18
|
+
<li v-if="safeMessages.length === 0" class="error-item muted">
|
|
19
|
+
<i class="fas fa-info-circle"></i>
|
|
20
|
+
<span>Algo deu errado, mas não recebemos detalhes do servidor.</span>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
23
|
+
</ScrollBar>
|
|
24
|
+
|
|
25
|
+
<div class="text-center">
|
|
26
|
+
<Button key="closeErrors" title="Fechar" classIcon="fa-solid fa-circle-xmark" color="white"
|
|
27
|
+
backGroundColor="#6D757B" size="small" :clicked="() => $emit('close')" />
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
import ScrollBar from "@nixweb/nixloc-ui/src/component/layout/ScrollBar.vue";
|
|
34
|
+
import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
name: "ActionErrorContent",
|
|
38
|
+
components: { ScrollBar, Button },
|
|
39
|
+
props: {
|
|
40
|
+
id: { type: [String, Number], required: true },
|
|
41
|
+
index: { type: Number, default: -1 },
|
|
42
|
+
messages: { type: Array, default: () => [] },
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
safeMessages() {
|
|
46
|
+
return (this.messages || []).filter(Boolean);
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<style scoped>
|
|
53
|
+
.error-details-header {
|
|
54
|
+
display: flex;
|
|
55
|
+
gap: 10px;
|
|
56
|
+
align-items: center;
|
|
57
|
+
margin-bottom: 12px;
|
|
58
|
+
color: #dc2626;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.error-details-header i {
|
|
62
|
+
font-size: 18px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.error-details-title {
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
color: #6b7280;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.error-details-sub {
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
color: #6b7280;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.error-list {
|
|
76
|
+
list-style: none;
|
|
77
|
+
margin: 0;
|
|
78
|
+
padding: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.error-item {
|
|
82
|
+
display: flex;
|
|
83
|
+
gap: 8px;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
padding: 8px 10px;
|
|
86
|
+
background: #fff7f7;
|
|
87
|
+
border: 1px solid #fde2e2;
|
|
88
|
+
border-radius: 8px;
|
|
89
|
+
margin-bottom: 8px;
|
|
90
|
+
font-size: 13px;
|
|
91
|
+
color: #dc2626;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.error-item i {
|
|
95
|
+
margin-top: 2px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.error-item.muted {
|
|
99
|
+
background: #f9fafb;
|
|
100
|
+
border-color: #e5e7eb;
|
|
101
|
+
color: #6b7280;
|
|
102
|
+
}
|
|
103
|
+
</style>
|
|
@@ -1,99 +1,93 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div
|
|
4
|
-
v-if="!isFinished"
|
|
5
|
-
class="actions"
|
|
6
|
-
>
|
|
7
|
-
<div class="side-by-side">
|
|
8
|
-
<Button
|
|
9
|
-
key="cancel"
|
|
10
|
-
title="Cancelar"
|
|
11
|
-
type="danger"
|
|
12
|
-
size="small"
|
|
13
|
-
:disabled="processing || selected.length === 0"
|
|
14
|
-
:clicked="hideModal"
|
|
15
|
-
/>
|
|
16
|
-
<Button
|
|
17
|
-
key="ok"
|
|
18
|
-
title="Processar"
|
|
19
|
-
color="white"
|
|
20
|
-
classIcon="fa-solid fa-play"
|
|
21
|
-
backGroundColor="#007BFF"
|
|
22
|
-
size="large"
|
|
23
|
-
:disabled="processing || selected.length === 0"
|
|
24
|
-
:clicked="ok"
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<div
|
|
30
|
-
v-else
|
|
31
|
-
class="text-center"
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.side-by-side {
|
|
95
|
-
display: inline-flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
gap: 8px;
|
|
98
|
-
}
|
|
99
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div
|
|
4
|
+
v-if="!isFinished"
|
|
5
|
+
class="actions"
|
|
6
|
+
>
|
|
7
|
+
<div class="side-by-side">
|
|
8
|
+
<Button
|
|
9
|
+
key="cancel"
|
|
10
|
+
title="Cancelar"
|
|
11
|
+
type="danger"
|
|
12
|
+
size="small"
|
|
13
|
+
:disabled="processing || selected.length === 0"
|
|
14
|
+
:clicked="hideModal"
|
|
15
|
+
/>
|
|
16
|
+
<Button
|
|
17
|
+
key="ok"
|
|
18
|
+
title="Processar"
|
|
19
|
+
color="white"
|
|
20
|
+
classIcon="fa-solid fa-play"
|
|
21
|
+
backGroundColor="#007BFF"
|
|
22
|
+
size="large"
|
|
23
|
+
:disabled="processing || selected.length === 0"
|
|
24
|
+
:clicked="ok"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div
|
|
30
|
+
v-else
|
|
31
|
+
class="text-center"
|
|
32
|
+
>
|
|
33
|
+
<Timer
|
|
34
|
+
v-if="errorCount === 0"
|
|
35
|
+
:title="'Fechando em'"
|
|
36
|
+
:initialTimer="2"
|
|
37
|
+
:endTime="autoFinished"
|
|
38
|
+
/>
|
|
39
|
+
<Button
|
|
40
|
+
key="finish"
|
|
41
|
+
title="Fechar"
|
|
42
|
+
classIcon="fa-solid fa-circle-xmark"
|
|
43
|
+
color="white"
|
|
44
|
+
backGroundColor="#6D757B"
|
|
45
|
+
size="medium"
|
|
46
|
+
:clicked="finished"
|
|
47
|
+
/>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
<script>
|
|
53
|
+
import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
|
|
54
|
+
import Timer from "@nixweb/nixloc-ui/src/component/shared/Timer";
|
|
55
|
+
|
|
56
|
+
export default {
|
|
57
|
+
name: "ActionFooter",
|
|
58
|
+
components: { Button, Timer },
|
|
59
|
+
props: {
|
|
60
|
+
isFinished: { type: Boolean, default: false },
|
|
61
|
+
processing: { type: Boolean, default: false },
|
|
62
|
+
selected: { type: Array, default: () => [] },
|
|
63
|
+
errorCount: { type: Number, default: 0 },
|
|
64
|
+
},
|
|
65
|
+
emits: ["ok", "cancel", "finish"],
|
|
66
|
+
methods: {
|
|
67
|
+
ok() {
|
|
68
|
+
this.$emit("ok");
|
|
69
|
+
},
|
|
70
|
+
hideModal() {
|
|
71
|
+
this.$emit("cancel");
|
|
72
|
+
},
|
|
73
|
+
autoFinished() {
|
|
74
|
+
this.finished();
|
|
75
|
+
},
|
|
76
|
+
finished() {
|
|
77
|
+
this.$emit("finish");
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style scoped>
|
|
84
|
+
.actions {
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.side-by-side {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 8px;
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -1,110 +1,110 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="action-banner">
|
|
4
|
-
<span class="action-accent"></span>
|
|
5
|
-
<span class="action-label">Ação</span>
|
|
6
|
-
<strong class="action-value title">{{ description }}</strong>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<div class="status-header">
|
|
10
|
-
<div class="status-chip">
|
|
11
|
-
<i class="fas fa-list"></i>
|
|
12
|
-
<span>Total {{ total }}</span>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="status-chip success">
|
|
15
|
-
<i class="fas fa-check-circle"></i>
|
|
16
|
-
<span>Concluídos {{ done }}</span>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="status-chip error-chip">
|
|
19
|
-
<i class="fas fa-times-circle"></i>
|
|
20
|
-
<span>Falhas {{ errors }}</span>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</template>
|
|
25
|
-
|
|
26
|
-
<script>
|
|
27
|
-
export default {
|
|
28
|
-
name: "ActionModalHeader",
|
|
29
|
-
props: {
|
|
30
|
-
description: { type: String, default: "" },
|
|
31
|
-
total: { type: Number, default: 0 },
|
|
32
|
-
done: { type: Number, default: 0 },
|
|
33
|
-
errors: { type: Number, default: 0 },
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
</script>
|
|
37
|
-
|
|
38
|
-
<style scoped>
|
|
39
|
-
.status-header {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 10px;
|
|
43
|
-
flex-wrap: wrap;
|
|
44
|
-
margin-bottom: 10px;
|
|
45
|
-
padding: 8px 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.status-chip {
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
gap: 6px;
|
|
52
|
-
background: #f3f4f6;
|
|
53
|
-
border: 1px solid #e5e7eb;
|
|
54
|
-
border-radius: 20px;
|
|
55
|
-
padding: 6px 10px;
|
|
56
|
-
font-size: 13px;
|
|
57
|
-
color: #374151;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.status-chip.success {
|
|
61
|
-
background: #ecfdf5;
|
|
62
|
-
border-color: #a7f3d0;
|
|
63
|
-
color: #065f46;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.status-chip.success i {
|
|
67
|
-
color: #16a34a;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.status-chip.error-chip {
|
|
71
|
-
background: #fef2f2;
|
|
72
|
-
border-color: #fecaca;
|
|
73
|
-
color: #b91c1c;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.status-chip.error-chip i {
|
|
77
|
-
color: #dc2626;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.action-banner {
|
|
81
|
-
display: flex;
|
|
82
|
-
align-items: center;
|
|
83
|
-
gap: 10px;
|
|
84
|
-
padding: 10px 12px;
|
|
85
|
-
margin-bottom: 12px;
|
|
86
|
-
background: #f8fafc;
|
|
87
|
-
border: 1px solid #e5e7eb;
|
|
88
|
-
border-radius: 12px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.action-accent {
|
|
92
|
-
width: 4px;
|
|
93
|
-
align-self: stretch;
|
|
94
|
-
background: #3b82f6;
|
|
95
|
-
border-radius: 8px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.action-label {
|
|
99
|
-
font-size: 12px;
|
|
100
|
-
text-transform: uppercase;
|
|
101
|
-
letter-spacing: 0.06em;
|
|
102
|
-
color: #64748b;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.action-value {
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
color: #0f172a;
|
|
108
|
-
font-weight: 700;
|
|
109
|
-
}
|
|
110
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="action-banner">
|
|
4
|
+
<span class="action-accent"></span>
|
|
5
|
+
<span class="action-label">Ação</span>
|
|
6
|
+
<strong class="action-value title">{{ description }}</strong>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<div class="status-header">
|
|
10
|
+
<div class="status-chip">
|
|
11
|
+
<i class="fas fa-list"></i>
|
|
12
|
+
<span>Total {{ total }}</span>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="status-chip success">
|
|
15
|
+
<i class="fas fa-check-circle"></i>
|
|
16
|
+
<span>Concluídos {{ done }}</span>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="status-chip error-chip">
|
|
19
|
+
<i class="fas fa-times-circle"></i>
|
|
20
|
+
<span>Falhas {{ errors }}</span>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script>
|
|
27
|
+
export default {
|
|
28
|
+
name: "ActionModalHeader",
|
|
29
|
+
props: {
|
|
30
|
+
description: { type: String, default: "" },
|
|
31
|
+
total: { type: Number, default: 0 },
|
|
32
|
+
done: { type: Number, default: 0 },
|
|
33
|
+
errors: { type: Number, default: 0 },
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
</script>
|
|
37
|
+
|
|
38
|
+
<style scoped>
|
|
39
|
+
.status-header {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 10px;
|
|
43
|
+
flex-wrap: wrap;
|
|
44
|
+
margin-bottom: 10px;
|
|
45
|
+
padding: 8px 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.status-chip {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 6px;
|
|
52
|
+
background: #f3f4f6;
|
|
53
|
+
border: 1px solid #e5e7eb;
|
|
54
|
+
border-radius: 20px;
|
|
55
|
+
padding: 6px 10px;
|
|
56
|
+
font-size: 13px;
|
|
57
|
+
color: #374151;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.status-chip.success {
|
|
61
|
+
background: #ecfdf5;
|
|
62
|
+
border-color: #a7f3d0;
|
|
63
|
+
color: #065f46;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.status-chip.success i {
|
|
67
|
+
color: #16a34a;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.status-chip.error-chip {
|
|
71
|
+
background: #fef2f2;
|
|
72
|
+
border-color: #fecaca;
|
|
73
|
+
color: #b91c1c;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.status-chip.error-chip i {
|
|
77
|
+
color: #dc2626;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.action-banner {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: 10px;
|
|
84
|
+
padding: 10px 12px;
|
|
85
|
+
margin-bottom: 12px;
|
|
86
|
+
background: #f8fafc;
|
|
87
|
+
border: 1px solid #e5e7eb;
|
|
88
|
+
border-radius: 12px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.action-accent {
|
|
92
|
+
width: 4px;
|
|
93
|
+
align-self: stretch;
|
|
94
|
+
background: #3b82f6;
|
|
95
|
+
border-radius: 8px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.action-label {
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
text-transform: uppercase;
|
|
101
|
+
letter-spacing: 0.06em;
|
|
102
|
+
color: #64748b;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.action-value {
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
color: #0f172a;
|
|
108
|
+
font-weight: 700;
|
|
109
|
+
}
|
|
110
|
+
</style>
|