frst-components 0.20.0
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/.dockerignore +7 -0
- package/.env +1 -0
- package/.github/pull_request_template.md +26 -0
- package/.hintrc +41 -0
- package/.prettierrc +7 -0
- package/.storybook/i18n.js +26 -0
- package/.storybook/main.js +41 -0
- package/.storybook/preview.js +23 -0
- package/.vscode/settings.json +2 -0
- package/Dockerfile +22 -0
- package/README.md +52 -0
- package/declarations.d.ts +4 -0
- package/dist/index.d.ts +100 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14926 -0
- package/dist/src/components/DS/loading/index.d.ts +20 -0
- package/dist/src/components/DS/loading/index.d.ts.map +1 -0
- package/dist/src/components/DS/loading/loadingStyle.d.ts +6 -0
- package/dist/src/components/DS/loading/loadingStyle.d.ts.map +1 -0
- package/dist/src/components/DS/modal/index.d.ts +19 -0
- package/dist/src/components/DS/modal/index.d.ts.map +1 -0
- package/dist/src/components/DS/modal/styles.d.ts +16 -0
- package/dist/src/components/DS/modal/styles.d.ts.map +1 -0
- package/dist/src/components/DS/select/Select.d.ts +14 -0
- package/dist/src/components/DS/select/Select.d.ts.map +1 -0
- package/dist/src/components/DS/select/SelectContext.d.ts +7 -0
- package/dist/src/components/DS/select/SelectContext.d.ts.map +1 -0
- package/dist/src/components/DS/select/SelectItem.d.ts +12 -0
- package/dist/src/components/DS/select/SelectItem.d.ts.map +1 -0
- package/dist/src/components/DS/select/index.d.ts +10 -0
- package/dist/src/components/DS/select/index.d.ts.map +1 -0
- package/dist/src/components/DS/select/styles/StylesSelect.d.ts +14 -0
- package/dist/src/components/DS/select/styles/StylesSelect.d.ts.map +1 -0
- package/dist/src/components/DS/tooltip/index.d.ts +5 -0
- package/dist/src/components/DS/tooltip/index.d.ts.map +1 -0
- package/dist/src/components/DS/tooltip/styles.d.ts +12 -0
- package/dist/src/components/DS/tooltip/styles.d.ts.map +1 -0
- package/dist/src/components/EBR/buttons-group/index.d.ts +4 -0
- package/dist/src/components/EBR/buttons-group/index.d.ts.map +1 -0
- package/dist/src/components/EBR/buttons-group/styles.d.ts +2 -0
- package/dist/src/components/EBR/buttons-group/styles.d.ts.map +1 -0
- package/dist/src/components/EBR/group-statistics/groupStatisticsStyles.d.ts +19 -0
- package/dist/src/components/EBR/group-statistics/groupStatisticsStyles.d.ts.map +1 -0
- package/dist/src/components/EBR/group-statistics/index.d.ts +5 -0
- package/dist/src/components/EBR/group-statistics/index.d.ts.map +1 -0
- package/dist/src/components/EBR/objective-step/index.d.ts +4 -0
- package/dist/src/components/EBR/objective-step/index.d.ts.map +1 -0
- package/dist/src/components/EBR/objective-step/objectiveStepStyles.d.ts +4 -0
- package/dist/src/components/EBR/objective-step/objectiveStepStyles.d.ts.map +1 -0
- package/dist/src/components/EBR/rating/index.d.ts +7 -0
- package/dist/src/components/EBR/rating/index.d.ts.map +1 -0
- package/dist/src/components/EBR/rating/ratingStyles.d.ts +5 -0
- package/dist/src/components/EBR/rating/ratingStyles.d.ts.map +1 -0
- package/dist/src/components/EBR/specialist-contact/index.d.ts +4 -0
- package/dist/src/components/EBR/specialist-contact/index.d.ts.map +1 -0
- package/dist/src/components/EBR/specialist-contact/specialistContactStyles.d.ts +24 -0
- package/dist/src/components/EBR/specialist-contact/specialistContactStyles.d.ts.map +1 -0
- package/dist/src/components/EBR/stepper/index.d.ts +4 -0
- package/dist/src/components/EBR/stepper/index.d.ts.map +1 -0
- package/dist/src/components/EBR/stepper/stepper.d.ts +4 -0
- package/dist/src/components/EBR/stepper/stepper.d.ts.map +1 -0
- package/dist/src/components/EBR/stepper/stepperItem.d.ts +4 -0
- package/dist/src/components/EBR/stepper/stepperItem.d.ts.map +1 -0
- package/dist/src/components/EBR/stepper/styles.d.ts +13 -0
- package/dist/src/components/EBR/stepper/styles.d.ts.map +1 -0
- package/dist/src/components/EBR/trail-list/index.d.ts +4 -0
- package/dist/src/components/EBR/trail-list/index.d.ts.map +1 -0
- package/dist/src/components/EBR/trail-list/trailListStyles.d.ts +9 -0
- package/dist/src/components/EBR/trail-list/trailListStyles.d.ts.map +1 -0
- package/dist/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.d.ts +16 -0
- package/dist/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.d.ts.map +1 -0
- package/dist/src/components/FI/bannerProblemFeed/index.d.ts +105 -0
- package/dist/src/components/FI/bannerProblemFeed/index.d.ts.map +1 -0
- package/dist/src/components/FI/bannerSRG/bannerSRGStyle.d.ts +21 -0
- package/dist/src/components/FI/bannerSRG/bannerSRGStyle.d.ts.map +1 -0
- package/dist/src/components/FI/bannerSRG/index.d.ts +5 -0
- package/dist/src/components/FI/bannerSRG/index.d.ts.map +1 -0
- package/dist/src/components/FI/feedInteraction/feedInteractionStyles.d.ts +15 -0
- package/dist/src/components/FI/feedInteraction/feedInteractionStyles.d.ts.map +1 -0
- package/dist/src/components/FI/feedInteraction/index.d.ts +40 -0
- package/dist/src/components/FI/feedInteraction/index.d.ts.map +1 -0
- package/dist/src/components/FI/follow/index.d.ts +17 -0
- package/dist/src/components/FI/follow/index.d.ts.map +1 -0
- package/dist/src/components/FI/interactionsModal/InteractionsModalStyles.d.ts +13 -0
- package/dist/src/components/FI/interactionsModal/InteractionsModalStyles.d.ts.map +1 -0
- package/dist/src/components/FI/interactionsModal/index.d.ts +4 -0
- package/dist/src/components/FI/interactionsModal/index.d.ts.map +1 -0
- package/dist/src/components/FI/notificationCard/index.d.ts +13 -0
- package/dist/src/components/FI/notificationCard/index.d.ts.map +1 -0
- package/dist/src/components/FI/notificationCard/notificationCardStyles.d.ts +5 -0
- package/dist/src/components/FI/notificationCard/notificationCardStyles.d.ts.map +1 -0
- package/dist/src/components/FI/notificationPopOver/index.d.ts +25 -0
- package/dist/src/components/FI/notificationPopOver/index.d.ts.map +1 -0
- package/dist/src/components/FI/notificationPopOver/notificationPopOverStyles.d.ts +13 -0
- package/dist/src/components/FI/notificationPopOver/notificationPopOverStyles.d.ts.map +1 -0
- package/dist/src/components/FI/postFeed/index.d.ts +42 -0
- package/dist/src/components/FI/postFeed/index.d.ts.map +1 -0
- package/dist/src/components/FI/postFeed/postFeedStyles.d.ts +14 -0
- package/dist/src/components/FI/postFeed/postFeedStyles.d.ts.map +1 -0
- package/dist/src/components/FI/searchBox/SearchBoxStyles.d.ts +4 -0
- package/dist/src/components/FI/searchBox/SearchBoxStyles.d.ts.map +1 -0
- package/dist/src/components/FI/searchBox/index.d.ts +4 -0
- package/dist/src/components/FI/searchBox/index.d.ts.map +1 -0
- package/dist/src/components/FI/sessionFilters/index.d.ts +4 -0
- package/dist/src/components/FI/sessionFilters/index.d.ts.map +1 -0
- package/dist/src/components/FI/sessionFilters/sessionFiltersStyle.d.ts +12 -0
- package/dist/src/components/FI/sessionFilters/sessionFiltersStyle.d.ts.map +1 -0
- package/dist/src/components/FI/smallSRGBanner/index.d.ts +9 -0
- package/dist/src/components/FI/smallSRGBanner/index.d.ts.map +1 -0
- package/dist/src/components/FI/smallSRGBanner/smallSRGBannerStyles.d.ts +5 -0
- package/dist/src/components/FI/smallSRGBanner/smallSRGBannerStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/ContentCycle/ContentCycleStyles.d.ts +17 -0
- package/dist/src/components/IJ/ContentCycle/ContentCycleStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/ContentCycle/index.d.ts +4 -0
- package/dist/src/components/IJ/ContentCycle/index.d.ts.map +1 -0
- package/dist/src/components/IJ/ListContentCycle/ListContentCycleStyles.d.ts +2 -0
- package/dist/src/components/IJ/ListContentCycle/ListContentCycleStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/ListContentCycle/index.d.ts +4 -0
- package/dist/src/components/IJ/ListContentCycle/index.d.ts.map +1 -0
- package/dist/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.d.ts +5 -0
- package/dist/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.d.ts.map +1 -0
- package/dist/src/components/IJ/StepLearningCycle/index.d.ts +4 -0
- package/dist/src/components/IJ/StepLearningCycle/index.d.ts.map +1 -0
- package/dist/src/components/IJ/favorite/favoriteStyles.d.ts +2 -0
- package/dist/src/components/IJ/favorite/favoriteStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/favorite/index.d.ts +8 -0
- package/dist/src/components/IJ/favorite/index.d.ts.map +1 -0
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts +6 -0
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -0
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts +2 -0
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -0
- package/dist/src/components/IJ/learningCycleCard/index.d.ts +5 -0
- package/dist/src/components/IJ/learningCycleCard/index.d.ts.map +1 -0
- package/dist/src/components/IJ/learningCycleCard/learningCycleCardStyle.d.ts +23 -0
- package/dist/src/components/IJ/learningCycleCard/learningCycleCardStyle.d.ts.map +1 -0
- package/dist/src/components/IJ/listSelector/index.d.ts +23 -0
- package/dist/src/components/IJ/listSelector/index.d.ts.map +1 -0
- package/dist/src/components/IJ/listSelector/listSelectorStyles.d.ts +6 -0
- package/dist/src/components/IJ/listSelector/listSelectorStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/pagination/index.d.ts +25 -0
- package/dist/src/components/IJ/pagination/index.d.ts.map +1 -0
- package/dist/src/components/IJ/pagination/paginationStyles.d.ts +10 -0
- package/dist/src/components/IJ/pagination/paginationStyles.d.ts.map +1 -0
- package/dist/src/components/IJ/participantCard/index.d.ts +5 -0
- package/dist/src/components/IJ/participantCard/index.d.ts.map +1 -0
- package/dist/src/components/IJ/participantCard/participantCardStyle.d.ts +33 -0
- package/dist/src/components/IJ/participantCard/participantCardStyle.d.ts.map +1 -0
- package/dist/src/components/IJ/participantCardOld/index.d.ts +5 -0
- package/dist/src/components/IJ/participantCardOld/index.d.ts.map +1 -0
- package/dist/src/components/IJ/participantCardOld/participantCardStyle.d.ts +14 -0
- package/dist/src/components/IJ/participantCardOld/participantCardStyle.d.ts.map +1 -0
- package/dist/src/components/IJ/thumbListContent/index.d.ts +20 -0
- package/dist/src/components/IJ/thumbListContent/index.d.ts.map +1 -0
- package/dist/src/components/IJ/thumbListContent/thumbListContentStyles.d.ts +22 -0
- package/dist/src/components/IJ/thumbListContent/thumbListContentStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/DropdownSelectMultiple/index.d.ts +14 -0
- package/dist/src/components/LXP/DropdownSelectMultiple/index.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts +5 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts +5 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrackStyle.d.ts +25 -0
- package/dist/src/components/LXP/accordionTrack/accordionTrackStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/contentCourses.d.ts +4 -0
- package/dist/src/components/LXP/accordionTrack/contentCourses.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts +4 -0
- package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/vectorDown.d.ts +11 -0
- package/dist/src/components/LXP/accordionTrack/vectorDown.d.ts.map +1 -0
- package/dist/src/components/LXP/accordionTrack/vectorUp.d.ts +11 -0
- package/dist/src/components/LXP/accordionTrack/vectorUp.d.ts.map +1 -0
- package/dist/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.d.ts +13 -0
- package/dist/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/avatarAssociatedChannel/index.d.ts +5 -0
- package/dist/src/components/LXP/avatarAssociatedChannel/index.d.ts.map +1 -0
- package/dist/src/components/LXP/avatarChannel/avatarChannelStyles.d.ts +27 -0
- package/dist/src/components/LXP/avatarChannel/avatarChannelStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/avatarChannel/index.d.ts +5 -0
- package/dist/src/components/LXP/avatarChannel/index.d.ts.map +1 -0
- package/dist/src/components/LXP/bannerLxp/bannerLxp.d.ts +14 -0
- package/dist/src/components/LXP/bannerLxp/bannerLxp.d.ts.map +1 -0
- package/dist/src/components/LXP/bannerLxp/index.d.ts +26 -0
- package/dist/src/components/LXP/bannerLxp/index.d.ts.map +1 -0
- package/dist/src/components/LXP/buttonContent/buttonContentStyle.d.ts +4 -0
- package/dist/src/components/LXP/buttonContent/buttonContentStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/buttonContent/index.d.ts +5 -0
- package/dist/src/components/LXP/buttonContent/index.d.ts.map +1 -0
- package/dist/src/components/LXP/calendarLxp/defaultRanges.d.ts +3 -0
- package/dist/src/components/LXP/calendarLxp/defaultRanges.d.ts.map +1 -0
- package/dist/src/components/LXP/calendarLxp/index.d.ts +11 -0
- package/dist/src/components/LXP/calendarLxp/index.d.ts.map +1 -0
- package/dist/src/components/LXP/cardLearningCicle/index.d.ts +5 -0
- package/dist/src/components/LXP/cardLearningCicle/index.d.ts.map +1 -0
- package/dist/src/components/LXP/colorpicker/colorpickerStyles.d.ts +7 -0
- package/dist/src/components/LXP/colorpicker/colorpickerStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/colorpicker/index.d.ts +5 -0
- package/dist/src/components/LXP/colorpicker/index.d.ts.map +1 -0
- package/dist/src/components/LXP/contentSwitcher/contentSwitcherStyle.d.ts +8 -0
- package/dist/src/components/LXP/contentSwitcher/contentSwitcherStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/contentSwitcher/index.d.ts +4 -0
- package/dist/src/components/LXP/contentSwitcher/index.d.ts.map +1 -0
- package/dist/src/components/LXP/contentThumbnails/contentThumbnailsStyle.d.ts +17 -0
- package/dist/src/components/LXP/contentThumbnails/contentThumbnailsStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/contentThumbnails/index.d.ts +13 -0
- package/dist/src/components/LXP/contentThumbnails/index.d.ts.map +1 -0
- package/dist/src/components/LXP/contentThumbnails/vectorDown.d.ts +11 -0
- package/dist/src/components/LXP/contentThumbnails/vectorDown.d.ts.map +1 -0
- package/dist/src/components/LXP/contentThumbnails/vectorEllipse.d.ts +11 -0
- package/dist/src/components/LXP/contentThumbnails/vectorEllipse.d.ts.map +1 -0
- package/dist/src/components/LXP/contentThumbnails/vectorUp.d.ts +11 -0
- package/dist/src/components/LXP/contentThumbnails/vectorUp.d.ts.map +1 -0
- package/dist/src/components/LXP/extraContent/adminExtraContent.d.ts +4 -0
- package/dist/src/components/LXP/extraContent/adminExtraContent.d.ts.map +1 -0
- package/dist/src/components/LXP/extraContent/index.d.ts +4 -0
- package/dist/src/components/LXP/extraContent/index.d.ts.map +1 -0
- package/dist/src/components/LXP/extraContent/richTextEditor/components.d.ts +21 -0
- package/dist/src/components/LXP/extraContent/richTextEditor/components.d.ts.map +1 -0
- package/dist/src/components/LXP/extraContent/richTextEditor/index.d.ts +4 -0
- package/dist/src/components/LXP/extraContent/richTextEditor/index.d.ts.map +1 -0
- package/dist/src/components/LXP/extraContent/studentExtraContent.d.ts +4 -0
- package/dist/src/components/LXP/extraContent/studentExtraContent.d.ts.map +1 -0
- package/dist/src/components/LXP/fileUpload/fileUploadStyles.d.ts +7 -0
- package/dist/src/components/LXP/fileUpload/fileUploadStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/fileUpload/index.d.ts +5 -0
- package/dist/src/components/LXP/fileUpload/index.d.ts.map +1 -0
- package/dist/src/components/LXP/headerContent/headerContent.d.ts +21 -0
- package/dist/src/components/LXP/headerContent/headerContent.d.ts.map +1 -0
- package/dist/src/components/LXP/headerContent/index.d.ts +21 -0
- package/dist/src/components/LXP/headerContent/index.d.ts.map +1 -0
- package/dist/src/components/LXP/login/index.d.ts +5 -0
- package/dist/src/components/LXP/login/index.d.ts.map +1 -0
- package/dist/src/components/LXP/login/loginStyle.d.ts +33 -0
- package/dist/src/components/LXP/login/loginStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/manageLerningCicles/index.d.ts +5 -0
- package/dist/src/components/LXP/manageLerningCicles/index.d.ts.map +1 -0
- package/dist/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.d.ts +13 -0
- package/dist/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.d.ts.map +1 -0
- package/dist/src/components/LXP/participantThumbnails/index.d.ts +11 -0
- package/dist/src/components/LXP/participantThumbnails/index.d.ts.map +1 -0
- package/dist/src/components/LXP/participantThumbnails/participantThumbnails.d.ts +11 -0
- package/dist/src/components/LXP/participantThumbnails/participantThumbnails.d.ts.map +1 -0
- package/dist/src/components/LXP/participantThumbnailsList/index.d.ts +15 -0
- package/dist/src/components/LXP/participantThumbnailsList/index.d.ts.map +1 -0
- package/dist/src/components/LXP/permission/index.d.ts +5 -0
- package/dist/src/components/LXP/permission/index.d.ts.map +1 -0
- package/dist/src/components/LXP/popOver/index.d.ts +6 -0
- package/dist/src/components/LXP/popOver/index.d.ts.map +1 -0
- package/dist/src/components/LXP/popOver/popOverStyle.d.ts +24 -0
- package/dist/src/components/LXP/popOver/popOverStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/popOverLXP-antigo/index.d.ts +5 -0
- package/dist/src/components/LXP/popOverLXP-antigo/index.d.ts.map +1 -0
- package/dist/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.d.ts +21 -0
- package/dist/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/progressBar/index.d.ts +5 -0
- package/dist/src/components/LXP/progressBar/index.d.ts.map +1 -0
- package/dist/src/components/LXP/progressBar/progressStyle.d.ts +5 -0
- package/dist/src/components/LXP/progressBar/progressStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/searchResults/index.d.ts +5 -0
- package/dist/src/components/LXP/searchResults/index.d.ts.map +1 -0
- package/dist/src/components/LXP/searchResults/searchResultsStyles.d.ts +8 -0
- package/dist/src/components/LXP/searchResults/searchResultsStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/selectLXP/SelectLXP.d.ts +12 -0
- package/dist/src/components/LXP/selectLXP/SelectLXP.d.ts.map +1 -0
- package/dist/src/components/LXP/selectLXP/SelectLXPContext.d.ts +7 -0
- package/dist/src/components/LXP/selectLXP/SelectLXPContext.d.ts.map +1 -0
- package/dist/src/components/LXP/selectLXP/SelectLXPItem.d.ts +12 -0
- package/dist/src/components/LXP/selectLXP/SelectLXPItem.d.ts.map +1 -0
- package/dist/src/components/LXP/selectLXP/index.d.ts +8 -0
- package/dist/src/components/LXP/selectLXP/index.d.ts.map +1 -0
- package/dist/src/components/LXP/star-metric/index.d.ts +4 -0
- package/dist/src/components/LXP/star-metric/index.d.ts.map +1 -0
- package/dist/src/components/LXP/star-metric/starMetricStyles.d.ts +2 -0
- package/dist/src/components/LXP/star-metric/starMetricStyles.d.ts.map +1 -0
- package/dist/src/components/LXP/thumbnails/thumbnails.d.ts +5 -0
- package/dist/src/components/LXP/thumbnails/thumbnails.d.ts.map +1 -0
- package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts +5 -0
- package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts.map +1 -0
- package/dist/src/components/LXP/thumbnails/thumbnailsStyle.d.ts +24 -0
- package/dist/src/components/LXP/thumbnails/thumbnailsStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/thumbnails/vectorCross.d.ts +11 -0
- package/dist/src/components/LXP/thumbnails/vectorCross.d.ts.map +1 -0
- package/dist/src/components/LXP/thumbnails/vectorEllipse.d.ts +11 -0
- package/dist/src/components/LXP/thumbnails/vectorEllipse.d.ts.map +1 -0
- package/dist/src/components/LXP/tooltip/index.d.ts +4 -0
- package/dist/src/components/LXP/tooltip/index.d.ts.map +1 -0
- package/dist/src/components/LXP/tooltip/tooltipStyle.d.ts +7 -0
- package/dist/src/components/LXP/tooltip/tooltipStyle.d.ts.map +1 -0
- package/dist/src/components/LXP/urlAddress/index.d.ts +5 -0
- package/dist/src/components/LXP/urlAddress/index.d.ts.map +1 -0
- package/dist/src/components/LXP/video/index.d.ts +5 -0
- package/dist/src/components/LXP/video/index.d.ts.map +1 -0
- package/dist/src/components/LogoFRST/index.d.ts +10 -0
- package/dist/src/components/LogoFRST/index.d.ts.map +1 -0
- package/dist/src/components/accordion-tabs/accordionTabsStyles.d.ts +19 -0
- package/dist/src/components/accordion-tabs/accordionTabsStyles.d.ts.map +1 -0
- package/dist/src/components/accordion-tabs/index.d.ts +5 -0
- package/dist/src/components/accordion-tabs/index.d.ts.map +1 -0
- package/dist/src/components/audio-player/audioPlayerStyles.d.ts +21 -0
- package/dist/src/components/audio-player/audioPlayerStyles.d.ts.map +1 -0
- package/dist/src/components/audio-player/index.d.ts +22 -0
- package/dist/src/components/audio-player/index.d.ts.map +1 -0
- package/dist/src/components/avatar/avatarStyles.d.ts +9 -0
- package/dist/src/components/avatar/avatarStyles.d.ts.map +1 -0
- package/dist/src/components/avatar/index.d.ts +5 -0
- package/dist/src/components/avatar/index.d.ts.map +1 -0
- package/dist/src/components/buttons/buttonStyle.d.ts +25 -0
- package/dist/src/components/buttons/buttonStyle.d.ts.map +1 -0
- package/dist/src/components/buttons/index.d.ts +24 -0
- package/dist/src/components/buttons/index.d.ts.map +1 -0
- package/dist/src/components/calendar/calendarStyle.d.ts +39 -0
- package/dist/src/components/calendar/calendarStyle.d.ts.map +1 -0
- package/dist/src/components/calendar/index.d.ts +22 -0
- package/dist/src/components/calendar/index.d.ts.map +1 -0
- package/dist/src/components/card-trail/cardTrailStyle.d.ts +13 -0
- package/dist/src/components/card-trail/cardTrailStyle.d.ts.map +1 -0
- package/dist/src/components/card-trail/index.d.ts +21 -0
- package/dist/src/components/card-trail/index.d.ts.map +1 -0
- package/dist/src/components/card-trail/moduleStyle.d.ts +13 -0
- package/dist/src/components/card-trail/moduleStyle.d.ts.map +1 -0
- package/dist/src/components/card-trail-carousel/index.d.ts +5 -0
- package/dist/src/components/card-trail-carousel/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/AvatarWithInfo/index.d.ts +26 -0
- package/dist/src/components/cardLT/AvatarWithInfo/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/AvatarWithInfo/vector.d.ts +11 -0
- package/dist/src/components/cardLT/AvatarWithInfo/vector.d.ts.map +1 -0
- package/dist/src/components/cardLT/BannerProblem/index.d.ts +4 -0
- package/dist/src/components/cardLT/BannerProblem/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/BannerProblem/styles.d.ts +5 -0
- package/dist/src/components/cardLT/BannerProblem/styles.d.ts.map +1 -0
- package/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts +7 -0
- package/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts.map +1 -0
- package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts +7 -0
- package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts.map +1 -0
- package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts +7 -0
- package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts.map +1 -0
- package/dist/src/components/cardLT/MessageBox/index.d.ts +30 -0
- package/dist/src/components/cardLT/MessageBox/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/Rating/index.d.ts +35 -0
- package/dist/src/components/cardLT/Rating/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/Rating/starIcon.d.ts +11 -0
- package/dist/src/components/cardLT/Rating/starIcon.d.ts.map +1 -0
- package/dist/src/components/cardLT/RatingCurtidas/index.d.ts +18 -0
- package/dist/src/components/cardLT/RatingCurtidas/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/RocketButton/RocketButtonIcon.d.ts +18 -0
- package/dist/src/components/cardLT/RocketButton/RocketButtonIcon.d.ts.map +1 -0
- package/dist/src/components/cardLT/RocketButton/index.d.ts +16 -0
- package/dist/src/components/cardLT/RocketButton/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/StepsMission/StepMission.d.ts +31 -0
- package/dist/src/components/cardLT/StepsMission/StepMission.d.ts.map +1 -0
- package/dist/src/components/cardLT/StepsMission/Steps.d.ts +27 -0
- package/dist/src/components/cardLT/StepsMission/Steps.d.ts.map +1 -0
- package/dist/src/components/cardLT/TextIcon/index.d.ts +26 -0
- package/dist/src/components/cardLT/TextIcon/index.d.ts.map +1 -0
- package/dist/src/components/cardLT/selectCard/index.d.ts +26 -0
- package/dist/src/components/cardLT/selectCard/index.d.ts.map +1 -0
- package/dist/src/components/cards/base/index.d.ts +4 -0
- package/dist/src/components/cards/base/index.d.ts.map +1 -0
- package/dist/src/components/cards/cardDefinicaoProblema/index.d.ts +38 -0
- package/dist/src/components/cards/cardDefinicaoProblema/index.d.ts.map +1 -0
- package/dist/src/components/cards/cardProblem/index.d.ts +31 -0
- package/dist/src/components/cards/cardProblem/index.d.ts.map +1 -0
- package/dist/src/components/cards/cardProblemGestor/index.d.ts +26 -0
- package/dist/src/components/cards/cardProblemGestor/index.d.ts.map +1 -0
- package/dist/src/components/cards/cardResultConquista/index.d.ts +22 -0
- package/dist/src/components/cards/cardResultConquista/index.d.ts.map +1 -0
- package/dist/src/components/cards/user/index.d.ts +27 -0
- package/dist/src/components/cards/user/index.d.ts.map +1 -0
- package/dist/src/components/challenge-cards/challengeCardStyles.d.ts +24 -0
- package/dist/src/components/challenge-cards/challengeCardStyles.d.ts.map +1 -0
- package/dist/src/components/challenge-cards/dropdownMenuStyle.d.ts +9 -0
- package/dist/src/components/challenge-cards/dropdownMenuStyle.d.ts.map +1 -0
- package/dist/src/components/challenge-cards/index.d.ts +14 -0
- package/dist/src/components/challenge-cards/index.d.ts.map +1 -0
- package/dist/src/components/checkmark/checkmarkStyles.d.ts +7 -0
- package/dist/src/components/checkmark/checkmarkStyles.d.ts.map +1 -0
- package/dist/src/components/checkmark/index.d.ts +5 -0
- package/dist/src/components/checkmark/index.d.ts.map +1 -0
- package/dist/src/components/commentary-box/commentaryBox.utils.d.ts +8 -0
- package/dist/src/components/commentary-box/commentaryBox.utils.d.ts.map +1 -0
- package/dist/src/components/commentary-box/commentaryBoxStyles.d.ts +35 -0
- package/dist/src/components/commentary-box/commentaryBoxStyles.d.ts.map +1 -0
- package/dist/src/components/commentary-box/index.d.ts +5 -0
- package/dist/src/components/commentary-box/index.d.ts.map +1 -0
- package/dist/src/components/conquistaCarrossel/index.d.ts +5 -0
- package/dist/src/components/conquistaCarrossel/index.d.ts.map +1 -0
- package/dist/src/components/demo/stepController/StepControllerStyle.d.ts +3 -0
- package/dist/src/components/demo/stepController/StepControllerStyle.d.ts.map +1 -0
- package/dist/src/components/demo/stepController/index.d.ts +13 -0
- package/dist/src/components/demo/stepController/index.d.ts.map +1 -0
- package/dist/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.d.ts +20 -0
- package/dist/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.d.ts.map +1 -0
- package/dist/src/components/dropdown-profile-menu/index.d.ts +4 -0
- package/dist/src/components/dropdown-profile-menu/index.d.ts.map +1 -0
- package/dist/src/components/emoji-picker/index.d.ts +3 -0
- package/dist/src/components/emoji-picker/index.d.ts.map +1 -0
- package/dist/src/components/exclusive-class/exclusiveClassStyles.d.ts +5 -0
- package/dist/src/components/exclusive-class/exclusiveClassStyles.d.ts.map +1 -0
- package/dist/src/components/exclusive-class/index.d.ts +5 -0
- package/dist/src/components/exclusive-class/index.d.ts.map +1 -0
- package/dist/src/components/field-search-dropdown/fieldSearchStyle.d.ts +20 -0
- package/dist/src/components/field-search-dropdown/fieldSearchStyle.d.ts.map +1 -0
- package/dist/src/components/field-search-dropdown/index.d.ts +5 -0
- package/dist/src/components/field-search-dropdown/index.d.ts.map +1 -0
- package/dist/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.d.ts +2 -0
- package/dist/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.d.ts.map +1 -0
- package/dist/src/components/filter-accordion-checkbox/index.d.ts +5 -0
- package/dist/src/components/filter-accordion-checkbox/index.d.ts.map +1 -0
- package/dist/src/components/form-elements/checkbox/checkboxStyle.d.ts +6 -0
- package/dist/src/components/form-elements/checkbox/checkboxStyle.d.ts.map +1 -0
- package/dist/src/components/form-elements/checkbox/index.d.ts +8 -0
- package/dist/src/components/form-elements/checkbox/index.d.ts.map +1 -0
- package/dist/src/components/form-elements/textarea/index.d.ts +4 -0
- package/dist/src/components/form-elements/textarea/index.d.ts.map +1 -0
- package/dist/src/components/form-elements/textfield/index.d.ts +30 -0
- package/dist/src/components/form-elements/textfield/index.d.ts.map +1 -0
- package/dist/src/components/form-elements/textfield/textFieldStyle.d.ts +13 -0
- package/dist/src/components/form-elements/textfield/textFieldStyle.d.ts.map +1 -0
- package/dist/src/components/global-menu/components/customMenu/index.d.ts +2 -0
- package/dist/src/components/global-menu/components/customMenu/index.d.ts.map +1 -0
- package/dist/src/components/global-menu/globalMenuStyles.d.ts +27 -0
- package/dist/src/components/global-menu/globalMenuStyles.d.ts.map +1 -0
- package/dist/src/components/global-menu/index.d.ts +52 -0
- package/dist/src/components/global-menu/index.d.ts.map +1 -0
- package/dist/src/components/headerChallenge/headerChallengeStyle.d.ts +2 -0
- package/dist/src/components/headerChallenge/headerChallengeStyle.d.ts.map +1 -0
- package/dist/src/components/headerChallenge/index.d.ts +11 -0
- package/dist/src/components/headerChallenge/index.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +7 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/input-comment/index.d.ts +5 -0
- package/dist/src/components/input-comment/index.d.ts.map +1 -0
- package/dist/src/components/input-comment/inputComment.utils.d.ts +2 -0
- package/dist/src/components/input-comment/inputComment.utils.d.ts.map +1 -0
- package/dist/src/components/input-comment/inputCommentStyles.d.ts +18 -0
- package/dist/src/components/input-comment/inputCommentStyles.d.ts.map +1 -0
- package/dist/src/components/item-lateral-menu/index.d.ts +5 -0
- package/dist/src/components/item-lateral-menu/index.d.ts.map +1 -0
- package/dist/src/components/item-lateral-menu/itemLateralMenuStyles.d.ts +23 -0
- package/dist/src/components/item-lateral-menu/itemLateralMenuStyles.d.ts.map +1 -0
- package/dist/src/components/item-menu-global/index.d.ts +5 -0
- package/dist/src/components/item-menu-global/index.d.ts.map +1 -0
- package/dist/src/components/item-menu-global/itemMenuGlobalStyles.d.ts +12 -0
- package/dist/src/components/item-menu-global/itemMenuGlobalStyles.d.ts.map +1 -0
- package/dist/src/components/languages-dropdown/index.d.ts +5 -0
- package/dist/src/components/languages-dropdown/index.d.ts.map +1 -0
- package/dist/src/components/languages-dropdown/languagesDropdownStyles.d.ts +13 -0
- package/dist/src/components/languages-dropdown/languagesDropdownStyles.d.ts.map +1 -0
- package/dist/src/components/lateral-menu/index.d.ts +5 -0
- package/dist/src/components/lateral-menu/index.d.ts.map +1 -0
- package/dist/src/components/lateral-menu/lateralMenuStyles.d.ts +7 -0
- package/dist/src/components/lateral-menu/lateralMenuStyles.d.ts.map +1 -0
- package/dist/src/components/learning-steps/index.d.ts +5 -0
- package/dist/src/components/learning-steps/index.d.ts.map +1 -0
- package/dist/src/components/learning-steps/learningStepsStyles.d.ts +8 -0
- package/dist/src/components/learning-steps/learningStepsStyles.d.ts.map +1 -0
- package/dist/src/components/menu-more/index.d.ts +5 -0
- package/dist/src/components/menu-more/index.d.ts.map +1 -0
- package/dist/src/components/menu-more/menuMoreStyles.d.ts +9 -0
- package/dist/src/components/menu-more/menuMoreStyles.d.ts.map +1 -0
- package/dist/src/components/modal/modalLearningTech/index.d.ts +20 -0
- package/dist/src/components/modal/modalLearningTech/index.d.ts.map +1 -0
- package/dist/src/components/modal/modalVideo/index.d.ts +19 -0
- package/dist/src/components/modal/modalVideo/index.d.ts.map +1 -0
- package/dist/src/components/modal/statusProblema/index.d.ts +13 -0
- package/dist/src/components/modal/statusProblema/index.d.ts.map +1 -0
- package/dist/src/components/quantidadeDesafios/index.d.ts +20 -0
- package/dist/src/components/quantidadeDesafios/index.d.ts.map +1 -0
- package/dist/src/components/quantidadeDesafios/quantidadeDesafios.d.ts +8 -0
- package/dist/src/components/quantidadeDesafios/quantidadeDesafios.d.ts.map +1 -0
- package/dist/src/components/scroll-container/index.d.ts +5 -0
- package/dist/src/components/scroll-container/index.d.ts.map +1 -0
- package/dist/src/components/scroll-container/scrollContainer.utils.d.ts +2 -0
- package/dist/src/components/scroll-container/scrollContainer.utils.d.ts.map +1 -0
- package/dist/src/components/scroll-container/scrollContainerStyles.d.ts +15 -0
- package/dist/src/components/scroll-container/scrollContainerStyles.d.ts.map +1 -0
- package/dist/src/components/search-field/index.d.ts +5 -0
- package/dist/src/components/search-field/index.d.ts.map +1 -0
- package/dist/src/components/search-field/searchFieldStyles.d.ts +12 -0
- package/dist/src/components/search-field/searchFieldStyles.d.ts.map +1 -0
- package/dist/src/components/select/index.d.ts +8 -0
- package/dist/src/components/select/index.d.ts.map +1 -0
- package/dist/src/components/speech-bubble/index.d.ts +5 -0
- package/dist/src/components/speech-bubble/index.d.ts.map +1 -0
- package/dist/src/components/speech-bubble/speechBubbleStyles.d.ts +11 -0
- package/dist/src/components/speech-bubble/speechBubbleStyles.d.ts.map +1 -0
- package/dist/src/components/step-card/index.d.ts +5 -0
- package/dist/src/components/step-card/index.d.ts.map +1 -0
- package/dist/src/components/step-card/stepCardStyles.d.ts +20 -0
- package/dist/src/components/step-card/stepCardStyles.d.ts.map +1 -0
- package/dist/src/components/tag/index.d.ts +19 -0
- package/dist/src/components/tag/index.d.ts.map +1 -0
- package/dist/src/components/totalizer-card/index.d.ts +5 -0
- package/dist/src/components/totalizer-card/index.d.ts.map +1 -0
- package/dist/src/components/totalizer-card/totalizerCardStyles.d.ts +18 -0
- package/dist/src/components/totalizer-card/totalizerCardStyles.d.ts.map +1 -0
- package/dist/src/shared/globalComponentsStyle.d.ts +10 -0
- package/dist/src/shared/globalComponentsStyle.d.ts.map +1 -0
- package/dist/src/shared/icons.d.ts +156 -0
- package/dist/src/shared/icons.d.ts.map +1 -0
- package/dist/src/theme/index.d.ts +3 -0
- package/dist/src/theme/index.d.ts.map +1 -0
- package/dist/src/theme/tokens.d.ts +195 -0
- package/dist/src/theme/tokens.d.ts.map +1 -0
- package/images.d.ts +4 -0
- package/index.tsx +178 -0
- package/package.json +92 -0
- package/public/bg1.png +0 -0
- package/public/bg2.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/img/NoUploaded.png +0 -0
- package/public/img/Picture.png +0 -0
- package/public/img/thumbFoto.png +0 -0
- package/public/index.html +43 -0
- package/public/locales/en-US.json +30 -0
- package/public/locales/es.json +31 -0
- package/public/locales/pt-BR.json +38 -0
- package/public/manifest.json +15 -0
- package/public/robots.txt +3 -0
- package/publish.sh +19 -0
- package/rollup.config.js +15 -0
- package/src/components/DS/loading/index.tsx +70 -0
- package/src/components/DS/loading/loading.stories.tsx +31 -0
- package/src/components/DS/loading/loadingStyle.ts +40 -0
- package/src/components/DS/modal/index.stories.tsx +25 -0
- package/src/components/DS/modal/index.tsx +100 -0
- package/src/components/DS/modal/styles.ts +101 -0
- package/src/components/DS/select/Select.tsx +101 -0
- package/src/components/DS/select/SelectContext.tsx +9 -0
- package/src/components/DS/select/SelectItem.tsx +69 -0
- package/src/components/DS/select/index.tsx +18 -0
- package/src/components/DS/select/select.stories.tsx +20 -0
- package/src/components/DS/select/styles/StylesSelect.tsx +100 -0
- package/src/components/DS/tooltip/index.stories.tsx +24 -0
- package/src/components/DS/tooltip/index.tsx +81 -0
- package/src/components/DS/tooltip/styles.ts +155 -0
- package/src/components/DS/tooltip/types.d.ts +21 -0
- package/src/components/EBR/buttons-group/index.d.ts +4 -0
- package/src/components/EBR/buttons-group/index.stories.tsx +23 -0
- package/src/components/EBR/buttons-group/index.tsx +31 -0
- package/src/components/EBR/buttons-group/styles.ts +7 -0
- package/src/components/EBR/group-statistics/groupStatistics.d.ts +6 -0
- package/src/components/EBR/group-statistics/groupStatistics.stories.tsx +89 -0
- package/src/components/EBR/group-statistics/groupStatisticsStyles.ts +63 -0
- package/src/components/EBR/group-statistics/index.tsx +85 -0
- package/src/components/EBR/objective-step/index.tsx +18 -0
- package/src/components/EBR/objective-step/objectiveStep.d.ts +5 -0
- package/src/components/EBR/objective-step/objectiveStep.stories.tsx +24 -0
- package/src/components/EBR/objective-step/objectiveStepStyles.ts +42 -0
- package/src/components/EBR/rating/index.tsx +97 -0
- package/src/components/EBR/rating/rating.d.ts +42 -0
- package/src/components/EBR/rating/rating.stories.tsx +24 -0
- package/src/components/EBR/rating/ratingStyles.ts +25 -0
- package/src/components/EBR/specialist-contact/index.tsx +40 -0
- package/src/components/EBR/specialist-contact/specialistContact.d.ts +13 -0
- package/src/components/EBR/specialist-contact/specialistContact.stories.tsx +26 -0
- package/src/components/EBR/specialist-contact/specialistContactStyles.ts +93 -0
- package/src/components/EBR/stepper/index.d.ts +29 -0
- package/src/components/EBR/stepper/index.stories.tsx +43 -0
- package/src/components/EBR/stepper/index.tsx +7 -0
- package/src/components/EBR/stepper/stepper.tsx +23 -0
- package/src/components/EBR/stepper/stepperItem.tsx +38 -0
- package/src/components/EBR/stepper/styles.ts +140 -0
- package/src/components/EBR/trail-list/index.tsx +82 -0
- package/src/components/EBR/trail-list/trailList.d.ts +6 -0
- package/src/components/EBR/trail-list/trailList.stories.tsx +59 -0
- package/src/components/EBR/trail-list/trailListStyles.ts +54 -0
- package/src/components/FI/bannerProblemFeed/bannerProblemFeed.stories.tsx +355 -0
- package/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.ts +128 -0
- package/src/components/FI/bannerProblemFeed/index.tsx +388 -0
- package/src/components/FI/bannerSRG/bannerSRG.d.ts +33 -0
- package/src/components/FI/bannerSRG/bannerSRG.stories.tsx +106 -0
- package/src/components/FI/bannerSRG/bannerSRGStyle.ts +226 -0
- package/src/components/FI/bannerSRG/index.tsx +93 -0
- package/src/components/FI/feedInteraction/feedInteraction.stories.tsx +219 -0
- package/src/components/FI/feedInteraction/feedInteractionStyles.ts +142 -0
- package/src/components/FI/feedInteraction/index.tsx +343 -0
- package/src/components/FI/follow/follow.stories.tsx +59 -0
- package/src/components/FI/follow/followStyles.ts +42 -0
- package/src/components/FI/follow/index.tsx +144 -0
- package/src/components/FI/interactionsModal/InteractionsModal.stories.tsx +123 -0
- package/src/components/FI/interactionsModal/InteractionsModalStyles.ts +164 -0
- package/src/components/FI/interactionsModal/index.tsx +106 -0
- package/src/components/FI/interactionsModal/interactionsModal.d.ts +23 -0
- package/src/components/FI/notificationCard/index.tsx +66 -0
- package/src/components/FI/notificationCard/notificationCard.stories.tsx +34 -0
- package/src/components/FI/notificationCard/notificationCardStyles.ts +41 -0
- package/src/components/FI/notificationPopOver/index.tsx +190 -0
- package/src/components/FI/notificationPopOver/notificationPopOver.stories.tsx +117 -0
- package/src/components/FI/notificationPopOver/notificationPopOverStyles.ts +109 -0
- package/src/components/FI/postFeed/index.tsx +188 -0
- package/src/components/FI/postFeed/postFeed.stories.tsx +313 -0
- package/src/components/FI/postFeed/postFeedStyles.ts +188 -0
- package/src/components/FI/searchBox/SearchBox.stories.tsx +34 -0
- package/src/components/FI/searchBox/SearchBoxStyles.ts +21 -0
- package/src/components/FI/searchBox/index.tsx +25 -0
- package/src/components/FI/searchBox/searchBox.d.ts +11 -0
- package/src/components/FI/sessionFilters/index.tsx +160 -0
- package/src/components/FI/sessionFilters/sessionFilters.d.ts +35 -0
- package/src/components/FI/sessionFilters/sessionFilters.stories.tsx +74 -0
- package/src/components/FI/sessionFilters/sessionFiltersStyle.ts +86 -0
- package/src/components/FI/smallSRGBanner/index.tsx +24 -0
- package/src/components/FI/smallSRGBanner/smallSRGBanner.stories.tsx +19 -0
- package/src/components/FI/smallSRGBanner/smallSRGBannerStyles.ts +34 -0
- package/src/components/IJ/ContentCycle/ContentCycle.d.ts +56 -0
- package/src/components/IJ/ContentCycle/ContentCycle.stories.tsx +30 -0
- package/src/components/IJ/ContentCycle/ContentCycleStyles.ts +152 -0
- package/src/components/IJ/ContentCycle/index.tsx +85 -0
- package/src/components/IJ/ListContentCycle/ListContentCycle.d.ts +33 -0
- package/src/components/IJ/ListContentCycle/ListContentCycle.stories.tsx +77 -0
- package/src/components/IJ/ListContentCycle/ListContentCycleStyles.ts +10 -0
- package/src/components/IJ/ListContentCycle/index.tsx +35 -0
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.d.ts +39 -0
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.stories.tsx +24 -0
- package/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.ts +93 -0
- package/src/components/IJ/StepLearningCycle/index.tsx +153 -0
- package/src/components/IJ/favorite/favorite.stories.tsx +19 -0
- package/src/components/IJ/favorite/favoriteStyles.ts +15 -0
- package/src/components/IJ/favorite/index.tsx +44 -0
- package/src/components/IJ/learningCycleCard/components/menu/index.tsx +92 -0
- package/src/components/IJ/learningCycleCard/components/menu/menuStyle.ts +27 -0
- package/src/components/IJ/learningCycleCard/index.tsx +93 -0
- package/src/components/IJ/learningCycleCard/learningCycleCard.d.ts +28 -0
- package/src/components/IJ/learningCycleCard/learningCycleCard.stories.tsx +229 -0
- package/src/components/IJ/learningCycleCard/learningCycleCardStyle.ts +173 -0
- package/src/components/IJ/listSelector/index.tsx +85 -0
- package/src/components/IJ/listSelector/listSelector.stories.tsx +64 -0
- package/src/components/IJ/listSelector/listSelectorStyles.ts +49 -0
- package/src/components/IJ/pagination/index.tsx +155 -0
- package/src/components/IJ/pagination/pagination.stories.tsx +112 -0
- package/src/components/IJ/pagination/paginationStyles.ts +61 -0
- package/src/components/IJ/participantCard/index.tsx +111 -0
- package/src/components/IJ/participantCard/participantCard.d.ts +24 -0
- package/src/components/IJ/participantCard/participantCard.stories.tsx +82 -0
- package/src/components/IJ/participantCard/participantCardStyle.ts +304 -0
- package/src/components/IJ/participantCardOld/index.tsx +108 -0
- package/src/components/IJ/participantCardOld/participantCard.d.ts +23 -0
- package/src/components/IJ/participantCardOld/participantCard.stories.tsx +34 -0
- package/src/components/IJ/participantCardOld/participantCardStyle.ts +218 -0
- package/src/components/IJ/thumbListContent/index.tsx +127 -0
- package/src/components/IJ/thumbListContent/thumbListContent.stories.tsx +130 -0
- package/src/components/IJ/thumbListContent/thumbListContentStyles.ts +196 -0
- package/src/components/LXP/DropdownSelectMultiple/dropdownSelectMultiple.stories.tsx +43 -0
- package/src/components/LXP/DropdownSelectMultiple/index.tsx +77 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectDemo.ts +79 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectItems.css +118 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/DropdownChevron.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/close.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/vector.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/primeflex.css +20970 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/primereact.css +6326 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/theme.css +6515 -0
- package/src/components/LXP/accordionTrack/IAccordionTrack.d.ts +81 -0
- package/src/components/LXP/accordionTrack/accordionTrack.stories.tsx +305 -0
- package/src/components/LXP/accordionTrack/accordionTrack.tsx +402 -0
- package/src/components/LXP/accordionTrack/accordionTrackList.tsx +263 -0
- package/src/components/LXP/accordionTrack/accordionTrackStyle.ts +196 -0
- package/src/components/LXP/accordionTrack/contentCourses.tsx +9 -0
- package/src/components/LXP/accordionTrack/contentCoursesTrails.tsx +304 -0
- package/src/components/LXP/accordionTrack/vectorDown.tsx +26 -0
- package/src/components/LXP/accordionTrack/vectorUp.tsx +26 -0
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.d.ts +10 -0
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.stories.tsx +29 -0
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.ts +92 -0
- package/src/components/LXP/avatarAssociatedChannel/index.tsx +47 -0
- package/src/components/LXP/avatarChannel/avatarChannel.d.ts +13 -0
- package/src/components/LXP/avatarChannel/avatarChannel.stories.tsx +38 -0
- package/src/components/LXP/avatarChannel/avatarChannelStyles.ts +145 -0
- package/src/components/LXP/avatarChannel/index.tsx +112 -0
- package/src/components/LXP/bannerLxp/bannerLxp.stories.tsx +37 -0
- package/src/components/LXP/bannerLxp/bannerLxp.tsx +141 -0
- package/src/components/LXP/bannerLxp/index.tsx +270 -0
- package/src/components/LXP/buttonContent/buttonContent.d.ts +12 -0
- package/src/components/LXP/buttonContent/buttonContent.stories.tsx +23 -0
- package/src/components/LXP/buttonContent/buttonContentStyle.ts +63 -0
- package/src/components/LXP/buttonContent/index.tsx +16 -0
- package/src/components/LXP/calendarLxp/calendar.css +375 -0
- package/src/components/LXP/calendarLxp/calendarLxp.module.css +39 -0
- package/src/components/LXP/calendarLxp/calendarLxp.stories.tsx +19 -0
- package/src/components/LXP/calendarLxp/defaultRanges.tsx +99 -0
- package/src/components/LXP/calendarLxp/index.tsx +72 -0
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.d.ts +16 -0
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.stories.tsx +31 -0
- package/src/components/LXP/cardLearningCicle/cardLearningCicleStyle.ts +118 -0
- package/src/components/LXP/cardLearningCicle/index.tsx +129 -0
- package/src/components/LXP/colorpicker/colorpicker.d.ts +6 -0
- package/src/components/LXP/colorpicker/colorpicker.stories.tsx +18 -0
- package/src/components/LXP/colorpicker/colorpickerStyles.ts +46 -0
- package/src/components/LXP/colorpicker/index.tsx +30 -0
- package/src/components/LXP/contentSwitcher/contentSwitcher.d.ts +12 -0
- package/src/components/LXP/contentSwitcher/contentSwitcher.stories.tsx +26 -0
- package/src/components/LXP/contentSwitcher/contentSwitcherStyle.ts +92 -0
- package/src/components/LXP/contentSwitcher/index.tsx +33 -0
- package/src/components/LXP/contentThumbnails/contentThumbnails.d.ts +21 -0
- package/src/components/LXP/contentThumbnails/contentThumbnails.stories.tsx +106 -0
- package/src/components/LXP/contentThumbnails/contentThumbnailsStyle.ts +170 -0
- package/src/components/LXP/contentThumbnails/index.tsx +208 -0
- package/src/components/LXP/contentThumbnails/vectorDown.tsx +26 -0
- package/src/components/LXP/contentThumbnails/vectorEllipse.tsx +38 -0
- package/src/components/LXP/contentThumbnails/vectorUp.tsx +26 -0
- package/src/components/LXP/extraContent/adminExtraContent.tsx +127 -0
- package/src/components/LXP/extraContent/extraContent.d.ts +42 -0
- package/src/components/LXP/extraContent/extraContent.module.css +24 -0
- package/src/components/LXP/extraContent/extraContent.stories.tsx +96 -0
- package/src/components/LXP/extraContent/index.tsx +27 -0
- package/src/components/LXP/extraContent/richTextEditor/components.tsx +194 -0
- package/src/components/LXP/extraContent/richTextEditor/index.tsx +262 -0
- package/src/components/LXP/extraContent/studentExtraContent.tsx +160 -0
- package/src/components/LXP/fileUpload/FileUpload.d.ts +14 -0
- package/src/components/LXP/fileUpload/FileUpload.stories.tsx +29 -0
- package/src/components/LXP/fileUpload/fileUploadStyles.ts +86 -0
- package/src/components/LXP/fileUpload/index.tsx +51 -0
- package/src/components/LXP/headerContent/headerContent.stories.tsx +94 -0
- package/src/components/LXP/headerContent/headerContent.ts +216 -0
- package/src/components/LXP/headerContent/index.tsx +121 -0
- package/src/components/LXP/headerContent/selectedCountCircle.tsx +14 -0
- package/src/components/LXP/login/index.tsx +410 -0
- package/src/components/LXP/login/login.d.ts +50 -0
- package/src/components/LXP/login/login.stories.tsx +98 -0
- package/src/components/LXP/login/loginStyle.ts +290 -0
- package/src/components/LXP/manageLerningCicles/index.tsx +70 -0
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.ts +88 -0
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.d.ts +12 -0
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.stories.tsx +23 -0
- package/src/components/LXP/participantThumbnails/index.tsx +85 -0
- package/src/components/LXP/participantThumbnails/participantThumbnails.stories.tsx +19 -0
- package/src/components/LXP/participantThumbnails/participantThumbnails.ts +114 -0
- package/src/components/LXP/participantThumbnailsList/index.tsx +64 -0
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.stories.tsx +93 -0
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.ts +114 -0
- package/src/components/LXP/permission/index.tsx +223 -0
- package/src/components/LXP/permission/permission.d.ts +16 -0
- package/src/components/LXP/permission/permission.stories.tsx +28 -0
- package/src/components/LXP/permission/permissionStyle.ts +52 -0
- package/src/components/LXP/popOver/index.tsx +111 -0
- package/src/components/LXP/popOver/popOver.d.ts +30 -0
- package/src/components/LXP/popOver/popOver.stories.tsx +128 -0
- package/src/components/LXP/popOver/popOverStyle.ts +130 -0
- package/src/components/LXP/popOverLXP-antigo/index.tsx +48 -0
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.d.ts +9 -0
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.stories.tsx +103 -0
- package/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.ts +121 -0
- package/src/components/LXP/progressBar/index.tsx +18 -0
- package/src/components/LXP/progressBar/progressBar.d.ts +8 -0
- package/src/components/LXP/progressBar/progressBar.stories.tsx +18 -0
- package/src/components/LXP/progressBar/progressStyle.ts +28 -0
- package/src/components/LXP/searchResults/index.tsx +36 -0
- package/src/components/LXP/searchResults/searchResults.d.ts +11 -0
- package/src/components/LXP/searchResults/searchResults.stories.tsx +23 -0
- package/src/components/LXP/searchResults/searchResultsStyles.ts +63 -0
- package/src/components/LXP/selectLXP/SelectLXP.tsx +170 -0
- package/src/components/LXP/selectLXP/SelectLXPContext.tsx +9 -0
- package/src/components/LXP/selectLXP/SelectLXPItem.tsx +63 -0
- package/src/components/LXP/selectLXP/index.tsx +16 -0
- package/src/components/LXP/selectLXP/selectLXP.stories.tsx +20 -0
- package/src/components/LXP/star-metric/index.tsx +28 -0
- package/src/components/LXP/star-metric/starMetric.d.ts +6 -0
- package/src/components/LXP/star-metric/starMetric.stories.tsx +18 -0
- package/src/components/LXP/star-metric/starMetricStyles.ts +17 -0
- package/src/components/LXP/thumbnails/thumbnails.d.ts +36 -0
- package/src/components/LXP/thumbnails/thumbnails.stories.tsx +48 -0
- package/src/components/LXP/thumbnails/thumbnails.tsx +217 -0
- package/src/components/LXP/thumbnails/thumbnailsDraggable.tsx +73 -0
- package/src/components/LXP/thumbnails/thumbnailsStyle.ts +183 -0
- package/src/components/LXP/thumbnails/vectorCross.tsx +25 -0
- package/src/components/LXP/thumbnails/vectorEllipse.tsx +38 -0
- package/src/components/LXP/tooltip/index.tsx +15 -0
- package/src/components/LXP/tooltip/tooltip.stories.tsx +19 -0
- package/src/components/LXP/tooltip/tooltipStyle.ts +114 -0
- package/src/components/LXP/urlAddress/index.tsx +30 -0
- package/src/components/LXP/urlAddress/urlAddress.d.ts +10 -0
- package/src/components/LXP/urlAddress/urlAddress.stories.tsx +21 -0
- package/src/components/LXP/urlAddress/urlAddressStyle.ts +61 -0
- package/src/components/LXP/video/Video.d.ts +19 -0
- package/src/components/LXP/video/Video.stories.tsx +95 -0
- package/src/components/LXP/video/index.tsx +22 -0
- package/src/components/LogoFRST/index.tsx +34 -0
- package/src/components/LogoFRST/logoFRST.module.css +27 -0
- package/src/components/LogoFRST/logoFRST.stories.tsx +38 -0
- package/src/components/accordion-tabs/accordionTabs.d.ts +19 -0
- package/src/components/accordion-tabs/accordionTabs.stories.tsx +34 -0
- package/src/components/accordion-tabs/accordionTabsStyles.ts +114 -0
- package/src/components/accordion-tabs/index.tsx +77 -0
- package/src/components/audio-player/Royalty.mp3 +0 -0
- package/src/components/audio-player/audioPlayer.stories.tsx +39 -0
- package/src/components/audio-player/audioPlayerStyles.ts +314 -0
- package/src/components/audio-player/index.tsx +209 -0
- package/src/components/avatar/avatar.d.ts +8 -0
- package/src/components/avatar/avatar.stories.tsx +21 -0
- package/src/components/avatar/avatarStyles.ts +23 -0
- package/src/components/avatar/index.tsx +21 -0
- package/src/components/buttons/buttonStyle.ts +339 -0
- package/src/components/buttons/buttons.stories.tsx +52 -0
- package/src/components/buttons/buttonsWithIcons.stories.tsx +57 -0
- package/src/components/buttons/index.tsx +90 -0
- package/src/components/calendar/calendar.stories.tsx +156 -0
- package/src/components/calendar/calendarStyle.ts +209 -0
- package/src/components/calendar/index.tsx +157 -0
- package/src/components/card-trail/cardTrail.stories.tsx +167 -0
- package/src/components/card-trail/cardTrailStyle.ts +31 -0
- package/src/components/card-trail/index.tsx +160 -0
- package/src/components/card-trail/moduleStyle.ts +98 -0
- package/src/components/card-trail-carousel/cardsTrailsCarousel.d.ts +13 -0
- package/src/components/card-trail-carousel/cardsTrailsCarousel.stories.tsx +152 -0
- package/src/components/card-trail-carousel/index.tsx +47 -0
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css +20 -0
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.stories.tsx +18 -0
- package/src/components/cardLT/AvatarWithInfo/index.tsx +55 -0
- package/src/components/cardLT/AvatarWithInfo/vector.tsx +25 -0
- package/src/components/cardLT/BannerProblem/BannerProblem.d.ts +98 -0
- package/src/components/cardLT/BannerProblem/BannerProblem.module.css +113 -0
- package/src/components/cardLT/BannerProblem/BannerProblem.stories.tsx +191 -0
- package/src/components/cardLT/BannerProblem/index.tsx +433 -0
- package/src/components/cardLT/BannerProblem/styles.ts +16 -0
- package/src/components/cardLT/MessageBox/MessageBox.module.css +142 -0
- package/src/components/cardLT/MessageBox/icons/errorIcon.tsx +19 -0
- package/src/components/cardLT/MessageBox/icons/successIcon.tsx +18 -0
- package/src/components/cardLT/MessageBox/icons/warningIcon.tsx +20 -0
- package/src/components/cardLT/MessageBox/index.tsx +124 -0
- package/src/components/cardLT/MessageBox/messageBox.stories.tsx +53 -0
- package/src/components/cardLT/Rating/Rating.module.css +50 -0
- package/src/components/cardLT/Rating/index.tsx +92 -0
- package/src/components/cardLT/Rating/rating.stories.tsx +34 -0
- package/src/components/cardLT/Rating/starIcon.tsx +24 -0
- package/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css +16 -0
- package/src/components/cardLT/RatingCurtidas/index.tsx +80 -0
- package/src/components/cardLT/RatingCurtidas/ratingCurtidas.stories.tsx +21 -0
- package/src/components/cardLT/RocketButton/RocketButton.stories.tsx +28 -0
- package/src/components/cardLT/RocketButton/RocketButtonIcon.tsx +36 -0
- package/src/components/cardLT/RocketButton/index.tsx +57 -0
- package/src/components/cardLT/StepsMission/Planet.module.css +137 -0
- package/src/components/cardLT/StepsMission/StepMission.tsx +220 -0
- package/src/components/cardLT/StepsMission/Steps.tsx +116 -0
- package/src/components/cardLT/StepsMission/planet.stories.tsx +73 -0
- package/src/components/cardLT/StepsMission/planetSteps.d.ts +40 -0
- package/src/components/cardLT/StepsMission/planets/jupter.png +0 -0
- package/src/components/cardLT/StepsMission/planets/lock.png +0 -0
- package/src/components/cardLT/StepsMission/planets/marte.png +0 -0
- package/src/components/cardLT/StepsMission/planets/netuno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/saturno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/urano.png +0 -0
- package/src/components/cardLT/TextIcon/TextIcon.module.css +8 -0
- package/src/components/cardLT/TextIcon/index.tsx +64 -0
- package/src/components/cardLT/TextIcon/starIcon.tsx +27 -0
- package/src/components/cardLT/TextIcon/textIcon.stories.tsx +21 -0
- package/src/components/cardLT/selectCard/avatarWithInfo.module.css +20 -0
- package/src/components/cardLT/selectCard/avatarWithInfo.stories.tsx +19 -0
- package/src/components/cardLT/selectCard/index.tsx +55 -0
- package/src/components/cardLT/selectCard/vector.tsx +25 -0
- package/src/components/cards/base/base.stories.tsx +23 -0
- package/src/components/cards/base/index.tsx +10 -0
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.module.css +88 -0
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.stories.tsx +95 -0
- package/src/components/cards/cardDefinicaoProblema/index.tsx +98 -0
- package/src/components/cards/cardProblem/cardProblem.module.css +114 -0
- package/src/components/cards/cardProblem/cardProblem.stories.tsx +164 -0
- package/src/components/cards/cardProblem/index.tsx +251 -0
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css +99 -0
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.stories.tsx +78 -0
- package/src/components/cards/cardProblemGestor/index.tsx +105 -0
- package/src/components/cards/cardResultConquista/Icons/Aprendizado.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/Conquista.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png +0 -0
- package/src/components/cards/cardResultConquista/cardResultConquista.module.css +52 -0
- package/src/components/cards/cardResultConquista/cardResultConquista.stories.tsx +35 -0
- package/src/components/cards/cardResultConquista/index.tsx +76 -0
- package/src/components/cards/user/index.tsx +204 -0
- package/src/components/cards/user/user.stories.tsx +172 -0
- package/src/components/challenge-cards/challengeCard.d.ts +17 -0
- package/src/components/challenge-cards/challengeCard.stories.tsx +43 -0
- package/src/components/challenge-cards/challengeCardStyles.ts +266 -0
- package/src/components/challenge-cards/dropdownMenuStyle.ts +87 -0
- package/src/components/challenge-cards/index.tsx +308 -0
- package/src/components/checkmark/checkmark.d.ts +11 -0
- package/src/components/checkmark/checkmark.stories.tsx +23 -0
- package/src/components/checkmark/checkmarkStyles.ts +27 -0
- package/src/components/checkmark/index.tsx +61 -0
- package/src/components/commentary-box/commentaryBox.d.ts +41 -0
- package/src/components/commentary-box/commentaryBox.stories.tsx +57 -0
- package/src/components/commentary-box/commentaryBox.utils.ts +31 -0
- package/src/components/commentary-box/commentaryBoxStyles.ts +271 -0
- package/src/components/commentary-box/index.tsx +260 -0
- package/src/components/conquistaCarrossel/conquistaCarrossel.d.ts +13 -0
- package/src/components/conquistaCarrossel/conquistaCarrossel.stories.tsx +163 -0
- package/src/components/conquistaCarrossel/index.tsx +56 -0
- package/src/components/demo/stepController/StepControllerStyle.ts +46 -0
- package/src/components/demo/stepController/index.tsx +54 -0
- package/src/components/demo/stepController/stepController.stories.tsx +22 -0
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.d.ts +28 -0
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.stories.tsx +91 -0
- package/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.ts +171 -0
- package/src/components/dropdown-profile-menu/index.tsx +203 -0
- package/src/components/emoji-picker/emojiPicker.stories.tsx +20 -0
- package/src/components/emoji-picker/index.tsx +60 -0
- package/src/components/exclusive-class/exclusiveClass.d.ts +8 -0
- package/src/components/exclusive-class/exclusiveClass.stories.tsx +19 -0
- package/src/components/exclusive-class/exclusiveClassStyles.ts +39 -0
- package/src/components/exclusive-class/index.tsx +33 -0
- package/src/components/field-search-dropdown/fieldSearch.d.ts +36 -0
- package/src/components/field-search-dropdown/fieldSearch.stories.tsx +92 -0
- package/src/components/field-search-dropdown/fieldSearchStyle.ts +150 -0
- package/src/components/field-search-dropdown/index.tsx +233 -0
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.d.ts +7 -0
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.stories.tsx +101 -0
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.ts +7 -0
- package/src/components/filter-accordion-checkbox/filterAccordionCheckboxStyles.ts +2 -0
- package/src/components/filter-accordion-checkbox/index.tsx +188 -0
- package/src/components/form-elements/checkbox/checkbox.d.ts +9 -0
- package/src/components/form-elements/checkbox/checkbox.stories.tsx +20 -0
- package/src/components/form-elements/checkbox/checkboxStyle.ts +40 -0
- package/src/components/form-elements/checkbox/index.tsx +33 -0
- package/src/components/form-elements/textarea/index.tsx +6 -0
- package/src/components/form-elements/textarea/textArea.stories.tsx +27 -0
- package/src/components/form-elements/textfield/index.tsx +104 -0
- package/src/components/form-elements/textfield/textField.stories.tsx +124 -0
- package/src/components/form-elements/textfield/textFieldStyle.ts +213 -0
- package/src/components/global-menu/components/customMenu/index.tsx +1 -0
- package/src/components/global-menu/globalMenu.d.ts +66 -0
- package/src/components/global-menu/globalMenu.stories.tsx +959 -0
- package/src/components/global-menu/globalMenuStyles.ts +197 -0
- package/src/components/global-menu/index.tsx +1336 -0
- package/src/components/headerChallenge/headerChallenge.stories.tsx +20 -0
- package/src/components/headerChallenge/headerChallengeStyle.ts +102 -0
- package/src/components/headerChallenge/index.tsx +17 -0
- package/src/components/index.tsx +46 -0
- package/src/components/input-comment/index.tsx +178 -0
- package/src/components/input-comment/inputComment.d.ts +16 -0
- package/src/components/input-comment/inputComment.stories.tsx +26 -0
- package/src/components/input-comment/inputComment.utils.ts +7 -0
- package/src/components/input-comment/inputCommentStyles.ts +116 -0
- package/src/components/item-lateral-menu/index.tsx +87 -0
- package/src/components/item-lateral-menu/itemLateralMenu.d.ts +30 -0
- package/src/components/item-lateral-menu/itemLateralMenu.stories.tsx +159 -0
- package/src/components/item-lateral-menu/itemLateralMenuStyles.ts +131 -0
- package/src/components/item-menu-global/index.tsx +36 -0
- package/src/components/item-menu-global/itemMenuGlobal.d.ts +16 -0
- package/src/components/item-menu-global/itemMenuGlobal.stories.tsx +40 -0
- package/src/components/item-menu-global/itemMenuGlobalStyles.ts +73 -0
- package/src/components/languages-dropdown/index.tsx +102 -0
- package/src/components/languages-dropdown/languagesDropdown.d.ts +13 -0
- package/src/components/languages-dropdown/languagesDropdown.stories.tsx +38 -0
- package/src/components/languages-dropdown/languagesDropdownStyles.ts +66 -0
- package/src/components/lateral-menu/index.tsx +68 -0
- package/src/components/lateral-menu/lateralMenu.d.ts +17 -0
- package/src/components/lateral-menu/lateralMenu.stories.tsx +429 -0
- package/src/components/lateral-menu/lateralMenuStyles.ts +68 -0
- package/src/components/learning-steps/index.tsx +67 -0
- package/src/components/learning-steps/learningSteps.d.ts +16 -0
- package/src/components/learning-steps/learningSteps.stories.tsx +123 -0
- package/src/components/learning-steps/learningStepsStyles.ts +46 -0
- package/src/components/menu-more/index.tsx +79 -0
- package/src/components/menu-more/menuMore.d.ts +15 -0
- package/src/components/menu-more/menuMore.stories.tsx +76 -0
- package/src/components/menu-more/menuMoreStyles.ts +123 -0
- package/src/components/modal/modalLearningTech/index.tsx +67 -0
- package/src/components/modal/modalLearningTech/modalLearningTech.module.css +79 -0
- package/src/components/modal/modalLearningTech/modalLearningTech.stories.tsx +60 -0
- package/src/components/modal/modalVideo/index.tsx +129 -0
- package/src/components/modal/modalVideo/modalVideo.module.css +27 -0
- package/src/components/modal/modalVideo/modalVideo.stories.tsx +41 -0
- package/src/components/modal/statusProblema/fecharIcon.tsx +18 -0
- package/src/components/modal/statusProblema/index.tsx +124 -0
- package/src/components/modal/statusProblema/problemaFRST.png +0 -0
- package/src/components/modal/statusProblema/statusProblema.module.css +154 -0
- package/src/components/modal/statusProblema/statusProblema.stories.tsx +27 -0
- package/src/components/quantidadeDesafios/imgSetas/setasDesafios.svg +60 -0
- package/src/components/quantidadeDesafios/index.tsx +152 -0
- package/src/components/quantidadeDesafios/quantidadeDesafios.stories.tsx +49 -0
- package/src/components/quantidadeDesafios/quantidadeDesafios.ts +121 -0
- package/src/components/sandbox.stories.tsx +18 -0
- package/src/components/scroll-container/index.tsx +189 -0
- package/src/components/scroll-container/scrollContainer.d.ts +17 -0
- package/src/components/scroll-container/scrollContainer.stories.tsx +45 -0
- package/src/components/scroll-container/scrollContainer.utils.ts +11 -0
- package/src/components/scroll-container/scrollContainerStyles.ts +93 -0
- package/src/components/search-field/index.tsx +48 -0
- package/src/components/search-field/searchField.d.ts +13 -0
- package/src/components/search-field/searchField.stories.tsx +40 -0
- package/src/components/search-field/searchFieldStyles.ts +100 -0
- package/src/components/select/Select.tsx +170 -0
- package/src/components/select/SelectContext.tsx +9 -0
- package/src/components/select/SelectItem.tsx +63 -0
- package/src/components/select/index.tsx +16 -0
- package/src/components/select/select.stories.tsx +20 -0
- package/src/components/speech-bubble/index.tsx +29 -0
- package/src/components/speech-bubble/speechBubble.d.ts +10 -0
- package/src/components/speech-bubble/speechBubble.stories.tsx +20 -0
- package/src/components/speech-bubble/speechBubbleStyles.ts +121 -0
- package/src/components/step-card/index.tsx +48 -0
- package/src/components/step-card/stepCard.d.ts +12 -0
- package/src/components/step-card/stepCard.stories.tsx +26 -0
- package/src/components/step-card/stepCardStyles.ts +109 -0
- package/src/components/tag/base.stories.tsx +52 -0
- package/src/components/tag/index.tsx +59 -0
- package/src/components/totalizer-card/index.tsx +29 -0
- package/src/components/totalizer-card/totalizerCard.d.ts +10 -0
- package/src/components/totalizer-card/totalizerCard.stories.tsx +34 -0
- package/src/components/totalizer-card/totalizerCardStyles.ts +97 -0
- package/src/icons.stories.tsx +321 -0
- package/src/shared/global.css +146 -0
- package/src/shared/globalComponentsStyle.ts +88 -0
- package/src/shared/icons.tsx +3544 -0
- package/src/shared/stories/AlertCicle.stories.tsx +17 -0
- package/src/shared/stories/CheckInCicleIcon.stories.tsx +19 -0
- package/src/shared/stories/CloseInCicleIcon.stories.tsx +19 -0
- package/src/shared/stories/DotIcon.stories.tsx +17 -0
- package/src/shared/stories/MoreDotsHorizontal.stories.tsx +17 -0
- package/src/theme/index.ts +6 -0
- package/src/theme/tokens.ts +196 -0
- package/tsconfig.json +39 -0
|
@@ -0,0 +1,1336 @@
|
|
|
1
|
+
import React, { useState, useEffect } from 'react'
|
|
2
|
+
import '../../shared/global.css'
|
|
3
|
+
import { ThemeProvider } from 'styled-components'
|
|
4
|
+
import { FRSTTheme } from '../../theme'
|
|
5
|
+
import * as Styles from './globalMenuStyles'
|
|
6
|
+
import { IGlobalMenu } from './globalMenu'
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
BackArrow,
|
|
10
|
+
ExitArrow,
|
|
11
|
+
FRSTLogo,
|
|
12
|
+
IconNotification,
|
|
13
|
+
InstagramIcon,
|
|
14
|
+
LinkedinIcon,
|
|
15
|
+
PodCastIcon,
|
|
16
|
+
SiteIcon,
|
|
17
|
+
SpotifyIcon,
|
|
18
|
+
YoutubeIcon
|
|
19
|
+
} from '@shared/icons'
|
|
20
|
+
|
|
21
|
+
import FieldSearch from '@components/field-search-dropdown'
|
|
22
|
+
import ItemGlobalMenu from '@components/item-menu-global'
|
|
23
|
+
import LanguagesDropdown from '@components/languages-dropdown'
|
|
24
|
+
import DropdownProfileMenu from '@components/dropdown-profile-menu'
|
|
25
|
+
import NotificationPopOver from '@components/FI/notificationPopOver'
|
|
26
|
+
|
|
27
|
+
export default function GlobalMenu({
|
|
28
|
+
variant,
|
|
29
|
+
menu,
|
|
30
|
+
customMenu,
|
|
31
|
+
user,
|
|
32
|
+
search,
|
|
33
|
+
notification,
|
|
34
|
+
languages,
|
|
35
|
+
languageSelected,
|
|
36
|
+
onChangeLanguage,
|
|
37
|
+
style,
|
|
38
|
+
textNotification,
|
|
39
|
+
onClickSite,
|
|
40
|
+
onClickLinkedin,
|
|
41
|
+
onClickInstagram,
|
|
42
|
+
onClickYoutube,
|
|
43
|
+
onClickSpotify,
|
|
44
|
+
onClickPodCast,
|
|
45
|
+
onClickProfileMenuText,
|
|
46
|
+
onClickExit,
|
|
47
|
+
profileMenuText,
|
|
48
|
+
showSearchField,
|
|
49
|
+
marginTopSubMenu,
|
|
50
|
+
onClickLogo
|
|
51
|
+
}: IGlobalMenu) {
|
|
52
|
+
const [valueSearch, setValueSearch] = useState(search.value)
|
|
53
|
+
const [valueListSearch, setValueListSearch] = useState(search.listEntry)
|
|
54
|
+
const [loadingSearch, setLoadingSearch] = useState(search.loading)
|
|
55
|
+
|
|
56
|
+
const [isMobileVersion, setIsMobileVersion] = useState(false)
|
|
57
|
+
const [controlExpandedSearchMobile, setControlExpandedSearchMobile] = useState(false)
|
|
58
|
+
const [showLogo, setShowLogo] = useState(false)
|
|
59
|
+
const [isVisibleMenuMobile, setIsVisibleMenuMobile] = useState(false)
|
|
60
|
+
const [isVisibleSideMenu, setIsVisibleSideMenu] = useState(false)
|
|
61
|
+
|
|
62
|
+
const [windowSize, setWindowSize] = useState([0, 0])
|
|
63
|
+
const [openNotification, setOpenNotification] = useState(false)
|
|
64
|
+
const [openNotificationMobile, setOpenNotificationMobile] = useState(false)
|
|
65
|
+
const [anchorNotification, setAnchorNotification] = useState(null)
|
|
66
|
+
const [onAreaPopOver, setOnAreaPopOver] = useState(false)
|
|
67
|
+
const [SubMenu, setSubMenu] = useState([])
|
|
68
|
+
const [SelectedItem, setSelectedItem] = useState()
|
|
69
|
+
const [isTabletVersion, setIsTabletVersion] = useState(false)
|
|
70
|
+
const [HideHambMenu, setHideHambMenu] = useState(false)
|
|
71
|
+
|
|
72
|
+
useEffect(() => {
|
|
73
|
+
setValueListSearch(search.listEntry)
|
|
74
|
+
}, [search.listEntry])
|
|
75
|
+
|
|
76
|
+
useEffect(() => {
|
|
77
|
+
setLoadingSearch(search.isloading)
|
|
78
|
+
}, [search.loading])
|
|
79
|
+
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
function updateSize() {
|
|
82
|
+
setWindowSize([window.innerWidth, window.innerHeight])
|
|
83
|
+
setIsMobileVersion(window.innerWidth < 700)
|
|
84
|
+
setIsTabletVersion(window.innerWidth < 1200 && window.innerWidth >= 700)
|
|
85
|
+
setShowLogo(false)
|
|
86
|
+
setIsVisibleMenuMobile(false)
|
|
87
|
+
}
|
|
88
|
+
window.addEventListener('resize', updateSize)
|
|
89
|
+
updateSize()
|
|
90
|
+
return () => window.removeEventListener('resize', updateSize)
|
|
91
|
+
}, [])
|
|
92
|
+
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
setValueSearch(search.value)
|
|
95
|
+
setValueListSearch(search.listEntry)
|
|
96
|
+
setLoadingSearch(search.loading)
|
|
97
|
+
}, [search])
|
|
98
|
+
|
|
99
|
+
useEffect(() => {
|
|
100
|
+
setShowLogo(isMobileVersion)
|
|
101
|
+
if (isMobileVersion) setControlExpandedSearchMobile(false)
|
|
102
|
+
else {
|
|
103
|
+
setControlExpandedSearchMobile(true)
|
|
104
|
+
}
|
|
105
|
+
}, [isMobileVersion])
|
|
106
|
+
|
|
107
|
+
useEffect(() => {
|
|
108
|
+
if (!controlExpandedSearchMobile)
|
|
109
|
+
setTimeout(() => {
|
|
110
|
+
setShowLogo(!controlExpandedSearchMobile && isMobileVersion)
|
|
111
|
+
setHideHambMenu(window.innerWidth < 420 ? controlExpandedSearchMobile : false)
|
|
112
|
+
}, 1500)
|
|
113
|
+
else {
|
|
114
|
+
setShowLogo(!controlExpandedSearchMobile && isMobileVersion)
|
|
115
|
+
setHideHambMenu(window.innerWidth < 420 ? controlExpandedSearchMobile : false)
|
|
116
|
+
}
|
|
117
|
+
}, [controlExpandedSearchMobile])
|
|
118
|
+
|
|
119
|
+
const handleChangeValueSearch = (value) => {
|
|
120
|
+
setValueSearch(value)
|
|
121
|
+
search.onChange(value)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const handleCloseNotification = () => {
|
|
125
|
+
setOpenNotification(!openNotification)
|
|
126
|
+
setOpenNotificationMobile(!openNotificationMobile)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const handleOpenNotification = (event) => {
|
|
130
|
+
setOpenNotification(!openNotification)
|
|
131
|
+
setOpenNotificationMobile(!openNotificationMobile)
|
|
132
|
+
setAnchorNotification(event.currentTarget)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const onClickNotification = (event) => {
|
|
136
|
+
if (!!onAreaPopOver == false) {
|
|
137
|
+
setOpenNotification(!openNotification)
|
|
138
|
+
setOpenNotificationMobile(!openNotificationMobile)
|
|
139
|
+
setAnchorNotification(event.currentTarget)
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
const handleClickItem = (item) => {
|
|
144
|
+
item.onClick()
|
|
145
|
+
setSelectedItem(item.id)
|
|
146
|
+
if (item.subMenu) setSubMenu(item.subMenu)
|
|
147
|
+
else setSubMenu([])
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const newNotification = notification.notificationList
|
|
151
|
+
? notification.notificationList.filter((notification) => notification.isNewNotification)
|
|
152
|
+
: []
|
|
153
|
+
|
|
154
|
+
return (
|
|
155
|
+
<ThemeProvider theme={FRSTTheme}>
|
|
156
|
+
{variant == 'LXP' ? (
|
|
157
|
+
<>
|
|
158
|
+
<MenuMobile
|
|
159
|
+
onClickExit={onClickExit}
|
|
160
|
+
languageSelected={languageSelected}
|
|
161
|
+
variant={'LXP'}
|
|
162
|
+
items={menu}
|
|
163
|
+
isVisible={isVisibleMenuMobile}
|
|
164
|
+
setVisible={(e) => setIsVisibleMenuMobile(e)}
|
|
165
|
+
onClickSite={onClickSite}
|
|
166
|
+
onClickLinkedin={onClickLinkedin}
|
|
167
|
+
onClickInstagram={onClickInstagram}
|
|
168
|
+
onClickYoutube={onClickYoutube}
|
|
169
|
+
onClickSpotify={onClickSpotify}
|
|
170
|
+
onClickPodCast={onClickPodCast}
|
|
171
|
+
customMenu={customMenu}
|
|
172
|
+
/>
|
|
173
|
+
<SideMenu
|
|
174
|
+
onClickExit={onClickExit}
|
|
175
|
+
languageSelected={languageSelected}
|
|
176
|
+
variant={'LXP'}
|
|
177
|
+
items={menu}
|
|
178
|
+
isVisible={isVisibleSideMenu}
|
|
179
|
+
setVisible={(e) => setIsVisibleSideMenu(e)}
|
|
180
|
+
onClickSite={onClickSite}
|
|
181
|
+
onClickLinkedin={onClickLinkedin}
|
|
182
|
+
onClickInstagram={onClickInstagram}
|
|
183
|
+
onClickYoutube={onClickYoutube}
|
|
184
|
+
onClickSpotify={onClickSpotify}
|
|
185
|
+
onClickPodCast={onClickPodCast}
|
|
186
|
+
customMenu={customMenu}
|
|
187
|
+
/>
|
|
188
|
+
<div style={{ width: '100%', display: 'flex', flexDirection: 'column' }}>
|
|
189
|
+
<Styles.MenuContainer
|
|
190
|
+
variant={variant}
|
|
191
|
+
style={{
|
|
192
|
+
paddingRight: windowSize[0] > 1400 ? '124px' : isMobileVersion ? '12px' : '35px',
|
|
193
|
+
paddingLeft: windowSize[0] > 1400 ? '124px' : isMobileVersion ? '12px' : '35px',
|
|
194
|
+
...style
|
|
195
|
+
}}
|
|
196
|
+
>
|
|
197
|
+
{isMobileVersion && !HideHambMenu && (
|
|
198
|
+
<Styles.HamburgerButton onClick={() => setIsVisibleMenuMobile(true)}>
|
|
199
|
+
<IconHamburgerMenu />
|
|
200
|
+
</Styles.HamburgerButton>
|
|
201
|
+
)}
|
|
202
|
+
{isMobileVersion && HideHambMenu && (
|
|
203
|
+
<Styles.ArrowButton onClick={() => setControlExpandedSearchMobile(false)}>
|
|
204
|
+
<BackArrow fill={FRSTTheme['colors'].selectItens} />
|
|
205
|
+
</Styles.ArrowButton>
|
|
206
|
+
)}
|
|
207
|
+
{isTabletVersion && (
|
|
208
|
+
<Styles.HamburgerButton onClick={() => setIsVisibleSideMenu(true)}>
|
|
209
|
+
<IconHamburgerMenu />
|
|
210
|
+
</Styles.HamburgerButton>
|
|
211
|
+
)}
|
|
212
|
+
{!isMobileVersion && (
|
|
213
|
+
<Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: isTabletVersion && 32 }}>
|
|
214
|
+
<FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
|
|
215
|
+
</Styles.WrapperLogo>
|
|
216
|
+
)}
|
|
217
|
+
{showLogo && (
|
|
218
|
+
<Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: '0px' }}>
|
|
219
|
+
<FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
|
|
220
|
+
</Styles.WrapperLogo>
|
|
221
|
+
)}
|
|
222
|
+
<Styles.WrapperMenu style={{ height: '100%', justifyContent: 'space-between' }}>
|
|
223
|
+
{!isMobileVersion && showSearchField && (
|
|
224
|
+
<FieldSearch
|
|
225
|
+
variant="LXP"
|
|
226
|
+
value={valueSearch}
|
|
227
|
+
placeholder={search.label}
|
|
228
|
+
onFilter={search.onFilter}
|
|
229
|
+
loading={loadingSearch}
|
|
230
|
+
textLoading={search.textLoading}
|
|
231
|
+
setFieldSearchIsOpen={setControlExpandedSearchMobile}
|
|
232
|
+
fieldSearchIsOpen={controlExpandedSearchMobile}
|
|
233
|
+
isLabeledResult={search.isLabeledResult}
|
|
234
|
+
listResults={search.isLabeledResult ? null : valueListSearch}
|
|
235
|
+
labeledResultList={search.isLabeledResult ? valueListSearch : null}
|
|
236
|
+
historicResults={search.historicResults}
|
|
237
|
+
isMobileVersion={isMobileVersion}
|
|
238
|
+
hasOptionSeeAll={search.hasOptionSeeAll}
|
|
239
|
+
seeAll={search.seeAll}
|
|
240
|
+
style={{
|
|
241
|
+
width: windowSize[0] < 830 ? '230px' : windowSize[0] > 1500 ? '428px' : '332px'
|
|
242
|
+
}}
|
|
243
|
+
/>
|
|
244
|
+
)}
|
|
245
|
+
|
|
246
|
+
<Styles.MenuContainer
|
|
247
|
+
variant={variant}
|
|
248
|
+
style={{
|
|
249
|
+
height: '100%',
|
|
250
|
+
paddingLeft: isMobileVersion ? '0' : windowSize[0] * 0.03 + 'px',
|
|
251
|
+
paddingRight: isMobileVersion ? '0' : windowSize[0] * 0.03 + 'px',
|
|
252
|
+
justifyContent: isMobileVersion ? 'space-between' : 'flex-end'
|
|
253
|
+
}}
|
|
254
|
+
>
|
|
255
|
+
{isMobileVersion && (
|
|
256
|
+
<FieldSearch
|
|
257
|
+
variant="LXP"
|
|
258
|
+
value={valueSearch}
|
|
259
|
+
onChange={(e) => handleChangeValueSearch(e.target.value)}
|
|
260
|
+
placeholder={search.label}
|
|
261
|
+
onFilter={search.onFilter}
|
|
262
|
+
loading={loadingSearch}
|
|
263
|
+
textLoading={search.textLoading}
|
|
264
|
+
fieldSearchIsOpen={controlExpandedSearchMobile}
|
|
265
|
+
setFieldSearchIsOpen={setControlExpandedSearchMobile}
|
|
266
|
+
isLabeledResult={search.isLabeledResult}
|
|
267
|
+
listResults={search.isLabeledResult ? null : valueListSearch}
|
|
268
|
+
labeledResultList={search.isLabeledResult ? valueListSearch : null}
|
|
269
|
+
historicResults={search.historicResults}
|
|
270
|
+
isMobileVersion={isMobileVersion}
|
|
271
|
+
hasOptionSeeAll={search.hasOptionSeeAll}
|
|
272
|
+
seeAll={search.seeAll}
|
|
273
|
+
style={{
|
|
274
|
+
width: isMobileVersion ? '180px' : '332px'
|
|
275
|
+
// marginLeft: controlExpandedSearchMobile ? '-25px' : '-50px'
|
|
276
|
+
}}
|
|
277
|
+
/>
|
|
278
|
+
)}
|
|
279
|
+
{!isMobileVersion &&
|
|
280
|
+
!isTabletVersion &&
|
|
281
|
+
menu &&
|
|
282
|
+
menu.length > 0 &&
|
|
283
|
+
menu.map((item, index) => {
|
|
284
|
+
return (
|
|
285
|
+
<ItemGlobalMenu
|
|
286
|
+
label={item.label}
|
|
287
|
+
key={item.id ? item.id : index}
|
|
288
|
+
variant="LXP"
|
|
289
|
+
type="menu"
|
|
290
|
+
pressed={item.id === SelectedItem || item.active}
|
|
291
|
+
icon={item.iconBegin}
|
|
292
|
+
handleOnClick={() => handleClickItem(item)}
|
|
293
|
+
style={{ paddingRight: '10px', paddingLeft: '10px', height: '100%' }}
|
|
294
|
+
/>
|
|
295
|
+
)
|
|
296
|
+
})}
|
|
297
|
+
|
|
298
|
+
{!isMobileVersion && !isTabletVersion && notification && (
|
|
299
|
+
<div style={{ position: 'relative' }}>
|
|
300
|
+
<ItemGlobalMenu
|
|
301
|
+
label={textNotification}
|
|
302
|
+
variant="LXP"
|
|
303
|
+
type="menu"
|
|
304
|
+
pressed={false}
|
|
305
|
+
handleOnClick={() => onClickNotification}
|
|
306
|
+
icon={<IconNotification fill={FRSTTheme['colors'].shadeWhite} />}
|
|
307
|
+
style={{ paddingRight: '10px', paddingLeft: '10px', height: '100%' }}
|
|
308
|
+
customMenu={customMenu}
|
|
309
|
+
/>
|
|
310
|
+
|
|
311
|
+
{newNotification.length ? (
|
|
312
|
+
<div style={{ position: 'absolute', marginLeft: '50%', marginTop: '-54px' }}>
|
|
313
|
+
<HasNotificationIcon />
|
|
314
|
+
</div>
|
|
315
|
+
) : null}
|
|
316
|
+
<NotificationPopOver
|
|
317
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
318
|
+
isOpen={openNotification}
|
|
319
|
+
anchor={anchorNotification}
|
|
320
|
+
textEmptyState={notification.textEmptyState}
|
|
321
|
+
notificationList={notification.notificationList}
|
|
322
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
323
|
+
textNotification={notification.textNotification}
|
|
324
|
+
isMobile={false}
|
|
325
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
326
|
+
textBack={notification.textBack}
|
|
327
|
+
handleClickBack={() => handleCloseNotification()}
|
|
328
|
+
/>
|
|
329
|
+
</div>
|
|
330
|
+
)}
|
|
331
|
+
{isMobileVersion && notification && (
|
|
332
|
+
<Styles.WrapperIconNotificationMobile
|
|
333
|
+
onClick={onClickNotification}
|
|
334
|
+
style={{
|
|
335
|
+
borderBottom:
|
|
336
|
+
openNotificationMobile && windowSize[0] <= 650
|
|
337
|
+
? `4px solid ${FRSTTheme['colors'].primary1}`
|
|
338
|
+
: '',
|
|
339
|
+
height: windowSize[0] <= 650 ? '100%' : 'auto'
|
|
340
|
+
}}
|
|
341
|
+
>
|
|
342
|
+
<span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
|
|
343
|
+
<IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
|
|
344
|
+
{newNotification.length ? (
|
|
345
|
+
<div style={{ marginLeft: '-12px' }}>
|
|
346
|
+
{' '}
|
|
347
|
+
<HasNotificationIcon />{' '}
|
|
348
|
+
</div>
|
|
349
|
+
) : null}
|
|
350
|
+
</span>
|
|
351
|
+
</Styles.WrapperIconNotificationMobile>
|
|
352
|
+
)}
|
|
353
|
+
{isTabletVersion && notification && (
|
|
354
|
+
<Styles.WrapperIconNotificationMobile
|
|
355
|
+
onClick={onClickNotification}
|
|
356
|
+
style={{
|
|
357
|
+
borderBottom:
|
|
358
|
+
openNotificationMobile && windowSize[0] <= 650
|
|
359
|
+
? `4px solid ${FRSTTheme['colors'].primary1}`
|
|
360
|
+
: '',
|
|
361
|
+
height: windowSize[0] <= 650 ? '100%' : 'auto'
|
|
362
|
+
}}
|
|
363
|
+
>
|
|
364
|
+
<span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
|
|
365
|
+
<IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
|
|
366
|
+
{newNotification.length ? (
|
|
367
|
+
<div style={{ marginLeft: '-12px' }}>
|
|
368
|
+
{' '}
|
|
369
|
+
<HasNotificationIcon />{' '}
|
|
370
|
+
</div>
|
|
371
|
+
) : null}
|
|
372
|
+
</span>
|
|
373
|
+
{windowSize[0] >= 700 ? (
|
|
374
|
+
<NotificationPopOver
|
|
375
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
376
|
+
isOpen={openNotificationMobile}
|
|
377
|
+
anchor={anchorNotification}
|
|
378
|
+
textEmptyState={notification.textEmptyState}
|
|
379
|
+
notificationList={notification.notificationList}
|
|
380
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
381
|
+
textNotification={notification.textNotification}
|
|
382
|
+
isMobile={false}
|
|
383
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
384
|
+
textBack={notification.textBack}
|
|
385
|
+
handleClickBack={() => handleCloseNotification()}
|
|
386
|
+
/>
|
|
387
|
+
) : null}
|
|
388
|
+
</Styles.WrapperIconNotificationMobile>
|
|
389
|
+
)}
|
|
390
|
+
</Styles.MenuContainer>
|
|
391
|
+
</Styles.WrapperMenu>
|
|
392
|
+
|
|
393
|
+
<Styles.WrapperRightInfo>
|
|
394
|
+
<DropdownProfileMenu
|
|
395
|
+
variant="LXP"
|
|
396
|
+
user={user}
|
|
397
|
+
profileMenuText={profileMenuText}
|
|
398
|
+
handleProfileMenuClick={onClickProfileMenuText}
|
|
399
|
+
menuItems={user && user.menuItems}
|
|
400
|
+
isMobileVersion={isMobileVersion}
|
|
401
|
+
style={{
|
|
402
|
+
marginLeft: isMobileVersion ? '0px' : '5px',
|
|
403
|
+
marginRight: isMobileVersion ? '0px' : '5px'
|
|
404
|
+
}}
|
|
405
|
+
/>
|
|
406
|
+
{customMenu?.map((item, index) => (
|
|
407
|
+
<ItemGlobalMenu
|
|
408
|
+
label={isMobileVersion ? '' : item.label}
|
|
409
|
+
key={item.id ? item.id : index}
|
|
410
|
+
variant="LXP"
|
|
411
|
+
type="menu"
|
|
412
|
+
pressed={item.id === SelectedItem || item.active}
|
|
413
|
+
icon={item.iconBegin}
|
|
414
|
+
handleOnClick={() => handleClickItem(item)}
|
|
415
|
+
customMenu={customMenu}
|
|
416
|
+
style={{
|
|
417
|
+
paddingRight: '10px',
|
|
418
|
+
paddingLeft: '10px',
|
|
419
|
+
height: '100%',
|
|
420
|
+
flexDirection: 'inherit'
|
|
421
|
+
}}
|
|
422
|
+
/>
|
|
423
|
+
))}
|
|
424
|
+
{!isMobileVersion && !isTabletVersion && languages && languages.length > 0 && (
|
|
425
|
+
<LanguagesDropdown
|
|
426
|
+
variant="LXP"
|
|
427
|
+
languages={[...languages]}
|
|
428
|
+
selected={languageSelected}
|
|
429
|
+
onSelect={(e) => onChangeLanguage(e)}
|
|
430
|
+
distanceBtnDrop={'57px'}
|
|
431
|
+
/>
|
|
432
|
+
)}
|
|
433
|
+
</Styles.WrapperRightInfo>
|
|
434
|
+
</Styles.MenuContainer>
|
|
435
|
+
{SubMenu && SubMenu.length > 0 && (
|
|
436
|
+
<Styles.SubMenuContainer
|
|
437
|
+
variant={variant}
|
|
438
|
+
marginTop={marginTopSubMenu}
|
|
439
|
+
style={{
|
|
440
|
+
paddingRight: windowSize[0] > 1400 ? '124px' : '35px',
|
|
441
|
+
paddingLeft: windowSize[0] > 1400 ? '124px' : '35px',
|
|
442
|
+
...style
|
|
443
|
+
}}
|
|
444
|
+
>
|
|
445
|
+
{SubMenu.map((item, index) => {
|
|
446
|
+
return (
|
|
447
|
+
<ItemGlobalMenu
|
|
448
|
+
label={item.label}
|
|
449
|
+
key={item.id ? item.id : index}
|
|
450
|
+
variant="LXP"
|
|
451
|
+
type="submenu"
|
|
452
|
+
handleOnClick={() => item.onClick('tes')}
|
|
453
|
+
style={{ paddingRight: '10px', paddingLeft: '10px' }}
|
|
454
|
+
/>
|
|
455
|
+
)
|
|
456
|
+
})}
|
|
457
|
+
</Styles.SubMenuContainer>
|
|
458
|
+
)}
|
|
459
|
+
</div>
|
|
460
|
+
{openNotificationMobile && windowSize[0] < 700 ? (
|
|
461
|
+
<NotificationPopOver
|
|
462
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
463
|
+
isOpen={openNotificationMobile}
|
|
464
|
+
anchor={anchorNotification}
|
|
465
|
+
textEmptyState={notification.textEmptyState}
|
|
466
|
+
notificationList={notification.notificationList}
|
|
467
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
468
|
+
textNotification={notification.textNotification}
|
|
469
|
+
isMobile={true}
|
|
470
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
471
|
+
textBack={notification.textBack}
|
|
472
|
+
handleClickBack={() => handleCloseNotification()}
|
|
473
|
+
/>
|
|
474
|
+
) : null}
|
|
475
|
+
</>
|
|
476
|
+
) : variant === 'default' ? (
|
|
477
|
+
<>
|
|
478
|
+
<MenuMobile
|
|
479
|
+
onClickExit={onClickExit}
|
|
480
|
+
languageSelected={languageSelected}
|
|
481
|
+
variant={'default'}
|
|
482
|
+
items={menu}
|
|
483
|
+
isVisible={isVisibleMenuMobile}
|
|
484
|
+
setVisible={(e) => setIsVisibleMenuMobile(e)}
|
|
485
|
+
onClickSite={onClickSite}
|
|
486
|
+
onClickLinkedin={onClickLinkedin}
|
|
487
|
+
onClickInstagram={onClickInstagram}
|
|
488
|
+
onClickYoutube={onClickYoutube}
|
|
489
|
+
onClickSpotify={onClickSpotify}
|
|
490
|
+
onClickPodCast={onClickPodCast}
|
|
491
|
+
customMenu={customMenu}
|
|
492
|
+
/>
|
|
493
|
+
<div style={{ width: '100%', display: 'flex', flexDirection: 'column' }}>
|
|
494
|
+
<Styles.MenuContainer
|
|
495
|
+
variant={variant}
|
|
496
|
+
style={{
|
|
497
|
+
paddingRight: windowSize[0] > 1400 ? '124px' : windowSize[0] < 500 ? '10px' : '35px',
|
|
498
|
+
paddingLeft: windowSize[0] > 1400 ? '124px' : windowSize[0] < 500 ? '10px' : '35px',
|
|
499
|
+
...style
|
|
500
|
+
}}
|
|
501
|
+
>
|
|
502
|
+
{isMobileVersion && (
|
|
503
|
+
<Styles.HamburgerButton style={{ marginLeft: 0 }} onClick={() => setIsVisibleMenuMobile(true)}>
|
|
504
|
+
<IconHamburgerMenu />
|
|
505
|
+
</Styles.HamburgerButton>
|
|
506
|
+
)}
|
|
507
|
+
{isTabletVersion && (
|
|
508
|
+
<Styles.HamburgerButton onClick={() => setIsVisibleMenuMobile(true)}>
|
|
509
|
+
<IconHamburgerMenu />
|
|
510
|
+
</Styles.HamburgerButton>
|
|
511
|
+
)}
|
|
512
|
+
{!isMobileVersion && !isTabletVersion && (
|
|
513
|
+
<Styles.WrapperLogo onClick={() => onClickLogo()}>
|
|
514
|
+
<FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
|
|
515
|
+
</Styles.WrapperLogo>
|
|
516
|
+
)}
|
|
517
|
+
{showLogo && (
|
|
518
|
+
<Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: '0px' }}>
|
|
519
|
+
<FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
|
|
520
|
+
</Styles.WrapperLogo>
|
|
521
|
+
)}
|
|
522
|
+
<Styles.WrapperMenu style={{ height: '100%' }}>
|
|
523
|
+
{!isMobileVersion && !isTabletVersion && showSearchField && (
|
|
524
|
+
<FieldSearch
|
|
525
|
+
variant="LXP"
|
|
526
|
+
value={valueSearch}
|
|
527
|
+
onFilter={search.onFilter}
|
|
528
|
+
onChange={(e) => handleChangeValueSearch(e.target.value)}
|
|
529
|
+
placeholder={search.label}
|
|
530
|
+
loading={loadingSearch}
|
|
531
|
+
textLoading={search.textLoading}
|
|
532
|
+
fieldSearchIsOpen={controlExpandedSearchMobile}
|
|
533
|
+
setFieldSearchIsOpen={setControlExpandedSearchMobile}
|
|
534
|
+
isLabeledResult={search.isLabeledResult}
|
|
535
|
+
listResults={search.isLabeledResult ? null : valueListSearch}
|
|
536
|
+
labeledResultList={search.isLabeledResult ? valueListSearch : null}
|
|
537
|
+
historicResults={search.historicResults}
|
|
538
|
+
isMobileVersion={isMobileVersion}
|
|
539
|
+
hasOptionSeeAll={search.hasOptionSeeAll}
|
|
540
|
+
seeAll={search.seeAll}
|
|
541
|
+
style={{
|
|
542
|
+
width: isMobileVersion ? '190px' : '332px'
|
|
543
|
+
}}
|
|
544
|
+
/>
|
|
545
|
+
)}
|
|
546
|
+
</Styles.WrapperMenu>
|
|
547
|
+
|
|
548
|
+
<Styles.WrapperRightInfo>
|
|
549
|
+
{isMobileVersion && (
|
|
550
|
+
<FieldSearch
|
|
551
|
+
variant="LXP"
|
|
552
|
+
value={valueSearch}
|
|
553
|
+
onFilter={search.onFilter}
|
|
554
|
+
onChange={(e) => handleChangeValueSearch(e.target.value)}
|
|
555
|
+
placeholder={search.label}
|
|
556
|
+
loading={loadingSearch}
|
|
557
|
+
textLoading={search.textLoading}
|
|
558
|
+
fieldSearchIsOpen={controlExpandedSearchMobile}
|
|
559
|
+
setFieldSearchIsOpen={setControlExpandedSearchMobile}
|
|
560
|
+
isLabeledResult={search.isLabeledResult}
|
|
561
|
+
listResults={search.isLabeledResult ? null : valueListSearch}
|
|
562
|
+
labeledResultList={search.isLabeledResult ? valueListSearch : null}
|
|
563
|
+
historicResults={search.historicResults}
|
|
564
|
+
isMobileVersion={isMobileVersion}
|
|
565
|
+
hasOptionSeeAll={search.hasOptionSeeAll}
|
|
566
|
+
seeAll={search.seeAll}
|
|
567
|
+
style={{
|
|
568
|
+
width: isMobileVersion ? '180px' : '332px',
|
|
569
|
+
marginLeft: controlExpandedSearchMobile ? '-15px' : '-30px'
|
|
570
|
+
}}
|
|
571
|
+
/>
|
|
572
|
+
)}
|
|
573
|
+
{isTabletVersion && (
|
|
574
|
+
<FieldSearch
|
|
575
|
+
variant="LXP"
|
|
576
|
+
value={valueSearch}
|
|
577
|
+
onFilter={search.onFilter}
|
|
578
|
+
onChange={(e) => handleChangeValueSearch(e.target.value)}
|
|
579
|
+
placeholder={search.label}
|
|
580
|
+
loading={loadingSearch}
|
|
581
|
+
textLoading={search.textLoading}
|
|
582
|
+
fieldSearchIsOpen={controlExpandedSearchMobile}
|
|
583
|
+
setFieldSearchIsOpen={setControlExpandedSearchMobile}
|
|
584
|
+
isLabeledResult={search.isLabeledResult}
|
|
585
|
+
listResults={search.isLabeledResult ? null : valueListSearch}
|
|
586
|
+
labeledResultList={search.isLabeledResult ? valueListSearch : null}
|
|
587
|
+
historicResults={search.historicResults}
|
|
588
|
+
isMobileVersion={isMobileVersion}
|
|
589
|
+
hasOptionSeeAll={search.hasOptionSeeAll}
|
|
590
|
+
seeAll={search.seeAll}
|
|
591
|
+
style={{
|
|
592
|
+
width: isMobileVersion ? '180px' : '332px',
|
|
593
|
+
marginLeft: controlExpandedSearchMobile ? '-25px' : '-50px'
|
|
594
|
+
}}
|
|
595
|
+
/>
|
|
596
|
+
)}
|
|
597
|
+
{!isMobileVersion && !isTabletVersion && notification && (
|
|
598
|
+
<>
|
|
599
|
+
{customMenu?.map((item, index) => (
|
|
600
|
+
<ItemGlobalMenu
|
|
601
|
+
label={isMobileVersion ? '' : item.label}
|
|
602
|
+
key={item.id ? item.id : index}
|
|
603
|
+
variant="LXP"
|
|
604
|
+
type="menu"
|
|
605
|
+
pressed={item.id === SelectedItem || item.active}
|
|
606
|
+
icon={item.iconBegin}
|
|
607
|
+
handleOnClick={() => handleClickItem(item)}
|
|
608
|
+
customMenu={customMenu}
|
|
609
|
+
style={{
|
|
610
|
+
paddingRight: '10px',
|
|
611
|
+
paddingLeft: '10px',
|
|
612
|
+
height: '100%',
|
|
613
|
+
flexDirection: 'inherit'
|
|
614
|
+
}}
|
|
615
|
+
/>
|
|
616
|
+
))}
|
|
617
|
+
<Styles.WrapperIconNotification onClick={onClickNotification}>
|
|
618
|
+
<span
|
|
619
|
+
style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}
|
|
620
|
+
onClick={handleOpenNotification}
|
|
621
|
+
>
|
|
622
|
+
<IconNotification fill={FRSTTheme['colors'].shadeWhite} />
|
|
623
|
+
{newNotification.length ? (
|
|
624
|
+
<div style={{ marginLeft: '-12px' }}>
|
|
625
|
+
<HasNotificationIcon />
|
|
626
|
+
</div>
|
|
627
|
+
) : null}{' '}
|
|
628
|
+
{textNotification}
|
|
629
|
+
</span>
|
|
630
|
+
<NotificationPopOver
|
|
631
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
632
|
+
isOpen={openNotification}
|
|
633
|
+
anchor={anchorNotification}
|
|
634
|
+
textEmptyState={notification.textEmptyState}
|
|
635
|
+
notificationList={notification.notificationList}
|
|
636
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
637
|
+
textNotification={notification.textNotification}
|
|
638
|
+
isMobile={false}
|
|
639
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
640
|
+
textBack={notification.textBack}
|
|
641
|
+
handleClickBack={() => handleCloseNotification()}
|
|
642
|
+
/>
|
|
643
|
+
</Styles.WrapperIconNotification>
|
|
644
|
+
</>
|
|
645
|
+
)}
|
|
646
|
+
{isMobileVersion && notification && (
|
|
647
|
+
<Styles.WrapperIconNotificationMobile
|
|
648
|
+
onClick={onClickNotification}
|
|
649
|
+
style={{
|
|
650
|
+
borderBottom:
|
|
651
|
+
openNotificationMobile && windowSize[0] <= 650
|
|
652
|
+
? `4px solid ${FRSTTheme['colors'].primary1}`
|
|
653
|
+
: '',
|
|
654
|
+
height: windowSize[0] <= 650 ? '100%' : 'auto'
|
|
655
|
+
}}
|
|
656
|
+
>
|
|
657
|
+
<span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
|
|
658
|
+
<IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
|
|
659
|
+
{newNotification.length ? (
|
|
660
|
+
<div style={{ marginLeft: '-12px' }}>
|
|
661
|
+
{' '}
|
|
662
|
+
<HasNotificationIcon />{' '}
|
|
663
|
+
</div>
|
|
664
|
+
) : null}
|
|
665
|
+
</span>
|
|
666
|
+
{windowSize[0] > 700 ? (
|
|
667
|
+
<NotificationPopOver
|
|
668
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
669
|
+
isOpen={openNotificationMobile}
|
|
670
|
+
anchor={anchorNotification}
|
|
671
|
+
textEmptyState={notification.textEmptyState}
|
|
672
|
+
notificationList={notification.notificationList}
|
|
673
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
674
|
+
textNotification={notification.textNotification}
|
|
675
|
+
isMobile={false}
|
|
676
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
677
|
+
textBack={notification.textBack}
|
|
678
|
+
handleClickBack={() => handleCloseNotification()}
|
|
679
|
+
/>
|
|
680
|
+
) : null}
|
|
681
|
+
</Styles.WrapperIconNotificationMobile>
|
|
682
|
+
)}
|
|
683
|
+
{isTabletVersion && notification && (
|
|
684
|
+
<Styles.WrapperIconNotificationMobile
|
|
685
|
+
onClick={onClickNotification}
|
|
686
|
+
style={{
|
|
687
|
+
borderBottom:
|
|
688
|
+
openNotificationMobile && windowSize[0] <= 650
|
|
689
|
+
? `4px solid ${FRSTTheme['colors'].primary1}`
|
|
690
|
+
: '',
|
|
691
|
+
height: windowSize[0] <= 650 ? '100%' : 'auto'
|
|
692
|
+
}}
|
|
693
|
+
>
|
|
694
|
+
<span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
|
|
695
|
+
<IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
|
|
696
|
+
{newNotification.length ? (
|
|
697
|
+
<div style={{ marginLeft: '-12px' }}>
|
|
698
|
+
{' '}
|
|
699
|
+
<HasNotificationIcon />{' '}
|
|
700
|
+
</div>
|
|
701
|
+
) : null}
|
|
702
|
+
</span>
|
|
703
|
+
{windowSize[0] > 700 ? (
|
|
704
|
+
<NotificationPopOver
|
|
705
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
706
|
+
isOpen={openNotificationMobile}
|
|
707
|
+
anchor={anchorNotification}
|
|
708
|
+
textEmptyState={notification.textEmptyState}
|
|
709
|
+
notificationList={notification.notificationList}
|
|
710
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
711
|
+
textNotification={notification.textNotification}
|
|
712
|
+
isMobile={false}
|
|
713
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
714
|
+
textBack={notification.textBack}
|
|
715
|
+
handleClickBack={() => handleCloseNotification()}
|
|
716
|
+
/>
|
|
717
|
+
) : null}
|
|
718
|
+
</Styles.WrapperIconNotificationMobile>
|
|
719
|
+
)}
|
|
720
|
+
<DropdownProfileMenu
|
|
721
|
+
variant="LXP"
|
|
722
|
+
user={user}
|
|
723
|
+
profileMenuText={profileMenuText}
|
|
724
|
+
handleProfileMenuClick={onClickProfileMenuText}
|
|
725
|
+
menuItems={user && user.menuItems}
|
|
726
|
+
isMobileVersion={isMobileVersion}
|
|
727
|
+
style={{
|
|
728
|
+
marginLeft: isMobileVersion ? '0px' : '5px',
|
|
729
|
+
marginRight: isMobileVersion ? '0px' : '5px'
|
|
730
|
+
}}
|
|
731
|
+
/>
|
|
732
|
+
{!isMobileVersion && !isTabletVersion && languages && languages.length > 0 && (
|
|
733
|
+
<LanguagesDropdown
|
|
734
|
+
variant="LXP"
|
|
735
|
+
languages={[...languages]}
|
|
736
|
+
selected={languageSelected}
|
|
737
|
+
onSelect={(e) => onChangeLanguage(e)}
|
|
738
|
+
distanceBtnDrop={'57px'}
|
|
739
|
+
/>
|
|
740
|
+
)}
|
|
741
|
+
</Styles.WrapperRightInfo>
|
|
742
|
+
</Styles.MenuContainer>
|
|
743
|
+
</div>
|
|
744
|
+
{openNotificationMobile && windowSize[0] <= 700 ? (
|
|
745
|
+
<NotificationPopOver
|
|
746
|
+
handleClickMarkRead={notification.handleClickMarkRead}
|
|
747
|
+
isOpen={openNotificationMobile}
|
|
748
|
+
anchor={anchorNotification}
|
|
749
|
+
textEmptyState={notification.textEmptyState}
|
|
750
|
+
notificationList={notification.notificationList}
|
|
751
|
+
textMarkAllAsRead={notification.textMarkAllAsRead}
|
|
752
|
+
textNotification={notification.textNotification}
|
|
753
|
+
isMobile={true}
|
|
754
|
+
setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
|
|
755
|
+
textBack={notification.textBack}
|
|
756
|
+
handleClickBack={() => handleCloseNotification()}
|
|
757
|
+
/>
|
|
758
|
+
) : null}
|
|
759
|
+
</>
|
|
760
|
+
) : (
|
|
761
|
+
<div style={{ width: '100%', display: 'flex', flexDirection: 'column', ...style }}>
|
|
762
|
+
<Styles.MenuContainer variant={variant} style={{ ...style, display: 'none' }}>
|
|
763
|
+
<Styles.WrapperLogo onClick={() => onClickLogo()}>
|
|
764
|
+
<FRSTLogo height="28" />
|
|
765
|
+
</Styles.WrapperLogo>
|
|
766
|
+
<Styles.WrapperMenu>
|
|
767
|
+
{menu &&
|
|
768
|
+
menu.length > 0 &&
|
|
769
|
+
menu.map((item, index) => {
|
|
770
|
+
return (
|
|
771
|
+
<ItemGlobalMenu
|
|
772
|
+
label={item.label}
|
|
773
|
+
key={item.id ? item.id : index}
|
|
774
|
+
variant="default"
|
|
775
|
+
type="menu"
|
|
776
|
+
handleOnClick={() => item.onClick('tes')}
|
|
777
|
+
style={{ paddingRight: '10px', paddingLeft: '10px' }}
|
|
778
|
+
/>
|
|
779
|
+
)
|
|
780
|
+
})}
|
|
781
|
+
</Styles.WrapperMenu>
|
|
782
|
+
<Styles.WrapperRightInfo>
|
|
783
|
+
<DropdownProfileMenu
|
|
784
|
+
variant="default"
|
|
785
|
+
user={user}
|
|
786
|
+
menuItems={user && user.menuItems}
|
|
787
|
+
isMobileVersion={isMobileVersion}
|
|
788
|
+
profileMenuText={profileMenuText}
|
|
789
|
+
handleProfileMenuClick={onClickProfileMenuText}
|
|
790
|
+
/>
|
|
791
|
+
</Styles.WrapperRightInfo>
|
|
792
|
+
{languages && languages.length > 0 && (
|
|
793
|
+
<LanguagesDropdown
|
|
794
|
+
variant="default"
|
|
795
|
+
languages={[...languages]}
|
|
796
|
+
selected={languageSelected}
|
|
797
|
+
onSelect={(e) => onChangeLanguage(e)}
|
|
798
|
+
distanceBtnDrop={'45px'}
|
|
799
|
+
/>
|
|
800
|
+
)}
|
|
801
|
+
</Styles.MenuContainer>
|
|
802
|
+
</div>
|
|
803
|
+
)}
|
|
804
|
+
</ThemeProvider>
|
|
805
|
+
)
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export function MenuMobile({
|
|
809
|
+
items,
|
|
810
|
+
isVisible,
|
|
811
|
+
setVisible,
|
|
812
|
+
variant,
|
|
813
|
+
languageSelected,
|
|
814
|
+
onClickExit,
|
|
815
|
+
onClickSite,
|
|
816
|
+
onClickLinkedin,
|
|
817
|
+
onClickInstagram,
|
|
818
|
+
onClickYoutube,
|
|
819
|
+
onClickSpotify,
|
|
820
|
+
onClickPodCast,
|
|
821
|
+
customMenu
|
|
822
|
+
}) {
|
|
823
|
+
const [optionsSubMenu, setOptionsSubmenu] = useState({})
|
|
824
|
+
const [subMenuIsVisible, setSubMenuIsVisible] = useState(false)
|
|
825
|
+
|
|
826
|
+
const newOptionsSubMenu = (items) => {
|
|
827
|
+
setOptionsSubmenu(items)
|
|
828
|
+
setTimeout(() => setSubMenuIsVisible(true), 200)
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
return (
|
|
832
|
+
<>
|
|
833
|
+
<SubMenuMobile
|
|
834
|
+
onClickExit={onClickExit}
|
|
835
|
+
items={optionsSubMenu}
|
|
836
|
+
isVisible={subMenuIsVisible}
|
|
837
|
+
setVisible={setSubMenuIsVisible}
|
|
838
|
+
variant={variant}
|
|
839
|
+
languageSelected={languageSelected}
|
|
840
|
+
onClickSite={onClickSite}
|
|
841
|
+
onClickLinkedin={onClickLinkedin}
|
|
842
|
+
onClickInstagram={onClickInstagram}
|
|
843
|
+
onClickYoutube={onClickYoutube}
|
|
844
|
+
onClickSpotify={onClickSpotify}
|
|
845
|
+
onClickPodCast={onClickPodCast}
|
|
846
|
+
customMenu={customMenu}
|
|
847
|
+
/>
|
|
848
|
+
<Styles.MenuMobile isVisible={isVisible}>
|
|
849
|
+
{variant === 'LXP' || variant === 'custom' ? (
|
|
850
|
+
<>
|
|
851
|
+
<div>
|
|
852
|
+
<Styles.ItemMenuMobile onClick={() => setVisible(false)}>
|
|
853
|
+
<span>
|
|
854
|
+
{' '}
|
|
855
|
+
<BackArrow fill="white" /> {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
856
|
+
</span>
|
|
857
|
+
</Styles.ItemMenuMobile>
|
|
858
|
+
{items &&
|
|
859
|
+
items.length > 0 &&
|
|
860
|
+
items.map((item, index) => {
|
|
861
|
+
if (item.label == 'Criar conteúdo') return
|
|
862
|
+
|
|
863
|
+
if (item.onClick == null)
|
|
864
|
+
return (
|
|
865
|
+
<Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
|
|
866
|
+
|
|
867
|
+
{item.label}
|
|
868
|
+
</Styles.ItemMenuMobile>
|
|
869
|
+
)
|
|
870
|
+
|
|
871
|
+
return (
|
|
872
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
873
|
+
|
|
874
|
+
{item.label}
|
|
875
|
+
</Styles.ItemMenuMobile>
|
|
876
|
+
)
|
|
877
|
+
})}
|
|
878
|
+
<Styles.ItemMenuMobile style={{ borderBottom: 'none' }} onClick={() => onClickExit()}>
|
|
879
|
+
<span>
|
|
880
|
+
{' '}
|
|
881
|
+
<ExitArrow fill="white" /> {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
|
|
882
|
+
</span>
|
|
883
|
+
</Styles.ItemMenuMobile>
|
|
884
|
+
</div>
|
|
885
|
+
<Styles.footerMenuMobile>
|
|
886
|
+
<span style={{ marginTop: 24 }}>
|
|
887
|
+
{languageSelected === 'en-US'
|
|
888
|
+
? 'Visit our channel and social networks'
|
|
889
|
+
: 'Visite nossos canais e redes sociais'}
|
|
890
|
+
</span>
|
|
891
|
+
<Styles.frstSocials>
|
|
892
|
+
<Styles.itemFrstSocials onClick={onClickSite}>
|
|
893
|
+
{' '}
|
|
894
|
+
<SiteIcon />{' '}
|
|
895
|
+
</Styles.itemFrstSocials>
|
|
896
|
+
<Styles.itemFrstSocials onClick={onClickLinkedin}>
|
|
897
|
+
{' '}
|
|
898
|
+
<LinkedinIcon />{' '}
|
|
899
|
+
</Styles.itemFrstSocials>
|
|
900
|
+
<Styles.itemFrstSocials onClick={onClickInstagram}>
|
|
901
|
+
{' '}
|
|
902
|
+
<InstagramIcon />{' '}
|
|
903
|
+
</Styles.itemFrstSocials>
|
|
904
|
+
<Styles.itemFrstSocials onClick={onClickYoutube}>
|
|
905
|
+
{' '}
|
|
906
|
+
<YoutubeIcon />{' '}
|
|
907
|
+
</Styles.itemFrstSocials>
|
|
908
|
+
<Styles.itemFrstSocials onClick={onClickSpotify}>
|
|
909
|
+
{' '}
|
|
910
|
+
<SpotifyIcon />{' '}
|
|
911
|
+
</Styles.itemFrstSocials>
|
|
912
|
+
<Styles.itemFrstSocials onClick={onClickPodCast}>
|
|
913
|
+
{' '}
|
|
914
|
+
<PodCastIcon />{' '}
|
|
915
|
+
</Styles.itemFrstSocials>
|
|
916
|
+
</Styles.frstSocials>
|
|
917
|
+
</Styles.footerMenuMobile>
|
|
918
|
+
</>
|
|
919
|
+
) : (
|
|
920
|
+
<>
|
|
921
|
+
<div>
|
|
922
|
+
<Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
|
|
923
|
+
<span>
|
|
924
|
+
{' '}
|
|
925
|
+
<BackArrow fill="white" /> {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
926
|
+
</span>
|
|
927
|
+
</Styles.ItemMenuMobile>
|
|
928
|
+
{items &&
|
|
929
|
+
items.length > 0 &&
|
|
930
|
+
items.map((item, index) => {
|
|
931
|
+
if (item.label == 'Criar conteúdo') return
|
|
932
|
+
|
|
933
|
+
if (item.onClick == null)
|
|
934
|
+
return (
|
|
935
|
+
<Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
|
|
936
|
+
{item.iconBegin}
|
|
937
|
+
|
|
938
|
+
{item.label}
|
|
939
|
+
</Styles.ItemMenuMobile>
|
|
940
|
+
)
|
|
941
|
+
|
|
942
|
+
return (
|
|
943
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
944
|
+
{item.iconBegin}
|
|
945
|
+
|
|
946
|
+
{item.label}
|
|
947
|
+
</Styles.ItemMenuMobile>
|
|
948
|
+
)
|
|
949
|
+
})}
|
|
950
|
+
{customMenu?.map((item, index) => (
|
|
951
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
952
|
+
<span style={{ marginRight: customMenu ? 2 : 0 }}>{item.iconBegin}</span>
|
|
953
|
+
|
|
954
|
+
{item.label}
|
|
955
|
+
</Styles.ItemMenuMobile>
|
|
956
|
+
))}
|
|
957
|
+
</div>
|
|
958
|
+
<Styles.footerMenuMobile>
|
|
959
|
+
<Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
|
|
960
|
+
<span>
|
|
961
|
+
{' '}
|
|
962
|
+
<ExitArrow fill="white" /> {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
|
|
963
|
+
</span>
|
|
964
|
+
</Styles.ItemMenuMobile>
|
|
965
|
+
<span style={{ marginTop: 24 }}>
|
|
966
|
+
{languageSelected === 'en-US'
|
|
967
|
+
? 'Visit our channel and social networks'
|
|
968
|
+
: 'Visite nossos canais e redes sociais'}
|
|
969
|
+
</span>
|
|
970
|
+
<Styles.frstSocials>
|
|
971
|
+
<Styles.itemFrstSocials onClick={onClickSite}>
|
|
972
|
+
{' '}
|
|
973
|
+
<SiteIcon />{' '}
|
|
974
|
+
</Styles.itemFrstSocials>
|
|
975
|
+
<Styles.itemFrstSocials onClick={onClickLinkedin}>
|
|
976
|
+
{' '}
|
|
977
|
+
<LinkedinIcon />{' '}
|
|
978
|
+
</Styles.itemFrstSocials>
|
|
979
|
+
<Styles.itemFrstSocials onClick={onClickInstagram}>
|
|
980
|
+
{' '}
|
|
981
|
+
<InstagramIcon />{' '}
|
|
982
|
+
</Styles.itemFrstSocials>
|
|
983
|
+
<Styles.itemFrstSocials onClick={onClickYoutube}>
|
|
984
|
+
{' '}
|
|
985
|
+
<YoutubeIcon />{' '}
|
|
986
|
+
</Styles.itemFrstSocials>
|
|
987
|
+
<Styles.itemFrstSocials onClick={onClickSpotify}>
|
|
988
|
+
{' '}
|
|
989
|
+
<SpotifyIcon />{' '}
|
|
990
|
+
</Styles.itemFrstSocials>
|
|
991
|
+
<Styles.itemFrstSocials onClick={onClickPodCast}>
|
|
992
|
+
{' '}
|
|
993
|
+
<PodCastIcon />{' '}
|
|
994
|
+
</Styles.itemFrstSocials>
|
|
995
|
+
</Styles.frstSocials>
|
|
996
|
+
</Styles.footerMenuMobile>
|
|
997
|
+
</>
|
|
998
|
+
)}
|
|
999
|
+
</Styles.MenuMobile>
|
|
1000
|
+
</>
|
|
1001
|
+
)
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export function SubMenuMobile({
|
|
1005
|
+
items,
|
|
1006
|
+
isVisible,
|
|
1007
|
+
setVisible,
|
|
1008
|
+
variant,
|
|
1009
|
+
languageSelected,
|
|
1010
|
+
onClickExit,
|
|
1011
|
+
onClickSite,
|
|
1012
|
+
onClickLinkedin,
|
|
1013
|
+
onClickInstagram,
|
|
1014
|
+
onClickYoutube,
|
|
1015
|
+
onClickSpotify,
|
|
1016
|
+
onClickPodCast,
|
|
1017
|
+
customMenu
|
|
1018
|
+
}) {
|
|
1019
|
+
const [options, setOptions] = useState(items)
|
|
1020
|
+
useEffect(() => {
|
|
1021
|
+
setOptions(items)
|
|
1022
|
+
}, [items])
|
|
1023
|
+
|
|
1024
|
+
return (
|
|
1025
|
+
<Styles.MenuMobile isVisible={isVisible} style={{ zIndex: '10002' }}>
|
|
1026
|
+
{variant === 'LXP' ? (
|
|
1027
|
+
<>
|
|
1028
|
+
<div>
|
|
1029
|
+
{options &&
|
|
1030
|
+
options.length > 0 &&
|
|
1031
|
+
options.map((item, index) => {
|
|
1032
|
+
if (item.label == 'Criar conteúdo') return
|
|
1033
|
+
return (
|
|
1034
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1035
|
+
{item.label}
|
|
1036
|
+
</Styles.ItemMenuMobile>
|
|
1037
|
+
)
|
|
1038
|
+
})}
|
|
1039
|
+
</div>
|
|
1040
|
+
<Styles.ItemMenuMobile onClick={() => setVisible(false)} style={{ borderTop: '1px solid #444' }}>
|
|
1041
|
+
{languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
1042
|
+
</Styles.ItemMenuMobile>
|
|
1043
|
+
</>
|
|
1044
|
+
) : (
|
|
1045
|
+
<>
|
|
1046
|
+
<div>
|
|
1047
|
+
<Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
|
|
1048
|
+
<span>
|
|
1049
|
+
{' '}
|
|
1050
|
+
<BackArrow fill="white" /> {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
1051
|
+
</span>
|
|
1052
|
+
</Styles.ItemMenuMobile>
|
|
1053
|
+
{options &&
|
|
1054
|
+
options.length > 0 &&
|
|
1055
|
+
options.map((item, index) => {
|
|
1056
|
+
if (item.label == 'Criar conteúdo') return
|
|
1057
|
+
|
|
1058
|
+
if (item.onClick == null)
|
|
1059
|
+
return (
|
|
1060
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1061
|
+
{item.iconBegin}
|
|
1062
|
+
|
|
1063
|
+
{item.label}
|
|
1064
|
+
</Styles.ItemMenuMobile>
|
|
1065
|
+
)
|
|
1066
|
+
|
|
1067
|
+
return (
|
|
1068
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1069
|
+
{item.iconBegin}
|
|
1070
|
+
|
|
1071
|
+
{item.label}
|
|
1072
|
+
</Styles.ItemMenuMobile>
|
|
1073
|
+
)
|
|
1074
|
+
})}
|
|
1075
|
+
{customMenu?.map((item, index) => (
|
|
1076
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1077
|
+
{item.iconBegin}
|
|
1078
|
+
|
|
1079
|
+
{item.label}
|
|
1080
|
+
</Styles.ItemMenuMobile>
|
|
1081
|
+
))}
|
|
1082
|
+
</div>
|
|
1083
|
+
<Styles.footerMenuMobile>
|
|
1084
|
+
<Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
|
|
1085
|
+
<span>
|
|
1086
|
+
{' '}
|
|
1087
|
+
<ExitArrow fill="white" /> {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
|
|
1088
|
+
</span>
|
|
1089
|
+
</Styles.ItemMenuMobile>
|
|
1090
|
+
<span style={{ marginTop: 24 }}>
|
|
1091
|
+
{languageSelected === 'en-US'
|
|
1092
|
+
? 'Visit our channel and social networks'
|
|
1093
|
+
: 'Visite nossos canais e redes sociais'}
|
|
1094
|
+
</span>
|
|
1095
|
+
<Styles.frstSocials>
|
|
1096
|
+
<Styles.itemFrstSocials onClick={onClickSite}>
|
|
1097
|
+
{' '}
|
|
1098
|
+
<SiteIcon />{' '}
|
|
1099
|
+
</Styles.itemFrstSocials>
|
|
1100
|
+
<Styles.itemFrstSocials onClick={onClickLinkedin}>
|
|
1101
|
+
{' '}
|
|
1102
|
+
<LinkedinIcon />{' '}
|
|
1103
|
+
</Styles.itemFrstSocials>
|
|
1104
|
+
<Styles.itemFrstSocials onClick={onClickInstagram}>
|
|
1105
|
+
{' '}
|
|
1106
|
+
<InstagramIcon />{' '}
|
|
1107
|
+
</Styles.itemFrstSocials>
|
|
1108
|
+
<Styles.itemFrstSocials onClick={onClickYoutube}>
|
|
1109
|
+
{' '}
|
|
1110
|
+
<YoutubeIcon />{' '}
|
|
1111
|
+
</Styles.itemFrstSocials>
|
|
1112
|
+
<Styles.itemFrstSocials onClick={onClickSpotify}>
|
|
1113
|
+
{' '}
|
|
1114
|
+
<SpotifyIcon />{' '}
|
|
1115
|
+
</Styles.itemFrstSocials>
|
|
1116
|
+
<Styles.itemFrstSocials onClick={onClickPodCast}>
|
|
1117
|
+
{' '}
|
|
1118
|
+
<PodCastIcon />{' '}
|
|
1119
|
+
</Styles.itemFrstSocials>
|
|
1120
|
+
</Styles.frstSocials>
|
|
1121
|
+
</Styles.footerMenuMobile>
|
|
1122
|
+
</>
|
|
1123
|
+
)}
|
|
1124
|
+
</Styles.MenuMobile>
|
|
1125
|
+
)
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export function SideMenu({
|
|
1129
|
+
items,
|
|
1130
|
+
isVisible,
|
|
1131
|
+
setVisible,
|
|
1132
|
+
variant,
|
|
1133
|
+
languageSelected,
|
|
1134
|
+
onClickExit,
|
|
1135
|
+
onClickSite,
|
|
1136
|
+
onClickLinkedin,
|
|
1137
|
+
onClickInstagram,
|
|
1138
|
+
onClickYoutube,
|
|
1139
|
+
onClickSpotify,
|
|
1140
|
+
onClickPodCast,
|
|
1141
|
+
customMenu
|
|
1142
|
+
}) {
|
|
1143
|
+
const [optionsSubMenu, setOptionsSubmenu] = useState({})
|
|
1144
|
+
const [subMenuIsVisible, setSubMenuIsVisible] = useState(false)
|
|
1145
|
+
|
|
1146
|
+
const newOptionsSubMenu = (items) => {
|
|
1147
|
+
setOptionsSubmenu(items)
|
|
1148
|
+
setTimeout(() => setSubMenuIsVisible(true), 200)
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
return (
|
|
1152
|
+
<>
|
|
1153
|
+
<Styles.SideMenu isVisible={isVisible}>
|
|
1154
|
+
{variant === 'LXP' ? (
|
|
1155
|
+
<>
|
|
1156
|
+
<div>
|
|
1157
|
+
<Styles.ItemSideMenu onClick={() => setVisible(false)}>
|
|
1158
|
+
<span>
|
|
1159
|
+
{' '}
|
|
1160
|
+
<BackArrow fill="white" /> {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
1161
|
+
</span>
|
|
1162
|
+
</Styles.ItemSideMenu>
|
|
1163
|
+
{items &&
|
|
1164
|
+
items.length > 0 &&
|
|
1165
|
+
items.map((item, index) => {
|
|
1166
|
+
if (item.label == 'Criar conteúdo') return
|
|
1167
|
+
|
|
1168
|
+
if (item.onClick == null)
|
|
1169
|
+
return (
|
|
1170
|
+
<Styles.ItemSideMenu onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
|
|
1171
|
+
|
|
1172
|
+
{item.label}
|
|
1173
|
+
</Styles.ItemSideMenu>
|
|
1174
|
+
)
|
|
1175
|
+
|
|
1176
|
+
return (
|
|
1177
|
+
<Styles.ItemSideMenu onClick={(e) => item.onClick(e)} key={index}>
|
|
1178
|
+
|
|
1179
|
+
{item.label}
|
|
1180
|
+
</Styles.ItemSideMenu>
|
|
1181
|
+
)
|
|
1182
|
+
})}
|
|
1183
|
+
<Styles.ItemSideMenu style={{ borderBottom: 'none' }} onClick={() => onClickExit()}>
|
|
1184
|
+
<span>
|
|
1185
|
+
{' '}
|
|
1186
|
+
<ExitArrow fill="white" /> {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
|
|
1187
|
+
</span>
|
|
1188
|
+
</Styles.ItemSideMenu>
|
|
1189
|
+
</div>
|
|
1190
|
+
<Styles.footerMenuMobile>
|
|
1191
|
+
<span style={{ marginTop: 24 }}>
|
|
1192
|
+
{languageSelected === 'en-US'
|
|
1193
|
+
? 'Visit our channel and social networks'
|
|
1194
|
+
: 'Visite nossos canais e redes sociais'}
|
|
1195
|
+
</span>
|
|
1196
|
+
<Styles.frstSocials>
|
|
1197
|
+
<Styles.itemFrstSocials onClick={onClickSite}>
|
|
1198
|
+
{' '}
|
|
1199
|
+
<SiteIcon />{' '}
|
|
1200
|
+
</Styles.itemFrstSocials>
|
|
1201
|
+
<Styles.itemFrstSocials onClick={onClickLinkedin}>
|
|
1202
|
+
{' '}
|
|
1203
|
+
<LinkedinIcon />{' '}
|
|
1204
|
+
</Styles.itemFrstSocials>
|
|
1205
|
+
<Styles.itemFrstSocials onClick={onClickInstagram}>
|
|
1206
|
+
{' '}
|
|
1207
|
+
<InstagramIcon />{' '}
|
|
1208
|
+
</Styles.itemFrstSocials>
|
|
1209
|
+
<Styles.itemFrstSocials onClick={onClickYoutube}>
|
|
1210
|
+
{' '}
|
|
1211
|
+
<YoutubeIcon />{' '}
|
|
1212
|
+
</Styles.itemFrstSocials>
|
|
1213
|
+
<Styles.itemFrstSocials onClick={onClickSpotify}>
|
|
1214
|
+
{' '}
|
|
1215
|
+
<SpotifyIcon />{' '}
|
|
1216
|
+
</Styles.itemFrstSocials>
|
|
1217
|
+
<Styles.itemFrstSocials onClick={onClickPodCast}>
|
|
1218
|
+
{' '}
|
|
1219
|
+
<PodCastIcon />{' '}
|
|
1220
|
+
</Styles.itemFrstSocials>
|
|
1221
|
+
</Styles.frstSocials>
|
|
1222
|
+
</Styles.footerMenuMobile>
|
|
1223
|
+
</>
|
|
1224
|
+
) : (
|
|
1225
|
+
<>
|
|
1226
|
+
<div>
|
|
1227
|
+
<Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
|
|
1228
|
+
<span>
|
|
1229
|
+
{' '}
|
|
1230
|
+
<BackArrow fill="white" /> {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
|
|
1231
|
+
</span>
|
|
1232
|
+
</Styles.ItemMenuMobile>
|
|
1233
|
+
{items &&
|
|
1234
|
+
items.length > 0 &&
|
|
1235
|
+
items.map((item, index) => {
|
|
1236
|
+
if (item.label == 'Criar conteúdo') return
|
|
1237
|
+
|
|
1238
|
+
if (item.onClick == null)
|
|
1239
|
+
return (
|
|
1240
|
+
<Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
|
|
1241
|
+
{item.iconBegin}
|
|
1242
|
+
|
|
1243
|
+
{item.label}
|
|
1244
|
+
</Styles.ItemMenuMobile>
|
|
1245
|
+
)
|
|
1246
|
+
|
|
1247
|
+
return (
|
|
1248
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1249
|
+
{item.iconBegin}
|
|
1250
|
+
|
|
1251
|
+
{item.label}
|
|
1252
|
+
</Styles.ItemMenuMobile>
|
|
1253
|
+
)
|
|
1254
|
+
})}
|
|
1255
|
+
{customMenu?.map((item, index) => (
|
|
1256
|
+
<Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
|
|
1257
|
+
{item.iconBegin}
|
|
1258
|
+
|
|
1259
|
+
{item.label}
|
|
1260
|
+
</Styles.ItemMenuMobile>
|
|
1261
|
+
))}
|
|
1262
|
+
</div>
|
|
1263
|
+
<Styles.footerMenuMobile>
|
|
1264
|
+
<Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
|
|
1265
|
+
<span>
|
|
1266
|
+
{' '}
|
|
1267
|
+
<ExitArrow fill="white" /> {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
|
|
1268
|
+
</span>
|
|
1269
|
+
</Styles.ItemMenuMobile>
|
|
1270
|
+
<span style={{ marginTop: 24 }}>
|
|
1271
|
+
{languageSelected === 'en-US'
|
|
1272
|
+
? 'Visit our channel and social networks'
|
|
1273
|
+
: 'Visite nossos canais e redes sociais'}
|
|
1274
|
+
</span>
|
|
1275
|
+
<Styles.frstSocials>
|
|
1276
|
+
<Styles.itemFrstSocials onClick={onClickSite}>
|
|
1277
|
+
{' '}
|
|
1278
|
+
<SiteIcon />{' '}
|
|
1279
|
+
</Styles.itemFrstSocials>
|
|
1280
|
+
<Styles.itemFrstSocials onClick={onClickLinkedin}>
|
|
1281
|
+
{' '}
|
|
1282
|
+
<LinkedinIcon />{' '}
|
|
1283
|
+
</Styles.itemFrstSocials>
|
|
1284
|
+
<Styles.itemFrstSocials onClick={onClickInstagram}>
|
|
1285
|
+
{' '}
|
|
1286
|
+
<InstagramIcon />{' '}
|
|
1287
|
+
</Styles.itemFrstSocials>
|
|
1288
|
+
<Styles.itemFrstSocials onClick={onClickYoutube}>
|
|
1289
|
+
{' '}
|
|
1290
|
+
<YoutubeIcon />{' '}
|
|
1291
|
+
</Styles.itemFrstSocials>
|
|
1292
|
+
<Styles.itemFrstSocials onClick={onClickSpotify}>
|
|
1293
|
+
{' '}
|
|
1294
|
+
<SpotifyIcon />{' '}
|
|
1295
|
+
</Styles.itemFrstSocials>
|
|
1296
|
+
<Styles.itemFrstSocials onClick={onClickPodCast}>
|
|
1297
|
+
{' '}
|
|
1298
|
+
<PodCastIcon />{' '}
|
|
1299
|
+
</Styles.itemFrstSocials>
|
|
1300
|
+
</Styles.frstSocials>
|
|
1301
|
+
</Styles.footerMenuMobile>
|
|
1302
|
+
</>
|
|
1303
|
+
)}
|
|
1304
|
+
</Styles.SideMenu>
|
|
1305
|
+
</>
|
|
1306
|
+
)
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
export function IconHamburgerMenu() {
|
|
1310
|
+
return (
|
|
1311
|
+
<div>
|
|
1312
|
+
<svg width="27" height="33" viewBox="0 0 27 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1313
|
+
<path
|
|
1314
|
+
d="M7.46 2.4H6.23L4.79 6.42L4.28 8.06H4.26L3.76 6.41L2.31 2.4H1.08V9H1.84V4.85L1.75 3.11H1.76L3.93 9H4.61L6.78 3.11H6.79L6.7 4.85V9H7.46V2.4ZM13.6673 6.24C13.6673 4.95 12.8773 3.9 11.4273 3.9C9.91727 3.9 9.06727 4.88 9.06727 6.5C9.06727 8.12 9.97727 9.1 11.4873 9.1C12.5673 9.1 13.1873 8.69 13.5673 8.01L12.8973 7.66C12.7173 8.14 12.2173 8.4 11.4873 8.4C10.5673 8.4 9.95727 7.81 9.85727 6.8H13.6273C13.6473 6.66 13.6673 6.47 13.6673 6.24ZM11.4273 4.6C12.2773 4.6 12.7873 5.17 12.8973 6.09H9.86727C9.98727 5.15 10.5373 4.6 11.4273 4.6ZM17.6178 3.9C16.9278 3.9 16.2878 4.15 15.9378 4.78L15.8878 4H15.1878V9H15.9878V6.34C15.9878 5.06 16.8078 4.6 17.5378 4.6C18.2278 4.6 18.7678 4.97 18.7678 6.08V9H19.5678V5.8C19.5678 4.51 18.6878 3.9 17.6178 3.9ZM24.9092 4V6.72C24.9092 7.9 24.1592 8.4 23.3092 8.4C22.5892 8.4 22.1292 8.09 22.1292 7.06V4H21.3292V7.27C21.3292 8.59 22.1792 9.1 23.1692 9.1C23.9692 9.1 24.6092 8.84 24.9592 8.24L25.0092 9H25.7092V4H24.9092Z"
|
|
1315
|
+
fill="white"
|
|
1316
|
+
/>
|
|
1317
|
+
<path
|
|
1318
|
+
fillRule="evenodd"
|
|
1319
|
+
clipRule="evenodd"
|
|
1320
|
+
d="M0 15.5854C0 15.0332 0.447715 14.5854 1 14.5854H24.7843C25.3366 14.5854 25.7843 15.0332 25.7843 15.5854C25.7843 16.1377 25.3366 16.5854 24.7843 16.5854H1C0.447715 16.5854 0 16.1377 0 15.5854ZM0 23.6736C0 23.1213 0.447715 22.6736 1 22.6736H24.7843C25.3366 22.6736 25.7843 23.1213 25.7843 23.6736C25.7843 24.2259 25.3366 24.6736 24.7843 24.6736H1C0.447715 24.6736 0 24.2259 0 23.6736ZM1 30.7617C0.447715 30.7617 0 31.2094 0 31.7617C0 32.314 0.447715 32.7617 1 32.7617H24.7843C25.3366 32.7617 25.7843 32.314 25.7843 31.7617C25.7843 31.2094 25.3366 30.7617 24.7843 30.7617H1Z"
|
|
1321
|
+
fill="white"
|
|
1322
|
+
/>
|
|
1323
|
+
</svg>
|
|
1324
|
+
</div>
|
|
1325
|
+
)
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
export function HasNotificationIcon() {
|
|
1329
|
+
return (
|
|
1330
|
+
<div>
|
|
1331
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1332
|
+
<rect width="10" height="10" rx="5" fill="#FF4D0D" />
|
|
1333
|
+
</svg>
|
|
1334
|
+
</div>
|
|
1335
|
+
)
|
|
1336
|
+
}
|