@univerjs-pro/sheets-mcp 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7
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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x568b(){const _0x31cb75=['80arbnSp','getMaxRows','getAllFormulaError','filledRanges','120pMogrD','getAllDataValidationErrorAsync','getMaxColumns','endColumn','moveFormulaRefOffset','formula','355896mNFxdN','_injector','getAllFormulaUsages','1223827tnBJng','getCellDataGrid','96kGRhnG','startRow','441028LGVLqK','map','285363zLnNrs','710oPtTId','firstOccurrence','getActiveWorkbook','get','12264VpzwUm','getLintErrors','push','extend','21CQFPTL','getRange','getFormulaUsages','_worksheet','getFormulaUsagesAsA1','83992axmuUf','length','startColumn','199787xxojXr'];_0x568b=function(){return _0x31cb75;};return _0x568b();}const _0x1c065f=_0x5d77;(function(_0x220083,_0x46ca4b){const _0x8be55b=_0x5d77,_0x52ae90=_0x220083();while(!![]){try{const _0x2e1a8c=parseInt(_0x8be55b(0x122))/0x1+parseInt(_0x8be55b(0x120))/0x2+parseInt(_0x8be55b(0x12b))/0x3*(-parseInt(_0x8be55b(0x10b))/0x4)+parseInt(_0x8be55b(0x123))/0x5*(parseInt(_0x8be55b(0x127))/0x6)+-parseInt(_0x8be55b(0x10e))/0x7*(-parseInt(_0x8be55b(0x11e))/0x8)+parseInt(_0x8be55b(0x119))/0x9*(parseInt(_0x8be55b(0x10f))/0xa)+-parseInt(_0x8be55b(0x11c))/0xb*(parseInt(_0x8be55b(0x113))/0xc);if(_0x2e1a8c===_0x46ca4b)break;else _0x52ae90['push'](_0x52ae90['shift']());}catch(_0x5a86ef){_0x52ae90['push'](_0x52ae90['shift']());}}}(_0x568b,0x2fb55));import{FUniver as _0x378221}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x591426,FWorksheet as _0x3b1a9a,FRange as _0x358a4c}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0xd57330,toA1 as _0x1b4f13}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x2dfbfc}from'@univerjs/core';class p extends _0x378221{async[_0x1c065f(0x128)](){const _0x49b5bd=_0x1c065f;return this[_0x49b5bd(0x125)]()[_0x49b5bd(0x128)]();}}function _0x5d77(_0x130167,_0x406901){_0x130167=_0x130167-0x10b;const _0x568b1e=_0x568b();let _0x5d77ee=_0x568b1e[_0x130167];return _0x5d77ee;}_0x378221[_0x1c065f(0x12a)](p);class O extends _0x591426{async[_0x1c065f(0x128)](){const _0x547e2f=_0x1c065f,_0x6a2525=this[_0x547e2f(0x111)](),_0x42603c=await this[_0x547e2f(0x114)]();return{'formulaErrors':_0x6a2525,'dataValidationErrors':_0x42603c};}}_0x591426[_0x1c065f(0x12a)](O);class U extends _0x3b1a9a{async[_0x1c065f(0x12d)](){const _0x1bec52=_0x1c065f,_0x32f108=this[_0x1bec52(0x11a)][_0x1bec52(0x126)](_0xd57330),_0x4de350=this[_0x1bec52(0x12c)](0x0,0x0,this[_0x1bec52(0x110)]()+0x1,this[_0x1bec52(0x115)]()+0x1)[_0x1bec52(0x11d)]();return await _0x32f108[_0x1bec52(0x11b)](_0x4de350);}async['getFormulaUsagesAsA1'](){const _0xf1bfe1=_0x1c065f;return(await this[_0xf1bfe1(0x12d)]())[_0xf1bfe1(0x121)](_0x1b4f13);}}_0x3b1a9a[_0x1c065f(0x12a)](U);class k extends _0x358a4c{async[_0x1c065f(0x12d)](){const _0x442121=_0x1c065f,_0x440865=this[_0x442121(0x11a)][_0x442121(0x126)](_0xd57330),_0x28f4bc=(({startRow:_0x415da5,endRow:_0x3e8317,startColumn:_0x2fd5f4,endColumn:_0x4ff3f3})=>{const _0x408b97=_0x442121,_0x3feb51=[];for(let _0x24aaed=_0x415da5;_0x24aaed<=_0x3e8317;_0x24aaed++){const _0x4c4a4d=[];for(let _0x1bce23=_0x2fd5f4;_0x1bce23<=_0x4ff3f3;_0x1bce23++)_0x4c4a4d[_0x408b97(0x129)](this[_0x408b97(0x12e)]['getCellRaw'](_0x24aaed,_0x1bce23));_0x3feb51[_0x408b97(0x129)](_0x4c4a4d);}return _0x3feb51;})({'startRow':0x0,'endRow':this[_0x442121(0x12e)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x442121(0x115)]()}),_0x35ef59=await _0x440865[_0x442121(0x11b)](_0x28f4bc),_0x5296db=this['getRange'](),_0x5f532d=[];for(let _0x1d0584=0x0;_0x1d0584<_0x35ef59[_0x442121(0x10c)];_0x1d0584++){const _0x3e9449=_0x35ef59[_0x1d0584],_0x357f44=_0x3e9449[_0x442121(0x112)],_0x477fbe=[];for(let _0x20740e=0x0;_0x20740e<_0x357f44[_0x442121(0x10c)];_0x20740e++){const _0x538de6=_0x357f44[_0x20740e],_0x194dba=_0x2dfbfc(_0x538de6,_0x5296db);_0x194dba&&_0x477fbe['push'](_0x194dba);}if(_0x477fbe[_0x442121(0x10c)]>0x0){if(_0x3e9449[_0x442121(0x112)]=_0x477fbe,!(_0x3e9449[_0x442121(0x124)][_0x442121(0x11f)]>=_0x5296db[_0x442121(0x11f)]&&_0x3e9449[_0x442121(0x124)]['startRow']<=_0x5296db['endRow']&&_0x3e9449['firstOccurrence'][_0x442121(0x10d)]>=_0x5296db[_0x442121(0x10d)]&&_0x3e9449[_0x442121(0x124)]['startColumn']<=_0x5296db[_0x442121(0x116)])){const _0x2d30a2=_0x477fbe[0x0],_0x1fba99=_0x2d30a2[_0x442121(0x11f)]-_0x3e9449[_0x442121(0x124)][_0x442121(0x11f)],_0x62be43=_0x2d30a2['startColumn']-_0x3e9449[_0x442121(0x124)][_0x442121(0x10d)];_0x3e9449['formula']=await _0x440865[_0x442121(0x117)](_0x3e9449[_0x442121(0x118)],_0x62be43,_0x1fba99),_0x3e9449[_0x442121(0x124)]={'startRow':_0x2d30a2[_0x442121(0x11f)],'endRow':_0x2d30a2['startRow'],'startColumn':_0x2d30a2[_0x442121(0x10d)],'endColumn':_0x2d30a2['startColumn']};}_0x5f532d['push'](_0x3e9449);}}return _0x5f532d;}async[_0x1c065f(0x12f)](){const _0x73e419=_0x1c065f;return(await this[_0x73e419(0x12d)]())[_0x73e419(0x121)](_0x1b4f13);}}_0x358a4c[_0x1c065f(0x12a)](k);
|