birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
138 lines (137 loc) • 3.72 kB
TypeScript
import { InputSize } from "components/input/src/types";
import { PropType } from "vue";
import { LangsType } from "./types";
declare const _sfc_main: import("vue").DefineComponent<{
/** 绑定值 Binding value */
modelValue: {
type: StringConstructor;
default: string;
};
/** 输入框尺寸 Size of the input */
size: {
type: PropType<InputSize>;
default: string;
};
/** 是否禁用 Disabled or not */
disabled: {
type: BooleanConstructor;
default: boolean;
};
/** 是否只读状态 Readonly or not */
readonly: {
type: BooleanConstructor;
default: boolean;
};
/** 是否警示状态 Danger or not */
isDanger: {
type: BooleanConstructor;
default: boolean;
};
/** 占位提示文字 The placeholder text */
placeholder: {
type: StringConstructor;
default: string;
};
/** 是否允许清空 Clearable or not */
clearable: {
type: BooleanConstructor;
default: boolean;
};
/** 语言包 */
langs: {
type: PropType<LangsType>;
default: string;
};
/** 值格式 */
valueFormat: {
type: StringConstructor;
};
/** 隐藏触发器 */
hideTrigger: {
type: BooleanConstructor;
default: boolean;
};
/** 是否显示时间选择器 */
showTime: {
type: BooleanConstructor;
default: boolean;
};
}, {
name: string;
inputRef: import("vue").Ref<any>;
global_value: import("vue").Ref<string>;
showPopup: import("vue").Ref<boolean>;
onInput: () => void;
onBlur: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input" | "blur")[], "update:modelValue" | "input" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/** 绑定值 Binding value */
modelValue: {
type: StringConstructor;
default: string;
};
/** 输入框尺寸 Size of the input */
size: {
type: PropType<InputSize>;
default: string;
};
/** 是否禁用 Disabled or not */
disabled: {
type: BooleanConstructor;
default: boolean;
};
/** 是否只读状态 Readonly or not */
readonly: {
type: BooleanConstructor;
default: boolean;
};
/** 是否警示状态 Danger or not */
isDanger: {
type: BooleanConstructor;
default: boolean;
};
/** 占位提示文字 The placeholder text */
placeholder: {
type: StringConstructor;
default: string;
};
/** 是否允许清空 Clearable or not */
clearable: {
type: BooleanConstructor;
default: boolean;
};
/** 语言包 */
langs: {
type: PropType<LangsType>;
default: string;
};
/** 值格式 */
valueFormat: {
type: StringConstructor;
};
/** 隐藏触发器 */
hideTrigger: {
type: BooleanConstructor;
default: boolean;
};
/** 是否显示时间选择器 */
showTime: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
onInput?: (...args: any[]) => any;
"onUpdate:modelValue"?: (...args: any[]) => any;
onBlur?: (...args: any[]) => any;
}, {
size: InputSize;
disabled: boolean;
modelValue: string;
readonly: boolean;
isDanger: boolean;
placeholder: string;
clearable: boolean;
langs: LangsType;
hideTrigger: boolean;
showTime: boolean;
}, {}>;
export default _sfc_main;