@oiij/naive-ui
Version:
Some Composable Functions And Components for Vue 3
51 lines (50 loc) • 1.79 kB
TypeScript
import { ClassStyle } from "../data-table-plus/index.js";
import "../../components.js";
import * as vue35 from "vue";
import * as naive_ui15 from "naive-ui";
//#region src/components/search-input/SearchInput.vue.d.ts
declare var __VLS_19: {}, __VLS_21: {}, __VLS_28: {
value: string | null | undefined;
loading: boolean;
}, __VLS_39: {};
type __VLS_Slots = {} & {
prefix?: (props: typeof __VLS_19) => any;
} & {
'prefix-icon'?: (props: typeof __VLS_21) => any;
} & {
button?: (props: typeof __VLS_28) => any;
} & {
'button-icon'?: (props: typeof __VLS_39) => any;
};
declare const __VLS_base: vue35.DefineComponent<{
value?: string | null;
type?: naive_ui15.ButtonProps["type"];
placeholder?: string;
loading?: boolean;
autoTrigger?: boolean | number;
searchButton?: "text" | "icon" | boolean;
inputProps?: naive_ui15.InputProps & ClassStyle;
buttonProps?: naive_ui15.ButtonProps & ClassStyle;
}, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {} & {
"update:value": (v: string | null | undefined) => any;
}, string, vue35.PublicProps, Readonly<{
value?: string | null;
type?: naive_ui15.ButtonProps["type"];
placeholder?: string;
loading?: boolean;
autoTrigger?: boolean | number;
searchButton?: "text" | "icon" | boolean;
inputProps?: naive_ui15.InputProps & ClassStyle;
buttonProps?: naive_ui15.ButtonProps & ClassStyle;
}> & Readonly<{
"onUpdate:value"?: ((v: string | null | undefined) => any) | undefined;
}>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//#endregion
export { _default };