@univerjs-pro/sheets-mcp 0.15.0-insiders.20260110-48b77c8 → 0.15.1-insiders.20260117-8ce4a01
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +11 -11
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5cb13c,_0x3d7ee4){const _0x36fe64=_0x1aa0,_0x499204=_0x5cb13c();while(!![]){try{const _0x427f6f=parseInt(_0x36fe64(0x213))/0x1+parseInt(_0x36fe64(0x203))/0x2+-parseInt(_0x36fe64(0x21e))/0x3+-parseInt(_0x36fe64(0x1f3))/0x4*(parseInt(_0x36fe64(0x222))/0x5)+parseInt(_0x36fe64(0x201))/0x6+parseInt(_0x36fe64(0x20f))/0x7*(parseInt(_0x36fe64(0x20c))/0x8)+-parseInt(_0x36fe64(0x20b))/0x9;if(_0x427f6f===_0x3d7ee4)break;else _0x499204['push'](_0x499204['shift']());}catch(_0x1c2695){_0x499204['push'](_0x499204['shift']());}}}(_0x5624,0x21ec9),function(_0x331586,_0x11d3d5){const _0x13dc5d=_0x1aa0;typeof exports==_0x13dc5d(0x1f6)&&typeof module<'u'?_0x11d3d5(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==_0x13dc5d(0x22c)&&define[_0x13dc5d(0x209)]?define([_0x13dc5d(0x228),_0x13dc5d(0x1fd),_0x13dc5d(0x22e),_0x13dc5d(0x225),_0x13dc5d(0x1f9),_0x13dc5d(0x216)],_0x11d3d5):(_0x331586=typeof globalThis<'u'?globalThis:_0x331586||self,_0x11d3d5(_0x331586[_0x13dc5d(0x1f4)],_0x331586[_0x13dc5d(0x205)],_0x331586[_0x13dc5d(0x200)],_0x331586[_0x13dc5d(0x1f0)],_0x331586[_0x13dc5d(0x21d)],_0x331586['UniverCore']));}(this,function(_0x2c0bcc,_0x46b493,_0x335492,_0x3e0864,_0x50044b,_0x216c83){'use strict';const _0x190f91=_0x1aa0;class _0xb9e405 extends _0x2c0bcc[_0x190f91(0x204)]{async[_0x190f91(0x208)](){const _0x16fbad=_0x190f91;return this['getActiveWorkbook']()[_0x16fbad(0x208)]();}}_0x2c0bcc[_0x190f91(0x204)][_0x190f91(0x212)](_0xb9e405);class _0x52e267 extends _0x3e0864[_0x190f91(0x210)]{async[_0x190f91(0x208)](){const _0x255f8a=_0x190f91,_0xfc5b13=this[_0x255f8a(0x1f2)](),_0x47d2e9=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0xfc5b13,'dataValidationErrors':_0x47d2e9};}}_0x3e0864['FWorkbook'][_0x190f91(0x212)](_0x52e267);class _0x1b8df8 extends _0x3e0864[_0x190f91(0x20e)]{async['getFormulaUsages'](){const _0x1387cc=_0x190f91,_0x4adf13=this[_0x1387cc(0x1f1)][_0x1387cc(0x215)](_0x50044b[_0x1387cc(0x21f)]),_0x7b65ac=this[_0x1387cc(0x1f5)](0x0,0x0,this[_0x1387cc(0x229)](),this[_0x1387cc(0x226)]())[_0x1387cc(0x221)]();return await _0x4adf13['getAllFormulaUsages'](_0x7b65ac);}async[_0x190f91(0x227)](){const _0xa6586f=_0x190f91;return(await this[_0xa6586f(0x22b)]())[_0xa6586f(0x20d)](_0x50044b[_0xa6586f(0x219)]);}[_0x190f91(0x214)](_0x4304cb){const _0x24a1d2=_0x190f91,_0x47c86e=this[_0x24a1d2(0x1f1)][_0x24a1d2(0x215)](_0x50044b[_0x24a1d2(0x1ef)]),_0x2da78f=this[_0x24a1d2(0x1f5)](0x0,0x0,this[_0x24a1d2(0x229)](),this[_0x24a1d2(0x226)]())[_0x24a1d2(0x221)]();return _0x47c86e[_0x24a1d2(0x206)](_0x4304cb),_0x47c86e[_0x24a1d2(0x22a)](_0x2da78f,this['_workbook'],this[_0x24a1d2(0x202)]);}['getStyleUsagesAsA1'](_0x12cdf8){const _0x52ba96=_0x190f91;return this['getStyleUsages'](_0x12cdf8)[_0x52ba96(0x20d)](_0x50044b['styleToA1']);}[_0x190f91(0x223)](_0x3d6869){const _0x443cee=_0x190f91,_0x2f934b=this[_0x443cee(0x1f1)][_0x443cee(0x215)](_0x50044b[_0x443cee(0x22d)]);return _0x2f934b[_0x443cee(0x206)](_0x3d6869),_0x2f934b[_0x443cee(0x20a)](this['_worksheet']);}[_0x190f91(0x1fb)](_0x4c1f1e){const _0x3a885f=_0x190f91,_0x3ebd63=this['_injector'][_0x3a885f(0x215)](_0x50044b[_0x3a885f(0x22d)]);_0x3ebd63[_0x3a885f(0x206)](_0x4c1f1e);const _0xd0263c=_0x3ebd63[_0x3a885f(0x20a)](this[_0x3a885f(0x202)]);return _0x3ebd63[_0x3a885f(0x211)](_0xd0263c);}}_0x3e0864[_0x190f91(0x20e)][_0x190f91(0x212)](_0x1b8df8);class _0x3610d6 extends _0x3e0864['FRange']{async[_0x190f91(0x22b)](){const _0x11640d=_0x190f91,_0x212ef6=this[_0x11640d(0x1f1)][_0x11640d(0x215)](_0x50044b['IFormulaUsageAnalyzer']),_0x7cc13c=(({startRow:_0x3135f7,endRow:_0x45ef22,startColumn:_0x52bcab,endColumn:_0x19da2b})=>{const _0xd8b848=_0x11640d,_0x5c085c=[];for(let _0x343011=_0x3135f7;_0x343011<=_0x45ef22;_0x343011++){const _0x49fc7e=[];for(let _0x5dcdb4=_0x52bcab;_0x5dcdb4<=_0x19da2b;_0x5dcdb4++)_0x49fc7e['push'](this[_0xd8b848(0x202)]['getCellRaw'](_0x343011,_0x5dcdb4));_0x5c085c[_0xd8b848(0x22f)](_0x49fc7e);}return _0x5c085c;})({'startRow':0x0,'endRow':this[_0x11640d(0x202)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x11640d(0x202)]['getMaxColumns']()}),_0x27905b=await _0x212ef6['getAllFormulaUsages'](_0x7cc13c),_0xac0b85=this[_0x11640d(0x1f5)](),_0x4f6d26=[];for(let _0x389e8c=0x0;_0x389e8c<_0x27905b[_0x11640d(0x1fa)];_0x389e8c++){const _0x5382c1=_0x27905b[_0x389e8c],_0x39f8ce=_0x5382c1[_0x11640d(0x1f7)],_0x7ea249=[];for(let _0x5e1b69=0x0;_0x5e1b69<_0x39f8ce['length'];_0x5e1b69++){const _0x51911b=_0x39f8ce[_0x5e1b69],_0x1d923f=_0x216c83[_0x11640d(0x21c)](_0x51911b,_0xac0b85);_0x1d923f&&_0x7ea249[_0x11640d(0x22f)](_0x1d923f);}if(_0x7ea249[_0x11640d(0x1fa)]>0x0){if(_0x5382c1[_0x11640d(0x1f7)]=_0x7ea249,!(_0x5382c1[_0x11640d(0x217)]['startRow']>=_0xac0b85[_0x11640d(0x207)]&&_0x5382c1[_0x11640d(0x217)][_0x11640d(0x207)]<=_0xac0b85[_0x11640d(0x1fc)]&&_0x5382c1[_0x11640d(0x217)][_0x11640d(0x1ff)]>=_0xac0b85[_0x11640d(0x1ff)]&&_0x5382c1['firstOccurrence'][_0x11640d(0x1ff)]<=_0xac0b85['endColumn'])){const _0xdb52c0=_0x7ea249[0x0],_0x2f7b4c=_0xdb52c0[_0x11640d(0x207)]-_0x5382c1[_0x11640d(0x217)][_0x11640d(0x207)],_0x10d915=_0xdb52c0[_0x11640d(0x1ff)]-_0x5382c1['firstOccurrence'][_0x11640d(0x1ff)];_0x5382c1[_0x11640d(0x218)]=await _0x212ef6[_0x11640d(0x21a)](_0x5382c1[_0x11640d(0x218)],_0x10d915,_0x2f7b4c),_0x5382c1[_0x11640d(0x217)]={'startRow':_0xdb52c0[_0x11640d(0x207)],'endRow':_0xdb52c0[_0x11640d(0x207)],'startColumn':_0xdb52c0[_0x11640d(0x1ff)],'endColumn':_0xdb52c0[_0x11640d(0x1ff)]};}_0x4f6d26['push'](_0x5382c1);}}return _0x4f6d26;}async[_0x190f91(0x227)](){const _0x345594=_0x190f91;return(await this['getFormulaUsages']())[_0x345594(0x20d)](_0x50044b[_0x345594(0x219)]);}[_0x190f91(0x214)](_0x50fae3){const _0x2eee25=_0x190f91,_0x307bea=this[_0x2eee25(0x1f1)][_0x2eee25(0x215)](_0x50044b[_0x2eee25(0x1ef)]),_0x7e7be7=(({startRow:_0x54efae,endRow:_0x4b88f0,startColumn:_0x45924d,endColumn:_0x45459f})=>{const _0x36e8d7=_0x2eee25,_0x2db557=[];for(let _0x544545=_0x54efae;_0x544545<=_0x4b88f0;_0x544545++){const _0x13d596=[];for(let _0x924081=_0x45924d;_0x924081<=_0x45459f;_0x924081++)_0x13d596[_0x36e8d7(0x22f)](this['_worksheet'][_0x36e8d7(0x220)](_0x544545,_0x924081));_0x2db557[_0x36e8d7(0x22f)](_0x13d596);}return _0x2db557;})({'startRow':0x0,'endRow':this[_0x2eee25(0x202)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x2eee25(0x202)][_0x2eee25(0x226)]()});_0x307bea['updateConfig'](_0x50fae3);const _0xfacca7=_0x307bea[_0x2eee25(0x22a)](_0x7e7be7,this[_0x2eee25(0x1fe)],this['_worksheet']),_0x4c503f=this['getRange'](),_0x4875bf=[];for(let _0x4de238=0x0;_0x4de238<_0xfacca7[_0x2eee25(0x1fa)];_0x4de238++){const _0xc6dc5f=_0xfacca7[_0x4de238],_0x5258c9=_0xc6dc5f[_0x2eee25(0x1f7)],_0x384ccf=[];for(let _0x262b47=0x0;_0x262b47<_0x5258c9['length'];_0x262b47++){const _0x21ef99=_0x5258c9[_0x262b47],_0x1bd268=_0x216c83[_0x2eee25(0x21c)](_0x21ef99,_0x4c503f);_0x1bd268&&_0x384ccf['push'](_0x1bd268);}_0x384ccf['length']>0x0&&(_0xc6dc5f[_0x2eee25(0x1f7)]=_0x384ccf,_0x4875bf[_0x2eee25(0x22f)](_0xc6dc5f));}return _0x4875bf;}[_0x190f91(0x1ee)](_0x502524){const _0x2b832c=_0x190f91;return this[_0x2b832c(0x214)](_0x502524)[_0x2b832c(0x20d)](_0x50044b[_0x2b832c(0x224)]);}[_0x190f91(0x223)](_0x39ece0){const _0x271550=_0x190f91,_0x21c74b=this['_injector']['get'](_0x50044b[_0x271550(0x22d)]),_0x1d55d7=this['getRange']();return _0x21c74b[_0x271550(0x206)](_0x39ece0),_0x21c74b[_0x271550(0x20a)](this[_0x271550(0x202)],_0x1d55d7[_0x271550(0x207)],_0x1d55d7['endRow'],_0x1d55d7['startColumn'],_0x1d55d7[_0x271550(0x21b)]);}['getSizeUsagesAsA1'](_0x5e0488){const _0x288f62=_0x190f91,_0xf5ba58=this['getSizeUsages'](_0x5e0488);return this['_injector']['get'](_0x50044b[_0x288f62(0x22d)])[_0x288f62(0x211)](_0xf5ba58);}}_0x3e0864[_0x190f91(0x1f8)]['extend'](_0x3610d6);}));function _0x1aa0(_0x5cd04e,_0x158a5e){_0x5cd04e=_0x5cd04e-0x1ee;const _0x56246d=_0x5624();let _0x1aa089=_0x56246d[_0x5cd04e];return _0x1aa089;}function _0x5624(){const _0x4a10ad=['UniverSheetsFacade','_injector','getAllFormulaError','4SlotEp','UniverCoreFacade','getRange','object','filledRanges','FRange','@univerjs-pro/sheets-mcp','length','getSizeUsagesAsA1','endRow','@univerjs/sheets-formula/facade','_workbook','startColumn','UniverSheetsDataValidationFacade','1170588gUWEqo','_worksheet','324886aDITYd','FUniver','UniverSheetsFormulaFacade','updateConfig','startRow','getLintErrors','amd','getAllSizeUsages','3789252XiJVKm','8GgMgWO','map','FWorksheet','1345211MNwdOO','FWorkbook','toA1','extend','176502qHxcJz','getStyleUsages','get','@univerjs/core','firstOccurrence','formula','formulaToA1','moveFormulaRefOffset','endColumn','getIntersectRange','UniverProSheetsMcp','442692dENHhU','IFormulaUsageAnalyzer','getCellRaw','getCellDataGrid','93355WbUYuA','getSizeUsages','styleToA1','@univerjs/sheets/facade','getMaxColumns','getFormulaUsagesAsA1','@univerjs/core/facade','getMaxRows','getAllStyleUsages','getFormulaUsages','function','ISizeUsageAnalyzer','@univerjs/sheets-data-validation/facade','push','getStyleUsagesAsA1','IStyleUsageAnalyzer'];_0x5624=function(){return _0x4a10ad;};return _0x5624();}
|