input-number.vue.d.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import { InputNumberProps } from "./input-number.js";
  2. import * as _$vue from "vue";
  3. //#region ../../packages/components/input-number/src/input-number.vue.d.ts
  4. declare var __VLS_1: {}, __VLS_19: {}, __VLS_52: {}, __VLS_55: {};
  5. type __VLS_Slots = {} & {
  6. 'decrease-icon'?: (props: typeof __VLS_1) => any;
  7. } & {
  8. 'increase-icon'?: (props: typeof __VLS_19) => any;
  9. } & {
  10. prefix?: (props: typeof __VLS_52) => any;
  11. } & {
  12. suffix?: (props: typeof __VLS_55) => any;
  13. };
  14. declare const __VLS_base: _$vue.DefineComponent<InputNumberProps, {
  15. /** @description get focus the input component */focus: () => void; /** @description remove focus the input component */
  16. blur: () => void;
  17. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
  18. "update:modelValue": (val: number | undefined) => void;
  19. focus: (e: FocusEvent) => void;
  20. blur: (e: FocusEvent) => void;
  21. change: (cur: number | undefined, prev: number | undefined) => void;
  22. input: (val: number | null | undefined) => void;
  23. }, string, _$vue.PublicProps, Readonly<InputNumberProps> & Readonly<{
  24. "onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
  25. onInput?: ((val: number | null | undefined) => any) | undefined;
  26. onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
  27. onFocus?: ((e: FocusEvent) => any) | undefined;
  28. onBlur?: ((e: FocusEvent) => any) | undefined;
  29. }>, {
  30. id: string;
  31. disabled: boolean;
  32. readonly: boolean;
  33. tabindex: string | number;
  34. validateEvent: boolean;
  35. inputmode: "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal";
  36. valueOnClear: "min" | "max" | number | null;
  37. max: number;
  38. min: number;
  39. align: "left" | "right" | "center";
  40. step: number;
  41. stepStrictly: boolean;
  42. controls: boolean;
  43. controlsPosition: "" | "right";
  44. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  45. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  46. declare const _default: typeof __VLS_export;
  47. type __VLS_WithSlots<T, S> = T & {
  48. new (): {
  49. $slots: S;
  50. };
  51. };
  52. //#endregion
  53. export { _default as default };