linkmore-design
Version:
🌈 🚀lm组件库。🚀
55 lines (54 loc) • 1.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.defaultConfig = exports.default = void 0;
const defaultConfig = {
id: 'id',
dataSource: [],
columns: [],
resizeConfig: {
/** 只对 auto-resize 有效,刷新延时,当父容器发生变化时,至少多少毫秒刷新布局 */
refreshDelay: 250,
/** 屏幕 < 632px */
xs: 1,
/** 屏幕 ≥ 632px */
sm: 2,
/** 屏幕 ≥ 888px */
md: 2,
/** 屏幕 ≥ 1152px */
lg: 3,
/** 屏幕 ≥ 1464px */
xl: 4,
/** 屏幕 ≥ 1784px */
xxl: 5
},
checkboxConfig: {
highlight: false,
trigger: 'default',
defaultSelected: []
},
rowConfig: {
gap: {
x: 16,
y: 16
},
height: 211
},
fieldNames: {
title: 'title',
code: 'code',
img: 'img',
tag: 'tag'
},
contentColumn: 1,
size: 'default',
prefixCls: 'lm-chart-table',
groupDefaultExpand: true,
locale: {
noGroup: '无分组'
}
};
exports.defaultConfig = defaultConfig;
var _default = defaultConfig;
exports.default = _default;