@burh/nuxt-core 1.0.501 → 1.0.503
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.
- package/.ebignore +25 -25
- package/.elasticbeanstalk/config.yml +18 -18
- package/.eslintrc.json +39 -39
- package/.gitlab-ci.yml +16 -16
- package/.vscode/settings.json +10 -10
- package/CHANGELOG.md +2 -2
- package/README.md +22 -22
- package/app.html +8 -8
- package/assets/css/font-awesome/css/font-awesome.css +2337 -2337
- package/assets/css/font-awesome/css/font-awesome.min.css +4 -4
- package/assets/css/font-awesome/fonts/fontawesome-webfont.svg +2671 -2671
- package/assets/css/nucleo/css/nucleo-svg.css +134 -134
- package/assets/css/nucleo/css/nucleo.css +572 -572
- package/assets/css/nucleo/fonts/nucleo-icons.svg +312 -312
- package/assets/css/variables.css +2 -2
- package/assets/images/burhCv.svg +6 -6
- package/assets/images/facebookCv.svg +3 -3
- package/assets/images/icons/facebook.svg +14 -14
- package/assets/images/icons/historicCv.svg +3 -3
- package/assets/images/icons/icon3.svg +3 -3
- package/assets/images/icons/icon4.svg +3 -3
- package/assets/images/icons/icon5.svg +3 -3
- package/assets/images/icons/icon6.svg +3 -3
- package/assets/images/icons/icon7.svg +3 -3
- package/assets/images/icons/icon8.svg +7 -7
- package/assets/images/icons/linkedin.svg +14 -14
- package/assets/images/icons/notesCv.svg +3 -3
- package/assets/images/icons/twitter.svg +14 -14
- package/assets/images/icons/whatsapp.svg +14 -14
- package/assets/images/linkedinCv.svg +3 -3
- package/assets/images/webCv.svg +4 -4
- package/assets/sass/argon.scss +104 -104
- package/assets/sass/burh-ds/_components.scss +142 -142
- package/assets/sass/burh-ds/_functions.scss +29 -29
- package/assets/sass/burh-ds/_global.scss +327 -327
- package/assets/sass/burh-ds/_helpers.scss +18 -18
- package/assets/sass/burh-ds/_mixins.scss +17 -17
- package/assets/sass/burh-ds/_transitions.scss +12 -12
- package/assets/sass/burh-ds/_utilities.scss +31 -31
- package/assets/sass/burh-ds/_variables.scss +963 -963
- package/assets/sass/burh-ds/_vendors.scss +38 -38
- package/assets/sass/burh-ds/atoms/_badge.scss +5 -5
- package/assets/sass/burh-ds/atoms/_buttons.scss +222 -222
- package/assets/sass/burh-ds/atoms/_forms.scss +419 -419
- package/assets/sass/burh-ds/atoms/_tables.scss +31 -31
- package/assets/sass/burh-ds/atoms/_type.scss +147 -147
- package/assets/sass/burh-ds/content/_interface-spa.scss +306 -306
- package/assets/sass/burh-ds/content/_main-content.scss +25 -25
- package/assets/sass/burh-ds/mixins/_badge.scss +37 -37
- package/assets/sass/burh-ds/mixins/_breakpoints.scss +39 -39
- package/assets/sass/burh-ds/mixins/_grid-framework.scss +66 -66
- package/assets/sass/burh-ds/mixins/_grid.scss +51 -51
- package/assets/sass/burh-ds/molecules/_box.scss +282 -282
- package/assets/sass/burh-ds/molecules/_breadcrumb.scss +8 -8
- package/assets/sass/burh-ds/molecules/_modal.scss +176 -176
- package/assets/sass/burh-ds/molecules/_navbar.scss +262 -262
- package/assets/sass/burh-ds/molecules/_notifications.scss +1 -1
- package/assets/sass/burh-ds/molecules/_steps-profile.scss +67 -67
- package/assets/sass/burh-ds/molecules/_testimonial.scss +53 -53
- package/assets/sass/burh-ds/organisms/_banner.scss +51 -51
- package/assets/sass/burh-ds/organisms/_cards.scss +228 -228
- package/assets/sass/burh-ds/organisms/_carousel.scss +113 -113
- package/assets/sass/burh-ds/organisms/_footer.scss +115 -115
- package/assets/sass/burh-ds/organisms/_profile-bar.scss +130 -130
- package/assets/sass/burh-ds/organisms/_search.scss +17 -17
- package/assets/sass/burh-ds/organisms/_subheader.scss +773 -773
- package/assets/sass/burh-ds/organisms/_tabs-setting.scss +123 -123
- package/assets/sass/burh-ds/organisms/banners/_banner.scss +62 -62
- package/assets/sass/burh-ds/organisms/cards/_featured-company.scss +17 -17
- package/assets/sass/burh-ds/organisms/cards/_opportunity.scss +16 -16
- package/assets/sass/burh-ds/pages/_error.scss +124 -124
- package/assets/sass/burh-ds/pages/_jobs.scss +424 -424
- package/assets/sass/burh-ds/pages/_testes.scss +350 -350
- package/assets/sass/burh-ds/variables/_colors.scss +358 -356
- package/assets/sass/burh-ds/variables/_global_settings.scss +39 -39
- package/assets/sass/core/alerts/_alert-dismissible.scss +48 -48
- package/assets/sass/core/alerts/_alert-notify.scss +47 -47
- package/assets/sass/core/alerts/_alert.scss +49 -49
- package/assets/sass/core/avatars/_avatar-group.scss +22 -22
- package/assets/sass/core/avatars/_avatar.scss +59 -59
- package/assets/sass/core/badges/_badge-circle.scss +29 -29
- package/assets/sass/core/badges/_badge-dot.scss +42 -42
- package/assets/sass/core/badges/_badge-floating.scss +18 -18
- package/assets/sass/core/badges/_badge.scss +67 -67
- package/assets/sass/core/breadcrumbs/_breadcrumb.scss +42 -42
- package/assets/sass/core/buttons/_button-brand.scss +12 -12
- package/assets/sass/core/buttons/_button-group.scss +79 -79
- package/assets/sass/core/buttons/_button-icon.scss +92 -92
- package/assets/sass/core/buttons/_button.scss +90 -90
- package/assets/sass/core/cards/_card-animations.scss +10 -10
- package/assets/sass/core/cards/_card-blockquote.scss +17 -17
- package/assets/sass/core/cards/_card-money.scss +27 -27
- package/assets/sass/core/cards/_card-pricing.scss +26 -26
- package/assets/sass/core/cards/_card-profile.scss +49 -49
- package/assets/sass/core/cards/_card-stats.scss +16 -16
- package/assets/sass/core/cards/_card.scss +70 -70
- package/assets/sass/core/charts/_chart.scss +69 -69
- package/assets/sass/core/close/_close.scss +47 -47
- package/assets/sass/core/collapse/_accordion.scss +38 -38
- package/assets/sass/core/content/_main-content.scss +17 -17
- package/assets/sass/core/custom-forms/_custom-checkbox.scss +47 -47
- package/assets/sass/core/custom-forms/_custom-control.scss +58 -58
- package/assets/sass/core/custom-forms/_custom-form.scss +45 -45
- package/assets/sass/core/custom-forms/_custom-radio.scss +38 -38
- package/assets/sass/core/custom-forms/_custom-toggle.scss +122 -122
- package/assets/sass/core/dropdowns/_dropdown.scss +89 -89
- package/assets/sass/core/footers/_footer.scss +159 -159
- package/assets/sass/core/forms/_form-extend.scss +38 -38
- package/assets/sass/core/forms/_form-validation.scss +78 -78
- package/assets/sass/core/forms/_form.scss +125 -125
- package/assets/sass/core/forms/_input-group.scss +136 -136
- package/assets/sass/core/grid/_grid.scss +31 -31
- package/assets/sass/core/headers/_header.scss +7 -7
- package/assets/sass/core/icons/_icon-actions.scss +57 -57
- package/assets/sass/core/icons/_icon-shape.scss +48 -48
- package/assets/sass/core/icons/_icon.scss +88 -88
- package/assets/sass/core/list-groups/_list-check.scss +52 -52
- package/assets/sass/core/list-groups/_list-group.scss +46 -46
- package/assets/sass/core/maps/_map.scss +10 -10
- package/assets/sass/core/masks/_mask.scss +33 -33
- package/assets/sass/core/medias/_media-comment.scss +33 -33
- package/assets/sass/core/medias/_media.scss +3 -3
- package/assets/sass/core/mixins/_alert.scss +22 -22
- package/assets/sass/core/mixins/_background-variant.scss +30 -30
- package/assets/sass/core/mixins/_badge.scss +12 -12
- package/assets/sass/core/mixins/_buttons.scss +105 -105
- package/assets/sass/core/mixins/_custom-forms.scss +47 -47
- package/assets/sass/core/mixins/_forms.scss +127 -127
- package/assets/sass/core/mixins/_icon.scss +10 -10
- package/assets/sass/core/mixins/_modals.scss +25 -25
- package/assets/sass/core/mixins/_popover.scss +35 -35
- package/assets/sass/core/modals/_modal.scss +31 -31
- package/assets/sass/core/navbars/_navbar-collapse.scss +37 -37
- package/assets/sass/core/navbars/_navbar-dropdown.scss +121 -121
- package/assets/sass/core/navbars/_navbar-floating.scss +17 -17
- package/assets/sass/core/navbars/_navbar-search.scss +216 -216
- package/assets/sass/core/navbars/_navbar-top.scss +58 -58
- package/assets/sass/core/navbars/_navbar-vertical.scss +507 -507
- package/assets/sass/core/navbars/_navbar.scss +368 -368
- package/assets/sass/core/navs/_nav-pills.scss +66 -66
- package/assets/sass/core/navs/_nav.scss +33 -33
- package/assets/sass/core/paginations/_pagination.scss +49 -49
- package/assets/sass/core/popovers/_popover.scss +21 -21
- package/assets/sass/core/progresses/_progress.scss +89 -89
- package/assets/sass/core/reboot/_reboot.scss +13 -13
- package/assets/sass/core/sections/_nucleo-icons.scss +117 -117
- package/assets/sass/core/separators/_separator.scss +54 -54
- package/assets/sass/core/shortcuts/_shortcut.scss +30 -30
- package/assets/sass/core/tables/_table-actions.scss +25 -25
- package/assets/sass/core/tables/_table-sortable.scss +28 -28
- package/assets/sass/core/tables/_table.scss +153 -153
- package/assets/sass/core/timeline/_timeline.scss +182 -182
- package/assets/sass/core/type/_article.scss +22 -22
- package/assets/sass/core/type/_display.scss +14 -14
- package/assets/sass/core/type/_heading.scss +65 -65
- package/assets/sass/core/type/_type.scss +27 -27
- package/assets/sass/core/utilities/_backgrounds.scss +51 -51
- package/assets/sass/core/utilities/_blurable.scss +37 -37
- package/assets/sass/core/utilities/_floating.scss +64 -64
- package/assets/sass/core/utilities/_helper.scss +18 -18
- package/assets/sass/core/utilities/_image.scss +9 -9
- package/assets/sass/core/utilities/_opacity.scss +35 -35
- package/assets/sass/core/utilities/_overflow.scss +11 -11
- package/assets/sass/core/utilities/_position.scss +25 -25
- package/assets/sass/core/utilities/_shadows.scss +28 -28
- package/assets/sass/core/utilities/_sizing.scss +7 -7
- package/assets/sass/core/utilities/_spacing.scss +107 -107
- package/assets/sass/core/utilities/_text.scss +49 -49
- package/assets/sass/core/utilities/_transform.scss +13 -13
- package/assets/sass/core/vendors/_bootstrap-datepicker.scss +279 -279
- package/assets/sass/core/vendors/_bootstrap-tagsinput.scss +67 -67
- package/assets/sass/core/vendors/_chartjs.scss +22 -22
- package/assets/sass/core/vendors/_dropzone.scss +74 -74
- package/assets/sass/core/vendors/_element-checkbox.scss +26 -26
- package/assets/sass/core/vendors/_element-tables.scss +61 -61
- package/assets/sass/core/vendors/_flatpickr.scss +72 -72
- package/assets/sass/core/vendors/_fullcalendar.scss +256 -256
- package/assets/sass/core/vendors/_headroom.scss +25 -25
- package/assets/sass/core/vendors/_lavalamp.scss +157 -157
- package/assets/sass/core/vendors/_nouislider.scss +413 -413
- package/assets/sass/core/vendors/_quill.scss +280 -280
- package/assets/sass/core/vendors/_scrollbar.scss +949 -949
- package/assets/sass/core/vendors/_select.scss +70 -70
- package/assets/sass/core/vendors/_sweet-alert-2.scss +22 -22
- package/assets/sass/core/vendors/_tags.scss +32 -32
- package/assets/sass/core/vendors/_vectormap.scss +16 -16
- package/assets/sass/custom/_components.scss +142 -142
- package/assets/sass/custom/_functions.scss +29 -29
- package/assets/sass/custom/_mixins.scss +15 -15
- package/assets/sass/custom/_transitions.scss +12 -12
- package/assets/sass/custom/_utilities.scss +31 -31
- package/assets/sass/custom/_variables.scss +1077 -1077
- package/assets/sass/custom/_vendors.scss +38 -38
- package/components/argon-core/Badge.vue +56 -56
- package/components/argon-core/Banners/Banner.vue +28 -28
- package/components/argon-core/Banners/BannerItem.vue +13 -13
- package/components/argon-core/BaseAlert.vue +74 -74
- package/components/argon-core/BaseButton.vue +81 -81
- package/components/argon-core/BaseDropdown.vue +114 -114
- package/components/argon-core/BaseHeader.vue +21 -21
- package/components/argon-core/BasePagination.vue +172 -172
- package/components/argon-core/BaseProgress.vue +121 -121
- package/components/argon-core/BaseSlider.vue +96 -96
- package/components/argon-core/BaseSwitch.vue +46 -46
- package/components/argon-core/BaseTable.vue +70 -70
- package/components/argon-core/Breadcrumb/Breadcrumb.vue +26 -26
- package/components/argon-core/Breadcrumb/BreadcrumbItem.vue +16 -16
- package/components/argon-core/Breadcrumb/RouteBreadcrumb.vue +45 -45
- package/components/argon-core/ButtonCheckbox.vue +39 -39
- package/components/argon-core/ButtonRadioGroup.vue +47 -47
- package/components/argon-core/Cards/Card.vue +71 -71
- package/components/argon-core/Cards/OpportunityCard.vue +39 -39
- package/components/argon-core/Cards/StatsCard.vue +49 -49
- package/components/argon-core/Charts/BarChart.js +30 -30
- package/components/argon-core/Charts/DoughnutChart.js +30 -30
- package/components/argon-core/Charts/LineChart.js +30 -30
- package/components/argon-core/Charts/PieChart.js +30 -30
- package/components/argon-core/Charts/config.js +491 -491
- package/components/argon-core/Charts/globalOptionsMixin.js +7 -7
- package/components/argon-core/Charts/optionHelpers.js +10 -10
- package/components/argon-core/CloseButton.vue +35 -35
- package/components/argon-core/Collapse/Collapse.vue +84 -84
- package/components/argon-core/Collapse/CollapseItem.vue +91 -91
- package/components/argon-core/Feed/Comment.vue +50 -50
- package/components/argon-core/Inputs/BaseCheckbox.vue +79 -79
- package/components/argon-core/Inputs/BaseInput.vue +270 -270
- package/components/argon-core/Inputs/BaseRadio.vue +68 -68
- package/components/argon-core/Inputs/DropzoneFileUpload.vue +138 -138
- package/components/argon-core/Inputs/DropzoneVideoUpload.vue +138 -138
- package/components/argon-core/Inputs/FileInput.vue +54 -54
- package/components/argon-core/Inputs/HtmlEditor.vue +105 -105
- package/components/argon-core/Inputs/IconCheckbox.vue +45 -45
- package/components/argon-core/Inputs/TagsInput.vue +100 -100
- package/components/argon-core/LoadingPanel.vue +26 -26
- package/components/argon-core/Modal.vue +180 -180
- package/components/argon-core/Navbar/BaseNav.vue +122 -122
- package/components/argon-core/Navbar/NavbarProgress.vue +19 -19
- package/components/argon-core/Navbar/NavbarProgressItem.vue +17 -17
- package/components/argon-core/Navbar/NavbarToggleButton.vue +21 -21
- package/components/argon-core/NavbarToggleButton.vue +29 -29
- package/components/argon-core/NotificationPlugin/Notification.vue +207 -207
- package/components/argon-core/NotificationPlugin/Notifications.vue +55 -55
- package/components/argon-core/NotificationPlugin/index.js +66 -66
- package/components/argon-core/SidebarPlugin/SideBar.vue +119 -119
- package/components/argon-core/SidebarPlugin/SidebarItem.vue +184 -184
- package/components/argon-core/SidebarPlugin/index.js +79 -79
- package/components/argon-core/Tabs/Tab.vue +33 -33
- package/components/argon-core/Tabs/Tabs.vue +170 -170
- package/components/argon-core/Timeline/TimeLine.vue +17 -17
- package/components/argon-core/Timeline/TimeLineItem.vue +30 -30
- package/components/argon-core/WorldMap/AsyncWorldMap.vue +28 -28
- package/components/argon-core/WorldMap/WorldMap.vue +127 -127
- package/components/argon-core/index.js +82 -82
- package/components/burh-ds/Aboutme/Profile.vue +111 -0
- package/components/burh-ds/Avatar/AvatarLink.vue +44 -44
- package/components/burh-ds/Avatar/BusinessAvatar.vue +38 -38
- package/components/burh-ds/Banners/BannerHero.vue +23 -23
- package/components/burh-ds/Banners/BannerItem.vue +14 -14
- package/components/burh-ds/Button/ExportButton.vue +20 -20
- package/components/burh-ds/Button/SwitchStateButton.vue +165 -165
- package/components/burh-ds/Capsules/SearchSlug.vue +860 -860
- package/components/burh-ds/Capsules/UserProfile.vue +1938 -1938
- package/components/burh-ds/Cards/BaseCard.vue +195 -195
- package/components/burh-ds/Cards/CampaignCard.vue +40 -40
- package/components/burh-ds/Cards/CompanyCard.vue +39 -39
- package/components/burh-ds/Cards/CourseInfoCard.vue +267 -267
- package/components/burh-ds/Cards/FeatureBusinessCard.vue +74 -74
- package/components/burh-ds/Cards/FunctionalityItem.vue +35 -35
- package/components/burh-ds/Cards/OpportunityCard.vue +115 -115
- package/components/burh-ds/Cards/PerformanceCard.vue +81 -81
- package/components/burh-ds/Cards/PerformanceItem.vue +65 -65
- package/components/burh-ds/Cards/PlanCard.vue +192 -192
- package/components/burh-ds/Cards/ProductCard.vue +142 -142
- package/components/burh-ds/Cards/PurchaseCard.vue +58 -58
- package/components/burh-ds/Cards/PurchaseCardSimple.vue +58 -58
- package/components/burh-ds/Cards/TestCard.vue +192 -192
- package/components/burh-ds/Cards/TrainingCard.vue +151 -151
- package/components/burh-ds/Cards/WelcomeCard.vue +106 -106
- package/components/burh-ds/Carousel/FeedCarousel.vue +47 -47
- package/components/burh-ds/Carousel/ImageCarousel.vue +111 -111
- package/components/burh-ds/Chart/DoughnutChart.vue +20 -20
- package/components/burh-ds/Collapse/DefaultCollapse.vue +70 -70
- package/components/burh-ds/Crop/Crop.vue +121 -121
- package/components/burh-ds/Curriculum/UserCurriculum/UpgradePlan.vue +71 -71
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +542 -523
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +590 -590
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +1266 -1266
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSideNotAuth.vue +496 -496
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +258 -258
- package/components/burh-ds/Dropdown/AppLinkArea.vue +132 -132
- package/components/burh-ds/Dropdown/DropdownItem.vue +26 -26
- package/components/burh-ds/Dropdown/DropdownSection.vue +38 -38
- package/components/burh-ds/Dropdown/FaqVideoArea.vue +88 -88
- package/components/burh-ds/Dropdown/SignOutItem.vue +11 -11
- package/components/burh-ds/Dropdown/UserMenuDropdown.vue +63 -63
- package/components/burh-ds/FeaturedCompanies/FeaturedCompanies.vue +11 -11
- package/components/burh-ds/FeaturedCompanies/FeaturedCompanyCard.vue +16 -16
- package/components/burh-ds/Filters/BaseFilterContainer.vue +138 -138
- package/components/burh-ds/Filters/FilterWithDropdown.vue +289 -289
- package/components/burh-ds/Groups/ProductItem.vue +62 -62
- package/components/burh-ds/Groups/SimpleProductItem.vue +164 -162
- package/components/burh-ds/Headings/AppHeader.vue +373 -373
- package/components/burh-ds/Headings/BaseHeader.vue +24 -24
- package/components/burh-ds/Headings/Profile.vue +66 -66
- package/components/burh-ds/Headings/ProfileHeader.vue +105 -105
- package/components/burh-ds/Headings/SettingsHeader.vue +48 -48
- package/components/burh-ds/Headings/StepHeader.vue +122 -122
- package/components/burh-ds/Img/ImageWithFallback.vue +67 -67
- package/components/burh-ds/Input/AutoComplete.vue +136 -136
- package/components/burh-ds/Inputs/BaseCheckbox.vue +73 -73
- package/components/burh-ds/Inputs/BaseSwitch.vue +43 -43
- package/components/burh-ds/Inputs/BaseSwitchSecondary.vue +84 -84
- package/components/burh-ds/Inputs/DoubleInputWithIcon.vue +100 -100
- package/components/burh-ds/Inputs/HtmlEditor.vue +60 -60
- package/components/burh-ds/Inputs/SearchInput.vue +88 -88
- package/components/burh-ds/InterfaceSpa/InterfaceSpa.vue +83 -83
- package/components/burh-ds/Jobs/JobDetail.vue +432 -432
- package/components/burh-ds/Jobs/JobDetailDesign.vue +151 -151
- package/components/burh-ds/Jobs/JobDetailEmpty.vue +27 -27
- package/components/burh-ds/Labels/LabelContextIcon.vue +58 -58
- package/components/burh-ds/Link/DefaultLink.vue +30 -30
- package/components/burh-ds/Lists/ListAvatarCheckbox.vue +157 -157
- package/components/burh-ds/Lists/ListNavLinks.vue +54 -54
- package/components/burh-ds/Lists/VagasSimple.vue +404 -404
- package/components/burh-ds/Loadings/Basics.vue +80 -80
- package/components/burh-ds/Loadings/InfiniteLoading.vue +21 -21
- package/components/burh-ds/Loadings/LoadingFullPage.vue +68 -68
- package/components/burh-ds/Loadings/NewLoading.vue +119 -119
- package/components/burh-ds/Loads/LoadingBar.vue +83 -83
- package/components/burh-ds/Modals/AddCustomerModal.vue +484 -484
- package/components/burh-ds/Modals/AddMember.vue +255 -255
- package/components/burh-ds/Modals/AddRoleModal.vue +139 -139
- package/components/burh-ds/Modals/AppConfigModal.vue +643 -643
- package/components/burh-ds/Modals/CourseMessageModal.vue +66 -66
- package/components/burh-ds/Modals/DocsModal.vue +111 -111
- package/components/burh-ds/Modals/DropzoneModal.vue +125 -125
- package/components/burh-ds/Modals/InviteToRole.vue +287 -287
- package/components/burh-ds/Modals/MobileModal.vue +65 -65
- package/components/burh-ds/Modals/ModalTests.vue +167 -167
- package/components/burh-ds/Modals/NewUserModal.vue +87 -87
- package/components/burh-ds/Modals/PlanModal.vue +327 -327
- package/components/burh-ds/Modals/RequestModal.vue +237 -237
- package/components/burh-ds/Modals/SendCourse.vue +448 -448
- package/components/burh-ds/Modals/SendDisc.vue +230 -230
- package/components/burh-ds/Modals/SendTest.vue +362 -362
- package/components/burh-ds/Modals/ShareModal.vue +228 -228
- package/components/burh-ds/Modals/SharedModal.vue +230 -230
- package/components/burh-ds/Modals/SmsModal.vue +329 -329
- package/components/burh-ds/Modals/SubModal.vue +41 -41
- package/components/burh-ds/Modals/UniversalShareModal.vue +216 -216
- package/components/burh-ds/Modals/UniversalWhatsappModal.vue +93 -93
- package/components/burh-ds/Modals/UniversityAccessModal.vue +135 -135
- package/components/burh-ds/Modals/VideoModal.vue +80 -80
- package/components/burh-ds/Modals/WhatsappModal.vue +92 -92
- package/components/burh-ds/Navbar/BaseNav.vue +119 -119
- package/components/burh-ds/Notifications/Notification.vue +215 -215
- package/components/burh-ds/Notifications/Notifications.vue +55 -55
- package/components/burh-ds/Notifications/index.js +66 -66
- package/components/burh-ds/Pagination/NamedPagination.vue +187 -187
- package/components/burh-ds/Questions/Question.vue +243 -243
- package/components/burh-ds/Questions/QuestionAttach.vue +13 -13
- package/components/burh-ds/Questions/QuestionRadio.vue +122 -122
- package/components/burh-ds/Questions/QuestionRadioItem.vue +83 -83
- package/components/burh-ds/Questions/QuestionText.vue +66 -66
- package/components/burh-ds/Questions/index.js +13 -13
- package/components/burh-ds/Skeleton/AppHeader.vue +173 -173
- package/components/burh-ds/Skeleton/BaseCardTest.vue +51 -51
- package/components/burh-ds/Skeleton/BaseCardUniversity.vue +79 -79
- package/components/burh-ds/Skeleton/BaseCardUser.vue +84 -84
- package/components/burh-ds/Skeleton/BaseCourseInfo.vue +116 -116
- package/components/burh-ds/Skeleton/BaseTraining.vue +29 -29
- package/components/burh-ds/Skeleton/BufferFolderSkeleton.vue +45 -45
- package/components/burh-ds/Skeleton/BufferUserSkeleton.vue +142 -142
- package/components/burh-ds/Skeleton/Cards.vue +86 -86
- package/components/burh-ds/Skeleton/ChartCard.vue +114 -114
- package/components/burh-ds/Skeleton/Home.vue +100 -100
- package/components/burh-ds/Skeleton/RecruitmentCard.vue +203 -203
- package/components/burh-ds/Skeleton/SkeletonAnimate.vue +146 -146
- package/components/burh-ds/Tabs/Tab.vue +56 -56
- package/components/burh-ds/Tabs/Tabs.vue +188 -188
- package/components/burh-ds/Tabs/TesteTab.vue +132 -132
- package/components/burh-ds/Video/MuxVideo.vue +39 -39
- package/components/burh-ds/index.js +20 -20
- package/components/layouts/argon/Content.vue +17 -17
- package/components/layouts/argon/navbar/BlankLayout.vue +61 -61
- package/components/layouts/argon/navbar/DashboardNavbar.vue +307 -307
- package/components/layouts/burh-ds/ContentFooter.vue +45 -45
- package/components/layouts/burh-ds/footer/FooterSimple.vue +20 -20
- package/components/layouts/burh-ds/footer/ProductsFooter.vue +330 -330
- package/components/layouts/burh-ds/footer/StatusFooter.vue +105 -105
- package/components/layouts/burh-ds/footer/StoreFooter.vue +54 -54
- package/components/layouts/burh-ds/navbar/AppNavbar.vue +97 -97
- package/components/layouts/burh-ds/navbar/BusinessGlobalNavbar.vue +435 -435
- package/components/layouts/burh-ds/navbar/CarreirasNavbar.vue +363 -363
- package/components/layouts/burh-ds/navbar/CompanyGlobalNavbar.vue +244 -244
- package/components/layouts/burh-ds/navbar/EmpresasNavbar.vue +374 -374
- package/components/layouts/burh-ds/navbar/EmpresasNavbarLogado.vue +388 -388
- package/components/layouts/burh-ds/navbar/GlobalNavbar.vue +535 -535
- package/components/layouts/burh-ds/navbar/MobileNavbar.vue +431 -431
- package/components/layouts/burh-ds/navbar/PublicNavbar.vue +168 -168
- package/components/layouts/burh-ds/navbar/SimpleNavbar.vue +129 -129
- package/components/layouts/burh-ds/navbar/UserNavbar.vue +346 -346
- package/components/layouts/burh-ds/navbar/UserNavbarLogin.vue +253 -253
- package/components/organismos/atomos/Deslike.vue +26 -26
- package/components/organismos/atomos/Like.vue +26 -26
- package/components/organismos/emptyChart/index.vue +39 -39
- package/components/pages/UserProfile/EditProfileForm.vue +142 -142
- package/components/pages/UserProfile/UserCard.vue +61 -61
- package/components/pages/dashboard/ActivityFeed.vue +102 -102
- package/components/pages/dashboard/LightTable.vue +194 -194
- package/components/pages/dashboard/PageVisitsTable.vue +107 -107
- package/components/pages/dashboard/ProgressTrackList.vue +82 -82
- package/components/pages/dashboard/SocialTrafficTable.vue +101 -101
- package/components/pages/dashboard/TaskList.vue +56 -56
- package/components/pages/dashboard/UserList.vue +72 -72
- package/components/pages/forms/BrowserDefaultsValidation.vue +106 -106
- package/components/pages/forms/CustomStylesValidation.vue +130 -130
- package/components/pages/forms/ServerSideValidation.vue +128 -128
- package/components/pages/register/FailedRegistration.vue +29 -29
- package/components/pages/register/SuccessfulRegistration.vue +29 -29
- package/components/tables/PaginatedTables/clientPaginationMixin.js +86 -86
- package/components/tables/RegularTables/CheckboxColoredTable.vue +112 -112
- package/components/tables/RegularTables/CheckboxTable.vue +101 -101
- package/components/tables/RegularTables/DarkTable.vue +114 -114
- package/components/tables/RegularTables/InlineActionsTable.vue +94 -94
- package/components/tables/RegularTables/LightTable.vue +117 -117
- package/components/tables/RegularTables/StripedTable.vue +94 -94
- package/components/tables/RegularTables/TranslucentTable.vue +114 -114
- package/components/tables/projects.js +75 -75
- package/components/tables/users.js +42 -42
- package/components/tables/users2.js +474 -474
- package/components/widgets/CalendarWidget.vue +119 -119
- package/components/widgets/CreditCard.vue +66 -66
- package/components/widgets/MembersCard.vue +99 -99
- package/components/widgets/PaypalCard.vue +45 -45
- package/components/widgets/ProgressTrackList.vue +76 -76
- package/components/widgets/StatsCards.vue +70 -70
- package/components/widgets/TaskList.vue +67 -67
- package/components/widgets/TimelineCard.vue +66 -66
- package/components/widgets/VectorMapCard.vue +139 -139
- package/components/widgets/VisaCard.vue +51 -51
- package/data/ListVideoLinksMock.json +21 -21
- package/dictionary.js +38 -38
- package/environment.env.md +34 -34
- package/environment.js +221 -221
- package/eslint.config.json +12 -12
- package/layouts/AuthLayout.vue +191 -191
- package/layouts/BurhCarreirasLayout.vue +63 -63
- package/layouts/BurhEmpresasLayout.vue +64 -64
- package/layouts/BurhNoHeader.vue +63 -63
- package/layouts/BurhPublicLayout.vue +67 -67
- package/layouts/BurhUserLayout.vue +231 -231
- package/layouts/DashboardLayout.vue +226 -226
- package/layouts/error.vue +119 -119
- package/metadata.json +30 -30
- package/middleware/README.md +8 -8
- package/middleware/decodeUrl.js +8 -8
- package/middleware/maintenance.js +9 -9
- package/middleware/new-account.js +6 -6
- package/middleware/redirect.js +13 -13
- package/middleware/user-agent-error.js +28 -28
- package/nuxt.config.js +207 -207
- package/package.json +119 -119
- package/plugins/README.md +7 -7
- package/plugins/analytics/ga.js +28 -28
- package/plugins/auth/auth.js +210 -210
- package/plugins/axios.js +32 -32
- package/plugins/carousel/owl-carousel.js +3 -3
- package/plugins/crop/crop.js +4 -4
- package/plugins/dashboard/dashboard-plugin.js +31 -31
- package/plugins/dashboard/directives/click-outside.js +15 -15
- package/plugins/dashboard/eventBus.js +1 -1
- package/plugins/dashboard/globalComponents.js +44 -44
- package/plugins/dashboard/globalDirectives.js +7 -7
- package/plugins/dom/loader.js +76 -76
- package/plugins/localstorage.js +20 -20
- package/plugins/location/location.js +41 -41
- package/plugins/pagination/pagination.js +3 -3
- package/plugins/qrcode/qrcode.js +4 -4
- package/plugins/router.js +8 -8
- package/plugins/social-media/fb-sdk.js +44 -44
- package/plugins/social-media/share-link-facebook.js +32 -32
- package/plugins/social-media/share-link-linkedin.js +30 -30
- package/plugins/social-media/share-link-twitter.js +30 -30
- package/plugins/social-media/share-link-whatsapp.js +31 -31
- package/plugins/vClickOutside.js +4 -4
- package/polyfills.js +96 -96
- package/util/common.js +189 -189
- package/util/cookie.js +28 -28
- package/util/dom.js +63 -63
- package/util/getPrefixes.js +12 -12
- package/util/request.js +46 -46
- package/util/throttle.js +15 -15
|
@@ -1,435 +1,435 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<base-nav
|
|
3
|
-
id="business__nav"
|
|
4
|
-
v-model="showMenu"
|
|
5
|
-
container-classes="container-fluid container-fluid--bu"
|
|
6
|
-
class="navbar-main navbar-blue"
|
|
7
|
-
expand="lg"
|
|
8
|
-
type="primary"
|
|
9
|
-
>
|
|
10
|
-
<div
|
|
11
|
-
slot="brand"
|
|
12
|
-
class="navbar-wrapper d-flex"
|
|
13
|
-
>
|
|
14
|
-
<nuxt-link class="navbar-brand d-flex" to="/">
|
|
15
|
-
<img
|
|
16
|
-
src="/img/brand/burh-imagotipo-white.svg"
|
|
17
|
-
class="navbar-brand-img navbar-brand-img--full"
|
|
18
|
-
alt="BURH: Suas vagas"
|
|
19
|
-
>
|
|
20
|
-
</nuxt-link>
|
|
21
|
-
|
|
22
|
-
<ul class= "navbar-nav align-items-center d-none d-lg-flex flex-row mr-sm-auto">
|
|
23
|
-
<navbar-links
|
|
24
|
-
v-for="(item, index) in listOfLinks" :key="index"
|
|
25
|
-
:name="item.name"
|
|
26
|
-
:id="item.id"
|
|
27
|
-
:link="item.link"
|
|
28
|
-
:children="item.children"
|
|
29
|
-
/>
|
|
30
|
-
</ul>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<ul class="navbar-nav navbar-nav--menu align-items-center mr-md-auto">
|
|
34
|
-
<template v-if="currentUser == null">
|
|
35
|
-
<li class="nav-item">
|
|
36
|
-
<button
|
|
37
|
-
@click="toLogin()"
|
|
38
|
-
class="btn btn-block"
|
|
39
|
-
:class="{'btn-outline-light': !showMenu, 'btn-primary': showMenu, 'btn-light': !showMenu}"
|
|
40
|
-
>
|
|
41
|
-
Entrar
|
|
42
|
-
</button>
|
|
43
|
-
<hr class="d-lg-none mt-3 mb-3">
|
|
44
|
-
</li>
|
|
45
|
-
<li class="nav-item">
|
|
46
|
-
<a
|
|
47
|
-
v-if="showMenu"
|
|
48
|
-
href="javascript:void(0)"
|
|
49
|
-
@click="$router.push('/empresas/cadastro/criar-conta')"
|
|
50
|
-
class="btn"
|
|
51
|
-
:class="{'btn-light': !showMenu, 'btn-outline-primary': showMenu}"
|
|
52
|
-
>
|
|
53
|
-
Cadastrar-se
|
|
54
|
-
</a>
|
|
55
|
-
</li>
|
|
56
|
-
</template>
|
|
57
|
-
</ul>
|
|
58
|
-
|
|
59
|
-
<faq-video-area
|
|
60
|
-
v-if="currentUser != null"
|
|
61
|
-
:videos="listOfVideos"
|
|
62
|
-
v-on:open-video-modal="openModalVideo"
|
|
63
|
-
class="white-block"
|
|
64
|
-
/>
|
|
65
|
-
<video-modal
|
|
66
|
-
:show="videoModalProperties.showModal"
|
|
67
|
-
:link="this.videoModalProperties.link"
|
|
68
|
-
:title="this.videoModalProperties.title"
|
|
69
|
-
/>
|
|
70
|
-
|
|
71
|
-
<app-link-area
|
|
72
|
-
v-if="currentUser != null"
|
|
73
|
-
class="white-block"
|
|
74
|
-
:showableProducts="showableProducts"
|
|
75
|
-
:activeProducts="activeProducts"
|
|
76
|
-
:apps="gridApps"
|
|
77
|
-
/>
|
|
78
|
-
<user-menu-dropdown
|
|
79
|
-
slot="user"
|
|
80
|
-
v-if="currentUser != null"
|
|
81
|
-
:text="userMenuText"
|
|
82
|
-
:userAvatar="currentUser.avatar"
|
|
83
|
-
:userName="currentUser.name"
|
|
84
|
-
:companies="currentUser.companies"
|
|
85
|
-
:companyLogo="currentCompany.logo"
|
|
86
|
-
:companyName="currentCompany.name"
|
|
87
|
-
@logout="$emit('logout')"
|
|
88
|
-
>
|
|
89
|
-
<avatar-link
|
|
90
|
-
slot="companies"
|
|
91
|
-
v-for="company in currentUser.companies"
|
|
92
|
-
:key="company.name"
|
|
93
|
-
:logo="company.logo"
|
|
94
|
-
:name="company.name"
|
|
95
|
-
class="dropdown-item"
|
|
96
|
-
:data="company"
|
|
97
|
-
@avatar-click="handleAvatarClick(company)"
|
|
98
|
-
/>
|
|
99
|
-
</user-menu-dropdown>
|
|
100
|
-
<slot></slot>
|
|
101
|
-
</base-nav>
|
|
102
|
-
</template>
|
|
103
|
-
|
|
104
|
-
<script>
|
|
105
|
-
import UserMenuDropdown from '@burh/nuxt-core/components/burh-ds/Dropdown/UserMenuDropdown.vue';
|
|
106
|
-
import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
|
|
107
|
-
import AvatarLink from '../../../burh-ds/Avatar/AvatarLink';
|
|
108
|
-
import VideoModal from '@burh/nuxt-core/components/burh-ds/Modals/VideoModal.vue';
|
|
109
|
-
import NavbarLinks from '@burh/nuxt-core/components/burh-ds/Lists/ListNavLinks.vue';
|
|
110
|
-
import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea.vue';
|
|
111
|
-
import FaqVideoArea from '@burh/nuxt-core/components/burh-ds/Dropdown/FaqVideoArea.vue';
|
|
112
|
-
import * as ListVideos from '@burh/nuxt-core/data/ListVideoLinksMock.json';
|
|
113
|
-
import moment from 'moment';
|
|
114
|
-
import 'moment/locale/pt-br';
|
|
115
|
-
import * as _ from 'lodash';
|
|
116
|
-
export default {
|
|
117
|
-
components: {
|
|
118
|
-
BaseNav,
|
|
119
|
-
AppLinkArea,
|
|
120
|
-
FaqVideoArea,
|
|
121
|
-
NavbarLinks,
|
|
122
|
-
VideoModal,
|
|
123
|
-
UserMenuDropdown,
|
|
124
|
-
AvatarLink,
|
|
125
|
-
},
|
|
126
|
-
props: {
|
|
127
|
-
type: {
|
|
128
|
-
type: String,
|
|
129
|
-
default: 'primary', // default|light
|
|
130
|
-
description: 'Look of the dashboard navbar. primary (blue) or ligte (white)'
|
|
131
|
-
},
|
|
132
|
-
logoMini: {
|
|
133
|
-
type: String,
|
|
134
|
-
default: '/img/content/carreiras/logo-laponia.jpg',
|
|
135
|
-
description: 'Logo for scrolled navbar'
|
|
136
|
-
},
|
|
137
|
-
logoFull: {
|
|
138
|
-
type: String,
|
|
139
|
-
default: () => '/img/brand/burh-imagotipo.svg',
|
|
140
|
-
description: 'Brand da navbar'
|
|
141
|
-
},
|
|
142
|
-
navbarColor: {
|
|
143
|
-
type: String,
|
|
144
|
-
default: () => 'navbar-light', //
|
|
145
|
-
description: 'Cor do navbar [atual]'
|
|
146
|
-
},
|
|
147
|
-
currentUser: {
|
|
148
|
-
listOfLinks: {
|
|
149
|
-
type: Array,
|
|
150
|
-
default: () => ListofLinksNavbar.default,
|
|
151
|
-
description: 'Lista de links da navbar atual'
|
|
152
|
-
},
|
|
153
|
-
type: Object,
|
|
154
|
-
default: () => null,
|
|
155
|
-
description: 'Usuário logado atual'
|
|
156
|
-
},
|
|
157
|
-
currentCompany: {
|
|
158
|
-
type: Object,
|
|
159
|
-
default: () => null,
|
|
160
|
-
description: 'Empresa selecionada atual'
|
|
161
|
-
},
|
|
162
|
-
listOfVideos:{
|
|
163
|
-
type: Array,
|
|
164
|
-
default: () => ListVideos.default,
|
|
165
|
-
description: 'Lista de videos em exibição no dropdown de videos'
|
|
166
|
-
},
|
|
167
|
-
userMenuText: {
|
|
168
|
-
type:Object,
|
|
169
|
-
description: 'Contains the text for the user menu'
|
|
170
|
-
},
|
|
171
|
-
showableProducts: Object,
|
|
172
|
-
activeProducts: Array,
|
|
173
|
-
apps: {
|
|
174
|
-
type: Array,
|
|
175
|
-
default: () => [],
|
|
176
|
-
description: 'Apps that will me showed in header app section'
|
|
177
|
-
},
|
|
178
|
-
gridApps: Array
|
|
179
|
-
},
|
|
180
|
-
|
|
181
|
-
computed: {
|
|
182
|
-
routeName() {
|
|
183
|
-
const { name } = this.$route;
|
|
184
|
-
return this.capitalizeFirstLetter(name);
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
data() {
|
|
189
|
-
return {
|
|
190
|
-
showMenu: false,
|
|
191
|
-
baseURL: process.env.baseAppUrl,
|
|
192
|
-
videoModalProperties: {
|
|
193
|
-
showModal: false,
|
|
194
|
-
link: '',
|
|
195
|
-
title: ''
|
|
196
|
-
},
|
|
197
|
-
listOfLinks: [
|
|
198
|
-
{
|
|
199
|
-
'id' : 'Busca',
|
|
200
|
-
'name' : 'Busca',
|
|
201
|
-
'link' : '/',
|
|
202
|
-
'children' : [
|
|
203
|
-
{
|
|
204
|
-
'id' : 'Buscar',
|
|
205
|
-
'name' : 'Buscar',
|
|
206
|
-
'link' : `${process.env.oldBusinessUrl}/app/search`,
|
|
207
|
-
'isVisible': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
208
|
-
'hasBadge': false,
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
'id' : 'Busca-Avançada',
|
|
212
|
-
'name' : 'Busca Avançada',
|
|
213
|
-
'link' : this.linkProduct('BUSCA_AVANCADA', '/app/search'),
|
|
214
|
-
'isVisible': true,
|
|
215
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
'id' : 'Buscar-Estágio',
|
|
219
|
-
'name' : 'Buscar Estágio',
|
|
220
|
-
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
221
|
-
'isVisible': true,
|
|
222
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
'id' : 'Buscar-PCD',
|
|
226
|
-
'name' : 'Buscar PCD',
|
|
227
|
-
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
228
|
-
'isVisible': true,
|
|
229
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
'id' : 'Buscar-Terceira-Idade',
|
|
233
|
-
'name' : 'Buscar Terceira Idade',
|
|
234
|
-
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
235
|
-
'isVisible': true,
|
|
236
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
'id' : 'Buscar-Jovem-Aprendiz',
|
|
240
|
-
'name' : 'Buscar Jovem Aprendiz',
|
|
241
|
-
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
242
|
-
'isVisible': true,
|
|
243
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
'id' : 'Recrutamento',
|
|
249
|
-
'name' : 'Recrutamento',
|
|
250
|
-
'link' : 'burh.com.br',
|
|
251
|
-
'children' : [
|
|
252
|
-
{
|
|
253
|
-
'id' : 'Abrir-Vaga',
|
|
254
|
-
'name' : 'Abrir Vaga',
|
|
255
|
-
'link' : `${process.env.oldBusinessUrl}/${this.currentCompany.slug}/vagas/criar`,
|
|
256
|
-
'isVisible': !this.companyHasProduct(this.showableProducts['ABRIR_VAGAS_COM_FILTROS_AVANCADOS']),
|
|
257
|
-
'hasBadge': false,
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
'id' : 'Abrir-Vaga-Avançada',
|
|
261
|
-
'name' : 'Abrir Vaga Avançada',
|
|
262
|
-
'link' : this.linkProduct('ABRIR_VAGAS_COM_FILTROS_AVANCADOS', `/${this.currentCompany.slug}/vagas/criar`),
|
|
263
|
-
'isVisible': true,
|
|
264
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['ABRIR_VAGAS_COM_FILTROS_AVANCADOS']),
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
'id' : 'Gerenciar-Vagas',
|
|
268
|
-
'name' : 'Gerenciar Vagas',
|
|
269
|
-
'link' : `${process.env.oldBusinessUrl}/${this.currentCompany.slug}/vagas`,
|
|
270
|
-
'isVisible': true,
|
|
271
|
-
'hasBadge': false,
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
'id' : 'Universidades',
|
|
277
|
-
'name' : 'Universidades',
|
|
278
|
-
'link' : `${process.env.oldBusinessUrl}/app/university`,
|
|
279
|
-
'children' : []
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
'id' : 'Loja',
|
|
283
|
-
'name' : 'Loja',
|
|
284
|
-
'link' : 'burh.com.br',
|
|
285
|
-
'children' : [
|
|
286
|
-
{
|
|
287
|
-
'id' : 'Teste-DISC',
|
|
288
|
-
'name' : 'Teste Disc',
|
|
289
|
-
'link' : this.linkProduct('TESTE_DISC', '/app/profiler'),
|
|
290
|
-
'isVisible': true,
|
|
291
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_DISC']),
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
'id' : 'Teste-Personalizado',
|
|
295
|
-
'name' : 'Teste Personalizado',
|
|
296
|
-
'link' : this.linkProduct('TESTE_PERSONALIZADO', '/app/testes'),
|
|
297
|
-
'isVisible': true,
|
|
298
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_PERSONALIZADO']),
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
'id' : 'Teste-Proeficiencia',
|
|
302
|
-
'name' : 'Teste de proeficiência',
|
|
303
|
-
'link' : this.linkProduct('TESTE_PROFICIENCIA', '/app/fluenglish'),
|
|
304
|
-
'isVisible': true,
|
|
305
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_PROFICIENCIA']),
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
'id' : 'Enviar-SMS',
|
|
309
|
-
'name' : 'Enviar SMS',
|
|
310
|
-
'link' : this.linkProduct('SMS', `/${this.currentCompany.slug}/apps/sms`),
|
|
311
|
-
'isVisible': true,
|
|
312
|
-
'hasBadge': !this.companyHasProduct(this.showableProducts['SMS']),
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
]
|
|
316
|
-
}
|
|
317
|
-
]
|
|
318
|
-
};
|
|
319
|
-
},
|
|
320
|
-
methods: {
|
|
321
|
-
capitalizeFirstLetter(string) {
|
|
322
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
323
|
-
},
|
|
324
|
-
isElementClassContain(element, typeClass) {
|
|
325
|
-
return element.classList.contains(typeClass);
|
|
326
|
-
},
|
|
327
|
-
fromNow(date) {
|
|
328
|
-
return moment(date).locale('pt-BR').fromNow();
|
|
329
|
-
},
|
|
330
|
-
openModalVideo(video){
|
|
331
|
-
this.videoModalProperties.showModal = true;
|
|
332
|
-
this.videoModalProperties.link = video.link;
|
|
333
|
-
this.videoModalProperties.title = video.title;
|
|
334
|
-
},
|
|
335
|
-
handleAvatarClick(company) {
|
|
336
|
-
this.$emit('company-click', company);
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
watch: {
|
|
340
|
-
'$route.path'(newRoute, oldRoute) {
|
|
341
|
-
if (this.showMenu) {
|
|
342
|
-
this.closeMenu();
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
if(this.navbarSearch && newRoute != '/busca'){
|
|
346
|
-
this.menuSearch = '';
|
|
347
|
-
} else {
|
|
348
|
-
this.menuSearch = this.$route.query.term;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
mounted () {
|
|
354
|
-
window.addEventListener('scroll', this.handleScrollNavbar);
|
|
355
|
-
|
|
356
|
-
let header = document.querySelector('[data-menu="fixed"]');
|
|
357
|
-
let page = document.querySelector('html');
|
|
358
|
-
|
|
359
|
-
if (header) {
|
|
360
|
-
page.classList.remove('menu-fixed');
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
if(this.$route.path == '/busca') {
|
|
364
|
-
this.menuSearch = this.$route.query.term;
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
created() {
|
|
368
|
-
},
|
|
369
|
-
destroyed () {
|
|
370
|
-
window.removeEventListener('scroll', this.handleScrollNavbar);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
</script>
|
|
376
|
-
|
|
377
|
-
<style lang="scss">
|
|
378
|
-
@import "~bootstrap/scss/functions.scss";
|
|
379
|
-
@import "~bootstrap/scss/mixins.scss";
|
|
380
|
-
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables.scss";
|
|
381
|
-
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss";
|
|
382
|
-
.dropdown-menu{
|
|
383
|
-
min-width: 16rem;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.white-block {
|
|
387
|
-
.dropdown-menu {
|
|
388
|
-
min-width: 21rem;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.navbar-blue {
|
|
393
|
-
background-color: #5865F2 !important;
|
|
394
|
-
.nav-link{
|
|
395
|
-
&:hover{
|
|
396
|
-
color: white;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.navbar {
|
|
402
|
-
.navbar-search-light {
|
|
403
|
-
&--focus {
|
|
404
|
-
box-shadow: 0 0 .5rem 0 darken($primary, 20%);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.navbar-search-dark {
|
|
409
|
-
&--focus {
|
|
410
|
-
box-shadow: 0 0 2rem 0 $primary;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&-company__default {
|
|
415
|
-
position: fixed;
|
|
416
|
-
background-color: $primary;
|
|
417
|
-
border: 0 !important;
|
|
418
|
-
animation: navbarCompanyDefaultLoading .5s;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
&--white{
|
|
422
|
-
.nav-link {
|
|
423
|
-
color: $white;
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.text-color {
|
|
429
|
-
color: #fff !important;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.white-block {
|
|
433
|
-
color: white;
|
|
434
|
-
}
|
|
435
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<base-nav
|
|
3
|
+
id="business__nav"
|
|
4
|
+
v-model="showMenu"
|
|
5
|
+
container-classes="container-fluid container-fluid--bu"
|
|
6
|
+
class="navbar-main navbar-blue"
|
|
7
|
+
expand="lg"
|
|
8
|
+
type="primary"
|
|
9
|
+
>
|
|
10
|
+
<div
|
|
11
|
+
slot="brand"
|
|
12
|
+
class="navbar-wrapper d-flex"
|
|
13
|
+
>
|
|
14
|
+
<nuxt-link class="navbar-brand d-flex" to="/">
|
|
15
|
+
<img
|
|
16
|
+
src="/img/brand/burh-imagotipo-white.svg"
|
|
17
|
+
class="navbar-brand-img navbar-brand-img--full"
|
|
18
|
+
alt="BURH: Suas vagas"
|
|
19
|
+
>
|
|
20
|
+
</nuxt-link>
|
|
21
|
+
|
|
22
|
+
<ul class= "navbar-nav align-items-center d-none d-lg-flex flex-row mr-sm-auto">
|
|
23
|
+
<navbar-links
|
|
24
|
+
v-for="(item, index) in listOfLinks" :key="index"
|
|
25
|
+
:name="item.name"
|
|
26
|
+
:id="item.id"
|
|
27
|
+
:link="item.link"
|
|
28
|
+
:children="item.children"
|
|
29
|
+
/>
|
|
30
|
+
</ul>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<ul class="navbar-nav navbar-nav--menu align-items-center mr-md-auto">
|
|
34
|
+
<template v-if="currentUser == null">
|
|
35
|
+
<li class="nav-item">
|
|
36
|
+
<button
|
|
37
|
+
@click="toLogin()"
|
|
38
|
+
class="btn btn-block"
|
|
39
|
+
:class="{'btn-outline-light': !showMenu, 'btn-primary': showMenu, 'btn-light': !showMenu}"
|
|
40
|
+
>
|
|
41
|
+
Entrar
|
|
42
|
+
</button>
|
|
43
|
+
<hr class="d-lg-none mt-3 mb-3">
|
|
44
|
+
</li>
|
|
45
|
+
<li class="nav-item">
|
|
46
|
+
<a
|
|
47
|
+
v-if="showMenu"
|
|
48
|
+
href="javascript:void(0)"
|
|
49
|
+
@click="$router.push('/empresas/cadastro/criar-conta')"
|
|
50
|
+
class="btn"
|
|
51
|
+
:class="{'btn-light': !showMenu, 'btn-outline-primary': showMenu}"
|
|
52
|
+
>
|
|
53
|
+
Cadastrar-se
|
|
54
|
+
</a>
|
|
55
|
+
</li>
|
|
56
|
+
</template>
|
|
57
|
+
</ul>
|
|
58
|
+
|
|
59
|
+
<faq-video-area
|
|
60
|
+
v-if="currentUser != null"
|
|
61
|
+
:videos="listOfVideos"
|
|
62
|
+
v-on:open-video-modal="openModalVideo"
|
|
63
|
+
class="white-block"
|
|
64
|
+
/>
|
|
65
|
+
<video-modal
|
|
66
|
+
:show="videoModalProperties.showModal"
|
|
67
|
+
:link="this.videoModalProperties.link"
|
|
68
|
+
:title="this.videoModalProperties.title"
|
|
69
|
+
/>
|
|
70
|
+
|
|
71
|
+
<app-link-area
|
|
72
|
+
v-if="currentUser != null"
|
|
73
|
+
class="white-block"
|
|
74
|
+
:showableProducts="showableProducts"
|
|
75
|
+
:activeProducts="activeProducts"
|
|
76
|
+
:apps="gridApps"
|
|
77
|
+
/>
|
|
78
|
+
<user-menu-dropdown
|
|
79
|
+
slot="user"
|
|
80
|
+
v-if="currentUser != null"
|
|
81
|
+
:text="userMenuText"
|
|
82
|
+
:userAvatar="currentUser.avatar"
|
|
83
|
+
:userName="currentUser.name"
|
|
84
|
+
:companies="currentUser.companies"
|
|
85
|
+
:companyLogo="currentCompany.logo"
|
|
86
|
+
:companyName="currentCompany.name"
|
|
87
|
+
@logout="$emit('logout')"
|
|
88
|
+
>
|
|
89
|
+
<avatar-link
|
|
90
|
+
slot="companies"
|
|
91
|
+
v-for="company in currentUser.companies"
|
|
92
|
+
:key="company.name"
|
|
93
|
+
:logo="company.logo"
|
|
94
|
+
:name="company.name"
|
|
95
|
+
class="dropdown-item"
|
|
96
|
+
:data="company"
|
|
97
|
+
@avatar-click="handleAvatarClick(company)"
|
|
98
|
+
/>
|
|
99
|
+
</user-menu-dropdown>
|
|
100
|
+
<slot></slot>
|
|
101
|
+
</base-nav>
|
|
102
|
+
</template>
|
|
103
|
+
|
|
104
|
+
<script>
|
|
105
|
+
import UserMenuDropdown from '@burh/nuxt-core/components/burh-ds/Dropdown/UserMenuDropdown.vue';
|
|
106
|
+
import BaseNav from '@burh/nuxt-core/components/burh-ds/Navbar/BaseNav.vue';
|
|
107
|
+
import AvatarLink from '../../../burh-ds/Avatar/AvatarLink';
|
|
108
|
+
import VideoModal from '@burh/nuxt-core/components/burh-ds/Modals/VideoModal.vue';
|
|
109
|
+
import NavbarLinks from '@burh/nuxt-core/components/burh-ds/Lists/ListNavLinks.vue';
|
|
110
|
+
import AppLinkArea from '@burh/nuxt-core/components/burh-ds/Dropdown/AppLinkArea.vue';
|
|
111
|
+
import FaqVideoArea from '@burh/nuxt-core/components/burh-ds/Dropdown/FaqVideoArea.vue';
|
|
112
|
+
import * as ListVideos from '@burh/nuxt-core/data/ListVideoLinksMock.json';
|
|
113
|
+
import moment from 'moment';
|
|
114
|
+
import 'moment/locale/pt-br';
|
|
115
|
+
import * as _ from 'lodash';
|
|
116
|
+
export default {
|
|
117
|
+
components: {
|
|
118
|
+
BaseNav,
|
|
119
|
+
AppLinkArea,
|
|
120
|
+
FaqVideoArea,
|
|
121
|
+
NavbarLinks,
|
|
122
|
+
VideoModal,
|
|
123
|
+
UserMenuDropdown,
|
|
124
|
+
AvatarLink,
|
|
125
|
+
},
|
|
126
|
+
props: {
|
|
127
|
+
type: {
|
|
128
|
+
type: String,
|
|
129
|
+
default: 'primary', // default|light
|
|
130
|
+
description: 'Look of the dashboard navbar. primary (blue) or ligte (white)'
|
|
131
|
+
},
|
|
132
|
+
logoMini: {
|
|
133
|
+
type: String,
|
|
134
|
+
default: '/img/content/carreiras/logo-laponia.jpg',
|
|
135
|
+
description: 'Logo for scrolled navbar'
|
|
136
|
+
},
|
|
137
|
+
logoFull: {
|
|
138
|
+
type: String,
|
|
139
|
+
default: () => '/img/brand/burh-imagotipo.svg',
|
|
140
|
+
description: 'Brand da navbar'
|
|
141
|
+
},
|
|
142
|
+
navbarColor: {
|
|
143
|
+
type: String,
|
|
144
|
+
default: () => 'navbar-light', //
|
|
145
|
+
description: 'Cor do navbar [atual]'
|
|
146
|
+
},
|
|
147
|
+
currentUser: {
|
|
148
|
+
listOfLinks: {
|
|
149
|
+
type: Array,
|
|
150
|
+
default: () => ListofLinksNavbar.default,
|
|
151
|
+
description: 'Lista de links da navbar atual'
|
|
152
|
+
},
|
|
153
|
+
type: Object,
|
|
154
|
+
default: () => null,
|
|
155
|
+
description: 'Usuário logado atual'
|
|
156
|
+
},
|
|
157
|
+
currentCompany: {
|
|
158
|
+
type: Object,
|
|
159
|
+
default: () => null,
|
|
160
|
+
description: 'Empresa selecionada atual'
|
|
161
|
+
},
|
|
162
|
+
listOfVideos:{
|
|
163
|
+
type: Array,
|
|
164
|
+
default: () => ListVideos.default,
|
|
165
|
+
description: 'Lista de videos em exibição no dropdown de videos'
|
|
166
|
+
},
|
|
167
|
+
userMenuText: {
|
|
168
|
+
type:Object,
|
|
169
|
+
description: 'Contains the text for the user menu'
|
|
170
|
+
},
|
|
171
|
+
showableProducts: Object,
|
|
172
|
+
activeProducts: Array,
|
|
173
|
+
apps: {
|
|
174
|
+
type: Array,
|
|
175
|
+
default: () => [],
|
|
176
|
+
description: 'Apps that will me showed in header app section'
|
|
177
|
+
},
|
|
178
|
+
gridApps: Array
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
computed: {
|
|
182
|
+
routeName() {
|
|
183
|
+
const { name } = this.$route;
|
|
184
|
+
return this.capitalizeFirstLetter(name);
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
data() {
|
|
189
|
+
return {
|
|
190
|
+
showMenu: false,
|
|
191
|
+
baseURL: process.env.baseAppUrl,
|
|
192
|
+
videoModalProperties: {
|
|
193
|
+
showModal: false,
|
|
194
|
+
link: '',
|
|
195
|
+
title: ''
|
|
196
|
+
},
|
|
197
|
+
listOfLinks: [
|
|
198
|
+
{
|
|
199
|
+
'id' : 'Busca',
|
|
200
|
+
'name' : 'Busca',
|
|
201
|
+
'link' : '/',
|
|
202
|
+
'children' : [
|
|
203
|
+
{
|
|
204
|
+
'id' : 'Buscar',
|
|
205
|
+
'name' : 'Buscar',
|
|
206
|
+
'link' : `${process.env.oldBusinessUrl}/app/search`,
|
|
207
|
+
'isVisible': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
208
|
+
'hasBadge': false,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
'id' : 'Busca-Avançada',
|
|
212
|
+
'name' : 'Busca Avançada',
|
|
213
|
+
'link' : this.linkProduct('BUSCA_AVANCADA', '/app/search'),
|
|
214
|
+
'isVisible': true,
|
|
215
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
'id' : 'Buscar-Estágio',
|
|
219
|
+
'name' : 'Buscar Estágio',
|
|
220
|
+
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
221
|
+
'isVisible': true,
|
|
222
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
'id' : 'Buscar-PCD',
|
|
226
|
+
'name' : 'Buscar PCD',
|
|
227
|
+
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
228
|
+
'isVisible': true,
|
|
229
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
'id' : 'Buscar-Terceira-Idade',
|
|
233
|
+
'name' : 'Buscar Terceira Idade',
|
|
234
|
+
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
235
|
+
'isVisible': true,
|
|
236
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
'id' : 'Buscar-Jovem-Aprendiz',
|
|
240
|
+
'name' : 'Buscar Jovem Aprendiz',
|
|
241
|
+
'link' : this.linkProduct('BUSCA_AVANCADA', '/search'),
|
|
242
|
+
'isVisible': true,
|
|
243
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['BUSCA_AVANCADA']),
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
'id' : 'Recrutamento',
|
|
249
|
+
'name' : 'Recrutamento',
|
|
250
|
+
'link' : 'burh.com.br',
|
|
251
|
+
'children' : [
|
|
252
|
+
{
|
|
253
|
+
'id' : 'Abrir-Vaga',
|
|
254
|
+
'name' : 'Abrir Vaga',
|
|
255
|
+
'link' : `${process.env.oldBusinessUrl}/${this.currentCompany.slug}/vagas/criar`,
|
|
256
|
+
'isVisible': !this.companyHasProduct(this.showableProducts['ABRIR_VAGAS_COM_FILTROS_AVANCADOS']),
|
|
257
|
+
'hasBadge': false,
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
'id' : 'Abrir-Vaga-Avançada',
|
|
261
|
+
'name' : 'Abrir Vaga Avançada',
|
|
262
|
+
'link' : this.linkProduct('ABRIR_VAGAS_COM_FILTROS_AVANCADOS', `/${this.currentCompany.slug}/vagas/criar`),
|
|
263
|
+
'isVisible': true,
|
|
264
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['ABRIR_VAGAS_COM_FILTROS_AVANCADOS']),
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
'id' : 'Gerenciar-Vagas',
|
|
268
|
+
'name' : 'Gerenciar Vagas',
|
|
269
|
+
'link' : `${process.env.oldBusinessUrl}/${this.currentCompany.slug}/vagas`,
|
|
270
|
+
'isVisible': true,
|
|
271
|
+
'hasBadge': false,
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
'id' : 'Universidades',
|
|
277
|
+
'name' : 'Universidades',
|
|
278
|
+
'link' : `${process.env.oldBusinessUrl}/app/university`,
|
|
279
|
+
'children' : []
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
'id' : 'Loja',
|
|
283
|
+
'name' : 'Loja',
|
|
284
|
+
'link' : 'burh.com.br',
|
|
285
|
+
'children' : [
|
|
286
|
+
{
|
|
287
|
+
'id' : 'Teste-DISC',
|
|
288
|
+
'name' : 'Teste Disc',
|
|
289
|
+
'link' : this.linkProduct('TESTE_DISC', '/app/profiler'),
|
|
290
|
+
'isVisible': true,
|
|
291
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_DISC']),
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
'id' : 'Teste-Personalizado',
|
|
295
|
+
'name' : 'Teste Personalizado',
|
|
296
|
+
'link' : this.linkProduct('TESTE_PERSONALIZADO', '/app/testes'),
|
|
297
|
+
'isVisible': true,
|
|
298
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_PERSONALIZADO']),
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
'id' : 'Teste-Proeficiencia',
|
|
302
|
+
'name' : 'Teste de proeficiência',
|
|
303
|
+
'link' : this.linkProduct('TESTE_PROFICIENCIA', '/app/fluenglish'),
|
|
304
|
+
'isVisible': true,
|
|
305
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['TESTE_PROFICIENCIA']),
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
'id' : 'Enviar-SMS',
|
|
309
|
+
'name' : 'Enviar SMS',
|
|
310
|
+
'link' : this.linkProduct('SMS', `/${this.currentCompany.slug}/apps/sms`),
|
|
311
|
+
'isVisible': true,
|
|
312
|
+
'hasBadge': !this.companyHasProduct(this.showableProducts['SMS']),
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
};
|
|
319
|
+
},
|
|
320
|
+
methods: {
|
|
321
|
+
capitalizeFirstLetter(string) {
|
|
322
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
323
|
+
},
|
|
324
|
+
isElementClassContain(element, typeClass) {
|
|
325
|
+
return element.classList.contains(typeClass);
|
|
326
|
+
},
|
|
327
|
+
fromNow(date) {
|
|
328
|
+
return moment(date).locale('pt-BR').fromNow();
|
|
329
|
+
},
|
|
330
|
+
openModalVideo(video){
|
|
331
|
+
this.videoModalProperties.showModal = true;
|
|
332
|
+
this.videoModalProperties.link = video.link;
|
|
333
|
+
this.videoModalProperties.title = video.title;
|
|
334
|
+
},
|
|
335
|
+
handleAvatarClick(company) {
|
|
336
|
+
this.$emit('company-click', company);
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
watch: {
|
|
340
|
+
'$route.path'(newRoute, oldRoute) {
|
|
341
|
+
if (this.showMenu) {
|
|
342
|
+
this.closeMenu();
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if(this.navbarSearch && newRoute != '/busca'){
|
|
346
|
+
this.menuSearch = '';
|
|
347
|
+
} else {
|
|
348
|
+
this.menuSearch = this.$route.query.term;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
mounted () {
|
|
354
|
+
window.addEventListener('scroll', this.handleScrollNavbar);
|
|
355
|
+
|
|
356
|
+
let header = document.querySelector('[data-menu="fixed"]');
|
|
357
|
+
let page = document.querySelector('html');
|
|
358
|
+
|
|
359
|
+
if (header) {
|
|
360
|
+
page.classList.remove('menu-fixed');
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if(this.$route.path == '/busca') {
|
|
364
|
+
this.menuSearch = this.$route.query.term;
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
created() {
|
|
368
|
+
},
|
|
369
|
+
destroyed () {
|
|
370
|
+
window.removeEventListener('scroll', this.handleScrollNavbar);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
</script>
|
|
376
|
+
|
|
377
|
+
<style lang="scss">
|
|
378
|
+
@import "~bootstrap/scss/functions.scss";
|
|
379
|
+
@import "~bootstrap/scss/mixins.scss";
|
|
380
|
+
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables.scss";
|
|
381
|
+
@import "node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss";
|
|
382
|
+
.dropdown-menu{
|
|
383
|
+
min-width: 16rem;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.white-block {
|
|
387
|
+
.dropdown-menu {
|
|
388
|
+
min-width: 21rem;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.navbar-blue {
|
|
393
|
+
background-color: #5865F2 !important;
|
|
394
|
+
.nav-link{
|
|
395
|
+
&:hover{
|
|
396
|
+
color: white;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.navbar {
|
|
402
|
+
.navbar-search-light {
|
|
403
|
+
&--focus {
|
|
404
|
+
box-shadow: 0 0 .5rem 0 darken($primary, 20%);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.navbar-search-dark {
|
|
409
|
+
&--focus {
|
|
410
|
+
box-shadow: 0 0 2rem 0 $primary;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
&-company__default {
|
|
415
|
+
position: fixed;
|
|
416
|
+
background-color: $primary;
|
|
417
|
+
border: 0 !important;
|
|
418
|
+
animation: navbarCompanyDefaultLoading .5s;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
&--white{
|
|
422
|
+
.nav-link {
|
|
423
|
+
color: $white;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.text-color {
|
|
429
|
+
color: #fff !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.white-block {
|
|
433
|
+
color: white;
|
|
434
|
+
}
|
|
435
|
+
</style>
|