@univerjs-pro/sheets-mcp 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7

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 _0x17d3(_0x4a5222,_0x28ee77){_0x4a5222=_0x4a5222-0x17f;const _0x50de84=_0x50de();let _0x17d38e=_0x50de84[_0x4a5222];return _0x17d38e;}(function(_0x264396,_0x477a92){const _0x1bff14=_0x17d3,_0x53981b=_0x264396();while(!![]){try{const _0x3b7f31=parseInt(_0x1bff14(0x1ab))/0x1+-parseInt(_0x1bff14(0x195))/0x2*(parseInt(_0x1bff14(0x1a3))/0x3)+parseInt(_0x1bff14(0x1b0))/0x4+parseInt(_0x1bff14(0x19f))/0x5+-parseInt(_0x1bff14(0x1a7))/0x6*(parseInt(_0x1bff14(0x17f))/0x7)+parseInt(_0x1bff14(0x1a1))/0x8+parseInt(_0x1bff14(0x184))/0x9*(-parseInt(_0x1bff14(0x189))/0xa);if(_0x3b7f31===_0x477a92)break;else _0x53981b['push'](_0x53981b['shift']());}catch(_0x388800){_0x53981b['push'](_0x53981b['shift']());}}}(_0x50de,0x43d60),function(_0x587f73,_0x125319){const _0x1841f9=_0x17d3;typeof exports==_0x1841f9(0x194)&&typeof module<'u'?_0x125319(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([_0x1841f9(0x196),_0x1841f9(0x19d),'@univerjs/sheets-data-validation/facade',_0x1841f9(0x18c),'@univerjs-pro/sheets-mcp',_0x1841f9(0x18b)],_0x125319):(_0x587f73=typeof globalThis<'u'?globalThis:_0x587f73||self,_0x125319(_0x587f73[_0x1841f9(0x199)],_0x587f73[_0x1841f9(0x186)],_0x587f73['UniverSheetsDataValidationFacade'],_0x587f73['UniverSheetsFacade'],_0x587f73[_0x1841f9(0x190)],_0x587f73[_0x1841f9(0x187)]));}(this,function(_0x1c970a,_0x56bf0e,_0x12068b,_0x195188,_0x2d2177,_0x39bd89){'use strict';const _0x315272=_0x17d3;class _0x2dd42b extends _0x1c970a['FUniver']{async[_0x315272(0x1a6)](){const _0x144696=_0x315272;return this[_0x144696(0x1af)]()[_0x144696(0x1a6)]();}}_0x1c970a[_0x315272(0x185)][_0x315272(0x180)](_0x2dd42b);class _0x3fe6f6 extends _0x195188[_0x315272(0x19b)]{async[_0x315272(0x1a6)](){const _0x3acc2a=_0x315272,_0x5ec432=this[_0x3acc2a(0x18a)](),_0xa2433d=await this[_0x3acc2a(0x1a4)]();return{'formulaErrors':_0x5ec432,'dataValidationErrors':_0xa2433d};}}_0x195188[_0x315272(0x19b)]['extend'](_0x3fe6f6);class _0x42449f extends _0x195188[_0x315272(0x181)]{async[_0x315272(0x1ad)](){const _0x5e93e5=_0x315272,_0xeeabbf=this[_0x5e93e5(0x183)][_0x5e93e5(0x1a5)](_0x2d2177[_0x5e93e5(0x1a9)]),_0x54edb1=this[_0x5e93e5(0x19c)](0x0,0x0,this[_0x5e93e5(0x1ac)]()+0x1,this[_0x5e93e5(0x1ae)]()+0x1)[_0x5e93e5(0x1aa)]();return await _0xeeabbf[_0x5e93e5(0x18f)](_0x54edb1);}async[_0x315272(0x1a2)](){const _0x259341=_0x315272;return(await this[_0x259341(0x1ad)]())['map'](_0x2d2177[_0x259341(0x197)]);}}_0x195188[_0x315272(0x181)]['extend'](_0x42449f);class _0x30cb1f extends _0x195188['FRange']{async['getFormulaUsages'](){const _0x10941a=_0x315272,_0x5c55b4=this[_0x10941a(0x183)][_0x10941a(0x1a5)](_0x2d2177[_0x10941a(0x1a9)]),_0x191ce1=(({startRow:_0x46e324,endRow:_0x9af2df,startColumn:_0x1030f9,endColumn:_0x507a4d})=>{const _0x5249e2=_0x10941a,_0x13e5ea=[];for(let _0xaedd50=_0x46e324;_0xaedd50<=_0x9af2df;_0xaedd50++){const _0x5f2bdc=[];for(let _0x3d1da5=_0x1030f9;_0x3d1da5<=_0x507a4d;_0x3d1da5++)_0x5f2bdc[_0x5249e2(0x1a0)](this[_0x5249e2(0x182)][_0x5249e2(0x191)](_0xaedd50,_0x3d1da5));_0x13e5ea[_0x5249e2(0x1a0)](_0x5f2bdc);}return _0x13e5ea;})({'startRow':0x0,'endRow':this[_0x10941a(0x182)][_0x10941a(0x1ac)](),'startColumn':0x0,'endColumn':this[_0x10941a(0x182)]['getMaxColumns']()}),_0x512d2f=await _0x5c55b4[_0x10941a(0x18f)](_0x191ce1),_0x56e202=this[_0x10941a(0x19c)](),_0x169248=[];for(let _0x3cdb7a=0x0;_0x3cdb7a<_0x512d2f['length'];_0x3cdb7a++){const _0x515c84=_0x512d2f[_0x3cdb7a],_0x3daf4f=_0x515c84[_0x10941a(0x18e)],_0xc44082=[];for(let _0xf41bb1=0x0;_0xf41bb1<_0x3daf4f[_0x10941a(0x1a8)];_0xf41bb1++){const _0x597e35=_0x3daf4f[_0xf41bb1],_0x1f08ad=_0x39bd89[_0x10941a(0x193)](_0x597e35,_0x56e202);_0x1f08ad&&_0xc44082[_0x10941a(0x1a0)](_0x1f08ad);}if(_0xc44082['length']>0x0){if(_0x515c84[_0x10941a(0x18e)]=_0xc44082,!(_0x515c84['firstOccurrence'][_0x10941a(0x19a)]>=_0x56e202[_0x10941a(0x19a)]&&_0x515c84[_0x10941a(0x188)][_0x10941a(0x19a)]<=_0x56e202['endRow']&&_0x515c84['firstOccurrence'][_0x10941a(0x192)]>=_0x56e202['startColumn']&&_0x515c84['firstOccurrence']['startColumn']<=_0x56e202[_0x10941a(0x19e)])){const _0x43db1f=_0xc44082[0x0],_0x33703a=_0x43db1f[_0x10941a(0x19a)]-_0x515c84[_0x10941a(0x188)]['startRow'],_0x59ac0e=_0x43db1f[_0x10941a(0x192)]-_0x515c84[_0x10941a(0x188)][_0x10941a(0x192)];_0x515c84['formula']=await _0x5c55b4[_0x10941a(0x18d)](_0x515c84['formula'],_0x59ac0e,_0x33703a),_0x515c84[_0x10941a(0x188)]={'startRow':_0x43db1f[_0x10941a(0x19a)],'endRow':_0x43db1f['startRow'],'startColumn':_0x43db1f[_0x10941a(0x192)],'endColumn':_0x43db1f[_0x10941a(0x192)]};}_0x169248[_0x10941a(0x1a0)](_0x515c84);}}return _0x169248;}async[_0x315272(0x1a2)](){const _0x50cee7=_0x315272;return(await this[_0x50cee7(0x1ad)]())['map'](_0x2d2177[_0x50cee7(0x197)]);}}_0x195188[_0x315272(0x198)][_0x315272(0x180)](_0x30cb1f);}));function _0x50de(){const _0x18f1ef=['UniverCoreFacade','startRow','FWorkbook','getRange','@univerjs/sheets-formula/facade','endColumn','1964720naXMRm','push','2062128qvrSLs','getFormulaUsagesAsA1','3jmxMPI','getAllDataValidationErrorAsync','get','getLintErrors','247902pFdckw','length','IFormulaUsageAnalyzer','getCellDataGrid','480855ZbqFYv','getMaxRows','getFormulaUsages','getMaxColumns','getActiveWorkbook','1002208aDnnrx','7SfnpLT','extend','FWorksheet','_worksheet','_injector','153HeeGYB','FUniver','UniverSheetsFormulaFacade','UniverCore','firstOccurrence','551210OfuGrD','getAllFormulaError','@univerjs/core','@univerjs/sheets/facade','moveFormulaRefOffset','filledRanges','getAllFormulaUsages','UniverProSheetsMcp','getCellRaw','startColumn','getIntersectRange','object','251774qfXgmu','@univerjs/core/facade','toA1','FRange'];_0x50de=function(){return _0x18f1ef;};return _0x50de();}
1
+ function _0x4b3b(_0x5d2c50,_0x12be5d){_0x5d2c50=_0x5d2c50-0xb1;const _0x3e1ea7=_0x3e1e();let _0x4b3b3d=_0x3e1ea7[_0x5d2c50];return _0x4b3b3d;}function _0x3e1e(){const _0x2f16d1=['64ZmaZXK','startColumn','465IGfTIF','3239848LypbYe','7OKCZVf','getLintErrors','getCellDataGrid','length','moveFormulaRefOffset','9071XfUHFE','@univerjs/core/facade','getFormulaUsagesAsA1','map','@univerjs-pro/sheets-mcp','439777EDDQTx','firstOccurrence','FWorkbook','formula','9xiLCKJ','_injector','toA1','FRange','_worksheet','endColumn','getMaxColumns','24cYUUOi','object','getMaxRows','filledRanges','8183270NzKGYl','push','@univerjs/sheets-data-validation/facade','endRow','UniverSheetsFormulaFacade','getActiveWorkbook','300hqVFug','UniverProSheetsMcp','FUniver','getFormulaUsages','@univerjs/sheets-formula/facade','extend','UniverSheetsFacade','UniverCoreFacade','getAllFormulaError','startRow','function','858785XTDXOn','getAllDataValidationErrorAsync','1728sqVUhI','IFormulaUsageAnalyzer','getCellRaw','get','FWorksheet','getAllFormulaUsages','UniverCore','6118816aqQlJD','amd'];_0x3e1e=function(){return _0x2f16d1;};return _0x3e1e();}(function(_0x1fe2cf,_0x57516b){const _0x46f941=_0x4b3b,_0x3ec309=_0x1fe2cf();while(!![]){try{const _0x39191d=parseInt(_0x46f941(0xd8))/0x1*(-parseInt(_0x46f941(0xcf))/0x2)+-parseInt(_0x46f941(0xd1))/0x3*(parseInt(_0x46f941(0xc6))/0x4)+-parseInt(_0x46f941(0xc4))/0x5*(-parseInt(_0x46f941(0xe8))/0x6)+-parseInt(_0x46f941(0xd3))/0x7*(parseInt(_0x46f941(0xd2))/0x8)+parseInt(_0x46f941(0xe1))/0x9*(parseInt(_0x46f941(0xb3))/0xa)+parseInt(_0x46f941(0xcd))/0xb+-parseInt(_0x46f941(0xb9))/0xc*(parseInt(_0x46f941(0xdd))/0xd);if(_0x39191d===_0x57516b)break;else _0x3ec309['push'](_0x3ec309['shift']());}catch(_0x2069e9){_0x3ec309['push'](_0x3ec309['shift']());}}}(_0x3e1e,0x6ec29),function(_0x543725,_0x5e247b){const _0x1cd4a8=_0x4b3b;typeof exports==_0x1cd4a8(0xe9)&&typeof module<'u'?_0x5e247b(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==_0x1cd4a8(0xc3)&&define[_0x1cd4a8(0xce)]?define([_0x1cd4a8(0xd9),_0x1cd4a8(0xbd),_0x1cd4a8(0xb5),'@univerjs/sheets/facade',_0x1cd4a8(0xdc),'@univerjs/core'],_0x5e247b):(_0x543725=typeof globalThis<'u'?globalThis:_0x543725||self,_0x5e247b(_0x543725[_0x1cd4a8(0xc0)],_0x543725[_0x1cd4a8(0xb7)],_0x543725['UniverSheetsDataValidationFacade'],_0x543725[_0x1cd4a8(0xbf)],_0x543725[_0x1cd4a8(0xba)],_0x543725[_0x1cd4a8(0xcc)]));}(this,function(_0x5a71f9,_0x469859,_0x555e77,_0x3433f2,_0x2f14df,_0x203b03){'use strict';const _0x4eb8a3=_0x4b3b;class _0x4f8226 extends _0x5a71f9[_0x4eb8a3(0xbb)]{async[_0x4eb8a3(0xd4)](){const _0x529a61=_0x4eb8a3;return this[_0x529a61(0xb8)]()['getLintErrors']();}}_0x5a71f9['FUniver']['extend'](_0x4f8226);class _0x1c1643 extends _0x3433f2[_0x4eb8a3(0xdf)]{async[_0x4eb8a3(0xd4)](){const _0x3b3c24=_0x4eb8a3,_0x411c5d=this[_0x3b3c24(0xc1)](),_0x18c37c=await this[_0x3b3c24(0xc5)]();return{'formulaErrors':_0x411c5d,'dataValidationErrors':_0x18c37c};}}_0x3433f2['FWorkbook'][_0x4eb8a3(0xbe)](_0x1c1643);class _0x2699af extends _0x3433f2['FWorksheet']{async[_0x4eb8a3(0xbc)](){const _0x3a7e49=_0x4eb8a3,_0x3086aa=this[_0x3a7e49(0xe2)]['get'](_0x2f14df[_0x3a7e49(0xc7)]),_0x10c384=this['getRange'](0x0,0x0,this[_0x3a7e49(0xb1)]()+0x1,this['getMaxColumns']()+0x1)[_0x3a7e49(0xd5)]();return await _0x3086aa[_0x3a7e49(0xcb)](_0x10c384);}async['getFormulaUsagesAsA1'](){const _0x4aefeb=_0x4eb8a3;return(await this[_0x4aefeb(0xbc)]())['map'](_0x2f14df[_0x4aefeb(0xe3)]);}}_0x3433f2[_0x4eb8a3(0xca)][_0x4eb8a3(0xbe)](_0x2699af);class _0x111dd4 extends _0x3433f2[_0x4eb8a3(0xe4)]{async[_0x4eb8a3(0xbc)](){const _0x14bb28=_0x4eb8a3,_0x7ff008=this['_injector'][_0x14bb28(0xc9)](_0x2f14df[_0x14bb28(0xc7)]),_0x5c8538=(({startRow:_0x4840ba,endRow:_0x2d527e,startColumn:_0x387a33,endColumn:_0x266dee})=>{const _0x21b0c4=_0x14bb28,_0x1c4d17=[];for(let _0x9e192b=_0x4840ba;_0x9e192b<=_0x2d527e;_0x9e192b++){const _0x17f5ec=[];for(let _0x35a8d0=_0x387a33;_0x35a8d0<=_0x266dee;_0x35a8d0++)_0x17f5ec[_0x21b0c4(0xb4)](this[_0x21b0c4(0xe5)][_0x21b0c4(0xc8)](_0x9e192b,_0x35a8d0));_0x1c4d17[_0x21b0c4(0xb4)](_0x17f5ec);}return _0x1c4d17;})({'startRow':0x0,'endRow':this[_0x14bb28(0xe5)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x14bb28(0xe7)]()}),_0x26f46c=await _0x7ff008[_0x14bb28(0xcb)](_0x5c8538),_0x18c3d4=this['getRange'](),_0x470319=[];for(let _0x424057=0x0;_0x424057<_0x26f46c[_0x14bb28(0xd6)];_0x424057++){const _0x362139=_0x26f46c[_0x424057],_0x4a48d1=_0x362139['filledRanges'],_0x53c5f6=[];for(let _0x40ec72=0x0;_0x40ec72<_0x4a48d1[_0x14bb28(0xd6)];_0x40ec72++){const _0x442821=_0x4a48d1[_0x40ec72],_0x19a200=_0x203b03['getIntersectRange'](_0x442821,_0x18c3d4);_0x19a200&&_0x53c5f6['push'](_0x19a200);}if(_0x53c5f6[_0x14bb28(0xd6)]>0x0){if(_0x362139[_0x14bb28(0xb2)]=_0x53c5f6,!(_0x362139[_0x14bb28(0xde)]['startRow']>=_0x18c3d4[_0x14bb28(0xc2)]&&_0x362139[_0x14bb28(0xde)][_0x14bb28(0xc2)]<=_0x18c3d4[_0x14bb28(0xb6)]&&_0x362139[_0x14bb28(0xde)][_0x14bb28(0xd0)]>=_0x18c3d4[_0x14bb28(0xd0)]&&_0x362139['firstOccurrence'][_0x14bb28(0xd0)]<=_0x18c3d4[_0x14bb28(0xe6)])){const _0x173c28=_0x53c5f6[0x0],_0x7c5f08=_0x173c28[_0x14bb28(0xc2)]-_0x362139[_0x14bb28(0xde)][_0x14bb28(0xc2)],_0x3bcecb=_0x173c28[_0x14bb28(0xd0)]-_0x362139['firstOccurrence'][_0x14bb28(0xd0)];_0x362139['formula']=await _0x7ff008[_0x14bb28(0xd7)](_0x362139[_0x14bb28(0xe0)],_0x3bcecb,_0x7c5f08),_0x362139[_0x14bb28(0xde)]={'startRow':_0x173c28[_0x14bb28(0xc2)],'endRow':_0x173c28[_0x14bb28(0xc2)],'startColumn':_0x173c28[_0x14bb28(0xd0)],'endColumn':_0x173c28[_0x14bb28(0xd0)]};}_0x470319[_0x14bb28(0xb4)](_0x362139);}}return _0x470319;}async[_0x4eb8a3(0xda)](){const _0x54e3cd=_0x4eb8a3;return(await this['getFormulaUsages']())[_0x54e3cd(0xdb)](_0x2f14df[_0x54e3cd(0xe3)]);}}_0x3433f2[_0x4eb8a3(0xe4)]['extend'](_0x111dd4);}));