@univerjs-pro/sheets-mcp 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-29c379a

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 _0x3fef(_0x27fbe6,_0x407d40){_0x27fbe6=_0x27fbe6-0xab;const _0x5bd2b9=_0x5bd2();let _0x3fef4b=_0x5bd2b9[_0x27fbe6];return _0x3fef4b;}function _0x5bd2(){const _0x171cc1=['moveFormulaRefOffset','map','object','getAllFormulaUsages','3013110VCubPJ','817lHKxxW','amd','77kjbXHP','getRange','2926aaxniz','getCellRaw','@univerjs/core','UniverSheetsFormulaFacade','UniverCore','getMaxColumns','UniverSheetsDataValidationFacade','getFormulaUsagesAsA1','1626777TdyjFo','@univerjs/sheets-formula/facade','514364tWVUSY','81168GQFpax','length','toA1','getMaxRows','FRange','startRow','FUniver','UniverSheetsFacade','FWorksheet','getActiveWorkbook','getAllFormulaError','10IGUyoT','_injector','getFormulaUsages','40MqmctU','function','getLintErrors','startColumn','3009300NGloNf','@univerjs/sheets-data-validation/facade','push','formula','FWorkbook','filledRanges','_worksheet','14hwqqXt','IFormulaUsageAnalyzer','extend','1576026UHPpoh'];_0x5bd2=function(){return _0x171cc1;};return _0x5bd2();}(function(_0x3724c9,_0x6800b4){const _0x4c613c=_0x3fef,_0x5cc86e=_0x3724c9();while(!![]){try{const _0x215a1a=-parseInt(_0x4c613c(0xcf))/0x1*(parseInt(_0x4c613c(0xd3))/0x2)+parseInt(_0x4c613c(0xdb))/0x3+parseInt(_0x4c613c(0xac))/0x4*(-parseInt(_0x4c613c(0xbb))/0x5)+parseInt(_0x4c613c(0xce))/0x6*(parseInt(_0x4c613c(0xc6))/0x7)+-parseInt(_0x4c613c(0xad))/0x8+parseInt(_0x4c613c(0xc9))/0x9*(-parseInt(_0x4c613c(0xb8))/0xa)+-parseInt(_0x4c613c(0xd1))/0xb*(-parseInt(_0x4c613c(0xbf))/0xc);if(_0x215a1a===_0x6800b4)break;else _0x5cc86e['push'](_0x5cc86e['shift']());}catch(_0x46160b){_0x5cc86e['push'](_0x5cc86e['shift']());}}}(_0x5bd2,0xd9f7b),function(_0x4a54de,_0x4f6c41){const _0x584ce4=_0x3fef;typeof exports==_0x584ce4(0xcc)&&typeof module<'u'?_0x4f6c41(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==_0x584ce4(0xbc)&&define[_0x584ce4(0xd0)]?define(['@univerjs/core/facade',_0x584ce4(0xab),_0x584ce4(0xc0),'@univerjs/sheets/facade','@univerjs-pro/sheets-mcp',_0x584ce4(0xd5)],_0x4f6c41):(_0x4a54de=typeof globalThis<'u'?globalThis:_0x4a54de||self,_0x4f6c41(_0x4a54de['UniverCoreFacade'],_0x4a54de[_0x584ce4(0xd6)],_0x4a54de[_0x584ce4(0xd9)],_0x4a54de[_0x584ce4(0xb4)],_0x4a54de['UniverProSheetsMcp'],_0x4a54de[_0x584ce4(0xd7)]));}(this,function(_0x4815d0,_0x3ced2c,_0x564bef,_0xb53926,_0x3d07e5,_0x3b31a8){'use strict';const _0x5644d2=_0x3fef;class _0x2e6337 extends _0x4815d0[_0x5644d2(0xb3)]{async['getLintErrors'](){const _0x28f04f=_0x5644d2;return this[_0x28f04f(0xb6)]()[_0x28f04f(0xbd)]();}}_0x4815d0[_0x5644d2(0xb3)][_0x5644d2(0xc8)](_0x2e6337);class _0x3dfebf extends _0xb53926[_0x5644d2(0xc3)]{async['getLintErrors'](){const _0x2906fc=_0x5644d2,_0x28c0df=this[_0x2906fc(0xb7)](),_0x40a7be=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x28c0df,'dataValidationErrors':_0x40a7be};}}_0xb53926[_0x5644d2(0xc3)][_0x5644d2(0xc8)](_0x3dfebf);class _0x173e4b extends _0xb53926[_0x5644d2(0xb5)]{async['getFormulaUsages'](){const _0x5ba652=_0x5644d2,_0x142f85=this[_0x5ba652(0xb9)]['get'](_0x3d07e5[_0x5ba652(0xc7)]),_0x272ab4=this[_0x5ba652(0xd2)](0x0,0x0,this[_0x5ba652(0xb0)]()+0x1,this[_0x5ba652(0xd8)]()+0x1)['getCellDataGrid']();return await _0x142f85[_0x5ba652(0xcd)](_0x272ab4);}async[_0x5644d2(0xda)](){const _0x11c299=_0x5644d2;return(await this[_0x11c299(0xba)]())['map'](_0x3d07e5['toA1']);}}_0xb53926[_0x5644d2(0xb5)][_0x5644d2(0xc8)](_0x173e4b);class _0x40cdbb extends _0xb53926[_0x5644d2(0xb1)]{async[_0x5644d2(0xba)](){const _0x46d175=_0x5644d2,_0x1c5a10=this[_0x46d175(0xb9)]['get'](_0x3d07e5[_0x46d175(0xc7)]),_0x3b29f8=(({startRow:_0x3f568f,endRow:_0x1e4bc0,startColumn:_0x47099b,endColumn:_0x2bbfa5})=>{const _0x15cea9=_0x46d175,_0x28493d=[];for(let _0x4f1031=_0x3f568f;_0x4f1031<=_0x1e4bc0;_0x4f1031++){const _0x5d00c5=[];for(let _0x4988d7=_0x47099b;_0x4988d7<=_0x2bbfa5;_0x4988d7++)_0x5d00c5[_0x15cea9(0xc1)](this[_0x15cea9(0xc5)][_0x15cea9(0xd4)](_0x4f1031,_0x4988d7));_0x28493d[_0x15cea9(0xc1)](_0x5d00c5);}return _0x28493d;})({'startRow':0x0,'endRow':this['_worksheet'][_0x46d175(0xb0)](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x57ede4=await _0x1c5a10['getAllFormulaUsages'](_0x3b29f8),_0x22cc26=this[_0x46d175(0xd2)](),_0x4450fb=[];for(let _0x45fdcb=0x0;_0x45fdcb<_0x57ede4['length'];_0x45fdcb++){const _0x1308f2=_0x57ede4[_0x45fdcb],_0x818af=_0x1308f2[_0x46d175(0xc4)],_0x474527=[];for(let _0x383e7e=0x0;_0x383e7e<_0x818af[_0x46d175(0xae)];_0x383e7e++){const _0xd2762a=_0x818af[_0x383e7e],_0x577d9a=_0x3b31a8['getIntersectRange'](_0xd2762a,_0x22cc26);_0x577d9a&&_0x474527[_0x46d175(0xc1)](_0x577d9a);}if(_0x474527[_0x46d175(0xae)]>0x0){_0x1308f2['filledRanges']=_0x474527;const _0x21ece3=_0x474527[0x0],_0x48e84a=_0x21ece3[_0x46d175(0xb2)]-_0x22cc26['startRow'],_0x339a03=_0x21ece3['startColumn']-_0x22cc26[_0x46d175(0xbe)];_0x1308f2[_0x46d175(0xc2)]=await _0x1c5a10[_0x46d175(0xca)](_0x1308f2[_0x46d175(0xc2)],_0x48e84a,_0x339a03),_0x4450fb[_0x46d175(0xc1)](_0x1308f2);}}return _0x4450fb;}async[_0x5644d2(0xda)](){const _0x171f3e=_0x5644d2;return(await this[_0x171f3e(0xba)]())[_0x171f3e(0xcb)](_0x3d07e5[_0x171f3e(0xaf)]);}}_0xb53926[_0x5644d2(0xb1)][_0x5644d2(0xc8)](_0x40cdbb);}));
1
+ function _0x2fb9(_0x5ce77a,_0xb32dd){_0x5ce77a=_0x5ce77a-0x137;const _0x1ddb3e=_0x1ddb();let _0x2fb975=_0x1ddb3e[_0x5ce77a];return _0x2fb975;}function _0x1ddb(){const _0x1e42d4=['IFormulaUsageAnalyzer','UniverSheetsDataValidationFacade','FUniver','38mBwzeq','getAllDataValidationErrorAsync','5379420hzoIZG','filledRanges','15IczDzj','25212FqUHUW','startColumn','getIntersectRange','376300CunVVL','1326924YAulWB','formula','UniverProSheetsMcp','292755qmaVPz','@univerjs/sheets/facade','@univerjs-pro/sheets-mcp','_worksheet','getRange','getLintErrors','startRow','getActiveWorkbook','978sSmPrm','getFormulaUsages','map','_injector','getFormulaUsagesAsA1','extend','@univerjs/sheets-formula/facade','756456FYHrTH','UniverCoreFacade','FWorksheet','getAllFormulaUsages','object','@univerjs/core','10171uBxmft','get','push','FWorkbook','@univerjs/core/facade','getMaxColumns','getCellRaw','toA1','getMaxRows'];_0x1ddb=function(){return _0x1e42d4;};return _0x1ddb();}(function(_0x4468da,_0x2bc4b1){const _0x38b295=_0x2fb9,_0x17dcdf=_0x4468da();while(!![]){try{const _0x185519=-parseInt(_0x38b295(0x15d))/0x1+parseInt(_0x38b295(0x151))/0x2*(parseInt(_0x38b295(0x156))/0x3)+-parseInt(_0x38b295(0x159))/0x4*(-parseInt(_0x38b295(0x155))/0x5)+parseInt(_0x38b295(0x138))/0x6*(-parseInt(_0x38b295(0x145))/0x7)+-parseInt(_0x38b295(0x13f))/0x8+-parseInt(_0x38b295(0x15a))/0x9+parseInt(_0x38b295(0x153))/0xa;if(_0x185519===_0x2bc4b1)break;else _0x17dcdf['push'](_0x17dcdf['shift']());}catch(_0x456f15){_0x17dcdf['push'](_0x17dcdf['shift']());}}}(_0x1ddb,0x32d80),function(_0x5f5891,_0x1e81c4){const _0x23299f=_0x2fb9;typeof exports==_0x23299f(0x143)&&typeof module<'u'?_0x1e81c4(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=='function'&&define['amd']?define([_0x23299f(0x149),_0x23299f(0x13e),'@univerjs/sheets-data-validation/facade',_0x23299f(0x15e),_0x23299f(0x15f),_0x23299f(0x144)],_0x1e81c4):(_0x5f5891=typeof globalThis<'u'?globalThis:_0x5f5891||self,_0x1e81c4(_0x5f5891[_0x23299f(0x140)],_0x5f5891['UniverSheetsFormulaFacade'],_0x5f5891[_0x23299f(0x14f)],_0x5f5891['UniverSheetsFacade'],_0x5f5891[_0x23299f(0x15c)],_0x5f5891['UniverCore']));}(this,function(_0xb1ddf0,_0x36096f,_0x53a757,_0x501d65,_0x285aac,_0x10e029){'use strict';const _0x585b30=_0x2fb9;class _0x14a089 extends _0xb1ddf0[_0x585b30(0x150)]{async[_0x585b30(0x162)](){const _0x5a195b=_0x585b30;return this[_0x5a195b(0x137)]()[_0x5a195b(0x162)]();}}_0xb1ddf0[_0x585b30(0x150)]['extend'](_0x14a089);class _0x2ede3d extends _0x501d65[_0x585b30(0x148)]{async['getLintErrors'](){const _0x2f2318=_0x585b30,_0x17d515=this['getAllFormulaError'](),_0x4811a0=await this[_0x2f2318(0x152)]();return{'formulaErrors':_0x17d515,'dataValidationErrors':_0x4811a0};}}_0x501d65[_0x585b30(0x148)][_0x585b30(0x13d)](_0x2ede3d);class _0xb6b0b3 extends _0x501d65[_0x585b30(0x141)]{async['getFormulaUsages'](){const _0x2a1e2c=_0x585b30,_0x2df0df=this['_injector']['get'](_0x285aac[_0x2a1e2c(0x14e)]),_0x57d7f6=this[_0x2a1e2c(0x161)](0x0,0x0,this[_0x2a1e2c(0x14d)]()+0x1,this[_0x2a1e2c(0x14a)]()+0x1)['getCellDataGrid']();return await _0x2df0df[_0x2a1e2c(0x142)](_0x57d7f6);}async[_0x585b30(0x13c)](){const _0x114d97=_0x585b30;return(await this['getFormulaUsages']())[_0x114d97(0x13a)](_0x285aac[_0x114d97(0x14c)]);}}_0x501d65[_0x585b30(0x141)][_0x585b30(0x13d)](_0xb6b0b3);class _0x41558a extends _0x501d65['FRange']{async[_0x585b30(0x139)](){const _0x20d966=_0x585b30,_0x1ba317=this[_0x20d966(0x13b)][_0x20d966(0x146)](_0x285aac[_0x20d966(0x14e)]),_0x4316ac=(({startRow:_0x54a85e,endRow:_0x1fd3d3,startColumn:_0x3fc308,endColumn:_0x866443})=>{const _0x2d6452=_0x20d966,_0x30ac0e=[];for(let _0x10a5dc=_0x54a85e;_0x10a5dc<=_0x1fd3d3;_0x10a5dc++){const _0x2daf64=[];for(let _0x3bf1da=_0x3fc308;_0x3bf1da<=_0x866443;_0x3bf1da++)_0x2daf64[_0x2d6452(0x147)](this['_worksheet'][_0x2d6452(0x14b)](_0x10a5dc,_0x3bf1da));_0x30ac0e[_0x2d6452(0x147)](_0x2daf64);}return _0x30ac0e;})({'startRow':0x0,'endRow':this[_0x20d966(0x160)][_0x20d966(0x14d)](),'startColumn':0x0,'endColumn':this[_0x20d966(0x160)][_0x20d966(0x14a)]()}),_0xda3c67=await _0x1ba317[_0x20d966(0x142)](_0x4316ac),_0x3d4b01=this['getRange'](),_0x163221=[];for(let _0x1293c5=0x0;_0x1293c5<_0xda3c67['length'];_0x1293c5++){const _0x5c4687=_0xda3c67[_0x1293c5],_0x182eac=_0x5c4687['filledRanges'],_0x5fc212=[];for(let _0x84a573=0x0;_0x84a573<_0x182eac['length'];_0x84a573++){const _0x3166ab=_0x182eac[_0x84a573],_0xb8a251=_0x10e029[_0x20d966(0x158)](_0x3166ab,_0x3d4b01);_0xb8a251&&_0x5fc212[_0x20d966(0x147)](_0xb8a251);}if(_0x5fc212['length']>0x0){_0x5c4687[_0x20d966(0x154)]=_0x5fc212;const _0x2e289c=_0x5fc212[0x0],_0x460a60=_0x2e289c[_0x20d966(0x163)]-_0x3d4b01[_0x20d966(0x163)],_0x5fedb3=_0x2e289c[_0x20d966(0x157)]-_0x3d4b01[_0x20d966(0x157)];_0x5c4687[_0x20d966(0x15b)]=await _0x1ba317['moveFormulaRefOffset'](_0x5c4687['formula'],_0x460a60,_0x5fedb3),_0x163221[_0x20d966(0x147)](_0x5c4687);}}return _0x163221;}async[_0x585b30(0x13c)](){const _0x10e3f4=_0x585b30;return(await this[_0x10e3f4(0x139)]())[_0x10e3f4(0x13a)](_0x285aac[_0x10e3f4(0x14c)]);}}_0x501d65['FRange'][_0x585b30(0x13d)](_0x41558a);}));