ztz-table
Version:
ZTZ Table,一个为开发者准备的基于 Vue 3.0 和 Element Plus 的数据表格二次封装的组件库,旨在通过配置文件快速生成表格。集成CRUD功能,通过简单配置,快速完成一个基本的增删查改功能。
18 lines (17 loc) • 720 B
TypeScript
import { TableColumn } from '../table-element-plus/interface';
declare type AnyObject = {
[propName: string]: any;
};
export declare const getProp: (column?: TableColumn) => any;
export declare const getLabel: (column?: TableColumn) => any;
export declare const sortCurdVNodeBtn: (vnodeList?: any) => any;
export declare const checkType: (target: any, value: string) => boolean;
export declare const uuid: () => string;
export declare const getObjectValue: (target: any, path?: string) => any;
/**
const a = { label: 1 }
const b = { label: 2, c: 20 }
mergeDifference(a, b) => a === { label: 1, c: 20 }
*/
export declare function mergeDifference(b?: AnyObject, s?: AnyObject): AnyObject;
export {};