mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
35 lines (34 loc) • 1.38 kB
TypeScript
import { DefaultSlots } from '../types';
import { Props, DefineModelOption } from './types';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type __VLS_Props = Props;
type __VLS_PublicProps = {
modelValue?: DefineModelOption.ModelValue;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<Partial<DefaultSlots>> & Partial<DefaultSlots>;
refs: {
colorRef: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (value: DefineModelOption.ModelValue) => any;
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: DefineModelOption.ModelValue) => any) | undefined;
}>, {
size: "default" | "large" | "small";
filterText: (option: DefineModelOption.ModelValue) => string;
showText: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
colorRef: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};