storefront-layouts 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +546 -0
- package/dist/components/auth/LoginForm.d.ts +9 -0
- package/dist/components/auth/LoginForm.d.ts.map +1 -0
- package/dist/components/auth/LoginForm.js +21 -0
- package/dist/components/auth/LoginSheet.d.ts +7 -0
- package/dist/components/auth/LoginSheet.d.ts.map +1 -0
- package/dist/components/auth/LoginSheet.js +8 -0
- package/dist/components/auth/login-form-core.d.ts +11 -0
- package/dist/components/auth/login-form-core.d.ts.map +1 -0
- package/dist/components/auth/login-form-core.js +19 -0
- package/dist/components/auth/login-sheet-header.d.ts +10 -0
- package/dist/components/auth/login-sheet-header.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-header.js +10 -0
- package/dist/components/auth/login-sheet-registry.d.ts +11 -0
- package/dist/components/auth/login-sheet-registry.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-registry.js +9 -0
- package/dist/components/auth/login-sheet-theme.types.d.ts +29 -0
- package/dist/components/auth/login-sheet-theme.types.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-theme.types.js +1 -0
- package/dist/components/auth/login-sheet-themes/booking-agenda.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/booking-agenda.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/booking-agenda.theme.js +21 -0
- package/dist/components/auth/login-sheet-themes/booking.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/booking.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/booking.theme.js +20 -0
- package/dist/components/auth/login-sheet-themes/clothing-minimal.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/clothing-minimal.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/clothing-minimal.theme.js +20 -0
- package/dist/components/auth/login-sheet-themes/clothing.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/clothing.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/clothing.theme.js +21 -0
- package/dist/components/auth/login-sheet-themes/electronics-grid.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/electronics-grid.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/electronics-grid.theme.js +20 -0
- package/dist/components/auth/login-sheet-themes/electronics.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/electronics.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/electronics.theme.js +20 -0
- package/dist/components/auth/login-sheet-themes/food-modern.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/food-modern.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/food-modern.theme.js +22 -0
- package/dist/components/auth/login-sheet-themes/food.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/food.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/food.theme.js +22 -0
- package/dist/components/auth/login-sheet-themes/index.d.ts +14 -0
- package/dist/components/auth/login-sheet-themes/index.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/index.js +29 -0
- package/dist/components/auth/login-sheet-themes/motivational-speaker.theme.d.ts +3 -0
- package/dist/components/auth/login-sheet-themes/motivational-speaker.theme.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/motivational-speaker.theme.js +20 -0
- package/dist/components/auth/login-sheet-themes/theme-input-baselines.d.ts +24 -0
- package/dist/components/auth/login-sheet-themes/theme-input-baselines.d.ts.map +1 -0
- package/dist/components/auth/login-sheet-themes/theme-input-baselines.js +23 -0
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts +13 -0
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.d.ts.map +1 -0
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.js +14 -0
- package/dist/components/auth/use-login-submit.d.ts +22 -0
- package/dist/components/auth/use-login-submit.d.ts.map +1 -0
- package/dist/components/auth/use-login-submit.js +99 -0
- package/dist/components/cart/InventoryHoldCountdown.d.ts +8 -0
- package/dist/components/cart/InventoryHoldCountdown.d.ts.map +1 -0
- package/dist/components/cart/InventoryHoldCountdown.js +73 -0
- package/dist/components/categories/category-masonry-grid.d.ts +18 -0
- package/dist/components/categories/category-masonry-grid.d.ts.map +1 -0
- package/dist/components/categories/category-masonry-grid.js +50 -0
- package/dist/components/categories/category-masonry-utils.d.ts +9 -0
- package/dist/components/categories/category-masonry-utils.d.ts.map +1 -0
- package/dist/components/categories/category-masonry-utils.js +67 -0
- package/dist/components/checkout/CheckoutFeeLines.d.ts +12 -0
- package/dist/components/checkout/CheckoutFeeLines.d.ts.map +1 -0
- package/dist/components/checkout/CheckoutFeeLines.js +9 -0
- package/dist/components/checkout/ShippingOptionsPanel.d.ts +54 -0
- package/dist/components/checkout/ShippingOptionsPanel.d.ts.map +1 -0
- package/dist/components/checkout/ShippingOptionsPanel.js +115 -0
- package/dist/components/learning/CertificateTemplates.d.ts +25 -0
- package/dist/components/learning/CertificateTemplates.d.ts.map +1 -0
- package/dist/components/learning/CertificateTemplates.js +31 -0
- package/dist/components/learning/CertificateViewer.d.ts +11 -0
- package/dist/components/learning/CertificateViewer.d.ts.map +1 -0
- package/dist/components/learning/CertificateViewer.js +114 -0
- package/dist/components/learning/MentorshipProgress.d.ts +18 -0
- package/dist/components/learning/MentorshipProgress.d.ts.map +1 -0
- package/dist/components/learning/MentorshipProgress.js +20 -0
- package/dist/components/product/ProductVariationSelectors.d.ts +12 -0
- package/dist/components/product/ProductVariationSelectors.d.ts.map +1 -0
- package/dist/components/product/ProductVariationSelectors.js +46 -0
- package/dist/components/rich-text/CategoryDescription.d.ts +7 -0
- package/dist/components/rich-text/CategoryDescription.d.ts.map +1 -0
- package/dist/components/rich-text/CategoryDescription.js +11 -0
- package/dist/components/rich-text/ProductDescription.d.ts +9 -0
- package/dist/components/rich-text/ProductDescription.d.ts.map +1 -0
- package/dist/components/rich-text/ProductDescription.js +10 -0
- package/dist/components/rich-text/RichTextExcerpt.d.ts +10 -0
- package/dist/components/rich-text/RichTextExcerpt.d.ts.map +1 -0
- package/dist/components/rich-text/RichTextExcerpt.js +12 -0
- package/dist/components/rich-text/SafeRichHtml.d.ts +14 -0
- package/dist/components/rich-text/SafeRichHtml.d.ts.map +1 -0
- package/dist/components/rich-text/SafeRichHtml.js +15 -0
- package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts +7 -0
- package/dist/components/shipping/MerchantHandledDeliveryNotice.d.ts.map +1 -0
- package/dist/components/shipping/MerchantHandledDeliveryNotice.js +7 -0
- package/dist/components/shipping/ProductDeliveryInfoSection.d.ts +21 -0
- package/dist/components/shipping/ProductDeliveryInfoSection.d.ts.map +1 -0
- package/dist/components/shipping/ProductDeliveryInfoSection.js +22 -0
- package/dist/components/shipping/ShippingQuoteAddressForm.d.ts +11 -0
- package/dist/components/shipping/ShippingQuoteAddressForm.d.ts.map +1 -0
- package/dist/components/shipping/ShippingQuoteAddressForm.js +66 -0
- package/dist/components/ui/address-selector.d.ts +11 -0
- package/dist/components/ui/address-selector.d.ts.map +1 -0
- package/dist/components/ui/address-selector.js +21 -0
- package/dist/components/ui/alert-modal.d.ts +21 -0
- package/dist/components/ui/alert-modal.d.ts.map +1 -0
- package/dist/components/ui/alert-modal.js +59 -0
- package/dist/components/ui/avatar-image.d.ts +11 -0
- package/dist/components/ui/avatar-image.d.ts.map +1 -0
- package/dist/components/ui/avatar-image.js +39 -0
- package/dist/components/ui/background-patterns.d.ts +27 -0
- package/dist/components/ui/background-patterns.d.ts.map +1 -0
- package/dist/components/ui/background-patterns.js +5 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +20 -0
- package/dist/components/ui/breadcrumbs.d.ts +12 -0
- package/dist/components/ui/breadcrumbs.d.ts.map +1 -0
- package/dist/components/ui/breadcrumbs.js +12 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +34 -0
- package/dist/components/ui/card.d.ts +10 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +24 -0
- package/dist/components/ui/category-tree.d.ts +16 -0
- package/dist/components/ui/category-tree.d.ts.map +1 -0
- package/dist/components/ui/category-tree.js +74 -0
- package/dist/components/ui/checkout-button.d.ts +11 -0
- package/dist/components/ui/checkout-button.d.ts.map +1 -0
- package/dist/components/ui/checkout-button.js +298 -0
- package/dist/components/ui/dynamic-icon.d.ts +11 -0
- package/dist/components/ui/dynamic-icon.d.ts.map +1 -0
- package/dist/components/ui/dynamic-icon.js +77 -0
- package/dist/components/ui/guest-checkout-modal.d.ts +19 -0
- package/dist/components/ui/guest-checkout-modal.d.ts.map +1 -0
- package/dist/components/ui/guest-checkout-modal.js +95 -0
- package/dist/components/ui/image-skeleton.d.ts +7 -0
- package/dist/components/ui/image-skeleton.d.ts.map +1 -0
- package/dist/components/ui/image-skeleton.js +15 -0
- package/dist/components/ui/image-with-fallback.d.ts +10 -0
- package/dist/components/ui/image-with-fallback.d.ts.map +1 -0
- package/dist/components/ui/image-with-fallback.js +165 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +8 -0
- package/dist/components/ui/limited-time-offer-badge.d.ts +12 -0
- package/dist/components/ui/limited-time-offer-badge.d.ts.map +1 -0
- package/dist/components/ui/limited-time-offer-badge.js +13 -0
- package/dist/components/ui/loading-skeleton-wrapper.d.ts +6 -0
- package/dist/components/ui/loading-skeleton-wrapper.d.ts.map +1 -0
- package/dist/components/ui/loading-skeleton-wrapper.js +10 -0
- package/dist/components/ui/modal.d.ts +11 -0
- package/dist/components/ui/modal.d.ts.map +1 -0
- package/dist/components/ui/modal.js +26 -0
- package/dist/components/ui/otp-input.d.ts +10 -0
- package/dist/components/ui/otp-input.d.ts.map +1 -0
- package/dist/components/ui/otp-input.js +57 -0
- package/dist/components/ui/out-of-stock-overlay.d.ts +8 -0
- package/dist/components/ui/out-of-stock-overlay.d.ts.map +1 -0
- package/dist/components/ui/out-of-stock-overlay.js +12 -0
- package/dist/components/ui/page-animate-wrapper.d.ts +7 -0
- package/dist/components/ui/page-animate-wrapper.d.ts.map +1 -0
- package/dist/components/ui/page-animate-wrapper.js +13 -0
- package/dist/components/ui/page-content-loader.d.ts +13 -0
- package/dist/components/ui/page-content-loader.d.ts.map +1 -0
- package/dist/components/ui/page-content-loader.js +12 -0
- package/dist/components/ui/page-loader.d.ts +20 -0
- package/dist/components/ui/page-loader.d.ts.map +1 -0
- package/dist/components/ui/page-loader.js +31 -0
- package/dist/components/ui/product-card.d.ts +11 -0
- package/dist/components/ui/product-card.d.ts.map +1 -0
- package/dist/components/ui/product-card.js +139 -0
- package/dist/components/ui/product-rating.d.ts +17 -0
- package/dist/components/ui/product-rating.d.ts.map +1 -0
- package/dist/components/ui/product-rating.js +54 -0
- package/dist/components/ui/product-stock-badge.d.ts +9 -0
- package/dist/components/ui/product-stock-badge.d.ts.map +1 -0
- package/dist/components/ui/product-stock-badge.js +20 -0
- package/dist/components/ui/review-form.d.ts +9 -0
- package/dist/components/ui/review-form.d.ts.map +1 -0
- package/dist/components/ui/review-form.js +28 -0
- package/dist/components/ui/route-skeleton-loader.d.ts +7 -0
- package/dist/components/ui/route-skeleton-loader.d.ts.map +1 -0
- package/dist/components/ui/route-skeleton-loader.js +75 -0
- package/dist/components/ui/sheet.d.ts +29 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +45 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +6 -0
- package/dist/components/ui/skeletons/category-grid-skeleton.d.ts +6 -0
- package/dist/components/ui/skeletons/category-grid-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/category-grid-skeleton.js +9 -0
- package/dist/components/ui/skeletons/checkout-skeleton.d.ts +2 -0
- package/dist/components/ui/skeletons/checkout-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/checkout-skeleton.js +4 -0
- package/dist/components/ui/skeletons/index.d.ts +6 -0
- package/dist/components/ui/skeletons/index.d.ts.map +1 -0
- package/dist/components/ui/skeletons/index.js +5 -0
- package/dist/components/ui/skeletons/page-skeleton.d.ts +2 -0
- package/dist/components/ui/skeletons/page-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/page-skeleton.js +4 -0
- package/dist/components/ui/skeletons/product-card-skeleton.d.ts +2 -0
- package/dist/components/ui/skeletons/product-card-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/product-card-skeleton.js +4 -0
- package/dist/components/ui/skeletons/product-detail-skeleton.d.ts +2 -0
- package/dist/components/ui/skeletons/product-detail-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/product-detail-skeleton.js +4 -0
- package/dist/components/ui/skeletons/product-grid-skeleton.d.ts +7 -0
- package/dist/components/ui/skeletons/product-grid-skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeletons/product-grid-skeleton.js +12 -0
- package/dist/components/ui/store-logos.d.ts +43 -0
- package/dist/components/ui/store-logos.d.ts.map +1 -0
- package/dist/components/ui/store-logos.js +83 -0
- package/dist/components/ui/toast.d.ts +20 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +33 -0
- package/dist/components/ui/video-player.d.ts +48 -0
- package/dist/components/ui/video-player.d.ts.map +1 -0
- package/dist/components/ui/video-player.js +101 -0
- package/dist/editor/alignment-schemas/booking-agenda.d.ts +3 -0
- package/dist/editor/alignment-schemas/booking-agenda.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/booking-agenda.js +145 -0
- package/dist/editor/alignment-schemas/booking-footer-section.d.ts +4 -0
- package/dist/editor/alignment-schemas/booking-footer-section.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/booking-footer-section.js +69 -0
- package/dist/editor/alignment-schemas/booking.d.ts +3 -0
- package/dist/editor/alignment-schemas/booking.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/booking.js +476 -0
- package/dist/editor/alignment-schemas/clothing-minimal.d.ts +3 -0
- package/dist/editor/alignment-schemas/clothing-minimal.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/clothing-minimal.js +363 -0
- package/dist/editor/alignment-schemas/clothing.d.ts +3 -0
- package/dist/editor/alignment-schemas/clothing.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/clothing.js +477 -0
- package/dist/editor/alignment-schemas/electronics-grid.d.ts +3 -0
- package/dist/editor/alignment-schemas/electronics-grid.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/electronics-grid.js +97 -0
- package/dist/editor/alignment-schemas/electronics.d.ts +3 -0
- package/dist/editor/alignment-schemas/electronics.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/electronics.js +145 -0
- package/dist/editor/alignment-schemas/food-modern.d.ts +3 -0
- package/dist/editor/alignment-schemas/food-modern.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/food-modern.js +237 -0
- package/dist/editor/alignment-schemas/food.d.ts +3 -0
- package/dist/editor/alignment-schemas/food.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/food.js +494 -0
- package/dist/editor/alignment-schemas/index.d.ts +15 -0
- package/dist/editor/alignment-schemas/index.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/index.js +50 -0
- package/dist/editor/alignment-schemas/lazy-loader.d.ts +14 -0
- package/dist/editor/alignment-schemas/lazy-loader.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/lazy-loader.js +80 -0
- package/dist/editor/alignment-schemas/metadata.d.ts +25 -0
- package/dist/editor/alignment-schemas/metadata.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/metadata.js +225 -0
- package/dist/editor/alignment-schemas/motivational-speaker.d.ts +3 -0
- package/dist/editor/alignment-schemas/motivational-speaker.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/motivational-speaker.js +185 -0
- package/dist/editor/alignment-schemas/resolve-canvas-inspector-leaf.d.ts +18 -0
- package/dist/editor/alignment-schemas/resolve-canvas-inspector-leaf.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/resolve-canvas-inspector-leaf.js +166 -0
- package/dist/editor/alignment-schemas/resolve-field.d.ts +9 -0
- package/dist/editor/alignment-schemas/resolve-field.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/resolve-field.js +56 -0
- package/dist/editor/alignment-schemas/types.d.ts +53 -0
- package/dist/editor/alignment-schemas/types.d.ts.map +1 -0
- package/dist/editor/alignment-schemas/types.js +1 -0
- package/dist/editor/blocks/defaults/clothing-minimal-home.d.ts +9 -0
- package/dist/editor/blocks/defaults/clothing-minimal-home.d.ts.map +1 -0
- package/dist/editor/blocks/defaults/clothing-minimal-home.js +207 -0
- package/dist/editor/blocks/index.d.ts +4 -0
- package/dist/editor/blocks/index.d.ts.map +1 -0
- package/dist/editor/blocks/index.js +3 -0
- package/dist/editor/blocks/migrate-clothing-minimal.d.ts +5 -0
- package/dist/editor/blocks/migrate-clothing-minimal.d.ts.map +1 -0
- package/dist/editor/blocks/migrate-clothing-minimal.js +140 -0
- package/dist/editor/blocks/nav-outline-utils.d.ts +47 -0
- package/dist/editor/blocks/nav-outline-utils.d.ts.map +1 -0
- package/dist/editor/blocks/nav-outline-utils.js +201 -0
- package/dist/editor/blocks/registry.d.ts +19 -0
- package/dist/editor/blocks/registry.d.ts.map +1 -0
- package/dist/editor/blocks/registry.js +118 -0
- package/dist/editor/blocks/types.d.ts +14 -0
- package/dist/editor/blocks/types.d.ts.map +1 -0
- package/dist/editor/blocks/types.js +14 -0
- package/dist/editor/document/adapter.d.ts +44 -0
- package/dist/editor/document/adapter.d.ts.map +1 -0
- package/dist/editor/document/adapter.js +159 -0
- package/dist/editor/document/block-tree.d.ts +46 -0
- package/dist/editor/document/block-tree.d.ts.map +1 -0
- package/dist/editor/document/block-tree.js +345 -0
- package/dist/editor/document/constants.d.ts +6 -0
- package/dist/editor/document/constants.d.ts.map +1 -0
- package/dist/editor/document/constants.js +14 -0
- package/dist/editor/document/index.d.ts +7 -0
- package/dist/editor/document/index.d.ts.map +1 -0
- package/dist/editor/document/index.js +6 -0
- package/dist/editor/document/layout-id.d.ts +3 -0
- package/dist/editor/document/layout-id.d.ts.map +1 -0
- package/dist/editor/document/layout-id.js +17 -0
- package/dist/editor/document/types.d.ts +91 -0
- package/dist/editor/document/types.d.ts.map +1 -0
- package/dist/editor/document/types.js +1 -0
- package/dist/editor/document/validate.d.ts +11 -0
- package/dist/editor/document/validate.d.ts.map +1 -0
- package/dist/editor/document/validate.js +92 -0
- package/dist/editor/feature-flags.d.ts +11 -0
- package/dist/editor/feature-flags.d.ts.map +1 -0
- package/dist/editor/feature-flags.js +19 -0
- package/dist/editor/index.d.ts +28 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/editor/index.js +72 -0
- package/dist/editor/layout-content-loader.d.ts +13 -0
- package/dist/editor/layout-content-loader.d.ts.map +1 -0
- package/dist/editor/layout-content-loader.js +222 -0
- package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts +20 -0
- package/dist/editor/payaza-form/ActiveArrayFocusContext.d.ts.map +1 -0
- package/dist/editor/payaza-form/ActiveArrayFocusContext.js +31 -0
- package/dist/editor/payaza-form/ArrayItemManager.d.ts +19 -0
- package/dist/editor/payaza-form/ArrayItemManager.d.ts.map +1 -0
- package/dist/editor/payaza-form/ArrayItemManager.js +62 -0
- package/dist/editor/payaza-form/AssetSelectionContext.d.ts +17 -0
- package/dist/editor/payaza-form/AssetSelectionContext.d.ts.map +1 -0
- package/dist/editor/payaza-form/AssetSelectionContext.js +81 -0
- package/dist/editor/payaza-form/EditorCanvasPreview.d.ts +41 -0
- package/dist/editor/payaza-form/EditorCanvasPreview.d.ts.map +1 -0
- package/dist/editor/payaza-form/EditorCanvasPreview.js +56 -0
- package/dist/editor/payaza-form/EditorLayoutContext.d.ts +8 -0
- package/dist/editor/payaza-form/EditorLayoutContext.d.ts.map +1 -0
- package/dist/editor/payaza-form/EditorLayoutContext.js +6 -0
- package/dist/editor/payaza-form/FieldRenderer.d.ts +16 -0
- package/dist/editor/payaza-form/FieldRenderer.d.ts.map +1 -0
- package/dist/editor/payaza-form/FieldRenderer.js +192 -0
- package/dist/editor/payaza-form/IframePreviewMessageBridge.d.ts +29 -0
- package/dist/editor/payaza-form/IframePreviewMessageBridge.d.ts.map +1 -0
- package/dist/editor/payaza-form/IframePreviewMessageBridge.js +46 -0
- package/dist/editor/payaza-form/PayazaFormEditor.d.ts +12 -0
- package/dist/editor/payaza-form/PayazaFormEditor.d.ts.map +1 -0
- package/dist/editor/payaza-form/PayazaFormEditor.js +1226 -0
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.d.ts +9 -0
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.d.ts.map +1 -0
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.js +6 -0
- package/dist/editor/payaza-form/SliderArrayEditor.d.ts +17 -0
- package/dist/editor/payaza-form/SliderArrayEditor.d.ts.map +1 -0
- package/dist/editor/payaza-form/SliderArrayEditor.js +96 -0
- package/dist/editor/payaza-form/components/ArrayField.d.ts +21 -0
- package/dist/editor/payaza-form/components/ArrayField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/ArrayField.js +18 -0
- package/dist/editor/payaza-form/components/BlockStylesInspector.d.ts +9 -0
- package/dist/editor/payaza-form/components/BlockStylesInspector.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/BlockStylesInspector.js +150 -0
- package/dist/editor/payaza-form/components/BlocksField.d.ts +17 -0
- package/dist/editor/payaza-form/components/BlocksField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/BlocksField.js +108 -0
- package/dist/editor/payaza-form/components/ButtonField.d.ts +15 -0
- package/dist/editor/payaza-form/components/ButtonField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/ButtonField.js +17 -0
- package/dist/editor/payaza-form/components/CanvasGranularInspector.d.ts +16 -0
- package/dist/editor/payaza-form/components/CanvasGranularInspector.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/CanvasGranularInspector.js +32 -0
- package/dist/editor/payaza-form/components/FieldDensityContext.d.ts +10 -0
- package/dist/editor/payaza-form/components/FieldDensityContext.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/FieldDensityContext.js +13 -0
- package/dist/editor/payaza-form/components/IconField.d.ts +12 -0
- package/dist/editor/payaza-form/components/IconField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/IconField.js +42 -0
- package/dist/editor/payaza-form/components/ImageField.d.ts +10 -0
- package/dist/editor/payaza-form/components/ImageField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/ImageField.js +30 -0
- package/dist/editor/payaza-form/components/NumberField.d.ts +14 -0
- package/dist/editor/payaza-form/components/NumberField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/NumberField.js +23 -0
- package/dist/editor/payaza-form/components/ObjectField.d.ts +11 -0
- package/dist/editor/payaza-form/components/ObjectField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/ObjectField.js +7 -0
- package/dist/editor/payaza-form/components/RichTextField.d.ts +15 -0
- package/dist/editor/payaza-form/components/RichTextField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/RichTextField.js +88 -0
- package/dist/editor/payaza-form/components/SectionField.d.ts +14 -0
- package/dist/editor/payaza-form/components/SectionField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/SectionField.js +8 -0
- package/dist/editor/payaza-form/components/SectionSchemaInspector.d.ts +18 -0
- package/dist/editor/payaza-form/components/SectionSchemaInspector.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/SectionSchemaInspector.js +64 -0
- package/dist/editor/payaza-form/components/SegmentedControlField.d.ts +13 -0
- package/dist/editor/payaza-form/components/SegmentedControlField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/SegmentedControlField.js +7 -0
- package/dist/editor/payaza-form/components/StarRatingField.d.ts +13 -0
- package/dist/editor/payaza-form/components/StarRatingField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/StarRatingField.js +16 -0
- package/dist/editor/payaza-form/components/TextField.d.ts +13 -0
- package/dist/editor/payaza-form/components/TextField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/TextField.js +12 -0
- package/dist/editor/payaza-form/components/TextareaField.d.ts +11 -0
- package/dist/editor/payaza-form/components/TextareaField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/TextareaField.js +6 -0
- package/dist/editor/payaza-form/components/ToggleField.d.ts +12 -0
- package/dist/editor/payaza-form/components/ToggleField.d.ts.map +1 -0
- package/dist/editor/payaza-form/components/ToggleField.js +15 -0
- package/dist/editor/payaza-form/data-merger.d.ts +28 -0
- package/dist/editor/payaza-form/data-merger.d.ts.map +1 -0
- package/dist/editor/payaza-form/data-merger.js +878 -0
- package/dist/editor/payaza-form/data-transformer.d.ts +28 -0
- package/dist/editor/payaza-form/data-transformer.d.ts.map +1 -0
- package/dist/editor/payaza-form/data-transformer.js +304 -0
- package/dist/editor/payaza-form/engine.d.ts +72 -0
- package/dist/editor/payaza-form/engine.d.ts.map +1 -0
- package/dist/editor/payaza-form/engine.js +140 -0
- package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts +8 -0
- package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts.map +1 -0
- package/dist/editor/payaza-form/examples/custom-widgets.example.js +51 -0
- package/dist/editor/payaza-form/field-renderer-ref.d.ts +4 -0
- package/dist/editor/payaza-form/field-renderer-ref.d.ts.map +1 -0
- package/dist/editor/payaza-form/field-renderer-ref.js +16 -0
- package/dist/editor/payaza-form/index.d.ts +11 -0
- package/dist/editor/payaza-form/index.d.ts.map +1 -0
- package/dist/editor/payaza-form/index.js +8 -0
- package/dist/editor/payaza-form/layout-loader.d.ts +12 -0
- package/dist/editor/payaza-form/layout-loader.d.ts.map +1 -0
- package/dist/editor/payaza-form/layout-loader.js +43 -0
- package/dist/editor/payaza-form/payaza-style-sanitize.d.ts +14 -0
- package/dist/editor/payaza-form/payaza-style-sanitize.d.ts.map +1 -0
- package/dist/editor/payaza-form/payaza-style-sanitize.js +76 -0
- package/dist/editor/payaza-form/preview-message-handler.d.ts +18 -0
- package/dist/editor/payaza-form/preview-message-handler.d.ts.map +1 -0
- package/dist/editor/payaza-form/preview-message-handler.js +89 -0
- package/dist/editor/payaza-form/schema-bridge.d.ts +12 -0
- package/dist/editor/payaza-form/schema-bridge.d.ts.map +1 -0
- package/dist/editor/payaza-form/schema-bridge.js +90 -0
- package/dist/editor/payaza-form/widget-registry.d.ts +94 -0
- package/dist/editor/payaza-form/widget-registry.d.ts.map +1 -0
- package/dist/editor/payaza-form/widget-registry.js +107 -0
- package/dist/editor/shared/AIGenerateModal.d.ts +17 -0
- package/dist/editor/shared/AIGenerateModal.d.ts.map +1 -0
- package/dist/editor/shared/AIGenerateModal.js +59 -0
- package/dist/editor/shared/BlockOutlineTree.d.ts +14 -0
- package/dist/editor/shared/BlockOutlineTree.d.ts.map +1 -0
- package/dist/editor/shared/BlockOutlineTree.js +47 -0
- package/dist/editor/shared/EditorHeader.d.ts +61 -0
- package/dist/editor/shared/EditorHeader.d.ts.map +1 -0
- package/dist/editor/shared/EditorHeader.js +181 -0
- package/dist/editor/shared/EditorNavigator.d.ts +42 -0
- package/dist/editor/shared/EditorNavigator.d.ts.map +1 -0
- package/dist/editor/shared/EditorNavigator.js +44 -0
- package/dist/editor/shared/IframePreview.d.ts +36 -0
- package/dist/editor/shared/IframePreview.d.ts.map +1 -0
- package/dist/editor/shared/IframePreview.js +217 -0
- package/dist/editor/shared/InlineCanvasPreview.d.ts +36 -0
- package/dist/editor/shared/InlineCanvasPreview.d.ts.map +1 -0
- package/dist/editor/shared/InlineCanvasPreview.js +174 -0
- package/dist/editor/shared/LayoutRenderer.d.ts +11 -0
- package/dist/editor/shared/LayoutRenderer.d.ts.map +1 -0
- package/dist/editor/shared/LayoutRenderer.js +7 -0
- package/dist/editor/shared/PageTabs.d.ts +13 -0
- package/dist/editor/shared/PageTabs.d.ts.map +1 -0
- package/dist/editor/shared/PageTabs.js +6 -0
- package/dist/editor/shared/ResizableSidebar.d.ts +14 -0
- package/dist/editor/shared/ResizableSidebar.d.ts.map +1 -0
- package/dist/editor/shared/ResizableSidebar.js +45 -0
- package/dist/editor/shared/index.d.ts +8 -0
- package/dist/editor/shared/index.d.ts.map +1 -0
- package/dist/editor/shared/index.js +7 -0
- package/dist/editor/shared/preview-viewport.d.ts +9 -0
- package/dist/editor/shared/preview-viewport.d.ts.map +1 -0
- package/dist/editor/shared/preview-viewport.js +17 -0
- package/dist/editor/shared/useEditorChromeMetrics.d.ts +15 -0
- package/dist/editor/shared/useEditorChromeMetrics.d.ts.map +1 -0
- package/dist/editor/shared/useEditorChromeMetrics.js +52 -0
- package/dist/editor/types.d.ts +162 -0
- package/dist/editor/types.d.ts.map +1 -0
- package/dist/editor/types.js +1 -0
- package/dist/hooks/use-analytics.d.ts +15 -0
- package/dist/hooks/use-analytics.d.ts.map +1 -0
- package/dist/hooks/use-analytics.js +62 -0
- package/dist/hooks/use-api.d.ts +17 -0
- package/dist/hooks/use-api.d.ts.map +1 -0
- package/dist/hooks/use-api.js +53 -0
- package/dist/hooks/use-cart-api.d.ts +28 -0
- package/dist/hooks/use-cart-api.d.ts.map +1 -0
- package/dist/hooks/use-cart-api.js +116 -0
- package/dist/hooks/use-catalog-loader.d.ts +19 -0
- package/dist/hooks/use-catalog-loader.d.ts.map +1 -0
- package/dist/hooks/use-catalog-loader.js +107 -0
- package/dist/hooks/use-catalog-price-range.d.ts +17 -0
- package/dist/hooks/use-catalog-price-range.d.ts.map +1 -0
- package/dist/hooks/use-catalog-price-range.js +26 -0
- package/dist/hooks/use-checkout-fees.d.ts +16 -0
- package/dist/hooks/use-checkout-fees.d.ts.map +1 -0
- package/dist/hooks/use-checkout-fees.js +105 -0
- package/dist/hooks/use-content-ready.d.ts +17 -0
- package/dist/hooks/use-content-ready.d.ts.map +1 -0
- package/dist/hooks/use-content-ready.js +197 -0
- package/dist/hooks/use-debounce.d.ts +6 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-debounce.js +17 -0
- package/dist/hooks/use-multi-store-checkout-fees.d.ts +25 -0
- package/dist/hooks/use-multi-store-checkout-fees.d.ts.map +1 -0
- package/dist/hooks/use-multi-store-checkout-fees.js +116 -0
- package/dist/hooks/use-navigation-loading.d.ts +4 -0
- package/dist/hooks/use-navigation-loading.d.ts.map +1 -0
- package/dist/hooks/use-navigation-loading.js +14 -0
- package/dist/hooks/use-payaza-checkout.d.ts +15 -0
- package/dist/hooks/use-payaza-checkout.d.ts.map +1 -0
- package/dist/hooks/use-payaza-checkout.js +123 -0
- package/dist/hooks/use-product-variation-selection.d.ts +28 -0
- package/dist/hooks/use-product-variation-selection.d.ts.map +1 -0
- package/dist/hooks/use-product-variation-selection.js +53 -0
- package/dist/hooks/use-products-api.d.ts +19 -0
- package/dist/hooks/use-products-api.d.ts.map +1 -0
- package/dist/hooks/use-products-api.js +84 -0
- package/dist/hooks/use-shipping-quote.d.ts +25 -0
- package/dist/hooks/use-shipping-quote.d.ts.map +1 -0
- package/dist/hooks/use-shipping-quote.js +80 -0
- package/dist/hooks/use-store-api.d.ts +12 -0
- package/dist/hooks/use-store-api.d.ts.map +1 -0
- package/dist/hooks/use-store-api.js +73 -0
- package/dist/hooks/usePreviewSlideSync.d.ts +5 -0
- package/dist/hooks/usePreviewSlideSync.d.ts.map +1 -0
- package/dist/hooks/usePreviewSlideSync.js +28 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +164 -0
- package/dist/json/booking-agenda.json +166 -0
- package/dist/json/booking.json +224 -0
- package/dist/json/clothing-minimal.json +203 -0
- package/dist/json/clothing.json +418 -0
- package/dist/json/electronics-grid.json +246 -0
- package/dist/json/electronics.json +303 -0
- package/dist/json/food-modern.json +191 -0
- package/dist/json/food.json +283 -0
- package/dist/json/json-map.d.ts +7 -0
- package/dist/json/json-map.d.ts.map +1 -0
- package/dist/json/json-map.js +36 -0
- package/dist/json/motivational-speaker.json +361 -0
- package/dist/layouts/booking/components/BookingHomePage.d.ts +7 -0
- package/dist/layouts/booking/components/BookingHomePage.d.ts.map +1 -0
- package/dist/layouts/booking/components/BookingHomePage.js +107 -0
- package/dist/layouts/booking/components/BookingMultilineHeading.d.ts +20 -0
- package/dist/layouts/booking/components/BookingMultilineHeading.d.ts.map +1 -0
- package/dist/layouts/booking/components/BookingMultilineHeading.js +32 -0
- package/dist/layouts/booking/components/BookingTestimonialCard.d.ts +10 -0
- package/dist/layouts/booking/components/BookingTestimonialCard.d.ts.map +1 -0
- package/dist/layouts/booking/components/BookingTestimonialCard.js +11 -0
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts +9 -0
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.d.ts.map +1 -0
- package/dist/layouts/booking/components/BookingTestimonialsEmptyState.js +19 -0
- package/dist/layouts/booking/components/booking-about-defaults.d.ts +26 -0
- package/dist/layouts/booking/components/booking-about-defaults.d.ts.map +1 -0
- package/dist/layouts/booking/components/booking-about-defaults.js +99 -0
- package/dist/layouts/booking/components/booking-footer-defaults.d.ts +19 -0
- package/dist/layouts/booking/components/booking-footer-defaults.d.ts.map +1 -0
- package/dist/layouts/booking/components/booking-footer-defaults.js +52 -0
- package/dist/layouts/booking/components/booking-testimonial-defaults.d.ts +21 -0
- package/dist/layouts/booking/components/booking-testimonial-defaults.d.ts.map +1 -0
- package/dist/layouts/booking/components/booking-testimonial-defaults.js +112 -0
- package/dist/layouts/booking/index.d.ts +9 -0
- package/dist/layouts/booking/index.d.ts.map +1 -0
- package/dist/layouts/booking/index.js +9 -0
- package/dist/layouts/booking/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/AboutPage.js +69 -0
- package/dist/layouts/booking/pages/BookPage.d.ts +8 -0
- package/dist/layouts/booking/pages/BookPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/BookPage.js +482 -0
- package/dist/layouts/booking/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/booking/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/CategoriesPage.js +30 -0
- package/dist/layouts/booking/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/booking/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/CategoryPage.js +51 -0
- package/dist/layouts/booking/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/booking/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/ContactPage.js +59 -0
- package/dist/layouts/booking/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/booking/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/ProductDetailPage.js +456 -0
- package/dist/layouts/booking/pages/ServicesPage.d.ts +9 -0
- package/dist/layouts/booking/pages/ServicesPage.d.ts.map +1 -0
- package/dist/layouts/booking/pages/ServicesPage.js +54 -0
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts +7 -0
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +283 -0
- package/dist/layouts/booking-agenda/index.d.ts +9 -0
- package/dist/layouts/booking-agenda/index.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/index.js +9 -0
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/AboutPage.js +51 -0
- package/dist/layouts/booking-agenda/pages/BookPage.d.ts +8 -0
- package/dist/layouts/booking-agenda/pages/BookPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/BookPage.js +468 -0
- package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/booking-agenda/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/CategoriesPage.js +23 -0
- package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/CategoryPage.js +48 -0
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/ContactPage.js +57 -0
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +456 -0
- package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts +9 -0
- package/dist/layouts/booking-agenda/pages/ServicesPage.d.ts.map +1 -0
- package/dist/layouts/booking-agenda/pages/ServicesPage.js +46 -0
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts +7 -0
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -0
- package/dist/layouts/clothing/components/ClothingHomePage.js +268 -0
- package/dist/layouts/clothing/index.d.ts +8 -0
- package/dist/layouts/clothing/index.d.ts.map +1 -0
- package/dist/layouts/clothing/index.js +8 -0
- package/dist/layouts/clothing/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/clothing/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/AboutPage.js +55 -0
- package/dist/layouts/clothing/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/clothing/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/CategoriesPage.js +34 -0
- package/dist/layouts/clothing/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/clothing/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/CategoryPage.js +77 -0
- package/dist/layouts/clothing/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/clothing/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/ContactPage.js +58 -0
- package/dist/layouts/clothing/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/clothing/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/ProductDetailPage.js +416 -0
- package/dist/layouts/clothing/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/clothing/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/clothing/pages/ProductsPage.js +269 -0
- package/dist/layouts/clothing/payaza-bindings.d.ts +23 -0
- package/dist/layouts/clothing/payaza-bindings.d.ts.map +1 -0
- package/dist/layouts/clothing/payaza-bindings.js +17 -0
- package/dist/layouts/clothing/styles/clothing.css +80 -0
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts +7 -0
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.js +171 -0
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts +40 -0
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.js +180 -0
- package/dist/layouts/clothing-minimal/index.d.ts +8 -0
- package/dist/layouts/clothing-minimal/index.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/index.js +8 -0
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/AboutPage.js +71 -0
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.js +35 -0
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/CategoryPage.js +56 -0
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/ContactPage.js +53 -0
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +455 -0
- package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/clothing-minimal/pages/ProductsPage.js +274 -0
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts +7 -0
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.js +40 -0
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts +10 -0
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.js +122 -0
- package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts +7 -0
- package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsHomePage.js +104 -0
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts +8 -0
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.js +10 -0
- package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts +7 -0
- package/dist/layouts/electronics/components/ElectronicsProductsPage.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsProductsPage.js +99 -0
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts +7 -0
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsStoreFooter.js +11 -0
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts +7 -0
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.d.ts.map +1 -0
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.js +39 -0
- package/dist/layouts/electronics/index.d.ts +19 -0
- package/dist/layouts/electronics/index.d.ts.map +1 -0
- package/dist/layouts/electronics/index.js +19 -0
- package/dist/layouts/electronics/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/AboutPage.js +51 -0
- package/dist/layouts/electronics/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/CategoriesPage.js +6 -0
- package/dist/layouts/electronics/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/electronics/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/CategoryPage.js +55 -0
- package/dist/layouts/electronics/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/ContactPage.js +57 -0
- package/dist/layouts/electronics/pages/HelpCenterPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/HelpCenterPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/HelpCenterPage.js +55 -0
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/PrivacyPolicyPage.js +9 -0
- package/dist/layouts/electronics/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/electronics/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/ProductDetailPage.js +453 -0
- package/dist/layouts/electronics/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/ProductsPage.js +273 -0
- package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/ShippingReturnsPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/ShippingReturnsPage.js +7 -0
- package/dist/layouts/electronics/pages/TermsPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/TermsPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/TermsPage.js +9 -0
- package/dist/layouts/electronics/pages/TrackOrderPage.d.ts +7 -0
- package/dist/layouts/electronics/pages/TrackOrderPage.d.ts.map +1 -0
- package/dist/layouts/electronics/pages/TrackOrderPage.js +376 -0
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts +10 -0
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.js +122 -0
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts +7 -0
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.js +112 -0
- package/dist/layouts/electronics-grid/index.d.ts +15 -0
- package/dist/layouts/electronics-grid/index.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/index.js +15 -0
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/AboutPage.js +51 -0
- package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/CategoriesPage.js +6 -0
- package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/CategoryPage.js +55 -0
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/ContactPage.js +57 -0
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.js +26 -0
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/HelpCenterPage.js +55 -0
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/PrivacyPolicyPage.js +9 -0
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +453 -0
- package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/ProductsPage.js +273 -0
- package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/ShippingReturnsPage.js +7 -0
- package/dist/layouts/electronics-grid/pages/TermsPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/TermsPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/TermsPage.js +9 -0
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts +7 -0
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.d.ts.map +1 -0
- package/dist/layouts/electronics-grid/pages/TrackOrderPage.js +376 -0
- package/dist/layouts/food/components/FoodHomePage.d.ts +7 -0
- package/dist/layouts/food/components/FoodHomePage.d.ts.map +1 -0
- package/dist/layouts/food/components/FoodHomePage.js +387 -0
- package/dist/layouts/food/index.d.ts +9 -0
- package/dist/layouts/food/index.d.ts.map +1 -0
- package/dist/layouts/food/index.js +9 -0
- package/dist/layouts/food/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/AboutPage.js +67 -0
- package/dist/layouts/food/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/food/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/CategoriesPage.js +26 -0
- package/dist/layouts/food/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/food/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/CategoryPage.js +65 -0
- package/dist/layouts/food/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/food/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/ContactPage.js +55 -0
- package/dist/layouts/food/pages/MenuPage.d.ts +8 -0
- package/dist/layouts/food/pages/MenuPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/MenuPage.js +107 -0
- package/dist/layouts/food/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/food/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/ProductDetailPage.js +506 -0
- package/dist/layouts/food/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/food/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/food/pages/ProductsPage.js +174 -0
- package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts +7 -0
- package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts.map +1 -0
- package/dist/layouts/food-modern/components/FoodHomePageModern.js +101 -0
- package/dist/layouts/food-modern/index.d.ts +9 -0
- package/dist/layouts/food-modern/index.d.ts.map +1 -0
- package/dist/layouts/food-modern/index.js +9 -0
- package/dist/layouts/food-modern/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/AboutPage.js +52 -0
- package/dist/layouts/food-modern/pages/CategoriesPage.d.ts +7 -0
- package/dist/layouts/food-modern/pages/CategoriesPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/CategoriesPage.js +23 -0
- package/dist/layouts/food-modern/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/food-modern/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/CategoryPage.js +64 -0
- package/dist/layouts/food-modern/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/food-modern/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/ContactPage.js +55 -0
- package/dist/layouts/food-modern/pages/MenuPage.d.ts +8 -0
- package/dist/layouts/food-modern/pages/MenuPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/MenuPage.js +110 -0
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts +8 -0
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/ProductDetailPage.js +450 -0
- package/dist/layouts/food-modern/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/food-modern/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/food-modern/pages/ProductsPage.js +175 -0
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts +7 -0
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/components/MotivationalHomePage.js +131 -0
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts +3 -0
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.js +7 -0
- package/dist/layouts/motivational-speaker/index.d.ts +10 -0
- package/dist/layouts/motivational-speaker/index.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/index.js +10 -0
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts +7 -0
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/AboutPage.js +51 -0
- package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts +8 -0
- package/dist/layouts/motivational-speaker/pages/CategoryPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/CategoryPage.js +72 -0
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts +7 -0
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/ContactPage.js +57 -0
- package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts +7 -0
- package/dist/layouts/motivational-speaker/pages/ProductsPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/ProductsPage.js +273 -0
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts +8 -0
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/ServiceDetailPage.js +153 -0
- package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts +9 -0
- package/dist/layouts/motivational-speaker/pages/ServicesPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/ServicesPage.js +46 -0
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts +7 -0
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.d.ts.map +1 -0
- package/dist/layouts/motivational-speaker/pages/SubscriptionPage.js +137 -0
- package/dist/layouts/shared/components/BaseStoreLayout.d.ts +8 -0
- package/dist/layouts/shared/components/BaseStoreLayout.d.ts.map +1 -0
- package/dist/layouts/shared/components/BaseStoreLayout.js +49 -0
- package/dist/layouts/shared/components/CartLineQuantityControl.d.ts +12 -0
- package/dist/layouts/shared/components/CartLineQuantityControl.d.ts.map +1 -0
- package/dist/layouts/shared/components/CartLineQuantityControl.js +99 -0
- package/dist/layouts/shared/components/GenericPageWrapper.d.ts +8 -0
- package/dist/layouts/shared/components/GenericPageWrapper.d.ts.map +1 -0
- package/dist/layouts/shared/components/GenericPageWrapper.js +24 -0
- package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts +17 -0
- package/dist/layouts/shared/components/ProductPriceFilterSection.d.ts.map +1 -0
- package/dist/layouts/shared/components/ProductPriceFilterSection.js +128 -0
- package/dist/layouts/shared/components/PromoBanner.d.ts +12 -0
- package/dist/layouts/shared/components/PromoBanner.d.ts.map +1 -0
- package/dist/layouts/shared/components/PromoBanner.js +17 -0
- package/dist/layouts/shared/components/StoreFooter.d.ts +7 -0
- package/dist/layouts/shared/components/StoreFooter.d.ts.map +1 -0
- package/dist/layouts/shared/components/StoreFooter.js +156 -0
- package/dist/layouts/shared/components/StoreHeader.d.ts +8 -0
- package/dist/layouts/shared/components/StoreHeader.d.ts.map +1 -0
- package/dist/layouts/shared/components/StoreHeader.js +111 -0
- package/dist/layouts/shared/components/TestimonialCard.d.ts +8 -0
- package/dist/layouts/shared/components/TestimonialCard.d.ts.map +1 -0
- package/dist/layouts/shared/components/TestimonialCard.js +10 -0
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts +8 -0
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.d.ts.map +1 -0
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.js +16 -0
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts +7 -0
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.d.ts.map +1 -0
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.js +39 -0
- package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts +7 -0
- package/dist/layouts/shared/components/headers/FoodModernHeader.d.ts.map +1 -0
- package/dist/layouts/shared/components/headers/FoodModernHeader.js +61 -0
- package/dist/layouts/shared/index.d.ts +23 -0
- package/dist/layouts/shared/index.d.ts.map +1 -0
- package/dist/layouts/shared/index.js +23 -0
- package/dist/layouts/shared/pages/AccountPage.d.ts +7 -0
- package/dist/layouts/shared/pages/AccountPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/AccountPage.js +549 -0
- package/dist/layouts/shared/pages/CartPage.d.ts +7 -0
- package/dist/layouts/shared/pages/CartPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/CartPage.js +135 -0
- package/dist/layouts/shared/pages/CheckoutPage.d.ts +7 -0
- package/dist/layouts/shared/pages/CheckoutPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/CheckoutPage.js +1450 -0
- package/dist/layouts/shared/pages/CookiePolicyPage.d.ts +7 -0
- package/dist/layouts/shared/pages/CookiePolicyPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/CookiePolicyPage.js +9 -0
- package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts +9 -0
- package/dist/layouts/shared/pages/FeatureDisabledPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/FeatureDisabledPage.js +8 -0
- package/dist/layouts/shared/pages/HelpCenterPage.d.ts +7 -0
- package/dist/layouts/shared/pages/HelpCenterPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/HelpCenterPage.js +55 -0
- package/dist/layouts/shared/pages/MaintenancePage.d.ts +7 -0
- package/dist/layouts/shared/pages/MaintenancePage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/MaintenancePage.js +10 -0
- package/dist/layouts/shared/pages/PortfolioPage.d.ts +7 -0
- package/dist/layouts/shared/pages/PortfolioPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/PortfolioPage.js +130 -0
- package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts +7 -0
- package/dist/layouts/shared/pages/PrivacyPolicyPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/PrivacyPolicyPage.js +9 -0
- package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts +7 -0
- package/dist/layouts/shared/pages/ShippingReturnsPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/ShippingReturnsPage.js +7 -0
- package/dist/layouts/shared/pages/SizeGuidePage.d.ts +7 -0
- package/dist/layouts/shared/pages/SizeGuidePage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/SizeGuidePage.js +10 -0
- package/dist/layouts/shared/pages/StyleGuidePage.d.ts +7 -0
- package/dist/layouts/shared/pages/StyleGuidePage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/StyleGuidePage.js +126 -0
- package/dist/layouts/shared/pages/TeamPage.d.ts +7 -0
- package/dist/layouts/shared/pages/TeamPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/TeamPage.js +39 -0
- package/dist/layouts/shared/pages/TermsPage.d.ts +7 -0
- package/dist/layouts/shared/pages/TermsPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/TermsPage.js +9 -0
- package/dist/layouts/shared/pages/TrackOrderPage.d.ts +7 -0
- package/dist/layouts/shared/pages/TrackOrderPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/TrackOrderPage.js +379 -0
- package/dist/layouts/shared/pages/WishlistPage.d.ts +7 -0
- package/dist/layouts/shared/pages/WishlistPage.d.ts.map +1 -0
- package/dist/layouts/shared/pages/WishlistPage.js +144 -0
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts +14 -0
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.js +152 -0
- package/dist/layouts/shared/wrappers/ClothingLayout.d.ts +10 -0
- package/dist/layouts/shared/wrappers/ClothingLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/ClothingLayout.js +44 -0
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts +8 -0
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.js +48 -0
- package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts +8 -0
- package/dist/layouts/shared/wrappers/ElectronicsLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/ElectronicsLayout.js +40 -0
- package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts +8 -0
- package/dist/layouts/shared/wrappers/FoodModernLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/FoodModernLayout.js +48 -0
- package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts +8 -0
- package/dist/layouts/shared/wrappers/MotivationalLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/MotivationalLayout.js +51 -0
- package/dist/layouts/shared/wrappers/StandardLayout.d.ts +8 -0
- package/dist/layouts/shared/wrappers/StandardLayout.d.ts.map +1 -0
- package/dist/layouts/shared/wrappers/StandardLayout.js +45 -0
- package/dist/lib/alignment-schemas.d.ts +51 -0
- package/dist/lib/alignment-schemas.d.ts.map +1 -0
- package/dist/lib/alignment-schemas.js +637 -0
- package/dist/lib/api.d.ts +11 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/api.js +167 -0
- package/dist/lib/auth-context.d.ts +49 -0
- package/dist/lib/auth-context.d.ts.map +1 -0
- package/dist/lib/auth-context.js +296 -0
- package/dist/lib/checkout-availability.d.ts +10 -0
- package/dist/lib/checkout-availability.d.ts.map +1 -0
- package/dist/lib/checkout-availability.js +16 -0
- package/dist/lib/compact-array-items.d.ts +7 -0
- package/dist/lib/compact-array-items.d.ts.map +1 -0
- package/dist/lib/compact-array-items.js +13 -0
- package/dist/lib/content-selectors.d.ts +21 -0
- package/dist/lib/content-selectors.d.ts.map +1 -0
- package/dist/lib/content-selectors.js +75 -0
- package/dist/lib/countries.d.ts +13 -0
- package/dist/lib/countries.d.ts.map +1 -0
- package/dist/lib/countries.js +292 -0
- package/dist/lib/currency-symbols.d.ts +36 -0
- package/dist/lib/currency-symbols.d.ts.map +1 -0
- package/dist/lib/currency-symbols.js +153 -0
- package/dist/lib/guest-user.d.ts +27 -0
- package/dist/lib/guest-user.d.ts.map +1 -0
- package/dist/lib/guest-user.js +71 -0
- package/dist/lib/inventory-utils.d.ts +41 -0
- package/dist/lib/inventory-utils.d.ts.map +1 -0
- package/dist/lib/inventory-utils.js +180 -0
- package/dist/lib/layout-badges.d.ts +4 -0
- package/dist/lib/layout-badges.d.ts.map +1 -0
- package/dist/lib/layout-badges.js +5 -0
- package/dist/lib/layout-config-hydration.d.ts +25 -0
- package/dist/lib/layout-config-hydration.d.ts.map +1 -0
- package/dist/lib/layout-config-hydration.js +264 -0
- package/dist/lib/layout-field-normalize.d.ts +18 -0
- package/dist/lib/layout-field-normalize.d.ts.map +1 -0
- package/dist/lib/layout-field-normalize.js +190 -0
- package/dist/lib/layout-route-utils.d.ts +30 -0
- package/dist/lib/layout-route-utils.d.ts.map +1 -0
- package/dist/lib/layout-route-utils.js +79 -0
- package/dist/lib/limited-time-offer.d.ts +6 -0
- package/dist/lib/limited-time-offer.d.ts.map +1 -0
- package/dist/lib/limited-time-offer.js +24 -0
- package/dist/lib/loading-context.d.ts +20 -0
- package/dist/lib/loading-context.d.ts.map +1 -0
- package/dist/lib/loading-context.js +212 -0
- package/dist/lib/mixpanel.d.ts +11 -0
- package/dist/lib/mixpanel.d.ts.map +1 -0
- package/dist/lib/mixpanel.js +61 -0
- package/dist/lib/mock-stores.d.ts +24 -0
- package/dist/lib/mock-stores.d.ts.map +1 -0
- package/dist/lib/mock-stores.js +2106 -0
- package/dist/lib/order-success-cart.d.ts +5 -0
- package/dist/lib/order-success-cart.d.ts.map +1 -0
- package/dist/lib/order-success-cart.js +50 -0
- package/dist/lib/payaza-checkout.d.ts +147 -0
- package/dist/lib/payaza-checkout.d.ts.map +1 -0
- package/dist/lib/payaza-checkout.js +717 -0
- package/dist/lib/payaza-section-styles.d.ts +16 -0
- package/dist/lib/payaza-section-styles.d.ts.map +1 -0
- package/dist/lib/payaza-section-styles.js +93 -0
- package/dist/lib/preview-data.d.ts +58 -0
- package/dist/lib/preview-data.d.ts.map +1 -0
- package/dist/lib/preview-data.js +2576 -0
- package/dist/lib/product-variation-utils.d.ts +19 -0
- package/dist/lib/product-variation-utils.d.ts.map +1 -0
- package/dist/lib/product-variation-utils.js +185 -0
- package/dist/lib/rich-html.d.ts +38 -0
- package/dist/lib/rich-html.d.ts.map +1 -0
- package/dist/lib/rich-html.js +272 -0
- package/dist/lib/services/analytics.service.d.ts +59 -0
- package/dist/lib/services/analytics.service.d.ts.map +1 -0
- package/dist/lib/services/analytics.service.js +382 -0
- package/dist/lib/services/auth.service.d.ts +63 -0
- package/dist/lib/services/auth.service.d.ts.map +1 -0
- package/dist/lib/services/auth.service.js +101 -0
- package/dist/lib/services/booking.service.d.ts +53 -0
- package/dist/lib/services/booking.service.d.ts.map +1 -0
- package/dist/lib/services/booking.service.js +52 -0
- package/dist/lib/services/category.service.d.ts +21 -0
- package/dist/lib/services/category.service.d.ts.map +1 -0
- package/dist/lib/services/category.service.js +41 -0
- package/dist/lib/services/checkout.service.d.ts +168 -0
- package/dist/lib/services/checkout.service.d.ts.map +1 -0
- package/dist/lib/services/checkout.service.js +48 -0
- package/dist/lib/services/contact.service.d.ts +26 -0
- package/dist/lib/services/contact.service.d.ts.map +1 -0
- package/dist/lib/services/contact.service.js +23 -0
- package/dist/lib/services/customer.service.d.ts +54 -0
- package/dist/lib/services/customer.service.d.ts.map +1 -0
- package/dist/lib/services/customer.service.js +64 -0
- package/dist/lib/services/fees.service.d.ts +85 -0
- package/dist/lib/services/fees.service.d.ts.map +1 -0
- package/dist/lib/services/fees.service.js +147 -0
- package/dist/lib/services/index.d.ts +19 -0
- package/dist/lib/services/index.d.ts.map +1 -0
- package/dist/lib/services/index.js +18 -0
- package/dist/lib/services/location.service.d.ts +31 -0
- package/dist/lib/services/location.service.d.ts.map +1 -0
- package/dist/lib/services/location.service.js +25 -0
- package/dist/lib/services/order.service.d.ts +5 -0
- package/dist/lib/services/order.service.d.ts.map +1 -0
- package/dist/lib/services/order.service.js +12 -0
- package/dist/lib/services/payment.service.d.ts +56 -0
- package/dist/lib/services/payment.service.d.ts.map +1 -0
- package/dist/lib/services/payment.service.js +122 -0
- package/dist/lib/services/product.service.d.ts +92 -0
- package/dist/lib/services/product.service.d.ts.map +1 -0
- package/dist/lib/services/product.service.js +86 -0
- package/dist/lib/services/promo.service.d.ts +31 -0
- package/dist/lib/services/promo.service.d.ts.map +1 -0
- package/dist/lib/services/promo.service.js +29 -0
- package/dist/lib/services/review.service.d.ts +47 -0
- package/dist/lib/services/review.service.d.ts.map +1 -0
- package/dist/lib/services/review.service.js +54 -0
- package/dist/lib/services/service.service.d.ts +55 -0
- package/dist/lib/services/service.service.d.ts.map +1 -0
- package/dist/lib/services/service.service.js +37 -0
- package/dist/lib/services/shipping.service.d.ts +62 -0
- package/dist/lib/services/shipping.service.d.ts.map +1 -0
- package/dist/lib/services/shipping.service.js +39 -0
- package/dist/lib/services/store.service.d.ts +89 -0
- package/dist/lib/services/store.service.d.ts.map +1 -0
- package/dist/lib/services/store.service.js +41 -0
- package/dist/lib/shipping-address.util.d.ts +76 -0
- package/dist/lib/shipping-address.util.d.ts.map +1 -0
- package/dist/lib/shipping-address.util.js +149 -0
- package/dist/lib/shipping-settings.util.d.ts +4 -0
- package/dist/lib/shipping-settings.util.d.ts.map +1 -0
- package/dist/lib/shipping-settings.util.js +6 -0
- package/dist/lib/store-config-utils.d.ts +50 -0
- package/dist/lib/store-config-utils.d.ts.map +1 -0
- package/dist/lib/store-config-utils.js +1737 -0
- package/dist/lib/store-config.d.ts +4 -0
- package/dist/lib/store-config.d.ts.map +1 -0
- package/dist/lib/store-config.js +4 -0
- package/dist/lib/store-context.d.ts +69 -0
- package/dist/lib/store-context.d.ts.map +1 -0
- package/dist/lib/store-context.js +483 -0
- package/dist/lib/store-types.d.ts +921 -0
- package/dist/lib/store-types.d.ts.map +1 -0
- package/dist/lib/store-types.js +1 -0
- package/dist/lib/template-pages.d.ts +8 -0
- package/dist/lib/template-pages.d.ts.map +1 -0
- package/dist/lib/template-pages.js +62 -0
- package/dist/lib/utils/asset-helpers.d.ts +111 -0
- package/dist/lib/utils/asset-helpers.d.ts.map +1 -0
- package/dist/lib/utils/asset-helpers.js +462 -0
- package/dist/lib/utils/catalog-price-bounds.d.ts +13 -0
- package/dist/lib/utils/catalog-price-bounds.d.ts.map +1 -0
- package/dist/lib/utils/catalog-price-bounds.js +24 -0
- package/dist/lib/utils/category-tree.d.ts +25 -0
- package/dist/lib/utils/category-tree.d.ts.map +1 -0
- package/dist/lib/utils/category-tree.js +85 -0
- package/dist/lib/utils/demo-detection.d.ts +23 -0
- package/dist/lib/utils/demo-detection.d.ts.map +1 -0
- package/dist/lib/utils/demo-detection.js +36 -0
- package/dist/lib/utils/editor-preview.d.ts +42 -0
- package/dist/lib/utils/editor-preview.d.ts.map +1 -0
- package/dist/lib/utils/editor-preview.js +214 -0
- package/dist/lib/utils/fee-calculations.d.ts +35 -0
- package/dist/lib/utils/fee-calculations.d.ts.map +1 -0
- package/dist/lib/utils/fee-calculations.js +81 -0
- package/dist/lib/utils/footer-nav-defaults.d.ts +11 -0
- package/dist/lib/utils/footer-nav-defaults.d.ts.map +1 -0
- package/dist/lib/utils/footer-nav-defaults.js +67 -0
- package/dist/lib/utils/idempotency-key.d.ts +15 -0
- package/dist/lib/utils/idempotency-key.d.ts.map +1 -0
- package/dist/lib/utils/idempotency-key.js +22 -0
- package/dist/lib/utils/index.d.ts +45 -0
- package/dist/lib/utils/index.d.ts.map +1 -0
- package/dist/lib/utils/index.js +197 -0
- package/dist/lib/utils/mobile-editor.d.ts +13 -0
- package/dist/lib/utils/mobile-editor.d.ts.map +1 -0
- package/dist/lib/utils/mobile-editor.js +34 -0
- package/dist/lib/utils/phone-format.d.ts +6 -0
- package/dist/lib/utils/phone-format.d.ts.map +1 -0
- package/dist/lib/utils/phone-format.js +17 -0
- package/dist/lib/utils/product-catalog.d.ts +11 -0
- package/dist/lib/utils/product-catalog.d.ts.map +1 -0
- package/dist/lib/utils/product-catalog.js +40 -0
- package/dist/lib/utils/product-images.d.ts +20 -0
- package/dist/lib/utils/product-images.d.ts.map +1 -0
- package/dist/lib/utils/product-images.js +31 -0
- package/dist/lib/utils/product-share.d.ts +17 -0
- package/dist/lib/utils/product-share.d.ts.map +1 -0
- package/dist/lib/utils/product-share.js +48 -0
- package/dist/lib/utils/scroll-to-top.util.d.ts +9 -0
- package/dist/lib/utils/scroll-to-top.util.d.ts.map +1 -0
- package/dist/lib/utils/scroll-to-top.util.js +18 -0
- package/dist/lib/utils/url-helpers.d.ts +30 -0
- package/dist/lib/utils/url-helpers.d.ts.map +1 -0
- package/dist/lib/utils/url-helpers.js +61 -0
- package/dist/lib/utils/video-helpers.d.ts +32 -0
- package/dist/lib/utils/video-helpers.d.ts.map +1 -0
- package/dist/lib/utils/video-helpers.js +210 -0
- package/dist/preview/LayoutPreview.d.ts +14 -0
- package/dist/preview/LayoutPreview.d.ts.map +1 -0
- package/dist/preview/LayoutPreview.js +122 -0
- package/dist/preview/PreviewRouter.d.ts +9 -0
- package/dist/preview/PreviewRouter.d.ts.map +1 -0
- package/dist/preview/PreviewRouter.js +332 -0
- package/dist/preview/ShadowDOMWrapper.d.ts +18 -0
- package/dist/preview/ShadowDOMWrapper.d.ts.map +1 -0
- package/dist/preview/ShadowDOMWrapper.js +80 -0
- package/dist/preview/canvas/PreviewBlockToolbar.d.ts +23 -0
- package/dist/preview/canvas/PreviewBlockToolbar.d.ts.map +1 -0
- package/dist/preview/canvas/PreviewBlockToolbar.js +113 -0
- package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts +17 -0
- package/dist/preview/canvas/PreviewCanvasEnhancer.d.ts.map +1 -0
- package/dist/preview/canvas/PreviewCanvasEnhancer.js +741 -0
- package/dist/preview/canvas/PreviewCanvasStyles.d.ts +4 -0
- package/dist/preview/canvas/PreviewCanvasStyles.d.ts.map +1 -0
- package/dist/preview/canvas/PreviewCanvasStyles.js +51 -0
- package/dist/preview/canvas/extract-editable-plain-text.d.ts +11 -0
- package/dist/preview/canvas/extract-editable-plain-text.d.ts.map +1 -0
- package/dist/preview/canvas/extract-editable-plain-text.js +65 -0
- package/dist/preview/canvas/field-key.d.ts +34 -0
- package/dist/preview/canvas/field-key.d.ts.map +1 -0
- package/dist/preview/canvas/field-key.js +62 -0
- package/dist/preview/canvas/preview-editable-commit.util.d.ts +3 -0
- package/dist/preview/canvas/preview-editable-commit.util.d.ts.map +1 -0
- package/dist/preview/canvas/preview-editable-commit.util.js +11 -0
- package/dist/preview/canvas/preview-flush-await.d.ts +6 -0
- package/dist/preview/canvas/preview-flush-await.d.ts.map +1 -0
- package/dist/preview/canvas/preview-flush-await.js +23 -0
- package/dist/preview/canvas/preview-flush-handle.d.ts +13 -0
- package/dist/preview/canvas/preview-flush-handle.d.ts.map +1 -0
- package/dist/preview/canvas/preview-flush-handle.js +3 -0
- package/dist/preview/canvas/preview-isolation.d.ts +9 -0
- package/dist/preview/canvas/preview-isolation.d.ts.map +1 -0
- package/dist/preview/canvas/preview-isolation.js +10 -0
- package/dist/preview/canvas/preview-messages.d.ts +65 -0
- package/dist/preview/canvas/preview-messages.d.ts.map +1 -0
- package/dist/preview/canvas/preview-messages.js +17 -0
- package/dist/preview/canvas/preview-route.d.ts +4 -0
- package/dist/preview/canvas/preview-route.d.ts.map +1 -0
- package/dist/preview/canvas/preview-route.js +76 -0
- package/dist/preview/index.d.ts +13 -0
- package/dist/preview/index.d.ts.map +1 -0
- package/dist/preview/index.js +12 -0
- package/dist/preview/route-audit.d.ts +17 -0
- package/dist/preview/route-audit.d.ts.map +1 -0
- package/dist/preview/route-audit.js +54 -0
- package/dist/styles/index.css +10602 -0
- package/dist/utils/date.d.ts +20 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/date.js +47 -0
- package/package.json +199 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo, Suspense } from 'react';
|
|
4
|
+
import { isBookingAgendaStoreRoot } from '../lib/layout-route-utils.js';
|
|
5
|
+
import { useStore } from '../lib/store-context.js';
|
|
6
|
+
import dynamic from 'next/dynamic';
|
|
7
|
+
import { BaseStoreLayout } from '../layouts/shared/components/BaseStoreLayout.js';
|
|
8
|
+
import { normalizePreviewSegment } from './route-audit.js';
|
|
9
|
+
const dynamicPage = (importFn) => dynamic(importFn, {
|
|
10
|
+
loading: () => (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-gray-50/50 backdrop-blur-sm", children: _jsxs("div", { className: "flex flex-col items-center gap-4", children: [_jsx("div", { className: "w-10 h-10 border-4 border-blue-600/20 border-t-blue-600 rounded-full animate-spin" }), _jsx("p", { className: "text-sm font-medium text-gray-500 animate-pulse", children: "Loading experience..." })] }) })),
|
|
11
|
+
ssr: false,
|
|
12
|
+
});
|
|
13
|
+
const PAGES = {
|
|
14
|
+
CartPage: dynamicPage(() => import('../index').then((mod) => mod.CartPage)),
|
|
15
|
+
WishlistPage: dynamicPage(() => import('../index').then((mod) => mod.WishlistPage)),
|
|
16
|
+
CheckoutPage: dynamicPage(() => import('../index').then((mod) => mod.CheckoutPage)),
|
|
17
|
+
AccountPage: dynamicPage(() => import('../index').then((mod) => mod.AccountPage)),
|
|
18
|
+
TeamPage: dynamicPage(() => import('../index').then((mod) => mod.TeamPage)),
|
|
19
|
+
PortfolioPage: dynamicPage(() => import('../index').then((mod) => mod.PortfolioPage)),
|
|
20
|
+
HelpCenterPage: dynamicPage(() => import('../index').then((mod) => mod.HelpCenterPage)),
|
|
21
|
+
ShippingReturnsPage: dynamicPage(() => import('../index').then((mod) => mod.ShippingReturnsPage)),
|
|
22
|
+
TrackOrderPage: dynamicPage(() => import('../index').then((mod) => mod.TrackOrderPage)),
|
|
23
|
+
TermsPage: dynamicPage(() => import('../index').then((mod) => mod.TermsPage)),
|
|
24
|
+
PrivacyPolicyPage: dynamicPage(() => import('../index').then((mod) => mod.PrivacyPolicyPage)),
|
|
25
|
+
CookiePolicyPage: dynamicPage(() => import('../index').then((mod) => mod.CookiePolicyPage)),
|
|
26
|
+
SizeGuidePage: dynamicPage(() => import('../index').then((mod) => mod.SizeGuidePage)),
|
|
27
|
+
StyleGuidePage: dynamicPage(() => import('../index').then((mod) => mod.StyleGuidePage)),
|
|
28
|
+
FeatureDisabledPage: dynamicPage(() => import('../index').then((mod) => mod.FeatureDisabledPage)),
|
|
29
|
+
GenericPageWrapper: dynamicPage(() => import('../index').then((mod) => mod.GenericPageWrapper)),
|
|
30
|
+
ElectronicsCategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsCategoriesPage)),
|
|
31
|
+
ElectronicsPageWrapper: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsPageWrapper)),
|
|
32
|
+
/** Full electronics storefront listing (matches storefront-app /products for layout `electronics`). */
|
|
33
|
+
ElectronicsProductsListing: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsProductsPage)),
|
|
34
|
+
ElectronicsGridProductsPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridProductsListingPage)),
|
|
35
|
+
ElectronicsGridCategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridCategoriesListingPage)),
|
|
36
|
+
ServiceDetailPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalServiceDetailPage)),
|
|
37
|
+
SubscriptionPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalSubscriptionPage)),
|
|
38
|
+
MotivationalPageWrapper: dynamicPage(() => import('../index').then((mod) => mod.MotivationalPageWrapper)),
|
|
39
|
+
};
|
|
40
|
+
const LAYOUT_PAGE_MAP = {
|
|
41
|
+
food: {
|
|
42
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.FoodHomePage)),
|
|
43
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.FoodProductsPage)),
|
|
44
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.FoodProductDetailPage)),
|
|
45
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.FoodCategoryPage)),
|
|
46
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.FoodCategoriesPage)),
|
|
47
|
+
MenuPage: dynamicPage(() => import('../index').then((mod) => mod.FoodMenuPage)),
|
|
48
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.FoodAboutPage)),
|
|
49
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.FoodContactPage)),
|
|
50
|
+
},
|
|
51
|
+
'food-modern': {
|
|
52
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.FoodHomePageModern)),
|
|
53
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernProductsPage)),
|
|
54
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernProductDetailPage)),
|
|
55
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernCategoryPage)),
|
|
56
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernCategoriesPage)),
|
|
57
|
+
MenuPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernMenuPage)),
|
|
58
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernAboutPage)),
|
|
59
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.FoodModernContactPage)),
|
|
60
|
+
},
|
|
61
|
+
clothing: {
|
|
62
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.ClothingHomePage)),
|
|
63
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingProductsPage)),
|
|
64
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingProductDetailPage)),
|
|
65
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingCategoryPage)),
|
|
66
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingCategoriesPage)),
|
|
67
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingAboutPage)),
|
|
68
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingContactPage)),
|
|
69
|
+
},
|
|
70
|
+
'clothing-minimal': {
|
|
71
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.ClothingHomePageMinimal)),
|
|
72
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalProductsPage)),
|
|
73
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalProductDetailPage)),
|
|
74
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalCategoryPage)),
|
|
75
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalCategoriesPage)),
|
|
76
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalAboutPage)),
|
|
77
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.ClothingMinimalContactPage)),
|
|
78
|
+
},
|
|
79
|
+
booking: {
|
|
80
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.BookingHomePage)),
|
|
81
|
+
BookPage: dynamicPage(() => import('../index').then((mod) => mod.BookingBookPage)),
|
|
82
|
+
ServicesPage: dynamicPage(() => import('../index').then((mod) => mod.BookingServicesPage)),
|
|
83
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.BookingProductDetailPage)),
|
|
84
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.BookingCategoryPage)),
|
|
85
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.BookingCategoriesPage)),
|
|
86
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAboutPage)),
|
|
87
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.BookingContactPage)),
|
|
88
|
+
},
|
|
89
|
+
'booking-agenda': {
|
|
90
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.BookingHomePageAgenda)),
|
|
91
|
+
BookPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaBookPage)),
|
|
92
|
+
ServicesPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaServicesPage)),
|
|
93
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaProductDetailPage)),
|
|
94
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaCategoryPage)),
|
|
95
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaCategoriesPage)),
|
|
96
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaAboutPage)),
|
|
97
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.BookingAgendaContactPage)),
|
|
98
|
+
},
|
|
99
|
+
electronics: {
|
|
100
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsHomePage)),
|
|
101
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsProductsListingPage)),
|
|
102
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsProductDetailPage)),
|
|
103
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsCategoryPage)),
|
|
104
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsCategoriesListingPage)),
|
|
105
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsAboutPage)),
|
|
106
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsContactPage)),
|
|
107
|
+
},
|
|
108
|
+
'electronics-grid': {
|
|
109
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsHomePageGrid)),
|
|
110
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridProductsListingPage)),
|
|
111
|
+
ProductDetailPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridProductDetailPage)),
|
|
112
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridCategoryPage)),
|
|
113
|
+
CategoriesPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridCategoriesListingPage)),
|
|
114
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridAboutPage)),
|
|
115
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.ElectronicsGridContactPage)),
|
|
116
|
+
},
|
|
117
|
+
'motivational-speaker': {
|
|
118
|
+
HomePage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalHomePage)),
|
|
119
|
+
ProductsPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalProductsPage)),
|
|
120
|
+
CategoryPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalCategoryPage)),
|
|
121
|
+
ServicesPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalServicesPage)),
|
|
122
|
+
AboutPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalAboutPage)),
|
|
123
|
+
ContactPage: dynamicPage(() => import('../index').then((mod) => mod.MotivationalContactPage)),
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
export function PreviewRouter({ storeConfig: initialStoreConfig, route, onNavigate }) {
|
|
127
|
+
const { store } = useStore();
|
|
128
|
+
const storeConfig = store || initialStoreConfig;
|
|
129
|
+
const pageFeatures = storeConfig.pageFeatures || {};
|
|
130
|
+
const path = route.startsWith('/') ? route : `/${route}`;
|
|
131
|
+
const rawSegments = path.split('/').filter(Boolean);
|
|
132
|
+
const firstRaw = rawSegments[0];
|
|
133
|
+
const secondSegment = rawSegments[1];
|
|
134
|
+
const thirdSegment = rawSegments[2];
|
|
135
|
+
const firstSegment = firstRaw ? normalizePreviewSegment(firstRaw) : '';
|
|
136
|
+
const layoutType = storeConfig.layout;
|
|
137
|
+
const isElectronicsLayout = layoutType === 'electronics';
|
|
138
|
+
const isElectronicsGridLayout = layoutType === 'electronics-grid';
|
|
139
|
+
const isAnyElectronics = isElectronicsLayout || isElectronicsGridLayout;
|
|
140
|
+
const isMotivational = layoutType === 'motivational-speaker';
|
|
141
|
+
const layoutPages = useMemo(() => {
|
|
142
|
+
return LAYOUT_PAGE_MAP[layoutType] || LAYOUT_PAGE_MAP.food;
|
|
143
|
+
}, [layoutType]);
|
|
144
|
+
const renderPage = (Component, props = {}, { withLayout = true } = {}) => (_jsx(Suspense, { fallback: null, children: withLayout ? (_jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(Component, { ...props, storeConfig: storeConfig }) })) : (_jsx(Component, { ...props, storeConfig: storeConfig })) }));
|
|
145
|
+
const ElectronicsWrapper = PAGES.ElectronicsPageWrapper;
|
|
146
|
+
const MotivationalWrapper = PAGES.MotivationalPageWrapper;
|
|
147
|
+
const wrapElectronicsOuter = (InnerComponent, childProps = {}) => (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(ElectronicsWrapper, { storeConfig: storeConfig, children: _jsx(InnerComponent, { storeConfig: storeConfig, ...childProps }) }) }) }));
|
|
148
|
+
const wrapMotivational = (InnerComponent, childProps = {}) => (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(MotivationalWrapper, { storeConfig: storeConfig, children: _jsx(InnerComponent, { storeConfig: storeConfig, ...childProps }) }) }) }));
|
|
149
|
+
if (!firstSegment || path === '/') {
|
|
150
|
+
const skipWrapper = layoutType === 'booking-agenda' && isBookingAgendaStoreRoot(route, storeConfig);
|
|
151
|
+
return renderPage(layoutPages.HomePage, {}, { withLayout: !skipWrapper });
|
|
152
|
+
}
|
|
153
|
+
if (firstSegment === 'account' && secondSegment === 'certificates' && thirdSegment && isMotivational) {
|
|
154
|
+
return (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-gray-50", children: _jsxs("div", { className: "text-center p-8 bg-white rounded-2xl shadow-sm border border-gray-100 max-w-sm mx-auto", children: [_jsx("div", { className: "w-16 h-16 bg-blue-50 text-blue-600 rounded-full flex items-center justify-center mx-auto mb-4 text-2xl font-bold", children: "C" }), _jsx("p", { className: "text-lg font-semibold text-gray-900", children: "Certificate Viewer" }), _jsxs("p", { className: "text-sm text-gray-500 mt-1 mb-6", children: ["Certificate ID: ", thirdSegment] }), _jsx("button", { type: "button", onClick: () => onNavigate?.('/account'), className: "text-sm font-medium text-blue-600 hover:text-blue-700 underline", children: "Back to Account" })] }) }));
|
|
155
|
+
}
|
|
156
|
+
if (firstSegment === 'products' && !secondSegment) {
|
|
157
|
+
if (isElectronicsGridLayout) {
|
|
158
|
+
return renderPage(PAGES.ElectronicsGridProductsPage);
|
|
159
|
+
}
|
|
160
|
+
if (isElectronicsLayout) {
|
|
161
|
+
return renderPage(PAGES.ElectronicsProductsListing);
|
|
162
|
+
}
|
|
163
|
+
return renderPage(layoutPages.ProductsPage);
|
|
164
|
+
}
|
|
165
|
+
if (firstSegment === 'products' && secondSegment) {
|
|
166
|
+
return renderPage(layoutPages.ProductDetailPage, { productSlug: secondSegment });
|
|
167
|
+
}
|
|
168
|
+
if (firstSegment === 'categories' && !secondSegment) {
|
|
169
|
+
if (isElectronicsGridLayout) {
|
|
170
|
+
return renderPage(PAGES.ElectronicsGridCategoriesPage);
|
|
171
|
+
}
|
|
172
|
+
if (isElectronicsLayout) {
|
|
173
|
+
return renderPage(PAGES.ElectronicsCategoriesPage);
|
|
174
|
+
}
|
|
175
|
+
return renderPage(layoutPages.CategoriesPage);
|
|
176
|
+
}
|
|
177
|
+
if (firstSegment === 'categories' && secondSegment) {
|
|
178
|
+
const CategoryPage = layoutPages.CategoryPage;
|
|
179
|
+
if (isAnyElectronics) {
|
|
180
|
+
return wrapElectronicsOuter(CategoryPage, { categorySlug: secondSegment });
|
|
181
|
+
}
|
|
182
|
+
return renderPage(CategoryPage, { categorySlug: secondSegment });
|
|
183
|
+
}
|
|
184
|
+
if (firstSegment === 'menu') {
|
|
185
|
+
return renderPage(layoutPages.MenuPage, { categorySlug: secondSegment });
|
|
186
|
+
}
|
|
187
|
+
if (firstSegment === 'team') {
|
|
188
|
+
if (pageFeatures.teamPage === true) {
|
|
189
|
+
return renderPage(PAGES.TeamPage);
|
|
190
|
+
}
|
|
191
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
192
|
+
featureName: 'Team Page',
|
|
193
|
+
featureDescription: 'The team page is not enabled for this store. Enable it in store settings to show this page.',
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
if (firstSegment === 'portfolio') {
|
|
197
|
+
if (pageFeatures.portfolioPage === true) {
|
|
198
|
+
return renderPage(PAGES.PortfolioPage);
|
|
199
|
+
}
|
|
200
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
201
|
+
featureName: 'Portfolio Page',
|
|
202
|
+
featureDescription: 'The portfolio page is not enabled for this store. Enable it in store settings to show this page.',
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
if (firstSegment === 'help-center') {
|
|
206
|
+
if (pageFeatures.helpCenterPage === false) {
|
|
207
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
208
|
+
featureName: 'Help Center',
|
|
209
|
+
featureDescription: 'The help center is disabled for this store.',
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
if (isAnyElectronics) {
|
|
213
|
+
return wrapElectronicsOuter(PAGES.HelpCenterPage);
|
|
214
|
+
}
|
|
215
|
+
return renderPage(PAGES.HelpCenterPage);
|
|
216
|
+
}
|
|
217
|
+
if (firstSegment === 'shipping-returns') {
|
|
218
|
+
if (pageFeatures.shippingReturnsPage === false) {
|
|
219
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
220
|
+
featureName: 'Shipping & Returns',
|
|
221
|
+
featureDescription: 'This page is disabled for this store.',
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
if (isAnyElectronics) {
|
|
225
|
+
return wrapElectronicsOuter(PAGES.ShippingReturnsPage);
|
|
226
|
+
}
|
|
227
|
+
return renderPage(PAGES.ShippingReturnsPage);
|
|
228
|
+
}
|
|
229
|
+
if (firstSegment === 'track-order') {
|
|
230
|
+
if (pageFeatures.trackOrderPage === false) {
|
|
231
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
232
|
+
featureName: 'Track Order',
|
|
233
|
+
featureDescription: 'Order tracking is disabled for this store.',
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
if (isAnyElectronics) {
|
|
237
|
+
return wrapElectronicsOuter(PAGES.TrackOrderPage);
|
|
238
|
+
}
|
|
239
|
+
return renderPage(PAGES.TrackOrderPage);
|
|
240
|
+
}
|
|
241
|
+
if (firstSegment === 'about') {
|
|
242
|
+
if (pageFeatures.aboutPage === false) {
|
|
243
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
244
|
+
featureName: 'About',
|
|
245
|
+
featureDescription: 'The about page is disabled for this store.',
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
const AboutPage = layoutPages.AboutPage;
|
|
249
|
+
const GW = PAGES.GenericPageWrapper;
|
|
250
|
+
if (!AboutPage) {
|
|
251
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(GW, { storeConfig: storeConfig, children: null }) }) }));
|
|
252
|
+
}
|
|
253
|
+
if (isAnyElectronics) {
|
|
254
|
+
return wrapElectronicsOuter(AboutPage);
|
|
255
|
+
}
|
|
256
|
+
if (isMotivational) {
|
|
257
|
+
return wrapMotivational(AboutPage);
|
|
258
|
+
}
|
|
259
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(GW, { storeConfig: storeConfig, children: _jsx(AboutPage, { storeConfig: storeConfig }) }) }) }));
|
|
260
|
+
}
|
|
261
|
+
if (firstSegment === 'contact') {
|
|
262
|
+
if (pageFeatures.contactPage === false) {
|
|
263
|
+
return renderPage(PAGES.FeatureDisabledPage, {
|
|
264
|
+
featureName: 'Contact',
|
|
265
|
+
featureDescription: 'The contact page is disabled for this store.',
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
const ContactPage = layoutPages.ContactPage;
|
|
269
|
+
const GW = PAGES.GenericPageWrapper;
|
|
270
|
+
if (!ContactPage) {
|
|
271
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(GW, { storeConfig: storeConfig, children: null }) }) }));
|
|
272
|
+
}
|
|
273
|
+
if (isAnyElectronics) {
|
|
274
|
+
return wrapElectronicsOuter(ContactPage);
|
|
275
|
+
}
|
|
276
|
+
if (isMotivational) {
|
|
277
|
+
return wrapMotivational(ContactPage);
|
|
278
|
+
}
|
|
279
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(GW, { storeConfig: storeConfig, children: _jsx(ContactPage, { storeConfig: storeConfig }) }) }) }));
|
|
280
|
+
}
|
|
281
|
+
const COMMON_PAGE_MAP = {
|
|
282
|
+
cart: PAGES.CartPage,
|
|
283
|
+
wishlist: PAGES.WishlistPage,
|
|
284
|
+
checkout: PAGES.CheckoutPage,
|
|
285
|
+
account: PAGES.AccountPage,
|
|
286
|
+
team: PAGES.TeamPage,
|
|
287
|
+
portfolio: PAGES.PortfolioPage,
|
|
288
|
+
'help-center': PAGES.HelpCenterPage,
|
|
289
|
+
'shipping-returns': PAGES.ShippingReturnsPage,
|
|
290
|
+
'track-order': PAGES.TrackOrderPage,
|
|
291
|
+
terms: PAGES.TermsPage,
|
|
292
|
+
privacy: PAGES.PrivacyPolicyPage,
|
|
293
|
+
'cookie-policy': PAGES.CookiePolicyPage,
|
|
294
|
+
'size-guide': PAGES.SizeGuidePage,
|
|
295
|
+
'style-guide': PAGES.StyleGuidePage,
|
|
296
|
+
};
|
|
297
|
+
if (firstSegment in COMMON_PAGE_MAP) {
|
|
298
|
+
const Component = COMMON_PAGE_MAP[firstSegment];
|
|
299
|
+
if (['cart', 'wishlist', 'checkout', 'account', 'terms', 'privacy', 'cookie-policy', 'size-guide', 'style-guide'].includes(firstSegment)) {
|
|
300
|
+
if (isAnyElectronics) {
|
|
301
|
+
return wrapElectronicsOuter(Component);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
return renderPage(Component);
|
|
305
|
+
}
|
|
306
|
+
if (firstSegment === 'book' && layoutPages.BookPage) {
|
|
307
|
+
return renderPage(layoutPages.BookPage, { serviceSlug: secondSegment });
|
|
308
|
+
}
|
|
309
|
+
if (firstSegment === 'services' && storeConfig.pageFeatures?.servicesPage !== false) {
|
|
310
|
+
if (isMotivational && secondSegment) {
|
|
311
|
+
return wrapMotivational(PAGES.ServiceDetailPage, { serviceSlug: secondSegment });
|
|
312
|
+
}
|
|
313
|
+
if (layoutPages.ServicesPage) {
|
|
314
|
+
return renderPage(layoutPages.ServicesPage);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
if (firstSegment === 'mentorship' && isMotivational && layoutPages.ServicesPage) {
|
|
318
|
+
return renderPage(layoutPages.ServicesPage, {
|
|
319
|
+
initialCategory: 'mentorship',
|
|
320
|
+
titleOverride: 'Premium Mentorship',
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
if (firstSegment === 'subscription' && isMotivational) {
|
|
324
|
+
return wrapMotivational(PAGES.SubscriptionPage);
|
|
325
|
+
}
|
|
326
|
+
if (firstSegment === 'order' && secondSegment === 'success') {
|
|
327
|
+
const primaryColor = storeConfig.branding.primaryColor;
|
|
328
|
+
const GW = PAGES.GenericPageWrapper;
|
|
329
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(BaseStoreLayout, { storeConfig: storeConfig, children: _jsx(GW, { storeConfig: storeConfig, children: _jsx("div", { className: "min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8", children: _jsx("div", { className: "max-w-md w-full space-y-8 bg-white p-8 rounded-2xl shadow-sm border border-gray-100", children: _jsxs("div", { className: "text-center", children: [_jsx("div", { className: "mx-auto h-16 w-16 mb-4 rounded-full flex items-center justify-center", style: { backgroundColor: `${primaryColor}20`, color: primaryColor }, children: _jsx("svg", { className: "h-8 w-8", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }) }), _jsx("h2", { className: "text-2xl font-bold text-gray-900 mb-2", children: "Order Confirmed!" }), _jsx("p", { className: "text-gray-600 mb-8", children: "Thank you for your purchase. Your order has been received." }), _jsxs("div", { className: "space-y-3", children: [_jsx("button", { type: "button", onClick: () => onNavigate?.('/'), className: "w-full px-4 py-2.5 rounded-xl text-white font-semibold transition-opacity hover:opacity-90", style: { backgroundColor: primaryColor }, children: "Continue Shopping" }), _jsx("button", { type: "button", onClick: () => onNavigate?.('/account'), className: "w-full px-4 py-2.5 rounded-xl border border-gray-200 text-gray-700 font-semibold hover:bg-gray-50 transition-colors", children: "View Order Details" })] })] }) }) }) }) }) }));
|
|
330
|
+
}
|
|
331
|
+
return (_jsx("div", { className: "min-h-screen flex items-center justify-center bg-gray-50", children: _jsxs("div", { className: "text-center p-12 bg-white rounded-3xl shadow-sm border border-gray-100 max-w-sm mx-auto", children: [_jsx("div", { className: "w-20 h-20 bg-orange-50 text-orange-500 rounded-full flex items-center justify-center mx-auto mb-6 text-3xl font-black", children: "!" }), _jsx("h3", { className: "text-xl font-bold text-gray-900 mb-2", children: "Page not found" }), _jsx("p", { className: "text-sm text-gray-500 mb-8 leading-relaxed", children: "The page you're looking for doesn't exist in this preview experience." }), _jsx("button", { type: "button", onClick: () => onNavigate?.('/'), className: "px-8 py-3 bg-gray-900 text-white rounded-2xl font-bold text-sm hover:bg-black transition-colors", children: "Return Home" })] }) }));
|
|
332
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface ShadowDOMWrapperProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
onReady?: () => void;
|
|
6
|
+
onLinkClick?: (href: string) => void;
|
|
7
|
+
storeSlug?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ShadowDOMWrapper Component
|
|
11
|
+
*
|
|
12
|
+
* Wraps children in a Shadow DOM for complete style and DOM isolation using React Portals.
|
|
13
|
+
* This ensures that React Contexts (like Router, Theme, Auth) are preserved from the parent tree,
|
|
14
|
+
* while styles remain encapsulated.
|
|
15
|
+
*/
|
|
16
|
+
export declare function ShadowDOMWrapper({ children, className, onReady, onLinkClick, storeSlug }: ShadowDOMWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=ShadowDOMWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShadowDOMWrapper.d.ts","sourceRoot":"","sources":["../../src/preview/ShadowDOMWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAG/D,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,qBAAqB,2CA2F/G"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { createPortal } from 'react-dom';
|
|
5
|
+
/**
|
|
6
|
+
* ShadowDOMWrapper Component
|
|
7
|
+
*
|
|
8
|
+
* Wraps children in a Shadow DOM for complete style and DOM isolation using React Portals.
|
|
9
|
+
* This ensures that React Contexts (like Router, Theme, Auth) are preserved from the parent tree,
|
|
10
|
+
* while styles remain encapsulated.
|
|
11
|
+
*/
|
|
12
|
+
export function ShadowDOMWrapper({ children, className, onReady, onLinkClick, storeSlug }) {
|
|
13
|
+
const hostRef = useRef(null);
|
|
14
|
+
const [shadowRoot, setShadowRoot] = useState(null);
|
|
15
|
+
// Initialize Shadow Root on mount
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
if (hostRef.current && !shadowRoot) {
|
|
18
|
+
// Create shadow root if it doesn't exist
|
|
19
|
+
const root = hostRef.current.attachShadow({ mode: 'open' });
|
|
20
|
+
setShadowRoot(root);
|
|
21
|
+
onReady?.();
|
|
22
|
+
}
|
|
23
|
+
}, [onReady, shadowRoot]);
|
|
24
|
+
// Handle link clicks via React Event Capture
|
|
25
|
+
// Capturing allows us to intercept the click BEFORE internal Link components handle it
|
|
26
|
+
const handleLinkClickCapture = (e) => {
|
|
27
|
+
if (!onLinkClick)
|
|
28
|
+
return;
|
|
29
|
+
// Find closest anchor tag
|
|
30
|
+
const target = e.target;
|
|
31
|
+
const link = target.closest('a');
|
|
32
|
+
if (!link || !link.href)
|
|
33
|
+
return;
|
|
34
|
+
try {
|
|
35
|
+
const url = new URL(link.href, window.location.origin);
|
|
36
|
+
const pathname = url.pathname;
|
|
37
|
+
// Only intercept internal links
|
|
38
|
+
if (url.origin !== window.location.origin) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
// Extract route logic
|
|
42
|
+
let route = pathname;
|
|
43
|
+
// Check if pathname starts with store slug (e.g., /modern-eats/contact)
|
|
44
|
+
if (storeSlug && pathname.startsWith(`/${storeSlug}`)) {
|
|
45
|
+
route = pathname.slice(storeSlug.length + 1);
|
|
46
|
+
if (!route || route === '') {
|
|
47
|
+
route = '/';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
else if (pathname === '/' || pathname === '') {
|
|
51
|
+
route = '/';
|
|
52
|
+
}
|
|
53
|
+
// Normalize route
|
|
54
|
+
if (route && !route.startsWith('/')) {
|
|
55
|
+
route = `/${route}`;
|
|
56
|
+
}
|
|
57
|
+
if (!route)
|
|
58
|
+
route = '/';
|
|
59
|
+
// Intercept navigation
|
|
60
|
+
e.preventDefault();
|
|
61
|
+
e.stopPropagation();
|
|
62
|
+
onLinkClick(route);
|
|
63
|
+
}
|
|
64
|
+
catch (err) {
|
|
65
|
+
console.warn('[ShadowDOMWrapper] Failed to parse link URL:', err);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
return (_jsx("div", { ref: hostRef, className: className, style: { width: '100%', minHeight: '100%' }, children: shadowRoot && createPortal(_jsxs(_Fragment, { children: [_jsx("style", { children: `
|
|
69
|
+
* {
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
margin: 0;
|
|
72
|
+
padding: 0;
|
|
73
|
+
}
|
|
74
|
+
#shadow-preview-container {
|
|
75
|
+
width: 100%;
|
|
76
|
+
min-height: 100%;
|
|
77
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
78
|
+
}
|
|
79
|
+
` }), _jsx("div", { id: "shadow-preview-container", onClickCapture: handleLinkClickCapture, children: children })] }), shadowRoot) }));
|
|
80
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type BlockToolbarMode = 'text' | 'image' | 'section' | 'group';
|
|
3
|
+
export interface PreviewBlockToolbarProps {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
mode: BlockToolbarMode;
|
|
6
|
+
anchorRect: DOMRect | null;
|
|
7
|
+
/** Rich field selected (HTML commit path) */
|
|
8
|
+
richField?: boolean;
|
|
9
|
+
/** Active contenteditable session */
|
|
10
|
+
richEditingActive?: boolean;
|
|
11
|
+
onBold?: () => void;
|
|
12
|
+
onItalic?: () => void;
|
|
13
|
+
onUnderline?: () => void;
|
|
14
|
+
/** Called with the URL the user confirmed, and the Range saved before the input stole focus */
|
|
15
|
+
onLinkApply?: (url: string, savedRange: Range | null) => void;
|
|
16
|
+
onUnlink?: () => void;
|
|
17
|
+
onBullets?: () => void;
|
|
18
|
+
onOrderedList?: () => void;
|
|
19
|
+
onClearFormatting?: () => void;
|
|
20
|
+
onReplaceImage?: () => void;
|
|
21
|
+
}
|
|
22
|
+
export declare function PreviewBlockToolbar({ visible, mode, anchorRect, richField, richEditingActive, onBold, onItalic, onUnderline, onLinkApply, onUnlink, onBullets, onOrderedList, onClearFormatting, onReplaceImage, }: PreviewBlockToolbarProps): React.ReactPortal;
|
|
23
|
+
//# sourceMappingURL=PreviewBlockToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewBlockToolbar.d.ts","sourceRoot":"","sources":["../../../src/preview/canvas/PreviewBlockToolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAkB3D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEtE,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,gBAAgB,CAAC;IACvB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,+FAA+F;IAC/F,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAwCD,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,IAAI,EACJ,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,WAAW,EACX,WAAW,EACX,QAAQ,EACR,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,qBAqN1B"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from 'react';
|
|
4
|
+
import { createPortal } from 'react-dom';
|
|
5
|
+
import { AlignLeft, Bold, Image as ImageIcon, Layers, Link2, List, ListOrdered, RemoveFormatting, Type, Underline, Upload, X, } from 'lucide-react';
|
|
6
|
+
/* ─── tiny helpers ─────────────────────────────────────────────────────────── */
|
|
7
|
+
function Sep() {
|
|
8
|
+
return _jsx("span", { className: "inline-block h-5 w-px shrink-0 bg-[#dcdcde]", "aria-hidden": true });
|
|
9
|
+
}
|
|
10
|
+
function Btn({ title, onClick, disabled = false, children, }) {
|
|
11
|
+
return (_jsx("button", { type: "button", className: [
|
|
12
|
+
'flex h-8 w-8 shrink-0 items-center justify-center rounded transition-colors',
|
|
13
|
+
disabled
|
|
14
|
+
? 'cursor-not-allowed text-[#c3c4c7]'
|
|
15
|
+
: 'text-[#1d2327] hover:bg-[#f0f0f1] hover:text-[#1b0029]',
|
|
16
|
+
].join(' '), disabled: disabled, title: title, "aria-label": title, onClick: disabled ? undefined : onClick, children: children }));
|
|
17
|
+
}
|
|
18
|
+
/* ─── component ────────────────────────────────────────────────────────────── */
|
|
19
|
+
export function PreviewBlockToolbar({ visible, mode, anchorRect, richField, richEditingActive, onBold, onItalic, onUnderline, onLinkApply, onUnlink, onBullets, onOrderedList, onClearFormatting, onReplaceImage, }) {
|
|
20
|
+
const [showLinkInput, setShowLinkInput] = useState(false);
|
|
21
|
+
const [linkUrl, setLinkUrl] = useState('');
|
|
22
|
+
const savedRangeRef = useRef(null);
|
|
23
|
+
const linkInputRef = useRef(null);
|
|
24
|
+
// Focus the link input once it appears
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
if (showLinkInput)
|
|
27
|
+
linkInputRef.current?.focus();
|
|
28
|
+
}, [showLinkInput]);
|
|
29
|
+
// Close link input on Escape
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (!showLinkInput)
|
|
32
|
+
return;
|
|
33
|
+
const onKey = (e) => {
|
|
34
|
+
if (e.key === 'Escape') {
|
|
35
|
+
setShowLinkInput(false);
|
|
36
|
+
setLinkUrl('');
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
window.addEventListener('keydown', onKey);
|
|
40
|
+
return () => window.removeEventListener('keydown', onKey);
|
|
41
|
+
}, [showLinkInput]);
|
|
42
|
+
if (typeof document === 'undefined' || !visible || !anchorRect)
|
|
43
|
+
return null;
|
|
44
|
+
/* ── positioning ──────────────────────────────────────────────────────────
|
|
45
|
+
Anchored to the element's top-left edge (matching the screenshot).
|
|
46
|
+
Falls back to below the element when there's no room above. */
|
|
47
|
+
const ROW_H = 36; // px per toolbar row
|
|
48
|
+
const HINT_H = showLinkInput ? 0 : mode === 'text' && richField && !richEditingActive ? 32 : 0;
|
|
49
|
+
const ROWS = mode === 'text' && richField ? 2 : 1;
|
|
50
|
+
const TOOLBAR_BOX_H = ROWS * ROW_H;
|
|
51
|
+
const TOTAL_H = TOOLBAR_BOX_H + (HINT_H > 0 ? HINT_H + 4 : 0);
|
|
52
|
+
const GAP = 6; // px between toolbar and element
|
|
53
|
+
const spaceAbove = anchorRect.top - GAP;
|
|
54
|
+
const spaceBelow = window.innerHeight - anchorRect.bottom - GAP;
|
|
55
|
+
const placedAbove = spaceAbove >= TOTAL_H || spaceAbove >= spaceBelow;
|
|
56
|
+
const top = placedAbove
|
|
57
|
+
? anchorRect.top - TOTAL_H - GAP
|
|
58
|
+
: anchorRect.bottom + GAP;
|
|
59
|
+
// Approximate toolbar width to keep it inside the viewport on the right
|
|
60
|
+
const approxW = mode === 'text' && richField ? 390 : mode === 'image' ? 248 : 192;
|
|
61
|
+
const left = Math.max(8, Math.min(window.innerWidth - approxW - 8, anchorRect.left));
|
|
62
|
+
/* ── link button handler ──────────────────────────────────────────────── */
|
|
63
|
+
const handleLinkBtnClick = () => {
|
|
64
|
+
if (!richEditingActive)
|
|
65
|
+
return;
|
|
66
|
+
// Save the current selection BEFORE the input steals focus
|
|
67
|
+
const sel = window.getSelection?.();
|
|
68
|
+
savedRangeRef.current = sel?.rangeCount ? sel.getRangeAt(0).cloneRange() : null;
|
|
69
|
+
setLinkUrl('https://');
|
|
70
|
+
setShowLinkInput(true);
|
|
71
|
+
};
|
|
72
|
+
const handleLinkConfirm = () => {
|
|
73
|
+
const url = linkUrl.trim();
|
|
74
|
+
setShowLinkInput(false);
|
|
75
|
+
setLinkUrl('');
|
|
76
|
+
onLinkApply?.(url, savedRangeRef.current);
|
|
77
|
+
savedRangeRef.current = null;
|
|
78
|
+
};
|
|
79
|
+
const handleLinkCancel = () => {
|
|
80
|
+
setShowLinkInput(false);
|
|
81
|
+
setLinkUrl('');
|
|
82
|
+
savedRangeRef.current = null;
|
|
83
|
+
};
|
|
84
|
+
/* ── render ───────────────────────────────────────────────────────────── */
|
|
85
|
+
const blockIcon = mode === 'image' ? _jsx(ImageIcon, { className: "h-4 w-4", strokeWidth: 2, "aria-hidden": true }) :
|
|
86
|
+
mode === 'section' ? _jsx(Layers, { className: "h-4 w-4", strokeWidth: 2, "aria-hidden": true }) :
|
|
87
|
+
mode === 'group' ? _jsx(Layers, { className: "h-4 w-4", strokeWidth: 2, "aria-hidden": true }) :
|
|
88
|
+
_jsx(Type, { className: "h-4 w-4", strokeWidth: 2, "aria-hidden": true });
|
|
89
|
+
const el = (_jsxs("div", { className: "pointer-events-auto z-[99999]", style: {
|
|
90
|
+
position: 'fixed',
|
|
91
|
+
top,
|
|
92
|
+
left,
|
|
93
|
+
fontFamily: 'ui-sans-serif, system-ui, sans-serif',
|
|
94
|
+
fontSize: 13,
|
|
95
|
+
}, onMouseDown: (e) => {
|
|
96
|
+
// Prevent focus loss from the contenteditable — but allow the link input to receive focus
|
|
97
|
+
if (e.target.closest('[data-link-input]'))
|
|
98
|
+
return;
|
|
99
|
+
e.preventDefault();
|
|
100
|
+
}, role: "toolbar", "aria-label": "Block toolbar", children: [_jsxs("div", { className: "flex flex-col overflow-hidden rounded-[3px] border border-[#dcdcde] bg-white shadow-[0_3px_12px_rgba(0,0,0,0.10)]", children: [_jsxs("div", { className: "flex h-9 items-center gap-0.5 px-1", children: [_jsx("span", { className: "flex h-8 w-8 shrink-0 items-center justify-center text-[#440066]", title: mode === 'image' ? 'Image block' : mode === 'section' ? 'Section' : mode === 'group' ? 'Group block' : 'Text block', "aria-label": mode === 'image' ? 'Image block' : mode === 'section' ? 'Section' : mode === 'group' ? 'Group block' : 'Text block', children: blockIcon }), mode === 'image' && onReplaceImage && (_jsxs(_Fragment, { children: [_jsx(Sep, {}), _jsxs("button", { type: "button", onClick: onReplaceImage, className: "flex h-8 items-center gap-1.5 rounded px-2.5 text-[12px] font-semibold text-[#440066] transition-colors hover:bg-[#f0f0f1]", title: "Replace image", "aria-label": "Replace image", children: [_jsx(Upload, { className: "h-3.5 w-3.5", strokeWidth: 2.5, "aria-hidden": true }), "Replace image"] })] }))] }), mode === 'text' && richField ? (_jsx("div", { className: "flex h-9 items-center gap-0.5 border-t border-[#dcdcde] px-1", children: showLinkInput ? (
|
|
101
|
+
/* Inline URL input replaces the formatting row while active */
|
|
102
|
+
_jsxs(_Fragment, { children: [_jsx(Link2, { className: "ml-1 h-3.5 w-3.5 shrink-0 text-[#787c82]", strokeWidth: 2, "aria-hidden": true }), _jsx("input", { ref: linkInputRef, "data-link-input": true, type: "url", value: linkUrl, onChange: (e) => setLinkUrl(e.target.value), onKeyDown: (e) => {
|
|
103
|
+
if (e.key === 'Enter') {
|
|
104
|
+
e.preventDefault();
|
|
105
|
+
handleLinkConfirm();
|
|
106
|
+
}
|
|
107
|
+
if (e.key === 'Escape') {
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
handleLinkCancel();
|
|
110
|
+
}
|
|
111
|
+
}, onMouseDown: (e) => e.stopPropagation(), placeholder: "https://example.com", className: "min-w-0 flex-1 rounded bg-[#f6f7f7] px-2 py-1 text-[12px] text-[#1b0029] outline-none ring-1 ring-inset ring-[#440066]/40 focus:ring-[#440066]", "aria-label": "Link URL" }), _jsx("button", { type: "button", onMouseDown: (e) => e.stopPropagation(), onClick: handleLinkConfirm, className: "ml-0.5 flex h-7 items-center rounded px-2 text-[11px] font-semibold text-[#440066] transition-colors hover:bg-[#ebe4f5]", title: "Apply link", children: "Apply" }), _jsx("button", { type: "button", onMouseDown: (e) => e.stopPropagation(), onClick: handleLinkCancel, className: "flex h-8 w-8 items-center justify-center rounded text-[#787c82] transition-colors hover:bg-[#f0f0f1]", title: "Cancel", "aria-label": "Cancel link", children: _jsx(X, { className: "h-3.5 w-3.5", strokeWidth: 2.5 }) })] })) : (_jsxs(_Fragment, { children: [_jsx(Btn, { title: "Bold", onClick: onBold, disabled: !richEditingActive, children: _jsx(Bold, { className: "h-[15px] w-[15px]", strokeWidth: 2.5 }) }), _jsx(Btn, { title: "Italic", onClick: onItalic, disabled: !richEditingActive, children: _jsx(AlignLeft, { className: "h-4 w-4", strokeWidth: 2 }) }), _jsx(Btn, { title: "Underline", onClick: onUnderline, disabled: !richEditingActive, children: _jsx(Underline, { className: "h-4 w-4", strokeWidth: 2 }) }), _jsx(Btn, { title: "Add link", onClick: handleLinkBtnClick, disabled: !richEditingActive, children: _jsx(Link2, { className: "h-4 w-4", strokeWidth: 2 }) }), _jsx(Sep, {}), _jsx(Btn, { title: "Bullet list", onClick: onBullets, disabled: !richEditingActive, children: _jsx(List, { className: "h-4 w-4", strokeWidth: 2 }) }), _jsx(Btn, { title: "Numbered list", onClick: onOrderedList, disabled: !richEditingActive, children: _jsx(ListOrdered, { className: "h-4 w-4", strokeWidth: 2 }) }), _jsx(Btn, { title: "Clear formatting", onClick: onClearFormatting, disabled: !richEditingActive, children: _jsx(RemoveFormatting, { className: "h-4 w-4", strokeWidth: 2 }) })] })) })) : null] }), mode === 'text' && richField && !richEditingActive && !showLinkInput && (_jsx("p", { className: "mt-1.5 max-w-[320px] rounded-[2px] border border-[#e8e9ec] bg-white px-2.5 py-1.5 text-[11px] leading-snug text-[#787c82] shadow-sm", children: "Click again to edit text, then use formatting" }))] }));
|
|
112
|
+
return createPortal(el, document.body);
|
|
113
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PayazaPreviewContext } from './preview-isolation';
|
|
3
|
+
import { type PreviewFlushHandle } from './preview-flush-handle';
|
|
4
|
+
export interface PreviewCanvasEnhancerProps {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
interactionMode: 'edit' | 'preview';
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
previewContext?: PayazaPreviewContext | null;
|
|
9
|
+
/** When set (inline mobile preview), dispatch events directly instead of postMessage to parent. */
|
|
10
|
+
onPreviewEvent?: (payload: object) => void;
|
|
11
|
+
/** Canvas scroll container — when set, toolbar tracks this element's scroll instead of window. */
|
|
12
|
+
scrollRootRef?: React.RefObject<HTMLElement | null>;
|
|
13
|
+
/** Optional ref for synchronous flush before save/publish (inline preview only). */
|
|
14
|
+
previewFlushRef?: React.MutableRefObject<PreviewFlushHandle | null>;
|
|
15
|
+
}
|
|
16
|
+
export declare function PreviewCanvasEnhancer({ enabled, interactionMode, children, previewContext, onPreviewEvent, scrollRootRef, previewFlushRef, }: PreviewCanvasEnhancerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=PreviewCanvasEnhancer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewCanvasEnhancer.d.ts","sourceRoot":"","sources":["../../../src/preview/canvas/PreviewCanvasEnhancer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAIxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAUhE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC7C,mGAAmG;IACnG,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,kGAAkG;IAClG,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACpD,oFAAoF;IACpF,eAAe,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;CACrE;AAeD,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,eAAe,EACf,QAAQ,EACR,cAAqB,EACrB,cAAc,EACd,aAAa,EACb,eAAe,GAChB,EAAE,0BAA0B,2CAgyB5B"}
|