@univerjs-pro/sheets-mcp 0.10.14-nightly.202511070628 → 0.10.14-nightly.202511070939
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/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2297c1=_0x25a9;(function(_0x34e6a2,_0x391f02){const _0x3af40a=_0x25a9,_0x151380=_0x34e6a2();while(!![]){try{const _0x6a83b0=parseInt(_0x3af40a(0x1b9))/0x1+parseInt(_0x3af40a(0x1ac))/0x2+parseInt(_0x3af40a(0x1b5))/0x3+-parseInt(_0x3af40a(0x1b3))/0x4*(-parseInt(_0x3af40a(0x1bd))/0x5)+parseInt(_0x3af40a(0x1bc))/0x6+parseInt(_0x3af40a(0x1aa))/0x7+parseInt(_0x3af40a(0x1a6))/0x8*(-parseInt(_0x3af40a(0x1bb))/0x9);if(_0x6a83b0===_0x391f02)break;else _0x151380['push'](_0x151380['shift']());}catch(_0xfbb2ed){_0x151380['push'](_0x151380['shift']());}}}(_0x509b,0xc8293));import{FUniver as _0x5dbcab}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x1936fd,FWorksheet as _0x1df3bf,FRange as _0x2a732f}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x521cfe,toA1 as _0x31e910}from'@univerjs-pro/sheets-mcp';function _0x509b(){const _0x41f91a=['filledRanges','_injector','967639OHfCYK','startColumn','40117905huJWZq','6529920yGNEJm','5aeToDH','length','moveFormulaRefOffset','getFormulaUsagesAsA1','push','8JaWfRS','startRow','getRange','getMaxColumns','8964060xQDpGH','getFormulaUsages','1776016PtdvkA','getMaxRows','getAllDataValidationErrorAsync','formula','get','getActiveWorkbook','extend','2189244CmSCVX','getLintErrors','1516638VmlmYE','_worksheet'];_0x509b=function(){return _0x41f91a;};return _0x509b();}function _0x25a9(_0x2d0488,_0x341bb1){const _0x509bee=_0x509b();return _0x25a9=function(_0x25a94a,_0x3948c9){_0x25a94a=_0x25a94a-0x1a3;let _0x53a18c=_0x509bee[_0x25a94a];return _0x53a18c;},_0x25a9(_0x2d0488,_0x341bb1);}import{getIntersectRange as _0x50e604}from'@univerjs/core';class C extends _0x5dbcab{async[_0x2297c1(0x1b4)](){const _0x3906fa=_0x2297c1;return this[_0x3906fa(0x1b1)]()['getLintErrors']();}}_0x5dbcab[_0x2297c1(0x1b2)](C);class U extends _0x1936fd{async[_0x2297c1(0x1b4)](){const _0x3c6ccd=_0x2297c1,_0xbbde76=this['getAllFormulaError'](),_0x3925c4=await this[_0x3c6ccd(0x1ae)]();return{'formulaErrors':_0xbbde76,'dataValidationErrors':_0x3925c4};}}_0x1936fd[_0x2297c1(0x1b2)](U);class k extends _0x1df3bf{async[_0x2297c1(0x1ab)](){const _0x17814b=_0x2297c1,_0x5a3cae=this['_injector'][_0x17814b(0x1b0)](_0x521cfe),_0x3feaf5=this[_0x17814b(0x1a8)](0x0,0x0,this['getMaxRows']()+0x1,this[_0x17814b(0x1a9)]()+0x1)['getCellDataGrid']();return await _0x5a3cae['getAllFormulaUsages'](_0x3feaf5);}async[_0x2297c1(0x1a4)](){const _0x5b0ec8=_0x2297c1;return(await this[_0x5b0ec8(0x1ab)]())['map'](_0x31e910);}}_0x1df3bf[_0x2297c1(0x1b2)](k);class y extends _0x2a732f{async[_0x2297c1(0x1ab)](){const _0x526ced=_0x2297c1,_0x29d1f1=this[_0x526ced(0x1b8)]['get'](_0x521cfe),_0x571f58=(({startRow:_0xd8a476,endRow:_0x55c122,startColumn:_0x5f2a49,endColumn:_0x325748})=>{const _0x1542bf=_0x526ced,_0x461c24=[];for(let _0x3d4e0b=_0xd8a476;_0x3d4e0b<=_0x55c122;_0x3d4e0b++){const _0x1bc21d=[];for(let _0x48cec7=_0x5f2a49;_0x48cec7<=_0x325748;_0x48cec7++)_0x1bc21d[_0x1542bf(0x1a5)](this[_0x1542bf(0x1b6)]['getCellRaw'](_0x3d4e0b,_0x48cec7));_0x461c24[_0x1542bf(0x1a5)](_0x1bc21d);}return _0x461c24;})({'startRow':0x0,'endRow':this[_0x526ced(0x1b6)][_0x526ced(0x1ad)](),'startColumn':0x0,'endColumn':this[_0x526ced(0x1b6)][_0x526ced(0x1a9)]()}),_0xd48198=await _0x29d1f1['getAllFormulaUsages'](_0x571f58),_0x11ee53=this[_0x526ced(0x1a8)](),_0x322f06=[];for(let _0x4b40df=0x0;_0x4b40df<_0xd48198[_0x526ced(0x1be)];_0x4b40df++){const _0xd261c6=_0xd48198[_0x4b40df],_0x3ee567=_0xd261c6[_0x526ced(0x1b7)],_0x3cfc90=[];for(let _0x50e7b7=0x0;_0x50e7b7<_0x3ee567[_0x526ced(0x1be)];_0x50e7b7++){const _0x4aa017=_0x3ee567[_0x50e7b7],_0x51c721=_0x50e604(_0x4aa017,_0x11ee53);_0x51c721&&_0x3cfc90['push'](_0x51c721);}if(_0x3cfc90[_0x526ced(0x1be)]>0x0){_0xd261c6['filledRanges']=_0x3cfc90;const _0x215afe=_0x3cfc90[0x0],_0xffe720=_0x215afe[_0x526ced(0x1a7)]-_0x11ee53[_0x526ced(0x1a7)],_0x51c303=_0x215afe[_0x526ced(0x1ba)]-_0x11ee53[_0x526ced(0x1ba)];_0xd261c6[_0x526ced(0x1af)]=await _0x29d1f1[_0x526ced(0x1a3)](_0xd261c6[_0x526ced(0x1af)],_0xffe720,_0x51c303),_0x322f06[_0x526ced(0x1a5)](_0xd261c6);}}return _0x322f06;}async[_0x2297c1(0x1a4)](){const _0x2d8338=_0x2297c1;return(await this[_0x2d8338(0x1ab)]())['map'](_0x31e910);}}_0x2a732f[_0x2297c1(0x1b2)](y);
|