@univerjs-pro/sheets-mcp 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251223-857805c
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
|
-
const
|
|
1
|
+
const _0x2107d6=_0x1efe;(function(_0x31505e,_0x5d4d0b){const _0x3aff33=_0x1efe,_0x354dde=_0x31505e();while(!![]){try{const _0x1edb89=-parseInt(_0x3aff33(0xc9))/0x1*(parseInt(_0x3aff33(0xcb))/0x2)+parseInt(_0x3aff33(0xeb))/0x3*(-parseInt(_0x3aff33(0xe3))/0x4)+-parseInt(_0x3aff33(0xd0))/0x5*(parseInt(_0x3aff33(0xd4))/0x6)+parseInt(_0x3aff33(0xdb))/0x7*(-parseInt(_0x3aff33(0xdc))/0x8)+parseInt(_0x3aff33(0xec))/0x9+-parseInt(_0x3aff33(0xd5))/0xa*(parseInt(_0x3aff33(0xed))/0xb)+parseInt(_0x3aff33(0xd3))/0xc;if(_0x1edb89===_0x5d4d0b)break;else _0x354dde['push'](_0x354dde['shift']());}catch(_0x2622fd){_0x354dde['push'](_0x354dde['shift']());}}}(_0x5daf,0x2ae95));import{FUniver as _0x4121ee}from'@univerjs/core/facade';function _0x5daf(){const _0x59ad2c=['getCellRaw','27532Esqqkm','extend','getLintErrors','getAllDataValidationErrorAsync','firstOccurrence','getActiveWorkbook','moveFormulaRefOffset','get','3SVCaqD','750042DUFWdn','11KhkwEY','13577cZrWMZ','formula','2ifJGqa','startRow','startColumn','length','getAllFormulaError','25EVUsip','map','getMaxColumns','10257720nckJDQ','105486liPBPV','3448870cWZOyj','getRange','_injector','getAllFormulaUsages','filledRanges','push','2163917aOSHdQ','8AkEBRK','getFormulaUsages','getMaxRows','getCellDataGrid','_worksheet','getFormulaUsagesAsA1'];_0x5daf=function(){return _0x59ad2c;};return _0x5daf();}import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x2a0637,FWorksheet as _0x16baa7,FRange as _0x501a86}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x54db4a,toA1 as _0x1f73a1}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x4a2cfd}from'@univerjs/core';class p extends _0x4121ee{async[_0x2107d6(0xe5)](){const _0x4aefde=_0x2107d6;return this[_0x4aefde(0xe8)]()[_0x4aefde(0xe5)]();}}_0x4121ee[_0x2107d6(0xe4)](p);class O extends _0x2a0637{async[_0x2107d6(0xe5)](){const _0x418809=_0x2107d6,_0x197bdc=this[_0x418809(0xcf)](),_0x44ff34=await this[_0x418809(0xe6)]();return{'formulaErrors':_0x197bdc,'dataValidationErrors':_0x44ff34};}}_0x2a0637[_0x2107d6(0xe4)](O);class U extends _0x16baa7{async[_0x2107d6(0xdd)](){const _0x1c35a3=_0x2107d6,_0x302cfe=this[_0x1c35a3(0xd7)][_0x1c35a3(0xea)](_0x54db4a),_0x38cd40=this[_0x1c35a3(0xd6)](0x0,0x0,this[_0x1c35a3(0xde)]()+0x1,this[_0x1c35a3(0xd2)]()+0x1)[_0x1c35a3(0xdf)]();return await _0x302cfe[_0x1c35a3(0xd8)](_0x38cd40);}async[_0x2107d6(0xe1)](){const _0x20c7c4=_0x2107d6;return(await this[_0x20c7c4(0xdd)]())[_0x20c7c4(0xd1)](_0x1f73a1);}}_0x16baa7[_0x2107d6(0xe4)](U);function _0x1efe(_0x58ac6f,_0x1e0c1d){_0x58ac6f=_0x58ac6f-0xc9;const _0x5dafd5=_0x5daf();let _0x1efefa=_0x5dafd5[_0x58ac6f];return _0x1efefa;}class k extends _0x501a86{async[_0x2107d6(0xdd)](){const _0xc7ce8f=_0x2107d6,_0xbea1=this[_0xc7ce8f(0xd7)][_0xc7ce8f(0xea)](_0x54db4a),_0x2df828=(({startRow:_0x8ee524,endRow:_0xf52100,startColumn:_0xb419dc,endColumn:_0x1e08f2})=>{const _0x38e491=_0xc7ce8f,_0x275c1d=[];for(let _0x179a31=_0x8ee524;_0x179a31<=_0xf52100;_0x179a31++){const _0x97f5a2=[];for(let _0x4be8a3=_0xb419dc;_0x4be8a3<=_0x1e08f2;_0x4be8a3++)_0x97f5a2[_0x38e491(0xda)](this['_worksheet'][_0x38e491(0xe2)](_0x179a31,_0x4be8a3));_0x275c1d[_0x38e491(0xda)](_0x97f5a2);}return _0x275c1d;})({'startRow':0x0,'endRow':this[_0xc7ce8f(0xe0)][_0xc7ce8f(0xde)](),'startColumn':0x0,'endColumn':this[_0xc7ce8f(0xe0)][_0xc7ce8f(0xd2)]()}),_0x8d2360=await _0xbea1[_0xc7ce8f(0xd8)](_0x2df828),_0x439274=this[_0xc7ce8f(0xd6)](),_0x4a18bb=[];for(let _0x381678=0x0;_0x381678<_0x8d2360[_0xc7ce8f(0xce)];_0x381678++){const _0x2aa7b8=_0x8d2360[_0x381678],_0x58e439=_0x2aa7b8[_0xc7ce8f(0xd9)],_0x625520=[];for(let _0x224704=0x0;_0x224704<_0x58e439[_0xc7ce8f(0xce)];_0x224704++){const _0x53c880=_0x58e439[_0x224704],_0x9ce3b4=_0x4a2cfd(_0x53c880,_0x439274);_0x9ce3b4&&_0x625520[_0xc7ce8f(0xda)](_0x9ce3b4);}if(_0x625520[_0xc7ce8f(0xce)]>0x0){if(_0x2aa7b8[_0xc7ce8f(0xd9)]=_0x625520,!(_0x2aa7b8[_0xc7ce8f(0xe7)]['startRow']>=_0x439274[_0xc7ce8f(0xcc)]&&_0x2aa7b8[_0xc7ce8f(0xe7)][_0xc7ce8f(0xcc)]<=_0x439274['endRow']&&_0x2aa7b8[_0xc7ce8f(0xe7)][_0xc7ce8f(0xcd)]>=_0x439274['startColumn']&&_0x2aa7b8[_0xc7ce8f(0xe7)]['startColumn']<=_0x439274['endColumn'])){const _0x1529a=_0x625520[0x0],_0x18733a=_0x1529a['startRow']-_0x2aa7b8['firstOccurrence']['startRow'],_0x34fb14=_0x1529a[_0xc7ce8f(0xcd)]-_0x2aa7b8[_0xc7ce8f(0xe7)]['startColumn'];_0x2aa7b8['formula']=await _0xbea1[_0xc7ce8f(0xe9)](_0x2aa7b8[_0xc7ce8f(0xca)],_0x34fb14,_0x18733a),_0x2aa7b8[_0xc7ce8f(0xe7)]={'startRow':_0x1529a[_0xc7ce8f(0xcc)],'endRow':_0x1529a[_0xc7ce8f(0xcc)],'startColumn':_0x1529a['startColumn'],'endColumn':_0x1529a['startColumn']};}_0x4a18bb[_0xc7ce8f(0xda)](_0x2aa7b8);}}return _0x4a18bb;}async[_0x2107d6(0xe1)](){const _0x4da9f0=_0x2107d6;return(await this[_0x4da9f0(0xdd)]())[_0x4da9f0(0xd1)](_0x1f73a1);}}_0x501a86[_0x2107d6(0xe4)](k);
|