Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
feat(locale): locale
Browse files Browse the repository at this point in the history
locale add zh,en
  • Loading branch information
Dushusir committed Jul 22, 2020
1 parent 30382af commit 4cd2ee4
Show file tree
Hide file tree
Showing 19 changed files with 1,704 additions and 21 deletions.
2 changes: 1 addition & 1 deletion demoData/sheetCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ const sheetCell = {
}],
"status": "1",
"order": "0",
"column": 12,
"column": 18,
"row": 36,
"celldata": [{
"r": 0,
Expand Down
2 changes: 1 addition & 1 deletion demoData/sheetComment.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const sheetComment = {
}],
"status": "0",
"order": "4",
"column": 15,
"column": 18,
"row": 36,
"celldata": [{
"r": 2,
Expand Down
2 changes: 1 addition & 1 deletion demoData/sheetConditionFormat.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const sheetConditionFormat = {
}],
"status": "0",
"order": "2",
"column": 15,
"column": 18,
"row": 36,
"celldata": [{
"r": 0,
Expand Down
2 changes: 1 addition & 1 deletion demoData/sheetFormula.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const sheetFormula = {
}],
"status": "0",
"order": "1",
"column": 15,
"column": 18,
"row": 45,
"celldata": [{
"r": 0,
Expand Down
203 changes: 203 additions & 0 deletions demoData/sheetPivotTable.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
const sheetPivotTable = {
"name": "PivotTable",
"color": "",
"config": {},
"index": "6",
"chart": [{
"sheetIndex": "0",
"dataSheetIndex": "0",
"chartType": "column",
"row": "[1,3]",
"column": "[3,3]",
"chartStyle": "default",
"myWidth": "480",
"myHeight": "288",
"myLeft": "67",
"myTop": "11"
}],
"status": "0",
"order": "6",
"column": 18,
"row": 36,
"celldata": [{
"r": 0,
"c": 0,
"v": "计数:分数"
}, {
"r": 0,
"c": 1,
"v": "理综"
}, {
"r": 0,
"c": 2,
"v": "数学"
}, {
"r": 0,
"c": 3,
"v": "英语"
}, {
"r": 0,
"c": 4,
"v": "语文"
}, {
"r": 0,
"c": 5,
"v": "总计"
}, {
"r": 1,
"c": 0,
"v": "Alex"
}, {
"r": 1,
"c": 1,
"v": 1
}, {
"r": 1,
"c": 2,
"v": 1
}, {
"r": 1,
"c": 3,
"v": 1
}, {
"r": 1,
"c": 4,
"v": 1
}, {
"r": 1,
"c": 5,
"v": 4
}, {
"r": 2,
"c": 0,
"v": "Joy"
}, {
"r": 2,
"c": 1,
"v": 1
}, {
"r": 2,
"c": 2,
"v": 1
}, {
"r": 2,
"c": 3,
"v": 1
}, {
"r": 2,
"c": 4,
"v": 1
}, {
"r": 2,
"c": 5,
"v": 4
}, {
"r": 3,
"c": 0,
"v": "Tim"
}, {
"r": 3,
"c": 1,
"v": 1
}, {
"r": 3,
"c": 2,
"v": 1
}, {
"r": 3,
"c": 3,
"v": 1
}, {
"r": 3,
"c": 4,
"v": 1
}, {
"r": 3,
"c": 5,
"v": 4
}, {
"r": 4,
"c": 0,
"v": "总计"
}, {
"r": 4,
"c": 1,
"v": 3
}, {
"r": 4,
"c": 2,
"v": 3
}, {
"r": 4,
"c": 3,
"v": 3
}, {
"r": 4,
"c": 4,
"v": 3
}, {
"r": 4,
"c": 5,
"v": 12
}],
"visibledatarow": [],
"visibledatacolumn": [],
"rowsplit": [],
"ch_width": 4748,
"rh_height": 1790,
"luckysheet_select_save": [{
"row": [0, 0],
"column": [0, 0]
}],
"luckysheet_selection_range": [],
"scrollLeft": 0,
"scrollTop": 0,
"isPivotTable": true,
"pivotTable": {
"pivot_select_save": {
"left": 0,
"width": 73,
"top": 0,
"height": 19,
"left_move": 0,
"width_move": 369,
"top_move": 0,
"height_move": 259,
"row": [0, 12],
"column": [0, 4],
"row_focus": 0,
"column_focus": 0
},
"pivotDataSheetIndex": 5, //The sheet index where the source data is located
"column": [{
"index": 3,
"name": "科目",
"fullname": "科目"
}],
"row": [{
"index": 1,
"name": "学生",
"fullname": "学生"
}],
"filter": [],
"values": [{
"index": 4,
"name": "分数",
"fullname": "计数:分数",
"sumtype": "COUNTA",
"nameindex": 0
}],
"showType": "column",
"pivotDatas": [
["计数:分数", "理综", "数学", "英语", "语文", "总计"],
["Alex", 1, 1, 1, 1, 4],
["Joy", 1, 1, 1, 1, 4],
["Tim", 1, 1, 1, 1, 4],
["总计", 3, 3, 3, 3, 12]
],
"drawPivotTable": false,
"pivotTableBoundary": [5, 6]
}
}

export default sheetPivotTable;
Loading

0 comments on commit 4cd2ee4

Please sign in to comment.