axp-ui/docs/components/FieldTextArea.vue.d.ts
2023-10-11 10:29:52 +03:00

58 lines
2.3 KiB
TypeScript

import type { TUiFiledWrapperProps } from './FieldWrapper.vue';
export type TUiFieldTextAreaProps = TUiFiledWrapperProps & {
modelValue?: string;
};
export type TUiFieldTextAreaEmits = {
(e: 'input', v: Event): void;
(e: 'update:model-value', v?: string | number | Date): void;
(e: 'update:error', v?: string): void;
};
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
label: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
error: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
disabled: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
readonly: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
description: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
modelValue: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
}, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
input: (v: Event) => void;
"update:model-value": (v?: string | number | Date | undefined) => void;
"update:error": (v?: string | undefined) => void;
}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
label: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
error: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
disabled: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
readonly: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
description: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
modelValue: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
}>> & {
onInput?: ((v: Event) => any) | undefined;
"onUpdate:model-value"?: ((v?: string | number | Date | undefined) => any) | undefined;
"onUpdate:error"?: ((v?: string | undefined) => any) | undefined;
}, {}, {}>;
export default _default;