Files
electron-odoo/node_modules/element-plus/lib/components/time-picker/src/composables/use-time-panel.d.ts
2025-06-17 11:39:51 +08:00

14 lines
671 B
TypeScript

import type { Dayjs } from 'dayjs';
import type { GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds } from '../common/props';
type UseTimePanelProps = {
getAvailableHours: GetDisabledHours;
getAvailableMinutes: GetDisabledMinutes;
getAvailableSeconds: GetDisabledSeconds;
};
export declare const useTimePanel: ({ getAvailableHours, getAvailableMinutes, getAvailableSeconds, }: UseTimePanelProps) => {
timePickerOptions: Record<string, (...args: any[]) => void>;
getAvailableTime: (date: Dayjs, role: string, first: boolean, compareDate?: Dayjs) => Dayjs;
onSetOption: ([key, val]: [string, (...args: any[]) => void]) => void;
};
export {};