From ed2e7001f6612ca37d9f2527f0fad99edfa1bad1 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sat, 18 Apr 2020 15:20:49 +0300 Subject: [PATCH] d.ts for InputNumber --- exports/inputnumber.d.ts | 1 + exports/inputnumber.js | 2 ++ src/components/inputnumber/InputNumber.d.ts | 26 +++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 exports/inputnumber.d.ts create mode 100644 exports/inputnumber.js create mode 100644 src/components/inputnumber/InputNumber.d.ts diff --git a/exports/inputnumber.d.ts b/exports/inputnumber.d.ts new file mode 100644 index 000000000..c7b5af508 --- /dev/null +++ b/exports/inputnumber.d.ts @@ -0,0 +1 @@ +export * from './components/inputnumber/InputNumber'; \ No newline at end of file diff --git a/exports/inputnumber.js b/exports/inputnumber.js new file mode 100644 index 000000000..8ecd1c96f --- /dev/null +++ b/exports/inputnumber.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./components/inputnumber/InputNumber.vue'); \ No newline at end of file diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts new file mode 100644 index 000000000..f27111c36 --- /dev/null +++ b/src/components/inputnumber/InputNumber.d.ts @@ -0,0 +1,26 @@ +import Vue from 'vue'; + +export declare class InputNumber extends Vue { + value?: number; + format?: boolean; + showButtons?: boolean; + buttonLayout?: string; + incrementButtonClass?: string; + decrementButtonClass?: string; + incrementButtonIcon?: string; + decrementButtonIcon?: string; + locale?: string; + localeMatcher?: string; + mode?: string; + prefix?: string; + suffix?: string; + currency?: string; + currencyDisplay?: string; + useGrouping?: boolean; + minFractionDigits?: number; + maxFractionDigits?: number; + min?: number; + max?: number; + step?: number; + $emit(eventName: string, value: number | Event): this; +} \ No newline at end of file