@univerjs-pro/sheets-mcp 0.12.2 → 0.12.3-experimental.20251204-1549a8e

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(_0x27b7ea,_0x4e6558){const _0x5dfecc=_0x45fa,_0x19442e=_0x27b7ea();while(!![]){try{const _0x55b4b1=-parseInt(_0x5dfecc(0x10d))/0x1*(-parseInt(_0x5dfecc(0x107))/0x2)+parseInt(_0x5dfecc(0x131))/0x3+parseInt(_0x5dfecc(0x10c))/0x4+-parseInt(_0x5dfecc(0x103))/0x5+-parseInt(_0x5dfecc(0x10a))/0x6+-parseInt(_0x5dfecc(0x109))/0x7+parseInt(_0x5dfecc(0x128))/0x8*(-parseInt(_0x5dfecc(0x12d))/0x9);if(_0x55b4b1===_0x4e6558)break;else _0x19442e['push'](_0x19442e['shift']());}catch(_0x1381f7){_0x19442e['push'](_0x19442e['shift']());}}}(_0x3547,0x9bd64),function(_0x1c1acc,_0x42a883){const _0xb71727=_0x45fa;typeof exports==_0xb71727(0x126)&&typeof module<'u'?_0x42a883(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==_0xb71727(0x123)&&define[_0xb71727(0x127)]?define(['@univerjs/core/facade',_0xb71727(0x10f),'@univerjs/sheets-data-validation/facade',_0xb71727(0x122),_0xb71727(0x10b),_0xb71727(0x12f)],_0x42a883):(_0x1c1acc=typeof globalThis<'u'?globalThis:_0x1c1acc||self,_0x42a883(_0x1c1acc[_0xb71727(0x12b)],_0x1c1acc[_0xb71727(0x11e)],_0x1c1acc[_0xb71727(0x114)],_0x1c1acc[_0xb71727(0x106)],_0x1c1acc[_0xb71727(0x101)],_0x1c1acc[_0xb71727(0x100)]));}(this,function(_0x38b0bd,_0x23ac3e,_0x2f7e6e,_0x345678,_0x1c445c,_0x1e5582){'use strict';const _0x26a536=_0x45fa;class _0xf32de5 extends _0x38b0bd[_0x26a536(0x113)]{async[_0x26a536(0x11a)](){const _0x5d651b=_0x26a536;return this[_0x5d651b(0x120)]()[_0x5d651b(0x11a)]();}}_0x38b0bd[_0x26a536(0x113)][_0x26a536(0x121)](_0xf32de5);class _0x1091d7 extends _0x345678['FWorkbook']{async[_0x26a536(0x11a)](){const _0x2ff565=_0x26a536,_0x573183=this[_0x2ff565(0x102)](),_0x534b19=await this[_0x2ff565(0x11d)]();return{'formulaErrors':_0x573183,'dataValidationErrors':_0x534b19};}}_0x345678[_0x26a536(0x129)][_0x26a536(0x121)](_0x1091d7);class _0x382eaf extends _0x345678['FWorksheet']{async[_0x26a536(0x118)](){const _0xf359e9=_0x26a536,_0x42a591=this[_0xf359e9(0x124)]['get'](_0x1c445c[_0xf359e9(0x104)]),_0x5a9bbc=this[_0xf359e9(0x111)](0x0,0x0,this[_0xf359e9(0x115)]()+0x1,this[_0xf359e9(0x132)]()+0x1)[_0xf359e9(0x125)]();return await _0x42a591['getAllFormulaUsages'](_0x5a9bbc);}async[_0x26a536(0x12e)](){const _0x3d5ec5=_0x26a536;return(await this[_0x3d5ec5(0x118)]())[_0x3d5ec5(0x108)](_0x1c445c['toA1']);}}_0x345678[_0x26a536(0x110)][_0x26a536(0x121)](_0x382eaf);class _0x253bf4 extends _0x345678['FRange']{async[_0x26a536(0x118)](){const _0x5c783c=_0x26a536,_0x903d07=this[_0x5c783c(0x124)]['get'](_0x1c445c[_0x5c783c(0x104)]),_0x571137=(({startRow:_0x4da22d,endRow:_0x178252,startColumn:_0xdc8b0a,endColumn:_0x1a39c4})=>{const _0x22777d=_0x5c783c,_0x4832d6=[];for(let _0x54b3c4=_0x4da22d;_0x54b3c4<=_0x178252;_0x54b3c4++){const _0x12c43d=[];for(let _0x4a600c=_0xdc8b0a;_0x4a600c<=_0x1a39c4;_0x4a600c++)_0x12c43d[_0x22777d(0x105)](this['_worksheet'][_0x22777d(0x117)](_0x54b3c4,_0x4a600c));_0x4832d6[_0x22777d(0x105)](_0x12c43d);}return _0x4832d6;})({'startRow':0x0,'endRow':this[_0x5c783c(0x10e)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x6147da=await _0x903d07[_0x5c783c(0x11f)](_0x571137),_0x2f6c92=this[_0x5c783c(0x111)](),_0x53c4e7=[];for(let _0x23fdd9=0x0;_0x23fdd9<_0x6147da['length'];_0x23fdd9++){const _0x4cceed=_0x6147da[_0x23fdd9],_0x395a81=_0x4cceed[_0x5c783c(0x12a)],_0x13bb3a=[];for(let _0x5e9f46=0x0;_0x5e9f46<_0x395a81[_0x5c783c(0x112)];_0x5e9f46++){const _0x3e3ee6=_0x395a81[_0x5e9f46],_0x47688b=_0x1e5582[_0x5c783c(0x119)](_0x3e3ee6,_0x2f6c92);_0x47688b&&_0x13bb3a[_0x5c783c(0x105)](_0x47688b);}if(_0x13bb3a[_0x5c783c(0x112)]>0x0){_0x4cceed[_0x5c783c(0x12a)]=_0x13bb3a;const _0x364105=_0x13bb3a[0x0],_0x5b7ec8=_0x364105[_0x5c783c(0x116)]-_0x2f6c92[_0x5c783c(0x116)],_0x1ac06d=_0x364105[_0x5c783c(0x11c)]-_0x2f6c92[_0x5c783c(0x11c)];_0x4cceed[_0x5c783c(0x11b)]=await _0x903d07[_0x5c783c(0x130)](_0x4cceed[_0x5c783c(0x11b)],_0x5b7ec8,_0x1ac06d),_0x53c4e7[_0x5c783c(0x105)](_0x4cceed);}}return _0x53c4e7;}async[_0x26a536(0x12e)](){const _0x5c9af1=_0x26a536;return(await this[_0x5c9af1(0x118)]())[_0x5c9af1(0x108)](_0x1c445c[_0x5c9af1(0x12c)]);}}_0x345678['FRange'][_0x26a536(0x121)](_0x253bf4);}));function _0x45fa(_0x59a556,_0x492427){const _0x354733=_0x3547();return _0x45fa=function(_0x45fab8,_0x3d7cb3){_0x45fab8=_0x45fab8-0x100;let _0x464d9e=_0x354733[_0x45fab8];return _0x464d9e;},_0x45fa(_0x59a556,_0x492427);}function _0x3547(){const _0x181275=['getRange','length','FUniver','UniverSheetsDataValidationFacade','getMaxRows','startRow','getCellRaw','getFormulaUsages','getIntersectRange','getLintErrors','formula','startColumn','getAllDataValidationErrorAsync','UniverSheetsFormulaFacade','getAllFormulaUsages','getActiveWorkbook','extend','@univerjs/sheets/facade','function','_injector','getCellDataGrid','object','amd','7688hWceha','FWorkbook','filledRanges','UniverCoreFacade','toA1','16938WUCMVk','getFormulaUsagesAsA1','@univerjs/core','moveFormulaRefOffset','3273168XuTdmf','getMaxColumns','UniverCore','UniverProSheetsMcp','getAllFormulaError','2362315xZaVtm','IFormulaUsageAnalyzer','push','UniverSheetsFacade','431932YIOuOc','map','665679bcuHoh','1055082dkEsfO','@univerjs-pro/sheets-mcp','4941588oENNJl','4nKAXux','_worksheet','@univerjs/sheets-formula/facade','FWorksheet'];_0x3547=function(){return _0x181275;};return _0x3547();}
1
+ function _0x4ae0(_0x34290e,_0x580e2f){_0x34290e=_0x34290e-0x74;const _0x3b2766=_0x3b27();let _0x4ae08e=_0x3b2766[_0x34290e];return _0x4ae08e;}(function(_0x5c4461,_0x14455a){const _0x519020=_0x4ae0,_0x4ce63e=_0x5c4461();while(!![]){try{const _0x210e47=-parseInt(_0x519020(0x84))/0x1+-parseInt(_0x519020(0x97))/0x2+-parseInt(_0x519020(0x75))/0x3*(-parseInt(_0x519020(0x8d))/0x4)+parseInt(_0x519020(0x9b))/0x5+-parseInt(_0x519020(0xa0))/0x6+parseInt(_0x519020(0x77))/0x7+-parseInt(_0x519020(0x91))/0x8*(-parseInt(_0x519020(0x9e))/0x9);if(_0x210e47===_0x14455a)break;else _0x4ce63e['push'](_0x4ce63e['shift']());}catch(_0x4156b5){_0x4ce63e['push'](_0x4ce63e['shift']());}}}(_0x3b27,0x629a0),function(_0x5e6a11,_0x2427d3){const _0x1b5e6a=_0x4ae0;typeof exports=='object'&&typeof module<'u'?_0x2427d3(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(['@univerjs/core/facade',_0x1b5e6a(0x94),_0x1b5e6a(0x9a),_0x1b5e6a(0x82),_0x1b5e6a(0x7d),_0x1b5e6a(0x8a)],_0x2427d3):(_0x5e6a11=typeof globalThis<'u'?globalThis:_0x5e6a11||self,_0x2427d3(_0x5e6a11[_0x1b5e6a(0xa3)],_0x5e6a11[_0x1b5e6a(0x86)],_0x5e6a11[_0x1b5e6a(0x96)],_0x5e6a11[_0x1b5e6a(0x7c)],_0x5e6a11[_0x1b5e6a(0x8b)],_0x5e6a11[_0x1b5e6a(0x93)]));}(this,function(_0x2b40dd,_0xcfb8c7,_0x2d0376,_0x3a18ed,_0x21f2e0,_0x512ce6){'use strict';const _0x46a5bf=_0x4ae0;class _0x1b01bf extends _0x2b40dd[_0x46a5bf(0x99)]{async[_0x46a5bf(0x87)](){const _0x16b4cd=_0x46a5bf;return this[_0x16b4cd(0x9c)]()[_0x16b4cd(0x87)]();}}_0x2b40dd[_0x46a5bf(0x99)][_0x46a5bf(0x79)](_0x1b01bf);class _0x48582c extends _0x3a18ed['FWorkbook']{async[_0x46a5bf(0x87)](){const _0x124fe2=_0x46a5bf,_0x2d1450=this[_0x124fe2(0x78)](),_0x3f8460=await this[_0x124fe2(0x85)]();return{'formulaErrors':_0x2d1450,'dataValidationErrors':_0x3f8460};}}_0x3a18ed[_0x46a5bf(0x76)][_0x46a5bf(0x79)](_0x48582c);class _0x529514 extends _0x3a18ed[_0x46a5bf(0x7b)]{async['getFormulaUsages'](){const _0xb74f4=_0x46a5bf,_0x1ce2be=this[_0xb74f4(0x9d)]['get'](_0x21f2e0[_0xb74f4(0x8f)]),_0x5e79ec=this['getRange'](0x0,0x0,this[_0xb74f4(0x7a)]()+0x1,this[_0xb74f4(0x8e)]()+0x1)[_0xb74f4(0xa2)]();return await _0x1ce2be[_0xb74f4(0x83)](_0x5e79ec);}async[_0x46a5bf(0x7f)](){const _0x2b0bb6=_0x46a5bf;return(await this['getFormulaUsages']())[_0x2b0bb6(0x80)](_0x21f2e0['toA1']);}}_0x3a18ed[_0x46a5bf(0x7b)][_0x46a5bf(0x79)](_0x529514);class _0x3257e6 extends _0x3a18ed[_0x46a5bf(0x89)]{async[_0x46a5bf(0x88)](){const _0x35c1d1=_0x46a5bf,_0x48f47c=this[_0x35c1d1(0x9d)][_0x35c1d1(0x95)](_0x21f2e0['IFormulaUsageAnalyzer']),_0x6a5217=(({startRow:_0x5f40f5,endRow:_0x5afd54,startColumn:_0x2912cb,endColumn:_0x37e696})=>{const _0x37372d=_0x35c1d1,_0x1976da=[];for(let _0x2e4315=_0x5f40f5;_0x2e4315<=_0x5afd54;_0x2e4315++){const _0x26256b=[];for(let _0x5b815c=_0x2912cb;_0x5b815c<=_0x37e696;_0x5b815c++)_0x26256b[_0x37372d(0x90)](this[_0x37372d(0x7e)]['getCellRaw'](_0x2e4315,_0x5b815c));_0x1976da[_0x37372d(0x90)](_0x26256b);}return _0x1976da;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x35c1d1(0x7e)][_0x35c1d1(0x8e)]()}),_0x36cb69=await _0x48f47c[_0x35c1d1(0x83)](_0x6a5217),_0x197498=this['getRange'](),_0x158a2f=[];for(let _0xe018a1=0x0;_0xe018a1<_0x36cb69[_0x35c1d1(0x9f)];_0xe018a1++){const _0x1f0d04=_0x36cb69[_0xe018a1],_0x4467f9=_0x1f0d04[_0x35c1d1(0x8c)],_0x454ad7=[];for(let _0x5e973e=0x0;_0x5e973e<_0x4467f9[_0x35c1d1(0x9f)];_0x5e973e++){const _0x52e6ab=_0x4467f9[_0x5e973e],_0x1f8040=_0x512ce6[_0x35c1d1(0xa1)](_0x52e6ab,_0x197498);_0x1f8040&&_0x454ad7[_0x35c1d1(0x90)](_0x1f8040);}if(_0x454ad7[_0x35c1d1(0x9f)]>0x0){_0x1f0d04['filledRanges']=_0x454ad7;const _0x564502=_0x454ad7[0x0],_0x2ae4e7=_0x564502[_0x35c1d1(0x81)]-_0x197498[_0x35c1d1(0x81)],_0x300476=_0x564502[_0x35c1d1(0x92)]-_0x197498['startColumn'];_0x1f0d04[_0x35c1d1(0x98)]=await _0x48f47c['moveFormulaRefOffset'](_0x1f0d04[_0x35c1d1(0x98)],_0x2ae4e7,_0x300476),_0x158a2f['push'](_0x1f0d04);}}return _0x158a2f;}async[_0x46a5bf(0x7f)](){const _0x56dee5=_0x46a5bf;return(await this['getFormulaUsages']())[_0x56dee5(0x80)](_0x21f2e0[_0x56dee5(0x74)]);}}_0x3a18ed[_0x46a5bf(0x89)]['extend'](_0x3257e6);}));function _0x3b27(){const _0x1dc4e0=['5088370lJYSKT','getAllFormulaError','extend','getMaxRows','FWorksheet','UniverSheetsFacade','@univerjs-pro/sheets-mcp','_worksheet','getFormulaUsagesAsA1','map','startRow','@univerjs/sheets/facade','getAllFormulaUsages','691319rmhEhE','getAllDataValidationErrorAsync','UniverSheetsFormulaFacade','getLintErrors','getFormulaUsages','FRange','@univerjs/core','UniverProSheetsMcp','filledRanges','8072KlEauJ','getMaxColumns','IFormulaUsageAnalyzer','push','67376jXbuNQ','startColumn','UniverCore','@univerjs/sheets-formula/facade','get','UniverSheetsDataValidationFacade','936280ZVueDd','formula','FUniver','@univerjs/sheets-data-validation/facade','261350nXDtHi','getActiveWorkbook','_injector','819iNzlWX','length','2375646WpWBrJ','getIntersectRange','getCellDataGrid','UniverCoreFacade','toA1','615MsYOQv','FWorkbook'];_0x3b27=function(){return _0x1dc4e0;};return _0x3b27();}