46 lines
2.4 KiB
TypeScript
46 lines
2.4 KiB
TypeScript
import { ElCollectionInjectionContext, ElCollectionItemInjectionContext } from "./tokens.js";
|
|
import * as _$vue from "vue";
|
|
import { InjectionKey, SetupContext } from "vue";
|
|
|
|
//#region ../../packages/components/collection/src/collection.d.ts
|
|
declare const COLLECTION_ITEM_SIGN = "data-el-collection-item";
|
|
declare const createCollectionWithScope: (name: string) => {
|
|
COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext>;
|
|
COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext>;
|
|
ElCollection: {
|
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
P: {};
|
|
B: {};
|
|
D: {};
|
|
C: {};
|
|
M: {};
|
|
Defaults: {};
|
|
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
__isFragment?: never;
|
|
__isTeleport?: never;
|
|
__isSuspense?: never;
|
|
} & _$vue.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & {
|
|
name: string;
|
|
setup(): void;
|
|
};
|
|
ElCollectionItem: {
|
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
P: {};
|
|
B: {};
|
|
D: {};
|
|
C: {};
|
|
M: {};
|
|
Defaults: {};
|
|
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
__isFragment?: never;
|
|
__isTeleport?: never;
|
|
__isSuspense?: never;
|
|
} & _$vue.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & {
|
|
name: string;
|
|
setup(_: unknown, {
|
|
attrs
|
|
}: SetupContext): void;
|
|
};
|
|
};
|
|
//#endregion
|
|
export { COLLECTION_ITEM_SIGN, createCollectionWithScope }; |