@univerjs-pro/sheets-mcp 0.12.2-experimental.20251129-0fa20cd → 0.12.2-experimental.20251201-5b27b55

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/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x574e9c=_0x3510;(function(_0x2063f8,_0x5c3530){const _0x290840=_0x3510,_0x507f3d=_0x2063f8();while(!![]){try{const _0x2e88de=-parseInt(_0x290840(0x108))/0x1*(-parseInt(_0x290840(0x10a))/0x2)+-parseInt(_0x290840(0x113))/0x3*(-parseInt(_0x290840(0x114))/0x4)+-parseInt(_0x290840(0x118))/0x5*(parseInt(_0x290840(0x111))/0x6)+-parseInt(_0x290840(0x121))/0x7+-parseInt(_0x290840(0x106))/0x8+-parseInt(_0x290840(0x122))/0x9+parseInt(_0x290840(0x10c))/0xa;if(_0x2e88de===_0x5c3530)break;else _0x507f3d['push'](_0x507f3d['shift']());}catch(_0x431bca){_0x507f3d['push'](_0x507f3d['shift']());}}}(_0x3e6e,0x897f5));import{FUniver as _0x109cba}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x2e1e4b,FWorksheet as _0x234950,FRange as _0x2475fb}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x2c2c07,toA1 as _0x3ec659}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x3b2920}from'@univerjs/core';class C extends _0x109cba{async[_0x574e9c(0x11f)](){const _0x3a4452=_0x574e9c;return this[_0x3a4452(0x109)]()[_0x3a4452(0x11f)]();}}_0x109cba[_0x574e9c(0x120)](C);class U extends _0x2e1e4b{async[_0x574e9c(0x11f)](){const _0x12f148=_0x574e9c,_0x2d6e70=this[_0x12f148(0x112)](),_0x2d4785=await this[_0x12f148(0x119)]();return{'formulaErrors':_0x2d6e70,'dataValidationErrors':_0x2d4785};}}_0x2e1e4b[_0x574e9c(0x120)](U);class k extends _0x234950{async[_0x574e9c(0x117)](){const _0x51d520=_0x574e9c,_0x37eb6a=this[_0x51d520(0x115)][_0x51d520(0x11b)](_0x2c2c07),_0x4cb468=this[_0x51d520(0x116)](0x0,0x0,this[_0x51d520(0x110)]()+0x1,this[_0x51d520(0x104)]()+0x1)[_0x51d520(0x11d)]();return await _0x37eb6a[_0x51d520(0x10d)](_0x4cb468);}async[_0x574e9c(0x11a)](){const _0x5155c1=_0x574e9c;return(await this[_0x5155c1(0x117)]())['map'](_0x3ec659);}}function _0x3510(_0xfc84c4,_0x3075b3){const _0x3e6e2a=_0x3e6e();return _0x3510=function(_0x35105a,_0x336747){_0x35105a=_0x35105a-0x104;let _0x2a6561=_0x3e6e2a[_0x35105a];return _0x2a6561;},_0x3510(_0xfc84c4,_0x3075b3);}_0x234950['extend'](k);function _0x3e6e(){const _0x58023d=['getCellRaw','279079vWsvLU','getActiveWorkbook','6geosQj','filledRanges','22300610Qnoomi','getAllFormulaUsages','moveFormulaRefOffset','_worksheet','getMaxRows','6hFtETI','getAllFormulaError','3XVbqUA','2164516kILxpk','_injector','getRange','getFormulaUsages','4138430ZivIBG','getAllDataValidationErrorAsync','getFormulaUsagesAsA1','get','push','getCellDataGrid','startRow','getLintErrors','extend','7460880mevreX','927225HCtboh','length','getMaxColumns','formula','8389496KEXobn'];_0x3e6e=function(){return _0x58023d;};return _0x3e6e();}class y extends _0x2475fb{async['getFormulaUsages'](){const _0x15df63=_0x574e9c,_0x139d8a=this[_0x15df63(0x115)][_0x15df63(0x11b)](_0x2c2c07),_0x39497f=(({startRow:_0x3c979e,endRow:_0x32dbae,startColumn:_0x24efb0,endColumn:_0x26a612})=>{const _0x264429=_0x15df63,_0x1eb3c4=[];for(let _0x5b07c3=_0x3c979e;_0x5b07c3<=_0x32dbae;_0x5b07c3++){const _0xba5b3a=[];for(let _0x43cf88=_0x24efb0;_0x43cf88<=_0x26a612;_0x43cf88++)_0xba5b3a[_0x264429(0x11c)](this[_0x264429(0x10f)][_0x264429(0x107)](_0x5b07c3,_0x43cf88));_0x1eb3c4[_0x264429(0x11c)](_0xba5b3a);}return _0x1eb3c4;})({'startRow':0x0,'endRow':this[_0x15df63(0x10f)][_0x15df63(0x110)](),'startColumn':0x0,'endColumn':this[_0x15df63(0x10f)][_0x15df63(0x104)]()}),_0xa7a769=await _0x139d8a[_0x15df63(0x10d)](_0x39497f),_0x5c285f=this[_0x15df63(0x116)](),_0x46e32f=[];for(let _0x2f7abf=0x0;_0x2f7abf<_0xa7a769[_0x15df63(0x123)];_0x2f7abf++){const _0x174fdd=_0xa7a769[_0x2f7abf],_0x3394cf=_0x174fdd[_0x15df63(0x10b)],_0x521fcd=[];for(let _0x1e007a=0x0;_0x1e007a<_0x3394cf[_0x15df63(0x123)];_0x1e007a++){const _0xa0e82c=_0x3394cf[_0x1e007a],_0x30936f=_0x3b2920(_0xa0e82c,_0x5c285f);_0x30936f&&_0x521fcd[_0x15df63(0x11c)](_0x30936f);}if(_0x521fcd[_0x15df63(0x123)]>0x0){_0x174fdd[_0x15df63(0x10b)]=_0x521fcd;const _0x153ea7=_0x521fcd[0x0],_0xdfe12c=_0x153ea7[_0x15df63(0x11e)]-_0x5c285f[_0x15df63(0x11e)],_0x4b761f=_0x153ea7['startColumn']-_0x5c285f['startColumn'];_0x174fdd[_0x15df63(0x105)]=await _0x139d8a[_0x15df63(0x10e)](_0x174fdd[_0x15df63(0x105)],_0xdfe12c,_0x4b761f),_0x46e32f[_0x15df63(0x11c)](_0x174fdd);}}return _0x46e32f;}async[_0x574e9c(0x11a)](){const _0x4bc938=_0x574e9c;return(await this[_0x4bc938(0x117)]())['map'](_0x3ec659);}}_0x2475fb[_0x574e9c(0x120)](y);
1
+ const _0x3ef06e=_0x7d49;(function(_0x2d1013,_0x4948b9){const _0x3fe83b=_0x7d49,_0x297ff9=_0x2d1013();while(!![]){try{const _0x1c0d03=-parseInt(_0x3fe83b(0x142))/0x1*(parseInt(_0x3fe83b(0x141))/0x2)+parseInt(_0x3fe83b(0x143))/0x3+parseInt(_0x3fe83b(0x149))/0x4*(-parseInt(_0x3fe83b(0x15e))/0x5)+parseInt(_0x3fe83b(0x151))/0x6*(parseInt(_0x3fe83b(0x15a))/0x7)+parseInt(_0x3fe83b(0x140))/0x8*(-parseInt(_0x3fe83b(0x144))/0x9)+parseInt(_0x3fe83b(0x162))/0xa*(parseInt(_0x3fe83b(0x157))/0xb)+-parseInt(_0x3fe83b(0x14f))/0xc*(-parseInt(_0x3fe83b(0x15b))/0xd);if(_0x1c0d03===_0x4948b9)break;else _0x297ff9['push'](_0x297ff9['shift']());}catch(_0x4fa44d){_0x297ff9['push'](_0x297ff9['shift']());}}}(_0x1fcd,0xc112d));import{FUniver as _0x125db5}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x23b9b2,FWorksheet as _0x11b147,FRange as _0x33a4a9}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x11cfaa,toA1 as _0xf53126}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0xd7ac48}from'@univerjs/core';class C extends _0x125db5{async[_0x3ef06e(0x147)](){const _0x118ace=_0x3ef06e;return this[_0x118ace(0x146)]()[_0x118ace(0x147)]();}}_0x125db5[_0x3ef06e(0x156)](C);class U extends _0x23b9b2{async['getLintErrors'](){const _0x354d71=_0x3ef06e,_0x5aade9=this['getAllFormulaError'](),_0x5ad50e=await this[_0x354d71(0x152)]();return{'formulaErrors':_0x5aade9,'dataValidationErrors':_0x5ad50e};}}_0x23b9b2[_0x3ef06e(0x156)](U);class k extends _0x11b147{async[_0x3ef06e(0x14c)](){const _0xf458c0=_0x3ef06e,_0x1d7014=this[_0xf458c0(0x15f)][_0xf458c0(0x15d)](_0x11cfaa),_0x4cfd27=this[_0xf458c0(0x14e)](0x0,0x0,this[_0xf458c0(0x150)]()+0x1,this[_0xf458c0(0x14d)]()+0x1)[_0xf458c0(0x159)]();return await _0x1d7014['getAllFormulaUsages'](_0x4cfd27);}async[_0x3ef06e(0x153)](){const _0x6aa3b5=_0x3ef06e;return(await this[_0x6aa3b5(0x14c)]())[_0x6aa3b5(0x145)](_0xf53126);}}function _0x1fcd(){const _0x1f086a=['2422914jvYrtK','startColumn','get','3790305lsVdWa','_injector','_worksheet','getAllFormulaUsages','10nhPNmG','9224EmoIDP','4EVTUZb','624003hMsqvI','3371907EaldTN','711yDzgqB','map','getActiveWorkbook','getLintErrors','startRow','4LPkfTz','filledRanges','formula','getFormulaUsages','getMaxColumns','getRange','72UCFKIl','getMaxRows','348AKdgBN','getAllDataValidationErrorAsync','getFormulaUsagesAsA1','push','moveFormulaRefOffset','extend','2345640EXGQkH','length','getCellDataGrid','52199QJnTkf'];_0x1fcd=function(){return _0x1f086a;};return _0x1fcd();}_0x11b147[_0x3ef06e(0x156)](k);function _0x7d49(_0x57c6b5,_0x5d622e){const _0x1fcde1=_0x1fcd();return _0x7d49=function(_0x7d494b,_0x192c78){_0x7d494b=_0x7d494b-0x140;let _0x44d83c=_0x1fcde1[_0x7d494b];return _0x44d83c;},_0x7d49(_0x57c6b5,_0x5d622e);}class y extends _0x33a4a9{async[_0x3ef06e(0x14c)](){const _0x8d77f6=_0x3ef06e,_0x415c0c=this[_0x8d77f6(0x15f)][_0x8d77f6(0x15d)](_0x11cfaa),_0x54e552=(({startRow:_0x427db5,endRow:_0xb5c862,startColumn:_0x383246,endColumn:_0x4a65f6})=>{const _0x4807d7=_0x8d77f6,_0x5cef56=[];for(let _0x27b44a=_0x427db5;_0x27b44a<=_0xb5c862;_0x27b44a++){const _0xd8356c=[];for(let _0x4fe00b=_0x383246;_0x4fe00b<=_0x4a65f6;_0x4fe00b++)_0xd8356c['push'](this[_0x4807d7(0x160)]['getCellRaw'](_0x27b44a,_0x4fe00b));_0x5cef56[_0x4807d7(0x154)](_0xd8356c);}return _0x5cef56;})({'startRow':0x0,'endRow':this[_0x8d77f6(0x160)][_0x8d77f6(0x150)](),'startColumn':0x0,'endColumn':this[_0x8d77f6(0x160)][_0x8d77f6(0x14d)]()}),_0x3bd53c=await _0x415c0c[_0x8d77f6(0x161)](_0x54e552),_0x4b3121=this[_0x8d77f6(0x14e)](),_0x34bf9b=[];for(let _0x87ab48=0x0;_0x87ab48<_0x3bd53c[_0x8d77f6(0x158)];_0x87ab48++){const _0x34c30b=_0x3bd53c[_0x87ab48],_0x2898e7=_0x34c30b[_0x8d77f6(0x14a)],_0x310db2=[];for(let _0x152369=0x0;_0x152369<_0x2898e7['length'];_0x152369++){const _0x1ee505=_0x2898e7[_0x152369],_0x3252ab=_0xd7ac48(_0x1ee505,_0x4b3121);_0x3252ab&&_0x310db2[_0x8d77f6(0x154)](_0x3252ab);}if(_0x310db2[_0x8d77f6(0x158)]>0x0){_0x34c30b[_0x8d77f6(0x14a)]=_0x310db2;const _0x584c51=_0x310db2[0x0],_0x11871c=_0x584c51[_0x8d77f6(0x148)]-_0x4b3121['startRow'],_0x5c6bf4=_0x584c51[_0x8d77f6(0x15c)]-_0x4b3121[_0x8d77f6(0x15c)];_0x34c30b[_0x8d77f6(0x14b)]=await _0x415c0c[_0x8d77f6(0x155)](_0x34c30b[_0x8d77f6(0x14b)],_0x11871c,_0x5c6bf4),_0x34bf9b[_0x8d77f6(0x154)](_0x34c30b);}}return _0x34bf9b;}async['getFormulaUsagesAsA1'](){const _0x360e59=_0x3ef06e;return(await this['getFormulaUsages']())[_0x360e59(0x145)](_0xf53126);}}_0x33a4a9[_0x3ef06e(0x156)](y);