payaza-storefront-layouts 1.0.33 → 1.0.35
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/ui/button.d.ts +1 -1
- package/dist/components/ui/product-card.d.ts.map +1 -1
- package/dist/components/ui/product-card.js +18 -10
- package/dist/editor/alignment-schemas/booking-agenda.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/booking-agenda.js +10 -0
- package/dist/editor/alignment-schemas/booking.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/booking.js +6 -2
- package/dist/editor/alignment-schemas/clothing-minimal.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/clothing-minimal.js +58 -40
- package/dist/editor/alignment-schemas/electronics-grid.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/electronics-grid.js +16 -0
- package/dist/editor/alignment-schemas/electronics.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/electronics.js +7 -0
- package/dist/editor/alignment-schemas/food-modern.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/food-modern.js +13 -0
- package/dist/editor/alignment-schemas/food.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/food.js +37 -82
- package/dist/editor/alignment-schemas/motivational-speaker.d.ts.map +1 -1
- package/dist/editor/alignment-schemas/motivational-speaker.js +5 -0
- package/dist/editor/alignment-schemas/types.d.ts +2 -0
- package/dist/editor/alignment-schemas/types.d.ts.map +1 -1
- package/dist/editor/payaza-form/ArrayItemManager.d.ts.map +1 -1
- package/dist/editor/payaza-form/ArrayItemManager.js +3 -3
- package/dist/editor/payaza-form/FieldRenderer.d.ts.map +1 -1
- package/dist/editor/payaza-form/FieldRenderer.js +3 -2
- package/dist/editor/payaza-form/PayazaFormEditor.d.ts.map +1 -1
- package/dist/editor/payaza-form/PayazaFormEditor.js +144 -72
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.d.ts.map +1 -1
- package/dist/editor/payaza-form/PayazaFormEditorFullPage.js +1 -2
- package/dist/editor/payaza-form/components/ArrayField.d.ts.map +1 -1
- package/dist/editor/payaza-form/components/ArrayField.js +3 -2
- package/dist/editor/payaza-form/components/TextField.d.ts +1 -0
- package/dist/editor/payaza-form/components/TextField.d.ts.map +1 -1
- package/dist/editor/payaza-form/components/TextField.js +3 -2
- package/dist/editor/payaza-form/components/TextareaField.d.ts.map +1 -1
- package/dist/editor/payaza-form/components/TextareaField.js +3 -2
- package/dist/editor/payaza-form/components/ToggleField.d.ts.map +1 -1
- package/dist/editor/payaza-form/components/ToggleField.js +3 -2
- package/dist/editor/payaza-form/data-merger.d.ts.map +1 -1
- package/dist/editor/payaza-form/data-merger.js +4 -60
- package/dist/editor/payaza-form/data-transformer.d.ts.map +1 -1
- package/dist/editor/payaza-form/data-transformer.js +5 -12
- package/dist/editor/payaza-form/engine.d.ts.map +1 -1
- package/dist/editor/payaza-form/engine.js +3 -2
- package/dist/editor/payaza-form/examples/custom-widgets.example.d.ts.map +1 -1
- 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/EditorHeader.d.ts +2 -0
- package/dist/editor/shared/EditorHeader.d.ts.map +1 -1
- package/dist/editor/shared/EditorHeader.js +6 -6
- package/dist/editor/shared/IframePreview.d.ts.map +1 -1
- package/dist/editor/shared/IframePreview.js +26 -3
- package/dist/editor/shared/ResizableSidebar.d.ts.map +1 -1
- package/dist/editor/shared/ResizableSidebar.js +11 -5
- package/dist/editor/types.d.ts +12 -0
- package/dist/editor/types.d.ts.map +1 -1
- 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/layouts/booking/components/BookingHomePage.d.ts.map +1 -1
- package/dist/layouts/booking/components/BookingHomePage.js +23 -15
- package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/AboutPage.js +13 -13
- package/dist/layouts/booking/pages/CategoriesPage.js +2 -2
- package/dist/layouts/booking/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/CategoryPage.js +4 -29
- package/dist/layouts/booking/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/ContactPage.js +1 -1
- package/dist/layouts/booking/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/booking/pages/ProductDetailPage.js +2 -5
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +17 -4
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/AboutPage.js +17 -14
- package/dist/layouts/booking-agenda/pages/CategoriesPage.js +2 -2
- package/dist/layouts/booking-agenda/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/CategoryPage.js +4 -29
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/booking-agenda/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/ContactPage.js +5 -2
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +2 -5
- package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -1
- package/dist/layouts/clothing/components/ClothingHomePage.js +53 -32
- package/dist/layouts/clothing/pages/AboutPage.js +8 -8
- package/dist/layouts/clothing/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/CategoryPage.js +4 -22
- package/dist/layouts/clothing/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/ContactPage.js +1 -1
- package/dist/layouts/clothing/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/clothing/pages/ProductDetailPage.js +4 -13
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/AboutPage.js +16 -13
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoriesPage.js +4 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/CategoryPage.js +7 -24
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ContactPage.js +5 -2
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +3 -2
- package/dist/layouts/clothing-minimal/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/clothing-minimal/pages/ProductsPage.js +3 -2
- package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/AboutPage.js +18 -18
- package/dist/layouts/electronics/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/CategoryPage.js +4 -22
- package/dist/layouts/electronics/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/ContactPage.js +1 -1
- package/dist/layouts/electronics/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/electronics/pages/ProductDetailPage.js +2 -2
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/AboutPage.js +16 -13
- package/dist/layouts/electronics-grid/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/CategoryPage.js +4 -22
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/electronics-grid/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ContactPage.js +5 -2
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +2 -2
- package/dist/layouts/food/components/FoodHomePage.d.ts.map +1 -1
- package/dist/layouts/food/components/FoodHomePage.js +50 -31
- package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/AboutPage.js +18 -17
- package/dist/layouts/food/pages/CategoriesPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/CategoriesPage.js +2 -2
- package/dist/layouts/food/pages/CategoryPage.d.ts +1 -1
- package/dist/layouts/food/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/CategoryPage.js +21 -31
- package/dist/layouts/food/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ContactPage.js +2 -1
- package/dist/layouts/food/pages/MenuPage.d.ts +1 -1
- package/dist/layouts/food/pages/MenuPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/MenuPage.js +20 -16
- package/dist/layouts/food/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ProductDetailPage.js +1 -4
- package/dist/layouts/food/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/food/pages/ProductsPage.js +44 -176
- package/dist/layouts/food-modern/components/FoodHomePageModern.d.ts.map +1 -1
- package/dist/layouts/food-modern/components/FoodHomePageModern.js +37 -13
- package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/AboutPage.js +14 -13
- package/dist/layouts/food-modern/pages/CategoriesPage.js +2 -2
- package/dist/layouts/food-modern/pages/CategoryPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/CategoryPage.js +18 -29
- package/dist/layouts/food-modern/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ContactPage.js +1 -1
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts +1 -1
- package/dist/layouts/food-modern/pages/ProductDetailPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ProductDetailPage.js +3 -7
- package/dist/layouts/food-modern/pages/ProductsPage.d.ts.map +1 -1
- package/dist/layouts/food-modern/pages/ProductsPage.js +40 -172
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts +1 -1
- package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/AboutPage.js +13 -10
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts +1 -1
- package/dist/layouts/motivational-speaker/pages/ContactPage.d.ts.map +1 -1
- package/dist/layouts/motivational-speaker/pages/ContactPage.js +6 -2
- package/dist/lib/auth-context.d.ts.map +1 -1
- package/dist/lib/auth-context.js +19 -18
- package/dist/lib/loading-context.d.ts.map +1 -1
- package/dist/lib/loading-context.js +13 -1
- package/dist/lib/preview-data.d.ts.map +1 -1
- package/dist/lib/preview-data.js +437 -53
- package/dist/lib/store-config-utils.d.ts.map +1 -1
- package/dist/lib/store-config-utils.js +32 -19
- package/dist/lib/store-context.d.ts.map +1 -1
- package/dist/lib/store-context.js +55 -36
- package/dist/lib/store-types.d.ts +85 -0
- package/dist/lib/store-types.d.ts.map +1 -1
- package/dist/lib/utils/index.d.ts +9 -4
- package/dist/lib/utils/index.d.ts.map +1 -1
- package/dist/lib/utils/index.js +56 -5
- package/dist/preview/LayoutPreview.d.ts +2 -1
- package/dist/preview/LayoutPreview.d.ts.map +1 -1
- package/dist/preview/LayoutPreview.js +58 -121
- package/dist/preview/PreviewRouter.d.ts +1 -1
- package/dist/preview/PreviewRouter.d.ts.map +1 -1
- package/dist/preview/PreviewRouter.js +199 -429
- package/dist/styles/index.css +195 -7
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const buttonVariants: (props?: {
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost"
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost";
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/product-card.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAajD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"product-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/product-card.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAajD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CAwNxG"}
|
|
@@ -24,23 +24,31 @@ export function ProductCard({ product, storeSlug, onAddToCart, onQuickView, clas
|
|
|
24
24
|
const handleWishlistClick = async (e) => {
|
|
25
25
|
e.preventDefault();
|
|
26
26
|
e.stopPropagation();
|
|
27
|
-
//
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
// Debug logging for wishlist click
|
|
28
|
+
if (process.env.NODE_ENV === 'development') {
|
|
29
|
+
console.log('[ProductCard] Wishlist button clicked:', {
|
|
30
|
+
productId: product.id,
|
|
31
|
+
productName: product.name,
|
|
32
|
+
isInWishlist: isInWishlist(product.id),
|
|
33
|
+
isLoading: localWishlistLoading || isWishlistLoading
|
|
34
|
+
});
|
|
35
|
+
}
|
|
34
36
|
if (localWishlistLoading || isWishlistLoading) {
|
|
35
|
-
|
|
37
|
+
if (process.env.NODE_ENV === 'development') {
|
|
38
|
+
console.warn('[ProductCard] Wishlist action already in progress, ignoring click');
|
|
39
|
+
}
|
|
36
40
|
return;
|
|
37
41
|
}
|
|
38
42
|
setLocalWishlistLoading(true);
|
|
39
43
|
try {
|
|
40
44
|
const wasInWishlist = isInWishlist(product.id);
|
|
41
|
-
|
|
45
|
+
if (process.env.NODE_ENV === 'development') {
|
|
46
|
+
console.log('[ProductCard] Toggling wishlist:', { productId: product.id, wasInWishlist });
|
|
47
|
+
}
|
|
42
48
|
await toggleWishlist(product.id);
|
|
43
|
-
|
|
49
|
+
if (process.env.NODE_ENV === 'development') {
|
|
50
|
+
console.log('[ProductCard] Wishlist toggled successfully');
|
|
51
|
+
}
|
|
44
52
|
addToast(wasInWishlist
|
|
45
53
|
? `${product.name} removed from wishlist`
|
|
46
54
|
: `${product.name} added to wishlist`, 'success');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-agenda.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/booking-agenda.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"booking-agenda.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/booking-agenda.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,mBAAmB,EAAE,qBAsHjC,CAAC"}
|
|
@@ -3,6 +3,7 @@ export const BookingAgendaSchema = {
|
|
|
3
3
|
header: {
|
|
4
4
|
type: 'section',
|
|
5
5
|
label: 'Header & Date Picker',
|
|
6
|
+
_sourcePath: 'layoutConfig.sections.header',
|
|
6
7
|
fields: {
|
|
7
8
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
8
9
|
title: { type: 'text', label: 'Page Title' },
|
|
@@ -12,6 +13,7 @@ export const BookingAgendaSchema = {
|
|
|
12
13
|
promoBanner: {
|
|
13
14
|
type: 'section',
|
|
14
15
|
label: 'Promo Banner',
|
|
16
|
+
_sourcePath: 'layoutConfig.sections.marketing',
|
|
15
17
|
fields: {
|
|
16
18
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
17
19
|
promo_banner: { type: 'image', label: 'Banner Image' },
|
|
@@ -31,6 +33,7 @@ export const BookingAgendaSchema = {
|
|
|
31
33
|
services: {
|
|
32
34
|
type: 'section',
|
|
33
35
|
label: 'Service List',
|
|
36
|
+
_sourcePath: 'layoutConfig.sections.services',
|
|
34
37
|
fields: {
|
|
35
38
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
36
39
|
title: { type: 'text', label: 'Section Title' }
|
|
@@ -39,6 +42,7 @@ export const BookingAgendaSchema = {
|
|
|
39
42
|
team: {
|
|
40
43
|
type: 'section',
|
|
41
44
|
label: 'Our Experts',
|
|
45
|
+
_sourcePath: 'layoutConfig.sections.team',
|
|
42
46
|
fields: {
|
|
43
47
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
44
48
|
title: { type: 'text', label: 'Section Title' },
|
|
@@ -48,6 +52,7 @@ export const BookingAgendaSchema = {
|
|
|
48
52
|
testimonials: {
|
|
49
53
|
type: 'section',
|
|
50
54
|
label: 'Client Reviews',
|
|
55
|
+
_sourcePath: 'layoutConfig.sections.testimonials',
|
|
51
56
|
fields: {
|
|
52
57
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
53
58
|
title: { type: 'text', label: 'Title' },
|
|
@@ -59,6 +64,7 @@ export const BookingAgendaSchema = {
|
|
|
59
64
|
hero: {
|
|
60
65
|
type: 'section',
|
|
61
66
|
label: 'About Header',
|
|
67
|
+
_sourcePath: 'layoutConfig.pages.about.hero',
|
|
62
68
|
fields: {
|
|
63
69
|
heroImage: { type: 'image', label: 'Hero Image' },
|
|
64
70
|
title: { type: 'text', label: 'Title' },
|
|
@@ -68,6 +74,7 @@ export const BookingAgendaSchema = {
|
|
|
68
74
|
story: {
|
|
69
75
|
type: 'section',
|
|
70
76
|
label: 'Our Story',
|
|
77
|
+
_sourcePath: 'layoutConfig.pages.about.story',
|
|
71
78
|
fields: {
|
|
72
79
|
content: { type: 'multiline_text', label: 'Story Content' }
|
|
73
80
|
}
|
|
@@ -77,16 +84,19 @@ export const BookingAgendaSchema = {
|
|
|
77
84
|
hero: {
|
|
78
85
|
type: 'section',
|
|
79
86
|
label: 'Contact Header',
|
|
87
|
+
_sourcePath: 'layoutConfig.pages.contact.hero',
|
|
80
88
|
fields: {}
|
|
81
89
|
},
|
|
82
90
|
form: {
|
|
83
91
|
type: 'section',
|
|
84
92
|
label: 'Contact Form',
|
|
93
|
+
_sourcePath: 'layoutConfig.pages.contact.form',
|
|
85
94
|
fields: {}
|
|
86
95
|
},
|
|
87
96
|
map: {
|
|
88
97
|
type: 'section',
|
|
89
98
|
label: 'Location Map',
|
|
99
|
+
_sourcePath: 'layoutConfig.pages.contact.map',
|
|
90
100
|
fields: {}
|
|
91
101
|
}
|
|
92
102
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/booking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"booking.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/booking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,qBAsN3B,CAAC"}
|
|
@@ -16,7 +16,7 @@ export const BookingSchema = {
|
|
|
16
16
|
label: 'Primary Button',
|
|
17
17
|
fields: {
|
|
18
18
|
text: { type: 'text', label: 'Button Text' },
|
|
19
|
-
link: { type: 'text',
|
|
19
|
+
link: { type: 'text', label: 'Button Link' }
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
secondaryButton: {
|
|
@@ -24,7 +24,7 @@ export const BookingSchema = {
|
|
|
24
24
|
label: 'Secondary Button',
|
|
25
25
|
fields: {
|
|
26
26
|
text: { type: 'text', label: 'Button Text' },
|
|
27
|
-
link: { type: 'text',
|
|
27
|
+
link: { type: 'text', label: 'Button Link' }
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -92,6 +92,7 @@ export const BookingSchema = {
|
|
|
92
92
|
hero: {
|
|
93
93
|
type: 'section',
|
|
94
94
|
label: 'About Header',
|
|
95
|
+
_sourcePath: 'layoutConfig.pages.about.hero',
|
|
95
96
|
fields: {
|
|
96
97
|
heroImage: { type: 'image', label: 'Hero Image' },
|
|
97
98
|
title: { type: 'text', label: 'Title' },
|
|
@@ -101,6 +102,7 @@ export const BookingSchema = {
|
|
|
101
102
|
story: {
|
|
102
103
|
type: 'section',
|
|
103
104
|
label: 'Our Story',
|
|
105
|
+
_sourcePath: 'layoutConfig.pages.about.story',
|
|
104
106
|
fields: {
|
|
105
107
|
content: { type: 'multiline_text', label: 'Story Content' }
|
|
106
108
|
}
|
|
@@ -110,6 +112,7 @@ export const BookingSchema = {
|
|
|
110
112
|
contactHeader: {
|
|
111
113
|
type: 'section',
|
|
112
114
|
label: 'Contact Header',
|
|
115
|
+
_sourcePath: 'layoutConfig.pages.contact.contactHeader',
|
|
113
116
|
fields: {
|
|
114
117
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
115
118
|
title: { type: 'text', label: 'Page Title' }
|
|
@@ -118,6 +121,7 @@ export const BookingSchema = {
|
|
|
118
121
|
contactForm: {
|
|
119
122
|
type: 'section',
|
|
120
123
|
label: 'Contact Form Settings',
|
|
124
|
+
_sourcePath: 'layoutConfig.pages.contact.contactForm',
|
|
121
125
|
fields: {
|
|
122
126
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
123
127
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clothing-minimal.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/clothing-minimal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"clothing-minimal.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/clothing-minimal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,qBAAqB,EAAE,qBAuOnC,CAAC"}
|
|
@@ -1,21 +1,39 @@
|
|
|
1
1
|
export const ClothingMinimalSchema = {
|
|
2
2
|
home: {
|
|
3
|
+
header: {
|
|
4
|
+
type: 'section',
|
|
5
|
+
label: 'Header Settings',
|
|
6
|
+
_sourcePath: 'layoutConfig.sections.header',
|
|
7
|
+
fields: {
|
|
8
|
+
show: { type: 'toggle', label: 'Show Header', defaultValue: true }
|
|
9
|
+
}
|
|
10
|
+
},
|
|
3
11
|
hero: {
|
|
4
12
|
type: 'section',
|
|
5
13
|
label: 'Minimal Hero Section',
|
|
6
14
|
description: 'Minimalist hero section with title and CTA',
|
|
15
|
+
_sourcePath: 'layoutConfig.sections.hero',
|
|
7
16
|
fields: {
|
|
8
17
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
9
18
|
badge: { type: 'text', label: 'Badge Text' },
|
|
10
19
|
title: { type: 'text', label: 'Title' },
|
|
11
20
|
subtitle: { type: 'text', label: 'Subtitle' },
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
primaryCTA: { type: 'text', label: 'Primary Button Text' }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
features: {
|
|
25
|
+
type: 'section',
|
|
26
|
+
label: 'Benefits Strip',
|
|
27
|
+
_sourcePath: 'layoutConfig.sections.features',
|
|
28
|
+
fields: {
|
|
29
|
+
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
30
|
+
items: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
label: 'Benefits Items',
|
|
33
|
+
itemSchema: {
|
|
34
|
+
icon: { type: 'text', label: 'Icon Name' },
|
|
35
|
+
title: { type: 'text', label: 'Benefit Title' },
|
|
36
|
+
description: { type: 'text', label: 'Benefit Description' }
|
|
19
37
|
}
|
|
20
38
|
}
|
|
21
39
|
}
|
|
@@ -23,48 +41,41 @@ export const ClothingMinimalSchema = {
|
|
|
23
41
|
categories: {
|
|
24
42
|
type: 'section',
|
|
25
43
|
label: 'Collections Grid',
|
|
44
|
+
_sourcePath: 'layoutConfig.sections.categories',
|
|
26
45
|
fields: {
|
|
27
46
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
28
47
|
title: { type: 'text', label: 'Section Title' },
|
|
29
|
-
viewAllLabel: { type: 'text', label: 'View All Label' }
|
|
30
|
-
layout: { type: 'text', label: 'Layout Style' },
|
|
31
|
-
columns: { type: 'number', label: 'Number of Columns' }
|
|
48
|
+
viewAllLabel: { type: 'text', label: 'View All Label' }
|
|
32
49
|
}
|
|
33
50
|
},
|
|
34
|
-
|
|
51
|
+
featuredProducts: {
|
|
35
52
|
type: 'section',
|
|
36
|
-
label: '
|
|
53
|
+
label: 'Featured Products',
|
|
54
|
+
_sourcePath: 'layoutConfig.sections.featuredProducts',
|
|
37
55
|
fields: {
|
|
38
56
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
39
57
|
title: { type: 'text', label: 'Section Title' },
|
|
40
|
-
|
|
58
|
+
subtitle: { type: 'text', label: 'Section Subtitle' }
|
|
41
59
|
}
|
|
42
60
|
},
|
|
43
|
-
|
|
61
|
+
about: {
|
|
44
62
|
type: 'section',
|
|
45
|
-
label: '
|
|
63
|
+
label: 'Shop The Look / About',
|
|
64
|
+
_sourcePath: 'layoutConfig.sections.about',
|
|
46
65
|
fields: {
|
|
47
66
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
48
67
|
title: { type: 'text', label: 'Section Title' },
|
|
49
|
-
|
|
50
|
-
limit: { type: 'number', label: 'Product Limit' },
|
|
51
|
-
layout: { type: 'text', label: 'Layout Style' }
|
|
68
|
+
description: { type: 'multiline_text', label: 'Description' }
|
|
52
69
|
}
|
|
53
70
|
},
|
|
54
|
-
|
|
71
|
+
promoBanner: {
|
|
55
72
|
type: 'section',
|
|
56
|
-
label: '
|
|
73
|
+
label: 'Promo Banner',
|
|
74
|
+
_sourcePath: 'layoutConfig.sections.promoBanner',
|
|
57
75
|
fields: {
|
|
58
76
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
label: 'Benefits Items',
|
|
62
|
-
itemSchema: {
|
|
63
|
-
icon: { type: 'text', label: 'Icon Name' },
|
|
64
|
-
title: { type: 'text', label: 'Benefit Title' },
|
|
65
|
-
description: { type: 'text', label: 'Benefit Description' }
|
|
66
|
-
}
|
|
67
|
-
}
|
|
77
|
+
text: { type: 'text', label: 'Banner Text' },
|
|
78
|
+
link: { type: 'text', label: 'Link URL' }
|
|
68
79
|
}
|
|
69
80
|
}
|
|
70
81
|
},
|
|
@@ -72,18 +83,18 @@ export const ClothingMinimalSchema = {
|
|
|
72
83
|
productsHeader: {
|
|
73
84
|
type: 'section',
|
|
74
85
|
label: 'Products Header',
|
|
86
|
+
_sourcePath: 'layoutConfig.pages.products.productsHeader',
|
|
75
87
|
fields: {
|
|
76
88
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
77
|
-
title: { type: 'text', label: 'Page Title' }
|
|
78
|
-
layout: { type: 'text', label: 'Layout Style' }
|
|
89
|
+
title: { type: 'text', label: 'Page Title' }
|
|
79
90
|
}
|
|
80
91
|
},
|
|
81
92
|
productsGrid: {
|
|
82
93
|
type: 'section',
|
|
83
94
|
label: 'Products Grid',
|
|
95
|
+
_sourcePath: 'layoutConfig.pages.products.productsGrid',
|
|
84
96
|
fields: {
|
|
85
|
-
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
86
|
-
layout: { type: 'text', label: 'Layout Style' }
|
|
97
|
+
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
87
98
|
}
|
|
88
99
|
}
|
|
89
100
|
},
|
|
@@ -91,8 +102,8 @@ export const ClothingMinimalSchema = {
|
|
|
91
102
|
productDetail: {
|
|
92
103
|
type: 'section',
|
|
93
104
|
label: 'Product Detail Settings',
|
|
105
|
+
_sourcePath: 'layoutConfig.pages.productDetail.productDetail',
|
|
94
106
|
fields: {
|
|
95
|
-
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
96
107
|
showAddToCart: { type: 'toggle', label: 'Show Add to Cart' },
|
|
97
108
|
showWishlist: { type: 'toggle', label: 'Show Wishlist' },
|
|
98
109
|
showSizeGuide: { type: 'toggle', label: 'Show Size Guide' },
|
|
@@ -105,6 +116,7 @@ export const ClothingMinimalSchema = {
|
|
|
105
116
|
categoriesHeader: {
|
|
106
117
|
type: 'section',
|
|
107
118
|
label: 'Categories Header',
|
|
119
|
+
_sourcePath: 'layoutConfig.pages.categories.categoriesHeader',
|
|
108
120
|
fields: {
|
|
109
121
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
110
122
|
title: { type: 'text', label: 'Page Title' },
|
|
@@ -114,6 +126,7 @@ export const ClothingMinimalSchema = {
|
|
|
114
126
|
categoryGrid: {
|
|
115
127
|
type: 'section',
|
|
116
128
|
label: 'Category Grid',
|
|
129
|
+
_sourcePath: 'layoutConfig.pages.categories.categoryGrid',
|
|
117
130
|
fields: {
|
|
118
131
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
119
132
|
showImages: { type: 'toggle', label: 'Show Category Images' },
|
|
@@ -125,12 +138,11 @@ export const ClothingMinimalSchema = {
|
|
|
125
138
|
categoryDetail: {
|
|
126
139
|
type: 'section',
|
|
127
140
|
label: 'Category Detail Settings',
|
|
141
|
+
_sourcePath: 'layoutConfig.pages.categoryDetail.categoryDetail',
|
|
128
142
|
fields: {
|
|
129
|
-
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
130
143
|
showBanner: { type: 'toggle', label: 'Show Banner Image' },
|
|
131
144
|
showDescription: { type: 'toggle', label: 'Show Category Description' },
|
|
132
145
|
showProducts: { type: 'toggle', label: 'Show Products' },
|
|
133
|
-
showServices: { type: 'toggle', label: 'Show Services' },
|
|
134
146
|
showFilters: { type: 'toggle', label: 'Show Filters' }
|
|
135
147
|
}
|
|
136
148
|
}
|
|
@@ -139,6 +151,7 @@ export const ClothingMinimalSchema = {
|
|
|
139
151
|
aboutHeader: {
|
|
140
152
|
type: 'section',
|
|
141
153
|
label: 'About Header',
|
|
154
|
+
_sourcePath: 'layoutConfig.pages.about.aboutHeader',
|
|
142
155
|
fields: {
|
|
143
156
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
144
157
|
title: { type: 'text', label: 'Title' },
|
|
@@ -149,6 +162,7 @@ export const ClothingMinimalSchema = {
|
|
|
149
162
|
aboutContent: {
|
|
150
163
|
type: 'section',
|
|
151
164
|
label: 'Our Story',
|
|
165
|
+
_sourcePath: 'layoutConfig.pages.about.aboutContent',
|
|
152
166
|
fields: {
|
|
153
167
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
154
168
|
content: { type: 'multiline_text', label: 'Story Content' }
|
|
@@ -157,6 +171,7 @@ export const ClothingMinimalSchema = {
|
|
|
157
171
|
statsSection: {
|
|
158
172
|
type: 'section',
|
|
159
173
|
label: 'Stats Section',
|
|
174
|
+
_sourcePath: 'layoutConfig.pages.about.statsSection',
|
|
160
175
|
fields: {
|
|
161
176
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
162
177
|
}
|
|
@@ -164,6 +179,7 @@ export const ClothingMinimalSchema = {
|
|
|
164
179
|
contactSection: {
|
|
165
180
|
type: 'section',
|
|
166
181
|
label: 'Contact Info Section',
|
|
182
|
+
_sourcePath: 'layoutConfig.pages.about.contactSection',
|
|
167
183
|
fields: {
|
|
168
184
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
169
185
|
}
|
|
@@ -173,6 +189,7 @@ export const ClothingMinimalSchema = {
|
|
|
173
189
|
contactHeader: {
|
|
174
190
|
type: 'section',
|
|
175
191
|
label: 'Contact Header',
|
|
192
|
+
_sourcePath: 'layoutConfig.pages.contact.contactHeader',
|
|
176
193
|
fields: {
|
|
177
194
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
178
195
|
title: { type: 'text', label: 'Title' },
|
|
@@ -183,11 +200,12 @@ export const ClothingMinimalSchema = {
|
|
|
183
200
|
contactForm: {
|
|
184
201
|
type: 'section',
|
|
185
202
|
label: 'Form & Visual Settings',
|
|
203
|
+
_sourcePath: 'layoutConfig.pages.contact.contactForm',
|
|
186
204
|
fields: {
|
|
187
|
-
showForm: { type: 'toggle', label: 'Show Contact Form' },
|
|
188
|
-
showMap: { type: 'toggle', label: 'Show Map Section' },
|
|
189
|
-
showHours: { type: 'toggle', label: 'Show Opening Hours' },
|
|
190
|
-
showSocialLinks: { type: 'toggle', label: 'Show Social Links' }
|
|
205
|
+
showForm: { type: 'toggle', label: 'Show Contact Form', defaultValue: true },
|
|
206
|
+
showMap: { type: 'toggle', label: 'Show Map Section', defaultValue: true },
|
|
207
|
+
showHours: { type: 'toggle', label: 'Show Opening Hours', defaultValue: true },
|
|
208
|
+
showSocialLinks: { type: 'toggle', label: 'Show Social Links', defaultValue: true }
|
|
191
209
|
}
|
|
192
210
|
}
|
|
193
211
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electronics-grid.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/electronics-grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"electronics-grid.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/electronics-grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,qBAAqB,EAAE,qBA0FnC,CAAC"}
|
|
@@ -25,12 +25,22 @@ export const ElectronicsGridSchema = {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
},
|
|
29
|
+
products: {
|
|
30
|
+
type: 'section',
|
|
31
|
+
label: 'Product Listing',
|
|
32
|
+
_sourcePath: 'layoutConfig.sections.products',
|
|
33
|
+
fields: {
|
|
34
|
+
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
35
|
+
title: { type: 'text', label: 'Section Title' }
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
},
|
|
30
39
|
about: {
|
|
31
40
|
hero: {
|
|
32
41
|
type: 'section',
|
|
33
42
|
label: 'About Header',
|
|
43
|
+
_sourcePath: 'layoutConfig.pages.about.hero',
|
|
34
44
|
fields: {
|
|
35
45
|
heroImage: { type: 'image', label: 'Hero Image' },
|
|
36
46
|
title: { type: 'text', label: 'Title' },
|
|
@@ -40,6 +50,7 @@ export const ElectronicsGridSchema = {
|
|
|
40
50
|
story: {
|
|
41
51
|
type: 'section',
|
|
42
52
|
label: 'Our Story',
|
|
53
|
+
_sourcePath: 'layoutConfig.pages.about.story',
|
|
43
54
|
fields: {
|
|
44
55
|
content: { type: 'multiline_text', label: 'Story Content' }
|
|
45
56
|
}
|
|
@@ -47,11 +58,13 @@ export const ElectronicsGridSchema = {
|
|
|
47
58
|
stats: {
|
|
48
59
|
type: 'section',
|
|
49
60
|
label: 'Statistics',
|
|
61
|
+
_sourcePath: 'layoutConfig.pages.about.stats',
|
|
50
62
|
fields: {}
|
|
51
63
|
},
|
|
52
64
|
'contact-info': {
|
|
53
65
|
type: 'section',
|
|
54
66
|
label: 'Contact Info',
|
|
67
|
+
_sourcePath: 'layoutConfig.pages.about.contact-info',
|
|
55
68
|
fields: {}
|
|
56
69
|
}
|
|
57
70
|
},
|
|
@@ -59,16 +72,19 @@ export const ElectronicsGridSchema = {
|
|
|
59
72
|
hero: {
|
|
60
73
|
type: 'section',
|
|
61
74
|
label: 'Contact Header',
|
|
75
|
+
_sourcePath: 'layoutConfig.pages.contact.hero',
|
|
62
76
|
fields: {}
|
|
63
77
|
},
|
|
64
78
|
form: {
|
|
65
79
|
type: 'section',
|
|
66
80
|
label: 'Contact Form',
|
|
81
|
+
_sourcePath: 'layoutConfig.pages.contact.form',
|
|
67
82
|
fields: {}
|
|
68
83
|
},
|
|
69
84
|
map: {
|
|
70
85
|
type: 'section',
|
|
71
86
|
label: 'Location Map',
|
|
87
|
+
_sourcePath: 'layoutConfig.pages.contact.map',
|
|
72
88
|
fields: {}
|
|
73
89
|
}
|
|
74
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electronics.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/electronics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"electronics.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/electronics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,iBAAiB,EAAE,qBA8H/B,CAAC"}
|
|
@@ -76,6 +76,7 @@ export const ElectronicsSchema = {
|
|
|
76
76
|
hero: {
|
|
77
77
|
type: 'section',
|
|
78
78
|
label: 'About Header',
|
|
79
|
+
_sourcePath: 'layoutConfig.pages.about.hero',
|
|
79
80
|
fields: {
|
|
80
81
|
heroImage: { type: 'image', label: 'Hero Image' },
|
|
81
82
|
title: { type: 'text', label: 'Title' },
|
|
@@ -85,6 +86,7 @@ export const ElectronicsSchema = {
|
|
|
85
86
|
story: {
|
|
86
87
|
type: 'section',
|
|
87
88
|
label: 'Our Story',
|
|
89
|
+
_sourcePath: 'layoutConfig.pages.about.story',
|
|
88
90
|
fields: {
|
|
89
91
|
content: { type: 'multiline_text', label: 'Story Content' }
|
|
90
92
|
}
|
|
@@ -92,11 +94,13 @@ export const ElectronicsSchema = {
|
|
|
92
94
|
stats: {
|
|
93
95
|
type: 'section',
|
|
94
96
|
label: 'Statistics',
|
|
97
|
+
_sourcePath: 'layoutConfig.pages.about.stats',
|
|
95
98
|
fields: {}
|
|
96
99
|
},
|
|
97
100
|
'contact-info': {
|
|
98
101
|
type: 'section',
|
|
99
102
|
label: 'Contact Info',
|
|
103
|
+
_sourcePath: 'layoutConfig.pages.about.contact-info',
|
|
100
104
|
fields: {}
|
|
101
105
|
}
|
|
102
106
|
},
|
|
@@ -104,16 +108,19 @@ export const ElectronicsSchema = {
|
|
|
104
108
|
hero: {
|
|
105
109
|
type: 'section',
|
|
106
110
|
label: 'Contact Header',
|
|
111
|
+
_sourcePath: 'layoutConfig.pages.contact.hero',
|
|
107
112
|
fields: {}
|
|
108
113
|
},
|
|
109
114
|
form: {
|
|
110
115
|
type: 'section',
|
|
111
116
|
label: 'Contact Form',
|
|
117
|
+
_sourcePath: 'layoutConfig.pages.contact.form',
|
|
112
118
|
fields: {}
|
|
113
119
|
},
|
|
114
120
|
map: {
|
|
115
121
|
type: 'section',
|
|
116
122
|
label: 'Location Map',
|
|
123
|
+
_sourcePath: 'layoutConfig.pages.contact.map',
|
|
117
124
|
fields: {}
|
|
118
125
|
}
|
|
119
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"food-modern.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/food-modern.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"food-modern.d.ts","sourceRoot":"","sources":["../../../src/editor/alignment-schemas/food-modern.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,EAAE,qBAkL9B,CAAC"}
|
|
@@ -3,6 +3,7 @@ export const FoodModernSchema = {
|
|
|
3
3
|
hero: {
|
|
4
4
|
type: 'section',
|
|
5
5
|
label: 'Hero Section',
|
|
6
|
+
_sourcePath: 'layoutConfig.sections.hero',
|
|
6
7
|
fields: {
|
|
7
8
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
8
9
|
videoUrl: { type: 'text', label: 'Background Video URL' },
|
|
@@ -25,6 +26,7 @@ export const FoodModernSchema = {
|
|
|
25
26
|
about: {
|
|
26
27
|
type: 'section',
|
|
27
28
|
label: 'About / Philosophy',
|
|
29
|
+
_sourcePath: 'layoutConfig.sections.about',
|
|
28
30
|
fields: {
|
|
29
31
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
30
32
|
image: { type: 'image', label: 'About Image' },
|
|
@@ -40,6 +42,7 @@ export const FoodModernSchema = {
|
|
|
40
42
|
menuGrid: {
|
|
41
43
|
type: 'section',
|
|
42
44
|
label: 'Featured Dishes',
|
|
45
|
+
_sourcePath: 'layoutConfig.sections.menuGrid',
|
|
43
46
|
fields: {
|
|
44
47
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
45
48
|
title: { type: 'text', label: 'Section Title' },
|
|
@@ -50,6 +53,7 @@ export const FoodModernSchema = {
|
|
|
50
53
|
testimonials: {
|
|
51
54
|
type: 'section',
|
|
52
55
|
label: 'Guest Stories',
|
|
56
|
+
_sourcePath: 'layoutConfig.sections.testimonials',
|
|
53
57
|
fields: {
|
|
54
58
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
55
59
|
title: { type: 'text', label: 'Section Title' },
|
|
@@ -75,6 +79,7 @@ export const FoodModernSchema = {
|
|
|
75
79
|
menuHeader: {
|
|
76
80
|
type: 'section',
|
|
77
81
|
label: 'Menu Header',
|
|
82
|
+
_sourcePath: 'layoutConfig.pages.menu.menuHeader',
|
|
78
83
|
fields: {
|
|
79
84
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
80
85
|
title: { type: 'text', label: 'Page Title' },
|
|
@@ -84,6 +89,7 @@ export const FoodModernSchema = {
|
|
|
84
89
|
menuGrid: {
|
|
85
90
|
type: 'section',
|
|
86
91
|
label: 'Menu Grid',
|
|
92
|
+
_sourcePath: 'layoutConfig.pages.menu.menuGrid',
|
|
87
93
|
fields: {
|
|
88
94
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
89
95
|
layout: {
|
|
@@ -103,6 +109,7 @@ export const FoodModernSchema = {
|
|
|
103
109
|
productsHeader: {
|
|
104
110
|
type: 'section',
|
|
105
111
|
label: 'Products Header',
|
|
112
|
+
_sourcePath: 'layoutConfig.pages.products.productsHeader',
|
|
106
113
|
fields: {
|
|
107
114
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
108
115
|
title: { type: 'text', label: 'Page Title' }
|
|
@@ -111,6 +118,7 @@ export const FoodModernSchema = {
|
|
|
111
118
|
productsGrid: {
|
|
112
119
|
type: 'section',
|
|
113
120
|
label: 'Products Grid',
|
|
121
|
+
_sourcePath: 'layoutConfig.pages.products.productsGrid',
|
|
114
122
|
fields: {
|
|
115
123
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
116
124
|
}
|
|
@@ -120,6 +128,7 @@ export const FoodModernSchema = {
|
|
|
120
128
|
productDetail: {
|
|
121
129
|
type: 'section',
|
|
122
130
|
label: 'Product Detail Settings',
|
|
131
|
+
_sourcePath: 'layoutConfig.pages.productDetail.productDetail',
|
|
123
132
|
fields: {
|
|
124
133
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
125
134
|
}
|
|
@@ -129,6 +138,7 @@ export const FoodModernSchema = {
|
|
|
129
138
|
categoryGrid: {
|
|
130
139
|
type: 'section',
|
|
131
140
|
label: 'Category Grid',
|
|
141
|
+
_sourcePath: 'layoutConfig.pages.categories.categoryGrid',
|
|
132
142
|
fields: {
|
|
133
143
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
134
144
|
}
|
|
@@ -138,6 +148,7 @@ export const FoodModernSchema = {
|
|
|
138
148
|
categoryDetail: {
|
|
139
149
|
type: 'section',
|
|
140
150
|
label: 'Category Detail Settings',
|
|
151
|
+
_sourcePath: 'layoutConfig.pages.categoryDetail.categoryDetail',
|
|
141
152
|
fields: {
|
|
142
153
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true }
|
|
143
154
|
}
|
|
@@ -147,6 +158,7 @@ export const FoodModernSchema = {
|
|
|
147
158
|
aboutPage: {
|
|
148
159
|
type: 'section',
|
|
149
160
|
label: 'About Page Settings',
|
|
161
|
+
_sourcePath: 'layoutConfig.pages.about.aboutPage',
|
|
150
162
|
fields: {
|
|
151
163
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
152
164
|
title: { type: 'text', label: 'Page Title' }
|
|
@@ -157,6 +169,7 @@ export const FoodModernSchema = {
|
|
|
157
169
|
contactPage: {
|
|
158
170
|
type: 'section',
|
|
159
171
|
label: 'Contact Page Settings',
|
|
172
|
+
_sourcePath: 'layoutConfig.pages.contact.contactPage',
|
|
160
173
|
fields: {
|
|
161
174
|
show: { type: 'toggle', label: 'Show Section', defaultValue: true },
|
|
162
175
|
title: { type: 'text', label: 'Page Title' }
|