@wix/vibe-bookings-plugin 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3152,9 +3152,10 @@ IF THE SITE IS IN ENGLISH OR THE LANGUAGE IS NOT SPECIFIED, YOU MUST NOT READ OR
|
|
|
3152
3152
|
<strong>ALL BOOKINGS FEATURES ARE ALREADY IMPLEMENTED BY THE BOOKINGS ROUTES, THEY DO NOT INCLUDE HEADER FOOTER OR ANY OTHER LAYOUT COMPONENTS.</strong>
|
|
3153
3153
|
<strong>THE REST OF THE SITE PAGES SHOULD BE IMPLEMENTED AS USUAL ACCORDING TO THE PLAN AND USER REQUESTS, FOLLOWING THE OTHER INSTRUCTIONS IN THE CONTEXT.</strong>
|
|
3154
3154
|
<strong>NEVER IMPLEMENT CMS-BASED PAGES LIKE "GALLERY" OR "GALLERY ITEM" OR ANY OTHER CMS BASED PAGES FOR BOOKINGS FEATURES LIKE SERVICES OR ANY OTHER BOOKING FEATURES - ONLY USE THE BOOKINGS ROUTES AND SERVICES TO IMPLEMENT THE BOOKINGS FEATURES !!!</strong>
|
|
3155
|
-
<strong>DO NOT IMPLEMENT A "FEATURED SERVICES" OR "FEATURED BOOKINGS" SECTIONS OR PAGES OR TRY TO LINK TO SPECIFIC SERVICES IN ANY PAGE - BECAUSE YOU DO NOT KNOW THE URL FOR THE SERVICES
|
|
3156
|
-
<strong>DO NOT USE MOCK DATA FOR SERVICES OR ANY OTHER DATA IN THE HOME PAGE OR ANY OTHER PAGE
|
|
3157
|
-
<strong>DO NOT TRY TO GUESS <code>booking/slots/:serviceSlug</code> OR OTHER BOOKING ROUTES
|
|
3155
|
+
<strong>DO NOT IMPLEMENT A "FEATURED SERVICES" OR "FEATURED BOOKINGS" SECTIONS OR PAGES OR TRY TO LINK TO SPECIFIC SERVICES IN ANY PAGE - BECAUSE YOU DO NOT KNOW THE URL FOR THE SERVICES.</strong>
|
|
3156
|
+
<strong>DO NOT USE MOCK DATA FOR SERVICES OR ANY OTHER BOOKING DATA IN THE HOME PAGE OR ANY OTHER PAGE.</strong>
|
|
3157
|
+
<strong>DO NOT TRY TO GUESS <code>booking/slots/:serviceSlug</code> OR OTHER BOOKING ROUTES.</strong>
|
|
3158
|
+
<strong>THERE IS NO SEPARATE "BOOKINGS PAGE" - THE BOOKING FLOW IS ALREADY EXPOSED VIA THE <code>/booking/locations</code> ROUTE WHICH IS THE ENTRY POINT TO THE COMPLETE BOOKING FLOW COMPOSITION. DO NOT CREATE A DEDICATED BOOKINGS PAGE OR LINK TO A BOOKINGS PAGE - THE BOOKING ROUTES (<code>/booking/locations</code>, <code>/booking/services</code>, <code>/booking/slots/:serviceSlug</code>, <code>/booking/form</code>) ARE THE BOOKING FEATURE.</strong>
|
|
3158
3159
|
<strong>DO NOT IMPLEMENT BOOKINGS SEARCH YOURSELF - NO BOOKINGS SEARCH BAR OR ANY OTHER BOOKINGS SEARCH FEATURES</strong>
|
|
3159
3160
|
<strong>DO NOT EDIT or READ ANY FILE in <code>./src/wix-verticals/</code> USE EVERYTHING AS IS, ONLY INTEGRATE THE ROUTER!! with the exception of non-english sites, in this case, you are allowed to change the static text to match the new language.</strong>
|
|
3160
3161
|
</important_notes>
|
|
@@ -12389,7 +12390,7 @@ function mapBookingServiceDetailsToServerService(details) {
|
|
|
12389
12390
|
type: es_exports2.LocationType.CUSTOM,
|
|
12390
12391
|
custom: {
|
|
12391
12392
|
address: {
|
|
12392
|
-
|
|
12393
|
+
addressLine1: "Business location",
|
|
12393
12394
|
formatted: "Business location"
|
|
12394
12395
|
}
|
|
12395
12396
|
}
|
|
@@ -12398,7 +12399,8 @@ function mapBookingServiceDetailsToServerService(details) {
|
|
|
12398
12399
|
...details.imageUrl && {
|
|
12399
12400
|
media: {
|
|
12400
12401
|
mainMedia: {
|
|
12401
|
-
image: details.imageUrl
|
|
12402
|
+
image: details.imageUrl,
|
|
12403
|
+
altText: details.name
|
|
12402
12404
|
}
|
|
12403
12405
|
}
|
|
12404
12406
|
},
|