@univerjs-pro/sheets-mcp 0.14.0 → 0.15.0-insiders.20251227-453e4ff
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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1de6(_0x6bc458,_0x4bf85d){_0x6bc458=_0x6bc458-0x9a;const _0xaf2758=_0xaf27();let _0x1de6d6=_0xaf2758[_0x6bc458];return _0x1de6d6;}function _0xaf27(){const _0x3302ee=['getAllFormulaError','getFormulaUsagesAsA1','@univerjs/core/facade','endRow','IFormulaUsageAnalyzer','getLintErrors','@univerjs-pro/sheets-mcp','toA1','312968YhnCeT','@univerjs/sheets-formula/facade','function','getFormulaUsages','map','getRange','getAllFormulaUsages','2626270ckhOHv','length','FWorksheet','getCellRaw','UniverSheetsFacade','amd','extend','endColumn','UniverCore','get','763032ZkioCA','79739sUVgUT','@univerjs/sheets-data-validation/facade','getMaxRows','177247ZfWjFg','getMaxColumns','@univerjs/sheets/facade','FRange','11Ndtjlf','9wEbXBq','5xQyjJX','getAllDataValidationErrorAsync','UniverSheetsFormulaFacade','@univerjs/core','2HGJbDG','FWorkbook','formula','FUniver','3282444ficfVl','getIntersectRange','UniverProSheetsMcp','filledRanges','getActiveWorkbook','object','651207RvkMJx','getCellDataGrid','startRow','_worksheet','firstOccurrence','startColumn','push','_injector','66EoXnjL'];_0xaf27=function(){return _0x3302ee;};return _0xaf27();}(function(_0x2d4813,_0x5b5206){const _0x4bca4f=_0x1de6,_0x3e9ac8=_0x2d4813();while(!![]){try{const _0x7ad2ae=-parseInt(_0x4bca4f(0xce))/0x1+-parseInt(_0x4bca4f(0xa1))/0x2*(-parseInt(_0x4bca4f(0xab))/0x3)+parseInt(_0x4bca4f(0xcd))/0x4*(-parseInt(_0x4bca4f(0x9d))/0x5)+-parseInt(_0x4bca4f(0xb3))/0x6*(-parseInt(_0x4bca4f(0xd1))/0x7)+-parseInt(_0x4bca4f(0xbc))/0x8*(parseInt(_0x4bca4f(0x9c))/0x9)+parseInt(_0x4bca4f(0xc3))/0xa*(parseInt(_0x4bca4f(0x9b))/0xb)+-parseInt(_0x4bca4f(0xa5))/0xc;if(_0x7ad2ae===_0x5b5206)break;else _0x3e9ac8['push'](_0x3e9ac8['shift']());}catch(_0x3f659c){_0x3e9ac8['push'](_0x3e9ac8['shift']());}}}(_0xaf27,0x2abe0),function(_0x3749b0,_0x34286f){const _0x4d169a=_0x1de6;typeof exports==_0x4d169a(0xaa)&&typeof module<'u'?_0x34286f(require('@univerjs/core/facade'),require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade'),require('@univerjs/sheets/facade'),require('@univerjs-pro/sheets-mcp'),require('@univerjs/core')):typeof define==_0x4d169a(0xbe)&&define[_0x4d169a(0xc8)]?define([_0x4d169a(0xb6),_0x4d169a(0xbd),_0x4d169a(0xcf),_0x4d169a(0xd3),_0x4d169a(0xba),_0x4d169a(0xa0)],_0x34286f):(_0x3749b0=typeof globalThis<'u'?globalThis:_0x3749b0||self,_0x34286f(_0x3749b0['UniverCoreFacade'],_0x3749b0[_0x4d169a(0x9f)],_0x3749b0['UniverSheetsDataValidationFacade'],_0x3749b0[_0x4d169a(0xc7)],_0x3749b0[_0x4d169a(0xa7)],_0x3749b0[_0x4d169a(0xcb)]));}(this,function(_0x4ab6cc,_0x3ed5c8,_0x4635b8,_0x2588d4,_0x5c2b5d,_0x245c47){'use strict';const _0x2d8bc9=_0x1de6;class _0x4fd01c extends _0x4ab6cc[_0x2d8bc9(0xa4)]{async[_0x2d8bc9(0xb9)](){const _0x35319e=_0x2d8bc9;return this[_0x35319e(0xa9)]()[_0x35319e(0xb9)]();}}_0x4ab6cc[_0x2d8bc9(0xa4)][_0x2d8bc9(0xc9)](_0x4fd01c);class _0x21250e extends _0x2588d4[_0x2d8bc9(0xa2)]{async[_0x2d8bc9(0xb9)](){const _0x2808c5=_0x2d8bc9,_0x36f1c0=this[_0x2808c5(0xb4)](),_0x11dec9=await this[_0x2808c5(0x9e)]();return{'formulaErrors':_0x36f1c0,'dataValidationErrors':_0x11dec9};}}_0x2588d4[_0x2d8bc9(0xa2)]['extend'](_0x21250e);class _0x57ca0f extends _0x2588d4[_0x2d8bc9(0xc5)]{async[_0x2d8bc9(0xbf)](){const _0x345bf2=_0x2d8bc9,_0x341d6c=this['_injector'][_0x345bf2(0xcc)](_0x5c2b5d[_0x345bf2(0xb8)]),_0x5d4413=this[_0x345bf2(0xc1)](0x0,0x0,this[_0x345bf2(0xd0)](),this['getMaxColumns']())[_0x345bf2(0xac)]();return await _0x341d6c[_0x345bf2(0xc2)](_0x5d4413);}async[_0x2d8bc9(0xb5)](){const _0x378fba=_0x2d8bc9;return(await this[_0x378fba(0xbf)]())['map'](_0x5c2b5d['toA1']);}}_0x2588d4[_0x2d8bc9(0xc5)]['extend'](_0x57ca0f);class _0x1695bb extends _0x2588d4[_0x2d8bc9(0x9a)]{async[_0x2d8bc9(0xbf)](){const _0x32574f=_0x2d8bc9,_0x3b8186=this[_0x32574f(0xb2)][_0x32574f(0xcc)](_0x5c2b5d[_0x32574f(0xb8)]),_0x24d549=(({startRow:_0x2a4b14,endRow:_0xa66eb1,startColumn:_0x47abf0,endColumn:_0x54a5bd})=>{const _0x672270=_0x32574f,_0x32e4fb=[];for(let _0x2a4e5c=_0x2a4b14;_0x2a4e5c<=_0xa66eb1;_0x2a4e5c++){const _0x2b86e8=[];for(let _0x368915=_0x47abf0;_0x368915<=_0x54a5bd;_0x368915++)_0x2b86e8[_0x672270(0xb1)](this[_0x672270(0xae)][_0x672270(0xc6)](_0x2a4e5c,_0x368915));_0x32e4fb[_0x672270(0xb1)](_0x2b86e8);}return _0x32e4fb;})({'startRow':0x0,'endRow':this['_worksheet'][_0x32574f(0xd0)](),'startColumn':0x0,'endColumn':this[_0x32574f(0xae)][_0x32574f(0xd2)]()}),_0x3a6106=await _0x3b8186[_0x32574f(0xc2)](_0x24d549),_0x45866b=this['getRange'](),_0x2b0963=[];for(let _0x4f8bff=0x0;_0x4f8bff<_0x3a6106[_0x32574f(0xc4)];_0x4f8bff++){const _0x145fec=_0x3a6106[_0x4f8bff],_0x4eaf2e=_0x145fec[_0x32574f(0xa8)],_0x4a47dd=[];for(let _0x26f28f=0x0;_0x26f28f<_0x4eaf2e[_0x32574f(0xc4)];_0x26f28f++){const _0x3389fb=_0x4eaf2e[_0x26f28f],_0x240e4d=_0x245c47[_0x32574f(0xa6)](_0x3389fb,_0x45866b);_0x240e4d&&_0x4a47dd[_0x32574f(0xb1)](_0x240e4d);}if(_0x4a47dd[_0x32574f(0xc4)]>0x0){if(_0x145fec['filledRanges']=_0x4a47dd,!(_0x145fec[_0x32574f(0xaf)][_0x32574f(0xad)]>=_0x45866b[_0x32574f(0xad)]&&_0x145fec['firstOccurrence'][_0x32574f(0xad)]<=_0x45866b[_0x32574f(0xb7)]&&_0x145fec[_0x32574f(0xaf)][_0x32574f(0xb0)]>=_0x45866b[_0x32574f(0xb0)]&&_0x145fec[_0x32574f(0xaf)]['startColumn']<=_0x45866b[_0x32574f(0xca)])){const _0x296aca=_0x4a47dd[0x0],_0x3d6fcf=_0x296aca[_0x32574f(0xad)]-_0x145fec[_0x32574f(0xaf)][_0x32574f(0xad)],_0x289269=_0x296aca[_0x32574f(0xb0)]-_0x145fec[_0x32574f(0xaf)][_0x32574f(0xb0)];_0x145fec[_0x32574f(0xa3)]=await _0x3b8186['moveFormulaRefOffset'](_0x145fec[_0x32574f(0xa3)],_0x289269,_0x3d6fcf),_0x145fec[_0x32574f(0xaf)]={'startRow':_0x296aca[_0x32574f(0xad)],'endRow':_0x296aca['startRow'],'startColumn':_0x296aca[_0x32574f(0xb0)],'endColumn':_0x296aca[_0x32574f(0xb0)]};}_0x2b0963[_0x32574f(0xb1)](_0x145fec);}}return _0x2b0963;}async['getFormulaUsagesAsA1'](){const _0x1dc9aa=_0x2d8bc9;return(await this[_0x1dc9aa(0xbf)]())[_0x1dc9aa(0xc0)](_0x5c2b5d[_0x1dc9aa(0xbb)]);}}_0x2588d4['FRange'][_0x2d8bc9(0xc9)](_0x1695bb);}));
|