UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

280 lines (279 loc) 5.41 kB
import { VNode } from 'vue'; declare const _sfc_main: import("vue").DefineComponent<{ /** * 一周的第一天 * * @type {String,Number} */ firstDayOfWeek: { type: (NumberConstructor | StringConstructor)[]; default: number; }; /** * 年月 * * @type {String} */ tableDate: { type: StringConstructor; required: true; }; /** * 语言 * * @type {String} */ locale: { type: StringConstructor; default: string; }; /** * 当前激活的type * * @type {String} */ activeType: { type: StringConstructor; }; /** * 日期 时间 * * @type {String,Array} */ value: { type: (StringConstructor | ArrayConstructor)[]; }; /** * 最小年份或月份 * * @type {String} */ min: { type: StringConstructor; }; /** * 最大年份或月份 * * @type {String} */ max: { type: StringConstructor; }; /** * 设置允许选择日期函数 * * @type {Function} */ allowedDates: { type: FunctionConstructor; }; /** * 当前日期 * * @type {String} */ current: { type: StringConstructor; }; /** * 只读 * * @type {Boolean} */ readonly: { type: BooleanConstructor; }; /** * 格式化函数 * * @type {Function} */ format: { type: FunctionConstructor; }; /** * 背景颜色 * * @type {Function} */ backgroundColor: { type: FunctionConstructor; }; /** * 文字颜色 * * @type {Function} */ textColor: { type: FunctionConstructor; }; /** * 便签用于标记需要注意的日期 * * @type {Array, Function} */ note: { type: (FunctionConstructor | ArrayConstructor)[]; }; /** * 便签用于标记需要注意的日期的颜色 * * @type {String, Function, Object} */ noteColor: { type: (ObjectConstructor | StringConstructor | FunctionConstructor)[]; default: string; }; /** * 文字颜色 * * @type {String | Array} */ color: { type: (StringConstructor | ArrayConstructor)[]; }; }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("table-date" | "input")[], "input" | "table-date", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ /** * 一周的第一天 * * @type {String,Number} */ firstDayOfWeek: { type: (NumberConstructor | StringConstructor)[]; default: number; }; /** * 年月 * * @type {String} */ tableDate: { type: StringConstructor; required: true; }; /** * 语言 * * @type {String} */ locale: { type: StringConstructor; default: string; }; /** * 当前激活的type * * @type {String} */ activeType: { type: StringConstructor; }; /** * 日期 时间 * * @type {String,Array} */ value: { type: (StringConstructor | ArrayConstructor)[]; }; /** * 最小年份或月份 * * @type {String} */ min: { type: StringConstructor; }; /** * 最大年份或月份 * * @type {String} */ max: { type: StringConstructor; }; /** * 设置允许选择日期函数 * * @type {Function} */ allowedDates: { type: FunctionConstructor; }; /** * 当前日期 * * @type {String} */ current: { type: StringConstructor; }; /** * 只读 * * @type {Boolean} */ readonly: { type: BooleanConstructor; }; /** * 格式化函数 * * @type {Function} */ format: { type: FunctionConstructor; }; /** * 背景颜色 * * @type {Function} */ backgroundColor: { type: FunctionConstructor; }; /** * 文字颜色 * * @type {Function} */ textColor: { type: FunctionConstructor; }; /** * 便签用于标记需要注意的日期 * * @type {Array, Function} */ note: { type: (FunctionConstructor | ArrayConstructor)[]; }; /** * 便签用于标记需要注意的日期的颜色 * * @type {String, Function, Object} */ noteColor: { type: (ObjectConstructor | StringConstructor | FunctionConstructor)[]; default: string; }; /** * 文字颜色 * * @type {String | Array} */ color: { type: (StringConstructor | ArrayConstructor)[]; }; }>> & { "onTable-date"?: (...args: any[]) => any; onInput?: (...args: any[]) => any; }, { readonly: boolean; locale: string; firstDayOfWeek: string | number; noteColor: string | Function | Record<string, any>; }>; export default _sfc_main;