@univerjs-pro/sheets-mcp 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251223-857805c

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 _0x207f(){const _0x2be225=['UniverCoreFacade','@univerjs/sheets/facade','@univerjs/sheets-formula/facade','956474hEPNiK','@univerjs/core/facade','3769371VEktkS','formula','4kKLASv','getRange','1655171nElwtc','UniverSheetsFacade','getCellRaw','@univerjs/sheets-data-validation/facade','amd','map','1244360NXmtpV','endRow','UniverSheetsFormulaFacade','IFormulaUsageAnalyzer','FWorkbook','getFormulaUsages','getAllFormulaUsages','moveFormulaRefOffset','length','toA1','firstOccurrence','FRange','UniverCore','getAllDataValidationErrorAsync','startRow','_injector','object','getActiveWorkbook','getIntersectRange','1PesvLj','getLintErrors','1510315tWJPbs','filledRanges','_worksheet','738723qmTvIV','UniverSheetsDataValidationFacade','UniverProSheetsMcp','push','startColumn','getMaxRows','1831482ezYARD','getMaxColumns','FUniver','get','getFormulaUsagesAsA1','@univerjs-pro/sheets-mcp','extend','getCellDataGrid'];_0x207f=function(){return _0x2be225;};return _0x207f();}function _0x5ced(_0xec69c8,_0xeea6bb){_0xec69c8=_0xec69c8-0xad;const _0x207fa5=_0x207f();let _0x5ced0b=_0x207fa5[_0xec69c8];return _0x5ced0b;}(function(_0x2ba7ca,_0x221f4a){const _0x36cd8b=_0x5ced,_0x32b132=_0x2ba7ca();while(!![]){try{const _0x23e348=parseInt(_0x36cd8b(0xdd))/0x1*(parseInt(_0x36cd8b(0xbe))/0x2)+-parseInt(_0x36cd8b(0xad))/0x3+-parseInt(_0x36cd8b(0xc2))/0x4*(parseInt(_0x36cd8b(0xdf))/0x5)+parseInt(_0x36cd8b(0xb3))/0x6+-parseInt(_0x36cd8b(0xc4))/0x7+-parseInt(_0x36cd8b(0xca))/0x8+parseInt(_0x36cd8b(0xc0))/0x9;if(_0x23e348===_0x221f4a)break;else _0x32b132['push'](_0x32b132['shift']());}catch(_0x2965d2){_0x32b132['push'](_0x32b132['shift']());}}}(_0x207f,0x3ff71),function(_0x51f0b4,_0x59bb7b){const _0x48da80=_0x5ced;typeof exports==_0x48da80(0xda)&&typeof module<'u'?_0x59bb7b(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[_0x48da80(0xc8)]?define([_0x48da80(0xbf),_0x48da80(0xbd),_0x48da80(0xc7),_0x48da80(0xbc),_0x48da80(0xb8),'@univerjs/core'],_0x59bb7b):(_0x51f0b4=typeof globalThis<'u'?globalThis:_0x51f0b4||self,_0x59bb7b(_0x51f0b4[_0x48da80(0xbb)],_0x51f0b4[_0x48da80(0xcc)],_0x51f0b4[_0x48da80(0xae)],_0x51f0b4[_0x48da80(0xc5)],_0x51f0b4[_0x48da80(0xaf)],_0x51f0b4[_0x48da80(0xd6)]));}(this,function(_0x1c66cb,_0x522d3c,_0x531813,_0x1a49db,_0x5d49c9,_0x14bfdb){'use strict';const _0x3ee978=_0x5ced;class _0x5cb76c extends _0x1c66cb[_0x3ee978(0xb5)]{async[_0x3ee978(0xde)](){const _0x5ac698=_0x3ee978;return this[_0x5ac698(0xdb)]()[_0x5ac698(0xde)]();}}_0x1c66cb[_0x3ee978(0xb5)][_0x3ee978(0xb9)](_0x5cb76c);class _0x11547e extends _0x1a49db['FWorkbook']{async[_0x3ee978(0xde)](){const _0x17d6b8=_0x3ee978,_0x50c86a=this['getAllFormulaError'](),_0x1b5fc4=await this[_0x17d6b8(0xd7)]();return{'formulaErrors':_0x50c86a,'dataValidationErrors':_0x1b5fc4};}}_0x1a49db[_0x3ee978(0xce)][_0x3ee978(0xb9)](_0x11547e);class _0x4297fb extends _0x1a49db['FWorksheet']{async[_0x3ee978(0xcf)](){const _0x3ea876=_0x3ee978,_0x207a44=this[_0x3ea876(0xd9)]['get'](_0x5d49c9[_0x3ea876(0xcd)]),_0x20c04b=this['getRange'](0x0,0x0,this['getMaxRows'](),this[_0x3ea876(0xb4)]())[_0x3ea876(0xba)]();return await _0x207a44['getAllFormulaUsages'](_0x20c04b);}async[_0x3ee978(0xb7)](){const _0x5728c5=_0x3ee978;return(await this[_0x5728c5(0xcf)]())[_0x5728c5(0xc9)](_0x5d49c9[_0x5728c5(0xd3)]);}}_0x1a49db['FWorksheet'][_0x3ee978(0xb9)](_0x4297fb);class _0x55478f extends _0x1a49db[_0x3ee978(0xd5)]{async['getFormulaUsages'](){const _0x45b1d9=_0x3ee978,_0x26ba59=this[_0x45b1d9(0xd9)][_0x45b1d9(0xb6)](_0x5d49c9[_0x45b1d9(0xcd)]),_0xd7fe04=(({startRow:_0x5cfcca,endRow:_0x375963,startColumn:_0x3c6310,endColumn:_0x221c35})=>{const _0x45f5e4=_0x45b1d9,_0x3457d5=[];for(let _0x2da0a9=_0x5cfcca;_0x2da0a9<=_0x375963;_0x2da0a9++){const _0x1f547b=[];for(let _0x5d1b25=_0x3c6310;_0x5d1b25<=_0x221c35;_0x5d1b25++)_0x1f547b['push'](this[_0x45f5e4(0xe1)][_0x45f5e4(0xc6)](_0x2da0a9,_0x5d1b25));_0x3457d5[_0x45f5e4(0xb0)](_0x1f547b);}return _0x3457d5;})({'startRow':0x0,'endRow':this[_0x45b1d9(0xe1)][_0x45b1d9(0xb2)](),'startColumn':0x0,'endColumn':this[_0x45b1d9(0xe1)][_0x45b1d9(0xb4)]()}),_0x290c23=await _0x26ba59[_0x45b1d9(0xd0)](_0xd7fe04),_0x581fde=this[_0x45b1d9(0xc3)](),_0x3e5a62=[];for(let _0x2a9f48=0x0;_0x2a9f48<_0x290c23[_0x45b1d9(0xd2)];_0x2a9f48++){const _0x11f991=_0x290c23[_0x2a9f48],_0x5bf952=_0x11f991[_0x45b1d9(0xe0)],_0x107e32=[];for(let _0x33ab08=0x0;_0x33ab08<_0x5bf952['length'];_0x33ab08++){const _0x1343d7=_0x5bf952[_0x33ab08],_0x37ebc8=_0x14bfdb[_0x45b1d9(0xdc)](_0x1343d7,_0x581fde);_0x37ebc8&&_0x107e32[_0x45b1d9(0xb0)](_0x37ebc8);}if(_0x107e32[_0x45b1d9(0xd2)]>0x0){if(_0x11f991[_0x45b1d9(0xe0)]=_0x107e32,!(_0x11f991[_0x45b1d9(0xd4)][_0x45b1d9(0xd8)]>=_0x581fde[_0x45b1d9(0xd8)]&&_0x11f991['firstOccurrence'][_0x45b1d9(0xd8)]<=_0x581fde[_0x45b1d9(0xcb)]&&_0x11f991['firstOccurrence'][_0x45b1d9(0xb1)]>=_0x581fde['startColumn']&&_0x11f991[_0x45b1d9(0xd4)]['startColumn']<=_0x581fde['endColumn'])){const _0x5641ee=_0x107e32[0x0],_0x130989=_0x5641ee['startRow']-_0x11f991['firstOccurrence'][_0x45b1d9(0xd8)],_0x1ad704=_0x5641ee[_0x45b1d9(0xb1)]-_0x11f991[_0x45b1d9(0xd4)][_0x45b1d9(0xb1)];_0x11f991['formula']=await _0x26ba59[_0x45b1d9(0xd1)](_0x11f991[_0x45b1d9(0xc1)],_0x1ad704,_0x130989),_0x11f991[_0x45b1d9(0xd4)]={'startRow':_0x5641ee[_0x45b1d9(0xd8)],'endRow':_0x5641ee[_0x45b1d9(0xd8)],'startColumn':_0x5641ee[_0x45b1d9(0xb1)],'endColumn':_0x5641ee[_0x45b1d9(0xb1)]};}_0x3e5a62[_0x45b1d9(0xb0)](_0x11f991);}}return _0x3e5a62;}async[_0x3ee978(0xb7)](){const _0x539f80=_0x3ee978;return(await this[_0x539f80(0xcf)]())['map'](_0x5d49c9[_0x539f80(0xd3)]);}}_0x1a49db[_0x3ee978(0xd5)][_0x3ee978(0xb9)](_0x55478f);}));
1
+ function _0x1d31(_0x389532,_0x195ba){_0x389532=_0x389532-0x69;const _0x60f630=_0x60f6();let _0x1d31c0=_0x60f630[_0x389532];return _0x1d31c0;}function _0x60f6(){const _0x9de9e2=['getMaxRows','filledRanges','697644OPBfby','map','@univerjs/sheets/facade','getCellRaw','firstOccurrence','FRange','push','@univerjs/core/facade','getFormulaUsages','getIntersectRange','FWorkbook','@univerjs/sheets-formula/facade','@univerjs/sheets-data-validation/facade','extend','getAllFormulaError','startColumn','_worksheet','@univerjs-pro/sheets-mcp','34361160TBFIQB','45gKAZjS','UniverCoreFacade','116060uUvhHm','endColumn','getCellDataGrid','1610751Uunzqv','getAllDataValidationErrorAsync','1223098bsbkwq','UniverSheetsDataValidationFacade','getFormulaUsagesAsA1','1397000VWjKFD','450laERAe','get','UniverSheetsFormulaFacade','UniverCore','startRow','formula','1019990tgwMIR','length','getAllFormulaUsages','UniverProSheetsMcp','getActiveWorkbook','FWorksheet','getLintErrors','FUniver','IFormulaUsageAnalyzer','object','getRange','4BwWxwG','toA1','endRow','UniverSheetsFacade','getMaxColumns'];_0x60f6=function(){return _0x9de9e2;};return _0x60f6();}(function(_0x4559aa,_0x447ca9){const _0x20712a=_0x1d31,_0x5df129=_0x4559aa();while(!![]){try{const _0x4215cc=parseInt(_0x20712a(0x7a))/0x1+-parseInt(_0x20712a(0x94))/0x2+-parseInt(_0x20712a(0x92))/0x3+-parseInt(_0x20712a(0x73))/0x4*(parseInt(_0x20712a(0x9e))/0x5)+parseInt(_0x20712a(0x98))/0x6*(-parseInt(_0x20712a(0x8f))/0x7)+parseInt(_0x20712a(0x97))/0x8*(-parseInt(_0x20712a(0x8d))/0x9)+parseInt(_0x20712a(0x8c))/0xa;if(_0x4215cc===_0x447ca9)break;else _0x5df129['push'](_0x5df129['shift']());}catch(_0x482406){_0x5df129['push'](_0x5df129['shift']());}}}(_0x60f6,0xa245f),function(_0x5038e1,_0x38bd7f){const _0x2bc2e4=_0x1d31;typeof exports==_0x2bc2e4(0x71)&&typeof module<'u'?_0x38bd7f(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([_0x2bc2e4(0x81),_0x2bc2e4(0x85),_0x2bc2e4(0x86),_0x2bc2e4(0x7c),_0x2bc2e4(0x8b),'@univerjs/core'],_0x38bd7f):(_0x5038e1=typeof globalThis<'u'?globalThis:_0x5038e1||self,_0x38bd7f(_0x5038e1[_0x2bc2e4(0x8e)],_0x5038e1[_0x2bc2e4(0x9a)],_0x5038e1[_0x2bc2e4(0x95)],_0x5038e1[_0x2bc2e4(0x76)],_0x5038e1[_0x2bc2e4(0x6b)],_0x5038e1[_0x2bc2e4(0x9b)]));}(this,function(_0x37c869,_0x8bc6cd,_0x37d5b5,_0x356730,_0x1ea3e0,_0x27dafa){'use strict';const _0x50ff65=_0x1d31;class _0x169175 extends _0x37c869['FUniver']{async[_0x50ff65(0x6e)](){const _0x14eeb4=_0x50ff65;return this[_0x14eeb4(0x6c)]()['getLintErrors']();}}_0x37c869[_0x50ff65(0x6f)][_0x50ff65(0x87)](_0x169175);class _0x356e71 extends _0x356730[_0x50ff65(0x84)]{async[_0x50ff65(0x6e)](){const _0x3ed790=_0x50ff65,_0x386157=this[_0x3ed790(0x88)](),_0x33e555=await this[_0x3ed790(0x93)]();return{'formulaErrors':_0x386157,'dataValidationErrors':_0x33e555};}}_0x356730['FWorkbook'][_0x50ff65(0x87)](_0x356e71);class _0x5ceace extends _0x356730[_0x50ff65(0x6d)]{async['getFormulaUsages'](){const _0x14dada=_0x50ff65,_0x439bbc=this['_injector']['get'](_0x1ea3e0['IFormulaUsageAnalyzer']),_0x25ff78=this[_0x14dada(0x72)](0x0,0x0,this['getMaxRows']()+0x1,this['getMaxColumns']()+0x1)[_0x14dada(0x91)]();return await _0x439bbc[_0x14dada(0x6a)](_0x25ff78);}async['getFormulaUsagesAsA1'](){const _0x8f6ef1=_0x50ff65;return(await this['getFormulaUsages']())[_0x8f6ef1(0x7b)](_0x1ea3e0['toA1']);}}_0x356730[_0x50ff65(0x6d)][_0x50ff65(0x87)](_0x5ceace);class _0x309584 extends _0x356730[_0x50ff65(0x7f)]{async[_0x50ff65(0x82)](){const _0x4ed446=_0x50ff65,_0x463c0c=this['_injector'][_0x4ed446(0x99)](_0x1ea3e0[_0x4ed446(0x70)]),_0x3a4637=(({startRow:_0x4c8f08,endRow:_0x3fdf92,startColumn:_0x5968bb,endColumn:_0x1ca831})=>{const _0x2f9608=_0x4ed446,_0x5e3039=[];for(let _0x29966d=_0x4c8f08;_0x29966d<=_0x3fdf92;_0x29966d++){const _0x15be1e=[];for(let _0x2eee4e=_0x5968bb;_0x2eee4e<=_0x1ca831;_0x2eee4e++)_0x15be1e['push'](this[_0x2f9608(0x8a)][_0x2f9608(0x7d)](_0x29966d,_0x2eee4e));_0x5e3039[_0x2f9608(0x80)](_0x15be1e);}return _0x5e3039;})({'startRow':0x0,'endRow':this[_0x4ed446(0x8a)][_0x4ed446(0x78)](),'startColumn':0x0,'endColumn':this[_0x4ed446(0x8a)][_0x4ed446(0x77)]()}),_0x3ab188=await _0x463c0c[_0x4ed446(0x6a)](_0x3a4637),_0x491cd5=this['getRange'](),_0x495367=[];for(let _0x25630c=0x0;_0x25630c<_0x3ab188['length'];_0x25630c++){const _0x40ec7e=_0x3ab188[_0x25630c],_0x334284=_0x40ec7e[_0x4ed446(0x79)],_0x2d947d=[];for(let _0x1be653=0x0;_0x1be653<_0x334284[_0x4ed446(0x69)];_0x1be653++){const _0xc28258=_0x334284[_0x1be653],_0x48826e=_0x27dafa[_0x4ed446(0x83)](_0xc28258,_0x491cd5);_0x48826e&&_0x2d947d[_0x4ed446(0x80)](_0x48826e);}if(_0x2d947d[_0x4ed446(0x69)]>0x0){if(_0x40ec7e[_0x4ed446(0x79)]=_0x2d947d,!(_0x40ec7e['firstOccurrence'][_0x4ed446(0x9c)]>=_0x491cd5[_0x4ed446(0x9c)]&&_0x40ec7e[_0x4ed446(0x7e)]['startRow']<=_0x491cd5[_0x4ed446(0x75)]&&_0x40ec7e[_0x4ed446(0x7e)][_0x4ed446(0x89)]>=_0x491cd5[_0x4ed446(0x89)]&&_0x40ec7e['firstOccurrence'][_0x4ed446(0x89)]<=_0x491cd5[_0x4ed446(0x90)])){const _0x4b5f23=_0x2d947d[0x0],_0x252dc1=_0x4b5f23[_0x4ed446(0x9c)]-_0x40ec7e[_0x4ed446(0x7e)][_0x4ed446(0x9c)],_0x4958f9=_0x4b5f23['startColumn']-_0x40ec7e[_0x4ed446(0x7e)][_0x4ed446(0x89)];_0x40ec7e[_0x4ed446(0x9d)]=await _0x463c0c['moveFormulaRefOffset'](_0x40ec7e[_0x4ed446(0x9d)],_0x4958f9,_0x252dc1),_0x40ec7e[_0x4ed446(0x7e)]={'startRow':_0x4b5f23[_0x4ed446(0x9c)],'endRow':_0x4b5f23[_0x4ed446(0x9c)],'startColumn':_0x4b5f23[_0x4ed446(0x89)],'endColumn':_0x4b5f23['startColumn']};}_0x495367[_0x4ed446(0x80)](_0x40ec7e);}}return _0x495367;}async[_0x50ff65(0x96)](){const _0x289098=_0x50ff65;return(await this[_0x289098(0x82)]())[_0x289098(0x7b)](_0x1ea3e0[_0x289098(0x74)]);}}_0x356730['FRange'][_0x50ff65(0x87)](_0x309584);}));