@burh/nuxt-core 1.0.344 → 1.0.345

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 (449) hide show
  1. package/.ebignore +25 -25
  2. package/.elasticbeanstalk/config.yml +18 -18
  3. package/.eslintrc.json +39 -39
  4. package/.gitlab-ci.yml +16 -16
  5. package/CHANGELOG.md +2 -2
  6. package/README.md +22 -22
  7. package/app.html +8 -8
  8. package/assets/css/font-awesome/css/font-awesome.css +2337 -2337
  9. package/assets/css/font-awesome/css/font-awesome.min.css +4 -4
  10. package/assets/css/font-awesome/fonts/fontawesome-webfont.svg +2671 -2671
  11. package/assets/css/nucleo/css/nucleo-svg.css +134 -134
  12. package/assets/css/nucleo/css/nucleo.css +572 -572
  13. package/assets/css/nucleo/fonts/nucleo-icons.svg +312 -312
  14. package/assets/css/variables.css +2 -2
  15. package/assets/images/burhCv.svg +6 -6
  16. package/assets/images/facebookCv.svg +3 -3
  17. package/assets/images/icons/facebook.svg +14 -14
  18. package/assets/images/icons/historicCv.svg +3 -3
  19. package/assets/images/icons/icon3.svg +3 -3
  20. package/assets/images/icons/icon4.svg +3 -3
  21. package/assets/images/icons/linkedin.svg +14 -14
  22. package/assets/images/icons/notesCv.svg +3 -3
  23. package/assets/images/icons/twitter.svg +14 -14
  24. package/assets/images/icons/whatsapp.svg +14 -14
  25. package/assets/images/linkedinCv.svg +3 -3
  26. package/assets/images/webCv.svg +4 -4
  27. package/assets/sass/argon.scss +104 -104
  28. package/assets/sass/burh-ds/_components.scss +142 -142
  29. package/assets/sass/burh-ds/_functions.scss +29 -29
  30. package/assets/sass/burh-ds/_helpers.scss +18 -18
  31. package/assets/sass/burh-ds/_mixins.scss +17 -17
  32. package/assets/sass/burh-ds/_transitions.scss +12 -12
  33. package/assets/sass/burh-ds/_utilities.scss +31 -31
  34. package/assets/sass/burh-ds/_variables.scss +963 -963
  35. package/assets/sass/burh-ds/_vendors.scss +38 -38
  36. package/assets/sass/burh-ds/atoms/_badge.scss +5 -5
  37. package/assets/sass/burh-ds/atoms/_buttons.scss +222 -222
  38. package/assets/sass/burh-ds/atoms/_forms.scss +416 -416
  39. package/assets/sass/burh-ds/atoms/_tables.scss +31 -31
  40. package/assets/sass/burh-ds/atoms/_type.scss +147 -147
  41. package/assets/sass/burh-ds/mixins/_badge.scss +37 -37
  42. package/assets/sass/burh-ds/mixins/_breakpoints.scss +39 -39
  43. package/assets/sass/burh-ds/mixins/_grid-framework.scss +66 -66
  44. package/assets/sass/burh-ds/mixins/_grid.scss +51 -51
  45. package/assets/sass/burh-ds/molecules/_box.scss +282 -282
  46. package/assets/sass/burh-ds/molecules/_breadcrumb.scss +8 -8
  47. package/assets/sass/burh-ds/molecules/_modal.scss +175 -175
  48. package/assets/sass/burh-ds/molecules/_navbar.scss +262 -262
  49. package/assets/sass/burh-ds/molecules/_notifications.scss +1 -1
  50. package/assets/sass/burh-ds/molecules/_steps-profile.scss +67 -67
  51. package/assets/sass/burh-ds/molecules/_testimonial.scss +53 -53
  52. package/assets/sass/burh-ds/organisms/_banner.scss +51 -51
  53. package/assets/sass/burh-ds/organisms/_cards.scss +228 -228
  54. package/assets/sass/burh-ds/organisms/_carousel.scss +113 -113
  55. package/assets/sass/burh-ds/organisms/_footer.scss +115 -115
  56. package/assets/sass/burh-ds/organisms/_profile-bar.scss +130 -130
  57. package/assets/sass/burh-ds/organisms/_search.scss +17 -17
  58. package/assets/sass/burh-ds/organisms/_subheader.scss +773 -773
  59. package/assets/sass/burh-ds/organisms/_tabs-setting.scss +123 -123
  60. package/assets/sass/burh-ds/organisms/banners/_banner.scss +62 -62
  61. package/assets/sass/burh-ds/organisms/cards/_featured-company.scss +17 -17
  62. package/assets/sass/burh-ds/organisms/cards/_opportunity.scss +16 -16
  63. package/assets/sass/burh-ds/pages/_error.scss +124 -124
  64. package/assets/sass/burh-ds/pages/_jobs.scss +424 -424
  65. package/assets/sass/burh-ds/pages/_testes.scss +350 -350
  66. package/assets/sass/burh-ds/variables/_colors.scss +350 -350
  67. package/assets/sass/burh-ds/variables/_global_settings.scss +39 -39
  68. package/assets/sass/core/alerts/_alert-dismissible.scss +48 -48
  69. package/assets/sass/core/alerts/_alert-notify.scss +47 -47
  70. package/assets/sass/core/alerts/_alert.scss +49 -49
  71. package/assets/sass/core/avatars/_avatar-group.scss +22 -22
  72. package/assets/sass/core/avatars/_avatar.scss +59 -59
  73. package/assets/sass/core/badges/_badge-circle.scss +29 -29
  74. package/assets/sass/core/badges/_badge-dot.scss +42 -42
  75. package/assets/sass/core/badges/_badge-floating.scss +18 -18
  76. package/assets/sass/core/badges/_badge.scss +67 -67
  77. package/assets/sass/core/breadcrumbs/_breadcrumb.scss +42 -42
  78. package/assets/sass/core/buttons/_button-brand.scss +12 -12
  79. package/assets/sass/core/buttons/_button-group.scss +79 -79
  80. package/assets/sass/core/buttons/_button-icon.scss +92 -92
  81. package/assets/sass/core/buttons/_button.scss +90 -90
  82. package/assets/sass/core/cards/_card-animations.scss +10 -10
  83. package/assets/sass/core/cards/_card-blockquote.scss +17 -17
  84. package/assets/sass/core/cards/_card-money.scss +27 -27
  85. package/assets/sass/core/cards/_card-pricing.scss +26 -26
  86. package/assets/sass/core/cards/_card-profile.scss +49 -49
  87. package/assets/sass/core/cards/_card-stats.scss +16 -16
  88. package/assets/sass/core/cards/_card.scss +70 -70
  89. package/assets/sass/core/charts/_chart.scss +69 -69
  90. package/assets/sass/core/close/_close.scss +47 -47
  91. package/assets/sass/core/collapse/_accordion.scss +38 -38
  92. package/assets/sass/core/content/_main-content.scss +17 -17
  93. package/assets/sass/core/custom-forms/_custom-checkbox.scss +47 -47
  94. package/assets/sass/core/custom-forms/_custom-control.scss +58 -58
  95. package/assets/sass/core/custom-forms/_custom-form.scss +45 -45
  96. package/assets/sass/core/custom-forms/_custom-radio.scss +38 -38
  97. package/assets/sass/core/custom-forms/_custom-toggle.scss +122 -122
  98. package/assets/sass/core/dropdowns/_dropdown.scss +89 -89
  99. package/assets/sass/core/footers/_footer.scss +159 -159
  100. package/assets/sass/core/forms/_form-extend.scss +38 -38
  101. package/assets/sass/core/forms/_form-validation.scss +78 -78
  102. package/assets/sass/core/forms/_form.scss +125 -125
  103. package/assets/sass/core/forms/_input-group.scss +136 -136
  104. package/assets/sass/core/grid/_grid.scss +31 -31
  105. package/assets/sass/core/headers/_header.scss +7 -7
  106. package/assets/sass/core/icons/_icon-actions.scss +57 -57
  107. package/assets/sass/core/icons/_icon-shape.scss +48 -48
  108. package/assets/sass/core/icons/_icon.scss +88 -88
  109. package/assets/sass/core/list-groups/_list-check.scss +52 -52
  110. package/assets/sass/core/list-groups/_list-group.scss +46 -46
  111. package/assets/sass/core/maps/_map.scss +10 -10
  112. package/assets/sass/core/masks/_mask.scss +33 -33
  113. package/assets/sass/core/medias/_media-comment.scss +33 -33
  114. package/assets/sass/core/medias/_media.scss +3 -3
  115. package/assets/sass/core/mixins/_alert.scss +22 -22
  116. package/assets/sass/core/mixins/_background-variant.scss +30 -30
  117. package/assets/sass/core/mixins/_badge.scss +12 -12
  118. package/assets/sass/core/mixins/_buttons.scss +105 -105
  119. package/assets/sass/core/mixins/_custom-forms.scss +47 -47
  120. package/assets/sass/core/mixins/_forms.scss +127 -127
  121. package/assets/sass/core/mixins/_icon.scss +10 -10
  122. package/assets/sass/core/mixins/_modals.scss +25 -25
  123. package/assets/sass/core/mixins/_popover.scss +35 -35
  124. package/assets/sass/core/modals/_modal.scss +31 -31
  125. package/assets/sass/core/navbars/_navbar-collapse.scss +37 -37
  126. package/assets/sass/core/navbars/_navbar-dropdown.scss +121 -121
  127. package/assets/sass/core/navbars/_navbar-floating.scss +17 -17
  128. package/assets/sass/core/navbars/_navbar-search.scss +216 -216
  129. package/assets/sass/core/navbars/_navbar-top.scss +58 -58
  130. package/assets/sass/core/navbars/_navbar-vertical.scss +507 -507
  131. package/assets/sass/core/navbars/_navbar.scss +368 -368
  132. package/assets/sass/core/navs/_nav-pills.scss +66 -66
  133. package/assets/sass/core/navs/_nav.scss +33 -33
  134. package/assets/sass/core/paginations/_pagination.scss +49 -49
  135. package/assets/sass/core/popovers/_popover.scss +21 -21
  136. package/assets/sass/core/progresses/_progress.scss +89 -89
  137. package/assets/sass/core/reboot/_reboot.scss +13 -13
  138. package/assets/sass/core/sections/_nucleo-icons.scss +117 -117
  139. package/assets/sass/core/separators/_separator.scss +54 -54
  140. package/assets/sass/core/shortcuts/_shortcut.scss +30 -30
  141. package/assets/sass/core/tables/_table-actions.scss +25 -25
  142. package/assets/sass/core/tables/_table-sortable.scss +28 -28
  143. package/assets/sass/core/tables/_table.scss +153 -153
  144. package/assets/sass/core/timeline/_timeline.scss +182 -182
  145. package/assets/sass/core/type/_article.scss +22 -22
  146. package/assets/sass/core/type/_display.scss +14 -14
  147. package/assets/sass/core/type/_heading.scss +65 -65
  148. package/assets/sass/core/type/_type.scss +27 -27
  149. package/assets/sass/core/utilities/_backgrounds.scss +51 -51
  150. package/assets/sass/core/utilities/_blurable.scss +37 -37
  151. package/assets/sass/core/utilities/_floating.scss +64 -64
  152. package/assets/sass/core/utilities/_helper.scss +18 -18
  153. package/assets/sass/core/utilities/_image.scss +9 -9
  154. package/assets/sass/core/utilities/_opacity.scss +35 -35
  155. package/assets/sass/core/utilities/_overflow.scss +11 -11
  156. package/assets/sass/core/utilities/_position.scss +25 -25
  157. package/assets/sass/core/utilities/_shadows.scss +28 -28
  158. package/assets/sass/core/utilities/_sizing.scss +7 -7
  159. package/assets/sass/core/utilities/_spacing.scss +107 -107
  160. package/assets/sass/core/utilities/_text.scss +49 -49
  161. package/assets/sass/core/utilities/_transform.scss +13 -13
  162. package/assets/sass/core/vendors/_bootstrap-datepicker.scss +279 -279
  163. package/assets/sass/core/vendors/_bootstrap-tagsinput.scss +67 -67
  164. package/assets/sass/core/vendors/_chartjs.scss +22 -22
  165. package/assets/sass/core/vendors/_dropzone.scss +74 -74
  166. package/assets/sass/core/vendors/_element-checkbox.scss +26 -26
  167. package/assets/sass/core/vendors/_element-tables.scss +61 -61
  168. package/assets/sass/core/vendors/_flatpickr.scss +72 -72
  169. package/assets/sass/core/vendors/_fullcalendar.scss +256 -256
  170. package/assets/sass/core/vendors/_headroom.scss +25 -25
  171. package/assets/sass/core/vendors/_lavalamp.scss +157 -157
  172. package/assets/sass/core/vendors/_nouislider.scss +413 -413
  173. package/assets/sass/core/vendors/_quill.scss +280 -280
  174. package/assets/sass/core/vendors/_scrollbar.scss +949 -949
  175. package/assets/sass/core/vendors/_select.scss +70 -70
  176. package/assets/sass/core/vendors/_sweet-alert-2.scss +22 -22
  177. package/assets/sass/core/vendors/_tags.scss +32 -32
  178. package/assets/sass/core/vendors/_vectormap.scss +16 -16
  179. package/assets/sass/custom/_components.scss +142 -142
  180. package/assets/sass/custom/_functions.scss +29 -29
  181. package/assets/sass/custom/_mixins.scss +15 -15
  182. package/assets/sass/custom/_transitions.scss +12 -12
  183. package/assets/sass/custom/_utilities.scss +31 -31
  184. package/assets/sass/custom/_variables.scss +1077 -1077
  185. package/assets/sass/custom/_vendors.scss +38 -38
  186. package/components/argon-core/Badge.vue +56 -56
  187. package/components/argon-core/Banners/Banner.vue +28 -28
  188. package/components/argon-core/Banners/BannerItem.vue +13 -13
  189. package/components/argon-core/BaseAlert.vue +74 -74
  190. package/components/argon-core/BaseButton.vue +81 -81
  191. package/components/argon-core/BaseHeader.vue +21 -21
  192. package/components/argon-core/BasePagination.vue +172 -172
  193. package/components/argon-core/BaseProgress.vue +121 -121
  194. package/components/argon-core/BaseSlider.vue +96 -96
  195. package/components/argon-core/BaseSwitch.vue +46 -46
  196. package/components/argon-core/BaseTable.vue +70 -70
  197. package/components/argon-core/Breadcrumb/Breadcrumb.vue +26 -26
  198. package/components/argon-core/Breadcrumb/BreadcrumbItem.vue +16 -16
  199. package/components/argon-core/Breadcrumb/RouteBreadcrumb.vue +45 -45
  200. package/components/argon-core/ButtonCheckbox.vue +39 -39
  201. package/components/argon-core/ButtonRadioGroup.vue +47 -47
  202. package/components/argon-core/Cards/Card.vue +71 -71
  203. package/components/argon-core/Cards/OpportunityCard.vue +39 -39
  204. package/components/argon-core/Cards/StatsCard.vue +49 -49
  205. package/components/argon-core/Charts/BarChart.js +30 -30
  206. package/components/argon-core/Charts/DoughnutChart.js +30 -30
  207. package/components/argon-core/Charts/LineChart.js +30 -30
  208. package/components/argon-core/Charts/PieChart.js +30 -30
  209. package/components/argon-core/Charts/config.js +491 -491
  210. package/components/argon-core/Charts/globalOptionsMixin.js +7 -7
  211. package/components/argon-core/Charts/optionHelpers.js +10 -10
  212. package/components/argon-core/CloseButton.vue +35 -35
  213. package/components/argon-core/Collapse/Collapse.vue +84 -84
  214. package/components/argon-core/Collapse/CollapseItem.vue +91 -91
  215. package/components/argon-core/Feed/Comment.vue +50 -50
  216. package/components/argon-core/Inputs/BaseCheckbox.vue +79 -79
  217. package/components/argon-core/Inputs/BaseInput.vue +221 -221
  218. package/components/argon-core/Inputs/BaseRadio.vue +68 -68
  219. package/components/argon-core/Inputs/DropzoneFileUpload.vue +127 -127
  220. package/components/argon-core/Inputs/FileInput.vue +54 -54
  221. package/components/argon-core/Inputs/HtmlEditor.vue +105 -105
  222. package/components/argon-core/Inputs/IconCheckbox.vue +45 -45
  223. package/components/argon-core/Inputs/TagsInput.vue +100 -100
  224. package/components/argon-core/Navbar/BaseNav.vue +122 -122
  225. package/components/argon-core/Navbar/NavbarProgress.vue +19 -19
  226. package/components/argon-core/Navbar/NavbarProgressItem.vue +17 -17
  227. package/components/argon-core/Navbar/NavbarToggleButton.vue +21 -21
  228. package/components/argon-core/NavbarToggleButton.vue +29 -29
  229. package/components/argon-core/NotificationPlugin/Notification.vue +207 -207
  230. package/components/argon-core/NotificationPlugin/Notifications.vue +55 -55
  231. package/components/argon-core/NotificationPlugin/index.js +66 -66
  232. package/components/argon-core/SidebarPlugin/SideBar.vue +119 -119
  233. package/components/argon-core/SidebarPlugin/SidebarItem.vue +184 -184
  234. package/components/argon-core/SidebarPlugin/index.js +79 -79
  235. package/components/argon-core/Tabs/Tab.vue +33 -33
  236. package/components/argon-core/Tabs/Tabs.vue +170 -170
  237. package/components/argon-core/Timeline/TimeLine.vue +17 -17
  238. package/components/argon-core/Timeline/TimeLineItem.vue +30 -30
  239. package/components/argon-core/WorldMap/AsyncWorldMap.vue +28 -28
  240. package/components/argon-core/WorldMap/WorldMap.vue +127 -127
  241. package/components/argon-core/index.js +82 -82
  242. package/components/burh-ds/Avatar/AvatarLink.vue +29 -29
  243. package/components/burh-ds/Avatar/BusinessAvatar.vue +38 -38
  244. package/components/burh-ds/Banners/BannerHero.vue +23 -23
  245. package/components/burh-ds/Banners/BannerItem.vue +14 -14
  246. package/components/burh-ds/Button/ExportButton.vue +20 -20
  247. package/components/burh-ds/Button/SwitchStateButton.vue +165 -165
  248. package/components/burh-ds/Capsules/SearchSlug.vue +860 -860
  249. package/components/burh-ds/Capsules/UserProfile.vue +1938 -1938
  250. package/components/burh-ds/Cards/CampaignCard.vue +40 -40
  251. package/components/burh-ds/Cards/CompanyCard.vue +39 -39
  252. package/components/burh-ds/Cards/CourseInfoCard.vue +72 -72
  253. package/components/burh-ds/Cards/FunctionalityItem.vue +35 -35
  254. package/components/burh-ds/Cards/OpportunityCard.vue +115 -115
  255. package/components/burh-ds/Cards/PerformanceItem.vue +65 -65
  256. package/components/burh-ds/Cards/PlanCard.vue +192 -192
  257. package/components/burh-ds/Cards/ProductCard.vue +142 -142
  258. package/components/burh-ds/Cards/PurchaseCard.vue +58 -58
  259. package/components/burh-ds/Cards/PurchaseCardSimple.vue +58 -58
  260. package/components/burh-ds/Cards/TestCard.vue +189 -189
  261. package/components/burh-ds/Cards/TrainingCard.vue +151 -151
  262. package/components/burh-ds/Cards/WelcomeCard.vue +106 -106
  263. package/components/burh-ds/Carousel/FeedCarousel.vue +47 -47
  264. package/components/burh-ds/Carousel/ImageCarousel.vue +111 -111
  265. package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
  266. package/components/burh-ds/Crop/Crop.vue +121 -121
  267. package/components/burh-ds/Curriculum/UserCurriculum/UpgradePlan.vue +74 -74
  268. package/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +509 -509
  269. package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +515 -515
  270. package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +625 -625
  271. package/components/burh-ds/Dropdown/AppLinkArea.vue +132 -132
  272. package/components/burh-ds/Dropdown/DropdownItem.vue +26 -26
  273. package/components/burh-ds/Dropdown/DropdownSection.vue +38 -38
  274. package/components/burh-ds/Dropdown/FaqVideoArea.vue +88 -88
  275. package/components/burh-ds/Dropdown/SignOutItem.vue +11 -11
  276. package/components/burh-ds/Dropdown/UserMenuDropdown.vue +63 -63
  277. package/components/burh-ds/FeaturedCompanies/FeaturedCompanies.vue +11 -11
  278. package/components/burh-ds/FeaturedCompanies/FeaturedCompanyCard.vue +16 -16
  279. package/components/burh-ds/Groups/ProductItem.vue +62 -62
  280. package/components/burh-ds/Groups/SimpleProductItem.vue +129 -129
  281. package/components/burh-ds/Headings/AppHeader.vue +214 -214
  282. package/components/burh-ds/Headings/BaseHeader.vue +24 -24
  283. package/components/burh-ds/Headings/Profile.vue +66 -66
  284. package/components/burh-ds/Headings/ProfileHeader.vue +105 -105
  285. package/components/burh-ds/Headings/SettingsHeader.vue +48 -48
  286. package/components/burh-ds/Headings/StepHeader.vue +122 -122
  287. package/components/burh-ds/Input/AutoComplete.vue +136 -136
  288. package/components/burh-ds/Inputs/BaseCheckbox.vue +73 -73
  289. package/components/burh-ds/Inputs/BaseSwitch.vue +43 -43
  290. package/components/burh-ds/Inputs/BaseSwitchSecondary.vue +84 -84
  291. package/components/burh-ds/Inputs/DoubleInputWithIcon.vue +100 -100
  292. package/components/burh-ds/Inputs/HtmlEditor.vue +64 -64
  293. package/components/burh-ds/InterfaceSpa/InterfaceSpa.vue +83 -83
  294. package/components/burh-ds/Jobs/JobDetail.vue +432 -432
  295. package/components/burh-ds/Jobs/JobDetailDesign.vue +151 -151
  296. package/components/burh-ds/Jobs/JobDetailEmpty.vue +27 -27
  297. package/components/burh-ds/Labels/LabelContextIcon.vue +58 -58
  298. package/components/burh-ds/Link/DefaultLink.vue +30 -30
  299. package/components/burh-ds/Lists/ListAvatarCheckbox.vue +157 -157
  300. package/components/burh-ds/Lists/ListNavLinks.vue +54 -54
  301. package/components/burh-ds/Lists/VagasSimple.vue +404 -404
  302. package/components/burh-ds/Loadings/Basics.vue +80 -80
  303. package/components/burh-ds/Loadings/InfiniteLoading.vue +21 -21
  304. package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
  305. package/components/burh-ds/Loadings/NewLoading.vue +119 -119
  306. package/components/burh-ds/Loads/LoadingBar.vue +83 -83
  307. package/components/burh-ds/Modals/AddMember.vue +314 -314
  308. package/components/burh-ds/Modals/AddRoleModal.vue +203 -203
  309. package/components/burh-ds/Modals/AppConfigModal.vue +390 -390
  310. package/components/burh-ds/Modals/CourseMessageModal.vue +66 -66
  311. package/components/burh-ds/Modals/DocsModal.vue +111 -111
  312. package/components/burh-ds/Modals/DropzoneModal.vue +123 -123
  313. package/components/burh-ds/Modals/InviteToRole.vue +206 -206
  314. package/components/burh-ds/Modals/MobileModal.vue +65 -65
  315. package/components/burh-ds/Modals/ModalTests.vue +167 -167
  316. package/components/burh-ds/Modals/PlanModal.vue +286 -286
  317. package/components/burh-ds/Modals/RequestModal.vue +281 -281
  318. package/components/burh-ds/Modals/SendCourse.vue +322 -322
  319. package/components/burh-ds/Modals/SendDisc.vue +230 -230
  320. package/components/burh-ds/Modals/SendTest.vue +349 -349
  321. package/components/burh-ds/Modals/ShareModal.vue +228 -228
  322. package/components/burh-ds/Modals/SmsModal.vue +327 -327
  323. package/components/burh-ds/Modals/SubModal.vue +41 -41
  324. package/components/burh-ds/Modals/UniversityAccessModal.vue +133 -133
  325. package/components/burh-ds/Modals/VideoModal.vue +80 -80
  326. package/components/burh-ds/Modals/WhatsappModal.vue +143 -143
  327. package/components/burh-ds/Navbar/BaseNav.vue +132 -132
  328. package/components/burh-ds/Notifications/Notification.vue +215 -215
  329. package/components/burh-ds/Notifications/Notifications.vue +55 -55
  330. package/components/burh-ds/Notifications/index.js +66 -66
  331. package/components/burh-ds/Pagination/NamedPagination.vue +176 -176
  332. package/components/burh-ds/Questions/Question.vue +183 -183
  333. package/components/burh-ds/Questions/QuestionAttach.vue +13 -13
  334. package/components/burh-ds/Questions/QuestionRadio.vue +122 -122
  335. package/components/burh-ds/Questions/QuestionRadioItem.vue +83 -83
  336. package/components/burh-ds/Questions/QuestionText.vue +66 -66
  337. package/components/burh-ds/Questions/index.js +13 -13
  338. package/components/burh-ds/Skeleton/BaseCardTest.vue +51 -51
  339. package/components/burh-ds/Skeleton/BaseTraining.vue +29 -29
  340. package/components/burh-ds/Skeleton/BufferFolderSkeleton.vue +41 -41
  341. package/components/burh-ds/Skeleton/BufferUserSkeleton.vue +142 -142
  342. package/components/burh-ds/Tabs/Tab.vue +56 -56
  343. package/components/burh-ds/Tabs/Tabs.vue +188 -188
  344. package/components/burh-ds/Tabs/TesteTab.vue +106 -106
  345. package/components/burh-ds/index.js +20 -20
  346. package/components/layouts/argon/Content.vue +17 -17
  347. package/components/layouts/argon/navbar/BlankLayout.vue +61 -61
  348. package/components/layouts/argon/navbar/DashboardNavbar.vue +307 -307
  349. package/components/layouts/burh-ds/ContentFooter.vue +45 -45
  350. package/components/layouts/burh-ds/footer/FooterSimple.vue +20 -20
  351. package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
  352. package/components/layouts/burh-ds/footer/StatusFooter.vue +105 -105
  353. package/components/layouts/burh-ds/footer/StoreFooter.vue +54 -54
  354. package/components/layouts/burh-ds/navbar/AppNavbar.vue +90 -90
  355. package/components/layouts/burh-ds/navbar/BusinessGlobalNavbar.vue +435 -435
  356. package/components/layouts/burh-ds/navbar/CarreirasNavbar.vue +363 -363
  357. package/components/layouts/burh-ds/navbar/CompanyGlobalNavbar.vue +244 -244
  358. package/components/layouts/burh-ds/navbar/EmpresasNavbar.vue +374 -374
  359. package/components/layouts/burh-ds/navbar/EmpresasNavbarLogado.vue +388 -388
  360. package/components/layouts/burh-ds/navbar/GlobalNavbar.vue +535 -535
  361. package/components/layouts/burh-ds/navbar/MobileNavbar.vue +431 -431
  362. package/components/layouts/burh-ds/navbar/PublicNavbar.vue +145 -137
  363. package/components/layouts/burh-ds/navbar/SimpleNavbar.vue +129 -129
  364. package/components/layouts/burh-ds/navbar/UserNavbar.vue +346 -346
  365. package/components/layouts/burh-ds/navbar/UserNavbarLogin.vue +253 -253
  366. package/components/pages/UserProfile/EditProfileForm.vue +142 -142
  367. package/components/pages/UserProfile/UserCard.vue +61 -61
  368. package/components/pages/dashboard/ActivityFeed.vue +102 -102
  369. package/components/pages/dashboard/LightTable.vue +194 -194
  370. package/components/pages/dashboard/PageVisitsTable.vue +107 -107
  371. package/components/pages/dashboard/ProgressTrackList.vue +82 -82
  372. package/components/pages/dashboard/SocialTrafficTable.vue +101 -101
  373. package/components/pages/dashboard/TaskList.vue +56 -56
  374. package/components/pages/dashboard/UserList.vue +72 -72
  375. package/components/pages/forms/BrowserDefaultsValidation.vue +106 -106
  376. package/components/pages/forms/CustomStylesValidation.vue +130 -130
  377. package/components/pages/forms/ServerSideValidation.vue +128 -128
  378. package/components/pages/register/FailedRegistration.vue +29 -29
  379. package/components/pages/register/SuccessfulRegistration.vue +29 -29
  380. package/components/tables/PaginatedTables/clientPaginationMixin.js +86 -86
  381. package/components/tables/RegularTables/CheckboxColoredTable.vue +112 -112
  382. package/components/tables/RegularTables/CheckboxTable.vue +101 -101
  383. package/components/tables/RegularTables/DarkTable.vue +114 -114
  384. package/components/tables/RegularTables/InlineActionsTable.vue +94 -94
  385. package/components/tables/RegularTables/LightTable.vue +117 -117
  386. package/components/tables/RegularTables/StripedTable.vue +94 -94
  387. package/components/tables/RegularTables/TranslucentTable.vue +114 -114
  388. package/components/tables/projects.js +75 -75
  389. package/components/tables/users.js +42 -42
  390. package/components/tables/users2.js +474 -474
  391. package/components/widgets/CalendarWidget.vue +119 -119
  392. package/components/widgets/CreditCard.vue +66 -66
  393. package/components/widgets/MembersCard.vue +99 -99
  394. package/components/widgets/PaypalCard.vue +45 -45
  395. package/components/widgets/ProgressTrackList.vue +76 -76
  396. package/components/widgets/StatsCards.vue +70 -70
  397. package/components/widgets/TaskList.vue +67 -67
  398. package/components/widgets/TimelineCard.vue +66 -66
  399. package/components/widgets/VectorMapCard.vue +139 -139
  400. package/components/widgets/VisaCard.vue +51 -51
  401. package/data/ListVideoLinksMock.json +21 -21
  402. package/dictionary.js +38 -38
  403. package/environment.env.md +34 -34
  404. package/eslint.config.json +12 -12
  405. package/layouts/AuthLayout.vue +191 -191
  406. package/layouts/BurhCarreirasLayout.vue +63 -63
  407. package/layouts/BurhEmpresasLayout.vue +64 -64
  408. package/layouts/BurhNoHeader.vue +63 -63
  409. package/layouts/BurhPublicLayout.vue +67 -67
  410. package/layouts/BurhUserLayout.vue +231 -231
  411. package/layouts/DashboardLayout.vue +226 -226
  412. package/layouts/error.vue +119 -119
  413. package/metadata.json +30 -30
  414. package/middleware/README.md +8 -8
  415. package/middleware/decodeUrl.js +8 -8
  416. package/middleware/maintenance.js +9 -9
  417. package/middleware/new-account.js +6 -6
  418. package/middleware/redirect.js +13 -13
  419. package/middleware/user-agent-error.js +28 -28
  420. package/package.json +113 -113
  421. package/plugins/README.md +7 -7
  422. package/plugins/analytics/ga.js +28 -28
  423. package/plugins/auth/auth.js +210 -210
  424. package/plugins/axios.js +32 -32
  425. package/plugins/carousel/owl-carousel.js +3 -3
  426. package/plugins/crop/crop.js +4 -4
  427. package/plugins/dashboard/dashboard-plugin.js +29 -29
  428. package/plugins/dashboard/directives/click-outside.js +15 -15
  429. package/plugins/dashboard/eventBus.js +1 -1
  430. package/plugins/dashboard/globalComponents.js +41 -41
  431. package/plugins/dashboard/globalDirectives.js +7 -7
  432. package/plugins/dom/loader.js +76 -76
  433. package/plugins/localstorage.js +20 -20
  434. package/plugins/location/location.js +41 -41
  435. package/plugins/pagination/pagination.js +3 -3
  436. package/plugins/qrcode/qrcode.js +4 -4
  437. package/plugins/router.js +8 -8
  438. package/plugins/social-media/fb-sdk.js +44 -44
  439. package/plugins/social-media/share-link-facebook.js +32 -32
  440. package/plugins/social-media/share-link-linkedin.js +30 -30
  441. package/plugins/social-media/share-link-twitter.js +30 -30
  442. package/plugins/social-media/share-link-whatsapp.js +31 -31
  443. package/polyfills.js +96 -96
  444. package/util/common.js +189 -189
  445. package/util/cookie.js +28 -28
  446. package/util/dom.js +63 -63
  447. package/util/getPrefixes.js +12 -12
  448. package/util/request.js +46 -46
  449. package/util/throttle.js +15 -15
@@ -1,625 +1,625 @@
1
- <template>
2
- <div class="bg-white content-right tabs ">
3
- <el-tabs
4
- :class="active"
5
- class="mt-3 handle-icon-color"
6
- v-model="active"
7
- >
8
- <el-tab-pane class="history ml-2" name="history">
9
- <span class="tab__icon-pane" slot="label">
10
- <img
11
- class="img__icon-pane img__icon--history"
12
- src="../../../../assets/images/icons/historicCv.svg"
13
- />
14
- </span>
15
- <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
16
- <p class="notes-title mb-0">Histórico com sua empresa</p>
17
- <div class="line mb-3"></div>
18
-
19
- <div
20
- class="mt-3"
21
- v-for="(item, index) in orderByDate(companyHistory())"
22
- :key="index"
23
- >
24
- <p class="history-text mb-0">
25
- {{ item.text }}
26
- </p>
27
- <span>{{ item.date | convertDate }}</span>
28
- </div>
29
- <p v-show="companyHistory().length === 0" class="history-text">
30
- Histórico vazio.
31
- </p>
32
- </el-tab-pane>
33
-
34
- <el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
35
- <span class="tab__icon-pane" slot="label">
36
- <img
37
- class="img__icon-pane img__icon--notes"
38
- src="../../../../assets/images/icons/notesCv.svg"
39
- />
40
- </span>
41
- <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
42
- <p class="notes-title mb-0">Notas da equipe</p>
43
- <div class="line mb-3"></div>
44
- <div
45
- v-show="notes.length > 0"
46
- v-for="(note, index) in notes.slice(0, 5)"
47
- :key="index"
48
- >
49
- <div class="notes-baloon">
50
- <div class="notes-text ml-3 pt-1">
51
- <p class="mt-3">{{ note.text }}</p>
52
- </div>
53
- <div
54
- class="d-flex justify-content-end align-items-center mr-3"
55
- >
56
- <p class="notes-date">
57
- {{ note.created_at | convertDate }}
58
- </p>
59
- </div>
60
- </div>
61
- <div class="notes-owner d-flex mt-2">
62
- <img
63
- v-show="note.user.urlAvatar"
64
- :src="note.user.urlAvatar"
65
- :alt="note.user.name"
66
- />
67
- <div
68
- v-show="!note.user.urlAvatar"
69
- class="notes-avatar"
70
- ></div>
71
- <p class="ml-1">
72
- {{ note.user.name }}
73
- </p>
74
- </div>
75
- </div>
76
- <div class="notes-text" v-show="notes.length === 0">
77
- <p>Nenhuma nota criada.</p>
78
- </div>
79
-
80
- <div class="input-container" v-show="!isLocked">
81
- <input
82
- class="notes-new pl-4 mt-3 mb-3 form-rounded"
83
- type="text"
84
- placeholder="Escrever anotação"
85
- v-model="newNote"
86
- @change="$emit('new-note', newNote, userData.id)"
87
- v-on:change="cleatInput()"
88
- />
89
- <i
90
- @click="
91
- newNote.length > 0 &&
92
- $emit('new-note', newNote, userData.id)
93
- "
94
- class="fas fa-paper-plane input-icon"
95
- ></i>
96
- </div>
97
- </el-tab-pane>
98
-
99
- <el-tab-pane name="documents" class="ml-2">
100
- <span class="tab__icon-pane" slot="label">
101
- <img
102
- class="img__icon-pane img__icon--documents"
103
- src="../../../../assets/images/icons/icon3.svg"
104
- />
105
- </span>
106
- <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
107
- <p class="notes-title mb-0">Documentos anexados</p>
108
- <div class="line mb-3"></div>
109
-
110
- <div class="archive-content">
111
- <div v-for="(item, index) in archives" :key="index">
112
- <div @click="openArchive(item)" class="archive-container">
113
- <div>
114
- <img class="archive-img" src="../../../../assets/images/icons/icon3.svg" >
115
- </div>
116
- <div class="archive-name">
117
- <p>
118
- <span>{{item.name}}</span>
119
- <div class="archive-icon">
120
- <i @click.stop.prevent="openRemoveSection(item, (index+1))" class="far fa-trash-alt"></i>
121
- </div>
122
- </p>
123
- </div>
124
- </div>
125
- <div v-if="hasRemove && hasRemove == (index+1)" class="archive-remove">
126
- <p>Você tem certeza que deseja apagar este arquivo?</p>
127
- <div class="d-flex">
128
- <base-button
129
- @click="removeArchive(currentRemoveItem, index)"
130
- size="sm"
131
- class="btn-outline-primary col-6 p-1"
132
- >
133
- Apagar
134
- </base-button>
135
- <base-button
136
- @click="hasRemove = false"
137
- size="sm"
138
- class="btn-outline-danger col-6 p-1"
139
- >
140
- Cancelar
141
- </base-button>
142
- </div>
143
- </div>
144
- </div>
145
-
146
- </div>
147
- <div class="notes-text" v-show="archives == null">
148
- <p>Nenhum arquvio anexado.</p>
149
- </div>
150
-
151
- <div class="input-container" v-show="!isLocked">
152
- <div class="mt-5">
153
-
154
- <dropzone-file-upload
155
- disabled
156
- @error="showMessageError"
157
- ref="Mydropzone"
158
- :options="dropzoneOptions"
159
- v-model="fileToUpload"
160
- />
161
- </div>
162
-
163
- <div class="archive-buttons">
164
- <base-button @click="saveImage" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
165
- </div>
166
- </div>
167
- </el-tab-pane>
168
-
169
- <!-- <el-tab-pane :disabled="true">
170
- <span class="tab__icon-pane cursor-disabled" slot="label">
171
- <img
172
- class="img__icon-pane"
173
- src="../../../../assets/images/icons/icon4.svg"
174
- />
175
- </span>
176
- </el-tab-pane> -->
177
- </el-tabs>
178
- </div>
179
- </template>
180
-
181
- <script>
182
- import { Tabs, TabPane } from 'element-ui';
183
- import DropzoneFileUpload from '@burh/nuxt-core/components/argon-core/Inputs/DropzoneFileUpload.vue';
184
- import swal from 'sweetalert2';
185
- import UpgradePlan from './UpgradePlan.vue';
186
-
187
- export default {
188
- name: 'user-cv-right-side',
189
- filters: {
190
- convertDate(data) {
191
- if (typeof data !== 'string') {
192
- data = '2020-01-01 12:00:00';
193
- }
194
- let d = new Date(data);
195
- let options = { hour: '2-digit', minute: '2-digit' };
196
- return d.toLocaleDateString('pt-BR', options);
197
- }
198
- },
199
- watch:{
200
- fileToUpload(value){
201
- if(value.length > 0 && value[0].accepted) {
202
- this.isError = false;
203
- }
204
- }
205
- },
206
- components: {
207
- [Tabs.name]: Tabs,
208
- [TabPane.name]: TabPane,
209
- DropzoneFileUpload,
210
- UpgradePlan
211
- },
212
- data(){
213
- return {
214
- newNote: '',
215
- active: this.activeName,
216
- hasRemove: null,
217
- isError: true,
218
- currentRemoveItem: null,
219
- fileToUpload: [],
220
- dropzoneOptions: {
221
- maxFilesize: 5,
222
- dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
223
- dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
224
- dictInvalidFileType: 'Arquivo invalido.',
225
- dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
226
- acceptedFiles: 'image/*, application/pdf',
227
- },
228
- isLocked: !this.companyHasProduct(
229
- this.$store.state.loja.showableProducts['HISTORICO_USUARIO']
230
- ),
231
- };
232
- },
233
- props: {
234
- archives: Array,
235
- userData: Object,
236
- notes: Array,
237
- activeName: String,
238
- isNotesActived: {
239
- type: Boolean,
240
- default: true
241
- },
242
- },
243
- mounted() {
244
- this.companyHistory();
245
- },
246
- methods: {
247
- openRemoveSection(item, index) {
248
- this.hasRemove = index;
249
- this.currentRemoveItem = item;
250
- },
251
-
252
- showToast(type, title){
253
- const Toast = swal.mixin({
254
- toast: true,
255
- position: 'top-end',
256
- showConfirmButton: false,
257
- timer: 3100,
258
- });
259
-
260
- return Toast.fire({
261
- type: type,
262
- title: title
263
- });
264
- },
265
-
266
- showMessageError(file, message) {
267
- this.isError = true;
268
- this.$refs.Mydropzone.removeAllFiles();
269
-
270
- if (file.status !== 'canceled'){
271
- this.showToast('error', message);
272
- }
273
- },
274
-
275
- openArchive(item) {
276
- window.open(item.annex_url, '_blank');
277
- },
278
-
279
- saveImage(){
280
- if (!this.isError) {
281
- this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
282
- this.$refs.Mydropzone.removeAllFiles();
283
- this.showToast('success', 'Arquivo enviado com sucesso.');
284
-
285
- } else {
286
- if (this.fileToUpload.length > 0) {
287
- this.showToast('error', 'Arquivo invalido.');
288
- } else {
289
- this.showToast('warning', 'Selecione um arquivo.');
290
- }
291
- }
292
- },
293
-
294
- removeArchive(archive, index){
295
- console.log(archive);
296
- this.$emit('remove-archive', archive.user_id, archive.id, archive.company_id, index);
297
- this.hasRemove = null;
298
- },
299
-
300
- cleatInput() {
301
- this.newNote = '';
302
- },
303
- companyHistory() {
304
- let sms = this.userData.company_sms.map(x => ({
305
- date: x.created_at,
306
- text: 'Recebeu um SMS'
307
- }));
308
- let tests = this.userData.tests.map(x => {
309
- if (x.finished_at) {
310
- return {
311
- date: x.finished_at,
312
- text: `Finalizou o teste ${x.test.name.toUpperCase()}`
313
- };
314
- } else {
315
- return {
316
- date: x.created_at,
317
- text: `Recebeu o teste ${x.test.name.toUpperCase()}`
318
- };
319
- }
320
-
321
- });
322
- let discs = this.userData.solides.map(x => ({
323
- date: x.end,
324
- text: 'Realizou um teste DISC'
325
- }));
326
-
327
- return sms.concat(tests, discs);
328
- },
329
- orderByDate(data) {
330
- let sortedArray = data.sort((a, b) => {
331
- a = a.date || '2020-01-01 12:00:00';
332
- b = b.date || '2020-01-01 12:00:00';
333
-
334
- return new Date(b).getTime() - new Date(a).getTime();
335
- });
336
-
337
- return sortedArray;
338
- },
339
- sendContact() {
340
- this.$emit('open-contact');
341
- }
342
- },
343
- };
344
- </script>
345
- <style>
346
- .el-tabs__nav-wrap::after {
347
- background: #fff !important;
348
- }
349
-
350
- .el-tabs__active-bar {
351
- width: 34px !important;
352
- height: 4px !important;
353
- border-radius: 10px 10px 0px 0px;
354
- }
355
- </style>
356
-
357
- <style lang="scss">
358
- .swal2-title {
359
- font-size: 1rem !important;
360
- }
361
- .swal2-container {
362
- z-index: 5000 !important;
363
- }
364
- </style>
365
-
366
- <style lang="scss" scoped>
367
- @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
368
-
369
- /deep/.dropzone {
370
- width: 95%;
371
-
372
- .dz-message {
373
- padding: 2rem 1rem !important;
374
- }
375
-
376
- button.dz-button {
377
- background-color: transparent;
378
- border: 0;
379
- }
380
- }
381
-
382
- /deep/ .el-tab-pane {
383
- height: 760px;
384
- max-height: 760px;
385
- overflow: hidden;
386
- overflow-y: auto;
387
- position: relative;
388
-
389
- > .notes-title {
390
- position: sticky;
391
- position: -webkit-sticky;
392
- top: 0;
393
- background: white;
394
- padding: 10px 0;
395
- }
396
-
397
- > .input-container {
398
- position: sticky;
399
- position: -webkit-sticky;
400
- bottom: 0;
401
- background: white;
402
- > .input-icon {
403
- cursor: pointer;
404
- position: absolute;
405
- top: 50%;
406
- right: 30px;
407
- transform: translateY(-50%);
408
- color: #c8c8c8;
409
- }
410
- }
411
-
412
- &::-webkit-scrollbar {
413
- width: 8px;
414
- }
415
-
416
- &::-webkit-scrollbar-track {
417
- background: #f5f5f5;
418
- }
419
-
420
- &::-webkit-scrollbar-thumb {
421
- background: #e9e8e8;
422
- border-radius: 10px;
423
- }
424
-
425
- .archive-content {
426
- width: 95%;
427
-
428
- p {
429
- margin-bottom: 0;
430
- font-size: 0.875rem;
431
- padding: .3rem .6rem 0 .6rem;
432
- }
433
-
434
- .archive-container {
435
- display: flex;
436
- align-items: center;
437
- padding: 0.5rem 0.5rem 0.438rem;
438
- cursor: pointer;
439
- user-select: none;
440
-
441
- &:hover{
442
- background-color: #f6f9fc;
443
- border-radius: 5px;
444
- }
445
-
446
- .archive-img {
447
- background-color: #f5f5f5;
448
- border-radius: 6px;
449
- padding: 7px;
450
- }
451
-
452
- .archive-name {
453
- display: flex;
454
- margin-left: .8rem;
455
- width: 145%;
456
- justify-content: space-between !important;
457
-
458
- .archive-icon {
459
- margin-left: 1.5rem;
460
- }
461
-
462
- p {
463
- margin: 0;
464
- padding: 0;
465
- width: 13rem;
466
- white-space: nowrap;
467
- overflow: hidden;
468
- text-overflow: ellipsis;
469
- }
470
- }
471
-
472
- .upload-container {
473
- position: sticky;
474
- position: -webkit-sticky;
475
- bottom: 0;
476
- background: white;
477
- width: 231px;
478
- }
479
- }
480
- }
481
-
482
- .archive-buttons {
483
- display: flex;
484
- margin-top: -1rem;
485
- width: 95%;
486
- }
487
-
488
- .archive-remove {
489
- width: 90%;
490
- word-break: break-word;
491
- }
492
- }
493
-
494
- /deep/ .el-tabs__nav-scroll {
495
- display: flex;
496
- justify-content: space-around;
497
- }
498
-
499
- /deep/ .el-tabs__item {
500
- padding: 0 2.5rem !important;
501
- }
502
-
503
- /deep/ .el-tabs__nav {
504
- width: 100% !important;
505
- }
506
-
507
- @media (max-width: 1520px) {
508
- /deep/ .el-tabs__item {
509
- padding: 0 1.8rem !important;
510
- }
511
- }
512
-
513
- .readmore {
514
- overflow: hidden;
515
- text-overflow: ellipsis;
516
- display: -webkit-box;
517
- -webkit-line-clamp: 3;
518
- -webkit-box-orient: vertical;
519
- }
520
-
521
- .tab__icon-pane {
522
- .img__icon-pane {
523
- background-color: #f5f5f5 !important;
524
- border-radius: 30%;
525
- padding: 7px;
526
- margin-bottom: 1rem;
527
- }
528
- }
529
-
530
- .content-right {
531
- width: 25%;
532
- }
533
-
534
- .notes-title {
535
- font-size: 14px;
536
- color: #1d364b;
537
- font-weight: bold;
538
- background-color: white;
539
- z-index: 500;
540
- }
541
-
542
- .notes-baloon {
543
- width: 231px;
544
- height: auto;
545
-
546
- background: #eff5fd;
547
- border-radius: 10px 10px 10px 0px;
548
- }
549
-
550
- .notes-text {
551
- p {
552
- font-size: 13px;
553
- color: #62778c;
554
- }
555
- }
556
-
557
- .notes-date {
558
- font-size: 11px;
559
- text-align: right;
560
-
561
- color: #8da2b5;
562
- top: calc(50% - 17px / 2 - 444.5px);
563
- }
564
-
565
- .notes-owner {
566
- img {
567
- width: 23px;
568
- height: 23px;
569
- border-radius: 50%;
570
- }
571
-
572
- .notes-avatar {
573
- width: 23px;
574
- height: 23px;
575
- border-radius: 50%;
576
- background-color: #adb5bd;
577
- }
578
-
579
- p {
580
- font-size: 13px;
581
- font-weight: 600;
582
- text-transform: uppercase;
583
-
584
- color: #62778c;
585
- }
586
- }
587
-
588
- .notes-new {
589
- width: 95%;
590
- height: 33px;
591
-
592
- background: #f5f5f5;
593
- border-radius: 16.5px;
594
- border: none;
595
-
596
- outline: 0;
597
- }
598
-
599
- .line {
600
- width: 221px;
601
- height: 0px;
602
-
603
- border: 1px solid #ececec5c;
604
- }
605
-
606
- .history {
607
- word-break: break-word;
608
-
609
- .history-text {
610
- font-size: 13px;
611
- color: #62778c;
612
- }
613
-
614
- span {
615
- font-size: 11px;
616
- line-height: 16px;
617
-
618
- color: #8da2b5;
619
- }
620
- }
621
-
622
- .cursor-disabled {
623
- cursor: no-drop;
624
- }
625
- </style>
1
+ <template>
2
+ <div class="bg-white content-right tabs ">
3
+ <el-tabs
4
+ :class="active"
5
+ class="mt-3 handle-icon-color"
6
+ v-model="active"
7
+ >
8
+ <el-tab-pane class="history ml-2" name="history">
9
+ <span class="tab__icon-pane" slot="label">
10
+ <img
11
+ class="img__icon-pane img__icon--history"
12
+ src="../../../../assets/images/icons/historicCv.svg"
13
+ />
14
+ </span>
15
+ <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
16
+ <p class="notes-title mb-0">Histórico com sua empresa</p>
17
+ <div class="line mb-3"></div>
18
+
19
+ <div
20
+ class="mt-3"
21
+ v-for="(item, index) in orderByDate(companyHistory())"
22
+ :key="index"
23
+ >
24
+ <p class="history-text mb-0">
25
+ {{ item.text }}
26
+ </p>
27
+ <span>{{ item.date | convertDate }}</span>
28
+ </div>
29
+ <p v-show="companyHistory().length === 0" class="history-text">
30
+ Histórico vazio.
31
+ </p>
32
+ </el-tab-pane>
33
+
34
+ <el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
35
+ <span class="tab__icon-pane" slot="label">
36
+ <img
37
+ class="img__icon-pane img__icon--notes"
38
+ src="../../../../assets/images/icons/notesCv.svg"
39
+ />
40
+ </span>
41
+ <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
42
+ <p class="notes-title mb-0">Notas da equipe</p>
43
+ <div class="line mb-3"></div>
44
+ <div
45
+ v-show="notes.length > 0"
46
+ v-for="(note, index) in notes.slice(0, 5)"
47
+ :key="index"
48
+ >
49
+ <div class="notes-baloon">
50
+ <div class="notes-text ml-3 pt-1">
51
+ <p class="mt-3">{{ note.text }}</p>
52
+ </div>
53
+ <div
54
+ class="d-flex justify-content-end align-items-center mr-3"
55
+ >
56
+ <p class="notes-date">
57
+ {{ note.created_at | convertDate }}
58
+ </p>
59
+ </div>
60
+ </div>
61
+ <div class="notes-owner d-flex mt-2">
62
+ <img
63
+ v-show="note.user.urlAvatar"
64
+ :src="note.user.urlAvatar"
65
+ :alt="note.user.name"
66
+ />
67
+ <div
68
+ v-show="!note.user.urlAvatar"
69
+ class="notes-avatar"
70
+ ></div>
71
+ <p class="ml-1">
72
+ {{ note.user.name }}
73
+ </p>
74
+ </div>
75
+ </div>
76
+ <div class="notes-text" v-show="notes.length === 0">
77
+ <p>Nenhuma nota criada.</p>
78
+ </div>
79
+
80
+ <div class="input-container" v-show="!isLocked">
81
+ <input
82
+ class="notes-new pl-4 mt-3 mb-3 form-rounded"
83
+ type="text"
84
+ placeholder="Escrever anotação"
85
+ v-model="newNote"
86
+ @change="$emit('new-note', newNote, userData.id)"
87
+ v-on:change="cleatInput()"
88
+ />
89
+ <i
90
+ @click="
91
+ newNote.length > 0 &&
92
+ $emit('new-note', newNote, userData.id)
93
+ "
94
+ class="fas fa-paper-plane input-icon"
95
+ ></i>
96
+ </div>
97
+ </el-tab-pane>
98
+
99
+ <el-tab-pane name="documents" class="ml-2">
100
+ <span class="tab__icon-pane" slot="label">
101
+ <img
102
+ class="img__icon-pane img__icon--documents"
103
+ src="../../../../assets/images/icons/icon3.svg"
104
+ />
105
+ </span>
106
+ <upgrade-plan @send-contact="sendContact" v-show="isLocked" />
107
+ <p class="notes-title mb-0">Documentos anexados</p>
108
+ <div class="line mb-3"></div>
109
+
110
+ <div class="archive-content">
111
+ <div v-for="(item, index) in archives" :key="index">
112
+ <div @click="openArchive(item)" class="archive-container">
113
+ <div>
114
+ <img class="archive-img" src="../../../../assets/images/icons/icon3.svg" >
115
+ </div>
116
+ <div class="archive-name">
117
+ <p>
118
+ <span>{{item.name}}</span>
119
+ <div class="archive-icon">
120
+ <i @click.stop.prevent="openRemoveSection(item, (index+1))" class="far fa-trash-alt"></i>
121
+ </div>
122
+ </p>
123
+ </div>
124
+ </div>
125
+ <div v-if="hasRemove && hasRemove == (index+1)" class="archive-remove">
126
+ <p>Você tem certeza que deseja apagar este arquivo?</p>
127
+ <div class="d-flex">
128
+ <base-button
129
+ @click="removeArchive(currentRemoveItem, index)"
130
+ size="sm"
131
+ class="btn-outline-primary col-6 p-1"
132
+ >
133
+ Apagar
134
+ </base-button>
135
+ <base-button
136
+ @click="hasRemove = false"
137
+ size="sm"
138
+ class="btn-outline-danger col-6 p-1"
139
+ >
140
+ Cancelar
141
+ </base-button>
142
+ </div>
143
+ </div>
144
+ </div>
145
+
146
+ </div>
147
+ <div class="notes-text" v-show="archives == null">
148
+ <p>Nenhum arquvio anexado.</p>
149
+ </div>
150
+
151
+ <div class="input-container" v-show="!isLocked">
152
+ <div class="mt-5">
153
+
154
+ <dropzone-file-upload
155
+ disabled
156
+ @error="showMessageError"
157
+ ref="Mydropzone"
158
+ :options="dropzoneOptions"
159
+ v-model="fileToUpload"
160
+ />
161
+ </div>
162
+
163
+ <div class="archive-buttons">
164
+ <base-button @click="saveImage" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
165
+ </div>
166
+ </div>
167
+ </el-tab-pane>
168
+
169
+ <!-- <el-tab-pane :disabled="true">
170
+ <span class="tab__icon-pane cursor-disabled" slot="label">
171
+ <img
172
+ class="img__icon-pane"
173
+ src="../../../../assets/images/icons/icon4.svg"
174
+ />
175
+ </span>
176
+ </el-tab-pane> -->
177
+ </el-tabs>
178
+ </div>
179
+ </template>
180
+
181
+ <script>
182
+ import { Tabs, TabPane } from 'element-ui';
183
+ import DropzoneFileUpload from '@burh/nuxt-core/components/argon-core/Inputs/DropzoneFileUpload.vue';
184
+ import swal from 'sweetalert2';
185
+ import UpgradePlan from './UpgradePlan.vue';
186
+
187
+ export default {
188
+ name: 'user-cv-right-side',
189
+ filters: {
190
+ convertDate(data) {
191
+ if (typeof data !== 'string') {
192
+ data = '2020-01-01 12:00:00';
193
+ }
194
+ let d = new Date(data);
195
+ let options = { hour: '2-digit', minute: '2-digit' };
196
+ return d.toLocaleDateString('pt-BR', options);
197
+ }
198
+ },
199
+ watch:{
200
+ fileToUpload(value){
201
+ if(value.length > 0 && value[0].accepted) {
202
+ this.isError = false;
203
+ }
204
+ }
205
+ },
206
+ components: {
207
+ [Tabs.name]: Tabs,
208
+ [TabPane.name]: TabPane,
209
+ DropzoneFileUpload,
210
+ UpgradePlan
211
+ },
212
+ data(){
213
+ return {
214
+ newNote: '',
215
+ active: this.activeName,
216
+ hasRemove: null,
217
+ isError: true,
218
+ currentRemoveItem: null,
219
+ fileToUpload: [],
220
+ dropzoneOptions: {
221
+ maxFilesize: 5,
222
+ dictFileTooBig:'Seu arquivo é poderoso demais (Máximo 5mb).',
223
+ dictDefaultMessage: 'Clique ou arraste seu arquivo aqui.',
224
+ dictInvalidFileType: 'Arquivo invalido.',
225
+ dictMaxFilesExceeded: 'Não é permitido mais de um arquivo por vez.',
226
+ acceptedFiles: 'image/*, application/pdf',
227
+ },
228
+ isLocked: !this.companyHasProduct(
229
+ this.$store.state.loja.showableProducts['HISTORICO_USUARIO']
230
+ ),
231
+ };
232
+ },
233
+ props: {
234
+ archives: Array,
235
+ userData: Object,
236
+ notes: Array,
237
+ activeName: String,
238
+ isNotesActived: {
239
+ type: Boolean,
240
+ default: true
241
+ },
242
+ },
243
+ mounted() {
244
+ this.companyHistory();
245
+ },
246
+ methods: {
247
+ openRemoveSection(item, index) {
248
+ this.hasRemove = index;
249
+ this.currentRemoveItem = item;
250
+ },
251
+
252
+ showToast(type, title){
253
+ const Toast = swal.mixin({
254
+ toast: true,
255
+ position: 'top-end',
256
+ showConfirmButton: false,
257
+ timer: 3100,
258
+ });
259
+
260
+ return Toast.fire({
261
+ type: type,
262
+ title: title
263
+ });
264
+ },
265
+
266
+ showMessageError(file, message) {
267
+ this.isError = true;
268
+ this.$refs.Mydropzone.removeAllFiles();
269
+
270
+ if (file.status !== 'canceled'){
271
+ this.showToast('error', message);
272
+ }
273
+ },
274
+
275
+ openArchive(item) {
276
+ window.open(item.annex_url, '_blank');
277
+ },
278
+
279
+ saveImage(){
280
+ if (!this.isError) {
281
+ this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
282
+ this.$refs.Mydropzone.removeAllFiles();
283
+ this.showToast('success', 'Arquivo enviado com sucesso.');
284
+
285
+ } else {
286
+ if (this.fileToUpload.length > 0) {
287
+ this.showToast('error', 'Arquivo invalido.');
288
+ } else {
289
+ this.showToast('warning', 'Selecione um arquivo.');
290
+ }
291
+ }
292
+ },
293
+
294
+ removeArchive(archive, index){
295
+ console.log(archive);
296
+ this.$emit('remove-archive', archive.user_id, archive.id, archive.company_id, index);
297
+ this.hasRemove = null;
298
+ },
299
+
300
+ cleatInput() {
301
+ this.newNote = '';
302
+ },
303
+ companyHistory() {
304
+ let sms = this.userData.company_sms.map(x => ({
305
+ date: x.created_at,
306
+ text: 'Recebeu um SMS'
307
+ }));
308
+ let tests = this.userData.tests.map(x => {
309
+ if (x.finished_at) {
310
+ return {
311
+ date: x.finished_at,
312
+ text: `Finalizou o teste ${x.test.name.toUpperCase()}`
313
+ };
314
+ } else {
315
+ return {
316
+ date: x.created_at,
317
+ text: `Recebeu o teste ${x.test.name.toUpperCase()}`
318
+ };
319
+ }
320
+
321
+ });
322
+ let discs = this.userData.solides.map(x => ({
323
+ date: x.end,
324
+ text: 'Realizou um teste DISC'
325
+ }));
326
+
327
+ return sms.concat(tests, discs);
328
+ },
329
+ orderByDate(data) {
330
+ let sortedArray = data.sort((a, b) => {
331
+ a = a.date || '2020-01-01 12:00:00';
332
+ b = b.date || '2020-01-01 12:00:00';
333
+
334
+ return new Date(b).getTime() - new Date(a).getTime();
335
+ });
336
+
337
+ return sortedArray;
338
+ },
339
+ sendContact() {
340
+ this.$emit('open-contact');
341
+ }
342
+ },
343
+ };
344
+ </script>
345
+ <style>
346
+ .el-tabs__nav-wrap::after {
347
+ background: #fff !important;
348
+ }
349
+
350
+ .el-tabs__active-bar {
351
+ width: 34px !important;
352
+ height: 4px !important;
353
+ border-radius: 10px 10px 0px 0px;
354
+ }
355
+ </style>
356
+
357
+ <style lang="scss">
358
+ .swal2-title {
359
+ font-size: 1rem !important;
360
+ }
361
+ .swal2-container {
362
+ z-index: 5000 !important;
363
+ }
364
+ </style>
365
+
366
+ <style lang="scss" scoped>
367
+ @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
368
+
369
+ /deep/.dropzone {
370
+ width: 95%;
371
+
372
+ .dz-message {
373
+ padding: 2rem 1rem !important;
374
+ }
375
+
376
+ button.dz-button {
377
+ background-color: transparent;
378
+ border: 0;
379
+ }
380
+ }
381
+
382
+ /deep/ .el-tab-pane {
383
+ height: 760px;
384
+ max-height: 760px;
385
+ overflow: hidden;
386
+ overflow-y: auto;
387
+ position: relative;
388
+
389
+ > .notes-title {
390
+ position: sticky;
391
+ position: -webkit-sticky;
392
+ top: 0;
393
+ background: white;
394
+ padding: 10px 0;
395
+ }
396
+
397
+ > .input-container {
398
+ position: sticky;
399
+ position: -webkit-sticky;
400
+ bottom: 0;
401
+ background: white;
402
+ > .input-icon {
403
+ cursor: pointer;
404
+ position: absolute;
405
+ top: 50%;
406
+ right: 30px;
407
+ transform: translateY(-50%);
408
+ color: #c8c8c8;
409
+ }
410
+ }
411
+
412
+ &::-webkit-scrollbar {
413
+ width: 8px;
414
+ }
415
+
416
+ &::-webkit-scrollbar-track {
417
+ background: #f5f5f5;
418
+ }
419
+
420
+ &::-webkit-scrollbar-thumb {
421
+ background: #e9e8e8;
422
+ border-radius: 10px;
423
+ }
424
+
425
+ .archive-content {
426
+ width: 95%;
427
+
428
+ p {
429
+ margin-bottom: 0;
430
+ font-size: 0.875rem;
431
+ padding: .3rem .6rem 0 .6rem;
432
+ }
433
+
434
+ .archive-container {
435
+ display: flex;
436
+ align-items: center;
437
+ padding: 0.5rem 0.5rem 0.438rem;
438
+ cursor: pointer;
439
+ user-select: none;
440
+
441
+ &:hover{
442
+ background-color: #f6f9fc;
443
+ border-radius: 5px;
444
+ }
445
+
446
+ .archive-img {
447
+ background-color: #f5f5f5;
448
+ border-radius: 6px;
449
+ padding: 7px;
450
+ }
451
+
452
+ .archive-name {
453
+ display: flex;
454
+ margin-left: .8rem;
455
+ width: 145%;
456
+ justify-content: space-between !important;
457
+
458
+ .archive-icon {
459
+ margin-left: 1.5rem;
460
+ }
461
+
462
+ p {
463
+ margin: 0;
464
+ padding: 0;
465
+ width: 13rem;
466
+ white-space: nowrap;
467
+ overflow: hidden;
468
+ text-overflow: ellipsis;
469
+ }
470
+ }
471
+
472
+ .upload-container {
473
+ position: sticky;
474
+ position: -webkit-sticky;
475
+ bottom: 0;
476
+ background: white;
477
+ width: 231px;
478
+ }
479
+ }
480
+ }
481
+
482
+ .archive-buttons {
483
+ display: flex;
484
+ margin-top: -1rem;
485
+ width: 95%;
486
+ }
487
+
488
+ .archive-remove {
489
+ width: 90%;
490
+ word-break: break-word;
491
+ }
492
+ }
493
+
494
+ /deep/ .el-tabs__nav-scroll {
495
+ display: flex;
496
+ justify-content: space-around;
497
+ }
498
+
499
+ /deep/ .el-tabs__item {
500
+ padding: 0 2.5rem !important;
501
+ }
502
+
503
+ /deep/ .el-tabs__nav {
504
+ width: 100% !important;
505
+ }
506
+
507
+ @media (max-width: 1520px) {
508
+ /deep/ .el-tabs__item {
509
+ padding: 0 1.8rem !important;
510
+ }
511
+ }
512
+
513
+ .readmore {
514
+ overflow: hidden;
515
+ text-overflow: ellipsis;
516
+ display: -webkit-box;
517
+ -webkit-line-clamp: 3;
518
+ -webkit-box-orient: vertical;
519
+ }
520
+
521
+ .tab__icon-pane {
522
+ .img__icon-pane {
523
+ background-color: #f5f5f5 !important;
524
+ border-radius: 30%;
525
+ padding: 7px;
526
+ margin-bottom: 1rem;
527
+ }
528
+ }
529
+
530
+ .content-right {
531
+ width: 25%;
532
+ }
533
+
534
+ .notes-title {
535
+ font-size: 14px;
536
+ color: #1d364b;
537
+ font-weight: bold;
538
+ background-color: white;
539
+ z-index: 500;
540
+ }
541
+
542
+ .notes-baloon {
543
+ width: 231px;
544
+ height: auto;
545
+
546
+ background: #eff5fd;
547
+ border-radius: 10px 10px 10px 0px;
548
+ }
549
+
550
+ .notes-text {
551
+ p {
552
+ font-size: 13px;
553
+ color: #62778c;
554
+ }
555
+ }
556
+
557
+ .notes-date {
558
+ font-size: 11px;
559
+ text-align: right;
560
+
561
+ color: #8da2b5;
562
+ top: calc(50% - 17px / 2 - 444.5px);
563
+ }
564
+
565
+ .notes-owner {
566
+ img {
567
+ width: 23px;
568
+ height: 23px;
569
+ border-radius: 50%;
570
+ }
571
+
572
+ .notes-avatar {
573
+ width: 23px;
574
+ height: 23px;
575
+ border-radius: 50%;
576
+ background-color: #adb5bd;
577
+ }
578
+
579
+ p {
580
+ font-size: 13px;
581
+ font-weight: 600;
582
+ text-transform: uppercase;
583
+
584
+ color: #62778c;
585
+ }
586
+ }
587
+
588
+ .notes-new {
589
+ width: 95%;
590
+ height: 33px;
591
+
592
+ background: #f5f5f5;
593
+ border-radius: 16.5px;
594
+ border: none;
595
+
596
+ outline: 0;
597
+ }
598
+
599
+ .line {
600
+ width: 221px;
601
+ height: 0px;
602
+
603
+ border: 1px solid #ececec5c;
604
+ }
605
+
606
+ .history {
607
+ word-break: break-word;
608
+
609
+ .history-text {
610
+ font-size: 13px;
611
+ color: #62778c;
612
+ }
613
+
614
+ span {
615
+ font-size: 11px;
616
+ line-height: 16px;
617
+
618
+ color: #8da2b5;
619
+ }
620
+ }
621
+
622
+ .cursor-disabled {
623
+ cursor: no-drop;
624
+ }
625
+ </style>