@burh/nuxt-core 1.0.340 → 1.0.342

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.
Files changed (29) hide show
  1. package/assets/sass/burh-ds/_global.scss +323 -323
  2. package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
  3. package/assets/sass/burh-ds/content/_main-content.scss +25 -25
  4. package/components/argon-core/BaseDropdown.vue +114 -114
  5. package/components/argon-core/LoadingPanel.vue +26 -26
  6. package/components/argon-core/Modal.vue +183 -183
  7. package/components/burh-ds/Cards/BaseCard.vue +190 -188
  8. package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
  9. package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
  10. package/components/burh-ds/Cards/RecruitmentCard.vue +229 -229
  11. package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
  12. package/components/burh-ds/Dropdown/JobStatusDropdown.vue +153 -146
  13. package/components/burh-ds/Filters/BaseFilterContainer.vue +91 -71
  14. package/components/burh-ds/Filters/FilterWithDropdown.vue +228 -169
  15. package/components/burh-ds/Inputs/SearchInput.vue +64 -64
  16. package/components/burh-ds/Modals/NewUserModal.vue +87 -87
  17. package/components/burh-ds/Modals/SharedModal.vue +270 -270
  18. package/components/burh-ds/Modals/UniversityAccessModal.vue +134 -134
  19. package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
  20. package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
  21. package/components/burh-ds/Skeleton/BaseCourseInfo.vue +71 -71
  22. package/components/burh-ds/Skeleton/Cards.vue +86 -86
  23. package/components/burh-ds/Skeleton/Home.vue +100 -100
  24. package/components/burh-ds/Skeleton/RecruitmentCard.vue +169 -169
  25. package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
  26. package/environment.js +221 -221
  27. package/nuxt.config.js +207 -207
  28. package/package.json +1 -1
  29. package/plugins/vClickOutside.js +4 -4
@@ -1,245 +1,245 @@
1
- <template>
2
- <el-dialog
3
- :visible.sync="isActive"
4
- width="80%"
5
- :custom-class="`position-relative user__preview__container ${isLoading ? 'loading' : ''}`"
6
- @close="$emit('close')"
7
- class="test-radius"
8
- >
9
- <template>
10
- <div class="row d-flex justify-content-between mx-0 user-pdf">
11
- <img v-if="!isLoading" v-show="coverPhoto" :src="coverPhoto" alt="" />
12
- <div v-show="!coverPhoto" class="no-cover-photo"></div>
13
- <slot name="content"></slot>
14
- </div>
15
- <slot></slot>
16
- <!-- <el-tooltip placement="top" :content="!showTools ? 'Exibir Ferramentas' : 'Esconder Ferramentas'">
17
- <span class="tool tool-show--tools">
18
- <font-awesome-icon :icon="['fas', !showTools ? 'expand-alt' : 'compress-alt']" class="h3 text-primary"
19
- @click="showTools = !showTools"/>
20
- </span>
21
- </el-tooltip> -->
22
- <span class="tool tool-close" @click="$emit('close')">
23
- Fechar
24
- <font-awesome-icon
25
- :icon="['fas', 'times']"
26
- class="text-white ml-1"
27
- />
28
- </span>
29
-
30
- <div class="user__cv__arrows">
31
- <button v-if="hasPrevUser" @click="preUser()">
32
- <i class="fas fa-chevron-left"></i>
33
- </button>
34
- <span v-else></span>
35
-
36
- <button v-if="hasNextUser" @click="nextUser()">
37
- <i class="fas fa-chevron-right"></i>
38
- </button>
39
- <span v-else></span>
40
- </div>
41
- </template>
42
- </el-dialog>
43
- </template>
44
-
45
- <script>
46
- import { Dialog } from 'element-ui';
47
-
48
- export default {
49
- name: 'user-curriculum',
50
- components: {
51
- [Dialog.name]: Dialog
52
- },
53
- props: {
54
- show: {
55
- type: Boolean,
56
- default: false
57
- },
58
- tools: {
59
- type: Array,
60
- default: () => []
61
- },
62
- maxUsers: {
63
- type: Number,
64
- default: 16
65
- },
66
- currentUserIndex: Number,
67
- cover: String,
68
- },
69
- data() {
70
- return {
71
- isActive: this.show,
72
- showTools: false,
73
- coverPhoto: this.cover,
74
- hasPrevUser: false,
75
- hasNextUser: false,
76
- isLoading: false,
77
- };
78
- },
79
- watch: {
80
- currentUserIndex() {
81
- this.handleArrowsActive();
82
- },
83
- show(value) {
84
- this.isActive = value;
85
- },
86
- cover(value) {
87
- this.coverPhoto = value;
88
- }
89
- },
90
- mounted() {
91
- this.handleArrowsActive();
92
- },
93
- methods: {
94
- preUser() {
95
- if (this.currentUserIndex <= 0 || this.isLoading) return;
96
-
97
- this.$emit('prev-user');
98
- },
99
- nextUser() {
100
- if (this.currentUserIndex >= (this.maxUsers - 1) || this.isLoading) return;
101
-
102
- this.$emit('next-user');
103
- },
104
- handleKeyPress({ keyCode }) {
105
- switch (keyCode) {
106
- case 37:
107
- this.preUser();
108
- break;
109
-
110
- case 39:
111
- this.nextUser();
112
- break;
113
- }
114
- },
115
- handleArrowsActive() {
116
- this.isLoading = true;
117
-
118
- if (this.currentUserIndex <= 0) {
119
- this.hasPrevUser = false;
120
- this.hasNextUser = true;
121
- } else {
122
- this.hasPrevUser = true;
123
- }
124
-
125
- if (this.currentUserIndex <= (this.maxUsers - 2)) {
126
- this.hasNextUser = true;
127
- }
128
- if (this.currentUserIndex === (this.maxUsers - 1)) {
129
- this.hasNextUser = false;
130
- }
131
-
132
- setTimeout(() => this.isLoading = false, 1000);
133
- }
134
- },
135
- beforeMount() {
136
- if (process.client) {
137
- window.addEventListener('keydown', this.handleKeyPress);
138
- }
139
- },
140
- beforeDestroy() {
141
- if (process.client) {
142
- window.removeEventListener('keydown', this.handleKeyPress);
143
- }
144
- }
145
- };
146
- </script>
147
-
148
- <style lang="scss" scoped>
149
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
150
-
151
- /deep/ .el-dialog__body {
152
- padding: 0;
153
- }
154
-
155
- /deep/ .el-dialog__header {
156
- display: none;
157
- }
158
-
159
- /deep/ .el-dialog {
160
- overflow: hidden;
161
- border-radius: 10px;
162
- padding-bottom: 50px;
163
- max-width: 1360px;
164
- margin-top: 5vh!important;
165
- }
166
-
167
- .user__cv__arrows {
168
- position: fixed;
169
- display: flex;
170
- align-items: center;
171
- justify-content: space-between;
172
- padding: 0 40px;
173
- top: 0;
174
- left: 0;
175
- width: 100%;
176
- height: 100vh;
177
- z-index: -1;
178
- pointer-events: none;
179
- > button {
180
- width: 42px;
181
- height: 42px;
182
- display: flex;
183
- align-items: center;
184
- justify-content: center;
185
- border: none;
186
- background: transparent;
187
- font-size: 2rem;
188
- color: $primary;
189
- pointer-events: all;
190
- }
191
- }
192
-
193
- .test-radius {
194
- border-radius: 10px;
195
- }
196
-
197
- .tool {
198
- position: absolute;
199
- top: 1rem;
200
- z-index: 10;
201
- color: $primary;
202
- cursor: pointer;
203
-
204
- &-show--tools {
205
- right: 1.5rem;
206
- }
207
-
208
- &-close {
209
- position: absolute;
210
- width: 104.93px;
211
- height: 28px;
212
- right: 1.5rem;
213
- display: flex;
214
- justify-content: center;
215
- align-items: center;
216
-
217
- font-weight: 600;
218
- background: rgba(0, 0, 0, 0.2);
219
- border-radius: 17.5px;
220
- color: #fff;
221
- }
222
- }
223
-
224
- .user-pdf {
225
- background-color: #fff;
226
- img {
227
- width: 100%;
228
- height: 150px;
229
- object-fit: cover;
230
- }
231
-
232
- .no-cover-photo {
233
- background: $primary;
234
- width: 100%;
235
- height: 150px;
236
- }
237
- }
238
-
239
- /deep/ .user__preview__container {
240
- transition: opacity 0.2s;
241
- &.loading {
242
- opacity: 0;
243
- }
244
- }
245
- </style>
1
+ <template>
2
+ <el-dialog
3
+ :visible.sync="isActive"
4
+ width="80%"
5
+ :custom-class="`position-relative user__preview__container ${isLoading ? 'loading' : ''}`"
6
+ @close="$emit('close')"
7
+ class="test-radius"
8
+ >
9
+ <template>
10
+ <div class="row d-flex justify-content-between mx-0 user-pdf">
11
+ <img v-if="!isLoading" v-show="coverPhoto" :src="coverPhoto" alt="" />
12
+ <div v-show="!coverPhoto" class="no-cover-photo"></div>
13
+ <slot name="content"></slot>
14
+ </div>
15
+ <slot></slot>
16
+ <!-- <el-tooltip placement="top" :content="!showTools ? 'Exibir Ferramentas' : 'Esconder Ferramentas'">
17
+ <span class="tool tool-show--tools">
18
+ <font-awesome-icon :icon="['fas', !showTools ? 'expand-alt' : 'compress-alt']" class="h3 text-primary"
19
+ @click="showTools = !showTools"/>
20
+ </span>
21
+ </el-tooltip> -->
22
+ <span class="tool tool-close" @click="$emit('close')">
23
+ Fechar
24
+ <font-awesome-icon
25
+ :icon="['fas', 'times']"
26
+ class="text-white ml-1"
27
+ />
28
+ </span>
29
+
30
+ <div class="user__cv__arrows">
31
+ <button v-if="hasPrevUser" @click="preUser()">
32
+ <i class="fas fa-chevron-left"></i>
33
+ </button>
34
+ <span v-else></span>
35
+
36
+ <button v-if="hasNextUser" @click="nextUser()">
37
+ <i class="fas fa-chevron-right"></i>
38
+ </button>
39
+ <span v-else></span>
40
+ </div>
41
+ </template>
42
+ </el-dialog>
43
+ </template>
44
+
45
+ <script>
46
+ import { Dialog } from 'element-ui';
47
+
48
+ export default {
49
+ name: 'user-curriculum',
50
+ components: {
51
+ [Dialog.name]: Dialog
52
+ },
53
+ props: {
54
+ show: {
55
+ type: Boolean,
56
+ default: false
57
+ },
58
+ tools: {
59
+ type: Array,
60
+ default: () => []
61
+ },
62
+ maxUsers: {
63
+ type: Number,
64
+ default: 16
65
+ },
66
+ currentUserIndex: Number,
67
+ cover: String,
68
+ },
69
+ data() {
70
+ return {
71
+ isActive: this.show,
72
+ showTools: false,
73
+ coverPhoto: this.cover,
74
+ hasPrevUser: false,
75
+ hasNextUser: false,
76
+ isLoading: false,
77
+ };
78
+ },
79
+ watch: {
80
+ currentUserIndex() {
81
+ this.handleArrowsActive();
82
+ },
83
+ show(value) {
84
+ this.isActive = value;
85
+ },
86
+ cover(value) {
87
+ this.coverPhoto = value;
88
+ }
89
+ },
90
+ mounted() {
91
+ this.handleArrowsActive();
92
+ },
93
+ methods: {
94
+ preUser() {
95
+ if (this.currentUserIndex <= 0 || this.isLoading) return;
96
+
97
+ this.$emit('prev-user');
98
+ },
99
+ nextUser() {
100
+ if (this.currentUserIndex >= (this.maxUsers - 1) || this.isLoading) return;
101
+
102
+ this.$emit('next-user');
103
+ },
104
+ handleKeyPress({ keyCode }) {
105
+ switch (keyCode) {
106
+ case 37:
107
+ this.preUser();
108
+ break;
109
+
110
+ case 39:
111
+ this.nextUser();
112
+ break;
113
+ }
114
+ },
115
+ handleArrowsActive() {
116
+ this.isLoading = true;
117
+
118
+ if (this.currentUserIndex <= 0) {
119
+ this.hasPrevUser = false;
120
+ this.hasNextUser = true;
121
+ } else {
122
+ this.hasPrevUser = true;
123
+ }
124
+
125
+ if (this.currentUserIndex <= (this.maxUsers - 2)) {
126
+ this.hasNextUser = true;
127
+ }
128
+ if (this.currentUserIndex === (this.maxUsers - 1)) {
129
+ this.hasNextUser = false;
130
+ }
131
+
132
+ setTimeout(() => this.isLoading = false, 1000);
133
+ }
134
+ },
135
+ beforeMount() {
136
+ if (process.client) {
137
+ window.addEventListener('keydown', this.handleKeyPress);
138
+ }
139
+ },
140
+ beforeDestroy() {
141
+ if (process.client) {
142
+ window.removeEventListener('keydown', this.handleKeyPress);
143
+ }
144
+ }
145
+ };
146
+ </script>
147
+
148
+ <style lang="scss" scoped>
149
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
150
+
151
+ /deep/ .el-dialog__body {
152
+ padding: 0;
153
+ }
154
+
155
+ /deep/ .el-dialog__header {
156
+ display: none;
157
+ }
158
+
159
+ /deep/ .el-dialog {
160
+ overflow: hidden;
161
+ border-radius: 10px;
162
+ padding-bottom: 50px;
163
+ max-width: 1360px;
164
+ margin-top: 5vh!important;
165
+ }
166
+
167
+ .user__cv__arrows {
168
+ position: fixed;
169
+ display: flex;
170
+ align-items: center;
171
+ justify-content: space-between;
172
+ padding: 0 40px;
173
+ top: 0;
174
+ left: 0;
175
+ width: 100%;
176
+ height: 100vh;
177
+ z-index: -1;
178
+ pointer-events: none;
179
+ > button {
180
+ width: 42px;
181
+ height: 42px;
182
+ display: flex;
183
+ align-items: center;
184
+ justify-content: center;
185
+ border: none;
186
+ background: transparent;
187
+ font-size: 2rem;
188
+ color: $primary;
189
+ pointer-events: all;
190
+ }
191
+ }
192
+
193
+ .test-radius {
194
+ border-radius: 10px;
195
+ }
196
+
197
+ .tool {
198
+ position: absolute;
199
+ top: 1rem;
200
+ z-index: 10;
201
+ color: $primary;
202
+ cursor: pointer;
203
+
204
+ &-show--tools {
205
+ right: 1.5rem;
206
+ }
207
+
208
+ &-close {
209
+ position: absolute;
210
+ width: 104.93px;
211
+ height: 28px;
212
+ right: 1.5rem;
213
+ display: flex;
214
+ justify-content: center;
215
+ align-items: center;
216
+
217
+ font-weight: 600;
218
+ background: rgba(0, 0, 0, 0.2);
219
+ border-radius: 17.5px;
220
+ color: #fff;
221
+ }
222
+ }
223
+
224
+ .user-pdf {
225
+ background-color: #fff;
226
+ img {
227
+ width: 100%;
228
+ height: 150px;
229
+ object-fit: cover;
230
+ }
231
+
232
+ .no-cover-photo {
233
+ background: $primary;
234
+ width: 100%;
235
+ height: 150px;
236
+ }
237
+ }
238
+
239
+ /deep/ .user__preview__container {
240
+ transition: opacity 0.2s;
241
+ &.loading {
242
+ opacity: 0;
243
+ }
244
+ }
245
+ </style>