storefront-layouts 1.0.4 → 1.0.6

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 (641) hide show
  1. package/dist/components/auth/LoginForm.d.ts +1 -1
  2. package/dist/components/auth/LoginForm.d.ts.map +1 -1
  3. package/dist/components/auth/LoginForm.js +1 -1
  4. package/dist/components/auth/LoginSheet.d.ts +2 -2
  5. package/dist/components/auth/LoginSheet.d.ts.map +1 -1
  6. package/dist/components/auth/LoginSheet.js +1 -1
  7. package/dist/components/auth/login-form-core.d.ts +2 -2
  8. package/dist/components/auth/login-form-core.d.ts.map +1 -1
  9. package/dist/components/auth/login-form-core.js +1 -1
  10. package/dist/components/auth/login-sheet-header.d.ts +2 -2
  11. package/dist/components/auth/login-sheet-header.d.ts.map +1 -1
  12. package/dist/components/auth/login-sheet-header.js +3 -3
  13. package/dist/components/auth/login-sheet-registry.d.ts +2 -2
  14. package/dist/components/auth/login-sheet-registry.d.ts.map +1 -1
  15. package/dist/components/auth/login-sheet-theme.types.d.ts +1 -1
  16. package/dist/components/auth/login-sheet-themes/index.d.ts +1 -1
  17. package/dist/components/auth/login-sheet-themes/index.d.ts.map +1 -1
  18. package/dist/components/auth/login-sheet-themes/index.js +0 -2
  19. package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts +2 -2
  20. package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts.map +1 -1
  21. package/dist/components/auth/login-sheets/StoreLoginSheetShell.js +2 -2
  22. package/dist/components/auth/use-login-submit.js +3 -3
  23. package/dist/components/cart/InventoryHoldCountdown.d.ts +1 -1
  24. package/dist/components/cart/InventoryHoldCountdown.d.ts.map +1 -1
  25. package/dist/components/cart/InventoryHoldCountdown.js +2 -2
  26. package/dist/components/categories/category-masonry-grid.d.ts +1 -1
  27. package/dist/components/categories/category-masonry-grid.d.ts.map +1 -1
  28. package/dist/components/checkout/CheckoutFeeLines.d.ts +2 -2
  29. package/dist/components/checkout/CheckoutFeeLines.d.ts.map +1 -1
  30. package/dist/components/checkout/CheckoutFeeLines.js +1 -1
  31. package/dist/components/checkout/ShippingOptionsPanel.d.ts +2 -2
  32. package/dist/components/checkout/ShippingOptionsPanel.d.ts.map +1 -1
  33. package/dist/components/checkout/ShippingOptionsPanel.js +3 -3
  34. package/dist/components/learning/CertificateTemplates.d.ts +2 -2
  35. package/dist/components/learning/CertificateTemplates.d.ts.map +1 -1
  36. package/dist/components/learning/CertificateTemplates.js +2 -2
  37. package/dist/components/learning/CertificateViewer.d.ts +1 -1
  38. package/dist/components/learning/CertificateViewer.d.ts.map +1 -1
  39. package/dist/components/learning/CertificateViewer.js +2 -2
  40. package/dist/components/learning/MentorshipProgress.d.ts +1 -1
  41. package/dist/components/learning/MentorshipProgress.d.ts.map +1 -1
  42. package/dist/components/learning/MentorshipProgress.js +3 -3
  43. package/dist/components/product/ProductVariationSelectors.d.ts +2 -2
  44. package/dist/components/product/ProductVariationSelectors.d.ts.map +1 -1
  45. package/dist/components/product/ProductVariationSelectors.js +1 -1
  46. package/dist/components/rich-text/CategoryDescription.d.ts +2 -1
  47. package/dist/components/rich-text/CategoryDescription.d.ts.map +1 -1
  48. package/dist/components/rich-text/ProductDescription.d.ts +2 -1
  49. package/dist/components/rich-text/ProductDescription.d.ts.map +1 -1
  50. package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts +1 -1
  51. package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts.map +1 -1
  52. package/dist/components/shipping/ProductDeliveryInfoSection.d.ts +4 -4
  53. package/dist/components/shipping/ProductDeliveryInfoSection.d.ts.map +1 -1
  54. package/dist/components/shipping/ProductDeliveryInfoSection.js +2 -2
  55. package/dist/components/shipping/ShippingQuoteAddressForm.d.ts +2 -2
  56. package/dist/components/shipping/ShippingQuoteAddressForm.d.ts.map +1 -1
  57. package/dist/components/shipping/ShippingQuoteAddressForm.js +3 -3
  58. package/dist/components/ui/address-selector.d.ts +2 -2
  59. package/dist/components/ui/address-selector.d.ts.map +1 -1
  60. package/dist/components/ui/alert-modal.d.ts +1 -1
  61. package/dist/components/ui/alert-modal.d.ts.map +1 -1
  62. package/dist/components/ui/alert-modal.js +1 -1
  63. package/dist/components/ui/avatar-image.d.ts +1 -1
  64. package/dist/components/ui/avatar-image.d.ts.map +1 -1
  65. package/dist/components/ui/avatar-image.js +1 -1
  66. package/dist/components/ui/background-patterns.d.ts +4 -4
  67. package/dist/components/ui/background-patterns.d.ts.map +1 -1
  68. package/dist/components/ui/badge.d.ts +1 -1
  69. package/dist/components/ui/badge.d.ts.map +1 -1
  70. package/dist/components/ui/badge.js +1 -1
  71. package/dist/components/ui/breadcrumbs.d.ts +2 -1
  72. package/dist/components/ui/breadcrumbs.d.ts.map +1 -1
  73. package/dist/components/ui/breadcrumbs.js +1 -1
  74. package/dist/components/ui/button.d.ts +1 -1
  75. package/dist/components/ui/button.d.ts.map +1 -1
  76. package/dist/components/ui/button.js +1 -1
  77. package/dist/components/ui/card.d.ts +7 -7
  78. package/dist/components/ui/card.d.ts.map +1 -1
  79. package/dist/components/ui/card.js +1 -1
  80. package/dist/components/ui/category-tree.d.ts +2 -2
  81. package/dist/components/ui/category-tree.d.ts.map +1 -1
  82. package/dist/components/ui/category-tree.js +2 -2
  83. package/dist/components/ui/checkout-button.d.ts +2 -2
  84. package/dist/components/ui/checkout-button.d.ts.map +1 -1
  85. package/dist/components/ui/checkout-button.js +4 -4
  86. package/dist/components/ui/guest-checkout-modal.d.ts +2 -1
  87. package/dist/components/ui/guest-checkout-modal.d.ts.map +1 -1
  88. package/dist/components/ui/guest-checkout-modal.js +1 -1
  89. package/dist/components/ui/image-skeleton.d.ts +1 -1
  90. package/dist/components/ui/image-skeleton.d.ts.map +1 -1
  91. package/dist/components/ui/image-skeleton.js +1 -1
  92. package/dist/components/ui/image-with-fallback.d.ts +1 -1
  93. package/dist/components/ui/image-with-fallback.d.ts.map +1 -1
  94. package/dist/components/ui/image-with-fallback.js +1 -1
  95. package/dist/components/ui/input.js +1 -1
  96. package/dist/components/ui/limited-time-offer-badge.d.ts +1 -1
  97. package/dist/components/ui/limited-time-offer-badge.d.ts.map +1 -1
  98. package/dist/components/ui/limited-time-offer-badge.js +2 -2
  99. package/dist/components/ui/loading-skeleton-wrapper.d.ts +1 -1
  100. package/dist/components/ui/loading-skeleton-wrapper.d.ts.map +1 -1
  101. package/dist/components/ui/modal.d.ts +1 -1
  102. package/dist/components/ui/modal.d.ts.map +1 -1
  103. package/dist/components/ui/modal.js +1 -1
  104. package/dist/components/ui/otp-input.d.ts +2 -1
  105. package/dist/components/ui/otp-input.d.ts.map +1 -1
  106. package/dist/components/ui/otp-input.js +1 -1
  107. package/dist/components/ui/out-of-stock-overlay.d.ts +1 -1
  108. package/dist/components/ui/out-of-stock-overlay.d.ts.map +1 -1
  109. package/dist/components/ui/out-of-stock-overlay.js +1 -1
  110. package/dist/components/ui/page-animate-wrapper.d.ts +1 -1
  111. package/dist/components/ui/page-animate-wrapper.d.ts.map +1 -1
  112. package/dist/components/ui/page-animate-wrapper.js +2 -2
  113. package/dist/components/ui/page-content-loader.d.ts +1 -1
  114. package/dist/components/ui/page-content-loader.d.ts.map +1 -1
  115. package/dist/components/ui/page-content-loader.js +1 -1
  116. package/dist/components/ui/page-loader.d.ts +3 -3
  117. package/dist/components/ui/page-loader.d.ts.map +1 -1
  118. package/dist/components/ui/page-loader.js +1 -1
  119. package/dist/components/ui/product-card.d.ts +2 -2
  120. package/dist/components/ui/product-card.d.ts.map +1 -1
  121. package/dist/components/ui/product-card.js +17 -17
  122. package/dist/components/ui/product-rating.d.ts +1 -1
  123. package/dist/components/ui/product-rating.d.ts.map +1 -1
  124. package/dist/components/ui/product-rating.js +1 -1
  125. package/dist/components/ui/product-stock-badge.d.ts +2 -2
  126. package/dist/components/ui/product-stock-badge.d.ts.map +1 -1
  127. package/dist/components/ui/product-stock-badge.js +2 -2
  128. package/dist/components/ui/review-form.d.ts +2 -2
  129. package/dist/components/ui/review-form.d.ts.map +1 -1
  130. package/dist/components/ui/review-form.js +2 -2
  131. package/dist/components/ui/route-skeleton-loader.d.ts +1 -1
  132. package/dist/components/ui/route-skeleton-loader.d.ts.map +1 -1
  133. package/dist/components/ui/route-skeleton-loader.js +1 -1
  134. package/dist/components/ui/sheet.d.ts +1 -1
  135. package/dist/components/ui/sheet.d.ts.map +1 -1
  136. package/dist/components/ui/sheet.js +1 -1
  137. package/dist/components/ui/skeleton.d.ts +1 -1
  138. package/dist/components/ui/skeleton.d.ts.map +1 -1
  139. package/dist/components/ui/skeleton.js +1 -1
  140. package/dist/components/ui/skeletons/category-grid-skeleton.d.ts +1 -1
  141. package/dist/components/ui/skeletons/category-grid-skeleton.d.ts.map +1 -1
  142. package/dist/components/ui/skeletons/checkout-skeleton.d.ts +1 -1
  143. package/dist/components/ui/skeletons/checkout-skeleton.d.ts.map +1 -1
  144. package/dist/components/ui/skeletons/page-skeleton.d.ts +1 -1
  145. package/dist/components/ui/skeletons/page-skeleton.d.ts.map +1 -1
  146. package/dist/components/ui/skeletons/product-card-skeleton.d.ts +1 -1
  147. package/dist/components/ui/skeletons/product-card-skeleton.d.ts.map +1 -1
  148. package/dist/components/ui/skeletons/product-detail-skeleton.d.ts +1 -1
  149. package/dist/components/ui/skeletons/product-detail-skeleton.d.ts.map +1 -1
  150. package/dist/components/ui/skeletons/product-grid-skeleton.d.ts +1 -1
  151. package/dist/components/ui/skeletons/product-grid-skeleton.d.ts.map +1 -1
  152. package/dist/components/ui/store-logos.d.ts +13 -13
  153. package/dist/components/ui/store-logos.d.ts.map +1 -1
  154. package/dist/components/ui/store-logos.js +2 -2
  155. package/dist/components/ui/toast.d.ts +1 -1
  156. package/dist/components/ui/toast.d.ts.map +1 -1
  157. package/dist/components/ui/toast.js +1 -1
  158. package/dist/components/ui/video-player.d.ts +1 -1
  159. package/dist/components/ui/video-player.d.ts.map +1 -1
  160. package/dist/components/ui/video-player.js +2 -2
  161. package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts +1 -1
  162. package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts.map +1 -1
  163. package/dist/editor/payaza-form/EditorCanvasPreview.d.ts +1 -1
  164. package/dist/editor/payaza-form/EditorCanvasPreview.d.ts.map +1 -1
  165. package/dist/editor/payaza-form/EditorCanvasPreview.js +1 -1
  166. package/dist/editor/payaza-form/PayazaFormEditor.d.ts.map +1 -1
  167. package/dist/editor/payaza-form/PayazaFormEditor.js +4 -2
  168. package/dist/editor/payaza-form/SliderArrayEditor.js +1 -1
  169. package/dist/editor/payaza-form/components/BlocksField.js +1 -1
  170. package/dist/editor/payaza-form/components/SectionField.js +1 -1
  171. package/dist/editor/payaza-form/components/StarRatingField.js +1 -1
  172. package/dist/editor/payaza-form/data-transformer.d.ts.map +1 -1
  173. package/dist/editor/payaza-form/data-transformer.js +8 -1
  174. package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts +2 -1
  175. package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts.map +1 -1
  176. package/dist/editor/shared/BlockOutlineTree.d.ts +2 -1
  177. package/dist/editor/shared/BlockOutlineTree.d.ts.map +1 -1
  178. package/dist/editor/shared/BlockOutlineTree.js +1 -1
  179. package/dist/editor/shared/EditorHeader.js +1 -1
  180. package/dist/editor/shared/EditorNavigator.js +1 -1
  181. package/dist/editor/shared/InlineCanvasPreview.js +1 -1
  182. package/dist/editor/shared/useEditorChromeMetrics.js +2 -1
  183. package/dist/hooks/use-analytics.d.ts +1 -1
  184. package/dist/hooks/use-analytics.js +3 -3
  185. package/dist/hooks/use-api.js +1 -1
  186. package/dist/hooks/use-cart-api.d.ts +1 -1
  187. package/dist/hooks/use-cart-api.js +3 -3
  188. package/dist/hooks/use-catalog-loader.d.ts +1 -1
  189. package/dist/hooks/use-catalog-loader.js +6 -6
  190. package/dist/hooks/use-catalog-price-range.d.ts +2 -2
  191. package/dist/hooks/use-catalog-price-range.js +1 -1
  192. package/dist/hooks/use-category-products.d.ts +1 -1
  193. package/dist/hooks/use-category-products.js +2 -2
  194. package/dist/hooks/use-checkout-fees.d.ts +4 -3
  195. package/dist/hooks/use-checkout-fees.d.ts.map +1 -1
  196. package/dist/hooks/use-checkout-fees.js +1 -1
  197. package/dist/hooks/use-content-ready.js +1 -1
  198. package/dist/hooks/use-featured-products.d.ts +1 -1
  199. package/dist/hooks/use-featured-products.js +2 -2
  200. package/dist/hooks/use-multi-store-checkout-fees.d.ts +4 -3
  201. package/dist/hooks/use-multi-store-checkout-fees.d.ts.map +1 -1
  202. package/dist/hooks/use-multi-store-checkout-fees.js +1 -1
  203. package/dist/hooks/use-navigation-loading.js +1 -1
  204. package/dist/hooks/use-payaza-checkout.d.ts +1 -1
  205. package/dist/hooks/use-payaza-checkout.js +2 -2
  206. package/dist/hooks/use-product-brands.js +1 -1
  207. package/dist/hooks/use-product-by-slug.d.ts +1 -1
  208. package/dist/hooks/use-product-by-slug.js +2 -2
  209. package/dist/hooks/use-product-variation-selection.d.ts +7 -1
  210. package/dist/hooks/use-product-variation-selection.d.ts.map +1 -1
  211. package/dist/hooks/use-product-variation-selection.js +1 -1
  212. package/dist/hooks/use-products-api.d.ts +2 -2
  213. package/dist/hooks/use-products-api.js +3 -3
  214. package/dist/hooks/use-shipping-quote.d.ts +2 -2
  215. package/dist/hooks/use-shipping-quote.js +2 -2
  216. package/dist/hooks/use-store-api.d.ts +2 -2
  217. package/dist/hooks/use-store-api.js +4 -4
  218. package/dist/index.d.ts +10 -6
  219. package/dist/index.d.ts.map +1 -1
  220. package/dist/index.js +10 -6
  221. package/dist/layouts/booking/components/BookingHomePage.d.ts +2 -2
  222. package/dist/layouts/booking/components/BookingHomePage.d.ts.map +1 -1
  223. package/dist/layouts/booking/components/BookingHomePage.js +4 -4
  224. package/dist/layouts/booking/components/BookingMultilineHeading.d.ts +2 -1
  225. package/dist/layouts/booking/components/BookingMultilineHeading.d.ts.map +1 -1
  226. package/dist/layouts/booking/components/BookingTestimonialCard.d.ts +3 -2
  227. package/dist/layouts/booking/components/BookingTestimonialCard.d.ts.map +1 -1
  228. package/dist/layouts/booking/components/BookingTestimonialCard.js +1 -1
  229. package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts +2 -1
  230. package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts.map +1 -1
  231. package/dist/layouts/booking/components/BookingTestimonialsEmptyState.js +1 -1
  232. package/dist/layouts/booking/components/booking-footer-defaults.d.ts +1 -1
  233. package/dist/layouts/booking/components/booking-testimonial-defaults.d.ts +1 -1
  234. package/dist/layouts/booking/index.d.ts +5 -5
  235. package/dist/layouts/booking/index.d.ts.map +1 -1
  236. package/dist/layouts/booking/index.js +5 -5
  237. package/dist/layouts/booking/pages/AboutPage.d.ts +2 -2
  238. package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -1
  239. package/dist/layouts/booking/pages/AboutPage.js +3 -3
  240. package/dist/layouts/booking/pages/BookPage.d.ts +2 -2
  241. package/dist/layouts/booking/pages/BookPage.d.ts.map +1 -1
  242. package/dist/layouts/booking/pages/BookPage.js +14 -14
  243. package/dist/layouts/booking/pages/CategoriesPage.d.ts +2 -2
  244. package/dist/layouts/booking/pages/CategoriesPage.d.ts.map +1 -1
  245. package/dist/layouts/booking/pages/CategoriesPage.js +4 -4
  246. package/dist/layouts/booking/pages/CategoryPage.d.ts +2 -2
  247. package/dist/layouts/booking/pages/CategoryPage.d.ts.map +1 -1
  248. package/dist/layouts/booking/pages/CategoryPage.js +6 -6
  249. package/dist/layouts/booking/pages/ContactPage.d.ts +2 -2
  250. package/dist/layouts/booking/pages/ContactPage.d.ts.map +1 -1
  251. package/dist/layouts/booking/pages/ContactPage.js +3 -3
  252. package/dist/layouts/booking/pages/ProductDetailPage.d.ts +2 -2
  253. package/dist/layouts/booking/pages/ProductDetailPage.d.ts.map +1 -1
  254. package/dist/layouts/booking/pages/ProductDetailPage.js +23 -22
  255. package/dist/layouts/booking/pages/ServicesPage.d.ts +2 -2
  256. package/dist/layouts/booking/pages/ServicesPage.d.ts.map +1 -1
  257. package/dist/layouts/booking/pages/ServicesPage.js +3 -3
  258. package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts +2 -2
  259. package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts.map +1 -1
  260. package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +17 -17
  261. package/dist/layouts/booking-agenda/index.d.ts +5 -5
  262. package/dist/layouts/booking-agenda/index.d.ts.map +1 -1
  263. package/dist/layouts/booking-agenda/index.js +5 -5
  264. package/dist/layouts/booking-agenda/pages/AboutPage.d.ts +2 -2
  265. package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -1
  266. package/dist/layouts/booking-agenda/pages/AboutPage.js +3 -3
  267. package/dist/layouts/booking-agenda/pages/BookPage.d.ts +2 -2
  268. package/dist/layouts/booking-agenda/pages/BookPage.d.ts.map +1 -1
  269. package/dist/layouts/booking-agenda/pages/BookPage.js +14 -14
  270. package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts +2 -2
  271. package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts.map +1 -1
  272. package/dist/layouts/booking-agenda/pages/CategoriesPage.js +4 -4
  273. package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts +2 -2
  274. package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts.map +1 -1
  275. package/dist/layouts/booking-agenda/pages/CategoryPage.js +6 -6
  276. package/dist/layouts/booking-agenda/pages/ContactPage.d.ts +2 -2
  277. package/dist/layouts/booking-agenda/pages/ContactPage.d.ts.map +1 -1
  278. package/dist/layouts/booking-agenda/pages/ContactPage.js +3 -3
  279. package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts +2 -2
  280. package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts.map +1 -1
  281. package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +23 -22
  282. package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts +2 -2
  283. package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts.map +1 -1
  284. package/dist/layouts/booking-agenda/pages/ServicesPage.js +2 -2
  285. package/dist/layouts/clothing/components/ClothingHomePage.d.ts +1 -1
  286. package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -1
  287. package/dist/layouts/clothing/components/ClothingHomePage.js +6 -4
  288. package/dist/layouts/clothing/index.d.ts +5 -5
  289. package/dist/layouts/clothing/index.d.ts.map +1 -1
  290. package/dist/layouts/clothing/index.js +5 -5
  291. package/dist/layouts/clothing/pages/AboutPage.d.ts +1 -1
  292. package/dist/layouts/clothing/pages/AboutPage.d.ts.map +1 -1
  293. package/dist/layouts/clothing/pages/CategoriesPage.d.ts +1 -1
  294. package/dist/layouts/clothing/pages/CategoriesPage.d.ts.map +1 -1
  295. package/dist/layouts/clothing/pages/CategoryPage.d.ts +1 -1
  296. package/dist/layouts/clothing/pages/CategoryPage.d.ts.map +1 -1
  297. package/dist/layouts/clothing/pages/CategoryPage.js +1 -1
  298. package/dist/layouts/clothing/pages/ContactPage.d.ts +1 -1
  299. package/dist/layouts/clothing/pages/ContactPage.d.ts.map +1 -1
  300. package/dist/layouts/clothing/pages/ProductDetailPage.d.ts +1 -1
  301. package/dist/layouts/clothing/pages/ProductDetailPage.d.ts.map +1 -1
  302. package/dist/layouts/clothing/pages/ProductDetailPage.js +3 -3
  303. package/dist/layouts/clothing/pages/ProductsPage.d.ts +1 -1
  304. package/dist/layouts/clothing/pages/ProductsPage.d.ts.map +1 -1
  305. package/dist/layouts/clothing/pages/ProductsPage.js +7 -7
  306. package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts +1 -1
  307. package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts.map +1 -1
  308. package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.js +10 -13
  309. package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts +6 -5
  310. package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts.map +1 -1
  311. package/dist/layouts/clothing-minimal/index.d.ts +5 -5
  312. package/dist/layouts/clothing-minimal/index.d.ts.map +1 -1
  313. package/dist/layouts/clothing-minimal/index.js +5 -5
  314. package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts +1 -1
  315. package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -1
  316. package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts +1 -1
  317. package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts.map +1 -1
  318. package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts +1 -1
  319. package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts.map +1 -1
  320. package/dist/layouts/clothing-minimal/pages/CategoryPage.js +1 -1
  321. package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts +1 -1
  322. package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts.map +1 -1
  323. package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts +1 -1
  324. package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts.map +1 -1
  325. package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +3 -3
  326. package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts +1 -1
  327. package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts.map +1 -1
  328. package/dist/layouts/clothing-minimal/pages/ProductsPage.js +10 -8
  329. package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts +2 -2
  330. package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts.map +1 -1
  331. package/dist/layouts/electronics/components/ElectronicsCategoriesPage.js +4 -4
  332. package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts +2 -2
  333. package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts.map +1 -1
  334. package/dist/layouts/electronics/components/ElectronicsGridProductCard.js +14 -14
  335. package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts +2 -2
  336. package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts.map +1 -1
  337. package/dist/layouts/electronics/components/ElectronicsHomePage.js +8 -8
  338. package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts +2 -2
  339. package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts.map +1 -1
  340. package/dist/layouts/electronics/components/ElectronicsPageWrapper.js +2 -2
  341. package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts +2 -2
  342. package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts.map +1 -1
  343. package/dist/layouts/electronics/components/ElectronicsProductsPage.js +12 -12
  344. package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts +2 -2
  345. package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts.map +1 -1
  346. package/dist/layouts/electronics/components/ElectronicsStoreFooter.js +2 -2
  347. package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts +2 -2
  348. package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts.map +1 -1
  349. package/dist/layouts/electronics/components/ElectronicsStoreHeader.js +6 -6
  350. package/dist/layouts/electronics/index.d.ts +5 -5
  351. package/dist/layouts/electronics/index.d.ts.map +1 -1
  352. package/dist/layouts/electronics/index.js +5 -5
  353. package/dist/layouts/electronics/pages/AboutPage.d.ts +2 -2
  354. package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -1
  355. package/dist/layouts/electronics/pages/AboutPage.js +3 -3
  356. package/dist/layouts/electronics/pages/CategoriesPage.d.ts +2 -2
  357. package/dist/layouts/electronics/pages/CategoriesPage.d.ts.map +1 -1
  358. package/dist/layouts/electronics/pages/CategoryPage.d.ts +2 -2
  359. package/dist/layouts/electronics/pages/CategoryPage.d.ts.map +1 -1
  360. package/dist/layouts/electronics/pages/CategoryPage.js +7 -7
  361. package/dist/layouts/electronics/pages/ContactPage.d.ts +2 -2
  362. package/dist/layouts/electronics/pages/ContactPage.d.ts.map +1 -1
  363. package/dist/layouts/electronics/pages/ContactPage.js +3 -3
  364. package/dist/layouts/electronics/pages/HelpCenterPage.d.ts +2 -2
  365. package/dist/layouts/electronics/pages/HelpCenterPage.d.ts.map +1 -1
  366. package/dist/layouts/electronics/pages/HelpCenterPage.js +1 -1
  367. package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts +2 -2
  368. package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts.map +1 -1
  369. package/dist/layouts/electronics/pages/PrivacyPolicyPage.js +1 -1
  370. package/dist/layouts/electronics/pages/ProductDetailPage.d.ts +2 -2
  371. package/dist/layouts/electronics/pages/ProductDetailPage.d.ts.map +1 -1
  372. package/dist/layouts/electronics/pages/ProductDetailPage.js +23 -22
  373. package/dist/layouts/electronics/pages/ProductsPage.d.ts +2 -2
  374. package/dist/layouts/electronics/pages/ProductsPage.d.ts.map +1 -1
  375. package/dist/layouts/electronics/pages/ProductsPage.js +22 -22
  376. package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts +2 -2
  377. package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts.map +1 -1
  378. package/dist/layouts/electronics/pages/TermsPage.d.ts +2 -2
  379. package/dist/layouts/electronics/pages/TermsPage.d.ts.map +1 -1
  380. package/dist/layouts/electronics/pages/TermsPage.js +1 -1
  381. package/dist/layouts/electronics/pages/TrackOrderPage.d.ts +2 -2
  382. package/dist/layouts/electronics/pages/TrackOrderPage.d.ts.map +1 -1
  383. package/dist/layouts/electronics/pages/TrackOrderPage.js +4 -4
  384. package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts +2 -2
  385. package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts.map +1 -1
  386. package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.js +14 -14
  387. package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts +2 -2
  388. package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts.map +1 -1
  389. package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.js +14 -14
  390. package/dist/layouts/electronics-grid/index.d.ts +5 -5
  391. package/dist/layouts/electronics-grid/index.d.ts.map +1 -1
  392. package/dist/layouts/electronics-grid/index.js +5 -5
  393. package/dist/layouts/electronics-grid/pages/AboutPage.d.ts +2 -2
  394. package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -1
  395. package/dist/layouts/electronics-grid/pages/AboutPage.js +3 -3
  396. package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts +2 -2
  397. package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts.map +1 -1
  398. package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts +2 -2
  399. package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts.map +1 -1
  400. package/dist/layouts/electronics-grid/pages/CategoryPage.js +7 -7
  401. package/dist/layouts/electronics-grid/pages/ContactPage.d.ts +2 -2
  402. package/dist/layouts/electronics-grid/pages/ContactPage.d.ts.map +1 -1
  403. package/dist/layouts/electronics-grid/pages/ContactPage.js +3 -3
  404. package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts +2 -2
  405. package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts.map +1 -1
  406. package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.js +6 -6
  407. package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts +2 -2
  408. package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts.map +1 -1
  409. package/dist/layouts/electronics-grid/pages/HelpCenterPage.js +1 -1
  410. package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts +2 -2
  411. package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts.map +1 -1
  412. package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.js +1 -1
  413. package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts +2 -2
  414. package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts.map +1 -1
  415. package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +23 -22
  416. package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts +2 -2
  417. package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts.map +1 -1
  418. package/dist/layouts/electronics-grid/pages/ProductsPage.js +22 -22
  419. package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts +2 -2
  420. package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts.map +1 -1
  421. package/dist/layouts/electronics-grid/pages/TermsPage.d.ts +2 -2
  422. package/dist/layouts/electronics-grid/pages/TermsPage.d.ts.map +1 -1
  423. package/dist/layouts/electronics-grid/pages/TermsPage.js +1 -1
  424. package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts +2 -2
  425. package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts.map +1 -1
  426. package/dist/layouts/electronics-grid/pages/TrackOrderPage.js +4 -4
  427. package/dist/layouts/food/components/FoodHomePage.d.ts +2 -2
  428. package/dist/layouts/food/components/FoodHomePage.d.ts.map +1 -1
  429. package/dist/layouts/food/components/FoodHomePage.js +7 -7
  430. package/dist/layouts/food/index.d.ts +6 -6
  431. package/dist/layouts/food/index.d.ts.map +1 -1
  432. package/dist/layouts/food/index.js +6 -6
  433. package/dist/layouts/food/pages/AboutPage.d.ts +2 -2
  434. package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -1
  435. package/dist/layouts/food/pages/AboutPage.js +3 -3
  436. package/dist/layouts/food/pages/CategoriesPage.d.ts +2 -2
  437. package/dist/layouts/food/pages/CategoriesPage.d.ts.map +1 -1
  438. package/dist/layouts/food/pages/CategoriesPage.js +4 -4
  439. package/dist/layouts/food/pages/CategoryPage.d.ts +2 -2
  440. package/dist/layouts/food/pages/CategoryPage.d.ts.map +1 -1
  441. package/dist/layouts/food/pages/CategoryPage.js +7 -7
  442. package/dist/layouts/food/pages/ContactPage.d.ts +2 -2
  443. package/dist/layouts/food/pages/ContactPage.d.ts.map +1 -1
  444. package/dist/layouts/food/pages/ContactPage.js +3 -3
  445. package/dist/layouts/food/pages/MenuPage.d.ts +2 -2
  446. package/dist/layouts/food/pages/MenuPage.d.ts.map +1 -1
  447. package/dist/layouts/food/pages/MenuPage.js +7 -7
  448. package/dist/layouts/food/pages/ProductDetailPage.d.ts +2 -2
  449. package/dist/layouts/food/pages/ProductDetailPage.d.ts.map +1 -1
  450. package/dist/layouts/food/pages/ProductDetailPage.js +23 -22
  451. package/dist/layouts/food/pages/ProductsPage.d.ts +2 -2
  452. package/dist/layouts/food/pages/ProductsPage.d.ts.map +1 -1
  453. package/dist/layouts/food/pages/ProductsPage.js +16 -16
  454. package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts +2 -2
  455. package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts.map +1 -1
  456. package/dist/layouts/food-modern/components/FoodHomePageModern.js +8 -8
  457. package/dist/layouts/food-modern/index.d.ts +6 -6
  458. package/dist/layouts/food-modern/index.d.ts.map +1 -1
  459. package/dist/layouts/food-modern/index.js +6 -6
  460. package/dist/layouts/food-modern/pages/AboutPage.d.ts +2 -2
  461. package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -1
  462. package/dist/layouts/food-modern/pages/AboutPage.js +3 -3
  463. package/dist/layouts/food-modern/pages/CategoriesPage.d.ts +2 -2
  464. package/dist/layouts/food-modern/pages/CategoriesPage.d.ts.map +1 -1
  465. package/dist/layouts/food-modern/pages/CategoriesPage.js +4 -4
  466. package/dist/layouts/food-modern/pages/CategoryPage.d.ts +2 -2
  467. package/dist/layouts/food-modern/pages/CategoryPage.d.ts.map +1 -1
  468. package/dist/layouts/food-modern/pages/CategoryPage.js +7 -7
  469. package/dist/layouts/food-modern/pages/ContactPage.d.ts +2 -2
  470. package/dist/layouts/food-modern/pages/ContactPage.d.ts.map +1 -1
  471. package/dist/layouts/food-modern/pages/ContactPage.js +3 -3
  472. package/dist/layouts/food-modern/pages/MenuPage.d.ts +2 -2
  473. package/dist/layouts/food-modern/pages/MenuPage.d.ts.map +1 -1
  474. package/dist/layouts/food-modern/pages/MenuPage.js +7 -7
  475. package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts +2 -2
  476. package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts.map +1 -1
  477. package/dist/layouts/food-modern/pages/ProductDetailPage.js +23 -22
  478. package/dist/layouts/food-modern/pages/ProductsPage.d.ts +2 -2
  479. package/dist/layouts/food-modern/pages/ProductsPage.d.ts.map +1 -1
  480. package/dist/layouts/food-modern/pages/ProductsPage.js +16 -16
  481. package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts +2 -2
  482. package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts.map +1 -1
  483. package/dist/layouts/motivational-speaker/components/MotivationalHomePage.js +6 -6
  484. package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts +2 -1
  485. package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts.map +1 -1
  486. package/dist/layouts/motivational-speaker/index.d.ts +6 -6
  487. package/dist/layouts/motivational-speaker/index.d.ts.map +1 -1
  488. package/dist/layouts/motivational-speaker/index.js +6 -6
  489. package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts +2 -2
  490. package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -1
  491. package/dist/layouts/motivational-speaker/pages/AboutPage.js +3 -3
  492. package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts +2 -2
  493. package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts.map +1 -1
  494. package/dist/layouts/motivational-speaker/pages/CategoryPage.js +9 -9
  495. package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts +2 -2
  496. package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts.map +1 -1
  497. package/dist/layouts/motivational-speaker/pages/ContactPage.js +3 -3
  498. package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts +2 -2
  499. package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts.map +1 -1
  500. package/dist/layouts/motivational-speaker/pages/ProductsPage.js +22 -22
  501. package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts +2 -2
  502. package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts.map +1 -1
  503. package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.js +8 -8
  504. package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts +2 -2
  505. package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts.map +1 -1
  506. package/dist/layouts/motivational-speaker/pages/ServicesPage.js +2 -2
  507. package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts +2 -2
  508. package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts.map +1 -1
  509. package/dist/layouts/motivational-speaker/pages/SubscriptionPage.js +7 -7
  510. package/dist/layouts/shared/components/BaseStoreLayout.d.ts +1 -1
  511. package/dist/layouts/shared/components/BaseStoreLayout.d.ts.map +1 -1
  512. package/dist/layouts/shared/components/CartLineQuantityControl.d.ts +2 -2
  513. package/dist/layouts/shared/components/CartLineQuantityControl.d.ts.map +1 -1
  514. package/dist/layouts/shared/components/CartLineQuantityControl.js +1 -1
  515. package/dist/layouts/shared/components/GenericPageWrapper.d.ts +1 -1
  516. package/dist/layouts/shared/components/GenericPageWrapper.d.ts.map +1 -1
  517. package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts +1 -1
  518. package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts.map +1 -1
  519. package/dist/layouts/shared/components/ProductPriceFilterSection.js +1 -1
  520. package/dist/layouts/shared/components/PromoBanner.d.ts +2 -1
  521. package/dist/layouts/shared/components/PromoBanner.d.ts.map +1 -1
  522. package/dist/layouts/shared/components/StoreFooter.d.ts +1 -1
  523. package/dist/layouts/shared/components/StoreFooter.d.ts.map +1 -1
  524. package/dist/layouts/shared/components/StoreFooter.js +3 -3
  525. package/dist/layouts/shared/components/StoreHeader.d.ts +1 -1
  526. package/dist/layouts/shared/components/StoreHeader.d.ts.map +1 -1
  527. package/dist/layouts/shared/components/StoreHeader.js +4 -4
  528. package/dist/layouts/shared/components/TestimonialCard.d.ts +3 -2
  529. package/dist/layouts/shared/components/TestimonialCard.d.ts.map +1 -1
  530. package/dist/layouts/shared/components/TestimonialCard.js +1 -1
  531. package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts +1 -1
  532. package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts.map +1 -1
  533. package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts +1 -1
  534. package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts.map +1 -1
  535. package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts +1 -1
  536. package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts.map +1 -1
  537. package/dist/layouts/shared/pages/AccountPage.d.ts +2 -2
  538. package/dist/layouts/shared/pages/AccountPage.d.ts.map +1 -1
  539. package/dist/layouts/shared/pages/AccountPage.js +15 -15
  540. package/dist/layouts/shared/pages/CartPage.d.ts +2 -2
  541. package/dist/layouts/shared/pages/CartPage.d.ts.map +1 -1
  542. package/dist/layouts/shared/pages/CartPage.js +4 -4
  543. package/dist/layouts/shared/pages/CheckoutPage.d.ts +2 -2
  544. package/dist/layouts/shared/pages/CheckoutPage.d.ts.map +1 -1
  545. package/dist/layouts/shared/pages/CheckoutPage.js +19 -19
  546. package/dist/layouts/shared/pages/CookiePolicyPage.d.ts +2 -2
  547. package/dist/layouts/shared/pages/CookiePolicyPage.d.ts.map +1 -1
  548. package/dist/layouts/shared/pages/CookiePolicyPage.js +1 -1
  549. package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts +2 -2
  550. package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts.map +1 -1
  551. package/dist/layouts/shared/pages/FeatureDisabledPage.js +1 -1
  552. package/dist/layouts/shared/pages/HelpCenterPage.d.ts +2 -2
  553. package/dist/layouts/shared/pages/HelpCenterPage.d.ts.map +1 -1
  554. package/dist/layouts/shared/pages/HelpCenterPage.js +1 -1
  555. package/dist/layouts/shared/pages/MaintenancePage.d.ts +2 -2
  556. package/dist/layouts/shared/pages/MaintenancePage.d.ts.map +1 -1
  557. package/dist/layouts/shared/pages/MaintenancePage.js +2 -2
  558. package/dist/layouts/shared/pages/PortfolioPage.d.ts +2 -2
  559. package/dist/layouts/shared/pages/PortfolioPage.d.ts.map +1 -1
  560. package/dist/layouts/shared/pages/PortfolioPage.js +1 -1
  561. package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts +2 -2
  562. package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts.map +1 -1
  563. package/dist/layouts/shared/pages/PrivacyPolicyPage.js +1 -1
  564. package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts +2 -2
  565. package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts.map +1 -1
  566. package/dist/layouts/shared/pages/SizeGuidePage.d.ts +2 -2
  567. package/dist/layouts/shared/pages/SizeGuidePage.d.ts.map +1 -1
  568. package/dist/layouts/shared/pages/SizeGuidePage.js +1 -1
  569. package/dist/layouts/shared/pages/StyleGuidePage.d.ts +2 -2
  570. package/dist/layouts/shared/pages/StyleGuidePage.d.ts.map +1 -1
  571. package/dist/layouts/shared/pages/StyleGuidePage.js +3 -3
  572. package/dist/layouts/shared/pages/TeamPage.d.ts +2 -2
  573. package/dist/layouts/shared/pages/TeamPage.d.ts.map +1 -1
  574. package/dist/layouts/shared/pages/TermsPage.d.ts +2 -2
  575. package/dist/layouts/shared/pages/TermsPage.d.ts.map +1 -1
  576. package/dist/layouts/shared/pages/TermsPage.js +1 -1
  577. package/dist/layouts/shared/pages/TrackOrderPage.d.ts +2 -2
  578. package/dist/layouts/shared/pages/TrackOrderPage.d.ts.map +1 -1
  579. package/dist/layouts/shared/pages/TrackOrderPage.js +4 -4
  580. package/dist/layouts/shared/pages/WishlistPage.d.ts +2 -2
  581. package/dist/layouts/shared/pages/WishlistPage.d.ts.map +1 -1
  582. package/dist/layouts/shared/pages/WishlistPage.js +11 -11
  583. package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts +1 -1
  584. package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts.map +1 -1
  585. package/dist/layouts/shared/wrappers/BookingAgendaLayout.js +1 -1
  586. package/dist/layouts/shared/wrappers/ClothingLayout.d.ts +1 -1
  587. package/dist/layouts/shared/wrappers/ClothingLayout.d.ts.map +1 -1
  588. package/dist/layouts/shared/wrappers/ClothingLayout.js +5 -5
  589. package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts +1 -1
  590. package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts.map +1 -1
  591. package/dist/layouts/shared/wrappers/ClothingMinimalLayout.js +4 -4
  592. package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts +1 -1
  593. package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts.map +1 -1
  594. package/dist/layouts/shared/wrappers/ElectronicsLayout.js +4 -4
  595. package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts +1 -1
  596. package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts.map +1 -1
  597. package/dist/layouts/shared/wrappers/FoodModernLayout.js +4 -4
  598. package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts +1 -1
  599. package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts.map +1 -1
  600. package/dist/layouts/shared/wrappers/MotivationalLayout.js +4 -4
  601. package/dist/layouts/shared/wrappers/StandardLayout.d.ts +1 -1
  602. package/dist/layouts/shared/wrappers/StandardLayout.d.ts.map +1 -1
  603. package/dist/layouts/shared/wrappers/StandardLayout.js +4 -4
  604. package/dist/lib/auth-context.d.ts +1 -1
  605. package/dist/lib/auth-context.d.ts.map +1 -1
  606. package/dist/lib/loading-context.d.ts +1 -1
  607. package/dist/lib/loading-context.d.ts.map +1 -1
  608. package/dist/lib/loading-context.js +4 -4
  609. package/dist/lib/payaza-checkout.d.ts +1 -1
  610. package/dist/lib/payaza-checkout.js +3 -3
  611. package/dist/lib/payaza-public-key.d.ts +1 -1
  612. package/dist/lib/preview-data.d.ts.map +1 -1
  613. package/dist/lib/preview-data.js +0 -2
  614. package/dist/lib/rich-html.d.ts +8 -0
  615. package/dist/lib/rich-html.d.ts.map +1 -1
  616. package/dist/lib/services/fees.service.d.ts +63 -17
  617. package/dist/lib/services/fees.service.d.ts.map +1 -1
  618. package/dist/lib/services/fees.service.js +137 -3
  619. package/dist/lib/store-context.d.ts +1 -1
  620. package/dist/lib/store-context.d.ts.map +1 -1
  621. package/dist/lib/store-types.d.ts +32 -0
  622. package/dist/lib/store-types.d.ts.map +1 -1
  623. package/dist/lib/utils/asset-helpers.d.ts +1 -1
  624. package/dist/lib/utils/category-tree.d.ts +1 -1
  625. package/dist/lib/utils/index.js +1 -1
  626. package/dist/preview/LayoutPreview.d.ts +1 -1
  627. package/dist/preview/LayoutPreview.d.ts.map +1 -1
  628. package/dist/preview/LayoutPreview.js +23 -6
  629. package/dist/preview/PreviewRouter.d.ts +3 -2
  630. package/dist/preview/PreviewRouter.d.ts.map +1 -1
  631. package/dist/preview/PreviewRouter.js +2 -2
  632. package/dist/preview/ShadowDOMWrapper.d.ts +1 -1
  633. package/dist/preview/ShadowDOMWrapper.d.ts.map +1 -1
  634. package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts +1 -1
  635. package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts.map +1 -1
  636. package/dist/preview/canvas/PreviewCanvasStyles.d.ts +1 -1
  637. package/dist/preview/canvas/PreviewCanvasStyles.d.ts.map +1 -1
  638. package/dist/preview/index.d.ts +1 -1
  639. package/dist/preview/index.js +1 -1
  640. package/dist/styles/index.css +1580 -3262
  641. package/package.json +2 -1
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useCategoryProducts } from '../../../hooks/use-category-products';
4
- import { Button } from '../../../components/ui/button';
5
- import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
6
- import { useStore } from '../../../lib/store-context';
3
+ import { useCategoryProducts } from '../../../hooks/use-category-products.js';
4
+ import { Button } from '../../../components/ui/button.js';
5
+ import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
6
+ import { useStore } from '../../../lib/store-context.js';
7
7
  import { ArrowLeft, Filter } from 'lucide-react';
8
8
  import Link from 'next/link';
9
- import { useToast } from '../../../components/ui/toast';
10
- import { useAnalytics } from '../../../hooks/use-analytics';
9
+ import { useToast } from '../../../components/ui/toast.js';
10
+ import { useAnalytics } from '../../../hooks/use-analytics.js';
11
11
  import { useEffect } from 'react';
12
- import { ProductCard } from '../../../components/ui/product-card';
12
+ import { ProductCard } from '../../../components/ui/product-card.js';
13
13
  export function CategoryPage({ storeConfig, categorySlug }) {
14
14
  const categories = storeConfig.categories || [];
15
15
  const category = categories.find(c => c.slug === categorySlug);
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface ContactPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ContactPage({ storeConfig: initialConfig }: ContactPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ContactPage({ storeConfig: initialConfig }: ContactPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=ContactPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContactPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ContactPage.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,gBAAgB;IACtB,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,gBAAgB,2CA0S3E"}
1
+ {"version":3,"file":"ContactPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ContactPage.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,gBAAgB;IACtB,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,gBAAgB,+BA0S3E"}
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useState } from 'react';
4
- import { Button } from '../../../components/ui/button';
4
+ import { Button } from '../../../components/ui/button.js';
5
5
  import { Mail, Phone, MapPin, Clock, Send, MessageSquare, CheckCircle } from 'lucide-react';
6
- import { useStore } from '../../../lib/store-context';
6
+ import { useStore } from '../../../lib/store-context.js';
7
7
  import Image from 'next/image';
8
- import { submitContact } from '../../../lib/services/contact.service';
8
+ import { submitContact } from '../../../lib/services/contact.service.js';
9
9
  export function ContactPage({ storeConfig: initialConfig }) {
10
10
  const { store } = useStore();
11
11
  const storeConfig = store || initialConfig;
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface HelpCenterPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsHelpCenterPage({ storeConfig }: HelpCenterPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsHelpCenterPage({ storeConfig }: HelpCenterPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=HelpCenterPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/HelpCenterPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,mBAAmB,2CA+I7E"}
1
+ {"version":3,"file":"HelpCenterPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/HelpCenterPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,mBAAmB,+BA+I7E"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Search, ChevronDown, ChevronUp, Mail, Phone, MessageCircle } from 'lucide-react';
4
4
  import { useState } from 'react';
5
- import { Button } from '../../../components/ui/button';
5
+ import { Button } from '../../../components/ui/button.js';
6
6
  export function ElectronicsHelpCenterPage({ storeConfig }) {
7
7
  const primaryColor = storeConfig.branding.primaryColor;
8
8
  const faqConfig = storeConfig.layoutConfig?.pages?.faq;
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface PrivacyPolicyPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsPrivacyPolicyPage({ storeConfig }: PrivacyPolicyPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsPrivacyPolicyPage({ storeConfig }: PrivacyPolicyPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=PrivacyPolicyPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrivacyPolicyPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/PrivacyPolicyPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,sBAAsB;IAC9B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,4BAA4B,CAAC,EAAE,WAAW,EAAE,EAAE,sBAAsB,2CA2GnF"}
1
+ {"version":3,"file":"PrivacyPolicyPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/PrivacyPolicyPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,sBAAsB;IAC9B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,4BAA4B,CAAC,EAAE,WAAW,EAAE,EAAE,sBAAsB,+BA2GnF"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { ShieldCheck, ArrowLeft } from 'lucide-react';
4
4
  import Link from 'next/link';
5
- import { formatDateSafe } from '../../../utils/date';
5
+ import { formatDateSafe } from '../../../utils/date.js';
6
6
  export function ElectronicsPrivacyPolicyPage({ storeConfig }) {
7
7
  const primaryColor = storeConfig.branding.primaryColor;
8
8
  return (_jsxs("div", { className: "min-h-screen bg-gray-50 pb-20", children: [_jsx("div", { className: "bg-white border-b", children: _jsxs("div", { className: "container mx-auto px-4 py-8", children: [_jsxs(Link, { href: `/${storeConfig.slug}`, className: "inline-flex items-center gap-2 text-gray-500 hover:text-gray-900 transition-colors mb-6", children: [_jsx(ArrowLeft, { className: "w-4 h-4" }), "Back to Home"] }), _jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-12 h-12 rounded-xl flex items-center justify-center", style: { backgroundColor: `${primaryColor}15` }, children: _jsx(ShieldCheck, { className: "w-6 h-6", style: { color: primaryColor } }) }), _jsx("h1", { className: "text-3xl font-bold text-gray-900", children: "Privacy Policy" })] })] }) }), _jsx("div", { className: "container mx-auto px-4 py-12 max-w-4xl", children: _jsxs("div", { className: "bg-white rounded-2xl p-8 md:p-12 shadow-sm border border-gray-100 prose prose-lg max-w-none", children: [_jsxs("p", { className: "text-gray-500 lead", children: ["Last updated: ", formatDateSafe(new Date(), undefined, { month: 'long', day: 'numeric', year: 'numeric' })] }), _jsxs("p", { children: ["At ", storeConfig.name, ", accessible from ", typeof window !== 'undefined' ? window.location.origin : 'our website', ", one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by ", storeConfig.name, " and how we use it."] }), _jsx("p", { children: "If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us." }), _jsx("h3", { children: "Log Files" }), _jsxs("p", { children: [storeConfig.name, " follows a standard procedure of using log files. These files log visitors when they visit websites. All hosting companies do this and a part of hosting services' analytics. The information collected by log files include internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit pages, and possibly the number of clicks. These are not linked to any information that is personally identifiable. The purpose of the information is for analyzing trends, administering the site, tracking users' movement on the website, and gathering demographic information."] }), _jsx("h3", { children: "Cookies and Web Beacons" }), _jsxs("p", { children: ["Like any other website, ", storeConfig.name, " uses \"cookies\". These cookies are used to store information including visitors' preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information."] }), _jsx("h3", { children: "Privacy Policies" }), _jsxs("p", { children: ["You may consult this list to find the Privacy Policy for each of the advertising partners of ", storeConfig.name, "."] }), _jsxs("p", { children: ["Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web Beacons that are used in their respective advertisements and links that appear on ", storeConfig.name, ", which are sent directly to users' browser. They automatically receive your IP address when this occurs. These technologies are used to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on websites that you visit."] }), _jsxs("p", { children: ["Note that ", storeConfig.name, " has no access to or control over these cookies that are used by third-party advertisers."] }), _jsx("h3", { children: "Third Party Privacy Policies" }), _jsxs("p", { children: [storeConfig.name, "'s Privacy Policy does not apply to other advertisers or websites. Thus, we are advising you to consult the respective Privacy Policies of these third-party ad servers for more detailed information. It may include their practices and instructions about how to opt-out of certain options."] }), _jsx("p", { children: "You can choose to disable cookies through your individual browser options. To know more detailed information about cookie management with specific web browsers, it can be found at the browsers' respective websites." }), _jsx("h3", { children: "Children's Information" }), _jsx("p", { children: "Another part of our priority is adding protection for children while using the internet. We encourage parents and guardians to observe, participate in, and/or monitor and guide their online activity." }), _jsxs("p", { children: [storeConfig.name, " does not knowingly collect any Personal Identifiable Information from children under the age of 13. If you think that your child provided this kind of information on our website, we strongly encourage you to contact us immediately and we will do our best efforts to promptly remove such information from our records."] }), _jsx("h3", { children: "Online Privacy Policy Only" }), _jsxs("p", { children: ["This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in ", storeConfig.name, ". This policy is not applicable to any information collected offline or via channels other than this website."] }), _jsx("h3", { children: "Consent" }), _jsx("p", { children: "By using our website, you hereby consent to our Privacy Policy and agree to its Terms and Conditions." })] }) })] }));
@@ -1,8 +1,8 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface ProductDetailPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  productSlug: string;
5
5
  }
6
- export declare function ProductDetailPage({ storeConfig, productSlug }: ProductDetailPageProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ProductDetailPage({ storeConfig: initialConfig, productSlug }: ProductDetailPageProps): import("react").JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=ProductDetailPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ProductDetailPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,mBAAmB,CAAC;AA4B5F,UAAU,sBAAsB;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAsHD,wBAAgB,iBAAiB,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,sBAAsB,2CA0iCrF"}
1
+ {"version":3,"file":"ProductDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ProductDetailPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,mBAAmB,CAAC;AA4B5F,UAAU,sBAAsB;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAsHD,wBAAgB,iBAAiB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,sBAAsB,+BA2iCpG"}
@@ -1,28 +1,28 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useProductBySlug } from '../../../hooks/use-product-by-slug';
4
- import { useProductReviews } from '../../../hooks/use-product-reviews';
5
- import { Button } from '../../../components/ui/button';
6
- import { Breadcrumbs } from '../../../components/ui/breadcrumbs';
7
- import { Modal } from '../../../components/ui/modal';
3
+ import { useProductBySlug } from '../../../hooks/use-product-by-slug.js';
4
+ import { useProductReviews } from '../../../hooks/use-product-reviews.js';
5
+ import { Button } from '../../../components/ui/button.js';
6
+ import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
7
+ import { Modal } from '../../../components/ui/modal.js';
8
8
  import { ShoppingCart, Heart, Star, CheckCircle, ThumbsUp, User, Minus, Plus, Ruler, Share2, Info } from 'lucide-react';
9
9
  import { useState, useMemo, useEffect } from 'react';
10
- import { useStore } from '../../../lib/store-context';
11
- import { useToast } from '../../../components/ui/toast';
10
+ import { useStore } from '../../../lib/store-context.js';
11
+ import { useToast } from '../../../components/ui/toast.js';
12
12
  import { useRouter } from 'next/navigation';
13
- import { useAuth } from '../../../lib/auth-context';
14
- import { useAnalytics } from '../../../hooks/use-analytics';
15
- import { customerService } from '../../../lib/services/customer.service';
16
- import { GuestCheckoutModal } from '../../../components/ui/guest-checkout-modal';
17
- import { getGuestUserInfo, saveGuestUserInfo } from '../../../lib/guest-user';
18
- import { ProductCard } from '../../../components/ui/product-card';
13
+ import { useAuth } from '../../../lib/auth-context.js';
14
+ import { useAnalytics } from '../../../hooks/use-analytics.js';
15
+ import { customerService } from '../../../lib/services/customer.service.js';
16
+ import { GuestCheckoutModal } from '../../../components/ui/guest-checkout-modal.js';
17
+ import { getGuestUserInfo, saveGuestUserInfo } from '../../../lib/guest-user.js';
18
+ import { ProductCard } from '../../../components/ui/product-card.js';
19
19
  import Image from 'next/image';
20
- import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
21
- import { ButtonLoader } from '../../../components/ui/page-loader';
22
- import { extractImageUrls } from '../../../lib/store-config-utils';
23
- import { OutOfStockOverlay } from '../../../components/ui/out-of-stock-overlay';
24
- import { cn, formatCurrency, filterActiveProducts, isEditorPreviewMode, resolvePdpProduct } from '../../../lib/utils';
25
- import { shippingService } from '../../../lib/services/shipping.service';
20
+ import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
21
+ import { ButtonLoader } from '../../../components/ui/page-loader.js';
22
+ import { extractImageUrls } from '../../../lib/store-config-utils.js';
23
+ import { OutOfStockOverlay } from '../../../components/ui/out-of-stock-overlay.js';
24
+ import { cn, formatCurrency, filterActiveProducts, isEditorPreviewMode, resolvePdpProduct } from '../../../lib/utils/index.js';
25
+ import { shippingService } from '../../../lib/services/shipping.service.js';
26
26
  import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection';
27
27
  import { formatDateSafe } from '../../../utils/date';
28
28
  // Helper function to format date
@@ -49,8 +49,9 @@ function StarRating({ rating, size = 'md', className = '' }) {
49
49
  function ReviewCard({ review }) {
50
50
  return (_jsxs("div", { className: "border-b border-gray-100 pb-8 last:border-b-0 last:pb-0", children: [_jsx("div", { className: "flex items-start justify-between mb-4", children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsxs("div", { className: "w-12 h-12 rounded-full bg-gradient-to-br from-gray-200 to-gray-300 flex items-center justify-center flex-shrink-0 ring-2 ring-white shadow-sm overflow-hidden", children: [review.userAvatar ? (_jsx(Image, { src: review.userAvatar, alt: review.userName, fill: true, className: "w-full h-full object-cover" })) : null, _jsx(User, { className: "h-6 w-6 text-gray-600", style: { display: review.userAvatar ? 'none' : 'flex' } })] }), _jsxs("div", { children: [_jsxs("div", { className: "flex items-center gap-2 mb-1", children: [_jsx("span", { className: "font-semibold text-gray-900", children: review.userName }), review.verified && (_jsx("span", { className: "text-xs bg-blue-50 text-blue-700 px-2.5 py-1 rounded-full font-medium border border-blue-100", children: "Verified Purchase" }))] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(StarRating, { rating: review.rating, size: "sm" }), _jsx("span", { className: "text-xs text-gray-500", children: formatDate(review.date) })] })] })] }) }), review.title && (_jsx("h4", { className: "font-semibold text-gray-900 mb-3 text-lg", children: review.title })), _jsx("p", { className: "text-gray-700 leading-relaxed mb-4", children: review.comment }), review.images && review.images.length > 0 && (_jsx("div", { className: "flex gap-2 mb-4", children: review.images.map((img, idx) => (_jsx("div", { className: "relative w-20 h-20 rounded-lg overflow-hidden border border-gray-200", children: _jsx(Image, { src: img, alt: `${review.userName}'s review image ${idx + 1}`, fill: true, className: "object-cover" }) }, idx))) })), review.helpful !== undefined && (_jsx("div", { className: "flex items-center gap-4", children: _jsxs("button", { className: "flex items-center gap-1.5 text-xs text-gray-600 hover:text-gray-900 transition-colors font-medium", children: [_jsx(ThumbsUp, { className: "h-4 w-4" }), _jsxs("span", { children: ["Helpful (", review.helpful, ")"] })] }) }))] }));
51
51
  }
52
- export function ProductDetailPage({ storeConfig, productSlug }) {
53
- const { addToCart, isCartLoading, toggleWishlist, isInWishlist, isWishlistLoading, setBuyNowItem } = useStore();
52
+ export function ProductDetailPage({ storeConfig: initialConfig, productSlug }) {
53
+ const { store, addToCart, isCartLoading, toggleWishlist, isInWishlist, isWishlistLoading, setBuyNowItem } = useStore();
54
+ const storeConfig = store || initialConfig;
54
55
  const products = filterActiveProducts(storeConfig.products || []);
55
56
  const initialProduct = resolvePdpProduct(initialConfig.products, storeConfig.products, productSlug, isEditorPreviewMode(storeConfig));
56
57
  const { product, relatedProducts: apiRelatedProducts, isLoading: isLoadingProduct } = useProductBySlug(storeConfig.id, productSlug, initialProduct);
@@ -494,7 +495,7 @@ export function ProductDetailPage({ storeConfig, productSlug }) {
494
495
  : 'border-gray-200 hover:border-gray-300'}`, children: _jsx(ImageWithFallback, { src: image, alt: `${product.name} view ${index + 1}`, className: cn("w-full h-full object-cover", isOutOfStock && "grayscale"), skeletonAspectRatio: "square" }) }, index))), hasMoreImages && (_jsxs("div", { className: "aspect-square rounded-lg border-2 border-gray-200 bg-gray-50 flex items-center justify-center text-xs text-gray-500 font-medium", children: ["+", productImages.length - 5, " more"] }))] }))] }), _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "flex items-center justify-between mb-2", children: [_jsx("span", { className: "text-sm font-semibold text-gray-700 uppercase tracking-wide", children: (() => {
495
496
  const brandMatch = product.name.match(/\b(Sony|Samsung|Apple|LG|Dell|HP|Microsoft|Logitech|Razer|Corsair|Asus|Acer|Lenovo)\b/i);
496
497
  return brandMatch ? brandMatch[1] : storeConfig.name;
497
- })() }), _jsx("button", { onClick: handleShare, className: "text-gray-400 hover:text-gray-900 transition-colors p-2 rounded-full hover:bg-gray-100", title: "Share this product", children: _jsx(Share2, { className: "h-5 w-5" }) })] }), _jsx("h1", { "data-product-name": true, className: "text-3xl sm:text-4xl lg:text-5xl font-bold text-gray-900 mb-3 leading-tight tracking-tight", children: product.name }), _jsxs("p", { className: "text-sm text-gray-500 mb-6 font-mono", children: ["SKU: ", displaySKU] }), _jsx("div", { className: "mb-4 flex items-center gap-2", children: product.inStock ? (_jsxs("span", { className: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800", children: [_jsx(CheckCircle, { className: "w-3 h-3 mr-1" }), "In Stock"] })) : (_jsxs("span", { className: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800", children: [_jsx(Info, { className: "w-3 h-3 mr-1" }), "Out of Stock"] })) }), _jsxs("div", { className: "mb-8", children: [_jsxs("div", { className: "flex items-baseline gap-4", children: [_jsx("span", { "data-product-price": true, className: "text-4xl lg:text-5xl font-bold text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice && (_jsx("span", { className: "text-2xl text-gray-500 line-through", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] }), product.compareAtPrice && (_jsxs("span", { className: "inline-block mt-2 bg-red-100 text-red-700 text-xs font-bold px-2 py-1 rounded", children: ["SAVE ", Math.round(((product.compareAtPrice - product.price) / product.compareAtPrice) * 100), "%"] }))] }), colorVariants.length > 0 && (_jsxs("div", { className: "mb-8", children: [_jsxs("div", { className: "flex items-center gap-2 mb-4", children: [_jsx("span", { className: "text-sm font-semibold text-gray-900", children: "Color:" }), _jsx("span", { className: "text-sm text-gray-600 capitalize", children: selectedColor || colorVariants[0]?.value })] }), _jsx("div", { className: "flex gap-3", children: colorVariants.map((variant) => {
498
+ })() }), _jsx("button", { onClick: handleShare, className: "text-gray-400 hover:text-gray-900 transition-colors p-2 rounded-full hover:bg-gray-100", title: "Share this product", children: _jsx(Share2, { className: "h-5 w-5" }) })] }), _jsx("h1", { "data-product-name": true, className: "text-3xl sm:text-4xl lg:text-5xl font-bold text-gray-900 mb-3 leading-tight tracking-tight", children: product.name }), _jsxs("p", { className: "text-sm text-gray-500 mb-6 font-mono", children: ["SKU: ", displaySKU] }), _jsx("div", { className: "mb-4 flex items-center gap-2", children: product.inStock ? (_jsxs("span", { className: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800", children: [_jsx(CheckCircle, { className: "w-3 h-3 mr-1" }), "In Stock"] })) : (_jsxs("span", { className: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800", children: [_jsx(Info, { className: "w-3 h-3 mr-1" }), "Out of Stock"] })) }), _jsxs("div", { className: "mb-8", children: [_jsxs("div", { className: "flex items-baseline gap-4", children: [_jsx("span", { "data-product-price": true, className: "text-4xl lg:text-5xl font-bold text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsx("span", { className: "text-2xl text-gray-500 line-through", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] }), product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsxs("span", { className: "inline-block mt-2 bg-red-100 text-red-700 text-xs font-bold px-2 py-1 rounded", children: ["SAVE ", Math.round(((product.compareAtPrice - product.price) / product.compareAtPrice) * 100), "%"] }))] }), colorVariants.length > 0 && (_jsxs("div", { className: "mb-8", children: [_jsxs("div", { className: "flex items-center gap-2 mb-4", children: [_jsx("span", { className: "text-sm font-semibold text-gray-900", children: "Color:" }), _jsx("span", { className: "text-sm text-gray-600 capitalize", children: selectedColor || colorVariants[0]?.value })] }), _jsx("div", { className: "flex gap-3", children: colorVariants.map((variant) => {
498
499
  const colorValue = variant.value;
499
500
  const swatchColor = colorSwatches[colorValue] || '#CCCCCC';
500
501
  const isSelected = selectedColor === colorValue;
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface ProductsPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ProductsPage(props: ProductsPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ProductsPage(props: ProductsPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=ProductsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ProductsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAyB9D,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;CAC1B;AA2wBD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAMpD"}
1
+ {"version":3,"file":"ProductsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ProductsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAyB9D,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;CAC1B;AA2wBD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
@@ -1,26 +1,26 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { Button } from '../../../components/ui/button';
4
- import { Breadcrumbs } from '../../../components/ui/breadcrumbs';
5
- import { Sheet } from '../../../components/ui/sheet';
6
- import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
7
- import { ProductCard } from '../../../components/ui/product-card';
8
- import { ProductGridSkeleton } from '../../../components/ui/skeletons';
9
- import { CategoryTree } from '../../../components/ui/category-tree';
10
- import { useStore } from '../../../lib/store-context';
11
- import { useToast } from '../../../components/ui/toast';
12
- import { useLoading } from '../../../lib/loading-context';
13
- import { useAnalytics } from '../../../hooks/use-analytics';
3
+ import { Button } from '../../../components/ui/button.js';
4
+ import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
5
+ import { Sheet } from '../../../components/ui/sheet.js';
6
+ import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
7
+ import { ProductCard } from '../../../components/ui/product-card.js';
8
+ import { ProductGridSkeleton } from '../../../components/ui/skeletons/index.js';
9
+ import { CategoryTree } from '../../../components/ui/category-tree.js';
10
+ import { useStore } from '../../../lib/store-context.js';
11
+ import { useToast } from '../../../components/ui/toast.js';
12
+ import { useLoading } from '../../../lib/loading-context.js';
13
+ import { useAnalytics } from '../../../hooks/use-analytics.js';
14
14
  import { ChevronDown, ChevronUp, Star, Check, Search, RotateCcw, SlidersHorizontal } from 'lucide-react';
15
15
  import { useSearchParams } from 'next/navigation';
16
16
  import { useState, useMemo, useEffect, useRef, Suspense } from 'react';
17
- import { useProductBrands } from '../../../hooks/use-product-brands';
18
- import { filterActiveProducts } from '../../../lib/utils';
19
- import { getAllCategoryIds, flattenCategoryTree, buildCategoryTree } from '../../../lib/utils/category-tree';
20
- import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers';
21
- import { shouldUseAPI } from '../../../lib/utils/demo-detection';
22
- import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range';
23
- import { isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds';
17
+ import { useProductBrands } from '../../../hooks/use-product-brands.js';
18
+ import { filterActiveProducts } from '../../../lib/utils/index.js';
19
+ import { getAllCategoryIds, flattenCategoryTree, buildCategoryTree } from '../../../lib/utils/category-tree.js';
20
+ import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers.js';
21
+ import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
22
+ import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range.js';
23
+ import { isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds.js';
24
24
  import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection';
25
25
  function ProductsPageContent({ storeConfig: initialConfig }) {
26
26
  const { store, addToCart } = useStore();
@@ -217,8 +217,8 @@ function ProductsPageContent({ storeConfig: initialConfig }) {
217
217
  skipBootstrapRefetch.current = false;
218
218
  setIsLoadingProducts(true);
219
219
  try {
220
- const { productService } = await import('../../../lib/services/product.service');
221
- const { transformProductToStoreProduct } = await import('../../../lib/store-config-utils');
220
+ const { productService } = await import('../../../lib/services/product.service.js');
221
+ const { transformProductToStoreProduct } = await import('../../../lib/store-config-utils.js');
222
222
  const response = await productService.getProducts({ ...productQuery, page: 1, limit: 12 });
223
223
  if (cancelled)
224
224
  return;
@@ -246,8 +246,8 @@ function ProductsPageContent({ storeConfig: initialConfig }) {
246
246
  return;
247
247
  setIsLoadingProducts(true);
248
248
  try {
249
- const { productService } = await import('../../../lib/services/product.service');
250
- const { transformProductToStoreProduct } = await import('../../../lib/store-config-utils');
249
+ const { productService } = await import('../../../lib/services/product.service.js');
250
+ const { transformProductToStoreProduct } = await import('../../../lib/store-config-utils.js');
251
251
  const nextPage = currentPage + 1;
252
252
  const response = await productService.getProducts({ ...productQuery, page: nextPage, limit: 12 });
253
253
  setProducts((current) => [...current, ...response.data.map(transformProductToStoreProduct)]);
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface ShippingReturnsPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsShippingReturnsPage({ storeConfig }: ShippingReturnsPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsShippingReturnsPage({ storeConfig }: ShippingReturnsPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=ShippingReturnsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShippingReturnsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ShippingReturnsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,UAAU,wBAAwB;IAChC,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,EAAE,WAAW,EAAE,EAAE,wBAAwB,2CAmHvF"}
1
+ {"version":3,"file":"ShippingReturnsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/ShippingReturnsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,UAAU,wBAAwB;IAChC,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,8BAA8B,CAAC,EAAE,WAAW,EAAE,EAAE,wBAAwB,+BAmHvF"}
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface TermsPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsTermsPage({ storeConfig }: TermsPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsTermsPage({ storeConfig }: TermsPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=TermsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TermsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/TermsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,oBAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,cAAc,2CAuGnE"}
1
+ {"version":3,"file":"TermsPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/TermsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,oBAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,cAAc,+BAuGnE"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { ScrollText, ArrowLeft } from 'lucide-react';
4
4
  import Link from 'next/link';
5
- import { formatDateSafe } from '../../../utils/date';
5
+ import { formatDateSafe } from '../../../utils/date.js';
6
6
  export function ElectronicsTermsPage({ storeConfig }) {
7
7
  const primaryColor = storeConfig.branding.primaryColor;
8
8
  return (_jsxs("div", { className: "min-h-screen bg-gray-50 pb-20", children: [_jsx("div", { className: "bg-white border-b", children: _jsxs("div", { className: "container mx-auto px-4 py-8", children: [_jsxs(Link, { href: `/${storeConfig.slug}`, className: "inline-flex items-center gap-2 text-gray-500 hover:text-gray-900 transition-colors mb-6", children: [_jsx(ArrowLeft, { className: "w-4 h-4" }), "Back to Home"] }), _jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-12 h-12 rounded-xl flex items-center justify-center", style: { backgroundColor: `${primaryColor}15` }, children: _jsx(ScrollText, { className: "w-6 h-6", style: { color: primaryColor } }) }), _jsx("h1", { className: "text-3xl font-bold text-gray-900", children: "Terms of Service" })] })] }) }), _jsx("div", { className: "container mx-auto px-4 py-12 max-w-4xl", children: _jsxs("div", { className: "bg-white rounded-2xl p-8 md:p-12 shadow-sm border border-gray-100 prose prose-lg max-w-none", children: [_jsxs("p", { className: "text-gray-500 lead", children: ["Last updated: ", formatDateSafe(new Date(), undefined, { month: 'long', day: 'numeric', year: 'numeric' })] }), _jsxs("p", { children: ["Please read these Terms of Service (\"Terms\", \"Terms of Service\") carefully before using the ", storeConfig.name, "website (the \"Service\") operated by ", storeConfig.name, " (\"us\", \"we\", or \"our\")."] }), _jsx("h3", { children: "1. Conditions of Use" }), _jsxs("p", { children: ["By using this website, you certify that you have read and reviewed this Agreement and that you agree to comply with its terms. If you do not want to be bound by the terms of this Agreement, you are advised to leave the website accordingly. ", storeConfig.name, "only grants use and access of this website, its products, and its services to those who have accepted its terms."] }), _jsx("h3", { children: "2. Privacy Policy" }), _jsx("p", { children: "Before you continue using our website, we advise you to read our privacy policy regarding our user data collection. It will help you better understand our practices." }), _jsx("h3", { children: "3. Age Restriction" }), _jsxs("p", { children: ["You must be at least 18 (eighteen) years of age before you can use this website. By using this website, you warrant that you are at least 18 years of age and you may legally adhere to this Agreement. ", storeConfig.name, " assumes no responsibility for liabilities related to age misrepresentation."] }), _jsx("h3", { children: "4. Intellectual Property" }), _jsxs("p", { children: ["You agree that all materials, products, and services provided on this website are the property of ", storeConfig.name, ", its affiliates, directors, officers, employees, agents, suppliers, or licensors including all copyrights, trade secrets, trademarks, patents, and other intellectual property. You also agree that you will not reproduce or redistribute the ", storeConfig.name, "'s intellectual property in any way, including electronic, digital, or new trademark registrations."] }), _jsx("h3", { children: "5. User Accounts" }), _jsx("p", { children: "As a user of this website, you may be asked to register with us and provide private information. You are responsible for ensuring the accuracy of this information, and you are responsible for maintaining the safety and security of your identifying information. You are also responsible for all activities that occur under your account or password." }), _jsx("h3", { children: "6. Applicable Law" }), _jsxs("p", { children: ["By visiting this website, you agree that the laws of the location where ", storeConfig.name, " is based, without regard to principles of conflict laws, will govern these terms and conditions, or any dispute of any sort that might come between ", storeConfig.name, " and you, or its business partners and associates."] }), _jsx("h3", { children: "7. Disputes" }), _jsx("p", { children: "Any dispute related in any way to your visit to this website or to products you purchase from us shall be arbitrated by state or federal court and you consent to exclusive jurisdiction and venue of such courts." }), _jsx("h3", { children: "8. Indemnification" }), _jsxs("p", { children: ["You agree to indemnify ", storeConfig.name, " and its affiliates and hold ", storeConfig.name, " harmless against legal claims and demands that may arise from your use or misuse of our services. We reserve the right to select our own legal counsel."] }), _jsx("h3", { children: "9. Limitation on Liability" }), _jsxs("p", { children: [storeConfig.name, " is not liable for any damages that may occur to you as a result of your misuse of our website."] }), _jsxs("p", { children: [storeConfig.name, " reserves the right to edit, modify, and change this Agreement any time. We shall let our users know of these changes through electronic mail. This Agreement is an understanding between ", storeConfig.name, " and the user, and this supersedes and replaces all prior agreements regarding the use of this website."] })] }) })] }));
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface TrackOrderPageProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsTrackOrderPage({ storeConfig }: TrackOrderPageProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsTrackOrderPage({ storeConfig }: TrackOrderPageProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=TrackOrderPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TrackOrderPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/TrackOrderPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,mBAAmB,2CAkmB7E"}
1
+ {"version":3,"file":"TrackOrderPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics/pages/TrackOrderPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,mBAAmB,+BAkmB7E"}
@@ -3,12 +3,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Search, Package, Truck, CheckCircle, Clock, AlertCircle, Loader2, XCircle, RotateCcw } from 'lucide-react';
4
4
  import { useState, useEffect, useRef } from 'react';
5
5
  import { useSearchParams } from 'next/navigation';
6
- import { Button } from '../../../components/ui/button';
7
- import { formatDateSafe } from '../../../utils/date';
6
+ import { Button } from '../../../components/ui/button.js';
7
+ import { formatDateSafe } from '../../../utils/date.js';
8
8
  // Note: orderService removed - this page is shared and not editable in the editor
9
9
  // Order tracking functionality not available in preview mode
10
- import { useToast } from '../../../components/ui/toast';
11
- import { useLoading } from '../../../lib/loading-context';
10
+ import { useToast } from '../../../components/ui/toast.js';
11
+ import { useLoading } from '../../../lib/loading-context.js';
12
12
  export function ElectronicsTrackOrderPage({ storeConfig }) {
13
13
  const primaryColor = storeConfig.branding.primaryColor;
14
14
  const searchParams = useSearchParams();
@@ -1,10 +1,10 @@
1
- import { StoreProduct } from '../../../lib/store-types';
1
+ import { StoreProduct } from '../../../lib/store-types.js';
2
2
  interface ElectronicsGridProductCardProps {
3
3
  product: StoreProduct;
4
4
  storeSlug: string;
5
5
  onAddToCart: (product: StoreProduct) => void;
6
6
  index: number;
7
7
  }
8
- export declare function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, index }: ElectronicsGridProductCardProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, index }: ElectronicsGridProductCardProps): import("react").JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=ElectronicsGridProductCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElectronicsGridProductCard.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsGridProductCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBjD,UAAU,+BAA+B;IACvC,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,+BAA+B,2CA8QrH"}
1
+ {"version":3,"file":"ElectronicsGridProductCard.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsGridProductCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBjD,UAAU,+BAA+B;IACvC,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,+BAA+B,+BA+QrH"}
@@ -1,19 +1,19 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Button } from '../../../components/ui/button';
4
- import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
5
- import { ProductRating } from '../../../components/ui/product-rating';
3
+ import { Button } from '../../../components/ui/button.js';
4
+ import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
5
+ import { ProductRating } from '../../../components/ui/product-rating.js';
6
6
  import { Heart, Plus } from 'lucide-react';
7
7
  import Link from 'next/link';
8
8
  import { motion } from 'framer-motion';
9
9
  import { useState } from 'react';
10
- import { useStore } from '../../../lib/store-context';
11
- import { useToast } from '../../../components/ui/toast';
12
- import { ButtonLoader } from '../../../components/ui/page-loader';
13
- import { useLoading } from '../../../lib/loading-context';
14
- import { cn, formatCurrency } from '../../../lib/utils';
15
- import { OutOfStockOverlay } from '../../../components/ui/out-of-stock-overlay';
16
- import { trackStorefrontEvent } from '../../../lib/mixpanel';
10
+ import { useStore } from '../../../lib/store-context.js';
11
+ import { useToast } from '../../../components/ui/toast.js';
12
+ import { ButtonLoader } from '../../../components/ui/page-loader.js';
13
+ import { useLoading } from '../../../lib/loading-context.js';
14
+ import { cn, formatCurrency } from '../../../lib/utils/index.js';
15
+ import { OutOfStockOverlay } from '../../../components/ui/out-of-stock-overlay.js';
16
+ import { trackStorefrontEvent } from '../../../lib/mixpanel.js';
17
17
  export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, index }) {
18
18
  const [isHovered, setIsHovered] = useState(false);
19
19
  const { toggleWishlist, isInWishlist, isWishlistLoading, store } = useStore();
@@ -35,8 +35,8 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
35
35
  trackProductClick();
36
36
  startPageLoading(`/${storeSlug}/products/${product.slug}`);
37
37
  };
38
- // Discount calculation
39
- const discountPercentage = product.compareAtPrice
38
+ // Discount calculation — only when compare-at is a real “was” price
39
+ const discountPercentage = product.compareAtPrice != null && product.compareAtPrice > product.price
40
40
  ? Math.round(((product.compareAtPrice - product.price) / product.compareAtPrice) * 100)
41
41
  : 0;
42
42
  const handleWishlistClick = async (e) => {
@@ -105,7 +105,7 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
105
105
  : "text-gray-400 bg-white/95 hover:text-red-500 hover:bg-red-50/50 hover:scale-110"), title: inWishlist ? "Remove from wishlist" : "Add to wishlist", "aria-label": inWishlist ? "Remove from wishlist" : "Add to wishlist", children: isLoading ? (_jsx(ButtonLoader, { className: inWishlist ? "text-red-500" : "text-gray-400" })) : (_jsx(motion.div, { animate: {
106
106
  scale: justAdded ? [1, 1.2, 1] : 1,
107
107
  rotate: justAdded ? [0, 10, -10, 0] : 0
108
- }, transition: { duration: 0.4, ease: "easeOut" }, children: _jsx(Heart, { className: cn("w-5 h-5 transition-all", inWishlist && "fill-current", justAdded && "text-red-500 fill-current") }) })) }), _jsx("div", { className: "absolute top-4 left-4 z-20 flex flex-col gap-2", children: product.compareAtPrice && (_jsxs("span", { className: "bg-slate-900 text-white text-[10px] font-bold px-3 py-1.5 rounded-full tracking-wide", children: ["-", discountPercentage, "%"] })) }), _jsx("div", { className: "hidden lg:block absolute inset-x-4 bottom-4 z-20 translate-y-full group-hover:translate-y-0 transition-transform duration-300 ease-out opacity-0 group-hover:opacity-100", children: _jsxs(Button, { onClick: (e) => {
108
+ }, transition: { duration: 0.4, ease: "easeOut" }, children: _jsx(Heart, { className: cn("w-5 h-5 transition-all", inWishlist && "fill-current", justAdded && "text-red-500 fill-current") }) })) }), _jsx("div", { className: "absolute top-4 left-4 z-20 flex flex-col gap-2", children: discountPercentage > 0 && (_jsxs("span", { className: "bg-slate-900 text-white text-[10px] font-bold px-3 py-1.5 rounded-full tracking-wide", children: ["-", discountPercentage, "%"] })) }), _jsx("div", { className: "hidden lg:block absolute inset-x-4 bottom-4 z-20 translate-y-full group-hover:translate-y-0 transition-transform duration-300 ease-out opacity-0 group-hover:opacity-100", children: _jsxs(Button, { onClick: (e) => {
109
109
  e.preventDefault();
110
110
  if (!isOutOfStock) {
111
111
  onAddToCart(product);
@@ -118,5 +118,5 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
118
118
  }, children: _jsx(Plus, { className: "w-5 h-5" }) })] }), _jsxs("div", { className: "p-6 flex flex-col gap-2", children: [_jsxs("div", { className: "flex justify-between items-start gap-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-xs font-normal text-gray-400 uppercase tracking-wide mb-1.5", children: product.specifications?.Brand || 'Brand' }), _jsx(Link, { href: `/${storeSlug}/products/${product.slug}`, className: "group/title", onClick: () => {
119
119
  trackProductClick();
120
120
  startPageLoading(`/${storeSlug}/products/${product.slug}`);
121
- }, children: _jsx("h3", { className: "font-normal text-gray-900 text-base leading-tight hover:text-gray-600 transition-colors line-clamp-1", children: product.name }) })] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] }), _jsxs("div", { className: "flex items-baseline gap-2 mt-2", children: [_jsx("span", { className: "text-lg font-medium text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice && (_jsx("span", { className: "text-sm text-gray-400 line-through font-normal", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] })] })] }));
121
+ }, children: _jsx("h3", { className: "font-normal text-gray-900 text-base leading-tight hover:text-gray-600 transition-colors line-clamp-1", children: product.name }) })] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] }), _jsxs("div", { className: "flex items-baseline gap-2 mt-2", children: [_jsx("span", { className: "text-lg font-medium text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsx("span", { className: "text-sm text-gray-400 line-through font-normal", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] })] })] }));
122
122
  }
@@ -1,7 +1,7 @@
1
- import { StoreConfig } from '../../../lib/store-types';
1
+ import { StoreConfig } from '../../../lib/store-types.js';
2
2
  interface ElectronicsHomePageGridProps {
3
3
  storeConfig: StoreConfig;
4
4
  }
5
- export declare function ElectronicsHomePageGrid({ storeConfig: initialConfig }: ElectronicsHomePageGridProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ElectronicsHomePageGrid({ storeConfig: initialConfig }: ElectronicsHomePageGridProps): import("react").JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=ElectronicsHomePageGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElectronicsHomePageGrid.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsHomePageGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA+B,MAAM,mBAAmB,CAAC;AAsB7E,UAAU,4BAA4B;IACnC,WAAW,EAAE,WAAW,CAAC;CAC3B;AA+ED,wBAAgB,uBAAuB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,4BAA4B,2CAshBnG"}
1
+ {"version":3,"file":"ElectronicsHomePageGrid.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsHomePageGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA+B,MAAM,mBAAmB,CAAC;AAsB7E,UAAU,4BAA4B;IACnC,WAAW,EAAE,WAAW,CAAC;CAC3B;AA+ED,wBAAgB,uBAAuB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,4BAA4B,+BAshBnG"}
@@ -1,25 +1,25 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useFeaturedProducts } from '../../../hooks/use-featured-products';
4
- import { Button } from '../../../components/ui/button';
5
- import { Sheet } from '../../../components/ui/sheet';
6
- import { CheckoutButton } from '../../../components/ui/checkout-button';
7
- import { CategoryTree } from '../../../components/ui/category-tree';
8
- import { useStore } from '../../../lib/store-context';
9
- import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
10
- import { useToast } from '../../../components/ui/toast';
3
+ import { useFeaturedProducts } from '../../../hooks/use-featured-products.js';
4
+ import { Button } from '../../../components/ui/button.js';
5
+ import { Sheet } from '../../../components/ui/sheet.js';
6
+ import { CheckoutButton } from '../../../components/ui/checkout-button.js';
7
+ import { CategoryTree } from '../../../components/ui/category-tree.js';
8
+ import { useStore } from '../../../lib/store-context.js';
9
+ import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
10
+ import { useToast } from '../../../components/ui/toast.js';
11
11
  import { ShoppingCart, Star, Heart, Menu, Search, User, Smartphone, ChevronRight, ChevronDown, CheckCircle2, Package, Tag, Filter, X } from 'lucide-react';
12
12
  import Link from 'next/link';
13
13
  import Image from 'next/image';
14
14
  import { useEffect, useState } from 'react';
15
- import { formatCurrency, cn, filterActiveProducts } from '../../../lib/utils';
16
- import { getLayoutText, getBannerImage, getLogoUrl } from '../../../lib/utils/asset-helpers';
17
- import { toStoreHref } from '../../../lib/utils/url-helpers';
18
- import { StoreLogo } from '../../../components/ui/store-logos';
15
+ import { formatCurrency, cn, filterActiveProducts } from '../../../lib/utils/index.js';
16
+ import { getLayoutText, getBannerImage, getLogoUrl } from '../../../lib/utils/asset-helpers.js';
17
+ import { toStoreHref } from '../../../lib/utils/url-helpers.js';
18
+ import { StoreLogo } from '../../../components/ui/store-logos.js';
19
19
  import { PromoBanner } from '../../shared/components/PromoBanner';
20
20
  import { ElectronicsGridProductCard } from './ElectronicsGridProductCard';
21
- import { productService } from '../../../lib/services/product.service';
22
- import { transformProductToStoreProduct } from '../../../lib/store-config-utils';
21
+ import { productService } from '../../../lib/services/product.service.js';
22
+ import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
23
23
  const ElectronicsFilterContent = ({ categories, storeSlug }) => (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "bg-white border-b border-gray-100 overflow-hidden", children: [_jsxs("div", { className: "bg-white px-4 py-3 border-b border-gray-100 font-normal text-sm text-gray-900 flex justify-between items-center", children: ["Browse by ", _jsx(ChevronDown, { className: "h-4 w-4 text-gray-400" })] }), _jsx("div", { className: "py-2", children: _jsx(CategoryTree, { categories: categories, mode: "link", storeSlug: storeSlug, linkBasePath: "" }) })] }), _jsxs("div", { className: "bg-white p-6 space-y-8", children: [_jsxs("div", { children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Availability" }), _jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400", defaultChecked: true }), "In Stock"] }), _jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors mt-2", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400" }), "On Sale"] })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Price" }), _jsxs("div", { className: "flex items-center gap-2 mb-3", children: [_jsxs("div", { className: "relative flex-1", children: [_jsx("span", { className: "absolute left-2 top-1.5 text-gray-400 text-xs", children: "$" }), _jsx("input", { type: "number", className: "w-full pl-5 pr-2 py-1.5 text-sm border border-gray-300 rounded focus:ring-1 focus:ring-gray-400 focus:border-gray-400", placeholder: "Min" })] }), _jsx("span", { className: "text-gray-400", children: "-" }), _jsxs("div", { className: "relative flex-1", children: [_jsx("span", { className: "absolute left-2 top-1.5 text-gray-400 text-xs", children: "$" }), _jsx("input", { type: "number", className: "w-full pl-5 pr-2 py-1.5 text-sm border border-gray-300 rounded focus:ring-1 focus:ring-gray-400 focus:border-gray-400", placeholder: "Max" })] })] }), _jsx(Button, { size: "sm", variant: "outline", className: "w-full text-xs font-normal border-gray-300 text-gray-700 hover:bg-gray-50", children: "Apply Price" })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Brands" }), _jsx("div", { className: "space-y-2 max-h-48 overflow-y-auto pr-1 scrollbar-thin scrollbar-thumb-gray-200", children: ['Apple'].map(brand => (_jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400", defaultChecked: true }), brand] }, brand))) })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Rating" }), [4, 3, 2].map(stars => (_jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors mb-1.5", children: [_jsx("input", { type: "radio", name: "rating", className: "border-gray-300 text-gray-900 focus:ring-gray-400" }), _jsx("div", { className: "flex text-yellow-400", children: [...Array(5)].map((_, i) => (_jsx(Star, { className: `h-3 w-3 ${i < stars ? 'fill-current' : 'text-gray-200 fill-gray-200'}` }, i))) }), _jsx("span", { className: "text-xs", children: "& Up" })] }, stars)))] })] })] }));
24
24
  export function ElectronicsHomePageGrid({ storeConfig: initialConfig }) {
25
25
  const { store, cart, addToCart, updateCartQuantity, isCartOpen, setIsCartOpen, cartTotal, cartCount, wishlist } = useStore();
@@ -1,12 +1,12 @@
1
1
  export { ElectronicsHomePageGrid } from './components/ElectronicsHomePageGrid';
2
2
  export { ElectronicsGridProductCard } from './components/ElectronicsGridProductCard';
3
3
  export { ElectronicsGridCategoriesPage } from './pages/ElectronicsGridCategoriesPage';
4
- export { ElectronicsGridProductsListingPage } from './pages/ProductsPage';
5
- export { ElectronicsGridProductDetailPage } from './pages/ProductDetailPage';
6
- export { ElectronicsGridCategoryPage } from './pages/CategoryPage';
4
+ export { ProductsPage as ElectronicsGridProductsListingPage } from './pages/ProductsPage';
5
+ export { ProductDetailPage as ElectronicsGridProductDetailPage } from './pages/ProductDetailPage';
6
+ export { CategoryPage as ElectronicsGridCategoryPage } from './pages/CategoryPage';
7
7
  export { ElectronicsGridCategoriesListingPage } from './pages/CategoriesPage';
8
- export { ElectronicsGridAboutPage } from './pages/AboutPage';
9
- export { ElectronicsGridContactPage } from './pages/ContactPage';
8
+ export { AboutPage as ElectronicsGridAboutPage } from './pages/AboutPage';
9
+ export { ContactPage as ElectronicsGridContactPage } from './pages/ContactPage';
10
10
  export { ElectronicsGridHelpCenterPage } from './pages/HelpCenterPage';
11
11
  export { ElectronicsGridPrivacyPolicyPage } from './pages/PrivacyPolicyPage';
12
12
  export { ElectronicsGridShippingReturnsPage } from './pages/ShippingReturnsPage';