@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,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,26 +1,26 @@
1
- <template>
2
- <div class="row" v-loading="true" id="loading"></div>
3
- </template>
4
- <script>
5
- import Vue from 'vue';
6
- import { Loading } from 'element-ui';
7
-
8
- Vue.use(Loading.directive);
9
- export default {};
10
- </script>
11
- <style>
12
- #loading {
13
- min-height: 200px;
14
- display: flex;
15
- align-items: center;
16
- }
17
-
18
- .el-loading-spinner .path {
19
- stroke: #66615b !important;
20
- }
21
-
22
- .el-loading-mask {
23
- z-index: 100!important;
24
- background: transparent !important;
25
- }
26
- </style>
1
+ <template>
2
+ <div class="row" v-loading="true" id="loading"></div>
3
+ </template>
4
+ <script>
5
+ import Vue from 'vue';
6
+ import { Loading } from 'element-ui';
7
+
8
+ Vue.use(Loading.directive);
9
+ export default {};
10
+ </script>
11
+ <style>
12
+ #loading {
13
+ min-height: 200px;
14
+ display: flex;
15
+ align-items: center;
16
+ }
17
+
18
+ .el-loading-spinner .path {
19
+ stroke: #66615b !important;
20
+ }
21
+
22
+ .el-loading-mask {
23
+ z-index: 100!important;
24
+ background: transparent !important;
25
+ }
26
+ </style>
@@ -1,183 +1,183 @@
1
- <template>
2
- <SlideYUpTransition :duration="animationDuration">
3
- <div
4
- class="modal fade"
5
- @click.self="closeModal"
6
- :class="[
7
- { 'show d-block': show },
8
- { 'd-none': !show },
9
- { 'modal-mini': type === 'mini' }
10
- ]"
11
- v-show="show"
12
- tabindex="-1"
13
- role="dialog"
14
- :aria-hidden="!show"
15
- >
16
- <div
17
- class="modal-dialog modal-dialog-centered"
18
- :class="[
19
- {
20
- 'modal-notice': type === 'notice',
21
- [`modal-${size}`]: size
22
- },
23
- modalClasses
24
- ]"
25
- >
26
- <div
27
- class="modal-content"
28
- :class="[
29
- gradient ? `bg-gradient-${gradient}` : '',
30
- modalContentClasses
31
- ]"
32
- >
33
- <div
34
- class="modal-header"
35
- :class="[headerClasses]"
36
- v-if="$slots.header"
37
- >
38
- <slot name="header"></slot>
39
- <slot name="close-button">
40
- <button
41
- class="tool tool-close"
42
- v-if="showClose"
43
- @click="closeModal"
44
- data-dismiss="modal"
45
- aria-label="Close"
46
- >
47
- Fechar
48
- <font-awesome-icon
49
- :icon="['fas', 'times']"
50
- class="text-white ml-1"
51
- />
52
- </button>
53
- </slot>
54
- </div>
55
-
56
- <div class="modal-body" :class="bodyClasses">
57
- <slot></slot>
58
- </div>
59
-
60
- <div
61
- class="modal-footer"
62
- :class="footerClasses"
63
- v-if="$slots.footer"
64
- >
65
- <slot name="footer"></slot>
66
- </div>
67
- </div>
68
- </div>
69
- </div>
70
- </SlideYUpTransition>
71
- </template>
72
- <script>
73
- import { SlideYUpTransition } from 'vue2-transitions';
74
-
75
- export default {
76
- name: 'modal',
77
- components: {
78
- SlideYUpTransition
79
- },
80
- props: {
81
- show: Boolean,
82
- showClose: {
83
- type: Boolean,
84
- default: true
85
- },
86
- type: {
87
- type: String,
88
- default: '',
89
- validator(value) {
90
- let acceptedValues = ['', 'notice', 'mini'];
91
- return acceptedValues.indexOf(value) !== -1;
92
- },
93
- description: 'Modal type (notice|mini|"") '
94
- },
95
- modalClasses: {
96
- type: [Object, String],
97
- description: 'Modal dialog css classes'
98
- },
99
- size: {
100
- type: String,
101
- description: 'Modal size',
102
- validator(value) {
103
- let acceptedValues = ['', 'sm', 'lg', 'xl'];
104
- return acceptedValues.indexOf(value) !== -1;
105
- }
106
- },
107
- modalContentClasses: {
108
- type: [Object, String],
109
- description: 'Modal dialog content css classes'
110
- },
111
- gradient: {
112
- type: String,
113
- description: 'Modal gradient type (danger, primary etc)'
114
- },
115
- headerClasses: {
116
- type: [Object, String],
117
- description: 'Modal Header css classes'
118
- },
119
- bodyClasses: {
120
- type: [Object, String],
121
- description: 'Modal Body css classes'
122
- },
123
- footerClasses: {
124
- type: [Object, String],
125
- description: 'Modal Footer css classes'
126
- },
127
- animationDuration: {
128
- type: Number,
129
- default: 500,
130
- description: 'Modal transition duration'
131
- }
132
- },
133
- methods: {
134
- closeModal() {
135
- this.$emit('update:show', false);
136
- this.$emit('close');
137
- }
138
- },
139
- watch: {
140
- show(val) {
141
- let documentClasses = document.body.classList;
142
- if (val) {
143
- documentClasses.add('modal-open');
144
- } else {
145
- documentClasses.remove('modal-open');
146
- }
147
- }
148
- }
149
- };
150
- </script>
151
- <style lang="scss">
152
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
153
- .modal.show {
154
- background-color: rgba(23,43,77, 0.7);
155
- }
156
-
157
- .tool {
158
- position: absolute;
159
- top: 1rem;
160
- z-index: 10;
161
- color: $primary;
162
- cursor: pointer;
163
- border: none;
164
-
165
- &-close {
166
- position: absolute;
167
- width: 88px;
168
- height: 27px;
169
- right: 7px;
170
- top: 7px;
171
- display: flex;
172
- justify-content: center;
173
- align-items: center;
174
-
175
- font-size: 11px;
176
-
177
- font-weight: 500;
178
- background: rgba(0, 0, 0, 0.2);
179
- border-radius: 17.5px;
180
- color: #fff;
181
- }
182
- }
183
- </style>
1
+ <template>
2
+ <SlideYUpTransition :duration="animationDuration">
3
+ <div
4
+ class="modal fade"
5
+ @click.self="closeModal"
6
+ :class="[
7
+ { 'show d-block': show },
8
+ { 'd-none': !show },
9
+ { 'modal-mini': type === 'mini' }
10
+ ]"
11
+ v-show="show"
12
+ tabindex="-1"
13
+ role="dialog"
14
+ :aria-hidden="!show"
15
+ >
16
+ <div
17
+ class="modal-dialog modal-dialog-centered"
18
+ :class="[
19
+ {
20
+ 'modal-notice': type === 'notice',
21
+ [`modal-${size}`]: size
22
+ },
23
+ modalClasses
24
+ ]"
25
+ >
26
+ <div
27
+ class="modal-content"
28
+ :class="[
29
+ gradient ? `bg-gradient-${gradient}` : '',
30
+ modalContentClasses
31
+ ]"
32
+ >
33
+ <div
34
+ class="modal-header"
35
+ :class="[headerClasses]"
36
+ v-if="$slots.header"
37
+ >
38
+ <slot name="header"></slot>
39
+ <slot name="close-button">
40
+ <button
41
+ class="tool tool-close"
42
+ v-if="showClose"
43
+ @click="closeModal"
44
+ data-dismiss="modal"
45
+ aria-label="Close"
46
+ >
47
+ Fechar
48
+ <font-awesome-icon
49
+ :icon="['fas', 'times']"
50
+ class="text-white ml-1"
51
+ />
52
+ </button>
53
+ </slot>
54
+ </div>
55
+
56
+ <div class="modal-body" :class="bodyClasses">
57
+ <slot></slot>
58
+ </div>
59
+
60
+ <div
61
+ class="modal-footer"
62
+ :class="footerClasses"
63
+ v-if="$slots.footer"
64
+ >
65
+ <slot name="footer"></slot>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </SlideYUpTransition>
71
+ </template>
72
+ <script>
73
+ import { SlideYUpTransition } from 'vue2-transitions';
74
+
75
+ export default {
76
+ name: 'modal',
77
+ components: {
78
+ SlideYUpTransition
79
+ },
80
+ props: {
81
+ show: Boolean,
82
+ showClose: {
83
+ type: Boolean,
84
+ default: true
85
+ },
86
+ type: {
87
+ type: String,
88
+ default: '',
89
+ validator(value) {
90
+ let acceptedValues = ['', 'notice', 'mini'];
91
+ return acceptedValues.indexOf(value) !== -1;
92
+ },
93
+ description: 'Modal type (notice|mini|"") '
94
+ },
95
+ modalClasses: {
96
+ type: [Object, String],
97
+ description: 'Modal dialog css classes'
98
+ },
99
+ size: {
100
+ type: String,
101
+ description: 'Modal size',
102
+ validator(value) {
103
+ let acceptedValues = ['', 'sm', 'lg', 'xl'];
104
+ return acceptedValues.indexOf(value) !== -1;
105
+ }
106
+ },
107
+ modalContentClasses: {
108
+ type: [Object, String],
109
+ description: 'Modal dialog content css classes'
110
+ },
111
+ gradient: {
112
+ type: String,
113
+ description: 'Modal gradient type (danger, primary etc)'
114
+ },
115
+ headerClasses: {
116
+ type: [Object, String],
117
+ description: 'Modal Header css classes'
118
+ },
119
+ bodyClasses: {
120
+ type: [Object, String],
121
+ description: 'Modal Body css classes'
122
+ },
123
+ footerClasses: {
124
+ type: [Object, String],
125
+ description: 'Modal Footer css classes'
126
+ },
127
+ animationDuration: {
128
+ type: Number,
129
+ default: 500,
130
+ description: 'Modal transition duration'
131
+ }
132
+ },
133
+ methods: {
134
+ closeModal() {
135
+ this.$emit('update:show', false);
136
+ this.$emit('close');
137
+ }
138
+ },
139
+ watch: {
140
+ show(val) {
141
+ let documentClasses = document.body.classList;
142
+ if (val) {
143
+ documentClasses.add('modal-open');
144
+ } else {
145
+ documentClasses.remove('modal-open');
146
+ }
147
+ }
148
+ }
149
+ };
150
+ </script>
151
+ <style lang="scss">
152
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
153
+ .modal.show {
154
+ background-color: rgba(23,43,77, 0.7);
155
+ }
156
+
157
+ .tool {
158
+ position: absolute;
159
+ top: 1rem;
160
+ z-index: 10;
161
+ color: $primary;
162
+ cursor: pointer;
163
+ border: none;
164
+
165
+ &-close {
166
+ position: absolute;
167
+ width: 88px;
168
+ height: 27px;
169
+ right: 7px;
170
+ top: 7px;
171
+ display: flex;
172
+ justify-content: center;
173
+ align-items: center;
174
+
175
+ font-size: 11px;
176
+
177
+ font-weight: 500;
178
+ background: rgba(0, 0, 0, 0.2);
179
+ border-radius: 17.5px;
180
+ color: #fff;
181
+ }
182
+ }
183
+ </style>