@mohasinac/appkit 4.65.0 → 4.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (825) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/_internal/client/features/digital-code/CodeRevealPanel.js +4 -1
  3. package/dist/_internal/client/features/digital-code/DigitalContentPoolManager.js +5 -1
  4. package/dist/_internal/client/features/layout/DashboardLayoutClient.d.ts +1 -1
  5. package/dist/_internal/client/features/layout/DashboardLayoutClient.js +3 -1
  6. package/dist/_internal/client/features/lottery/LotteryAdminEditView.js +6 -2
  7. package/dist/_internal/client/features/lottery/LotteryAdminSlotView.js +5 -1
  8. package/dist/_internal/client/features/lottery/LotteryDetailView.js +6 -1
  9. package/dist/_internal/client/features/lottery/LotteryEntriesView.js +6 -1
  10. package/dist/_internal/client/features/lottery/LotteryListView.js +7 -1
  11. package/dist/_internal/client/features/lottery/LotteryPullForm.js +3 -1
  12. package/dist/_internal/client/features/lottery/LotterySlotGrid.js +3 -1
  13. package/dist/_internal/client/features/lottery/PrizeDrawLotteryDetailView.js +6 -1
  14. package/dist/_internal/client/scaffolds/AppShell.js +3 -1
  15. package/dist/_internal/server/features/account/data.js +2 -1
  16. package/dist/_internal/server/features/auctions/service.js +1 -1
  17. package/dist/_internal/server/features/auth/capabilities.js +1 -1
  18. package/dist/_internal/server/features/auth/permissions.js +1 -1
  19. package/dist/_internal/server/features/brands/actions.js +1 -1
  20. package/dist/_internal/server/features/brands/data.js +1 -1
  21. package/dist/_internal/server/features/brands/service.js +1 -1
  22. package/dist/_internal/server/features/bundles/actions.js +1 -1
  23. package/dist/_internal/server/features/bundles/data.js +2 -2
  24. package/dist/_internal/server/features/cart/actions.js +1 -1
  25. package/dist/_internal/server/features/cart/data.js +1 -1
  26. package/dist/_internal/server/features/cart/service.js +1 -1
  27. package/dist/_internal/server/features/categories/data.js +1 -1
  28. package/dist/_internal/server/features/checkout/actions.js +2 -2
  29. package/dist/_internal/server/features/checkout/group-rule-revalidation.js +1 -1
  30. package/dist/_internal/server/features/checkout/locked-lines.js +1 -1
  31. package/dist/_internal/server/features/checkout/upi-resolution.js +2 -1
  32. package/dist/_internal/server/features/grouped/data.js +2 -1
  33. package/dist/_internal/server/features/history/actions.d.ts +1 -1
  34. package/dist/_internal/server/features/history/actions.js +1 -1
  35. package/dist/_internal/server/features/history/data.d.ts +1 -1
  36. package/dist/_internal/server/features/history/data.js +1 -1
  37. package/dist/_internal/server/features/item-requests/data.js +1 -1
  38. package/dist/_internal/server/features/messages/actions.js +1 -1
  39. package/dist/_internal/server/features/payouts/actions.js +1 -1
  40. package/dist/_internal/server/features/pre-orders/actions.js +1 -1
  41. package/dist/_internal/server/features/pre-orders/service.js +1 -1
  42. package/dist/_internal/server/features/prize-draws/actions.js +1 -1
  43. package/dist/_internal/server/features/products/actions.js +1 -1
  44. package/dist/_internal/server/features/products/data.js +1 -1
  45. package/dist/_internal/server/features/products/list-public.js +1 -1
  46. package/dist/_internal/server/features/products/service.js +1 -1
  47. package/dist/_internal/server/features/promotions/actions.js +1 -1
  48. package/dist/_internal/server/features/promotions/adapters.js +9 -0
  49. package/dist/_internal/server/features/promotions/data.d.ts +24 -3
  50. package/dist/_internal/server/features/promotions/data.js +41 -6
  51. package/dist/_internal/server/features/promotions/index.d.ts +1 -1
  52. package/dist/_internal/server/features/promotions/index.js +1 -1
  53. package/dist/_internal/server/features/promotions/service.js +1 -1
  54. package/dist/_internal/server/features/seo/sitemap.js +2 -2
  55. package/dist/_internal/server/features/shared/listing-data-factory.js +1 -1
  56. package/dist/_internal/server/features/shipping/courier-block.js +1 -1
  57. package/dist/_internal/server/features/sticker-trace/promote-to-listings.js +1 -1
  58. package/dist/_internal/server/features/stores/data.js +1 -1
  59. package/dist/_internal/server/features/sublisting-categories/data.js +1 -1
  60. package/dist/_internal/server/features/wishlist/actions.d.ts +1 -1
  61. package/dist/_internal/server/features/wishlist/actions.js +1 -1
  62. package/dist/_internal/server/features/wishlist/data.d.ts +1 -1
  63. package/dist/_internal/server/features/wishlist/data.js +1 -1
  64. package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +1 -1
  65. package/dist/_internal/server/jobs/core/cartPrune.js +1 -1
  66. package/dist/_internal/server/jobs/core/catalogueImageStalenessReminder.js +1 -1
  67. package/dist/_internal/server/jobs/core/cleanupRtdbEvents.js +1 -1
  68. package/dist/_internal/server/jobs/core/couponExpiry.js +1 -1
  69. package/dist/_internal/server/jobs/core/dailyDataCleanup.js +2 -1
  70. package/dist/_internal/server/jobs/core/draftPrune.js +1 -1
  71. package/dist/_internal/server/jobs/core/hardBanReinstatement.js +1 -1
  72. package/dist/_internal/server/jobs/core/newsletterExport.js +1 -1
  73. package/dist/_internal/server/jobs/core/notificationPrune.js +1 -1
  74. package/dist/_internal/server/jobs/core/onJobCreated.js +1 -1
  75. package/dist/_internal/server/jobs/core/onOrderCreate.js +3 -1
  76. package/dist/_internal/server/jobs/core/onProductWrite.js +2 -1
  77. package/dist/_internal/server/jobs/core/onScamReportCreate.js +2 -1
  78. package/dist/_internal/server/jobs/core/onScamReportRejected.js +1 -1
  79. package/dist/_internal/server/jobs/core/onScamReportVerified.js +1 -1
  80. package/dist/_internal/server/jobs/core/revenueRollup.js +1 -1
  81. package/dist/_internal/server/jobs/core/runJobOnce.js +1 -1
  82. package/dist/_internal/server/jobs/core/sellerStandingRollup.js +1 -1
  83. package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +1 -1
  84. package/dist/_internal/server/jobs/handlers/onCatalogueSubmittedForApproval.js +1 -1
  85. package/dist/_internal/shared/features/blog/schema.d.ts +12 -12
  86. package/dist/_internal/shared/features/brands/schema.d.ts +19 -19
  87. package/dist/_internal/shared/features/cart/schema.d.ts +17 -17
  88. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +60 -60
  89. package/dist/_internal/shared/features/events/schema.d.ts +4 -4
  90. package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
  91. package/dist/_internal/shared/features/products/schema.d.ts +2 -2
  92. package/dist/_internal/shared/features/promotions/schema.d.ts +12 -12
  93. package/dist/_internal/shared/features/reviews/schema.d.ts +3 -3
  94. package/dist/client.d.ts +221 -116
  95. package/dist/client.js +140 -73
  96. package/dist/errors/error-handler.d.ts +1 -1
  97. package/dist/features/about/components/AboutView.js +9 -1
  98. package/dist/features/about/components/DeveloperView.js +8 -2
  99. package/dist/features/about/components/FAQPageView.js +5 -2
  100. package/dist/features/about/components/FeesView.js +4 -1
  101. package/dist/features/about/components/GstExplainerView.js +6 -1
  102. package/dist/features/about/components/GuidesHubView.js +5 -1
  103. package/dist/features/about/components/HelpPageView.js +6 -2
  104. package/dist/features/about/components/HowAuctionsWorkView.js +6 -2
  105. package/dist/features/about/components/HowCheckoutWorksView.js +6 -2
  106. package/dist/features/about/components/HowEmiWorksView.js +7 -2
  107. package/dist/features/about/components/HowOffersWorkView.js +6 -2
  108. package/dist/features/about/components/HowOrdersWorkView.js +6 -2
  109. package/dist/features/about/components/HowPayoutsWorkView.js +6 -2
  110. package/dist/features/about/components/HowPreOrdersWorkView.js +6 -2
  111. package/dist/features/about/components/HowReviewsWorkView.js +6 -2
  112. package/dist/features/about/components/PolicyPageView.js +6 -3
  113. package/dist/features/about/components/ProseHero.js +3 -1
  114. package/dist/features/about/components/PublicProfileView.js +6 -1
  115. package/dist/features/about/components/SecurityPrivacyView.js +6 -2
  116. package/dist/features/about/components/ShippingPolicyView.js +7 -3
  117. package/dist/features/about/components/SpotAFakeView.js +6 -1
  118. package/dist/features/about/components/TrackOrderView.js +5 -2
  119. package/dist/features/about/components/UnauthorizedView.js +5 -2
  120. package/dist/features/about/schemas/index.d.ts +18 -18
  121. package/dist/features/account/components/AddressBook.js +4 -1
  122. package/dist/features/account/components/AddressFilters.js +1 -1
  123. package/dist/features/account/components/AddressForm.js +1 -1
  124. package/dist/features/account/components/AddressSelectorCreate.js +2 -1
  125. package/dist/features/account/components/AddressesIndexListing.js +5 -1
  126. package/dist/features/account/components/BecomeSellerView.js +2 -1
  127. package/dist/features/account/components/BuyerAccountGuideView.js +6 -1
  128. package/dist/features/account/components/BuyerAuctionsGuideView.js +5 -1
  129. package/dist/features/account/components/BuyerOrdersGuideView.js +5 -1
  130. package/dist/features/account/components/BuyerShoppingGuideView.js +5 -1
  131. package/dist/features/account/components/LinkedAccountsSection.js +5 -1
  132. package/dist/features/account/components/NotificationBell.js +8 -1
  133. package/dist/features/account/components/NotificationPreferencesPanel.js +6 -1
  134. package/dist/features/account/components/OrderDetailView.d.ts +1 -1
  135. package/dist/features/account/components/OrderDetailView.js +1 -1
  136. package/dist/features/account/components/ProfileView.d.ts +1 -1
  137. package/dist/features/account/components/ProfileView.js +1 -1
  138. package/dist/features/account/components/UserAccountHubView.d.ts +1 -1
  139. package/dist/features/account/components/UserAccountHubView.js +1 -1
  140. package/dist/features/account/components/UserBidsView.js +5 -1
  141. package/dist/features/account/components/UserOffersPanel.js +9 -1
  142. package/dist/features/account/components/UserOrderTrackView.d.ts +1 -1
  143. package/dist/features/account/components/UserOrderTrackView.js +1 -1
  144. package/dist/features/account/components/UserOrdersView.js +6 -1
  145. package/dist/features/account/components/UserReturnsView.js +3 -1
  146. package/dist/features/account/components/UserSidebar.js +8 -1
  147. package/dist/features/account/schemas/index.d.ts +10 -10
  148. package/dist/features/addresses/schemas/address-form.d.ts +16 -16
  149. package/dist/features/addresses/schemas/index.d.ts +2 -2
  150. package/dist/features/admin/actions/admin-actions.d.ts +3 -3
  151. package/dist/features/admin/actions/admin-coupon-actions.d.ts +1 -1
  152. package/dist/features/admin/actions/admin-read-actions.d.ts +3 -3
  153. package/dist/features/admin/components/AdminActionIndexView.d.ts +1 -1
  154. package/dist/features/admin/components/AdminActionIndexView.js +7 -1
  155. package/dist/features/admin/components/AdminAdEditorView.d.ts +1 -1
  156. package/dist/features/admin/components/AdminAdEditorView.js +8 -1
  157. package/dist/features/admin/components/AdminAddressBookView.js +8 -1
  158. package/dist/features/admin/components/AdminAddressClustersView.js +7 -1
  159. package/dist/features/admin/components/AdminAddressEditorView.d.ts +1 -1
  160. package/dist/features/admin/components/AdminAddressEditorView.js +4 -1
  161. package/dist/features/admin/components/AdminAddressesView.js +6 -1
  162. package/dist/features/admin/components/AdminAllEventEntriesView.d.ts +1 -1
  163. package/dist/features/admin/components/AdminAllEventEntriesView.js +5 -1
  164. package/dist/features/admin/components/AdminAnalyticsGuideView.js +5 -1
  165. package/dist/features/admin/components/AdminAnalyticsView.js +4 -2
  166. package/dist/features/admin/components/AdminArtView.d.ts +1 -1
  167. package/dist/features/admin/components/AdminArtView.js +1 -1
  168. package/dist/features/admin/components/AdminAuditLogView.d.ts +1 -1
  169. package/dist/features/admin/components/AdminAuditLogView.js +5 -1
  170. package/dist/features/admin/components/AdminBeysView.d.ts +1 -1
  171. package/dist/features/admin/components/AdminBeysView.js +3 -1
  172. package/dist/features/admin/components/AdminBidsView.d.ts +1 -1
  173. package/dist/features/admin/components/AdminBidsView.js +7 -2
  174. package/dist/features/admin/components/AdminBlogEditorView.d.ts +1 -1
  175. package/dist/features/admin/components/AdminBlogEditorView.js +14 -2
  176. package/dist/features/admin/components/AdminBlogView.d.ts +1 -1
  177. package/dist/features/admin/components/AdminBlogView.js +2 -1
  178. package/dist/features/admin/components/AdminBrandEditorView.d.ts +1 -1
  179. package/dist/features/admin/components/AdminBrandEditorView.js +7 -2
  180. package/dist/features/admin/components/AdminBrandsView.d.ts +1 -1
  181. package/dist/features/admin/components/AdminBrandsView.js +4 -2
  182. package/dist/features/admin/components/AdminBundleEditorView.d.ts +1 -1
  183. package/dist/features/admin/components/AdminBundleEditorView.js +3 -1
  184. package/dist/features/admin/components/AdminBundlesView.js +7 -1
  185. package/dist/features/admin/components/AdminCarouselEditorView.d.ts +1 -1
  186. package/dist/features/admin/components/AdminCarouselEditorView.js +12 -2
  187. package/dist/features/admin/components/AdminCarouselGroupEditorView.d.ts +1 -1
  188. package/dist/features/admin/components/AdminCarouselView.d.ts +1 -1
  189. package/dist/features/admin/components/AdminCarouselView.js +16 -2
  190. package/dist/features/admin/components/AdminCartsView.d.ts +1 -1
  191. package/dist/features/admin/components/AdminCartsView.js +3 -1
  192. package/dist/features/admin/components/AdminCatalogGuideView.js +5 -1
  193. package/dist/features/admin/components/AdminCategoriesView.d.ts +1 -1
  194. package/dist/features/admin/components/AdminCategoriesView.js +3 -1
  195. package/dist/features/admin/components/AdminCategoryEditorView.d.ts +1 -1
  196. package/dist/features/admin/components/AdminCategoryEditorView.js +2 -2
  197. package/dist/features/admin/components/AdminClassifiedView.d.ts +1 -1
  198. package/dist/features/admin/components/AdminClassifiedView.js +1 -1
  199. package/dist/features/admin/components/AdminContactView.d.ts +1 -1
  200. package/dist/features/admin/components/AdminContactView.js +5 -1
  201. package/dist/features/admin/components/AdminContentGuideView.js +5 -1
  202. package/dist/features/admin/components/AdminCouponEditorView.d.ts +1 -1
  203. package/dist/features/admin/components/AdminCouponEditorView.js +5 -1
  204. package/dist/features/admin/components/AdminCouponsView.d.ts +1 -1
  205. package/dist/features/admin/components/AdminCouponsView.js +6 -1
  206. package/dist/features/admin/components/AdminDashboardView.d.ts +1 -1
  207. package/dist/features/admin/components/AdminDashboardView.js +2 -2
  208. package/dist/features/admin/components/AdminDigitalCodesView.d.ts +1 -1
  209. package/dist/features/admin/components/AdminDigitalCodesView.js +1 -1
  210. package/dist/features/admin/components/AdminFaqEditorView.d.ts +1 -1
  211. package/dist/features/admin/components/AdminFaqEditorView.js +12 -2
  212. package/dist/features/admin/components/AdminFaqsView.d.ts +1 -1
  213. package/dist/features/admin/components/AdminFaqsView.js +3 -1
  214. package/dist/features/admin/components/AdminFeatureEditorView.d.ts +1 -1
  215. package/dist/features/admin/components/AdminFeatureEditorView.js +6 -1
  216. package/dist/features/admin/components/AdminFeaturesView.d.ts +1 -1
  217. package/dist/features/admin/components/AdminFeaturesView.js +2 -1
  218. package/dist/features/admin/components/AdminFulfillmentView.js +2 -1
  219. package/dist/features/admin/components/AdminGatewayEventsView.d.ts +1 -1
  220. package/dist/features/admin/components/AdminGatewayEventsView.js +8 -1
  221. package/dist/features/admin/components/AdminGroupedListingsView.d.ts +1 -1
  222. package/dist/features/admin/components/AdminGroupedListingsView.js +7 -2
  223. package/dist/features/admin/components/AdminGuideHubView.js +6 -1
  224. package/dist/features/admin/components/AdminHistoryView.d.ts +1 -1
  225. package/dist/features/admin/components/AdminHistoryView.js +1 -1
  226. package/dist/features/admin/components/AdminIntegrationsView.js +6 -1
  227. package/dist/features/admin/components/AdminInvoicingView.js +6 -1
  228. package/dist/features/admin/components/AdminLiveView.d.ts +1 -1
  229. package/dist/features/admin/components/AdminLiveView.js +1 -1
  230. package/dist/features/admin/components/AdminMediaView.d.ts +1 -1
  231. package/dist/features/admin/components/AdminMediaView.js +11 -1
  232. package/dist/features/admin/components/AdminMoneyCasesView.d.ts +1 -1
  233. package/dist/features/admin/components/AdminMoneyCasesView.js +7 -1
  234. package/dist/features/admin/components/AdminNavEditorView.js +3 -1
  235. package/dist/features/admin/components/AdminNavigationView.d.ts +1 -1
  236. package/dist/features/admin/components/AdminNavigationView.js +10 -1
  237. package/dist/features/admin/components/AdminNewsletterView.d.ts +1 -1
  238. package/dist/features/admin/components/AdminNewsletterView.js +7 -1
  239. package/dist/features/admin/components/AdminNotificationsView.d.ts +1 -1
  240. package/dist/features/admin/components/AdminNotificationsView.js +5 -1
  241. package/dist/features/admin/components/AdminOffersView.d.ts +1 -1
  242. package/dist/features/admin/components/AdminOffersView.js +5 -1
  243. package/dist/features/admin/components/AdminOrderEditorView.js +8 -2
  244. package/dist/features/admin/components/AdminOrdersGuideView.js +4 -1
  245. package/dist/features/admin/components/AdminOrdersView.d.ts +1 -1
  246. package/dist/features/admin/components/AdminOrdersView.js +3 -1
  247. package/dist/features/admin/components/AdminPartsView.d.ts +1 -1
  248. package/dist/features/admin/components/AdminPartsView.js +3 -1
  249. package/dist/features/admin/components/AdminPaymentClustersView.js +7 -1
  250. package/dist/features/admin/components/AdminPaymentMethodsView.js +7 -1
  251. package/dist/features/admin/components/AdminPaymentsGuideView.js +4 -1
  252. package/dist/features/admin/components/AdminPayoutsView.d.ts +1 -1
  253. package/dist/features/admin/components/AdminPayoutsView.js +5 -1
  254. package/dist/features/admin/components/AdminPrizeDrawsView.d.ts +1 -1
  255. package/dist/features/admin/components/AdminPrizeDrawsView.js +7 -1
  256. package/dist/features/admin/components/AdminProductEditorView.d.ts +1 -1
  257. package/dist/features/admin/components/AdminProductEditorView.js +1 -1
  258. package/dist/features/admin/components/AdminProductsView.d.ts +1 -1
  259. package/dist/features/admin/components/AdminProductsView.js +5 -2
  260. package/dist/features/admin/components/AdminReturnRequestsView.js +3 -1
  261. package/dist/features/admin/components/AdminReviewsView.d.ts +1 -1
  262. package/dist/features/admin/components/AdminReviewsView.js +8 -1
  263. package/dist/features/admin/components/AdminScammersView.d.ts +1 -1
  264. package/dist/features/admin/components/AdminScammersView.js +5 -1
  265. package/dist/features/admin/components/AdminSectionsView.js +1 -1
  266. package/dist/features/admin/components/AdminSessionsManager.js +1 -1
  267. package/dist/features/admin/components/AdminSessionsView.d.ts +1 -1
  268. package/dist/features/admin/components/AdminSessionsView.js +6 -1
  269. package/dist/features/admin/components/AdminSidebar.js +7 -1
  270. package/dist/features/admin/components/AdminSiteConfigGuideView.js +5 -1
  271. package/dist/features/admin/components/AdminSiteSettingsView.d.ts +1 -1
  272. package/dist/features/admin/components/AdminSiteSettingsView.js +2 -2
  273. package/dist/features/admin/components/AdminSparesView.d.ts +1 -1
  274. package/dist/features/admin/components/AdminSparesView.js +1 -1
  275. package/dist/features/admin/components/AdminStickersView.d.ts +1 -1
  276. package/dist/features/admin/components/AdminStickersView.js +1 -1
  277. package/dist/features/admin/components/AdminStoreAddressesView.js +1 -1
  278. package/dist/features/admin/components/AdminStoreEditorView.js +7 -1
  279. package/dist/features/admin/components/AdminStoresGuideView.js +5 -1
  280. package/dist/features/admin/components/AdminStoresView.d.ts +1 -1
  281. package/dist/features/admin/components/AdminStoresView.js +4 -1
  282. package/dist/features/admin/components/AdminSublistingCategoryEditorView.d.ts +1 -1
  283. package/dist/features/admin/components/AdminSublistingCategoryEditorView.js +8 -3
  284. package/dist/features/admin/components/AdminSupportTicketDetailView.js +12 -1
  285. package/dist/features/admin/components/AdminSupportTicketsView.d.ts +1 -1
  286. package/dist/features/admin/components/AdminSupportTicketsView.js +4 -1
  287. package/dist/features/admin/components/AdminTaxCodeEditorView.d.ts +1 -1
  288. package/dist/features/admin/components/AdminTaxCodeEditorView.js +4 -1
  289. package/dist/features/admin/components/AdminTaxCodesView.d.ts +1 -1
  290. package/dist/features/admin/components/AdminTaxCodesView.js +1 -1
  291. package/dist/features/admin/components/AdminTeamGuideView.js +5 -1
  292. package/dist/features/admin/components/AdminTeamView.d.ts +1 -1
  293. package/dist/features/admin/components/AdminTeamView.js +4 -1
  294. package/dist/features/admin/components/AdminTesterChecklistItemEditorView.d.ts +1 -1
  295. package/dist/features/admin/components/AdminTesterChecklistItemEditorView.js +4 -1
  296. package/dist/features/admin/components/AdminTesterChecklistView.d.ts +1 -1
  297. package/dist/features/admin/components/AdminTesterChecklistView.js +4 -1
  298. package/dist/features/admin/components/AdminTopBar.js +1 -1
  299. package/dist/features/admin/components/AdminTrustGuideView.js +5 -1
  300. package/dist/features/admin/components/AdminUserEditorView.js +12 -1
  301. package/dist/features/admin/components/AdminUsersGuideView.js +5 -1
  302. package/dist/features/admin/components/AdminUsersView.d.ts +1 -1
  303. package/dist/features/admin/components/AdminViewCards.js +4 -1
  304. package/dist/features/admin/components/AdminWishlistsView.d.ts +1 -1
  305. package/dist/features/admin/components/AdminWishlistsView.js +1 -1
  306. package/dist/features/admin/components/DashboardStats.js +3 -1
  307. package/dist/features/admin/components/DataListingView.d.ts +1 -1
  308. package/dist/features/admin/components/DataListingView.js +14 -2
  309. package/dist/features/admin/components/DataTable.js +7 -1
  310. package/dist/features/admin/components/OwnerQuickActions.js +2 -1
  311. package/dist/features/admin/components/QuickEditMenu.js +2 -1
  312. package/dist/features/admin/components/ViewAuditLogEntryModal.js +6 -1
  313. package/dist/features/admin/components/ViewNotificationModal.js +6 -1
  314. package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +2 -1
  315. package/dist/features/admin/components/analytics/AdminStatCard.js +3 -1
  316. package/dist/features/admin/components/analytics/AdminTopProductsTable.js +3 -1
  317. package/dist/features/admin/components/sections/adminSectionsTypes.js +1 -0
  318. package/dist/features/admin/constants/site-settings-tabs.d.ts +1 -1
  319. package/dist/features/admin/hooks/useAdminListing.d.ts +1 -1
  320. package/dist/features/admin/hooks/useOptimisticRowFlag.js +1 -1
  321. package/dist/features/admin/schemas/action-index-form.d.ts +2 -2
  322. package/dist/features/admin/schemas/admin-editor-forms.d.ts +12 -12
  323. package/dist/features/admin/schemas/admin-ops-forms.d.ts +8 -8
  324. package/dist/features/admin/schemas/admin-user-form.d.ts +8 -8
  325. package/dist/features/admin/schemas/nav-item-form.d.ts +8 -8
  326. package/dist/features/auctions/actions/bid-actions.js +1 -1
  327. package/dist/features/auctions/components/AuctionBidsTable.js +6 -1
  328. package/dist/features/auctions/components/AuctionBottomActions.js +1 -1
  329. package/dist/features/auctions/components/AuctionDetailPageView.js +11 -2
  330. package/dist/features/auctions/components/AuctionFilters.js +1 -1
  331. package/dist/features/auctions/components/AuctionLiveStatusBadge.js +1 -1
  332. package/dist/features/auctions/components/AuctionsListView.js +3 -1
  333. package/dist/features/auctions/components/CollapsibleBidHistory.js +4 -1
  334. package/dist/features/auctions/components/LiveBidPrice.js +3 -1
  335. package/dist/features/auctions/components/LiveMinIncrement.js +1 -1
  336. package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +1 -1
  337. package/dist/features/auctions/components/MarketplaceAuctionCard.js +9 -3
  338. package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +1 -1
  339. package/dist/features/auctions/components/MarketplaceAuctionGrid.js +3 -1
  340. package/dist/features/auctions/components/PlaceBidFormClient.js +8 -1
  341. package/dist/features/auctions/schemas/index.d.ts +34 -34
  342. package/dist/features/auth/components/ForgotPasswordView.js +6 -1
  343. package/dist/features/auth/components/Guards.js +4 -1
  344. package/dist/features/auth/components/LoginForm.js +7 -1
  345. package/dist/features/auth/components/OAuthLoadingView.js +3 -1
  346. package/dist/features/auth/components/RegisterForm.js +5 -1
  347. package/dist/features/auth/components/ResetPasswordView.js +6 -1
  348. package/dist/features/auth/components/SocialAuthButtons.js +4 -1
  349. package/dist/features/auth/components/VerifyEmailView.js +4 -1
  350. package/dist/features/auth/schemas/index.d.ts +2 -2
  351. package/dist/features/before-after/components/BeforeAfterGallery.js +3 -1
  352. package/dist/features/before-after/components/BeforeAfterSlider.js +3 -1
  353. package/dist/features/before-after/schemas/index.d.ts +4 -4
  354. package/dist/features/beys/components/BeyDetailPageView.js +7 -1
  355. package/dist/features/blog/actions/blog-actions.d.ts +39 -39
  356. package/dist/features/blog/components/BlogFeaturedCard.js +6 -1
  357. package/dist/features/blog/components/BlogFilters.js +1 -1
  358. package/dist/features/blog/components/BlogIndexListing.js +7 -1
  359. package/dist/features/blog/components/BlogIndexPageView.js +3 -1
  360. package/dist/features/blog/components/BlogListView.js +6 -1
  361. package/dist/features/blog/components/BlogPostForm.js +9 -2
  362. package/dist/features/blog/components/BlogPostView.js +5 -1
  363. package/dist/features/blog/schemas/blog-form.d.ts +10 -10
  364. package/dist/features/blog/schemas/index.d.ts +80 -80
  365. package/dist/features/cart/components/CartDrawer.js +6 -1
  366. package/dist/features/cart/components/CartGroupLineRow.js +5 -1
  367. package/dist/features/cart/components/CartPriceBreakdown.js +4 -1
  368. package/dist/features/cart/components/CartSummary.js +2 -1
  369. package/dist/features/cart/components/CartView.js +3 -1
  370. package/dist/features/cart/components/CheckoutAddressStep.js +3 -1
  371. package/dist/features/cart/components/CheckoutSuccessView.d.ts +1 -1
  372. package/dist/features/cart/components/CheckoutSuccessView.js +1 -1
  373. package/dist/features/cart/components/CheckoutView.js +3 -1
  374. package/dist/features/cart/components/PointsTenderPicker.js +3 -1
  375. package/dist/features/cart/components/ShippingPicker.js +4 -1
  376. package/dist/features/cart/components/StoreAddonsPicker.js +3 -1
  377. package/dist/features/cart/schemas/index.d.ts +30 -30
  378. package/dist/features/catalogue/actions/approve-catalogue-listing.js +1 -1
  379. package/dist/features/catalogue/actions/list-from-catalogue.js +2 -1
  380. package/dist/features/catalogue/actions/submit-for-approval.js +1 -1
  381. package/dist/features/catalogue/components/AdminCatalogueApprovalsView.js +6 -1
  382. package/dist/features/catalogue/components/CatalogueItemEditorView.js +1 -1
  383. package/dist/features/catalogue/components/PublicCatalogueItemDetailView.js +6 -1
  384. package/dist/features/catalogue/components/PublicCatalogueView.js +5 -1
  385. package/dist/features/catalogue/components/UserCatalogueView.js +7 -1
  386. package/dist/features/catalogue/schemas/validation.d.ts +12 -12
  387. package/dist/features/catalogue/utils/product-from-item.js +1 -1
  388. package/dist/features/categories/components/BrandDetailPageView.js +6 -2
  389. package/dist/features/categories/components/BrandDetailTabs.js +2 -1
  390. package/dist/features/categories/components/BreadcrumbTrail.js +4 -2
  391. package/dist/features/categories/components/BundleBuyNowCta.js +5 -2
  392. package/dist/features/categories/components/BundleCollage.js +5 -1
  393. package/dist/features/categories/components/BundleDetailView.js +6 -1
  394. package/dist/features/categories/components/BundleDynamicRuleEditor.js +6 -1
  395. package/dist/features/categories/components/BundleItemsPicker.js +7 -1
  396. package/dist/features/categories/components/BundlesListView.js +4 -2
  397. package/dist/features/categories/components/CategoriesIndexListing.js +8 -1
  398. package/dist/features/categories/components/CategoriesIndexPageView.js +3 -1
  399. package/dist/features/categories/components/CategoryBundlesListing.js +8 -2
  400. package/dist/features/categories/components/CategoryDetailPageView.js +7 -2
  401. package/dist/features/categories/components/CategoryDetailTabs.js +2 -1
  402. package/dist/features/categories/components/CategoryFilters.js +1 -1
  403. package/dist/features/categories/components/CategoryForm.js +3 -1
  404. package/dist/features/categories/components/CategoryGrid.js +3 -1
  405. package/dist/features/categories/components/CategoryHighlightsAndFaqSection.js +3 -1
  406. package/dist/features/categories/components/CategoryProductsListing.js +8 -1
  407. package/dist/features/categories/components/CategorySelectorCreate.js +6 -1
  408. package/dist/features/categories/components/CategorySortSelect.js +4 -1
  409. package/dist/features/categories/components/CategoryStoresListing.js +2 -1
  410. package/dist/features/categories/components/CategoryTableColumns.js +6 -2
  411. package/dist/features/categories/components/CategoryTemplatePicker.js +4 -1
  412. package/dist/features/categories/components/CategoryTree.js +2 -1
  413. package/dist/features/categories/components/ConcernCard.js +3 -1
  414. package/dist/features/categories/components/ConcernGrid.js +1 -1
  415. package/dist/features/categories/components/PriceGuidanceHint.js +3 -1
  416. package/dist/features/categories/components/SubcategoryCardRow.js +4 -1
  417. package/dist/features/categories/schemas/bundle-form.d.ts +22 -22
  418. package/dist/features/categories/schemas/index.d.ts +100 -100
  419. package/dist/features/checkout/components/CheckoutStepper.js +3 -1
  420. package/dist/features/classified/components/ClassifiedDetailPageView.js +7 -1
  421. package/dist/features/classified/components/ClassifiedFilters.js +3 -1
  422. package/dist/features/collections/components/CollectionCard.js +4 -1
  423. package/dist/features/collections/schemas/index.d.ts +9 -9
  424. package/dist/features/consultation/components/ConsultationForm.js +3 -1
  425. package/dist/features/consultation/schemas/index.d.ts +8 -8
  426. package/dist/features/contact/components/ContactForm.js +5 -2
  427. package/dist/features/contact/components/ContactInfoSidebar.js +4 -1
  428. package/dist/features/contact/components/ContactPageView.js +6 -1
  429. package/dist/features/corporate/components/CorporateInquiryForm.js +3 -1
  430. package/dist/features/dashboard/components/DashboardHubView.js +7 -1
  431. package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +7 -1
  432. package/dist/features/digital-codes/components/DigitalCodeFilters.js +1 -1
  433. package/dist/features/dispute-reasons/components/AdminDisputeReasonsView.js +4 -1
  434. package/dist/features/events/components/AdminEventEditorView.d.ts +1 -1
  435. package/dist/features/events/components/AdminEventEditorView.js +13 -2
  436. package/dist/features/events/components/AdminEventEntriesView.js +10 -2
  437. package/dist/features/events/components/AdminEventsView.d.ts +1 -1
  438. package/dist/features/events/components/AdminEventsView.js +2 -1
  439. package/dist/features/events/components/EventBanner.js +3 -1
  440. package/dist/features/events/components/EventCard.js +7 -1
  441. package/dist/features/events/components/EventDetailView.d.ts +1 -1
  442. package/dist/features/events/components/EventDetailView.js +1 -1
  443. package/dist/features/events/components/EventFilters.js +1 -1
  444. package/dist/features/events/components/EventFormDrawer.js +1 -1
  445. package/dist/features/events/components/EventInsights.js +3 -1
  446. package/dist/features/events/components/EventLeaderboard.js +3 -1
  447. package/dist/features/events/components/EventLikeButton.js +4 -1
  448. package/dist/features/events/components/EventLikersRail.js +5 -1
  449. package/dist/features/events/components/EventOfferCard.js +3 -1
  450. package/dist/features/events/components/EventParticipateView.js +1 -1
  451. package/dist/features/events/components/EventPollWidget.js +8 -1
  452. package/dist/features/events/components/EventRaffleEntryForm.js +3 -1
  453. package/dist/features/events/components/EventRaffleWinnerView.js +6 -1
  454. package/dist/features/events/components/EventRafflesSection.js +3 -1
  455. package/dist/features/events/components/EventSaleBanner.js +4 -1
  456. package/dist/features/events/components/EventStatusBadge.js +1 -1
  457. package/dist/features/events/components/EventTypeBadge.js +1 -1
  458. package/dist/features/events/components/EventsIndexListing.js +7 -1
  459. package/dist/features/events/components/EventsListPageView.js +3 -1
  460. package/dist/features/events/components/EventsListView.js +4 -1
  461. package/dist/features/events/components/RelatedEventsCarousel.js +3 -1
  462. package/dist/features/events/components/SpinWheel.js +1 -1
  463. package/dist/features/events/components/SpinWheelView.js +7 -1
  464. package/dist/features/events/schemas/event-form.d.ts +5 -0
  465. package/dist/features/events/schemas/event-form.js +17 -0
  466. package/dist/features/events/schemas/firestore.d.ts +49 -1
  467. package/dist/features/events/schemas/index.d.ts +184 -184
  468. package/dist/features/events/utils/carousel-slide.d.ts +0 -9
  469. package/dist/features/events/utils/carousel-slide.js +38 -1
  470. package/dist/features/faq/actions/faq-actions.d.ts +12 -12
  471. package/dist/features/faq/components/ContactCTA.js +5 -1
  472. package/dist/features/faq/components/FAQAccordion.js +6 -1
  473. package/dist/features/faq/components/FAQCategorySidebar.js +5 -1
  474. package/dist/features/faq/components/FAQHelpfulButtons.js +3 -1
  475. package/dist/features/faq/components/FAQPageContent.js +8 -1
  476. package/dist/features/faq/components/FAQSearchableList.js +2 -1
  477. package/dist/features/faq/components/FAQSortDropdown.js +4 -1
  478. package/dist/features/faq/components/RelatedFAQs.js +4 -1
  479. package/dist/features/faq/schemas/index.d.ts +14 -14
  480. package/dist/features/filters/AsyncFacetSection.js +6 -1
  481. package/dist/features/filters/FilterFacetSection.js +6 -1
  482. package/dist/features/filters/FilterPanel.js +1 -1
  483. package/dist/features/filters/RangeFilter.js +6 -1
  484. package/dist/features/filters/SwitchFilter.js +5 -1
  485. package/dist/features/forms/Checkbox.js +3 -1
  486. package/dist/features/forms/Input.js +2 -1
  487. package/dist/features/forms/Radio.js +3 -1
  488. package/dist/features/forms/Select.js +2 -1
  489. package/dist/features/forms/Slider.js +3 -1
  490. package/dist/features/forms/Textarea.js +3 -1
  491. package/dist/features/forms/Toggle.js +3 -1
  492. package/dist/features/gateway-events/schemas/index.d.ts +10 -10
  493. package/dist/features/grouped/components/GroupedListingDetailView.js +4 -1
  494. package/dist/features/grouped/components/GroupedListingEditorView.js +5 -2
  495. package/dist/features/grouped/components/GroupedListingsCarousel.js +1 -1
  496. package/dist/features/grouped/schemas/grouped-listing-form.d.ts +2 -2
  497. package/dist/features/grouped/schemas/index.d.ts +6 -6
  498. package/dist/features/history/hooks/useHistory.js +1 -1
  499. package/dist/features/homepage/actions/homepage-section-actions.d.ts +4 -4
  500. package/dist/features/homepage/components/AdSlot.js +3 -1
  501. package/dist/features/homepage/components/BrandsSection.js +6 -1
  502. package/dist/features/homepage/components/CTABannerSection.js +6 -1
  503. package/dist/features/homepage/components/CharacterHotspot.js +5 -1
  504. package/dist/features/homepage/components/CharacterHotspotForm.js +8 -1
  505. package/dist/features/homepage/components/CollectionCardsSection.js +4 -1
  506. package/dist/features/homepage/components/CustomCardsSection.js +6 -1
  507. package/dist/features/homepage/components/CustomerReviewsSection.js +5 -1
  508. package/dist/features/homepage/components/FAQSection.js +8 -1
  509. package/dist/features/homepage/components/FeaturedBundlesSection.js +3 -1
  510. package/dist/features/homepage/components/GoogleReviewsSection.js +6 -1
  511. package/dist/features/homepage/components/HeroCarousel.js +6 -1
  512. package/dist/features/homepage/components/HomepageCouponsSection.d.ts +25 -0
  513. package/dist/features/homepage/components/HomepageCouponsSection.js +42 -0
  514. package/dist/features/homepage/components/HowItWorksSection.d.ts +1 -1
  515. package/dist/features/homepage/components/HowItWorksSection.js +7 -1
  516. package/dist/features/homepage/components/MarketplaceHomepageView.js +52 -4
  517. package/dist/features/homepage/components/NewsletterSection.js +4 -1
  518. package/dist/features/homepage/components/PromoGrid.js +4 -1
  519. package/dist/features/homepage/components/SectionCarousel.d.ts +1 -1
  520. package/dist/features/homepage/components/SectionCarousel.js +6 -1
  521. package/dist/features/homepage/components/SecurityHighlightsSection.js +6 -1
  522. package/dist/features/homepage/components/ShopByCategorySection.js +7 -1
  523. package/dist/features/homepage/components/SocialFeedSection.js +6 -1
  524. package/dist/features/homepage/components/SocialPostCard.js +4 -1
  525. package/dist/features/homepage/components/StatsCounterSection.js +5 -1
  526. package/dist/features/homepage/components/TestimonialsCarousel.js +4 -1
  527. package/dist/features/homepage/components/TrustFeaturesSection.js +5 -1
  528. package/dist/features/homepage/components/WelcomeSection.js +10 -1
  529. package/dist/features/homepage/components/WhatsAppCommunitySection.js +8 -1
  530. package/dist/features/homepage/lib/section-renderer.d.ts +2 -0
  531. package/dist/features/homepage/lib/section-renderer.js +8 -0
  532. package/dist/features/homepage/schemas/firestore.d.ts +23 -2
  533. package/dist/features/homepage/schemas/firestore.js +2 -0
  534. package/dist/features/homepage/schemas/index.d.ts +133 -133
  535. package/dist/features/inventory/components/ReceiveStationView.js +9 -1
  536. package/dist/features/jobs/actions/enqueue-job.js +1 -1
  537. package/dist/features/layout/AutoBreadcrumbs.js +3 -1
  538. package/dist/features/layout/BackToTop.js +2 -1
  539. package/dist/features/layout/BottomActions.js +5 -1
  540. package/dist/features/layout/BottomActionsContext.d.ts +1 -1
  541. package/dist/features/layout/BottomChrome.js +1 -1
  542. package/dist/features/layout/BottomNavItem.js +2 -1
  543. package/dist/features/layout/BottomNavLayout.js +1 -1
  544. package/dist/features/layout/BottomSheet.js +4 -1
  545. package/dist/features/layout/Breadcrumbs.js +2 -1
  546. package/dist/features/layout/FooterLayout.js +5 -1
  547. package/dist/features/layout/LocaleSwitcher.js +1 -1
  548. package/dist/features/layout/NavItem.js +2 -1
  549. package/dist/features/layout/NavbarLayout.js +5 -1
  550. package/dist/features/layout/PageTabs.js +1 -1
  551. package/dist/features/layout/SideActionDock.js +7 -1
  552. package/dist/features/layout/SidebarLayout.d.ts +1 -1
  553. package/dist/features/layout/SidebarLayout.js +2 -1
  554. package/dist/features/layout/TitleBarLayout.js +9 -1
  555. package/dist/features/live/components/LiveItemDetailPageView.js +7 -1
  556. package/dist/features/live/components/LiveItemFilters.js +3 -1
  557. package/dist/features/lottery/schemas/config-write.d.ts +10 -10
  558. package/dist/features/lottery/schemas/zod.d.ts +6 -6
  559. package/dist/features/media/modals/ImageCropModal.js +6 -1
  560. package/dist/features/media/modals/ImageEditor.js +6 -1
  561. package/dist/features/media/modals/VideoTrimModal.js +6 -1
  562. package/dist/features/media/types/index.d.ts +4 -4
  563. package/dist/features/media/upload/MediaUploadList.js +7 -1
  564. package/dist/features/orders/components/OrderAddonBadges.js +2 -1
  565. package/dist/features/orders/components/OrderFilters.js +1 -1
  566. package/dist/features/orders/components/OrderPaymentSummary.js +4 -1
  567. package/dist/features/orders/components/OrderProvenanceCard.js +5 -1
  568. package/dist/features/orders/components/OrderScopeTabs.js +1 -1
  569. package/dist/features/orders/components/OrderSiblingPayments.js +3 -1
  570. package/dist/features/orders/components/OrderStatusTimeline.js +4 -1
  571. package/dist/features/orders/components/OrdersList.js +4 -1
  572. package/dist/features/orders/components/RefundHistoryTable.js +4 -1
  573. package/dist/features/orders/components/RefundRequestView.js +1 -1
  574. package/dist/features/orders/components/YourPurchaseStrip.js +5 -1
  575. package/dist/features/orders/schemas/index.d.ts +86 -86
  576. package/dist/features/parts/components/AssemblyDrawer.js +8 -1
  577. package/dist/features/parts/components/ModelCompositionPanel.js +5 -1
  578. package/dist/features/parts/components/PartDetailPageView.js +7 -1
  579. package/dist/features/parts/components/PartsIndexPageView.js +6 -1
  580. package/dist/features/parts/components/PartsSearchBox.js +5 -1
  581. package/dist/features/payments/schemas/index.d.ts +10 -10
  582. package/dist/features/points/schemas/adjust-form.d.ts +2 -2
  583. package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +1 -1
  584. package/dist/features/pre-orders/components/MarketplacePreorderCard.js +10 -3
  585. package/dist/features/pre-orders/components/PreOrderActionsClient.js +6 -1
  586. package/dist/features/pre-orders/components/PreOrderBadge.js +2 -1
  587. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +9 -2
  588. package/dist/features/pre-orders/components/PreOrderFilters.js +1 -1
  589. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +11 -2
  590. package/dist/features/pre-orders/components/PreOrdersListView.js +3 -1
  591. package/dist/features/pre-orders/components/PreorderCard.js +1 -1
  592. package/dist/features/pre-orders/schemas/index.d.ts +15 -15
  593. package/dist/features/price-index/components/PriceIndexToolView.js +4 -1
  594. package/dist/features/pricing/components/AdminPricingView.js +4 -1
  595. package/dist/features/print/components/BoxLabelPrintView.js +5 -1
  596. package/dist/features/print/components/LabelProfilePicker.js +3 -1
  597. package/dist/features/print/components/labels.js +3 -1
  598. package/dist/features/products/columns/productTableColumns.js +5 -1
  599. package/dist/features/products/components/ArtStickersListView.js +3 -1
  600. package/dist/features/products/components/AuctionDetailView.d.ts +1 -1
  601. package/dist/features/products/components/AuctionDetailView.js +2 -1
  602. package/dist/features/products/components/AuctionsIndexListing.js +10 -2
  603. package/dist/features/products/components/AvailabilityScopeHint.js +3 -1
  604. package/dist/features/products/components/AvailabilityTabs.js +1 -1
  605. package/dist/features/products/components/BidHistory.js +4 -1
  606. package/dist/features/products/components/CityCollectiblesView.js +6 -1
  607. package/dist/features/products/components/CompareOverlay.js +6 -1
  608. package/dist/features/products/components/CustomFieldsEditor.js +6 -1
  609. package/dist/features/products/components/CustomSectionTabContent.js +4 -1
  610. package/dist/features/products/components/CustomSectionsEditor.js +6 -1
  611. package/dist/features/products/components/FeatureBadge.js +2 -1
  612. package/dist/features/products/components/GroupMemberPicker.js +8 -1
  613. package/dist/features/products/components/GroupSettingsPanel.js +12 -1
  614. package/dist/features/products/components/MakeOfferButton.js +6 -1
  615. package/dist/features/products/components/MarketplaceBundleCard.js +6 -1
  616. package/dist/features/products/components/MarketplacePrizeDrawCard.js +7 -1
  617. package/dist/features/products/components/NonRefundableConsentModal.js +6 -1
  618. package/dist/features/products/components/PreOrderDetailView.d.ts +1 -1
  619. package/dist/features/products/components/PreOrderDetailView.js +1 -1
  620. package/dist/features/products/components/PrizeDrawCollage.js +6 -1
  621. package/dist/features/products/components/PrizeDrawDetailPageView.js +6 -1
  622. package/dist/features/products/components/PrizeDrawEntryActions.js +7 -1
  623. package/dist/features/products/components/PrizeDrawWinnerMappingView.js +7 -1
  624. package/dist/features/products/components/PrizeDrawsIndexListing.js +8 -1
  625. package/dist/features/products/components/PrizeDrawsListingView.js +3 -1
  626. package/dist/features/products/components/PrizeDrawsSection.js +3 -1
  627. package/dist/features/products/components/PrizeRevealModal.js +6 -1
  628. package/dist/features/products/components/ProductCardMetadataSection.js +3 -1
  629. package/dist/features/products/components/ProductDetailActions.js +4 -1
  630. package/dist/features/products/components/ProductDetailPageView.js +10 -2
  631. package/dist/features/products/components/ProductDetailView.d.ts +1 -1
  632. package/dist/features/products/components/ProductDetailView.js +1 -1
  633. package/dist/features/products/components/ProductFeatureBadges.js +4 -1
  634. package/dist/features/products/components/ProductFeaturesSelector.js +3 -1
  635. package/dist/features/products/components/ProductFilters.js +2 -1
  636. package/dist/features/products/components/ProductForm.js +1 -1
  637. package/dist/features/products/components/ProductGalleryClient.js +4 -1
  638. package/dist/features/products/components/ProductGradingTab.js +4 -1
  639. package/dist/features/products/components/ProductGrid.d.ts +1 -1
  640. package/dist/features/products/components/ProductGrid.js +7 -1
  641. package/dist/features/products/components/ProductsIndexListing.js +11 -3
  642. package/dist/features/products/components/ProductsIndexPageView.js +6 -2
  643. package/dist/features/products/components/RelatedItemsSection.js +1 -1
  644. package/dist/features/products/components/RelatedProducts.js +3 -1
  645. package/dist/features/products/components/ShowGroupSection.js +7 -1
  646. package/dist/features/products/components/SparesListView.js +4 -1
  647. package/dist/features/products/components/SublistingCarouselSection.js +4 -1
  648. package/dist/features/products/components/SublistingCategorySelect.js +2 -1
  649. package/dist/features/products/hooks/useProducts.js +1 -1
  650. package/dist/features/products/schemas/index.d.ts +70 -70
  651. package/dist/features/products/schemas/product-features.validators.d.ts +52 -52
  652. package/dist/features/promotions/actions/promotions-actions.js +22 -6
  653. package/dist/features/promotions/components/AttachedCouponsSection.js +5 -2
  654. package/dist/features/promotions/components/CouponCard.js +8 -1
  655. package/dist/features/promotions/components/CouponCodeCopyRow.js +2 -1
  656. package/dist/features/promotions/components/CouponHelpDetails.js +4 -1
  657. package/dist/features/promotions/components/CouponsIndexListing.js +12 -1
  658. package/dist/features/promotions/components/PromotionsView.js +4 -1
  659. package/dist/features/promotions/constants/attached-coupons.d.ts +14 -0
  660. package/dist/features/promotions/repository/coupons.repository.js +32 -2
  661. package/dist/features/promotions/schemas/firestore.d.ts +33 -0
  662. package/dist/features/promotions/schemas/firestore.js +44 -0
  663. package/dist/features/promotions/schemas/index.d.ts +108 -108
  664. package/dist/features/reviews/components/ReviewDetailPageView.js +4 -1
  665. package/dist/features/reviews/components/ReviewDetailShell.js +8 -1
  666. package/dist/features/reviews/components/ReviewFilters.js +1 -1
  667. package/dist/features/reviews/components/ReviewModal.js +7 -2
  668. package/dist/features/reviews/components/ReviewSummary.js +4 -2
  669. package/dist/features/reviews/components/ReviewsIndexPageView.js +3 -1
  670. package/dist/features/reviews/components/ReviewsList.js +7 -2
  671. package/dist/features/reviews/components/ReviewsListingPanel.js +7 -1
  672. package/dist/features/reviews/schemas/index.d.ts +40 -40
  673. package/dist/features/scams/components/ScamAwarenessModal.js +7 -1
  674. package/dist/features/scams/components/ScamProfileView.js +11 -1
  675. package/dist/features/scams/constants/scammer-status-display.d.ts +1 -1
  676. package/dist/features/scams/schemas/index.d.ts +22 -22
  677. package/dist/features/scams/schemas/report-form.d.ts +4 -4
  678. package/dist/features/search/components/EntityTypeahead.js +5 -1
  679. package/dist/features/search/components/Search.js +7 -1
  680. package/dist/features/search/components/SearchFacetRail.js +4 -1
  681. package/dist/features/search/components/SearchResultsClient.js +1 -1
  682. package/dist/features/search/components/SearchResultsPageView.js +5 -1
  683. package/dist/features/seller/components/BulkStockModal.js +2 -1
  684. package/dist/features/seller/components/CategoryChipPicker.js +3 -1
  685. package/dist/features/seller/components/FulfillmentView.js +2 -1
  686. package/dist/features/seller/components/GroupInlineSelect.js +1 -1
  687. package/dist/features/seller/components/SellerAddressesView.js +11 -2
  688. package/dist/features/seller/components/SellerAnalyticsAlertsView.js +9 -1
  689. package/dist/features/seller/components/SellerAnalyticsView.d.ts +1 -1
  690. package/dist/features/seller/components/SellerAnalyticsView.js +4 -1
  691. package/dist/features/seller/components/SellerBidsView.js +8 -2
  692. package/dist/features/seller/components/SellerBundlesView.js +7 -1
  693. package/dist/features/seller/components/SellerCouponEditorView.js +5 -1
  694. package/dist/features/seller/components/SellerCouponsView.d.ts +1 -1
  695. package/dist/features/seller/components/SellerCouponsView.js +5 -1
  696. package/dist/features/seller/components/SellerDashboardView.d.ts +1 -1
  697. package/dist/features/seller/components/SellerDashboardView.js +4 -1
  698. package/dist/features/seller/components/SellerFeaturesView.js +8 -1
  699. package/dist/features/seller/components/SellerGoogleReviewsView.js +7 -1
  700. package/dist/features/seller/components/SellerGroupedListingsView.js +4 -1
  701. package/dist/features/seller/components/SellerGuideView.d.ts +1 -1
  702. package/dist/features/seller/components/SellerGuideView.js +1 -1
  703. package/dist/features/seller/components/SellerListingTypeView.js +4 -1
  704. package/dist/features/seller/components/SellerOffersView.d.ts +1 -1
  705. package/dist/features/seller/components/SellerOffersView.js +4 -1
  706. package/dist/features/seller/components/SellerOrdersView.js +8 -1
  707. package/dist/features/seller/components/SellerPayoutHistoryTable.js +2 -1
  708. package/dist/features/seller/components/SellerPayoutMethodsView.js +7 -1
  709. package/dist/features/seller/components/SellerPayoutRequestView.js +8 -1
  710. package/dist/features/seller/components/SellerPayoutSettingsView.js +3 -2
  711. package/dist/features/seller/components/SellerPayoutStats.js +1 -1
  712. package/dist/features/seller/components/SellerPayoutsView.d.ts +1 -1
  713. package/dist/features/seller/components/SellerPayoutsView.js +10 -1
  714. package/dist/features/seller/components/SellerProductsCards.js +7 -1
  715. package/dist/features/seller/components/SellerProductsFilterDrawer.js +4 -1
  716. package/dist/features/seller/components/SellerProductsView.js +7 -1
  717. package/dist/features/seller/components/SellerReviewsView.js +11 -1
  718. package/dist/features/seller/components/SellerShippingConfigsView.js +6 -1
  719. package/dist/features/seller/components/SellerShippingView.js +2 -2
  720. package/dist/features/seller/components/SellerSidebar.js +7 -1
  721. package/dist/features/seller/components/SellerStoreCategoriesView.js +5 -1
  722. package/dist/features/seller/components/SellerStoreSetupView.js +2 -1
  723. package/dist/features/seller/components/SellerStorefrontView.js +1 -1
  724. package/dist/features/seller/components/SellerSupportView.d.ts +1 -1
  725. package/dist/features/seller/components/SellerSupportView.js +4 -1
  726. package/dist/features/seller/components/SellersListView.d.ts +1 -1
  727. package/dist/features/seller/components/SellersListView.js +1 -1
  728. package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +1 -1
  729. package/dist/features/seller/components/analytics/SellerRevenueChart.js +2 -1
  730. package/dist/features/seller/components/analytics/SellerTopProducts.js +3 -1
  731. package/dist/features/seller/schemas/coupon-form.d.ts +50 -50
  732. package/dist/features/seller/schemas/index.d.ts +22 -22
  733. package/dist/features/seller/schemas/order-forms.d.ts +12 -12
  734. package/dist/features/server-errors/schemas/index.d.ts +4 -4
  735. package/dist/features/shell/CommandPalette.js +7 -1
  736. package/dist/features/shell/FormShell.js +5 -1
  737. package/dist/features/shell/SectionForm.js +4 -1
  738. package/dist/features/shipments/components/AdminShipmentEditorView.js +9 -1
  739. package/dist/features/shipments/components/AdminShipmentLotItemsView.js +11 -1
  740. package/dist/features/shipments/components/AdminShipmentProjectionsView.js +10 -1
  741. package/dist/features/shipments/components/AdminShipmentsView.d.ts +1 -1
  742. package/dist/features/shipments/components/AdminShipmentsView.js +3 -1
  743. package/dist/features/shipments/components/ShipmentItemLinkModal.js +7 -1
  744. package/dist/features/shipments/schemas/validation.d.ts +44 -44
  745. package/dist/features/site-settings/components/ActionPermissionsManager.js +7 -2
  746. package/dist/features/site-settings/components/NavPermissionsManager.js +6 -2
  747. package/dist/features/site-settings/components/ThemeManagerView.js +9 -1
  748. package/dist/features/status-history/components/StatusTimeline.js +4 -1
  749. package/dist/features/sticker-trace/components/StickerPrintPanel.js +6 -1
  750. package/dist/features/sticker-trace/components/StickerRetryPanel.js +4 -1
  751. package/dist/features/sticker-trace/components/StickerRunHistoryPanel.js +5 -1
  752. package/dist/features/sticker-trace/components/StickerTraceStudio.js +5 -1
  753. package/dist/features/store-extensions/schemas/admin-notification-form.d.ts +5 -5
  754. package/dist/features/store-extensions/schemas/custom-role-form.d.ts +12 -12
  755. package/dist/features/store-extensions/schemas/item-request-create-form.d.ts +2 -2
  756. package/dist/features/store-extensions/schemas/listing-template-form.d.ts +13 -13
  757. package/dist/features/store-extensions/schemas/payout-method-form.d.ts +10 -10
  758. package/dist/features/store-extensions/schemas/shipping-config-form.d.ts +12 -12
  759. package/dist/features/store-extensions/schemas/store-category-form.d.ts +10 -10
  760. package/dist/features/stores/components/InteractiveStoreCard.js +6 -1
  761. package/dist/features/stores/components/SellerStandingPanel.js +3 -1
  762. package/dist/features/stores/components/SellerTierBadge.js +2 -1
  763. package/dist/features/stores/components/StoreAboutView.js +5 -1
  764. package/dist/features/stores/components/StoreAddressSelectorCreate.js +2 -1
  765. package/dist/features/stores/components/StoreAuctionsListing.js +8 -1
  766. package/dist/features/stores/components/StoreAuctionsView.d.ts +1 -1
  767. package/dist/features/stores/components/StoreAuctionsView.js +1 -1
  768. package/dist/features/stores/components/StoreBundlesPageView.js +1 -1
  769. package/dist/features/stores/components/StoreCapabilitiesGuideView.js +6 -1
  770. package/dist/features/stores/components/StoreClassifiedsListing.js +7 -1
  771. package/dist/features/stores/components/StoreCreateForm.js +3 -1
  772. package/dist/features/stores/components/StoreDetailLayoutView.js +5 -2
  773. package/dist/features/stores/components/StoreDigitalCodesListing.js +7 -1
  774. package/dist/features/stores/components/StoreFilters.js +1 -1
  775. package/dist/features/stores/components/StoreFinanceGuideView.js +6 -1
  776. package/dist/features/stores/components/StoreGuideHubView.js +6 -1
  777. package/dist/features/stores/components/StoreHeader.js +6 -1
  778. package/dist/features/stores/components/StoreListingsGuideView.js +6 -1
  779. package/dist/features/stores/components/StoreLiveItemsListing.js +7 -1
  780. package/dist/features/stores/components/StoreNavTabs.js +3 -1
  781. package/dist/features/stores/components/StoreOrdersGuideView.js +7 -1
  782. package/dist/features/stores/components/StorePreOrdersListing.js +7 -1
  783. package/dist/features/stores/components/StoreProductsListing.js +8 -1
  784. package/dist/features/stores/components/StoreProductsView.js +5 -1
  785. package/dist/features/stores/components/StoreReviewsView.d.ts +1 -1
  786. package/dist/features/stores/components/StoreReviewsView.js +1 -1
  787. package/dist/features/stores/components/StoreSettingsGuideView.js +6 -1
  788. package/dist/features/stores/components/StoresIndexListing.js +9 -2
  789. package/dist/features/stores/components/StoresIndexPageView.js +4 -2
  790. package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +1 -1
  791. package/dist/features/stores/schemas/index.d.ts +28 -28
  792. package/dist/features/support/schemas/index.d.ts +14 -14
  793. package/dist/features/support/schemas/ticket-create-form.d.ts +4 -4
  794. package/dist/features/tax-codes/schemas/tax-code-form.d.ts +4 -4
  795. package/dist/features/tax-codes/schemas/tax-codes.validators.d.ts +10 -10
  796. package/dist/features/tester/actions/checklist-item-actions.d.ts +3 -3
  797. package/dist/features/tester/components/AdminTesterFeedbackIssuesView.js +7 -1
  798. package/dist/features/tester/components/AdminTesterFeedbackListView.js +5 -1
  799. package/dist/features/tester/components/AdminTesterFeedbackReportView.js +2 -1
  800. package/dist/features/tester/components/AdminTesterFeedbackView.js +5 -1
  801. package/dist/features/tester/components/TesterChecklistStepRow.js +8 -1
  802. package/dist/features/tester/components/TesterFeedbackChart.js +3 -1
  803. package/dist/features/tester/schemas/checklist-item-form.d.ts +2 -2
  804. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +8 -1
  805. package/dist/features/wishlist/components/WishlistCapWatcher.js +1 -1
  806. package/dist/features/wishlist/components/WishlistHeartButton.js +2 -1
  807. package/dist/features/wishlist/components/WishlistPage.js +5 -1
  808. package/dist/features/wishlist/components/WishlistView.js +3 -1
  809. package/dist/features/wishlist/hooks/useWishlistToggle.js +1 -1
  810. package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
  811. package/dist/features/wishlist/schemas/index.d.ts +2 -2
  812. package/dist/index.d.ts +2494 -2451
  813. package/dist/index.js +1542 -1499
  814. package/dist/next/api/routeHandler.js +1 -1
  815. package/dist/react/hooks/use-action-dispatch.d.ts +1 -1
  816. package/dist/react/hooks/use-action-dispatch.js +1 -1
  817. package/dist/schemas/registry.d.ts +488 -483
  818. package/dist/schemas/sieve.d.ts +5 -5
  819. package/dist/schemas/webhooks/google-oauth.d.ts +4 -4
  820. package/dist/server.d.ts +369 -362
  821. package/dist/server.js +355 -351
  822. package/dist/ui/components/HorizontalScroller.js +27 -2
  823. package/dist/ui/components/Repeater.js +4 -1
  824. package/dist/validation/schemas.d.ts +26 -26
  825. package/package.json +89 -1
package/dist/client.js CHANGED
@@ -98,7 +98,7 @@ export { LoginRequiredModal } from "./ui/components/LoginRequiredModal.js";
98
98
  export { GatedPrice, PricesOnly, GATED_PRICE_CLASS } from "./ui/components/GatedPrice.js";
99
99
  export { useCanSeePrices } from "./react/hooks/useCanSeePrices.js";
100
100
  // isAuthError - Detects auth/authorization errors from server actions or fetch responses.
101
- export { isAuthError } from "./utils/auth-error.js";
101
+ export { isAuthError } from "./errors/normalize.js";
102
102
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
103
103
  // useToast - React hook for use toast.
104
104
  export { useToast } from "./ui/components/Toast.js";
@@ -142,17 +142,19 @@ export { useInfiniteScroll } from "./react/hooks/useInfiniteScroll.js";
142
142
  export { useUnsavedChanges } from "./react/hooks/useUnsavedChanges.js";
143
143
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
144
144
  // FirebaseClientAuthProvider - Component for firebase client auth provider.
145
- export { FirebaseClientAuthProvider } from "./providers/firebase-client/index.js";
145
+ export { FirebaseClientAuthProvider } from "./providers/firebase-client/auth.js";
146
146
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
147
147
  // FirebaseClientRealtimeProvider - Component for firebase client realtime provider.
148
- export { FirebaseClientRealtimeProvider } from "./providers/firebase-client/index.js";
148
+ export { FirebaseClientRealtimeProvider } from "./providers/firebase-client/realtime.js";
149
149
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
150
150
  // EventFormDrawer - Component for event form drawer.
151
- export { EventFormDrawer, EventParticipateView, EventPollWidget } from "./features/events/index.js";
151
+ export { EventFormDrawer } from "./features/events/components/EventFormDrawer.js";
152
+ export { EventParticipateView } from "./features/events/components/EventParticipateView.js";
153
+ export { EventPollWidget } from "./features/events/components/EventPollWidget.js";
152
154
  // useBulkEvent - subscribes to an enqueued async job's RTDB progress channel (Async Job Primitive).
153
- export { useBulkEvent } from "./features/events/index.js";
155
+ export { useBulkEvent } from "./features/events/hooks/useBulkEvent.js";
154
156
  // RTDB_PATHS - realtime database path constants (e.g. RTDB_PATHS.BULK_EVENTS for useBulkEvent).
155
- export { RTDB_PATHS } from "./providers/db-firebase/index.js";
157
+ export { RTDB_PATHS } from "./providers/db-firebase/rtdb-paths.js";
156
158
  // Lottery feature — client components (safe for client bundles — no server imports)
157
159
  export { LotterySlotGrid } from "./_internal/client/features/lottery/LotterySlotGrid.js";
158
160
  export { LotteryPullForm } from "./_internal/client/features/lottery/LotteryPullForm.js";
@@ -175,31 +177,31 @@ export { QuickFormDrawer } from "./features/shell/QuickFormDrawer.js";
175
177
  export { PrizeDrawLotteryDetailView } from "./_internal/client/features/lottery/PrizeDrawLotteryDetailView.js";
176
178
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
177
179
  // BottomSheet - Shared export for bottom sheet.
178
- export { BottomSheet } from "./features/layout/index.js";
180
+ export { BottomSheet } from "./features/layout/BottomSheet.js";
179
181
  export { PageTabs } from "./features/layout/PageTabs.js";
180
- export { ImageUpload } from "./features/media/index.js";
181
- export { AvatarUpload } from "./features/media/index.js";
182
+ export { ImageUpload } from "./features/media/upload/ImageUpload.js";
183
+ export { AvatarUpload } from "./features/media/AvatarUpload.js";
182
184
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
183
185
  // ImageCropModal - Component for image crop modal.
184
- export { ImageCropModal } from "./features/media/index.js";
186
+ export { ImageCropModal } from "./features/media/modals/ImageCropModal.js";
185
187
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
186
188
  // VideoTrimModal - Component for video trim modal.
187
- export { VideoTrimModal } from "./features/media/index.js";
189
+ export { VideoTrimModal } from "./features/media/modals/VideoTrimModal.js";
188
190
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
189
191
  // useMediaAbort - React hook for use media abort.
190
- export { useMediaAbort } from "./features/media/index.js";
192
+ export { useMediaAbort } from "./features/media/hooks/useMedia.js";
191
193
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
192
194
  // useMediaCleanup - React hook for use media cleanup.
193
- export { useMediaCleanup } from "./features/media/index.js";
195
+ export { useMediaCleanup } from "./features/media/hooks/useMedia.js";
194
196
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
195
197
  // useMediaCrop - React hook for use media crop.
196
- export { useMediaCrop } from "./features/media/index.js";
198
+ export { useMediaCrop } from "./features/media/hooks/useMedia.js";
197
199
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
198
200
  // useMediaTrim - React hook for use media trim.
199
- export { useMediaTrim } from "./features/media/index.js";
201
+ export { useMediaTrim } from "./features/media/hooks/useMedia.js";
200
202
  // [CLIENT-ONLY]-Cannot run in SSR mode â€" uses browser-only APIs (window, navigator, localStorage, matchMedia, DOM events) that do not exist in Node.js.
201
203
  // useMediaUpload - React hook for use media upload.
202
- export { useMediaUpload } from "./features/media/index.js";
204
+ export { useMediaUpload } from "./features/media/hooks/useMedia.js";
203
205
  // Client-side context providers
204
206
  export { SessionProvider, useSession } from "./react/contexts/SessionContext.js";
205
207
  /*
@@ -234,7 +236,7 @@ export { moderationReviewFormSchema, moderationReviewUpdateSchema, MODERATION_RE
234
236
  export { reportReviewFormSchema, reportReviewUpdateSchema, REPORT_REVIEWER_STATUSES, REPORT_TERMINAL_STATUSES, } from "./features/store-extensions/schemas/report-review-form.js";
235
237
  export { shippingConfigFormSchema, SHIPPING_METHOD_OPTIONS, shippingConfigCreateSchema, shippingConfigUpdateSchema, } from "./features/store-extensions/schemas/shipping-config-form.js";
236
238
  export { listingTemplateFormSchema, LISTING_TEMPLATE_TYPE_OPTIONS, listingTemplateCreateSchema, listingTemplateUpdateSchema, } from "./features/store-extensions/schemas/listing-template-form.js";
237
- export { ROUTES, PUBLIC_ROUTES, PROTECTED_ROUTES, AUTH_ROUTES } from "./constants/index.js";
239
+ export { ROUTES, PUBLIC_ROUTES, PROTECTED_ROUTES, AUTH_ROUTES } from "./next/routing/route-map.js";
238
240
  export { SORT_DIR, sortBy } from "./constants/sort.js";
239
241
  export { SIEVE_OP, sieveFilter, sieveAnd, sieveMultiEq } from "./utils/sieve-builder.js";
240
242
  export { formatCurrency } from "./utils/number.formatter.js";
@@ -253,27 +255,33 @@ export { RadioItem } from "./ui/components/Radio.js";
253
255
  export { Input } from "./ui/components/Input.js";
254
256
  export { OtpInput } from "./ui/components/OtpInput.js";
255
257
  export { DateInput, DateRangeInput } from "./ui/components/DateInput.js";
256
- export { FormShellProvider, FormShellContext, useFormShell, useFormShellState, applyZodIssues } from "./ui/forms/index.js";
257
- export { FieldInput } from "./ui/forms/index.js";
258
- export { FieldSelect } from "./ui/forms/index.js";
259
- export { FieldCheckbox } from "./ui/forms/index.js";
260
- export { FieldTextarea } from "./ui/forms/index.js";
261
- export { ColorPickerField } from "./ui/forms/index.js";
262
- export { FormErrorSummary } from "./ui/forms/index.js";
263
- export { RecordStatusTimeline } from "./features/status-history/index.js";
264
- export { FormErrorList } from "./ui/forms/index.js";
265
- export { useFormBottomActions } from "./features/layout/index.js";
258
+ export { FormShellProvider, FormShellContext, useFormShell, useFormShellState } from "./ui/forms/FormShell.js";
259
+ export { applyZodIssues } from "./ui/forms/apply-zod-issues.js";
260
+ export { FieldInput } from "./ui/forms/FieldInput.js";
261
+ export { FieldSelect } from "./ui/forms/FieldSelect.js";
262
+ export { FieldCheckbox } from "./ui/forms/FieldCheckbox.js";
263
+ export { FieldTextarea } from "./ui/forms/FieldTextarea.js";
264
+ export { ColorPickerField } from "./ui/forms/ColorPickerField.js";
265
+ export { FormErrorSummary } from "./ui/forms/FormErrorSummary.js";
266
+ export { RecordStatusTimeline } from "./features/status-history/components/RecordStatusTimeline.js";
267
+ export { FormErrorList } from "./ui/forms/FormErrorList.js";
268
+ export { useFormBottomActions } from "./features/layout/hooks/useFormBottomActions.js";
266
269
  export { OverlayContext, useIsInsideOverlay } from "./ui/components/overlay-context.js";
267
270
  export { Select } from "./ui/components/Select.js";
268
271
  export { Heading } from "./ui/components/Typography.js";
269
272
  export { Label, Text, Span, Caption } from "./ui/components/Typography.js";
270
273
  export { TextLink } from "./ui/components/TextLink.js";
271
274
  export { Anchor } from "./ui/components/Anchor.js";
272
- export { IconButton } from "./ui/index.js";
275
+ export { IconButton } from "./ui/components/IconButton.js";
273
276
  export { ActionRow } from "./ui/components/ActionRow.js";
274
277
  export { Textarea } from "./ui/components/Textarea.js";
275
278
  export { GlobalError } from "./next/components/GlobalError.js";
276
- export { AppLayoutShell, LocaleSwitcher, useDashboardNav, BottomActionsProvider, useBottomActions, DashboardNavProvider, LayoutClient } from "./features/layout/index.js";
279
+ export { AppLayoutShell } from "./features/layout/AppLayoutShell.js";
280
+ export { LocaleSwitcher } from "./features/layout/LocaleSwitcher.js";
281
+ export { useDashboardNav, DashboardNavProvider } from "./features/layout/DashboardNavContext.js";
282
+ export { BottomActionsProvider } from "./features/layout/BottomActionsContext.js";
283
+ export { useBottomActions } from "./features/layout/hooks/useBottomActions.js";
284
+ export { LayoutClient } from "./features/layout/LayoutClient.js";
277
285
  /**
278
286
  * A page declares its own inline primary CTA so the floating action control
279
287
  * stays out of its way until that button has been seen and scrolled past. A
@@ -281,13 +289,24 @@ export { AppLayoutShell, LocaleSwitcher, useDashboardNav, BottomActionsProvider,
281
289
  * which is right for a bulk-selection screen and wrong for anything with a
282
290
  * visible Buy/Checkout button. See `useCtaReveal`.
283
291
  */
284
- export { ctaAnchorProps, CTA_ANCHOR_ATTR } from "./features/layout/index.js";
292
+ export { ctaAnchorProps, CTA_ANCHOR_ATTR } from "./features/layout/cta-anchor.js";
285
293
  export { ListingLayout } from "./ui/components/ListingLayout.js";
286
- export { Search } from "./features/search/components/index.js";
287
- export { ToastProvider, SkipToMain, NavigationLoader } from "./ui/index.js";
294
+ export { Search } from "./features/search/components/Search.js";
295
+ export { ToastProvider } from "./ui/components/Toast.js";
296
+ export { SkipToMain } from "./ui/components/SkipToMain.js";
297
+ export { NavigationLoader } from "./ui/components/NavigationLoader.js";
288
298
  export { ZodSetup } from "./validation/ZodSetup.js";
289
299
  export { AdminSidebar } from "./features/admin/components/AdminSidebar.js";
290
- export { AdminDashboardView, AdminAnalyticsView, AdminPageViewsReportView, AdminPrizeDrawsView, AdminCarouselView, AdminSublistingCategoriesView, AdminFulfillmentView, DataTable, DataListingView, useAdminListingData, toRecordArray, toStringValue, toRelativeDate } from "./features/admin/index.js";
300
+ export { AdminDashboardView } from "./features/admin/components/AdminDashboardView.js";
301
+ export { AdminAnalyticsView } from "./features/admin/components/AdminAnalyticsView.js";
302
+ export { AdminPageViewsReportView } from "./features/admin/components/analytics/AdminPageViewsReportView.js";
303
+ export { AdminPrizeDrawsView } from "./features/admin/components/AdminPrizeDrawsView.js";
304
+ export { AdminCarouselView } from "./features/admin/components/AdminCarouselView.js";
305
+ export { AdminSublistingCategoriesView } from "./features/admin/components/AdminSublistingCategoriesView.js";
306
+ export { AdminFulfillmentView } from "./features/admin/components/AdminFulfillmentView.js";
307
+ export { DataTable } from "./features/admin/components/DataTable.js";
308
+ export { DataListingView } from "./features/admin/components/DataListingView.js";
309
+ export { useAdminListingData, toRecordArray, toStringValue, toRelativeDate } from "./features/admin/hooks/useAdminListingData.js";
291
310
  // S-ADMIN-7 — permission catalog data, shared by AdminEmployeeEditorView and the read-only /admin/permissions page.
292
311
  export { PERMISSION_GROUPS, PERMISSION_DOMAINS, getPermissionsForDomain, formatPermLabel } from "./features/auth/permissions/constants.js";
293
312
  /*
@@ -298,8 +317,8 @@ export { PERMISSION_GROUPS, PERMISSION_DOMAINS, getPermissionsForDomain, formatP
298
317
  * leak (Root Cause #6).
299
318
  */
300
319
  export { Details, Summary } from "./ui/components/Details.js";
301
- export { ADMIN_ENDPOINTS } from "./constants/index.js";
302
- export { SELLER_ENDPOINTS } from "./constants/index.js";
320
+ export { ADMIN_ENDPOINTS } from "./constants/api-endpoints.js";
321
+ export { SELLER_ENDPOINTS } from "./constants/api-endpoints.js";
303
322
  /**
304
323
  * The buyer-portal endpoint map. Its admin and seller siblings were already
305
324
  * here; this one was reachable only from `index.ts`, so a Client Component
@@ -308,11 +327,11 @@ export { SELLER_ENDPOINTS } from "./constants/index.js";
308
327
  * client-bundle leak audit-client-server-only-leak blocks). Added for
309
328
  * BidDetailPageClient — checklist-page-wiring-detail-pages-detail-page-matches-list-modal.
310
329
  */
311
- export { ACCOUNT_ENDPOINTS } from "./constants/index.js";
312
- export { REVIEW_ENDPOINTS } from "./constants/index.js";
330
+ export { ACCOUNT_ENDPOINTS } from "./constants/api-endpoints.js";
331
+ export { REVIEW_ENDPOINTS } from "./constants/api-endpoints.js";
313
332
  // P-16 — Tour system (driver.js-backed onboarding walkthrough).
314
333
  export { TourProvider, useTour } from "./_internal/client/features/tour/TourProvider.js";
315
- export { apiClient, ApiClientError } from "./http/index.js";
334
+ export { apiClient, ApiClientError } from "./http/ApiClient.js";
316
335
  export { UserSidebar } from "./features/account/components/UserSidebar.js";
317
336
  export { CouponsIndexListing } from "./features/promotions/components/CouponsIndexListing.js";
318
337
  export { CouponHelpDetails } from "./features/promotions/components/CouponHelpDetails.js";
@@ -331,26 +350,47 @@ export { buildBidDetailFields, bidStatusBadge } from "./features/auctions/compon
331
350
  // Same reason, one feature over: the entry detail modal and its full page
332
351
  // render from one builder rather than two lists that can drift.
333
352
  export { buildEventEntryDetailFields } from "./features/events/components/event-entry-detail-fields.js";
334
- export { ProtectedRoute, ForgotPasswordView, LoginForm, RegisterForm, ResetPasswordView, VerifyEmailView } from "./features/auth/index.js";
335
- export { useLogout, useLogin, useGoogleLogin, useLinkGoogleAccount, useRegister, useForgotPassword, useResetPassword, useVerifyEmail, useChangeEmail } from "./features/auth/index.js";
336
- export { CartView, CartItemRow, CartGroupLineRow, CartSummary, CartPriceBreakdown, CartDrawer, CheckoutView, CheckoutSuccessView, CheckoutAddressStep, useGuestCart, useCartCount, useAddToCart, useCart, useGuestCartMerge, useCartQuery } from "./features/cart/index.js";
337
- export { StoreAddonsPicker, hasAnyStoreAddon } from "./features/cart/index.js";
353
+ export { ProtectedRoute } from "./features/auth/components/Guards.js";
354
+ export { ForgotPasswordView } from "./features/auth/components/ForgotPasswordView.js";
355
+ export { LoginForm } from "./features/auth/components/LoginForm.js";
356
+ export { RegisterForm } from "./features/auth/components/RegisterForm.js";
357
+ export { ResetPasswordView } from "./features/auth/components/ResetPasswordView.js";
358
+ export { VerifyEmailView } from "./features/auth/components/VerifyEmailView.js";
359
+ export { useLogout } from "./features/auth/hooks/useLogout.js";
360
+ export { useLogin, useGoogleLogin, useLinkGoogleAccount, useRegister, useForgotPassword, useResetPassword, useVerifyEmail, useChangeEmail } from "./features/auth/hooks/useAuth.js";
361
+ export { CartView } from "./features/cart/components/CartView.js";
362
+ export { CartItemRow, CartDrawer } from "./features/cart/components/CartDrawer.js";
363
+ export { CartGroupLineRow } from "./features/cart/components/CartGroupLineRow.js";
364
+ export { CartSummary } from "./features/cart/components/CartSummary.js";
365
+ export { CartPriceBreakdown } from "./features/cart/components/CartPriceBreakdown.js";
366
+ export { CheckoutView } from "./features/cart/components/CheckoutView.js";
367
+ export { CheckoutSuccessView } from "./features/cart/components/CheckoutSuccessView.js";
368
+ export { CheckoutAddressStep } from "./features/cart/components/CheckoutAddressStep.js";
369
+ export { useGuestCart } from "./features/cart/hooks/useGuestCart.js";
370
+ export { useCartCount } from "./features/cart/hooks/useCartCount.js";
371
+ export { useAddToCart } from "./features/cart/hooks/useAddToCart.js";
372
+ export { useCart } from "./features/cart/hooks/useCart.js";
373
+ export { useGuestCartMerge } from "./features/cart/hooks/useGuestCartMerge.js";
374
+ export { useCartQuery } from "./features/cart/hooks/useCartQuery.js";
375
+ export { StoreAddonsPicker, hasAnyStoreAddon } from "./features/cart/components/StoreAddonsPicker.js";
338
376
  // D46/D47 — the cart's single "pay with my points" control. One per CART, not
339
377
  // per store, unlike the add-ons picker above it: points are the buyer's balance
340
378
  // rather than something bought from a seller.
341
- export { PointsTenderPicker } from "./features/cart/index.js";
379
+ export { PointsTenderPicker } from "./features/cart/components/PointsTenderPicker.js";
342
380
  export { clientLineTotal } from "./features/cart/utils/line-total.js";
343
381
  // `clearCartOps` / `removeCartOpsFor` are exported because the cart page has to
344
382
  // drain the queue after a removal succeeds server-side — without them a cleared
345
383
  // row is re-layered onto the next render and re-POSTed by useSyncManager 30s later.
346
384
  export { getCartOps, clearCartOps, removeCartOpsFor, CART_OPS_CHANGE_EVENT } from "./features/cart/utils/pending-ops.js";
347
- export { useAddresses, useCreateAddress, useUpdateAddress, useDeleteAddress, useSetDefaultAddress, useAddress } from "./features/account/index.js";
348
- export { AddressBook, AddressCard, AddressForm } from "./features/account/index.js";
349
- export { useProfile, useUpdateProfile } from "./features/account/index.js";
350
- export { updateProfileSchema } from "./features/account/index.js";
351
- export { MediaImage } from "./features/media/index.js";
385
+ export { useAddresses, useCreateAddress, useUpdateAddress, useDeleteAddress, useSetDefaultAddress, useAddress } from "./features/account/hooks/useAddresses.js";
386
+ export { AddressBook, AddressCard } from "./features/account/components/AddressBook.js";
387
+ export { AddressForm } from "./features/account/components/AddressForm.js";
388
+ export { useCurrentProfile as useProfile, useUpdateCurrentProfile as useUpdateProfile } from "./features/account/hooks/useProfile.js";
389
+ export { updateProfileSchema } from "./features/account/schemas/index.js";
390
+ export { MediaImage } from "./features/media/MediaImage.js";
352
391
  export { StoreSidebar } from "./features/seller/components/SellerSidebar.js";
353
- export { StoreProductsView, StoreAboutView } from "./features/stores/index.js";
392
+ export { StoreProductsView } from "./features/stores/components/StoreProductsView.js";
393
+ export { StoreAboutView } from "./features/stores/components/StoreAboutView.js";
354
394
  /*
355
395
  * The browser-side search index. Exported from its DEFINING module rather
356
396
  * than through `features/search/index` (Root Cause #18) — `ensureSearchIndex`
@@ -372,7 +412,9 @@ export { ConversationsInboxView } from "./features/messages/components/Conversat
372
412
  export { ConversationThreadView } from "./features/messages/components/ConversationThreadView.js";
373
413
  export { MessageSellerButton } from "./features/messages/components/MessageSellerButton.js";
374
414
  export { useConversations, useOpenConversation, useOpenConversationWithSeller, useConversationThread, useSendMessage, useMarkConversationRead, useBlockConversation, useUnreadMessageCount, } from "./features/messages/hooks/useMessages.js";
375
- export { WishlistView, useGuestWishlist, useWishlistWithGuest } from "./features/wishlist/index.js";
415
+ export { WishlistView } from "./features/wishlist/components/WishlistView.js";
416
+ export { useGuestWishlist } from "./features/wishlist/hooks/useGuestWishlist.js";
417
+ export { useWishlistWithGuest } from "./features/wishlist/hooks/useWishlistWithGuest.js";
376
418
  export { WishlistCapWatcher } from "./features/wishlist/components/WishlistCapWatcher.js";
377
419
  // The single wishlist heart. Exported here too because it is a "use client"
378
420
  // UI component and consumer client code imports from this entry.
@@ -380,7 +422,7 @@ export { WishlistHeartButton } from "./features/wishlist/components/WishlistHear
380
422
  export { SyncManagerMount } from "./core/components/SyncManagerMount.js";
381
423
  export { useWishlistCount, useWishlistCountWithLimit, WISHLIST_CAP_EVENT } from "./features/wishlist/hooks/useWishlistCount.js";
382
424
  export { getGuestWishlistItems, addToGuestWishlist, removeFromGuestWishlist, isInGuestWishlist, clearGuestWishlist, getGuestWishlistCount, getGuestWishlistByType, } from "./features/wishlist/utils/guest-wishlist.js";
383
- export { InteractiveProductCard } from "./features/products/index.js";
425
+ export { InteractiveProductCard } from "./features/products/components/InteractiveProductCard.js";
384
426
  export { GroupedListingEditorView } from "./features/grouped/components/GroupedListingEditorView.js";
385
427
  export { GroupedListingDetailView } from "./features/grouped/components/GroupedListingDetailView.js";
386
428
  export { GroupMemberPicker } from "./features/products/components/GroupMemberPicker.js";
@@ -391,13 +433,13 @@ export { STANDARD_SORT_OPTIONS, STANDARD_PUBLIC_SORT_OPTIONS, AUCTION_SORT_OPTIO
391
433
  // Derived from the listing-type plugin registry — see the note in index.ts.
392
434
  export { sortOptionsFor, commonSortOptionsFor, hideDefaultsFor, } from "./_internal/shared/listing-types/_registry.js";
393
435
  // Product / listing actions
394
- export { ACTION_ID, ACTION_META, DETAIL_ACTIONS, MOBILE_PRIMARY_ACTIONS, LISTING_BULK_ACTIONS } from "./features/products/index.js";
436
+ export { ACTION_ID, ACTION_META, DETAIL_ACTIONS, MOBILE_PRIMARY_ACTIONS, LISTING_BULK_ACTIONS } from "./features/products/constants/action-defs.js";
395
437
  // Row / table actions (admin, seller, user dashboards)
396
- export { ROW_ACTION_ID, ROW_ACTION_META, ADMIN_ROW_ACTIONS, SELLER_ROW_ACTIONS, USER_ROW_ACTIONS, ADMIN_BULK_ACTIONS, SELLER_BULK_ACTIONS } from "./features/products/index.js";
438
+ export { ROW_ACTION_ID, ROW_ACTION_META, ADMIN_ROW_ACTIONS, SELLER_ROW_ACTIONS, USER_ROW_ACTIONS, ADMIN_BULK_ACTIONS, SELLER_BULK_ACTIONS } from "./features/products/constants/action-defs.js";
397
439
  // Form shell actions
398
- export { FORM_ACTION_ID, FORM_ACTION_META, FORM_FOOTER_PRESET } from "./features/products/index.js";
440
+ export { FORM_ACTION_ID, FORM_ACTION_META, FORM_FOOTER_PRESET } from "./features/products/constants/action-defs.js";
399
441
  // Dashboard quick actions
400
- export { DASHBOARD_QUICK_ACTION_ID, DASHBOARD_QUICK_ACTION_META, DASHBOARD_QUICK_ACTIONS } from "./features/products/index.js";
442
+ export { DASHBOARD_QUICK_ACTION_ID, DASHBOARD_QUICK_ACTION_META, DASHBOARD_QUICK_ACTIONS } from "./features/products/constants/action-defs.js";
401
443
  // [CLIENT-ONLY] useAuthGate: pre-dispatch auth gate using ACTION_ID registry.
402
444
  export { useAuthGate } from "./react/hooks/useAuthGate.js";
403
445
  // [CLIENT-ONLY] W1-43 — useListingTypeFlags: read featureFlags.listingTypes
@@ -417,11 +459,34 @@ export { ProductFeaturesProvider, useProductFeatures, } from "./features/product
417
459
  export { FeatureBadge, FeatureBadgeList } from "./features/products/components/FeatureBadge.js";
418
460
  export { UserOffersPanel } from "./features/account/components/UserOffersPanel.js";
419
461
  export { SellerDashboardView as StoreDashboardView, SellerDashboardView, useSellerDashboard as useStoreDashboard, useSellerDashboard } from "./features/seller/index.js";
420
- export { SellerPayoutSettingsView, SellerShippingView, SellerReviewsView, SellerPayoutRequestView, SellerAnalyticsStats, SellerTopProducts, SellerAnalyticsView, SellerPayoutsView, SellerCouponEditorView, SellerBidsView, SellerAddressesView, PrintCenterView, SellerOffersView, SellerGroupedListingsView, StoreGroupedListingsView, SellerAnalyticsAlertsView, StoreAnalyticsAlertsView, BarcodeField, FulfillmentView, SellerListingTypeView, SELLER_LISTING_TYPE_SPECS } from "./features/seller/components/index.js";
462
+ export { SellerPayoutSettingsView } from "./features/seller/components/SellerPayoutSettingsView.js";
463
+ export { SellerShippingView } from "./features/seller/components/SellerShippingView.js";
464
+ export { SellerReviewsView } from "./features/seller/components/SellerReviewsView.js";
465
+ export { SellerPayoutRequestView } from "./features/seller/components/SellerPayoutRequestView.js";
466
+ export { SellerAnalyticsStats } from "./features/seller/components/analytics/SellerAnalyticsStats.js";
467
+ export { SellerTopProducts } from "./features/seller/components/analytics/SellerTopProducts.js";
468
+ export { SellerAnalyticsView } from "./features/seller/components/SellerAnalyticsView.js";
469
+ export { SellerPayoutsView } from "./features/seller/components/SellerPayoutsView.js";
470
+ export { SellerCouponEditorView } from "./features/seller/components/SellerCouponEditorView.js";
471
+ export { SellerBidsView } from "./features/seller/components/SellerBidsView.js";
472
+ export { SellerAddressesView } from "./features/seller/components/SellerAddressesView.js";
473
+ export { PrintCenterView } from "./features/seller/components/PrintCenterView.js";
474
+ export { SellerOffersView } from "./features/seller/components/SellerOffersView.js";
475
+ export { SellerGroupedListingsView, SellerGroupedListingsView as StoreGroupedListingsView } from "./features/seller/components/SellerGroupedListingsView.js";
476
+ export { SellerAnalyticsAlertsView, SellerAnalyticsAlertsView as StoreAnalyticsAlertsView } from "./features/seller/components/SellerAnalyticsAlertsView.js";
477
+ export { BarcodeField } from "./features/seller/components/BarcodeField.js";
478
+ export { FulfillmentView } from "./features/seller/components/FulfillmentView.js";
479
+ export { SellerListingTypeView, SELLER_LISTING_TYPE_SPECS } from "./features/seller/components/SellerListingTypeView.js";
421
480
  /* The draft → route conversion, so both coupon callsites share one rule. */
422
481
  export { couponDraftToPayload } from "./features/seller/schemas/coupon-form.js";
423
- export { UserAccountHubView, UserOrdersView, UserBidsView, OrderDetailView, UserReturnsView, useNotifications } from "./features/account/index.js";
424
- export { useOrders, useOrder, OrdersList } from "./features/orders/index.js";
482
+ export { UserAccountHubView } from "./features/account/components/UserAccountHubView.js";
483
+ export { UserOrdersView } from "./features/account/components/UserOrdersView.js";
484
+ export { UserBidsView } from "./features/account/components/UserBidsView.js";
485
+ export { OrderDetailView } from "./features/account/components/OrderDetailView.js";
486
+ export { UserReturnsView } from "./features/account/components/UserReturnsView.js";
487
+ export { useNotifications } from "./features/account/hooks/useNotifications.js";
488
+ export { useOrders, useOrder } from "./features/orders/hooks/useOrders.js";
489
+ export { OrdersList } from "./features/orders/components/OrdersList.js";
425
490
  export { OrderStatusTimeline } from "./features/orders/components/OrderStatusTimeline.js";
426
491
  export { OrderProvenanceCard } from "./features/orders/components/OrderProvenanceCard.js";
427
492
  // The buyer's dispute form: pick a kind, pick a reason, say what happened.
@@ -456,8 +521,8 @@ export { UserOrderTrackView } from "./features/account/components/UserOrderTrack
456
521
  export { useCouponValidate } from "./features/promotions/hooks/useCouponValidate.js";
457
522
  export { BlogPostView } from "./features/blog/components/BlogPostView.js";
458
523
  export { BlogCard, BlogCategoryTabs, BlogListView } from "./features/blog/components/BlogListView.js";
459
- export { EventDetailView } from "./features/events/components/index.js";
460
- export { PromotionsViewProductSection, PromotionsHero, PromotionsView } from "./features/promotions/components/index.js";
524
+ export { EventDetailView } from "./features/events/components/EventDetailView.js";
525
+ export { PromotionsViewProductSection, PromotionsHero, PromotionsView } from "./features/promotions/components/PromotionsView.js";
461
526
  export { RichText } from "./ui/rich-text/RichText.js";
462
527
  export { RichTextRenderer } from "./ui/rich-text/RichTextRenderer.js";
463
528
  // Scam registry — pure data constants safe for client bundle
@@ -494,7 +559,8 @@ export { buildBulkAction } from "./_internal/shared/actions/bulk-helpers.js";
494
559
  // SB-UNI-E user-role predicates (pure functions, client-safe).
495
560
  export { isAdminUser, isSellerUser, isModeratorUser, isEmployeeUser, isBuyerUser, isEffectiveAdminUser, isTesterUser, canTestAdminSurfaces, isStrictSellerUser, isAccountDisabled, } from "./features/auth/role-predicates.js";
496
561
  // Layout feature — client islands (unifies admin/store/user dashboard layouts).
497
- export { DashboardLayoutClient, RoleGuard } from "./_internal/client/features/layout/index.js";
562
+ export { DashboardLayoutClient } from "./_internal/client/features/layout/DashboardLayoutClient.js";
563
+ export { RoleGuard } from "./_internal/client/features/layout/RoleGuard.js";
498
564
  // Listing-type capability registry — SB-UNI X1.
499
565
  export { LISTING_TYPE_CAPABILITIES, capabilityFor, canAddToCart, canBid, supportsShipping, requiresVendorVerified, requiresJurisdictionCheck, hasInstantFulfillment, assertNever, } from "./_internal/shared/listing-types/capabilities.js";
500
566
  export { LISTING_TYPE_REGISTRY, pluginFor, detectListingTypeFromSlug } from "./_internal/shared/listing-types/_registry.js";
@@ -557,25 +623,26 @@ export { normalizeError, getErrorMessage, isApiNormalized, isAppNormalized, isFi
557
623
  * number.
558
624
  */
559
625
  export { buildPaymentProofReviewMessage } from "./features/orders/utils/payment-proof-message.js";
560
- export { CommandPalette, useCommandPaletteHotkey } from "./features/shell/index.js";
626
+ export { CommandPalette, useCommandPaletteHotkey } from "./features/shell/CommandPalette.js";
561
627
  export { AdminBlogEditorView, AdminBundleEditorView, AdminCarouselEditorView, AdminCategoryEditorView, AdminCouponEditorView, AdminFaqEditorView, AdminFeatureEditorView, AdminOrderEditorView, AdminPayoutMarkPaidModal, AdminAuditLogView, AdminMoneyCasesView, AdminGatewayEventsView, ViewAuditLogEntryModal, AdminProductEditorView, AdminScammerEditorView,
562
628
  // Client-exported for the W22 /admin/team/{new,[id]/edit} pages. It was
563
629
  // reachable only from `index.ts` (the SERVER entry), which a "use client"
564
630
  // page must never import — that is the Turbopack client-bundle trap.
565
631
  AdminEmployeeEditorView, AdminNavEditorView, AdminUserEditorView, AdminStoreEditorView, AdminSublistingCategoryEditorView, AdminSupportTicketDetailView, } from "./features/admin/index.js";
566
- export { PageLoader } from "./ui/index.js";
632
+ export { PageLoader } from "./ui/components/PageLoader.js";
567
633
  export { ADMIN_CHECKOUT_BYPASS_FLAG_KEY } from "./features/admin/schemas/firestore.js";
568
- export { SpinWheelView, EventRaffleEntryForm } from "./features/events/index.js";
569
- export { Card, CardBody } from "./ui/index.js";
634
+ export { SpinWheelView } from "./features/events/components/SpinWheelView.js";
635
+ export { EventRaffleEntryForm } from "./features/events/components/EventRaffleEntryForm.js";
636
+ export { Card, CardBody } from "./ui/components/Card.js";
570
637
  export { SellerCouponsView, SellerCreateProductView, SellerEditProductView, useBecomeSeller, } from "./features/seller/index.js";
571
- export { BecomeSellerView } from "./features/account/index.js";
572
- export { groupOrderItemsByLine } from "./features/orders/index.js";
573
- export { shortOrderRef } from "./features/orders/index.js";
574
- export { MediaUploadField } from "./features/media/index.js";
638
+ export { BecomeSellerView } from "./features/account/components/BecomeSellerView.js";
639
+ export { groupOrderItemsByLine } from "./features/orders/utils/bundle-grouping.js";
640
+ export { shortOrderRef } from "./features/orders/utils/order-ref.js";
641
+ export { MediaUploadField } from "./features/media/upload/MediaUploadField.js";
575
642
  export { PrizeRevealModal } from "./features/products/components/PrizeRevealModal.js";
576
- export { useProduct } from "./features/products/index.js";
643
+ export { useProduct } from "./features/products/hooks/useProducts.js";
577
644
  export { BUNDLE_COPY } from "./_internal/shared/features/categories/bundle-copy.js";
578
- export { useSiteSettings } from "./core/index.js";
645
+ export { useSiteSettings } from "./core/hooks/useSiteSettings.js";
579
646
  export { checkEmiEligibility, computeEmiSchedule, computeBuyerEmiQuote, } from "./_internal/shared/features/emi/schedule.js";
580
647
  /*
581
648
  * 0f — the checkout client needs to know which tenders can carry instalments
@@ -587,12 +654,12 @@ export { emiTenderBlockReason, isTenderCompatibleWithEmi } from "./_internal/sha
587
654
  /* The derivation strings for the fee breakdown — pure, no I/O. */
588
655
  export { explainCodHandlingFee, explainEmiSurcharge, explainGstOnPlatformFee, explainPlatformFee, } from "./_internal/shared/fees/explain.js";
589
656
  export { computeCodHandlingFee } from "./_internal/shared/fees/calculator.js"; // reexport-from-internal-ok: pure fee-calc utility consumed directly by public checkout UI (CheckoutRouteClient.tsx), same category as the sibling computeEmiSchedule/checkEmiEligibility re-export two lines above
590
- export { FAQPageContent } from "./features/faq/index.js";
657
+ export { FAQPageContent } from "./features/faq/components/FAQPageContent.js";
591
658
  export { CategoryInlineSelect } from "./features/seller/components/CategoryInlineSelect.js";
592
659
  export { CategoryTemplatePicker, variantForCondition } from "./features/categories/components/CategoryTemplatePicker.js";
593
660
  export { PriceGuidanceHint } from "./features/categories/components/PriceGuidanceHint.js";
594
661
  export { BrandInlineSelect } from "./features/seller/components/BrandInlineSelect.js";
595
- export { API_ENDPOINTS } from "./constants/index.js";
662
+ export { API_ENDPOINTS } from "./constants/api-endpoints.js";
596
663
  // [CLIENT-SAFE] Pure, zero-import constant files — dashboard filter-tab
597
664
  // sets and Firestore field-name maps. No server dependency of any kind.
598
665
  export { SELLER_LISTING_TABS, } from "./features/products/constants/listing-tabs.js";
@@ -1,5 +1,5 @@
1
1
  import { NextResponse } from "next/server.js";
2
- import type { JsonValue } from "@mohasinac/appkit";
2
+ import type { JsonValue } from "../schemas/types";
3
3
  import { AppError } from "./base-error";
4
4
  /**
5
5
  * Handle API errors with consistent response format.
@@ -1,5 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Anchor, Avatar, Badge, Card, Div, Heading, Row, Section, Span, Stack, Text, TextLink } from "../../../ui/index.js";
2
+ import { Anchor } from "../../../ui/components/Anchor.js";
3
+ import { Avatar } from "../../../ui/components/Avatar.js";
4
+ import { Badge } from "../../../ui/components/Badge.js";
5
+ import { Card } from "../../../ui/components/Card.js";
6
+ import { Div } from "../../../ui/components/Div.js";
7
+ import { Heading, Span, Text } from "../../../ui/components/Typography.js";
8
+ import { Row, Stack } from "../../../ui/components/Layout.js";
9
+ import { Section } from "../../../ui/components/Semantic.js";
10
+ import { TextLink } from "../../../ui/components/TextLink.js";
3
11
  import { ROUTES } from "../../../constants/index.js";
4
12
  export function AboutView({ labels = {}, howItems = [], valueItems = [], milestones = [], teamMembers = [], ctaBannerClass = "", renderCtaButtons, }) {
5
13
  return (_jsxs(Div, { className: "-mx-4 md:-mx-6 lg:-mx-8 -mt-6 sm:-mt-8 lg:-mt-10", children: [_jsx(Section, { color: "inverse", tone: "accent-banner", padding: "y-4xl", children: _jsxs(Div, { paddingX: "x-page", className: "max-w-4xl mx-auto text-center", children: [_jsx(Heading, { color: "inverse", level: 1, variant: "none", className: "mb-6", mdSize: "5xl", size: "4xl", weight: "bold", children: labels.title }), _jsx(Text, { color: "inverse-muted", variant: "none", className: "max-w-2xl mx-auto", size: "xl", children: labels.subtitle })] }) }), _jsxs(Stack, { gap: "section", paddingX: "x-page", className: "max-w-5xl mx-auto", padding: "y-4xl", children: [_jsxs(Section, { className: "text-center max-w-3xl mx-auto", children: [_jsx(Heading, { level: 2, className: "mb-4", children: labels.missionTitle }), _jsx(Text, { size: "lg", variant: "secondary", className: "leading-relaxed", children: labels.missionText })] }), _jsxs(Section, { children: [_jsx(Heading, { level: 2, className: "mb-12", align: "center", children: labels.howItWorksTitle }), _jsx(Div, { className: "grid md:grid-cols-3", gap: "6", children: howItems.map(({ title, text, icon, tone }) => (_jsxs(Card, { variant: `gradient-${tone ?? "indigo"}`, padding: "md", spacing: "sm", children: [_jsx(Div, { children: _jsx(Span, { size: "4xl", children: icon }) }), _jsx(Heading, { level: 3, color: "inverse", variant: "none", children: title }), _jsx(Text, { size: "sm", color: "inverse-muted", variant: "none", className: "leading-relaxed", children: text })] }, title))) })] }), _jsxs(Section, { children: [_jsx(Heading, { level: 2, className: labels.valuesSubtitle ? "mb-3" : "mb-12", align: "center", children: labels.valuesTitle }), labels.valuesSubtitle && (_jsx(Text, { size: "base", variant: "secondary", align: "center", className: "mb-12 max-w-2xl mx-auto leading-relaxed", children: labels.valuesSubtitle })), _jsx(Div, { className: "grid md:grid-cols-3", gap: "5", children: valueItems.map(({ title, text, icon, detail }) => (_jsxs(Stack, { gap: "3", surface: "default", padding: "lg", rounded: "xl", border: "default", children: [_jsx(Div, { children: _jsx(Span, { size: "3xl", children: icon }) }), _jsx(Heading, { level: 3, children: title }), _jsx(Text, { size: "sm", variant: "secondary", className: "leading-relaxed", children: text }), detail && (_jsx(Text, { size: "sm", color: "muted", className: "leading-relaxed", children: detail }))] }, title))) }), labels.valuesLinkLabel && (_jsx(Div, { className: "mt-8 text-center", children: _jsx(TextLink, { href: String(ROUTES.PUBLIC.ETHICS), size: "sm", children: labels.valuesLinkLabel }) }))] }), _jsxs(Section, { children: [_jsx(Heading, { level: 2, className: "mb-10", align: "center", children: labels.milestonesTitle }), _jsx(Stack, { className: "relative border-l-2 border-primary/30 max-w-2xl mx-auto pl-[2rem]", gap: "xl", children: milestones.map(({ year, text }) => (_jsxs(Div, { className: "relative", children: [_jsx(Div, { className: "absolute -left-10 top-1 w-4 h-4 bg-primary border-2 border-white", rounded: "full" }), _jsx(Span, { size: "xs", weight: "bold", className: "text-primary tracking-wide", transform: "uppercase", children: year }), _jsx(Text, { className: "mt-1", children: text })] }, year))) })] }), teamMembers.length > 0 && (_jsxs(Section, { children: [_jsx(Heading, { level: 2, className: "mb-2", align: "center", children: labels.teamTitle }), labels.teamSubtitle && (_jsx(Text, { size: "lg", variant: "secondary", align: "center", className: "mb-12 max-w-2xl mx-auto", children: labels.teamSubtitle })), _jsx(Div, { className: "grid md:grid-cols-3", gap: "6", children: teamMembers.map((member) => (_jsxs(Stack, { gap: "3", surface: "default", padding: "lg", rounded: "xl", border: "default", align: "center", className: "text-center", children: [_jsx(Avatar, { src: member.photoUrl, name: member.name, alt: member.name, size: "lg" }), _jsx(Heading, { level: 3, children: member.name }), _jsxs(Row, { gap: "xs", wrap: true, justify: "center", children: [_jsx(Span, { size: "xs", weight: "bold", className: "text-primary tracking-wide", transform: "uppercase", children: member.role }), member.isFounder && _jsx(Badge, { variant: "primary", size: "xs", children: "Founder" }), member.isDeveloper && _jsx(Badge, { variant: "secondary", size: "xs", children: "Developer" })] }), _jsx(Text, { size: "sm", variant: "secondary", className: "leading-relaxed", children: member.bio }), member.githubUrl && (_jsx(Anchor, { href: member.githubUrl, tone: "muted", size: "sm", underline: "hover", children: "GitHub \u2197" }))] }, member.name))) })] })), _jsxs(Section, { color: "inverse", tone: "accent-banner", className: `text-center ${ctaBannerClass}`, padding: "xl", rounded: "2xl", children: [_jsx(Heading, { color: "inverse", level: 2, variant: "none", className: "mb-8", size: "3xl", weight: "bold", children: labels.ctaTitle }), renderCtaButtons ? (renderCtaButtons()) : (_jsx(Row, { justify: "center", gap: "3", wrap: true, children: _jsxs(Span, { color: "inverse-muted", size: "sm", children: [labels.ctaSell, " \u00B7 ", labels.ctaShop] }) }))] })] })] }));
@@ -4,10 +4,16 @@ import { serverLogger } from "../../../monitoring/server-logger.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
5
  // `Section` dropped — `ProseHero` owns the banner now and this view had no
6
6
  // other use for it.
7
- import { Anchor, Avatar, Badge, Div, Heading, Row, Span, Stack, Text, TextLink } from "../../../ui/index.js";
7
+ import { Anchor } from "../../../ui/components/Anchor.js";
8
+ import { Avatar } from "../../../ui/components/Avatar.js";
9
+ import { Badge } from "../../../ui/components/Badge.js";
10
+ import { Div } from "../../../ui/components/Div.js";
11
+ import { Heading, Span, Text } from "../../../ui/components/Typography.js";
12
+ import { Row, Stack } from "../../../ui/components/Layout.js";
13
+ import { TextLink } from "../../../ui/components/TextLink.js";
8
14
  import { ROUTES } from "../../../constants/index.js";
9
15
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
10
- import { siteSettingsRepository } from "../../../repositories/index.js";
16
+ import { siteSettingsRepository } from "../../admin/repository/site-settings.repository.js";
11
17
  /**
12
18
  * Reuses the existing `siteSettings.aboutContent.teamMembers` /
13
19
  * `.milestones` data (already admin-editable via Site Settings → About) —
@@ -2,8 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ROUTES } from "../../../constants/index.js";
3
3
  import { ProseHero } from "./ProseHero.js";
4
4
  import { FLEX_ROW } from "../../../_internal/shared/styles/themed.js";
5
- import { Aside, Container, Div, Heading, Nav, Row, Section, Span, Stack, Text } from "../../../ui/index.js";
6
- import { TextLink } from "../../../ui/index.js";
5
+ import { Aside, Nav, Section } from "../../../ui/components/Semantic.js";
6
+ import { Container, Row, Stack } from "../../../ui/components/Layout.js";
7
+ import { Div } from "../../../ui/components/Div.js";
8
+ import { Heading, Span, Text } from "../../../ui/components/Typography.js";
9
+ import { TextLink } from "../../../ui/components/TextLink.js";
7
10
  import { HelpCircle, ChevronRight } from "lucide-react";
8
11
  import { FAQSearchableList } from "../../faq/components/FAQSearchableList.js";
9
12
  function toDisplayFaq(doc) {
@@ -3,7 +3,10 @@ import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
5
  import { THEMED_BG_PRIMARY, THEMED_BG_SECONDARY } from "../../../_internal/shared/styles/themed.js";
6
- import { Caption, Div, Heading, Row, Section, Stack, Table, Tbody, Td, Text, Th, Thead, Tr } from "../../../ui/index.js";
6
+ import { Caption, Heading, Text } from "../../../ui/components/Typography.js";
7
+ import { Div } from "../../../ui/components/Div.js";
8
+ import { Row, Stack } from "../../../ui/components/Layout.js";
9
+ import { Section, Table, Tbody, Td, Th, Thead, Tr } from "../../../ui/components/Semantic.js";
7
10
  const __P = {
8
11
  p5: "p-[var(--appkit-space-5)]",
9
12
  };
@@ -2,7 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { THEMED_BG_PRIMARY, THEMED_BG_SECONDARY } from "../../../_internal/shared/styles/themed.js";
5
- import { Alert, Caption, Div, Heading, Row, Section, Stack, Table, Tbody, Td, Text, TextLink, Th, Thead, Tr, } from "../../../ui/index.js";
5
+ import { Alert } from "../../../ui/components/Alert.js";
6
+ import { Caption, Heading, Text } from "../../../ui/components/Typography.js";
7
+ import { Div } from "../../../ui/components/Div.js";
8
+ import { Row, Stack } from "../../../ui/components/Layout.js";
9
+ import { Section, Table, Tbody, Td, Th, Thead, Tr } from "../../../ui/components/Semantic.js";
10
+ import { TextLink } from "../../../ui/components/TextLink.js";
6
11
  const __P = {
7
12
  p5: "p-[var(--appkit-space-5)]",
8
13
  };
@@ -2,7 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { THEMED_BG_PRIMARY } from "../../../_internal/shared/styles/themed.js";
5
- import { Div, Grid, Heading, Section, Text, TextLink } from "../../../ui/index.js";
5
+ import { Div } from "../../../ui/components/Div.js";
6
+ import { Grid } from "../../../ui/components/Layout.js";
7
+ import { Heading, Text } from "../../../ui/components/Typography.js";
8
+ import { Section } from "../../../ui/components/Semantic.js";
9
+ import { TextLink } from "../../../ui/components/TextLink.js";
6
10
  const __P = {
7
11
  p5: "p-[var(--appkit-space-5)]",
8
12
  };
@@ -3,8 +3,12 @@ import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
5
  import { FLEX_ROW } from "../../../_internal/shared/styles/themed.js";
6
- import { Alert, Div, Heading, Row, Section, Stack, Text } from "../../../ui/index.js";
7
- import { TextLink } from "../../../ui/index.js";
6
+ import { Alert } from "../../../ui/components/Alert.js";
7
+ import { Div } from "../../../ui/components/Div.js";
8
+ import { Heading, Text } from "../../../ui/components/Typography.js";
9
+ import { Row, Stack } from "../../../ui/components/Layout.js";
10
+ import { Section } from "../../../ui/components/Semantic.js";
11
+ import { TextLink } from "../../../ui/components/TextLink.js";
8
12
  import { BookOpen, MessageCircle, ShoppingBag, Gavel, PackageCheck, UserCheck, Store, ShieldCheck, ChevronRight, } from "lucide-react";
9
13
  const __P = {
10
14
  p6: "p-[var(--appkit-space-6)]",
@@ -2,8 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
- import { Div, FlowDiagram, Heading, Row, Section, Stack, Text } from "../../../ui/index.js";
6
- import { TextLink } from "../../../ui/index.js";
5
+ import { Div } from "../../../ui/components/Div.js";
6
+ import { FlowDiagram } from "../../../ui/components/FlowDiagram.js";
7
+ import { Heading, Text } from "../../../ui/components/Typography.js";
8
+ import { Row, Stack } from "../../../ui/components/Layout.js";
9
+ import { Section } from "../../../ui/components/Semantic.js";
10
+ import { TextLink } from "../../../ui/components/TextLink.js";
7
11
  import { Gavel, Clock, Trophy, CreditCard } from "lucide-react";
8
12
  const __P = {
9
13
  p5: "p-[var(--appkit-space-5)]",
@@ -2,8 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
- import { Div, FlowDiagram, Heading, Row, Section, Stack, Text } from "../../../ui/index.js";
6
- import { TextLink } from "../../../ui/index.js";
5
+ import { Div } from "../../../ui/components/Div.js";
6
+ import { FlowDiagram } from "../../../ui/components/FlowDiagram.js";
7
+ import { Heading, Text } from "../../../ui/components/Typography.js";
8
+ import { Row, Stack } from "../../../ui/components/Layout.js";
9
+ import { Section } from "../../../ui/components/Semantic.js";
10
+ import { TextLink } from "../../../ui/components/TextLink.js";
7
11
  import { Wallet, Smartphone, Banknote, CalendarClock } from "lucide-react";
8
12
  const __P = {
9
13
  p5: "p-[var(--appkit-space-5)]",
@@ -3,8 +3,13 @@ import { ROUTES } from "../../../constants/index.js";
3
3
  import { PAGE_CONTAINER } from "../../../_internal/shared/styles/page.js";
4
4
  import { ProseHero } from "./ProseHero.js";
5
5
  import { THEMED_BG_PRIMARY, THEMED_BG_SECONDARY } from "../../../_internal/shared/styles/themed.js";
6
- import { Alert, Caption, Div, FlowDiagram, Heading, Row, Section, Stack, Table, Tbody, Td, Text, Th, Thead, Tr } from "../../../ui/index.js";
7
- import { TextLink } from "../../../ui/index.js";
6
+ import { Alert } from "../../../ui/components/Alert.js";
7
+ import { Caption, Heading, Text } from "../../../ui/components/Typography.js";
8
+ import { Div } from "../../../ui/components/Div.js";
9
+ import { FlowDiagram } from "../../../ui/components/FlowDiagram.js";
10
+ import { Row, Stack } from "../../../ui/components/Layout.js";
11
+ import { Section, Table, Tbody, Td, Th, Thead, Tr } from "../../../ui/components/Semantic.js";
12
+ import { TextLink } from "../../../ui/components/TextLink.js";
8
13
  import { CalendarClock, Wallet, TrendingUp, ShieldCheck } from "lucide-react";
9
14
  const __P = {
10
15
  p5: "p-[var(--appkit-space-5)]",