@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
|
@@ -2,7 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import Link from "next/link.js";
|
|
3
3
|
import { reviewRepository } from "../../../repositories/index.js";
|
|
4
4
|
import { safeRead } from "../../../errors/safe-read.js";
|
|
5
|
-
import { Container,
|
|
5
|
+
import { Container, Grid, Row } from "../../../ui/components/Layout.js";
|
|
6
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
7
|
+
import { Heading, Span, Text } from "../../../ui/components/Typography.js";
|
|
8
|
+
import { Main, Nav, Section } from "../../../ui/components/Semantic.js";
|
|
6
9
|
import { ROUTES } from "../../../next/routing/route-map.js";
|
|
7
10
|
import { ReviewDetailShell } from "./ReviewDetailShell.js";
|
|
8
11
|
import { ReviewCard } from "./ReviewsList.js";
|
|
@@ -18,7 +18,14 @@ const CLS_ICON_BLUE = "flex h-10 w-10 flex-shrink-0 items-center justify-center
|
|
|
18
18
|
const CLS_ICON_PURPLE = "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-purple-100 dark:bg-purple-900/30 text-[length:var(--appkit-text-xl)]";
|
|
19
19
|
const CLS_ICON_PURPLE_BARE = "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-purple-100 dark:bg-purple-900/30";
|
|
20
20
|
import Link from "next/link.js";
|
|
21
|
-
import { Button
|
|
21
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
22
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
23
|
+
import { Grid, Row, Stack } from "../../../ui/components/Layout.js";
|
|
24
|
+
import { Heading, Span, Text } from "../../../ui/components/Typography.js";
|
|
25
|
+
import { IconButton } from "../../../ui/components/IconButton.js";
|
|
26
|
+
import { RichText } from "../../../ui/rich-text/RichText.js";
|
|
27
|
+
import { Section } from "../../../ui/components/Semantic.js";
|
|
28
|
+
import { StarRating } from "../../../ui/components/StarRating.js";
|
|
22
29
|
import { MediaImage } from "../../media/MediaImage.js";
|
|
23
30
|
import { MediaVideo } from "../../media/MediaVideo.js";
|
|
24
31
|
import { maskName } from "../../../security/index.js";
|
|
@@ -4,7 +4,7 @@ import { useTranslations } from "next-intl";
|
|
|
4
4
|
import { FilterFacetSection } from "../../filters/FilterFacetSection.js";
|
|
5
5
|
import { RangeFilter } from "../../filters/RangeFilter.js";
|
|
6
6
|
import { SwitchFilter } from "../../filters/SwitchFilter.js";
|
|
7
|
-
import { Div } from "../../../ui/
|
|
7
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
8
8
|
import { TABLE_KEYS } from "../../../constants/table-keys.js";
|
|
9
9
|
import { REVIEW_FIELDS } from "../../../constants/field-names.js";
|
|
10
10
|
import { sortBy } from "../../../constants/sort.js";
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
5
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
6
|
+
import { Heading, Text } from "../../../ui/components/Typography.js";
|
|
7
|
+
import { Modal } from "../../../ui/components/Modal.js";
|
|
8
|
+
import { RichText } from "../../../ui/rich-text/RichText.js";
|
|
9
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
5
10
|
import { MediaImage } from "../../media/MediaImage.js";
|
|
6
|
-
import { StarRating } from "../../../ui/
|
|
11
|
+
import { StarRating } from "../../../ui/components/StarRating.js";
|
|
7
12
|
import { maskName } from "../../../security/index.js";
|
|
8
13
|
import { THEMED_TEXT_SUCCESS } from "../../../_internal/shared/styles/themed.js";
|
|
9
14
|
import { getDefaultLocale } from "../../../core/baseline-resolver.js";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Div
|
|
3
|
-
import {
|
|
2
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
3
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
4
|
+
import { Span, Text } from "../../../ui/components/Typography.js";
|
|
5
|
+
import { StarRating } from "../../../ui/components/StarRating.js";
|
|
4
6
|
import { ProgressBarFill } from "../../../ui/components/ProgressBarFill.js";
|
|
5
7
|
const CLS_STAR = "text-warning";
|
|
6
8
|
const CLS_BAR = "h-full rounded-full bg-warning-surface transition-all duration-300";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { sieveFilter, SIEVE_OP } from "@mohasinac/appkit";
|
|
3
3
|
import { reviewRepository } from "../../../repositories/index.js";
|
|
4
|
-
import { Container
|
|
4
|
+
import { Container } from "../../../ui/components/Layout.js";
|
|
5
|
+
import { Heading } from "../../../ui/components/Typography.js";
|
|
6
|
+
import { Main, Section } from "../../../ui/components/Semantic.js";
|
|
5
7
|
import { AdSlot } from "../../homepage/components/AdSlot.js";
|
|
6
8
|
import { ReviewsIndexListing } from "./ReviewsIndexListing.js";
|
|
7
9
|
import { safeRead } from "../../../errors/safe-read.js";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Link from "next/link.js";
|
|
3
|
-
import { Div
|
|
4
|
-
import {
|
|
3
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
4
|
+
import { Heading, Span, Text } from "../../../ui/components/Typography.js";
|
|
5
|
+
import { Pagination } from "../../../ui/components/Pagination.js";
|
|
6
|
+
import { RichText } from "../../../ui/rich-text/RichText.js";
|
|
7
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
8
|
+
import { Skeleton } from "../../../ui/components/Skeleton.js";
|
|
9
|
+
import { StarRating } from "../../../ui/components/StarRating.js";
|
|
5
10
|
import { MediaImage } from "../../media/MediaImage.js";
|
|
6
11
|
import { maskName } from "../../../security/index.js";
|
|
7
12
|
import { getDefaultLocale } from "../../../core/baseline-resolver.js";
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useMemo, useState } from "react";
|
|
4
4
|
import { useUrlTable } from "../../../react/hooks/useUrlTable.js";
|
|
5
|
-
import { Div
|
|
5
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
6
|
+
import { Grid, Row, Stack } from "../../../ui/components/Layout.js";
|
|
7
|
+
import { ListingFilterDrawer } from "../../../ui/components/ListingFilterDrawer.js";
|
|
8
|
+
import { ListingToolbar } from "../../../ui/components/ListingToolbar.js";
|
|
9
|
+
import { Pagination } from "../../../ui/components/Pagination.js";
|
|
10
|
+
import { Span, Text } from "../../../ui/components/Typography.js";
|
|
11
|
+
import { StickyToolbar } from "../../../ui/components/StickyToolbar.js";
|
|
6
12
|
import { ReviewCard } from "./ReviewsList.js";
|
|
7
13
|
import { ReviewFilters, REVIEW_PUBLIC_SORT_OPTIONS } from "./ReviewFilters.js";
|
|
8
14
|
import { useReviews } from "../hooks/useReviews.js";
|
|
@@ -109,15 +109,15 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
109
109
|
updatedAt: string | Date | z.objectOutputType<{
|
|
110
110
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
111
111
|
}, z.ZodTypeAny, "passthrough">;
|
|
112
|
-
rating: number;
|
|
113
|
-
verified: boolean;
|
|
114
112
|
productId: string;
|
|
115
113
|
productTitle: string;
|
|
116
114
|
userId: string;
|
|
117
115
|
userName: string;
|
|
116
|
+
rating: number;
|
|
118
117
|
comment: string;
|
|
119
118
|
helpfulCount: number;
|
|
120
119
|
reportCount: number;
|
|
120
|
+
verified: boolean;
|
|
121
121
|
video?: {
|
|
122
122
|
url: string;
|
|
123
123
|
thumbnailUrl: string;
|
|
@@ -125,11 +125,10 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
125
125
|
trimEnd?: number | undefined;
|
|
126
126
|
trimStart?: number | undefined;
|
|
127
127
|
} | undefined;
|
|
128
|
-
listingType?: string | undefined;
|
|
129
|
-
storeName?: string | undefined;
|
|
130
|
-
storeId?: string | undefined;
|
|
131
128
|
images?: string[] | undefined;
|
|
129
|
+
storeId?: string | undefined;
|
|
132
130
|
featured?: boolean | undefined;
|
|
131
|
+
listingType?: string | undefined;
|
|
133
132
|
userAvatar?: string | undefined;
|
|
134
133
|
moderatorId?: string | undefined;
|
|
135
134
|
moderatorNote?: string | undefined;
|
|
@@ -140,6 +139,7 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
140
139
|
rejectedAt?: string | Date | z.objectOutputType<{
|
|
141
140
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
142
141
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
142
|
+
storeName?: string | undefined;
|
|
143
143
|
userSlug?: string | undefined;
|
|
144
144
|
hasImages?: boolean | undefined;
|
|
145
145
|
isAnonymous?: boolean | undefined;
|
|
@@ -157,15 +157,15 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
157
157
|
updatedAt: string | Date | z.objectInputType<{
|
|
158
158
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
159
159
|
}, z.ZodTypeAny, "passthrough">;
|
|
160
|
-
rating: number;
|
|
161
|
-
verified: boolean;
|
|
162
160
|
productId: string;
|
|
163
161
|
productTitle: string;
|
|
164
162
|
userId: string;
|
|
165
163
|
userName: string;
|
|
164
|
+
rating: number;
|
|
166
165
|
comment: string;
|
|
167
166
|
helpfulCount: number;
|
|
168
167
|
reportCount: number;
|
|
168
|
+
verified: boolean;
|
|
169
169
|
video?: {
|
|
170
170
|
url: string;
|
|
171
171
|
thumbnailUrl: string;
|
|
@@ -173,11 +173,10 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
173
173
|
trimEnd?: number | undefined;
|
|
174
174
|
trimStart?: number | undefined;
|
|
175
175
|
} | undefined;
|
|
176
|
-
listingType?: string | undefined;
|
|
177
|
-
storeName?: string | undefined;
|
|
178
|
-
storeId?: string | undefined;
|
|
179
176
|
images?: string[] | undefined;
|
|
177
|
+
storeId?: string | undefined;
|
|
180
178
|
featured?: boolean | undefined;
|
|
179
|
+
listingType?: string | undefined;
|
|
181
180
|
userAvatar?: string | undefined;
|
|
182
181
|
moderatorId?: string | undefined;
|
|
183
182
|
moderatorNote?: string | undefined;
|
|
@@ -188,6 +187,7 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
|
|
|
188
187
|
rejectedAt?: string | Date | z.objectInputType<{
|
|
189
188
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
190
189
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
190
|
+
storeName?: string | undefined;
|
|
191
191
|
userSlug?: string | undefined;
|
|
192
192
|
hasImages?: boolean | undefined;
|
|
193
193
|
isAnonymous?: boolean | undefined;
|
|
@@ -216,16 +216,16 @@ export declare const reviewVideoSchema: z.ZodObject<{
|
|
|
216
216
|
trimEnd: z.ZodOptional<z.ZodNumber>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
url: string;
|
|
219
|
-
trimEnd?: number | undefined;
|
|
220
|
-
trimStart?: number | undefined;
|
|
221
219
|
thumbnailUrl?: string | undefined;
|
|
222
220
|
duration?: number | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
url: string;
|
|
225
221
|
trimEnd?: number | undefined;
|
|
226
222
|
trimStart?: number | undefined;
|
|
223
|
+
}, {
|
|
224
|
+
url: string;
|
|
227
225
|
thumbnailUrl?: string | undefined;
|
|
228
226
|
duration?: number | undefined;
|
|
227
|
+
trimEnd?: number | undefined;
|
|
228
|
+
trimStart?: number | undefined;
|
|
229
229
|
}>;
|
|
230
230
|
/**
|
|
231
231
|
* Base Zod schema for a review.
|
|
@@ -271,16 +271,16 @@ export declare const reviewSchema: z.ZodObject<{
|
|
|
271
271
|
trimEnd: z.ZodOptional<z.ZodNumber>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
url: string;
|
|
274
|
-
trimEnd?: number | undefined;
|
|
275
|
-
trimStart?: number | undefined;
|
|
276
274
|
thumbnailUrl?: string | undefined;
|
|
277
275
|
duration?: number | undefined;
|
|
278
|
-
}, {
|
|
279
|
-
url: string;
|
|
280
276
|
trimEnd?: number | undefined;
|
|
281
277
|
trimStart?: number | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
url: string;
|
|
282
280
|
thumbnailUrl?: string | undefined;
|
|
283
281
|
duration?: number | undefined;
|
|
282
|
+
trimEnd?: number | undefined;
|
|
283
|
+
trimStart?: number | undefined;
|
|
284
284
|
}>>;
|
|
285
285
|
status: z.ZodEnum<["pending", "approved", "rejected"]>;
|
|
286
286
|
helpfulCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -292,64 +292,64 @@ export declare const reviewSchema: z.ZodObject<{
|
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
293
293
|
status: "pending" | "approved" | "rejected";
|
|
294
294
|
id: string;
|
|
295
|
-
rating: 3 | 1 | 2 | 4 | 5;
|
|
296
295
|
productId: string;
|
|
297
296
|
userId: string;
|
|
298
297
|
userName: string;
|
|
299
|
-
|
|
298
|
+
rating: 3 | 1 | 2 | 4 | 5;
|
|
300
299
|
video?: {
|
|
301
300
|
url: string;
|
|
302
|
-
trimEnd?: number | undefined;
|
|
303
|
-
trimStart?: number | undefined;
|
|
304
301
|
thumbnailUrl?: string | undefined;
|
|
305
302
|
duration?: number | undefined;
|
|
303
|
+
trimEnd?: number | undefined;
|
|
304
|
+
trimStart?: number | undefined;
|
|
306
305
|
} | undefined;
|
|
307
|
-
|
|
308
|
-
updatedAt?: string | undefined;
|
|
309
|
-
listingType?: string | undefined;
|
|
310
|
-
storeName?: string | undefined;
|
|
311
|
-
verified?: boolean | undefined;
|
|
306
|
+
title?: string | undefined;
|
|
312
307
|
images?: {
|
|
313
308
|
url: string;
|
|
314
309
|
thumbnailUrl?: string | undefined;
|
|
315
310
|
}[] | undefined;
|
|
316
311
|
featured?: boolean | undefined;
|
|
312
|
+
listingType?: string | undefined;
|
|
313
|
+
createdAt?: string | undefined;
|
|
314
|
+
updatedAt?: string | undefined;
|
|
317
315
|
productTitle?: string | undefined;
|
|
318
316
|
userAvatar?: string | undefined;
|
|
319
317
|
comment?: string | undefined;
|
|
320
318
|
helpfulCount?: number | undefined;
|
|
321
319
|
reportCount?: number | undefined;
|
|
320
|
+
verified?: boolean | undefined;
|
|
321
|
+
storeName?: string | undefined;
|
|
322
322
|
storeSlug?: string | undefined;
|
|
323
323
|
}, {
|
|
324
324
|
status: "pending" | "approved" | "rejected";
|
|
325
325
|
id: string;
|
|
326
|
-
rating: 3 | 1 | 2 | 4 | 5;
|
|
327
326
|
productId: string;
|
|
328
327
|
userId: string;
|
|
329
328
|
userName: string;
|
|
330
|
-
|
|
329
|
+
rating: 3 | 1 | 2 | 4 | 5;
|
|
331
330
|
video?: {
|
|
332
331
|
url: string;
|
|
333
|
-
trimEnd?: number | undefined;
|
|
334
|
-
trimStart?: number | undefined;
|
|
335
332
|
thumbnailUrl?: string | undefined;
|
|
336
333
|
duration?: number | undefined;
|
|
334
|
+
trimEnd?: number | undefined;
|
|
335
|
+
trimStart?: number | undefined;
|
|
337
336
|
} | undefined;
|
|
338
|
-
|
|
339
|
-
updatedAt?: string | undefined;
|
|
340
|
-
listingType?: string | undefined;
|
|
341
|
-
storeName?: string | undefined;
|
|
342
|
-
verified?: boolean | undefined;
|
|
337
|
+
title?: string | undefined;
|
|
343
338
|
images?: {
|
|
344
339
|
url: string;
|
|
345
340
|
thumbnailUrl?: string | undefined;
|
|
346
341
|
}[] | undefined;
|
|
347
342
|
featured?: boolean | undefined;
|
|
343
|
+
listingType?: string | undefined;
|
|
344
|
+
createdAt?: string | undefined;
|
|
345
|
+
updatedAt?: string | undefined;
|
|
348
346
|
productTitle?: string | undefined;
|
|
349
347
|
userAvatar?: string | undefined;
|
|
350
348
|
comment?: string | undefined;
|
|
351
349
|
helpfulCount?: number | undefined;
|
|
352
350
|
reportCount?: number | undefined;
|
|
351
|
+
verified?: boolean | undefined;
|
|
352
|
+
storeName?: string | undefined;
|
|
353
353
|
storeSlug?: string | undefined;
|
|
354
354
|
}>;
|
|
355
355
|
/** Base schema for list-query parameters. */
|
|
@@ -366,21 +366,21 @@ export declare const reviewListParamsSchema: z.ZodObject<{
|
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
sort?: string | undefined;
|
|
368
368
|
status?: "pending" | "approved" | "rejected" | undefined;
|
|
369
|
-
page?: number | undefined;
|
|
370
369
|
storeId?: string | undefined;
|
|
371
|
-
rating?: number | undefined;
|
|
372
370
|
featured?: boolean | undefined;
|
|
373
371
|
productId?: string | undefined;
|
|
374
372
|
userId?: string | undefined;
|
|
373
|
+
rating?: number | undefined;
|
|
374
|
+
page?: number | undefined;
|
|
375
375
|
perPage?: number | undefined;
|
|
376
376
|
}, {
|
|
377
377
|
sort?: string | undefined;
|
|
378
378
|
status?: "pending" | "approved" | "rejected" | undefined;
|
|
379
|
-
page?: number | undefined;
|
|
380
379
|
storeId?: string | undefined;
|
|
381
|
-
rating?: number | undefined;
|
|
382
380
|
featured?: boolean | undefined;
|
|
383
381
|
productId?: string | undefined;
|
|
384
382
|
userId?: string | undefined;
|
|
383
|
+
rating?: number | undefined;
|
|
384
|
+
page?: number | undefined;
|
|
385
385
|
perPage?: number | undefined;
|
|
386
386
|
}>;
|
|
@@ -4,7 +4,13 @@ import { Span, useApiMutation } from "@mohasinac/appkit/client";
|
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { useQueryClient } from "@tanstack/react-query";
|
|
6
6
|
import { Shield, IndianRupee, UserX, CreditCard, Package, UserCheck, ShieldAlert, Truck } from "lucide-react";
|
|
7
|
-
import { Button
|
|
7
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
8
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
9
|
+
import { Modal } from "../../../ui/components/Modal.js";
|
|
10
|
+
import { Stack, Row } from "../../../ui/components/Layout.js";
|
|
11
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
12
|
+
import { Checkbox } from "../../../ui/components/Checkbox.js";
|
|
13
|
+
import { TextLink } from "../../../ui/components/TextLink.js";
|
|
8
14
|
import { apiClient } from "../../../http/index.js";
|
|
9
15
|
import { ACCOUNT_ENDPOINTS } from "../../../constants/api-endpoints.js";
|
|
10
16
|
import { SCAM_CATEGORIES } from "../constants/scam-types.js";
|
|
@@ -4,7 +4,17 @@ import { formatCurrency } from "../../../utils/number.formatter.js";
|
|
|
4
4
|
const CLS_OUTLINE_BTN = "appkit-button appkit-button--outline appkit-button--md flex w-full items-center gap-[var(--appkit-space-2)]";
|
|
5
5
|
import Link from "next/link.js";
|
|
6
6
|
import { Shield, Phone, Wallet, Mail, AlertOctagon, Flag, Eye, Users, Calendar, ExternalLink, FileText, MessageSquare, Link2, } from "lucide-react";
|
|
7
|
-
import { Alert
|
|
7
|
+
import { Alert } from "../../../ui/components/Alert.js";
|
|
8
|
+
import { Anchor } from "../../../ui/components/Anchor.js";
|
|
9
|
+
import { Badge } from "../../../ui/components/Badge.js";
|
|
10
|
+
import { Breadcrumb } from "../../../ui/components/Breadcrumb.js";
|
|
11
|
+
import { Card, CardBody, CardHeader } from "../../../ui/components/Card.js";
|
|
12
|
+
import { Container, Grid, Row, Stack } from "../../../ui/components/Layout.js";
|
|
13
|
+
import { Disclaimer } from "../../../ui/components/Disclaimer.js";
|
|
14
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
15
|
+
import { EmptyState } from "../../../ui/components/EmptyState.js";
|
|
16
|
+
import { Heading, Span, Text } from "../../../ui/components/Typography.js";
|
|
17
|
+
import { Main, Section } from "../../../ui/components/Semantic.js";
|
|
8
18
|
import { MediaImage } from "../../media/MediaImage.js";
|
|
9
19
|
import { SCAM_PLATFORM_LABELS, SCAMMER_STATUS_LABELS, SOCIAL_PLATFORM_LABELS, CONTEST_TYPE_LABELS, } from "../schemas/firestore.js";
|
|
10
20
|
import { SCAM_TYPE_LABELS, getScamType } from "../constants/scam-types.js";
|
|
@@ -13,7 +13,7 @@ export declare const SCAMMER_STATUS_LABEL: Record<ScammerStatus, string>;
|
|
|
13
13
|
export declare const SCAMMER_STATUS_BADGE: Record<ScammerStatus, string>;
|
|
14
14
|
/** Dropdown options, derived from the union so one cannot go missing. */
|
|
15
15
|
export declare const SCAMMER_STATUS_OPTIONS: {
|
|
16
|
-
value: "verified" | "rejected" | "
|
|
16
|
+
value: "verified" | "rejected" | "pending_review" | "removed";
|
|
17
17
|
label: string;
|
|
18
18
|
}[];
|
|
19
19
|
/**
|
|
@@ -10,11 +10,11 @@ export declare const scammerSocialMediaSchema: z.ZodObject<{
|
|
|
10
10
|
handle: z.ZodString;
|
|
11
11
|
url: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
platform: "
|
|
13
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
14
14
|
handle: string;
|
|
15
15
|
url?: string | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
platform: "
|
|
17
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
18
18
|
handle: string;
|
|
19
19
|
url?: string | undefined;
|
|
20
20
|
}>;
|
|
@@ -44,11 +44,11 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
44
44
|
handle: z.ZodString;
|
|
45
45
|
url: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
platform: "
|
|
47
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
48
48
|
handle: string;
|
|
49
49
|
url?: string | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
platform: "
|
|
51
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
52
52
|
handle: string;
|
|
53
53
|
url?: string | undefined;
|
|
54
54
|
}>, "many">;
|
|
@@ -79,8 +79,10 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
79
79
|
contestCount: z.ZodNumber;
|
|
80
80
|
isContested: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
status: "verified" | "rejected" | "
|
|
82
|
+
status: "verified" | "rejected" | "pending_review" | "removed";
|
|
83
83
|
id: string;
|
|
84
|
+
description: string;
|
|
85
|
+
tags: string[];
|
|
84
86
|
createdAt: string | Date | z.objectOutputType<{
|
|
85
87
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
86
88
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -88,12 +90,10 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
88
90
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
89
91
|
}, z.ZodTypeAny, "passthrough">;
|
|
90
92
|
views: number;
|
|
91
|
-
description: string;
|
|
92
|
-
tags: string[];
|
|
93
93
|
scamType: string;
|
|
94
94
|
reportedBy: string;
|
|
95
95
|
reportedByAnon: boolean;
|
|
96
|
-
scamPlatform: "other" | "whatsapp" | "
|
|
96
|
+
scamPlatform: "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "facebook_marketplace" | "letitrip" | "in_person" | "phone_call";
|
|
97
97
|
evidence: string[];
|
|
98
98
|
phones: string[];
|
|
99
99
|
upiIds: string[];
|
|
@@ -102,7 +102,7 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
102
102
|
incidentCount: number;
|
|
103
103
|
seoSlug: string;
|
|
104
104
|
socialMedia: {
|
|
105
|
-
platform: "
|
|
105
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
106
106
|
handle: string;
|
|
107
107
|
url?: string | undefined;
|
|
108
108
|
}[];
|
|
@@ -119,8 +119,10 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
119
119
|
verificationNote?: string | undefined;
|
|
120
120
|
mergedFromIds?: string[] | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
status: "verified" | "rejected" | "
|
|
122
|
+
status: "verified" | "rejected" | "pending_review" | "removed";
|
|
123
123
|
id: string;
|
|
124
|
+
description: string;
|
|
125
|
+
tags: string[];
|
|
124
126
|
createdAt: string | Date | z.objectInputType<{
|
|
125
127
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
126
128
|
}, z.ZodTypeAny, "passthrough">;
|
|
@@ -128,12 +130,10 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
128
130
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
129
131
|
}, z.ZodTypeAny, "passthrough">;
|
|
130
132
|
views: number;
|
|
131
|
-
description: string;
|
|
132
|
-
tags: string[];
|
|
133
133
|
scamType: string;
|
|
134
134
|
reportedBy: string;
|
|
135
135
|
reportedByAnon: boolean;
|
|
136
|
-
scamPlatform: "other" | "whatsapp" | "
|
|
136
|
+
scamPlatform: "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "facebook_marketplace" | "letitrip" | "in_person" | "phone_call";
|
|
137
137
|
evidence: string[];
|
|
138
138
|
phones: string[];
|
|
139
139
|
upiIds: string[];
|
|
@@ -142,7 +142,7 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
|
|
|
142
142
|
incidentCount: number;
|
|
143
143
|
seoSlug: string;
|
|
144
144
|
socialMedia: {
|
|
145
|
-
platform: "
|
|
145
|
+
platform: "youtube" | "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "linkedin";
|
|
146
146
|
handle: string;
|
|
147
147
|
url?: string | undefined;
|
|
148
148
|
}[];
|
|
@@ -191,17 +191,17 @@ export declare const scammerIncidentFirestoreSchema: z.ZodObject<{
|
|
|
191
191
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
192
192
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
status: "verified" | "rejected" | "
|
|
194
|
+
status: "verified" | "rejected" | "pending_review" | "removed";
|
|
195
195
|
id: string;
|
|
196
|
+
description: string;
|
|
196
197
|
createdAt: string | Date | z.objectOutputType<{
|
|
197
198
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
198
199
|
}, z.ZodTypeAny, "passthrough">;
|
|
199
|
-
description: string;
|
|
200
200
|
scamType: string;
|
|
201
201
|
reportedBy: string;
|
|
202
202
|
scammerId: string;
|
|
203
203
|
reportedByAnon: boolean;
|
|
204
|
-
scamPlatform: "other" | "whatsapp" | "
|
|
204
|
+
scamPlatform: "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "facebook_marketplace" | "letitrip" | "in_person" | "phone_call";
|
|
205
205
|
evidence: string[];
|
|
206
206
|
verifiedBy?: string | undefined;
|
|
207
207
|
amountLost?: number | undefined;
|
|
@@ -214,17 +214,17 @@ export declare const scammerIncidentFirestoreSchema: z.ZodObject<{
|
|
|
214
214
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
215
215
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
216
216
|
}, {
|
|
217
|
-
status: "verified" | "rejected" | "
|
|
217
|
+
status: "verified" | "rejected" | "pending_review" | "removed";
|
|
218
218
|
id: string;
|
|
219
|
+
description: string;
|
|
219
220
|
createdAt: string | Date | z.objectInputType<{
|
|
220
221
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
221
222
|
}, z.ZodTypeAny, "passthrough">;
|
|
222
|
-
description: string;
|
|
223
223
|
scamType: string;
|
|
224
224
|
reportedBy: string;
|
|
225
225
|
scammerId: string;
|
|
226
226
|
reportedByAnon: boolean;
|
|
227
|
-
scamPlatform: "other" | "whatsapp" | "
|
|
227
|
+
scamPlatform: "other" | "whatsapp" | "instagram" | "facebook" | "telegram" | "twitter" | "olx" | "facebook_marketplace" | "letitrip" | "in_person" | "phone_call";
|
|
228
228
|
evidence: string[];
|
|
229
229
|
verifiedBy?: string | undefined;
|
|
230
230
|
amountLost?: number | undefined;
|
|
@@ -268,10 +268,10 @@ export declare const scammerCommentFirestoreSchema: z.ZodObject<{
|
|
|
268
268
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
id: string;
|
|
271
|
-
body: string;
|
|
272
271
|
createdAt: string | Date | z.objectOutputType<{
|
|
273
272
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
274
273
|
}, z.ZodTypeAny, "passthrough">;
|
|
274
|
+
body: string;
|
|
275
275
|
authorId: string;
|
|
276
276
|
scammerId: string;
|
|
277
277
|
authorDisplayName: string;
|
|
@@ -289,10 +289,10 @@ export declare const scammerCommentFirestoreSchema: z.ZodObject<{
|
|
|
289
289
|
hiddenReason?: string | undefined;
|
|
290
290
|
}, {
|
|
291
291
|
id: string;
|
|
292
|
-
body: string;
|
|
293
292
|
createdAt: string | Date | z.objectInputType<{
|
|
294
293
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
295
294
|
}, z.ZodTypeAny, "passthrough">;
|
|
295
|
+
body: string;
|
|
296
296
|
authorId: string;
|
|
297
297
|
scammerId: string;
|
|
298
298
|
authorDisplayName: string;
|
|
@@ -12,8 +12,8 @@ export declare const scamReportFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12
12
|
reportedByAnon: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
agreed: z.ZodLiteral<true>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
displayName: string;
|
|
16
15
|
description: string;
|
|
16
|
+
displayName: string;
|
|
17
17
|
scamType: import("../constants/scam-types").ScamType;
|
|
18
18
|
scamPlatform: string;
|
|
19
19
|
agreed: true;
|
|
@@ -24,8 +24,8 @@ export declare const scamReportFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
24
24
|
upiIds?: string[] | undefined;
|
|
25
25
|
emails?: string[] | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
displayName: string;
|
|
28
27
|
description: string;
|
|
28
|
+
displayName: string;
|
|
29
29
|
scamType: string;
|
|
30
30
|
scamPlatform: string;
|
|
31
31
|
agreed: true;
|
|
@@ -36,8 +36,8 @@ export declare const scamReportFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
36
36
|
upiIds?: string[] | undefined;
|
|
37
37
|
emails?: string[] | undefined;
|
|
38
38
|
}>, {
|
|
39
|
-
displayName: string;
|
|
40
39
|
description: string;
|
|
40
|
+
displayName: string;
|
|
41
41
|
scamType: import("../constants/scam-types").ScamType;
|
|
42
42
|
scamPlatform: string;
|
|
43
43
|
agreed: true;
|
|
@@ -48,8 +48,8 @@ export declare const scamReportFormSchema: z.ZodEffects<z.ZodObject<{
|
|
|
48
48
|
upiIds?: string[] | undefined;
|
|
49
49
|
emails?: string[] | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
displayName: string;
|
|
52
51
|
description: string;
|
|
52
|
+
displayName: string;
|
|
53
53
|
scamType: string;
|
|
54
54
|
scamPlatform: string;
|
|
55
55
|
agreed: true;
|
|
@@ -41,7 +41,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
41
41
|
* @tag sideEffects:network
|
|
42
42
|
*/
|
|
43
43
|
import React from "react";
|
|
44
|
-
import { Button
|
|
44
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
45
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
46
|
+
import { Input } from "../../../ui/components/Input.js";
|
|
47
|
+
import { Stack } from "../../../ui/components/Layout.js";
|
|
48
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
45
49
|
import { useSiteSearch } from "../hooks/useSiteSearch.js";
|
|
46
50
|
/** Stable identity — a `useMemo` dependency inside the hook. */
|
|
47
51
|
const passthroughLabel = (typeKey) => typeKey;
|
|
@@ -8,7 +8,13 @@ const SVG_PATH_SEARCH = "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z";
|
|
|
8
8
|
const CLS_HOVER_ROW = "hover:bg-surface-hover";
|
|
9
9
|
const CLS_ICON_ROW = "w-4 h-4 flex-shrink-0 text-[var(--appkit-color-text-muted)]";
|
|
10
10
|
const CLS_TRUNCATE = "font-medium truncate";
|
|
11
|
-
import { Button
|
|
11
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
12
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
13
|
+
import { Input } from "../../../ui/components/Input.js";
|
|
14
|
+
import { Li, Ul } from "../../../ui/components/Semantic.js";
|
|
15
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
16
|
+
import { Select } from "../../../ui/components/Select.js";
|
|
17
|
+
import { Span, Text } from "../../../ui/components/Typography.js";
|
|
12
18
|
import { useNavSuggestions } from "../hooks/useNavSuggestions.js";
|
|
13
19
|
import { useSiteSearch } from "../hooks/useSiteSearch.js";
|
|
14
20
|
/**
|
|
@@ -30,7 +30,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
30
30
|
* @tag sideEffects:none
|
|
31
31
|
*/
|
|
32
32
|
import React from "react";
|
|
33
|
-
import { Button
|
|
33
|
+
import { Button } from "../../../ui/components/Button.js";
|
|
34
|
+
import { Div } from "../../../ui/components/Div.js";
|
|
35
|
+
import { Row, Stack } from "../../../ui/components/Layout.js";
|
|
36
|
+
import { Span, Text } from "../../../ui/components/Typography.js";
|
|
34
37
|
/**
|
|
35
38
|
* Short code -> heading.
|
|
36
39
|
*
|
|
@@ -35,7 +35,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
35
35
|
* @tag sideEffects:network
|
|
36
36
|
*/
|
|
37
37
|
import React from "react";
|
|
38
|
-
import { Text } from "../../../ui/
|
|
38
|
+
import { Text } from "../../../ui/components/Typography.js";
|
|
39
39
|
import { useSiteSearch } from "../hooks/useSiteSearch.js";
|
|
40
40
|
import { mergeSearchTiers, useScopedSearch } from "../hooks/useScopedSearch.js";
|
|
41
41
|
import { SearchFacetRail } from "./SearchFacetRail.js";
|