@univerjs-pro/sheets-mcp 0.12.1 → 0.12.2-nightly.202511290732
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 +13 -13
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4760e3=_0xa38b;(function(_0x5a2dc4,_0x3f53e1){const _0x293efe=_0xa38b,_0x44bba4=_0x5a2dc4();while(!![]){try{const _0x4efad7=parseInt(_0x293efe(0xf2))/0x1+parseInt(_0x293efe(0xf8))/0x2*(-parseInt(_0x293efe(0xfd))/0x3)+parseInt(_0x293efe(0xf1))/0x4+parseInt(_0x293efe(0xf4))/0x5*(-parseInt(_0x293efe(0xe3))/0x6)+-parseInt(_0x293efe(0xfe))/0x7+-parseInt(_0x293efe(0xfb))/0x8*(parseInt(_0x293efe(0x100))/0x9)+-parseInt(_0x293efe(0xe8))/0xa*(-parseInt(_0x293efe(0xf0))/0xb);if(_0x4efad7===_0x3f53e1)break;else _0x44bba4['push'](_0x44bba4['shift']());}catch(_0x1420a4){_0x44bba4['push'](_0x44bba4['shift']());}}}(_0x55a4,0x6f908));import{FUniver as _0x259a7f}from'@univerjs/core/facade';function _0xa38b(_0x47cc5c,_0x40cadf){const _0x55a465=_0x55a4();return _0xa38b=function(_0xa38b91,_0x4789b1){_0xa38b91=_0xa38b91-0xe0;let _0x324862=_0x55a465[_0xa38b91];return _0x324862;},_0xa38b(_0x47cc5c,_0x40cadf);}import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x45e152,FWorksheet as _0x49fb8e,FRange as _0x13b6dd}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x33b60a,toA1 as _0x2d0fda}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x2186ee}from'@univerjs/core';class C extends _0x259a7f{async[_0x4760e3(0xea)](){const _0x1bbb98=_0x4760e3;return this[_0x1bbb98(0xec)]()[_0x1bbb98(0xea)]();}}_0x259a7f[_0x4760e3(0xe2)](C);class U extends _0x45e152{async[_0x4760e3(0xea)](){const _0x1fd730=_0x4760e3,_0x20c3e6=this[_0x1fd730(0xe6)](),_0x45e5d4=await this[_0x1fd730(0xf7)]();return{'formulaErrors':_0x20c3e6,'dataValidationErrors':_0x45e5d4};}}_0x45e152[_0x4760e3(0xe2)](U);class k extends _0x49fb8e{async['getFormulaUsages'](){const _0x3c34a4=_0x4760e3,_0xecbdf9=this[_0x3c34a4(0xff)][_0x3c34a4(0xe5)](_0x33b60a),_0x1681f7=this[_0x3c34a4(0xe4)](0x0,0x0,this[_0x3c34a4(0xf6)]()+0x1,this['getMaxColumns']()+0x1)[_0x3c34a4(0xf3)]();return await _0xecbdf9['getAllFormulaUsages'](_0x1681f7);}async[_0x4760e3(0xe0)](){const _0x38c506=_0x4760e3;return(await this[_0x38c506(0xf5)]())[_0x38c506(0xe9)](_0x2d0fda);}}function _0x55a4(){const _0x1b4189=['getFormulaUsagesAsA1','filledRanges','extend','6oiUGuw','getRange','get','getAllFormulaError','length','14055610lfRkrk','map','getLintErrors','startColumn','getActiveWorkbook','getCellRaw','formula','_worksheet','11TGLUjB','559372njIGQE','890720AWjfXL','getCellDataGrid','3350385HFMRfE','getFormulaUsages','getMaxRows','getAllDataValidationErrorAsync','492100OtnrfN','push','moveFormulaRefOffset','130408HmVtTi','startRow','9CTByzd','1143828WhcNLR','_injector','225HijPwr'];_0x55a4=function(){return _0x1b4189;};return _0x55a4();}_0x49fb8e[_0x4760e3(0xe2)](k);class y extends _0x13b6dd{async[_0x4760e3(0xf5)](){const _0x20359a=_0x4760e3,_0x559785=this[_0x20359a(0xff)][_0x20359a(0xe5)](_0x33b60a),_0x3cdd5c=(({startRow:_0x4b5f62,endRow:_0x20b20a,startColumn:_0x275123,endColumn:_0x27d3bc})=>{const _0x36fbf6=_0x20359a,_0xb7b7b8=[];for(let _0x21a784=_0x4b5f62;_0x21a784<=_0x20b20a;_0x21a784++){const _0x2c115b=[];for(let _0x50306e=_0x275123;_0x50306e<=_0x27d3bc;_0x50306e++)_0x2c115b[_0x36fbf6(0xf9)](this[_0x36fbf6(0xef)][_0x36fbf6(0xed)](_0x21a784,_0x50306e));_0xb7b7b8[_0x36fbf6(0xf9)](_0x2c115b);}return _0xb7b7b8;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x20359a(0xef)]['getMaxColumns']()}),_0x446c1e=await _0x559785['getAllFormulaUsages'](_0x3cdd5c),_0x5cd06b=this[_0x20359a(0xe4)](),_0x1f40ad=[];for(let _0x29abfc=0x0;_0x29abfc<_0x446c1e['length'];_0x29abfc++){const _0x41a1a6=_0x446c1e[_0x29abfc],_0x30cc59=_0x41a1a6[_0x20359a(0xe1)],_0xa742d6=[];for(let _0xb11966=0x0;_0xb11966<_0x30cc59[_0x20359a(0xe7)];_0xb11966++){const _0x30a170=_0x30cc59[_0xb11966],_0x6c970b=_0x2186ee(_0x30a170,_0x5cd06b);_0x6c970b&&_0xa742d6[_0x20359a(0xf9)](_0x6c970b);}if(_0xa742d6[_0x20359a(0xe7)]>0x0){_0x41a1a6[_0x20359a(0xe1)]=_0xa742d6;const _0xf8ed2e=_0xa742d6[0x0],_0x574483=_0xf8ed2e[_0x20359a(0xfc)]-_0x5cd06b[_0x20359a(0xfc)],_0x5d16d4=_0xf8ed2e[_0x20359a(0xeb)]-_0x5cd06b['startColumn'];_0x41a1a6[_0x20359a(0xee)]=await _0x559785[_0x20359a(0xfa)](_0x41a1a6['formula'],_0x574483,_0x5d16d4),_0x1f40ad[_0x20359a(0xf9)](_0x41a1a6);}}return _0x1f40ad;}async['getFormulaUsagesAsA1'](){const _0x349b4f=_0x4760e3;return(await this[_0x349b4f(0xf5)]())[_0x349b4f(0xe9)](_0x2d0fda);}}_0x13b6dd['extend'](y);
|