UNPKG

@vue-js-cron/core

Version:
22 lines 693 B
import type { L10nEngine } from '../locale'; import { type FieldWrapper, type Period } from '../types'; import { type Ref } from 'vue'; export interface FieldOptions { l10n: L10nEngine; period: Ref<Period>; field: FieldWrapper; initialCron?: string; } export declare function useCronSegment(options: FieldOptions): { id: string; items: import('../types').FieldItem[]; cron: Ref<string>; selected: Ref<number[]>; error: Ref<string>; select: (evt: number[]) => void; text: Ref<string>; prefix: Ref<string>; suffix: Ref<string>; }; export type UseCronSegmentReturn = ReturnType<typeof useCronSegment>; //# sourceMappingURL=cron-segment.d.ts.map