@mohasinac/appkit 4.65.0 → 4.66.0
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/.build-stamp.json +3 -3
- package/dist/_internal/client/features/digital-code/CodeRevealPanel.js +4 -1
- package/dist/_internal/client/features/digital-code/DigitalContentPoolManager.js +5 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +1 -1
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +3 -1
- package/dist/_internal/client/features/lottery/LotteryAdminEditView.js +6 -2
- package/dist/_internal/client/features/lottery/LotteryAdminSlotView.js +5 -1
- package/dist/_internal/client/features/lottery/LotteryDetailView.js +6 -1
- package/dist/_internal/client/features/lottery/LotteryEntriesView.js +6 -1
- package/dist/_internal/client/features/lottery/LotteryListView.js +7 -1
- package/dist/_internal/client/features/lottery/LotteryPullForm.js +3 -1
- package/dist/_internal/client/features/lottery/LotterySlotGrid.js +3 -1
- package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.js +6 -1
- package/dist/_internal/client/scaffolds/AppShell.js +3 -1
- package/dist/_internal/server/features/account/data.js +2 -1
- package/dist/_internal/server/features/auctions/service.js +1 -1
- package/dist/_internal/server/features/auth/capabilities.js +1 -1
- package/dist/_internal/server/features/auth/permissions.js +1 -1
- package/dist/_internal/server/features/brands/actions.js +1 -1
- package/dist/_internal/server/features/brands/data.js +1 -1
- package/dist/_internal/server/features/brands/service.js +1 -1
- package/dist/_internal/server/features/bundles/actions.js +1 -1
- package/dist/_internal/server/features/bundles/data.js +2 -2
- package/dist/_internal/server/features/cart/actions.js +1 -1
- package/dist/_internal/server/features/cart/data.js +1 -1
- package/dist/_internal/server/features/cart/service.js +1 -1
- package/dist/_internal/server/features/categories/data.js +1 -1
- package/dist/_internal/server/features/checkout/actions.js +2 -2
- package/dist/_internal/server/features/checkout/group-rule-revalidation.js +1 -1
- package/dist/_internal/server/features/checkout/locked-lines.js +1 -1
- package/dist/_internal/server/features/checkout/upi-resolution.js +2 -1
- package/dist/_internal/server/features/grouped/data.js +2 -1
- package/dist/_internal/server/features/history/actions.d.ts +1 -1
- package/dist/_internal/server/features/history/actions.js +1 -1
- package/dist/_internal/server/features/history/data.d.ts +1 -1
- package/dist/_internal/server/features/history/data.js +1 -1
- package/dist/_internal/server/features/item-requests/data.js +1 -1
- package/dist/_internal/server/features/messages/actions.js +1 -1
- package/dist/_internal/server/features/payouts/actions.js +1 -1
- package/dist/_internal/server/features/pre-orders/actions.js +1 -1
- package/dist/_internal/server/features/pre-orders/service.js +1 -1
- package/dist/_internal/server/features/prize-draws/actions.js +1 -1
- package/dist/_internal/server/features/products/actions.js +1 -1
- package/dist/_internal/server/features/products/data.js +1 -1
- package/dist/_internal/server/features/products/list-public.js +1 -1
- package/dist/_internal/server/features/products/service.js +1 -1
- package/dist/_internal/server/features/promotions/actions.js +1 -1
- package/dist/_internal/server/features/promotions/adapters.js +9 -0
- package/dist/_internal/server/features/promotions/data.d.ts +24 -3
- package/dist/_internal/server/features/promotions/data.js +41 -6
- package/dist/_internal/server/features/promotions/index.d.ts +1 -1
- package/dist/_internal/server/features/promotions/index.js +1 -1
- package/dist/_internal/server/features/promotions/service.js +1 -1
- package/dist/_internal/server/features/seo/sitemap.js +2 -2
- package/dist/_internal/server/features/shared/listing-data-factory.js +1 -1
- package/dist/_internal/server/features/shipping/courier-block.js +1 -1
- package/dist/_internal/server/features/sticker-trace/promote-to-listings.js +1 -1
- package/dist/_internal/server/features/stores/data.js +1 -1
- package/dist/_internal/server/features/sublisting-categories/data.js +1 -1
- package/dist/_internal/server/features/wishlist/actions.d.ts +1 -1
- package/dist/_internal/server/features/wishlist/actions.js +1 -1
- package/dist/_internal/server/features/wishlist/data.d.ts +1 -1
- package/dist/_internal/server/features/wishlist/data.js +1 -1
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +1 -1
- package/dist/_internal/server/jobs/core/cartPrune.js +1 -1
- package/dist/_internal/server/jobs/core/catalogueImageStalenessReminder.js +1 -1
- package/dist/_internal/server/jobs/core/cleanupRtdbEvents.js +1 -1
- package/dist/_internal/server/jobs/core/couponExpiry.js +1 -1
- package/dist/_internal/server/jobs/core/dailyDataCleanup.js +2 -1
- package/dist/_internal/server/jobs/core/draftPrune.js +1 -1
- package/dist/_internal/server/jobs/core/hardBanReinstatement.js +1 -1
- package/dist/_internal/server/jobs/core/newsletterExport.js +1 -1
- package/dist/_internal/server/jobs/core/notificationPrune.js +1 -1
- package/dist/_internal/server/jobs/core/onJobCreated.js +1 -1
- package/dist/_internal/server/jobs/core/onOrderCreate.js +3 -1
- package/dist/_internal/server/jobs/core/onProductWrite.js +2 -1
- package/dist/_internal/server/jobs/core/onScamReportCreate.js +2 -1
- package/dist/_internal/server/jobs/core/onScamReportRejected.js +1 -1
- package/dist/_internal/server/jobs/core/onScamReportVerified.js +1 -1
- package/dist/_internal/server/jobs/core/revenueRollup.js +1 -1
- package/dist/_internal/server/jobs/core/runJobOnce.js +1 -1
- package/dist/_internal/server/jobs/core/sellerStandingRollup.js +1 -1
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +1 -1
- package/dist/_internal/server/jobs/handlers/onCatalogueSubmittedForApproval.js +1 -1
- package/dist/_internal/shared/features/blog/schema.d.ts +12 -12
- package/dist/_internal/shared/features/brands/schema.d.ts +19 -19
- package/dist/_internal/shared/features/cart/schema.d.ts +17 -17
- package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +60 -60
- package/dist/_internal/shared/features/events/schema.d.ts +4 -4
- package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
- package/dist/_internal/shared/features/products/schema.d.ts +2 -2
- package/dist/_internal/shared/features/promotions/schema.d.ts +12 -12
- package/dist/_internal/shared/features/reviews/schema.d.ts +3 -3
- package/dist/client.d.ts +221 -116
- package/dist/client.js +140 -73
- package/dist/errors/error-handler.d.ts +1 -1
- package/dist/features/about/components/AboutView.js +9 -1
- package/dist/features/about/components/DeveloperView.js +8 -2
- package/dist/features/about/components/FAQPageView.js +5 -2
- package/dist/features/about/components/FeesView.js +4 -1
- package/dist/features/about/components/GstExplainerView.js +6 -1
- package/dist/features/about/components/GuidesHubView.js +5 -1
- package/dist/features/about/components/HelpPageView.js +6 -2
- package/dist/features/about/components/HowAuctionsWorkView.js +6 -2
- package/dist/features/about/components/HowCheckoutWorksView.js +6 -2
- package/dist/features/about/components/HowEmiWorksView.js +7 -2
- package/dist/features/about/components/HowOffersWorkView.js +6 -2
- package/dist/features/about/components/HowOrdersWorkView.js +6 -2
- package/dist/features/about/components/HowPayoutsWorkView.js +6 -2
- package/dist/features/about/components/HowPreOrdersWorkView.js +6 -2
- package/dist/features/about/components/HowReviewsWorkView.js +6 -2
- package/dist/features/about/components/PolicyPageView.js +6 -3
- package/dist/features/about/components/ProseHero.js +3 -1
- package/dist/features/about/components/PublicProfileView.js +6 -1
- package/dist/features/about/components/SecurityPrivacyView.js +6 -2
- package/dist/features/about/components/ShippingPolicyView.js +7 -3
- package/dist/features/about/components/SpotAFakeView.js +6 -1
- package/dist/features/about/components/TrackOrderView.js +5 -2
- package/dist/features/about/components/UnauthorizedView.js +5 -2
- package/dist/features/about/schemas/index.d.ts +18 -18
- package/dist/features/account/components/AddressBook.js +4 -1
- package/dist/features/account/components/AddressFilters.js +1 -1
- package/dist/features/account/components/AddressForm.js +1 -1
- package/dist/features/account/components/AddressSelectorCreate.js +2 -1
- package/dist/features/account/components/AddressesIndexListing.js +5 -1
- package/dist/features/account/components/BecomeSellerView.js +2 -1
- package/dist/features/account/components/BuyerAccountGuideView.js +6 -1
- package/dist/features/account/components/BuyerAuctionsGuideView.js +5 -1
- package/dist/features/account/components/BuyerOrdersGuideView.js +5 -1
- package/dist/features/account/components/BuyerShoppingGuideView.js +5 -1
- package/dist/features/account/components/LinkedAccountsSection.js +5 -1
- package/dist/features/account/components/NotificationBell.js +8 -1
- package/dist/features/account/components/NotificationPreferencesPanel.js +6 -1
- package/dist/features/account/components/OrderDetailView.d.ts +1 -1
- package/dist/features/account/components/OrderDetailView.js +1 -1
- package/dist/features/account/components/ProfileView.d.ts +1 -1
- package/dist/features/account/components/ProfileView.js +1 -1
- package/dist/features/account/components/UserAccountHubView.d.ts +1 -1
- package/dist/features/account/components/UserAccountHubView.js +1 -1
- package/dist/features/account/components/UserBidsView.js +5 -1
- package/dist/features/account/components/UserOffersPanel.js +9 -1
- package/dist/features/account/components/UserOrderTrackView.d.ts +1 -1
- package/dist/features/account/components/UserOrderTrackView.js +1 -1
- package/dist/features/account/components/UserOrdersView.js +6 -1
- package/dist/features/account/components/UserReturnsView.js +3 -1
- package/dist/features/account/components/UserSidebar.js +8 -1
- package/dist/features/account/schemas/index.d.ts +10 -10
- package/dist/features/addresses/schemas/address-form.d.ts +16 -16
- package/dist/features/addresses/schemas/index.d.ts +2 -2
- package/dist/features/admin/actions/admin-actions.d.ts +3 -3
- package/dist/features/admin/actions/admin-coupon-actions.d.ts +1 -1
- package/dist/features/admin/actions/admin-read-actions.d.ts +3 -3
- package/dist/features/admin/components/AdminActionIndexView.d.ts +1 -1
- package/dist/features/admin/components/AdminActionIndexView.js +7 -1
- package/dist/features/admin/components/AdminAdEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminAdEditorView.js +8 -1
- package/dist/features/admin/components/AdminAddressBookView.js +8 -1
- package/dist/features/admin/components/AdminAddressClustersView.js +7 -1
- package/dist/features/admin/components/AdminAddressEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminAddressEditorView.js +4 -1
- package/dist/features/admin/components/AdminAddressesView.js +6 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +1 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.js +5 -1
- package/dist/features/admin/components/AdminAnalyticsGuideView.js +5 -1
- package/dist/features/admin/components/AdminAnalyticsView.js +4 -2
- package/dist/features/admin/components/AdminArtView.d.ts +1 -1
- package/dist/features/admin/components/AdminArtView.js +1 -1
- package/dist/features/admin/components/AdminAuditLogView.d.ts +1 -1
- package/dist/features/admin/components/AdminAuditLogView.js +5 -1
- package/dist/features/admin/components/AdminBeysView.d.ts +1 -1
- package/dist/features/admin/components/AdminBeysView.js +3 -1
- package/dist/features/admin/components/AdminBidsView.d.ts +1 -1
- package/dist/features/admin/components/AdminBidsView.js +7 -2
- package/dist/features/admin/components/AdminBlogEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBlogEditorView.js +14 -2
- package/dist/features/admin/components/AdminBlogView.d.ts +1 -1
- package/dist/features/admin/components/AdminBlogView.js +2 -1
- package/dist/features/admin/components/AdminBrandEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBrandEditorView.js +7 -2
- package/dist/features/admin/components/AdminBrandsView.d.ts +1 -1
- package/dist/features/admin/components/AdminBrandsView.js +4 -2
- package/dist/features/admin/components/AdminBundleEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminBundleEditorView.js +3 -1
- package/dist/features/admin/components/AdminBundlesView.js +7 -1
- package/dist/features/admin/components/AdminCarouselEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselEditorView.js +12 -2
- package/dist/features/admin/components/AdminCarouselGroupEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselView.d.ts +1 -1
- package/dist/features/admin/components/AdminCarouselView.js +16 -2
- package/dist/features/admin/components/AdminCartsView.d.ts +1 -1
- package/dist/features/admin/components/AdminCartsView.js +3 -1
- package/dist/features/admin/components/AdminCatalogGuideView.js +5 -1
- package/dist/features/admin/components/AdminCategoriesView.d.ts +1 -1
- package/dist/features/admin/components/AdminCategoriesView.js +3 -1
- package/dist/features/admin/components/AdminCategoryEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCategoryEditorView.js +2 -2
- package/dist/features/admin/components/AdminClassifiedView.d.ts +1 -1
- package/dist/features/admin/components/AdminClassifiedView.js +1 -1
- package/dist/features/admin/components/AdminContactView.d.ts +1 -1
- package/dist/features/admin/components/AdminContactView.js +5 -1
- package/dist/features/admin/components/AdminContentGuideView.js +5 -1
- package/dist/features/admin/components/AdminCouponEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminCouponEditorView.js +5 -1
- package/dist/features/admin/components/AdminCouponsView.d.ts +1 -1
- package/dist/features/admin/components/AdminCouponsView.js +6 -1
- package/dist/features/admin/components/AdminDashboardView.d.ts +1 -1
- package/dist/features/admin/components/AdminDashboardView.js +2 -2
- package/dist/features/admin/components/AdminDigitalCodesView.d.ts +1 -1
- package/dist/features/admin/components/AdminDigitalCodesView.js +1 -1
- package/dist/features/admin/components/AdminFaqEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminFaqEditorView.js +12 -2
- package/dist/features/admin/components/AdminFaqsView.d.ts +1 -1
- package/dist/features/admin/components/AdminFaqsView.js +3 -1
- package/dist/features/admin/components/AdminFeatureEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminFeatureEditorView.js +6 -1
- package/dist/features/admin/components/AdminFeaturesView.d.ts +1 -1
- package/dist/features/admin/components/AdminFeaturesView.js +2 -1
- package/dist/features/admin/components/AdminFulfillmentView.js +2 -1
- package/dist/features/admin/components/AdminGatewayEventsView.d.ts +1 -1
- package/dist/features/admin/components/AdminGatewayEventsView.js +8 -1
- package/dist/features/admin/components/AdminGroupedListingsView.d.ts +1 -1
- package/dist/features/admin/components/AdminGroupedListingsView.js +7 -2
- package/dist/features/admin/components/AdminGuideHubView.js +6 -1
- package/dist/features/admin/components/AdminHistoryView.d.ts +1 -1
- package/dist/features/admin/components/AdminHistoryView.js +1 -1
- package/dist/features/admin/components/AdminIntegrationsView.js +6 -1
- package/dist/features/admin/components/AdminInvoicingView.js +6 -1
- package/dist/features/admin/components/AdminLiveView.d.ts +1 -1
- package/dist/features/admin/components/AdminLiveView.js +1 -1
- package/dist/features/admin/components/AdminMediaView.d.ts +1 -1
- package/dist/features/admin/components/AdminMediaView.js +11 -1
- package/dist/features/admin/components/AdminMoneyCasesView.d.ts +1 -1
- package/dist/features/admin/components/AdminMoneyCasesView.js +7 -1
- package/dist/features/admin/components/AdminNavEditorView.js +3 -1
- package/dist/features/admin/components/AdminNavigationView.d.ts +1 -1
- package/dist/features/admin/components/AdminNavigationView.js +10 -1
- package/dist/features/admin/components/AdminNewsletterView.d.ts +1 -1
- package/dist/features/admin/components/AdminNewsletterView.js +7 -1
- package/dist/features/admin/components/AdminNotificationsView.d.ts +1 -1
- package/dist/features/admin/components/AdminNotificationsView.js +5 -1
- package/dist/features/admin/components/AdminOffersView.d.ts +1 -1
- package/dist/features/admin/components/AdminOffersView.js +5 -1
- package/dist/features/admin/components/AdminOrderEditorView.js +8 -2
- package/dist/features/admin/components/AdminOrdersGuideView.js +4 -1
- package/dist/features/admin/components/AdminOrdersView.d.ts +1 -1
- package/dist/features/admin/components/AdminOrdersView.js +3 -1
- package/dist/features/admin/components/AdminPartsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPartsView.js +3 -1
- package/dist/features/admin/components/AdminPaymentClustersView.js +7 -1
- package/dist/features/admin/components/AdminPaymentMethodsView.js +7 -1
- package/dist/features/admin/components/AdminPaymentsGuideView.js +4 -1
- package/dist/features/admin/components/AdminPayoutsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPayoutsView.js +5 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +1 -1
- package/dist/features/admin/components/AdminPrizeDrawsView.js +7 -1
- package/dist/features/admin/components/AdminProductEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminProductEditorView.js +1 -1
- package/dist/features/admin/components/AdminProductsView.d.ts +1 -1
- package/dist/features/admin/components/AdminProductsView.js +5 -2
- package/dist/features/admin/components/AdminReturnRequestsView.js +3 -1
- package/dist/features/admin/components/AdminReviewsView.d.ts +1 -1
- package/dist/features/admin/components/AdminReviewsView.js +8 -1
- package/dist/features/admin/components/AdminScammersView.d.ts +1 -1
- package/dist/features/admin/components/AdminScammersView.js +5 -1
- package/dist/features/admin/components/AdminSectionsView.js +1 -1
- package/dist/features/admin/components/AdminSessionsManager.js +1 -1
- package/dist/features/admin/components/AdminSessionsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSessionsView.js +6 -1
- package/dist/features/admin/components/AdminSidebar.js +7 -1
- package/dist/features/admin/components/AdminSiteConfigGuideView.js +5 -1
- package/dist/features/admin/components/AdminSiteSettingsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSiteSettingsView.js +2 -2
- package/dist/features/admin/components/AdminSparesView.d.ts +1 -1
- package/dist/features/admin/components/AdminSparesView.js +1 -1
- package/dist/features/admin/components/AdminStickersView.d.ts +1 -1
- package/dist/features/admin/components/AdminStickersView.js +1 -1
- package/dist/features/admin/components/AdminStoreAddressesView.js +1 -1
- package/dist/features/admin/components/AdminStoreEditorView.js +7 -1
- package/dist/features/admin/components/AdminStoresGuideView.js +5 -1
- package/dist/features/admin/components/AdminStoresView.d.ts +1 -1
- package/dist/features/admin/components/AdminStoresView.js +4 -1
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +8 -3
- package/dist/features/admin/components/AdminSupportTicketDetailView.js +12 -1
- package/dist/features/admin/components/AdminSupportTicketsView.d.ts +1 -1
- package/dist/features/admin/components/AdminSupportTicketsView.js +4 -1
- package/dist/features/admin/components/AdminTaxCodeEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminTaxCodeEditorView.js +4 -1
- package/dist/features/admin/components/AdminTaxCodesView.d.ts +1 -1
- package/dist/features/admin/components/AdminTaxCodesView.js +1 -1
- package/dist/features/admin/components/AdminTeamGuideView.js +5 -1
- package/dist/features/admin/components/AdminTeamView.d.ts +1 -1
- package/dist/features/admin/components/AdminTeamView.js +4 -1
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.d.ts +1 -1
- package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +4 -1
- package/dist/features/admin/components/AdminTesterChecklistView.d.ts +1 -1
- package/dist/features/admin/components/AdminTesterChecklistView.js +4 -1
- package/dist/features/admin/components/AdminTopBar.js +1 -1
- package/dist/features/admin/components/AdminTrustGuideView.js +5 -1
- package/dist/features/admin/components/AdminUserEditorView.js +12 -1
- package/dist/features/admin/components/AdminUsersGuideView.js +5 -1
- package/dist/features/admin/components/AdminUsersView.d.ts +1 -1
- package/dist/features/admin/components/AdminViewCards.js +4 -1
- package/dist/features/admin/components/AdminWishlistsView.d.ts +1 -1
- package/dist/features/admin/components/AdminWishlistsView.js +1 -1
- package/dist/features/admin/components/DashboardStats.js +3 -1
- package/dist/features/admin/components/DataListingView.d.ts +1 -1
- package/dist/features/admin/components/DataListingView.js +14 -2
- package/dist/features/admin/components/DataTable.js +7 -1
- package/dist/features/admin/components/OwnerQuickActions.js +2 -1
- package/dist/features/admin/components/QuickEditMenu.js +2 -1
- package/dist/features/admin/components/ViewAuditLogEntryModal.js +6 -1
- package/dist/features/admin/components/ViewNotificationModal.js +6 -1
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +2 -1
- package/dist/features/admin/components/analytics/AdminStatCard.js +3 -1
- package/dist/features/admin/components/analytics/AdminTopProductsTable.js +3 -1
- package/dist/features/admin/components/sections/adminSectionsTypes.js +1 -0
- package/dist/features/admin/constants/site-settings-tabs.d.ts +1 -1
- package/dist/features/admin/hooks/useAdminListing.d.ts +1 -1
- package/dist/features/admin/hooks/useOptimisticRowFlag.js +1 -1
- package/dist/features/admin/schemas/action-index-form.d.ts +2 -2
- package/dist/features/admin/schemas/admin-editor-forms.d.ts +12 -12
- package/dist/features/admin/schemas/admin-ops-forms.d.ts +8 -8
- package/dist/features/admin/schemas/admin-user-form.d.ts +8 -8
- package/dist/features/admin/schemas/nav-item-form.d.ts +8 -8
- package/dist/features/auctions/actions/bid-actions.js +1 -1
- package/dist/features/auctions/components/AuctionBidsTable.js +6 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +1 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +11 -2
- package/dist/features/auctions/components/AuctionFilters.js +1 -1
- package/dist/features/auctions/components/AuctionLiveStatusBadge.js +1 -1
- package/dist/features/auctions/components/AuctionsListView.js +3 -1
- package/dist/features/auctions/components/CollapsibleBidHistory.js +4 -1
- package/dist/features/auctions/components/LiveBidPrice.js +3 -1
- package/dist/features/auctions/components/LiveMinIncrement.js +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +9 -3
- package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionGrid.js +3 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +8 -1
- package/dist/features/auctions/schemas/index.d.ts +34 -34
- package/dist/features/auth/components/ForgotPasswordView.js +6 -1
- package/dist/features/auth/components/Guards.js +4 -1
- package/dist/features/auth/components/LoginForm.js +7 -1
- package/dist/features/auth/components/OAuthLoadingView.js +3 -1
- package/dist/features/auth/components/RegisterForm.js +5 -1
- package/dist/features/auth/components/ResetPasswordView.js +6 -1
- package/dist/features/auth/components/SocialAuthButtons.js +4 -1
- package/dist/features/auth/components/VerifyEmailView.js +4 -1
- package/dist/features/auth/schemas/index.d.ts +2 -2
- package/dist/features/before-after/components/BeforeAfterGallery.js +3 -1
- package/dist/features/before-after/components/BeforeAfterSlider.js +3 -1
- package/dist/features/before-after/schemas/index.d.ts +4 -4
- package/dist/features/beys/components/BeyDetailPageView.js +7 -1
- package/dist/features/blog/actions/blog-actions.d.ts +39 -39
- package/dist/features/blog/components/BlogFeaturedCard.js +6 -1
- package/dist/features/blog/components/BlogFilters.js +1 -1
- package/dist/features/blog/components/BlogIndexListing.js +7 -1
- package/dist/features/blog/components/BlogIndexPageView.js +3 -1
- package/dist/features/blog/components/BlogListView.js +6 -1
- package/dist/features/blog/components/BlogPostForm.js +9 -2
- package/dist/features/blog/components/BlogPostView.js +5 -1
- package/dist/features/blog/schemas/blog-form.d.ts +10 -10
- package/dist/features/blog/schemas/index.d.ts +80 -80
- package/dist/features/cart/components/CartDrawer.js +6 -1
- package/dist/features/cart/components/CartGroupLineRow.js +5 -1
- package/dist/features/cart/components/CartPriceBreakdown.js +4 -1
- package/dist/features/cart/components/CartSummary.js +2 -1
- package/dist/features/cart/components/CartView.js +3 -1
- package/dist/features/cart/components/CheckoutAddressStep.js +3 -1
- package/dist/features/cart/components/CheckoutSuccessView.d.ts +1 -1
- package/dist/features/cart/components/CheckoutSuccessView.js +1 -1
- package/dist/features/cart/components/CheckoutView.js +3 -1
- package/dist/features/cart/components/PointsTenderPicker.js +3 -1
- package/dist/features/cart/components/ShippingPicker.js +4 -1
- package/dist/features/cart/components/StoreAddonsPicker.js +3 -1
- package/dist/features/cart/schemas/index.d.ts +30 -30
- package/dist/features/catalogue/actions/approve-catalogue-listing.js +1 -1
- package/dist/features/catalogue/actions/list-from-catalogue.js +2 -1
- package/dist/features/catalogue/actions/submit-for-approval.js +1 -1
- package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +6 -1
- package/dist/features/catalogue/components/CatalogueItemEditorView.js +1 -1
- package/dist/features/catalogue/components/PublicCatalogueItemDetailView.js +6 -1
- package/dist/features/catalogue/components/PublicCatalogueView.js +5 -1
- package/dist/features/catalogue/components/UserCatalogueView.js +7 -1
- package/dist/features/catalogue/schemas/validation.d.ts +12 -12
- package/dist/features/catalogue/utils/product-from-item.js +1 -1
- package/dist/features/categories/components/BrandDetailPageView.js +6 -2
- package/dist/features/categories/components/BrandDetailTabs.js +2 -1
- package/dist/features/categories/components/BreadcrumbTrail.js +4 -2
- package/dist/features/categories/components/BundleBuyNowCta.js +5 -2
- package/dist/features/categories/components/BundleCollage.js +5 -1
- package/dist/features/categories/components/BundleDetailView.js +6 -1
- package/dist/features/categories/components/BundleDynamicRuleEditor.js +6 -1
- package/dist/features/categories/components/BundleItemsPicker.js +7 -1
- package/dist/features/categories/components/BundlesListView.js +4 -2
- package/dist/features/categories/components/CategoriesIndexListing.js +8 -1
- package/dist/features/categories/components/CategoriesIndexPageView.js +3 -1
- package/dist/features/categories/components/CategoryBundlesListing.js +8 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +7 -2
- package/dist/features/categories/components/CategoryDetailTabs.js +2 -1
- package/dist/features/categories/components/CategoryFilters.js +1 -1
- package/dist/features/categories/components/CategoryForm.js +3 -1
- package/dist/features/categories/components/CategoryGrid.js +3 -1
- package/dist/features/categories/components/CategoryHighlightsAndFaqSection.js +3 -1
- package/dist/features/categories/components/CategoryProductsListing.js +8 -1
- package/dist/features/categories/components/CategorySelectorCreate.js +6 -1
- package/dist/features/categories/components/CategorySortSelect.js +4 -1
- package/dist/features/categories/components/CategoryStoresListing.js +2 -1
- package/dist/features/categories/components/CategoryTableColumns.js +6 -2
- package/dist/features/categories/components/CategoryTemplatePicker.js +4 -1
- package/dist/features/categories/components/CategoryTree.js +2 -1
- package/dist/features/categories/components/ConcernCard.js +3 -1
- package/dist/features/categories/components/ConcernGrid.js +1 -1
- package/dist/features/categories/components/PriceGuidanceHint.js +3 -1
- package/dist/features/categories/components/SubcategoryCardRow.js +4 -1
- package/dist/features/categories/schemas/bundle-form.d.ts +22 -22
- package/dist/features/categories/schemas/index.d.ts +100 -100
- package/dist/features/checkout/components/CheckoutStepper.js +3 -1
- package/dist/features/classified/components/ClassifiedDetailPageView.js +7 -1
- package/dist/features/classified/components/ClassifiedFilters.js +3 -1
- package/dist/features/collections/components/CollectionCard.js +4 -1
- package/dist/features/collections/schemas/index.d.ts +9 -9
- package/dist/features/consultation/components/ConsultationForm.js +3 -1
- package/dist/features/consultation/schemas/index.d.ts +8 -8
- package/dist/features/contact/components/ContactForm.js +5 -2
- package/dist/features/contact/components/ContactInfoSidebar.js +4 -1
- package/dist/features/contact/components/ContactPageView.js +6 -1
- package/dist/features/corporate/components/CorporateInquiryForm.js +3 -1
- package/dist/features/dashboard/components/DashboardHubView.js +7 -1
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +7 -1
- package/dist/features/digital-codes/components/DigitalCodeFilters.js +1 -1
- package/dist/features/dispute-reasons/components/AdminDisputeReasonsView.js +4 -1
- package/dist/features/events/components/AdminEventEditorView.d.ts +1 -1
- package/dist/features/events/components/AdminEventEditorView.js +13 -2
- package/dist/features/events/components/AdminEventEntriesView.js +10 -2
- package/dist/features/events/components/AdminEventsView.d.ts +1 -1
- package/dist/features/events/components/AdminEventsView.js +2 -1
- package/dist/features/events/components/EventBanner.js +3 -1
- package/dist/features/events/components/EventCard.js +7 -1
- package/dist/features/events/components/EventDetailView.d.ts +1 -1
- package/dist/features/events/components/EventDetailView.js +1 -1
- package/dist/features/events/components/EventFilters.js +1 -1
- package/dist/features/events/components/EventFormDrawer.js +1 -1
- package/dist/features/events/components/EventInsights.js +3 -1
- package/dist/features/events/components/EventLeaderboard.js +3 -1
- package/dist/features/events/components/EventLikeButton.js +4 -1
- package/dist/features/events/components/EventLikersRail.js +5 -1
- package/dist/features/events/components/EventOfferCard.js +3 -1
- package/dist/features/events/components/EventParticipateView.js +1 -1
- package/dist/features/events/components/EventPollWidget.js +8 -1
- package/dist/features/events/components/EventRaffleEntryForm.js +3 -1
- package/dist/features/events/components/EventRaffleWinnerView.js +6 -1
- package/dist/features/events/components/EventRafflesSection.js +3 -1
- package/dist/features/events/components/EventSaleBanner.js +4 -1
- package/dist/features/events/components/EventStatusBadge.js +1 -1
- package/dist/features/events/components/EventTypeBadge.js +1 -1
- package/dist/features/events/components/EventsIndexListing.js +7 -1
- package/dist/features/events/components/EventsListPageView.js +3 -1
- package/dist/features/events/components/EventsListView.js +4 -1
- package/dist/features/events/components/RelatedEventsCarousel.js +3 -1
- package/dist/features/events/components/SpinWheel.js +1 -1
- package/dist/features/events/components/SpinWheelView.js +7 -1
- package/dist/features/events/schemas/event-form.d.ts +5 -0
- package/dist/features/events/schemas/event-form.js +17 -0
- package/dist/features/events/schemas/firestore.d.ts +49 -1
- package/dist/features/events/schemas/index.d.ts +184 -184
- package/dist/features/events/utils/carousel-slide.d.ts +0 -9
- package/dist/features/events/utils/carousel-slide.js +38 -1
- package/dist/features/faq/actions/faq-actions.d.ts +12 -12
- package/dist/features/faq/components/ContactCTA.js +5 -1
- package/dist/features/faq/components/FAQAccordion.js +6 -1
- package/dist/features/faq/components/FAQCategorySidebar.js +5 -1
- package/dist/features/faq/components/FAQHelpfulButtons.js +3 -1
- package/dist/features/faq/components/FAQPageContent.js +8 -1
- package/dist/features/faq/components/FAQSearchableList.js +2 -1
- package/dist/features/faq/components/FAQSortDropdown.js +4 -1
- package/dist/features/faq/components/RelatedFAQs.js +4 -1
- package/dist/features/faq/schemas/index.d.ts +14 -14
- package/dist/features/filters/AsyncFacetSection.js +6 -1
- package/dist/features/filters/FilterFacetSection.js +6 -1
- package/dist/features/filters/FilterPanel.js +1 -1
- package/dist/features/filters/RangeFilter.js +6 -1
- package/dist/features/filters/SwitchFilter.js +5 -1
- package/dist/features/forms/Checkbox.js +3 -1
- package/dist/features/forms/Input.js +2 -1
- package/dist/features/forms/Radio.js +3 -1
- package/dist/features/forms/Select.js +2 -1
- package/dist/features/forms/Slider.js +3 -1
- package/dist/features/forms/Textarea.js +3 -1
- package/dist/features/forms/Toggle.js +3 -1
- package/dist/features/gateway-events/schemas/index.d.ts +10 -10
- package/dist/features/grouped/components/GroupedListingDetailView.js +4 -1
- package/dist/features/grouped/components/GroupedListingEditorView.js +5 -2
- package/dist/features/grouped/components/GroupedListingsCarousel.js +1 -1
- package/dist/features/grouped/schemas/grouped-listing-form.d.ts +2 -2
- package/dist/features/grouped/schemas/index.d.ts +6 -6
- package/dist/features/history/hooks/useHistory.js +1 -1
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +4 -4
- package/dist/features/homepage/components/AdSlot.js +3 -1
- package/dist/features/homepage/components/BrandsSection.js +6 -1
- package/dist/features/homepage/components/CTABannerSection.js +6 -1
- package/dist/features/homepage/components/CharacterHotspot.js +5 -1
- package/dist/features/homepage/components/CharacterHotspotForm.js +8 -1
- package/dist/features/homepage/components/CollectionCardsSection.js +4 -1
- package/dist/features/homepage/components/CustomCardsSection.js +6 -1
- package/dist/features/homepage/components/CustomerReviewsSection.js +5 -1
- package/dist/features/homepage/components/FAQSection.js +8 -1
- package/dist/features/homepage/components/FeaturedBundlesSection.js +3 -1
- package/dist/features/homepage/components/GoogleReviewsSection.js +6 -1
- package/dist/features/homepage/components/HeroCarousel.js +6 -1
- package/dist/features/homepage/components/HomepageCouponsSection.d.ts +25 -0
- package/dist/features/homepage/components/HomepageCouponsSection.js +42 -0
- package/dist/features/homepage/components/HowItWorksSection.d.ts +1 -1
- package/dist/features/homepage/components/HowItWorksSection.js +7 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.js +52 -4
- package/dist/features/homepage/components/NewsletterSection.js +4 -1
- package/dist/features/homepage/components/PromoGrid.js +4 -1
- package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
- package/dist/features/homepage/components/SectionCarousel.js +6 -1
- package/dist/features/homepage/components/SecurityHighlightsSection.js +6 -1
- package/dist/features/homepage/components/ShopByCategorySection.js +7 -1
- package/dist/features/homepage/components/SocialFeedSection.js +6 -1
- package/dist/features/homepage/components/SocialPostCard.js +4 -1
- package/dist/features/homepage/components/StatsCounterSection.js +5 -1
- package/dist/features/homepage/components/TestimonialsCarousel.js +4 -1
- package/dist/features/homepage/components/TrustFeaturesSection.js +5 -1
- package/dist/features/homepage/components/WelcomeSection.js +10 -1
- package/dist/features/homepage/components/WhatsAppCommunitySection.js +8 -1
- package/dist/features/homepage/lib/section-renderer.d.ts +2 -0
- package/dist/features/homepage/lib/section-renderer.js +8 -0
- package/dist/features/homepage/schemas/firestore.d.ts +23 -2
- package/dist/features/homepage/schemas/firestore.js +2 -0
- package/dist/features/homepage/schemas/index.d.ts +133 -133
- package/dist/features/inventory/components/ReceiveStationView.js +9 -1
- package/dist/features/jobs/actions/enqueue-job.js +1 -1
- package/dist/features/layout/AutoBreadcrumbs.js +3 -1
- package/dist/features/layout/BackToTop.js +2 -1
- package/dist/features/layout/BottomActions.js +5 -1
- package/dist/features/layout/BottomActionsContext.d.ts +1 -1
- package/dist/features/layout/BottomChrome.js +1 -1
- package/dist/features/layout/BottomNavItem.js +2 -1
- package/dist/features/layout/BottomNavLayout.js +1 -1
- package/dist/features/layout/BottomSheet.js +4 -1
- package/dist/features/layout/Breadcrumbs.js +2 -1
- package/dist/features/layout/FooterLayout.js +5 -1
- package/dist/features/layout/LocaleSwitcher.js +1 -1
- package/dist/features/layout/NavItem.js +2 -1
- package/dist/features/layout/NavbarLayout.js +5 -1
- package/dist/features/layout/PageTabs.js +1 -1
- package/dist/features/layout/SideActionDock.js +7 -1
- package/dist/features/layout/SidebarLayout.d.ts +1 -1
- package/dist/features/layout/SidebarLayout.js +2 -1
- package/dist/features/layout/TitleBarLayout.js +9 -1
- package/dist/features/live/components/LiveItemDetailPageView.js +7 -1
- package/dist/features/live/components/LiveItemFilters.js +3 -1
- package/dist/features/lottery/schemas/config-write.d.ts +10 -10
- package/dist/features/lottery/schemas/zod.d.ts +6 -6
- package/dist/features/media/modals/ImageCropModal.js +6 -1
- package/dist/features/media/modals/ImageEditor.js +6 -1
- package/dist/features/media/modals/VideoTrimModal.js +6 -1
- package/dist/features/media/types/index.d.ts +4 -4
- package/dist/features/media/upload/MediaUploadList.js +7 -1
- package/dist/features/orders/components/OrderAddonBadges.js +2 -1
- package/dist/features/orders/components/OrderFilters.js +1 -1
- package/dist/features/orders/components/OrderPaymentSummary.js +4 -1
- package/dist/features/orders/components/OrderProvenanceCard.js +5 -1
- package/dist/features/orders/components/OrderScopeTabs.js +1 -1
- package/dist/features/orders/components/OrderSiblingPayments.js +3 -1
- package/dist/features/orders/components/OrderStatusTimeline.js +4 -1
- package/dist/features/orders/components/OrdersList.js +4 -1
- package/dist/features/orders/components/RefundHistoryTable.js +4 -1
- package/dist/features/orders/components/RefundRequestView.js +1 -1
- package/dist/features/orders/components/YourPurchaseStrip.js +5 -1
- package/dist/features/orders/schemas/index.d.ts +86 -86
- package/dist/features/parts/components/AssemblyDrawer.js +8 -1
- package/dist/features/parts/components/ModelCompositionPanel.js +5 -1
- package/dist/features/parts/components/PartDetailPageView.js +7 -1
- package/dist/features/parts/components/PartsIndexPageView.js +6 -1
- package/dist/features/parts/components/PartsSearchBox.js +5 -1
- package/dist/features/payments/schemas/index.d.ts +10 -10
- package/dist/features/points/schemas/adjust-form.d.ts +2 -2
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +1 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +10 -3
- package/dist/features/pre-orders/components/PreOrderActionsClient.js +6 -1
- package/dist/features/pre-orders/components/PreOrderBadge.js +2 -1
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +9 -2
- package/dist/features/pre-orders/components/PreOrderFilters.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +11 -2
- package/dist/features/pre-orders/components/PreOrdersListView.js +3 -1
- package/dist/features/pre-orders/components/PreorderCard.js +1 -1
- package/dist/features/pre-orders/schemas/index.d.ts +15 -15
- package/dist/features/price-index/components/PriceIndexToolView.js +4 -1
- package/dist/features/pricing/components/AdminPricingView.js +4 -1
- package/dist/features/print/components/BoxLabelPrintView.js +5 -1
- package/dist/features/print/components/LabelProfilePicker.js +3 -1
- package/dist/features/print/components/labels.js +3 -1
- package/dist/features/products/columns/productTableColumns.js +5 -1
- package/dist/features/products/components/ArtStickersListView.js +3 -1
- package/dist/features/products/components/AuctionDetailView.d.ts +1 -1
- package/dist/features/products/components/AuctionDetailView.js +2 -1
- package/dist/features/products/components/AuctionsIndexListing.js +10 -2
- package/dist/features/products/components/AvailabilityScopeHint.js +3 -1
- package/dist/features/products/components/AvailabilityTabs.js +1 -1
- package/dist/features/products/components/BidHistory.js +4 -1
- package/dist/features/products/components/CityCollectiblesView.js +6 -1
- package/dist/features/products/components/CompareOverlay.js +6 -1
- package/dist/features/products/components/CustomFieldsEditor.js +6 -1
- package/dist/features/products/components/CustomSectionTabContent.js +4 -1
- package/dist/features/products/components/CustomSectionsEditor.js +6 -1
- package/dist/features/products/components/FeatureBadge.js +2 -1
- package/dist/features/products/components/GroupMemberPicker.js +8 -1
- package/dist/features/products/components/GroupSettingsPanel.js +12 -1
- package/dist/features/products/components/MakeOfferButton.js +6 -1
- package/dist/features/products/components/MarketplaceBundleCard.js +6 -1
- package/dist/features/products/components/MarketplacePrizeDrawCard.js +7 -1
- package/dist/features/products/components/NonRefundableConsentModal.js +6 -1
- package/dist/features/products/components/PreOrderDetailView.d.ts +1 -1
- package/dist/features/products/components/PreOrderDetailView.js +1 -1
- package/dist/features/products/components/PrizeDrawCollage.js +6 -1
- package/dist/features/products/components/PrizeDrawDetailPageView.js +6 -1
- package/dist/features/products/components/PrizeDrawEntryActions.js +7 -1
- package/dist/features/products/components/PrizeDrawWinnerMappingView.js +7 -1
- package/dist/features/products/components/PrizeDrawsIndexListing.js +8 -1
- package/dist/features/products/components/PrizeDrawsListingView.js +3 -1
- package/dist/features/products/components/PrizeDrawsSection.js +3 -1
- package/dist/features/products/components/PrizeRevealModal.js +6 -1
- package/dist/features/products/components/ProductCardMetadataSection.js +3 -1
- package/dist/features/products/components/ProductDetailActions.js +4 -1
- package/dist/features/products/components/ProductDetailPageView.js +10 -2
- package/dist/features/products/components/ProductDetailView.d.ts +1 -1
- package/dist/features/products/components/ProductDetailView.js +1 -1
- package/dist/features/products/components/ProductFeatureBadges.js +4 -1
- package/dist/features/products/components/ProductFeaturesSelector.js +3 -1
- package/dist/features/products/components/ProductFilters.js +2 -1
- package/dist/features/products/components/ProductForm.js +1 -1
- package/dist/features/products/components/ProductGalleryClient.js +4 -1
- package/dist/features/products/components/ProductGradingTab.js +4 -1
- package/dist/features/products/components/ProductGrid.d.ts +1 -1
- package/dist/features/products/components/ProductGrid.js +7 -1
- package/dist/features/products/components/ProductsIndexListing.js +11 -3
- package/dist/features/products/components/ProductsIndexPageView.js +6 -2
- package/dist/features/products/components/RelatedItemsSection.js +1 -1
- package/dist/features/products/components/RelatedProducts.js +3 -1
- package/dist/features/products/components/ShowGroupSection.js +7 -1
- package/dist/features/products/components/SparesListView.js +4 -1
- package/dist/features/products/components/SublistingCarouselSection.js +4 -1
- package/dist/features/products/components/SublistingCategorySelect.js +2 -1
- package/dist/features/products/hooks/useProducts.js +1 -1
- package/dist/features/products/schemas/index.d.ts +70 -70
- package/dist/features/products/schemas/product-features.validators.d.ts +52 -52
- package/dist/features/promotions/actions/promotions-actions.js +22 -6
- package/dist/features/promotions/components/AttachedCouponsSection.js +5 -2
- package/dist/features/promotions/components/CouponCard.js +8 -1
- package/dist/features/promotions/components/CouponCodeCopyRow.js +2 -1
- package/dist/features/promotions/components/CouponHelpDetails.js +4 -1
- package/dist/features/promotions/components/CouponsIndexListing.js +12 -1
- package/dist/features/promotions/components/PromotionsView.js +4 -1
- package/dist/features/promotions/constants/attached-coupons.d.ts +14 -0
- package/dist/features/promotions/repository/coupons.repository.js +32 -2
- package/dist/features/promotions/schemas/firestore.d.ts +33 -0
- package/dist/features/promotions/schemas/firestore.js +44 -0
- package/dist/features/promotions/schemas/index.d.ts +108 -108
- package/dist/features/reviews/components/ReviewDetailPageView.js +4 -1
- package/dist/features/reviews/components/ReviewDetailShell.js +8 -1
- package/dist/features/reviews/components/ReviewFilters.js +1 -1
- package/dist/features/reviews/components/ReviewModal.js +7 -2
- package/dist/features/reviews/components/ReviewSummary.js +4 -2
- package/dist/features/reviews/components/ReviewsIndexPageView.js +3 -1
- package/dist/features/reviews/components/ReviewsList.js +7 -2
- package/dist/features/reviews/components/ReviewsListingPanel.js +7 -1
- package/dist/features/reviews/schemas/index.d.ts +40 -40
- package/dist/features/scams/components/ScamAwarenessModal.js +7 -1
- package/dist/features/scams/components/ScamProfileView.js +11 -1
- package/dist/features/scams/constants/scammer-status-display.d.ts +1 -1
- package/dist/features/scams/schemas/index.d.ts +22 -22
- package/dist/features/scams/schemas/report-form.d.ts +4 -4
- package/dist/features/search/components/EntityTypeahead.js +5 -1
- package/dist/features/search/components/Search.js +7 -1
- package/dist/features/search/components/SearchFacetRail.js +4 -1
- package/dist/features/search/components/SearchResultsClient.js +1 -1
- package/dist/features/search/components/SearchResultsPageView.js +5 -1
- package/dist/features/seller/components/BulkStockModal.js +2 -1
- package/dist/features/seller/components/CategoryChipPicker.js +3 -1
- package/dist/features/seller/components/FulfillmentView.js +2 -1
- package/dist/features/seller/components/GroupInlineSelect.js +1 -1
- package/dist/features/seller/components/SellerAddressesView.js +11 -2
- package/dist/features/seller/components/SellerAnalyticsAlertsView.js +9 -1
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +1 -1
- package/dist/features/seller/components/SellerAnalyticsView.js +4 -1
- package/dist/features/seller/components/SellerBidsView.js +8 -2
- package/dist/features/seller/components/SellerBundlesView.js +7 -1
- package/dist/features/seller/components/SellerCouponEditorView.js +5 -1
- package/dist/features/seller/components/SellerCouponsView.d.ts +1 -1
- package/dist/features/seller/components/SellerCouponsView.js +5 -1
- package/dist/features/seller/components/SellerDashboardView.d.ts +1 -1
- package/dist/features/seller/components/SellerDashboardView.js +4 -1
- package/dist/features/seller/components/SellerFeaturesView.js +8 -1
- package/dist/features/seller/components/SellerGoogleReviewsView.js +7 -1
- package/dist/features/seller/components/SellerGroupedListingsView.js +4 -1
- package/dist/features/seller/components/SellerGuideView.d.ts +1 -1
- package/dist/features/seller/components/SellerGuideView.js +1 -1
- package/dist/features/seller/components/SellerListingTypeView.js +4 -1
- package/dist/features/seller/components/SellerOffersView.d.ts +1 -1
- package/dist/features/seller/components/SellerOffersView.js +4 -1
- package/dist/features/seller/components/SellerOrdersView.js +8 -1
- package/dist/features/seller/components/SellerPayoutHistoryTable.js +2 -1
- package/dist/features/seller/components/SellerPayoutMethodsView.js +7 -1
- package/dist/features/seller/components/SellerPayoutRequestView.js +8 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +3 -2
- package/dist/features/seller/components/SellerPayoutStats.js +1 -1
- package/dist/features/seller/components/SellerPayoutsView.d.ts +1 -1
- package/dist/features/seller/components/SellerPayoutsView.js +10 -1
- package/dist/features/seller/components/SellerProductsCards.js +7 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +4 -1
- package/dist/features/seller/components/SellerProductsView.js +7 -1
- package/dist/features/seller/components/SellerReviewsView.js +11 -1
- package/dist/features/seller/components/SellerShippingConfigsView.js +6 -1
- package/dist/features/seller/components/SellerShippingView.js +2 -2
- package/dist/features/seller/components/SellerSidebar.js +7 -1
- package/dist/features/seller/components/SellerStoreCategoriesView.js +5 -1
- package/dist/features/seller/components/SellerStoreSetupView.js +2 -1
- package/dist/features/seller/components/SellerStorefrontView.js +1 -1
- package/dist/features/seller/components/SellerSupportView.d.ts +1 -1
- package/dist/features/seller/components/SellerSupportView.js +4 -1
- package/dist/features/seller/components/SellersListView.d.ts +1 -1
- package/dist/features/seller/components/SellersListView.js +1 -1
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +1 -1
- package/dist/features/seller/components/analytics/SellerRevenueChart.js +2 -1
- package/dist/features/seller/components/analytics/SellerTopProducts.js +3 -1
- package/dist/features/seller/schemas/coupon-form.d.ts +50 -50
- package/dist/features/seller/schemas/index.d.ts +22 -22
- package/dist/features/seller/schemas/order-forms.d.ts +12 -12
- package/dist/features/server-errors/schemas/index.d.ts +4 -4
- package/dist/features/shell/CommandPalette.js +7 -1
- package/dist/features/shell/FormShell.js +5 -1
- package/dist/features/shell/SectionForm.js +4 -1
- package/dist/features/shipments/components/AdminShipmentEditorView.js +9 -1
- package/dist/features/shipments/components/AdminShipmentLotItemsView.js +11 -1
- package/dist/features/shipments/components/AdminShipmentProjectionsView.js +10 -1
- package/dist/features/shipments/components/AdminShipmentsView.d.ts +1 -1
- package/dist/features/shipments/components/AdminShipmentsView.js +3 -1
- package/dist/features/shipments/components/ShipmentItemLinkModal.js +7 -1
- package/dist/features/shipments/schemas/validation.d.ts +44 -44
- package/dist/features/site-settings/components/ActionPermissionsManager.js +7 -2
- package/dist/features/site-settings/components/NavPermissionsManager.js +6 -2
- package/dist/features/site-settings/components/ThemeManagerView.js +9 -1
- package/dist/features/status-history/components/StatusTimeline.js +4 -1
- package/dist/features/sticker-trace/components/StickerPrintPanel.js +6 -1
- package/dist/features/sticker-trace/components/StickerRetryPanel.js +4 -1
- package/dist/features/sticker-trace/components/StickerRunHistoryPanel.js +5 -1
- package/dist/features/sticker-trace/components/StickerTraceStudio.js +5 -1
- package/dist/features/store-extensions/schemas/admin-notification-form.d.ts +5 -5
- package/dist/features/store-extensions/schemas/custom-role-form.d.ts +12 -12
- package/dist/features/store-extensions/schemas/item-request-create-form.d.ts +2 -2
- package/dist/features/store-extensions/schemas/listing-template-form.d.ts +13 -13
- package/dist/features/store-extensions/schemas/payout-method-form.d.ts +10 -10
- package/dist/features/store-extensions/schemas/shipping-config-form.d.ts +12 -12
- package/dist/features/store-extensions/schemas/store-category-form.d.ts +10 -10
- package/dist/features/stores/components/InteractiveStoreCard.js +6 -1
- package/dist/features/stores/components/SellerStandingPanel.js +3 -1
- package/dist/features/stores/components/SellerTierBadge.js +2 -1
- package/dist/features/stores/components/StoreAboutView.js +5 -1
- package/dist/features/stores/components/StoreAddressSelectorCreate.js +2 -1
- package/dist/features/stores/components/StoreAuctionsListing.js +8 -1
- package/dist/features/stores/components/StoreAuctionsView.d.ts +1 -1
- package/dist/features/stores/components/StoreAuctionsView.js +1 -1
- package/dist/features/stores/components/StoreBundlesPageView.js +1 -1
- package/dist/features/stores/components/StoreCapabilitiesGuideView.js +6 -1
- package/dist/features/stores/components/StoreClassifiedsListing.js +7 -1
- package/dist/features/stores/components/StoreCreateForm.js +3 -1
- package/dist/features/stores/components/StoreDetailLayoutView.js +5 -2
- package/dist/features/stores/components/StoreDigitalCodesListing.js +7 -1
- package/dist/features/stores/components/StoreFilters.js +1 -1
- package/dist/features/stores/components/StoreFinanceGuideView.js +6 -1
- package/dist/features/stores/components/StoreGuideHubView.js +6 -1
- package/dist/features/stores/components/StoreHeader.js +6 -1
- package/dist/features/stores/components/StoreListingsGuideView.js +6 -1
- package/dist/features/stores/components/StoreLiveItemsListing.js +7 -1
- package/dist/features/stores/components/StoreNavTabs.js +3 -1
- package/dist/features/stores/components/StoreOrdersGuideView.js +7 -1
- package/dist/features/stores/components/StorePreOrdersListing.js +7 -1
- package/dist/features/stores/components/StoreProductsListing.js +8 -1
- package/dist/features/stores/components/StoreProductsView.js +5 -1
- package/dist/features/stores/components/StoreReviewsView.d.ts +1 -1
- package/dist/features/stores/components/StoreReviewsView.js +1 -1
- package/dist/features/stores/components/StoreSettingsGuideView.js +6 -1
- package/dist/features/stores/components/StoresIndexListing.js +9 -2
- package/dist/features/stores/components/StoresIndexPageView.js +4 -2
- package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +1 -1
- package/dist/features/stores/schemas/index.d.ts +28 -28
- package/dist/features/support/schemas/index.d.ts +14 -14
- package/dist/features/support/schemas/ticket-create-form.d.ts +4 -4
- package/dist/features/tax-codes/schemas/tax-code-form.d.ts +4 -4
- package/dist/features/tax-codes/schemas/tax-codes.validators.d.ts +10 -10
- package/dist/features/tester/actions/checklist-item-actions.d.ts +3 -3
- package/dist/features/tester/components/AdminTesterFeedbackIssuesView.js +7 -1
- package/dist/features/tester/components/AdminTesterFeedbackListView.js +5 -1
- package/dist/features/tester/components/AdminTesterFeedbackReportView.js +2 -1
- package/dist/features/tester/components/AdminTesterFeedbackView.js +5 -1
- package/dist/features/tester/components/TesterChecklistStepRow.js +8 -1
- package/dist/features/tester/components/TesterFeedbackChart.js +3 -1
- package/dist/features/tester/schemas/checklist-item-form.d.ts +2 -2
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +8 -1
- package/dist/features/wishlist/components/WishlistCapWatcher.js +1 -1
- package/dist/features/wishlist/components/WishlistHeartButton.js +2 -1
- package/dist/features/wishlist/components/WishlistPage.js +5 -1
- package/dist/features/wishlist/components/WishlistView.js +3 -1
- package/dist/features/wishlist/hooks/useWishlistToggle.js +1 -1
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/features/wishlist/schemas/index.d.ts +2 -2
- package/dist/index.d.ts +2494 -2451
- package/dist/index.js +1542 -1499
- package/dist/next/api/routeHandler.js +1 -1
- package/dist/react/hooks/use-action-dispatch.d.ts +1 -1
- package/dist/react/hooks/use-action-dispatch.js +1 -1
- package/dist/schemas/registry.d.ts +488 -483
- package/dist/schemas/sieve.d.ts +5 -5
- package/dist/schemas/webhooks/google-oauth.d.ts +4 -4
- package/dist/server.d.ts +369 -362
- package/dist/server.js +355 -351
- package/dist/ui/components/HorizontalScroller.js +27 -2
- package/dist/ui/components/Repeater.js +4 -1
- package/dist/validation/schemas.d.ts +26 -26
- package/package.json +89 -1
|
@@ -66,19 +66,19 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
66
66
|
youtubeId: z.ZodOptional<z.ZodString>;
|
|
67
67
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
type: "
|
|
69
|
+
type: "image" | "video" | "file";
|
|
70
70
|
url: string;
|
|
71
|
-
source?: "upload" | "youtube" | "external" | undefined;
|
|
72
71
|
alt?: string | undefined;
|
|
73
72
|
thumbnailUrl?: string | undefined;
|
|
73
|
+
source?: "upload" | "youtube" | "external" | undefined;
|
|
74
74
|
youtubeId?: string | undefined;
|
|
75
75
|
duration?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
type: "
|
|
77
|
+
type: "image" | "video" | "file";
|
|
78
78
|
url: string;
|
|
79
|
-
source?: "upload" | "youtube" | "external" | undefined;
|
|
80
79
|
alt?: string | undefined;
|
|
81
80
|
thumbnailUrl?: string | undefined;
|
|
81
|
+
source?: "upload" | "youtube" | "external" | undefined;
|
|
82
82
|
youtubeId?: string | undefined;
|
|
83
83
|
duration?: number | undefined;
|
|
84
84
|
}>, "many">>;
|
|
@@ -263,12 +263,12 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
263
263
|
unit: z.ZodOptional<z.ZodString>;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
value: string;
|
|
266
|
-
type: "number" | "boolean" | "
|
|
266
|
+
type: "number" | "boolean" | "url" | "text";
|
|
267
267
|
key: string;
|
|
268
268
|
unit?: string | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
value: string;
|
|
271
|
-
type: "number" | "boolean" | "
|
|
271
|
+
type: "number" | "boolean" | "url" | "text";
|
|
272
272
|
key: string;
|
|
273
273
|
unit?: string | undefined;
|
|
274
274
|
}>, "many">>;
|
|
@@ -283,12 +283,12 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
283
283
|
unit: z.ZodOptional<z.ZodString>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
285
|
value: string;
|
|
286
|
-
type: "number" | "boolean" | "
|
|
286
|
+
type: "number" | "boolean" | "url" | "text";
|
|
287
287
|
key: string;
|
|
288
288
|
unit?: string | undefined;
|
|
289
289
|
}, {
|
|
290
290
|
value: string;
|
|
291
|
-
type: "number" | "boolean" | "
|
|
291
|
+
type: "number" | "boolean" | "url" | "text";
|
|
292
292
|
key: string;
|
|
293
293
|
unit?: string | undefined;
|
|
294
294
|
}>, "many">>;
|
|
@@ -298,7 +298,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
298
298
|
text?: string | undefined;
|
|
299
299
|
fields?: {
|
|
300
300
|
value: string;
|
|
301
|
-
type: "number" | "boolean" | "
|
|
301
|
+
type: "number" | "boolean" | "url" | "text";
|
|
302
302
|
key: string;
|
|
303
303
|
unit?: string | undefined;
|
|
304
304
|
}[] | undefined;
|
|
@@ -308,49 +308,33 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
308
308
|
text?: string | undefined;
|
|
309
309
|
fields?: {
|
|
310
310
|
value: string;
|
|
311
|
-
type: "number" | "boolean" | "
|
|
311
|
+
type: "number" | "boolean" | "url" | "text";
|
|
312
312
|
key: string;
|
|
313
313
|
unit?: string | undefined;
|
|
314
314
|
}[] | undefined;
|
|
315
315
|
}>, "many">>;
|
|
316
316
|
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
status: "
|
|
317
|
+
status: "draft" | "published" | "in_review" | "archived";
|
|
318
318
|
id: string;
|
|
319
319
|
title: string;
|
|
320
320
|
price: number;
|
|
321
321
|
currency?: string | undefined;
|
|
322
|
-
brand?: string | undefined;
|
|
323
322
|
video?: {
|
|
324
323
|
url: string;
|
|
325
324
|
thumbnailUrl?: string | undefined;
|
|
326
325
|
} | undefined;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
listingType?: ListingType | undefined;
|
|
326
|
+
description?: string | undefined;
|
|
327
|
+
slug?: string | undefined;
|
|
330
328
|
category?: string | undefined;
|
|
331
329
|
categorySlug?: string | undefined;
|
|
332
|
-
storeId?: string | undefined;
|
|
333
|
-
stockQuantity?: number | undefined;
|
|
334
|
-
rating?: number | undefined;
|
|
335
|
-
publishedAt?: string | undefined;
|
|
336
|
-
slug?: string | undefined;
|
|
337
|
-
viewCount?: number | undefined;
|
|
338
|
-
features?: string[] | undefined;
|
|
339
|
-
media?: {
|
|
340
|
-
type: "video" | "image" | "file";
|
|
341
|
-
url: string;
|
|
342
|
-
source?: "upload" | "youtube" | "external" | undefined;
|
|
343
|
-
alt?: string | undefined;
|
|
344
|
-
thumbnailUrl?: string | undefined;
|
|
345
|
-
youtubeId?: string | undefined;
|
|
346
|
-
duration?: number | undefined;
|
|
347
|
-
}[] | undefined;
|
|
348
|
-
description?: string | undefined;
|
|
349
330
|
subcategory?: string | undefined;
|
|
331
|
+
brand?: string | undefined;
|
|
332
|
+
stockQuantity?: number | undefined;
|
|
350
333
|
availableQuantity?: number | undefined;
|
|
351
334
|
madeToOrder?: boolean | undefined;
|
|
352
335
|
mainImage?: string | undefined;
|
|
353
336
|
images?: string[] | undefined;
|
|
337
|
+
storeId?: string | undefined;
|
|
354
338
|
featured?: boolean | undefined;
|
|
355
339
|
tags?: string[] | undefined;
|
|
356
340
|
specifications?: {
|
|
@@ -358,12 +342,14 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
358
342
|
name: string;
|
|
359
343
|
unit?: string | undefined;
|
|
360
344
|
}[] | undefined;
|
|
345
|
+
features?: string[] | undefined;
|
|
361
346
|
shippingInfo?: string | undefined;
|
|
362
347
|
returnPolicy?: string | undefined;
|
|
363
348
|
condition?: "new" | "like_new" | "good" | "fair" | "poor" | "used" | "refurbished" | "broken" | "graded" | undefined;
|
|
364
349
|
insurance?: boolean | undefined;
|
|
365
350
|
insuranceCost?: number | undefined;
|
|
366
351
|
shippingPaidBy?: "seller" | "buyer" | undefined;
|
|
352
|
+
listingType?: ListingType | undefined;
|
|
367
353
|
auctionEndDate?: string | Date | undefined;
|
|
368
354
|
startingBid?: number | undefined;
|
|
369
355
|
currentBid?: number | undefined;
|
|
@@ -383,14 +369,27 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
383
369
|
preOrderCancellable?: boolean | undefined;
|
|
384
370
|
isPromoted?: boolean | undefined;
|
|
385
371
|
pickupAddressId?: string | undefined;
|
|
386
|
-
prizeRevealStatus?: "
|
|
372
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | undefined;
|
|
387
373
|
prizeRevealWindowStart?: string | Date | undefined;
|
|
388
374
|
prizeRevealWindowEnd?: string | Date | undefined;
|
|
389
375
|
prizeDrawDurationDays?: number | undefined;
|
|
390
|
-
prizeRevealMode?: "
|
|
376
|
+
prizeRevealMode?: "instant" | "scheduled" | undefined;
|
|
391
377
|
prizeCurrentEntries?: number | undefined;
|
|
392
378
|
prizeMaxEntries?: number | undefined;
|
|
393
379
|
pricePerEntry?: number | undefined;
|
|
380
|
+
createdAt?: string | undefined;
|
|
381
|
+
updatedAt?: string | undefined;
|
|
382
|
+
rating?: number | undefined;
|
|
383
|
+
publishedAt?: string | undefined;
|
|
384
|
+
media?: {
|
|
385
|
+
type: "image" | "video" | "file";
|
|
386
|
+
url: string;
|
|
387
|
+
alt?: string | undefined;
|
|
388
|
+
thumbnailUrl?: string | undefined;
|
|
389
|
+
source?: "upload" | "youtube" | "external" | undefined;
|
|
390
|
+
youtubeId?: string | undefined;
|
|
391
|
+
duration?: number | undefined;
|
|
392
|
+
}[] | undefined;
|
|
394
393
|
seo?: {
|
|
395
394
|
title?: string | undefined;
|
|
396
395
|
description?: string | undefined;
|
|
@@ -404,6 +403,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
404
403
|
finish?: string | undefined;
|
|
405
404
|
editionSize?: number | undefined;
|
|
406
405
|
} | undefined;
|
|
406
|
+
viewCount?: number | undefined;
|
|
407
407
|
avgRating?: number | undefined;
|
|
408
408
|
reviewCount?: number | undefined;
|
|
409
409
|
bulkDiscounts?: {
|
|
@@ -416,7 +416,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
416
416
|
minOfferPercent?: number | undefined;
|
|
417
417
|
customFields?: {
|
|
418
418
|
value: string;
|
|
419
|
-
type: "number" | "boolean" | "
|
|
419
|
+
type: "number" | "boolean" | "url" | "text";
|
|
420
420
|
key: string;
|
|
421
421
|
unit?: string | undefined;
|
|
422
422
|
}[] | undefined;
|
|
@@ -426,7 +426,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
426
426
|
text?: string | undefined;
|
|
427
427
|
fields?: {
|
|
428
428
|
value: string;
|
|
429
|
-
type: "number" | "boolean" | "
|
|
429
|
+
type: "number" | "boolean" | "url" | "text";
|
|
430
430
|
key: string;
|
|
431
431
|
unit?: string | undefined;
|
|
432
432
|
}[] | undefined;
|
|
@@ -454,43 +454,27 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
454
454
|
sellerAvatar?: string | undefined;
|
|
455
455
|
stockCount?: number | undefined;
|
|
456
456
|
}, {
|
|
457
|
-
status: "
|
|
457
|
+
status: "draft" | "published" | "in_review" | "archived";
|
|
458
458
|
id: string;
|
|
459
459
|
title: string;
|
|
460
460
|
price: number;
|
|
461
461
|
currency?: string | undefined;
|
|
462
|
-
brand?: string | undefined;
|
|
463
462
|
video?: {
|
|
464
463
|
url: string;
|
|
465
464
|
thumbnailUrl?: string | undefined;
|
|
466
465
|
} | undefined;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
listingType?: ListingType | undefined;
|
|
466
|
+
description?: string | undefined;
|
|
467
|
+
slug?: string | undefined;
|
|
470
468
|
category?: string | undefined;
|
|
471
469
|
categorySlug?: string | undefined;
|
|
472
|
-
storeId?: string | undefined;
|
|
473
|
-
stockQuantity?: number | undefined;
|
|
474
|
-
rating?: number | undefined;
|
|
475
|
-
publishedAt?: string | undefined;
|
|
476
|
-
slug?: string | undefined;
|
|
477
|
-
viewCount?: number | undefined;
|
|
478
|
-
features?: string[] | undefined;
|
|
479
|
-
media?: {
|
|
480
|
-
type: "video" | "image" | "file";
|
|
481
|
-
url: string;
|
|
482
|
-
source?: "upload" | "youtube" | "external" | undefined;
|
|
483
|
-
alt?: string | undefined;
|
|
484
|
-
thumbnailUrl?: string | undefined;
|
|
485
|
-
youtubeId?: string | undefined;
|
|
486
|
-
duration?: number | undefined;
|
|
487
|
-
}[] | undefined;
|
|
488
|
-
description?: string | undefined;
|
|
489
470
|
subcategory?: string | undefined;
|
|
471
|
+
brand?: string | undefined;
|
|
472
|
+
stockQuantity?: number | undefined;
|
|
490
473
|
availableQuantity?: number | undefined;
|
|
491
474
|
madeToOrder?: boolean | undefined;
|
|
492
475
|
mainImage?: string | undefined;
|
|
493
476
|
images?: string[] | undefined;
|
|
477
|
+
storeId?: string | undefined;
|
|
494
478
|
featured?: boolean | undefined;
|
|
495
479
|
tags?: string[] | undefined;
|
|
496
480
|
specifications?: {
|
|
@@ -498,12 +482,14 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
498
482
|
name: string;
|
|
499
483
|
unit?: string | undefined;
|
|
500
484
|
}[] | undefined;
|
|
485
|
+
features?: string[] | undefined;
|
|
501
486
|
shippingInfo?: string | undefined;
|
|
502
487
|
returnPolicy?: string | undefined;
|
|
503
488
|
condition?: "new" | "like_new" | "good" | "fair" | "poor" | "used" | "refurbished" | "broken" | "graded" | undefined;
|
|
504
489
|
insurance?: boolean | undefined;
|
|
505
490
|
insuranceCost?: number | undefined;
|
|
506
491
|
shippingPaidBy?: "seller" | "buyer" | undefined;
|
|
492
|
+
listingType?: ListingType | undefined;
|
|
507
493
|
auctionEndDate?: string | Date | undefined;
|
|
508
494
|
startingBid?: number | undefined;
|
|
509
495
|
currentBid?: number | undefined;
|
|
@@ -523,14 +509,27 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
523
509
|
preOrderCancellable?: boolean | undefined;
|
|
524
510
|
isPromoted?: boolean | undefined;
|
|
525
511
|
pickupAddressId?: string | undefined;
|
|
526
|
-
prizeRevealStatus?: "
|
|
512
|
+
prizeRevealStatus?: "pending" | "open" | "closed" | undefined;
|
|
527
513
|
prizeRevealWindowStart?: string | Date | undefined;
|
|
528
514
|
prizeRevealWindowEnd?: string | Date | undefined;
|
|
529
515
|
prizeDrawDurationDays?: number | undefined;
|
|
530
|
-
prizeRevealMode?: "
|
|
516
|
+
prizeRevealMode?: "instant" | "scheduled" | undefined;
|
|
531
517
|
prizeCurrentEntries?: number | undefined;
|
|
532
518
|
prizeMaxEntries?: number | undefined;
|
|
533
519
|
pricePerEntry?: number | undefined;
|
|
520
|
+
createdAt?: string | undefined;
|
|
521
|
+
updatedAt?: string | undefined;
|
|
522
|
+
rating?: number | undefined;
|
|
523
|
+
publishedAt?: string | undefined;
|
|
524
|
+
media?: {
|
|
525
|
+
type: "image" | "video" | "file";
|
|
526
|
+
url: string;
|
|
527
|
+
alt?: string | undefined;
|
|
528
|
+
thumbnailUrl?: string | undefined;
|
|
529
|
+
source?: "upload" | "youtube" | "external" | undefined;
|
|
530
|
+
youtubeId?: string | undefined;
|
|
531
|
+
duration?: number | undefined;
|
|
532
|
+
}[] | undefined;
|
|
534
533
|
seo?: {
|
|
535
534
|
title?: string | undefined;
|
|
536
535
|
description?: string | undefined;
|
|
@@ -544,6 +543,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
544
543
|
finish?: string | undefined;
|
|
545
544
|
editionSize?: number | undefined;
|
|
546
545
|
} | undefined;
|
|
546
|
+
viewCount?: number | undefined;
|
|
547
547
|
avgRating?: number | undefined;
|
|
548
548
|
reviewCount?: number | undefined;
|
|
549
549
|
bulkDiscounts?: {
|
|
@@ -556,7 +556,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
556
556
|
minOfferPercent?: number | undefined;
|
|
557
557
|
customFields?: {
|
|
558
558
|
value: string;
|
|
559
|
-
type: "number" | "boolean" | "
|
|
559
|
+
type: "number" | "boolean" | "url" | "text";
|
|
560
560
|
key: string;
|
|
561
561
|
unit?: string | undefined;
|
|
562
562
|
}[] | undefined;
|
|
@@ -566,7 +566,7 @@ export declare const productItemSchema: z.ZodObject<{
|
|
|
566
566
|
text?: string | undefined;
|
|
567
567
|
fields?: {
|
|
568
568
|
value: string;
|
|
569
|
-
type: "number" | "boolean" | "
|
|
569
|
+
type: "number" | "boolean" | "url" | "text";
|
|
570
570
|
key: string;
|
|
571
571
|
unit?: string | undefined;
|
|
572
572
|
}[] | undefined;
|
|
@@ -611,28 +611,28 @@ export declare const productListParamsSchema: z.ZodObject<{
|
|
|
611
611
|
featured: z.ZodOptional<z.ZodBoolean>;
|
|
612
612
|
}, "strip", z.ZodTypeAny, {
|
|
613
613
|
sort?: string | undefined;
|
|
614
|
-
status?: "
|
|
615
|
-
page?: number | undefined;
|
|
616
|
-
q?: string | undefined;
|
|
617
|
-
listingType?: ListingType | undefined;
|
|
614
|
+
status?: "draft" | "published" | "in_review" | "archived" | undefined;
|
|
618
615
|
category?: string | undefined;
|
|
619
616
|
storeId?: string | undefined;
|
|
620
617
|
featured?: boolean | undefined;
|
|
621
618
|
condition?: "new" | "like_new" | "good" | "fair" | "poor" | "used" | "refurbished" | "broken" | "graded" | undefined;
|
|
619
|
+
listingType?: ListingType | undefined;
|
|
620
|
+
page?: number | undefined;
|
|
621
|
+
q?: string | undefined;
|
|
622
622
|
minPrice?: number | undefined;
|
|
623
623
|
maxPrice?: number | undefined;
|
|
624
624
|
inStock?: boolean | undefined;
|
|
625
625
|
perPage?: number | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
sort?: string | undefined;
|
|
628
|
-
status?: "
|
|
629
|
-
page?: number | undefined;
|
|
630
|
-
q?: string | undefined;
|
|
631
|
-
listingType?: ListingType | undefined;
|
|
628
|
+
status?: "draft" | "published" | "in_review" | "archived" | undefined;
|
|
632
629
|
category?: string | undefined;
|
|
633
630
|
storeId?: string | undefined;
|
|
634
631
|
featured?: boolean | undefined;
|
|
635
632
|
condition?: "new" | "like_new" | "good" | "fair" | "poor" | "used" | "refurbished" | "broken" | "graded" | undefined;
|
|
633
|
+
listingType?: ListingType | undefined;
|
|
634
|
+
page?: number | undefined;
|
|
635
|
+
q?: string | undefined;
|
|
636
636
|
minPrice?: number | undefined;
|
|
637
637
|
maxPrice?: number | undefined;
|
|
638
638
|
inStock?: boolean | undefined;
|
|
@@ -22,26 +22,26 @@ export declare const productFeatureAdminCreateSchema: z.ZodObject<{
|
|
|
22
22
|
isActive: z.ZodBoolean;
|
|
23
23
|
displayOrder: z.ZodNumber;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
|
|
26
|
-
scope: "store" | "platform";
|
|
27
|
-
icon: string;
|
|
28
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
25
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
29
26
|
isActive: boolean;
|
|
30
27
|
displayOrder: number;
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
icon: string;
|
|
29
|
+
label: string;
|
|
30
|
+
scope: "store" | "platform";
|
|
31
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
33
32
|
description?: string | undefined;
|
|
33
|
+
storeId?: string | undefined;
|
|
34
34
|
iconColor?: string | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
|
|
37
|
-
scope: "store" | "platform";
|
|
38
|
-
icon: string;
|
|
39
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
36
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
40
37
|
isActive: boolean;
|
|
41
38
|
displayOrder: number;
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
icon: string;
|
|
40
|
+
label: string;
|
|
41
|
+
scope: "store" | "platform";
|
|
42
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
44
43
|
description?: string | undefined;
|
|
44
|
+
storeId?: string | undefined;
|
|
45
45
|
iconColor?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
/** Shape for POST /api/store/features — store-scope only, storeId set server-side. */
|
|
@@ -55,21 +55,21 @@ export declare const productFeatureStoreCreateSchema: z.ZodObject<{
|
|
|
55
55
|
isActive: z.ZodBoolean;
|
|
56
56
|
displayOrder: z.ZodNumber;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
|
|
59
|
-
icon: string;
|
|
60
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
58
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
61
59
|
isActive: boolean;
|
|
62
60
|
displayOrder: number;
|
|
63
|
-
|
|
61
|
+
icon: string;
|
|
62
|
+
label: string;
|
|
63
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
64
64
|
description?: string | undefined;
|
|
65
65
|
iconColor?: string | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
|
|
68
|
-
icon: string;
|
|
69
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
67
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
70
68
|
isActive: boolean;
|
|
71
69
|
displayOrder: number;
|
|
72
|
-
|
|
70
|
+
icon: string;
|
|
71
|
+
label: string;
|
|
72
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
73
73
|
description?: string | undefined;
|
|
74
74
|
iconColor?: string | undefined;
|
|
75
75
|
}>;
|
|
@@ -84,23 +84,23 @@ export declare const productFeatureUpdateSchema: z.ZodObject<{
|
|
|
84
84
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
label?: string | undefined;
|
|
88
|
-
icon?: string | undefined;
|
|
89
|
-
category?: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder" | undefined;
|
|
90
87
|
description?: string | undefined;
|
|
88
|
+
category?: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder" | undefined;
|
|
91
89
|
isActive?: boolean | undefined;
|
|
92
90
|
displayOrder?: number | undefined;
|
|
91
|
+
icon?: string | undefined;
|
|
92
|
+
label?: string | undefined;
|
|
93
93
|
iconColor?: string | undefined;
|
|
94
|
-
productTypes?: ("all" | "
|
|
94
|
+
productTypes?: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
label?: string | undefined;
|
|
97
|
-
icon?: string | undefined;
|
|
98
|
-
category?: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder" | undefined;
|
|
99
96
|
description?: string | undefined;
|
|
97
|
+
category?: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder" | undefined;
|
|
100
98
|
isActive?: boolean | undefined;
|
|
101
99
|
displayOrder?: number | undefined;
|
|
100
|
+
icon?: string | undefined;
|
|
101
|
+
label?: string | undefined;
|
|
102
102
|
iconColor?: string | undefined;
|
|
103
|
-
productTypes?: ("all" | "
|
|
103
|
+
productTypes?: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
|
|
104
104
|
}>;
|
|
105
105
|
/**
|
|
106
106
|
* The FORM schema for the product-feature editor, with UI metadata.
|
|
@@ -130,48 +130,48 @@ export declare const productFeatureFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
130
130
|
isActive: z.ZodBoolean;
|
|
131
131
|
displayOrder: z.ZodNumber;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
|
|
134
|
-
scope: "store" | "platform";
|
|
135
|
-
icon: string;
|
|
136
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
133
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
137
134
|
isActive: boolean;
|
|
138
135
|
displayOrder: number;
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
icon: string;
|
|
137
|
+
label: string;
|
|
138
|
+
scope: "store" | "platform";
|
|
139
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
141
140
|
description?: string | undefined;
|
|
141
|
+
storeId?: string | undefined;
|
|
142
142
|
iconColor?: string | undefined;
|
|
143
143
|
}, {
|
|
144
|
-
|
|
145
|
-
scope: "store" | "platform";
|
|
146
|
-
icon: string;
|
|
147
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
144
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
148
145
|
isActive: boolean;
|
|
149
146
|
displayOrder: number;
|
|
150
|
-
|
|
151
|
-
|
|
147
|
+
icon: string;
|
|
148
|
+
label: string;
|
|
149
|
+
scope: "store" | "platform";
|
|
150
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
152
151
|
description?: string | undefined;
|
|
152
|
+
storeId?: string | undefined;
|
|
153
153
|
iconColor?: string | undefined;
|
|
154
154
|
}>, {
|
|
155
|
-
|
|
156
|
-
scope: "store" | "platform";
|
|
157
|
-
icon: string;
|
|
158
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
155
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
159
156
|
isActive: boolean;
|
|
160
157
|
displayOrder: number;
|
|
161
|
-
|
|
162
|
-
|
|
158
|
+
icon: string;
|
|
159
|
+
label: string;
|
|
160
|
+
scope: "store" | "platform";
|
|
161
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
163
162
|
description?: string | undefined;
|
|
163
|
+
storeId?: string | undefined;
|
|
164
164
|
iconColor?: string | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
|
|
167
|
-
scope: "store" | "platform";
|
|
168
|
-
icon: string;
|
|
169
|
-
category: "shipping" | "seller" | "custom" | "condition" | "auction" | "platform" | "preorder";
|
|
166
|
+
category: "seller" | "custom" | "condition" | "auction" | "platform" | "shipping" | "preorder";
|
|
170
167
|
isActive: boolean;
|
|
171
168
|
displayOrder: number;
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
icon: string;
|
|
170
|
+
label: string;
|
|
171
|
+
scope: "store" | "platform";
|
|
172
|
+
productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
|
|
174
173
|
description?: string | undefined;
|
|
174
|
+
storeId?: string | undefined;
|
|
175
175
|
iconColor?: string | undefined;
|
|
176
176
|
}>;
|
|
177
177
|
export type ProductFeatureFormValues = z.infer<typeof productFeatureFormSchema>;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { productRepository } from "../../../features/products/repository/products.repository.js";
|
|
8
8
|
import { couponsRepository } from "../repository/coupons.repository.js";
|
|
9
9
|
import { ProductStatusValues } from "../../../features/products/schemas/index.js";
|
|
10
|
+
import { isCouponDisplayable } from "../schemas/index.js";
|
|
10
11
|
/**
|
|
11
12
|
* Fetch all promotions data in parallel:
|
|
12
13
|
* promoted products, featured products, and active/valid coupons.
|
|
@@ -17,18 +18,33 @@ export async function getPromotions() {
|
|
|
17
18
|
productRepository.findFeatured(),
|
|
18
19
|
couponsRepository.getActiveCoupons(),
|
|
19
20
|
]);
|
|
20
|
-
|
|
21
|
+
/*
|
|
22
|
+
* `const now` lived here to feed the hand-inlined coupon validity filter
|
|
23
|
+
* below. That filter is now `isCouponDisplayable`, which takes its own clock,
|
|
24
|
+
* so the binding had no remaining reader.
|
|
25
|
+
*/
|
|
21
26
|
const promotedProducts = promotedRaw
|
|
22
27
|
.filter((p) => p.status === ProductStatusValues.PUBLISHED)
|
|
23
28
|
.slice(0, 12);
|
|
24
29
|
const featuredProducts = featuredRaw
|
|
25
30
|
.filter((p) => p.status === ProductStatusValues.PUBLISHED)
|
|
26
31
|
.slice(0, 8);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
/*
|
|
33
|
+
* 🛑 A HAND-INLINED COPY OF THE VALIDITY RULE, AND IT DISAGREED WITH THE
|
|
34
|
+
* PAGE IT FEEDS.
|
|
35
|
+
*
|
|
36
|
+
* This required `startDate <= now`, so every code published ahead of its
|
|
37
|
+
* opening date was dropped — while `/api/coupons`, which the page's own
|
|
38
|
+
* `CouponsIndexListing` fetches from client-side, has never applied that
|
|
39
|
+
* clause. The result was a page whose server half swore there were no
|
|
40
|
+
* coupons and whose client half rendered three, and a Coupons tab counted
|
|
41
|
+
* from the half that was wrong.
|
|
42
|
+
*
|
|
43
|
+
* `isCouponDisplayable` is the shared predicate — expired and inactive are
|
|
44
|
+
* still dropped, not-yet-open is kept. Root Cause #75: one money predicate,
|
|
45
|
+
* hand-written in several places, is how the copies silently diverge.
|
|
46
|
+
*/
|
|
47
|
+
const validCoupons = activeCoupons.filter(isCouponDisplayable);
|
|
32
48
|
return {
|
|
33
49
|
promotedProducts,
|
|
34
50
|
featuredProducts,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useId } from "react";
|
|
4
|
-
import { Badge
|
|
4
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
5
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
6
|
+
import { Grid, Stack } from "../../../ui/components/Layout.js";
|
|
7
|
+
import { Heading, Text } from "../../../ui/components/Typography.js";
|
|
5
8
|
import { formatCurrency } from "../../../utils/number.formatter.js";
|
|
6
9
|
import { CouponCodeCopyRow } from "./CouponCodeCopyRow.js";
|
|
7
10
|
/**
|
|
@@ -94,6 +97,6 @@ export function AttachedCouponsSection({ coupons, title = "Coupons", description
|
|
|
94
97
|
* configs the winner is decided by emission order rather than by
|
|
95
98
|
* anything readable here (Root Cause #79).
|
|
96
99
|
*/
|
|
97
|
-
return (_jsx(Div, { surface: "card", padding: "card", children: _jsxs(Stack, { gap: "sm", children: [_jsxs(Stack, { gap: "xs", children: [summary ? (_jsx(Div, { children: _jsx(Badge, { variant: "primary", children: summary }) })) : null, _jsx(Text, { weight: "semibold", children: coupon.name }), coupon.description ? (_jsx(Text, { size: "sm", color: "muted", children: coupon.description })) : null] }), _jsx(CouponCodeCopyRow, { code: coupon.code, ariaContext: coupon.name }), conditions ? (_jsx(Text, { size: "xs", color: "muted", children: conditions })) : null] }) }, coupon.id));
|
|
100
|
+
return (_jsx(Div, { surface: "card", padding: "card", children: _jsxs(Stack, { gap: "sm", children: [_jsxs(Stack, { gap: "xs", children: [summary ? (_jsx(Div, { children: _jsx(Badge, { variant: "primary", children: summary }) })) : null, coupon.startsAt ? (_jsx(Div, { children: _jsx(Badge, { variant: "warning", children: `Opens ${new Date(coupon.startsAt).toLocaleDateString("en-IN", { day: "numeric", month: "short" })}` }) })) : null, _jsx(Text, { weight: "semibold", children: coupon.name }), coupon.description ? (_jsx(Text, { size: "sm", color: "muted", children: coupon.description })) : null] }), _jsx(CouponCodeCopyRow, { code: coupon.code, ariaContext: coupon.name }), conditions ? (_jsx(Text, { size: "xs", color: "muted", children: conditions })) : null] }) }, coupon.id));
|
|
98
101
|
}) })] }));
|
|
99
102
|
}
|
|
@@ -3,7 +3,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { normalizeError } from "../../../errors/normalize.js";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { Pencil, Trash2, ToggleLeft, ToggleRight } from "lucide-react";
|
|
6
|
-
import { Badge
|
|
6
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
7
|
+
import { BaseListingCard } from "../../../ui/components/BaseListingCard.js";
|
|
8
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
9
|
+
import { ConfirmDeleteModal } from "../../../ui/components/ConfirmDeleteModal.js";
|
|
10
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
11
|
+
import { IconButton } from "../../../ui/components/IconButton.js";
|
|
12
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
13
|
+
import { Span, Text } from "../../../ui/components/Typography.js";
|
|
7
14
|
import { useLongPress } from "../../../react/hooks/useLongPress.js";
|
|
8
15
|
import { ACCOUNT_ENDPOINTS } from "../../../constants/api-endpoints.js";
|
|
9
16
|
const CLS_TOGGLE_ON = "h-4 w-4 text-success dark:text-success";
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { normalizeError } from "../../../errors/normalize.js";
|
|
5
|
-
import { Code
|
|
5
|
+
import { Code } from "../../../ui/components/Semantic.js";
|
|
6
|
+
import { Row } from "../../../ui/components/Layout.js";
|
|
6
7
|
import { Button } from "../../../ui/components/Button.js";
|
|
7
8
|
/**
|
|
8
9
|
* The code + "Copy code" row. ONE implementation, shared by `EventOfferCard`
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Details, Summary
|
|
3
|
+
import { Details, Summary } from "../../../ui/components/Details.js";
|
|
4
|
+
import { Stack } from "../../../ui/components/Layout.js";
|
|
5
|
+
import { Text, Span } from "../../../ui/components/Typography.js";
|
|
6
|
+
import { Ul, Li } from "../../../ui/components/Semantic.js";
|
|
4
7
|
import { COUPON_HELP } from "../constants/coupon-help.js";
|
|
5
8
|
function HelpSection({ heading, items }) {
|
|
6
9
|
return (_jsxs(Stack, { gap: "dense", children: [_jsx(Text, { size: "sm", weight: "semibold", children: heading }), _jsx(Ul, { marker: "disc", indent: "md", spacing: "tight", size: "sm", children: items.map((item) => (_jsx(Li, { color: "muted", children: item }, item))) })] }));
|
|
@@ -3,7 +3,18 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import { useState, useCallback, useMemo } from "react";
|
|
4
4
|
import { Search, SlidersHorizontal, X } from "lucide-react";
|
|
5
5
|
import { useUrlTable } from "../../../react/hooks/useUrlTable.js";
|
|
6
|
-
import { Button
|
|
6
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
7
|
+
import { DateInput } from "../../../ui/components/DateInput.js";
|
|
8
|
+
import { IconButton } from "../../../ui/components/IconButton.js";
|
|
9
|
+
import { Input } from "../../../ui/components/Input.js";
|
|
10
|
+
import { ListingFilterDrawer } from "../../../ui/components/ListingFilterDrawer.js";
|
|
11
|
+
import { Pagination } from "../../../ui/components/Pagination.js";
|
|
12
|
+
import { RadioGroup } from "../../../ui/components/Radio.js";
|
|
13
|
+
import { SortDropdown } from "../../../ui/components/SortDropdown.js";
|
|
14
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
15
|
+
import { Grid, Row, Stack } from "../../../ui/components/Layout.js";
|
|
16
|
+
import { Span, Text, Heading } from "../../../ui/components/Typography.js";
|
|
17
|
+
import { StickyToolbar } from "../../../ui/components/StickyToolbar.js";
|
|
7
18
|
import { usePromotions } from "../hooks/usePromotions.js";
|
|
8
19
|
import { CouponCard } from "./CouponCard.js";
|
|
9
20
|
import { CouponHelpDetails } from "./CouponHelpDetails.js";
|