@nixweb/nixloc-ui 0.0.166 → 0.0.168
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/Button.vue +1 -2
- package/src/component/forms/DateTime.vue +5 -0
- package/src/component/forms/Dropdown.vue +2 -2
- package/src/component/forms/InputDecimal.vue +11 -0
- package/src/component/forms/InputNumber.vue +7 -0
- package/src/component/forms/InputPassword.vue +22 -2
- package/src/component/forms/InputText.vue +13 -1
- package/src/component/forms/RadioGroup.vue +7 -1
- package/src/component/forms/Select.vue +7 -0
- package/src/component/forms/SelectStatic.vue +7 -0
- package/src/component/layout/Menu.vue +1 -1
- package/src/component/layout/Panel.vue +25 -8
- package/src/component/rental/DisplayTotalization.vue +2 -0
- package/src/component/shared/Pagination.vue +32 -8
- package/src/component/shared/SelectOption.vue +2 -1
- package/src/component/shared/Table.vue +2 -6
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@click="execute(item.eventName)"
|
|
37
37
|
>
|
|
38
38
|
<b-row>
|
|
39
|
-
<b-col sm="
|
|
39
|
+
<b-col sm="2">
|
|
40
40
|
<i :class="item.classIcon"></i>
|
|
41
41
|
</b-col>
|
|
42
42
|
<b-col sm="10">
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
143
143
|
margin-top: 1px;
|
|
144
144
|
background-color: #ffffff;
|
|
145
145
|
border-radius: 15px;
|
|
146
|
-
min-width:
|
|
146
|
+
min-width: 270px;
|
|
147
147
|
z-index: 1000;
|
|
148
148
|
}
|
|
149
149
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
:disabled="disabled"
|
|
23
23
|
currency="R$"
|
|
24
24
|
separator="."
|
|
25
|
+
:minus="allowNegative"
|
|
25
26
|
v-bind:precision="2"
|
|
26
27
|
v-model="valueLocal"
|
|
27
28
|
></vue-numeric>
|
|
@@ -55,6 +56,10 @@ export default {
|
|
|
55
56
|
type: Boolean,
|
|
56
57
|
default: true,
|
|
57
58
|
},
|
|
59
|
+
allowNegative: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false,
|
|
62
|
+
},
|
|
58
63
|
required: Boolean,
|
|
59
64
|
value: Number,
|
|
60
65
|
enter: Function,
|
|
@@ -136,6 +141,12 @@ export default {
|
|
|
136
141
|
</script>
|
|
137
142
|
|
|
138
143
|
<style scoped>
|
|
144
|
+
.title {
|
|
145
|
+
font-size: 14px !important;
|
|
146
|
+
font-weight: 400 !important;
|
|
147
|
+
color: #0a0a0a;
|
|
148
|
+
letter-spacing: 0.5px !important;
|
|
149
|
+
}
|
|
139
150
|
.success {
|
|
140
151
|
color: #94aa2a;
|
|
141
152
|
font-size: 14px;
|
|
@@ -146,6 +146,13 @@ export default {
|
|
|
146
146
|
</script>
|
|
147
147
|
|
|
148
148
|
<style scoped>
|
|
149
|
+
.title {
|
|
150
|
+
font-size: 14px !important;
|
|
151
|
+
font-weight: 400 !important;
|
|
152
|
+
color: #0a0a0a;
|
|
153
|
+
letter-spacing: 0.5px !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
149
156
|
.success {
|
|
150
157
|
color: #94aa2a;
|
|
151
158
|
font-size: 14px;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<slot v-else></slot>
|
|
14
14
|
<input
|
|
15
15
|
type="password"
|
|
16
|
-
:placeholder="
|
|
16
|
+
:placeholder="titlePlaceholder"
|
|
17
17
|
v-mask="mask || withoutMask"
|
|
18
18
|
v-bind:value="value"
|
|
19
19
|
v-on:input="$emit('input', $event.target.value)"
|
|
@@ -64,7 +64,11 @@ export default {
|
|
|
64
64
|
this.validate();
|
|
65
65
|
},
|
|
66
66
|
methods: {
|
|
67
|
-
...mapMutations("validation", [
|
|
67
|
+
...mapMutations("validation", [
|
|
68
|
+
"addValidation",
|
|
69
|
+
"removeValidation",
|
|
70
|
+
"updateFormDirty",
|
|
71
|
+
]),
|
|
68
72
|
validate() {
|
|
69
73
|
this.notifications = [];
|
|
70
74
|
|
|
@@ -83,6 +87,9 @@ export default {
|
|
|
83
87
|
},
|
|
84
88
|
computed: {
|
|
85
89
|
...mapState("validation", ["resetForm", "validations"]),
|
|
90
|
+
titlePlaceholder() {
|
|
91
|
+
return "Digite a " + this.title;
|
|
92
|
+
},
|
|
86
93
|
},
|
|
87
94
|
watch: {
|
|
88
95
|
value() {
|
|
@@ -120,6 +127,19 @@ export default {
|
|
|
120
127
|
</script>
|
|
121
128
|
|
|
122
129
|
<style scoped>
|
|
130
|
+
.title {
|
|
131
|
+
font-size: 14px !important;
|
|
132
|
+
font-weight: 400 !important;
|
|
133
|
+
color: #0a0a0a;
|
|
134
|
+
letter-spacing: 0.5px !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
input::placeholder {
|
|
138
|
+
font-weight: 300 !important;
|
|
139
|
+
opacity: 0.5;
|
|
140
|
+
color: #969595;
|
|
141
|
+
}
|
|
142
|
+
|
|
123
143
|
.success {
|
|
124
144
|
color: #94aa2a;
|
|
125
145
|
font-size: 14px;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<input
|
|
18
18
|
type="text"
|
|
19
19
|
:style="_style"
|
|
20
|
-
:placeholder="
|
|
20
|
+
:placeholder="titlePlaceholder"
|
|
21
21
|
:disabled="disabled"
|
|
22
22
|
@keyup.enter.prevent="pressedEnter"
|
|
23
23
|
@keyup="cleanedField"
|
|
@@ -112,6 +112,9 @@ export default {
|
|
|
112
112
|
},
|
|
113
113
|
computed: {
|
|
114
114
|
...mapState("validation", ["resetForm", "validations"]),
|
|
115
|
+
titlePlaceholder() {
|
|
116
|
+
return "Digite o " + this.title;
|
|
117
|
+
},
|
|
115
118
|
},
|
|
116
119
|
watch: {
|
|
117
120
|
value() {
|
|
@@ -153,6 +156,15 @@ export default {
|
|
|
153
156
|
<style scoped>
|
|
154
157
|
.title {
|
|
155
158
|
font-size: 14px !important;
|
|
159
|
+
font-weight: 400 !important;
|
|
160
|
+
color: #0a0a0a;
|
|
161
|
+
letter-spacing: 0.5px !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
input::placeholder {
|
|
165
|
+
font-weight: 300 !important;
|
|
166
|
+
opacity: 0.5;
|
|
167
|
+
color: #969595;
|
|
156
168
|
}
|
|
157
169
|
|
|
158
170
|
.class-icon-title {
|
|
@@ -43,7 +43,13 @@ export default {
|
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
45
|
</script>
|
|
46
|
-
<style
|
|
46
|
+
<style>
|
|
47
|
+
.custom-control-label {
|
|
48
|
+
font-size: 13px !important;
|
|
49
|
+
font-weight: 400 !important;
|
|
50
|
+
text-transform: uppercase;
|
|
51
|
+
color: #778498;
|
|
52
|
+
}
|
|
47
53
|
.options {
|
|
48
54
|
margin-top: 5px;
|
|
49
55
|
}
|
|
@@ -305,6 +305,13 @@ export default {
|
|
|
305
305
|
</script>
|
|
306
306
|
|
|
307
307
|
<style scoped>
|
|
308
|
+
.title {
|
|
309
|
+
font-size: 14px !important;
|
|
310
|
+
font-weight: 400 !important;
|
|
311
|
+
color: #0a0a0a;
|
|
312
|
+
letter-spacing: 0.5px !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
308
315
|
.margin {
|
|
309
316
|
margin-bottom: 10px;
|
|
310
317
|
}
|
|
@@ -111,6 +111,13 @@ export default {
|
|
|
111
111
|
</script>
|
|
112
112
|
|
|
113
113
|
<style scoped>
|
|
114
|
+
.title {
|
|
115
|
+
font-size: 14px !important;
|
|
116
|
+
font-weight: 400 !important;
|
|
117
|
+
color: #0a0a0a;
|
|
118
|
+
letter-spacing: 0.5px !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
114
121
|
div.before-list {
|
|
115
122
|
padding: 8px;
|
|
116
123
|
}
|
|
@@ -14,15 +14,16 @@
|
|
|
14
14
|
<div class="col-10">
|
|
15
15
|
<div class="div-title">
|
|
16
16
|
<span class="module">
|
|
17
|
-
<span class="icon"><i class="fas fa-compass"></i></span>
|
|
17
|
+
<span class="icon-panel"><i class="fas fa-compass"></i></span>
|
|
18
18
|
{{ module }} <span v-if="title">|</span></span
|
|
19
19
|
>
|
|
20
20
|
<span class="title"> {{ title }}</span>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="col-2
|
|
24
|
-
<div class="
|
|
25
|
-
<
|
|
23
|
+
<div class="col-2" v-if="currentRoute != 'dashboard'">
|
|
24
|
+
<div class="div-back text-right" @click="back()">
|
|
25
|
+
<i class="fa-solid fa-angle-left"></i>
|
|
26
|
+
<span> Voltar</span>
|
|
26
27
|
</div>
|
|
27
28
|
</div>
|
|
28
29
|
</div>
|
|
@@ -54,6 +55,7 @@ import Messages from "../shared/Messages.vue";
|
|
|
54
55
|
import Search from "../shared/Search.vue";
|
|
55
56
|
import Loading from "../shared/Loading.vue";
|
|
56
57
|
import VerticalFilter from "../shared/VerticalFilter";
|
|
58
|
+
import Molded from "@nixweb/nixloc-ui/src/component/layout/Molded";
|
|
57
59
|
|
|
58
60
|
import { mapState, mapGetters, mapMutations } from "vuex";
|
|
59
61
|
|
|
@@ -65,6 +67,7 @@ export default {
|
|
|
65
67
|
Search,
|
|
66
68
|
Messages,
|
|
67
69
|
Toast,
|
|
70
|
+
Molded,
|
|
68
71
|
},
|
|
69
72
|
props: {
|
|
70
73
|
module: String,
|
|
@@ -108,16 +111,17 @@ export default {
|
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
.module {
|
|
111
|
-
font-size:
|
|
114
|
+
font-size: 17px;
|
|
112
115
|
font-weight: 400;
|
|
116
|
+
color: #aaaebb;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
.title {
|
|
116
|
-
font-size:
|
|
117
|
-
font-weight:
|
|
120
|
+
font-size: 20px;
|
|
121
|
+
font-weight: 500;
|
|
118
122
|
}
|
|
119
123
|
|
|
120
|
-
.icon {
|
|
124
|
+
.icon-panel {
|
|
121
125
|
opacity: 0.8;
|
|
122
126
|
font-size: 20px;
|
|
123
127
|
}
|
|
@@ -139,4 +143,17 @@ export default {
|
|
|
139
143
|
padding-right: 30px;
|
|
140
144
|
padding-left: 20px;
|
|
141
145
|
}
|
|
146
|
+
|
|
147
|
+
.div-back {
|
|
148
|
+
margin-top: 15px;
|
|
149
|
+
font-size: 15px;
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
padding: 10px;
|
|
152
|
+
padding-top: 6px;
|
|
153
|
+
padding-left: 10px;
|
|
154
|
+
padding-right: 30px;
|
|
155
|
+
font-weight: 400;
|
|
156
|
+
color: #3d52a9;
|
|
157
|
+
width: 200px;
|
|
158
|
+
}
|
|
142
159
|
</style>
|
|
@@ -46,11 +46,13 @@ export default {
|
|
|
46
46
|
.title {
|
|
47
47
|
padding-left: 10px;
|
|
48
48
|
color: black !important;
|
|
49
|
+
font-weight: 500;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.value {
|
|
52
53
|
padding-left: 10px;
|
|
53
54
|
font-size: 18px;
|
|
54
55
|
font-weight: 700;
|
|
56
|
+
font-family: "inter", sans-serif !important;
|
|
55
57
|
}
|
|
56
58
|
</style>
|
|
@@ -2,13 +2,24 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<b-pagination
|
|
4
4
|
v-model="pagination(_key).currentPage"
|
|
5
|
-
prev-text="Anterior"
|
|
6
|
-
next-text="Próximo"
|
|
7
5
|
align="right"
|
|
8
6
|
:hide-goto-end-buttons="true"
|
|
9
7
|
:per-page="pagination(_key).totalPerPage"
|
|
10
8
|
:total-rows="totalRecords"
|
|
11
|
-
|
|
9
|
+
>
|
|
10
|
+
<template #first-text>
|
|
11
|
+
<i class="fa-regular fa-chevron-left"></i>
|
|
12
|
+
</template>
|
|
13
|
+
<template #prev-text>
|
|
14
|
+
<i class="fa-regular fa-chevron-left"></i>
|
|
15
|
+
</template>
|
|
16
|
+
<template #next-text>
|
|
17
|
+
<i class="fa-regular fa-chevron-right"></i>
|
|
18
|
+
</template>
|
|
19
|
+
<template #last-text>
|
|
20
|
+
<i class="fa-regular fa-chevron-right"></i>
|
|
21
|
+
</template>
|
|
22
|
+
</b-pagination>
|
|
12
23
|
</div>
|
|
13
24
|
</template>
|
|
14
25
|
|
|
@@ -39,14 +50,27 @@ export default {
|
|
|
39
50
|
|
|
40
51
|
<style>
|
|
41
52
|
.page-item {
|
|
42
|
-
font-size:
|
|
53
|
+
font-size: 15px !important;
|
|
54
|
+
border: 0px solid !important;
|
|
55
|
+
width: 50px !important;
|
|
56
|
+
font-weight: 700 !important;
|
|
43
57
|
}
|
|
44
58
|
|
|
45
59
|
.page-item.active .page-link {
|
|
46
|
-
font-size: 13px !important;
|
|
47
60
|
z-index: 3 !important;
|
|
48
|
-
color:
|
|
49
|
-
background-color: #
|
|
50
|
-
border-
|
|
61
|
+
color: black !important;
|
|
62
|
+
background-color: #ECECEC !important;
|
|
63
|
+
border-radius: 50px !important;
|
|
64
|
+
width: 37px !important;
|
|
65
|
+
height: 37px !important;
|
|
51
66
|
}
|
|
67
|
+
|
|
68
|
+
.page-link {
|
|
69
|
+
color: #6c757d !important;
|
|
70
|
+
border: 0px solid #dee2e6 !important;
|
|
71
|
+
border-radius: 50px !important;
|
|
72
|
+
width: 37px !important;
|
|
73
|
+
height: 37px !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
52
76
|
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="div-main
|
|
2
|
+
<div class="div-main" :class="alignment">
|
|
3
3
|
<div class="title" :style="'font-size:' + titleSize + 'px;'">
|
|
4
4
|
{{ title }}
|
|
5
5
|
</div>
|
|
@@ -62,6 +62,7 @@ export default {
|
|
|
62
62
|
buttonClassIcon: String,
|
|
63
63
|
showButtonNext: { type: Boolean, default: true },
|
|
64
64
|
size: { type: String, default: "medium" },
|
|
65
|
+
alignment: { type: String, default: "text-center" },
|
|
65
66
|
width: Number,
|
|
66
67
|
height: Number,
|
|
67
68
|
options: Array,
|
|
@@ -132,11 +132,6 @@ table tbody tr td {
|
|
|
132
132
|
border-bottom: 0px !important;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.table thead tr {
|
|
136
|
-
background-color: #FAFAFC !important;
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
135
|
.td-checkbox {
|
|
141
136
|
width: 30px;
|
|
142
137
|
}
|
|
@@ -148,8 +143,9 @@ tr:hover {
|
|
|
148
143
|
.title-header {
|
|
149
144
|
font-size: 13px;
|
|
150
145
|
color: #757d8c;
|
|
151
|
-
font-weight:
|
|
146
|
+
font-weight: 600;
|
|
152
147
|
text-transform: uppercase;
|
|
148
|
+
letter-spacing: 0.5px !important;
|
|
153
149
|
}
|
|
154
150
|
|
|
155
151
|
.table-number {
|