@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,96 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="skeleton skeleton--animate"
|
|
4
|
-
:class="[
|
|
5
|
-
{ 'rounded': rounded },
|
|
6
|
-
{ 'img': img }
|
|
7
|
-
]"
|
|
8
|
-
:style="`--skeleton-w: ${width}px; --skeleton-h: ${height}px;`"
|
|
9
|
-
></div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
name: 'skeleton-animate',
|
|
15
|
-
props: {
|
|
16
|
-
width: {
|
|
17
|
-
type: Number,
|
|
18
|
-
default: 200
|
|
19
|
-
},
|
|
20
|
-
height: {
|
|
21
|
-
type: Number,
|
|
22
|
-
default: 15
|
|
23
|
-
},
|
|
24
|
-
rounded: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
},
|
|
28
|
-
img: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: false
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style lang="scss" scoped>
|
|
37
|
-
|
|
38
|
-
0% {
|
|
39
|
-
background-position: -468px 0;
|
|
40
|
-
}
|
|
41
|
-
100% {
|
|
42
|
-
background-position: 468px 0;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
from {
|
|
48
|
-
background-position: top left;
|
|
49
|
-
}
|
|
50
|
-
to {
|
|
51
|
-
background-position: top right;
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="skeleton skeleton--animate"
|
|
4
|
+
:class="[
|
|
5
|
+
{ 'rounded': rounded },
|
|
6
|
+
{ 'img': img }
|
|
7
|
+
]"
|
|
8
|
+
:style="`--skeleton-w: ${width}px; --skeleton-h: ${height}px;`"
|
|
9
|
+
></div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
name: 'skeleton-animate',
|
|
15
|
+
props: {
|
|
16
|
+
width: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 200
|
|
19
|
+
},
|
|
20
|
+
height: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 15
|
|
23
|
+
},
|
|
24
|
+
rounded: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
28
|
+
img: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: false
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style lang="scss" scoped>
|
|
37
|
+
@keyframes placeholderSkeleton {
|
|
38
|
+
0% {
|
|
39
|
+
background-position: -468px 0;
|
|
40
|
+
}
|
|
41
|
+
100% {
|
|
42
|
+
background-position: 468px 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes skeletonAnimate {
|
|
47
|
+
from {
|
|
48
|
+
background-position: top left;
|
|
49
|
+
}
|
|
50
|
+
to {
|
|
51
|
+
background-position: top right;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@-webkit-keyframes placeholderSkeleton {
|
|
56
|
+
0% {
|
|
57
|
+
background-position: -468px 0;
|
|
58
|
+
}
|
|
59
|
+
100% {
|
|
60
|
+
background-position: 468px 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@-webkit-keyframes skeletonAnimate {
|
|
65
|
+
from {
|
|
66
|
+
background-position: top left;
|
|
67
|
+
}
|
|
68
|
+
to {
|
|
69
|
+
background-position: top right;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.skeleton {
|
|
74
|
+
width: var(--skeleton-w);
|
|
75
|
+
height: var(--skeleton-h);
|
|
76
|
+
border-radius: 2px;
|
|
77
|
+
&.rounded {
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
}
|
|
80
|
+
&.img {
|
|
81
|
+
border-radius: 1000px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
$skeletonBaseColor: #e0e3e6;
|
|
86
|
+
$skeletonBaseLineColor: #edeef1;
|
|
87
|
+
|
|
88
|
+
.skeleton--animate {
|
|
89
|
+
-webkit-animation-duration: 1s;
|
|
90
|
+
-webkit-animation-fill-mode: forwards;
|
|
91
|
+
-webkit-animation-iteration-count: infinite;
|
|
92
|
+
-webkit-animation-name: placeholderSkeleton;
|
|
93
|
+
-webkit-animation-timing-function: linear;
|
|
94
|
+
|
|
95
|
+
animation-duration: 1s;
|
|
96
|
+
animation-fill-mode: forwards;
|
|
97
|
+
animation-iteration-count: infinite;
|
|
98
|
+
animation-name: placeholderSkeleton;
|
|
99
|
+
animation-timing-function: linear;
|
|
100
|
+
|
|
101
|
+
background: $skeletonBaseColor;
|
|
102
|
+
background-image: -webkit-gradient(
|
|
103
|
+
linear,
|
|
104
|
+
left center,
|
|
105
|
+
right center,
|
|
106
|
+
from($skeletonBaseColor),
|
|
107
|
+
color-stop(0.2, $skeletonBaseLineColor),
|
|
108
|
+
color-stop(0.4, $skeletonBaseColor),
|
|
109
|
+
to($skeletonBaseColor)
|
|
110
|
+
);
|
|
111
|
+
background-image: -webkit-linear-gradient(
|
|
112
|
+
left,
|
|
113
|
+
$skeletonBaseColor 0%,
|
|
114
|
+
$skeletonBaseLineColor 20%,
|
|
115
|
+
$skeletonBaseColor 40%,
|
|
116
|
+
$skeletonBaseColor 100%
|
|
117
|
+
);
|
|
118
|
+
background-repeat: no-repeat;
|
|
119
|
+
background-size: 800px 104px;
|
|
120
|
+
}
|
|
121
|
+
</style>
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<li class="custom__tab tab tab-primary" :class="active && 'tab--active'"
|
|
3
|
-
@click="$emit('tab-click')">
|
|
4
|
-
<span class="tab__title" :class="tabTitleClass">{{title}}</span>
|
|
5
|
-
<span v-if="icon > 0" class="tab__icon" :class="tabIconClass">{{icon}}</span>
|
|
6
|
-
</li>
|
|
7
|
-
</template>
|
|
8
|
-
<script>
|
|
9
|
-
export default {
|
|
10
|
-
name: 'teste-tab',
|
|
11
|
-
props: {
|
|
12
|
-
title: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: 'Testes',
|
|
15
|
-
description: 'Title for tab',
|
|
16
|
-
},
|
|
17
|
-
icon: {
|
|
18
|
-
type: Number,
|
|
19
|
-
default: 0,
|
|
20
|
-
description: 'Number for tab icon',
|
|
21
|
-
},
|
|
22
|
-
active: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false,
|
|
25
|
-
description: 'Define if tab is active',
|
|
26
|
-
},
|
|
27
|
-
tabIconClass: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: '',
|
|
30
|
-
description: 'Define css class for tab\'s icon',
|
|
31
|
-
},
|
|
32
|
-
tabTitleClass: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: '',
|
|
35
|
-
description: 'Define css class for tab\'s title',
|
|
36
|
-
},
|
|
37
|
-
link: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: '/',
|
|
40
|
-
description: 'Define nuxt-link link',
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
redirect(link){
|
|
45
|
-
this.$router.push(link);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
</script>
|
|
50
|
-
<style lang="scss" scoped>
|
|
51
|
-
@import "@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss";
|
|
52
|
-
|
|
53
|
-
.custom__tab {
|
|
54
|
-
&.tab {
|
|
55
|
-
position: relative;
|
|
56
|
-
padding: .75rem 2rem;
|
|
57
|
-
margin: 0 1rem;
|
|
58
|
-
|
|
59
|
-
&:hover {
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
.tab__title, .tab__icon {
|
|
62
|
-
color: $primary;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&__title {
|
|
67
|
-
color: #3C4858;
|
|
68
|
-
font-weight: 600;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__icon {
|
|
72
|
-
color: #ffffff;
|
|
73
|
-
border-radius: 50% !important;
|
|
74
|
-
background-color: #3C4858;;
|
|
75
|
-
padding: 0 .4rem;
|
|
76
|
-
font-weight: bold;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@media screen and (min-width: 992px){
|
|
80
|
-
&.tab{
|
|
81
|
-
padding: .75 2rem;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&.tab--active {
|
|
86
|
-
.tab__title {
|
|
87
|
-
color:$primary;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.tab__icon {
|
|
91
|
-
background-color: $primary;
|
|
92
|
-
color: #FFF
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.tab--active::after {
|
|
97
|
-
content:'';
|
|
98
|
-
position:absolute;
|
|
99
|
-
bottom:0;
|
|
100
|
-
left:0;
|
|
101
|
-
right:0;
|
|
102
|
-
background: $primary;
|
|
103
|
-
height: 5px;
|
|
104
|
-
border-radius:5px 5px 0px 0px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<li class="custom__tab tab tab-primary" :class="active && 'tab--active'"
|
|
3
|
+
@click="$emit('tab-click')">
|
|
4
|
+
<span class="tab__title" :class="tabTitleClass">{{title}}</span>
|
|
5
|
+
<span v-if="icon > 0" class="tab__icon" :class="tabIconClass">{{icon}}</span>
|
|
6
|
+
</li>
|
|
7
|
+
</template>
|
|
8
|
+
<script>
|
|
9
|
+
export default {
|
|
10
|
+
name: 'teste-tab',
|
|
11
|
+
props: {
|
|
12
|
+
title: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: 'Testes',
|
|
15
|
+
description: 'Title for tab',
|
|
16
|
+
},
|
|
17
|
+
icon: {
|
|
18
|
+
type: Number,
|
|
19
|
+
default: 0,
|
|
20
|
+
description: 'Number for tab icon',
|
|
21
|
+
},
|
|
22
|
+
active: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false,
|
|
25
|
+
description: 'Define if tab is active',
|
|
26
|
+
},
|
|
27
|
+
tabIconClass: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: '',
|
|
30
|
+
description: 'Define css class for tab\'s icon',
|
|
31
|
+
},
|
|
32
|
+
tabTitleClass: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: '',
|
|
35
|
+
description: 'Define css class for tab\'s title',
|
|
36
|
+
},
|
|
37
|
+
link: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: '/',
|
|
40
|
+
description: 'Define nuxt-link link',
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
redirect(link){
|
|
45
|
+
this.$router.push(link);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
</script>
|
|
50
|
+
<style lang="scss" scoped>
|
|
51
|
+
@import "@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss";
|
|
52
|
+
|
|
53
|
+
.custom__tab {
|
|
54
|
+
&.tab {
|
|
55
|
+
position: relative;
|
|
56
|
+
padding: .75rem 2rem;
|
|
57
|
+
margin: 0 1rem;
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
.tab__title, .tab__icon {
|
|
62
|
+
color: $primary;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__title {
|
|
67
|
+
color: #3C4858;
|
|
68
|
+
font-weight: 600;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__icon {
|
|
72
|
+
color: #ffffff;
|
|
73
|
+
border-radius: 50% !important;
|
|
74
|
+
background-color: #3C4858;;
|
|
75
|
+
padding: 0 .4rem;
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media screen and (min-width: 992px){
|
|
80
|
+
&.tab{
|
|
81
|
+
padding: .75 2rem;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.tab--active {
|
|
86
|
+
.tab__title {
|
|
87
|
+
color:$primary;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.tab__icon {
|
|
91
|
+
background-color: $primary;
|
|
92
|
+
color: #FFF
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.tab--active::after {
|
|
97
|
+
content:'';
|
|
98
|
+
position:absolute;
|
|
99
|
+
bottom:0;
|
|
100
|
+
left:0;
|
|
101
|
+
right:0;
|
|
102
|
+
background: $primary;
|
|
103
|
+
height: 5px;
|
|
104
|
+
border-radius:5px 5px 0px 0px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</style>
|