UNPKG

@tplc/wot

Version:

116 lines (115 loc) 1.82 kB
export declare const inputNumberProps: { /** * 绑定值 */ modelValue: { type: (NumberConstructor | StringConstructor)[] required: true } /** * 最小值 */ min: { type: NumberConstructor default: number } /** * 最大值 */ max: { type: NumberConstructor default: number } /** * 步进值 */ step: { type: NumberConstructor default: number } /** * 是否严格按照步进值递增或递减 */ stepStrictly: { type: BooleanConstructor default: boolean } /** * 数值精度 */ precision: { type: NumberConstructor default: number } /** * 是否禁用 */ disabled: { type: BooleanConstructor default: boolean } /** * 是否禁用输入框 */ disableInput: { type: BooleanConstructor default: boolean } /** * 是否禁用减号按钮 */ disableMinus: { type: BooleanConstructor default: boolean } /** * 是否禁用加号按钮 */ disablePlus: { type: BooleanConstructor default: boolean } /** * 是否不显示输入框 */ withoutInput: { type: BooleanConstructor default: boolean } /** * 输入框宽度 */ inputWidth: { type: (NumberConstructor | StringConstructor)[] default: number } /** * 是否允许为空 */ allowNull: { type: BooleanConstructor default: boolean } /** * 输入框占位符 */ placeholder: { type: import('vue').PropType<string> default: string } /** * 是否显示边框 */ bordered: { type: BooleanConstructor default: boolean } customStyle: { type: import('vue').PropType<string> default: string } customClass: { type: import('vue').PropType<string> default: string } }