Hierarchy

  • CronCore

Properties

$: ComponentInternalInstance
$attrs: Data
$data: {}

Type declaration

    $el: any
    $emit: ((event, ...args) => void)

    Type declaration

      • (event, ...args): void
      • Parameters

        • event: "update:model-value" | "update:period" | "error"
        • Rest ...args: any[]

        Returns void

    $forceUpdate: (() => void)

    Type declaration

      • (): void
      • Returns void

    $nextTick: (<T, R>(this, fn?) => Promise<Awaited<R>>)

    Type declaration

      • <T, R>(this, fn?): Promise<Awaited<R>>
      • Type Parameters

        • T = void

        • R = void

        Parameters

        • this: T
        • Optional fn: ((this) => R)
            • (this): R
            • Parameters

              • this: T

              Returns R

        Returns Promise<Awaited<R>>

    $options: ComponentOptionsBase<ResolveProps<{
        cols: {
            default: (() => {
                day: number;
                hour: number;
                minute: number;
                second: number;
            });
            type: PropType<Record<string, number>>;
        };
        customLocale: {
            type: PropType<Localization>;
        };
        disabled: {
            default: boolean;
            type: BooleanConstructor;
        };
        fields: {
            type: PropType<Field[]>;
        };
        format: {
            type: PropType<CronFormat>;
        };
        locale: {
            type: StringConstructor;
        };
        modelValue: {
            type: StringConstructor;
        };
        period: {
            type: StringConstructor;
        };
        periods: {
            type: PropType<Period[]>;
        };
    }, ("update:model-value" | "update:period" | "error")[]>, (() => undefined | VNode<RendererNode, RendererElement, {
        [key: string]: any;
    }>[]), unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:model-value" | "update:period" | "error")[], string, {
        cols: Record<string, number>;
        disabled: boolean;
    }, {}, string, {}> & MergedComponentOptionsOverride
    $parent: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
    $props: Partial<{
        cols: Record<string, number>;
        disabled: boolean;
    }> & Omit<{
        cols: Record<string, number>;
        customLocale?: Localization;
        disabled: boolean;
        fields?: Field[];
        format?: CronFormat;
        locale?: string;
        modelValue?: string;
        onError: undefined | ((...args) => any);
        onUpdate:model-value: undefined | ((...args) => any);
        onUpdate:period: undefined | ((...args) => any);
        period?: string;
        periods?: Period[];
    } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
        cols: {
            default: (() => {
                day: number;
                hour: number;
                minute: number;
                second: number;
            });
            type: PropType<Record<string, number>>;
        };
        customLocale: {
            type: PropType<Localization>;
        };
        disabled: {
            default: boolean;
            type: BooleanConstructor;
        };
        fields: {
            type: PropType<Field[]>;
        };
        format: {
            type: PropType<CronFormat>;
        };
        locale: {
            type: StringConstructor;
        };
        modelValue: {
            type: StringConstructor;
        };
        period: {
            type: StringConstructor;
        };
        periods: {
            type: PropType<Period[]>;
        };
    }>> & {
        onError: undefined | ((...args) => any);
        onUpdate:model-value: undefined | ((...args) => any);
        onUpdate:period: undefined | ((...args) => any);
    }, DefaultKeys<{
        cols: {
            default: (() => {
                day: number;
                hour: number;
                minute: number;
                second: number;
            });
            type: PropType<Record<string, number>>;
        };
        customLocale: {
            type: PropType<Localization>;
        };
        disabled: {
            default: boolean;
            type: BooleanConstructor;
        };
        fields: {
            type: PropType<Field[]>;
        };
        format: {
            type: PropType<CronFormat>;
        };
        locale: {
            type: StringConstructor;
        };
        modelValue: {
            type: StringConstructor;
        };
        period: {
            type: StringConstructor;
        };
        periods: {
            type: PropType<Period[]>;
        };
    }>>
    $refs: Data
    $root: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
    $slots: Readonly<InternalSlots>
    cols: Record<string, number> = ...

    Number of columns in the dropdown, e.g. the possible values of minute (0-59) will be displayed in a grid with 5 columns

    Default Value

    {
    second: 5,
    minute: 5,
    hour: 4,
    day: 4,
    }
    customLocale?: Localization = ...

    The custom locale object, used to override values of the current Localization

    disabled: boolean = ...

    Disable the cron editor

    fields?: Field[] = ...

    The segments of the cron expression, such as second, minute, hour, etc.

    format?: CronFormat = ...

    The format of the cron expression, either crontab or quartz

    Default Value

    crontab

    locale?: string = ...

    The locale of the component, such as en, de, etc.

    Default Value

    en

    modelValue?: string = ...

    The value of the cron expression

    Default Value

    crontab: * * * * *, quartz: * * * * * *

    onError: undefined | ((...args) => any)

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    onUpdate:model-value: undefined | ((...args) => any)

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    onUpdate:period: undefined | ((...args) => any)

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    period?: string = ...

    The id of a period to select

    Default Value

    last entry of CronCoreProps.periods

    periods?: Period[] = ...

    The periods to select, e.g. Every month, day, etc.

    Methods

    • Type Parameters

      • T extends string | ((...args) => any)

      Parameters

      • source: T
      • cb: T extends ((...args) => R)
            ? ((...args) => any)
            : ((...args) => any)
      • Optional options: WatchOptions<boolean>

      Returns WatchStopHandle

    Generated using TypeDoc