@burh/nuxt-core 1.0.290 → 1.0.292

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 (31) hide show
  1. package/assets/sass/burh-ds/atoms/_buttons.scss +219 -219
  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/assets/sass/burh-ds/variables/_colors.scss +350 -350
  5. package/components/argon-core/BaseDropdown.vue +114 -114
  6. package/components/argon-core/BaseProgress.vue +121 -121
  7. package/components/argon-core/Modal.vue +184 -184
  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 +214 -214
  11. package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
  12. package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +497 -496
  13. package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
  14. package/components/burh-ds/Dropdown/JobStatusDropdown.vue +145 -145
  15. package/components/burh-ds/Headings/AppHeader.vue +162 -162
  16. package/components/burh-ds/Inputs/SearchInput.vue +64 -64
  17. package/components/burh-ds/Lists/VagasSimple.vue +404 -404
  18. package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
  19. package/components/burh-ds/Loads/LoadingBar.vue +83 -83
  20. package/components/burh-ds/Modals/MobileModal.vue +65 -65
  21. package/components/burh-ds/Modals/NewUserModal.vue +87 -87
  22. package/components/burh-ds/Modals/SharedModal.vue +270 -270
  23. package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
  24. package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
  25. package/components/burh-ds/Skeleton/Cards.vue +86 -86
  26. package/components/burh-ds/Skeleton/Home.vue +100 -100
  27. package/components/burh-ds/Skeleton/RecruitmentCard.vue +169 -169
  28. package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
  29. package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
  30. package/nuxt.config.js +206 -206
  31. package/package.json +1 -1
@@ -1,145 +1,145 @@
1
- <template>
2
- <div class="job__status" v-if="selectedOptionId">
3
- <p class="job__status__title" @click.stop.prevent="toggleDropdown">
4
- <span :class="`color--${options[(selectedOptionId - 1)].color}`"></span>
5
- {{ options[(selectedOptionId - 1)].title }}
6
- <i class="fas fa-caret-down"></i>
7
- </p>
8
- <ul class="job__status__dropdown" :class="{ 'job__status__dropdown--open': isDropdownOpen }">
9
- <li
10
- v-for="item in options"
11
- :key="item.id"
12
- >
13
- <p
14
- class="job__status__title"
15
- v-if="item.id !== selectedOptionId"
16
- @click.stop.prevent="selectOption(item.id)"
17
- >
18
- <span :class="`color--${item.color}`"></span>
19
- {{ item.title }}
20
- </p>
21
- </li>
22
- </ul>
23
- </div>
24
- </template>
25
-
26
- <script>
27
- export default {
28
- name: 'job-status-dropdown',
29
- props: {
30
- status: {
31
- type: Number,
32
- default: 1
33
- }
34
- },
35
- data() {
36
- return {
37
- isDropdownOpen: false,
38
- selectedOptionId: null,
39
- options: [
40
- {
41
- id: 1,
42
- title: 'Aberta',
43
- color: 'green'
44
- },
45
- {
46
- id: 2,
47
- title: 'Em Análise',
48
- color: 'yellow'
49
- },
50
- {
51
- id: 3,
52
- title: 'Pausada',
53
- color: 'pink'
54
- },
55
- {
56
- id: 4,
57
- title: 'Finalizada',
58
- color: 'blue'
59
- }
60
- ]
61
- };
62
- },
63
- mounted() {
64
- this.selectedOptionId = this.status;
65
- },
66
- methods: {
67
- toggleDropdown() {
68
- this.isDropdownOpen = !this.isDropdownOpen;
69
- },
70
- selectOption(id) {
71
- this.selectedOptionId = id;
72
- this.isDropdownOpen = false;
73
- this.$emit('select', id);
74
- }
75
- }
76
- };
77
- </script>
78
-
79
- <style lang="scss" scoped>
80
- .job__status {
81
- position: relative;
82
- &__dropdown {
83
- position: absolute;
84
- left: -20px;
85
- transform: translateY(-10px);
86
- opacity: 0;
87
- pointer-events: none;
88
- background: #fff;
89
- box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
90
- list-style: none;
91
- border-radius: 4px;
92
- overflow: hidden;
93
- min-width: 220px;
94
- padding: 0!important;
95
- margin: 0!important;
96
- transition: transform 0.3s, opacity 0.3s;
97
- transform-origin: top;
98
- &--open {
99
- transform: translateY(10px);
100
- opacity: 1;
101
- pointer-events: all;
102
- }
103
- li {
104
- display: block;
105
- p {
106
- padding: 15px 20px;
107
- transition: background 0.5s, color 0.5s;
108
- &:hover {
109
- background: #F6F9FC;
110
- color: #1F8CEB;
111
- }
112
- }
113
- }
114
- }
115
- &__title {
116
- cursor: pointer;
117
- display: flex;
118
- align-items: center;
119
- user-select: none;
120
- margin: 0!important;
121
- span {
122
- display: block;
123
- border-radius: 100px;
124
- width: 12px;
125
- height: 12px;
126
- margin-right: 10px;
127
- &.color--green {
128
- background: #3AC089;
129
- }
130
- &.color--yellow {
131
- background: #FFCF02;
132
- }
133
- &.color--pink {
134
- background: #FF539D;
135
- }
136
- &.color--blue {
137
- background: #0C95FC;
138
- }
139
- }
140
- i {
141
- margin-left: 10px;
142
- }
143
- }
144
- }
145
- </style>
1
+ <template>
2
+ <div class="job__status" v-if="selectedOptionId">
3
+ <p class="job__status__title" @click.stop.prevent="toggleDropdown">
4
+ <span :class="`color--${options[(selectedOptionId - 1)].color}`"></span>
5
+ {{ options[(selectedOptionId - 1)].title }}
6
+ <i class="fas fa-caret-down"></i>
7
+ </p>
8
+ <ul class="job__status__dropdown" :class="{ 'job__status__dropdown--open': isDropdownOpen }">
9
+ <li
10
+ v-for="item in options"
11
+ :key="item.id"
12
+ >
13
+ <p
14
+ class="job__status__title"
15
+ v-if="item.id !== selectedOptionId"
16
+ @click.stop.prevent="selectOption(item.id)"
17
+ >
18
+ <span :class="`color--${item.color}`"></span>
19
+ {{ item.title }}
20
+ </p>
21
+ </li>
22
+ </ul>
23
+ </div>
24
+ </template>
25
+
26
+ <script>
27
+ export default {
28
+ name: 'job-status-dropdown',
29
+ props: {
30
+ status: {
31
+ type: Number,
32
+ default: 1
33
+ }
34
+ },
35
+ data() {
36
+ return {
37
+ isDropdownOpen: false,
38
+ selectedOptionId: null,
39
+ options: [
40
+ {
41
+ id: 1,
42
+ title: 'Aberta',
43
+ color: 'green'
44
+ },
45
+ {
46
+ id: 2,
47
+ title: 'Em Análise',
48
+ color: 'yellow'
49
+ },
50
+ {
51
+ id: 3,
52
+ title: 'Pausada',
53
+ color: 'pink'
54
+ },
55
+ {
56
+ id: 4,
57
+ title: 'Finalizada',
58
+ color: 'blue'
59
+ }
60
+ ]
61
+ };
62
+ },
63
+ mounted() {
64
+ this.selectedOptionId = this.status;
65
+ },
66
+ methods: {
67
+ toggleDropdown() {
68
+ this.isDropdownOpen = !this.isDropdownOpen;
69
+ },
70
+ selectOption(id) {
71
+ this.selectedOptionId = id;
72
+ this.isDropdownOpen = false;
73
+ this.$emit('select', id);
74
+ }
75
+ }
76
+ };
77
+ </script>
78
+
79
+ <style lang="scss" scoped>
80
+ .job__status {
81
+ position: relative;
82
+ &__dropdown {
83
+ position: absolute;
84
+ left: -20px;
85
+ transform: translateY(-10px);
86
+ opacity: 0;
87
+ pointer-events: none;
88
+ background: #fff;
89
+ box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
90
+ list-style: none;
91
+ border-radius: 4px;
92
+ overflow: hidden;
93
+ min-width: 220px;
94
+ padding: 0!important;
95
+ margin: 0!important;
96
+ transition: transform 0.3s, opacity 0.3s;
97
+ transform-origin: top;
98
+ &--open {
99
+ transform: translateY(10px);
100
+ opacity: 1;
101
+ pointer-events: all;
102
+ }
103
+ li {
104
+ display: block;
105
+ p {
106
+ padding: 15px 20px;
107
+ transition: background 0.5s, color 0.5s;
108
+ &:hover {
109
+ background: #F6F9FC;
110
+ color: #1F8CEB;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ &__title {
116
+ cursor: pointer;
117
+ display: flex;
118
+ align-items: center;
119
+ user-select: none;
120
+ margin: 0!important;
121
+ span {
122
+ display: block;
123
+ border-radius: 100px;
124
+ width: 12px;
125
+ height: 12px;
126
+ margin-right: 10px;
127
+ &.color--green {
128
+ background: #3AC089;
129
+ }
130
+ &.color--yellow {
131
+ background: #FFCF02;
132
+ }
133
+ &.color--pink {
134
+ background: #FF539D;
135
+ }
136
+ &.color--blue {
137
+ background: #0C95FC;
138
+ }
139
+ }
140
+ i {
141
+ margin-left: 10px;
142
+ }
143
+ }
144
+ }
145
+ </style>
@@ -1,162 +1,162 @@
1
- <template>
2
- <base-header class="app-header" :type="'white'">
3
- <div class="row justify-content-center">
4
- <div
5
- :class="{ 'images__container': users.length }"
6
- class="col-6 my-auto header__container"
7
- >
8
- <slot name="header-top" />
9
-
10
- <div class="header__content">
11
- <h2 class="font-weight-bold display-3">{{name}}</h2>
12
- <div class="images" v-if="users.length">
13
- <el-tooltip
14
- v-for="user in users"
15
- :key="user.id"
16
- placement="top"
17
- :content="user.name"
18
- class="user__avatar"
19
- :class="{ 'user__avatar--active': activeUserId === user.id }"
20
- >
21
- <img
22
- @click="setActiveUser(user.id)"
23
- :src="user.avatar"
24
- :alt="user.name"
25
- >
26
- </el-tooltip>
27
- </div>
28
- </div>
29
-
30
- <span id="credits-amount" v-if="subheader !== null">
31
- {{ subheader }} Créditos
32
- </span>
33
-
34
- <slot name="header-bottom" />
35
- </div>
36
-
37
- <div class="col-6 d-flex justify-content-end align-items-center">
38
- <el-tooltip v-for="(item, index) in icons" :key="index"
39
- v-show="!item.disabled"
40
- class="item" effect="dark" :content="item.title" placement="top">
41
- <base-button size="md" type="link" class="text-primary px-2 w-auto"
42
- @click="$emit(item.event, item)">
43
- <font-awesome-icon :icon="item.icon" class="mr-2" />
44
- </base-button>
45
- </el-tooltip>
46
-
47
- <slot name="buttons" />
48
- </div>
49
-
50
- <slot/>
51
- </div>
52
- </base-header>
53
- </template>
54
- <script>
55
- export default {
56
- data(){
57
- return{
58
- default: '',
59
- activeUserId: null
60
- };
61
- },
62
- props:{
63
- icons:{
64
- type: Array,
65
- default: () =>[{ event: 'view', icon: ['fas', 'eye'], disabled: false, title: 'Visualizar' }, { event: 'config', icon: ['fas', 'cog'], disabled: false, title: 'Editar' } ]
66
- },
67
- name: {
68
- type: String,
69
- default: 'Teste de matematica'
70
- },
71
- subheader: {
72
- type: Number,
73
- default: null
74
- },
75
- users: {
76
- type: Array,
77
- default: () => []
78
- }
79
- },
80
- methods: {
81
- setActiveUser(userId) {
82
- if (this.activeUserId !== userId) {
83
- this.activeUserId = userId;
84
- this.$emit('active-user', userId);
85
- } else {
86
- this.activeUserId = null;
87
- this.$emit('active-user', null);
88
- }
89
- }
90
- }
91
- };
92
- </script>
93
- <style lang="scss" scoped>
94
- #credits-amount {
95
- margin: 0!important;
96
- min-width: 8em;
97
- margin: 1rem 1rem 1rem 0;
98
- padding: 0.25em 1em;
99
- font-size: 0.85rem;
100
- line-height: 1.4em;
101
- border-radius: 23rem;
102
- font-weight: 400;
103
- text-align: center;
104
- background-color: rgba(29, 161, 241, 0.1);
105
- color: #2a5ee8;
106
- }
107
- </style>
108
- <style lang="scss">
109
-
110
- .app-header {
111
- width: 100%;
112
- padding-top: 1.25rem;
113
- box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
114
- }
115
-
116
- .header__container {
117
- display: flex;
118
- flex-direction: column;
119
- justify-content: center;
120
- align-items: flex-start;
121
- }
122
-
123
- .images__container {
124
- display: flex;
125
- align-items: flex-start;
126
- justify-content: center;
127
- .header__content {
128
- display: flex;
129
- flex-direction: row;
130
- h2 {
131
- margin-bottom: 0;
132
- }
133
- .images {
134
- margin-left: 10px;
135
- display: flex;
136
- align-items: center;
137
- user-select: none;
138
- .user__avatar {
139
- cursor: pointer;
140
- border: 2px solid transparent;
141
- transition: border-color 0.5s;
142
- &--active {
143
- border-color: #2a5ee8;
144
- z-index: 10;
145
- }
146
- }
147
- img {
148
- $size: 32px;
149
- display: block;
150
- width: $size;
151
- height: $size;
152
- object-fit: cover;
153
- border-radius: 100px;
154
- border: 2px solid #fff;
155
- &:not(:first-child) {
156
- margin-left: -10px;
157
- }
158
- }
159
- }
160
- }
161
- }
162
- </style>
1
+ <template>
2
+ <base-header class="app-header" :type="'white'">
3
+ <div class="row justify-content-center">
4
+ <div
5
+ :class="{ 'images__container': users.length }"
6
+ class="col-6 my-auto header__container"
7
+ >
8
+ <slot name="header-top" />
9
+
10
+ <div class="header__content">
11
+ <h2 class="font-weight-bold display-3">{{name}}</h2>
12
+ <div class="images" v-if="users.length">
13
+ <el-tooltip
14
+ v-for="user in users"
15
+ :key="user.id"
16
+ placement="top"
17
+ :content="user.name"
18
+ class="user__avatar"
19
+ :class="{ 'user__avatar--active': activeUserId === user.id }"
20
+ >
21
+ <img
22
+ @click="setActiveUser(user.id)"
23
+ :src="user.avatar"
24
+ :alt="user.name"
25
+ >
26
+ </el-tooltip>
27
+ </div>
28
+ </div>
29
+
30
+ <span id="credits-amount" v-if="subheader !== null">
31
+ {{ subheader }} Créditos
32
+ </span>
33
+
34
+ <slot name="header-bottom" />
35
+ </div>
36
+
37
+ <div class="col-6 d-flex justify-content-end align-items-center">
38
+ <el-tooltip v-for="(item, index) in icons" :key="index"
39
+ v-show="!item.disabled"
40
+ class="item" effect="dark" :content="item.title" placement="top">
41
+ <base-button size="md" type="link" class="text-primary px-2 w-auto"
42
+ @click="$emit(item.event, item)">
43
+ <font-awesome-icon :icon="item.icon" class="mr-2" />
44
+ </base-button>
45
+ </el-tooltip>
46
+
47
+ <slot name="buttons" />
48
+ </div>
49
+
50
+ <slot/>
51
+ </div>
52
+ </base-header>
53
+ </template>
54
+ <script>
55
+ export default {
56
+ data(){
57
+ return{
58
+ default: '',
59
+ activeUserId: null
60
+ };
61
+ },
62
+ props:{
63
+ icons:{
64
+ type: Array,
65
+ default: () =>[{ event: 'view', icon: ['fas', 'eye'], disabled: false, title: 'Visualizar' }, { event: 'config', icon: ['fas', 'cog'], disabled: false, title: 'Editar' } ]
66
+ },
67
+ name: {
68
+ type: String,
69
+ default: 'Teste de matematica'
70
+ },
71
+ subheader: {
72
+ type: Number,
73
+ default: null
74
+ },
75
+ users: {
76
+ type: Array,
77
+ default: () => []
78
+ }
79
+ },
80
+ methods: {
81
+ setActiveUser(userId) {
82
+ if (this.activeUserId !== userId) {
83
+ this.activeUserId = userId;
84
+ this.$emit('active-user', userId);
85
+ } else {
86
+ this.activeUserId = null;
87
+ this.$emit('active-user', null);
88
+ }
89
+ }
90
+ }
91
+ };
92
+ </script>
93
+ <style lang="scss" scoped>
94
+ #credits-amount {
95
+ margin: 0!important;
96
+ min-width: 8em;
97
+ margin: 1rem 1rem 1rem 0;
98
+ padding: 0.25em 1em;
99
+ font-size: 0.85rem;
100
+ line-height: 1.4em;
101
+ border-radius: 23rem;
102
+ font-weight: 400;
103
+ text-align: center;
104
+ background-color: rgba(29, 161, 241, 0.1);
105
+ color: #4460F4;
106
+ }
107
+ </style>
108
+ <style lang="scss">
109
+
110
+ .app-header {
111
+ width: 100%;
112
+ padding-top: 1.25rem;
113
+ box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
114
+ }
115
+
116
+ .header__container {
117
+ display: flex;
118
+ flex-direction: column;
119
+ justify-content: center;
120
+ align-items: flex-start;
121
+ }
122
+
123
+ .images__container {
124
+ display: flex;
125
+ align-items: flex-start;
126
+ justify-content: center;
127
+ .header__content {
128
+ display: flex;
129
+ flex-direction: row;
130
+ h2 {
131
+ margin-bottom: 0;
132
+ }
133
+ .images {
134
+ margin-left: 10px;
135
+ display: flex;
136
+ align-items: center;
137
+ user-select: none;
138
+ .user__avatar {
139
+ cursor: pointer;
140
+ border: 2px solid transparent;
141
+ transition: border-color 0.5s;
142
+ &--active {
143
+ border-color: #4460F4;
144
+ z-index: 10;
145
+ }
146
+ }
147
+ img {
148
+ $size: 32px;
149
+ display: block;
150
+ width: $size;
151
+ height: $size;
152
+ object-fit: cover;
153
+ border-radius: 100px;
154
+ border: 2px solid #fff;
155
+ &:not(:first-child) {
156
+ margin-left: -10px;
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ </style>