Template
Migrate old admin modules and local crud deps
Port pages for data forms, score admin, student maintenance, vacation records, menu routing, and workbench. Add team switching, dynamic menu loading, viewport scaling, and bundled local fast-crud packages.
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
import "./fs-button.less";
|
||||
/**
|
||||
* 按钮,支持el-button/a-button的配置
|
||||
*/
|
||||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 文字
|
||||
*/
|
||||
text: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
icon: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 右边的图标
|
||||
*/
|
||||
iconRight: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否圆形按钮,text需配置为null
|
||||
*/
|
||||
circle: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* tooltip配置,为空不显示tooltip
|
||||
*/
|
||||
tooltip: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* badge配置,为空不显示badge
|
||||
* `{count:0,dot:"show"}`
|
||||
*/
|
||||
badge: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||||
* 比如:n-button的text
|
||||
*/
|
||||
buttonProps: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 自定义的className
|
||||
*/
|
||||
className: {
|
||||
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否加载中
|
||||
*/
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||||
[key: string]: any;
|
||||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||||
/**
|
||||
* 文字
|
||||
*/
|
||||
text: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
icon: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 右边的图标
|
||||
*/
|
||||
iconRight: {
|
||||
type: (FunctionConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: string;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否圆形按钮,text需配置为null
|
||||
*/
|
||||
circle: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* tooltip配置,为空不显示tooltip
|
||||
*/
|
||||
tooltip: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* badge配置,为空不显示badge
|
||||
* `{count:0,dot:"show"}`
|
||||
*/
|
||||
badge: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||||
* 比如:n-button的text
|
||||
*/
|
||||
buttonProps: {
|
||||
type: ObjectConstructor;
|
||||
default: any;
|
||||
};
|
||||
/**
|
||||
* 自定义的className
|
||||
*/
|
||||
className: {
|
||||
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
/**
|
||||
* 是否加载中
|
||||
*/
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: any;
|
||||
required: false;
|
||||
};
|
||||
}>> & Readonly<{
|
||||
onClick?: (...args: any[]) => any;
|
||||
}>, {
|
||||
circle: boolean;
|
||||
text: string;
|
||||
icon: string | Function | Record<string, any>;
|
||||
iconRight: string | Function | Record<string, any>;
|
||||
tooltip: Record<string, any>;
|
||||
badge: Record<string, any>;
|
||||
buttonProps: Record<string, any>;
|
||||
className: string | Record<string, any> | unknown[];
|
||||
loading: boolean;
|
||||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user