@burh/nuxt-core 1.0.410 → 1.0.412
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/assets/sass/burh-ds/atoms/_forms.scss +21 -19
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +874 -859
- package/components/burh-ds/Modals/AddCustomerModal.vue +5 -46
- package/components/burh-ds/Modals/AddMember.vue +5 -48
- package/components/burh-ds/Modals/AddRoleModal.vue +4 -47
- package/components/burh-ds/Modals/AppConfigModal.vue +326 -326
- package/components/burh-ds/Modals/PlanModal.vue +133 -172
- package/components/burh-ds/Modals/RequestModal.vue +206 -247
- package/components/burh-ds/Modals/SendTest.vue +7 -43
- package/components/burh-ds/Modals/SharedModal.vue +7 -50
- package/components/burh-ds/Modals/UniversalShareModal.vue +7 -50
- package/components/burh-ds/Modals/UniversalWhatsappModal.vue +5 -53
- package/components/burh-ds/Modals/WhatsappModal.vue +79 -127
- package/components/burh-ds/Skeleton/AppHeader.vue +129 -0
- package/components/burh-ds/Skeleton/SkeletonAnimate.vue +121 -96
- package/components/burh-ds/Tabs/TesteTab.vue +108 -108
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
:
|
|
4
|
-
|
|
5
|
-
custom-class="position-relative"
|
|
2
|
+
<modal
|
|
3
|
+
:show.sync="isActive"
|
|
4
|
+
:size="'lg'"
|
|
6
5
|
@close="$emit('close')"
|
|
7
6
|
>
|
|
8
7
|
<template>
|
|
@@ -121,17 +120,13 @@
|
|
|
121
120
|
/>
|
|
122
121
|
</span>
|
|
123
122
|
</template>
|
|
124
|
-
</
|
|
123
|
+
</modal>
|
|
125
124
|
</template>
|
|
126
125
|
|
|
127
126
|
<script>
|
|
128
|
-
import { Dialog } from 'element-ui';
|
|
129
|
-
|
|
130
127
|
export default {
|
|
131
128
|
name: 'shared-modal',
|
|
132
|
-
components: {
|
|
133
|
-
[Dialog.name]: Dialog
|
|
134
|
-
},
|
|
129
|
+
components: {},
|
|
135
130
|
props: {
|
|
136
131
|
isActive: Boolean,
|
|
137
132
|
shareUrl: String,
|
|
@@ -176,20 +171,8 @@ export default {
|
|
|
176
171
|
<style lang="scss" scoped>
|
|
177
172
|
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
178
173
|
|
|
179
|
-
/deep/ .
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/deep/ .el-dialog__header {
|
|
184
|
-
display: none;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/deep/ .el-dialog {
|
|
188
|
-
overflow: hidden;
|
|
189
|
-
border-radius: 10px;
|
|
190
|
-
padding-bottom: 50px;
|
|
191
|
-
max-width: 725px;
|
|
192
|
-
min-width: 725px;
|
|
174
|
+
/deep/ .modal-body {
|
|
175
|
+
margin-bottom: 2rem;
|
|
193
176
|
}
|
|
194
177
|
|
|
195
178
|
.social {
|
|
@@ -214,32 +197,6 @@ export default {
|
|
|
214
197
|
}
|
|
215
198
|
}
|
|
216
199
|
|
|
217
|
-
.tool {
|
|
218
|
-
position: absolute;
|
|
219
|
-
top: 1rem;
|
|
220
|
-
z-index: 10;
|
|
221
|
-
color: $primary;
|
|
222
|
-
cursor: pointer;
|
|
223
|
-
|
|
224
|
-
&-close {
|
|
225
|
-
position: absolute;
|
|
226
|
-
width: 88px;
|
|
227
|
-
height: 27px;
|
|
228
|
-
right: 7px;
|
|
229
|
-
top: 7px;
|
|
230
|
-
display: flex;
|
|
231
|
-
justify-content: center;
|
|
232
|
-
align-items: center;
|
|
233
|
-
|
|
234
|
-
font-size: 11px;
|
|
235
|
-
|
|
236
|
-
font-weight: 500;
|
|
237
|
-
background: rgba(0, 0, 0, 0.2);
|
|
238
|
-
border-radius: 17.5px;
|
|
239
|
-
color: #fff;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
200
|
.btn-whatsapp:hover {
|
|
244
201
|
color: white;
|
|
245
202
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
:
|
|
4
|
-
|
|
5
|
-
custom-class="position-relative"
|
|
2
|
+
<modal
|
|
3
|
+
:show.sync="isActive"
|
|
4
|
+
:size="'lg'"
|
|
6
5
|
@close="$emit('close')"
|
|
7
6
|
>
|
|
8
7
|
<template>
|
|
@@ -50,17 +49,13 @@
|
|
|
50
49
|
/>
|
|
51
50
|
</span>
|
|
52
51
|
</template>
|
|
53
|
-
</
|
|
52
|
+
</modal>
|
|
54
53
|
</template>
|
|
55
54
|
|
|
56
55
|
<script>
|
|
57
|
-
import { Dialog } from 'element-ui';
|
|
58
|
-
|
|
59
56
|
export default {
|
|
60
57
|
name: 'whatsapp-modal',
|
|
61
|
-
components: {
|
|
62
|
-
[Dialog.name]: Dialog
|
|
63
|
-
},
|
|
58
|
+
components: {},
|
|
64
59
|
data() {
|
|
65
60
|
return {
|
|
66
61
|
phoneNumber: ''
|
|
@@ -98,47 +93,4 @@ export default {
|
|
|
98
93
|
</script>
|
|
99
94
|
|
|
100
95
|
<style lang="scss" scoped>
|
|
101
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
102
|
-
|
|
103
|
-
/deep/ .el-dialog__body {
|
|
104
|
-
padding: 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/deep/ .el-dialog__header {
|
|
108
|
-
display: none;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/deep/ .el-dialog {
|
|
112
|
-
overflow: hidden;
|
|
113
|
-
border-radius: 10px;
|
|
114
|
-
padding-bottom: 50px;
|
|
115
|
-
max-width: 725px;
|
|
116
|
-
min-width: 725px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.tool {
|
|
120
|
-
position: absolute;
|
|
121
|
-
top: 1rem;
|
|
122
|
-
z-index: 10;
|
|
123
|
-
color: $primary;
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
|
|
126
|
-
&-close {
|
|
127
|
-
position: absolute;
|
|
128
|
-
width: 88px;
|
|
129
|
-
height: 27px;
|
|
130
|
-
right: 7px;
|
|
131
|
-
top: 7px;
|
|
132
|
-
display: flex;
|
|
133
|
-
justify-content: center;
|
|
134
|
-
align-items: center;
|
|
135
|
-
|
|
136
|
-
font-size: 11px;
|
|
137
|
-
|
|
138
|
-
font-weight: 500;
|
|
139
|
-
background: rgba(0, 0, 0, 0.2);
|
|
140
|
-
border-radius: 17.5px;
|
|
141
|
-
color: #fff;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
96
|
</style>
|
|
@@ -1,143 +1,95 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</div>
|
|
2
|
+
<modal
|
|
3
|
+
:show.sync="isActive"
|
|
4
|
+
:size="'lg'"
|
|
5
|
+
@close="$emit('close')"
|
|
6
|
+
>
|
|
7
|
+
<template>
|
|
8
|
+
<div class="row mt-5">
|
|
9
|
+
<!-- <base-input class="col-12" label="Email" type="text" /> -->
|
|
10
|
+
<div class="col-12 px-3 mb-4">
|
|
11
|
+
<p class="lead mt-0 ml-5">
|
|
12
|
+
Insira aqui o número do telefone.
|
|
13
|
+
</p>
|
|
14
|
+
<base-input
|
|
15
|
+
class="mb-1 ml-5 mr-5"
|
|
16
|
+
v-model="phoneNumber"
|
|
17
|
+
placeholder="Ex: (15) 3342-6237"
|
|
18
|
+
type="text"
|
|
19
|
+
name="NumberCellphone"
|
|
20
|
+
>
|
|
21
|
+
</base-input>
|
|
22
|
+
</div>
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
24
|
+
<div class="col-12 d-flex">
|
|
25
|
+
<base-button
|
|
26
|
+
size="md"
|
|
27
|
+
outline
|
|
28
|
+
type="primary"
|
|
29
|
+
role="button"
|
|
30
|
+
class="ml-5"
|
|
31
|
+
@click="$emit('close-modal')"
|
|
32
|
+
>voltar
|
|
33
|
+
</base-button>
|
|
34
|
+
<base-button
|
|
35
|
+
size="md"
|
|
36
|
+
type="primary"
|
|
37
|
+
role="button"
|
|
38
|
+
@click="sendMessage()"
|
|
39
|
+
class="ml-auto mr-5"
|
|
40
|
+
>Enviar
|
|
41
|
+
</base-button>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
45
|
+
<span class="tool tool-close" @click="$emit('close-modal')">
|
|
46
|
+
Fechar
|
|
47
|
+
<font-awesome-icon
|
|
48
|
+
:icon="['fas', 'times']"
|
|
49
|
+
class="text-white ml-1"
|
|
50
|
+
/>
|
|
51
|
+
</span>
|
|
52
|
+
</template>
|
|
53
|
+
</modal>
|
|
55
54
|
</template>
|
|
56
55
|
|
|
57
56
|
<script>
|
|
58
|
-
import { Dialog } from 'element-ui';
|
|
59
|
-
|
|
60
57
|
export default {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
window.open(
|
|
83
|
-
'https://api.whatsapp.com/send?phone=' +
|
|
58
|
+
name: 'whatsapp-modal',
|
|
59
|
+
components: {},
|
|
60
|
+
data() {
|
|
61
|
+
return {
|
|
62
|
+
phoneNumber: ''
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
props: {
|
|
66
|
+
isActive: Boolean,
|
|
67
|
+
userData: Object,
|
|
68
|
+
baseUrl: String
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
sendMessage() {
|
|
72
|
+
let phoneNumber = this.phoneNumber
|
|
73
|
+
.replace('(', '')
|
|
74
|
+
.replace(')', '')
|
|
75
|
+
.replace(' ', '')
|
|
76
|
+
.replace('-', '');
|
|
77
|
+
window.open(
|
|
78
|
+
'https://api.whatsapp.com/send?phone=' +
|
|
84
79
|
'+55' +
|
|
85
80
|
phoneNumber +
|
|
86
81
|
'&text=' +
|
|
87
82
|
`${this.baseUrl}/${this.userData.slug.slug}`
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
watch: {
|
|
87
|
+
isActive(newValue) {
|
|
88
|
+
!newValue && this.$emit('close-modal');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
96
91
|
};
|
|
97
92
|
</script>
|
|
98
93
|
|
|
99
94
|
<style lang="scss" scoped>
|
|
100
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
101
|
-
|
|
102
|
-
/deep/ .el-dialog__body {
|
|
103
|
-
padding: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/deep/ .el-dialog__header {
|
|
107
|
-
display: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/deep/ .el-dialog {
|
|
111
|
-
overflow: hidden;
|
|
112
|
-
border-radius: 10px;
|
|
113
|
-
padding-bottom: 50px;
|
|
114
|
-
max-width: 725px;
|
|
115
|
-
min-width: 725px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.tool {
|
|
119
|
-
position: absolute;
|
|
120
|
-
top: 1rem;
|
|
121
|
-
z-index: 10;
|
|
122
|
-
color: $primary;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
|
|
125
|
-
&-close {
|
|
126
|
-
position: absolute;
|
|
127
|
-
width: 88px;
|
|
128
|
-
height: 27px;
|
|
129
|
-
right: 7px;
|
|
130
|
-
top: 7px;
|
|
131
|
-
display: flex;
|
|
132
|
-
justify-content: center;
|
|
133
|
-
align-items: center;
|
|
134
|
-
|
|
135
|
-
font-size: 11px;
|
|
136
|
-
|
|
137
|
-
font-weight: 500;
|
|
138
|
-
background: rgba(0, 0, 0, 0.2);
|
|
139
|
-
border-radius: 17.5px;
|
|
140
|
-
color: #fff;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
95
|
</style>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<base-header class="app-header" :type="'white'">
|
|
3
|
+
<div class="row justify-content-between">
|
|
4
|
+
<div
|
|
5
|
+
class="col-8 my-auto header__container"
|
|
6
|
+
>
|
|
7
|
+
<template v-if="hasHeaderData">
|
|
8
|
+
<div class="row mb-4">
|
|
9
|
+
<skeleton-animate :width="95" :height="30" />
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<div class="header__content row">
|
|
14
|
+
<div class="d-flex align-items-center flex-row">
|
|
15
|
+
<skeleton-animate :width="300" :height="40" />
|
|
16
|
+
</div>
|
|
17
|
+
<div class="images">
|
|
18
|
+
<template v-for="i in userAvatarQuantity">
|
|
19
|
+
<skeleton-animate class="user__avatar" :key="i" :width="42" :height="42" img />
|
|
20
|
+
</template>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<template v-if="hasFooterData">
|
|
25
|
+
<div class="row mt-4">
|
|
26
|
+
<template v-for="i in footerActionQuantity">
|
|
27
|
+
<skeleton-animate class="mr-2 mt-2" :key="i" :width="100" :height="30" />
|
|
28
|
+
</template>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="row mt-4">
|
|
32
|
+
<template v-for="i in footerTabsQuantity">
|
|
33
|
+
<skeleton-animate class="mr-2 mt-2" :key="i" :width="130" :height="65" />
|
|
34
|
+
</template>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<div class="col-4 d-flex justify-content-end align-items-start">
|
|
40
|
+
<div v-for="i in buttonsQuantity" :key="i">
|
|
41
|
+
<skeleton-animate class="mr-2" :width="160" :height="42" img />
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</base-header>
|
|
46
|
+
</template>
|
|
47
|
+
<script>
|
|
48
|
+
import SkeletonAnimate from './SkeletonAnimate.vue';
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
data(){
|
|
52
|
+
return{
|
|
53
|
+
default: '',
|
|
54
|
+
activeUserId: null
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
components: {
|
|
58
|
+
SkeletonAnimate
|
|
59
|
+
},
|
|
60
|
+
props:{
|
|
61
|
+
hasHeaderData: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: false
|
|
64
|
+
},
|
|
65
|
+
userAvatarQuantity: {
|
|
66
|
+
type: Number,
|
|
67
|
+
default: 0
|
|
68
|
+
},
|
|
69
|
+
buttonsQuantity: {
|
|
70
|
+
type: Number,
|
|
71
|
+
default: 0
|
|
72
|
+
},
|
|
73
|
+
hasFooterData: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false
|
|
76
|
+
},
|
|
77
|
+
footerActionQuantity: {
|
|
78
|
+
type: Number,
|
|
79
|
+
default: 0
|
|
80
|
+
},
|
|
81
|
+
footerTabsQuantity: {
|
|
82
|
+
type: Number,
|
|
83
|
+
default: 0
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
<style lang="scss">
|
|
90
|
+
|
|
91
|
+
.app-header {
|
|
92
|
+
width: 100%;
|
|
93
|
+
padding: 40px 0;
|
|
94
|
+
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.header__container {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.images__container {
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: flex-start;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
.header__content {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
flex-direction: row;
|
|
112
|
+
padding: 10px 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.images {
|
|
117
|
+
margin-left: 10px;
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
user-select: none;
|
|
121
|
+
.user__avatar {
|
|
122
|
+
border: 2px solid #fff;
|
|
123
|
+
display: inline-block;
|
|
124
|
+
&:not(:first-child) {
|
|
125
|
+
margin-left: -10px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
</style>
|