@nixweb/nixloc-ui 1.19.0 → 1.20.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 +105 -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 +15 -1
- 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,125 +1,125 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div><span class="title">{{ title }}</span>
|
|
4
|
-
<span class="required" v-if="required">*</span>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="email-input-container">
|
|
7
|
-
<div class="email-tag" v-for="(email, index) in tos" :key="index">
|
|
8
|
-
{{ email }}
|
|
9
|
-
<button class="remove-button" @click="removeEmail(index)">
|
|
10
|
-
<i class="fa-solid fa-circle-xmark"></i>
|
|
11
|
-
</button>
|
|
12
|
-
</div>
|
|
13
|
-
<input v-model="newItem" @keyup.enter="addItem" :placeholder="placeholder" class="email-input" />
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</template>
|
|
17
|
-
|
|
18
|
-
<script>
|
|
19
|
-
export default {
|
|
20
|
-
name: "InputTag",
|
|
21
|
-
props: {
|
|
22
|
-
title: String,
|
|
23
|
-
placeholder: String,
|
|
24
|
-
required: Boolean,
|
|
25
|
-
initialValue: Array,
|
|
26
|
-
value: Array,
|
|
27
|
-
change: Function
|
|
28
|
-
},
|
|
29
|
-
data() {
|
|
30
|
-
return {
|
|
31
|
-
tos: [],
|
|
32
|
-
newItem: ""
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
mounted() {
|
|
36
|
-
this.tos = this.initialValue;
|
|
37
|
-
},
|
|
38
|
-
methods: {
|
|
39
|
-
addItem() {
|
|
40
|
-
if (this.newItem) {
|
|
41
|
-
this.tos.push(this.newItem);
|
|
42
|
-
this.newItem = "";
|
|
43
|
-
this.change();
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
removeEmail(index) {
|
|
47
|
-
this.tos.splice(index, 1);
|
|
48
|
-
this.change();
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
watch: {
|
|
52
|
-
tos: {
|
|
53
|
-
handler(tos) {
|
|
54
|
-
this.$emit("input", tos);
|
|
55
|
-
},
|
|
56
|
-
deep: true,
|
|
57
|
-
},
|
|
58
|
-
initialValue: {
|
|
59
|
-
handler(initialValue) {
|
|
60
|
-
this.tos = initialValue;
|
|
61
|
-
},
|
|
62
|
-
deep: true,
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
};
|
|
67
|
-
</script>
|
|
68
|
-
|
|
69
|
-
<style>
|
|
70
|
-
.email-input-container {
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-wrap: wrap;
|
|
73
|
-
align-items: center;
|
|
74
|
-
border: 1px solid #E5E4E8;
|
|
75
|
-
border-radius: 6px;
|
|
76
|
-
padding-left: 5px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.email-tag {
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
background-color: #f0f0f0;
|
|
83
|
-
padding: 4px 8px;
|
|
84
|
-
border-radius: 16px;
|
|
85
|
-
margin-top: 6px;
|
|
86
|
-
margin-right: 8px;
|
|
87
|
-
margin-bottom: 8px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.remove-button {
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
background-color: transparent;
|
|
95
|
-
border: none;
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
margin-left: 4px;
|
|
98
|
-
outline: none;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.remove-button {
|
|
102
|
-
color: #ff0000;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.remove-button:hover {
|
|
106
|
-
color: #ff0000;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.email-input {
|
|
110
|
-
flex: 1;
|
|
111
|
-
border: none;
|
|
112
|
-
outline: none;
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
padding: 4px;
|
|
115
|
-
font-weight: 400 !important;
|
|
116
|
-
margin: 2px 5px 2px 5px;
|
|
117
|
-
background-color: transparent;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.email-input::placeholder {
|
|
121
|
-
font-weight: 300 !important;
|
|
122
|
-
opacity: 0.5;
|
|
123
|
-
color: #969595;
|
|
124
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div><span class="title">{{ title }}</span>
|
|
4
|
+
<span class="required" v-if="required">*</span>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="email-input-container">
|
|
7
|
+
<div class="email-tag" v-for="(email, index) in tos" :key="index">
|
|
8
|
+
{{ email }}
|
|
9
|
+
<button class="remove-button" @click="removeEmail(index)">
|
|
10
|
+
<i class="fa-solid fa-circle-xmark"></i>
|
|
11
|
+
</button>
|
|
12
|
+
</div>
|
|
13
|
+
<input v-model="newItem" @keyup.enter="addItem" :placeholder="placeholder" class="email-input" />
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
export default {
|
|
20
|
+
name: "InputTag",
|
|
21
|
+
props: {
|
|
22
|
+
title: String,
|
|
23
|
+
placeholder: String,
|
|
24
|
+
required: Boolean,
|
|
25
|
+
initialValue: Array,
|
|
26
|
+
value: Array,
|
|
27
|
+
change: Function
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
tos: [],
|
|
32
|
+
newItem: ""
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
mounted() {
|
|
36
|
+
this.tos = this.initialValue;
|
|
37
|
+
},
|
|
38
|
+
methods: {
|
|
39
|
+
addItem() {
|
|
40
|
+
if (this.newItem) {
|
|
41
|
+
this.tos.push(this.newItem);
|
|
42
|
+
this.newItem = "";
|
|
43
|
+
this.change();
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
removeEmail(index) {
|
|
47
|
+
this.tos.splice(index, 1);
|
|
48
|
+
this.change();
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
watch: {
|
|
52
|
+
tos: {
|
|
53
|
+
handler(tos) {
|
|
54
|
+
this.$emit("input", tos);
|
|
55
|
+
},
|
|
56
|
+
deep: true,
|
|
57
|
+
},
|
|
58
|
+
initialValue: {
|
|
59
|
+
handler(initialValue) {
|
|
60
|
+
this.tos = initialValue;
|
|
61
|
+
},
|
|
62
|
+
deep: true,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
};
|
|
67
|
+
</script>
|
|
68
|
+
|
|
69
|
+
<style>
|
|
70
|
+
.email-input-container {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-wrap: wrap;
|
|
73
|
+
align-items: center;
|
|
74
|
+
border: 1px solid #E5E4E8;
|
|
75
|
+
border-radius: 6px;
|
|
76
|
+
padding-left: 5px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.email-tag {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
background-color: #f0f0f0;
|
|
83
|
+
padding: 4px 8px;
|
|
84
|
+
border-radius: 16px;
|
|
85
|
+
margin-top: 6px;
|
|
86
|
+
margin-right: 8px;
|
|
87
|
+
margin-bottom: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.remove-button {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
background-color: transparent;
|
|
95
|
+
border: none;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
margin-left: 4px;
|
|
98
|
+
outline: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.remove-button {
|
|
102
|
+
color: #ff0000;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.remove-button:hover {
|
|
106
|
+
color: #ff0000;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.email-input {
|
|
110
|
+
flex: 1;
|
|
111
|
+
border: none;
|
|
112
|
+
outline: none;
|
|
113
|
+
font-size: 14px;
|
|
114
|
+
padding: 4px;
|
|
115
|
+
font-weight: 400 !important;
|
|
116
|
+
margin: 2px 5px 2px 5px;
|
|
117
|
+
background-color: transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.email-input::placeholder {
|
|
121
|
+
font-weight: 300 !important;
|
|
122
|
+
opacity: 0.5;
|
|
123
|
+
color: #969595;
|
|
124
|
+
}
|
|
125
125
|
</style>
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<span class="num" @click="showEdit = true" v-if="!showEdit">
|
|
4
|
-
{{ value }}
|
|
5
|
-
<i class="icon-edit fa-solid fa-pen-to-square"></i>
|
|
6
|
-
</span>
|
|
7
|
-
<div class="wrapper" v-if="showEdit">
|
|
8
|
-
<input class="input" type="text" placeholder="Digite seu texto" @keyup.enter.prevent="done" v-bind:value="value"
|
|
9
|
-
v-on:input="$emit('input', $event.target.value)" v-if="showEdit" />
|
|
10
|
-
<span @click="done" v-if="showEdit">
|
|
11
|
-
<i class="fa-solid fa-check"></i>
|
|
12
|
-
</span>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
export default {
|
|
19
|
-
name: "InputTextEdit",
|
|
20
|
-
props: ["params", "enter", "value"],
|
|
21
|
-
data() {
|
|
22
|
-
return {
|
|
23
|
-
showEdit: false,
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
methods: {
|
|
27
|
-
done() {
|
|
28
|
-
this.showEdit = false;
|
|
29
|
-
if (this.enter) this.enter(this.params);
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style scoped>
|
|
37
|
-
.input {
|
|
38
|
-
width: 90%;
|
|
39
|
-
border: none;
|
|
40
|
-
text-align: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.wrapper {
|
|
44
|
-
height: 37px;
|
|
45
|
-
width: 100%;
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
background: #fff;
|
|
50
|
-
border-radius: 8px;
|
|
51
|
-
border: 1px solid #eaedf3;
|
|
52
|
-
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 3%);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.wrapper span {
|
|
56
|
-
width: 10px;
|
|
57
|
-
text-align: center;
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
font-weight: 600;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
user-select: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.icon-edit {
|
|
65
|
-
margin-left: 0px;
|
|
66
|
-
color: rgb(128, 127, 127);
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<span class="num" @click="showEdit = true" v-if="!showEdit">
|
|
4
|
+
{{ value }}
|
|
5
|
+
<i class="icon-edit fa-solid fa-pen-to-square"></i>
|
|
6
|
+
</span>
|
|
7
|
+
<div class="wrapper" v-if="showEdit">
|
|
8
|
+
<input class="input" type="text" placeholder="Digite seu texto" @keyup.enter.prevent="done" v-bind:value="value"
|
|
9
|
+
v-on:input="$emit('input', $event.target.value)" v-if="showEdit" />
|
|
10
|
+
<span @click="done" v-if="showEdit">
|
|
11
|
+
<i class="fa-solid fa-check"></i>
|
|
12
|
+
</span>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
export default {
|
|
19
|
+
name: "InputTextEdit",
|
|
20
|
+
props: ["params", "enter", "value"],
|
|
21
|
+
data() {
|
|
22
|
+
return {
|
|
23
|
+
showEdit: false,
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
methods: {
|
|
27
|
+
done() {
|
|
28
|
+
this.showEdit = false;
|
|
29
|
+
if (this.enter) this.enter(this.params);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
};
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style scoped>
|
|
37
|
+
.input {
|
|
38
|
+
width: 90%;
|
|
39
|
+
border: none;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wrapper {
|
|
44
|
+
height: 37px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
background: #fff;
|
|
50
|
+
border-radius: 8px;
|
|
51
|
+
border: 1px solid #eaedf3;
|
|
52
|
+
box-shadow: 0px 10px 20px -6px rgb(0 0 0 / 3%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.wrapper span {
|
|
56
|
+
width: 10px;
|
|
57
|
+
text-align: center;
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
user-select: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.icon-edit {
|
|
65
|
+
margin-left: 0px;
|
|
66
|
+
color: rgb(128, 127, 127);
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
</style>
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<InputText
|
|
4
|
-
:title="title"
|
|
5
|
-
:field="field"
|
|
6
|
-
:formName="formName"
|
|
7
|
-
:required="required"
|
|
8
|
-
:mask="['(##) ####-####', '(##) #####-####']"
|
|
9
|
-
:maxLength="maxLength"
|
|
10
|
-
:markFormDirty="markFormDirty"
|
|
11
|
-
v-model="mobile"
|
|
12
|
-
/>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
<script>
|
|
16
|
-
import InputText from "./InputText";
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
name: "InputWhatsApp",
|
|
20
|
-
props: [
|
|
21
|
-
"title",
|
|
22
|
-
"field",
|
|
23
|
-
"disabled",
|
|
24
|
-
"formName",
|
|
25
|
-
"required",
|
|
26
|
-
"maxLength",
|
|
27
|
-
"value",
|
|
28
|
-
"markFormDirty",
|
|
29
|
-
],
|
|
30
|
-
components: { InputText },
|
|
31
|
-
data() {
|
|
32
|
-
return {
|
|
33
|
-
mobile: "",
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
created() {
|
|
37
|
-
this.mobile = this.value;
|
|
38
|
-
},
|
|
39
|
-
watch: {
|
|
40
|
-
value() {
|
|
41
|
-
this.mobile = this.value;
|
|
42
|
-
},
|
|
43
|
-
mobile() {
|
|
44
|
-
this.$emit("input", this.mobile);
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
};
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<InputText
|
|
4
|
+
:title="title"
|
|
5
|
+
:field="field"
|
|
6
|
+
:formName="formName"
|
|
7
|
+
:required="required"
|
|
8
|
+
:mask="['(##) ####-####', '(##) #####-####']"
|
|
9
|
+
:maxLength="maxLength"
|
|
10
|
+
:markFormDirty="markFormDirty"
|
|
11
|
+
v-model="mobile"
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<script>
|
|
16
|
+
import InputText from "./InputText";
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
name: "InputWhatsApp",
|
|
20
|
+
props: [
|
|
21
|
+
"title",
|
|
22
|
+
"field",
|
|
23
|
+
"disabled",
|
|
24
|
+
"formName",
|
|
25
|
+
"required",
|
|
26
|
+
"maxLength",
|
|
27
|
+
"value",
|
|
28
|
+
"markFormDirty",
|
|
29
|
+
],
|
|
30
|
+
components: { InputText },
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
mobile: "",
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
created() {
|
|
37
|
+
this.mobile = this.value;
|
|
38
|
+
},
|
|
39
|
+
watch: {
|
|
40
|
+
value() {
|
|
41
|
+
this.mobile = this.value;
|
|
42
|
+
},
|
|
43
|
+
mobile() {
|
|
44
|
+
this.$emit("input", this.mobile);
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
48
|
</script>
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<b-sidebar id="my-sidebar" :title="title" width="90%" bg-variant="white" no-header right backdrop-variant="dark"
|
|
4
|
-
@hidden="hideSideBar" backdrop shadow>
|
|
5
|
-
<div class="margin-side-bar">
|
|
6
|
-
<div>
|
|
7
|
-
<!-- <Messages /> -->
|
|
8
|
-
<b-row>
|
|
9
|
-
<b-col sm="6">
|
|
10
|
-
<div class="title-side-bar">{{ title }}</div>
|
|
11
|
-
</b-col>
|
|
12
|
-
<b-col sm="6">
|
|
13
|
-
<div class="text-right" @click="hideSideBar">
|
|
14
|
-
<i class="fa-solid fa-circle-xmark icon-side-bar"></i>
|
|
15
|
-
</div>
|
|
16
|
-
</b-col>
|
|
17
|
-
</b-row>
|
|
18
|
-
</div>
|
|
19
|
-
<br />
|
|
20
|
-
<slot></slot>
|
|
21
|
-
</div>
|
|
22
|
-
</b-sidebar>
|
|
23
|
-
</div>
|
|
24
|
-
</template>
|
|
25
|
-
|
|
26
|
-
<script>
|
|
27
|
-
import Messages from "@nixweb/nixloc-ui/src/component/shared/Messages";
|
|
28
|
-
import { mapState, mapMutations } from "vuex";
|
|
29
|
-
|
|
30
|
-
export default {
|
|
31
|
-
name: "SideBar",
|
|
32
|
-
components: {
|
|
33
|
-
Messages,
|
|
34
|
-
},
|
|
35
|
-
props: {
|
|
36
|
-
title: String,
|
|
37
|
-
},
|
|
38
|
-
computed: {
|
|
39
|
-
...mapState("generic", ["sideBar"]),
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
...mapMutations("generic", ["hideSideBar"]),
|
|
43
|
-
hide() {
|
|
44
|
-
this.$root.$emit("bv::toggle::collapse", "my-sidebar");
|
|
45
|
-
this.hideSideBar();
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
watch: {
|
|
49
|
-
sideBar: {
|
|
50
|
-
handler(sideBar) {
|
|
51
|
-
this.$root.$emit("bv::toggle::collapse", "my-sidebar");
|
|
52
|
-
},
|
|
53
|
-
deep: true,
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
</script>
|
|
58
|
-
<style>
|
|
59
|
-
.b-sidebar {
|
|
60
|
-
border-radius: 15px 15px 0px 0px !important;
|
|
61
|
-
margin-top: 20px !important;
|
|
62
|
-
margin-right: 5% !important;
|
|
63
|
-
padding-top: 20px !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.b-sidebar>.b-sidebar-body {
|
|
67
|
-
overflow-y: scroll !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.b-sidebar>.b-sidebar-body::-webkit-scrollbar-track {
|
|
71
|
-
background-color: white;
|
|
72
|
-
border-radius: 20px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.b-sidebar>.b-sidebar-body::-webkit-scrollbar {
|
|
76
|
-
width: 6px;
|
|
77
|
-
background-color: #b9babb;
|
|
78
|
-
border-radius: 20px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.b-sidebar>.b-sidebar-body::-webkit-scrollbar-thumb {
|
|
82
|
-
background-color: #b9babb;
|
|
83
|
-
border-radius: 20px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.title-side-bar {
|
|
87
|
-
font-size: 20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.icon-side-bar {
|
|
91
|
-
font-size: 30px;
|
|
92
|
-
cursor: pointer;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.margin-side-bar {
|
|
96
|
-
margin-top: 20px;
|
|
97
|
-
margin-left: 30px;
|
|
98
|
-
margin-right: 20px;
|
|
99
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<b-sidebar id="my-sidebar" :title="title" width="90%" bg-variant="white" no-header right backdrop-variant="dark"
|
|
4
|
+
@hidden="hideSideBar" backdrop shadow>
|
|
5
|
+
<div class="margin-side-bar">
|
|
6
|
+
<div>
|
|
7
|
+
<!-- <Messages /> -->
|
|
8
|
+
<b-row>
|
|
9
|
+
<b-col sm="6">
|
|
10
|
+
<div class="title-side-bar">{{ title }}</div>
|
|
11
|
+
</b-col>
|
|
12
|
+
<b-col sm="6">
|
|
13
|
+
<div class="text-right" @click="hideSideBar">
|
|
14
|
+
<i class="fa-solid fa-circle-xmark icon-side-bar"></i>
|
|
15
|
+
</div>
|
|
16
|
+
</b-col>
|
|
17
|
+
</b-row>
|
|
18
|
+
</div>
|
|
19
|
+
<br />
|
|
20
|
+
<slot></slot>
|
|
21
|
+
</div>
|
|
22
|
+
</b-sidebar>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script>
|
|
27
|
+
import Messages from "@nixweb/nixloc-ui/src/component/shared/Messages";
|
|
28
|
+
import { mapState, mapMutations } from "vuex";
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
name: "SideBar",
|
|
32
|
+
components: {
|
|
33
|
+
Messages,
|
|
34
|
+
},
|
|
35
|
+
props: {
|
|
36
|
+
title: String,
|
|
37
|
+
},
|
|
38
|
+
computed: {
|
|
39
|
+
...mapState("generic", ["sideBar"]),
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
...mapMutations("generic", ["hideSideBar"]),
|
|
43
|
+
hide() {
|
|
44
|
+
this.$root.$emit("bv::toggle::collapse", "my-sidebar");
|
|
45
|
+
this.hideSideBar();
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
watch: {
|
|
49
|
+
sideBar: {
|
|
50
|
+
handler(sideBar) {
|
|
51
|
+
this.$root.$emit("bv::toggle::collapse", "my-sidebar");
|
|
52
|
+
},
|
|
53
|
+
deep: true,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
</script>
|
|
58
|
+
<style>
|
|
59
|
+
.b-sidebar {
|
|
60
|
+
border-radius: 15px 15px 0px 0px !important;
|
|
61
|
+
margin-top: 20px !important;
|
|
62
|
+
margin-right: 5% !important;
|
|
63
|
+
padding-top: 20px !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.b-sidebar>.b-sidebar-body {
|
|
67
|
+
overflow-y: scroll !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.b-sidebar>.b-sidebar-body::-webkit-scrollbar-track {
|
|
71
|
+
background-color: white;
|
|
72
|
+
border-radius: 20px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.b-sidebar>.b-sidebar-body::-webkit-scrollbar {
|
|
76
|
+
width: 6px;
|
|
77
|
+
background-color: #b9babb;
|
|
78
|
+
border-radius: 20px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.b-sidebar>.b-sidebar-body::-webkit-scrollbar-thumb {
|
|
82
|
+
background-color: #b9babb;
|
|
83
|
+
border-radius: 20px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.title-side-bar {
|
|
87
|
+
font-size: 20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.icon-side-bar {
|
|
91
|
+
font-size: 30px;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.margin-side-bar {
|
|
96
|
+
margin-top: 20px;
|
|
97
|
+
margin-left: 30px;
|
|
98
|
+
margin-right: 20px;
|
|
99
|
+
}
|
|
100
100
|
</style>
|