frst-components 0.37.0 → 0.38.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/README.md +52 -52
- package/dist/esm/index.js +154 -0
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/dist/esm/public/customIcons/CircledAlert.js +7 -0
- package/dist/esm/public/customIcons/CircledCheck.js +7 -0
- package/dist/esm/public/customIcons/DefaultProfile.js +7 -0
- package/dist/esm/public/customIcons/ExcludeVoteIcon.js +7 -0
- package/dist/esm/public/customIcons/LanguageIcon.js +7 -0
- package/dist/esm/public/customIcons/SmallTrash.js +7 -0
- package/dist/esm/public/customIcons/SwitchVoteIcon.js +7 -0
- package/dist/esm/public/customIcons/TagAlert.js +7 -0
- package/dist/esm/public/customIcons/VoteCurrentIcon.js +7 -0
- package/dist/esm/public/customIcons/VoteIcon.js +7 -0
- package/dist/esm/public/customIcons/WarningIcon.js +7 -0
- package/dist/esm/public/customIcons/newVoteIcon.js +7 -0
- package/dist/esm/public/img/Nonotification.png.js +3 -0
- package/dist/esm/public/img/TargetIcon.png.js +3 -0
- package/dist/esm/src/components/DS/CardJourney/index.js +12 -0
- package/dist/esm/src/components/DS/CardJourney/style.js +123 -0
- package/dist/esm/src/components/DS/ConfirmationModal/ComfirmModalDownload/ComfirmModalDownload.js +20 -0
- package/dist/esm/src/components/DS/ConfirmationModal/ConfirmationModal.js +10 -0
- package/dist/esm/src/components/DS/ConfirmationModal/styles.js +56 -0
- package/dist/esm/src/components/DS/LightTooltip/index.js +24 -0
- package/dist/esm/src/components/DS/admButton/admButton.styles.js +52 -0
- package/dist/esm/src/components/DS/admButton/index.js +17 -0
- package/dist/esm/src/components/DS/cardPeople/cardPeople.styles.js +71 -0
- package/dist/esm/src/components/DS/cardPeople/index.js +63 -0
- package/dist/esm/src/components/DS/cardUser/cardUser.styles.js +70 -0
- package/dist/esm/src/components/DS/cardUser/index.js +14 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/index.js +186 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/multiselectStyles.js +214 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/primereact.css.js +6 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/stylesMulti.css.js +6 -0
- package/dist/esm/src/components/DS/groups-table/groupTableStyles.js +95 -0
- package/dist/esm/src/components/DS/groups-table/index.js +113 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/index.js +8 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/upDownButtons.styles.js +43 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/index.js +40 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/voting.styles.js +126 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.js +115 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/index.js +161 -0
- package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/index.js +35 -0
- package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/styles.js +14 -0
- package/dist/esm/src/components/DS/impedimentosTab/dropDown/index.js +20 -0
- package/dist/esm/src/components/DS/impedimentosTab/dropDown/styles.js +38 -0
- package/dist/esm/src/components/DS/impedimentosTab/index.js +180 -0
- package/dist/esm/src/components/DS/impedimentosTab/styles.js +178 -0
- package/dist/esm/src/components/DS/loading/index.js +45 -0
- package/dist/esm/src/components/DS/loading/loadingStyle.js +39 -0
- package/dist/esm/src/components/DS/modal/index.js +55 -0
- package/dist/esm/src/components/DS/modal/styles.js +86 -0
- package/dist/esm/src/components/DS/newCards/articles/index.js +12 -0
- package/dist/esm/src/components/DS/newCards/articles/styles.js +92 -0
- package/dist/esm/src/components/DS/newCards/challenge/index.js +82 -0
- package/dist/esm/src/components/DS/newCards/challenge/styles.js +198 -0
- package/dist/esm/src/components/DS/newCards/channels/index.js +10 -0
- package/dist/esm/src/components/DS/newCards/channels/styles.js +46 -0
- package/dist/esm/src/components/DS/newCards/content/index.js +16 -0
- package/dist/esm/src/components/DS/newCards/content/styles.js +103 -0
- package/dist/esm/src/components/DS/newCards/mentoring/index.js +38 -0
- package/dist/esm/src/components/DS/newCards/mentoring/styles.js +37 -0
- package/dist/esm/src/components/DS/newCards/people/index.js +120 -0
- package/dist/esm/src/components/DS/newCards/people/styles.js +75 -0
- package/dist/esm/src/components/DS/newCards/trail/index.js +10 -0
- package/dist/esm/src/components/DS/newCards/trail/styles.js +60 -0
- package/dist/esm/src/components/DS/onboarding-progress-menu/index.js +56 -0
- package/dist/esm/src/components/DS/onboarding-progress-menu/onboardingProgressMenuStyles.js +98 -0
- package/dist/esm/src/components/DS/progressGoalBar/index.js +29 -0
- package/dist/esm/src/components/DS/progressGoalBar/progressGoalBarStyles.js +183 -0
- package/dist/esm/src/components/DS/progressGoalBar/progressTexts.js +17 -0
- package/dist/esm/src/components/DS/progressGoalBar/useProgressGoalBar.js +232 -0
- package/dist/esm/src/components/DS/resourceInfoDrop/index.js +53 -0
- package/dist/esm/src/components/DS/resourceInfoDrop/styles.js +142 -0
- package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/index.js +20 -0
- package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/styles.js +38 -0
- package/dist/esm/src/components/DS/resultFilterTabs/index.js +162 -0
- package/dist/esm/src/components/DS/resultFilterTabs/resultFilterTabsStyles.js +167 -0
- package/dist/esm/src/components/DS/resultFilterTabs/rsuite.min.css.js +6 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.js +65 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/index.js +19 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.js +26 -0
- package/dist/esm/src/components/DS/scroll-container-v2/index.js +29 -0
- package/dist/esm/src/components/DS/scroll-container-v2/scrollContainerStyles.js +51 -0
- package/dist/esm/src/components/DS/scroll-container-v2/useScroll.js +85 -0
- package/dist/esm/src/components/DS/select/Select.js +50 -0
- package/dist/esm/src/components/DS/select/SelectContext.js +6 -0
- package/dist/esm/src/components/DS/select/SelectItem.js +46 -0
- package/dist/esm/src/components/DS/select/index.js +9 -0
- package/dist/esm/src/components/DS/select/styles/StylesSelect.js +107 -0
- package/dist/esm/src/components/DS/steps-progress/index.js +27 -0
- package/dist/esm/src/components/DS/steps-progress/stepsProgressStyles.js +85 -0
- package/dist/esm/src/components/DS/toast/index.js +35 -0
- package/dist/esm/src/components/DS/toast/toast.styles.js +68 -0
- package/dist/esm/src/components/DS/toast-v2/index.js +76 -0
- package/dist/esm/src/components/DS/toast-v2/toast-v2.styles.js +18 -0
- package/dist/esm/src/components/DS/tooltip/index.js +98 -0
- package/dist/esm/src/components/DS/tooltip/styles.js +146 -0
- package/dist/esm/src/components/EBR/buttons-group/index.js +17 -0
- package/dist/esm/src/components/EBR/buttons-group/styles.js +9 -0
- package/dist/esm/src/components/EBR/group-statistics/groupStatisticsStyles.js +56 -0
- package/dist/esm/src/components/EBR/group-statistics/index.js +61 -0
- package/dist/esm/src/components/EBR/objective-step/index.js +8 -0
- package/dist/esm/src/components/EBR/objective-step/objectiveStepStyles.js +36 -0
- package/dist/esm/src/components/EBR/rating/index.js +78 -0
- package/dist/esm/src/components/EBR/rating/ratingStyles.js +25 -0
- package/dist/esm/src/components/EBR/specialist-contact/index.js +11 -0
- package/dist/esm/src/components/EBR/specialist-contact/specialistContactStyles.js +91 -0
- package/dist/esm/src/components/EBR/stepper/stepper.js +8 -0
- package/dist/esm/src/components/EBR/stepper/stepperItem.js +13 -0
- package/dist/esm/src/components/EBR/stepper/styles.js +137 -0
- package/dist/esm/src/components/EBR/trail-list/index.js +57 -0
- package/dist/esm/src/components/EBR/trail-list/trailListStyles.js +51 -0
- package/dist/esm/src/components/FI/ThreadComments/index.js +45 -0
- package/dist/esm/src/components/FI/ThreadComments/threadComments.styles.js +51 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.js +20 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.js +67 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.js +39 -0
- package/dist/esm/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.js +156 -0
- package/dist/esm/src/components/FI/bannerProblemFeed/index.js +161 -0
- package/dist/esm/src/components/FI/bannerSRG/bannerSRGStyle.js +217 -0
- package/dist/esm/src/components/FI/bannerSRG/index.js +15 -0
- package/dist/esm/src/components/FI/feedInteraction/feedInteractionStyles.js +137 -0
- package/dist/esm/src/components/FI/feedInteraction/index.js +88 -0
- package/dist/esm/src/components/FI/feedInteractionV2/feedInteractionStyles.js +52 -0
- package/dist/esm/src/components/FI/feedInteractionV2/index.js +22 -0
- package/dist/esm/src/components/FI/feedInteractionV3/feedInteractionV3Styles.js +49 -0
- package/dist/esm/src/components/FI/feedInteractionV3/index.js +29 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/index.js +118 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-It.utils.js +20 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-ItStyles.js +190 -0
- package/dist/esm/src/components/FI/interactionsModal/InteractionsModalStyles.js +152 -0
- package/dist/esm/src/components/FI/interactionsModal/index.js +43 -0
- package/dist/esm/src/components/FI/modal-invite/index.js +146 -0
- package/dist/esm/src/components/FI/modal-invite/modalInviteStyles.js +115 -0
- package/dist/esm/src/components/FI/notificationCard/index.js +41 -0
- package/dist/esm/src/components/FI/notificationCard/notificationCardStyles.js +84 -0
- package/dist/esm/src/components/FI/notificationPopOver/index.js +59 -0
- package/dist/esm/src/components/FI/notificationPopOver/notificationPopOverStyles.js +112 -0
- package/dist/esm/src/components/FI/postFeed/index.js +53 -0
- package/dist/esm/src/components/FI/postFeed/postFeedStyles.js +181 -0
- package/dist/esm/src/components/FI/searchBox/SearchBoxStyles.js +23 -0
- package/dist/esm/src/components/FI/searchBox/index.js +11 -0
- package/dist/esm/src/components/FI/sessionFilters/index.js +72 -0
- package/dist/esm/src/components/FI/sessionFilters/sessionFiltersStyle.js +80 -0
- package/dist/esm/src/components/FI/smallSRGBanner/frstFundo.png.js +3 -0
- package/dist/esm/src/components/FI/smallSRGBanner/g12.png.js +3 -0
- package/dist/esm/src/components/FI/smallSRGBanner/index.js +12 -0
- package/dist/esm/src/components/FI/smallSRGBanner/smallSRGBannerStyles.js +61 -0
- package/dist/esm/src/components/IJ/ContentCycle/ContentCycleStyles.js +146 -0
- package/dist/esm/src/components/IJ/ContentCycle/index.js +21 -0
- package/dist/esm/src/components/IJ/ListContentCycle/ListContentCycleStyles.js +12 -0
- package/dist/esm/src/components/IJ/ListContentCycle/index.js +11 -0
- package/dist/esm/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.js +94 -0
- package/dist/esm/src/components/IJ/StepLearningCycle/index.js +117 -0
- package/dist/esm/src/components/IJ/favorite/favoriteStyles.js +17 -0
- package/dist/esm/src/components/IJ/favorite/index.js +36 -0
- package/dist/esm/src/components/IJ/learningCycleCard/components/menu/index.js +49 -0
- package/dist/esm/src/components/IJ/learningCycleCard/components/menu/menuStyle.js +28 -0
- package/dist/esm/src/components/IJ/learningCycleCard/index.js +36 -0
- package/dist/esm/src/components/IJ/learningCycleCard/learningCycleCardStyle.js +153 -0
- package/dist/esm/src/components/IJ/listSelector/index.js +39 -0
- package/dist/esm/src/components/IJ/listSelector/listSelectorStyles.js +46 -0
- package/dist/esm/src/components/IJ/pagination/index.js +82 -0
- package/dist/esm/src/components/IJ/pagination/paginationStyles.js +59 -0
- package/dist/esm/src/components/IJ/participantCard/index.js +37 -0
- package/dist/esm/src/components/IJ/participantCard/participantCardStyle.js +273 -0
- package/dist/esm/src/components/IJ/participantCardOld/index.js +58 -0
- package/dist/esm/src/components/IJ/participantCardOld/participantCardStyle.js +293 -0
- package/dist/esm/src/components/IJ/thumbListContent/index.js +28 -0
- package/dist/esm/src/components/IJ/thumbListContent/thumbListContentStyles.js +250 -0
- package/dist/esm/src/components/IncrementarIdeia/icrementarIdeiaStyles.js +115 -0
- package/dist/esm/src/components/IncrementarIdeia/index.js +98 -0
- package/dist/esm/src/components/IncrementarIdeia/useAutosizeTextArea.js +13 -0
- package/dist/esm/src/components/LXP/AccordionList/AccordionList.styles.js +101 -0
- package/dist/esm/src/components/LXP/AccordionList/index.js +26 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrack.js +179 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrackList.js +187 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrackStyle.js +194 -0
- package/dist/esm/src/components/LXP/accordionTrack/contentCourses.js +8 -0
- package/dist/esm/src/components/LXP/accordionTrack/contentCoursesTrails.js +189 -0
- package/dist/esm/src/components/LXP/accordionTrack/vectorDown.js +13 -0
- package/dist/esm/src/components/LXP/accordionTrack/vectorUp.js +13 -0
- package/dist/esm/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.js +83 -0
- package/dist/esm/src/components/LXP/avatarAssociatedChannel/index.js +11 -0
- package/dist/esm/src/components/LXP/avatarChannel/avatarChannelStyles.js +106 -0
- package/dist/esm/src/components/LXP/avatarChannel/index.js +32 -0
- package/dist/esm/src/components/LXP/bannerLxp/bannerLxp.js +150 -0
- package/dist/esm/src/components/LXP/bannerLxp/index.js +124 -0
- package/dist/esm/src/components/LXP/buttonContent/buttonContentStyle.js +63 -0
- package/dist/esm/src/components/LXP/buttonContent/index.js +11 -0
- package/dist/esm/src/components/LXP/calendarLxp/calendar.css.js +6 -0
- package/dist/esm/src/components/LXP/calendarLxp/calendarLxp.module.css.js +7 -0
- package/dist/esm/src/components/LXP/calendarLxp/defaultRanges.js +79 -0
- package/dist/esm/src/components/LXP/calendarLxp/index.js +26 -0
- package/dist/esm/src/components/LXP/colorpicker/colorpickerStyles.js +43 -0
- package/dist/esm/src/components/LXP/colorpicker/index.js +20 -0
- package/dist/esm/src/components/LXP/contentSwitcher/contentSwitcherStyle.js +94 -0
- package/dist/esm/src/components/LXP/contentSwitcher/index.js +10 -0
- package/dist/esm/src/components/LXP/contentThumbnails/contentThumbnailsStyle.js +184 -0
- package/dist/esm/src/components/LXP/contentThumbnails/index.js +77 -0
- package/dist/esm/src/components/LXP/contentThumbnails/vectorDown.js +13 -0
- package/dist/esm/src/components/LXP/contentThumbnails/vectorUp.js +13 -0
- package/dist/esm/src/components/LXP/fileUpload/fileUploadStyles.js +88 -0
- package/dist/esm/src/components/LXP/fileUpload/index.js +21 -0
- package/dist/esm/src/components/LXP/headerContent/headerContent.js +218 -0
- package/dist/esm/src/components/LXP/headerContent/index.js +45 -0
- package/dist/esm/src/components/LXP/login/index.js +157 -0
- package/dist/esm/src/components/LXP/login/loginStyle.js +271 -0
- package/dist/esm/src/components/LXP/manageLerningCicles/index.js +40 -0
- package/dist/esm/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.js +84 -0
- package/dist/esm/src/components/LXP/modalNewFeatures/ModalNewFeatures.style.js +204 -0
- package/dist/esm/src/components/LXP/modalNewFeatures/index.js +41 -0
- package/dist/esm/src/components/LXP/participantThumbnails/index.js +20 -0
- package/dist/esm/src/components/LXP/participantThumbnails/participantThumbnails.js +94 -0
- package/dist/esm/src/components/LXP/participantThumbnailsList/index.js +35 -0
- package/dist/esm/src/components/LXP/popOver/index.js +68 -0
- package/dist/esm/src/components/LXP/popOver/popOverStyle.js +130 -0
- package/dist/esm/src/components/LXP/popOverLXP-antigo/index.js +23 -0
- package/dist/esm/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.js +123 -0
- package/dist/esm/src/components/LXP/progressBar/index.js +11 -0
- package/dist/esm/src/components/LXP/progressBar/progressStyle.js +32 -0
- package/dist/esm/src/components/LXP/searchResults/index.js +15 -0
- package/dist/esm/src/components/LXP/searchResults/searchResultsStyles.js +63 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXP.js +128 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXPContext.js +6 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXPItem.js +40 -0
- package/dist/esm/src/components/LXP/selectLXP/index.js +9 -0
- package/dist/esm/src/components/LXP/star-metric/index.js +13 -0
- package/dist/esm/src/components/LXP/star-metric/starMetricStyles.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/headerVectorElipses.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/loadingThumbnails.js +9 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnails.js +119 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnailsDraggable.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnailsStyle.js +188 -0
- package/dist/esm/src/components/LXP/thumbnails/vectorCross.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/vectorEllipse.js +13 -0
- package/dist/esm/src/components/LXP/tooltip/index.js +11 -0
- package/dist/esm/src/components/LXP/tooltip/tooltipStyle.js +131 -0
- package/dist/esm/src/components/LXP/video/index.js +10 -0
- package/dist/esm/src/components/LogoFRST/index.js +13 -0
- package/dist/esm/src/components/LogoFRST/logoFRST.module.css.js +7 -0
- package/dist/esm/src/components/ModalConfirme/index.js +10 -0
- package/dist/esm/src/components/ModalConfirme/styles.js +51 -0
- package/dist/esm/src/components/accordion-tabs/accordionTabsStyles.js +100 -0
- package/dist/esm/src/components/accordion-tabs/index.js +34 -0
- package/dist/esm/src/components/actioExperience/actioExperience.styles.js +163 -0
- package/dist/esm/src/components/actioExperience/icons.js +19 -0
- package/dist/esm/src/components/actioExperience/index.js +20 -0
- package/dist/esm/src/components/audio-player/audioPlayerStyles.js +329 -0
- package/dist/esm/src/components/audio-player/index.js +110 -0
- package/dist/esm/src/components/avatar/avatarStyles.js +24 -0
- package/dist/esm/src/components/avatar/index.js +17 -0
- package/dist/esm/src/components/brainstorming-votar/index.js +10 -0
- package/dist/esm/src/components/brainstorming-votar/votarStyles.js +85 -0
- package/dist/esm/src/components/buttons/buttonStyle.js +389 -0
- package/dist/esm/src/components/buttons/index.js +31 -0
- package/dist/esm/src/components/calendar/calendarStyle.js +185 -0
- package/dist/esm/src/components/calendar/index.js +60 -0
- package/dist/esm/src/components/card-trail/cardTrailStyle.js +29 -0
- package/dist/esm/src/components/card-trail/index.js +50 -0
- package/dist/esm/src/components/card-trail/moduleStyle.js +92 -0
- package/dist/esm/src/components/card-trail-carousel/index.js +15 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/index.js +16 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/vector.js +13 -0
- package/dist/esm/src/components/cardLT/BannerProblem/BannerProblem.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/BannerProblem/index.js +312 -0
- package/dist/esm/src/components/cardLT/BannerProblem/styles.js +30 -0
- package/dist/esm/src/components/cardLT/MessageBox/MessageBox.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/errorIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/successIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/warningIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/index.js +59 -0
- package/dist/esm/src/components/cardLT/Rating/Rating.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/Rating/index.js +26 -0
- package/dist/esm/src/components/cardLT/Rating/starIcon.js +13 -0
- package/dist/esm/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/RatingCurtidas/index.js +15 -0
- package/dist/esm/src/components/cardLT/RocketButton/RocketButtonIcon.js +13 -0
- package/dist/esm/src/components/cardLT/RocketButton/index.js +26 -0
- package/dist/esm/src/components/cardLT/StepsMission/Planet.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/StepsMission/StepMission.js +108 -0
- package/dist/esm/src/components/cardLT/StepsMission/Steps.js +68 -0
- package/dist/esm/src/components/cardLT/TextIcon/TextIcon.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/TextIcon/index.js +14 -0
- package/dist/esm/src/components/cards/base/index.js +8 -0
- package/dist/esm/src/components/cards/cardDefinicaoFase/cardDefinicaoFase.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardDefinicaoFase/index.js +30 -0
- package/dist/esm/src/components/cards/cardFaseDesafios/index.js +30 -0
- package/dist/esm/src/components/cards/cardFaseDesafios/styles.js +160 -0
- package/dist/esm/src/components/cards/cardProblem/cardProblem.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardProblem/index.js +144 -0
- package/dist/esm/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardProblemGestor/index.js +26 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/Aprendizado.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/Conquista.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/cardResultConquista.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardResultConquista/index.js +40 -0
- package/dist/esm/src/components/cards/user/index.js +85 -0
- package/dist/esm/src/components/challenge-cards/challengeCardStyles.js +246 -0
- package/dist/esm/src/components/challenge-cards/dropdownMenuStyle.js +85 -0
- package/dist/esm/src/components/challenge-cards/index.js +174 -0
- package/dist/esm/src/components/checkmark/checkmarkStyles.js +24 -0
- package/dist/esm/src/components/checkmark/index.js +32 -0
- package/dist/esm/src/components/comment-post/commentPostStyles.js +23 -0
- package/dist/esm/src/components/comment-post/index.js +16 -0
- package/dist/esm/src/components/commentary-box/commentaryBox.utils.js +24 -0
- package/dist/esm/src/components/commentary-box/commentaryBoxStyles.js +240 -0
- package/dist/esm/src/components/commentary-box/index.js +104 -0
- package/dist/esm/src/components/commentaryBoxV2/CommentaryBoxV2.styles.js +282 -0
- package/dist/esm/src/components/commentaryBoxV2/index.js +157 -0
- package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.js +45 -0
- package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.js +54 -0
- package/dist/esm/src/components/conquistaCarrossel/index.js +26 -0
- package/dist/esm/src/components/counter-like/counterLikeStyles.js +26 -0
- package/dist/esm/src/components/counter-like/index.js +28 -0
- package/dist/esm/src/components/criar-ideia/criarIdeiaStyles.js +144 -0
- package/dist/esm/src/components/criar-ideia/index.js +58 -0
- package/dist/esm/src/components/criar-ideia/useAutosizeTextArea.js +13 -0
- package/dist/esm/src/components/demo/stepController/StepControllerStyle.js +47 -0
- package/dist/esm/src/components/demo/stepController/index.js +12 -0
- package/dist/esm/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.js +162 -0
- package/dist/esm/src/components/dropdown-profile-menu/index.js +84 -0
- package/dist/esm/src/components/emoji-picker/emojiPickerStyles.js +61 -0
- package/dist/esm/src/components/emoji-picker/index.js +87 -0
- package/dist/esm/src/components/exclusive-class/exclusiveClassStyles.js +32 -0
- package/dist/esm/src/components/exclusive-class/index.js +13 -0
- package/dist/esm/src/components/expand-button/expandButtonStyle.js +47 -0
- package/dist/esm/src/components/expand-button/index.js +23 -0
- package/dist/esm/src/components/field-search-dropdown/fieldSearchStyle.js +139 -0
- package/dist/esm/src/components/field-search-dropdown/index.js +105 -0
- package/dist/esm/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.js +7 -0
- package/dist/esm/src/components/filter-accordion-checkbox/index.js +135 -0
- package/dist/esm/src/components/filtro-galeria-desafio/index.js +59 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/MultiSelectDemo.js +245 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrowCarrosselDown.png.js +3 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrow_carrossel_down.png.js +3 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/primeflex.css.js +6 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/primereact.css.js +6 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/theme.css.js +6 -0
- package/dist/esm/src/components/form-elements/checkbox/checkboxStyle.js +36 -0
- package/dist/esm/src/components/form-elements/checkbox/index.js +16 -0
- package/dist/esm/src/components/form-elements/helperTextBox/helperTextBox.js +9 -0
- package/dist/esm/src/components/form-elements/helperTextBox/styles.js +20 -0
- package/dist/esm/src/components/form-elements/table/index.js +37 -0
- package/dist/esm/src/components/form-elements/table/parts/TableBody/index.js +22 -0
- package/dist/esm/src/components/form-elements/table/parts/TableBody/tableStyle.js +50 -0
- package/dist/esm/src/components/form-elements/table/parts/TableHead/index.js +11 -0
- package/dist/esm/src/components/form-elements/table/parts/TableHead/tableStyle.js +24 -0
- package/dist/esm/src/components/form-elements/table/tableStyle.js +49 -0
- package/dist/esm/src/components/form-elements/table-actions/index.js +82 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.js +12 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.js +23 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.js +28 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/index.js +8 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.js +57 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/index.js +22 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/index.js +8 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.js +58 -0
- package/dist/esm/src/components/form-elements/table-actions/tableActionsStyle.js +110 -0
- package/dist/esm/src/components/form-elements/textarea/index.js +8 -0
- package/dist/esm/src/components/form-elements/textfield/index.js +42 -0
- package/dist/esm/src/components/form-elements/textfield/textFieldStyle.js +169 -0
- package/dist/esm/src/components/global-menu/globalMenuStyles.js +385 -0
- package/dist/esm/src/components/global-menu/index.js +181 -0
- package/dist/esm/src/components/header-improvement-idea/headerImprovementIdeaStyles.js +18 -0
- package/dist/esm/src/components/header-improvement-idea/index.js +24 -0
- package/dist/esm/src/components/header-user/headerUserStyles.js +50 -0
- package/dist/esm/src/components/header-user/index.js +13 -0
- package/dist/esm/src/components/headerChallenge/headerChallengeStyle.js +104 -0
- package/dist/esm/src/components/headerChallenge/index.js +9 -0
- package/dist/esm/src/components/hypothesisComponent/hypothesisComponent.style.js +220 -0
- package/dist/esm/src/components/hypothesisComponent/index.js +145 -0
- package/dist/esm/src/components/hypothesisComponent/types.js +8 -0
- package/dist/esm/src/components/input-comment/index.js +69 -0
- package/dist/esm/src/components/input-comment/inputCommentStyles.js +142 -0
- package/dist/esm/src/components/input-comment/mentions.js +18 -0
- package/dist/esm/src/components/input-comment/mentionsStyle.js +126 -0
- package/dist/esm/src/components/input-comment/useInputHook.js +375 -0
- package/dist/esm/src/components/input-comment/useMentions.js +39 -0
- package/dist/esm/src/components/input-comment-v2/index.js +81 -0
- package/dist/esm/src/components/input-comment-v2/inputCommentStyles.js +101 -0
- package/dist/esm/src/components/item-lateral-menu/index.js +34 -0
- package/dist/esm/src/components/item-lateral-menu/itemLateralMenuStyles.js +110 -0
- package/dist/esm/src/components/item-menu-global/index.js +11 -0
- package/dist/esm/src/components/item-menu-global/itemMenuGlobalStyles.js +74 -0
- package/dist/esm/src/components/lateral-menu/index.js +21 -0
- package/dist/esm/src/components/lateral-menu/lateralMenuStyles.js +65 -0
- package/dist/esm/src/components/learning-steps/index.js +23 -0
- package/dist/esm/src/components/learning-steps/learningStepsStyles.js +39 -0
- package/dist/esm/src/components/menu-more/index.js +31 -0
- package/dist/esm/src/components/menu-more/menuMoreStyles.js +136 -0
- package/dist/esm/src/components/mini-button/index.js +15 -0
- package/dist/esm/src/components/mini-button/miniButtonStyle.js +108 -0
- package/dist/esm/src/components/modal/modalBase/index.js +31 -0
- package/dist/esm/src/components/modal/modalBase/modalBase.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalLXP/Modal.js +24 -0
- package/dist/esm/src/components/modal/modalLXP/modal.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalLearningTech/index.js +17 -0
- package/dist/esm/src/components/modal/modalLearningTech/modalLearningTech.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalShowUsers/index.js +11 -0
- package/dist/esm/src/components/modal/modalShowUsers/styles.js +122 -0
- package/dist/esm/src/components/modal/modalVideo/index.js +56 -0
- package/dist/esm/src/components/modal/modalVideo/modalVideo.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalWelcome/index.js +43 -0
- package/dist/esm/src/components/modal/modalWelcome/styles.js +38 -0
- package/dist/esm/src/components/modal/statusProblema/index.js +33 -0
- package/dist/esm/src/components/modal/statusProblema/problemaFRST.png.js +3 -0
- package/dist/esm/src/components/modal/statusProblema/statusProblema.module.css.js +7 -0
- package/dist/esm/src/components/quantidadeDesafios/index.js +73 -0
- package/dist/esm/src/components/quantidadeDesafios/quantidadeDesafios.js +95 -0
- package/dist/esm/src/components/quantidadeDesafios/stats.js +8 -0
- package/dist/esm/src/components/quantidadeDesafios/statsWithResult.js +8 -0
- package/dist/esm/src/components/scroll-container/index.js +90 -0
- package/dist/esm/src/components/scroll-container/scrollContainer.utils.js +7 -0
- package/dist/esm/src/components/scroll-container/scrollContainerStyles.js +85 -0
- package/dist/esm/src/components/search-field/index.js +19 -0
- package/dist/esm/src/components/search-field/searchFieldStyles.js +87 -0
- package/dist/esm/src/components/show-more/index.js +20 -0
- package/dist/esm/src/components/show-more/showMoreStyles.js +26 -0
- package/dist/esm/src/components/speech-bubble/index.js +11 -0
- package/dist/esm/src/components/speech-bubble/speechBubbleStyles.js +100 -0
- package/dist/esm/src/components/step-card/index.js +13 -0
- package/dist/esm/src/components/step-card/stepCardStyles.js +90 -0
- package/dist/esm/src/components/tag/index.js +22 -0
- package/dist/esm/src/components/totalizer-card/index.js +16 -0
- package/dist/esm/src/components/totalizer-card/totalizerCardStyles.js +84 -0
- package/dist/esm/src/components/users-challenge/index.js +13 -0
- package/dist/esm/src/components/users-challenge/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-feed/index.js +34 -0
- package/dist/esm/src/components/users-challenge/variant-feed/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-form/index.js +23 -0
- package/dist/esm/src/components/users-challenge/variant-form/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-lxp/index.js +21 -0
- package/dist/esm/src/components/users-challenge/variant-lxp/styles.js +122 -0
- package/dist/esm/src/components/users-challenge/variant-vitrine/index.js +34 -0
- package/dist/esm/src/components/users-challenge/variant-vitrine/styles.js +123 -0
- package/dist/esm/src/shared/global.css.js +6 -0
- package/dist/esm/src/shared/globalComponentsStyle.js +83 -0
- package/dist/esm/src/shared/icons.js +531 -0
- package/dist/esm/src/theme/index.js +7 -0
- package/dist/esm/src/theme/tokens.js +235 -0
- package/dist/esm/src/utilityFunctions/abbreviateMiddleSurnames.js +23 -0
- package/dist/esm/src/utilityFunctions/buildStringWithHTML.js +10 -0
- package/dist/esm/src/utilityFunctions/createUUID.js +11 -0
- package/dist/index.js +15175 -15175
- package/dist/src/components/mini-button/index.d.ts +1 -1
- package/dist/src/components/mini-button/index.d.ts.map +1 -1
- package/package.json +120 -116
- package/public/customIcons/CheckIcon.tsx +16 -16
- package/public/customIcons/CircledAlert.tsx +21 -21
- package/public/customIcons/CircledCheck.tsx +20 -20
- package/public/customIcons/CloseIcon.tsx +23 -23
- package/public/customIcons/DefaultProfile.tsx +15 -15
- package/public/customIcons/ExcludeVoteIcon.tsx +40 -40
- package/public/customIcons/FrstLogoChallengeIcon.tsx +20 -20
- package/public/customIcons/FrstLogoIcon.tsx +8 -8
- package/public/customIcons/LanguageIcon.tsx +24 -24
- package/public/customIcons/SmallTrash.tsx +20 -20
- package/public/customIcons/SwitchVoteIcon.tsx +22 -22
- package/public/customIcons/TagAlert.tsx +10 -10
- package/public/customIcons/VoteCurrentIcon.tsx +22 -22
- package/public/customIcons/VoteIcon.tsx +41 -41
- package/public/customIcons/WarningIcon.tsx +21 -21
- package/public/customIcons/index.ts +15 -15
- package/public/customIcons/newVoteIcon.tsx +36 -36
- package/public/index.html +43 -43
- package/public/locales/en-US.json +33 -33
- package/public/locales/es.json +34 -34
- package/public/locales/pt-BR.json +41 -41
- package/public/manifest.json +15 -15
- package/public/robots.txt +3 -3
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { useState, useEffect, useLayoutEffect } from 'react';
|
|
3
|
+
import TextIcon from '../TextIcon/index.js';
|
|
4
|
+
import Rating from '../Rating/index.js';
|
|
5
|
+
import RatingCurtidas from '../RatingCurtidas/index.js';
|
|
6
|
+
import Select from 'react-select';
|
|
7
|
+
import Tooltip from '../../DS/tooltip/index.js';
|
|
8
|
+
import StepsProgress from '../../DS/steps-progress/index.js';
|
|
9
|
+
import { SawBadgeIcon, EditIcon, Brain, CompanyIcon, Mail, WithoutTrail, WithTrail, GoalInviteIcon, GoalViewsIcon } from '../../../shared/icons.js';
|
|
10
|
+
import Tag from '../../tag/index.js';
|
|
11
|
+
import AvatarWithInfo from '../AvatarWithInfo/index.js';
|
|
12
|
+
import Button from '../../buttons/index.js';
|
|
13
|
+
import style from './BannerProblem.module.css.js';
|
|
14
|
+
import { SpanHeaderTag, Steps } from './styles.js';
|
|
15
|
+
|
|
16
|
+
function BannerProblem(props) {
|
|
17
|
+
const [Idioma, setIdioma] = useState(props.missionIdioma ? props.missionIdioma : 'pt-BR');
|
|
18
|
+
const [Edit, setEdit] = useState(false);
|
|
19
|
+
const [tagListShow, setTagListShow] = useState(props.tagData ? props.tagData : []);
|
|
20
|
+
/// States para controle de Edição
|
|
21
|
+
const [TrilhaId, setTrilhaId] = useState(props.trilhaId ? props.trilhaId : null);
|
|
22
|
+
const [TrilhaDescricaoSelecionada, setTrilhaDescricaoSelecionada] = useState(props.trilha ? props.trilha : '');
|
|
23
|
+
const [Tag1, setTag1] = useState(props.tags && props.tags.length >= 1 ? props.tags[0] : '');
|
|
24
|
+
const [Tag2, setTag2] = useState(props.tags && props.tags.length >= 2 ? props.tags[1] : '');
|
|
25
|
+
const [Tag3, setTag3] = useState(props.tags && props.tags.length >= 3 ? props.tags[2] : '');
|
|
26
|
+
const [TituloProblema, setTituloProblema] = useState(props.problema ? props.problema : '');
|
|
27
|
+
/// States para controle de elementos do Banner
|
|
28
|
+
const [TrilhaBanner, setTrilhaBanner] = useState(props.trilha ? props.trilha : '');
|
|
29
|
+
const [Tags, setTags] = useState(props.tags ? props.tags : []);
|
|
30
|
+
// const [selectedTags, setSelectedTags] = useState([{label: '', value:''},{label: '', value:''},{label: '', value:''}]);
|
|
31
|
+
useState([
|
|
32
|
+
props.tags && props.tags.length >= 1 ? props.tags[0] : '',
|
|
33
|
+
props.tags && props.tags.length >= 2 ? props.tags[1] : '',
|
|
34
|
+
props.tags && props.tags.length >= 3 ? props.tags[2] : ''
|
|
35
|
+
]);
|
|
36
|
+
const customStyles = {
|
|
37
|
+
option: (styles, { isFocused, isSelected, isDisabled }) => ({
|
|
38
|
+
...styles,
|
|
39
|
+
background: isFocused
|
|
40
|
+
? ' #FFC6B7'
|
|
41
|
+
: isSelected
|
|
42
|
+
? '#FF4D0D'
|
|
43
|
+
: undefined,
|
|
44
|
+
color: isFocused ? '#000'
|
|
45
|
+
: isSelected ? '#fff'
|
|
46
|
+
: isDisabled ? '#ccc'
|
|
47
|
+
: undefined,
|
|
48
|
+
zIndex: 1
|
|
49
|
+
}),
|
|
50
|
+
menu: base => ({
|
|
51
|
+
...base,
|
|
52
|
+
zIndex: 100
|
|
53
|
+
}),
|
|
54
|
+
control: (styles) => ({
|
|
55
|
+
...styles,
|
|
56
|
+
marginTop: 12
|
|
57
|
+
}),
|
|
58
|
+
};
|
|
59
|
+
useEffect(() => {
|
|
60
|
+
setTrilhaId(props.trilhaId ? props.trilhaId : null);
|
|
61
|
+
setTrilhaDescricaoSelecionada(props.trilha ? props.trilha : '');
|
|
62
|
+
setTag1(props.tags && props.tags.length >= 1 ? props.tags[0] : '');
|
|
63
|
+
setTag2(props.tags && props.tags.length >= 2 ? props.tags[1] : '');
|
|
64
|
+
setTag3(props.tags && props.tags.length >= 3 ? props.tags[2] : '');
|
|
65
|
+
setTituloProblema(props.problema ? props.problema : '');
|
|
66
|
+
/// States para controle de elementos do Banner
|
|
67
|
+
setTrilhaBanner(props.trilha ? props.trilha : '');
|
|
68
|
+
setTags(props.tags ? props.tags : []);
|
|
69
|
+
}, [props]);
|
|
70
|
+
useEffect(() => {
|
|
71
|
+
setIdioma(props.missionIdioma ? props.missionIdioma : 'pt-BR');
|
|
72
|
+
}, [props.missionIdioma]);
|
|
73
|
+
const handleEdit = () => {
|
|
74
|
+
if (Edit === true) {
|
|
75
|
+
let titleInEditing = TituloProblema;
|
|
76
|
+
(document.getElementById("idEdit-fieldTitleProblem")) &&
|
|
77
|
+
(titleInEditing = document.getElementById("idEdit-fieldTitleProblem").innerText);
|
|
78
|
+
setTituloProblema(titleInEditing);
|
|
79
|
+
setTrilhaBanner(TrilhaDescricaoSelecionada);
|
|
80
|
+
setTags([Tag1, Tag2, Tag3]);
|
|
81
|
+
console.log(`Titulo: ${TituloProblema}`);
|
|
82
|
+
props.onClickSave([titleInEditing, TrilhaDescricaoSelecionada, [Tag1, Tag2, Tag3]]);
|
|
83
|
+
}
|
|
84
|
+
setEdit(!Edit);
|
|
85
|
+
};
|
|
86
|
+
useEffect(() => {
|
|
87
|
+
setTagListShow(props.tagData ? filterTagsSelected(props.tagData, [Tag1, Tag2, Tag3]) : []);
|
|
88
|
+
}, [Tag1, Tag2, Tag3]);
|
|
89
|
+
// Função para pegar o width da tela
|
|
90
|
+
const [size, setSize] = useState([0, 0]);
|
|
91
|
+
useLayoutEffect(() => {
|
|
92
|
+
function updateSize() {
|
|
93
|
+
setSize([window.innerWidth, window.innerHeight]);
|
|
94
|
+
}
|
|
95
|
+
window.addEventListener('resize', updateSize);
|
|
96
|
+
updateSize();
|
|
97
|
+
return () => window.removeEventListener('resize', updateSize);
|
|
98
|
+
}, []);
|
|
99
|
+
const showChallengeTitle = () => {
|
|
100
|
+
let title = props.textTitleProblem ? props.textTitleProblem : 'Desafio';
|
|
101
|
+
title = props.isVerified ? 'Desafio verificado' : title;
|
|
102
|
+
return title;
|
|
103
|
+
};
|
|
104
|
+
const [selectedStep, setSelectedStep] = useState(props?.stepActive);
|
|
105
|
+
const [definedSteps, setDefinedSteps] = useState(getStepsChallenge(Idioma, props?.stepProblem, setSelectedStep, props?.onSelectedStep) || []);
|
|
106
|
+
useEffect(() => {
|
|
107
|
+
setDefinedSteps(getStepsChallenge(Idioma, props?.stepProblem, setSelectedStep, props?.onSelectedStep));
|
|
108
|
+
}, [Idioma, props.stepProblem, props.onSelectedStep]);
|
|
109
|
+
useEffect(() => {
|
|
110
|
+
setSelectedStep(props.stepActive);
|
|
111
|
+
}, [props.stepActive]);
|
|
112
|
+
const MOBILEWIDTH = 650;
|
|
113
|
+
return (jsx(Fragment, { children: jsxs("div", { className: style.container, style: { ...props.style }, children: [props.topHeaderTagText && (jsx(SpanHeaderTag, { background: props.topHeaderTagBgColor, color: props.topHeaderTagColor, children: props.topHeaderTagText })), jsxs("div", { style: {
|
|
114
|
+
width: '100%',
|
|
115
|
+
display: 'flex',
|
|
116
|
+
justifyContent: 'space-between',
|
|
117
|
+
flexDirection: 'row',
|
|
118
|
+
alignItems: 'center'
|
|
119
|
+
}, children: [jsxs("span", { className: style.titleProblem, children: [showChallengeTitle(), props.isVerified && (jsx(Tooltip, { direction: "bottom", content: props.verifiedTooltipContent, trigger: "hover", width: "361px", height: "54px", style: { top: '10px', textAlign: 'center' }, children: jsx(SawBadgeIcon, {}) }))] }), props.isEditable && (jsx(Button, { label: Edit
|
|
120
|
+
? props.textButtonLinkEditSave
|
|
121
|
+
? props.textButtonLinkEditSave
|
|
122
|
+
: 'Salvar Alterações'
|
|
123
|
+
: props.textButtonLinkEdit
|
|
124
|
+
? props.textButtonLinkEdit
|
|
125
|
+
: 'Editar', variant: "link", handleClick: () => handleEdit(), startIcon: jsx(EditIcon, {}) }))] }), Edit ? (jsx("div", { style: {
|
|
126
|
+
marginTop: '8px',
|
|
127
|
+
marginBottom: '8px',
|
|
128
|
+
backgroundColor: 'rgb(242, 242, 242)',
|
|
129
|
+
border: '1px solid rgb(189, 189, 189)',
|
|
130
|
+
borderRadius: '8px',
|
|
131
|
+
padding: '24px 16px',
|
|
132
|
+
width: '100%'
|
|
133
|
+
}, children: jsx("div", { id: 'idEdit-fieldTitleProblem', "data-gramm": "false", contentEditable: "true", role: "textbox", "aria-multiline": "true", suppressContentEditableWarning: true, style: {
|
|
134
|
+
fontStyle: 'normal',
|
|
135
|
+
fontWeight: '600',
|
|
136
|
+
fontSize: '32px',
|
|
137
|
+
textAlign: 'left',
|
|
138
|
+
display: 'flex',
|
|
139
|
+
width: '100%',
|
|
140
|
+
color: '#FF4D0D',
|
|
141
|
+
backgroundColor: 'rgb(242, 242, 242)',
|
|
142
|
+
border: 'none',
|
|
143
|
+
wordBreak: 'break-word'
|
|
144
|
+
}, children: TituloProblema }) })) : (jsx("h1", { className: style.description, children: TituloProblema })), jsx("div", { style: {
|
|
145
|
+
display: 'flex',
|
|
146
|
+
justifyContent: 'space-between',
|
|
147
|
+
position: 'relative',
|
|
148
|
+
width: '100%',
|
|
149
|
+
borderBottom: '1px solid #CCCCCC'
|
|
150
|
+
}, children: jsxs("div", { style: { display: 'inline-flex', width: '100%' }, children: [jsxs("div", { style: { width: '100%', maxWidth: 600 }, children: [jsxs("div", { style: { display: 'flex', flexDirection: 'column', width: 'fit-content', paddingTop: '16px' }, children: [jsx("span", { className: style.created, children: props.dataCriacao }), props.onClickUserInfo ? (jsx(Tooltip, { direction: "bottom", content: props.textVisitProfile ? props.textVisitProfile : 'Visitar perfil', trigger: "hover", width: "101px", height: "32px", style: { top: '10px', textAlign: 'center' }, children: jsx(AvatarWithInfo, { cargo: props.cargo, nomeCompleto: props.nome, fotoAvatar: props.avatar, style: { marginBottom: 8, marginTop: 24, cursor: props.onClickUserInfo ? 'pointer' : 'auto' }, onClick: () => (props.onClickUserInfo ? props.onClickUserInfo() : {}) }) })) : (jsx(AvatarWithInfo, { cargo: props.cargo, nomeCompleto: props.nome, fotoAvatar: props.avatar, style: { marginBottom: 8, marginTop: 24 } }))] }), jsx(TextIcon, { style: { margin: '10px' }, description: props.area, svg: jsx(Brain, {}) }), props.company && jsx(TextIcon, { style: { width: '80%', margin: '10px' }, flexStart: true, description: props.company, svg: jsx(CompanyIcon, {}) }), jsx(TextIcon, { style: { margin: '10px' }, description: adapterEmail(props.email, size[0]), svg: jsx(Mail, {}) }), Edit && props.isVisibleEditTrail ? (jsx(Fragment, { children: jsxs("div", { style: {
|
|
151
|
+
marginTop: 12,
|
|
152
|
+
backgroundColor: '#F2F2F2',
|
|
153
|
+
borderWidth: 1,
|
|
154
|
+
borderRadius: 4,
|
|
155
|
+
padding: '24px 16px 24px 16px',
|
|
156
|
+
border: '1px solid #BDBDBD'
|
|
157
|
+
}, children: [jsx("h3", { style: { marginBottom: 12, textAlign: 'left', width: '100%', fontSize: 16 }, children: props.textTrailLabel
|
|
158
|
+
? props.textTrailLabel
|
|
159
|
+
: 'Deseja vincular este novo problema a uma Trilha de Aprendizagem?' }), jsx(Select, { id: 'select', styles: customStyles, options: props.trilhaData ? props.trilhaData : [], value: props.trilhaData.filter(function (temp) {
|
|
160
|
+
return temp.value === TrilhaId;
|
|
161
|
+
}), placeholder: props.placeholderSelectTrail ? props.placeholderSelectTrail : 'Selecione uma trilha', onChange: (e) => {
|
|
162
|
+
setTrilhaId(e.value);
|
|
163
|
+
setTrilhaDescricaoSelecionada(e.label);
|
|
164
|
+
} })] }) })) : (jsx(Fragment, { children: TrilhaBanner === '' ? (jsx(TextIcon, { style: { margin: '10px' }, description: props.textIconDescription ? props.textIconDescription : 'Ainda não está vinculado a uma trilha', svg: jsx(WithoutTrail, {}) })) : (jsx(TextIcon, { style: { margin: '10px' }, description: TrilhaBanner, svg: jsx(WithTrail, {}) })) })), jsx("div", { style: { marginTop: 16, marginBottom: 26, maxWidth: !Edit ? '400px' : '100%' }, children: Edit && props.isVisibleEditTags ? (jsx(Fragment, { children: jsxs("div", { className: style.contentInput, children: [jsx("h3", { style: { marginBottom: 12, textAlign: 'left', width: '100%', fontSize: 16 }, children: props.textContentInput
|
|
165
|
+
? props.textContentInput
|
|
166
|
+
: 'Busque e selecione até três palavras-chave:' }), jsx(Select, { id: 'select', styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) {
|
|
167
|
+
return temp.value === Tag1;
|
|
168
|
+
}), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: (e) => {
|
|
169
|
+
setTag1(e.value);
|
|
170
|
+
} }), jsx(Select, { id: 'select', styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) {
|
|
171
|
+
return temp.value === Tag2;
|
|
172
|
+
}), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: (e) => {
|
|
173
|
+
setTag2(e.value);
|
|
174
|
+
} }), jsx(Select, { id: 'select', styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) {
|
|
175
|
+
return temp.value === Tag3;
|
|
176
|
+
}), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: (e) => {
|
|
177
|
+
setTag3(e.value);
|
|
178
|
+
} })] }) })) : (jsx(Fragment, { children: Tags?.map((item, key) => item && (jsx(Tag, { title: item, style: { color: '#000 !important', marginRight: 8, marginTop: 8 }, color: '#E4E1FF', selected: false, inverted: false }, key))) })) }), size[0] <= MOBILEWIDTH || Edit ? (jsxs("div", { style: {
|
|
179
|
+
display: 'flex',
|
|
180
|
+
flexDirection: 'row',
|
|
181
|
+
justifyContent: 'flex-start',
|
|
182
|
+
alignItems: 'center',
|
|
183
|
+
flexWrap: 'wrap',
|
|
184
|
+
width: '100%'
|
|
185
|
+
}, children: [jsx(Rating, { titulo: props.ratingTitleImpact ? props.ratingTitleImpact : 'Impacto', descricaoAvaliacao: props.descriptionImpacto, qtdeAvaliacao: props.qtdeAvaliacao, nota: props.notaAvaliacao, tipoVisualizacao: 1, style: { margin: 0 }, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), jsx(Rating, { titulo: props.ratingTitleRelevance ? props.ratingTitleRelevance : 'Relevância', descricaoAvaliacao: props.descriptionRelevancia, qtdeAvaliacao: props.qtdeRelevancia, nota: props.notaRelevancia, tipoVisualizacao: 1, style: { margin: 0 }, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), props.curtidas && (jsx(RatingCurtidas, { titulo: props.ratingTitleLikes ? props.ratingTitleLikes : 'Curtidas', qtdeCurtidas: props.curtidas, tipoBotao: 2, style: { margin: 0 }, descricaoCurtida: props.ratingLikesDescription ? props.ratingLikesDescription : 'pessoas' }))] })) : null, jsxs("div", { style: { display: 'flex', flexDirection: 'row', gap: '32px' }, children: [props.showButtonInvite && (jsx(Button, { variant: "link", label: props.textGoalInviteBtn, startIcon: jsx("div", { style: { width: '26px', marginBottom: '-2px', marginRight: '8px' }, children: jsx(GoalInviteIcon, { width: "26px", height: "26px" }) }), handleClick: props.onClickMessage, style: { paddingTop: '0px', paddingBottom: '16px' } })), props.showButtonViews && (jsx(Button, { variant: "link", label: props.textGoalViewsBtn, startIcon: jsx("div", { style: { width: '20px', marginBottom: '-1px', marginRight: '8px' }, children: jsx(GoalViewsIcon, { width: "20px" }) }), handleClick: props.onClickViewsBtn, style: { paddingTop: '0px', paddingBottom: '16px' } }))] })] }), size[0] > MOBILEWIDTH && Edit === false ? (jsxs("div", { style: { position: 'absolute', right: 0, flexFlow: 'column', justifyContent: 'flex-end', width: '20%' }, id: "avaliations-banner-problem", children: [jsx(Rating, { titulo: props.ratingTitleImpact ? props.ratingTitleImpact : 'Impacto', descricaoAvaliacao: props.descriptionImpacto, qtdeAvaliacao: props.qtdeAvaliacao, nota: props.notaAvaliacao, tipoVisualizacao: 1, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), jsx(Rating, { titulo: props.ratingTitleRelevance ? props.ratingTitleRelevance : 'Relevância', descricaoAvaliacao: props.descriptionRelevancia, qtdeAvaliacao: props.qtdeRelevancia, nota: props.notaRelevancia, tipoVisualizacao: 1, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), props.curtidas && (jsx(RatingCurtidas, { titulo: props.ratingTitleLikes ? props.ratingTitleLikes : 'Curtidas', qtdeCurtidas: props.curtidas, tipoBotao: 2, descricaoCurtida: props.ratingLikesDescription ? props.ratingLikesDescription : 'pessoas' }))] })) : null] }) }), jsxs("div", { style: { width: '100%', display: 'flex', flexDirection: 'column' }, children: [jsx("div", { style: { marginTop: '20px' }, children: jsx(ButtonsProcessSteps, { idioma: Idioma, definedSteps: props?.stepProblem, selectedStep: selectedStep, setSelectedStep: (e) => {
|
|
186
|
+
setSelectedStep(e);
|
|
187
|
+
props?.onSelectedStep(e);
|
|
188
|
+
}, hasContinueProps: props?.hasContinueButton, onClickContinue: () => props.onClickContinue() }) }), jsx(Steps, { children: jsx(StepsProgress, { definedSteps: definedSteps, stepSelected: selectedStep }) })] }), jsx("div", { style: {
|
|
189
|
+
marginTop: 18,
|
|
190
|
+
width: '100%',
|
|
191
|
+
borderRadius: 8,
|
|
192
|
+
border: '1px solid #BDBDBD',
|
|
193
|
+
padding: 16,
|
|
194
|
+
paddingLeft: 32,
|
|
195
|
+
paddingRight: 32
|
|
196
|
+
}, children: props.children })] }) }));
|
|
197
|
+
function adapterEmail(email, widthScreen) {
|
|
198
|
+
let newEmail = email;
|
|
199
|
+
if (widthScreen < 450) {
|
|
200
|
+
let indexBreak = email.indexOf("@");
|
|
201
|
+
newEmail = `${email.slice(0, indexBreak - 1)}
|
|
202
|
+
${email.slice(indexBreak)}`;
|
|
203
|
+
}
|
|
204
|
+
return newEmail;
|
|
205
|
+
}
|
|
206
|
+
function filterTagsSelected(dataOrigin, selectedsTags) {
|
|
207
|
+
let optFiltered = dataOrigin.map((item) => {
|
|
208
|
+
if (selectedsTags.includes(item.label)) {
|
|
209
|
+
item.isDisabled = true;
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
item.isDisabled = false;
|
|
213
|
+
}
|
|
214
|
+
return item;
|
|
215
|
+
});
|
|
216
|
+
return optFiltered;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
function getStepsChallenge(language, stepProblem, setSelectedStep, onSelectedStep) {
|
|
220
|
+
let translate = {
|
|
221
|
+
"pt-BR": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
|
|
222
|
+
"es": ["Definición", "Hipótesis", "Pruebas", "Resultados", "Próximos pasos"],
|
|
223
|
+
"en-US": ["Definition", "Hypotheses", "Tests", "Results", "Next Steps"],
|
|
224
|
+
"pt-PT": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
|
|
225
|
+
};
|
|
226
|
+
let steps = [
|
|
227
|
+
{ step: 1, active: false, name: translate[language][0], action: () => {
|
|
228
|
+
onSelectedStep(1);
|
|
229
|
+
setSelectedStep(1);
|
|
230
|
+
} },
|
|
231
|
+
{ step: 2, active: false, name: translate[language][1], action: () => {
|
|
232
|
+
onSelectedStep(2);
|
|
233
|
+
setSelectedStep(2);
|
|
234
|
+
} },
|
|
235
|
+
{ step: 3, active: false, name: translate[language][2], action: () => {
|
|
236
|
+
onSelectedStep(3);
|
|
237
|
+
setSelectedStep(3);
|
|
238
|
+
} },
|
|
239
|
+
{ step: 4, active: false, name: translate[language][3], action: () => {
|
|
240
|
+
onSelectedStep(4);
|
|
241
|
+
setSelectedStep(4);
|
|
242
|
+
} },
|
|
243
|
+
{ step: 5, active: false, name: translate[language][4], action: () => {
|
|
244
|
+
onSelectedStep(5);
|
|
245
|
+
setSelectedStep(5);
|
|
246
|
+
} },
|
|
247
|
+
];
|
|
248
|
+
let maxStep = Math.min(stepProblem, steps.length);
|
|
249
|
+
for (let i = 0; i < maxStep; i++) {
|
|
250
|
+
steps[i].active = true;
|
|
251
|
+
}
|
|
252
|
+
return steps;
|
|
253
|
+
}
|
|
254
|
+
function ButtonsProcessSteps({ selectedStep, definedSteps, setSelectedStep, idioma, onClickContinue, hasContinueProps }) {
|
|
255
|
+
const [anhorsBtn, setAnchorsBtn] = useState(getTranslateBtnNextPrevSteps()['pt-BR']);
|
|
256
|
+
const [hasContinuePropsState, sethasContinueProps] = useState(false);
|
|
257
|
+
useEffect(() => {
|
|
258
|
+
sethasContinueProps(hasContinueProps);
|
|
259
|
+
}, [hasContinueProps]);
|
|
260
|
+
useEffect(() => {
|
|
261
|
+
try {
|
|
262
|
+
setAnchorsBtn(getTranslateBtnNextPrevSteps()[idioma]);
|
|
263
|
+
}
|
|
264
|
+
catch (e) {
|
|
265
|
+
setAnchorsBtn(getTranslateBtnNextPrevSteps()['pt-BR']);
|
|
266
|
+
}
|
|
267
|
+
}, [idioma]);
|
|
268
|
+
return jsxs(Fragment, { children: [selectedStep == 1 && definedSteps > 1 &&
|
|
269
|
+
jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-end' }, children: jsx(Button, { handleClick: () => setSelectedStep(2), label: anhorsBtn.next, variant: "link", style: { height: '40px' } }) }), selectedStep > 1 && selectedStep < definedSteps &&
|
|
270
|
+
jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between' }, children: [jsx(Button, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }), jsx(Button, { handleClick: () => setSelectedStep(selectedStep + 1), label: anhorsBtn.next, variant: "link", style: { height: '40px' } })] }), selectedStep == definedSteps && definedSteps != 5 && definedSteps != 1 &&
|
|
271
|
+
jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between' }, children: [jsx(Button, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }), hasContinuePropsState ? jsx(Button, { handleClick: () => onClickContinue(), label: anhorsBtn.continueChallenge, variant: "primary", style: { height: '40px' } }) : jsx("div", { children: " " })] }), selectedStep == definedSteps && definedSteps == 5 &&
|
|
272
|
+
jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-start' }, children: jsx(Button, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }) }), selectedStep == definedSteps && definedSteps == 1 &&
|
|
273
|
+
jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-end' }, children: hasContinuePropsState ? jsx(Button, { handleClick: () => onClickContinue(), label: anhorsBtn.continueChallenge, variant: "primary", style: { height: '40px' } }) : jsx("div", { children: " " }) })] });
|
|
274
|
+
}
|
|
275
|
+
function getTranslateBtnNextPrevSteps() {
|
|
276
|
+
const traducaoPTBR = {
|
|
277
|
+
next: "Ver fase seguinte >",
|
|
278
|
+
nextShort: "Próx. >",
|
|
279
|
+
previous: "< Ver fase anterior",
|
|
280
|
+
previousShort: "< Ant.",
|
|
281
|
+
continueChallenge: "Continuar desafio"
|
|
282
|
+
};
|
|
283
|
+
const traducaoES = {
|
|
284
|
+
next: "Ver fase siguiente >",
|
|
285
|
+
nextShort: "Próx. >",
|
|
286
|
+
previous: "< Ver fase anterior",
|
|
287
|
+
previousShort: "< Ant.",
|
|
288
|
+
continueChallenge: "Continuar desafío"
|
|
289
|
+
};
|
|
290
|
+
const traducaoENUS = {
|
|
291
|
+
next: "View next phase >",
|
|
292
|
+
nextShort: "Next >",
|
|
293
|
+
previous: "< View previous phase",
|
|
294
|
+
previousShort: "< Previous",
|
|
295
|
+
continueChallenge: "Continue challenge"
|
|
296
|
+
};
|
|
297
|
+
const traducaoPT = {
|
|
298
|
+
next: "Ver fase seguinte >",
|
|
299
|
+
nextShort: "Próx. >",
|
|
300
|
+
previous: "< Ver fase anterior",
|
|
301
|
+
previousShort: "< Ant.",
|
|
302
|
+
continueChallenge: "Continuar desafio"
|
|
303
|
+
};
|
|
304
|
+
return {
|
|
305
|
+
"pt-BR": traducaoPTBR,
|
|
306
|
+
"es": traducaoES,
|
|
307
|
+
"en-US": traducaoENUS,
|
|
308
|
+
"pt-PT": traducaoPT
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export { BannerProblem as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const SpanHeaderTag = styled.span `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 4px 16px;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
position: absolute;
|
|
11
|
+
right: -1px;
|
|
12
|
+
top: -1px;
|
|
13
|
+
background: ${({ background }) => background || '#940059'};
|
|
14
|
+
color: ${({ color }) => color || '#FFFFFF'};
|
|
15
|
+
border-radius: 0px 0px 0px 8px;
|
|
16
|
+
`;
|
|
17
|
+
const Steps = styled.div `
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding-left: 5%;
|
|
20
|
+
padding-right: 5%;
|
|
21
|
+
padding-top: 30px;
|
|
22
|
+
|
|
23
|
+
@media screen and (max-width:600px){
|
|
24
|
+
padding-left: 2% !important;
|
|
25
|
+
padding-right: 0% !important;
|
|
26
|
+
font-size: 13px !important;
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
export { SpanHeaderTag, Steps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".MessageBox-module_container__6oBFw {\n min-width: 200px;\n padding: 8px;\n min-height: 30px;\n margin-top: 8px;\n font-size: 14px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n flex-direction: row;\n flex-wrap: wrap;\n \n}\n\n.MessageBox-module_square__bUGB6{\n height: 20px;\n width: 20px;\n display: inline-flex; \n justify-content: center; \n align-items: center;\n margin-right: 8px;\n}\n\n.MessageBox-module_success__OT-qh{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_success__OT-qh:hover{\n background-color: #2CA92A !important;\n color: white;\n}\n\n.MessageBox-module_successNoHover__0-hv8{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV:hover{\n background-color: #FFC200 !important;\n color: white;\n}\n\n.MessageBox-module_warningNoHover__9REga{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_errorNoHover__wBfkm{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacao__TIUt0{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacao__TIUt0:hover{\n background-color: #F2F2F2 !important;\n \n}\n\n.MessageBox-module_notificacao__TIUt0 span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoErro__-Daph{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacaoErro__-Daph:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_notificacaoErroNoHover__kW518{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}";
|
|
4
|
+
var style = {"container":"MessageBox-module_container__6oBFw","square":"MessageBox-module_square__bUGB6","success":"MessageBox-module_success__OT-qh","successNoHover":"MessageBox-module_successNoHover__0-hv8","warning":"MessageBox-module_warning__WFHrV","warningNoHover":"MessageBox-module_warningNoHover__9REga","error":"MessageBox-module_error__PzfdG","errorNoHover":"MessageBox-module_errorNoHover__wBfkm","notificacao":"MessageBox-module_notificacao__TIUt0","notificacaoNoHover":"MessageBox-module_notificacaoNoHover__NHKEm","notificacaoErro":"MessageBox-module_notificacaoErro__-Daph","notificacaoErroNoHover":"MessageBox-module_notificacaoErroNoHover__kW518"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { style as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
///-----------------------------------------
|
|
4
|
+
/// Componente
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @componente
|
|
8
|
+
*/
|
|
9
|
+
function ErrorIcon() {
|
|
10
|
+
return (jsx(Fragment, { children: jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M11.3327 0.666504L0.666016 11.3332", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M0.666016 0.666504L11.3327 11.3332", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { ErrorIcon as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
///-----------------------------------------
|
|
4
|
+
/// Componente
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @componente
|
|
8
|
+
*/
|
|
9
|
+
function SuccessIcon() {
|
|
10
|
+
return (jsx(Fragment, { children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M13.3327 4L5.99935 11.3333L2.66602 8", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { SuccessIcon as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
///-----------------------------------------
|
|
4
|
+
/// Componente
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @componente
|
|
8
|
+
*/
|
|
9
|
+
function WarningIcon() {
|
|
10
|
+
return (jsx(Fragment, { children: jsxs("svg", { width: "2", height: "12", viewBox: "0 0 2 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M1 0.666992V8.00033", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M1 10.667L1 11.3337", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { WarningIcon as default };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import style from './MessageBox.module.css.js';
|
|
3
|
+
import SuccessIcon from './icons/successIcon.js';
|
|
4
|
+
import ErrorIcon from './icons/errorIcon.js';
|
|
5
|
+
import WarningIcon from './icons/warningIcon.js';
|
|
6
|
+
import { SaveIcon, CloseIcon } from '../../../shared/icons.js';
|
|
7
|
+
|
|
8
|
+
///-----------------------------------------
|
|
9
|
+
/// Componente
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @componente
|
|
13
|
+
*/
|
|
14
|
+
function MessageBox(props) {
|
|
15
|
+
const MapBorderColor = [
|
|
16
|
+
'#2CA92A',
|
|
17
|
+
'#FFC200',
|
|
18
|
+
'#EA0000',
|
|
19
|
+
'#757575',
|
|
20
|
+
'#EA0000',
|
|
21
|
+
];
|
|
22
|
+
const MapIconList = [
|
|
23
|
+
jsx(SuccessIcon, {}),
|
|
24
|
+
jsx(WarningIcon, {}),
|
|
25
|
+
jsx(ErrorIcon, {}),
|
|
26
|
+
jsx(SaveIcon, {}),
|
|
27
|
+
jsx(SaveIcon, { fill: 'red' })
|
|
28
|
+
];
|
|
29
|
+
return (jsxs("div", { style: { position: 'relative' }, children: [jsxs("div", { className: props.hasHover ?
|
|
30
|
+
`${props.tipoVisualizacao === 1 ? style.success
|
|
31
|
+
: props.tipoVisualizacao === 2 ? style.warning
|
|
32
|
+
: props.tipoVisualizacao === 3 ? style.error
|
|
33
|
+
: props.tipoVisualizacao === 4 ? style.notificacao
|
|
34
|
+
: props.tipoVisualizacao === 5 ? style.notificacaoErro
|
|
35
|
+
: ''} ${style.container}`
|
|
36
|
+
:
|
|
37
|
+
`${props.tipoVisualizacao === 1 ? style.successNoHover
|
|
38
|
+
: props.tipoVisualizacao === 2 ? style.warningNoHover
|
|
39
|
+
: props.tipoVisualizacao === 3 ? style.errorNoHover
|
|
40
|
+
: props.tipoVisualizacao === 4 ? style.notificacaoNoHover
|
|
41
|
+
: props.tipoVisualizacao === 5 ? style.notificacaoErroNoHover
|
|
42
|
+
: ''} ${style.container}`, style: {
|
|
43
|
+
cursor: props.onClick ? 'pointer' : 'default',
|
|
44
|
+
...props.style
|
|
45
|
+
}, onClick: props.onClick, children: [jsx("div", { className: style.square, style: { backgroundColor: MapBorderColor[props.tipoVisualizacao - 1] }, children: MapIconList[props.tipoVisualizacao - 1] }), jsxs("div", { style: { display: 'inline-flex', width: 'calc(100% - 30px)' }, children: [props.texto, jsxs("span", { children: [" \u00A0", props.descricao ? props.descricao : ''] })] })] }), props.hasClickExit &&
|
|
46
|
+
jsxs("div", { style: {
|
|
47
|
+
display: 'inline-flex',
|
|
48
|
+
position: 'absolute',
|
|
49
|
+
width: '40px',
|
|
50
|
+
height: '100%',
|
|
51
|
+
justifyContent: 'center',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
right: 0,
|
|
54
|
+
top: 0,
|
|
55
|
+
cursor: 'pointer'
|
|
56
|
+
}, onClick: props.onClickExit, children: [" ", jsx(CloseIcon, { width: '9' }), " "] })] }));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { MessageBox as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.Rating-module_container__yehpg {\n width: 150px;\n padding: 8px;\n height: 80px;\n display: flex;\n justify-content: 'flex-start';\n align-items: 'center';\n position: relative;\n margin-left: 16px;\n flex-direction: row;\n flex-wrap: wrap;\n font-family: 'Work Sans';\n \n}\n\n.Rating-module_titulo__mPtNy{\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 16px;\n font-weight: 600px;\n}\n\n.Rating-module_content__fqIyW{\n display: flex;\n width: 100%;\n justify-content: flex-start;\n align-items: flex-start;\n \n}\n\n.Rating-module_star__Wzye9{\n display: inline-flex;\n width: 35px; \n height: 35px; \n position: relative; \n justify-content: center; \n align-items: center;\n}\n\n.Rating-module_avaliacao__AOld-{\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100px;\n height: 100%;\n margin-left: 4px;\n}\n";
|
|
4
|
+
var style = {"container":"Rating-module_container__yehpg","titulo":"Rating-module_titulo__mPtNy","content":"Rating-module_content__fqIyW","star":"Rating-module_star__Wzye9","avaliacao":"Rating-module_avaliacao__AOld-"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { style as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import style from './Rating.module.css.js';
|
|
3
|
+
import StarIcon from './starIcon.js';
|
|
4
|
+
|
|
5
|
+
///-----------------------------------------
|
|
6
|
+
/// Componente
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @componente
|
|
10
|
+
*/
|
|
11
|
+
function Rating(props) {
|
|
12
|
+
const MapColorStar = [
|
|
13
|
+
'#FFC200',
|
|
14
|
+
'#000000',
|
|
15
|
+
'#FFFFFF',
|
|
16
|
+
];
|
|
17
|
+
const MapColorNumberStar = [
|
|
18
|
+
'#FFFFFF',
|
|
19
|
+
'#FFFFFF',
|
|
20
|
+
'#FFC200',
|
|
21
|
+
'#FF4D0D',
|
|
22
|
+
];
|
|
23
|
+
return (jsx(Fragment, { children: jsxs("div", { className: style.container, style: { ...props.style }, children: [jsx("div", { className: style.titulo, style: { display: 'flex', justifyContent: 'flex-start', alignItems: 'center', fontSize: 16, fontWeight: 600 }, children: props.titulo }), jsxs("div", { className: style.content, style: { display: 'flex', width: '100%', justifyContent: 'flex-start', alignItems: 'flex-start' }, children: [jsxs("div", { className: style.star, style: { display: 'inline-flex', width: 35, height: 35, position: 'relative', justifyContent: 'center', alignItems: 'center' }, children: [jsx(StarIcon, { color: MapColorStar[props.tipoVisualizacao - 1] }), jsx("span", { style: { position: 'absolute', fontSize: 10, color: MapColorNumberStar[props.tipoVisualizacao - 1], fontWeight: 'bold', top: 12, textAlign: 'center' }, children: props.nota })] }), jsxs("div", { className: style.avaliacao, style: { justifyContent: props.descricaoAvaliacao ? 'flex-start' : 'center' }, children: [jsx("span", { style: { fontSize: 14, fontWeight: 600 }, children: props.descricaoAvaliacao }), jsx("span", { style: { fontSize: 12, fontWeight: 400 }, children: `${props.qtdeAvaliacao} ${props.qtdeAvaliacao > 1 ? props.nomeAvaliacao : props.nomeAvaliacao}` })] })] })] }) }));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { Rating as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
///-----------------------------------------
|
|
4
|
+
/// Componente
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @componente
|
|
8
|
+
*/
|
|
9
|
+
function StarIcon(props) {
|
|
10
|
+
return (jsx(Fragment, { children: jsx("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M14.0989 0.872803C14.4623 0.117576 15.5377 0.117574 15.9011 0.872801L19.7145 8.7983C19.8581 9.09663 20.14 9.30458 20.4674 9.35367L29.0382 10.6388C29.8501 10.7606 30.1775 11.7548 29.5967 12.3352L23.3644 18.5625C23.1358 18.791 23.0316 19.1159 23.085 19.4348L24.5511 28.2045C24.6883 29.025 23.8221 29.6445 23.09 29.2495L15.4748 25.1411C15.1785 24.9812 14.8215 24.9812 14.5252 25.1411L6.91 29.2495C6.17789 29.6445 5.31171 29.025 5.44888 28.2045L6.91505 19.4348C6.96835 19.1159 6.86424 18.791 6.63556 18.5625L0.403279 12.3352C-0.17751 11.7548 0.149858 10.7606 0.961814 10.6388L9.53263 9.35367C9.86003 9.30458 10.1419 9.09663 10.2855 8.79831L14.0989 0.872803Z", fill: props.color }) }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { StarIcon as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.RatingCurtidas-module_container__Ns11t {\n width: 150px;\n padding: 8px;\n height: 80px;\n display: flex;\n justify-content: 'flex-start';\n align-items: 'center';\n position: relative;\n margin-left: 16px;\n flex-direction: row;\n flex-wrap: wrap;\n font-family: 'Work Sans';\n \n}\n";
|
|
4
|
+
var style = {"container":"RatingCurtidas-module_container__Ns11t"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { style as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import style from './RatingCurtidas.module.css.js';
|
|
3
|
+
import RocketButton from '../RocketButton/index.js';
|
|
4
|
+
|
|
5
|
+
///-----------------------------------------
|
|
6
|
+
/// Componente
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @componente
|
|
10
|
+
*/
|
|
11
|
+
function RatingCurtidas(props) {
|
|
12
|
+
return (jsx(Fragment, { children: jsxs("div", { className: style.container, style: { ...props.style }, children: [jsx("div", { style: { display: 'flex', justifyContent: 'flex-start', alignItems: 'center', fontSize: 16, fontWeight: 600 }, children: props.titulo }), jsxs("div", { style: { display: 'flex', width: '100%', justifyContent: 'flex-start', alignItems: 'flex-start' }, children: [jsx("div", { style: { display: 'inline-flex', width: 40, height: 40, justifyContent: 'center', alignItems: 'center', position: 'relative' }, children: jsx(RocketButton, { tipoBotao: props.tipoBotao }) }), jsx("div", { style: { display: 'inline-flex', width: 90, marginLeft: 4 }, children: jsxs("div", { style: { display: 'flex', flexDirection: 'column', flexWrap: 'wrap', width: 100 }, children: [jsx("span", { style: { fontSize: 14, fontWeight: 600 }, children: props.qtdeCurtidas ? props.qtdeCurtidas : 0 }), jsx("span", { style: { fontSize: 12, fontWeight: 400 }, children: props.descricaoCurtida })] }) })] })] }) }));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { RatingCurtidas as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
///-----------------------------------------
|
|
4
|
+
/// Componente
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @componente
|
|
8
|
+
*/
|
|
9
|
+
function RocketButtonIcon(props) {
|
|
10
|
+
return (jsx(Fragment, { children: jsx("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', borderRadius: 25, background: props.colorSecundaria ? props.colorSecundaria : '#FF4D0D', width: 32, height: 32, margin: 0 }, children: jsxs("svg", { width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M7.15625 16.9915C6.89922 17.3907 6.69141 17.82 6.54102 18.2657H8.85977V15.2771C8.18164 15.72 7.60195 16.3024 7.15625 16.9915ZM19.141 15.2771V18.2657H21.4598C21.3094 17.82 21.1016 17.3907 20.8445 16.9915C20.4037 16.3065 19.8232 15.7222 19.141 15.2771ZM17.391 8.71729L14.0004 4.69775L10.6098 8.71729V18.2657H17.391V8.71729ZM14.0004 12.2501C13.6569 12.2431 13.3299 12.1017 13.0895 11.8563C12.8491 11.611 12.7144 11.2811 12.7144 10.9376C12.7144 10.5941 12.8491 10.2642 13.0895 10.0188C13.3299 9.77347 13.6569 9.63211 14.0004 9.6251C14.3438 9.63211 14.6709 9.77347 14.9113 10.0188C15.1517 10.2642 15.2864 10.5941 15.2864 10.9376C15.2864 11.2811 15.1517 11.611 14.9113 11.8563C14.6709 12.1017 14.3438 12.2431 14.0004 12.2501Z", fill: props.colorPrimaria ? props.colorPrimaria : '#FFF', fillOpacity: "0.35" }), jsx("path", { d: "M23.625 20.125C23.625 17.0734 21.8367 14.4375 19.25 13.2098V8.67617C19.25 8.26328 19.1051 7.86406 18.8371 7.54961L14.6699 2.60859C14.4949 2.40078 14.2461 2.29688 14 2.29688C13.7539 2.29688 13.5051 2.40078 13.3301 2.60859L9.16289 7.54961C8.89674 7.86471 8.7505 8.26372 8.75 8.67617V13.2098C6.16328 14.4375 4.375 17.0734 4.375 20.125H8.6543C8.59141 20.3219 8.55859 20.5352 8.55859 20.7758C8.55859 21.3801 8.76641 21.9707 9.14375 22.4383C9.45175 22.8207 9.85968 23.1103 10.3223 23.275C10.9539 24.7516 12.3895 25.7031 14 25.7031C14.7957 25.7031 15.5668 25.468 16.2258 25.025C16.8711 24.593 17.3715 23.9887 17.675 23.275C18.1374 23.1113 18.5454 22.8226 18.8535 22.441C19.2314 21.9692 19.4377 21.383 19.4387 20.7785C19.4387 20.5488 19.4086 20.3301 19.3539 20.1277L23.625 20.125ZM8.85938 18.2656H6.54062C6.69102 17.8199 6.89883 17.3906 7.15586 16.9914C7.60156 16.3023 8.18125 15.7199 8.85938 15.277V18.2656ZM10.6094 13.2098V8.71719L14 4.69766L17.3906 8.71719V18.2656H10.6094V13.2098ZM17.1746 21.443C17.0324 21.525 16.8684 21.5578 16.707 21.5359L16.1738 21.4703L16.0973 22.0008C15.9496 23.0371 15.0473 23.8191 14 23.8191C12.9527 23.8191 12.0504 23.0371 11.9027 22.0008L11.8262 21.4676L11.293 21.5359C11.1309 21.5553 10.9669 21.5217 10.8254 21.4402C10.5875 21.3035 10.4398 21.0492 10.4398 20.773C10.4398 20.4832 10.6012 20.2426 10.8391 20.1223H17.1637C17.4043 20.2453 17.5629 20.4859 17.5629 20.773C17.5602 21.052 17.4125 21.309 17.1746 21.443ZM19.1406 18.2656V15.277C19.8228 15.7221 20.4033 16.3064 20.8441 16.9914C21.1012 17.3906 21.309 17.8199 21.4594 18.2656H19.1406V18.2656Z", fill: props.colorPrimaria ? props.colorPrimaria : '#FFF' }), jsx("path", { d: "M12.6875 10.9375C12.6875 11.2856 12.8258 11.6194 13.0719 11.8656C13.3181 12.1117 13.6519 12.25 14 12.25C14.3481 12.25 14.6819 12.1117 14.9281 11.8656C15.1742 11.6194 15.3125 11.2856 15.3125 10.9375C15.3125 10.5894 15.1742 10.2556 14.9281 10.0094C14.6819 9.76328 14.3481 9.625 14 9.625C13.6519 9.625 13.3181 9.76328 13.0719 10.0094C12.8258 10.2556 12.6875 10.5894 12.6875 10.9375Z", fill: props.colorPrimaria ? props.colorPrimaria : '#FFF' })] }) }) }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { RocketButtonIcon as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import RocketButtonIcon from './RocketButtonIcon.js';
|
|
3
|
+
|
|
4
|
+
///-----------------------------------------
|
|
5
|
+
/// Componente
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @componente
|
|
9
|
+
*/
|
|
10
|
+
function RocketButton(props) {
|
|
11
|
+
const MapColorPrimaria = [
|
|
12
|
+
'#FF4D0D',
|
|
13
|
+
'#FFFFFF',
|
|
14
|
+
'#FFFFFF',
|
|
15
|
+
'#222222'
|
|
16
|
+
];
|
|
17
|
+
const MapColorSecundaria = [
|
|
18
|
+
'#FFFFFF',
|
|
19
|
+
'#FF4D0D',
|
|
20
|
+
'#CCCCCC',
|
|
21
|
+
'#FFFFFF'
|
|
22
|
+
];
|
|
23
|
+
return (jsx(Fragment, { children: jsx("div", { children: jsx(RocketButtonIcon, { colorPrimaria: MapColorPrimaria[props.tipoBotao - 1], colorSecundaria: MapColorSecundaria[props.tipoBotao - 1] }) }) }));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { RocketButton as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.Planet-module_container__YS3oo {\n width: 100px;\n height: 100px;\n display: flex;\n justify-content: 'center';\n align-items: 'center';\n position: relative;\n margin-left: 16px;\n\n text-align: center;\n font-size: 26px;\n font-family: 'VT323', monospace;\n color: white;\n -webkit-text-stroke: 0.5px black;\n text-shadow:2px 0 0 black,0 2px 0 black,-2px 0 0 black,0 -2px 0 black;\n}\n\n.Planet-module_label__bZgzb {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n padding: 2px;\n border: 2px dashed white;\n bottom: 0;\n left: 8px;\n right: 8px;\n width: calc(100% -16px);\n}\n@media (max-width: 600px) {\n .Planet-module_label__bZgzb {\n font-size: 22px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 540px) {\n .Planet-module_label__bZgzb {\n font-size: 18px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 470px) {\n .Planet-module_label__bZgzb {\n font-size: 16px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 400px) {\n .Planet-module_label__bZgzb {\n font-size: 14px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n.Planet-module_block__yUjqK {\n position: absolute;\n justify-content: center;\n align-items: center;\n display: flex;\n padding: 4px;\n \n bottom: 16px;\n left: 0;\n right: 0;\n top: 0;\n /* width: calc(100% -16px); */\n \n}\n\n.Planet-module_block__yUjqK img {\n width: 50%;\n height: 50%;\n object-fit: contain;\n margin-top: 0;\n}\n\n.Planet-module_imgAtive__dgis2 {\n filter: grayscale(0);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgAtive__dgis2:hover {\n cursor: pointer\n}\n\n.Planet-module_imgInative__RXloV {\n filter: grayscale(1);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgInative__RXloV:hover {\n cursor: pointer;\n}\n\n.Planet-module_imgBlocked__txZ4a {\n filter: grayscale(1);\n opacity: 0.5;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;;\n}\n\n.Planet-module_imgBlockedL__xcI-B:hover {\n cursor: not-allowed;\n}\n\n.Planet-module_missaoTitle__RbGDH{\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n display: flex;\n align-items: center;\n \n color: #0645AD;\n}";
|
|
4
|
+
var style = {"container":"Planet-module_container__YS3oo","label":"Planet-module_label__bZgzb","block":"Planet-module_block__yUjqK","imgAtive":"Planet-module_imgAtive__dgis2","imgInative":"Planet-module_imgInative__RXloV","imgBlocked":"Planet-module_imgBlocked__txZ4a","imgBlockedL":"Planet-module_imgBlockedL__xcI-B","missaoTitle":"Planet-module_missaoTitle__RbGDH"};
|
|
5
|
+
styleInject(css_248z);
|
|
6
|
+
|
|
7
|
+
export { style as default };
|