UNPKG

hongluan-ui

Version:
38 lines (37 loc) 1.79 kB
import type { ExtractPropTypes } from 'vue'; import type { Dayjs } from 'dayjs'; export declare type GetDisabledHours = (role: string, comparingDate?: Dayjs) => number[]; export declare type GetDisabledMinutes = (hour: number, role: string, comparingDate?: Dayjs) => number[]; export declare type GetDisabledSeconds = (hour: number, minute: number, role: string, comparingDate?: Dayjs) => number[]; export declare const disabledTimeListsProps: { readonly disabledHours: { readonly type: import("vue").PropType<GetDisabledHours>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; readonly disabledMinutes: { readonly type: import("vue").PropType<GetDisabledMinutes>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; readonly disabledSeconds: { readonly type: import("vue").PropType<GetDisabledSeconds>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; }; export declare type DisabledTimeListsProps = ExtractPropTypes<typeof disabledTimeListsProps>; export declare const timePanelSharedProps: { readonly visible: BooleanConstructor; readonly actualVisible: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; readonly format: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; }; export declare type TimePanelSharedProps = ExtractPropTypes<typeof timePanelSharedProps>;