@mohasinac/appkit 2.2.0 → 2.3.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/README.md +79 -31
- package/dist/index.d.ts +3124 -1
- package/dist/index.js +5836 -1
- package/package.json +67 -87
- package/dist/cli/index.d.ts +0 -38
- package/dist/cli/index.js +0 -177
- package/dist/client.d.ts +0 -15
- package/dist/client.js +0 -15
- package/dist/constants/api-endpoint-resolver.d.ts +0 -34
- package/dist/constants/api-endpoint-resolver.js +0 -38
- package/dist/constants/api-endpoints.d.ts +0 -388
- package/dist/constants/api-endpoints.js +0 -342
- package/dist/constants/cache-invalidation.d.ts +0 -18
- package/dist/constants/cache-invalidation.js +0 -33
- package/dist/constants/index.d.ts +0 -14
- package/dist/constants/index.js +0 -14
- package/dist/contracts/auth.d.ts +0 -58
- package/dist/contracts/auth.js +0 -2
- package/dist/contracts/client-auth.d.ts +0 -22
- package/dist/contracts/client-auth.js +0 -17
- package/dist/contracts/client-payment-gateway.d.ts +0 -65
- package/dist/contracts/client-payment-gateway.js +0 -25
- package/dist/contracts/client-realtime.d.ts +0 -24
- package/dist/contracts/client-realtime.js +0 -18
- package/dist/contracts/client-session.d.ts +0 -37
- package/dist/contracts/client-session.js +0 -22
- package/dist/contracts/config.d.ts +0 -53
- package/dist/contracts/config.js +0 -2
- package/dist/contracts/email.d.ts +0 -30
- package/dist/contracts/email.js +0 -2
- package/dist/contracts/extend.d.ts +0 -270
- package/dist/contracts/extend.js +0 -75
- package/dist/contracts/feature.d.ts +0 -53
- package/dist/contracts/feature.js +0 -2
- package/dist/contracts/field-ops.d.ts +0 -31
- package/dist/contracts/field-ops.js +0 -35
- package/dist/contracts/form.d.ts +0 -89
- package/dist/contracts/form.js +0 -80
- package/dist/contracts/index.d.ts +0 -32
- package/dist/contracts/index.js +0 -13
- package/dist/contracts/infra.d.ts +0 -43
- package/dist/contracts/infra.js +0 -2
- package/dist/contracts/payment.d.ts +0 -39
- package/dist/contracts/payment.js +0 -2
- package/dist/contracts/registry.d.ts +0 -26
- package/dist/contracts/registry.js +0 -14
- package/dist/contracts/repository.d.ts +0 -127
- package/dist/contracts/repository.js +0 -28
- package/dist/contracts/search.d.ts +0 -44
- package/dist/contracts/search.js +0 -2
- package/dist/contracts/shipping.d.ts +0 -64
- package/dist/contracts/shipping.js +0 -2
- package/dist/contracts/storage.d.ts +0 -27
- package/dist/contracts/storage.js +0 -2
- package/dist/contracts/style.d.ts +0 -23
- package/dist/contracts/style.js +0 -2
- package/dist/contracts/table.d.ts +0 -104
- package/dist/contracts/table.js +0 -68
- package/dist/core/CacheManager.d.ts +0 -31
- package/dist/core/CacheManager.js +0 -63
- package/dist/core/EventBus.d.ts +0 -27
- package/dist/core/EventBus.js +0 -75
- package/dist/core/Logger.d.ts +0 -60
- package/dist/core/Logger.js +0 -153
- package/dist/core/Queue.d.ts +0 -43
- package/dist/core/Queue.js +0 -92
- package/dist/core/StorageManager.d.ts +0 -36
- package/dist/core/StorageManager.js +0 -159
- package/dist/core/baseline-resolver.d.ts +0 -52
- package/dist/core/baseline-resolver.js +0 -74
- package/dist/core/browser.d.ts +0 -18
- package/dist/core/browser.js +0 -9
- package/dist/core/copilot-log.repository.d.ts +0 -44
- package/dist/core/copilot-log.repository.js +0 -61
- package/dist/core/hooks/useSiteSettings.d.ts +0 -1
- package/dist/core/hooks/useSiteSettings.js +0 -11
- package/dist/core/index.d.ts +0 -34
- package/dist/core/index.js +0 -21
- package/dist/core/integration-keys.d.ts +0 -30
- package/dist/core/integration-keys.js +0 -55
- package/dist/core/mutation-events.d.ts +0 -147
- package/dist/core/mutation-events.js +0 -193
- package/dist/core/newsletter-actions.d.ts +0 -20
- package/dist/core/newsletter-actions.js +0 -28
- package/dist/core/newsletter.repository.d.ts +0 -55
- package/dist/core/newsletter.repository.js +0 -109
- package/dist/core/server-action.d.ts +0 -114
- package/dist/core/server-action.js +0 -119
- package/dist/core/site-config.d.ts +0 -33
- package/dist/core/site-config.js +0 -74
- package/dist/core/unit-of-work.d.ts +0 -32
- package/dist/core/unit-of-work.js +0 -114
- package/dist/errors/api-error.d.ts +0 -4
- package/dist/errors/api-error.js +0 -6
- package/dist/errors/authentication-error.d.ts +0 -4
- package/dist/errors/authentication-error.js +0 -6
- package/dist/errors/authorization-error.d.ts +0 -4
- package/dist/errors/authorization-error.js +0 -6
- package/dist/errors/base-error.d.ts +0 -14
- package/dist/errors/base-error.js +0 -22
- package/dist/errors/database-error.d.ts +0 -4
- package/dist/errors/database-error.js +0 -6
- package/dist/errors/error-codes.d.ts +0 -43
- package/dist/errors/error-codes.js +0 -93
- package/dist/errors/error-handler.d.ts +0 -16
- package/dist/errors/error-handler.js +0 -57
- package/dist/errors/index.d.ts +0 -11
- package/dist/errors/index.js +0 -15
- package/dist/errors/messages.d.ts +0 -469
- package/dist/errors/messages.js +0 -503
- package/dist/errors/not-found-error.d.ts +0 -4
- package/dist/errors/not-found-error.js +0 -6
- package/dist/errors/validation-error.d.ts +0 -4
- package/dist/errors/validation-error.js +0 -6
- package/dist/features/about/components/AboutView.d.ts +0 -38
- package/dist/features/about/components/AboutView.js +0 -5
- package/dist/features/about/index.d.ts +0 -2
- package/dist/features/about/index.js +0 -1
- package/dist/features/account/actions/address-actions.d.ts +0 -7
- package/dist/features/account/actions/address-actions.js +0 -24
- package/dist/features/account/actions/index.d.ts +0 -1
- package/dist/features/account/actions/index.js +0 -1
- package/dist/features/account/address-validation.d.ts +0 -20
- package/dist/features/account/address-validation.js +0 -35
- package/dist/features/account/api/[userId]/addresses/route.d.ts +0 -21
- package/dist/features/account/api/[userId]/addresses/route.js +0 -91
- package/dist/features/account/api/[userId]/route.d.ts +0 -23
- package/dist/features/account/api/[userId]/route.js +0 -67
- package/dist/features/account/columns/index.d.ts +0 -17
- package/dist/features/account/columns/index.js +0 -39
- package/dist/features/account/components/AddressBook.d.ts +0 -39
- package/dist/features/account/components/AddressBook.js +0 -14
- package/dist/features/account/components/AddressForm.d.ts +0 -39
- package/dist/features/account/components/AddressForm.js +0 -55
- package/dist/features/account/components/AddressSelectorCreate.d.ts +0 -16
- package/dist/features/account/components/AddressSelectorCreate.js +0 -40
- package/dist/features/account/components/BecomeSellerView.d.ts +0 -17
- package/dist/features/account/components/BecomeSellerView.js +0 -5
- package/dist/features/account/components/ChatList.d.ts +0 -14
- package/dist/features/account/components/ChatList.js +0 -10
- package/dist/features/account/components/ChatWindow.d.ts +0 -17
- package/dist/features/account/components/ChatWindow.js +0 -6
- package/dist/features/account/components/MessagesView.d.ts +0 -16
- package/dist/features/account/components/MessagesView.js +0 -5
- package/dist/features/account/components/NotificationBell.d.ts +0 -32
- package/dist/features/account/components/NotificationBell.js +0 -80
- package/dist/features/account/components/OrderDetailView.d.ts +0 -18
- package/dist/features/account/components/OrderDetailView.js +0 -12
- package/dist/features/account/components/ProfileView.d.ts +0 -12
- package/dist/features/account/components/ProfileView.js +0 -5
- package/dist/features/account/components/UserAccountHubView.d.ts +0 -13
- package/dist/features/account/components/UserAccountHubView.js +0 -5
- package/dist/features/account/components/UserAddressesView.d.ts +0 -13
- package/dist/features/account/components/UserAddressesView.js +0 -5
- package/dist/features/account/components/UserNotificationsView.d.ts +0 -15
- package/dist/features/account/components/UserNotificationsView.js +0 -12
- package/dist/features/account/components/UserOffersView.d.ts +0 -10
- package/dist/features/account/components/UserOffersView.js +0 -5
- package/dist/features/account/components/UserOrderTrackView.d.ts +0 -16
- package/dist/features/account/components/UserOrderTrackView.js +0 -8
- package/dist/features/account/components/UserOrdersView.d.ts +0 -12
- package/dist/features/account/components/UserOrdersView.js +0 -5
- package/dist/features/account/components/UserSettingsView.d.ts +0 -15
- package/dist/features/account/components/UserSettingsView.js +0 -12
- package/dist/features/account/components/index.d.ts +0 -34
- package/dist/features/account/components/index.js +0 -17
- package/dist/features/account/constants/addresses.d.ts +0 -13
- package/dist/features/account/constants/addresses.js +0 -43
- package/dist/features/account/hooks/useAccount.d.ts +0 -13
- package/dist/features/account/hooks/useAccount.js +0 -19
- package/dist/features/account/hooks/useAddressForm.d.ts +0 -24
- package/dist/features/account/hooks/useAddressForm.js +0 -58
- package/dist/features/account/hooks/useAddressSelector.d.ts +0 -25
- package/dist/features/account/hooks/useAddressSelector.js +0 -30
- package/dist/features/account/hooks/useAddresses.d.ts +0 -59
- package/dist/features/account/hooks/useAddresses.js +0 -73
- package/dist/features/account/hooks/useNotifications.d.ts +0 -23
- package/dist/features/account/hooks/useNotifications.js +0 -31
- package/dist/features/account/hooks/useProfile.d.ts +0 -25
- package/dist/features/account/hooks/useProfile.js +0 -24
- package/dist/features/account/hooks/useProfileStats.d.ts +0 -6
- package/dist/features/account/hooks/useProfileStats.js +0 -21
- package/dist/features/account/hooks/usePublicProfile.d.ts +0 -78
- package/dist/features/account/hooks/usePublicProfile.js +0 -51
- package/dist/features/account/index.d.ts +0 -15
- package/dist/features/account/index.js +0 -15
- package/dist/features/account/manifest.d.ts +0 -2
- package/dist/features/account/manifest.js +0 -27
- package/dist/features/account/messages/en.json +0 -12
- package/dist/features/account/repository/account.repository.d.ts +0 -11
- package/dist/features/account/repository/account.repository.js +0 -20
- package/dist/features/account/repository/address.repository.d.ts +0 -17
- package/dist/features/account/repository/address.repository.js +0 -185
- package/dist/features/account/schemas/firestore.d.ts +0 -48
- package/dist/features/account/schemas/firestore.js +0 -59
- package/dist/features/account/schemas/index.d.ts +0 -198
- package/dist/features/account/schemas/index.js +0 -51
- package/dist/features/account/server.d.ts +0 -9
- package/dist/features/account/server.js +0 -9
- package/dist/features/account/types/index.d.ts +0 -83
- package/dist/features/account/types/index.js +0 -2
- package/dist/features/admin/actions/admin-actions.d.ts +0 -35
- package/dist/features/admin/actions/admin-actions.js +0 -174
- package/dist/features/admin/actions/admin-coupon-actions.d.ts +0 -17
- package/dist/features/admin/actions/admin-coupon-actions.js +0 -87
- package/dist/features/admin/actions/admin-read-actions.d.ts +0 -105
- package/dist/features/admin/actions/admin-read-actions.js +0 -172
- package/dist/features/admin/actions/chat-actions.d.ts +0 -29
- package/dist/features/admin/actions/chat-actions.js +0 -97
- package/dist/features/admin/actions/index.d.ts +0 -6
- package/dist/features/admin/actions/index.js +0 -6
- package/dist/features/admin/actions/notification-actions.d.ts +0 -31
- package/dist/features/admin/actions/notification-actions.js +0 -42
- package/dist/features/admin/actions/site-settings-actions.d.ts +0 -8
- package/dist/features/admin/actions/site-settings-actions.js +0 -16
- package/dist/features/admin/api/bids/route.d.ts +0 -14
- package/dist/features/admin/api/bids/route.js +0 -53
- package/dist/features/admin/api/coupons/route.d.ts +0 -14
- package/dist/features/admin/api/coupons/route.js +0 -53
- package/dist/features/admin/api/products/route.d.ts +0 -14
- package/dist/features/admin/api/products/route.js +0 -54
- package/dist/features/admin/api/reviews/route.d.ts +0 -14
- package/dist/features/admin/api/reviews/route.js +0 -53
- package/dist/features/admin/components/AdminAnalyticsView.d.ts +0 -29
- package/dist/features/admin/components/AdminAnalyticsView.js +0 -15
- package/dist/features/admin/components/AdminBidsView.d.ts +0 -4
- package/dist/features/admin/components/AdminBidsView.js +0 -5
- package/dist/features/admin/components/AdminBlogView.d.ts +0 -4
- package/dist/features/admin/components/AdminBlogView.js +0 -5
- package/dist/features/admin/components/AdminCarouselView.d.ts +0 -9
- package/dist/features/admin/components/AdminCarouselView.js +0 -5
- package/dist/features/admin/components/AdminCategoriesView.d.ts +0 -9
- package/dist/features/admin/components/AdminCategoriesView.js +0 -5
- package/dist/features/admin/components/AdminCouponsView.d.ts +0 -4
- package/dist/features/admin/components/AdminCouponsView.js +0 -5
- package/dist/features/admin/components/AdminDashboardView.d.ts +0 -16
- package/dist/features/admin/components/AdminDashboardView.js +0 -11
- package/dist/features/admin/components/AdminFaqsView.d.ts +0 -4
- package/dist/features/admin/components/AdminFaqsView.js +0 -5
- package/dist/features/admin/components/AdminFeatureFlagsView.d.ts +0 -9
- package/dist/features/admin/components/AdminFeatureFlagsView.js +0 -5
- package/dist/features/admin/components/AdminFilterBar.d.ts +0 -65
- package/dist/features/admin/components/AdminFilterBar.js +0 -22
- package/dist/features/admin/components/AdminMediaView.d.ts +0 -9
- package/dist/features/admin/components/AdminMediaView.js +0 -5
- package/dist/features/admin/components/AdminNavigationView.d.ts +0 -9
- package/dist/features/admin/components/AdminNavigationView.js +0 -5
- package/dist/features/admin/components/AdminOrdersView.d.ts +0 -4
- package/dist/features/admin/components/AdminOrdersView.js +0 -5
- package/dist/features/admin/components/AdminPageHeader.d.ts +0 -53
- package/dist/features/admin/components/AdminPageHeader.js +0 -12
- package/dist/features/admin/components/AdminPayoutsView.d.ts +0 -4
- package/dist/features/admin/components/AdminPayoutsView.js +0 -5
- package/dist/features/admin/components/AdminProductsView.d.ts +0 -4
- package/dist/features/admin/components/AdminProductsView.js +0 -5
- package/dist/features/admin/components/AdminReviewsView.d.ts +0 -7
- package/dist/features/admin/components/AdminReviewsView.js +0 -5
- package/dist/features/admin/components/AdminSectionsView.d.ts +0 -9
- package/dist/features/admin/components/AdminSectionsView.js +0 -5
- package/dist/features/admin/components/AdminSessionsManager.d.ts +0 -9
- package/dist/features/admin/components/AdminSessionsManager.js +0 -5
- package/dist/features/admin/components/AdminSidebar.d.ts +0 -9
- package/dist/features/admin/components/AdminSidebar.js +0 -6
- package/dist/features/admin/components/AdminSiteView.d.ts +0 -10
- package/dist/features/admin/components/AdminSiteView.js +0 -5
- package/dist/features/admin/components/AdminStoresView.d.ts +0 -4
- package/dist/features/admin/components/AdminStoresView.js +0 -5
- package/dist/features/admin/components/AdminTopBar.d.ts +0 -8
- package/dist/features/admin/components/AdminTopBar.js +0 -8
- package/dist/features/admin/components/AdminUsersView.d.ts +0 -4
- package/dist/features/admin/components/AdminUsersView.js +0 -5
- package/dist/features/admin/components/DashboardStats.d.ts +0 -8
- package/dist/features/admin/components/DashboardStats.js +0 -21
- package/dist/features/admin/components/DataTable.d.ts +0 -19
- package/dist/features/admin/components/DataTable.js +0 -7
- package/dist/features/admin/components/DemoSeedView.d.ts +0 -11
- package/dist/features/admin/components/DemoSeedView.js +0 -5
- package/dist/features/admin/components/DrawerFormFooter.d.ts +0 -54
- package/dist/features/admin/components/DrawerFormFooter.js +0 -6
- package/dist/features/admin/components/QuickActionsPanel.d.ts +0 -15
- package/dist/features/admin/components/QuickActionsPanel.js +0 -6
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.d.ts +0 -17
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +0 -33
- package/dist/features/admin/components/analytics/AdminStatCard.d.ts +0 -8
- package/dist/features/admin/components/analytics/AdminStatCard.js +0 -6
- package/dist/features/admin/components/analytics/AdminTopProductsTable.d.ts +0 -16
- package/dist/features/admin/components/analytics/AdminTopProductsTable.js +0 -6
- package/dist/features/admin/components/analytics/index.d.ts +0 -3
- package/dist/features/admin/components/analytics/index.js +0 -3
- package/dist/features/admin/components/index.d.ts +0 -62
- package/dist/features/admin/components/index.js +0 -32
- package/dist/features/admin/hooks/useAdmin.d.ts +0 -9
- package/dist/features/admin/hooks/useAdmin.js +0 -14
- package/dist/features/admin/hooks/useChat.d.ts +0 -24
- package/dist/features/admin/hooks/useChat.js +0 -97
- package/dist/features/admin/index.d.ts +0 -8
- package/dist/features/admin/index.js +0 -7
- package/dist/features/admin/manifest.d.ts +0 -2
- package/dist/features/admin/manifest.js +0 -13
- package/dist/features/admin/messages/en.json +0 -13
- package/dist/features/admin/permission-map.d.ts +0 -3
- package/dist/features/admin/permission-map.js +0 -24
- package/dist/features/admin/repository/chat.repository.d.ts +0 -70
- package/dist/features/admin/repository/chat.repository.js +0 -216
- package/dist/features/admin/repository/notification.repository.d.ts +0 -64
- package/dist/features/admin/repository/notification.repository.js +0 -225
- package/dist/features/admin/repository/site-settings.repository.d.ts +0 -118
- package/dist/features/admin/repository/site-settings.repository.js +0 -214
- package/dist/features/admin/schemas/firestore.d.ts +0 -311
- package/dist/features/admin/schemas/firestore.js +0 -246
- package/dist/features/admin/schemas/index.d.ts +0 -1
- package/dist/features/admin/schemas/index.js +0 -1
- package/dist/features/admin/server.d.ts +0 -15
- package/dist/features/admin/server.js +0 -14
- package/dist/features/admin/types/index.d.ts +0 -61
- package/dist/features/admin/types/index.js +0 -1
- package/dist/features/admin/types/product.types.d.ts +0 -78
- package/dist/features/admin/types/product.types.js +0 -13
- package/dist/features/auctions/actions/bid-actions.d.ts +0 -22
- package/dist/features/auctions/actions/bid-actions.js +0 -106
- package/dist/features/auctions/actions/index.d.ts +0 -1
- package/dist/features/auctions/actions/index.js +0 -1
- package/dist/features/auctions/api/route.d.ts +0 -14
- package/dist/features/auctions/api/route.js +0 -67
- package/dist/features/auctions/columns/index.d.ts +0 -14
- package/dist/features/auctions/columns/index.js +0 -63
- package/dist/features/auctions/components/AuctionCard.d.ts +0 -26
- package/dist/features/auctions/components/AuctionCard.js +0 -35
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +0 -56
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +0 -112
- package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +0 -22
- package/dist/features/auctions/components/MarketplaceAuctionGrid.js +0 -37
- package/dist/features/auctions/components/index.d.ts +0 -3
- package/dist/features/auctions/components/index.js +0 -3
- package/dist/features/auctions/hooks/useAuctions.d.ts +0 -50
- package/dist/features/auctions/hooks/useAuctions.js +0 -93
- package/dist/features/auctions/hooks/usePlaceBid.d.ts +0 -24
- package/dist/features/auctions/hooks/usePlaceBid.js +0 -29
- package/dist/features/auctions/hooks/useRealtimeBids.d.ts +0 -38
- package/dist/features/auctions/hooks/useRealtimeBids.js +0 -66
- package/dist/features/auctions/index.d.ts +0 -8
- package/dist/features/auctions/index.js +0 -8
- package/dist/features/auctions/manifest.d.ts +0 -2
- package/dist/features/auctions/manifest.js +0 -17
- package/dist/features/auctions/messages/en.json +0 -18
- package/dist/features/auctions/repository/auctions.repository.d.ts +0 -12
- package/dist/features/auctions/repository/auctions.repository.js +0 -42
- package/dist/features/auctions/repository/bid.repository.d.ts +0 -145
- package/dist/features/auctions/repository/bid.repository.js +0 -370
- package/dist/features/auctions/schemas/firestore.d.ts +0 -48
- package/dist/features/auctions/schemas/firestore.js +0 -50
- package/dist/features/auctions/schemas/index.d.ts +0 -155
- package/dist/features/auctions/schemas/index.js +0 -64
- package/dist/features/auctions/server.d.ts +0 -10
- package/dist/features/auctions/server.js +0 -10
- package/dist/features/auctions/types/index.d.ts +0 -73
- package/dist/features/auctions/types/index.js +0 -1
- package/dist/features/auth/actions/index.d.ts +0 -2
- package/dist/features/auth/actions/index.js +0 -2
- package/dist/features/auth/actions/profile-actions.d.ts +0 -27
- package/dist/features/auth/actions/profile-actions.js +0 -50
- package/dist/features/auth/actions/realtime-token-actions.d.ts +0 -11
- package/dist/features/auth/actions/realtime-token-actions.js +0 -31
- package/dist/features/auth/api/route.d.ts +0 -22
- package/dist/features/auth/api/route.js +0 -48
- package/dist/features/auth/auth-helpers.d.ts +0 -14
- package/dist/features/auth/auth-helpers.js +0 -68
- package/dist/features/auth/components/AuthStatusPanel.d.ts +0 -10
- package/dist/features/auth/components/AuthStatusPanel.js +0 -22
- package/dist/features/auth/components/ForgotPasswordView.d.ts +0 -18
- package/dist/features/auth/components/ForgotPasswordView.js +0 -15
- package/dist/features/auth/components/Guards.d.ts +0 -86
- package/dist/features/auth/components/Guards.js +0 -91
- package/dist/features/auth/components/LoginForm.d.ts +0 -36
- package/dist/features/auth/components/LoginForm.js +0 -18
- package/dist/features/auth/components/RegisterForm.d.ts +0 -36
- package/dist/features/auth/components/RegisterForm.js +0 -27
- package/dist/features/auth/components/ResetPasswordView.d.ts +0 -23
- package/dist/features/auth/components/ResetPasswordView.js +0 -22
- package/dist/features/auth/components/SocialAuthButtons.d.ts +0 -8
- package/dist/features/auth/components/SocialAuthButtons.js +0 -6
- package/dist/features/auth/components/VerifyEmailView.d.ts +0 -20
- package/dist/features/auth/components/VerifyEmailView.js +0 -8
- package/dist/features/auth/components/index.d.ts +0 -14
- package/dist/features/auth/components/index.js +0 -8
- package/dist/features/auth/consent-otp.d.ts +0 -52
- package/dist/features/auth/consent-otp.js +0 -120
- package/dist/features/auth/hooks/useAuth.d.ts +0 -81
- package/dist/features/auth/hooks/useAuth.js +0 -164
- package/dist/features/auth/hooks/useAuthEvent.d.ts +0 -22
- package/dist/features/auth/hooks/useAuthEvent.js +0 -31
- package/dist/features/auth/hooks/useLogout.d.ts +0 -16
- package/dist/features/auth/hooks/useLogout.js +0 -22
- package/dist/features/auth/hooks/useRBAC.d.ts +0 -38
- package/dist/features/auth/hooks/useRBAC.js +0 -80
- package/dist/features/auth/index.d.ts +0 -10
- package/dist/features/auth/index.js +0 -10
- package/dist/features/auth/manifest.d.ts +0 -2
- package/dist/features/auth/manifest.js +0 -21
- package/dist/features/auth/messages/en.json +0 -13
- package/dist/features/auth/repository/index.d.ts +0 -4
- package/dist/features/auth/repository/index.js +0 -4
- package/dist/features/auth/repository/session.repository.d.ts +0 -44
- package/dist/features/auth/repository/session.repository.js +0 -246
- package/dist/features/auth/repository/sms-counter.repository.d.ts +0 -15
- package/dist/features/auth/repository/sms-counter.repository.js +0 -54
- package/dist/features/auth/repository/token.repository.d.ts +0 -38
- package/dist/features/auth/repository/token.repository.js +0 -186
- package/dist/features/auth/repository/user.repository.d.ts +0 -46
- package/dist/features/auth/repository/user.repository.js +0 -233
- package/dist/features/auth/schemas/firestore.d.ts +0 -351
- package/dist/features/auth/schemas/firestore.js +0 -272
- package/dist/features/auth/schemas/index.d.ts +0 -72
- package/dist/features/auth/schemas/index.js +0 -41
- package/dist/features/auth/server.d.ts +0 -21
- package/dist/features/auth/server.js +0 -21
- package/dist/features/auth/token-helpers.d.ts +0 -7
- package/dist/features/auth/token-helpers.js +0 -37
- package/dist/features/auth/token-store.d.ts +0 -39
- package/dist/features/auth/token-store.js +0 -120
- package/dist/features/auth/types/index.d.ts +0 -30
- package/dist/features/auth/types/index.js +0 -1
- package/dist/features/before-after/api/[id]/route.d.ts +0 -26
- package/dist/features/before-after/api/[id]/route.js +0 -88
- package/dist/features/before-after/api/route.d.ts +0 -13
- package/dist/features/before-after/api/route.js +0 -79
- package/dist/features/before-after/columns/index.d.ts +0 -17
- package/dist/features/before-after/columns/index.js +0 -50
- package/dist/features/before-after/components/BeforeAfterGallery.d.ts +0 -7
- package/dist/features/before-after/components/BeforeAfterGallery.js +0 -8
- package/dist/features/before-after/components/BeforeAfterSlider.d.ts +0 -7
- package/dist/features/before-after/components/BeforeAfterSlider.js +0 -27
- package/dist/features/before-after/components/index.d.ts +0 -2
- package/dist/features/before-after/components/index.js +0 -2
- package/dist/features/before-after/hooks/useBeforeAfter.d.ts +0 -15
- package/dist/features/before-after/hooks/useBeforeAfter.js +0 -25
- package/dist/features/before-after/index.d.ts +0 -6
- package/dist/features/before-after/index.js +0 -6
- package/dist/features/before-after/manifest.d.ts +0 -2
- package/dist/features/before-after/manifest.js +0 -10
- package/dist/features/before-after/messages/en.json +0 -8
- package/dist/features/before-after/repository/before-after.repository.d.ts +0 -13
- package/dist/features/before-after/repository/before-after.repository.js +0 -36
- package/dist/features/before-after/schemas/index.d.ts +0 -48
- package/dist/features/before-after/schemas/index.js +0 -24
- package/dist/features/before-after/server.d.ts +0 -7
- package/dist/features/before-after/server.js +0 -7
- package/dist/features/before-after/types/index.d.ts +0 -18
- package/dist/features/before-after/types/index.js +0 -1
- package/dist/features/blog/actions/blog-actions.d.ts +0 -302
- package/dist/features/blog/actions/blog-actions.js +0 -119
- package/dist/features/blog/actions/index.d.ts +0 -1
- package/dist/features/blog/actions/index.js +0 -1
- package/dist/features/blog/api/[slug]/route.d.ts +0 -23
- package/dist/features/blog/api/[slug]/route.js +0 -40
- package/dist/features/blog/api/route.d.ts +0 -12
- package/dist/features/blog/api/route.js +0 -64
- package/dist/features/blog/columns/index.d.ts +0 -27
- package/dist/features/blog/columns/index.js +0 -54
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +0 -17
- package/dist/features/blog/components/BlogFeaturedCard.js +0 -24
- package/dist/features/blog/components/BlogFilters.d.ts +0 -106
- package/dist/features/blog/components/BlogFilters.js +0 -67
- package/dist/features/blog/components/BlogListView.d.ts +0 -29
- package/dist/features/blog/components/BlogListView.js +0 -38
- package/dist/features/blog/components/BlogPostForm.d.ts +0 -56
- package/dist/features/blog/components/BlogPostForm.js +0 -24
- package/dist/features/blog/components/BlogPostView.d.ts +0 -32
- package/dist/features/blog/components/BlogPostView.js +0 -39
- package/dist/features/blog/components/index.d.ts +0 -9
- package/dist/features/blog/components/index.js +0 -5
- package/dist/features/blog/hooks/useBlog.d.ts +0 -27
- package/dist/features/blog/hooks/useBlog.js +0 -51
- package/dist/features/blog/index.d.ts +0 -6
- package/dist/features/blog/index.js +0 -6
- package/dist/features/blog/manifest.d.ts +0 -2
- package/dist/features/blog/manifest.js +0 -14
- package/dist/features/blog/messages/en.json +0 -14
- package/dist/features/blog/repository/blog.repository.d.ts +0 -79
- package/dist/features/blog/repository/blog.repository.js +0 -130
- package/dist/features/blog/schemas/firestore.d.ts +0 -87
- package/dist/features/blog/schemas/firestore.js +0 -99
- package/dist/features/blog/schemas/index.d.ts +0 -207
- package/dist/features/blog/schemas/index.js +0 -71
- package/dist/features/blog/server.d.ts +0 -11
- package/dist/features/blog/server.js +0 -10
- package/dist/features/blog/types/index.d.ts +0 -47
- package/dist/features/blog/types/index.js +0 -1
- package/dist/features/cart/actions/cart-actions.d.ts +0 -16
- package/dist/features/cart/actions/cart-actions.js +0 -52
- package/dist/features/cart/actions/index.d.ts +0 -1
- package/dist/features/cart/actions/index.js +0 -1
- package/dist/features/cart/api/[id]/route.d.ts +0 -21
- package/dist/features/cart/api/[id]/route.js +0 -62
- package/dist/features/cart/api/route.d.ts +0 -13
- package/dist/features/cart/api/route.js +0 -79
- package/dist/features/cart/columns/index.d.ts +0 -17
- package/dist/features/cart/columns/index.js +0 -53
- package/dist/features/cart/components/CartDrawer.d.ts +0 -27
- package/dist/features/cart/components/CartDrawer.js +0 -14
- package/dist/features/cart/components/CartSummary.d.ts +0 -19
- package/dist/features/cart/components/CartSummary.js +0 -5
- package/dist/features/cart/components/CartView.d.ts +0 -17
- package/dist/features/cart/components/CartView.js +0 -7
- package/dist/features/cart/components/CheckoutAddressStep.d.ts +0 -20
- package/dist/features/cart/components/CheckoutAddressStep.js +0 -12
- package/dist/features/cart/components/CheckoutOtpModal.d.ts +0 -15
- package/dist/features/cart/components/CheckoutOtpModal.js +0 -12
- package/dist/features/cart/components/CheckoutSuccessView.d.ts +0 -12
- package/dist/features/cart/components/CheckoutSuccessView.js +0 -9
- package/dist/features/cart/components/CheckoutView.d.ts +0 -15
- package/dist/features/cart/components/CheckoutView.js +0 -18
- package/dist/features/cart/components/index.d.ts +0 -13
- package/dist/features/cart/components/index.js +0 -7
- package/dist/features/cart/hooks/useAddToCart.d.ts +0 -27
- package/dist/features/cart/hooks/useAddToCart.js +0 -52
- package/dist/features/cart/hooks/useCart.d.ts +0 -17
- package/dist/features/cart/hooks/useCart.js +0 -24
- package/dist/features/cart/hooks/useCartCount.d.ts +0 -7
- package/dist/features/cart/hooks/useCartCount.js +0 -19
- package/dist/features/cart/hooks/useCartQuery.d.ts +0 -8
- package/dist/features/cart/hooks/useCartQuery.js +0 -11
- package/dist/features/cart/hooks/useCheckoutReadQueries.d.ts +0 -14
- package/dist/features/cart/hooks/useCheckoutReadQueries.js +0 -18
- package/dist/features/cart/hooks/useGuestCart.d.ts +0 -18
- package/dist/features/cart/hooks/useGuestCart.js +0 -32
- package/dist/features/cart/hooks/useGuestCartMerge.d.ts +0 -15
- package/dist/features/cart/hooks/useGuestCartMerge.js +0 -50
- package/dist/features/cart/hooks/useOrder.d.ts +0 -13
- package/dist/features/cart/hooks/useOrder.js +0 -24
- package/dist/features/cart/index.d.ts +0 -14
- package/dist/features/cart/index.js +0 -14
- package/dist/features/cart/manifest.d.ts +0 -2
- package/dist/features/cart/manifest.js +0 -10
- package/dist/features/cart/messages/en.json +0 -10
- package/dist/features/cart/repository/cart.repository.d.ts +0 -23
- package/dist/features/cart/repository/cart.repository.js +0 -210
- package/dist/features/cart/schemas/firestore.d.ts +0 -83
- package/dist/features/cart/schemas/firestore.js +0 -36
- package/dist/features/cart/schemas/index.d.ts +0 -184
- package/dist/features/cart/schemas/index.js +0 -35
- package/dist/features/cart/server.d.ts +0 -8
- package/dist/features/cart/server.js +0 -8
- package/dist/features/cart/types/index.d.ts +0 -27
- package/dist/features/cart/types/index.js +0 -1
- package/dist/features/cart/utils/guest-cart.d.ts +0 -26
- package/dist/features/cart/utils/guest-cart.js +0 -83
- package/dist/features/categories/actions/category-actions.d.ts +0 -17
- package/dist/features/categories/actions/category-actions.js +0 -63
- package/dist/features/categories/actions/index.d.ts +0 -1
- package/dist/features/categories/actions/index.js +0 -1
- package/dist/features/categories/api/[id]/route.d.ts +0 -23
- package/dist/features/categories/api/[id]/route.js +0 -98
- package/dist/features/categories/api/route.d.ts +0 -19
- package/dist/features/categories/api/route.js +0 -200
- package/dist/features/categories/columns/index.d.ts +0 -15
- package/dist/features/categories/columns/index.js +0 -38
- package/dist/features/categories/components/BreadcrumbTrail.d.ts +0 -47
- package/dist/features/categories/components/BreadcrumbTrail.js +0 -36
- package/dist/features/categories/components/CategoriesListView.d.ts +0 -31
- package/dist/features/categories/components/CategoriesListView.js +0 -27
- package/dist/features/categories/components/CategoryFilters.d.ts +0 -68
- package/dist/features/categories/components/CategoryFilters.js +0 -75
- package/dist/features/categories/components/CategoryForm.d.ts +0 -24
- package/dist/features/categories/components/CategoryForm.js +0 -42
- package/dist/features/categories/components/CategoryGrid.d.ts +0 -14
- package/dist/features/categories/components/CategoryGrid.js +0 -14
- package/dist/features/categories/components/CategoryProductsView.d.ts +0 -49
- package/dist/features/categories/components/CategoryProductsView.js +0 -21
- package/dist/features/categories/components/CategorySelectorCreate.d.ts +0 -17
- package/dist/features/categories/components/CategorySelectorCreate.js +0 -57
- package/dist/features/categories/components/CategorySortSelect.d.ts +0 -9
- package/dist/features/categories/components/CategorySortSelect.js +0 -8
- package/dist/features/categories/components/CategoryTableColumns.d.ts +0 -30
- package/dist/features/categories/components/CategoryTableColumns.js +0 -54
- package/dist/features/categories/components/CategoryTree.d.ts +0 -15
- package/dist/features/categories/components/CategoryTree.js +0 -49
- package/dist/features/categories/components/ConcernCard.d.ts +0 -8
- package/dist/features/categories/components/ConcernCard.js +0 -5
- package/dist/features/categories/components/ConcernGrid.d.ts +0 -8
- package/dist/features/categories/components/ConcernGrid.js +0 -8
- package/dist/features/categories/components/index.d.ts +0 -22
- package/dist/features/categories/components/index.js +0 -12
- package/dist/features/categories/hooks/useCategories.d.ts +0 -26
- package/dist/features/categories/hooks/useCategories.js +0 -50
- package/dist/features/categories/hooks/useCategorySelector.d.ts +0 -26
- package/dist/features/categories/hooks/useCategorySelector.js +0 -42
- package/dist/features/categories/index.d.ts +0 -7
- package/dist/features/categories/index.js +0 -7
- package/dist/features/categories/manifest.d.ts +0 -2
- package/dist/features/categories/manifest.js +0 -20
- package/dist/features/categories/messages/en.json +0 -14
- package/dist/features/categories/repository/categories.repository.d.ts +0 -31
- package/dist/features/categories/repository/categories.repository.js +0 -399
- package/dist/features/categories/schemas/firestore.d.ts +0 -140
- package/dist/features/categories/schemas/firestore.js +0 -189
- package/dist/features/categories/schemas/index.d.ts +0 -207
- package/dist/features/categories/schemas/index.js +0 -67
- package/dist/features/categories/server.d.ts +0 -10
- package/dist/features/categories/server.js +0 -10
- package/dist/features/categories/types/index.d.ts +0 -80
- package/dist/features/categories/types/index.js +0 -13
- package/dist/features/checkout/actions/checkout-actions.d.ts +0 -14
- package/dist/features/checkout/actions/checkout-actions.js +0 -91
- package/dist/features/checkout/actions/index.d.ts +0 -1
- package/dist/features/checkout/actions/index.js +0 -1
- package/dist/features/checkout/components/CheckoutStepper.d.ts +0 -10
- package/dist/features/checkout/components/CheckoutStepper.js +0 -15
- package/dist/features/checkout/components/index.d.ts +0 -1
- package/dist/features/checkout/components/index.js +0 -1
- package/dist/features/checkout/hooks/useCheckout.d.ts +0 -9
- package/dist/features/checkout/hooks/useCheckout.js +0 -24
- package/dist/features/checkout/hooks/useCheckoutApi.d.ts +0 -74
- package/dist/features/checkout/hooks/useCheckoutApi.js +0 -48
- package/dist/features/checkout/hooks/usePaymentCheckout.d.ts +0 -78
- package/dist/features/checkout/hooks/usePaymentCheckout.js +0 -178
- package/dist/features/checkout/index.d.ts +0 -8
- package/dist/features/checkout/index.js +0 -7
- package/dist/features/checkout/manifest.d.ts +0 -2
- package/dist/features/checkout/manifest.js +0 -17
- package/dist/features/checkout/messages/en.json +0 -10
- package/dist/features/checkout/repository/failed-checkout.repository.d.ts +0 -18
- package/dist/features/checkout/repository/failed-checkout.repository.js +0 -29
- package/dist/features/checkout/schemas/firestore.d.ts +0 -33
- package/dist/features/checkout/schemas/firestore.js +0 -6
- package/dist/features/checkout/schemas/index.d.ts +0 -1
- package/dist/features/checkout/schemas/index.js +0 -1
- package/dist/features/checkout/server.d.ts +0 -8
- package/dist/features/checkout/server.js +0 -8
- package/dist/features/checkout/types/index.d.ts +0 -46
- package/dist/features/checkout/types/index.js +0 -2
- package/dist/features/cms/index.d.ts +0 -1
- package/dist/features/cms/index.js +0 -5
- package/dist/features/collections/api/[slug]/route.d.ts +0 -26
- package/dist/features/collections/api/[slug]/route.js +0 -102
- package/dist/features/collections/api/route.d.ts +0 -13
- package/dist/features/collections/api/route.js +0 -79
- package/dist/features/collections/columns/index.d.ts +0 -17
- package/dist/features/collections/columns/index.js +0 -55
- package/dist/features/collections/components/CollectionCard.d.ts +0 -12
- package/dist/features/collections/components/CollectionCard.js +0 -9
- package/dist/features/collections/components/index.d.ts +0 -1
- package/dist/features/collections/components/index.js +0 -1
- package/dist/features/collections/hooks/useCollections.d.ts +0 -7
- package/dist/features/collections/hooks/useCollections.js +0 -34
- package/dist/features/collections/index.d.ts +0 -6
- package/dist/features/collections/index.js +0 -6
- package/dist/features/collections/manifest.d.ts +0 -2
- package/dist/features/collections/manifest.js +0 -16
- package/dist/features/collections/messages/en.json +0 -10
- package/dist/features/collections/repository/collections.repository.d.ts +0 -8
- package/dist/features/collections/repository/collections.repository.js +0 -16
- package/dist/features/collections/schemas/index.d.ts +0 -76
- package/dist/features/collections/schemas/index.js +0 -34
- package/dist/features/collections/server.d.ts +0 -7
- package/dist/features/collections/server.js +0 -7
- package/dist/features/collections/types/index.d.ts +0 -25
- package/dist/features/collections/types/index.js +0 -1
- package/dist/features/consultation/api/[id]/route.d.ts +0 -26
- package/dist/features/consultation/api/[id]/route.js +0 -88
- package/dist/features/consultation/api/route.d.ts +0 -13
- package/dist/features/consultation/api/route.js +0 -79
- package/dist/features/consultation/columns/index.d.ts +0 -17
- package/dist/features/consultation/columns/index.js +0 -54
- package/dist/features/consultation/components/ConsultationForm.d.ts +0 -8
- package/dist/features/consultation/components/ConsultationForm.js +0 -51
- package/dist/features/consultation/components/index.d.ts +0 -1
- package/dist/features/consultation/components/index.js +0 -1
- package/dist/features/consultation/hooks/useBookConsultation.d.ts +0 -8
- package/dist/features/consultation/hooks/useBookConsultation.js +0 -16
- package/dist/features/consultation/index.d.ts +0 -6
- package/dist/features/consultation/index.js +0 -6
- package/dist/features/consultation/manifest.d.ts +0 -2
- package/dist/features/consultation/manifest.js +0 -12
- package/dist/features/consultation/messages/en.json +0 -25
- package/dist/features/consultation/repository/consultations.repository.d.ts +0 -12
- package/dist/features/consultation/repository/consultations.repository.js +0 -28
- package/dist/features/consultation/schemas/index.d.ts +0 -87
- package/dist/features/consultation/schemas/index.js +0 -47
- package/dist/features/consultation/server.d.ts +0 -7
- package/dist/features/consultation/server.js +0 -7
- package/dist/features/consultation/types/index.d.ts +0 -33
- package/dist/features/consultation/types/index.js +0 -1
- package/dist/features/contact/components/ContactForm.d.ts +0 -32
- package/dist/features/contact/components/ContactForm.js +0 -58
- package/dist/features/contact/components/ContactInfoSidebar.d.ts +0 -20
- package/dist/features/contact/components/ContactInfoSidebar.js +0 -6
- package/dist/features/contact/components/index.d.ts +0 -4
- package/dist/features/contact/components/index.js +0 -2
- package/dist/features/contact/email.d.ts +0 -61
- package/dist/features/contact/email.js +0 -345
- package/dist/features/contact/hooks/useContactSubmit.d.ts +0 -4
- package/dist/features/contact/hooks/useContactSubmit.js +0 -7
- package/dist/features/contact/index.d.ts +0 -2
- package/dist/features/contact/index.js +0 -2
- package/dist/features/contact/server.d.ts +0 -7
- package/dist/features/contact/server.js +0 -7
- package/dist/features/copilot/components/AdminCopilotView.d.ts +0 -21
- package/dist/features/copilot/components/AdminCopilotView.js +0 -29
- package/dist/features/copilot/components/index.d.ts +0 -2
- package/dist/features/copilot/components/index.js +0 -1
- package/dist/features/copilot/hooks/useCopilotChat.d.ts +0 -22
- package/dist/features/copilot/hooks/useCopilotChat.js +0 -57
- package/dist/features/copilot/hooks/useCopilotFeedback.d.ts +0 -15
- package/dist/features/copilot/hooks/useCopilotFeedback.js +0 -16
- package/dist/features/copilot/index.d.ts +0 -3
- package/dist/features/copilot/index.js +0 -3
- package/dist/features/corporate/api/[id]/route.d.ts +0 -26
- package/dist/features/corporate/api/[id]/route.js +0 -88
- package/dist/features/corporate/api/route.d.ts +0 -13
- package/dist/features/corporate/api/route.js +0 -79
- package/dist/features/corporate/columns/index.d.ts +0 -17
- package/dist/features/corporate/columns/index.js +0 -54
- package/dist/features/corporate/components/CorporateInquiryForm.d.ts +0 -7
- package/dist/features/corporate/components/CorporateInquiryForm.js +0 -36
- package/dist/features/corporate/components/index.d.ts +0 -1
- package/dist/features/corporate/components/index.js +0 -1
- package/dist/features/corporate/hooks/useSubmitCorporateInquiry.d.ts +0 -8
- package/dist/features/corporate/hooks/useSubmitCorporateInquiry.js +0 -16
- package/dist/features/corporate/index.d.ts +0 -6
- package/dist/features/corporate/index.js +0 -6
- package/dist/features/corporate/manifest.d.ts +0 -2
- package/dist/features/corporate/manifest.js +0 -12
- package/dist/features/corporate/messages/en.json +0 -26
- package/dist/features/corporate/repository/corporate.repository.d.ts +0 -12
- package/dist/features/corporate/repository/corporate.repository.js +0 -28
- package/dist/features/corporate/schemas/index.d.ts +0 -95
- package/dist/features/corporate/schemas/index.js +0 -50
- package/dist/features/corporate/server.d.ts +0 -7
- package/dist/features/corporate/server.js +0 -7
- package/dist/features/corporate/types/index.d.ts +0 -37
- package/dist/features/corporate/types/index.js +0 -1
- package/dist/features/cron/firebase-adapters.d.ts +0 -70
- package/dist/features/cron/firebase-adapters.js +0 -68
- package/dist/features/cron/index.d.ts +0 -5
- package/dist/features/cron/index.js +0 -7
- package/dist/features/cron/jobs/auction-expiry.job.d.ts +0 -27
- package/dist/features/cron/jobs/auction-expiry.job.js +0 -38
- package/dist/features/cron/jobs/preorder-reminder.job.d.ts +0 -14
- package/dist/features/cron/jobs/preorder-reminder.job.js +0 -40
- package/dist/features/cron/registry.d.ts +0 -45
- package/dist/features/cron/registry.js +0 -86
- package/dist/features/cron/types.d.ts +0 -66
- package/dist/features/cron/types.js +0 -9
- package/dist/features/events/actions/event-actions.d.ts +0 -92
- package/dist/features/events/actions/event-actions.js +0 -253
- package/dist/features/events/actions/index.d.ts +0 -1
- package/dist/features/events/actions/index.js +0 -1
- package/dist/features/events/api/[id]/route.d.ts +0 -24
- package/dist/features/events/api/[id]/route.js +0 -83
- package/dist/features/events/api/route.d.ts +0 -12
- package/dist/features/events/api/route.js +0 -88
- package/dist/features/events/columns/index.d.ts +0 -22
- package/dist/features/events/columns/index.js +0 -41
- package/dist/features/events/components/AdminEventEntriesView.d.ts +0 -17
- package/dist/features/events/components/AdminEventEntriesView.js +0 -10
- package/dist/features/events/components/AdminEventsView.d.ts +0 -11
- package/dist/features/events/components/AdminEventsView.js +0 -5
- package/dist/features/events/components/EventBanner.d.ts +0 -13
- package/dist/features/events/components/EventBanner.js +0 -48
- package/dist/features/events/components/EventCard.d.ts +0 -13
- package/dist/features/events/components/EventCard.js +0 -21
- package/dist/features/events/components/EventDetailView.d.ts +0 -15
- package/dist/features/events/components/EventDetailView.js +0 -11
- package/dist/features/events/components/EventFilters.d.ts +0 -105
- package/dist/features/events/components/EventFilters.js +0 -73
- package/dist/features/events/components/EventFormDrawer.d.ts +0 -22
- package/dist/features/events/components/EventFormDrawer.js +0 -6
- package/dist/features/events/components/EventLeaderboard.d.ts +0 -23
- package/dist/features/events/components/EventLeaderboard.js +0 -18
- package/dist/features/events/components/EventParticipateView.d.ts +0 -19
- package/dist/features/events/components/EventParticipateView.js +0 -13
- package/dist/features/events/components/EventStatusBadge.d.ts +0 -7
- package/dist/features/events/components/EventStatusBadge.js +0 -12
- package/dist/features/events/components/EventsListView.d.ts +0 -16
- package/dist/features/events/components/EventsListView.js +0 -21
- package/dist/features/events/components/index.d.ts +0 -19
- package/dist/features/events/components/index.js +0 -11
- package/dist/features/events/hooks/useBulkEvent.d.ts +0 -19
- package/dist/features/events/hooks/useBulkEvent.js +0 -36
- package/dist/features/events/hooks/useEvent.d.ts +0 -43
- package/dist/features/events/hooks/useEvent.js +0 -55
- package/dist/features/events/hooks/useEvents.d.ts +0 -27
- package/dist/features/events/hooks/useEvents.js +0 -38
- package/dist/features/events/index.d.ts +0 -8
- package/dist/features/events/index.js +0 -8
- package/dist/features/events/manifest.d.ts +0 -2
- package/dist/features/events/manifest.js +0 -24
- package/dist/features/events/messages/en.json +0 -28
- package/dist/features/events/repository/event-entry.repository.d.ts +0 -17
- package/dist/features/events/repository/event-entry.repository.js +0 -115
- package/dist/features/events/repository/events.repository.d.ts +0 -18
- package/dist/features/events/repository/events.repository.js +0 -128
- package/dist/features/events/schemas/firestore.d.ts +0 -115
- package/dist/features/events/schemas/firestore.js +0 -77
- package/dist/features/events/schemas/index.d.ts +0 -383
- package/dist/features/events/schemas/index.js +0 -87
- package/dist/features/events/server.d.ts +0 -11
- package/dist/features/events/server.js +0 -11
- package/dist/features/events/types/index.d.ts +0 -133
- package/dist/features/events/types/index.js +0 -1
- package/dist/features/faq/actions/faq-actions.d.ts +0 -191
- package/dist/features/faq/actions/faq-actions.js +0 -103
- package/dist/features/faq/actions/index.d.ts +0 -1
- package/dist/features/faq/actions/index.js +0 -1
- package/dist/features/faq/api/route.d.ts +0 -11
- package/dist/features/faq/api/route.js +0 -50
- package/dist/features/faq/columns/index.d.ts +0 -15
- package/dist/features/faq/columns/index.js +0 -47
- package/dist/features/faq/components/ContactCTA.d.ts +0 -16
- package/dist/features/faq/components/ContactCTA.js +0 -6
- package/dist/features/faq/components/FAQAccordion.d.ts +0 -20
- package/dist/features/faq/components/FAQAccordion.js +0 -17
- package/dist/features/faq/components/FAQCategorySidebar.d.ts +0 -24
- package/dist/features/faq/components/FAQCategorySidebar.js +0 -15
- package/dist/features/faq/components/FAQHelpfulButtons.d.ts +0 -19
- package/dist/features/faq/components/FAQHelpfulButtons.js +0 -46
- package/dist/features/faq/components/FAQPageContent.d.ts +0 -54
- package/dist/features/faq/components/FAQPageContent.js +0 -67
- package/dist/features/faq/components/FAQSortDropdown.d.ts +0 -13
- package/dist/features/faq/components/FAQSortDropdown.js +0 -11
- package/dist/features/faq/components/RelatedFAQs.d.ts +0 -10
- package/dist/features/faq/components/RelatedFAQs.js +0 -9
- package/dist/features/faq/components/index.d.ts +0 -9
- package/dist/features/faq/components/index.js +0 -7
- package/dist/features/faq/hooks/useFAQs.d.ts +0 -22
- package/dist/features/faq/hooks/useFAQs.js +0 -42
- package/dist/features/faq/hooks/useFaqList.d.ts +0 -194
- package/dist/features/faq/hooks/useFaqList.js +0 -35
- package/dist/features/faq/hooks/useFaqVote.d.ts +0 -14
- package/dist/features/faq/hooks/useFaqVote.js +0 -10
- package/dist/features/faq/index.d.ts +0 -8
- package/dist/features/faq/index.js +0 -8
- package/dist/features/faq/manifest.d.ts +0 -2
- package/dist/features/faq/manifest.js +0 -10
- package/dist/features/faq/messages/en.json +0 -14
- package/dist/features/faq/repository/faqs.repository.d.ts +0 -43
- package/dist/features/faq/repository/faqs.repository.js +0 -300
- package/dist/features/faq/schemas/firestore.d.ts +0 -63
- package/dist/features/faq/schemas/firestore.js +0 -115
- package/dist/features/faq/schemas/index.d.ts +0 -157
- package/dist/features/faq/schemas/index.js +0 -62
- package/dist/features/faq/server.d.ts +0 -9
- package/dist/features/faq/server.js +0 -9
- package/dist/features/faq/types/index.d.ts +0 -52
- package/dist/features/faq/types/index.js +0 -1
- package/dist/features/filters/FilterFacetSection.d.ts +0 -23
- package/dist/features/filters/FilterFacetSection.js +0 -39
- package/dist/features/filters/FilterPanel.d.ts +0 -61
- package/dist/features/filters/FilterPanel.js +0 -40
- package/dist/features/filters/RangeFilter.d.ts +0 -23
- package/dist/features/filters/RangeFilter.js +0 -28
- package/dist/features/filters/SwitchFilter.d.ts +0 -12
- package/dist/features/filters/SwitchFilter.js +0 -19
- package/dist/features/filters/filterUtils.d.ts +0 -11
- package/dist/features/filters/filterUtils.js +0 -13
- package/dist/features/filters/index.d.ts +0 -10
- package/dist/features/filters/index.js +0 -6
- package/dist/features/forms/Checkbox.d.ts +0 -8
- package/dist/features/forms/Checkbox.js +0 -15
- package/dist/features/forms/Form.d.ts +0 -25
- package/dist/features/forms/Form.js +0 -38
- package/dist/features/forms/Input.d.ts +0 -10
- package/dist/features/forms/Input.js +0 -23
- package/dist/features/forms/Radio.d.ts +0 -17
- package/dist/features/forms/Radio.js +0 -19
- package/dist/features/forms/Select.d.ts +0 -13
- package/dist/features/forms/Select.js +0 -8
- package/dist/features/forms/Slider.d.ts +0 -20
- package/dist/features/forms/Slider.js +0 -22
- package/dist/features/forms/Textarea.d.ts +0 -8
- package/dist/features/forms/Textarea.js +0 -15
- package/dist/features/forms/Toggle.d.ts +0 -15
- package/dist/features/forms/Toggle.js +0 -48
- package/dist/features/forms/index.d.ts +0 -17
- package/dist/features/forms/index.js +0 -11
- package/dist/features/forms/utils.d.ts +0 -10
- package/dist/features/forms/utils.js +0 -13
- package/dist/features/homepage/actions/carousel-actions.d.ts +0 -37
- package/dist/features/homepage/actions/carousel-actions.js +0 -54
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +0 -46
- package/dist/features/homepage/actions/homepage-section-actions.js +0 -55
- package/dist/features/homepage/actions/index.d.ts +0 -2
- package/dist/features/homepage/actions/index.js +0 -2
- package/dist/features/homepage/api/[id]/route.d.ts +0 -23
- package/dist/features/homepage/api/[id]/route.js +0 -100
- package/dist/features/homepage/api/carousel/[id]/route.d.ts +0 -23
- package/dist/features/homepage/api/carousel/[id]/route.js +0 -122
- package/dist/features/homepage/api/carousel/route.d.ts +0 -15
- package/dist/features/homepage/api/carousel/route.js +0 -154
- package/dist/features/homepage/api/route.d.ts +0 -14
- package/dist/features/homepage/api/route.js +0 -136
- package/dist/features/homepage/api/sections/[id]/route.d.ts +0 -26
- package/dist/features/homepage/api/sections/[id]/route.js +0 -88
- package/dist/features/homepage/api/sections/route.d.ts +0 -13
- package/dist/features/homepage/api/sections/route.js +0 -79
- package/dist/features/homepage/components/AdvertisementBanner.d.ts +0 -13
- package/dist/features/homepage/components/AdvertisementBanner.js +0 -23
- package/dist/features/homepage/components/BeforeAfterCard.d.ts +0 -10
- package/dist/features/homepage/components/BeforeAfterCard.js +0 -54
- package/dist/features/homepage/components/CharacterHotspot.d.ts +0 -24
- package/dist/features/homepage/components/CharacterHotspot.js +0 -373
- package/dist/features/homepage/components/CharacterHotspotForm.d.ts +0 -26
- package/dist/features/homepage/components/CharacterHotspotForm.js +0 -309
- package/dist/features/homepage/components/CustomerReviewsSection.d.ts +0 -13
- package/dist/features/homepage/components/CustomerReviewsSection.js +0 -14
- package/dist/features/homepage/components/FAQSection.d.ts +0 -26
- package/dist/features/homepage/components/FAQSection.js +0 -20
- package/dist/features/homepage/components/FeaturedResultsSection.d.ts +0 -17
- package/dist/features/homepage/components/FeaturedResultsSection.js +0 -18
- package/dist/features/homepage/components/HeroBanner.d.ts +0 -7
- package/dist/features/homepage/components/HeroBanner.js +0 -93
- package/dist/features/homepage/components/HeroCarousel.d.ts +0 -12
- package/dist/features/homepage/components/HeroCarousel.js +0 -157
- package/dist/features/homepage/components/HeroSection.d.ts +0 -7
- package/dist/features/homepage/components/HeroSection.js +0 -12
- package/dist/features/homepage/components/HomepageSkeleton.d.ts +0 -2
- package/dist/features/homepage/components/HomepageSkeleton.js +0 -14
- package/dist/features/homepage/components/HomepageView.d.ts +0 -25
- package/dist/features/homepage/components/HomepageView.js +0 -5
- package/dist/features/homepage/components/HowItWorksInfoView.d.ts +0 -36
- package/dist/features/homepage/components/HowItWorksInfoView.js +0 -8
- package/dist/features/homepage/components/HowItWorksSection.d.ts +0 -23
- package/dist/features/homepage/components/HowItWorksSection.js +0 -36
- package/dist/features/homepage/components/NewsletterBanner.d.ts +0 -22
- package/dist/features/homepage/components/NewsletterBanner.js +0 -34
- package/dist/features/homepage/components/NewsletterSection.d.ts +0 -10
- package/dist/features/homepage/components/NewsletterSection.js +0 -8
- package/dist/features/homepage/components/PromoGrid.d.ts +0 -9
- package/dist/features/homepage/components/PromoGrid.js +0 -35
- package/dist/features/homepage/components/SectionCarousel.d.ts +0 -75
- package/dist/features/homepage/components/SectionCarousel.js +0 -39
- package/dist/features/homepage/components/SecurityHighlightsSection.d.ts +0 -21
- package/dist/features/homepage/components/SecurityHighlightsSection.js +0 -36
- package/dist/features/homepage/components/SiteFeaturesSection.d.ts +0 -13
- package/dist/features/homepage/components/SiteFeaturesSection.js +0 -9
- package/dist/features/homepage/components/StatsCounterSection.d.ts +0 -14
- package/dist/features/homepage/components/StatsCounterSection.js +0 -32
- package/dist/features/homepage/components/TestimonialsCarousel.d.ts +0 -9
- package/dist/features/homepage/components/TestimonialsCarousel.js +0 -30
- package/dist/features/homepage/components/TrustBadges.d.ts +0 -5
- package/dist/features/homepage/components/TrustBadges.js +0 -54
- package/dist/features/homepage/components/TrustFeaturesSection.d.ts +0 -16
- package/dist/features/homepage/components/TrustFeaturesSection.js +0 -41
- package/dist/features/homepage/components/TrustIndicatorsSection.d.ts +0 -11
- package/dist/features/homepage/components/TrustIndicatorsSection.js +0 -9
- package/dist/features/homepage/components/WelcomeSection.d.ts +0 -20
- package/dist/features/homepage/components/WelcomeSection.js +0 -12
- package/dist/features/homepage/components/WhatsAppCommunitySection.d.ts +0 -15
- package/dist/features/homepage/components/WhatsAppCommunitySection.js +0 -21
- package/dist/features/homepage/components/index.d.ts +0 -52
- package/dist/features/homepage/components/index.js +0 -27
- package/dist/features/homepage/hooks/useBlogArticles.d.ts +0 -12
- package/dist/features/homepage/hooks/useBlogArticles.js +0 -31
- package/dist/features/homepage/hooks/useFeaturedAuctions.d.ts +0 -2
- package/dist/features/homepage/hooks/useFeaturedAuctions.js +0 -26
- package/dist/features/homepage/hooks/useFeaturedPreOrders.d.ts +0 -2
- package/dist/features/homepage/hooks/useFeaturedPreOrders.js +0 -26
- package/dist/features/homepage/hooks/useFeaturedProducts.d.ts +0 -4
- package/dist/features/homepage/hooks/useFeaturedProducts.js +0 -32
- package/dist/features/homepage/hooks/useHeroCarousel.d.ts +0 -9
- package/dist/features/homepage/hooks/useHeroCarousel.js +0 -17
- package/dist/features/homepage/hooks/useHomepage.d.ts +0 -11
- package/dist/features/homepage/hooks/useHomepage.js +0 -18
- package/dist/features/homepage/hooks/useHomepageReviews.d.ts +0 -7
- package/dist/features/homepage/hooks/useHomepageReviews.js +0 -16
- package/dist/features/homepage/hooks/useHomepageSections.d.ts +0 -2
- package/dist/features/homepage/hooks/useHomepageSections.js +0 -11
- package/dist/features/homepage/hooks/useNewsletter.d.ts +0 -14
- package/dist/features/homepage/hooks/useNewsletter.js +0 -10
- package/dist/features/homepage/hooks/useTopBrands.d.ts +0 -2
- package/dist/features/homepage/hooks/useTopBrands.js +0 -12
- package/dist/features/homepage/hooks/useTopCategories.d.ts +0 -4
- package/dist/features/homepage/hooks/useTopCategories.js +0 -13
- package/dist/features/homepage/index.d.ts +0 -13
- package/dist/features/homepage/index.js +0 -13
- package/dist/features/homepage/manifest.d.ts +0 -2
- package/dist/features/homepage/manifest.js +0 -14
- package/dist/features/homepage/messages/en.json +0 -6
- package/dist/features/homepage/repository/carousel.repository.d.ts +0 -101
- package/dist/features/homepage/repository/carousel.repository.js +0 -252
- package/dist/features/homepage/repository/homepage-sections.repository.d.ts +0 -27
- package/dist/features/homepage/repository/homepage-sections.repository.js +0 -174
- package/dist/features/homepage/repository/homepage.repository.d.ts +0 -11
- package/dist/features/homepage/repository/homepage.repository.js +0 -25
- package/dist/features/homepage/schemas/firestore.d.ts +0 -251
- package/dist/features/homepage/schemas/firestore.js +0 -83
- package/dist/features/homepage/schemas/index.d.ts +0 -1
- package/dist/features/homepage/schemas/index.js +0 -1
- package/dist/features/homepage/server.d.ts +0 -10
- package/dist/features/homepage/server.js +0 -10
- package/dist/features/homepage/types/index.d.ts +0 -163
- package/dist/features/homepage/types/index.js +0 -1
- package/dist/features/layout/AutoBreadcrumbs.d.ts +0 -15
- package/dist/features/layout/AutoBreadcrumbs.js +0 -84
- package/dist/features/layout/BackToTop.d.ts +0 -16
- package/dist/features/layout/BackToTop.js +0 -26
- package/dist/features/layout/BottomActions.d.ts +0 -1
- package/dist/features/layout/BottomActions.js +0 -153
- package/dist/features/layout/BottomActionsContext.d.ts +0 -107
- package/dist/features/layout/BottomActionsContext.js +0 -114
- package/dist/features/layout/BottomNavItem.d.ts +0 -28
- package/dist/features/layout/BottomNavItem.js +0 -28
- package/dist/features/layout/BottomNavLayout.d.ts +0 -14
- package/dist/features/layout/BottomNavLayout.js +0 -12
- package/dist/features/layout/BottomNavbar.d.ts +0 -46
- package/dist/features/layout/BottomNavbar.js +0 -19
- package/dist/features/layout/BottomSheet.d.ts +0 -29
- package/dist/features/layout/BottomSheet.js +0 -40
- package/dist/features/layout/Breadcrumbs.d.ts +0 -26
- package/dist/features/layout/Breadcrumbs.js +0 -25
- package/dist/features/layout/DashboardNavContext.d.ts +0 -19
- package/dist/features/layout/DashboardNavContext.js +0 -36
- package/dist/features/layout/FooterLayout.d.ts +0 -39
- package/dist/features/layout/FooterLayout.js +0 -12
- package/dist/features/layout/LayoutClient.d.ts +0 -11
- package/dist/features/layout/LayoutClient.js +0 -7
- package/dist/features/layout/ListingLayout.d.ts +0 -35
- package/dist/features/layout/ListingLayout.js +0 -104
- package/dist/features/layout/LocaleSwitcher.d.ts +0 -22
- package/dist/features/layout/LocaleSwitcher.js +0 -12
- package/dist/features/layout/MainNavbar.d.ts +0 -32
- package/dist/features/layout/MainNavbar.js +0 -29
- package/dist/features/layout/NavItem.d.ts +0 -19
- package/dist/features/layout/NavItem.js +0 -35
- package/dist/features/layout/NavbarLayout.d.ts +0 -27
- package/dist/features/layout/NavbarLayout.js +0 -23
- package/dist/features/layout/SidebarLayout.d.ts +0 -24
- package/dist/features/layout/SidebarLayout.js +0 -29
- package/dist/features/layout/TitleBar.d.ts +0 -18
- package/dist/features/layout/TitleBar.js +0 -19
- package/dist/features/layout/TitleBarLayout.d.ts +0 -48
- package/dist/features/layout/TitleBarLayout.js +0 -17
- package/dist/features/layout/hooks/useBottomActions.d.ts +0 -7
- package/dist/features/layout/hooks/useBottomActions.js +0 -28
- package/dist/features/layout/index.d.ts +0 -41
- package/dist/features/layout/index.js +0 -23
- package/dist/features/loyalty/api/admin/loyalty/grant/route.d.ts +0 -12
- package/dist/features/loyalty/api/admin/loyalty/grant/route.js +0 -36
- package/dist/features/loyalty/api/balance/route.d.ts +0 -12
- package/dist/features/loyalty/api/balance/route.js +0 -39
- package/dist/features/loyalty/api/earn/route.d.ts +0 -12
- package/dist/features/loyalty/api/earn/route.js +0 -36
- package/dist/features/loyalty/api/history/route.d.ts +0 -12
- package/dist/features/loyalty/api/history/route.js +0 -56
- package/dist/features/loyalty/api/redeem/route.d.ts +0 -12
- package/dist/features/loyalty/api/redeem/route.js +0 -36
- package/dist/features/loyalty/columns/index.d.ts +0 -17
- package/dist/features/loyalty/columns/index.js +0 -40
- package/dist/features/loyalty/components/CoinsDisplay.d.ts +0 -11
- package/dist/features/loyalty/components/CoinsDisplay.js +0 -9
- package/dist/features/loyalty/components/index.d.ts +0 -1
- package/dist/features/loyalty/components/index.js +0 -1
- package/dist/features/loyalty/hooks/useLoyaltyBalance.d.ts +0 -4
- package/dist/features/loyalty/hooks/useLoyaltyBalance.js +0 -18
- package/dist/features/loyalty/index.d.ts +0 -6
- package/dist/features/loyalty/index.js +0 -6
- package/dist/features/loyalty/manifest.d.ts +0 -2
- package/dist/features/loyalty/manifest.js +0 -16
- package/dist/features/loyalty/messages/en.json +0 -19
- package/dist/features/loyalty/repository/loyalty.repository.d.ts +0 -8
- package/dist/features/loyalty/repository/loyalty.repository.js +0 -22
- package/dist/features/loyalty/schemas/index.d.ts +0 -85
- package/dist/features/loyalty/schemas/index.js +0 -40
- package/dist/features/loyalty/server.d.ts +0 -7
- package/dist/features/loyalty/server.js +0 -7
- package/dist/features/loyalty/types/index.d.ts +0 -31
- package/dist/features/loyalty/types/index.js +0 -1
- package/dist/features/loyalty/types/loyalty-config.d.ts +0 -7
- package/dist/features/loyalty/types/loyalty-config.js +0 -1
- package/dist/features/loyalty/types/loyalty-math.d.ts +0 -9
- package/dist/features/loyalty/types/loyalty-math.js +0 -27
- package/dist/features/media/AvatarUpload.d.ts +0 -22
- package/dist/features/media/AvatarUpload.js +0 -133
- package/dist/features/media/MediaAvatar.d.ts +0 -12
- package/dist/features/media/MediaAvatar.js +0 -13
- package/dist/features/media/MediaImage.d.ts +0 -28
- package/dist/features/media/MediaImage.js +0 -35
- package/dist/features/media/MediaLightbox.d.ts +0 -32
- package/dist/features/media/MediaLightbox.js +0 -245
- package/dist/features/media/MediaVideo.d.ts +0 -22
- package/dist/features/media/MediaVideo.js +0 -38
- package/dist/features/media/components/MediaSlider.d.ts +0 -10
- package/dist/features/media/components/MediaSlider.js +0 -12
- package/dist/features/media/finalize.d.ts +0 -11
- package/dist/features/media/finalize.js +0 -70
- package/dist/features/media/hooks/useMedia.d.ts +0 -198
- package/dist/features/media/hooks/useMedia.js +0 -78
- package/dist/features/media/index.d.ts +0 -30
- package/dist/features/media/index.js +0 -21
- package/dist/features/media/messages/en.json +0 -63
- package/dist/features/media/modals/ImageCropModal.d.ts +0 -16
- package/dist/features/media/modals/ImageCropModal.js +0 -99
- package/dist/features/media/modals/VideoThumbnailSelector.d.ts +0 -10
- package/dist/features/media/modals/VideoThumbnailSelector.js +0 -51
- package/dist/features/media/modals/VideoTrimModal.d.ts +0 -11
- package/dist/features/media/modals/VideoTrimModal.js +0 -73
- package/dist/features/media/server.d.ts +0 -2
- package/dist/features/media/server.js +0 -2
- package/dist/features/media/types/index.d.ts +0 -29
- package/dist/features/media/types/index.js +0 -43
- package/dist/features/media/upload/CameraCapture.d.ts +0 -8
- package/dist/features/media/upload/CameraCapture.js +0 -59
- package/dist/features/media/upload/ImageUpload.d.ts +0 -14
- package/dist/features/media/upload/ImageUpload.js +0 -132
- package/dist/features/media/upload/MediaUploadField.d.ts +0 -31
- package/dist/features/media/upload/MediaUploadField.js +0 -204
- package/dist/features/media/upload/MediaUploadList.d.ts +0 -26
- package/dist/features/media/upload/MediaUploadList.js +0 -104
- package/dist/features/orders/actions/index.d.ts +0 -2
- package/dist/features/orders/actions/index.js +0 -2
- package/dist/features/orders/actions/order-actions.d.ts +0 -16
- package/dist/features/orders/actions/order-actions.js +0 -46
- package/dist/features/orders/actions/refund-actions.d.ts +0 -16
- package/dist/features/orders/actions/refund-actions.js +0 -88
- package/dist/features/orders/api/track/[trackingId]/route.d.ts +0 -17
- package/dist/features/orders/api/track/[trackingId]/route.js +0 -30
- package/dist/features/orders/columns/index.d.ts +0 -15
- package/dist/features/orders/columns/index.js +0 -34
- package/dist/features/orders/components/MarketplaceOrderCard.d.ts +0 -37
- package/dist/features/orders/components/MarketplaceOrderCard.js +0 -52
- package/dist/features/orders/components/OrderFilters.d.ts +0 -82
- package/dist/features/orders/components/OrderFilters.js +0 -106
- package/dist/features/orders/components/OrdersList.d.ts +0 -18
- package/dist/features/orders/components/OrdersList.js +0 -37
- package/dist/features/orders/components/index.d.ts +0 -4
- package/dist/features/orders/components/index.js +0 -3
- package/dist/features/orders/hooks/useOrders.d.ts +0 -32
- package/dist/features/orders/hooks/useOrders.js +0 -57
- package/dist/features/orders/index.d.ts +0 -7
- package/dist/features/orders/index.js +0 -7
- package/dist/features/orders/manifest.d.ts +0 -2
- package/dist/features/orders/manifest.js +0 -18
- package/dist/features/orders/messages/en.json +0 -15
- package/dist/features/orders/repository/orders.repository.d.ts +0 -188
- package/dist/features/orders/repository/orders.repository.js +0 -300
- package/dist/features/orders/schemas/firestore.d.ts +0 -129
- package/dist/features/orders/schemas/firestore.js +0 -96
- package/dist/features/orders/schemas/index.d.ts +0 -217
- package/dist/features/orders/schemas/index.js +0 -76
- package/dist/features/orders/server.d.ts +0 -9
- package/dist/features/orders/server.js +0 -10
- package/dist/features/orders/types/index.d.ts +0 -69
- package/dist/features/orders/types/index.js +0 -2
- package/dist/features/orders/utils/order-splitter.d.ts +0 -14
- package/dist/features/orders/utils/order-splitter.js +0 -29
- package/dist/features/payments/columns/index.d.ts +0 -17
- package/dist/features/payments/columns/index.js +0 -45
- package/dist/features/payments/hooks/usePaymentEvent.d.ts +0 -17
- package/dist/features/payments/hooks/usePaymentEvent.js +0 -26
- package/dist/features/payments/hooks/usePayments.d.ts +0 -10
- package/dist/features/payments/hooks/usePayments.js +0 -19
- package/dist/features/payments/index.d.ts +0 -6
- package/dist/features/payments/index.js +0 -6
- package/dist/features/payments/manifest.d.ts +0 -2
- package/dist/features/payments/manifest.js +0 -12
- package/dist/features/payments/messages/en.json +0 -11
- package/dist/features/payments/repository/payments.repository.d.ts +0 -15
- package/dist/features/payments/repository/payments.repository.js +0 -36
- package/dist/features/payments/repository/payout.repository.d.ts +0 -111
- package/dist/features/payments/repository/payout.repository.js +0 -202
- package/dist/features/payments/schemas/firestore.d.ts +0 -74
- package/dist/features/payments/schemas/firestore.js +0 -65
- package/dist/features/payments/schemas/index.d.ts +0 -77
- package/dist/features/payments/schemas/index.js +0 -67
- package/dist/features/payments/server.d.ts +0 -8
- package/dist/features/payments/server.js +0 -8
- package/dist/features/payments/types/index.d.ts +0 -36
- package/dist/features/payments/types/index.js +0 -2
- package/dist/features/pre-orders/api/[id]/route.d.ts +0 -26
- package/dist/features/pre-orders/api/[id]/route.js +0 -88
- package/dist/features/pre-orders/api/[slug]/route.d.ts +0 -16
- package/dist/features/pre-orders/api/[slug]/route.js +0 -41
- package/dist/features/pre-orders/api/admin/[id]/route.d.ts +0 -21
- package/dist/features/pre-orders/api/admin/[id]/route.js +0 -65
- package/dist/features/pre-orders/api/admin/route.d.ts +0 -12
- package/dist/features/pre-orders/api/admin/route.js +0 -56
- package/dist/features/pre-orders/api/route.d.ts +0 -13
- package/dist/features/pre-orders/api/route.js +0 -77
- package/dist/features/pre-orders/columns/index.d.ts +0 -17
- package/dist/features/pre-orders/columns/index.js +0 -68
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +0 -24
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +0 -53
- package/dist/features/pre-orders/components/PreOrderBadge.d.ts +0 -14
- package/dist/features/pre-orders/components/PreOrderBadge.js +0 -17
- package/dist/features/pre-orders/components/PreorderCard.d.ts +0 -12
- package/dist/features/pre-orders/components/PreorderCard.js +0 -27
- package/dist/features/pre-orders/components/index.d.ts +0 -2
- package/dist/features/pre-orders/components/index.js +0 -2
- package/dist/features/pre-orders/hooks/usePreOrders.d.ts +0 -7
- package/dist/features/pre-orders/hooks/usePreOrders.js +0 -34
- package/dist/features/pre-orders/index.d.ts +0 -6
- package/dist/features/pre-orders/index.js +0 -6
- package/dist/features/pre-orders/manifest.d.ts +0 -2
- package/dist/features/pre-orders/manifest.js +0 -17
- package/dist/features/pre-orders/messages/en.json +0 -13
- package/dist/features/pre-orders/repository/pre-orders.repository.d.ts +0 -14
- package/dist/features/pre-orders/repository/pre-orders.repository.js +0 -44
- package/dist/features/pre-orders/repository/preorders.repository.d.ts +0 -8
- package/dist/features/pre-orders/repository/preorders.repository.js +0 -21
- package/dist/features/pre-orders/schemas/index.d.ts +0 -79
- package/dist/features/pre-orders/schemas/index.js +0 -27
- package/dist/features/pre-orders/server.d.ts +0 -8
- package/dist/features/pre-orders/server.js +0 -8
- package/dist/features/pre-orders/types/index.d.ts +0 -29
- package/dist/features/pre-orders/types/index.js +0 -12
- package/dist/features/products/actions/index.d.ts +0 -1
- package/dist/features/products/actions/index.js +0 -1
- package/dist/features/products/actions/product-actions.d.ts +0 -26
- package/dist/features/products/actions/product-actions.js +0 -111
- package/dist/features/products/api/[id]/route.d.ts +0 -29
- package/dist/features/products/api/[id]/route.js +0 -137
- package/dist/features/products/api/route.d.ts +0 -19
- package/dist/features/products/api/route.js +0 -214
- package/dist/features/products/columns/index.d.ts +0 -64
- package/dist/features/products/columns/index.js +0 -85
- package/dist/features/products/columns/productTableColumns.d.ts +0 -27
- package/dist/features/products/columns/productTableColumns.js +0 -88
- package/dist/features/products/components/AuctionDetailView.d.ts +0 -13
- package/dist/features/products/components/AuctionDetailView.js +0 -9
- package/dist/features/products/components/AuctionsView.d.ts +0 -6
- package/dist/features/products/components/AuctionsView.js +0 -5
- package/dist/features/products/components/BidHistory.d.ts +0 -28
- package/dist/features/products/components/BidHistory.js +0 -18
- package/dist/features/products/components/BuyBar.d.ts +0 -21
- package/dist/features/products/components/BuyBar.js +0 -20
- package/dist/features/products/components/InteractiveProductCard.d.ts +0 -19
- package/dist/features/products/components/InteractiveProductCard.js +0 -18
- package/dist/features/products/components/MakeOfferForm.d.ts +0 -20
- package/dist/features/products/components/MakeOfferForm.js +0 -8
- package/dist/features/products/components/PlaceBidForm.d.ts +0 -20
- package/dist/features/products/components/PlaceBidForm.js +0 -6
- package/dist/features/products/components/PreOrderDetailView.d.ts +0 -14
- package/dist/features/products/components/PreOrderDetailView.js +0 -9
- package/dist/features/products/components/PreOrdersView.d.ts +0 -6
- package/dist/features/products/components/PreOrdersView.js +0 -5
- package/dist/features/products/components/ProductDetailView.d.ts +0 -11
- package/dist/features/products/components/ProductDetailView.js +0 -9
- package/dist/features/products/components/ProductFeatureBadges.d.ts +0 -32
- package/dist/features/products/components/ProductFeatureBadges.js +0 -103
- package/dist/features/products/components/ProductFilters.d.ts +0 -90
- package/dist/features/products/components/ProductFilters.js +0 -105
- package/dist/features/products/components/ProductForm.d.ts +0 -47
- package/dist/features/products/components/ProductForm.js +0 -120
- package/dist/features/products/components/ProductGrid.d.ts +0 -69
- package/dist/features/products/components/ProductGrid.js +0 -92
- package/dist/features/products/components/ProductInfo.d.ts +0 -20
- package/dist/features/products/components/ProductInfo.js +0 -4
- package/dist/features/products/components/ProductTabs.d.ts +0 -21
- package/dist/features/products/components/ProductTabs.js +0 -22
- package/dist/features/products/components/ProductsView.d.ts +0 -6
- package/dist/features/products/components/ProductsView.js +0 -5
- package/dist/features/products/components/RelatedProducts.d.ts +0 -16
- package/dist/features/products/components/RelatedProducts.js +0 -12
- package/dist/features/products/components/index.d.ts +0 -34
- package/dist/features/products/components/index.js +0 -18
- package/dist/features/products/hooks/useBrands.d.ts +0 -9
- package/dist/features/products/hooks/useBrands.js +0 -15
- package/dist/features/products/hooks/useProductDetail.d.ts +0 -15
- package/dist/features/products/hooks/useProductDetail.js +0 -29
- package/dist/features/products/hooks/useProducts.d.ts +0 -43
- package/dist/features/products/hooks/useProducts.js +0 -67
- package/dist/features/products/hooks/useRelatedProducts.d.ts +0 -2
- package/dist/features/products/hooks/useRelatedProducts.js +0 -17
- package/dist/features/products/index.d.ts +0 -10
- package/dist/features/products/index.js +0 -10
- package/dist/features/products/manifest.d.ts +0 -2
- package/dist/features/products/manifest.js +0 -16
- package/dist/features/products/messages/en.json +0 -11
- package/dist/features/products/repository/products.repository.d.ts +0 -213
- package/dist/features/products/repository/products.repository.js +0 -300
- package/dist/features/products/schemas/firestore.d.ts +0 -125
- package/dist/features/products/schemas/firestore.js +0 -149
- package/dist/features/products/schemas/index.d.ts +0 -400
- package/dist/features/products/schemas/index.js +0 -173
- package/dist/features/products/server.d.ts +0 -10
- package/dist/features/products/server.js +0 -10
- package/dist/features/products/types/index.d.ts +0 -122
- package/dist/features/products/types/index.js +0 -1
- package/dist/features/products/utils/listing-type.d.ts +0 -2
- package/dist/features/products/utils/listing-type.js +0 -9
- package/dist/features/promotions/actions/coupon-actions.d.ts +0 -28
- package/dist/features/promotions/actions/coupon-actions.js +0 -23
- package/dist/features/promotions/actions/index.d.ts +0 -3
- package/dist/features/promotions/actions/index.js +0 -3
- package/dist/features/promotions/actions/promotions-actions.d.ts +0 -18
- package/dist/features/promotions/actions/promotions-actions.js +0 -37
- package/dist/features/promotions/actions/seller-coupon-actions.d.ts +0 -41
- package/dist/features/promotions/actions/seller-coupon-actions.js +0 -92
- package/dist/features/promotions/api/route.d.ts +0 -21
- package/dist/features/promotions/api/route.js +0 -85
- package/dist/features/promotions/columns/index.d.ts +0 -12
- package/dist/features/promotions/columns/index.js +0 -45
- package/dist/features/promotions/components/CouponCard.d.ts +0 -16
- package/dist/features/promotions/components/CouponCard.js +0 -20
- package/dist/features/promotions/components/PromotionsView.d.ts +0 -43
- package/dist/features/promotions/components/PromotionsView.js +0 -10
- package/dist/features/promotions/components/index.d.ts +0 -3
- package/dist/features/promotions/components/index.js +0 -2
- package/dist/features/promotions/hooks/useCouponValidate.d.ts +0 -22
- package/dist/features/promotions/hooks/useCouponValidate.js +0 -10
- package/dist/features/promotions/hooks/usePromotions.d.ts +0 -21
- package/dist/features/promotions/hooks/usePromotions.js +0 -49
- package/dist/features/promotions/index.d.ts +0 -7
- package/dist/features/promotions/index.js +0 -7
- package/dist/features/promotions/manifest.d.ts +0 -2
- package/dist/features/promotions/manifest.js +0 -14
- package/dist/features/promotions/messages/en.json +0 -20
- package/dist/features/promotions/repository/coupons.repository.d.ts +0 -224
- package/dist/features/promotions/repository/coupons.repository.js +0 -539
- package/dist/features/promotions/repository/promotions.repository.d.ts +0 -14
- package/dist/features/promotions/repository/promotions.repository.js +0 -43
- package/dist/features/promotions/schemas/firestore.d.ts +0 -105
- package/dist/features/promotions/schemas/firestore.js +0 -124
- package/dist/features/promotions/schemas/index.d.ts +0 -117
- package/dist/features/promotions/schemas/index.js +0 -58
- package/dist/features/promotions/server.d.ts +0 -10
- package/dist/features/promotions/server.js +0 -10
- package/dist/features/promotions/types/index.d.ts +0 -51
- package/dist/features/promotions/types/index.js +0 -2
- package/dist/features/reviews/actions/index.d.ts +0 -1
- package/dist/features/reviews/actions/index.js +0 -1
- package/dist/features/reviews/actions/review-actions.d.ts +0 -40
- package/dist/features/reviews/actions/review-actions.js +0 -182
- package/dist/features/reviews/api/[id]/route.d.ts +0 -23
- package/dist/features/reviews/api/[id]/route.js +0 -109
- package/dist/features/reviews/api/route.d.ts +0 -21
- package/dist/features/reviews/api/route.js +0 -171
- package/dist/features/reviews/columns/index.d.ts +0 -15
- package/dist/features/reviews/columns/index.js +0 -44
- package/dist/features/reviews/components/ReviewFilters.d.ts +0 -74
- package/dist/features/reviews/components/ReviewFilters.js +0 -60
- package/dist/features/reviews/components/ReviewModal.d.ts +0 -11
- package/dist/features/reviews/components/ReviewModal.js +0 -25
- package/dist/features/reviews/components/ReviewSummary.d.ts +0 -16
- package/dist/features/reviews/components/ReviewSummary.js +0 -20
- package/dist/features/reviews/components/ReviewsList.d.ts +0 -15
- package/dist/features/reviews/components/ReviewsList.js +0 -25
- package/dist/features/reviews/components/ReviewsListView.d.ts +0 -31
- package/dist/features/reviews/components/ReviewsListView.js +0 -16
- package/dist/features/reviews/components/index.d.ts +0 -10
- package/dist/features/reviews/components/index.js +0 -5
- package/dist/features/reviews/hooks/useCreateReview.d.ts +0 -12
- package/dist/features/reviews/hooks/useCreateReview.js +0 -20
- package/dist/features/reviews/hooks/useReviews.d.ts +0 -34
- package/dist/features/reviews/hooks/useReviews.js +0 -49
- package/dist/features/reviews/index.d.ts +0 -7
- package/dist/features/reviews/index.js +0 -7
- package/dist/features/reviews/manifest.d.ts +0 -2
- package/dist/features/reviews/manifest.js +0 -10
- package/dist/features/reviews/messages/en.json +0 -10
- package/dist/features/reviews/repository/reviews.repository.d.ts +0 -103
- package/dist/features/reviews/repository/reviews.repository.js +0 -214
- package/dist/features/reviews/schemas/firestore.d.ts +0 -67
- package/dist/features/reviews/schemas/firestore.js +0 -59
- package/dist/features/reviews/schemas/index.d.ts +0 -183
- package/dist/features/reviews/schemas/index.js +0 -68
- package/dist/features/reviews/server.d.ts +0 -10
- package/dist/features/reviews/server.js +0 -10
- package/dist/features/reviews/types/index.d.ts +0 -62
- package/dist/features/reviews/types/index.js +0 -1
- package/dist/features/search/actions/index.d.ts +0 -1
- package/dist/features/search/actions/index.js +0 -1
- package/dist/features/search/actions/search-actions.d.ts +0 -18
- package/dist/features/search/actions/search-actions.js +0 -43
- package/dist/features/search/api/route.d.ts +0 -22
- package/dist/features/search/api/route.js +0 -79
- package/dist/features/search/columns/index.d.ts +0 -17
- package/dist/features/search/columns/index.js +0 -49
- package/dist/features/search/components/Search.d.ts +0 -41
- package/dist/features/search/components/Search.js +0 -263
- package/dist/features/search/components/SearchFiltersRow.d.ts +0 -22
- package/dist/features/search/components/SearchFiltersRow.js +0 -21
- package/dist/features/search/components/SearchResultsSection.d.ts +0 -53
- package/dist/features/search/components/SearchResultsSection.js +0 -36
- package/dist/features/search/components/SearchView.d.ts +0 -29
- package/dist/features/search/components/SearchView.js +0 -8
- package/dist/features/search/components/index.d.ts +0 -8
- package/dist/features/search/components/index.js +0 -4
- package/dist/features/search/hooks/useNavSuggestions.d.ts +0 -11
- package/dist/features/search/hooks/useNavSuggestions.js +0 -32
- package/dist/features/search/hooks/useSearch.d.ts +0 -21
- package/dist/features/search/hooks/useSearch.js +0 -34
- package/dist/features/search/index.d.ts +0 -7
- package/dist/features/search/index.js +0 -7
- package/dist/features/search/manifest.d.ts +0 -2
- package/dist/features/search/manifest.js +0 -10
- package/dist/features/search/messages/en.json +0 -15
- package/dist/features/search/repository/search.repository.d.ts +0 -14
- package/dist/features/search/repository/search.repository.js +0 -59
- package/dist/features/search/schemas/index.d.ts +0 -70
- package/dist/features/search/schemas/index.js +0 -34
- package/dist/features/search/server.d.ts +0 -5
- package/dist/features/search/server.js +0 -5
- package/dist/features/search/types/index.d.ts +0 -46
- package/dist/features/search/types/index.js +0 -2
- package/dist/features/seller/actions/index.d.ts +0 -2
- package/dist/features/seller/actions/index.js +0 -2
- package/dist/features/seller/actions/offer-actions.d.ts +0 -32
- package/dist/features/seller/actions/offer-actions.js +0 -266
- package/dist/features/seller/actions/seller-actions.d.ts +0 -172
- package/dist/features/seller/actions/seller-actions.js +0 -480
- package/dist/features/seller/api/coupons/route.d.ts +0 -17
- package/dist/features/seller/api/coupons/route.js +0 -47
- package/dist/features/seller/api/offers/route.d.ts +0 -17
- package/dist/features/seller/api/offers/route.js +0 -63
- package/dist/features/seller/api/products/route.d.ts +0 -17
- package/dist/features/seller/api/products/route.js +0 -64
- package/dist/features/seller/api/store/route.d.ts +0 -17
- package/dist/features/seller/api/store/route.js +0 -34
- package/dist/features/seller/columns/index.d.ts +0 -22
- package/dist/features/seller/columns/index.js +0 -73
- package/dist/features/seller/components/SellerAddressesView.d.ts +0 -13
- package/dist/features/seller/components/SellerAddressesView.js +0 -5
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +0 -13
- package/dist/features/seller/components/SellerAnalyticsView.js +0 -17
- package/dist/features/seller/components/SellerAuctionsView.d.ts +0 -6
- package/dist/features/seller/components/SellerAuctionsView.js +0 -5
- package/dist/features/seller/components/SellerCouponsView.d.ts +0 -6
- package/dist/features/seller/components/SellerCouponsView.js +0 -5
- package/dist/features/seller/components/SellerCreateProductView.d.ts +0 -11
- package/dist/features/seller/components/SellerCreateProductView.js +0 -5
- package/dist/features/seller/components/SellerDashboardView.d.ts +0 -14
- package/dist/features/seller/components/SellerDashboardView.js +0 -11
- package/dist/features/seller/components/SellerEditProductView.d.ts +0 -11
- package/dist/features/seller/components/SellerEditProductView.js +0 -5
- package/dist/features/seller/components/SellerGuideView.d.ts +0 -12
- package/dist/features/seller/components/SellerGuideView.js +0 -5
- package/dist/features/seller/components/SellerOffersView.d.ts +0 -4
- package/dist/features/seller/components/SellerOffersView.js +0 -5
- package/dist/features/seller/components/SellerOrdersView.d.ts +0 -4
- package/dist/features/seller/components/SellerOrdersView.js +0 -5
- package/dist/features/seller/components/SellerPayoutHistoryTable.d.ts +0 -14
- package/dist/features/seller/components/SellerPayoutHistoryTable.js +0 -10
- package/dist/features/seller/components/SellerPayoutSettingsView.d.ts +0 -11
- package/dist/features/seller/components/SellerPayoutSettingsView.js +0 -5
- package/dist/features/seller/components/SellerPayoutStats.d.ts +0 -8
- package/dist/features/seller/components/SellerPayoutStats.js +0 -9
- package/dist/features/seller/components/SellerPayoutsView.d.ts +0 -18
- package/dist/features/seller/components/SellerPayoutsView.js +0 -11
- package/dist/features/seller/components/SellerProductsView.d.ts +0 -6
- package/dist/features/seller/components/SellerProductsView.js +0 -5
- package/dist/features/seller/components/SellerShippingView.d.ts +0 -12
- package/dist/features/seller/components/SellerShippingView.js +0 -5
- package/dist/features/seller/components/SellerSidebar.d.ts +0 -16
- package/dist/features/seller/components/SellerSidebar.js +0 -11
- package/dist/features/seller/components/SellerStatCard.d.ts +0 -14
- package/dist/features/seller/components/SellerStatCard.js +0 -5
- package/dist/features/seller/components/SellerStoreSetupView.d.ts +0 -12
- package/dist/features/seller/components/SellerStoreSetupView.js +0 -8
- package/dist/features/seller/components/SellerStoreView.d.ts +0 -8
- package/dist/features/seller/components/SellerStoreView.js +0 -8
- package/dist/features/seller/components/SellerStorefrontView.d.ts +0 -13
- package/dist/features/seller/components/SellerStorefrontView.js +0 -10
- package/dist/features/seller/components/SellersListView.d.ts +0 -4
- package/dist/features/seller/components/SellersListView.js +0 -5
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.d.ts +0 -14
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +0 -9
- package/dist/features/seller/components/analytics/SellerRevenueChart.d.ts +0 -13
- package/dist/features/seller/components/analytics/SellerRevenueChart.js +0 -28
- package/dist/features/seller/components/analytics/SellerTopProducts.d.ts +0 -17
- package/dist/features/seller/components/analytics/SellerTopProducts.js +0 -6
- package/dist/features/seller/components/analytics/index.d.ts +0 -3
- package/dist/features/seller/components/analytics/index.js +0 -3
- package/dist/features/seller/components/index.d.ts +0 -44
- package/dist/features/seller/components/index.js +0 -23
- package/dist/features/seller/hooks/useBecomeSeller.d.ts +0 -12
- package/dist/features/seller/hooks/useBecomeSeller.js +0 -26
- package/dist/features/seller/hooks/useSellerPayouts.d.ts +0 -25
- package/dist/features/seller/hooks/useSellerPayouts.js +0 -42
- package/dist/features/seller/hooks/useSellerStore.d.ts +0 -28
- package/dist/features/seller/hooks/useSellerStore.js +0 -48
- package/dist/features/seller/hooks/useSellerStorefront.d.ts +0 -16
- package/dist/features/seller/hooks/useSellerStorefront.js +0 -57
- package/dist/features/seller/index.d.ts +0 -10
- package/dist/features/seller/index.js +0 -10
- package/dist/features/seller/manifest.d.ts +0 -2
- package/dist/features/seller/manifest.js +0 -74
- package/dist/features/seller/messages/en.json +0 -32
- package/dist/features/seller/permission-map.d.ts +0 -3
- package/dist/features/seller/permission-map.js +0 -15
- package/dist/features/seller/repository/offer.repository.d.ts +0 -66
- package/dist/features/seller/repository/offer.repository.js +0 -210
- package/dist/features/seller/repository/seller.repository.d.ts +0 -22
- package/dist/features/seller/repository/seller.repository.js +0 -72
- package/dist/features/seller/schemas/firestore.d.ts +0 -76
- package/dist/features/seller/schemas/firestore.js +0 -57
- package/dist/features/seller/schemas/index.d.ts +0 -244
- package/dist/features/seller/schemas/index.js +0 -100
- package/dist/features/seller/server.d.ts +0 -13
- package/dist/features/seller/server.js +0 -13
- package/dist/features/seller/types/index.d.ts +0 -147
- package/dist/features/seller/types/index.js +0 -2
- package/dist/features/stores/actions/index.d.ts +0 -2
- package/dist/features/stores/actions/index.js +0 -2
- package/dist/features/stores/actions/store-address-actions.d.ts +0 -11
- package/dist/features/stores/actions/store-address-actions.js +0 -54
- package/dist/features/stores/actions/store-query-actions.d.ts +0 -34
- package/dist/features/stores/actions/store-query-actions.js +0 -113
- package/dist/features/stores/api/[storeSlug]/auctions/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/auctions/route.js +0 -92
- package/dist/features/stores/api/[storeSlug]/products/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/products/route.js +0 -97
- package/dist/features/stores/api/[storeSlug]/reviews/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +0 -101
- package/dist/features/stores/api/[storeSlug]/route.d.ts +0 -21
- package/dist/features/stores/api/[storeSlug]/route.js +0 -66
- package/dist/features/stores/api/route.d.ts +0 -12
- package/dist/features/stores/api/route.js +0 -101
- package/dist/features/stores/columns/index.d.ts +0 -16
- package/dist/features/stores/columns/index.js +0 -45
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +0 -20
- package/dist/features/stores/components/InteractiveStoreCard.js +0 -16
- package/dist/features/stores/components/StoreAboutView.d.ts +0 -21
- package/dist/features/stores/components/StoreAboutView.js +0 -12
- package/dist/features/stores/components/StoreAddressSelectorCreate.d.ts +0 -16
- package/dist/features/stores/components/StoreAddressSelectorCreate.js +0 -40
- package/dist/features/stores/components/StoreAuctionsView.d.ts +0 -17
- package/dist/features/stores/components/StoreAuctionsView.js +0 -5
- package/dist/features/stores/components/StoreHeader.d.ts +0 -15
- package/dist/features/stores/components/StoreHeader.js +0 -8
- package/dist/features/stores/components/StoreNavTabs.d.ts +0 -15
- package/dist/features/stores/components/StoreNavTabs.js +0 -14
- package/dist/features/stores/components/StoreProductsView.d.ts +0 -30
- package/dist/features/stores/components/StoreProductsView.js +0 -11
- package/dist/features/stores/components/StoreReviewsView.d.ts +0 -17
- package/dist/features/stores/components/StoreReviewsView.js +0 -9
- package/dist/features/stores/components/StoresListView.d.ts +0 -19
- package/dist/features/stores/components/StoresListView.js +0 -24
- package/dist/features/stores/components/index.d.ts +0 -16
- package/dist/features/stores/components/index.js +0 -9
- package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +0 -23
- package/dist/features/stores/hooks/useStoreAddressSelector.js +0 -30
- package/dist/features/stores/hooks/useStores.d.ts +0 -58
- package/dist/features/stores/hooks/useStores.js +0 -96
- package/dist/features/stores/index.d.ts +0 -7
- package/dist/features/stores/index.js +0 -7
- package/dist/features/stores/manifest.d.ts +0 -2
- package/dist/features/stores/manifest.js +0 -35
- package/dist/features/stores/messages/en.json +0 -21
- package/dist/features/stores/repository/store-address.repository.d.ts +0 -55
- package/dist/features/stores/repository/store-address.repository.js +0 -188
- package/dist/features/stores/repository/store.repository.d.ts +0 -67
- package/dist/features/stores/repository/store.repository.js +0 -181
- package/dist/features/stores/repository/stores.repository.d.ts +0 -11
- package/dist/features/stores/repository/stores.repository.js +0 -34
- package/dist/features/stores/schemas/firestore.d.ts +0 -117
- package/dist/features/stores/schemas/firestore.js +0 -109
- package/dist/features/stores/schemas/index.d.ts +0 -85
- package/dist/features/stores/schemas/index.js +0 -48
- package/dist/features/stores/server.d.ts +0 -15
- package/dist/features/stores/server.js +0 -15
- package/dist/features/stores/types/index.d.ts +0 -102
- package/dist/features/stores/types/index.js +0 -2
- package/dist/features/whatsapp-bot/api/send-status/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/send-status/route.js +0 -36
- package/dist/features/whatsapp-bot/api/webhook/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/webhook/route.js +0 -41
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +0 -8
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +0 -7
- package/dist/features/whatsapp-bot/components/index.d.ts +0 -1
- package/dist/features/whatsapp-bot/components/index.js +0 -1
- package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +0 -21
- package/dist/features/whatsapp-bot/helpers/whatsapp.js +0 -125
- package/dist/features/whatsapp-bot/index.d.ts +0 -3
- package/dist/features/whatsapp-bot/index.js +0 -3
- package/dist/features/whatsapp-bot/manifest.d.ts +0 -2
- package/dist/features/whatsapp-bot/manifest.js +0 -13
- package/dist/features/whatsapp-bot/messages/en.json +0 -7
- package/dist/features/whatsapp-bot/server.d.ts +0 -7
- package/dist/features/whatsapp-bot/server.js +0 -7
- package/dist/features/whatsapp-bot/types/index.d.ts +0 -50
- package/dist/features/whatsapp-bot/types/index.js +0 -1
- package/dist/features/wishlist/actions/index.d.ts +0 -1
- package/dist/features/wishlist/actions/index.js +0 -1
- package/dist/features/wishlist/actions/wishlist-actions.d.ts +0 -20
- package/dist/features/wishlist/actions/wishlist-actions.js +0 -29
- package/dist/features/wishlist/columns/index.d.ts +0 -17
- package/dist/features/wishlist/columns/index.js +0 -42
- package/dist/features/wishlist/components/WishlistPage.d.ts +0 -16
- package/dist/features/wishlist/components/WishlistPage.js +0 -17
- package/dist/features/wishlist/components/WishlistToggleButton.d.ts +0 -12
- package/dist/features/wishlist/components/WishlistToggleButton.js +0 -21
- package/dist/features/wishlist/components/WishlistView.d.ts +0 -33
- package/dist/features/wishlist/components/WishlistView.js +0 -41
- package/dist/features/wishlist/components/index.d.ts +0 -4
- package/dist/features/wishlist/components/index.js +0 -3
- package/dist/features/wishlist/hooks/useUserWishlist.d.ts +0 -187
- package/dist/features/wishlist/hooks/useUserWishlist.js +0 -17
- package/dist/features/wishlist/hooks/useWishlist.d.ts +0 -16
- package/dist/features/wishlist/hooks/useWishlist.js +0 -23
- package/dist/features/wishlist/hooks/useWishlistToggle.d.ts +0 -10
- package/dist/features/wishlist/hooks/useWishlistToggle.js +0 -32
- package/dist/features/wishlist/index.d.ts +0 -9
- package/dist/features/wishlist/index.js +0 -8
- package/dist/features/wishlist/manifest.d.ts +0 -2
- package/dist/features/wishlist/manifest.js +0 -12
- package/dist/features/wishlist/messages/en.json +0 -7
- package/dist/features/wishlist/repository/user-wishlist.repository.d.ts +0 -14
- package/dist/features/wishlist/repository/user-wishlist.repository.js +0 -91
- package/dist/features/wishlist/repository/wishlist.repository.d.ts +0 -13
- package/dist/features/wishlist/repository/wishlist.repository.js +0 -31
- package/dist/features/wishlist/schemas/index.d.ts +0 -46
- package/dist/features/wishlist/schemas/index.js +0 -24
- package/dist/features/wishlist/server.d.ts +0 -9
- package/dist/features/wishlist/server.js +0 -9
- package/dist/features/wishlist/types/index.d.ts +0 -16
- package/dist/features/wishlist/types/index.js +0 -1
- package/dist/http/ApiClient.d.ts +0 -59
- package/dist/http/ApiClient.js +0 -149
- package/dist/http/api-handler.d.ts +0 -33
- package/dist/http/api-handler.js +0 -89
- package/dist/http/index.d.ts +0 -9
- package/dist/http/index.js +0 -8
- package/dist/instrumentation/index.d.ts +0 -64
- package/dist/instrumentation/index.js +0 -55
- package/dist/monitoring/analytics.d.ts +0 -79
- package/dist/monitoring/analytics.js +0 -171
- package/dist/monitoring/browser.d.ts +0 -10
- package/dist/monitoring/browser.js +0 -6
- package/dist/monitoring/cache-metrics.d.ts +0 -24
- package/dist/monitoring/cache-metrics.js +0 -83
- package/dist/monitoring/client-logger.d.ts +0 -29
- package/dist/monitoring/client-logger.js +0 -127
- package/dist/monitoring/error-tracking.d.ts +0 -50
- package/dist/monitoring/error-tracking.js +0 -54
- package/dist/monitoring/index.d.ts +0 -12
- package/dist/monitoring/index.js +0 -7
- package/dist/monitoring/performance.d.ts +0 -31
- package/dist/monitoring/performance.js +0 -34
- package/dist/monitoring/runtime.d.ts +0 -17
- package/dist/monitoring/runtime.js +0 -28
- package/dist/monitoring/server-logger.d.ts +0 -37
- package/dist/monitoring/server-logger.js +0 -289
- package/dist/next/ErrorBoundary.d.ts +0 -19
- package/dist/next/ErrorBoundary.js +0 -35
- package/dist/next/IAuthVerifier.d.ts +0 -54
- package/dist/next/IAuthVerifier.js +0 -23
- package/dist/next/api/api-response.d.ts +0 -29
- package/dist/next/api/api-response.js +0 -31
- package/dist/next/api/apiHandler.d.ts +0 -48
- package/dist/next/api/apiHandler.js +0 -87
- package/dist/next/api/errorHandler.d.ts +0 -57
- package/dist/next/api/errorHandler.js +0 -72
- package/dist/next/api/routeHandler.d.ts +0 -60
- package/dist/next/api/routeHandler.js +0 -113
- package/dist/next/cache-middleware.d.ts +0 -35
- package/dist/next/cache-middleware.js +0 -77
- package/dist/next/components/ErrorView.d.ts +0 -13
- package/dist/next/components/ErrorView.js +0 -32
- package/dist/next/components/GlobalError.d.ts +0 -7
- package/dist/next/components/GlobalError.js +0 -43
- package/dist/next/components/NotFoundView.d.ts +0 -28
- package/dist/next/components/NotFoundView.js +0 -25
- package/dist/next/components/UnauthorizedView.d.ts +0 -28
- package/dist/next/components/UnauthorizedView.js +0 -22
- package/dist/next/index.d.ts +0 -35
- package/dist/next/index.js +0 -30
- package/dist/next/middleware/chain.d.ts +0 -47
- package/dist/next/middleware/chain.js +0 -80
- package/dist/next/middleware/index.d.ts +0 -6
- package/dist/next/middleware/index.js +0 -3
- package/dist/next/middleware/pii-redactor.d.ts +0 -32
- package/dist/next/middleware/pii-redactor.js +0 -82
- package/dist/next/middleware/pii-scrubber.d.ts +0 -11
- package/dist/next/middleware/pii-scrubber.js +0 -43
- package/dist/next/middleware/types.d.ts +0 -18
- package/dist/next/middleware/types.js +0 -1
- package/dist/next/request-helpers.d.ts +0 -25
- package/dist/next/request-helpers.js +0 -52
- package/dist/next/routing/route-map.d.ts +0 -272
- package/dist/next/routing/route-map.js +0 -202
- package/dist/providers/auth-firebase/browser-stub.d.ts +0 -24
- package/dist/providers/auth-firebase/browser-stub.js +0 -28
- package/dist/providers/auth-firebase/helpers.d.ts +0 -83
- package/dist/providers/auth-firebase/helpers.js +0 -205
- package/dist/providers/auth-firebase/index.d.ts +0 -11
- package/dist/providers/auth-firebase/index.js +0 -16
- package/dist/providers/auth-firebase/provider.d.ts +0 -8
- package/dist/providers/auth-firebase/provider.js +0 -118
- package/dist/providers/auth-firebase/session.d.ts +0 -19
- package/dist/providers/auth-firebase/session.js +0 -86
- package/dist/providers/db-firebase/admin-app-lite.d.ts +0 -6
- package/dist/providers/db-firebase/admin-app-lite.js +0 -50
- package/dist/providers/db-firebase/admin-auth-lite.d.ts +0 -5
- package/dist/providers/db-firebase/admin-auth-lite.js +0 -10
- package/dist/providers/db-firebase/admin-storage-lite.d.ts +0 -6
- package/dist/providers/db-firebase/admin-storage-lite.js +0 -11
- package/dist/providers/db-firebase/admin.d.ts +0 -29
- package/dist/providers/db-firebase/admin.js +0 -163
- package/dist/providers/db-firebase/base.d.ts +0 -44
- package/dist/providers/db-firebase/base.js +0 -180
- package/dist/providers/db-firebase/base.repository.d.ts +0 -34
- package/dist/providers/db-firebase/base.repository.js +0 -235
- package/dist/providers/db-firebase/browser-stub.d.ts +0 -37
- package/dist/providers/db-firebase/browser-stub.js +0 -56
- package/dist/providers/db-firebase/client-config.d.ts +0 -22
- package/dist/providers/db-firebase/client-config.js +0 -30
- package/dist/providers/db-firebase/field-ops.d.ts +0 -7
- package/dist/providers/db-firebase/field-ops.js +0 -13
- package/dist/providers/db-firebase/helpers.d.ts +0 -23
- package/dist/providers/db-firebase/helpers.js +0 -67
- package/dist/providers/db-firebase/index.d.ts +0 -31
- package/dist/providers/db-firebase/index.js +0 -42
- package/dist/providers/db-firebase/realtime.d.ts +0 -43
- package/dist/providers/db-firebase/realtime.js +0 -122
- package/dist/providers/db-firebase/rtdb-paths.d.ts +0 -12
- package/dist/providers/db-firebase/rtdb-paths.js +0 -12
- package/dist/providers/db-firebase/sieve.d.ts +0 -76
- package/dist/providers/db-firebase/sieve.js +0 -83
- package/dist/providers/email-resend/index.d.ts +0 -15
- package/dist/providers/email-resend/index.js +0 -14
- package/dist/providers/email-resend/provider.d.ts +0 -43
- package/dist/providers/email-resend/provider.js +0 -75
- package/dist/providers/firebase-client/auth.d.ts +0 -12
- package/dist/providers/firebase-client/auth.js +0 -30
- package/dist/providers/firebase-client/index.d.ts +0 -9
- package/dist/providers/firebase-client/index.js +0 -9
- package/dist/providers/firebase-client/realtime.d.ts +0 -18
- package/dist/providers/firebase-client/realtime.js +0 -39
- package/dist/providers/payment-razorpay/index.d.ts +0 -93
- package/dist/providers/payment-razorpay/index.js +0 -206
- package/dist/providers/shipping-shiprocket/index.d.ts +0 -272
- package/dist/providers/shipping-shiprocket/index.js +0 -148
- package/dist/providers/shipping-shiprocket/shiprocket-provider.d.ts +0 -46
- package/dist/providers/shipping-shiprocket/shiprocket-provider.js +0 -152
- package/dist/providers/storage-firebase/client.d.ts +0 -56
- package/dist/providers/storage-firebase/client.js +0 -141
- package/dist/providers/storage-firebase/index.d.ts +0 -16
- package/dist/providers/storage-firebase/index.js +0 -16
- package/dist/providers/storage-firebase/provider.d.ts +0 -23
- package/dist/providers/storage-firebase/provider.js +0 -103
- package/dist/react/ErrorBoundary.d.ts +0 -31
- package/dist/react/ErrorBoundary.js +0 -68
- package/dist/react/contexts/SessionContext.d.ts +0 -80
- package/dist/react/contexts/SessionContext.js +0 -350
- package/dist/react/contexts/ThemeContext.d.ts +0 -14
- package/dist/react/contexts/ThemeContext.js +0 -65
- package/dist/react/contexts/index.d.ts +0 -4
- package/dist/react/contexts/index.js +0 -2
- package/dist/react/hooks/useBreakpoint.d.ts +0 -29
- package/dist/react/hooks/useBreakpoint.js +0 -37
- package/dist/react/hooks/useBulkAction.d.ts +0 -65
- package/dist/react/hooks/useBulkAction.js +0 -69
- package/dist/react/hooks/useBulkSelection.d.ts +0 -40
- package/dist/react/hooks/useBulkSelection.js +0 -58
- package/dist/react/hooks/useCamera.d.ts +0 -34
- package/dist/react/hooks/useCamera.js +0 -147
- package/dist/react/hooks/useClickOutside.d.ts +0 -37
- package/dist/react/hooks/useClickOutside.js +0 -57
- package/dist/react/hooks/useContainerGrid.d.ts +0 -39
- package/dist/react/hooks/useContainerGrid.js +0 -47
- package/dist/react/hooks/useCountdown.d.ts +0 -26
- package/dist/react/hooks/useCountdown.js +0 -49
- package/dist/react/hooks/useGesture.d.ts +0 -51
- package/dist/react/hooks/useGesture.js +0 -181
- package/dist/react/hooks/useKeyPress.d.ts +0 -48
- package/dist/react/hooks/useKeyPress.js +0 -62
- package/dist/react/hooks/useLongPress.d.ts +0 -26
- package/dist/react/hooks/useLongPress.js +0 -55
- package/dist/react/hooks/useMediaQuery.d.ts +0 -17
- package/dist/react/hooks/useMediaQuery.js +0 -34
- package/dist/react/hooks/useMessage.d.ts +0 -11
- package/dist/react/hooks/useMessage.js +0 -45
- package/dist/react/hooks/usePendingFilters.d.ts +0 -58
- package/dist/react/hooks/usePendingFilters.js +0 -79
- package/dist/react/hooks/usePendingTable.d.ts +0 -49
- package/dist/react/hooks/usePendingTable.js +0 -45
- package/dist/react/hooks/usePullToRefresh.d.ts +0 -38
- package/dist/react/hooks/usePullToRefresh.js +0 -82
- package/dist/react/hooks/useRealtimeEvent.d.ts +0 -53
- package/dist/react/hooks/useRealtimeEvent.js +0 -124
- package/dist/react/hooks/useSwipe.d.ts +0 -55
- package/dist/react/hooks/useSwipe.js +0 -165
- package/dist/react/hooks/useUnsavedChanges.d.ts +0 -44
- package/dist/react/hooks/useUnsavedChanges.js +0 -55
- package/dist/react/hooks/useUrlTable.d.ts +0 -31
- package/dist/react/hooks/useUrlTable.js +0 -137
- package/dist/react/hooks/useVisibleItems.d.ts +0 -37
- package/dist/react/hooks/useVisibleItems.js +0 -59
- package/dist/react/index.d.ts +0 -50
- package/dist/react/index.js +0 -47
- package/dist/react/useModalStack.d.ts +0 -33
- package/dist/react/useModalStack.js +0 -61
- package/dist/repositories/index.d.ts +0 -38
- package/dist/repositories/index.js +0 -40
- package/dist/security/authorization.d.ts +0 -24
- package/dist/security/authorization.js +0 -73
- package/dist/security/browser.d.ts +0 -7
- package/dist/security/browser.js +0 -5
- package/dist/security/csp.d.ts +0 -16
- package/dist/security/csp.js +0 -44
- package/dist/security/index.d.ts +0 -11
- package/dist/security/index.js +0 -8
- package/dist/security/pii-encrypt.d.ts +0 -121
- package/dist/security/pii-encrypt.js +0 -351
- package/dist/security/pii-redact.d.ts +0 -20
- package/dist/security/pii-redact.js +0 -129
- package/dist/security/pii-schemas.d.ts +0 -38
- package/dist/security/pii-schemas.js +0 -62
- package/dist/security/rate-limit.d.ts +0 -70
- package/dist/security/rate-limit.js +0 -107
- package/dist/security/rbac/Can.d.ts +0 -31
- package/dist/security/rbac/Can.js +0 -24
- package/dist/security/rbac/default-roles.d.ts +0 -2
- package/dist/security/rbac/default-roles.js +0 -83
- package/dist/security/rbac/hook.d.ts +0 -20
- package/dist/security/rbac/hook.js +0 -30
- package/dist/security/rbac/index.d.ts +0 -8
- package/dist/security/rbac/index.js +0 -6
- package/dist/security/rbac/middleware.d.ts +0 -51
- package/dist/security/rbac/middleware.js +0 -51
- package/dist/security/rbac/resolver.d.ts +0 -5
- package/dist/security/rbac/resolver.js +0 -38
- package/dist/security/rbac/server.d.ts +0 -24
- package/dist/security/rbac/server.js +0 -42
- package/dist/security/rbac/types.d.ts +0 -22
- package/dist/security/rbac/types.js +0 -2
- package/dist/security/settings-encryption.d.ts +0 -5
- package/dist/security/settings-encryption.js +0 -48
- package/dist/seed/actions/demo-seed-actions.d.ts +0 -31
- package/dist/seed/actions/demo-seed-actions.js +0 -36
- package/dist/seed/actions/index.d.ts +0 -1
- package/dist/seed/actions/index.js +0 -1
- package/dist/seed/addresses-seed-data.d.ts +0 -19
- package/dist/seed/addresses-seed-data.js +0 -418
- package/dist/seed/bids-seed-data.d.ts +0 -7
- package/dist/seed/bids-seed-data.js +0 -1168
- package/dist/seed/blog-posts-seed-data.d.ts +0 -7
- package/dist/seed/blog-posts-seed-data.js +0 -215
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -7
- package/dist/seed/carousel-slides-seed-data.js +0 -283
- package/dist/seed/cart-seed-data.d.ts +0 -20
- package/dist/seed/cart-seed-data.js +0 -179
- package/dist/seed/categories-seed-data.d.ts +0 -7
- package/dist/seed/categories-seed-data.js +0 -1220
- package/dist/seed/coupons-seed-data.d.ts +0 -7
- package/dist/seed/coupons-seed-data.js +0 -508
- package/dist/seed/defaults/categories.d.ts +0 -2
- package/dist/seed/defaults/categories.js +0 -12
- package/dist/seed/defaults/faqs.d.ts +0 -2
- package/dist/seed/defaults/faqs.js +0 -40
- package/dist/seed/defaults/homepage-sections.d.ts +0 -2
- package/dist/seed/defaults/homepage-sections.js +0 -59
- package/dist/seed/events-seed-data.d.ts +0 -8
- package/dist/seed/events-seed-data.js +0 -662
- package/dist/seed/factories/address.factory.d.ts +0 -21
- package/dist/seed/factories/address.factory.js +0 -44
- package/dist/seed/factories/bid.factory.d.ts +0 -15
- package/dist/seed/factories/bid.factory.js +0 -33
- package/dist/seed/factories/blog-post.factory.d.ts +0 -15
- package/dist/seed/factories/blog-post.factory.js +0 -22
- package/dist/seed/factories/carousel.factory.d.ts +0 -11
- package/dist/seed/factories/carousel.factory.js +0 -16
- package/dist/seed/factories/cart.factory.d.ts +0 -26
- package/dist/seed/factories/cart.factory.js +0 -35
- package/dist/seed/factories/category.factory.d.ts +0 -11
- package/dist/seed/factories/category.factory.js +0 -16
- package/dist/seed/factories/coupon.factory.d.ts +0 -21
- package/dist/seed/factories/coupon.factory.js +0 -43
- package/dist/seed/factories/faq.factory.d.ts +0 -10
- package/dist/seed/factories/faq.factory.js +0 -15
- package/dist/seed/factories/homepage-section.factory.d.ts +0 -9
- package/dist/seed/factories/homepage-section.factory.js +0 -13
- package/dist/seed/factories/notification.factory.d.ts +0 -17
- package/dist/seed/factories/notification.factory.js +0 -39
- package/dist/seed/factories/order.factory.d.ts +0 -20
- package/dist/seed/factories/order.factory.js +0 -20
- package/dist/seed/factories/payout.factory.d.ts +0 -21
- package/dist/seed/factories/payout.factory.js +0 -38
- package/dist/seed/factories/product.factory.d.ts +0 -27
- package/dist/seed/factories/product.factory.js +0 -111
- package/dist/seed/factories/review.factory.d.ts +0 -14
- package/dist/seed/factories/review.factory.js +0 -52
- package/dist/seed/factories/session.factory.d.ts +0 -15
- package/dist/seed/factories/session.factory.js +0 -31
- package/dist/seed/factories/store.factory.d.ts +0 -23
- package/dist/seed/factories/store.factory.js +0 -46
- package/dist/seed/factories/user.factory.d.ts +0 -19
- package/dist/seed/factories/user.factory.js +0 -55
- package/dist/seed/faq-seed-data.d.ts +0 -47
- package/dist/seed/faq-seed-data.js +0 -2320
- package/dist/seed/firestore-indexes.d.ts +0 -13
- package/dist/seed/firestore-indexes.js +0 -32
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -18
- package/dist/seed/homepage-sections-seed-data.js +0 -339
- package/dist/seed/index.d.ts +0 -68
- package/dist/seed/index.js +0 -49
- package/dist/seed/notifications-seed-data.d.ts +0 -7
- package/dist/seed/notifications-seed-data.js +0 -494
- package/dist/seed/orders-seed-data.d.ts +0 -7
- package/dist/seed/orders-seed-data.js +0 -578
- package/dist/seed/payouts-seed-data.d.ts +0 -7
- package/dist/seed/payouts-seed-data.js +0 -202
- package/dist/seed/products-seed-data.d.ts +0 -7
- package/dist/seed/products-seed-data.js +0 -2477
- package/dist/seed/reviews-seed-data.d.ts +0 -7
- package/dist/seed/reviews-seed-data.js +0 -618
- package/dist/seed/runner.d.ts +0 -3
- package/dist/seed/runner.js +0 -38
- package/dist/seed/seed-market-config.d.ts +0 -49
- package/dist/seed/seed-market-config.js +0 -198
- package/dist/seed/sessions-seed-data.d.ts +0 -17
- package/dist/seed/sessions-seed-data.js +0 -355
- package/dist/seed/site-settings-seed-data.d.ts +0 -7
- package/dist/seed/site-settings-seed-data.js +0 -236
- package/dist/seed/store-addresses-seed-data.d.ts +0 -19
- package/dist/seed/store-addresses-seed-data.js +0 -106
- package/dist/seed/stores-seed-data.d.ts +0 -14
- package/dist/seed/stores-seed-data.js +0 -127
- package/dist/seed/test-utils.d.ts +0 -49
- package/dist/seed/test-utils.js +0 -107
- package/dist/seed/types.d.ts +0 -33
- package/dist/seed/types.js +0 -1
- package/dist/seed/users-seed-data.d.ts +0 -7
- package/dist/seed/users-seed-data.js +0 -727
- package/dist/seo/index.d.ts +0 -2
- package/dist/seo/index.js +0 -2
- package/dist/seo/json-ld.d.ts +0 -69
- package/dist/seo/json-ld.js +0 -166
- package/dist/seo/metadata.d.ts +0 -77
- package/dist/seo/metadata.js +0 -157
- package/dist/server.d.ts +0 -109
- package/dist/server.js +0 -110
- package/dist/style/tailwind/index.d.ts +0 -32
- package/dist/style/tailwind/index.js +0 -57
- package/dist/style/vanilla/index.d.ts +0 -24
- package/dist/style/vanilla/index.js +0 -48
- package/dist/tokens/index.d.ts +0 -733
- package/dist/tokens/index.js +0 -786
- package/dist/tokens/tokens.css +0 -221
- package/dist/ui/DataTable.d.ts +0 -78
- package/dist/ui/DataTable.js +0 -157
- package/dist/ui/DataTable.style.css +0 -190
- package/dist/ui/animation.helper.d.ts +0 -17
- package/dist/ui/animation.helper.js +0 -17
- package/dist/ui/color.helper.d.ts +0 -12
- package/dist/ui/color.helper.js +0 -31
- package/dist/ui/columns/build-columns.d.ts +0 -21
- package/dist/ui/columns/build-columns.js +0 -33
- package/dist/ui/columns/column-renderers.d.ts +0 -33
- package/dist/ui/columns/column-renderers.js +0 -64
- package/dist/ui/columns/index.d.ts +0 -6
- package/dist/ui/columns/index.js +0 -5
- package/dist/ui/components/Accordion.d.ts +0 -27
- package/dist/ui/components/Accordion.js +0 -57
- package/dist/ui/components/Accordion.style.css +0 -82
- package/dist/ui/components/ActiveFilterChips.d.ts +0 -13
- package/dist/ui/components/ActiveFilterChips.js +0 -9
- package/dist/ui/components/ActiveFilterChips.style.css +0 -66
- package/dist/ui/components/Alert.d.ts +0 -43
- package/dist/ui/components/Alert.js +0 -47
- package/dist/ui/components/Alert.style.css +0 -187
- package/dist/ui/components/Avatar.d.ts +0 -18
- package/dist/ui/components/Avatar.js +0 -42
- package/dist/ui/components/Avatar.style.css +0 -73
- package/dist/ui/components/AvatarDisplay.d.ts +0 -10
- package/dist/ui/components/AvatarDisplay.js +0 -56
- package/dist/ui/components/AvatarDisplay.style.css +0 -46
- package/dist/ui/components/BackgroundRenderer.d.ts +0 -15
- package/dist/ui/components/BackgroundRenderer.js +0 -42
- package/dist/ui/components/BackgroundRenderer.style.css +0 -31
- package/dist/ui/components/Badge.d.ts +0 -33
- package/dist/ui/components/Badge.js +0 -34
- package/dist/ui/components/Badge.style.css +0 -114
- package/dist/ui/components/BaseListingCard.d.ts +0 -39
- package/dist/ui/components/BaseListingCard.js +0 -56
- package/dist/ui/components/BaseListingCard.style.css +0 -84
- package/dist/ui/components/Breadcrumb.d.ts +0 -15
- package/dist/ui/components/Breadcrumb.js +0 -12
- package/dist/ui/components/Breadcrumb.style.css +0 -60
- package/dist/ui/components/BulkActionBar.d.ts +0 -34
- package/dist/ui/components/BulkActionBar.js +0 -86
- package/dist/ui/components/BulkActionBar.style.css +0 -196
- package/dist/ui/components/Button.d.ts +0 -31
- package/dist/ui/components/Button.js +0 -29
- package/dist/ui/components/Button.style.css +0 -160
- package/dist/ui/components/Card.d.ts +0 -21
- package/dist/ui/components/Card.js +0 -51
- package/dist/ui/components/Card.style.css +0 -192
- package/dist/ui/components/Checkbox.d.ts +0 -8
- package/dist/ui/components/Checkbox.js +0 -38
- package/dist/ui/components/Checkbox.style.css +0 -113
- package/dist/ui/components/ConfirmDeleteModal.d.ts +0 -33
- package/dist/ui/components/ConfirmDeleteModal.js +0 -74
- package/dist/ui/components/ConfirmDeleteModal.style.css +0 -89
- package/dist/ui/components/CountdownDisplay.d.ts +0 -14
- package/dist/ui/components/CountdownDisplay.js +0 -50
- package/dist/ui/components/CountdownDisplay.style.css +0 -4
- package/dist/ui/components/DashboardStatsCard.d.ts +0 -15
- package/dist/ui/components/DashboardStatsCard.js +0 -28
- package/dist/ui/components/DashboardStatsCard.style.css +0 -70
- package/dist/ui/components/DescriptionField.d.ts +0 -23
- package/dist/ui/components/DescriptionField.js +0 -28
- package/dist/ui/components/DescriptionField.style.css +0 -36
- package/dist/ui/components/DetailViewShell.d.ts +0 -51
- package/dist/ui/components/DetailViewShell.js +0 -50
- package/dist/ui/components/Div.d.ts +0 -20
- package/dist/ui/components/Div.js +0 -19
- package/dist/ui/components/Div.style.css +0 -6
- package/dist/ui/components/Divider.d.ts +0 -12
- package/dist/ui/components/Divider.js +0 -11
- package/dist/ui/components/Divider.style.css +0 -39
- package/dist/ui/components/Drawer.d.ts +0 -21
- package/dist/ui/components/Drawer.js +0 -72
- package/dist/ui/components/Drawer.style.css +0 -146
- package/dist/ui/components/Dropdown.d.ts +0 -36
- package/dist/ui/components/Dropdown.js +0 -142
- package/dist/ui/components/Dropdown.style.css +0 -112
- package/dist/ui/components/DynamicSelect.d.ts +0 -24
- package/dist/ui/components/DynamicSelect.js +0 -78
- package/dist/ui/components/DynamicSelect.style.css +0 -101
- package/dist/ui/components/EmptyState.d.ts +0 -12
- package/dist/ui/components/EmptyState.js +0 -17
- package/dist/ui/components/EmptyState.style.css +0 -30
- package/dist/ui/components/FilterDrawer.d.ts +0 -16
- package/dist/ui/components/FilterDrawer.js +0 -39
- package/dist/ui/components/FilterDrawer.style.css +0 -61
- package/dist/ui/components/FlowDiagram.d.ts +0 -33
- package/dist/ui/components/FlowDiagram.js +0 -15
- package/dist/ui/components/FlowDiagram.style.css +0 -77
- package/dist/ui/components/Form.d.ts +0 -27
- package/dist/ui/components/Form.js +0 -48
- package/dist/ui/components/Form.style.css +0 -27
- package/dist/ui/components/FormField.d.ts +0 -26
- package/dist/ui/components/FormField.js +0 -25
- package/dist/ui/components/FormField.style.css +0 -30
- package/dist/ui/components/FormGrid.d.ts +0 -46
- package/dist/ui/components/FormGrid.js +0 -42
- package/dist/ui/components/FormGrid.style.css +0 -32
- package/dist/ui/components/HorizontalScroller.d.ts +0 -33
- package/dist/ui/components/HorizontalScroller.js +0 -47
- package/dist/ui/components/HorizontalScroller.style.css +0 -109
- package/dist/ui/components/IconButton.d.ts +0 -32
- package/dist/ui/components/IconButton.js +0 -31
- package/dist/ui/components/IconButton.style.css +0 -103
- package/dist/ui/components/ImageGallery.d.ts +0 -17
- package/dist/ui/components/ImageGallery.js +0 -108
- package/dist/ui/components/ImageGallery.style.css +0 -163
- package/dist/ui/components/ImageLightbox.d.ts +0 -24
- package/dist/ui/components/ImageLightbox.js +0 -61
- package/dist/ui/components/ImageLightbox.style.css +0 -58
- package/dist/ui/components/Input.d.ts +0 -12
- package/dist/ui/components/Input.js +0 -29
- package/dist/ui/components/Input.style.css +0 -28
- package/dist/ui/components/ItemRow.d.ts +0 -10
- package/dist/ui/components/ItemRow.js +0 -7
- package/dist/ui/components/ItemRow.style.css +0 -33
- package/dist/ui/components/Layout.d.ts +0 -282
- package/dist/ui/components/Layout.js +0 -184
- package/dist/ui/components/Layout.style.css +0 -212
- package/dist/ui/components/ListingLayout.d.ts +0 -60
- package/dist/ui/components/ListingLayout.js +0 -121
- package/dist/ui/components/ListingLayout.style.css +0 -527
- package/dist/ui/components/ListingViewShell.d.ts +0 -38
- package/dist/ui/components/ListingViewShell.js +0 -11
- package/dist/ui/components/Menu.d.ts +0 -29
- package/dist/ui/components/Menu.js +0 -19
- package/dist/ui/components/Menu.style.css +0 -6
- package/dist/ui/components/Modal.d.ts +0 -18
- package/dist/ui/components/Modal.js +0 -79
- package/dist/ui/components/Modal.style.css +0 -102
- package/dist/ui/components/Pagination.d.ts +0 -25
- package/dist/ui/components/Pagination.js +0 -56
- package/dist/ui/components/Pagination.style.css +0 -76
- package/dist/ui/components/PasswordStrengthIndicator.d.ts +0 -12
- package/dist/ui/components/PasswordStrengthIndicator.js +0 -35
- package/dist/ui/components/PasswordStrengthIndicator.style.css +0 -56
- package/dist/ui/components/PriceDisplay.d.ts +0 -8
- package/dist/ui/components/PriceDisplay.js +0 -28
- package/dist/ui/components/PriceDisplay.style.css +0 -47
- package/dist/ui/components/Progress.d.ts +0 -23
- package/dist/ui/components/Progress.js +0 -32
- package/dist/ui/components/Progress.style.css +0 -81
- package/dist/ui/components/Radio.d.ts +0 -18
- package/dist/ui/components/Radio.js +0 -64
- package/dist/ui/components/Radio.style.css +0 -155
- package/dist/ui/components/RatingDisplay.d.ts +0 -8
- package/dist/ui/components/RatingDisplay.js +0 -15
- package/dist/ui/components/RatingDisplay.style.css +0 -50
- package/dist/ui/components/ResponsiveView.d.ts +0 -12
- package/dist/ui/components/ResponsiveView.js +0 -9
- package/dist/ui/components/ResponsiveView.style.css +0 -69
- package/dist/ui/components/RoleBadge.d.ts +0 -7
- package/dist/ui/components/RoleBadge.js +0 -21
- package/dist/ui/components/RoleBadge.style.css +0 -7
- package/dist/ui/components/RowActionMenu.d.ts +0 -13
- package/dist/ui/components/RowActionMenu.js +0 -17
- package/dist/ui/components/RowActionMenu.style.css +0 -91
- package/dist/ui/components/SectionTabs.d.ts +0 -19
- package/dist/ui/components/SectionTabs.js +0 -66
- package/dist/ui/components/SectionTabs.style.css +0 -163
- package/dist/ui/components/Select.d.ts +0 -19
- package/dist/ui/components/Select.js +0 -27
- package/dist/ui/components/Select.style.css +0 -177
- package/dist/ui/components/Semantic.d.ts +0 -154
- package/dist/ui/components/Semantic.js +0 -32
- package/dist/ui/components/Semantic.style.css +0 -14
- package/dist/ui/components/SideDrawer.d.ts +0 -28
- package/dist/ui/components/SideDrawer.js +0 -151
- package/dist/ui/components/SideDrawer.style.css +0 -214
- package/dist/ui/components/SideModal.d.ts +0 -25
- package/dist/ui/components/SideModal.js +0 -61
- package/dist/ui/components/SideModal.style.css +0 -77
- package/dist/ui/components/Skeleton.d.ts +0 -14
- package/dist/ui/components/Skeleton.js +0 -22
- package/dist/ui/components/Skeleton.style.css +0 -55
- package/dist/ui/components/SkipToMain.d.ts +0 -6
- package/dist/ui/components/SkipToMain.js +0 -6
- package/dist/ui/components/SkipToMain.style.css +0 -34
- package/dist/ui/components/Slider.d.ts +0 -17
- package/dist/ui/components/Slider.js +0 -38
- package/dist/ui/components/Slider.style.css +0 -17
- package/dist/ui/components/SlottedListingView.d.ts +0 -62
- package/dist/ui/components/SlottedListingView.js +0 -41
- package/dist/ui/components/SortDropdown.d.ts +0 -15
- package/dist/ui/components/SortDropdown.js +0 -8
- package/dist/ui/components/SortDropdown.style.css +0 -12
- package/dist/ui/components/Spinner.d.ts +0 -13
- package/dist/ui/components/Spinner.js +0 -15
- package/dist/ui/components/Spinner.style.css +0 -76
- package/dist/ui/components/StackedViewShell.d.ts +0 -50
- package/dist/ui/components/StackedViewShell.js +0 -39
- package/dist/ui/components/StarRating.d.ts +0 -17
- package/dist/ui/components/StarRating.js +0 -29
- package/dist/ui/components/StarRating.style.css +0 -44
- package/dist/ui/components/StatsGrid.d.ts +0 -18
- package/dist/ui/components/StatsGrid.js +0 -17
- package/dist/ui/components/StatsGrid.style.css +0 -96
- package/dist/ui/components/StatusBadge.d.ts +0 -18
- package/dist/ui/components/StatusBadge.js +0 -60
- package/dist/ui/components/StatusBadge.style.css +0 -5
- package/dist/ui/components/StepperNav.d.ts +0 -10
- package/dist/ui/components/StepperNav.js +0 -23
- package/dist/ui/components/StepperNav.style.css +0 -110
- package/dist/ui/components/SummaryCard.d.ts +0 -21
- package/dist/ui/components/SummaryCard.js +0 -15
- package/dist/ui/components/SummaryCard.style.css +0 -82
- package/dist/ui/components/TabStrip.d.ts +0 -34
- package/dist/ui/components/TabStrip.js +0 -57
- package/dist/ui/components/TabStrip.style.css +0 -97
- package/dist/ui/components/TablePagination.d.ts +0 -21
- package/dist/ui/components/TablePagination.js +0 -32
- package/dist/ui/components/TablePagination.style.css +0 -89
- package/dist/ui/components/Tabs.d.ts +0 -28
- package/dist/ui/components/Tabs.js +0 -41
- package/dist/ui/components/Tabs.style.css +0 -46
- package/dist/ui/components/TagInput.d.ts +0 -10
- package/dist/ui/components/TagInput.js +0 -60
- package/dist/ui/components/TagInput.style.css +0 -121
- package/dist/ui/components/TextLink.d.ts +0 -42
- package/dist/ui/components/TextLink.js +0 -48
- package/dist/ui/components/TextLink.style.css +0 -94
- package/dist/ui/components/Textarea.d.ts +0 -9
- package/dist/ui/components/Textarea.js +0 -21
- package/dist/ui/components/Textarea.style.css +0 -30
- package/dist/ui/components/Toast.d.ts +0 -15
- package/dist/ui/components/Toast.js +0 -61
- package/dist/ui/components/Toast.style.css +0 -114
- package/dist/ui/components/Toggle.d.ts +0 -12
- package/dist/ui/components/Toggle.js +0 -47
- package/dist/ui/components/Toggle.style.css +0 -107
- package/dist/ui/components/Tooltip.d.ts +0 -34
- package/dist/ui/components/Tooltip.js +0 -110
- package/dist/ui/components/Tooltip.style.css +0 -114
- package/dist/ui/components/Typography.d.ts +0 -50
- package/dist/ui/components/Typography.js +0 -103
- package/dist/ui/components/Typography.style.css +0 -178
- package/dist/ui/components/UnsavedChangesModal.d.ts +0 -17
- package/dist/ui/components/UnsavedChangesModal.js +0 -52
- package/dist/ui/components/UnsavedChangesModal.style.css +0 -33
- package/dist/ui/components/ViewToggle.d.ts +0 -15
- package/dist/ui/components/ViewToggle.js +0 -29
- package/dist/ui/components/ViewToggle.style.css +0 -50
- package/dist/ui/components/index.style.css +0 -76
- package/dist/ui/index.d.ts +0 -165
- package/dist/ui/index.js +0 -87
- package/dist/ui/rich-text/RichText.d.ts +0 -46
- package/dist/ui/rich-text/RichText.js +0 -172
- package/dist/ui/rich-text/RichText.style.css +0 -5
- package/dist/ui/rich-text/index.d.ts +0 -2
- package/dist/ui/rich-text/index.js +0 -1
- package/dist/ui/style.helper.d.ts +0 -7
- package/dist/ui/style.helper.js +0 -12
- package/dist/utils/animation.helper.d.ts +0 -19
- package/dist/utils/animation.helper.js +0 -19
- package/dist/utils/array.helper.d.ts +0 -17
- package/dist/utils/array.helper.js +0 -53
- package/dist/utils/business-day.d.ts +0 -47
- package/dist/utils/business-day.js +0 -68
- package/dist/utils/client.d.ts +0 -1
- package/dist/utils/client.js +0 -1
- package/dist/utils/color.helper.d.ts +0 -32
- package/dist/utils/color.helper.js +0 -51
- package/dist/utils/cookie.converter.d.ts +0 -7
- package/dist/utils/cookie.converter.js +0 -32
- package/dist/utils/date.formatter.d.ts +0 -22
- package/dist/utils/date.formatter.js +0 -194
- package/dist/utils/event-manager.d.ts +0 -45
- package/dist/utils/event-manager.js +0 -185
- package/dist/utils/filter.helper.d.ts +0 -18
- package/dist/utils/filter.helper.js +0 -21
- package/dist/utils/id-generators.d.ts +0 -243
- package/dist/utils/id-generators.js +0 -360
- package/dist/utils/index.d.ts +0 -17
- package/dist/utils/index.js +0 -18
- package/dist/utils/media-field.d.ts +0 -2
- package/dist/utils/media-field.js +0 -1
- package/dist/utils/number.formatter.d.ts +0 -13
- package/dist/utils/number.formatter.js +0 -100
- package/dist/utils/object.helper.d.ts +0 -16
- package/dist/utils/object.helper.js +0 -82
- package/dist/utils/pagination.helper.d.ts +0 -23
- package/dist/utils/pagination.helper.js +0 -24
- package/dist/utils/schema-ui.d.ts +0 -83
- package/dist/utils/schema-ui.js +0 -185
- package/dist/utils/sorting.helper.d.ts +0 -7
- package/dist/utils/sorting.helper.js +0 -16
- package/dist/utils/string.formatter.d.ts +0 -19
- package/dist/utils/string.formatter.js +0 -140
- package/dist/utils/type.converter.d.ts +0 -14
- package/dist/utils/type.converter.js +0 -61
- package/dist/validation/ZodSetup.d.ts +0 -5
- package/dist/validation/ZodSetup.js +0 -11
- package/dist/validation/email.validator.d.ts +0 -7
- package/dist/validation/email.validator.js +0 -33
- package/dist/validation/index.d.ts +0 -9
- package/dist/validation/index.js +0 -8
- package/dist/validation/input.validator.d.ts +0 -11
- package/dist/validation/input.validator.js +0 -33
- package/dist/validation/password.validator.d.ts +0 -21
- package/dist/validation/password.validator.js +0 -77
- package/dist/validation/phone.validator.d.ts +0 -9
- package/dist/validation/phone.validator.js +0 -41
- package/dist/validation/schemas.d.ts +0 -267
- package/dist/validation/schemas.js +0 -176
- package/dist/validation/url.validator.d.ts +0 -7
- package/dist/validation/url.validator.js +0 -44
- package/dist/validation/zod-error-map.d.ts +0 -17
- package/dist/validation/zod-error-map.js +0 -85
- package/dist/values/index.d.ts +0 -6
- package/dist/values/index.js +0 -6
- package/dist/values/success-messages.d.ts +0 -242
- package/dist/values/success-messages.js +0 -272
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import "client-only";
|
|
4
|
-
import { useState, useCallback, useEffect, useRef } from "react";
|
|
5
|
-
import Image from "next/image";
|
|
6
|
-
import Link from "next/link";
|
|
7
|
-
import { useMediaQuery } from "../../../react";
|
|
8
|
-
import { Button, Div, Heading, Row, Section, Span, Text } from "../../../ui";
|
|
9
|
-
/* ── Fallback when no Firestore config is saved yet ──────────────────────────
|
|
10
|
-
Consumers can override the full config via the `config` prop.
|
|
11
|
-
───────────────────────────────────────────────────────────────── */
|
|
12
|
-
const FALLBACK_IMAGE = "/animevssuperhero.jpg";
|
|
13
|
-
const FALLBACK_IMAGE_ALT = "DC, Marvel and Anime characters";
|
|
14
|
-
const DEFAULT_HOTSPOTS = [
|
|
15
|
-
{
|
|
16
|
-
id: "spiderman",
|
|
17
|
-
name: "SPIDER-MAN",
|
|
18
|
-
universe: "Marvel",
|
|
19
|
-
description: "Mid-swing, wall-crawling, Symbiote — Peter Parker in every iconic pose. Hot Toys & Iron Studios pieces with real fabric suits and LED arc detail.",
|
|
20
|
-
href: "/franchise/marvel",
|
|
21
|
-
xPct: 8,
|
|
22
|
-
yPct: 22,
|
|
23
|
-
accent: "#E8001C",
|
|
24
|
-
badge: "MARVEL",
|
|
25
|
-
buyText: "Get Spider-Man Figures",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: "ironman",
|
|
29
|
-
name: "IRON MAN",
|
|
30
|
-
universe: "Marvel",
|
|
31
|
-
description: "Tony Stark's armour at display scale. Arc-reactor glow, battle-damaged panels, nano-tech variants — the cornerstone of every serious Marvel shelf.",
|
|
32
|
-
href: "/franchise/marvel",
|
|
33
|
-
xPct: 18,
|
|
34
|
-
yPct: 58,
|
|
35
|
-
accent: "#E8001C",
|
|
36
|
-
badge: "MARVEL",
|
|
37
|
-
buyText: "Get Iron Man Figures",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
id: "robin",
|
|
41
|
-
name: "ROBIN",
|
|
42
|
-
universe: "DC Comics",
|
|
43
|
-
description: "Dick Grayson's acrobatic grace in resin. Flying-kick, staff-spin & Nightwing-transition statues — the most underrated must-have in the Bat-family lineup.",
|
|
44
|
-
href: "/franchise/dc-comics",
|
|
45
|
-
xPct: 28,
|
|
46
|
-
yPct: 18,
|
|
47
|
-
accent: "#4A90D9",
|
|
48
|
-
badge: "DC",
|
|
49
|
-
buyText: "Get Robin Figures",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
id: "batman",
|
|
53
|
-
name: "BATMAN",
|
|
54
|
-
universe: "DC Comics",
|
|
55
|
-
description: "Gotham's Dark Knight on your shelf. Full-armoured, Nanosuit & Bat-suit variants from Hot Toys & Prime 1 Studio — every grim detail preserved in 1/6 scale.",
|
|
56
|
-
href: "/franchise/dc-comics",
|
|
57
|
-
xPct: 36,
|
|
58
|
-
yPct: 42,
|
|
59
|
-
accent: "#4A90D9",
|
|
60
|
-
badge: "DC",
|
|
61
|
-
buyText: "Get Batman Figures",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
id: "captain-america",
|
|
65
|
-
name: "CAPTAIN AMERICA",
|
|
66
|
-
universe: "Marvel",
|
|
67
|
-
description: "Shield raised, Endgame-ready. WW2 Origin, MCU & Broken Shield variants — the most recognisable Marvel statue in any collection. Limited stock.",
|
|
68
|
-
href: "/franchise/marvel",
|
|
69
|
-
xPct: 12,
|
|
70
|
-
yPct: 76,
|
|
71
|
-
accent: "#0057FF",
|
|
72
|
-
badge: "MARVEL",
|
|
73
|
-
buyText: "Get Cap Figures",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: "superman",
|
|
77
|
-
name: "SUPERMAN",
|
|
78
|
-
universe: "DC Comics",
|
|
79
|
-
description: "Kal-El soaring above your display. XM Studios & Iron Studios full-sculpt statues — classic red cape and New 52 dark variants, ready to ship.",
|
|
80
|
-
href: "/franchise/dc-comics",
|
|
81
|
-
xPct: 44,
|
|
82
|
-
yPct: 68,
|
|
83
|
-
accent: "#0057FF",
|
|
84
|
-
badge: "DC",
|
|
85
|
-
buyText: "Get Superman Figures",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
id: "goku",
|
|
89
|
-
name: "SON GOKU",
|
|
90
|
-
universe: "Dragon Ball",
|
|
91
|
-
description: "Ultra Instinct, SSJ4, Kamehameha — every legendary form. S.H.Figuarts & Banpresto pieces sell out within hours of restock. Order yours today.",
|
|
92
|
-
href: "/franchise/dragon-ball",
|
|
93
|
-
xPct: 51,
|
|
94
|
-
yPct: 36,
|
|
95
|
-
accent: "#FFE500",
|
|
96
|
-
badge: "ANIME",
|
|
97
|
-
buyText: "Get Goku Figures",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: "naruto",
|
|
101
|
-
name: "NARUTO UZUMAKI",
|
|
102
|
-
universe: "Naruto Shippuden",
|
|
103
|
-
description: "Sage Mode, Baryon Mode, Nine-Tails Chakra — Naruto's greatest forms frozen in resin. These restock and sell out within days. Don't sleep on it.",
|
|
104
|
-
href: "/franchise/naruto",
|
|
105
|
-
xPct: 57,
|
|
106
|
-
yPct: 78,
|
|
107
|
-
accent: "#FF6B00",
|
|
108
|
-
badge: "ANIME",
|
|
109
|
-
buyText: "Get Naruto Figures",
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
id: "ichigo",
|
|
113
|
-
name: "ICHIGO KUROSAKI",
|
|
114
|
-
universe: "Bleach",
|
|
115
|
-
description: "Bankai Tensa Zangetsu, Hollow & Final Getsuga forms — some of anime's most dramatic poses. Bleach figures are rare. When they restock, they go fast.",
|
|
116
|
-
href: "/franchise/bleach",
|
|
117
|
-
xPct: 70,
|
|
118
|
-
yPct: 20,
|
|
119
|
-
accent: "#4A90D9",
|
|
120
|
-
badge: "ANIME",
|
|
121
|
-
buyText: "Get Ichigo Figures",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
id: "luffy",
|
|
125
|
-
name: "MONKEY D. LUFFY",
|
|
126
|
-
universe: "One Piece",
|
|
127
|
-
description: "Gear 5, Red Roc, Boundman — Luffy's explosive power takes centre stage. One Piece is the fastest-moving anime series on our platform. Grab yours now.",
|
|
128
|
-
href: "/franchise/one-piece",
|
|
129
|
-
xPct: 80,
|
|
130
|
-
yPct: 50,
|
|
131
|
-
accent: "#FFE500",
|
|
132
|
-
badge: "ANIME",
|
|
133
|
-
buyText: "Get Luffy Figures",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
id: "saitama",
|
|
137
|
-
name: "SAITAMA",
|
|
138
|
-
universe: "One Punch Man",
|
|
139
|
-
description: "One punch. That's all it takes. From deadpan standing pose to the single devastating strike — Saitama figures are deceptively brilliant shelf pieces.",
|
|
140
|
-
href: "/franchise/one-punch-man",
|
|
141
|
-
xPct: 91,
|
|
142
|
-
yPct: 50,
|
|
143
|
-
accent: "#FFE500",
|
|
144
|
-
badge: "ANIME",
|
|
145
|
-
buyText: "Get Saitama Figures",
|
|
146
|
-
},
|
|
147
|
-
];
|
|
148
|
-
export function CharacterHotspot({ config, defaultHotspots = DEFAULT_HOTSPOTS, universeLinks, shopAllHref = "/search", heading = "HEROES & LEGENDS", subheading, }) {
|
|
149
|
-
if (config !== undefined && config !== null && !config.active)
|
|
150
|
-
return null;
|
|
151
|
-
const panoramicImage = config?.imageUrl || FALLBACK_IMAGE;
|
|
152
|
-
const panoramicAlt = config?.imageAlt || FALLBACK_IMAGE_ALT;
|
|
153
|
-
const hotspots = config?.pins && config.pins.length > 0 ? config.pins : defaultHotspots;
|
|
154
|
-
return (_jsx(CharacterHotspotInner, { panoramicImage: panoramicImage, panoramicAlt: panoramicAlt, hotspots: hotspots, universeLinks: universeLinks ?? DEFAULT_UNIVERSE_LINKS, shopAllHref: shopAllHref, heading: heading, subheading: subheading }));
|
|
155
|
-
}
|
|
156
|
-
const DEFAULT_UNIVERSE_LINKS = [
|
|
157
|
-
{ label: "MARVEL", href: "/franchise/marvel", color: "#E8001C", icon: "⚡" },
|
|
158
|
-
{
|
|
159
|
-
label: "DC COMICS",
|
|
160
|
-
href: "/franchise/dc-comics",
|
|
161
|
-
color: "#4A90D9",
|
|
162
|
-
icon: "🦇",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
label: "DRAGON BALL",
|
|
166
|
-
href: "/franchise/dragon-ball",
|
|
167
|
-
color: "#FFE500",
|
|
168
|
-
icon: "✦",
|
|
169
|
-
},
|
|
170
|
-
{ label: "NARUTO", href: "/franchise/naruto", color: "#FF6B00", icon: "🍃" },
|
|
171
|
-
{
|
|
172
|
-
label: "ONE PIECE",
|
|
173
|
-
href: "/franchise/one-piece",
|
|
174
|
-
color: "#FFE500",
|
|
175
|
-
icon: "⚓",
|
|
176
|
-
},
|
|
177
|
-
{ label: "BLEACH", href: "/franchise/bleach", color: "#4A90D9", icon: "⚔" },
|
|
178
|
-
];
|
|
179
|
-
function CharacterHotspotInner({ panoramicImage, panoramicAlt, hotspots, universeLinks, shopAllHref, heading, subheading, }) {
|
|
180
|
-
const [activeId, setActiveId] = useState(null);
|
|
181
|
-
const containerRef = useRef(null);
|
|
182
|
-
const isMobile = useMediaQuery("(max-width: 767px)");
|
|
183
|
-
const toggle = useCallback((id) => {
|
|
184
|
-
setActiveId((prev) => (prev === id ? null : id));
|
|
185
|
-
}, []);
|
|
186
|
-
useEffect(() => {
|
|
187
|
-
function handleClick(e) {
|
|
188
|
-
if (containerRef.current &&
|
|
189
|
-
!containerRef.current.contains(e.target)) {
|
|
190
|
-
setActiveId(null);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
document.addEventListener("mousedown", handleClick);
|
|
194
|
-
return () => document.removeEventListener("mousedown", handleClick);
|
|
195
|
-
}, []);
|
|
196
|
-
useEffect(() => {
|
|
197
|
-
function handleKey(e) {
|
|
198
|
-
if (e.key === "Escape")
|
|
199
|
-
setActiveId(null);
|
|
200
|
-
}
|
|
201
|
-
document.addEventListener("keydown", handleKey);
|
|
202
|
-
return () => document.removeEventListener("keydown", handleKey);
|
|
203
|
-
}, []);
|
|
204
|
-
const active = hotspots.find((h) => h.id === activeId) ?? null;
|
|
205
|
-
return (_jsxs(Section, { style: {
|
|
206
|
-
background: "var(--dark-section-deep)",
|
|
207
|
-
borderTop: "3px solid var(--dark-section-bg)",
|
|
208
|
-
borderBottom: "3px solid var(--dark-section-bg)",
|
|
209
|
-
overflow: "hidden",
|
|
210
|
-
}, children: [_jsxs(Div, { ref: containerRef, className: "relative w-full", style: { aspectRatio: "16/9", minHeight: "420px" }, children: [_jsx(Div, { className: "absolute top-0 left-0 right-0 z-10 pointer-events-none", style: {
|
|
211
|
-
background: "linear-gradient(to bottom, rgba(10,10,18,0.88) 0%, rgba(10,10,18,0.40) 50%, transparent 100%)",
|
|
212
|
-
}, children: _jsxs(Row, { wrap: true, align: "start", justify: "between", gap: "sm", className: "pointer-events-auto mx-auto max-w-7xl px-4 pt-4 pb-6 gap-y-3", children: [_jsxs(Div, { children: [_jsx(Text, { className: "mb-1 text-xs font-black uppercase tracking-[0.2em]", style: { color: "var(--color-red)" }, children: "Explore the Universe" }), _jsx(Heading, { level: 2, style: {
|
|
213
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
214
|
-
fontSize: "clamp(1.8rem, 4.5vw, 3rem)",
|
|
215
|
-
letterSpacing: "0.07em",
|
|
216
|
-
color: "#FFFFFF",
|
|
217
|
-
lineHeight: 1,
|
|
218
|
-
}, children: heading }), subheading && (_jsx(Text, { className: "mt-2 text-sm font-medium max-w-md", style: { color: "var(--dark-section-muted)" }, children: subheading })), !subheading && (_jsxs(Text, { className: "mt-2 text-sm font-medium max-w-md", style: { color: "var(--dark-section-muted)" }, children: ["& beyond \u2014 tap the", " ", _jsx(Span, { className: "inline-flex items-center justify-center rounded-full font-light", style: {
|
|
219
|
-
background: "rgba(255,255,255,0.92)",
|
|
220
|
-
color: "#111111",
|
|
221
|
-
width: 18,
|
|
222
|
-
height: 18,
|
|
223
|
-
border: "1.5px solid rgba(0,0,0,0.18)",
|
|
224
|
-
boxShadow: "0 1px 4px rgba(0,0,0,0.4)",
|
|
225
|
-
verticalAlign: "middle",
|
|
226
|
-
fontSize: 13,
|
|
227
|
-
lineHeight: 1,
|
|
228
|
-
}, children: "+" }), " ", "pins to get & buy each character."] }))] }), _jsx(Link, { href: shopAllHref, className: "hidden sm:inline-flex items-center gap-2 px-5 py-2 text-sm font-black uppercase tracking-widest transition-transform hover:-translate-y-0.5", style: {
|
|
229
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
230
|
-
letterSpacing: "0.1em",
|
|
231
|
-
background: "var(--color-red)",
|
|
232
|
-
color: "#FFFFFF",
|
|
233
|
-
border: "3px solid var(--border-ink)",
|
|
234
|
-
boxShadow: "4px 4px 0px var(--border-ink)",
|
|
235
|
-
}, children: "SHOP ALL \u2192" })] }) }), _jsxs(Div, { className: "absolute inset-0 overflow-hidden", children: [_jsx(Image, { src: panoramicImage, alt: panoramicAlt, fill: true, className: "object-cover object-top", sizes: "100vw", priority: false }), _jsx(Div, { className: "absolute inset-0", style: {
|
|
236
|
-
background: "linear-gradient(to right, rgba(10,10,18,0.72) 0%, rgba(10,10,18,0.30) 50%, rgba(10,10,18,0.72) 100%)",
|
|
237
|
-
} }), _jsx(Div, { className: "absolute inset-0", style: {
|
|
238
|
-
background: "linear-gradient(to bottom, rgba(10,10,18,0.25) 0%, transparent 40%, rgba(10,10,18,0.65) 100%)",
|
|
239
|
-
} }), _jsx(Div, { className: "absolute bottom-0 left-0 right-0 h-16 pointer-events-none", style: {
|
|
240
|
-
background: "linear-gradient(to bottom, transparent, #0A0A12)",
|
|
241
|
-
} })] }), _jsx(Div, { className: "hidden sm:flex absolute left-0 right-0 justify-around items-start pointer-events-none", style: { top: "clamp(120px, 18vh, 165px)", zIndex: 5 }, children: [
|
|
242
|
-
{ label: "MARVEL", color: "#E8001C" },
|
|
243
|
-
{ label: "DC COMICS", color: "#4A90D9" },
|
|
244
|
-
{ label: "ANIME", color: "#FFE500" },
|
|
245
|
-
].map(({ label, color }) => (_jsxs(Div, { className: "flex flex-col items-center", children: [_jsx(Span, { className: "px-3 py-1 text-[10px] sm:text-xs font-black uppercase tracking-[0.18em] rounded-sm", style: {
|
|
246
|
-
background: color,
|
|
247
|
-
color: color === "#FFE500" ? "#0D0D0D" : "#FFFFFF",
|
|
248
|
-
boxShadow: "2px 2px 0px rgba(0,0,0,0.6)",
|
|
249
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
250
|
-
letterSpacing: "0.16em",
|
|
251
|
-
}, children: label }), _jsx(Div, { className: "mt-1 h-5 sm:h-8 w-px", style: { background: color, opacity: 0.5 } })] }, label))) }), hotspots.map((hotspot) => {
|
|
252
|
-
const isActive = activeId === hotspot.id;
|
|
253
|
-
const popupLeft = hotspot.xPct <= 55;
|
|
254
|
-
const popupAbove = hotspot.yPct > 65;
|
|
255
|
-
return (_jsxs(Div, { className: "absolute", style: {
|
|
256
|
-
left: `${hotspot.xPct}%`,
|
|
257
|
-
top: `${hotspot.yPct}%`,
|
|
258
|
-
zIndex: isActive ? 30 : 10,
|
|
259
|
-
transform: "translate(-50%, -50%)",
|
|
260
|
-
}, children: [!isActive && (_jsx(Span, { className: "absolute rounded-full animate-ping", style: {
|
|
261
|
-
inset: -6,
|
|
262
|
-
background: "rgba(255,255,255,0.2)",
|
|
263
|
-
pointerEvents: "none",
|
|
264
|
-
} })), _jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => toggle(hotspot.id), "aria-label": `Info about ${hotspot.name}`, "aria-expanded": isActive, className: "relative flex items-center justify-center rounded-full", style: {
|
|
265
|
-
width: isMobile ? 18 : 38,
|
|
266
|
-
height: isMobile ? 18 : 38,
|
|
267
|
-
background: isMobile
|
|
268
|
-
? "none"
|
|
269
|
-
: isActive
|
|
270
|
-
? "rgba(30,30,30,0.92)"
|
|
271
|
-
: "rgba(255,255,255,0.95)",
|
|
272
|
-
border: isMobile
|
|
273
|
-
? "none"
|
|
274
|
-
: isActive
|
|
275
|
-
? "2px solid rgba(255,255,255,0.25)"
|
|
276
|
-
: "2px solid rgba(0,0,0,0.18)",
|
|
277
|
-
boxShadow: isMobile ? "none" : "0 2px 12px rgba(0,0,0,0.55)",
|
|
278
|
-
backdropFilter: isMobile ? "none" : "blur(4px)",
|
|
279
|
-
padding: 0,
|
|
280
|
-
transition: "transform 0.2s ease, opacity 0.2s ease",
|
|
281
|
-
transform: isActive ? "scale(1.2) rotate(45deg)" : "scale(1)",
|
|
282
|
-
color: isMobile
|
|
283
|
-
? "#FFFFFF"
|
|
284
|
-
: isActive
|
|
285
|
-
? "#FFFFFF"
|
|
286
|
-
: "#111111",
|
|
287
|
-
fontSize: isMobile ? 18 : 22,
|
|
288
|
-
fontWeight: 200,
|
|
289
|
-
lineHeight: 1,
|
|
290
|
-
cursor: "pointer",
|
|
291
|
-
textShadow: isMobile ? "0 1px 6px rgba(0,0,0,0.8)" : "none",
|
|
292
|
-
opacity: isActive ? 0.7 : 1,
|
|
293
|
-
}, children: "+" }), isActive && !isMobile && (_jsxs(Div, { className: "absolute", style: {
|
|
294
|
-
...(popupAbove
|
|
295
|
-
? {
|
|
296
|
-
bottom: "calc(100% + 12px)",
|
|
297
|
-
top: "auto",
|
|
298
|
-
transform: "none",
|
|
299
|
-
}
|
|
300
|
-
: { top: "50%", transform: "translateY(-50%)" }),
|
|
301
|
-
...(popupLeft
|
|
302
|
-
? { left: "calc(100% + 14px)" }
|
|
303
|
-
: { right: "calc(100% + 14px)" }),
|
|
304
|
-
width: 300,
|
|
305
|
-
background: "rgba(255,255,255,0.97)",
|
|
306
|
-
boxShadow: "0 12px 48px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3)",
|
|
307
|
-
borderRadius: 4,
|
|
308
|
-
overflow: "hidden",
|
|
309
|
-
zIndex: 40,
|
|
310
|
-
animation: "fadeInUp 0.2s ease both",
|
|
311
|
-
}, children: [_jsx(Div, { style: { height: 4, background: hotspot.accent } }), _jsxs(Div, { className: "px-5 py-4", children: [_jsx(Text, { className: "text-[10px] font-bold uppercase tracking-[0.18em] mb-1", style: {
|
|
312
|
-
color: hotspot.accent === "#FFE500"
|
|
313
|
-
? "#b08800"
|
|
314
|
-
: hotspot.accent,
|
|
315
|
-
}, children: hotspot.universe }), _jsx(Heading, { level: 3, className: "font-black leading-tight mb-3", style: {
|
|
316
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
317
|
-
fontSize: "1.45rem",
|
|
318
|
-
letterSpacing: "0.06em",
|
|
319
|
-
color: "#111111",
|
|
320
|
-
}, children: hotspot.name }), _jsx(Text, { className: "text-xs leading-relaxed mb-4", style: { color: "#374151" }, children: hotspot.description }), _jsxs(Link, { href: hotspot.href, onClick: () => setActiveId(null), className: "flex items-center justify-between px-4 py-2.5 text-sm font-black uppercase transition-opacity hover:opacity-85", style: {
|
|
321
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
322
|
-
letterSpacing: "0.1em",
|
|
323
|
-
background: hotspot.accent,
|
|
324
|
-
color: hotspot.accent === "#FFE500" ? "#0D0D0D" : "#FFFFFF",
|
|
325
|
-
borderRadius: 2,
|
|
326
|
-
}, children: [hotspot.buyText, _jsx(Span, { "aria-hidden": "true", children: "\u2192" })] })] })] }))] }, hotspot.id));
|
|
327
|
-
})] }), isMobile && active && (_jsx(Div, { className: "fixed inset-0 z-50 flex items-end", style: { background: "rgba(0,0,0,0.6)", backdropFilter: "blur(3px)" }, onClick: (e) => {
|
|
328
|
-
if (e.target === e.currentTarget)
|
|
329
|
-
setActiveId(null);
|
|
330
|
-
}, children: _jsxs(Div, { className: "w-full", style: {
|
|
331
|
-
background: "var(--surface-elevated)",
|
|
332
|
-
borderTopLeftRadius: 16,
|
|
333
|
-
borderTopRightRadius: 16,
|
|
334
|
-
overflow: "hidden",
|
|
335
|
-
animation: "fadeInUp 0.22s ease both",
|
|
336
|
-
}, children: [_jsx(Div, { className: "flex justify-center pt-3 pb-1", children: _jsx(Div, { style: {
|
|
337
|
-
width: 40,
|
|
338
|
-
height: 4,
|
|
339
|
-
borderRadius: 2,
|
|
340
|
-
background: "#D1D5DB",
|
|
341
|
-
} }) }), _jsx(Div, { style: { height: 4, background: active.accent } }), _jsxs(Div, { className: "px-5 pt-4 pb-10", children: [_jsx(Text, { className: "text-[10px] font-bold uppercase tracking-[0.18em] mb-1", style: {
|
|
342
|
-
color: active.accent === "#FFE500" ? "#b08800" : active.accent,
|
|
343
|
-
}, children: active.universe }), _jsx(Heading, { level: 3, className: "font-black leading-tight mb-2", style: {
|
|
344
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
345
|
-
fontSize: "clamp(1.5rem, 6vw, 2rem)",
|
|
346
|
-
letterSpacing: "0.06em",
|
|
347
|
-
color: "#111111",
|
|
348
|
-
}, children: active.name }), _jsx(Text, { className: "text-sm leading-relaxed mb-5", style: { color: "#374151" }, children: active.description }), _jsxs(Div, { className: "flex gap-3", children: [_jsxs(Link, { href: active.href, onClick: () => setActiveId(null), className: "flex-1 flex items-center justify-between px-4 py-3 font-black uppercase", style: {
|
|
349
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
350
|
-
letterSpacing: "0.1em",
|
|
351
|
-
fontSize: "0.9rem",
|
|
352
|
-
background: active.accent,
|
|
353
|
-
color: active.accent === "#FFE500" ? "#0D0D0D" : "#FFFFFF",
|
|
354
|
-
borderRadius: 4,
|
|
355
|
-
}, children: [active.buyText, _jsx(Span, { "aria-hidden": "true", children: "\u2192" })] }), _jsx(Button, { type: "button", variant: "outline", onClick: () => setActiveId(null), className: "px-5 py-3 text-sm font-bold rounded", style: { background: "#F1F5F9", color: "#475569" }, children: "Close" })] })] })] }) })), _jsx(Div, { className: "mx-auto max-w-7xl px-4 py-6 grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6", style: { borderTop: "1px solid rgba(255,255,255,0.08)" }, children: universeLinks.map(({ label, href, color, icon }) => (_jsxs(Link, { href: href, className: "group flex items-center gap-2.5 px-3 py-2.5 rounded-sm transition-all hover:-translate-y-0.5", style: {
|
|
356
|
-
background: "rgba(255,255,255,0.04)",
|
|
357
|
-
border: "1px solid rgba(255,255,255,0.08)",
|
|
358
|
-
transition: "all 0.15s ease",
|
|
359
|
-
}, onMouseEnter: (e) => {
|
|
360
|
-
e.currentTarget.style.borderColor = color;
|
|
361
|
-
e.currentTarget.style.background =
|
|
362
|
-
`${color}18`;
|
|
363
|
-
}, onMouseLeave: (e) => {
|
|
364
|
-
e.currentTarget.style.borderColor =
|
|
365
|
-
"rgba(255,255,255,0.08)";
|
|
366
|
-
e.currentTarget.style.background =
|
|
367
|
-
"rgba(255,255,255,0.04)";
|
|
368
|
-
}, children: [_jsx(Span, { className: "text-base select-none", "aria-hidden": "true", children: icon }), _jsx(Span, { className: "text-xs font-black uppercase tracking-wide", style: {
|
|
369
|
-
fontFamily: "var(--font-bangers, Bangers, cursive)",
|
|
370
|
-
letterSpacing: "0.1em",
|
|
371
|
-
color: "#E2E8F0",
|
|
372
|
-
}, children: label }), _jsx(Span, { className: "ml-auto text-xs", style: { color: "#475569", transition: "color 0.15s" }, children: "\u2192" })] }, label))) })] }));
|
|
373
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { CharacterHotspotConfig } from "../types";
|
|
2
|
-
export interface CharacterHotspotFormProps {
|
|
3
|
-
initial?: CharacterHotspotConfig | null;
|
|
4
|
-
/**
|
|
5
|
-
* Upload an image and return its public URL.
|
|
6
|
-
* Implement however suits your storage backend:
|
|
7
|
-
* ```ts
|
|
8
|
-
* onUploadImage={async (file) => {
|
|
9
|
-
* const storage = getStorage(getFirebaseApp());
|
|
10
|
-
* const storageRef = ref(storage, `character-hotspot/${Date.now()}_${file.name}`);
|
|
11
|
-
* await uploadBytes(storageRef, file);
|
|
12
|
-
* return getDownloadURL(storageRef);
|
|
13
|
-
* }}
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
onUploadImage: (file: File) => Promise<string>;
|
|
17
|
-
/**
|
|
18
|
-
* Persist the final config (e.g. write to Firestore).
|
|
19
|
-
*/
|
|
20
|
-
onSave: (config: CharacterHotspotConfig) => Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* Optional callback after a successful save (e.g. revalidate cache).
|
|
23
|
-
*/
|
|
24
|
-
onAfterSave?: () => void | Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
export declare function CharacterHotspotForm({ initial, onUploadImage, onSave, onAfterSave, }: CharacterHotspotFormProps): import("react/jsx-runtime").JSX.Element;
|