@univerjs-pro/sheets-mcp 0.12.1 → 0.12.2
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 +11 -11
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x48e4a9=_0x2384;(function(_0x430c8b,_0x14dfce){const _0x8a7afd=_0x2384,_0xf7fc58=_0x430c8b();while(!![]){try{const _0x52d2f1=-parseInt(_0x8a7afd(0x11d))/0x1+parseInt(_0x8a7afd(0x12f))/0x2+parseInt(_0x8a7afd(0x130))/0x3*(-parseInt(_0x8a7afd(0x134))/0x4)+parseInt(_0x8a7afd(0x123))/0x5*(parseInt(_0x8a7afd(0x132))/0x6)+-parseInt(_0x8a7afd(0x126))/0x7*(-parseInt(_0x8a7afd(0x12e))/0x8)+parseInt(_0x8a7afd(0x133))/0x9*(-parseInt(_0x8a7afd(0x124))/0xa)+-parseInt(_0x8a7afd(0x131))/0xb;if(_0x52d2f1===_0x14dfce)break;else _0xf7fc58['push'](_0xf7fc58['shift']());}catch(_0x4a6932){_0xf7fc58['push'](_0xf7fc58['shift']());}}}(_0x4eb0,0x46fac));import{FUniver as _0x4f39f0}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x4d4322,FWorksheet as _0x4231f0,FRange as _0x564cf5}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x15d934,toA1 as _0x484e72}from'@univerjs-pro/sheets-mcp';function _0x4eb0(){const _0xd9beda=['getCellRaw','moveFormulaRefOffset','length','startColumn','15ybCGgj','200fmsWMH','_injector','6377xWkLbv','getFormulaUsagesAsA1','formula','map','getLintErrors','startRow','push','getCellDataGrid','4624fkwTlN','783792huQYmD','57vOyhDY','1118282zzsnJh','841140HCAQGf','152829UZadbV','51124tIRnUX','getFormulaUsages','getRange','_worksheet','extend','get','getAllFormulaUsages','getMaxColumns','getAllFormulaError','364171kDgbti','filledRanges'];_0x4eb0=function(){return _0xd9beda;};return _0x4eb0();}import{getIntersectRange as _0x4e5c6e}from'@univerjs/core';class C extends _0x4f39f0{async[_0x48e4a9(0x12a)](){return this['getActiveWorkbook']()['getLintErrors']();}}_0x4f39f0[_0x48e4a9(0x138)](C);class U extends _0x4d4322{async['getLintErrors'](){const _0x332ac3=_0x48e4a9,_0x38f3d5=this[_0x332ac3(0x11c)](),_0x135a91=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x38f3d5,'dataValidationErrors':_0x135a91};}}_0x4d4322['extend'](U);function _0x2384(_0x47bf17,_0x2278e4){const _0x4eb0a7=_0x4eb0();return _0x2384=function(_0x23848e,_0x37a3e9){_0x23848e=_0x23848e-0x11c;let _0x1a2789=_0x4eb0a7[_0x23848e];return _0x1a2789;},_0x2384(_0x47bf17,_0x2278e4);}class k extends _0x4231f0{async[_0x48e4a9(0x135)](){const _0x286000=_0x48e4a9,_0x3e6b89=this[_0x286000(0x125)]['get'](_0x15d934),_0x5956ec=this[_0x286000(0x136)](0x0,0x0,this['getMaxRows']()+0x1,this[_0x286000(0x13b)]()+0x1)[_0x286000(0x12d)]();return await _0x3e6b89[_0x286000(0x13a)](_0x5956ec);}async[_0x48e4a9(0x127)](){const _0x59af44=_0x48e4a9;return(await this[_0x59af44(0x135)]())[_0x59af44(0x129)](_0x484e72);}}_0x4231f0[_0x48e4a9(0x138)](k);class y extends _0x564cf5{async[_0x48e4a9(0x135)](){const _0x1d1b2c=_0x48e4a9,_0x2cfe8e=this['_injector'][_0x1d1b2c(0x139)](_0x15d934),_0x214ddb=(({startRow:_0x50a6c2,endRow:_0x51759b,startColumn:_0x206f98,endColumn:_0x34d5b9})=>{const _0x1b60c8=_0x1d1b2c,_0x5ef2df=[];for(let _0x35615b=_0x50a6c2;_0x35615b<=_0x51759b;_0x35615b++){const _0x4f364f=[];for(let _0x38472c=_0x206f98;_0x38472c<=_0x34d5b9;_0x38472c++)_0x4f364f[_0x1b60c8(0x12c)](this[_0x1b60c8(0x137)][_0x1b60c8(0x11f)](_0x35615b,_0x38472c));_0x5ef2df[_0x1b60c8(0x12c)](_0x4f364f);}return _0x5ef2df;})({'startRow':0x0,'endRow':this[_0x1d1b2c(0x137)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x110a2c=await _0x2cfe8e[_0x1d1b2c(0x13a)](_0x214ddb),_0x68d349=this[_0x1d1b2c(0x136)](),_0x3012ee=[];for(let _0x5543bf=0x0;_0x5543bf<_0x110a2c[_0x1d1b2c(0x121)];_0x5543bf++){const _0x3be235=_0x110a2c[_0x5543bf],_0x83ed69=_0x3be235[_0x1d1b2c(0x11e)],_0x109239=[];for(let _0x3e4a7a=0x0;_0x3e4a7a<_0x83ed69[_0x1d1b2c(0x121)];_0x3e4a7a++){const _0x24f3cf=_0x83ed69[_0x3e4a7a],_0x480ec8=_0x4e5c6e(_0x24f3cf,_0x68d349);_0x480ec8&&_0x109239['push'](_0x480ec8);}if(_0x109239[_0x1d1b2c(0x121)]>0x0){_0x3be235[_0x1d1b2c(0x11e)]=_0x109239;const _0xd3c9de=_0x109239[0x0],_0x132cd6=_0xd3c9de[_0x1d1b2c(0x12b)]-_0x68d349[_0x1d1b2c(0x12b)],_0xee2d42=_0xd3c9de[_0x1d1b2c(0x122)]-_0x68d349[_0x1d1b2c(0x122)];_0x3be235[_0x1d1b2c(0x128)]=await _0x2cfe8e[_0x1d1b2c(0x120)](_0x3be235[_0x1d1b2c(0x128)],_0x132cd6,_0xee2d42),_0x3012ee[_0x1d1b2c(0x12c)](_0x3be235);}}return _0x3012ee;}async[_0x48e4a9(0x127)](){const _0xef39b=_0x48e4a9;return(await this['getFormulaUsages']())[_0xef39b(0x129)](_0x484e72);}}_0x564cf5[_0x48e4a9(0x138)](y);
|