@univerjs-pro/sheets-mcp 0.15.2 → 0.15.3-insiders.20260131-b9b8805
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 _0xd1c17a=_0xf5b2;(function(_0x46c607,_0x10977c){const _0x34d051=_0xf5b2,_0x736852=_0x46c607();while(!![]){try{const _0x2dc9ca=-parseInt(_0x34d051(0xa2))/0x1+parseInt(_0x34d051(0x94))/0x2*(parseInt(_0x34d051(0xb7))/0x3)+-parseInt(_0x34d051(0xae))/0x4*(-parseInt(_0x34d051(0x9b))/0x5)+-parseInt(_0x34d051(0xb5))/0x6+-parseInt(_0x34d051(0xaf))/0x7+-parseInt(_0x34d051(0xa7))/0x8+parseInt(_0x34d051(0xa3))/0x9;if(_0x2dc9ca===_0x10977c)break;else _0x736852['push'](_0x736852['shift']());}catch(_0x4e698d){_0x736852['push'](_0x736852['shift']());}}}(_0x3486,0x85621));const U=require('@univerjs/core/facade');function _0xf5b2(_0x2bd148,_0x254f5d){_0x2bd148=_0x2bd148-0x87;const _0x3486a7=_0x3486();let _0xf5b2ea=_0x3486a7[_0x2bd148];return _0xf5b2ea;}function _0x3486(){const _0x391f31=['IFormulaUsageAnalyzer','getMaxRows','IStyleUsageAnalyzer','extend','2165udqmzn','formulaToA1','getFormulaUsages','_workbook','getRange','getAllStyleUsages','firstOccurrence','120100JnpNmO','5442786ntEbVA','updateConfig','_injector','getAllFormulaUsages','1470136jlohJT','FWorksheet','startRow','startColumn','toA1','moveFormulaRefOffset','filledRanges','564ZYCbfe','120316CQhODI','length','getStyleUsagesAsA1','getLintErrors','getAllFormulaError','push','5033412OgmjXn','getCellDataGrid','21hYmoqC','ISizeUsageAnalyzer','getStyleUsages','getMaxColumns','FWorkbook','getAllSizeUsages','FUniver','getSizeUsagesAsA1','formula','styleToA1','getIntersectRange','map','endColumn','endRow','get','getSizeUsages','getCellRaw','297282QzvVLm','getActiveWorkbook','_worksheet'];_0x3486=function(){return _0x391f31;};return _0x3486();}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[_0xd1c17a(0x89)]{async[_0xd1c17a(0xb2)](){const _0x3e8558=_0xd1c17a;return this[_0x3e8558(0x95)]()[_0x3e8558(0xb2)]();}}U[_0xd1c17a(0x89)]['extend'](y);class C extends f['FWorkbook']{async[_0xd1c17a(0xb2)](){const _0x422815=_0xd1c17a,_0x290114=this[_0x422815(0xb3)](),_0x55a14e=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x290114,'dataValidationErrors':_0x55a14e};}}f[_0xd1c17a(0x87)][_0xd1c17a(0x9a)](C);class z extends f[_0xd1c17a(0xa8)]{async[_0xd1c17a(0x9d)](){const _0x42a086=_0xd1c17a,_0x2462df=this[_0x42a086(0xa5)][_0x42a086(0x91)](g[_0x42a086(0x97)]),_0x595123=this[_0x42a086(0x9f)](0x0,0x0,this[_0x42a086(0x98)](),this['getMaxColumns']())[_0x42a086(0xb6)]();return await _0x2462df[_0x42a086(0xa6)](_0x595123);}async['getFormulaUsagesAsA1'](){const _0x184218=_0xd1c17a;return(await this['getFormulaUsages']())[_0x184218(0x8e)](g[_0x184218(0x9c)]);}[_0xd1c17a(0xb9)](_0x2a0c4f){const _0x3f2e57=_0xd1c17a,_0x4c973a=this[_0x3f2e57(0xa5)][_0x3f2e57(0x91)](g['IStyleUsageAnalyzer']),_0x193dec=this[_0x3f2e57(0x9f)](0x0,0x0,this[_0x3f2e57(0x98)](),this['getMaxColumns']())[_0x3f2e57(0xb6)]();return _0x4c973a['updateConfig'](_0x2a0c4f),_0x4c973a[_0x3f2e57(0xa0)](_0x193dec,this[_0x3f2e57(0x9e)],this[_0x3f2e57(0x96)]);}[_0xd1c17a(0xb1)](_0x88387d){const _0x54af15=_0xd1c17a;return this[_0x54af15(0xb9)](_0x88387d)[_0x54af15(0x8e)](g[_0x54af15(0x8c)]);}[_0xd1c17a(0x92)](_0x53ca28){const _0x347071=_0xd1c17a,_0x4265ed=this[_0x347071(0xa5)][_0x347071(0x91)](g[_0x347071(0xb8)]);return _0x4265ed[_0x347071(0xa4)](_0x53ca28),_0x4265ed[_0x347071(0x88)](this[_0x347071(0x96)]);}['getSizeUsagesAsA1'](_0x55d27d){const _0x1964a1=_0xd1c17a,_0x3f1808=this[_0x1964a1(0xa5)][_0x1964a1(0x91)](g[_0x1964a1(0xb8)]);_0x3f1808[_0x1964a1(0xa4)](_0x55d27d);const _0x16c092=_0x3f1808['getAllSizeUsages'](this['_worksheet']);return _0x3f1808[_0x1964a1(0xab)](_0x16c092);}}f[_0xd1c17a(0xa8)][_0xd1c17a(0x9a)](z);class S extends f['FRange']{async[_0xd1c17a(0x9d)](){const _0x229e90=_0xd1c17a,_0x38045d=this[_0x229e90(0xa5)][_0x229e90(0x91)](g['IFormulaUsageAnalyzer']),_0x215b57=(({startRow:_0x31bab5,endRow:_0x57bf90,startColumn:_0x1ab60d,endColumn:_0x47674d})=>{const _0x36f77a=_0x229e90,_0x21b41b=[];for(let _0x101c1c=_0x31bab5;_0x101c1c<=_0x57bf90;_0x101c1c++){const _0x5d913d=[];for(let _0x3489cc=_0x1ab60d;_0x3489cc<=_0x47674d;_0x3489cc++)_0x5d913d[_0x36f77a(0xb4)](this[_0x36f77a(0x96)][_0x36f77a(0x93)](_0x101c1c,_0x3489cc));_0x21b41b[_0x36f77a(0xb4)](_0x5d913d);}return _0x21b41b;})({'startRow':0x0,'endRow':this[_0x229e90(0x96)][_0x229e90(0x98)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x229e90(0xba)]()}),_0x2de754=await _0x38045d[_0x229e90(0xa6)](_0x215b57),_0x263aac=this[_0x229e90(0x9f)](),_0x4632a5=[];for(let _0x538bbe=0x0;_0x538bbe<_0x2de754['length'];_0x538bbe++){const _0x4904b8=_0x2de754[_0x538bbe],_0x2031da=_0x4904b8[_0x229e90(0xad)],_0x2eb7a6=[];for(let _0x26f5e8=0x0;_0x26f5e8<_0x2031da['length'];_0x26f5e8++){const _0x27dfe0=_0x2031da[_0x26f5e8],_0x241419=m[_0x229e90(0x8d)](_0x27dfe0,_0x263aac);_0x241419&&_0x2eb7a6[_0x229e90(0xb4)](_0x241419);}if(_0x2eb7a6['length']>0x0){if(_0x4904b8['filledRanges']=_0x2eb7a6,!(_0x4904b8[_0x229e90(0xa1)][_0x229e90(0xa9)]>=_0x263aac[_0x229e90(0xa9)]&&_0x4904b8[_0x229e90(0xa1)][_0x229e90(0xa9)]<=_0x263aac[_0x229e90(0x90)]&&_0x4904b8[_0x229e90(0xa1)][_0x229e90(0xaa)]>=_0x263aac[_0x229e90(0xaa)]&&_0x4904b8[_0x229e90(0xa1)][_0x229e90(0xaa)]<=_0x263aac[_0x229e90(0x8f)])){const _0x31a5f1=_0x2eb7a6[0x0],_0x33af41=_0x31a5f1[_0x229e90(0xa9)]-_0x4904b8['firstOccurrence']['startRow'],_0x270408=_0x31a5f1[_0x229e90(0xaa)]-_0x4904b8[_0x229e90(0xa1)][_0x229e90(0xaa)];_0x4904b8[_0x229e90(0x8b)]=await _0x38045d[_0x229e90(0xac)](_0x4904b8[_0x229e90(0x8b)],_0x270408,_0x33af41),_0x4904b8['firstOccurrence']={'startRow':_0x31a5f1[_0x229e90(0xa9)],'endRow':_0x31a5f1[_0x229e90(0xa9)],'startColumn':_0x31a5f1['startColumn'],'endColumn':_0x31a5f1[_0x229e90(0xaa)]};}_0x4632a5[_0x229e90(0xb4)](_0x4904b8);}}return _0x4632a5;}async['getFormulaUsagesAsA1'](){const _0x514ac9=_0xd1c17a;return(await this[_0x514ac9(0x9d)]())['map'](g['formulaToA1']);}['getStyleUsages'](_0x2eaeff){const _0x5b8da7=_0xd1c17a,_0x35b8fa=this[_0x5b8da7(0xa5)][_0x5b8da7(0x91)](g[_0x5b8da7(0x99)]),_0x12c710=(({startRow:_0x58eb45,endRow:_0x4f5080,startColumn:_0x3166e6,endColumn:_0xdbf436})=>{const _0xc60516=_0x5b8da7,_0x3db48e=[];for(let _0x291d37=_0x58eb45;_0x291d37<=_0x4f5080;_0x291d37++){const _0x574c2b=[];for(let _0x5f49b5=_0x3166e6;_0x5f49b5<=_0xdbf436;_0x5f49b5++)_0x574c2b[_0xc60516(0xb4)](this[_0xc60516(0x96)][_0xc60516(0x93)](_0x291d37,_0x5f49b5));_0x3db48e[_0xc60516(0xb4)](_0x574c2b);}return _0x3db48e;})({'startRow':0x0,'endRow':this[_0x5b8da7(0x96)][_0x5b8da7(0x98)](),'startColumn':0x0,'endColumn':this[_0x5b8da7(0x96)]['getMaxColumns']()});_0x35b8fa[_0x5b8da7(0xa4)](_0x2eaeff);const _0x3a628e=_0x35b8fa[_0x5b8da7(0xa0)](_0x12c710,this[_0x5b8da7(0x9e)],this[_0x5b8da7(0x96)]),_0x3287f7=this[_0x5b8da7(0x9f)](),_0x1a25f5=[];for(let _0x6d6b71=0x0;_0x6d6b71<_0x3a628e[_0x5b8da7(0xb0)];_0x6d6b71++){const _0x5268b5=_0x3a628e[_0x6d6b71],_0x2a9ed7=_0x5268b5['filledRanges'],_0x4ab737=[];for(let _0x2bb841=0x0;_0x2bb841<_0x2a9ed7[_0x5b8da7(0xb0)];_0x2bb841++){const _0x369e54=_0x2a9ed7[_0x2bb841],_0x279189=m[_0x5b8da7(0x8d)](_0x369e54,_0x3287f7);_0x279189&&_0x4ab737[_0x5b8da7(0xb4)](_0x279189);}_0x4ab737[_0x5b8da7(0xb0)]>0x0&&(_0x5268b5[_0x5b8da7(0xad)]=_0x4ab737,_0x1a25f5['push'](_0x5268b5));}return _0x1a25f5;}['getStyleUsagesAsA1'](_0x31f112){const _0x49afde=_0xd1c17a;return this[_0x49afde(0xb9)](_0x31f112)[_0x49afde(0x8e)](g[_0x49afde(0x8c)]);}['getSizeUsages'](_0x2890a7){const _0x5a5134=_0xd1c17a,_0x9032a9=this[_0x5a5134(0xa5)][_0x5a5134(0x91)](g[_0x5a5134(0xb8)]),_0x17bbda=this[_0x5a5134(0x9f)]();return _0x9032a9[_0x5a5134(0xa4)](_0x2890a7),_0x9032a9[_0x5a5134(0x88)](this[_0x5a5134(0x96)],_0x17bbda[_0x5a5134(0xa9)],_0x17bbda[_0x5a5134(0x90)],_0x17bbda[_0x5a5134(0xaa)],_0x17bbda['endColumn']);}[_0xd1c17a(0x8a)](_0x23167f){const _0x3f1803=_0xd1c17a,_0x498e34=this[_0x3f1803(0x92)](_0x23167f);return this[_0x3f1803(0xa5)]['get'](g[_0x3f1803(0xb8)])[_0x3f1803(0xab)](_0x498e34);}}f['FRange'][_0xd1c17a(0x9a)](S);
|