@mohasinac/appkit 2.7.58 → 2.8.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/_internal/client/features/filters/filter-load-options.d.ts +4 -5
- package/dist/_internal/server/features/auctions/og.js +8 -32
- package/dist/_internal/server/features/blog/og.js +10 -49
- package/dist/_internal/server/features/checkout/actions.js +6 -0
- package/dist/_internal/server/features/classified/og.js +9 -51
- package/dist/_internal/server/features/digital-code/actions.d.ts +11 -0
- package/dist/_internal/server/features/digital-code/actions.js +30 -0
- package/dist/_internal/server/features/digital-code/index.d.ts +1 -0
- package/dist/_internal/server/features/digital-code/index.js +1 -0
- package/dist/_internal/server/features/digital-code/og.js +9 -51
- package/dist/_internal/server/features/events/og.js +10 -49
- package/dist/_internal/server/features/item-requests/data.d.ts +17 -0
- package/dist/_internal/server/features/item-requests/data.js +20 -0
- package/dist/_internal/server/features/item-requests/index.d.ts +2 -0
- package/dist/_internal/server/features/item-requests/index.js +2 -0
- package/dist/_internal/server/features/item-requests/og.d.ts +40 -0
- package/dist/_internal/server/features/item-requests/og.js +136 -0
- package/dist/_internal/server/features/live/actions.d.ts +5 -0
- package/dist/_internal/server/features/live/actions.js +24 -0
- package/dist/_internal/server/features/live/index.d.ts +1 -0
- package/dist/_internal/server/features/live/index.js +1 -0
- package/dist/_internal/server/features/live/og.js +9 -51
- package/dist/_internal/server/features/media/contextGuards.js +19 -8
- package/dist/_internal/server/features/pre-orders/og.js +8 -32
- package/dist/_internal/server/features/prize-draws/data.d.ts +17 -0
- package/dist/_internal/server/features/prize-draws/data.js +20 -0
- package/dist/_internal/server/features/prize-draws/index.d.ts +2 -0
- package/dist/_internal/server/features/prize-draws/index.js +2 -0
- package/dist/_internal/server/features/prize-draws/og.d.ts +30 -0
- package/dist/_internal/server/features/prize-draws/og.js +50 -0
- package/dist/_internal/server/features/products/og.js +8 -33
- package/dist/_internal/server/features/scams/og.js +1 -1
- package/dist/_internal/server/features/seo/og-layout.d.ts +42 -0
- package/dist/_internal/server/features/seo/og-layout.js +69 -0
- package/dist/_internal/server/features/stores/og.js +8 -41
- package/dist/_internal/server/features/sublisting-categories/og.js +11 -42
- package/dist/_internal/shared/actions/bulk-helpers.d.ts +3 -0
- package/dist/_internal/shared/actions/bulk-helpers.js +19 -0
- package/dist/_internal/shared/config/schema.d.ts +4 -4
- package/dist/client.d.ts +13 -6
- package/dist/client.js +9 -3
- package/dist/configs/next.js +11 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +2 -0
- package/dist/constants/notification-types.d.ts +20 -0
- package/dist/constants/notification-types.js +37 -0
- package/dist/constants/pagination-presets.d.ts +39 -0
- package/dist/constants/pagination-presets.js +38 -0
- package/dist/errors/messages.d.ts +0 -4
- package/dist/errors/messages.js +0 -4
- package/dist/features/account/components/AddressesIndexListing.js +3 -4
- package/dist/features/account/components/UserOffersPanel.js +1 -1
- package/dist/features/account/components/UserSidebar.js +14 -10
- package/dist/features/account/components/UserSupportView.d.ts +1 -2
- package/dist/features/account/components/UserSupportView.js +9 -1
- package/dist/features/admin/actions/admin-actions.js +16 -1
- package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +2 -3
- package/dist/features/admin/components/AdminAllEventEntriesView.js +50 -89
- package/dist/features/admin/components/AdminBidsView.d.ts +2 -3
- package/dist/features/admin/components/AdminBidsView.js +64 -104
- package/dist/features/admin/components/AdminBlogView.d.ts +3 -7
- package/dist/features/admin/components/AdminBlogView.js +53 -88
- package/dist/features/admin/components/AdminBrandEditorView.js +14 -17
- package/dist/features/admin/components/AdminBrandsView.d.ts +2 -3
- package/dist/features/admin/components/AdminBrandsView.js +85 -89
- package/dist/features/admin/components/AdminBundlesView.js +68 -130
- package/dist/features/admin/components/AdminCarouselView.d.ts +2 -2
- package/dist/features/admin/components/AdminCarouselView.js +22 -70
- package/dist/features/admin/components/AdminCartsView.d.ts +2 -3
- package/dist/features/admin/components/AdminCartsView.js +39 -89
- package/dist/features/admin/components/AdminCategoriesView.d.ts +3 -3
- package/dist/features/admin/components/AdminCategoriesView.js +97 -96
- package/dist/features/admin/components/AdminCategoryEditorView.js +2 -6
- package/dist/features/admin/components/AdminClassifiedView.d.ts +3 -0
- package/dist/features/admin/components/AdminClassifiedView.js +44 -0
- package/dist/features/admin/components/AdminContactView.d.ts +2 -2
- package/dist/features/admin/components/AdminContactView.js +105 -130
- package/dist/features/admin/components/AdminCouponEditorView.js +14 -17
- package/dist/features/admin/components/AdminCouponsView.d.ts +3 -6
- package/dist/features/admin/components/AdminCouponsView.js +69 -97
- package/dist/features/admin/components/AdminDigitalCodesView.d.ts +3 -0
- package/dist/features/admin/components/AdminDigitalCodesView.js +51 -0
- package/dist/features/admin/components/AdminFaqEditorView.js +14 -17
- package/dist/features/admin/components/AdminFaqsView.d.ts +4 -4
- package/dist/features/admin/components/AdminFaqsView.js +79 -86
- package/dist/features/admin/components/AdminFeatureEditorView.js +7 -9
- package/dist/features/admin/components/AdminFeaturesView.d.ts +2 -3
- package/dist/features/admin/components/AdminFeaturesView.js +57 -70
- package/dist/features/admin/components/AdminGroupedListingsView.d.ts +3 -0
- package/dist/features/admin/components/AdminGroupedListingsView.js +43 -0
- package/dist/features/admin/components/AdminHistoryView.d.ts +2 -3
- package/dist/features/admin/components/AdminHistoryView.js +35 -52
- package/dist/features/admin/components/AdminListingScaffold.d.ts +2 -2
- package/dist/features/admin/components/AdminListingScaffold.js +3 -3
- package/dist/features/admin/components/AdminLiveView.d.ts +3 -0
- package/dist/features/admin/components/AdminLiveView.js +50 -0
- package/dist/features/admin/components/AdminNewsletterView.d.ts +2 -2
- package/dist/features/admin/components/AdminNewsletterView.js +68 -108
- package/dist/features/admin/components/AdminNotificationsView.d.ts +2 -3
- package/dist/features/admin/components/AdminNotificationsView.js +67 -99
- package/dist/features/admin/components/AdminOrderEditorView.js +10 -10
- package/dist/features/admin/components/AdminOrdersView.d.ts +2 -3
- package/dist/features/admin/components/AdminOrdersView.js +93 -113
- package/dist/features/admin/components/AdminPayoutsView.d.ts +2 -3
- package/dist/features/admin/components/AdminPayoutsView.js +51 -97
- package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +2 -3
- package/dist/features/admin/components/AdminPrizeDrawsView.js +41 -83
- package/dist/features/admin/components/AdminProductEditorView.js +3 -7
- package/dist/features/admin/components/AdminProductsView.d.ts +4 -4
- package/dist/features/admin/components/AdminProductsView.js +166 -167
- package/dist/features/admin/components/AdminReturnRequestsView.d.ts +1 -1
- package/dist/features/admin/components/AdminReturnRequestsView.js +64 -66
- package/dist/features/admin/components/AdminReviewsView.d.ts +3 -7
- package/dist/features/admin/components/AdminReviewsView.js +94 -116
- package/dist/features/admin/components/AdminScammersView.d.ts +2 -3
- package/dist/features/admin/components/AdminScammersView.js +53 -103
- package/dist/features/admin/components/AdminSectionsView.js +1 -1
- package/dist/features/admin/components/AdminSessionsView.d.ts +2 -3
- package/dist/features/admin/components/AdminSessionsView.js +62 -95
- package/dist/features/admin/components/AdminStoreAddressesView.d.ts +1 -1
- package/dist/features/admin/components/AdminStoreAddressesView.js +39 -53
- package/dist/features/admin/components/AdminStoreEditorView.js +21 -8
- package/dist/features/admin/components/AdminStoresView.d.ts +2 -3
- package/dist/features/admin/components/AdminStoresView.js +67 -105
- package/dist/features/admin/components/AdminSublistingCategoriesView.d.ts +1 -1
- package/dist/features/admin/components/AdminSublistingCategoriesView.js +29 -49
- package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +17 -20
- package/dist/features/admin/components/AdminSupportTicketDetailView.d.ts +10 -1
- package/dist/features/admin/components/AdminSupportTicketDetailView.js +191 -5
- package/dist/features/admin/components/AdminSupportTicketsView.d.ts +2 -3
- package/dist/features/admin/components/AdminSupportTicketsView.js +65 -102
- package/dist/features/admin/components/AdminTeamView.d.ts +2 -2
- package/dist/features/admin/components/AdminTeamView.js +42 -85
- package/dist/features/admin/components/AdminUserEditorView.d.ts +11 -1
- package/dist/features/admin/components/AdminUserEditorView.js +80 -6
- package/dist/features/admin/components/AdminUsersView.d.ts +2 -3
- package/dist/features/admin/components/AdminUsersView.js +108 -106
- package/dist/features/admin/components/AdminViewCards.d.ts +1 -1
- package/dist/features/admin/components/AdminWishlistsView.d.ts +2 -3
- package/dist/features/admin/components/AdminWishlistsView.js +36 -62
- package/dist/features/admin/components/DataListingView.d.ts +122 -0
- package/dist/features/admin/components/DataListingView.js +66 -0
- package/dist/features/admin/components/index.d.ts +10 -4
- package/dist/features/admin/components/index.js +6 -2
- package/dist/features/admin/constants/filter-tabs.d.ts +23 -17
- package/dist/features/admin/constants/filter-tabs.js +21 -17
- package/dist/features/admin/hooks/useAdminListing.d.ts +59 -0
- package/dist/features/admin/hooks/useAdminListing.js +71 -0
- package/dist/features/admin/schemas/firestore.js +6 -7
- package/dist/features/auctions/server.d.ts +0 -1
- package/dist/features/auctions/server.js +0 -1
- package/dist/features/auth/actions/realtime-token-actions.js +1 -1
- package/dist/features/auth/repository/user.repository.js +1 -1
- package/dist/features/auth/schemas/firestore.d.ts +1 -0
- package/dist/features/blog/components/BlogIndexListing.js +3 -6
- package/dist/features/cart/repository/cart.repository.d.ts +4 -1
- package/dist/features/cart/repository/cart.repository.js +12 -0
- package/dist/features/categories/components/CategoriesIndexListing.js +3 -6
- package/dist/features/checkout/hooks/useCheckoutApi.d.ts +0 -2
- package/dist/features/checkout/index.d.ts +1 -1
- package/dist/features/events/components/AdminEventsView.d.ts +3 -3
- package/dist/features/events/components/AdminEventsView.js +50 -86
- package/dist/features/events/components/EventOfferCard.d.ts +19 -0
- package/dist/features/events/components/EventOfferCard.js +29 -0
- package/dist/features/events/components/EventRaffleEntryForm.d.ts +25 -0
- package/dist/features/events/components/EventRaffleEntryForm.js +37 -0
- package/dist/features/events/components/EventRafflesSection.d.ts +1 -4
- package/dist/features/events/components/EventRafflesSection.js +17 -6
- package/dist/features/events/components/EventSaleBanner.d.ts +21 -0
- package/dist/features/events/components/EventSaleBanner.js +18 -0
- package/dist/features/events/components/EventsIndexListing.js +3 -4
- package/dist/features/events/components/index.d.ts +6 -0
- package/dist/features/events/components/index.js +4 -0
- package/dist/features/events/repository/event-entry.repository.d.ts +5 -0
- package/dist/features/events/repository/event-entry.repository.js +7 -0
- package/dist/features/filters/AsyncFacetSection.d.ts +1 -1
- package/dist/features/homepage/components/AnnouncementBar.d.ts +4 -1
- package/dist/features/homepage/components/AnnouncementBar.js +51 -4
- package/dist/features/homepage/components/FAQSection.d.ts +0 -5
- package/dist/features/homepage/components/MarketplaceHomepageView.d.ts +3 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.js +2 -2
- package/dist/features/homepage/components/index.d.ts +1 -1
- package/dist/features/homepage/components/index.js +1 -1
- package/dist/features/homepage/lib/live-stats.js +1 -1
- package/dist/features/homepage/lib/section-renderer.d.ts +2 -2
- package/dist/features/homepage/lib/section-renderer.js +2 -2
- package/dist/features/homepage/schemas/firestore.d.ts +0 -2
- package/dist/features/layout/index.d.ts +0 -2
- package/dist/features/layout/index.js +0 -1
- package/dist/features/orders/repository/orders.repository.d.ts +0 -1
- package/dist/features/orders/repository/orders.repository.js +0 -1
- package/dist/features/orders/server.d.ts +1 -1
- package/dist/features/orders/server.js +1 -1
- package/dist/features/pre-orders/server.d.ts +0 -1
- package/dist/features/pre-orders/server.js +0 -1
- package/dist/features/products/components/GroupSettingsPanel.js +65 -49
- package/dist/features/products/components/PrizeDrawItemsEditor.js +2 -2
- package/dist/features/products/components/PrizeDrawsSection.d.ts +1 -4
- package/dist/features/products/components/PrizeDrawsSection.js +17 -6
- package/dist/features/products/components/PrizeRevealModal.js +1 -1
- package/dist/features/products/components/ProductCardMetadataSection.d.ts +11 -0
- package/dist/features/products/components/ProductCardMetadataSection.js +25 -0
- package/dist/features/products/components/ProductDetailPageView.js +3 -1
- package/dist/features/products/components/ProductFeaturesSelector.js +1 -1
- package/dist/features/products/components/ProductGradingTab.d.ts +13 -0
- package/dist/features/products/components/ProductGradingTab.js +25 -0
- package/dist/features/products/components/ProductGrid.js +14 -2
- package/dist/features/products/components/ProductTabsShell.d.ts +5 -1
- package/dist/features/products/components/ProductTabsShell.js +6 -1
- package/dist/features/products/components/index.d.ts +4 -0
- package/dist/features/products/components/index.js +3 -0
- package/dist/features/products/constants/action-defs.d.ts +5 -0
- package/dist/features/products/constants/action-defs.js +52 -32
- package/dist/features/products/constants/sieve.d.ts +24 -4
- package/dist/features/products/constants/sieve.js +20 -11
- package/dist/features/products/repository/products.repository.d.ts +0 -2
- package/dist/features/products/repository/products.repository.js +0 -2
- package/dist/features/products/schemas/firestore.d.ts +17 -0
- package/dist/features/products/schemas/product-features.validators.d.ts +2 -2
- package/dist/features/products/schemas/product-templates.d.ts +2 -4
- package/dist/features/products/server.d.ts +1 -1
- package/dist/features/products/server.js +1 -1
- package/dist/features/products/types/index.d.ts +4 -0
- package/dist/features/promotions/components/CouponCard.js +5 -5
- package/dist/features/promotions/components/CouponsIndexListing.js +3 -2
- package/dist/features/promotions/server.d.ts +0 -1
- package/dist/features/promotions/server.js +0 -1
- package/dist/features/reviews/components/ReviewsIndexListing.js +3 -4
- package/dist/features/reviews/repository/reviews.repository.d.ts +0 -1
- package/dist/features/reviews/repository/reviews.repository.js +0 -1
- package/dist/features/reviews/server.d.ts +1 -1
- package/dist/features/reviews/server.js +1 -1
- package/dist/features/search/api/route.js +44 -1
- package/dist/features/search/components/Search.js +2 -0
- package/dist/features/search/hooks/useNavSuggestions.d.ts +5 -1
- package/dist/features/search/hooks/useNavSuggestions.js +31 -4
- package/dist/features/seller/components/BrandInlineSelect.js +2 -2
- package/dist/features/seller/components/CategoryInlineSelect.js +2 -2
- package/dist/features/seller/components/SellerAddressesView.js +10 -20
- package/dist/features/seller/components/SellerAuctionsView.d.ts +3 -3
- package/dist/features/seller/components/SellerAuctionsView.js +67 -106
- package/dist/features/seller/components/SellerBidsView.js +6 -6
- package/dist/features/seller/components/SellerBundlesView.js +72 -105
- package/dist/features/seller/components/SellerClassifiedView.js +74 -105
- package/dist/features/seller/components/SellerCouponEditorView.js +1 -1
- package/dist/features/seller/components/SellerCouponsView.d.ts +2 -2
- package/dist/features/seller/components/SellerCouponsView.js +51 -96
- package/dist/features/seller/components/SellerDigitalCodesView.js +70 -103
- package/dist/features/seller/components/SellerGroupedListingsView.js +34 -54
- package/dist/features/seller/components/SellerLiveView.js +70 -99
- package/dist/features/seller/components/SellerOffersPanel.js +1 -1
- package/dist/features/seller/components/SellerOffersView.d.ts +2 -2
- package/dist/features/seller/components/SellerOffersView.js +37 -70
- package/dist/features/seller/components/SellerOrdersView.d.ts +2 -2
- package/dist/features/seller/components/SellerOrdersView.js +10 -24
- package/dist/features/seller/components/SellerPayoutMethodsView.js +12 -24
- package/dist/features/seller/components/SellerPayoutsView.d.ts +2 -2
- package/dist/features/seller/components/SellerPayoutsView.js +34 -69
- package/dist/features/seller/components/SellerPreOrdersView.d.ts +2 -2
- package/dist/features/seller/components/SellerPreOrdersView.js +55 -97
- package/dist/features/seller/components/SellerPrizeDrawsView.d.ts +2 -2
- package/dist/features/seller/components/SellerPrizeDrawsView.js +55 -97
- package/dist/features/seller/components/SellerProductShell.d.ts +1 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +1 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +3 -6
- package/dist/features/seller/components/SellerProductsView.d.ts +2 -2
- package/dist/features/seller/components/SellerProductsView.js +24 -32
- package/dist/features/seller/components/SellerShippingConfigsView.js +12 -24
- package/dist/features/seller/components/SellerSidebar.d.ts +0 -4
- package/dist/features/seller/components/SellerSidebar.js +0 -2
- package/dist/features/seller/components/SellerStoreCategoriesView.js +15 -34
- package/dist/features/seller/components/SellerTemplatesView.js +27 -43
- package/dist/features/seller/components/SellersListView.d.ts +1 -2
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.d.ts +5 -0
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +2 -8
- package/dist/features/seller/components/index.d.ts +0 -3
- package/dist/features/seller/components/index.js +0 -2
- package/dist/features/seller/server.d.ts +0 -1
- package/dist/features/seller/server.js +0 -1
- package/dist/features/shell/FormShell.d.ts +1 -1
- package/dist/features/shell/FormShell.js +4 -1
- package/dist/features/shell/field-groups/ImageFieldGroup.d.ts +18 -0
- package/dist/features/shell/field-groups/ImageFieldGroup.js +15 -0
- package/dist/features/shell/field-groups/SeoFieldGroup.d.ts +22 -0
- package/dist/features/shell/field-groups/SeoFieldGroup.js +16 -0
- package/dist/features/shell/field-groups/StatusFieldGroup.d.ts +35 -0
- package/dist/features/shell/field-groups/StatusFieldGroup.js +16 -0
- package/dist/features/shell/field-groups/TitleDescriptionGroup.d.ts +40 -0
- package/dist/features/shell/field-groups/TitleDescriptionGroup.js +16 -0
- package/dist/features/shell/field-groups/index.d.ts +13 -0
- package/dist/features/shell/field-groups/index.js +9 -0
- package/dist/features/shell/index.d.ts +2 -0
- package/dist/features/shell/index.js +1 -0
- package/dist/features/stores/components/StoreCapabilitiesGuideView.d.ts +1 -2
- package/dist/features/stores/components/StoreFinanceGuideView.d.ts +1 -2
- package/dist/features/stores/components/StoreHeader.js +2 -1
- package/dist/features/stores/components/StoreListingsGuideView.d.ts +1 -2
- package/dist/features/stores/components/StoreOrdersGuideView.d.ts +1 -2
- package/dist/features/stores/components/StoreReviewsListing.js +3 -4
- package/dist/features/stores/components/StoreScopedSearch.d.ts +16 -0
- package/dist/features/stores/components/StoreScopedSearch.js +27 -0
- package/dist/features/stores/components/StoreSettingsGuideView.d.ts +1 -2
- package/dist/features/stores/components/StoresIndexListing.js +3 -4
- package/dist/features/stores/server.d.ts +0 -1
- package/dist/features/stores/server.js +0 -1
- package/dist/features/support/schemas/firestore.d.ts +22 -1
- package/dist/features/support/schemas/firestore.js +10 -0
- package/dist/features/wishlist/server.d.ts +0 -1
- package/dist/features/wishlist/server.js +0 -1
- package/dist/index.d.ts +11 -33
- package/dist/index.js +17 -62
- package/dist/next/routing/route-map.d.ts +8 -0
- package/dist/next/routing/route-map.js +4 -0
- package/dist/react/contexts/SessionContext.d.ts +2 -0
- package/dist/react/contexts/SessionContext.js +2 -0
- package/dist/react/hooks/useEntityDelete.d.ts +15 -0
- package/dist/react/hooks/useEntityDelete.js +39 -0
- package/dist/react/hooks/useListingTypeFlags.d.ts +32 -0
- package/dist/react/hooks/useListingTypeFlags.js +19 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.js +2 -0
- package/dist/repositories/index.d.ts +3 -3
- package/dist/repositories/index.js +3 -3
- package/dist/security/index.d.ts +1 -1
- package/dist/security/index.js +1 -1
- package/dist/security/pii-redact.d.ts +8 -0
- package/dist/security/pii-redact.js +10 -1
- package/dist/seed/grouped-listings-seed-data.d.ts +4 -0
- package/dist/seed/products-preorders-seed-data.d.ts +4 -0
- package/dist/seed/products-prize-draws-seed-data.js +3 -0
- package/dist/seed/site-settings-seed-data.js +5 -5
- package/dist/seed/sub-listings-seed-data.d.ts +4 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.js +4 -0
- package/dist/styles.css +54 -395
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/BaseListingCard.d.ts +10 -0
- package/dist/ui/components/BaseListingCard.js +17 -1
- package/dist/ui/components/DetailPageGallery.d.ts +32 -0
- package/dist/ui/components/DetailPageGallery.js +47 -0
- package/dist/ui/components/DetailPageHero.d.ts +30 -0
- package/dist/ui/components/DetailPageHero.js +22 -0
- package/dist/ui/components/DetailPageTabs.d.ts +34 -0
- package/dist/ui/components/DetailPageTabs.js +38 -0
- package/dist/ui/components/HorizontalScroller.style.css +15 -2
- package/dist/ui/components/ListingFilterDrawer.d.ts +10 -0
- package/dist/ui/components/ListingFilterDrawer.js +8 -0
- package/dist/ui/components/ListingLayout.d.ts +11 -2
- package/dist/ui/components/ListingLayout.js +12 -6
- package/dist/ui/components/PaginatedSelect.d.ts +66 -0
- package/dist/ui/components/PaginatedSelect.js +201 -0
- package/dist/ui/components/PaginatedSelect.style.css +254 -0
- package/dist/ui/components/Semantic.d.ts +0 -4
- package/dist/ui/components/Semantic.js +0 -2
- package/dist/ui/components/SettingsSection.d.ts +47 -0
- package/dist/ui/components/SettingsSection.js +38 -0
- package/dist/ui/components/index.style.css +1 -4
- package/dist/ui/index.d.ts +14 -14
- package/dist/ui/index.js +7 -7
- package/dist/utils/id-generators.d.ts +1 -18
- package/dist/utils/id-generators.js +51 -18
- package/dist/validation/schemas.d.ts +25 -0
- package/dist/validation/schemas.js +28 -0
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -37,6 +37,8 @@ export { usePendingFilters } from "./hooks/usePendingFilters";
|
|
|
37
37
|
export { usePendingTable } from "./hooks/usePendingTable";
|
|
38
38
|
// Unsaved changes tracking
|
|
39
39
|
export { useUnsavedChanges, UNSAVED_CHANGES_EVENT, } from "./hooks/useUnsavedChanges";
|
|
40
|
+
// Entity delete
|
|
41
|
+
export { useEntityDelete } from "./hooks/useEntityDelete";
|
|
40
42
|
// Bulk action mutation
|
|
41
43
|
export { useBulkAction } from "./hooks/useBulkAction";
|
|
42
44
|
// Container-aware fluid grid column counter (ResizeObserver-based)
|
|
@@ -10,9 +10,9 @@ export type { UnitOfWork } from "../core";
|
|
|
10
10
|
export { UserRepository, userRepository, EmailVerificationTokenRepository, PasswordResetTokenRepository, emailVerificationTokenRepository, passwordResetTokenRepository, tokenRepository, SessionRepository, sessionRepository, } from "../features/auth/repository";
|
|
11
11
|
export { SmsCounterRepository, smsCounterRepository, } from "../features/auth/repository/sms-counter.repository";
|
|
12
12
|
export { AddressesRepository, addressesRepository, } from "../features/addresses";
|
|
13
|
-
export { ProductRepository,
|
|
14
|
-
export { OrderRepository,
|
|
15
|
-
export { ReviewRepository,
|
|
13
|
+
export { ProductRepository, productRepository, } from "../features/products/repository/products.repository";
|
|
14
|
+
export { OrderRepository, orderRepository, } from "../features/orders/repository/orders.repository";
|
|
15
|
+
export { ReviewRepository, reviewRepository, } from "../features/reviews/repository/reviews.repository";
|
|
16
16
|
export { bidRepository } from "../features/auctions/repository/bid.repository";
|
|
17
17
|
export { CartRepository, cartRepository, } from "../features/cart/repository/cart.repository";
|
|
18
18
|
export { StoreRepository, storeRepository, } from "../features/stores/repository/store.repository";
|
|
@@ -14,9 +14,9 @@ export { SmsCounterRepository, smsCounterRepository, } from "../features/auth/re
|
|
|
14
14
|
// SB-UNI-A 2026-05-13 — top-level `addresses` collection with ownerType discriminator.
|
|
15
15
|
// Replaces the two prior subcollection repositories (account/address + stores/store-address).
|
|
16
16
|
export { AddressesRepository, addressesRepository, } from "../features/addresses";
|
|
17
|
-
export { ProductRepository,
|
|
18
|
-
export { OrderRepository,
|
|
19
|
-
export { ReviewRepository,
|
|
17
|
+
export { ProductRepository, productRepository, } from "../features/products/repository/products.repository";
|
|
18
|
+
export { OrderRepository, orderRepository, } from "../features/orders/repository/orders.repository";
|
|
19
|
+
export { ReviewRepository, reviewRepository, } from "../features/reviews/repository/reviews.repository";
|
|
20
20
|
// Canonical appkit-owned repositories
|
|
21
21
|
export { bidRepository } from "../features/auctions/repository/bid.repository";
|
|
22
22
|
export { CartRepository, cartRepository, } from "../features/cart/repository/cart.repository";
|
package/dist/security/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { rateLimit, applyRateLimit, rateLimitByIdentifier, RateLimitPresets, cle
|
|
|
3
3
|
export type { RateLimitConfig, RateLimitResult } from "./rate-limit";
|
|
4
4
|
export { requireAuth, requireRole, requireOwnership, requireEmailVerified, requireActiveAccount, canChangeRole, getRoleLevel, } from "./authorization";
|
|
5
5
|
export type { UserRole } from "./authorization";
|
|
6
|
-
export { redactPii, safeDisplayName, safeDisplayEmail } from "./pii-redact";
|
|
6
|
+
export { redactPii, safeDisplayName, safeDisplayEmail, maskIp } from "./pii-redact";
|
|
7
7
|
export { encryptValue, decryptValue, hmacBlindIndex, encryptPiiFields, decryptPiiFields, encryptPii, decryptPii, isPiiEncrypted, piiBlindIndex, addPiiIndices, getPiiConfigError, encryptShippingAddress, decryptShippingAddress, encryptPayoutDetails, decryptPayoutDetails, encryptShippingConfig, decryptShippingConfig, encryptPayoutBankAccount, decryptPayoutBankAccount, maskName, maskEmail, maskPublicReview, maskPublicBid, maskPublicEventEntry, maskOfferForSeller, ENC_PREFIX, HMAC_PREFIX, } from "./pii-encrypt";
|
|
8
8
|
export { USER_PII_FIELDS, USER_PII_INDEX_MAP, ADDRESS_PII_FIELDS, ORDER_PII_FIELDS, PAYOUT_PII_FIELDS, PAYOUT_PII_INDEX_MAP, BID_PII_FIELDS, NEWSLETTER_PII_FIELDS, NEWSLETTER_PII_INDEX_MAP, TOKEN_PII_FIELDS, TOKEN_PII_INDEX_MAP, REVIEW_PII_FIELDS, REVIEW_PII_INDEX_MAP, OFFER_PII_FIELDS, CHAT_PII_FIELDS, EVENT_ENTRY_PII_FIELDS, } from "./pii-schemas";
|
|
9
9
|
export { encryptSecret, decryptSecret, isSecretEncrypted, maskSecret, } from "./settings-encryption";
|
package/dist/security/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { generateNonce, buildCSP } from "./csp";
|
|
2
2
|
export { rateLimit, applyRateLimit, rateLimitByIdentifier, RateLimitPresets, clearRateLimitStore, } from "./rate-limit";
|
|
3
3
|
export { requireAuth, requireRole, requireOwnership, requireEmailVerified, requireActiveAccount, canChangeRole, getRoleLevel, } from "./authorization";
|
|
4
|
-
export { redactPii, safeDisplayName, safeDisplayEmail } from "./pii-redact";
|
|
4
|
+
export { redactPii, safeDisplayName, safeDisplayEmail, maskIp } from "./pii-redact";
|
|
5
5
|
export { encryptValue, decryptValue, hmacBlindIndex, encryptPiiFields, decryptPiiFields, encryptPii, decryptPii, isPiiEncrypted, piiBlindIndex, addPiiIndices, getPiiConfigError, encryptShippingAddress, decryptShippingAddress, encryptPayoutDetails, decryptPayoutDetails, encryptShippingConfig, decryptShippingConfig, encryptPayoutBankAccount, decryptPayoutBankAccount, maskName, maskEmail, maskPublicReview, maskPublicBid, maskPublicEventEntry, maskOfferForSeller, ENC_PREFIX, HMAC_PREFIX, } from "./pii-encrypt";
|
|
6
6
|
export { USER_PII_FIELDS, USER_PII_INDEX_MAP, ADDRESS_PII_FIELDS, ORDER_PII_FIELDS, PAYOUT_PII_FIELDS, PAYOUT_PII_INDEX_MAP, BID_PII_FIELDS, NEWSLETTER_PII_FIELDS, NEWSLETTER_PII_INDEX_MAP, TOKEN_PII_FIELDS, TOKEN_PII_INDEX_MAP, REVIEW_PII_FIELDS, REVIEW_PII_INDEX_MAP, OFFER_PII_FIELDS, CHAT_PII_FIELDS, EVENT_ENTRY_PII_FIELDS, } from "./pii-schemas";
|
|
7
7
|
export { encryptSecret, decryptSecret, isSecretEncrypted, maskSecret, } from "./settings-encryption";
|
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
* - Addresses, financial IDs → "[REDACTED]"
|
|
12
12
|
* - IPs → first octet only: "192.***.***.***"
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Mask an IPv4 address by zeroing the last three octets. Returns
|
|
16
|
+
* `[REDACTED]` for IPv6 / malformed input.
|
|
17
|
+
*
|
|
18
|
+
* W1-35: exported 2026-05-23 so session-read code paths can mask IPs at the
|
|
19
|
+
* repository layer (previously this lived as a private redact helper).
|
|
20
|
+
*/
|
|
21
|
+
export declare function maskIp(value: string): string;
|
|
14
22
|
/**
|
|
15
23
|
* Recursively redact PII from a data object before logging.
|
|
16
24
|
*
|
|
@@ -78,7 +78,16 @@ function maskName(value) {
|
|
|
78
78
|
return "[REDACTED]";
|
|
79
79
|
return `${value[0]}${"*".repeat(Math.min(value.length - 1, 8))}`;
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Mask an IPv4 address by zeroing the last three octets. Returns
|
|
83
|
+
* `[REDACTED]` for IPv6 / malformed input.
|
|
84
|
+
*
|
|
85
|
+
* W1-35: exported 2026-05-23 so session-read code paths can mask IPs at the
|
|
86
|
+
* repository layer (previously this lived as a private redact helper).
|
|
87
|
+
*/
|
|
88
|
+
export function maskIp(value) {
|
|
89
|
+
if (!value)
|
|
90
|
+
return "[REDACTED]";
|
|
82
91
|
const parts = value.split(".");
|
|
83
92
|
if (parts.length === 4)
|
|
84
93
|
return `${parts[0]}.***.***.***`;
|
|
@@ -24,6 +24,8 @@ export declare const groupedListingsSeedData: {
|
|
|
24
24
|
status?: import("..").ProductStatus | undefined;
|
|
25
25
|
storeId?: string | undefined;
|
|
26
26
|
storeName?: string | undefined;
|
|
27
|
+
storeRating?: number | undefined;
|
|
28
|
+
storeReviewCount?: number | undefined;
|
|
27
29
|
featured?: boolean | undefined;
|
|
28
30
|
tags?: string[] | undefined;
|
|
29
31
|
specifications?: import("..").ProductSpecification[] | undefined;
|
|
@@ -86,6 +88,8 @@ export declare const groupedListingsSeedData: {
|
|
|
86
88
|
groupParentSlug?: string | undefined;
|
|
87
89
|
groupChildSlugs?: string[] | undefined;
|
|
88
90
|
groupTitle?: string | undefined;
|
|
91
|
+
groupIcon?: string | undefined;
|
|
92
|
+
sublistingIcon?: string | undefined;
|
|
89
93
|
maxPerUser?: number | undefined;
|
|
90
94
|
partOfBundleIds?: string[] | undefined;
|
|
91
95
|
partOfBundleTitles?: string[] | undefined;
|
|
@@ -25,6 +25,8 @@ export declare const productsPreordersSeedData: {
|
|
|
25
25
|
status?: import("..").ProductStatus | undefined;
|
|
26
26
|
storeId?: string | undefined;
|
|
27
27
|
storeName?: string | undefined;
|
|
28
|
+
storeRating?: number | undefined;
|
|
29
|
+
storeReviewCount?: number | undefined;
|
|
28
30
|
featured?: boolean | undefined;
|
|
29
31
|
tags: string[];
|
|
30
32
|
specifications?: import("..").ProductSpecification[] | undefined;
|
|
@@ -87,6 +89,8 @@ export declare const productsPreordersSeedData: {
|
|
|
87
89
|
groupParentSlug?: string | undefined;
|
|
88
90
|
groupChildSlugs?: string[] | undefined;
|
|
89
91
|
groupTitle?: string | undefined;
|
|
92
|
+
groupIcon?: string | undefined;
|
|
93
|
+
sublistingIcon?: string | undefined;
|
|
90
94
|
maxPerUser?: number | undefined;
|
|
91
95
|
partOfBundleIds?: string[] | undefined;
|
|
92
96
|
partOfBundleTitles?: string[] | undefined;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Prices in INR paise (₹1 = 100 paise).
|
|
9
9
|
*/
|
|
10
10
|
import { PRODUCT_FIELDS, SCHEMA_DEFAULTS } from "../constants/field-names";
|
|
11
|
+
import { buildSearchTokens } from "../utils/search-tokens";
|
|
11
12
|
const NOW = new Date();
|
|
12
13
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
13
14
|
const daysAhead = (n) => new Date(NOW.getTime() + n * 86400000);
|
|
@@ -311,4 +312,6 @@ function _hotWheelsPrizeItems() {
|
|
|
311
312
|
export const productsPrizeDrawsSeedData = _rawProductsPrizeDrawsSeedData.map((p) => ({
|
|
312
313
|
...p,
|
|
313
314
|
listingType: "prize-draw",
|
|
315
|
+
// W1-50 — searchTokens consistent with other seeds.
|
|
316
|
+
searchTokens: buildSearchTokens(p.title, p.description, p.brand, p.brandSlug, p.categoryNames, p.tags, p.condition),
|
|
314
317
|
}));
|
|
@@ -370,8 +370,8 @@ export const siteSettingsSeedData = {
|
|
|
370
370
|
},
|
|
371
371
|
featureFlags: {
|
|
372
372
|
chats: true,
|
|
373
|
-
smsVerification:
|
|
374
|
-
translations:
|
|
373
|
+
smsVerification: true,
|
|
374
|
+
translations: true,
|
|
375
375
|
wishlists: true,
|
|
376
376
|
auctions: true,
|
|
377
377
|
reviews: true,
|
|
@@ -407,9 +407,9 @@ export const siteSettingsSeedData = {
|
|
|
407
407
|
},
|
|
408
408
|
notificationChannels: {
|
|
409
409
|
inApp: { enabled: true, readOnly: true },
|
|
410
|
-
email: { enabled:
|
|
411
|
-
whatsapp: { enabled:
|
|
412
|
-
sms: { enabled:
|
|
410
|
+
email: { enabled: true, minPriority: "normal" },
|
|
411
|
+
whatsapp: { enabled: true, minPriority: "high", otpEnabled: true },
|
|
412
|
+
sms: { enabled: true, minPriority: "high" },
|
|
413
413
|
},
|
|
414
414
|
actionConfig: {},
|
|
415
415
|
navConfig: {},
|
|
@@ -24,6 +24,8 @@ export declare const productsSublistingsSeedData: {
|
|
|
24
24
|
status?: import("..").ProductStatus | undefined;
|
|
25
25
|
storeId?: string | undefined;
|
|
26
26
|
storeName?: string | undefined;
|
|
27
|
+
storeRating?: number | undefined;
|
|
28
|
+
storeReviewCount?: number | undefined;
|
|
27
29
|
featured?: boolean | undefined;
|
|
28
30
|
tags?: string[] | undefined;
|
|
29
31
|
specifications?: import("..").ProductSpecification[] | undefined;
|
|
@@ -86,6 +88,8 @@ export declare const productsSublistingsSeedData: {
|
|
|
86
88
|
groupParentSlug?: string | undefined;
|
|
87
89
|
groupChildSlugs?: string[] | undefined;
|
|
88
90
|
groupTitle?: string | undefined;
|
|
91
|
+
groupIcon?: string | undefined;
|
|
92
|
+
sublistingIcon?: string | undefined;
|
|
89
93
|
maxPerUser?: number | undefined;
|
|
90
94
|
partOfBundleIds?: string[] | undefined;
|
|
91
95
|
partOfBundleTitles?: string[] | undefined;
|
package/dist/server.d.ts
CHANGED
|
@@ -497,6 +497,8 @@ export { getDisabledRoutes } from "./features/admin/utils/getDisabledRoutes";
|
|
|
497
497
|
export { getSiteSettingsGlobal } from "./features/admin/utils/getSiteSettingsGlobal";
|
|
498
498
|
export { updateActionConfigDomain, updateNavConfigDomain } from "./_internal/server/features/site-settings/actions";
|
|
499
499
|
export { getClassifiedForDetail, type ClassifiedDataOptions } from "./_internal/server/features/classified/data";
|
|
500
|
+
export { getPrizeDrawForDetail, renderPrizeDrawOg, renderPrizeDrawOgImage, type PrizeDrawDataOptions, type PrizeDrawOgData, } from "./_internal/server/features/prize-draws/index";
|
|
501
|
+
export { getItemRequestForDetail, renderItemRequestOg, renderItemRequestOgImage, type ItemRequestDataOptions, type ItemRequestOgData, } from "./_internal/server/features/item-requests/index";
|
|
500
502
|
export { toClientClassified, type ClassifiedClientShape } from "./_internal/server/features/classified/adapters";
|
|
501
503
|
export { buildClassifiedMetadata, type ClassifiedMetadataOptions } from "./_internal/server/features/classified/metadata";
|
|
502
504
|
export { renderClassifiedOg, renderClassifiedOgImage, renderClassifiedOgFromDoc, type ClassifiedOgData } from "./_internal/server/features/classified/og";
|
package/dist/server.js
CHANGED
|
@@ -1375,6 +1375,10 @@ export { getSiteSettingsGlobal } from "./features/admin/utils/getSiteSettingsGlo
|
|
|
1375
1375
|
export { updateActionConfigDomain, updateNavConfigDomain } from "./_internal/server/features/site-settings/actions";
|
|
1376
1376
|
// ── Classified listing — data + adapters + metadata + OG ─────────────────────
|
|
1377
1377
|
export { getClassifiedForDetail } from "./_internal/server/features/classified/data";
|
|
1378
|
+
// OG-coverage-followup 2026-05-23 — prize-draws OG renderer.
|
|
1379
|
+
export { getPrizeDrawForDetail, renderPrizeDrawOg, renderPrizeDrawOgImage, } from "./_internal/server/features/prize-draws/index";
|
|
1380
|
+
// OG-coverage-followup 2026-05-23 — item-requests OG renderer.
|
|
1381
|
+
export { getItemRequestForDetail, renderItemRequestOg, renderItemRequestOgImage, } from "./_internal/server/features/item-requests/index";
|
|
1378
1382
|
export { toClientClassified } from "./_internal/server/features/classified/adapters";
|
|
1379
1383
|
export { buildClassifiedMetadata } from "./_internal/server/features/classified/metadata";
|
|
1380
1384
|
export { renderClassifiedOg, renderClassifiedOgImage, renderClassifiedOgFromDoc } from "./_internal/server/features/classified/og";
|