@univerjs-pro/sheets-mcp 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20251227-c108ce3

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 _0x1de6(_0x6bc458,_0x4bf85d){_0x6bc458=_0x6bc458-0x9a;const _0xaf2758=_0xaf27();let _0x1de6d6=_0xaf2758[_0x6bc458];return _0x1de6d6;}function _0xaf27(){const _0x3302ee=['getAllFormulaError','getFormulaUsagesAsA1','@univerjs/core/facade','endRow','IFormulaUsageAnalyzer','getLintErrors','@univerjs-pro/sheets-mcp','toA1','312968YhnCeT','@univerjs/sheets-formula/facade','function','getFormulaUsages','map','getRange','getAllFormulaUsages','2626270ckhOHv','length','FWorksheet','getCellRaw','UniverSheetsFacade','amd','extend','endColumn','UniverCore','get','763032ZkioCA','79739sUVgUT','@univerjs/sheets-data-validation/facade','getMaxRows','177247ZfWjFg','getMaxColumns','@univerjs/sheets/facade','FRange','11Ndtjlf','9wEbXBq','5xQyjJX','getAllDataValidationErrorAsync','UniverSheetsFormulaFacade','@univerjs/core','2HGJbDG','FWorkbook','formula','FUniver','3282444ficfVl','getIntersectRange','UniverProSheetsMcp','filledRanges','getActiveWorkbook','object','651207RvkMJx','getCellDataGrid','startRow','_worksheet','firstOccurrence','startColumn','push','_injector','66EoXnjL'];_0xaf27=function(){return _0x3302ee;};return _0xaf27();}(function(_0x2d4813,_0x5b5206){const _0x4bca4f=_0x1de6,_0x3e9ac8=_0x2d4813();while(!![]){try{const _0x7ad2ae=-parseInt(_0x4bca4f(0xce))/0x1+-parseInt(_0x4bca4f(0xa1))/0x2*(-parseInt(_0x4bca4f(0xab))/0x3)+parseInt(_0x4bca4f(0xcd))/0x4*(-parseInt(_0x4bca4f(0x9d))/0x5)+-parseInt(_0x4bca4f(0xb3))/0x6*(-parseInt(_0x4bca4f(0xd1))/0x7)+-parseInt(_0x4bca4f(0xbc))/0x8*(parseInt(_0x4bca4f(0x9c))/0x9)+parseInt(_0x4bca4f(0xc3))/0xa*(parseInt(_0x4bca4f(0x9b))/0xb)+-parseInt(_0x4bca4f(0xa5))/0xc;if(_0x7ad2ae===_0x5b5206)break;else _0x3e9ac8['push'](_0x3e9ac8['shift']());}catch(_0x3f659c){_0x3e9ac8['push'](_0x3e9ac8['shift']());}}}(_0xaf27,0x2abe0),function(_0x3749b0,_0x34286f){const _0x4d169a=_0x1de6;typeof exports==_0x4d169a(0xaa)&&typeof module<'u'?_0x34286f(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==_0x4d169a(0xbe)&&define[_0x4d169a(0xc8)]?define([_0x4d169a(0xb6),_0x4d169a(0xbd),_0x4d169a(0xcf),_0x4d169a(0xd3),_0x4d169a(0xba),_0x4d169a(0xa0)],_0x34286f):(_0x3749b0=typeof globalThis<'u'?globalThis:_0x3749b0||self,_0x34286f(_0x3749b0['UniverCoreFacade'],_0x3749b0[_0x4d169a(0x9f)],_0x3749b0['UniverSheetsDataValidationFacade'],_0x3749b0[_0x4d169a(0xc7)],_0x3749b0[_0x4d169a(0xa7)],_0x3749b0[_0x4d169a(0xcb)]));}(this,function(_0x4ab6cc,_0x3ed5c8,_0x4635b8,_0x2588d4,_0x5c2b5d,_0x245c47){'use strict';const _0x2d8bc9=_0x1de6;class _0x4fd01c extends _0x4ab6cc[_0x2d8bc9(0xa4)]{async[_0x2d8bc9(0xb9)](){const _0x35319e=_0x2d8bc9;return this[_0x35319e(0xa9)]()[_0x35319e(0xb9)]();}}_0x4ab6cc[_0x2d8bc9(0xa4)][_0x2d8bc9(0xc9)](_0x4fd01c);class _0x21250e extends _0x2588d4[_0x2d8bc9(0xa2)]{async[_0x2d8bc9(0xb9)](){const _0x2808c5=_0x2d8bc9,_0x36f1c0=this[_0x2808c5(0xb4)](),_0x11dec9=await this[_0x2808c5(0x9e)]();return{'formulaErrors':_0x36f1c0,'dataValidationErrors':_0x11dec9};}}_0x2588d4[_0x2d8bc9(0xa2)]['extend'](_0x21250e);class _0x57ca0f extends _0x2588d4[_0x2d8bc9(0xc5)]{async[_0x2d8bc9(0xbf)](){const _0x345bf2=_0x2d8bc9,_0x341d6c=this['_injector'][_0x345bf2(0xcc)](_0x5c2b5d[_0x345bf2(0xb8)]),_0x5d4413=this[_0x345bf2(0xc1)](0x0,0x0,this[_0x345bf2(0xd0)](),this['getMaxColumns']())[_0x345bf2(0xac)]();return await _0x341d6c[_0x345bf2(0xc2)](_0x5d4413);}async[_0x2d8bc9(0xb5)](){const _0x378fba=_0x2d8bc9;return(await this[_0x378fba(0xbf)]())['map'](_0x5c2b5d['toA1']);}}_0x2588d4[_0x2d8bc9(0xc5)]['extend'](_0x57ca0f);class _0x1695bb extends _0x2588d4[_0x2d8bc9(0x9a)]{async[_0x2d8bc9(0xbf)](){const _0x32574f=_0x2d8bc9,_0x3b8186=this[_0x32574f(0xb2)][_0x32574f(0xcc)](_0x5c2b5d[_0x32574f(0xb8)]),_0x24d549=(({startRow:_0x2a4b14,endRow:_0xa66eb1,startColumn:_0x47abf0,endColumn:_0x54a5bd})=>{const _0x672270=_0x32574f,_0x32e4fb=[];for(let _0x2a4e5c=_0x2a4b14;_0x2a4e5c<=_0xa66eb1;_0x2a4e5c++){const _0x2b86e8=[];for(let _0x368915=_0x47abf0;_0x368915<=_0x54a5bd;_0x368915++)_0x2b86e8[_0x672270(0xb1)](this[_0x672270(0xae)][_0x672270(0xc6)](_0x2a4e5c,_0x368915));_0x32e4fb[_0x672270(0xb1)](_0x2b86e8);}return _0x32e4fb;})({'startRow':0x0,'endRow':this['_worksheet'][_0x32574f(0xd0)](),'startColumn':0x0,'endColumn':this[_0x32574f(0xae)][_0x32574f(0xd2)]()}),_0x3a6106=await _0x3b8186[_0x32574f(0xc2)](_0x24d549),_0x45866b=this['getRange'](),_0x2b0963=[];for(let _0x4f8bff=0x0;_0x4f8bff<_0x3a6106[_0x32574f(0xc4)];_0x4f8bff++){const _0x145fec=_0x3a6106[_0x4f8bff],_0x4eaf2e=_0x145fec[_0x32574f(0xa8)],_0x4a47dd=[];for(let _0x26f28f=0x0;_0x26f28f<_0x4eaf2e[_0x32574f(0xc4)];_0x26f28f++){const _0x3389fb=_0x4eaf2e[_0x26f28f],_0x240e4d=_0x245c47[_0x32574f(0xa6)](_0x3389fb,_0x45866b);_0x240e4d&&_0x4a47dd[_0x32574f(0xb1)](_0x240e4d);}if(_0x4a47dd[_0x32574f(0xc4)]>0x0){if(_0x145fec['filledRanges']=_0x4a47dd,!(_0x145fec[_0x32574f(0xaf)][_0x32574f(0xad)]>=_0x45866b[_0x32574f(0xad)]&&_0x145fec['firstOccurrence'][_0x32574f(0xad)]<=_0x45866b[_0x32574f(0xb7)]&&_0x145fec[_0x32574f(0xaf)][_0x32574f(0xb0)]>=_0x45866b[_0x32574f(0xb0)]&&_0x145fec[_0x32574f(0xaf)]['startColumn']<=_0x45866b[_0x32574f(0xca)])){const _0x296aca=_0x4a47dd[0x0],_0x3d6fcf=_0x296aca[_0x32574f(0xad)]-_0x145fec[_0x32574f(0xaf)][_0x32574f(0xad)],_0x289269=_0x296aca[_0x32574f(0xb0)]-_0x145fec[_0x32574f(0xaf)][_0x32574f(0xb0)];_0x145fec[_0x32574f(0xa3)]=await _0x3b8186['moveFormulaRefOffset'](_0x145fec[_0x32574f(0xa3)],_0x289269,_0x3d6fcf),_0x145fec[_0x32574f(0xaf)]={'startRow':_0x296aca[_0x32574f(0xad)],'endRow':_0x296aca['startRow'],'startColumn':_0x296aca[_0x32574f(0xb0)],'endColumn':_0x296aca[_0x32574f(0xb0)]};}_0x2b0963[_0x32574f(0xb1)](_0x145fec);}}return _0x2b0963;}async['getFormulaUsagesAsA1'](){const _0x1dc9aa=_0x2d8bc9;return(await this[_0x1dc9aa(0xbf)]())[_0x1dc9aa(0xc0)](_0x5c2b5d[_0x1dc9aa(0xbb)]);}}_0x2588d4['FRange'][_0x2d8bc9(0xc9)](_0x1695bb);}));
1
+ function _0x1d0b(_0x1af822,_0x35e450){_0x1af822=_0x1af822-0x145;const _0x12be16=_0x12be();let _0x1d0bd5=_0x12be16[_0x1af822];return _0x1d0bd5;}(function(_0x74d4b5,_0x731137){const _0x52e668=_0x1d0b,_0x18ee72=_0x74d4b5();while(!![]){try{const _0xe8affa=parseInt(_0x52e668(0x14d))/0x1+-parseInt(_0x52e668(0x163))/0x2*(-parseInt(_0x52e668(0x146))/0x3)+parseInt(_0x52e668(0x161))/0x4+-parseInt(_0x52e668(0x164))/0x5*(parseInt(_0x52e668(0x153))/0x6)+parseInt(_0x52e668(0x14a))/0x7+parseInt(_0x52e668(0x155))/0x8*(parseInt(_0x52e668(0x154))/0x9)+parseInt(_0x52e668(0x173))/0xa*(-parseInt(_0x52e668(0x149))/0xb);if(_0xe8affa===_0x731137)break;else _0x18ee72['push'](_0x18ee72['shift']());}catch(_0x1dac02){_0x18ee72['push'](_0x18ee72['shift']());}}}(_0x12be,0x3320b),function(_0x2d8417,_0x4f0d01){const _0x3265ad=_0x1d0b;typeof exports==_0x3265ad(0x14e)&&typeof module<'u'?_0x4f0d01(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==_0x3265ad(0x15e)&&define['amd']?define(['@univerjs/core/facade',_0x3265ad(0x175),_0x3265ad(0x16a),_0x3265ad(0x147),_0x3265ad(0x148),_0x3265ad(0x177)],_0x4f0d01):(_0x2d8417=typeof globalThis<'u'?globalThis:_0x2d8417||self,_0x4f0d01(_0x2d8417[_0x3265ad(0x166)],_0x2d8417['UniverSheetsFormulaFacade'],_0x2d8417[_0x3265ad(0x159)],_0x2d8417[_0x3265ad(0x14f)],_0x2d8417[_0x3265ad(0x16e)],_0x2d8417[_0x3265ad(0x156)]));}(this,function(_0x1a7fc7,_0x56fe80,_0x142071,_0x275eb9,_0x25196f,_0x44ecfa){'use strict';const _0x2fcaf4=_0x1d0b;class _0x1f4d24 extends _0x1a7fc7[_0x2fcaf4(0x16f)]{async[_0x2fcaf4(0x15d)](){const _0x51e7d4=_0x2fcaf4;return this['getActiveWorkbook']()[_0x51e7d4(0x15d)]();}}_0x1a7fc7[_0x2fcaf4(0x16f)][_0x2fcaf4(0x145)](_0x1f4d24);class _0x5879ee extends _0x275eb9[_0x2fcaf4(0x14c)]{async['getLintErrors'](){const _0x24c50b=_0x2fcaf4,_0x4e01b8=this[_0x24c50b(0x176)](),_0x4a250c=await this[_0x24c50b(0x174)]();return{'formulaErrors':_0x4e01b8,'dataValidationErrors':_0x4a250c};}}_0x275eb9[_0x2fcaf4(0x14c)]['extend'](_0x5879ee);class _0x49ac67 extends _0x275eb9[_0x2fcaf4(0x172)]{async['getFormulaUsages'](){const _0x2de7d4=_0x2fcaf4,_0x327e79=this['_injector'][_0x2de7d4(0x171)](_0x25196f[_0x2de7d4(0x15f)]),_0x4c56a8=this[_0x2de7d4(0x165)](0x0,0x0,this['getMaxRows'](),this[_0x2de7d4(0x15b)]())[_0x2de7d4(0x152)]();return await _0x327e79[_0x2de7d4(0x15c)](_0x4c56a8);}async[_0x2fcaf4(0x158)](){const _0x3bb582=_0x2fcaf4;return(await this['getFormulaUsages']())[_0x3bb582(0x170)](_0x25196f[_0x3bb582(0x178)]);}}_0x275eb9[_0x2fcaf4(0x172)]['extend'](_0x49ac67);class _0x4c5e79 extends _0x275eb9[_0x2fcaf4(0x168)]{async['getFormulaUsages'](){const _0x59a593=_0x2fcaf4,_0x466b88=this[_0x59a593(0x15a)][_0x59a593(0x171)](_0x25196f[_0x59a593(0x15f)]),_0x2df5e2=(({startRow:_0x11f293,endRow:_0x1a69d1,startColumn:_0x2fe16e,endColumn:_0x329e37})=>{const _0x3ce3e9=_0x59a593,_0x18e5bf=[];for(let _0x21705d=_0x11f293;_0x21705d<=_0x1a69d1;_0x21705d++){const _0x3dd65c=[];for(let _0x222ebf=_0x2fe16e;_0x222ebf<=_0x329e37;_0x222ebf++)_0x3dd65c[_0x3ce3e9(0x157)](this[_0x3ce3e9(0x16d)][_0x3ce3e9(0x160)](_0x21705d,_0x222ebf));_0x18e5bf['push'](_0x3dd65c);}return _0x18e5bf;})({'startRow':0x0,'endRow':this[_0x59a593(0x16d)][_0x59a593(0x169)](),'startColumn':0x0,'endColumn':this[_0x59a593(0x16d)][_0x59a593(0x15b)]()}),_0x3b2bae=await _0x466b88[_0x59a593(0x15c)](_0x2df5e2),_0x4a711e=this[_0x59a593(0x165)](),_0x1c2add=[];for(let _0x4513d0=0x0;_0x4513d0<_0x3b2bae[_0x59a593(0x14b)];_0x4513d0++){const _0x4fb678=_0x3b2bae[_0x4513d0],_0x222407=_0x4fb678[_0x59a593(0x167)],_0x1cde55=[];for(let _0x30c6fc=0x0;_0x30c6fc<_0x222407[_0x59a593(0x14b)];_0x30c6fc++){const _0x48888c=_0x222407[_0x30c6fc],_0x36bbfe=_0x44ecfa['getIntersectRange'](_0x48888c,_0x4a711e);_0x36bbfe&&_0x1cde55[_0x59a593(0x157)](_0x36bbfe);}if(_0x1cde55['length']>0x0){if(_0x4fb678[_0x59a593(0x167)]=_0x1cde55,!(_0x4fb678[_0x59a593(0x162)][_0x59a593(0x16c)]>=_0x4a711e[_0x59a593(0x16c)]&&_0x4fb678[_0x59a593(0x162)]['startRow']<=_0x4a711e['endRow']&&_0x4fb678[_0x59a593(0x162)][_0x59a593(0x150)]>=_0x4a711e[_0x59a593(0x150)]&&_0x4fb678[_0x59a593(0x162)][_0x59a593(0x150)]<=_0x4a711e[_0x59a593(0x16b)])){const _0x56fd9e=_0x1cde55[0x0],_0x42a5e2=_0x56fd9e['startRow']-_0x4fb678[_0x59a593(0x162)]['startRow'],_0x598d38=_0x56fd9e[_0x59a593(0x150)]-_0x4fb678[_0x59a593(0x162)][_0x59a593(0x150)];_0x4fb678['formula']=await _0x466b88['moveFormulaRefOffset'](_0x4fb678[_0x59a593(0x151)],_0x598d38,_0x42a5e2),_0x4fb678[_0x59a593(0x162)]={'startRow':_0x56fd9e[_0x59a593(0x16c)],'endRow':_0x56fd9e[_0x59a593(0x16c)],'startColumn':_0x56fd9e[_0x59a593(0x150)],'endColumn':_0x56fd9e['startColumn']};}_0x1c2add[_0x59a593(0x157)](_0x4fb678);}}return _0x1c2add;}async[_0x2fcaf4(0x158)](){const _0x468883=_0x2fcaf4;return(await this['getFormulaUsages']())[_0x468883(0x170)](_0x25196f[_0x468883(0x178)]);}}_0x275eb9['FRange'][_0x2fcaf4(0x145)](_0x4c5e79);}));function _0x12be(){const _0x5b8fca=['@univerjs-pro/sheets-mcp','3179IqUKEt','2901857upQrYu','length','FWorkbook','108233LhRhZm','object','UniverSheetsFacade','startColumn','formula','getCellDataGrid','6unzoSf','9SqqztJ','1892200czGUel','UniverCore','push','getFormulaUsagesAsA1','UniverSheetsDataValidationFacade','_injector','getMaxColumns','getAllFormulaUsages','getLintErrors','function','IFormulaUsageAnalyzer','getCellRaw','381652wtkLqH','firstOccurrence','50esssYx','917005lbSxdj','getRange','UniverCoreFacade','filledRanges','FRange','getMaxRows','@univerjs/sheets-data-validation/facade','endColumn','startRow','_worksheet','UniverProSheetsMcp','FUniver','map','get','FWorksheet','23930RgDJmO','getAllDataValidationErrorAsync','@univerjs/sheets-formula/facade','getAllFormulaError','@univerjs/core','toA1','extend','27561erCZMI','@univerjs/sheets/facade'];_0x12be=function(){return _0x5b8fca;};return _0x12be();}