@scalar/api-client
Version:
the open source API testing client
51 lines • 1.97 kB
TypeScript
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
import type { VueClassProp } from '../../../types/vue';
type __VLS_Props = {
id?: string;
type?: string | undefined;
/** Class for the wrapping cell because attrs is bound to the input */
containerClass?: VueClassProp | undefined;
required?: boolean;
modelValue: string | number;
/** Allows adding a custom value to the enum dropdown, defaults to true */
canAddCustomEnumValue?: boolean;
readOnly?: boolean;
enum?: string[];
min?: number;
max?: number;
environment: XScalarEnvironment;
description?: string | undefined;
lineWrapping?: boolean;
};
declare var __VLS_5: {}, __VLS_26: {}, __VLS_28: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_5) => any;
} & {
warning?: (props: typeof __VLS_26) => any;
} & {
icon?: (props: typeof __VLS_28) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
selectVariable: (value: string) => any;
"update:modelValue": (v: string) => any;
inputFocus: () => any;
inputBlur: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onSelectVariable?: ((value: string) => any) | undefined;
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
onInputFocus?: (() => any) | undefined;
onInputBlur?: (() => any) | undefined;
}>, {
required: boolean;
readOnly: boolean;
lineWrapping: boolean;
canAddCustomEnumValue: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=DataTableInput.vue.d.ts.map