feat: integrate luckysheet inline and fullscreen
This commit is contained in:
@@ -0,0 +1,410 @@
|
||||
export function initChat() {
|
||||
if (!isNeedChat()) {
|
||||
return
|
||||
}
|
||||
|
||||
// Your CSS as text
|
||||
let styles = `
|
||||
body {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
#chat-assistant-container {
|
||||
position: fixed;
|
||||
right: 40px;
|
||||
bottom: 86px;
|
||||
z-index:9990;
|
||||
}
|
||||
|
||||
#chat-assistant-button {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
border: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
background: linear-gradient(135deg, rgb(215 98 150 / 55%),rgb(34 78 139 / 71%), rgb(114 222 172));
|
||||
box-shadow: 0px 0px 8px 1px rgb(0 0 0 / 22%);
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 3px rgb(0 0 0 / 56%);
|
||||
}
|
||||
|
||||
|
||||
#chat-container {
|
||||
position: fixed;
|
||||
padding: 10px;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
z-index:9990;
|
||||
transform: translate(-50%, -50%);
|
||||
display: none;
|
||||
border-radius: 5px;
|
||||
width: 40%;
|
||||
background: linear-gradient(135deg, rgb(215 98 150 / 92%),rgb(34 78 139 / 93%), rgb(114 222 172 / 94%));
|
||||
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#chat-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 10px 10px 0;
|
||||
border-radius: 5px 5px 0 0;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#loading-indicator {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin: 0 10px 0 10px;
|
||||
border: 2px solid #ccc;
|
||||
border-top-color: #4caf50;
|
||||
border-radius: 50%;
|
||||
animation: spin 2s linear infinite;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#chat-header .show-loading {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#chat-header .hide-loading {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
#circle-button {
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: 16px;
|
||||
user-select: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 3px black;
|
||||
}
|
||||
|
||||
#close-button {
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: 24px;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 3px black;
|
||||
}
|
||||
#send-button {
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#close-button:hover,
|
||||
#send-button:hover {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
#chat-input-container,
|
||||
#chat-input {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#chat-input-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
background-color: #fff;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#chat-input {
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
margin-right: 5px;
|
||||
border-radius: 5px;
|
||||
overflow-y: auto;
|
||||
height: 24px;
|
||||
font-size: 1rem;
|
||||
outline: none;
|
||||
resize: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#send-button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
#send-button>span {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
#send-button:enabled {
|
||||
background-color: rgb(120,198,174);
|
||||
}
|
||||
|
||||
#send-button:enabled svg path {
|
||||
fill: #fff;
|
||||
}
|
||||
`
|
||||
|
||||
let styleSheet = document.createElement("style")
|
||||
styleSheet.innerText = styles
|
||||
document.head.appendChild(styleSheet)
|
||||
|
||||
|
||||
const html = `<div id="chat-assistant-container">
|
||||
<button id="chat-assistant-button">🤖AI</button>
|
||||
</div>
|
||||
|
||||
<div id="chat-container">
|
||||
<div id="chat-header">
|
||||
<span id="circle-button">Univer AI 助手<div id="loading-indicator"></div></span>
|
||||
|
||||
<button id="close-button">×</button>
|
||||
</div>
|
||||
<div id="chat-input-container">
|
||||
<textarea id="chat-input" placeholder="请输入问题"></textarea>
|
||||
<!-- <textarea id="chat-input" placeholder="请输入问题"></textarea> -->
|
||||
<button id="send-button" disabled>
|
||||
<span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" class="h-4 w-4 m-1 md:m-0"
|
||||
stroke-width="2">
|
||||
<path
|
||||
d="M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z"
|
||||
fill="currentColor"></path>
|
||||
</svg></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>`;
|
||||
document.body.insertAdjacentHTML('beforeend', html)
|
||||
|
||||
|
||||
const assistantButton = document.getElementById('chat-assistant-button');
|
||||
const chatContainer = document.getElementById('chat-container');
|
||||
const closeButton = document.getElementById('close-button');
|
||||
const chatInput = document.getElementById('chat-input');
|
||||
const sendButton = document.getElementById('send-button');
|
||||
const loadingIndicator = document.getElementById('loading-indicator');
|
||||
|
||||
assistantButton.addEventListener('click', function () {
|
||||
chatContainer.style.display = 'block';
|
||||
});
|
||||
|
||||
closeButton.addEventListener('click', function () {
|
||||
chatContainer.style.display = 'none';
|
||||
});
|
||||
|
||||
sendButton.addEventListener('click', function () {
|
||||
const message = chatInput.value;
|
||||
if (message.trim() !== '') {
|
||||
// 处理发送消息的逻辑
|
||||
|
||||
chatInput.value = '';
|
||||
resetButton(chatInput)
|
||||
|
||||
// 显示 Loading
|
||||
loadingIndicator.classList.add('show-loading');
|
||||
setTimeout(() => {
|
||||
setFormuala(message);
|
||||
// 隐藏 Loading
|
||||
loadingIndicator.classList.remove('show-loading');
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
chatInput.addEventListener('input', function () {
|
||||
inputHandler(this)
|
||||
});
|
||||
|
||||
function inputHandler(input) {
|
||||
if (input.scrollHeight > 24) {
|
||||
input.style.height = 'auto'
|
||||
}
|
||||
input.style.height = input.scrollHeight + 'px'; // 根据内容高度设置 textarea 高度
|
||||
if (input.scrollHeight > 200) {
|
||||
input.style.overflowY = 'scroll'
|
||||
} else {
|
||||
input.style.overflowY = 'hidden'
|
||||
}
|
||||
|
||||
resetButton(input)
|
||||
|
||||
}
|
||||
|
||||
function resetButton(input) {
|
||||
if (input.value.trim() !== '') {
|
||||
sendButton.disabled = false;
|
||||
sendButton.classList.add('enabled');
|
||||
} else {
|
||||
input.style.height = '24px'; // 重置高度为一行
|
||||
sendButton.disabled = true;
|
||||
sendButton.classList.remove('enabled');
|
||||
}
|
||||
}
|
||||
|
||||
// 快捷键
|
||||
let isComposing = false;
|
||||
|
||||
chatInput.addEventListener('compositionstart', function () {
|
||||
isComposing = true;
|
||||
});
|
||||
|
||||
chatInput.addEventListener('compositionend', function () {
|
||||
isComposing = false;
|
||||
});
|
||||
|
||||
chatInput.addEventListener('keydown', function (event) {
|
||||
const isWindows = navigator.platform.includes('Win');
|
||||
const isMac = navigator.platform.includes('Mac');
|
||||
|
||||
const key = event.key;
|
||||
|
||||
if (isWindows && event.key === 'Enter' && !isComposing && !event.altKey) {
|
||||
// Windows 上的 Enter 键触发发送
|
||||
event.preventDefault();
|
||||
sendButton.click();
|
||||
} else if (isWindows && event.key === 'Enter' && !isComposing && event.altKey) {
|
||||
// Windows 上的 Alt+Enter 键触发换行
|
||||
event.preventDefault();
|
||||
this.value += '\n';
|
||||
} else if (isMac && event.key === 'Enter' && !isComposing && !event.metaKey) {
|
||||
// Mac 上的 Enter 键触发发送
|
||||
event.preventDefault();
|
||||
sendButton.click();
|
||||
} else if (isMac && event.key === 'Enter' && !isComposing && event.metaKey) {
|
||||
// Mac 上的 Command+Enter 键触发换行
|
||||
event.preventDefault();
|
||||
this.value += '\n';
|
||||
} else if (!isComposing && (key === "Backspace" || key === "Delete")) {
|
||||
|
||||
}
|
||||
|
||||
inputHandler(this)
|
||||
});
|
||||
|
||||
|
||||
// 添加拖拽功能
|
||||
let isDragging = false;
|
||||
let offset = { x: 0, y: 0 };
|
||||
|
||||
const chatHeader = document.getElementById('chat-header');
|
||||
|
||||
chatHeader.addEventListener('mousedown', function (event) {
|
||||
isDragging = true;
|
||||
offset.x = event.clientX - chatContainer.offsetLeft;
|
||||
offset.y = event.clientY - chatContainer.offsetTop;
|
||||
});
|
||||
|
||||
document.addEventListener('mousemove', function (event) {
|
||||
if (isDragging) {
|
||||
chatContainer.style.left = `${event.clientX - offset.x}px`;
|
||||
chatContainer.style.top = `${event.clientY - offset.y}px`;
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('mouseup', function () {
|
||||
isDragging = false;
|
||||
});
|
||||
}
|
||||
|
||||
const needChatHosts = [
|
||||
'crm.lashuju.com',
|
||||
'localhost:3000'
|
||||
]
|
||||
function isNeedChat() {
|
||||
const host = location.host;
|
||||
if (needChatHosts.includes(host)) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
function setFormuala(sentence = '') {
|
||||
|
||||
let link = getLink(sentence)
|
||||
|
||||
if (link !== '') {
|
||||
setGET_AIRTABLE(link)
|
||||
} else {
|
||||
setASK_AI(sentence)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function setASK_AI(sentence = '') {
|
||||
|
||||
let range = getRange(sentence);
|
||||
|
||||
range = range === '' ? '' : ',' + range
|
||||
const data = [
|
||||
[
|
||||
{
|
||||
"f": "=ASK_AI(\"" + sentence + "\"" + range + ")"
|
||||
}
|
||||
]
|
||||
]
|
||||
luckysheet.setRangeValue(data)
|
||||
}
|
||||
|
||||
function setGET_AIRTABLE(link) {
|
||||
const data = [
|
||||
[
|
||||
{
|
||||
"f": "=GET_AIRTABLE_DATA(\"" + link + "\")"
|
||||
}
|
||||
]
|
||||
]
|
||||
luckysheet.setRangeValue(data)
|
||||
}
|
||||
|
||||
function getLink(sentence = '') {
|
||||
const regex = /(https?:\/\/(?:www\.)?airtable\.com\/\S+)/gi;
|
||||
const matches = sentence.match(regex);
|
||||
|
||||
if (matches) {
|
||||
return matches[0];
|
||||
}
|
||||
|
||||
return ''
|
||||
|
||||
}
|
||||
|
||||
function getRange(text) {
|
||||
const regex = /([A-Z]+[0-9]*):([A-Z]+[0-9]*)/g;
|
||||
const matche = text.match(regex);
|
||||
if (matche) {
|
||||
return matche[0]
|
||||
}
|
||||
return ''
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
|
||||
// Features specially written for demo
|
||||
|
||||
(function () {
|
||||
|
||||
// language
|
||||
function language(params) {
|
||||
|
||||
var lang = navigator.language || navigator.userLanguage;//常规浏览器语言和IE浏览器
|
||||
lang = lang.substr(0, 2);//截取lang前2位字符
|
||||
|
||||
return lang;
|
||||
|
||||
}
|
||||
// Tencent Forum Link Button
|
||||
function supportButton() {
|
||||
const text = language() === 'zh' ? '反馈' : 'Forum';
|
||||
const link = language() === 'zh' ? 'https://support.qq.com/product/288322' : 'https://groups.google.com/g/luckysheet';
|
||||
|
||||
document.querySelector("body").insertAdjacentHTML('beforeend', '<a id="container" href="' + link + '" target="_blank" style="z-index:2;width:50px;height:50px;line-height:50px;position:fixed;right:40px;bottom:86px;border-radius:50px;cursor:pointer;background:rgb(71,133,249);color:#fff;text-align:center;text-decoration:none;font-size: 12px;">' + text + '</a>');
|
||||
}
|
||||
|
||||
supportButton()
|
||||
|
||||
/**
|
||||
* Get url parameters
|
||||
*/
|
||||
function getRequest() {
|
||||
var vars = {};
|
||||
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
|
||||
function (m, key, value) {
|
||||
vars[key] = value;
|
||||
});
|
||||
return vars;
|
||||
}
|
||||
|
||||
window.luckysheetDemoUtil = {
|
||||
language: language,
|
||||
getRequest: getRequest
|
||||
}
|
||||
|
||||
})()
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,67 @@
|
||||
window.sheetComment = {
|
||||
"name": "Comment",
|
||||
"color": "",
|
||||
"config": {
|
||||
"columnlen": {
|
||||
"2": 102
|
||||
}
|
||||
},
|
||||
"index": "5",
|
||||
"chart": [],
|
||||
"status": 0,
|
||||
"order": "5",
|
||||
"column": 18,
|
||||
"row": 36,
|
||||
"celldata": [{
|
||||
"r": 2,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "HoverShown",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "HoverShown",
|
||||
"bl": 1,
|
||||
"ps": {
|
||||
"left": null,
|
||||
"top": null,
|
||||
"width": null,
|
||||
"height": null,
|
||||
"value": "Hello world!",
|
||||
"isshow": false
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Size",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Size",
|
||||
"bl": 1,
|
||||
"ps": {
|
||||
"left": null,
|
||||
"top": null,
|
||||
"width": null,
|
||||
"height": null,
|
||||
"value": "Hello,world!",
|
||||
"isshow": true
|
||||
}
|
||||
}
|
||||
}],
|
||||
"ch_width": 4748,
|
||||
"rh_height": 1790,
|
||||
"luckysheet_select_save": [{
|
||||
"row": [0, 0],
|
||||
"column": [0, 0]
|
||||
}],
|
||||
"luckysheet_selection_range": [],
|
||||
"scrollLeft": 0,
|
||||
"scrollTop": 0
|
||||
}
|
||||
|
||||
// export default sheetComment;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,579 @@
|
||||
window.sheetDataVerification = {
|
||||
"name": "Data Verification",
|
||||
"index": "Sheet_pdolzzie5xwi_1600927444446",
|
||||
"celldata": [{"r":0,"c":0,"v":{"ct":{"fa":"General","t":"g"},"m":"Drop Down List","v":"Drop Down List","bl":1}},{"r":0,"c":1,"v":{"m":"Checkbox","ct":{"fa":"General","t":"g"},"v":"Checkbox","bl":1}},{"r":0,"c":2,"v":{"ct":{"fa":"General","t":"g"},"v":"Number between 1-10","bl":1,"m":"Number between 1-10"}},{"r":0,"c":3,"v":{"m":"Text content include Luckysheet","ct":{"fa":"General","t":"g"},"v":"Text content include Luckysheet","bl":1}},{"r":0,"c":4,"v":{"ct":{"fa":"General","t":"g"},"v":"Text length between 1-5","m":"Text length between 1-5","bl":1}},{"r":0,"c":5,"v":{"m":"Date","ct":{"fa":"General","t":"g"},"v":"Date","bl":1}},{"r":0,"c":6,"v":{"m":"Identification Number","ct":{"fa":"General","t":"g"},"v":"Identification Number","bl":1}},{"r":0,"c":7,"v":{"m":"Phone Number","ct":{"fa":"General","t":"g"},"v":"Phone Number","bl":1}},{"r":1,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Fix","m":"Fix"}},{"r":1,"c":1,"v":{"m":"Fail","ct":{"fa":"General","t":"g"},"v":"Fail"}},{"r":1,"c":2,"v":{"v":1,"ct":{"fa":"General","t":"n"},"m":"1"}},{"r":1,"c":3,"v":{"m":"Luckysheet is good","ct":{"fa":"General","t":"g"},"v":"Luckysheet is good"}},{"r":1,"c":4,"v":{"m":"Welcome","ct":{"fa":"General","t":"g"},"v":"Welcome"}},{"r":1,"c":5,"v":{"m":"2020-09-24","ct":{"fa":"yyyy-MM-dd","t":"d"},"v":44098}},{"r":1,"c":6,"v":{"v":"311414199009138910","ct":{"fa":"@","t":"s"},"m":"311414199009138910"}},{"r":1,"c":7,"v":{"v":13678765439,"ct":{"fa":"General","t":"n"},"m":"13678765439"}},{"r":2,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Done","m":"Done"}},{"r":2,"c":1,"v":{"m":"Pass","ct":{"fa":"General","t":"g"},"v":"Pass"}},{"r":2,"c":2,"v":{"v":2,"ct":{"fa":"General","t":"n"},"m":"2"}},{"r":2,"c":3,"v":{"m":"I am Luckysheet","ct":{"fa":"General","t":"g"},"v":"I am Luckysheet"}},{"r":2,"c":4,"v":{"m":"Good","ct":{"fa":"General","t":"g"},"v":"Good"}},{"r":2,"c":5,"v":{"ct":{"fa":"General","t":"g"},"v":"Time","m":"Time"}},{"r":2,"c":6,"v":{"v":"31141419900913891","ct":{"fa":"@","t":"s"},"m":"31141419900913891"}},{"r":2,"c":7,"v":{"v":1367876544,"ct":{"fa":"General","t":"n"},"m":"1367876544"}},{"r":3,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Develop","m":"Develop"}},{"r":3,"c":1,"v":{"m":"Fail","ct":{"fa":"General","t":"g"},"v":"Fail"}},{"r":3,"c":2,"v":{"v":5,"ct":{"fa":"General","t":"n"},"m":"5"}},{"r":3,"c":3,"v":{"ct":{"fa":"General","t":"g"},"v":"I am luckyDemo","m":"I am luckyDemo"}},{"r":3,"c":4,"v":{"m":"Nice","ct":{"fa":"General","t":"g"},"v":"Nice"}},{"r":3,"c":5,"v":{"m":"2020-09-26","ct":{"fa":"yyyy-MM-dd","t":"d"},"v":44100}},{"r":3,"c":6,"v":{"v":"3114141990091389102","ct":{"fa":"@","t":"s"},"m":"3114141990091389102"}},{"r":3,"c":7,"v":{"v":136787654412,"ct":{"fa":"##0","t":"n"},"m":"136787654412"}},{"r":4,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Doing","m":"Doing"}},{"r":4,"c":1,"v":{"m":"Fail","ct":{"fa":"General","t":"g"},"v":"Fail"}},{"r":4,"c":2,"v":{"v":11,"ct":{"fa":"General","t":"n"},"m":"11"}},{"r":4,"c":3,"v":{"ct":{"fa":"General","t":"g"},"v":"Luckysheet Documentation","m":"Luckysheet Documentation"}},{"r":4,"c":4,"v":{"ct":{"fa":"General","t":"g"},"v":"Morning","m":"Morning"}},{"r":4,"c":5,"v":{"m":"2020-09-27","ct":{"fa":"yyyy-MM-dd","t":"d"},"v":44101}},{"r":4,"c":6,"v":{"v":"31141419900913891X","ct":{"fa":"@","t":"s"},"m":"31141419900913891X"}},{"r":4,"c":7,"v":{"v":49865342456,"ct":{"fa":"General","t":"n"},"m":"49865342456"}},{"r":5,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Develop","m":"Develop"}},{"r":5,"c":1,"v":{"m":"Fail","ct":{"fa":"General","t":"g"},"v":"Fail"}},{"r":5,"c":2,"v":{"v":3,"ct":{"fa":"General","t":"n"},"m":"3"}},{"r":5,"c":3,"v":{"m":"Luckyexcel","ct":{"fa":"General","t":"g"},"v":"Luckyexcel"}},{"r":5,"c":4,"v":{"ct":{"fa":"General","t":"g"},"v":"Tomorrow","m":"Tomorrow"}},{"r":5,"c":5,"v":{"ct":{"fa":"yyyy-MM-dd","t":"d"},"v":44071,"m":"2020-08-28"}},{"r":5,"c":6,"v":{"v":"Number","ct":{"fa":"@","t":"s"},"m":"Number"}},{"r":5,"c":7,"v":{"v":"Number","ct":{"fa":"General","t":"g"},"m":"Number"}},{"r":6,"c":0,"v":{"ct":{"fa":"General","t":"g"},"v":"Done","m":"Done"}},{"r":6,"c":1,"v":{"m":"Pass","ct":{"fa":"General","t":"g"},"v":"Pass"}},{"r":6,"c":2,"v":{"v":0,"ct":{"fa":"General","t":"n"},"m":"0"}},{"r":6,"c":3,"v":{"m":"Luckysheet Online","ct":{"fa":"General","t":"g"},"v":"Luckysheet Online"}},{"r":6,"c":4,"v":{"m":"Three","ct":{"fa":"General","t":"g"},"v":"Three"}},{"r":6,"c":5,"v":{"m":"2020-09-29","ct":{"fa":"yyyy-MM-dd","t":"d"},"v":44103}},{"r":6,"c":6,"v":{"v":"311414199301118910","ct":{"fa":"@","t":"s"},"m":"311414199301118910"}},{"r":6,"c":7,"v":{"v":23309873564,"ct":{"fa":"General","t":"n"},"m":"23309873564"}},{"r":7,"c":8,"v":{"v":null,"ct":{"fa":"General","t":"g"},"bl":1}}],
|
||||
"row": 84,
|
||||
"column": 60,
|
||||
"config": {
|
||||
"merge": {},
|
||||
"rowlen": {},
|
||||
"columnlen": {
|
||||
"0": 109,
|
||||
"2": 143,
|
||||
"3": 200,
|
||||
"4": 180,
|
||||
"6": 178,
|
||||
"7": 125
|
||||
},
|
||||
"customWidth": {
|
||||
"2": 1,
|
||||
"3": 1,
|
||||
"4": 1,
|
||||
"6": 1,
|
||||
"7": 1
|
||||
}
|
||||
},
|
||||
"luckysheet_select_save": [
|
||||
{
|
||||
"left": 963,
|
||||
"width": 125,
|
||||
"top": 240,
|
||||
"height": 19,
|
||||
"left_move": 963,
|
||||
"width_move": 125,
|
||||
"top_move": 240,
|
||||
"height_move": 19,
|
||||
"row": [
|
||||
12,
|
||||
12
|
||||
],
|
||||
"column": [
|
||||
7,
|
||||
7
|
||||
],
|
||||
"row_focus": 12,
|
||||
"column_focus": 7
|
||||
}
|
||||
],
|
||||
"dataVerification": {
|
||||
"1_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_0": {
|
||||
"type": "dropdown",
|
||||
"type2": null,
|
||||
"value1": "Develop,Fix,Done",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": false,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": true,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": false,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": false,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": false,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_1": {
|
||||
"type": "checkbox",
|
||||
"type2": null,
|
||||
"value1": "Pass",
|
||||
"value2": "Fail",
|
||||
"checked": true,
|
||||
"remote": true,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_2": {
|
||||
"type": "number",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"2_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"3_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"4_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"5_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"6_3": {
|
||||
"type": "text_content",
|
||||
"type2": "include",
|
||||
"value1": "Luckysheet",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": true,
|
||||
"hintText": "include Luckysheet"
|
||||
},
|
||||
"1_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_4": {
|
||||
"type": "text_length",
|
||||
"type2": "bw",
|
||||
"value1": "1",
|
||||
"value2": "5",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": true,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_5": {
|
||||
"type": "date",
|
||||
"type2": "bw",
|
||||
"value1": "2020-09-23",
|
||||
"value2": "2020-10-10",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_6": {
|
||||
"type": "validity",
|
||||
"type2": "card",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"1_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"2_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"3_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"4_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"5_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
},
|
||||
"6_7": {
|
||||
"type": "validity",
|
||||
"type2": "phone",
|
||||
"value1": "",
|
||||
"value2": "",
|
||||
"checked": false,
|
||||
"remote": false,
|
||||
"prohibitInput": false,
|
||||
"hintShow": false,
|
||||
"hintText": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
// export default sheetDataVerification;
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,189 @@
|
||||
window.sheetPivotTable = {
|
||||
"name": "PivotTable",
|
||||
"color": "",
|
||||
"config": {},
|
||||
"index": "7",
|
||||
"chart": [],
|
||||
"status": 0,
|
||||
"order": "7",
|
||||
"column": 18,
|
||||
"row": 36,
|
||||
"celldata": [{
|
||||
"r": 0,
|
||||
"c": 0,
|
||||
"v": "count:score"
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 1,
|
||||
"v": "science"
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 2,
|
||||
"v": "mathematics"
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 3,
|
||||
"v": "foreign language"
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 4,
|
||||
"v": "English"
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 5,
|
||||
"v": "total"
|
||||
}, {
|
||||
"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": "total"
|
||||
}, {
|
||||
"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
|
||||
}],
|
||||
"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": 6, //The sheet index where the source data is located
|
||||
"column": [{
|
||||
"index": 3,
|
||||
"name": "subject",
|
||||
"fullname": "subject"
|
||||
}],
|
||||
"row": [{
|
||||
"index": 1,
|
||||
"name": "student",
|
||||
"fullname": "student"
|
||||
}],
|
||||
"filter": [],
|
||||
"values": [{
|
||||
"index": 4,
|
||||
"name": "score",
|
||||
"fullname": "count:score",
|
||||
"sumtype": "COUNTA",
|
||||
"nameindex": 0
|
||||
}],
|
||||
"showType": "column",
|
||||
"pivotDatas": [
|
||||
["count:score", "science", "mathematics", "foreign language", "English", "total"],
|
||||
["Alex", 1, 1, 1, 1, 4],
|
||||
["Joy", 1, 1, 1, 1, 4],
|
||||
["Tim", 1, 1, 1, 1, 4],
|
||||
["total", 3, 3, 3, 3, 12]
|
||||
],
|
||||
"drawPivotTable": false,
|
||||
"pivotTableBoundary": [5, 6]
|
||||
}
|
||||
}
|
||||
|
||||
// export default sheetPivotTable;
|
||||
@@ -0,0 +1,741 @@
|
||||
window.sheetPivotTableData = {
|
||||
"name": "PivotTableData",
|
||||
"color": "",
|
||||
"config": {
|
||||
"merge": {}
|
||||
},
|
||||
"index": "6",
|
||||
"chart": [],
|
||||
"status": 0,
|
||||
"order": "6",
|
||||
"hide": 0,
|
||||
"column": 18,
|
||||
"row": 36,
|
||||
"celldata": [{
|
||||
"r": 0,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "Mock test",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Mock test"
|
||||
}
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"m": "student",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "student"
|
||||
}
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "class",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "class"
|
||||
}
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "subject",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "subject"
|
||||
}
|
||||
}, {
|
||||
"r": 0,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"m": "score",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "score"
|
||||
}
|
||||
}, {
|
||||
"r": 1,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 1,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Joy",
|
||||
"m": "Joy"
|
||||
}
|
||||
}, {
|
||||
"r": 1,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 1,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "English",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "English"
|
||||
}
|
||||
}, {
|
||||
"r": 1,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 96,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "96"
|
||||
}
|
||||
}, {
|
||||
"r": 2,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 2,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Joy",
|
||||
"m": "Joy"
|
||||
}
|
||||
}, {
|
||||
"r": 2,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 2,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "mathematics",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "mathematics"
|
||||
}
|
||||
}, {
|
||||
"r": 2,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 110,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "110"
|
||||
}
|
||||
}, {
|
||||
"r": 3,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 3,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Joy",
|
||||
"m": "Joy"
|
||||
}
|
||||
}, {
|
||||
"r": 3,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 3,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "foreign language",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "foreign language"
|
||||
}
|
||||
}, {
|
||||
"r": 3,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 87,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "87"
|
||||
}
|
||||
}, {
|
||||
"r": 4,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 4,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Joy",
|
||||
"m": "Joy"
|
||||
}
|
||||
}, {
|
||||
"r": 4,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 4,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "science",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "science"
|
||||
}
|
||||
}, {
|
||||
"r": 4,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 266,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "266"
|
||||
}
|
||||
}, {
|
||||
"r": 5,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 5,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Tim",
|
||||
"m": "Tim"
|
||||
}
|
||||
}, {
|
||||
"r": 5,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 5,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "English",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "English"
|
||||
}
|
||||
}, {
|
||||
"r": 5,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 92,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "92"
|
||||
}
|
||||
}, {
|
||||
"r": 6,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 6,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Tim",
|
||||
"m": "Tim"
|
||||
}
|
||||
}, {
|
||||
"r": 6,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 6,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "mathematics",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "mathematics"
|
||||
}
|
||||
}, {
|
||||
"r": 6,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 100,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "100"
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Tim",
|
||||
"m": "Tim"
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "foreign language",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "foreign language"
|
||||
}
|
||||
}, {
|
||||
"r": 7,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 90,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "90"
|
||||
}
|
||||
}, {
|
||||
"r": 8,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 8,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Tim",
|
||||
"m": "Tim"
|
||||
}
|
||||
}, {
|
||||
"r": 8,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 8,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "science",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "science"
|
||||
}
|
||||
}, {
|
||||
"r": 8,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 255,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "255"
|
||||
}
|
||||
}, {
|
||||
"r": 9,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 9,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"m": "Alex",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Alex"
|
||||
}
|
||||
}, {
|
||||
"r": 9,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 9,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "English",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "English"
|
||||
}
|
||||
}, {
|
||||
"r": 9,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 108,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "108"
|
||||
}
|
||||
}, {
|
||||
"r": 10,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 10,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"m": "Alex",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Alex"
|
||||
}
|
||||
}, {
|
||||
"r": 10,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 10,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "mathematics",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "mathematics"
|
||||
}
|
||||
}, {
|
||||
"r": 10,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 117,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "117"
|
||||
}
|
||||
}, {
|
||||
"r": 11,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 11,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"m": "Alex",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Alex"
|
||||
}
|
||||
}, {
|
||||
"r": 11,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 11,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "foreign language",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "foreign language"
|
||||
}
|
||||
}, {
|
||||
"r": 11,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 88,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "88"
|
||||
}
|
||||
}, {
|
||||
"r": 12,
|
||||
"c": 0,
|
||||
"v": {
|
||||
"m": "first round",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "first round"
|
||||
}
|
||||
}, {
|
||||
"r": 12,
|
||||
"c": 1,
|
||||
"v": {
|
||||
"m": "Alex",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Alex"
|
||||
}
|
||||
}, {
|
||||
"r": 12,
|
||||
"c": 2,
|
||||
"v": {
|
||||
"m": "Class one",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "Class one"
|
||||
}
|
||||
}, {
|
||||
"r": 12,
|
||||
"c": 3,
|
||||
"v": {
|
||||
"m": "science",
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "g"
|
||||
},
|
||||
"v": "science"
|
||||
}
|
||||
}, {
|
||||
"r": 12,
|
||||
"c": 4,
|
||||
"v": {
|
||||
"v": 278,
|
||||
"ct": {
|
||||
"fa": "General",
|
||||
"t": "n"
|
||||
},
|
||||
"m": "278"
|
||||
}
|
||||
}],
|
||||
"ch_width": 4748,
|
||||
"rh_height": 1790,
|
||||
"luckysheet_select_save": [{
|
||||
"row": [0, 0],
|
||||
"column": [0, 0]
|
||||
}],
|
||||
"luckysheet_selection_range": [],
|
||||
"scrollLeft": 0,
|
||||
"scrollTop": 0
|
||||
}
|
||||
|
||||
// export default sheetPivotTableData;
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user