@wix/bookings 1.0.1776 → 1.0.1778
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/build/cjs/context-booking-checkout.d.ts +243 -108
- package/build/cjs/context-booking-checkout.js +177 -183
- package/build/cjs/context-booking-checkout.js.map +1 -1
- package/build/cjs/context-categories.d.ts +16 -143
- package/build/cjs/context-categories.js +412 -412
- package/build/cjs/context-categories.js.map +1 -1
- package/build/cjs/context-locations.d.ts +16 -287
- package/build/cjs/context-locations.js +336 -336
- package/build/cjs/context-locations.js.map +1 -1
- package/build/cjs/context-service-addons.d.ts +2 -2
- package/build/cjs/context-service-addons.js +1 -1
- package/build/cjs/context-service-addons.js.map +1 -1
- package/build/cjs/context-service.d.ts +71 -33
- package/build/cjs/context-service.js +98 -96
- package/build/cjs/context-service.js.map +1 -1
- package/build/cjs/context-services.js +1 -1
- package/build/cjs/context-services.js.map +1 -1
- package/build/cjs/context-time-slots.d.ts +10 -0
- package/build/cjs/context-time-slots.js +2 -2
- package/build/cjs/context-time-slots.js.map +1 -1
- package/build/es/context-booking-checkout.d.mts +243 -108
- package/build/es/context-booking-checkout.mjs +177 -180
- package/build/es/context-booking-checkout.mjs.map +1 -1
- package/build/es/context-categories.d.mts +16 -143
- package/build/es/context-categories.mjs +412 -412
- package/build/es/context-categories.mjs.map +1 -1
- package/build/es/context-locations.d.mts +16 -287
- package/build/es/context-locations.mjs +336 -336
- package/build/es/context-locations.mjs.map +1 -1
- package/build/es/context-service-addons.d.mts +2 -2
- package/build/es/context-service-addons.mjs +1 -1
- package/build/es/context-service-addons.mjs.map +1 -1
- package/build/es/context-service.d.mts +71 -33
- package/build/es/context-service.mjs +98 -96
- package/build/es/context-service.mjs.map +1 -1
- package/build/es/context-services.mjs +1 -1
- package/build/es/context-services.mjs.map +1 -1
- package/build/es/context-time-slots.d.mts +10 -0
- package/build/es/context-time-slots.mjs +2 -2
- package/build/es/context-time-slots.mjs.map +1 -1
- package/build/internal/cjs/context-booking-checkout.d.ts +243 -108
- package/build/internal/cjs/context-categories.d.ts +16 -143
- package/build/internal/cjs/context-locations.d.ts +16 -287
- package/build/internal/cjs/context-service-addons.d.ts +2 -2
- package/build/internal/cjs/context-service.d.ts +71 -33
- package/build/internal/cjs/context-time-slots.d.ts +10 -0
- package/build/internal/es/context-booking-checkout.d.mts +243 -108
- package/build/internal/es/context-categories.d.mts +16 -143
- package/build/internal/es/context-locations.d.mts +16 -287
- package/build/internal/es/context-service-addons.d.mts +2 -2
- package/build/internal/es/context-service.d.mts +71 -33
- package/build/internal/es/context-time-slots.d.mts +10 -0
- package/{_sdk-exports → context-runtime}/context-booking-checkout/runtime.d.ts +243 -108
- package/context-runtime/context-booking-checkout/runtime.js +3 -0
- package/{_sdk-exports → context-runtime}/context-categories/runtime.d.ts +16 -143
- package/context-runtime/context-categories/runtime.js +2 -0
- package/context-runtime/context-locations/runtime.d.ts +195 -0
- package/context-runtime/context-locations/runtime.js +2 -0
- package/{_sdk-exports → context-runtime}/context-service/runtime.d.ts +71 -33
- package/{_sdk-exports → context-runtime}/context-service/runtime.js +3 -3
- package/{_sdk-exports → context-runtime}/context-service-addons/runtime.d.ts +2 -2
- package/{_sdk-exports → context-runtime}/context-time-slots/runtime.d.ts +10 -0
- package/{_sdk-exports → context-runtime}/context-time-slots/runtime.js +2 -2
- package/package.json +8 -8
- package/_sdk-exports/context-booking-checkout/runtime.js +0 -3
- package/_sdk-exports/context-categories/runtime.js +0 -2
- package/_sdk-exports/context-locations/runtime.d.ts +0 -466
- package/_sdk-exports/context-locations/runtime.js +0 -2
- /package/{_sdk-exports → context-runtime}/context-service-addons/runtime.js +0 -0
- /package/{_sdk-exports → context-runtime}/context-services/runtime.d.ts +0 -0
- /package/{_sdk-exports → context-runtime}/context-services/runtime.js +0 -0
|
@@ -201,9 +201,9 @@ interface AddOnGroupDetail {
|
|
|
201
201
|
}
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region ../bookings-flow-data/dist/types.d.ts
|
|
204
|
-
/**
|
|
204
|
+
/** An add-on the visitor chose, with its quantity. */
|
|
205
205
|
type AddOn$1 = {
|
|
206
|
-
id: NonNullable<BookedAddOn['_id']>;
|
|
206
|
+
/** ID of the add-on. */id: NonNullable<BookedAddOn['_id']>; /** Number of the add-on to book. */
|
|
207
207
|
quantity: NonNullable<BookedAddOn['quantity']>;
|
|
208
208
|
};
|
|
209
209
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// context-runtime/context-service-addons/runtime.js
|
|
2
2
|
import { Component as e, Suspense as t, createContext as n, useCallback as r, useContext as i, useEffect as a, useMemo as o, useRef as s, useSyncExternalStore as c } from "react";
|
|
3
3
|
import { useServiceContext as l } from "@wix/bookings/context/service";
|
|
4
4
|
import { useGetService as u, useService as d } from "@wix/services-manager-react";
|