@univerjs-pro/sheets-mcp 0.15.2 → 0.15.3-insiders.20260131-cbd5fac
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 +12 -12
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4b7af7=_0x8f41;(function(_0x39587b,_0x387121){const _0x5897d1=_0x8f41,_0x21065f=_0x39587b();while(!![]){try{const _0x3a3afe=parseInt(_0x5897d1(0x1da))/0x1*(parseInt(_0x5897d1(0x1d6))/0x2)+-parseInt(_0x5897d1(0x1e3))/0x3*(-parseInt(_0x5897d1(0x1d1))/0x4)+parseInt(_0x5897d1(0x1ed))/0x5*(parseInt(_0x5897d1(0x1fd))/0x6)+parseInt(_0x5897d1(0x1e6))/0x7*(-parseInt(_0x5897d1(0x204))/0x8)+-parseInt(_0x5897d1(0x1ce))/0x9*(parseInt(_0x5897d1(0x1f1))/0xa)+-parseInt(_0x5897d1(0x202))/0xb+-parseInt(_0x5897d1(0x1f0))/0xc*(-parseInt(_0x5897d1(0x1fa))/0xd);if(_0x3a3afe===_0x387121)break;else _0x21065f['push'](_0x21065f['shift']());}catch(_0x1b3ed0){_0x21065f['push'](_0x21065f['shift']());}}}(_0x5200,0x5e352));const U=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const f=require('@univerjs/sheets/facade'),g=require('@univerjs-pro/sheets-mcp'),m=require('@univerjs/core');class y extends U[_0x4b7af7(0x1fb)]{async[_0x4b7af7(0x1f5)](){const _0x130a8f=_0x4b7af7;return this[_0x130a8f(0x1f8)]()[_0x130a8f(0x1f5)]();}}U['FUniver']['extend'](y);class C extends f[_0x4b7af7(0x1d9)]{async[_0x4b7af7(0x1f5)](){const _0x852f67=_0x4b7af7,_0x1a24e0=this[_0x852f67(0x1db)](),_0x2de35a=await this[_0x852f67(0x1fc)]();return{'formulaErrors':_0x1a24e0,'dataValidationErrors':_0x2de35a};}}f[_0x4b7af7(0x1d9)][_0x4b7af7(0x1e2)](C);class z extends f[_0x4b7af7(0x1ec)]{async[_0x4b7af7(0x1e9)](){const _0x1dd19f=_0x4b7af7,_0x206e3d=this[_0x1dd19f(0x1f6)][_0x1dd19f(0x1d0)](g[_0x1dd19f(0x1e7)]),_0x25159c=this[_0x1dd19f(0x1f3)](0x0,0x0,this['getMaxRows'](),this[_0x1dd19f(0x1d7)]())[_0x1dd19f(0x1f2)]();return await _0x206e3d[_0x1dd19f(0x1dd)](_0x25159c);}async[_0x4b7af7(0x1f9)](){const _0xbfd80d=_0x4b7af7;return(await this[_0xbfd80d(0x1e9)]())[_0xbfd80d(0x1e1)](g[_0xbfd80d(0x1ef)]);}[_0x4b7af7(0x1de)](_0x3d4bcb){const _0xea7792=_0x4b7af7,_0x115234=this[_0xea7792(0x1f6)]['get'](g[_0xea7792(0x1d2)]),_0x5a7c71=this[_0xea7792(0x1f3)](0x0,0x0,this[_0xea7792(0x1d4)](),this[_0xea7792(0x1d7)]())['getCellDataGrid']();return _0x115234[_0xea7792(0x1e8)](_0x3d4bcb),_0x115234[_0xea7792(0x1e5)](_0x5a7c71,this['_workbook'],this[_0xea7792(0x1e4)]);}[_0x4b7af7(0x1cf)](_0xe5815a){const _0x539107=_0x4b7af7;return this[_0x539107(0x1de)](_0xe5815a)[_0x539107(0x1e1)](g[_0x539107(0x1ff)]);}[_0x4b7af7(0x1eb)](_0x810655){const _0x223996=_0x4b7af7,_0x40c87a=this[_0x223996(0x1f6)][_0x223996(0x1d0)](g['ISizeUsageAnalyzer']);return _0x40c87a[_0x223996(0x1e8)](_0x810655),_0x40c87a['getAllSizeUsages'](this[_0x223996(0x1e4)]);}[_0x4b7af7(0x1ee)](_0x22c2e4){const _0x2f9c28=_0x4b7af7,_0x45c08f=this['_injector'][_0x2f9c28(0x1d0)](g[_0x2f9c28(0x1f4)]);_0x45c08f[_0x2f9c28(0x1e8)](_0x22c2e4);const _0x5ed10b=_0x45c08f[_0x2f9c28(0x1cd)](this[_0x2f9c28(0x1e4)]);return _0x45c08f[_0x2f9c28(0x1ea)](_0x5ed10b);}}f[_0x4b7af7(0x1ec)][_0x4b7af7(0x1e2)](z);function _0x5200(){const _0x13c5a0=['startRow','3383592Aquunk','FRange','getAllSizeUsages','10827VpAcZH','getStyleUsagesAsA1','get','4QsKBIJ','IStyleUsageAnalyzer','filledRanges','getMaxRows','push','282544SXnEIi','getMaxColumns','endRow','FWorkbook','1qdXIyN','getAllFormulaError','getCellRaw','getAllFormulaUsages','getStyleUsages','length','firstOccurrence','map','extend','1755561vSvZfT','_worksheet','getAllStyleUsages','7nSJWHB','IFormulaUsageAnalyzer','updateConfig','getFormulaUsages','toA1','getSizeUsages','FWorksheet','1052490KRwwFK','getSizeUsagesAsA1','formulaToA1','60iIiMib','4010SLxKbB','getCellDataGrid','getRange','ISizeUsageAnalyzer','getLintErrors','_injector','startColumn','getActiveWorkbook','getFormulaUsagesAsA1','2056353eSBedy','FUniver','getAllDataValidationErrorAsync','6JbdPHA','endColumn','styleToA1','formula','_workbook','4802996XoHXue'];_0x5200=function(){return _0x13c5a0;};return _0x5200();}function _0x8f41(_0x55896a,_0x3b2cde){_0x55896a=_0x55896a-0x1cd;const _0x520096=_0x5200();let _0x8f41d6=_0x520096[_0x55896a];return _0x8f41d6;}class S extends f[_0x4b7af7(0x205)]{async[_0x4b7af7(0x1e9)](){const _0x30f575=_0x4b7af7,_0x21774b=this[_0x30f575(0x1f6)][_0x30f575(0x1d0)](g[_0x30f575(0x1e7)]),_0x3a446c=(({startRow:_0x59bb53,endRow:_0x5dc6c1,startColumn:_0x25d404,endColumn:_0x59056c})=>{const _0x2325bf=_0x30f575,_0x1920c3=[];for(let _0x3d5716=_0x59bb53;_0x3d5716<=_0x5dc6c1;_0x3d5716++){const _0x5bfc16=[];for(let _0x4bd81a=_0x25d404;_0x4bd81a<=_0x59056c;_0x4bd81a++)_0x5bfc16[_0x2325bf(0x1d5)](this[_0x2325bf(0x1e4)][_0x2325bf(0x1dc)](_0x3d5716,_0x4bd81a));_0x1920c3[_0x2325bf(0x1d5)](_0x5bfc16);}return _0x1920c3;})({'startRow':0x0,'endRow':this[_0x30f575(0x1e4)][_0x30f575(0x1d4)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x30f575(0x1d7)]()}),_0x25edc4=await _0x21774b['getAllFormulaUsages'](_0x3a446c),_0x29b072=this[_0x30f575(0x1f3)](),_0x53bce6=[];for(let _0x3fd9ee=0x0;_0x3fd9ee<_0x25edc4[_0x30f575(0x1df)];_0x3fd9ee++){const _0x47d807=_0x25edc4[_0x3fd9ee],_0x4ff685=_0x47d807['filledRanges'],_0x296457=[];for(let _0x5dbd9f=0x0;_0x5dbd9f<_0x4ff685[_0x30f575(0x1df)];_0x5dbd9f++){const _0x14a740=_0x4ff685[_0x5dbd9f],_0x2f75a7=m['getIntersectRange'](_0x14a740,_0x29b072);_0x2f75a7&&_0x296457[_0x30f575(0x1d5)](_0x2f75a7);}if(_0x296457[_0x30f575(0x1df)]>0x0){if(_0x47d807['filledRanges']=_0x296457,!(_0x47d807[_0x30f575(0x1e0)][_0x30f575(0x203)]>=_0x29b072['startRow']&&_0x47d807['firstOccurrence']['startRow']<=_0x29b072[_0x30f575(0x1d8)]&&_0x47d807['firstOccurrence'][_0x30f575(0x1f7)]>=_0x29b072[_0x30f575(0x1f7)]&&_0x47d807[_0x30f575(0x1e0)][_0x30f575(0x1f7)]<=_0x29b072[_0x30f575(0x1fe)])){const _0x2d7ffe=_0x296457[0x0],_0x247dff=_0x2d7ffe[_0x30f575(0x203)]-_0x47d807[_0x30f575(0x1e0)][_0x30f575(0x203)],_0x4524dc=_0x2d7ffe[_0x30f575(0x1f7)]-_0x47d807[_0x30f575(0x1e0)]['startColumn'];_0x47d807[_0x30f575(0x200)]=await _0x21774b['moveFormulaRefOffset'](_0x47d807['formula'],_0x4524dc,_0x247dff),_0x47d807[_0x30f575(0x1e0)]={'startRow':_0x2d7ffe['startRow'],'endRow':_0x2d7ffe[_0x30f575(0x203)],'startColumn':_0x2d7ffe[_0x30f575(0x1f7)],'endColumn':_0x2d7ffe[_0x30f575(0x1f7)]};}_0x53bce6[_0x30f575(0x1d5)](_0x47d807);}}return _0x53bce6;}async[_0x4b7af7(0x1f9)](){const _0x3dd9d1=_0x4b7af7;return(await this[_0x3dd9d1(0x1e9)]())[_0x3dd9d1(0x1e1)](g[_0x3dd9d1(0x1ef)]);}[_0x4b7af7(0x1de)](_0x18415a){const _0x264e8b=_0x4b7af7,_0x12f7d1=this[_0x264e8b(0x1f6)][_0x264e8b(0x1d0)](g['IStyleUsageAnalyzer']),_0x3ad466=(({startRow:_0x26726e,endRow:_0x3275ed,startColumn:_0x5b3934,endColumn:_0x5e6699})=>{const _0x232263=_0x264e8b,_0x1d2e18=[];for(let _0x188975=_0x26726e;_0x188975<=_0x3275ed;_0x188975++){const _0x3a3c38=[];for(let _0x18df6a=_0x5b3934;_0x18df6a<=_0x5e6699;_0x18df6a++)_0x3a3c38[_0x232263(0x1d5)](this[_0x232263(0x1e4)][_0x232263(0x1dc)](_0x188975,_0x18df6a));_0x1d2e18[_0x232263(0x1d5)](_0x3a3c38);}return _0x1d2e18;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x264e8b(0x1e4)][_0x264e8b(0x1d7)]()});_0x12f7d1['updateConfig'](_0x18415a);const _0x4874c3=_0x12f7d1[_0x264e8b(0x1e5)](_0x3ad466,this[_0x264e8b(0x201)],this[_0x264e8b(0x1e4)]),_0x271fc1=this[_0x264e8b(0x1f3)](),_0x3492f6=[];for(let _0x44920b=0x0;_0x44920b<_0x4874c3[_0x264e8b(0x1df)];_0x44920b++){const _0x1dc277=_0x4874c3[_0x44920b],_0x55fe9a=_0x1dc277[_0x264e8b(0x1d3)],_0x48a608=[];for(let _0x1ddd01=0x0;_0x1ddd01<_0x55fe9a[_0x264e8b(0x1df)];_0x1ddd01++){const _0x207f57=_0x55fe9a[_0x1ddd01],_0x3cc88a=m['getIntersectRange'](_0x207f57,_0x271fc1);_0x3cc88a&&_0x48a608[_0x264e8b(0x1d5)](_0x3cc88a);}_0x48a608[_0x264e8b(0x1df)]>0x0&&(_0x1dc277[_0x264e8b(0x1d3)]=_0x48a608,_0x3492f6[_0x264e8b(0x1d5)](_0x1dc277));}return _0x3492f6;}[_0x4b7af7(0x1cf)](_0x840ecb){const _0x2fcea7=_0x4b7af7;return this[_0x2fcea7(0x1de)](_0x840ecb)['map'](g[_0x2fcea7(0x1ff)]);}[_0x4b7af7(0x1eb)](_0x35730e){const _0x5c1767=_0x4b7af7,_0x3f951f=this['_injector'][_0x5c1767(0x1d0)](g['ISizeUsageAnalyzer']),_0x568a25=this[_0x5c1767(0x1f3)]();return _0x3f951f[_0x5c1767(0x1e8)](_0x35730e),_0x3f951f['getAllSizeUsages'](this[_0x5c1767(0x1e4)],_0x568a25[_0x5c1767(0x203)],_0x568a25[_0x5c1767(0x1d8)],_0x568a25[_0x5c1767(0x1f7)],_0x568a25['endColumn']);}[_0x4b7af7(0x1ee)](_0x319bdc){const _0x465a34=_0x4b7af7,_0x2841fe=this[_0x465a34(0x1eb)](_0x319bdc);return this['_injector']['get'](g[_0x465a34(0x1f4)])['toA1'](_0x2841fe);}}f[_0x4b7af7(0x205)][_0x4b7af7(0x1e2)](S);
|