@mohasinac/appkit 3.3.0 → 3.3.2
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.js +11 -15
- package/dist/client/api/surface-error.js +9 -1
- package/dist/client.d.ts +7 -1
- package/dist/client.js +5 -1
- package/dist/errors/error-handler.d.ts +6 -0
- package/dist/errors/error-handler.js +26 -28
- 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/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/account/hooks/useProfile.d.ts +8 -0
- package/dist/features/account/schemas/index.d.ts +12 -3
- package/dist/features/account/schemas/index.js +10 -3
- package/dist/features/admin/components/AdminAdEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminAddressBookView.d.ts +1 -1
- 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 +2 -1
- 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/AdminSiteSettingsView.d.ts +2 -1
- package/dist/features/admin/components/AdminSiteView.d.ts +1 -1
- package/dist/features/admin/components/AdminStickersView.d.ts +2 -1
- 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/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 +1 -1
- 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/RegisterForm.js +2 -2
- 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/permissions/constants.d.ts +1 -1
- package/dist/features/auth/schemas/index.d.ts +8 -0
- package/dist/features/auth/schemas/index.js +15 -1
- 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/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/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/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/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/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/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 +1 -1
- 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/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/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/SublistingCarouselSection.d.ts +2 -1
- package/dist/features/products/components/SublistingCategorySelect.d.ts +2 -1
- 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/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.js +54 -13
- 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 +2 -1
- 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 +24 -9
- 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 +1 -1
- package/dist/features/seller/components/SellerProductShell.js +17 -2
- 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/SellerSidebar.d.ts +1 -1
- package/dist/features/seller/components/SellerStickersView.d.ts +2 -1
- 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/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/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/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/http/ApiClient.d.ts +11 -0
- package/dist/http/ApiClient.js +4 -0
- 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/react/ErrorBoundary.d.ts +1 -1
- package/dist/react/contexts/SessionContext.d.ts +1 -1
- 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
|
@@ -224,6 +224,9 @@ export async function bulkSellerOrder(userId, userRole, userDisplayName, userEma
|
|
|
224
224
|
if (!userDoc.payoutDetails?.isConfigured) {
|
|
225
225
|
throw new ValidationError("Payout details are not set up. Please configure your payout method before requesting a payout.");
|
|
226
226
|
}
|
|
227
|
+
// order.storeId is the store slug, not the seller's Firebase UID — resolve
|
|
228
|
+
// the caller's store once so eligibility can compare like-for-like.
|
|
229
|
+
const callerStore = userRole !== "admin" ? await storeRepository.findByOwnerId(userId) : null;
|
|
227
230
|
const orders = await Promise.all(orderIds.map((id) => orderRepository.findById(id)));
|
|
228
231
|
const requested = [];
|
|
229
232
|
const skipped = [];
|
|
@@ -235,7 +238,7 @@ export async function bulkSellerOrder(userId, userRole, userDisplayName, userEma
|
|
|
235
238
|
skipped.push(id);
|
|
236
239
|
continue;
|
|
237
240
|
}
|
|
238
|
-
if (userRole !== "admin" && order.storeId !==
|
|
241
|
+
if (userRole !== "admin" && order.storeId !== callerStore?.id) {
|
|
239
242
|
skipped.push(id);
|
|
240
243
|
continue;
|
|
241
244
|
}
|
|
@@ -317,9 +320,15 @@ export async function createSellerProduct(userId, userName, userEmail, input) {
|
|
|
317
320
|
sellerId: userId,
|
|
318
321
|
sellerName: userName,
|
|
319
322
|
sellerEmail: userEmail,
|
|
320
|
-
status
|
|
323
|
+
// Pass through the caller's intended status (draft vs published) instead
|
|
324
|
+
// of hardcoding "draft" — this previously made every "Publish" click
|
|
325
|
+
// silently save as a draft regardless of what the wizard sent.
|
|
326
|
+
status: finalizedData.status ?? "draft",
|
|
327
|
+
});
|
|
328
|
+
serverLogger.info("createSellerProduct: product created", {
|
|
329
|
+
userId,
|
|
330
|
+
status: finalizedData.status ?? "draft",
|
|
321
331
|
});
|
|
322
|
-
serverLogger.info("createSellerProduct: product created", { userId });
|
|
323
332
|
}
|
|
324
333
|
// --- Read Actions -------------------------------------------------------------
|
|
325
334
|
export async function getSellerStore(userId) {
|
|
@@ -342,7 +351,20 @@ export async function getSellerPayoutSettings(userId) {
|
|
|
342
351
|
return { ...details, bankAccount: safeBank };
|
|
343
352
|
}
|
|
344
353
|
export async function listSellerOrders(userId, params) {
|
|
345
|
-
|
|
354
|
+
// productRepository.findByStore expects the store slug, not the seller's
|
|
355
|
+
// Firebase UID — resolve the caller's store first.
|
|
356
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
357
|
+
if (!store) {
|
|
358
|
+
return {
|
|
359
|
+
items: [],
|
|
360
|
+
total: 0,
|
|
361
|
+
page: 1,
|
|
362
|
+
pageSize: params?.pageSize ?? 20,
|
|
363
|
+
totalPages: 0,
|
|
364
|
+
hasMore: false,
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
const sellerProducts = await productRepository.findByStore(store.id);
|
|
346
368
|
const productIds = sellerProducts.map((p) => p.id);
|
|
347
369
|
if (productIds.length === 0) {
|
|
348
370
|
return {
|
|
@@ -362,7 +384,10 @@ export async function listSellerOrders(userId, params) {
|
|
|
362
384
|
});
|
|
363
385
|
}
|
|
364
386
|
export async function getSellerAnalytics(userId) {
|
|
365
|
-
|
|
387
|
+
// productRepository.findByStore expects the store slug, not the seller's
|
|
388
|
+
// Firebase UID — resolve the caller's store first.
|
|
389
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
390
|
+
const products = store ? await productRepository.findByStore(store.id) : [];
|
|
366
391
|
const productIds = products.map((p) => p.id);
|
|
367
392
|
let allOrders = [];
|
|
368
393
|
if (productIds.length > 0) {
|
|
@@ -449,8 +474,12 @@ export async function sellerUpdateProduct(userId, userRole, productId, input) {
|
|
|
449
474
|
const existing = await productRepository.findById(productId);
|
|
450
475
|
if (!existing)
|
|
451
476
|
throw new NotFoundError("Product not found");
|
|
452
|
-
|
|
453
|
-
|
|
477
|
+
// existing.storeId is the store slug, not the seller's Firebase UID.
|
|
478
|
+
if (userRole !== "admin") {
|
|
479
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
480
|
+
if (!store || existing.storeId !== store.id)
|
|
481
|
+
throw new AuthorizationError("You do not own this product");
|
|
482
|
+
}
|
|
454
483
|
const finalizedData = await finalizeProductMediaReferences(input);
|
|
455
484
|
const updated = await productRepository.updateProduct(productId, finalizedData);
|
|
456
485
|
serverLogger.info("sellerUpdateProduct", { userId, productId });
|
|
@@ -460,8 +489,12 @@ export async function sellerDeleteProduct(userId, userRole, productId) {
|
|
|
460
489
|
const existing = await productRepository.findById(productId);
|
|
461
490
|
if (!existing)
|
|
462
491
|
throw new NotFoundError("Product not found");
|
|
463
|
-
|
|
464
|
-
|
|
492
|
+
// existing.storeId is the store slug, not the seller's Firebase UID.
|
|
493
|
+
if (userRole !== "admin") {
|
|
494
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
495
|
+
if (!store || existing.storeId !== store.id)
|
|
496
|
+
throw new AuthorizationError("You do not own this product");
|
|
497
|
+
}
|
|
465
498
|
await productRepository.delete(productId);
|
|
466
499
|
serverLogger.info("sellerDeleteProduct", { userId, productId });
|
|
467
500
|
}
|
|
@@ -487,8 +520,12 @@ export async function customShipOrder(userId, userRole, orderId, input) {
|
|
|
487
520
|
const order = await orderRepository.findById(orderId);
|
|
488
521
|
if (!order)
|
|
489
522
|
throw new NotFoundError("Order not found");
|
|
490
|
-
|
|
491
|
-
|
|
523
|
+
// order.storeId is the store slug, not the seller's Firebase UID.
|
|
524
|
+
if (userRole !== "admin") {
|
|
525
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
526
|
+
if (!store || order.storeId !== store.id)
|
|
527
|
+
throw new AuthorizationError("You do not own this order");
|
|
528
|
+
}
|
|
492
529
|
if (order.status === OrderStatusValues.SHIPPED ||
|
|
493
530
|
order.status === OrderStatusValues.DELIVERED)
|
|
494
531
|
throw new ValidationError("Order is already shipped");
|
|
@@ -523,8 +560,12 @@ export async function markEmiInstallmentPaid(userId, userRole, orderId, input) {
|
|
|
523
560
|
const order = await orderRepository.findById(orderId);
|
|
524
561
|
if (!order)
|
|
525
562
|
throw new NotFoundError("Order not found");
|
|
526
|
-
|
|
527
|
-
|
|
563
|
+
// order.storeId is the store slug, not the seller's Firebase UID.
|
|
564
|
+
if (userRole !== "admin") {
|
|
565
|
+
const store = await storeRepository.findByOwnerId(userId);
|
|
566
|
+
if (!store || order.storeId !== store.id)
|
|
567
|
+
throw new AuthorizationError("You do not own this order");
|
|
568
|
+
}
|
|
528
569
|
if (!order.emiEnabled)
|
|
529
570
|
throw new ValidationError("This order is not on an EMI plan");
|
|
530
571
|
const installments = order.emiInstallments ?? [];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface BarcodeFieldProps {
|
|
2
3
|
label?: string;
|
|
3
4
|
value: string;
|
|
@@ -14,4 +15,4 @@ export interface BarcodeFieldProps {
|
|
|
14
15
|
* Scanners type characters rapidly (< 50 ms per keydown) then send Enter.
|
|
15
16
|
* onScan is called when Enter follows rapid input; manual typing is ignored.
|
|
16
17
|
*/
|
|
17
|
-
export declare function BarcodeField({ label, value, onChange, onScan, placeholder, helperText, autoFocus, readOnly, }: BarcodeFieldProps):
|
|
18
|
+
export declare function BarcodeField({ label, value, onChange, onScan, placeholder, helperText, autoFocus, readOnly, }: BarcodeFieldProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface BrandInlineSelectProps {
|
|
2
3
|
value: string;
|
|
3
4
|
onChange: (v: string) => void;
|
|
@@ -6,4 +7,4 @@ export interface BrandInlineSelectProps {
|
|
|
6
7
|
/** Show the "+ Create new brand" option. Defaults to true for sellers. */
|
|
7
8
|
allowCreate?: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare function BrandInlineSelect({ value, onChange, placeholder, disabled, allowCreate, }: BrandInlineSelectProps):
|
|
10
|
+
export declare function BrandInlineSelect({ value, onChange, placeholder, disabled, allowCreate, }: BrandInlineSelectProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface CategoryInlineSelectProps {
|
|
2
3
|
value: string;
|
|
3
4
|
onChange: (v: string) => void;
|
|
@@ -6,4 +7,4 @@ export interface CategoryInlineSelectProps {
|
|
|
6
7
|
/** Show the "+ Create new category" option. Defaults to false (search-only for sellers). */
|
|
7
8
|
allowCreate?: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare function CategoryInlineSelect({ value, onChange, placeholder, disabled, allowCreate, }: CategoryInlineSelectProps):
|
|
10
|
+
export declare function CategoryInlineSelect({ value, onChange, placeholder, disabled, allowCreate, }: CategoryInlineSelectProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
type Scope = "admin" | "store";
|
|
2
3
|
interface BaseProps {
|
|
3
4
|
/** Which API to query. "store" hits the seller's own coupons; "admin" hits the admin pool. */
|
|
@@ -18,5 +19,5 @@ interface MultiProps extends BaseProps {
|
|
|
18
19
|
onChange: (v: string[]) => void;
|
|
19
20
|
}
|
|
20
21
|
export type CouponInlineSelectProps = SingleProps | MultiProps;
|
|
21
|
-
export declare function CouponInlineSelect(props: CouponInlineSelectProps):
|
|
22
|
+
export declare function CouponInlineSelect(props: CouponInlineSelectProps): React.JSX.Element;
|
|
22
23
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface FulfillmentViewProps {
|
|
2
3
|
currentUserId?: string;
|
|
3
4
|
currentUserName?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare function FulfillmentView({ currentUserId, }: FulfillmentViewProps):
|
|
6
|
+
export declare function FulfillmentView({ currentUserId, }: FulfillmentViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface BaseProps {
|
|
2
3
|
placeholder?: string;
|
|
3
4
|
disabled?: boolean;
|
|
@@ -19,5 +20,5 @@ interface MultiProps extends BaseProps {
|
|
|
19
20
|
onChange: (v: string[]) => void;
|
|
20
21
|
}
|
|
21
22
|
export type GroupInlineSelectProps = SingleProps | MultiProps;
|
|
22
|
-
export declare function GroupInlineSelect(props: GroupInlineSelectProps):
|
|
23
|
+
export declare function GroupInlineSelect(props: GroupInlineSelectProps): React.JSX.Element;
|
|
23
24
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface PhysicalLocation {
|
|
2
3
|
zone: string;
|
|
3
4
|
shelf: string;
|
|
@@ -8,5 +9,5 @@ interface PhysicalLocationModalProps {
|
|
|
8
9
|
onSave: (loc: PhysicalLocation) => Promise<void>;
|
|
9
10
|
onClose: () => void;
|
|
10
11
|
}
|
|
11
|
-
export declare function PhysicalLocationModal({ count, onSave, onClose }: PhysicalLocationModalProps):
|
|
12
|
+
export declare function PhysicalLocationModal({ count, onSave, onClose }: PhysicalLocationModalProps): React.JSX.Element;
|
|
12
13
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface PrintCenterStore {
|
|
2
3
|
id: string;
|
|
3
4
|
storeName: string;
|
|
@@ -38,5 +39,5 @@ interface PrintCenterViewProps {
|
|
|
38
39
|
initialProducts?: PrintCenterProduct[];
|
|
39
40
|
initialOrders?: PrintCenterOrder[];
|
|
40
41
|
}
|
|
41
|
-
export declare function PrintCenterView({ store, brandName, initialProducts, initialOrders, }: PrintCenterViewProps):
|
|
42
|
+
export declare function PrintCenterView({ store, brandName, initialProducts, initialOrders, }: PrintCenterViewProps): React.JSX.Element;
|
|
42
43
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
type Scope = "admin" | "store";
|
|
2
3
|
interface BaseProps {
|
|
3
4
|
/** Which API to query. "store" lists the seller's own products; "admin" lists all. */
|
|
@@ -20,5 +21,5 @@ interface MultiProps extends BaseProps {
|
|
|
20
21
|
onChange: (v: string[]) => void;
|
|
21
22
|
}
|
|
22
23
|
export type ProductInlineSelectProps = SingleProps | MultiProps;
|
|
23
|
-
export declare function ProductInlineSelect(props: ProductInlineSelectProps):
|
|
24
|
+
export declare function ProductInlineSelect(props: ProductInlineSelectProps): React.JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { SellerProductDraft, SellerProductShellProps } from "./SellerProductShell";
|
|
2
3
|
export interface QuickProductFormProps {
|
|
3
4
|
values: SellerProductDraft;
|
|
@@ -10,4 +11,4 @@ export interface QuickProductFormProps {
|
|
|
10
11
|
renderCategorySelector?: SellerProductShellProps["renderCategorySelector"];
|
|
11
12
|
onUploadImage?: (file: File) => Promise<string>;
|
|
12
13
|
}
|
|
13
|
-
export declare function QuickProductForm({ values, onChange, onPublish, onSave, onSwitchToFull, isLoading, renderCategorySelector, onUploadImage, }: QuickProductFormProps):
|
|
14
|
+
export declare function QuickProductForm({ values, onChange, onPublish, onSave, onSwitchToFull, isLoading, renderCategorySelector, onUploadImage, }: QuickProductFormProps): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerAddressesViewProps {
|
|
2
3
|
apiBase?: string;
|
|
3
4
|
}
|
|
4
|
-
export declare function SellerAddressesView({ apiBase, }: SellerAddressesViewProps):
|
|
5
|
+
export declare function SellerAddressesView({ apiBase, }: SellerAddressesViewProps): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerAnalyticsAlertsViewProps {
|
|
2
3
|
labels?: {
|
|
3
4
|
title?: string;
|
|
4
5
|
};
|
|
5
6
|
}
|
|
6
|
-
export declare function SellerAnalyticsAlertsView({ labels, }: SellerAnalyticsAlertsViewProps):
|
|
7
|
+
export declare function SellerAnalyticsAlertsView({ labels, }: SellerAnalyticsAlertsViewProps): React.JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface SellerAnalyticsViewProps extends Omit<StackedViewShellProps, "s
|
|
|
12
12
|
renderTopProducts?: () => React.ReactNode;
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare function SellerAnalyticsView({ labels, renderDateRange, renderStats, renderCharts, renderTopProducts, isLoading, ...rest }: SellerAnalyticsViewProps):
|
|
15
|
+
export declare function SellerAnalyticsView({ labels, renderDateRange, renderStats, renderCharts, renderTopProducts, isLoading, ...rest }: SellerAnalyticsViewProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerArtViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerArtView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerArtViewProps):
|
|
8
|
+
export declare function SellerArtView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerArtViewProps): React.JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface SellerAuctionsViewProps extends ListingLayoutProps {
|
|
|
6
6
|
onDelete?: (id: string) => Promise<void>;
|
|
7
7
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
8
8
|
}
|
|
9
|
-
export declare function SellerAuctionsView({ children, onEditClick, onDelete, onBulkDelete, ...props }: SellerAuctionsViewProps):
|
|
9
|
+
export declare function SellerAuctionsView({ children, onEditClick, onDelete, onBulkDelete, ...props }: SellerAuctionsViewProps): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerBidsViewProps {
|
|
2
3
|
endpoint?: string;
|
|
3
4
|
}
|
|
4
|
-
export declare function SellerBidsView({ endpoint }: SellerBidsViewProps):
|
|
5
|
+
export declare function SellerBidsView({ endpoint }: SellerBidsViewProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerBundlesViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerBundlesView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerBundlesViewProps):
|
|
8
|
+
export declare function SellerBundlesView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerBundlesViewProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerClassifiedViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerClassifiedView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerClassifiedViewProps):
|
|
8
|
+
export declare function SellerClassifiedView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerClassifiedViewProps): React.JSX.Element;
|
|
@@ -18,4 +18,4 @@ export interface SellerCouponEditorViewProps {
|
|
|
18
18
|
onSave: (draft: CouponEditorDraft, couponId?: string) => Promise<void>;
|
|
19
19
|
onCancel?: () => void;
|
|
20
20
|
}
|
|
21
|
-
export declare function SellerCouponEditorView({ couponId, initial, onSave, onCancel, }: SellerCouponEditorViewProps): import("react
|
|
21
|
+
export declare function SellerCouponEditorView({ couponId, initial, onSave, onCancel, }: SellerCouponEditorViewProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerCouponsViewProps extends ListingLayoutProps {
|
|
3
4
|
onCreateClick?: () => void;
|
|
@@ -5,4 +6,4 @@ export interface SellerCouponsViewProps extends ListingLayoutProps {
|
|
|
5
6
|
onToggle?: (couponId: string, currentlyActive: boolean) => Promise<void>;
|
|
6
7
|
onDelete?: (couponId: string) => Promise<void>;
|
|
7
8
|
}
|
|
8
|
-
export declare function SellerCouponsView({ onCreateClick, onEditClick, onToggle, onDelete, children, ...props }: SellerCouponsViewProps):
|
|
9
|
+
export declare function SellerCouponsView({ onCreateClick, onEditClick, onToggle, onDelete, children, ...props }: SellerCouponsViewProps): React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { SellerProductShellProps, ProductListingMode } from "./SellerProduc
|
|
|
2
2
|
export interface SellerCreateProductViewProps extends Omit<SellerProductShellProps, "mode"> {
|
|
3
3
|
listingType?: ProductListingMode;
|
|
4
4
|
}
|
|
5
|
-
export declare function SellerCreateProductView(props: SellerCreateProductViewProps): import("react
|
|
5
|
+
export declare function SellerCreateProductView(props: SellerCreateProductViewProps): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface SellerDashboardViewProps extends Omit<StackedViewShellProps, "s
|
|
|
11
11
|
renderTopProducts?: () => React.ReactNode;
|
|
12
12
|
isLoading?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare function SellerDashboardView({ labels, renderStats, renderQuickActions, renderRecentListings, renderRevenueChart, renderTopProducts, isLoading, ...rest }: SellerDashboardViewProps):
|
|
14
|
+
export declare function SellerDashboardView({ labels, renderStats, renderQuickActions, renderRecentListings, renderRevenueChart, renderTopProducts, isLoading, ...rest }: SellerDashboardViewProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerDigitalCodesViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerDigitalCodesView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerDigitalCodesViewProps):
|
|
8
|
+
export declare function SellerDigitalCodesView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerDigitalCodesViewProps): React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { SellerProductShellProps, ProductListingMode } from "./SellerProduc
|
|
|
2
2
|
export interface SellerEditProductViewProps extends Omit<SellerProductShellProps, "mode"> {
|
|
3
3
|
listingType?: ProductListingMode;
|
|
4
4
|
}
|
|
5
|
-
export declare function SellerEditProductView(props: SellerEditProductViewProps): import("react
|
|
5
|
+
export declare function SellerEditProductView(props: SellerEditProductViewProps): import("react").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare function SellerFeaturesView(): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface GoogleConfigDraft {
|
|
2
3
|
placeId: string;
|
|
3
4
|
businessName: string;
|
|
@@ -10,5 +11,5 @@ export interface SellerGoogleReviewsViewProps {
|
|
|
10
11
|
onSave?: (data: Partial<GoogleConfigDraft>) => Promise<void>;
|
|
11
12
|
onSync?: () => Promise<void>;
|
|
12
13
|
}
|
|
13
|
-
export declare function SellerGoogleReviewsView({ onSave, onSync, }: SellerGoogleReviewsViewProps):
|
|
14
|
+
export declare function SellerGoogleReviewsView({ onSave, onSync, }: SellerGoogleReviewsViewProps): React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerGroupedListingsViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDeleteClick?: (id: string) => void;
|
|
5
6
|
}
|
|
6
|
-
export declare function SellerGroupedListingsView({ onCreateClick, onEditClick, onDeleteClick, }: SellerGroupedListingsViewProps):
|
|
7
|
+
export declare function SellerGroupedListingsView({ onCreateClick, onEditClick, onDeleteClick, }: SellerGroupedListingsViewProps): React.JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface SellerGuideViewProps extends Omit<StackedViewShellProps, "secti
|
|
|
9
9
|
renderSections?: () => ReactNode;
|
|
10
10
|
renderCTA?: () => ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare function SellerGuideView({ labels, sections, cta, renderSections, renderCTA, ...rest }: SellerGuideViewProps): import("react
|
|
12
|
+
export declare function SellerGuideView({ labels, sections, cta, renderSections, renderCTA, ...rest }: SellerGuideViewProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerLiveViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onBulkDelete?: (ids: string[]) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerLiveView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerLiveViewProps):
|
|
8
|
+
export declare function SellerLiveView({ onCreateClick, onEditClick, onDelete, onBulkDelete, }: SellerLiveViewProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export type SellerOfferAction = {
|
|
2
3
|
action: "accept";
|
|
3
4
|
offerId: string;
|
|
@@ -17,4 +18,4 @@ export interface SellerOffersPanelProps {
|
|
|
17
18
|
onRespond: (input: SellerOfferAction) => Promise<void>;
|
|
18
19
|
className?: string;
|
|
19
20
|
}
|
|
20
|
-
export declare function SellerOffersPanel({ fetchEndpoint, onRespond, className, }: SellerOffersPanelProps):
|
|
21
|
+
export declare function SellerOffersPanel({ fetchEndpoint, onRespond, className, }: SellerOffersPanelProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerOffersViewProps extends ListingLayoutProps {
|
|
3
4
|
onAcceptOffer?: (id: string) => Promise<void>;
|
|
4
5
|
onRejectOffer?: (id: string) => Promise<void>;
|
|
5
6
|
onCounterOffer?: (id: string) => void;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerOffersView({ children, onAcceptOffer, onRejectOffer, onCounterOffer, ...props }: SellerOffersViewProps):
|
|
8
|
+
export declare function SellerOffersView({ children, onAcceptOffer, onRejectOffer, onCounterOffer, ...props }: SellerOffersViewProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerOrdersViewProps extends ListingLayoutProps {
|
|
3
4
|
orderDetailApiBase?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare function SellerOrdersView({ orderDetailApiBase, children, ...props }: SellerOrdersViewProps):
|
|
6
|
+
export declare function SellerOrdersView({ orderDetailApiBase, children, ...props }: SellerOrdersViewProps): React.JSX.Element;
|
|
@@ -275,20 +275,35 @@ export function SellerOrdersView({ orderDetailApiBase = SELLER_ENDPOINTS.ORDERS,
|
|
|
275
275
|
render: (row) => _jsx(Span, { size: "xs", color: "muted", children: row.updatedAt }),
|
|
276
276
|
},
|
|
277
277
|
];
|
|
278
|
+
const [shippingRowId, setShippingRowId] = useState(null);
|
|
278
279
|
const handleQuickShip = useCallback(async (row, e) => {
|
|
279
280
|
e.stopPropagation();
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
281
|
+
setShippingRowId(row.id);
|
|
282
|
+
try {
|
|
283
|
+
const res = await fetch(`${orderDetailApiBase}/${row.id}`, {
|
|
284
|
+
method: "PATCH",
|
|
285
|
+
headers: { "Content-Type": "application/json" },
|
|
286
|
+
body: JSON.stringify({ status: "shipped" }),
|
|
287
|
+
});
|
|
288
|
+
if (!res.ok) {
|
|
289
|
+
const body = await res.json().catch(() => null);
|
|
290
|
+
throw new Error(body?.error ?? "Failed to mark order shipped");
|
|
291
|
+
}
|
|
292
|
+
showToast("Order marked shipped.", "success");
|
|
286
293
|
setSelectedOrderId(null);
|
|
287
|
-
|
|
294
|
+
}
|
|
295
|
+
catch (err) {
|
|
296
|
+
void normalizeError(err);
|
|
297
|
+
showToast(err instanceof Error ? err.message : "Failed to mark order shipped.", "error");
|
|
298
|
+
}
|
|
299
|
+
finally {
|
|
300
|
+
setShippingRowId(null);
|
|
301
|
+
}
|
|
302
|
+
}, [orderDetailApiBase, showToast]);
|
|
288
303
|
const renderRowActions = useCallback((row) => {
|
|
289
304
|
const isShippable = ["PENDING", "PROCESSING", "CONFIRMED"].includes(row.status?.toUpperCase() ?? "");
|
|
290
|
-
return (_jsxs(Row, { align: "center", gap: "xs", children: [isShippable && (_jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => void handleQuickShip(row, e), "aria-label": "Mark as shipped", title: "Mark shipped", children: _jsx(Truck, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => { e.stopPropagation(); setSelectedOrderId(row.id); }, title: "View order details", "aria-label": "View order details", children: _jsx(Eye, { className: "h-4 w-4" }) })] }));
|
|
291
|
-
}, [handleQuickShip]);
|
|
305
|
+
return (_jsxs(Row, { align: "center", gap: "xs", children: [isShippable && (_jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => void handleQuickShip(row, e), "aria-label": "Mark as shipped", title: "Mark shipped", isLoading: shippingRowId === row.id, disabled: shippingRowId !== null, children: _jsx(Truck, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "ghost", size: "sm", onClick: (e) => { e.stopPropagation(); setSelectedOrderId(row.id); }, title: "View order details", "aria-label": "View order details", children: _jsx(Eye, { className: "h-4 w-4" }) })] }));
|
|
306
|
+
}, [handleQuickShip, shippingRowId]);
|
|
292
307
|
const selection = useBulkSelection({ items: rows, keyExtractor: (r) => r.id });
|
|
293
308
|
const handlePrintPackingSlips = useCallback(() => {
|
|
294
309
|
const ids = selection.selectedIds.join(",");
|
|
@@ -11,4 +11,4 @@ export interface SellerPayoutHistoryTableProps {
|
|
|
11
11
|
renderTable: () => React.ReactNode;
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function SellerPayoutHistoryTable({ labels, isLoading, hasRows, renderLoading, renderEmptyState, renderTable, className, }: SellerPayoutHistoryTableProps):
|
|
14
|
+
export declare function SellerPayoutHistoryTable({ labels, isLoading, hasRows, renderLoading, renderEmptyState, renderTable, className, }: SellerPayoutHistoryTableProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface SellerPayoutMethodsViewProps {
|
|
2
3
|
onCreateClick?: () => void;
|
|
3
4
|
onEditClick?: (id: string) => void;
|
|
4
5
|
onDelete?: (id: string) => Promise<void>;
|
|
5
6
|
onSetDefault?: (id: string) => Promise<void>;
|
|
6
7
|
}
|
|
7
|
-
export declare function SellerPayoutMethodsView({ onCreateClick, onEditClick, onDelete, onSetDefault, }: SellerPayoutMethodsViewProps):
|
|
8
|
+
export declare function SellerPayoutMethodsView({ onCreateClick, onEditClick, onDelete, onSetDefault, }: SellerPayoutMethodsViewProps): React.JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface SellerPayoutRequestViewProps {
|
|
|
4
4
|
requestApiBase?: string;
|
|
5
5
|
onRequested?: () => void;
|
|
6
6
|
}
|
|
7
|
-
export declare function SellerPayoutRequestView({ payoutsApiBase, payoutSettingsApiBase, requestApiBase, onRequested, }: SellerPayoutRequestViewProps): import("react
|
|
7
|
+
export declare function SellerPayoutRequestView({ payoutsApiBase, payoutSettingsApiBase, requestApiBase, onRequested, }: SellerPayoutRequestViewProps): import("react").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface SellerPayoutSettingsViewProps {
|
|
2
2
|
apiBase?: string;
|
|
3
3
|
}
|
|
4
|
-
export declare function SellerPayoutSettingsView({ apiBase }: SellerPayoutSettingsViewProps): import("react
|
|
4
|
+
export declare function SellerPayoutSettingsView({ apiBase }: SellerPayoutSettingsViewProps): import("react").JSX.Element;
|
|
@@ -21,6 +21,7 @@ const DEFAULT_DRAFT = {
|
|
|
21
21
|
businessType: "",
|
|
22
22
|
autoPayout: true,
|
|
23
23
|
minimumThreshold: "",
|
|
24
|
+
emiEnabled: false,
|
|
24
25
|
};
|
|
25
26
|
export function SellerPayoutSettingsView({ apiBase = "/api/store/payout-settings" }) {
|
|
26
27
|
const [draft, setDraft] = useState(DEFAULT_DRAFT);
|
|
@@ -51,6 +52,7 @@ export function SellerPayoutSettingsView({ apiBase = "/api/store/payout-settings
|
|
|
51
52
|
minimumThreshold: res?.data?.preferences?.minimumThreshold
|
|
52
53
|
? String(res.data.preferences.minimumThreshold / 100)
|
|
53
54
|
: "",
|
|
55
|
+
emiEnabled: res?.data?.emiEnabled ?? false,
|
|
54
56
|
});
|
|
55
57
|
})
|
|
56
58
|
.catch(console.error)
|
|
@@ -77,6 +79,7 @@ export function SellerPayoutSettingsView({ apiBase = "/api/store/payout-settings
|
|
|
77
79
|
};
|
|
78
80
|
const body = {
|
|
79
81
|
...methodFields,
|
|
82
|
+
emiEnabled: draft.emiEnabled,
|
|
80
83
|
taxInfo: {
|
|
81
84
|
gstin: draft.gstin.trim(),
|
|
82
85
|
pan: draft.pan.trim(),
|
|
@@ -125,7 +128,7 @@ export function SellerPayoutSettingsView({ apiBase = "/api/store/payout-settings
|
|
|
125
128
|
},
|
|
126
129
|
{
|
|
127
130
|
label: "Preferences",
|
|
128
|
-
render: ({ values, onChange }) => (_jsxs(Stack, { gap: "md", children: [_jsx(Heading, { level: 3, className: "mb-2", children: "Payout Preferences" }), _jsx(Toggle, { checked: values.autoPayout, onChange: (checked) => onChange({ autoPayout: checked }), label: "Enable auto-payout \u2014 automatically transfer earnings on schedule", disabled: busy }), _jsx(FormField, { name: "minimumThreshold", label: "Minimum Payout Threshold (\u20B9)", type: "number", value: values.minimumThreshold, onChange: (v) => onChange({ minimumThreshold: v }), placeholder: "e.g. 500", helpText: "Payouts are held until your balance exceeds this amount. Leave blank for no minimum.", disabled: busy }), _jsxs(Div, { className: `${__P.p3} bg-[var(--appkit-color-surface-alt)] border border-[var(--appkit-color-border)]`, rounded: "lg", children: [_jsx(Text, { className: "mb-1", size: "sm", weight: "medium", children: "Payout Schedule" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", size: "sm", children: "Auto-payouts run every Monday for the previous week's settled orders. Manual payouts can be requested from the Payouts page at any time." })] })] })),
|
|
131
|
+
render: ({ values, onChange }) => (_jsxs(Stack, { gap: "md", children: [_jsx(Heading, { level: 3, className: "mb-2", children: "Payout Preferences" }), _jsx(Toggle, { checked: values.autoPayout, onChange: (checked) => onChange({ autoPayout: checked }), label: "Enable auto-payout \u2014 automatically transfer earnings on schedule", disabled: busy }), _jsx(FormField, { name: "minimumThreshold", label: "Minimum Payout Threshold (\u20B9)", type: "number", value: values.minimumThreshold, onChange: (v) => onChange({ minimumThreshold: v }), placeholder: "e.g. 500", helpText: "Payouts are held until your balance exceeds this amount. Leave blank for no minimum.", disabled: busy }), _jsxs(Div, { className: `${__P.p3} bg-[var(--appkit-color-surface-alt)] border border-[var(--appkit-color-border)]`, rounded: "lg", children: [_jsx(Text, { className: "mb-1", size: "sm", weight: "medium", children: "Payout Schedule" }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", size: "sm", children: "Auto-payouts run every Monday for the previous week's settled orders. Manual payouts can be requested from the Payouts page at any time." })] }), _jsx(Toggle, { checked: values.emiEnabled, onChange: (checked) => onChange({ emiEnabled: checked }), label: "Offer EMI financing on eligible orders", disabled: busy }), _jsx(Text, { className: "text-[var(--appkit-color-text-muted)]", size: "sm", children: "Only shown to buyers when platform-wide EMI is also enabled and their cart subtotal from your store exceeds the site's minimum order value. Orders on an EMI plan hold your payout until every installment is paid, unless you mark the item \"ship before EMI completes\"." })] })),
|
|
129
132
|
},
|
|
130
133
|
];
|
|
131
134
|
return (_jsx(StackedViewShell, { portal: "seller", title: "Payout Settings", sections: [
|
|
@@ -5,4 +5,4 @@ export interface SellerPayoutStatsProps {
|
|
|
5
5
|
renderStats: () => React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function SellerPayoutStats({ isLoading, renderLoading, renderStats, className, }: SellerPayoutStatsProps):
|
|
8
|
+
export declare function SellerPayoutStats({ isLoading, renderLoading, renderStats, className, }: SellerPayoutStatsProps): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerPayoutsViewProps extends ListingLayoutProps {
|
|
3
4
|
onViewClick?: (id: string) => void;
|
|
4
5
|
onExportClick?: (id: string) => void;
|
|
5
6
|
}
|
|
6
|
-
export declare function SellerPayoutsView({ children, onViewClick, onExportClick, ...props }: SellerPayoutsViewProps):
|
|
7
|
+
export declare function SellerPayoutsView({ children, onViewClick, onExportClick, ...props }: SellerPayoutsViewProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerPreOrdersViewProps extends ListingLayoutProps {
|
|
3
4
|
onDelete?: (id: string) => Promise<void>;
|
|
4
5
|
}
|
|
5
|
-
export declare function SellerPreOrdersView({ children, onDelete, ...props }: SellerPreOrdersViewProps):
|
|
6
|
+
export declare function SellerPreOrdersView({ children, onDelete, ...props }: SellerPreOrdersViewProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListingLayoutProps } from "../../../ui";
|
|
2
3
|
export interface SellerPrizeDrawsViewProps extends ListingLayoutProps {
|
|
3
4
|
onDelete?: (id: string) => Promise<void>;
|
|
4
5
|
}
|
|
5
|
-
export declare function SellerPrizeDrawsView({ children, onDelete, ...props }: SellerPrizeDrawsViewProps):
|
|
6
|
+
export declare function SellerPrizeDrawsView({ children, onDelete, ...props }: SellerPrizeDrawsViewProps): React.JSX.Element;
|