@aplus-frontend/ui
Version:
45 lines (44 loc) • 1.48 kB
TypeScript
import { ApFieldSecondProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
type ApFieldSecondSlots = {
addonBefore?: any;
addonAfter?: any;
prefix?: any;
default?: any;
upIcon?: any;
downIcon?: any;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<ApFieldSecondSlots> & ApFieldSecondSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFieldSecondProps, {
focus: () => void;
blur: () => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:value": (...args: any[]) => void;
}, string, PublicProps, Readonly<ApFieldSecondProps> & Readonly<{
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
}>, {
step: ValueType;
disabled: boolean;
bordered: boolean;
emptyText: string;
changeOnWheel: boolean;
changeOnBlur: boolean;
min: ValueType;
max: ValueType;
controls: boolean;
keyboard: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};