| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- import type { InjectionKey, SetupContext } from 'vue';
- import type { ElCollectionInjectionContext, ElCollectionItemInjectionContext } from './tokens';
- export declare const COLLECTION_ITEM_SIGN = "data-el-collection-item";
- export declare const createCollectionWithScope: (name: string) => {
- COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext>;
- COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext>;
- ElCollection: {
- name: string;
- setup(): void;
- __isFragment?: never;
- __isTeleport?: never;
- __isSuspense?: never;
- template?: string | object;
- render?: Function;
- components?: Record<string, import("vue").Component>;
- directives?: Record<string, import("vue").Directive>;
- inheritAttrs?: boolean;
- emits?: (import("vue").EmitsOptions & ThisType<void>) | undefined;
- expose?: string[];
- serverPrefetch?(): Promise<any>;
- compilerOptions?: import("vue").RuntimeCompilerOptions;
- call?: (this: unknown, ...args: unknown[]) => never;
- __defaults?: {} | undefined;
- compatConfig?: Partial<Record<import("vue").DeprecationTypes, boolean | "suppress-warning">> & {
- MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3);
- };
- data?: ((this: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, Readonly<import("vue").ExtractPropTypes<{}>>, {}, false, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, Readonly<import("vue").ExtractPropTypes<{}>>, {}, false, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, {}>) => {}) | undefined;
- computed?: {} | undefined;
- methods?: {} | undefined;
- watch?: {
- [x: string]: (string | import("vue").WatchCallback<any, any> | ({
- handler: import("vue").WatchCallback | string;
- } & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
- handler: import("vue").WatchCallback | string;
- } & import("vue").WatchOptions<boolean>))[];
- };
- provide?: import("vue").ComponentProvideOptions;
- inject?: string[] | {
- [x: string]: string | symbol | {
- from?: string | symbol;
- default?: unknown;
- };
- [x: symbol]: string | symbol | {
- from?: string | symbol;
- default?: unknown;
- };
- };
- filters?: Record<string, Function>;
- mixins?: import("vue").ComponentOptionsMixin[] | undefined;
- extends?: import("vue").ComponentOptionsMixin | undefined;
- beforeCreate?(): void;
- created?(): void;
- beforeMount?(): void;
- mounted?(): void;
- beforeUpdate?(): void;
- updated?(): void;
- activated?(): void;
- deactivated?(): void;
- beforeDestroy?(): void;
- beforeUnmount?(): void;
- destroyed?(): void;
- unmounted?(): void;
- renderTracked?: (e: import("vue").DebuggerEvent) => void;
- renderTriggered?: (e: import("vue").DebuggerEvent) => void;
- errorCaptured?: (err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void;
- delimiters?: [string, string];
- __differentiator?: undefined;
- __isBuiltIn?: boolean;
- __file?: string;
- __name?: string;
- beforeRouteEnter?: import("vue-router").NavigationGuardWithThis<undefined>;
- beforeRouteUpdate?: import("vue-router").NavigationGuard;
- beforeRouteLeave?: import("vue-router").NavigationGuard;
- key?: string | number | symbol;
- ref?: import("vue").VNodeRef;
- ref_for?: boolean;
- ref_key?: string;
- onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
- onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- class?: unknown;
- style?: unknown;
- };
- ElCollectionItem: {
- name: string;
- setup(_: unknown, { attrs }: SetupContext): void;
- __isFragment?: never;
- __isTeleport?: never;
- __isSuspense?: never;
- template?: string | object;
- render?: Function;
- components?: Record<string, import("vue").Component>;
- directives?: Record<string, import("vue").Directive>;
- inheritAttrs?: boolean;
- emits?: (import("vue").EmitsOptions & ThisType<void>) | undefined;
- expose?: string[];
- serverPrefetch?(): Promise<any>;
- compilerOptions?: import("vue").RuntimeCompilerOptions;
- call?: (this: unknown, ...args: unknown[]) => never;
- __defaults?: {} | undefined;
- compatConfig?: Partial<Record<import("vue").DeprecationTypes, boolean | "suppress-warning">> & {
- MODE?: 2 | 3 | ((comp: import("vue").Component | null) => 2 | 3);
- };
- data?: ((this: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, Readonly<import("vue").ExtractPropTypes<{}>>, {}, false, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, {}>, vm: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, Readonly<import("vue").ExtractPropTypes<{}>>, {}, false, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, import("vue").MethodOptions, {}>) => {}) | undefined;
- computed?: {} | undefined;
- methods?: {} | undefined;
- watch?: {
- [x: string]: (string | import("vue").WatchCallback<any, any> | ({
- handler: import("vue").WatchCallback | string;
- } & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
- handler: import("vue").WatchCallback | string;
- } & import("vue").WatchOptions<boolean>))[];
- };
- provide?: import("vue").ComponentProvideOptions;
- inject?: string[] | {
- [x: string]: string | symbol | {
- from?: string | symbol;
- default?: unknown;
- };
- [x: symbol]: string | symbol | {
- from?: string | symbol;
- default?: unknown;
- };
- };
- filters?: Record<string, Function>;
- mixins?: import("vue").ComponentOptionsMixin[] | undefined;
- extends?: import("vue").ComponentOptionsMixin | undefined;
- beforeCreate?(): void;
- created?(): void;
- beforeMount?(): void;
- mounted?(): void;
- beforeUpdate?(): void;
- updated?(): void;
- activated?(): void;
- deactivated?(): void;
- beforeDestroy?(): void;
- beforeUnmount?(): void;
- destroyed?(): void;
- unmounted?(): void;
- renderTracked?: (e: import("vue").DebuggerEvent) => void;
- renderTriggered?: (e: import("vue").DebuggerEvent) => void;
- errorCaptured?: (err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void;
- delimiters?: [string, string];
- __differentiator?: undefined;
- __isBuiltIn?: boolean;
- __file?: string;
- __name?: string;
- beforeRouteEnter?: import("vue-router").NavigationGuardWithThis<undefined>;
- beforeRouteUpdate?: import("vue-router").NavigationGuard;
- beforeRouteLeave?: import("vue-router").NavigationGuard;
- key?: string | number | symbol;
- ref?: import("vue").VNodeRef;
- ref_for?: boolean;
- ref_key?: string;
- onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
- onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
- class?: unknown;
- style?: unknown;
- };
- };
|