@univerjs-pro/sheets-mcp 0.12.3 → 0.12.4-experimental.20251208-c4b8a44
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 +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x34eb8d=_0x5513;(function(_0x328eb1,_0xa3a6f){const _0x21ae31=_0x5513,_0x53a1bf=_0x328eb1();while(!![]){try{const _0x11315d=-parseInt(_0x21ae31(0x1e1))/0x1*(-parseInt(_0x21ae31(0x1ed))/0x2)+-parseInt(_0x21ae31(0x1ea))/0x3+parseInt(_0x21ae31(0x1d8))/0x4*(-parseInt(_0x21ae31(0x1f5))/0x5)+parseInt(_0x21ae31(0x1d9))/0x6+parseInt(_0x21ae31(0x1df))/0x7+-parseInt(_0x21ae31(0x1e0))/0x8*(-parseInt(_0x21ae31(0x1f8))/0x9)+parseInt(_0x21ae31(0x1f1))/0xa;if(_0x11315d===_0xa3a6f)break;else _0x53a1bf['push'](_0x53a1bf['shift']());}catch(_0x3fb001){_0x53a1bf['push'](_0x53a1bf['shift']());}}}(_0x5374,0xb52c6));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d[_0x34eb8d(0x1fb)]{async[_0x34eb8d(0x1fa)](){const _0x47a03b=_0x34eb8d;return this[_0x47a03b(0x1e3)]()[_0x47a03b(0x1fa)]();}}d['FUniver']['extend'](A);function _0x5513(_0x1f2fb7,_0x5ac4d6){_0x1f2fb7=_0x1f2fb7-0x1d5;const _0x537408=_0x5374();let _0x551301=_0x537408[_0x1f2fb7];return _0x551301;}class x extends o[_0x34eb8d(0x1e5)]{async[_0x34eb8d(0x1fa)](){const _0x4a7fc3=_0x34eb8d,_0x29f0df=this['getAllFormulaError'](),_0x35f780=await this[_0x4a7fc3(0x1f2)]();return{'formulaErrors':_0x29f0df,'dataValidationErrors':_0x35f780};}}o[_0x34eb8d(0x1e5)][_0x34eb8d(0x1ec)](x);class k extends o[_0x34eb8d(0x1de)]{async['getFormulaUsages'](){const _0x4ee741=_0x34eb8d,_0x39f57d=this[_0x4ee741(0x1e6)][_0x4ee741(0x1e4)](c[_0x4ee741(0x1d6)]),_0x2ff475=this['getRange'](0x0,0x0,this[_0x4ee741(0x1d7)]()+0x1,this[_0x4ee741(0x1f3)]()+0x1)[_0x4ee741(0x1dd)]();return await _0x39f57d[_0x4ee741(0x1ef)](_0x2ff475);}async[_0x34eb8d(0x1f9)](){const _0x18371b=_0x34eb8d;return(await this['getFormulaUsages']())[_0x18371b(0x1f4)](c[_0x18371b(0x1ee)]);}}o[_0x34eb8d(0x1de)][_0x34eb8d(0x1ec)](k);function _0x5374(){const _0x591b15=['startColumn','getCellRaw','_worksheet','getCellDataGrid','FWorksheet','2208262xAfNVM','105816wTJQrO','22llyIFm','getFormulaUsages','getActiveWorkbook','get','FWorkbook','_injector','moveFormulaRefOffset','length','formula','3296871aGRZZR','push','extend','99044SZQlsN','toA1','getAllFormulaUsages','startRow','2238510NMPEtA','getAllDataValidationErrorAsync','getMaxColumns','map','40VmRLQN','getIntersectRange','getRange','9nYACWO','getFormulaUsagesAsA1','getLintErrors','FUniver','filledRanges','IFormulaUsageAnalyzer','getMaxRows','368840VcOAql','5620170UwIsZR'];_0x5374=function(){return _0x591b15;};return _0x5374();}class U extends o['FRange']{async['getFormulaUsages'](){const _0x8239bc=_0x34eb8d,_0x27f4cf=this[_0x8239bc(0x1e6)][_0x8239bc(0x1e4)](c[_0x8239bc(0x1d6)]),_0x4d6b68=(({startRow:_0x3b64a9,endRow:_0x43612f,startColumn:_0x2b20b0,endColumn:_0x185832})=>{const _0x49a18e=_0x8239bc,_0x5cc8ed=[];for(let _0x154ef4=_0x3b64a9;_0x154ef4<=_0x43612f;_0x154ef4++){const _0x33404e=[];for(let _0x4892c9=_0x2b20b0;_0x4892c9<=_0x185832;_0x4892c9++)_0x33404e[_0x49a18e(0x1eb)](this[_0x49a18e(0x1dc)][_0x49a18e(0x1db)](_0x154ef4,_0x4892c9));_0x5cc8ed[_0x49a18e(0x1eb)](_0x33404e);}return _0x5cc8ed;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x8239bc(0x1f3)]()}),_0x2956b7=await _0x27f4cf['getAllFormulaUsages'](_0x4d6b68),_0x4e6c83=this[_0x8239bc(0x1f7)](),_0x22658b=[];for(let _0x15185d=0x0;_0x15185d<_0x2956b7[_0x8239bc(0x1e8)];_0x15185d++){const _0x52ae48=_0x2956b7[_0x15185d],_0x413576=_0x52ae48[_0x8239bc(0x1d5)],_0x1ae465=[];for(let _0x346f14=0x0;_0x346f14<_0x413576[_0x8239bc(0x1e8)];_0x346f14++){const _0x1a94d2=_0x413576[_0x346f14],_0x48b7ea=w[_0x8239bc(0x1f6)](_0x1a94d2,_0x4e6c83);_0x48b7ea&&_0x1ae465['push'](_0x48b7ea);}if(_0x1ae465[_0x8239bc(0x1e8)]>0x0){_0x52ae48[_0x8239bc(0x1d5)]=_0x1ae465;const _0x3130eb=_0x1ae465[0x0],_0x579a39=_0x3130eb[_0x8239bc(0x1f0)]-_0x4e6c83['startRow'],_0x5e740b=_0x3130eb[_0x8239bc(0x1da)]-_0x4e6c83[_0x8239bc(0x1da)];_0x52ae48[_0x8239bc(0x1e9)]=await _0x27f4cf[_0x8239bc(0x1e7)](_0x52ae48[_0x8239bc(0x1e9)],_0x579a39,_0x5e740b),_0x22658b['push'](_0x52ae48);}}return _0x22658b;}async[_0x34eb8d(0x1f9)](){const _0x21fa2f=_0x34eb8d;return(await this[_0x21fa2f(0x1e2)]())[_0x21fa2f(0x1f4)](c['toA1']);}}o['FRange'][_0x34eb8d(0x1ec)](U);
|