@univerjs-pro/sheets-mcp 0.12.3 → 0.12.4-experimental.20251208-c4b8a44
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 +15 -15
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x484832=_0xb54f;(function(_0x581c59,_0x22d363){const _0x24f083=_0xb54f,_0x225cbd=_0x581c59();while(!![]){try{const _0x8fa8b3=parseInt(_0x24f083(0xb5))/0x1*(parseInt(_0x24f083(0xad))/0x2)+-parseInt(_0x24f083(0xa2))/0x3*(-parseInt(_0x24f083(0xc2))/0x4)+-parseInt(_0x24f083(0xa4))/0x5*(-parseInt(_0x24f083(0xa3))/0x6)+-parseInt(_0x24f083(0xb0))/0x7*(parseInt(_0x24f083(0xbf))/0x8)+parseInt(_0x24f083(0xa7))/0x9*(parseInt(_0x24f083(0xbe))/0xa)+-parseInt(_0x24f083(0xb1))/0xb+-parseInt(_0x24f083(0xab))/0xc;if(_0x8fa8b3===_0x22d363)break;else _0x225cbd['push'](_0x225cbd['shift']());}catch(_0x3eaeae){_0x225cbd['push'](_0x225cbd['shift']());}}}(_0x5ac4,0x5b668));import{FUniver as _0x41d050}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x34eaa1,FWorksheet as _0x1a7249,FRange as _0x39d0b2}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0xd4469e,toA1 as _0x4f2dbf}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x51b4e8}from'@univerjs/core';function _0xb54f(_0x57f22c,_0xeacc59){_0x57f22c=_0x57f22c-0xa2;const _0x5ac442=_0x5ac4();let _0xb54f1f=_0x5ac442[_0x57f22c];return _0xb54f1f;}class C extends _0x41d050{async['getLintErrors'](){const _0x250eef=_0xb54f;return this['getActiveWorkbook']()[_0x250eef(0xac)]();}}_0x41d050[_0x484832(0xa5)](C);class U extends _0x34eaa1{async[_0x484832(0xac)](){const _0x1f92ca=_0x484832,_0x4db045=this[_0x1f92ca(0xbb)](),_0x2159ca=await this[_0x1f92ca(0xbc)]();return{'formulaErrors':_0x4db045,'dataValidationErrors':_0x2159ca};}}function _0x5ac4(){const _0x975a0a=['187462OgAAhn','filledRanges','getFormulaUsages','getCellDataGrid','108499qBDYNF','_worksheet','formula','getCellRaw','startRow','startColumn','getAllFormulaError','getAllDataValidationErrorAsync','_injector','5086930VjDAGo','3006360puINQI','getMaxColumns','push','855256eyJfND','6lJFxBF','57396rXiQBK','310nyrkUx','extend','map','9uIaoBt','getRange','getAllFormulaUsages','length','10448388QOmrAq','getLintErrors','2CpArTv','get','getMaxRows','7HCteru'];_0x5ac4=function(){return _0x975a0a;};return _0x5ac4();}_0x34eaa1[_0x484832(0xa5)](U);class k extends _0x1a7249{async[_0x484832(0xb3)](){const _0x4f4b37=_0x484832,_0x50ddaf=this[_0x4f4b37(0xbd)][_0x4f4b37(0xae)](_0xd4469e),_0x36c46c=this[_0x4f4b37(0xa8)](0x0,0x0,this[_0x4f4b37(0xaf)]()+0x1,this['getMaxColumns']()+0x1)[_0x4f4b37(0xb4)]();return await _0x50ddaf[_0x4f4b37(0xa9)](_0x36c46c);}async['getFormulaUsagesAsA1'](){const _0x2749c8=_0x484832;return(await this[_0x2749c8(0xb3)]())[_0x2749c8(0xa6)](_0x4f2dbf);}}_0x1a7249[_0x484832(0xa5)](k);class y extends _0x39d0b2{async['getFormulaUsages'](){const _0x5b8229=_0x484832,_0x23dc73=this['_injector'][_0x5b8229(0xae)](_0xd4469e),_0x237954=(({startRow:_0x14f3f4,endRow:_0x4614c8,startColumn:_0x1d663a,endColumn:_0x456248})=>{const _0x4daf69=_0x5b8229,_0xf67949=[];for(let _0x8aa7d4=_0x14f3f4;_0x8aa7d4<=_0x4614c8;_0x8aa7d4++){const _0x4fed6d=[];for(let _0x568c79=_0x1d663a;_0x568c79<=_0x456248;_0x568c79++)_0x4fed6d[_0x4daf69(0xc1)](this[_0x4daf69(0xb6)][_0x4daf69(0xb8)](_0x8aa7d4,_0x568c79));_0xf67949[_0x4daf69(0xc1)](_0x4fed6d);}return _0xf67949;})({'startRow':0x0,'endRow':this[_0x5b8229(0xb6)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x5b8229(0xb6)][_0x5b8229(0xc0)]()}),_0x158180=await _0x23dc73[_0x5b8229(0xa9)](_0x237954),_0x2e2d66=this['getRange'](),_0x1c7aca=[];for(let _0x14e742=0x0;_0x14e742<_0x158180['length'];_0x14e742++){const _0x21162b=_0x158180[_0x14e742],_0x3c11a6=_0x21162b[_0x5b8229(0xb2)],_0x2706cc=[];for(let _0x571991=0x0;_0x571991<_0x3c11a6['length'];_0x571991++){const _0x488ea3=_0x3c11a6[_0x571991],_0x2d4b84=_0x51b4e8(_0x488ea3,_0x2e2d66);_0x2d4b84&&_0x2706cc[_0x5b8229(0xc1)](_0x2d4b84);}if(_0x2706cc[_0x5b8229(0xaa)]>0x0){_0x21162b[_0x5b8229(0xb2)]=_0x2706cc;const _0x2ac816=_0x2706cc[0x0],_0x1d3261=_0x2ac816[_0x5b8229(0xb9)]-_0x2e2d66[_0x5b8229(0xb9)],_0x209277=_0x2ac816['startColumn']-_0x2e2d66[_0x5b8229(0xba)];_0x21162b['formula']=await _0x23dc73['moveFormulaRefOffset'](_0x21162b[_0x5b8229(0xb7)],_0x1d3261,_0x209277),_0x1c7aca[_0x5b8229(0xc1)](_0x21162b);}}return _0x1c7aca;}async['getFormulaUsagesAsA1'](){const _0x3e251c=_0x484832;return(await this[_0x3e251c(0xb3)]())[_0x3e251c(0xa6)](_0x4f2dbf);}}_0x39d0b2[_0x484832(0xa5)](y);
|