import { requestOpenBookingEdit } from "../bookingEditService/bookingEditHostController.js";
//#region src/plus/salesSdk/hosts/createOpenBookingEditHost.ts
/**
* SalesSdk `openBookingEdit` Host：打开资源 / 时间编辑抽屉，确认后 resolve 编辑后的 cacheItem。
*
* 须与 `<BookingEditHostRenderer />` 同树挂载（通常在 SalesSdkProvider 内）。
*/
function createOpenBookingEditHost() {
	return (payload) => requestOpenBookingEdit(payload);
}
//#endregion
export { createOpenBookingEditHost };
