mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
43 lines (42 loc) • 1.51 kB
TypeScript
import { Props, Slots, ListDataItem } from './types';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type __VLS_Props = Props;
type __VLS_PublicProps = {
'list'?: ListDataItem[];
'current'?: number;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<Slots> & Slots;
refs: {
dragRef: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:list": (value: ListDataItem[]) => any;
"update:current": (value: number) => any;
} & {
change: (list: ListDataItem[], type: string) => any;
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onChange?: ((list: ListDataItem[], type: string) => any) | undefined;
"onUpdate:list"?: ((value: ListDataItem[]) => any) | undefined;
"onUpdate:current"?: ((value: number) => any) | undefined;
}>, {
width: string;
height: string;
theme: string;
scale: number;
themeText: string;
angleRange: number;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
dragRef: 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;
};
};