@burh/nuxt-core 1.0.291 → 1.0.293
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/_buttons.scss +219 -219
- package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
- package/assets/sass/burh-ds/content/_main-content.scss +25 -25
- package/assets/sass/burh-ds/variables/_colors.scss +350 -350
- package/components/argon-core/BaseDropdown.vue +114 -114
- package/components/argon-core/BaseProgress.vue +121 -121
- package/components/argon-core/Modal.vue +184 -184
- package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
- package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
- package/components/burh-ds/Cards/RecruitmentCard.vue +214 -214
- package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +497 -496
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
- package/components/burh-ds/Dropdown/JobStatusDropdown.vue +145 -145
- package/components/burh-ds/Headings/AppHeader.vue +162 -162
- package/components/burh-ds/Inputs/SearchInput.vue +64 -64
- package/components/burh-ds/Lists/VagasSimple.vue +404 -404
- package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
- package/components/burh-ds/Loads/LoadingBar.vue +83 -83
- package/components/burh-ds/Modals/MobileModal.vue +65 -65
- package/components/burh-ds/Modals/NewUserModal.vue +87 -87
- package/components/burh-ds/Modals/SharedModal.vue +270 -270
- package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
- package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
- package/components/burh-ds/Skeleton/Cards.vue +86 -86
- package/components/burh-ds/Skeleton/Home.vue +100 -100
- package/components/burh-ds/Skeleton/RecruitmentCard.vue +169 -169
- package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
- package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
- package/nuxt.config.js +206 -206
- package/package.json +1 -1
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<component
|
|
3
|
-
:is="tag"
|
|
4
|
-
:class="[{ show: isOpen }, `drop${direction}`]"
|
|
5
|
-
@click="toggleDropDown"
|
|
6
|
-
v-click-outside="closeDropDown"
|
|
7
|
-
>
|
|
8
|
-
<slot name="title-container" :is-open="isOpen">
|
|
9
|
-
<component
|
|
10
|
-
:is="titleTag"
|
|
11
|
-
class="btn-rotate"
|
|
12
|
-
:class="[{'dropdown-toggle': hasToggle}, titleClasses]"
|
|
13
|
-
:aria-expanded="isOpen"
|
|
14
|
-
data-toggle="dropdown"
|
|
15
|
-
>
|
|
16
|
-
<slot name="title" :is-open="isOpen">
|
|
17
|
-
<i :class="icon"></i> {{ title }}
|
|
18
|
-
</slot>
|
|
19
|
-
</component>
|
|
20
|
-
</slot>
|
|
21
|
-
<ul
|
|
22
|
-
class="dropdown-menu"
|
|
23
|
-
:class="[
|
|
24
|
-
{ show: isOpen },
|
|
25
|
-
{ 'dropdown-menu-right': menuOnRight },
|
|
26
|
-
menuClasses
|
|
27
|
-
]"
|
|
28
|
-
>
|
|
29
|
-
<slot></slot>
|
|
30
|
-
</ul>
|
|
31
|
-
</component>
|
|
32
|
-
</template>
|
|
33
|
-
<script>
|
|
34
|
-
export default {
|
|
35
|
-
name: 'base-dropdown',
|
|
36
|
-
props: {
|
|
37
|
-
tag: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: 'div',
|
|
40
|
-
description: 'Dropdown html tag (e.g div, ul etc)'
|
|
41
|
-
},
|
|
42
|
-
titleTag: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: 'button',
|
|
45
|
-
description: 'Dropdown title (toggle) html tag'
|
|
46
|
-
},
|
|
47
|
-
title: {
|
|
48
|
-
type: String,
|
|
49
|
-
description: 'Dropdown title'
|
|
50
|
-
},
|
|
51
|
-
direction: {
|
|
52
|
-
type: String,
|
|
53
|
-
default: 'down', // up | down
|
|
54
|
-
description: 'Dropdown menu direction (up|down)'
|
|
55
|
-
},
|
|
56
|
-
icon: {
|
|
57
|
-
type: String,
|
|
58
|
-
description: 'Dropdown icon'
|
|
59
|
-
},
|
|
60
|
-
titleClasses: {
|
|
61
|
-
type: [String, Object, Array],
|
|
62
|
-
description: 'Title css classes'
|
|
63
|
-
},
|
|
64
|
-
menuClasses: {
|
|
65
|
-
type: [String, Object],
|
|
66
|
-
description: 'Menu css classes'
|
|
67
|
-
},
|
|
68
|
-
menuOnRight: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
description: 'Whether menu should appear on the right'
|
|
71
|
-
},
|
|
72
|
-
hasToggle: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
description: 'Whether dropdown has arrow icon shown',
|
|
75
|
-
default: true
|
|
76
|
-
},
|
|
77
|
-
isDropdownOpen: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: false
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
data() {
|
|
83
|
-
return {
|
|
84
|
-
isOpen: false
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
watch: {
|
|
88
|
-
isOpen() {
|
|
89
|
-
if (this.isOpen === false) {
|
|
90
|
-
this.$emit('close');
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
isDropdownOpen() {
|
|
94
|
-
this.isOpen = this.isDropdownOpen;
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
methods: {
|
|
98
|
-
toggleDropDown() {
|
|
99
|
-
this.isOpen = !this.isOpen;
|
|
100
|
-
this.$emit('change', this.isOpen);
|
|
101
|
-
},
|
|
102
|
-
closeDropDown() {
|
|
103
|
-
this.isOpen = false;
|
|
104
|
-
this.$emit('change', false);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
</script>
|
|
109
|
-
<style lang="scss" scoped>
|
|
110
|
-
.dropdown {
|
|
111
|
-
cursor: pointer;
|
|
112
|
-
user-select: none;
|
|
113
|
-
}
|
|
114
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<component
|
|
3
|
+
:is="tag"
|
|
4
|
+
:class="[{ show: isOpen }, `drop${direction}`]"
|
|
5
|
+
@click="toggleDropDown"
|
|
6
|
+
v-click-outside="closeDropDown"
|
|
7
|
+
>
|
|
8
|
+
<slot name="title-container" :is-open="isOpen">
|
|
9
|
+
<component
|
|
10
|
+
:is="titleTag"
|
|
11
|
+
class="btn-rotate"
|
|
12
|
+
:class="[{'dropdown-toggle': hasToggle}, titleClasses]"
|
|
13
|
+
:aria-expanded="isOpen"
|
|
14
|
+
data-toggle="dropdown"
|
|
15
|
+
>
|
|
16
|
+
<slot name="title" :is-open="isOpen">
|
|
17
|
+
<i :class="icon"></i> {{ title }}
|
|
18
|
+
</slot>
|
|
19
|
+
</component>
|
|
20
|
+
</slot>
|
|
21
|
+
<ul
|
|
22
|
+
class="dropdown-menu"
|
|
23
|
+
:class="[
|
|
24
|
+
{ show: isOpen },
|
|
25
|
+
{ 'dropdown-menu-right': menuOnRight },
|
|
26
|
+
menuClasses
|
|
27
|
+
]"
|
|
28
|
+
>
|
|
29
|
+
<slot></slot>
|
|
30
|
+
</ul>
|
|
31
|
+
</component>
|
|
32
|
+
</template>
|
|
33
|
+
<script>
|
|
34
|
+
export default {
|
|
35
|
+
name: 'base-dropdown',
|
|
36
|
+
props: {
|
|
37
|
+
tag: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: 'div',
|
|
40
|
+
description: 'Dropdown html tag (e.g div, ul etc)'
|
|
41
|
+
},
|
|
42
|
+
titleTag: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: 'button',
|
|
45
|
+
description: 'Dropdown title (toggle) html tag'
|
|
46
|
+
},
|
|
47
|
+
title: {
|
|
48
|
+
type: String,
|
|
49
|
+
description: 'Dropdown title'
|
|
50
|
+
},
|
|
51
|
+
direction: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: 'down', // up | down
|
|
54
|
+
description: 'Dropdown menu direction (up|down)'
|
|
55
|
+
},
|
|
56
|
+
icon: {
|
|
57
|
+
type: String,
|
|
58
|
+
description: 'Dropdown icon'
|
|
59
|
+
},
|
|
60
|
+
titleClasses: {
|
|
61
|
+
type: [String, Object, Array],
|
|
62
|
+
description: 'Title css classes'
|
|
63
|
+
},
|
|
64
|
+
menuClasses: {
|
|
65
|
+
type: [String, Object],
|
|
66
|
+
description: 'Menu css classes'
|
|
67
|
+
},
|
|
68
|
+
menuOnRight: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
description: 'Whether menu should appear on the right'
|
|
71
|
+
},
|
|
72
|
+
hasToggle: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
description: 'Whether dropdown has arrow icon shown',
|
|
75
|
+
default: true
|
|
76
|
+
},
|
|
77
|
+
isDropdownOpen: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
data() {
|
|
83
|
+
return {
|
|
84
|
+
isOpen: false
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
watch: {
|
|
88
|
+
isOpen() {
|
|
89
|
+
if (this.isOpen === false) {
|
|
90
|
+
this.$emit('close');
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
isDropdownOpen() {
|
|
94
|
+
this.isOpen = this.isDropdownOpen;
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
methods: {
|
|
98
|
+
toggleDropDown() {
|
|
99
|
+
this.isOpen = !this.isOpen;
|
|
100
|
+
this.$emit('change', this.isOpen);
|
|
101
|
+
},
|
|
102
|
+
closeDropDown() {
|
|
103
|
+
this.isOpen = false;
|
|
104
|
+
this.$emit('change', false);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
</script>
|
|
109
|
+
<style lang="scss" scoped>
|
|
110
|
+
.dropdown {
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
user-select: none;
|
|
113
|
+
}
|
|
114
|
+
</style>
|
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="wrapper">
|
|
3
|
-
<div :class="`progress-${type}`" v-if="showLabel">
|
|
4
|
-
<div class="progress-label">
|
|
5
|
-
<slot name="label">
|
|
6
|
-
<span>{{label}}</span>
|
|
7
|
-
</slot>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="progress-percentage">
|
|
10
|
-
<slot>
|
|
11
|
-
<span>{{value}}%</span>
|
|
12
|
-
</slot>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="progress"
|
|
16
|
-
:class="[{[`progress-${size}`]: size}, progressClasses]"
|
|
17
|
-
:style="`height: ${height}px;`">
|
|
18
|
-
<div class="progress-bar"
|
|
19
|
-
:class="computedClasses"
|
|
20
|
-
role="progressbar"
|
|
21
|
-
:aria-valuenow="value"
|
|
22
|
-
aria-valuemin="0"
|
|
23
|
-
aria-valuemax="100"
|
|
24
|
-
:style="`width: ${value}%;`">
|
|
25
|
-
</div>
|
|
26
|
-
<!-- <span v-if="star" :style="`left:${star}%;`" class="star-progress bg-secondary"><font-awesome-icon :icon="['fas', 'star']"/></span> -->
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</template>
|
|
30
|
-
<script>
|
|
31
|
-
export default {
|
|
32
|
-
name: "base-progress",
|
|
33
|
-
props: {
|
|
34
|
-
star: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: false
|
|
37
|
-
},
|
|
38
|
-
striped: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
description: "Whether progress is striped"
|
|
41
|
-
},
|
|
42
|
-
animated: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
description:
|
|
45
|
-
"Whether progress is animated (works only with `striped` prop together)"
|
|
46
|
-
},
|
|
47
|
-
label: {
|
|
48
|
-
type: String,
|
|
49
|
-
description: "Progress label (shown on the left above progress)"
|
|
50
|
-
},
|
|
51
|
-
height: {
|
|
52
|
-
type: Number,
|
|
53
|
-
default: 3,
|
|
54
|
-
description: "Progress line height"
|
|
55
|
-
},
|
|
56
|
-
type: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: "default",
|
|
59
|
-
description: "Progress type (e.g danger, primary etc)"
|
|
60
|
-
},
|
|
61
|
-
showLabel: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: false
|
|
64
|
-
},
|
|
65
|
-
progressClasses: {
|
|
66
|
-
type: [Array, String],
|
|
67
|
-
default: '',
|
|
68
|
-
description: 'Progress css classes'
|
|
69
|
-
},
|
|
70
|
-
size: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: ''
|
|
73
|
-
},
|
|
74
|
-
value: {
|
|
75
|
-
type: Number,
|
|
76
|
-
default: 0,
|
|
77
|
-
validator: value => {
|
|
78
|
-
return value >= 0 && value <= 100;
|
|
79
|
-
},
|
|
80
|
-
description: "Progress value"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
computed: {
|
|
84
|
-
computedClasses() {
|
|
85
|
-
return [
|
|
86
|
-
{ "progress-bar-striped": this.striped },
|
|
87
|
-
{ "progress-bar-animated": this.animated },
|
|
88
|
-
{ [`bg-${this.type}`]: this.type }
|
|
89
|
-
];
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
</script>
|
|
94
|
-
<style>
|
|
95
|
-
.progress-bar::after {
|
|
96
|
-
font-family: "Font Awesome 5 Free";
|
|
97
|
-
font-weight: 900;
|
|
98
|
-
line-height: 29px;
|
|
99
|
-
content:'\f005';
|
|
100
|
-
width:30px;
|
|
101
|
-
height:30px;
|
|
102
|
-
border-radius: 100%;
|
|
103
|
-
background: #FDDF00 !important;
|
|
104
|
-
color: #fff;
|
|
105
|
-
align-self: flex-end;
|
|
106
|
-
position: absolute;
|
|
107
|
-
margin-left: 10px;
|
|
108
|
-
}
|
|
109
|
-
.progress-bar {
|
|
110
|
-
background: linear-gradient(to left, #8965e0, #4460F4);
|
|
111
|
-
}
|
|
112
|
-
.star-progress {
|
|
113
|
-
height: 25px;
|
|
114
|
-
width: 25px;
|
|
115
|
-
border-radius: 1000px;
|
|
116
|
-
text-align: center;
|
|
117
|
-
color: #fff;
|
|
118
|
-
line-height: 24px;
|
|
119
|
-
position: absolute;
|
|
120
|
-
}
|
|
121
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="wrapper">
|
|
3
|
+
<div :class="`progress-${type}`" v-if="showLabel">
|
|
4
|
+
<div class="progress-label">
|
|
5
|
+
<slot name="label">
|
|
6
|
+
<span>{{label}}</span>
|
|
7
|
+
</slot>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="progress-percentage">
|
|
10
|
+
<slot>
|
|
11
|
+
<span>{{value}}%</span>
|
|
12
|
+
</slot>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="progress"
|
|
16
|
+
:class="[{[`progress-${size}`]: size}, progressClasses]"
|
|
17
|
+
:style="`height: ${height}px;`">
|
|
18
|
+
<div class="progress-bar"
|
|
19
|
+
:class="computedClasses"
|
|
20
|
+
role="progressbar"
|
|
21
|
+
:aria-valuenow="value"
|
|
22
|
+
aria-valuemin="0"
|
|
23
|
+
aria-valuemax="100"
|
|
24
|
+
:style="`width: ${value}%;`">
|
|
25
|
+
</div>
|
|
26
|
+
<!-- <span v-if="star" :style="`left:${star}%;`" class="star-progress bg-secondary"><font-awesome-icon :icon="['fas', 'star']"/></span> -->
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<script>
|
|
31
|
+
export default {
|
|
32
|
+
name: "base-progress",
|
|
33
|
+
props: {
|
|
34
|
+
star: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
},
|
|
38
|
+
striped: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
description: "Whether progress is striped"
|
|
41
|
+
},
|
|
42
|
+
animated: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
description:
|
|
45
|
+
"Whether progress is animated (works only with `striped` prop together)"
|
|
46
|
+
},
|
|
47
|
+
label: {
|
|
48
|
+
type: String,
|
|
49
|
+
description: "Progress label (shown on the left above progress)"
|
|
50
|
+
},
|
|
51
|
+
height: {
|
|
52
|
+
type: Number,
|
|
53
|
+
default: 3,
|
|
54
|
+
description: "Progress line height"
|
|
55
|
+
},
|
|
56
|
+
type: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: "default",
|
|
59
|
+
description: "Progress type (e.g danger, primary etc)"
|
|
60
|
+
},
|
|
61
|
+
showLabel: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: false
|
|
64
|
+
},
|
|
65
|
+
progressClasses: {
|
|
66
|
+
type: [Array, String],
|
|
67
|
+
default: '',
|
|
68
|
+
description: 'Progress css classes'
|
|
69
|
+
},
|
|
70
|
+
size: {
|
|
71
|
+
type: String,
|
|
72
|
+
default: ''
|
|
73
|
+
},
|
|
74
|
+
value: {
|
|
75
|
+
type: Number,
|
|
76
|
+
default: 0,
|
|
77
|
+
validator: value => {
|
|
78
|
+
return value >= 0 && value <= 100;
|
|
79
|
+
},
|
|
80
|
+
description: "Progress value"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
computed: {
|
|
84
|
+
computedClasses() {
|
|
85
|
+
return [
|
|
86
|
+
{ "progress-bar-striped": this.striped },
|
|
87
|
+
{ "progress-bar-animated": this.animated },
|
|
88
|
+
{ [`bg-${this.type}`]: this.type }
|
|
89
|
+
];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
</script>
|
|
94
|
+
<style>
|
|
95
|
+
.progress-bar::after {
|
|
96
|
+
font-family: "Font Awesome 5 Free";
|
|
97
|
+
font-weight: 900;
|
|
98
|
+
line-height: 29px;
|
|
99
|
+
content:'\f005';
|
|
100
|
+
width:30px;
|
|
101
|
+
height:30px;
|
|
102
|
+
border-radius: 100%;
|
|
103
|
+
background: #FDDF00 !important;
|
|
104
|
+
color: #fff;
|
|
105
|
+
align-self: flex-end;
|
|
106
|
+
position: absolute;
|
|
107
|
+
margin-left: 10px;
|
|
108
|
+
}
|
|
109
|
+
.progress-bar {
|
|
110
|
+
background: linear-gradient(to left, #8965e0, #4460F4);
|
|
111
|
+
}
|
|
112
|
+
.star-progress {
|
|
113
|
+
height: 25px;
|
|
114
|
+
width: 25px;
|
|
115
|
+
border-radius: 1000px;
|
|
116
|
+
text-align: center;
|
|
117
|
+
color: #fff;
|
|
118
|
+
line-height: 24px;
|
|
119
|
+
position: absolute;
|
|
120
|
+
}
|
|
121
|
+
</style>
|