@vmf/element-ui
Version:
149 lines (136 loc) • 6.13 kB
TypeScript
import { AllowedComponentProps } from 'vue';
import { App } from 'vue';
import { ComponentCustomProperties } from 'vue';
import { ComponentCustomProps } from 'vue';
import { ComponentInternalInstance } from 'vue';
import { ComponentOptionsBase } from 'vue';
import { ComponentOptionsMixin } from 'vue';
import { ComponentPublicInstance } from 'vue';
import { ComputedOptions } from 'vue';
import { DebuggerEvent } from 'vue';
import { MethodOptions } from 'vue';
import { nextTick } from 'vue';
import { Plugin as Plugin_2 } from '@vue/runtime-core';
import { RouteLocationNormalizedLoaded } from 'vue-router';
import { ShallowUnwrapRef } from 'vue';
import { Slot } from 'vue';
import { VNodeProps } from 'vue';
import { WatchOptions } from 'vue';
import { WatchStopHandle } from 'vue';
export declare interface ElFormCtx {
validate(callback?: Function): void;
}
export declare const install: (app: App) => App;
/**
* Created by henian.xu on 2021/9/7.
*
*/
export declare function loadDefaultRouter(): void;
declare type MenuData = {
id: number;
rootId: number;
name: string;
icon: string;
url: string;
children: MenuData[];
};
declare type MenuResponseData = {
defaultUrl: string;
listMenu: MenuData[];
};
export { RouteLocationNormalizedLoaded }
/**
* Created by henian.xu on 2021/10/7.
*
*/
export declare const VmfCheckbox: {
new (...args: any[]): any;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & ComponentOptionsBase<Readonly<{} & {} & {}>, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
export declare const VmfMainMenu: {
new (...args: any[]): {
$: ComponentInternalInstance;
$data: {};
$props: Partial<{
checkMenu: boolean;
}> & Omit<Readonly<{
dataset?: unknown;
checkMenu?: unknown;
} & {
dataset: MenuResponseData;
checkMenu: boolean;
} & {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps, "checkMenu">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: Slot | undefined;
}>;
$root: ComponentPublicInstance< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
$parent: ComponentPublicInstance< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
$emit: (event: string, ...args: any[]) => void;
$el: any;
$options: ComponentOptionsBase<Readonly<{
dataset?: unknown;
checkMenu?: unknown;
} & {
dataset: MenuResponseData;
checkMenu: boolean;
} & {}>, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
checkMenu: boolean;
}> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
created?: ((() => void) | (() => void)[]) | undefined;
beforeMount?: ((() => void) | (() => void)[]) | undefined;
mounted?: ((() => void) | (() => void)[]) | undefined;
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
updated?: ((() => void) | (() => void)[]) | undefined;
activated?: ((() => void) | (() => void)[]) | undefined;
deactivated?: ((() => void) | (() => void)[]) | undefined;
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
destroyed?: ((() => void) | (() => void)[]) | undefined;
unmounted?: ((() => void) | (() => void)[]) | undefined;
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
};
$forceUpdate: () => void;
$nextTick: nextTick;
$watch(source: string | Function, cb: Function, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
} & Readonly<{
dataset?: unknown;
checkMenu?: unknown;
} & {
dataset: MenuResponseData;
checkMenu: boolean;
} & {}> & ShallowUnwrapRef<() => JSX.Element> & {} & {} & ComponentCustomProperties;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & ComponentOptionsBase<Readonly<{
dataset?: unknown;
checkMenu?: unknown;
} & {
dataset: MenuResponseData;
checkMenu: boolean;
} & {}>, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
checkMenu: boolean;
}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
/**
* Created by henian.xu on 2021/10/7.
*
*/
export declare const VmfPage: {
new (...args: any[]): any;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & ComponentOptionsBase<Readonly<{} & {} & {}>, {}, any, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
export * from "element-plus";
export { }