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
|
@@ -5,5 +5,5 @@ export interface LoginFormProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
/** Full-page auth login only. Store sheets use BespokeStoreLoginSheet + LoginFormCore. */
|
|
8
|
-
export declare function LoginForm({ callbackUrl, variant, onSuccess, className, }: LoginFormProps): import("react
|
|
8
|
+
export declare function LoginForm({ callbackUrl, variant, onSuccess, className, }: LoginFormProps): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=LoginForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../../src/components/auth/LoginForm.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0FAA0F;AAC1F,wBAAgB,SAAS,CAAC,EACxB,WAAiB,EACjB,OAAgB,EAChB,SAAS,EACT,SAAS,GACV,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../../src/components/auth/LoginForm.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0FAA0F;AAC1F,wBAAgB,SAAS,CAAC,EACxB,WAAiB,EACjB,OAAgB,EAChB,SAAS,EACT,SAAS,GACV,EAAE,cAAc,+BAsIhB"}
|
|
@@ -4,7 +4,7 @@ import Link from 'next/link';
|
|
|
4
4
|
import { Eye, EyeOff, Loader2, ArrowRight } from 'lucide-react';
|
|
5
5
|
import { motion } from 'framer-motion';
|
|
6
6
|
import { useLoginSubmit } from './use-login-submit';
|
|
7
|
-
import { cn } from '../../lib/utils';
|
|
7
|
+
import { cn } from '../../lib/utils/index.js';
|
|
8
8
|
/** Full-page auth login only. Store sheets use BespokeStoreLoginSheet + LoginFormCore. */
|
|
9
9
|
export function LoginForm({ callbackUrl = '/', variant = 'page', onSuccess, className, }) {
|
|
10
10
|
const { email, setEmail, password, setPassword, showPassword, setShowPassword, emailError, setEmailError, isLoading, handleSubmit, signupHref, resetHref, } = useLoginSubmit({ callbackUrl, variant: 'page', onSuccess });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../lib/store-types';
|
|
1
|
+
import type { StoreConfig } from '../../lib/store-types.js';
|
|
2
2
|
interface LoginSheetProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
}
|
|
5
|
-
export declare function LoginSheet({ storeConfig }: LoginSheetProps): import("react
|
|
5
|
+
export declare function LoginSheet({ storeConfig }: LoginSheetProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=LoginSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginSheet.d.ts","sourceRoot":"","sources":["../../../src/components/auth/LoginSheet.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,UAAU,eAAe;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,UAAU,CAAC,EAAE,WAAW,EAAE,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"LoginSheet.d.ts","sourceRoot":"","sources":["../../../src/components/auth/LoginSheet.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,UAAU,eAAe;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,UAAU,CAAC,EAAE,WAAW,EAAE,EAAE,eAAe,+BAY1D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useAuth } from '../../lib/auth-context';
|
|
3
|
+
import { useAuth } from '../../lib/auth-context.js';
|
|
4
4
|
import { BespokeStoreLoginSheet } from './login-sheet-registry';
|
|
5
5
|
export function LoginSheet({ storeConfig }) {
|
|
6
6
|
const { isLoginOpen, loginCallbackUrl, loginOnSuccess, closeLogin } = useAuth();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../lib/store-types';
|
|
1
|
+
import type { StoreConfig } from '../../lib/store-types.js';
|
|
2
2
|
import type { LoginSheetTheme } from './login-sheet-theme.types';
|
|
3
3
|
export interface LoginFormCoreProps {
|
|
4
4
|
storeConfig: StoreConfig;
|
|
@@ -7,5 +7,5 @@ export interface LoginFormCoreProps {
|
|
|
7
7
|
onSuccess?: () => void;
|
|
8
8
|
emailInputRef?: React.RefObject<HTMLInputElement | null>;
|
|
9
9
|
}
|
|
10
|
-
export declare function LoginFormCore({ storeConfig, theme, callbackUrl, onSuccess, emailInputRef, }: LoginFormCoreProps): import("react
|
|
10
|
+
export declare function LoginFormCore({ storeConfig, theme, callbackUrl, onSuccess, emailInputRef, }: LoginFormCoreProps): import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=login-form-core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-form-core.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-form-core.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CAC1D;AAED,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,KAAK,EACL,WAAiB,EACjB,SAAS,EACT,aAAa,GACd,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"login-form-core.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-form-core.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;CAC1D;AAED,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,KAAK,EACL,WAAiB,EACjB,SAAS,EACT,aAAa,GACd,EAAE,kBAAkB,+BA8HpB"}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import Link from 'next/link';
|
|
4
4
|
import { Eye, EyeOff, Loader2, ArrowRight } from 'lucide-react';
|
|
5
5
|
import { useLoginSubmit } from './use-login-submit';
|
|
6
|
-
import { cn } from '../../lib/utils';
|
|
6
|
+
import { cn } from '../../lib/utils/index.js';
|
|
7
7
|
import { loginSheetButtonTouch } from './login-sheet-themes/theme-input-baselines';
|
|
8
8
|
export function LoginFormCore({ storeConfig, theme, callbackUrl = '/', onSuccess, emailInputRef, }) {
|
|
9
9
|
const { email, setEmail, password, setPassword, showPassword, setShowPassword, emailError, setEmailError, isLoading, isSheet, closeLogin, handleSubmit, signupHref, resetHref, } = useLoginSubmit({ callbackUrl, variant: 'sheet', onSuccess });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../lib/store-types';
|
|
1
|
+
import type { StoreConfig } from '../../lib/store-types.js';
|
|
2
2
|
import type { LoginSheetTheme } from './login-sheet-theme.types';
|
|
3
3
|
interface LoginSheetHeaderProps {
|
|
4
4
|
storeConfig: StoreConfig;
|
|
5
5
|
theme: LoginSheetTheme;
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function LoginSheetHeader({ storeConfig, theme, onClose }: LoginSheetHeaderProps): import("react
|
|
8
|
+
export declare function LoginSheetHeader({ storeConfig, theme, onClose }: LoginSheetHeaderProps): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=login-sheet-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-sheet-header.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-sheet-header.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,UAAU,qBAAqB;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"login-sheet-header.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-sheet-header.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,UAAU,qBAAqB;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,qBAAqB,+BA6DtF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { X } from 'lucide-react';
|
|
4
|
-
import { StoreLogo } from '
|
|
5
|
-
import { Button } from '
|
|
6
|
-
import { cn } from '../../lib/utils';
|
|
4
|
+
import { StoreLogo } from '../ui/store-logos.js';
|
|
5
|
+
import { Button } from '../ui/button.js';
|
|
6
|
+
import { cn } from '../../lib/utils/index.js';
|
|
7
7
|
export function LoginSheetHeader({ storeConfig, theme, onClose }) {
|
|
8
8
|
const isLightPanel = (theme.panelMode ?? 'light') === 'light';
|
|
9
9
|
return (_jsxs("header", { className: cn('shrink-0', theme.headerClassName), children: [_jsxs("div", { className: "flex items-start justify-between gap-3 sm:gap-4 mb-4 sm:mb-5", children: [_jsxs("div", { className: "flex items-center gap-2.5 sm:gap-3 min-w-0 flex-1", children: [_jsx(StoreLogo, { storeConfig: storeConfig, className: "h-9 w-9 sm:h-10 sm:w-10 shrink-0", alt: storeConfig.name }), _jsx("div", { className: "min-w-0", children: _jsx("p", { className: cn('text-[11px] sm:text-xs font-medium truncate', isLightPanel && 'system-dark:text-[#5c4d68]', theme.storeNameClassName ?? 'opacity-70'), children: storeConfig.name }) })] }), _jsx(Button, { variant: "ghost", size: "icon", onClick: onClose, className: cn('rounded-full shrink-0 -mr-1 h-11 w-11 min-h-11 min-w-11 touch-manipulation', isLightPanel && 'system-dark:text-[#1b0029] system-dark:hover:bg-black/5', theme.closeButtonClassName), "aria-label": "Close sign in", children: _jsx(X, { className: "h-5 w-5" }) })] }), _jsx("h1", { id: "login-form-title", className: cn('font-display font-bold tracking-tight text-xl sm:text-2xl leading-tight', isLightPanel && 'system-dark:text-[#1b0029]', theme.titleClassName ?? 'text-[#1b0029]'), children: "Sign in" }), _jsx("p", { className: cn('mt-1.5 sm:mt-2 text-[13px] sm:text-sm leading-snug', isLightPanel && 'system-dark:text-[#5c4d68]', theme.subtitleClassName), children: "Sign into your Shopaza account using your registered email address and password" })] }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../lib/store-types';
|
|
1
|
+
import type { StoreConfig } from '../../lib/store-types.js';
|
|
2
2
|
export interface StoreLoginSheetProps {
|
|
3
3
|
storeConfig: StoreConfig;
|
|
4
4
|
isOpen: boolean;
|
|
@@ -7,5 +7,5 @@ export interface StoreLoginSheetProps {
|
|
|
7
7
|
onSuccess?: () => void;
|
|
8
8
|
}
|
|
9
9
|
/** Renders the layout-specific bespoke login sheet for the current store. */
|
|
10
|
-
export declare function BespokeStoreLoginSheet({ storeConfig, isOpen, onClose, callbackUrl, onSuccess, }: StoreLoginSheetProps): import("react
|
|
10
|
+
export declare function BespokeStoreLoginSheet({ storeConfig, isOpen, onClose, callbackUrl, onSuccess, }: StoreLoginSheetProps): import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=login-sheet-registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-sheet-registry.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-sheet-registry.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,EACrC,WAAW,EACX,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,GACV,EAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"login-sheet-registry.d.ts","sourceRoot":"","sources":["../../../src/components/auth/login-sheet-registry.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,EACrC,WAAW,EACX,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,GACV,EAAE,oBAAoB,+BAatB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoreLayoutType } from '../../../lib/store-types';
|
|
1
|
+
import type { StoreLayoutType } from '../../../lib/store-types.js';
|
|
2
2
|
import type { LoginSheetTheme } from '../login-sheet-theme.types';
|
|
3
3
|
import { foodLoginSheetTheme } from './food.theme';
|
|
4
4
|
import { foodModernLoginSheetTheme } from './food-modern.theme';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/login-sheet-themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/login-sheet-themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;AAclF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,eAAe,CAKhG;AAED,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,8BAA8B,EAC9B,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,8BAA8B,EAC9B,kCAAkC,GACnC,CAAC"}
|
|
@@ -17,8 +17,6 @@ const themeByLayout = {
|
|
|
17
17
|
electronics: electronicsLoginSheetTheme,
|
|
18
18
|
'electronics-grid': electronicsGridLoginSheetTheme,
|
|
19
19
|
'motivational-speaker': motivationalSpeakerLoginSheetTheme,
|
|
20
|
-
// No dedicated marketplace theme — matches this file's own fallback behavior below.
|
|
21
|
-
marketplace: foodLoginSheetTheme,
|
|
22
20
|
};
|
|
23
21
|
export function getLoginSheetTheme(layout) {
|
|
24
22
|
if (layout && layout in themeByLayout) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../../lib/store-types';
|
|
1
|
+
import type { StoreConfig } from '../../../lib/store-types.js';
|
|
2
2
|
import type { LoginSheetTheme } from '../login-sheet-theme.types';
|
|
3
3
|
interface StoreLoginSheetShellProps {
|
|
4
4
|
storeConfig: StoreConfig;
|
|
@@ -8,6 +8,6 @@ interface StoreLoginSheetShellProps {
|
|
|
8
8
|
callbackUrl: string;
|
|
9
9
|
onSuccess?: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function StoreLoginSheetShell({ storeConfig, theme, isOpen, onClose, callbackUrl, onSuccess, }: StoreLoginSheetShellProps): import("react
|
|
11
|
+
export declare function StoreLoginSheetShell({ storeConfig, theme, isOpen, onClose, callbackUrl, onSuccess, }: StoreLoginSheetShellProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=StoreLoginSheetShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoreLoginSheetShell.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/login-sheets/StoreLoginSheetShell.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAelE,UAAU,yBAAyB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,GACV,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"StoreLoginSheetShell.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/login-sheets/StoreLoginSheetShell.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAelE,UAAU,yBAAyB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,GACV,EAAE,yBAAyB,+BA6C3B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from 'react';
|
|
4
|
-
import { Sheet } from '
|
|
4
|
+
import { Sheet } from '../../ui/sheet.js';
|
|
5
5
|
import { LoginSheetHeader } from '../login-sheet-header';
|
|
6
6
|
import { LoginFormCore } from '../login-form-core';
|
|
7
|
-
import { cn } from '../../../lib/utils';
|
|
7
|
+
import { cn } from '../../../lib/utils/index.js';
|
|
8
8
|
import { darkPanelContentGuards, loginSheetColorSchemeDark, loginSheetColorSchemeLight, loginSheetContentShell, loginSheetLightContentDarkGuards, loginSheetLightSystemDarkShell, loginSheetPanelShell, } from '../login-sheet-themes/theme-input-baselines';
|
|
9
9
|
export function StoreLoginSheetShell({ storeConfig, theme, isOpen, onClose, callbackUrl, onSuccess, }) {
|
|
10
10
|
const emailInputRef = useRef(null);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useRouter } from 'next/navigation';
|
|
3
3
|
import { useState, useCallback } from 'react';
|
|
4
|
-
import { useAuth } from '../../lib/auth-context';
|
|
5
|
-
import { useToast } from '
|
|
6
|
-
import { ApiError } from '../../lib/api';
|
|
4
|
+
import { useAuth } from '../../lib/auth-context.js';
|
|
5
|
+
import { useToast } from '../ui/toast.js';
|
|
6
|
+
import { ApiError } from '../../lib/api.js';
|
|
7
7
|
export function useLoginSubmit({ callbackUrl = '/', variant, onSuccess, }) {
|
|
8
8
|
const [email, setEmail] = useState('');
|
|
9
9
|
const [password, setPassword] = useState('');
|
|
@@ -3,6 +3,6 @@ interface InventoryHoldCountdownProps {
|
|
|
3
3
|
onExpired?: () => void;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function InventoryHoldCountdown({ holdUntil, onExpired, className }: InventoryHoldCountdownProps): import("react
|
|
6
|
+
export declare function InventoryHoldCountdown({ holdUntil, onExpired, className }: InventoryHoldCountdownProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=InventoryHoldCountdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InventoryHoldCountdown.d.ts","sourceRoot":"","sources":["../../../src/components/cart/InventoryHoldCountdown.tsx"],"names":[],"mappings":"AAOA,UAAU,2BAA2B;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,2BAA2B
|
|
1
|
+
{"version":3,"file":"InventoryHoldCountdown.d.ts","sourceRoot":"","sources":["../../../src/components/cart/InventoryHoldCountdown.tsx"],"names":[],"mappings":"AAOA,UAAU,2BAA2B;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,2BAA2B,+BA4HtG"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useRef, useState } from 'react';
|
|
4
4
|
import { Clock } from 'lucide-react';
|
|
5
|
-
import { cn } from '../../lib/utils';
|
|
6
|
-
import { isInventoryHoldExpired } from '../../lib/inventory-utils';
|
|
5
|
+
import { cn } from '../../lib/utils/index.js';
|
|
6
|
+
import { isInventoryHoldExpired } from '../../lib/inventory-utils.js';
|
|
7
7
|
function formatRemaining(ms) {
|
|
8
8
|
const totalSeconds = Math.max(0, Math.floor(ms / 1000));
|
|
9
9
|
const minutes = Math.floor(totalSeconds / 60);
|
|
@@ -14,5 +14,5 @@ export interface CategoryMasonryGridProps {
|
|
|
14
14
|
renderCardOverlay?: (category: StoreCategory, index: number) => ReactNode;
|
|
15
15
|
exploreLabelDataAttr?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare function CategoryMasonryGrid({ categories: rawCategories, mode, columns: configColumns, limit, showImages, showDescriptions, getHref, exploreLabel, variant, className, renderCardOverlay, exploreLabelDataAttr, }: CategoryMasonryGridProps): import("react
|
|
17
|
+
export declare function CategoryMasonryGrid({ categories: rawCategories, mode, columns: configColumns, limit, showImages, showDescriptions, getHref, exploreLabel, variant, className, renderCardOverlay, exploreLabelDataAttr, }: CategoryMasonryGridProps): import("react").JSX.Element;
|
|
18
18
|
//# sourceMappingURL=category-masonry-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-masonry-grid.d.ts","sourceRoot":"","sources":["../../../src/components/categories/category-masonry-grid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAYtD,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,MAAM,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAiHD,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EAAE,aAAa,EACzB,IAAa,EACb,OAAO,EAAE,aAAa,EACtB,KAAK,EACL,UAAiB,EACjB,gBAAuB,EACvB,OAAO,EACP,YAAmC,EACnC,OAAmB,EACnB,SAAc,EACd,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,wBAAwB
|
|
1
|
+
{"version":3,"file":"category-masonry-grid.d.ts","sourceRoot":"","sources":["../../../src/components/categories/category-masonry-grid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAYtD,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,MAAM,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC1E,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAiHD,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EAAE,aAAa,EACzB,IAAa,EACb,OAAO,EAAE,aAAa,EACtB,KAAK,EACL,UAAiB,EACjB,gBAAuB,EACvB,OAAO,EACP,YAAmC,EACnC,OAAmB,EACnB,SAAc,EACd,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,wBAAwB,+BAgG1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CheckoutFeeLine } from '../../lib/services/fees.service';
|
|
1
|
+
import type { CheckoutFeeLine } from '../../lib/services/fees.service.js';
|
|
2
2
|
interface CheckoutFeeLinesProps {
|
|
3
3
|
lines: CheckoutFeeLine[];
|
|
4
4
|
currency: string;
|
|
@@ -7,6 +7,6 @@ interface CheckoutFeeLinesProps {
|
|
|
7
7
|
labelClassName?: string;
|
|
8
8
|
amountClassName?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function CheckoutFeeLines({ lines, currency, excludeKeys, className, labelClassName, amountClassName, }: CheckoutFeeLinesProps): import("react
|
|
10
|
+
export declare function CheckoutFeeLines({ lines, currency, excludeKeys, className, labelClassName, amountClassName, }: CheckoutFeeLinesProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=CheckoutFeeLines.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutFeeLines.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/CheckoutFeeLines.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,WAAgB,EAChB,SAA+E,EAC/E,cAA2B,EAC3B,eAAgF,GACjF,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"CheckoutFeeLines.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/CheckoutFeeLines.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,WAAgB,EAChB,SAA+E,EAC/E,cAA2B,EAC3B,eAAgF,GACjF,EAAE,qBAAqB,+BAevB"}
|
|
@@ -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 { formatCurrency } from '../../lib/utils';
|
|
3
|
+
import { formatCurrency } from '../../lib/utils/index.js';
|
|
4
4
|
export function CheckoutFeeLines({ lines, currency, excludeKeys = [], className = 'flex items-center justify-between gap-4 font-medium text-gray-600', labelClassName = 'shrink-0', amountClassName = 'shrink-0 text-right font-semibold tabular-nums text-gray-900', }) {
|
|
5
5
|
const excluded = new Set(excludeKeys);
|
|
6
6
|
return (_jsx(_Fragment, { children: lines
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShippingQuoteAddress } from '../../lib/shipping-address.util';
|
|
1
|
+
import type { ShippingQuoteAddress } from '../../lib/shipping-address.util.js';
|
|
2
2
|
export interface DeliveryRate {
|
|
3
3
|
providerKey: string;
|
|
4
4
|
providerDisplayName: string;
|
|
@@ -49,6 +49,6 @@ interface ShippingOptionsPanelProps {
|
|
|
49
49
|
email?: string;
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
export declare function ShippingOptionsPanel({ storeId, address, packages, onSelect, selected, customerInfo, }: ShippingOptionsPanelProps): import("react
|
|
52
|
+
export declare function ShippingOptionsPanel({ storeId, address, packages, onSelect, selected, customerInfo, }: ShippingOptionsPanelProps): import("react").JSX.Element;
|
|
53
53
|
export {};
|
|
54
54
|
//# sourceMappingURL=ShippingOptionsPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShippingOptionsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/ShippingOptionsPanel.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,mCAAmC;AACnC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtF,QAAQ,EAAE,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAkBD,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,YAAY,GACb,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"ShippingOptionsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/checkout/ShippingOptionsPanel.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,mCAAmC;AACnC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtF,QAAQ,EAAE,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAkBD,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,YAAY,GACb,EAAE,yBAAyB,+BAuK3B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, useCallback } from 'react';
|
|
4
|
-
import { api } from '../../lib/api';
|
|
5
|
-
import { Skeleton } from '
|
|
6
|
-
import { buildDeliveryQuotePayload } from '../../lib/shipping-address.util';
|
|
4
|
+
import { api } from '../../lib/api.js';
|
|
5
|
+
import { Skeleton } from '../ui/skeleton.js';
|
|
6
|
+
import { buildDeliveryQuotePayload } from '../../lib/shipping-address.util.js';
|
|
7
7
|
function toSelectedShipping(rate) {
|
|
8
8
|
const serviceCode = rate.serviceCode || rate.methodCode || 'standard';
|
|
9
9
|
const courierId = rate.courierId || '';
|
|
@@ -16,10 +16,10 @@ interface CertificateTemplateProps {
|
|
|
16
16
|
design: CertificateDesign;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare function CertificateTemplate({ data, design, className }: CertificateTemplateProps): import("react
|
|
19
|
+
export declare function CertificateTemplate({ data, design, className }: CertificateTemplateProps): import("react").JSX.Element;
|
|
20
20
|
export declare function CertificateCard({ certificate, onDownload }: {
|
|
21
21
|
certificate: any;
|
|
22
22
|
onDownload: (id: string) => void;
|
|
23
|
-
}): import("react
|
|
23
|
+
}): import("react").JSX.Element;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=CertificateTemplates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateTemplates.d.ts","sourceRoot":"","sources":["../../../src/components/learning/CertificateTemplates.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAExF,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,wBAAwB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,wBAAwB
|
|
1
|
+
{"version":3,"file":"CertificateTemplates.d.ts","sourceRoot":"","sources":["../../../src/components/learning/CertificateTemplates.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAExF,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,wBAAwB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,wBAAwB,+BAyWxF;AAED,wBAAgB,eAAe,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;IAC3D,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,+BAsDA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from '../../lib/utils';
|
|
3
|
+
import { cn } from '../../lib/utils/index.js';
|
|
4
4
|
import { Award, CheckCircle, ShieldCheck, Star, Shield, QrCode } from 'lucide-react';
|
|
5
5
|
import { motion } from 'framer-motion';
|
|
6
|
-
import { Button } from '
|
|
6
|
+
import { Button } from '../ui/button.js';
|
|
7
7
|
export function CertificateTemplate({ data, design, className }) {
|
|
8
8
|
const { studentName, courseName, completionDate, certificateId, instructorName, instructorTitle, institutionName = 'Mindset Mastery Academy', signatureUrl, brandLogo, primaryColor = '#0F172A' } = data;
|
|
9
9
|
const renderClassic = () => (_jsxs("div", { className: "w-full h-full bg-white border-[20px] border-double p-12 flex flex-col items-center text-center font-serif relative", style: { borderColor: primaryColor }, children: [_jsx("div", { className: "absolute top-6 left-6 w-16 h-16 border-t-4 border-l-4", style: { borderColor: primaryColor } }), _jsx("div", { className: "absolute top-6 right-6 w-16 h-16 border-t-4 border-r-4", style: { borderColor: primaryColor } }), _jsx("div", { className: "absolute bottom-6 left-6 w-16 h-16 border-b-4 border-l-4", style: { borderColor: primaryColor } }), _jsx("div", { className: "absolute bottom-6 right-6 w-16 h-16 border-b-4 border-r-4", style: { borderColor: primaryColor } }), _jsxs("div", { className: "mb-6", children: [_jsx("p", { className: "text-[10px] font-bold uppercase tracking-[0.3em] mb-2 text-slate-400", children: institutionName }), _jsx(Award, { className: "w-16 h-16 mb-4 mx-auto", style: { color: primaryColor } }), _jsx("h1", { className: "text-5xl font-black tracking-widest uppercase mb-1", children: "Certificate" }), _jsx("h2", { className: "text-xl italic text-gray-500", children: "of Achievement" })] }), _jsx("p", { className: "text-lg mb-4", children: "This is to certify that" }), _jsx("h3", { className: "text-5xl font-bold mb-6 underline decoration-1 underline-offset-8 text-slate-900", children: studentName }), _jsx("p", { className: "text-lg mb-4", children: "has successfully demonstrated mastery in" }), _jsx("h4", { className: "text-3xl font-bold mb-10 text-slate-800 tracking-tight", children: courseName }), _jsxs("div", { className: "mt-auto w-full flex justify-between items-end px-12 pb-4", children: [_jsxs("div", { className: "text-left w-56", children: [_jsx("div", { className: "border-b border-slate-200 w-full mb-2 h-12 flex items-end justify-center", children: signatureUrl ? (_jsx("img", { src: signatureUrl, alt: "Signature", className: "h-10 object-contain" })) : (_jsx("span", { className: "text-3xl opacity-80 italic font-signature", children: instructorName })) }), _jsx("p", { className: "font-bold text-[10px] text-slate-900", children: instructorName }), _jsx("p", { className: "text-[8px] text-slate-400 uppercase tracking-widest", children: instructorTitle })] }), _jsxs("div", { className: "flex flex-col items-center", children: [_jsx("div", { className: "w-24 h-24 rounded-full border-4 flex items-center justify-center mb-2 shadow-inner", style: { borderColor: `${primaryColor}20` }, children: _jsxs("div", { className: "w-18 h-18 rounded-full border flex items-center justify-center relative bg-white shadow-sm", style: { borderColor: primaryColor }, children: [_jsx(Shield, { className: "w-8 h-8", style: { color: primaryColor } }), _jsx("span", { className: "absolute text-[6px] font-black uppercase tracking-tighter rotate-[-15deg] bg-white px-1", children: "Verified" })] }) }), _jsxs("p", { className: "text-[8px] font-mono text-slate-400", children: ["ID: ", certificateId] })] }), _jsxs("div", { className: "text-right w-56", children: [_jsx("div", { className: "border-b border-slate-200 w-full mb-2 h-12 flex items-end justify-center", children: _jsx("span", { className: "font-bold text-[12px] text-slate-900", children: completionDate }) }), _jsx("p", { className: "text-[8px] text-slate-400 uppercase tracking-widest", children: "Date of Graduation" })] })] })] }));
|
|
@@ -6,6 +6,6 @@ interface CertificateViewerProps {
|
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
isStandalone?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function CertificateViewer({ certificateId, data: initialData, design: initialDesign, onClose, isStandalone }: CertificateViewerProps): import("react
|
|
9
|
+
export declare function CertificateViewer({ certificateId, data: initialData, design: initialDesign, onClose, isStandalone }: CertificateViewerProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=CertificateViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateViewer.d.ts","sourceRoot":"","sources":["../../../src/components/learning/CertificateViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAOjG,UAAU,sBAAsB;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,YAAoB,EAAE,EAAE,sBAAsB
|
|
1
|
+
{"version":3,"file":"CertificateViewer.d.ts","sourceRoot":"","sources":["../../../src/components/learning/CertificateViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAOjG,UAAU,sBAAsB;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,YAAoB,EAAE,EAAE,sBAAsB,+BA2LnJ"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { CertificateTemplate } from './CertificateTemplates';
|
|
4
|
-
import { Button } from '
|
|
4
|
+
import { Button } from '../ui/button.js';
|
|
5
5
|
import { Download, Printer, X, Share2, ArrowLeft, ShieldCheck } from 'lucide-react';
|
|
6
6
|
import { useState, useRef, useEffect } from 'react';
|
|
7
7
|
import { motion } from 'framer-motion';
|
|
8
|
-
import { cn } from '../../lib/utils';
|
|
8
|
+
import { cn } from '../../lib/utils/index.js';
|
|
9
9
|
export function CertificateViewer({ certificateId, data: initialData, design: initialDesign, onClose, isStandalone = false }) {
|
|
10
10
|
const [isPrinting, setIsPrinting] = useState(false);
|
|
11
11
|
const certificateRef = useRef(null);
|
|
@@ -13,6 +13,6 @@ interface MentorshipProgram {
|
|
|
13
13
|
}
|
|
14
14
|
export declare function MentorshipProgress({ programs }: {
|
|
15
15
|
programs: MentorshipProgram[];
|
|
16
|
-
}): import("react
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=MentorshipProgress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MentorshipProgress.d.ts","sourceRoot":"","sources":["../../../src/components/learning/MentorshipProgress.tsx"],"names":[],"mappings":"AAUA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"MentorshipProgress.d.ts","sourceRoot":"","sources":["../../../src/components/learning/MentorshipProgress.tsx"],"names":[],"mappings":"AAUA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAAE,+BAiKjF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button } from '
|
|
3
|
+
import { Button } from '../ui/button.js';
|
|
4
4
|
import { Calendar, Clock, User, MessageSquare, Video, ExternalLink, AlertCircle } from 'lucide-react';
|
|
5
5
|
import Image from 'next/image';
|
|
6
|
-
import { cn } from '../../lib/utils';
|
|
6
|
+
import { cn } from '../../lib/utils/index.js';
|
|
7
7
|
import { motion } from 'framer-motion';
|
|
8
|
-
import { formatDateSafe } from '../../utils/date';
|
|
8
|
+
import { formatDateSafe } from '../../utils/date.js';
|
|
9
9
|
export function MentorshipProgress({ programs }) {
|
|
10
10
|
if (programs.length === 0) {
|
|
11
11
|
return (_jsxs("div", { className: "text-center py-12 bg-slate-50 rounded-3xl border-2 border-dashed border-slate-200", children: [_jsx("div", { className: "w-16 h-16 bg-white rounded-full flex items-center justify-center mx-auto mb-4 shadow-sm", children: _jsx(User, { className: "w-8 h-8 text-slate-300" }) }), _jsx("h3", { className: "text-lg font-bold text-slate-900", children: "No active mentorships" }), _jsx("p", { className: "text-slate-500 max-w-xs mx-auto mt-2", children: "Ready to level up? Browse our mentorship programs and connect with an expert." }), _jsx(Button, { className: "mt-6 rounded-full bg-black text-white px-8", children: "Browse Mentors" })] }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StoreProductVariant } from '../../lib/product-variation-utils';
|
|
1
|
+
import { type StoreProductVariant } from '../../lib/product-variation-utils.js';
|
|
2
2
|
interface ProductVariationSelectorsProps {
|
|
3
3
|
optionGroups: Record<string, string[]>;
|
|
4
4
|
selectedAttributes: Record<string, string>;
|
|
@@ -7,6 +7,6 @@ interface ProductVariationSelectorsProps {
|
|
|
7
7
|
colorSwatches?: Record<string, string>;
|
|
8
8
|
variants?: StoreProductVariant[];
|
|
9
9
|
}
|
|
10
|
-
export declare function ProductVariationSelectors({ optionGroups, selectedAttributes, onSelectAttribute, storeSlug, colorSwatches, variants, }: ProductVariationSelectorsProps): import("react
|
|
10
|
+
export declare function ProductVariationSelectors({ optionGroups, selectedAttributes, onSelectAttribute, storeSlug, colorSwatches, variants, }: ProductVariationSelectorsProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=ProductVariationSelectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductVariationSelectors.d.ts","sourceRoot":"","sources":["../../../src/components/product/ProductVariationSelectors.tsx"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,UAAU,8BAA8B;IACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACvC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAClC;AAoBD,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,aAAsC,EACtC,QAAQ,GACT,EAAE,8BAA8B
|
|
1
|
+
{"version":3,"file":"ProductVariationSelectors.d.ts","sourceRoot":"","sources":["../../../src/components/product/ProductVariationSelectors.tsx"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,UAAU,8BAA8B;IACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACvC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAClC;AAoBD,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,aAAsC,EACtC,QAAQ,GACT,EAAE,8BAA8B,+BAsGhC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { Ruler, X } from 'lucide-react';
|
|
4
|
-
import { DEFAULT_COLOR_SWATCHES, formatAttributeLabel, resolveVariantImageUrls, } from '../../lib/product-variation-utils';
|
|
4
|
+
import { DEFAULT_COLOR_SWATCHES, formatAttributeLabel, resolveVariantImageUrls, } from '../../lib/product-variation-utils.js';
|
|
5
5
|
function getOptionImage(variants, attributeKey, value) {
|
|
6
6
|
if (!variants?.length)
|
|
7
7
|
return undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface CategoryDescriptionProps {
|
|
2
3
|
description: unknown;
|
|
3
4
|
className?: string;
|
|
4
5
|
}
|
|
5
6
|
/** Category hero / detail description — renders sanitized WYSIWYG HTML. */
|
|
6
|
-
export declare function CategoryDescription({ description, className }: CategoryDescriptionProps):
|
|
7
|
+
export declare function CategoryDescription({ description, className }: CategoryDescriptionProps): React.JSX.Element;
|
|
7
8
|
//# sourceMappingURL=CategoryDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryDescription.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text/CategoryDescription.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryDescription.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text/CategoryDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2EAA2E;AAC3E,wBAAgB,mBAAmB,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,wBAAwB,qBAcvF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface ProductDescriptionProps {
|
|
2
3
|
description: unknown;
|
|
3
4
|
title?: string;
|
|
@@ -5,5 +6,5 @@ export interface ProductDescriptionProps {
|
|
|
5
6
|
proseClassName?: string;
|
|
6
7
|
}
|
|
7
8
|
/** Product detail description block — WYSIWYG HTML, legacy plain text, or JSON snapshots. */
|
|
8
|
-
export declare function ProductDescription({ description, title, className, proseClassName, }: ProductDescriptionProps):
|
|
9
|
+
export declare function ProductDescription({ description, title, className, proseClassName, }: ProductDescriptionProps): React.JSX.Element;
|
|
9
10
|
//# sourceMappingURL=ProductDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductDescription.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text/ProductDescription.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductDescription.d.ts","sourceRoot":"","sources":["../../../src/components/rich-text/ProductDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,6FAA6F;AAC7F,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,KAAqB,EACrB,SAAkB,EAClB,cAA0E,GAC3E,EAAE,uBAAuB,qBAWzB"}
|
|
@@ -2,6 +2,6 @@ interface MerchantHandledDeliveryNoticeProps {
|
|
|
2
2
|
storeName?: string;
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function MerchantHandledDeliveryNotice({ storeName, className, }: MerchantHandledDeliveryNoticeProps): import("react
|
|
5
|
+
export declare function MerchantHandledDeliveryNotice({ storeName, className, }: MerchantHandledDeliveryNoticeProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=MerchantHandledDeliveryNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchantHandledDeliveryNotice.d.ts","sourceRoot":"","sources":["../../../src/components/shipping/MerchantHandledDeliveryNotice.tsx"],"names":[],"mappings":"AAIA,UAAU,kCAAkC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,6BAA6B,CAAC,EAC5C,SAAS,EACT,SAAS,GACV,EAAE,kCAAkC
|
|
1
|
+
{"version":3,"file":"MerchantHandledDeliveryNotice.d.ts","sourceRoot":"","sources":["../../../src/components/shipping/MerchantHandledDeliveryNotice.tsx"],"names":[],"mappings":"AAIA,UAAU,kCAAkC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,6BAA6B,CAAC,EAC5C,SAAS,EACT,SAAS,GACV,EAAE,kCAAkC,+BAwBpC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { StoreConfig } from '../../lib/store-types';
|
|
2
|
-
import type { ShippingMethod } from '../../lib/services/shipping.service';
|
|
3
|
-
import { ShippingQuoteAddress } from '../../lib/shipping-address.util';
|
|
1
|
+
import type { StoreConfig } from '../../lib/store-types.js';
|
|
2
|
+
import type { ShippingMethod } from '../../lib/services/shipping.service.js';
|
|
3
|
+
import { ShippingQuoteAddress } from '../../lib/shipping-address.util.js';
|
|
4
4
|
interface ProductDeliveryInfoSectionProps {
|
|
5
5
|
storeConfig: StoreConfig;
|
|
6
6
|
currency: string;
|
|
@@ -16,6 +16,6 @@ interface ProductDeliveryInfoSectionProps {
|
|
|
16
16
|
freeShippingThreshold?: number;
|
|
17
17
|
onToast?: (message: string, type: 'success' | 'error' | 'info') => void;
|
|
18
18
|
}
|
|
19
|
-
export declare function ProductDeliveryInfoSection({ storeConfig, currency, productCurrency, productPrice, quantity, shippingAddress, updateShippingAddress, shippingMethods, isCalculatingShipping, shippingError, freeShippingEligible, freeShippingThreshold, onToast, }: ProductDeliveryInfoSectionProps): import("react
|
|
19
|
+
export declare function ProductDeliveryInfoSection({ storeConfig, currency, productCurrency, productPrice, quantity, shippingAddress, updateShippingAddress, shippingMethods, isCalculatingShipping, shippingError, freeShippingEligible, freeShippingThreshold, onToast, }: ProductDeliveryInfoSectionProps): import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=ProductDeliveryInfoSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductDeliveryInfoSection.d.ts","sourceRoot":"","sources":["../../../src/components/shipping/ProductDeliveryInfoSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAQnE,UAAU,+BAA+B;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,oBAAoB,CAAC;IACtC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACtE,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;CACzE;AAED,wBAAgB,0BAA0B,CAAC,EACzC,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,GACR,EAAE,+BAA+B
|
|
1
|
+
{"version":3,"file":"ProductDeliveryInfoSection.d.ts","sourceRoot":"","sources":["../../../src/components/shipping/ProductDeliveryInfoSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAQnE,UAAU,+BAA+B;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,oBAAoB,CAAC;IACtC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACtE,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;CACzE;AAED,wBAAgB,0BAA0B,CAAC,EACzC,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,GACR,EAAE,+BAA+B,+BAiIjC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { CheckCircle, Truck } from 'lucide-react';
|
|
4
|
-
import { isAutomatedShippingEnabled } from '../../lib/shipping-settings.util';
|
|
5
|
-
import { cn, formatCurrency } from '../../lib/utils';
|
|
4
|
+
import { isAutomatedShippingEnabled } from '../../lib/shipping-settings.util.js';
|
|
5
|
+
import { cn, formatCurrency } from '../../lib/utils/index.js';
|
|
6
6
|
import { ShippingQuoteAddressForm } from './ShippingQuoteAddressForm';
|
|
7
7
|
import { MerchantHandledDeliveryNotice } from './MerchantHandledDeliveryNotice';
|
|
8
8
|
const SHOW_PDP_DELIVERY_INFO = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShippingQuoteAddress } from '../../lib/shipping-address.util';
|
|
1
|
+
import { ShippingQuoteAddress } from '../../lib/shipping-address.util.js';
|
|
2
2
|
interface ShippingQuoteAddressFormProps {
|
|
3
3
|
address: ShippingQuoteAddress;
|
|
4
4
|
onChange: (patch: Partial<ShippingQuoteAddress>) => void;
|
|
@@ -6,6 +6,6 @@ interface ShippingQuoteAddressFormProps {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
showPhone?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function ShippingQuoteAddressForm({ address, onChange, onToast, className, showPhone, }: ShippingQuoteAddressFormProps): import("react
|
|
9
|
+
export declare function ShippingQuoteAddressForm({ address, onChange, onToast, className, showPhone, }: ShippingQuoteAddressFormProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=ShippingQuoteAddressForm.d.ts.map
|