@univerjs-pro/sheets-mcp 0.15.1 → 0.15.2-insiders.20260122-b1556b1
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
|
-
(function(
|
|
1
|
+
(function(_0x56c478,_0xda6cbd){const _0x152766=_0x4ca9,_0x491b82=_0x56c478();while(!![]){try{const _0x4dab0d=parseInt(_0x152766(0x16d))/0x1*(parseInt(_0x152766(0x145))/0x2)+parseInt(_0x152766(0x131))/0x3*(parseInt(_0x152766(0x12b))/0x4)+parseInt(_0x152766(0x13f))/0x5*(parseInt(_0x152766(0x168))/0x6)+parseInt(_0x152766(0x163))/0x7*(-parseInt(_0x152766(0x12c))/0x8)+-parseInt(_0x152766(0x15e))/0x9+parseInt(_0x152766(0x13b))/0xa*(-parseInt(_0x152766(0x159))/0xb)+parseInt(_0x152766(0x162))/0xc;if(_0x4dab0d===_0xda6cbd)break;else _0x491b82['push'](_0x491b82['shift']());}catch(_0x303374){_0x491b82['push'](_0x491b82['shift']());}}}(_0x1698,0xdc1d7),function(_0x20caa3,_0x5f4f2b){const _0xf799ab=_0x4ca9;typeof exports==_0xf799ab(0x14d)&&typeof module<'u'?_0x5f4f2b(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==_0xf799ab(0x15b)&&define[_0xf799ab(0x147)]?define([_0xf799ab(0x164),_0xf799ab(0x155),_0xf799ab(0x14c),_0xf799ab(0x152),_0xf799ab(0x16c),_0xf799ab(0x13c)],_0x5f4f2b):(_0x20caa3=typeof globalThis<'u'?globalThis:_0x20caa3||self,_0x5f4f2b(_0x20caa3['UniverCoreFacade'],_0x20caa3[_0xf799ab(0x139)],_0x20caa3['UniverSheetsDataValidationFacade'],_0x20caa3[_0xf799ab(0x16e)],_0x20caa3['UniverProSheetsMcp'],_0x20caa3[_0xf799ab(0x154)]));}(this,function(_0x22e6a7,_0x570978,_0x53e1c9,_0x5dcf17,_0x560877,_0x42394d){'use strict';const _0x37be10=_0x4ca9;class _0x1e4ace extends _0x22e6a7[_0x37be10(0x130)]{async['getLintErrors'](){const _0x2066fb=_0x37be10;return this[_0x2066fb(0x137)]()[_0x2066fb(0x16a)]();}}_0x22e6a7[_0x37be10(0x130)]['extend'](_0x1e4ace);class _0x18b3f9 extends _0x5dcf17['FWorkbook']{async[_0x37be10(0x16a)](){const _0x2da4c0=_0x37be10,_0x3ae437=this['getAllFormulaError'](),_0x489909=await this[_0x2da4c0(0x160)]();return{'formulaErrors':_0x3ae437,'dataValidationErrors':_0x489909};}}_0x5dcf17[_0x37be10(0x14b)][_0x37be10(0x165)](_0x18b3f9);class _0x42d37e extends _0x5dcf17[_0x37be10(0x15f)]{async[_0x37be10(0x141)](){const _0x2f2196=_0x37be10,_0x1aad58=this[_0x2f2196(0x13e)][_0x2f2196(0x169)](_0x560877[_0x2f2196(0x16b)]),_0x2bbfe9=this[_0x2f2196(0x133)](0x0,0x0,this[_0x2f2196(0x12e)](),this['getMaxColumns']())[_0x2f2196(0x157)]();return await _0x1aad58['getAllFormulaUsages'](_0x2bbfe9);}async[_0x37be10(0x12f)](){const _0x22d9a4=_0x37be10;return(await this[_0x22d9a4(0x141)]())['map'](_0x560877[_0x22d9a4(0x136)]);}[_0x37be10(0x15a)](_0x554c1){const _0x27d580=_0x37be10,_0x294e18=this[_0x27d580(0x13e)][_0x27d580(0x169)](_0x560877['IStyleUsageAnalyzer']),_0x18f20a=this[_0x27d580(0x133)](0x0,0x0,this[_0x27d580(0x12e)](),this[_0x27d580(0x161)]())['getCellDataGrid']();return _0x294e18['updateConfig'](_0x554c1),_0x294e18[_0x27d580(0x140)](_0x18f20a,this[_0x27d580(0x151)],this[_0x27d580(0x13d)]);}[_0x37be10(0x14e)](_0x240517){const _0x3ecdb1=_0x37be10;return this[_0x3ecdb1(0x15a)](_0x240517)[_0x3ecdb1(0x12d)](_0x560877[_0x3ecdb1(0x146)]);}[_0x37be10(0x142)](_0x4e6ffe){const _0x287120=_0x37be10,_0x34cf92=this[_0x287120(0x13e)][_0x287120(0x169)](_0x560877[_0x287120(0x144)]);return _0x34cf92[_0x287120(0x13a)](_0x4e6ffe),_0x34cf92[_0x287120(0x150)](this[_0x287120(0x13d)]);}['getSizeUsagesAsA1'](_0x2a939a){const _0x2e483d=_0x37be10,_0x41f301=this[_0x2e483d(0x13e)][_0x2e483d(0x169)](_0x560877[_0x2e483d(0x144)]);_0x41f301['updateConfig'](_0x2a939a);const _0x557dc4=_0x41f301[_0x2e483d(0x150)](this['_worksheet']);return _0x41f301[_0x2e483d(0x132)](_0x557dc4);}}_0x5dcf17[_0x37be10(0x15f)]['extend'](_0x42d37e);class _0x1b4dce extends _0x5dcf17[_0x37be10(0x138)]{async[_0x37be10(0x141)](){const _0x4e6858=_0x37be10,_0x26b5bc=this[_0x4e6858(0x13e)][_0x4e6858(0x169)](_0x560877[_0x4e6858(0x16b)]),_0x4ed43e=(({startRow:_0x39e00c,endRow:_0x428854,startColumn:_0x1de9ca,endColumn:_0x5cce7c})=>{const _0x1cb4da=_0x4e6858,_0x39c02d=[];for(let _0x431011=_0x39e00c;_0x431011<=_0x428854;_0x431011++){const _0x28b4f4=[];for(let _0x2bc4b4=_0x1de9ca;_0x2bc4b4<=_0x5cce7c;_0x2bc4b4++)_0x28b4f4[_0x1cb4da(0x167)](this[_0x1cb4da(0x13d)][_0x1cb4da(0x134)](_0x431011,_0x2bc4b4));_0x39c02d[_0x1cb4da(0x167)](_0x28b4f4);}return _0x39c02d;})({'startRow':0x0,'endRow':this['_worksheet'][_0x4e6858(0x12e)](),'startColumn':0x0,'endColumn':this[_0x4e6858(0x13d)][_0x4e6858(0x161)]()}),_0x1d8ba3=await _0x26b5bc[_0x4e6858(0x166)](_0x4ed43e),_0x20c4c8=this[_0x4e6858(0x133)](),_0x12912a=[];for(let _0x5a9c08=0x0;_0x5a9c08<_0x1d8ba3[_0x4e6858(0x143)];_0x5a9c08++){const _0x46e26a=_0x1d8ba3[_0x5a9c08],_0x3201f0=_0x46e26a[_0x4e6858(0x12a)],_0x5d7059=[];for(let _0x4ba7d6=0x0;_0x4ba7d6<_0x3201f0[_0x4e6858(0x143)];_0x4ba7d6++){const _0x22b043=_0x3201f0[_0x4ba7d6],_0x579f48=_0x42394d[_0x4e6858(0x158)](_0x22b043,_0x20c4c8);_0x579f48&&_0x5d7059['push'](_0x579f48);}if(_0x5d7059['length']>0x0){if(_0x46e26a[_0x4e6858(0x12a)]=_0x5d7059,!(_0x46e26a[_0x4e6858(0x15c)][_0x4e6858(0x148)]>=_0x20c4c8[_0x4e6858(0x148)]&&_0x46e26a[_0x4e6858(0x15c)]['startRow']<=_0x20c4c8[_0x4e6858(0x14f)]&&_0x46e26a[_0x4e6858(0x15c)]['startColumn']>=_0x20c4c8['startColumn']&&_0x46e26a['firstOccurrence'][_0x4e6858(0x153)]<=_0x20c4c8[_0x4e6858(0x15d)])){const _0x1cf82d=_0x5d7059[0x0],_0x3ae805=_0x1cf82d[_0x4e6858(0x148)]-_0x46e26a[_0x4e6858(0x15c)][_0x4e6858(0x148)],_0x8a6955=_0x1cf82d['startColumn']-_0x46e26a[_0x4e6858(0x15c)][_0x4e6858(0x153)];_0x46e26a[_0x4e6858(0x135)]=await _0x26b5bc[_0x4e6858(0x14a)](_0x46e26a[_0x4e6858(0x135)],_0x8a6955,_0x3ae805),_0x46e26a['firstOccurrence']={'startRow':_0x1cf82d['startRow'],'endRow':_0x1cf82d[_0x4e6858(0x148)],'startColumn':_0x1cf82d[_0x4e6858(0x153)],'endColumn':_0x1cf82d[_0x4e6858(0x153)]};}_0x12912a[_0x4e6858(0x167)](_0x46e26a);}}return _0x12912a;}async[_0x37be10(0x12f)](){const _0x44d5aa=_0x37be10;return(await this[_0x44d5aa(0x141)]())[_0x44d5aa(0x12d)](_0x560877['formulaToA1']);}[_0x37be10(0x15a)](_0x27e33d){const _0x25ca36=_0x37be10,_0x35b35f=this[_0x25ca36(0x13e)][_0x25ca36(0x169)](_0x560877[_0x25ca36(0x156)]),_0x142810=(({startRow:_0x5d41f1,endRow:_0x4b1d78,startColumn:_0x46bef3,endColumn:_0x4e42e4})=>{const _0x1ac6a9=_0x25ca36,_0x46c916=[];for(let _0x2ab949=_0x5d41f1;_0x2ab949<=_0x4b1d78;_0x2ab949++){const _0x510c1a=[];for(let _0x5f560c=_0x46bef3;_0x5f560c<=_0x4e42e4;_0x5f560c++)_0x510c1a[_0x1ac6a9(0x167)](this[_0x1ac6a9(0x13d)][_0x1ac6a9(0x134)](_0x2ab949,_0x5f560c));_0x46c916[_0x1ac6a9(0x167)](_0x510c1a);}return _0x46c916;})({'startRow':0x0,'endRow':this['_worksheet'][_0x25ca36(0x12e)](),'startColumn':0x0,'endColumn':this[_0x25ca36(0x13d)][_0x25ca36(0x161)]()});_0x35b35f[_0x25ca36(0x13a)](_0x27e33d);const _0x38b1d8=_0x35b35f[_0x25ca36(0x140)](_0x142810,this['_workbook'],this[_0x25ca36(0x13d)]),_0x3e6136=this[_0x25ca36(0x133)](),_0x419a0b=[];for(let _0x50b5d9=0x0;_0x50b5d9<_0x38b1d8[_0x25ca36(0x143)];_0x50b5d9++){const _0x35aabe=_0x38b1d8[_0x50b5d9],_0x2f526c=_0x35aabe[_0x25ca36(0x12a)],_0x5edd7e=[];for(let _0x117162=0x0;_0x117162<_0x2f526c['length'];_0x117162++){const _0xd50213=_0x2f526c[_0x117162],_0x14df45=_0x42394d[_0x25ca36(0x158)](_0xd50213,_0x3e6136);_0x14df45&&_0x5edd7e['push'](_0x14df45);}_0x5edd7e[_0x25ca36(0x143)]>0x0&&(_0x35aabe['filledRanges']=_0x5edd7e,_0x419a0b[_0x25ca36(0x167)](_0x35aabe));}return _0x419a0b;}[_0x37be10(0x14e)](_0x4daa93){const _0x3a6809=_0x37be10;return this['getStyleUsages'](_0x4daa93)[_0x3a6809(0x12d)](_0x560877['styleToA1']);}[_0x37be10(0x142)](_0x1539a2){const _0x1105d4=_0x37be10,_0x247109=this[_0x1105d4(0x13e)][_0x1105d4(0x169)](_0x560877[_0x1105d4(0x144)]),_0x5c8dfe=this[_0x1105d4(0x133)]();return _0x247109[_0x1105d4(0x13a)](_0x1539a2),_0x247109[_0x1105d4(0x150)](this['_worksheet'],_0x5c8dfe[_0x1105d4(0x148)],_0x5c8dfe[_0x1105d4(0x14f)],_0x5c8dfe['startColumn'],_0x5c8dfe[_0x1105d4(0x15d)]);}[_0x37be10(0x149)](_0x581c5b){const _0x280e94=_0x37be10,_0x4c5cee=this['getSizeUsages'](_0x581c5b);return this[_0x280e94(0x13e)][_0x280e94(0x169)](_0x560877[_0x280e94(0x144)])[_0x280e94(0x132)](_0x4c5cee);}}_0x5dcf17[_0x37be10(0x138)][_0x37be10(0x165)](_0x1b4dce);}));function _0x4ca9(_0x3a43d4,_0x1e2955){_0x3a43d4=_0x3a43d4-0x12a;const _0x1698c8=_0x1698();let _0x4ca91c=_0x1698c8[_0x3a43d4];return _0x4ca91c;}function _0x1698(){const _0x41ad13=['@univerjs/sheets-formula/facade','IStyleUsageAnalyzer','getCellDataGrid','getIntersectRange','305239bNjxNs','getStyleUsages','function','firstOccurrence','endColumn','12280446NrZwHq','FWorksheet','getAllDataValidationErrorAsync','getMaxColumns','28175316apZvIT','119urOHMa','@univerjs/core/facade','extend','getAllFormulaUsages','push','24QPtohP','get','getLintErrors','IFormulaUsageAnalyzer','@univerjs-pro/sheets-mcp','1DfemIc','UniverSheetsFacade','filledRanges','93648IeUPbW','134248ROPZXi','map','getMaxRows','getFormulaUsagesAsA1','FUniver','42gzKVda','toA1','getRange','getCellRaw','formula','formulaToA1','getActiveWorkbook','FRange','UniverSheetsFormulaFacade','updateConfig','310ZGMcZz','@univerjs/core','_worksheet','_injector','216570ouzGrB','getAllStyleUsages','getFormulaUsages','getSizeUsages','length','ISizeUsageAnalyzer','1125228gpBWgI','styleToA1','amd','startRow','getSizeUsagesAsA1','moveFormulaRefOffset','FWorkbook','@univerjs/sheets-data-validation/facade','object','getStyleUsagesAsA1','endRow','getAllSizeUsages','_workbook','@univerjs/sheets/facade','startColumn','UniverCore'];_0x1698=function(){return _0x41ad13;};return _0x1698();}
|