ivue-material-plus
Version:
A high quality UI components Library with Vue.js
500 lines (499 loc) • 10 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<{
/**
* 日历方向
*
* @type {Boolean}
*/
landscape: {
type: BooleanConstructor;
};
/**
* 头部颜色
*
* @type {String}
*/
headerColor: {
type: StringConstructor;
};
/**
* 选择框宽度
*
* @type {Boolean}
*/
width: {
type: (NumberConstructor | StringConstructor)[];
default: number;
validator: (value: number | string) => boolean;
};
/**
* 强制100%宽度
*
* @type {Boolean}
*/
fullWidth: {
type: BooleanConstructor;
};
/**
* 隐藏日历头部
*
* @type {Boolean}
*/
noTitle: {
type: BooleanConstructor;
};
/**
* 日期时间
*
* @type {Array, String}
*/
modelValue: {
type: (StringConstructor | ArrayConstructor)[];
};
/**
* Function formatting the year in table header and pickup title
*
* @type {Function}
*/
titleYearFormat: {
type: FunctionConstructor;
};
/**
* Function formatting currently selected date in the picker title
*
* @type {Function}
*/
titleDateFormat: {
type: FunctionConstructor;
};
/**
* 在日/月表头中格式化 tableDate 的函数
*
* @type {Function}
*/
headerDateFormat: {
type: FunctionConstructor;
};
/**
* 在日期选择器表中格式化日期的函数
*
* @type {Function}
*/
dayFormat: {
type: FunctionConstructor;
};
/**
* 函数格式化月份表中的月份
*
* @type {Function}
*/
monthFormat: {
type: FunctionConstructor;
};
/**
* 语言
*
* @type {String}
*/
locale: {
type: StringConstructor;
default: string;
};
/**
* 是否支持日期多选
*
* @type {Boolean}
*/
multiple: {
type: BooleanConstructor;
};
/**
* 日历显示的类型 默认显示为日期
*
* @type {String}
*/
type: {
type: StringConstructor;
validator: (type: string) => boolean;
default: string;
};
/**
* 为年份标题添加图标
*
* @type {String}
*/
yearIcon: {
type: StringConstructor;
};
/**
* 是否只读
*
* @type {Boolean}
*/
readonly: {
type: BooleanConstructor;
};
/**
* 用于监听月份或者年份的变化
*
* @type {String}
*/
pickerDate: {
type: StringConstructor;
};
/**
* 最小年份或月份
*
* @type {String}
*/
min: {
type: StringConstructor;
};
/**
* 最大年份或月份
*
* @type {String}
*/
max: {
type: StringConstructor;
};
/**
* 头部按钮右图标
*
* @type {String}
*/
nextIcon: {
type: StringConstructor;
default: string;
};
/**
* 头部按钮左图标
*
* @type {String}
*/
prevIcon: {
type: StringConstructor;
default: string;
};
/**
* 一周的第一天
*
* @type {String,Number}
*/
firstDayOfWeek: {
type: (NumberConstructor | StringConstructor)[];
default: number;
};
/**
* 设置允许选择日期函数
*
* @type {Function}
*/
allowedDates: {
type: FunctionConstructor;
};
/**
* 是否显示当前日期
*
* @type {Boolean}
*/
showCurrent: {
type: BooleanConstructor;
default: boolean;
};
/**
* 便签用于标记需要注意的日期
*
* @type {Array,Function}
*/
note: {
type: (FunctionConstructor | ArrayConstructor)[];
default: any;
};
/**
* 便签用于标记需要注意的日期的颜色
*
* @type {String, Function, Object}
*/
noteColor: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
default: string;
};
/**
* 点击月份或者年份时日期月份或年份是否跟随改变
*
* @type {Boolean}
*/
reactive: {
type: BooleanConstructor;
};
/**
* 颜色
*
* @type {String}
*/
color: {
type: StringConstructor;
default: string;
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("on-change" | "update:modelValue" | "update:pickerDate")[], "on-change" | "update:modelValue" | "update:pickerDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* 日历方向
*
* @type {Boolean}
*/
landscape: {
type: BooleanConstructor;
};
/**
* 头部颜色
*
* @type {String}
*/
headerColor: {
type: StringConstructor;
};
/**
* 选择框宽度
*
* @type {Boolean}
*/
width: {
type: (NumberConstructor | StringConstructor)[];
default: number;
validator: (value: number | string) => boolean;
};
/**
* 强制100%宽度
*
* @type {Boolean}
*/
fullWidth: {
type: BooleanConstructor;
};
/**
* 隐藏日历头部
*
* @type {Boolean}
*/
noTitle: {
type: BooleanConstructor;
};
/**
* 日期时间
*
* @type {Array, String}
*/
modelValue: {
type: (StringConstructor | ArrayConstructor)[];
};
/**
* Function formatting the year in table header and pickup title
*
* @type {Function}
*/
titleYearFormat: {
type: FunctionConstructor;
};
/**
* Function formatting currently selected date in the picker title
*
* @type {Function}
*/
titleDateFormat: {
type: FunctionConstructor;
};
/**
* 在日/月表头中格式化 tableDate 的函数
*
* @type {Function}
*/
headerDateFormat: {
type: FunctionConstructor;
};
/**
* 在日期选择器表中格式化日期的函数
*
* @type {Function}
*/
dayFormat: {
type: FunctionConstructor;
};
/**
* 函数格式化月份表中的月份
*
* @type {Function}
*/
monthFormat: {
type: FunctionConstructor;
};
/**
* 语言
*
* @type {String}
*/
locale: {
type: StringConstructor;
default: string;
};
/**
* 是否支持日期多选
*
* @type {Boolean}
*/
multiple: {
type: BooleanConstructor;
};
/**
* 日历显示的类型 默认显示为日期
*
* @type {String}
*/
type: {
type: StringConstructor;
validator: (type: string) => boolean;
default: string;
};
/**
* 为年份标题添加图标
*
* @type {String}
*/
yearIcon: {
type: StringConstructor;
};
/**
* 是否只读
*
* @type {Boolean}
*/
readonly: {
type: BooleanConstructor;
};
/**
* 用于监听月份或者年份的变化
*
* @type {String}
*/
pickerDate: {
type: StringConstructor;
};
/**
* 最小年份或月份
*
* @type {String}
*/
min: {
type: StringConstructor;
};
/**
* 最大年份或月份
*
* @type {String}
*/
max: {
type: StringConstructor;
};
/**
* 头部按钮右图标
*
* @type {String}
*/
nextIcon: {
type: StringConstructor;
default: string;
};
/**
* 头部按钮左图标
*
* @type {String}
*/
prevIcon: {
type: StringConstructor;
default: string;
};
/**
* 一周的第一天
*
* @type {String,Number}
*/
firstDayOfWeek: {
type: (NumberConstructor | StringConstructor)[];
default: number;
};
/**
* 设置允许选择日期函数
*
* @type {Function}
*/
allowedDates: {
type: FunctionConstructor;
};
/**
* 是否显示当前日期
*
* @type {Boolean}
*/
showCurrent: {
type: BooleanConstructor;
default: boolean;
};
/**
* 便签用于标记需要注意的日期
*
* @type {Array,Function}
*/
note: {
type: (FunctionConstructor | ArrayConstructor)[];
default: any;
};
/**
* 便签用于标记需要注意的日期的颜色
*
* @type {String, Function, Object}
*/
noteColor: {
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
default: string;
};
/**
* 点击月份或者年份时日期月份或年份是否跟随改变
*
* @type {Boolean}
*/
reactive: {
type: BooleanConstructor;
};
/**
* 颜色
*
* @type {String}
*/
color: {
type: StringConstructor;
default: string;
};
}>> & {
"onOn-change"?: (...args: any[]) => any;
"onUpdate:modelValue"?: (...args: any[]) => any;
"onUpdate:pickerDate"?: (...args: any[]) => any;
}, {
type: string;
width: string | number;
readonly: boolean;
color: string;
multiple: boolean;
prevIcon: string;
nextIcon: string;
locale: string;
landscape: boolean;
fullWidth: boolean;
noTitle: boolean;
firstDayOfWeek: string | number;
showCurrent: boolean;
note: Function | unknown[];
noteColor: string | Function | Record<string, any>;
reactive: boolean;
}>;
export default _sfc_main;