@univerjs-pro/sheets-mcp 0.11.0 → 0.12.0-nightly.202511220628
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';
|
|
1
|
+
'use strict';const _0x4dba49=_0x1003;(function(_0x4a872b,_0x3c4b84){const _0x519e4a=_0x1003,_0x6cb4a1=_0x4a872b();while(!![]){try{const _0x5721c2=-parseInt(_0x519e4a(0x109))/0x1+parseInt(_0x519e4a(0x10d))/0x2*(parseInt(_0x519e4a(0x101))/0x3)+parseInt(_0x519e4a(0x10a))/0x4*(-parseInt(_0x519e4a(0x104))/0x5)+parseInt(_0x519e4a(0x107))/0x6*(parseInt(_0x519e4a(0x103))/0x7)+parseInt(_0x519e4a(0x105))/0x8+-parseInt(_0x519e4a(0xf7))/0x9*(-parseInt(_0x519e4a(0x111))/0xa)+-parseInt(_0x519e4a(0x106))/0xb;if(_0x5721c2===_0x3c4b84)break;else _0x6cb4a1['push'](_0x6cb4a1['shift']());}catch(_0x5d69d6){_0x6cb4a1['push'](_0x6cb4a1['shift']());}}}(_0x4ad1,0xbce78));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d['FUniver']{async[_0x4dba49(0x113)](){const _0xe677e=_0x4dba49;return this[_0xe677e(0xf6)]()['getLintErrors']();}}function _0x4ad1(){const _0x5d8ca8=['7446296dUXJTH','8229749ISOXqd','1315230aqmIOa','getMaxRows','1490155XOBCcu','1325976SviMxb','getAllFormulaUsages','getAllFormulaError','8712cuCctO','getCellRaw','FWorksheet','filledRanges','6140410JiwucG','startRow','getLintErrors','startColumn','get','push','IFormulaUsageAnalyzer','toA1','map','formula','getRange','length','_worksheet','getActiveWorkbook','18wfHObs','getAllDataValidationErrorAsync','extend','FUniver','getIntersectRange','getMaxColumns','getCellDataGrid','getFormulaUsagesAsA1','getFormulaUsages','FWorkbook','363sYtPse','_injector','21jOeEel','5SuAGFk'];_0x4ad1=function(){return _0x5d8ca8;};return _0x4ad1();}d[_0x4dba49(0xfa)]['extend'](A);class x extends o[_0x4dba49(0x100)]{async[_0x4dba49(0x113)](){const _0x293b6e=_0x4dba49,_0x11b0e8=this[_0x293b6e(0x10c)](),_0x44f2e0=await this[_0x293b6e(0xf8)]();return{'formulaErrors':_0x11b0e8,'dataValidationErrors':_0x44f2e0};}}o[_0x4dba49(0x100)]['extend'](x);function _0x1003(_0x295e0e,_0x1cedcd){const _0x4ad1d5=_0x4ad1();return _0x1003=function(_0x10037a,_0x5ce3b9){_0x10037a=_0x10037a-0xef;let _0x4c45ad=_0x4ad1d5[_0x10037a];return _0x4c45ad;},_0x1003(_0x295e0e,_0x1cedcd);}class k extends o[_0x4dba49(0x10f)]{async['getFormulaUsages'](){const _0x29e3c6=_0x4dba49,_0x3bc03b=this[_0x29e3c6(0x102)]['get'](c['IFormulaUsageAnalyzer']),_0x18c3e0=this[_0x29e3c6(0xf3)](0x0,0x0,this[_0x29e3c6(0x108)]()+0x1,this[_0x29e3c6(0xfc)]()+0x1)[_0x29e3c6(0xfd)]();return await _0x3bc03b[_0x29e3c6(0x10b)](_0x18c3e0);}async['getFormulaUsagesAsA1'](){const _0x23b955=_0x4dba49;return(await this[_0x23b955(0xff)]())['map'](c[_0x23b955(0xf0)]);}}o[_0x4dba49(0x10f)][_0x4dba49(0xf9)](k);class U extends o['FRange']{async[_0x4dba49(0xff)](){const _0x2fbcc2=_0x4dba49,_0x57d032=this[_0x2fbcc2(0x102)][_0x2fbcc2(0x115)](c[_0x2fbcc2(0xef)]),_0x454b2f=(({startRow:_0x3e4dbb,endRow:_0x3f8702,startColumn:_0x3bb14f,endColumn:_0xafb241})=>{const _0x4aad8d=_0x2fbcc2,_0x1c5f92=[];for(let _0x1d6983=_0x3e4dbb;_0x1d6983<=_0x3f8702;_0x1d6983++){const _0x19d33f=[];for(let _0x27e44a=_0x3bb14f;_0x27e44a<=_0xafb241;_0x27e44a++)_0x19d33f[_0x4aad8d(0x116)](this['_worksheet'][_0x4aad8d(0x10e)](_0x1d6983,_0x27e44a));_0x1c5f92[_0x4aad8d(0x116)](_0x19d33f);}return _0x1c5f92;})({'startRow':0x0,'endRow':this[_0x2fbcc2(0xf5)][_0x2fbcc2(0x108)](),'startColumn':0x0,'endColumn':this[_0x2fbcc2(0xf5)]['getMaxColumns']()}),_0xa7ad0f=await _0x57d032[_0x2fbcc2(0x10b)](_0x454b2f),_0x2ce236=this[_0x2fbcc2(0xf3)](),_0x5431f8=[];for(let _0x1f8cda=0x0;_0x1f8cda<_0xa7ad0f[_0x2fbcc2(0xf4)];_0x1f8cda++){const _0x212943=_0xa7ad0f[_0x1f8cda],_0x491700=_0x212943[_0x2fbcc2(0x110)],_0x37e7e2=[];for(let _0x1f0f8f=0x0;_0x1f0f8f<_0x491700['length'];_0x1f0f8f++){const _0x559c01=_0x491700[_0x1f0f8f],_0x3fd42c=w[_0x2fbcc2(0xfb)](_0x559c01,_0x2ce236);_0x3fd42c&&_0x37e7e2[_0x2fbcc2(0x116)](_0x3fd42c);}if(_0x37e7e2[_0x2fbcc2(0xf4)]>0x0){_0x212943[_0x2fbcc2(0x110)]=_0x37e7e2;const _0x33aa52=_0x37e7e2[0x0],_0x4cb1ad=_0x33aa52[_0x2fbcc2(0x112)]-_0x2ce236[_0x2fbcc2(0x112)],_0x36b0e2=_0x33aa52[_0x2fbcc2(0x114)]-_0x2ce236[_0x2fbcc2(0x114)];_0x212943['formula']=await _0x57d032['moveFormulaRefOffset'](_0x212943[_0x2fbcc2(0xf2)],_0x4cb1ad,_0x36b0e2),_0x5431f8[_0x2fbcc2(0x116)](_0x212943);}}return _0x5431f8;}async[_0x4dba49(0xfe)](){const _0x1e4209=_0x4dba49;return(await this[_0x1e4209(0xff)]())[_0x1e4209(0xf1)](c['toA1']);}}o['FRange'][_0x4dba49(0xf9)](U);
|