@univerjs-pro/sheets-mcp 0.12.0 → 0.12.1-nightly.202511221011
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 +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x57401c=_0x14da;(function(_0x486b1d,_0x28be48){const _0x4f2421=_0x14da,_0x3e514f=_0x486b1d();while(!![]){try{const _0x176ead=-parseInt(_0x4f2421(0x16f))/0x1*(-parseInt(_0x4f2421(0x183))/0x2)+-parseInt(_0x4f2421(0x17d))/0x3*(-parseInt(_0x4f2421(0x172))/0x4)+-parseInt(_0x4f2421(0x182))/0x5*(-parseInt(_0x4f2421(0x180))/0x6)+-parseInt(_0x4f2421(0x174))/0x7+parseInt(_0x4f2421(0x17c))/0x8+-parseInt(_0x4f2421(0x189))/0x9*(parseInt(_0x4f2421(0x17f))/0xa)+-parseInt(_0x4f2421(0x170))/0xb;if(_0x176ead===_0x28be48)break;else _0x3e514f['push'](_0x3e514f['shift']());}catch(_0x301028){_0x3e514f['push'](_0x3e514f['shift']());}}}(_0x5d06,0xdc38f));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['FUniver']{async['getLintErrors'](){const _0x222c28=_0x14da;return this[_0x222c28(0x191)]()[_0x222c28(0x176)]();}}d['FUniver'][_0x57401c(0x194)](A);class x extends o[_0x57401c(0x18d)]{async[_0x57401c(0x176)](){const _0x3fadc5=_0x57401c,_0x2ed7a3=this[_0x3fadc5(0x181)](),_0x1264e1=await this[_0x3fadc5(0x17a)]();return{'formulaErrors':_0x2ed7a3,'dataValidationErrors':_0x1264e1};}}o['FWorkbook'][_0x57401c(0x194)](x);function _0x14da(_0x33e68b,_0x40173c){const _0x5d064b=_0x5d06();return _0x14da=function(_0x14da49,_0x17cea9){_0x14da49=_0x14da49-0x16f;let _0x40e843=_0x5d064b[_0x14da49];return _0x40e843;},_0x14da(_0x33e68b,_0x40173c);}class k extends o[_0x57401c(0x188)]{async[_0x57401c(0x184)](){const _0x55f6bf=_0x57401c,_0x4cab5c=this[_0x55f6bf(0x192)][_0x55f6bf(0x173)](c[_0x55f6bf(0x17e)]),_0x3bc5dd=this[_0x55f6bf(0x190)](0x0,0x0,this['getMaxRows']()+0x1,this['getMaxColumns']()+0x1)['getCellDataGrid']();return await _0x4cab5c[_0x55f6bf(0x18e)](_0x3bc5dd);}async[_0x57401c(0x17b)](){const _0x334b7f=_0x57401c;return(await this['getFormulaUsages']())[_0x334b7f(0x177)](c['toA1']);}}o[_0x57401c(0x188)]['extend'](k);class U extends o['FRange']{async['getFormulaUsages'](){const _0x98a72f=_0x57401c,_0x482609=this[_0x98a72f(0x192)][_0x98a72f(0x173)](c[_0x98a72f(0x17e)]),_0x218189=(({startRow:_0x5e0930,endRow:_0xba614a,startColumn:_0x348507,endColumn:_0x4a97f1})=>{const _0x1f8d96=_0x98a72f,_0x3b1711=[];for(let _0x118138=_0x5e0930;_0x118138<=_0xba614a;_0x118138++){const _0x4aeb8c=[];for(let _0x531fac=_0x348507;_0x531fac<=_0x4a97f1;_0x531fac++)_0x4aeb8c['push'](this[_0x1f8d96(0x193)][_0x1f8d96(0x18a)](_0x118138,_0x531fac));_0x3b1711[_0x1f8d96(0x186)](_0x4aeb8c);}return _0x3b1711;})({'startRow':0x0,'endRow':this[_0x98a72f(0x193)][_0x98a72f(0x187)](),'startColumn':0x0,'endColumn':this[_0x98a72f(0x193)][_0x98a72f(0x18b)]()}),_0x1093a1=await _0x482609['getAllFormulaUsages'](_0x218189),_0x3cf3ec=this['getRange'](),_0x3ab9e9=[];for(let _0x18557a=0x0;_0x18557a<_0x1093a1[_0x98a72f(0x171)];_0x18557a++){const _0x548a4f=_0x1093a1[_0x18557a],_0x4d30d4=_0x548a4f[_0x98a72f(0x18f)],_0x9b342d=[];for(let _0x4bb2f4=0x0;_0x4bb2f4<_0x4d30d4[_0x98a72f(0x171)];_0x4bb2f4++){const _0x29620a=_0x4d30d4[_0x4bb2f4],_0x16c6d8=w['getIntersectRange'](_0x29620a,_0x3cf3ec);_0x16c6d8&&_0x9b342d[_0x98a72f(0x186)](_0x16c6d8);}if(_0x9b342d[_0x98a72f(0x171)]>0x0){_0x548a4f['filledRanges']=_0x9b342d;const _0x30ace2=_0x9b342d[0x0],_0x516595=_0x30ace2[_0x98a72f(0x185)]-_0x3cf3ec[_0x98a72f(0x185)],_0xb210ac=_0x30ace2[_0x98a72f(0x175)]-_0x3cf3ec[_0x98a72f(0x175)];_0x548a4f[_0x98a72f(0x178)]=await _0x482609[_0x98a72f(0x18c)](_0x548a4f[_0x98a72f(0x178)],_0x516595,_0xb210ac),_0x3ab9e9[_0x98a72f(0x186)](_0x548a4f);}}return _0x3ab9e9;}async[_0x57401c(0x17b)](){const _0xefbd0c=_0x57401c;return(await this['getFormulaUsages']())[_0xefbd0c(0x177)](c['toA1']);}}o[_0x57401c(0x179)][_0x57401c(0x194)](U);function _0x5d06(){const _0x4e3992=['map','formula','FRange','getAllDataValidationErrorAsync','getFormulaUsagesAsA1','8113008sJirGm','854718nuwdiS','IFormulaUsageAnalyzer','2986370CUhoZQ','2232792mffnBT','getAllFormulaError','20CTUYvf','159348pHFOjA','getFormulaUsages','startRow','push','getMaxRows','FWorksheet','9JoKumB','getCellRaw','getMaxColumns','moveFormulaRefOffset','FWorkbook','getAllFormulaUsages','filledRanges','getRange','getActiveWorkbook','_injector','_worksheet','extend','14VZqFnm','27198754vqHxnq','length','16mdkspe','get','7591024EJzOnP','startColumn','getLintErrors'];_0x5d06=function(){return _0x4e3992;};return _0x5d06();}
|