payaza-storefront-layouts 1.0.24 → 1.0.25
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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/preview/LayoutPreview.d.ts.map +1 -1
- package/dist/preview/LayoutPreview.js +13 -1
- package/dist/requirements/booking-agenda-requirements.json +598 -0
- package/dist/requirements/booking-requirements.json +807 -0
- package/dist/requirements/clothing-minimal-requirements.json +394 -0
- package/dist/requirements/clothing-requirements.json +719 -0
- package/dist/requirements/electronics-grid-requirements.json +599 -0
- package/dist/requirements/electronics-requirements.json +552 -0
- package/dist/requirements/food-modern-requirements.json +635 -0
- package/dist/requirements/food-requirements.json +808 -0
- package/dist/requirements/motivational-speaker-requirements.json +713 -0
- package/dist/requirements/requirements-map.d.ts +7 -0
- package/dist/requirements/requirements-map.d.ts.map +1 -0
- package/dist/requirements/requirements-map.js +36 -0
- package/package.json +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export { TermsPage } from './layouts/shared/pages/TermsPage';
|
|
|
114
114
|
export { TrackOrderPage } from './layouts/shared/pages/TrackOrderPage';
|
|
115
115
|
export { WishlistPage } from './layouts/shared/pages/WishlistPage';
|
|
116
116
|
export { getLayoutJSON, layoutJSONMap } from './json/json-map';
|
|
117
|
+
export { getLayoutRequirements, layoutRequirementsMap } from './requirements/requirements-map';
|
|
117
118
|
export { ToastProvider, useToast } from './components/ui/toast';
|
|
118
119
|
export { StoreProvider, useStore } from './lib/store-context';
|
|
119
120
|
export { LoadingProvider, useLoading } from './lib/loading-context';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAE,YAAY,EAAE,MAAM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,EACzB,iCAAiC,EACjC,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -126,6 +126,8 @@ export { TrackOrderPage } from './layouts/shared/pages/TrackOrderPage';
|
|
|
126
126
|
export { WishlistPage } from './layouts/shared/pages/WishlistPage';
|
|
127
127
|
// JSON utilities
|
|
128
128
|
export { getLayoutJSON, layoutJSONMap } from './json/json-map';
|
|
129
|
+
// Requirements utilities
|
|
130
|
+
export { getLayoutRequirements, layoutRequirementsMap } from './requirements/requirements-map';
|
|
129
131
|
// Context Providers and Hooks
|
|
130
132
|
export { ToastProvider, useToast } from './components/ui/toast';
|
|
131
133
|
export { StoreProvider, useStore } from './lib/store-context';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutPreview.d.ts","sourceRoot":"","sources":["../../src/preview/LayoutPreview.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASjE,UAAU,kBAAkB;IAC1B,MAAM,EAAE,eAAe,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B;
|
|
1
|
+
{"version":3,"file":"LayoutPreview.d.ts","sourceRoot":"","sources":["../../src/preview/LayoutPreview.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AASjE,UAAU,kBAAkB;IAC1B,MAAM,EAAE,eAAe,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B;AAsMD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAEtD"}
|
|
@@ -21,7 +21,19 @@ function LayoutPreviewWithRouter({ layout, className, initialRoute, onRouteChang
|
|
|
21
21
|
const [currentRoute, setCurrentRoute] = useState(initialRoute || '/');
|
|
22
22
|
const [isClient, setIsClient] = useState(false);
|
|
23
23
|
// Get preview data for the specified layout
|
|
24
|
-
|
|
24
|
+
// If config is provided, use it but ensure layout property matches the layout prop
|
|
25
|
+
// This ensures PreviewRouter renders the correct pages
|
|
26
|
+
let previewData = null;
|
|
27
|
+
if (config) {
|
|
28
|
+
// Ensure config.layout matches the layout prop for consistency
|
|
29
|
+
previewData = {
|
|
30
|
+
...config,
|
|
31
|
+
layout: config.layout || layout, // Use config.layout if set, otherwise fallback to layout prop
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
previewData = getPreviewDataByLayout(layout);
|
|
36
|
+
}
|
|
25
37
|
// Helper function to normalize and decode route from URL
|
|
26
38
|
const getRouteFromUrl = useCallback(() => {
|
|
27
39
|
if (typeof window === 'undefined')
|
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pageSummary": {
|
|
3
|
+
"home": {
|
|
4
|
+
"description": "Main landing page with promo card, services, and calendar booking interface",
|
|
5
|
+
"sections": [
|
|
6
|
+
"hero",
|
|
7
|
+
"services",
|
|
8
|
+
"testimonials",
|
|
9
|
+
"marketing"
|
|
10
|
+
],
|
|
11
|
+
"assets": [
|
|
12
|
+
"promo_image",
|
|
13
|
+
"seasonal_promo_banner"
|
|
14
|
+
],
|
|
15
|
+
"textRequirements": [
|
|
16
|
+
"hero",
|
|
17
|
+
"sections.services",
|
|
18
|
+
"sections.testimonials",
|
|
19
|
+
"sections.marketing"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"book": {
|
|
23
|
+
"description": "Booking page with calendar view and time slot selection",
|
|
24
|
+
"sections": [
|
|
25
|
+
"services"
|
|
26
|
+
],
|
|
27
|
+
"assets": [],
|
|
28
|
+
"textRequirements": [
|
|
29
|
+
"sections.services"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"services": {
|
|
33
|
+
"description": "All services listing page",
|
|
34
|
+
"sections": [],
|
|
35
|
+
"assets": [],
|
|
36
|
+
"textRequirements": []
|
|
37
|
+
},
|
|
38
|
+
"about": {
|
|
39
|
+
"description": "About page with team information",
|
|
40
|
+
"sections": [
|
|
41
|
+
"about"
|
|
42
|
+
],
|
|
43
|
+
"assets": [],
|
|
44
|
+
"textRequirements": []
|
|
45
|
+
},
|
|
46
|
+
"contact": {
|
|
47
|
+
"description": "Contact page with form and location information",
|
|
48
|
+
"sections": [
|
|
49
|
+
"contact"
|
|
50
|
+
],
|
|
51
|
+
"assets": [],
|
|
52
|
+
"textRequirements": []
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"pages": [
|
|
56
|
+
{
|
|
57
|
+
"id": "home",
|
|
58
|
+
"label": "Home",
|
|
59
|
+
"description": "Main landing page with promo card, services, and calendar booking interface",
|
|
60
|
+
"editable": true,
|
|
61
|
+
"layoutSpecific": true,
|
|
62
|
+
"path": "/"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "book",
|
|
66
|
+
"label": "Book Appointment",
|
|
67
|
+
"description": "Booking page with calendar view and time slot selection",
|
|
68
|
+
"editable": true,
|
|
69
|
+
"layoutSpecific": true,
|
|
70
|
+
"path": "/book"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "services",
|
|
74
|
+
"label": "Services",
|
|
75
|
+
"description": "All services listing page",
|
|
76
|
+
"editable": false,
|
|
77
|
+
"layoutSpecific": true,
|
|
78
|
+
"path": "/services"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "about",
|
|
82
|
+
"label": "About Us",
|
|
83
|
+
"description": "About page with team information",
|
|
84
|
+
"editable": true,
|
|
85
|
+
"layoutSpecific": true,
|
|
86
|
+
"path": "/about"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "contact",
|
|
90
|
+
"label": "Contact",
|
|
91
|
+
"description": "Contact page with form and location information",
|
|
92
|
+
"editable": true,
|
|
93
|
+
"layoutSpecific": true,
|
|
94
|
+
"path": "/contact"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "categories",
|
|
98
|
+
"label": "Categories",
|
|
99
|
+
"description": "All service categories listing page",
|
|
100
|
+
"editable": false,
|
|
101
|
+
"layoutSpecific": true,
|
|
102
|
+
"path": "/categories"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "category",
|
|
106
|
+
"label": "Category",
|
|
107
|
+
"description": "Individual category page",
|
|
108
|
+
"editable": false,
|
|
109
|
+
"layoutSpecific": true,
|
|
110
|
+
"path": "/category/[slug]"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "product-detail",
|
|
114
|
+
"label": "Service Detail",
|
|
115
|
+
"description": "Individual service detail page",
|
|
116
|
+
"editable": false,
|
|
117
|
+
"layoutSpecific": true,
|
|
118
|
+
"path": "/service/[slug]"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "faq",
|
|
122
|
+
"label": "FAQ",
|
|
123
|
+
"description": "Frequently asked questions page",
|
|
124
|
+
"editable": true,
|
|
125
|
+
"layoutSpecific": false,
|
|
126
|
+
"informational": true,
|
|
127
|
+
"path": "/faq"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "shipping-info",
|
|
131
|
+
"label": "Shipping Information",
|
|
132
|
+
"description": "Shipping and delivery information page",
|
|
133
|
+
"editable": true,
|
|
134
|
+
"layoutSpecific": false,
|
|
135
|
+
"informational": true,
|
|
136
|
+
"path": "/shipping-info"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"assets": [
|
|
140
|
+
{
|
|
141
|
+
"key": "promo_image",
|
|
142
|
+
"label": "Promo Card Image",
|
|
143
|
+
"description": "Image for the featured promotional package card.",
|
|
144
|
+
"type": "image",
|
|
145
|
+
"recommendedDimensions": "1200x800",
|
|
146
|
+
"required": true,
|
|
147
|
+
"pages": [
|
|
148
|
+
"home"
|
|
149
|
+
],
|
|
150
|
+
"textElements": [
|
|
151
|
+
{
|
|
152
|
+
"key": "promo_title",
|
|
153
|
+
"label": "Promo Title",
|
|
154
|
+
"required": true,
|
|
155
|
+
"defaultValue": "Special Package"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"key": "promo_desc",
|
|
159
|
+
"label": "Promo Description",
|
|
160
|
+
"required": true,
|
|
161
|
+
"defaultValue": "Book your appointment today"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"key": "cta_link",
|
|
165
|
+
"label": "Link Text",
|
|
166
|
+
"required": true,
|
|
167
|
+
"defaultValue": "Book Now"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"key": "seasonal_promo_banner",
|
|
173
|
+
"label": "Seasonal Promotion Banner",
|
|
174
|
+
"description": "High-impact banner for Black Friday or seasonal sales.",
|
|
175
|
+
"type": "image",
|
|
176
|
+
"recommendedDimensions": "1920x600",
|
|
177
|
+
"required": false,
|
|
178
|
+
"pages": [
|
|
179
|
+
"home"
|
|
180
|
+
],
|
|
181
|
+
"textElements": [
|
|
182
|
+
{
|
|
183
|
+
"key": "promo_headline",
|
|
184
|
+
"label": "Promotion Headline",
|
|
185
|
+
"description": "e.g., Black Friday Madness",
|
|
186
|
+
"required": true,
|
|
187
|
+
"defaultValue": "Special Promotion"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"key": "promo_subhead",
|
|
191
|
+
"label": "Subheadline",
|
|
192
|
+
"description": "e.g., 50% Off Everything",
|
|
193
|
+
"required": false,
|
|
194
|
+
"defaultValue": "Limited time offer"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"key": "cta_text",
|
|
198
|
+
"label": "Button Text",
|
|
199
|
+
"required": true,
|
|
200
|
+
"defaultValue": "Shop Now"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"key": "category_header",
|
|
206
|
+
"label": "Category Page Header",
|
|
207
|
+
"description": "Default banner image for category pages.",
|
|
208
|
+
"type": "image",
|
|
209
|
+
"recommendedDimensions": "1920x400",
|
|
210
|
+
"required": false,
|
|
211
|
+
"textElements": [
|
|
212
|
+
{
|
|
213
|
+
"key": "title",
|
|
214
|
+
"label": "Default Title",
|
|
215
|
+
"required": false
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"key": "checkout_header",
|
|
221
|
+
"label": "Checkout Page Header",
|
|
222
|
+
"description": "Banner image for the checkout flow.",
|
|
223
|
+
"type": "image",
|
|
224
|
+
"recommendedDimensions": "1920x300",
|
|
225
|
+
"required": false,
|
|
226
|
+
"textElements": [
|
|
227
|
+
{
|
|
228
|
+
"key": "title",
|
|
229
|
+
"label": "Checkout Title",
|
|
230
|
+
"required": true
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"categories": {
|
|
236
|
+
"recommendedCount": 2,
|
|
237
|
+
"minimumCount": 2,
|
|
238
|
+
"description": "Service categories for organizing services.",
|
|
239
|
+
"requiredFields": [
|
|
240
|
+
"name"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"services": {
|
|
244
|
+
"recommendedCount": 2,
|
|
245
|
+
"minimumCount": 2,
|
|
246
|
+
"description": "Detailed list of services with booking slots.",
|
|
247
|
+
"requiredFields": [
|
|
248
|
+
"image",
|
|
249
|
+
"price",
|
|
250
|
+
"duration",
|
|
251
|
+
"provider"
|
|
252
|
+
],
|
|
253
|
+
"minimumRequiredFields": [
|
|
254
|
+
"image",
|
|
255
|
+
"price",
|
|
256
|
+
"duration",
|
|
257
|
+
"provider"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"promotions": {
|
|
261
|
+
"description": "Built-in support for seasonal sales campaigns.",
|
|
262
|
+
"features": [
|
|
263
|
+
"countdown_timer",
|
|
264
|
+
"sale_badges",
|
|
265
|
+
"strike_through_pricing"
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
"features": [
|
|
269
|
+
"calendar_booking",
|
|
270
|
+
"payaza_checkout",
|
|
271
|
+
"sidebar_nav",
|
|
272
|
+
"provider_carousel"
|
|
273
|
+
],
|
|
274
|
+
"textRequirements": {
|
|
275
|
+
"hero": [
|
|
276
|
+
{
|
|
277
|
+
"key": "hero_badge",
|
|
278
|
+
"label": "Hero Badge",
|
|
279
|
+
"description": "Badge text displayed above hero title",
|
|
280
|
+
"required": false
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"key": "hero_title",
|
|
284
|
+
"label": "Hero Title",
|
|
285
|
+
"description": "Main hero title",
|
|
286
|
+
"required": true
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"key": "hero_subtitle",
|
|
290
|
+
"label": "Hero Subtitle",
|
|
291
|
+
"description": "Hero subtitle/description",
|
|
292
|
+
"required": false
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"sections": {
|
|
296
|
+
"services": [
|
|
297
|
+
{
|
|
298
|
+
"key": "sections.services.title",
|
|
299
|
+
"label": "Services Section Title",
|
|
300
|
+
"description": "Title for the services section",
|
|
301
|
+
"required": false
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"key": "sections.services.subtitle",
|
|
305
|
+
"label": "Services Section Subtitle",
|
|
306
|
+
"description": "Subtitle for the services section",
|
|
307
|
+
"required": false
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"key": "sections.services.viewAll",
|
|
311
|
+
"label": "View All Services",
|
|
312
|
+
"description": "Link text to view all services",
|
|
313
|
+
"required": false
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"testimonials": [
|
|
317
|
+
{
|
|
318
|
+
"key": "sections.testimonials.title",
|
|
319
|
+
"label": "Testimonials Section Title",
|
|
320
|
+
"description": "Title for the testimonials section",
|
|
321
|
+
"required": false,
|
|
322
|
+
"defaultValue": "What Our Clients Say"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"key": "sections.testimonials.subtitle",
|
|
326
|
+
"label": "Testimonials Section Subtitle",
|
|
327
|
+
"description": "Subtitle for the testimonials section",
|
|
328
|
+
"required": false
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"marketing": {
|
|
332
|
+
"promoBanner": [
|
|
333
|
+
{
|
|
334
|
+
"key": "sections.marketing.promoBanner.title",
|
|
335
|
+
"label": "Promo Banner Title",
|
|
336
|
+
"description": "Title for the promotional banner",
|
|
337
|
+
"required": false,
|
|
338
|
+
"defaultValue": "Special Offer"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"key": "sections.marketing.promoBanner.subtitle",
|
|
342
|
+
"label": "Promo Banner Subtitle",
|
|
343
|
+
"description": "Subtitle for the promotional banner",
|
|
344
|
+
"required": false,
|
|
345
|
+
"defaultValue": "Book your appointment today"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"key": "sections.marketing.promoBanner.button",
|
|
349
|
+
"label": "Promo Banner Button",
|
|
350
|
+
"description": "Button text for the promotional banner",
|
|
351
|
+
"required": false,
|
|
352
|
+
"defaultValue": "Book Now"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"key": "sections.marketing.promoBanner.buttonLink",
|
|
356
|
+
"label": "Promo Banner Button Link",
|
|
357
|
+
"description": "Link URL for the promotional banner button",
|
|
358
|
+
"required": false
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
},
|
|
362
|
+
"promo": [
|
|
363
|
+
{
|
|
364
|
+
"key": "promo_badge",
|
|
365
|
+
"label": "Promo Badge",
|
|
366
|
+
"description": "Badge text for promotional banner",
|
|
367
|
+
"required": false
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"key": "promo_title",
|
|
371
|
+
"label": "Promo Title",
|
|
372
|
+
"description": "Title for promotional banner",
|
|
373
|
+
"required": false
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"key": "promo_desc",
|
|
377
|
+
"label": "Promo Description",
|
|
378
|
+
"description": "Description for promotional banner",
|
|
379
|
+
"required": false
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"experts": [
|
|
383
|
+
{
|
|
384
|
+
"key": "experts_section_title",
|
|
385
|
+
"label": "Experts Section Title",
|
|
386
|
+
"description": "Title for the experts/providers section",
|
|
387
|
+
"required": false
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"key": "experts_view_all",
|
|
391
|
+
"label": "View All Experts",
|
|
392
|
+
"description": "Link text to view all experts",
|
|
393
|
+
"required": false
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
"footer": [
|
|
398
|
+
{
|
|
399
|
+
"key": "footer_newsletter_title",
|
|
400
|
+
"label": "Newsletter Title",
|
|
401
|
+
"description": "Title for newsletter subscription section",
|
|
402
|
+
"required": false
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"key": "footer_newsletter_subtitle",
|
|
406
|
+
"label": "Newsletter Subtitle",
|
|
407
|
+
"description": "Subtitle for newsletter section",
|
|
408
|
+
"required": false
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"key": "footer_newsletter_placeholder",
|
|
412
|
+
"label": "Newsletter Placeholder",
|
|
413
|
+
"description": "Placeholder text for email input",
|
|
414
|
+
"required": false
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"key": "footer_newsletter_button",
|
|
418
|
+
"label": "Newsletter Button",
|
|
419
|
+
"description": "Subscribe button text",
|
|
420
|
+
"required": false
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"key": "footer_newsletter_disclaimer",
|
|
424
|
+
"label": "Newsletter Disclaimer",
|
|
425
|
+
"description": "Disclaimer text for newsletter",
|
|
426
|
+
"required": false
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"key": "footer_links_privacy",
|
|
430
|
+
"label": "Privacy Policy Link",
|
|
431
|
+
"description": "Privacy policy link text",
|
|
432
|
+
"required": false
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"header": [
|
|
436
|
+
{
|
|
437
|
+
"key": "header_search_placeholder",
|
|
438
|
+
"label": "Search Placeholder",
|
|
439
|
+
"description": "Placeholder text for search input",
|
|
440
|
+
"required": false
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"common": [
|
|
444
|
+
{
|
|
445
|
+
"key": "common_shopNow",
|
|
446
|
+
"label": "Shop Now",
|
|
447
|
+
"description": "Shop Now button text",
|
|
448
|
+
"required": false
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"key": "common_viewAll",
|
|
452
|
+
"label": "View All",
|
|
453
|
+
"description": "View All link text",
|
|
454
|
+
"required": false
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"key": "common_login",
|
|
458
|
+
"label": "Log In",
|
|
459
|
+
"description": "Log In button text",
|
|
460
|
+
"required": false
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"key": "common_signup",
|
|
464
|
+
"label": "Sign Up",
|
|
465
|
+
"description": "Sign Up button text",
|
|
466
|
+
"required": false
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"key": "common_account",
|
|
470
|
+
"label": "My Account",
|
|
471
|
+
"description": "My Account text",
|
|
472
|
+
"required": false
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"deepPages": {
|
|
476
|
+
"booking": [
|
|
477
|
+
{
|
|
478
|
+
"key": "booking_page_title",
|
|
479
|
+
"label": "Booking Page Title",
|
|
480
|
+
"description": "Title for the booking page",
|
|
481
|
+
"required": false
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"key": "booking_page_subtitle",
|
|
485
|
+
"label": "Booking Page Subtitle",
|
|
486
|
+
"description": "Subtitle for the booking page",
|
|
487
|
+
"required": false
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"key": "services_list_title",
|
|
491
|
+
"label": "Services List Title",
|
|
492
|
+
"description": "Title for the services list section",
|
|
493
|
+
"required": false
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"key": "services_list_count",
|
|
497
|
+
"label": "Services List Count",
|
|
498
|
+
"description": "Text showing number of services",
|
|
499
|
+
"required": false
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"colorRequirements": {
|
|
505
|
+
"background": [
|
|
506
|
+
{
|
|
507
|
+
"key": "primary",
|
|
508
|
+
"label": "Primary Background",
|
|
509
|
+
"description": "Main page background color",
|
|
510
|
+
"defaultValue": "#FFFFFF",
|
|
511
|
+
"category": "background",
|
|
512
|
+
"required": false
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"key": "secondary",
|
|
516
|
+
"label": "Secondary Background",
|
|
517
|
+
"description": "Secondary sections background color",
|
|
518
|
+
"defaultValue": "#FAFAFA",
|
|
519
|
+
"category": "background",
|
|
520
|
+
"required": false
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"text": [
|
|
524
|
+
{
|
|
525
|
+
"key": "primary",
|
|
526
|
+
"label": "Primary Text",
|
|
527
|
+
"description": "Main text color",
|
|
528
|
+
"defaultValue": "#1F2937",
|
|
529
|
+
"category": "text",
|
|
530
|
+
"required": false
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"key": "secondary",
|
|
534
|
+
"label": "Secondary Text",
|
|
535
|
+
"description": "Secondary text color",
|
|
536
|
+
"defaultValue": "#6B7280",
|
|
537
|
+
"category": "text",
|
|
538
|
+
"required": false
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"border": [
|
|
542
|
+
{
|
|
543
|
+
"key": "primary",
|
|
544
|
+
"label": "Primary Border",
|
|
545
|
+
"description": "Main border color",
|
|
546
|
+
"defaultValue": "#E5E7EB",
|
|
547
|
+
"category": "border",
|
|
548
|
+
"required": false
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
"sections": {
|
|
553
|
+
"testimonials": {
|
|
554
|
+
"supported": true,
|
|
555
|
+
"defaultVisible": true,
|
|
556
|
+
"label": "Customer Testimonials",
|
|
557
|
+
"description": "Display customer reviews and feedback"
|
|
558
|
+
},
|
|
559
|
+
"services": {
|
|
560
|
+
"supported": true,
|
|
561
|
+
"defaultVisible": true,
|
|
562
|
+
"label": "Services",
|
|
563
|
+
"description": "Display featured services"
|
|
564
|
+
},
|
|
565
|
+
"promoBanner": {
|
|
566
|
+
"supported": true,
|
|
567
|
+
"defaultVisible": true,
|
|
568
|
+
"label": "Promotional Package",
|
|
569
|
+
"description": "Display promotional package card"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"sectionControls": {
|
|
573
|
+
"services": {
|
|
574
|
+
"showViewAll": {
|
|
575
|
+
"type": "toggle",
|
|
576
|
+
"label": "Show View All Link",
|
|
577
|
+
"defaultValue": true,
|
|
578
|
+
"description": "Show 'View All Services' link"
|
|
579
|
+
},
|
|
580
|
+
"limit": {
|
|
581
|
+
"type": "number",
|
|
582
|
+
"label": "Display Limit",
|
|
583
|
+
"defaultValue": 10,
|
|
584
|
+
"description": "Maximum number of services to display",
|
|
585
|
+
"min": 1,
|
|
586
|
+
"max": 50
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"testimonials": {
|
|
590
|
+
"showViewAll": {
|
|
591
|
+
"type": "toggle",
|
|
592
|
+
"label": "Show View All Link",
|
|
593
|
+
"defaultValue": false,
|
|
594
|
+
"description": "Show 'View All Testimonials' link"
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|