@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
47 lines (46 loc) • 1.39 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const positiveNumberProps: {
readonly modelValue: {
readonly type: [StringConstructor, NumberConstructor];
readonly default: "";
};
readonly clearable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly placeholder: {
readonly type: StringConstructor;
};
readonly decimal: {
readonly type: [NumberConstructor];
};
readonly min: {
readonly type: [StringConstructor, NumberConstructor];
};
readonly max: {
readonly type: [StringConstructor, NumberConstructor];
};
readonly negative: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly rmNegative: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
};
export type PositiveNumberProps = ExtractPropTypes<typeof positiveNumberProps>;
export declare const positiveNumberEmits: {
"update:modelValue": (value: any) => any;
change: (value: any) => any;
input: (value: any) => any;
};
export type PositiveNumberEmits = typeof positiveNumberEmits;