增加admin管理帐号和项目的界面--初步实现
This commit is contained in:
+40
@@ -0,0 +1,40 @@
|
||||
import { columns, dataType, fixedDataType, requiredNumber, classType, styleType } from './common.mjs';
|
||||
import { tableV2HeaderProps } from './header.mjs';
|
||||
import { tableV2RowProps } from './row.mjs';
|
||||
import { virtualizedListProps, virtualizedGridProps } from '../../virtual-list/src/props.mjs';
|
||||
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
||||
|
||||
const tableV2GridProps = buildProps({
|
||||
columns,
|
||||
data: dataType,
|
||||
fixedData: fixedDataType,
|
||||
estimatedRowHeight: tableV2RowProps.estimatedRowHeight,
|
||||
width: requiredNumber,
|
||||
height: requiredNumber,
|
||||
headerWidth: requiredNumber,
|
||||
headerHeight: tableV2HeaderProps.headerHeight,
|
||||
bodyWidth: requiredNumber,
|
||||
rowHeight: requiredNumber,
|
||||
cache: virtualizedListProps.cache,
|
||||
useIsScrolling: Boolean,
|
||||
scrollbarAlwaysOn: virtualizedGridProps.scrollbarAlwaysOn,
|
||||
scrollbarStartGap: virtualizedGridProps.scrollbarStartGap,
|
||||
scrollbarEndGap: virtualizedGridProps.scrollbarEndGap,
|
||||
class: classType,
|
||||
style: styleType,
|
||||
containerStyle: styleType,
|
||||
getRowHeight: {
|
||||
type: definePropType(Function),
|
||||
required: true
|
||||
},
|
||||
rowKey: tableV2RowProps.rowKey,
|
||||
onRowsRendered: {
|
||||
type: definePropType(Function)
|
||||
},
|
||||
onScroll: {
|
||||
type: definePropType(Function)
|
||||
}
|
||||
});
|
||||
|
||||
export { tableV2GridProps };
|
||||
//# sourceMappingURL=grid.mjs.map
|
||||
Reference in New Issue
Block a user