{"version":3,"sources":["hooks/useOnClickOutside.js","hooks/useKeyPress.js","hooks/useRouterContext.js","hooks/useToggle.js","hooks/useMousePosition.js","hooks/useFirstMountState.js","hooks/useDoubleClick.js","hooks/useFormikForwardRef.js","hooks/useForceUpdate.js","hooks/useReactContextDevTool.js","hooks/useFieldError.js","context/EditorContext.js","containers/RichTextEditorAtomicBlock/RichTextEditorAtomicBlockWrapper.js","containers/RichTextEditorAtomicBlock/RichTextEditorAtomicBlock.js","components/organisms/RichTextEditor/utils.js","services/requests.js","containers/PagesUserList/PagesUserList.js","assets/imgs/template-article.jpg","containers/PagesTemplateList/PagesTemplateList.js","containers/ButtonMenuLink/ButtonMenuLink.js","containers/NavGlobal/NavGlobal.js","containers/MediaGallery/MediaGallery.js","containers/MediaUploadForm/MediaUploadForm.js","containers/MediaUpdateForm/MediaUpdateForm.js","containers/MediaUploadGallery/MediaUploadGallery.js","containers/Toast/ToastCloseButton.js","containers/Toast/Toast.js","containers/Authenticator/Authenticator.js","containers/SubwebsUserList/SubwebsUserList.js","containers/UsersAvatarList/UsersAvatarList.js","modules/SideNav/parser/treeToNav.js","services/withInlineEdit.js","modules/SideNav/SideNavEditorItem.js","modules/SideNav/SideNavEditor.js","containers/SubwebSideNavEditor/SubwebSideNavEditor.js","containers/SubwebsPagesTable/SubwebsPagesTable.js","containers/SubwebsPagesTable/SubwebsPagesTableSelect.js","containers/SubwebsListTable/SubwebsListTable.js","containers/PageMenuSelect/PageMenuSelect.js","containers/PageCreateModal/PageCreateModal.js","containers/PageCreateModal/PageCreateLanguageModal.js","containers/PageAddModuleModal/PageAddModuleModal.js","containers/ScrollToTopOnMount/ScrollToTopOnMount.js","containers/PageRenderer/PageRenderer.js","containers/PageVersionModal/PageVersionModal.js","containers/ErrorBoundary/ErrorBoundary.js","containers/ErrorBoundary/ErrorBoundaryEditor.js","containers/MenuEditor/MenuEditor.js","containers/FileUploadForm/FileUploadForm.js","containers/FileUpdateForm/FileUpdateForm.js","containers/FileSelect/FileSelect.js","containers/FileSelectModal/FileSelectModal.js","containers/PageUpdateSlugForm/PageUpdateSlugForm.js","containers/PageDangerZone/PageDangerZone.js","containers/PeopleList/PeopleList.js","containers/PeopleDetail/PeopleDetail.js","containers/SubwebForm/SubwebForm.js","containers/SubwebUpdateForm/SubwebUpdateForm.js","containers/SubwebCreate/SubwebCreateForm.js","containers/SubwebCreate/SubwebCreateModal.js","containers/PermissionsList/PermissionsList.js","containers/PermissionsList/PermissionsListPage.js","containers/PeopleSelect/PeopleSelect.js","containers/PeopleSelectModal/PeopleSelectModal.js","assets/lib/components/atoms/Icon/index.js","assets/lib/utils/utilities.style.js","data/messages/pt.js","redux/subwebSlice.js","services/generators.js","components/organisms/Nav/Nav.js","components/organisms/Layout/Layout.js","components/organisms/PageCreateForm/PageCreateForm.js","components/organisms/PagesCardList/PagesCardList.js","components/organisms/NavTop/NavTop.js","components/organisms/SubwebsList/SubwebsList.js","components/organisms/NavGlobal/NavGlobal.js","components/organisms/TabsList/TabsList.js","components/organisms/MediaGallery/MediaGallery.js","components/organisms/PageMenu/PageMenu.js","components/organisms/Error/Error.js","components/organisms/SubwebsCardList/SubwebsCardList.js","components/organisms/MenuAccordion/MenuAccordion.js","components/organisms/DiffViewer/DiffViewer.js","components/organisms/SubwebsTable/SubwebsTable.js","components/organisms/PageTable/PageTable.js","components/organisms/PageTable/PageTableSelect.js","components/organisms/NavPublics/NavPublics.js","components/organisms/MetadataForm/MetadataForm.js","components/organisms/ModuleSelect/ModuleSelect.js","components/organisms/HistoryCommitList/HistoryCommitList.js","components/organisms/FileTable/FileTableSelect.js","components/organisms/PeopleTable/PeopleTable.js","components/organisms/PersonUpdateForm/PersonUpdateForm.js","components/organisms/PeoplePermissionsTable/PeoplePermissionsTable.js","components/organisms/PeopleTableSelect/PeopleTableSelect.js","components/atoms/LoadingSpinner/LoadingSpinner.js","components/molecules/ResponsiveViewer/ResponsiveViewer.js","assets/lib/utils/constants.js","services/breakpoints.js","assets/lib/styles/theme.js","services/constants.js","components/atoms/Form/Field.js","assets/lib/components/atoms/Button/index.js","assets/lib/components/atoms/AnimatedBackground/index.js","assets/lib/components/atoms/TextTruncate/index.js","assets/lib/components/atoms/Triangle/index.js","assets/lib/components/atoms/Text/index.js","assets/lib/components/atoms/ScreenReaderText/index.js","assets/lib/components/atoms/Line/index.js","assets/lib/components/atoms/Image/index.js","assets/lib/components/atoms/Link/index.js","assets/lib/components/atoms/Input/index.js","assets/lib/components/atoms/Pagination/index.js","assets/lib/components/atoms/Picture/index.js","assets/lib/components/atoms/ImageContainer/index.js","assets/lib/components/atoms/HorizontalList/index.js","assets/lib/components/atoms/VerticalList/index.js","assets/lib/components/atoms/ListItem/index.js","assets/lib/components/atoms/Title/index.js","assets/lib/components/atoms/LinkExternal/index.js","assets/lib/components/atoms/ContentContainer/index.js","assets/lib/components/atoms/LineTruncate/index.js","assets/lib/components/atoms/ScrollMore/index.js","types/index.js","assets/lib/utils/utilities.js","services/markdownToDraft.js","services/draftToMarkdown.js","modules/Seo/SeoEditor.js","data/languages.js","components/atoms/Status/Status.js","context/UserContext.js","modules/SideNav/SideNavEditorLinkForm.js","components/organisms/RichTextEditor/RichTextEditor.js","containers/RichTextEditorMarkdown/remarkable/carouselPlugin.js","containers/RichTextEditorMarkdown/remarkable/videoPlugin.js","containers/RichTextEditorMarkdown/remarkable/imagePlugin.js","containers/RichTextEditorMarkdown/RichTextEditorMarkdown.js","modules/Placeholder/JsonEditor.js","views/Editor/EditorModule.js","assets/lib/styles/theme.semantic.js","modules/utils.js","components/atoms/IconText/IconText.js","components/atoms/BarVertical/BarVertical.js","components/atoms/Icon/Icon.js","components/atoms/IconToggle/IconToggle.js","components/atoms/Title/Title.js","components/atoms/Helper/HelperTitle.js","components/atoms/Helper/HelperComment.js","components/atoms/Text/Text.js","components/atoms/Tag/Tag.js","components/atoms/ButtonMenu/ButtonMenu.js","components/atoms/Form/Form.js","components/atoms/Form/ErrorMessage.js","components/atoms/Form/FieldInfo.js","components/atoms/Form/FieldMaxLetters.js","components/atoms/Form/SearchInput.js","components/atoms/Form/FileInput.js","components/atoms/Form/FieldLine.js","components/atoms/Button/Button.js","components/atoms/ActionTriangle/ActionTriangle.js","components/atoms/Spacer/SpacingBottom.js","components/atoms/LogoUA/LogoUA.js","components/atoms/Spacer/Spacer.js","components/atoms/Seperator/Seperator.js","components/atoms/Tab/Tab.js","components/atoms/Tab/TabLine.js","components/atoms/Avatar/Avatar.js","components/atoms/ImageFile/ImageFile.js","components/atoms/Image/Image.js","components/atoms/Portal/Portal.js","components/atoms/Clamp/Clamp.js","components/atoms/ImageSelect/ImageSelect.js","components/atoms/LoadingDot/LoadingDot.js","components/atoms/ButtonPublish/ButtonPublish.js","components/atoms/ButtonTemporaryPublish/ButtonTemporaryPublish.js","components/atoms/PortalStyles/PortalStyles.js","components/atoms/Table/Table.js","components/atoms/ScreenReader/ScreenReader.js","components/atoms/StatusCircle/StatusCircle.js","components/atoms/PortalLink/PortalLink.js","components/atoms/DatePicker/DatePicker.js","components/atoms/TimePicker/TimePicker.js","redux/draftsSlice.js","hooks/usePersonImage.js","components/molecules/NavItemGlobal/NavItemGlobal.js","components/molecules/NavToggle/NavToggle.js","components/molecules/MenuHeader/MenuHeader.js","components/molecules/PageCard/PageCard.js","components/molecules/SearchBarGlobal/SearchBarGlobal.js","components/molecules/SearchBar/SearchBar.js","components/molecules/FieldCustom/FieldCustom.js","components/molecules/FieldArray/FieldArray.js","components/molecules/FieldArray/FieldArrayDndHeader.js","components/molecules/FieldArray/FieldArrayDnd.js","components/molecules/FieldArray/FieldArrayDndFormik.js","components/molecules/FieldImage/FieldImage.js","components/molecules/FieldImage/FieldImageUpload.js","components/molecules/FieldImage/FieldImageGalleryUpload.js","components/molecules/FieldSelect/FieldSelect.js","components/molecules/FieldSelect/FieldSelectOptimized.js","components/molecules/FieldToggle/FieldToggle.js","components/molecules/FieldTextarea/FieldTextarea.js","components/organisms/RichTextEditor/RichTextEditorInput.js","containers/RichTextEditorMarkdown/RichTextEditorMarkdownInput.js","components/molecules/FieldMarkdown/FieldMarkdown.js","components/molecules/FieldFile/FieldFile.js","components/molecules/FieldDate/FieldDate.js","components/molecules/FieldTimePicker/FieldTimePicker.js","components/molecules/SectionCard/SectionCard.js","components/molecules/ModuleActions/ModuleActionItem.js","components/molecules/ModuleActions/ModuleActions.js","components/molecules/TabsLineList/TabsLineList.js","components/molecules/Popover/Popover.js","components/molecules/Modal/Modal.js","components/molecules/MediaInput/MediaInput.js","components/molecules/MediaInput/MediaInputAlt.js","components/molecules/ResponsiveViewerSelect/ResponsiveViewerSelect.js","components/molecules/RichTextEditorOptionCarousel/RichTextEditorOptionCarousel.js","components/molecules/RichTextEditorOptionVideo/RichTextEditorOptionVideo.js","components/molecules/RichTextEditorOptionHtml/RichTextEditorOptionHtml.js","components/molecules/RichTextEditorOptionFile/RichTextEditorOptionFile.js","components/molecules/RichTextEditorOptionImage/RichTextEditorOptionImage.js","components/molecules/RichTextEditorOptionClearStyle/RichTextEditorOptionClearStyle.js","components/molecules/SubwebCard/SubwebCard.js","components/molecules/Tooltip/Tooltip.js","components/molecules/MenuAccordionItem/MenuAccordionItem.js","components/molecules/PopoverActions/PopoverActions.js","components/molecules/PageState/PageState.js","components/molecules/InputIcon/InputIcon.js","components/molecules/Pagination/Pagination.js","components/molecules/FormJsonSchema/WidgetCheckbox.js","components/molecules/FormJsonSchema/FieldMedia.js","components/molecules/ModalConfirm/ModalConfirm.js","components/molecules/FacebookShare/FacebookShare.js","components/molecules/ModuleCard/ModuleCard.js","components/molecules/HistoryCommit/HistoryCommit.js","components/molecules/PersonInfo/PersonInfo.js","assets/imgs/placeholder-person.png","containers/UserAvatar/UserAvatar.js","views/Gather/Gather.js","services/helpers.js","views/Editor/EditorCopyModules.js","assets/lib/components/molecules/Section/index.js","assets/lib/components/molecules/PlusButton/index.js","assets/lib/components/molecules/CustomArrow/index.js","assets/lib/components/molecules/ContentContainer/index.js","assets/lib/components/molecules/Table/index.js","assets/lib/components/molecules/Dropdown/index.js","assets/lib/components/molecules/DropdownList/index.js","assets/lib/components/molecules/StudentCard/index.js","assets/lib/components/molecules/AgendaFeatured/index.js","assets/lib/components/molecules/CandidatureCard/index.js","assets/lib/components/molecules/MarkdownRenderer/index.js","assets/lib/components/molecules/Carousel/index.js","assets/lib/components/molecules/VideoPlayer/index.js","assets/lib/components/molecules/HorizontalList/index.js","assets/lib/components/molecules/ListItem/index.js","modules/SubWebWarnings/SubWebWarnings.js","modules/SubWebEvents/SubWebEvents.js","assets/imgs/modules/article.png","assets/imgs/modules/campus.png","assets/imgs/modules/news.png","assets/imgs/modules/facts.png","assets/imgs/modules/testimonials.png","assets/imgs/modules/slider.png","assets/imgs/modules/numbers.png","assets/imgs/modules/agenda.png","assets/imgs/modules/department.png","assets/imgs/modules/cards.png","assets/imgs/modules/contests.png","assets/imgs/modules/timely.png","assets/imgs/modules/panoramic.png","assets/imgs/modules/multicolumns.png","assets/imgs/modules/linkscourses.png","assets/imgs/modules/SubWebPeople.png","assets/imgs/modules/subWebContacts.png","assets/imgs/modules/onefact.png","assets/imgs/modules/tables.png","assets/imgs/modules/SubWebVideo.png","assets/imgs/modules/Gallery.png","assets/imgs/modules/SubWebSchedule.png","assets/imgs/modules/SubWebWarnings.png","assets/imgs/modules/SubWebEvents.png","assets/imgs/modules/testimonials-with-link.png","assets/imgs/modules/xperimenta.png","assets/imgs/modules/FAQ.png","modules/Placeholder/Placeholder.js","modules/Placeholder/PlaceholderEditor.js","modules/Slider/SliderCell.js","modules/Slider/SliderEditor.js","modules/News/News.js","modules/News/NewsEditor.js","modules/Contests/Contests.js","modules/Contests/ContestsEditor.js","modules/Timely/Timely.js","modules/Timely/TimelyEditor.js","modules/Article/ArticleEditor.js","modules/Article/Article.js","modules/SideNav/SideNavJSON.js","modules/Facts/utils.js","modules/Facts/FactsEditor.js","modules/Numbers/NumbersEditor.js","modules/Agenda/Agenda.js","modules/Agenda/AgendaEditor.js","modules/Image/ImageEditor.js","modules/MultiColumns/MultiColumnsEditor.js","modules/Cards/CardsEditor.js","modules/Cards/Cards.js","modules/SubWebDepartment/SubWebDepartmentEditor.js","modules/SubWebLinks/SubWebLinksEditor.js","modules/SubWebCourses/SubWebCourses.js","modules/SubWebCourses/SubWebCoursesEditor.js","modules/Testimonials/TestimonialsEditor.js","modules/TestimonialsWithLink/TestimonialsWithLinkEditor.js","modules/SubWebPeople/SubWebPeople.js","modules/SubWebPeople/utils.js","modules/SubWebPeople/SubWebPeopleEditor.js","modules/SubWebContacts/SubWebContactsEditor.js","modules/OneFact/OneFactEditor.js","modules/Campus/CampusEditor.js","modules/Tables/TablesEditor.js","modules/SubWebVideo/SubWebVideoEditor.js","modules/Gallery/SliderCell.js","modules/Gallery/GalleryEditor.js","modules/FAQ/FaqEditor.js","modules/SubWebEvents/SliderCell.js","modules/SubWebEvents/SubWebEventsEditor.js","modules/SubWebWarnings/SubWebWarningsEditor.js","modules/SubWebSchedule/SubWebScheduleEditor.js","modules/Xperimenta/XperimentaEditor.js","modules/Xperimenta/Xperimenta.js","modules/MultiColumns/MultiColumns.js","modules/Article/utils.js","modules/index.js","modules/Agenda/utils.js","modules/SubWebDepartment/utils.js","modules/SubWebWarnings/utils.js","modules/Cards/utils.js","modules/SubWebContacts/utils.js","modules/SubWebCourses/utils.js","modules/Slider/utils.js","modules/Campus/utils.js","modules/SubWebEvents/utils.js","modules/Gallery/utils.js","modules/SubWebSchedule/utils.js","modules/Image/utils.js","assets/imgs/modules/links.png","modules/SubWebLinks/utils.js","modules/News/utils.js","modules/Contests/utils.js","modules/Timely/utils.js","modules/OneFact/utils.js","modules/Numbers/utils.js","modules/Tables/utils.js","modules/Testimonials/utils.js","modules/TestimonialsWithLink/utils.js","modules/MultiColumns/utils.js","modules/SubWebVideo/utils.js","modules/Xperimenta/utils.js","modules/FAQ/utils.js","redux/sidenavSlice.js","assets/lib/components/organisms/Slider/Loading.js","assets/lib/components/organisms/Slider/index.js","assets/lib/components/organisms/Article/index.js","assets/lib/components/organisms/PublicNavBar/index.js","assets/lib/components/organisms/ImageWrapper/Loading.js","assets/lib/components/organisms/ImageWrapper/index.js","assets/lib/components/organisms/Header/Cards/Default.js","assets/lib/components/organisms/Header/Cards/SubWeb.js","assets/lib/components/organisms/Header/Cards/Video.js","assets/lib/components/organisms/Header/index.js","services/theme.js","services/theme.semantic.js","modules/SideNav/parser/navToTree.js","context/AppContext.js","views/Dashboard/Dashboard.js","views/Subweb/Subweb.js","modules/SideNav/SideNavEditorParentForm.js","views/Subweb/SubwebMenuEditor.js","views/Subweb/SubwebSettings.js","views/Editor/EditorPage.js","containers/PageDuplicate/PageDuplicate.js","views/Editor/EditorSettings.js","views/Editor/EditorHistory.js","views/Editor/EditorDiff.js","views/Editor/EditorJson.js","views/Editor/EditorAddModule.js","views/Editor/EditorPasteModule.js","views/Editor/EditorNoContent.js","views/Editor/EditorPermissions.js","views/Editor/Editor.js","assets/imgs/login-thumbnail.jpg","views/Login/Login.js","views/NotFound/NotFound.js","views/Profile/Profile.js","views/UnderDevelopment/UnderDevelopment.js","views/Gallery/Gallery.js","views/Gallery/GalleryEdit.js","views/Gallery/GalleryUpload.js","views/Dummy/Dummy.js","views/Markdown/Markdown.js","views/Support/Support.js","views/Files/Files.js","views/People/PeopleSideDetail.js","views/People/People.js","views/Permissions/Permissions.js","views/Admin/Admin.js","routes/Router.js","redux/rootReducer.js","redux/store.js","GlobalStyle.js","App.js","index.js"],"names":["useOnClickOutside","ref","handler","useEffect","listener","event","current","contains","target","document","addEventListener","removeEventListener","useKeyPress","useRouterContext","useContext","__RouterContext","useToggle","initial","arguments","length","undefined","isOpen","setOpen","useState","toggle","useMousePosition","mouse","setMouse","x","y","onMouse","_ref","pageX","pageY","window","useFirstMountState","isFirst","useRef","useDoubleClick","latency","onSingleClick","onDoubleClick","clickRef","clickCount","handleClick","e","setTimeout","useFormikForwardRef","formikRef","useImperativeHandle","useForceUpdate","setTick","useCallback","tick","useReactContextDevTool","id","displayName","values","_REACT_CONTEXT_DEVTOOL","useFieldError","touched","errors","field","submitCount","useMemo","name","EditorContext","createContext","status","none","draft","published","prePublished","archive","deleted","edited","local","error","initState","pageLiveData","pageSavedData","pageOtherLanguageData","pageLoading","pageError","sectionActive","pageEdited","pageTitle","pageStatus","pageTempSlug","pageSlug","screen","richTextEditorState","EditorState","createEmpty","richTextEditorStateTrigger","sidenav","sidenavPrevious","moduleBeingEdited","moduleBeingEditedName","pageTriggerRefetch","idimg","urlimg","peopleModuleselected","actions","PAGE_DATA_UPDATE","PAGE_DATA_LOADING","PAGE_DATA_PUBLISH","PAGE_DATA_PRE_PUBLISH","PAGE_DATA_SAVE","PAGE_ADD","PAGE_ARCHIVE","PAGE_DELETE","PAGE_REFETCH","PAGE_TITLE_UPDATE","SECTION_SET_ACTIVE","SECTION_SET_INACTIVE","SCREEN_SET","RICH_TEXT_EDITOR_STATE_UPDATE","RICH_TEXT_EDITOR_STATE_TRIGGER","SIDENAV_UPDATE","SET_MENU_OPEN","PAGE_SLUG_UPDATE","IMG_RENDER","PEOPLE_MODULE_SELECT","reducer","state","action","type","data","liveData","savedData","slug","otherLanguageContent","url","new","previous","SET_MODULE_EDITED","key","EditorProvider","children","dispatch","useReducer","_jsx","Provider","value","useEditorContext","Wrapper","styled","div","withConfig","componentId","props","css","_templateObject4","_taggedTemplateLiteral","_templateObject","_templateObject2","_templateObject3","computeWrapperStyleFromType","Block","ActionsWrapper","_templateObject5","theme","zIndex","s","RemovePointerEventsAndFixSpacing","Actions","_ref2","onDelete","Button","onClick","Icon","icon","height","AtomicBlockWrapper","contentState","block","isHover","setHover","entityKey","getEntityAt","entity","getEntity","getType","editorState","onMouseEnter","onMouseLeave","_jsxs","handleDelete","newEditorState","removeBlock","Picture","withPortalThemeLegacy","PictureBase","Carousel","CarouselBase","VideoPlayer","VideoPlayerBase","AtomicBlock","getData","atomicBlockComponent","className","imagesMarkdown","matchAll","map","match","alt","src","title","isLocal","blockRenderFunc","contentBlock","component","editable","toolbarOptions","options","blockType","inDropdown","dropdownClassName","inline","list","textAlign","link","popupClassName","showOpenOptionOnHover","defaultTargetOption","linkCallback","image","RichTextEditorOptionImage","present","history","customFieldLabels","setupConfig","config","baseURL","PORTAL_API","withCredentials","token","getToken","headers","Authorization","concat","axiosWithAuth","axios","ax","create","interceptors","response","use","logout","Promise","reject","queryWarmup","get","queryStatus","queryUserImage","responseType","querySubweb","subweb","queryObject","seoInfo","params","cleanDeep","querySidenavPagesByLang","language","querySubwebSidenav","queryNews","query","queryNewsCategories","queryNewsChannel","onlyOfficial","queryNewsTags","queryContests","queryContestFilters","queryCalendar","queryLocations","updateSubwebSidenav","_ref3","sidenavData","console","body","content","put","sendEmailAdmin","_ref4","message","post","sendEmailAll","_ref5","sendEmailSome","_ref6","uploadImage","_ref7","file","keyword","collection","permissionLevel","fileData","JSON","stringify","form","FormData","append","queryString","encode","updateImage","_ref8","patch","getImageCollections","_ref9","getSeo","_ref11","pageId","lang","getVersion","_ref12","versionId","statusId","getVersions","_ref13","publishContent","_ref14","pageData","hardSave","preview","generatePageData","createPage","_ref15","generateInitialPageData","duplicatePage","_ref16","pageDataComputed","Array","isArray","forEach","element","push","deletePage","_ref17","delete","deleteSubweb","_ref18","archivePage","_ref19","allLanguages","putSlug","_ref20","FILES_KEY","getFiles","_ref21","currentPage","recordsPerPage","search","onlyAddedByMe","alsoAddedByMe","queryObj","orderby","sort","getFileById","_ref22","fileId","uploadFile","_ref23","description","expiresAt","putFile","_ref24","deleteFiles","_ref25","deleteImage","_ref26","PEOPLE_KEY","getPeople","_ref28","searchString","getPeopleById","_ref29","putPeopleById","_ref30","cabinet","externalPhone","internalPhone","jobPt","jobEn","visible","bodyDirty","SUBWEB_TYPE_KEY","getSubwebTypes","SUBWEB_KEY","postSubweb","_ref31","namePt","nameEn","active","typeId","uaOnlineId","serviceGuruId","serviceRHid","analyticsId","initials","logoPtTop","logoPtBottom","logoEnTop","logoEnBottom","getSubwebInfo","_ref32","putSubweb","_ref33","SUBWEB_USERS_KEY","SUBWEB_USERS_ALL_KEY","SUBWEB_USERS_PAGE_KEY","getSubwebUsers","_ref34","getAllUsers","_ref35","filter","postSubwebUser","_ref36","userId","deleteSubwebUser","_ref37","getSubwebPageUsers","_ref38","postSubwebPageUser","_ref39","deleteSubwebPageUser","_ref40","useQueryContent","_ref41","useAxios","getPageFromSlug","_ref42","getPageFromSlugOnSupport","_ref43","publishedVersion","IMAGES_KEY","getImages","_ref44","opts","listAvailableSizes","addedByMe","pagination","onlyEditable","useQueryImage","_ref46","trigger","async","removeToken","location","getCourseInfo","_ref48","getDepartmentPeople","_ref49","department","hasType","redirectErrors","getPeopleTabs","_ref51","getPivotsExcel","getStatsExcel","intervalForm","queryParams","startDate","endDate","PagesUserList","setData","isLoading","pagesQuickAccess","useSelector","pagesData","page","updatedAt","lastModified","seo","lastModifiedDistance","lastModifiedDate","Date","isValid","computedDateDistance","formatDistanceToNow","locale","pt","computeLastModified","img","isPathAbsolute","generatePortalImg","to","generateEditorPath","PagesCardList","pages","loading","defaultProps","ButtonMenuLink","pathname","isDisabled","isTitle","isActive","computedModifiers","modifiers","NavLinkStyled","exact","ButtonMenu","iconHeight","NavLink","withRouter","NavGlobalContainer","isGlobalNavOpen","useAppContext","user","subwebsFavorites","useUserContext","handleFocusSearch","isFocus","NAV_GLOBAL_OPEN_UPDATE","isAdmin","admin","subwebs","includes","matchPath","path","bottomActions","isOutsideSubweb","tooltip","el","NavGlobal","shouldOpenOnHover","onFocusSearch","onBlurSearch","sites","MediaGalleryContainer","onSelect","isInput","forceUpdate","onClickUpload","activeForm","allData","setAllData","setSearch","debouncedSearch","setDebouncedSearch","setPage","useParams","useDebounce","isFetching","resolvedData","refetch","usePaginatedQuery","totalRecords","React","images","files","_Fragment","Top","Start","InputIcon","placeholder","onChange","searchValue","End","stopPropagation","List","Spacer","bottom","Pagination","nextPage","total","pageSize","MediaGallery","top","spacing","l","xs","xl2","SUPPORTED_FORMATS","ImageSchema","Yup","shape","required","oneOf","of","test","size","FILE_SIZE_MB","MediaUploadForm","initialValues","onSubmit","onDiscard","collections","setCollections","setLoading","useHistory","permissionLevelOptions","label","isUserSubwebAdmin","computedInitialValues","option","original","err","toast","Toast","getCollections","isInitialValid","isValidSync","onGalleryDiscard","goBack","Formik","validationSchema","setSubmitting","fileValue","altValue","titleValue","languageValue","keywordValue","collectionValue","permissionLevelValue","languageImageData","uploadPortalImage","imageDataArr","imageDataLang","find","languageName","success","handleSubmitImage","enableReinitialize","isSubmitting","handleSubmit","Form","preventDefault","Container","Field","FieldImageUpload","formName","isFormActive","FieldCustom","info","FieldSelect","creatable","isMulti","colors","bg","bgDarker","MediaUpdateForm","imageId","isPage","setInitialValues","confirmRemove","setConfirmRemove","imageLoading","imageError","portalImage","date","urlObj","URL","searchParams","set","updateUrl","toString","Scrollable","Text","isEditingImage","imageUrl","ModalConfirm","remove","handleRemove","textConfirm","textDiscard","MediaUploadGallery","formCarousel","setActiveForm","isEditor","editor","goToForm","index","_formCarousel$current","slickGoTo","isMediaUploadFormActive","Modal","dots","infinite","slidesToShow","initialSlide","slidesToScroll","accessibility","draggable","swipe","arrows","adaptiveHeight","CarouselSlide","Title","left","imageData","showPreview","hasSpacing","imageValues","xl","xmlns","width","viewBox","fill","d","CloseButton","closeToast","ButtonTransparent","button","TypeIcon","ComputedIcon","color","IconWrapper","xs4","sm","roles","ADMIN","EDITOR","USER","rolesArr","Object","Authenticator","requires","redirect","userAuthenticated","hasSubwebAdminPermissions","subwebData","encodeURIComponent","hasAdminPermissions","hasEditorPermissions","hasUserPermissions","hasPermissions","propTypes","PropTypes","string","node","SubwebsUserList","max","computed","generateSubwebsWithFavoritesFirst","slice","SubwebsCardList","UsersAvatarList","users","maxItems","Avatar","More","Item","UserAvatar","shouldInteract","xs2","bgLighterS","baseLighter","sizes","xs3","computeDestination","tree","destination","source","rootId","items","secondDepthDestination","parentId","sourceItemHasChildren","parent","getParent","grandParentId","keys","computeSecondDepthDestination","treeToNav","root","schema","tabs","rootChildren","convertTreeItemToNavItem","isSecondDepth","child","links","grandChild","text","rest","hasLinks","WrappedComponent","TextEditable","useInlineEditWrapper","onFocus","onBlur","focusTrigger","disableDoubleClick","elementToEdit","inputRef","setValue","isEditing","setIsEditing","isKeyEnterPressed","setKeyEnterPressed","useKeyPressEvent","useClickAway","useInlineEdit","isFirstMount","isEditingClasses","computeEditingClasses","focus","InlineEditWrapper","role","TextareaAutosize","val","style","all","withInlineEdit","SideNavEditorItem","provided","snapshot","depth","item","removeItem","isCurrent","onChangeTitle","hasPopover","setHasPopover","titleFocusTrigger","setTitleFocusTrigger","isDragging","mustBeParent","Boolean","isOverLimit","parents","findIndex","hasChildren","isInvalidItem","open","handleOpenPageEditor","NavTitle","innerRef","draggableProps","isDanger","dragHandleProps","Inner","DragHandler","isVisible","Tooltip","placement","Warning","dangerDarker","handleTitleFocus","handleTitleBlur","PopoverActions","handlerWidth","buttonModifiers","onChangeOpen","darken","transparentize","danger","_templateObject6","shadows","card","_templateObject7","Loader","withTheme","LoaderWrapper","ContentLoader","speed","primaryColor","bgAnimation","secondaryColor","SideNavEditor","initialProps","currentSlug","useDispatch","newTree","navToTree","updateTree","hasItems","getIcon","onExpand","onCollapse","isExpanded","nextTree","removeItemFromTree","itemParentId","itemId","itemChildrenIndex","childKey","produce","draftState","splice","handleChangeTitle","newTitle","mutateTree","Tree","renderItem","onDragEnd","destinationSecondDepth","moveItemOnTree","offsetPerLevel","isDragEnabled","isNestingEnabled","components","sideNavEditorWidth","SubwebSideNavEditor","dispatchRedux","fetchSidenav","TableWrapper","injectIntl","intl","subwebPages","isLoadingTable","dispatchEditor","useMutation","onSuccess","variables","deleteDraft","fetchSubweb","onError","noDataText","formatMessage","PageTable","handlePageEdit","handlePageArchive","isLoadingActions","SubwebsPagesTableSelect","onAddPage","fetchSidenavPages","subwebPagesRemaining","pagesInTree","itemsData","pageInTree","filteredPages","searchNormalized","toLowerCase","trim","filteredTitles","indexOf","filteredSlugs","filteredAll","uniqBy","tablePage","PageTableSelect","userSubwebs","fuse","Fuse","threshold","filteredSubwebs","SubwebsTable","SelectStyles","mixins","select","PageMenuSelect","moduleId","useLocation","toUpperCase","subEditor","isExact","handleArchive","defaultOptions","getOption","opt","currentValue","isSeo","Select","classNamePrefix","noOptionsMessage","pagePath","isSearchable","PageCreateModal","langParam","PageCreateForm","editorPath","copy","en","subtitle","default","PageCreateLanguageModal","newLanguage","langCopy","pageContent","newPage","PageAddModuleModal","ModuleSelect","organism","handleDiscard","ScrollToTopOnMount","scrollTo","PageRenderer","memo","moduleToFocus","isPreview","PortalStyles","ResponsiveViewer","section","isHiddenModule","shouldFocus","Section","hasModule","modules","module","hasEditor","setActive","setTouched","editorHomePath","Component","isInline","EditorModule","Placeholder","setActiveSection","setInactiveSection","handleMouseOver","isLast","pageOriginal","SectionWrapper","onMouseOver","onEdit","openModuleEditor","moduleIndex","pageWithoutModule","saveDraft","deleteModule","onMoveUp","currentIndex","destinationIndex","pageReordered","moveModuleUp","onMoveDown","moveModuleDown","onCloseEdit","closeModuleEditor","onCopy","copied","sessionStorage","setItem","isMobilePreview","ActiveOverlay","SectionActions","ModuleActions","m","superBig","primaryDarker","primaryLighter","PageVersionModal","commit","onSetVersion","fetchVersion","pageHasModules","computeHasModules","dateComputed","generateReadablePtDate","smallSpacing","PageWrapper","PageNoContent","LoadingSpinner","border","xl6","ErrorBoundary","constructor","super","this","hasError","getDerivedStateFromError","componentDidCatch","errorInfo","render","code","helper","ErrorWrapper","Error","ErrorBoundaryEditor","Link","next","MenuEditor","triggerAdd","triggerPublish","confirmationSave","setConfirmationSave","hasConfirmed","nextSidenav","modalAdd","setModalAdd","isAddingPage","isAddingLink","setLink","subwebName","subwebTitle","subwebActive","computedSubwebLink","handleAddPage","treeWithPage","addItemsToTree","generateItem","discardLink","handleAddLink","generateKey","handleConfirmationSave","updateSidenav","tabsAddPage","isFirstUpdatePublish","isFirstUpdateAdd","useLayoutEffect","ModalHeader","TabsLineList","SideNavEditorLinkForm","MenuContent","FileSchema","createdAt","FileUploadForm","postFile","queryCache","invalidateQueries","tenYearsLater","setFullYear","getFullYear","toISOString","FieldFile","accept","maxLetters","FieldsSplit","FieldDate","xl1","notRequired","nullable","FileUpdateForm","isLoadingFile","isError","useQuery","updateFile","updatedFile","dirty","initialName","orginalName","buttonText","FileSelect","filemodule","onClickAdd","rteofile","teste","FileTableSelect","refetchData","FileSelectModal","isOpenUpload","toggleUpload","handleSelect","selectedFile","PageSchema","matches","slugRegex","FieldWithAction","Action","PageUpdateSlugForm","initialSlug","newSlug","setNewSlug","isOpenConfirmation","updateSlug","subwebUrl","generateSubwebPath","withHost","handleUpdateSlug","handleConfirm","as","PageDangerZone","handleDeletePage","peopleIDaux","PeopleList","activePeopleId","isPeopleModule","peopleID","peopleComputed","flag","i","j","photoId","check","disabledCheck","k","t","email","career","category","person","phoneExtension","PeopleTable","activeRowId","setCheck","obj","isSubwebSet","PeopleDetail","peopleId","updatePerson","isLoadingUpdatePerson","isLoadingImage","usePersonImage","jobAttributesEn","jobAttributesPt","PersonInfo","PersonUpdateForm","Schema","min","logoBottomSchema","logoTopSchema","SubwebCreateForm","showReset","isEdit","numberImageInputs","setNumberImageInputs","computedSchema","schemaWithBottom","schemaWithBoth","isLoadingSubwebType","dataSubwebTypes","isLoadingNewsType","newsTypesOptions","setChannel","channelData","valueKey","labelKey","computeOptions","getNewsData","subwebTypesOptions","renderImageFields","selected","numberLogos","resetForm","FieldToggle","FieldTextarea","SubwebUpdateForm","updateSubweb","isLoadingUpdateSubweb","SubwebForm","createSubweb","SubwebCreateModal","serviceId","ADD_USER_SUBWEB","PermissionsList","addSubwebUser","isLoadingAddUser","removeSubwebUser","isLoadingDeleteUser","dataComputed","pagePermission","subwebPermission","permissions","PeopleSelectModal","Home","Header","GlobalActions","PeoplePermissionsTable","onRemove","totalPages","showPermissionsColumn","PeopleSelect","PeopleTableSelect","selectedPerson","sizing","xSmall","small","medium","large","xLarge","xxLarge","xxxLarge","attrs","withExtendedClass","extend","fontSize","minWidth","marginRight","marginLeft","isRequired","edit","editors","subwebSlice","createSlice","initialState","reducers","getSubwebPagesStart","payload","getSubwebPagesSuccess","getSubwebPagesFailure","setSubwebPagesQuickAccess","getState","subwebState","maxQuickAccess","prefix","uniqueId","getTime","generatePortalImageSrc","PORTAL_WWW","baseUrl","PORTAL_IMAGES_ENDPOINT","removePre","isModule","pre","computePathEditor","gatherRedirect","splitUrl","split","pathToRedirect","dontEncode","pageIndex","splitted","dontEncodeIndex","hasReservedPath","join","after","afterQuerySplit","hasQuery","withDomain","withRootHome","isRootSubweb","rootSubwebs","subwebPath","homePath","rootSubwebsHomeSlug","PORTAL_HOST","reduce","dynamicSEO","seoData","newSeoData","dynamicImage","computeSeoData","keywords","first","second","isFavorite","indexOfFirst","favorite","indexOfSecond","computeDateDistance","updatePageLastModified","filterMarkdown","markdown","replace","fixRawDraft","rawDraftObj","placeholderBlock","entityRanges","inlineStyleRanges","blocks","shouldAddBefore","shouldAddAfter","parsedDate","computeDate","format","hours","minutes","seconds","convertSessionPropsToFormProps","registrationLink","startHour","endHour","convertSessionFormToProps","courses","startHours","startMinutes","endHours","endMinutes","course","c","Navigation","nav","Nav","Layout","scrollToTopOnMount","header","hasSubwebHeader","Main","main","layout","backgroundColor","paddingVertical","paddingHorizontal","applyStyleModifiers","fullscreen","stretch","darker","bgLighter","relative","center","storybook","xl4","validate","setValues","disableSlug","setDisableSlugify","newValues","slugFromTitle","slugify","replacement","lower","strict","pageDefault","isEditable","PageCardLoader","PageList","_createElement","PageCard","pageCard","NavTop","Row","itemData","NavItemGlobal","activeSubweb","activeColor","titleShort","SubwebsList","maxVisible","listHeight","numberOfCards","listRef","activeSubwebIndex","site","scrollToItem","Styles","itemCount","itemSize","borderLighter","setIsHover","isNavOpen","setIsNavOpen","computedLogoVersion","computedButtonModifiers","handleMouseEnter","handleMouseLeave","hideArrow","LogoUA","version","Center","Bottom","iconAltStyle","AvatarWrapper","showName","navGlobal","widthClosed","borderSizeM","xl3","TabsList","Tabs","onClose","isClosable","Tab","loadingImages","styleModifiers","imageHoverMessage","dateToken","ImageWrapper","ImageSelect","ImageLoader","greyLighter","PageMenuMain","drafts","publishLoading","setPublishLoading","confirmationModal","setConfirmationModal","confirmationLanguageLeave","setConfirmationLanguageLeave","nextLang","confirmRollback","setConfirmRollback","confirmPreview","setConfirmPreview","pageDraft","hasEdited","changeLanguage","paramsWithoutModule","newPathFromLang","resetConfirmationLanguageLeave","handleConfirmLanguageLeave","shouldChangeLanguage","activeValue","shouldDisableButtons","onPublish","isSaved","isDraft","isArchive","isPrePublished","toastTitle","toastDescription","screenValue","screensOpts","handleConfirmRollback","discardChanges","pageUrl","pageTempUrl","editedAt","SEO","statusTooltipMessage","editedDateDistance","conflictMessage","ModalCopyLink","IconButton","navigator","clipboard","writeText","ModalActions","textDecoration","href","rel","PageMenu","right","newLang","LoadingDot","Info","Status","FormattedMessage","handleRollback","ResponsiveViewerSelect","newScreen","ButtonTemporaryPublish","isEdited","ButtonPublish","weight","base","xbase","loadingData","hasData","dummy","SubwebCard","shortTitle","MenuAccordion","activeIndex","setActiveIndex","MenuAccordionItem","openIndex","isStretched","DiffViewer","oldCode","newCode","DiffStyle","ReactDiffViewer","oldValue","newValue","showDiffOnly","splitView","hideLineNumbers","bool","Table","columns","accessor","Cell","CellLink","loadingDots","CellEnd","disabled","position","align","defaultPageSize","minRows","sortable","showPagination","loadingText","clearRowPadding","LoadingCell","langLinks","langKey","PageState","stateItems","getTrProps","rowInfo","resizable","CellStart","PublicNavBar","PublicNavBarBase","social","ariaLabel","onlyIcon","styles","fontWeight","fontDecoration","auth","iconLogOut","cursor","iconLogIn","NavPublics","isLogin","MetadataSchema","TagLabel","MetadataForm","newProps","validateOnMount","formatCreateLabel","FieldImageGalleryUpload","modulesSelectable","modulesKeys","moduleKey","adminOnly","hidden","modulesFiltered","ModuleCard","thumbnail","HistoryCommitList","CommitList","HistoryCommit","manageIcon","FileTable","copyToClipboard","useCopyToClipboard","confirmation","setConfirmation","isConfirmed","iconbutton","setIcon","deleteFile","filesComputed","memfiles","parse","getItem","auxObj","currentCheck","dateUpdate","unshift","numberDownloads","lastDownload","filesize","isDisable","ic","handleFileSelect","prev","Clamp","_ref10","handleCopyToClipboard","assign","handleDownload","handleEditFile","handlePeopleSelect","CellCursor","Number","oneOfType","number","markdownTools","phoneRegex","FieldMarkdown","toolbar","arrayOf","intlType","func","LoaderSpinner","bgInverse","screens","mobile","tablet","desktop","computedScreen","Viewer","hasHash","portalWWW","imageAPI","md","lg","below","acc","above","rem","xl3m","xl5","xl7","xll","white","whiteDark","black","blackLight","grey","greyAnchor","greyLight","greyBorder","greyDark","greyBg","green","blue","blueLight","yellow","orange","red","serif","icons","typos","input","xxlight","xlight","light","bold","borderSize","headerLine","letterSpacing","facebook","instagram","twitter","linkedIn","youtube","fa_print","arrow_up","chevron_up","chevron_down","chevron_left","chevron_right","plus","times_icon","fas_times","calendar","share_alt","audio_description","audio_description_active","youtube_play","isDev","nodeEnv","isProd","deployEnv","process","isDeployDev","isDeployQa","isDeployProduction","isDeployNew","computedDeployUrl","qa","dev","production","__new__","ua","aboutua","education","live","investigation","international","cooperate","linkRegex","linkRegexOptional","linkVideoRegex","defaultSeoImage","defaultHtmlTable","inputStyle","FieldFormik","variantModifier","primary","primaryBackgroundColor","primaryBorderColor","primaryHoverColor","primaryHoverBackgroundColor","primaryFocus","primaryIconBackgroundColor","primaryIconColor","dark","darkColor","darkBackgroundColor","darkBorderColor","darkHoverColor","darkHoverBackgroundColor","darkFocus","darkIconBackgroundColor","darkIconColor","lightColor","lightBackgroundColor","lightBorderColor","lightHoverColor","lightHoverBackgroundColor","lightFocus","lightIconBackgroundColor","lightIconColor","borderColor","hoverColor","hoverBackgroundColor","iconBackgroundColor","iconColor","variant","padding","lineHeight","AnimatedBackground","animatedBackground","gradientColor","LineTruncate","Triangle","triangle","withContent","contentSize","contentFontWeight","contentColor","XsSize","XsTop","XsContentSize","rotate","mediumSmall","p","isThemeReverse","isSerif","fontFamily","colorReverse","transform","textTransform","display","visibility","marginTop","marginBottom","paddingTop","paddingBottom","firstLetter","mobileSmFontSize","mobileXsFontSize","ScreenReaderText","span","Line","line","widthDifference","Image","maxHeight","objectFit","borderRadius","LinkStyles","a","background","margin","paddingRight","borderRight","textDecorationColor","uppercase","opacity","outlineOffset","lighten","mdMarginBottom","hasSameBackground","Input","breakpoints","names","mediaQueries","isVector","useHeight","absoluteSize","backgroundSize","imagePosition","onHandleSrc","param","isAbsolute","defaultSrc","breakpoint","media","srcSet","smHeight","imagePlaceholder","ImageContainer","backgroundPosition","backgroundRepeat","backgroundAttachment","mdHeight","HorizontalList","ul","xsTextAlign","VerticalList","listStyleType","listPaddingTop","listPaddingBottom","ListItem","li","paddingLeft","borderTop","borderBottom","borderLeft","verticalAlign","separationLine","lineColor","tag","tabIndex","TitleWithStyles","fontStyle","alternativeStyle","break","mobileMdColor","HelperStyled","mouseY","mouseX","Helper","LinkExternal","hasPop","cleanUrl","native","Portal","ContentContainer","boxShadow","justifyContent","flexDirection","alignItems","flexGrow","minHeight","overflow","overflowX","float","clear","hasLink","pointer","behavior","lastChildBorderBottom","underlineWithAnimation","underlineAnimationColor","lgMargintop","mobileLgMarginRight","lgMarginBottom","mobileLgMarginLeft","mobileLgPaddingTop","mobileLgPaddingRight","mobileLgPaddingBottom","mobileLgPaddingLeft","mobileLgBorderTop","mobileLgBorderBottom","mobileXlDisplay","mobileXlWidth","mobileMdBgColor","mobileMdDisplay","mobileMdTop","mobileMdWidth","mdMargintop","mobileMdMarginRight","mobileMdMarginLeft","mdPadding","mobileMdPaddingTop","mobileMdPaddingBottom","mobileMdBorderBottom","mobileMdBorderTop","mobileSmWidth","smTop","smMargintop","mobileSmMarginRight","smMarginbottom","mobileSmMarginLeft","mobileSmPaddingLeft","mobileSmPaddingRight","mobileSmPaddingTop","mobileXsWidth","mobileXsHeight","xsTop","mobileXsDisplay","mobileXsMarginTop","mobileXsMarginRight","mobileXsMarginLeft","mobileXsMarginBottom","mobileXsPaddingTop","mobileXsPaddingBottom","mobileXsBorderBottom","mobileXsBorderTop","types","defaults","ScrollMoreWithStyles","scrollMore","pageCardShape","headerShape","modifiersType","baseInverse","bgDark","bgFocus","bgPrimary","blueFocus","borderBtn","dangerLighter","editorBg","editorHighlight","greyLighS","greyLightM","redDarker","redLighter","warn","warnDark","warnLighter","whiteDarker","maxWidth","widthNav","menuHeader","navActions","sectionCard","table","borderRadiusM","hash","summary","any","compose","_len","funcs","_key","b","arg","isIE","userAgent","TRAILING_NEW_LINE","strlen","str","from","DefaultBlockTypes","paragraph_open","blockquote_open","ordered_list_item_open","unordered_list_item_open","fence","heading_open","hLevel","DefaultBlockEntities","link_open","mutability","DefaultBlockStyles","strong_open","em_open","idCounter","generateUniqueKey","markdownToDraft","remarkablePreset","remarkableOptions","Remarkable","enable","ruler","disable","entries","remarkablePlugins","plugin","entityMap","parsedData","currentListType","previousBlockEndingLine","BlockTypes","blockTypes","BlockEntities","blockEntities","BlockStyles","blockStyles","itemType","blockEntityRanges","blockInlineStyleRanges","inlineItem","styleBlock","offset","parseInline","blockToModify","level","Math","floor","preserveNewlines","totalEmptyParagraphsToCreate","lines","atomicItem","parseAtomic","TRAILING_WHITESPACE","MARKDOWN_STYLE_CHARACTERS","MARKDOWN_STYLE_CHARACTER_REGXP","orderedListNumber","previousOrderedListDepth","StyleItems","close","blockquote","BOLD","ITALIC","STRIKETHROUGH","CODE","EntityItems","LINK","SingleNewlineAfterBlock","renderBlock","rawDraftObject","markdownToAdd","markdownString","customStyleItems","styleItems","customEntityItems","entityItems","escapeMarkdownCharacters","hasOwnProperty","markdownStyleCharactersToEscape","isEmptyBlock","repeat","openTags","openTag","styleToAdd","entityToAdd","closeTag","pop","trailingWhitespace","exec","compareTagsLastCloseFirst","reverse","array","some","character","characterIndex","tagsToSplit","inlineTagsToOpen","entityTagsToOpen","openingStyle","markdownStringIndexEnd","openingStyleLength","markdownStringIndexStart","escapeCharacter","popOpeningStyle","replacementString","draftToMarkdown","SeoEditor","dynamicSeo","setDynamicSeo","metadata","setMetadata","initialPropsComputed","fetchSeo","FacebookShare","withDescription","mergedProps","langs","defaultLangKey","ItemContent","StatusCircle","ItemWrapper","UserContext","userLoading","userFailure","isPreviousGatherPage","QUERY_CURRENT_USER_SUCCESS","QUERY_CURRENT_USER_LOADING","QUERY_CURRENT_USER_FAILURE","LOGOUT_USER","UPDATE_GATHER_REDIRECT","UPDATE_GATHER_PREVIOUS","UserProvider","updateGatherRedirect","LinkSchema","RichTextEditor","onEditorStateChange","onStateChangeOptionHtml","EditorStyles","MarkdownStyles","Editor","editorClassName","wrapperClassName","customBlockRenderFunc","localization","translations","toolbarCustomButtons","RichTextEditorOptionVideo","RichTextEditorOptionFile","RichTextEditorOptionHtml","viewsColors","TOKENS","parser","startLine","endLine","silent","lineStart","bMarks","tShift","lineEnd","eMarks","tagMarker","charCodeAt","nextLine","hasEnding","insideText","nextLineStart","nextLineEnd","nextLineText","oldMax","lineMax","oldParentType","parentType","tokens","before","renderer","rules","pos","lineText","videoElement","DOMParser","parseFromString","getElementsByTagName","videoUrl","getAttribute","videoBlock","idx","ImageRegexp","imageBlock","RichTextEditorMarkdown","initialMarkdown","isRaw","setMarkdown","raw","setRaw","setEditorState","markdownFiltered","remarkableCarouselPlugin","remarkableVideoPlugin","remarkableImagePlugin","carousel_open","video_open","image_open","rawDraftObjFix","createWithContent","convertFromRaw","handleChange","getCurrentContent","convertToRaw","markdownFromEditorState","CAROUSEL","VIDEO","IMAGE","TextAreaWrapper","handleMarkdownChange","newMarkdown","newRaw","JsonEditor","editorProps","setEditorProps","updated_src","newSrc","Seperator","ReactJson","onAdd","iconStyle","displayDataTypes","collapsed","disableInline","lastProps","lastModuleId","addTrigger","setAddTrigger","moduleProps","moduleName","_modules$name$options","moduleExists","ComponentEditor","handleOnChange","newLiveData","saveLastProps","saveLastModuleID","moduleDefaults","closeModule","hasTitle","hasAdd","activeColors","public","internal","String","marginTopMarkdown","spacingBottom","spacingLeft","agendaFeatured","dateContainerTextColor","buttonBgColor","buttonTextColor","textColor","titleColor","dateColor","dateContainerBgColor","textColorHover","animationBgColor","plusButton","mdPaddingTop","borderLightColor","optionColor","minorColor","linksTextDecorationColor","candidatureCard","buttonBackgroundColor","cardBackgroundColor","dropDown","dropList","sectionHeader","outlineColor","tabContent","article","carousel","legendColor","dotsColor","listItem","mobilePublicNavBar","linksColor","publicNavbar","myUAColor","customArrow","customArrowColor","studentCard","messages","withPortalProviders","IntlProvider","ThemeProvider","Theme","InjectIntlContext","ConfigProvider","portalAPI","PortalLink","formattedMessage","lenght","IconText","shouldAnimate","shouldInk","Ink","BarVertical","BarVerticalStyled","getWidth","originalWidth","originalHeight","currentHeight","round","isInverseModifierActive","fillRule","stroke","strokeWidth","strokeLinecap","strokeLinejoin","xmlnsXlink","xlinkHref","clipPath","mask","defaultIcons","closed","IconToggle","setModifiers","setColor","iconName","h1","fixMarginBottom","fixSpacing","paddingBottomM","h3","h4","modifiersComputed","HELPER_TITLE_MODIFIERS","bottomMargin","HelperTitle","Comment","baseLighterS","lighter","weightBase","inverse","underline","Tag","iconForward","hideChildren","computedIconHeight","big","clean","iconOnly","clearSpacing","clearHorizontal","clearMargin","globalNav","primaryAlt","clearSpacingTop","FormFormik","shrink","start","ErrorMessage","FieldInfo","FieldMaxLetters","numberOfLetters","isOverMaxLetter","SearchInput","showSearch","setFocus","computedColor","showInput","SearchInputWrapper","InputWrapper","ButtonWrapper","FileInput","initialValue","setFile","File","click","newFile","BUTTON_MODIFIERS","smallText","xsText","borderless","leftAlign","spaceBetween","removeBorders","bottomBorder","removeBottomBorder","capitalize","smaller","stretchY","alignLeft","disabledText","invisible","invisibleDarker","invisibleHover","invisibleWithHover","bgLighterSHover","contrast","fixHeight","fixedWidthMedium","newItemText","loadingDotModifiers","ButtonLoading","basex","ActionTriangle","heightRem","useMargin","debugMode","spacingStyles","computeSpacing","themeSpacing","rightSpacing","bottomSpacing","leftSpacing","SpacingStyles","spacer","addBorder","hr","TAB_MODIFIERS","TabWrapper","ButtonClose","handleOnClose","TabLine","isLink","computedClass","TabNavLink","TabAnchor","tabDefaults","TabStyle","AVATAR_MODIFIERS","xl9","IMAGE_MODIFIERS","AvatarBase","hasImage","computedIconColor","isInverse","isLight","ImageFile","isPortal","isLoaded","setLoaded","onLoad","computedSrc","imgHeight","decoding","portalRoot","getElementById","createElement","componentDidMount","appendChild","componentWillUnmount","removeChild","ReactDOM","createPortal","Hover","Loading","bgHover","LOADING_DOT_MODIFIERS","LoadingWrapper","cx","cy","r","attributeName","dur","repeatCount","begin","computeMessage","defaultModifiers","Styled","ReactTable","clearPadding","ScreenReader","Circle","sharedStyle","hasHover","hasIconHover","mobileSmPadding","mobileXsLineHeight","NativeLink","propsComputed","moment","ReactCalendar","Calendar","next2Label","prev2Label","formatShortWeekday","formatMonthYear","formatMonth","ReactCalendarWithStyles","ReactTimePicker","TimePicker","clearIcon","hourAriaLabel","hourPlaceholder","minuteAriaLabel","minutePlaceholder","disableClock","ReactTimePickerWithStyles","draftsAuthorId","draftsAppVersion","packageJson","draftsSlice","setEditorUserId","savePageLocalstorage","saveLastPropsOnLocalstorage","saveLastModuleId","deletePageLocalstorage","deleteAll","deleteAllDrafts","setImage","setIsLoading","setIsError","isMounted","useMountedState","sourceUser","CancelToken","sourceAvatar","cancelToken","userImage","byteLength","Buffer","isCancel","fetchUserAvatar","cancel","NavToggle","isActiveDefault","showIcon","setIsActive","opacityAnim","useSpring","Relative","IconToggleWrapper","animated","MenuHeader","h2","setIsOpen","isHoverIcon","setIsHoverIcon","PageCardMain","titleIcon","Preview","PreviewDefault","Description","SpacingRight","HelperComment","DropdownIndicator","selectTheme","dangerLight","neutral0","neutral5","neutral10","neutral20","neutral30","neutral40","neutral50","neutral60","neutral70","neutral80","neutral90","primary25","primary50","primary75","SearchBar","handleSearch","inputEl","setFocused","debouncedCallback","useDebouncedCallback","disabledStyles","log","InputSpacingFix","setFieldTouched","fieldRef","firstErrorKey","modifiersField","renderLettersError","FieldPre","FormField","args","FormErrorMessage","FormFieldInfo","FieldArray","canAdd","onAddClick","hasMoveUp","onReorderClick","hasMoveDown","onDropIndexClick","WrapperAdd","FieldArrayDndHeader","columnProps","HeaderColumn","updateItem","result","addItem","isReverse","getKey","rowKey","FieldArrayDnd","ItemForm","itemFormProps","shouldHideHeaders","minItems","shouldAddOnTop","shouldAddSearch","searchKeys","searchPlaceholder","shouldAllowReorder","disableClickOutside","extra","setItems","itemBeingEdited","setItemBeingEdited","CellDefault","itemsWithKey","draggableId","newItems","deleteItem","savePeople","resetItemBeingEdited","handleAddItem","allowRemoveItem","allowAddingItems","filteredItems","shouldAllowReorderComputed","fileitems","addItemFiles","peopleitems","contactsList","auxEmail","addItemPeople","handleFormSubmit","submitForm","DragDropContext","reorder","startIndex","endIndex","removed","Droppable","droppableId","droppableProps","Draggable","providedDraggable","Column","hide","hasInitialSpacing","setFieldValue","FieldImage","computedIsLocal","hasAlt","computedText","ImageInput","ImageHover","MediaInputAlt","initialFile","initialImage","ImageInfo","getLabelFromOptions","SelectComponent","Creatable","valuesComputed","FieldSelectStyles","MODAL_SET_SHOULD_CLOSE_ON_CLICK_OUTSIDE","menuPortalTarget","Option","innerProps","isFocused","otherProps","onMouseMove","otherInnerProps","MenuList","getValue","initialOffset","initialScrollOffset","filterOption","createFilter","ignoreAccents","computedModidifiers","handleClickWrapper","tabindex","WidgetCheckbox","isChecked","FieldWrapper","RichTextEditorOptionClearStyle","RichTextEditorMarkdownInput","debouncedConvertMarkdown","RichTextEditorInput","FormFieldMaxLetters","handleBlur","FormFieldLine","isDatePickerVisible","setDatePickerVisible","wrapperRef","handleFocus","readableDate","isValidDate","restField","dateString","FieldIcon","DatePickerWrapper","DatePicker","FieldTimePicker","fieldRest","SectionCard","animation","NoImage","Active","ModuleActionItem","renderButton","delayShow","moduleShouldUseActiveColor","newModuleAboveButton","editingButton","copyButton","moveUpButton","moveDownButton","getDefault","_sectionActive$split$","newModuleProps","alreadyHasArticle","arraySplitIndex","pageWithModule","_","languages","PopoverBase","triggerClose","Popover","transitionDuration","_ThemeProvider","onClickOutside","containerStyle","Handler","ModalBase","containerEl","modalsOpen","shouldCloseModalOnClickOutside","modalKey","isBodyFocused","activeElement","tagName","isLastModalOpened","MODAL_ADD","MODAL_REMOVE","Close","MediaInput","shouldPreview","setPreview","setError","currentFile","setCurrentFile","hasRemoved","setHasRemoved","reader","FileReader","onload","readAsDataURL","handleUpload","getRootProps","getInputProps","isDragActive","useDropzone","onDrop","computedIsEditable","rootProps","HoverCenter","DropzoneWrapper","Dropzone","updatePreview","lastIndexOf","Device","DeviceButton","ActiveLine","handleOnClick","optionClicked","FormJsonSchema","lazy","jsonSchema","properties","additionalProperties","RichTextEditorOptionCarousel","Suspense","fallback","addBlock","insertBlock","picture","VideoSchema","html","setHtml","toggleDisabled","newHtml","rows","convertHtmlToMarkdown","TurndownService","turndown","insertMarkdown","memoizedTeste","rec","insertLink","removeInlineStyles","editorStateCleanInline","Modifier","removeInlineStyle","getSelection","customStyles","getSelectionCustomInlineStyle","removeAllInlineStyles","editorStateClean","selection","newContentState","setBlockType","removeAllBlockStyles","isSelecting","selectionText","getSelectionText","cardSize","MODIFIERS","stretchHeight","userFromContext","Card","Subtitle","User","TooltipTrigger","arrowRef","tooltipRef","getArrowProps","getTooltipProps","getTriggerProps","triggerRef","Accordion","Content","setTriggerClose","handleActionClick","whitelistedLangs","langState","htmlFor","items_per_page","jump_to","jump_to_confirm","next_page","prev_page","prev_5","next_5","prev_3","next_3","PaginationBase","showTitle","linkColor","mainColor","linkHoverColor","disabledHover","linkActive","jumpNextColor","jumpNextHoverColor","jumpPrevColor","disabledLinkColor","quickJumperInputBgColor","quickJumperInputHoverColor","quickJumperButtonColor","quickJumperButtonBgColor","quickJumperButtonHAFColor","quickJumperButtonHAFBgColor","simplePagerInputBgColor","simplePagerInputHoverColor","simplePagerButtonColor","simplePagerButtonBgColor","simplePagerButtonHAFColor","simplePagerButtonHAFBgColor","Toggle","checked","FieldMedia","formData","errorSchema","setState","useSetState","__errors","Message","Share","Data","Url","Module","onContact","onPreview","Commit","ActionIcon","linkExpired","handlePreview","handleContact","Person","ImagePlaceholder","userAvatar","setUserAvatar","loadingUserAvatar","setLoadingUserAvatar","reset","setReset","setToken","loginPathQueryToken","preventLogout","currentUser","initialRequest","fetchUser","addToken","authenticatedUserId","localStorage","handleSavedDrafts","loadingAnimation","onRest","computedMessage","fadeIn","setAnimationStyle","tryParseJSON","parsed","findLinkEntities","callback","findEntityRanges","decorator","CompositeDecorator","strategy","currentContent","createEntity","getLastCreatedEntityKey","textWithEntity","insertText","contentStateWithEntity","AtomicBlockUtils","insertAtomicBlock","selectionState","keyAfter","getKeyAfter","getKeyBefore","withoutAtomicEntity","removeRange","SelectionState","anchorKey","anchorOffset","focusKey","focusOffset","getLength","blockMap","getBlockMap","withoutAtomic","merge","selectionAfter","isPathEditor","call","exportExcel","res","filename","_link$parentNode","fileName","byteArray","createObjectURL","Blob","setAttribute","parentNode","EditorCopyModules","hasModules","hasOtherLanguage","handleCopyContent","hasBottomSpacing","lgBorderTop","lgPaddingTop","lgPaddingBottom","mdBorderTop","mdPaddingBottom","PlusButton","CustomArrow","double","tableRowSpace","tableHeaderMarginTop","col2Size","col3Size","col4Size","col2SizeMobile","col3SizeMobile","col4SizeMobile","borders","lightBorders","Dropdown","minContentWidth","withUnderlineAnimation","DropdownList","StudentCard","imageBgColor","about","onKeyDown","StudentCardWithStyles","focusColor","AgendaFeatured","dateContainerDay","dateContainerMonth","AgendaFeaturedWithStyles","CandidatureCard","CandidatureCardWithStyles","MarkdownRenderer","imageOption","markdownOptions","forceBlock","overrides","video","h5","hasVerticalSpacing","carouselxl","Markdown","isProfile","shouldStretchVertical","filteredImages","Slider","useTransform","centerMode","centerPadding","prevArrow","nextArrow","responsive","settings","ReactPlayer","controls","SubWebWarningsModule","shouldUpdateData","setShouldUpdateData","activeTab","onFilterData","prevState","departmentProps","onChangeTab","show","onHandleMore","SubWebWarnings","SubWebEventsModule","SubWebEvents","PlaceholderEditor","SliderCell","Overlay","whyDidYouRender","hasWarning","warningDescription","displayTab","useInterval","when","is","then","otherwise","accessible","SliderItemForm","forwardRef","formRef","initialType","initialTab","tab","setTab","initialValuesVideo","restImage","initialValuesImage","restVideo","TabsWrapper","warningTitle","SliderEditor","newData","newList","FieldArrayDndFormik","News","featured","channel","categoriesToIgnore","categories","listNews","setListNews","newsItems","NewsPortal","NewsSchema","tabLabelKey","NewsEditor","setCategories","setTag","channels","initialCategories","catData","tabData","FieldSelectOptimized","Contests","contestType","states","contests","setContests","contestsFiltered","setContestsFiltered","setActiveTab","filteredContests","contest","hasOpenApplications","openApplications","isAdmissionState","contestStateId","day","month","year","submissionDeadlineFormattedDate","isSubmissionDeadlineExpired","getContests","ContestsPortal","ContestsSchema","contestsTitle","ContestsEditor","setTypes","setStates","statesFiltered","statesToIgnore","getContestOptionsData","Timely","TimelySchema","TimelyEditor","identifier","TextPortal","ArticleEditor","handleChangeMarkdown","initialTitle","TextEditor","ArticleModule","dataProps","hasTitleDefault","articleProps","defaultContent","hasContent","gridClasses","Article","SideNavJSON","titleStyles","defaultSchema","FactsSchema","FactsEditor","ItemSchema","NumbersSchema","sectionTitle","NumbersEditor","themeContext","ThemeContext","subwebColor","_user$subwebs$find$co","_user$subwebs$find","sub","sectionTitleColor","hasSectionTitle","Agenda","endpoint","listEvents","listEventsHighlight","parseNumbers","getCalendarData","AgendaPortal","AgendaSchema","categorie","AgendaEditor","getFieldsOptions","newQuery","newEndpoint","defaultData","ImageEditor","SchemaItem","SchemaMulti","CellContent","MultiColumnsEditor","isSingleColumn","buttonTitle","newButtonTitle","CardsSchema","CardsEditor","Cards","computedProps","cardsProps","CardsPortal","SubWebDepartmentSchema","SubWebDepartmentEditor","SubWebLinksSchema","LinksForm","initialValuesComputed","SubWebLinksEditor","SubWebCourses","SubWebCoursesEditor","TestimonialsSchema","TestimonialsEditor","dataRaw","moduleData","cardUrl","TestimonialsWithLinkSchema","TestimonialsWithLinkEditor","SubWebPeopleTemplate","structure","isTabsLoading","popcorn","onFetchData","requestType","onFetchContent","departmentId","onFetchTabs","peopleProps","SubWebPeople","context","_context$pageLiveData","_context$pageLiveData2","_context$pageLiveData3","isNewItem","isFirstGroup","isFirstGroupTitleEmpty","computeDropTabs","ItemFormItem","peopleArray","setPeopleArray","aux","newArray","handleClickAdd","infoArray","SubWebPeopleEditor","setCall","droptabs","setdroptabs","droptabCall","setDroptabCall","droptab","onFetchContentTabs","handleFormChange","onClickLoad","onClickClean","SocialItemSchema","SocialItemForm","lon","lat","z","locationId","SubWebContactsEditor","locations","setLocations","mapUrl","q","locData","completeList","getLocationsData","computedValues","latNew","lonNew","locationIdNew","latPrevious","lonPrevious","latBD","lonBD","coordenates","offsetCalc","parseFloat","abs","newMapUrl","SchemaResult","OneFactEditor","useLink","CampusForm","backgroundImage","hasText","formToModuleSchema","CampusEditor","TableSchema","TablesEditor","apiKey","init","menubar","plugins","toolbar_sticky","content_css","forced_root_block","valid_elements","valid_children","toolbar_mode","contextmenu","document_base_url","onEditorChange","SubWebVideoEditor","disableCookiesCheck","ItemWithLinkSchema","_initialValues$hasLin","isImagesMode","GalleryEditor","imagesMode","MultipleDataSchema","AlignedFieldToogle","FAQItemForm","FAQMultipleDataForm","FaqEditor","multipleData","hasMultiple","hasEndDate","hasEndDateTemp","buttonLink","hasImageSection","hasButton","imageCover","SubWebEventsEditor","cards","hrefTmp","subTitle","warningSchema","elem","typeMode","SubWebScheduleEditor","getHours","getTitleOther","getTitlePhone","getTitleLocal","titleLocal","titlePhone","titleOther","textLink","localService","phoneService","column1","column2","hrefLink","startHourLocal","endHourLocal","startWeekDay","startWeekDayLocal","endWeekDay","endWeekDayLocal","contentLocal","phone","other","optionsPt","optionsEn","withColumns","editorNew","subTitle1","description1","content1","subTitle2","description2","SessionFormSchema","XperimentaSchema","sessions","SessionItemForm","coursesOptionsClean","coursesWithoutSessions","selectedCourse","XperimentaEditor","setCourses","coursesData","degree","getCoursesData","sesssionData","sessionsClean","session","editorPropsClean","generateNewFilter","initialFilter","newFilter","Xperimenta","filters","buttons","staticData","defaultValues","knowledgeAreas","activeFilters","setActiveFilters","orderByDegree","degrees","firstElement","secondElement","onChangeFilter","orderedButtons","filteredData","degreeData","deg","filteredList","area","knowledgeAreaFilter","handleFilterData","XperimentaPortal","MultiColumns","hasLine","MultiColumnsPortal","tags","Breadcrumbs","SideNav","AgendaThumbnail","isInternalLink","showHeader","eventStyles","descriptionColor","categoriesStyles","SubWebDepartment","SubwebDepartmentEditor","SubWebDepartmentThumbnail","ArticleThumbnail","hasSubTitle","hasSEO","SubWebWarningsEditor","SubWebWarningsThumbnail","CardsThumbnail","SubWebContacts","SubWebContactsThumbnail","SubWebCoursesInternal","SubWebCoursesThumbnail","autoplay","SliderThumbnail","Campus","Campos","CampusThumbnail","isMarkdown","SubWebEventsThumbnail","Facts","FactsThumbnail","getDefaultFacts","Gallery","hasTheater","GalleryThumbnail","hasDescription","SubWebSchedule","SubWebScheduleThumbnail","isClosed","imageProps","generateImage","ImageThumbnail","SubWebLinks","NewsThumbnail","resource","titleProps","cardStyles","ContestsThumbnail","TimelyThumbnail","OneFact","OneFactThumbnail","Numbers","NumbersThumbnail","hasDate","SubWebPeopleThumbnail","Tables","TablesThumbnail","isFullWidth","Testimonials","About","TestimonialsThumbnail","TestimonialsWithLink","TestimonialsWithLinkThumbnail","MultiColumnsThumbnail","SubWebVideo","Streaming","SubWebVideoThumbnail","XperimentaThumbnail","FAQ","FAQThumbnail","sidenavSlice","getSidenavStart","getSidenavFailure","getSidenavSuccess","updateSidenavStart","updateSidenavFailure","updateSidenavSuccess","getSidenavPagesStart","getSidenavPagesSuccess","getSidenavPagesFailure","Mask","ContentContainerMolecule","LoadingCard","LoadingWithStyles","innerHeight","onEdgeLeft","setEdgeLeft","onEdgeRight","setEdgeRight","sliderRef","onHandleTabNavigation","shiftKey","slickPrev","slickNext","dispatchEvent","Event","innerWidth","onEdgeClass","scrollHeight","scrollDown","onKeyPress","onHandleEnter","hasEndpoint","TextTruncate","showLangMessage","contentDefault","Fragment","autoFocus","PublicNavbar","loginClick","iconNames","HorizontalListMolecule","ListItemMolecule","PublicNavBarWithStyles","loadings","iconContainerBgColor","heightProp","fetch","json","DefaultWithStyles","ContentContainerAtom","highContrast","sizeXsSize","SubWebtWithStyles","subWeb","bgColor","warning","VideoWithStyles","audioDescription","onPlay","setPlay","adButton","onEnded","onEndVideo","playing","playerVars","showinfo","iv_load_policy","modestbranding","fs","onPlayVideo","toolTipBgColor","toolTipColor","urlExtension","onChangeVideo","autoplaySpeed","arrowSize","onSelectLayout","isExternaLink","SubWeb","Video","Default","ScrollMore","headerWithStyles","isSubWeb","arrowBackgroundColor","arrowColor","mobileHeight","colorsSemantic","xl8","sideWidth","menuHeight","sideMenuWidth","isChildrenLoading","convertChildItem","childrenNames","childrenSlugs","isChildrenCurrentSlug","childSlug","newChildren","newRootItem","childItems","childrenWithUniqueKeys","rootItem","childItemsArr","createChildren","linksWithUniqueKeys","childItem","AppContext","indexToRemove","AppProvider","Dashboard","isOpenSubwebModal","toggleSubwebModal","SubwebsListTable","SectionTitle","InlineAnchor","toggle2","handleDeleteSubweb","isLoading2","decodeURIComponent","modifier","SubwebsPagesTable","SideNavEditorParentForm","SideBySide","FormWrapper","parentItem","setParentItem","publishTrigger","setPublishTrigger","add","isAddingParent","activeLangValue","newPath","handleAddParent","newItem","ThePage","PageDuplicate","toggleConfirmation","isOpenDuplicateMetadata","toggleDuplicateMetadata","handleDuplicatePage","EditorSettings","seoProps","articleIndex","articlePropsUpdatedTitle","computeDescription","firstName","statusMessage","computeStatus","versionStatus","generatePageWithUpdatedSEO","parseVersionDataToProps","isExpired","commits","setCommits","confirmationChangeVersion","setConfirmationChangeVersion","previewVersion","setPreviewVersion","fetchVersions","handleConfirmChangeVersion","shouldChangeVersion","setVersion","pageUpdated","commitsComputed","handlePreviewVersion","userUu","EditorDiff","Page","EditorJSON","textInput","setInput","handleSave","EditorAddModule","EditorPasteModule","module2paste","handlePasteContent","EditorNoContent","EditorPermissions","PermissionsListPage","draftPages","newLanguageModal","setNewLanguageModal","lastLocation","useLastLocation","isOpenIncorrectDraftLanguage","setIsOpenIncorrectDraftLanguage","toggleIncorrectDraftLanguage","handleIncorrectDraftLanguage","shouldRestore","moduleInPage","reFetch","queryPage","pageTitleComputed","titleLang","articleData","articleDataLang","handleToggleLanguageModal","dummyPageContent","isDiffPage","isJsonPage","isHistoryPage","isPermissionsPage","layoutModifiers","isOutdated","seoDB","seoLive","lastModifiedDB","lastModifiedLive","isAfter","isOpenOutdatedModal","setIsOpenOutdatedModal","toggleOutdatedModal","handleUpdate","shouldUpdatePage","shouldScrollToTop","prevPathname","isJson","isDiff","Prompt","PageMenuWrapper","View","EditorJson","EditorPage","EditorPasteModules","EditorHistory","SideBySideAlt","roleOpts","BackgroundImage","LoginForm","Login","animationEnded","setAnimationEnded","userRole","setUserRole","localObj","levelObj","loginUrl","menuPlacement","thumbnailImage","Fullscreen","NotFound","Profile","username","handleDeleteDrafts","UnderDevelopment","assetId","Dummy","MarkdownRendererLib","Split","useLocalStorage","SUBWEB","handleHrefClick","nodeName","getPage","_page$pageContent$fil","isOpenUpdateForm","toggleUpdateForm","handleCloseUpdateFormModal","originalName","isDetail","PeopleSideDetail","handleCloseDetail","Route","IntervalSchema","functionalities","initialFunc","setFunc","valid","setValid","loadingStats","setLoadingStats","loadingPivots","setLoadingPivots","setIntervalForm","setHours","newTabs","emailOptions","handleIntervalChange","subject","renderSubForm","renderForm","renderTab","FeatWrapper","handleExportPivots","FormSpacer","handleExportStats","pagesFullscreen","Bar","Router","hasNav","Switch","Gather","Admin","Support","Subweb","GalleryUpload","GalleryEdit","Files","People","SubwebSettings","Permissions","SubwebMenuEditor","rootReducer","combineReducers","subwebReducer","store","configureStore","middleware","getDefaultMiddleware","save","namespace","preloadedState","load","GlobalStyle","createGlobalStyle","normalize","refetchUserWhitelist","App","environment","shouldRefetchUser","currentUserRaw","ToastContainer","autoClose","transition","Slide","closeButton","ToastCloseButton","POSITION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,QAAA15F,OAAOy5F,EAAM,KAAAz5F,OAAIi6F,EAAU,OAAAj6F,OAAM84F,GAAK,IAEjH3lD,EAAW,IACZvsB,KACApyB,EACH2kG,OAAQiB,EACRrB,WAAYY,EACZ5qC,UAGc3zB,GAAO3kB,YAAY+iF,IACtBz/B,EAAe5mB,EAAS,EAwBnCr7B,oBAAkB,EAAApe,SAElBgD,eAACub,IAAI,CAAAve,SAAA,CAEHG,cAACkiB,IAAK,CAACgd,GAAG,KAAIr/B,SAAC,iBACfG,cAACue,IAAK,CACJra,MAAM,YACN/I,KAAK,QACLyjB,KAAK,8BACLta,UAAWqa,IACX2d,WAAY,MAEdt8B,cAACue,IAAK,CACJra,MAAM,iBACN/I,KAAK,OACLyjB,KAAK,wBACLta,UAAWq4C,MAEb38C,cAACue,IAAK,CACJra,MAAM,iBACN/I,KAAK,OACLyjB,KAAK,wBACLta,UAAWq4C,MAEb38C,cAACue,IAAK,CACJra,MAAM,gBACN/I,KAAK,SACLmJ,UAAWowF,IACX79C,QAAS,CACP,CACEC,SAAU,QAEZ,CACEA,SAAU,QAGd8gC,OAASjuD,GAASoR,aAAYpR,EAAK1qB,MACnC64E,SAAUgnB,GACV9mB,mBAAiB,IAEnBh4E,cAACma,IAAM,CAACO,IAAI,OACZ1a,cAACkiB,IAAK,CAACgd,GAAG,KAAIr/B,SAAC,SACfG,cAACue,IAAK,CACJra,MAAM,gCACN/I,KAAK,aACL0e,YAAY,kDACZ+E,KAAK,2EACLta,UAAWua,IACXpa,QAAS26F,IAEXp/F,cAACue,IAAK,CACJra,MAAM,WACN/I,KAAK,MACLyjB,KAAK,gBACLta,UAAWqa,IACX1f,KAAK,WAEPe,cAACue,IAAK,CACJra,MAAM,YACN/I,KAAK,MACLyjB,KAAK,gBACLta,UAAWqa,IACX1f,KAAK,WAEPe,cAACue,IAAK,CACJra,MAAM,OACN/I,KAAK,IACLyjB,KAAI,GAAAzY,OAAKuV,EAAcujF,GACvB36F,UAAWqa,IACX1f,KAAK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AS3K,IAAgBh6D,SAEnCG,cAAC26D,IAAY,CAAA96D,SACXG,cAAC2gH,GAAG,cC/JhBhyC,IAAS11C,OAAOj5B,cAAC2gH,GAAG,IAAKhpH,SAAS02E,eAAe,Q","file":"static/js/main.05e2ac2e.chunk.js","sourcesContent":["/*\r\n This hook allows you to detect clicks outside of a specified element\r\n Based of: https://usehooks.com/useOnClickOutside/\r\n\r\n Used like - useOnClickOutside(ref, () => setModalOpen(false));\r\n*/\r\n\r\nimport { useEffect } from 'react';\r\n\r\nfunction useOnClickOutside(ref, handler) {\r\n useEffect(\r\n () => {\r\n const listener = event => {\r\n // Do nothing if clicking ref's element or descendent elements\r\n if (!ref.current || ref.current.contains(event.target)) {\r\n return;\r\n }\r\n handler(event);\r\n };\r\n\r\n document.addEventListener('mousedown', listener);\r\n document.addEventListener('touchstart', listener);\r\n\r\n return () => {\r\n document.removeEventListener('mousedown', listener);\r\n document.removeEventListener('touchstart', listener);\r\n };\r\n },\r\n // Add ref and handler to effect dependencies\r\n // It's worth noting that because passed in handler is a new ...\r\n // ... function on every render that will cause this effect ...\r\n // ... callback/cleanup to run every render. It's not a big deal ...\r\n // ... but to optimize you can wrap handler in useCallback before ...\r\n // ... passing it into this hook.\r\n [ref, handler]\r\n );\r\n}\r\n\r\nexport default useOnClickOutside;\r\n","/*\r\n https://usehooks.com/useKeyPress/\r\n Makes it easy to detect when the user is pressing a specific key on their keyboard\r\n Ex: const hPress = useKeyPress('h');\r\n*/\r\n\r\nimport { useState, useEffect } from 'react';\r\n\r\nfunction useKeyPress(targetKey) {\r\n // State for keeping track of whether key is pressed\r\n const [keyPressed, setKeyPressed] = useState(false);\r\n\r\n // Add event listeners\r\n useEffect(() => {\r\n // If pressed key is our target key then set to true\r\n function downHandler({ key }) {\r\n if (key === targetKey) {\r\n setKeyPressed(true);\r\n }\r\n }\r\n\r\n // If released key is our target key then set to false\r\n const upHandler = ({ key }) => {\r\n if (key === targetKey) {\r\n setKeyPressed(false);\r\n }\r\n };\r\n\r\n window.addEventListener('keydown', downHandler);\r\n window.addEventListener('keyup', upHandler);\r\n // Remove event listeners on cleanup\r\n return () => {\r\n window.removeEventListener('keydown', downHandler);\r\n window.removeEventListener('keyup', upHandler);\r\n };\r\n }, [targetKey]); // Empty array ensures that effect is only run on mount and unmount\r\n\r\n return keyPressed;\r\n}\r\n\r\nexport default useKeyPress;\r\n","/*\r\n Same as withRouter() HOC but with a hook\r\n Used like:\r\n const { history } = useRouterContext()\r\n*/\r\nimport { useContext } from 'react';\r\nimport { __RouterContext } from 'react-router-dom';\r\n\r\nfunction useRouterContext() {\r\n const routerContext = useContext(__RouterContext);\r\n return routerContext;\r\n}\r\n\r\nexport default useRouterContext;\r\n","/*\r\n This hook encapsulates a toggle logic\r\n\r\n Used like - const [isOpen, toggle] = useToggle()\r\n*/\r\n\r\nimport { useState } from 'react';\r\n\r\nfunction useToggle(initial = false) {\r\n const [isOpen, setOpen] = useState(initial);\r\n const toggle = () => {\r\n setOpen(!isOpen);\r\n };\r\n return [isOpen, toggle];\r\n}\r\n\r\nexport default useToggle;\r\n","import { useEffect, useState } from 'react';\r\n\r\nconst useMousePosition = () => {\r\n const [mouse, setMouse] = useState({ x: 0, y: 0 });\r\n\r\n const onMouse = ({ pageX, pageY }) => {\r\n setMouse({ x: pageX, y: pageY });\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('mousemove', onMouse);\r\n\r\n return () => {\r\n window.removeEventListener('mousemove', onMouse);\r\n };\r\n });\r\n\r\n return mouse;\r\n};\r\n\r\nexport default useMousePosition;\r\n","import { useRef } from 'react';\r\n\r\nfunction useFirstMountState() {\r\n const isFirst = useRef(true);\r\n\r\n if (isFirst.current) {\r\n isFirst.current = false;\r\n\r\n return true;\r\n }\r\n\r\n return isFirst.current;\r\n}\r\n\r\nexport default useFirstMountState\r\n","import { useEffect } from 'react';\r\n\r\n/**\r\n * A simple React hook for differentiating single and double clicks on the same component.\r\n *\r\n * @param {node} ref Dom node to watch for double clicks\r\n * @param {number} [latency=300] ms to wait for diff a single from a double click\r\n * @param {function} onSingleClick A callback function for single click events\r\n * @param {function} onDoubleClick A callback function for double click events\r\n */\r\nconst useDoubleClick = ({\r\n ref,\r\n latency = 300,\r\n onSingleClick = () => null,\r\n onDoubleClick = () => null\r\n}) => {\r\n useEffect(() => {\r\n const clickRef = ref.current;\r\n let clickCount = 0;\r\n const handleClick = e => {\r\n clickCount += 1;\r\n\r\n setTimeout(() => {\r\n if (clickCount === 1) onSingleClick(e);\r\n else if (clickCount === 2) onDoubleClick(e);\r\n\r\n clickCount = 0;\r\n }, latency);\r\n };\r\n\r\n // Add event listener for click events\r\n clickRef.addEventListener('click', handleClick);\r\n\r\n // Remove event listener\r\n return () => {\r\n clickRef.removeEventListener('click', handleClick);\r\n };\r\n });\r\n};\r\n\r\nexport default useDoubleClick;\r\n","/*\r\n Used for FieldArrayDnd passing of formik submitForm function to parent\r\n !Every component using the hook must be wrapped in forwardRef\r\n*/\r\n\r\nimport { useRef, useImperativeHandle } from 'react';\r\n\r\nconst useFormikForwardRef = (ref) => {\r\n const formikRef = useRef();\r\n useImperativeHandle(ref, () => (formikRef.current));\r\n return formikRef;\r\n};\r\n\r\nexport default useFormikForwardRef;\r\n","import { useState, useCallback } from 'react'\r\n\r\nfunction useForceUpdate() {\r\n const [, setTick] = useState(0);\r\n const update = useCallback(() => {\r\n setTick(tick => tick + 1);\r\n }, [])\r\n return update;\r\n}\r\n\r\nexport default useForceUpdate\r\n","/* eslint-disable no-underscore-dangle, react-hooks/exhaustive-deps */\r\nimport { useEffect } from 'react'\r\n\r\nfunction useReactContextDevTool({ id, displayName, values }) {\r\n useEffect(() => {\r\n if (window._REACT_CONTEXT_DEVTOOL) {\r\n window._REACT_CONTEXT_DEVTOOL({ id, displayName, values });\r\n }\r\n }, [values])\r\n}\r\n\r\nexport default useReactContextDevTool\r\n","/*\r\n This hook encapsulates a field isError logic with formik\r\n\r\n Used like - const isError = useFieldError({ touched, errors, field, submitCount })\r\n*/\r\n\r\nimport { useMemo } from 'react';\r\n\r\nfunction useFieldError({\r\n touched = {}, errors = {}, field = {}, submitCount = 0\r\n}) {\r\n return useMemo(() => (\r\n submitCount > 0 && field.name\r\n ? errors[field.name]\r\n : touched[field.name] && errors[field.name]),\r\n [\r\n touched,\r\n errors,\r\n field.name,\r\n submitCount,\r\n ]);\r\n}\r\n\r\nexport default useFieldError;\r\n","// read https://medium.com/simply/state-management-with-react-hooks-and-context-api-at-10-lines-of-code-baf6be8302c\r\nimport React, {\r\n createContext, useContext, useReducer\r\n} from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { EditorState } from 'draft-js';\r\nimport { useReactContextDevTool } from 'hooks'\r\n\r\nexport const EditorContext = createContext();\r\n\r\nexport const status = {\r\n none: 'none',\r\n draft: 'draft',\r\n published: 'published',\r\n prePublished: 'prePublished',\r\n archive: 'archive',\r\n deleted: 'deleted',\r\n edited: 'edited',\r\n local: 'local',\r\n error: 'error'\r\n}\r\n\r\n// initial state\r\nconst initState = {\r\n // live editor data\r\n pageLiveData: null,\r\n // data from the server\r\n pageSavedData: [],\r\n pageOtherLanguageData: null,\r\n pageLoading: false,\r\n pageError: false,\r\n sectionActive: null,\r\n pageEdited: false,\r\n pageTitle: 'Página',\r\n pageStatus: status.none,\r\n pageTempSlug: null,\r\n pageSlug: null,\r\n screen: 'desktop',\r\n richTextEditorState: EditorState.createEmpty(),\r\n richTextEditorStateTrigger: false,\r\n sidenav: null,\r\n sidenavPrevious: null,\r\n moduleBeingEdited: null,\r\n moduleBeingEditedName: null,\r\n pageTriggerRefetch: false,\r\n idimg: null,\r\n urlimg: null,\r\n peopleModuleselected: []\r\n};\r\n\r\n// actions\r\nexport const actions = {\r\n PAGE_DATA_UPDATE: 'PAGE_DATA_UPDATE',\r\n PAGE_DATA_LOADING: 'PAGE_DATA_LOADING',\r\n PAGE_DATA_PUBLISH: 'PAGE_DATA_PUBLISH',\r\n PAGE_DATA_PRE_PUBLISH: 'PAGE_DATA_PRE_PUBLISH',\r\n PAGE_DATA_SAVE: 'PAGE_DATA_SAVE',\r\n PAGE_ADD: 'PAGE_ADD',\r\n PAGE_ARCHIVE: 'PAGE_ARCHIVE',\r\n PAGE_DELETE: 'PAGE_DELETE',\r\n PAGE_REFETCH: 'PAGE_REFETCH',\r\n PAGE_TITLE_UPDATE: 'PAGE_TITLE_UPDATE',\r\n SECTION_SET_ACTIVE: 'SECTION_SET_ACTIVE',\r\n SECTION_SET_INACTIVE: 'SECTION_SET_INACTIVE',\r\n SCREEN_SET: 'SCREEN_SET',\r\n RICH_TEXT_EDITOR_STATE_UPDATE: 'RICH_TEXT_EDITOR_STATE_UPDATE',\r\n RICH_TEXT_EDITOR_STATE_TRIGGER: 'RICH_TEXT_EDITOR_STATE_TRIGGER',\r\n SIDENAV_UPDATE: 'SIDENAV_UPDATE',\r\n SET_MENU_OPEN: 'SET_MENU_OPEN',\r\n PAGE_SLUG_UPDATE: 'PAGE_SLUG_UPDATE',\r\n IMG_RENDER: 'IMG_RENDER',\r\n PEOPLE_MODULE_SELECT: 'PEOPLE_MODULE_SELECT'\r\n};\r\n\r\n// reducer\r\nconst reducer = (state, action) => {\r\n const { type, data } = action;\r\n switch (type) {\r\n case actions.PAGE_ADD:\r\n return {\r\n ...state,\r\n pageLiveData: data.liveData,\r\n pageSavedData: data.savedData,\r\n pageEdited: false,\r\n pageStatus: (data.status && data.status in status) ? status[data.status] : status.error,\r\n pageSlug: data.slug ? data.slug : initState.pageSlug,\r\n pageOtherLanguageData: data.otherLanguageContent,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_DATA_LOADING:\r\n return {\r\n ...state,\r\n pageLoading: data,\r\n };\r\n case actions.PAGE_DATA_UPDATE:\r\n return {\r\n ...state,\r\n pageLiveData: data,\r\n pageEdited: true,\r\n pageStatus: status.local,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_DATA_SAVE:\r\n return {\r\n ...state,\r\n pageLiveData: data,\r\n pageSavedData: data,\r\n pageEdited: true,\r\n pageStatus: status.edited,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_DATA_PUBLISH:\r\n return {\r\n ...state,\r\n pageLiveData: data,\r\n pageSavedData: data,\r\n pageEdited: false,\r\n pageStatus: status.published,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_DATA_PRE_PUBLISH:\r\n return {\r\n ...state,\r\n pageStatus: status.prePublished,\r\n pageTempSlug: data.url\r\n };\r\n case actions.PAGE_REFETCH:\r\n return {\r\n ...state,\r\n pageTriggerRefetch: !state.pageTriggerRefetch,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_ARCHIVE:\r\n return {\r\n ...state,\r\n pageEdited: false,\r\n pageStatus: status.archive,\r\n pageTempSlug: null\r\n };\r\n case actions.PAGE_DELETE:\r\n return {\r\n ...initState\r\n };\r\n case actions.PAGE_TITLE_UPDATE:\r\n return {\r\n ...state,\r\n pageTitle: data,\r\n pageTempSlug: null\r\n };\r\n case actions.SECTION_SET_ACTIVE:\r\n return {\r\n ...state,\r\n sectionActive: data,\r\n };\r\n case actions.SECTION_SET_INACTIVE:\r\n return {\r\n ...state,\r\n sectionActive: data === state.sectionActive ? null : state.sectionActive,\r\n };\r\n case actions.SCREEN_SET:\r\n return {\r\n ...state,\r\n screen: data,\r\n };\r\n case actions.RICH_TEXT_EDITOR_STATE_UPDATE:\r\n return {\r\n ...state,\r\n richTextEditorState: data,\r\n };\r\n case actions.RICH_TEXT_EDITOR_STATE_TRIGGER:\r\n return {\r\n ...state,\r\n richTextEditorState: data,\r\n richTextEditorStateTrigger: !state.richTextEditorStateTrigger\r\n };\r\n case actions.SIDENAV_UPDATE:\r\n return {\r\n ...state,\r\n sidenav: data.new,\r\n sidenavPrevious: data.previous,\r\n };\r\n case actions.SET_MODULE_EDITED: {\r\n return {\r\n ...state,\r\n moduleBeingEdited: data.key,\r\n moduleBeingEditedName: data.name,\r\n };\r\n }\r\n case actions.PAGE_SLUG_UPDATE:\r\n return {\r\n ...state,\r\n pageSlug: data,\r\n };\r\n case actions.IMG_RENDER:\r\n return {\r\n ...state,\r\n idimg: data.idimg,\r\n urlimg: data.urlimg\r\n }\r\n case actions.PEOPLE_MODULE_SELECT:\r\n return {\r\n ...state,\r\n peopleModuleselected: data,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const EditorProvider = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, initState)\r\n useReactContextDevTool({ id: 'editor', displayName: 'Editor', values: state })\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nEditorProvider.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\n\r\nexport const useEditorContext = () => useContext(EditorContext);\r\n","/* eslint-disable react/prop-types */\r\nimport React, { useState, useMemo } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport styled, { css } from 'styled-components/macro'\r\nimport { Button, Icon } from 'components/atoms'\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\nimport { removeBlock } from 'services/helpers'\r\n\r\nconst computeWrapperStyleFromType = (type) => {\r\n switch (type) {\r\n case 'VIDEO':\r\n return css`\r\n max-width: 555px;\r\n `\r\n case 'CAROUSEL':\r\n return css`\r\n display: flex;\r\n `\r\n default:\r\n return css``\r\n }\r\n}\r\n\r\n// handles editor logic for block level editing\r\nconst AtomicBlockWrapper = ({\r\n children, contentState, block,\r\n}) => {\r\n const [isHover, setHover] = useState(false)\r\n const entityKey = useMemo(() => block.getEntityAt(0), [block])\r\n const entity = useMemo(() => contentState.getEntity(entityKey), [contentState, entityKey]);\r\n\r\n // const data = useMemo(() => entity.getData(), [entity]);\r\n const type = useMemo(() => entity.getType(), [entity]);\r\n const [{ richTextEditorState: editorState }, dispatch] = useEditorContext()\r\n\r\n // creates new editorState without the block\r\n // and dispatches the trigger action to update the state from the store\r\n const handleDelete = () => {\r\n const newEditorState = removeBlock({ editorState, contentState, block })\r\n dispatch({\r\n type: actions.RICH_TEXT_EDITOR_STATE_TRIGGER,\r\n data: newEditorState,\r\n });\r\n }\r\n\r\n return (\r\n setHover(true)} onMouseLeave={() => setHover(false)} type={type}>\r\n \r\n {isHover && }\r\n \r\n {children}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Wrapper = styled.div(props => css`\r\n ${computeWrapperStyleFromType(props.type)}\r\n`)\r\n\r\nconst Block = styled.div`\r\n position: relative;\r\n`\r\n\r\nconst ActionsWrapper = styled.div(props => css`\r\n position: absolute;\r\n z-index: ${props.theme.values.zIndex.s};\r\n transform: translateY(-100%);\r\n right: 0;\r\n`)\r\n\r\nconst RemovePointerEventsAndFixSpacing = styled.div`\r\n margin: 0 !important;\r\n pointer-events: none;\r\n & > div {\r\n margin: 0 !important;\r\n }\r\n`\r\n\r\nconst Actions = ({ onDelete = () => null }) => (\r\n \r\n \r\n \r\n)\r\n\r\nAtomicBlockWrapper.propTypes = {\r\n block: PropTypes.shape({}).isRequired,\r\n contentState: PropTypes.shape({}).isRequired,\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default AtomicBlockWrapper\r\n","/* eslint-disable react/prop-types */\r\nimport React, { useMemo } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { Carousel as CarouselBase, Picture as PictureBase, VideoPlayer as VideoPlayerBase } from 'assets/lib'\r\nimport { withPortalThemeLegacy } from 'modules/utils';\r\nimport AtomicBlockWrapper from './RichTextEditorAtomicBlockWrapper'\r\n\r\n// this components need the portal styled components theme\r\nconst Picture = (props) => withPortalThemeLegacy(PictureBase, props)\r\nconst Carousel = (props) => withPortalThemeLegacy(CarouselBase, props)\r\nconst VideoPlayer = (props) => withPortalThemeLegacy(VideoPlayerBase, props)\r\n\r\nconst renderCarousel = (imagesMarkdown) => {\r\n const imageRegex = /(^!\\[([^\\]]*)]\\s*\\(([^)\"]+)( \"([^\"]+)\")?\\))/gm\r\n const picturesMatches = [...imagesMarkdown.matchAll(imageRegex)]\r\n const pictures = picturesMatches.map(match => {\r\n const alt = match[2]\r\n const src = match[3]\r\n const title = match[5]\r\n return {\r\n alt, src, title\r\n }\r\n })\r\n return pictures.map(\r\n ({ src, alt, title }) => \r\n )\r\n}\r\n\r\nconst AtomicBlock = ({ block, contentState }) => {\r\n // get block entity data\r\n\r\n // HACK: removed the useMemo from entity because when editing a block entity\r\n // the replaceEntityData doesnt really \"change\" the editorState\r\n // so the useMemo wouldnt trigger\r\n // https://github.com/facebook/draft-js/issues/1702\r\n const entity = contentState.getEntity(block.getEntityAt(0));\r\n const data = useMemo(() => entity.getData(), [entity]);\r\n const type = useMemo(() => entity.getType(), [entity]);\r\n\r\n // render appropriate component based on atomic block entity type\r\n let atomicBlockComponent =
Invalid AtomicBlock type
;\r\n switch (type) {\r\n case 'VIDEO':\r\n atomicBlockComponent = (\r\n
\r\n \r\n
\r\n )\r\n break;\r\n case 'CAROUSEL':\r\n atomicBlockComponent = ({renderCarousel(data)});\r\n break;\r\n case 'IMAGE':\r\n atomicBlockComponent = ();\r\n break;\r\n default:\r\n atomicBlockComponent =
Invalid AtomicBlock type
\r\n }\r\n return (\r\n \r\n {atomicBlockComponent}\r\n \r\n )\r\n}\r\n\r\nAtomicBlock.propTypes = {\r\n block: PropTypes.shape({}).isRequired,\r\n contentState: PropTypes.shape({}).isRequired,\r\n}\r\n\r\nexport default AtomicBlock\r\n","import AtomicBlock from 'containers/RichTextEditorAtomicBlock/RichTextEditorAtomicBlock'\r\nimport { RichTextEditorOptionImage } from 'components/molecules'\r\n\r\nexport const blockRenderFunc = (contentBlock) => {\r\n if (contentBlock.getType() !== 'atomic') return null;\r\n return {\r\n component: AtomicBlock,\r\n editable: false,\r\n };\r\n}\r\n\r\nexport const toolbarOptions = {\r\n options: ['blockType', 'inline', 'list', 'textAlign', 'link', 'image', 'history'],\r\n blockType: {\r\n inDropdown: true,\r\n // options: ['Normal', 'H2', 'H3', 'H4', 'Blockquote', 'Code'],\r\n options: ['Normal', 'H2', 'H3', 'H4', 'Code'],\r\n className: undefined,\r\n component: undefined,\r\n dropdownClassName: undefined,\r\n },\r\n inline: {\r\n inDropdown: false,\r\n className: undefined,\r\n component: undefined,\r\n dropdownClassName: undefined,\r\n options: ['bold', 'italic'],\r\n },\r\n list: {\r\n inDropdown: false,\r\n className: undefined,\r\n component: undefined,\r\n dropdownClassName: undefined,\r\n options: ['unordered', 'ordered'],\r\n },\r\n textAlign: {\r\n inDropdown: false,\r\n className: undefined,\r\n component: undefined,\r\n dropdownClassName: undefined,\r\n options: [],\r\n },\r\n link: {\r\n inDropdown: false,\r\n className: undefined,\r\n component: undefined,\r\n popupClassName: undefined,\r\n dropdownClassName: undefined,\r\n showOpenOptionOnHover: true,\r\n defaultTargetOption: '_self',\r\n options: ['link', 'unlink'],\r\n linkCallback: undefined\r\n },\r\n image: {\r\n component: RichTextEditorOptionImage,\r\n alt: {\r\n present: true,\r\n }\r\n },\r\n history: {\r\n inDropdown: false,\r\n className: undefined,\r\n component: undefined,\r\n dropdownClassName: undefined,\r\n options: ['undo', 'redo'],\r\n },\r\n}\r\n\r\nexport const customFieldLabels = {\r\n\r\n // Generic\r\n 'generic.add': 'adicionar',\r\n 'generic.cancel': 'cancelar',\r\n\r\n // BlockType\r\n 'components.controls.blocktype.h1': 'H1',\r\n 'components.controls.blocktype.h2': 'H2',\r\n 'components.controls.blocktype.h3': 'H3',\r\n 'components.controls.blocktype.h4': 'H4',\r\n 'components.controls.blocktype.h5': 'H5',\r\n 'components.controls.blocktype.h6': 'H6',\r\n 'components.controls.blocktype.blockquote': 'Blockquote',\r\n 'components.controls.blocktype.code': 'Code',\r\n 'components.controls.blocktype.blocktype': 'Block Type',\r\n 'components.controls.blocktype.normal': 'Normal',\r\n\r\n // Color Picker\r\n 'components.controls.colorpicker.colorpicker': 'Color Picker',\r\n 'components.controls.colorpicker.text': 'Text',\r\n 'components.controls.colorpicker.background': 'Highlight',\r\n\r\n // Embedded\r\n 'components.controls.embedded.embedded': 'Embedded',\r\n 'components.controls.embedded.embeddedlink': 'Embedded Link',\r\n 'components.controls.embedded.enterlink': 'Enter link',\r\n\r\n // Emoji\r\n 'components.controls.emoji.emoji': 'Emoji',\r\n\r\n // FontFamily\r\n 'components.controls.fontfamily.fontfamily': 'Font',\r\n\r\n // FontSize\r\n 'components.controls.fontsize.fontsize': 'Font Size',\r\n\r\n // History\r\n 'components.controls.history.history': 'History',\r\n 'components.controls.history.undo': 'Undo',\r\n 'components.controls.history.redo': 'Redo',\r\n\r\n // Image\r\n 'components.controls.image.image': 'Image',\r\n 'components.controls.image.fileUpload': 'File Upload',\r\n 'components.controls.image.byURL': 'URL',\r\n 'components.controls.image.dropFileText': 'Drop the file or click to upload',\r\n\r\n // Inline\r\n 'components.controls.inline.bold': 'Bold',\r\n 'components.controls.inline.italic': 'Italic',\r\n 'components.controls.inline.underline': 'Underline',\r\n 'components.controls.inline.strikethrough': 'Strikethrough',\r\n 'components.controls.inline.monospace': 'Monospace',\r\n 'components.controls.inline.superscript': 'Superscript',\r\n 'components.controls.inline.subscript': 'Subscript',\r\n\r\n // Link\r\n 'components.controls.link.linkTitle': 'Texto',\r\n 'components.controls.link.linkTarget': 'Digite o URL',\r\n 'components.controls.link.linkTargetOption': 'Open link in new window',\r\n 'components.controls.link.link': 'Link',\r\n 'components.controls.link.unlink': 'Unlink',\r\n\r\n // List\r\n 'components.controls.list.list': 'List',\r\n 'components.controls.list.unordered': 'Unordered',\r\n 'components.controls.list.ordered': 'Ordered',\r\n 'components.controls.list.indent': 'Indent',\r\n 'components.controls.list.outdent': 'Outdent',\r\n\r\n // Remove\r\n 'components.controls.remove.remove': 'Remove',\r\n\r\n // TextAlign\r\n 'components.controls.textalign.textalign': 'Text Align',\r\n 'components.controls.textalign.left': 'Left',\r\n 'components.controls.textalign.center': 'Center',\r\n 'components.controls.textalign.right': 'Right',\r\n 'components.controls.textalign.justify': 'Justify'\r\n}\r\n","/* eslint-disable no-use-before-define */\r\nimport ax from 'axios';\r\nimport useAxios from '@use-hooks/axios';\r\nimport cleanDeep from 'clean-deep';\r\nimport queryString from 'query-string';\r\nimport { PORTAL_API, deployEnv } from './constants';\r\nimport { getToken, removeToken } from './helpers';\r\nimport { generatePageData, generateInitialPageData } from './generators'\r\n\r\nfunction setupConfig() {\r\n const config = {\r\n baseURL: PORTAL_API,\r\n withCredentials: true,\r\n };\r\n\r\n const token = getToken();\r\n if (token) {\r\n config.headers = {\r\n Authorization: `Bearer ${token}`,\r\n };\r\n }\r\n return config;\r\n}\r\n\r\n// needs to be invoked before use get the updated token\r\n// example: axiosWithAuth().get('/endpoint)\r\n// this way setupConfig is invoked before the request and gets updated\r\nexport const axiosWithAuth = () => {\r\n const axios = ax.create(setupConfig())\r\n // Add a request interceptor\r\n axios.interceptors.response.use((response) => response,\r\n (error) => {\r\n if (error && error.response && error.response.status === 401) {\r\n logout()\r\n }\r\n return Promise.reject(error)\r\n }\r\n );\r\n return axios\r\n};\r\n\r\n// without auth header just use\r\nexport const axios = ax.create(setupConfig());\r\n\r\nexport const queryWarmup = (config = {}) => axiosWithAuth().get('/dashboard/current', { ...config });\r\nexport const queryStatus = (config = {}) => axiosWithAuth().get('/authentication/status', { ...config });\r\nexport const queryUserImage = (id, config = {}) => axiosWithAuth().get(`/person/${id}/photo`, {\r\n responseType: 'arraybuffer',\r\n ...config\r\n});\r\nexport const queryUserInfo = (id, config = {}) => axiosWithAuth().get(`/person/${id}`, { ...config })\r\nexport const queryToken = (config = {}) => {\r\n // if local development add local parameter\r\n const isProd = process.env.NODE_ENV === 'production'\r\n const localQuery = isProd ? '' : '?local=true'\r\n return axios.get(`/authentication/login/token${localQuery}`, { ...config })\r\n}\r\nexport const querySubwebs = (config = {}) => axiosWithAuth().get('/authentication/subwebs', { ...config })\r\nexport const querySubweb = (subweb, config = {}, isSeo = false) => {\r\n const queryObject = {\r\n seoInfo: isSeo ? true : null,\r\n ...config.params,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get(`/subwebs/${subweb}`, { ...config, params })\r\n}\r\nexport const querySidenavPagesByLang = (subweb, language = 'pt', config = {}) => {\r\n const queryObject = {\r\n language,\r\n ...config.params,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get(`/subwebs/${subweb}/sidenav/pages`, { ...config, params })\r\n}\r\n\r\nexport const querySubwebSidenav = (subweb, language = 'pt') => {\r\n const queryObject = {\r\n language\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get(\r\n `/subwebs/${subweb}/sidenav`,\r\n {\r\n params,\r\n }\r\n )\r\n}\r\n\r\nexport const queryNews = (query = '', config = {}) => axiosWithAuth().get(`/news?${query}`, { ...config })\r\n\r\nexport const queryNewsCategories = (\r\n { language = 'pt' }, config = {}\r\n) => {\r\n const queryObject = {\r\n language,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get('/news/categories', { params, ...config })\r\n}\r\n\r\nexport const queryNewsChannel = ({ language = 'pt', onlyOfficial = false } = {}, config = {}) => {\r\n const queryObject = {\r\n language,\r\n onlyOfficial,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get('/events/channel', { params, ...config })\r\n}\r\n\r\nexport const queryNewsTags = (\r\n { language = 'pt' }, config = {}\r\n) => {\r\n const queryObject = {\r\n language,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get('/news/tag', { params, ...config })\r\n}\r\n\r\nexport const queryContests = (query = '', config = {}) => axiosWithAuth().get(`/contests/list?${query}`, { ...config })\r\n\r\nexport const queryContestFilters = (query = '', config = {}) => axiosWithAuth().get(`/contests/filters?${query}`, { ...config })\r\n\r\nexport const queryCalendar = (config = {}) => axiosWithAuth().get('/calendar', { ...config })\r\n\r\nexport const queryLocations = (config = {}) => axiosWithAuth().get('/locations', { ...config })\r\n\r\nexport const queryFileInfo = (query = '', config = {}) => axiosWithAuth().get(`/file/other/${query.id}`, { ...config })\r\n\r\nexport const updateSubwebSidenav = ({\r\n sidenavData,\r\n language,\r\n subweb,\r\n}) => {\r\n // eslint-disable-next-line no-console\r\n if (typeof language !== 'string') console.error('Missing langauge parameter.')\r\n const sidenavSchema = {\r\n language,\r\n content: sidenavData\r\n }\r\n\r\n const body = {\r\n list: [sidenavSchema]\r\n }\r\n\r\n return axiosWithAuth()\r\n .put(\r\n `/subwebs/${subweb}/sidenav`,\r\n body,\r\n )\r\n};\r\n\r\nexport const sendEmailAdmin = ({\r\n title,\r\n message,\r\n}) => {\r\n const body = {\r\n message\r\n }\r\n const query = `subject=${title}`;\r\n return axiosWithAuth()\r\n .post(\r\n `/email/admin?${query}`,\r\n body,\r\n )\r\n};\r\n\r\nexport const sendEmailAll = ({\r\n title,\r\n message,\r\n}) => {\r\n const body = {\r\n message\r\n }\r\n const query = `subject=${title}`;\r\n return axiosWithAuth()\r\n .put(\r\n `/email/all?${query}`,\r\n body,\r\n )\r\n};\r\n\r\nexport const sendEmailSome = ({\r\n message,\r\n query\r\n}) => {\r\n const body = {\r\n message\r\n }\r\n return axiosWithAuth()\r\n .post(\r\n `/email/some?${query}`,\r\n body,\r\n )\r\n};\r\n\r\nexport const uploadImage = ({\r\n file,\r\n language = [],\r\n keyword = [],\r\n collection,\r\n subweb,\r\n permissionLevel\r\n}) => {\r\n const queryObject = {\r\n keyword,\r\n collection,\r\n subweb,\r\n permissionLevel\r\n };\r\n\r\n const fileData = {\r\n file,\r\n language: JSON.stringify(language),\r\n };\r\n\r\n const form = new FormData();\r\n form.append('file', fileData.file);\r\n form.append('language', fileData.language);\r\n\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n\r\n return axiosWithAuth().post(`/file/image?${query}`, form, {\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n });\r\n};\r\n\r\nexport const updateImage = ({\r\n id,\r\n language = [],\r\n subweb,\r\n file,\r\n permissionLevel\r\n}) => {\r\n const queryObject = {\r\n subweb,\r\n permissionLevel\r\n }\r\n const fileData = {\r\n file,\r\n language: JSON.stringify(language),\r\n };\r\n const form = new FormData();\r\n\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n\r\n if (file) {\r\n form.append('file', fileData.file);\r\n }\r\n form.append('language', fileData.language);\r\n\r\n return axiosWithAuth().patch(`/file/image/${id}?${query}`, form, {\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n }\r\n\r\n });\r\n};\r\n\r\nexport const getImageCollections = (\r\n {\r\n subweb\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n subweb\r\n }\r\n const url = 'file/collections'\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const getContent = (\r\n {\r\n pageId,\r\n subweb,\r\n language = 'pt',\r\n id = -1\r\n },\r\n config = {},\r\n isSeo = false\r\n) => {\r\n const url = isSeo ? 'page/seo' : '/page'\r\n const queryObject = {\r\n path: pageId,\r\n subweb,\r\n language,\r\n id\r\n }\r\n\r\n const params = cleanDeep(queryObject);\r\n\r\n return axiosWithAuth().get(url, { params, ...config })\r\n};\r\n\r\nexport const getSeo = (\r\n {\r\n pageId,\r\n lang = 'pt',\r\n subweb,\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n language: lang\r\n }\r\n const url = `subwebs/${subweb}/content/${pageId}/seo`\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const getVersion = (\r\n {\r\n pageId,\r\n subweb,\r\n versionId,\r\n statusId,\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n status: statusId\r\n }\r\n const url = `subwebs/${subweb}/content/${pageId}/versions/${versionId}`\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const getVersions = (\r\n {\r\n pageId,\r\n lang = 'pt',\r\n subweb,\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n language: lang\r\n }\r\n const url = `subwebs/${subweb}/content/${pageId}/versions`\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\n// States:\r\n// None = 0,\r\n// Draft = 1,\r\n// Published = 2,\r\n// Archive = 3,\r\n// Deleted = 4\r\nexport const publishContent = ({\r\n pageId,\r\n pageData,\r\n language,\r\n state,\r\n subweb,\r\n slug = null,\r\n hardSave = false,\r\n preview = false\r\n}) => {\r\n // adds logic before publish (such as removing SEO image on dynamic flag...)\r\n const pageDataComputed = generatePageData(pageData)\r\n\r\n const pageSchema = {\r\n language,\r\n state,\r\n content: pageDataComputed,\r\n slug,\r\n }\r\n\r\n const pageSchemaClean = pageSchema\r\n\r\n const body = {\r\n list: [pageSchemaClean]\r\n }\r\n\r\n // commit is true in the QA and Production environments\r\n const queryObject = {\r\n id: pageId,\r\n hardSave,\r\n }\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n return preview ? axiosWithAuth()\r\n .post(\r\n `/subwebs/${subweb}/content/${pageId}/preview?${query}`,\r\n body,\r\n ) : axiosWithAuth()\r\n .put(\r\n `/subwebs/${subweb}/content/${pageId}?${query}`,\r\n body,\r\n )\r\n};\r\n\r\nexport const createPage = ({\r\n title = '',\r\n slug = '',\r\n language = 'pt',\r\n subweb,\r\n}) => {\r\n // adds logic before publish (such as removing SEO image on dynamic flag...)\r\n const pageDataComputed = generateInitialPageData({ title })\r\n // saved as draft\r\n const pageSchema = {\r\n language,\r\n state: 1,\r\n content: pageDataComputed,\r\n slug,\r\n }\r\n\r\n const body = {\r\n list: [pageSchema]\r\n }\r\n\r\n return axiosWithAuth()\r\n .post(\r\n `/subwebs/${subweb}/content`,\r\n body,\r\n )\r\n};\r\n\r\nexport const duplicatePage = ({\r\n subweb,\r\n slug,\r\n title,\r\n pageLiveData\r\n}) => {\r\n\r\n // adds logic before publish (such as removing SEO image on dynamic flag...)\r\n const pageDataComputed = generateInitialPageData({ title })\r\n\r\n if (Array.isArray(pageLiveData)) {\r\n pageLiveData.forEach(element => {\r\n pageDataComputed.push(element)\r\n });\r\n }\r\n \r\n // saved as draft\r\n const pageSchema = {\r\n language: 'pt',\r\n state: 1,\r\n content: pageDataComputed,\r\n slug,\r\n }\r\n const body = {\r\n list: [pageSchema]\r\n }\r\n\r\n return axiosWithAuth()\r\n .post(\r\n `/subwebs/${subweb}/content`,\r\n body,\r\n )\r\n}\r\n\r\nexport const deletePage = ({\r\n subweb,\r\n pageId,\r\n}) => axiosWithAuth()\r\n .delete(`/subwebs/${subweb}/content/${pageId}`);\r\n\r\nexport const deleteSubweb = ({\r\n subweb\r\n}) => axiosWithAuth()\r\n .delete(`/subwebs/${subweb}`);\r\n\r\n\r\n// state 3 is 'Archived'\r\nexport const archivePage = ({\r\n subweb,\r\n pageId,\r\n language,\r\n allLanguages = false,\r\n}) => {\r\n const queryObject = {\r\n language,\r\n allLanguages,\r\n }\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n return axiosWithAuth()\r\n .put(`/subwebs/${subweb}/content/${pageId}/state/3?${query}`)\r\n};\r\n\r\nexport const SLUG_KEY = 'slug'\r\nexport const putSlug = (\r\n {\r\n pageId,\r\n language,\r\n subweb,\r\n slug,\r\n }\r\n) => {\r\n const params = {\r\n language\r\n }\r\n\r\n if (!pageId || !language || !subweb || !slug || !typeof slug === 'string') {\r\n // eslint-disable-next-line no-console\r\n console.error('Invalid parameters for request: putSlug')\r\n }\r\n\r\n const query = queryString.stringify(params, { encode: false });\r\n\r\n return axiosWithAuth()\r\n .put(`/subwebs/${subweb}/content/${pageId}/slug/${slug}?${query}`)\r\n};\r\n\r\nexport const FILES_KEY = 'files'\r\nexport const getFiles = (\r\n key,\r\n {\r\n lang = 'pt',\r\n subweb,\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n onlyAddedByMe,\r\n alsoAddedByMe\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n subweb,\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n onlyAddedByMe,\r\n alsoAddedByMe,\r\n orderby: 'lastModifiedDate',\r\n sort: 'desc'\r\n }\r\n const params = cleanDeep(queryObj);\r\n const url = 'file/other'\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const getFileById = (\r\n key,\r\n {\r\n fileId\r\n },\r\n config = {}\r\n) => axiosWithAuth().get(`/file/other/${fileId}`, config)\r\n\r\nexport const uploadFile = ({\r\n file,\r\n language = 'pt',\r\n slug,\r\n title,\r\n description,\r\n subweb,\r\n expiresAt,\r\n}) => {\r\n const queryObject = {\r\n slug,\r\n language,\r\n subweb,\r\n title,\r\n description,\r\n expiresAt,\r\n };\r\n\r\n const fileData = {\r\n file,\r\n };\r\n\r\n const form = new FormData();\r\n form.append('file', fileData.file);\r\n\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n\r\n return axiosWithAuth().post(`/file/other?${query}`, form, {\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n });\r\n};\r\n\r\nexport const putFile = ({\r\n fileId,\r\n subweb,\r\n language = 'pt',\r\n file,\r\n title,\r\n description,\r\n expiresAt,\r\n}) => {\r\n const queryObject = {\r\n fileId,\r\n subweb,\r\n language,\r\n title,\r\n description,\r\n expiresAt,\r\n };\r\n\r\n const fileData = {\r\n file,\r\n };\r\n\r\n const form = new FormData();\r\n if (file) form.append('file', fileData.file);\r\n\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n const query = queryString.stringify(params, { encode: false });\r\n\r\n return axiosWithAuth().put(`/file/other?${query}`, form, {\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n });\r\n};\r\n\r\nexport const deleteFiles = ({\r\n fileId,\r\n subweb\r\n}) => axiosWithAuth().delete(`file/other/${fileId}?subweb=${subweb}`)\r\n\r\nexport const deleteImage = ({\r\n fileId,\r\n subweb\r\n}) => axiosWithAuth().delete(`file/image/${fileId}?subweb=${subweb}`)\r\n\r\nexport const ALL_PEOPLE_KEY = 'allPeople'\r\nexport const getAllPeople = (\r\n key,\r\n {\r\n lang = 'pt',\r\n offset,\r\n recordsPerPage,\r\n search,\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n offset,\r\n recordsPerPage,\r\n searchString: search,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get('/person', { params, ...config })\r\n}\r\n\r\nexport const PEOPLE_KEY = 'people'\r\nexport const getPeople = (\r\n key,\r\n {\r\n lang = 'pt',\r\n subweb,\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n subweb,\r\n currentPage,\r\n recordsPerPage,\r\n searchString: search,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get('/subwebs/people', { params, ...config })\r\n}\r\n\r\nexport const getPeopleById = (\r\n key,\r\n {\r\n subweb,\r\n id,\r\n },\r\n config = {}\r\n) => axiosWithAuth().get(`/subwebs/${subweb}/person/${id}`, config)\r\n\r\nexport const putPeopleById = (\r\n {\r\n subweb,\r\n id,\r\n cabinet,\r\n externalPhone,\r\n internalPhone,\r\n jobPt,\r\n jobEn,\r\n visible,\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n cabinet,\r\n externalPhone,\r\n internalPhone,\r\n visible,\r\n }\r\n const bodyDirty = {\r\n jobPt,\r\n jobEn\r\n }\r\n const params = cleanDeep(queryObj);\r\n const query = queryString.stringify(params);\r\n const body = cleanDeep(bodyDirty);\r\n return axiosWithAuth().put(`/subwebs/${subweb}/person/${id}?${query}`, body, config)\r\n}\r\n\r\nexport const SUBWEB_TYPE_KEY = 'subweb-type'\r\nexport const getSubwebTypes = (\r\n key,\r\n config = {}\r\n) => axiosWithAuth().get('/subwebs/types', config)\r\n\r\nexport const SUBWEB_KEY = 'subweb'\r\nexport const postSubweb = (\r\n {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n },\r\n config = {}\r\n) => {\r\n const bodyDirty = {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n }\r\n const body = cleanDeep(bodyDirty);\r\n\r\n return axiosWithAuth().post('/subwebs', body, config)\r\n}\r\n\r\nexport const getSubwebInfo = (\r\n key,\r\n {\r\n subweb,\r\n },\r\n config = {}\r\n) => axiosWithAuth().get(`/subwebs/${subweb}/info`, config)\r\n\r\nexport const putSubweb = (\r\n {\r\n subweb,\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n },\r\n config = {}\r\n) => {\r\n const bodyDirty = {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n }\r\n const body = cleanDeep(bodyDirty);\r\n\r\n return axiosWithAuth().put(`/subwebs/${subweb}`, body, config)\r\n}\r\n\r\n// user permissions\r\nexport const SUBWEB_USERS_KEY = 'subweb-users'\r\nexport const SUBWEB_USERS_ALL_KEY = 'subweb-users-all'\r\nexport const SUBWEB_USERS_PAGE_KEY = 'subweb-users-page'\r\nexport const getSubwebUsers = (\r\n key,\r\n {\r\n lang = 'pt',\r\n subweb,\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n currentPage,\r\n recordsPerPage,\r\n searchString: search,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get(`/subwebs/${subweb}/users`, { params, ...config })\r\n}\r\n\r\nexport const getAllUsers = (\r\n key,\r\n {\r\n lang = 'pt',\r\n subweb, // will exclude all users from this subweb\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n filter, // 'service' or 'page'\r\n pageId, // if filter set to page, pass the pageId\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n currentPage,\r\n recordsPerPage,\r\n searchString: search,\r\n filter,\r\n pageId,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get(`/subwebs/${subweb}/users/all`, { params, ...config })\r\n}\r\n\r\nexport const postSubwebUser = ({\r\n subweb,\r\n userId,\r\n}) => axiosWithAuth()\r\n .post(`/subwebs/${subweb}/user/${userId}`);\r\n\r\nexport const deleteSubwebUser = ({\r\n subweb,\r\n userId,\r\n}) => axiosWithAuth()\r\n .delete(`/subwebs/${subweb}/user/${userId}`);\r\n\r\nexport const getSubwebPageUsers = (\r\n key,\r\n {\r\n lang = 'pt',\r\n subweb,\r\n pageId,\r\n currentPage,\r\n recordsPerPage,\r\n search,\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n currentPage,\r\n recordsPerPage,\r\n searchString: search,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get(`/subwebs/${subweb}/content/${pageId}/users`, { params, ...config })\r\n}\r\n\r\nexport const postSubwebPageUser = ({\r\n subweb,\r\n pageId,\r\n userId,\r\n}) => axiosWithAuth()\r\n .post(`/subwebs/${subweb}/content/${pageId}/user/${userId}`);\r\n\r\nexport const deleteSubwebPageUser = ({\r\n subweb,\r\n pageId,\r\n userId,\r\n}) => axiosWithAuth()\r\n .delete(`/subwebs/${subweb}/content/${pageId}/user/${userId}`);\r\n\r\n\r\n// hooks\r\nexport const useQueryContent = ({\r\n subweb, language = 'pt', id = -1\r\n}) => {\r\n const url = `subwebs/${subweb}/content/${id}`\r\n const queryObject = {\r\n language,\r\n }\r\n\r\n const params = cleanDeep(queryObject);\r\n\r\n return useAxios({\r\n axios: axiosWithAuth(),\r\n url,\r\n options: {\r\n params\r\n },\r\n })\r\n};\r\n\r\nexport const getPageFromSlug = (\r\n {\r\n slug,\r\n lang = 'pt',\r\n subweb,\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n language: lang\r\n }\r\n const url = `subwebs/${subweb}/content/slug/${slug}`\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const getPageFromSlugOnSupport = (\r\n {\r\n slug,\r\n lang = 'pt',\r\n subweb,\r\n publishedVersion = true\r\n },\r\n config = {}\r\n) => {\r\n const params = {\r\n language: lang,\r\n publishedVersion\r\n }\r\n const url = `subwebs/${subweb}/content/slug/${slug}`\r\n return axiosWithAuth().get(url, { params, ...config })\r\n}\r\n\r\nexport const IMAGES_KEY = 'images'\r\nexport const getImages = (\r\n key,\r\n {\r\n currentPage,\r\n recordsPerPage,\r\n listAvailableSizes,\r\n addedByMe,\r\n search,\r\n language = 'pt',\r\n collection,\r\n subweb,\r\n pagination = true,\r\n onlyEditable\r\n },\r\n opts\r\n) => {\r\n const queryObject = {\r\n recordsPerPage,\r\n currentPage,\r\n search,\r\n language,\r\n listAvailableSizes,\r\n addedByMe,\r\n collection,\r\n subweb,\r\n pagination,\r\n onlyEditable\r\n };\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n return axiosWithAuth().get('/file/image', { params, ...opts })\r\n};\r\n\r\nexport const useQueryImages = (\r\n {\r\n currentPage,\r\n recordsPerPage,\r\n listAvailableSizes,\r\n addedByMe,\r\n search,\r\n language = 'pt',\r\n collection,\r\n subweb,\r\n pagination = true,\r\n },\r\n opts\r\n) => {\r\n const queryObject = {\r\n recordsPerPage,\r\n currentPage,\r\n search,\r\n language,\r\n listAvailableSizes,\r\n addedByMe,\r\n collection,\r\n subweb,\r\n pagination,\r\n };\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n\r\n return useAxios({\r\n axios: axiosWithAuth(),\r\n url: '/file/image',\r\n options: {\r\n params,\r\n },\r\n ...opts,\r\n });\r\n};\r\n\r\nexport const useQueryImage = (\r\n {\r\n id,\r\n height,\r\n language = 'pt',\r\n subweb\r\n }, opts) => {\r\n const queryObject = {\r\n height,\r\n language,\r\n subweb,\r\n };\r\n // removes undefined, null, etc\r\n const params = cleanDeep(queryObject);\r\n\r\n return useAxios({\r\n axios: axiosWithAuth(),\r\n url: `/file/image/${id}`,\r\n trigger: id,\r\n options: {\r\n params,\r\n },\r\n ...opts,\r\n });\r\n};\r\n\r\nexport const logout = async () => {\r\n // logout request\r\n const token = getToken()\r\n if (token) {\r\n removeToken()\r\n window.location = `${PORTAL_API}/authentication/logout`;\r\n }\r\n};\r\n\r\nexport const logError = ({\r\n code = null,\r\n page = null,\r\n info = 'Missing more information',\r\n}, config = {}) => {\r\n const app = `editor.${deployEnv}`\r\n const queryObject = {\r\n code,\r\n page,\r\n info,\r\n app,\r\n }\r\n const params = cleanDeep(queryObject);\r\n return axios.post('/teams/message', { params, ...config })\r\n}\r\n\r\nexport const getCourseInfo = (\r\n {\r\n lang = 'pt',\r\n },\r\n config = {}\r\n) => {\r\n const queryObj = {\r\n language: lang,\r\n }\r\n const params = cleanDeep(queryObj);\r\n return axiosWithAuth().get('/courses/info', { params, ...config })\r\n}\r\n\r\n\r\nexport function getDepartmentPeople({\r\n lang = 'pt',\r\n department = '',\r\n type = '',\r\n ...props\r\n}) {\r\n try {\r\n const hasType = type ? `&type=${type}` : '';\r\n const token = getToken()\r\n return axiosWithAuth().get(\r\n `/subwebs/${department}/people?language=${lang}${hasType}`,\r\n {\r\n lang,\r\n redirectErrors: false,\r\n options: {\r\n ...token\r\n },\r\n\r\n ...props\r\n }\r\n );\r\n } catch (error) {\r\n throw error;\r\n }\r\n}\r\n\r\nexport function getDepartmentManagement({\r\n lang = 'pt',\r\n department = '',\r\n ...props\r\n}) {\r\n try {\r\n const token = getToken()\r\n return axiosWithAuth().get(\r\n `/subwebs/${department}/management?language=${lang}`,\r\n {\r\n lang,\r\n redirectErrors: false,\r\n options: {\r\n ...token\r\n },\r\n ...props\r\n }\r\n );\r\n } catch (error) {\r\n throw error;\r\n }\r\n}\r\n\r\nexport function getPeopleTabs({\r\n lang = 'pt',\r\n department = '',\r\n type = '',\r\n ...props\r\n}) {\r\n try {\r\n const hasType = type ? `&type=${type}` : '';\r\n const token = getToken()\r\n return axiosWithAuth().get(\r\n `/subwebs/${department}/people/types?language=${lang}`,\r\n {\r\n lang,\r\n redirectErrors: false,\r\n options: {\r\n ...token\r\n },\r\n\r\n ...props\r\n }\r\n );\r\n } catch (error) {\r\n throw error;\r\n }\r\n}\r\n\r\nexport const EXPORT_EXCEL_KEY = 'export_excel'\r\nexport function getPivotsExcel() {\r\n try {\r\n return axiosWithAuth().get('/dashboard/pivotslist', {\r\n responseType: 'arraybuffer', // Important: Set the response type to arraybuffer for binary data\r\n headers: {\r\n 'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' // Set appropriate headers if required\r\n }\r\n }, {});\r\n } catch (error) {\r\n throw error;\r\n }\r\n}\r\n\r\nexport const EXPORT_STATUS_KEY = 'export_stats'\r\nexport function getStatsExcel(intervalForm) {\r\n\r\n const queryParams = `${intervalForm.startDate && intervalForm.endDate ? `startDate=${intervalForm.startDate}&endDate=${intervalForm.endDate}` : ''}`;\r\n\r\n try {\r\n return axiosWithAuth().get(`/dashboard/stats?${queryParams}`, {\r\n responseType: 'arraybuffer', // Important: Set the response type to arraybuffer for binary data\r\n headers: {\r\n 'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' // Set appropriate headers if required\r\n }\r\n });\r\n } catch (error) {\r\n throw error;\r\n }\r\n}\r\n","import React, { useEffect, useState } from 'react';\r\nimport { PagesCardList } from 'components/organisms';\r\nimport { generateEditorPath, generatePortalImg } from 'services/generators'\r\nimport { formatDistanceToNow, isValid } from 'date-fns'\r\nimport { pt } from 'date-fns/locale'\r\nimport PropTypes from 'prop-types'\r\nimport { useSelector } from 'react-redux'\r\nimport { isPathAbsolute } from 'services/helpers'\r\n\r\nconst computeLastModified = (lastModified) => {\r\n if (!lastModified) return 'Sem informação'\r\n const lastModifiedDate = new Date(lastModified)\r\n const isValidDate = isValid(lastModifiedDate)\r\n if (!isValidDate) return 'Sem informação'\r\n const computedDateDistance = formatDistanceToNow(\r\n lastModifiedDate,\r\n { locale: pt }\r\n )\r\n return `Editado há ${computedDateDistance}`\r\n}\r\n\r\nconst PagesUserList = ({ subweb }) => {\r\n const [data, setData] = useState([])\r\n const {\r\n isLoading, pagesQuickAccess\r\n } = useSelector(\r\n (state) => state.subweb\r\n )\r\n\r\n useEffect(() => {\r\n if (pagesQuickAccess.length > 0) {\r\n const pagesData = pagesQuickAccess.map((page) => {\r\n const { id: pageId, title, updatedAt: lastModified } = page\r\n const { image } = page.seo\r\n const lastModifiedDistance = computeLastModified(lastModified)\r\n\r\n // handle image\r\n let img = null\r\n if (image) {\r\n img = isPathAbsolute(image)\r\n ? generatePortalImg({ src: image, height: 134, isLocal: false })\r\n : generatePortalImg({ src: image, height: 134, isLocal: true })\r\n }\r\n\r\n return {\r\n title: title ? title.pt || title : null,\r\n img,\r\n description: lastModifiedDistance,\r\n to: generateEditorPath({ pageId, subweb }),\r\n key: pageId,\r\n lastModified,\r\n }\r\n })\r\n setData(pagesData)\r\n } else setData([])\r\n return () => {\r\n // cleanup function that cancels pending requests\r\n setData([])\r\n }\r\n }, [pagesQuickAccess, subweb])\r\n\r\n return \r\n};\r\n\r\nPagesUserList.propTypes = {\r\n subweb: PropTypes.string,\r\n}\r\n\r\nPagesUserList.defaultProps = {\r\n subweb: null,\r\n}\r\n\r\nexport default PagesUserList;\r\n","export default __webpack_public_path__ + \"static/media/template-article.8d785432.jpg\";","import React from 'react';\r\nimport { PagesCardList } from 'components/organisms';\r\nimport articleImg from 'assets/imgs/template-article.jpg';\r\n\r\n// todo templates query\r\nconst dummyTemplates = [\r\n {\r\n title: 'Article',\r\n description: 'For long texts and articles',\r\n img: articleImg,\r\n key: 1,\r\n },\r\n {\r\n title: 'From scratch',\r\n description: 'Start a new page without a template',\r\n icon: 'page',\r\n key: 2,\r\n },\r\n];\r\nconst PagesUserList = () => ;\r\n\r\nexport default PagesUserList;\r\n","import React, { useMemo } from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport PropTypes from 'prop-types';\r\nimport { ButtonMenu } from 'components/atoms';\r\nimport { withRouter, NavLink } from 'react-router-dom';\r\n\r\nconst ButtonMenuLink = ({\r\n to,\r\n history: {\r\n location: { pathname },\r\n },\r\n isDisabled,\r\n isTitle,\r\n ...props\r\n}) => {\r\n const isActive = useMemo(() => to === pathname, [pathname, to]);\r\n\r\n const computedModifiers = useMemo(() => {\r\n let modifiers = ['clearMargin', 'clearHorizontal', 'clean', 'primaryAlt'];\r\n if (isActive) modifiers = [...modifiers, 'active'];\r\n if (isDisabled) modifiers = [...modifiers, 'disabled'];\r\n if (isTitle) modifiers = [...modifiers, 'big'];\r\n return modifiers;\r\n }, [isActive, isDisabled, isTitle]);\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst NavLinkStyled = styled(NavLink)`\r\n text-decoration: none;\r\n`;\r\n\r\nButtonMenuLink.propTypes = {\r\n history: PropTypes.shape({\r\n location: PropTypes.shape({ pathname: PropTypes.string }),\r\n }).isRequired,\r\n exact: PropTypes.bool,\r\n to: PropTypes.string.isRequired,\r\n isDisabled: PropTypes.bool,\r\n isTitle: PropTypes.bool,\r\n};\r\n\r\nButtonMenuLink.defaultProps = {\r\n exact: true,\r\n isDisabled: false,\r\n isTitle: false,\r\n};\r\n\r\nexport default withRouter(ButtonMenuLink);\r\n","import React, { useMemo } from 'react';\r\nimport { NavGlobal } from 'components/organisms';\r\nimport { useUserContext } from 'context/UserContext';\r\nimport { useAppContext, actions } from 'context/AppContext';\r\nimport { useRouterContext } from 'hooks';\r\nimport { matchPath } from 'react-router-dom'\r\n\r\n/**\r\n * Global Navigation: Change between subwebs\r\n */\r\n\r\nconst NavGlobalContainer = () => {\r\n const [{ isGlobalNavOpen }, dispatch] = useAppContext();\r\n const [{\r\n user, subwebsFavorites\r\n }] = useUserContext();\r\n const {\r\n location: {\r\n pathname\r\n }\r\n } = useRouterContext();\r\n\r\n const handleFocusSearch = isFocus => {\r\n dispatch({\r\n type: actions.NAV_GLOBAL_OPEN_UPDATE,\r\n data: isFocus,\r\n });\r\n };\r\n\r\n // check if user is admin\r\n const isAdmin = (user && user.admin)\r\n\r\n const subwebs = useMemo(() => {\r\n if (!user || !user.subwebs) return []\r\n\r\n if (\r\n subwebsFavorites && subwebsFavorites.length > 0 && user.subwebs.length > 0\r\n ) return user.subwebs.filter(subweb => subwebsFavorites.includes(subweb.slug))\r\n\r\n return user.subwebs\r\n }, [user, subwebsFavorites])\r\n\r\n const params = useMemo(() => {\r\n const match = matchPath(pathname, {\r\n path: '/:subweb',\r\n exact: false,\r\n });\r\n if (match && match.params) return match.params;\r\n return null;\r\n }, [pathname]);\r\n\r\n const bottomActions = useMemo(() => {\r\n // support and profile routes would be identified as a subweb, but they are routes\r\n const nonSubwebRoutes = ['support', 'profile']\r\n const isOutsideSubweb = !(params && params.subweb) || nonSubwebRoutes.includes(params.subweb)\r\n const list = [\r\n {\r\n to: isOutsideSubweb ? '/' : `/${params.subweb}/assets`,\r\n icon: 'fal fa-images',\r\n title: 'Galeria',\r\n tooltip: isOutsideSubweb ? 'Galeria de uma subweb' : 'Galeria de imagens',\r\n isDisabled: isOutsideSubweb\r\n },\r\n {\r\n to: isOutsideSubweb ? '/' : `/${params.subweb}/files/pt`,\r\n icon: 'fal fa-file',\r\n title: 'Ficheiros',\r\n tooltip: isOutsideSubweb ? 'Ficheiros de uma subweb' : 'Ficheiros',\r\n isDisabled: isOutsideSubweb\r\n },\r\n {\r\n to: '/support',\r\n icon: 'fal fa-question-circle',\r\n title: 'Ajuda',\r\n },\r\n isAdmin ? {\r\n to: '/admin',\r\n icon: 'fal fa-cog',\r\n title: 'Ferramentas de Administração',\r\n } : null,\r\n ]\r\n return list.filter(el => el !== null)\r\n }, [params])\r\n\r\n return (\r\n handleFocusSearch(true)}\r\n onBlurSearch={() => handleFocusSearch(false)}\r\n sites={subwebs}\r\n user={user}\r\n subweb={params && params.subweb}\r\n bottomActions={bottomActions}\r\n isOpen={isGlobalNavOpen}\r\n />\r\n );\r\n};\r\n\r\nNavGlobalContainer.propTypes = {};\r\n\r\nexport default NavGlobalContainer;\r\n","/* eslint-disable no-console, react-hooks/exhaustive-deps */\r\nimport React, { useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro'\r\nimport { Button, Spacer } from 'components/atoms';\r\nimport { InputIcon, Pagination } from 'components/molecules';\r\nimport { MediaGallery } from 'components/organisms';\r\nimport { modifiersType } from 'types';\r\nimport { getImages, IMAGES_KEY } from 'services/requests';\r\nimport { useDebounce } from 'react-use'\r\nimport { useParams } from 'react-router-dom';\r\nimport { usePaginatedQuery } from 'react-query'\r\n\r\nconst pageSize = 12\r\n\r\nconst MediaGalleryContainer = ({\r\n onSelect,\r\n modifiers,\r\n isInput,\r\n forceUpdate,\r\n onClickUpload,\r\n onlyEditable,\r\n activeForm\r\n}) => {\r\n // eslint-disable-next-line no-unused-vars\r\n const [allData, setAllData] = useState([]);\r\n const [search, setSearch] = useState('')\r\n const [debouncedSearch, setDebouncedSearch] = useState('');\r\n const [page, setPage] = useState(1)\r\n const { subweb } = useParams();\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 350,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n refetch\r\n } = usePaginatedQuery([IMAGES_KEY, {\r\n currentPage: page,\r\n recordsPerPage: pageSize,\r\n subweb,\r\n search: debouncedSearch,\r\n pagination: true,\r\n onlyEditable\r\n }], getImages, {\r\n \r\n })\r\n\r\n const totalRecords = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalRecords\r\n ? resolvedData.data.pagination.totalRecords\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n React.useEffect(() => {\r\n // console.log({ totalRecords, resolvedData })\r\n }, [totalRecords])\r\n\r\n const images = useMemo(() => {\r\n if (\r\n resolvedData\r\n && resolvedData.data\r\n && resolvedData.data.files\r\n && resolvedData.data.files.length > 0\r\n ) {\r\n return resolvedData.data.files;\r\n }\r\n return [];\r\n }, [resolvedData]);\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n // HACK:\r\n // the carousel height was not adjusting when the images loaded up\r\n // this fixes that\r\n React.useEffect(() => {\r\n refetch()\r\n forceUpdate()\r\n }, [images, activeForm])\r\n\r\n const handleClickUpload = (e) => {\r\n e.stopPropagation();\r\n onClickUpload()\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n pageSize={pageSize}\r\n />\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n pageSize={pageSize}\r\n />\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n display: grid;\r\n grid-template-columns: 1fr auto;\r\n grid-column-gap: ${props => props.theme.spacing.xs};\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n`;\r\n\r\nTop.Start = styled.div``;\r\nTop.End = styled.div`\r\n button {\r\n height: 100%;\r\n }\r\n`;\r\n\r\nconst List = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n`\r\n\r\nMediaGalleryContainer.propTypes = {\r\n onSelect: PropTypes.func,\r\n forceUpdate: PropTypes.func,\r\n onClickUpload: PropTypes.func,\r\n modifiers: modifiersType,\r\n isInput: PropTypes.bool,\r\n onlyEditable: PropTypes.bool,\r\n activeForm: PropTypes.number,\r\n};\r\n\r\nMediaGalleryContainer.defaultProps = {\r\n onSelect: () => null,\r\n forceUpdate: () => null,\r\n onClickUpload: () => null,\r\n modifiers: [],\r\n isInput: false,\r\n onlyEditable: false,\r\n activeForm: 0\r\n};\r\n\r\nexport default MediaGalleryContainer;\r\n","import React, { useMemo, useState, useEffect } from 'react'\r\n\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useRouterContext } from 'hooks';\r\nimport { useUserContext, isUserSubwebAdmin } from 'context/UserContext';\r\n\r\nimport styled from 'styled-components/macro';\r\nimport * as Yup from 'yup';\r\nimport { Formik, Field } from 'formik';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport {\r\n FieldCustom,\r\n FieldImageUpload,\r\n FieldSelect,\r\n} from 'components/molecules';\r\nimport { Form, Button } from 'components/atoms';\r\n\r\nimport { uploadImage, getImageCollections } from 'services/requests';\r\n\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\n\r\n\r\nconst FILE_SIZE_MB = 4;\r\nconst SUPPORTED_FORMATS = [\r\n 'image/jpg',\r\n 'image/jpeg',\r\n 'image/png',\r\n 'image/svg+xml',\r\n];\r\n\r\nexport const ImageSchema = Yup.object().shape({\r\n title: Yup.string().required('Campo obrigatório'),\r\n language: Yup.string()\r\n .oneOf(['pt', 'en'], 'Lingua inválida')\r\n .required('Campo obrigatório'),\r\n alt: Yup.string().required('Campo obrigatório'),\r\n keyword: Yup.array().of(Yup.string()),\r\n collection: Yup.string().required('Campo obrigatório'),\r\n file: Yup.mixed()\r\n .required('Campo obrigatório')\r\n .test(\r\n 'fileSize',\r\n `Ficheiro demasiado grande, máximo de ${FILE_SIZE_MB}MB`,\r\n value => {\r\n const size = value ? value.size : 0;\r\n return size <= FILE_SIZE_MB * 1024 * 1024;\r\n }\r\n )\r\n .test(\r\n 'fileFormat',\r\n 'Formato inválido, tem de ser jpg, jpeg ou png',\r\n value => value && SUPPORTED_FORMATS.includes(value.type)\r\n ),\r\n});\r\n\r\nconst computeOptions = (opts) => opts.map((option) => ({\r\n value: option,\r\n label: option,\r\n original: option\r\n}))\r\n\r\nconst MediaUploadForm = ({\r\n initialValues, onSubmit, isActive, language, onDiscard\r\n}) => {\r\n const [collections, setCollections] = useState([]);\r\n const [loading, setLoading] = useState(false);\r\n const history = useHistory();\r\n const {\r\n match: {\r\n params: { subweb },\r\n },\r\n } = useRouterContext();\r\n\r\n const [{ user }] = useUserContext()\r\n const isAdmin = (user && user.admin) || isUserSubwebAdmin(user, subweb)\r\n\r\n const permissionLevelOptions = [\r\n { label: 'apenas para mim', value: 1 },\r\n { label: 'para esta subweb', value: 2 },\r\n isAdmin ? { label: 'para todas as subwebs', value: 3 } : null\r\n ]\r\n const computedInitialValues = useMemo(\r\n () => ({\r\n ...initialValues,\r\n permissionLevel: 2,\r\n collection: 'campus',\r\n language\r\n }),\r\n [initialValues, language]\r\n );\r\n\r\n // todo add select for locations\r\n useEffect(() => {\r\n const getCollections = async () => {\r\n try {\r\n setLoading(true)\r\n const { data: { collections: data } } = await getImageCollections({ subweb });\r\n setCollections(computeOptions(data));\r\n setLoading(false)\r\n } catch (err) {\r\n setLoading(false)\r\n toast.error(\r\n \r\n );\r\n // eslint-disable-next-line no-console\r\n console.error(err);\r\n }\r\n }\r\n getCollections();\r\n }, [subweb]);\r\n\r\n const isInitialValid = useMemo(\r\n () => ImageSchema.isValidSync(computedInitialValues),\r\n [computedInitialValues]\r\n );\r\n\r\n const handleSubmitImage = async values => {\r\n \r\n const {\r\n file: fileValue,\r\n alt: altValue,\r\n title: titleValue,\r\n language: languageValue,\r\n keyword: keywordValue,\r\n collection: collectionValue,\r\n permissionLevel: permissionLevelValue\r\n } = values;\r\n\r\n try {\r\n setLoading(true);\r\n const languageImageData = {\r\n language: languageValue,\r\n title: titleValue,\r\n alt: altValue,\r\n description: altValue,\r\n };\r\n\r\n const response = await uploadImage({\r\n keyword: keywordValue,\r\n collection: collectionValue,\r\n language: [languageImageData],\r\n file: fileValue,\r\n subweb,\r\n permissionLevel: permissionLevelValue\r\n });\r\n\r\n const { data: uploadPortalImage } = response;\r\n const { id, url, data: imageDataArr } = uploadPortalImage;\r\n const imageDataLang = imageDataArr.find(\r\n ({ languageName }) => languageName === language\r\n );\r\n\r\n const { alt, title } = imageDataLang;\r\n onSubmit({\r\n id,\r\n alt,\r\n title,\r\n url,\r\n });\r\n setLoading(false);\r\n toast.success(\r\n \r\n );\r\n } catch (err) {\r\n setLoading(false);\r\n toast.error(\r\n \r\n );\r\n }\r\n };\r\n const onGalleryDiscard = () => {\r\n history.goBack();\r\n }\r\n\r\n return (\r\n {\r\n handleSubmitImage(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting, handleSubmit }) => (\r\n
{\r\n e.stopPropagation()\r\n e.preventDefault()\r\n handleSubmit(e)\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n Carregar\r\n \r\n \r\n
\r\n )}\r\n \r\n );\r\n};\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n`;\r\n\r\nconst Container = styled.div`\r\n min-height: 404px;\r\n overflow: auto;\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n\r\n /* width */\r\n ::-webkit-scrollbar {\r\n width: 5px;\r\n }\r\n\r\n /* Track */\r\n ::-webkit-scrollbar-track {\r\n background: ${props => props.theme.colors.bg};\r\n }\r\n\r\n /* Handle */\r\n ::-webkit-scrollbar-thumb {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n\r\n /* Handle on hover */\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n`;\r\n\r\nMediaUploadForm.propTypes = {\r\n initialValues: PropTypes.shape({\r\n title: PropTypes.string,\r\n description: PropTypes.string,\r\n alt: PropTypes.string,\r\n file: PropTypes.shape({}),\r\n collection: PropTypes.string,\r\n }),\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n isActive: PropTypes.bool,\r\n language: PropTypes.string,\r\n};\r\n\r\nMediaUploadForm.defaultProps = {\r\n initialValues: {\r\n title: '',\r\n description: '',\r\n alt: '',\r\n file: null,\r\n },\r\n onSubmit: () => null,\r\n onDiscard: null,\r\n isActive: false,\r\n language: 'pt',\r\n};\r\n\r\nexport default MediaUploadForm;\r\n","/* eslint-disable no-console */\r\n\r\nimport React, { useMemo, useEffect, useState } from 'react';\r\n\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useRouterContext } from 'hooks';\r\nimport { useUserContext, isUserSubwebAdmin } from 'context/UserContext';\r\n\r\nimport styled from 'styled-components/macro';\r\nimport * as Yup from 'yup';\r\nimport { Formik, Field } from 'formik';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport {\r\n FieldCustom, FieldImageUpload, FieldSelect, ModalConfirm\r\n} from 'components/molecules';\r\nimport {\r\n Form, Button, Text, Spacer,\r\n} from 'components/atoms';\r\n\r\nimport { useQueryImage, updateImage, deleteImage } from 'services/requests';\r\nimport { generateEditorPath } from 'services/generators'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\n\r\nexport const ImageSchema = Yup.object().shape({\r\n id: Yup.string(),\r\n title: Yup.string(),\r\n description: Yup.string(),\r\n language: Yup.string()\r\n .oneOf(['pt', 'en'], 'Lingua inválida')\r\n .required('Campo obrigatório'),\r\n alt: Yup.string().required('Campo obrigatório'),\r\n collection: Yup.string()\r\n});\r\n\r\n// todo language parameter\r\nconst MediaUpdateForm = ({\r\n imageId,\r\n // eslint-disable-next-line no-unused-vars\r\n onSubmit,\r\n // eslint-disable-next-line no-unused-vars\r\n isActive,\r\n language,\r\n isPage,\r\n onDiscard\r\n}) => {\r\n const [initialValues, setInitialValues] = useState({\r\n id: imageId,\r\n title: '',\r\n description: '',\r\n language,\r\n alt: '',\r\n collection: '',\r\n permissionLevel: 2,\r\n isLocal: false\r\n })\r\n const { match: { params: { subweb } } } = useRouterContext()\r\n\r\n const [{ user }] = useUserContext()\r\n const isAdmin = (user && user.admin) || isUserSubwebAdmin(user, subweb);\r\n const [permissionLevelOptions] = useState([\r\n { label: 'apenas para mim', value: 1 },\r\n { label: 'para esta subweb', value: 2 },\r\n isAdmin ? { label: 'para todas as subwebs', value: 3 } : null\r\n ])\r\n const [confirmRemove, setConfirmRemove] = useState(false)\r\n const history = useHistory();\r\n const { loading: imageLoading, response, error: imageError } = useQueryImage({\r\n id: imageId,\r\n subweb\r\n });\r\n\r\n useEffect(() => {\r\n if (\r\n response\r\n && response.data\r\n && response.data.files\r\n && !imageLoading\r\n && !imageError\r\n ) {\r\n const {\r\n data: { files: portalImage },\r\n } = response;\r\n const {\r\n url, id, data: imageDataArr, permissionLevel, date\r\n } = portalImage;\r\n\r\n const urlObj = new URL(url);\r\n urlObj.searchParams.set('date', date);\r\n const updateUrl = urlObj.toString();\r\n\r\n const imageDataLang = imageDataArr.find(\r\n ({ languageName }) => languageName === language\r\n );\r\n\r\n let initialValues = {\r\n url: updateUrl,\r\n id,\r\n alt: '',\r\n title: '',\r\n description: '',\r\n language,\r\n permissionLevel\r\n };\r\n\r\n if (imageDataLang) {\r\n const { alt, title, description } = imageDataLang;\r\n initialValues = {\r\n ...initialValues,\r\n alt,\r\n title,\r\n description\r\n };\r\n }\r\n setInitialValues(initialValues);\r\n }\r\n }, [response, imageLoading, imageError, language]);\r\n\r\n const isInitialValid = useMemo(() => ImageSchema.isValidSync(initialValues), [\r\n initialValues,\r\n ]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n const handleSubmit = async values => {\r\n const {\r\n alt: altValue,\r\n title: titleValue,\r\n language: languageValue,\r\n file: fileValue\r\n } = values;\r\n\r\n try {\r\n setLoading(true);\r\n const {\r\n id, alt, description, title, image: file, permissionLevel\r\n } = values;\r\n\r\n const languageImageData = {\r\n alt: altValue,\r\n description: altValue,\r\n title: titleValue,\r\n language: languageValue\r\n };\r\n await updateImage({\r\n id,\r\n language: [languageImageData],\r\n description,\r\n alt,\r\n title,\r\n subweb,\r\n file,\r\n permissionLevel\r\n });\r\n setLoading(false);\r\n toast.success(\r\n \r\n );\r\n\r\n } catch (err) {\r\n setLoading(false);\r\n toast.error(\r\n \r\n );\r\n console.error(err);\r\n }\r\n };\r\n\r\n const handleRemove = async (remove) => {\r\n if (remove === true) {\r\n try {\r\n setLoading(true);\r\n await deleteImage({ fileId: imageId, subweb })\r\n\r\n setLoading(false);\r\n toast.success(\r\n \r\n );\r\n\r\n history.push(`/${subweb}/assets`)\r\n\r\n // TODO: redirect to gallery\r\n } catch (err) {\r\n setLoading(false);\r\n toast.error(\r\n \r\n );\r\n console.error(err);\r\n }\r\n }\r\n else {\r\n setConfirmRemove(false)\r\n }\r\n }\r\n\r\n const onGalleryDiscard = () => {\r\n history.goBack();\r\n }\r\n\r\n return (\r\n <>\r\n {\r\n handleSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting }) => (\r\n
\r\n \r\n \r\n \r\n Imagem\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n Editar\r\n \r\n \r\n\r\n
\r\n )}\r\n \r\n setConfirmRemove(!confirmRemove)}\r\n onChange={(e) => { handleRemove(e) }}\r\n title=\"Apagar imagem\"\r\n message=\"A imagem será removida de todas as páginas onde esteja a ser usada, pretende continuar?\"\r\n textConfirm=\"Continuar\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n \r\n );\r\n};\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n`;\r\n\r\nconst Scrollable = styled.div`\r\n height: ${props => (props.isPage ? 'auto' : '404px')};\r\n ${props => !props.isPage && 'overflow: auto'};\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n\r\n /* width */\r\n ::-webkit-scrollbar {\r\n width: 5px;\r\n }\r\n\r\n /* Track */\r\n ::-webkit-scrollbar-track {\r\n background: ${props => props.theme.colors.bg};\r\n }\r\n\r\n /* Handle */\r\n ::-webkit-scrollbar-thumb {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n\r\n /* Handle on hover */\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n`;\r\n\r\n\r\nMediaUpdateForm.propTypes = {\r\n imageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n isActive: PropTypes.bool,\r\n language: PropTypes.string,\r\n isPage: PropTypes.bool,\r\n};\r\n\r\nMediaUpdateForm.defaultProps = {\r\n imageId: null,\r\n onSubmit: () => null,\r\n onDiscard: null,\r\n isActive: false,\r\n language: 'pt',\r\n isPage: true,\r\n};\r\n\r\nexport default MediaUpdateForm;\r\n","import React, {\r\n useMemo, useRef, useState\r\n} from 'react';\r\nimport {\r\n Title, ButtonMenu, Spacer\r\n} from 'components/atoms';\r\nimport { Modal } from 'components/molecules';\r\nimport {\r\n MediaGallery,\r\n MediaUploadForm,\r\n} from 'containers';\r\nimport styled from 'styled-components/macro';\r\nimport Carousel from 'react-slick';\r\nimport PropTypes from 'prop-types';\r\nimport { useForceUpdate, useRouterContext } from 'hooks'\r\nimport { useUserContext, isUserSubwebAdmin } from 'context/UserContext';\r\n\r\n\r\nconst MediaUploadGallery = ({\r\n isOpen,\r\n toggle,\r\n onSubmit,\r\n lang,\r\n}) => {\r\n const formCarousel = useRef(null);\r\n const [activeForm, setActiveForm] = useState(0);\r\n const forceUpdate = useForceUpdate()\r\n\r\n const {\r\n match: {\r\n params: { subweb },\r\n },\r\n } = useRouterContext();\r\n\r\n const [{ user }] = useUserContext()\r\n const isAdmin = (user && user.admin) || isUserSubwebAdmin(user, subweb)\r\n const isEditor = (user && user.editor) || isUserSubwebAdmin(user, subweb)\r\n\r\n const goToForm = index => {\r\n setActiveForm(index);\r\n formCarousel?.current?.slickGoTo(index);\r\n };\r\n\r\n const isMediaUploadFormActive = useMemo(() => {\r\n const MediaUploadFormIndex = 1;\r\n return activeForm === MediaUploadFormIndex;\r\n }, [activeForm]);\r\n\r\n // update image values for currently editing language form\r\n const handleOnSubmitImage = imageValues => {\r\n onSubmit(imageValues)\r\n toggle()\r\n };\r\n\r\n const handleOnUploadImage = imageValues => {\r\n goToForm(0)\r\n };\r\n\r\n const handleMediaSelect = image => {\r\n const { id, url, data } = image;\r\n const [imageData] = data;\r\n const { alt, title } = imageData;\r\n\r\n handleOnSubmitImage({\r\n id,\r\n alt,\r\n title,\r\n url,\r\n });\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n Selecionar imagem\r\n \r\n \r\n goToForm(1)}\r\n isInput\r\n showPreview\r\n activeForm={activeForm}\r\n />\r\n \r\n \r\n \r\n {(isAdmin || isEditor) && (\r\n \r\n goToForm(0)}\r\n >\r\n Adicionar imagem\r\n \r\n \r\n )\r\n }\r\n \r\n goToForm(0)}\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst Top = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n padding-bottom: ${props => props.theme.spacing.xl2};\r\n padding: ${props => `${props.theme.spacing.xl} ${props.theme.spacing.xl2} ${props.theme.spacing.xl2} ${props.theme.spacing.xl}`};\r\n`;\r\n\r\nconst CarouselSlide = styled.div`\r\n padding: 0;\r\n &:focus {\r\n outline: 0;\r\n }\r\n`;\r\n\r\nMediaUploadGallery.propTypes = {\r\n toggle: PropTypes.func,\r\n isOpen: PropTypes.bool,\r\n onSubmit: PropTypes.func,\r\n lang: PropTypes.string,\r\n};\r\n\r\nMediaUploadGallery.defaultProps = {\r\n toggle: () => null,\r\n isOpen: false,\r\n onSubmit: () => null,\r\n lang: 'pt',\r\n};\r\n\r\nexport default MediaUploadGallery;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\n\r\nconst Icon = () => (\r\n \r\n \r\n \r\n \r\n);\r\n\r\nconst CloseButton = ({ closeToast }) => (\r\n \r\n \r\n \r\n);\r\n\r\nconst ButtonTransparent = styled.button`\r\n background: transparent;\r\n border: none;\r\n cursor: pointer;\r\n`;\r\n\r\nCloseButton.propTypes = {\r\n closeToast: PropTypes.func,\r\n};\r\n\r\nCloseButton.defaultProps = {\r\n closeToast: () => null,\r\n};\r\n\r\nexport default CloseButton;\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\n\r\nimport { Text, Icon } from 'components/atoms';\r\n\r\nconst TypeIcon = ({ type }) => {\r\n const ComputedIcon = useMemo(() => {\r\n if (type === 'success') return () => ;\r\n if (type === 'error') return () => ;\r\n if (type === 'warn') return () => ;\r\n if (type === 'info') return () => ;\r\n return () => ;\r\n }, [type]);\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nTypeIcon.propTypes = {\r\n type: PropTypes.oneOf(['success', 'error', 'info', 'warn']),\r\n};\r\n\r\nTypeIcon.defaultProps = {\r\n type: 'info',\r\n};\r\n\r\nconst Toast = ({ type, title, description }) => (\r\n \r\n \r\n
\r\n {title}\r\n \r\n {description}\r\n \r\n
\r\n
\r\n);\r\n\r\nToast.propTypes = {\r\n type: PropTypes.oneOf(['success', 'error', 'info', 'warn']),\r\n title: PropTypes.string.isRequired,\r\n description: PropTypes.string,\r\n};\r\n\r\nToast.defaultProps = {\r\n type: 'info',\r\n description: '',\r\n};\r\n\r\nconst Wrapper = styled.div`\r\n display: flex;\r\n align-items: center;\r\n .toast-description {\r\n padding-top: ${props => props.theme.spacing.xs4};\r\n line-height: ${props => props.theme.spacing.sm};\r\n }\r\n`;\r\n\r\nconst IconWrapper = styled.div`\r\n margin-right: ${props => props.theme.spacing.xs};\r\n`;\r\n\r\nexport default Toast;\r\n","/*\r\n Handles authentication permissions and redirects\r\n Example:\r\n \r\n

Only admins will see this header

\r\n
\r\n\r\n \r\n

If not editor will be redirected to 401

\r\n
\r\n\r\n \r\n

Only admins of the subweb 'deca' or of the editor will see this

\r\n
\r\n*/\r\n\r\nimport React, { useMemo, useEffect } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { useUserContext } from 'context/UserContext';\r\nimport { useRouterContext } from 'hooks';\r\n\r\nconst roles = {\r\n ADMIN: 'admin',\r\n EDITOR: 'editor',\r\n USER: 'user'\r\n}\r\n\r\nconst rolesArr = Object.values(roles)\r\n\r\nexport const Authenticator = ({\r\n requires, redirect, children, subweb\r\n}) => {\r\n const [{ user, userAuthenticated }] = useUserContext();\r\n const { history } = useRouterContext();\r\n\r\n // to check if user is an admin for a specific subweb\r\n const hasSubwebAdminPermissions = React.useMemo(() => {\r\n if (!subweb || !user || !user.subwebs || !user.subwebs.length > 0) return false\r\n const subwebData = user.subwebs.find(\r\n subwebData => subwebData.slug === subweb || encodeURIComponent(subwebData.slug) === subweb\r\n )\r\n return (subwebData && subwebData.admin) ? subwebData.admin : false\r\n }, [subweb, user])\r\n\r\n // computed\r\n const hasAdminPermissions = useMemo(() => user && !!user.admin, [user])\r\n const hasEditorPermissions = useMemo(() => user && !!user.editor, [user])\r\n const hasUserPermissions = useMemo(() => user && !!user.user, [user])\r\n const hasPermissions = useMemo(() => {\r\n if (requires === roles.ADMIN) return hasSubwebAdminPermissions || hasAdminPermissions\r\n if (requires === roles.EDITOR) return hasEditorPermissions\r\n if (requires === roles.USER) return hasUserPermissions\r\n return userAuthenticated\r\n }, [\r\n requires,\r\n hasAdminPermissions,\r\n hasSubwebAdminPermissions,\r\n hasEditorPermissions,\r\n hasUserPermissions,\r\n userAuthenticated\r\n ])\r\n\r\n // handle redirect\r\n useEffect(() => {\r\n if (userAuthenticated && (!hasPermissions && redirect)) {\r\n history.push(redirect)\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [hasPermissions, redirect, userAuthenticated])\r\n\r\n return hasPermissions ? (\r\n <>\r\n {children}\r\n \r\n ) : null\r\n}\r\n\r\nAuthenticator.propTypes = {\r\n requires: PropTypes.oneOf(rolesArr),\r\n redirect: PropTypes.string,\r\n children: PropTypes.node,\r\n subweb: PropTypes.string,\r\n}\r\n\r\nAuthenticator.defaultProps = {\r\n requires: roles.USER,\r\n redirect: null,\r\n children: null,\r\n subweb: null,\r\n}\r\n\r\nexport default Authenticator\r\n","import React, { useMemo } from 'react'\r\nimport { SubwebsCardList } from 'components/organisms'\r\nimport { useUserContext } from 'context/UserContext';\r\nimport { generateSubwebsWithFavoritesFirst } from 'services/generators'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst SubwebsUserList = ({ max }) => {\r\n const [{\r\n user, subwebsFavorites,\r\n }] = useUserContext();\r\n\r\n const subwebs = useMemo(() => {\r\n let computed = []\r\n if (!user || !user.subwebs) return computed\r\n computed = generateSubwebsWithFavoritesFirst(user.subwebs, subwebsFavorites)\r\n return computed.slice(0, max)\r\n }, [user, max, subwebsFavorites])\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nSubwebsUserList.propTypes = {\r\n max: PropTypes.number,\r\n}\r\n\r\nSubwebsUserList.defaultProps = {\r\n max: 8,\r\n}\r\n\r\nexport default SubwebsUserList\r\n","import React from 'react'\r\nimport { UserAvatar } from 'containers'\r\nimport { Avatar } from 'components/atoms'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components/macro'\r\n\r\nconst UsersAvatarList = ({ users, maxItems, loading }) => {\r\n if (loading) {\r\n return (\r\n \r\n )\r\n }\r\n return (\r\n \r\n {users.map(\r\n (user, index) => {\r\n if (index === maxItems) {\r\n return (\r\n \r\n +\r\n {users.length - maxItems}\r\n \r\n )\r\n }\r\n if (index > maxItems) return null\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n )}\r\n \r\n )\r\n}\r\n\r\n\r\nconst Item = styled.div`\r\n`\r\n\r\nconst More = styled.div`\r\n height: 2rem;\r\n padding: ${props => props.theme.spacing.xs2};\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n color: ${props => props.theme.colors.baseLighter};\r\n font-size: ${props => props.theme.sizes.xs};\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n`\r\n\r\nconst List = styled.div`\r\n display: flex;\r\n ${Item} {\r\n padding-right: ${props => props.theme.spacing.xs3};\r\n }\r\n ${Item}:last-child {\r\n padding-right: 0;\r\n }\r\n`\r\n\r\n\r\nUsersAvatarList.propTypes = {\r\n users: PropTypes.arrayOf(PropTypes.shape({\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\r\n })),\r\n maxItems: PropTypes.number,\r\n loading: PropTypes.bool,\r\n}\r\n\r\nUsersAvatarList.defaultProps = {\r\n users: [],\r\n maxItems: 3,\r\n loading: false\r\n}\r\n\r\nexport default UsersAvatarList\r\n","import { produce } from 'immer'\r\n\r\nexport const removeItemFromTree = (id, tree) => {\r\n const { items } = tree\r\n\r\n // search all items to find children and then delete from that\r\n const itemParentId = Object.keys(items).find(itemId => items[itemId].children.includes(id))\r\n const itemChildrenIndex = items[itemParentId].children.findIndex(childKey => childKey === id)\r\n\r\n const treeWithoutItem = produce(tree, draftState => {\r\n // eslint-disable-next-line no-param-reassign\r\n delete draftState.items[id]\r\n draftState.items[itemParentId].children.splice(itemChildrenIndex, 1)\r\n })\r\n\r\n return treeWithoutItem\r\n}\r\n\r\nexport const findItemSource = (tree, itemId) => {\r\n const { items } = tree\r\n const itemsKeys = Object.keys(items)\r\n const parentId = itemsKeys.find(key => items[key].children.includes(`${itemId}`))\r\n const parent = items[parentId]\r\n const index = parent.children.findIndex(child => child === itemId)\r\n return {\r\n parentId,\r\n index,\r\n }\r\n}\r\n\r\n// work around to limit nav depth to 2 children\r\nexport const computeSecondDepthDestination = ({\r\n items, rootId, destination, source\r\n}) => {\r\n const { parentId } = destination\r\n\r\n // if source item has children it cannot be moved if the parent is not the root\r\n const sourceItemKey = items[source.parentId].children[source.index]\r\n const sourceItem = items[sourceItemKey]\r\n const sourceItemHasChildren = sourceItem.children.length > 0\r\n if (parentId !== rootId && sourceItemHasChildren) return source\r\n\r\n let parent = parentId\r\n const getParent = (items, parentId, rootId) => {\r\n // find out whos the parent\r\n const grandParentId = Object.keys(items).find(key => {\r\n const item = items[key]\r\n const grandParentId = item.children.includes(parentId)\r\n return grandParentId\r\n })\r\n // if the parent is not the rootId it means it isnt the second depth parent\r\n // repeat until second depth parent is found\r\n if (grandParentId !== rootId) getParent(items, grandParentId, rootId)\r\n // we found it!\r\n else parent = parentId\r\n }\r\n getParent(items, parentId, rootId)\r\n return {\r\n index: parent === destination.parentId ? (destination.index || 0) : 0,\r\n parentId: parent\r\n }\r\n}\r\n\r\nexport const computeDestination = ({ tree, destination, source }) => {\r\n const { rootId, items } = tree\r\n // if the parentId is the rootId then its on the first depth\r\n // if the parentId is not the rootId its > 2nd depth\r\n const secondDepthDestination = destination.parentId === rootId\r\n ? destination\r\n : computeSecondDepthDestination({\r\n items, rootId, destination, source\r\n })\r\n\r\n return secondDepthDestination\r\n}\r\n\r\nexport default function treeToNav(tree) {\r\n const { rootId, items } = tree\r\n const root = items[rootId]\r\n\r\n const schema = {\r\n ...root.data,\r\n tabs: [],\r\n }\r\n\r\n const rootChildren = root.children\r\n\r\n const convertTreeItemToNavItem = (id, isSecondDepth = false) => {\r\n const child = items[id]\r\n\r\n const props = child.data || {}\r\n const childChildren = child.children || []\r\n const links = childChildren.map(grandChild => {\r\n if (grandChild && grandChild !== id) return convertTreeItemToNavItem(grandChild, true)\r\n return []\r\n })\r\n\r\n const { title, text, ...rest } = props\r\n const data = isSecondDepth ? { text, ...rest } : { title, ...rest }\r\n\r\n return {\r\n ...data,\r\n links,\r\n hasLinks: links.length > 0,\r\n }\r\n }\r\n\r\n rootChildren.forEach(id => {\r\n schema.tabs = [...schema.tabs, convertTreeItemToNavItem(id)]\r\n })\r\n\r\n return schema\r\n}\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\n\r\nimport React, {\r\n useState, useEffect, useRef, useMemo\r\n} from 'react'\r\nimport { useClickAway, useKeyPressEvent } from 'react-use'\r\nimport PropTypes from 'prop-types'\r\nimport TextareaAutosize from 'react-autosize-textarea'\r\nimport styled from 'styled-components/macro'\r\nimport { useFirstMountState, useDoubleClick } from 'hooks'\r\n\r\nconst useInlineEdit = ref => {\r\n const [isEditing, setIsEditing] = useState(false)\r\n const [isKeyEnterPressed, setKeyEnterPressed] = useState(false)\r\n useKeyPressEvent(\r\n 'Enter',\r\n () => setKeyEnterPressed(true),\r\n () => setKeyEnterPressed(false)\r\n )\r\n\r\n useClickAway(ref, () => {\r\n setIsEditing(false)\r\n })\r\n\r\n useEffect(() => {\r\n if (isEditing && isKeyEnterPressed) setIsEditing(false)\r\n }, [isEditing, isKeyEnterPressed])\r\n\r\n return [isEditing, setIsEditing]\r\n}\r\n\r\nexport default WrappedComponent => {\r\n const useInlineEditWrapper = ({\r\n children,\r\n onChange,\r\n onFocus,\r\n onBlur,\r\n focusTrigger,\r\n disableDoubleClick,\r\n ...props\r\n }) => {\r\n const elementToEdit = useRef(null)\r\n const inputRef = useRef(null)\r\n const [value, setValue] = useState(children)\r\n const [isEditing, setIsEditing] = useInlineEdit(elementToEdit)\r\n const isFirstMount = useFirstMountState();\r\n\r\n const computeEditingClasses = isEditing => {\r\n if (isEditing) return 'isEditable--editing'\r\n return 'isEditable'\r\n }\r\n const isEditingClasses = useMemo(() => computeEditingClasses(isEditing), [\r\n isEditing\r\n ])\r\n\r\n const handleChange = e => {\r\n setValue(e.target.value)\r\n onChange(e)\r\n }\r\n\r\n // sets caret to end\r\n // https://stackoverflow.com/posts/35951917/revisions\r\n const handleFocus = e => {\r\n const val = e.target.value;\r\n e.target.value = '';\r\n e.target.value = val;\r\n onFocus(e)\r\n }\r\n\r\n useEffect(() => {\r\n if (!isFirstMount) {\r\n setIsEditing(true)\r\n }\r\n }, [focusTrigger])\r\n\r\n useEffect(() => {\r\n if (inputRef && inputRef.current && isEditing) {\r\n inputRef.current.focus()\r\n }\r\n }, [inputRef, isEditing])\r\n\r\n useEffect(() => {\r\n if (!isEditing) onBlur()\r\n }, [isEditing])\r\n\r\n useDoubleClick({\r\n onDoubleClick: () => {\r\n if (!disableDoubleClick) setIsEditing(true)\r\n },\r\n ref: elementToEdit,\r\n latency: 250\r\n });\r\n\r\n return (\r\n \r\n \r\n {isEditing ? (\r\n \r\n ) : (\r\n value\r\n )}\r\n \r\n \r\n )\r\n }\r\n\r\n useInlineEditWrapper.propTypes = {\r\n children: PropTypes.node,\r\n onChange: PropTypes.func,\r\n onFocus: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n focusTrigger: PropTypes.bool,\r\n disableDoubleClick: PropTypes.bool,\r\n }\r\n\r\n useInlineEditWrapper.defaultProps = {\r\n children: 'Click me to edit',\r\n onChange: () => { },\r\n onFocus: () => { },\r\n onBlur: () => { },\r\n focusTrigger: false,\r\n disableDoubleClick: false,\r\n }\r\n\r\n const InlineEditWrapper = styled.div``\r\n\r\n return useInlineEditWrapper\r\n}\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useState, useMemo } from 'react'\r\nimport styled, { css } from 'styled-components'\r\nimport {\r\n Text, Icon\r\n} from 'components/atoms'\r\nimport { PopoverActions, Tooltip } from 'components/molecules'\r\nimport PropTypes from 'prop-types'\r\nimport { transparentize, darken } from 'polished'\r\nimport theme from 'services/theme.semantic'\r\nimport withInlineEdit from 'services/withInlineEdit'\r\nimport { useParams } from 'react-router-dom'\r\nimport { generateEditorPath } from 'services/generators'\r\nimport { getPageFromSlug } from 'services/requests'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\n\r\nconst TextEditable = withInlineEdit(Text)\r\n\r\nconst SideNavEditorItem = ({\r\n title,\r\n icon,\r\n provided,\r\n snapshot,\r\n depth,\r\n item,\r\n removeItem,\r\n tree,\r\n isCurrent,\r\n onChangeTitle,\r\n}) => {\r\n const [isHover, setHover] = useState(false)\r\n const [hasPopover, setHasPopover] = useState(false)\r\n const [isEditing, setIsEditing] = useState(false)\r\n const [titleFocusTrigger, setTitleFocusTrigger] = useState(false)\r\n const params = useParams()\r\n\r\n const isActive = useMemo(\r\n () => isHover || snapshot.isDragging || hasPopover || isEditing,\r\n [isHover, snapshot.isDragging, hasPopover, isEditing]\r\n )\r\n\r\n const handleOpenPageEditor = async (item) => {\r\n const { data } = item\r\n const { subweb } = params\r\n if ('id' in data) {\r\n window.open(generateEditorPath({ subweb, pageId: data.id }), '_blank')\r\n return;\r\n }\r\n\r\n // fetch id from slug 'url'\r\n if ('url' in data) {\r\n try {\r\n const { data: { pageId } } = await getPageFromSlug({ slug: data.url, subweb })\r\n window.open(generateEditorPath({ subweb, pageId }), '_blank')\r\n } catch (err) {\r\n toast.error(\r\n \r\n );\r\n }\r\n }\r\n }\r\n\r\n // validations\r\n const mustBeParent = useMemo(() => Boolean(item && item.data && item.data.url) === false, [item])\r\n const isOverLimit = useMemo(() => {\r\n const root = tree.items[tree.rootId]\r\n const parents = root.children\r\n if (parents.includes(item.id)) {\r\n return parents.findIndex(parentId => parentId === item.id) > 5\r\n }\r\n return false\r\n }, [item, tree])\r\n\r\n const hasChildren = useMemo(() => item.children.length > 0, [item])\r\n\r\n const isInvalidItem = useMemo(() => (depth === 0 && isOverLimit)\r\n || (depth === 1 && mustBeParent)\r\n || depth > 1\r\n || (depth === 0 && mustBeParent && !hasChildren && !isOverLimit),\r\n [depth, isOverLimit, mustBeParent, hasChildren])\r\n\r\n\r\n const actions = useMemo(() => {\r\n let computed = [\r\n {\r\n text: 'Editar título',\r\n onClick: () => {\r\n setTitleFocusTrigger(!titleFocusTrigger)\r\n },\r\n },\r\n ]\r\n\r\n if ((item && item.data) && (item.data.url && item.data.id)) {\r\n computed = [\r\n ...computed,\r\n {\r\n text: 'Editar página',\r\n onClick: () => handleOpenPageEditor(item),\r\n },\r\n ]\r\n }\r\n return [\r\n ...computed,\r\n {\r\n text: 'Remover',\r\n onClick: () => {\r\n removeItem(item)\r\n },\r\n }\r\n ]\r\n }, [tree, item])\r\n\r\n const handleTitleChange = (e) => {\r\n onChangeTitle(item, e.target.value)\r\n }\r\n\r\n const handleTitleFocus = () => {\r\n setIsEditing(true)\r\n }\r\n\r\n const handleTitleBlur = () => {\r\n setIsEditing(false)\r\n }\r\n\r\n return (\r\n setHover(true)}\r\n onMouseLeave={() => setHover(false)}\r\n isActive={isActive}\r\n depth={depth}\r\n isDanger={isInvalidItem}\r\n {...provided.dragHandleProps}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n {depth === 0 && mustBeParent && !hasChildren && !isOverLimit && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {depth === 0 && isOverLimit && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {depth === 1 && mustBeParent && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {depth > 1 && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {title}\r\n \r\n {icon}\r\n \r\n \r\n setHasPopover(isOpen)}\r\n actions={actions}\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Inner = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n width: 100%;\r\n`\r\n\r\nInner.Start = styled.div`\r\n display: flex;\r\n align-items: center;\r\n`\r\n\r\nInner.End = styled.div`\r\n display: flex;\r\n align-items: center;\r\n transition: opacity 0.2s ease;\r\n opacity: ${props => (props.isVisible ? '1' : '0.2')};\r\n padding-right: ${props => props.theme.spacing.xs2};\r\n`\r\n\r\nconst DragHandler = styled.div`\r\n transition: opacity 0.2s ease;\r\n opacity: ${props => (props.isVisible ? '1' : '0')};\r\n display: flex;\r\n align-items: center;\r\n padding: ${props => props.theme.spacing.xs2} ${props => props.theme.spacing.xs};\r\n cursor: grab;\r\n`\r\n\r\nconst NavTitle = styled.div(props => css`\r\n display: flex;\r\n align-items: center;\r\n padding-right: ${props.theme.spacing.xs};\r\n padding-top: ${props.theme.spacing.xs3};\r\n padding-bottom: ${props.theme.spacing.xs3};\r\n cursor: default;\r\n background-color: ${props => {\r\n if (props.isActive) return props.theme.colors.bg\r\n if (!props.isDanger && props.depth > 0) return darken(0.02, props.theme.colors.bgLighterS)\r\n return (\r\n props.isDanger\r\n ? transparentize(0.94, props.theme.colors.danger)\r\n : props.theme.colors.bgLighterS\r\n )\r\n }};\r\n ${props => props.isDragging && css`\r\n box-shadow: ${props => props.theme.shadows.card};\r\n background-color: ${props => props.theme.colors.bg} !important;\r\n `};\r\n &:hover, &:focus {\r\n background-color: ${props.theme.colors.bg};\r\n }\r\n &:active {\r\n background-color: ${props.theme.colors.bgLighterS};\r\n }\r\n`)\r\n\r\nconst Warning = styled.div`\r\n padding-right: ${props => props.theme.spacing.xs};\r\n cursor: help;\r\n`\r\n\r\nSideNavEditorItem.propTypes = {\r\n title: PropTypes.string,\r\n icon: PropTypes.node,\r\n provided: PropTypes.shape({\r\n dragHandleProps: PropTypes.shape({}),\r\n draggableProps: PropTypes.shape({}),\r\n innerRef: PropTypes.oneOfType([\r\n PropTypes.func,\r\n PropTypes.shape({ current: PropTypes.any })\r\n ])\r\n }).isRequired,\r\n snapshot: PropTypes.shape({\r\n isDragging: PropTypes.bool\r\n }).isRequired,\r\n depth: PropTypes.number.isRequired,\r\n item: PropTypes.shape({\r\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n data: PropTypes.shape({\r\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n url: PropTypes.string,\r\n }),\r\n children: PropTypes.arrayOf(PropTypes.string)\r\n }).isRequired,\r\n removeItem: PropTypes.func,\r\n tree: PropTypes.shape({\r\n items: PropTypes.arrayOf(PropTypes.shape({})),\r\n rootId: PropTypes.string\r\n }),\r\n isCurrent: PropTypes.bool,\r\n onChangeTitle: PropTypes.func,\r\n}\r\n\r\nSideNavEditorItem.defaultProps = {\r\n title: 'title',\r\n icon: null,\r\n removeItem: () => { },\r\n tree: null,\r\n isCurrent: false,\r\n onChangeTitle: () => { }\r\n}\r\n\r\nexport default SideNavEditorItem\r\n","/* eslint-disable react/prop-types */\r\nimport React, { useEffect, useMemo } from 'react';\r\nimport styled, { withTheme } from 'styled-components';\r\nimport Tree, {\r\n mutateTree,\r\n moveItemOnTree,\r\n} from '@atlaskit/tree';\r\nimport {\r\n Icon, Button, Text, Spacer\r\n} from 'components/atoms'\r\nimport PropTypes from 'prop-types'\r\nimport { updateTree } from 'redux/sidenavSlice'\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport ContentLoader from 'react-content-loader';\r\nimport navToTree from './parser/navToTree'\r\nimport { removeItemFromTree, computeDestination } from './parser/treeToNav'\r\nimport SideNavEditorItem from './SideNavEditorItem'\r\n\r\nconst Loader = withTheme(({ theme }) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n));\r\n\r\nconst SideNavEditor = ({\r\n initialProps, isLoading, currentSlug, error,\r\n}) => {\r\n const dispatch = useDispatch()\r\n const { tree } = useSelector(\r\n (state) => state.sidenav\r\n )\r\n\r\n // generate sidenav editor\r\n useEffect(() => {\r\n if (!error) {\r\n const newTree = navToTree(initialProps, currentSlug)\r\n dispatch(updateTree(newTree))\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [initialProps, currentSlug, isLoading])\r\n\r\n const hasItems = useMemo(() => {\r\n const hasTreeItems = tree && tree.items && Object.keys(tree.items).length > 1\r\n return hasTreeItems\r\n }, [tree])\r\n\r\n const getIcon = (\r\n item,\r\n onExpand,\r\n onCollapse,\r\n ) => {\r\n if (item.children && item.children.length > 0) {\r\n return item.isExpanded ? (\r\n onCollapse(item.id)}\r\n >\r\n onCollapse(item.id)}\r\n />\r\n \r\n ) : (\r\n onExpand(item.id)}\r\n >\r\n onExpand(item.id)}\r\n />\r\n \r\n );\r\n }\r\n return null;\r\n }\r\n\r\n const removeItem = (item) => {\r\n const nextTree = removeItemFromTree(item.id, tree)\r\n dispatch(updateTree(nextTree))\r\n }\r\n\r\n const handleChangeTitle = (item, newTitle) => {\r\n const nextTree = mutateTree(\r\n tree,\r\n item.id,\r\n { data: { ...item.data, text: newTitle, title: newTitle } }\r\n )\r\n dispatch(updateTree(nextTree))\r\n }\r\n\r\n const onExpand = (itemId) => {\r\n dispatch(updateTree(mutateTree(tree, itemId, { isExpanded: true })));\r\n };\r\n\r\n const onCollapse = (itemId) => {\r\n dispatch(updateTree(mutateTree(tree, itemId, { isExpanded: false })))\r\n };\r\n\r\n const onDragEnd = (\r\n source,\r\n destination,\r\n ) => {\r\n if (!destination) {\r\n return;\r\n }\r\n const destinationSecondDepth = computeDestination({ tree, destination, source })\r\n let newTree = moveItemOnTree(tree, source, destinationSecondDepth);\r\n if (destination.parentId && destination.parentId !== 'root') {\r\n newTree = mutateTree(newTree, destination.parentId, { isExpanded: true })\r\n }\r\n dispatch(updateTree(newTree))\r\n };\r\n\r\n const renderItem = ({\r\n item,\r\n onExpand,\r\n onCollapse,\r\n provided,\r\n snapshot,\r\n depth,\r\n ...rest\r\n }) => (\r\n \r\n )\r\n\r\n if (error) {\r\n return (\r\n \r\n \r\n {error === 404\r\n ? (\r\n \r\n Menu por criar, comece por adicionar uma página ao menu.\r\n \r\n )\r\n : (\r\n \r\n Erro a carregar menu da subweb,\r\n "\r\n {error}\r\n ".\r\n \r\n )}\r\n \r\n )\r\n }\r\n\r\n if (isLoading) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n\r\n // empty sidenav\r\n if (!hasItems && !isLoading) {\r\n return (\r\n \r\n Sem items de menu.\r\n \r\n )\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nSideNavEditor.propTypes = {\r\n initialProps: PropTypes.shape({\r\n tabs: PropTypes.arrayOf(PropTypes.shape({}))\r\n }),\r\n currentSlug: PropTypes.string,\r\n isLoading: PropTypes.bool,\r\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\r\n}\r\n\r\nSideNavEditor.defaultProps = {\r\n initialProps: {},\r\n currentSlug: null,\r\n isLoading: false,\r\n error: null,\r\n}\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n box-sizing: border-box;\r\n flex-direction: column;\r\n flex: 1 1 auto;\r\n height: 100%;\r\n justify-content: flex-start;\r\n max-width: ${props => props.theme.components.editor.sideNavEditorWidth};\r\n [data-react-beautiful-dnd-droppable=\"0\"] {\r\n padding-bottom: 3rem;\r\n }\r\n`;\r\n\r\nconst LoaderWrapper = styled.div`\r\n width: 330px;\r\n height: 88px;\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n`;\r\n\r\nexport default SideNavEditor\r\n","import React, { useEffect } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport SideNavEditor from 'modules/SideNav/SideNavEditor'\r\nimport { useEditorContext } from 'context/EditorContext';\r\nimport { fetchSidenav } from 'redux/sidenavSlice'\r\nimport { useSelector, useDispatch } from 'react-redux'\r\n\r\nconst SubwebSideNavEditor = ({ subweb, lang }) => {\r\n const dispatchRedux = useDispatch()\r\n const { sidenav, isLoading, error } = useSelector(\r\n (state) => state.sidenav\r\n )\r\n\r\n // eslint-disable-next-line no-unused-vars\r\n const [{ pageSlug }, dispatch] = useEditorContext();\r\n\r\n useEffect(() => {\r\n dispatchRedux(fetchSidenav({ subweb, lang }))\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [subweb, lang])\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nSubwebSideNavEditor.propTypes = {\r\n subweb: PropTypes.string,\r\n lang: PropTypes.string,\r\n}\r\n\r\nSubwebSideNavEditor.defaultProps = {\r\n subweb: 'aboutua',\r\n lang: 'pt',\r\n}\r\n\r\nexport default SubwebSideNavEditor\r\n","import React, { useState, useMemo, useEffect } from 'react'\r\nimport styled from 'styled-components/macro';\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { fetchSubweb } from 'redux/subwebSlice'\r\nimport { Spacer } from 'components/atoms';\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PageTable } from 'components/organisms'\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { useDebounce } from 'react-use'\r\nimport PropTypes from 'prop-types'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { generateEditorPath } from 'services/generators';\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useMutation } from 'react-query'\r\nimport { archivePage } from 'services/requests'\r\nimport { deleteDraft } from 'redux/draftsSlice'\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\n\r\nconst SubwebsPagesTable = ({ intl, subweb }) => {\r\n const [search, setSearch] = useState('')\r\n const [page, setPage] = useState(1)\r\n const dispatch = useDispatch()\r\n const { pages: subwebPages, isLoadingTable, totalRecords } = useSelector(\r\n (state) => state.subweb\r\n )\r\n const history = useHistory()\r\n const [, dispatchEditor] = useEditorContext();\r\n const [archive, { isLoading }] = useMutation(archivePage, {\r\n onSuccess: (data, variables) => {\r\n dispatch(deleteDraft(variables.pageId))\r\n dispatchEditor({ type: actions.PAGE_ARCHIVE })\r\n toast.success(\r\n \r\n );\r\n dispatch(fetchSubweb({ subweb, page: 1, search: '' }))\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n useEffect(\r\n () => {\r\n if (subweb) {\r\n setSearch('')\r\n setPage(1)\r\n dispatch(fetchSubweb({ subweb, page: 1, search: '' }))\r\n }\r\n },\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n [subweb]\r\n )\r\n\r\n useDebounce(\r\n () => {\r\n if (subweb && !isLoadingTable) {\r\n dispatch(fetchSubweb({ subweb, page, search }))\r\n }\r\n },\r\n 350,\r\n [search, page]\r\n )\r\n\r\n const handleSearch = (e) => {\r\n setSearch(e.target.value)\r\n setPage(1)\r\n }\r\n\r\n const noDataText = useMemo(() => {\r\n if (isLoadingTable) return ' '\r\n return search === '' ? 'Sem resultados' : `Sem resultados para a pesquisa \"${search}\"`\r\n }, [search, isLoadingTable])\r\n\r\n const handlePageEdit = ({ subweb, pageId }) => {\r\n history.push(generateEditorPath({ pageId, subweb }))\r\n }\r\n\r\n const handlePageArchive = ({ subweb, pageId }) => {\r\n archive({ subweb, pageId, allLanguages: true })\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n )\r\n}\r\n\r\nconst TableWrapper = styled.div``\r\n\r\nSubwebsPagesTable.propTypes = {\r\n intl: intlType.isRequired,\r\n subweb: PropTypes.string.isRequired\r\n}\r\n\r\nexport default injectIntl(SubwebsPagesTable)\r\n","import React, { useState, useMemo, useEffect } from 'react'\r\nimport styled from 'styled-components/macro';\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { fetchSidenavPages } from 'redux/sidenavSlice'\r\nimport { Spacer } from 'components/atoms';\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PageTableSelect } from 'components/organisms'\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport PropTypes from 'prop-types'\r\nimport uniqBy from 'lodash.uniqby'\r\n\r\nconst SubwebsPagesTableSelect = ({\r\n intl, subweb, lang, onAddPage\r\n}) => {\r\n const [search, setSearch] = useState('')\r\n const [page, setPage] = useState(1)\r\n const dispatch = useDispatch()\r\n const {\r\n tree, subwebPages: {\r\n pages: subwebPages, isLoading\r\n }\r\n } = useSelector(\r\n (state) => state.sidenav\r\n )\r\n\r\n useEffect(\r\n () => {\r\n setPage(1)\r\n if (subweb) {\r\n dispatch(fetchSidenavPages({ subweb, lang }))\r\n }\r\n },\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n [subweb, lang]\r\n )\r\n\r\n const handleSearch = (e) => {\r\n setSearch(e.target.value)\r\n setPage(1)\r\n }\r\n\r\n const noDataText = useMemo(\r\n () => {\r\n if (isLoading) return ' '\r\n return search === ''\r\n ? 'Sem páginas para adicionar ao menu'\r\n : `Sem resultados para a pesquisa \"${search}\"`\r\n },\r\n [search, isLoading]\r\n )\r\n\r\n // only show pages that are not in the sidenav\r\n const subwebPagesRemaining = useMemo(() => {\r\n let pagesInTree = []\r\n if (tree && tree.items && Object.keys(tree.items).length > 1) {\r\n const { rootId, items } = tree\r\n const itemsKeys = Object.keys(items)\r\n const itemsKeysWithoutRoot = itemsKeys.filter(key => key !== rootId)\r\n const itemsData = itemsKeysWithoutRoot.map(key => items[key].data)\r\n pagesInTree = itemsData\r\n }\r\n return subwebPages.filter(\r\n page => !pagesInTree.find(\r\n pageInTree => pageInTree.id === page.id || pageInTree.url === page.slug\r\n )\r\n )\r\n }, [subwebPages, tree])\r\n\r\n const filteredPages = useMemo(() => {\r\n const searchNormalized = search.toLowerCase().trim()\r\n const filteredTitles = subwebPagesRemaining.filter(page => {\r\n const titleNormalized = page.title.toLowerCase().trim()\r\n return titleNormalized.indexOf(searchNormalized) !== -1\r\n })\r\n const filteredSlugs = subwebPagesRemaining.filter(page => {\r\n const slugNormalized = page.slug.toLowerCase().trim()\r\n return slugNormalized.indexOf(searchNormalized) !== -1\r\n })\r\n // remove duplicates\r\n const filteredAll = [...filteredTitles, ...filteredSlugs]\r\n const filteredClean = uniqBy(filteredAll, 'id');\r\n return filteredClean\r\n }, [subwebPagesRemaining, search])\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = useMemo(() => page - 1, [page])\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n setPage(nextPage)}\r\n current={page}\r\n total={filteredPages.length}\r\n />\r\n
\r\n
\r\n \r\n \r\n
\r\n setPage(nextPage)}\r\n current={page}\r\n total={filteredPages.length}\r\n />\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nconst TableWrapper = styled.div``\r\n\r\nSubwebsPagesTableSelect.propTypes = {\r\n intl: intlType.isRequired,\r\n subweb: PropTypes.string.isRequired,\r\n onAddPage: PropTypes.func,\r\n lang: PropTypes.string,\r\n}\r\n\r\nSubwebsPagesTableSelect.defaultProps = {\r\n onAddPage: () => { },\r\n lang: 'pt'\r\n}\r\n\r\nexport default injectIntl(SubwebsPagesTableSelect)\r\n","import React, { useState, useMemo, useEffect } from 'react'\r\nimport styled from 'styled-components/macro';\r\nimport { Spacer } from 'components/atoms';\r\nimport { InputIcon, Pagination } from 'components/molecules';\r\nimport { SubwebsTable } from 'components/organisms';\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { useUserContext } from 'context/UserContext';\r\nimport Fuse from 'fuse.js'\r\n\r\nconst SubwebsPagesTable = ({ intl }) => {\r\n const [search, setSearch] = useState('')\r\n const [page, setPage] = useState(1)\r\n const [{\r\n user\r\n }] = useUserContext();\r\n\r\n const userSubwebs = useMemo(() => {\r\n if (user && user.subwebs && user.subwebs.length > 0) return user.subwebs\r\n return []\r\n }, [user])\r\n\r\n const handleSearch = (e) => {\r\n setSearch(e.target.value)\r\n setPage(1)\r\n }\r\n\r\n const fuse = useMemo(() => new Fuse(userSubwebs, {\r\n threshold: 0.1,\r\n keys: ['description', 'initials', 'slug']\r\n }), [userSubwebs])\r\n\r\n const filteredSubwebs = useMemo(() => {\r\n if (search === '') return userSubwebs\r\n return fuse.search(search).map(({ item }) => item)\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [search, fuse])\r\n\r\n const totalRecords = filteredSubwebs.length\r\n\r\n const noDataText = useMemo(() => (search === '' ? 'Sem resultados' : `Sem resultados para a pesquisa \"${search}\"`), [search])\r\n\r\n useEffect(() => {\r\n setPage(1)\r\n }, [filteredSubwebs])\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = useMemo(() => page - 1, [page])\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n
\r\n
\r\n \r\n \r\n
\r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nconst TableWrapper = styled.div``\r\n\r\nSubwebsPagesTable.propTypes = {\r\n intl: intlType.isRequired,\r\n}\r\n\r\nexport default injectIntl(SubwebsPagesTable)\r\n","import React, { useMemo } from 'react'\r\nimport Select from 'react-select';\r\nimport styled from 'styled-components/macro'\r\nimport {\r\n useParams, useHistory, useLocation, matchPath\r\n} from 'react-router-dom'\r\nimport { useUserContext } from 'context/UserContext'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useMutation } from 'react-query'\r\nimport { archivePage } from 'services/requests'\r\nimport { useDispatch } from 'react-redux'\r\nimport { deleteDraft } from 'redux/draftsSlice'\r\nimport { useEditorContext, actions, status } from 'context/EditorContext';\r\n\r\nconst PageMenuSelect = () => {\r\n const {\r\n subweb, lang, pageId, moduleId\r\n } = useParams()\r\n const { pathname } = useLocation()\r\n const dispatchRedux = useDispatch()\r\n const [{ pageStatus }, dispatch] = useEditorContext();\r\n const [archive, { isLoading }] = useMutation(archivePage, {\r\n onSuccess: () => {\r\n dispatchRedux(deleteDraft(pageId))\r\n dispatch({ type: actions.PAGE_ARCHIVE })\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const { params: { subEditor } } = useMemo(() => {\r\n const match = matchPath(pathname, {\r\n path: '/:subweb/editor/:lang/page/:pageId/:subEditor',\r\n exact: true,\r\n });\r\n return (match && match.isExact) ? match : { params: { subEditor: '' } };\r\n }, [pathname]);\r\n\r\n const history = useHistory()\r\n const [{ user }] = useUserContext()\r\n\r\n const handleArchive = () => {\r\n archive({\r\n subweb,\r\n pageId,\r\n language: lang,\r\n })\r\n }\r\n\r\n const options = useMemo(() => {\r\n const defaultOptions = [\r\n { label: 'Página', value: '', path: '' },\r\n { label: 'Histórico', value: 'history', path: '/history' },\r\n { label: 'Permissões', value: 'permissions', path: '/permissions' },\r\n {\r\n label: 'Ocultar', value: 'archive', onClick: handleArchive, isDisabled: pageStatus === status.archive\r\n },\r\n ]\r\n if (user && user.admin) {\r\n return [\r\n ...defaultOptions,\r\n { label: 'Ver JSON', value: 'diff', path: '/diff' },\r\n { label: 'Editar JSON', value: 'json', path: '/json' }\r\n ]\r\n }\r\n return defaultOptions\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [user, pageStatus])\r\n\r\n const getOption = (value) => options.find(opt => opt.value === value)\r\n\r\n const currentValue = useMemo(() => {\r\n const isSeo = moduleId && moduleId.indexOf('SEO') !== -1\r\n if (isSeo) return getOption('seo')\r\n return getOption(subEditor)\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [subEditor, moduleId])\r\n\r\n const handleChange = (option) => {\r\n if (option && option.onClick && typeof option.onClick === 'function') {\r\n option.onClick()\r\n } else {\r\n const pagePath = `/${subweb}/editor/${lang}/page/${pageId}`\r\n history.push(`${pagePath}${option.path}`)\r\n }\r\n }\r\n\r\n return (\r\n \r\n 'Sem opções'}\r\n options={options}\r\n value={currentValue}\r\n name=\"page-menu\"\r\n onChange={handleChange}\r\n isSearchable={false}\r\n isLoading={isLoading}\r\n />\r\n \r\n )\r\n}\r\n\r\nconst SelectStyles = styled.div`\r\n ${props => props.theme.mixins.select()};\r\n`\r\n\r\nexport default PageMenuSelect\r\n","import React from 'react'\r\nimport { Title } from 'components/atoms'\r\nimport { Modal } from 'components/molecules'\r\nimport { PageCreateForm } from 'components/organisms'\r\nimport PropTypes from 'prop-types'\r\nimport { useParams, useHistory } from 'react-router-dom'\r\nimport { createPage } from 'services/requests'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { generateEditorPath } from 'services/generators'\r\n\r\nconst PageCreateModal = ({ isOpen, toggle }) => {\r\n const { subweb, lang: langParam } = useParams()\r\n const history = useHistory()\r\n const lang = langParam || 'pt'\r\n\r\n const handleSubmit = async ({ slug, title }) => {\r\n try {\r\n const { data: { pageId } } = await createPage({ slug, title, subweb })\r\n toast.success(\r\n \r\n );\r\n const editorPath = generateEditorPath({ lang: 'pt', subweb, pageId })\r\n history.push(editorPath)\r\n } catch (err) {\r\n if (err.response && err.response.status === 409) {\r\n toast.error(\r\n \r\n );\r\n } else {\r\n toast.error(\r\n \r\n );\r\n }\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n Criar página\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPageCreateModal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n toggle: PropTypes.func,\r\n}\r\n\r\nPageCreateModal.defaultProps = {\r\n isOpen: false,\r\n toggle: () => {}\r\n}\r\n\r\nexport default PageCreateModal\r\n","import React, { useMemo } from 'react'\r\nimport { Title, Text } from 'components/atoms'\r\nimport { Modal } from 'components/molecules'\r\nimport { PageCreateForm } from 'components/organisms'\r\nimport PropTypes from 'prop-types'\r\nimport { useParams } from 'react-router-dom'\r\nimport { publishContent } from 'services/requests'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { generateInitialPageData } from 'services/generators'\r\nimport { useEditorContext, actions, status } from 'context/EditorContext'\r\n\r\nconst copy = {\r\n en: {\r\n title: 'Versão inglesa da página',\r\n subtitle: 'Para adicionar e editar a versão inglesa da página preencha os seguintes campos'\r\n },\r\n pt: {\r\n title: 'Versão portuguesa da página',\r\n subtitle: 'Para adicionar e editar a versão portuguesa da página preencha os seguintes campos'\r\n },\r\n default: {\r\n title: 'Versão em nova língua',\r\n subtitle: 'Para adicionar e editar a página preencha os seguintes campos'\r\n }\r\n}\r\n\r\nconst PageCreateLanguageModal = ({\r\n isOpen,\r\n toggle,\r\n newLanguage,\r\n}) => {\r\n const { subweb, pageId, lang } = useParams()\r\n const [, dispatch] = useEditorContext()\r\n\r\n const handleSubmit = async ({ slug, title }) => {\r\n try {\r\n // create new empty draft page for new language\r\n const { data: { pageContent: newPage, otherLanguageContent } } = await publishContent({\r\n subweb,\r\n pageId,\r\n language: newLanguage,\r\n pageData: generateInitialPageData({ title }),\r\n state: 1,\r\n slug,\r\n })\r\n dispatch({\r\n type: actions.PAGE_ADD,\r\n data: {\r\n liveData: newPage,\r\n savedData: newPage,\r\n status: status.draft,\r\n slug,\r\n otherLanguageContent\r\n },\r\n });\r\n toggle()\r\n toast.success(\r\n \r\n );\r\n } catch (err) {\r\n if (err.response && err.response.status === 409) {\r\n toast.error(\r\n \r\n );\r\n } else {\r\n toast.error(\r\n \r\n );\r\n }\r\n }\r\n }\r\n\r\n const langCopy = useMemo(() => {\r\n if (newLanguage in copy) return copy[newLanguage]\r\n return copy.default\r\n }, [newLanguage])\r\n\r\n return (\r\n \r\n \r\n \r\n {langCopy.title}\r\n \r\n \r\n {langCopy.subtitle}\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPageCreateLanguageModal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n toggle: PropTypes.func,\r\n newLanguage: PropTypes.string.isRequired\r\n}\r\n\r\nPageCreateLanguageModal.defaultProps = {\r\n isOpen: false,\r\n toggle: () => {}\r\n}\r\n\r\nexport default PageCreateLanguageModal\r\n","import React from 'react'\r\nimport { Title, Button } from 'components/atoms'\r\nimport { Modal } from 'components/molecules'\r\nimport { ModuleSelect } from 'components/organisms'\r\nimport PropTypes from 'prop-types'\r\nimport { useUserContext } from 'context/UserContext';\r\n\r\nconst PageAddModuleModal = ({ isOpen, toggle, onSelect }) => {\r\n const [{ user }] = useUserContext()\r\n const isAdmin = user && user.admin\r\n\r\n const handleSelect = (organism) => {\r\n onSelect(organism)\r\n toggle()\r\n }\r\n\r\n const handleDiscard = () => {\r\n toggle()\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n Adicionar módulo\r\n \r\n \r\n \r\n \r\n \r\n Cancelar\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPageAddModuleModal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n toggle: PropTypes.func,\r\n onSelect: PropTypes.func,\r\n}\r\n\r\nPageAddModuleModal.defaultProps = {\r\n isOpen: false,\r\n toggle: () => {},\r\n onSelect: () => {}\r\n}\r\n\r\nexport default PageAddModuleModal\r\n","import { useEffect } from 'react';\r\n\r\nfunction ScrollToTopOnMount() {\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, []);\r\n\r\n return null;\r\n}\r\n\r\nexport default ScrollToTopOnMount\r\n","import React, {\r\n memo, useMemo, useState, useEffect\r\n} from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n PortalStyles, Text, Icon\r\n} from 'components/atoms';\r\nimport { ModuleActions, ResponsiveViewer } from 'components/molecules';\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\nimport { useDispatch } from 'react-redux'\r\nimport { saveDraft } from 'redux/draftsSlice'\r\nimport { isHiddenModule } from 'modules/utils';\r\nimport modules from 'modules';\r\nimport { useRouterContext } from 'hooks';\r\nimport { screenType } from 'types';\r\nimport { generateEditorPath } from 'services/generators';\r\nimport EditorModule from 'views/Editor/EditorModule';\r\nimport { produce } from 'immer'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers'\r\n\r\nconst PageRenderer = memo(({\r\n page, lang, moduleToFocus, screen, isPreview,\r\n}) => (\r\n \r\n \r\n \r\n {page\r\n && page.map((section, index) => {\r\n if (!section) return null\r\n const { name, ...props } = section\r\n if (isHiddenModule(name)) return null;\r\n\r\n const key = `${name}-${index}`;\r\n const shouldFocus = moduleToFocus === key;\r\n return (\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n));\r\n\r\nPageRenderer.propTypes = {\r\n lang: PropTypes.string,\r\n page: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n name: PropTypes.string.isRequired,\r\n })\r\n ),\r\n moduleToFocus: PropTypes.string,\r\n screen: screenType,\r\n isPreview: PropTypes.bool,\r\n};\r\n\r\nPageRenderer.defaultProps = {\r\n lang: 'pt',\r\n page: [],\r\n moduleToFocus: null,\r\n screen: 'desktop',\r\n isPreview: false,\r\n};\r\n\r\n// renders a component based of the base components object\r\nconst Section = ({\r\n name, index, shouldFocus, section, isPreview, screen, original, ...props\r\n}) => {\r\n const key = useMemo(() => `${name}-${index}`, [name, index]);\r\n const hasModule = useMemo(() => {\r\n if (modules[name] && modules[name].module) return true;\r\n return false;\r\n }, [name]);\r\n\r\n const hasEditor = useMemo(() => {\r\n if (modules[name] && modules[name].editor) return true;\r\n return false;\r\n }, [name]);\r\n\r\n const [{ pageLiveData, sectionActive, moduleBeingEdited }, dispatch] = useEditorContext();\r\n const dispatchRedux = useDispatch()\r\n const {\r\n history,\r\n match: {\r\n params: { pageId, lang, subweb },\r\n },\r\n } = useRouterContext();\r\n\r\n const [isActive, setActive] = useState(sectionActive === key);\r\n const [touched, setTouched] = useState(false);\r\n\r\n const editorHomePath = useMemo(\r\n () => generateEditorPath({ lang, pageId, subweb }\r\n ), [lang, pageId, subweb])\r\n\r\n const Component = useMemo(\r\n () => {\r\n if (!hasModule) return modules.Placeholder.module\r\n if (moduleBeingEdited === key && modules[name].options.isInline) return EditorModule\r\n return modules[name].module\r\n },\r\n [hasModule, name, moduleBeingEdited, key]\r\n );\r\n\r\n useEffect(() => {\r\n setTouched(!!sectionActive);\r\n setActive(key === sectionActive);\r\n }, [sectionActive, key]);\r\n\r\n const setActiveSection = (e, section) => {\r\n dispatch({\r\n type: actions.SECTION_SET_ACTIVE,\r\n data: section,\r\n });\r\n };\r\n\r\n const setInactiveSection = (e, section) => {\r\n dispatch({\r\n type: actions.SECTION_SET_INACTIVE,\r\n data: section,\r\n });\r\n };\r\n\r\n const openModuleEditor = key => {\r\n dispatch({\r\n type: actions.SET_MODULE_EDITED,\r\n data: {\r\n name,\r\n key\r\n },\r\n });\r\n const path = generateEditorPath({\r\n subweb, lang, pageId, moduleId: key\r\n });\r\n history.push(path);\r\n };\r\n\r\n const closeModuleEditor = () => {\r\n dispatch({\r\n type: actions.SET_MODULE_EDITED,\r\n data: {\r\n key: null,\r\n name: null,\r\n },\r\n });\r\n history.push(editorHomePath)\r\n }\r\n\r\n const deleteModule = moduleIndex => {\r\n const pageWithoutModule = produce(pageLiveData, draftState => {\r\n // eslint-disable-next-line no-param-reassign\r\n draftState.splice(moduleIndex, 1)\r\n })\r\n dispatch({\r\n type: actions.PAGE_DATA_UPDATE,\r\n data: pageWithoutModule,\r\n });\r\n dispatchRedux(saveDraft({ pageId, content: pageWithoutModule, lang }))\r\n history.push(editorHomePath)\r\n toast.success(\r\n \r\n Para desfazer as alterações clique no icon\r\n {' '}\r\n \r\n {' '}\r\n em cima.\r\n \r\n )}\r\n />\r\n );\r\n };\r\n\r\n const moveModuleUp = ({ currentIndex, section }) => {\r\n // ignore if first or after SEO\r\n if (currentIndex === 0 || currentIndex === 1) return;\r\n const destinationIndex = currentIndex - 1\r\n const pageReordered = produce(pageLiveData, draftState => {\r\n draftState.splice(currentIndex, 1)\r\n draftState.splice(destinationIndex, 0, section)\r\n })\r\n dispatch({\r\n type: actions.PAGE_DATA_UPDATE,\r\n data: pageReordered,\r\n });\r\n dispatchRedux(saveDraft({ pageId, content: pageReordered, lang }))\r\n history.push(editorHomePath)\r\n }\r\n\r\n const moveModuleDown = ({ currentIndex, section }) => {\r\n // ignore if last\r\n if (currentIndex === pageLiveData.length - 1) return;\r\n const destinationIndex = currentIndex + 1\r\n const pageReordered = produce(pageLiveData, draftState => {\r\n draftState.splice(currentIndex, 1)\r\n draftState.splice(destinationIndex, 0, section)\r\n })\r\n dispatch({\r\n type: actions.PAGE_DATA_UPDATE,\r\n data: pageReordered,\r\n });\r\n dispatchRedux(saveDraft({ pageId, content: pageReordered, lang }))\r\n history.push(editorHomePath)\r\n }\r\n\r\n const onCopy = index => {\r\n const copied = pageLiveData[index];\r\n window.sessionStorage.setItem('module2paste', JSON.stringify(copied));\r\n }\r\n // handle module focus here\r\n useEffect(() => {\r\n if (shouldFocus) {\r\n setActiveSection(null, key);\r\n return;\r\n }\r\n setInactiveSection(null, key);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [shouldFocus, key]);\r\n\r\n\r\n const handleMouseOver = e => {\r\n setActiveSection(e, key);\r\n };\r\n\r\n const handleMouseLeave = e => {\r\n setInactiveSection(e, key);\r\n };\r\n\r\n const isFirst = useMemo(() => index === 0 || index === 1, [index])\r\n const isLast = useMemo(() => index === pageLiveData?.length - 1, [index, pageLiveData])\r\n\r\n if (isPreview) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n handleMouseOver(e)}\r\n onFocus={e => handleMouseOver(e)}\r\n onMouseLeave={e => handleMouseLeave(e)}\r\n onEdit={() => openModuleEditor(key)}\r\n onDelete={() => deleteModule(index)}\r\n onMoveUp={() => moveModuleUp({ currentIndex: index, section })}\r\n onMoveDown={() => moveModuleDown({ currentIndex: index, section })}\r\n onCloseEdit={closeModuleEditor}\r\n isEditing={moduleBeingEdited === key}\r\n isActive={isActive}\r\n touched={touched}\r\n name={key}\r\n isFirst={isFirst}\r\n isLast={isLast}\r\n sectionActive={sectionActive}\r\n onCopy={() => onCopy(index)}\r\n >\r\n \r\n \r\n );\r\n};\r\n\r\nSection.propTypes = {\r\n name: PropTypes.string.isRequired,\r\n index: PropTypes.number.isRequired,\r\n shouldFocus: PropTypes.bool,\r\n section: PropTypes.shape({}).isRequired,\r\n isPreview: PropTypes.bool,\r\n original: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n name: PropTypes.string.isRequired,\r\n })\r\n ),\r\n};\r\n\r\nSection.defaultProps = {\r\n shouldFocus: false,\r\n isPreview: false,\r\n original: []\r\n};\r\n\r\n// Add editor specific interactions to each section here\r\nconst SectionWrapper = ({\r\n children,\r\n onMouseOver,\r\n onMouseLeave,\r\n isActive,\r\n touched,\r\n onEdit,\r\n onCloseEdit,\r\n isEditing,\r\n onDelete,\r\n onMoveUp,\r\n onMoveDown,\r\n isFirst,\r\n isLast,\r\n sectionActive,\r\n onCopy,\r\n}) => (\r\n \r\n { } : onEdit}\r\n />\r\n {(isActive || isEditing) && (\r\n \r\n \r\n \r\n )}\r\n {children}\r\n \r\n)\r\n\r\nSectionWrapper.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n onMouseOver: PropTypes.func,\r\n onMouseLeave: PropTypes.func,\r\n onEdit: PropTypes.func,\r\n onDelete: PropTypes.func,\r\n onCloseEdit: PropTypes.func,\r\n isActive: PropTypes.bool,\r\n touched: PropTypes.bool,\r\n isEditing: PropTypes.bool,\r\n onMoveUp: PropTypes.func,\r\n onMoveDown: PropTypes.func,\r\n isFirst: PropTypes.bool,\r\n isLast: PropTypes.bool,\r\n sectionActive: PropTypes.string,\r\n onCopy: PropTypes.func,\r\n};\r\n\r\nSectionWrapper.defaultProps = {\r\n isActive: false,\r\n touched: false,\r\n onMouseLeave: () => null,\r\n onMouseOver: () => null,\r\n onEdit: () => null,\r\n onDelete: () => null,\r\n onCloseEdit: () => null,\r\n isEditing: false,\r\n onMoveUp: () => { },\r\n onMoveDown: () => { },\r\n isFirst: false,\r\n isLast: false,\r\n sectionActive: '',\r\n onCopy: () => null,\r\n};\r\n\r\nconst Wrapper = styled.div`\r\n position: relative;\r\n z-index: ${props => (props.isActive ? props.theme.values.zIndex.m : props.theme.values.zIndex.s)};\r\n`;\r\n\r\nconst SectionActions = styled.div`\r\n position: sticky;\r\n right: 0;\r\n top: 50px;\r\n z-index: ${props => props.theme.values.zIndex.superBig};\r\n`;\r\n\r\nconst ActiveOverlay = styled.div`\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n border: 2px solid ${props => {\r\n if (props.isEditing) return props.theme.colors.primaryDarker\r\n if (props.isActive) return props.theme.colors.primaryLighter\r\n return 'rgba(0,0,0,0)'\r\n }};\r\n z-index: ${props => props.theme.values.zIndex.superBig};\r\n transition: all 0.2s ease-in-out;\r\n pointer-events: ${props => (props.isEditing ? 'none' : 'initial')};\r\n`;\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n height: 100%;\r\n`;\r\n\r\nexport default PageRenderer;\r\n","import React, { useState, useEffect, useMemo } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { Modal } from 'components/molecules'\r\nimport { PageRenderer, Toast } from 'containers';\r\nimport {\r\n Title, Button, Text, LoadingSpinner, Spacer,\r\n} from 'components/atoms'\r\nimport { getVersion } from 'services/requests'\r\nimport { generateReadablePtDate } from 'services/generators'\r\nimport { toast } from 'react-toastify';\r\nimport styled from 'styled-components/macro'\r\nimport { computeHasModules } from 'modules/utils'\r\n\r\nconst PageVersionModal = ({\r\n isOpen,\r\n toggle,\r\n commit,\r\n pageId,\r\n subweb,\r\n versionId,\r\n statusId,\r\n onSetVersion\r\n}) => {\r\n const [page, setPage] = useState([])\r\n const [isLoading, setLoading] = useState(true)\r\n\r\n useEffect(() => {\r\n async function fetchVersion() {\r\n try {\r\n setLoading(true)\r\n const { data } = await getVersion({\r\n pageId, subweb, versionId, statusId\r\n })\r\n setPage(data)\r\n setLoading(false)\r\n } catch (err) {\r\n setPage([])\r\n setLoading(false)\r\n toast.error(\r\n \r\n );\r\n }\r\n }\r\n if (subweb && pageId && versionId && statusId) {\r\n fetchVersion()\r\n }\r\n }, [subweb, pageId, versionId, statusId])\r\n\r\n const pageHasModules = useMemo(\r\n () => (page.length > 0 ? computeHasModules(page) : false),\r\n [page]\r\n )\r\n\r\n const dateComputed = useMemo(() => (commit && commit.date ? generateReadablePtDate(commit.date) : 'Sem informação'), [commit])\r\n\r\n const renderPage = () => {\r\n if (isLoading) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n return (\r\n \r\n {(pageHasModules)\r\n ? \r\n : (\r\n \r\n \r\n Página sem conteúdo.\r\n \r\n \r\n )\r\n }\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n Pré-visualizar versão\r\n <Spacer top=\"xs\" />\r\n {commit && commit.date && (\r\n <Text modifiers={['light']}>\r\n {commit.actions && commit.actions[0] && commit.actions[0].description && (\r\n `${commit.actions[0].description} às `\r\n )}\r\n {dateComputed}\r\n </Text>\r\n )\r\n }\r\n \r\n \r\n {renderPage()}\r\n \r\n \r\n Cancelar\r\n \r\n onSetVersion(page)}\r\n loading={isLoading}\r\n >\r\n Restaurar\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPageVersionModal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n toggle: PropTypes.func,\r\n pageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n versionId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n statusId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n subweb: PropTypes.string.isRequired,\r\n commit: PropTypes.shape({\r\n date: PropTypes.string.isRequired,\r\n user: PropTypes.shape({\r\n name: PropTypes.string,\r\n image: PropTypes.string,\r\n }),\r\n actions: PropTypes.arrayOf(PropTypes.shape({\r\n description: PropTypes.string.isRequired,\r\n })),\r\n }),\r\n onSetVersion: PropTypes.func,\r\n}\r\n\r\nPageVersionModal.defaultProps = {\r\n isOpen: false,\r\n toggle: () => { },\r\n commit: {\r\n user: {\r\n name: null,\r\n image: null,\r\n },\r\n actions: [],\r\n },\r\n onSetVersion: () => {}\r\n}\r\n\r\nconst PageWrapper = styled.div`\r\n border: 1px solid ${props => props.theme.colors.border};\r\n`\r\n\r\nconst PageNoContent = styled.div`\r\n padding: ${props => props.theme.spacing.xl6} 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n display: flex;\r\n flex-direction: column;\r\n`\r\n\r\nexport default PageVersionModal\r\n","import React, { Component } from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { Error } from 'components/organisms'\r\nimport { Text } from 'components/atoms'\r\nimport styled from 'styled-components/macro'\r\n\r\nclass ErrorBoundary extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { hasError: false };\r\n }\r\n\r\n static getDerivedStateFromError() {\r\n // Update state so the next render will show the fallback UI.\r\n return { hasError: true };\r\n }\r\n\r\n componentDidCatch(error, errorInfo) {\r\n // You can also log the error to an error reporting service\r\n // eslint-disable-next-line no-console\r\n console.error(error, errorInfo);\r\n }\r\n\r\n render() {\r\n const { hasError } = this.state\r\n const {\r\n children, code, message, helper\r\n } = this.props\r\n\r\n // You can render any custom fallback UI\r\n if (hasError) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n\r\n return children;\r\n }\r\n}\r\n\r\nconst ErrorWrapper = styled.div`\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transform: translateY(-10%);\r\n`;\r\n\r\nErrorBoundary.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n message: PropTypes.string,\r\n code: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n helper: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\r\n}\r\n\r\nErrorBoundary.defaultProps = {\r\n message: 'Algo correu mal.',\r\n code: 'Erro',\r\n helper: Contacte o UA LAbs com este URL ou recarregue a página.,\r\n}\r\n\r\nexport default ErrorBoundary\r\n","import React from 'react'\r\nimport { Text } from 'components/atoms'\r\nimport { generateEditorPath } from 'services/generators'\r\nimport { Link } from 'react-router-dom'\r\nimport PropTypes from 'prop-types'\r\nimport ErrorBoundary from './ErrorBoundary'\r\n\r\nconst ErrorBoundaryEditor = ({ children, pageId, subweb }) => (\r\n \r\n Desfaça as suas alterações ou vá ao\r\n {' '}\r\n \r\n histórico\r\n \r\n {' '}\r\n e restaure uma versão anterior.\r\n \r\n )}\r\n >\r\n {children}\r\n \r\n)\r\n\r\nErrorBoundaryEditor.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n subweb: PropTypes.string.isRequired,\r\n pageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired\r\n}\r\n\r\nexport default ErrorBoundaryEditor\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, {\r\n useMemo, useState, useRef, useLayoutEffect\r\n} from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n LoadingSpinner, Button, Spacer, Title, Text\r\n} from 'components/atoms';\r\nimport { Modal, ModalConfirm, TabsLineList } from 'components/molecules'\r\nimport { toast } from 'react-toastify';\r\nimport { SubwebSideNavEditor, SubwebsPagesTableSelect, Toast } from 'containers';\r\nimport { useUserContext } from 'context/UserContext';\r\nimport { withRouter, matchPath } from 'react-router-dom';\r\nimport { locationType } from 'types';\r\nimport { useToggle } from 'hooks';\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { generateItem, addItemsToTree } from 'modules/SideNav/parser/navToTree'\r\nimport treeToNav from 'modules/SideNav/parser/treeToNav'\r\nimport SideNavEditorLinkForm from 'modules/SideNav/SideNavEditorLinkForm'\r\nimport { updateTree, updateSidenav } from 'redux/sidenavSlice'\r\nimport { updateSubwebSidenav } from 'services/requests'\r\nimport { generateKey } from 'services/generators'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst MenuEditor = ({\r\n location: { pathname }, triggerAdd, triggerPublish\r\n}) => {\r\n const [{ user }] = useUserContext();\r\n const [isOpen, toggle] = useToggle();\r\n const dispatch = useDispatch()\r\n const { tree } = useSelector(\r\n (state) => state.sidenav\r\n )\r\n\r\n const [confirmationSave, setConfirmationSave] = useState(\r\n {\r\n isOpen: false,\r\n hasConfirmed: false,\r\n nextSidenav: null,\r\n }\r\n )\r\n\r\n const [modalAdd, setModalAdd] = useState({\r\n isAddingPage: true,\r\n isAddingLink: false,\r\n })\r\n const [link, setLink] = useState({\r\n url: '',\r\n title: ''\r\n })\r\n\r\n const params = useMemo(() => {\r\n const match = matchPath(pathname, {\r\n path: '/:subweb/editor/:lang/nav',\r\n exact: false,\r\n });\r\n if (match && match.params) return match.params;\r\n return null;\r\n }, [pathname]);\r\n\r\n const subwebName = useMemo(() => {\r\n if (params && params.subweb) return params.subweb;\r\n return null;\r\n }, [params]);\r\n\r\n const subwebTitle = useMemo(() => {\r\n if (!subwebName || !user || !user.subwebs || user.subwebs < 0) return null\r\n const subwebActive = user.subwebs.find(\r\n subweb => subweb.slug === subwebName || encodeURIComponent(subweb.slug) === subwebName\r\n )\r\n return subwebActive ? subwebActive.description : null\r\n }, [subwebName, user])\r\n\r\n const computedSubwebLink = useMemo(() => {\r\n if (!subwebName) return null\r\n return `/${subwebName}`\r\n }, [subwebName])\r\n\r\n const lang = useMemo(() => {\r\n if (params && params.lang) return params.lang;\r\n return null;\r\n }, [params]);\r\n\r\n const isLoading = useMemo(() => !subwebName || !subwebTitle || !computedSubwebLink,\r\n [subwebTitle, subwebName, computedSubwebLink]\r\n )\r\n\r\n const handleAddPage = (page) => {\r\n const { id, slug, title } = page\r\n // add page to tree\r\n const treeWithPage = addItemsToTree(\r\n tree,\r\n {\r\n ...generateItem({ id, slug, title })\r\n }\r\n )\r\n dispatch(updateTree(treeWithPage))\r\n // dispatch tree with new page\r\n toggle()\r\n }\r\n\r\n const discardLink = () => {\r\n setLink({ url: '', title: '' })\r\n toggle()\r\n }\r\n\r\n const handleAddLink = () => {\r\n const treeWithPage = addItemsToTree(\r\n tree,\r\n {\r\n ...generateItem({ id: generateKey(link.title), slug: link.url, title: link.title })\r\n }\r\n )\r\n dispatch(updateTree(treeWithPage))\r\n discardLink()\r\n }\r\n\r\n const handleSave = () => {\r\n setConfirmationSave(\r\n {\r\n isOpen: true,\r\n hasConfirmed: false,\r\n nextSidenav: treeToNav(tree),\r\n }\r\n )\r\n }\r\n\r\n const handleConfirmationSave = async (hasConfirmed) => {\r\n const sidenav = confirmationSave.nextSidenav\r\n const subweb = subwebName\r\n\r\n if (hasConfirmed) {\r\n dispatch(updateSidenav({ sidenav: confirmationSave.nextSidenav, subweb: subwebName }))\r\n try {\r\n await updateSubwebSidenav({ sidenavData: sidenav, subweb, language: lang })\r\n toast.success(\r\n \r\n );\r\n } catch (err) {\r\n toast.error(\r\n \r\n );\r\n }\r\n setConfirmationSave({\r\n isOpen: false,\r\n hasConfirmed: false,\r\n nextSidenav: null,\r\n })\r\n }\r\n setConfirmationSave({\r\n isOpen: false,\r\n hasConfirmed: false,\r\n nextSidenav: null,\r\n })\r\n }\r\n\r\n const tabsAddPage = useMemo(() => [\r\n {\r\n text: 'página',\r\n isActive: modalAdd.isAddingPage,\r\n onClick: () => setModalAdd({ isAddingPage: true, isAddingLink: false }),\r\n },\r\n {\r\n text: 'link',\r\n isActive: modalAdd.isAddingLink,\r\n onClick: () => setModalAdd({ isAddingPage: false, isAddingLink: true }),\r\n }\r\n ], [modalAdd])\r\n\r\n // Add slider, only run after render\r\n // https://stackoverflow.com/a/53254028\r\n const isFirstUpdatePublish = useRef(true);\r\n const isFirstUpdateAdd = useRef(true);\r\n\r\n useLayoutEffect(() => {\r\n if (isFirstUpdatePublish.current) {\r\n isFirstUpdatePublish.current = false;\r\n return;\r\n }\r\n handleSave()\r\n }, [triggerPublish]);\r\n\r\n // opens add modal\r\n useLayoutEffect(() => {\r\n if (isFirstUpdateAdd.current) {\r\n isFirstUpdateAdd.current = false;\r\n return;\r\n }\r\n toggle()\r\n }, [triggerAdd]);\r\n\r\n const renderPopups = () => (\r\n <>\r\n setConfirmationSave({\r\n ...confirmationSave,\r\n isOpen: !confirmationSave.isOpen\r\n })}\r\n onChange={handleConfirmationSave}\r\n title=\"Estas alterações serão automaticamente publicadas.\"\r\n message=\"Pretende continuar?\"\r\n textConfirm=\"Publicar\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n \r\n {modalAdd.isAddingPage && (\r\n <>\r\n \r\n Adicionar página\r\n \r\n \r\n Selecione a página que quer adicionar.\r\n \r\n \r\n \r\n \r\n Cancelar\r\n \r\n \r\n \r\n )}\r\n {modalAdd.isAddingLink && (\r\n <>\r\n \r\n Adicionar link\r\n \r\n \r\n Preencha o formulário para adicionar um link.\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n )\r\n\r\n return (\r\n <>\r\n {renderPopups()}\r\n \r\n {\r\n isLoading\r\n ? (\r\n \r\n \r\n \r\n )\r\n : (\r\n \r\n )\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nconst Wrapper = styled.div`\r\n min-height: 100vh;\r\n overflow-x: hidden;\r\n overflow-y: auto;\r\n position: relative;\r\n width: ${props => props.theme.components.editor.sideNavEditorWidth};\r\n`;\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n margin-bottom: ${props => props.theme.spacing.xs};\r\n justify-content: space-between;\r\n`\r\n\r\nActions.Start = styled.div`\r\n display: flex;\r\n`\r\n\r\nconst MenuContent = styled.div`\r\n padding: ${props => props.theme.spacing.s};\r\n`\r\n\r\nconst ModalHeader = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n`\r\n\r\nMenuEditor.propTypes = {\r\n location: locationType.isRequired,\r\n triggerAdd: PropTypes.bool,\r\n triggerPublish: PropTypes.bool,\r\n};\r\n\r\nMenuEditor.defaultProps = {\r\n triggerAdd: false,\r\n triggerPublish: false,\r\n}\r\n\r\nexport default withRouter(MenuEditor);\r\n","import React, { useMemo } from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom, FieldFile, FieldDate } from 'components/molecules';\r\nimport { Form, Button } from 'components/atoms';\r\n\r\nimport PropTypes from 'prop-types';\r\nimport * as Yup from 'yup';\r\n\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useMutation, queryCache } from 'react-query'\r\nimport { uploadFile as postFile, FILES_KEY } from 'services/requests'\r\n\r\nconst FILE_SIZE_MB = 20;\r\n\r\nexport const FileSchema = Yup.object().shape({\r\n file: Yup.mixed()\r\n .required('Campo obrigatório')\r\n .test(\r\n 'fileSize',\r\n `Ficheiro demasiado grande, máximo de ${FILE_SIZE_MB}MB`,\r\n value => {\r\n const size = value ? value.size : 0;\r\n return size <= FILE_SIZE_MB * 1024 * 1024;\r\n }\r\n )\r\n .test(\r\n 'fileFormat',\r\n 'Formato inválido, para carregar imagens utilize a galeria.',\r\n value => value && value.type.indexOf('image') === -1\r\n )\r\n .test(\r\n 'fileFormat',\r\n 'O formato .exe não é válido',\r\n value => value && value.type.indexOf('.exe') === -1\r\n ),\r\n title: Yup.string()\r\n .max(255, 'Máximo de 255 caracteres')\r\n .required('Campo obrigatório'),\r\n description: Yup.string()\r\n .max(255, 'Máximo de 255 caracteres')\r\n .required('Campo obrigatório'),\r\n createdAt: Yup.string().required('Campo obrigatório'),\r\n expiresAt: Yup.string().required('Campo obrigatório'),\r\n});\r\n\r\nconst FileUploadForm = ({\r\n initialValues, subweb, lang, onSubmit, onDiscard\r\n}) => {\r\n const [uploadFile, { isLoading }] = useMutation(postFile, {\r\n onSuccess: (data) => {\r\n queryCache.invalidateQueries(FILES_KEY)\r\n onSubmit(data.data)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const computedInitialValues = useMemo(() => {\r\n const tenYearsLater = new Date(\r\n new Date().setFullYear(new Date().getFullYear() + 10)\r\n ).toISOString()\r\n\r\n return {\r\n ...initialValues,\r\n createdAt: new Date().toISOString(),\r\n expiresAt: initialValues.expiresAt || tenYearsLater,\r\n }\r\n }, [initialValues])\r\n\r\n const isInitialValid = useMemo(\r\n () => FileSchema.isValidSync(computedInitialValues),\r\n [computedInitialValues]\r\n );\r\n\r\n const handleSubmit = async values => {\r\n const {\r\n file,\r\n title,\r\n description,\r\n expiresAt,\r\n } = values;\r\n\r\n uploadFile({\r\n file,\r\n title,\r\n description,\r\n expiresAt,\r\n subweb,\r\n language: lang,\r\n })\r\n };\r\n\r\n return (\r\n {\r\n handleSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting }) => (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Voltar\r\n \r\n \r\n Carregar\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`\r\n\r\nconst FieldsSplit = styled.div`\r\n display: grid;\r\n grid-template-columns: repeat(2, 1fr);\r\n grid-template-rows: 1fr;\r\n grid-column-gap: ${props => props.theme.spacing.xl1};\r\n`\r\n\r\nFileUploadForm.propTypes = {\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n initialValues: PropTypes.shape({\r\n title: PropTypes.string,\r\n description: PropTypes.string,\r\n file: PropTypes.shape({}),\r\n }),\r\n subweb: PropTypes.string,\r\n lang: PropTypes.string,\r\n};\r\n\r\nFileUploadForm.defaultProps = {\r\n onSubmit: () => null,\r\n onDiscard: () => null,\r\n initialValues: {\r\n title: '',\r\n description: '',\r\n file: null,\r\n expiresAt: null,\r\n createdAt: null,\r\n },\r\n subweb: 'ua',\r\n lang: 'pt',\r\n};\r\n\r\nexport default FileUploadForm;\r\n","import React from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport cleanDeep from 'clean-deep';\r\nimport PropTypes from 'prop-types';\r\nimport * as Yup from 'yup';\r\n\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom, FieldFile, FieldDate } from 'components/molecules';\r\nimport { Form, Button, Text } from 'components/atoms';\r\nimport { Error } from 'components/organisms'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useQuery, useMutation, queryCache } from 'react-query'\r\nimport { putFile, getFileById, FILES_KEY } from 'services/requests'\r\n\r\nconst FILE_SIZE_MB = 20;\r\n\r\nexport const FileSchema = Yup.object().shape({\r\n file: Yup.mixed()\r\n .notRequired()\r\n .nullable()\r\n .test(\r\n 'fileSize',\r\n `Ficheiro demasiado grande, máximo de ${FILE_SIZE_MB}MB`,\r\n value => {\r\n const size = value ? value.size : 0;\r\n return size <= FILE_SIZE_MB * 1024 * 1024;\r\n }\r\n )\r\n .test(\r\n 'fileFormat',\r\n 'Formato inválido, para carregar imagens utilize a galeria.',\r\n value => (value && value.type ? value.type.indexOf('image') === -1 : true)\r\n )\r\n .test(\r\n 'fileFormat',\r\n 'O formato .exe não é válido',\r\n value => (value && value.type ? value.type.indexOf('.exe') === -1 : true)\r\n ),\r\n title: Yup.string()\r\n .max(255, 'Máximo de 255 caracteres')\r\n .required('Campo obrigatório'),\r\n description: Yup.string()\r\n .max(255, 'Máximo de 255 caracteres')\r\n .notRequired()\r\n .nullable(),\r\n expiresAt: Yup.string().notRequired().nullable()\r\n});\r\n\r\nconst FileUpdateForm = ({\r\n subweb,\r\n fileId,\r\n lang,\r\n onSubmit,\r\n onDiscard,\r\n}) => {\r\n const {\r\n isLoading: isLoadingFile,\r\n isError,\r\n data\r\n } = useQuery([FILES_KEY, { fileId }], getFileById)\r\n\r\n const [updateFile, { isLoading }] = useMutation(putFile, {\r\n onSuccess: (data) => {\r\n queryCache.invalidateQueries(FILES_KEY)\r\n onSubmit(data.data)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const file = React.useMemo(() => {\r\n if (data && data.data) {\r\n return data.data\r\n }\r\n return null\r\n }, [data])\r\n\r\n const handleSubmit = async values => {\r\n const {\r\n file,\r\n title,\r\n description,\r\n date,\r\n } = values;\r\n\r\n const updatedFile = cleanDeep({\r\n file,\r\n title,\r\n description,\r\n expiresAt: date,\r\n })\r\n\r\n updateFile({\r\n fileId,\r\n subweb,\r\n language: lang,\r\n ...updatedFile,\r\n })\r\n };\r\n\r\n if (isError) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (isLoadingFile) {\r\n return (\r\n A carregar dados do ficheiro...\r\n )\r\n }\r\n\r\n return (\r\n {\r\n handleSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting, dirty }) => (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n Cancelar\r\n \r\n \r\n Editar\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`\r\n\r\nFileUpdateForm.propTypes = {\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n lang: PropTypes.string,\r\n subweb: PropTypes.string.isRequired,\r\n fileId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired\r\n\r\n};\r\n\r\nFileUpdateForm.defaultProps = {\r\n onSubmit: () => null,\r\n onDiscard: () => null,\r\n lang: 'pt',\r\n};\r\n\r\nexport default FileUpdateForm;\r\n","import React from 'react'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport { usePaginatedQuery } from 'react-query'\r\n\r\nimport { Button, Spacer } from 'components/atoms'\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { FileTableSelect } from 'components/organisms'\r\nimport { getFiles, FILES_KEY } from 'services/requests'\r\nimport { useDebounce } from 'react-use'\r\n\r\nconst FileSelect = ({\r\n subweb, lang, onClickUpload, onSelect, icon, filemodule, onClickAdd, rteofile, teste\r\n}) => {\r\n \r\n const [search, setSearch] = React.useState('')\r\n const [debouncedSearch, setDebouncedSearch] = React.useState('');\r\n const [page, setPage] = React.useState(1)\r\n\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 350,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n refetch\r\n } = usePaginatedQuery([FILES_KEY, {\r\n lang,\r\n subweb,\r\n currentPage: page,\r\n search: debouncedSearch,\r\n recordsPerPage: !filemodule || !rteofile ? 8 : 20\r\n }], getFiles)\r\n\r\n const totalRecords = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalRecords\r\n ? resolvedData.data.pagination.totalRecords / 2\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n \r\n const handleClickUpload = (e) => {\r\n e.stopPropagation();\r\n onClickUpload()\r\n }\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = React.useMemo(() => page - 1, [page])\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {(filemodule && rteofile) && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n refetch() : null}\r\n />\r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n display: grid;\r\n grid-template-columns: 1fr auto;\r\n grid-column-gap: ${props => props.theme.spacing.xs};\r\n`;\r\n\r\nTop.Start = styled.div``;\r\nTop.End = styled.div`\r\n button {\r\n height: 100%;\r\n }\r\n`;\r\n\r\nconst List = styled.div``\r\n\r\nFileSelect.propTypes = {\r\n subweb: PropTypes.string,\r\n lang: PropTypes.string,\r\n onClickUpload: PropTypes.func,\r\n onSelect: PropTypes.func,\r\n icon: PropTypes.string,\r\n filemodule: PropTypes.bool,\r\n onClickAdd: PropTypes.func,\r\n rteofile: PropTypes.bool,\r\n teste: PropTypes.func\r\n}\r\n\r\nFileSelect.defaultProps = {\r\n subweb: 'ua',\r\n lang: 'pt',\r\n onClickUpload: () => {},\r\n onSelect: () => {},\r\n icon: 'fal fa-plus',\r\n filemodule: true,\r\n onClickAdd: () => {},\r\n rteofile: true,\r\n teste: () => {}\r\n}\r\n\r\nexport default FileSelect\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { FileUploadForm, FileSelect } from 'containers'\r\nimport { Title } from 'components/atoms'\r\nimport { Modal } from 'components/molecules'\r\nimport { useToggle } from 'hooks'\r\n\r\nconst FileSelectModal = ({ isOpen, toggle, onSelect }) => {\r\n const [isOpenUpload, toggleUpload] = useToggle(false)\r\n\r\n const handleSelect = (selectedFile) => {\r\n onSelect(selectedFile)\r\n if (isOpenUpload) toggleUpload()\r\n if (isOpen) toggle()\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n Selecionar ficheiro\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Carregar ficheiro\r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nFileSelectModal.propTypes = {\r\n toggle: PropTypes.func,\r\n isOpen: PropTypes.bool,\r\n onSelect: PropTypes.func,\r\n}\r\n\r\nFileSelectModal.defaultProps = {\r\n toggle: () => null,\r\n isOpen: false,\r\n onSelect: () => null,\r\n}\r\n\r\nexport default FileSelectModal\r\n","import React, { useMemo, useState } from 'react'\r\nimport {\r\n Form,\r\n Button,\r\n Title\r\n} from 'components/atoms'\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom, ModalConfirm } from 'components/molecules';\r\nimport PropTypes from 'prop-types'\r\nimport * as Yup from 'yup';\r\nimport styled from 'styled-components/macro';\r\nimport { slugRegex } from 'services/constants';\r\nimport { generateSubwebPath } from 'services/generators';\r\nimport { useMutation } from 'react-query'\r\nimport { putSlug } from 'services/requests'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useToggle } from 'hooks'\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\n\r\nconst PageSchema = Yup.object().shape({\r\n slug: Yup.string().matches(slugRegex, 'Apenas pode ter letras minúsculas, palavras separadas por -, e não pode conter a palavra noticias ou news').required('Campo obrigatório'),\r\n});\r\n\r\nconst PageUpdateSlugForm = ({\r\n initialSlug,\r\n subweb,\r\n lang,\r\n pageId,\r\n}) => {\r\n const [newSlug, setNewSlug] = useState(initialSlug)\r\n const [isOpenConfirmation, toggle] = useToggle(false)\r\n const [, dispatch] = useEditorContext();\r\n\r\n const [updateSlug, { isLoading }] = useMutation(putSlug, {\r\n onSuccess: () => {\r\n dispatch({\r\n type: actions.PAGE_SLUG_UPDATE,\r\n data: newSlug,\r\n })\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n const subwebUrl = useMemo(() => generateSubwebPath(\r\n { subweb, lang, withHost: true }\r\n ), [subweb, lang])\r\n\r\n const initialValues = useMemo(() => ({\r\n slug: initialSlug\r\n }), [initialSlug])\r\n\r\n const handleUpdateSlug = ({ slug }) => {\r\n setNewSlug(slug)\r\n updateSlug({\r\n slug, subweb, language: lang, pageId\r\n })\r\n }\r\n\r\n const handleConfirm = async (hasConfirmed, handleSubmit) => {\r\n if (hasConfirmed) {\r\n handleSubmit()\r\n }\r\n toggle()\r\n }\r\n\r\n return (\r\n <>\r\n {\r\n handleUpdateSlug(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ values, handleSubmit }) => (\r\n <>\r\n handleConfirm(hasConfirmed, handleSubmit)}\r\n title=\"Alteração do URL\"\r\n message=\"Ao alterar o endereço da página ela deixará de ficar acessível com o endereço anterior. Se partilhou o URL da página noutros locais da web, ele deixará de ser válido. Tem a certeza que pretende continuar?\"\r\n textConfirm=\"Sim\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n Endereço amigável\r\n
\r\n \r\n \r\n \r\n \r\n {} : toggle}\r\n loading={isLoading}\r\n modifiers={[\r\n 'dark', 'small', 'smaller',\r\n values.slug === initialSlug ? 'disabled' : '',\r\n ]}\r\n >\r\n Gravar endereço\r\n \r\n \r\n
\r\n \r\n )}\r\n \r\n \r\n )\r\n}\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n`;\r\n\r\nconst FieldWithAction = styled.div`\r\n display: inline-flex;\r\n`\r\n\r\nFieldWithAction.Action = styled.div`\r\n margin-top: 2rem;\r\n padding-left: ${props => props.theme.spacing.xs};\r\n`\r\n\r\nPageUpdateSlugForm.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n lang: PropTypes.string.isRequired,\r\n initialSlug: PropTypes.string.isRequired,\r\n pageId: PropTypes.string.isRequired,\r\n}\r\n\r\nexport default PageUpdateSlugForm\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport {\r\n Text,\r\n Button,\r\n Title,\r\n Spacer,\r\n} from 'components/atoms'\r\nimport { ModalConfirm } from 'components/molecules'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\nimport { useToggle } from 'hooks'\r\nimport { useMutation } from 'react-query'\r\nimport { deletePage } from 'services/requests'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useDispatch } from 'react-redux'\r\nimport { deleteDraft } from 'redux/draftsSlice'\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\n\r\nconst PageDangerZone = ({\r\n subweb,\r\n pageId,\r\n}) => {\r\n const [isOpenConfirmation, toggle] = useToggle(false)\r\n const dispatchRedux = useDispatch()\r\n const history = useHistory()\r\n const [, dispatch] = useEditorContext();\r\n\r\n const [handleDeletePage, { isLoading }] = useMutation(deletePage, {\r\n onSuccess: () => {\r\n dispatchRedux(deleteDraft(pageId))\r\n dispatch({ type: actions.PAGE_DELETE })\r\n toast.success(\r\n \r\n );\r\n history.push(`/${subweb}`)\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const handleConfirm = (hasConfirmed) => {\r\n if (hasConfirmed) {\r\n handleDeletePage({\r\n subweb,\r\n pageId\r\n })\r\n }\r\n toggle()\r\n }\r\n\r\n return (\r\n
\r\n \r\n Apagar página\r\n Depois de apagada, não será possível recuperar a página.\r\n \r\n \r\n Apagar esta página\r\n \r\n
\r\n )\r\n}\r\n\r\nPageDangerZone.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n pageId: PropTypes.string.isRequired,\r\n}\r\n\r\nexport default PageDangerZone\r\n","/* eslint-disable no-plusplus */\r\nimport React, { useEffect } from 'react'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport cleanDeep from 'clean-deep';\r\nimport { usePaginatedQuery } from 'react-query'\r\nimport { Spacer } from 'components/atoms'\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PeopleTable } from 'components/organisms'\r\nimport {\r\n getPeople, PEOPLE_KEY, ALL_PEOPLE_KEY, getAllPeople \r\n} from 'services/requests'\r\nimport { useDebounce } from 'react-use'\r\nimport { useEditorContext, actions } from 'context/EditorContext';\r\n\r\nlet peopleIDaux = [];\r\nconst PeopleList = ({\r\n subweb, lang, activePeopleId, isPeopleModule, onClickAdd, value\r\n}) => {\r\n const [search, setSearch] = React.useState('')\r\n const [debouncedSearch, setDebouncedSearch] = React.useState('');\r\n const [page, setPage] = React.useState(1)\r\n const [{ peopleModuleselected }] = useEditorContext();\r\n\r\n const peopleID = peopleModuleselected;\r\n\r\n useEffect(() => {\r\n peopleIDaux = []\r\n }, []);\r\n\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 500,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n refetch\r\n } = usePaginatedQuery([PEOPLE_KEY, {\r\n lang,\r\n ...(debouncedSearch === '' ? { subweb } : null),\r\n currentPage: page,\r\n search: debouncedSearch,\r\n }], getPeople)\r\n\r\n \r\n const totalRecords = React.useMemo(() => (\r\n resolvedData\r\n && resolvedData.data\r\n && resolvedData.data.pagination\r\n && resolvedData.data.pagination.totalRecords ? resolvedData.data.pagination.totalRecords : 0\r\n ), [resolvedData])\r\n\r\n const peopleComputed = React.useMemo(() => {\r\n if (\r\n resolvedData && resolvedData.data && resolvedData.data.data\r\n && resolvedData.data.data.length > 0\r\n ) {\r\n if (isPeopleModule) {\r\n let flag = true;\r\n // eslint-disable-next-line no-unused-expressions\r\n for (let i = 0; i < resolvedData.data.data.length; i++) {\r\n if (peopleID.length > 0) {\r\n flag = true;\r\n for (let j = 0; j < peopleID.length; j++) {\r\n if (\r\n resolvedData.data.data[i].photoId === peopleID[j].id \r\n ) {\r\n resolvedData.data.data[i].check = true;\r\n resolvedData.data.data[i].disabledCheck = true;\r\n }\r\n else if (peopleIDaux.length > 0 && flag) {\r\n for (let k = 0; k < peopleIDaux.length; k++) {\r\n if (\r\n peopleIDaux[k].id === resolvedData.data.data[i].photoId) {\r\n if (peopleIDaux[k].check === false || peopleIDaux[k].check === undefined) {\r\n flag = false;\r\n resolvedData.data.data[i].check = peopleIDaux[k].check;\r\n }\r\n else {\r\n flag = false;\r\n resolvedData.data.data[i].check = peopleIDaux[k].check;\r\n resolvedData.data.data[i].disabledCheck = false;\r\n }\r\n \r\n }\r\n }\r\n }\r\n }\r\n }\r\n else if (peopleIDaux.length > 0) {\r\n for (let t = 0; t < peopleIDaux.length; t++) {\r\n if (\r\n peopleIDaux[t].id === resolvedData.data.data[i].photoId \r\n ) {\r\n resolvedData.data.data[i].check = peopleIDaux[t].check;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n return resolvedData.data.data.map(({\r\n id,\r\n email,\r\n name,\r\n career,\r\n category,\r\n internalPhone,\r\n visible,\r\n check,\r\n photoId,\r\n disabledCheck,\r\n externalPhone\r\n }) => {\r\n const person = {\r\n id,\r\n name,\r\n category: category || career,\r\n phoneExtension: internalPhone,\r\n email: email.length >= 1 ? email[0] : null,\r\n isVisible: visible,\r\n check: !!check,\r\n photoId,\r\n disabledCheck: !!disabledCheck,\r\n externalPhone\r\n }\r\n return cleanDeep(person)\r\n }) \r\n }\r\n return []\r\n }, [resolvedData])\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n const setCheck = (i, id, check) => {\r\n let obj = {\r\n id,\r\n check\r\n }\r\n peopleIDaux.push(obj)\r\n }\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = React.useMemo(() => page - 1, [page])\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n refetch()}\r\n />\r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n`;\r\n\r\nTop.Start = styled.div``;\r\nTop.End = styled.div`\r\n button {\r\n height: 100%;\r\n }\r\n`;\r\n\r\nconst List = styled.div``\r\n\r\nPeopleList.propTypes = {\r\n subweb: PropTypes.string,\r\n lang: PropTypes.string,\r\n activePeopleId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n}\r\n\r\nPeopleList.defaultProps = {\r\n subweb: 'ua',\r\n lang: 'pt',\r\n activePeopleId: null,\r\n isSubwebSet: false\r\n}\r\n\r\nexport default PeopleList\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { Text, Spacer } from 'components/atoms'\r\nimport { PersonInfo } from 'components/molecules'\r\nimport { PersonUpdateForm, Error } from 'components/organisms'\r\nimport { getPeopleById, putPeopleById, PEOPLE_KEY } from 'services/requests'\r\nimport { useQuery, useMutation, queryCache } from 'react-query'\r\nimport { usePersonImage } from 'hooks'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\n\r\nconst PeopleDetail = ({ subweb, peopleId }) => {\r\n const {\r\n isLoading,\r\n isError,\r\n data\r\n } = useQuery([PEOPLE_KEY, { subweb, id: peopleId }], getPeopleById)\r\n const [updatePerson, {\r\n isLoading: isLoadingUpdatePerson\r\n }] = useMutation(putPeopleById, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(PEOPLE_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const handleUpdatePerson = (values) => {\r\n updatePerson(values)\r\n }\r\n\r\n const person = React.useMemo(() => {\r\n if (data && data.data) return data.data\r\n return null\r\n }, [data])\r\n\r\n const {\r\n image,\r\n isLoading: isLoadingImage\r\n } = usePersonImage(person && person.photoId ? person.photoId : null)\r\n\r\n const initialValues = React.useMemo(() => {\r\n if (person) {\r\n const {\r\n visible,\r\n cabinet,\r\n email,\r\n externalPhone,\r\n internalPhone,\r\n jobAttributesEn,\r\n jobAttributesPt\r\n } = person\r\n return {\r\n visible,\r\n cabinet,\r\n email: email && email.length > 0 ? email[0] : '',\r\n externalPhone,\r\n internalPhone,\r\n jobPt: jobAttributesPt,\r\n jobEn: jobAttributesEn,\r\n }\r\n }\r\n return {}\r\n }, [person])\r\n\r\n if (isLoading || isLoadingImage) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (isError) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n <>\r\n 0 ? person.email[0] : null}\r\n />\r\n {person.category && (\r\n \r\n Categoria\r\n {person.category}\r\n \r\n )}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPeopleDetail.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n peopleId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired\r\n}\r\n\r\nexport default PeopleDetail\r\n","import React, { useMemo, useState, useEffect } from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport { Formik, Field } from 'formik';\r\nimport {\r\n FieldCustom, FieldToggle, FieldSelect, FieldTextarea\r\n} from 'components/molecules';\r\nimport {\r\n Form, Button, Title, Spacer\r\n} from 'components/atoms';\r\nimport PropTypes from 'prop-types';\r\nimport * as Yup from 'yup';\r\nimport { generateSubwebPath } from 'services/generators';\r\nimport {\r\n getSubwebTypes, SUBWEB_TYPE_KEY, queryNewsChannel\r\n} from 'services/requests'\r\nimport { useQuery } from 'react-query'\r\nimport { slugRegex } from 'services/constants';\r\nimport { Authenticator, Toast } from 'containers'\r\nimport { toast } from 'react-toastify';\r\n\r\nexport const Schema = Yup.object().shape({\r\n description: Yup.string().required('Campo obrigatório'),\r\n namePt: Yup.string().required('Campo obrigatório')\r\n .min(1, 'Mínimo de 1 carácter')\r\n .max(250, 'Máximo de 250 caracteres')\r\n .required('Campo obrigatório'),\r\n nameEn: Yup.string().required('Campo obrigatório')\r\n .min(1, 'Mínimo de 1 carácter')\r\n .max(250, 'Máximo de 250 caracteres')\r\n .required('Campo obrigatório'),\r\n active: Yup.boolean(),\r\n slug: Yup.string().matches(slugRegex, 'Apenas pode ter letras minúsculas, palavras separadas por -, e não pode conter a palavra noticias ou news').required('Campo obrigatório'),\r\n typeId: Yup.string().required('Campo obrigatório'),\r\n uaOnlineId: Yup.string().nullable(),\r\n serviceGuruId: Yup.string().nullable(),\r\n serviceRHid: Yup.string().nullable(),\r\n analyticsId: Yup.string().nullable(),\r\n initials: Yup.string()\r\n .min(1, 'Mínimo de 1 carácter')\r\n .max(5, 'Máximo de 5 caracteres')\r\n .required('Campo obrigatório'),\r\n});\r\n\r\nconst logoBottomSchema = Yup.object().shape({\r\n logoPtBottom: Yup.string().url('Deve ser um url da imagem').required('Campo obrigatório'),\r\n logoEnBottom: Yup.string().url('Deve ser um url da imagem').required('Campo obrigatório'),\r\n})\r\n\r\nconst logoTopSchema = Yup.object().shape({\r\n logoPtTop: Yup.string().url('Deve ser um url da imagem').required('Campo obrigatório'),\r\n logoEnTop: Yup.string().url('Deve ser um url da imagem').required('Campo obrigatório'),\r\n})\r\n\r\n\r\nconst SubwebCreateForm = ({\r\n initialValues,\r\n onSubmit,\r\n onDiscard,\r\n isLoading,\r\n showReset,\r\n isEdit = false,\r\n}) => {\r\n const [numberImageInputs, setNumberImageInputs] = React.useState(0)\r\n\r\n const computedSchema = React.useMemo(() => {\r\n const schemaWithBottom = Schema.concat(logoBottomSchema)\r\n const schemaWithBoth = schemaWithBottom.concat(logoTopSchema)\r\n\r\n // requires bottom logos\r\n if (numberImageInputs === 1) {\r\n return schemaWithBottom\r\n }\r\n if (numberImageInputs === 2) {\r\n return schemaWithBoth\r\n }\r\n\r\n return Schema\r\n }, [numberImageInputs])\r\n\r\n const isInitialValid = useMemo(\r\n () => Schema.isValidSync(initialValues),\r\n [initialValues]\r\n );\r\n\r\n const {\r\n isLoading: isLoadingSubwebType,\r\n data: dataSubwebTypes\r\n } = useQuery([SUBWEB_TYPE_KEY], getSubwebTypes)\r\n\r\n const computeOptions = (opts, valueKey = 'id', labelKey = 'name') => opts.map((option) => ({\r\n value: option[valueKey],\r\n label: option[labelKey],\r\n original: option\r\n }))\r\n\r\n const [isLoadingNewsType, setLoading] = useState(true)\r\n const [newsTypesOptions, setChannel] = useState([]);\r\n\r\n\r\n useEffect(() => {\r\n const getNewsData = async () => {\r\n try {\r\n setLoading(true)\r\n const { data: { data: channelData } } = await queryNewsChannel({});\r\n\r\n setChannel(computeOptions(channelData));\r\n\r\n setLoading(false)\r\n } catch (err) {\r\n setLoading(false)\r\n toast.error(\r\n \r\n );\r\n // eslint-disable-next-line no-console\r\n console.error(err);\r\n }\r\n }\r\n getNewsData();\r\n }, []);\r\n\r\n const subwebTypesOptions = useMemo(() => {\r\n if (dataSubwebTypes && dataSubwebTypes.data) {\r\n return dataSubwebTypes.data.map(type => ({\r\n label: type.name,\r\n value: type.id,\r\n original: type,\r\n }))\r\n }\r\n return []\r\n }, [dataSubwebTypes])\r\n\r\n const renderImageFields = (value, options) => {\r\n const selected = options.find(opt => (opt.value ? opt.value === value : null))\r\n const numberLogos = selected && selected.original && selected.original.numberLogos\r\n ? selected.original.numberLogos\r\n : 0\r\n setNumberImageInputs(numberLogos)\r\n\r\n if (numberLogos === 1) {\r\n return (\r\n <>\r\n \r\n \r\n \r\n )\r\n }\r\n\r\n if (numberLogos === 2) {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n\r\n return null\r\n }\r\n\r\n return (\r\n \r\n {({\r\n isSubmitting, dirty, values, resetForm,\r\n }) => (\r\n
\r\n Informação base\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n Aspeto\r\n \r\n\r\n {renderImageFields(values.typeId, subwebTypesOptions)}\r\n \r\n\r\n \r\n\r\n Ligação a outros serviços\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n {showReset && (\r\n resetForm(initialValues)}\r\n >\r\n Repor\r\n \r\n )}\r\n {typeof onDiscard === 'function' && (\r\n \r\n Cancelar\r\n \r\n )}\r\n \r\n {isEdit ? 'Editar subweb' : 'Criar Subweb'}\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`\r\n\r\nSubwebCreateForm.propTypes = {\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n initialValues: PropTypes.shape({}),\r\n isLoading: PropTypes.bool,\r\n showReset: PropTypes.bool,\r\n};\r\n\r\nSubwebCreateForm.defaultProps = {\r\n onSubmit: () => null,\r\n onDiscard: undefined,\r\n initialValues: {},\r\n isLoading: false,\r\n showReset: false,\r\n};\r\n\r\nexport default SubwebCreateForm;\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { SubwebForm, Toast } from 'containers'\r\nimport { useQuery, useMutation, queryCache } from 'react-query'\r\nimport { getSubwebInfo, putSubweb, SUBWEB_KEY } from 'services/requests'\r\nimport { Error } from 'components/organisms'\r\nimport { toast } from 'react-toastify';\r\n\r\nconst SubwebUpdateForm = ({ subweb }) => {\r\n const {\r\n isLoading,\r\n isError,\r\n data\r\n } = useQuery([SUBWEB_KEY, { subweb }], getSubwebInfo)\r\n\r\n const [updateSubweb, {\r\n isLoading: isLoadingUpdateSubweb\r\n }] = useMutation(putSubweb, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(SUBWEB_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const initialValues = React.useMemo(() => {\r\n if (data && data.data) return data.data\r\n return null\r\n }, [data])\r\n\r\n const handleSubmit = (values) => {\r\n updateSubweb({ subweb, ...values })\r\n }\r\n\r\n if (isLoading) {\r\n return

A carregar...

\r\n }\r\n\r\n if (isError) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nSubwebUpdateForm.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default SubwebUpdateForm\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n postSubweb, SUBWEB_KEY,\r\n} from 'services/requests'\r\nimport { useMutation, queryCache } from 'react-query'\r\nimport { toast } from 'react-toastify';\r\nimport { Toast, SubwebForm } from 'containers';\r\n\r\n\r\nconst SubwebCreateForm = ({\r\n onSubmit, onDiscard,\r\n}) => {\r\n const [createSubweb, { isLoading }] = useMutation(postSubweb, {\r\n onSuccess: (data) => {\r\n queryCache.invalidateQueries(SUBWEB_KEY)\r\n onSubmit(data.data)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n if (err.response && err.response.status === 409) {\r\n toast.error(\r\n \r\n );\r\n } else {\r\n toast.error(\r\n \r\n );\r\n }\r\n }\r\n })\r\n\r\n const handleSubmit = async values => {\r\n const {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n } = values\r\n\r\n const newSubweb = {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n active,\r\n typeId,\r\n uaOnlineId,\r\n serviceGuruId,\r\n serviceRHid,\r\n analyticsId,\r\n initials,\r\n logoPtTop,\r\n logoPtBottom,\r\n logoEnTop,\r\n logoEnBottom\r\n }\r\n\r\n createSubweb(newSubweb)\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nSubwebCreateForm.propTypes = {\r\n onSubmit: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n};\r\n\r\nSubwebCreateForm.defaultProps = {\r\n onSubmit: () => null,\r\n onDiscard: () => null,\r\n};\r\n\r\nexport default SubwebCreateForm;\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { Modal } from 'components/molecules'\r\nimport { Title } from 'components/atoms'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useUserContext, actions } from 'context/UserContext';\r\n\r\nimport SubwebCreateForm from './SubwebCreateForm'\r\n\r\nconst SubwebCreateModal = ({ isOpen, toggle }) => {\r\n const history = useHistory()\r\n const [{ userAuthenticated }, dispatch] = useUserContext()\r\n const handleSubmit = ({\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n initials,\r\n color,\r\n serviceId,\r\n }) => {\r\n toggle()\r\n if (userAuthenticated) {\r\n dispatch({\r\n type: actions.ADD_USER_SUBWEB,\r\n data: {\r\n slug,\r\n namePt,\r\n nameEn,\r\n description,\r\n initials,\r\n color,\r\n id: serviceId,\r\n }\r\n });\r\n }\r\n history.push(`/${slug}`)\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n Criar subweb\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nSubwebCreateModal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n toggle: PropTypes.func,\r\n};\r\n\r\nSubwebCreateModal.defaultProps = {\r\n isOpen: false,\r\n toggle: () => {}\r\n}\r\n\r\nexport default SubwebCreateModal\r\n","import React from 'react'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport cleanDeep from 'clean-deep';\r\nimport { usePaginatedQuery, useMutation, queryCache } from 'react-query'\r\nimport { Spacer, Button } from 'components/atoms'\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PeoplePermissionsTable } from 'components/organisms'\r\nimport { PeopleSelectModal, Toast } from 'containers'\r\nimport {\r\n getSubwebUsers,\r\n SUBWEB_USERS_KEY,\r\n SUBWEB_USERS_ALL_KEY,\r\n postSubwebUser,\r\n deleteSubwebUser\r\n} from 'services/requests'\r\nimport { useDebounce } from 'react-use'\r\nimport { useToggle } from 'hooks'\r\nimport { toast } from 'react-toastify';\r\n\r\nconst PermissionsList = ({\r\n subweb\r\n}) => {\r\n const [search, setSearch] = React.useState('')\r\n const [debouncedSearch, setDebouncedSearch] = React.useState('');\r\n const [page, setPage] = React.useState(1)\r\n const [isOpen, toggle] = useToggle(false)\r\n\r\n const [addSubwebUser, { isLoading: isLoadingAddUser }] = useMutation(postSubwebUser, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(SUBWEB_USERS_KEY)\r\n queryCache.invalidateQueries(SUBWEB_USERS_ALL_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const [removeSubwebUser, { isLoading: isLoadingDeleteUser }] = useMutation(deleteSubwebUser, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(SUBWEB_USERS_KEY)\r\n queryCache.invalidateQueries(SUBWEB_USERS_ALL_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 350,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n } = usePaginatedQuery([SUBWEB_USERS_KEY, {\r\n subweb,\r\n currentPage: page,\r\n search: debouncedSearch,\r\n }], getSubwebUsers)\r\n\r\n const totalRecords = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalRecords\r\n ? resolvedData.data.pagination.totalRecords\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n const dataComputed = React.useMemo(() => {\r\n if (\r\n resolvedData && resolvedData.data && resolvedData.data.data\r\n && resolvedData.data.data.length > 0\r\n ) {\r\n return resolvedData.data.data.map(({\r\n id,\r\n email,\r\n name,\r\n pagePermission,\r\n subwebPermission,\r\n }) => {\r\n let permissions = null\r\n if (pagePermission) permissions = 'páginas'\r\n if (subwebPermission) permissions = 'subweb'\r\n\r\n const person = {\r\n id,\r\n name,\r\n email: email.length >= 1 ? email[0] : null,\r\n permissions,\r\n }\r\n return cleanDeep(person)\r\n })\r\n }\r\n return []\r\n }, [resolvedData])\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = React.useMemo(() => page - 1, [page])\r\n\r\n const handleAddUser = ({ id }) => {\r\n addSubwebUser({ subweb, userId: id })\r\n }\r\n\r\n const handleRemoveUser = ({ id }) => {\r\n removeSubwebUser({ subweb, userId: id })\r\n }\r\n\r\n return (\r\n <>\r\n \r\n\r\n \r\n \r\n \r\n adicionar à subweb\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n display: grid;\r\n grid-template-columns: 1fr auto;\r\n grid-column-gap: ${props => props.theme.spacing.xs};\r\n`;\r\n\r\nTop.Start = styled.div``;\r\nTop.End = styled.div`\r\n button {\r\n height: 100%;\r\n }\r\n`;\r\nconst GlobalActions = styled.div`\r\nposition: absolute;\r\nright: 41px;\r\ntop: 44px;\r\n`\r\nconst Home = styled.div`\r\n\r\n${props => props.theme.mixins.select()};\r\n`;\r\n\r\nHome.Header = styled.div`\r\nmargin-bottom: ${props => props.theme.spacing.l};\r\n`;\r\nconst List = styled.div``\r\n\r\nPermissionsList.propTypes = {\r\n subweb: PropTypes.string,\r\n}\r\n\r\nPermissionsList.defaultProps = {\r\n subweb: 'ua',\r\n}\r\n\r\nexport default PermissionsList\r\n","import React from 'react'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport cleanDeep from 'clean-deep';\r\nimport { usePaginatedQuery, useMutation, queryCache } from 'react-query'\r\nimport { Spacer, Button } from 'components/atoms'\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PeoplePermissionsTable } from 'components/organisms'\r\nimport { PeopleSelectModal, Toast } from 'containers'\r\nimport {\r\n getSubwebPageUsers,\r\n SUBWEB_USERS_PAGE_KEY,\r\n SUBWEB_USERS_ALL_KEY,\r\n postSubwebPageUser,\r\n deleteSubwebPageUser,\r\n} from 'services/requests'\r\nimport { useDebounce } from 'react-use'\r\nimport { useToggle } from 'hooks'\r\nimport { toast } from 'react-toastify';\r\n\r\nconst PermissionsList = ({\r\n subweb,\r\n pageId,\r\n}) => {\r\n const [search, setSearch] = React.useState('')\r\n const [debouncedSearch, setDebouncedSearch] = React.useState('');\r\n const [page, setPage] = React.useState(1)\r\n const [isOpen, toggle] = useToggle(false)\r\n\r\n const [addSubwebUser, { isLoading: isLoadingAddUser }] = useMutation(postSubwebPageUser, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(SUBWEB_USERS_PAGE_KEY)\r\n queryCache.invalidateQueries(SUBWEB_USERS_ALL_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n const [removeSubwebUser, { isLoading: isLoadingDeleteUser }] = useMutation(deleteSubwebPageUser, {\r\n onSuccess: () => {\r\n queryCache.invalidateQueries(SUBWEB_USERS_PAGE_KEY)\r\n queryCache.invalidateQueries(SUBWEB_USERS_ALL_KEY)\r\n toast.success(\r\n \r\n );\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n );\r\n }\r\n })\r\n\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 350,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n } = usePaginatedQuery([SUBWEB_USERS_PAGE_KEY, {\r\n subweb,\r\n pageId,\r\n currentPage: page,\r\n search: debouncedSearch,\r\n }], getSubwebPageUsers)\r\n\r\n const totalRecords = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalRecords\r\n ? resolvedData.data.pagination.totalRecords\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n const totalPages = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalPages\r\n ? resolvedData.data.pagination.totalPages\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n const dataComputed = React.useMemo(() => {\r\n if (\r\n resolvedData && resolvedData.data && resolvedData.data.data\r\n && resolvedData.data.data.length > 0\r\n ) {\r\n return resolvedData.data.data.map(({\r\n id,\r\n email,\r\n name,\r\n pagePermission,\r\n subwebPermission,\r\n }) => {\r\n let permissions = null\r\n if (pagePermission) permissions = 'páginas'\r\n if (subwebPermission) permissions = 'subweb'\r\n\r\n const person = {\r\n id,\r\n name,\r\n email: email.length >= 1 ? email[0] : null,\r\n permissions,\r\n }\r\n return cleanDeep(person)\r\n })\r\n }\r\n return []\r\n }, [resolvedData])\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = React.useMemo(() => page - 1, [page])\r\n\r\n const handleAddUser = ({ id }) => {\r\n addSubwebUser({ subweb, pageId, userId: id })\r\n }\r\n\r\n const handleRemoveUser = ({ id }) => {\r\n removeSubwebUser({ subweb, pageId, userId: id })\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n\r\n \r\n adicionar à página\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {totalPages > 1 && (\r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n )}\r\n \r\n {totalPages > 1 && (\r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n )}\r\n \r\n \r\n )\r\n}\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n`;\r\n\r\n\r\nconst List = styled.div``\r\n\r\nPermissionsList.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n pageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\r\n}\r\n\r\nPermissionsList.defaultProps = {\r\n pageId: null,\r\n}\r\n\r\nexport default PermissionsList\r\n","import React from 'react'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport cleanDeep from 'clean-deep';\r\nimport { usePaginatedQuery } from 'react-query'\r\nimport { Spacer } from 'components/atoms'\r\nimport { InputIcon, Pagination } from 'components/molecules'\r\nimport { PeopleTableSelect } from 'components/organisms'\r\nimport { getAllUsers, SUBWEB_USERS_ALL_KEY } from 'services/requests'\r\nimport { useDebounce } from 'react-use'\r\n\r\nconst PeopleSelect = ({\r\n subweb,\r\n pageId,\r\n onSelect,\r\n}) => {\r\n const [search, setSearch] = React.useState('')\r\n const [debouncedSearch, setDebouncedSearch] = React.useState('');\r\n const [page, setPage] = React.useState(1)\r\n\r\n useDebounce(\r\n () => {\r\n if (debouncedSearch !== search) setDebouncedSearch(search);\r\n },\r\n 350,\r\n [search]\r\n );\r\n\r\n const {\r\n isLoading,\r\n isFetching,\r\n resolvedData,\r\n } = usePaginatedQuery([SUBWEB_USERS_ALL_KEY, {\r\n subweb,\r\n currentPage: page,\r\n search: debouncedSearch,\r\n filter: pageId ? 'page' : 'service',\r\n pageId,\r\n }], getAllUsers)\r\n\r\n const totalRecords = React.useMemo(\r\n () => (\r\n resolvedData && resolvedData.data\r\n && resolvedData.data.pagination && resolvedData.data.pagination.totalRecords\r\n ? resolvedData.data.pagination.totalRecords\r\n : 0\r\n ),\r\n [resolvedData])\r\n\r\n const dataComputed = React.useMemo(() => {\r\n if (\r\n resolvedData && resolvedData.data && resolvedData.data.data\r\n && resolvedData.data.data.length > 0\r\n ) {\r\n return resolvedData.data.data.map(({\r\n id,\r\n email,\r\n name,\r\n }) => {\r\n const person = {\r\n id,\r\n name,\r\n email: email.length >= 1 ? email[0] : null,\r\n }\r\n return cleanDeep(person)\r\n })\r\n }\r\n return []\r\n }, [resolvedData])\r\n\r\n const handleSearch = (e) => {\r\n const searchValue = e.target.value\r\n setSearch(searchValue)\r\n setPage(1)\r\n }\r\n\r\n // react-table pages start at 0 while rc-pagination starts at 1\r\n const tablePage = React.useMemo(() => page - 1, [page])\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n setPage(nextPage)}\r\n current={page}\r\n total={totalRecords}\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n`;\r\n\r\nconst List = styled.div``\r\n\r\nPeopleSelect.propTypes = {\r\n subweb: PropTypes.string.isRequired,\r\n pageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n onSelect: PropTypes.func,\r\n}\r\n\r\nPeopleSelect.defaultProps = {\r\n pageId: undefined,\r\n onSelect: () => null,\r\n}\r\n\r\nexport default PeopleSelect\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { PeopleSelect } from 'containers'\r\nimport { Title } from 'components/atoms'\r\nimport { Modal } from 'components/molecules'\r\n\r\nconst PeopleSelectModal = ({\r\n subweb, pageId, isOpen, toggle, onSelect\r\n}) => {\r\n const handleSelect = (selectedPerson) => {\r\n onSelect(selectedPerson)\r\n if (isOpen) toggle()\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n Selecionar utilizador\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nPeopleSelectModal.propTypes = {\r\n toggle: PropTypes.func,\r\n isOpen: PropTypes.bool,\r\n onSelect: PropTypes.func,\r\n subweb: PropTypes.string.isRequired,\r\n pageId: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\r\n}\r\n\r\nPeopleSelectModal.defaultProps = {\r\n toggle: () => null,\r\n isOpen: false,\r\n onSelect: () => null,\r\n pageId: undefined,\r\n}\r\n\r\nexport default PeopleSelectModal\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n//theme\r\nimport { withExtendedClass } from \"../../../utils/utilities.style\";\r\n\r\nconst sizing = {\r\n xSmall: `\r\n font-size: 14px;\r\n `,\r\n small: `\r\n font-size: 18px;\r\n `,\r\n medium: `\r\n font-size: 24px;\r\n `,\r\n large: `\r\n font-size: 32px;\r\n `,\r\n xLarge: `\r\n font-size: 36px;\r\n `,\r\n xxLarge: `\r\n font-size: 42px;\r\n `,\r\n xxxLarge: `\r\n font-size: 48px;\r\n `\r\n};\r\n\r\nconst Icon = styled.i.attrs(({ className, name }) =>\r\n withExtendedClass({\r\n className,\r\n extend: `${name}`\r\n })\r\n)`\r\n /*\r\n -- Size\r\n */\r\n ${props => sizing[props.size || \"medium\"]};\r\n /*\r\n -- Main props\r\n */\r\n color: ${props => props.color || props.theme.components.icon.color};\r\n font-size: ${props => props.fontSize};\r\n min-width: ${props => props.minWidth};\r\n margin-right: ${props => props.marginRight};\r\n margin-left: ${props => props.marginLeft};\r\n`;\r\n\r\nIcon.defaultProps = {\r\n name: \"fas fa-info\"\r\n};\r\n\r\nIcon.propTypes = {\r\n name: PropTypes.string.isRequired,\r\n className: PropTypes.string,\r\n size: PropTypes.string,\r\n color: PropTypes.string,\r\n fontSize: PropTypes.string,\r\n minWidth: PropTypes.string,\r\n marginRight: PropTypes.string,\r\n marginLeft: PropTypes.string\r\n};\r\n\r\nexport default Icon;\r\n","// used when we want to extend a styled components className with the attrs method\r\n// example:\r\n// styled.div.attrs(({ className }) => withExtendedClass({ className, extended: 'costumClass' }))`\r\n// result 'costumClass sc-ckVGcZ cUEZSI'\r\n\r\nexport const withExtendedClass = ({ className, extend }) => ({\r\n className: `${extend || \"\"} ${(className && className) || \"\"}`.trim()\r\n});\r\n","export default {\r\n edit: 'editar',\r\n archive: 'ocultar',\r\n delete: 'apagar',\r\n editors: 'editores',\r\n status: 'estado',\r\n page: 'página',\r\n config: 'configurações',\r\n loading: 'a carregar dados',\r\n name: 'nome',\r\n category: 'categoria',\r\n phoneExtension: 'extensão telefónica',\r\n email: 'e-mail',\r\n 'section.quick.subweb': 'acesso rápido (subwebs)',\r\n 'section.quick.page': 'acesso rápido (páginas)',\r\n 'section.table.subweb': 'todas as subwebs',\r\n 'section.table.page': 'todas as páginas',\r\n 'subweb.people': 'pessoas',\r\n 'subweb.edit': 'páginas',\r\n 'subweb.new': 'criar subweb',\r\n 'subweb.permissions': 'permissões',\r\n 'subweb.edit.menu': 'menu',\r\n 'subweb.settings': 'definições',\r\n 'resources.view': 'recursos',\r\n 'error.missing': 'sem informação',\r\n 'page.state.prePublished': 'pré-visualização criada',\r\n 'page.state.published': 'publicado',\r\n 'page.state.local': 'edições por gravar',\r\n 'page.state.edited': 'edições gravadas',\r\n 'page.state.archive': 'ocultado',\r\n 'page.state.draft': 'rascunho',\r\n 'page.state.none': 'indisponível',\r\n 'page.state.error': 'erro a obter estado',\r\n 'page.new': 'criar página',\r\n 'page.delete': 'apagar página',\r\n 'page.search': 'pesquisar páginas',\r\n 'page.slug': 'endereço amigável',\r\n 'subwebs.delete': 'apagar subweb',\r\n 'subwebs.search': 'pesquisar subwebs',\r\n 'subwebs.title': 'título',\r\n 'subwebs.slug': 'endereço amigável',\r\n 'subwebs.visit': 'visitar',\r\n 'home.title': 'Editor',\r\n 'table.title.last': 'última edição',\r\n 'lang.pt.feminim': 'portuguesa',\r\n 'lang.en.feminim': 'inglesa',\r\n file: 'ficheiro',\r\n 'file.title': 'nome',\r\n 'file.type': 'tipo',\r\n 'file.size': 'tamanho',\r\n 'file.date': 'modificado em',\r\n 'file.copy': 'copiar link',\r\n 'file.download': 'descarregar',\r\n 'file.edit': 'editar',\r\n 'file.delete': 'apagar',\r\n 'file.numberDownloads': 'número de downloads',\r\n 'file.lastdownload': 'último download',\r\n // this messages were missing in order to be able to test formattedMessages\r\n // that would eventually be rendered by the lib component\r\n 'app.content.empty': 'Nenhum conteúdo para exibir',\r\n 'app.course.curricular': 'Plano Curricular',\r\n 'app.course.edicts': 'Editais de abertura',\r\n 'app.course.edicts.icon.documents': 'Aceder aos documentos',\r\n 'app.departments.list.description': 'A Universidade de Aveiro é constituida por 16 departamentos, que se interrelacionam consoante a interdisciplinaridade dos cursos que integram ou das áreas de investigação que partilham.',\r\n 'app.departments.list.subTitle': 'Departamentos',\r\n 'app.departments.list.title': 'Departamentos e Escolas',\r\n 'app.departments.polytechnics.title': 'Escolas Politécnicas',\r\n 'app.events.action.back': 'voltar',\r\n 'app.events.action.today': 'hoje',\r\n 'app.events.empty': 'Sem Resultados de eventos',\r\n 'app.events.select.categories': 'categorias',\r\n 'app.events.select.channel': 'canal',\r\n 'app.footer.accessibility': 'Acessibilidade',\r\n 'app.footer.contacts': 'Contactos',\r\n 'app.footer.newPortal': 'Novo Portal',\r\n 'app.footer.prospectiveStudents': 'futuros estudantes',\r\n 'app.footer.uaStudents': 'estudantes ua',\r\n 'app.footer.internationalStudents': 'estudantes internacionais',\r\n 'app.footer.uaPeople': 'pessoas ua',\r\n 'app.footer.society': 'sociedade',\r\n 'app.footer.services': 'serviços',\r\n 'app.footer.researchUnits': 'unidades de investigação',\r\n 'app.footer.publics': 'Públicos',\r\n 'app.footer.follow': 'Segue-nos',\r\n 'app.footer.general.contacts': 'contactos gerais',\r\n 'app.footer.library': 'biblioteca',\r\n 'app.footer.links': 'Links Rápidos',\r\n 'app.footer.map': 'Mapa do site',\r\n 'app.footer.protection': 'Proteção de dados',\r\n 'app.nav.International': 'internacional',\r\n 'app.nav.International.item.candidature': 'candidatura',\r\n 'app.nav.International.item.infocourse': 'informações úteis',\r\n 'app.nav.International.item.information': 'informação útil',\r\n 'app.nav.International.item.international.cooperation': 'cooperação internacional',\r\n 'app.nav.International.item.internationalCooperation': 'cooperação internacional',\r\n 'app.nav.International.item.internationalStudyAtUA': 'estudar e investigar',\r\n 'app.nav.International.item.internship': 'estágios internacionais',\r\n 'app.nav.International.item.living': 'preparar a vinda',\r\n 'app.nav.International.item.livingAveiro': 'viver em Aveiro',\r\n 'app.nav.International.item.livingAveiro.campusesLife': 'vida nos campi',\r\n 'app.nav.International.item.livingAveiro.internationalBefore': 'preparar a vinda',\r\n 'app.nav.International.item.livingAveiro.internationalSupport': 'serviços de apoio',\r\n 'app.nav.International.item.mobility': 'mobilidade',\r\n 'app.nav.International.item.mobility.mobilityIncoming': 'mobilidade incoming',\r\n 'app.nav.International.item.mobility.mobilityOutgoing': 'mobilidade outgoing',\r\n 'app.nav.International.item.students': 'estudar em portugal',\r\n 'app.nav.International.item.study': 'estudar e investigar',\r\n 'app.nav.International.item.whyPortugal': 'porquê Portugal?',\r\n 'app.nav.International.item.whyPortugal.internationalApplication': 'candidaturas',\r\n 'app.nav.International.item.whyPortugal.internationalFees': 'taxas e anuidades',\r\n 'app.nav.International.item.whyPortugal.internationalScholarships': 'bolsas e financiamento',\r\n 'app.nav.International.item.whyPortugal.researchFacilities': 'onde investigar?',\r\n 'app.nav.International.item.whyPortugal.whatToStudy': 'o que estudar?',\r\n 'app.nav.about': 'sobre a ua',\r\n 'app.nav.about.item.aboutUs': 'sobre nós',\r\n 'app.nav.about.item.campus': 'os campi',\r\n 'app.nav.about.item.community': 'comunidade',\r\n 'app.nav.about.item.events': 'novidades e eventos',\r\n 'app.nav.about.item.history': 'história',\r\n 'app.nav.about.item.history.formerRectors': 'antigos reitores',\r\n 'app.nav.about.item.history.honorisCausa': 'honoris causa',\r\n 'app.nav.about.item.numbers': 'factos e números',\r\n 'app.nav.about.item.organization': 'organização',\r\n 'app.nav.about.item.presentation': 'universidade',\r\n 'app.nav.about.item.quality': 'qualidade',\r\n 'app.nav.aboutUs': 'sobre nós',\r\n 'app.nav.acknowledgment': 'colaborações',\r\n 'app.nav.education': 'estudar',\r\n 'app.numbers.study': 'Estudar',\r\n 'app.nav.education.item.aftercourse': 'estágios e emprego',\r\n 'app.nav.education.item.aplication': 'candidaturas',\r\n 'app.nav.education.item.aplication.MTwentyThree': 'maiores de 23',\r\n 'app.nav.education.item.aplication.cna': ' concurso nacional de acesso',\r\n 'app.nav.education.item.aplication.internationalStudents': 'estudantes internacionais',\r\n 'app.organism.news.warnings': 'Avisos',\r\n 'app.nav.education.item.aplication.isolatedSubjects': 'unidades curriculares isoladas',\r\n 'app.nav.education.item.aplication.localApplication': 'concurso local para licenciatura em música',\r\n 'app.nav.education.item.aplication.postGradApplications': 'candidatura a pós-graduação',\r\n 'app.nav.education.item.covid': 'coronavírus',\r\n 'app.nav.education.item.aplication.specialAdmissions': 'concursos especiais',\r\n 'app.nav.education.item.aplication.tespInfo': 'técnicos superiores profissionais',\r\n 'app.nav.education.item.candidature': 'candidaturas',\r\n 'app.nav.education.item.courses': 'cursos',\r\n 'app.nav.education.item.courses.c.1': 'licenciaturas e mestrados integrados',\r\n 'app.nav.education.item.courses.g.10': 'técnicos superiores profissionais',\r\n 'app.nav.education.item.courses.g.4': 'mestrados',\r\n 'app.nav.education.item.courses.g.9': 'programas doutorais',\r\n 'app.nav.education.item.courses.moreLearning': 'outras formas de estudar',\r\n 'app.nav.education.item.courses.otherPostGrad': 'outras pós-graduações',\r\n 'app.nav.education.item.departments': 'departamentos e escolas',\r\n 'app.nav.education.item.edicts': 'editais',\r\n 'app.nav.education.item.live': 'viver na ua',\r\n 'app.nav.education.item.registration': 'matrículas',\r\n 'app.nav.education.item.registration.cna': 'concurso nacional de acesso',\r\n 'app.nav.education.item.registration.posgrad': 'cursos de pós-graduação',\r\n 'app.nav.education.item.registration.special': 'concursos especiais',\r\n 'app.nav.education.item.registration.tesp': 'técnicos superiores profissionais',\r\n 'app.nav.education.item.registration.faq': 'perguntas frequentes',\r\n 'app.nav.education.item.registration.welcome': 'acolhimento',\r\n 'app.nav.education.item.study': 'estudar na UA',\r\n 'app.nav.education.item.teachingSupport': 'apoio ao ensino',\r\n 'app.nav.education.item.studySupport': 'apoio ao estudo',\r\n 'app.nav.education.item.studySupport.academicSupport': 'apoio à aprendizagem',\r\n 'app.nav.education.item.studySupport.libraries': 'bibliotecas e salas de estudo',\r\n 'app.nav.education.item.studySupport.scholarshipsAwards': 'bolsas e prémios',\r\n 'app.nav.guide': 'sobre o portal',\r\n 'app.nav.feedback': 'enviar feedback',\r\n 'app.nav.innovation': 'cooperar',\r\n 'app.nav.innovation.item.cooperate': 'balcão de cooperação',\r\n 'app.nav.innovation.item.cooperatesupport': 'balcão de cooperação',\r\n 'app.nav.innovation.item.development': 'áreas de cooperação',\r\n 'app.nav.innovation.item.entrepreneurship': 'empreendedorismo',\r\n 'app.nav.innovation.item.pci': 'impacto na região',\r\n 'app.nav.innovation.item.portfolio': 'portefólio',\r\n 'app.nav.about.item.campus.howArrive': 'como chegar',\r\n 'app.nav.innovation.item.programs': 'empreendedorismo',\r\n 'app.nav.innovation.item.ua.cooperate': 'cooperação com a UA',\r\n 'app.nav.innovation.item.ua.innovation': 'cooperação com a UA',\r\n 'app.nav.investigation': 'investigar',\r\n 'app.nav.investigation.item.research.units': 'unidades de investigação',\r\n 'app.nav.investigation.item.activity': 'atividade científica',\r\n 'app.nav.investigation.item.activity.chairs': 'cátedras',\r\n 'app.nav.investigation.item.activity.fundingReports': 'revista da investigação',\r\n 'app.nav.investigation.item.activity.idProjects': 'projetos I&D',\r\n 'app.nav.investigation.item.activity.openScience': 'ciência aberta',\r\n 'app.nav.investigation.item.activity.researchUnits': 'unidades de investigação',\r\n 'app.nav.investigation.item.activity.scientificResearch': 'produção cientifíca',\r\n 'app.nav.investigation.item.research': 'investigar na UA',\r\n 'app.nav.investigation.item.school': 'escola doutoral',\r\n 'app.nav.investigation.item.support': 'apoios e financiamento',\r\n 'app.nav.investigation.item.support.fundingOne': 'financiamento',\r\n 'app.nav.investigation.item.support.hiring': 'bolsas e recrutamento',\r\n 'app.nav.investigation.item.support.mobilityFund': 'fundo de mobilidade',\r\n 'app.nav.investigation.item.supportreseacrh': 'apoio à investigação',\r\n 'app.nav.investigation.item.supportresearch': 'apoio à investigação',\r\n 'app.nav.live': 'viver',\r\n 'app.nav.live.item.culture': 'cultura e tempos livres',\r\n 'app.nav.live.item.eating': 'alimentação',\r\n 'app.nav.live.item.health': 'saúde e bem-estar',\r\n 'app.nav.live.item.live': 'vida académica',\r\n 'app.nav.live.item.sleeping': 'alojamento',\r\n 'app.nav.live.item.sports': 'desporto',\r\n 'app.nav.live.item.study': 'viver na UA',\r\n 'app.nav.live.item.study.publicServices': 'serviços públicos',\r\n 'app.nav.live.item.study.transportation': 'transportes',\r\n 'app.nav.live.item.study.distanceTraining': 'exercício em casa',\r\n 'app.nav.live.item.study.healthHome': 'fica bem em casa',\r\n 'app.nav.live.item.study.uaCities': 'cidades UA',\r\n 'app.nav.public.alumni': 'Alumni',\r\n 'app.nav.public.social.news': 'Notícias',\r\n 'app.nav.public.social.agenda': 'Agenda',\r\n 'app.nav.public.society': 'Sociedade',\r\n 'app.nav.public.students.future': 'Futuros Estudantes',\r\n 'app.nav.public.students.international': 'Estudantes Internacionais',\r\n 'app.nav.public.students.ua': 'Estudantes UA',\r\n 'app.nav.public.ua.people': 'Pessoas UA',\r\n 'app.nav.public.who': 'Quem sou?',\r\n 'app.numbers.campi': 'Campi',\r\n 'app.numbers.community': 'Comunidade',\r\n 'app.numbers.cooperation': 'Cooperar',\r\n 'app.numbers.employability': 'Empregabilidade',\r\n 'app.numbers.employability.data': 'Dados de empregabilidade',\r\n 'app.numbers.international': 'Internacional',\r\n 'app.numbers.investigation': 'Investigar',\r\n 'app.numbers.live': 'Viver',\r\n 'app.organism.agenda.title': 'Agenda',\r\n 'app.organism.campus.title': 'Destaques',\r\n 'app.organism.facts.title': '19 dos 20 centros de investigação científica da UA avaliados pela FCT receberam classificação de excelente e muito bom',\r\n 'app.organism.facts.university.title': 'Entre as 100 melhores instituições de ensino superior da Europa',\r\n 'app.organism.news.title': 'Notícias',\r\n 'app.organism.testimonials.title': 'Os nossos estudantes',\r\n 'app.search.all.title': 'Todo o Portal',\r\n 'app.search.empty': 'Sem conteúdos para a pesquisa',\r\n 'app.search.locals.title': 'Locais',\r\n 'app.search.map': 'Ver no mapa',\r\n 'app.search.news.title': 'Notícias',\r\n 'app.search.people.title': 'Pessoas',\r\n 'app.search.placeholder.a': 'Pesquisa todo o portal',\r\n 'app.search.placeholder.default': 'Pesquisa em páginas, ficheiros, pessoas, notícias e locais',\r\n 'app.search.placeholder.l': 'Pesquisa por departamentos e outros locais',\r\n 'app.search.placeholder.n': 'Pesquisa por notícias e agenda',\r\n 'app.search.placeholder.p': 'Pesquisa por pessoas',\r\n 'app.journal.nav.title': 'Notícias',\r\n 'app.journal.news.investigation.title': 'Investigação',\r\n 'app.journal.news.interviews.title': 'Entrevistas',\r\n 'app.journal.news.campus.title': 'Campus',\r\n 'app.journal.news.opinion.title': 'Opinião',\r\n 'app.journal.news.sport.title': 'Cultura e desporto',\r\n 'app.journal.news.mostRead.title': 'Mais lidas',\r\n 'app.journal.news.latest.title': 'Últimas',\r\n 'app.journal.news.dossier.title': 'COVID-19',\r\n 'app.journal.news.dossier.all.title': 'Ver todos os dossiês',\r\n 'app.journal.news.academicExams.title': 'Provas académicas',\r\n 'app.journal.news.scholarshipsJobs.title': 'Bolsas e emprego',\r\n 'app.journal.news.contestsAwards.title': 'Concursos e prémios',\r\n 'app.journal.news.footer.about': 'Sobre as notícias',\r\n 'app.journal.news.footer.contacts': 'Contactos',\r\n 'app.journal.news.share.feedback': 'Url copiado para clipboard',\r\n 'app.journal.news.share.button.title': 'Copiar para Clipboard',\r\n 'app.journal.errorHandler.message.title': 'Ups! Página não encontrada',\r\n 'app.journal.errorHandler.message.firstPart': 'A página à qual tentou aceder não se encontra disponívelasldjknasofjansfpoja. Esta pode ter sido removida, estar temporariamente indisponível ou o seu endereço estar incorreto. Faça uma ',\r\n 'app.journal.errorHandler.message.secondPart': 'ou volte à',\r\n 'app.journal.errorHandler.homepage.link': 'página inicial',\r\n 'app.journal.errorHandler.search.link': 'pesquisa',\r\n 'app.journal.errorHandler.button.play': 'Jogar',\r\n 'app.journal.errorHandler.button.restart': 'Jogar de novo',\r\n 'app.journal.errorHandler.next.player': 'Próximo jogador: {player}',\r\n 'app.journal.errorHandler.winner': 'Vencedor: {player}',\r\n 'app.journal.errorHandler.tie': 'Empate {player}',\r\n 'app.journal.errorHandler.general.message.title': 'Algo correu mal',\r\n 'app.journal.errorHandler.general.message.firstPart': 'Lamentamos o incómodo mas de momento não é possível mostrar o que procurava. Estamos a trabalhar para resolver o problema. Faça uma ',\r\n 'app.journal.errorHandler.general.message.secondPart': 'ou volte à',\r\n 'app.journal.errorHandler.general.homepage.link': 'página inicial',\r\n 'app.journal.errorHandler.general.search.link': 'pesquisa',\r\n 'app.organism.button.knowMore': 'saber mais',\r\n 'app.organism.button.LoadMore': 'Carregar mais',\r\n 'app.journal.news.details.print': 'Imprimir',\r\n 'app.course.shortInfo.departamentsAndSchools': 'Departamentos/Escolas politécnicas',\r\n 'app.journal.directory.navigate.alphabet': 'Clicar em enter para navegar no alfabeto',\r\n 'app.course.edicts.icon.empty.documents': 'Ausência de documentos',\r\n 'app.socialMediaActions.button.description': 'Botão para abrir menu para partilhar noticia nas redes socias',\r\n 'app.breadcrumbs.button.description': 'Botão para abrir menu com mais breadcrumbs',\r\n 'app.projects.projectsList.title': 'Projetos I&D',\r\n 'app.projects.projectsList.table.title': 'projeto',\r\n 'app.projects.projectsList.description': 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet atque cumque, laborum minus nam quam similique. Alias aspernatur corporis cumque distinctio doloribus excepturi, magnam, nesciunt numquam quis saepe tempore totam. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium, ipsa.',\r\n 'app.projects.projectsList.search.title': 'Pesquisar projetos',\r\n 'app.projects.projectsList.search.placeholder': 'Procurar um projeto, investigador responsável ou financiamento',\r\n 'app.projects.projectsList.filter.startDate': 'data de início',\r\n 'app.projects.projectsList.filter.endDate': 'data de conclusão',\r\n 'app.projects.projectsList.filter.entity': 'entidate financiadora',\r\n 'app.projects.projectsList.search.button': 'Pesquisar',\r\n 'app.lastUpdate.text': 'última atualização a',\r\n 'app.header.video.button.audioDescription': 'Vídeo com audiodescrição',\r\n 'app.header.video.button.play': 'Ver Vídeo'\r\n}\r\n","/* eslint-disable no-param-reassign */\r\nimport { createSlice } from '@reduxjs/toolkit'\r\nimport { querySubweb } from 'services/requests'\r\n\r\nconst initialState = {\r\n name: null,\r\n pages: [],\r\n pagesQuickAccess: [],\r\n error: null,\r\n isLoading: true,\r\n currentPage: 1,\r\n totalRecords: 1,\r\n search: '',\r\n isLoadingTable: true,\r\n}\r\n\r\n// Slice\r\n// automatically generates action creators\r\n// and action types that correspond to the reducers and state\r\n// https://redux-toolkit.js.org/api/createSlice\r\nconst subwebSlice = createSlice({\r\n name: 'subweb',\r\n initialState,\r\n reducers: {\r\n getSubwebPagesStart(state, action) {\r\n const {\r\n isLoading, isLoadingTable, currentPage, search\r\n } = action.payload\r\n state.isLoading = isLoading\r\n state.isLoadingTable = isLoadingTable\r\n state.currentPage = currentPage\r\n state.search = search\r\n },\r\n getSubwebPagesSuccess(state, action) {\r\n state.name = action.payload.name\r\n state.pages = action.payload.pages\r\n state.currentPage = action.payload.currentPage\r\n state.totalRecords = action.payload.totalRecords\r\n state.error = null\r\n state.isLoading = false\r\n state.isLoadingTable = false\r\n },\r\n getSubwebPagesFailure(state) {\r\n state.name = null\r\n state.pages = []\r\n state.pagesQuickAccess = []\r\n state.error = null\r\n state.isLoading = false\r\n state.isLoadingTable = false\r\n },\r\n setSubwebPagesQuickAccess(state, action) {\r\n state.pagesQuickAccess = action.payload\r\n state.isLoadingTable = false\r\n },\r\n }\r\n})\r\n\r\n// actions\r\nexport const {\r\n getSubwebPagesStart,\r\n getSubwebPagesSuccess,\r\n getSubwebPagesFailure,\r\n setSubwebPagesQuickAccess,\r\n} = subwebSlice.actions\r\n\r\n// thunks\r\nexport const fetchSubweb = (\r\n { subweb, search = '', page = 1 }\r\n) => async (dispatch, getState) => {\r\n const { subweb: subwebState } = getState()\r\n if (!subweb) {\r\n dispatch(getSubwebPagesFailure('Missing subweb parameter'))\r\n return;\r\n }\r\n try {\r\n const isLoading = (\r\n page === 1\r\n && search === ''\r\n && subweb !== subwebState.name\r\n )\r\n dispatch(getSubwebPagesStart({\r\n isLoading,\r\n isLoadingTable: true,\r\n currentPage: page,\r\n search,\r\n }))\r\n const response = await querySubweb(\r\n subweb,\r\n {\r\n params: {\r\n currentPage: page,\r\n search,\r\n }\r\n },\r\n true\r\n )\r\n\r\n const { data: { data: pages, pagination: { currentPage, totalRecords } } } = response\r\n // get quick access pages from first page results\r\n if (search === '' && currentPage === 1) {\r\n const maxQuickAccess = 4\r\n const pagesQuickAccess = pages.slice(0, maxQuickAccess)\r\n dispatch(setSubwebPagesQuickAccess(pagesQuickAccess))\r\n }\r\n dispatch(getSubwebPagesSuccess({\r\n pages, currentPage, name: subweb, totalRecords\r\n }))\r\n } catch (err) {\r\n // error wasn't due to cancelling\r\n dispatch(getSubwebPagesFailure(err.message.toString()))\r\n }\r\n}\r\n\r\nexport default subwebSlice.reducer\r\n","import uniqueId from 'lodash.uniqueid';\r\nimport {\r\n PORTAL_WWW, PORTAL_HOST, PORTAL_IMAGES_ENDPOINT, rootSubwebs, rootSubwebsHomeSlug\r\n} from 'services/constants';\r\nimport {\r\n formatDistanceToNow, isValid, format, set\r\n} from 'date-fns'\r\nimport { pt } from 'date-fns/locale'\r\n\r\nexport const generateKey = prefix => `${uniqueId(prefix)}_${new Date().getTime()}`;\r\n\r\nexport const generatePortalImageSrc = (src) => {\r\n // A external image\r\n if (\r\n (src !== undefined && src !== null && src.includes('http'))\r\n || src.includes('data:image')\r\n ) {\r\n return src;\r\n }\r\n\r\n return `${PORTAL_WWW}/${encodeURIComponent(src)}`;\r\n};\r\n\r\nexport const generatePortalImg = ({\r\n src,\r\n isLocal = true,\r\n height = 100,\r\n width,\r\n}) => {\r\n const baseUrl = `${PORTAL_IMAGES_ENDPOINT}/image/resizer?imageUrl=`;\r\n const url = isLocal\r\n ? `${baseUrl}${PORTAL_WWW}/${src}`\r\n : `${baseUrl}${src}`;\r\n const urlResized = width\r\n ? `${url}&width=${width}`\r\n : `${url}&height=${height}`;\r\n return urlResized;\r\n};\r\n\r\nexport const generateEditorPath = ({\r\n lang = 'pt',\r\n subweb,\r\n pageId,\r\n moduleId,\r\n removePre = false,\r\n next = '',\r\n}) => {\r\n const isModule = pageId && moduleId;\r\n const pre = `/${subweb}/editor/${lang}`;\r\n\r\n let path = `/page/${encodeURIComponent(pageId)}`;\r\n if (isModule) path = `/page/${encodeURIComponent(pageId)}/module/${moduleId}`;\r\n if (!removePre) path = pre + path;\r\n if (next) path += next;\r\n return path;\r\n};\r\n\r\n// mainly to check if user is in editor or redirect to homepage\r\nexport const computePathEditor = gatherRedirect => {\r\n const splitUrl = gatherRedirect.split('/');\r\n const { length } = splitUrl;\r\n\r\n // when login redirect to home page\r\n const { pathname } = new URL(gatherRedirect, 'http://base.url');\r\n const isLogin = pathname === '/login';\r\n if (isLogin) return '/';\r\n\r\n // when in editor encode the pageId\r\n // this is unnecessary now...\r\n // was used when the pages were not number ids but actually complex names\r\n const isEditor = splitUrl.includes('editor') && splitUrl.includes('page');\r\n let pathToRedirect = gatherRedirect;\r\n const dontEncode = [\r\n 'nav',\r\n 'add',\r\n 'module',\r\n 'layout',\r\n 'structure',\r\n 'permissions',\r\n 'diff',\r\n 'json',\r\n 'history',\r\n 'permissions',\r\n ];\r\n if (isEditor) {\r\n const pageIndex = splitUrl.findIndex(splitted => splitted === 'page');\r\n const dontEncodeIndex = splitUrl.findIndex(splitted => dontEncode.includes(splitted)\r\n );\r\n const hasReservedPath = dontEncodeIndex !== -1;\r\n const pre = `${splitUrl.slice(0, pageIndex + 1).join('/')}/`;\r\n\r\n if (hasReservedPath) {\r\n const after = `/${splitUrl.slice(dontEncodeIndex, length).join('/')}`;\r\n const pageId = splitUrl.slice(pageIndex + 1, dontEncodeIndex).join('/');\r\n const pageIdEncoded = encodeURIComponent(pageId);\r\n pathToRedirect = pre + pageIdEncoded + after;\r\n return pathToRedirect;\r\n }\r\n\r\n const after = splitUrl.slice(pageIndex + 1, length).join('/');\r\n // preserve query\r\n const afterQuerySplit = after.split('?')\r\n const hasQuery = afterQuerySplit.length > 1\r\n const pageId = afterQuerySplit[0]\r\n const query = hasQuery ? `?${afterQuerySplit[1]}` : ''\r\n\r\n const pageIdEncoded = encodeURIComponent(pageId);\r\n\r\n pathToRedirect = pre + pageIdEncoded + query;\r\n }\r\n return pathToRedirect;\r\n};\r\n\r\nexport const generateSubwebPath = ({\r\n subweb, lang = 'pt', slug, withDomain = false, withHost = false, withRootHome = false,\r\n}) => {\r\n const isRootSubweb = rootSubwebs.includes(subweb)\r\n const subwebPath = isRootSubweb ? '' : `/${subweb}`\r\n const homePath = `/${lang}${subwebPath}/`\r\n\r\n let pagePath = slug || ''\r\n if (withRootHome && pagePath === '' && isRootSubweb) {\r\n pagePath = rootSubwebsHomeSlug[subweb]\r\n }\r\n\r\n const path = `${homePath}${pagePath}`\r\n if (withDomain) return `${PORTAL_WWW}${path}`\r\n if (withHost) return `${PORTAL_HOST}${path}`\r\n return `${path}`\r\n}\r\n\r\n// remove image from published seo data when dynamicImage is true\r\nconst computeSeoData = (seoData) => {\r\n let newSeoData = { ...seoData }\r\n const { dynamicImage = false } = seoData\r\n if (dynamicImage) {\r\n newSeoData = { ...newSeoData }\r\n delete newSeoData.dynamicImage;\r\n delete newSeoData.image;\r\n }\r\n return newSeoData\r\n}\r\n\r\nexport const generatePageData = (pageData) => {\r\n // removes SEO organism with the dynamicSEO flag\r\n const pageDataReduced = pageData.reduce((page, organism) => {\r\n if (organism.name === 'SEO' && organism.dynamicSEO) return page\r\n return [...page, organism]\r\n }, [])\r\n const pageDataComputed = pageDataReduced.map(organism => {\r\n if (organism.name === 'SEO') return computeSeoData(organism)\r\n return organism\r\n })\r\n return pageDataComputed\r\n}\r\n\r\nexport const generateInitialPageData = ({ title = '' }) => [\r\n {\r\n name: 'SEO',\r\n title,\r\n description: '',\r\n image: '',\r\n keywords: []\r\n }\r\n]\r\n\r\nexport const generateSubwebsWithFavoritesFirst = (subwebs = [], subwebsFavorites = []) => {\r\n let computed = subwebs\r\n if (subwebs.length === 0) return computed\r\n if (subwebsFavorites.length > 0) {\r\n computed = subwebs.sort((first, second) => {\r\n const isFavorite = (subwebName) => subwebsFavorites.includes(subwebName)\r\n const areBothFavorites = isFavorite(first.slug) && isFavorite(second.slug)\r\n if (areBothFavorites) {\r\n const indexOfFirst = subwebsFavorites.findIndex(favorite => favorite === first.slug)\r\n const indexOfSecond = subwebsFavorites.findIndex(favorite => favorite === second.slug)\r\n if (indexOfFirst > indexOfSecond) return 1\r\n if (indexOfFirst < indexOfSecond) return -1\r\n }\r\n\r\n if (isFavorite(first.slug) && !isFavorite(second.slug)) return -1\r\n if (!isFavorite(first.slug) && isFavorite(second.slug)) return 1\r\n\r\n return 0\r\n })\r\n }\r\n return computed\r\n}\r\n\r\nexport const computeDateDistance = (date) => {\r\n if (!date) return null\r\n const lastModifiedDate = new Date(date)\r\n const isValidDate = isValid(lastModifiedDate)\r\n if (!isValidDate) return null\r\n const computedDateDistance = formatDistanceToNow(\r\n lastModifiedDate,\r\n { locale: pt }\r\n )\r\n return computedDateDistance\r\n}\r\n\r\nexport const updatePageLastModified = (pageData) => {\r\n const pageDataUpdated = pageData.map(organism => {\r\n if (organism.name === 'SEO') {\r\n return {\r\n ...organism,\r\n lastModified: new Date().toISOString()\r\n }\r\n }\r\n return organism\r\n })\r\n return pageDataUpdated\r\n}\r\n\r\n// removes asteriscs from images\r\nexport const filterMarkdown = (markdown) => {\r\n const imagesWithAsteriscs = /[*]{2}(!\\[([^\\]]*)]\\s*\\(([^)\"]+)( \"([^)\"]+)\")?\\))[*]{2}/g\r\n const markdownWithoutImagesWithAsteriscs = markdown.replace(imagesWithAsteriscs, '$1')\r\n\r\n const images = /(!\\[([^\\]]*)]\\s*\\(([^)\"]+)( \"([^)\"]+)\")?\\))/g\r\n const markdownImagesWithParagraph = markdownWithoutImagesWithAsteriscs.replace(images, '\\n \\n $1 \\n \\n ')\r\n return markdownImagesWithParagraph\r\n}\r\n\r\n// bug fix:\r\n// add empty strings between article when is an atomic block\r\n// otherwise it cant be edited\r\nexport const fixRawDraft = (rawDraftObj) => {\r\n const placeholderBlock = {\r\n depth: 0,\r\n entityRanges: [],\r\n inlineStyleRanges: [],\r\n text: '',\r\n type: 'unstyled',\r\n }\r\n const { blocks } = rawDraftObj\r\n const shouldAddBefore = blocks[0].type === 'atomic'\r\n const shouldAddAfter = blocks[blocks.length - 1].type === 'atomic'\r\n return {\r\n ...rawDraftObj,\r\n blocks: [\r\n ...(shouldAddBefore ? [placeholderBlock] : []),\r\n ...blocks,\r\n ...(shouldAddAfter ? [placeholderBlock] : []),\r\n ]\r\n }\r\n}\r\n\r\nexport const generateReadablePtDate = (date) => {\r\n if (!date) return 'Sem informação'\r\n const parsedDate = new Date(date)\r\n const isValidDate = isValid(parsedDate)\r\n if (!isValidDate) return 'Sem informação'\r\n const computeDate = format(parsedDate, 'dd/MM/yy')\r\n const hours = format(parsedDate, 'HH')\r\n const minutes = format(parsedDate, 'mm')\r\n const seconds = format(parsedDate, 'ss')\r\n return `${computeDate} às ${hours}h${minutes}m${seconds}s`\r\n}\r\n\r\nexport const convertSessionPropsToFormProps = ({\r\n id, registrationLink, startDate, endDate\r\n}) => ({\r\n id: id || '',\r\n registrationLink: registrationLink || '',\r\n date: startDate || '',\r\n startHour: startDate ? format(new Date(startDate), 'HH:mm') : null,\r\n endHour: endDate ? format(new Date(endDate), 'HH:mm') : null\r\n})\r\n\r\nexport const convertSessionFormToProps = ({\r\n id,\r\n registrationLink,\r\n date,\r\n startHour,\r\n endHour,\r\n}, courses) => {\r\n const [startHours, startMinutes] = startHour.split(':')\r\n const [endHours, endMinutes] = endHour.split(':')\r\n const course = courses.find(c => c.value === id)\r\n\r\n return {\r\n id,\r\n registrationLink,\r\n label: course ? course.label : '',\r\n startDate: set(new Date(date), { hours: startHours, minutes: startMinutes }).toISOString(),\r\n endDate: set(new Date(date), { hours: endHours, minutes: endMinutes }).toISOString(),\r\n }\r\n}\r\n","import React from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport { NavGlobal } from 'containers';\r\n\r\nconst Nav = () => (\r\n \r\n \r\n \r\n);\r\n\r\nconst Navigation = styled.nav`\r\n height: 100vh;\r\n display: flex;\r\n flex-direction: row;\r\n z-index: ${props => props.theme.values.zIndex.l};\r\n top: 0;\r\n position: sticky;\r\n /* width */\r\n ::-webkit-scrollbar {\r\n width: 0;\r\n }\r\n`;\r\n\r\nexport default Nav\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled, { withTheme } from 'styled-components/macro';\r\nimport { modifiersType } from 'types';\r\nimport { applyStyleModifiers } from 'styled-components-modifiers';\r\nimport { ScrollToTopOnMount } from 'containers'\r\nimport { useParams, Link } from 'react-router-dom';\r\nimport { useUserContext } from 'context/UserContext';\r\nimport { Title, Text } from 'components/atoms';\r\n\r\nconst MODIFIERS = {\r\n fullscreen: () => `\r\n margin-left: 0;\r\n `,\r\n stretch: () => `\r\n padding: 0;\r\n `,\r\n darker: ({ theme }) => `\r\n background-color: ${theme.colors.bgLighter};\r\n `,\r\n relative: () => `\r\n position: relative;\r\n `,\r\n center: () => `\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n `,\r\n storybook: () => `\r\n background-color: transparent;\r\n min-width: initial;\r\n `,\r\n};\r\n\r\nconst Layout = ({\r\n children,\r\n modifiers,\r\n scrollToTopOnMount,\r\n header,\r\n subtitle,\r\n hasSubwebHeader,\r\n}) => {\r\n const { subweb } = useParams();\r\n const [{ user }] = useUserContext();\r\n\r\n const subwebData = React.useMemo(() => {\r\n if (!user || !user.subwebs || !user.subwebs.length > 0) return null\r\n const data = user.subwebs.find(\r\n subwebData => subwebData.slug === subweb || encodeURIComponent(subwebData.slug) === subweb\r\n )\r\n return data\r\n }, [subweb, user])\r\n\r\n return (\r\n <>\r\n {scrollToTopOnMount && }\r\n
\r\n {(header || hasSubwebHeader) && (\r\n \r\n \r\n {header ? (\r\n {header}\r\n ) : subwebData && subwebData.namePt && (\r\n \r\n {subwebData.namePt}\r\n \r\n )}\r\n {subtitle && {subtitle}}\r\n \r\n \r\n )}\r\n {children}\r\n
\r\n \r\n )\r\n}\r\n\r\nconst Main = styled.main`\r\n background-color: ${props => props.theme.components.layout.backgroundColor};\r\n padding: ${props => `\r\n ${props.theme.components.layout.paddingVertical}\r\n ${' '}\r\n ${props.theme.components.layout.paddingHorizontal}\r\n `};\r\n width: 100%;\r\n min-width: 875px;\r\n min-height: 100vh;\r\n margin-left: ${props => (props.marginLeft ? props.marginLeft : 0)};\r\n ${applyStyleModifiers(MODIFIERS)};\r\n`;\r\n\r\nLayout.Header = styled.header`\r\n margin-bottom: ${props => props.theme.spacing.l};\r\n padding-bottom: ${props => props.theme.spacing.xl4};\r\n display: flex;\r\n justify-content: space-between;\r\n flex-direction: row;\r\n a {\r\n text-decoration: none;\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n`\r\n\r\nLayout.Title = styled.div`\r\n display: inline-flex;\r\n width: 100%;\r\n flex-direction: column;\r\n`\r\n\r\nLayout.Actions = styled.div`\r\n display: flex;\r\n height: fit-content;\r\n width: 100%;\r\n justify-content: flex-end;\r\n a {\r\n text-decoration: none !important;\r\n font-size: ${props => props.theme.sizes.m} !important;\r\n }\r\n`\r\n\r\nLayout.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n modifiers: modifiersType,\r\n scrollToTopOnMount: PropTypes.bool,\r\n hasSubwebHeader: PropTypes.bool,\r\n subtitle: PropTypes.string,\r\n header: PropTypes.string,\r\n};\r\n\r\nLayout.defaultProps = {\r\n modifiers: '',\r\n scrollToTopOnMount: true,\r\n hasSubwebHeader: false,\r\n subtitle: undefined,\r\n header: undefined,\r\n};\r\n\r\nexport default withTheme(Layout);\r\n","import React, { useState, useMemo } from 'react'\r\nimport {\r\n Form,\r\n Button,\r\n} from 'components/atoms'\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom } from 'components/molecules';\r\nimport PropTypes from 'prop-types'\r\nimport * as Yup from 'yup';\r\nimport styled from 'styled-components/macro';\r\nimport slugify from 'slugify'\r\nimport { slugRegex } from 'services/constants';\r\nimport { generateSubwebPath } from 'services/generators';\r\n\r\nconst PageSchema = Yup.object().shape({\r\n title: Yup.string()\r\n .min(2, 'Mínimo de 4 caracteres')\r\n .max(120, 'Máximo de 120 caracteres')\r\n .required('Campo obrigatório'),\r\n slug: Yup.string().matches(slugRegex, 'Apenas pode ter letras minúsculas, palavras separadas por -, e não pode conter a palavra noticias ou news').required('Campo obrigatório'),\r\n});\r\n\r\nconst PageCreateForm = ({\r\n initialValues,\r\n subweb,\r\n lang,\r\n onChange,\r\n onSubmit,\r\n onDiscard,\r\n validate,\r\n}) => {\r\n const [values, setValues] = useState(initialValues)\r\n const [disableSlug, setDisableSlugify] = useState(false)\r\n // when the values change Formik runs validate so we can values changing side effects here\r\n // update the page json by invoking onChange(newProps)\r\n const handleFormChange = (newValues) => {\r\n const slugFromTitle = slugify(newValues.title, {\r\n replacement: '-',\r\n remove: undefined,\r\n lower: true,\r\n strict: false,\r\n })\r\n\r\n setValues({\r\n ...newValues,\r\n slug: disableSlug ? newValues.slug : slugFromTitle\r\n })\r\n onChange(newValues)\r\n return validate(newValues)\r\n };\r\n\r\n const subwebUrl = useMemo(() => generateSubwebPath(\r\n { subweb, lang, withHost: true }\r\n ), [subweb, lang])\r\n\r\n return (\r\n {\r\n onSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n
\r\n \r\n \r\n setDisableSlugify(true)}\r\n modifiers={['stretch']}\r\n info={subwebUrl + values.slug}\r\n />\r\n \r\n \r\n \r\n Cancelar\r\n \r\n \r\n Adicionar\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`;\r\n\r\nconst FieldWithAction = styled.div`\r\n display: inline-flex;\r\n`\r\n\r\nFieldWithAction.Action = styled.div`\r\n margin-top: 2rem;\r\n padding-left: ${props => props.theme.spacing.xs};\r\n`\r\n\r\nPageCreateForm.defaultProps = {\r\n initialValues: {\r\n title: '',\r\n slug: ''\r\n },\r\n onSubmit: () => {},\r\n onDiscard: () => {},\r\n onChange: () => { },\r\n validate: () => ({}),\r\n}\r\n\r\nPageCreateForm.propTypes = {\r\n initialValues: PropTypes.shape({\r\n title: PropTypes.string,\r\n slug: PropTypes.string,\r\n }),\r\n subweb: PropTypes.string.isRequired,\r\n lang: PropTypes.string.isRequired,\r\n onChange: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n onSubmit: PropTypes.func,\r\n validate: PropTypes.func,\r\n}\r\n\r\nexport default PageCreateForm\r\n","import React from 'react';\r\nimport styled, { withTheme } from 'styled-components';\r\nimport PropTypes from 'prop-types';\r\nimport { PageCard } from 'components/molecules';\r\nimport ContentLoader from 'react-content-loader';\r\n\r\nconst pageDefault = {\r\n title: '',\r\n description: 'Sem páginas recentemente editadas',\r\n isEditable: false,\r\n}\r\n\r\nconst PageCardLoader = withTheme(({ theme }) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n));\r\n\r\nconst PagesCardList = ({ pages, loading }) => {\r\n if (loading) {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n return (\r\n \r\n \r\n {\r\n (pages && pages.length > 0)\r\n ? pages.map(page => )\r\n : \r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nconst LoaderWrapper = styled.div`\r\n width: ${props => props.theme.components.pageCard.width};\r\n height: ${props => props.theme.components.pageCard.height};\r\n margin-right: ${props => props.theme.spacing.xs};\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n`;\r\n\r\nconst PageList = styled.div`\r\n display: flex;\r\n flex-wrap: wrap;\r\n margin-right: ${props => props.theme.spacing.xs};\r\n & > div {\r\n margin-right: ${props => props.theme.spacing.xs};\r\n margin-bottom: ${props => props.theme.spacing.xs};\r\n &:last-child {\r\n margin-right: 0;\r\n }\r\n }\r\n`;\r\n\r\nconst Wrapper = styled.div`\r\n display: flex;\r\n margin-bottom: ${props => props.theme.spacing.xl1};\r\n`;\r\n\r\nPagesCardList.propTypes = {\r\n pages: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n title: PropTypes.string.isRequired,\r\n updatedAt: PropTypes.string,\r\n key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n};\r\n\r\nPagesCardList.defaultProps = {\r\n pages: [],\r\n loading: false,\r\n};\r\n\r\nexport default PagesCardList;\r\n","import React from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport { SearchBarGlobal } from 'components/molecules';\r\n\r\nconst NavTop = () => (\r\n \r\n \r\n \r\n);\r\n\r\nconst NavTopWrapper = styled.div`\r\n margin-bottom: ${props => props.theme.spacing.m};\r\n`;\r\n\r\nexport default NavTop;\r\n","import React, {\r\n useMemo, useRef, useEffect\r\n} from 'react';\r\nimport { NavItemGlobal } from 'components/molecules';\r\nimport PropTypes from 'prop-types';\r\nimport { sitesType } from 'types';\r\nimport styled, { css } from 'styled-components/macro';\r\nimport { FixedSizeList as List } from 'react-window';\r\nimport { Link } from 'react-router-dom';\r\n\r\n/**\r\n * Global Navigation: Change between subwebs\r\n */\r\n\r\nconst sizeOfCard = 58;\r\n\r\nconst Row = ({ index, style, data }) => {\r\n const itemData = useMemo(() => data && data.list && data.list[index], [data, index])\r\n if (!itemData) return null\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nRow.propTypes = {\r\n index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n style: PropTypes.shape({}),\r\n data: PropTypes.shape({\r\n list: PropTypes.arrayOf(PropTypes.shape({})),\r\n stretch: PropTypes.bool,\r\n activeSubweb: PropTypes.string,\r\n }),\r\n}\r\n\r\nRow.defaultProps = {\r\n index: 0,\r\n style: {},\r\n data: {\r\n list: [],\r\n stretch: false,\r\n activeSubweb: null,\r\n },\r\n}\r\n\r\nconst SubwebsList = ({\r\n stretch,\r\n sites,\r\n maxVisible,\r\n activeSubweb,\r\n}) => {\r\n const listHeight = useMemo(() => {\r\n const numberOfCards = sites.length\r\n return numberOfCards < maxVisible ? sizeOfCard * numberOfCards : sizeOfCard * maxVisible\r\n }, [sites, maxVisible])\r\n\r\n // scroll to active subweb\r\n const listRef = useRef(null)\r\n const scrollToItem = (index) => {\r\n listRef.current.scrollToItem(index);\r\n };\r\n\r\n const activeSubwebIndex = useMemo(() => {\r\n if (!activeSubweb) return -1\r\n return sites.findIndex(site => site.slug === activeSubweb)\r\n }, [sites, activeSubweb])\r\n\r\n useEffect(() => {\r\n if (activeSubwebIndex === -1) return;\r\n const scrollToIndex = activeSubwebIndex\r\n scrollToItem(scrollToIndex)\r\n }, [activeSubwebIndex, maxVisible])\r\n\r\n return (\r\n \r\n \r\n {Row}\r\n \r\n \r\n );\r\n};\r\n\r\nSubwebsList.propTypes = {\r\n stretch: PropTypes.bool,\r\n sites: sitesType,\r\n maxVisible: PropTypes.number,\r\n activeSubweb: PropTypes.string,\r\n};\r\n\r\nSubwebsList.defaultProps = {\r\n stretch: false,\r\n sites: [],\r\n maxVisible: 6,\r\n activeSubweb: null,\r\n};\r\n\r\nconst Styles = styled.div(props => css`\r\n .scrollable {\r\n overflow-y: scroll;\r\n overflow-x: hidden;\r\n /* width */\r\n ::-webkit-scrollbar {\r\n width: ${props.theme.sizes.xs3};\r\n }\r\n\r\n scrollbar-width: thin;\r\n scrollbar-color: ${props.theme.colors.borderLighter} ${props.theme.colors.bg};\r\n\r\n /* Track */\r\n ::-webkit-scrollbar-track {\r\n background: ${props.theme.colors.bg};\r\n }\r\n\r\n /* Handle */\r\n ::-webkit-scrollbar-thumb {\r\n background-color: ${props.theme.colors.borderLighter};\r\n }\r\n\r\n /* Handle on hover */\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: ${props.theme.colors.bgDarker};\r\n }\r\n }\r\n`)\r\n\r\nexport default SubwebsList;\r\n","import React, { useState, useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Spacer, LogoUA, ButtonMenu, Avatar,\r\n} from 'components/atoms';\r\nimport { Tooltip } from 'components/molecules'\r\nimport { SubwebsList } from 'components/organisms';\r\nimport { sitesType, userType, iconType } from 'types';\r\nimport { Link } from 'react-router-dom';\r\n\r\n/**\r\n * Global Navigation: Change between subwebs\r\n */\r\n\r\nconst NavGlobal = ({\r\n isOpen,\r\n shouldOpenOnHover,\r\n onMouseEnter,\r\n onMouseLeave,\r\n sites,\r\n onFocusSearch,\r\n onBlurSearch,\r\n user,\r\n subweb,\r\n bottomActions,\r\n}) => {\r\n const [isHover, setIsHover] = useState(false);\r\n const [isNavOpen, setIsNavOpen] = useState(isOpen);\r\n\r\n useEffect(() => {\r\n if (shouldOpenOnHover && !isOpen) setIsNavOpen(isHover);\r\n }, [isHover, shouldOpenOnHover, isOpen]);\r\n\r\n useEffect(() => {\r\n setIsNavOpen(isOpen);\r\n }, [isOpen]);\r\n\r\n const computedLogoVersion = useMemo(() => (isNavOpen ? 'desktop' : 'icon'), [\r\n isNavOpen,\r\n ]);\r\n\r\n const computedButtonModifiers = useMemo(\r\n () => (isNavOpen\r\n ? ['clean', 'primaryAlt', 'globalNav', 'clearMargin']\r\n : ['clean', 'primaryAlt', 'iconOnly', 'center', 'clearMargin']),\r\n [isNavOpen]\r\n );\r\n\r\n const handleMouseEnter = e => {\r\n setIsHover(true);\r\n onMouseEnter(e);\r\n };\r\n\r\n const handleMouseLeave = e => {\r\n setIsHover(false);\r\n onMouseLeave(e);\r\n };\r\n\r\n return (\r\n handleMouseEnter(e)}\r\n onMouseLeave={e => handleMouseLeave(e)}\r\n isNavOpen={isNavOpen}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {bottomActions.map((action) => {\r\n if (action.isDisabled) {\r\n return (\r\n \r\n \r\n {action.title}\r\n \r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n {action.title}\r\n \r\n \r\n \r\n )\r\n })}\r\n {user && (\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nNavGlobal.propTypes = {\r\n isOpen: PropTypes.bool,\r\n shouldOpenOnHover: PropTypes.bool,\r\n onMouseEnter: PropTypes.func,\r\n onMouseLeave: PropTypes.func,\r\n sites: sitesType,\r\n bottomActions: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n to: PropTypes.string,\r\n icon: iconType,\r\n title: PropTypes.string,\r\n })\r\n ),\r\n onFocusSearch: PropTypes.func,\r\n onBlurSearch: PropTypes.func,\r\n user: userType,\r\n subweb: PropTypes.string,\r\n};\r\n\r\nNavGlobal.defaultProps = {\r\n isOpen: false,\r\n shouldOpenOnHover: true,\r\n onMouseEnter: () => null,\r\n onMouseLeave: () => null,\r\n sites: [],\r\n onFocusSearch: () => null,\r\n onBlurSearch: () => null,\r\n user: {\r\n name: '',\r\n },\r\n subweb: null,\r\n bottomActions: [],\r\n};\r\n\r\nconst Wrapper = styled.div`\r\n position: relative;\r\n background-color: ${props => props.theme.colors.bg};\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n width: ${props => (props.isNavOpen\r\n ? props.theme.components.navGlobal.width\r\n : props.theme.components.navGlobal.widthClosed)};\r\n a {\r\n text-decoration: none;\r\n }\r\n`;\r\n\r\nWrapper.Top = styled.div`\r\n border-right: ${props => props.theme.values.borderSizeM} solid\r\n ${props => props.theme.colors.borderLighter};\r\n height: 100%;\r\n`;\r\n\r\n// Align to page subtitle\r\nWrapper.Center = styled.div`\r\n padding-top: 66px;\r\n`;\r\n\r\nWrapper.Bottom = styled.div`\r\n padding-bottom: ${props => props.theme.spacing.xl3};\r\n border-right: ${props => props.theme.values.borderSizeM} solid\r\n ${props => props.theme.colors.borderLighter};\r\n`;\r\n\r\nconst AvatarWrapper = styled.div`\r\n display: flex;\r\n justify-content: ${props => (props.isNavOpen ? 'flex-start' : 'center')};\r\n width: 100%;\r\n padding: ${props => props.theme.spacing.xl};\r\n padding-top: ${props => props.theme.spacing.xs};\r\n padding-bottom: ${props => props.theme.spacing.xs};\r\n`;\r\n\r\nexport default NavGlobal;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport { Tab } from 'components/atoms';\r\nimport { iconType } from 'types';\r\n\r\nconst TabsList = ({ tabs }) => (\r\n \r\n {tabs\r\n && tabs.length > 0\r\n && tabs.map(\r\n ({\r\n id,\r\n icon,\r\n onClose,\r\n isActive,\r\n isClosable,\r\n onClick,\r\n to,\r\n isEditor,\r\n title,\r\n }) => (\r\n \r\n )\r\n )}\r\n \r\n);\r\n\r\nTabsList.propTypes = {\r\n tabs: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.string.isRequired,\r\n icon: iconType.isRequired,\r\n onClose: PropTypes.func,\r\n isActive: PropTypes.bool,\r\n isClosable: PropTypes.bool,\r\n isEditor: PropTypes.bool,\r\n onClick: PropTypes.func,\r\n })\r\n ),\r\n};\r\n\r\nTabsList.defaultProps = {\r\n tabs: [],\r\n};\r\n\r\nconst Tabs = styled.div`\r\n display: flex;\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n padding-left: ${props => props.theme.spacing.xs};\r\n`;\r\n\r\nexport default TabsList;\r\n","import React, { useMemo } from 'react';\r\nimport styled, { withTheme } from 'styled-components/macro';\r\nimport PropTypes from 'prop-types';\r\nimport { ImageSelect, Text } from 'components/atoms';\r\nimport ContentLoader from 'react-content-loader';\r\nimport { modifiersType } from 'types';\r\nimport { applyStyleModifiers } from 'styled-components-modifiers';\r\nimport { useEditorContext, actions } from 'context/EditorContext'\r\n\r\nconst loadingImages = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\r\n\r\nconst GALLERY_MODIFIERS = {\r\n stretch: () => `\r\n & > div {\r\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\r\n }\r\n `,\r\n};\r\n\r\nconst IMAGE_MODIFIERS = {\r\n stretch: () => `\r\n width: 100%;\r\n height: auto;\r\n `,\r\n};\r\n\r\nconst LOADER_MODIFIERS = {\r\n stretch: () => `\r\n width: 100%;\r\n height: auto;\r\n min-height: 174.86px;\r\n `,\r\n};\r\n\r\n// handles image listing and image upload\r\n\r\nconst MediaGallery = ({\r\n onSelect,\r\n images,\r\n isLoading,\r\n modifiers: styleModifiers,\r\n isInput,\r\n search,\r\n}) => {\r\n const imageHoverMessage = useMemo(\r\n () => (isInput ? 'Selecionar imagem' : 'Ver imagem'),\r\n [isInput]\r\n );\r\n return (\r\n <>\r\n {!isLoading && images && images.length === 0\r\n ? (\r\n \r\n {search === ''\r\n ? (\r\n \r\n Sem resultados\r\n \r\n )\r\n : (\r\n \r\n Sem resultados para a pesquisa:\r\n {' '}\r\n "\r\n {search}\r\n "\r\n \r\n )}\r\n \r\n )\r\n : (\r\n \r\n {images.map(image => {\r\n const {\r\n id, url, data, dateToken \r\n } = image;\r\n const urlObj = new URL(url);\r\n urlObj.searchParams.set('dateToken', dateToken);\r\n const updateUrl = urlObj.toString();\r\n return (\r\n onSelect(image)}\r\n modifiers={styleModifiers}\r\n >\r\n 0 ? data[0].alt : ''}\r\n message={imageHoverMessage}\r\n />\r\n \r\n );\r\n })}\r\n {isLoading && loadingImages.map((index) => (\r\n \r\n ))}\r\n \r\n )\r\n }\r\n \r\n );\r\n};\r\n\r\nconst Top = styled.div`\r\n width: 100%;\r\n padding-bottom: ${props => props.theme.spacing.l};\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nTop.Start = styled.div`\r\n display: inline-flex;\r\n button {\r\n width: auto;\r\n padding-right: ${props => props.theme.spacing.m};\r\n }\r\n`;\r\n\r\nTop.End = styled.div``;\r\n\r\nconst width = '227.33px'\r\nconst ImageWrapper = styled.div`\r\n width: ${width};\r\n height: calc(${width} * 9 / 16);\r\n overflow: hidden;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: ${props => props.theme.colors.greyLighter};\r\n cursor: pointer;\r\n\r\n img {\r\n width: 100%;\r\n height: auto;\r\n }\r\n ${applyStyleModifiers(IMAGE_MODIFIERS)};\r\n`;\r\n\r\nconst Container = styled.div`\r\n overflow: auto;\r\n padding-right: ${props => props.theme.spacing.xl2};\r\n min-height: 336px;\r\n display: grid;\r\n min-height: calc(178px * 9 / 16);\r\n grid-template-columns: 1fr 1fr 1fr;\r\n grid-column-gap: ${props => props.theme.spacing.xs};\r\n grid-row-gap: ${props => props.theme.spacing.xs};\r\n grid-auto-rows: auto;\r\n\r\n /* width */\r\n ::-webkit-scrollbar {\r\n width: 5px;\r\n }\r\n\r\n /* Track */\r\n ::-webkit-scrollbar-track {\r\n background: ${props => props.theme.colors.bg};\r\n }\r\n\r\n /* Handle */\r\n ::-webkit-scrollbar-thumb {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n\r\n /* Handle on hover */\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: ${props => props.theme.colors.bgDarker};\r\n }\r\n ${applyStyleModifiers(GALLERY_MODIFIERS)};\r\n`;\r\n\r\nconst ImageLoader = withTheme(({ theme, modifiers }) => (\r\n \r\n \r\n \r\n));\r\n\r\nconst LoaderWrapper = styled.div`\r\n width: ${width};\r\n height: calc(${width} * 9 / 16);\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n ${applyStyleModifiers(LOADER_MODIFIERS)};\r\n`;\r\n\r\nconst Placeholder = styled.div`\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-direction: column;\r\n height: 10rem;\r\n`;\r\n\r\nMediaGallery.propTypes = {\r\n onSelect: PropTypes.func,\r\n images: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n resizer: PropTypes.string,\r\n })\r\n ),\r\n isLoading: PropTypes.bool,\r\n modifiers: modifiersType,\r\n isInput: PropTypes.bool,\r\n search: PropTypes.string,\r\n};\r\n\r\nMediaGallery.defaultProps = {\r\n onSelect: () => null,\r\n images: [],\r\n isLoading: false,\r\n modifiers: [],\r\n isInput: false,\r\n search: ''\r\n};\r\n\r\nexport default MediaGallery;\r\n","import React, { useMemo, useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport Select from 'react-select';\r\nimport {\r\n Text,\r\n Spacer,\r\n ButtonPublish,\r\n LoadingDot,\r\n Button,\r\n Icon,\r\n ButtonTemporaryPublish,\r\n Title\r\n} from 'components/atoms';\r\nimport {\r\n useEditorContext, actions, status\r\n} from 'context/EditorContext';\r\nimport { useRouterContext } from 'hooks';\r\nimport { toast } from 'react-toastify';\r\nimport { Toast, PageMenuSelect } from 'containers';\r\nimport { screensOpts } from 'components/molecules/ResponsiveViewer/ResponsiveViewer';\r\nimport {\r\n ResponsiveViewerSelect, Tooltip, ModalConfirm, Modal\r\n} from 'components/molecules';\r\nimport { publishContent } from 'services/requests'\r\nimport { intlType } from 'types'\r\nimport { generateEditorPath, computeDateDistance } from 'services/generators';\r\nimport { useDispatch, useSelector } from 'react-redux'\r\nimport { deleteDraft } from 'redux/draftsSlice'\r\nimport { injectIntl, FormattedMessage } from 'react-intl'\r\nimport Status from 'components/atoms/Status/Status'\r\nimport { PORTAL_WWW, rootSubwebs } from 'services/constants';\r\nimport { Link } from 'react-router-dom'\r\n\r\nconst options = [\r\n {\r\n label: 'Edição em PT',\r\n value: 'pt',\r\n },\r\n {\r\n label: 'Edição em EN',\r\n value: 'en',\r\n },\r\n];\r\n\r\nconst PageMenuMain = ({ loading, intl }) => {\r\n /* eslint-disable-next-line no-unused-vars */\r\n const [\r\n {\r\n pageLiveData,\r\n pageEdited,\r\n pageStatus,\r\n pageTitle,\r\n screen,\r\n pageSlug,\r\n pageTempSlug\r\n },\r\n dispatch,\r\n ] = useEditorContext();\r\n const dispatchRedux = useDispatch()\r\n const { pages: drafts } = useSelector(\r\n (state) => state.drafts\r\n )\r\n\r\n const {\r\n history,\r\n match: { params },\r\n } = useRouterContext();\r\n\r\n const [publishLoading, setPublishLoading] = useState(false);\r\n const [confirmationModal, setConfirmationModal] = useState(\r\n {\r\n isOpen: false,\r\n date: null,\r\n user: null\r\n }\r\n )\r\n\r\n const [confirmationLanguageLeave, setConfirmationLanguageLeave] = useState(\r\n {\r\n isOpen: false,\r\n hasConfirmed: false,\r\n nextLang: null,\r\n }\r\n )\r\n\r\n const [confirmRollback, setConfirmRollback] = useState(\r\n {\r\n isOpen: false,\r\n hasConfirmed: false,\r\n }\r\n )\r\n\r\n const [confirmPreview, setConfirmPreview] = useState(\r\n {\r\n isOpen: false,\r\n }\r\n )\r\n\r\n const pageDraft = useMemo(() => {\r\n const { pageId } = params;\r\n return drafts[pageId]\r\n }, [params, drafts])\r\n\r\n const hasEdited = useMemo(() => {\r\n if (pageEdited) return true\r\n if (pageDraft) return true\r\n if (pageStatus === status.edited || pageStatus === status.local) return true\r\n return false\r\n }, [pageDraft, pageEdited, pageStatus])\r\n\r\n const changeLanguage = (nextLang) => {\r\n dispatchRedux(deleteDraft(params.pageId))\r\n\r\n // eslint-disable-next-line no-unused-vars\r\n const { moduleId, ...paramsWithoutModule } = params\r\n // moduleId is removed because the pages don't necessarely have the same modules\r\n const newPathFromLang = generateEditorPath({ ...paramsWithoutModule, lang: nextLang })\r\n history.push(newPathFromLang);\r\n }\r\n\r\n const resetConfirmationLanguageLeave = () => {\r\n setConfirmationLanguageLeave(\r\n {\r\n isOpen: false,\r\n hasConfirmed: false,\r\n nextLang: null\r\n }\r\n )\r\n }\r\n\r\n const handleChange = ({ value: newLang }) => {\r\n // only open confirmation model\r\n // when going to different language and has a local draft\r\n if (newLang !== params.lang && pageStatus === status.local) {\r\n setConfirmationLanguageLeave(\r\n {\r\n isOpen: true,\r\n hasConfirmed: false,\r\n nextLang: newLang,\r\n }\r\n )\r\n } else changeLanguage(newLang)\r\n };\r\n\r\n const handleConfirmLanguageLeave = (shouldChangeLanguage) => {\r\n const { nextLang } = confirmationLanguageLeave\r\n if (shouldChangeLanguage && nextLang) changeLanguage(nextLang)\r\n else resetConfirmationLanguageLeave()\r\n }\r\n\r\n // reset confirmationLanguageLeave on language change\r\n useEffect(() => {\r\n resetConfirmationLanguageLeave()\r\n }, [params.lang])\r\n\r\n const activeValue = useMemo(() => {\r\n const { lang } = params;\r\n const activeValue = options.find(values => values.value === lang);\r\n return activeValue;\r\n }, [params]);\r\n\r\n // disable buttons when loading\r\n const shouldDisableButtons = useMemo(() => loading, [loading]);\r\n\r\n // States:\r\n // None = 0,\r\n // Draft = 1,\r\n // Published = 2,\r\n // Archive = 3,\r\n // Deleted = 4\r\n const onPublish = async ({ hardSave } = { hardSave: false }) => {\r\n setPublishLoading(true);\r\n const { pageId, lang, subweb } = params;\r\n const isSaved = pageStatus === status.edited\r\n const isDraft = pageStatus === status.draft\r\n const isArchive = pageStatus === status.archive\r\n const isPrePublished = pageStatus === status.prePublished\r\n\r\n if (hasEdited || isSaved || isDraft || isArchive || isPrePublished) {\r\n\r\n // when already saved or pre-published then publish, else save\r\n const state = isSaved || isPrePublished ? 2 : 1\r\n\r\n try {\r\n const { data: { pageContent: newPage } } = await publishContent({\r\n subweb,\r\n pageId,\r\n language: lang,\r\n pageData: pageLiveData,\r\n state,\r\n hardSave,\r\n })\r\n\r\n dispatch({\r\n type: isSaved || isPrePublished ? actions.PAGE_DATA_PUBLISH : actions.PAGE_DATA_SAVE,\r\n data: newPage,\r\n });\r\n\r\n // delete local storage draft\r\n dispatchRedux(deleteDraft(pageId))\r\n const toastTitle = isSaved || isPrePublished ? 'Página publicada' : 'Página gravada'\r\n const toastDescription = isSaved || isPrePublished ? 'As alterações foram publicadas!' : 'Para publicar clique em publicar'\r\n toast.success(\r\n \r\n );\r\n setPublishLoading(false);\r\n return;\r\n } catch (err) {\r\n // handle conflict, ask if user really wants to publish\r\n if (err.response && err.response.status === 409) {\r\n const { data } = err.response\r\n setConfirmationModal({\r\n isOpen: true,\r\n date: data.date,\r\n user: data.user\r\n })\r\n } else {\r\n toast.error(\r\n \r\n );\r\n }\r\n return;\r\n }\r\n }\r\n toast.info(\r\n \r\n );\r\n setPublishLoading(false);\r\n };\r\n\r\n const onPublishPrevisualization = async ({ hardSave } = { hardSave: false }) => {\r\n setPublishLoading(true);\r\n const { pageId, lang, subweb } = params;\r\n const isEdited = pageStatus === status.edited\r\n const isArchive = pageStatus === status.archive\r\n const isPrePublished = pageStatus === status.prePublished\r\n\r\n if (isEdited || isArchive || isPrePublished) {\r\n if (!isPrePublished) {\r\n try {\r\n const { data } = await publishContent({\r\n subweb,\r\n pageId,\r\n language: lang,\r\n pageData: pageLiveData,\r\n state: 2, // it means its publish, check if there will be a new pre publish state\r\n hardSave,\r\n preview: true // preview\r\n })\r\n\r\n dispatch({\r\n type: actions.PAGE_DATA_PRE_PUBLISH,\r\n data,\r\n });\r\n\r\n toast.success(\r\n \r\n );\r\n\r\n setConfirmPreview({ isOpen: true })\r\n setPublishLoading(false);\r\n return;\r\n } catch (err) {\r\n setPublishLoading(false);\r\n toast.error(\r\n \r\n )\r\n }\r\n }\r\n else {\r\n setConfirmPreview({ isOpen: true })\r\n setPublishLoading(false);\r\n }\r\n return;\r\n }\r\n\r\n // if trying to publish but the changes are not save\r\n toast.info(\r\n \r\n );\r\n setPublishLoading(false);\r\n };\r\n\r\n const screenValue = useMemo(\r\n () => screensOpts.find(({ value }) => screen === value),\r\n [screen]\r\n );\r\n\r\n const handleChangeScreen = ({ value: newScreen }) => {\r\n dispatch({\r\n type: actions.SCREEN_SET,\r\n data: newScreen,\r\n });\r\n };\r\n\r\n const handleConfirm = async (hasConfirmed) => {\r\n if (hasConfirmed) {\r\n onPublish({ hardSave: true })\r\n } else {\r\n dispatchRedux(deleteDraft(params.pageId))\r\n dispatch({\r\n type: actions.PAGE_REFETCH,\r\n });\r\n }\r\n setConfirmationModal({\r\n ...confirmationModal,\r\n isOpen: false\r\n })\r\n }\r\n\r\n /* rollback */\r\n const discardChanges = async () => {\r\n // eslint-disable-next-line no-unused-vars\r\n const { moduleId, ...paramsWithoutModule } = params\r\n // moduleId is removed because the pages don't necessarely have the same modules\r\n const pagePath = generateEditorPath({ ...paramsWithoutModule })\r\n history.push(pagePath);\r\n dispatchRedux(deleteDraft(params.pageId))\r\n dispatch({\r\n type: actions.PAGE_REFETCH,\r\n });\r\n }\r\n\r\n const handleConfirmRollback = (hasConfirmed) => {\r\n if (hasConfirmed) {\r\n discardChanges()\r\n }\r\n setConfirmRollback({\r\n isOpen: false,\r\n hasConfirmed: false\r\n })\r\n }\r\n\r\n const handleRollback = () => {\r\n setConfirmRollback({\r\n isOpen: true,\r\n hasConfirmed: false\r\n })\r\n }\r\n /* /rollback */\r\n\r\n const pageUrl = useMemo(() => {\r\n const { lang, subweb, pageId } = params;\r\n const subwebPath = rootSubwebs.includes(subweb) ? '' : `/${subweb}`\r\n const slug = pageSlug || `page/${pageId}`\r\n const pageUrl = `${PORTAL_WWW}/${lang}${subwebPath}/${slug}`\r\n return pageUrl\r\n }, [params, pageSlug])\r\n\r\n const pageTempUrl = useMemo(() => {\r\n const { lang, subweb } = params;\r\n const subwebPath = rootSubwebs.includes(subweb) ? '' : `/${subweb}`\r\n const slug = pageTempSlug\r\n const pageUrl = `${PORTAL_WWW}/${lang}${subwebPath}/${slug}`\r\n return pageUrl\r\n }, [params, pageTempSlug])\r\n\r\n const lastModified = useMemo(() => {\r\n if (pageStatus === status.local && pageDraft) return pageDraft.editedAt\r\n const SEO = pageLiveData ? pageLiveData.find(module => module.name === 'SEO') : null\r\n if (SEO && SEO.lastModified) return SEO.lastModified\r\n return null\r\n }, [pageLiveData, pageDraft, pageStatus])\r\n\r\n const statusTooltipMessage = useMemo(() => {\r\n let message = intl.formatMessage({ id: `page.state.${pageStatus}` })\r\n const editedDateDistance = computeDateDistance(lastModified)\r\n if (pageStatus === status.prePublished) message = ''\r\n if (editedDateDistance) message = `${message} há ${editedDateDistance}`\r\n return message\r\n // eslint-disable-next-line\r\n }, [pageStatus, lastModified])\r\n\r\n const editorPath = useMemo(() => {\r\n const { subweb, lang, pageId } = params\r\n return generateEditorPath({ subweb, lang, pageId })\r\n }, [params])\r\n\r\n const conflictMessage = useMemo(() => {\r\n const { user } = confirmationModal\r\n if (user) return `Esta página foi editada pelo editor(a) ${user}, pretende publicar na mesma?`\r\n return 'Esta página foi editada por outra pessoa. Deseja guardar as suas alterações?'\r\n }, [confirmationModal])\r\n\r\n const renderPopups = () => (\r\n <>\r\n setConfirmationLanguageLeave({\r\n ...confirmationLanguageLeave,\r\n isOpen: !confirmationLanguageLeave.isOpen\r\n })}\r\n onChange={handleConfirmLanguageLeave}\r\n title=\"Tem alterações por gravar\"\r\n message=\"Pretende mudar de língua na mesma?\"\r\n textConfirm=\"Mudar\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n setConfirmationModal({\r\n ...confirmationModal,\r\n isOpen: !confirmationModal.isOpen\r\n })}\r\n onChange={handleConfirm}\r\n title=\"Conflito\"\r\n message={conflictMessage}\r\n textConfirm=\"Guardar\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n setConfirmRollback({\r\n ...confirmRollback,\r\n isOpen: !confirmRollback.isOpen\r\n })}\r\n onChange={handleConfirmRollback}\r\n title=\"Descartar edições\"\r\n message=\"Vai perder as suas novas edições, pretende continuar?\"\r\n textConfirm=\"Continuar\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n setConfirmPreview({\r\n ...confirmPreview,\r\n isOpen: !confirmPreview.isOpen\r\n })}\r\n >\r\n Link de pré-visualização\r\n \r\n {pageTempUrl}\r\n \r\n {\r\n navigator.clipboard.writeText(pageTempUrl)\r\n toast.success(\r\n \r\n );\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n Esta versão da página estará disponível para visualização durante 30 dias.\r\n \r\n \r\n setConfirmPreview({\r\n ...confirmPreview,\r\n isOpen: !confirmPreview.isOpen\r\n })}\r\n >\r\n Fechar\r\n \r\n \r\n Ver página\r\n \r\n \r\n \r\n \r\n )\r\n\r\n return (\r\n <>\r\n {renderPopups()}\r\n \r\n \r\n \r\n 'Sem opções'}\r\n options={options}\r\n name=\"language\"\r\n value={activeValue}\r\n onChange={handleChange}\r\n isDisabled={shouldDisableButtons}\r\n isSearchable={false}\r\n />\r\n \r\n \r\n \r\n \r\n {loading ? (\r\n \r\n ) : (\r\n \r\n \r\n \r\n \r\n \r\n {pageTitle}\r\n \r\n \r\n -\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {pageStatus === status.local && (\r\n \r\n \r\n \r\n )}\r\n {(pageStatus === status.published) && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n {(pageStatus !== status.published) && (\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst PageMenu = styled.div`\r\n height: 50px;\r\n width: 100%;\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n display: flex;\r\n justify-content: space-between;\r\n padding: ${props => props.theme.spacing.xs3}\r\n ${props => props.theme.spacing.xs};\r\n align-items: center;\r\n\r\n ${props => props.theme.mixins.select()};\r\n`;\r\n\r\nPageMenu.Start = styled.div`\r\n display: flex;\r\n`;\r\nPageMenu.Center = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n`;\r\nPageMenu.End = styled.div`\r\n display: flex;\r\n gap: 8px;\r\n`;\r\n\r\nPageMenu.Info = styled.div`\r\n display: flex;\r\n align-items: center;\r\n`\r\n\r\nPageMenu.Info.Status = styled.div`\r\n display: flex;\r\n align-items: center;\r\n a {\r\n display: flex;\r\n align-items: center;\r\n text-decoration: none;\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n }\r\n`\r\n\r\nPageMenu.Info.Action = styled.div`\r\n margin-left: ${props => props.theme.spacing.xs2};\r\n`\r\n\r\nconst ModalActions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.xl3};\r\n`;\r\n\r\nconst ModalCopyLink = styled(Text)`\r\n padding-top: 12px;\r\n span {\r\n margin-left: 0.5em\r\n }\r\n`\r\n\r\nconst IconButton = styled.button`\r\n all: unset;\r\n cursor: pointer;\r\n margin-left: 0.5em;\r\n`\r\n\r\nPageMenuMain.propTypes = {\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired\r\n};\r\n\r\nPageMenuMain.defaultProps = {\r\n loading: false,\r\n};\r\n\r\nexport default injectIntl(PageMenuMain);\r\n","import React from 'react'\r\nimport styled, { css } from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport { Text } from 'components/atoms'\r\n\r\nconst Error = ({ message, code, helper }) => (\r\n \r\n

{code}

\r\n
\r\n

{message}

\r\n {typeof helper === 'string'\r\n ? {helper}\r\n : helper\r\n }\r\n
\r\n
\r\n)\r\n\r\nError.propTypes = {\r\n message: PropTypes.string,\r\n code: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n helper: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\r\n}\r\n\r\nError.defaultProps = {\r\n message: 'Algo correu mal.',\r\n code: 'Erro',\r\n helper: Contacte o UA LAbs com este URL ou recarregue a página.,\r\n}\r\n\r\nconst Wrapper = styled.div(props => css`\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n h1 {\r\n display:inline-block;\r\n border-right: 1px solid ${props.theme.colors.border};\r\n margin:0;\r\n margin-right: ${props.theme.spacing.m};\r\n padding:10px 23px 10px 0;\r\n font-size: ${props.theme.sizes.xl3};\r\n font-weight: ${props.theme.weight.base};\r\n vertical-align:top\r\n }\r\n h2 {\r\n font-size: ${props.theme.sizes.s};\r\n font-weight: ${props.theme.weight.xbase};\r\n margin:0;\r\n padding:0\r\n padding-bottom: ${props.theme.spacing.xs4};\r\n }\r\n .message {\r\n display:inline-block;\r\n text-align:left;\r\n vertical-align:middle;\r\n max-width: 300px;\r\n }\r\n`)\r\n\r\nexport default Error\r\n","import React, { useMemo } from 'react'\r\nimport { SubwebCard } from 'components/molecules'\r\nimport styled from 'styled-components'\r\nimport PropTypes from 'prop-types'\r\nimport { Link } from 'react-router-dom';\r\nimport { Text } from 'components/atoms'\r\n\r\nconst loadingData = [\r\n {\r\n title: '',\r\n name: '',\r\n id: 1,\r\n },\r\n {\r\n title: '',\r\n name: '',\r\n id: 2,\r\n },\r\n]\r\n\r\nconst SubwebsCardList = ({ data, loading }) => {\r\n const hasData = useMemo(() => data && data.length > 0, [data])\r\n\r\n if (loading) {\r\n return (\r\n \r\n {loadingData.map(dummy => (\r\n \r\n ))}\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n {hasData ? data.map(subweb => (\r\n \r\n \r\n \r\n )) : Não tem subwebs}\r\n \r\n )\r\n}\r\n\r\nconst SubwebsList = styled.div`\r\n a {\r\n text-decoration: none;\r\n }\r\n display: grid;\r\n grid-template-columns: repeat(auto-fill, minmax(130px, 160px));\r\n grid-template-rows: 1fr;\r\n grid-column-gap: ${props => props.theme.spacing.m};\r\n grid-row-gap: ${props => props.theme.spacing.m};\r\n`\r\n\r\nSubwebsCardList.propTypes = {\r\n data: PropTypes.arrayOf(PropTypes.shape({\r\n title: PropTypes.string,\r\n titleShort: PropTypes.string,\r\n color: PropTypes.string\r\n })),\r\n loading: PropTypes.bool,\r\n}\r\n\r\nSubwebsCardList.defaultProps = {\r\n data: [],\r\n loading: false,\r\n}\r\n\r\nexport default SubwebsCardList\r\n","import React, { useState } from 'react'\r\nimport { MenuAccordionItem } from 'components/molecules'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst MenuAccordion = ({ data }) => {\r\n const [activeIndex, setActiveIndex] = useState(0)\r\n\r\n const openIndex = (index) => {\r\n if (index === activeIndex) setActiveIndex(-1)\r\n else setActiveIndex(index)\r\n }\r\n\r\n return (\r\n <>\r\n {data.map((item, index) => (\r\n openIndex(index)}\r\n isStretched={item.isStretched || false}\r\n >\r\n {item.children}\r\n \r\n ))}\r\n \r\n )\r\n}\r\n\r\nMenuAccordion.propTypes = {\r\n data: PropTypes.arrayOf(PropTypes.shape({\r\n title: PropTypes.string,\r\n children: PropTypes.node,\r\n isStretched: PropTypes.boolean,\r\n })),\r\n}\r\n\r\nMenuAccordion.defaultProps = {\r\n data: []\r\n}\r\n\r\n\r\nexport default MenuAccordion\r\n","import React, { memo } from 'react'\r\nimport ReactDiffViewer from 'react-diff-viewer'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components/macro'\r\n\r\nconst DiffViewer = memo(({ oldCode, newCode, hasEdited }) => (\r\n \r\n \r\n \r\n))\r\n\r\nconst DiffStyle = styled.div`\r\n table {\r\n font-size: ${props => props.theme.sizes.xs};\r\n }\r\n`\r\n\r\nDiffViewer.propTypes = {\r\n oldCode: PropTypes.string,\r\n newCode: PropTypes.string,\r\n hasEdited: PropTypes.bool,\r\n}\r\n\r\nDiffViewer.defaultProps = {\r\n oldCode: '',\r\n newCode: '',\r\n hasEdited: false,\r\n}\r\n\r\nexport default DiffViewer\r\n","/* eslint-disable react/prop-types */\r\nimport React, { memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Text,\r\n LoadingDot,\r\n Table,\r\n} from 'components/atoms';\r\nimport { PopoverActions } from 'components/molecules'\r\nimport { useRouterContext } from 'hooks';\r\nimport { injectIntl, FormattedMessage } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { useUserContext, isUserSubwebAdmin } from 'context/UserContext';\r\n\r\nconst SubwebsTable = memo(({\r\n subwebs,\r\n loading,\r\n intl,\r\n noDataText,\r\n page\r\n}) => {\r\n const { history } = useRouterContext();\r\n const [{ user }] = useUserContext()\r\n return (\r\n (\r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'subwebs.slug' }),\r\n accessor: 'slug',\r\n Cell: ({ value, original: { slug: subweb } }) => (\r\n \r\n \r\n \r\n )\r\n },\r\n {\r\n Header: '',\r\n accessor: 'actions',\r\n Cell: ({ original: { slug: subweb } }) => {\r\n const isAdmin = (user && user.admin) || isUserSubwebAdmin(user, subweb)\r\n return (\r\n \r\n \r\n ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}`)\r\n },\r\n },\r\n {\r\n text: ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}/editor/pt/nav`)\r\n },\r\n },\r\n {\r\n text: ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}/assets`)\r\n },\r\n },\r\n ...(isAdmin\r\n ? [\r\n {\r\n text: ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}/people`)\r\n },\r\n },\r\n {\r\n text: ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}/permissions`)\r\n },\r\n },\r\n {\r\n text: ,\r\n onClick: () => {\r\n history.push(`/${encodeURIComponent(subweb)}/settings`)\r\n },\r\n },\r\n ]\r\n : []\r\n ),\r\n ]}\r\n position=\"bottom\"\r\n align=\"start\"\r\n handlerWidth={72}\r\n />\r\n \r\n \r\n )\r\n },\r\n },\r\n ]}\r\n defaultPageSize={10}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={noDataText || 'Não foram encontradas subwebs'}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n page={page}\r\n clearRowPadding\r\n />\r\n );\r\n});\r\n\r\nconst Cell = ({ value, loadingDots, loading }) => {\r\n if (loadingDots) return \r\n if (loading) return \r\n if (!value) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n return {value}\r\n};\r\n\r\nconst LoadingCell = styled.div`\r\n width: 80px;\r\n height: ${props => props.theme.sizes.s};\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n`\r\n\r\nconst CellEnd = styled.div`\r\n justify-content: flex-end;\r\n width: 100%;\r\n display: flex;\r\n`\r\n\r\nSubwebsTable.propTypes = {\r\n subwebs: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n slug: PropTypes.string.isRequired,\r\n description: PropTypes.string,\r\n color: PropTypes.string,\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n page: PropTypes.number,\r\n};\r\n\r\nSubwebsTable.defaultProps = {\r\n subwebs: [],\r\n loading: false,\r\n noDataText: null,\r\n page: 0\r\n}\r\n\r\n\r\nexport default injectIntl(SubwebsTable);\r\n","/* eslint-disable react/prop-types */\r\nimport React, { useState, useEffect, memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Text,\r\n LoadingDot,\r\n Table,\r\n} from 'components/atoms';\r\nimport { PopoverActions, PageState } from 'components/molecules'\r\nimport { UsersAvatarList } from 'containers'\r\nimport { generateEditorPath, computeDateDistance } from 'services/generators';\r\nimport { injectIntl, FormattedMessage } from 'react-intl'\r\nimport { intlType } from 'types'\r\n\r\nconst PageTable = memo(({\r\n subweb,\r\n pages,\r\n loading,\r\n intl,\r\n noDataText,\r\n // eslint-disable-next-line no-unused-vars\r\n handlePageArchive,\r\n handlePageEdit,\r\n isLoadingActions,\r\n}) => {\r\n const [data, setData] = useState([])\r\n useEffect(() => {\r\n if (!loading) setData([...pages])\r\n }, [pages, loading])\r\n\r\n return (\r\n (\r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'table.title.last' }),\r\n accessor: 'updatedAt',\r\n Cell: ({ value, original: { id: pageId } }) => (\r\n \r\n \r\n \r\n )\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'editors' }),\r\n accessor: 'contributors',\r\n Cell: ({ value, original: { id: pageId } }) => (\r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'status' }),\r\n accessor: 'state',\r\n Cell: ({ value, original: { id: pageId } }) => {\r\n let langLinks = []\r\n if (value && value.length > 0) {\r\n langLinks = value.map(\r\n ({ label }) => (\r\n { langKey: label, link: generateEditorPath({ pageId, subweb, lang: label }) }\r\n )\r\n )\r\n }\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n },\r\n },\r\n {\r\n Header: '',\r\n accessor: 'actions',\r\n Cell: ({ original: { id: pageId } }) => (\r\n \r\n \r\n handlePageEdit({ subweb, pageId }),\r\n icon: 'edit',\r\n isLoading: isLoadingActions,\r\n },\r\n // {\r\n // text: intl.formatMessage({ id: 'archive' }),\r\n // onClick: () => handlePageArchive({ subweb, pageId }),\r\n // icon: 'fal fa-eye-slash',\r\n // isLoading: isLoadingActions,\r\n // },\r\n ]}\r\n position=\"bottom\"\r\n align=\"start\"\r\n handlerWidth={72}\r\n />\r\n \r\n \r\n ),\r\n },\r\n ]}\r\n defaultPageSize={10}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={noDataText || 'Não foram encontradas subwebs'}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n clearRowPadding\r\n />\r\n );\r\n});\r\n\r\nconst Cell = ({ value, loadingDots, loading }) => {\r\n if (loadingDots) return \r\n if (loading) return \r\n if (!value) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n return {value}\r\n};\r\n\r\nconst LoadingCell = styled.div`\r\n width: 80px;\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n`\r\n\r\nconst CellEnd = styled.div`\r\n justify-content: flex-end;\r\n width: 100%;\r\n display: flex;\r\n`\r\n\r\nPageTable.propTypes = {\r\n pages: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n title: PropTypes.string,\r\n lastUpdated: PropTypes.string,\r\n slug: PropTypes.string,\r\n state: PropTypes.arrayOf(PropTypes.shape({})),\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n handlePageArchive: PropTypes.func,\r\n handlePageEdit: PropTypes.func,\r\n subweb: PropTypes.string.isRequired,\r\n isLoadingActions: PropTypes.bool,\r\n};\r\n\r\nPageTable.defaultProps = {\r\n pages: [],\r\n loading: true,\r\n noDataText: null,\r\n handlePageArchive: () => {},\r\n handlePageEdit: () => { },\r\n isLoadingActions: false,\r\n}\r\n\r\n\r\nexport default injectIntl(PageTable);\r\n","/* eslint-disable react/prop-types */\r\nimport React, { useState, useEffect, memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Text,\r\n LoadingDot,\r\n Table,\r\n Button,\r\n Icon,\r\n Spacer,\r\n} from 'components/atoms';\r\nimport { Tooltip } from 'components/molecules'\r\nimport { injectIntl, FormattedMessage } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { computeDateDistance } from 'services/generators';\r\nimport { UsersAvatarList } from 'containers'\r\n\r\nconst PageTable = memo(({\r\n pages, loading, intl, noDataText, onAddPage, page,\r\n}) => {\r\n const [data, setData] = useState([])\r\n useEffect(() => {\r\n if (!loading) setData([...pages])\r\n }, [pages, loading])\r\n\r\n return (\r\n {\r\n if (!rowInfo || !rowInfo.original || !rowInfo.original.id) return {}\r\n const { original } = rowInfo\r\n if (rowInfo && rowInfo.original && rowInfo.original.id) {\r\n return {\r\n onClick: (e) => {\r\n e.preventDefault()\r\n e.stopPropagation();\r\n onAddPage(original)\r\n }\r\n }\r\n }\r\n return {\r\n }\r\n }}\r\n columns={[\r\n {\r\n Header: '',\r\n accessor: 'actions',\r\n resizable: false,\r\n width: 60,\r\n Cell: () => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'page' }),\r\n accessor: 'title',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'subwebs.slug' }),\r\n accessor: 'slug',\r\n Cell: ({ value }) => (\r\n \r\n )\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'table.title.last' }),\r\n accessor: 'contributors',\r\n Cell: ({ value, original: { updatedAt } }) => (\r\n \r\n {value instanceof Array\r\n && (\r\n <>\r\n \r\n \r\n \r\n \r\n )\r\n }\r\n \r\n há\r\n {' '}\r\n {computeDateDistance(updatedAt)}\r\n \r\n \r\n ),\r\n },\r\n ]}\r\n defaultPageSize={10}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={noDataText || 'Não foram encontradas subwebs'}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n page={page}\r\n />\r\n );\r\n});\r\n\r\nconst Cell = ({\r\n value, loadingDots, loading, children = null\r\n}) => {\r\n if (loadingDots) return \r\n if (loading) return \r\n if (!value && children === null) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n if (children !== null) return <>{children}\r\n return {value}\r\n};\r\n\r\nconst LoadingCell = styled.div`\r\n width: 80px;\r\n height: ${props => props.theme.sizes.s};\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n`\r\n\r\nconst CellStart = styled.div`\r\n width: 100%;\r\n`\r\n\r\nPageTable.propTypes = {\r\n pages: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n title: PropTypes.string,\r\n lastUpdated: PropTypes.string,\r\n slug: PropTypes.string,\r\n state: PropTypes.arrayOf(PropTypes.shape({})),\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n onAddPage: PropTypes.func,\r\n page: PropTypes.number,\r\n};\r\n\r\nPageTable.defaultProps = {\r\n pages: [],\r\n loading: true,\r\n noDataText: null,\r\n onAddPage: () => { },\r\n page: 0,\r\n}\r\n\r\n\r\nexport default injectIntl(PageTable);\r\n","import React from 'react'\r\nimport { PublicNavBar as PublicNavBarBase } from 'assets/lib'\r\nimport { withPortalThemeLegacy } from 'modules/utils';\r\n\r\n// publics nav bar - bar as a service example\r\nconst PublicNavBar = (props) => withPortalThemeLegacy(PublicNavBarBase, props)\r\n\r\nconst data = {\r\n links: [],\r\n social: [\r\n {\r\n title: 'Notícias',\r\n ariaLabel: 'Notícias',\r\n url: 'https://www.ua.pt/pt/noticias',\r\n target: '_blank',\r\n onlyIcon: false,\r\n styles: {\r\n fontWeight: '400',\r\n fontDecoration: 'none'\r\n }\r\n },\r\n {\r\n title: 'Agenda',\r\n ariaLabel: 'Agenda',\r\n url: 'https://www.ua.pt/pt/agenda',\r\n target: '_blank',\r\n onlyIcon: false,\r\n styles: {\r\n fontWeight: '400',\r\n fontDecoration: 'none'\r\n }\r\n },\r\n {\r\n url: 'https://www.facebook.com/universidadedeaveiro/',\r\n target: '_blank',\r\n ariaLabel: 'Facebook',\r\n onlyIcon: true,\r\n styles: {\r\n fontWeight: '400',\r\n fontDecoration: 'none'\r\n }\r\n },\r\n {\r\n url: 'https://www.instagram.com/universidadedeaveiro/',\r\n target: '_blank',\r\n ariaLabel: 'Instagram',\r\n onlyIcon: true,\r\n styles: {\r\n fontWeight: '400',\r\n fontDecoration: 'none'\r\n }\r\n }\r\n ],\r\n auth: {\r\n styles: {\r\n fontWeight: '400'\r\n },\r\n iconLogOut: {\r\n name: 'fas fa-user',\r\n cursor: 'cursor',\r\n fontSize: '12px',\r\n marginLeft: '12px'\r\n },\r\n iconLogIn: {\r\n name: 'fas fa-user',\r\n cursor: 'cursor',\r\n fontSize: '12px',\r\n marginLeft: '12px'\r\n }\r\n }\r\n}\r\n\r\n\r\nconst NavPublics = () => (\r\n \r\n)\r\n\r\nexport default NavPublics\r\n","import React, { useMemo } from 'react'\r\nimport { Form, Text, Spacer } from 'components/atoms'\r\nimport { Formik, Field } from 'formik';\r\nimport {\r\n FieldCustom, FieldImageGalleryUpload, FieldSelect, FieldTextarea\r\n} from 'components/molecules';\r\nimport PropTypes from 'prop-types'\r\nimport * as Yup from 'yup';\r\nimport styled from 'styled-components/macro'\r\n\r\nconst MetadataSchema = Yup.object().shape({\r\n title: Yup.string()\r\n .min(4, 'Mínimo de 4 caracteres')\r\n .max(120, 'Máximo de 120 caracteres')\r\n .required('Campo obrigatório'),\r\n description: Yup.string(),\r\n image: Yup.object({\r\n url: Yup.string(),\r\n alt: Yup.string(),\r\n title: Yup.string()\r\n }),\r\n keywords: Yup.array().of(Yup.string()).nullable()\r\n});\r\n\r\n\r\nconst MetadataForm = ({ initialProps, onChange }) => {\r\n // get initial form values, only the editable props\r\n const initialValues = useMemo(() => {\r\n const {\r\n title, description, keywords, image\r\n } = initialProps\r\n return {\r\n title: title || '',\r\n description: description || '',\r\n keywords,\r\n image: {\r\n url: image,\r\n isLocal: false,\r\n alt: 'Imagem de partilha'\r\n },\r\n }\r\n }, [initialProps])\r\n\r\n // when the values change Formik runs validate so we can values changing side effects here\r\n // update the page json by invoking onChange(newProps)\r\n const handleFormChange = (newValues) => {\r\n const newProps = {\r\n ...initialProps,\r\n ...newValues,\r\n image: (newValues.image && newValues.image.url) ? newValues.image.url : null\r\n }\r\n const isValid = MetadataSchema.isValidSync(newValues)\r\n if (isValid) onChange(newProps)\r\n };\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n 'Escreva e pressione \\'enter\\' ↵'}\r\n formatCreateLabel={(value) => (\r\n \r\n pressione 'enter' para adicionar a tag:\r\n \r\n \r\n {value}\r\n \r\n \r\n \r\n )}\r\n creatable\r\n isMulti\r\n />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nMetadataForm.propTypes = {\r\n initialProps: PropTypes.shape({\r\n title: PropTypes.string.isRequired,\r\n description: PropTypes.string,\r\n image: PropTypes.string,\r\n keywords: PropTypes.arrayOf(PropTypes.string)\r\n }).isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n}\r\n\r\nconst TagLabel = styled.div`\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n justify-content: center;\r\n`\r\n\r\n\r\nexport default MetadataForm\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useMemo } from 'react'\r\nimport { ModuleCard, InputIcon } from 'components/molecules'\r\nimport { Spacer } from 'components/atoms'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components/macro';\r\nimport modules from 'modules'\r\nimport Fuse from 'fuse.js'\r\n\r\nconst ModuleSelect = ({\r\n onSelect,\r\n isAdmin,\r\n}) => {\r\n const [search, setSearch] = React.useState('')\r\n const modulesSelectable = useMemo(() => {\r\n const modulesKeys = Object.keys(modules).filter(moduleKey => {\r\n const module = modules[moduleKey]\r\n if (moduleKey === 'SEO') return false\r\n if (moduleKey === 'Placeholder') return false\r\n if (moduleKey === 'Navigation') return false\r\n if (!isAdmin && module.options.adminOnly) return false\r\n return !module.options.hidden\r\n })\r\n return modulesKeys.map(key => ({\r\n key,\r\n ...modules[key]\r\n }))\r\n }, [isAdmin])\r\n\r\n const fuse = useMemo(() => new Fuse(modulesSelectable, {\r\n threshold: 0.2,\r\n keys: [\r\n {\r\n name: 'key',\r\n weight: 0.01,\r\n },\r\n {\r\n name: 'options.label',\r\n weight: 0.84,\r\n },\r\n {\r\n name: 'options.description',\r\n weight: 0.05,\r\n },\r\n {\r\n name: 'options.tags',\r\n weight: 0.1,\r\n }\r\n ]\r\n }), [modulesSelectable])\r\n\r\n const modulesFiltered = useMemo(() => {\r\n if (search === '') return modulesSelectable\r\n return fuse.search(search).map(({ item }) => item)\r\n }, [search, fuse])\r\n\r\n return (\r\n <>\r\n \r\n setSearch(e.target.value)}\r\n modifiers={['stretch']}\r\n />\r\n \r\n \r\n {modulesFiltered.map(module => (\r\n onSelect(module)}\r\n />\r\n ))}\r\n \r\n \r\n )\r\n}\r\n\r\nconst List = styled.div`\r\n display: grid;\r\n grid-template-columns: repeat(3, 1fr);\r\n grid-column-gap: ${props => props.theme.spacing.xs};\r\n`\r\n\r\nModuleSelect.defaultProps = {\r\n onSelect: () => { },\r\n isAdmin: false,\r\n}\r\n\r\nModuleSelect.propTypes = {\r\n onSelect: PropTypes.func,\r\n isAdmin: PropTypes.bool,\r\n}\r\n\r\n\r\nexport default ModuleSelect\r\n","import React from 'react'\r\nimport { HistoryCommit } from 'components/molecules'\r\nimport { Text, Spacer } from 'components/atoms'\r\nimport PropTypes from 'prop-types'\r\nimport styled from 'styled-components/macro'\r\nimport { statusType } from 'types'\r\n\r\nconst HistoryCommitList = ({\r\n title,\r\n list,\r\n isLoading,\r\n}) => (\r\n \r\n {(title && !isLoading) && (\r\n <>\r\n {title}\r\n \r\n \r\n )}\r\n {isLoading ? (\r\n <>\r\n \r\n \r\n \r\n \r\n ) : (\r\n list.map(commit => (\r\n \r\n ))\r\n )}\r\n \r\n)\r\n\r\nconst CommitList = styled.div`\r\n\r\n`\r\n\r\nHistoryCommitList.propTypes = {\r\n title: PropTypes.string,\r\n list: PropTypes.arrayOf(PropTypes.shape({\r\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n date: PropTypes.string.isRequired,\r\n user: PropTypes.shape({\r\n name: PropTypes.string.isRequired,\r\n image: PropTypes.string,\r\n }).isRequired,\r\n actions: PropTypes.arrayOf(PropTypes.shape({\r\n icon: PropTypes.string,\r\n description: PropTypes.string,\r\n status: statusType\r\n })).isRequired,\r\n onContact: PropTypes.func,\r\n onPreview: PropTypes.func,\r\n })),\r\n isLoading: PropTypes.bool,\r\n}\r\n\r\nHistoryCommitList.defaultProps = {\r\n title: null,\r\n list: [],\r\n isLoading: false,\r\n}\r\n\r\nexport default HistoryCommitList\r\n","/* eslint-disable react/jsx-indent */\r\n/* eslint-disable no-param-reassign */\r\n/* eslint-disable no-unused-expressions */\r\n/* eslint-disable indent */\r\n/* eslint-disable linebreak-style */\r\n/* eslint-disable react/prop-types */\r\nimport React, { memo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Text,\r\n LoadingDot,\r\n Table,\r\n Button,\r\n Icon,\r\n Clamp,\r\n} from 'components/atoms';\r\nimport { Tooltip, PopoverActions, ModalConfirm } from 'components/molecules'\r\nimport { injectIntl, FormattedMessage } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { filesize } from 'filesize'\r\nimport { generateReadablePtDate } from 'services/generators'\r\nimport { PORTAL_WWW } from 'services/constants'\r\nimport { deleteFiles } from 'services/requests'\r\nimport { useCopyToClipboard } from 'react-use'\r\nimport { Toast } from 'containers';\r\nimport { toast } from 'react-toastify';\r\nimport { useHistory } from 'react-router-dom'\r\nimport { useMutation } from 'react-query'\r\n\r\nlet manageIcon = [];\r\n\r\nconst FileTable = memo(({\r\n files,\r\n loading,\r\n intl,\r\n noDataText,\r\n onSelect,\r\n icon,\r\n subweb,\r\n lang,\r\n filemodule,\r\n onClickAdd,\r\n refetchData,\r\n rteofile,\r\n teste\r\n}) => {\r\n const history = useHistory()\r\n const [, copyToClipboard] = useCopyToClipboard()\r\n const [confirmation, setConfirmation] = useState({\r\n isConfirmed: false,\r\n selectedFile: null,\r\n })\r\n const [iconbutton, setIcon] = useState(false);\r\n\r\n const [deleteFile] = useMutation(deleteFiles, {\r\n onSuccess: () => {\r\n toast.success(\r\n \r\n )\r\n },\r\n onError: (err) => {\r\n toast.error(\r\n \r\n )\r\n }\r\n });\r\n\r\n const filesComputed = React.useMemo(() => {\r\n if (\r\n files && files.data && files.data.data\r\n && files.data.data.length > 0\r\n ) {\r\n if (!filemodule) {\r\n const memfiles = JSON.parse(window.sessionStorage.getItem('initialValues'))\r\n \r\n // eslint-disable-next-line no-plusplus\r\n for (let i = memfiles.data.length - 1; i >= 0; i--) {\r\n const auxObj = memfiles.data[i]\r\n const index = files.data.data.map(e => e.id).indexOf(memfiles.data[i].id);\r\n auxObj.check = true;\r\n auxObj.currentCheck = true\r\n auxObj.dateUpdate = auxObj.date;\r\n auxObj.title = auxObj.name\r\n if (index > -1) {\r\n files.data.data.splice(index, 1)\r\n files.data.data.unshift(auxObj)\r\n }\r\n }\r\n }\r\n return files.data.data.map(({\r\n id,\r\n title,\r\n editable,\r\n orginalName,\r\n size,\r\n dateUpdate,\r\n description,\r\n check,\r\n type,\r\n currentCheck,\r\n numberDownloads,\r\n lastDownload\r\n }) => ({\r\n check: !!check,\r\n currentCheck: !!currentCheck,\r\n id,\r\n title,\r\n editable,\r\n // eslint-disable-next-line no-nested-ternary\r\n type: !check ? (orginalName.split('.').length === 2 ? orginalName.split('.')[1] : null) : type,\r\n size: !check ? filesize(size) : size,\r\n // type: orginalName.split('.').length === 2 ? orginalName.split('.')[1] : null,\r\n // size: filesize(size),\r\n date: !check ? generateReadablePtDate(dateUpdate) : dateUpdate,\r\n description,\r\n // type: orginalName.split('.').length === 2 ? orginalName.split('.')[1] : null,\r\n // size: filesize(size),\r\n // date: generateReadablePtDate(dateUpdate),\r\n numberDownloads,\r\n lastDownload\r\n }))\r\n }\r\n return []\r\n }, [files])\r\n \r\n\r\n const handleCopyToClipboard = (file) => {\r\n const { id, title } = file\r\n copyToClipboard(`${PORTAL_WWW}/file/${id}`)\r\n toast.success(\r\n \r\n );\r\n }\r\n\r\n const handleDownload = (file) => {\r\n const { id, title } = file\r\n window.location.assign(`${PORTAL_WWW}/file/${id}`);\r\n toast.success(\r\n \r\n );\r\n }\r\n\r\n const handleEditFile = (file) => {\r\n const { id } = file\r\n history.push(`/${encodeURIComponent(subweb)}/files/${lang}/${id}`)\r\n }\r\n\r\n const handleSelect = (e, original) => {\r\n e.preventDefault()\r\n e.stopPropagation();\r\n onSelect(\r\n files && files.data && files.data.data\r\n ? files.data.data.find(file => file.id === original.id)\r\n : null\r\n )\r\n }\r\n\r\n const handleFileSelect = (e, value) => {\r\n let aux = null;\r\n \r\n // eslint-disable-next-line no-param-reassign\r\n if (!value.check && !value.currentCheck) {\r\n value.check = true;\r\n // value.currentCheck = true\r\n onClickAdd(value);\r\n }\r\n else if (value.check && !value.currentCheck) {\r\n value.check = false;\r\n // value.currentCheck = true\r\n onClickAdd(value);\r\n }\r\n \r\n if (aux == null) {\r\n manageIcon.push(value.id)\r\n setIcon((prev) => !prev);\r\n } else {\r\n delete manageIcon[aux]\r\n }\r\n }\r\n const handleFileUrl = (rec) => {\r\n teste(rec);\r\n }\r\n\r\n const isDisable = (file) => {\r\n const { editable } = file\r\n return !editable\r\n }\r\n\r\n const handleDeleteFile = (hasConfirmed) => {\r\n const { id } = confirmation.selectedFile\r\n\r\n if (hasConfirmed) {\r\n deleteFile({ fileId: id, subweb })\r\n refetchData()\r\n }\r\n setConfirmation({ ...confirmation, isConfirmed: false })\r\n }\r\n\r\n let ic = false;\r\n return (\r\n <>\r\n setConfirmation({ ...confirmation, isConfirmed: !confirmation.isConfirmed })}\r\n onChange={handleDeleteFile}\r\n title=\"Apagar ficheiro\"\r\n message=\"Depois de apagado, o ficheiro deixará de estar disponível de forma permanente. Tem a certeza a certeza que pretende continuar?\"\r\n textConfirm=\"Sim\"\r\n textDiscard=\"Cancelar\"\r\n />\r\n (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n }]\r\n : []\r\n ),\r\n ...(\r\n (!filemodule)\r\n ? [{\r\n Header: '',\r\n accessor: 'icon',\r\n resizable: false,\r\n width: 60,\r\n Cell: ({ original }) => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n }]\r\n : []\r\n ),\r\n ...(\r\n !rteofile \r\n ? [{\r\n Header: '',\r\n accessor: 'icon',\r\n resizable: false,\r\n width: 60,\r\n Cell: ({ original }) => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n }] \r\n : []\r\n\r\n ),\r\n {\r\n Header: intl.formatMessage({ id: 'file.title' }),\r\n accessor: 'title',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'file.type' }),\r\n accessor: 'type',\r\n Cell: ({ value }) => (\r\n \r\n \r\n {value}\r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'file.date' }),\r\n accessor: 'date',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'file.size' }),\r\n accessor: 'size',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n ...((filemodule && rteofile) ? [\r\n {\r\n Header: intl.formatMessage({ id: 'file.numberDownloads' }),\r\n accessor: 'numberDownloads',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n }\r\n ] \r\n : []\r\n ),\r\n ...(\r\n (filemodule && rteofile) \r\n ? [\r\n {\r\n Header: intl.formatMessage({ id: 'file.lastdownload' }),\r\n accessor: 'lastDownload',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n }\r\n ] \r\n : []\r\n ),\r\n ...(\r\n (filemodule && rteofile)\r\n ? [{\r\n Header: '',\r\n accessor: 'actions',\r\n Cell: ({ original }) => (\r\n <>\r\n \r\n handleCopyToClipboard(original),\r\n icon: 'fal fa-link',\r\n },\r\n {\r\n text: intl.formatMessage({ id: 'file.download' }),\r\n onClick: () => handleDownload(original),\r\n icon: 'fal fa-download',\r\n },\r\n {\r\n text: intl.formatMessage({ id: 'file.edit' }),\r\n onClick: () => handleEditFile(original),\r\n disabled: isDisable(original),\r\n }, {\r\n text: intl.formatMessage({ id: 'file.delete' }),\r\n onClick: () => setConfirmation({\r\n isConfirmed: true,\r\n selectedFile: original\r\n })\r\n }\r\n ]}\r\n position=\"bottom\"\r\n align=\"start\"\r\n handlerWidth={72}\r\n />\r\n \r\n \r\n ),\r\n }]\r\n : []\r\n ),\r\n /* {\r\n {\r\n Header: intl.formatMessage({ id: 'file.numberDownloads' }),\r\n accessor: 'numberDownloads',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'file.lastdownload' }),\r\n accessor: 'lastDownload',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: '',\r\n accessor: 'actions',\r\n Cell: ({ original }) => (\r\n <>\r\n \r\n handleCopyToClipboard(original),\r\n icon: 'fal fa-link',\r\n },\r\n {\r\n text: intl.formatMessage({ id: 'file.download' }),\r\n onClick: () => handleDownload(original),\r\n icon: 'fal fa-download',\r\n },\r\n {\r\n text: intl.formatMessage({ id: 'file.edit' }),\r\n onClick: () => handleEditFile(original),\r\n disabled: isDisable(original),\r\n }, {\r\n text: intl.formatMessage({ id: 'file.delete' }),\r\n onClick: () => setConfirmation({\r\n isConfirmed: true,\r\n selectedFile: original\r\n })\r\n }\r\n ]}\r\n position=\"bottom\"\r\n align=\"start\"\r\n handlerWidth={72}\r\n />\r\n \r\n \r\n ),\r\n }, */\r\n ]}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={loading ? '' : (noDataText || 'Não foram encontrados ficheiros')}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n />\r\n\r\n \r\n )\r\n});\r\n\r\nconst Cell = ({\r\n value, loadingDots, loading, children = null\r\n}) => {\r\n if (loadingDots) return \r\n if (loading) return \r\n if (!value && children === null) {\r\n return (\r\n \r\n \r\n \r\n )\r\n }\r\n if (children !== null) return <>{children}\r\n return (\r\n \r\n {value}\r\n \r\n )\r\n};\r\n\r\nconst LoadingCell = styled.div`\r\n width: 80px;\r\n height: ${props => props.theme.sizes.s};\r\n background-color: ${props => props.theme.colors.bgLighterS};\r\n`\r\n\r\nconst CellStart = styled.div`\r\n width: 100%;\r\n`\r\n\r\nconst CellEnd = styled.div`\r\n justify-content: flex-end;\r\n width: 100%;\r\n display: flex;\r\n`\r\n\r\nFileTable.propTypes = {\r\n files: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n title: PropTypes.string,\r\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.number]),\r\n type: PropTypes.string,\r\n date: PropTypes.string,\r\n numberDownloads: PropTypes.number,\r\n lastDownload: PropTypes.string\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n onSelect: PropTypes.func,\r\n icon: PropTypes.string,\r\n subweb: PropTypes.string.isRequired,\r\n lang: PropTypes.string.isRequired,\r\n};\r\n\r\nFileTable.defaultProps = {\r\n files: [],\r\n loading: true,\r\n noDataText: null,\r\n onSelect: () => { },\r\n icon: 'fal fa-plus',\r\n}\r\n\r\n\r\nexport default injectIntl(FileTable);\r\n","/* eslint-disable object-curly-spacing */\r\n/* eslint-disable no-plusplus */\r\n/* eslint-disable react/prop-types */\r\nimport React, { memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Text,\r\n Table,\r\n Button,\r\n Icon,\r\n} from 'components/atoms';\r\nimport { Tooltip } from 'components/molecules'\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\nimport { Link } from 'react-router-dom'\r\n\r\nconst PeopleTable = memo(({\r\n data,\r\n loading,\r\n intl,\r\n noDataText,\r\n subweb,\r\n activeRowId,\r\n isPeopleModule,\r\n onClickAdd,\r\n setCheck,\r\n refetchData\r\n}) => {\r\n const handlePeopleSelect = (data, id, disabledCheck) => {\r\n let val = null;\r\n // eslint-disable-next-line no-plusplus\r\n if (!disabledCheck) {\r\n for (let i = 0; i < data.length; i++) {\r\n if (data[i].id === id) {\r\n refetchData()\r\n if (data[i].check === true) {\r\n setCheck(i, data[i].photoId, false)\r\n }\r\n else {\r\n setCheck(i, data[i].photoId, true)\r\n }\r\n \r\n val = data[i];\r\n } \r\n }\r\n if (val !== null) {\r\n if (val.check === true) {\r\n val.check = false;\r\n }\r\n else {\r\n val.check = true\r\n }\r\n onClickAdd(val)\r\n }\r\n }\r\n }\r\n\r\n return (\r\n ( \r\n isPeopleModule ? [\r\n \r\n \r\n \r\n \r\n \r\n ] \r\n : []\r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'name' }),\r\n accessor: 'name',\r\n Cell: ({ value, original: { id, disabledCheck } }) => ( \r\n !isPeopleModule ? [\r\n \r\n \r\n \r\n ] \r\n : [\r\n disabledCheck ? [\r\n \r\n {value} \r\n \r\n ] : [\r\n \r\n \r\n \r\n ]\r\n \r\n ]\r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'category' }),\r\n accessor: 'category',\r\n Cell: ({ value, original: { id, disabledCheck } }) => (\r\n !isPeopleModule ? [\r\n \r\n \r\n \r\n ] \r\n : [\r\n disabledCheck ? [\r\n \r\n {value} \r\n \r\n ] : [\r\n \r\n \r\n \r\n ]\r\n \r\n ]\r\n ),\r\n },\r\n ...(\r\n !isPeopleModule ? [{\r\n Header: intl.formatMessage({ id: 'phoneExtension' }),\r\n accessor: 'phoneExtension',\r\n Cell: ({ value, original: { id } }) => (\r\n \r\n \r\n \r\n ),\r\n }] : []\r\n ),\r\n {\r\n Header: intl.formatMessage({ id: 'email' }),\r\n accessor: 'email',\r\n Cell: ({ value, original: { id, disabledCheck } }) => (\r\n !isPeopleModule ? [\r\n \r\n \r\n \r\n {value}\r\n \r\n \r\n \r\n ] \r\n : [\r\n disabledCheck ? [\r\n \r\n \r\n {value}\r\n \r\n \r\n ] : [\r\n \r\n \r\n \r\n {value}\r\n \r\n \r\n \r\n ]\r\n \r\n ]\r\n ),\r\n },\r\n {\r\n Header: '',\r\n accessor: 'isVisible',\r\n resizable: false,\r\n width: 80,\r\n Cell: ({ value: isVisible, original: { id } }) => (\r\n !isPeopleModule ? [\r\n \r\n \r\n \r\n \r\n \r\n ] \r\n : [\r\n \r\n \r\n \r\n \r\n \r\n ]\r\n ),\r\n }\r\n ]}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={loading ? '' : (noDataText || 'Não foram encontradas pessoas')}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n clearRowPadding\r\n />\r\n )\r\n \r\n});\r\n\r\nconst CellStart = styled.div`\r\n width: 100%;\r\n`\r\n\r\nconst CellEnd = styled(Link)`\r\n width: 100%;\r\n button {\r\n cursor: default;\r\n }\r\n text-decoration: none;\r\n`\r\n\r\nconst CellCursor = styled(Link)`\r\n width: 100%;\r\n cursor: default;\r\n color: #484848;\r\n text-decoration: none;\r\n padding: 0.875rem 1.25rem;\r\n`\r\nPeopleTable.propTypes = {\r\n data: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n name: PropTypes.string.isRequired,\r\n category: PropTypes.string.isRequired,\r\n phoneExtension: PropTypes.number.isRequired,\r\n email: PropTypes.string.isRequired,\r\n isVisible: PropTypes.bool.isRequired,\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n subweb: PropTypes.string,\r\n activeRowId: PropTypes.string,\r\n};\r\n\r\nPeopleTable.defaultProps = {\r\n data: [],\r\n loading: true,\r\n noDataText: null,\r\n subweb: 'ua',\r\n activeRowId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n}\r\n\r\n\r\nexport default injectIntl(PeopleTable);\r\n","import React, { useMemo } from 'react';\r\nimport styled from 'styled-components/macro';\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom, FieldToggle, FieldMarkdown } from 'components/molecules';\r\nimport { Form, Button } from 'components/atoms';\r\nimport { phoneRegex } from 'services/constants';\r\nimport PropTypes from 'prop-types';\r\nimport * as Yup from 'yup';\r\n\r\nconst markdownTools = ['inline', 'link', 'list', 'history']\r\n\r\nexport const Schema = Yup.object().shape({\r\n visible: Yup.boolean().nullable(),\r\n cabinet: Yup.string().nullable(),\r\n externalPhone: Yup.string().matches(phoneRegex, 'Número inválido').nullable(),\r\n internalPhone: Yup.string().matches(phoneRegex, 'Número inválido').nullable(),\r\n jobPt: Yup.string().nullable()\r\n .max(2000, 'Máximo de 2000 caracteres'),\r\n jobEn: Yup.string().nullable()\r\n .max(2000, 'Máximo de 2000 caracteres'),\r\n});\r\n\r\nconst PersonUpdateForm = ({\r\n initialValues, subweb, peopleId, onSubmit, isLoading,\r\n}) => {\r\n const isInitialValid = useMemo(\r\n () => Schema.isValidSync(initialValues),\r\n [initialValues]\r\n );\r\n\r\n const handleSubmit = async values => {\r\n const {\r\n cabinet,\r\n externalPhone,\r\n internalPhone,\r\n jobPt,\r\n jobEn,\r\n visible,\r\n } = values\r\n\r\n onSubmit({\r\n subweb,\r\n id: peopleId,\r\n cabinet,\r\n externalPhone,\r\n internalPhone,\r\n jobPt,\r\n jobEn,\r\n visible,\r\n })\r\n };\r\n\r\n return (\r\n {\r\n handleSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n {({ isSubmitting, resetForm, dirty }) => (\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n resetForm(initialValues)}\r\n >\r\n Repor\r\n \r\n \r\n Guardar alterações\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`\r\n\r\nPersonUpdateForm.propTypes = {\r\n onSubmit: PropTypes.func,\r\n initialValues: PropTypes.shape({\r\n visible: PropTypes.bool,\r\n cabinet: PropTypes.string,\r\n externalPhone: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n internalPhone: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n jobPt: PropTypes.string,\r\n jobEn: PropTypes.string,\r\n }),\r\n subweb: PropTypes.string,\r\n peopleId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n isLoading: PropTypes.bool,\r\n};\r\n\r\nPersonUpdateForm.defaultProps = {\r\n onSubmit: () => null,\r\n initialValues: {\r\n title: '',\r\n },\r\n subweb: null,\r\n peopleId: null,\r\n isLoading: false,\r\n};\r\n\r\nexport default PersonUpdateForm;\r\n","/* eslint-disable react/prop-types */\r\nimport React, { memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Table,\r\n Button,\r\n Icon,\r\n Text,\r\n} from 'components/atoms';\r\nimport { Tooltip } from 'components/molecules'\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\n\r\nconst PeopleTable = memo(({\r\n data,\r\n loading,\r\n intl,\r\n noDataText,\r\n onRemove,\r\n showPermissionsColumn\r\n}) => (\r\n (\r\n \r\n ),\r\n },\r\n ...(showPermissionsColumn\r\n ? [{\r\n Header: 'permissões para',\r\n accessor: 'permissions',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n }]\r\n : []\r\n ),\r\n {\r\n Header: intl.formatMessage({ id: 'email' }),\r\n accessor: 'email',\r\n Cell: ({ value }) => (\r\n \r\n \r\n \r\n {value}\r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: '',\r\n accessor: 'actions',\r\n resizable: false,\r\n width: 80,\r\n Cell: ({ original }) => (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n }\r\n ]}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={loading ? '' : (noDataText || 'Não foram encontradas pessoas')}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n />\r\n));\r\n\r\nconst CellEnd = styled.div`\r\n width: 100%;\r\n text-decoration: none;\r\n`\r\n\r\nPeopleTable.propTypes = {\r\n data: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n name: PropTypes.string.isRequired,\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n onRemove: PropTypes.func,\r\n showPermissionsColumn: PropTypes.bool,\r\n};\r\n\r\nPeopleTable.defaultProps = {\r\n data: [],\r\n loading: true,\r\n noDataText: null,\r\n onRemove: () => null,\r\n showPermissionsColumn: true,\r\n}\r\n\r\n\r\nexport default injectIntl(PeopleTable);\r\n","/* eslint-disable react/prop-types */\r\nimport React, { memo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components/macro';\r\nimport {\r\n Table,\r\n Button,\r\n Icon,\r\n} from 'components/atoms';\r\nimport { Tooltip } from 'components/molecules'\r\nimport { injectIntl } from 'react-intl'\r\nimport { intlType } from 'types'\r\n\r\nconst PeopleTableSelect = memo(({\r\n data,\r\n loading,\r\n intl,\r\n noDataText,\r\n onSelect,\r\n}) => {\r\n const handleSelect = (e, original) => {\r\n e.preventDefault()\r\n e.stopPropagation();\r\n onSelect(original)\r\n }\r\n\r\n return (\r\n (\r\n \r\n \r\n \r\n \r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'name' }),\r\n accessor: 'name',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n {\r\n Header: intl.formatMessage({ id: 'email' }),\r\n accessor: 'email',\r\n Cell: ({ value }) => (\r\n \r\n ),\r\n },\r\n ]}\r\n minRows={0}\r\n className=\"-striped -highlight\"\r\n noDataText={loading ? '' : (noDataText || 'Não foram encontradas pessoas')}\r\n sortable={false}\r\n showPagination={false}\r\n loading={loading}\r\n loadingText=\"A carregar...\"\r\n />\r\n )\r\n});\r\n\r\nconst CellStart = styled.div`\r\n width: 100%;\r\n`\r\n\r\nPeopleTableSelect.propTypes = {\r\n data: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.number.isRequired,\r\n name: PropTypes.string.isRequired,\r\n })\r\n ),\r\n loading: PropTypes.bool,\r\n intl: intlType.isRequired,\r\n noDataText: PropTypes.string,\r\n};\r\n\r\nPeopleTableSelect.defaultProps = {\r\n data: [],\r\n loading: true,\r\n noDataText: null,\r\n\r\n}\r\n\r\n\r\nexport default injectIntl(PeopleTableSelect);\r\n","import styled, { css } from 'styled-components';\r\n\r\nconst LoaderSpinner = styled.div((props) => css`\r\n font-size: 10px;\r\n position: relative;\r\n text-indent: -9999em;\r\n border-top: 0.4em solid ${props.theme.colors.bgDarker};\r\n border-right: 0.4em solid ${props.theme.colors.bgDarker};\r\n border-bottom: 0.4em solid ${props.theme.colors.bgDarker};\r\n border-left: 0.4em solid ${props.theme.colors.bgInverse};\r\n -webkit-transform: translateZ(0);\r\n -ms-transform: translateZ(0);\r\n transform: translateZ(0);\r\n -webkit-animation: load8 1.1s infinite linear;\r\n animation: load8 1.1s infinite linear;\r\n border-radius: 50%;\r\n width: ${props.width || '20px'};\r\n height: ${props.height || '20px'};\r\n &:after {\r\n border-radius: 50%;\r\n width: ${props.width || '20px'};\r\n height: ${props.height || '20px'};\r\n }\r\n @-webkit-keyframes load8 {\r\n 0% {\r\n -webkit-transform: rotate(0deg);\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n -webkit-transform: rotate(360deg);\r\n transform: rotate(360deg);\r\n }\r\n }\r\n @keyframes load8 {\r\n 0% {\r\n -webkit-transform: rotate(0deg);\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n -webkit-transform: rotate(360deg);\r\n transform: rotate(360deg);\r\n }\r\n }\r\n`);\r\n\r\n\r\nexport default LoaderSpinner;\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled, { css } from 'styled-components/macro';\r\nimport { screenType } from 'types';\r\n\r\nexport const screens = {\r\n mobile: {\r\n width: '414px',\r\n height: 'auto',\r\n },\r\n tablet: {\r\n width: '768px',\r\n height: 'auto',\r\n },\r\n desktop: {\r\n width: '100%',\r\n height: 'auto',\r\n },\r\n};\r\n\r\nexport const screensOpts = [\r\n {\r\n label: 'telémovel',\r\n value: 'mobile',\r\n icon: 'fal fa-mobile',\r\n },\r\n {\r\n label: 'computador',\r\n value: 'desktop',\r\n icon: 'fal fa-desktop',\r\n },\r\n];\r\n\r\nexport const ResponsiveViewer = ({ screen, children }) => {\r\n const computedScreen = useMemo(() => screens[screen], [screen]);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nconst Viewer = styled.div(\r\n props => css`\r\n width: ${props.width || '100%'};\r\n height: ${props.height || '100%'};\r\n ${props.screen === 'mobile' || props.screen === 'tablet'\r\n ? css`\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-top: ${props.theme.spacing.l};\r\n border: 1px solid ${props.theme.colors.borderLighter};\r\n `\r\n : ''};\r\n `\r\n);\r\n\r\nResponsiveViewer.propTypes = {\r\n screen: screenType,\r\n children: PropTypes.node,\r\n};\r\n\r\nResponsiveViewer.defaultProps = {\r\n screen: 'desktop',\r\n children: null,\r\n};\r\n\r\nexport default ResponsiveViewer;\r\n","import { PORTAL_API, PORTAL_WWW, PORTAL_IMAGES_ENDPOINT } from '../../../services/constants'\r\n\r\nconst authUrl = 'https://portalauth-lsmfqpbnmt.now.sh/auth';\r\nconst authSecret = '@Portal_17_Web17';\r\nconst apiUrl = 'https://portalua-server-qa6yq4mpm.now.sh/api';\r\nconst baseUrl = 'https://www.ua.pt';\r\nconst hasHash = '#';\r\n\r\nconst views = {\r\n root: 'root',\r\n cooperate: 'cooperate',\r\n education: 'education',\r\n public: 'public',\r\n index: 'index',\r\n internal: 'internal',\r\n international: 'international',\r\n live: 'live',\r\n investigation: 'investigation',\r\n};\r\n\r\n// PORTAL UA MICROSERVICES APIS URLS\r\nconst portalAPI = PORTAL_API\r\nconst portalWWW = PORTAL_WWW;\r\nconst imageAPI = PORTAL_IMAGES_ENDPOINT;\r\n\r\nexport {\r\n authUrl,\r\n authSecret,\r\n apiUrl,\r\n portalAPI,\r\n baseUrl,\r\n hasHash,\r\n views,\r\n portalWWW,\r\n imageAPI,\r\n};\r\n","import { css } from 'styled-components';\r\n\r\n/*\r\n Apply styled above a certain breakpoint\r\n Used like:\r\n ${above.md`\r\n ...styles\r\n `}\r\n*/\r\n\r\nexport const size = {\r\n sm: 600,\r\n md: 1090,\r\n lg: 1140,\r\n};\r\n\r\nexport const below = Object.keys(size).reduce((acc, label) => {\r\n acc[label] = (...args) => css`\r\n @media (max-width: ${size[label]}px) {\r\n ${css(...args)}\r\n }\r\n `;\r\n return acc;\r\n}, {});\r\n\r\nexport const above = Object.keys(size).reduce((acc, label) => {\r\n acc[label] = (...args) => css`\r\n @media (min-width: ${size[label]}px) {\r\n ${css(...args)}\r\n }\r\n `;\r\n return acc;\r\n}, {});\r\n","import { rem } from \"polished\";\r\n\r\nconst colors = {\r\n white: \"#fff\",\r\n whiteDark: \"#F3F3F4\",\r\n black: \"#000\",\r\n blackLight: \"#333333\",\r\n grey: \"#666666\",\r\n greyAnchor: \"#6f6f6f\",\r\n greyLight: \"#E5E5E5\",\r\n greyBorder: \"#e6e6e6\",\r\n greyDark: \"#40494e\",\r\n greyBg: \"#E6E7E8\",\r\n green: \"#95CA3D\",\r\n blue: \"#00b2bd\",\r\n blueLight: \"#00d1ca\",\r\n focus: \"#91d300\",\r\n yellow: \"#f7b609\",\r\n orange: \"#f05a24\",\r\n red: \"#FF6666\"\r\n};\r\n\r\nconst type = {\r\n base: `'Roboto', sans-serif`,\r\n serif: `'Playfair Display', 'Roboto', sans-serif`,\r\n icons: `'FontAwesome'`\r\n};\r\n\r\nconst weight = {\r\n xxlight: 100,\r\n xlight: 200,\r\n light: 300,\r\n xbase: 400,\r\n base: 500,\r\n bold: 600\r\n};\r\n\r\nconst sizes = {\r\n xs3: rem(\"3px\"),\r\n xs2: rem(\"8px\"),\r\n xs: rem(\"12px\"),\r\n s: rem(\"14px\"),\r\n m: rem(\"16px\"),\r\n l: rem(\"18px\"),\r\n xl: rem(\"20px\"),\r\n xl2: rem(\"22px\"),\r\n xl3: rem(\"26px\"),\r\n xl3m: rem(\"28px\"),\r\n xl4: rem(\"32px\"),\r\n xl5: rem(\"36px\"),\r\n xl6: rem(\"48px\"),\r\n xl7: rem(\"56px\"),\r\n xll: rem(\"168px\")\r\n};\r\n\r\nconst typos = {\r\n input: sizes.xs,\r\n button: sizes.xs,\r\n link: sizes.xs,\r\n text: sizes.l,\r\n title: sizes.xl6\r\n};\r\n\r\nconst spacing = {\r\n xs3: rem(\"5px\"),\r\n xs2: rem(\"10px\"),\r\n xs: rem(\"12px\"),\r\n s: rem(\"15px\"),\r\n m: rem(\"20px\"),\r\n l: rem(\"24px\"),\r\n xl: rem(\"30px\"),\r\n xl1: rem(\"32px\"),\r\n xl2: rem(\"40px\"),\r\n xl3: rem(\"50px\"),\r\n xl4: rem(\"70px\"),\r\n xl5: rem(\"100px\"),\r\n xl6: rem(\"120px\")\r\n};\r\n\r\nconst values = {\r\n borderSize: \"1px\",\r\n headerLine: {\r\n width: \"34px\",\r\n height: \"5px\"\r\n },\r\n letterSpacing: \"normal\"\r\n};\r\n\r\nconst shadows = {\r\n base: \"0px 8px 16px 0px rgba(0, 0, 0, 0.1)\",\r\n card: \"0 .125rem .25rem rgba(0,0,0,.075)\"\r\n};\r\n\r\nconst mixins = {\r\n focus: () => `\r\n outline: 2px solid ${theme.colors.focus};\r\n `\r\n};\r\n\r\nconst icons = {\r\n //Brand\r\n facebook: \"fab fa-facebook-f\",\r\n instagram: \"fab fa-instagram\",\r\n twitter: \"fab fa-twitter\",\r\n linkedIn: \"fab fa-linkedin-in\",\r\n youtube: \"fab fa-youtube\",\r\n //Computers\r\n link: \"fal fa-link\",\r\n fa_print: \"fal fa-print\",\r\n //Files\r\n file: \"fal fa-file\",\r\n //Navigation\r\n arrow_up: \"fal fa-arrow-up\",\r\n chevron_up: \"fal fa-chevron-up\",\r\n chevron_down: \"fal fa-chevron-down\",\r\n chevron_left: \"fal fa-chevron-left\",\r\n chevron_right: \"fal fa-chevron-right\",\r\n //Mathematics\r\n plus: \"+\",\r\n times_icon: \"×\",\r\n fas_times: \"fas fa-times\",\r\n //Status\r\n calendar: \"fal fa-calendar-alt\",\r\n //Social\r\n share_alt: \"fal fa-share-alt\",\r\n image: \"fas fa-image\",\r\n //Interfaces\r\n search: \"fas fa-search\",\r\n //Audio & Video\r\n audio_description: \"fal fa-audio-description\",\r\n audio_description_active: \"fas fa-audio-description\",\r\n youtube_play: \"fab fa-youtube\"\r\n};\r\n\r\nconst theme = {\r\n colors,\r\n type,\r\n sizes,\r\n typos,\r\n weight,\r\n values,\r\n spacing,\r\n shadows,\r\n mixins,\r\n icons\r\n};\r\n\r\nexport default theme;\r\n","/* eslint-disable no-underscore-dangle, no-useless-escape */\r\nexport const nodeEnv = process.env.NODE_ENV\r\nexport const isDev = nodeEnv === 'development'\r\nexport const isProd = nodeEnv === 'production'\r\n\r\n/*\r\nUse `REACT_APP_DEPLOY_ENV` custom environment variable to build for the different environments:\r\n\r\n- `dev`: the default, uses the development endpoints\r\n- `qa`: quality assurance endpoints\r\n- `production`: production endpoints\r\n- `new`: this is a special environment used during the data migration correction phase\r\n\r\n*/\r\n\r\nconst DEPLOY_ENV = {\r\n qa: 'qa',\r\n production: 'production',\r\n dev: 'dev',\r\n new: 'new',\r\n};\r\n\r\nexport const deployEnv = process.env.REACT_APP_DEPLOY_ENV\r\nexport const isDeployDev = isProd && deployEnv === DEPLOY_ENV.dev\r\nexport const isDeployQa = isProd && deployEnv === DEPLOY_ENV.qa\r\nexport const isDeployProduction = isProd && deployEnv === DEPLOY_ENV.production\r\nexport const isDeployNew = isProd && deployEnv === DEPLOY_ENV.new\r\n\r\nconst computedDeployUrl = ({\r\n qa, dev, production, __new__\r\n}) => {\r\n const ENV = nodeEnv;\r\n // defaults to dev env\r\n if (ENV === 'production') {\r\n if (isDeployQa) return qa;\r\n if (isDeployProduction) return production;\r\n if (isDeployNew) return __new__;\r\n }\r\n return dev;\r\n};\r\n\r\nexport const PORTAL_IMAGES_ENDPOINT = (() => {\r\n const qa = 'https://api-assets.qa.ua.pt/v1';\r\n const dev = 'https://api-assets.dev.ua.pt/v1';\r\n const production = 'https://api-assets.ua.pt/v1';\r\n\r\n return computedDeployUrl({\r\n qa,\r\n dev,\r\n production,\r\n __new__: production,\r\n });\r\n})();\r\n\r\nexport const PORTAL_WWW = (() => {\r\n const qa = 'https://www.qa.ua.pt';\r\n const dev = 'https://www.dev.ua.pt';\r\n const production = 'https://www.ua.pt';\r\n const __new__ = 'https://www-new.ua.pt'\r\n\r\n return computedDeployUrl({\r\n qa,\r\n dev,\r\n production,\r\n __new__\r\n });\r\n})();\r\n\r\nexport const PORTAL_API = (() => {\r\n const qa = 'https://api-portal.qa.ua.pt/api/v1';\r\n const dev = 'https://api-portal.dev.ua.pt/api/v1';\r\n const production = 'https://api-portal.ua.pt/api/v1';\r\n const __new__ = 'https://api-portal-new.ua.pt/api/v1';\r\n\r\n return computedDeployUrl({\r\n qa,\r\n dev,\r\n production,\r\n __new__,\r\n });\r\n})();\r\n\r\nexport const PORTAL_HOST = (() => {\r\n const qa = 'www.qa.ua.pt';\r\n const dev = 'www.dev.ua.pt';\r\n const production = 'www.ua.pt';\r\n const __new__ = 'www.new.ua.pt'\r\n\r\n return computedDeployUrl({\r\n qa,\r\n dev,\r\n production,\r\n __new__,\r\n });\r\n})();\r\n\r\n// other\r\nexport const dateFormat = 'dd/MM/yyyy HH:mm:ss'\r\nexport const rootSubwebs = ['ua', 'aboutua', 'education', 'live', 'investigation', 'international', 'cooperate']\r\nexport const rootSubwebsHomeSlug = {\r\n ua: '',\r\n aboutua: 'universidade',\r\n education: 'estudar',\r\n live: 'viver',\r\n investigation: 'investigacao',\r\n international: 'internacional',\r\n cooperate: 'cooperacao'\r\n}\r\nexport const slugRegex = /^(?!.*news).(?!.*noticias).[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/\r\nexport const linkRegex = /^(?:https?:\\/\\/(?:[\\w-]*\\.)+\\w+(?::\\d+)?(?:\\/\\S*)?|\\/(?:(?:pt|en)\\/\\S*)?|mailto:[_\\w\\.-]+@[\\w\\.]+)$/\r\nexport const linkRegexOptional = /^(?:https?:\\/\\/(?:[\\w-]*\\.)+\\w+(?::\\d+)?(?:\\/\\S*)?|\\/(?:(?:pt|en)\\/\\S*)?|mailto:[_\\w\\.-]+@[\\w\\.]+)?$/\r\n\r\nexport const phoneRegex = /^([(+]*[0-9 ]+[()+. -]*)$/\r\n// export const linkVideoRegex = /^(?:https?:\\/\\/)(vimeo\\.com\\/[0-9]+|(?:www\\.)?youtu(?:be\\.com\\/watch\\?v=|\\.be\\/)([\\w\\-\\_]*)(&(amp;)?[\\w\\?=]*)?|videocast\\.fccn\\.pt\\/.+)$/\r\n// export const linkVideoRegex = /^(?:https?:\\/\\/)(vimeo\\.com\\/[0-9]+|(?:www\\.)?youtu(?:be\\.com\\/(watch|playlist)\\?(v|list)=|\\.be\\/)([\\w\\-\\_]*)(&(amp;)?[\\w\\?=]*)?|videocast\\.fccn\\.pt\\/.+)?$/\r\nexport const linkVideoRegex = /^(?:https?:\\/\\/)(vimeo\\.com\\/[0-9]+|(?:www\\.)?youtu(?:be\\.com\\/(?:watch\\?v|playlist\\?list)=||\\.be\\/)([\\w\\-\\_]*)(&(amp;)?[\\w\\?=]*)?|videocast\\.fccn\\.pt\\/.+)?$/\r\n\r\nexport const defaultSeoImage = 'https://static.ua.pt/images/ua/sm-campus.png'\r\nexport const defaultHtmlTable = `\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
Header AHeader B
Célula ACélula B
`\r\n","import styled, { css } from 'styled-components/macro';\r\nimport { Field as FieldFormik } from 'formik';\r\nimport { applyStyleModifiers } from 'styled-components-modifiers';\r\n\r\nconst FIELD_MODIFIERS = {\r\n error: ({ theme }) => `\r\n border-bottom: ${theme.values.borderSize} solid ${theme.colors.danger};\r\n `,\r\n};\r\n\r\nexport const inputStyle = css`\r\n color: ${props => props.theme.colors.base};\r\n padding: ${props => `${props.theme.spacing.xs2} 0`};\r\n font-size: ${props => props.theme.sizes.s};\r\n font-weight: ${props => props.theme.weight.light};\r\n width: 100%;\r\n &::placeholder {\r\n color: ${props => props.theme.colors.grey};\r\n }\r\n border: 0;\r\n border-bottom: ${props => props.theme.values.borderSize} solid\r\n ${props => props.theme.colors.base};\r\n background-color: transparent;\r\n\r\n &:focus {\r\n outline: 0;\r\n border-bottom: ${props => props.theme.values.borderSize} solid\r\n ${props => props.theme.colors.base};\r\n }\r\n ${applyStyleModifiers(FIELD_MODIFIERS)};\r\n`\r\n\r\nconst Field = styled(FieldFormik)`\r\n ${inputStyle};\r\n`;\r\n\r\nexport default Field;\r\n","/* eslint-disable */\r\n\r\nimport PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport React from \"react\";\r\n\r\nfunction variantModifier(theme) {\r\n return {\r\n primary: `\r\n color: ${theme.components.button.primaryColor};\r\n background-color: ${theme.components.button.primaryBackgroundColor};\r\n border: 1px solid ${theme.components.button.primaryBorderColor};\r\n :hover {\r\n color:${theme.components.button.primaryHoverColor};\r\n background-color: ${theme.components.button.primaryHoverBackgroundColor};\r\n }\r\n :focus {\r\n outline: 2px solid ${theme.components.button.primaryFocus};\r\n }\r\n :before {\r\n background-color: ${theme.components.button.primaryIconBackgroundColor};\r\n }\r\n :after {\r\n color: ${theme.components.button.primaryIconColor};\r\n }\r\n `,\r\n dark: `\r\n color: ${theme.components.button.darkColor};\r\n background-color: ${theme.components.button.darkBackgroundColor};\r\n border: 1px solid ${theme.components.button.darkBorderColor};\r\n :hover {\r\n color: ${theme.components.button.darkHoverColor};\r\n background-color:${theme.components.button.darkHoverBackgroundColor};\r\n }\r\n :focus {\r\n outline: 2px solid ${theme.components.button.darkFocus};\r\n }\r\n :before {\r\n background-color: ${theme.components.button.darkIconBackgroundColor};\r\n }\r\n :after {\r\n color: ${theme.components.button.darkIconColor};\r\n }\r\n `,\r\n light: `\r\n color: ${theme.components.button.lightColor};\r\n background-color: ${theme.components.button.lightBackgroundColor};\r\n border: 1px solid ${theme.components.button.lightBorderColor};\r\n :hover {\r\n color: ${theme.components.button.lightHoverColor};\r\n background-color: ${theme.components.button.lightHoverBackgroundColor};\r\n }\r\n :focus {\r\n outline: 2px solid ${theme.components.button.lightFocus};\r\n }\r\n :before {\r\n background-color: ${theme.components.button.lightIconBackgroundColor};\r\n }\r\n :after {\r\n color: ${theme.components.button.lightIconColor};\r\n }\r\n `,\r\n default: `\r\n color: ${theme.components.button.color};\r\n background-color: ${theme.components.button.backgroundColor};\r\n border: 1px solid ${theme.components.button.borderColor};\r\n :hover {\r\n color: ${theme.components.button.hoverColor};\r\n background-color: ${theme.components.button.hoverBackgroundColor};\r\n }\r\n :focus {\r\n outline: 2px solid ${theme.components.button.focus};\r\n }\r\n :before {\r\n background-color: ${theme.components.button.iconBackgroundColor};\r\n }\r\n :after {\r\n color: ${theme.components.button.iconColor};\r\n }\r\n `\r\n };\r\n}\r\n\r\nconst Button = styled.button`\r\n /*\r\n -- Variant\r\n */\r\n ${props => variantModifier(props.theme)[props.variant || \"default\"]};\r\n /*\r\n -- Shared default Styles\r\n */\r\n font-size: ${props =>\r\n props.fontSize || props.theme.components.button.fontSize};\r\n font-weight: ${props =>\r\n props.fontWeight || props.theme.components.button.fontWeight};\r\n padding: ${props => props.padding || props.theme.components.button.padding};\r\n line-height: ${props =>\r\n props.lineHeight || props.theme.components.button.lineHeight};\r\n /*\r\n -- Always the same\r\n */\r\n border: ${props => props.border};\r\n color: ${props => props.color};\r\n background-color: ${props => props.backgroundColor};\r\n position: relative;\r\n border-radius: 0;\r\n cursor: pointer;\r\n /*\r\n -- Before & After for cutting effect\r\n */\r\n :before,\r\n :after {\r\n height: 36px;\r\n width: 36px;\r\n position: absolute;\r\n top: -20px;\r\n right: -19px;\r\n }\r\n\r\n :before {\r\n content: \"\";\r\n transform: rotate(45deg);\r\n background-color: ${props => props.backgroundColor};\r\n }\r\n\r\n :after {\r\n content: \"+\";\r\n color: ${props => props.color};\r\n font-size: 22px;\r\n font-weight: 100;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: transparent;\r\n }\r\n`;\r\n\r\nButton.propTypes = {\r\n variant: PropTypes.string.isRequired,\r\n fontSize: PropTypes.string,\r\n fontWeight: PropTypes.string,\r\n padding: PropTypes.string,\r\n lineHeight: PropTypes.string,\r\n border: PropTypes.string,\r\n color: PropTypes.string,\r\n backgroundColor: PropTypes.string\r\n};\r\n\r\nexport default Button;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n\r\nconst AnimatedBackground = styled.div`\r\n @keyframes placeHolderShimmer {\r\n 0% {\r\n background-position: -468px 0;\r\n }\r\n 100% {\r\n background-position: 468px 0;\r\n }\r\n }\r\n animation-duration: 1s;\r\n animation-fill-mode: forwards;\r\n animation-iteration-count: infinite;\r\n animation-name: placeHolderShimmer;\r\n animation-timing-function: linear;\r\n background: ${props =>\r\n props.theme.components.animatedBackground.backgroundColor};\r\n background: linear-gradient(\r\n to right,\r\n ${props => props.theme.components.animatedBackground.gradientColor[0]} 8%,\r\n ${props => props.theme.components.animatedBackground.gradientColor[1]} 18%,\r\n ${props => props.theme.components.animatedBackground.gradientColor[2]} 33%\r\n );\r\n background-size: 936px 104px;\r\n height: ${props => props.height};\r\n width: ${props => props.width};\r\n position: relative;\r\n`;\r\n\r\nAnimatedBackground.propTypes = {\r\n height: PropTypes.string,\r\n width: PropTypes.string\r\n};\r\n\r\nexport default AnimatedBackground;\r\n","/* eslint-disable */\r\n\r\nimport React from \"react\";\r\nimport styled from \"styled-components\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst LineTruncate = styled.div`\r\n display: table;\r\n table-layout: fixed;\r\n width: ${props => props.width || \"100%\"};\r\n white-space: nowrap;\r\n text-align: ${props => props.textAlign || \"left\"};\r\n\r\n > * {\r\n display: table-cell;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n }\r\n`;\r\n\r\nLineTruncate.propTypes = {\r\n width: PropTypes.string,\r\n textAlign: PropTypes.string\r\n};\r\n\r\nexport default LineTruncate;\r\n","/* eslint-disable */\r\n\r\nimport React from \"react\";\r\nimport styled from \"styled-components\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Triangle = styled.div`\r\n position: absolute;\r\n right: ${props => props.right};\r\n top: ${props => props.top};\r\n width: 0;\r\n height: 0;\r\n border-left: ${props => props.size} solid transparent;\r\n border-right: ${props => props.size} solid transparent;\r\n border-bottom: ${props => props.size} solid\r\n ${props => props.color || props.theme.components.triangle.color};\r\n\r\n ${props =>\r\n props.withContent &&\r\n `\r\n :before {\r\n content: \"${props.content || \"+\"}\";\r\n font-size: ${props.contentSize || \"14px\"}\r\n font-weight: ${props.contentFontWeight || \"100\"}\r\n color: ${props.contentColor || \"#fff\"}\r\n height: ${props.size};\r\n width: calc(${props.size} * 2);\r\n top: calc(${props.size} / 2);\r\n right: ${props.size};\r\n background-color: transparent;\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n align-self: center;\r\n }\r\n `};\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n border-left: ${props => props.XsSize} solid transparent;\r\n border-right: ${props => props.XsSize} solid transparent;\r\n border-bottom: ${props => props.XsSize} solid ${props => props.color};\r\n top: ${props => props.XsTop};\r\n\r\n ${props =>\r\n props.withContent &&\r\n `\r\n :before {\r\n font-size: ${props.XsContentSize || \"14px\"};\r\n height: ${props.XsSize};\r\n width: calc(${props.XsSize} * 2);\r\n top: calc(${props.XsSize} / 2);\r\n right: ${props.XsSize};\r\n }\r\n `};\r\n`;\r\n\r\nTriangle.defaultProps = {\r\n withContent: false\r\n};\r\n\r\nTriangle.propTypes = {\r\n right: PropTypes.string,\r\n top: PropTypes.string,\r\n size: PropTypes.string,\r\n color: PropTypes.string,\r\n rotate: PropTypes.string,\r\n XsSize: PropTypes.string,\r\n XsTop: PropTypes.string,\r\n withContent: PropTypes.bool,\r\n content: PropTypes.string,\r\n contentSize: PropTypes.string,\r\n contentFontWeight: PropTypes.string,\r\n XsContentSize: PropTypes.string,\r\n contentColor: PropTypes.string\r\n};\r\n\r\nexport default Triangle;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport theme from \"../../../styles/theme\";\r\nconst sizing = {\r\n xSmall: `\r\n font-size: ${theme.sizes.xs}; //12px\r\n `,\r\n small: `\r\n font-size: ${theme.sizes.s}; //14px\r\n `,\r\n mediumSmall: `\r\n font-size: ${theme.sizes.m}; //16px\r\n `,\r\n medium: `\r\n font-size: ${theme.sizes.l}; //18px\r\n `,\r\n large: `\r\n font-size: ${theme.sizes.xl2}; //22px\r\n `,\r\n xLarge: `\r\n font-size: ${theme.sizes.xl3m}; //28px\r\n `,\r\n xxLarge: `\r\n font-size: ${theme.sizes.xl4}; //32px\r\n `,\r\n xxxLarge: `\r\n font-size: ${theme.sizes.xl6}; //48px\r\n `\r\n};\r\n\r\nconst Text = styled.p.attrs(({ text, children, isThemeReverse, isSerif }) => ({\r\n children: text || children,\r\n isThemeReverse,\r\n isSerif\r\n}))`\r\n /*\r\n -- Size\r\n */\r\n ${props =>\r\n props.fontSize\r\n ? `font-size: ${props.fontSize}`\r\n : sizing[props.size || \"small\"]};\r\n /*\r\n -- Other props\r\n */\r\n font-family: ${props =>\r\n props.fontFamily ||\r\n (props.isSerif ? props.theme.type.serif : props.theme.type.base)};\r\n color: ${props =>\r\n props.color ||\r\n (props.isThemeReverse\r\n ? props.theme.components.text.colorReverse\r\n : props.theme.components.text.color)};\r\n line-height: ${props => props.lineHeight || \"1.5\"};\r\n font-weight: ${props => props.fontWeight || props.theme.weight.light};\r\n\r\n transform: ${props => props.transform};\r\n text-transform: ${props => props.textTransform};\r\n\r\n display: ${props => props.display};\r\n visibility: ${props => props.visibility};\r\n /*\r\n -- Margin\r\n */\r\n margin-top: ${props => props.marginTop};\r\n margin-right: ${props => props.marginRight};\r\n margin-bottom: ${props => props.marginBottom};\r\n margin-left: ${props => props.marginLeft};\r\n /*\r\n -- Padding\r\n */\r\n padding-top: ${props => props.paddingTop};\r\n padding-bottom: ${props => props.paddingBottom};\r\n\r\n word-break: break-word;\r\n\r\n :first-letter {\r\n text-transform: ${props => props.firstLetter};\r\n }\r\n\r\n /*\r\n -- Responsive\r\n */\r\n // Small devices (landscape phones, less than 768px)\r\n @media (max-width: 767px) {\r\n font-size: ${props => props.mobileSmFontSize};\r\n }\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n font-size: ${props => props.mobileXsFontSize};\r\n }\r\n`;\r\n\r\nText.defaultProps = {\r\n isThemeReverse: false,\r\n isSerif: false\r\n};\r\n\r\nText.propTypes = {\r\n fontSize: PropTypes.string,\r\n fontFamily: PropTypes.string,\r\n isSerif: PropTypes.bool,\r\n color: PropTypes.string,\r\n isThemeReverse: PropTypes.bool,\r\n lineHeight: PropTypes.string,\r\n fontWeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n display: PropTypes.string,\r\n visibility: PropTypes.string,\r\n textTransform: PropTypes.string,\r\n transform: PropTypes.string,\r\n marginTop: PropTypes.string,\r\n marginRight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n marginBottom: PropTypes.string,\r\n marginLeft: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n paddingTop: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n paddingBottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n firstLetter: PropTypes.string,\r\n mobileSmFontSize: PropTypes.string,\r\n mobileXsFontSize: PropTypes.string\r\n};\r\n\r\nexport default Text;\r\n","/*\r\n Accessibile hiding\r\n Use this component when you want to display content just for screen-readers\r\n https://a11y-guidelines.orange.com/web_EN/exemples/masquage/index.html\r\n*/\r\n\r\nimport styled from \"styled-components\";\r\n\r\nconst ScreenReaderText = styled.span`\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n margin: -1px;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n white-space: nowrap; /* added line */\r\n border: 0;\r\n`;\r\n\r\nexport default ScreenReaderText;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n//theme\r\nimport theme from \"../../../styles/theme.semantic\";\r\n\r\nconst Line = styled.div`\r\n transition: width 0.2s;\r\n height: ${props => props.height || theme.components.line.height + \"px\"};\r\n background-color: ${props => props.color || theme.components.line.color};\r\n margin-top: ${props =>\r\n props.marginTop || theme.components.line.marginTop + \"px\"};\r\n margin-bottom: ${props => props.marginBottom};\r\n width: ${props =>\r\n props.isHover\r\n ? props.theme.components.line.width +\r\n props.theme.components.line.widthDifference\r\n : props.theme.components.line.width -\r\n props.theme.components.line.widthDifference}px;\r\n`;\r\n\r\nLine.defaultProps = {\r\n width: theme.components.line.width + \"px\"\r\n};\r\n\r\nLine.propTypes = {\r\n width: PropTypes.string,\r\n height: PropTypes.string,\r\n color: PropTypes.string,\r\n marginTop: PropTypes.string,\r\n marginBottom: PropTypes.string,\r\n isHover: PropTypes.bool\r\n};\r\n\r\nexport default Line;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n\r\nconst Image = styled.img.attrs(({ className, src, alt }) => ({\r\n src: src,\r\n className: className,\r\n alt: alt\r\n}))`\r\n width: ${props => props.width || \"auto\"};\r\n height: ${props => props.height || \"auto\"};\r\n max-height: ${props => props.maxHeight};\r\n object-fit: ${props => props.objectFit || \"cover\"};\r\n border-radius: ${props => props.borderRadius};\r\n`;\r\n\r\nImage.defaultProps = {\r\n src: \"http://via.placeholder.com/150x150\",\r\n alt: \"image\"\r\n};\r\n\r\nImage.propTypes = {\r\n src: PropTypes.string.isRequired,\r\n alt: PropTypes.string,\r\n width: PropTypes.string,\r\n height: PropTypes.string,\r\n borderRadius: PropTypes.string,\r\n objectFit: PropTypes.string\r\n};\r\n\r\nexport default Image;\r\n","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport { lighten } from \"polished\";\r\n\r\nconst LinkStyles = styled.a.attrs(({ text, children }) => ({\r\n children: text || children\r\n}))`\r\n pointer-events: ${props => (props.disabled ? \"none\" : \"auto\")};\r\n color: ${props => props.color || props.theme.components.link.color};\r\n font-size: ${props => props.fontSize || props.theme.components.link.fontSize};\r\n line-height: ${props => props.lineHeight};\r\n font-weight: ${props =>\r\n props.fontWeight || props.theme.components.link.fontWeight};\r\n text-decoration: ${props => props.textDecoration || \"none\"};\r\n background: ${props => props.background || \"inherit\"};\r\n transform: ${props => props.transform};\r\n text-transform: ${props => props.textTransform};\r\n margin: ${props => props.margin};\r\n padding: ${props => props.padding};\r\n padding-bottom: ${props => props.paddingBottom};\r\n cursor: ${props => props.cursor || \"pointer\"};\r\n position: ${props => props.position};\r\n right: ${props => props.right};\r\n padding-right: ${props => props.paddingRight};\r\n border-right: ${props => props.borderRight};\r\n margin-bottom: ${props => props.marginBottom};\r\n margin-top: ${props => props.marginTop};\r\n display: ${props => props.display};\r\n height: ${props => props.height};\r\n width: ${props => props.width};\r\n text-decoration-color: ${props => props.textDecorationColor};\r\n -webkit-text-decoration-color: ${props => props.textDecorationColor};\r\n ${props => props.uppercase && \"text-transform: uppercase\"};\r\n ${props => props.opacity && \"opacity: 0.8\"};\r\n\r\n :focus {\r\n outline: 2px solid inherit;\r\n outline-offset: ${props => props.outlineOffset};\r\n }\r\n\r\n &:hover {\r\n text-decoration: ${props =>\r\n props.default ? \"none\" : props.fontDecoration};\r\n color: ${props =>\r\n props.default ? props.textDecorationColor : lighten(0.1, props.color)};\r\n ${props => props.lighten && `opacity: 0.5;`};\r\n text-decoration-color: ${props => props.textDecorationColor};\r\n -webkit-text-decoration-color: ${props => props.textDecorationColor};\r\n }\r\n\r\n // Medium devices (tablets, less than 992px)\r\n @media (max-width: 992px) {\r\n margin-bottom: ${props => props.mdMarginBottom};\r\n }\r\n\r\n // Small devices (landscape phones, less than 768px)\r\n @media (max-width: 767px) {\r\n font-size: ${props => props.mobileSmFontSize};\r\n }\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n font-size: ${props => props.mobileXsFontSize};\r\n }\r\n`;\r\n\r\nconst Link = ({ opacity, ...rest }) => ;\r\n\r\nLink.defaultProps = {\r\n href: \"#\",\r\n color: \"#000\",\r\n fontDecoration: \"underline\",\r\n uppercase: false,\r\n lighten: false,\r\n opacity: false,\r\n disabled: false,\r\n hasSameBackground: false\r\n};\r\n\r\nLink.propTypes = {\r\n color: PropTypes.string,\r\n href: PropTypes.string,\r\n fontSize: PropTypes.string,\r\n fontWeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n fontDecoration: PropTypes.string,\r\n uppercase: PropTypes.bool,\r\n lighten: PropTypes.bool,\r\n opacity: PropTypes.bool,\r\n cursor: PropTypes.string,\r\n disabled: PropTypes.bool,\r\n mobileSmFontSize: PropTypes.string,\r\n mobileXsFontSize: PropTypes.string,\r\n display: PropTypes.string,\r\n textDecoration: PropTypes.string,\r\n textDecorationColor: PropTypes.string,\r\n lineHeight: PropTypes.string,\r\n background: PropTypes.string\r\n};\r\n\r\nexport default Link;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n//theme\r\nimport theme from \"../../../styles/theme.semantic\";\r\n\r\nconst Input = styled.input`\r\n height: ${props => props.height || theme.components.input.height};\r\n width: ${props => props.width || \"100%\"};\r\n border: ${props => props.border || \"none\"};\r\n font-size: ${props => props.fontSize || theme.components.input.fontSize};\r\n padding: 0 8px 0 8px;\r\n\r\n :focus {\r\n outline: 2px solid ${props => props.theme.components.input.focus};\r\n }\r\n\r\n ::placeholder {\r\n color: ${props => props.color || theme.components.input.color};\r\n }\r\n`;\r\n\r\nInput.propTypes = {\r\n height: PropTypes.string,\r\n width: PropTypes.string,\r\n border: PropTypes.string,\r\n fontSize: PropTypes.string,\r\n color: PropTypes.string\r\n};\r\n\r\nexport default Input;\r\n","import Pagination from \"rc-pagination\";\r\nimport styled from \"styled-components\";\r\n\r\nexport default styled(Pagination)`\r\n .rc-pagination {\r\n font-size: 12px;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n padding: 0;\r\n }\r\n .rc-pagination > li {\r\n list-style: none;\r\n }\r\n .rc-pagination-total-text {\r\n float: left;\r\n height: 30px;\r\n line-height: 30px;\r\n list-style: none;\r\n padding: 0;\r\n margin: 0 8px 0 0;\r\n }\r\n .rc-pagination:after {\r\n content: \" \";\r\n display: block;\r\n height: 0;\r\n clear: both;\r\n overflow: hidden;\r\n visibility: hidden;\r\n }\r\n .rc-pagination-item {\r\n cursor: pointer;\r\n min-width: 16px;\r\n height: 28px;\r\n line-height: 28px;\r\n text-align: center;\r\n list-style: none;\r\n float: left;\r\n background-color: #fff;\r\n margin-right: 8px;\r\n }\r\n .rc-pagination-item a {\r\n text-decoration: none;\r\n color: #666;\r\n font-size: 0.75rem;\r\n }\r\n .rc-pagination-item:hover {\r\n color: #94d500;\r\n }\r\n .rc-pagination-item:hover a {\r\n color: #94d500;\r\n }\r\n .rc-pagination-item-disabled {\r\n cursor: not-allowed;\r\n }\r\n .rc-pagination-item-disabled:hover {\r\n color: #d9d9d9;\r\n }\r\n .rc-pagination-item-disabled:hover a {\r\n color: #d9d9d9;\r\n }\r\n .rc-pagination-item-active {\r\n color: #94d500;\r\n }\r\n .rc-pagination-item-active a {\r\n color: #94d500;\r\n }\r\n .rc-pagination-item-active:hover a {\r\n color: #94d500;\r\n }\r\n .rc-pagination-jump-prev:after,\r\n .rc-pagination-jump-next:after {\r\n content: \"•••\";\r\n display: block;\r\n letter-spacing: 2px;\r\n color: #ccc;\r\n font-size: 12px;\r\n margin-top: 1px;\r\n }\r\n .rc-pagination-jump-prev:hover:after,\r\n .rc-pagination-jump-next:hover:after {\r\n color: #94d500;\r\n }\r\n .rc-pagination-jump-prev:hover:after {\r\n content: \"«\";\r\n }\r\n .rc-pagination-jump-next:hover:after {\r\n content: \"»\";\r\n }\r\n .rc-pagination-jump-prev-custom-icon,\r\n .rc-pagination-jump-next-custom-icon {\r\n position: relative;\r\n }\r\n .rc-pagination-jump-prev-custom-icon:after,\r\n .rc-pagination-jump-next-custom-icon:after {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n margin: auto;\r\n transition: all 0.2s;\r\n content: \"•••\";\r\n opacity: 1;\r\n display: block;\r\n letter-spacing: 2px;\r\n color: #ccc;\r\n font-size: 12px;\r\n margin-top: 1px;\r\n }\r\n .rc-pagination-jump-prev-custom-icon .custom-icon-jump-prev,\r\n .rc-pagination-jump-next-custom-icon .custom-icon-jump-prev,\r\n .rc-pagination-jump-prev-custom-icon .custom-icon-jump-next,\r\n .rc-pagination-jump-next-custom-icon .custom-icon-jump-next {\r\n opacity: 0;\r\n transition: all 0.2s;\r\n }\r\n .rc-pagination-jump-prev-custom-icon:hover:after,\r\n .rc-pagination-jump-next-custom-icon:hover:after {\r\n opacity: 0;\r\n color: #ccc;\r\n }\r\n .rc-pagination-jump-prev-custom-icon:hover .custom-icon-jump-prev,\r\n .rc-pagination-jump-next-custom-icon:hover .custom-icon-jump-prev,\r\n .rc-pagination-jump-prev-custom-icon:hover .custom-icon-jump-next,\r\n .rc-pagination-jump-next-custom-icon:hover .custom-icon-jump-next {\r\n opacity: 1;\r\n color: #94d500;\r\n }\r\n .rc-pagination-prev,\r\n .rc-pagination-jump-prev,\r\n .rc-pagination-jump-next {\r\n margin-right: 8px;\r\n }\r\n .rc-pagination-prev,\r\n .rc-pagination-next,\r\n .rc-pagination-jump-prev,\r\n .rc-pagination-jump-next {\r\n cursor: pointer;\r\n color: #666;\r\n font-size: 10px;\r\n list-style: none;\r\n min-width: 28px;\r\n height: 28px;\r\n line-height: 28px;\r\n float: left;\r\n text-align: center;\r\n }\r\n .rc-pagination-prev a:after {\r\n content: \"‹\";\r\n display: block;\r\n }\r\n .rc-pagination-next a:after {\r\n content: \"›\";\r\n display: block;\r\n }\r\n .rc-pagination-prev,\r\n .rc-pagination-next {\r\n font-size: 18px;\r\n }\r\n .rc-pagination-prev a,\r\n .rc-pagination-next a {\r\n color: #666;\r\n }\r\n .rc-pagination-prev a:after,\r\n .rc-pagination-next a:after {\r\n margin-top: -1px;\r\n }\r\n .rc-pagination-disabled {\r\n cursor: not-allowed;\r\n }\r\n .rc-pagination-disabled a {\r\n color: #ccc;\r\n }\r\n .rc-pagination-options {\r\n float: left;\r\n margin-left: 15px;\r\n }\r\n .rc-pagination-options-size-changer {\r\n float: left;\r\n width: 80px;\r\n }\r\n .rc-pagination-options-quick-jumper {\r\n float: left;\r\n margin-left: 16px;\r\n height: 28px;\r\n line-height: 28px;\r\n }\r\n .rc-pagination-options-quick-jumper input {\r\n margin: 0 8px;\r\n box-sizing: border-box;\r\n background-color: #fff;\r\n outline: none;\r\n padding: 3px 12px;\r\n width: 50px;\r\n height: 28px;\r\n }\r\n .rc-pagination-options-quick-jumper input:hover {\r\n color: #94d500;\r\n }\r\n .rc-pagination-options-quick-jumper button {\r\n display: inline-block;\r\n margin: 0 8px;\r\n font-weight: 500;\r\n text-align: center;\r\n -ms-touch-action: manipulation;\r\n touch-action: manipulation;\r\n cursor: pointer;\r\n background-image: none;\r\n white-space: nowrap;\r\n padding: 0 15px;\r\n font-size: 12px;\r\n height: 28px;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n position: relative;\r\n color: rgba(0, 0, 0, 0.65);\r\n background-color: #fff;\r\n }\r\n .rc-pagination-options-quick-jumper button:hover,\r\n .rc-pagination-options-quick-jumper button:active,\r\n .rc-pagination-options-quick-jumper button:focus {\r\n color: #94d500;\r\n background-color: #fff;\r\n }\r\n .rc-pagination-simple .rc-pagination-prev,\r\n .rc-pagination-simple .rc-pagination-next {\r\n border: none;\r\n height: 24px;\r\n line-height: 24px;\r\n margin: 0;\r\n font-size: 18px;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager {\r\n float: left;\r\n margin-right: 8px;\r\n list-style: none;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager .rc-pagination-slash {\r\n margin: 0 10px;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager input {\r\n margin: 0 8px;\r\n box-sizing: border-box;\r\n background-color: #fff;\r\n outline: none;\r\n padding: 5px 8px;\r\n min-height: 20px;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager input:hover {\r\n color: #94d500;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager button {\r\n display: inline-block;\r\n margin: 0 8px;\r\n font-weight: 500;\r\n text-align: center;\r\n -ms-touch-action: manipulation;\r\n touch-action: manipulation;\r\n cursor: pointer;\r\n background-image: none;\r\n white-space: nowrap;\r\n padding: 0 8px;\r\n font-size: 12px;\r\n height: 26px;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n position: relative;\r\n color: rgba(0, 0, 0, 0.65);\r\n background-color: #fff;\r\n }\r\n .rc-pagination-simple .rc-pagination-simple-pager button:hover,\r\n .rc-pagination-simple .rc-pagination-simple-pager button:active,\r\n .rc-pagination-simple .rc-pagination-simple-pager button:focus {\r\n color: #94d500;\r\n background-color: #fff;\r\n }\r\n @media only screen and (max-width: 1024px) {\r\n .rc-pagination-item-after-jump-prev,\r\n .rc-pagination-item-before-jump-next {\r\n display: none;\r\n }\r\n }\r\n`;\r\n","/* eslint-disable */\r\n/* eslint-disable no-unused-vars */\r\nimport React, { useMemo } from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport styled from \"styled-components\";\r\n//utils\r\nimport { imageAPI, portalWWW } from \"../../../utils/constants\";\r\n\r\nconst breakpoints = {\r\n names: [\"xs\", \"sm\", \"md\", \"lg\"],\r\n mediaQueries: {\r\n xs: 576,\r\n sm: 768,\r\n md: 992,\r\n lg: 1200\r\n },\r\n sizes: {\r\n lg: {\r\n xs: 768,\r\n sm: 992,\r\n md: 1200,\r\n lg: 1920\r\n },\r\n md: {\r\n xs: 576,\r\n sm: 768,\r\n md: 992,\r\n lg: 1200\r\n },\r\n sm: {\r\n xs: 432,\r\n sm: 576,\r\n md: 768,\r\n lg: 992\r\n },\r\n xs: {\r\n xs: 324,\r\n sm: 432,\r\n md: 576,\r\n lg: 768\r\n }\r\n }\r\n};\r\n\r\nfunction Picture({\r\n src,\r\n isLocal,\r\n isVector,\r\n className,\r\n alt,\r\n size,\r\n useHeight,\r\n absoluteSize,\r\n ...props\r\n}) {\r\n const { names, mediaQueries, sizes } = breakpoints;\r\n const rest = Object.assign({}, props);\r\n delete rest.backgroundSize;\r\n delete rest.imagePosition;\r\n delete rest.backgroundColor;\r\n\r\n const onHandleSrc = size => {\r\n const param = useHeight ? \"height\" : \"width\";\r\n\r\n //A external image\r\n if (\r\n (src !== undefined && src !== null && src.includes(\"http\")) ||\r\n src.includes(\"data:image\")\r\n ) {\r\n return src;\r\n }\r\n\r\n return `${imageAPI}/image/resizer?imageUrl=${portalWWW}/${encodeURIComponent(\r\n src\r\n )}&${param}=${size}`;\r\n };\r\n\r\n // When the absoluteSize prop is defined it uses that size for the image query\r\n const isAbsolute = useMemo(() => !!absoluteSize, [absoluteSize]);\r\n const defaultSrc = useMemo(() => {\r\n if (!isAbsolute) return onHandleSrc(sizes[size].lg);\r\n return onHandleSrc(absoluteSize);\r\n }, [isAbsolute, src]);\r\n\r\n return (\r\n
\r\n \r\n {!isAbsolute &&\r\n breakpoints.names.map(breakpoint => (\r\n \r\n ))}\r\n {alt}\r\n \r\n
\r\n );\r\n}\r\n\r\nPicture.defaultProps = {\r\n isLocal: true,\r\n isVector: false,\r\n backgroundColor: \"transparent\",\r\n backgroundSize: \"fill\",\r\n imagePosition: \"center\",\r\n size: \"md\",\r\n useHeight: false,\r\n absoluteSize: null\r\n};\r\n\r\nPicture.propTypes = {\r\n src: PropTypes.string.isRequired,\r\n isLocal: PropTypes.bool,\r\n isVector: PropTypes.bool,\r\n alt: PropTypes.string.isRequired,\r\n imagePosition: PropTypes.string,\r\n size: PropTypes.oneOf([\"xs\", \"sm\", \"md\", \"lg\"]),\r\n useHeight: PropTypes.bool,\r\n absoluteSize: PropTypes.string\r\n};\r\n\r\nexport default styled(Picture)`\r\n /* Without line height 0 there be a weird white spacing below the images */\r\n line-height: 0;\r\n background: ${props => props.backgroundColor};\r\n img {\r\n object-fit: ${props => props.backgroundSize};\r\n object-position: ${props => props.imagePosition};\r\n width: 100%;\r\n height: ${props => props.height};\r\n }\r\n // Small devices (landscape phones, less than 768px)\r\n @media (max-width: 767px) {\r\n img {\r\n height: ${props => props.smHeight};\r\n }\r\n }\r\n`;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport theme from \"../../../styles/theme\";\r\nconst imagePlaceholder = `https://via.placeholder.com/1920x400/fff/000`;\r\n\r\nconst ImageContainer = styled.div`\r\n height: ${props => props.height};\r\n width: ${props => props.width};\r\n background-image: url(${props =>\r\n props.url === \"\" ? imagePlaceholder : props.url});\r\n background-color: ${props => props.backgroundColor};\r\n background-size: ${props => props.backgroundSize};\r\n -webkit-background-size: ${props => props.backgroundSize};\r\n -moz-background-size: ${props => props.backgroundSize};\r\n -o-background-size: ${props => props.backgroundSize};\r\n background-position: ${props => props.backgroundPosition};\r\n background-repeat: ${props => props.backgroundRepeat};\r\n background-attachment: ${props => props.backgroundAttachment};\r\n\r\n // Medium devices (tablets, less than 992px)\r\n @media (max-width: 991px) {\r\n height: ${props => props.mdHeight};\r\n }\r\n`;\r\n\r\nImageContainer.propTypes = {\r\n width: PropTypes.string,\r\n height: PropTypes.string,\r\n url: PropTypes.string,\r\n backgroundColor: PropTypes.string,\r\n backgroundSize: PropTypes.string,\r\n backgroundPosition: PropTypes.string,\r\n backgroundRepeat: PropTypes.string,\r\n backgroundAttachment: PropTypes.string\r\n};\r\n\r\nImageContainer.defaultProps = {\r\n height: \"auto\",\r\n width: \"auto\",\r\n url: imagePlaceholder,\r\n backgroundColor: theme.colors.white,\r\n backgroundSize: \"cover\",\r\n backgroundPosition: \"center 40%\",\r\n backgroundRepeat: \"no-repeat\",\r\n backgroundAttachment: \"initial\"\r\n};\r\n\r\nexport default ImageContainer;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport theme from \"../../../styles/theme\";\r\n\r\nconst HorizontalList = styled.ul`\r\n width: 100%;\r\n position: ${props => props.position};\r\n left: ${props => props.left};\r\n\r\n li {\r\n display: ${props => props.display};\r\n }\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n text-align: ${props => props.xsTextAlign};\r\n }\r\n`;\r\n\r\nHorizontalList.propTypes = {\r\n display: PropTypes.string,\r\n spacing: PropTypes.string\r\n};\r\n\r\nHorizontalList.defaultProps = {\r\n display: \"inline\",\r\n spacing: theme.spacing.s\r\n};\r\n\r\nexport default HorizontalList;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n\r\nconst VerticalList = styled.ul`\r\n margin-top: ${props => props.marginTop};\r\n margin-bottom: ${props => props.marginBottom};\r\n li {\r\n line-height: ${props => props.lineHeight};\r\n list-style-type: ${props => props.listStyleType};\r\n\r\n padding-top: ${props => props.listPaddingTop};\r\n padding-bottom: ${props => props.listPaddingBottom};\r\n\r\n :last-child {\r\n margin-bottom: ${props => props.marginBottom};\r\n }\r\n }\r\n`;\r\n\r\nVerticalList.defaultProps = {\r\n marginTop: \"0\",\r\n marginBottom: \"0\",\r\n lineHeight: \"normal\",\r\n listStyleType: \"none\"\r\n};\r\n\r\nVerticalList.propTypes = {\r\n marginTop: PropTypes.string,\r\n marginBottom: PropTypes.string,\r\n lineHeight: PropTypes.string,\r\n listPaddingTop: PropTypes.string,\r\n listPaddingBottom: PropTypes.string\r\n};\r\n\r\nexport default VerticalList;\r\n","import PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport theme from \"../../../styles/theme.semantic\";\r\n\r\nconst ListItem = styled.li`\r\n margin-top: ${props => props.marginTop};\r\n margin-bottom: ${props => props.marginBottom};\r\n margin-right: ${props => props.marginRight};\r\n margin-left: ${props => props.marginLeft};\r\n padding-right: ${props => props.paddingRight};\r\n padding-left: ${props => props.paddingLeft};\r\n padding-top: ${props => props.paddingTop};\r\n padding-bottom: ${props => props.paddingBottom};\r\n border-top: ${props => props.borderTop};\r\n border-bottom: ${props => props.borderBottom};\r\n border-right: ${props => props.borderRight};\r\n border-left: ${props => props.borderLeft};\r\n line-height: ${props => props.lineHeight};\r\n height: ${props => props.height};\r\n vertical-align: ${props => props.verticalAlign};\r\n\r\n ${props =>\r\n props.separationLine\r\n ? `\r\n border-right: 0.75pt solid ${props.lineColor || \"#e6e6e6\"}; \r\n padding: ${props.padding || \"0 12px 0 12px\"};\r\n &:last-child{\r\n padding-right: 0;\r\n border-right: none;\r\n }\r\n &:first-child{\r\n padding-left: 0;\r\n }\r\n `\r\n : null};\r\n`;\r\n\r\nListItem.propTypes = {\r\n marginTop: PropTypes.string,\r\n marginBottom: PropTypes.string,\r\n paddingTop: PropTypes.string,\r\n paddingBottom: PropTypes.string,\r\n borderTop: PropTypes.string,\r\n borderBottom: PropTypes.string,\r\n separationLine: PropTypes.bool,\r\n lineColor: PropTypes.string,\r\n padding: PropTypes.string\r\n};\r\n\r\nListItem.defaultProps = {\r\n marginTop: \"0\",\r\n marginBottom: \"0\",\r\n paddingTop: \"0\",\r\n paddingBottom: \"0\",\r\n borderTop: \"none\",\r\n borderBottom: \"none\",\r\n separationLine: false,\r\n lineColor: theme.components.ListItem.lineColor,\r\n padding: \"0 12px 0 12px\"\r\n};\r\n\r\nexport default ListItem;\r\n","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\n//theme\r\nimport theme from \"../../../styles/theme.semantic\";\r\n\r\nfunction Title({ className, text, children, tag, tabIndex }) {\r\n switch (tag) {\r\n case \"h1\":\r\n return (\r\n

\r\n {children || text}\r\n

\r\n );\r\n case \"h3\":\r\n return (\r\n

\r\n {children || text}\r\n

\r\n );\r\n default:\r\n return (\r\n

\r\n {children || text}\r\n

\r\n );\r\n }\r\n}\r\n\r\nTitle.defaultProps = {\r\n tag: \"h2\"\r\n};\r\n\r\nTitle.propTypes = {\r\n tag: PropTypes.string,\r\n text: PropTypes.string\r\n};\r\n\r\nconst TitleWithStyles = styled(Title)`\r\n font-size: ${props => props.fontSize || \"28px\"};\r\n color: ${props => props.color || \"#000\"};\r\n cursor: ${props => props.cursor};\r\n line-height: ${props => props.lineHeight || \"1.4\"};\r\n font-style: ${props => props.fontStyle || \"normal\"};\r\n font-weight: ${props => props.fontWeight || \"500\"};\r\n margin-bottom: ${props => props.marginBottom};\r\n margin-top: ${props => props.marginTop};\r\n display: ${props => props.display};\r\n font-family: ${props =>\r\n props.alternativeStyle ? props.theme.type.serif : props.fontFamily};\r\n word-break: ${props => props.break};\r\n text-transform: ${props => props.textTransform};\r\n :first-letter {\r\n text-transform: ${props => props.firstLetter};\r\n }\r\n\r\n :focus {\r\n outline: 2px solid inherit;\r\n }\r\n\r\n // Medium devices (tablets, less than 992px)\r\n @media (max-width: 991px) {\r\n color: ${props => props.mobileMdColor};\r\n }\r\n\r\n // Small devices (landscape phones, less than 768px)\r\n @media (max-width: 767px) {\r\n font-size: ${props => props.mobileSmFontSize};\r\n }\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n font-size: ${props => props.mobileXsFontSize};\r\n }\r\n`;\r\n\r\nTitleWithStyles.defaultProps = {\r\n fontFamily: theme.components.title.fontFamily,\r\n alternativeStyle: false\r\n};\r\n\r\nTitleWithStyles.propTypes = {\r\n fontSize: PropTypes.string,\r\n color: PropTypes.string,\r\n lineHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n fontWeight: PropTypes.string,\r\n marginBottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n marginTop: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n fontStyle: PropTypes.string,\r\n text: PropTypes.string,\r\n fontFamily: PropTypes.string,\r\n mobileSmFontSize: PropTypes.string,\r\n mobileXsFontSize: PropTypes.string,\r\n alternativeStyle: PropTypes.bool,\r\n mobileMdColor: PropTypes.string\r\n};\r\n\r\nexport default TitleWithStyles;\r\n","import React, { useState, useMemo } from \"react\";\r\nimport styled from \"styled-components\";\r\nimport PropTypes from \"prop-types\";\r\nimport { useMousePosition } from \"hooks\";\r\nimport { Portal } from \"components/atoms\";\r\nimport { lighten } from \"polished\";\r\n\r\nconst Link = styled.a`\r\n color: #000;\r\n font-size: ${props => props.theme.sizes.s};\r\n &:hover {\r\n text-decoration-color: inherit;\r\n }\r\n`;\r\n\r\nconst HelperStyled = styled.div`\r\n background-color: ${props => lighten(0.34, props.activeColor)};\r\n position: absolute;\r\n z-index: 9999;\r\n font-size: ${props => props.theme.sizes.xs};\r\n top: ${props => props.mouseY}px;\r\n left: ${props => props.mouseX}px;\r\n transform: translateY(-110%);\r\n padding: ${props => props.theme.spacing.xs3};\r\n font-weight: ${props => props.theme.weight.light};\r\n`;\r\n\r\nconst Helper = ({ children, activeColor }) => {\r\n const { x: mouseX, y: mouseY } = useMousePosition();\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nHelper.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n activeColor: PropTypes.string\r\n};\r\n\r\nconst LinkExternal = ({ href, children, activeColor, hasPop }) => {\r\n const [isHover, setHover] = useState(false);\r\n const cleanUrl = useMemo(\r\n () => href.replace(/^(?:https?:\\/\\/)?(?:www\\.)?/i, \"\"),\r\n [href]\r\n );\r\n\r\n return (\r\n setHover(true)}\r\n onMouseLeave={() => setHover(false)}\r\n className=\"link-external\"\r\n rel=\"noopener\"\r\n native\r\n >\r\n {children}\r\n {hasPop && isHover && (\r\n \r\n {cleanUrl}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nLinkExternal.defaultProps = {\r\n href: \"#\",\r\n hasPop: true\r\n};\r\n\r\nLinkExternal.propTypes = {\r\n href: PropTypes.string.isRequired,\r\n children: PropTypes.node.isRequired,\r\n activeColor: PropTypes.string\r\n};\r\n\r\nexport default LinkExternal;\r\n","import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\n//Styles\r\nimport styled from \"styled-components\";\r\nimport { darken } from \"polished\";\r\n\r\nconst ContentContainer = styled.div`\r\n background-color: ${props => props.backgroundColor};\r\n box-shadow: ${props => props.boxShadow};\r\n\r\n border: ${props => props.border};\r\n border-radius: ${props => props.borderRadius};\r\n border-top: ${props => props.borderTop};\r\n border-bottom: ${props => props.borderBottom};\r\n border-left: ${props => props.borderLeft};\r\n\r\n margin: ${props => props.margin};\r\n margin-top: ${props => props.marginTop};\r\n margin-right: ${props => props.marginRight};\r\n margin-bottom: ${props => props.marginBottom};\r\n margin-left: ${props => props.marginLeft};\r\n\r\n padding: ${props => props.padding};\r\n padding-top: ${props => props.paddingTop};\r\n padding-bottom: ${props => props.paddingBottom};\r\n padding-right: ${props => props.paddingRight};\r\n padding-left: ${props => props.paddingLeft};\r\n\r\n color: ${props => props.color};\r\n text-align: ${props => props.textAlign};\r\n transform: ${props => props.transform};\r\n\r\n display: ${props => props.display};\r\n justify-content: ${props => props.justifyContent};\r\n flex-direction: ${props => props.flexDirection};\r\n align-items: ${props => props.alignItems};\r\n flex-grow: ${props => props.flexGrow};\r\n\r\n width: ${props => props.width};\r\n height: ${props => props.height};\r\n min-height: ${props => props.minHeight};\r\n max-height: ${props => props.maxHeight};\r\n z-index: ${props => props.zIndex};\r\n cursor: ${props => props.cursor};\r\n\r\n position: ${props => props.position};\r\n top: ${props => props.top};\r\n right: ${props => props.right};\r\n bottom: ${props => props.bottom};\r\n left: ${props => props.left};\r\n\r\n overflow: ${props => props.overflow};\r\n overflow-x: ${props => props.overflowX};\r\n\r\n float: ${props => props.float};\r\n clear: ${props => props.clear};\r\n\r\n ${props =>\r\n props.verticalAlign ? \"display: flex; align-items: center;\" : null};\r\n\r\n ${props =>\r\n props.hasLink &&\r\n `:hover {\r\n ${props.lighten && \"opacity: 0.5;\"};\r\n ${props.pointer && \"cursor: pointer;\"};\r\n }`}\r\n\r\n ${props =>\r\n props.behavior === \"button\" &&\r\n `&:hover {\r\n cursor: pointer;\r\n background-color: ${darken(0.1, props.backgroundColor)};\r\n }`}\r\n\r\n :last-child {\r\n border-bottom: ${props => props.lastChildBorderBottom};\r\n }\r\n\r\n ${props =>\r\n props.underlineWithAnimation &&\r\n `:after {\r\n content: \"\";\r\n display: block;\r\n position: absolute;\r\n width: ${props.active ? \"100%\" : \"0\"};\r\n height: 3px;\r\n background-color: ${\r\n props.active ? props.underlineAnimationColor || \"#000\" : \"transparent\"\r\n };\r\n transition: width 0.4s ease;\r\n -webkit-transition: width 0.4s ease;\r\n bottom: 0px;\r\n }\r\n :hover {\r\n :after {\r\n background-color: ${props.underlineAnimationColor || \"#000\"};\r\n width: 100%;\r\n }\r\n }`};\r\n\r\n // Large devices (desktops, less than 1200px)\r\n @media (max-width: 1199px) {\r\n margin-top: ${props => props.lgMargintop};\r\n margin-right: ${props => props.mobileLgMarginRight};\r\n margin-bottom: ${props => props.lgMarginBottom};\r\n margin-left: ${props => props.mobileLgMarginLeft};\r\n\r\n padding-top: ${props => props.mobileLgPaddingTop};\r\n padding-right: ${props => props.mobileLgPaddingRight};\r\n padding-bottom: ${props => props.mobileLgPaddingBottom};\r\n padding-left: ${props => props.mobileLgPaddingLeft};\r\n\r\n border-top: ${props => props.mobileLgBorderTop};\r\n border-bottom: ${props => props.mobileLgBorderBottom};\r\n\r\n display: ${props => props.mobileXlDisplay};\r\n width: ${props => props.mobileXlWidth};\r\n }\r\n\r\n // Medium devices (tablets, less than 992px)\r\n @media (max-width: 991px) {\r\n height: ${props => props.mdHeight};\r\n background-color: ${props => props.mobileMdBgColor};\r\n display: ${props => props.mobileMdDisplay};\r\n top: ${props => props.mobileMdTop};\r\n width: ${props => props.mobileMdWidth};\r\n\r\n margin-top: ${props => props.mdMargintop};\r\n margin-right: ${props => props.mobileMdMarginRight};\r\n margin-bottom: ${props => props.mdMarginBottom};\r\n margin-left: ${props => props.mobileMdMarginLeft};\r\n\r\n padding: ${props => props.mdPadding};\r\n padding-top: ${props => props.mobileMdPaddingTop};\r\n padding-bottom: ${props => props.mobileMdPaddingBottom};\r\n\r\n border-bottom: ${props => props.mobileMdBorderBottom};\r\n border-top: ${props => props.mobileMdBorderTop};\r\n }\r\n\r\n // Small devices (landscape phones, less than 768px)\r\n @media (max-width: 767px) {\r\n height: ${props => props.smHeight};\r\n width: ${props => props.mobileSmWidth};\r\n top: ${props => props.smTop};\r\n\r\n margin-top: ${props => props.smMargintop};\r\n margin-right: ${props => props.mobileSmMarginRight};\r\n margin-bottom: ${props => props.smMarginbottom};\r\n margin-left: ${props => props.mobileSmMarginLeft};\r\n\r\n padding-left: ${props => props.mobileSmPaddingLeft};\r\n padding-right: ${props => props.mobileSmPaddingRight};\r\n padding-top: ${props => props.mobileSmPaddingTop};\r\n }\r\n\r\n // Extra small devices (portrait phones, less than 576px)\r\n @media (max-width: 575px) {\r\n width: ${props => props.mobileXsWidth};\r\n height: ${props => props.mobileXsHeight};\r\n top: ${props => props.xsTop};\r\n display: ${props => props.mobileXsDisplay};\r\n\r\n margin-top: ${props => props.mobileXsMarginTop};\r\n margin-right: ${props => props.mobileXsMarginRight};\r\n margin-left: ${props => props.mobileXsMarginLeft};\r\n margin-bottom: ${props => props.mobileXsMarginBottom};\r\n\r\n padding-top: ${props => props.mobileXsPaddingTop};\r\n padding-bottom: ${props => props.mobileXsPaddingBottom};\r\n\r\n border-bottom: ${props => props.mobileXsBorderBottom};\r\n border-top: ${props => props.mobileXsBorderTop};\r\n }\r\n`;\r\n\r\nconst types = {\r\n children: PropTypes.node,\r\n backgroundColor: PropTypes.string,\r\n boxShadow: PropTypes.string,\r\n\r\n border: PropTypes.string,\r\n borderRadius: PropTypes.string,\r\n borderTop: PropTypes.string,\r\n borderBottom: PropTypes.string,\r\n borderLeft: PropTypes.string,\r\n\r\n margin: PropTypes.string,\r\n marginTop: PropTypes.string,\r\n marginRight: PropTypes.string,\r\n marginBottom: PropTypes.string,\r\n marginLeft: PropTypes.string,\r\n\r\n padding: PropTypes.string,\r\n paddingTop: PropTypes.string,\r\n paddingBottom: PropTypes.string,\r\n paddingRight: PropTypes.string,\r\n paddingLeft: PropTypes.string,\r\n\r\n color: PropTypes.string,\r\n textAlign: PropTypes.string,\r\n transform: PropTypes.string,\r\n\r\n display: PropTypes.string,\r\n justifyContent: PropTypes.string,\r\n flexDirection: PropTypes.string,\r\n alignItems: PropTypes.string,\r\n flexGrow: PropTypes.string,\r\n\r\n width: PropTypes.string,\r\n height: PropTypes.string,\r\n minHeight: PropTypes.string,\r\n maxHeight: PropTypes.string,\r\n zIndex: PropTypes.string,\r\n cursor: PropTypes.string,\r\n\r\n position: PropTypes.string,\r\n top: PropTypes.string,\r\n right: PropTypes.string,\r\n bottom: PropTypes.string,\r\n left: PropTypes.string,\r\n\r\n overflow: PropTypes.string,\r\n overflowX: PropTypes.string,\r\n\r\n float: PropTypes.string,\r\n clear: PropTypes.string,\r\n\r\n underlineWithAnimation: PropTypes.bool,\r\n\r\n lgMargintop: PropTypes.string,\r\n mobileLgMarginRight: PropTypes.string,\r\n lgMarginBottom: PropTypes.string,\r\n mobileLgMarginLeft: PropTypes.string,\r\n\r\n mobileLgPaddingTop: PropTypes.string,\r\n mobileLgPaddingRight: PropTypes.string,\r\n mobileLgPaddingBottom: PropTypes.string,\r\n mobileLgPaddingLeft: PropTypes.string,\r\n\r\n mobileLgBorderTop: PropTypes.string,\r\n mobileLgBorderBottom: PropTypes.string,\r\n\r\n mobileXlDisplay: PropTypes.string,\r\n mobileXlWidth: PropTypes.string,\r\n\r\n mdHeight: PropTypes.string,\r\n mobileMdBgColor: PropTypes.string,\r\n mobileMdDisplay: PropTypes.string,\r\n mobileMdTop: PropTypes.string,\r\n mobileMdWidth: PropTypes.string,\r\n\r\n mdMargintop: PropTypes.string,\r\n mobileMdMarginRight: PropTypes.string,\r\n mdMarginBottom: PropTypes.string,\r\n mobileMdMarginLeft: PropTypes.string,\r\n\r\n mdPadding: PropTypes.string,\r\n mobileMdPaddingTop: PropTypes.string,\r\n mobileMdPaddingBottom: PropTypes.string,\r\n\r\n mobileMdBorderBottom: PropTypes.string,\r\n mobileMdBorderTop: PropTypes.string,\r\n\r\n smHeight: PropTypes.string,\r\n mobileSmWidth: PropTypes.string,\r\n smTop: PropTypes.string,\r\n\r\n smMargintop: PropTypes.string,\r\n mobileSmMarginRight: PropTypes.string,\r\n smMarginbottom: PropTypes.string,\r\n mobileSmMarginLeft: PropTypes.string,\r\n\r\n mobileSmPaddingLeft: PropTypes.string,\r\n mobileSmPaddingRight: PropTypes.string,\r\n mobileSmPaddingTop: PropTypes.string,\r\n\r\n mobileXsWidth: PropTypes.string,\r\n mobileXsHeight: PropTypes.string,\r\n xsTop: PropTypes.string,\r\n mobileXsDisplay: PropTypes.string,\r\n\r\n mobileXsMarginTop: PropTypes.string,\r\n mobileXsMarginRight: PropTypes.string,\r\n mobileXsMarginLeft: PropTypes.string,\r\n mobileXsMarginBottom: PropTypes.string,\r\n\r\n mobileXsPaddingTop: PropTypes.string,\r\n mobileXsPaddingBottom: PropTypes.string,\r\n\r\n mobileXsBorderBottom: PropTypes.string,\r\n mobileXsBorderTop: PropTypes.string\r\n};\r\n\r\nconst defaults = {\r\n hasLink: true\r\n};\r\n\r\nContentContainer.propTypes = types;\r\n\r\nContentContainer.defaultProps = defaults;\r\n\r\nexport default ContentContainer;\r\n\r\n//Only used for the Storybook Props Table\r\nexport const WithProps = ({ children, ...props }) => (\r\n {children}\r\n);\r\n\r\nWithProps.propTypes = types;\r\n\r\nWithProps.defaultProps = defaults;\r\n","import React from \"react\";\r\nimport styled from \"styled-components\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst LineTruncate = styled.div`\r\n display: table;\r\n table-layout: fixed;\r\n width: ${props => props.width || \"100%\"};\r\n white-space: nowrap;\r\n text-align: ${props => props.textAlign || \"left\"};\r\n\r\n > * {\r\n display: table-cell;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n }\r\n`;\r\n\r\nconst types = {\r\n width: PropTypes.string,\r\n textAlign: PropTypes.string,\r\n children: PropTypes.node\r\n};\r\nLineTruncate.propTypes = types;\r\n\r\nexport default LineTruncate;\r\n\r\n//Only used for the Storybook Props Table\r\nexport const WithProps = ({ children, ...props }) => (\r\n {children}\r\n);\r\n\r\nWithProps.propTypes = types;\r\n","import React from \"react\";\r\nimport styled, { withTheme } from \"styled-components\";\r\nimport PropTypes from \"prop-types\";\r\nimport Icon from \"../Icon\";\r\n\r\nconst ScrollMore = ({ className, onClick, theme }) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nScrollMore.propTypes = {\r\n className: PropTypes.string,\r\n theme: PropTypes.object,\r\n onClick: PropTypes.func\r\n};\r\n\r\nconst ScrollMoreWithStyles = styled(ScrollMore)`\r\n height: ${props => props.height || \"50px\"};\r\n width: 100%;\r\n position: ${props => props.position || \"relative\"};\r\n bottom: ${props => props.bottom || \"initial\"};\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n z-index: 2;\r\n button {\r\n background-color: transparent;\r\n height: 100%;\r\n width: 100%;\r\n border: none;\r\n cursor: pointer;\r\n i {\r\n -webkit-animation: bouncey 1.6s linear infinite;\r\n animation: bouncey 1.6s linear infinite;\r\n }\r\n }\r\n\r\n @keyframes bouncey {\r\n 0% {\r\n transform: translateY(0);\r\n -webkit-transform: translateY(0);\r\n -moz-transform: translateY(0);\r\n }\r\n 50% {\r\n transform: translateY(4px);\r\n -webkit-transform: translateY(4px);\r\n -moz-transform: translateY(4px);\r\n }\r\n 100% {\r\n transform: translateY(0);\r\n -webkit-transform: translateY(0);\r\n -moz-transform: translateY(0);\r\n }\r\n }\r\n`;\r\n\r\nexport default withTheme(ScrollMoreWithStyles);\r\n","/*\r\n Centralized PropTypes\r\n Read more here: https://medium.freecodecamp.org/react-pattern-centralized-proptypes-f981ff672f3b\r\n*/\r\n\r\nimport PropTypes from 'prop-types';\r\nimport { status } from 'context/EditorContext'\r\n\r\nconst {\r\n shape,\r\n string,\r\n func,\r\n number,\r\n oneOfType,\r\n arrayOf,\r\n bool,\r\n} = PropTypes;\r\n\r\nconst pageCardShape = shape({\r\n height: string.isRequired,\r\n width: string.isRequired,\r\n});\r\n\r\nconst headerShape = shape({\r\n color: string.isRequired,\r\n});\r\n\r\nexport const themeType = shape({\r\n colors: shape({\r\n base: string.isRequired,\r\n baseInverse: string.isRequired,\r\n baseLighter: string.isRequired,\r\n bg: string.isRequired,\r\n bgAnimation: string.isRequired,\r\n bgDark: string.isRequired,\r\n bgFocus: string.isRequired,\r\n bgLighter: string.isRequired,\r\n bgLighterS: string.isRequired,\r\n bgPrimary: string.isRequired,\r\n black: string.isRequired,\r\n blackLight: string.isRequired,\r\n blue: string.isRequired,\r\n blueFocus: string.isRequired,\r\n blueLight: string.isRequired,\r\n border: string.isRequired,\r\n borderBtn: string.isRequired,\r\n borderLighter: string.isRequired,\r\n danger: string.isRequired,\r\n dangerDarker: string.isRequired,\r\n dangerLighter: string.isRequired,\r\n editorBg: string.isRequired,\r\n editorHighlight: string.isRequired,\r\n green: string.isRequired,\r\n grey: string.isRequired,\r\n greyDark: string.isRequired,\r\n greyLighS: string.isRequired,\r\n greyLight: string.isRequired,\r\n greyLightM: string.isRequired,\r\n greyLighter: string.isRequired,\r\n orange: string.isRequired,\r\n primary: string.isRequired,\r\n primaryDarker: string.isRequired,\r\n primaryLighter: string.isRequired,\r\n red: string.isRequired,\r\n redDarker: string.isRequired,\r\n redLighter: string.isRequired,\r\n warn: string.isRequired,\r\n warnDark: string.isRequired,\r\n warnLighter: string.isRequired,\r\n white: string.isRequired,\r\n whiteDarker: string.isRequired,\r\n yellow: string.isRequired,\r\n }).isRequired,\r\n components: shape({\r\n button: shape({\r\n fontSize: string.isRequired,\r\n fontWeight: string.isRequired,\r\n }).isRequired,\r\n form: shape({\r\n maxWidth: string.isRequired,\r\n }).isRequired,\r\n layout: shape({\r\n backgroundColor: string.isRequired,\r\n paddingHorizontal: string.isRequired,\r\n paddingVertical: string.isRequired,\r\n widthNav: string.isRequired,\r\n }).isRequired,\r\n menuHeader: shape({\r\n width: string.isRequired,\r\n }).isRequired,\r\n navActions: shape({\r\n backgroundColor: string.isRequired,\r\n width: string.isRequired,\r\n }).isRequired,\r\n navGlobal: shape({\r\n paddingRight: string.isRequired,\r\n width: string.isRequired,\r\n widthClosed: string.isRequired,\r\n }).isRequired,\r\n pageCard: pageCardShape.isRequired,\r\n sectionCard: pageCardShape.isRequired,\r\n table: shape({\r\n header: headerShape.isRequired,\r\n }).isRequired,\r\n text: headerShape.isRequired,\r\n }).isRequired,\r\n shadows: shape({\r\n base: string.isRequired,\r\n button: string.isRequired,\r\n card: string.isRequired,\r\n icon: string.isRequired,\r\n }).isRequired,\r\n sizes: shape({\r\n l: string.isRequired,\r\n m: string.isRequired,\r\n s: string.isRequired,\r\n xl: string.isRequired,\r\n xl2: string.isRequired,\r\n xl3: string.isRequired,\r\n xl4: string.isRequired,\r\n xl5: string.isRequired,\r\n xl6: string.isRequired,\r\n xl7: string.isRequired,\r\n xs: string.isRequired,\r\n xs2: string.isRequired,\r\n xs3: string.isRequired,\r\n }).isRequired,\r\n spacing: shape({\r\n l: string.isRequired,\r\n m: string.isRequired,\r\n s: string.isRequired,\r\n sm: string.isRequired,\r\n xl: string.isRequired,\r\n xl1: string.isRequired,\r\n xl2: string.isRequired,\r\n xl3: string.isRequired,\r\n xl4: string.isRequired,\r\n xl5: string.isRequired,\r\n xl6: string.isRequired,\r\n xs: string.isRequired,\r\n xs2: string.isRequired,\r\n xs3: string.isRequired,\r\n xs4: string.isRequired,\r\n }).isRequired,\r\n type: shape({\r\n base: string.isRequired,\r\n icons: string.isRequired,\r\n serif: string.isRequired,\r\n }).isRequired,\r\n typos: shape({\r\n button: string.isRequired,\r\n input: string.isRequired,\r\n link: string.isRequired,\r\n text: string.isRequired,\r\n title: string.isRequired,\r\n }).isRequired,\r\n values: shape({\r\n borderRadius: string.isRequired,\r\n borderRadiusM: string.isRequired,\r\n borderSize: string.isRequired,\r\n headerLine: pageCardShape.isRequired,\r\n zIndex: shape({\r\n m: string.isRequired,\r\n s: string.isRequired,\r\n superBig: string.isRequired,\r\n l: string.isRequired,\r\n }).isRequired,\r\n }).isRequired,\r\n weight: shape({\r\n base: number.isRequired,\r\n bold: number.isRequired,\r\n light: number.isRequired,\r\n xbase: number.isRequired,\r\n xlight: number.isRequired,\r\n xxlight: number.isRequired,\r\n }).isRequired,\r\n});\r\n\r\nexport const iconType = string;\r\n\r\nexport const historyType = shape({\r\n location: shape({ pathname: string }),\r\n push: func,\r\n});\r\n\r\nexport const locationType = shape({\r\n hash: string,\r\n key: string,\r\n pathname: string,\r\n search: string,\r\n});\r\n\r\nexport const errorType = shape({\r\n message: string,\r\n code: oneOfType([number, string])\r\n});\r\n\r\nexport const modifiersType = oneOfType([string, arrayOf(string)]);\r\n\r\nexport const sitesType = arrayOf(\r\n shape({\r\n slug: string.isRequired,\r\n initials: string.isRequired,\r\n description: string.isRequired,\r\n color: string.isRequired,\r\n isActive: bool,\r\n })\r\n);\r\n\r\nexport const userType = shape({\r\n name: PropTypes.string.isRequired,\r\n email: PropTypes.string.isRequired,\r\n});\r\n\r\nexport const imageType = PropTypes.shape({\r\n src: PropTypes.string,\r\n alt: PropTypes.string,\r\n});\r\n\r\nexport const mediaType = PropTypes.shape({\r\n title: PropTypes.string,\r\n alt: PropTypes.string,\r\n url: PropTypes.string,\r\n isLocal: PropTypes.bool,\r\n})\r\n\r\nexport const slideType = PropTypes.shape({\r\n description: PropTypes.string,\r\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n image: PropTypes.shape({\r\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n alt: PropTypes.string,\r\n title: PropTypes.string,\r\n url: PropTypes.string,\r\n }),\r\n summary: PropTypes.string,\r\n title: PropTypes.string,\r\n url: PropTypes.string,\r\n});\r\n\r\nexport const screenType = PropTypes.oneOf(['mobile', 'tablet', 'desktop']);\r\n\r\nexport const refType = PropTypes.oneOfType([\r\n PropTypes.func,\r\n PropTypes.shape({ current: PropTypes.any })\r\n])\r\n\r\nexport const richTextEditorOptions = PropTypes.shape({\r\n activeColor: PropTypes.string,\r\n})\r\n\r\nexport const intlType = PropTypes.shape(({\r\n formatMessage: PropTypes.func\r\n}))\r\n\r\nexport const slideTypeOptions = {\r\n VIDEO: 'video',\r\n LEFT_COLUMNS: 'leftColumns',\r\n DEFAULT: 'default'\r\n}\r\n\r\nexport const statusType = PropTypes.oneOf([...Object.keys(status), 'history', 'actual'])\r\n","import { hasHash } from \"./constants\";\r\n\r\n/**\r\n * USER OPERATIONS\r\n */\r\n\r\n//Saves the user token to remember the user\r\nconst _storeUser = token => {\r\n window.localStorage.setItem(\"portalWebToken\", token);\r\n};\r\n\r\n//Checks if the user is loggedin\r\nconst _isLoggedIn = () => {\r\n return window.localStorage.getItem(\"portalWebToken\");\r\n};\r\n//Removes the token and logs out the user\r\nconst _logout = () => {\r\n window.localStorage.removeItem(\"portalWebToken\");\r\n setTimeout(() => {\r\n _refreshPage();\r\n }, 200);\r\n};\r\n\r\n/**\r\n * UTILS OPERATIONS\r\n */\r\nconst generateToken = () => {\r\n return guid();\r\n};\r\n\r\nconst guid = () => {\r\n function s4() {\r\n return Math.floor((1 + Math.random()) * 0x10000)\r\n .toString(16)\r\n .substring(1);\r\n }\r\n return s4() + \"\" + s4() + \"\" + s4() + \"\" + s4();\r\n};\r\n\r\nconst _refreshPage = () => {\r\n window.location.reload();\r\n};\r\n\r\nconst smartWidth = (width = 1140) => {\r\n return (window.innerWidth - width) / 2;\r\n};\r\n\r\nconst compose = (...funcs) =>\r\n funcs.reduce((a, b) => (...args) => a(b(...args)), arg => arg);\r\n\r\nconst validURL = str => {\r\n var pattern = new RegExp(\r\n \"^(https?:\\\\/\\\\/)?\" + // protocol\r\n \"((([a-z\\\\d]([a-z\\\\d-]*[a-z\\\\d])*)\\\\.)+[a-z]{2,}|\" + // domain name\r\n \"((\\\\d{1,3}\\\\.){3}\\\\d{1,3}))\" + // OR ip (v4) address\r\n \"(\\\\:\\\\d+)?(\\\\/[-a-z\\\\d%_.~+]*)*\" + // port and path\r\n \"(\\\\?[;&a-z\\\\d%_.~+=-]*)?\" + // query string\r\n \"(\\\\#[-a-z\\\\d_]*)?$\",\r\n \"i\"\r\n ); // fragment locator\r\n return !!pattern.test(str);\r\n};\r\n\r\nconst is_touch_device = () => {\r\n const prefixes = \" -webkit- -moz- -o- -ms- \".split(\" \");\r\n const mq = query => {\r\n return window.matchMedia(query).matches;\r\n };\r\n\r\n if (\r\n \"ontouchstart\" in window ||\r\n (window.DocumentTouch && document instanceof \"DocumentTouch\")\r\n ) {\r\n return true;\r\n }\r\n\r\n // include the 'heartz' as a way to have a non matching MQ to help terminate the join\r\n // https://git.io/vznFH\r\n let query = [\"(\", prefixes.join(\"touch-enabled),(\"), \"heartz\", \")\"].join(\"\");\r\n return mq(query);\r\n};\r\n\r\n// strip html tags\r\nconst stripHtml = html => {\r\n const doc = new DOMParser().parseFromString(html, \"text/html\");\r\n return doc.body.textContent || \"\";\r\n};\r\n\r\n// clear hash route\r\nconst clearHashRoute = hashRoute => {\r\n const chars = hashRoute.split(\"\");\r\n let cleanRoute = hashRoute;\r\n if (chars[0] === \"#\") cleanRoute = hashRoute.substr(1);\r\n return cleanRoute;\r\n};\r\n\r\nfunction changeAccessibilityFilter(value) {\r\n localStorage.setItem(\"portalUAAccessibilityFilter\", value);\r\n // window.location.reload();\r\n}\r\n\r\n//gets the default or current value for de accessibility filter\r\nfunction getAccessibilityFilter() {\r\n if (localStorage.getItem(\"portalUAAccessibilityFilter\") === null) {\r\n changeAccessibilityFilter(0);\r\n return 0;\r\n }\r\n return localStorage.getItem(\"portalUAAccessibilityFilter\");\r\n}\r\n\r\nfunction changeZoom(value) {\r\n localStorage.setItem(\"portalUAZoomFilter\", value);\r\n // window.location.reload();\r\n}\r\n\r\nfunction getZoom() {\r\n if (localStorage.getItem(\"portalUAZoomFilter\") === null) {\r\n changeZoom(\"100%\");\r\n return \"100%\";\r\n }\r\n return localStorage.getItem(\"portalUAZoomFilter\");\r\n}\r\n\r\n//gets the cookies bar state\r\nfunction setCookieBarLocalStorage(hasConsent = true) {\r\n localStorage.setItem(\"portalUACookiesBarConsent\", hasConsent);\r\n return hasConsent;\r\n}\r\n\r\nfunction getCookieBarLocalStorage() {\r\n const cookieBarConsent = localStorage.getItem(\"portalUACookiesBarConsent\");\r\n if (cookieBarConsent === null) return false;\r\n return JSON.parse(cookieBarConsent);\r\n}\r\n\r\n/**\r\n * Returns an internal link to a path\r\n * @param {string} path page path\r\n * @returns {string} link of the path with language and hash\r\n */\r\nconst internalLink = path => `${hasHash}/pt/${path}`;\r\n\r\nconst isIE = () => {\r\n var ua = window.navigator.userAgent;\r\n var msie = ua.indexOf(\"MSIE \");\r\n\r\n // eslint-disable-next-line\r\n if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./)) {\r\n // If Internet Explorer, return version number\r\n // alert(parseInt(ua.substring(msie + 5, ua.indexOf(\".\", msie))));\r\n return true;\r\n } // If another browser, return 0\r\n\r\n /*\r\n if (/Edge\\/\\d./i.test(navigator.userAgent)){\r\n // This is Microsoft Edge\r\n return true;\r\n }*/\r\n\r\n return false;\r\n};\r\n\r\nexport {\r\n _storeUser,\r\n _isLoggedIn,\r\n _logout,\r\n generateToken,\r\n guid,\r\n _refreshPage,\r\n smartWidth,\r\n compose,\r\n validURL,\r\n is_touch_device,\r\n stripHtml,\r\n clearHashRoute,\r\n getAccessibilityFilter,\r\n changeAccessibilityFilter,\r\n changeZoom,\r\n getZoom,\r\n internalLink,\r\n setCookieBarLocalStorage,\r\n getCookieBarLocalStorage,\r\n isIE\r\n};\r\n","/* eslint-disable no-param-reassign, no-restricted-syntax, max-len, no-plusplus */\r\n\r\n/*\r\n Based on the work from Rosey:\r\n https://github.com/Rosey/markdown-draft-js\r\n\r\n Specifically this file:\r\n https://github.com/Rosey/markdown-draft-js/blob/master/src/markdown-to-draft.js\r\n\r\n*/\r\n\r\nimport { Remarkable } from 'remarkable';\r\n\r\nconst TRAILING_NEW_LINE = /\\n$/;\r\n\r\n// In DraftJS, string lengths are calculated differently than in JS itself (due\r\n// to surrogate pairs). Instead of importing the entire UnicodeUtils file from\r\n// FBJS, we use a simpler alternative, in the form of `Array.from`.\r\n//\r\n// Alternative: const { strlen } = require('fbjs/lib/UnicodeUtils');\r\nfunction strlen(str) {\r\n return Array.from(str).length;\r\n}\r\n\r\n// Block level items, key is Remarkable's key for them, value returned is\r\n// A function that generates the raw draftjs key and block data.\r\n//\r\n// Why a function? Because in some cases (headers) we need additional information\r\n// before we can determine the exact key to return. And blocks may also return data\r\nconst DefaultBlockTypes = {\r\n paragraph_open() {\r\n return {\r\n type: 'unstyled',\r\n text: '',\r\n entityRanges: [],\r\n inlineStyleRanges: []\r\n };\r\n },\r\n\r\n blockquote_open() {\r\n return {\r\n type: 'blockquote',\r\n text: ''\r\n };\r\n },\r\n\r\n ordered_list_item_open() {\r\n return {\r\n type: 'ordered-list-item',\r\n text: ''\r\n };\r\n },\r\n\r\n unordered_list_item_open() {\r\n return {\r\n type: 'unordered-list-item',\r\n text: ''\r\n };\r\n },\r\n\r\n fence(item) {\r\n return {\r\n type: 'code-block',\r\n data: {\r\n language: item.params || ''\r\n },\r\n text: (item.content || '').replace(TRAILING_NEW_LINE, ''), // remarkable seems to always append an erronious trailing newline to its codeblock content, so we need to trim it out.\r\n entityRanges: [],\r\n inlineStyleRanges: []\r\n };\r\n },\r\n\r\n heading_open(item) {\r\n const type = `header-${({\r\n 1: 'one',\r\n 2: 'two',\r\n 3: 'three',\r\n 4: 'four',\r\n 5: 'five',\r\n 6: 'six'\r\n })[item.hLevel]}`;\r\n\r\n return {\r\n type,\r\n text: ''\r\n };\r\n }\r\n};\r\n\r\n// Entity types. These are things like links or images that require\r\n// additional data and will be added to the `entityMap`\r\n// again. In this case, key is remarkable key, value is\r\n// meethod that returns the draftjs key + any data needed.\r\nconst DefaultBlockEntities = {\r\n link_open(item) {\r\n return {\r\n type: 'LINK',\r\n mutability: 'MUTABLE',\r\n data: {\r\n url: item.href,\r\n href: item.href\r\n }\r\n };\r\n }\r\n};\r\n\r\n// Entity styles. Simple Inline styles that aren't added to entityMap\r\n// key is remarkable key, value is draftjs raw key\r\nconst DefaultBlockStyles = {\r\n strong_open: 'BOLD',\r\n em_open: 'ITALIC',\r\n code: 'CODE'\r\n};\r\n\r\n// Key generator for entityMap items\r\nlet idCounter = -1;\r\nfunction generateUniqueKey() {\r\n idCounter += 1;\r\n return idCounter;\r\n}\r\n\r\n/*\r\n * Handle inline content in a block level item\r\n * parses for BlockEntities (links, images) and BlockStyles (em, strong)\r\n * doesn't handle block level items (blockquote, ordered list, etc)\r\n *\r\n * @param inlineItem - single object from remarkable data representation of markdown\r\n * @param BlockEntities - key-value object of mappable block entity items. Passed in as param so users can include their own custom stuff\r\n * @param BlockStyles - key-value object of mappable block styles items. Passed in as param so users can include their own custom stuff\r\n *\r\n * @return \r\n * content: Entire text content for the inline item,\r\n * blockEntities: New block eneities to be added to global block entity map\r\n * blockEntityRanges: block-level representation of block entities including key to access the block entity from the global map\r\n * blockStyleRanges: block-level representation of styles (eg strong, em)\r\n*/\r\nfunction parseInline(inlineItem, BlockEntities, BlockStyles) {\r\n let content = ''; const blockEntities = {}; const blockEntityRanges = []; let\r\n blockInlineStyleRanges = [];\r\n inlineItem.children.forEach((child) => {\r\n if (child.type === 'text') {\r\n content += child.content;\r\n } else if (child.type === 'softbreak') {\r\n content += '\\n';\r\n } else if (child.type === 'hardbreak') {\r\n content += '\\n';\r\n } else if (BlockStyles[child.type]) {\r\n const styleBlock = {\r\n offset: strlen(content) || 0,\r\n length: 0,\r\n style: BlockStyles[child.type]\r\n };\r\n\r\n // Edge case hack because code items don't have inline\r\n // content or open / close, unlike everything else\r\n if (child.type === 'code') {\r\n styleBlock.length = strlen(child.content);\r\n content += child.content;\r\n }\r\n\r\n blockInlineStyleRanges.push(styleBlock);\r\n } else if (BlockEntities[child.type]) {\r\n const key = generateUniqueKey();\r\n\r\n blockEntities[key] = BlockEntities[child.type](child);\r\n\r\n blockEntityRanges.push({\r\n offset: strlen(content) || 0,\r\n length: 0,\r\n key\r\n });\r\n } else if (child.type.indexOf('_close') !== -1 && BlockEntities[child.type.replace('_close', '_open')]) {\r\n blockEntityRanges[blockEntityRanges.length - 1].length = strlen(content) - blockEntityRanges[blockEntityRanges.length - 1].offset;\r\n } else if (child.type.indexOf('_close') !== -1 && BlockStyles[child.type.replace('_close', '_open')]) {\r\n const type = BlockStyles[child.type.replace('_close', '_open')]\r\n blockInlineStyleRanges = blockInlineStyleRanges\r\n .map(style => {\r\n if (style.length === 0 && style.style === type) {\r\n style.length = strlen(content) - style.offset;\r\n }\r\n return style;\r\n });\r\n }\r\n });\r\n\r\n return {\r\n content, blockEntities, blockEntityRanges, blockInlineStyleRanges\r\n };\r\n}\r\n\r\n// doesnt handle inline styles\r\nfunction parseAtomic(atomicItem, BlockEntities) {\r\n const content = ' '; const blockEntities = {}; const blockEntityRanges = []; const\r\n blockInlineStyleRanges = [];\r\n const { type } = atomicItem\r\n\r\n if (BlockEntities[type]) {\r\n const key = generateUniqueKey();\r\n blockEntities[key] = BlockEntities[type](atomicItem);\r\n blockEntityRanges.push({\r\n offset: 0,\r\n length: 1,\r\n key\r\n });\r\n }\r\n\r\n return {\r\n content, blockEntities, blockEntityRanges, blockInlineStyleRanges\r\n };\r\n}\r\n\r\n/**\r\n * Convert markdown into raw draftjs object\r\n *\r\n * @param {String} markdown - markdown to convert into raw draftjs object\r\n * @param {Object} options - optional additional data, see readme for what options can be passed in.\r\n *\r\n * @return {Object} rawDraftObject\r\n* */\r\nfunction markdownToDraft(string, options = {}) {\r\n const remarkablePreset = options.remarkablePreset || options.remarkableOptions;\r\n const remarkableOptions = typeof options.remarkableOptions === 'object' ? options.remarkableOptions : null;\r\n const md = new Remarkable(remarkablePreset, remarkableOptions);\r\n\r\n // if tables are not explicitly enabled, disable them by default\r\n if (\r\n !remarkableOptions\r\n || !remarkableOptions.enable\r\n || !remarkableOptions.enable.block\r\n || remarkableOptions.enable.block !== 'table'\r\n || remarkableOptions.enable.block.includes('table') === false\r\n ) {\r\n md.block.ruler.disable('table');\r\n }\r\n\r\n // disable the specified rules\r\n if (remarkableOptions && remarkableOptions.disable) {\r\n for (const [key, value] of Object.entries(remarkableOptions.disable)) {\r\n md[key].ruler.disable(value);\r\n }\r\n }\r\n\r\n // enable the specified rules\r\n if (remarkableOptions && remarkableOptions.enable) {\r\n for (const [key, value] of Object.entries(remarkableOptions.enable)) {\r\n md[key].ruler.enable(value);\r\n }\r\n }\r\n\r\n // If users want to define custom remarkable plugins for custom markdown, they can be added here\r\n if (options.remarkablePlugins) {\r\n options.remarkablePlugins.forEach((plugin) => {\r\n md.use(plugin, {});\r\n });\r\n }\r\n\r\n const blocks = []; // blocks will be returned as part of the final draftjs raw object\r\n const entityMap = {}; // entitymap will be returned as part of the final draftjs raw object\r\n const parsedData = md.parse(string, {}); // remarkable js takes markdown and makes it an array of style objects for us to easily parse\r\n let currentListType = null; // Because of how remarkable's data is formatted, we need to cache what kind of list we're currently dealing with\r\n let previousBlockEndingLine = 1;\r\n\r\n // Allow user to define custom BlockTypes and Entities if they so wish\r\n const BlockTypes = Object.assign({}, DefaultBlockTypes, options.blockTypes || {});\r\n const BlockEntities = Object.assign({}, DefaultBlockEntities, options.blockEntities || {});\r\n const BlockStyles = Object.assign({}, DefaultBlockStyles, options.blockStyles || {});\r\n\r\n parsedData.forEach((item) => {\r\n // Because of how remarkable's data is formatted, we need to cache what kind of list we're currently dealing with\r\n if (item.type === 'bullet_list_open') {\r\n currentListType = 'unordered_list_item_open';\r\n } else if (item.type === 'ordered_list_open') {\r\n currentListType = 'ordered_list_item_open';\r\n }\r\n\r\n let itemType = item.type;\r\n if (itemType === 'list_item_open') {\r\n itemType = currentListType;\r\n }\r\n\r\n if (itemType === 'inline') {\r\n // Parse inline content and apply it to the most recently created block level item,\r\n // which is where the inline content will belong.\r\n const {\r\n content, blockEntities, blockEntityRanges, blockInlineStyleRanges\r\n } = parseInline(item, BlockEntities, BlockStyles);\r\n const blockToModify = blocks[blocks.length - 1];\r\n blockToModify.text = content;\r\n blockToModify.inlineStyleRanges = blockInlineStyleRanges;\r\n blockToModify.entityRanges = blockEntityRanges;\r\n\r\n // The entity map is a master object separate from the block so just add any entities created for this block to the master object\r\n Object.assign(entityMap, blockEntities);\r\n } else if ((itemType.indexOf('_open') !== -1 || itemType === 'fence' || itemType === 'hr') && BlockTypes[itemType]) {\r\n let depth = 0;\r\n let block;\r\n\r\n if (item.level > 0) {\r\n depth = Math.floor(item.level / 2);\r\n }\r\n\r\n // Draftjs only supports 1 level of blocks, hence the item.level === 0 check\r\n // List items will always be at least `level==1` though so we need a separate check for that\r\n // If there’s nested block level items deeper than that, we need to make sure we capture this by cloning the topmost block\r\n // otherwise we’ll accidentally overwrite its text. (eg if there's a blockquote with 3 nested paragraphs with inline text, without this check, only the last paragraph would be reflected)\r\n if (item.level === 0 || item.type === 'list_item_open') {\r\n block = Object.assign({\r\n depth\r\n }, BlockTypes[itemType](item));\r\n } else if (item.level > 0 && blocks[blocks.length - 1].text) {\r\n block = Object.assign({}, blocks[blocks.length - 1]);\r\n }\r\n\r\n if (block && options.preserveNewlines) {\r\n // Re: previousBlockEndingLine.... omg.\r\n // So remarkable strips out empty newlines and doesn't make any entities to parse to restore them\r\n // the only solution I could find is that there's a 2-value array on each block item called \"lines\" which is the start end line of the block element.\r\n // by keeping track of the PREVIOUS block element ending line and the NEXT block element starting line, we can find the difference between the new lines and insert\r\n // an appropriate number of extra paragraphs to re-create those newlines in draftjs.\r\n // This is probably my least favourite thing in this file, but not sure what could be better.\r\n if (previousBlockEndingLine) {\r\n const totalEmptyParagraphsToCreate = item.lines[0] - previousBlockEndingLine;\r\n for (let i = 0; i < totalEmptyParagraphsToCreate; i++) {\r\n blocks.push(DefaultBlockTypes.paragraph_open());\r\n }\r\n }\r\n }\r\n\r\n if (block) {\r\n previousBlockEndingLine = item.lines[1] + 1;\r\n blocks.push(block);\r\n }\r\n\r\n // blockEntities key must match itemType\r\n // parse new types\r\n if (Object.keys(options.blockEntities).includes(itemType)) {\r\n const { content, blockEntities, blockEntityRanges } = parseAtomic(item, BlockEntities);\r\n const blockToModify = blocks[blocks.length - 1];\r\n blockToModify.text = content;\r\n blockToModify.inlineStyleRanges = [];\r\n blockToModify.entityRanges = blockEntityRanges;\r\n // The entity map is a master object separate from the block so just add any entities created for this block to the master object\r\n Object.assign(entityMap, blockEntities);\r\n }\r\n }\r\n });\r\n\r\n // EditorState.createWithContent will error if there's no blocks defined\r\n // Remarkable returns an empty array though. So we have to generate a 'fake'\r\n // empty block in this case. 😑\r\n if (!blocks.length) {\r\n blocks.push(DefaultBlockTypes.paragraph_open());\r\n }\r\n\r\n return {\r\n entityMap,\r\n blocks\r\n };\r\n}\r\n\r\nexport default markdownToDraft;\r\n","/* eslint-disable array-callback-return */\r\n/* eslint-disable no-param-reassign */\r\nconst TRAILING_WHITESPACE = /[ \\u0020\\t\\n]*$/;\r\n\r\n// This escapes some markdown but there's a few cases that are TODO -\r\n// - List items\r\n// - Back tics (see https://github.com/Rosey/markdown-draft-js/issues/52#issuecomment-388458017)\r\n// - Complex markdown, like links or images. Not sure it's even worth it, because if you're typing\r\n// that into draft chances are you know its markdown and maybe expect it convert? :/\r\nconst MARKDOWN_STYLE_CHARACTERS = ['*', '_', '~', '`'];\r\nconst MARKDOWN_STYLE_CHARACTER_REGXP = /(\\*|_|~|\\\\|`)/g;\r\n\r\n// I hate this a bit, being outside of the function’s scope\r\n// but can’t think of a better way to keep track of how many ordered list\r\n// items were are on, as draft doesn’t explicitly tell us in the raw object 😢.\r\n// This is a hash that will be assigned values based on depth, so like\r\n// orderedListNumber[0] = 1 would mean that ordered list at depth 0 is on number 1.\r\n// orderedListNumber[0] = 2 would mean that ordered list at depth 0 is on number 2.\r\n// This is so we have the right number of numbers when doing a list, eg\r\n// 1. Item One\r\n// 2. Item two\r\n// 3. Item three\r\n// And so on.\r\nlet orderedListNumber = {};\r\nlet previousOrderedListDepth = 0;\r\n\r\n// A map of draftjs block types -> markdown open and close characters\r\n// Both the open and close methods must exist, even if they simply return an empty string.\r\n// They should always return a string.\r\nconst StyleItems = {\r\n // BLOCK LEVEL\r\n 'unordered-list-item': {\r\n open() {\r\n return '- ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'ordered-list-item': {\r\n open(block, number = 1) {\r\n return `${number}. `;\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n blockquote: {\r\n open() {\r\n return '> ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-one': {\r\n open() {\r\n return '# ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-two': {\r\n open() {\r\n return '## ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-three': {\r\n open() {\r\n return '### ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-four': {\r\n open() {\r\n return '#### ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-five': {\r\n open() {\r\n return '##### ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'header-six': {\r\n open() {\r\n return '###### ';\r\n },\r\n\r\n close() {\r\n return '';\r\n }\r\n },\r\n\r\n 'code-block': {\r\n open(block) {\r\n return `\\`\\`\\`${block.data.language || ''}\\n`;\r\n },\r\n\r\n close() {\r\n return '\\n```';\r\n }\r\n },\r\n\r\n // INLINE LEVEL\r\n BOLD: {\r\n open() {\r\n return '**';\r\n },\r\n\r\n close() {\r\n return '**';\r\n }\r\n },\r\n\r\n ITALIC: {\r\n open() {\r\n return '_';\r\n },\r\n\r\n close() {\r\n return '_';\r\n }\r\n },\r\n\r\n STRIKETHROUGH: {\r\n open() {\r\n return '~~';\r\n },\r\n\r\n close() {\r\n return '~~';\r\n }\r\n },\r\n\r\n CODE: {\r\n open() {\r\n return '`';\r\n },\r\n\r\n close() {\r\n return '`';\r\n }\r\n }\r\n};\r\n\r\n// A map of draftjs entity types -> markdown open and close characters\r\n// entities are different from block types because they have additional data attached to them.\r\n// an entity object is passed in to both open and close, in case it's needed for string generation.\r\n//\r\n// Both the open and close methods must exist, even if they simply return an empty string.\r\n// They should always return a string.\r\nconst EntityItems = {\r\n LINK: {\r\n open(entity) {\r\n return '[';\r\n },\r\n\r\n close(entity) {\r\n return `](${entity.data.url || entity.data.href})`;\r\n }\r\n }\r\n}\r\n\r\n// Bit of a hack - we normally want a double newline after a block,\r\n// but for list items we just want one (unless it's the _last_ list item in a group.)\r\nconst SingleNewlineAfterBlock = [\r\n 'unordered-list-item',\r\n 'ordered-list-item'\r\n];\r\n\r\nfunction isEmptyBlock(block) {\r\n return block.text.length === 0 && block.entityRanges.length === 0 && Object.keys(block.data || {}).length === 0;\r\n}\r\n\r\n/**\r\n * Generate markdown for a single block javascript object\r\n * DraftJS raw object contains an array of blocks, which is the main \"structure\"\r\n * of the text. Each block = a new line.\r\n *\r\n * @param {Object} block - block to generate markdown for\r\n * @param {Number} index - index of the block in the blocks array\r\n * @param {Object} rawDraftObject - entire raw draft object (needed for accessing the entityMap)\r\n * @param {Object} options - additional options passed in by the user calling this method.\r\n *\r\n * @return {String} markdown string\r\n* */\r\nfunction renderBlock(block, index, rawDraftObject, options) {\r\n let openInlineStyles = [];\r\n let markdownToAdd = [];\r\n let markdownString = '';\r\n let customStyleItems = options.styleItems || {};\r\n let customEntityItems = options.entityItems || {};\r\n // eslint-disable-next-line no-prototype-builtins\r\n let escapeMarkdownCharacters = options.hasOwnProperty('escapeMarkdownCharacters') ? options.escapeMarkdownCharacters : true;\r\n\r\n let { type } = block;\r\n\r\n let markdownStyleCharactersToEscape = [];\r\n\r\n // draft-js emits empty blocks that have type set… don’t style them unless the user wants to preserve new lines\r\n // (if newlines are preserved each empty line should be \"styled\" eg in case of blockquote we want to see a blockquote.)\r\n // but if newlines aren’t preserved then we'd end up having double or triple or etc markdown characters, which is a bug.\r\n if (isEmptyBlock(block) && !options.preserveNewlines) {\r\n type = 'unstyled';\r\n }\r\n\r\n // Render main block wrapping element\r\n if (customStyleItems[type] || StyleItems[type]) {\r\n if (type === 'unordered-list-item' || type === 'ordered-list-item') {\r\n markdownString += ' '.repeat(block.depth * 4);\r\n }\r\n\r\n if (type === 'ordered-list-item') {\r\n orderedListNumber[block.depth] = orderedListNumber[block.depth] || 1;\r\n markdownString += (customStyleItems[type] || StyleItems[type]).open(block, orderedListNumber[block.depth]);\r\n // eslint-disable-next-line no-plusplus\r\n orderedListNumber[block.depth]++;\r\n\r\n // Have to reset the number for orderedListNumber if we are breaking out of a list so that if\r\n // there's another nested list at the same level further down, it starts at 1 again.\r\n // COMPLICATED 😭\r\n if (previousOrderedListDepth > block.depth) {\r\n orderedListNumber[previousOrderedListDepth] = 1;\r\n }\r\n\r\n previousOrderedListDepth = block.depth;\r\n } else {\r\n orderedListNumber = {};\r\n markdownString += (customStyleItems[type] || StyleItems[type]).open(block);\r\n }\r\n } else {\r\n orderedListNumber = {};\r\n }\r\n\r\n // A stack to keep track of open tags\r\n let openTags = [];\r\n\r\n function openTag(tag) {\r\n openTags.push(tag);\r\n\r\n if (tag.style) {\r\n // Open inline tag\r\n\r\n if (customStyleItems[tag.style] || StyleItems[tag.style]) {\r\n let styleToAdd = (\r\n customStyleItems[tag.style] || StyleItems[tag.style]\r\n ).open();\r\n markdownToAdd.push({\r\n type: 'style',\r\n style: tag,\r\n value: styleToAdd\r\n });\r\n }\r\n } else {\r\n // Open entity tag\r\n\r\n let entity = rawDraftObject.entityMap[tag.key];\r\n if (customEntityItems[entity.type] || EntityItems[entity.type]) {\r\n let entityToAdd = (\r\n customEntityItems[entity.type] || EntityItems[entity.type]\r\n ).open(entity, block);\r\n markdownToAdd.push({\r\n type: 'entity',\r\n value: entityToAdd\r\n });\r\n }\r\n }\r\n }\r\n\r\n function closeTag(tag) {\r\n const popped = openTags.pop();\r\n if (tag !== popped) {\r\n throw new Error(\r\n 'Invariant violation: Cannot close a tag before all inner tags have been closed'\r\n );\r\n }\r\n\r\n if (tag.style) {\r\n // Close inline tag\r\n\r\n if (customStyleItems[tag.style] || StyleItems[tag.style]) {\r\n // Have to trim whitespace first and then re-add after because markdown can't handle leading/trailing whitespace\r\n let trailingWhitespace = TRAILING_WHITESPACE.exec(markdownString);\r\n markdownString = markdownString.slice(\r\n 0,\r\n markdownString.length - trailingWhitespace[0].length\r\n );\r\n\r\n markdownString += (\r\n customStyleItems[tag.style] || StyleItems[tag.style]\r\n ).close();\r\n markdownString += trailingWhitespace[0];\r\n }\r\n } else {\r\n // Close entity tag\r\n\r\n let entity = rawDraftObject.entityMap[tag.key];\r\n if (customEntityItems[entity.type] || EntityItems[entity.type]) {\r\n markdownString += (\r\n customEntityItems[entity.type] || EntityItems[entity.type]\r\n ).close(entity, block);\r\n }\r\n }\r\n }\r\n\r\n const compareTagsLastCloseFirst = (a, b) => b.offset + b.length - (a.offset + a.length);\r\n\r\n // reverse array without mutating the original\r\n const reverse = (array) => array.concat().reverse();\r\n\r\n // Render text within content, along with any inline styles/entities\r\n Array.from(block.text).some((character, characterIndex) => {\r\n // Close any tags that need closing, starting from top of the stack\r\n reverse(openTags).forEach((tag) => {\r\n if (tag.offset + tag.length === characterIndex) {\r\n // Take all tags stacked on top of the current one, meaning they opened after it.\r\n // Since they have not been popped, they'll close only later. So we need to split them.\r\n let tagsToSplit = openTags.slice(openTags.indexOf(tag) + 1);\r\n\r\n // Close in reverse order as they were opened\r\n reverse(tagsToSplit).forEach(closeTag);\r\n\r\n // Now we can close the current tag\r\n closeTag(tag);\r\n\r\n // Reopen split tags, ordered so that tags that close last open first\r\n tagsToSplit.sort(compareTagsLastCloseFirst).forEach(openTag);\r\n }\r\n });\r\n\r\n // Open any tags that need opening, using the correct nesting order.\r\n let inlineTagsToOpen = block.inlineStyleRanges.filter(\r\n (tag) => tag.offset === characterIndex\r\n );\r\n let entityTagsToOpen = block.entityRanges.filter(\r\n (tag) => tag.offset === characterIndex\r\n );\r\n inlineTagsToOpen\r\n .concat(entityTagsToOpen)\r\n .sort(compareTagsLastCloseFirst)\r\n .forEach(openTag);\r\n\r\n // These are all the opening entity and style types being added to the markdown string for this loop\r\n // we store in an array and add here because if the character is WS character, we want to hang onto it and not apply it until the next non-whitespace\r\n // character before adding the markdown, since markdown doesn’t play nice with leading whitespace (eg '** bold**' is no good, whereas ' **bold**' is good.)\r\n if (character !== ' ' && markdownToAdd.length) {\r\n markdownString += markdownToAdd.map((item) => item.value).join('');\r\n\r\n markdownToAdd = [];\r\n }\r\n\r\n if (block.type !== 'code-block' && escapeMarkdownCharacters) {\r\n let insideInlineCodeStyle = openTags.find((style) => style.style === 'CODE');\r\n\r\n if (insideInlineCodeStyle) {\r\n // Todo - The syntax to escape backtics when inside backtic code already is to use MORE backtics wrapping.\r\n // So we need to see how many backtics in a row we have and then when converting to markdown, use that # + 1\r\n\r\n // EG ``Test ` Hllo ``\r\n // OR ```Test `` Hello```\r\n // OR ````Test ``` Hello ````\r\n // Similar work has to be done for codeblocks.\r\n } else {\r\n // Special escape logic for blockquotes and heading characters\r\n if (characterIndex === 0 && character === '#' && block.text[1] && block.text[1] === ' ') {\r\n character = character.replace('#', '\\\\#');\r\n } else if (character === '<') {\r\n character = character.replace('<', '<');\r\n } else if (character === '>') {\r\n character = character.replace('>', '>');\r\n }\r\n /* else if (characterIndex === 0 && character === '>') {\r\n character = character.replace('>', '\\\\>');\r\n } */\r\n character = character.replace('_', '\\\\_');\r\n\r\n // Escaping inline markdown characters\r\n // 🧹 If someone can think of a more elegant solution, I would love that.\r\n // orginally this was just a little char replace using a simple regular expression, but there’s lots of cases where\r\n // a markdown character does not actually get converted to markdown, like this case: http://google.com/i_am_a_link\r\n // so this code now tries to be smart and keeps track of potential “opening” characters as well as potential “closing”\r\n // characters, and only escapes if both opening and closing exist, and they have the correct whitepace-before-open, whitespace-or-end-of-string-after-close pattern\r\n if (MARKDOWN_STYLE_CHARACTERS.includes(character)) {\r\n let openingStyle = markdownStyleCharactersToEscape.find((item) => item.character === character);\r\n\r\n if (!openingStyle && block.text[characterIndex - 1] === ' ' && block.text[characterIndex + 1] !== ' ') {\r\n markdownStyleCharactersToEscape.push({\r\n character,\r\n index: characterIndex,\r\n markdownStringIndexStart: markdownString.length + character.length - 1,\r\n markdownStringIndexEnd: markdownString.length + character.length\r\n });\r\n } else if (openingStyle && block.text[characterIndex - 1] === character && characterIndex === openingStyle.index + 1) {\r\n openingStyle.markdownStringIndexEnd += 1;\r\n } else if (openingStyle) {\r\n let openingStyleLength = openingStyle.markdownStringIndexEnd - openingStyle.markdownStringIndexStart;\r\n let escapeCharacter = false;\r\n let popOpeningStyle = false;\r\n if (openingStyleLength === 1 && (block.text[characterIndex + 1] === ' ' || !block.text[characterIndex + 1])) {\r\n popOpeningStyle = true;\r\n escapeCharacter = true;\r\n }\r\n\r\n if (openingStyleLength === 2 && block.text[characterIndex + 1] === character) {\r\n escapeCharacter = true;\r\n }\r\n\r\n if (openingStyleLength === 2 && block.text[characterIndex - 1] === character && (block.text[characterIndex + 1] === ' ' || !block.text[characterIndex + 1])) {\r\n popOpeningStyle = true;\r\n escapeCharacter = true;\r\n }\r\n\r\n if (popOpeningStyle) {\r\n markdownStyleCharactersToEscape.splice(markdownStyleCharactersToEscape.indexOf(openingStyle), 1);\r\n let replacementString = markdownString.slice(openingStyle.markdownStringIndexStart, openingStyle.markdownStringIndexEnd);\r\n replacementString = replacementString.replace(MARKDOWN_STYLE_CHARACTER_REGXP, '\\\\$1');\r\n markdownString = (markdownString.slice(0, openingStyle.markdownStringIndexStart) + replacementString + markdownString.slice(openingStyle.markdownStringIndexEnd));\r\n }\r\n\r\n if (escapeCharacter) {\r\n character = `\\\\${character}`;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (character === '\\n' && type === 'blockquote') {\r\n markdownString += '\\n> ';\r\n } else {\r\n markdownString += character;\r\n }\r\n });\r\n\r\n // Finally, close all remaining open tags\r\n reverse(openTags).forEach(closeTag);\r\n\r\n // Close block level item\r\n if (customStyleItems[type] || StyleItems[type]) {\r\n markdownString += (customStyleItems[type] || StyleItems[type]).close(block);\r\n }\r\n\r\n // Determine how many newlines to add - generally we want 2, but for list items we just want one when they are succeeded by another list item.\r\n if (SingleNewlineAfterBlock.indexOf(type) !== -1 && rawDraftObject.blocks[index + 1] && SingleNewlineAfterBlock.indexOf(rawDraftObject.blocks[index + 1].type) !== -1) {\r\n markdownString += '\\n';\r\n } else if (rawDraftObject.blocks[index + 1]) {\r\n if (rawDraftObject.blocks[index].text) {\r\n if (SingleNewlineAfterBlock.indexOf(type) !== -1\r\n && SingleNewlineAfterBlock.indexOf(rawDraftObject.blocks[index + 1].type) === -1) {\r\n markdownString += '\\n\\n';\r\n } else if (!options.preserveNewlines) {\r\n // 2 newlines if not preserving\r\n markdownString += '\\n\\n';\r\n } else {\r\n markdownString += '\\n';\r\n }\r\n } else if (options.preserveNewlines) {\r\n markdownString += '\\n';\r\n }\r\n }\r\n\r\n return markdownString;\r\n}\r\n\r\n/**\r\n * Generate markdown for a raw draftjs object\r\n * DraftJS raw object contains an array of blocks, which is the main \"structure\"\r\n * of the text. Each block = a new line.\r\n *\r\n * @param {Object} rawDraftObject - draftjs object to generate markdown for\r\n * @param {Object} options - optional additional data, see readme for what options can be passed in.\r\n *\r\n * @return {String} markdown string\r\n* */\r\nfunction draftToMarkdown(rawDraftObject, options) {\r\n options = options || {};\r\n let markdownString = '';\r\n rawDraftObject.blocks.forEach((block, index) => {\r\n markdownString += renderBlock(block, index, rawDraftObject, options);\r\n });\r\n\r\n orderedListNumber = {}; // See variable definitions at the top of the page to see why we have to do this sad hack.\r\n return markdownString;\r\n}\r\n\r\nexport default draftToMarkdown;\r\n","/* eslint-disable no-console, no-param-reassign */\r\n\r\nimport React, { useState, useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { getSeo } from 'services/requests'\r\nimport { useParams } from 'react-router-dom'\r\nimport { MetadataForm } from 'components/organisms'\r\nimport { FacebookShare } from 'components/molecules'\r\nimport { Spacer } from 'components/atoms'\r\nimport { useDebounce } from 'react-use'\r\nimport styled, { withTheme } from 'styled-components'\r\nimport ContentLoader from 'react-content-loader';\r\nimport { toast } from 'react-toastify';\r\nimport { Toast } from 'containers';\r\n\r\nconst Loader = withTheme(({ theme }) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n));\r\n\r\n\r\nconst SeoEditor = ({\r\n initialProps, onChange\r\n}) => {\r\n const { subweb, pageId, lang } = useParams()\r\n const [dynamicSeo, setDynamicSeo] = useState(null)\r\n const [isLoading, setLoading] = useState(false)\r\n const [metadata, setMetadata] = useState(initialProps)\r\n const handleChange = (newProps) => {\r\n const mergedProps = { ...initialProps, ...newProps }\r\n setMetadata(mergedProps)\r\n }\r\n\r\n const initialPropsComputed = useMemo(() => {\r\n if (dynamicSeo && dynamicSeo.image && typeof dynamicSeo.image === 'string') {\r\n return {\r\n ...initialProps,\r\n image: dynamicSeo.image,\r\n }\r\n }\r\n return initialProps\r\n }, [initialProps, dynamicSeo])\r\n\r\n // fetch dynamic seo if no image is present\r\n // for legacy pages only, now all pages are created with a default image\r\n useEffect(() => {\r\n const shouldGetSeo = initialPropsComputed.image === null\r\n || initialPropsComputed.image === undefined\r\n async function fetchSeo() {\r\n setLoading(true)\r\n try {\r\n const { data } = await getSeo({ pageId, subweb, lang })\r\n setDynamicSeo(data)\r\n setLoading(false)\r\n } catch (err) {\r\n toast.error(\r\n \r\n );\r\n setLoading(false)\r\n }\r\n }\r\n if (shouldGetSeo && subweb && pageId) {\r\n fetchSeo()\r\n }\r\n }, [initialPropsComputed, subweb, pageId, lang])\r\n\r\n // update metadata for facebook share preview when initialProps change\r\n useEffect(() => {\r\n setMetadata(initialPropsComputed)\r\n }, [initialPropsComputed])\r\n\r\n useDebounce(() => {\r\n onChange(metadata);\r\n }, 200,\r\n [metadata]\r\n )\r\n\r\n if (isLoading) {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n )\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nSeoEditor.propTypes = {\r\n onChange: PropTypes.func,\r\n initialProps: PropTypes.shape({\r\n image: PropTypes.shape({\r\n url: PropTypes.string\r\n })\r\n }).isRequired,\r\n};\r\n\r\nSeoEditor.defaultProps = {\r\n onChange: () => null,\r\n};\r\n\r\nconst LoaderWrapper = styled.div`\r\n width: 100%;\r\n height: 56px;\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n`;\r\n\r\nexport default SeoEditor;\r\n","export default {\r\n langs: ['pt'],\r\n defaultLangKey: 'pt'\r\n}\r\n","\r\nimport React from 'react'\r\nimport {\r\n Text, Button, StatusCircle, Spacer\r\n} from 'components/atoms'\r\nimport { Tooltip } from 'components/molecules';\r\nimport { FormattedMessage } from 'react-intl'\r\nimport { Link } from 'react-router-dom'\r\nimport styled from 'styled-components/macro'\r\nimport PropTypes from 'prop-types'\r\nimport { status as pageStatus } from 'context/EditorContext'\r\n\r\nconst Status = ({\r\n status,\r\n text,\r\n link,\r\n}) => {\r\n const renderItem = () => (\r\n \r\n \r\n {text && (\r\n <>\r\n \r\n {text}\r\n \r\n )\r\n }\r\n \r\n )\r\n\r\n if (!link) {\r\n return (\r\n } placement=\"top\">\r\n \r\n {renderItem()}\r\n \r\n \r\n )\r\n }\r\n\r\n // todo fix link not going to correct language in english\r\n return (\r\n } placement=\"top\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst ItemWrapper = styled.div`\r\n a {\r\n text-decoration: none;\r\n }\r\n`\r\n\r\nconst ItemContent = styled.div`\r\n display: inline-flex;\r\n align-items: center;\r\n`\r\n\r\nStatus.propTypes = {\r\n text: PropTypes.string,\r\n status: PropTypes.oneOf(Object.keys(pageStatus)).isRequired,\r\n link: PropTypes.string\r\n}\r\n\r\nStatus.defaultProps = {\r\n text: null,\r\n link: null,\r\n}\r\n\r\nexport default Status\r\n","\r\n// read https://medium.com/simply/state-management-with-react-hooks-and-context-api-at-10-lines-of-code-baf6be8302c\r\nimport React, { createContext, useContext, useReducer } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { useReactContextDevTool } from 'hooks'\r\n\r\nexport const UserContext = createContext();\r\n\r\n// initial state\r\nconst initState = {\r\n user: null,\r\n userLoading: false,\r\n userFailure: false,\r\n userAuthenticated: false,\r\n gatherRedirect: '/',\r\n isPreviousGatherPage: true,\r\n subwebsFavorites: []\r\n};\r\n\r\n// actions\r\nexport const actions = {\r\n QUERY_CURRENT_USER_SUCCESS: 'QUERY_CURRENT_USER_SUCCESS',\r\n QUERY_CURRENT_USER_LOADING: 'QUERY_CURRENT_USER_LOADING',\r\n QUERY_CURRENT_USER_FAILURE: 'QUERY_CURRENT_USER_FAILURE',\r\n LOGOUT_USER: 'LOGOUT_USER',\r\n UPDATE_GATHER_REDIRECT: 'UPDATE_GATHER_REDIRECT',\r\n UPDATE_GATHER_PREVIOUS: 'UPDATE_GATHER_PREVIOUS',\r\n ADD_USER_SUBWEB: 'ADD_USER_SUBWEB',\r\n};\r\n\r\n// reducer\r\nconst reducer = (state, action) => {\r\n const { type, data } = action;\r\n\r\n switch (type) {\r\n case actions.QUERY_CURRENT_USER_SUCCESS:\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n ...data\r\n },\r\n userAuthenticated: true,\r\n userFailure: false,\r\n userLoading: false,\r\n };\r\n case actions.QUERY_CURRENT_USER_FAILURE:\r\n return {\r\n ...state,\r\n user: null,\r\n userAuthenticated: false,\r\n userFailure: true,\r\n userLoading: false,\r\n };\r\n case actions.QUERY_CURRENT_USER_LOADING:\r\n return {\r\n ...state,\r\n userAuthenticated: false,\r\n userFailure: false,\r\n userLoading: true,\r\n };\r\n case actions.UPDATE_GATHER_REDIRECT:\r\n return {\r\n ...state,\r\n gatherRedirect: data,\r\n };\r\n case actions.LOGOUT_USER:\r\n return {\r\n ...state,\r\n user: null,\r\n userAuthenticated: false,\r\n userFailure: false,\r\n userLoading: false,\r\n };\r\n case actions.UPDATE_GATHER_PREVIOUS:\r\n return {\r\n ...state,\r\n isPreviousGatherPage: data\r\n };\r\n case actions.ADD_USER_SUBWEB:\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n subwebs: [\r\n ...state.user.subwebs,\r\n data\r\n ]\r\n }\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const UserProvider = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, initState)\r\n useReactContextDevTool({ id: 'user', displayName: 'User', values: state })\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nUserProvider.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n};\r\n\r\nexport const useUserContext = () => useContext(UserContext);\r\n\r\nexport function updateGatherRedirect(dispatch, url) {\r\n const blackList = ['/gather', '/login'];\r\n let path = url;\r\n if (blackList.includes(url)) path = '/';\r\n dispatch({\r\n type: actions.UPDATE_GATHER_REDIRECT,\r\n data: path,\r\n });\r\n}\r\n\r\nexport function isUserSubwebAdmin(user, subweb) {\r\n if (!subweb || !user || !user.subwebs || !user.subwebs.length > 0) return false\r\n const subwebData = user.subwebs.find(\r\n subwebData => subwebData.slug === subweb || encodeURIComponent(subwebData.slug) === subweb\r\n )\r\n return (subwebData && subwebData.admin) ? subwebData.admin : false\r\n}\r\n","import React from 'react'\r\nimport {\r\n Form,\r\n Button,\r\n} from 'components/atoms'\r\nimport { Formik, Field } from 'formik';\r\nimport { FieldCustom } from 'components/molecules';\r\nimport PropTypes from 'prop-types'\r\nimport * as Yup from 'yup';\r\nimport styled from 'styled-components/macro';\r\nimport { linkRegex } from 'services/constants';\r\n\r\nconst LinkSchema = Yup.object().shape({\r\n title: Yup.string()\r\n .min(2, 'Mínimo de 4 caracteres')\r\n .max(50, 'Máximo de 50 caracteres')\r\n .required('Campo obrigatório'),\r\n url: Yup.string()\r\n .matches(linkRegex, 'O URL inserido não é válido. Certifique-se que começa com http:// ou https:// para sites fora do portal ou com /{lingua}/... para ligações internas.')\r\n .required('Campo obrigatório')\r\n});\r\n\r\n\r\nconst SideNavEditorLinkForm = ({\r\n initialValues, onChange, onSubmit, onDiscard\r\n}) => {\r\n // when the values change Formik runs validate so we can values changing side effects here\r\n // update the page json by invoking onChange(newProps)\r\n const handleFormChange = (newValues) => {\r\n onChange(newValues)\r\n };\r\n\r\n return (\r\n {\r\n onSubmit(values);\r\n setSubmitting(false);\r\n }}\r\n enableReinitialize\r\n >\r\n
\r\n \r\n \r\n \r\n {typeof onDiscard === 'function' && (\r\n \r\n )}\r\n \r\n Adicionar\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Actions = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n padding-top: ${props => props.theme.spacing.l};\r\n`;\r\n\r\nSideNavEditorLinkForm.defaultProps = {\r\n initialValues: {\r\n title: '',\r\n url: ''\r\n },\r\n onSubmit: () => {},\r\n onDiscard: null,\r\n onChange: () => {}\r\n}\r\n\r\nSideNavEditorLinkForm.propTypes = {\r\n initialValues: PropTypes.shape({\r\n title: PropTypes.string,\r\n url: PropTypes.string,\r\n }),\r\n onChange: PropTypes.func,\r\n onDiscard: PropTypes.func,\r\n onSubmit: PropTypes.func,\r\n}\r\n\r\n\r\nexport default SideNavEditorLinkForm\r\n","/* eslint-disable no-console, react/prop-types, react/destructuring-assignment */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types'\r\nimport { Editor } from 'react-draft-wysiwyg';\r\nimport { EditorState } from 'draft-js';\r\nimport { MarkdownStyles, theme } from 'assets/lib'\r\nimport styled, { css } from 'styled-components'\r\nimport { PortalStyles } from 'components/atoms'\r\nimport {\r\n RichTextEditorOptionVideo, \r\n RichTextEditorOptionImage, \r\n RichTextEditorOptionFile, \r\n RichTextEditorOptionHtml\r\n} from 'components/molecules'\r\nimport { richTextEditorOptions } from 'types'\r\nimport { darken, rem } from 'polished';\r\nimport { toolbarOptions, blockRenderFunc, customFieldLabels } from './utils'\r\n\r\nconst RichTextEditor = ({ \r\n editorState, \r\n onEditorStateChange,\r\n onStateChangeOptionHtml, \r\n options \r\n}) => (\r\n \r\n \r\n \r\n ,\r\n ,\r\n ,\r\n \r\n ]}\r\n />\r\n \r\n \r\n \r\n)\r\n\r\nconst EditorStyles = styled.div(props => css`\r\n .markdown {\r\n line-height: 1.6;\r\n text-transform: none;\r\n font-size: ${rem('15px')};\r\n font-weight: ${props.theme.weight.light};\r\n letter-spacing: ${props.theme.values.letterSpacing};\r\n font-family: ${props.theme.type.base};\r\n color: ${(props.isThemeReverse\r\n ? props.theme.components.text.colorReverse\r\n : props.theme.components.text.color)};\r\n font-weight: ${props.theme.weight.light};\r\n }\r\n .rdw-option-wrapper, .rdw-dropdown-selectedtext, rdw-dropdown-wrapper, .rdw-block-dropdown {\r\n background-color: ${props.theme.colors.bgLighterS};\r\n border: none;\r\n &:hover {\r\n background-color: ${darken(0.04, props.theme.colors.bgLighterS)};\r\n }\r\n }\r\n .rdw-editor-main {\r\n overflow: visible;\r\n }\r\n .rdw-link-decorator-icon {\r\n display: none;\r\n }\r\n .slick-slider {\r\n max-width: 540px;\r\n }\r\n\r\n .rdw-option-wrapper {\r\n padding: ${theme.spacing.xs2};\r\n border-radius: 2px;\r\n margin: 4px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n background: ${props.theme.colors.bgLighterS};\r\n text-transform: capitalize;\r\n}\r\n.rdw-option-disabled {\r\n opacity: 0.3;\r\n cursor: default;\r\n}\r\n.rdw-dropdown-wrapper {\r\n height: 30px;\r\n background: white;\r\n cursor: pointer;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n margin: 0 3px;\r\n text-transform: capitalize;\r\n background: white;\r\n}\r\n.rdw-dropdown-wrapper:focus {\r\n outline: none;\r\n}\r\n.rdw-dropdown-wrapper:hover {\r\n background-color: #FFFFFF;\r\n}\r\n.rdw-dropdown-wrapper:active {\r\n}\r\n.rdw-dropdown-carettoopen {\r\n height: 0px;\r\n width: 0px;\r\n position: absolute;\r\n top: 35%;\r\n right: 10%;\r\n border-top: 6px solid black;\r\n border-left: 5px solid transparent;\r\n border-right: 5px solid transparent;\r\n}\r\n.rdw-dropdown-carettoclose {\r\n height: 0px;\r\n width: 0px;\r\n position: absolute;\r\n top: 35%;\r\n right: 10%;\r\n border-bottom: 6px solid black;\r\n border-left: 5px solid transparent;\r\n border-right: 5px solid transparent;\r\n}\r\n.rdw-dropdown-selectedtext {\r\n display: flex;\r\n position: relative;\r\n height: 100%;\r\n align-items: center;\r\n padding: 0 5px;\r\n}\r\n.rdw-dropdown-optionwrapper {\r\n z-index: 100;\r\n position: relative;\r\n border: 1px solid #F1F1F1;\r\n width: 98%;\r\n background: white;\r\n border-radius: 2px;\r\n margin: 0;\r\n padding: 0;\r\n max-height: 250px;\r\n overflow-y: scroll;\r\n}\r\n.rdw-dropdown-optionwrapper:hover {\r\n background-color: #FFFFFF;\r\n}\r\n.rdw-dropdownoption-default {\r\n min-height: 25px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 5px;\r\n}\r\n.rdw-dropdownoption-highlighted {\r\n background: #F1F1F1;\r\n}\r\n.rdw-dropdownoption-active {\r\n background: #f5f5f5;\r\n}\r\n.rdw-dropdownoption-disabled {\r\n opacity: 0.3;\r\n cursor: default;\r\n}\r\n.rdw-inline-wrapper {\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap\r\n}\r\n.rdw-inline-dropdown {\r\n width: 50px;\r\n}\r\n.rdw-inline-dropdownoption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-block-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n flex-wrap: wrap\r\n}\r\n.rdw-block-dropdown {\r\n width: 110px;\r\n}\r\n.rdw-fontsize-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n flex-wrap: wrap\r\n}\r\n.rdw-fontsize-dropdown {\r\n min-width: 40px;\r\n}\r\n.rdw-fontsize-option {\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-fontfamily-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n flex-wrap: wrap\r\n}\r\n.rdw-fontfamily-dropdown {\r\n width: 115px;\r\n}\r\n.rdw-fontfamily-placeholder {\r\n white-space: nowrap;\r\n max-width: 90px;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n}\r\n.rdw-fontfamily-optionwrapper {\r\n width: 140px;\r\n}\r\n.rdw-list-wrapper {\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap\r\n}\r\n.rdw-list-dropdown {\r\n width: 50px;\r\n z-index: 90;\r\n}\r\n.rdw-list-dropdownOption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-text-align-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n flex-wrap: wrap\r\n}\r\n.rdw-text-align-dropdown {\r\n width: 50px;\r\n z-index: 90;\r\n}\r\n.rdw-text-align-dropdownOption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-right-aligned-block {\r\n text-align: right;\r\n}\r\n.rdw-left-aligned-block {\r\n text-align: left !important;\r\n}\r\n.rdw-center-aligned-block {\r\n text-align: center !important;\r\n}\r\n.rdw-justify-aligned-block {\r\n text-align: justify !important;\r\n}\r\n.rdw-right-aligned-block > div {\r\n display: inline-block;\r\n}\r\n.rdw-left-aligned-block > div {\r\n display: inline-block;\r\n}\r\n.rdw-center-aligned-block > div {\r\n display: inline-block;\r\n}\r\n.rdw-justify-aligned-block > div {\r\n display: inline-block;\r\n}\r\n.rdw-colorpicker-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-colorpicker-modal {\r\n position: absolute;\r\n top: 35px;\r\n left: 5px;\r\n display: flex;\r\n flex-direction: column;\r\n width: 175px;\r\n height: 175px;\r\n border: 1px solid #F1F1F1;\r\n padding: 15px;\r\n border-radius: 2px;\r\n z-index: 100;\r\n background: white;\r\n}\r\n.rdw-colorpicker-modal-header {\r\n display: flex;\r\n padding-bottom: 5px;\r\n}\r\n.rdw-colorpicker-modal-style-label {\r\n font-size: 15px;\r\n width: 50%;\r\n text-align: center;\r\n cursor: pointer;\r\n padding: 0 10px 5px;\r\n}\r\n.rdw-colorpicker-modal-style-label-active {\r\n border-bottom: 2px solid #0a66b7;\r\n}\r\n.rdw-colorpicker-modal-options {\r\n margin: 5px auto;\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n flex-wrap: wrap;\r\n overflow: scroll;\r\n}\r\n.rdw-colorpicker-cube {\r\n width: 22px;\r\n height: 22px;\r\n border: 1px solid #F1F1F1;\r\n}\r\n.rdw-colorpicker-option {\r\n margin: 3px;\r\n padding: 0;\r\n min-height: 20px;\r\n border: none;\r\n width: 22px;\r\n height: 22px;\r\n min-width: 22px;\r\n}\r\n\r\n.rdw-link-wrapper {\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-link-dropdown {\r\n width: 50px;\r\n}\r\n.rdw-link-dropdownOption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-link-dropdownPlaceholder {\r\n margin-left: 8px;\r\n}\r\n.rdw-link-modal {\r\n position: absolute;\r\n top: 35px;\r\n left: 5px;\r\n display: flex;\r\n flex-direction: column;\r\n width: 235px;\r\n height: 205px;\r\n border: 1px solid #F1F1F1;\r\n padding: 15px;\r\n border-radius: 2px;\r\n z-index: 100;\r\n background: white;\r\n}\r\n.rdw-link-modal-label {\r\n font-size: 15px;\r\n}\r\n\r\n.rdw-link-modal-input {\r\n margin-top: 5px;\r\n border-radius: 2px;\r\n border: 1px solid #F1F1F1;\r\n height: 25px;\r\n margin-bottom: 15px;\r\n padding: 0 5px;\r\n}\r\n.rdw-link-modal-input:focus {\r\n outline: none;\r\n}\r\n.rdw-link-modal-buttonsection {\r\n margin: 20px auto 0 auto;\r\n}\r\n.rdw-link-modal-target-option {\r\n display: none\r\n}\r\n.rdw-link-modal-target-option > span {\r\n margin-left: 5px;\r\n}\r\n.rdw-link-modal-btn {\r\n margin-left: 10px;\r\n width: 75px;\r\n height: 30px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n cursor: pointer;\r\n background: white;\r\n text-transform: capitalize;\r\n}\r\n.rdw-link-modal-btn:hover {\r\n}\r\n.rdw-link-modal-btn:active {\r\n}\r\n.rdw-link-modal-btn:focus {\r\n outline: none !important;\r\n}\r\n.rdw-link-modal-btn:disabled {\r\n background: #ece9e9;\r\n}\r\n.rdw-link-dropdownoption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-history-dropdown {\r\n width: 50px;\r\n}\r\n.rdw-embedded-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-embedded-modal {\r\n position: absolute;\r\n top: 35px;\r\n left: 5px;\r\n display: flex;\r\n flex-direction: column;\r\n width: 235px;\r\n height: 180px;\r\n border: 1px solid #F1F1F1;\r\n padding: 15px;\r\n border-radius: 2px;\r\n z-index: 100;\r\n background: white;\r\n justify-content: space-between;\r\n}\r\n.rdw-embedded-modal-header {\r\n font-size: 15px;\r\n display: flex;\r\n}\r\n.rdw-embedded-modal-header-option {\r\n width: 50%;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n}\r\n.rdw-embedded-modal-header-label {\r\n width: 95px;\r\n border: 1px solid #f1f1f1;\r\n margin-top: 5px;\r\n background: #6EB8D4;\r\n border-bottom: 2px solid #0a66b7;\r\n}\r\n.rdw-embedded-modal-link-section {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.rdw-embedded-modal-link-input {\r\n width: 88%;\r\n height: 35px;\r\n margin: 10px 0;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n font-size: 15px;\r\n padding: 0 5px;\r\n}\r\n.rdw-embedded-modal-link-input-wrapper {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.rdw-embedded-modal-link-input:focus {\r\n outline: none;\r\n}\r\n.rdw-embedded-modal-btn-section {\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-embedded-modal-btn {\r\n margin: 0 3px;\r\n width: 75px;\r\n height: 30px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n cursor: pointer;\r\n background: white;\r\n text-transform: capitalize;\r\n}\r\n.rdw-embedded-modal-btn:hover {\r\n}\r\n.rdw-embedded-modal-btn:active {\r\n\r\n}\r\n.rdw-embedded-modal-btn:focus {\r\n outline: none !important;\r\n}\r\n.rdw-embedded-modal-btn:disabled {\r\n background: #ece9e9;\r\n}\r\n.rdw-embedded-modal-size {\r\n align-items: center;\r\n display: flex;\r\n margin: 8px 0;\r\n justify-content: space-between;\r\n}\r\n.rdw-embedded-modal-size-input {\r\n width: 80%;\r\n height: 20px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n font-size: 12px;\r\n}\r\n.rdw-embedded-modal-size-input:focus {\r\n outline: none;\r\n}\r\n.rdw-emoji-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-emoji-modal {\r\n overflow: auto;\r\n position: absolute;\r\n top: 35px;\r\n left: 5px;\r\n display: flex;\r\n flex-wrap: wrap;\r\n width: 235px;\r\n height: 180px;\r\n border: 1px solid #F1F1F1;\r\n padding: 15px;\r\n border-radius: 2px;\r\n z-index: 100;\r\n background: white;\r\n}\r\n.rdw-emoji-icon {\r\n margin: 2.5px;\r\n height: 24px;\r\n width: 24px;\r\n cursor: pointer;\r\n font-size: 22px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.rdw-spinner {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 100%;\r\n width: 100%;\r\n}\r\n.rdw-spinner > div {\r\n width: 12px;\r\n height: 12px;\r\n background-color: #333;\r\n\r\n border-radius: 100%;\r\n display: inline-block;\r\n -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;\r\n animation: sk-bouncedelay 1.4s infinite ease-in-out both;\r\n}\r\n.rdw-spinner .rdw-bounce1 {\r\n -webkit-animation-delay: -0.32s;\r\n animation-delay: -0.32s;\r\n}\r\n.rdw-spinner .rdw-bounce2 {\r\n -webkit-animation-delay: -0.16s;\r\n animation-delay: -0.16s;\r\n}\r\n@-webkit-keyframes sk-bouncedelay {\r\n 0%, 80%, 100% { -webkit-transform: scale(0) }\r\n 40% { -webkit-transform: scale(1.0) }\r\n}\r\n@keyframes sk-bouncedelay {\r\n 0%, 80%, 100% {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\r\n } 40% {\r\n -webkit-transform: scale(1.0);\r\n transform: scale(1.0);\r\n }\r\n}\r\n.rdw-image-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-image-modal {\r\n position: absolute;\r\n top: 35px;\r\n left: 5px;\r\n display: flex;\r\n flex-direction: column;\r\n width: 235px;\r\n border: 1px solid #F1F1F1;\r\n padding: 15px;\r\n border-radius: 2px;\r\n z-index: 100;\r\n background: white;\r\n}\r\n.rdw-image-modal-header {\r\n font-size: 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n}\r\n.rdw-image-modal-header-option {\r\n width: 50%;\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n}\r\n.rdw-image-modal-header-label {\r\n width: 80px;\r\n background: #f1f1f1;\r\n border: 1px solid #f1f1f1;\r\n margin-top: 5px;\r\n}\r\n.rdw-image-modal-header-label-highlighted {\r\n background: #6EB8D4;\r\n border-bottom: 2px solid #0a66b7;\r\n}\r\n.rdw-image-modal-upload-option {\r\n width: 100%;\r\n color: gray;\r\n cursor: pointer;\r\n display: flex;\r\n border: none;\r\n font-size: 15px;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #f1f1f1;\r\n outline: 2px dashed gray;\r\n outline-offset: -10px;\r\n margin: 10px 0;\r\n padding: 9px 0;\r\n}\r\n.rdw-image-modal-upload-option-highlighted {\r\n outline: 2px dashed #0a66b7;\r\n}\r\n.rdw-image-modal-upload-option-label {\r\n cursor: pointer;\r\n height: 100%;\r\n width: 100%;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 15px;\r\n}\r\n.rdw-image-modal-upload-option-label span{\r\n padding: 0 20px;\r\n}\r\n.rdw-image-modal-upload-option-image-preview {\r\n max-width: 100%;\r\n max-height: 200px;\r\n}\r\n.rdw-image-modal-upload-option-input {\r\n width: 0.1px;\r\n height: 0.1px;\r\n opacity: 0;\r\n overflow: hidden;\r\n position: absolute;\r\n z-index: -1;\r\n}\r\n.rdw-image-modal-url-section {\r\n display: flex;\r\n align-items: center;\r\n}\r\n.rdw-image-modal-url-input {\r\n width: 90%;\r\n height: 35px;\r\n margin: 15px 0 12px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n font-size: 15px;\r\n padding: 0 5px;\r\n}\r\n.rdw-image-modal-btn-section {\r\n margin: 10px auto 0;\r\n}\r\n.rdw-image-modal-url-input:focus {\r\n outline: none;\r\n}\r\n.rdw-image-modal-btn {\r\n margin: 0 5px;\r\n width: 75px;\r\n height: 30px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n cursor: pointer;\r\n background: white;\r\n text-transform: capitalize;\r\n}\r\n.rdw-image-modal-btn:hover {\r\n}\r\n.rdw-image-modal-btn:active {\r\n}\r\n.rdw-image-modal-btn:focus {\r\n outline: none !important;\r\n}\r\n.rdw-image-modal-btn:disabled {\r\n background: #ece9e9;\r\n}\r\n.rdw-image-modal-spinner {\r\n position: absolute;\r\n top: -3px;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0.5;\r\n}\r\n.rdw-image-modal-alt-input {\r\n width: 70%;\r\n height: 20px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n font-size: 12px;\r\n margin-left: 5px;\r\n}\r\n.rdw-image-modal-alt-input:focus {\r\n outline: none;\r\n}\r\n.rdw-image-modal-alt-lbl {\r\n font-size: 12px;\r\n}\r\n.rdw-image-modal-size {\r\n align-items: center;\r\n display: flex;\r\n margin: 8px 0;\r\n justify-content: space-between;\r\n}\r\n.rdw-image-modal-size-input {\r\n width: 40%;\r\n height: 20px;\r\n border: 1px solid #F1F1F1;\r\n border-radius: 2px;\r\n font-size: 12px;\r\n}\r\n.rdw-image-modal-size-input:focus {\r\n outline: none;\r\n}\r\n.rdw-image-mandatory-sign {\r\n color: red;\r\n margin-left: 3px;\r\n margin-right: 3px;\r\n}\r\n.rdw-remove-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n position: relative;\r\n flex-wrap: wrap\r\n}\r\n.rdw-history-wrapper {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 6px;\r\n flex-wrap: wrap\r\n}\r\n.rdw-history-dropdownoption {\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-history-dropdown {\r\n width: 50px;\r\n}\r\n.rdw-link-decorator-wrapper {\r\n position: relative;\r\n}\r\n.rdw-link-decorator-icon {\r\n position: absolute;\r\n left: 40%;\r\n top: 0;\r\n cursor: pointer;\r\n background-color: white;\r\n}\r\n.rdw-mention-link {\r\n text-decoration: none;\r\n color: #1236ff;\r\n background-color: #f0fbff;\r\n padding: 1px 2px;\r\n border-radius: 2px;\r\n}\r\n.rdw-suggestion-wrapper {\r\n position: relative;\r\n}\r\n.rdw-suggestion-dropdown {\r\n position: absolute;\r\n display: flex;\r\n flex-direction: column;\r\n border: 1px solid #F1F1F1;\r\n min-width: 100px;\r\n max-height: 150px;\r\n overflow: auto;\r\n background: white;\r\n z-index: 100;\r\n}\r\n.rdw-suggestion-option {\r\n padding: 7px 5px;\r\n border-bottom: 1px solid #f1f1f1;\r\n}\r\n.rdw-suggestion-option-active {\r\n background-color: #F1F1F1;\r\n}\r\n.rdw-hashtag-link {\r\n text-decoration: none;\r\n color: #1236ff;\r\n background-color: #f0fbff;\r\n padding: 1px 2px;\r\n border-radius: 2px;\r\n}\r\n.rdw-image-alignment-options-popup {\r\n position: absolute;\r\n background: white;\r\n display: flex;\r\n padding: 5px 2px;\r\n border-radius: 2px;\r\n border: 1px solid #F1F1F1;\r\n width: 105px;\r\n cursor: pointer;\r\n z-index: 100;\r\n}\r\n.rdw-alignment-option-left {\r\n justify-content: flex-start;\r\n}\r\n.rdw-image-alignment-option {\r\n height: 15px;\r\n width: 15px;\r\n min-width: 15px;\r\n}\r\n.rdw-image-alignment {\r\n position: relative;\r\n}\r\n.rdw-image-imagewrapper {\r\n position: relative;\r\n}\r\n.rdw-image-center {\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.rdw-image-left {\r\n display: flex;\r\n}\r\n.rdw-image-right {\r\n display: flex;\r\n justify-content: flex-end;\r\n}\r\n.rdw-image-alignment-options-popup-right {\r\n right: 0;\r\n}\r\n.rdw-editor-main {\r\n height: 100%;\r\n box-sizing: border-box;\r\n}\r\n.rdw-editor-toolbar {\r\n padding: 0px;\r\n display: flex;\r\n justify-content: flex-start;\r\n flex-wrap: wrap;\r\n font-size: 15px;\r\n user-select: none;\r\n background-color: ${props.theme.colors.bgLighterS};\r\n position: sticky;\r\n top: 50px;\r\n z-index: ${props => props.theme.values.zIndex.xl};\r\n}\r\n.public-DraftStyleDefault-block {\r\n margin: 1em 0;\r\n}\r\n.rdw-editor-wrapper:focus {\r\n outline: none;\r\n}\r\n.rdw-editor-wrapper {\r\n box-sizing: content-box;\r\n}\r\n.rdw-editor-main blockquote {\r\n border-left: 5px solid #f1f1f1;\r\n padding-left: 5px;\r\n .public-DraftStyleDefault-block {\r\n margin: 0;\r\n }\r\n}\r\n.rdw-editor-main h2,h3,h4 {\r\n .public-DraftStyleDefault-block {\r\n margin: 0;\r\n }\r\n}\r\n.public-DraftStyleDefault-unorderedListItem {\r\n list-style-type: none !important;\r\n}\r\n.rdw-editor-main pre {\r\n background: #f1f1f1;\r\n border-radius: 3px;\r\n padding: 1px 10px;\r\n}\r\n\r\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) \". \";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) \". \";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) \". \";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) \". \";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) \". \";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}\r\n`)\r\n\r\nRichTextEditor.propTypes = {\r\n editorState: PropTypes.shape({}),\r\n onEditorStateChange: PropTypes.func,\r\n options: richTextEditorOptions,\r\n}\r\n\r\nRichTextEditor.defaultProps = {\r\n editorState: EditorState.createEmpty(),\r\n onEditorStateChange: () => null,\r\n options: {\r\n activeColor: theme.viewsColors.root,\r\n },\r\n}\r\n\r\nexport default RichTextEditor;\r\n","/* eslint-disable no-param-reassign, no-continue */\r\n\r\n// good luck trying to figure this out\r\n// i tried my best with the comments\r\n\r\nconst TOKENS = {\r\n CAROUSEL: 'carousel',\r\n CAROUSEL_OPEN: 'carousel_open',\r\n CAROUSEL_CLOSE: 'carousel_close'\r\n};\r\n\r\n/**\r\n * Remarkable block parser that recognizes carousels\r\n * Example:\r\n * \r\n * ![image](image)\r\n * \r\n */\r\nexport const parser = (state, startLine, endLine, silent) => {\r\n // position of line start in src + number of spaces used to indent it\r\n const lineStart = state.bMarks[startLine] + state.tShift[startLine];\r\n // position of line end in src\r\n const lineEnd = state.eMarks[startLine];\r\n\r\n // check if line starts with '<'\r\n const tagMarker = state.src.charCodeAt(lineStart);\r\n\r\n // Wrong marker\r\n if (tagMarker !== 60 /* '<' */) return false;\r\n\r\n // check if enough chars for \r\n const tag = '';\r\n const tagNumberOfChars = tag.length;\r\n if (lineStart + tagNumberOfChars > lineEnd) return false;\r\n\r\n const lineText = state.src.slice(lineStart, lineEnd).trim();\r\n if (lineText !== tag) return false;\r\n\r\n if (silent) return true;\r\n\r\n // scan for tag ending\r\n let nextLine = startLine;\r\n let hasEnding = false;\r\n let insideText = ''\r\n const tagClosed = '';\r\n\r\n while (nextLine < endLine) {\r\n nextLine += 1;\r\n\r\n if (nextLine >= endLine) break;\r\n\r\n const nextLineStart = state.bMarks[nextLine] + state.tShift[nextLine];\r\n const nextLineEnd = state.eMarks[nextLine];\r\n const nextLineText = state.src.slice(nextLineStart, nextLineEnd).trim()\r\n\r\n if (state.src.charCodeAt(nextLineStart) !== tagMarker) {\r\n insideText = insideText !== '' ? `${insideText}\\n${nextLineText}` : nextLineText\r\n continue;\r\n }\r\n if (nextLineText === tagClosed) {\r\n hasEnding = true;\r\n break;\r\n }\r\n }\r\n\r\n // Ensure nested parsing stops at delimiting block\r\n const oldMax = state.lineMax;\r\n state.lineMax = nextLine + (hasEnding ? -1 : 0);\r\n const oldParentType = state.parentType;\r\n state.parentType = 'button';\r\n\r\n const lines = [startLine, 0];\r\n\r\n // Let register token and progress\r\n state.tokens.push({\r\n type: TOKENS.CAROUSEL_OPEN,\r\n level: state.level,\r\n lines,\r\n data: insideText\r\n });\r\n // whether you wish to allow other blocks to be nested in your content or not.\r\n // HACK: removed to simplify markdown to draft conversion\r\n // state.parser.tokenize(state, startLine + 1, nextLine);\r\n state.tokens.push({\r\n type: TOKENS.CAROUSEL_CLOSE,\r\n level: state.level,\r\n });\r\n\r\n // Revert\r\n lines[1] = nextLine;\r\n state.line = nextLine + (hasEnding ? 1 : 0);\r\n state.lineMax = oldMax;\r\n state.parentType = oldParentType;\r\n\r\n\r\n return true;\r\n};\r\n\r\n/**\r\n * Remarkable open renderer.\r\n * Kind of irrelavent in the context of this project\r\n */\r\nexport function openRenderer() {\r\n return () => '
';\r\n}\r\n\r\n/**\r\n * Callout closing tag renderer\r\n * Kind of irrelavent in the context of this project\r\n */\r\nexport function closeRenderer() {\r\n return () => '
';\r\n}\r\n\r\nconst plugin = (md, opts) => {\r\n md.block.ruler.before('code', TOKENS.CAROUSEL, parser, opts);\r\n md.renderer.rules[TOKENS.CAROUSEL_OPEN] = openRenderer(opts);\r\n md.renderer.rules[TOKENS.CAROUSEL_CLOSE] = closeRenderer(opts);\r\n};\r\n\r\nexport default plugin;\r\n","/* eslint-disable no-param-reassign */\r\n\r\n// Inspired by:\r\n// https://github.com/orbiting/cms-draft/blob/fc6d509b61eb7fd0ad9429fae5e06fd11929c5f5/src/utils/markdown.js\r\n\r\n\r\nconst TOKENS = {\r\n VIDEO: 'video',\r\n VIDEO_OPEN: 'video_open',\r\n VIDEO_CLOSE: 'video_close'\r\n};\r\n\r\n/**\r\n * Remarkable block parser that video tags\r\n *