@univerjs-pro/sheets-mcp 0.12.2-nightly.202511290905 → 0.12.3

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/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x35d3(){const _0x4d7c0e=['extend','getCellRaw','formula','50BpyJZX','filledRanges','startRow','6zUayKh','getRange','_injector','getLintErrors','map','getCellDataGrid','9AiGMcx','push','getActiveWorkbook','getAllFormulaError','getMaxRows','1540790Cgnntt','length','getAllFormulaUsages','_worksheet','8917208JuuyAR','moveFormulaRefOffset','3660350ZZUcgV','2399444YGKNkD','915867NOGofU','getMaxColumns','35675iLPSoM','startColumn','getFormulaUsagesAsA1','getFormulaUsages','949921UzthAg'];_0x35d3=function(){return _0x4d7c0e;};return _0x35d3();}const _0x1921fd=_0x4cd5;(function(_0x2ff697,_0x57d736){const _0x22ecee=_0x4cd5,_0x49cf66=_0x2ff697();while(!![]){try{const _0x4990bf=parseInt(_0x22ecee(0x15a))/0x1*(parseInt(_0x22ecee(0x162))/0x2)+-parseInt(_0x22ecee(0x158))/0x3+-parseInt(_0x22ecee(0x157))/0x4+-parseInt(_0x22ecee(0x170))/0x5*(parseInt(_0x22ecee(0x165))/0x6)+parseInt(_0x22ecee(0x15e))/0x7+parseInt(_0x22ecee(0x174))/0x8+parseInt(_0x22ecee(0x16b))/0x9*(-parseInt(_0x22ecee(0x156))/0xa);if(_0x4990bf===_0x57d736)break;else _0x49cf66['push'](_0x49cf66['shift']());}catch(_0x70219c){_0x49cf66['push'](_0x49cf66['shift']());}}}(_0x35d3,0x896c6));import{FUniver as _0x12b181}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x368afb,FWorksheet as _0x1607c4,FRange as _0x1690b0}from'@univerjs/sheets/facade';function _0x4cd5(_0xeb4eec,_0x380b1f){const _0x35d3e8=_0x35d3();return _0x4cd5=function(_0x4cd53a,_0x541806){_0x4cd53a=_0x4cd53a-0x156;let _0x1050e2=_0x35d3e8[_0x4cd53a];return _0x1050e2;},_0x4cd5(_0xeb4eec,_0x380b1f);}import{IFormulaUsageAnalyzer as _0xac85ff,toA1 as _0x21a35b}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x25a2e5}from'@univerjs/core';class C extends _0x12b181{async[_0x1921fd(0x168)](){const _0x25cf77=_0x1921fd;return this[_0x25cf77(0x16d)]()['getLintErrors']();}}_0x12b181[_0x1921fd(0x15f)](C);class U extends _0x368afb{async['getLintErrors'](){const _0x266659=_0x1921fd,_0x4a42cf=this[_0x266659(0x16e)](),_0x25b5e9=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x4a42cf,'dataValidationErrors':_0x25b5e9};}}_0x368afb[_0x1921fd(0x15f)](U);class k extends _0x1607c4{async[_0x1921fd(0x15d)](){const _0x5e0caf=_0x1921fd,_0x3b031e=this[_0x5e0caf(0x167)]['get'](_0xac85ff),_0x4a99c2=this[_0x5e0caf(0x166)](0x0,0x0,this[_0x5e0caf(0x16f)]()+0x1,this['getMaxColumns']()+0x1)[_0x5e0caf(0x16a)]();return await _0x3b031e[_0x5e0caf(0x172)](_0x4a99c2);}async[_0x1921fd(0x15c)](){const _0x466c31=_0x1921fd;return(await this[_0x466c31(0x15d)]())['map'](_0x21a35b);}}_0x1607c4[_0x1921fd(0x15f)](k);class y extends _0x1690b0{async[_0x1921fd(0x15d)](){const _0x357c15=_0x1921fd,_0x28e370=this[_0x357c15(0x167)]['get'](_0xac85ff),_0x5d1959=(({startRow:_0x277129,endRow:_0x3d08ea,startColumn:_0x56ea0d,endColumn:_0x5158a9})=>{const _0x18b559=_0x357c15,_0x330a7f=[];for(let _0x2986c5=_0x277129;_0x2986c5<=_0x3d08ea;_0x2986c5++){const _0x369278=[];for(let _0x4c9526=_0x56ea0d;_0x4c9526<=_0x5158a9;_0x4c9526++)_0x369278[_0x18b559(0x16c)](this[_0x18b559(0x173)][_0x18b559(0x160)](_0x2986c5,_0x4c9526));_0x330a7f[_0x18b559(0x16c)](_0x369278);}return _0x330a7f;})({'startRow':0x0,'endRow':this[_0x357c15(0x173)][_0x357c15(0x16f)](),'startColumn':0x0,'endColumn':this[_0x357c15(0x173)][_0x357c15(0x159)]()}),_0x7cce2e=await _0x28e370[_0x357c15(0x172)](_0x5d1959),_0x2665bc=this[_0x357c15(0x166)](),_0xa8877e=[];for(let _0x5da348=0x0;_0x5da348<_0x7cce2e['length'];_0x5da348++){const _0x126c6f=_0x7cce2e[_0x5da348],_0xad1ff3=_0x126c6f[_0x357c15(0x163)],_0x454f1f=[];for(let _0xdc8feb=0x0;_0xdc8feb<_0xad1ff3[_0x357c15(0x171)];_0xdc8feb++){const _0x39dec7=_0xad1ff3[_0xdc8feb],_0x2780e0=_0x25a2e5(_0x39dec7,_0x2665bc);_0x2780e0&&_0x454f1f[_0x357c15(0x16c)](_0x2780e0);}if(_0x454f1f[_0x357c15(0x171)]>0x0){_0x126c6f[_0x357c15(0x163)]=_0x454f1f;const _0x3ebd8b=_0x454f1f[0x0],_0xc59346=_0x3ebd8b[_0x357c15(0x164)]-_0x2665bc[_0x357c15(0x164)],_0x2b42f1=_0x3ebd8b[_0x357c15(0x15b)]-_0x2665bc['startColumn'];_0x126c6f[_0x357c15(0x161)]=await _0x28e370[_0x357c15(0x175)](_0x126c6f[_0x357c15(0x161)],_0xc59346,_0x2b42f1),_0xa8877e[_0x357c15(0x16c)](_0x126c6f);}}return _0xa8877e;}async['getFormulaUsagesAsA1'](){const _0x59ece2=_0x1921fd;return(await this['getFormulaUsages']())[_0x59ece2(0x169)](_0x21a35b);}}_0x1690b0[_0x1921fd(0x15f)](y);
1
+ const _0x18181f=_0x595d;(function(_0x3198e7,_0x5ef471){const _0x54f1c3=_0x595d,_0x66673=_0x3198e7();while(!![]){try{const _0x1effe8=parseInt(_0x54f1c3(0x6b))/0x1+parseInt(_0x54f1c3(0x83))/0x2+-parseInt(_0x54f1c3(0x86))/0x3+parseInt(_0x54f1c3(0x72))/0x4+parseInt(_0x54f1c3(0x6c))/0x5+parseInt(_0x54f1c3(0x79))/0x6+parseInt(_0x54f1c3(0x76))/0x7*(-parseInt(_0x54f1c3(0x6d))/0x8);if(_0x1effe8===_0x5ef471)break;else _0x66673['push'](_0x66673['shift']());}catch(_0x143246){_0x66673['push'](_0x66673['shift']());}}}(_0x5d99,0x79971));import{FUniver as _0x48b9f0}from'@univerjs/core/facade';function _0x595d(_0x214e8b,_0x3a1f80){const _0x5d99cf=_0x5d99();return _0x595d=function(_0x595dae,_0x24cca6){_0x595dae=_0x595dae-0x68;let _0xf2b3ce=_0x5d99cf[_0x595dae];return _0xf2b3ce;},_0x595d(_0x214e8b,_0x3a1f80);}import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x3f1525,FWorksheet as _0x3dcb6b,FRange as _0x516dd2}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x5d94cd,toA1 as _0x34d60c}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x15cb45}from'@univerjs/core';class C extends _0x48b9f0{async[_0x18181f(0x7d)](){const _0x1e38da=_0x18181f;return this[_0x1e38da(0x7c)]()[_0x1e38da(0x7d)]();}}_0x48b9f0[_0x18181f(0x73)](C);class U extends _0x3f1525{async[_0x18181f(0x7d)](){const _0x223c68=_0x18181f,_0x19c90d=this[_0x223c68(0x74)](),_0x43f5fe=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x19c90d,'dataValidationErrors':_0x43f5fe};}}_0x3f1525[_0x18181f(0x73)](U);class k extends _0x3dcb6b{async[_0x18181f(0x78)](){const _0x1beb64=_0x18181f,_0x313cef=this[_0x1beb64(0x71)][_0x1beb64(0x84)](_0x5d94cd),_0x400358=this[_0x1beb64(0x81)](0x0,0x0,this[_0x1beb64(0x77)]()+0x1,this[_0x1beb64(0x7f)]()+0x1)[_0x1beb64(0x85)]();return await _0x313cef['getAllFormulaUsages'](_0x400358);}async[_0x18181f(0x6e)](){const _0x22627a=_0x18181f;return(await this[_0x22627a(0x78)]())[_0x22627a(0x6a)](_0x34d60c);}}_0x3dcb6b['extend'](k);class y extends _0x516dd2{async[_0x18181f(0x78)](){const _0x5b614f=_0x18181f,_0x4d19a4=this[_0x5b614f(0x71)]['get'](_0x5d94cd),_0x29def0=(({startRow:_0x291e14,endRow:_0x46be91,startColumn:_0x2a9508,endColumn:_0x30e0e9})=>{const _0x2d6990=_0x5b614f,_0x378650=[];for(let _0x1c516a=_0x291e14;_0x1c516a<=_0x46be91;_0x1c516a++){const _0x1aa283=[];for(let _0x2f4acb=_0x2a9508;_0x2f4acb<=_0x30e0e9;_0x2f4acb++)_0x1aa283[_0x2d6990(0x7b)](this[_0x2d6990(0x68)][_0x2d6990(0x70)](_0x1c516a,_0x2f4acb));_0x378650[_0x2d6990(0x7b)](_0x1aa283);}return _0x378650;})({'startRow':0x0,'endRow':this[_0x5b614f(0x68)][_0x5b614f(0x77)](),'startColumn':0x0,'endColumn':this[_0x5b614f(0x68)][_0x5b614f(0x7f)]()}),_0x3fc193=await _0x4d19a4[_0x5b614f(0x7a)](_0x29def0),_0x571ba6=this['getRange'](),_0x5a5d6e=[];for(let _0x330fed=0x0;_0x330fed<_0x3fc193[_0x5b614f(0x69)];_0x330fed++){const _0x3681a5=_0x3fc193[_0x330fed],_0x26a666=_0x3681a5[_0x5b614f(0x80)],_0x209065=[];for(let _0x5cea0d=0x0;_0x5cea0d<_0x26a666[_0x5b614f(0x69)];_0x5cea0d++){const _0x3ecc99=_0x26a666[_0x5cea0d],_0x431ad=_0x15cb45(_0x3ecc99,_0x571ba6);_0x431ad&&_0x209065[_0x5b614f(0x7b)](_0x431ad);}if(_0x209065['length']>0x0){_0x3681a5[_0x5b614f(0x80)]=_0x209065;const _0x5c09b1=_0x209065[0x0],_0x407622=_0x5c09b1[_0x5b614f(0x82)]-_0x571ba6['startRow'],_0x4638d0=_0x5c09b1[_0x5b614f(0x7e)]-_0x571ba6[_0x5b614f(0x7e)];_0x3681a5[_0x5b614f(0x75)]=await _0x4d19a4[_0x5b614f(0x6f)](_0x3681a5[_0x5b614f(0x75)],_0x407622,_0x4638d0),_0x5a5d6e['push'](_0x3681a5);}}return _0x5a5d6e;}async[_0x18181f(0x6e)](){const _0x1d41d7=_0x18181f;return(await this[_0x1d41d7(0x78)]())['map'](_0x34d60c);}}function _0x5d99(){const _0x3a36e3=['getMaxColumns','filledRanges','getRange','startRow','984692nwFnQq','get','getCellDataGrid','256458kZmJEm','_worksheet','length','map','768952FdrPeC','224480wWRhHr','15391832aDUJws','getFormulaUsagesAsA1','moveFormulaRefOffset','getCellRaw','_injector','3402172FpoMZj','extend','getAllFormulaError','formula','7fWQSkj','getMaxRows','getFormulaUsages','2104566YpersA','getAllFormulaUsages','push','getActiveWorkbook','getLintErrors','startColumn'];_0x5d99=function(){return _0x3a36e3;};return _0x5d99();}_0x516dd2[_0x18181f(0x73)](y);