@scalar/api-client
Version:
the open source API testing client
55 lines • 2.12 kB
TypeScript
import type { Environment } from '@scalar/oas-utils/entities/environment';
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
import type { EnvVariable } from '../../store/active-entities.js';
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: Environment;
envVariables: EnvVariable[];
workspace: Workspace;
description?: string | undefined;
lineWrapping?: boolean;
};
declare var __VLS_5: {}, __VLS_25: {}, __VLS_27: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_5) => any;
} & {
warning?: (props: typeof __VLS_25) => any;
} & {
icon?: (props: typeof __VLS_27) => 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