@univerjs-pro/sheets-mcp 0.12.4-insiders.20251212-6c41730 → 0.12.4-insiders.20251213-692494c
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';
|
|
1
|
+
'use strict';const _0xe546d9=_0x2efc;(function(_0x588c97,_0x2ba57b){const _0xcbbd26=_0x2efc,_0x53a68b=_0x588c97();while(!![]){try{const _0x2ad5ae=-parseInt(_0xcbbd26(0x1a7))/0x1*(-parseInt(_0xcbbd26(0x1c4))/0x2)+-parseInt(_0xcbbd26(0x1b0))/0x3*(parseInt(_0xcbbd26(0x1c3))/0x4)+-parseInt(_0xcbbd26(0x1bb))/0x5+-parseInt(_0xcbbd26(0x1b7))/0x6+parseInt(_0xcbbd26(0x1ab))/0x7+-parseInt(_0xcbbd26(0x1af))/0x8*(-parseInt(_0xcbbd26(0x1b3))/0x9)+-parseInt(_0xcbbd26(0x1ba))/0xa*(-parseInt(_0xcbbd26(0x1c8))/0xb);if(_0x2ad5ae===_0x2ba57b)break;else _0x53a68b['push'](_0x53a68b['shift']());}catch(_0x48e102){_0x53a68b['push'](_0x53a68b['shift']());}}}(_0x3526,0xcd8c2));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),m=require('@univerjs-pro/sheets-mcp'),F=require('@univerjs/core');class C extends d[_0xe546d9(0x1bc)]{async[_0xe546d9(0x1b9)](){const _0x224cee=_0xe546d9;return this['getActiveWorkbook']()[_0x224cee(0x1b9)]();}}d['FUniver'][_0xe546d9(0x1cc)](C);function _0x3526(){const _0x5b272c=['push','get','getCellRaw','4288984zKiObi','map','firstOccurrence','getMaxRows','8tGQemk','3BeaBlB','filledRanges','getAllFormulaUsages','10160757OOGFqC','_worksheet','getRange','formula','535182mrJgUr','endColumn','getLintErrors','10FNUgQJ','5417225UqFMaC','FUniver','getFormulaUsages','getMaxColumns','getIntersectRange','FWorkbook','FRange','getAllFormulaError','6321084zgzVlo','2246Kgigvn','getFormulaUsagesAsA1','startRow','_injector','15776981jdwTYe','IFormulaUsageAnalyzer','toA1','length','extend','startColumn','getAllDataValidationErrorAsync','FWorksheet','moveFormulaRefOffset','373ONyKWA'];_0x3526=function(){return _0x5b272c;};return _0x3526();}class A extends o[_0xe546d9(0x1c0)]{async[_0xe546d9(0x1b9)](){const _0x2b2334=_0xe546d9,_0x2627a1=this[_0x2b2334(0x1c2)](),_0x26a9a2=await this[_0x2b2334(0x1a4)]();return{'formulaErrors':_0x2627a1,'dataValidationErrors':_0x26a9a2};}}o[_0xe546d9(0x1c0)][_0xe546d9(0x1cc)](A);class k extends o['FWorksheet']{async['getFormulaUsages'](){const _0x308caa=_0xe546d9,_0x292d7e=this[_0x308caa(0x1c7)]['get'](m[_0x308caa(0x1c9)]),_0x57b139=this[_0x308caa(0x1b5)](0x0,0x0,this[_0x308caa(0x1ae)]()+0x1,this['getMaxColumns']()+0x1)['getCellDataGrid']();return await _0x292d7e[_0x308caa(0x1b2)](_0x57b139);}async[_0xe546d9(0x1c5)](){const _0x4843d6=_0xe546d9;return(await this[_0x4843d6(0x1bd)]())[_0x4843d6(0x1ac)](m['toA1']);}}o[_0xe546d9(0x1a5)]['extend'](k);function _0x2efc(_0x4f3a64,_0x2b4f01){_0x4f3a64=_0x4f3a64-0x1a3;const _0x3526c4=_0x3526();let _0x2efc15=_0x3526c4[_0x4f3a64];return _0x2efc15;}class x extends o[_0xe546d9(0x1c1)]{async['getFormulaUsages'](){const _0x882a66=_0xe546d9,_0x2494e0=this[_0x882a66(0x1c7)][_0x882a66(0x1a9)](m['IFormulaUsageAnalyzer']),_0x2dc45a=(({startRow:_0xd9b577,endRow:_0x1d8316,startColumn:_0x3eb3d6,endColumn:_0x4b01d7})=>{const _0x1d6b99=_0x882a66,_0x4f8a01=[];for(let _0x2463e8=_0xd9b577;_0x2463e8<=_0x1d8316;_0x2463e8++){const _0x5b6b98=[];for(let _0x58b198=_0x3eb3d6;_0x58b198<=_0x4b01d7;_0x58b198++)_0x5b6b98[_0x1d6b99(0x1a8)](this[_0x1d6b99(0x1b4)][_0x1d6b99(0x1aa)](_0x2463e8,_0x58b198));_0x4f8a01[_0x1d6b99(0x1a8)](_0x5b6b98);}return _0x4f8a01;})({'startRow':0x0,'endRow':this['_worksheet'][_0x882a66(0x1ae)](),'startColumn':0x0,'endColumn':this[_0x882a66(0x1b4)][_0x882a66(0x1be)]()}),_0x323021=await _0x2494e0[_0x882a66(0x1b2)](_0x2dc45a),_0x57651f=this[_0x882a66(0x1b5)](),_0x32c3d0=[];for(let _0x3ff023=0x0;_0x3ff023<_0x323021[_0x882a66(0x1cb)];_0x3ff023++){const _0x5995a9=_0x323021[_0x3ff023],_0x2f32bc=_0x5995a9[_0x882a66(0x1b1)],_0x54bc28=[];for(let _0x119cc7=0x0;_0x119cc7<_0x2f32bc[_0x882a66(0x1cb)];_0x119cc7++){const _0xb4a229=_0x2f32bc[_0x119cc7],_0x4701da=F[_0x882a66(0x1bf)](_0xb4a229,_0x57651f);_0x4701da&&_0x54bc28[_0x882a66(0x1a8)](_0x4701da);}if(_0x54bc28[_0x882a66(0x1cb)]>0x0){if(_0x5995a9[_0x882a66(0x1b1)]=_0x54bc28,!(_0x5995a9[_0x882a66(0x1ad)][_0x882a66(0x1c6)]>=_0x57651f[_0x882a66(0x1c6)]&&_0x5995a9[_0x882a66(0x1ad)][_0x882a66(0x1c6)]<=_0x57651f['endRow']&&_0x5995a9['firstOccurrence'][_0x882a66(0x1a3)]>=_0x57651f[_0x882a66(0x1a3)]&&_0x5995a9['firstOccurrence']['startColumn']<=_0x57651f[_0x882a66(0x1b8)])){const _0x1f2dae=_0x54bc28[0x0],_0x2980ec=_0x1f2dae[_0x882a66(0x1c6)]-_0x5995a9[_0x882a66(0x1ad)][_0x882a66(0x1c6)],_0x144b29=_0x1f2dae[_0x882a66(0x1a3)]-_0x5995a9['firstOccurrence']['startColumn'];_0x5995a9['formula']=await _0x2494e0[_0x882a66(0x1a6)](_0x5995a9[_0x882a66(0x1b6)],_0x144b29,_0x2980ec),_0x5995a9[_0x882a66(0x1ad)]={'startRow':_0x1f2dae['startRow'],'endRow':_0x1f2dae[_0x882a66(0x1c6)],'startColumn':_0x1f2dae[_0x882a66(0x1a3)],'endColumn':_0x1f2dae[_0x882a66(0x1a3)]};}_0x32c3d0['push'](_0x5995a9);}}return _0x32c3d0;}async[_0xe546d9(0x1c5)](){const _0x1674fc=_0xe546d9;return(await this[_0x1674fc(0x1bd)]())[_0x1674fc(0x1ac)](m[_0x1674fc(0x1ca)]);}}o[_0xe546d9(0x1c1)][_0xe546d9(0x1cc)](x);
|