vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
163 lines (162 loc) • 3.56 kB
JavaScript
import { buildProps as n, eventProp as e, booleanProp as t, localeProp as l, sizeProp as r, styleProp as o, classProp as i } from "@vexip-ui/config";
const c = n({
locale: l("table"),
columns: Array,
summaries: Array,
data: Array,
width: [Number, String],
height: Number,
minHeight: Number,
rowClass: [String, Object, Array, Function],
rowStyle: [String, Object, Array, Function],
rowAttrs: [Object, Function],
stripe: t,
border: t,
highlight: t,
useXBar: t,
useYBar: t,
barFade: Number,
rowDraggable: t,
rowHeight: Number,
rowMinHeight: Number,
virtual: t,
bufferCount: Number,
scrollClass: Object,
expandRenderer: Function,
currentPage: Number,
pageSize: Number,
transparent: t,
tooltipTheme: String,
tooltipWidth: [Number, String],
singleSorter: t,
singleFilter: t,
cellClass: [String, Object, Array, Function],
cellStyle: [String, Object, Array, Function],
cellAttrs: [Object, Function],
headClass: [String, Object, Array, Function],
headStyle: [String, Object, Array, Function],
headAttrs: [Object, Function],
footClass: [String, Object, Array, Function],
footStyle: [String, Object, Array, Function],
footAttrs: [Object, Function],
customSorter: t,
customFilter: t,
keyConfig: Object,
disabledTree: t,
rowIndent: [String, Number],
noCascaded: t,
colResizable: {
type: [Boolean, String],
default: null
},
cellSpan: Function,
sidePadding: [Number, Array],
icons: Object,
borderWidth: Number,
dataFilter: Function,
noTransition: t,
ellipsis: t,
slots: Object,
onScroll: e(),
onRowEnter: e(),
onRowLeave: e(),
onRowClick: e(),
onRowDblclick: e(),
onRowContextmenu: e(),
onRowCheck: e(),
onRowCheckAll: e(),
onRowExpand: e(),
onRowTreeExpand: e(),
onRowDragStart: e(),
onRowDragOver: e(),
onRowDrop: e(),
onRowDragEnd: e(),
onRowFilter: e(),
onRowSort: e(),
onCellEnter: e(),
onCellLeave: e(),
onCellClick: e(),
onCellDblclick: e(),
onCellContextmenu: e(),
onHeadEnter: e(),
onHeadLeave: e(),
onHeadClick: e(),
onHeadDblclick: e(),
onHeadContextmenu: e(),
onColResizeStart: e(),
onColResizeMove: e(),
onColResizeEnd: e(),
onFootEnter: e(),
onFootLeave: e(),
onFootClick: e(),
onFootDblclick: e(),
onFootContextmenu: e()
}), u = n({
idKey: [Number, String],
name: String,
accessor: Function,
fixed: {
type: [Boolean, String],
default: null
},
class: i,
style: o,
attrs: Object,
type: String,
width: [Number, String],
minWidth: Number,
maxWidth: Number,
filter: Object,
sorter: {
type: [Boolean, Object],
default: null
},
renderer: Function,
headRenderer: Function,
filterRenderer: Function,
order: Number,
ellipsis: t,
checkboxSize: r,
selectionSize: r,
disableRow: Function,
truthIndex: t,
orderLabel: Function,
meta: Object,
textAlign: String,
headSpan: Number,
cellSpan: Function,
noSummary: t,
summaryRenderer: Function,
indented: t,
formatter: Function,
singleSelect: t
}), s = n({
name: String,
fixed: {
type: [Boolean, String],
default: null
},
order: Number,
ellipsis: t,
textAlign: String,
renderer: Function,
children: Array
}), b = n({
idKey: [Number, String],
name: String,
class: i,
style: o,
attrs: Object,
cellSpan: Function,
order: Number,
above: t,
meta: Object,
renderer: Function
});
export {
s as tableColumnGroupProps,
u as tableColumnProps,
c as tableProps,
b as tableSummaryProps
};
//# sourceMappingURL=props.mjs.map