@univerjs-pro/sheets-mcp 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0
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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x123059=_0x2747;(function(_0x25e66b,_0xaaf04e){const _0x15391d=_0x2747,_0x9900fb=_0x25e66b();while(!![]){try{const _0x4efbf8=parseInt(_0x15391d(0x1f9))/0x1*(parseInt(_0x15391d(0x203))/0x2)+-parseInt(_0x15391d(0x1f6))/0x3+-parseInt(_0x15391d(0x1ef))/0x4*(-parseInt(_0x15391d(0x1fa))/0x5)+parseInt(_0x15391d(0x1ed))/0x6+-parseInt(_0x15391d(0x210))/0x7+parseInt(_0x15391d(0x1f7))/0x8+-parseInt(_0x15391d(0x204))/0x9;if(_0x4efbf8===_0xaaf04e)break;else _0x9900fb['push'](_0x9900fb['shift']());}catch(_0x2fd1e1){_0x9900fb['push'](_0x9900fb['shift']());}}}(_0x4af4,0xaaef1));const U=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');function _0x4af4(){const _0x3f559a=['formulaToA1','getCellDataGrid','get','map','3877290eroXzN','getAllStyleUsages','2292VMaQqz','endRow','getMaxRows','push','length','endColumn','firstOccurrence','2262255MExGDC','10151744nnipZf','formula','140629qKoLRw','1505ZtjBMv','moveFormulaRefOffset','getMaxColumns','getAllSizeUsages','getAllDataValidationErrorAsync','FUniver','startColumn','startRow','filledRanges','2AAaFMr','1572462fnWwNG','getStyleUsages','getSizeUsages','ISizeUsageAnalyzer','_worksheet','IStyleUsageAnalyzer','getRange','styleToA1','FWorksheet','getActiveWorkbook','extend','getSizeUsagesAsA1','4195359LnAFOb','getFormulaUsagesAsA1','getFormulaUsages','FWorkbook','_injector','FRange','getIntersectRange','updateConfig','IFormulaUsageAnalyzer','_workbook','toA1','getAllFormulaError','getAllFormulaUsages','getCellRaw','getLintErrors','getStyleUsagesAsA1'];_0x4af4=function(){return _0x3f559a;};return _0x4af4();}const f=require('@univerjs/sheets/facade'),g=require('@univerjs-pro/sheets-mcp'),m=require('@univerjs/core');function _0x2747(_0x1dda0a,_0x4c11a8){_0x1dda0a=_0x1dda0a-0x1ed;const _0x4af422=_0x4af4();let _0x27479b=_0x4af422[_0x1dda0a];return _0x27479b;}class y extends U[_0x123059(0x1ff)]{async[_0x123059(0x21e)](){const _0x4d7b0e=_0x123059;return this[_0x4d7b0e(0x20d)]()[_0x4d7b0e(0x21e)]();}}U[_0x123059(0x1ff)][_0x123059(0x20e)](y);class C extends f[_0x123059(0x213)]{async[_0x123059(0x21e)](){const _0x39968e=_0x123059,_0x26f9d1=this[_0x39968e(0x21b)](),_0xa0ca5c=await this[_0x39968e(0x1fe)]();return{'formulaErrors':_0x26f9d1,'dataValidationErrors':_0xa0ca5c};}}f[_0x123059(0x213)][_0x123059(0x20e)](C);class z extends f[_0x123059(0x20c)]{async[_0x123059(0x212)](){const _0x287d8b=_0x123059,_0xfec68d=this[_0x287d8b(0x214)][_0x287d8b(0x222)](g[_0x287d8b(0x218)]),_0x33bde9=this[_0x287d8b(0x20a)](0x0,0x0,this[_0x287d8b(0x1f1)](),this['getMaxColumns']())[_0x287d8b(0x221)]();return await _0xfec68d['getAllFormulaUsages'](_0x33bde9);}async[_0x123059(0x211)](){const _0x5bba00=_0x123059;return(await this[_0x5bba00(0x212)]())[_0x5bba00(0x223)](g['formulaToA1']);}[_0x123059(0x205)](_0x447ec7){const _0x4d56a3=_0x123059,_0x7c0ceb=this['_injector']['get'](g[_0x4d56a3(0x209)]),_0x2a266a=this[_0x4d56a3(0x20a)](0x0,0x0,this[_0x4d56a3(0x1f1)](),this[_0x4d56a3(0x1fc)]())[_0x4d56a3(0x221)]();return _0x7c0ceb[_0x4d56a3(0x217)](_0x447ec7),_0x7c0ceb[_0x4d56a3(0x1ee)](_0x2a266a,this[_0x4d56a3(0x219)],this['_worksheet']);}['getStyleUsagesAsA1'](_0x432588){const _0x1b73a4=_0x123059;return this[_0x1b73a4(0x205)](_0x432588)[_0x1b73a4(0x223)](g[_0x1b73a4(0x20b)]);}[_0x123059(0x206)](_0x514e16){const _0x126dea=_0x123059,_0x59ee94=this[_0x126dea(0x214)]['get'](g[_0x126dea(0x207)]);return _0x59ee94[_0x126dea(0x217)](_0x514e16),_0x59ee94[_0x126dea(0x1fd)](this[_0x126dea(0x208)]);}[_0x123059(0x20f)](_0x5b1a52){const _0x551c44=_0x123059,_0xaf5a25=this['_injector']['get'](g[_0x551c44(0x207)]);_0xaf5a25[_0x551c44(0x217)](_0x5b1a52);const _0x5e89bf=_0xaf5a25[_0x551c44(0x1fd)](this[_0x551c44(0x208)]);return _0xaf5a25[_0x551c44(0x21a)](_0x5e89bf);}}f[_0x123059(0x20c)][_0x123059(0x20e)](z);class S extends f[_0x123059(0x215)]{async[_0x123059(0x212)](){const _0x40b768=_0x123059,_0x232bf3=this['_injector'][_0x40b768(0x222)](g[_0x40b768(0x218)]),_0xae8c4c=(({startRow:_0x4b7db2,endRow:_0x6e9038,startColumn:_0x54a1bc,endColumn:_0x20f5ef})=>{const _0x3d25f8=_0x40b768,_0x4b1c24=[];for(let _0x3621b6=_0x4b7db2;_0x3621b6<=_0x6e9038;_0x3621b6++){const _0x4b37b4=[];for(let _0x3fb103=_0x54a1bc;_0x3fb103<=_0x20f5ef;_0x3fb103++)_0x4b37b4['push'](this['_worksheet'][_0x3d25f8(0x21d)](_0x3621b6,_0x3fb103));_0x4b1c24[_0x3d25f8(0x1f2)](_0x4b37b4);}return _0x4b1c24;})({'startRow':0x0,'endRow':this[_0x40b768(0x208)][_0x40b768(0x1f1)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x40b768(0x1fc)]()}),_0x209d9f=await _0x232bf3[_0x40b768(0x21c)](_0xae8c4c),_0x5d8719=this[_0x40b768(0x20a)](),_0x49a75e=[];for(let _0x55faf9=0x0;_0x55faf9<_0x209d9f[_0x40b768(0x1f3)];_0x55faf9++){const _0x1109a0=_0x209d9f[_0x55faf9],_0x538d15=_0x1109a0['filledRanges'],_0x574493=[];for(let _0x74c90d=0x0;_0x74c90d<_0x538d15[_0x40b768(0x1f3)];_0x74c90d++){const _0x434b04=_0x538d15[_0x74c90d],_0x91daf6=m[_0x40b768(0x216)](_0x434b04,_0x5d8719);_0x91daf6&&_0x574493[_0x40b768(0x1f2)](_0x91daf6);}if(_0x574493[_0x40b768(0x1f3)]>0x0){if(_0x1109a0[_0x40b768(0x202)]=_0x574493,!(_0x1109a0[_0x40b768(0x1f5)][_0x40b768(0x201)]>=_0x5d8719[_0x40b768(0x201)]&&_0x1109a0[_0x40b768(0x1f5)][_0x40b768(0x201)]<=_0x5d8719[_0x40b768(0x1f0)]&&_0x1109a0[_0x40b768(0x1f5)]['startColumn']>=_0x5d8719[_0x40b768(0x200)]&&_0x1109a0[_0x40b768(0x1f5)]['startColumn']<=_0x5d8719[_0x40b768(0x1f4)])){const _0x55da1f=_0x574493[0x0],_0x864d71=_0x55da1f['startRow']-_0x1109a0[_0x40b768(0x1f5)]['startRow'],_0x7431d6=_0x55da1f['startColumn']-_0x1109a0[_0x40b768(0x1f5)][_0x40b768(0x200)];_0x1109a0[_0x40b768(0x1f8)]=await _0x232bf3[_0x40b768(0x1fb)](_0x1109a0[_0x40b768(0x1f8)],_0x7431d6,_0x864d71),_0x1109a0[_0x40b768(0x1f5)]={'startRow':_0x55da1f[_0x40b768(0x201)],'endRow':_0x55da1f['startRow'],'startColumn':_0x55da1f[_0x40b768(0x200)],'endColumn':_0x55da1f[_0x40b768(0x200)]};}_0x49a75e[_0x40b768(0x1f2)](_0x1109a0);}}return _0x49a75e;}async[_0x123059(0x211)](){const _0x4d664c=_0x123059;return(await this['getFormulaUsages']())[_0x4d664c(0x223)](g[_0x4d664c(0x220)]);}[_0x123059(0x205)](_0x16ba0b){const _0x573d42=_0x123059,_0xc76bbc=this[_0x573d42(0x214)][_0x573d42(0x222)](g['IStyleUsageAnalyzer']),_0x13fbc7=(({startRow:_0x3d453e,endRow:_0x488457,startColumn:_0x24397b,endColumn:_0x272e8a})=>{const _0x264f3b=_0x573d42,_0x256f1e=[];for(let _0x417d7=_0x3d453e;_0x417d7<=_0x488457;_0x417d7++){const _0x28f7aa=[];for(let _0x3778c5=_0x24397b;_0x3778c5<=_0x272e8a;_0x3778c5++)_0x28f7aa['push'](this[_0x264f3b(0x208)]['getCellRaw'](_0x417d7,_0x3778c5));_0x256f1e[_0x264f3b(0x1f2)](_0x28f7aa);}return _0x256f1e;})({'startRow':0x0,'endRow':this[_0x573d42(0x208)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x573d42(0x208)]['getMaxColumns']()});_0xc76bbc[_0x573d42(0x217)](_0x16ba0b);const _0x52a404=_0xc76bbc[_0x573d42(0x1ee)](_0x13fbc7,this['_workbook'],this['_worksheet']),_0x4dbe2d=this[_0x573d42(0x20a)](),_0x6c8a91=[];for(let _0x2d9aac=0x0;_0x2d9aac<_0x52a404['length'];_0x2d9aac++){const _0x26c065=_0x52a404[_0x2d9aac],_0x2b5892=_0x26c065[_0x573d42(0x202)],_0x13c256=[];for(let _0x4bc8b7=0x0;_0x4bc8b7<_0x2b5892[_0x573d42(0x1f3)];_0x4bc8b7++){const _0x41c107=_0x2b5892[_0x4bc8b7],_0x3c59bb=m[_0x573d42(0x216)](_0x41c107,_0x4dbe2d);_0x3c59bb&&_0x13c256[_0x573d42(0x1f2)](_0x3c59bb);}_0x13c256[_0x573d42(0x1f3)]>0x0&&(_0x26c065['filledRanges']=_0x13c256,_0x6c8a91[_0x573d42(0x1f2)](_0x26c065));}return _0x6c8a91;}[_0x123059(0x21f)](_0x530ed7){const _0x25ede0=_0x123059;return this[_0x25ede0(0x205)](_0x530ed7)['map'](g[_0x25ede0(0x20b)]);}[_0x123059(0x206)](_0x2ed3b3){const _0x5c4e02=_0x123059,_0x50a9d8=this[_0x5c4e02(0x214)][_0x5c4e02(0x222)](g[_0x5c4e02(0x207)]),_0x57f881=this['getRange']();return _0x50a9d8[_0x5c4e02(0x217)](_0x2ed3b3),_0x50a9d8[_0x5c4e02(0x1fd)](this[_0x5c4e02(0x208)],_0x57f881[_0x5c4e02(0x201)],_0x57f881[_0x5c4e02(0x1f0)],_0x57f881[_0x5c4e02(0x200)],_0x57f881[_0x5c4e02(0x1f4)]);}[_0x123059(0x20f)](_0x596c90){const _0x3ccfc8=_0x123059,_0x2f45d8=this[_0x3ccfc8(0x206)](_0x596c90);return this[_0x3ccfc8(0x214)]['get'](g[_0x3ccfc8(0x207)])[_0x3ccfc8(0x21a)](_0x2f45d8);}}f[_0x123059(0x215)][_0x123059(0x20e)](S);
|