@univerjs-pro/sheets-mcp 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3
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/types/tools/conditional-format-tools.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +10 -10
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4a43cf=_0x5d2b;(function(_0x11a936,_0x269c24){const _0x1b5ecc=_0x5d2b,_0xcf9961=_0x11a936();while(!![]){try{const _0x3ef8bb=parseInt(_0x1b5ecc(0xc2))/0x1+-parseInt(_0x1b5ecc(0xb8))/0x2*(parseInt(_0x1b5ecc(0xb4))/0x3)+parseInt(_0x1b5ecc(0xc3))/0x4+parseInt(_0x1b5ecc(0xcb))/0x5+-parseInt(_0x1b5ecc(0xcc))/0x6*(-parseInt(_0x1b5ecc(0xbf))/0x7)+-parseInt(_0x1b5ecc(0xcd))/0x8+parseInt(_0x1b5ecc(0xc7))/0x9*(-parseInt(_0x1b5ecc(0xce))/0xa);if(_0x3ef8bb===_0x269c24)break;else _0xcf9961['push'](_0xcf9961['shift']());}catch(_0x22fb33){_0xcf9961['push'](_0xcf9961['shift']());}}}(_0xee15,0xf12dc));import{FUniver as _0x2eddbc}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FWorkbook as _0x23d679,FWorksheet as _0x1d63f4,FRange as _0x11489c}from'@univerjs/sheets/facade';import{IFormulaUsageAnalyzer as _0x47b3c7,toA1 as _0x4678fb}from'@univerjs-pro/sheets-mcp';function _0xee15(){const _0x4d584c=['formula','3292745GWcaXU','6rfSlKO','13588552DlFdAm','10kaWwFr','length','getCellDataGrid','getFormulaUsagesAsA1','getMaxRows','36066ihbsJn','getLintErrors','getAllDataValidationErrorAsync','startRow','48Ihqyhl','_worksheet','getAllFormulaError','_injector','getFormulaUsages','get','getRange','9176881ckGPCv','getAllFormulaUsages','filledRanges','1863063FfrAWq','3921532UKHsbb','getMaxColumns','push','getActiveWorkbook','16542117YKRnqV','extend','startColumn'];_0xee15=function(){return _0x4d584c;};return _0xee15();}import{getIntersectRange as _0x1267c9}from'@univerjs/core';class C extends _0x2eddbc{async[_0x4a43cf(0xb5)](){const _0xc6cbe1=_0x4a43cf;return this[_0xc6cbe1(0xc6)]()[_0xc6cbe1(0xb5)]();}}_0x2eddbc[_0x4a43cf(0xc8)](C);function _0x5d2b(_0x4401bc,_0x129051){_0x4401bc=_0x4401bc-0xb4;const _0xee158=_0xee15();let _0x5d2b57=_0xee158[_0x4401bc];return _0x5d2b57;}class U extends _0x23d679{async[_0x4a43cf(0xb5)](){const _0x463024=_0x4a43cf,_0x529b57=this[_0x463024(0xba)](),_0x545fbc=await this[_0x463024(0xb6)]();return{'formulaErrors':_0x529b57,'dataValidationErrors':_0x545fbc};}}_0x23d679[_0x4a43cf(0xc8)](U);class k extends _0x1d63f4{async[_0x4a43cf(0xbc)](){const _0x5a86c4=_0x4a43cf,_0x12d282=this[_0x5a86c4(0xbb)][_0x5a86c4(0xbd)](_0x47b3c7),_0x3e0695=this[_0x5a86c4(0xbe)](0x0,0x0,this[_0x5a86c4(0xd2)]()+0x1,this[_0x5a86c4(0xc4)]()+0x1)[_0x5a86c4(0xd0)]();return await _0x12d282[_0x5a86c4(0xc0)](_0x3e0695);}async[_0x4a43cf(0xd1)](){const _0x4b7692=_0x4a43cf;return(await this[_0x4b7692(0xbc)]())['map'](_0x4678fb);}}_0x1d63f4[_0x4a43cf(0xc8)](k);class y extends _0x11489c{async[_0x4a43cf(0xbc)](){const _0x2bebd1=_0x4a43cf,_0x59e9c3=this['_injector'][_0x2bebd1(0xbd)](_0x47b3c7),_0x1a3733=(({startRow:_0x507d46,endRow:_0x26ec5b,startColumn:_0xe65c8b,endColumn:_0x266706})=>{const _0xd05ff1=_0x2bebd1,_0x2b8d1a=[];for(let _0xad0e3=_0x507d46;_0xad0e3<=_0x26ec5b;_0xad0e3++){const _0xfb6f15=[];for(let _0x2cdf7c=_0xe65c8b;_0x2cdf7c<=_0x266706;_0x2cdf7c++)_0xfb6f15[_0xd05ff1(0xc5)](this[_0xd05ff1(0xb9)]['getCellRaw'](_0xad0e3,_0x2cdf7c));_0x2b8d1a['push'](_0xfb6f15);}return _0x2b8d1a;})({'startRow':0x0,'endRow':this[_0x2bebd1(0xb9)][_0x2bebd1(0xd2)](),'startColumn':0x0,'endColumn':this[_0x2bebd1(0xb9)][_0x2bebd1(0xc4)]()}),_0x34d73f=await _0x59e9c3[_0x2bebd1(0xc0)](_0x1a3733),_0x2a726c=this[_0x2bebd1(0xbe)](),_0x3fe053=[];for(let _0x3df658=0x0;_0x3df658<_0x34d73f[_0x2bebd1(0xcf)];_0x3df658++){const _0x160fba=_0x34d73f[_0x3df658],_0x387f76=_0x160fba['filledRanges'],_0x5ec3b6=[];for(let _0x33922a=0x0;_0x33922a<_0x387f76[_0x2bebd1(0xcf)];_0x33922a++){const _0x3f4b42=_0x387f76[_0x33922a],_0x2f166c=_0x1267c9(_0x3f4b42,_0x2a726c);_0x2f166c&&_0x5ec3b6['push'](_0x2f166c);}if(_0x5ec3b6['length']>0x0){_0x160fba[_0x2bebd1(0xc1)]=_0x5ec3b6;const _0x44ff54=_0x5ec3b6[0x0],_0x99c4df=_0x44ff54[_0x2bebd1(0xb7)]-_0x2a726c[_0x2bebd1(0xb7)],_0x142253=_0x44ff54[_0x2bebd1(0xc9)]-_0x2a726c[_0x2bebd1(0xc9)];_0x160fba['formula']=await _0x59e9c3['moveFormulaRefOffset'](_0x160fba[_0x2bebd1(0xca)],_0x99c4df,_0x142253),_0x3fe053[_0x2bebd1(0xc5)](_0x160fba);}}return _0x3fe053;}async[_0x4a43cf(0xd1)](){return(await this['getFormulaUsages']())['map'](_0x4678fb);}}_0x11489c[_0x4a43cf(0xc8)](y);
|