@univerjs-pro/sheets-mcp 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff
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 _0x3da98c=_0x1044;(function(_0xfe72b7,_0x16f193){const _0x77eeb=_0x1044,_0x14b16d=_0xfe72b7();while(!![]){try{const _0x7b066f=parseInt(_0x77eeb(0x1da))/0x1+parseInt(_0x77eeb(0x1ea))/0x2*(parseInt(_0x77eeb(0x1d5))/0x3)+-parseInt(_0x77eeb(0x1ce))/0x4*(parseInt(_0x77eeb(0x1e5))/0x5)+-parseInt(_0x77eeb(0x1d3))/0x6+-parseInt(_0x77eeb(0x1dd))/0x7+-parseInt(_0x77eeb(0x1e9))/0x8*(parseInt(_0x77eeb(0x1e0))/0x9)+-parseInt(_0x77eeb(0x1d6))/0xa*(-parseInt(_0x77eeb(0x1de))/0xb);if(_0x7b066f===_0x16f193)break;else _0x14b16d['push'](_0x14b16d['shift']());}catch(_0x394eda){_0x14b16d['push'](_0x14b16d['shift']());}}}(_0x41e9,0xc0bb1));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');function _0x1044(_0xafe6a9,_0x3cbd38){_0xafe6a9=_0xafe6a9-0x1ca;const _0x41e9fd=_0x41e9();let _0x104479=_0x41e9fd[_0xafe6a9];return _0x104479;}const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d['FUniver']{async[_0x3da98c(0x1ee)](){const _0xc922e3=_0x3da98c;return this[_0xc922e3(0x1eb)]()['getLintErrors']();}}d['FUniver']['extend'](A);class x extends o[_0x3da98c(0x1ef)]{async[_0x3da98c(0x1ee)](){const _0x564fc0=_0x3da98c,_0x1ece54=this[_0x564fc0(0x1d0)](),_0x595736=await this[_0x564fc0(0x1e7)]();return{'formulaErrors':_0x1ece54,'dataValidationErrors':_0x595736};}}o['FWorkbook'][_0x3da98c(0x1e4)](x);class k extends o['FWorksheet']{async[_0x3da98c(0x1e1)](){const _0x1be9c0=_0x3da98c,_0x2ac51f=this[_0x1be9c0(0x1e2)][_0x1be9c0(0x1cf)](c[_0x1be9c0(0x1e3)]),_0x23556b=this[_0x1be9c0(0x1ed)](0x0,0x0,this['getMaxRows']()+0x1,this['getMaxColumns']()+0x1)[_0x1be9c0(0x1e6)]();return await _0x2ac51f[_0x1be9c0(0x1f1)](_0x23556b);}async['getFormulaUsagesAsA1'](){const _0x3e80e5=_0x3da98c;return(await this['getFormulaUsages']())[_0x3e80e5(0x1d2)](c[_0x3e80e5(0x1db)]);}}o[_0x3da98c(0x1cd)][_0x3da98c(0x1e4)](k);function _0x41e9(){const _0x589552=['getLintErrors','FWorkbook','startColumn','getAllFormulaUsages','FRange','startRow','getMaxRows','FWorksheet','1027724UUwAur','get','getAllFormulaError','getMaxColumns','map','7966698QngLEz','moveFormulaRefOffset','3FwEthI','380omERdE','formula','filledRanges','_worksheet','50264vVIswl','toA1','getCellRaw','7040474wYTsxF','983862AieYZX','getFormulaUsagesAsA1','785637YQQdos','getFormulaUsages','_injector','IFormulaUsageAnalyzer','extend','5mAKtNa','getCellDataGrid','getAllDataValidationErrorAsync','push','16IqWZfP','210894tHSToT','getActiveWorkbook','length','getRange'];_0x41e9=function(){return _0x589552;};return _0x41e9();}class U extends o['FRange']{async[_0x3da98c(0x1e1)](){const _0x488712=_0x3da98c,_0x16b9ef=this['_injector'][_0x488712(0x1cf)](c[_0x488712(0x1e3)]),_0x5a4466=(({startRow:_0x133065,endRow:_0x27070b,startColumn:_0x4ab595,endColumn:_0x362035})=>{const _0x9f66a0=_0x488712,_0x533031=[];for(let _0x1e6723=_0x133065;_0x1e6723<=_0x27070b;_0x1e6723++){const _0x44b047=[];for(let _0x1fab53=_0x4ab595;_0x1fab53<=_0x362035;_0x1fab53++)_0x44b047[_0x9f66a0(0x1e8)](this['_worksheet'][_0x9f66a0(0x1dc)](_0x1e6723,_0x1fab53));_0x533031['push'](_0x44b047);}return _0x533031;})({'startRow':0x0,'endRow':this[_0x488712(0x1d9)][_0x488712(0x1cc)](),'startColumn':0x0,'endColumn':this[_0x488712(0x1d9)][_0x488712(0x1d1)]()}),_0x205c0b=await _0x16b9ef[_0x488712(0x1f1)](_0x5a4466),_0x1fd137=this[_0x488712(0x1ed)](),_0x37ac6e=[];for(let _0xe38b3c=0x0;_0xe38b3c<_0x205c0b[_0x488712(0x1ec)];_0xe38b3c++){const _0x425453=_0x205c0b[_0xe38b3c],_0x19636a=_0x425453['filledRanges'],_0x3c5f97=[];for(let _0x2342a5=0x0;_0x2342a5<_0x19636a['length'];_0x2342a5++){const _0xa2a3e3=_0x19636a[_0x2342a5],_0x2adbbf=w['getIntersectRange'](_0xa2a3e3,_0x1fd137);_0x2adbbf&&_0x3c5f97[_0x488712(0x1e8)](_0x2adbbf);}if(_0x3c5f97[_0x488712(0x1ec)]>0x0){_0x425453[_0x488712(0x1d8)]=_0x3c5f97;const _0x4da044=_0x3c5f97[0x0],_0x4364c1=_0x4da044[_0x488712(0x1cb)]-_0x1fd137['startRow'],_0x57d6a8=_0x4da044[_0x488712(0x1f0)]-_0x1fd137[_0x488712(0x1f0)];_0x425453[_0x488712(0x1d7)]=await _0x16b9ef[_0x488712(0x1d4)](_0x425453[_0x488712(0x1d7)],_0x4364c1,_0x57d6a8),_0x37ac6e[_0x488712(0x1e8)](_0x425453);}}return _0x37ac6e;}async[_0x3da98c(0x1df)](){const _0x2b2cfa=_0x3da98c;return(await this['getFormulaUsages']())[_0x2b2cfa(0x1d2)](c[_0x2b2cfa(0x1db)]);}}o[_0x3da98c(0x1ca)]['extend'](U);
|