@univerjs-pro/sheets-mcp 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511070939
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';const
|
|
1
|
+
'use strict';const _0x463217=_0xe55f;function _0x4057(){const _0x169532=['toA1','4mNkGRA','get','startColumn','2515524HeAmMD','384477QKqXcs','FUniver','1059052nAfvEl','formula','getRange','getAllFormulaUsages','getCellDataGrid','IFormulaUsageAnalyzer','length','_worksheet','4467700YXRGJF','292481kSPHgR','extend','getFormulaUsages','getLintErrors','getAllDataValidationErrorAsync','6521160tKOWzL','FRange','getMaxRows','getActiveWorkbook','getFormulaUsagesAsA1','startRow','push','FWorkbook','19516568VDvgUN','filledRanges','FWorksheet','getMaxColumns','map','getCellRaw'];_0x4057=function(){return _0x169532;};return _0x4057();}(function(_0xc7171b,_0x58e95e){const _0x583296=_0xe55f,_0x31a990=_0xc7171b();while(!![]){try{const _0x32a5d8=parseInt(_0x583296(0xee))/0x1*(-parseInt(_0x583296(0xea))/0x2)+-parseInt(_0x583296(0xed))/0x3+-parseInt(_0x583296(0xf0))/0x4+-parseInt(_0x583296(0xd5))/0x5+parseInt(_0x583296(0xdb))/0x6+-parseInt(_0x583296(0xd6))/0x7+parseInt(_0x583296(0xe3))/0x8;if(_0x32a5d8===_0x58e95e)break;else _0x31a990['push'](_0x31a990['shift']());}catch(_0x228cab){_0x31a990['push'](_0x31a990['shift']());}}}(_0x4057,0xaf823));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[_0x463217(0xef)]{async['getLintErrors'](){const _0x23c219=_0x463217;return this[_0x23c219(0xde)]()[_0x23c219(0xd9)]();}}d[_0x463217(0xef)][_0x463217(0xd7)](A);class x extends o[_0x463217(0xe2)]{async[_0x463217(0xd9)](){const _0xbf49ab=_0x463217,_0x11eda3=this['getAllFormulaError'](),_0x28e3da=await this[_0xbf49ab(0xda)]();return{'formulaErrors':_0x11eda3,'dataValidationErrors':_0x28e3da};}}o[_0x463217(0xe2)][_0x463217(0xd7)](x);class k extends o[_0x463217(0xe5)]{async[_0x463217(0xd8)](){const _0x842c63=_0x463217,_0x32d85a=this['_injector']['get'](c[_0x842c63(0xd2)]),_0x5d9e69=this[_0x842c63(0xcf)](0x0,0x0,this[_0x842c63(0xdd)]()+0x1,this['getMaxColumns']()+0x1)[_0x842c63(0xd1)]();return await _0x32d85a[_0x842c63(0xd0)](_0x5d9e69);}async[_0x463217(0xdf)](){const _0x595b21=_0x463217;return(await this[_0x595b21(0xd8)]())[_0x595b21(0xe7)](c[_0x595b21(0xe9)]);}}o['FWorksheet']['extend'](k);function _0xe55f(_0x34c44c,_0x44c8fd){const _0x405774=_0x4057();return _0xe55f=function(_0xe55f18,_0x4859de){_0xe55f18=_0xe55f18-0xce;let _0x4844d8=_0x405774[_0xe55f18];return _0x4844d8;},_0xe55f(_0x34c44c,_0x44c8fd);}class U extends o[_0x463217(0xdc)]{async[_0x463217(0xd8)](){const _0x1508e7=_0x463217,_0x2e35f6=this['_injector'][_0x1508e7(0xeb)](c[_0x1508e7(0xd2)]),_0x3caa0e=(({startRow:_0x6d82bc,endRow:_0x324048,startColumn:_0x1f53cc,endColumn:_0x314688})=>{const _0x59638c=_0x1508e7,_0x25479d=[];for(let _0x1df1da=_0x6d82bc;_0x1df1da<=_0x324048;_0x1df1da++){const _0x505200=[];for(let _0x17614f=_0x1f53cc;_0x17614f<=_0x314688;_0x17614f++)_0x505200[_0x59638c(0xe1)](this[_0x59638c(0xd4)][_0x59638c(0xe8)](_0x1df1da,_0x17614f));_0x25479d[_0x59638c(0xe1)](_0x505200);}return _0x25479d;})({'startRow':0x0,'endRow':this[_0x1508e7(0xd4)][_0x1508e7(0xdd)](),'startColumn':0x0,'endColumn':this[_0x1508e7(0xd4)][_0x1508e7(0xe6)]()}),_0x25ed24=await _0x2e35f6[_0x1508e7(0xd0)](_0x3caa0e),_0x1aaae7=this['getRange'](),_0xd3cfe9=[];for(let _0x5a2a3d=0x0;_0x5a2a3d<_0x25ed24[_0x1508e7(0xd3)];_0x5a2a3d++){const _0x209fa3=_0x25ed24[_0x5a2a3d],_0x351901=_0x209fa3[_0x1508e7(0xe4)],_0x48d421=[];for(let _0x4455bb=0x0;_0x4455bb<_0x351901[_0x1508e7(0xd3)];_0x4455bb++){const _0x50dfdf=_0x351901[_0x4455bb],_0x4e4832=w['getIntersectRange'](_0x50dfdf,_0x1aaae7);_0x4e4832&&_0x48d421['push'](_0x4e4832);}if(_0x48d421['length']>0x0){_0x209fa3[_0x1508e7(0xe4)]=_0x48d421;const _0x6a0c2b=_0x48d421[0x0],_0x277f8a=_0x6a0c2b[_0x1508e7(0xe0)]-_0x1aaae7['startRow'],_0x3555f8=_0x6a0c2b[_0x1508e7(0xec)]-_0x1aaae7[_0x1508e7(0xec)];_0x209fa3[_0x1508e7(0xce)]=await _0x2e35f6['moveFormulaRefOffset'](_0x209fa3[_0x1508e7(0xce)],_0x277f8a,_0x3555f8),_0xd3cfe9[_0x1508e7(0xe1)](_0x209fa3);}}return _0xd3cfe9;}async[_0x463217(0xdf)](){const _0x2d5385=_0x463217;return(await this[_0x2d5385(0xd8)]())[_0x2d5385(0xe7)](c[_0x2d5385(0xe9)]);}}o[_0x463217(0xdc)][_0x463217(0xd7)](U);
|