@univerjs-pro/sheets-mcp 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x2661(){const _0x2e3263=['getLintErrors','60ywKldg','getRange','168266xKhPwm','_injector','extend','getIntersectRange','filledRanges','startRow','FWorkbook','getMaxRows','getFormulaUsages','startColumn','getCellRaw','FRange','877516cRJoqf','toA1','map','getMaxColumns','FWorksheet','moveFormulaRefOffset','length','FUniver','294952tgPVcU','362428bQGkwP','80rVqIeW','formula','_worksheet','getFormulaUsagesAsA1','IFormulaUsageAnalyzer','3mYmysb','get','425100PlgQmk','171440gHBvrY','getAllFormulaUsages','27sVSTdi','push','236802wKJRHO','getActiveWorkbook'];_0x2661=function(){return _0x2e3263;};return _0x2661();}function _0x333d(_0x14d421,_0x115519){const _0x266170=_0x2661();return _0x333d=function(_0x333dc3,_0x412cc8){_0x333dc3=_0x333dc3-0x1a2;let _0x3e3f0d=_0x266170[_0x333dc3];return _0x3e3f0d;},_0x333d(_0x14d421,_0x115519);}const _0x170775=_0x333d;(function(_0x536387,_0x55ee3a){const _0x3f7e09=_0x333d,_0x59cf3e=_0x536387();while(!![]){try{const _0x15e8da=parseInt(_0x3f7e09(0x1b4))/0x1+parseInt(_0x3f7e09(0x1a6))/0x2+-parseInt(_0x3f7e09(0x1ad))/0x3*(parseInt(_0x3f7e09(0x1c5))/0x4)+-parseInt(_0x3f7e09(0x1af))/0x5+-parseInt(_0x3f7e09(0x1b7))/0x6*(parseInt(_0x3f7e09(0x1b9))/0x7)+-parseInt(_0x3f7e09(0x1b0))/0x8*(-parseInt(_0x3f7e09(0x1b2))/0x9)+-parseInt(_0x3f7e09(0x1a8))/0xa*(-parseInt(_0x3f7e09(0x1a7))/0xb);if(_0x15e8da===_0x55ee3a)break;else _0x59cf3e['push'](_0x59cf3e['shift']());}catch(_0x5a6a0b){_0x59cf3e['push'](_0x59cf3e['shift']());}}}(_0x2661,0x28dcd));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d[_0x170775(0x1a5)]{async[_0x170775(0x1b6)](){const _0x16fad6=_0x170775;return this[_0x16fad6(0x1b5)]()[_0x16fad6(0x1b6)]();}}d['FUniver'][_0x170775(0x1bb)](A);class x extends o[_0x170775(0x1bf)]{async['getLintErrors'](){const _0x21b3ec=this['getAllFormulaError'](),_0x43321e=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x21b3ec,'dataValidationErrors':_0x43321e};}}o[_0x170775(0x1bf)][_0x170775(0x1bb)](x);class k extends o[_0x170775(0x1a2)]{async['getFormulaUsages'](){const _0x2b766f=_0x170775,_0x545b5e=this[_0x2b766f(0x1ba)][_0x2b766f(0x1ae)](c[_0x2b766f(0x1ac)]),_0x15eb47=this['getRange'](0x0,0x0,this[_0x2b766f(0x1c0)]()+0x1,this[_0x2b766f(0x1c8)]()+0x1)['getCellDataGrid']();return await _0x545b5e['getAllFormulaUsages'](_0x15eb47);}async[_0x170775(0x1ab)](){const _0x2f40a8=_0x170775;return(await this[_0x2f40a8(0x1c1)]())[_0x2f40a8(0x1c7)](c[_0x2f40a8(0x1c6)]);}}o['FWorksheet'][_0x170775(0x1bb)](k);class U extends o[_0x170775(0x1c4)]{async[_0x170775(0x1c1)](){const _0x472e1d=_0x170775,_0xa3e3a3=this[_0x472e1d(0x1ba)][_0x472e1d(0x1ae)](c[_0x472e1d(0x1ac)]),_0x230edc=(({startRow:_0x1dfa08,endRow:_0x38e462,startColumn:_0xd48e0f,endColumn:_0x3fa31b})=>{const _0x1ed941=_0x472e1d,_0x204d5a=[];for(let _0x3e1449=_0x1dfa08;_0x3e1449<=_0x38e462;_0x3e1449++){const _0x586c83=[];for(let _0x3d6f7d=_0xd48e0f;_0x3d6f7d<=_0x3fa31b;_0x3d6f7d++)_0x586c83[_0x1ed941(0x1b3)](this[_0x1ed941(0x1aa)][_0x1ed941(0x1c3)](_0x3e1449,_0x3d6f7d));_0x204d5a[_0x1ed941(0x1b3)](_0x586c83);}return _0x204d5a;})({'startRow':0x0,'endRow':this['_worksheet'][_0x472e1d(0x1c0)](),'startColumn':0x0,'endColumn':this[_0x472e1d(0x1aa)][_0x472e1d(0x1c8)]()}),_0x12d78e=await _0xa3e3a3[_0x472e1d(0x1b1)](_0x230edc),_0x465774=this[_0x472e1d(0x1b8)](),_0x31de64=[];for(let _0x48524d=0x0;_0x48524d<_0x12d78e[_0x472e1d(0x1a4)];_0x48524d++){const _0x5427c7=_0x12d78e[_0x48524d],_0x164ed9=_0x5427c7[_0x472e1d(0x1bd)],_0x3dcc87=[];for(let _0x34eb10=0x0;_0x34eb10<_0x164ed9[_0x472e1d(0x1a4)];_0x34eb10++){const _0x4df6b3=_0x164ed9[_0x34eb10],_0x1358ba=w[_0x472e1d(0x1bc)](_0x4df6b3,_0x465774);_0x1358ba&&_0x3dcc87['push'](_0x1358ba);}if(_0x3dcc87[_0x472e1d(0x1a4)]>0x0){_0x5427c7[_0x472e1d(0x1bd)]=_0x3dcc87;const _0x5bd13f=_0x3dcc87[0x0],_0x4c71e2=_0x5bd13f[_0x472e1d(0x1be)]-_0x465774['startRow'],_0x365ae6=_0x5bd13f[_0x472e1d(0x1c2)]-_0x465774['startColumn'];_0x5427c7[_0x472e1d(0x1a9)]=await _0xa3e3a3[_0x472e1d(0x1a3)](_0x5427c7[_0x472e1d(0x1a9)],_0x4c71e2,_0x365ae6),_0x31de64[_0x472e1d(0x1b3)](_0x5427c7);}}return _0x31de64;}async[_0x170775(0x1ab)](){const _0x536974=_0x170775;return(await this[_0x536974(0x1c1)]())['map'](c[_0x536974(0x1c6)]);}}o[_0x170775(0x1c4)]['extend'](U);
|