|
|
|
|
export declare const ElCalendar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
|
|
|
readonly modelValue: {
|
|
|
|
|
readonly type: import("vue").PropType<Date>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[Date, Date]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}, {
|
|
|
|
|
ns: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
COMPONENT_NAME: string;
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly modelValue: {
|
|
|
|
|
readonly type: import("vue").PropType<Date>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[Date, Date]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>> & {
|
|
|
|
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
|
|
|
onInput?: ((value: Date) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
emit: ((event: "update:modelValue", value: Date) => void) & ((event: "input", value: Date) => void);
|
|
|
|
|
calculateValidatedDateRange: (startDayjs: import("dayjs").Dayjs, endDayjs: import("dayjs").Dayjs) => [import("dayjs").Dayjs, import("dayjs").Dayjs][];
|
|
|
|
|
date: import("vue").ComputedRef<import("dayjs").Dayjs>;
|
|
|
|
|
pickDay: (day: import("dayjs").Dayjs) => void;
|
|
|
|
|
realSelectedDay: import("vue").WritableComputedRef<import("dayjs").Dayjs | undefined>;
|
|
|
|
|
selectDate: (type: import("./src/calendar").CalendarDateType) => void;
|
|
|
|
|
validatedRange: import("vue").ComputedRef<[import("dayjs").Dayjs, import("dayjs").Dayjs][]>;
|
|
|
|
|
t: import("../..").Translator;
|
|
|
|
|
i18nDate: import("vue").ComputedRef<string>;
|
|
|
|
|
ElButton: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly disabled: BooleanConstructor;
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
readonly icon: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
|
|
|
readonly loading: BooleanConstructor;
|
|
|
|
|
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
|
|
|
readonly plain: BooleanConstructor;
|
|
|
|
|
readonly text: BooleanConstructor;
|
|
|
|
|
readonly link: BooleanConstructor;
|
|
|
|
|
readonly bg: BooleanConstructor;
|
|
|
|
|
readonly autofocus: BooleanConstructor;
|
|
|
|
|
readonly round: BooleanConstructor;
|
|
|
|
|
readonly circle: BooleanConstructor;
|
|
|
|
|
readonly color: StringConstructor;
|
|
|
|
|
readonly dark: BooleanConstructor;
|
|
|
|
|
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
|
|
|
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
|
|
|
}, {
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly disabled: BooleanConstructor;
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
readonly icon: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
|
|
|
readonly loading: BooleanConstructor;
|
|
|
|
|
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
|
|
|
readonly plain: BooleanConstructor;
|
|
|
|
|
readonly text: BooleanConstructor;
|
|
|
|
|
readonly link: BooleanConstructor;
|
|
|
|
|
readonly bg: BooleanConstructor;
|
|
|
|
|
readonly autofocus: BooleanConstructor;
|
|
|
|
|
readonly round: BooleanConstructor;
|
|
|
|
|
readonly circle: BooleanConstructor;
|
|
|
|
|
readonly color: StringConstructor;
|
|
|
|
|
readonly dark: BooleanConstructor;
|
|
|
|
|
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
|
|
|
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
|
|
|
}>> & {
|
|
|
|
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
emit: (event: "click", evt: MouseEvent) => void;
|
|
|
|
|
buttonStyle: import("vue").ComputedRef<Record<string, string>>;
|
|
|
|
|
ns: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
|
|
|
_size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
|
|
|
_type: import("vue").ComputedRef<"" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger">;
|
|
|
|
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
|
|
|
_props: import("vue").ComputedRef<{
|
|
|
|
|
ariaDisabled: boolean;
|
|
|
|
|
disabled: boolean;
|
|
|
|
|
autofocus: boolean;
|
|
|
|
|
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
|
|
|
} | {
|
|
|
|
|
ariaDisabled?: undefined;
|
|
|
|
|
disabled?: undefined;
|
|
|
|
|
autofocus?: undefined;
|
|
|
|
|
type?: undefined;
|
|
|
|
|
}>;
|
|
|
|
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
|
|
|
handleClick: (evt: MouseEvent) => void;
|
|
|
|
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly color: {
|
|
|
|
|
readonly type: import("vue").PropType<string>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}, {
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly color: {
|
|
|
|
|
readonly type: import("vue").PropType<string>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>> & {
|
|
|
|
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
ns: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly color: {
|
|
|
|
|
readonly type: import("vue").PropType<string>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>>, {}>> & Record<string, any>;
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
|
|
|
click: (evt: MouseEvent) => boolean;
|
|
|
|
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly disabled: BooleanConstructor;
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
readonly icon: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
|
|
|
readonly loading: BooleanConstructor;
|
|
|
|
|
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
|
|
|
readonly plain: BooleanConstructor;
|
|
|
|
|
readonly text: BooleanConstructor;
|
|
|
|
|
readonly link: BooleanConstructor;
|
|
|
|
|
readonly bg: BooleanConstructor;
|
|
|
|
|
readonly autofocus: BooleanConstructor;
|
|
|
|
|
readonly round: BooleanConstructor;
|
|
|
|
|
readonly circle: BooleanConstructor;
|
|
|
|
|
readonly color: StringConstructor;
|
|
|
|
|
readonly dark: BooleanConstructor;
|
|
|
|
|
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
|
|
|
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
|
|
|
}>> & {
|
|
|
|
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
|
|
|
}, {
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
|
|
|
readonly link: boolean;
|
|
|
|
|
readonly dark: boolean;
|
|
|
|
|
readonly disabled: boolean;
|
|
|
|
|
readonly text: boolean;
|
|
|
|
|
readonly autofocus: boolean;
|
|
|
|
|
readonly round: boolean;
|
|
|
|
|
readonly circle: boolean;
|
|
|
|
|
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
|
|
|
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
|
|
|
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
|
|
|
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
|
|
|
readonly loading: boolean;
|
|
|
|
|
readonly plain: boolean;
|
|
|
|
|
readonly bg: boolean;
|
|
|
|
|
}>> & {
|
|
|
|
|
ButtonGroup: import("vue").DefineComponent<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}, {
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}>> & {
|
|
|
|
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
ns: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}>>, {
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
ElButtonGroup: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}, {
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}>> & {
|
|
|
|
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
ns: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly size: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
|
|
|
}>>, {
|
|
|
|
|
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
|
|
|
}>>;
|
|
|
|
|
DateTable: import("vue").DefineComponent<{
|
|
|
|
|
readonly selectedDay: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly date: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: true;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly hideHeader: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}, {
|
|
|
|
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly selectedDay: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly date: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: true;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly hideHeader: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>> & {
|
|
|
|
|
onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
|
|
|
|
|
}>>;
|
|
|
|
|
emit: (event: "pick", value: import("dayjs").Dayjs) => void;
|
|
|
|
|
isInRange: import("vue").ComputedRef<boolean>;
|
|
|
|
|
now: import("dayjs").Dayjs;
|
|
|
|
|
rows: import("vue").ComputedRef<import("./src/date-table").CalendarDateCell[][]>;
|
|
|
|
|
weekDays: import("vue").ComputedRef<string[]>;
|
|
|
|
|
getFormattedDate: (day: number, type: import("./src/date-table").CalendarDateCellType) => import("dayjs").Dayjs;
|
|
|
|
|
handlePickDay: ({ text, type }: import("./src/date-table").CalendarDateCell) => void;
|
|
|
|
|
getSlotData: ({ text, type }: import("./src/date-table").CalendarDateCell) => {
|
|
|
|
|
isSelected: boolean;
|
|
|
|
|
type: string;
|
|
|
|
|
day: string;
|
|
|
|
|
date: Date;
|
|
|
|
|
};
|
|
|
|
|
nsTable: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
nsDay: {
|
|
|
|
|
namespace: import("vue").ComputedRef<string>;
|
|
|
|
|
b: (blockSuffix?: string) => string;
|
|
|
|
|
e: (element?: string | undefined) => string;
|
|
|
|
|
m: (modifier?: string | undefined) => string;
|
|
|
|
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
|
|
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
|
|
|
is: {
|
|
|
|
|
(name: string, state: boolean | undefined): string;
|
|
|
|
|
(name: string): string;
|
|
|
|
|
};
|
|
|
|
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarName: (name: string) => string;
|
|
|
|
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
|
|
|
cssVarBlockName: (name: string) => string;
|
|
|
|
|
};
|
|
|
|
|
getCellClass: ({ text, type }: import("./src/date-table").CalendarDateCell) => string[];
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
|
|
|
pick: (value: import("dayjs").Dayjs) => boolean;
|
|
|
|
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly selectedDay: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[import("dayjs").Dayjs, import("dayjs").Dayjs]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly date: {
|
|
|
|
|
readonly type: import("vue").PropType<import("dayjs").Dayjs>;
|
|
|
|
|
readonly required: true;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly hideHeader: {
|
|
|
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>> & {
|
|
|
|
|
onPick?: ((value: import("dayjs").Dayjs) => any) | undefined;
|
|
|
|
|
}, {}>;
|
|
|
|
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
|
|
|
"update:modelValue": (value: Date) => boolean;
|
|
|
|
|
input: (value: Date) => boolean;
|
|
|
|
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
|
|
|
readonly modelValue: {
|
|
|
|
|
readonly type: import("vue").PropType<Date>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
readonly range: {
|
|
|
|
|
readonly type: import("vue").PropType<[Date, Date]>;
|
|
|
|
|
readonly required: false;
|
|
|
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
|
|
|
__epPropKey: true;
|
|
|
|
|
};
|
|
|
|
|
}>> & {
|
|
|
|
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
|
|
|
onInput?: ((value: Date) => any) | undefined;
|
|
|
|
|
}, {}>> & Record<string, any>;
|
|
|
|
|
export default ElCalendar;
|
|
|
|
|
export * from './src/calendar';
|
|
|
|
|
export type { CalendarDateTableInstance, DateTableInstance, CalendarInstance, } from './src/instance';
|