@univerjs-pro/sheets-mcp 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff
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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5321dd=_0x2430;function _0x1a88(){const _0x2dd10f=['getCellDataGrid','startRow','209190trfaiY','push','12048638MmyWpp','formula','getMaxRows','5SajnBy','getMaxColumns','202612cVuuLr','6976950pBokab','getCellRaw','startColumn','_injector','getAllFormulaUsages','2031715YLKXsm','moveFormulaRefOffset','extend','getRange','4LKmLbt','352Qqihes','get','filledRanges','getActiveWorkbook','getLintErrors','getFormulaUsages','2586873PjEPIX','length','map','getAllDataValidationErrorAsync','14292oQQToL','_worksheet','getFormulaUsagesAsA1'];_0x1a88=function(){return _0x2dd10f;};return _0x1a88();}(function(_0x425d4e,_0x871faa){const _0x1a0e05=_0x2430,_0x2a0cd9=_0x425d4e();while(!![]){try{const _0x5b7731=-parseInt(_0x1a0e05(0x1c4))/0x1*(parseInt(_0x1a0e05(0x1c6))/0x2)+-parseInt(_0x1a0e05(0x1d7))/0x3*(-parseInt(_0x1a0e05(0x1d0))/0x4)+-parseInt(_0x1a0e05(0x1cc))/0x5+-parseInt(_0x1a0e05(0x1bf))/0x6+parseInt(_0x1a0e05(0x1c1))/0x7+parseInt(_0x1a0e05(0x1d1))/0x8*(-parseInt(_0x1a0e05(0x1ba))/0x9)+-parseInt(_0x1a0e05(0x1c7))/0xa;if(_0x5b7731===_0x871faa)break;else _0x2a0cd9['push'](_0x2a0cd9['shift']());}catch(_0x4b0f35){_0x2a0cd9['push'](_0x2a0cd9['shift']());}}}(_0x1a88,0xd3f7c));import{FUniver as _0x2b9052}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x5b3027,FWorksheet as _0x18ad41,FRange as _0x43e520}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x5244d1,toA1 as _0x924d1d}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x652165}from'@univerjs/core';class C extends _0x2b9052{async[_0x5321dd(0x1d5)](){const _0xb65014=_0x5321dd;return this[_0xb65014(0x1d4)]()[_0xb65014(0x1d5)]();}}_0x2b9052[_0x5321dd(0x1ce)](C);class U extends _0x5b3027{async[_0x5321dd(0x1d5)](){const _0x5156f8=_0x5321dd,_0x334d24=this['getAllFormulaError'](),_0x1a3630=await this[_0x5156f8(0x1da)]();return{'formulaErrors':_0x334d24,'dataValidationErrors':_0x1a3630};}}_0x5b3027[_0x5321dd(0x1ce)](U);class k extends _0x18ad41{async['getFormulaUsages'](){const _0xcf454b=_0x5321dd,_0x50b878=this['_injector'][_0xcf454b(0x1d2)](_0x5244d1),_0x2b49bb=this[_0xcf454b(0x1cf)](0x0,0x0,this[_0xcf454b(0x1c3)]()+0x1,this['getMaxColumns']()+0x1)[_0xcf454b(0x1bd)]();return await _0x50b878['getAllFormulaUsages'](_0x2b49bb);}async[_0x5321dd(0x1bc)](){return(await this['getFormulaUsages']())['map'](_0x924d1d);}}function _0x2430(_0x4a52ae,_0x53eb40){_0x4a52ae=_0x4a52ae-0x1ba;const _0x1a8852=_0x1a88();let _0x2430df=_0x1a8852[_0x4a52ae];return _0x2430df;}_0x18ad41[_0x5321dd(0x1ce)](k);class y extends _0x43e520{async[_0x5321dd(0x1d6)](){const _0x9ef617=_0x5321dd,_0x45cad4=this[_0x9ef617(0x1ca)][_0x9ef617(0x1d2)](_0x5244d1),_0x5923f3=(({startRow:_0x4a3648,endRow:_0x1291d4,startColumn:_0x204d56,endColumn:_0x15b09d})=>{const _0xf6432a=_0x9ef617,_0x3ea13e=[];for(let _0x3ae714=_0x4a3648;_0x3ae714<=_0x1291d4;_0x3ae714++){const _0x4926c7=[];for(let _0xd03b2f=_0x204d56;_0xd03b2f<=_0x15b09d;_0xd03b2f++)_0x4926c7[_0xf6432a(0x1c0)](this[_0xf6432a(0x1bb)][_0xf6432a(0x1c8)](_0x3ae714,_0xd03b2f));_0x3ea13e[_0xf6432a(0x1c0)](_0x4926c7);}return _0x3ea13e;})({'startRow':0x0,'endRow':this[_0x9ef617(0x1bb)][_0x9ef617(0x1c3)](),'startColumn':0x0,'endColumn':this[_0x9ef617(0x1bb)][_0x9ef617(0x1c5)]()}),_0x3c0108=await _0x45cad4[_0x9ef617(0x1cb)](_0x5923f3),_0x140604=this[_0x9ef617(0x1cf)](),_0x17bbd8=[];for(let _0x5e3e97=0x0;_0x5e3e97<_0x3c0108[_0x9ef617(0x1d8)];_0x5e3e97++){const _0x5726eb=_0x3c0108[_0x5e3e97],_0x38d5da=_0x5726eb['filledRanges'],_0x5536bd=[];for(let _0x576e62=0x0;_0x576e62<_0x38d5da['length'];_0x576e62++){const _0x25fbef=_0x38d5da[_0x576e62],_0x24ab51=_0x652165(_0x25fbef,_0x140604);_0x24ab51&&_0x5536bd['push'](_0x24ab51);}if(_0x5536bd[_0x9ef617(0x1d8)]>0x0){_0x5726eb[_0x9ef617(0x1d3)]=_0x5536bd;const _0x1e8846=_0x5536bd[0x0],_0x1cfde1=_0x1e8846[_0x9ef617(0x1be)]-_0x140604[_0x9ef617(0x1be)],_0x2f61b6=_0x1e8846['startColumn']-_0x140604[_0x9ef617(0x1c9)];_0x5726eb[_0x9ef617(0x1c2)]=await _0x45cad4[_0x9ef617(0x1cd)](_0x5726eb[_0x9ef617(0x1c2)],_0x1cfde1,_0x2f61b6),_0x17bbd8[_0x9ef617(0x1c0)](_0x5726eb);}}return _0x17bbd8;}async['getFormulaUsagesAsA1'](){const _0x3985bb=_0x5321dd;return(await this[_0x3985bb(0x1d6)]())[_0x3985bb(0x1d9)](_0x924d1d);}}_0x43e520[_0x5321dd(0x1ce)](y);
|