import { locales } from "@pisell/utils";
//#region src/components/booking/info/service2/status.ts
const defaultData = {
	isOpenGroup: true,
	carts: [],
	platform: "shop",
	emptyText: locales.getText("pisell2.text.no.selected"),
	activeKey: [],
	defaultActiveKey: [],
	className: ""
};
/**
* @title: 根据是否是跨日预约和是否是terminal打开的，返回日期和输入框占据的列数
* @description: 
* @param {boolean} isDayBooking
* @param {boolean} isTerminal
* @return {*}
* @Author: WangHan
* @Date: 2024-12-06 10:29
*/
const inputDateCol = (isDayBooking, isTerminal) => {
	const params = {
		date: {},
		input: {}
	};
	if (!isDayBooking) {
		params.input = { span: 24 };
		return params;
	}
	if (isTerminal) {
		params.date = {
			sm: 24,
			lg: 24,
			xl: 12
		};
		params.input = {
			sm: 24,
			lg: 24,
			xl: 12
		};
	} else {
		params.date = { span: 12 };
		params.input = { span: 12 };
	}
	return params;
};
/**
* @title:  预约商品扩展类型
* @description: 
* @return {*}
* @Author: WangHan
* @Date: 2024-12-06 14:59
*/
const appointmentTypes = ["product_appointment"];
//#endregion
export { appointmentTypes, defaultData, inputDateCol };
