This commit is contained in:
2022-11-15 09:16:55 +08:00
parent a062e58312
commit c1cce5a7c2
350 changed files with 73104 additions and 92 deletions

View File

@@ -0,0 +1,17 @@
import { VNodeTypes } from "vue";
import type { PropType } from "vue";
export declare type RenderFunc = (props: Record<string, unknown>) => VNodeTypes;
declare const _default: import("vue").DefineComponent<{
renderFunc: {
type: PropType<RenderFunc>;
default: null;
};
}, () => VNodeTypes | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
renderFunc: {
type: PropType<RenderFunc>;
default: null;
};
}>>, {
renderFunc: RenderFunc;
}>;
export default _default;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,7 @@
export declare type ButtonType = "primary" | "normal" | "warm" | "danger";
export declare type ButtonSize = "lg" | "md" | "sm" | "xs";
export declare type ButtonBorder = "green" | "blue" | "orange" | "red" | "black";
export declare type ButtonNativeType = "button" | "submit" | "reset";
export declare const ButtonEmits: {
click: (evt: MouseEvent) => boolean;
};

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type CardShadow = "always" | "hover" | "never";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type CascaderSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type CheckboxSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,26 @@
/**
* 获取年份列表
*/
declare const getYears: () => number[];
/**
* 获取当前日期
*/
declare const getDate: (val?: string) => Date;
/**
* 获取当前年份
*/
declare const getYear: (val?: string) => number;
/**
* 获取当前月份
*/
declare const getMonth: (val?: string) => number;
declare const getDay: (val?: string) => number;
/**
* 获取月份天数
*
* @param year
* @param month
*/
declare const getDayLength: (year: number, month: number) => number;
declare const setDateList: (year: number, month: number) => any[];
export { getDayLength, getYears, getDate, getMonth, getYear, getDay, setDateList, };

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,33 @@
import { Ref } from "vue";
export declare type DatePickerType = "date" | "datetime" | "year" | "time" | "month";
export declare type provideType = {
currentYear: Ref;
currentMonth: Ref;
currentDay: Ref;
dateValue: Ref;
hms: Ref;
type: string;
showPanel: Ref;
clear: Function;
now: Function;
ok: Function;
range: boolean;
rangeValue: {
first: string;
last: string;
hover: string;
firstTime: {
hh: number;
mm: number;
ss: number;
};
lastTime: {
hh: number;
mm: number;
ss: number;
};
};
rangeSeparator: string;
simple: boolean;
timestamp: boolean;
};

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,23 @@
export declare type DropdownTrigger = "click" | "hover" | "focus" | "contextMenu";
export declare type DropdownPlacementLegacy = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "right-top" | "right-bottom" | "left-top" | "left-bottom";
export declare type DropdownPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end" | DropdownPlacementLegacy;
export interface ElementScrollRect {
top: number;
bottom: number;
left: number;
right: number;
scrollTop: number;
scrollBottom: number;
scrollLeft: number;
scrollRight: number;
width: number;
height: number;
}
export interface DropdownContext {
onMouseenter: Function;
onMouseleave: Function;
addChildRef: Function;
removeChildRef: Function;
hide: Function;
}
export declare const dropdownInjectionKey: unique symbol;

View File

@@ -0,0 +1,33 @@
import { DropdownPlacement } from "./interface";
import { Component, VNode, VNodeTypes } from "vue";
export interface SlotChildren {
value?: VNode[];
}
export declare enum ShapeFlags {
ELEMENT = 1,
FUNCTIONAL_COMPONENT = 2,
STATEFUL_COMPONENT = 4,
COMPONENT = 6,
TEXT_CHILDREN = 8,
ARRAY_CHILDREN = 16,
SLOTS_CHILDREN = 32,
TELEPORT = 64,
SUSPENSE = 128,
COMPONENT_SHOULD_KEEP_ALIVE = 256,
COMPONENT_KEPT_ALIVE = 512
}
export declare const isScrollElement: (element: HTMLElement) => boolean;
export declare const getScrollElements: (container: HTMLElement | undefined) => HTMLElement[];
export declare const isElement: (vn: VNode) => boolean;
export declare const isComponent: (vn: VNode, type?: VNodeTypes) => type is Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
export declare const isArrayChildren: (vn: VNode, children: VNode["children"]) => children is VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>[];
export declare const getChildrenArray: (vn: VNode) => VNode[] | undefined;
export declare const getFirstElementFromVNode: (vn: VNode) => HTMLElement | undefined;
export declare const getFirstElementFromChildren: (children: VNode[] | undefined) => HTMLElement | undefined;
export declare const useFirstElement: () => {
children: SlotChildren;
firstElement: import("vue").Ref<HTMLElement | undefined>;
};
export declare const transformPlacement: (placement: DropdownPlacement) => DropdownPlacement;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,3 @@
import { ValidateMessages } from "async-validator";
declare const _default: ValidateMessages;
export default _default;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { LayIcon as Component } from "@layui/icons-vue";
import { WithInstallType } from "../../utils";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type InputSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type InputNumberSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,3 @@
declare function add(arg1: number, arg2: number): number;
declare function sub(arg1: number, arg2: number): number;
export { add, sub };

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,8 @@
import { Ref, ComputedRef } from "vue";
export declare const LevelInjectionKey: unique symbol;
export declare function provideLevel(level: Ref<number> | number): void;
export default function useLevel(props?: {
provideNextLevel?: boolean;
}): {
level: ComputedRef<number>;
};

View File

@@ -0,0 +1,6 @@
export declare function indentHandle(obj: {
indent: boolean | string;
level: number;
basePadding?: number;
isTree?: boolean;
}): string;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type PanelShadow = "always" | "hover" | "never";

View File

@@ -0,0 +1,2 @@
declare const postionFns: any;
export default postionFns;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type RadioSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,2 @@
export declare type RippleType = "out" | "inset";
export declare type RippleTrigger = "always" | "mouseenter" | "click";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1 @@
export declare type SelectSize = "lg" | "md" | "sm" | "xs";

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,3 @@
export declare function throttle(func: Function): (args: any) => void;
export declare function handle_select(e: Event): void;
export declare function makeDots(props: any): number[];

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

View File

@@ -0,0 +1,4 @@
import { WithInstallType } from "../../utils";
import Component from "./index.vue";
declare const component: WithInstallType<typeof Component>;
export default component;

Some files were not shown because too many files have changed in this diff Show More