//#region src/components/ecocup/customerList/const.ts
/**
* @description: 排序设置
* @return {*}
*/
const SORT_SETTINGS = {
	show: true,
	list: [{
		columnKey: "display_name",
		key: "display_name",
		type: "string",
		localFilter: false
	}, {
		columnKey: "create_time",
		key: "create_time",
		type: "date",
		localFilter: false
	}]
};
/**
* @description: 列配置
* @return {*}
*/
const COLUMN_SETTING = {
	show: true,
	storageMode: "localStorage"
};
const FILTER = (locales) => {
	return {
		show: true,
		quickFilterMaxLength: 3,
		list: [{
			key: "search",
			type: "search",
			columnKey: "",
			sort: true,
			localFilter: false,
			isCustom: true,
			name: "search",
			other: {
				size: "large",
				allowClear: true,
				placeholder: locales.getText("pisell2.text.ecocup.customer.list.search.placeholder"),
				trigger: ["onChange", "onPressEnter"],
				style: { width: 240 }
			}
		}]
	};
};
//#endregion
export { COLUMN_SETTING, FILTER, SORT_SETTINGS };
