@univerjs-pro/sheets-mcp 0.15.0-insiders.20251227-dafc157 → 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 _0x14ef(_0x13c7b9,_0x48aba7){_0x13c7b9=_0x13c7b9-0x17c;const _0x3f3440=_0x3f34();let _0x14efbf=_0x3f3440[_0x13c7b9];return _0x14efbf;}(function(_0x461b00,_0x3b34b8){const _0x290bfa=_0x14ef,_0x4a4352=_0x461b00();while(!![]){try{const _0x202699=parseInt(_0x290bfa(0x1ae))/0x1+-parseInt(_0x290bfa(0x188))/0x2+parseInt(_0x290bfa(0x192))/0x3*(parseInt(_0x290bfa(0x1af))/0x4)+parseInt(_0x290bfa(0x190))/0x5*(parseInt(_0x290bfa(0x1a4))/0x6)+parseInt(_0x290bfa(0x1a2))/0x7*(-parseInt(_0x290bfa(0x187))/0x8)+-parseInt(_0x290bfa(0x1ac))/0x9+parseInt(_0x290bfa(0x17d))/0xa;if(_0x202699===_0x3b34b8)break;else _0x4a4352['push'](_0x4a4352['shift']());}catch(_0x4560b6){_0x4a4352['push'](_0x4a4352['shift']());}}}(_0x3f34,0x47be2),function(_0x59679d,_0x213353){const _0x4f287=_0x14ef;typeof exports==_0x4f287(0x1a3)&&typeof module<'u'?_0x213353(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[_0x4f287(0x18b)]?define([_0x4f287(0x17c),'@univerjs/sheets-formula/facade',_0x4f287(0x17f),_0x4f287(0x1aa),_0x4f287(0x1a7),_0x4f287(0x193)],_0x213353):(_0x59679d=typeof globalThis<'u'?globalThis:_0x59679d||self,_0x213353(_0x59679d[_0x4f287(0x194)],_0x59679d[_0x4f287(0x19c)],_0x59679d[_0x4f287(0x195)],_0x59679d[_0x4f287(0x1a1)],_0x59679d[_0x4f287(0x1a5)],_0x59679d['UniverCore']));}(this,function(_0x178370,_0xa8931e,_0x2c942e,_0x16f3e9,_0x4be83f,_0x7ec9e7){'use strict';const _0x46c83d=_0x14ef;class _0x514bd0 extends _0x178370[_0x46c83d(0x198)]{async[_0x46c83d(0x186)](){const _0x87b476=_0x46c83d;return this[_0x87b476(0x1a8)]()['getLintErrors']();}}_0x178370[_0x46c83d(0x198)]['extend'](_0x514bd0);class _0x3293c8 extends _0x16f3e9[_0x46c83d(0x18f)]{async[_0x46c83d(0x186)](){const _0x2689d0=_0x46c83d,_0x578692=this['getAllFormulaError'](),_0x1111f0=await this[_0x2689d0(0x19d)]();return{'formulaErrors':_0x578692,'dataValidationErrors':_0x1111f0};}}_0x16f3e9[_0x46c83d(0x18f)][_0x46c83d(0x199)](_0x3293c8);class _0x45688c extends _0x16f3e9[_0x46c83d(0x19e)]{async[_0x46c83d(0x196)](){const _0x54114c=_0x46c83d,_0x237e9a=this[_0x54114c(0x1ad)][_0x54114c(0x1a6)](_0x4be83f['IFormulaUsageAnalyzer']),_0x502331=this[_0x54114c(0x19a)](0x0,0x0,this[_0x54114c(0x181)](),this['getMaxColumns']())['getCellDataGrid']();return await _0x237e9a['getAllFormulaUsages'](_0x502331);}async[_0x46c83d(0x19b)](){const _0x2d760d=_0x46c83d;return(await this[_0x2d760d(0x196)]())[_0x2d760d(0x19f)](_0x4be83f[_0x2d760d(0x180)]);}}_0x16f3e9['FWorksheet'][_0x46c83d(0x199)](_0x45688c);class _0x38d803 extends _0x16f3e9[_0x46c83d(0x18c)]{async[_0x46c83d(0x196)](){const _0x15d614=_0x46c83d,_0x1ae7b3=this['_injector'][_0x15d614(0x1a6)](_0x4be83f[_0x15d614(0x197)]),_0x3d3764=(({startRow:_0x3aaa95,endRow:_0x142f27,startColumn:_0x2fbdcd,endColumn:_0x5410b9})=>{const _0x212694=_0x15d614,_0x3dd25c=[];for(let _0x3337de=_0x3aaa95;_0x3337de<=_0x142f27;_0x3337de++){const _0x34a9cc=[];for(let _0x54ea95=_0x2fbdcd;_0x54ea95<=_0x5410b9;_0x54ea95++)_0x34a9cc['push'](this[_0x212694(0x184)][_0x212694(0x1a0)](_0x3337de,_0x54ea95));_0x3dd25c[_0x212694(0x1ab)](_0x34a9cc);}return _0x3dd25c;})({'startRow':0x0,'endRow':this['_worksheet'][_0x15d614(0x181)](),'startColumn':0x0,'endColumn':this[_0x15d614(0x184)][_0x15d614(0x1b0)]()}),_0x2dfb62=await _0x1ae7b3[_0x15d614(0x1b1)](_0x3d3764),_0x335f88=this[_0x15d614(0x19a)](),_0x2ff4ba=[];for(let _0x1ff6d4=0x0;_0x1ff6d4<_0x2dfb62[_0x15d614(0x18a)];_0x1ff6d4++){const _0x2b12bc=_0x2dfb62[_0x1ff6d4],_0x5b0201=_0x2b12bc['filledRanges'],_0x2d5fc8=[];for(let _0x5e57f7=0x0;_0x5e57f7<_0x5b0201['length'];_0x5e57f7++){const _0x5a9d82=_0x5b0201[_0x5e57f7],_0x1fc9e5=_0x7ec9e7[_0x15d614(0x18d)](_0x5a9d82,_0x335f88);_0x1fc9e5&&_0x2d5fc8[_0x15d614(0x1ab)](_0x1fc9e5);}if(_0x2d5fc8[_0x15d614(0x18a)]>0x0){if(_0x2b12bc[_0x15d614(0x185)]=_0x2d5fc8,!(_0x2b12bc[_0x15d614(0x182)][_0x15d614(0x1a9)]>=_0x335f88[_0x15d614(0x1a9)]&&_0x2b12bc['firstOccurrence'][_0x15d614(0x1a9)]<=_0x335f88[_0x15d614(0x18e)]&&_0x2b12bc[_0x15d614(0x182)][_0x15d614(0x17e)]>=_0x335f88[_0x15d614(0x17e)]&&_0x2b12bc[_0x15d614(0x182)][_0x15d614(0x17e)]<=_0x335f88[_0x15d614(0x183)])){const _0x1a4945=_0x2d5fc8[0x0],_0x54e8ae=_0x1a4945[_0x15d614(0x1a9)]-_0x2b12bc[_0x15d614(0x182)][_0x15d614(0x1a9)],_0x41c6bc=_0x1a4945[_0x15d614(0x17e)]-_0x2b12bc[_0x15d614(0x182)][_0x15d614(0x17e)];_0x2b12bc[_0x15d614(0x191)]=await _0x1ae7b3[_0x15d614(0x189)](_0x2b12bc[_0x15d614(0x191)],_0x41c6bc,_0x54e8ae),_0x2b12bc['firstOccurrence']={'startRow':_0x1a4945[_0x15d614(0x1a9)],'endRow':_0x1a4945[_0x15d614(0x1a9)],'startColumn':_0x1a4945[_0x15d614(0x17e)],'endColumn':_0x1a4945[_0x15d614(0x17e)]};}_0x2ff4ba[_0x15d614(0x1ab)](_0x2b12bc);}}return _0x2ff4ba;}async[_0x46c83d(0x19b)](){const _0x3730fe=_0x46c83d;return(await this[_0x3730fe(0x196)]())[_0x3730fe(0x19f)](_0x4be83f[_0x3730fe(0x180)]);}}_0x16f3e9['FRange'][_0x46c83d(0x199)](_0x38d803);}));function _0x3f34(){const _0x13af41=['toA1','getMaxRows','firstOccurrence','endColumn','_worksheet','filledRanges','getLintErrors','6616ziBfrj','1006990BhwSFn','moveFormulaRefOffset','length','amd','FRange','getIntersectRange','endRow','FWorkbook','176740NyvhWX','formula','85659pwJAXh','@univerjs/core','UniverCoreFacade','UniverSheetsDataValidationFacade','getFormulaUsages','IFormulaUsageAnalyzer','FUniver','extend','getRange','getFormulaUsagesAsA1','UniverSheetsFormulaFacade','getAllDataValidationErrorAsync','FWorksheet','map','getCellRaw','UniverSheetsFacade','1351QAhUuA','object','6KlykDd','UniverProSheetsMcp','get','@univerjs-pro/sheets-mcp','getActiveWorkbook','startRow','@univerjs/sheets/facade','push','2051451fSJQbp','_injector','571300OpBgNM','12NnBZTr','getMaxColumns','getAllFormulaUsages','@univerjs/core/facade','4925960UdUnzN','startColumn','@univerjs/sheets-data-validation/facade'];_0x3f34=function(){return _0x13af41;};return _0x3f34();}
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();}