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.
- package/dist/components/auth/LoginForm.d.ts +1 -1
- package/dist/components/auth/LoginForm.d.ts.map +1 -1
- package/dist/components/auth/LoginForm.js +1 -1
- package/dist/components/auth/LoginSheet.d.ts +2 -2
- package/dist/components/auth/LoginSheet.d.ts.map +1 -1
- package/dist/components/auth/LoginSheet.js +1 -1
- package/dist/components/auth/login-form-core.d.ts +2 -2
- package/dist/components/auth/login-form-core.d.ts.map +1 -1
- package/dist/components/auth/login-form-core.js +1 -1
- package/dist/components/auth/login-sheet-header.d.ts +2 -2
- package/dist/components/auth/login-sheet-header.d.ts.map +1 -1
- package/dist/components/auth/login-sheet-header.js +3 -3
- package/dist/components/auth/login-sheet-registry.d.ts +2 -2
- package/dist/components/auth/login-sheet-registry.d.ts.map +1 -1
- package/dist/components/auth/login-sheet-theme.types.d.ts +1 -1
- package/dist/components/auth/login-sheet-themes/index.d.ts +1 -1
- package/dist/components/auth/login-sheet-themes/index.d.ts.map +1 -1
- package/dist/components/auth/login-sheet-themes/index.js +0 -2
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts +2 -2
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts.map +1 -1
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.js +2 -2
- package/dist/components/auth/use-login-submit.js +3 -3
- package/dist/components/cart/InventoryHoldCountdown.d.ts +1 -1
- package/dist/components/cart/InventoryHoldCountdown.d.ts.map +1 -1
- package/dist/components/cart/InventoryHoldCountdown.js +2 -2
- package/dist/components/categories/category-masonry-grid.d.ts +1 -1
- package/dist/components/categories/category-masonry-grid.d.ts.map +1 -1
- package/dist/components/checkout/CheckoutFeeLines.d.ts +2 -2
- package/dist/components/checkout/CheckoutFeeLines.d.ts.map +1 -1
- package/dist/components/checkout/CheckoutFeeLines.js +1 -1
- package/dist/components/checkout/ShippingOptionsPanel.d.ts +2 -2
- package/dist/components/checkout/ShippingOptionsPanel.d.ts.map +1 -1
- package/dist/components/checkout/ShippingOptionsPanel.js +3 -3
- package/dist/components/learning/CertificateTemplates.d.ts +2 -2
- package/dist/components/learning/CertificateTemplates.d.ts.map +1 -1
- package/dist/components/learning/CertificateTemplates.js +2 -2
- package/dist/components/learning/CertificateViewer.d.ts +1 -1
- package/dist/components/learning/CertificateViewer.d.ts.map +1 -1
- package/dist/components/learning/CertificateViewer.js +2 -2
- package/dist/components/learning/MentorshipProgress.d.ts +1 -1
- package/dist/components/learning/MentorshipProgress.d.ts.map +1 -1
- package/dist/components/learning/MentorshipProgress.js +3 -3
- package/dist/components/product/ProductVariationSelectors.d.ts +2 -2
- package/dist/components/product/ProductVariationSelectors.d.ts.map +1 -1
- package/dist/components/product/ProductVariationSelectors.js +1 -1
- package/dist/components/rich-text/CategoryDescription.d.ts +2 -1
- package/dist/components/rich-text/CategoryDescription.d.ts.map +1 -1
- package/dist/components/rich-text/ProductDescription.d.ts +2 -1
- package/dist/components/rich-text/ProductDescription.d.ts.map +1 -1
- package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts +1 -1
- package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts.map +1 -1
- package/dist/components/shipping/ProductDeliveryInfoSection.d.ts +4 -4
- package/dist/components/shipping/ProductDeliveryInfoSection.d.ts.map +1 -1
- package/dist/components/shipping/ProductDeliveryInfoSection.js +2 -2
- package/dist/components/shipping/ShippingQuoteAddressForm.d.ts +2 -2
- package/dist/components/shipping/ShippingQuoteAddressForm.d.ts.map +1 -1
- package/dist/components/shipping/ShippingQuoteAddressForm.js +3 -3
- package/dist/components/ui/address-selector.d.ts +2 -2
- package/dist/components/ui/address-selector.d.ts.map +1 -1
- package/dist/components/ui/alert-modal.d.ts +1 -1
- package/dist/components/ui/alert-modal.d.ts.map +1 -1
- package/dist/components/ui/alert-modal.js +1 -1
- package/dist/components/ui/avatar-image.d.ts +1 -1
- package/dist/components/ui/avatar-image.d.ts.map +1 -1
- package/dist/components/ui/avatar-image.js +1 -1
- package/dist/components/ui/background-patterns.d.ts +4 -4
- package/dist/components/ui/background-patterns.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/breadcrumbs.d.ts +2 -1
- package/dist/components/ui/breadcrumbs.d.ts.map +1 -1
- package/dist/components/ui/breadcrumbs.js +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/category-tree.d.ts +2 -2
- package/dist/components/ui/category-tree.d.ts.map +1 -1
- package/dist/components/ui/category-tree.js +2 -2
- package/dist/components/ui/checkout-button.d.ts +2 -2
- package/dist/components/ui/checkout-button.d.ts.map +1 -1
- package/dist/components/ui/checkout-button.js +4 -4
- package/dist/components/ui/guest-checkout-modal.d.ts +2 -1
- package/dist/components/ui/guest-checkout-modal.d.ts.map +1 -1
- package/dist/components/ui/guest-checkout-modal.js +1 -1
- package/dist/components/ui/image-skeleton.d.ts +1 -1
- package/dist/components/ui/image-skeleton.d.ts.map +1 -1
- package/dist/components/ui/image-skeleton.js +1 -1
- package/dist/components/ui/image-with-fallback.d.ts +1 -1
- package/dist/components/ui/image-with-fallback.d.ts.map +1 -1
- package/dist/components/ui/image-with-fallback.js +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/limited-time-offer-badge.d.ts +1 -1
- package/dist/components/ui/limited-time-offer-badge.d.ts.map +1 -1
- package/dist/components/ui/limited-time-offer-badge.js +2 -2
- package/dist/components/ui/loading-skeleton-wrapper.d.ts +1 -1
- package/dist/components/ui/loading-skeleton-wrapper.d.ts.map +1 -1
- package/dist/components/ui/modal.d.ts +1 -1
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/modal.js +1 -1
- package/dist/components/ui/otp-input.d.ts +2 -1
- package/dist/components/ui/otp-input.d.ts.map +1 -1
- package/dist/components/ui/otp-input.js +1 -1
- package/dist/components/ui/out-of-stock-overlay.d.ts +1 -1
- package/dist/components/ui/out-of-stock-overlay.d.ts.map +1 -1
- package/dist/components/ui/out-of-stock-overlay.js +1 -1
- package/dist/components/ui/page-animate-wrapper.d.ts +1 -1
- package/dist/components/ui/page-animate-wrapper.d.ts.map +1 -1
- package/dist/components/ui/page-animate-wrapper.js +2 -2
- package/dist/components/ui/page-content-loader.d.ts +1 -1
- package/dist/components/ui/page-content-loader.d.ts.map +1 -1
- package/dist/components/ui/page-content-loader.js +1 -1
- package/dist/components/ui/page-loader.d.ts +3 -3
- package/dist/components/ui/page-loader.d.ts.map +1 -1
- package/dist/components/ui/page-loader.js +1 -1
- package/dist/components/ui/product-card.d.ts +2 -2
- package/dist/components/ui/product-card.d.ts.map +1 -1
- package/dist/components/ui/product-card.js +17 -17
- package/dist/components/ui/product-rating.d.ts +1 -1
- package/dist/components/ui/product-rating.d.ts.map +1 -1
- package/dist/components/ui/product-rating.js +1 -1
- package/dist/components/ui/product-stock-badge.d.ts +2 -2
- package/dist/components/ui/product-stock-badge.d.ts.map +1 -1
- package/dist/components/ui/product-stock-badge.js +2 -2
- package/dist/components/ui/review-form.d.ts +2 -2
- package/dist/components/ui/review-form.d.ts.map +1 -1
- package/dist/components/ui/review-form.js +2 -2
- package/dist/components/ui/route-skeleton-loader.d.ts +1 -1
- package/dist/components/ui/route-skeleton-loader.d.ts.map +1 -1
- package/dist/components/ui/route-skeleton-loader.js +1 -1
- package/dist/components/ui/sheet.d.ts +1 -1
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/skeleton.d.ts +1 -1
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/skeletons/category-grid-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/category-grid-skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeletons/checkout-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/checkout-skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeletons/page-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/page-skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeletons/product-card-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/product-card-skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeletons/product-detail-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/product-detail-skeleton.d.ts.map +1 -1
- package/dist/components/ui/skeletons/product-grid-skeleton.d.ts +1 -1
- package/dist/components/ui/skeletons/product-grid-skeleton.d.ts.map +1 -1
- package/dist/components/ui/store-logos.d.ts +13 -13
- package/dist/components/ui/store-logos.d.ts.map +1 -1
- package/dist/components/ui/store-logos.js +2 -2
- package/dist/components/ui/toast.d.ts +1 -1
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/components/ui/toast.js +1 -1
- package/dist/components/ui/video-player.d.ts +1 -1
- package/dist/components/ui/video-player.d.ts.map +1 -1
- package/dist/components/ui/video-player.js +2 -2
- package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts +1 -1
- package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts.map +1 -1
- package/dist/editor/payaza-form/EditorCanvasPreview.d.ts +1 -1
- package/dist/editor/payaza-form/EditorCanvasPreview.d.ts.map +1 -1
- package/dist/editor/payaza-form/EditorCanvasPreview.js +1 -1
- package/dist/editor/payaza-form/PayazaFormEditor.d.ts.map +1 -1
- package/dist/editor/payaza-form/PayazaFormEditor.js +4 -2
- package/dist/editor/payaza-form/SliderArrayEditor.js +1 -1
- package/dist/editor/payaza-form/components/BlocksField.js +1 -1
- package/dist/editor/payaza-form/components/SectionField.js +1 -1
- package/dist/editor/payaza-form/components/StarRatingField.js +1 -1
- package/dist/editor/payaza-form/data-transformer.d.ts.map +1 -1
- package/dist/editor/payaza-form/data-transformer.js +8 -1
- package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts +2 -1
- package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts.map +1 -1
- package/dist/editor/shared/BlockOutlineTree.d.ts +2 -1
- package/dist/editor/shared/BlockOutlineTree.d.ts.map +1 -1
- package/dist/editor/shared/BlockOutlineTree.js +1 -1
- package/dist/editor/shared/EditorHeader.js +1 -1
- package/dist/editor/shared/EditorNavigator.js +1 -1
- package/dist/editor/shared/InlineCanvasPreview.js +1 -1
- package/dist/editor/shared/useEditorChromeMetrics.js +2 -1
- package/dist/hooks/use-analytics.d.ts +1 -1
- package/dist/hooks/use-analytics.js +3 -3
- package/dist/hooks/use-api.js +1 -1
- package/dist/hooks/use-cart-api.d.ts +1 -1
- package/dist/hooks/use-cart-api.js +3 -3
- package/dist/hooks/use-catalog-loader.d.ts +1 -1
- package/dist/hooks/use-catalog-loader.js +6 -6
- package/dist/hooks/use-catalog-price-range.d.ts +2 -2
- package/dist/hooks/use-catalog-price-range.js +1 -1
- package/dist/hooks/use-category-products.d.ts +1 -1
- package/dist/hooks/use-category-products.js +2 -2
- package/dist/hooks/use-checkout-fees.d.ts +4 -3
- package/dist/hooks/use-checkout-fees.d.ts.map +1 -1
- package/dist/hooks/use-checkout-fees.js +1 -1
- package/dist/hooks/use-content-ready.js +1 -1
- package/dist/hooks/use-featured-products.d.ts +1 -1
- package/dist/hooks/use-featured-products.js +2 -2
- package/dist/hooks/use-multi-store-checkout-fees.d.ts +4 -3
- package/dist/hooks/use-multi-store-checkout-fees.d.ts.map +1 -1
- package/dist/hooks/use-multi-store-checkout-fees.js +1 -1
- package/dist/hooks/use-navigation-loading.js +1 -1
- package/dist/hooks/use-payaza-checkout.d.ts +1 -1
- package/dist/hooks/use-payaza-checkout.js +2 -2
- package/dist/hooks/use-product-brands.js +1 -1
- package/dist/hooks/use-product-by-slug.d.ts +1 -1
- package/dist/hooks/use-product-by-slug.js +2 -2
- package/dist/hooks/use-product-variation-selection.d.ts +7 -1
- package/dist/hooks/use-product-variation-selection.d.ts.map +1 -1
- package/dist/hooks/use-product-variation-selection.js +1 -1
- package/dist/hooks/use-products-api.d.ts +2 -2
- package/dist/hooks/use-products-api.js +3 -3
- package/dist/hooks/use-shipping-quote.d.ts +2 -2
- package/dist/hooks/use-shipping-quote.js +2 -2
- package/dist/hooks/use-store-api.d.ts +2 -2
- package/dist/hooks/use-store-api.js +4 -4
- package/dist/index.d.ts +10 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -6
- package/dist/layouts/booking/components/BookingHomePage.d.ts +2 -2
- package/dist/layouts/booking/components/BookingHomePage.d.ts.map +1 -1
- package/dist/layouts/booking/components/BookingHomePage.js +4 -4
- package/dist/layouts/booking/components/BookingMultilineHeading.d.ts +2 -1
- package/dist/layouts/booking/components/BookingMultilineHeading.d.ts.map +1 -1
- package/dist/layouts/booking/components/BookingTestimonialCard.d.ts +3 -2
- package/dist/layouts/booking/components/BookingTestimonialCard.d.ts.map +1 -1
- package/dist/layouts/booking/components/BookingTestimonialCard.js +1 -1
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts +2 -1
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts.map +1 -1
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.js +1 -1
- package/dist/layouts/booking/components/booking-footer-defaults.d.ts +1 -1
- package/dist/layouts/booking/components/booking-testimonial-defaults.d.ts +1 -1
- package/dist/layouts/booking/index.d.ts +5 -5
- package/dist/layouts/booking/index.d.ts.map +1 -1
- package/dist/layouts/booking/index.js +5 -5
- package/dist/layouts/booking/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/AboutPage.js +3 -3
- package/dist/layouts/booking/pages/BookPage.d.ts +2 -2
- package/dist/layouts/booking/pages/BookPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/BookPage.js +14 -14
- package/dist/layouts/booking/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/booking/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/CategoriesPage.js +4 -4
- package/dist/layouts/booking/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/booking/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/CategoryPage.js +6 -6
- package/dist/layouts/booking/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/booking/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/ContactPage.js +3 -3
- package/dist/layouts/booking/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/booking/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/booking/pages/ServicesPage.d.ts +2 -2
- package/dist/layouts/booking/pages/ServicesPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/ServicesPage.js +3 -3
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts +2 -2
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +17 -17
- package/dist/layouts/booking-agenda/index.d.ts +5 -5
- package/dist/layouts/booking-agenda/index.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/index.js +5 -5
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/AboutPage.js +3 -3
- package/dist/layouts/booking-agenda/pages/BookPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/BookPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/BookPage.js +14 -14
- package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/CategoriesPage.js +4 -4
- package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/CategoryPage.js +6 -6
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/ContactPage.js +3 -3
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts +2 -2
- package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/ServicesPage.js +2 -2
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts +1 -1
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -1
- package/dist/layouts/clothing/components/ClothingHomePage.js +6 -4
- package/dist/layouts/clothing/index.d.ts +5 -5
- package/dist/layouts/clothing/index.d.ts.map +1 -1
- package/dist/layouts/clothing/index.js +5 -5
- package/dist/layouts/clothing/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/CategoriesPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/CategoryPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/CategoryPage.js +1 -1
- package/dist/layouts/clothing/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/ProductDetailPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/clothing/pages/ProductsPage.d.ts +1 -1
- package/dist/layouts/clothing/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/ProductsPage.js +7 -7
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts +1 -1
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.js +10 -13
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts +6 -5
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/index.d.ts +5 -5
- package/dist/layouts/clothing-minimal/index.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/index.js +5 -5
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.js +1 -1
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductsPage.js +10 -8
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.js +4 -4
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.js +14 -14
- package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsHomePage.js +8 -8
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.js +2 -2
- package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsProductsPage.js +12 -12
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.js +2 -2
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts +2 -2
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.js +6 -6
- package/dist/layouts/electronics/index.d.ts +5 -5
- package/dist/layouts/electronics/index.d.ts.map +1 -1
- package/dist/layouts/electronics/index.js +5 -5
- package/dist/layouts/electronics/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/AboutPage.js +3 -3
- package/dist/layouts/electronics/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/CategoryPage.js +7 -7
- package/dist/layouts/electronics/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/ContactPage.js +3 -3
- package/dist/layouts/electronics/pages/HelpCenterPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/HelpCenterPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/HelpCenterPage.js +1 -1
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.js +1 -1
- package/dist/layouts/electronics/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/electronics/pages/ProductsPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/ProductsPage.js +22 -22
- package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/TermsPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/TermsPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/TermsPage.js +1 -1
- package/dist/layouts/electronics/pages/TrackOrderPage.d.ts +2 -2
- package/dist/layouts/electronics/pages/TrackOrderPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/TrackOrderPage.js +4 -4
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts +2 -2
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.js +14 -14
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts +2 -2
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.js +14 -14
- package/dist/layouts/electronics-grid/index.d.ts +5 -5
- package/dist/layouts/electronics-grid/index.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/index.js +5 -5
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/AboutPage.js +3 -3
- package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/CategoryPage.js +7 -7
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ContactPage.js +3 -3
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.js +6 -6
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.js +1 -1
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.js +1 -1
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ProductsPage.js +22 -22
- package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/TermsPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/TermsPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/TermsPage.js +1 -1
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts +2 -2
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.js +4 -4
- package/dist/layouts/food/components/FoodHomePage.d.ts +2 -2
- package/dist/layouts/food/components/FoodHomePage.d.ts.map +1 -1
- package/dist/layouts/food/components/FoodHomePage.js +7 -7
- package/dist/layouts/food/index.d.ts +6 -6
- package/dist/layouts/food/index.d.ts.map +1 -1
- package/dist/layouts/food/index.js +6 -6
- package/dist/layouts/food/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/AboutPage.js +3 -3
- package/dist/layouts/food/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/food/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/CategoriesPage.js +4 -4
- package/dist/layouts/food/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/food/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/CategoryPage.js +7 -7
- package/dist/layouts/food/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/food/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ContactPage.js +3 -3
- package/dist/layouts/food/pages/MenuPage.d.ts +2 -2
- package/dist/layouts/food/pages/MenuPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/MenuPage.js +7 -7
- package/dist/layouts/food/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/food/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/food/pages/ProductsPage.d.ts +2 -2
- package/dist/layouts/food/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ProductsPage.js +16 -16
- package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts +2 -2
- package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts.map +1 -1
- package/dist/layouts/food-modern/components/FoodHomePageModern.js +8 -8
- package/dist/layouts/food-modern/index.d.ts +6 -6
- package/dist/layouts/food-modern/index.d.ts.map +1 -1
- package/dist/layouts/food-modern/index.js +6 -6
- package/dist/layouts/food-modern/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/AboutPage.js +3 -3
- package/dist/layouts/food-modern/pages/CategoriesPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/CategoriesPage.js +4 -4
- package/dist/layouts/food-modern/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/CategoryPage.js +7 -7
- package/dist/layouts/food-modern/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ContactPage.js +3 -3
- package/dist/layouts/food-modern/pages/MenuPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/MenuPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/MenuPage.js +7 -7
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ProductDetailPage.js +23 -22
- package/dist/layouts/food-modern/pages/ProductsPage.d.ts +2 -2
- package/dist/layouts/food-modern/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ProductsPage.js +16 -16
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.js +6 -6
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts +2 -1
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/index.d.ts +6 -6
- package/dist/layouts/motivational-speaker/index.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/index.js +6 -6
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/AboutPage.js +3 -3
- package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/CategoryPage.js +9 -9
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/ContactPage.js +3 -3
- package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/ProductsPage.js +22 -22
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.js +8 -8
- package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/ServicesPage.js +2 -2
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts +2 -2
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.js +7 -7
- package/dist/layouts/shared/components/BaseStoreLayout.d.ts +1 -1
- package/dist/layouts/shared/components/BaseStoreLayout.d.ts.map +1 -1
- package/dist/layouts/shared/components/CartLineQuantityControl.d.ts +2 -2
- package/dist/layouts/shared/components/CartLineQuantityControl.d.ts.map +1 -1
- package/dist/layouts/shared/components/CartLineQuantityControl.js +1 -1
- package/dist/layouts/shared/components/GenericPageWrapper.d.ts +1 -1
- package/dist/layouts/shared/components/GenericPageWrapper.d.ts.map +1 -1
- package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts +1 -1
- package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts.map +1 -1
- package/dist/layouts/shared/components/ProductPriceFilterSection.js +1 -1
- package/dist/layouts/shared/components/PromoBanner.d.ts +2 -1
- package/dist/layouts/shared/components/PromoBanner.d.ts.map +1 -1
- package/dist/layouts/shared/components/StoreFooter.d.ts +1 -1
- package/dist/layouts/shared/components/StoreFooter.d.ts.map +1 -1
- package/dist/layouts/shared/components/StoreFooter.js +3 -3
- package/dist/layouts/shared/components/StoreHeader.d.ts +1 -1
- package/dist/layouts/shared/components/StoreHeader.d.ts.map +1 -1
- package/dist/layouts/shared/components/StoreHeader.js +4 -4
- package/dist/layouts/shared/components/TestimonialCard.d.ts +3 -2
- package/dist/layouts/shared/components/TestimonialCard.d.ts.map +1 -1
- package/dist/layouts/shared/components/TestimonialCard.js +1 -1
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts +1 -1
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts.map +1 -1
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts +1 -1
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts.map +1 -1
- package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts +1 -1
- package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts.map +1 -1
- package/dist/layouts/shared/pages/AccountPage.d.ts +2 -2
- package/dist/layouts/shared/pages/AccountPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/AccountPage.js +15 -15
- package/dist/layouts/shared/pages/CartPage.d.ts +2 -2
- package/dist/layouts/shared/pages/CartPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/CartPage.js +4 -4
- package/dist/layouts/shared/pages/CheckoutPage.d.ts +2 -2
- package/dist/layouts/shared/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/CheckoutPage.js +19 -19
- package/dist/layouts/shared/pages/CookiePolicyPage.d.ts +2 -2
- package/dist/layouts/shared/pages/CookiePolicyPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/CookiePolicyPage.js +1 -1
- package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts +2 -2
- package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/FeatureDisabledPage.js +1 -1
- package/dist/layouts/shared/pages/HelpCenterPage.d.ts +2 -2
- package/dist/layouts/shared/pages/HelpCenterPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/HelpCenterPage.js +1 -1
- package/dist/layouts/shared/pages/MaintenancePage.d.ts +2 -2
- package/dist/layouts/shared/pages/MaintenancePage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/MaintenancePage.js +2 -2
- package/dist/layouts/shared/pages/PortfolioPage.d.ts +2 -2
- package/dist/layouts/shared/pages/PortfolioPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/PortfolioPage.js +1 -1
- package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts +2 -2
- package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/PrivacyPolicyPage.js +1 -1
- package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts +2 -2
- package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/SizeGuidePage.d.ts +2 -2
- package/dist/layouts/shared/pages/SizeGuidePage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/SizeGuidePage.js +1 -1
- package/dist/layouts/shared/pages/StyleGuidePage.d.ts +2 -2
- package/dist/layouts/shared/pages/StyleGuidePage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/StyleGuidePage.js +3 -3
- package/dist/layouts/shared/pages/TeamPage.d.ts +2 -2
- package/dist/layouts/shared/pages/TeamPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/TermsPage.d.ts +2 -2
- package/dist/layouts/shared/pages/TermsPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/TermsPage.js +1 -1
- package/dist/layouts/shared/pages/TrackOrderPage.d.ts +2 -2
- package/dist/layouts/shared/pages/TrackOrderPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/TrackOrderPage.js +4 -4
- package/dist/layouts/shared/pages/WishlistPage.d.ts +2 -2
- package/dist/layouts/shared/pages/WishlistPage.d.ts.map +1 -1
- package/dist/layouts/shared/pages/WishlistPage.js +11 -11
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.js +1 -1
- package/dist/layouts/shared/wrappers/ClothingLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/ClothingLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/ClothingLayout.js +5 -5
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.js +4 -4
- package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/ElectronicsLayout.js +4 -4
- package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/FoodModernLayout.js +4 -4
- package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/MotivationalLayout.js +4 -4
- package/dist/layouts/shared/wrappers/StandardLayout.d.ts +1 -1
- package/dist/layouts/shared/wrappers/StandardLayout.d.ts.map +1 -1
- package/dist/layouts/shared/wrappers/StandardLayout.js +4 -4
- package/dist/lib/auth-context.d.ts +1 -1
- package/dist/lib/auth-context.d.ts.map +1 -1
- package/dist/lib/loading-context.d.ts +1 -1
- package/dist/lib/loading-context.d.ts.map +1 -1
- package/dist/lib/loading-context.js +4 -4
- package/dist/lib/payaza-checkout.d.ts +1 -1
- package/dist/lib/payaza-checkout.js +3 -3
- package/dist/lib/payaza-public-key.d.ts +1 -1
- package/dist/lib/preview-data.d.ts.map +1 -1
- package/dist/lib/preview-data.js +0 -2
- package/dist/lib/rich-html.d.ts +8 -0
- package/dist/lib/rich-html.d.ts.map +1 -1
- package/dist/lib/services/fees.service.d.ts +63 -17
- package/dist/lib/services/fees.service.d.ts.map +1 -1
- package/dist/lib/services/fees.service.js +137 -3
- package/dist/lib/store-context.d.ts +1 -1
- package/dist/lib/store-context.d.ts.map +1 -1
- package/dist/lib/store-types.d.ts +32 -0
- package/dist/lib/store-types.d.ts.map +1 -1
- package/dist/lib/utils/asset-helpers.d.ts +1 -1
- package/dist/lib/utils/category-tree.d.ts +1 -1
- package/dist/lib/utils/index.js +1 -1
- package/dist/preview/LayoutPreview.d.ts +1 -1
- package/dist/preview/LayoutPreview.d.ts.map +1 -1
- package/dist/preview/LayoutPreview.js +23 -6
- package/dist/preview/PreviewRouter.d.ts +3 -2
- package/dist/preview/PreviewRouter.d.ts.map +1 -1
- package/dist/preview/PreviewRouter.js +2 -2
- package/dist/preview/ShadowDOMWrapper.d.ts +1 -1
- package/dist/preview/ShadowDOMWrapper.d.ts.map +1 -1
- package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts +1 -1
- package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts.map +1 -1
- package/dist/preview/canvas/PreviewCanvasStyles.d.ts +1 -1
- package/dist/preview/canvas/PreviewCanvasStyles.d.ts.map +1 -1
- package/dist/preview/index.d.ts +1 -1
- package/dist/preview/index.js +1 -1
- package/dist/styles/index.css +1580 -3262
- package/package.json +2 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button } from '../../../components/ui/button';
|
|
3
|
+
import { Button } from '../../../components/ui/button.js';
|
|
4
4
|
import { Clock, ArrowRight, Filter } from 'lucide-react';
|
|
5
5
|
import Link from 'next/link';
|
|
6
6
|
import { useState } from 'react';
|
|
7
|
-
import { cn, formatCurrency, filterActiveServices } from '../../../lib/utils';
|
|
7
|
+
import { cn, formatCurrency, filterActiveServices } from '../../../lib/utils/index.js';
|
|
8
8
|
import Image from 'next/image';
|
|
9
|
-
import { useStore } from '../../../lib/store-context';
|
|
9
|
+
import { useStore } from '../../../lib/store-context.js';
|
|
10
10
|
export function ServicesPage({ storeConfig: initialConfig, initialCategory, titleOverride }) {
|
|
11
11
|
const { store } = useStore();
|
|
12
12
|
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 BookingHomePageAgendaProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
}
|
|
5
|
-
export declare function BookingHomePageAgenda({ storeConfig: initialConfig }: BookingHomePageAgendaProps): import("react
|
|
5
|
+
export declare function BookingHomePageAgenda({ storeConfig: initialConfig }: BookingHomePageAgendaProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=BookingHomePageAgenda.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookingHomePageAgenda.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/components/BookingHomePageAgenda.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAyBhD,UAAU,0BAA0B;IAClC,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"BookingHomePageAgenda.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/components/BookingHomePageAgenda.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAyBhD,UAAU,0BAA0B;IAClC,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,0BAA0B,+BA0vB/F"}
|
|
@@ -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 { Button } from '../../../components/ui/button';
|
|
4
|
-
import { Modal } from '../../../components/ui/modal';
|
|
5
|
-
import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
|
|
6
|
-
import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt';
|
|
7
|
-
import { useToast } from '../../../components/ui/toast';
|
|
8
|
-
import { useStore } from '../../../lib/store-context';
|
|
9
|
-
import { checkoutService } from '../../../lib/services/checkout.service';
|
|
10
|
-
import { requireCheckoutPayazaPublicKey } from '../../../lib/payaza-public-key';
|
|
11
|
-
import { usePayazaCheckout } from '../../../hooks/use-payaza-checkout';
|
|
12
|
-
import { useAuth } from '../../../lib/auth-context';
|
|
3
|
+
import { Button } from '../../../components/ui/button.js';
|
|
4
|
+
import { Modal } from '../../../components/ui/modal.js';
|
|
5
|
+
import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
|
|
6
|
+
import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
|
|
7
|
+
import { useToast } from '../../../components/ui/toast.js';
|
|
8
|
+
import { useStore } from '../../../lib/store-context.js';
|
|
9
|
+
import { checkoutService } from '../../../lib/services/checkout.service.js';
|
|
10
|
+
import { requireCheckoutPayazaPublicKey } from '../../../lib/payaza-public-key.js';
|
|
11
|
+
import { usePayazaCheckout } from '../../../hooks/use-payaza-checkout.js';
|
|
12
|
+
import { useAuth } from '../../../lib/auth-context.js';
|
|
13
13
|
import { Calendar, Clock, ChevronRight, Star, Search, User, Heart, Filter, MoreHorizontal, X, CheckCircle, Sparkles, Lock } from 'lucide-react';
|
|
14
14
|
import Link from 'next/link';
|
|
15
15
|
import { useState, useEffect, useRef } from 'react';
|
|
16
|
-
import { formatCurrency, filterActiveServices } from '../../../lib/utils';
|
|
17
|
-
import { getBannerImage, getServiceImage, getTeamMemberImage, getTextContent, getLayoutText, getThemeColor } from '../../../lib/utils/asset-helpers';
|
|
18
|
-
import { formatDateSafe } from '../../../utils/date';
|
|
19
|
-
import { isDemoStore, shouldUseAPI } from '../../../lib/utils/demo-detection';
|
|
16
|
+
import { formatCurrency, filterActiveServices } from '../../../lib/utils/index.js';
|
|
17
|
+
import { getBannerImage, getServiceImage, getTeamMemberImage, getTextContent, getLayoutText, getThemeColor } from '../../../lib/utils/asset-helpers.js';
|
|
18
|
+
import { formatDateSafe } from '../../../utils/date.js';
|
|
19
|
+
import { isDemoStore, shouldUseAPI } from '../../../lib/utils/demo-detection.js';
|
|
20
20
|
import { TestimonialCard } from '../../shared/components/TestimonialCard';
|
|
21
21
|
import { BookingTestimonialsEmptyState } from '../../booking/components/BookingTestimonialsEmptyState';
|
|
22
22
|
import { getPayazaSectionInlineStyle } from '../../../lib/payaza-section-styles';
|
|
23
|
-
import { showLayoutDecorativeBadges } from '../../../lib/layout-badges';
|
|
24
|
-
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key';
|
|
25
|
-
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability';
|
|
23
|
+
import { showLayoutDecorativeBadges } from '../../../lib/layout-badges.js';
|
|
24
|
+
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key.js';
|
|
25
|
+
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability.js';
|
|
26
26
|
export function BookingHomePageAgenda({ storeConfig: initialConfig }) {
|
|
27
27
|
const { store } = useStore();
|
|
28
28
|
const storeConfig = store || initialConfig;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { BookingHomePageAgenda } from './components/BookingHomePageAgenda';
|
|
2
2
|
export { BookingAgendaBookPage } from './pages/BookPage';
|
|
3
|
-
export { BookingAgendaServicesPage } from './pages/ServicesPage';
|
|
4
|
-
export { BookingAgendaProductDetailPage } from './pages/ProductDetailPage';
|
|
5
|
-
export { BookingAgendaCategoryPage } from './pages/CategoryPage';
|
|
3
|
+
export { ServicesPage as BookingAgendaServicesPage } from './pages/ServicesPage';
|
|
4
|
+
export { ProductDetailPage as BookingAgendaProductDetailPage } from './pages/ProductDetailPage';
|
|
5
|
+
export { CategoryPage as BookingAgendaCategoryPage } from './pages/CategoryPage';
|
|
6
6
|
export { BookingAgendaCategoriesPage } from './pages/CategoriesPage';
|
|
7
|
-
export { BookingAgendaAboutPage } from './pages/AboutPage';
|
|
8
|
-
export { BookingAgendaContactPage } from './pages/ContactPage';
|
|
7
|
+
export { AboutPage as BookingAgendaAboutPage } from './pages/AboutPage';
|
|
8
|
+
export { ContactPage as BookingAgendaContactPage } from './pages/ContactPage';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/booking-agenda/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/booking-agenda/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,YAAY,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,iBAAiB,IAAI,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,EAAE,YAAY,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,SAAS,IAAI,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,WAAW,IAAI,wBAAwB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// BookEasy Agenda (booking-agenda) layout — fully sandboxed exports
|
|
2
2
|
export { BookingHomePageAgenda } from './components/BookingHomePageAgenda';
|
|
3
3
|
export { BookingAgendaBookPage } from './pages/BookPage';
|
|
4
|
-
export { BookingAgendaServicesPage } from './pages/ServicesPage';
|
|
5
|
-
export { BookingAgendaProductDetailPage } from './pages/ProductDetailPage';
|
|
6
|
-
export { BookingAgendaCategoryPage } from './pages/CategoryPage';
|
|
4
|
+
export { ServicesPage as BookingAgendaServicesPage } from './pages/ServicesPage';
|
|
5
|
+
export { ProductDetailPage as BookingAgendaProductDetailPage } from './pages/ProductDetailPage';
|
|
6
|
+
export { CategoryPage as BookingAgendaCategoryPage } from './pages/CategoryPage';
|
|
7
7
|
export { BookingAgendaCategoriesPage } from './pages/CategoriesPage';
|
|
8
|
-
export { BookingAgendaAboutPage } from './pages/AboutPage';
|
|
9
|
-
export { BookingAgendaContactPage } from './pages/ContactPage';
|
|
8
|
+
export { AboutPage as BookingAgendaAboutPage } from './pages/AboutPage';
|
|
9
|
+
export { ContactPage as BookingAgendaContactPage } from './pages/ContactPage';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
interface AboutPageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
}
|
|
5
|
-
export declare function AboutPage({ storeConfig: initialConfig }: AboutPageProps): import("react
|
|
5
|
+
export declare function AboutPage({ storeConfig: initialConfig }: AboutPageProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=AboutPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BA2OvE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { Users, Award, Heart, Leaf, MapPin, Clock, Mail, ArrowRight } from 'lucide-react';
|
|
4
|
-
import { Button } from '../../../components/ui/button';
|
|
5
|
-
import { DotPattern } from '../../../components/ui/background-patterns';
|
|
6
|
-
import { useStore } from '../../../lib/store-context';
|
|
4
|
+
import { Button } from '../../../components/ui/button.js';
|
|
5
|
+
import { DotPattern } from '../../../components/ui/background-patterns.js';
|
|
6
|
+
import { useStore } from '../../../lib/store-context.js';
|
|
7
7
|
import Image from 'next/image';
|
|
8
8
|
export function AboutPage({ storeConfig: initialConfig }) {
|
|
9
9
|
const { store } = useStore();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
interface BookPageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
serviceSlug?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function BookingAgendaBookPage({ storeConfig, serviceSlug }: BookPageProps): import("react
|
|
6
|
+
export declare function BookingAgendaBookPage({ storeConfig, serviceSlug }: BookPageProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=BookPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/BookPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAoB9D,UAAU,aAAa;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"BookPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/BookPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAgB,MAAM,mBAAmB,CAAC;AAoB9D,UAAU,aAAa;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,aAAa,+BAg/BhF"}
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, useRef } from 'react';
|
|
4
4
|
import { Clock, Check, ChevronRight, ChevronLeft, ArrowLeft, ShieldCheck, CheckCircle2, Lock } from 'lucide-react';
|
|
5
|
-
import { Button } from '../../../components/ui/button';
|
|
6
|
-
import { cn, formatCurrency } from '../../../lib/utils';
|
|
5
|
+
import { Button } from '../../../components/ui/button.js';
|
|
6
|
+
import { cn, formatCurrency } from '../../../lib/utils/index.js';
|
|
7
7
|
import Link from 'next/link';
|
|
8
|
-
import { ImageWithFallback } from '../../../components/ui/image-with-fallback';
|
|
9
|
-
import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt';
|
|
10
|
-
import { usePayazaCheckout } from '../../../hooks/use-payaza-checkout';
|
|
11
|
-
import { generateCheckoutConfig } from '../../../lib/payaza-checkout';
|
|
12
|
-
import { requireCheckoutPayazaPublicKey } from '../../../lib/payaza-public-key';
|
|
13
|
-
import { checkoutService } from '../../../lib/services/checkout.service';
|
|
14
|
-
import { paymentService, isPaymentConfirmed } from '../../../lib/services/payment.service';
|
|
15
|
-
import { useToast } from '../../../components/ui/toast';
|
|
8
|
+
import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
|
|
9
|
+
import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
|
|
10
|
+
import { usePayazaCheckout } from '../../../hooks/use-payaza-checkout.js';
|
|
11
|
+
import { generateCheckoutConfig } from '../../../lib/payaza-checkout.js';
|
|
12
|
+
import { requireCheckoutPayazaPublicKey } from '../../../lib/payaza-public-key.js';
|
|
13
|
+
import { checkoutService } from '../../../lib/services/checkout.service.js';
|
|
14
|
+
import { paymentService, isPaymentConfirmed } from '../../../lib/services/payment.service.js';
|
|
15
|
+
import { useToast } from '../../../components/ui/toast.js';
|
|
16
16
|
import { useRouter, useSearchParams } from 'next/navigation';
|
|
17
|
-
import { useAuth } from '../../../lib/auth-context';
|
|
18
|
-
import { formatDateSafe } from '../../../utils/date';
|
|
19
|
-
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key';
|
|
20
|
-
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability';
|
|
17
|
+
import { useAuth } from '../../../lib/auth-context.js';
|
|
18
|
+
import { formatDateSafe } from '../../../utils/date.js';
|
|
19
|
+
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key.js';
|
|
20
|
+
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability.js';
|
|
21
21
|
export function BookingAgendaBookPage({ storeConfig, serviceSlug }) {
|
|
22
22
|
const primaryColor = storeConfig.branding.primaryColor;
|
|
23
23
|
const { addToast } = useToast();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
interface CategoriesPageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
}
|
|
5
|
-
export declare function BookingAgendaCategoriesPage({ storeConfig: initialConfig }: CategoriesPageProps): import("react
|
|
5
|
+
export declare function BookingAgendaCategoriesPage({ storeConfig: initialConfig }: CategoriesPageProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=CategoriesPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/CategoriesPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,2BAA2B,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"CategoriesPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/CategoriesPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,2BAA2B,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,mBAAmB,+BAsD9F"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Breadcrumbs } from '../../../components/ui/breadcrumbs';
|
|
3
|
+
import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
|
|
4
4
|
import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid';
|
|
5
|
-
import { useStore } from '../../../lib/store-context';
|
|
6
|
-
import { useCatalogLoader } from '../../../hooks/use-catalog-loader';
|
|
7
|
-
import { isEditorPreviewMode, resolveStoreCategoriesForDisplay } from '../../../lib/utils';
|
|
5
|
+
import { useStore } from '../../../lib/store-context.js';
|
|
6
|
+
import { useCatalogLoader } from '../../../hooks/use-catalog-loader.js';
|
|
7
|
+
import { isEditorPreviewMode, resolveStoreCategoriesForDisplay } from '../../../lib/utils/index.js';
|
|
8
8
|
export function BookingAgendaCategoriesPage({ storeConfig: initialConfig }) {
|
|
9
9
|
const { store } = useStore();
|
|
10
10
|
const storeConfig = store || initialConfig;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
interface CategoryPageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
categorySlug: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function CategoryPage({ storeConfig, categorySlug }: CategoryPageProps): import("react
|
|
6
|
+
export declare function CategoryPage({ storeConfig, categorySlug }: CategoryPageProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=CategoryPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/CategoryPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAA8B,MAAM,mBAAmB,CAAC;AAc5E,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"CategoryPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/CategoryPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAA8B,MAAM,mBAAmB,CAAC;AAc5E,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BAyI5E"}
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { useStore } from '../../../lib/store-context';
|
|
3
|
+
import { Button } from '../../../components/ui/button.js';
|
|
4
|
+
import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
|
|
5
|
+
import { useStore } from '../../../lib/store-context.js';
|
|
6
6
|
import { ArrowLeft, Filter, Clock, ArrowRight } from 'lucide-react';
|
|
7
7
|
import Link from 'next/link';
|
|
8
|
-
import { useToast } from '../../../components/ui/toast';
|
|
9
|
-
import { useAnalytics } from '../../../hooks/use-analytics';
|
|
8
|
+
import { useToast } from '../../../components/ui/toast.js';
|
|
9
|
+
import { useAnalytics } from '../../../hooks/use-analytics.js';
|
|
10
10
|
import { useEffect } from 'react';
|
|
11
|
-
import { formatCurrency, filterActiveServices } from '../../../lib/utils';
|
|
11
|
+
import { formatCurrency, filterActiveServices } from '../../../lib/utils/index.js';
|
|
12
12
|
import Image from 'next/image';
|
|
13
13
|
export function CategoryPage({ storeConfig, categorySlug }) {
|
|
14
14
|
const categories = storeConfig.categories || [];
|
|
@@ -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
|
|
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/booking-agenda/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
|
|
1
|
+
{"version":3,"file":"ContactPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/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,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
|
|
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/booking-agenda/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
|
|
1
|
+
{"version":3,"file":"ProductDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/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,+BAwiCpG"}
|
|
@@ -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);
|
|
@@ -491,7 +492,7 @@ export function ProductDetailPage({ storeConfig, productSlug }) {
|
|
|
491
492
|
}, [product?.id, storeConfig?.id, trackEvent]);
|
|
492
493
|
return (_jsxs("div", { className: "min-h-screen bg-white", children: [_jsxs("div", { "data-content-ready": true, className: "container mx-auto px-4 sm:px-6 lg:px-8 py-8 lg:py-12 max-w-7xl", children: [_jsx("div", { className: "mb-6", children: _jsx(Breadcrumbs, { items: breadcrumbItems }) }), _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16 mb-20", children: [_jsxs("div", { className: "relative lg:sticky lg:top-24 self-start z-0", children: [_jsxs("div", { className: "relative aspect-square bg-gray-50 rounded-xl overflow-hidden mb-4 border border-gray-100 shadow-sm group", children: [_jsx(ImageWithFallback, { "data-product-image": true, src: displayImages[selectedImage] || displayImages[0] || productImages[0], alt: product.name, className: cn("w-full h-full object-cover transition-transform duration-300 group-hover:scale-105", isOutOfStock && "grayscale"), skeletonAspectRatio: "square" }), isOutOfStock && (_jsx(OutOfStockOverlay, { badgePosition: "center" }))] }), displayImages.length > 0 && (_jsxs("div", { className: "grid grid-cols-5 gap-2", children: [displayImages.map((image, index) => (_jsx("button", { onClick: () => setSelectedImage(Math.min(index, displayImages.length - 1)), className: `aspect-square rounded-lg overflow-hidden border-2 transition-all ${selectedImage === index
|
|
493
494
|
? 'border-gray-900 ring-2 ring-gray-900 ring-offset-2'
|
|
494
|
-
: '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: directCategory?.name || storeConfig.name }), _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) => {
|
|
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: directCategory?.name || storeConfig.name }), _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) => {
|
|
495
496
|
const colorValue = variant.value;
|
|
496
497
|
const swatchColor = colorSwatches[colorValue] || '#CCCCCC';
|
|
497
498
|
const isSelected = selectedColor === colorValue;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
interface ServicesPageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
initialCategory?: string;
|
|
5
5
|
titleOverride?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function ServicesPage({ storeConfig, initialCategory, titleOverride }: ServicesPageProps): import("react
|
|
7
|
+
export declare function ServicesPage({ storeConfig, initialCategory, titleOverride }: ServicesPageProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=ServicesPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServicesPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/ServicesPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAQhD,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"ServicesPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/ServicesPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAQhD,UAAU,iBAAiB;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE,iBAAiB,+BA2J9F"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button } from '../../../components/ui/button';
|
|
3
|
+
import { Button } from '../../../components/ui/button.js';
|
|
4
4
|
import { Clock, ArrowRight, Filter } from 'lucide-react';
|
|
5
5
|
import Link from 'next/link';
|
|
6
6
|
import { useState } from 'react';
|
|
7
|
-
import { cn, formatCurrency, filterActiveServices } from '../../../lib/utils';
|
|
7
|
+
import { cn, formatCurrency, filterActiveServices } from '../../../lib/utils/index.js';
|
|
8
8
|
import Image from 'next/image';
|
|
9
9
|
export function ServicesPage({ storeConfig, initialCategory, titleOverride }) {
|
|
10
10
|
const categories = storeConfig.categories || [];
|
|
@@ -2,6 +2,6 @@ import { StoreConfig } from '../../../lib/store-types';
|
|
|
2
2
|
interface ClothingHomePageProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
}
|
|
5
|
-
export declare function ClothingHomePage({ storeConfig: initialConfig }: ClothingHomePageProps): import("react
|
|
5
|
+
export declare function ClothingHomePage({ storeConfig: initialConfig }: ClothingHomePageProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=ClothingHomePage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClothingHomePage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/clothing/components/ClothingHomePage.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ClothingHomePage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/clothing/components/ClothingHomePage.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAgBvD,UAAU,qBAAqB;IAC7B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAaD,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,qBAAqB,+BAsvBrF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
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';
|
|
3
|
+
import { useFeaturedProducts } from '../../../hooks/use-featured-products.js';
|
|
4
4
|
import { Button } from '../../../components/ui/button';
|
|
5
5
|
import { ProductRating } from '../../../components/ui/product-rating';
|
|
6
6
|
import { ShoppingCart, Heart, ArrowRight, ChevronLeft, ChevronRight } from 'lucide-react';
|
|
@@ -13,6 +13,7 @@ import { toStoreHref } from '../../../lib/utils/url-helpers';
|
|
|
13
13
|
import { shouldUseAPI } from '../../../lib/utils/demo-detection';
|
|
14
14
|
import { useStore } from '../../../lib/store-context';
|
|
15
15
|
import { DynamicIcon } from '../../../components/ui/dynamic-icon';
|
|
16
|
+
import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml';
|
|
16
17
|
export function ClothingHomePage({ storeConfig: initialConfig }) {
|
|
17
18
|
// Use the store from context which is updated in real-time by the editor
|
|
18
19
|
const { store } = useStore();
|
|
@@ -226,7 +227,7 @@ export function ClothingHomePage({ storeConfig: initialConfig }) {
|
|
|
226
227
|
};
|
|
227
228
|
return (_jsxs("div", { className: "min-h-screen bg-white", children: [(layoutConfig?.sections?.hero?.show !== false || layoutConfig?.hero?.show !== false) && heroSlides.length > 0 && (_jsxs("section", { "data-section": "hero", className: "relative h-[85vh] w-full overflow-hidden", onMouseEnter: () => setIsAutoPlaying(false), onMouseLeave: () => layoutConfig?.hero?.autoPlay !== false && setIsAutoPlaying(true), children: [_jsx("div", { className: "relative h-full w-full", children: heroSlides.map((slide, index) => (_jsxs("div", { className: `absolute inset-0 transition-opacity duration-1000 ease-in-out ${index === currentSlide ? 'opacity-100 z-10' : 'opacity-0 z-0'}`, children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(ImageWithFallback, { src: slide.image, alt: slide.title, className: "absolute inset-0 h-full w-full object-cover", skeletonAspectRatio: "16/9", priority: index === currentSlide }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/50 via-black/20 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center z-20", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: `max-w-3xl text-white space-y-8 transition-all duration-1000 ${index === currentSlide
|
|
228
229
|
? 'opacity-100 translate-y-0'
|
|
229
|
-
: 'opacity-0 translate-y-8'}`, children: [_jsxs("div", { children: [slide.badge && (_jsx("span", { className: "inline-block px-4 py-1.5 bg-white/20 backdrop-blur-md rounded-full text-sm font-medium border border-white/30 uppercase tracking-wider mb-4", children: slide.badge })), _jsx("h1", { className: "text-4xl sm:text-6xl lg:text-7xl font-bold leading-tight tracking-tight mb-4", children: slide.title }), _jsx("div", { className: "h-1 w-24 bg-white/80 rounded-full" })] }), _jsx("
|
|
230
|
+
: 'opacity-0 translate-y-8'}`, children: [_jsxs("div", { children: [slide.badge && (_jsx("span", { className: "inline-block px-4 py-1.5 bg-white/20 backdrop-blur-md rounded-full text-sm font-medium border border-white/30 uppercase tracking-wider mb-4", children: slide.badge })), _jsx("h1", { className: "text-4xl sm:text-6xl lg:text-7xl font-bold leading-tight tracking-tight mb-4", children: _jsx(SafeRichHtml, { value: slide.title, fallbackPlain: storeConfig.name }) }), _jsx("div", { className: "h-1 w-24 bg-white/80 rounded-full" })] }), _jsx("div", { className: "text-xl sm:text-2xl text-gray-100 font-light leading-relaxed max-w-lg [&_p]:mb-3 [&_p:last-child]:mb-0", children: _jsx(SafeRichHtml, { value: slide.description, fallbackPlain: "" }) }), _jsxs("div", { className: "flex flex-wrap gap-4 pt-4", children: [layoutConfig?.sections?.hero?.showCTA !== false &&
|
|
230
231
|
layoutConfig?.hero?.showCTA !== false &&
|
|
231
232
|
slide.primaryButtonText &&
|
|
232
233
|
slide.primaryButtonText.trim() !== '' && (_jsx(Link, { href: slide.primaryButtonLink, children: _jsx(Button, { size: "lg", className: "h-14 px-10 text-base rounded-full bg-white text-black hover:bg-gray-100 transition-all duration-300 hover:scale-105 font-semibold", children: slide.primaryButtonText }) })), (layoutConfig?.sections?.hero?.showSecondaryCTA !== false || layoutConfig?.hero?.showSecondaryCTA !== false) &&
|
|
@@ -265,7 +266,8 @@ export function ClothingHomePage({ storeConfig: initialConfig }) {
|
|
|
265
266
|
};
|
|
266
267
|
const categoryImage = extractCategoryImage(category.image);
|
|
267
268
|
return (_jsxs(Link, { href: `/${storeConfig.slug}/categories/${category.slug}`, className: `group relative overflow-hidden rounded-2xl aspect-[3/4]`, children: [_jsxs("div", { className: "absolute inset-0 bg-gray-200", children: [_jsx(ImageWithFallback, { src: categoryImage, alt: category.name, className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-110", skeletonAspectRatio: "auto", lazy: true }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent opacity-80 group-hover:opacity-70 transition-opacity" })] }), _jsxs("div", { className: "absolute inset-0 flex flex-col justify-end p-8", children: [_jsx("h3", { className: "text-2xl font-bold text-white mb-2 transform translate-y-0 transition-transform duration-300", children: category.name }), _jsx("div", { className: "h-0.5 w-12 bg-white/0 group-hover:bg-white/100 transition-all duration-500 mb-4" }), _jsxs("span", { className: "inline-flex items-center text-white text-sm font-medium opacity-0 group-hover:opacity-100 transform translate-y-4 group-hover:translate-y-0 transition-all duration-300", children: [getLayoutText(storeConfig, 'common.shopNow', 'Shop Now'), " ", _jsx(ArrowRight, { className: "ml-2 h-4 w-4" })] })] })] }, category.id));
|
|
268
|
-
}) })] }) })), layoutConfig?.sections?.marketing?.editorial?.show !== false && (_jsx("section", { "data-section": "editorial", className: "py-16 md:py-24 px-4 sm:px-6 lg:px-8 bg-stone-50", children: _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-10 md:gap-12 lg:gap-20 items-center", children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "aspect-[4/5] rounded-lg overflow-hidden relative", children: _jsx(ImageWithFallback, { src: layoutConfig?.sections?.marketing?.editorial?.image || 'https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2000&auto=format&fit=crop', alt: "Editorial Lookbook", className: "w-full h-full object-cover", skeletonAspectRatio: "4/5", lazy: true }) }), (layoutConfig?.sections?.marketing?.editorial?.detailImage) && (_jsx("div", { className: "absolute w-48 h-48 bg-white p-4 shadow-xl rounded-lg hidden md:block z-20 animate-fade-in-up", style: { bottom: '-2rem', right: '-2rem', animationDelay: '0.2s' }, children: _jsx("div", { className: "w-full h-full relative", children: _jsx(ImageWithFallback, { src: layoutConfig.sections.marketing.editorial.detailImage, alt: "Detail Shot", className: "w-full h-full object-cover rounded", skeletonAspectRatio: "square", lazy: true }) }) }))] }), _jsxs("div", { className: "space-y-8", children: [_jsx("div", { className: "flex flex-col gap-2", children: _jsx("span", { className: "text-sm font-bold tracking-widest text-gray-500 uppercase", children: layoutConfig?.sections?.marketing?.editorial?.badgeText || "Lookbook" }) }), _jsx("h2", { className: "text-4xl md:text-5xl font-bold tracking-tight leading-tight text-gray-900", children: layoutConfig?.sections?.marketing?.editorial?.title ? (layoutConfig.sections.marketing.editorial.title.split('\n').map((line, idx, arr) => (_jsxs("span", { children: [line, idx < arr.length - 1 && _jsx("br", {})] }, idx)))) : (_jsxs(_Fragment, { children: ["Redefining Modern ", _jsx("br", {}), _jsx("span", { className: "italic font-serif", children: "Elegance" })] })) }), _jsx("
|
|
269
|
+
}) })] }) })), layoutConfig?.sections?.marketing?.editorial?.show !== false && (_jsx("section", { "data-section": "editorial", className: "py-16 md:py-24 px-4 sm:px-6 lg:px-8 bg-stone-50", children: _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-10 md:gap-12 lg:gap-20 items-center", children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "aspect-[4/5] rounded-lg overflow-hidden relative", children: _jsx(ImageWithFallback, { src: layoutConfig?.sections?.marketing?.editorial?.image || 'https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2000&auto=format&fit=crop', alt: "Editorial Lookbook", className: "w-full h-full object-cover", skeletonAspectRatio: "4/5", lazy: true }) }), (layoutConfig?.sections?.marketing?.editorial?.detailImage) && (_jsx("div", { className: "absolute w-48 h-48 bg-white p-4 shadow-xl rounded-lg hidden md:block z-20 animate-fade-in-up", style: { bottom: '-2rem', right: '-2rem', animationDelay: '0.2s' }, children: _jsx("div", { className: "w-full h-full relative", children: _jsx(ImageWithFallback, { src: layoutConfig.sections.marketing.editorial.detailImage, alt: "Detail Shot", className: "w-full h-full object-cover rounded", skeletonAspectRatio: "square", lazy: true }) }) }))] }), _jsxs("div", { className: "space-y-8", children: [_jsx("div", { className: "flex flex-col gap-2", children: _jsx("span", { className: "text-sm font-bold tracking-widest text-gray-500 uppercase", children: layoutConfig?.sections?.marketing?.editorial?.badgeText || "Lookbook" }) }), _jsx("h2", { className: "text-4xl md:text-5xl font-bold tracking-tight leading-tight text-gray-900", children: layoutConfig?.sections?.marketing?.editorial?.title ? (layoutConfig.sections.marketing.editorial.title.split('\n').map((line, idx, arr) => (_jsxs("span", { children: [line, idx < arr.length - 1 && _jsx("br", {})] }, idx)))) : (_jsxs(_Fragment, { children: ["Redefining Modern ", _jsx("br", {}), _jsx("span", { className: "italic font-serif", children: "Elegance" })] })) }), _jsx("div", { className: "text-lg text-gray-600 leading-relaxed [&_p]:mb-3 [&_p:last-child]:mb-0", children: _jsx(SafeRichHtml, { value: layoutConfig?.sections?.marketing?.editorial?.description ||
|
|
270
|
+
'Explore our latest editorial featuring timeless pieces crafted for the contemporary wardrobe. From essential basics to statement outwear, find your signature look.', fallbackPlain: "Explore our latest editorial featuring timeless pieces crafted for the contemporary wardrobe. From essential basics to statement outwear, find your signature look." }) }), _jsxs("div", { className: "flex flex-col sm:flex-row gap-4 pt-4", children: [layoutConfig?.sections?.marketing?.editorial?.primaryButton?.text && (_jsx(Link, { href: toStoreHref(storeConfig.slug, layoutConfig.sections.marketing.editorial.primaryButton.link, '/style-guide'), children: _jsx(Button, { className: "rounded-full px-8 py-6 bg-gray-900 hover:bg-black text-white transition-all", children: layoutConfig.sections.marketing.editorial.primaryButton.text }) })), layoutConfig?.sections?.marketing?.editorial?.secondaryButton?.text && (_jsx(Link, { href: toStoreHref(storeConfig.slug, layoutConfig.sections.marketing.editorial.secondaryButton.link, '/about'), children: _jsx(Button, { variant: "outline", className: "rounded-full px-8 py-6 border-gray-300 hover:bg-white hover:border-gray-900 transition-all", children: layoutConfig.sections.marketing.editorial.secondaryButton.text }) }))] })] })] }) }) })), layoutConfig?.sections?.featuredProducts?.show !== false && (_jsx("section", { "data-section": "featuredProducts", className: "py-16 md:py-24 px-4 sm:px-6 lg:px-8 bg-white", children: _jsxs("div", { className: "container mx-auto max-w-7xl", children: [_jsxs("div", { className: "text-center max-w-2xl mx-auto mb-10 md:mb-16", children: [_jsx("span", { className: "text-sm font-bold tracking-widest text-gray-500 uppercase mb-3 block", children: layoutConfig?.sections?.featuredProducts?.eyebrow || "Curated For You" }), _jsx("h2", { className: "text-3xl md:text-4xl font-bold mb-4 tracking-tight", children: layoutConfig?.sections?.featuredProducts?.title || getLayoutText(storeConfig, 'sections.featuredProducts.title', 'Trending Now') }), _jsx("div", { className: "h-1 w-20 bg-gray-900 mx-auto mb-6" }), _jsx("div", { className: "text-gray-600 text-lg [&_p]:mb-2 [&_p:last-child]:mb-0", children: _jsx(SafeRichHtml, { value: getLayoutText(storeConfig, 'sections.featuredProducts.subtitle', "Discover the latest trends and essential pieces that define this season's style."), fallbackPlain: "Discover the latest trends and essential pieces that define this season's style." }) })] }), _jsx("div", { className: "grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-8", children: products.slice(0, 4).map((product) => {
|
|
269
271
|
// Comprehensive image extraction - handles all formats
|
|
270
272
|
const extractProductImages = (images) => {
|
|
271
273
|
if (!images)
|
|
@@ -326,6 +328,6 @@ export function ClothingHomePage({ storeConfig: initialConfig }) {
|
|
|
326
328
|
};
|
|
327
329
|
const validImages = extractProductImages(product.images);
|
|
328
330
|
const firstImage = validImages.length > 0 ? validImages[0] : undefined;
|
|
329
|
-
return (_jsx("div", { className: "group", children: _jsxs(Link, { href: `/${storeConfig.slug}/products/${product.slug}`, children: [_jsxs("div", { className: "relative aspect-[3/4] bg-gray-50 rounded-xl overflow-hidden mb-4", children: [_jsx(ImageWithFallback, { src: firstImage, alt: product.name, className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-105", skeletonAspectRatio: "3/4", lazy: true }), validImages[1] && (_jsx(ImageWithFallback, { src: validImages[1], alt: product.name, className: "absolute inset-0 w-full h-full object-cover opacity-0 group-hover:opacity-100 transition-opacity duration-500", skeletonAspectRatio: "3/4", lazy: true })), _jsxs("div", { className: "hidden lg:flex absolute bottom-4 right-4 flex-col gap-2 opacity-0 transform translate-x-4 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-300", children: [storeConfig.features.wishlist && (_jsx(Button, { variant: "secondary", size: "icon", className: "bg-white hover:bg-black hover:text-white shadow-md rounded-full transition-colors", children: _jsx(Heart, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "secondary", size: "icon", className: "bg-white hover:bg-black hover:text-white shadow-md rounded-full transition-colors", children: _jsx(ShoppingCart, { className: "h-4 w-4" }) })] }), _jsx(Button, { variant: "secondary", size: "icon", className: "lg:hidden absolute bottom-3 right-3 bg-white text-black h-10 w-10 rounded-full shadow-lg z-10 active:scale-95 transition-transform", children: _jsx(ShoppingCart, { className: "h-4 w-4" }) }), product.compareAtPrice && (_jsx("span", { className: "absolute top-3 left-3 bg-black text-white text-xs font-bold px-3 py-1 rounded-full uppercase tracking-wide", children: getLayoutText(storeConfig, 'common.sale', 'Sale') }))] }), _jsxs("div", { className: "space-y-1", children: [_jsx("h3", { className: "font-semibold text-gray-900 group-hover:text-gray-600 transition-colors text-lg", children: product.name }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice && (_jsx("span", { className: "text-sm text-gray-400 line-through", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] })] }) }, product.id));
|
|
331
|
+
return (_jsx("div", { className: "group", children: _jsxs(Link, { href: `/${storeConfig.slug}/products/${product.slug}`, children: [_jsxs("div", { className: "relative aspect-[3/4] bg-gray-50 rounded-xl overflow-hidden mb-4", children: [_jsx(ImageWithFallback, { src: firstImage, alt: product.name, className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-105", skeletonAspectRatio: "3/4", lazy: true }), validImages[1] && (_jsx(ImageWithFallback, { src: validImages[1], alt: product.name, className: "absolute inset-0 w-full h-full object-cover opacity-0 group-hover:opacity-100 transition-opacity duration-500", skeletonAspectRatio: "3/4", lazy: true })), _jsxs("div", { className: "hidden lg:flex absolute bottom-4 right-4 flex-col gap-2 opacity-0 transform translate-x-4 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-300", children: [storeConfig.features.wishlist && (_jsx(Button, { variant: "secondary", size: "icon", className: "bg-white hover:bg-black hover:text-white shadow-md rounded-full transition-colors", children: _jsx(Heart, { className: "h-4 w-4" }) })), _jsx(Button, { variant: "secondary", size: "icon", className: "bg-white hover:bg-black hover:text-white shadow-md rounded-full transition-colors", children: _jsx(ShoppingCart, { className: "h-4 w-4" }) })] }), _jsx(Button, { variant: "secondary", size: "icon", className: "lg:hidden absolute bottom-3 right-3 bg-white text-black h-10 w-10 rounded-full shadow-lg z-10 active:scale-95 transition-transform", children: _jsx(ShoppingCart, { className: "h-4 w-4" }) }), product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsx("span", { className: "absolute top-3 left-3 bg-black text-white text-xs font-bold px-3 py-1 rounded-full uppercase tracking-wide", children: getLayoutText(storeConfig, 'common.sale', 'Sale') }))] }), _jsxs("div", { className: "space-y-1", children: [_jsx("h3", { className: "font-semibold text-gray-900 group-hover:text-gray-600 transition-colors text-lg", children: product.name }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "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", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] })] }) }, product.id));
|
|
330
332
|
}) }), layoutConfig?.sections?.featuredProducts?.showViewAll !== false && (_jsx("div", { className: "mt-16 text-center", children: _jsx(Link, { href: `/${storeConfig.slug}/products`, children: _jsx(Button, { variant: "outline", className: "rounded-full px-10 py-6 border-gray-200 hover:border-black hover:bg-black hover:text-white transition-all text-base font-medium", children: getLayoutText(storeConfig, 'sections.featuredProducts.viewAll', 'View All Products') }) }) }))] }) }))] }));
|
|
331
333
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { ClothingHomePage } from './components/ClothingHomePage';
|
|
2
|
-
export { ClothingProductsPage } from './pages/ProductsPage';
|
|
3
|
-
export { ClothingProductDetailPage } from './pages/ProductDetailPage';
|
|
4
|
-
export { ClothingCategoryPage } from './pages/CategoryPage';
|
|
2
|
+
export { ProductsPage as ClothingProductsPage } from './pages/ProductsPage';
|
|
3
|
+
export { ProductDetailPage as ClothingProductDetailPage } from './pages/ProductDetailPage';
|
|
4
|
+
export { CategoryPage as ClothingCategoryPage } from './pages/CategoryPage';
|
|
5
5
|
export { ClothingCategoriesPage } from './pages/CategoriesPage';
|
|
6
|
-
export { ClothingAboutPage } from './pages/AboutPage';
|
|
7
|
-
export { ClothingContactPage } from './pages/ContactPage';
|
|
6
|
+
export { AboutPage as ClothingAboutPage } from './pages/AboutPage';
|
|
7
|
+
export { ContactPage as ClothingContactPage } from './pages/ContactPage';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|