UNPKG

@aplus-frontend/ui

Version:

1,011 lines (1,010 loc) 44 kB
import { ApFormItemNumberProps } from '../interface'; import { ApFormItemSlots } from '../../interface'; import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue'; import { FieldMode, ApFieldNumberProps } from '../../..'; import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal'; import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface'; import { ButtonSize } from '@aplus-frontend/antdv/es/button'; import { VueTypeValidableDef } from '../../../../node_modules/vue-types'; import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type'; import { OnCleanup } from '@vue/reactivity'; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; } & Omit<ApFormItemSlots, "default">> & { addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; } & Omit<ApFormItemSlots, "default">; refs: { inputNumberRef: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly mode?: FieldMode | undefined; readonly class?: unknown; readonly style?: unknown; readonly size?: "small" | "large" | "middle" | undefined; readonly step?: ValueType | undefined; readonly onBlur?: ((e: FocusEvent) => void) | undefined; readonly onChange?: ((value: ValueType) => void) | undefined; readonly onFocus?: ((e: FocusEvent) => void) | undefined; readonly onInput?: ((text: string) => void) | undefined; readonly value?: ValueType | undefined; readonly disabled?: boolean | undefined; readonly prefixCls?: string | undefined; readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined; readonly keyboard?: boolean | undefined; readonly autofocus?: boolean | undefined; readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined; readonly bordered?: boolean | undefined; readonly readonly?: boolean | undefined; readonly onPressEnter?: KeyboardEventHandler | undefined; readonly status?: "" | "error" | "warning" | undefined; readonly defaultValue?: ValueType | undefined; readonly changeOnWheel?: boolean | undefined; readonly stringMode?: boolean | undefined; readonly min?: ValueType | undefined; readonly max?: ValueType | undefined; readonly controls?: boolean | undefined; readonly parser?: ((displayValue: string) => ValueType) | undefined; readonly formatter?: ((value: ValueType, info: { userTyping: boolean; input: string; }) => string) | undefined; readonly onStep?: ((value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void) | undefined; readonly type?: string | undefined; readonly name?: string | undefined; readonly id?: string | undefined; readonly placeholder?: string | undefined; readonly valueModifiers?: Record<string, any> | undefined; readonly addonBefore?: any; readonly addonAfter?: any; readonly prefix?: any; readonly suffix?: any; readonly tabindex?: number | undefined; readonly precision?: number | undefined; readonly decimalSeparator?: string | undefined; readonly emptyText?: string | undefined; readonly thousands?: boolean | undefined; readonly limitDecimalsRetain?: boolean | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; } & { inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{ size: { type: PropType<ButtonSize>; default: ButtonSize; }; bordered: { type: BooleanConstructor; default: boolean; }; placeholder: StringConstructor; name: StringConstructor; id: StringConstructor; type: StringConstructor; addonBefore: VueTypeValidableDef<any>; addonAfter: VueTypeValidableDef<any>; prefix: VueTypeValidableDef<any>; suffix: VueTypeValidableDef<any>; 'onUpdate:value': { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; valueModifiers: ObjectConstructor; status: { type: PropType<"" | "error" | "warning">; default: "" | "error" | "warning"; }; variant: { type: PropType<"filled" | "outlined" | "borderless" | "underlined">; default: "filled" | "outlined" | "borderless" | "underlined"; }; changeOnWheel: { type: BooleanConstructor; default: boolean; }; stringMode: { type: BooleanConstructor; default: boolean; }; defaultValue: { type: PropType<ValueType>; default: ValueType; }; value: { type: PropType<ValueType>; default: ValueType; }; prefixCls: { type: PropType<string>; default: string; }; min: { type: PropType<ValueType>; default: ValueType; }; max: { type: PropType<ValueType>; default: ValueType; }; step: { type: PropType<ValueType>; default: ValueType; }; tabindex: NumberConstructor; controls: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; autofocus: { type: BooleanConstructor; default: boolean; }; keyboard: { type: BooleanConstructor; default: boolean; }; parser: { type: PropType<(displayValue: string) => ValueType>; default: (displayValue: string) => ValueType; }; formatter: { type: PropType<(value: ValueType, info: { userTyping: boolean; input: string; }) => string>; default: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; }; precision: NumberConstructor; decimalSeparator: StringConstructor; onInput: { type: PropType<(text: string) => void>; default: (text: string) => void; }; onChange: { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; onPressEnter: { type: PropType<KeyboardEventHandler>; default: KeyboardEventHandler; }; onStep: { type: PropType<(value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void>; default: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }; onBlur: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; onFocus: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, { size: ButtonSize; value: ValueType; onFocus: (e: FocusEvent) => void; onBlur: (e: FocusEvent) => void; onChange: (value: ValueType) => void; onInput: (text: string) => void; disabled: boolean; max: ValueType; min: ValueType; prefixCls: string; readonly: boolean; autofocus: boolean; variant: "filled" | "outlined" | "borderless" | "underlined"; bordered: boolean; onPressEnter: KeyboardEventHandler; 'onUpdate:value': (value: ValueType) => void; status: "" | "error" | "warning"; defaultValue: ValueType; step: ValueType; changeOnWheel: boolean; stringMode: boolean; controls: boolean; keyboard: boolean; parser: (displayValue: string) => ValueType; formatter: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; onStep: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }, true, {}, CustomSlotsType<{ addonBefore?: any; addonAfter?: any; prefix?: any; suffix?: any; default?: any; upIcon?: any; downIcon?: any; }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ size: { type: PropType<ButtonSize>; default: ButtonSize; }; bordered: { type: BooleanConstructor; default: boolean; }; placeholder: StringConstructor; name: StringConstructor; id: StringConstructor; type: StringConstructor; addonBefore: VueTypeValidableDef<any>; addonAfter: VueTypeValidableDef<any>; prefix: VueTypeValidableDef<any>; suffix: VueTypeValidableDef<any>; 'onUpdate:value': { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; valueModifiers: ObjectConstructor; status: { type: PropType<"" | "error" | "warning">; default: "" | "error" | "warning"; }; variant: { type: PropType<"filled" | "outlined" | "borderless" | "underlined">; default: "filled" | "outlined" | "borderless" | "underlined"; }; changeOnWheel: { type: BooleanConstructor; default: boolean; }; stringMode: { type: BooleanConstructor; default: boolean; }; defaultValue: { type: PropType<ValueType>; default: ValueType; }; value: { type: PropType<ValueType>; default: ValueType; }; prefixCls: { type: PropType<string>; default: string; }; min: { type: PropType<ValueType>; default: ValueType; }; max: { type: PropType<ValueType>; default: ValueType; }; step: { type: PropType<ValueType>; default: ValueType; }; tabindex: NumberConstructor; controls: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; autofocus: { type: BooleanConstructor; default: boolean; }; keyboard: { type: BooleanConstructor; default: boolean; }; parser: { type: PropType<(displayValue: string) => ValueType>; default: (displayValue: string) => ValueType; }; formatter: { type: PropType<(value: ValueType, info: { userTyping: boolean; input: string; }) => string>; default: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; }; precision: NumberConstructor; decimalSeparator: StringConstructor; onInput: { type: PropType<(text: string) => void>; default: (text: string) => void; }; onChange: { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; onPressEnter: { type: PropType<KeyboardEventHandler>; default: KeyboardEventHandler; }; onStep: { type: PropType<(value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void>; default: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }; onBlur: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; onFocus: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; }>> & Readonly<{}>, () => VueNode, {}, {}, {}, { size: ButtonSize; value: ValueType; onFocus: (e: FocusEvent) => void; onBlur: (e: FocusEvent) => void; onChange: (value: ValueType) => void; onInput: (text: string) => void; disabled: boolean; max: ValueType; min: ValueType; prefixCls: string; readonly: boolean; autofocus: boolean; variant: "filled" | "outlined" | "borderless" | "underlined"; bordered: boolean; onPressEnter: KeyboardEventHandler; 'onUpdate:value': (value: ValueType) => void; status: "" | "error" | "warning"; defaultValue: ValueType; step: ValueType; changeOnWheel: boolean; stringMode: boolean; controls: boolean; keyboard: boolean; parser: (displayValue: string) => ValueType; formatter: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; onStep: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }> | null; }; $slots: Readonly<{ [name: string]: Slot<any> | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: "update:value", ...args: any[]) => void; $el: any; $options: ComponentOptionsBase<Readonly< ApFieldNumberProps> & Readonly<{ "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, { focus: () => void; blur: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:value": (...args: any[]) => void; }, string, { step: ValueType; disabled: boolean; keyboard: boolean; bordered: boolean; emptyText: string; min: ValueType; max: ValueType; controls: boolean; thousands: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle; } & Readonly<{ step: ValueType; disabled: boolean; keyboard: boolean; bordered: boolean; emptyText: string; min: ValueType; max: ValueType; controls: boolean; thousands: boolean; }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{ "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, "blur" | "focus" | ("step" | "disabled" | "keyboard" | "bordered" | "emptyText" | "min" | "max" | "controls" | "thousands")> & ShallowUnwrapRef<{ focus: () => void; blur: () => void; }> & {} & ComponentCustomProperties & {} & { $slots: Readonly<{ addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; }> & { addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; }; }) | null; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: DefineComponent<ApFormItemNumberProps, { focus: () => void; blur: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemNumberProps> & Readonly<{}>, { disabled: boolean; colon: boolean; required: boolean; hasFeedback: boolean; autoLink: boolean; validateFirst: boolean; field: Omit< ApFieldNumberProps, "value" | "onUpdate:value">; }, {}, {}, {}, string, ComponentProvideOptions, false, { inputNumberRef: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly mode?: FieldMode | undefined; readonly class?: unknown; readonly style?: unknown; readonly size?: "small" | "large" | "middle" | undefined; readonly step?: ValueType | undefined; readonly onBlur?: ((e: FocusEvent) => void) | undefined; readonly onChange?: ((value: ValueType) => void) | undefined; readonly onFocus?: ((e: FocusEvent) => void) | undefined; readonly onInput?: ((text: string) => void) | undefined; readonly value?: ValueType | undefined; readonly disabled?: boolean | undefined; readonly prefixCls?: string | undefined; readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined; readonly keyboard?: boolean | undefined; readonly autofocus?: boolean | undefined; readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined; readonly bordered?: boolean | undefined; readonly readonly?: boolean | undefined; readonly onPressEnter?: KeyboardEventHandler | undefined; readonly status?: "" | "error" | "warning" | undefined; readonly defaultValue?: ValueType | undefined; readonly changeOnWheel?: boolean | undefined; readonly stringMode?: boolean | undefined; readonly min?: ValueType | undefined; readonly max?: ValueType | undefined; readonly controls?: boolean | undefined; readonly parser?: ((displayValue: string) => ValueType) | undefined; readonly formatter?: ((value: ValueType, info: { userTyping: boolean; input: string; }) => string) | undefined; readonly onStep?: ((value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void) | undefined; readonly type?: string | undefined; readonly name?: string | undefined; readonly id?: string | undefined; readonly placeholder?: string | undefined; readonly valueModifiers?: Record<string, any> | undefined; readonly addonBefore?: any; readonly addonAfter?: any; readonly prefix?: any; readonly suffix?: any; readonly tabindex?: number | undefined; readonly precision?: number | undefined; readonly decimalSeparator?: string | undefined; readonly emptyText?: string | undefined; readonly thousands?: boolean | undefined; readonly limitDecimalsRetain?: boolean | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; } & { inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{ size: { type: PropType<ButtonSize>; default: ButtonSize; }; bordered: { type: BooleanConstructor; default: boolean; }; placeholder: StringConstructor; name: StringConstructor; id: StringConstructor; type: StringConstructor; addonBefore: VueTypeValidableDef<any>; addonAfter: VueTypeValidableDef<any>; prefix: VueTypeValidableDef<any>; suffix: VueTypeValidableDef<any>; 'onUpdate:value': { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; valueModifiers: ObjectConstructor; status: { type: PropType<"" | "error" | "warning">; default: "" | "error" | "warning"; }; variant: { type: PropType<"filled" | "outlined" | "borderless" | "underlined">; default: "filled" | "outlined" | "borderless" | "underlined"; }; changeOnWheel: { type: BooleanConstructor; default: boolean; }; stringMode: { type: BooleanConstructor; default: boolean; }; defaultValue: { type: PropType<ValueType>; default: ValueType; }; value: { type: PropType<ValueType>; default: ValueType; }; prefixCls: { type: PropType<string>; default: string; }; min: { type: PropType<ValueType>; default: ValueType; }; max: { type: PropType<ValueType>; default: ValueType; }; step: { type: PropType<ValueType>; default: ValueType; }; tabindex: NumberConstructor; controls: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; autofocus: { type: BooleanConstructor; default: boolean; }; keyboard: { type: BooleanConstructor; default: boolean; }; parser: { type: PropType<(displayValue: string) => ValueType>; default: (displayValue: string) => ValueType; }; formatter: { type: PropType<(value: ValueType, info: { userTyping: boolean; input: string; }) => string>; default: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; }; precision: NumberConstructor; decimalSeparator: StringConstructor; onInput: { type: PropType<(text: string) => void>; default: (text: string) => void; }; onChange: { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; onPressEnter: { type: PropType<KeyboardEventHandler>; default: KeyboardEventHandler; }; onStep: { type: PropType<(value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void>; default: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }; onBlur: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; onFocus: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, { size: ButtonSize; value: ValueType; onFocus: (e: FocusEvent) => void; onBlur: (e: FocusEvent) => void; onChange: (value: ValueType) => void; onInput: (text: string) => void; disabled: boolean; max: ValueType; min: ValueType; prefixCls: string; readonly: boolean; autofocus: boolean; variant: "filled" | "outlined" | "borderless" | "underlined"; bordered: boolean; onPressEnter: KeyboardEventHandler; 'onUpdate:value': (value: ValueType) => void; status: "" | "error" | "warning"; defaultValue: ValueType; step: ValueType; changeOnWheel: boolean; stringMode: boolean; controls: boolean; keyboard: boolean; parser: (displayValue: string) => ValueType; formatter: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; onStep: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }, true, {}, CustomSlotsType<{ addonBefore?: any; addonAfter?: any; prefix?: any; suffix?: any; default?: any; upIcon?: any; downIcon?: any; }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ size: { type: PropType<ButtonSize>; default: ButtonSize; }; bordered: { type: BooleanConstructor; default: boolean; }; placeholder: StringConstructor; name: StringConstructor; id: StringConstructor; type: StringConstructor; addonBefore: VueTypeValidableDef<any>; addonAfter: VueTypeValidableDef<any>; prefix: VueTypeValidableDef<any>; suffix: VueTypeValidableDef<any>; 'onUpdate:value': { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; valueModifiers: ObjectConstructor; status: { type: PropType<"" | "error" | "warning">; default: "" | "error" | "warning"; }; variant: { type: PropType<"filled" | "outlined" | "borderless" | "underlined">; default: "filled" | "outlined" | "borderless" | "underlined"; }; changeOnWheel: { type: BooleanConstructor; default: boolean; }; stringMode: { type: BooleanConstructor; default: boolean; }; defaultValue: { type: PropType<ValueType>; default: ValueType; }; value: { type: PropType<ValueType>; default: ValueType; }; prefixCls: { type: PropType<string>; default: string; }; min: { type: PropType<ValueType>; default: ValueType; }; max: { type: PropType<ValueType>; default: ValueType; }; step: { type: PropType<ValueType>; default: ValueType; }; tabindex: NumberConstructor; controls: { type: BooleanConstructor; default: boolean; }; readonly: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; autofocus: { type: BooleanConstructor; default: boolean; }; keyboard: { type: BooleanConstructor; default: boolean; }; parser: { type: PropType<(displayValue: string) => ValueType>; default: (displayValue: string) => ValueType; }; formatter: { type: PropType<(value: ValueType, info: { userTyping: boolean; input: string; }) => string>; default: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; }; precision: NumberConstructor; decimalSeparator: StringConstructor; onInput: { type: PropType<(text: string) => void>; default: (text: string) => void; }; onChange: { type: PropType<(value: ValueType) => void>; default: (value: ValueType) => void; }; onPressEnter: { type: PropType<KeyboardEventHandler>; default: KeyboardEventHandler; }; onStep: { type: PropType<(value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void>; default: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }; onBlur: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; onFocus: { type: PropType<(e: FocusEvent) => void>; default: (e: FocusEvent) => void; }; }>> & Readonly<{}>, () => VueNode, {}, {}, {}, { size: ButtonSize; value: ValueType; onFocus: (e: FocusEvent) => void; onBlur: (e: FocusEvent) => void; onChange: (value: ValueType) => void; onInput: (text: string) => void; disabled: boolean; max: ValueType; min: ValueType; prefixCls: string; readonly: boolean; autofocus: boolean; variant: "filled" | "outlined" | "borderless" | "underlined"; bordered: boolean; onPressEnter: KeyboardEventHandler; 'onUpdate:value': (value: ValueType) => void; status: "" | "error" | "warning"; defaultValue: ValueType; step: ValueType; changeOnWheel: boolean; stringMode: boolean; controls: boolean; keyboard: boolean; parser: (displayValue: string) => ValueType; formatter: (value: ValueType, info: { userTyping: boolean; input: string; }) => string; onStep: (value: ValueType, info: { offset: ValueType; type: "up" | "down"; }) => void; }> | null; }; $slots: Readonly<{ [name: string]: Slot<any> | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: "update:value", ...args: any[]) => void; $el: any; $options: ComponentOptionsBase<Readonly< ApFieldNumberProps> & Readonly<{ "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, { focus: () => void; blur: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:value": (...args: any[]) => void; }, string, { step: ValueType; disabled: boolean; keyboard: boolean; bordered: boolean; emptyText: string; min: ValueType; max: ValueType; controls: boolean; thousands: boolean; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle; } & Readonly<{ step: ValueType; disabled: boolean; keyboard: boolean; bordered: boolean; emptyText: string; min: ValueType; max: ValueType; controls: boolean; thousands: boolean; }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{ "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, "blur" | "focus" | ("step" | "disabled" | "keyboard" | "bordered" | "emptyText" | "min" | "max" | "controls" | "thousands")> & ShallowUnwrapRef<{ focus: () => void; blur: () => void; }> & {} & ComponentCustomProperties & {} & { $slots: Readonly<{ addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; }> & { addonBefore?: any; addonAfter?: any; prefix?: any; default?: any; upIcon?: any; downIcon?: any; }; }) | null; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };