@univerjs-pro/sheets-mcp 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914
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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0xebda34=_0x28c3;function _0x28c3(_0x5594b9,_0x3f547a){_0x5594b9=_0x5594b9-0xa4;const _0x4e59a4=_0x4e59();let _0x28c3ff=_0x4e59a4[_0x5594b9];return _0x28c3ff;}(function(_0x2a9db8,_0x219756){const _0x3a6e86=_0x28c3,_0x3a26d4=_0x2a9db8();while(!![]){try{const _0x3de2ef=parseInt(_0x3a6e86(0xb5))/0x1*(parseInt(_0x3a6e86(0xb8))/0x2)+parseInt(_0x3a6e86(0xad))/0x3+parseInt(_0x3a6e86(0xae))/0x4+parseInt(_0x3a6e86(0xa4))/0x5+parseInt(_0x3a6e86(0xaa))/0x6+parseInt(_0x3a6e86(0xbc))/0x7+parseInt(_0x3a6e86(0xcd))/0x8*(-parseInt(_0x3a6e86(0xa9))/0x9);if(_0x3de2ef===_0x219756)break;else _0x3a26d4['push'](_0x3a26d4['shift']());}catch(_0x1786fc){_0x3a26d4['push'](_0x3a26d4['shift']());}}}(_0x4e59,0xee025));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),m=require('@univerjs-pro/sheets-mcp'),F=require('@univerjs/core');class C extends d['FUniver']{async[_0xebda34(0xb1)](){const _0x269c0b=_0xebda34;return this[_0x269c0b(0xb6)]()[_0x269c0b(0xb1)]();}}d[_0xebda34(0xa6)][_0xebda34(0xb0)](C);class A extends o[_0xebda34(0xb7)]{async[_0xebda34(0xb1)](){const _0x8b3315=_0xebda34,_0x7f33d7=this[_0x8b3315(0xaf)](),_0x860327=await this[_0x8b3315(0xbe)]();return{'formulaErrors':_0x7f33d7,'dataValidationErrors':_0x860327};}}function _0x4e59(){const _0x584b42=['_worksheet','getAllDataValidationErrorAsync','get','startColumn','getMaxColumns','IFormulaUsageAnalyzer','getFormulaUsagesAsA1','startRow','getIntersectRange','map','formula','moveFormulaRefOffset','firstOccurrence','toA1','getAllFormulaUsages','endRow','8AQRZes','6252895tcNBaB','getCellDataGrid','FUniver','filledRanges','length','55252278OAKohv','2627388injMlX','getRange','endColumn','2260245INHXug','5720268GfSFEi','getAllFormulaError','extend','getLintErrors','getFormulaUsages','getCellRaw','FRange','8OmKcsD','getActiveWorkbook','FWorkbook','445928GDCfsR','_injector','push','FWorksheet','10208492RvFZyJ'];_0x4e59=function(){return _0x584b42;};return _0x4e59();}o[_0xebda34(0xb7)][_0xebda34(0xb0)](A);class k extends o['FWorksheet']{async[_0xebda34(0xb2)](){const _0x4ecb9=_0xebda34,_0x58ef5d=this[_0x4ecb9(0xb9)]['get'](m[_0x4ecb9(0xc2)]),_0x28e246=this[_0x4ecb9(0xab)](0x0,0x0,this['getMaxRows']()+0x1,this[_0x4ecb9(0xc1)]()+0x1)[_0x4ecb9(0xa5)]();return await _0x58ef5d[_0x4ecb9(0xcb)](_0x28e246);}async[_0xebda34(0xc3)](){const _0x7e3fa3=_0xebda34;return(await this[_0x7e3fa3(0xb2)]())[_0x7e3fa3(0xc6)](m[_0x7e3fa3(0xca)]);}}o[_0xebda34(0xbb)][_0xebda34(0xb0)](k);class x extends o[_0xebda34(0xb4)]{async[_0xebda34(0xb2)](){const _0x4fb36e=_0xebda34,_0xcd062a=this[_0x4fb36e(0xb9)][_0x4fb36e(0xbf)](m['IFormulaUsageAnalyzer']),_0x4d5caf=(({startRow:_0x44d7f4,endRow:_0xf90f77,startColumn:_0x2146f5,endColumn:_0xda62f9})=>{const _0x1085a3=_0x4fb36e,_0x40c4e6=[];for(let _0x1e2238=_0x44d7f4;_0x1e2238<=_0xf90f77;_0x1e2238++){const _0x2c9d80=[];for(let _0x3906f0=_0x2146f5;_0x3906f0<=_0xda62f9;_0x3906f0++)_0x2c9d80[_0x1085a3(0xba)](this[_0x1085a3(0xbd)][_0x1085a3(0xb3)](_0x1e2238,_0x3906f0));_0x40c4e6[_0x1085a3(0xba)](_0x2c9d80);}return _0x40c4e6;})({'startRow':0x0,'endRow':this[_0x4fb36e(0xbd)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x4fb36e(0xbd)]['getMaxColumns']()}),_0xb4c8df=await _0xcd062a[_0x4fb36e(0xcb)](_0x4d5caf),_0x1c5383=this[_0x4fb36e(0xab)](),_0x4cdbc3=[];for(let _0x3d5dc6=0x0;_0x3d5dc6<_0xb4c8df['length'];_0x3d5dc6++){const _0x39ad80=_0xb4c8df[_0x3d5dc6],_0x319db5=_0x39ad80['filledRanges'],_0x40eaf8=[];for(let _0x4b29bc=0x0;_0x4b29bc<_0x319db5['length'];_0x4b29bc++){const _0x4ffdf5=_0x319db5[_0x4b29bc],_0x475959=F[_0x4fb36e(0xc5)](_0x4ffdf5,_0x1c5383);_0x475959&&_0x40eaf8[_0x4fb36e(0xba)](_0x475959);}if(_0x40eaf8[_0x4fb36e(0xa8)]>0x0){if(_0x39ad80[_0x4fb36e(0xa7)]=_0x40eaf8,!(_0x39ad80[_0x4fb36e(0xc9)][_0x4fb36e(0xc4)]>=_0x1c5383[_0x4fb36e(0xc4)]&&_0x39ad80[_0x4fb36e(0xc9)]['startRow']<=_0x1c5383[_0x4fb36e(0xcc)]&&_0x39ad80[_0x4fb36e(0xc9)][_0x4fb36e(0xc0)]>=_0x1c5383[_0x4fb36e(0xc0)]&&_0x39ad80[_0x4fb36e(0xc9)][_0x4fb36e(0xc0)]<=_0x1c5383[_0x4fb36e(0xac)])){const _0x14fb56=_0x40eaf8[0x0],_0x482298=_0x14fb56[_0x4fb36e(0xc4)]-_0x39ad80['firstOccurrence'][_0x4fb36e(0xc4)],_0x61b0e6=_0x14fb56['startColumn']-_0x39ad80[_0x4fb36e(0xc9)][_0x4fb36e(0xc0)];_0x39ad80[_0x4fb36e(0xc7)]=await _0xcd062a[_0x4fb36e(0xc8)](_0x39ad80['formula'],_0x61b0e6,_0x482298),_0x39ad80[_0x4fb36e(0xc9)]={'startRow':_0x14fb56[_0x4fb36e(0xc4)],'endRow':_0x14fb56[_0x4fb36e(0xc4)],'startColumn':_0x14fb56[_0x4fb36e(0xc0)],'endColumn':_0x14fb56[_0x4fb36e(0xc0)]};}_0x4cdbc3['push'](_0x39ad80);}}return _0x4cdbc3;}async[_0xebda34(0xc3)](){const _0x4f1f0d=_0xebda34;return(await this[_0x4f1f0d(0xb2)]())[_0x4f1f0d(0xc6)](m[_0x4f1f0d(0xca)]);}}o[_0xebda34(0xb4)]['extend'](x);
|