@igamingcareer/igaming-components 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +26 -26
- package/dist/index.mjs +2634 -2604
- package/dist/types/components/ui/alert-dialog.d.ts +20 -0
- package/dist/types/components/ui/alert.d.ts +8 -0
- package/dist/types/components/ui/avatar.d.ts +6 -0
- package/dist/types/components/ui/badge.d.ts +9 -0
- package/dist/types/components/ui/button.d.ts +11 -0
- package/dist/types/components/ui/card.d.ts +8 -0
- package/dist/types/components/ui/checkbox.d.ts +4 -0
- package/dist/types/components/ui/collapsible.d.ts +5 -0
- package/dist/types/components/ui/command.d.ts +82 -0
- package/dist/types/components/ui/dialog.d.ts +19 -0
- package/dist/types/components/ui/drawer.d.ts +22 -0
- package/dist/types/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/types/components/ui/input.d.ts +3 -0
- package/dist/types/components/ui/label.d.ts +5 -0
- package/dist/types/components/ui/popover.d.ts +7 -0
- package/dist/types/components/ui/progress.d.ts +4 -0
- package/dist/types/components/ui/radio-group.d.ts +5 -0
- package/dist/types/components/ui/scroll-area.d.ts +5 -0
- package/dist/types/components/ui/select.d.ts +13 -0
- package/dist/types/components/ui/separator.d.ts +4 -0
- package/dist/types/components/ui/slider.d.ts +4 -0
- package/dist/types/components/ui/switch.d.ts +4 -0
- package/dist/types/components/ui/tabs.d.ts +7 -0
- package/dist/types/components/ui/textarea.d.ts +5 -0
- package/dist/types/components/ui/toast.d.ts +15 -0
- package/dist/types/hooks/use-toast.d.ts +45 -0
- package/dist/types/lib/utils.d.ts +2 -0
- package/dist/types/src/components/App/App.d.ts +2 -0
- package/dist/types/src/components/Auth/ForgotPassword.d.ts +26 -0
- package/dist/types/src/components/Auth/ForgotPasswordForm.d.ts +16 -0
- package/dist/types/src/components/Auth/Login.d.ts +36 -0
- package/dist/types/src/components/Auth/LoginForm.d.ts +23 -0
- package/dist/types/src/components/Auth/Register.d.ts +33 -0
- package/dist/types/src/components/Auth/RegisterForm.d.ts +29 -0
- package/dist/types/src/components/Auth/RegisterFormV2.d.ts +20 -0
- package/dist/types/src/components/Auth/RegisterV2.d.ts +18 -0
- package/dist/types/src/components/Auth/SignInPromptModal.d.ts +23 -0
- package/dist/types/src/components/Auth/VerificationBanner.d.ts +11 -0
- package/dist/types/src/components/Button/Button.d.ts +5 -0
- package/dist/types/src/components/CandidateProfile/CandidateProfile.d.ts +49 -0
- package/dist/types/src/components/CareerAssistant/CareerAssistant.d.ts +11 -0
- package/dist/types/src/components/CareerAssistant/MessageBubble.d.ts +15 -0
- package/dist/types/src/components/CareerAssistant/WelcomeScreen.d.ts +7 -0
- package/dist/types/src/components/CareerAssistant/mockCareerAssistant.d.ts +8 -0
- package/dist/types/src/components/Companies/CompaniesList.d.ts +30 -0
- package/dist/types/src/components/Companies/CompanyAdminPage.d.ts +0 -0
- package/dist/types/src/components/Companies/CompanyDetail.d.ts +33 -0
- package/dist/types/src/components/Companies/CompanyDetail.similarCompanies.test.d.ts +1 -0
- package/dist/types/src/components/Companies/CompanyDirectory.d.ts +27 -0
- package/dist/types/src/components/Companies/CompanyDirectoryContainer.d.ts +23 -0
- package/dist/types/src/components/Companies/CompanyFilters.test.d.ts +1 -0
- package/dist/types/src/components/Companies/CompanyGroupDetail.d.ts +6 -0
- package/dist/types/src/components/Companies/CompanyPublicPage.d.ts +0 -0
- package/dist/types/src/components/Companies/CompanyReviewsTab.d.ts +13 -0
- package/dist/types/src/components/Companies/admin/CompanyJobsAdmin.d.ts +0 -0
- package/dist/types/src/components/Companies/admin/CompanyPeopleAdmin.d.ts +0 -0
- package/dist/types/src/components/Companies/admin/CompanyProfileEditor.d.ts +0 -0
- package/dist/types/src/components/Companies/companiesListFilters.d.ts +19 -0
- package/dist/types/src/components/Companies/companiesListFilters.test.d.ts +1 -0
- package/dist/types/src/components/Companies/components/ClaimProfileDialog.d.ts +10 -0
- package/dist/types/src/components/Companies/components/CompaniesHeader.d.ts +2 -0
- package/dist/types/src/components/Companies/components/CompanyAdminEditDialog.d.ts +15 -0
- package/dist/types/src/components/Companies/components/CompanyAdminShell.d.ts +38 -0
- package/dist/types/src/components/Companies/components/CompanyCard.d.ts +25 -0
- package/dist/types/src/components/Companies/components/CompanyClaim.d.ts +7 -0
- package/dist/types/src/components/Companies/components/CompanyComparison.d.ts +12 -0
- package/dist/types/src/components/Companies/components/CompanyFilters.d.ts +10 -0
- package/dist/types/src/components/Companies/components/CompanyHeader.d.ts +34 -0
- package/dist/types/src/components/Companies/components/CompanyMetaHighlights.d.ts +11 -0
- package/dist/types/src/components/Companies/components/LoadingCompanyShadowCard.d.ts +5 -0
- package/dist/types/src/components/Companies/components/ViewControls.d.ts +14 -0
- package/dist/types/src/components/Companies/components/admin/CandidateCard.d.ts +11 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminCandidates.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminEvents.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminJobs.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminNews.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminOverview.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminPeople.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminProducts.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminSettings.d.ts +10 -0
- package/dist/types/src/components/Companies/components/admin/modals/AddEventModal.d.ts +16 -0
- package/dist/types/src/components/Companies/components/admin/modals/AddJobModal.d.ts +17 -0
- package/dist/types/src/components/Companies/components/admin/modals/AddPersonModal.d.ts +15 -0
- package/dist/types/src/components/Companies/components/admin/modals/AddProductModal.d.ts +15 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyEventsTab.d.ts +8 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyInsightsTab.d.ts +2 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyJobsTab.d.ts +9 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyNewsTab.d.ts +8 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyOverviewTab.d.ts +9 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyPeopleTab.d.ts +6 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyProductsTab.d.ts +6 -0
- package/dist/types/src/components/Companies/components/tabs/CompanySidebar.d.ts +7 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyTabsList.d.ts +7 -0
- package/dist/types/src/components/Companies/components/tabs/CompanyTrustTab.d.ts +7 -0
- package/dist/types/src/components/Companies/data/companies.d.ts +18 -0
- package/dist/types/src/components/Companies/data/company-group-preview.d.ts +3 -0
- package/dist/types/src/components/Companies/hooks/useCompaniesQuery.d.ts +10 -0
- package/dist/types/src/components/Companies/reviews/LeaveReviewModal.d.ts +11 -0
- package/dist/types/src/components/Companies/reviews/ReviewCard.d.ts +9 -0
- package/dist/types/src/components/Companies/reviews/ReviewStars.d.ts +9 -0
- package/dist/types/src/components/Companies/reviews/ReviewSummaryBar.d.ts +7 -0
- package/dist/types/src/components/Companies/reviews/index.d.ts +4 -0
- package/dist/types/src/components/Companies/types/companyAdmin.d.ts +30 -0
- package/dist/types/src/components/Companies/types/index.d.ts +379 -0
- package/dist/types/src/components/Companies/utils/companiesQuery.d.ts +6 -0
- package/dist/types/src/components/Companies/utils/companyFilters.d.ts +53 -0
- package/dist/types/src/components/Companies/utils/companyFilters.test.d.ts +1 -0
- package/dist/types/src/components/Companies/utils/normalizeCompanies.d.ts +15 -0
- package/dist/types/src/components/Companies/utils/normalizeCompaniesResponse.test.d.ts +1 -0
- package/dist/types/src/components/Companies/utils/permissions.d.ts +9 -0
- package/dist/types/src/components/Companies/utils/similarCompanies.d.ts +2 -0
- package/dist/types/src/components/CompanyOnboarding/CompanyOnboardingModal.d.ts +18 -0
- package/dist/types/src/components/CompanyOnboarding/index.d.ts +1 -0
- package/dist/types/src/components/Complaints/Complaints.d.ts +8 -0
- package/dist/types/src/components/Complaints/SubmitComplaintModal.d.ts +16 -0
- package/dist/types/src/components/Consent/Analytics.d.ts +9 -0
- package/dist/types/src/components/Consent/ConsentBanner.d.ts +11 -0
- package/dist/types/src/components/Consent/ConsentContext.d.ts +20 -0
- package/dist/types/src/components/ContactForm/ContactFormHybrid.d.ts +8 -0
- package/dist/types/src/components/Courses/CoursesList.d.ts +9 -0
- package/dist/types/src/components/Dashboard/AddExperienceModal.d.ts +33 -0
- package/dist/types/src/components/Dashboard/AddJobDetailModal.d.ts +9 -0
- package/dist/types/src/components/Dashboard/AddLanguageModal.d.ts +10 -0
- package/dist/types/src/components/Dashboard/AddPreferenceTopicModal.d.ts +7 -0
- package/dist/types/src/components/Dashboard/AddSkillModal.d.ts +7 -0
- package/dist/types/src/components/Dashboard/Alerts/AlertCard.d.ts +12 -0
- package/dist/types/src/components/Dashboard/Alerts/AlertEmptyState.d.ts +5 -0
- package/dist/types/src/components/Dashboard/Alerts/AlertForm.d.ts +10 -0
- package/dist/types/src/components/Dashboard/Alerts/AlertInsightsWidget.d.ts +8 -0
- package/dist/types/src/components/Dashboard/Alerts/AlertStatusBadge.d.ts +8 -0
- package/dist/types/src/components/Dashboard/Alerts/DashboardAlerts.d.ts +11 -0
- package/dist/types/src/components/Dashboard/CVUploadDialog.d.ts +8 -0
- package/dist/types/src/components/Dashboard/CompanyDashboard.d.ts +15 -0
- package/dist/types/src/components/Dashboard/CompanyEmployeeOverview.d.ts +29 -0
- package/dist/types/src/components/Dashboard/CompanyOwnerOverview.d.ts +20 -0
- package/dist/types/src/components/Dashboard/CompanyRecruiterOverview.d.ts +31 -0
- package/dist/types/src/components/Dashboard/Dashboard.d.ts +56 -0
- package/dist/types/src/components/Dashboard/DashboardCourses.d.ts +32 -0
- package/dist/types/src/components/Dashboard/DashboardJobCard.d.ts +13 -0
- package/dist/types/src/components/Dashboard/DashboardJobs.d.ts +17 -0
- package/dist/types/src/components/Dashboard/DashboardLayout.d.ts +15 -0
- package/dist/types/src/components/Dashboard/DashboardNews.d.ts +15 -0
- package/dist/types/src/components/Dashboard/DashboardNewsCard.d.ts +12 -0
- package/dist/types/src/components/Dashboard/DashboardOverview.d.ts +46 -0
- package/dist/types/src/components/Dashboard/DashboardProfile.d.ts +64 -0
- package/dist/types/src/components/Dashboard/DashboardSettings.d.ts +84 -0
- package/dist/types/src/components/Dashboard/DashboardStats.d.ts +17 -0
- package/dist/types/src/components/Dashboard/FreelancerActivationCard.d.ts +6 -0
- package/dist/types/src/components/Dashboard/FreelancerDashboardSection.d.ts +10 -0
- package/dist/types/src/components/Dashboard/FreelancerOnboardingModal.d.ts +10 -0
- package/dist/types/src/components/Dashboard/OnboardingChecklist.d.ts +16 -0
- package/dist/types/src/components/Dashboard/OnboardingDashboard.d.ts +19 -0
- package/dist/types/src/components/Events/EventCalendarCard.d.ts +7 -0
- package/dist/types/src/components/Events/EventsList.d.ts +11 -0
- package/dist/types/src/components/Events/SubmitEventModal.d.ts +22 -0
- package/dist/types/src/components/Events/mockEvents.d.ts +2 -0
- package/dist/types/src/components/Events/types.d.ts +22 -0
- package/dist/types/src/components/Footer/Footer.d.ts +32 -0
- package/dist/types/src/components/Freelancer/FreelancerProfile.d.ts +19 -0
- package/dist/types/src/components/Freelancer/FreelancerProfileContainer.d.ts +2 -0
- package/dist/types/src/components/Freelancer/Freelancers.d.ts +30 -0
- package/dist/types/src/components/Freelancer/FreelancersContainer.d.ts +2 -0
- package/dist/types/src/components/Freelancer/FreelancersList.d.ts +10 -0
- package/dist/types/src/components/Freelancer/mockFreelancers.d.ts +6 -0
- package/dist/types/src/components/GenericListing/Banner.d.ts +9 -0
- package/dist/types/src/components/GenericListing/DateFilter.d.ts +13 -0
- package/dist/types/src/components/GenericListing/LastVisitedJobs.d.ts +7 -0
- package/dist/types/src/components/GenericListing/Listing.d.ts +32 -0
- package/dist/types/src/components/GenericListing/ListingGrid.d.ts +15 -0
- package/dist/types/src/components/GenericListing/ListingHeader.d.ts +5 -0
- package/dist/types/src/components/GenericListing/ListingSort.d.ts +14 -0
- package/dist/types/src/components/GenericListing/MobileFilterDrawer.d.ts +21 -0
- package/dist/types/src/components/GenericListing/MobileNav.d.ts +3 -0
- package/dist/types/src/components/GenericListing/Pagination.d.ts +8 -0
- package/dist/types/src/components/GenericListing/PaginationControls.d.ts +8 -0
- package/dist/types/src/components/GenericListing/SearchBar.d.ts +10 -0
- package/dist/types/src/components/GenericListing/SearchableSelect.d.ts +10 -0
- package/dist/types/src/components/GenericListing/Sidebar.d.ts +11 -0
- package/dist/types/src/components/GenericListing/SidebarFilter.d.ts +31 -0
- package/dist/types/src/components/GenericListing/SidebarFilters.d.ts +12 -0
- package/dist/types/src/components/GenericListing/accessControl.d.ts +22 -0
- package/dist/types/src/components/GenericListing/generateMockJobs.d.ts +2 -0
- package/dist/types/src/components/GenericListing/useJobDataHook.d.ts +5 -0
- package/dist/types/src/components/GenericListing/useLocalStorageState.d.ts +1 -0
- package/dist/types/src/components/Header/Header.d.ts +2 -0
- package/dist/types/src/components/Header/HeaderAlternative.d.ts +13 -0
- package/dist/types/src/components/HomePage/Advantages.d.ts +15 -0
- package/dist/types/src/components/HomePage/Cart.d.ts +12 -0
- package/dist/types/src/components/HomePage/Chatbot.d.ts +6 -0
- package/dist/types/src/components/HomePage/Contact.d.ts +22 -0
- package/dist/types/src/components/HomePage/CourseTypes.d.ts +26 -0
- package/dist/types/src/components/HomePage/Courses.d.ts +16 -0
- package/dist/types/src/components/HomePage/Destinations.d.ts +12 -0
- package/dist/types/src/components/HomePage/FAQ.d.ts +11 -0
- package/dist/types/src/components/HomePage/FeatureJobs.d.ts +19 -0
- package/dist/types/src/components/HomePage/Features.d.ts +13 -0
- package/dist/types/src/components/HomePage/ForEmployers.d.ts +10 -0
- package/dist/types/src/components/HomePage/Gallery.d.ts +13 -0
- package/dist/types/src/components/HomePage/Hero.d.ts +11 -0
- package/dist/types/src/components/HomePage/HeroAlternative.d.ts +11 -0
- package/dist/types/src/components/HomePage/HeroSection.d.ts +2 -0
- package/dist/types/src/components/HomePage/HomePage.d.ts +3 -0
- package/dist/types/src/components/HomePage/IgamingCareerHome.d.ts +33 -0
- package/dist/types/src/components/HomePage/ImageSlider.d.ts +11 -0
- package/dist/types/src/components/HomePage/JobSearch.d.ts +2 -0
- package/dist/types/src/components/HomePage/JobsSearchWidget.d.ts +22 -0
- package/dist/types/src/components/HomePage/Navbar.d.ts +19 -0
- package/dist/types/src/components/HomePage/Newsletter.d.ts +11 -0
- package/dist/types/src/components/HomePage/NewsletterV2.d.ts +21 -0
- package/dist/types/src/components/HomePage/NotificationModal.d.ts +7 -0
- package/dist/types/src/components/HomePage/Partners.d.ts +2 -0
- package/dist/types/src/components/HomePage/Services.d.ts +13 -0
- package/dist/types/src/components/HomePage/ServicesNoIcons.d.ts +16 -0
- package/dist/types/src/components/HomePage/SidebarNewsletter.d.ts +9 -0
- package/dist/types/src/components/HomePage/SidebarNewsletterV2.d.ts +18 -0
- package/dist/types/src/components/HomePage/Testimonials.d.ts +14 -0
- package/dist/types/src/components/HomePage/TestimonialsVariant.d.ts +2 -0
- package/dist/types/src/components/HomePage/TrustSignals.d.ts +18 -0
- package/dist/types/src/components/HomePage/ValueProposition.d.ts +12 -0
- package/dist/types/src/components/HomePage/Videos.d.ts +13 -0
- package/dist/types/src/components/HomePage/context/CartContext.d.ts +22 -0
- package/dist/types/src/components/IgamingCoursesPage/CourseCard.d.ts +12 -0
- package/dist/types/src/components/IgamingCoursesPage/CourseFilters.d.ts +19 -0
- package/dist/types/src/components/IgamingCoursesPage/CourseNavigation.d.ts +11 -0
- package/dist/types/src/components/IgamingCoursesPage/CourseSearch.d.ts +10 -0
- package/dist/types/src/components/IgamingCoursesPage/CourseSidebarFilters.d.ts +23 -0
- package/dist/types/src/components/IgamingCoursesPage/CoursesListingCards.d.ts +17 -0
- package/dist/types/src/components/IgamingCoursesPage/FeaturedCourses.d.ts +12 -0
- package/dist/types/src/components/IgamingCoursesPage/HeroSection.d.ts +9 -0
- package/dist/types/src/components/IgamingCoursesPage/IgamingCoursesPage.d.ts +12 -0
- package/dist/types/src/components/IgamingCoursesPage/MobileCourseSearch.d.ts +10 -0
- package/dist/types/src/components/IgamingCoursesPage/Statistics.d.ts +8 -0
- package/dist/types/src/components/IgamingCoursesPage/data/courses.d.ts +3 -0
- package/dist/types/src/components/IgamingCoursesPage/types/course.d.ts +63 -0
- package/dist/types/src/components/JobListing/JobListing.d.ts +24 -0
- package/dist/types/src/components/JobListing/components/Filters.d.ts +17 -0
- package/dist/types/src/components/JobListing/components/Footer.d.ts +12 -0
- package/dist/types/src/components/JobListing/components/JobCard.d.ts +14 -0
- package/dist/types/src/components/JobListing/components/JobList.d.ts +11 -0
- package/dist/types/src/components/JobListing/components/MobileFilterDrawer.d.ts +21 -0
- package/dist/types/src/components/JobListing/components/Navbar.d.ts +13 -0
- package/dist/types/src/components/JobListing/components/PromoCard.d.ts +11 -0
- package/dist/types/src/components/JobListing/components/SearchBar.d.ts +10 -0
- package/dist/types/src/components/JobListing/types/Job.d.ts +23 -0
- package/dist/types/src/components/Jobs/JobsList.d.ts +38 -0
- package/dist/types/src/components/Jobs/jobsListFilters.d.ts +12 -0
- package/dist/types/src/components/Jobs/jobsListFilters.test.d.ts +1 -0
- package/dist/types/src/components/JobsDetails/JobDetail.d.ts +9 -0
- package/dist/types/src/components/JobsDetails/utils/navigation.d.ts +2 -0
- package/dist/types/src/components/JobsDetails/utils/types.d.ts +37 -0
- package/dist/types/src/components/JobsDetails/utils/useJobSlug.d.ts +1 -0
- package/dist/types/src/components/MarketDetail/MarketDetail.d.ts +6 -0
- package/dist/types/src/components/Markets/MarketsList.d.ts +9 -0
- package/dist/types/src/components/Markets/SuggestMarketModal.d.ts +8 -0
- package/dist/types/src/components/Markets/mockMarkets.d.ts +3 -0
- package/dist/types/src/components/Modal/Modal.d.ts +10 -0
- package/dist/types/src/components/News/NewsList.d.ts +7 -0
- package/dist/types/src/components/NewsPage/BreakingNews.d.ts +7 -0
- package/dist/types/src/components/NewsPage/NewsCard.d.ts +15 -0
- package/dist/types/src/components/NewsPage/NewsFilters.d.ts +14 -0
- package/dist/types/src/components/NewsPage/NewsPage.d.ts +19 -0
- package/dist/types/src/components/NewsPage/NewsSearch.d.ts +9 -0
- package/dist/types/src/components/NewsPage/NewsSidebarFilters.d.ts +19 -0
- package/dist/types/src/components/NewsPage/TrendingNews.d.ts +8 -0
- package/dist/types/src/components/NewsPage/data/news.d.ts +3 -0
- package/dist/types/src/components/NewsPage/types/news.d.ts +35 -0
- package/dist/types/src/components/Notification/NotificationItem.d.ts +15 -0
- package/dist/types/src/components/Notification/NotificationProvider.d.ts +20 -0
- package/dist/types/src/components/Notification/NotificationTester.d.ts +21 -0
- package/dist/types/src/components/Notification/NotificationViewport.d.ts +20 -0
- package/dist/types/src/components/Notification/index.d.ts +4 -0
- package/dist/types/src/components/Notification/notificationStore.d.ts +51 -0
- package/dist/types/src/components/Onboarding/DashboardOnboardingSection.d.ts +12 -0
- package/dist/types/src/components/Onboarding/OnboardingChecklist.d.ts +8 -0
- package/dist/types/src/components/Onboarding/OnboardingContext.d.ts +6 -0
- package/dist/types/src/components/Onboarding/OnboardingDashboard.d.ts +11 -0
- package/dist/types/src/components/Onboarding/OnboardingModal.d.ts +19 -0
- package/dist/types/src/components/Onboarding/OnboardingPopup.d.ts +6 -0
- package/dist/types/src/components/Onboarding/ShieldedActionButton.d.ts +15 -0
- package/dist/types/src/components/Onboarding/VerificationBanner.d.ts +12 -0
- package/dist/types/src/components/Onboarding/index.d.ts +13 -0
- package/dist/types/src/components/Places/PlacesList.d.ts +7 -0
- package/dist/types/src/components/Places/mockPlaces.d.ts +2 -0
- package/dist/types/src/components/Places/types.d.ts +16 -0
- package/dist/types/src/components/Prices/Group/GroupPrices.d.ts +10 -0
- package/dist/types/src/components/Prices/Summary/SlidingSummary.d.ts +7 -0
- package/dist/types/src/components/ProductCategories/ProductCategoriesList.d.ts +9 -0
- package/dist/types/src/components/ProductCategories/ProductCategoryDetail.d.ts +7 -0
- package/dist/types/src/components/ProductCategories/mockProductCategories.d.ts +3 -0
- package/dist/types/src/components/ProductCategories/types.d.ts +47 -0
- package/dist/types/src/components/RegulatorDetail/RegulatorDetail.d.ts +6 -0
- package/dist/types/src/components/Regulators/JurisdictionsList.d.ts +6 -0
- package/dist/types/src/components/Regulators/RegulatorsList.d.ts +9 -0
- package/dist/types/src/components/Regulators/mockJurisdictions.d.ts +3 -0
- package/dist/types/src/components/Regulators/mockRegulators.d.ts +3 -0
- package/dist/types/src/components/Regulators/types.d.ts +55 -0
- package/dist/types/src/components/Reviews/LeaveReviewStandaloneModal.d.ts +23 -0
- package/dist/types/src/components/Reviews/Reviews.d.ts +8 -0
- package/dist/types/src/components/Shared/ActiveFiltersDisplay.d.ts +15 -0
- package/dist/types/src/components/Shared/Cards/CareerPathCard.d.ts +20 -0
- package/dist/types/src/components/Shared/Cards/ChannelCard.d.ts +9 -0
- package/dist/types/src/components/Shared/Cards/CompanyCardMobile.d.ts +30 -0
- package/dist/types/src/components/Shared/Cards/CompanyTypeCard.d.ts +9 -0
- package/dist/types/src/components/Shared/Cards/CourseCard.d.ts +37 -0
- package/dist/types/src/components/Shared/Cards/DepartmentCard.d.ts +15 -0
- package/dist/types/src/components/Shared/Cards/DepartmentEntityCard.d.ts +9 -0
- package/dist/types/src/components/Shared/Cards/DirectoryDetailCard.d.ts +13 -0
- package/dist/types/src/components/Shared/Cards/DirectoryInfoPanel.d.ts +25 -0
- package/dist/types/src/components/Shared/Cards/DirectoryKeyRolesList.d.ts +11 -0
- package/dist/types/src/components/Shared/Cards/EventsCard.d.ts +19 -0
- package/dist/types/src/components/Shared/Cards/FreelancerCard.d.ts +23 -0
- package/dist/types/src/components/Shared/Cards/GamblingVerticalCard.d.ts +9 -0
- package/dist/types/src/components/Shared/Cards/JobCard.d.ts +31 -0
- package/dist/types/src/components/Shared/Cards/JurisdictionCard.d.ts +8 -0
- package/dist/types/src/components/Shared/Cards/MarketsCard.d.ts +8 -0
- package/dist/types/src/components/Shared/Cards/NewsCard.d.ts +32 -0
- package/dist/types/src/components/Shared/Cards/PlacesCard.d.ts +18 -0
- package/dist/types/src/components/Shared/Cards/PlaybookCard.d.ts +17 -0
- package/dist/types/src/components/Shared/Cards/ProductCategoriesCard.d.ts +26 -0
- package/dist/types/src/components/Shared/Cards/RegulatorsCard.d.ts +21 -0
- package/dist/types/src/components/Shared/Cards/RoleGuideCard.d.ts +17 -0
- package/dist/types/src/components/Shared/Cards/TermCard.d.ts +14 -0
- package/dist/types/src/components/Shared/Cards/VideoCard.d.ts +21 -0
- package/dist/types/src/components/Shared/Cards/index.d.ts +10 -0
- package/dist/types/src/components/Shared/Directory/DirectoryBanner.d.ts +8 -0
- package/dist/types/src/components/Shared/Directory/DirectoryShell.d.ts +30 -0
- package/dist/types/src/components/Shared/Directory/DirectoryShowcase.d.ts +3 -0
- package/dist/types/src/components/Shared/Directory/DirectoryToolbar.d.ts +20 -0
- package/dist/types/src/components/Shared/Directory/ViewModeToggle.d.ts +1 -0
- package/dist/types/src/components/Shared/Directory/index.d.ts +5 -0
- package/dist/types/src/components/Shared/Directory/types.d.ts +73 -0
- package/dist/types/src/components/Shared/GenericFilter.d.ts +17 -0
- package/dist/types/src/components/Shared/GenericPagination.d.ts +8 -0
- package/dist/types/src/components/Shared/ItemsPerPageSelector.d.ts +10 -0
- package/dist/types/src/components/Shared/Listing/ListingActiveFilters.d.ts +16 -0
- package/dist/types/src/components/Shared/Listing/ListingEmptyState.d.ts +16 -0
- package/dist/types/src/components/Shared/Listing/ListingHeader.d.ts +17 -0
- package/dist/types/src/components/Shared/Listing/ListingMobileFilters.d.ts +24 -0
- package/dist/types/src/components/Shared/Listing/ListingPagination.d.ts +15 -0
- package/dist/types/src/components/Shared/Listing/ListingSearchBar.d.ts +20 -0
- package/dist/types/src/components/Shared/Listing/ListingSidebar.d.ts +25 -0
- package/dist/types/src/components/Shared/Listing/ListingToolbar.d.ts +24 -0
- package/dist/types/src/components/Shared/Listing/index.d.ts +9 -0
- package/dist/types/src/components/Shared/Listing/types.d.ts +50 -0
- package/dist/types/src/components/Shared/LoadingShadowCard.d.ts +5 -0
- package/dist/types/src/components/Shared/Mobile/BottomSheetFilter.d.ts +23 -0
- package/dist/types/src/components/Shared/Mobile/FloatingActionButton.d.ts +22 -0
- package/dist/types/src/components/Shared/Mobile/HorizontalTagSlider.d.ts +22 -0
- package/dist/types/src/components/Shared/Mobile/StickyFilterChips.d.ts +20 -0
- package/dist/types/src/components/Shared/Mobile/UserIdentityMenu.d.ts +36 -0
- package/dist/types/src/components/Shared/Mobile/index.d.ts +5 -0
- package/dist/types/src/components/Shared/MobileDrawer.d.ts +9 -0
- package/dist/types/src/components/Shared/PageTitleHeader.d.ts +16 -0
- package/dist/types/src/components/Shared/SearchBox.d.ts +11 -0
- package/dist/types/src/components/Shared/ShieldedActionButton.d.ts +14 -0
- package/dist/types/src/components/Shared/SubscriptionModal.d.ts +10 -0
- package/dist/types/src/components/Shared/Taxonomy/ExamplesPanel.d.ts +7 -0
- package/dist/types/src/components/Shared/Taxonomy/TaxonomyApproveForm.d.ts +15 -0
- package/dist/types/src/components/Shared/Taxonomy/TaxonomySuggestionDetail.d.ts +11 -0
- package/dist/types/src/components/Shared/Taxonomy/TaxonomySuggestionTable.d.ts +12 -0
- package/dist/types/src/components/Shared/Taxonomy/types.d.ts +18 -0
- package/dist/types/src/components/Shared/ViewControls.d.ts +13 -0
- package/dist/types/src/components/Shared/ViewModeToggle.d.ts +9 -0
- package/dist/types/src/components/Shared/extractTagsFromTitle.d.ts +3 -0
- package/dist/types/src/components/Shared/helpers/api.d.ts +21 -0
- package/dist/types/src/components/Shared/helpers/filters.d.ts +10 -0
- package/dist/types/src/components/Shared/helpers/jobsHelpers.d.ts +6 -0
- package/dist/types/src/components/Shared/types/shared-types.d.ts +125 -0
- package/dist/types/src/components/Shared/useSavedJobs.d.ts +5 -0
- package/dist/types/src/components/TagBadge/TagBadge.d.ts +12 -0
- package/dist/types/src/components/TagPicker/TagPicker.d.ts +20 -0
- package/dist/types/src/components/hooks/useFilters.d.ts +5 -0
- package/dist/types/src/components/hooks/useOnboarding.d.ts +19 -0
- package/dist/types/src/components/hooks/usePagination.d.ts +6 -0
- package/dist/types/src/components/hooks/useSubscription.d.ts +4 -0
- package/dist/types/src/data/mockCandidates.d.ts +2 -0
- package/dist/types/src/data/mockCareerAssistant.d.ts +6 -0
- package/dist/types/src/data/mockComplaints.d.ts +2 -0
- package/dist/types/src/data/mockReviews.d.ts +6 -0
- package/dist/types/src/hooks/useCareerAssistant.d.ts +7 -0
- package/dist/types/src/index.d.ts +152 -0
- package/dist/types/src/main.d.ts +7 -0
- package/dist/types/src/services/careerAssistant.mock.d.ts +53 -0
- package/dist/types/src/stories/Button.stories.d.ts +7 -0
- package/dist/types/src/stories/CompanyGroupDetail.stories.d.ts +6 -0
- package/dist/types/src/stories/ConsentAnalytics.stories.d.ts +9 -0
- package/dist/types/src/stories/Footer.stories.d.ts +7 -0
- package/dist/types/src/stories/GenericPagination.stories.d.ts +7 -0
- package/dist/types/src/stories/Header.stories.d.ts +6 -0
- package/dist/types/src/stories/ItemsPerPageSelector.stories.d.ts +7 -0
- package/dist/types/src/stories/LoadingCompanyShadowCard.stories.d.ts +7 -0
- package/dist/types/src/stories/LoadingShadowCard.stories.d.ts +7 -0
- package/dist/types/src/stories/Login.stories.d.ts +7 -0
- package/dist/types/src/stories/Notification.stories.d.ts +6 -0
- package/dist/types/src/stories/NotificationTester.stories.d.ts +6 -0
- package/dist/types/src/stories/OnboardingChecklist.stories.d.ts +8 -0
- package/dist/types/src/stories/OnboardingDashboard.stories.d.ts +9 -0
- package/dist/types/src/stories/PageComponents.stories.d.ts +7 -0
- package/dist/types/src/stories/PricingComponents.stories.d.ts +6 -0
- package/dist/types/src/stories/ShieldedActionButton.stories.d.ts +8 -0
- package/dist/types/src/stories/SignInPromptModal.stories.d.ts +7 -0
- package/dist/types/src/stories/VerificationBanner.stories.d.ts +9 -0
- package/dist/types/src/types/candidate.d.ts +27 -0
- package/dist/types/src/types/chat-messages.d.ts +6 -0
- package/dist/types/src/types/company-user.d.ts +33 -0
- package/dist/types/src/types/company-user.test.d.ts +1 -0
- package/dist/types/src/types/complaint.d.ts +21 -0
- package/dist/types/src/types/conference.d.ts +21 -0
- package/dist/types/src/types/dashboard.d.ts +252 -0
- package/dist/types/src/types/events.courses.d.ts +49 -0
- package/dist/types/src/types/events.d.ts +23 -0
- package/dist/types/src/types/events.freelancers.d.ts +11 -0
- package/dist/types/src/types/events.jobs.d.ts +70 -0
- package/dist/types/src/types/events.news.d.ts +57 -0
- package/dist/types/src/types/events.newsletter.d.ts +6 -0
- package/dist/types/src/types/freelancer.d.ts +128 -0
- package/dist/types/src/types/general.d.ts +15 -0
- package/dist/types/src/types/icon-utils.d.ts +3 -0
- package/dist/types/src/types/item.d.ts +10 -0
- package/dist/types/src/types/job-alert.d.ts +64 -0
- package/dist/types/src/types/job.d.ts +30 -0
- package/dist/types/src/types/market.d.ts +78 -0
- package/dist/types/src/types/news.d.ts +15 -0
- package/dist/types/src/types/onboarding.d.ts +42 -0
- package/dist/types/src/types/review.d.ts +61 -0
- package/dist/types/src/types/user.d.ts +34 -0
- package/package.json +3 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { CourseCategory, CourseFilters, SortOption } from "./types/course";
|
|
3
|
+
interface CourseFiltersProps {
|
|
4
|
+
filters: CourseFilters;
|
|
5
|
+
sortBy: SortOption;
|
|
6
|
+
onFiltersChange: (filters: CourseFilters) => void;
|
|
7
|
+
onSortChange: (sort: SortOption) => void;
|
|
8
|
+
onClearFilters: () => void;
|
|
9
|
+
totalCourses: number;
|
|
10
|
+
filteredCourses: number;
|
|
11
|
+
showFilterName?: boolean;
|
|
12
|
+
categories: CourseCategory[];
|
|
13
|
+
selectedCategory?: string;
|
|
14
|
+
selectedSubcategory?: string;
|
|
15
|
+
onCategorySelect: (categoryId: string) => void;
|
|
16
|
+
onSubcategorySelect: (subcategoryId: string) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const CourseFiltersComponent: React.FC<CourseFiltersProps>;
|
|
19
|
+
export default CourseFiltersComponent;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { CourseCategory } from "./types/course";
|
|
3
|
+
interface CourseNavigationProps {
|
|
4
|
+
categories: CourseCategory[];
|
|
5
|
+
selectedCategory?: string;
|
|
6
|
+
selectedSubcategory?: string;
|
|
7
|
+
onCategorySelect: (categoryId: string) => void;
|
|
8
|
+
onSubcategorySelect: (subcategoryId: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const CourseNavigation: React.FC<CourseNavigationProps>;
|
|
11
|
+
export default CourseNavigation;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { Course } from "./types/course";
|
|
3
|
+
interface CourseSearchProps {
|
|
4
|
+
courses: Course[];
|
|
5
|
+
onSearchResults: (results: Course[]) => void;
|
|
6
|
+
onTyping?: (active: boolean, keyword: string) => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const CourseSearch: React.FC<CourseSearchProps>;
|
|
10
|
+
export default CourseSearch;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { CourseCategory, CourseFilters as CourseFiltersType, SortOption } from "./types/course";
|
|
3
|
+
interface Props {
|
|
4
|
+
filters: CourseFiltersType;
|
|
5
|
+
sortBy: SortOption;
|
|
6
|
+
onFiltersChange: (filters: CourseFiltersType) => void;
|
|
7
|
+
onSortChange: (sort: SortOption) => void;
|
|
8
|
+
onClearFilters: () => void;
|
|
9
|
+
totalCourses: number;
|
|
10
|
+
filteredCourses: number;
|
|
11
|
+
categories: CourseCategory[];
|
|
12
|
+
selectedCategory: string;
|
|
13
|
+
selectedSubcategory: string;
|
|
14
|
+
onCategorySelect: (id: string) => void;
|
|
15
|
+
onSubcategorySelect: (id: string) => void;
|
|
16
|
+
isMobileFilterOpen: boolean;
|
|
17
|
+
toggleMobileFilter: () => void;
|
|
18
|
+
enableMobileFilter: boolean;
|
|
19
|
+
showFilterName?: boolean;
|
|
20
|
+
isMobile?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const CourseSidebarFilters: React.FC<Props>;
|
|
23
|
+
export default CourseSidebarFilters;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Course } from "./types/course";
|
|
3
|
+
import type { ResolvedListingAccessControl } from "../GenericListing/accessControl";
|
|
4
|
+
interface CoursesListingCardsProps {
|
|
5
|
+
processedCourses: Course[];
|
|
6
|
+
favorites: Set<string>;
|
|
7
|
+
handleToggleFavorite: (courseId: string) => void;
|
|
8
|
+
handleEnroll: (courseId: string) => void;
|
|
9
|
+
itemsPerPage?: number;
|
|
10
|
+
handleClearFilters: () => void;
|
|
11
|
+
currentPage: number;
|
|
12
|
+
setCurrentPage: (page: number) => void;
|
|
13
|
+
viewMode?: "grid" | "list";
|
|
14
|
+
userAccess: ResolvedListingAccessControl;
|
|
15
|
+
}
|
|
16
|
+
declare const CoursesListingCards: React.FC<CoursesListingCardsProps>;
|
|
17
|
+
export default CoursesListingCards;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { Course } from "./types/course";
|
|
3
|
+
import { ListingAccessControl } from "../../components/GenericListing/accessControl";
|
|
4
|
+
interface FeaturedCoursesProps {
|
|
5
|
+
courses: Course[];
|
|
6
|
+
favorites: Set<string>;
|
|
7
|
+
onToggleFavorite: (courseId: string) => void;
|
|
8
|
+
onEnroll: (courseId: string) => void;
|
|
9
|
+
userAccess?: ListingAccessControl;
|
|
10
|
+
}
|
|
11
|
+
declare const FeaturedCourses: React.FC<FeaturedCoursesProps>;
|
|
12
|
+
export default FeaturedCourses;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ListingAccessControl } from "../GenericListing/accessControl";
|
|
2
|
+
import type { EmittedEventHandler, ListingEventContext } from "../../types/events";
|
|
3
|
+
interface IGamingCoursePageProps {
|
|
4
|
+
apiUrl?: string;
|
|
5
|
+
enableMobileFilter?: boolean;
|
|
6
|
+
itemsPerPage?: number;
|
|
7
|
+
userAccess?: ListingAccessControl;
|
|
8
|
+
onEmitEvent?: EmittedEventHandler;
|
|
9
|
+
eventContext?: Omit<ListingEventContext, "component">;
|
|
10
|
+
}
|
|
11
|
+
declare const IGamingCoursePage: ({ apiUrl, enableMobileFilter, itemsPerPage, userAccess, }: IGamingCoursePageProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default IGamingCoursePage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { Course } from "./types/course";
|
|
3
|
+
interface Props {
|
|
4
|
+
courses: Course[];
|
|
5
|
+
onSearchResults: (results: Course[]) => void;
|
|
6
|
+
onTyping?: (active: boolean, word: string) => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const MobileCourseSearch: React.FC<Props>;
|
|
10
|
+
export default MobileCourseSearch;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export interface Course {
|
|
2
|
+
id: string;
|
|
3
|
+
_id?: string;
|
|
4
|
+
link?: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
company?: string;
|
|
8
|
+
company_slug?: string;
|
|
9
|
+
slug?: string;
|
|
10
|
+
instructor: string;
|
|
11
|
+
image?: string;
|
|
12
|
+
logo?: string;
|
|
13
|
+
next_available?: string;
|
|
14
|
+
scraped_at?: string;
|
|
15
|
+
industries?: string[];
|
|
16
|
+
solutions?: string[];
|
|
17
|
+
status?: number;
|
|
18
|
+
is_saved?: boolean;
|
|
19
|
+
is_recommended?: boolean;
|
|
20
|
+
is_enrolled?: boolean;
|
|
21
|
+
has_certificate?: boolean;
|
|
22
|
+
price: number;
|
|
23
|
+
originalPrice?: number;
|
|
24
|
+
currency: string;
|
|
25
|
+
duration: string;
|
|
26
|
+
level: "Beginner" | "Intermediate" | "Advanced";
|
|
27
|
+
category: string;
|
|
28
|
+
subcategory: string;
|
|
29
|
+
rating: number;
|
|
30
|
+
reviewCount: number;
|
|
31
|
+
enrollmentCount: number;
|
|
32
|
+
thumbnail: string;
|
|
33
|
+
tags: string[];
|
|
34
|
+
features: string[];
|
|
35
|
+
lastUpdated: string;
|
|
36
|
+
language: string;
|
|
37
|
+
certificate: boolean;
|
|
38
|
+
accessType: "Lifetime" | "Subscription" | "Limited";
|
|
39
|
+
isFeatured: boolean;
|
|
40
|
+
isNew: boolean;
|
|
41
|
+
isBestseller: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface CourseCategory {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
icon?: string;
|
|
47
|
+
subcategories: CourseSubcategory[];
|
|
48
|
+
}
|
|
49
|
+
export interface CourseSubcategory {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
courseCount: number;
|
|
53
|
+
}
|
|
54
|
+
export type SortOption = "relevance" | "price-low-high" | "price-high-low" | "rating" | "newest" | "most-enrolled";
|
|
55
|
+
export interface CourseFilters {
|
|
56
|
+
categories: string[];
|
|
57
|
+
subcategories: string[];
|
|
58
|
+
priceRange: [number, number];
|
|
59
|
+
levels: string[];
|
|
60
|
+
languages: string[];
|
|
61
|
+
features: string[];
|
|
62
|
+
rating: number;
|
|
63
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ListingAccessControl } from "../../components/GenericListing/accessControl";
|
|
3
|
+
interface BannerConfig {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
url?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
link: string;
|
|
8
|
+
}
|
|
9
|
+
interface JobListingsProps {
|
|
10
|
+
apiUrl: string;
|
|
11
|
+
itemsPerPage: number;
|
|
12
|
+
filterKeys: string[];
|
|
13
|
+
enableSearch: boolean;
|
|
14
|
+
enablePagination: boolean;
|
|
15
|
+
enableMobileFilter: boolean;
|
|
16
|
+
banners: {
|
|
17
|
+
top: BannerConfig;
|
|
18
|
+
bottom: BannerConfig;
|
|
19
|
+
sidebar: BannerConfig;
|
|
20
|
+
};
|
|
21
|
+
userAccess?: ListingAccessControl;
|
|
22
|
+
}
|
|
23
|
+
declare const JobListings: React.FC<JobListingsProps>;
|
|
24
|
+
export default JobListings;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
interface FiltersProps {
|
|
3
|
+
filterKeys: string[];
|
|
4
|
+
filtersData: {
|
|
5
|
+
[key: string]: string[];
|
|
6
|
+
};
|
|
7
|
+
activeFilters: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
handleFilterChange: (filterKey: string, value: string) => void;
|
|
11
|
+
searchFilters: string[];
|
|
12
|
+
removeSearchFilter: (filter: string) => void;
|
|
13
|
+
clearAllFilters: () => void;
|
|
14
|
+
searchableFilters?: string[];
|
|
15
|
+
}
|
|
16
|
+
declare const Filters: React.FC<FiltersProps>;
|
|
17
|
+
export default Filters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface FooterLink {
|
|
3
|
+
text: string;
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
interface FooterProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
links?: FooterLink[][];
|
|
10
|
+
}
|
|
11
|
+
declare const Footer: React.FC<FooterProps>;
|
|
12
|
+
export default Footer;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import { type ResolvedListingAccessControl } from "../../GenericListing/accessControl";
|
|
3
|
+
interface JobCardProps {
|
|
4
|
+
job: Job;
|
|
5
|
+
positionInList?: number;
|
|
6
|
+
onSaveJob: (job: Job, positionInList?: number) => void;
|
|
7
|
+
onViewJob: (job: Job, positionInList?: number, openedIn?: "same_tab" | "new_tab" | "external") => void;
|
|
8
|
+
onApplyJob?: (job: Job, positionInList?: number, applyType?: "external" | "internal" | "one_click") => void;
|
|
9
|
+
isSaved: boolean;
|
|
10
|
+
layout?: "grid" | "list";
|
|
11
|
+
userAccess: ResolvedListingAccessControl;
|
|
12
|
+
}
|
|
13
|
+
declare const JobCard: React.FC<JobCardProps>;
|
|
14
|
+
export default JobCard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import { ResolvedListingAccessControl } from "../../../components/GenericListing/accessControl";
|
|
3
|
+
interface JobListProps {
|
|
4
|
+
jobs: Job[];
|
|
5
|
+
onSaveJob: (job: Job, positionInList?: number) => void;
|
|
6
|
+
onViewJob: (job: Job) => void;
|
|
7
|
+
isJobSaved: (job: Job) => boolean;
|
|
8
|
+
userAccess: ResolvedListingAccessControl;
|
|
9
|
+
}
|
|
10
|
+
declare const JobList: React.FC<JobListProps>;
|
|
11
|
+
export default JobList;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
interface MobileFilterDrawerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
filterKeys: string[];
|
|
6
|
+
filtersData: {
|
|
7
|
+
[key: string]: string[];
|
|
8
|
+
};
|
|
9
|
+
activeFilters: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
handleFilterChange: (filterKey: string, value: string) => void;
|
|
13
|
+
handleSearchChange: (search: string) => void;
|
|
14
|
+
searchTerm: string;
|
|
15
|
+
clearAllFilters: () => void;
|
|
16
|
+
handleSearchKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
17
|
+
searchFilters: string[];
|
|
18
|
+
removeSearchFilter: (filter: string) => void;
|
|
19
|
+
}
|
|
20
|
+
declare const MobileFilterDrawer: React.FC<MobileFilterDrawerProps>;
|
|
21
|
+
export default MobileFilterDrawer;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface NavbarLink {
|
|
3
|
+
text: string;
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
interface NavbarProps {
|
|
7
|
+
logo?: string;
|
|
8
|
+
links?: NavbarLink[];
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
buttonUrl?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Navbar: React.FC<NavbarProps>;
|
|
13
|
+
export default Navbar;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
interface PromoCardProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
ctaText: string;
|
|
6
|
+
ctaLink: string;
|
|
7
|
+
bgColor?: string;
|
|
8
|
+
textColor?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const PromoCard: React.FC<PromoCardProps>;
|
|
11
|
+
export default PromoCard;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { KeyboardEvent } from "react";
|
|
3
|
+
interface SearchBarProps {
|
|
4
|
+
searchTerm: string;
|
|
5
|
+
handleSearchChange: (search: string) => void;
|
|
6
|
+
handleSearchKeyDown: (e: KeyboardEvent<HTMLInputElement>) => void;
|
|
7
|
+
suggestions: string[];
|
|
8
|
+
}
|
|
9
|
+
declare const SearchBar: React.FC<SearchBarProps>;
|
|
10
|
+
export default SearchBar;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface Job {
|
|
2
|
+
_id?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
city: string;
|
|
6
|
+
company: string;
|
|
7
|
+
company_type: string;
|
|
8
|
+
country: string;
|
|
9
|
+
department: string;
|
|
10
|
+
link: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
location: string;
|
|
13
|
+
logo: string;
|
|
14
|
+
overview: string;
|
|
15
|
+
scraped_at: string;
|
|
16
|
+
slug: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
title: string;
|
|
19
|
+
min_salary?: number;
|
|
20
|
+
max_salary?: number;
|
|
21
|
+
published_at?: string;
|
|
22
|
+
created_at?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ListingAccessControl } from "../GenericListing/accessControl";
|
|
2
|
+
import type { EmittedEventHandler, ListingEventContext } from "../../types/events";
|
|
3
|
+
import { type JobsListFilterDisplayConfig } from "./jobsListFilters";
|
|
4
|
+
interface ListingBannerConfig {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
url: string;
|
|
7
|
+
link: string;
|
|
8
|
+
alt: string;
|
|
9
|
+
}
|
|
10
|
+
interface JobsListProps {
|
|
11
|
+
apiUrl: string;
|
|
12
|
+
itemsPerPage?: number;
|
|
13
|
+
filterKeys?: string[];
|
|
14
|
+
/** Standardized alias used by other DirectoryShell lists. */
|
|
15
|
+
filterOptions?: string[];
|
|
16
|
+
enablePagination?: boolean;
|
|
17
|
+
enableMobileFilter?: boolean;
|
|
18
|
+
searchableFilters?: string[];
|
|
19
|
+
filterDisplayConfig?: {
|
|
20
|
+
multiSelectKeys?: string[];
|
|
21
|
+
showOptionCounts?: boolean;
|
|
22
|
+
optionSort?: JobsListFilterDisplayConfig["optionSort"];
|
|
23
|
+
};
|
|
24
|
+
banner?: {
|
|
25
|
+
sidebar?: ListingBannerConfig;
|
|
26
|
+
};
|
|
27
|
+
cardType?: string;
|
|
28
|
+
userAccess?: ListingAccessControl & {
|
|
29
|
+
email?: string;
|
|
30
|
+
};
|
|
31
|
+
onEmitEvent?: EmittedEventHandler;
|
|
32
|
+
eventContext?: Omit<ListingEventContext, "component">;
|
|
33
|
+
notification_url?: string;
|
|
34
|
+
/** Pre-fetched jobs from a server component – skips the client-side fetch when provided. */
|
|
35
|
+
initialJobs?: Job[];
|
|
36
|
+
}
|
|
37
|
+
declare const JobsList: ({ apiUrl, itemsPerPage, filterKeys, filterOptions, enablePagination, enableMobileFilter: _enableMobileFilter, searchableFilters, filterDisplayConfig, banner, cardType: _cardType, userAccess, onEmitEvent, eventContext, initialJobs, }: JobsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export default JobsList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DirectoryFilterSection } from "../Shared/Directory/types";
|
|
2
|
+
export declare const JOBS_LIST_SUPPORTED_FILTER_KEYS: readonly ["categories", "jobType", "salaryRange", "created", "company", "country", "city", "department", "workplace", "companySize"];
|
|
3
|
+
export type JobsListFilterKey = (typeof JOBS_LIST_SUPPORTED_FILTER_KEYS)[number];
|
|
4
|
+
export type JobsListFilterOptionSort = "alphabetical" | "count_desc" | "count_asc";
|
|
5
|
+
export interface JobsListFilterDisplayConfig {
|
|
6
|
+
multiSelectKeys?: readonly JobsListFilterKey[];
|
|
7
|
+
showOptionCounts?: boolean;
|
|
8
|
+
optionSort?: JobsListFilterOptionSort;
|
|
9
|
+
}
|
|
10
|
+
export declare const normalizeJobsListFilterKeys: (keys: readonly string[]) => JobsListFilterKey[];
|
|
11
|
+
export declare const buildJobsFilterSections: (jobs: Job[], filterKeys: readonly JobsListFilterKey[], displayConfig?: JobsListFilterDisplayConfig) => DirectoryFilterSection[];
|
|
12
|
+
export declare const matchesJobsListFilter: (job: Job, key: JobsListFilterKey, values: string[]) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { JobDetail, SimilarJob } from './utils/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
job?: Partial<JobDetail>;
|
|
5
|
+
similarJobs?: Partial<SimilarJob>[];
|
|
6
|
+
onSkillClick?: (skill: string) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const JobDetailPage: React.FC<Props>;
|
|
9
|
+
export default JobDetailPage;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface SimilarJob {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
company: string;
|
|
5
|
+
location: string;
|
|
6
|
+
salary?: string;
|
|
7
|
+
postedDate: string;
|
|
8
|
+
}
|
|
9
|
+
export interface JobDetail {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
company: string;
|
|
13
|
+
companyLogo?: string;
|
|
14
|
+
location: string;
|
|
15
|
+
salary?: string;
|
|
16
|
+
jobType: string;
|
|
17
|
+
experienceLevel: string;
|
|
18
|
+
department: string;
|
|
19
|
+
postedDate: string;
|
|
20
|
+
applicationDeadline?: string;
|
|
21
|
+
description: string;
|
|
22
|
+
requirements: string[];
|
|
23
|
+
responsibilities: string[];
|
|
24
|
+
benefits: string[];
|
|
25
|
+
skills: string[];
|
|
26
|
+
companyDescription: string;
|
|
27
|
+
companySize?: string;
|
|
28
|
+
companyWebsite?: string;
|
|
29
|
+
contactEmail?: string;
|
|
30
|
+
contactPhone?: string;
|
|
31
|
+
isRemote: boolean;
|
|
32
|
+
isUrgent: boolean;
|
|
33
|
+
isFeatured: boolean;
|
|
34
|
+
applicationUrl?: string;
|
|
35
|
+
viewCount?: number;
|
|
36
|
+
applicantCount?: number;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useJobSlug(): string | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Market, SuggestMarketPayload } from "../../types/market";
|
|
2
|
+
interface MarketsListProps {
|
|
3
|
+
apiUrl?: string;
|
|
4
|
+
marketsData?: Market[];
|
|
5
|
+
itemsPerPage?: number;
|
|
6
|
+
onSuggestMarket?: (payload: SuggestMarketPayload) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const MarketsList: ({ apiUrl, marketsData, itemsPerPage, onSuggestMarket }: MarketsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default MarketsList;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SuggestMarketPayload } from "../../types/market";
|
|
2
|
+
interface SuggestMarketModalProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onSubmit?: (payload: SuggestMarketPayload) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const SuggestMarketModal: ({ open, onOpenChange, onSubmit }: SuggestMarketModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default SuggestMarketModal;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface CustomModalProps {
|
|
3
|
+
containerId: string;
|
|
4
|
+
title: string | React.ReactNode;
|
|
5
|
+
description: string | React.ReactNode;
|
|
6
|
+
footer: string | React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function CustomModal({ containerId, title, description, footer, className }: CustomModalProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface NewsListProps {
|
|
2
|
+
apiUrl?: string;
|
|
3
|
+
itemsPerPage?: number;
|
|
4
|
+
enableMobileFilter?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const NewsList: ({ apiUrl, itemsPerPage, enableMobileFilter: _enableMobileFilter, }: NewsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default NewsList;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { NewsArticle } from "./types/news";
|
|
3
|
+
import { type ResolvedListingAccessControl } from "../GenericListing/accessControl";
|
|
4
|
+
interface NewsCardProps {
|
|
5
|
+
article: NewsArticle;
|
|
6
|
+
isBookmarked: boolean;
|
|
7
|
+
onToggleBookmark: (articleId: string, positionInList?: number) => void;
|
|
8
|
+
onShare: (article: NewsArticle, positionInList?: number) => void;
|
|
9
|
+
onOpenArticle?: (article: NewsArticle, positionInList?: number, openedIn?: "same_tab" | "new_tab" | "external", openedFrom?: "listing" | "trending" | "breaking" | "other") => void;
|
|
10
|
+
layout?: "grid" | "list";
|
|
11
|
+
userAccess: ResolvedListingAccessControl;
|
|
12
|
+
positionInList?: number;
|
|
13
|
+
}
|
|
14
|
+
declare const NewsCard: React.FC<NewsCardProps>;
|
|
15
|
+
export default NewsCard;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { NewsFilters, NewsSortOption, NewsCategory } from "./types/news";
|
|
3
|
+
interface NewsFiltersProps {
|
|
4
|
+
filters: NewsFilters;
|
|
5
|
+
sortBy: NewsSortOption;
|
|
6
|
+
categories: NewsCategory[];
|
|
7
|
+
onFiltersChange: (filters: NewsFilters) => void;
|
|
8
|
+
onSortChange: (sort: NewsSortOption) => void;
|
|
9
|
+
onClearFilters: () => void;
|
|
10
|
+
totalArticles: number;
|
|
11
|
+
filteredArticles: number;
|
|
12
|
+
}
|
|
13
|
+
declare const NewsFiltersComponent: React.FC<NewsFiltersProps>;
|
|
14
|
+
export default NewsFiltersComponent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { NewsFilters as NewsFiltersType, NewsSortOption } from "./types/news";
|
|
3
|
+
import { ListingAccessControl } from "../GenericListing/accessControl";
|
|
4
|
+
import type { EmittedEventHandler, ListingEventContext } from "../../types/events";
|
|
5
|
+
interface NewsPageProps {
|
|
6
|
+
apiUrl?: string;
|
|
7
|
+
defaultFilters?: NewsFiltersType;
|
|
8
|
+
defaultSort?: NewsSortOption;
|
|
9
|
+
bookmarkStorageKey?: string;
|
|
10
|
+
itemsPerPage?: number;
|
|
11
|
+
filterKeys?: string[];
|
|
12
|
+
searchableFilters?: string[];
|
|
13
|
+
dateFieldLabel?: string;
|
|
14
|
+
userAccess?: ListingAccessControl;
|
|
15
|
+
onEmitEvent?: EmittedEventHandler;
|
|
16
|
+
eventContext?: Omit<ListingEventContext, "component">;
|
|
17
|
+
}
|
|
18
|
+
declare const NewsPage: React.FC<NewsPageProps>;
|
|
19
|
+
export default NewsPage;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { NewsArticle } from "./types/news";
|
|
3
|
+
interface NewsSearchProps {
|
|
4
|
+
articles: NewsArticle[];
|
|
5
|
+
onSearchResults: (results: NewsArticle[]) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const NewsSearch: React.FC<NewsSearchProps>;
|
|
9
|
+
export default NewsSearch;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { NewsFilters as NewsFiltersType, NewsSortOption, NewsCategory } from "./types/news";
|
|
3
|
+
interface NewsSidebarFiltersProps {
|
|
4
|
+
filters: NewsFiltersType;
|
|
5
|
+
sortBy: NewsSortOption;
|
|
6
|
+
onFiltersChange: (filters: NewsFiltersType) => void;
|
|
7
|
+
onSortChange: (sort: NewsSortOption) => void;
|
|
8
|
+
onClearFilters: () => void;
|
|
9
|
+
totalArticles: number;
|
|
10
|
+
filteredArticles: number;
|
|
11
|
+
categories: NewsCategory[];
|
|
12
|
+
isMobileFilterOpen: boolean;
|
|
13
|
+
toggleMobileFilter: () => void;
|
|
14
|
+
enableMobileFilter: boolean;
|
|
15
|
+
showFilterName?: boolean;
|
|
16
|
+
isMobile?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const NewsSidebarFilters: React.FC<NewsSidebarFiltersProps>;
|
|
19
|
+
export default NewsSidebarFilters;
|