@igamingcareer/igaming-components 1.2.23 → 1.2.25
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 +1558 -1558
- package/dist/index.mjs +20962 -22083
- 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/city-input.d.ts +12 -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/country-select.d.ts +14 -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/form.d.ts +23 -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/phone-input.d.ts +13 -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 +43 -0
- package/dist/types/src/components/Auth/Login.stories.d.ts +11 -0
- package/dist/types/src/components/Auth/LoginForm.d.ts +30 -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 +27 -0
- package/dist/types/src/components/Auth/RegisterV2.d.ts +25 -0
- package/dist/types/src/components/Auth/RegisterV2.stories.d.ts +14 -0
- package/dist/types/src/components/Auth/SignInPromptModal.d.ts +23 -0
- package/dist/types/src/components/Auth/SignInPromptModal.stories.d.ts +7 -0
- package/dist/types/src/components/Auth/SocialButton.d.ts +11 -0
- package/dist/types/src/components/Auth/SocialButton.stories.d.ts +11 -0
- package/dist/types/src/components/Auth/SocialDivider.d.ts +6 -0
- package/dist/types/src/components/Auth/VerificationBanner.d.ts +11 -0
- package/dist/types/src/components/Auth/VerificationBanner.stories.d.ts +9 -0
- package/dist/types/src/components/Auth/__tests__/Login.social.test.d.ts +1 -0
- package/dist/types/src/components/Auth/__tests__/LoginForm.social.test.d.ts +1 -0
- package/dist/types/src/components/Auth/__tests__/RegisterV2.social.test.d.ts +1 -0
- package/dist/types/src/components/Auth/__tests__/SocialButton.test.d.ts +1 -0
- package/dist/types/src/components/Auth/__tests__/SocialDivider.test.d.ts +1 -0
- package/dist/types/src/components/Button/Button.d.ts +5 -0
- package/dist/types/src/components/Button/Button.stories.d.ts +7 -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 +31 -0
- package/dist/types/src/components/Companies/CompanyAdminPage.d.ts +0 -0
- package/dist/types/src/components/Companies/CompanyCard.stories.d.ts +7 -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/CompanyGroupDetail.stories.d.ts +6 -0
- package/dist/types/src/components/Companies/CompanyHeader.stories.d.ts +7 -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/LoadingCompanyShadowCard.stories.d.ts +7 -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 +35 -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 +13 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminCandidates.stories.d.ts +5 -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/CompanyAdminJobs.stories.d.ts +6 -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 +11 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminPeople.stories.d.ts +5 -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 +9 -0
- package/dist/types/src/components/Companies/components/admin/CompanyAdminSettings.stories.d.ts +5 -0
- package/dist/types/src/components/Companies/components/admin/InviteModal.d.ts +9 -0
- package/dist/types/src/components/Companies/components/admin/ProfileStrengthWidget.d.ts +7 -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/data/countries.d.ts +9 -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 +81 -0
- package/dist/types/src/components/Companies/types/index.d.ts +390 -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/safeArray.d.ts +1 -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/ConsentAnalytics.stories.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 +16 -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/OnboardingChecklist.stories.d.ts +8 -0
- package/dist/types/src/components/Dashboard/OnboardingDashboard.d.ts +19 -0
- package/dist/types/src/components/Dashboard/OnboardingDashboard.stories.d.ts +9 -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/Footer/Footer.stories.d.ts +7 -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 +8 -0
- package/dist/types/src/components/GenericListing/Listing.d.ts +32 -0
- package/dist/types/src/components/GenericListing/ListingGrid.d.ts +16 -0
- package/dist/types/src/components/GenericListing/ListingHeader.d.ts +6 -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 +3 -0
- package/dist/types/src/components/GenericListing/useJobDataHook.d.ts +6 -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/Header.stories.d.ts +6 -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 +14 -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 +21 -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 +12 -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 +1 -0
- package/dist/types/src/components/Jobs/JobsList.d.ts +39 -0
- package/dist/types/src/components/Jobs/jobsListFilters.d.ts +13 -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/LanguageSchools/LanguageSchoolDetail.d.ts +16 -0
- package/dist/types/src/components/LanguageSchools/LanguageSchoolsList.d.ts +17 -0
- package/dist/types/src/components/LanguageSchools/components/SchoolCard.d.ts +10 -0
- package/dist/types/src/components/LanguageSchools/schoolsListFilters.d.ts +6 -0
- package/dist/types/src/components/LeadForm.d.ts +45 -0
- package/dist/types/src/components/LeadForm.stories.d.ts +51 -0
- package/dist/types/src/components/LeadForm.test.d.ts +4 -0
- package/dist/types/src/components/MaltaEvents/MaltaEventDetail.d.ts +8 -0
- package/dist/types/src/components/MaltaEvents/MaltaEventsList.d.ts +17 -0
- package/dist/types/src/components/MaltaEvents/components/MaltaEventCard.d.ts +10 -0
- package/dist/types/src/components/MaltaEvents/eventsListFilters.d.ts +22 -0
- package/dist/types/src/components/MaltaEvents/index.d.ts +5 -0
- package/dist/types/src/components/MaltaEvents/mockMaltaEvents.d.ts +2 -0
- package/dist/types/src/components/MaltaPlaces/MaltaPlaceDetail.d.ts +8 -0
- package/dist/types/src/components/MaltaPlaces/MaltaPlacesList.d.ts +17 -0
- package/dist/types/src/components/MaltaPlaces/components/MaltaPlaceCard.d.ts +10 -0
- package/dist/types/src/components/MaltaPlaces/index.d.ts +5 -0
- package/dist/types/src/components/MaltaPlaces/mockMaltaPlaces.d.ts +2 -0
- package/dist/types/src/components/MaltaPlaces/placesListFilters.d.ts +14 -0
- package/dist/types/src/components/MarketDetail/MarketDetail.d.ts +6 -0
- package/dist/types/src/components/Markets/MarketsList.d.ts +17 -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/Notification.stories.d.ts +6 -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/NotificationTester.stories.d.ts +6 -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/PricingComponents.stories.d.ts +6 -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/QualityCompounderFramework/QualityCompounderFramework.d.ts +11 -0
- package/dist/types/src/components/QualityCompounderFramework/ResearchPage.d.ts +1 -0
- package/dist/types/src/components/QualityCompounderFramework/Savedevaluations.d.ts +6 -0
- package/dist/types/src/components/QualityCompounderFramework/WatchlistDashboard.d.ts +6 -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/Research/ResearchPage.d.ts +5 -0
- package/dist/types/src/components/Research/index.d.ts +1 -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/CompanyCardMobile.stories.d.ts +7 -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/GenericPagination.stories.d.ts +7 -0
- package/dist/types/src/components/Shared/ItemsPerPageSelector.d.ts +10 -0
- package/dist/types/src/components/Shared/ItemsPerPageSelector.stories.d.ts +7 -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/LoadingShadowCard.stories.d.ts +7 -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/ShieldedActionButton.stories.d.ts +8 -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/use-lead-form.d.ts +30 -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/components/services/lead-validation.d.ts +30 -0
- package/dist/types/src/components/types/lead.d.ts +43 -0
- package/dist/types/src/components/ui/button.d.ts +57 -0
- package/dist/types/src/components/ui/button.stories.d.ts +105 -0
- package/dist/types/src/components/ui/button.test.d.ts +1 -0
- package/dist/types/src/components/ui/index.d.ts +17 -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/use-lead-form.d.ts +21 -0
- package/dist/types/src/hooks/useCareerAssistant.d.ts +7 -0
- package/dist/types/src/hooks/useLocalStorage.d.ts +36 -0
- package/dist/types/src/index.d.ts +170 -0
- package/dist/types/src/lib/utils.d.ts +15 -0
- package/dist/types/src/services/alphaVantageResearch.d.ts +32 -0
- package/dist/types/src/services/careerAssistant.mock.d.ts +53 -0
- package/dist/types/src/services/fmpService.d.ts +74 -0
- package/dist/types/src/services/lead-validation.d.ts +105 -0
- package/dist/types/src/services/research.d.ts +71 -0
- package/dist/types/src/services/scoringEngine.d.ts +35 -0
- package/dist/types/src/services/watchlistStore.d.ts +18 -0
- package/dist/types/src/stories/PageComponents.stories.d.ts +7 -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/company.d.ts +252 -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 +20 -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 +70 -0
- package/dist/types/src/types/lead.d.ts +128 -0
- package/dist/types/src/types/maltaevent.d.ts +50 -0
- package/dist/types/src/types/maltaplace.d.ts +52 -0
- package/dist/types/src/types/market.d.ts +86 -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/school.d.ts +89 -0
- package/dist/types/src/types/user.d.ts +34 -0
- package/dist/types/src/utils/safeArray.d.ts +1 -0
- package/dist/types/src/utils/safeArray.test.d.ts +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TaxonomyApprovalPayload } from "./types";
|
|
2
|
+
interface TaxonomyApproveFormProps {
|
|
3
|
+
namespaceOptions: string[];
|
|
4
|
+
scopeOptions: string[];
|
|
5
|
+
defaultNamespace?: string;
|
|
6
|
+
defaultCanonical?: string;
|
|
7
|
+
defaultScopes?: string[];
|
|
8
|
+
isSubmitting?: boolean;
|
|
9
|
+
onApprove: (payload: TaxonomyApprovalPayload) => void | Promise<void>;
|
|
10
|
+
onReject: () => void | Promise<void>;
|
|
11
|
+
approveLabel?: string;
|
|
12
|
+
rejectLabel?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const TaxonomyApproveForm: ({ namespaceOptions, scopeOptions, defaultNamespace, defaultCanonical, defaultScopes, isSubmitting, onApprove, onReject, approveLabel, rejectLabel, }: TaxonomyApproveFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default TaxonomyApproveForm;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TaxonomySuggestion } from "./types";
|
|
3
|
+
interface TaxonomySuggestionDetailProps {
|
|
4
|
+
suggestion: TaxonomySuggestion | null;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
emptyState?: string;
|
|
8
|
+
approveForm?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const TaxonomySuggestionDetail: ({ suggestion, title, description, emptyState, approveForm, }: TaxonomySuggestionDetailProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default TaxonomySuggestionDetail;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TaxonomySuggestion } from "./types";
|
|
2
|
+
interface TaxonomySuggestionTableProps {
|
|
3
|
+
suggestions: TaxonomySuggestion[];
|
|
4
|
+
selectedId?: string;
|
|
5
|
+
onSelect?: (suggestion: TaxonomySuggestion) => void;
|
|
6
|
+
onApprove?: (suggestion: TaxonomySuggestion) => void;
|
|
7
|
+
onReject?: (suggestion: TaxonomySuggestion) => void;
|
|
8
|
+
emptyState?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const TaxonomySuggestionTable: ({ suggestions, selectedId, onSelect, onApprove, onReject, emptyState, title, }: TaxonomySuggestionTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default TaxonomySuggestionTable;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface TaxonomySuggestion {
|
|
2
|
+
id: string;
|
|
3
|
+
term: string;
|
|
4
|
+
namespace?: string;
|
|
5
|
+
canonical?: string;
|
|
6
|
+
scopes: string[];
|
|
7
|
+
count?: number;
|
|
8
|
+
status?: "pending" | "approved" | "rejected";
|
|
9
|
+
createdAt?: string;
|
|
10
|
+
updatedAt?: string;
|
|
11
|
+
examples?: string[];
|
|
12
|
+
source?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TaxonomyApprovalPayload {
|
|
15
|
+
namespace: string;
|
|
16
|
+
canonical: string;
|
|
17
|
+
scopes: string[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ViewControlsProps {
|
|
3
|
+
viewMode: "grid" | "list";
|
|
4
|
+
onToggleViewMode: () => void;
|
|
5
|
+
selectedItemsPerPage: number;
|
|
6
|
+
onItemsPerPageChange: (value: number) => void;
|
|
7
|
+
totalCount: number;
|
|
8
|
+
startIndex: number;
|
|
9
|
+
endIndex: number;
|
|
10
|
+
title: string;
|
|
11
|
+
}
|
|
12
|
+
declare const ViewControls: React.FC<ViewControlsProps>;
|
|
13
|
+
export default ViewControls;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ViewModeToggleProps {
|
|
3
|
+
viewMode: "grid" | "list";
|
|
4
|
+
onToggle?: () => void;
|
|
5
|
+
onViewModeChange?: (mode: "grid" | "list") => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const ViewModeToggle: React.FC<ViewModeToggleProps>;
|
|
9
|
+
export default ViewModeToggle;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type Ok<T> = {
|
|
2
|
+
ok: true;
|
|
3
|
+
data: T;
|
|
4
|
+
};
|
|
5
|
+
export type Err = {
|
|
6
|
+
ok: false;
|
|
7
|
+
error: AppError;
|
|
8
|
+
};
|
|
9
|
+
export type Result<T> = Ok<T> | Err;
|
|
10
|
+
export type AppErrorCode = "BAD_REQUEST" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "CONFLICT" | "RATE_LIMITED" | "SERVER" | "NETWORK" | "TIMEOUT" | "PARSING" | "UNKNOWN";
|
|
11
|
+
export type AppError = {
|
|
12
|
+
code: AppErrorCode;
|
|
13
|
+
message: string;
|
|
14
|
+
friendly?: string;
|
|
15
|
+
status?: number;
|
|
16
|
+
details?: unknown;
|
|
17
|
+
};
|
|
18
|
+
export declare function friendlyMessage(err: AppError): string;
|
|
19
|
+
export declare function apiFetch<T>(url: string, init?: RequestInit & {
|
|
20
|
+
timeoutMs?: number;
|
|
21
|
+
}): Promise<Result<T>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DateFilterOption } from "../../GenericListing/DateFilter";
|
|
2
|
+
import { JobFilters } from "../../GenericListing/SidebarFilter";
|
|
3
|
+
import { FilterableItem } from "../types/shared-types";
|
|
4
|
+
export declare const applyDateFilter: <T extends FilterableItem>(items: T[], dateFilterOption: DateFilterOption, dateField?: string) => T[];
|
|
5
|
+
export declare const applyAdvancedFilters: <T extends FilterableItem>(items: T[], filters: JobFilters) => T[];
|
|
6
|
+
export declare const populateFilters: <T extends Record<string, any>>(items: T[], filterKeys: string[]) => Record<string, string[]>;
|
|
7
|
+
export declare const updateUrlWithDateFilter: (filter: DateFilterOption) => void;
|
|
8
|
+
export declare const applyAllFilters: <T extends FilterableItem>(items: T[], dropdownFilters: Record<string, string>, textFilters: string[], dateFilter: DateFilterOption, dateField?: string) => T[];
|
|
9
|
+
export type SortOptionKey = "date_desc" | "date_asc" | "views_desc" | "views_asc" | "relevance" | "title_asc";
|
|
10
|
+
export declare const sortItems: <T extends FilterableItem>(items: T[], sortBy: SortOptionKey, searchTerms?: string[], dateField?: string) => T[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { JobDetail, SimilarJob } from "../../JobsDetails/utils/types";
|
|
2
|
+
declare function normalizeJob(jobLike?: Partial<JobDetail> | null): JobDetail;
|
|
3
|
+
declare function normalizeSimilar(list?: Partial<SimilarJob>[] | null): SimilarJob[];
|
|
4
|
+
declare const mockJobDetail: JobDetail;
|
|
5
|
+
declare const mockSimilarJobs: SimilarJob[];
|
|
6
|
+
export { normalizeJob, normalizeSimilar, mockJobDetail, mockSimilarJobs };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export type FilterOption = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
export type FilterType = "checkbox" | "dropdown" | "search" | "radio";
|
|
6
|
+
export interface FilterConfig {
|
|
7
|
+
type: FilterType;
|
|
8
|
+
label: string;
|
|
9
|
+
options?: FilterOption[];
|
|
10
|
+
}
|
|
11
|
+
export type FilterState = {
|
|
12
|
+
[key: string]: string | string[] | [string, string] | [number, number];
|
|
13
|
+
};
|
|
14
|
+
export type FilterableItem = {
|
|
15
|
+
title?: string;
|
|
16
|
+
overview?: string;
|
|
17
|
+
date?: string;
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
export interface CompanyTypeSubtype {
|
|
21
|
+
slug: string;
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
export interface CompanyTypeKeyRole {
|
|
25
|
+
role: string;
|
|
26
|
+
demand: "High" | "Medium" | "Low";
|
|
27
|
+
}
|
|
28
|
+
export interface CompanyType {
|
|
29
|
+
id: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
name: string;
|
|
32
|
+
label: string;
|
|
33
|
+
description: string;
|
|
34
|
+
businessModel: "b2b" | "b2c" | "both";
|
|
35
|
+
isB2b: boolean;
|
|
36
|
+
isB2c: boolean;
|
|
37
|
+
isRegulated: boolean;
|
|
38
|
+
parentType: string | null;
|
|
39
|
+
subtypes: CompanyTypeSubtype[];
|
|
40
|
+
synonyms: string[];
|
|
41
|
+
relatedTypes: string[];
|
|
42
|
+
jobCount: number;
|
|
43
|
+
companyCount: number;
|
|
44
|
+
colorHex: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
careerImplications: string;
|
|
47
|
+
keyRoles: CompanyTypeKeyRole[];
|
|
48
|
+
isFeatured: boolean;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface GamblingVerticalKeyRole {
|
|
52
|
+
role: string;
|
|
53
|
+
demand: "High" | "Medium" | "Low";
|
|
54
|
+
}
|
|
55
|
+
export interface GamblingVertical {
|
|
56
|
+
id: string;
|
|
57
|
+
slug: string;
|
|
58
|
+
name: string;
|
|
59
|
+
label: string;
|
|
60
|
+
description: string;
|
|
61
|
+
channel: string;
|
|
62
|
+
parentVertical: string | null;
|
|
63
|
+
subVerticals: string[];
|
|
64
|
+
synonyms: string[];
|
|
65
|
+
regulationLevel: "low" | "medium" | "high";
|
|
66
|
+
isFastGrowing: boolean;
|
|
67
|
+
companyCount: number;
|
|
68
|
+
jobCount: number;
|
|
69
|
+
topMarkets: string[];
|
|
70
|
+
keyRegulators: string[];
|
|
71
|
+
relatedCompanyTypes: string[];
|
|
72
|
+
careerImplications: string;
|
|
73
|
+
keyRoles: GamblingVerticalKeyRole[];
|
|
74
|
+
colorHex: string;
|
|
75
|
+
icon: string;
|
|
76
|
+
isFeatured: boolean;
|
|
77
|
+
isActive: boolean;
|
|
78
|
+
}
|
|
79
|
+
export interface Channel {
|
|
80
|
+
id: string;
|
|
81
|
+
slug: string;
|
|
82
|
+
name: string;
|
|
83
|
+
label: string;
|
|
84
|
+
description: string;
|
|
85
|
+
channelType: string;
|
|
86
|
+
synonyms: string[];
|
|
87
|
+
isDigital: boolean;
|
|
88
|
+
isRegulatedDifferently: boolean;
|
|
89
|
+
typicalCompanyTypes: string[];
|
|
90
|
+
notes: string;
|
|
91
|
+
companyCount: number;
|
|
92
|
+
isActive: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface DepartmentSubDept {
|
|
95
|
+
slug: string;
|
|
96
|
+
name: string;
|
|
97
|
+
}
|
|
98
|
+
export interface DepartmentEntity {
|
|
99
|
+
id: string;
|
|
100
|
+
slug: string;
|
|
101
|
+
name: string;
|
|
102
|
+
label: string;
|
|
103
|
+
description: string;
|
|
104
|
+
parentDepartment: string | null;
|
|
105
|
+
subDepartments: DepartmentSubDept[];
|
|
106
|
+
scraperAliases: string[];
|
|
107
|
+
synonyms: string[];
|
|
108
|
+
isTechnical: boolean;
|
|
109
|
+
isRegulated: boolean;
|
|
110
|
+
isIgamingSpecific: boolean;
|
|
111
|
+
typicalSeniority: string;
|
|
112
|
+
companyTypes: string[];
|
|
113
|
+
topSkills: string[];
|
|
114
|
+
avgSalaryRange: {
|
|
115
|
+
min: number;
|
|
116
|
+
max: number;
|
|
117
|
+
currency: string;
|
|
118
|
+
};
|
|
119
|
+
jobCount: number;
|
|
120
|
+
growthTrend: "growing" | "stable" | "declining";
|
|
121
|
+
careerImplications: string;
|
|
122
|
+
icon: string;
|
|
123
|
+
colorHex: string;
|
|
124
|
+
isActive: boolean;
|
|
125
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TagBadgeProps {
|
|
3
|
+
name: string;
|
|
4
|
+
color: string;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
removable?: boolean;
|
|
7
|
+
onRemove?: () => void;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
href?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const TagBadge: React.FC<TagBadgeProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TagPickerProps {
|
|
3
|
+
availableTags: Array<{
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
color: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
}>;
|
|
9
|
+
selectedTagIds: string[];
|
|
10
|
+
onTagSelect: (tagId: string) => void;
|
|
11
|
+
onTagDeselect: (tagId: string) => void;
|
|
12
|
+
onCreateTag: (tagData: {
|
|
13
|
+
name: string;
|
|
14
|
+
color: string;
|
|
15
|
+
category?: string;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
maxTags?: number;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const TagPicker: React.FC<TagPickerProps>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook for lead form submission logic
|
|
3
|
+
*/
|
|
4
|
+
import { LeadFormData, LeadFormConfig } from '../types/lead';
|
|
5
|
+
import { UseFormSetError } from 'react-hook-form';
|
|
6
|
+
interface UseLeadFormProps extends Partial<LeadFormConfig> {
|
|
7
|
+
apiEndpoint?: string;
|
|
8
|
+
sourcePage?: string;
|
|
9
|
+
campaign?: string;
|
|
10
|
+
autoPopulateMetadata?: boolean;
|
|
11
|
+
onSuccess?: (response: any) => void;
|
|
12
|
+
onError?: (error: any) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const useLeadForm: ({ apiEndpoint, sourcePage, campaign, autoPopulateMetadata, onSuccess, onError, }: UseLeadFormProps) => {
|
|
15
|
+
submitLead: (data: LeadFormData, setFormError?: UseFormSetError<LeadFormData>) => Promise<any>;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
isSuccess: boolean;
|
|
18
|
+
isError: boolean;
|
|
19
|
+
error: string | null;
|
|
20
|
+
resetState: () => void;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Hook to get auto-populated metadata
|
|
24
|
+
*/
|
|
25
|
+
export declare const useLeadMetadata: (sourcePage?: string, campaign?: string, language?: string) => {
|
|
26
|
+
sourcePage: string;
|
|
27
|
+
campaign: string;
|
|
28
|
+
language: string;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { OnboardingStep, OnboardingBackendFlags } from "@/types/onboarding";
|
|
2
|
+
export interface OnboardingState {
|
|
3
|
+
emailVerified: boolean;
|
|
4
|
+
profileComplete: boolean;
|
|
5
|
+
steps: OnboardingStep[];
|
|
6
|
+
progress: number;
|
|
7
|
+
showModal: boolean;
|
|
8
|
+
isDismissed: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface UseOnboardingReturn extends OnboardingState {
|
|
11
|
+
openModal: () => void;
|
|
12
|
+
closeModal: () => void;
|
|
13
|
+
dismissOnboarding: () => void;
|
|
14
|
+
resetDismissal: () => void;
|
|
15
|
+
updateFromBackend: (flags: OnboardingBackendFlags) => void;
|
|
16
|
+
markStepComplete: (stepId: string) => void;
|
|
17
|
+
isComplete: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function useOnboarding(): UseOnboardingReturn;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lead form validation schema
|
|
3
|
+
*/
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
export declare const leadFormSchema: z.ZodObject<{
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
email: z.ZodString;
|
|
8
|
+
phone: z.ZodEffects<z.ZodString, string, string>;
|
|
9
|
+
country: z.ZodString;
|
|
10
|
+
budget: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
11
|
+
timeframe: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
12
|
+
language: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
name: string;
|
|
15
|
+
email: string;
|
|
16
|
+
country: string;
|
|
17
|
+
phone: string;
|
|
18
|
+
language?: string | undefined;
|
|
19
|
+
budget?: string | undefined;
|
|
20
|
+
timeframe?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
name: string;
|
|
23
|
+
email: string;
|
|
24
|
+
country: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
language?: string | undefined;
|
|
27
|
+
budget?: string | undefined;
|
|
28
|
+
timeframe?: string | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export type LeadFormSchema = z.infer<typeof leadFormSchema>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lead form types and constants
|
|
3
|
+
*/
|
|
4
|
+
export interface LeadFormData {
|
|
5
|
+
name: string;
|
|
6
|
+
email: string;
|
|
7
|
+
phone: string;
|
|
8
|
+
country: string;
|
|
9
|
+
budget: string;
|
|
10
|
+
timeframe: string;
|
|
11
|
+
language?: string;
|
|
12
|
+
source_page?: string;
|
|
13
|
+
campaign?: string;
|
|
14
|
+
utm_source?: string;
|
|
15
|
+
utm_medium?: string;
|
|
16
|
+
utm_campaign?: string;
|
|
17
|
+
referrer?: string;
|
|
18
|
+
timestamp?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface LeadFormConfig {
|
|
21
|
+
visibleFields?: (keyof Omit<LeadFormData, 'source_page' | 'campaign' | 'language' | 'utm_source' | 'utm_medium' | 'utm_campaign' | 'referrer' | 'timestamp'>)[];
|
|
22
|
+
sourcePage?: string;
|
|
23
|
+
campaign?: string;
|
|
24
|
+
language?: string;
|
|
25
|
+
onSuccess?: (response: any) => void;
|
|
26
|
+
onError?: (error: any) => void;
|
|
27
|
+
successMessage?: string;
|
|
28
|
+
submitButtonText?: string;
|
|
29
|
+
apiEndpoint?: string;
|
|
30
|
+
autoPopulateMetadata?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare const BUDGET_OPTIONS: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}[];
|
|
36
|
+
export declare const TIMEFRAME_OPTIONS: {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
export declare const LANGUAGE_OPTIONS: {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
/**
|
|
4
|
+
* Button component with CVA variant system
|
|
5
|
+
*
|
|
6
|
+
* Provides semantic button styling with multiple variants, sizes, and states.
|
|
7
|
+
* Uses Tailwind CSS for all styling (no Material UI wrapping).
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* // Primary button
|
|
14
|
+
* <Button variant="primary">Click me</Button>
|
|
15
|
+
*
|
|
16
|
+
* // Secondary button with custom classes
|
|
17
|
+
* <Button variant="secondary" size="lg" className="custom-class">
|
|
18
|
+
* Action
|
|
19
|
+
* </Button>
|
|
20
|
+
*
|
|
21
|
+
* // Icon button
|
|
22
|
+
* <Button variant="ghost" size="icon">
|
|
23
|
+
* <IconComponent />
|
|
24
|
+
* </Button>
|
|
25
|
+
*
|
|
26
|
+
* // Disabled state
|
|
27
|
+
* <Button disabled>Disabled</Button>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
declare const buttonVariants: (props?: ({
|
|
31
|
+
variant?: "destructive" | "outline" | "secondary" | "ghost" | "link" | "accent" | "gaming" | "primary" | null | undefined;
|
|
32
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
33
|
+
loading?: boolean | null | undefined;
|
|
34
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
35
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
36
|
+
/**
|
|
37
|
+
* Whether button is in loading state
|
|
38
|
+
* Use with a spinner/indicator inside the button
|
|
39
|
+
*/
|
|
40
|
+
isLoading?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Ref forwarding for parent access
|
|
43
|
+
*/
|
|
44
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Button component
|
|
48
|
+
*
|
|
49
|
+
* Semantic button element with responsive, accessible design
|
|
50
|
+
*
|
|
51
|
+
* @param props - Button props including variant, size, disabled state
|
|
52
|
+
* @param ref - Forwarded ref to button element
|
|
53
|
+
*
|
|
54
|
+
* @returns JSX.Element
|
|
55
|
+
*/
|
|
56
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
57
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Button } from "./button";
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Button>;
|
|
6
|
+
/**
|
|
7
|
+
* Default button with primary variant
|
|
8
|
+
*/
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
/**
|
|
11
|
+
* Primary variant - main brand color (Navy)
|
|
12
|
+
*/
|
|
13
|
+
export declare const Primary: Story;
|
|
14
|
+
/**
|
|
15
|
+
* Secondary variant - supporting brand color (Gold)
|
|
16
|
+
*/
|
|
17
|
+
export declare const Secondary: Story;
|
|
18
|
+
/**
|
|
19
|
+
* Accent variant - high-emphasis CTA (Orange)
|
|
20
|
+
*/
|
|
21
|
+
export declare const Accent: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Destructive variant - warning/danger actions (Red)
|
|
24
|
+
*/
|
|
25
|
+
export declare const Destructive: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Outline variant - bordered with hover fill
|
|
28
|
+
*/
|
|
29
|
+
export declare const Outline: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Ghost variant - minimal, no border
|
|
32
|
+
*/
|
|
33
|
+
export declare const Ghost: Story;
|
|
34
|
+
/**
|
|
35
|
+
* Link variant - text link appearance
|
|
36
|
+
*/
|
|
37
|
+
export declare const Link: Story;
|
|
38
|
+
/**
|
|
39
|
+
* Gaming variant - iGaming themed with gradient
|
|
40
|
+
*/
|
|
41
|
+
export declare const Gaming: Story;
|
|
42
|
+
/**
|
|
43
|
+
* Small size button
|
|
44
|
+
*/
|
|
45
|
+
export declare const Small: Story;
|
|
46
|
+
/**
|
|
47
|
+
* Default size button (standard)
|
|
48
|
+
*/
|
|
49
|
+
export declare const DefaultSize: Story;
|
|
50
|
+
/**
|
|
51
|
+
* Large size button for prominence
|
|
52
|
+
*/
|
|
53
|
+
export declare const Large: Story;
|
|
54
|
+
/**
|
|
55
|
+
* Icon button - square for icon, default size
|
|
56
|
+
*/
|
|
57
|
+
export declare const Icon: Story;
|
|
58
|
+
/**
|
|
59
|
+
* Small icon button
|
|
60
|
+
*/
|
|
61
|
+
export declare const IconSmall: Story;
|
|
62
|
+
/**
|
|
63
|
+
* Large icon button
|
|
64
|
+
*/
|
|
65
|
+
export declare const IconLarge: Story;
|
|
66
|
+
/**
|
|
67
|
+
* Disabled button - not clickable
|
|
68
|
+
*/
|
|
69
|
+
export declare const Disabled: Story;
|
|
70
|
+
/**
|
|
71
|
+
* Loading state - typically paired with spinner
|
|
72
|
+
*/
|
|
73
|
+
export declare const Loading: Story;
|
|
74
|
+
/**
|
|
75
|
+
* Loading with spinner icon
|
|
76
|
+
*/
|
|
77
|
+
export declare const LoadingWithSpinner: Story;
|
|
78
|
+
/**
|
|
79
|
+
* All variants in a row
|
|
80
|
+
*/
|
|
81
|
+
export declare const AllVariants: Story;
|
|
82
|
+
/**
|
|
83
|
+
* All sizes in a row
|
|
84
|
+
*/
|
|
85
|
+
export declare const AllSizes: Story;
|
|
86
|
+
/**
|
|
87
|
+
* Button in different states (interactive demo)
|
|
88
|
+
*/
|
|
89
|
+
export declare const States: Story;
|
|
90
|
+
/**
|
|
91
|
+
* Responsive button layout
|
|
92
|
+
*/
|
|
93
|
+
export declare const Responsive: Story;
|
|
94
|
+
/**
|
|
95
|
+
* Full width button
|
|
96
|
+
*/
|
|
97
|
+
export declare const FullWidth: Story;
|
|
98
|
+
/**
|
|
99
|
+
* Keyboard accessible button (test with Tab key)
|
|
100
|
+
*/
|
|
101
|
+
export declare const KeyboardAccessible: Story;
|
|
102
|
+
/**
|
|
103
|
+
* Dark mode preview (toggle theme in Storybook to test)
|
|
104
|
+
*/
|
|
105
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI Components (Tier 1 - Atomic)
|
|
3
|
+
*
|
|
4
|
+
* This directory contains foundational, reusable UI components that:
|
|
5
|
+
* - Are single-responsibility and highly composable
|
|
6
|
+
* - Follow Tailwind CSS + CVA (class-variance-authority) patterns
|
|
7
|
+
* - Are fully accessible (WCAG 2.1 AA)
|
|
8
|
+
* - Have comprehensive Storybook documentation
|
|
9
|
+
* - Have >80% test coverage
|
|
10
|
+
*
|
|
11
|
+
* Exports:
|
|
12
|
+
* - Button: Semantic button with 8 variants and 6 sizes
|
|
13
|
+
* - Form components: Input, Label, Select, Checkbox, Radio (COMING)
|
|
14
|
+
* - Dialog: Canonical modal component (COMING)
|
|
15
|
+
*/
|
|
16
|
+
export { Button, buttonVariants, type ButtonProps } from "./button";
|
|
17
|
+
export type { VariantProps as ButtonVariants } from "class-variance-authority";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const QUICK_PROMPTS: {
|
|
2
|
+
icon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
3
|
+
label: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const FOLLOW_UP_CHIPS: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CompanyReview, ReviewSummary } from "@/types/review";
|
|
2
|
+
export declare const mockReviews: CompanyReview[];
|
|
3
|
+
export declare const getReviewsForCompany: (companySlug: string) => CompanyReview[];
|
|
4
|
+
export declare const getReviewSummary: (companySlug: string) => ReviewSummary;
|
|
5
|
+
/** Get all published reviews across all companies */
|
|
6
|
+
export declare const getAllReviews: () => CompanyReview[];
|