Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-select-date/props.ts
2025-07-21 16:47:04 +08:00

29 lines
756 B
TypeScript

import type { ClSelectOption } from "../../types";
import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
import type { ClPopupPassThrough } from "../cl-popup/props";
export type ClSelectDatePassThrough = {
trigger?: ClSelectTriggerPassThrough;
popup?: ClPopupPassThrough;
};
export type ClSelectDateProps = {
className?: string;
pt?: ClSelectDatePassThrough;
modelValue?: string;
headers?: string[];
title?: string;
placeholder?: string;
showTrigger?: boolean;
disabled?: boolean;
confirmText?: string;
showConfirm?: boolean;
cancelText?: string;
showCancel?: boolean;
labelFormat?: string;
valueFormat?: string;
start?: string;
end?: string;
type?: "year" | "month" | "date" | "hour" | "minute" | "second";
};