@univerjs-pro/sheets-mcp 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f
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/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4160(){const _0x457eff=['5534883kLVmNF','getRange','getMaxRows','getMaxColumns','12XIIuHt','map','getActiveWorkbook','moveFormulaRefOffset','424888iRfBIn','getAllFormulaUsages','getCellRaw','_worksheet','getFormulaUsages','push','getLintErrors','filledRanges','getCellDataGrid','13410PkmLYD','843912fIqsJU','length','extend','startColumn','getAllFormulaError','getFormulaUsagesAsA1','getAllDataValidationErrorAsync','221782ugCsgX','114017cxgkEn','10WQGbxQ','_injector','startRow','get','formula','628817XaqGXw'];_0x4160=function(){return _0x457eff;};return _0x4160();}const _0x2b8341=_0x4709;(function(_0x4d1ffc,_0x2f69eb){const _0x40ed20=_0x4709,_0x413483=_0x4d1ffc();while(!![]){try{const _0x56a11f=-parseInt(_0x40ed20(0x18a))/0x1+parseInt(_0x40ed20(0x189))/0x2+parseInt(_0x40ed20(0x181))/0x3+parseInt(_0x40ed20(0x178))/0x4*(-parseInt(_0x40ed20(0x18b))/0x5)+parseInt(_0x40ed20(0x195))/0x6*(-parseInt(_0x40ed20(0x190))/0x7)+-parseInt(_0x40ed20(0x182))/0x8+parseInt(_0x40ed20(0x191))/0x9;if(_0x56a11f===_0x2f69eb)break;else _0x413483['push'](_0x413483['shift']());}catch(_0x1bfe82){_0x413483['push'](_0x413483['shift']());}}}(_0x4160,0x1cfd0));import{FUniver as _0x47fd9e}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x2ef26a,FWorksheet as _0x147d33,FRange as _0xbfa234}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x210a6c,toA1 as _0x1ce903}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x48ad9b}from'@univerjs/core';class C extends _0x47fd9e{async[_0x2b8341(0x17e)](){const _0xc58e82=_0x2b8341;return this[_0xc58e82(0x176)]()['getLintErrors']();}}_0x47fd9e[_0x2b8341(0x184)](C);class U extends _0x2ef26a{async['getLintErrors'](){const _0x58fae5=_0x2b8341,_0x104a4e=this[_0x58fae5(0x186)](),_0x1f7030=await this[_0x58fae5(0x188)]();return{'formulaErrors':_0x104a4e,'dataValidationErrors':_0x1f7030};}}function _0x4709(_0x40367a,_0x500c47){const _0x4160ff=_0x4160();return _0x4709=function(_0x4709a2,_0x2df0e4){_0x4709a2=_0x4709a2-0x175;let _0x413a30=_0x4160ff[_0x4709a2];return _0x413a30;},_0x4709(_0x40367a,_0x500c47);}_0x2ef26a['extend'](U);class k extends _0x147d33{async[_0x2b8341(0x17c)](){const _0x4540ce=_0x2b8341,_0x2a9997=this[_0x4540ce(0x18c)][_0x4540ce(0x18e)](_0x210a6c),_0x2ef11b=this[_0x4540ce(0x192)](0x0,0x0,this[_0x4540ce(0x193)]()+0x1,this[_0x4540ce(0x194)]()+0x1)[_0x4540ce(0x180)]();return await _0x2a9997[_0x4540ce(0x179)](_0x2ef11b);}async[_0x2b8341(0x187)](){const _0x1721bc=_0x2b8341;return(await this['getFormulaUsages']())[_0x1721bc(0x175)](_0x1ce903);}}_0x147d33[_0x2b8341(0x184)](k);class y extends _0xbfa234{async[_0x2b8341(0x17c)](){const _0x4d1596=_0x2b8341,_0x1f0d3a=this[_0x4d1596(0x18c)]['get'](_0x210a6c),_0x172cb6=(({startRow:_0x3d7dba,endRow:_0xa67f52,startColumn:_0x350332,endColumn:_0x23f12c})=>{const _0x32716a=_0x4d1596,_0x4b4a8e=[];for(let _0x19486d=_0x3d7dba;_0x19486d<=_0xa67f52;_0x19486d++){const _0x27992d=[];for(let _0x4e201a=_0x350332;_0x4e201a<=_0x23f12c;_0x4e201a++)_0x27992d[_0x32716a(0x17d)](this['_worksheet'][_0x32716a(0x17a)](_0x19486d,_0x4e201a));_0x4b4a8e[_0x32716a(0x17d)](_0x27992d);}return _0x4b4a8e;})({'startRow':0x0,'endRow':this[_0x4d1596(0x17b)][_0x4d1596(0x193)](),'startColumn':0x0,'endColumn':this[_0x4d1596(0x17b)][_0x4d1596(0x194)]()}),_0xf36a74=await _0x1f0d3a[_0x4d1596(0x179)](_0x172cb6),_0x4d9b4d=this[_0x4d1596(0x192)](),_0x460a5c=[];for(let _0x45c957=0x0;_0x45c957<_0xf36a74[_0x4d1596(0x183)];_0x45c957++){const _0x517a58=_0xf36a74[_0x45c957],_0x36bf39=_0x517a58['filledRanges'],_0x505196=[];for(let _0xda7c23=0x0;_0xda7c23<_0x36bf39[_0x4d1596(0x183)];_0xda7c23++){const _0x7ab16=_0x36bf39[_0xda7c23],_0x572c5d=_0x48ad9b(_0x7ab16,_0x4d9b4d);_0x572c5d&&_0x505196[_0x4d1596(0x17d)](_0x572c5d);}if(_0x505196[_0x4d1596(0x183)]>0x0){_0x517a58[_0x4d1596(0x17f)]=_0x505196;const _0x354043=_0x505196[0x0],_0x48b343=_0x354043[_0x4d1596(0x18d)]-_0x4d9b4d[_0x4d1596(0x18d)],_0x3f85c6=_0x354043[_0x4d1596(0x185)]-_0x4d9b4d[_0x4d1596(0x185)];_0x517a58[_0x4d1596(0x18f)]=await _0x1f0d3a[_0x4d1596(0x177)](_0x517a58[_0x4d1596(0x18f)],_0x48b343,_0x3f85c6),_0x460a5c[_0x4d1596(0x17d)](_0x517a58);}}return _0x460a5c;}async[_0x2b8341(0x187)](){const _0x17656e=_0x2b8341;return(await this[_0x17656e(0x17c)]())[_0x17656e(0x175)](_0x1ce903);}}_0xbfa234[_0x2b8341(0x184)](y);
|