@burh/nuxt-core 1.1.20 → 1.1.21
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/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +624 -624
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +14 -16
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +1333 -1333
- package/components/burh-ds/Filters/BaseFilterContainer.vue +138 -138
- package/package.json +1 -1
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="base__filter">
|
|
3
|
-
<div class="base__filter__content">
|
|
4
|
-
<slot />
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div v-if="showFooter" class="base__filter__footer">
|
|
8
|
-
<div>
|
|
9
|
-
<button
|
|
10
|
-
@click="$emit('filter-clear')"
|
|
11
|
-
class="base__filter__button clear"
|
|
12
|
-
>
|
|
13
|
-
<span>{{ $t('base_filter_container.clear_button') }}</span>
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
<div>
|
|
17
|
-
<button
|
|
18
|
-
@click="!isLocked ? handleFilterApply() : handleOpenPlanModal()"
|
|
19
|
-
class="base__filter__button apply"
|
|
20
|
-
:class="{ 'disabled': isLocked }"
|
|
21
|
-
>
|
|
22
|
-
<template v-if="isLocked">
|
|
23
|
-
<span class="mr-1 custom__icon">
|
|
24
|
-
<diamond class="lock" />
|
|
25
|
-
</span>
|
|
26
|
-
</template>
|
|
27
|
-
<span>{{ $t('base_filter_container.filter_button') }}</span>
|
|
28
|
-
</button>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script>
|
|
35
|
-
export default {
|
|
36
|
-
name: 'base-filter-container',
|
|
37
|
-
props: {
|
|
38
|
-
showFooter: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
default: true
|
|
41
|
-
},
|
|
42
|
-
isLocked: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: false
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
methods: {
|
|
48
|
-
handleFilterApply() {
|
|
49
|
-
this.$bus.$emit('close-dropdown');
|
|
50
|
-
this.$emit('filter-apply');
|
|
51
|
-
},
|
|
52
|
-
handleOpenPlanModal() {
|
|
53
|
-
this.$bus.$emit('close-dropdown');
|
|
54
|
-
this.$emit('open-plan-modal');
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
</script>
|
|
59
|
-
|
|
60
|
-
<style lang="scss" scoped>
|
|
61
|
-
@keyframes fadeInDown {
|
|
62
|
-
from {
|
|
63
|
-
opacity: 0;
|
|
64
|
-
transform: translateY(-20px);
|
|
65
|
-
}
|
|
66
|
-
to {
|
|
67
|
-
opacity: 1;
|
|
68
|
-
transform: translateY(0);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.base__filter {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
justify-content: space-between;
|
|
76
|
-
max-height: 350px;
|
|
77
|
-
&__content {
|
|
78
|
-
max-height: calc(350px - 44px);
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
overflow-y: auto;
|
|
81
|
-
&::-webkit-scrollbar-track {
|
|
82
|
-
border-radius: 10px;
|
|
83
|
-
background-color: #f5f5f5;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&::-webkit-scrollbar {
|
|
87
|
-
width: 4px;
|
|
88
|
-
background-color: #f5f5f5;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&::-webkit-scrollbar-thumb {
|
|
92
|
-
border-radius: 10px;
|
|
93
|
-
background-color: #e9e8e8;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
&__footer {
|
|
97
|
-
display: flex;
|
|
98
|
-
align-items: center;
|
|
99
|
-
justify-content: space-between;
|
|
100
|
-
margin-top: 20px;
|
|
101
|
-
.base__filter__button {
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
background: transparent;
|
|
104
|
-
border: none;
|
|
105
|
-
color: #32325d;
|
|
106
|
-
padding: 10px 20px;
|
|
107
|
-
border-radius: 4px;
|
|
108
|
-
transition: background 0.5s, color 0.5s;
|
|
109
|
-
&:focus {
|
|
110
|
-
outline: none;
|
|
111
|
-
}
|
|
112
|
-
&.clear:hover {
|
|
113
|
-
background: rgba(222, 33, 75, 0.1);
|
|
114
|
-
color: #de214b;
|
|
115
|
-
}
|
|
116
|
-
&.apply:hover {
|
|
117
|
-
background: rgba(88, 101, 242, 0.1);
|
|
118
|
-
color: #5865F2;
|
|
119
|
-
}
|
|
120
|
-
&.disabled {
|
|
121
|
-
background: #e9e9e9;
|
|
122
|
-
display: flex;
|
|
123
|
-
.custom__icon {
|
|
124
|
-
width: 24px;
|
|
125
|
-
height: 24px;
|
|
126
|
-
overflow: hidden;
|
|
127
|
-
i {
|
|
128
|
-
padding: 5px;
|
|
129
|
-
}
|
|
130
|
-
.lock {
|
|
131
|
-
animation: fadeInDown 0.5s;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="base__filter">
|
|
3
|
+
<div class="base__filter__content">
|
|
4
|
+
<slot />
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div v-if="showFooter" class="base__filter__footer">
|
|
8
|
+
<div>
|
|
9
|
+
<button
|
|
10
|
+
@click="$emit('filter-clear')"
|
|
11
|
+
class="base__filter__button clear"
|
|
12
|
+
>
|
|
13
|
+
<span>{{ $t('base_filter_container.clear_button') }}</span>
|
|
14
|
+
</button>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<button
|
|
18
|
+
@click="!isLocked ? handleFilterApply() : handleOpenPlanModal()"
|
|
19
|
+
class="base__filter__button apply"
|
|
20
|
+
:class="{ 'disabled': isLocked }"
|
|
21
|
+
>
|
|
22
|
+
<template v-if="isLocked">
|
|
23
|
+
<span class="mr-1 custom__icon">
|
|
24
|
+
<diamond class="lock" />
|
|
25
|
+
</span>
|
|
26
|
+
</template>
|
|
27
|
+
<span>{{ $t('base_filter_container.filter_button') }}</span>
|
|
28
|
+
</button>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
export default {
|
|
36
|
+
name: 'base-filter-container',
|
|
37
|
+
props: {
|
|
38
|
+
showFooter: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: true
|
|
41
|
+
},
|
|
42
|
+
isLocked: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
methods: {
|
|
48
|
+
handleFilterApply() {
|
|
49
|
+
this.$bus.$emit('close-dropdown');
|
|
50
|
+
this.$emit('filter-apply');
|
|
51
|
+
},
|
|
52
|
+
handleOpenPlanModal() {
|
|
53
|
+
this.$bus.$emit('close-dropdown');
|
|
54
|
+
this.$emit('open-plan-modal');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
</script>
|
|
59
|
+
|
|
60
|
+
<style lang="scss" scoped>
|
|
61
|
+
@keyframes fadeInDown {
|
|
62
|
+
from {
|
|
63
|
+
opacity: 0;
|
|
64
|
+
transform: translateY(-20px);
|
|
65
|
+
}
|
|
66
|
+
to {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
transform: translateY(0);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.base__filter {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
justify-content: space-between;
|
|
76
|
+
max-height: 350px;
|
|
77
|
+
&__content {
|
|
78
|
+
max-height: calc(350px - 44px);
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
overflow-y: auto;
|
|
81
|
+
&::-webkit-scrollbar-track {
|
|
82
|
+
border-radius: 10px;
|
|
83
|
+
background-color: #f5f5f5;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&::-webkit-scrollbar {
|
|
87
|
+
width: 4px;
|
|
88
|
+
background-color: #f5f5f5;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&::-webkit-scrollbar-thumb {
|
|
92
|
+
border-radius: 10px;
|
|
93
|
+
background-color: #e9e8e8;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
&__footer {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: space-between;
|
|
100
|
+
margin-top: 20px;
|
|
101
|
+
.base__filter__button {
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
background: transparent;
|
|
104
|
+
border: none;
|
|
105
|
+
color: #32325d;
|
|
106
|
+
padding: 10px 20px;
|
|
107
|
+
border-radius: 4px;
|
|
108
|
+
transition: background 0.5s, color 0.5s;
|
|
109
|
+
&:focus {
|
|
110
|
+
outline: none;
|
|
111
|
+
}
|
|
112
|
+
&.clear:hover {
|
|
113
|
+
background: rgba(222, 33, 75, 0.1);
|
|
114
|
+
color: #de214b;
|
|
115
|
+
}
|
|
116
|
+
&.apply:hover {
|
|
117
|
+
background: rgba(88, 101, 242, 0.1);
|
|
118
|
+
color: #5865F2;
|
|
119
|
+
}
|
|
120
|
+
&.disabled {
|
|
121
|
+
background: #e9e9e9;
|
|
122
|
+
display: flex;
|
|
123
|
+
.custom__icon {
|
|
124
|
+
width: 24px;
|
|
125
|
+
height: 24px;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
i {
|
|
128
|
+
padding: 5px;
|
|
129
|
+
}
|
|
130
|
+
.lock {
|
|
131
|
+
animation: fadeInDown 0.5s;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
</style>
|