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,82 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { FRSTTheme } from '../../../theme/index.js';
|
|
3
|
+
import { ThemeProvider } from 'styled-components';
|
|
4
|
+
import { useState, useEffect } from 'react';
|
|
5
|
+
import { containerPagination, contentPagination, pageButtonList, ButtonPage } from './paginationStyles.js';
|
|
6
|
+
import { BackArrow, FowardArrow } from '../../../shared/icons.js';
|
|
7
|
+
|
|
8
|
+
function Pagination(props) {
|
|
9
|
+
const [activePage, setActivePage] = useState(0);
|
|
10
|
+
const [TotalRegistry, setTotalRegistry] = useState(props.totalRegistry);
|
|
11
|
+
const [totalPages, setTotalPages] = useState(Math.ceil(props.totalRegistry / props.registryPerPage));
|
|
12
|
+
const [paginationElements, setPaginationElements] = useState([]);
|
|
13
|
+
const [IsLoading, setIsLoading] = useState(props.isLoading);
|
|
14
|
+
const [Refresh, setRefresh] = useState(0);
|
|
15
|
+
const handleSwitchPage = (page) => {
|
|
16
|
+
if (page < 0) {
|
|
17
|
+
setActivePage(0);
|
|
18
|
+
props.onLoadPage(0);
|
|
19
|
+
}
|
|
20
|
+
else if (page > totalPages - 1) {
|
|
21
|
+
setActivePage(totalPages - 1);
|
|
22
|
+
if (page === 0) {
|
|
23
|
+
props.onLoadPage(totalPages - 1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
setActivePage(page);
|
|
28
|
+
props.onLoadPage(page);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
setIsLoading(props.isLoading);
|
|
33
|
+
}, [props.isLoading]);
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (props.totalRegistry === 0) {
|
|
36
|
+
setActivePage(0);
|
|
37
|
+
}
|
|
38
|
+
setTotalRegistry(props.totalRegistry);
|
|
39
|
+
setTotalPages(Math.ceil(props.totalRegistry / props.registryPerPage));
|
|
40
|
+
CalcPaginations(Math.ceil(props.totalRegistry / props.registryPerPage));
|
|
41
|
+
setRefresh(Refresh + 1);
|
|
42
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
43
|
+
}, [props.totalRegistry]);
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
CalcPaginations(totalPages);
|
|
46
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
47
|
+
}, [activePage]);
|
|
48
|
+
const CalcPaginations = (totalPages) => {
|
|
49
|
+
let elements = [];
|
|
50
|
+
let start = 1;
|
|
51
|
+
let finish = 0;
|
|
52
|
+
let showEllipsis = true;
|
|
53
|
+
if (totalPages <= props.qtdNumberShowPagination) {
|
|
54
|
+
start = 1;
|
|
55
|
+
finish = totalPages;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
if (activePage + props.qtdNumberShowPagination + 1 > totalPages) {
|
|
59
|
+
start = totalPages - props.qtdNumberShowPagination + 1;
|
|
60
|
+
finish = totalPages;
|
|
61
|
+
showEllipsis = false;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
start = activePage + 1;
|
|
65
|
+
finish = activePage + props.qtdNumberShowPagination;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
for (let i = start; i <= finish; i++) {
|
|
69
|
+
if (showEllipsis && i === finish) {
|
|
70
|
+
elements.push('...');
|
|
71
|
+
elements.push(totalPages);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
elements.push(i);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
setPaginationElements(elements);
|
|
78
|
+
};
|
|
79
|
+
return (jsx(ThemeProvider, { theme: FRSTTheme, children: jsxs(containerPagination, { style: { ...props.style }, id: "container-pagination", children: [jsx(contentPagination, { id: "content-pagination", children: props.children }), !IsLoading && Refresh > 0 && (jsxs(pageButtonList, { id: "page-button-list", children: [props.showFirstLastButton ? (jsx(ButtonPage, { disabled: activePage === 0, onClick: () => activePage > 0 && handleSwitchPage(0), selected: false, backgroundColor: props.buttonBackgroundColor, children: props.textFirstButton ? props.textFirstButton : 'Primeiro' })) : null, jsx(ButtonPage, { disabled: activePage === 0, onClick: () => activePage > 0 && handleSwitchPage(activePage - 1), selected: false, backgroundColor: props.buttonBackgroundColor, children: jsx(BackArrow, { width: "16", height: "16", fill: "currentColor" }) }), paginationElements.map((item, index) => (jsx(ButtonPage, { disabled: item === '...', onClick: () => item != '...' && handleSwitchPage(item - 1), selected: activePage === item - 1, backgroundColor: props.buttonBackgroundColor, children: item }, index))), jsx(ButtonPage, { disabled: activePage === totalPages - 1, onClick: () => activePage < totalPages - 1 && handleSwitchPage(activePage + 1), selected: false, backgroundColor: props.buttonBackgroundColor, children: jsx(FowardArrow, { width: "18", height: "18", fill: "currentColor" }) }), props.showFirstLastButton ? (jsx(ButtonPage, { disabled: activePage === totalPages - 1, onClick: () => activePage < totalPages - 1 && handleSwitchPage(totalPages - 1), selected: false, backgroundColor: props.buttonBackgroundColor, children: props.textLastButton ? props.textLastButton : 'Último' })) : null] }))] }) }));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export { Pagination as default };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const containerPagination = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
`;
|
|
9
|
+
const contentPagination = styled.div `
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
align-items: center;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding-bottom: 12px;
|
|
15
|
+
`;
|
|
16
|
+
const pageButtonList = styled.div `
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
align-items: center;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
gap: 8px;
|
|
22
|
+
`;
|
|
23
|
+
const ButtonPage = styled.div `
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
min-width: 40px;
|
|
28
|
+
height: 40px;
|
|
29
|
+
padding: 12px;
|
|
30
|
+
border-radius: 6px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
|
|
33
|
+
user-select: none;
|
|
34
|
+
font-family: 'PT Sans', sans-serif;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
|
|
38
|
+
color: ${({ selected, theme }) => selected ? theme.colors.shadeWhite : theme.colors.neutralsGrey1};
|
|
39
|
+
|
|
40
|
+
background-color: ${({ selected, theme, backgroundColor }) => selected
|
|
41
|
+
? (backgroundColor || theme.colors.primary1)
|
|
42
|
+
: (backgroundColor || theme.colors.neutralsGrey6)};
|
|
43
|
+
|
|
44
|
+
${({ disabled, theme }) => !disabled &&
|
|
45
|
+
css `
|
|
46
|
+
&:hover {
|
|
47
|
+
color: ${theme.colors.shadeWhite};
|
|
48
|
+
background-color: ${theme.colors.primary3};
|
|
49
|
+
}
|
|
50
|
+
`}
|
|
51
|
+
|
|
52
|
+
${({ disabled, theme }) => disabled &&
|
|
53
|
+
css `
|
|
54
|
+
color: ${theme.colors.linkDisabled};
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
`}
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
export { ButtonPage, containerPagination, contentPagination, pageButtonList };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import '../../../shared/global.css.js';
|
|
3
|
+
import { ThemeProvider } from 'styled-components';
|
|
4
|
+
import { FRSTTheme } from '../../../theme/index.js';
|
|
5
|
+
import { WrapperCard, ClickArea, TagArea, TagStatus, UserInfo, DescriptionUser, NameUser, EmailUser, UserAdditionalInfo, Area, Position, AccordionList, AccortionTitle, DataList, DataListItem } from './participantCardStyle.js';
|
|
6
|
+
import Avatar from '../../avatar/index.js';
|
|
7
|
+
import { IconUp, IconGaps, IconModules } from '../../../shared/icons.js';
|
|
8
|
+
import { useState } from 'react';
|
|
9
|
+
import { Accordion, AccordionSummary, AccordionDetails } from '@mui/material';
|
|
10
|
+
|
|
11
|
+
function ParticipantCard({ userInfo, labels, competencesList, modulesList, disabled, style }) {
|
|
12
|
+
const [selectedItem, setSelectedItem] = useState(null);
|
|
13
|
+
const [typeDetails, setTypeDetails] = useState(null);
|
|
14
|
+
const [isAccordionOpen, setIsAccordionOpen] = useState(false);
|
|
15
|
+
const [isPressed, setIsPressed] = useState(false);
|
|
16
|
+
const [accordionState, setAccordionState] = useState({
|
|
17
|
+
competences: false,
|
|
18
|
+
modules: false
|
|
19
|
+
});
|
|
20
|
+
const IS_TYPE_COMPETENCES = typeDetails === 'competences';
|
|
21
|
+
const IS_TYPE_MODULES = typeDetails === 'modules';
|
|
22
|
+
const handleSelectedItem = (id, type) => {
|
|
23
|
+
setIsAccordionOpen(!isAccordionOpen);
|
|
24
|
+
setSelectedItem(id);
|
|
25
|
+
setTypeDetails(type);
|
|
26
|
+
handleAccordionState(type, !accordionState[type]);
|
|
27
|
+
};
|
|
28
|
+
const handleAccordionState = (type, value) => {
|
|
29
|
+
setAccordionState({
|
|
30
|
+
...accordionState,
|
|
31
|
+
[type]: value
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
return (jsx(ThemeProvider, { theme: FRSTTheme, children: jsxs(WrapperCard, { status: labels?.tag, style: { ...style }, children: [jsxs(ClickArea, { status: labels?.tag, isPressed: isPressed, onClick: () => setIsPressed(true), children: [jsx(TagArea, { children: jsx(TagStatus, { isPressed: isPressed, status: labels?.tag, children: labels?.tag }) }), jsxs(UserInfo, { children: [jsx(Avatar, { size: "40px", src: userInfo?.avatar }), jsxs(DescriptionUser, { children: [jsx(NameUser, { children: userInfo?.name }), jsx(EmailUser, { children: userInfo?.email })] })] }), jsxs(UserAdditionalInfo, { children: [jsx(Area, { children: `${labels?.area}: ${userInfo?.area}` }), jsx(Position, { children: `${labels?.position}: ${userInfo?.position}` })] })] }), !disabled && (jsxs(AccordionList, { children: [competencesList && (jsxs(Accordion, { expanded: selectedItem === userInfo?.id && IS_TYPE_COMPETENCES && isAccordionOpen, onChange: () => handleSelectedItem(userInfo?.id, 'competences'), children: [jsx(AccordionSummary, { expandIcon: jsx(IconUp, {}), "aria-controls": "panel1bh-content", id: "panel1bh-header", children: jsxs(AccortionTitle, { children: [jsx(IconGaps, {}), labels?.competences] }) }), jsx(AccordionDetails, { children: jsx(DataList, { children: competencesList?.map((item, index) => (jsx(DataListItem, { children: item.name }, index))) }) })] })), modulesList && (jsxs(Accordion, { expanded: selectedItem === userInfo?.id && IS_TYPE_MODULES && isAccordionOpen, onChange: () => handleSelectedItem(userInfo?.id, 'modules'), children: [jsx(AccordionSummary, { expandIcon: jsx(IconUp, {}), "aria-controls": "panel2bh-content", id: "panel2bh-header", children: jsxs(AccortionTitle, { children: [jsx(IconModules, {}), labels?.modules] }) }), jsx(AccordionDetails, { children: jsx(DataList, { children: modulesList?.map((item, index) => (jsx(DataListItem, { children: item.name }, index))) }) })] }))] }))] }) }));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ParticipantCard as default };
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const activeStatus = 'Cadastrado';
|
|
4
|
+
const inactiveStatus = 'Inativado';
|
|
5
|
+
const WrapperCard = styled.div `
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: fit-content;
|
|
10
|
+
|
|
11
|
+
background: ${(props) => (props.status == activeStatus ? '#fff' : '#BDBDBD')};
|
|
12
|
+
|
|
13
|
+
border-radius: 10px;
|
|
14
|
+
padding-bottom: ${(props) => (props.status == inactiveStatus ? '30px' : '7px')};
|
|
15
|
+
|
|
16
|
+
:hover {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
const TagArea = styled.div `
|
|
21
|
+
width: 100%;
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: flex-end;
|
|
24
|
+
padding: 8px 8px 0px 5px;
|
|
25
|
+
`;
|
|
26
|
+
const ClickArea = styled.div `
|
|
27
|
+
background-color: ${(props) => props.status !== inactiveStatus && props.isPressed && '#FCE4CC'};
|
|
28
|
+
border-radius: 10px 10px 0px 0px;
|
|
29
|
+
padding-bottom: 10px;
|
|
30
|
+
min-height: 150px;
|
|
31
|
+
`;
|
|
32
|
+
const TagStatus = styled.div `
|
|
33
|
+
background-color: ${(props) => (props.isPressed && props.status === activeStatus && '#2CA92A') ||
|
|
34
|
+
(props.status === activeStatus && '#398787') ||
|
|
35
|
+
(props.status === inactiveStatus && '#222222')};
|
|
36
|
+
color: ${(props) => (props.status !== inactiveStatus && '#fff') || '#D3D3D3'};
|
|
37
|
+
font-weight: 300;
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
max-width: 120px !important;
|
|
40
|
+
padding: 2px 5px;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
`;
|
|
45
|
+
const AccordionList = styled.div `
|
|
46
|
+
.css-1elwnq4-MuiPaper-root-MuiAccordion-root {
|
|
47
|
+
box-shadow: none !important;
|
|
48
|
+
border-top: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
49
|
+
border-radius: 0px !important;
|
|
50
|
+
padding: 0px 10px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
#panel1bh-content {
|
|
54
|
+
margin-top: -5px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.Mui-expanded {
|
|
58
|
+
margin: 0px !important;
|
|
59
|
+
background-color: #f7f9fc !important;
|
|
60
|
+
}
|
|
61
|
+
`;
|
|
62
|
+
const AccortionTitle = styled.span `
|
|
63
|
+
color: #0645ad;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
svg {
|
|
69
|
+
margin-right: 5px;
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
styled.div `
|
|
73
|
+
width: 100%;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
`;
|
|
77
|
+
const UserInfo = styled.div `
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
padding: 0px 25px;
|
|
81
|
+
`;
|
|
82
|
+
const DescriptionUser = styled.div `
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
margin-left: 13px;
|
|
86
|
+
`;
|
|
87
|
+
const NameUser = styled.div `
|
|
88
|
+
font-family: 'PT Sans';
|
|
89
|
+
font-style: normal;
|
|
90
|
+
font-weight: 700;
|
|
91
|
+
font-size: 16px;
|
|
92
|
+
line-height: 110%;
|
|
93
|
+
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
|
|
97
|
+
color: #222222;
|
|
98
|
+
word-break: normal;
|
|
99
|
+
|
|
100
|
+
max-width: 100%;
|
|
101
|
+
text-overflow: ellipsis;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
display: -webkit-box;
|
|
104
|
+
-webkit-line-clamp: 1;
|
|
105
|
+
-webkit-box-orient: vertical;
|
|
106
|
+
word-wrap: break-word;
|
|
107
|
+
`;
|
|
108
|
+
const EmailUser = styled.div `
|
|
109
|
+
font-family: 'PT Sans';
|
|
110
|
+
font-style: normal;
|
|
111
|
+
font-weight: 600;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
line-height: 16px;
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
|
|
117
|
+
color: #9c9c9c;
|
|
118
|
+
word-break: normal;
|
|
119
|
+
|
|
120
|
+
max-width: 100%;
|
|
121
|
+
|
|
122
|
+
max-width: 100%;
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
display: -webkit-box;
|
|
126
|
+
-webkit-line-clamp: 1;
|
|
127
|
+
-webkit-box-orient: vertical;
|
|
128
|
+
word-wrap: break-word;
|
|
129
|
+
`;
|
|
130
|
+
const UserAdditionalInfo = styled.div `
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
margin-top: 15px;
|
|
134
|
+
padding: 0px 25px;
|
|
135
|
+
`;
|
|
136
|
+
const Area = styled.div `
|
|
137
|
+
font-family: 'PT Sans';
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 700;
|
|
140
|
+
font-size: 16px;
|
|
141
|
+
line-height: 110%;
|
|
142
|
+
/* or 18px */
|
|
143
|
+
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
|
|
147
|
+
/* neutrals/grey_1 */
|
|
148
|
+
|
|
149
|
+
color: #222222;
|
|
150
|
+
max-width: 100%;
|
|
151
|
+
|
|
152
|
+
max-width: 100%;
|
|
153
|
+
text-overflow: ellipsis;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
display: -webkit-box;
|
|
156
|
+
-webkit-line-clamp: 1;
|
|
157
|
+
-webkit-box-orient: vertical;
|
|
158
|
+
word-wrap: break-word;
|
|
159
|
+
`;
|
|
160
|
+
const Position = styled.div `
|
|
161
|
+
font-family: 'PT Sans';
|
|
162
|
+
font-style: normal;
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
font-size: 16px;
|
|
165
|
+
line-height: 110%;
|
|
166
|
+
/* or 18px */
|
|
167
|
+
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
|
|
171
|
+
/* neutrals/grey_1 */
|
|
172
|
+
|
|
173
|
+
color: #222222;
|
|
174
|
+
|
|
175
|
+
max-width: 100%;
|
|
176
|
+
text-overflow: ellipsis;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
display: -webkit-box;
|
|
179
|
+
-webkit-line-clamp: 1;
|
|
180
|
+
-webkit-box-orient: vertical;
|
|
181
|
+
word-wrap: break-word;
|
|
182
|
+
`;
|
|
183
|
+
styled.div `
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: row;
|
|
186
|
+
margin-top: 15px;
|
|
187
|
+
justify-content: space-around;
|
|
188
|
+
align-items: center;
|
|
189
|
+
`;
|
|
190
|
+
styled.div `
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: row;
|
|
193
|
+
align-items: center;
|
|
194
|
+
padding-left: 0px;
|
|
195
|
+
padding: 4px 16px;
|
|
196
|
+
gap: 8px;
|
|
197
|
+
|
|
198
|
+
width: 149px;
|
|
199
|
+
height: 32px;
|
|
200
|
+
|
|
201
|
+
/* primary_1 */
|
|
202
|
+
|
|
203
|
+
background: ${({ theme }) => theme.colors.primary1};
|
|
204
|
+
border-radius: 8px;
|
|
205
|
+
|
|
206
|
+
font-family: 'Work Sans';
|
|
207
|
+
font-style: normal;
|
|
208
|
+
font-weight: 700;
|
|
209
|
+
font-size: 12px;
|
|
210
|
+
line-height: 14px;
|
|
211
|
+
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
margin-left: -13px;
|
|
214
|
+
`;
|
|
215
|
+
styled.div `
|
|
216
|
+
font-family: 'Work Sans';
|
|
217
|
+
font-style: normal;
|
|
218
|
+
font-weight: 700;
|
|
219
|
+
font-size: 12px;
|
|
220
|
+
line-height: 14px;
|
|
221
|
+
color: #0645ad;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
`;
|
|
224
|
+
styled.div `
|
|
225
|
+
display: flex;
|
|
226
|
+
flex-direction: row;
|
|
227
|
+
align-items: center;
|
|
228
|
+
padding: 4px 16px;
|
|
229
|
+
gap: 8px;
|
|
230
|
+
|
|
231
|
+
width: 159px;
|
|
232
|
+
height: 32px;
|
|
233
|
+
|
|
234
|
+
/* message/success_2 */
|
|
235
|
+
|
|
236
|
+
background: #d1f6d1;
|
|
237
|
+
/* message/success_1 */
|
|
238
|
+
|
|
239
|
+
border: 1px solid #1ba853;
|
|
240
|
+
border-radius: 8px;
|
|
241
|
+
|
|
242
|
+
width: 163px;
|
|
243
|
+
height: 32px;
|
|
244
|
+
cursor: default;
|
|
245
|
+
white-space: nowrap;
|
|
246
|
+
|
|
247
|
+
font-family: 'Work Sans';
|
|
248
|
+
font-style: normal;
|
|
249
|
+
font-weight: 700;
|
|
250
|
+
font-size: 12px;
|
|
251
|
+
line-height: 14px;
|
|
252
|
+
/* identical to box height */
|
|
253
|
+
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
|
|
257
|
+
/* neutrals/grey_1 */
|
|
258
|
+
|
|
259
|
+
color: #222222;
|
|
260
|
+
`;
|
|
261
|
+
const DataList = styled.ul `
|
|
262
|
+
list-style-type: none;
|
|
263
|
+
padding: 0;
|
|
264
|
+
margin-top: 0 !important;
|
|
265
|
+
line-height: 25px;
|
|
266
|
+
`;
|
|
267
|
+
const DataListItem = styled.li `
|
|
268
|
+
list-style-type: none;
|
|
269
|
+
margin: 0;
|
|
270
|
+
font-weight: 400;
|
|
271
|
+
`;
|
|
272
|
+
|
|
273
|
+
export { AccordionList, AccortionTitle, Area, ClickArea, DataList, DataListItem, DescriptionUser, EmailUser, NameUser, Position, TagArea, TagStatus, UserAdditionalInfo, UserInfo, WrapperCard };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import '../../../shared/global.css.js';
|
|
3
|
+
import { ThemeProvider } from 'styled-components';
|
|
4
|
+
import { FRSTTheme } from '../../../theme/index.js';
|
|
5
|
+
import { WrapperCard, UserInfo, DescriptionUser, NameUser, EmailUser, UserAdditionalInfo, Area, Position, FooterButton, WrapperButtons, ButtonSendV2, ButtonOrV2, ButtonRemoveV2, ButtonSuccessV2, ButtonSend, ButtonRemove, ButtonSuccess } from './participantCardStyle.js';
|
|
6
|
+
import Avatar from '../../avatar/index.js';
|
|
7
|
+
import Tooltip$1 from '../../LXP/tooltip/index.js';
|
|
8
|
+
import Tooltip from '../../DS/tooltip/index.js';
|
|
9
|
+
import { AddPeople, MessageCheckLine } from '../../../shared/icons.js';
|
|
10
|
+
import { useState, useEffect } from 'react';
|
|
11
|
+
|
|
12
|
+
function ParticipantCardOld({ variant, userInfo, labels, successfullInvite, style, handleSendInvitation, handleClickRemove, onClickUserInfo, textVisitProfile, hidenRemoveBtn, }) {
|
|
13
|
+
const [userName, setUserName] = useState(userInfo?.name);
|
|
14
|
+
const [userEmail, setUserEmail] = useState(userInfo?.email);
|
|
15
|
+
const [area, setArea] = useState(`${labels?.area ? labels?.area : 'Área'}: ${userInfo?.area}`);
|
|
16
|
+
const [position, setPosition] = useState(`${labels?.position ? labels?.position : 'Cargo'}: ${userInfo?.position}`);
|
|
17
|
+
const [statusSend, setStatusSend] = useState(successfullInvite ? 'success' : 'default');
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
setUserName(userInfo?.name);
|
|
20
|
+
setUserEmail(userInfo?.email);
|
|
21
|
+
setArea(`${labels?.area ? labels?.area : 'Área'}: ${userInfo?.area}`);
|
|
22
|
+
setPosition(`${labels?.position ? labels?.position : 'Cargo'}: ${userInfo?.position}`);
|
|
23
|
+
setStatusSend(successfullInvite ? 'success' : 'default');
|
|
24
|
+
}, [userInfo, labels, successfullInvite]);
|
|
25
|
+
const clickSendInvitation = () => {
|
|
26
|
+
setStatusSend('success');
|
|
27
|
+
handleSendInvitation(userInfo?.id);
|
|
28
|
+
};
|
|
29
|
+
return (jsx(ThemeProvider, { theme: FRSTTheme, children: jsxs(WrapperCard, { variant: variant, style: { ...style }, children: [jsxs(UserInfo, { onClick: () => onClickUserInfo ? onClickUserInfo() : {}, children: [jsx(Tooltip, { direction: "top", content: textVisitProfile ? textVisitProfile : 'Visitar perfil', trigger: 'hover', width: '101px', height: '32px', style: { top: '-10px', textAlign: 'center' }, children: jsx(Avatar, { size: "40px", src: userInfo?.avatar, isActiveClick: true }) }), jsxs(DescriptionUser, { children: [userName && userName?.length > 25 ? (jsx(Tooltip$1, { position: "top", textTooltip: userName, children: jsx(NameUser, { children: userName }) })) : (jsx(NameUser, { children: userName })), userEmail && userEmail?.length > 20 ? (jsx(Tooltip$1, { position: "top", textTooltip: userEmail, children: jsx(EmailUser, { children: userEmail }) })) : (jsx(EmailUser, { children: userEmail }))] })] }), jsxs(UserAdditionalInfo, { children: [area && area?.length > 31 ? (jsx(Tooltip$1, { position: "top", textTooltip: userInfo?.area, children: jsx(Area, { variant: variant, children: area }) })) : (jsx(Area, { variant: variant, children: area })), position && position?.length > 33 ? (jsx(Tooltip$1, { position: "top", textTooltip: userInfo?.position, children: jsx(Position, { children: position }) })) : (jsx(Position, { children: position }))] }), variant == 'secondary' ? (jsx(FooterButtonVariantIcons, { statusSend: statusSend, clickSendInvitation: clickSendInvitation, handleClickRemove: handleClickRemove, labels: labels, userInfo: userInfo, variant: variant, IconSend: jsx(LetterEnvelopLineIcon, {}), hidenRemoveBtn: hidenRemoveBtn })) : (variant == 'tertiary' ?
|
|
30
|
+
jsx(FooterButtonVariantIcons, { statusSend: statusSend, clickSendInvitation: () => handleSendInvitation(userInfo?.id), handleClickRemove: handleClickRemove, labels: labels, userInfo: userInfo, variant: variant, IconSend: jsx(PeopleLineIcon, {}), hidenRemoveBtn: hidenRemoveBtn })
|
|
31
|
+
:
|
|
32
|
+
jsx(FooterButtonDefault, { statusSend: statusSend, clickSendInvitation: clickSendInvitation, handleClickRemove: handleClickRemove, labels: labels, userInfo: userInfo }))] }) }));
|
|
33
|
+
}
|
|
34
|
+
function FooterButtonVariantIcons({ statusSend, clickSendInvitation, handleClickRemove, labels, userInfo, variant, IconSend, hidenRemoveBtn }) {
|
|
35
|
+
const [status, setStatus] = useState(statusSend);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
setStatus(statusSend);
|
|
38
|
+
}, [statusSend]);
|
|
39
|
+
return (jsxs(FooterButton, { style: { justifyContent: 'flex-start', gap: '4px', alignItems: 'center' }, children: [status == 'default' ? (jsxs(WrapperButtons, { status: status, children: [jsxs(ButtonSendV2, { onClick: () => {
|
|
40
|
+
if (variant == 'secondary')
|
|
41
|
+
setStatus('success');
|
|
42
|
+
clickSendInvitation();
|
|
43
|
+
}, children: [IconSend, labels?.sendInvitation ? labels?.sendInvitation : 'Convidar'] }), !hidenRemoveBtn && jsxs(Fragment, { children: [jsx(ButtonOrV2, { children: labels.or }), jsx(ButtonRemoveV2, { onClick: () => handleClickRemove(userInfo?.id), children: labels?.remove ? labels?.remove : 'Remover' })] })] })) : null, jsx("div", { style: { width: '100%', justifyContent: 'flex-start' }, children: jsxs(ButtonSuccessV2, { status: status, children: [jsx(CheckInCicle, {}), labels?.invitationSuccess ? labels?.invitationSuccess : 'Convite enviado'] }) })] }));
|
|
44
|
+
}
|
|
45
|
+
function FooterButtonDefault({ statusSend, clickSendInvitation, labels, handleClickRemove, userInfo }) {
|
|
46
|
+
return (jsxs(FooterButton, { children: [statusSend == 'default' ? (jsxs(Fragment, { children: [clickSendInvitation ? (jsxs(ButtonSend, { onClick: () => clickSendInvitation(), children: [jsx(AddPeople, {}), labels?.sendInvitation ? labels?.sendInvitation : 'Enviar convite'] })) : null, handleClickRemove ? (jsx(ButtonRemove, { onClick: () => handleClickRemove(userInfo?.id), children: labels?.remove ? labels?.remove : 'Remover' })) : null] })) : null, statusSend == 'success' ? (jsx("div", { style: { width: '100%', justifyContent: 'flex-start' }, children: jsxs(ButtonSuccess, { children: [jsx(MessageCheckLine, { width: "14" }), labels?.invitationSuccess ? labels?.invitationSuccess : 'Convite enviado'] }) })) : null] }));
|
|
47
|
+
}
|
|
48
|
+
function PeopleLineIcon() {
|
|
49
|
+
return (jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M12.549 14.9713C12.532 14.7717 12.6157 14.5769 12.772 14.4518C13.2283 14.0867 13.5727 13.581 13.7932 12.9049C14.0286 12.1829 14.1413 11.5131 14.1413 10.8923V8.62656C14.1413 8.30123 14.016 7.93557 13.6901 7.51986C13.3643 7.10436 12.9296 6.75178 12.3712 6.46759C11.8218 6.18796 11.2767 6.05454 10.7301 6.05454C10.4151 6.05454 10.0826 6.10541 9.73058 6.21296C9.37604 6.32129 9.05625 6.46735 8.76858 6.64954L8.44995 6.14643L8.76858 6.64954C8.46646 6.84088 8.19782 7.05279 7.96103 7.28464C7.73815 7.50288 7.57086 7.73504 7.45235 7.98085C7.33291 8.22857 7.28531 8.44184 7.28531 8.62656V10.8923C7.28531 11.4321 7.4064 12.0735 7.67084 12.8245C7.91914 13.5297 8.28527 14.0571 8.75636 14.4359C8.91295 14.5618 8.99614 14.7577 8.97796 14.9578C8.95979 15.1579 8.84266 15.3356 8.66594 15.4312L5.19182 17.3109C5.18613 17.314 5.1804 17.317 5.17462 17.3199C5.11819 17.3481 5.04257 17.3883 4.94593 17.442C4.91178 17.4609 4.82117 17.5256 4.66114 17.675C4.63587 17.6986 4.61809 17.7179 4.60598 17.7327C4.60376 17.7354 4.60177 17.738 4.6 17.7403V19.0489C4.6 19.1498 4.62784 19.2078 4.68601 19.2642C4.75468 19.3307 4.81815 19.3552 4.90629 19.3552H16.5203C16.6084 19.3552 16.6719 19.3307 16.7406 19.2642C16.7987 19.2078 16.8266 19.1498 16.8266 19.0489V17.7212C16.8184 17.7054 16.8107 17.6951 16.8044 17.6881C16.776 17.6565 16.7386 17.6203 16.69 17.5798C16.6454 17.5426 16.6054 17.5149 16.5704 17.4945L12.549 14.9713ZM12.549 14.9713C12.566 15.1708 12.6815 15.3487 12.8568 15.4455M12.549 14.9713L12.8568 15.4455M12.8568 15.4455L16.2083 17.2963L16.2378 17.316C16.2798 17.344 16.3252 17.3666 16.3729 17.3832L12.8568 15.4455ZM16.3735 17.3836C16.3791 17.3862 16.3894 17.3913 16.4051 17.4L16.3735 17.3836Z", stroke: "#0645AD", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M12 4.62121C12.2991 4.42929 12.628 4.27778 12.9869 4.16667C13.3458 4.05556 13.6947 4 14.0336 4C14.6118 4 15.1801 4.14394 15.7383 4.43182C16.2966 4.7197 16.7477 5.08586 17.0916 5.5303C17.4355 5.97475 17.6075 6.41919 17.6075 6.86364V8.90909C17.6075 9.53535 17.4953 10.197 17.271 10.8939C17.0467 11.5909 16.6854 12.1414 16.1869 12.5455L19.1925 14.2273L19.2374 14.2576C19.2673 14.2677 19.3047 14.2854 19.3495 14.3106C19.3944 14.3359 19.4467 14.3662 19.5065 14.4015C19.5664 14.4369 19.6262 14.4798 19.686 14.5303C19.7458 14.5808 19.7981 14.6313 19.843 14.6818C19.8878 14.7323 19.9252 14.7904 19.9551 14.8561C19.985 14.9217 20 14.9848 20 15.0455V16.2727C20 16.505 19.9202 16.6995 19.7607 16.8561C19.6012 17.0126 19.4118 17.0909 19.1925 17.0909", stroke: "#0645AD", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
50
|
+
}
|
|
51
|
+
function LetterEnvelopLineIcon() {
|
|
52
|
+
return (jsx("div", { style: { height: '12px', borderRadius: '2px', overflow: 'hidden', marginRight: '8px', marginLeft: '8px' }, children: jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "12", viewBox: "1 1 16.4 12", children: jsx("path", { strokeWidth: "1", fill: '#0645ad', d: "m3.2,0C1.43,0,0,1.43,0,3.2h2.4c0-.44.36-.8.8-.8V0Zm12,2.4c.44,0,.8.36.8.8h2.4c0-1.77-1.43-3.2-3.2-3.2v2.4Zm.8,8.8c0,.44-.36.8-.8.8v2.4c1.77,0,3.2-1.43,3.2-3.2h-2.4Zm-12.8.8c-.44,0-.8-.36-.8-.8H0c0,1.77,1.43,3.2,3.2,3.2v-2.4Zm-.8-.8V3.2H0v8h2.4Zm12.8.8H3.2v2.4h12v-2.4Zm.8-8.8v8h2.4V3.2h-2.4Zm-12.8-.8h12V0H3.2v2.4Zm4.48,4.44c.91.66,2.14.66,3.05,0l-.7-.97c-.49.35-1.15.35-1.64,0l-.7.97Zm3.05,0l6.43-4.65-.7-.97-6.43,4.65.7.97ZM1.25,2.19l6.43,4.65.7-.97L1.95,1.21l-.7.97Zm9.12,4.17l-.35-.49.35.49Zm-2.35,0l-.35.49.35-.49Z" }) }) }));
|
|
53
|
+
}
|
|
54
|
+
function CheckInCicle() {
|
|
55
|
+
return (jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("rect", { width: "16", height: "16", rx: "8", fill: "#1BA853" }), jsx("path", { d: "M11.8806 5.09106L6.54729 10.4244L4.12305 8.00016", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { ParticipantCardOld as default };
|