@univerjs-pro/sheets-mcp 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-29c379a
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 _0x3154(){const _0x444b5d=['776192dlJenu','159432ZXYPfv','getCellRaw','get','startColumn','filledRanges','formula','extend','5826raftHr','getAllDataValidationErrorAsync','63YCRWQQ','getMaxRows','getAllFormulaUsages','getFormulaUsagesAsA1','9667iXCQMf','20214980yRDqhr','getFormulaUsages','44xiQLDC','getRange','_injector','getMaxColumns','getLintErrors','1893274PLcbxa','length','_worksheet','getAllFormulaError','startRow','3634320tpFAJN','map','11RvjvkA','getActiveWorkbook','push','365855UFUMbR'];_0x3154=function(){return _0x444b5d;};return _0x3154();}const _0x483f45=_0x578b;(function(_0x3764ff,_0x5aa787){const _0x545261=_0x578b,_0x536593=_0x3764ff();while(!![]){try{const _0x1fee7c=parseInt(_0x545261(0x191))/0x1+-parseInt(_0x545261(0x1a7))/0x2+parseInt(_0x545261(0x18b))/0x3+parseInt(_0x545261(0x1a2))/0x4*(-parseInt(_0x545261(0x190))/0x5)+-parseInt(_0x545261(0x199))/0x6*(parseInt(_0x545261(0x19f))/0x7)+-parseInt(_0x545261(0x192))/0x8*(parseInt(_0x545261(0x19b))/0x9)+-parseInt(_0x545261(0x1a0))/0xa*(-parseInt(_0x545261(0x18d))/0xb);if(_0x1fee7c===_0x5aa787)break;else _0x536593['push'](_0x536593['shift']());}catch(_0x10f325){_0x536593['push'](_0x536593['shift']());}}}(_0x3154,0xbdbc6));import{FUniver as _0x5d1913}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x2abba3,FWorksheet as _0x53aee3,FRange as _0x5649d4}from'@univerjs/sheets/facade';function _0x578b(_0x1d2f26,_0x554ecc){_0x1d2f26=_0x1d2f26-0x189;const _0x31546e=_0x3154();let _0x578bf8=_0x31546e[_0x1d2f26];return _0x578bf8;}import{IFormulaUsageAnalyzer as _0xcc7794,toA1 as _0x337122}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x4b0230}from'@univerjs/core';class C extends _0x5d1913{async[_0x483f45(0x1a6)](){const _0x1dfeae=_0x483f45;return this[_0x1dfeae(0x18e)]()[_0x1dfeae(0x1a6)]();}}_0x5d1913[_0x483f45(0x198)](C);class U extends _0x2abba3{async['getLintErrors'](){const _0x2742c0=_0x483f45,_0x5b63f7=this[_0x2742c0(0x189)](),_0x219098=await this[_0x2742c0(0x19a)]();return{'formulaErrors':_0x5b63f7,'dataValidationErrors':_0x219098};}}_0x2abba3[_0x483f45(0x198)](U);class k extends _0x53aee3{async['getFormulaUsages'](){const _0x1f12b5=_0x483f45,_0x47d863=this[_0x1f12b5(0x1a4)][_0x1f12b5(0x194)](_0xcc7794),_0x2531b6=this[_0x1f12b5(0x1a3)](0x0,0x0,this[_0x1f12b5(0x19c)]()+0x1,this[_0x1f12b5(0x1a5)]()+0x1)['getCellDataGrid']();return await _0x47d863[_0x1f12b5(0x19d)](_0x2531b6);}async[_0x483f45(0x19e)](){const _0x4ff08e=_0x483f45;return(await this[_0x4ff08e(0x1a1)]())[_0x4ff08e(0x18c)](_0x337122);}}_0x53aee3['extend'](k);class y extends _0x5649d4{async[_0x483f45(0x1a1)](){const _0x4e46de=_0x483f45,_0x431266=this[_0x4e46de(0x1a4)][_0x4e46de(0x194)](_0xcc7794),_0x59801d=(({startRow:_0x3709ab,endRow:_0x5d9917,startColumn:_0x3fce16,endColumn:_0x18c637})=>{const _0x11195d=_0x4e46de,_0x2344da=[];for(let _0x37a26b=_0x3709ab;_0x37a26b<=_0x5d9917;_0x37a26b++){const _0x510f9c=[];for(let _0x52a5f3=_0x3fce16;_0x52a5f3<=_0x18c637;_0x52a5f3++)_0x510f9c[_0x11195d(0x18f)](this[_0x11195d(0x1a9)][_0x11195d(0x193)](_0x37a26b,_0x52a5f3));_0x2344da[_0x11195d(0x18f)](_0x510f9c);}return _0x2344da;})({'startRow':0x0,'endRow':this[_0x4e46de(0x1a9)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x4e46de(0x1a5)]()}),_0x3bb15b=await _0x431266[_0x4e46de(0x19d)](_0x59801d),_0xa14a11=this[_0x4e46de(0x1a3)](),_0x13ab1b=[];for(let _0x47d6cf=0x0;_0x47d6cf<_0x3bb15b['length'];_0x47d6cf++){const _0x1263e8=_0x3bb15b[_0x47d6cf],_0xe1afd0=_0x1263e8[_0x4e46de(0x196)],_0x25622b=[];for(let _0x6d543c=0x0;_0x6d543c<_0xe1afd0['length'];_0x6d543c++){const _0x4adaf7=_0xe1afd0[_0x6d543c],_0x23b89e=_0x4b0230(_0x4adaf7,_0xa14a11);_0x23b89e&&_0x25622b[_0x4e46de(0x18f)](_0x23b89e);}if(_0x25622b[_0x4e46de(0x1a8)]>0x0){_0x1263e8[_0x4e46de(0x196)]=_0x25622b;const _0x5582e1=_0x25622b[0x0],_0x40b8d0=_0x5582e1['startRow']-_0xa14a11[_0x4e46de(0x18a)],_0xf1573=_0x5582e1[_0x4e46de(0x195)]-_0xa14a11['startColumn'];_0x1263e8[_0x4e46de(0x197)]=await _0x431266['moveFormulaRefOffset'](_0x1263e8['formula'],_0x40b8d0,_0xf1573),_0x13ab1b['push'](_0x1263e8);}}return _0x13ab1b;}async[_0x483f45(0x19e)](){const _0x2c561a=_0x483f45;return(await this[_0x2c561a(0x1a1)]())[_0x2c561a(0x18c)](_0x337122);}}_0x5649d4[_0x483f45(0x198)](y);
|