@univerjs-pro/sheets-mcp 0.12.1-nightly.202511221011 → 0.12.2-experimental.20251129-0fa20cd

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 _0x488f4b=_0x2f68;(function(_0x34ce59,_0x461d6a){const _0x2bea7d=_0x2f68,_0x35e47e=_0x34ce59();while(!![]){try{const _0x7b7b18=parseInt(_0x2bea7d(0x1b9))/0x1*(-parseInt(_0x2bea7d(0x1b8))/0x2)+parseInt(_0x2bea7d(0x1c3))/0x3*(-parseInt(_0x2bea7d(0x1c1))/0x4)+-parseInt(_0x2bea7d(0x1bb))/0x5+parseInt(_0x2bea7d(0x1b2))/0x6+-parseInt(_0x2bea7d(0x1be))/0x7+parseInt(_0x2bea7d(0x1cd))/0x8*(-parseInt(_0x2bea7d(0x1bd))/0x9)+parseInt(_0x2bea7d(0x1b3))/0xa;if(_0x7b7b18===_0x461d6a)break;else _0x35e47e['push'](_0x35e47e['shift']());}catch(_0x18fe92){_0x35e47e['push'](_0x35e47e['shift']());}}}(_0x407f,0x3342e));import{FUniver as _0x2f7a97}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';function _0x407f(){const _0x51a4b0=['797768wPFYtl','get','6auKFLa','extend','startColumn','getMaxColumns','length','_worksheet','getCellDataGrid','getMaxRows','getAllFormulaError','getRange','2440mhDcaQ','getLintErrors','map','getFormulaUsages','407862nIBJaf','9329310vUQoko','getActiveWorkbook','startRow','getFormulaUsagesAsA1','getAllFormulaUsages','10ZzWJUl','19493buWime','push','795080ajDBrW','moveFormulaRefOffset','1953XxwkAH','485744iWvZKy','filledRanges','getCellRaw'];_0x407f=function(){return _0x51a4b0;};return _0x407f();}import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x4824f7,FWorksheet as _0x4b3e7b,FRange as _0x5a65ed}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x456619,toA1 as _0x45487e}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x2a8021}from'@univerjs/core';class C extends _0x2f7a97{async[_0x488f4b(0x1ce)](){const _0x7ba27f=_0x488f4b;return this[_0x7ba27f(0x1b4)]()[_0x7ba27f(0x1ce)]();}}_0x2f7a97[_0x488f4b(0x1c4)](C);class U extends _0x4824f7{async['getLintErrors'](){const _0x3fad85=_0x488f4b,_0x5bc473=this[_0x3fad85(0x1cb)](),_0x44349c=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x5bc473,'dataValidationErrors':_0x44349c};}}_0x4824f7[_0x488f4b(0x1c4)](U);class k extends _0x4b3e7b{async[_0x488f4b(0x1b1)](){const _0x49e242=_0x488f4b,_0x47d7d5=this['_injector'][_0x49e242(0x1c2)](_0x456619),_0x176176=this[_0x49e242(0x1cc)](0x0,0x0,this[_0x49e242(0x1ca)]()+0x1,this['getMaxColumns']()+0x1)[_0x49e242(0x1c9)]();return await _0x47d7d5[_0x49e242(0x1b7)](_0x176176);}async[_0x488f4b(0x1b6)](){const _0xbfdd31=_0x488f4b;return(await this[_0xbfdd31(0x1b1)]())[_0xbfdd31(0x1b0)](_0x45487e);}}_0x4b3e7b[_0x488f4b(0x1c4)](k);class y extends _0x5a65ed{async[_0x488f4b(0x1b1)](){const _0x3f2517=_0x488f4b,_0x35aebf=this['_injector']['get'](_0x456619),_0x4a2bfd=(({startRow:_0x4834ba,endRow:_0x5e1f16,startColumn:_0x3c884e,endColumn:_0x47c5b5})=>{const _0x509f78=_0x2f68,_0x170e91=[];for(let _0x2e577c=_0x4834ba;_0x2e577c<=_0x5e1f16;_0x2e577c++){const _0x33061e=[];for(let _0x51d7da=_0x3c884e;_0x51d7da<=_0x47c5b5;_0x51d7da++)_0x33061e[_0x509f78(0x1ba)](this[_0x509f78(0x1c8)][_0x509f78(0x1c0)](_0x2e577c,_0x51d7da));_0x170e91[_0x509f78(0x1ba)](_0x33061e);}return _0x170e91;})({'startRow':0x0,'endRow':this[_0x3f2517(0x1c8)][_0x3f2517(0x1ca)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x3f2517(0x1c6)]()}),_0x174ec4=await _0x35aebf[_0x3f2517(0x1b7)](_0x4a2bfd),_0x1e3d65=this[_0x3f2517(0x1cc)](),_0x51a638=[];for(let _0x4952e8=0x0;_0x4952e8<_0x174ec4[_0x3f2517(0x1c7)];_0x4952e8++){const _0xad212f=_0x174ec4[_0x4952e8],_0x551c23=_0xad212f[_0x3f2517(0x1bf)],_0x23165d=[];for(let _0x499e4f=0x0;_0x499e4f<_0x551c23[_0x3f2517(0x1c7)];_0x499e4f++){const _0x47e5c1=_0x551c23[_0x499e4f],_0x1a0061=_0x2a8021(_0x47e5c1,_0x1e3d65);_0x1a0061&&_0x23165d[_0x3f2517(0x1ba)](_0x1a0061);}if(_0x23165d['length']>0x0){_0xad212f['filledRanges']=_0x23165d;const _0x4a513b=_0x23165d[0x0],_0x440a4f=_0x4a513b['startRow']-_0x1e3d65[_0x3f2517(0x1b5)],_0x5b4485=_0x4a513b[_0x3f2517(0x1c5)]-_0x1e3d65[_0x3f2517(0x1c5)];_0xad212f['formula']=await _0x35aebf[_0x3f2517(0x1bc)](_0xad212f['formula'],_0x440a4f,_0x5b4485),_0x51a638[_0x3f2517(0x1ba)](_0xad212f);}}return _0x51a638;}async[_0x488f4b(0x1b6)](){const _0x1a47b5=_0x488f4b;return(await this[_0x1a47b5(0x1b1)]())['map'](_0x45487e);}}function _0x2f68(_0x1c47a0,_0x40db1a){const _0x407fdd=_0x407f();return _0x2f68=function(_0x2f685b,_0x113de8){_0x2f685b=_0x2f685b-0x1b0;let _0x421866=_0x407fdd[_0x2f685b];return _0x421866;},_0x2f68(_0x1c47a0,_0x40db1a);}_0x5a65ed[_0x488f4b(0x1c4)](y);
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);