@univerjs-pro/sheets-mcp 0.12.2-nightly.202511290905 → 0.12.3-experimental.20251204-1549a8e
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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2e9ce4=_0x3c93;(function(_0x5bf874,_0x4bac43){const _0x2c52a4=_0x3c93,_0x45dbee=_0x5bf874();while(!![]){try{const _0x24f1f9=parseInt(_0x2c52a4(0x15f))/0x1*(-parseInt(_0x2c52a4(0x146))/0x2)+-parseInt(_0x2c52a4(0x158))/0x3+parseInt(_0x2c52a4(0x157))/0x4*(-parseInt(_0x2c52a4(0x159))/0x5)+parseInt(_0x2c52a4(0x152))/0x6*(-parseInt(_0x2c52a4(0x149))/0x7)+parseInt(_0x2c52a4(0x142))/0x8*(parseInt(_0x2c52a4(0x147))/0x9)+parseInt(_0x2c52a4(0x164))/0xa*(-parseInt(_0x2c52a4(0x156))/0xb)+-parseInt(_0x2c52a4(0x145))/0xc*(-parseInt(_0x2c52a4(0x162))/0xd);if(_0x24f1f9===_0x4bac43)break;else _0x45dbee['push'](_0x45dbee['shift']());}catch(_0x48823e){_0x45dbee['push'](_0x45dbee['shift']());}}}(_0xc4de,0x3d112));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[_0x2e9ce4(0x154)]{async[_0x2e9ce4(0x151)](){const _0x5f5bc2=_0x2e9ce4;return this[_0x5f5bc2(0x14c)]()[_0x5f5bc2(0x151)]();}}d[_0x2e9ce4(0x154)][_0x2e9ce4(0x14f)](A);class x extends o[_0x2e9ce4(0x15e)]{async[_0x2e9ce4(0x151)](){const _0x387640=_0x2e9ce4,_0x125214=this['getAllFormulaError'](),_0x34d02a=await this[_0x387640(0x140)]();return{'formulaErrors':_0x125214,'dataValidationErrors':_0x34d02a};}}function _0xc4de(){const _0x1fb00c=['5064YpDChw','285674rQYBiu','5346WYOSEt','length','623OmCEHk','moveFormulaRefOffset','get','getActiveWorkbook','formula','getRange','extend','getIntersectRange','getLintErrors','29214tQnhKl','getFormulaUsages','FUniver','getFormulaUsagesAsA1','22FCxNHc','4aeEIAO','1061055AqxGaP','949775JJaovo','getAllFormulaUsages','_worksheet','getMaxColumns','filledRanges','FWorkbook','1ydOYZD','push','toA1','55016MKbrvj','FRange','2207490jRoVei','map','_injector','getAllDataValidationErrorAsync','getCellRaw','344NnVRIC','IFormulaUsageAnalyzer','FWorksheet'];_0xc4de=function(){return _0x1fb00c;};return _0xc4de();}o[_0x2e9ce4(0x15e)]['extend'](x);function _0x3c93(_0x23e13e,_0xf50dcc){_0x23e13e=_0x23e13e-0x13f;const _0xc4de02=_0xc4de();let _0x3c93cc=_0xc4de02[_0x23e13e];return _0x3c93cc;}class k extends o[_0x2e9ce4(0x144)]{async[_0x2e9ce4(0x153)](){const _0x40b483=_0x2e9ce4,_0x22cc82=this[_0x40b483(0x13f)]['get'](c[_0x40b483(0x143)]),_0x1b4236=this[_0x40b483(0x14e)](0x0,0x0,this['getMaxRows']()+0x1,this[_0x40b483(0x15c)]()+0x1)['getCellDataGrid']();return await _0x22cc82[_0x40b483(0x15a)](_0x1b4236);}async[_0x2e9ce4(0x155)](){const _0x3e683d=_0x2e9ce4;return(await this[_0x3e683d(0x153)]())[_0x3e683d(0x165)](c[_0x3e683d(0x161)]);}}o[_0x2e9ce4(0x144)][_0x2e9ce4(0x14f)](k);class U extends o[_0x2e9ce4(0x163)]{async[_0x2e9ce4(0x153)](){const _0x15859b=_0x2e9ce4,_0x37e91b=this[_0x15859b(0x13f)][_0x15859b(0x14b)](c[_0x15859b(0x143)]),_0x409012=(({startRow:_0x34ad17,endRow:_0x569e63,startColumn:_0x5c6a72,endColumn:_0x4743e0})=>{const _0x2cd396=_0x15859b,_0x4ebf69=[];for(let _0x27087b=_0x34ad17;_0x27087b<=_0x569e63;_0x27087b++){const _0x1d88f1=[];for(let _0x188567=_0x5c6a72;_0x188567<=_0x4743e0;_0x188567++)_0x1d88f1['push'](this[_0x2cd396(0x15b)][_0x2cd396(0x141)](_0x27087b,_0x188567));_0x4ebf69['push'](_0x1d88f1);}return _0x4ebf69;})({'startRow':0x0,'endRow':this[_0x15859b(0x15b)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x15859b(0x15b)][_0x15859b(0x15c)]()}),_0x5a9990=await _0x37e91b[_0x15859b(0x15a)](_0x409012),_0x2bf5ae=this[_0x15859b(0x14e)](),_0x3e74db=[];for(let _0x5987a4=0x0;_0x5987a4<_0x5a9990[_0x15859b(0x148)];_0x5987a4++){const _0x1863d3=_0x5a9990[_0x5987a4],_0x3c8162=_0x1863d3['filledRanges'],_0x5d74d2=[];for(let _0x2c934f=0x0;_0x2c934f<_0x3c8162[_0x15859b(0x148)];_0x2c934f++){const _0x50f000=_0x3c8162[_0x2c934f],_0x174fa8=w[_0x15859b(0x150)](_0x50f000,_0x2bf5ae);_0x174fa8&&_0x5d74d2[_0x15859b(0x160)](_0x174fa8);}if(_0x5d74d2[_0x15859b(0x148)]>0x0){_0x1863d3[_0x15859b(0x15d)]=_0x5d74d2;const _0x355fee=_0x5d74d2[0x0],_0x59d279=_0x355fee['startRow']-_0x2bf5ae['startRow'],_0x45f552=_0x355fee['startColumn']-_0x2bf5ae['startColumn'];_0x1863d3[_0x15859b(0x14d)]=await _0x37e91b[_0x15859b(0x14a)](_0x1863d3[_0x15859b(0x14d)],_0x59d279,_0x45f552),_0x3e74db[_0x15859b(0x160)](_0x1863d3);}}return _0x3e74db;}async[_0x2e9ce4(0x155)](){const _0x5ab807=_0x2e9ce4;return(await this[_0x5ab807(0x153)]())[_0x5ab807(0x165)](c[_0x5ab807(0x161)]);}}o[_0x2e9ce4(0x163)]['extend'](U);
|