@univerjs-pro/sheets-mcp 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3
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/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d4ceb=_0x1232;function _0x2c71(){const _0x116a8c=['162402OcGdLA','168ARPTyD','endRow','469892DbuFij','getMaxRows','_worksheet','getRange','getCellRaw','get','updateConfig','326084gpEdcG','2375020cebmVM','startRow','getCellDataGrid','map','startColumn','72185RkixOh','getLintErrors','getStyleUsagesAsA1','length','getAllFormulaUsages','toA1','getAllDataValidationErrorAsync','getAllFormulaError','formula','getAllSizeUsages','push','_injector','moveFormulaRefOffset','filledRanges','firstOccurrence','extend','16989Ssezsy','156rQDase','3MMJocJ','getSizeUsages','_workbook','getStyleUsages','getAllStyleUsages','getSizeUsagesAsA1','getActiveWorkbook','2984040majmRe','getFormulaUsages','getMaxColumns','endColumn'];_0x2c71=function(){return _0x116a8c;};return _0x2c71();}function _0x1232(_0x1d706f,_0x312aee){_0x1d706f=_0x1d706f-0xc7;const _0x2c71f1=_0x2c71();let _0x1232b8=_0x2c71f1[_0x1d706f];return _0x1232b8;}(function(_0x92b5a1,_0x16c96e){const _0x599881=_0x1232,_0x3baabe=_0x92b5a1();while(!![]){try{const _0x6ab3c2=parseInt(_0x599881(0xce))/0x1+parseInt(_0x599881(0xf1))/0x2+parseInt(_0x599881(0xe6))/0x3*(parseInt(_0x599881(0xc7))/0x4)+-parseInt(_0x599881(0xd4))/0x5*(parseInt(_0x599881(0xe5))/0x6)+-parseInt(_0x599881(0xe4))/0x7*(parseInt(_0x599881(0xf2))/0x8)+parseInt(_0x599881(0xed))/0x9+-parseInt(_0x599881(0xcf))/0xa;if(_0x6ab3c2===_0x16c96e)break;else _0x3baabe['push'](_0x3baabe['shift']());}catch(_0x31dc38){_0x3baabe['push'](_0x3baabe['shift']());}}}(_0x2c71,0x2efe7));import{FUniver as _0x4856b7}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x59ee01,FWorksheet as _0x195e22,FRange as _0xe409dd}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x4ca687,formulaToA1 as _0x2861c1,IStyleUsageAnalyzer as _0x2a448c,styleToA1 as _0x2c49fa,ISizeUsageAnalyzer as _0x171ef4}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x1b8ea1}from'@univerjs/core';class z extends _0x4856b7{async[_0x3d4ceb(0xd5)](){const _0x2276cf=_0x3d4ceb;return this[_0x2276cf(0xec)]()[_0x2276cf(0xd5)]();}}_0x4856b7[_0x3d4ceb(0xe3)](z);class _ extends _0x59ee01{async[_0x3d4ceb(0xd5)](){const _0x97f156=_0x3d4ceb,_0x37c75d=this[_0x97f156(0xdb)](),_0x4b0201=await this[_0x97f156(0xda)]();return{'formulaErrors':_0x37c75d,'dataValidationErrors':_0x4b0201};}}_0x59ee01[_0x3d4ceb(0xe3)](_);class x extends _0x195e22{async[_0x3d4ceb(0xee)](){const _0xc448f1=_0x3d4ceb,_0x55ba02=this[_0xc448f1(0xdf)][_0xc448f1(0xcc)](_0x4ca687),_0x326e04=this[_0xc448f1(0xca)](0x0,0x0,this['getMaxRows'](),this['getMaxColumns']())['getCellDataGrid']();return await _0x55ba02[_0xc448f1(0xd8)](_0x326e04);}async['getFormulaUsagesAsA1'](){const _0x1b8f3f=_0x3d4ceb;return(await this['getFormulaUsages']())[_0x1b8f3f(0xd2)](_0x2861c1);}[_0x3d4ceb(0xe9)](_0x31ecd9){const _0x3e54ba=_0x3d4ceb,_0x482061=this[_0x3e54ba(0xdf)][_0x3e54ba(0xcc)](_0x2a448c),_0x2e9ad1=this[_0x3e54ba(0xca)](0x0,0x0,this[_0x3e54ba(0xc8)](),this[_0x3e54ba(0xef)]())[_0x3e54ba(0xd1)]();return _0x482061['updateConfig'](_0x31ecd9),_0x482061[_0x3e54ba(0xea)](_0x2e9ad1,this['_workbook'],this[_0x3e54ba(0xc9)]);}[_0x3d4ceb(0xd6)](_0x35e275){const _0x3e781d=_0x3d4ceb;return this['getStyleUsages'](_0x35e275)[_0x3e781d(0xd2)](_0x2c49fa);}[_0x3d4ceb(0xe7)](_0xbce66e){const _0x3570a6=_0x3d4ceb,_0x3eaec5=this[_0x3570a6(0xdf)][_0x3570a6(0xcc)](_0x171ef4);return _0x3eaec5[_0x3570a6(0xcd)](_0xbce66e),_0x3eaec5[_0x3570a6(0xdd)](this[_0x3570a6(0xc9)]);}[_0x3d4ceb(0xeb)](_0x2cb7cc){const _0x2e5b85=_0x3d4ceb,_0x357808=this[_0x2e5b85(0xdf)][_0x2e5b85(0xcc)](_0x171ef4);_0x357808[_0x2e5b85(0xcd)](_0x2cb7cc);const _0x673b18=_0x357808['getAllSizeUsages'](this[_0x2e5b85(0xc9)]);return _0x357808[_0x2e5b85(0xd9)](_0x673b18);}}_0x195e22[_0x3d4ceb(0xe3)](x);class M extends _0xe409dd{async[_0x3d4ceb(0xee)](){const _0x2ca102=_0x3d4ceb,_0x117b3f=this[_0x2ca102(0xdf)][_0x2ca102(0xcc)](_0x4ca687),_0x17b271=(({startRow:_0x39e52b,endRow:_0x9dffcf,startColumn:_0x2c519f,endColumn:_0x504b51})=>{const _0x4e9822=_0x2ca102,_0x256930=[];for(let _0x475b34=_0x39e52b;_0x475b34<=_0x9dffcf;_0x475b34++){const _0x40c21c=[];for(let _0x4ba7a8=_0x2c519f;_0x4ba7a8<=_0x504b51;_0x4ba7a8++)_0x40c21c['push'](this[_0x4e9822(0xc9)][_0x4e9822(0xcb)](_0x475b34,_0x4ba7a8));_0x256930['push'](_0x40c21c);}return _0x256930;})({'startRow':0x0,'endRow':this['_worksheet'][_0x2ca102(0xc8)](),'startColumn':0x0,'endColumn':this[_0x2ca102(0xc9)][_0x2ca102(0xef)]()}),_0x150670=await _0x117b3f[_0x2ca102(0xd8)](_0x17b271),_0x5e8ca0=this[_0x2ca102(0xca)](),_0x24eafb=[];for(let _0x3b5c69=0x0;_0x3b5c69<_0x150670[_0x2ca102(0xd7)];_0x3b5c69++){const _0x5b0269=_0x150670[_0x3b5c69],_0x39b0ec=_0x5b0269[_0x2ca102(0xe1)],_0x152313=[];for(let _0x16f5c9=0x0;_0x16f5c9<_0x39b0ec['length'];_0x16f5c9++){const _0x2e0fb6=_0x39b0ec[_0x16f5c9],_0x452971=_0x1b8ea1(_0x2e0fb6,_0x5e8ca0);_0x452971&&_0x152313[_0x2ca102(0xde)](_0x452971);}if(_0x152313['length']>0x0){if(_0x5b0269['filledRanges']=_0x152313,!(_0x5b0269[_0x2ca102(0xe2)][_0x2ca102(0xd0)]>=_0x5e8ca0[_0x2ca102(0xd0)]&&_0x5b0269['firstOccurrence'][_0x2ca102(0xd0)]<=_0x5e8ca0[_0x2ca102(0xf3)]&&_0x5b0269[_0x2ca102(0xe2)][_0x2ca102(0xd3)]>=_0x5e8ca0[_0x2ca102(0xd3)]&&_0x5b0269[_0x2ca102(0xe2)][_0x2ca102(0xd3)]<=_0x5e8ca0[_0x2ca102(0xf0)])){const _0x35cdfb=_0x152313[0x0],_0x398033=_0x35cdfb[_0x2ca102(0xd0)]-_0x5b0269['firstOccurrence'][_0x2ca102(0xd0)],_0x3dd566=_0x35cdfb['startColumn']-_0x5b0269[_0x2ca102(0xe2)][_0x2ca102(0xd3)];_0x5b0269[_0x2ca102(0xdc)]=await _0x117b3f[_0x2ca102(0xe0)](_0x5b0269[_0x2ca102(0xdc)],_0x3dd566,_0x398033),_0x5b0269[_0x2ca102(0xe2)]={'startRow':_0x35cdfb[_0x2ca102(0xd0)],'endRow':_0x35cdfb['startRow'],'startColumn':_0x35cdfb[_0x2ca102(0xd3)],'endColumn':_0x35cdfb[_0x2ca102(0xd3)]};}_0x24eafb[_0x2ca102(0xde)](_0x5b0269);}}return _0x24eafb;}async['getFormulaUsagesAsA1'](){const _0x14e463=_0x3d4ceb;return(await this[_0x14e463(0xee)]())[_0x14e463(0xd2)](_0x2861c1);}[_0x3d4ceb(0xe9)](_0x3eeb1b){const _0x42c18a=_0x3d4ceb,_0x8d0c1c=this[_0x42c18a(0xdf)]['get'](_0x2a448c),_0xd2f02d=(({startRow:_0x2a30d7,endRow:_0x2a224d,startColumn:_0x3e09cd,endColumn:_0x3fc27b})=>{const _0x43231c=_0x42c18a,_0x284173=[];for(let _0x4ef71a=_0x2a30d7;_0x4ef71a<=_0x2a224d;_0x4ef71a++){const _0x5d6543=[];for(let _0x3e5f63=_0x3e09cd;_0x3e5f63<=_0x3fc27b;_0x3e5f63++)_0x5d6543[_0x43231c(0xde)](this[_0x43231c(0xc9)][_0x43231c(0xcb)](_0x4ef71a,_0x3e5f63));_0x284173[_0x43231c(0xde)](_0x5d6543);}return _0x284173;})({'startRow':0x0,'endRow':this[_0x42c18a(0xc9)][_0x42c18a(0xc8)](),'startColumn':0x0,'endColumn':this[_0x42c18a(0xc9)][_0x42c18a(0xef)]()});_0x8d0c1c['updateConfig'](_0x3eeb1b);const _0x3f9b85=_0x8d0c1c[_0x42c18a(0xea)](_0xd2f02d,this[_0x42c18a(0xe8)],this[_0x42c18a(0xc9)]),_0x126603=this[_0x42c18a(0xca)](),_0xfc6ef5=[];for(let _0x31f607=0x0;_0x31f607<_0x3f9b85['length'];_0x31f607++){const _0x4f0625=_0x3f9b85[_0x31f607],_0x11e892=_0x4f0625[_0x42c18a(0xe1)],_0x4c00d9=[];for(let _0x14251f=0x0;_0x14251f<_0x11e892[_0x42c18a(0xd7)];_0x14251f++){const _0x2059f3=_0x11e892[_0x14251f],_0x3491ec=_0x1b8ea1(_0x2059f3,_0x126603);_0x3491ec&&_0x4c00d9[_0x42c18a(0xde)](_0x3491ec);}_0x4c00d9[_0x42c18a(0xd7)]>0x0&&(_0x4f0625[_0x42c18a(0xe1)]=_0x4c00d9,_0xfc6ef5[_0x42c18a(0xde)](_0x4f0625));}return _0xfc6ef5;}[_0x3d4ceb(0xd6)](_0x1be47c){const _0x418882=_0x3d4ceb;return this[_0x418882(0xe9)](_0x1be47c)['map'](_0x2c49fa);}[_0x3d4ceb(0xe7)](_0x4b2540){const _0x4290a8=_0x3d4ceb,_0x23d577=this['_injector'][_0x4290a8(0xcc)](_0x171ef4),_0x5167a8=this[_0x4290a8(0xca)]();return _0x23d577[_0x4290a8(0xcd)](_0x4b2540),_0x23d577[_0x4290a8(0xdd)](this[_0x4290a8(0xc9)],_0x5167a8[_0x4290a8(0xd0)],_0x5167a8[_0x4290a8(0xf3)],_0x5167a8[_0x4290a8(0xd3)],_0x5167a8[_0x4290a8(0xf0)]);}['getSizeUsagesAsA1'](_0x4a83b2){const _0x1abd32=_0x3d4ceb,_0x484e69=this[_0x1abd32(0xe7)](_0x4a83b2);return this[_0x1abd32(0xdf)]['get'](_0x171ef4)[_0x1abd32(0xd9)](_0x484e69);}}_0xe409dd[_0x3d4ceb(0xe3)](M);
|