@burh/nuxt-core 1.0.271 → 1.0.273

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 (32) hide show
  1. package/assets/sass/burh-ds/variables/_colors.scss +350 -350
  2. package/components/argon-core/BaseDropdown.vue +114 -114
  3. package/components/argon-core/Modal.vue +184 -184
  4. package/components/burh-ds/Cards/CourseInfoCard.vue +2 -4
  5. package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
  6. package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
  7. package/components/burh-ds/Cards/RecruitmentCard.vue +214 -214
  8. package/components/burh-ds/Carousel/ImageCarousel.vue +111 -111
  9. package/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +437 -437
  10. package/components/burh-ds/Curriculum/UserCurriculum/index.vue +245 -245
  11. package/components/burh-ds/Dropdown/JobStatusDropdown.vue +145 -145
  12. package/components/burh-ds/Headings/AppHeader.vue +162 -162
  13. package/components/burh-ds/Inputs/SearchInput.vue +64 -64
  14. package/components/burh-ds/Loads/LoadingBar.vue +83 -83
  15. package/components/burh-ds/Modals/NewUserModal.vue +87 -87
  16. package/components/burh-ds/Modals/SendCourse.vue +208 -208
  17. package/components/burh-ds/Modals/SharedModal.vue +270 -270
  18. package/components/burh-ds/Modals/SmsModal.vue +28 -20
  19. package/components/burh-ds/Skeleton/BaseCardTest.vue +51 -0
  20. package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
  21. package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
  22. package/components/burh-ds/Skeleton/BaseCourseInfo.vue +65 -0
  23. package/components/burh-ds/Skeleton/BaseTraining.vue +29 -0
  24. package/components/burh-ds/Skeleton/BufferFolderSkeleton.vue +41 -0
  25. package/components/burh-ds/Skeleton/BufferUserSkeleton.vue +142 -0
  26. package/components/burh-ds/Skeleton/Cards.vue +86 -86
  27. package/components/burh-ds/Skeleton/Home.vue +100 -100
  28. package/components/burh-ds/Skeleton/RecruitmentCard.vue +169 -169
  29. package/components/burh-ds/Skeleton/SkeletonAnimate.vue +96 -96
  30. package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
  31. package/nuxt.config.js +206 -206
  32. 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,184 +1,184 @@
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
-
154
- .modal.show {
155
- background-color: rgba(23,43,77, 0.7);
156
- }
157
-
158
- .tool {
159
- position: absolute;
160
- top: 1rem;
161
- z-index: 10;
162
- color: $primary;
163
- cursor: pointer;
164
- border: none;
165
-
166
- &-close {
167
- position: absolute;
168
- width: 88px;
169
- height: 27px;
170
- right: 7px;
171
- top: 7px;
172
- display: flex;
173
- justify-content: center;
174
- align-items: center;
175
-
176
- font-size: 11px;
177
-
178
- font-weight: 500;
179
- background: rgba(0, 0, 0, 0.2);
180
- border-radius: 17.5px;
181
- color: #fff;
182
- }
183
- }
184
- </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
+
154
+ .modal.show {
155
+ background-color: rgba(23,43,77, 0.7);
156
+ }
157
+
158
+ .tool {
159
+ position: absolute;
160
+ top: 1rem;
161
+ z-index: 10;
162
+ color: $primary;
163
+ cursor: pointer;
164
+ border: none;
165
+
166
+ &-close {
167
+ position: absolute;
168
+ width: 88px;
169
+ height: 27px;
170
+ right: 7px;
171
+ top: 7px;
172
+ display: flex;
173
+ justify-content: center;
174
+ align-items: center;
175
+
176
+ font-size: 11px;
177
+
178
+ font-weight: 500;
179
+ background: rgba(0, 0, 0, 0.2);
180
+ border-radius: 17.5px;
181
+ color: #fff;
182
+ }
183
+ }
184
+ </style>
@@ -5,8 +5,7 @@
5
5
  <h4 class="card-title font-weight-bold">{{ title }}</h4>
6
6
  </div>
7
7
 
8
- <card-skeleton v-show="isLoading" />
9
- <div v-show="!isLoading" class="row card-body px-0">
8
+ <div class="row card-body px-0">
10
9
  <div
11
10
  class="col-6 col-sm-3 col-md-3 info-box text-center px-0"
12
11
  v-for="items in coursesInfo"
@@ -48,8 +47,7 @@ export default {
48
47
  type: String,
49
48
  default: 'Resumo geral'
50
49
  },
51
- coursesInfo: Array,
52
- isLoading: Boolean
50
+ coursesInfo: Array
53
51
  }
54
52
  };
55
53
  </script>