@mohasinac/appkit 3.2.20 → 3.3.1
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/_internal/client/features/classified/ClassifiedDetailView.d.ts +2 -1
- package/dist/_internal/client/features/digital-code/CodeRevealPanel.d.ts +2 -1
- package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.d.ts +2 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +1 -1
- package/dist/_internal/client/features/layout/RoleGuard.d.ts +1 -1
- package/dist/_internal/client/features/live/LiveItemDetailView.d.ts +1 -1
- package/dist/_internal/client/features/lottery/LotteryAdminEditView.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotteryAdminSlotView.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotteryDetailView.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotteryEntriesView.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotteryListView.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotteryPullForm.d.ts +2 -1
- package/dist/_internal/client/features/lottery/LotterySlotGrid.d.ts +2 -1
- package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.d.ts +2 -1
- package/dist/_internal/client/features/tour/TourProvider.d.ts +1 -1
- package/dist/_internal/client/i18n/LabelsProvider.d.ts +1 -1
- package/dist/_internal/client/scaffolds/AppShell.d.ts +1 -1
- package/dist/_internal/client/scaffolds/DashboardScaffold.d.ts +1 -1
- package/dist/_internal/client/theme/ThemeProvider.d.ts +1 -1
- package/dist/_internal/server/features/checkout/actions.d.ts +2 -0
- package/dist/_internal/server/features/checkout/actions.js +239 -190
- package/dist/_internal/server/functions/scheduled.d.ts +2 -1
- package/dist/_internal/server/functions/scheduled.js +9 -1
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +8 -11
- package/dist/_internal/server/jobs/core/emiInstallmentReminder.d.ts +8 -0
- package/dist/_internal/server/jobs/core/emiInstallmentReminder.js +78 -0
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.d.ts +2 -2
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +15 -10
- package/dist/_internal/server/jobs/handlers/emiInstallmentReminder.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/emiInstallmentReminder.js +2 -0
- package/dist/_internal/server/jobs/handlers/index.d.ts +1 -0
- package/dist/_internal/server/jobs/handlers/index.js +2 -0
- package/dist/_internal/server/providers/index.d.ts +4 -4
- package/dist/_internal/server/providers/index.js +4 -4
- package/dist/_internal/server/providers/payment/razorpay-mock.d.ts +3 -2
- package/dist/_internal/server/providers/payment/razorpay-mock.js +3 -1
- package/dist/_internal/server/providers/resolve.d.ts +10 -13
- package/dist/_internal/server/providers/resolve.js +9 -15
- package/dist/_internal/shared/actions/action-registry.js +28 -0
- package/dist/_internal/shared/checkout/rules/_defaults.js +1 -0
- package/dist/_internal/shared/checkout/rules/_registry.js +4 -0
- package/dist/_internal/shared/checkout/rules/art.rule.d.ts +9 -0
- package/dist/_internal/shared/checkout/rules/art.rule.js +5 -0
- package/dist/_internal/shared/checkout/rules/auction.rule.js +1 -0
- package/dist/_internal/shared/checkout/rules/classified.rule.js +1 -0
- package/dist/_internal/shared/checkout/rules/index.d.ts +2 -0
- package/dist/_internal/shared/checkout/rules/index.js +2 -0
- package/dist/_internal/shared/checkout/rules/stickers.rule.d.ts +9 -0
- package/dist/_internal/shared/checkout/rules/stickers.rule.js +5 -0
- package/dist/_internal/shared/checkout/rules/types.d.ts +6 -0
- package/dist/_internal/shared/features/checkout/config.d.ts +16 -1
- package/dist/_internal/shared/features/checkout/config.js +16 -1
- package/dist/_internal/shared/features/emi/schedule.d.ts +63 -0
- package/dist/_internal/shared/features/emi/schedule.js +62 -0
- package/dist/_internal/shared/fees/calculator.d.ts +53 -0
- package/dist/_internal/shared/fees/calculator.js +40 -0
- package/dist/_internal/shared/listing-types/_registry.d.ts +22 -66
- package/dist/_internal/shared/listing-types/_registry.js +19 -2
- package/dist/_internal/shared/listing-types/art/config.d.ts +15 -0
- package/dist/_internal/shared/listing-types/art/config.js +14 -0
- package/dist/_internal/shared/listing-types/art/ctas.d.ts +1 -0
- package/dist/_internal/shared/listing-types/art/ctas.js +3 -0
- package/dist/_internal/shared/listing-types/art/og.d.ts +1 -0
- package/dist/_internal/shared/listing-types/art/og.js +1 -0
- package/dist/_internal/shared/listing-types/art/schema.d.ts +2 -0
- package/dist/_internal/shared/listing-types/art/schema.js +3 -0
- package/dist/_internal/shared/listing-types/art/seed-factory.d.ts +1 -0
- package/dist/_internal/shared/listing-types/art/seed-factory.js +1 -0
- package/dist/_internal/shared/listing-types/auction/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/auction/config.js +6 -0
- package/dist/_internal/shared/listing-types/capabilities.js +17 -0
- package/dist/_internal/shared/listing-types/classified/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/classified/config.js +6 -0
- package/dist/_internal/shared/listing-types/digital-code/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/digital-code/config.js +6 -0
- package/dist/_internal/shared/listing-types/live/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/live/config.js +6 -0
- package/dist/_internal/shared/listing-types/pre-order/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/pre-order/config.js +6 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.js +6 -0
- package/dist/_internal/shared/listing-types/standard/config.d.ts +8 -0
- package/dist/_internal/shared/listing-types/standard/config.js +6 -0
- package/dist/_internal/shared/listing-types/stickers/config.d.ts +15 -0
- package/dist/_internal/shared/listing-types/stickers/config.js +14 -0
- package/dist/_internal/shared/listing-types/stickers/ctas.d.ts +1 -0
- package/dist/_internal/shared/listing-types/stickers/ctas.js +3 -0
- package/dist/_internal/shared/listing-types/stickers/og.d.ts +1 -0
- package/dist/_internal/shared/listing-types/stickers/og.js +1 -0
- package/dist/_internal/shared/listing-types/stickers/schema.d.ts +2 -0
- package/dist/_internal/shared/listing-types/stickers/schema.js +3 -0
- package/dist/_internal/shared/listing-types/stickers/seed-factory.d.ts +1 -0
- package/dist/_internal/shared/listing-types/stickers/seed-factory.js +1 -0
- package/dist/client.d.ts +7 -2
- package/dist/client.js +4 -2
- package/dist/constants/field-names.d.ts +2 -6
- package/dist/constants/field-names.js +2 -6
- package/dist/contracts/index.d.ts +4 -2
- package/dist/contracts/index.js +6 -0
- package/dist/contracts/payment.d.ts +14 -9
- package/dist/contracts/payment.js +11 -1
- package/dist/contracts/shipping.d.ts +14 -9
- package/dist/contracts/shipping.js +11 -1
- package/dist/features/about/components/AboutView.d.ts +1 -1
- package/dist/features/about/components/FAQPageView.d.ts +1 -1
- package/dist/features/about/components/FeesView.d.ts +1 -1
- package/dist/features/about/components/HelpPageView.d.ts +1 -1
- package/dist/features/about/components/HowAuctionsWorkView.d.ts +1 -1
- package/dist/features/about/components/HowCheckoutWorksView.d.ts +1 -1
- package/dist/features/about/components/HowOffersWorkView.d.ts +1 -1
- package/dist/features/about/components/HowOrdersWorkView.d.ts +1 -1
- package/dist/features/about/components/HowPayoutsWorkView.d.ts +1 -1
- package/dist/features/about/components/HowPreOrdersWorkView.d.ts +1 -1
- package/dist/features/about/components/HowReviewsWorkView.d.ts +1 -1
- package/dist/features/about/components/PolicyPageView.d.ts +1 -1
- package/dist/features/about/components/PublicProfileView.d.ts +1 -1
- package/dist/features/about/components/PublicProfileView.js +3 -6
- package/dist/features/about/components/SecurityPrivacyView.d.ts +1 -1
- package/dist/features/about/components/ShippingPolicyView.d.ts +1 -1
- package/dist/features/about/components/TrackOrderView.d.ts +1 -1
- package/dist/features/about/components/UnauthorizedView.d.ts +1 -1
- package/dist/features/account/components/AddressBook.d.ts +2 -2
- package/dist/features/account/components/AddressFilters.d.ts +1 -1
- package/dist/features/account/components/AddressForm.d.ts +1 -1
- package/dist/features/account/components/AddressInlineSelect.d.ts +2 -1
- package/dist/features/account/components/AddressSelectorCreate.d.ts +1 -1
- package/dist/features/account/components/AddressesIndexListing.d.ts +2 -1
- package/dist/features/account/components/BecomeSellerView.d.ts +1 -1
- package/dist/features/account/components/BuyerAccountGuideView.d.ts +2 -1
- package/dist/features/account/components/BuyerAuctionsGuideView.d.ts +2 -1
- package/dist/features/account/components/BuyerOrdersGuideView.d.ts +2 -1
- package/dist/features/account/components/BuyerShoppingGuideView.d.ts +2 -1
- package/dist/features/account/components/ChatList.d.ts +1 -1
- package/dist/features/account/components/ChatWindow.d.ts +1 -1
- package/dist/features/account/components/MessagesView.d.ts +1 -1
- package/dist/features/account/components/NotificationBell.d.ts +1 -1
- package/dist/features/account/components/NotificationPreferencesPanel.d.ts +1 -1
- package/dist/features/account/components/OrderDetailView.d.ts +1 -1
- package/dist/features/account/components/ProfileView.d.ts +1 -1
- package/dist/features/account/components/UserAccountHubView.d.ts +1 -1
- package/dist/features/account/components/UserAddressesView.d.ts +1 -1
- package/dist/features/account/components/UserNotificationsView.d.ts +1 -1
- package/dist/features/account/components/UserOffersPanel.d.ts +1 -1
- package/dist/features/account/components/UserOffersView.d.ts +1 -1
- package/dist/features/account/components/UserOrderTrackView.d.ts +1 -1
- package/dist/features/account/components/UserOrdersView.d.ts +1 -1
- package/dist/features/account/components/UserReturnsView.d.ts +1 -1
- package/dist/features/account/components/UserSettingsView.d.ts +1 -1
- package/dist/features/account/components/UserSidebar.d.ts +1 -1
- package/dist/features/account/components/UserSupportView.d.ts +2 -1
- package/dist/features/admin/components/AdminAdEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminAddressBookView.d.ts +11 -0
- package/dist/features/admin/components/AdminAddressBookView.js +30 -0
- package/dist/features/admin/components/AdminAddressClustersView.d.ts +1 -1
- package/dist/features/admin/components/AdminAddressEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminAddressesView.d.ts +1 -1
- package/dist/features/admin/components/AdminAdsView.d.ts +1 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +2 -1
- package/dist/features/admin/components/AdminAnalyticsGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminAnalyticsView.d.ts +1 -1
- package/dist/features/admin/components/AdminArtView.d.ts +4 -0
- package/dist/features/admin/components/AdminArtView.js +45 -0
- package/dist/features/admin/components/AdminBidsView.d.ts +2 -1
- package/dist/features/admin/components/AdminBlogEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminBlogView.d.ts +2 -1
- package/dist/features/admin/components/AdminBrandEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminBrandsView.d.ts +2 -1
- package/dist/features/admin/components/AdminBundleEditorView.d.ts +14 -1
- package/dist/features/admin/components/AdminBundlesView.d.ts +2 -1
- package/dist/features/admin/components/AdminCarouselEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminCarouselView.d.ts +2 -1
- package/dist/features/admin/components/AdminCartsView.d.ts +2 -1
- package/dist/features/admin/components/AdminCatalogGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminCategoriesView.d.ts +2 -1
- package/dist/features/admin/components/AdminCategoryEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminClassifiedView.d.ts +2 -1
- package/dist/features/admin/components/AdminContactEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminContactView.d.ts +2 -1
- package/dist/features/admin/components/AdminContentGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminCouponEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminCouponsView.d.ts +2 -1
- package/dist/features/admin/components/AdminDashboardView.d.ts +1 -1
- package/dist/features/admin/components/AdminDigitalCodesView.d.ts +2 -1
- package/dist/features/admin/components/AdminEmployeeEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminFaqEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminFaqsView.d.ts +2 -1
- package/dist/features/admin/components/AdminFeatureEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminFeatureFlagsView.d.ts +1 -1
- package/dist/features/admin/components/AdminFeaturesView.d.ts +2 -1
- package/dist/features/admin/components/AdminFilterBar.d.ts +1 -1
- package/dist/features/admin/components/AdminFulfillmentView.d.ts +2 -1
- package/dist/features/admin/components/AdminGroupedListingsView.d.ts +2 -1
- package/dist/features/admin/components/AdminGuideHubView.d.ts +2 -1
- package/dist/features/admin/components/AdminHistoryView.d.ts +2 -1
- package/dist/features/admin/components/AdminLiveView.d.ts +2 -1
- package/dist/features/admin/components/AdminMediaView.d.ts +1 -1
- package/dist/features/admin/components/AdminNavEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminNavigationView.d.ts +2 -1
- package/dist/features/admin/components/AdminNewsletterView.d.ts +2 -1
- package/dist/features/admin/components/AdminNotificationsView.d.ts +2 -1
- package/dist/features/admin/components/AdminOrderEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminOrdersGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminOrdersView.d.ts +2 -1
- package/dist/features/admin/components/AdminPageHeader.d.ts +1 -1
- package/dist/features/admin/components/AdminPaymentClustersView.d.ts +1 -1
- package/dist/features/admin/components/AdminPaymentMethodsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPayoutsView.d.ts +2 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +2 -1
- package/dist/features/admin/components/AdminProductEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminProductsView.d.ts +2 -1
- package/dist/features/admin/components/AdminReturnRequestsView.d.ts +1 -1
- package/dist/features/admin/components/AdminReviewsView.d.ts +2 -1
- package/dist/features/admin/components/AdminScammerEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminScammersView.d.ts +2 -1
- package/dist/features/admin/components/AdminSectionsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSessionsManager.d.ts +1 -1
- package/dist/features/admin/components/AdminSessionsView.d.ts +2 -1
- package/dist/features/admin/components/AdminSidebar.d.ts +1 -1
- package/dist/features/admin/components/AdminSiteConfigGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminSiteConfigGuideView.js +1 -1
- package/dist/features/admin/components/AdminSiteSettingsView.d.ts +2 -1
- package/dist/features/admin/components/AdminSiteSettingsView.js +14 -9
- package/dist/features/admin/components/AdminSiteView.d.ts +1 -1
- package/dist/features/admin/components/AdminStickersView.d.ts +4 -0
- package/dist/features/admin/components/AdminStickersView.js +45 -0
- package/dist/features/admin/components/AdminStoreAddressesView.d.ts +1 -1
- package/dist/features/admin/components/AdminStoreEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminStoresGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminStoresView.d.ts +2 -1
- package/dist/features/admin/components/AdminSublistingCategoriesView.d.ts +2 -1
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminSupportTicketDetailView.d.ts +2 -1
- package/dist/features/admin/components/AdminSupportTicketsView.d.ts +2 -1
- package/dist/features/admin/components/AdminTeamGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminTeamView.d.ts +2 -1
- package/dist/features/admin/components/AdminTopBar.d.ts +1 -1
- package/dist/features/admin/components/AdminTrustGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminUserEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminUsersGuideView.d.ts +2 -1
- package/dist/features/admin/components/AdminUsersView.d.ts +2 -1
- package/dist/features/admin/components/AdminViewCards.d.ts +2 -1
- package/dist/features/admin/components/AdminWishlistsView.d.ts +2 -1
- package/dist/features/admin/components/BrandQuickCreateForm.d.ts +2 -1
- package/dist/features/admin/components/CategoryQuickCreateForm.d.ts +2 -1
- package/dist/features/admin/components/DashboardStats.d.ts +1 -1
- package/dist/features/admin/components/DataListingView.d.ts +1 -1
- package/dist/features/admin/components/DataTable.d.ts +1 -1
- package/dist/features/admin/components/DemoSeedView.d.ts +1 -1
- package/dist/features/admin/components/DrawerFormFooter.d.ts +1 -1
- package/dist/features/admin/components/QuickActionsPanel.d.ts +1 -1
- package/dist/features/admin/components/QuickEditMenu.d.ts +1 -1
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.d.ts +3 -2
- package/dist/features/admin/components/analytics/AdminStatCard.d.ts +1 -1
- package/dist/features/admin/components/analytics/AdminTopProductsTable.d.ts +1 -1
- package/dist/features/admin/components/index.d.ts +6 -0
- package/dist/features/admin/components/index.js +4 -0
- package/dist/features/admin/schemas/firestore.d.ts +19 -11
- package/dist/features/admin/schemas/firestore.js +12 -2
- package/dist/features/auctions/components/AuctionBidsTable.d.ts +1 -1
- package/dist/features/auctions/components/AuctionDetailPageView.d.ts +1 -1
- package/dist/features/auctions/components/AuctionFilters.d.ts +1 -1
- package/dist/features/auctions/components/AuctionsListView.d.ts +1 -1
- package/dist/features/auctions/components/CollapsibleBidHistory.d.ts +2 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +4 -3
- package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +1 -1
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -2
- package/dist/features/auth/components/AuthStatusPanel.d.ts +1 -1
- package/dist/features/auth/components/ForgotPasswordView.d.ts +1 -1
- package/dist/features/auth/components/Guards.d.ts +2 -2
- package/dist/features/auth/components/LoginForm.d.ts +1 -1
- package/dist/features/auth/components/OAuthLoadingView.d.ts +1 -1
- package/dist/features/auth/components/RegisterForm.d.ts +1 -1
- package/dist/features/auth/components/ResetPasswordView.d.ts +1 -1
- package/dist/features/auth/components/SocialAuthButtons.d.ts +1 -1
- package/dist/features/auth/components/VerifyEmailView.d.ts +1 -1
- package/dist/features/auth/hooks/useAuth.js +35 -9
- package/dist/features/auth/schemas/firestore.d.ts +2 -6
- package/dist/features/before-after/components/BeforeAfterGallery.d.ts +1 -1
- package/dist/features/before-after/components/BeforeAfterSlider.d.ts +2 -1
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +2 -1
- package/dist/features/blog/components/BlogFilters.d.ts +1 -1
- package/dist/features/blog/components/BlogIndexListing.d.ts +2 -1
- package/dist/features/blog/components/BlogIndexPageView.d.ts +2 -1
- package/dist/features/blog/components/BlogListView.d.ts +4 -3
- package/dist/features/blog/components/BlogPostForm.d.ts +1 -1
- package/dist/features/blog/components/BlogPostView.d.ts +1 -1
- package/dist/features/cart/components/CartDrawer.d.ts +2 -2
- package/dist/features/cart/components/CartSummary.d.ts +1 -1
- package/dist/features/cart/components/CartView.d.ts +1 -1
- package/dist/features/cart/components/CheckoutAddressStep.d.ts +1 -1
- package/dist/features/cart/components/CheckoutOtpModal.d.ts +1 -1
- package/dist/features/cart/components/CheckoutSuccessView.d.ts +1 -1
- package/dist/features/cart/components/CheckoutView.d.ts +1 -1
- package/dist/features/cart/components/ShippingPicker.d.ts +9 -1
- package/dist/features/cart/schemas/firestore.d.ts +3 -2
- package/dist/features/categories/components/BrandDetailPageView.d.ts +2 -1
- package/dist/features/categories/components/BrandDetailTabs.d.ts +2 -1
- package/dist/features/categories/components/BreadcrumbTrail.d.ts +2 -1
- package/dist/features/categories/components/BundleBuyNowCta.d.ts +9 -1
- package/dist/features/categories/components/BundleCollage.d.ts +10 -1
- package/dist/features/categories/components/BundleDetailView.d.ts +2 -1
- package/dist/features/categories/components/BundleDynamicRuleEditor.d.ts +15 -1
- package/dist/features/categories/components/BundleItemsPicker.d.ts +15 -1
- package/dist/features/categories/components/BundlesListView.d.ts +2 -1
- package/dist/features/categories/components/CategoriesIndexListing.d.ts +2 -1
- package/dist/features/categories/components/CategoriesIndexPageView.d.ts +2 -1
- package/dist/features/categories/components/CategoryBundlesListing.d.ts +2 -1
- package/dist/features/categories/components/CategoryDetailPageView.d.ts +2 -1
- package/dist/features/categories/components/CategoryDetailTabs.d.ts +2 -1
- package/dist/features/categories/components/CategoryFilters.d.ts +1 -1
- package/dist/features/categories/components/CategoryForm.d.ts +1 -1
- package/dist/features/categories/components/CategoryGrid.d.ts +3 -2
- package/dist/features/categories/components/CategoryProductsListing.d.ts +2 -1
- package/dist/features/categories/components/CategoryProductsView.d.ts +1 -1
- package/dist/features/categories/components/CategorySelectorCreate.d.ts +1 -1
- package/dist/features/categories/components/CategorySortSelect.d.ts +1 -1
- package/dist/features/categories/components/CategoryStoresListing.d.ts +2 -1
- package/dist/features/categories/components/CategoryTableColumns.d.ts +3 -3
- package/dist/features/categories/components/CategoryTree.d.ts +1 -1
- package/dist/features/categories/components/ConcernCard.d.ts +1 -1
- package/dist/features/categories/components/ConcernGrid.d.ts +1 -1
- package/dist/features/checkout/components/CheckoutStepper.d.ts +2 -1
- package/dist/features/classified/components/ClassifiedFilters.d.ts +1 -1
- package/dist/features/classified/components/ClassifiedIndexListing.d.ts +2 -1
- package/dist/features/classified/components/ClassifiedListView.d.ts +1 -1
- package/dist/features/collections/components/CollectionCard.d.ts +3 -2
- package/dist/features/consultation/components/ConsultationForm.d.ts +2 -1
- package/dist/features/consultation/schemas/index.d.ts +2 -2
- package/dist/features/contact/components/ContactForm.d.ts +2 -1
- package/dist/features/contact/components/ContactInfoSidebar.d.ts +1 -1
- package/dist/features/contact/components/ContactPageView.d.ts +2 -1
- package/dist/features/copilot/components/AdminCopilotView.d.ts +1 -1
- package/dist/features/corporate/components/CorporateInquiryForm.d.ts +2 -1
- package/dist/features/digital-codes/components/DigitalCodeFilters.d.ts +1 -1
- package/dist/features/digital-codes/components/DigitalCodesIndexListing.d.ts +2 -1
- package/dist/features/digital-codes/components/DigitalCodesListView.d.ts +1 -1
- package/dist/features/email/primitives.d.ts +11 -11
- package/dist/features/events/components/AdminEventEditorView.d.ts +2 -1
- package/dist/features/events/components/AdminEventEntriesView.d.ts +1 -1
- package/dist/features/events/components/AdminEventsView.d.ts +2 -1
- package/dist/features/events/components/EventBanner.d.ts +2 -1
- package/dist/features/events/components/EventCard.d.ts +1 -1
- package/dist/features/events/components/EventDetailView.d.ts +1 -1
- package/dist/features/events/components/EventFilters.d.ts +1 -1
- package/dist/features/events/components/EventFormDrawer.d.ts +1 -1
- package/dist/features/events/components/EventLeaderboard.d.ts +1 -1
- package/dist/features/events/components/EventOfferCard.d.ts +2 -1
- package/dist/features/events/components/EventParticipateView.d.ts +1 -1
- package/dist/features/events/components/EventPollWidget.d.ts +1 -1
- package/dist/features/events/components/EventRaffleEntryForm.d.ts +2 -1
- package/dist/features/events/components/EventRaffleWinnerView.d.ts +1 -1
- package/dist/features/events/components/EventRafflesSection.d.ts +1 -1
- package/dist/features/events/components/EventSaleBanner.d.ts +2 -1
- package/dist/features/events/components/EventStatusBadge.d.ts +1 -1
- package/dist/features/events/components/EventsIndexListing.d.ts +2 -1
- package/dist/features/events/components/EventsListPageView.d.ts +2 -1
- package/dist/features/events/components/EventsListView.d.ts +2 -1
- package/dist/features/events/components/SpinWheelView.d.ts +1 -1
- package/dist/features/faq/components/ContactCTA.d.ts +1 -1
- package/dist/features/faq/components/FAQAccordion.d.ts +2 -2
- package/dist/features/faq/components/FAQCategorySidebar.d.ts +1 -1
- package/dist/features/faq/components/FAQHelpfulButtons.d.ts +1 -1
- package/dist/features/faq/components/FAQPageContent.d.ts +1 -1
- package/dist/features/faq/components/FAQSortDropdown.d.ts +1 -1
- package/dist/features/faq/components/RelatedFAQs.d.ts +1 -1
- package/dist/features/filters/AsyncFacetSection.d.ts +2 -1
- package/dist/features/filters/FilterFacetSection.d.ts +1 -1
- package/dist/features/filters/FilterPanel.d.ts +1 -1
- package/dist/features/filters/RangeFilter.d.ts +1 -1
- package/dist/features/filters/SwitchFilter.d.ts +1 -1
- package/dist/features/forms/Checkbox.d.ts +1 -1
- package/dist/features/forms/Radio.d.ts +2 -1
- package/dist/features/forms/Select.d.ts +1 -1
- package/dist/features/forms/Slider.d.ts +2 -1
- package/dist/features/forms/Toggle.d.ts +2 -1
- package/dist/features/homepage/components/AdSlot.d.ts +1 -1
- package/dist/features/homepage/components/AdvertisementBanner.d.ts +2 -1
- package/dist/features/homepage/components/AnnouncementBar.d.ts +2 -1
- package/dist/features/homepage/components/BeforeAfterCard.d.ts +1 -1
- package/dist/features/homepage/components/BlogArticlesSection.d.ts +2 -1
- package/dist/features/homepage/components/BrandsSection.d.ts +1 -1
- package/dist/features/homepage/components/CTABannerSection.d.ts +2 -1
- package/dist/features/homepage/components/CharacterHotspot.d.ts +1 -1
- package/dist/features/homepage/components/CharacterHotspotForm.d.ts +2 -1
- package/dist/features/homepage/components/CollectionCardsSection.d.ts +1 -1
- package/dist/features/homepage/components/CustomCardsSection.d.ts +2 -1
- package/dist/features/homepage/components/CustomerReviewsSection.d.ts +1 -1
- package/dist/features/homepage/components/EventsSection.d.ts +2 -1
- package/dist/features/homepage/components/FAQSection.d.ts +2 -1
- package/dist/features/homepage/components/FeaturedAuctionsSection.d.ts +2 -1
- package/dist/features/homepage/components/FeaturedBundlesSection.d.ts +2 -1
- package/dist/features/homepage/components/FeaturedPreOrdersSection.d.ts +2 -1
- package/dist/features/homepage/components/FeaturedProductsSection.d.ts +1 -1
- package/dist/features/homepage/components/FeaturedResultsSection.d.ts +1 -1
- package/dist/features/homepage/components/FeaturedStoresSection.d.ts +2 -1
- package/dist/features/homepage/components/GoogleReviewsSection.d.ts +2 -1
- package/dist/features/homepage/components/HeroBanner.d.ts +1 -1
- package/dist/features/homepage/components/HeroCarousel.d.ts +2 -1
- package/dist/features/homepage/components/HeroSection.d.ts +1 -1
- package/dist/features/homepage/components/HomepageCustomerReviewsSection.d.ts +2 -1
- package/dist/features/homepage/components/HomepageSkeleton.d.ts +1 -1
- package/dist/features/homepage/components/HomepageView.d.ts +1 -1
- package/dist/features/homepage/components/HowItWorksInfoView.d.ts +1 -1
- package/dist/features/homepage/components/HowItWorksSection.d.ts +1 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.d.ts +1 -1
- package/dist/features/homepage/components/NewsletterBanner.d.ts +2 -1
- package/dist/features/homepage/components/NewsletterSection.d.ts +1 -1
- package/dist/features/homepage/components/PromoGrid.d.ts +1 -1
- package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
- package/dist/features/homepage/components/SecurityHighlightsSection.d.ts +1 -1
- package/dist/features/homepage/components/ShopByCategorySection.d.ts +1 -1
- package/dist/features/homepage/components/SiteFeaturesSection.d.ts +2 -1
- package/dist/features/homepage/components/SocialFeedSection.d.ts +1 -1
- package/dist/features/homepage/components/SocialPostCard.d.ts +1 -1
- package/dist/features/homepage/components/StatsCounterSection.d.ts +1 -1
- package/dist/features/homepage/components/TestimonialsCarousel.d.ts +1 -1
- package/dist/features/homepage/components/TrustBadges.d.ts +2 -1
- package/dist/features/homepage/components/TrustFeaturesSection.d.ts +1 -1
- package/dist/features/homepage/components/TrustIndicatorsSection.d.ts +2 -1
- package/dist/features/homepage/components/WelcomeSection.d.ts +2 -1
- package/dist/features/homepage/components/WhatsAppCommunitySection.d.ts +2 -1
- package/dist/features/layout/AppLayoutShell.d.ts +1 -1
- package/dist/features/layout/AutoBreadcrumbs.d.ts +1 -1
- package/dist/features/layout/BackToTop.d.ts +2 -2
- package/dist/features/layout/BottomActions.d.ts +1 -1
- package/dist/features/layout/BottomActionsContext.d.ts +1 -1
- package/dist/features/layout/BottomNavItem.d.ts +1 -1
- package/dist/features/layout/BottomNavLayout.d.ts +1 -1
- package/dist/features/layout/BottomNavbar.d.ts +1 -1
- package/dist/features/layout/BottomSheet.d.ts +1 -1
- package/dist/features/layout/Breadcrumbs.d.ts +2 -2
- package/dist/features/layout/DashboardNavContext.d.ts +1 -1
- package/dist/features/layout/FooterLayout.d.ts +1 -1
- package/dist/features/layout/LayoutClient.d.ts +1 -1
- package/dist/features/layout/LocaleSwitcher.d.ts +1 -1
- package/dist/features/layout/MainNavbar.d.ts +1 -1
- package/dist/features/layout/NavItem.d.ts +1 -1
- package/dist/features/layout/NavbarLayout.d.ts +1 -1
- package/dist/features/layout/NavbarWithSettings.d.ts +1 -1
- package/dist/features/layout/TitleBar.d.ts +1 -1
- package/dist/features/layout/TitleBarLayout.d.ts +1 -1
- package/dist/features/live/components/LiveItemFilters.d.ts +1 -1
- package/dist/features/live/components/LiveItemsIndexListing.d.ts +2 -1
- package/dist/features/live/components/LiveItemsListView.d.ts +1 -1
- package/dist/features/loyalty/components/CoinsDisplay.d.ts +3 -2
- package/dist/features/loyalty/schemas/index.d.ts +6 -6
- package/dist/features/media/AvatarUpload.d.ts +2 -1
- package/dist/features/media/MediaAudio.d.ts +1 -1
- package/dist/features/media/MediaAvatar.d.ts +1 -1
- package/dist/features/media/MediaImage.d.ts +1 -1
- package/dist/features/media/MediaLightbox.d.ts +2 -1
- package/dist/features/media/MediaPickerModal.d.ts +2 -1
- package/dist/features/media/MediaVideo.d.ts +1 -1
- package/dist/features/media/components/MediaSlider.d.ts +2 -1
- package/dist/features/media/modals/ImageCropModal.d.ts +8 -1
- package/dist/features/media/modals/ImageEditor.d.ts +8 -1
- package/dist/features/media/modals/VideoThumbnailSelector.d.ts +1 -1
- package/dist/features/media/modals/VideoTrimModal.d.ts +1 -1
- package/dist/features/media/upload/CameraCapture.d.ts +1 -1
- package/dist/features/media/upload/ImageUpload.d.ts +1 -1
- package/dist/features/media/upload/MediaUploadField.d.ts +1 -1
- package/dist/features/media/upload/MediaUploadList.d.ts +1 -1
- package/dist/features/orders/components/MarketplaceOrderCard.d.ts +1 -1
- package/dist/features/orders/components/OrderFilters.d.ts +1 -1
- package/dist/features/orders/components/OrderSiblingPayments.d.ts +10 -1
- package/dist/features/orders/components/OrdersList.d.ts +2 -2
- package/dist/features/orders/components/RefundHistoryTable.d.ts +2 -1
- package/dist/features/orders/components/RefundRequestView.d.ts +13 -1
- package/dist/features/orders/repository/orders.repository.d.ts +20 -2
- package/dist/features/orders/repository/orders.repository.js +34 -5
- package/dist/features/orders/schemas/firestore.d.ts +33 -7
- package/dist/features/orders/schemas/firestore.js +1 -1
- package/dist/features/orders/schemas/index.d.ts +176 -31
- package/dist/features/orders/schemas/index.js +20 -6
- package/dist/features/orders/types/index.d.ts +3 -3
- package/dist/features/payments/repository/payout.repository.js +2 -2
- package/dist/features/payments/schemas/firestore.d.ts +3 -3
- package/dist/features/payments/schemas/firestore.js +2 -2
- package/dist/features/payments/schemas/index.d.ts +5 -5
- package/dist/features/payments/schemas/index.js +2 -2
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +1 -1
- package/dist/features/pre-orders/components/PreOrderActionsClient.d.ts +2 -1
- package/dist/features/pre-orders/components/PreOrderBadge.d.ts +2 -2
- package/dist/features/pre-orders/components/PreOrderDetailPageView.d.ts +1 -1
- package/dist/features/pre-orders/components/PreOrderFilters.d.ts +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.d.ts +2 -1
- package/dist/features/pre-orders/components/PreOrdersListView.d.ts +1 -1
- package/dist/features/pre-orders/components/PreorderCard.d.ts +2 -1
- package/dist/features/products/api/[id]/route.js +4 -1
- package/dist/features/products/api/route.js +4 -1
- package/dist/features/products/columns/productTableColumns.d.ts +2 -1
- package/dist/features/products/components/AuctionDetailView.d.ts +1 -1
- package/dist/features/products/components/AuctionsIndexListing.d.ts +2 -1
- package/dist/features/products/components/BidHistory.d.ts +1 -1
- package/dist/features/products/components/CompareOverlay.d.ts +1 -1
- package/dist/features/products/components/CompareOverlay.js +7 -9
- package/dist/features/products/components/CustomFieldsEditor.d.ts +2 -1
- package/dist/features/products/components/CustomSectionTabContent.d.ts +2 -1
- package/dist/features/products/components/CustomSectionsEditor.d.ts +2 -1
- package/dist/features/products/components/FeatureBadge.d.ts +2 -2
- package/dist/features/products/components/GroupSettingsPanel.d.ts +2 -1
- package/dist/features/products/components/InteractiveProductCard.d.ts +2 -1
- package/dist/features/products/components/MakeOfferButton.d.ts +2 -1
- package/dist/features/products/components/MakeOfferForm.d.ts +1 -1
- package/dist/features/products/components/MarketplaceBundleCard.d.ts +1 -1
- package/dist/features/products/components/MarketplacePrizeDrawCard.d.ts +1 -1
- package/dist/features/products/components/NonRefundableConsentModal.d.ts +14 -1
- package/dist/features/products/components/PlaceBidForm.d.ts +1 -1
- package/dist/features/products/components/PreOrderDetailView.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawCollage.d.ts +2 -1
- package/dist/features/products/components/PrizeDrawDetailPageView.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawItemsEditor.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawsIndexListing.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawsListingView.d.ts +1 -1
- package/dist/features/products/components/PrizeDrawsSection.d.ts +1 -1
- package/dist/features/products/components/PrizeRevealModal.d.ts +1 -1
- package/dist/features/products/components/ProductCardMetadataSection.d.ts +2 -1
- package/dist/features/products/components/ProductDetailActions.d.ts +1 -1
- package/dist/features/products/components/ProductDetailPageView.d.ts +3 -1
- package/dist/features/products/components/ProductDetailPageView.js +2 -2
- package/dist/features/products/components/ProductDetailView.d.ts +1 -1
- package/dist/features/products/components/ProductFeatureBadges.d.ts +1 -1
- package/dist/features/products/components/ProductFeaturesContext.d.ts +1 -1
- package/dist/features/products/components/ProductFeaturesSelector.d.ts +2 -1
- package/dist/features/products/components/ProductFilters.d.ts +1 -1
- package/dist/features/products/components/ProductForm.d.ts +1 -1
- package/dist/features/products/components/ProductForm.js +18 -7
- package/dist/features/products/components/ProductGalleryClient.d.ts +2 -1
- package/dist/features/products/components/ProductGradingTab.d.ts +2 -1
- package/dist/features/products/components/ProductGrid.d.ts +2 -2
- package/dist/features/products/components/ProductGrid.js +7 -12
- package/dist/features/products/components/ProductInfo.d.ts +1 -1
- package/dist/features/products/components/ProductTabs.d.ts +1 -1
- package/dist/features/products/components/ProductTabsShell.d.ts +1 -1
- package/dist/features/products/components/ProductsIndexListing.d.ts +2 -1
- package/dist/features/products/components/ProductsIndexPageView.d.ts +2 -1
- package/dist/features/products/components/ProductsView.d.ts +1 -1
- package/dist/features/products/components/RelatedProducts.d.ts +1 -1
- package/dist/features/products/components/RelatedProductsCarousel.d.ts +2 -1
- package/dist/features/products/components/ShareButton.d.ts +1 -1
- package/dist/features/products/components/ShowGroupSection.d.ts +2 -1
- package/dist/features/products/components/ShowGroupSection.js +3 -5
- package/dist/features/products/components/SublistingCarouselSection.d.ts +2 -1
- package/dist/features/products/components/SublistingCarouselSection.js +3 -6
- package/dist/features/products/components/SublistingCategorySelect.d.ts +2 -1
- package/dist/features/products/constants/listing-tabs.d.ts +32 -0
- package/dist/features/products/constants/listing-tabs.js +8 -0
- package/dist/features/products/index.d.ts +1 -1
- package/dist/features/products/index.js +3 -1
- package/dist/features/products/schemas/firestore.d.ts +20 -1
- package/dist/features/products/schemas/firestore.js +2 -0
- package/dist/features/products/schemas/index.d.ts +48 -0
- package/dist/features/products/schemas/index.js +9 -0
- package/dist/features/products/schemas/product-features.d.ts +1 -1
- package/dist/features/products/types/index.d.ts +5 -3
- package/dist/features/products/utils/listing-type.d.ts +6 -0
- package/dist/features/products/utils/listing-type.js +3 -0
- package/dist/features/promotions/components/CouponCard.d.ts +1 -1
- package/dist/features/promotions/components/CouponsIndexListing.d.ts +2 -1
- package/dist/features/promotions/components/PromotionsView.d.ts +3 -3
- package/dist/features/reviews/api/[id]/route.js +5 -4
- package/dist/features/reviews/components/ReviewDetailPageView.d.ts +2 -1
- package/dist/features/reviews/components/ReviewDetailShell.d.ts +2 -1
- package/dist/features/reviews/components/ReviewFilters.d.ts +1 -1
- package/dist/features/reviews/components/ReviewModal.d.ts +1 -1
- package/dist/features/reviews/components/ReviewSummary.d.ts +2 -1
- package/dist/features/reviews/components/ReviewsIndexListing.d.ts +2 -1
- package/dist/features/reviews/components/ReviewsIndexPageView.d.ts +2 -1
- package/dist/features/reviews/components/ReviewsList.d.ts +3 -2
- package/dist/features/scams/components/ScamAwarenessModal.d.ts +2 -1
- package/dist/features/scams/components/ScamProfileView.d.ts +2 -1
- package/dist/features/scams/components/ScamRegistryView.d.ts +2 -1
- package/dist/features/search/components/Search.d.ts +2 -1
- package/dist/features/search/components/SearchFiltersRow.d.ts +1 -1
- package/dist/features/search/components/SearchResultsSection.d.ts +1 -1
- package/dist/features/search/components/SearchView.d.ts +1 -1
- package/dist/features/seller/actions/seller-actions.d.ts +29 -14
- package/dist/features/seller/actions/seller-actions.js +101 -27
- package/dist/features/seller/components/BarcodeField.d.ts +2 -1
- package/dist/features/seller/components/BrandInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/CategoryInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/CouponInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/FulfillmentView.d.ts +2 -1
- package/dist/features/seller/components/GroupInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/PhysicalLocationModal.d.ts +2 -1
- package/dist/features/seller/components/PrintCenterView.d.ts +2 -1
- package/dist/features/seller/components/ProductInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/QuickProductForm.d.ts +2 -1
- package/dist/features/seller/components/SellerAddressesView.d.ts +2 -1
- package/dist/features/seller/components/SellerAnalyticsAlertsView.d.ts +2 -1
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +1 -1
- package/dist/features/seller/components/SellerArtView.d.ts +8 -0
- package/dist/features/seller/components/SellerArtView.js +114 -0
- package/dist/features/seller/components/SellerAuctionsView.d.ts +1 -1
- package/dist/features/seller/components/SellerBidsView.d.ts +2 -1
- package/dist/features/seller/components/SellerBundlesView.d.ts +2 -1
- package/dist/features/seller/components/SellerClassifiedView.d.ts +2 -1
- package/dist/features/seller/components/SellerCouponEditorView.d.ts +1 -1
- package/dist/features/seller/components/SellerCouponsView.d.ts +2 -1
- package/dist/features/seller/components/SellerCreateProductView.d.ts +1 -1
- package/dist/features/seller/components/SellerDashboardView.d.ts +1 -1
- package/dist/features/seller/components/SellerDigitalCodesView.d.ts +2 -1
- package/dist/features/seller/components/SellerEditProductView.d.ts +1 -1
- package/dist/features/seller/components/SellerFeaturesView.d.ts +2 -1
- package/dist/features/seller/components/SellerGoogleReviewsView.d.ts +2 -1
- package/dist/features/seller/components/SellerGroupedListingsView.d.ts +2 -1
- package/dist/features/seller/components/SellerGuideView.d.ts +1 -1
- package/dist/features/seller/components/SellerLiveView.d.ts +2 -1
- package/dist/features/seller/components/SellerOffersPanel.d.ts +2 -1
- package/dist/features/seller/components/SellerOffersView.d.ts +2 -1
- package/dist/features/seller/components/SellerOrdersView.d.ts +2 -1
- package/dist/features/seller/components/SellerOrdersView.js +38 -1
- package/dist/features/seller/components/SellerPayoutHistoryTable.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutMethodsView.d.ts +2 -1
- package/dist/features/seller/components/SellerPayoutRequestView.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +4 -1
- package/dist/features/seller/components/SellerPayoutStats.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutsView.d.ts +2 -1
- package/dist/features/seller/components/SellerPreOrdersView.d.ts +2 -1
- package/dist/features/seller/components/SellerPrizeDrawsView.d.ts +2 -1
- package/dist/features/seller/components/SellerProductShell.d.ts +6 -2
- package/dist/features/seller/components/SellerProductShell.js +69 -59
- package/dist/features/seller/components/SellerProductsCards.d.ts +2 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +2 -1
- package/dist/features/seller/components/SellerProductsView.d.ts +2 -1
- package/dist/features/seller/components/SellerReviewsView.d.ts +1 -1
- package/dist/features/seller/components/SellerShippingConfigsView.d.ts +2 -1
- package/dist/features/seller/components/SellerShippingView.d.ts +1 -1
- package/dist/features/seller/components/SellerShippingView.js +6 -25
- package/dist/features/seller/components/SellerSidebar.d.ts +1 -1
- package/dist/features/seller/components/SellerStickersView.d.ts +8 -0
- package/dist/features/seller/components/SellerStickersView.js +114 -0
- package/dist/features/seller/components/SellerStoreCategoriesView.d.ts +2 -1
- package/dist/features/seller/components/SellerStoreSetupView.d.ts +1 -1
- package/dist/features/seller/components/SellerStoreView.d.ts +1 -1
- package/dist/features/seller/components/SellerStorefrontView.d.ts +1 -1
- package/dist/features/seller/components/SellerTemplatesView.d.ts +2 -1
- package/dist/features/seller/components/SellersListView.d.ts +2 -1
- package/dist/features/seller/components/SublistingInlineSelect.d.ts +2 -1
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.d.ts +2 -1
- package/dist/features/seller/components/analytics/SellerRevenueChart.d.ts +2 -1
- package/dist/features/seller/components/analytics/SellerTopProducts.d.ts +1 -1
- package/dist/features/seller/components/index.d.ts +4 -0
- package/dist/features/seller/components/index.js +2 -0
- package/dist/features/seller/messages/en.json +1 -1
- package/dist/features/seller/schemas/index.d.ts +7 -7
- package/dist/features/seller/schemas/index.js +1 -1
- package/dist/features/seller/types/index.d.ts +1 -1
- package/dist/features/shell/FormShell.d.ts +1 -1
- package/dist/features/shell/QuickFormDrawer.d.ts +1 -1
- package/dist/features/shell/StepForm.d.ts +3 -3
- package/dist/features/shell/field-groups/ImageFieldGroup.d.ts +2 -2
- package/dist/features/shell/field-groups/SeoFieldGroup.d.ts +2 -2
- package/dist/features/shell/field-groups/StatusFieldGroup.d.ts +2 -2
- package/dist/features/shell/field-groups/TitleDescriptionGroup.d.ts +2 -2
- package/dist/features/site-settings/components/ActionPermissionsManager.d.ts +2 -1
- package/dist/features/site-settings/components/NavPermissionsManager.d.ts +2 -1
- package/dist/features/site-settings/components/ThemeManagerView.d.ts +15 -1
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +1 -1
- package/dist/features/stores/components/StoreAboutView.d.ts +1 -1
- package/dist/features/stores/components/StoreAddressSelectorCreate.d.ts +1 -1
- package/dist/features/stores/components/StoreAuctionsListing.d.ts +2 -1
- package/dist/features/stores/components/StoreAuctionsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreAuctionsView.d.ts +1 -1
- package/dist/features/stores/components/StoreBundlesPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreCapabilitiesGuideView.d.ts +2 -1
- package/dist/features/stores/components/StoreClassifiedsListing.d.ts +2 -1
- package/dist/features/stores/components/StoreClassifiedsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreDetailLayoutView.d.ts +2 -1
- package/dist/features/stores/components/StoreDetailLayoutView.js +18 -2
- package/dist/features/stores/components/StoreDigitalCodesListing.d.ts +2 -1
- package/dist/features/stores/components/StoreDigitalCodesPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreFilters.d.ts +1 -1
- package/dist/features/stores/components/StoreFinanceGuideView.d.ts +2 -1
- package/dist/features/stores/components/StoreGuideHubView.d.ts +2 -1
- package/dist/features/stores/components/StoreHeader.d.ts +1 -1
- package/dist/features/stores/components/StoreListingsGuideView.d.ts +2 -1
- package/dist/features/stores/components/StoreLiveItemsListing.d.ts +2 -1
- package/dist/features/stores/components/StoreLiveItemsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreNavTabs.d.ts +1 -1
- package/dist/features/stores/components/StoreOrdersGuideView.d.ts +2 -1
- package/dist/features/stores/components/StorePreOrdersListing.d.ts +2 -1
- package/dist/features/stores/components/StorePreOrdersPageView.d.ts +2 -1
- package/dist/features/stores/components/StorePrizeDrawsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreProductsListing.d.ts +2 -1
- package/dist/features/stores/components/StoreProductsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreProductsView.d.ts +1 -1
- package/dist/features/stores/components/StoreReviewsListing.d.ts +2 -1
- package/dist/features/stores/components/StoreReviewsPageView.d.ts +2 -1
- package/dist/features/stores/components/StoreReviewsView.d.ts +1 -1
- package/dist/features/stores/components/StoreScopedSearch.d.ts +2 -1
- package/dist/features/stores/components/StoreSettingsGuideView.d.ts +2 -1
- package/dist/features/stores/components/StoresIndexListing.d.ts +2 -1
- package/dist/features/stores/components/StoresIndexPageView.d.ts +2 -1
- package/dist/features/stores/schemas/firestore.d.ts +7 -1
- package/dist/features/stores/schemas/index.d.ts +19 -16
- package/dist/features/stores/schemas/index.js +1 -1
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +2 -1
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +2 -1
- package/dist/features/wishlist/components/WishlistPage.d.ts +2 -2
- package/dist/features/wishlist/components/WishlistToggleButton.d.ts +1 -1
- package/dist/features/wishlist/components/WishlistView.d.ts +1 -1
- package/dist/index.d.ts +21 -36
- package/dist/index.js +27 -39
- package/dist/next/ErrorBoundary.d.ts +1 -1
- package/dist/next/components/ErrorView.d.ts +1 -1
- package/dist/next/components/GlobalError.d.ts +1 -1
- package/dist/next/components/NotFoundView.d.ts +1 -1
- package/dist/next/components/UnauthorizedView.d.ts +1 -1
- package/dist/next/routing/route-map.d.ts +22 -0
- package/dist/next/routing/route-map.js +10 -0
- package/dist/providers/payment-manual/index.d.ts +40 -0
- package/dist/providers/payment-manual/index.js +91 -0
- package/dist/providers/payment-razorpay/index.d.ts +4 -2
- package/dist/providers/payment-razorpay/index.js +4 -1
- package/dist/providers/shipping-manual/index.d.ts +22 -0
- package/dist/providers/shipping-manual/index.js +47 -0
- package/dist/providers.d.ts +2 -2
- package/dist/providers.js +5 -3
- package/dist/react/ErrorBoundary.d.ts +1 -1
- package/dist/react/contexts/SessionContext.d.ts +1 -1
- package/dist/schemas/registry.d.ts +129 -70
- package/dist/schemas/registry.js +0 -4
- package/dist/security/pii-encrypt.js +0 -7
- package/dist/security/pii-redact.js +0 -1
- package/dist/seed/conversations-seed-data.js +2 -2
- package/dist/seed/faq-seed-data.js +7 -7
- package/dist/seed/grouped-listings-seed-data.d.ts +2 -0
- package/dist/seed/index.d.ts +2 -0
- package/dist/seed/index.js +2 -0
- package/dist/seed/manifest.js +20 -16
- package/dist/seed/payouts-seed-data.js +5 -5
- package/dist/seed/products-art-seed-data.d.ts +11 -0
- package/dist/seed/products-art-seed-data.js +125 -0
- package/dist/seed/products-preorders-seed-data.d.ts +2 -0
- package/dist/seed/products-stickers-seed-data.d.ts +11 -0
- package/dist/seed/products-stickers-seed-data.js +125 -0
- package/dist/seed/site-settings-seed-data.js +13 -4
- package/dist/seed/stores-seed-data.js +11 -11
- package/dist/server.d.ts +7 -15
- package/dist/server.js +17 -42
- package/dist/ui/DataTable.d.ts +1 -1
- package/dist/ui/components/Accordion.d.ts +2 -2
- package/dist/ui/components/ActiveFilterChips.d.ts +2 -1
- package/dist/ui/components/Alert.d.ts +1 -1
- package/dist/ui/components/Anchor.d.ts +1 -1
- package/dist/ui/components/Avatar.d.ts +2 -2
- package/dist/ui/components/AvatarDisplay.d.ts +2 -1
- package/dist/ui/components/BackgroundRenderer.d.ts +1 -1
- package/dist/ui/components/Badge.d.ts +1 -1
- package/dist/ui/components/BaseListingCard.d.ts +5 -5
- package/dist/ui/components/Breadcrumb.d.ts +1 -1
- package/dist/ui/components/BulkActionBar.d.ts +1 -1
- package/dist/ui/components/Button.d.ts +1 -1
- package/dist/ui/components/Card.d.ts +4 -4
- package/dist/ui/components/Checkbox.d.ts +1 -1
- package/dist/ui/components/ConfirmDeleteModal.d.ts +1 -1
- package/dist/ui/components/CountdownDisplay.d.ts +1 -1
- package/dist/ui/components/DateInput.d.ts +1 -1
- package/dist/ui/components/DescriptionField.d.ts +1 -1
- package/dist/ui/components/DetailPageGallery.d.ts +2 -2
- package/dist/ui/components/DetailPageHero.d.ts +2 -2
- package/dist/ui/components/DetailPageTabs.d.ts +2 -2
- package/dist/ui/components/DetailViewShell.d.ts +2 -2
- package/dist/ui/components/Details.d.ts +2 -2
- package/dist/ui/components/Dialog.d.ts +1 -1
- package/dist/ui/components/Divider.d.ts +1 -1
- package/dist/ui/components/Dropdown.d.ts +5 -5
- package/dist/ui/components/DynamicBgDiv.d.ts +1 -1
- package/dist/ui/components/EmptyState.d.ts +1 -1
- package/dist/ui/components/FallbackShell.d.ts +1 -1
- package/dist/ui/components/Fieldset.d.ts +2 -2
- package/dist/ui/components/FilterChipGroup.d.ts +2 -1
- package/dist/ui/components/FilterDrawer.d.ts +1 -1
- package/dist/ui/components/FlowDiagram.d.ts +1 -1
- package/dist/ui/components/Form.d.ts +4 -4
- package/dist/ui/components/FormActionBar.d.ts +2 -1
- package/dist/ui/components/FormField.d.ts +2 -1
- package/dist/ui/components/FormGrid.d.ts +3 -2
- package/dist/ui/components/HorizontalRule.d.ts +1 -1
- package/dist/ui/components/HorizontalScroller.d.ts +1 -1
- package/dist/ui/components/HotspotMarker.d.ts +1 -1
- package/dist/ui/components/IconBox.d.ts +1 -1
- package/dist/ui/components/IconButton.d.ts +1 -1
- package/dist/ui/components/Iframe.d.ts +1 -1
- package/dist/ui/components/ImageGallery.d.ts +2 -1
- package/dist/ui/components/ItemRow.d.ts +1 -1
- package/dist/ui/components/Kbd.d.ts +1 -1
- package/dist/ui/components/Layout.d.ts +4 -4
- package/dist/ui/components/ListingFilterDrawer.d.ts +1 -1
- package/dist/ui/components/ListingLayout.d.ts +1 -1
- package/dist/ui/components/ListingToolbar.d.ts +1 -1
- package/dist/ui/components/LoginRequiredModal.d.ts +2 -1
- package/dist/ui/components/Menu.d.ts +5 -5
- package/dist/ui/components/Modal.d.ts +1 -1
- package/dist/ui/components/Motion.d.ts +14 -14
- package/dist/ui/components/NavbarChevron.d.ts +1 -1
- package/dist/ui/components/NavigationLoader.d.ts +1 -1
- package/dist/ui/components/OtpInput.d.ts +1 -1
- package/dist/ui/components/PageLoader.d.ts +1 -1
- package/dist/ui/components/PaginatedSelect.d.ts +2 -2
- package/dist/ui/components/Pagination.d.ts +2 -1
- package/dist/ui/components/PasswordStrengthIndicator.d.ts +2 -1
- package/dist/ui/components/PriceDisplay.d.ts +1 -1
- package/dist/ui/components/Progress.d.ts +3 -2
- package/dist/ui/components/ProgressBarFill.d.ts +1 -1
- package/dist/ui/components/Quote.d.ts +1 -1
- package/dist/ui/components/Radio.d.ts +2 -2
- package/dist/ui/components/RatingDisplay.d.ts +1 -1
- package/dist/ui/components/Responsive.d.ts +2 -2
- package/dist/ui/components/ResponsiveView.d.ts +1 -1
- package/dist/ui/components/RichTextEditor.d.ts +2 -1
- package/dist/ui/components/RoleBadge.d.ts +2 -1
- package/dist/ui/components/RowActionMenu.d.ts +1 -1
- package/dist/ui/components/Scrim.d.ts +1 -1
- package/dist/ui/components/Select.d.ts +1 -1
- package/dist/ui/components/Semantic.d.ts +21 -21
- package/dist/ui/components/SettingsSection.d.ts +3 -2
- package/dist/ui/components/SideDrawer.d.ts +1 -1
- package/dist/ui/components/SideModal.d.ts +1 -1
- package/dist/ui/components/SiteLogo.d.ts +1 -1
- package/dist/ui/components/Skeleton.d.ts +2 -1
- package/dist/ui/components/SkipToMain.d.ts +2 -1
- package/dist/ui/components/Slider.d.ts +1 -1
- package/dist/ui/components/SlottedListingView.d.ts +2 -2
- package/dist/ui/components/SortDropdown.d.ts +1 -1
- package/dist/ui/components/Spinner.d.ts +1 -1
- package/dist/ui/components/StackedViewShell.d.ts +2 -2
- package/dist/ui/components/StarRating.d.ts +1 -1
- package/dist/ui/components/StatsGrid.d.ts +1 -1
- package/dist/ui/components/StatusBadge.d.ts +1 -1
- package/dist/ui/components/StepperNav.d.ts +1 -1
- package/dist/ui/components/StickyToolbar.d.ts +1 -1
- package/dist/ui/components/SummaryCard.d.ts +1 -1
- package/dist/ui/components/TabStrip.d.ts +2 -1
- package/dist/ui/components/TablePagination.d.ts +2 -1
- package/dist/ui/components/Tabs.d.ts +4 -4
- package/dist/ui/components/TagInput.d.ts +2 -1
- package/dist/ui/components/TextLink.d.ts +1 -1
- package/dist/ui/components/Toast.d.ts +1 -1
- package/dist/ui/components/Toggle.d.ts +1 -1
- package/dist/ui/components/Tooltip.d.ts +1 -1
- package/dist/ui/components/Typography.d.ts +4 -4
- package/dist/ui/components/UnsavedChangesModal.d.ts +1 -1
- package/dist/ui/components/VacationBanner.d.ts +2 -1
- package/dist/ui/components/ViewToggle.d.ts +1 -1
- package/dist/ui/forms/ColorPickerField.d.ts +1 -1
- package/dist/ui/forms/FieldCheckbox.d.ts +2 -1
- package/dist/ui/forms/FieldInput.d.ts +1 -1
- package/dist/ui/forms/FieldSelect.d.ts +2 -1
- package/dist/ui/forms/FieldTextarea.d.ts +1 -1
- package/dist/ui/forms/FormShell.d.ts +2 -2
- package/dist/ui/rich-text/RichText.d.ts +1 -1
- package/dist/ui/rich-text/RichTextRenderer.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Covers: notifications, chat rooms, site settings
|
|
4
4
|
*/
|
|
5
5
|
export declare const ADMIN_CHECKOUT_BYPASS_FLAG_KEY: "adminCheckoutBypass";
|
|
6
|
-
export type NotificationType = "order_placed" | "order_confirmed" | "order_shipped" | "order_delivered" | "order_cancelled" | "bid_placed" | "bid_outbid" | "bid_won" | "bid_lost" | "review_approved" | "review_replied" | "product_available" | "promotion" | "system" | "welcome" | "account_action" | "offer_received" | "offer_responded" | "offer_expired" | "offer_counter_accepted" | "refund_initiated" | "prize_reveal_ready" | "prize_reveal_expired" | "prize_reveal_reminder";
|
|
6
|
+
export type NotificationType = "order_placed" | "order_confirmed" | "order_shipped" | "order_delivered" | "order_cancelled" | "bid_placed" | "bid_outbid" | "bid_won" | "bid_lost" | "review_approved" | "review_replied" | "product_available" | "promotion" | "system" | "welcome" | "account_action" | "offer_received" | "offer_responded" | "offer_expired" | "offer_counter_accepted" | "refund_initiated" | "prize_reveal_ready" | "prize_reveal_expired" | "prize_reveal_reminder" | "emi_installment_due_soon" | "emi_installment_overdue";
|
|
7
7
|
import type { BaseDocument } from "../../../_internal/shared/types/base-document";
|
|
8
8
|
export type NotificationPriority = "low" | "normal" | "high";
|
|
9
9
|
export interface NotificationDocument extends BaseDocument {
|
|
@@ -143,8 +143,6 @@ export interface SiteSettingsCredentials {
|
|
|
143
143
|
razorpayWebhookSecret?: string;
|
|
144
144
|
resendApiKey?: string;
|
|
145
145
|
whatsappApiKey?: string;
|
|
146
|
-
shiprocketEmail?: string;
|
|
147
|
-
shiprocketPassword?: string;
|
|
148
146
|
metaAppId?: string;
|
|
149
147
|
metaAppSecret?: string;
|
|
150
148
|
metaPageAccessToken?: string;
|
|
@@ -171,8 +169,6 @@ export interface SiteSettingsCredentialsMasked {
|
|
|
171
169
|
razorpayWebhookSecret?: string;
|
|
172
170
|
resendApiKey?: string;
|
|
173
171
|
whatsappApiKey?: string;
|
|
174
|
-
shiprocketEmail?: string;
|
|
175
|
-
shiprocketPassword?: string;
|
|
176
172
|
metaAppId?: string;
|
|
177
173
|
metaAppSecret?: string;
|
|
178
174
|
metaPageAccessToken?: string;
|
|
@@ -293,6 +289,21 @@ export interface SiteSettingsDocument extends BaseDocument {
|
|
|
293
289
|
upiManualEnabled: boolean;
|
|
294
290
|
codEnabled: boolean;
|
|
295
291
|
};
|
|
292
|
+
/** Site-wide EMI (installment) settings. A seller must ALSO have `StoreDocument.emiEnabled` on for EMI to appear at checkout for their items. */
|
|
293
|
+
emi: {
|
|
294
|
+
enabled: boolean;
|
|
295
|
+
/** Paise — a seller's cart subtotal must exceed this for EMI to appear as an option. */
|
|
296
|
+
minOrderValueInPaise: number;
|
|
297
|
+
tenureOptions: number[];
|
|
298
|
+
/** Down payment % collected at checkout. */
|
|
299
|
+
tokenPercent: number;
|
|
300
|
+
/** Day of month (1–10) each installment is due. */
|
|
301
|
+
billingDay: number;
|
|
302
|
+
/** Extra % of principal per month of tenure — the "excess EMI fee" the buyer pays for spreading payment. */
|
|
303
|
+
surchargePercentPerMonth: number;
|
|
304
|
+
/** Share of the surcharge that goes to the seller (0–100); the rest is the platform's cut. */
|
|
305
|
+
surchargeSellerSharePercent: number;
|
|
306
|
+
};
|
|
296
307
|
commissions: {
|
|
297
308
|
/** Our platform cut charged to the buyer as a % of order value (e.g. 5 = 5%). */
|
|
298
309
|
platformFeePercent: number;
|
|
@@ -303,6 +314,9 @@ export interface SiteSettingsDocument extends BaseDocument {
|
|
|
303
314
|
/** Razorpay gateway cost % (absorbed by platform, not passed through separately). */
|
|
304
315
|
gatewayFeePercent: number;
|
|
305
316
|
codDepositPercent: number;
|
|
317
|
+
/** COD handling fee charged to the buyer: max(codHandlingFeeMinInPaise, subtotal × codHandlingFeePercent / 100). */
|
|
318
|
+
codHandlingFeeMinInPaise: number;
|
|
319
|
+
codHandlingFeePercent: number;
|
|
306
320
|
sellerShippingFixed: number;
|
|
307
321
|
platformShippingPercent: number;
|
|
308
322
|
platformShippingFixedMin: number;
|
|
@@ -362,12 +376,6 @@ export interface SiteSettingsDocument extends BaseDocument {
|
|
|
362
376
|
* if this is ever true. Default false.
|
|
363
377
|
*/
|
|
364
378
|
useMockPayment?: boolean;
|
|
365
|
-
/**
|
|
366
|
-
* Track H — when true and NODE_ENV !== "production", the shipping provider
|
|
367
|
-
* resolver returns MockShiprocketProvider. In production the resolver throws
|
|
368
|
-
* if this is ever true. Default false.
|
|
369
|
-
*/
|
|
370
|
-
useMockShipping?: boolean;
|
|
371
379
|
listingTypes?: {
|
|
372
380
|
standard?: boolean;
|
|
373
381
|
auction?: boolean;
|
|
@@ -167,16 +167,27 @@ export const DEFAULT_SITE_SETTINGS_DATA = {
|
|
|
167
167
|
motto: "Your Marketplace, Your Rules",
|
|
168
168
|
theme: DEFAULT_SITE_SETTINGS_THEME,
|
|
169
169
|
payment: {
|
|
170
|
-
razorpayEnabled:
|
|
170
|
+
razorpayEnabled: false,
|
|
171
171
|
upiManualEnabled: true,
|
|
172
172
|
codEnabled: true,
|
|
173
173
|
},
|
|
174
|
+
emi: {
|
|
175
|
+
enabled: false,
|
|
176
|
+
minOrderValueInPaise: 1000000,
|
|
177
|
+
tenureOptions: [2, 3, 4, 5, 6],
|
|
178
|
+
tokenPercent: 10,
|
|
179
|
+
billingDay: 5,
|
|
180
|
+
surchargePercentPerMonth: 1,
|
|
181
|
+
surchargeSellerSharePercent: 50,
|
|
182
|
+
},
|
|
174
183
|
commissions: {
|
|
175
184
|
platformFeePercent: 5,
|
|
176
185
|
gstPercent: 18,
|
|
177
186
|
minimumTransactionFee: 0,
|
|
178
187
|
gatewayFeePercent: 2,
|
|
179
188
|
codDepositPercent: 10,
|
|
189
|
+
codHandlingFeeMinInPaise: 20000,
|
|
190
|
+
codHandlingFeePercent: 10,
|
|
180
191
|
sellerShippingFixed: 0,
|
|
181
192
|
platformShippingPercent: 10,
|
|
182
193
|
platformShippingFixedMin: 0,
|
|
@@ -205,7 +216,6 @@ export const DEFAULT_SITE_SETTINGS_DATA = {
|
|
|
205
216
|
// Track H — both mock-provider flags default to false. Production
|
|
206
217
|
// deployments must never flip these on (the resolver throws if they are).
|
|
207
218
|
useMockPayment: false,
|
|
208
|
-
useMockShipping: false,
|
|
209
219
|
// W1-37 2026-05-23 — Phase 2 listing types enabled by default; all per-type
|
|
210
220
|
// surfaces (seller + admin via W1-29 + public) are now shipped.
|
|
211
221
|
listingTypes: {
|
|
@@ -10,4 +10,4 @@ export interface AuctionBidsTableProps {
|
|
|
10
10
|
portal?: "buyer" | "store" | "admin";
|
|
11
11
|
emptyLabel?: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
export declare function AuctionBidsTable({ bids, portal, emptyLabel, }: AuctionBidsTableProps):
|
|
13
|
+
export declare function AuctionBidsTable({ bids, portal, emptyLabel, }: AuctionBidsTableProps): React.JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface AuctionDetailPageViewProps {
|
|
|
14
14
|
/** SSR-loaded productFeatures (platform + store-scope). See ProductDetailPageView for semantics. */
|
|
15
15
|
productFeatures?: ProductFeatureDocument[];
|
|
16
16
|
}
|
|
17
|
-
export declare function AuctionDetailPageView({ id, initialAuction, onPlaceBid, onBuyNow, productFeatures }: AuctionDetailPageViewProps): Promise<import("react
|
|
17
|
+
export declare function AuctionDetailPageView({ id, initialAuction, onPlaceBid, onBuyNow, productFeatures }: AuctionDetailPageViewProps): Promise<import("react").JSX.Element>;
|
|
@@ -12,5 +12,5 @@ export interface AuctionFiltersProps {
|
|
|
12
12
|
loadStoreOptions?: LoadOptionsFn;
|
|
13
13
|
currencyPrefix?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function AuctionFilters({ table, categoryOptions, brandOptions, storeOptions, loadCategoryOptions, loadBrandOptions, loadStoreOptions, currencyPrefix, }: AuctionFiltersProps): import("react
|
|
15
|
+
export declare function AuctionFilters({ table, categoryOptions, brandOptions, storeOptions, loadCategoryOptions, loadBrandOptions, loadStoreOptions, currencyPrefix, }: AuctionFiltersProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -2,5 +2,5 @@ type SearchParams = Record<string, string | string[]>;
|
|
|
2
2
|
export interface AuctionsListViewProps {
|
|
3
3
|
searchParams?: SearchParams;
|
|
4
4
|
}
|
|
5
|
-
export declare function AuctionsListView({ searchParams }: AuctionsListViewProps): Promise<import("react
|
|
5
|
+
export declare function AuctionsListView({ searchParams }: AuctionsListViewProps): Promise<import("react").JSX.Element>;
|
|
6
6
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { BidHistoryEntry } from "../../products/components/BidHistory";
|
|
2
3
|
interface CollapsibleBidHistoryProps {
|
|
3
4
|
bids: BidHistoryEntry[];
|
|
4
5
|
currency: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function CollapsibleBidHistory({ bids, currency }: CollapsibleBidHistoryProps):
|
|
7
|
+
export declare function CollapsibleBidHistory({ bids, currency }: CollapsibleBidHistoryProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type WishlistToggleActions } from "../../wishlist";
|
|
2
|
+
import type { ListingType } from "../../products/types/index";
|
|
2
3
|
export interface MarketplaceAuctionCardData {
|
|
3
4
|
id: string;
|
|
4
5
|
title: string;
|
|
@@ -11,8 +12,8 @@ export interface MarketplaceAuctionCardData {
|
|
|
11
12
|
url?: string;
|
|
12
13
|
thumbnailUrl?: string;
|
|
13
14
|
};
|
|
14
|
-
/** Canonical discriminator (SB1-G Phase 4
|
|
15
|
-
listingType?:
|
|
15
|
+
/** Canonical discriminator (SB1-G Phase 4). */
|
|
16
|
+
listingType?: ListingType;
|
|
16
17
|
auctionEndDate?: string | Date;
|
|
17
18
|
startingBid?: number;
|
|
18
19
|
currentBid?: number;
|
|
@@ -58,4 +59,4 @@ export interface MarketplaceAuctionCardProps {
|
|
|
58
59
|
wishlistActions?: WishlistToggleActions;
|
|
59
60
|
labels?: MarketplaceAuctionCardLabels;
|
|
60
61
|
}
|
|
61
|
-
export declare function MarketplaceAuctionCard({ product, buyoutPrice, className, variant, selectable, isSelected, onSelect, inWishlist: initialInWishlist, href, hrefBuilder, onNavigate, wishlistActions, labels, }: MarketplaceAuctionCardProps): import("react
|
|
62
|
+
export declare function MarketplaceAuctionCard({ product, buyoutPrice, className, variant, selectable, isSelected, onSelect, inWishlist: initialInWishlist, href, hrefBuilder, onNavigate, wishlistActions, labels, }: MarketplaceAuctionCardProps): import("react").JSX.Element;
|
|
@@ -19,4 +19,4 @@ export interface MarketplaceAuctionGridProps {
|
|
|
19
19
|
cardLabels?: MarketplaceAuctionCardLabels;
|
|
20
20
|
wishlistActions?: WishlistToggleActions;
|
|
21
21
|
}
|
|
22
|
-
export declare function MarketplaceAuctionGrid({ auctions, loading, skeletonCount, variant, selectable, selectedIds, onSelectionChange, gridClassName, emptyIcon, labels, cardLabels, wishlistActions, }: MarketplaceAuctionGridProps): import("react
|
|
22
|
+
export declare function MarketplaceAuctionGrid({ auctions, loading, skeletonCount, variant, selectable, selectedIds, onSelectionChange, gridClassName, emptyIcon, labels, cardLabels, wishlistActions, }: MarketplaceAuctionGridProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface PlaceBidInput {
|
|
2
3
|
productId: string;
|
|
3
4
|
bidAmount: number;
|
|
@@ -17,7 +18,7 @@ export interface PlaceBidFormClientProps {
|
|
|
17
18
|
onPlaceBid: (input: PlaceBidInput) => Promise<unknown>;
|
|
18
19
|
onBuyNow?: () => Promise<unknown>;
|
|
19
20
|
}
|
|
20
|
-
export declare function PlaceBidFormClient({ productId, currentBid, startingBid, minBidIncrement, currency, isEnded, buyNowPrice, bidsHaveStarted, bidCount, tags, onPlaceBid, onBuyNow, }: PlaceBidFormClientProps):
|
|
21
|
+
export declare function PlaceBidFormClient({ productId, currentBid, startingBid, minBidIncrement, currency, isEnded, buyNowPrice, bidsHaveStarted, bidCount, tags, onPlaceBid, onBuyNow, }: PlaceBidFormClientProps): React.JSX.Element;
|
|
21
22
|
/**
|
|
22
23
|
* `PlaceBidModalButton` — opens a modal that hosts the same PlaceBidFormClient.
|
|
23
24
|
*
|
|
@@ -27,4 +28,4 @@ export declare function PlaceBidFormClient({ productId, currentBid, startingBid,
|
|
|
27
28
|
export declare function PlaceBidModalButton(props: PlaceBidFormClientProps & {
|
|
28
29
|
triggerLabel?: string;
|
|
29
30
|
triggerClassName?: string;
|
|
30
|
-
}):
|
|
31
|
+
}): React.JSX.Element;
|
|
@@ -6,5 +6,5 @@ interface AuthStatusPanelProps {
|
|
|
6
6
|
message?: string;
|
|
7
7
|
actions?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
export declare function AuthStatusPanel({ tone, title, message, actions, }: AuthStatusPanelProps): import("react
|
|
9
|
+
export declare function AuthStatusPanel({ tone, title, message, actions, }: AuthStatusPanelProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -15,4 +15,4 @@ export interface ForgotPasswordViewProps {
|
|
|
15
15
|
renderBackLink?: () => React.ReactNode;
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare function ForgotPasswordView({ onSubmit, isLoading, error, success, labels, renderBackLink, className, }: ForgotPasswordViewProps):
|
|
18
|
+
export declare function ForgotPasswordView({ onSubmit, isLoading, error, success, labels, renderBackLink, className, }: ForgotPasswordViewProps): React.JSX.Element;
|
|
@@ -39,7 +39,7 @@ export interface RoleGateProps {
|
|
|
39
39
|
allowedRoles: UserRole | UserRole[];
|
|
40
40
|
fallback?: React.ReactNode;
|
|
41
41
|
}
|
|
42
|
-
export declare function RoleGate({ children, user, allowedRoles, fallback, }: RoleGateProps):
|
|
42
|
+
export declare function RoleGate({ children, user, allowedRoles, fallback, }: RoleGateProps): React.JSX.Element;
|
|
43
43
|
/**
|
|
44
44
|
* ProtectedRoute — enforces authentication and authorization with redirect support.
|
|
45
45
|
*
|
|
@@ -83,4 +83,4 @@ export interface ProtectedRouteProps {
|
|
|
83
83
|
goHome?: string;
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
export declare function ProtectedRoute({ children, user, loading, requireAuth, requireRole, requireEmailVerified, requireActiveAccount, showUnauthorized, onNavigate, routes, loadingComponent, unauthorizedComponent, uiLabels, }: ProtectedRouteProps):
|
|
86
|
+
export declare function ProtectedRoute({ children, user, loading, requireAuth, requireRole, requireEmailVerified, requireActiveAccount, showUnauthorized, onNavigate, routes, loadingComponent, unauthorizedComponent, uiLabels, }: ProtectedRouteProps): React.JSX.Element | null;
|
|
@@ -28,4 +28,4 @@ export interface LoginFormProps {
|
|
|
28
28
|
renderForgotPasswordLink?: () => React.ReactNode;
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
|
-
export declare function LoginForm({ onSubmit, onGoogleLogin, isLoading, error, labels, renderSocialButtons, renderCreateAccountLink, renderForgotPasswordLink, className, }: LoginFormProps):
|
|
31
|
+
export declare function LoginForm({ onSubmit, onGoogleLogin, isLoading, error, labels, renderSocialButtons, renderCreateAccountLink, renderForgotPasswordLink, className, }: LoginFormProps): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function OAuthLoadingView(): import("react
|
|
1
|
+
export declare function OAuthLoadingView(): import("react").JSX.Element;
|
|
@@ -33,4 +33,4 @@ export interface RegisterFormProps {
|
|
|
33
33
|
renderPasswordStrength?: (password: string) => React.ReactNode;
|
|
34
34
|
className?: string;
|
|
35
35
|
}
|
|
36
|
-
export declare function RegisterForm({ onSubmit, isLoading, error, success, labels, renderSocialButtons, renderLoginLink, renderTermsLink, renderPasswordStrength, className, }: RegisterFormProps):
|
|
36
|
+
export declare function RegisterForm({ onSubmit, isLoading, error, success, labels, renderSocialButtons, renderLoginLink, renderTermsLink, renderPasswordStrength, className, }: RegisterFormProps): React.JSX.Element;
|
|
@@ -20,4 +20,4 @@ export interface ResetPasswordViewProps {
|
|
|
20
20
|
renderLoginLink?: () => React.ReactNode;
|
|
21
21
|
className?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function ResetPasswordView({ oobCode, onSubmit, isLoading, error, success, labels, renderLoginLink, className, }: ResetPasswordViewProps):
|
|
23
|
+
export declare function ResetPasswordView({ oobCode, onSubmit, isLoading, error, success, labels, renderLoginLink, className, }: ResetPasswordViewProps): React.JSX.Element;
|
|
@@ -4,5 +4,5 @@ interface SocialAuthButtonsProps {
|
|
|
4
4
|
dividerLabel: string;
|
|
5
5
|
googleLabel: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function SocialAuthButtons({ onGoogle, disabled, dividerLabel, googleLabel, }: SocialAuthButtonsProps): import("react
|
|
7
|
+
export declare function SocialAuthButtons({ onGoogle, disabled, dividerLabel, googleLabel, }: SocialAuthButtonsProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -17,4 +17,4 @@ export interface VerifyEmailViewProps {
|
|
|
17
17
|
renderContinueButton?: () => React.ReactNode;
|
|
18
18
|
className?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare function VerifyEmailView({ status, error, labels, onRetry, renderContinueButton, className, }: VerifyEmailViewProps):
|
|
20
|
+
export declare function VerifyEmailView({ status, error, labels, onRetry, renderContinueButton, className, }: VerifyEmailViewProps): React.JSX.Element;
|
|
@@ -57,6 +57,17 @@ export function useGoogleLogin(options) {
|
|
|
57
57
|
const [popupPending, setPopupPending] = useState(false);
|
|
58
58
|
// calledRef prevents both RTDB and postMessage from firing the callbacks
|
|
59
59
|
const calledRef = useRef(false);
|
|
60
|
+
// Polls for the popup being closed manually (without completing sign-in).
|
|
61
|
+
// Without this, a user who closes the popup before RTDB/postMessage
|
|
62
|
+
// resolves leaves popupPending stuck true forever — the button never
|
|
63
|
+
// recovers from its loading state.
|
|
64
|
+
const closePollRef = useRef(null);
|
|
65
|
+
const clearClosePoll = useCallback(() => {
|
|
66
|
+
if (closePollRef.current !== null) {
|
|
67
|
+
clearInterval(closePollRef.current);
|
|
68
|
+
closePollRef.current = null;
|
|
69
|
+
}
|
|
70
|
+
}, []);
|
|
60
71
|
const onSuccessRef = useRef(options?.onSuccess);
|
|
61
72
|
const onErrorRef = useRef(options?.onError);
|
|
62
73
|
const onSessionSyncedRef = useRef(options?.onSessionSynced);
|
|
@@ -65,6 +76,8 @@ export function useGoogleLogin(options) {
|
|
|
65
76
|
useEffect(() => { onErrorRef.current = options?.onError; }, [options?.onError]);
|
|
66
77
|
useEffect(() => { onSessionSyncedRef.current = options?.onSessionSynced; }, [options?.onSessionSynced]);
|
|
67
78
|
useEffect(() => { authEventResetRef.current = authEvent.reset; }, [authEvent.reset]);
|
|
79
|
+
// Stop polling for popup-closed if the component unmounts mid-flow.
|
|
80
|
+
useEffect(() => clearClosePoll, [clearClosePoll]);
|
|
68
81
|
// RTDB status watcher — fast path when RTDB is available.
|
|
69
82
|
// FAILED is intentionally not forwarded to onError here: RTDB connection
|
|
70
83
|
// failures (e.g. missing database URL) should fall through to the postMessage
|
|
@@ -75,6 +88,7 @@ export function useGoogleLogin(options) {
|
|
|
75
88
|
if (calledRef.current)
|
|
76
89
|
return;
|
|
77
90
|
calledRef.current = true;
|
|
91
|
+
clearClosePoll();
|
|
78
92
|
Promise.resolve(onSessionSyncedRef.current?.()).then(() => {
|
|
79
93
|
onSuccessRef.current?.(authEvent.data);
|
|
80
94
|
});
|
|
@@ -85,10 +99,11 @@ export function useGoogleLogin(options) {
|
|
|
85
99
|
if (calledRef.current)
|
|
86
100
|
return;
|
|
87
101
|
calledRef.current = true;
|
|
102
|
+
clearClosePoll();
|
|
88
103
|
onErrorRef.current?.(new Error(authEvent.error ?? "Sign-in timed out. Please try again."));
|
|
89
104
|
}
|
|
90
105
|
// FAILED: do not call onError — wait for the postMessage from /auth/close
|
|
91
|
-
}, [authEvent.status, authEvent.error, authEvent.data]);
|
|
106
|
+
}, [authEvent.status, authEvent.error, authEvent.data, clearClosePoll]);
|
|
92
107
|
// postMessage fallback — fires when /auth/close sends window.opener.postMessage.
|
|
93
108
|
// This covers two cases:
|
|
94
109
|
// 1. RTDB is unavailable (the primary channel failed)
|
|
@@ -104,6 +119,7 @@ export function useGoogleLogin(options) {
|
|
|
104
119
|
return;
|
|
105
120
|
calledRef.current = true;
|
|
106
121
|
setPopupPending(false);
|
|
122
|
+
clearClosePoll();
|
|
107
123
|
authEventResetRef.current();
|
|
108
124
|
if (event.data.status === "success") {
|
|
109
125
|
const data = event.data.uid
|
|
@@ -119,7 +135,7 @@ export function useGoogleLogin(options) {
|
|
|
119
135
|
};
|
|
120
136
|
window.addEventListener("message", handleMessage);
|
|
121
137
|
return () => window.removeEventListener("message", handleMessage);
|
|
122
|
-
}, []); //
|
|
138
|
+
}, [clearClosePoll]); // clearClosePoll has a stable identity — effectively mount-once
|
|
123
139
|
const mutate = useCallback(async () => {
|
|
124
140
|
calledRef.current = false; // reset for each new auth flow
|
|
125
141
|
const popup = window.open(`${window.location.origin}/auth.html`, "oauth_google", "width=500,height=660,left=400,top=100");
|
|
@@ -128,6 +144,16 @@ export function useGoogleLogin(options) {
|
|
|
128
144
|
return;
|
|
129
145
|
}
|
|
130
146
|
setPopupPending(true);
|
|
147
|
+
clearClosePoll();
|
|
148
|
+
closePollRef.current = setInterval(() => {
|
|
149
|
+
if (popup.closed && !calledRef.current) {
|
|
150
|
+
calledRef.current = true;
|
|
151
|
+
clearClosePoll();
|
|
152
|
+
setPopupPending(false);
|
|
153
|
+
authEventResetRef.current();
|
|
154
|
+
onErrorRef.current?.(new Error("Sign-in was cancelled."));
|
|
155
|
+
}
|
|
156
|
+
}, 500);
|
|
131
157
|
try {
|
|
132
158
|
setInitiating(true);
|
|
133
159
|
authEvent.reset();
|
|
@@ -142,6 +168,7 @@ export function useGoogleLogin(options) {
|
|
|
142
168
|
}
|
|
143
169
|
catch (err) {
|
|
144
170
|
void normalizeError(err);
|
|
171
|
+
clearClosePoll();
|
|
145
172
|
popup.close();
|
|
146
173
|
setPopupPending(false);
|
|
147
174
|
onErrorRef.current?.(err instanceof Error ? err : new Error("Failed to start sign-in."));
|
|
@@ -149,7 +176,7 @@ export function useGoogleLogin(options) {
|
|
|
149
176
|
finally {
|
|
150
177
|
setInitiating(false);
|
|
151
178
|
}
|
|
152
|
-
}, [authEvent]);
|
|
179
|
+
}, [authEvent, clearClosePoll]);
|
|
153
180
|
const isLoading = initiating ||
|
|
154
181
|
popupPending ||
|
|
155
182
|
authEvent.status === RealtimeEventStatus.SUBSCRIBING ||
|
|
@@ -166,13 +193,12 @@ export function useRegister(options) {
|
|
|
166
193
|
displayName: data.displayName?.trim() || "",
|
|
167
194
|
acceptTerms: data.acceptTerms,
|
|
168
195
|
});
|
|
169
|
-
//
|
|
196
|
+
// /api/auth/register already created the server-side session cookie +
|
|
197
|
+
// Firestore session doc. Sign in via the client SDK only so
|
|
198
|
+
// `auth.currentUser` is populated for client-side Firebase usage
|
|
199
|
+
// (RTDB presence, etc) — do NOT call /api/auth/session again here,
|
|
200
|
+
// that would create a second, orphaned session document.
|
|
170
201
|
await getClientAuthProvider().signInWithEmailAndPassword(data.email.trim(), data.password);
|
|
171
|
-
const currentUser = getClientSessionAdapter().getCurrentUser();
|
|
172
|
-
if (currentUser) {
|
|
173
|
-
const idToken = await currentUser.getIdToken(true);
|
|
174
|
-
await apiClient.post(AUTH_ENDPOINTS.SESSION, { idToken });
|
|
175
|
-
}
|
|
176
202
|
return { success: true, ...response };
|
|
177
203
|
},
|
|
178
204
|
onSuccess: options?.onSuccess,
|
|
@@ -109,7 +109,8 @@ export interface UserSoftBan {
|
|
|
109
109
|
/** Null or absent = permanent. Past date = expired (treated as lifted without deletion). */
|
|
110
110
|
expiresAt?: Date | null;
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
/** Manual shipping is the only supported method — sellers enter carrier + tracking directly, no carrier API integration. */
|
|
113
|
+
export type SellerShippingMethod = "custom";
|
|
113
114
|
export interface SellerPickupAddress {
|
|
114
115
|
locationName: string;
|
|
115
116
|
name: string;
|
|
@@ -122,16 +123,11 @@ export interface SellerPickupAddress {
|
|
|
122
123
|
pincode: string;
|
|
123
124
|
country: string;
|
|
124
125
|
isVerified: boolean;
|
|
125
|
-
shiprocketAddressId?: number;
|
|
126
126
|
}
|
|
127
127
|
export interface SellerShippingConfig {
|
|
128
128
|
method: SellerShippingMethod;
|
|
129
129
|
customShippingPrice?: number;
|
|
130
130
|
customCarrierName?: string;
|
|
131
|
-
shiprocketEmail?: string;
|
|
132
|
-
/** Shiprocket JWT — server-only, never returned to client. */
|
|
133
|
-
shiprocketToken?: string;
|
|
134
|
-
shiprocketTokenExpiry?: Date;
|
|
135
131
|
pickupAddress?: SellerPickupAddress;
|
|
136
132
|
isConfigured: boolean;
|
|
137
133
|
}
|
|
@@ -3,5 +3,5 @@ interface BeforeAfterGalleryProps {
|
|
|
3
3
|
items: BeforeAfterItem[];
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function BeforeAfterGallery({ items, className, }: BeforeAfterGalleryProps): import("react
|
|
6
|
+
export declare function BeforeAfterGallery({ items, className, }: BeforeAfterGalleryProps): import("react").JSX.Element | null;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { BeforeAfterItem } from "../types";
|
|
2
3
|
interface BeforeAfterSliderProps {
|
|
3
4
|
item: BeforeAfterItem;
|
|
4
5
|
className?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function BeforeAfterSlider({ item, className, }: BeforeAfterSliderProps):
|
|
7
|
+
export declare function BeforeAfterSlider({ item, className, }: BeforeAfterSliderProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { BlogPost } from "../types";
|
|
2
3
|
export interface BlogFeaturedCardProps {
|
|
3
4
|
post: BlogPost;
|
|
@@ -11,4 +12,4 @@ export interface BlogFeaturedCardProps {
|
|
|
11
12
|
isSelected?: boolean;
|
|
12
13
|
onSelect?: (id: string, selected: boolean) => void;
|
|
13
14
|
}
|
|
14
|
-
export declare function BlogFeaturedCard({ post, href, labels, className, selectable, isSelected, onSelect, }: BlogFeaturedCardProps):
|
|
15
|
+
export declare function BlogFeaturedCard({ post, href, labels, className, selectable, isSelected, onSelect, }: BlogFeaturedCardProps): React.JSX.Element;
|
|
@@ -103,4 +103,4 @@ export interface BlogFiltersProps {
|
|
|
103
103
|
/** "public" hides admin-only fields (status, isFeatured) */
|
|
104
104
|
variant?: BlogFilterVariant;
|
|
105
105
|
}
|
|
106
|
-
export declare function BlogFilters({ table, variant }: BlogFiltersProps): import("react
|
|
106
|
+
export declare function BlogFilters({ table, variant }: BlogFiltersProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface BlogIndexListingProps {
|
|
2
3
|
initialData?: any;
|
|
3
4
|
}
|
|
4
|
-
export declare function BlogIndexListing({ initialData }: BlogIndexListingProps):
|
|
5
|
+
export declare function BlogIndexListing({ initialData }: BlogIndexListingProps): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
type SearchParams = Record<string, string | string[]>;
|
|
2
3
|
export interface BlogIndexPageViewProps {
|
|
3
4
|
searchParams?: SearchParams;
|
|
4
5
|
}
|
|
5
|
-
export declare function BlogIndexPageView({ searchParams }: BlogIndexPageViewProps): Promise<
|
|
6
|
+
export declare function BlogIndexPageView({ searchParams }: BlogIndexPageViewProps): Promise<React.JSX.Element>;
|
|
6
7
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { LayoutSlots } from "../../../contracts";
|
|
2
3
|
import type { BlogPost, BlogPostCategory } from "../types";
|
|
3
4
|
interface BlogCardProps {
|
|
@@ -6,14 +7,14 @@ interface BlogCardProps {
|
|
|
6
7
|
onClick?: (post: BlogPost) => void;
|
|
7
8
|
className?: string;
|
|
8
9
|
}
|
|
9
|
-
export declare function BlogCard({ post, href, onClick, className }: BlogCardProps):
|
|
10
|
+
export declare function BlogCard({ post, href, onClick, className }: BlogCardProps): React.JSX.Element;
|
|
10
11
|
interface BlogCategoryTabsProps {
|
|
11
12
|
categories: BlogPostCategory[];
|
|
12
13
|
active?: BlogPostCategory | null;
|
|
13
14
|
onSelect: (cat: BlogPostCategory | null) => void;
|
|
14
15
|
labels?: Record<string, string>;
|
|
15
16
|
}
|
|
16
|
-
export declare function BlogCategoryTabs({ categories, active, onSelect, labels, }: BlogCategoryTabsProps):
|
|
17
|
+
export declare function BlogCategoryTabs({ categories, active, onSelect, labels, }: BlogCategoryTabsProps): React.JSX.Element;
|
|
17
18
|
interface BlogListViewProps<T extends BlogPost = BlogPost> {
|
|
18
19
|
posts: T[];
|
|
19
20
|
isLoading?: boolean;
|
|
@@ -26,5 +27,5 @@ interface BlogListViewProps<T extends BlogPost = BlogPost> {
|
|
|
26
27
|
/** Render-prop slot overrides — pass via `FeatureExtension.slots`. */
|
|
27
28
|
slots?: LayoutSlots<T>;
|
|
28
29
|
}
|
|
29
|
-
export declare function BlogListView<T extends BlogPost = BlogPost>({ posts, isLoading, totalPages, currentPage, total, onPageChange, onPostClick, emptyLabel, slots, }: BlogListViewProps<T>):
|
|
30
|
+
export declare function BlogListView<T extends BlogPost = BlogPost>({ posts, isLoading, totalPages, currentPage, total, onPageChange, onPostClick, emptyLabel, slots, }: BlogListViewProps<T>): React.JSX.Element;
|
|
30
31
|
export {};
|
|
@@ -53,4 +53,4 @@ export interface BlogPostFormProps {
|
|
|
53
53
|
}) => React.ReactNode;
|
|
54
54
|
renderContentReadonly?: (value: string) => React.ReactNode;
|
|
55
55
|
}
|
|
56
|
-
export declare function BlogPostForm({ value, onChange, categoryOptions, statusOptions, labels, onUploadCover, onUploadContentImage, onUploadAdditionalImage, onAbort, isReadonly, renderContentField, renderContentReadonly, }: BlogPostFormProps):
|
|
56
|
+
export declare function BlogPostForm({ value, onChange, categoryOptions, statusOptions, labels, onUploadCover, onUploadContentImage, onUploadAdditionalImage, onAbort, isReadonly, renderContentField, renderContentReadonly, }: BlogPostFormProps): React.JSX.Element;
|
|
@@ -31,4 +31,4 @@ export interface BlogPostViewProps {
|
|
|
31
31
|
renderAuthorBio?: (post: BlogPost) => React.ReactNode;
|
|
32
32
|
className?: string;
|
|
33
33
|
}
|
|
34
|
-
export declare function BlogPostView({ slug, initialData, labels, renderImage, renderContent, renderBackButton, renderLoading, renderError, renderRelatedCard, renderAuthorBio, className, }: BlogPostViewProps):
|
|
34
|
+
export declare function BlogPostView({ slug, initialData, labels, renderImage, renderContent, renderBackButton, renderLoading, renderError, renderRelatedCard, renderAuthorBio, className, }: BlogPostViewProps): React.JSX.Element;
|
|
@@ -8,7 +8,7 @@ interface CartItemRowProps {
|
|
|
8
8
|
/** When true: grays out item, shows "Out of Stock" badge, locks qty stepper */
|
|
9
9
|
isOutOfStock?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare function CartItemRow({ item, onQtyChange, onRemove, href, isOutOfStock }: CartItemRowProps): import("react
|
|
11
|
+
export declare function CartItemRow({ item, onQtyChange, onRemove, href, isOutOfStock }: CartItemRowProps): import("react").JSX.Element;
|
|
12
12
|
interface CartDrawerProps {
|
|
13
13
|
isOpen: boolean;
|
|
14
14
|
onClose: () => void;
|
|
@@ -27,5 +27,5 @@ interface CartDrawerProps {
|
|
|
27
27
|
subtotal?: string;
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
export declare function CartDrawer({ isOpen, onClose, items, subtotal, currency, isLoading, onQtyChange, onRemove, onCheckout, labels, }: CartDrawerProps): import("react
|
|
30
|
+
export declare function CartDrawer({ isOpen, onClose, items, subtotal, currency, isLoading, onQtyChange, onRemove, onCheckout, labels, }: CartDrawerProps): import("react").JSX.Element | null;
|
|
31
31
|
export {};
|
|
@@ -16,4 +16,4 @@ export interface CartSummaryProps {
|
|
|
16
16
|
};
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare function CartSummary({ renderBreakdown, renderTotal, renderCheckoutAction, renderPromoCode, renderContinueShopping, labels, className, }: CartSummaryProps):
|
|
19
|
+
export declare function CartSummary({ renderBreakdown, renderTotal, renderCheckoutAction, renderPromoCode, renderContinueShopping, labels, className, }: CartSummaryProps): React.JSX.Element;
|
|
@@ -33,4 +33,4 @@ export interface CartViewProps {
|
|
|
33
33
|
isLoading?: boolean;
|
|
34
34
|
className?: string;
|
|
35
35
|
}
|
|
36
|
-
export declare function CartView({ labels, renderItems, renderGroups, groups, renderSummary, renderPromoCode, renderCheckoutButton, renderEmpty, isEmpty, isLoading, className, }: CartViewProps):
|
|
36
|
+
export declare function CartView({ labels, renderItems, renderGroups, groups, renderSummary, renderPromoCode, renderCheckoutButton, renderEmpty, isEmpty, isLoading, className, }: CartViewProps): React.JSX.Element;
|
|
@@ -17,4 +17,4 @@ export interface CheckoutAddressStepProps<TAddress> {
|
|
|
17
17
|
renderAddNew?: () => React.ReactNode;
|
|
18
18
|
className?: string;
|
|
19
19
|
}
|
|
20
|
-
export declare function CheckoutAddressStep<TAddress>({ labels, addresses, selectedAddressId, getAddressId, onSelectAddress, renderAddressCard, renderEmptyState, renderAddNew, className, }: CheckoutAddressStepProps<TAddress>):
|
|
20
|
+
export declare function CheckoutAddressStep<TAddress>({ labels, addresses, selectedAddressId, getAddressId, onSelectAddress, renderAddressCard, renderEmptyState, renderAddNew, className, }: CheckoutAddressStepProps<TAddress>): React.JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface CheckoutOtpModalProps {
|
|
|
12
12
|
renderBody: () => React.ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function CheckoutOtpModal({ isOpen, title, onClose, renderContainer, renderBody, className, }: CheckoutOtpModalProps):
|
|
15
|
+
export declare function CheckoutOtpModal({ isOpen, title, onClose, renderContainer, renderBody, className, }: CheckoutOtpModalProps): React.JSX.Element | null;
|
|
@@ -9,4 +9,4 @@ export interface CheckoutSuccessViewProps extends Omit<StackedViewShellProps, "s
|
|
|
9
9
|
renderOrderCard?: () => React.ReactNode;
|
|
10
10
|
renderActions?: (onContinue: () => void) => React.ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare function CheckoutSuccessView({ labels, renderHero, renderOrderCard, renderActions, ...rest }: CheckoutSuccessViewProps):
|
|
12
|
+
export declare function CheckoutSuccessView({ labels, renderHero, renderOrderCard, renderActions, ...rest }: CheckoutSuccessViewProps): React.JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface CheckoutViewProps {
|
|
|
12
12
|
onStepChange?: (step: number) => void;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function CheckoutView({ labels, renderStep, renderStepIndicator, renderOrderSummary, totalSteps, initialStep, activeStep, onStepChange, className, }: CheckoutViewProps):
|
|
15
|
+
export declare function CheckoutView({ labels, renderStep, renderStepIndicator, renderOrderSummary, totalSteps, initialStep, activeStep, onStepChange, className, }: CheckoutViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ShippingPicker — buyer-facing shipping provider selector.
|
|
3
|
+
*
|
|
4
|
+
* Renders the store's configured shipping providers as a radio list.
|
|
5
|
+
* The selected provider's id + calculated fee are surfaced via the
|
|
6
|
+
* `onPickProvider` callback so the parent can persist them to the cart item.
|
|
7
|
+
*/
|
|
8
|
+
import React from "react";
|
|
1
9
|
import type { ShippingProviderConfig } from "../../stores/schemas/firestore";
|
|
2
10
|
export interface ShippingPickerProps {
|
|
3
11
|
providers: ShippingProviderConfig[];
|
|
@@ -10,4 +18,4 @@ export interface ShippingPickerProps {
|
|
|
10
18
|
isLoading?: boolean;
|
|
11
19
|
className?: string;
|
|
12
20
|
}
|
|
13
|
-
export declare function ShippingPicker({ providers, selectedProviderId, subtotalInPaise, onPickProvider, isLoading, className, }: ShippingPickerProps):
|
|
21
|
+
export declare function ShippingPicker({ providers, selectedProviderId, subtotalInPaise, onPickProvider, isLoading, className, }: ShippingPickerProps): React.JSX.Element;
|