@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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5ad4(_0x3ec7ae,_0x3c0823){const _0x18c36e=_0x18c3();return _0x5ad4=function(_0x5ad47b,_0x189ae7){_0x5ad47b=_0x5ad47b-0xf1;let _0x4960a6=_0x18c36e[_0x5ad47b];return _0x4960a6;},_0x5ad4(_0x3ec7ae,_0x3c0823);}(function(_0x1c8d87,_0x2b76aa){const _0x1ba799=_0x5ad4,_0x842404=_0x1c8d87();while(!![]){try{const _0x39ad64=-parseInt(_0x1ba799(0xf4))/0x1+-parseInt(_0x1ba799(0xfb))/0x2+-parseInt(_0x1ba799(0x10d))/0x3+-parseInt(_0x1ba799(0xf7))/0x4*(parseInt(_0x1ba799(0x120))/0x5)+parseInt(_0x1ba799(0x103))/0x6+parseInt(_0x1ba799(0xf3))/0x7*(-parseInt(_0x1ba799(0xf2))/0x8)+parseInt(_0x1ba799(0xf9))/0x9*(parseInt(_0x1ba799(0x10f))/0xa);if(_0x39ad64===_0x2b76aa)break;else _0x842404['push'](_0x842404['shift']());}catch(_0xf462c){_0x842404['push'](_0x842404['shift']());}}}(_0x18c3,0xcd2df),function(_0xb71768,_0x5ecd66){const _0x2f9cd3=_0x5ad4;typeof exports=='object'&&typeof module<'u'?_0x5ecd66(require('@univerjs/core/facade'),require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade'),require('@univerjs/sheets/facade'),require('@univerjs-pro/sheets-mcp'),require('@univerjs/core')):typeof define==_0x2f9cd3(0x122)&&define[_0x2f9cd3(0x11a)]?define([_0x2f9cd3(0x107),_0x2f9cd3(0x117),_0x2f9cd3(0xfc),_0x2f9cd3(0x115),'@univerjs-pro/sheets-mcp','@univerjs/core'],_0x5ecd66):(_0xb71768=typeof globalThis<'u'?globalThis:_0xb71768||self,_0x5ecd66(_0xb71768[_0x2f9cd3(0x109)],_0xb71768[_0x2f9cd3(0x108)],_0xb71768[_0x2f9cd3(0x121)],_0xb71768[_0x2f9cd3(0x112)],_0xb71768[_0x2f9cd3(0xf6)],_0xb71768[_0x2f9cd3(0x116)]));}(this,function(_0x36c38b,_0x22d62a,_0x279530,_0x2d6655,_0x26566b,_0x4de718){'use strict';const _0xb383ba=_0x5ad4;class _0x5d5750 extends _0x36c38b[_0xb383ba(0x10c)]{async['getLintErrors'](){const _0x38edd0=_0xb383ba;return this['getActiveWorkbook']()[_0x38edd0(0x106)]();}}_0x36c38b[_0xb383ba(0x10c)][_0xb383ba(0x101)](_0x5d5750);class _0x3ee3dd extends _0x2d6655[_0xb383ba(0x102)]{async[_0xb383ba(0x106)](){const _0x243e6a=_0xb383ba,_0x441c53=this[_0x243e6a(0x11d)](),_0x4e1ca0=await this[_0x243e6a(0x10e)]();return{'formulaErrors':_0x441c53,'dataValidationErrors':_0x4e1ca0};}}_0x2d6655['FWorkbook'][_0xb383ba(0x101)](_0x3ee3dd);class _0x4a466d extends _0x2d6655['FWorksheet']{async[_0xb383ba(0x114)](){const _0x1cb207=_0xb383ba,_0x59057b=this['_injector'][_0x1cb207(0x100)](_0x26566b[_0x1cb207(0xfd)]),_0x38e4fd=this[_0x1cb207(0x11e)](0x0,0x0,this[_0x1cb207(0xf8)]()+0x1,this[_0x1cb207(0x104)]()+0x1)['getCellDataGrid']();return await _0x59057b[_0x1cb207(0x119)](_0x38e4fd);}async['getFormulaUsagesAsA1'](){const _0x2e15b3=_0xb383ba;return(await this['getFormulaUsages']())[_0x2e15b3(0xf1)](_0x26566b[_0x2e15b3(0x118)]);}}_0x2d6655[_0xb383ba(0xfe)]['extend'](_0x4a466d);class _0x4124af extends _0x2d6655[_0xb383ba(0x11c)]{async['getFormulaUsages'](){const _0xf7b7fc=_0xb383ba,_0x428e0d=this[_0xf7b7fc(0x105)][_0xf7b7fc(0x100)](_0x26566b[_0xf7b7fc(0xfd)]),_0x25cc11=(({startRow:_0x2622f3,endRow:_0x12d42d,startColumn:_0x2bddbe,endColumn:_0x3bc8b2})=>{const _0x2b0613=_0xf7b7fc,_0x2922e2=[];for(let _0x5129d0=_0x2622f3;_0x5129d0<=_0x12d42d;_0x5129d0++){const _0x45db52=[];for(let _0x515b47=_0x2bddbe;_0x515b47<=_0x3bc8b2;_0x515b47++)_0x45db52[_0x2b0613(0xfa)](this[_0x2b0613(0x111)][_0x2b0613(0x11b)](_0x5129d0,_0x515b47));_0x2922e2[_0x2b0613(0xfa)](_0x45db52);}return _0x2922e2;})({'startRow':0x0,'endRow':this[_0xf7b7fc(0x111)][_0xf7b7fc(0xf8)](),'startColumn':0x0,'endColumn':this[_0xf7b7fc(0x111)]['getMaxColumns']()}),_0x1ad2b5=await _0x428e0d[_0xf7b7fc(0x119)](_0x25cc11),_0x2394ed=this['getRange'](),_0x7c417b=[];for(let _0x4d0515=0x0;_0x4d0515<_0x1ad2b5[_0xf7b7fc(0x113)];_0x4d0515++){const _0xcc55db=_0x1ad2b5[_0x4d0515],_0x8388eb=_0xcc55db[_0xf7b7fc(0x10a)],_0x3e365a=[];for(let _0x493a98=0x0;_0x493a98<_0x8388eb[_0xf7b7fc(0x113)];_0x493a98++){const _0x653555=_0x8388eb[_0x493a98],_0x4c8f4d=_0x4de718[_0xf7b7fc(0xf5)](_0x653555,_0x2394ed);_0x4c8f4d&&_0x3e365a[_0xf7b7fc(0xfa)](_0x4c8f4d);}if(_0x3e365a['length']>0x0){_0xcc55db['filledRanges']=_0x3e365a;const _0x2da9a1=_0x3e365a[0x0],_0x19126f=_0x2da9a1[_0xf7b7fc(0x110)]-_0x2394ed[_0xf7b7fc(0x110)],_0x17e754=_0x2da9a1[_0xf7b7fc(0xff)]-_0x2394ed[_0xf7b7fc(0xff)];_0xcc55db[_0xf7b7fc(0x11f)]=await _0x428e0d[_0xf7b7fc(0x10b)](_0xcc55db[_0xf7b7fc(0x11f)],_0x19126f,_0x17e754),_0x7c417b[_0xf7b7fc(0xfa)](_0xcc55db);}}return _0x7c417b;}async['getFormulaUsagesAsA1'](){const _0x319533=_0xb383ba;return(await this[_0x319533(0x114)]())['map'](_0x26566b[_0x319533(0x118)]);}}_0x2d6655[_0xb383ba(0x11c)]['extend'](_0x4124af);}));function _0x18c3(){const _0x2298d9=['FUniver','253779kCTWtZ','getAllDataValidationErrorAsync','4262270sRLoBl','startRow','_worksheet','UniverSheetsFacade','length','getFormulaUsages','@univerjs/sheets/facade','UniverCore','@univerjs/sheets-formula/facade','toA1','getAllFormulaUsages','amd','getCellRaw','FRange','getAllFormulaError','getRange','formula','10HpVDRs','UniverSheetsDataValidationFacade','function','map','11472HOsTlH','3031vSFTKU','1579693RrgYqJ','getIntersectRange','UniverProSheetsMcp','15572CvifoK','getMaxRows','54SmAIDl','push','1842856KXqvXQ','@univerjs/sheets-data-validation/facade','IFormulaUsageAnalyzer','FWorksheet','startColumn','get','extend','FWorkbook','8984850thZZOy','getMaxColumns','_injector','getLintErrors','@univerjs/core/facade','UniverSheetsFormulaFacade','UniverCoreFacade','filledRanges','moveFormulaRefOffset'];_0x18c3=function(){return _0x2298d9;};return _0x18c3();}
1
+ function _0x6b0d(_0x254dbf,_0x585224){const _0x2115ca=_0x2115();return _0x6b0d=function(_0x6b0de3,_0x21565e){_0x6b0de3=_0x6b0de3-0x18d;let _0x510229=_0x2115ca[_0x6b0de3];return _0x510229;},_0x6b0d(_0x254dbf,_0x585224);}function _0x2115(){const _0x280c20=['FWorksheet','filledRanges','getAllFormulaUsages','formula','968705HTSHCs','UniverCore','FUniver','getAllFormulaError','getIntersectRange','startRow','moveFormulaRefOffset','@univerjs/core','8kHgvLP','_worksheet','641292VQykEK','extend','object','getRange','@univerjs/sheets-data-validation/facade','getFormulaUsages','push','UniverSheetsFacade','length','21gKyfYX','getMaxRows','@univerjs/core/facade','3143388tMSxVX','amd','UniverCoreFacade','@univerjs/sheets-formula/facade','UniverSheetsDataValidationFacade','UniverProSheetsMcp','getMaxColumns','@univerjs/sheets/facade','UniverSheetsFormulaFacade','getLintErrors','getFormulaUsagesAsA1','function','IFormulaUsageAnalyzer','797859HkjGhJ','_injector','map','FRange','startColumn','getCellRaw','14753583aRqNKk','15284130PPDoln','get','20gFEFXf','getActiveWorkbook','toA1','3091520hLXtBR'];_0x2115=function(){return _0x280c20;};return _0x2115();}(function(_0x5410a4,_0x85805f){const _0x5dc14b=_0x6b0d,_0x4406a9=_0x5410a4();while(!![]){try{const _0x2f7dfc=-parseInt(_0x5dc14b(0x197))/0x1+-parseInt(_0x5dc14b(0x1a1))/0x2+parseInt(_0x5dc14b(0x1ba))/0x3*(parseInt(_0x5dc14b(0x18f))/0x4)+-parseInt(_0x5dc14b(0x192))/0x5+-parseInt(_0x5dc14b(0x1ad))/0x6*(-parseInt(_0x5dc14b(0x1aa))/0x7)+-parseInt(_0x5dc14b(0x19f))/0x8*(parseInt(_0x5dc14b(0x1c0))/0x9)+parseInt(_0x5dc14b(0x18d))/0xa;if(_0x2f7dfc===_0x85805f)break;else _0x4406a9['push'](_0x4406a9['shift']());}catch(_0x2b217c){_0x4406a9['push'](_0x4406a9['shift']());}}}(_0x2115,0xd78f2),function(_0x39c7c9,_0x4820f1){const _0x142d1d=_0x6b0d;typeof exports==_0x142d1d(0x1a3)&&typeof module<'u'?_0x4820f1(require('@univerjs/core/facade'),require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade'),require('@univerjs/sheets/facade'),require('@univerjs-pro/sheets-mcp'),require('@univerjs/core')):typeof define==_0x142d1d(0x1b8)&&define[_0x142d1d(0x1ae)]?define([_0x142d1d(0x1ac),_0x142d1d(0x1b0),_0x142d1d(0x1a5),_0x142d1d(0x1b4),'@univerjs-pro/sheets-mcp',_0x142d1d(0x19e)],_0x4820f1):(_0x39c7c9=typeof globalThis<'u'?globalThis:_0x39c7c9||self,_0x4820f1(_0x39c7c9[_0x142d1d(0x1af)],_0x39c7c9[_0x142d1d(0x1b5)],_0x39c7c9[_0x142d1d(0x1b1)],_0x39c7c9[_0x142d1d(0x1a8)],_0x39c7c9[_0x142d1d(0x1b2)],_0x39c7c9[_0x142d1d(0x198)]));}(this,function(_0x332222,_0x1d693e,_0x2d31ec,_0x4600cf,_0x396755,_0x1f35b9){'use strict';const _0xb885c0=_0x6b0d;class _0x3a18fd extends _0x332222[_0xb885c0(0x199)]{async[_0xb885c0(0x1b6)](){const _0x462552=_0xb885c0;return this[_0x462552(0x190)]()[_0x462552(0x1b6)]();}}_0x332222[_0xb885c0(0x199)][_0xb885c0(0x1a2)](_0x3a18fd);class _0x18f2f7 extends _0x4600cf['FWorkbook']{async[_0xb885c0(0x1b6)](){const _0x29e6b8=_0xb885c0,_0xab3644=this[_0x29e6b8(0x19a)](),_0x3c9e38=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0xab3644,'dataValidationErrors':_0x3c9e38};}}_0x4600cf['FWorkbook']['extend'](_0x18f2f7);class _0x36fecf extends _0x4600cf[_0xb885c0(0x193)]{async[_0xb885c0(0x1a6)](){const _0x348845=_0xb885c0,_0x4a3c4f=this['_injector'][_0x348845(0x18e)](_0x396755[_0x348845(0x1b9)]),_0x38db6f=this[_0x348845(0x1a4)](0x0,0x0,this[_0x348845(0x1ab)]()+0x1,this[_0x348845(0x1b3)]()+0x1)['getCellDataGrid']();return await _0x4a3c4f[_0x348845(0x195)](_0x38db6f);}async[_0xb885c0(0x1b7)](){const _0xea82cf=_0xb885c0;return(await this[_0xea82cf(0x1a6)]())[_0xea82cf(0x1bc)](_0x396755[_0xea82cf(0x191)]);}}_0x4600cf['FWorksheet']['extend'](_0x36fecf);class _0x4a5aad extends _0x4600cf[_0xb885c0(0x1bd)]{async[_0xb885c0(0x1a6)](){const _0x7f077c=_0xb885c0,_0x4f625e=this[_0x7f077c(0x1bb)][_0x7f077c(0x18e)](_0x396755[_0x7f077c(0x1b9)]),_0x54547b=(({startRow:_0x1b2f11,endRow:_0x42f463,startColumn:_0x53c5f3,endColumn:_0x57a41a})=>{const _0x269441=_0x7f077c,_0x383a90=[];for(let _0x315a2e=_0x1b2f11;_0x315a2e<=_0x42f463;_0x315a2e++){const _0x39ea1e=[];for(let _0x3e09b2=_0x53c5f3;_0x3e09b2<=_0x57a41a;_0x3e09b2++)_0x39ea1e['push'](this[_0x269441(0x1a0)][_0x269441(0x1bf)](_0x315a2e,_0x3e09b2));_0x383a90[_0x269441(0x1a7)](_0x39ea1e);}return _0x383a90;})({'startRow':0x0,'endRow':this['_worksheet'][_0x7f077c(0x1ab)](),'startColumn':0x0,'endColumn':this[_0x7f077c(0x1a0)][_0x7f077c(0x1b3)]()}),_0x1819f3=await _0x4f625e['getAllFormulaUsages'](_0x54547b),_0xb46146=this[_0x7f077c(0x1a4)](),_0xd02ca7=[];for(let _0x558f0d=0x0;_0x558f0d<_0x1819f3[_0x7f077c(0x1a9)];_0x558f0d++){const _0x4f9944=_0x1819f3[_0x558f0d],_0x4f66d2=_0x4f9944['filledRanges'],_0x9e5e51=[];for(let _0x557f3a=0x0;_0x557f3a<_0x4f66d2[_0x7f077c(0x1a9)];_0x557f3a++){const _0x5a7b92=_0x4f66d2[_0x557f3a],_0x58b5a2=_0x1f35b9[_0x7f077c(0x19b)](_0x5a7b92,_0xb46146);_0x58b5a2&&_0x9e5e51['push'](_0x58b5a2);}if(_0x9e5e51[_0x7f077c(0x1a9)]>0x0){_0x4f9944[_0x7f077c(0x194)]=_0x9e5e51;const _0x3365aa=_0x9e5e51[0x0],_0x186365=_0x3365aa['startRow']-_0xb46146[_0x7f077c(0x19c)],_0x374555=_0x3365aa[_0x7f077c(0x1be)]-_0xb46146[_0x7f077c(0x1be)];_0x4f9944[_0x7f077c(0x196)]=await _0x4f625e[_0x7f077c(0x19d)](_0x4f9944[_0x7f077c(0x196)],_0x186365,_0x374555),_0xd02ca7[_0x7f077c(0x1a7)](_0x4f9944);}}return _0xd02ca7;}async[_0xb885c0(0x1b7)](){const _0x47a52b=_0xb885c0;return(await this[_0x47a52b(0x1a6)]())[_0x47a52b(0x1bc)](_0x396755[_0x47a52b(0x191)]);}}_0x4600cf[_0xb885c0(0x1bd)][_0xb885c0(0x1a2)](_0x4a5aad);}));