UNPKG

@oiij/naive-ui

Version:

Some Composable Functions And Components for Vue 3

46 lines (45 loc) 1.61 kB
import { ClassStyle } from "../data-table-plus/index.js"; import * as vue13 from "vue"; import { InputProps } from "naive-ui"; //#region src/components/toggle-input/ToggleInput.vue.d.ts type __VLS_Props = { trigger?: 'click' | 'dblclick'; inputProps?: InputProps & ClassStyle; }; declare function onUpdateValue(val: string | number): void; declare function hideInput(): void; declare function onEmit(): void; type __VLS_ModelProps = { 'value'?: string | number; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare var __VLS_1: { onUpdateValue: typeof onUpdateValue; hideInput: typeof hideInput; onEmit: typeof onEmit; inputValue: string | number | undefined; }, __VLS_13: { value: string | number | undefined; }; type __VLS_Slots = {} & { input?: (props: typeof __VLS_1) => any; } & { default?: (props: typeof __VLS_13) => any; }; declare const __VLS_base: vue13.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, vue13.ComponentOptionsMixin, vue13.ComponentOptionsMixin, { "update:value": (value: string | number | undefined) => any; } & { trigger: () => any; }, string, vue13.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onTrigger?: (() => any) | undefined; "onUpdate:value"?: ((value: string | number | undefined) => any) | undefined; }>, {}, {}, {}, {}, string, vue13.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 };