diff --git a/exports/inputmask.d.ts b/exports/inputmask.d.ts new file mode 100644 index 000000000..8576750f1 --- /dev/null +++ b/exports/inputmask.d.ts @@ -0,0 +1 @@ +export * from './components/inputmask/InputMask'; \ No newline at end of file diff --git a/exports/inputmask.js b/exports/inputmask.js new file mode 100644 index 000000000..b5ccd2965 --- /dev/null +++ b/exports/inputmask.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./components/inputmask/InputMask.vue'); \ No newline at end of file diff --git a/src/components/inputmask/InputMask.d.ts b/src/components/inputmask/InputMask.d.ts new file mode 100644 index 000000000..2cbe2b7e6 --- /dev/null +++ b/src/components/inputmask/InputMask.d.ts @@ -0,0 +1,12 @@ +import Vue, { VNode } from 'vue'; + +export declare class InputMask extends Vue { + value?: string; + $emit(eventName: 'input', value: string): this; + $emit(eventName: 'focus', event: Event): this; + $emit(eventName: 'blur', event: Event): this; + $emit(eventName: 'keydown', event: Event): this; + $emit(eventName: 'keypress', event: Event): this; + $emit(eventName: 'paste', event: Event): this; + $emit(eventName: 'complete', event: Event): this; +} \ No newline at end of file