@univerjs-pro/sheets-mcp 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-7b9120d
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 _0x2719(_0x59bf27,_0x2ea6dc){_0x59bf27=_0x59bf27-0xb7;const _0x3289c8=_0x3289();let _0x2719aa=_0x3289c8[_0x59bf27];return _0x2719aa;}(function(_0xf89513,_0xd98347){const _0x238735=_0x2719,_0x1d71e3=_0xf89513();while(!![]){try{const _0x15f23f=-parseInt(_0x238735(0xc0))/0x1*(-parseInt(_0x238735(0xf3))/0x2)+-parseInt(_0x238735(0xcd))/0x3*(parseInt(_0x238735(0xdf))/0x4)+parseInt(_0x238735(0xf2))/0x5+parseInt(_0x238735(0xd5))/0x6+parseInt(_0x238735(0xe2))/0x7+parseInt(_0x238735(0xd8))/0x8*(parseInt(_0x238735(0xde))/0x9)+-parseInt(_0x238735(0xbe))/0xa*(parseInt(_0x238735(0xf4))/0xb);if(_0x15f23f===_0xd98347)break;else _0x1d71e3['push'](_0x1d71e3['shift']());}catch(_0x2efbf8){_0x1d71e3['push'](_0x1d71e3['shift']());}}}(_0x3289,0xdf5f8),function(_0x11f8fd,_0x255fb1){const _0x16b790=_0x2719;typeof exports==_0x16b790(0xbc)&&typeof module<'u'?_0x255fb1(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[_0x16b790(0xd0)]?define(['@univerjs/core/facade','@univerjs/sheets-formula/facade','@univerjs/sheets-data-validation/facade',_0x16b790(0xe1),'@univerjs-pro/sheets-mcp',_0x16b790(0xec)],_0x255fb1):(_0x11f8fd=typeof globalThis<'u'?globalThis:_0x11f8fd||self,_0x255fb1(_0x11f8fd['UniverCoreFacade'],_0x11f8fd[_0x16b790(0xeb)],_0x11f8fd[_0x16b790(0xd2)],_0x11f8fd[_0x16b790(0xda)],_0x11f8fd[_0x16b790(0xe4)],_0x11f8fd[_0x16b790(0xea)]));}(this,function(_0x5b9061,_0x546f3c,_0x58e49e,_0x5eb38c,_0x5a6c7b,_0x444ea1){'use strict';const _0x4d3404=_0x2719;class _0x197909 extends _0x5b9061['FUniver']{async[_0x4d3404(0xc8)](){const _0x3030e4=_0x4d3404;return this['getActiveWorkbook']()[_0x3030e4(0xc8)]();}}_0x5b9061[_0x4d3404(0xbd)][_0x4d3404(0xe6)](_0x197909);class _0x3b9563 extends _0x5eb38c['FWorkbook']{async[_0x4d3404(0xc8)](){const _0x390430=this['getAllFormulaError'](),_0x286397=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x390430,'dataValidationErrors':_0x286397};}}_0x5eb38c['FWorkbook'][_0x4d3404(0xe6)](_0x3b9563);class _0x219e73 extends _0x5eb38c[_0x4d3404(0xcb)]{async[_0x4d3404(0xf0)](){const _0x4d8d73=_0x4d3404,_0x44399c=this['_injector'][_0x4d8d73(0xd1)](_0x5a6c7b['IFormulaUsageAnalyzer']),_0x2aba35=this['getRange'](0x0,0x0,this[_0x4d8d73(0xbb)](),this[_0x4d8d73(0xcf)]())[_0x4d8d73(0xc2)]();return await _0x44399c['getAllFormulaUsages'](_0x2aba35);}async[_0x4d3404(0xdd)](){const _0x59a8ee=_0x4d3404;return(await this[_0x59a8ee(0xf0)]())[_0x59a8ee(0xba)](_0x5a6c7b[_0x59a8ee(0xe9)]);}[_0x4d3404(0xb8)](_0x287ee0){const _0x34c328=_0x4d3404,_0x2f4381=this[_0x34c328(0xc5)][_0x34c328(0xd1)](_0x5a6c7b['IStyleUsageAnalyzer']),_0x33f6c1=this[_0x34c328(0xce)](0x0,0x0,this['getMaxRows'](),this[_0x34c328(0xcf)]())[_0x34c328(0xc2)]();return _0x2f4381[_0x34c328(0xc3)](_0x287ee0),_0x2f4381[_0x34c328(0xdc)](_0x33f6c1,this[_0x34c328(0xc9)],this[_0x34c328(0xd9)]);}[_0x4d3404(0xb7)](_0x1b6dcf){const _0x5d24d6=_0x4d3404;return this[_0x5d24d6(0xb8)](_0x1b6dcf)[_0x5d24d6(0xba)](_0x5a6c7b[_0x5d24d6(0xb9)]);}[_0x4d3404(0xd3)](_0x2765c8){const _0x20e471=_0x4d3404,_0x290c69=this[_0x20e471(0xc5)][_0x20e471(0xd1)](_0x5a6c7b[_0x20e471(0xc4)]);return _0x290c69[_0x20e471(0xc3)](_0x2765c8),_0x290c69['getAllSizeUsages'](this[_0x20e471(0xd9)]);}[_0x4d3404(0xd4)](_0x2a06fd){const _0x5efefc=_0x4d3404,_0x58c95c=this[_0x5efefc(0xc5)][_0x5efefc(0xd1)](_0x5a6c7b[_0x5efefc(0xc4)]);_0x58c95c[_0x5efefc(0xc3)](_0x2a06fd);const _0x1d53cb=_0x58c95c[_0x5efefc(0xe5)](this[_0x5efefc(0xd9)]);return _0x58c95c[_0x5efefc(0xcc)](_0x1d53cb);}}_0x5eb38c[_0x4d3404(0xcb)]['extend'](_0x219e73);class _0x3ffe5f extends _0x5eb38c['FRange']{async[_0x4d3404(0xf0)](){const _0x4b8edc=_0x4d3404,_0xa5f154=this[_0x4b8edc(0xc5)]['get'](_0x5a6c7b[_0x4b8edc(0xe8)]),_0x2e1474=(({startRow:_0x4e12a4,endRow:_0x5c9ad0,startColumn:_0x3a3a4f,endColumn:_0x251539})=>{const _0x576b85=_0x4b8edc,_0x2bfd13=[];for(let _0x3a9912=_0x4e12a4;_0x3a9912<=_0x5c9ad0;_0x3a9912++){const _0x38a162=[];for(let _0x221d5a=_0x3a3a4f;_0x221d5a<=_0x251539;_0x221d5a++)_0x38a162['push'](this[_0x576b85(0xd9)][_0x576b85(0xc1)](_0x3a9912,_0x221d5a));_0x2bfd13[_0x576b85(0xd6)](_0x38a162);}return _0x2bfd13;})({'startRow':0x0,'endRow':this[_0x4b8edc(0xd9)][_0x4b8edc(0xbb)](),'startColumn':0x0,'endColumn':this[_0x4b8edc(0xd9)]['getMaxColumns']()}),_0x308846=await _0xa5f154[_0x4b8edc(0xbf)](_0x2e1474),_0x42be32=this[_0x4b8edc(0xce)](),_0xe00ee3=[];for(let _0x36c8fe=0x0;_0x36c8fe<_0x308846['length'];_0x36c8fe++){const _0x2ff1f8=_0x308846[_0x36c8fe],_0x4c5849=_0x2ff1f8[_0x4b8edc(0xdb)],_0x560196=[];for(let _0x501178=0x0;_0x501178<_0x4c5849[_0x4b8edc(0xf1)];_0x501178++){const _0x4e3aef=_0x4c5849[_0x501178],_0x5310f9=_0x444ea1[_0x4b8edc(0xe0)](_0x4e3aef,_0x42be32);_0x5310f9&&_0x560196['push'](_0x5310f9);}if(_0x560196['length']>0x0){if(_0x2ff1f8[_0x4b8edc(0xdb)]=_0x560196,!(_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xee)]>=_0x42be32[_0x4b8edc(0xee)]&&_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xee)]<=_0x42be32[_0x4b8edc(0xef)]&&_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xd7)]>=_0x42be32[_0x4b8edc(0xd7)]&&_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xd7)]<=_0x42be32[_0x4b8edc(0xc7)])){const _0x18cefe=_0x560196[0x0],_0x5339c9=_0x18cefe['startRow']-_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xee)],_0x37ceda=_0x18cefe[_0x4b8edc(0xd7)]-_0x2ff1f8[_0x4b8edc(0xe3)][_0x4b8edc(0xd7)];_0x2ff1f8[_0x4b8edc(0xe7)]=await _0xa5f154[_0x4b8edc(0xc6)](_0x2ff1f8['formula'],_0x37ceda,_0x5339c9),_0x2ff1f8[_0x4b8edc(0xe3)]={'startRow':_0x18cefe[_0x4b8edc(0xee)],'endRow':_0x18cefe[_0x4b8edc(0xee)],'startColumn':_0x18cefe[_0x4b8edc(0xd7)],'endColumn':_0x18cefe[_0x4b8edc(0xd7)]};}_0xe00ee3[_0x4b8edc(0xd6)](_0x2ff1f8);}}return _0xe00ee3;}async[_0x4d3404(0xdd)](){const _0x17748f=_0x4d3404;return(await this[_0x17748f(0xf0)]())['map'](_0x5a6c7b[_0x17748f(0xe9)]);}[_0x4d3404(0xb8)](_0x16553d){const _0x136b43=_0x4d3404,_0x836fa2=this[_0x136b43(0xc5)][_0x136b43(0xd1)](_0x5a6c7b[_0x136b43(0xca)]),_0x598cde=(({startRow:_0x159da8,endRow:_0x2eb1b3,startColumn:_0x4ccf82,endColumn:_0x5db84f})=>{const _0xf49a6e=_0x136b43,_0x385ced=[];for(let _0x2f4ee1=_0x159da8;_0x2f4ee1<=_0x2eb1b3;_0x2f4ee1++){const _0x2a25ed=[];for(let _0x376591=_0x4ccf82;_0x376591<=_0x5db84f;_0x376591++)_0x2a25ed[_0xf49a6e(0xd6)](this[_0xf49a6e(0xd9)][_0xf49a6e(0xc1)](_0x2f4ee1,_0x376591));_0x385ced['push'](_0x2a25ed);}return _0x385ced;})({'startRow':0x0,'endRow':this[_0x136b43(0xd9)][_0x136b43(0xbb)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x136b43(0xcf)]()});_0x836fa2[_0x136b43(0xc3)](_0x16553d);const _0x48f7b7=_0x836fa2['getAllStyleUsages'](_0x598cde,this['_workbook'],this[_0x136b43(0xd9)]),_0x19e1d6=this['getRange'](),_0x2b0c8e=[];for(let _0x71cdd0=0x0;_0x71cdd0<_0x48f7b7['length'];_0x71cdd0++){const _0x290a4b=_0x48f7b7[_0x71cdd0],_0x5c387c=_0x290a4b['filledRanges'],_0x3101ef=[];for(let _0x35f19d=0x0;_0x35f19d<_0x5c387c[_0x136b43(0xf1)];_0x35f19d++){const _0xe64e51=_0x5c387c[_0x35f19d],_0x383071=_0x444ea1[_0x136b43(0xe0)](_0xe64e51,_0x19e1d6);_0x383071&&_0x3101ef[_0x136b43(0xd6)](_0x383071);}_0x3101ef['length']>0x0&&(_0x290a4b[_0x136b43(0xdb)]=_0x3101ef,_0x2b0c8e[_0x136b43(0xd6)](_0x290a4b));}return _0x2b0c8e;}[_0x4d3404(0xb7)](_0x50379e){const _0x6947b9=_0x4d3404;return this[_0x6947b9(0xb8)](_0x50379e)[_0x6947b9(0xba)](_0x5a6c7b['styleToA1']);}[_0x4d3404(0xd3)](_0x531159){const _0x5ae6cf=_0x4d3404,_0x44da79=this[_0x5ae6cf(0xc5)][_0x5ae6cf(0xd1)](_0x5a6c7b[_0x5ae6cf(0xc4)]),_0x502687=this[_0x5ae6cf(0xce)]();return _0x44da79[_0x5ae6cf(0xc3)](_0x531159),_0x44da79[_0x5ae6cf(0xe5)](this[_0x5ae6cf(0xd9)],_0x502687['startRow'],_0x502687['endRow'],_0x502687['startColumn'],_0x502687[_0x5ae6cf(0xc7)]);}[_0x4d3404(0xd4)](_0x2d9f89){const _0xf6019e=_0x4d3404,_0x55c1a2=this[_0xf6019e(0xd3)](_0x2d9f89);return this[_0xf6019e(0xc5)][_0xf6019e(0xd1)](_0x5a6c7b['ISizeUsageAnalyzer'])['toA1'](_0x55c1a2);}}_0x5eb38c[_0x4d3404(0xed)][_0x4d3404(0xe6)](_0x3ffe5f);}));function _0x3289(){const _0x4162db=['3830310LXffbB','2YsYfch','11IUCxqG','getStyleUsagesAsA1','getStyleUsages','styleToA1','map','getMaxRows','object','FUniver','41011670yylBTT','getAllFormulaUsages','1760037ZyZKIL','getCellRaw','getCellDataGrid','updateConfig','ISizeUsageAnalyzer','_injector','moveFormulaRefOffset','endColumn','getLintErrors','_workbook','IStyleUsageAnalyzer','FWorksheet','toA1','9DHBzsW','getRange','getMaxColumns','amd','get','UniverSheetsDataValidationFacade','getSizeUsages','getSizeUsagesAsA1','9412782MOTRNu','push','startColumn','72yqHbZY','_worksheet','UniverSheetsFacade','filledRanges','getAllStyleUsages','getFormulaUsagesAsA1','871713tCcPVX','1759356hltkNo','getIntersectRange','@univerjs/sheets/facade','9583077tMAZrx','firstOccurrence','UniverProSheetsMcp','getAllSizeUsages','extend','formula','IFormulaUsageAnalyzer','formulaToA1','UniverCore','UniverSheetsFormulaFacade','@univerjs/core','FRange','startRow','endRow','getFormulaUsages','length'];_0x3289=function(){return _0x4162db;};return _0x3289();}
|