storefront-layouts 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/auth/LoginForm.js +1 -1
- package/dist/components/auth/LoginSheet.js +1 -1
- package/dist/components/auth/login-form-core.js +2 -2
- package/dist/components/auth/login-sheet-registry.js +2 -2
- package/dist/components/auth/login-sheet-themes/booking-agenda.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/booking.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/clothing-minimal.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/clothing.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/electronics-grid.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/electronics.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/food-modern.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/food.theme.js +1 -1
- package/dist/components/auth/login-sheet-themes/index.js +9 -9
- package/dist/components/auth/login-sheet-themes/motivational-speaker.theme.js +1 -1
- package/dist/components/auth/login-sheets/StoreLoginSheetShell.js +3 -3
- package/dist/components/categories/category-masonry-grid.js +3 -3
- package/dist/components/learning/CertificateViewer.js +1 -1
- package/dist/components/rich-text/CategoryDescription.js +2 -2
- package/dist/components/rich-text/ProductDescription.js +2 -2
- package/dist/components/rich-text/RichTextExcerpt.js +1 -1
- package/dist/components/rich-text/SafeRichHtml.js +1 -1
- package/dist/components/shipping/ProductDeliveryInfoSection.js +2 -2
- package/dist/components/ui/alert-modal.js +1 -1
- package/dist/components/ui/guest-checkout-modal.js +2 -2
- package/dist/components/ui/image-skeleton.js +1 -1
- package/dist/components/ui/image-with-fallback.js +1 -1
- package/dist/components/ui/loading-skeleton-wrapper.js +1 -1
- package/dist/components/ui/modal.js +1 -1
- package/dist/components/ui/page-content-loader.js +1 -1
- package/dist/components/ui/product-card.d.ts.map +1 -1
- package/dist/components/ui/product-card.js +3 -2
- package/dist/components/ui/route-skeleton-loader.js +5 -5
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/skeletons/index.js +5 -5
- package/dist/components/ui/skeletons/product-grid-skeleton.js +1 -1
- package/dist/editor/alignment-schemas/booking.js +1 -1
- package/dist/editor/alignment-schemas/clothing-minimal.js +1 -1
- package/dist/editor/alignment-schemas/index.js +20 -20
- package/dist/editor/alignment-schemas/lazy-loader.js +1 -1
- package/dist/editor/alignment-schemas/metadata.js +1 -1
- package/dist/editor/alignment-schemas/resolve-canvas-inspector-leaf.js +3 -3
- package/dist/editor/blocks/index.js +3 -3
- package/dist/editor/blocks/migrate-clothing-minimal.js +3 -3
- package/dist/editor/blocks/nav-outline-utils.js +2 -2
- package/dist/editor/blocks/registry.js +1 -1
- package/dist/editor/document/adapter.js +4 -4
- package/dist/editor/document/block-tree.js +1 -1
- package/dist/editor/document/index.js +6 -6
- package/dist/editor/document/validate.js +1 -1
- package/dist/editor/index.js +12 -12
- package/dist/editor/layout-content-loader.js +3 -3
- package/dist/editor/payaza-form/ArrayItemManager.js +2 -2
- package/dist/editor/payaza-form/EditorCanvasPreview.js +4 -4
- package/dist/editor/payaza-form/FieldRenderer.js +17 -17
- package/dist/editor/payaza-form/IframePreviewMessageBridge.js +3 -3
- package/dist/editor/payaza-form/PayazaFormEditor.js +29 -29
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.js +2 -2
- package/dist/editor/payaza-form/SliderArrayEditor.js +2 -2
- package/dist/editor/payaza-form/components/ArrayField.js +1 -1
- package/dist/editor/payaza-form/components/BlockStylesInspector.js +1 -1
- package/dist/editor/payaza-form/components/BlocksField.js +8 -8
- package/dist/editor/payaza-form/components/ButtonField.js +3 -3
- package/dist/editor/payaza-form/components/CanvasGranularInspector.js +11 -11
- package/dist/editor/payaza-form/components/IconField.js +2 -2
- package/dist/editor/payaza-form/components/ImageField.js +1 -1
- package/dist/editor/payaza-form/components/NumberField.js +1 -1
- package/dist/editor/payaza-form/components/RichTextField.js +2 -2
- package/dist/editor/payaza-form/components/SectionSchemaInspector.js +3 -3
- package/dist/editor/payaza-form/components/StarRatingField.js +1 -1
- package/dist/editor/payaza-form/components/TextField.js +1 -1
- package/dist/editor/payaza-form/data-merger.js +6 -6
- package/dist/editor/payaza-form/data-transformer.js +3 -3
- package/dist/editor/payaza-form/engine.js +1 -1
- package/dist/editor/payaza-form/examples/custom-widgets.example.js +1 -1
- package/dist/editor/payaza-form/index.js +8 -8
- package/dist/editor/payaza-form/layout-loader.js +2 -2
- package/dist/editor/payaza-form/preview-message-handler.js +3 -3
- package/dist/editor/payaza-form/schema-bridge.js +3 -3
- package/dist/editor/payaza-form/widget-registry.js +1 -1
- package/dist/editor/shared/BlockOutlineTree.js +1 -1
- package/dist/editor/shared/EditorHeader.js +1 -1
- package/dist/editor/shared/EditorNavigator.js +1 -1
- package/dist/editor/shared/IframePreview.js +6 -6
- package/dist/editor/shared/InlineCanvasPreview.js +7 -7
- package/dist/editor/shared/LayoutRenderer.js +1 -1
- package/dist/editor/shared/ResizableSidebar.js +1 -1
- package/dist/editor/shared/index.js +7 -7
- package/dist/hooks/use-product-reviews.js +1 -1
- package/dist/hooks/usePreviewSlideSync.js +1 -1
- package/dist/index.js +143 -143
- package/dist/layouts/booking/components/BookingHomePage.js +1 -1
- package/dist/layouts/booking/components/BookingMultilineHeading.js +1 -1
- package/dist/layouts/booking/components/BookingTestimonialCard.js +1 -1
- package/dist/layouts/booking/components/booking-footer-defaults.js +2 -2
- package/dist/layouts/booking/index.js +8 -8
- package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/AboutPage.js +16 -7
- package/dist/layouts/booking/pages/BookPage.js +1 -1
- package/dist/layouts/booking/pages/CategoriesPage.js +2 -2
- package/dist/layouts/booking/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +3 -3
- package/dist/layouts/booking-agenda/index.js +8 -8
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/AboutPage.js +16 -7
- package/dist/layouts/booking-agenda/pages/CategoriesPage.js +1 -1
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -1
- package/dist/layouts/clothing/components/ClothingHomePage.js +13 -12
- package/dist/layouts/clothing/index.js +7 -7
- package/dist/layouts/clothing/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/AboutPage.js +11 -5
- package/dist/layouts/clothing/pages/CategoriesPage.js +9 -9
- package/dist/layouts/clothing/pages/CategoryPage.js +7 -7
- package/dist/layouts/clothing/pages/ContactPage.js +3 -3
- package/dist/layouts/clothing/pages/ProductDetailPage.js +24 -24
- package/dist/layouts/clothing/pages/ProductsPage.js +17 -17
- package/dist/layouts/clothing/payaza-bindings.js +2 -2
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.js +11 -10
- package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.js +7 -7
- package/dist/layouts/clothing-minimal/index.js +7 -7
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/AboutPage.js +12 -5
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.js +8 -8
- package/dist/layouts/clothing-minimal/pages/CategoryPage.js +7 -7
- package/dist/layouts/clothing-minimal/pages/ContactPage.js +3 -3
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +24 -24
- package/dist/layouts/clothing-minimal/pages/ProductsPage.js +18 -18
- package/dist/layouts/electronics/components/ElectronicsCategoriesPage.js +3 -3
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsGridProductCard.js +4 -3
- package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts.map +1 -1
- package/dist/layouts/electronics/components/ElectronicsHomePage.js +5 -4
- package/dist/layouts/electronics/components/ElectronicsPageWrapper.js +2 -2
- package/dist/layouts/electronics/components/ElectronicsProductsPage.js +4 -4
- package/dist/layouts/electronics/components/ElectronicsStoreHeader.js +1 -1
- package/dist/layouts/electronics/index.js +18 -18
- package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/AboutPage.js +7 -2
- package/dist/layouts/electronics/pages/CategoriesPage.js +1 -1
- package/dist/layouts/electronics/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/electronics/pages/ProductsPage.js +2 -2
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.js +4 -3
- package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.js +2 -2
- package/dist/layouts/electronics-grid/index.js +14 -14
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/AboutPage.js +7 -2
- package/dist/layouts/electronics-grid/pages/CategoriesPage.js +1 -1
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/electronics-grid/pages/ProductsPage.js +2 -2
- package/dist/layouts/food/components/FoodHomePage.js +1 -1
- package/dist/layouts/food/index.js +8 -8
- package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/AboutPage.js +5 -1
- package/dist/layouts/food/pages/CategoriesPage.js +2 -2
- package/dist/layouts/food/pages/CategoryPage.js +2 -2
- package/dist/layouts/food/pages/ProductDetailPage.js +4 -4
- package/dist/layouts/food/pages/ProductsPage.js +2 -2
- package/dist/layouts/food-modern/components/FoodHomePageModern.js +3 -3
- package/dist/layouts/food-modern/index.js +8 -8
- package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/AboutPage.js +10 -3
- package/dist/layouts/food-modern/pages/CategoriesPage.js +1 -1
- package/dist/layouts/food-modern/pages/CategoryPage.js +2 -2
- package/dist/layouts/food-modern/pages/ProductDetailPage.js +3 -3
- package/dist/layouts/food-modern/pages/ProductsPage.js +2 -2
- package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.js +1 -1
- package/dist/layouts/motivational-speaker/index.js +9 -9
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/AboutPage.js +9 -2
- package/dist/layouts/motivational-speaker/pages/ProductsPage.js +2 -2
- package/dist/layouts/shared/about-story-media.d.ts +27 -0
- package/dist/layouts/shared/about-story-media.d.ts.map +1 -0
- package/dist/layouts/shared/about-story-media.js +46 -0
- package/dist/layouts/shared/components/BaseStoreLayout.js +9 -9
- package/dist/layouts/shared/components/GenericPageWrapper.js +3 -3
- package/dist/layouts/shared/components/PdpVariationSelectors.js +2 -2
- package/dist/layouts/shared/components/PromoBanner.js +4 -4
- package/dist/layouts/shared/components/StoreCartSheet.js +9 -9
- package/dist/layouts/shared/components/StoreFooter.js +9 -9
- package/dist/layouts/shared/components/StoreHeader.js +8 -8
- package/dist/layouts/shared/components/headers/BookingAgendaSidebar.js +2 -2
- package/dist/layouts/shared/components/headers/ClothingMinimalHeader.js +9 -9
- package/dist/layouts/shared/components/headers/FoodModernHeader.js +7 -7
- package/dist/layouts/shared/index.js +22 -22
- package/dist/layouts/shared/pages/StoreMaintenanceScreen.js +2 -2
- package/dist/layouts/shared/wrappers/BookingAgendaLayout.js +16 -16
- package/dist/layouts/shared/wrappers/ClothingLayout.js +8 -8
- package/dist/layouts/shared/wrappers/ClothingMinimalLayout.js +7 -7
- package/dist/layouts/shared/wrappers/ElectronicsLayout.js +5 -5
- package/dist/layouts/shared/wrappers/FoodModernLayout.js +6 -6
- package/dist/layouts/shared/wrappers/MotivationalLayout.js +9 -9
- package/dist/layouts/shared/wrappers/StandardLayout.js +8 -8
- package/dist/lib/auth-context.js +2 -2
- package/dist/lib/layout-config-hydration.js +2 -2
- package/dist/lib/product-variation-utils.js +1 -1
- package/dist/lib/services/analytics.service.js +1 -1
- package/dist/lib/services/auth.service.js +1 -1
- package/dist/lib/services/booking.service.js +1 -1
- package/dist/lib/services/category.service.js +1 -1
- package/dist/lib/services/checkout.service.js +1 -1
- package/dist/lib/services/contact.service.js +1 -1
- package/dist/lib/services/customer.service.js +1 -1
- package/dist/lib/services/fees.service.js +1 -1
- package/dist/lib/services/index.js +13 -13
- package/dist/lib/services/location.service.js +1 -1
- package/dist/lib/services/order.service.js +1 -1
- package/dist/lib/services/payment.service.js +1 -1
- package/dist/lib/services/product.service.js +1 -1
- package/dist/lib/services/promo.service.js +1 -1
- package/dist/lib/services/review.service.js +1 -1
- package/dist/lib/services/service.service.js +1 -1
- package/dist/lib/services/shipping.service.js +1 -1
- package/dist/lib/services/store.service.js +1 -1
- package/dist/lib/store-config-utils.js +7 -7
- package/dist/lib/store-config.js +1 -1
- package/dist/lib/store-context.js +12 -12
- package/dist/lib/utils/asset-helpers.js +2 -2
- package/dist/lib/utils/editor-preview.js +3 -3
- package/dist/lib/utils/index.js +3 -3
- package/dist/lib/utils/product-images.js +1 -1
- package/dist/lib/utils/product-share.js +1 -1
- package/dist/lib/utils/url-helpers.js +1 -1
- package/dist/preview/LayoutPreview.js +5 -5
- package/dist/preview/PreviewRouter.js +2 -2
- package/dist/preview/canvas/PreviewCanvasEnhancer.js +8 -8
- package/dist/preview/canvas/preview-flush-await.js +1 -1
- package/dist/preview/canvas/preview-isolation.js +1 -1
- package/dist/preview/canvas/preview-route.js +2 -2
- package/dist/preview/index.js +4 -4
- package/package.json +30 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useCallback, useEffect, useState } from 'react';
|
|
3
|
-
import { reviewService } from '../lib/services/review.service';
|
|
3
|
+
import { reviewService } from '../lib/services/review.service.js';
|
|
4
4
|
function customerDisplayName(customer) {
|
|
5
5
|
if (!customer || typeof customer !== 'object')
|
|
6
6
|
return 'Customer';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
-
import { PREVIEW_MSG } from '../preview/canvas/preview-messages';
|
|
3
|
+
import { PREVIEW_MSG } from '../preview/canvas/preview-messages.js';
|
|
4
4
|
/**
|
|
5
5
|
* Syncs hero carousel index when the template editor selects a slide in the inspector.
|
|
6
6
|
*/
|
package/dist/index.js
CHANGED
|
@@ -3,162 +3,162 @@
|
|
|
3
3
|
* Main package exports
|
|
4
4
|
*/
|
|
5
5
|
// Food layout exports
|
|
6
|
-
export { FoodHomePage } from './layouts/food/components/FoodHomePage';
|
|
7
|
-
export { ProductsPage as FoodProductsPage } from './layouts/food/pages/ProductsPage';
|
|
8
|
-
export { ProductDetailPage as FoodProductDetailPage } from './layouts/food/pages/ProductDetailPage';
|
|
9
|
-
export { CategoryPage as FoodCategoryPage } from './layouts/food/pages/CategoryPage';
|
|
10
|
-
export { FoodCategoriesPage } from './layouts/food/pages/CategoriesPage';
|
|
11
|
-
export { MenuPage as FoodMenuPage } from './layouts/food/pages/MenuPage';
|
|
12
|
-
export { AboutPage as FoodAboutPage } from './layouts/food/pages/AboutPage';
|
|
13
|
-
export { ContactPage as FoodContactPage } from './layouts/food/pages/ContactPage';
|
|
6
|
+
export { FoodHomePage } from './layouts/food/components/FoodHomePage.js';
|
|
7
|
+
export { ProductsPage as FoodProductsPage } from './layouts/food/pages/ProductsPage.js';
|
|
8
|
+
export { ProductDetailPage as FoodProductDetailPage } from './layouts/food/pages/ProductDetailPage.js';
|
|
9
|
+
export { CategoryPage as FoodCategoryPage } from './layouts/food/pages/CategoryPage.js';
|
|
10
|
+
export { FoodCategoriesPage } from './layouts/food/pages/CategoriesPage.js';
|
|
11
|
+
export { MenuPage as FoodMenuPage } from './layouts/food/pages/MenuPage.js';
|
|
12
|
+
export { AboutPage as FoodAboutPage } from './layouts/food/pages/AboutPage.js';
|
|
13
|
+
export { ContactPage as FoodContactPage } from './layouts/food/pages/ContactPage.js';
|
|
14
14
|
// Food-modern layout exports
|
|
15
|
-
export { FoodHomePageModern } from './layouts/food-modern/components/FoodHomePageModern';
|
|
16
|
-
export { ProductsPage as FoodModernProductsPage } from './layouts/food-modern/pages/ProductsPage';
|
|
17
|
-
export { ProductDetailPage as FoodModernProductDetailPage } from './layouts/food-modern/pages/ProductDetailPage';
|
|
18
|
-
export { CategoryPage as FoodModernCategoryPage } from './layouts/food-modern/pages/CategoryPage';
|
|
19
|
-
export { FoodModernCategoriesPage } from './layouts/food-modern/pages/CategoriesPage';
|
|
20
|
-
export { MenuPage as FoodModernMenuPage } from './layouts/food-modern/pages/MenuPage';
|
|
21
|
-
export { AboutPage as FoodModernAboutPage } from './layouts/food-modern/pages/AboutPage';
|
|
22
|
-
export { ContactPage as FoodModernContactPage } from './layouts/food-modern/pages/ContactPage';
|
|
15
|
+
export { FoodHomePageModern } from './layouts/food-modern/components/FoodHomePageModern.js';
|
|
16
|
+
export { ProductsPage as FoodModernProductsPage } from './layouts/food-modern/pages/ProductsPage.js';
|
|
17
|
+
export { ProductDetailPage as FoodModernProductDetailPage } from './layouts/food-modern/pages/ProductDetailPage.js';
|
|
18
|
+
export { CategoryPage as FoodModernCategoryPage } from './layouts/food-modern/pages/CategoryPage.js';
|
|
19
|
+
export { FoodModernCategoriesPage } from './layouts/food-modern/pages/CategoriesPage.js';
|
|
20
|
+
export { MenuPage as FoodModernMenuPage } from './layouts/food-modern/pages/MenuPage.js';
|
|
21
|
+
export { AboutPage as FoodModernAboutPage } from './layouts/food-modern/pages/AboutPage.js';
|
|
22
|
+
export { ContactPage as FoodModernContactPage } from './layouts/food-modern/pages/ContactPage.js';
|
|
23
23
|
// Clothing layout exports
|
|
24
|
-
export { ClothingHomePage } from './layouts/clothing/components/ClothingHomePage';
|
|
25
|
-
export { ProductsPage as ClothingProductsPage } from './layouts/clothing/pages/ProductsPage';
|
|
26
|
-
export { ProductDetailPage as ClothingProductDetailPage } from './layouts/clothing/pages/ProductDetailPage';
|
|
27
|
-
export { CategoryPage as ClothingCategoryPage } from './layouts/clothing/pages/CategoryPage';
|
|
28
|
-
export { ClothingCategoriesPage } from './layouts/clothing/pages/CategoriesPage';
|
|
29
|
-
export { AboutPage as ClothingAboutPage } from './layouts/clothing/pages/AboutPage';
|
|
30
|
-
export { ContactPage as ClothingContactPage } from './layouts/clothing/pages/ContactPage';
|
|
24
|
+
export { ClothingHomePage } from './layouts/clothing/components/ClothingHomePage.js';
|
|
25
|
+
export { ProductsPage as ClothingProductsPage } from './layouts/clothing/pages/ProductsPage.js';
|
|
26
|
+
export { ProductDetailPage as ClothingProductDetailPage } from './layouts/clothing/pages/ProductDetailPage.js';
|
|
27
|
+
export { CategoryPage as ClothingCategoryPage } from './layouts/clothing/pages/CategoryPage.js';
|
|
28
|
+
export { ClothingCategoriesPage } from './layouts/clothing/pages/CategoriesPage.js';
|
|
29
|
+
export { AboutPage as ClothingAboutPage } from './layouts/clothing/pages/AboutPage.js';
|
|
30
|
+
export { ContactPage as ClothingContactPage } from './layouts/clothing/pages/ContactPage.js';
|
|
31
31
|
// Clothing-minimal layout exports
|
|
32
|
-
export { ClothingHomePageMinimal } from './layouts/clothing-minimal/components/ClothingHomePageMinimal';
|
|
33
|
-
export { ProductsPage as ClothingMinimalProductsPage } from './layouts/clothing-minimal/pages/ProductsPage';
|
|
34
|
-
export { ProductDetailPage as ClothingMinimalProductDetailPage } from './layouts/clothing-minimal/pages/ProductDetailPage';
|
|
35
|
-
export { CategoryPage as ClothingMinimalCategoryPage } from './layouts/clothing-minimal/pages/CategoryPage';
|
|
36
|
-
export { ClothingMinimalCategoriesPage } from './layouts/clothing-minimal/pages/CategoriesPage';
|
|
37
|
-
export { AboutPage as ClothingMinimalAboutPage } from './layouts/clothing-minimal/pages/AboutPage';
|
|
38
|
-
export { ContactPage as ClothingMinimalContactPage } from './layouts/clothing-minimal/pages/ContactPage';
|
|
32
|
+
export { ClothingHomePageMinimal } from './layouts/clothing-minimal/components/ClothingHomePageMinimal.js';
|
|
33
|
+
export { ProductsPage as ClothingMinimalProductsPage } from './layouts/clothing-minimal/pages/ProductsPage.js';
|
|
34
|
+
export { ProductDetailPage as ClothingMinimalProductDetailPage } from './layouts/clothing-minimal/pages/ProductDetailPage.js';
|
|
35
|
+
export { CategoryPage as ClothingMinimalCategoryPage } from './layouts/clothing-minimal/pages/CategoryPage.js';
|
|
36
|
+
export { ClothingMinimalCategoriesPage } from './layouts/clothing-minimal/pages/CategoriesPage.js';
|
|
37
|
+
export { AboutPage as ClothingMinimalAboutPage } from './layouts/clothing-minimal/pages/AboutPage.js';
|
|
38
|
+
export { ContactPage as ClothingMinimalContactPage } from './layouts/clothing-minimal/pages/ContactPage.js';
|
|
39
39
|
// Booking layout exports
|
|
40
|
-
export { BookingHomePage } from './layouts/booking/components/BookingHomePage';
|
|
41
|
-
export { BookingBookPage } from './layouts/booking/pages/BookPage';
|
|
42
|
-
export { ServicesPage } from './layouts/booking/pages/ServicesPage';
|
|
43
|
-
export { ServicesPage as BookingServicesPage } from './layouts/booking/pages/ServicesPage';
|
|
44
|
-
export { ProductDetailPage as BookingProductDetailPage } from './layouts/booking/pages/ProductDetailPage';
|
|
45
|
-
export { CategoryPage as BookingCategoryPage } from './layouts/booking/pages/CategoryPage';
|
|
46
|
-
export { BookingCategoriesPage } from './layouts/booking/pages/CategoriesPage';
|
|
47
|
-
export { AboutPage as BookingAboutPage } from './layouts/booking/pages/AboutPage';
|
|
48
|
-
export { ContactPage as BookingContactPage } from './layouts/booking/pages/ContactPage';
|
|
40
|
+
export { BookingHomePage } from './layouts/booking/components/BookingHomePage.js';
|
|
41
|
+
export { BookingBookPage } from './layouts/booking/pages/BookPage.js';
|
|
42
|
+
export { ServicesPage } from './layouts/booking/pages/ServicesPage.js';
|
|
43
|
+
export { ServicesPage as BookingServicesPage } from './layouts/booking/pages/ServicesPage.js';
|
|
44
|
+
export { ProductDetailPage as BookingProductDetailPage } from './layouts/booking/pages/ProductDetailPage.js';
|
|
45
|
+
export { CategoryPage as BookingCategoryPage } from './layouts/booking/pages/CategoryPage.js';
|
|
46
|
+
export { BookingCategoriesPage } from './layouts/booking/pages/CategoriesPage.js';
|
|
47
|
+
export { AboutPage as BookingAboutPage } from './layouts/booking/pages/AboutPage.js';
|
|
48
|
+
export { ContactPage as BookingContactPage } from './layouts/booking/pages/ContactPage.js';
|
|
49
49
|
// Booking-agenda layout exports
|
|
50
|
-
export { BookingHomePageAgenda } from './layouts/booking-agenda/components/BookingHomePageAgenda';
|
|
51
|
-
export { BookingAgendaBookPage } from './layouts/booking-agenda/pages/BookPage';
|
|
52
|
-
export { ServicesPage as BookingAgendaServicesPage } from './layouts/booking-agenda/pages/ServicesPage';
|
|
53
|
-
export { ProductDetailPage as BookingAgendaProductDetailPage } from './layouts/booking-agenda/pages/ProductDetailPage';
|
|
54
|
-
export { CategoryPage as BookingAgendaCategoryPage } from './layouts/booking-agenda/pages/CategoryPage';
|
|
55
|
-
export { BookingAgendaCategoriesPage } from './layouts/booking-agenda/pages/CategoriesPage';
|
|
56
|
-
export { AboutPage as BookingAgendaAboutPage } from './layouts/booking-agenda/pages/AboutPage';
|
|
57
|
-
export { ContactPage as BookingAgendaContactPage } from './layouts/booking-agenda/pages/ContactPage';
|
|
50
|
+
export { BookingHomePageAgenda } from './layouts/booking-agenda/components/BookingHomePageAgenda.js';
|
|
51
|
+
export { BookingAgendaBookPage } from './layouts/booking-agenda/pages/BookPage.js';
|
|
52
|
+
export { ServicesPage as BookingAgendaServicesPage } from './layouts/booking-agenda/pages/ServicesPage.js';
|
|
53
|
+
export { ProductDetailPage as BookingAgendaProductDetailPage } from './layouts/booking-agenda/pages/ProductDetailPage.js';
|
|
54
|
+
export { CategoryPage as BookingAgendaCategoryPage } from './layouts/booking-agenda/pages/CategoryPage.js';
|
|
55
|
+
export { BookingAgendaCategoriesPage } from './layouts/booking-agenda/pages/CategoriesPage.js';
|
|
56
|
+
export { AboutPage as BookingAgendaAboutPage } from './layouts/booking-agenda/pages/AboutPage.js';
|
|
57
|
+
export { ContactPage as BookingAgendaContactPage } from './layouts/booking-agenda/pages/ContactPage.js';
|
|
58
58
|
// Electronics layout exports
|
|
59
|
-
export { ElectronicsHomePage } from './layouts/electronics/components/ElectronicsHomePage';
|
|
60
|
-
export { ElectronicsProductsPage } from './layouts/electronics/components/ElectronicsProductsPage';
|
|
61
|
-
export { ElectronicsCategoriesPage } from './layouts/electronics/components/ElectronicsCategoriesPage';
|
|
62
|
-
export { ElectronicsPageWrapper } from './layouts/electronics/components/ElectronicsPageWrapper';
|
|
63
|
-
export { ElectronicsStoreHeader } from './layouts/electronics/components/ElectronicsStoreHeader';
|
|
64
|
-
export { ElectronicsStoreFooter } from './layouts/electronics/components/ElectronicsStoreFooter';
|
|
65
|
-
export { ElectronicsGridProductCard } from './layouts/electronics/components/ElectronicsGridProductCard';
|
|
66
|
-
export { ProductsPage as ElectronicsProductsPagePage } from './layouts/electronics/pages/ProductsPage';
|
|
67
|
-
export { ProductsPage as ElectronicsProductsListingPage } from './layouts/electronics/pages/ProductsPage';
|
|
68
|
-
export { ProductDetailPage as ElectronicsProductDetailPage } from './layouts/electronics/pages/ProductDetailPage';
|
|
69
|
-
export { CategoryPage as ElectronicsCategoryPage } from './layouts/electronics/pages/CategoryPage';
|
|
70
|
-
export { ElectronicsCategoriesListingPage as ElectronicsCategoriesPagePage } from './layouts/electronics/pages/CategoriesPage';
|
|
71
|
-
export { ElectronicsCategoriesListingPage } from './layouts/electronics/pages/CategoriesPage';
|
|
72
|
-
export { AboutPage as ElectronicsAboutPage } from './layouts/electronics/pages/AboutPage';
|
|
73
|
-
export { ContactPage as ElectronicsContactPage } from './layouts/electronics/pages/ContactPage';
|
|
74
|
-
export { ElectronicsHelpCenterPage } from './layouts/electronics/pages/HelpCenterPage';
|
|
75
|
-
export { ElectronicsPrivacyPolicyPage } from './layouts/electronics/pages/PrivacyPolicyPage';
|
|
76
|
-
export { ElectronicsShippingReturnsPage } from './layouts/electronics/pages/ShippingReturnsPage';
|
|
77
|
-
export { ElectronicsTermsPage } from './layouts/electronics/pages/TermsPage';
|
|
78
|
-
export { ElectronicsTrackOrderPage } from './layouts/electronics/pages/TrackOrderPage';
|
|
59
|
+
export { ElectronicsHomePage } from './layouts/electronics/components/ElectronicsHomePage.js';
|
|
60
|
+
export { ElectronicsProductsPage } from './layouts/electronics/components/ElectronicsProductsPage.js';
|
|
61
|
+
export { ElectronicsCategoriesPage } from './layouts/electronics/components/ElectronicsCategoriesPage.js';
|
|
62
|
+
export { ElectronicsPageWrapper } from './layouts/electronics/components/ElectronicsPageWrapper.js';
|
|
63
|
+
export { ElectronicsStoreHeader } from './layouts/electronics/components/ElectronicsStoreHeader.js';
|
|
64
|
+
export { ElectronicsStoreFooter } from './layouts/electronics/components/ElectronicsStoreFooter.js';
|
|
65
|
+
export { ElectronicsGridProductCard } from './layouts/electronics/components/ElectronicsGridProductCard.js';
|
|
66
|
+
export { ProductsPage as ElectronicsProductsPagePage } from './layouts/electronics/pages/ProductsPage.js';
|
|
67
|
+
export { ProductsPage as ElectronicsProductsListingPage } from './layouts/electronics/pages/ProductsPage.js';
|
|
68
|
+
export { ProductDetailPage as ElectronicsProductDetailPage } from './layouts/electronics/pages/ProductDetailPage.js';
|
|
69
|
+
export { CategoryPage as ElectronicsCategoryPage } from './layouts/electronics/pages/CategoryPage.js';
|
|
70
|
+
export { ElectronicsCategoriesListingPage as ElectronicsCategoriesPagePage } from './layouts/electronics/pages/CategoriesPage.js';
|
|
71
|
+
export { ElectronicsCategoriesListingPage } from './layouts/electronics/pages/CategoriesPage.js';
|
|
72
|
+
export { AboutPage as ElectronicsAboutPage } from './layouts/electronics/pages/AboutPage.js';
|
|
73
|
+
export { ContactPage as ElectronicsContactPage } from './layouts/electronics/pages/ContactPage.js';
|
|
74
|
+
export { ElectronicsHelpCenterPage } from './layouts/electronics/pages/HelpCenterPage.js';
|
|
75
|
+
export { ElectronicsPrivacyPolicyPage } from './layouts/electronics/pages/PrivacyPolicyPage.js';
|
|
76
|
+
export { ElectronicsShippingReturnsPage } from './layouts/electronics/pages/ShippingReturnsPage.js';
|
|
77
|
+
export { ElectronicsTermsPage } from './layouts/electronics/pages/TermsPage.js';
|
|
78
|
+
export { ElectronicsTrackOrderPage } from './layouts/electronics/pages/TrackOrderPage.js';
|
|
79
79
|
// Electronics-grid layout exports
|
|
80
|
-
export { ElectronicsGridProductCard as ElectronicsGridProductCardGrid } from './layouts/electronics-grid/components/ElectronicsGridProductCard';
|
|
81
|
-
export { ElectronicsHomePageGrid } from './layouts/electronics-grid/components/ElectronicsHomePageGrid';
|
|
82
|
-
export { ElectronicsGridCategoriesPage } from './layouts/electronics-grid/pages/ElectronicsGridCategoriesPage';
|
|
83
|
-
export { ProductsPage as ElectronicsGridProductsPage } from './layouts/electronics-grid/pages/ProductsPage';
|
|
84
|
-
export { ProductsPage as ElectronicsGridProductsListingPage } from './layouts/electronics-grid/pages/ProductsPage';
|
|
85
|
-
export { ProductDetailPage as ElectronicsGridProductDetailPage } from './layouts/electronics-grid/pages/ProductDetailPage';
|
|
86
|
-
export { CategoryPage as ElectronicsGridCategoryPage } from './layouts/electronics-grid/pages/CategoryPage';
|
|
87
|
-
export { ElectronicsGridCategoriesListingPage as ElectronicsGridCategoriesPagePage } from './layouts/electronics-grid/pages/CategoriesPage';
|
|
88
|
-
export { ElectronicsGridCategoriesListingPage } from './layouts/electronics-grid/pages/CategoriesPage';
|
|
89
|
-
export { AboutPage as ElectronicsGridAboutPage } from './layouts/electronics-grid/pages/AboutPage';
|
|
90
|
-
export { ContactPage as ElectronicsGridContactPage } from './layouts/electronics-grid/pages/ContactPage';
|
|
91
|
-
export { ElectronicsGridHelpCenterPage } from './layouts/electronics-grid/pages/HelpCenterPage';
|
|
92
|
-
export { ElectronicsGridPrivacyPolicyPage } from './layouts/electronics-grid/pages/PrivacyPolicyPage';
|
|
93
|
-
export { ElectronicsGridShippingReturnsPage } from './layouts/electronics-grid/pages/ShippingReturnsPage';
|
|
94
|
-
export { ElectronicsGridTermsPage } from './layouts/electronics-grid/pages/TermsPage';
|
|
95
|
-
export { ElectronicsGridTrackOrderPage } from './layouts/electronics-grid/pages/TrackOrderPage';
|
|
80
|
+
export { ElectronicsGridProductCard as ElectronicsGridProductCardGrid } from './layouts/electronics-grid/components/ElectronicsGridProductCard.js';
|
|
81
|
+
export { ElectronicsHomePageGrid } from './layouts/electronics-grid/components/ElectronicsHomePageGrid.js';
|
|
82
|
+
export { ElectronicsGridCategoriesPage } from './layouts/electronics-grid/pages/ElectronicsGridCategoriesPage.js';
|
|
83
|
+
export { ProductsPage as ElectronicsGridProductsPage } from './layouts/electronics-grid/pages/ProductsPage.js';
|
|
84
|
+
export { ProductsPage as ElectronicsGridProductsListingPage } from './layouts/electronics-grid/pages/ProductsPage.js';
|
|
85
|
+
export { ProductDetailPage as ElectronicsGridProductDetailPage } from './layouts/electronics-grid/pages/ProductDetailPage.js';
|
|
86
|
+
export { CategoryPage as ElectronicsGridCategoryPage } from './layouts/electronics-grid/pages/CategoryPage.js';
|
|
87
|
+
export { ElectronicsGridCategoriesListingPage as ElectronicsGridCategoriesPagePage } from './layouts/electronics-grid/pages/CategoriesPage.js';
|
|
88
|
+
export { ElectronicsGridCategoriesListingPage } from './layouts/electronics-grid/pages/CategoriesPage.js';
|
|
89
|
+
export { AboutPage as ElectronicsGridAboutPage } from './layouts/electronics-grid/pages/AboutPage.js';
|
|
90
|
+
export { ContactPage as ElectronicsGridContactPage } from './layouts/electronics-grid/pages/ContactPage.js';
|
|
91
|
+
export { ElectronicsGridHelpCenterPage } from './layouts/electronics-grid/pages/HelpCenterPage.js';
|
|
92
|
+
export { ElectronicsGridPrivacyPolicyPage } from './layouts/electronics-grid/pages/PrivacyPolicyPage.js';
|
|
93
|
+
export { ElectronicsGridShippingReturnsPage } from './layouts/electronics-grid/pages/ShippingReturnsPage.js';
|
|
94
|
+
export { ElectronicsGridTermsPage } from './layouts/electronics-grid/pages/TermsPage.js';
|
|
95
|
+
export { ElectronicsGridTrackOrderPage } from './layouts/electronics-grid/pages/TrackOrderPage.js';
|
|
96
96
|
// Motivational-speaker layout exports
|
|
97
|
-
export { MotivationalHomePage } from './layouts/motivational-speaker/components/MotivationalHomePage';
|
|
98
|
-
export { MotivationalSpeakerPageWrapper as MotivationalPageWrapper } from './layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper';
|
|
99
|
-
export { ProductsPage as MotivationalProductsPage } from './layouts/motivational-speaker/pages/ProductsPage';
|
|
100
|
-
export { ServiceDetailPage as MotivationalServiceDetailPage } from './layouts/motivational-speaker/pages/ServiceDetailPage';
|
|
101
|
-
export { ServiceDetailPage } from './layouts/motivational-speaker/pages/ServiceDetailPage';
|
|
102
|
-
export { ServicesPage as MotivationalServicesPage } from './layouts/motivational-speaker/pages/ServicesPage';
|
|
103
|
-
export { MotivationalSubscriptionPage as SubscriptionPage } from './layouts/motivational-speaker/pages/SubscriptionPage';
|
|
104
|
-
export { MotivationalSubscriptionPage } from './layouts/motivational-speaker/pages/SubscriptionPage';
|
|
105
|
-
export { CategoryPage as MotivationalCategoryPage } from './layouts/motivational-speaker/pages/CategoryPage';
|
|
106
|
-
export { AboutPage as MotivationalAboutPage } from './layouts/motivational-speaker/pages/AboutPage';
|
|
107
|
-
export { ContactPage as MotivationalContactPage } from './layouts/motivational-speaker/pages/ContactPage';
|
|
97
|
+
export { MotivationalHomePage } from './layouts/motivational-speaker/components/MotivationalHomePage.js';
|
|
98
|
+
export { MotivationalSpeakerPageWrapper as MotivationalPageWrapper } from './layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.js';
|
|
99
|
+
export { ProductsPage as MotivationalProductsPage } from './layouts/motivational-speaker/pages/ProductsPage.js';
|
|
100
|
+
export { ServiceDetailPage as MotivationalServiceDetailPage } from './layouts/motivational-speaker/pages/ServiceDetailPage.js';
|
|
101
|
+
export { ServiceDetailPage } from './layouts/motivational-speaker/pages/ServiceDetailPage.js';
|
|
102
|
+
export { ServicesPage as MotivationalServicesPage } from './layouts/motivational-speaker/pages/ServicesPage.js';
|
|
103
|
+
export { MotivationalSubscriptionPage as SubscriptionPage } from './layouts/motivational-speaker/pages/SubscriptionPage.js';
|
|
104
|
+
export { MotivationalSubscriptionPage } from './layouts/motivational-speaker/pages/SubscriptionPage.js';
|
|
105
|
+
export { CategoryPage as MotivationalCategoryPage } from './layouts/motivational-speaker/pages/CategoryPage.js';
|
|
106
|
+
export { AboutPage as MotivationalAboutPage } from './layouts/motivational-speaker/pages/AboutPage.js';
|
|
107
|
+
export { ContactPage as MotivationalContactPage } from './layouts/motivational-speaker/pages/ContactPage.js';
|
|
108
108
|
// Shared layout exports
|
|
109
|
-
export { BaseStoreLayout } from './layouts/shared/components/BaseStoreLayout';
|
|
110
|
-
export { GenericPageWrapper } from './layouts/shared/components/GenericPageWrapper';
|
|
111
|
-
export { PromoBanner } from './layouts/shared/components/PromoBanner';
|
|
112
|
-
export { StoreFooter } from './layouts/shared/components/StoreFooter';
|
|
113
|
-
export { StoreHeader } from './layouts/shared/components/StoreHeader';
|
|
114
|
-
export { TestimonialCard } from './layouts/shared/components/TestimonialCard';
|
|
115
|
-
export { AccountPage } from './layouts/shared/pages/AccountPage';
|
|
116
|
-
export { CartPage } from './layouts/shared/pages/CartPage';
|
|
117
|
-
export { CheckoutPage } from './layouts/shared/pages/CheckoutPage';
|
|
118
|
-
export { CheckoutButton } from './components/ui/checkout-button';
|
|
119
|
-
export { requireCheckoutPayazaPublicKey, CHECKOUT_KEY_MISSING_MESSAGE, } from './lib/payaza-public-key';
|
|
120
|
-
export { CookiePolicyPage } from './layouts/shared/pages/CookiePolicyPage';
|
|
121
|
-
export { FeatureDisabledPage } from './layouts/shared/pages/FeatureDisabledPage';
|
|
122
|
-
export { HelpCenterPage } from './layouts/shared/pages/HelpCenterPage';
|
|
123
|
-
export { MaintenancePage } from './layouts/shared/pages/MaintenancePage';
|
|
124
|
-
export { StoreOfflinePage } from './layouts/shared/pages/StoreOfflinePage';
|
|
125
|
-
export { StoreMaintenanceScreen, } from './layouts/shared/pages/StoreMaintenanceScreen';
|
|
126
|
-
export { PortfolioPage } from './layouts/shared/pages/PortfolioPage';
|
|
127
|
-
export { PrivacyPolicyPage } from './layouts/shared/pages/PrivacyPolicyPage';
|
|
128
|
-
export { ShippingReturnsPage } from './layouts/shared/pages/ShippingReturnsPage';
|
|
129
|
-
export { SizeGuidePage } from './layouts/shared/pages/SizeGuidePage';
|
|
130
|
-
export { StyleGuidePage } from './layouts/shared/pages/StyleGuidePage';
|
|
131
|
-
export { TeamPage } from './layouts/shared/pages/TeamPage';
|
|
132
|
-
export { TermsPage } from './layouts/shared/pages/TermsPage';
|
|
133
|
-
export { TrackOrderPage } from './layouts/shared/pages/TrackOrderPage';
|
|
134
|
-
export { WishlistPage } from './layouts/shared/pages/WishlistPage';
|
|
109
|
+
export { BaseStoreLayout } from './layouts/shared/components/BaseStoreLayout.js';
|
|
110
|
+
export { GenericPageWrapper } from './layouts/shared/components/GenericPageWrapper.js';
|
|
111
|
+
export { PromoBanner } from './layouts/shared/components/PromoBanner.js';
|
|
112
|
+
export { StoreFooter } from './layouts/shared/components/StoreFooter.js';
|
|
113
|
+
export { StoreHeader } from './layouts/shared/components/StoreHeader.js';
|
|
114
|
+
export { TestimonialCard } from './layouts/shared/components/TestimonialCard.js';
|
|
115
|
+
export { AccountPage } from './layouts/shared/pages/AccountPage.js';
|
|
116
|
+
export { CartPage } from './layouts/shared/pages/CartPage.js';
|
|
117
|
+
export { CheckoutPage } from './layouts/shared/pages/CheckoutPage.js';
|
|
118
|
+
export { CheckoutButton } from './components/ui/checkout-button.js';
|
|
119
|
+
export { requireCheckoutPayazaPublicKey, CHECKOUT_KEY_MISSING_MESSAGE, } from './lib/payaza-public-key.js';
|
|
120
|
+
export { CookiePolicyPage } from './layouts/shared/pages/CookiePolicyPage.js';
|
|
121
|
+
export { FeatureDisabledPage } from './layouts/shared/pages/FeatureDisabledPage.js';
|
|
122
|
+
export { HelpCenterPage } from './layouts/shared/pages/HelpCenterPage.js';
|
|
123
|
+
export { MaintenancePage } from './layouts/shared/pages/MaintenancePage.js';
|
|
124
|
+
export { StoreOfflinePage } from './layouts/shared/pages/StoreOfflinePage.js';
|
|
125
|
+
export { StoreMaintenanceScreen, } from './layouts/shared/pages/StoreMaintenanceScreen.js';
|
|
126
|
+
export { PortfolioPage } from './layouts/shared/pages/PortfolioPage.js';
|
|
127
|
+
export { PrivacyPolicyPage } from './layouts/shared/pages/PrivacyPolicyPage.js';
|
|
128
|
+
export { ShippingReturnsPage } from './layouts/shared/pages/ShippingReturnsPage.js';
|
|
129
|
+
export { SizeGuidePage } from './layouts/shared/pages/SizeGuidePage.js';
|
|
130
|
+
export { StyleGuidePage } from './layouts/shared/pages/StyleGuidePage.js';
|
|
131
|
+
export { TeamPage } from './layouts/shared/pages/TeamPage.js';
|
|
132
|
+
export { TermsPage } from './layouts/shared/pages/TermsPage.js';
|
|
133
|
+
export { TrackOrderPage } from './layouts/shared/pages/TrackOrderPage.js';
|
|
134
|
+
export { WishlistPage } from './layouts/shared/pages/WishlistPage.js';
|
|
135
135
|
// JSON utilities
|
|
136
|
-
export { getLayoutJSON, layoutJSONMap } from './json/json-map';
|
|
136
|
+
export { getLayoutJSON, layoutJSONMap } from './json/json-map.js';
|
|
137
137
|
// Alignment Schema utilities (replaces old requirements JSON)
|
|
138
|
-
export { getLayoutMetadata, layoutMetadataMap } from './editor/alignment-schemas/metadata';
|
|
139
|
-
export { getAlignmentSchema, alignmentSchemasMap } from './editor/alignment-schemas';
|
|
138
|
+
export { getLayoutMetadata, layoutMetadataMap } from './editor/alignment-schemas/metadata.js';
|
|
139
|
+
export { getAlignmentSchema, alignmentSchemasMap } from './editor/alignment-schemas/index.js';
|
|
140
140
|
// Context Providers and Hooks
|
|
141
|
-
export { ToastProvider, useToast, ToastContext } from './components/ui/toast';
|
|
142
|
-
export { AlertModalProvider, useAlertModal } from './components/ui/alert-modal';
|
|
143
|
-
export { StoreProvider, useStore, StoreContext } from './lib/store-context';
|
|
144
|
-
export { LoadingProvider, useLoading, LoadingContext } from './lib/loading-context';
|
|
145
|
-
export { AuthProvider, useAuth, AuthContext } from './lib/auth-context';
|
|
146
|
-
export { setAccessToken, getAccessToken } from './lib/api';
|
|
147
|
-
export { resolveCartChargeCurrency } from './lib/cart-charge-currency';
|
|
148
|
-
export * from './lib/rich-html';
|
|
149
|
-
export { SafeRichHtml } from './components/rich-text/SafeRichHtml';
|
|
150
|
-
export { CategoryDescription } from './components/rich-text/CategoryDescription';
|
|
151
|
-
export { ProductDescription } from './components/rich-text/ProductDescription';
|
|
152
|
-
export { RichTextExcerpt } from './components/rich-text/RichTextExcerpt';
|
|
141
|
+
export { ToastProvider, useToast, ToastContext } from './components/ui/toast.js';
|
|
142
|
+
export { AlertModalProvider, useAlertModal } from './components/ui/alert-modal.js';
|
|
143
|
+
export { StoreProvider, useStore, StoreContext } from './lib/store-context.js';
|
|
144
|
+
export { LoadingProvider, useLoading, LoadingContext } from './lib/loading-context.js';
|
|
145
|
+
export { AuthProvider, useAuth, AuthContext } from './lib/auth-context.js';
|
|
146
|
+
export { setAccessToken, getAccessToken } from './lib/api.js';
|
|
147
|
+
export { resolveCartChargeCurrency } from './lib/cart-charge-currency.js';
|
|
148
|
+
export * from './lib/rich-html.js';
|
|
149
|
+
export { SafeRichHtml } from './components/rich-text/SafeRichHtml.js';
|
|
150
|
+
export { CategoryDescription } from './components/rich-text/CategoryDescription.js';
|
|
151
|
+
export { ProductDescription } from './components/rich-text/ProductDescription.js';
|
|
152
|
+
export { RichTextExcerpt } from './components/rich-text/RichTextExcerpt.js';
|
|
153
153
|
// Layout route utils (booking-agenda store root detection for preview, editor, template page, launched store)
|
|
154
|
-
export { isBookingAgendaStoreRoot } from './lib/layout-route-utils';
|
|
154
|
+
export { isBookingAgendaStoreRoot } from './lib/layout-route-utils.js';
|
|
155
155
|
// Editor catalog helpers (store-setup / PayazaFormEditor host)
|
|
156
|
-
export { applyEditorCatalogOverlay, applyStoreCatalogFromApi, coalesceCatalog, syncFoodMenuItemsFromProducts, } from './lib/utils/editor-preview';
|
|
157
|
-
export { resolveProductImageUrls, getPrimaryProductImageUrl, normalizeStoreProductForDisplay, normalizeStoreProductsForDisplay, EDITOR_PRODUCT_IMAGE_PLACEHOLDER, } from './lib/utils/product-images';
|
|
156
|
+
export { applyEditorCatalogOverlay, applyStoreCatalogFromApi, coalesceCatalog, syncFoodMenuItemsFromProducts, } from './lib/utils/editor-preview.js';
|
|
157
|
+
export { resolveProductImageUrls, getPrimaryProductImageUrl, normalizeStoreProductForDisplay, normalizeStoreProductsForDisplay, EDITOR_PRODUCT_IMAGE_PLACEHOLDER, } from './lib/utils/product-images.js';
|
|
158
158
|
// Alignment Schemas
|
|
159
|
-
export * from './lib/alignment-schemas';
|
|
159
|
+
export * from './lib/alignment-schemas.js';
|
|
160
160
|
// Preview Components and Data
|
|
161
|
-
export { LayoutPreview } from './preview';
|
|
162
|
-
export { ShadowDOMWrapper } from './preview/ShadowDOMWrapper';
|
|
163
|
-
export { PreviewRouter } from './preview/PreviewRouter';
|
|
164
|
-
export { getFoodPreviewData, getClothingPreviewData, getBookingPreviewData, getFoodModernPreviewData, getClothingMinimalPreviewData, getBookingAgendaPreviewData, getElectronicsGridPreviewData, getElectronicsPreviewData, getMotivationalSpeakerPreviewData, getPreviewDataByLayout, getLayoutIdByStoreSlug, } from './lib/preview-data';
|
|
161
|
+
export { LayoutPreview } from './preview/index.js';
|
|
162
|
+
export { ShadowDOMWrapper } from './preview/ShadowDOMWrapper.js';
|
|
163
|
+
export { PreviewRouter } from './preview/PreviewRouter.js';
|
|
164
|
+
export { getFoodPreviewData, getClothingPreviewData, getBookingPreviewData, getFoodModernPreviewData, getClothingMinimalPreviewData, getBookingAgendaPreviewData, getElectronicsGridPreviewData, getElectronicsPreviewData, getMotivationalSpeakerPreviewData, getPreviewDataByLayout, getLayoutIdByStoreSlug, } from './lib/preview-data.js';
|
|
@@ -9,7 +9,7 @@ import Image from 'next/image';
|
|
|
9
9
|
import { useStore } from '../../../lib/store-context.js';
|
|
10
10
|
import { formatCurrency, filterActiveServices } from '../../../lib/utils/index.js';
|
|
11
11
|
import { getBannerImage, getServiceImage, getTeamMemberImage, getTextContent, getFeaturesList, getLayoutText } from '../../../lib/utils/asset-helpers.js';
|
|
12
|
-
import { TestimonialCard } from '../../shared/components/TestimonialCard';
|
|
12
|
+
import { TestimonialCard } from '../../shared/components/TestimonialCard.js';
|
|
13
13
|
export function BookingHomePage({ storeConfig: initialConfig }) {
|
|
14
14
|
const { store } = useStore();
|
|
15
15
|
const storeConfig = store || initialConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { payazaInlineBindingProps } from '../../../preview/canvas/field-key';
|
|
4
|
+
import { payazaInlineBindingProps } from '../../../preview/canvas/field-key.js';
|
|
5
5
|
function coalesceMultilineBreaks(text, fallback) {
|
|
6
6
|
if (!text || text.includes('\n'))
|
|
7
7
|
return text;
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import Image from 'next/image';
|
|
4
4
|
import { Star } from 'lucide-react';
|
|
5
5
|
import { cn } from '../../../lib/utils/index.js';
|
|
6
|
-
import { encodePayazaFieldKey, payazaRatingBindingProps } from '../../../preview/canvas/field-key';
|
|
6
|
+
import { encodePayazaFieldKey, payazaRatingBindingProps } from '../../../preview/canvas/field-key.js';
|
|
7
7
|
export function BookingTestimonialCard({ testimonial, index, isPreview, showRatings = true, }) {
|
|
8
8
|
const payaza = (...segments) => isPreview ? encodePayazaFieldKey('testimonials', ['items', String(index), ...segments]) : undefined;
|
|
9
9
|
const rating = Math.min(5, Math.max(1, Number(testimonial.rating) || 5));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getDefaultFooterMainLinks, getDefaultFooterSupportLinks, getFooterPrimaryColumnTitle, } from '../../../lib/utils/footer-nav-defaults';
|
|
2
|
-
import { mergeBookingAboutArrayItems } from './booking-about-defaults';
|
|
1
|
+
import { getDefaultFooterMainLinks, getDefaultFooterSupportLinks, getFooterPrimaryColumnTitle, } from '../../../lib/utils/footer-nav-defaults.js';
|
|
2
|
+
import { mergeBookingAboutArrayItems } from './booking-about-defaults.js';
|
|
3
3
|
export const BOOKING_DEFAULT_FOOTER_MAIN_LINKS = [
|
|
4
4
|
{ id: 'f-m1', label: 'Services', href: '/services' },
|
|
5
5
|
{ id: 'f-m2', label: 'Book Appointment', href: '/book' },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// BookEasy Standard (booking) layout — fully sandboxed exports
|
|
2
|
-
export { BookingHomePage } from './components/BookingHomePage';
|
|
3
|
-
export { BookingBookPage } from './pages/BookPage';
|
|
4
|
-
export { ServicesPage as BookingServicesPage } from './pages/ServicesPage';
|
|
5
|
-
export { ProductDetailPage as BookingProductDetailPage } from './pages/ProductDetailPage';
|
|
6
|
-
export { CategoryPage as BookingCategoryPage } from './pages/CategoryPage';
|
|
7
|
-
export { BookingCategoriesPage } from './pages/CategoriesPage';
|
|
8
|
-
export { AboutPage as BookingAboutPage } from './pages/AboutPage';
|
|
9
|
-
export { ContactPage as BookingContactPage } from './pages/ContactPage';
|
|
2
|
+
export { BookingHomePage } from './components/BookingHomePage.js';
|
|
3
|
+
export { BookingBookPage } from './pages/BookPage.js';
|
|
4
|
+
export { ServicesPage as BookingServicesPage } from './pages/ServicesPage.js';
|
|
5
|
+
export { ProductDetailPage as BookingProductDetailPage } from './pages/ProductDetailPage.js';
|
|
6
|
+
export { CategoryPage as BookingCategoryPage } from './pages/CategoryPage.js';
|
|
7
|
+
export { BookingCategoriesPage } from './pages/CategoriesPage.js';
|
|
8
|
+
export { AboutPage as BookingAboutPage } from './pages/AboutPage.js';
|
|
9
|
+
export { ContactPage as BookingContactPage } from './pages/ContactPage.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAgBhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAqPvE"}
|
|
@@ -7,18 +7,27 @@ import { useStore } from '../../../lib/store-context.js';
|
|
|
7
7
|
import Image from 'next/image';
|
|
8
8
|
import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml.js';
|
|
9
9
|
import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
|
|
10
|
+
import { storySectionImage, storySectionLabel, storySectionTitle, storyTeamSubtitle, storyTeamTitle, } from '../../shared/about-story-media.js';
|
|
10
11
|
export function AboutPage({ storeConfig: initialConfig }) {
|
|
11
12
|
const { store } = useStore();
|
|
12
13
|
const storeConfig = store || initialConfig;
|
|
13
14
|
const primaryColor = storeConfig.branding.primaryColor;
|
|
14
15
|
const secondaryColor = storeConfig.branding.secondaryColor || primaryColor;
|
|
15
16
|
const aboutConfig = storeConfig.layoutConfig?.pages?.about;
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
17
|
+
const heroConfig = aboutConfig?.hero || aboutConfig;
|
|
18
|
+
const storyConfig = aboutConfig?.story || aboutConfig;
|
|
19
|
+
const heroImage = heroConfig?.heroImage ||
|
|
20
|
+
aboutConfig?.heroImage ||
|
|
21
|
+
'https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop';
|
|
22
|
+
const pageTitle = heroConfig?.title || aboutConfig?.title || "Crafting Experiences, Delivering Joy.";
|
|
23
|
+
const pageContent = storyConfig?.content || aboutConfig?.content || storeConfig.description;
|
|
24
|
+
const missionStatement = heroConfig?.missionStatement || aboutConfig?.missionStatement;
|
|
25
|
+
const galleryImages = storyConfig?.gallerySection || aboutConfig?.gallerySection;
|
|
26
|
+
const storyImage = storySectionImage(storyConfig);
|
|
27
|
+
const storyLabel = storySectionLabel(storyConfig);
|
|
28
|
+
const storyTitle = storySectionTitle(storyConfig);
|
|
29
|
+
const storyCaptionTitle = storyTeamTitle(storyConfig);
|
|
30
|
+
const storyCaptionSubtitle = storyTeamSubtitle(storyConfig);
|
|
22
31
|
const values = [
|
|
23
32
|
{
|
|
24
33
|
icon: Award,
|
|
@@ -41,7 +50,7 @@ export function AboutPage({ storeConfig: initialConfig }) {
|
|
|
41
50
|
description: "We use only the best tools and products for our services."
|
|
42
51
|
}
|
|
43
52
|
];
|
|
44
|
-
return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src:
|
|
53
|
+
return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: storyImage, alt: storyCaptionTitle, fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: storyCaptionTitle }), _jsx("p", { className: "text-white/80 text-sm", children: storyCaptionSubtitle })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: storyLabel }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: storyTitle }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] }), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
|
|
45
54
|
{ label: "Bookings Completed", value: "8k+" },
|
|
46
55
|
{ label: "Expert Staff", value: "15+" },
|
|
47
56
|
{ label: "Services Offered", value: storeConfig.services?.length ? `${storeConfig.services.length}+` : "20+" },
|
|
@@ -16,7 +16,7 @@ import { useToast } from '../../../components/ui/toast.js';
|
|
|
16
16
|
import { useRouter, useSearchParams } from 'next/navigation';
|
|
17
17
|
import { useAuth } from '../../../lib/auth-context.js';
|
|
18
18
|
import { formatDateSafe } from '../../../utils/date.js';
|
|
19
|
-
import { encodePayazaFieldKey } from '../../../preview/canvas/field-key';
|
|
19
|
+
import { encodePayazaFieldKey } from '../../../preview/canvas/field-key.js';
|
|
20
20
|
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key.js';
|
|
21
21
|
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability.js';
|
|
22
22
|
export function BookingBookPage({ storeConfig, serviceSlug }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
|
|
4
|
-
import { payazaInlineBindingProps, encodePayazaFieldKey } from '../../../preview/canvas/field-key';
|
|
5
|
-
import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid';
|
|
4
|
+
import { payazaInlineBindingProps, encodePayazaFieldKey } from '../../../preview/canvas/field-key.js';
|
|
5
|
+
import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid.js';
|
|
6
6
|
import { useStore } from '../../../lib/store-context.js';
|
|
7
7
|
import { useCatalogLoader } from '../../../hooks/use-catalog-loader.js';
|
|
8
8
|
import { isEditorPreviewMode, resolveStoreCategoriesForDisplay } from '../../../lib/utils/index.js';
|
|
@@ -27,9 +27,9 @@ import { usePdpVariation } from '../../../hooks/use-pdp-variation.js';
|
|
|
27
27
|
import { buildPdpBuyNowItem } from '../../../lib/pdp-cart-actions.js';
|
|
28
28
|
import { assertVariationSelected } from '../../../lib/product-variation-utils.js';
|
|
29
29
|
import { shippingService } from '../../../lib/services/shipping.service.js';
|
|
30
|
-
import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection';
|
|
31
|
-
import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors';
|
|
32
|
-
import { formatDateSafe } from '../../../utils/date';
|
|
30
|
+
import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection.js';
|
|
31
|
+
import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors.js';
|
|
32
|
+
import { formatDateSafe } from '../../../utils/date.js';
|
|
33
33
|
// Helper function to format date
|
|
34
34
|
const formatDate = (dateString) => {
|
|
35
35
|
return formatDateSafe(dateString, '—', { year: 'numeric', month: 'long', day: 'numeric' });
|
|
@@ -17,9 +17,9 @@ import { formatCurrency, filterActiveServices } from '../../../lib/utils/index.j
|
|
|
17
17
|
import { getBannerImage, getServiceImage, getTeamMemberImage, getTextContent, getLayoutText, getThemeColor } from '../../../lib/utils/asset-helpers.js';
|
|
18
18
|
import { formatDateSafe } from '../../../utils/date.js';
|
|
19
19
|
import { isDemoStore, shouldUseAPI } from '../../../lib/utils/demo-detection.js';
|
|
20
|
-
import { TestimonialCard } from '../../shared/components/TestimonialCard';
|
|
21
|
-
import { BookingTestimonialsEmptyState } from '../../booking/components/BookingTestimonialsEmptyState';
|
|
22
|
-
import { getPayazaSectionInlineStyle } from '../../../lib/payaza-section-styles';
|
|
20
|
+
import { TestimonialCard } from '../../shared/components/TestimonialCard.js';
|
|
21
|
+
import { BookingTestimonialsEmptyState } from '../../booking/components/BookingTestimonialsEmptyState.js';
|
|
22
|
+
import { getPayazaSectionInlineStyle } from '../../../lib/payaza-section-styles.js';
|
|
23
23
|
import { showLayoutDecorativeBadges } from '../../../lib/layout-badges.js';
|
|
24
24
|
import { getOrCreateIdempotencyKey } from '../../../lib/utils/idempotency-key.js';
|
|
25
25
|
import { CHECKOUT_UNAVAILABLE_MESSAGE } from '../../../lib/checkout-availability.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// BookEasy Agenda (booking-agenda) layout — fully sandboxed exports
|
|
2
|
-
export { BookingHomePageAgenda } from './components/BookingHomePageAgenda';
|
|
3
|
-
export { BookingAgendaBookPage } from './pages/BookPage';
|
|
4
|
-
export { ServicesPage as BookingAgendaServicesPage } from './pages/ServicesPage';
|
|
5
|
-
export { ProductDetailPage as BookingAgendaProductDetailPage } from './pages/ProductDetailPage';
|
|
6
|
-
export { CategoryPage as BookingAgendaCategoryPage } from './pages/CategoryPage';
|
|
7
|
-
export { BookingAgendaCategoriesPage } from './pages/CategoriesPage';
|
|
8
|
-
export { AboutPage as BookingAgendaAboutPage } from './pages/AboutPage';
|
|
9
|
-
export { ContactPage as BookingAgendaContactPage } from './pages/ContactPage';
|
|
2
|
+
export { BookingHomePageAgenda } from './components/BookingHomePageAgenda.js';
|
|
3
|
+
export { BookingAgendaBookPage } from './pages/BookPage.js';
|
|
4
|
+
export { ServicesPage as BookingAgendaServicesPage } from './pages/ServicesPage.js';
|
|
5
|
+
export { ProductDetailPage as BookingAgendaProductDetailPage } from './pages/ProductDetailPage.js';
|
|
6
|
+
export { CategoryPage as BookingAgendaCategoryPage } from './pages/CategoryPage.js';
|
|
7
|
+
export { BookingAgendaCategoriesPage } from './pages/CategoriesPage.js';
|
|
8
|
+
export { AboutPage as BookingAgendaAboutPage } from './pages/AboutPage.js';
|
|
9
|
+
export { ContactPage as BookingAgendaContactPage } from './pages/ContactPage.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/booking-agenda/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAgBhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAqPvE"}
|