UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

161 lines (160 loc) 3.51 kB
import { buildProps as t, localeProp as i, booleanProp as n, eventProp as e, classProp as r, styleProp as l, sizeProp as o } from "@vexip-ui/config"; const c = t({ locale: i("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: n, border: n, highlight: n, useXBar: n, useYBar: n, barFade: Number, rowDraggable: n, rowHeight: Number, rowMinHeight: Number, virtual: n, bufferCount: Number, scrollClass: Object, expandRenderer: Function, currentPage: Number, pageSize: Number, transparent: n, tooltipTheme: String, tooltipWidth: [Number, String], singleSorter: n, singleFilter: n, 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: n, customFilter: n, keyConfig: Object, disabledTree: n, rowIndent: [String, Number], noCascaded: n, colResizable: { type: [Boolean, String], default: null }, cellSpan: Function, sidePadding: [Number, Array], icons: Object, borderWidth: Number, dataFilter: Function, noTransition: n, ellipsis: n, 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 = t({ idKey: [Number, String], name: String, accessor: Function, fixed: { type: [Boolean, String], default: null }, class: r, style: l, attrs: Object, type: String, width: Number, filter: Object, sorter: { type: [Boolean, Object], default: null }, renderer: Function, headRenderer: Function, filterRenderer: Function, order: Number, ellipsis: n, checkboxSize: o, selectionSize: o, disableRow: Function, truthIndex: n, orderLabel: Function, meta: Object, textAlign: String, headSpan: Number, cellSpan: Function, noSummary: n, summaryRenderer: Function, indented: n, formatter: Function, singleSelect: n }), s = t({ name: String, fixed: { type: [Boolean, String], default: null }, order: Number, ellipsis: n, textAlign: String, renderer: Function, children: Array }), b = t({ idKey: [Number, String], name: String, class: r, style: l, attrs: Object, cellSpan: Function, order: Number, above: n, meta: Object, renderer: Function }); export { s as tableColumnGroupProps, u as tableColumnProps, c as tableProps, b as tableSummaryProps }; //# sourceMappingURL=props.mjs.map