@univerjs-pro/sheets-mcp 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905
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 _0x1d5bc8=_0xdf48;(function(_0x16cb89,_0x2699da){const _0x313494=_0xdf48,_0x1095d2=_0x16cb89();while(!![]){try{const _0xf1bd44=parseInt(_0x313494(0x103))/0x1*(-parseInt(_0x313494(0x117))/0x2)+-parseInt(_0x313494(0x11c))/0x3+-parseInt(_0x313494(0x10f))/0x4*(parseInt(_0x313494(0x10d))/0x5)+-parseInt(_0x313494(0x122))/0x6*(parseInt(_0x313494(0x112))/0x7)+-parseInt(_0x313494(0xfd))/0x8+-parseInt(_0x313494(0x108))/0x9*(parseInt(_0x313494(0x115))/0xa)+parseInt(_0x313494(0x121))/0xb;if(_0xf1bd44===_0x2699da)break;else _0x1095d2['push'](_0x1095d2['shift']());}catch(_0x2e4266){_0x1095d2['push'](_0x1095d2['shift']());}}}(_0x3575,0x303e3));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');function _0x3575(){const _0x2226de=['map','FWorkbook','getRange','14745016sxIUNj','6tOeqep','formula','531152UeEiPz','push','extend','FRange','getAllDataValidationErrorAsync','getCellDataGrid','3kIIcDv','_worksheet','filledRanges','getMaxRows','FWorksheet','9qDwmbu','getMaxColumns','length','moveFormulaRefOffset','getFormulaUsagesAsA1','5UidOZK','getFormulaUsages','1271896juZxnn','startRow','FUniver','1741943zBVANa','getIntersectRange','getCellRaw','534030wEaCJu','startColumn','149990LAOobQ','getLintErrors','_injector','get','toA1','693744aDnPgV','IFormulaUsageAnalyzer'];_0x3575=function(){return _0x2226de;};return _0x3575();}class A extends d['FUniver']{async[_0x1d5bc8(0x118)](){const _0x378295=_0x1d5bc8;return this['getActiveWorkbook']()[_0x378295(0x118)]();}}d[_0x1d5bc8(0x111)][_0x1d5bc8(0xff)](A);class x extends o[_0x1d5bc8(0x11f)]{async['getLintErrors'](){const _0x2de0d0=_0x1d5bc8,_0x38839d=this['getAllFormulaError'](),_0x14b063=await this[_0x2de0d0(0x101)]();return{'formulaErrors':_0x38839d,'dataValidationErrors':_0x14b063};}}o[_0x1d5bc8(0x11f)][_0x1d5bc8(0xff)](x);class k extends o[_0x1d5bc8(0x107)]{async[_0x1d5bc8(0x10e)](){const _0x503088=_0x1d5bc8,_0x3458a0=this[_0x503088(0x119)]['get'](c[_0x503088(0x11d)]),_0x4961dd=this[_0x503088(0x120)](0x0,0x0,this[_0x503088(0x106)]()+0x1,this[_0x503088(0x109)]()+0x1)[_0x503088(0x102)]();return await _0x3458a0['getAllFormulaUsages'](_0x4961dd);}async[_0x1d5bc8(0x10c)](){const _0x1becd8=_0x1d5bc8;return(await this[_0x1becd8(0x10e)]())[_0x1becd8(0x11e)](c[_0x1becd8(0x11b)]);}}function _0xdf48(_0x5513be,_0x1b2f38){const _0x357511=_0x3575();return _0xdf48=function(_0xdf48d1,_0x829b79){_0xdf48d1=_0xdf48d1-0xfd;let _0x5898de=_0x357511[_0xdf48d1];return _0x5898de;},_0xdf48(_0x5513be,_0x1b2f38);}o['FWorksheet'][_0x1d5bc8(0xff)](k);class U extends o[_0x1d5bc8(0x100)]{async[_0x1d5bc8(0x10e)](){const _0x50ce7d=_0x1d5bc8,_0x58ac5c=this['_injector'][_0x50ce7d(0x11a)](c[_0x50ce7d(0x11d)]),_0x398a56=(({startRow:_0x34e996,endRow:_0x1728e1,startColumn:_0x4eb8b7,endColumn:_0x230fa0})=>{const _0x5e3935=_0x50ce7d,_0xe16ba4=[];for(let _0x29ab60=_0x34e996;_0x29ab60<=_0x1728e1;_0x29ab60++){const _0x25b356=[];for(let _0xe117be=_0x4eb8b7;_0xe117be<=_0x230fa0;_0xe117be++)_0x25b356[_0x5e3935(0xfe)](this[_0x5e3935(0x104)][_0x5e3935(0x114)](_0x29ab60,_0xe117be));_0xe16ba4['push'](_0x25b356);}return _0xe16ba4;})({'startRow':0x0,'endRow':this['_worksheet'][_0x50ce7d(0x106)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x50ce7d(0x109)]()}),_0x26e38d=await _0x58ac5c['getAllFormulaUsages'](_0x398a56),_0x3fbee7=this[_0x50ce7d(0x120)](),_0x3ae0a8=[];for(let _0x4cf9f2=0x0;_0x4cf9f2<_0x26e38d[_0x50ce7d(0x10a)];_0x4cf9f2++){const _0x3f2af2=_0x26e38d[_0x4cf9f2],_0x57cb7c=_0x3f2af2[_0x50ce7d(0x105)],_0x4b6da0=[];for(let _0x176baf=0x0;_0x176baf<_0x57cb7c['length'];_0x176baf++){const _0x55db91=_0x57cb7c[_0x176baf],_0x412f64=w[_0x50ce7d(0x113)](_0x55db91,_0x3fbee7);_0x412f64&&_0x4b6da0[_0x50ce7d(0xfe)](_0x412f64);}if(_0x4b6da0['length']>0x0){_0x3f2af2[_0x50ce7d(0x105)]=_0x4b6da0;const _0x5d8f31=_0x4b6da0[0x0],_0x40485f=_0x5d8f31['startRow']-_0x3fbee7[_0x50ce7d(0x110)],_0x3c32b3=_0x5d8f31[_0x50ce7d(0x116)]-_0x3fbee7[_0x50ce7d(0x116)];_0x3f2af2[_0x50ce7d(0x123)]=await _0x58ac5c[_0x50ce7d(0x10b)](_0x3f2af2[_0x50ce7d(0x123)],_0x40485f,_0x3c32b3),_0x3ae0a8[_0x50ce7d(0xfe)](_0x3f2af2);}}return _0x3ae0a8;}async[_0x1d5bc8(0x10c)](){const _0xe7abca=_0x1d5bc8;return(await this['getFormulaUsages']())[_0xe7abca(0x11e)](c[_0xe7abca(0x11b)]);}}o[_0x1d5bc8(0x100)][_0x1d5bc8(0xff)](U);
|