forgeplus-react/node_modules/react-virtualized/dist/commonjs/Collection/TestData.js

79 lines
1004 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SECTION_SIZE = exports.CELLS = void 0;
/*
0 1 2 3 4 5
00 01 36 6
10 02 36 6
24 44 37 8
34 44 59 9
Sections to Cells map:
0.0 [0]
1.0 [1, 2, 3]
2.0 [6]
0.1 [4]
1.1 [3, 4, 5]
2.1 [7, 8, 9]
*/
var CELLS = [{
x: 0,
y: 0,
width: 2,
height: 2
}, {
x: 2,
y: 0,
width: 1,
height: 1
}, {
x: 2,
y: 1,
width: 1,
height: 1
}, {
x: 3,
y: 0,
width: 1,
height: 3
}, {
x: 0,
y: 2,
width: 3,
height: 2
}, {
x: 3,
y: 3,
width: 1,
height: 1
}, {
x: 4,
y: 0,
width: 2,
height: 2
}, {
x: 4,
y: 2,
width: 1,
height: 1
}, {
x: 5,
y: 2,
width: 1,
height: 1
}, {
x: 4,
y: 3,
width: 2,
height: 1
}];
exports.CELLS = CELLS;
var SECTION_SIZE = 2;
exports.SECTION_SIZE = SECTION_SIZE;