@igamingcareer/igaming-components 1.2.22 → 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 +1536 -1536
- package/dist/index.mjs +22630 -23064
- 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,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface FieldConfig {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
type?: "text" | "email" | "password";
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface RegisterProps<T extends Record<string, any> = Record<string, any>> {
|
|
10
|
+
/**
|
|
11
|
+
* Called when the user submits the registration form.
|
|
12
|
+
* The shape of `T` depends on the `fields` you pass.
|
|
13
|
+
*/
|
|
14
|
+
onSubmit: (data: T) => void | Promise<void>;
|
|
15
|
+
/** Array of fields to render dynamically */
|
|
16
|
+
fields: FieldConfig[];
|
|
17
|
+
/** Called when the user clicks "Already have an account? Login" */
|
|
18
|
+
onLoginClick?: () => void;
|
|
19
|
+
/** Show loading state while waiting for API */
|
|
20
|
+
isLoading?: boolean;
|
|
21
|
+
/** Error message to show */
|
|
22
|
+
error?: string;
|
|
23
|
+
/** Branding: app name */
|
|
24
|
+
appName?: string;
|
|
25
|
+
/** Branding: custom logo */
|
|
26
|
+
logo?: React.ReactNode;
|
|
27
|
+
/** Title override */
|
|
28
|
+
title?: string;
|
|
29
|
+
/** Description override */
|
|
30
|
+
description?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare const Register: <T extends Record<string, any> = Record<string, any>>({ onSubmit, fields, onLoginClick, isLoading, error, appName, logo, title, description, }: RegisterProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export default Register;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface RegisterFormData {
|
|
2
|
+
email: string;
|
|
3
|
+
password: string;
|
|
4
|
+
confirmPassword?: string;
|
|
5
|
+
password2?: string;
|
|
6
|
+
fullName?: string;
|
|
7
|
+
first_name?: string;
|
|
8
|
+
last_name?: string;
|
|
9
|
+
company?: string;
|
|
10
|
+
acceptTerms: boolean;
|
|
11
|
+
}
|
|
12
|
+
export type FieldConfig = {
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
type?: "text" | "email" | "password";
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export interface RegisterFormProps<T extends Record<string, any> = RegisterFormData> {
|
|
20
|
+
onSubmit: (data: T) => void;
|
|
21
|
+
fields: FieldConfig[];
|
|
22
|
+
onLoginClick?: () => void;
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
error?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
showCompanyField?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export default function RegisterForm<T extends Record<string, any>>({ onSubmit, fields, onLoginClick, isLoading, error, title, description, }: RegisterFormProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SocialProvider } from "./SocialButton";
|
|
2
|
+
export type FieldConfig = {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
type?: "text" | "email" | "password";
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface RegisterFormV2Props<T extends Record<string, any>> {
|
|
10
|
+
onSubmit: (data: T) => void;
|
|
11
|
+
fields: FieldConfig[];
|
|
12
|
+
optionalFields?: FieldConfig[];
|
|
13
|
+
onLoginClick?: () => void;
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
error?: string;
|
|
16
|
+
onClearError?: () => void;
|
|
17
|
+
title?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
privacyNote?: string;
|
|
20
|
+
/** Called when user clicks "Sign up with Google" */
|
|
21
|
+
onGoogleLogin?: () => void;
|
|
22
|
+
/** Called when user clicks "Sign up with LinkedIn" */
|
|
23
|
+
onLinkedInLogin?: () => void;
|
|
24
|
+
/** Which social provider is currently loading */
|
|
25
|
+
socialLoginLoading?: SocialProvider | null;
|
|
26
|
+
}
|
|
27
|
+
export default function RegisterFormV2<T extends Record<string, any>>({ onSubmit, fields, optionalFields, onLoginClick, isLoading, error, onClearError, title, description, privacyNote, onGoogleLogin, onLinkedInLogin, socialLoginLoading, }: RegisterFormV2Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FieldConfig } from "./RegisterFormV2";
|
|
3
|
+
import { SocialProvider } from "./SocialButton";
|
|
4
|
+
export interface RegisterV2Props<T extends Record<string, any> = Record<string, any>> {
|
|
5
|
+
onSubmit: (data: T) => void | Promise<void>;
|
|
6
|
+
fields: FieldConfig[];
|
|
7
|
+
optionalFields?: FieldConfig[];
|
|
8
|
+
onLoginClick?: () => void;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
error?: string;
|
|
11
|
+
onClearError?: () => void;
|
|
12
|
+
appName?: string;
|
|
13
|
+
logo?: React.ReactNode;
|
|
14
|
+
title?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
privacyNote?: string;
|
|
17
|
+
/** Called when user clicks "Sign up with Google" */
|
|
18
|
+
onGoogleLogin?: () => void;
|
|
19
|
+
/** Called when user clicks "Sign up with LinkedIn" */
|
|
20
|
+
onLinkedInLogin?: () => void;
|
|
21
|
+
/** Which social provider is currently loading */
|
|
22
|
+
socialLoginLoading?: SocialProvider | null;
|
|
23
|
+
}
|
|
24
|
+
export declare const RegisterV2: <T extends Record<string, any> = Record<string, any>>({ onSubmit, fields, optionalFields, onLoginClick, isLoading, error, onClearError, appName, logo, title, description, privacyNote, onGoogleLogin, onLinkedInLogin, socialLoginLoading, }: RegisterV2Props<T>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default RegisterV2;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import RegisterV2 from "@/components/Auth/RegisterV2";
|
|
3
|
+
declare const meta: Meta<typeof RegisterV2>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof RegisterV2>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithOptionalFields: Story;
|
|
8
|
+
export declare const WithError: Story;
|
|
9
|
+
export declare const Loading: Story;
|
|
10
|
+
export declare const WithLoginLink: Story;
|
|
11
|
+
export declare const WithSocialButtons: Story;
|
|
12
|
+
export declare const GoogleLoading: Story;
|
|
13
|
+
export declare const LinkedInLoading: Story;
|
|
14
|
+
export declare const InteractiveSocial: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SignInPromptModalProps {
|
|
3
|
+
/** Controls whether the modal is visible */
|
|
4
|
+
open: boolean;
|
|
5
|
+
/** Called when the modal should be dismissed */
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
/** Called when the user chooses to sign in */
|
|
8
|
+
onLogin: () => void;
|
|
9
|
+
/** Called when the user chooses to create a new account */
|
|
10
|
+
onRegister: () => void;
|
|
11
|
+
/** Optional branding */
|
|
12
|
+
appName?: string;
|
|
13
|
+
/** The action the user attempted (e.g. "save this job") */
|
|
14
|
+
attemptedAction?: string;
|
|
15
|
+
/** Optional custom title */
|
|
16
|
+
title?: string;
|
|
17
|
+
/** Optional description override */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Additional helpful notes or JSX content */
|
|
20
|
+
helperContent?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
export declare const SignInPromptModal: React.FC<SignInPromptModalProps>;
|
|
23
|
+
export default SignInPromptModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import SignInPromptModal from "@/components/Auth/SignInPromptModal";
|
|
3
|
+
declare const meta: Meta<typeof SignInPromptModal>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SignInPromptModal>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CustomCopy: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type SocialProvider = "google" | "linkedin";
|
|
3
|
+
export interface SocialButtonProps {
|
|
4
|
+
provider: SocialProvider;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const SocialButton: React.FC<SocialButtonProps>;
|
|
11
|
+
export default SocialButton;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { SocialButton } from "@/components/Auth/SocialButton";
|
|
3
|
+
declare const meta: Meta<typeof SocialButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SocialButton>;
|
|
6
|
+
export declare const Google: Story;
|
|
7
|
+
export declare const LinkedIn: Story;
|
|
8
|
+
export declare const GoogleLoading: Story;
|
|
9
|
+
export declare const LinkedInLoading: Story;
|
|
10
|
+
export declare const GoogleDisabled: Story;
|
|
11
|
+
export declare const CustomLabel: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type VerificationBannerProps = {
|
|
2
|
+
emailVerified: boolean;
|
|
3
|
+
onResend: () => Promise<void> | void;
|
|
4
|
+
onChangeEmail: () => void;
|
|
5
|
+
isResending?: boolean;
|
|
6
|
+
error?: string | null;
|
|
7
|
+
variant?: "inline" | "page" | "compact";
|
|
8
|
+
dismissible?: boolean;
|
|
9
|
+
onDismiss?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export default function VerificationBanner({ emailVerified, onResend, onChangeEmail, isResending, error, variant, dismissible, onDismiss, }: VerificationBannerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import VerificationBanner from "@/components/Auth/VerificationBanner";
|
|
3
|
+
declare const meta: Meta<typeof VerificationBanner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VerificationBanner>;
|
|
6
|
+
export declare const Inline: Story;
|
|
7
|
+
export declare const PageVariant: Story;
|
|
8
|
+
export declare const CompactLoading: Story;
|
|
9
|
+
export declare const ErrorState: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Button from "@/components/Button/Button";
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Button>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CustomLabel: Story;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface CandidateProfileData {
|
|
2
|
+
personalDetails: {
|
|
3
|
+
fullName: string;
|
|
4
|
+
email: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
location: string;
|
|
7
|
+
summary: string;
|
|
8
|
+
dob?: string;
|
|
9
|
+
address?: string;
|
|
10
|
+
nationality: string;
|
|
11
|
+
};
|
|
12
|
+
workExperience: Array<{
|
|
13
|
+
id: number | string;
|
|
14
|
+
title: string;
|
|
15
|
+
company: string;
|
|
16
|
+
period: string;
|
|
17
|
+
summary?: string;
|
|
18
|
+
location?: string;
|
|
19
|
+
tags?: string[];
|
|
20
|
+
}>;
|
|
21
|
+
education: Array<{
|
|
22
|
+
degree: string;
|
|
23
|
+
institution: string;
|
|
24
|
+
level: string;
|
|
25
|
+
}>;
|
|
26
|
+
skills: string[];
|
|
27
|
+
languages: Array<{
|
|
28
|
+
name: string;
|
|
29
|
+
proficiency: string;
|
|
30
|
+
}>;
|
|
31
|
+
resume?: {
|
|
32
|
+
url?: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface CandidateData {
|
|
36
|
+
id: number | string;
|
|
37
|
+
username: string;
|
|
38
|
+
email: string;
|
|
39
|
+
first_name: string;
|
|
40
|
+
last_name: string;
|
|
41
|
+
role: string;
|
|
42
|
+
service: string;
|
|
43
|
+
profileData: CandidateProfileData;
|
|
44
|
+
}
|
|
45
|
+
interface CandidateProfileProps {
|
|
46
|
+
candidateData: CandidateData;
|
|
47
|
+
}
|
|
48
|
+
declare const CandidateProfile: ({ candidateData }: CandidateProfileProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export default CandidateProfile;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QuickPromptsType } from "@/components/CareerAssistant/mockCareerAssistant";
|
|
2
|
+
import { ChatMessage } from "@/types/chat-messages";
|
|
3
|
+
type Props = {
|
|
4
|
+
messages: ChatMessage[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
sendMessage: (msg: string) => void;
|
|
7
|
+
followUpChips?: string[];
|
|
8
|
+
quickPrompts?: QuickPromptsType[];
|
|
9
|
+
};
|
|
10
|
+
export default function CareerAssistant({ messages, isLoading, sendMessage, followUpChips, quickPrompts, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ChatMessage {
|
|
2
|
+
role: "user" | "assistant";
|
|
3
|
+
content: string;
|
|
4
|
+
toolCalls?: ToolCallResult[];
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface ToolCallResult {
|
|
8
|
+
name: string;
|
|
9
|
+
args: Record<string, any>;
|
|
10
|
+
result: any;
|
|
11
|
+
}
|
|
12
|
+
export declare function MessageBubble({ message }: {
|
|
13
|
+
message: ChatMessage;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { QuickPromptsType } from "@/components/CareerAssistant/mockCareerAssistant";
|
|
2
|
+
type Props = {
|
|
3
|
+
onPrompt: (msg: string) => void;
|
|
4
|
+
quickPrompts: QuickPromptsType[];
|
|
5
|
+
};
|
|
6
|
+
export declare function WelcomeScreen({ onPrompt, quickPrompts }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Company, CompanyFilterCounts, CompanyFilterOptions, CompanyFiltersState, CompanyFollowActionPayload, SaveCompanyPayload } from "./types";
|
|
2
|
+
import type { DirectorySortOption } from "../Shared/Directory/types";
|
|
3
|
+
interface CompaniesListProps {
|
|
4
|
+
companies: Company[];
|
|
5
|
+
filterOptions: CompanyFilterOptions;
|
|
6
|
+
filterCounts?: CompanyFilterCounts;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
page: number;
|
|
9
|
+
pageSize: number;
|
|
10
|
+
totalCount: number;
|
|
11
|
+
totalPages: number;
|
|
12
|
+
onPageChange: (page: number) => void;
|
|
13
|
+
onPageSizeChange: (size: number) => void;
|
|
14
|
+
filters: CompanyFiltersState;
|
|
15
|
+
onFiltersChange: (filters: CompanyFiltersState) => void;
|
|
16
|
+
onClearFilters: () => void;
|
|
17
|
+
viewMode: "grid" | "list";
|
|
18
|
+
onViewModeChange: () => void;
|
|
19
|
+
followDisabled?: boolean;
|
|
20
|
+
followLoading?: boolean;
|
|
21
|
+
onToggleFollow?: (companyId: string, isFollowing: boolean) => void;
|
|
22
|
+
onFollowAction?: (payload: CompanyFollowActionPayload) => void;
|
|
23
|
+
saveDisabled?: boolean;
|
|
24
|
+
saveLoading?: boolean;
|
|
25
|
+
onToggleSave?: (companyId: string, isSaved: boolean) => void;
|
|
26
|
+
onSaveAction?: (payload: SaveCompanyPayload) => void;
|
|
27
|
+
maxCompare: number;
|
|
28
|
+
sortOptions: DirectorySortOption[];
|
|
29
|
+
}
|
|
30
|
+
declare const CompaniesList: ({ companies, filterOptions, filterCounts, loading, page, pageSize, totalCount, totalPages, onPageChange, onPageSizeChange, filters, onFiltersChange, onClearFilters, viewMode, onViewModeChange, followDisabled, followLoading, onToggleFollow, onFollowAction, saveDisabled, saveLoading, onToggleSave, onSaveAction, maxCompare, sortOptions, }: CompaniesListProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export default CompaniesList;
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import CompanyCard from "@/components/Companies/components/CompanyCard";
|
|
3
|
+
declare const meta: Meta<typeof CompanyCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CompanyCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const EmptyState: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ClaimProfilePrefillData, CompanyDetailTab, CompanyDetailTabChangeEvent, Company, CompanyClaimRequestPayload, SimilarCompanyItem } from "./types";
|
|
2
|
+
import type { DashboardJob } from "@/types/job";
|
|
3
|
+
import type { DashboardNewsArticle } from "@/types/news";
|
|
4
|
+
import type { ConferenceEvent } from "@/types/conference";
|
|
5
|
+
import type { CompanyFollowActionPayload, SaveCompanyPayload } from "./types";
|
|
6
|
+
import type { CompanyReview } from "@/types/review";
|
|
7
|
+
interface CompanyDetailProps {
|
|
8
|
+
company?: Company | null;
|
|
9
|
+
jobs?: DashboardJob[];
|
|
10
|
+
news?: DashboardNewsArticle[];
|
|
11
|
+
events?: ConferenceEvent[];
|
|
12
|
+
showReviews?: boolean;
|
|
13
|
+
reviews?: CompanyReview[];
|
|
14
|
+
insights?: unknown;
|
|
15
|
+
followLoading?: boolean;
|
|
16
|
+
followDisabled?: boolean;
|
|
17
|
+
onToggleFollow?: (companyId: string, isFollowing: boolean) => void;
|
|
18
|
+
onFollowAction?: (payload: CompanyFollowActionPayload) => void;
|
|
19
|
+
saveLoading?: boolean;
|
|
20
|
+
saveDisabled?: boolean;
|
|
21
|
+
onToggleSave?: (companyId: string, isSaved: boolean) => void;
|
|
22
|
+
onSaveAction?: (payload: SaveCompanyPayload) => void;
|
|
23
|
+
canClaim?: boolean;
|
|
24
|
+
onClaimSubmit?: (payload: CompanyClaimRequestPayload) => void;
|
|
25
|
+
claimPrefill?: ClaimProfilePrefillData;
|
|
26
|
+
onBack?: () => void;
|
|
27
|
+
activeTab?: CompanyDetailTab;
|
|
28
|
+
tabPaths?: Partial<Record<CompanyDetailTab, string>>;
|
|
29
|
+
onTabChange?: (event: CompanyDetailTabChangeEvent) => void;
|
|
30
|
+
similarCompanies?: SimilarCompanyItem[];
|
|
31
|
+
}
|
|
32
|
+
declare const CompanyDetail: ({ company, jobs, news, events, showReviews, reviews, followLoading, followDisabled, onToggleFollow, onFollowAction, saveLoading, saveDisabled, onToggleSave, onSaveAction, canClaim, onClaimSubmit, claimPrefill, onBack, activeTab, tabPaths, onTabChange, similarCompanies }: CompanyDetailProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export default CompanyDetail;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Company, CompanyFilterOptions, CompanyFiltersState, CompanyFollowActionPayload, SaveCompanyPayload } from "./types";
|
|
2
|
+
interface CompanyDirectoryProps {
|
|
3
|
+
companies: Company[];
|
|
4
|
+
filterOptions: CompanyFilterOptions;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
page: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
totalCount: number;
|
|
9
|
+
totalPages: number;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
onPageSizeChange: (size: number) => void;
|
|
12
|
+
filters: CompanyFiltersState;
|
|
13
|
+
onFiltersChange: (filters: CompanyFiltersState) => void;
|
|
14
|
+
onClearFilters: () => void;
|
|
15
|
+
viewMode: "grid" | "list";
|
|
16
|
+
onViewModeChange: () => void;
|
|
17
|
+
followDisabled?: boolean;
|
|
18
|
+
followLoading?: boolean;
|
|
19
|
+
onToggleFollow?: (companyId: string, isFollowing: boolean) => void;
|
|
20
|
+
onFollowAction?: (payload: CompanyFollowActionPayload) => void;
|
|
21
|
+
saveDisabled?: boolean;
|
|
22
|
+
saveLoading?: boolean;
|
|
23
|
+
onToggleSave?: (companyId: string, isSaved: boolean) => void;
|
|
24
|
+
onSaveAction?: (payload: SaveCompanyPayload) => void;
|
|
25
|
+
}
|
|
26
|
+
declare const CompanyDirectory: ({ companies, filterOptions, loading, page, pageSize, totalCount, totalPages, onPageChange, onPageSizeChange, filters, onFiltersChange, onClearFilters, viewMode, onViewModeChange, followDisabled, followLoading, onToggleFollow, onFollowAction, saveDisabled, saveLoading, onToggleSave, onSaveAction, }: CompanyDirectoryProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export default CompanyDirectory;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CompaniesApiResponse, CompaniesQuery, CompanyFilterOptions, CompanyFollowActionPayload, SaveCompanyPayload } from "./types";
|
|
2
|
+
type CompanyDirectoryContainerProps = {
|
|
3
|
+
initialData: CompaniesApiResponse;
|
|
4
|
+
initialFilterOptions: CompanyFilterOptions;
|
|
5
|
+
buildUrl: (query: CompaniesQuery) => string;
|
|
6
|
+
initialQuery?: CompaniesQuery;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
maxCompare?: number;
|
|
9
|
+
sortOptions?: Array<{
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}>;
|
|
13
|
+
followDisabled?: boolean;
|
|
14
|
+
followLoading?: boolean;
|
|
15
|
+
onToggleFollow?: (companyId: string, isFollowing: boolean) => void;
|
|
16
|
+
onFollowAction?: (payload: CompanyFollowActionPayload) => void;
|
|
17
|
+
saveDisabled?: boolean;
|
|
18
|
+
saveLoading?: boolean;
|
|
19
|
+
onToggleSave?: (companyId: string, isSaved: boolean) => void;
|
|
20
|
+
onSaveAction?: (payload: SaveCompanyPayload) => void;
|
|
21
|
+
};
|
|
22
|
+
declare const CompanyDirectoryContainer: ({ initialData, initialFilterOptions, buildUrl, initialQuery, maxCompare, sortOptions, followDisabled, followLoading, onToggleFollow, onFollowAction, saveDisabled, saveLoading, onToggleSave, onSaveAction, }: CompanyDirectoryContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default CompanyDirectoryContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CompanyGroup } from "./types";
|
|
2
|
+
interface CompanyGroupDetailProps {
|
|
3
|
+
group?: CompanyGroup | null;
|
|
4
|
+
}
|
|
5
|
+
declare const CompanyGroupDetail: ({ group }: CompanyGroupDetailProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default CompanyGroupDetail;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import CompanyGroupDetail from "@/components/Companies/CompanyGroupDetail";
|
|
3
|
+
declare const meta: Meta<typeof CompanyGroupDetail>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CompanyGroupDetail>;
|
|
6
|
+
export declare const Overview: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { CompanyHeader } from "@/components/Companies/components/CompanyHeader";
|
|
3
|
+
declare const meta: Meta<typeof CompanyHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CompanyHeader>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const EmptyState: Story;
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CompanyReview, ReviewSummary } from "@/types/review";
|
|
2
|
+
interface CompanyReviewsTabProps {
|
|
3
|
+
companyId: string;
|
|
4
|
+
companySlug: string;
|
|
5
|
+
companyName: string;
|
|
6
|
+
reviews: CompanyReview[];
|
|
7
|
+
summary: ReviewSummary;
|
|
8
|
+
onLeaveReview?: (payload: any) => void;
|
|
9
|
+
onHelpful?: (reviewId: string) => void;
|
|
10
|
+
onReport?: (reviewId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const CompanyReviewsTab: ({ companyId, companySlug, companyName, reviews, summary, onLeaveReview, onHelpful, onReport, }: CompanyReviewsTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default CompanyReviewsTab;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import LoadingCompanyShadowCard from "@/components/Companies/components/LoadingCompanyShadowCard";
|
|
3
|
+
declare const meta: Meta<typeof LoadingCompanyShadowCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LoadingCompanyShadowCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ManyCards: Story;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DirectoryFilterSection } from "../Shared/Directory/types";
|
|
2
|
+
import type { Company, CompanyFilterCounts, CompanyFilterOptions, CompanyFiltersState } from "./types";
|
|
3
|
+
export declare const COMPANIES_LIST_SUPPORTED_FILTER_KEYS: readonly ["companyType", "verticals", "categories", "companySize", "openRoles", "yearsActive", "hiring", "claimedProfile", "compliance", "awards", "licensesRegulations"];
|
|
4
|
+
export type CompaniesListFilterKey = (typeof COMPANIES_LIST_SUPPORTED_FILTER_KEYS)[number];
|
|
5
|
+
export declare const buildCompaniesFilterSections: (filterOptions: CompanyFilterOptions, companies: Company[], filterCounts?: CompanyFilterCounts) => DirectoryFilterSection[];
|
|
6
|
+
export declare const toCompanyDirectoryFilterValues: (filters: CompanyFiltersState) => {
|
|
7
|
+
companyType: string[];
|
|
8
|
+
verticals: string[];
|
|
9
|
+
categories: string[];
|
|
10
|
+
companySize: string[];
|
|
11
|
+
openRoles: string[];
|
|
12
|
+
yearsActive: string[];
|
|
13
|
+
hiring: string[];
|
|
14
|
+
claimedProfile: string[];
|
|
15
|
+
compliance: string[];
|
|
16
|
+
awards: string[];
|
|
17
|
+
licensesRegulations: string[];
|
|
18
|
+
};
|
|
19
|
+
export declare const applyCompanyDirectoryFilterChange: (current: CompanyFiltersState, key: string, values: string[]) => CompanyFiltersState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ClaimProfilePrefillData, Company, CompanyClaimRequestPayload } from "../types";
|
|
2
|
+
interface ClaimProfileDialogProps {
|
|
3
|
+
company: Company;
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
onClaimSubmit?: (payload: CompanyClaimRequestPayload) => void;
|
|
7
|
+
claimPrefill?: ClaimProfilePrefillData;
|
|
8
|
+
}
|
|
9
|
+
declare const ClaimProfileDialog: ({ company, open, onOpenChange, onClaimSubmit, claimPrefill }: ClaimProfileDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default ClaimProfileDialog;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type CompanyAdminEditPayload = {
|
|
2
|
+
companyName: string;
|
|
3
|
+
companySlug: string;
|
|
4
|
+
shortDescription: string;
|
|
5
|
+
website: string;
|
|
6
|
+
};
|
|
7
|
+
type CompanyAdminEditDialogProps = {
|
|
8
|
+
companyName: string;
|
|
9
|
+
companySlug: string;
|
|
10
|
+
open: boolean;
|
|
11
|
+
onOpenChange: (open: boolean) => void;
|
|
12
|
+
onSave?: (payload: CompanyAdminEditPayload) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const CompanyAdminEditDialog: ({ companyName, companySlug, open, onOpenChange, onSave, }: CompanyAdminEditDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default CompanyAdminEditDialog;
|