@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
63 lines (62 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const TableBorderTypes = ["all", "row", "column", "frame", "row-column", "row-frame", "column-frame", "none"];
const tableProps = {
/**
* 表头内容 TableColumnT[] | string[]
*/
columns: {
type: Array
},
/**
* 表头内容 ColumnKeysT
*/
columnKeys: {
type: Array
},
/**
* 表格数据 TableRowT[]
*/
data: {
type: Array
},
/**
* 是否显示边框 TableBorderT
*/
border: {
type: String,
default: "row"
},
/**
* 是否小表格
*/
small: {
type: Boolean
},
/**
* 处理单元格合并(表体部分,不包含表头) CellSpanT
*/
cellSpan: {
type: Function
},
/**
* 空数据提示文本
*/
emptyLabel: {
type: String
},
/**
* 是否正在加载
*/
loading: {
type: Boolean
},
/**
* 加载提示文本
*/
loadingLabel: {
type: String
}
};
exports.TableBorderTypes = TableBorderTypes;
exports.tableProps = tableProps;