@mohasinac/appkit 3.3.0 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (694) hide show
  1. package/dist/_internal/client/features/classified/ClassifiedDetailView.d.ts +2 -1
  2. package/dist/_internal/client/features/digital-code/CodeRevealPanel.d.ts +2 -1
  3. package/dist/_internal/client/features/digital-code/DigitalCodeDetailView.d.ts +2 -1
  4. package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +1 -1
  5. package/dist/_internal/client/features/layout/RoleGuard.d.ts +1 -1
  6. package/dist/_internal/client/features/live/LiveItemDetailView.d.ts +1 -1
  7. package/dist/_internal/client/features/lottery/LotteryAdminEditView.d.ts +2 -1
  8. package/dist/_internal/client/features/lottery/LotteryAdminSlotView.d.ts +2 -1
  9. package/dist/_internal/client/features/lottery/LotteryDetailView.d.ts +2 -1
  10. package/dist/_internal/client/features/lottery/LotteryEntriesView.d.ts +2 -1
  11. package/dist/_internal/client/features/lottery/LotteryListView.d.ts +2 -1
  12. package/dist/_internal/client/features/lottery/LotteryPullForm.d.ts +2 -1
  13. package/dist/_internal/client/features/lottery/LotterySlotGrid.d.ts +2 -1
  14. package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.d.ts +2 -1
  15. package/dist/_internal/client/features/tour/TourProvider.d.ts +1 -1
  16. package/dist/_internal/client/i18n/LabelsProvider.d.ts +1 -1
  17. package/dist/_internal/client/scaffolds/AppShell.d.ts +1 -1
  18. package/dist/_internal/client/scaffolds/DashboardScaffold.d.ts +1 -1
  19. package/dist/_internal/client/theme/ThemeProvider.d.ts +1 -1
  20. package/dist/_internal/server/features/checkout/actions.js +11 -15
  21. package/dist/client/api/surface-error.js +9 -1
  22. package/dist/client.d.ts +7 -1
  23. package/dist/client.js +5 -1
  24. package/dist/errors/error-handler.d.ts +6 -0
  25. package/dist/errors/error-handler.js +26 -28
  26. package/dist/features/about/components/AboutView.d.ts +1 -1
  27. package/dist/features/about/components/FAQPageView.d.ts +1 -1
  28. package/dist/features/about/components/FeesView.d.ts +1 -1
  29. package/dist/features/about/components/HelpPageView.d.ts +1 -1
  30. package/dist/features/about/components/HowAuctionsWorkView.d.ts +1 -1
  31. package/dist/features/about/components/HowCheckoutWorksView.d.ts +1 -1
  32. package/dist/features/about/components/HowOffersWorkView.d.ts +1 -1
  33. package/dist/features/about/components/HowOrdersWorkView.d.ts +1 -1
  34. package/dist/features/about/components/HowPayoutsWorkView.d.ts +1 -1
  35. package/dist/features/about/components/HowPreOrdersWorkView.d.ts +1 -1
  36. package/dist/features/about/components/HowReviewsWorkView.d.ts +1 -1
  37. package/dist/features/about/components/PolicyPageView.d.ts +1 -1
  38. package/dist/features/about/components/PublicProfileView.d.ts +1 -1
  39. package/dist/features/about/components/SecurityPrivacyView.d.ts +1 -1
  40. package/dist/features/about/components/ShippingPolicyView.d.ts +1 -1
  41. package/dist/features/about/components/TrackOrderView.d.ts +1 -1
  42. package/dist/features/about/components/UnauthorizedView.d.ts +1 -1
  43. package/dist/features/account/components/AddressBook.d.ts +2 -2
  44. package/dist/features/account/components/AddressFilters.d.ts +1 -1
  45. package/dist/features/account/components/AddressForm.d.ts +1 -1
  46. package/dist/features/account/components/AddressInlineSelect.d.ts +2 -1
  47. package/dist/features/account/components/AddressSelectorCreate.d.ts +1 -1
  48. package/dist/features/account/components/AddressesIndexListing.d.ts +2 -1
  49. package/dist/features/account/components/BecomeSellerView.d.ts +1 -1
  50. package/dist/features/account/components/BuyerAccountGuideView.d.ts +2 -1
  51. package/dist/features/account/components/BuyerAuctionsGuideView.d.ts +2 -1
  52. package/dist/features/account/components/BuyerOrdersGuideView.d.ts +2 -1
  53. package/dist/features/account/components/BuyerShoppingGuideView.d.ts +2 -1
  54. package/dist/features/account/components/ChatList.d.ts +1 -1
  55. package/dist/features/account/components/ChatWindow.d.ts +1 -1
  56. package/dist/features/account/components/MessagesView.d.ts +1 -1
  57. package/dist/features/account/components/NotificationBell.d.ts +1 -1
  58. package/dist/features/account/components/NotificationPreferencesPanel.d.ts +1 -1
  59. package/dist/features/account/components/OrderDetailView.d.ts +1 -1
  60. package/dist/features/account/components/ProfileView.d.ts +1 -1
  61. package/dist/features/account/components/UserAccountHubView.d.ts +1 -1
  62. package/dist/features/account/components/UserAddressesView.d.ts +1 -1
  63. package/dist/features/account/components/UserNotificationsView.d.ts +1 -1
  64. package/dist/features/account/components/UserOffersPanel.d.ts +1 -1
  65. package/dist/features/account/components/UserOffersView.d.ts +1 -1
  66. package/dist/features/account/components/UserOrderTrackView.d.ts +1 -1
  67. package/dist/features/account/components/UserOrdersView.d.ts +1 -1
  68. package/dist/features/account/components/UserReturnsView.d.ts +1 -1
  69. package/dist/features/account/components/UserSettingsView.d.ts +1 -1
  70. package/dist/features/account/components/UserSidebar.d.ts +1 -1
  71. package/dist/features/account/components/UserSupportView.d.ts +2 -1
  72. package/dist/features/account/hooks/useProfile.d.ts +8 -0
  73. package/dist/features/account/schemas/index.d.ts +12 -3
  74. package/dist/features/account/schemas/index.js +10 -3
  75. package/dist/features/admin/components/AdminAdEditorView.d.ts +2 -1
  76. package/dist/features/admin/components/AdminAddressBookView.d.ts +1 -1
  77. package/dist/features/admin/components/AdminAddressClustersView.d.ts +1 -1
  78. package/dist/features/admin/components/AdminAddressEditorView.d.ts +2 -1
  79. package/dist/features/admin/components/AdminAddressesView.d.ts +1 -1
  80. package/dist/features/admin/components/AdminAdsView.d.ts +1 -1
  81. package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +2 -1
  82. package/dist/features/admin/components/AdminAnalyticsGuideView.d.ts +2 -1
  83. package/dist/features/admin/components/AdminAnalyticsView.d.ts +1 -1
  84. package/dist/features/admin/components/AdminArtView.d.ts +2 -1
  85. package/dist/features/admin/components/AdminBidsView.d.ts +2 -1
  86. package/dist/features/admin/components/AdminBlogEditorView.d.ts +2 -1
  87. package/dist/features/admin/components/AdminBlogView.d.ts +2 -1
  88. package/dist/features/admin/components/AdminBrandEditorView.d.ts +2 -1
  89. package/dist/features/admin/components/AdminBrandsView.d.ts +2 -1
  90. package/dist/features/admin/components/AdminBundleEditorView.d.ts +14 -1
  91. package/dist/features/admin/components/AdminBundlesView.d.ts +2 -1
  92. package/dist/features/admin/components/AdminCarouselEditorView.d.ts +2 -1
  93. package/dist/features/admin/components/AdminCarouselView.d.ts +2 -1
  94. package/dist/features/admin/components/AdminCartsView.d.ts +2 -1
  95. package/dist/features/admin/components/AdminCatalogGuideView.d.ts +2 -1
  96. package/dist/features/admin/components/AdminCategoriesView.d.ts +2 -1
  97. package/dist/features/admin/components/AdminCategoryEditorView.d.ts +2 -1
  98. package/dist/features/admin/components/AdminClassifiedView.d.ts +2 -1
  99. package/dist/features/admin/components/AdminContactEditorView.d.ts +2 -1
  100. package/dist/features/admin/components/AdminContactView.d.ts +2 -1
  101. package/dist/features/admin/components/AdminContentGuideView.d.ts +2 -1
  102. package/dist/features/admin/components/AdminCouponEditorView.d.ts +2 -1
  103. package/dist/features/admin/components/AdminCouponsView.d.ts +2 -1
  104. package/dist/features/admin/components/AdminDashboardView.d.ts +1 -1
  105. package/dist/features/admin/components/AdminDigitalCodesView.d.ts +2 -1
  106. package/dist/features/admin/components/AdminEmployeeEditorView.d.ts +2 -1
  107. package/dist/features/admin/components/AdminFaqEditorView.d.ts +2 -1
  108. package/dist/features/admin/components/AdminFaqsView.d.ts +2 -1
  109. package/dist/features/admin/components/AdminFeatureEditorView.d.ts +2 -1
  110. package/dist/features/admin/components/AdminFeatureFlagsView.d.ts +1 -1
  111. package/dist/features/admin/components/AdminFeaturesView.d.ts +2 -1
  112. package/dist/features/admin/components/AdminFilterBar.d.ts +1 -1
  113. package/dist/features/admin/components/AdminFulfillmentView.d.ts +2 -1
  114. package/dist/features/admin/components/AdminGroupedListingsView.d.ts +2 -1
  115. package/dist/features/admin/components/AdminGuideHubView.d.ts +2 -1
  116. package/dist/features/admin/components/AdminHistoryView.d.ts +2 -1
  117. package/dist/features/admin/components/AdminLiveView.d.ts +2 -1
  118. package/dist/features/admin/components/AdminMediaView.d.ts +1 -1
  119. package/dist/features/admin/components/AdminNavEditorView.d.ts +2 -1
  120. package/dist/features/admin/components/AdminNavigationView.d.ts +2 -1
  121. package/dist/features/admin/components/AdminNewsletterView.d.ts +2 -1
  122. package/dist/features/admin/components/AdminNotificationsView.d.ts +2 -1
  123. package/dist/features/admin/components/AdminOrderEditorView.d.ts +2 -1
  124. package/dist/features/admin/components/AdminOrdersGuideView.d.ts +2 -1
  125. package/dist/features/admin/components/AdminOrdersView.d.ts +2 -1
  126. package/dist/features/admin/components/AdminPageHeader.d.ts +1 -1
  127. package/dist/features/admin/components/AdminPaymentClustersView.d.ts +1 -1
  128. package/dist/features/admin/components/AdminPaymentMethodsView.d.ts +1 -1
  129. package/dist/features/admin/components/AdminPayoutsView.d.ts +2 -1
  130. package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +2 -1
  131. package/dist/features/admin/components/AdminProductEditorView.d.ts +2 -1
  132. package/dist/features/admin/components/AdminProductsView.d.ts +2 -1
  133. package/dist/features/admin/components/AdminReturnRequestsView.d.ts +1 -1
  134. package/dist/features/admin/components/AdminReviewsView.d.ts +2 -1
  135. package/dist/features/admin/components/AdminScammerEditorView.d.ts +2 -1
  136. package/dist/features/admin/components/AdminScammersView.d.ts +2 -1
  137. package/dist/features/admin/components/AdminSectionsView.d.ts +1 -1
  138. package/dist/features/admin/components/AdminSessionsManager.d.ts +1 -1
  139. package/dist/features/admin/components/AdminSessionsView.d.ts +2 -1
  140. package/dist/features/admin/components/AdminSidebar.d.ts +1 -1
  141. package/dist/features/admin/components/AdminSiteConfigGuideView.d.ts +2 -1
  142. package/dist/features/admin/components/AdminSiteSettingsView.d.ts +2 -1
  143. package/dist/features/admin/components/AdminSiteView.d.ts +1 -1
  144. package/dist/features/admin/components/AdminStickersView.d.ts +2 -1
  145. package/dist/features/admin/components/AdminStoreAddressesView.d.ts +1 -1
  146. package/dist/features/admin/components/AdminStoreEditorView.d.ts +2 -1
  147. package/dist/features/admin/components/AdminStoresGuideView.d.ts +2 -1
  148. package/dist/features/admin/components/AdminStoresView.d.ts +2 -1
  149. package/dist/features/admin/components/AdminSublistingCategoriesView.d.ts +2 -1
  150. package/dist/features/admin/components/AdminSublistingCategoryEditorView.d.ts +2 -1
  151. package/dist/features/admin/components/AdminSupportTicketDetailView.d.ts +2 -1
  152. package/dist/features/admin/components/AdminSupportTicketsView.d.ts +2 -1
  153. package/dist/features/admin/components/AdminTeamGuideView.d.ts +2 -1
  154. package/dist/features/admin/components/AdminTeamView.d.ts +2 -1
  155. package/dist/features/admin/components/AdminTopBar.d.ts +1 -1
  156. package/dist/features/admin/components/AdminTrustGuideView.d.ts +2 -1
  157. package/dist/features/admin/components/AdminUserEditorView.d.ts +2 -1
  158. package/dist/features/admin/components/AdminUsersGuideView.d.ts +2 -1
  159. package/dist/features/admin/components/AdminUsersView.d.ts +2 -1
  160. package/dist/features/admin/components/AdminViewCards.d.ts +2 -1
  161. package/dist/features/admin/components/AdminWishlistsView.d.ts +2 -1
  162. package/dist/features/admin/components/BrandQuickCreateForm.d.ts +2 -1
  163. package/dist/features/admin/components/CategoryQuickCreateForm.d.ts +2 -1
  164. package/dist/features/admin/components/DashboardStats.d.ts +1 -1
  165. package/dist/features/admin/components/DataListingView.d.ts +1 -1
  166. package/dist/features/admin/components/DataTable.d.ts +1 -1
  167. package/dist/features/admin/components/DemoSeedView.d.ts +1 -1
  168. package/dist/features/admin/components/DrawerFormFooter.d.ts +1 -1
  169. package/dist/features/admin/components/QuickActionsPanel.d.ts +1 -1
  170. package/dist/features/admin/components/QuickEditMenu.d.ts +1 -1
  171. package/dist/features/admin/components/analytics/AdminAnalyticsCharts.d.ts +3 -2
  172. package/dist/features/admin/components/analytics/AdminStatCard.d.ts +1 -1
  173. package/dist/features/admin/components/analytics/AdminTopProductsTable.d.ts +1 -1
  174. package/dist/features/auctions/components/AuctionBidsTable.d.ts +1 -1
  175. package/dist/features/auctions/components/AuctionDetailPageView.d.ts +1 -1
  176. package/dist/features/auctions/components/AuctionFilters.d.ts +1 -1
  177. package/dist/features/auctions/components/AuctionsListView.d.ts +1 -1
  178. package/dist/features/auctions/components/CollapsibleBidHistory.d.ts +2 -1
  179. package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +1 -1
  180. package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +1 -1
  181. package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -2
  182. package/dist/features/auth/components/AuthStatusPanel.d.ts +1 -1
  183. package/dist/features/auth/components/ForgotPasswordView.d.ts +1 -1
  184. package/dist/features/auth/components/Guards.d.ts +2 -2
  185. package/dist/features/auth/components/LoginForm.d.ts +1 -1
  186. package/dist/features/auth/components/OAuthLoadingView.d.ts +1 -1
  187. package/dist/features/auth/components/RegisterForm.d.ts +1 -1
  188. package/dist/features/auth/components/RegisterForm.js +2 -2
  189. package/dist/features/auth/components/ResetPasswordView.d.ts +1 -1
  190. package/dist/features/auth/components/SocialAuthButtons.d.ts +1 -1
  191. package/dist/features/auth/components/VerifyEmailView.d.ts +1 -1
  192. package/dist/features/auth/permissions/constants.d.ts +1 -1
  193. package/dist/features/auth/schemas/index.d.ts +8 -0
  194. package/dist/features/auth/schemas/index.js +15 -1
  195. package/dist/features/before-after/components/BeforeAfterGallery.d.ts +1 -1
  196. package/dist/features/before-after/components/BeforeAfterSlider.d.ts +2 -1
  197. package/dist/features/blog/components/BlogFeaturedCard.d.ts +2 -1
  198. package/dist/features/blog/components/BlogFilters.d.ts +1 -1
  199. package/dist/features/blog/components/BlogIndexListing.d.ts +2 -1
  200. package/dist/features/blog/components/BlogIndexPageView.d.ts +2 -1
  201. package/dist/features/blog/components/BlogListView.d.ts +4 -3
  202. package/dist/features/blog/components/BlogPostForm.d.ts +1 -1
  203. package/dist/features/blog/components/BlogPostView.d.ts +1 -1
  204. package/dist/features/cart/components/CartDrawer.d.ts +2 -2
  205. package/dist/features/cart/components/CartSummary.d.ts +1 -1
  206. package/dist/features/cart/components/CartView.d.ts +1 -1
  207. package/dist/features/cart/components/CheckoutAddressStep.d.ts +1 -1
  208. package/dist/features/cart/components/CheckoutOtpModal.d.ts +1 -1
  209. package/dist/features/cart/components/CheckoutSuccessView.d.ts +1 -1
  210. package/dist/features/cart/components/CheckoutView.d.ts +1 -1
  211. package/dist/features/cart/components/ShippingPicker.d.ts +9 -1
  212. package/dist/features/categories/components/BrandDetailPageView.d.ts +2 -1
  213. package/dist/features/categories/components/BrandDetailTabs.d.ts +2 -1
  214. package/dist/features/categories/components/BreadcrumbTrail.d.ts +2 -1
  215. package/dist/features/categories/components/BundleBuyNowCta.d.ts +9 -1
  216. package/dist/features/categories/components/BundleCollage.d.ts +10 -1
  217. package/dist/features/categories/components/BundleDetailView.d.ts +2 -1
  218. package/dist/features/categories/components/BundleDynamicRuleEditor.d.ts +15 -1
  219. package/dist/features/categories/components/BundleItemsPicker.d.ts +15 -1
  220. package/dist/features/categories/components/BundlesListView.d.ts +2 -1
  221. package/dist/features/categories/components/CategoriesIndexListing.d.ts +2 -1
  222. package/dist/features/categories/components/CategoriesIndexPageView.d.ts +2 -1
  223. package/dist/features/categories/components/CategoryBundlesListing.d.ts +2 -1
  224. package/dist/features/categories/components/CategoryDetailPageView.d.ts +2 -1
  225. package/dist/features/categories/components/CategoryDetailTabs.d.ts +2 -1
  226. package/dist/features/categories/components/CategoryFilters.d.ts +1 -1
  227. package/dist/features/categories/components/CategoryForm.d.ts +1 -1
  228. package/dist/features/categories/components/CategoryGrid.d.ts +3 -2
  229. package/dist/features/categories/components/CategoryProductsListing.d.ts +2 -1
  230. package/dist/features/categories/components/CategoryProductsView.d.ts +1 -1
  231. package/dist/features/categories/components/CategorySelectorCreate.d.ts +1 -1
  232. package/dist/features/categories/components/CategorySortSelect.d.ts +1 -1
  233. package/dist/features/categories/components/CategoryStoresListing.d.ts +2 -1
  234. package/dist/features/categories/components/CategoryTableColumns.d.ts +3 -3
  235. package/dist/features/categories/components/CategoryTree.d.ts +1 -1
  236. package/dist/features/categories/components/ConcernCard.d.ts +1 -1
  237. package/dist/features/categories/components/ConcernGrid.d.ts +1 -1
  238. package/dist/features/checkout/components/CheckoutStepper.d.ts +2 -1
  239. package/dist/features/classified/components/ClassifiedFilters.d.ts +1 -1
  240. package/dist/features/classified/components/ClassifiedIndexListing.d.ts +2 -1
  241. package/dist/features/classified/components/ClassifiedListView.d.ts +1 -1
  242. package/dist/features/collections/components/CollectionCard.d.ts +3 -2
  243. package/dist/features/consultation/components/ConsultationForm.d.ts +2 -1
  244. package/dist/features/contact/components/ContactForm.d.ts +2 -1
  245. package/dist/features/contact/components/ContactInfoSidebar.d.ts +1 -1
  246. package/dist/features/contact/components/ContactPageView.d.ts +2 -1
  247. package/dist/features/copilot/components/AdminCopilotView.d.ts +1 -1
  248. package/dist/features/corporate/components/CorporateInquiryForm.d.ts +2 -1
  249. package/dist/features/digital-codes/components/DigitalCodeFilters.d.ts +1 -1
  250. package/dist/features/digital-codes/components/DigitalCodesIndexListing.d.ts +2 -1
  251. package/dist/features/digital-codes/components/DigitalCodesListView.d.ts +1 -1
  252. package/dist/features/email/primitives.d.ts +11 -11
  253. package/dist/features/events/components/AdminEventEditorView.d.ts +2 -1
  254. package/dist/features/events/components/AdminEventEntriesView.d.ts +1 -1
  255. package/dist/features/events/components/AdminEventsView.d.ts +2 -1
  256. package/dist/features/events/components/EventBanner.d.ts +2 -1
  257. package/dist/features/events/components/EventCard.d.ts +1 -1
  258. package/dist/features/events/components/EventDetailView.d.ts +1 -1
  259. package/dist/features/events/components/EventFilters.d.ts +1 -1
  260. package/dist/features/events/components/EventFormDrawer.d.ts +1 -1
  261. package/dist/features/events/components/EventLeaderboard.d.ts +1 -1
  262. package/dist/features/events/components/EventOfferCard.d.ts +2 -1
  263. package/dist/features/events/components/EventParticipateView.d.ts +1 -1
  264. package/dist/features/events/components/EventPollWidget.d.ts +1 -1
  265. package/dist/features/events/components/EventRaffleEntryForm.d.ts +2 -1
  266. package/dist/features/events/components/EventRaffleWinnerView.d.ts +1 -1
  267. package/dist/features/events/components/EventRafflesSection.d.ts +1 -1
  268. package/dist/features/events/components/EventSaleBanner.d.ts +2 -1
  269. package/dist/features/events/components/EventStatusBadge.d.ts +1 -1
  270. package/dist/features/events/components/EventsIndexListing.d.ts +2 -1
  271. package/dist/features/events/components/EventsListPageView.d.ts +2 -1
  272. package/dist/features/events/components/EventsListView.d.ts +2 -1
  273. package/dist/features/events/components/SpinWheelView.d.ts +1 -1
  274. package/dist/features/faq/components/ContactCTA.d.ts +1 -1
  275. package/dist/features/faq/components/FAQAccordion.d.ts +2 -2
  276. package/dist/features/faq/components/FAQCategorySidebar.d.ts +1 -1
  277. package/dist/features/faq/components/FAQHelpfulButtons.d.ts +1 -1
  278. package/dist/features/faq/components/FAQPageContent.d.ts +1 -1
  279. package/dist/features/faq/components/FAQSortDropdown.d.ts +1 -1
  280. package/dist/features/faq/components/RelatedFAQs.d.ts +1 -1
  281. package/dist/features/filters/AsyncFacetSection.d.ts +2 -1
  282. package/dist/features/filters/FilterFacetSection.d.ts +1 -1
  283. package/dist/features/filters/FilterPanel.d.ts +1 -1
  284. package/dist/features/filters/RangeFilter.d.ts +1 -1
  285. package/dist/features/filters/SwitchFilter.d.ts +1 -1
  286. package/dist/features/forms/Checkbox.d.ts +1 -1
  287. package/dist/features/forms/Radio.d.ts +2 -1
  288. package/dist/features/forms/Select.d.ts +1 -1
  289. package/dist/features/forms/Slider.d.ts +2 -1
  290. package/dist/features/forms/Toggle.d.ts +2 -1
  291. package/dist/features/homepage/components/AdSlot.d.ts +1 -1
  292. package/dist/features/homepage/components/AdvertisementBanner.d.ts +2 -1
  293. package/dist/features/homepage/components/AnnouncementBar.d.ts +2 -1
  294. package/dist/features/homepage/components/BeforeAfterCard.d.ts +1 -1
  295. package/dist/features/homepage/components/BlogArticlesSection.d.ts +2 -1
  296. package/dist/features/homepage/components/BrandsSection.d.ts +1 -1
  297. package/dist/features/homepage/components/CTABannerSection.d.ts +2 -1
  298. package/dist/features/homepage/components/CharacterHotspot.d.ts +1 -1
  299. package/dist/features/homepage/components/CharacterHotspotForm.d.ts +2 -1
  300. package/dist/features/homepage/components/CollectionCardsSection.d.ts +1 -1
  301. package/dist/features/homepage/components/CustomCardsSection.d.ts +2 -1
  302. package/dist/features/homepage/components/CustomerReviewsSection.d.ts +1 -1
  303. package/dist/features/homepage/components/EventsSection.d.ts +2 -1
  304. package/dist/features/homepage/components/FAQSection.d.ts +2 -1
  305. package/dist/features/homepage/components/FeaturedAuctionsSection.d.ts +2 -1
  306. package/dist/features/homepage/components/FeaturedBundlesSection.d.ts +2 -1
  307. package/dist/features/homepage/components/FeaturedPreOrdersSection.d.ts +2 -1
  308. package/dist/features/homepage/components/FeaturedProductsSection.d.ts +1 -1
  309. package/dist/features/homepage/components/FeaturedResultsSection.d.ts +1 -1
  310. package/dist/features/homepage/components/FeaturedStoresSection.d.ts +2 -1
  311. package/dist/features/homepage/components/GoogleReviewsSection.d.ts +2 -1
  312. package/dist/features/homepage/components/HeroBanner.d.ts +1 -1
  313. package/dist/features/homepage/components/HeroCarousel.d.ts +2 -1
  314. package/dist/features/homepage/components/HeroSection.d.ts +1 -1
  315. package/dist/features/homepage/components/HomepageCustomerReviewsSection.d.ts +2 -1
  316. package/dist/features/homepage/components/HomepageSkeleton.d.ts +1 -1
  317. package/dist/features/homepage/components/HomepageView.d.ts +1 -1
  318. package/dist/features/homepage/components/HowItWorksInfoView.d.ts +1 -1
  319. package/dist/features/homepage/components/HowItWorksSection.d.ts +1 -1
  320. package/dist/features/homepage/components/MarketplaceHomepageView.d.ts +1 -1
  321. package/dist/features/homepage/components/NewsletterBanner.d.ts +2 -1
  322. package/dist/features/homepage/components/NewsletterSection.d.ts +1 -1
  323. package/dist/features/homepage/components/PromoGrid.d.ts +1 -1
  324. package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
  325. package/dist/features/homepage/components/SecurityHighlightsSection.d.ts +1 -1
  326. package/dist/features/homepage/components/ShopByCategorySection.d.ts +1 -1
  327. package/dist/features/homepage/components/SiteFeaturesSection.d.ts +2 -1
  328. package/dist/features/homepage/components/SocialFeedSection.d.ts +1 -1
  329. package/dist/features/homepage/components/SocialPostCard.d.ts +1 -1
  330. package/dist/features/homepage/components/StatsCounterSection.d.ts +1 -1
  331. package/dist/features/homepage/components/TestimonialsCarousel.d.ts +1 -1
  332. package/dist/features/homepage/components/TrustBadges.d.ts +2 -1
  333. package/dist/features/homepage/components/TrustFeaturesSection.d.ts +1 -1
  334. package/dist/features/homepage/components/TrustIndicatorsSection.d.ts +2 -1
  335. package/dist/features/homepage/components/WelcomeSection.d.ts +2 -1
  336. package/dist/features/homepage/components/WhatsAppCommunitySection.d.ts +2 -1
  337. package/dist/features/layout/AppLayoutShell.d.ts +1 -1
  338. package/dist/features/layout/AutoBreadcrumbs.d.ts +1 -1
  339. package/dist/features/layout/BackToTop.d.ts +2 -2
  340. package/dist/features/layout/BottomActions.d.ts +1 -1
  341. package/dist/features/layout/BottomActionsContext.d.ts +1 -1
  342. package/dist/features/layout/BottomNavItem.d.ts +1 -1
  343. package/dist/features/layout/BottomNavLayout.d.ts +1 -1
  344. package/dist/features/layout/BottomNavbar.d.ts +1 -1
  345. package/dist/features/layout/BottomSheet.d.ts +1 -1
  346. package/dist/features/layout/Breadcrumbs.d.ts +2 -2
  347. package/dist/features/layout/DashboardNavContext.d.ts +1 -1
  348. package/dist/features/layout/FooterLayout.d.ts +1 -1
  349. package/dist/features/layout/LayoutClient.d.ts +1 -1
  350. package/dist/features/layout/LocaleSwitcher.d.ts +1 -1
  351. package/dist/features/layout/MainNavbar.d.ts +1 -1
  352. package/dist/features/layout/NavItem.d.ts +1 -1
  353. package/dist/features/layout/NavbarLayout.d.ts +1 -1
  354. package/dist/features/layout/NavbarWithSettings.d.ts +1 -1
  355. package/dist/features/layout/TitleBar.d.ts +1 -1
  356. package/dist/features/layout/TitleBarLayout.d.ts +1 -1
  357. package/dist/features/live/components/LiveItemFilters.d.ts +1 -1
  358. package/dist/features/live/components/LiveItemsIndexListing.d.ts +2 -1
  359. package/dist/features/live/components/LiveItemsListView.d.ts +1 -1
  360. package/dist/features/loyalty/components/CoinsDisplay.d.ts +3 -2
  361. package/dist/features/media/AvatarUpload.d.ts +2 -1
  362. package/dist/features/media/MediaAudio.d.ts +1 -1
  363. package/dist/features/media/MediaAvatar.d.ts +1 -1
  364. package/dist/features/media/MediaImage.d.ts +1 -1
  365. package/dist/features/media/MediaLightbox.d.ts +2 -1
  366. package/dist/features/media/MediaPickerModal.d.ts +2 -1
  367. package/dist/features/media/MediaVideo.d.ts +1 -1
  368. package/dist/features/media/components/MediaSlider.d.ts +2 -1
  369. package/dist/features/media/modals/ImageCropModal.d.ts +8 -1
  370. package/dist/features/media/modals/ImageEditor.d.ts +8 -1
  371. package/dist/features/media/modals/VideoThumbnailSelector.d.ts +1 -1
  372. package/dist/features/media/modals/VideoTrimModal.d.ts +1 -1
  373. package/dist/features/media/upload/CameraCapture.d.ts +1 -1
  374. package/dist/features/media/upload/ImageUpload.d.ts +1 -1
  375. package/dist/features/media/upload/MediaUploadField.d.ts +1 -1
  376. package/dist/features/media/upload/MediaUploadList.d.ts +1 -1
  377. package/dist/features/orders/components/MarketplaceOrderCard.d.ts +1 -1
  378. package/dist/features/orders/components/OrderFilters.d.ts +1 -1
  379. package/dist/features/orders/components/OrderSiblingPayments.d.ts +10 -1
  380. package/dist/features/orders/components/OrdersList.d.ts +2 -2
  381. package/dist/features/orders/components/RefundHistoryTable.d.ts +2 -1
  382. package/dist/features/orders/components/RefundRequestView.d.ts +13 -1
  383. package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +1 -1
  384. package/dist/features/pre-orders/components/PreOrderActionsClient.d.ts +2 -1
  385. package/dist/features/pre-orders/components/PreOrderBadge.d.ts +2 -2
  386. package/dist/features/pre-orders/components/PreOrderDetailPageView.d.ts +1 -1
  387. package/dist/features/pre-orders/components/PreOrderFilters.d.ts +1 -1
  388. package/dist/features/pre-orders/components/PreOrdersIndexListing.d.ts +2 -1
  389. package/dist/features/pre-orders/components/PreOrdersListView.d.ts +1 -1
  390. package/dist/features/pre-orders/components/PreorderCard.d.ts +2 -1
  391. package/dist/features/products/columns/productTableColumns.d.ts +2 -1
  392. package/dist/features/products/components/AuctionDetailView.d.ts +1 -1
  393. package/dist/features/products/components/AuctionsIndexListing.d.ts +2 -1
  394. package/dist/features/products/components/BidHistory.d.ts +1 -1
  395. package/dist/features/products/components/CompareOverlay.d.ts +1 -1
  396. package/dist/features/products/components/CustomFieldsEditor.d.ts +2 -1
  397. package/dist/features/products/components/CustomSectionTabContent.d.ts +2 -1
  398. package/dist/features/products/components/CustomSectionsEditor.d.ts +2 -1
  399. package/dist/features/products/components/FeatureBadge.d.ts +2 -2
  400. package/dist/features/products/components/GroupSettingsPanel.d.ts +2 -1
  401. package/dist/features/products/components/InteractiveProductCard.d.ts +2 -1
  402. package/dist/features/products/components/MakeOfferButton.d.ts +2 -1
  403. package/dist/features/products/components/MakeOfferForm.d.ts +1 -1
  404. package/dist/features/products/components/MarketplaceBundleCard.d.ts +1 -1
  405. package/dist/features/products/components/MarketplacePrizeDrawCard.d.ts +1 -1
  406. package/dist/features/products/components/NonRefundableConsentModal.d.ts +14 -1
  407. package/dist/features/products/components/PlaceBidForm.d.ts +1 -1
  408. package/dist/features/products/components/PreOrderDetailView.d.ts +1 -1
  409. package/dist/features/products/components/PrizeDrawCollage.d.ts +2 -1
  410. package/dist/features/products/components/PrizeDrawDetailPageView.d.ts +1 -1
  411. package/dist/features/products/components/PrizeDrawEntryActions.d.ts +1 -1
  412. package/dist/features/products/components/PrizeDrawItemsEditor.d.ts +1 -1
  413. package/dist/features/products/components/PrizeDrawsIndexListing.d.ts +1 -1
  414. package/dist/features/products/components/PrizeDrawsListingView.d.ts +1 -1
  415. package/dist/features/products/components/PrizeDrawsSection.d.ts +1 -1
  416. package/dist/features/products/components/PrizeRevealModal.d.ts +1 -1
  417. package/dist/features/products/components/ProductCardMetadataSection.d.ts +2 -1
  418. package/dist/features/products/components/ProductDetailActions.d.ts +1 -1
  419. package/dist/features/products/components/ProductDetailPageView.d.ts +1 -1
  420. package/dist/features/products/components/ProductDetailView.d.ts +1 -1
  421. package/dist/features/products/components/ProductFeatureBadges.d.ts +1 -1
  422. package/dist/features/products/components/ProductFeaturesContext.d.ts +1 -1
  423. package/dist/features/products/components/ProductFeaturesSelector.d.ts +2 -1
  424. package/dist/features/products/components/ProductFilters.d.ts +1 -1
  425. package/dist/features/products/components/ProductForm.d.ts +1 -1
  426. package/dist/features/products/components/ProductGalleryClient.d.ts +2 -1
  427. package/dist/features/products/components/ProductGradingTab.d.ts +2 -1
  428. package/dist/features/products/components/ProductGrid.d.ts +2 -2
  429. package/dist/features/products/components/ProductInfo.d.ts +1 -1
  430. package/dist/features/products/components/ProductTabs.d.ts +1 -1
  431. package/dist/features/products/components/ProductTabsShell.d.ts +1 -1
  432. package/dist/features/products/components/ProductsIndexListing.d.ts +2 -1
  433. package/dist/features/products/components/ProductsIndexPageView.d.ts +2 -1
  434. package/dist/features/products/components/ProductsView.d.ts +1 -1
  435. package/dist/features/products/components/RelatedProducts.d.ts +1 -1
  436. package/dist/features/products/components/RelatedProductsCarousel.d.ts +2 -1
  437. package/dist/features/products/components/ShareButton.d.ts +1 -1
  438. package/dist/features/products/components/ShowGroupSection.d.ts +2 -1
  439. package/dist/features/products/components/SublistingCarouselSection.d.ts +2 -1
  440. package/dist/features/products/components/SublistingCategorySelect.d.ts +2 -1
  441. package/dist/features/promotions/components/CouponCard.d.ts +1 -1
  442. package/dist/features/promotions/components/CouponsIndexListing.d.ts +2 -1
  443. package/dist/features/promotions/components/PromotionsView.d.ts +3 -3
  444. package/dist/features/reviews/components/ReviewDetailPageView.d.ts +2 -1
  445. package/dist/features/reviews/components/ReviewDetailShell.d.ts +2 -1
  446. package/dist/features/reviews/components/ReviewFilters.d.ts +1 -1
  447. package/dist/features/reviews/components/ReviewModal.d.ts +1 -1
  448. package/dist/features/reviews/components/ReviewSummary.d.ts +2 -1
  449. package/dist/features/reviews/components/ReviewsIndexListing.d.ts +2 -1
  450. package/dist/features/reviews/components/ReviewsIndexPageView.d.ts +2 -1
  451. package/dist/features/reviews/components/ReviewsList.d.ts +3 -2
  452. package/dist/features/scams/components/ScamAwarenessModal.d.ts +2 -1
  453. package/dist/features/scams/components/ScamProfileView.d.ts +2 -1
  454. package/dist/features/scams/components/ScamRegistryView.d.ts +2 -1
  455. package/dist/features/search/components/Search.d.ts +2 -1
  456. package/dist/features/search/components/SearchFiltersRow.d.ts +1 -1
  457. package/dist/features/search/components/SearchResultsSection.d.ts +1 -1
  458. package/dist/features/search/components/SearchView.d.ts +1 -1
  459. package/dist/features/seller/actions/seller-actions.js +54 -13
  460. package/dist/features/seller/components/BarcodeField.d.ts +2 -1
  461. package/dist/features/seller/components/BrandInlineSelect.d.ts +2 -1
  462. package/dist/features/seller/components/CategoryInlineSelect.d.ts +2 -1
  463. package/dist/features/seller/components/CouponInlineSelect.d.ts +2 -1
  464. package/dist/features/seller/components/FulfillmentView.d.ts +2 -1
  465. package/dist/features/seller/components/GroupInlineSelect.d.ts +2 -1
  466. package/dist/features/seller/components/PhysicalLocationModal.d.ts +2 -1
  467. package/dist/features/seller/components/PrintCenterView.d.ts +2 -1
  468. package/dist/features/seller/components/ProductInlineSelect.d.ts +2 -1
  469. package/dist/features/seller/components/QuickProductForm.d.ts +2 -1
  470. package/dist/features/seller/components/SellerAddressesView.d.ts +2 -1
  471. package/dist/features/seller/components/SellerAnalyticsAlertsView.d.ts +2 -1
  472. package/dist/features/seller/components/SellerAnalyticsView.d.ts +1 -1
  473. package/dist/features/seller/components/SellerArtView.d.ts +2 -1
  474. package/dist/features/seller/components/SellerAuctionsView.d.ts +1 -1
  475. package/dist/features/seller/components/SellerBidsView.d.ts +2 -1
  476. package/dist/features/seller/components/SellerBundlesView.d.ts +2 -1
  477. package/dist/features/seller/components/SellerClassifiedView.d.ts +2 -1
  478. package/dist/features/seller/components/SellerCouponEditorView.d.ts +1 -1
  479. package/dist/features/seller/components/SellerCouponsView.d.ts +2 -1
  480. package/dist/features/seller/components/SellerCreateProductView.d.ts +1 -1
  481. package/dist/features/seller/components/SellerDashboardView.d.ts +1 -1
  482. package/dist/features/seller/components/SellerDigitalCodesView.d.ts +2 -1
  483. package/dist/features/seller/components/SellerEditProductView.d.ts +1 -1
  484. package/dist/features/seller/components/SellerFeaturesView.d.ts +2 -1
  485. package/dist/features/seller/components/SellerGoogleReviewsView.d.ts +2 -1
  486. package/dist/features/seller/components/SellerGroupedListingsView.d.ts +2 -1
  487. package/dist/features/seller/components/SellerGuideView.d.ts +1 -1
  488. package/dist/features/seller/components/SellerLiveView.d.ts +2 -1
  489. package/dist/features/seller/components/SellerOffersPanel.d.ts +2 -1
  490. package/dist/features/seller/components/SellerOffersView.d.ts +2 -1
  491. package/dist/features/seller/components/SellerOrdersView.d.ts +2 -1
  492. package/dist/features/seller/components/SellerOrdersView.js +24 -9
  493. package/dist/features/seller/components/SellerPayoutHistoryTable.d.ts +1 -1
  494. package/dist/features/seller/components/SellerPayoutMethodsView.d.ts +2 -1
  495. package/dist/features/seller/components/SellerPayoutRequestView.d.ts +1 -1
  496. package/dist/features/seller/components/SellerPayoutSettingsView.d.ts +1 -1
  497. package/dist/features/seller/components/SellerPayoutSettingsView.js +4 -1
  498. package/dist/features/seller/components/SellerPayoutStats.d.ts +1 -1
  499. package/dist/features/seller/components/SellerPayoutsView.d.ts +2 -1
  500. package/dist/features/seller/components/SellerPreOrdersView.d.ts +2 -1
  501. package/dist/features/seller/components/SellerPrizeDrawsView.d.ts +2 -1
  502. package/dist/features/seller/components/SellerProductShell.d.ts +1 -1
  503. package/dist/features/seller/components/SellerProductShell.js +17 -2
  504. package/dist/features/seller/components/SellerProductsCards.d.ts +2 -1
  505. package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +2 -1
  506. package/dist/features/seller/components/SellerProductsView.d.ts +2 -1
  507. package/dist/features/seller/components/SellerReviewsView.d.ts +1 -1
  508. package/dist/features/seller/components/SellerShippingConfigsView.d.ts +2 -1
  509. package/dist/features/seller/components/SellerShippingView.d.ts +1 -1
  510. package/dist/features/seller/components/SellerSidebar.d.ts +1 -1
  511. package/dist/features/seller/components/SellerStickersView.d.ts +2 -1
  512. package/dist/features/seller/components/SellerStoreCategoriesView.d.ts +2 -1
  513. package/dist/features/seller/components/SellerStoreSetupView.d.ts +1 -1
  514. package/dist/features/seller/components/SellerStoreView.d.ts +1 -1
  515. package/dist/features/seller/components/SellerStorefrontView.d.ts +1 -1
  516. package/dist/features/seller/components/SellerTemplatesView.d.ts +2 -1
  517. package/dist/features/seller/components/SellersListView.d.ts +2 -1
  518. package/dist/features/seller/components/SublistingInlineSelect.d.ts +2 -1
  519. package/dist/features/seller/components/analytics/SellerAnalyticsStats.d.ts +2 -1
  520. package/dist/features/seller/components/analytics/SellerRevenueChart.d.ts +2 -1
  521. package/dist/features/seller/components/analytics/SellerTopProducts.d.ts +1 -1
  522. package/dist/features/shell/FormShell.d.ts +1 -1
  523. package/dist/features/shell/QuickFormDrawer.d.ts +1 -1
  524. package/dist/features/shell/StepForm.d.ts +3 -3
  525. package/dist/features/shell/field-groups/ImageFieldGroup.d.ts +2 -2
  526. package/dist/features/shell/field-groups/SeoFieldGroup.d.ts +2 -2
  527. package/dist/features/shell/field-groups/StatusFieldGroup.d.ts +2 -2
  528. package/dist/features/shell/field-groups/TitleDescriptionGroup.d.ts +2 -2
  529. package/dist/features/site-settings/components/ActionPermissionsManager.d.ts +2 -1
  530. package/dist/features/site-settings/components/NavPermissionsManager.d.ts +2 -1
  531. package/dist/features/site-settings/components/ThemeManagerView.d.ts +15 -1
  532. package/dist/features/stores/components/InteractiveStoreCard.d.ts +1 -1
  533. package/dist/features/stores/components/StoreAboutView.d.ts +1 -1
  534. package/dist/features/stores/components/StoreAddressSelectorCreate.d.ts +1 -1
  535. package/dist/features/stores/components/StoreAuctionsListing.d.ts +2 -1
  536. package/dist/features/stores/components/StoreAuctionsPageView.d.ts +2 -1
  537. package/dist/features/stores/components/StoreAuctionsView.d.ts +1 -1
  538. package/dist/features/stores/components/StoreBundlesPageView.d.ts +2 -1
  539. package/dist/features/stores/components/StoreCapabilitiesGuideView.d.ts +2 -1
  540. package/dist/features/stores/components/StoreClassifiedsListing.d.ts +2 -1
  541. package/dist/features/stores/components/StoreClassifiedsPageView.d.ts +2 -1
  542. package/dist/features/stores/components/StoreDetailLayoutView.d.ts +2 -1
  543. package/dist/features/stores/components/StoreDigitalCodesListing.d.ts +2 -1
  544. package/dist/features/stores/components/StoreDigitalCodesPageView.d.ts +2 -1
  545. package/dist/features/stores/components/StoreFilters.d.ts +1 -1
  546. package/dist/features/stores/components/StoreFinanceGuideView.d.ts +2 -1
  547. package/dist/features/stores/components/StoreGuideHubView.d.ts +2 -1
  548. package/dist/features/stores/components/StoreHeader.d.ts +1 -1
  549. package/dist/features/stores/components/StoreListingsGuideView.d.ts +2 -1
  550. package/dist/features/stores/components/StoreLiveItemsListing.d.ts +2 -1
  551. package/dist/features/stores/components/StoreLiveItemsPageView.d.ts +2 -1
  552. package/dist/features/stores/components/StoreNavTabs.d.ts +1 -1
  553. package/dist/features/stores/components/StoreOrdersGuideView.d.ts +2 -1
  554. package/dist/features/stores/components/StorePreOrdersListing.d.ts +2 -1
  555. package/dist/features/stores/components/StorePreOrdersPageView.d.ts +2 -1
  556. package/dist/features/stores/components/StorePrizeDrawsPageView.d.ts +2 -1
  557. package/dist/features/stores/components/StoreProductsListing.d.ts +2 -1
  558. package/dist/features/stores/components/StoreProductsPageView.d.ts +2 -1
  559. package/dist/features/stores/components/StoreProductsView.d.ts +1 -1
  560. package/dist/features/stores/components/StoreReviewsListing.d.ts +2 -1
  561. package/dist/features/stores/components/StoreReviewsPageView.d.ts +2 -1
  562. package/dist/features/stores/components/StoreReviewsView.d.ts +1 -1
  563. package/dist/features/stores/components/StoreScopedSearch.d.ts +2 -1
  564. package/dist/features/stores/components/StoreSettingsGuideView.d.ts +2 -1
  565. package/dist/features/stores/components/StoresIndexListing.d.ts +2 -1
  566. package/dist/features/stores/components/StoresIndexPageView.d.ts +2 -1
  567. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +2 -1
  568. package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +2 -1
  569. package/dist/features/wishlist/components/WishlistPage.d.ts +2 -2
  570. package/dist/features/wishlist/components/WishlistToggleButton.d.ts +1 -1
  571. package/dist/features/wishlist/components/WishlistView.d.ts +1 -1
  572. package/dist/http/ApiClient.d.ts +11 -0
  573. package/dist/http/ApiClient.js +4 -0
  574. package/dist/next/ErrorBoundary.d.ts +1 -1
  575. package/dist/next/components/ErrorView.d.ts +1 -1
  576. package/dist/next/components/GlobalError.d.ts +1 -1
  577. package/dist/next/components/NotFoundView.d.ts +1 -1
  578. package/dist/next/components/UnauthorizedView.d.ts +1 -1
  579. package/dist/react/ErrorBoundary.d.ts +1 -1
  580. package/dist/react/contexts/SessionContext.d.ts +1 -1
  581. package/dist/ui/DataTable.d.ts +1 -1
  582. package/dist/ui/components/Accordion.d.ts +2 -2
  583. package/dist/ui/components/ActiveFilterChips.d.ts +2 -1
  584. package/dist/ui/components/Alert.d.ts +1 -1
  585. package/dist/ui/components/Anchor.d.ts +1 -1
  586. package/dist/ui/components/Avatar.d.ts +2 -2
  587. package/dist/ui/components/AvatarDisplay.d.ts +2 -1
  588. package/dist/ui/components/BackgroundRenderer.d.ts +1 -1
  589. package/dist/ui/components/Badge.d.ts +1 -1
  590. package/dist/ui/components/BaseListingCard.d.ts +5 -5
  591. package/dist/ui/components/Breadcrumb.d.ts +1 -1
  592. package/dist/ui/components/BulkActionBar.d.ts +1 -1
  593. package/dist/ui/components/Button.d.ts +1 -1
  594. package/dist/ui/components/Card.d.ts +4 -4
  595. package/dist/ui/components/Checkbox.d.ts +1 -1
  596. package/dist/ui/components/ConfirmDeleteModal.d.ts +1 -1
  597. package/dist/ui/components/CountdownDisplay.d.ts +1 -1
  598. package/dist/ui/components/DateInput.d.ts +1 -1
  599. package/dist/ui/components/DescriptionField.d.ts +1 -1
  600. package/dist/ui/components/DetailPageGallery.d.ts +2 -2
  601. package/dist/ui/components/DetailPageHero.d.ts +2 -2
  602. package/dist/ui/components/DetailPageTabs.d.ts +2 -2
  603. package/dist/ui/components/DetailViewShell.d.ts +2 -2
  604. package/dist/ui/components/Details.d.ts +2 -2
  605. package/dist/ui/components/Dialog.d.ts +1 -1
  606. package/dist/ui/components/Divider.d.ts +1 -1
  607. package/dist/ui/components/Dropdown.d.ts +5 -5
  608. package/dist/ui/components/DynamicBgDiv.d.ts +1 -1
  609. package/dist/ui/components/EmptyState.d.ts +1 -1
  610. package/dist/ui/components/FallbackShell.d.ts +1 -1
  611. package/dist/ui/components/Fieldset.d.ts +2 -2
  612. package/dist/ui/components/FilterChipGroup.d.ts +2 -1
  613. package/dist/ui/components/FilterDrawer.d.ts +1 -1
  614. package/dist/ui/components/FlowDiagram.d.ts +1 -1
  615. package/dist/ui/components/Form.d.ts +4 -4
  616. package/dist/ui/components/FormActionBar.d.ts +2 -1
  617. package/dist/ui/components/FormField.d.ts +2 -1
  618. package/dist/ui/components/FormGrid.d.ts +3 -2
  619. package/dist/ui/components/HorizontalRule.d.ts +1 -1
  620. package/dist/ui/components/HorizontalScroller.d.ts +1 -1
  621. package/dist/ui/components/HotspotMarker.d.ts +1 -1
  622. package/dist/ui/components/IconBox.d.ts +1 -1
  623. package/dist/ui/components/IconButton.d.ts +1 -1
  624. package/dist/ui/components/Iframe.d.ts +1 -1
  625. package/dist/ui/components/ImageGallery.d.ts +2 -1
  626. package/dist/ui/components/ItemRow.d.ts +1 -1
  627. package/dist/ui/components/Kbd.d.ts +1 -1
  628. package/dist/ui/components/Layout.d.ts +4 -4
  629. package/dist/ui/components/ListingFilterDrawer.d.ts +1 -1
  630. package/dist/ui/components/ListingLayout.d.ts +1 -1
  631. package/dist/ui/components/ListingToolbar.d.ts +1 -1
  632. package/dist/ui/components/LoginRequiredModal.d.ts +2 -1
  633. package/dist/ui/components/Menu.d.ts +5 -5
  634. package/dist/ui/components/Modal.d.ts +1 -1
  635. package/dist/ui/components/Motion.d.ts +14 -14
  636. package/dist/ui/components/NavbarChevron.d.ts +1 -1
  637. package/dist/ui/components/NavigationLoader.d.ts +1 -1
  638. package/dist/ui/components/OtpInput.d.ts +1 -1
  639. package/dist/ui/components/PageLoader.d.ts +1 -1
  640. package/dist/ui/components/PaginatedSelect.d.ts +2 -2
  641. package/dist/ui/components/Pagination.d.ts +2 -1
  642. package/dist/ui/components/PasswordStrengthIndicator.d.ts +2 -1
  643. package/dist/ui/components/PriceDisplay.d.ts +1 -1
  644. package/dist/ui/components/Progress.d.ts +3 -2
  645. package/dist/ui/components/ProgressBarFill.d.ts +1 -1
  646. package/dist/ui/components/Quote.d.ts +1 -1
  647. package/dist/ui/components/Radio.d.ts +2 -2
  648. package/dist/ui/components/RatingDisplay.d.ts +1 -1
  649. package/dist/ui/components/Responsive.d.ts +2 -2
  650. package/dist/ui/components/ResponsiveView.d.ts +1 -1
  651. package/dist/ui/components/RichTextEditor.d.ts +2 -1
  652. package/dist/ui/components/RoleBadge.d.ts +2 -1
  653. package/dist/ui/components/RowActionMenu.d.ts +1 -1
  654. package/dist/ui/components/Scrim.d.ts +1 -1
  655. package/dist/ui/components/Select.d.ts +1 -1
  656. package/dist/ui/components/Semantic.d.ts +21 -21
  657. package/dist/ui/components/SettingsSection.d.ts +3 -2
  658. package/dist/ui/components/SideDrawer.d.ts +1 -1
  659. package/dist/ui/components/SideModal.d.ts +1 -1
  660. package/dist/ui/components/SiteLogo.d.ts +1 -1
  661. package/dist/ui/components/Skeleton.d.ts +2 -1
  662. package/dist/ui/components/SkipToMain.d.ts +2 -1
  663. package/dist/ui/components/Slider.d.ts +1 -1
  664. package/dist/ui/components/SlottedListingView.d.ts +2 -2
  665. package/dist/ui/components/SortDropdown.d.ts +1 -1
  666. package/dist/ui/components/Spinner.d.ts +1 -1
  667. package/dist/ui/components/StackedViewShell.d.ts +2 -2
  668. package/dist/ui/components/StarRating.d.ts +1 -1
  669. package/dist/ui/components/StatsGrid.d.ts +1 -1
  670. package/dist/ui/components/StatusBadge.d.ts +1 -1
  671. package/dist/ui/components/StepperNav.d.ts +1 -1
  672. package/dist/ui/components/StickyToolbar.d.ts +1 -1
  673. package/dist/ui/components/SummaryCard.d.ts +1 -1
  674. package/dist/ui/components/TabStrip.d.ts +2 -1
  675. package/dist/ui/components/TablePagination.d.ts +2 -1
  676. package/dist/ui/components/Tabs.d.ts +4 -4
  677. package/dist/ui/components/TagInput.d.ts +2 -1
  678. package/dist/ui/components/TextLink.d.ts +1 -1
  679. package/dist/ui/components/Toast.d.ts +1 -1
  680. package/dist/ui/components/Toggle.d.ts +1 -1
  681. package/dist/ui/components/Tooltip.d.ts +1 -1
  682. package/dist/ui/components/Typography.d.ts +4 -4
  683. package/dist/ui/components/UnsavedChangesModal.d.ts +1 -1
  684. package/dist/ui/components/VacationBanner.d.ts +2 -1
  685. package/dist/ui/components/ViewToggle.d.ts +1 -1
  686. package/dist/ui/forms/ColorPickerField.d.ts +1 -1
  687. package/dist/ui/forms/FieldCheckbox.d.ts +2 -1
  688. package/dist/ui/forms/FieldInput.d.ts +1 -1
  689. package/dist/ui/forms/FieldSelect.d.ts +2 -1
  690. package/dist/ui/forms/FieldTextarea.d.ts +1 -1
  691. package/dist/ui/forms/FormShell.d.ts +2 -2
  692. package/dist/ui/rich-text/RichText.d.ts +1 -1
  693. package/dist/ui/rich-text/RichTextRenderer.d.ts +2 -1
  694. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ProductDocument } from "../../../../features/products/schemas/firestore";
2
3
  import type { startClassifiedConversationAction } from "../../../server/features/classified/actions";
3
4
  export interface ClassifiedDetailViewProps {
@@ -5,4 +6,4 @@ export interface ClassifiedDetailViewProps {
5
6
  isLoading?: boolean;
6
7
  onContactSeller: typeof startClassifiedConversationAction;
7
8
  }
8
- export declare function ClassifiedDetailView({ product, isLoading, onContactSeller, }: ClassifiedDetailViewProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ClassifiedDetailView({ product, isLoading, onContactSeller, }: ClassifiedDetailViewProps): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export interface RevealedCode {
2
3
  code: string;
3
4
  orderId: string;
@@ -10,4 +11,4 @@ export interface CodeRevealPanelProps {
10
11
  /** Injected from the page so the panel never hard-codes the API path. */
11
12
  fetchCode: (orderId: string) => Promise<RevealedCode>;
12
13
  }
13
- export declare function CodeRevealPanel({ orderId, redemptionInstructions, fetchCode, }: CodeRevealPanelProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function CodeRevealPanel({ orderId, redemptionInstructions, fetchCode, }: CodeRevealPanelProps): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ProductDocument } from "../../../../features/products/schemas/firestore";
2
3
  import type { RevealedCode } from "./CodeRevealPanel";
3
4
  export interface DigitalCodeDetailViewProps {
@@ -14,4 +15,4 @@ export interface DigitalCodeDetailViewProps {
14
15
  */
15
16
  fetchCode?: (orderId: string) => Promise<RevealedCode>;
16
17
  }
17
- export declare function DigitalCodeDetailView({ product, isLoading, orderId, fetchCode, }: DigitalCodeDetailViewProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function DigitalCodeDetailView({ product, isLoading, orderId, fetchCode, }: DigitalCodeDetailViewProps): React.JSX.Element;
@@ -48,4 +48,4 @@ export interface DashboardLayoutClientProps {
48
48
  contentMaxWidth?: string;
49
49
  children: ReactNode;
50
50
  }
51
- export declare function DashboardLayoutClient({ variant, groups, permissions, activeHref: explicitActiveHref, responsive: _responsive, className, contentPadding, contentSurface, contentMaxWidth, children, }: DashboardLayoutClientProps): import("react/jsx-runtime").JSX.Element;
51
+ export declare function DashboardLayoutClient({ variant, groups, permissions, activeHref: explicitActiveHref, responsive: _responsive, className, contentPadding, contentSurface, contentMaxWidth, children, }: DashboardLayoutClientProps): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export interface RoleGuardProps {
12
12
  loadingComponent?: ReactNode;
13
13
  children: ReactNode;
14
14
  }
15
- export declare function RoleGuard({ role, requireAuth, loginPath, unauthorizedPath, loadingComponent, children, }: RoleGuardProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function RoleGuard({ role, requireAuth, loginPath, unauthorizedPath, loadingComponent, children, }: RoleGuardProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface LiveItemDetailViewProps {
6
6
  /** Render-prop for the add-to-cart CTA — wired by the page shim. */
7
7
  renderActions?: () => React.ReactNode;
8
8
  }
9
- export declare function LiveItemDetailView({ product, isLoading, renderActions, }: LiveItemDetailViewProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function LiveItemDetailView({ product, isLoading, renderActions, }: LiveItemDetailViewProps): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  interface LotterySlotRow {
2
3
  slotNumber: number;
3
4
  name: string;
@@ -38,5 +39,5 @@ interface LotteryAdminEditViewProps {
38
39
  };
39
40
  onSubmit: (data: LotteryEventFormData) => Promise<void>;
40
41
  }
41
- export declare function LotteryAdminEditView({ eventId, initialData, onSubmit, }: LotteryAdminEditViewProps): import("react/jsx-runtime").JSX.Element;
42
+ export declare function LotteryAdminEditView({ eventId, initialData, onSubmit, }: LotteryAdminEditViewProps): React.JSX.Element;
42
43
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ClientLotterySlot } from "../../../../features/lottery/types";
2
3
  interface AdminLotterySlot extends ClientLotterySlot {
3
4
  priceInPaise: number;
@@ -10,5 +11,5 @@ interface LotteryAdminSlotViewProps {
10
11
  * Admin-only view showing slots with price + weight + % chance.
11
12
  * Separate from LotterySlotGrid (public) which never shows price/weight.
12
13
  */
13
- export declare function LotteryAdminSlotView({ slots }: LotteryAdminSlotViewProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function LotteryAdminSlotView({ slots }: LotteryAdminSlotViewProps): React.JSX.Element;
14
15
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ClientLotteryConfig } from "../../../../features/lottery/types";
2
3
  interface ClientLotteryEvent {
3
4
  id: string;
@@ -24,5 +25,5 @@ interface LotteryDetailViewProps {
24
25
  * Full lottery detail page view.
25
26
  * Shows cover + description + slot grid + pull form (if active + logged in).
26
27
  */
27
- export declare function LotteryDetailView({ event, user, currentEntry }: LotteryDetailViewProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function LotteryDetailView({ event, user, currentEntry }: LotteryDetailViewProps): React.JSX.Element;
28
29
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  interface LotteryEntryRow {
2
3
  id: string;
3
4
  userLotteryNumber: number;
@@ -19,5 +20,5 @@ interface LotteryEntriesViewProps {
19
20
  onFlagEntry?: (entryId: string, flagNote: string) => Promise<void>;
20
21
  onReopenSlot?: (slotNumber: number) => Promise<void>;
21
22
  }
22
- export declare function LotteryEntriesView({ entries, isAdmin, isStoreOwner, onFlagEntry, onReopenSlot, }: LotteryEntriesViewProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function LotteryEntriesView({ entries, isAdmin, isStoreOwner, onFlagEntry, onReopenSlot, }: LotteryEntriesViewProps): React.JSX.Element;
23
24
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ClientLotteryConfig } from "../../../../features/lottery/types";
2
3
  interface ClientLotteryEvent {
3
4
  id: string;
@@ -17,5 +18,5 @@ interface LotteryListViewProps {
17
18
  * Card grid of lotteries.
18
19
  * Admin sees all statuses; public sees active only.
19
20
  */
20
- export declare function LotteryListView({ items, adminMode }: LotteryListViewProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function LotteryListView({ items, adminMode }: LotteryListViewProps): React.JSX.Element;
21
22
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  interface LotteryPullFormProps {
2
3
  sourceType: "event" | "product";
3
4
  eventId?: string;
@@ -15,5 +16,5 @@ interface LotteryPullFormProps {
15
16
  * Submits TX ID + phone + payment time + item number.
16
17
  * On success, shows the user their lottery number and assigned prize slot.
17
18
  */
18
- export declare function LotteryPullForm({ sourceType, eventId, productId, totalSlots, maxPullsPerUser: _maxPullsPerUser, onSuccess, }: LotteryPullFormProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function LotteryPullForm({ sourceType, eventId, productId, totalSlots, maxPullsPerUser: _maxPullsPerUser, onSuccess, }: LotteryPullFormProps): React.JSX.Element;
19
20
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ClientLotterySlot } from "../../../../features/lottery/types";
2
3
  interface LotterySlotGridProps {
3
4
  slots: ClientLotterySlot[];
@@ -9,5 +10,5 @@ interface LotterySlotGridProps {
9
10
  * Available slots show slot number + name in white.
10
11
  * Never shows price or weight.
11
12
  */
12
- export declare function LotterySlotGrid({ slots, totalSlots }: LotterySlotGridProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function LotterySlotGrid({ slots, totalSlots }: LotterySlotGridProps): React.JSX.Element;
13
14
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ClientLotteryConfig } from "../../../../features/lottery/types";
2
3
  interface ClientProduct {
3
4
  id: string;
@@ -24,5 +25,5 @@ interface PrizeDrawLotteryDetailViewProps {
24
25
  * Prize-draw product detail view for lottery mode.
25
26
  * Same flow as LotteryDetailView but sourced from a product.
26
27
  */
27
- export declare function PrizeDrawLotteryDetailView({ product, user, currentEntry, }: PrizeDrawLotteryDetailViewProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function PrizeDrawLotteryDetailView({ product, user, currentEntry, }: PrizeDrawLotteryDetailViewProps): React.JSX.Element;
28
29
  export {};
@@ -9,4 +9,4 @@ export declare function useTour(): TourContextValue;
9
9
  */
10
10
  export declare function TourProvider({ children }: {
11
11
  children: React.ReactNode;
12
- }): import("react/jsx-runtime").JSX.Element;
12
+ }): React.JSX.Element;
@@ -4,7 +4,7 @@ export type AppkitLabelSet = Record<string, Record<string, string>>;
4
4
  export declare function LabelsProvider({ value, children, }: {
5
5
  value: AppkitLabelSet;
6
6
  children: ReactNode;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): import("react").JSX.Element;
8
8
  /**
9
9
  * Returns the label map for a given namespace key.
10
10
  * Falls back to an empty object when the namespace was not supplied,
@@ -36,4 +36,4 @@ export interface AppShellProps {
36
36
  /** Extra className applied to the root <div>. */
37
37
  className?: string;
38
38
  }
39
- export declare function AppShell({ children, slotHeader, slotFooter, slotSidebar, renderHeader, renderFooter, renderSidebar, path, className, }: AppShellProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function AppShell({ children, slotHeader, slotFooter, slotSidebar, renderHeader, renderFooter, renderSidebar, path, className, }: AppShellProps): React.JSX.Element;
@@ -31,4 +31,4 @@ export interface DashboardScaffoldProps {
31
31
  initialDrawerOpen?: boolean;
32
32
  className?: string;
33
33
  }
34
- export declare function DashboardScaffold({ children, slotPageHeader, renderNav, renderBottomNav, slotMenuToggle, initialDrawerOpen, className, }: DashboardScaffoldProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function DashboardScaffold({ children, slotPageHeader, renderNav, renderBottomNav, slotMenuToggle, initialDrawerOpen, className, }: DashboardScaffoldProps): React.JSX.Element;
@@ -35,5 +35,5 @@ export interface ThemeProviderProps {
35
35
  registry?: ThemeRegistry;
36
36
  children: ReactNode;
37
37
  }
38
- export declare function ThemeProvider({ registry, children }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function ThemeProvider({ registry, children }: ThemeProviderProps): import("react").JSX.Element;
39
39
  export declare function useTheme(): ThemeContextValue;
@@ -778,11 +778,15 @@ export async function verifyAndPlaceRazorpayOrderAction(input) {
778
778
  // decrement runs against `expansionPaid.decrements` lower down.
779
779
  const expansionPaid = getExpandedDecrements(cart.items);
780
780
  const productByIdPaid = new Map();
781
- for (const pid of expansionPaid.productIds) {
782
- const product = await unitOfWork.products.findById(pid);
781
+ // Independent reads across distinct product docs — batch them instead of
782
+ // awaiting one findById per product (mirrors the COD/UPI path above, which
783
+ // already batches its product lookups via Promise.all).
784
+ const fetchedProductsPaid = await Promise.all(expansionPaid.productIds.map((pid) => unitOfWork.products.findById(pid)));
785
+ expansionPaid.productIds.forEach((pid, i) => {
786
+ const product = fetchedProductsPaid[i];
783
787
  if (product)
784
788
  productByIdPaid.set(pid, product);
785
- }
789
+ });
786
790
  const productChecks = cart.items.map((item) => {
787
791
  const [firstMember] = getCartItemMemberIds(item);
788
792
  const product = productByIdPaid.get(firstMember) ?? null;
@@ -867,18 +871,10 @@ export async function verifyAndPlaceRazorpayOrderAction(input) {
867
871
  for (const { items: group, orderType } of orderGroups) {
868
872
  const firstItem = group[0].item;
869
873
  const groupTotal = group.reduce((sum, { item, product }) => sum + unitPriceFor(item, product) * item.quantity, 0);
870
- let shippingFee = 0;
871
- let storeOwnerId;
872
- const storeId = firstItem.storeId;
873
- if (storeId) {
874
- const store = await storeRepository.findById(storeId);
875
- storeOwnerId = store?.ownerId;
876
- const sellerUser = storeOwnerId ? await userRepository.findById(storeOwnerId) : null;
877
- const shippingConfig = sellerUser?.shippingConfig;
878
- if (shippingConfig?.isConfigured) {
879
- shippingFee = shippingConfig.customShippingPrice ?? 0;
880
- }
881
- }
874
+ // Reuses the same store/seller lookup as the COD/UPI path above instead
875
+ // of re-implementing it inline — was two sequential findById calls per
876
+ // seller group here, duplicated from resolveShippingCost.
877
+ const { shippingFee, storeOwnerId } = await resolveShippingCost(firstItem.storeId);
882
878
  let couponDiscount = 0;
883
879
  const appliedDiscounts = [];
884
880
  for (const coupon of appliedCoupons) {
@@ -1,9 +1,17 @@
1
1
  import { isApiError } from "./ApiError";
2
2
  import { normalizeError } from "../../errors/normalize";
3
3
  import { getErrorDisplay } from "../../errors/error-display-map";
4
+ /** True for `ApiError` instances and for any other thrown error (e.g. the
5
+ * lower-level `ApiClientError` from `ApiClient.request()`) that carries the
6
+ * same stable `code: string` field — both shapes route through the same
7
+ * toast-vs-inline-field-error logic below. */
8
+ function hasStableErrorCode(err) {
9
+ return (isApiError(err) ||
10
+ (err instanceof Error && typeof err.code === "string"));
11
+ }
4
12
  export function surfaceError(err, opts) {
5
13
  const { showToast, setFieldError, translate, report } = opts;
6
- if (isApiError(err)) {
14
+ if (hasStableErrorCode(err)) {
7
15
  const display = getErrorDisplay(err.code);
8
16
  const message = translate?.(display.messageKey) ?? err.message;
9
17
  if (display.field && setFieldError) {
package/dist/client.d.ts CHANGED
@@ -27,6 +27,7 @@ export type { GradientKey, RequiredThemeToken, ThemeMode, ThemeRecord, } from ".
27
27
  export { ConfirmDeleteModal } from "./ui/components/ConfirmDeleteModal";
28
28
  export { EmptyState } from "./ui/components/EmptyState";
29
29
  export { Skeleton } from "./ui/components/Skeleton";
30
+ export { Alert } from "./ui/components/Alert";
30
31
  export type { SkeletonProps } from "./ui/components/Skeleton";
31
32
  export { Divider } from "./ui/components/Divider";
32
33
  export { TabStrip } from "./ui/components/TabStrip";
@@ -79,6 +80,8 @@ export type { LotteryConfig, LotterySlot, ClientLotterySlot, ClientLotteryConfig
79
80
  export { BottomSheet } from "./features/layout/index";
80
81
  export { ImageUpload } from "./features/media/index";
81
82
  export type { ImageUploadProps } from "./features/media/index";
83
+ export { AvatarUpload } from "./features/media/index";
84
+ export type { AvatarUploadProps, ImageCropData } from "./features/media/index";
82
85
  export { ImageCropModal } from "./features/media/index";
83
86
  export { VideoTrimModal } from "./features/media/index";
84
87
  export { useMediaAbort } from "./features/media/index";
@@ -117,13 +120,15 @@ export type { OtpInputProps } from "./ui/components/OtpInput";
117
120
  export { DateInput, DateRangeInput } from "./ui/components/DateInput";
118
121
  export type { DateInputProps, DateRangeInputProps } from "./ui/components/DateInput";
119
122
  export type { FormShellProps, FormShellProviderProps, FormShellStep, FormShellContextValue, UseFormShellStateResult } from "./ui/forms";
120
- export { FormShell, FormShellProvider, FormShellContext, useFormShell, useFormShellState } from "./ui/forms";
123
+ export { FormShell, FormShellProvider, FormShellContext, useFormShell, useFormShellState, applyZodIssues } from "./ui/forms";
121
124
  export type { FieldInputProps } from "./ui/forms";
122
125
  export { FieldInput } from "./ui/forms";
123
126
  export type { FieldSelectProps } from "./ui/forms";
124
127
  export { FieldSelect } from "./ui/forms";
125
128
  export type { FieldCheckboxProps } from "./ui/forms";
126
129
  export { FieldCheckbox } from "./ui/forms";
130
+ export type { FieldTextareaProps } from "./ui/forms";
131
+ export { FieldTextarea } from "./ui/forms";
127
132
  export type { ColorPickerFieldProps } from "./ui/forms";
128
133
  export { ColorPickerField } from "./ui/forms";
129
134
  export { Select } from "./ui/components/Select";
@@ -171,6 +176,7 @@ export type { Address, AddressFormData } from "./features/account/index";
171
176
  export { AddressBook, AddressCard, AddressForm } from "./features/account/index";
172
177
  export type { AddressCardAddress, AddressCardProps } from "./features/account/index";
173
178
  export { useProfile, useUpdateProfile } from "./features/account/index";
179
+ export { updateProfileSchema } from "./features/account/index";
174
180
  export { CategoryProductsView } from "./features/categories/index";
175
181
  export type { CategoryItem } from "./features/categories/index";
176
182
  export { MediaImage } from "./features/media/index";
package/dist/client.js CHANGED
@@ -38,6 +38,7 @@ export { ConfirmDeleteModal } from "./ui/components/ConfirmDeleteModal";
38
38
  // S-STORE — pure-UI primitives + Seller view consumed by new dashboard pages
39
39
  export { EmptyState } from "./ui/components/EmptyState";
40
40
  export { Skeleton } from "./ui/components/Skeleton";
41
+ export { Alert } from "./ui/components/Alert";
41
42
  export { Divider } from "./ui/components/Divider";
42
43
  export { TabStrip } from "./ui/components/TabStrip";
43
44
  export { SellerProductsView } from "./features/seller/components/SellerProductsView";
@@ -131,6 +132,7 @@ export { PrizeDrawLotteryDetailView } from "./_internal/client/features/lottery/
131
132
  // BottomSheet - Shared export for bottom sheet.
132
133
  export { BottomSheet } from "./features/layout/index";
133
134
  export { ImageUpload } from "./features/media/index";
135
+ export { AvatarUpload } from "./features/media/index";
134
136
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
135
137
  // ImageCropModal - Component for image crop modal.
136
138
  export { ImageCropModal } from "./features/media/index";
@@ -175,10 +177,11 @@ export { RadioItem } from "./ui/components/Radio";
175
177
  export { Input } from "./ui/components/Input";
176
178
  export { OtpInput } from "./ui/components/OtpInput";
177
179
  export { DateInput, DateRangeInput } from "./ui/components/DateInput";
178
- export { FormShell, FormShellProvider, FormShellContext, useFormShell, useFormShellState } from "./ui/forms";
180
+ export { FormShell, FormShellProvider, FormShellContext, useFormShell, useFormShellState, applyZodIssues } from "./ui/forms";
179
181
  export { FieldInput } from "./ui/forms";
180
182
  export { FieldSelect } from "./ui/forms";
181
183
  export { FieldCheckbox } from "./ui/forms";
184
+ export { FieldTextarea } from "./ui/forms";
182
185
  export { ColorPickerField } from "./ui/forms";
183
186
  export { Select } from "./ui/components/Select";
184
187
  export { Heading } from "./ui/components/Typography";
@@ -206,6 +209,7 @@ export { CartView, CartItemRow, CartSummary, CartDrawer, CheckoutView, CheckoutS
206
209
  export { useAddresses, useCreateAddress, useUpdateAddress, useDeleteAddress, useSetDefaultAddress, useAddress } from "./features/account/index";
207
210
  export { AddressBook, AddressCard, AddressForm } from "./features/account/index";
208
211
  export { useProfile, useUpdateProfile } from "./features/account/index";
212
+ export { updateProfileSchema } from "./features/account/index";
209
213
  export { CategoryProductsView } from "./features/categories/index";
210
214
  export { MediaImage } from "./features/media/index";
211
215
  export { StoreSidebar } from "./features/seller/components/SellerSidebar";
@@ -4,6 +4,12 @@ import { AppError } from "./base-error";
4
4
  /**
5
5
  * Handle API errors with consistent response format.
6
6
  * Use in Next.js API route catch blocks.
7
+ *
8
+ * Delegates classification to `mapToHttpError` — the same table `createRouteHandler`
9
+ * uses — so `DatabaseError`/bare Firestore error codes/`ApiError` are classified
10
+ * correctly here too, instead of silently falling through to a generic 500 the way
11
+ * this function previously did for anything that wasn't an `AppError` or a Zod-shaped
12
+ * object. Response shape is unchanged for existing callers.
7
13
  */
8
14
  export declare function handleApiError(error: unknown): NextResponse;
9
15
  /**
@@ -1,41 +1,39 @@
1
1
  import { NextResponse } from "next/server.js";
2
2
  import { AppError } from "./base-error";
3
- import { ERROR_CODES, ERROR_MESSAGES_BY_CODE } from "./error-codes";
3
+ import { mapToHttpError } from "./error-mapping";
4
4
  /**
5
5
  * Handle API errors with consistent response format.
6
6
  * Use in Next.js API route catch blocks.
7
+ *
8
+ * Delegates classification to `mapToHttpError` — the same table `createRouteHandler`
9
+ * uses — so `DatabaseError`/bare Firestore error codes/`ApiError` are classified
10
+ * correctly here too, instead of silently falling through to a generic 500 the way
11
+ * this function previously did for anything that wasn't an `AppError` or a Zod-shaped
12
+ * object. Response shape is unchanged for existing callers.
7
13
  */
8
14
  export function handleApiError(error) {
9
- if (error instanceof AppError) {
10
- if (error.statusCode >= 500) {
11
- console.error("[API Error]", {
12
- code: error.code,
13
- message: error.message,
14
- statusCode: error.statusCode,
15
- data: error.data,
16
- });
17
- }
18
- return NextResponse.json(error.toJSON(), { status: error.statusCode });
19
- }
20
- // Zod / schema validation errors
21
- if (error && typeof error === "object" && "issues" in error) {
22
- return NextResponse.json({
23
- success: false,
24
- error: "Validation failed",
25
- code: ERROR_CODES.VALIDATION_INVALID_INPUT,
26
- data: error,
27
- }, { status: 400 });
28
- }
29
- console.error("[Unexpected API Error]", {
30
- error: error instanceof Error
31
- ? { name: error.name, message: error.message, stack: error.stack }
32
- : error,
15
+ const mapped = mapToHttpError(error, {
16
+ isProduction: process.env.NODE_ENV === "production",
33
17
  });
18
+ if (mapped.status >= 500) {
19
+ console.error("[API Error]", {
20
+ code: mapped.code,
21
+ message: mapped.message,
22
+ statusCode: mapped.status,
23
+ data: error instanceof AppError ? error.data : undefined,
24
+ });
25
+ }
34
26
  return NextResponse.json({
35
27
  success: false,
36
- error: ERROR_MESSAGES_BY_CODE[ERROR_CODES.GEN_INTERNAL_ERROR],
37
- code: ERROR_CODES.GEN_INTERNAL_ERROR,
38
- }, { status: 500 });
28
+ error: mapped.message,
29
+ code: mapped.code,
30
+ statusCode: mapped.status,
31
+ ...(error instanceof AppError && error.data !== undefined
32
+ ? { data: error.data }
33
+ : mapped.issues
34
+ ? { data: { issues: mapped.issues } }
35
+ : {}),
36
+ }, { status: mapped.status });
39
37
  }
40
38
  /**
41
39
  * Log an error with optional context. Wraps console.error for package portability;
@@ -34,4 +34,4 @@ export interface AboutViewProps {
34
34
  /** Render the CTA action buttons */
35
35
  renderCtaButtons?: () => React.ReactNode;
36
36
  }
37
- export declare function AboutView({ labels, howItems, valueItems, milestones, ctaBannerClass, renderCtaButtons, }: AboutViewProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function AboutView({ labels, howItems, valueItems, milestones, ctaBannerClass, renderCtaButtons, }: AboutViewProps): React.JSX.Element;
@@ -2,4 +2,4 @@ export interface FAQPageViewProps {
2
2
  /** If provided, filter to this category slug */
3
3
  category?: string;
4
4
  }
5
- export declare function FAQPageView({ category, }?: FAQPageViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
5
+ export declare function FAQPageView({ category, }?: FAQPageViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface FeesViewProps {
2
2
  }
3
- export declare function FeesView({}?: FeesViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function FeesView({}?: FeesViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HelpPageViewProps {
2
2
  }
3
- export declare function HelpPageView({}?: HelpPageViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HelpPageView({}?: HelpPageViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowAuctionsWorkViewProps {
2
2
  }
3
- export declare function HowAuctionsWorkView({}?: HowAuctionsWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowAuctionsWorkView({}?: HowAuctionsWorkViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowCheckoutWorksViewProps {
2
2
  }
3
- export declare function HowCheckoutWorksView({}?: HowCheckoutWorksViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowCheckoutWorksView({}?: HowCheckoutWorksViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowOffersWorkViewProps {
2
2
  }
3
- export declare function HowOffersWorkView({}?: HowOffersWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowOffersWorkView({}?: HowOffersWorkViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowOrdersWorkViewProps {
2
2
  }
3
- export declare function HowOrdersWorkView({}?: HowOrdersWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowOrdersWorkView({}?: HowOrdersWorkViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowPayoutsWorkViewProps {
2
2
  }
3
- export declare function HowPayoutsWorkView({}?: HowPayoutsWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowPayoutsWorkView({}?: HowPayoutsWorkViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowPreOrdersWorkViewProps {
2
2
  }
3
- export declare function HowPreOrdersWorkView({}?: HowPreOrdersWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowPreOrdersWorkView({}?: HowPreOrdersWorkViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface HowReviewsWorkViewProps {
2
2
  }
3
- export declare function HowReviewsWorkView({}?: HowReviewsWorkViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function HowReviewsWorkView({}?: HowReviewsWorkViewProps): Promise<import("react").JSX.Element>;
@@ -2,4 +2,4 @@ export interface PolicyPageViewProps {
2
2
  /** Which policy to render */
3
3
  policy: "privacy" | "terms" | "cookies" | "refund";
4
4
  }
5
- export declare function PolicyPageView({ policy, }: PolicyPageViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
5
+ export declare function PolicyPageView({ policy, }: PolicyPageViewProps): Promise<import("react").JSX.Element>;
@@ -1,4 +1,4 @@
1
1
  export interface PublicProfileViewProps {
2
2
  userId: string;
3
3
  }
4
- export declare function PublicProfileView({ userId, }: PublicProfileViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
4
+ export declare function PublicProfileView({ userId, }: PublicProfileViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface SecurityPrivacyViewProps {
2
2
  }
3
- export declare function SecurityPrivacyView({}?: SecurityPrivacyViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function SecurityPrivacyView({}?: SecurityPrivacyViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface ShippingPolicyViewProps {
2
2
  }
3
- export declare function ShippingPolicyView({}?: ShippingPolicyViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function ShippingPolicyView({}?: ShippingPolicyViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface TrackOrderViewProps {
2
2
  }
3
- export declare function TrackOrderView({}?: TrackOrderViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function TrackOrderView({}?: TrackOrderViewProps): Promise<import("react").JSX.Element>;
@@ -1,3 +1,3 @@
1
1
  export interface UnauthorizedViewProps {
2
2
  }
3
- export declare function UnauthorizedView({}?: UnauthorizedViewProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
+ export declare function UnauthorizedView({}?: UnauthorizedViewProps): Promise<import("react").JSX.Element>;
@@ -36,6 +36,6 @@ interface AddressBookProps {
36
36
  emptyLabel?: string;
37
37
  addLabel?: string;
38
38
  }
39
- export declare function AddressCard({ address, onEdit, onDelete, onSetDefault, labels, }: AddressCardProps): import("react/jsx-runtime").JSX.Element;
40
- export declare function AddressBook({ addresses, onEdit, onDelete, onSetDefault, onAdd, emptyLabel, addLabel, }: AddressBookProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function AddressCard({ address, onEdit, onDelete, onSetDefault, labels, }: AddressCardProps): import("react").JSX.Element;
40
+ export declare function AddressBook({ addresses, onEdit, onDelete, onSetDefault, onAdd, emptyLabel, addLabel, }: AddressBookProps): import("react").JSX.Element;
41
41
  export {};
@@ -2,4 +2,4 @@ import type { UrlTable } from "../../filters/FilterPanel";
2
2
  export interface AddressFiltersProps {
3
3
  table: UrlTable;
4
4
  }
5
- export declare function AddressFilters({ table }: AddressFiltersProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function AddressFilters({ table }: AddressFiltersProps): import("react").JSX.Element;
@@ -35,5 +35,5 @@ interface AddressFormProps {
35
35
  labels?: Partial<AddressFormLabels>;
36
36
  placeholders?: Partial<AddressFormPlaceholders>;
37
37
  }
38
- export declare function AddressForm({ initialData, onSubmit, onCancel, isLoading, submitLabel, defaultCountry, labels, placeholders, }: AddressFormProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function AddressForm({ initialData, onSubmit, onCancel, isLoading, submitLabel, defaultCountry, labels, placeholders, }: AddressFormProps): import("react").JSX.Element;
39
39
  export {};
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  type OwnerType = "user" | "store";
2
3
  interface BaseProps {
3
4
  ownerType: OwnerType;
@@ -20,5 +21,5 @@ interface MultiProps extends BaseProps {
20
21
  onChange: (ids: string[]) => void;
21
22
  }
22
23
  export type AddressInlineSelectProps = SingleProps | MultiProps;
23
- export declare function AddressInlineSelect(props: AddressInlineSelectProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function AddressInlineSelect(props: AddressInlineSelectProps): React.JSX.Element;
24
25
  export {};
@@ -14,4 +14,4 @@ export interface AddressSelectorCreateProps {
14
14
  /** Retained for backward-compat; AddressInlineSelect surfaces errors internally. */
15
15
  onCreateError?: () => void;
16
16
  }
17
- export declare function AddressSelectorCreate({ value, onChange, disabled, label, labels, onCreated, }: AddressSelectorCreateProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function AddressSelectorCreate({ value, onChange, disabled, label, labels, onCreated, }: AddressSelectorCreateProps): import("react").JSX.Element;
@@ -1,6 +1,7 @@
1
+ import React from "react";
1
2
  export interface AddressesIndexListingProps {
2
3
  onAdd?: () => void;
3
4
  onEdit?: (address: any) => void;
4
5
  onDelete?: (id: string) => void;
5
6
  }
6
- export declare function AddressesIndexListing({ onAdd, onEdit, onDelete, }: AddressesIndexListingProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function AddressesIndexListing({ onAdd, onEdit, onDelete, }: AddressesIndexListingProps): React.JSX.Element;
@@ -14,4 +14,4 @@ export interface BecomeSellerViewProps {
14
14
  isLoading?: boolean;
15
15
  className?: string;
16
16
  }
17
- export declare function BecomeSellerView({ labels, renderGuide, renderSuccess, renderAlreadySeller, state, isLoading, className, }: BecomeSellerViewProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function BecomeSellerView({ labels, renderGuide, renderSuccess, renderAlreadySeller, state, isLoading, className, }: BecomeSellerViewProps): React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare function BuyerAccountGuideView(): import("react/jsx-runtime").JSX.Element;
1
+ import React from "react";
2
+ export declare function BuyerAccountGuideView(): React.JSX.Element;