Hierarchy

  • CronAnt

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<Readonly<ExtractPropTypes<{
        buttonProps: {
            type: PropType<Partial<ExtractPropTypes<{
                block: {
                    default: any;
                    type: BooleanConstructor;
                };
                danger: {
                    default: any;
                    type: BooleanConstructor;
                };
                disabled: {
                    default: any;
                    type: BooleanConstructor;
                };
                ghost: {
                    default: any;
                    type: BooleanConstructor;
                };
                href: StringConstructor;
                htmlType: {
                    default: string;
                    type: PropType<ButtonHTMLType>;
                };
                icon: VueTypeValidableDef<any>;
                loading: {
                    default: (() => boolean | {
                        delay?: number;
                    });
                    type: PropType<boolean | {
                        delay?: number;
                    }>;
                };
                onClick: {
                    type: PropType<((event) => void)>;
                };
                onMousedown: {
                    type: PropType<((event) => void)>;
                };
                prefixCls: StringConstructor;
                shape: {
                    type: PropType<ButtonShape>;
                };
                size: {
                    type: PropType<SizeType>;
                };
                target: StringConstructor;
                title: StringConstructor;
                type: PropType<ButtonType>;
            }>>>;
            default() => {};
        };
        cols: {
            default: (() => {
                day: number;
                hour: number;
                minute: number;
                second: number;
            });
            type: PropType<Record<string, number>>;
        };
        customLocale: {
            type: PropType<Localization>;
        };
        disabled: {
            default: boolean;
            type: BooleanConstructor;
        };
        dropdownProps: {
            default: (() => void);
            type: PropType<Partial<ExtractPropTypes<{
                align: {
                    type: PropType<Align>;
                };
                arrow: {
                    default: any;
                    type: PropType<boolean | DropdownArrowOptions>;
                };
                destroyPopupOnHide: {
                    default: any;
                    type: BooleanConstructor;
                };
                disabled: {
                    default: any;
                    type: BooleanConstructor;
                };
                forceRender: {
                    default: any;
                    type: BooleanConstructor;
                };
                getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
                minOverlayWidthMatchTrigger: {
                    default: any;
                    type: BooleanConstructor;
                };
                mouseEnterDelay: NumberConstructor;
                mouseLeaveDelay: NumberConstructor;
                onUpdate:visible: {
                    type: PropType<((val) => void)>;
                };
                onVisibleChange: {
                    type: PropType<((val) => void)>;
                };
                openClassName: StringConstructor;
                overlay: VueTypeValidableDef<any>;
                overlayClassName: StringConstructor;
                overlayStyle: {
                    default: CSSProperties;
                    type: PropType<CSSProperties>;
                };
                placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
                prefixCls: StringConstructor;
                transitionName: StringConstructor;
                trigger: {
                    type: PropType<Trigger | Trigger[]>;
                };
                visible: {
                    default: any;
                    type: BooleanConstructor;
                };
            }>>>;
        };
        fields: {
            type: PropType<Field[]>;
        };
        format: {
            type: PropType<CronFormat>;
        };
        locale: {
            type: StringConstructor;
        };
        modelValue: {
            type: StringConstructor;
        };
        period: {
            type: StringConstructor;
        };
        periods: {
            type: PropType<Period[]>;
        };
    }>> & {
        onError?: ((...args) => any);
        onUpdate:model-value?: ((...args) => any);
        onUpdate:period?: ((...args) => any);
    }, {
        cron: Ref<string>;
        error: Ref<string>;
        period: {
            items: {
                id: string;
                text: any;
                value: string[];
            }[];
            prefix: Ref<string>;
            select: ((periodId) => void);
            selected: Ref<{
                id: string;
                text?: string;
                value: string[];
            } | {
                id: string;
                text: any;
                value: string[];
            }>;
            suffix: Ref<string>;
        };
        segments: {
            cron: Ref<string>;
            error: Ref<string>;
            id: string;
            items: FieldItem[];
            prefix: Ref<string>;
            select: ((evt) => void);
            selected: Ref<number[]>;
            suffix: Ref<string>;
            text: Ref<string>;
        }[];
        selected: ComputedRef<{
            cron: Ref<string>;
            error: Ref<string>;
            id: string;
            items: FieldItem[];
            prefix: Ref<string>;
            select: ((evt) => void);
            selected: Ref<number[]>;
            suffix: Ref<string>;
            text: Ref<string>;
        }[]>;
    }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:model-value" | "update:period" | "error")[], string, {
        buttonProps: Partial<ExtractPropTypes<{
            block: {
                default: any;
                type: BooleanConstructor;
            };
            danger: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            ghost: {
                default: any;
                type: BooleanConstructor;
            };
            href: StringConstructor;
            htmlType: {
                default: string;
                type: PropType<ButtonHTMLType>;
            };
            icon: VueTypeValidableDef<any>;
            loading: {
                default: (() => boolean | {
                    delay?: number;
                });
                type: PropType<boolean | {
                    delay?: number;
                }>;
            };
            onClick: {
                type: PropType<((event) => void)>;
            };
            onMousedown: {
                type: PropType<((event) => void)>;
            };
            prefixCls: StringConstructor;
            shape: {
                type: PropType<ButtonShape>;
            };
            size: {
                type: PropType<SizeType>;
            };
            target: StringConstructor;
            title: StringConstructor;
            type: PropType<ButtonType>;
        }>>;
        cols: Record<string, number>;
        disabled: boolean;
        dropdownProps: Partial<ExtractPropTypes<{
            align: {
                type: PropType<Align>;
            };
            arrow: {
                default: any;
                type: PropType<boolean | DropdownArrowOptions>;
            };
            destroyPopupOnHide: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            forceRender: {
                default: any;
                type: BooleanConstructor;
            };
            getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
            minOverlayWidthMatchTrigger: {
                default: any;
                type: BooleanConstructor;
            };
            mouseEnterDelay: NumberConstructor;
            mouseLeaveDelay: NumberConstructor;
            onUpdate:visible: {
                type: PropType<((val) => void)>;
            };
            onVisibleChange: {
                type: PropType<((val) => void)>;
            };
            openClassName: StringConstructor;
            overlay: VueTypeValidableDef<any>;
            overlayClassName: StringConstructor;
            overlayStyle: {
                default: CSSProperties;
                type: PropType<CSSProperties>;
            };
            placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
            prefixCls: StringConstructor;
            transitionName: StringConstructor;
            trigger: {
                type: PropType<Trigger | Trigger[]>;
            };
            visible: {
                default: any;
                type: BooleanConstructor;
            };
        }>>;
    }, {}, string, {}> & MergedComponentOptionsOverride
    $parent: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
    $props: Partial<{
        buttonProps: Partial<ExtractPropTypes<{
            block: {
                default: any;
                type: BooleanConstructor;
            };
            danger: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            ghost: {
                default: any;
                type: BooleanConstructor;
            };
            href: StringConstructor;
            htmlType: {
                default: string;
                type: PropType<ButtonHTMLType>;
            };
            icon: VueTypeValidableDef<any>;
            loading: {
                default: (() => boolean | {
                    delay?: number;
                });
                type: PropType<boolean | {
                    delay?: number;
                }>;
            };
            onClick: {
                type: PropType<((event) => void)>;
            };
            onMousedown: {
                type: PropType<((event) => void)>;
            };
            prefixCls: StringConstructor;
            shape: {
                type: PropType<ButtonShape>;
            };
            size: {
                type: PropType<SizeType>;
            };
            target: StringConstructor;
            title: StringConstructor;
            type: PropType<ButtonType>;
        }>>;
        cols: Record<string, number>;
        disabled: boolean;
        dropdownProps: Partial<ExtractPropTypes<{
            align: {
                type: PropType<Align>;
            };
            arrow: {
                default: any;
                type: PropType<boolean | DropdownArrowOptions>;
            };
            destroyPopupOnHide: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            forceRender: {
                default: any;
                type: BooleanConstructor;
            };
            getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
            minOverlayWidthMatchTrigger: {
                default: any;
                type: BooleanConstructor;
            };
            mouseEnterDelay: NumberConstructor;
            mouseLeaveDelay: NumberConstructor;
            onUpdate:visible: {
                type: PropType<((val) => void)>;
            };
            onVisibleChange: {
                type: PropType<((val) => void)>;
            };
            openClassName: StringConstructor;
            overlay: VueTypeValidableDef<any>;
            overlayClassName: StringConstructor;
            overlayStyle: {
                default: CSSProperties;
                type: PropType<CSSProperties>;
            };
            placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
            prefixCls: StringConstructor;
            transitionName: StringConstructor;
            trigger: {
                type: PropType<Trigger | Trigger[]>;
            };
            visible: {
                default: any;
                type: BooleanConstructor;
            };
        }>>;
    }> & Omit<{
        buttonProps: Partial<ExtractPropTypes<{
            block: {
                default: any;
                type: BooleanConstructor;
            };
            danger: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            ghost: {
                default: any;
                type: BooleanConstructor;
            };
            href: StringConstructor;
            htmlType: {
                default: string;
                type: PropType<ButtonHTMLType>;
            };
            icon: VueTypeValidableDef<any>;
            loading: {
                default: (() => boolean | {
                    delay?: number;
                });
                type: PropType<boolean | {
                    delay?: number;
                }>;
            };
            onClick: {
                type: PropType<((event) => void)>;
            };
            onMousedown: {
                type: PropType<((event) => void)>;
            };
            prefixCls: StringConstructor;
            shape: {
                type: PropType<ButtonShape>;
            };
            size: {
                type: PropType<SizeType>;
            };
            target: StringConstructor;
            title: StringConstructor;
            type: PropType<ButtonType>;
        }>>;
        cols: Record<string, number>;
        customLocale?: Localization;
        disabled: boolean;
        dropdownProps: Partial<ExtractPropTypes<{
            align: {
                type: PropType<Align>;
            };
            arrow: {
                default: any;
                type: PropType<boolean | DropdownArrowOptions>;
            };
            destroyPopupOnHide: {
                default: any;
                type: BooleanConstructor;
            };
            disabled: {
                default: any;
                type: BooleanConstructor;
            };
            forceRender: {
                default: any;
                type: BooleanConstructor;
            };
            getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
            minOverlayWidthMatchTrigger: {
                default: any;
                type: BooleanConstructor;
            };
            mouseEnterDelay: NumberConstructor;
            mouseLeaveDelay: NumberConstructor;
            onUpdate:visible: {
                type: PropType<((val) => void)>;
            };
            onVisibleChange: {
                type: PropType<((val) => void)>;
            };
            openClassName: StringConstructor;
            overlay: VueTypeValidableDef<any>;
            overlayClassName: StringConstructor;
            overlayStyle: {
                default: CSSProperties;
                type: PropType<CSSProperties>;
            };
            placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
            prefixCls: StringConstructor;
            transitionName: StringConstructor;
            trigger: {
                type: PropType<Trigger | Trigger[]>;
            };
            visible: {
                default: any;
                type: BooleanConstructor;
            };
        }>>;
        fields?: Field[];
        format?: CronFormat;
        locale?: string;
        modelValue?: string;
        onError?: ((...args) => any);
        onUpdate:model-value?: ((...args) => any);
        onUpdate:period?: ((...args) => any);
        period?: string;
        periods?: Period[];
    } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
        buttonProps: {
            type: PropType<Partial<ExtractPropTypes<{
                block: {
                    default: any;
                    type: BooleanConstructor;
                };
                danger: {
                    default: any;
                    type: BooleanConstructor;
                };
                disabled: {
                    default: any;
                    type: BooleanConstructor;
                };
                ghost: {
                    default: any;
                    type: BooleanConstructor;
                };
                href: StringConstructor;
                htmlType: {
                    default: string;
                    type: PropType<ButtonHTMLType>;
                };
                icon: VueTypeValidableDef<any>;
                loading: {
                    default: (() => boolean | {
                        delay?: number;
                    });
                    type: PropType<boolean | {
                        delay?: number;
                    }>;
                };
                onClick: {
                    type: PropType<((event) => void)>;
                };
                onMousedown: {
                    type: PropType<((event) => void)>;
                };
                prefixCls: StringConstructor;
                shape: {
                    type: PropType<ButtonShape>;
                };
                size: {
                    type: PropType<SizeType>;
                };
                target: StringConstructor;
                title: StringConstructor;
                type: PropType<ButtonType>;
            }>>>;
            default() => {};
        };
        cols: {
            default: (() => {
                day: number;
                hour: number;
                minute: number;
                second: number;
            });
            type: PropType<Record<string, number>>;
        };
        customLocale: {
            type: PropType<Localization>;
        };
        disabled: {
            default: boolean;
            type: BooleanConstructor;
        };
        dropdownProps: {
            default: (() => void);
            type: PropType<Partial<ExtractPropTypes<{
                align: {
                    type: PropType<Align>;
                };
                arrow: {
                    default: any;
                    type: PropType<boolean | DropdownArrowOptions>;
                };
                destroyPopupOnHide: {
                    default: any;
                    type: BooleanConstructor;
                };
                disabled: {
                    default: any;
                    type: BooleanConstructor;
                };
                forceRender: {
                    default: any;
                    type: BooleanConstructor;
                };
                getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
                minOverlayWidthMatchTrigger: {
                    default: any;
                    type: BooleanConstructor;
                };
                mouseEnterDelay: NumberConstructor;
                mouseLeaveDelay: NumberConstructor;
                onUpdate:visible: {
                    type: PropType<((val) => void)>;
                };
                onVisibleChange: {
                    type: PropType<((val) => void)>;
                };
                openClassName: StringConstructor;
                overlay: VueTypeValidableDef<any>;
                overlayClassName: StringConstructor;
                overlayStyle: {
                    default: CSSProperties;
                    type: PropType<CSSProperties>;
                };
                placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
                prefixCls: StringConstructor;
                transitionName: StringConstructor;
                trigger: {
                    type: PropType<Trigger | Trigger[]>;
                };
                visible: {
                    default: any;
                    type: BooleanConstructor;
                };
            }>>>;
        };
        fields: {
            type: PropType<Field[]>;
        };
        format: {
            type: PropType<CronFormat>;
        };
        locale: {
            type: StringConstructor;
        };
        modelValue: {
            type: StringConstructor;
        };
        period: {
            type: StringConstructor;
        };
        periods: {
            type: PropType<Period[]>;
        };
    }>> & {
        onError?: ((...args) => any);
        onUpdate:model-value?: ((...args) => any);
        onUpdate:period?: ((...args) => any);
    }, "cols" | "disabled" | "buttonProps" | "dropdownProps">
    $refs: Data
    $root: null | ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>
    $slots: Readonly<InternalSlots>
    buttonProps: Partial<ExtractPropTypes<{
        block: {
            default: any;
            type: BooleanConstructor;
        };
        danger: {
            default: any;
            type: BooleanConstructor;
        };
        disabled: {
            default: any;
            type: BooleanConstructor;
        };
        ghost: {
            default: any;
            type: BooleanConstructor;
        };
        href: StringConstructor;
        htmlType: {
            default: string;
            type: PropType<ButtonHTMLType>;
        };
        icon: VueTypeValidableDef<any>;
        loading: {
            default: (() => boolean | {
                delay?: number;
            });
            type: PropType<boolean | {
                delay?: number;
            }>;
        };
        onClick: {
            type: PropType<((event) => void)>;
        };
        onMousedown: {
            type: PropType<((event) => void)>;
        };
        prefixCls: StringConstructor;
        shape: {
            type: PropType<ButtonShape>;
        };
        size: {
            type: PropType<SizeType>;
        };
        target: StringConstructor;
        title: StringConstructor;
        type: PropType<ButtonType>;
    }>>

    Properties of Ant Design Vue Button

    cols: Record<string, number>
    cron: string
    customLocale?: Localization
    disabled: boolean
    dropdownProps: Partial<ExtractPropTypes<{
        align: {
            type: PropType<Align>;
        };
        arrow: {
            default: any;
            type: PropType<boolean | DropdownArrowOptions>;
        };
        destroyPopupOnHide: {
            default: any;
            type: BooleanConstructor;
        };
        disabled: {
            default: any;
            type: BooleanConstructor;
        };
        forceRender: {
            default: any;
            type: BooleanConstructor;
        };
        getPopupContainer: PropType<((triggerNode) => HTMLElement)>;
        minOverlayWidthMatchTrigger: {
            default: any;
            type: BooleanConstructor;
        };
        mouseEnterDelay: NumberConstructor;
        mouseLeaveDelay: NumberConstructor;
        onUpdate:visible: {
            type: PropType<((val) => void)>;
        };
        onVisibleChange: {
            type: PropType<((val) => void)>;
        };
        openClassName: StringConstructor;
        overlay: VueTypeValidableDef<any>;
        overlayClassName: StringConstructor;
        overlayStyle: {
            default: CSSProperties;
            type: PropType<CSSProperties>;
        };
        placement: PropType<"bottom" | "top" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter">;
        prefixCls: StringConstructor;
        transitionName: StringConstructor;
        trigger: {
            type: PropType<Trigger | Trigger[]>;
        };
        visible: {
            default: any;
            type: BooleanConstructor;
        };
    }>>

    Properties of Ant Design Vue Dropdown

    error: string
    fields?: Field[]
    format?: CronFormat
    locale?: string
    modelValue?: string
    onError?: ((...args) => any)

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

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

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    onUpdate:period?: ((...args) => any)

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    period: string & {
        items: {
            id: string;
            text: any;
            value: string[];
        }[];
        prefix: Ref<string>;
        select: ((periodId) => void);
        selected: Ref<{
            id: string;
            text?: string;
            value: string[];
        } | {
            id: string;
            text: any;
            value: string[];
        }>;
        suffix: Ref<string>;
    }

    Type declaration

    • items: {
          id: string;
          text: any;
          value: string[];
      }[]
    • prefix: Ref<string>
    • select: ((periodId) => void)
        • (periodId): void
        • Parameters

          • periodId: string

          Returns void

    • selected: Ref<{
          id: string;
          text?: string;
          value: string[];
      } | {
          id: string;
          text: any;
          value: string[];
      }>
    • suffix: Ref<string>
    periods?: Period[]
    segments: {
        cron: Ref<string>;
        error: Ref<string>;
        id: string;
        items: FieldItem[];
        prefix: Ref<string>;
        select: ((evt) => void);
        selected: Ref<number[]>;
        suffix: Ref<string>;
        text: Ref<string>;
    }[]

    Type declaration

    • cron: Ref<string>
    • error: Ref<string>
    • id: string
    • items: FieldItem[]
    • prefix: Ref<string>
    • select: ((evt) => void)
        • (evt): void
        • Parameters

          • evt: number[]

          Returns void

    • selected: Ref<number[]>
    • suffix: Ref<string>
    • text: Ref<string>
    selected: {
        cron: Ref<string>;
        error: Ref<string>;
        id: string;
        items: FieldItem[];
        prefix: Ref<string>;
        select: ((evt) => void);
        selected: Ref<number[]>;
        suffix: Ref<string>;
        text: Ref<string>;
    }[]

    Type declaration

    • cron: Ref<string>
    • error: Ref<string>
    • id: string
    • items: FieldItem[]
    • prefix: Ref<string>
    • select: ((evt) => void)
        • (evt): void
        • Parameters

          • evt: number[]

          Returns void

    • selected: Ref<number[]>
    • suffix: Ref<string>
    • text: Ref<string>

    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