From d14f89209bc9d12aa42e432708aa2ec85b570108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 1 Mar 2023 11:50:38 +0300 Subject: [PATCH] InputText d.ts updated --- components/inputtext/InputText.d.ts | 46 +++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/components/inputtext/InputText.d.ts b/components/inputtext/InputText.d.ts index a13dd4dd6..0cb32e1ef 100755 --- a/components/inputtext/InputText.d.ts +++ b/components/inputtext/InputText.d.ts @@ -1,6 +1,18 @@ +/** + * + * InputText renders a text field to enter data. + * + * [Live Demo](https://www.primevue.org/inputtext/) + * + * @module inputtext + * + */ import { InputHTMLAttributes } from 'vue'; import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; +/** + * Defines valid properties in InputText component. + */ export interface InputTextProps extends InputHTMLAttributes { /** * Value of the component. @@ -8,17 +20,34 @@ export interface InputTextProps extends InputHTMLAttributes { modelValue?: Nullable; } +/** + * Defines valid slots in InputText component. + */ export interface InputTextSlots {} -export declare type InputTextEmits = { +/** + * Defines valid emits in InputText component. + */ +export interface InputTextEmits { /** * Emitted when the value changes. * @param {string} value - New value. */ - 'update:modelValue': (value: string | undefined) => void; -}; + 'update:modelValue'(value: string | undefined): void; +} -declare class InputText extends ClassComponent {} +/** + * **PrimeVue - InputText** + * + * _InputText renders a text field to enter data._ + * + * [Live Demo](https://www.primevue.org/inputtext/) + * --- --- + * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) + * + * @group Component + */ +export declare class InputText extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { @@ -26,13 +55,4 @@ declare module '@vue/runtime-core' { } } -/** - * - * InputText renders a text field to enter data. - * - * Demos: - * - * - [InputText](https://www.primefaces.org/primevue/inputtext) - * - */ export default InputText;