@univerjs-pro/sheets-mcp 0.14.0 → 0.15.0
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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x56f699=_0x45bb;(function(_0x41fa90,_0x10bd58){const _0x38ccc1=_0x45bb,_0x1f721a=_0x41fa90();while(!![]){try{const _0x494313=-parseInt(_0x38ccc1(0x1ac))/0x1+-parseInt(_0x38ccc1(0x1a9))/0x2*(-parseInt(_0x38ccc1(0x1a0))/0x3)+-parseInt(_0x38ccc1(0x1b6))/0x4+-parseInt(_0x38ccc1(0x193))/0x5*(-parseInt(_0x38ccc1(0x19b))/0x6)+parseInt(_0x38ccc1(0x1b2))/0x7+-parseInt(_0x38ccc1(0x196))/0x8+-parseInt(_0x38ccc1(0x1a7))/0x9*(-parseInt(_0x38ccc1(0x198))/0xa);if(_0x494313===_0x10bd58)break;else _0x1f721a['push'](_0x1f721a['shift']());}catch(_0x36bd33){_0x1f721a['push'](_0x1f721a['shift']());}}}(_0x3ad3,0x4c78e));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),m=require('@univerjs-pro/sheets-mcp'),F=require('@univerjs/core');class C extends d['FUniver']{async[_0x56f699(0x1b3)](){const _0xe6531c=_0x56f699;return this[_0xe6531c(0x1ad)]()[_0xe6531c(0x1b3)]();}}d['FUniver'][_0x56f699(0x1a5)](C);class A extends o[_0x56f699(0x194)]{async[_0x56f699(0x1b3)](){const _0x3748db=_0x56f699,_0xd43b98=this[_0x3748db(0x199)](),_0x193b0c=await this[_0x3748db(0x1ae)]();return{'formulaErrors':_0xd43b98,'dataValidationErrors':_0x193b0c};}}function _0x45bb(_0x4fcd28,_0x52323c){_0x4fcd28=_0x4fcd28-0x192;const _0x3ad3d0=_0x3ad3();let _0x45bb9a=_0x3ad3d0[_0x4fcd28];return _0x45bb9a;}o[_0x56f699(0x194)][_0x56f699(0x1a5)](A);class k extends o[_0x56f699(0x1aa)]{async[_0x56f699(0x19d)](){const _0x2bf6e0=_0x56f699,_0xaa3bdb=this['_injector'][_0x2bf6e0(0x1a4)](m[_0x2bf6e0(0x1a2)]),_0x4286c4=this[_0x2bf6e0(0x1a8)](0x0,0x0,this[_0x2bf6e0(0x1b5)](),this['getMaxColumns']())[_0x2bf6e0(0x19f)]();return await _0xaa3bdb[_0x2bf6e0(0x195)](_0x4286c4);}async[_0x56f699(0x1a3)](){const _0x20ddc3=_0x56f699;return(await this[_0x20ddc3(0x19d)]())[_0x20ddc3(0x1a1)](m['toA1']);}}o[_0x56f699(0x1aa)][_0x56f699(0x1a5)](k);function _0x3ad3(){const _0x374ff7=['getAllDataValidationErrorAsync','getIntersectRange','firstOccurrence','FRange','2720620uHtPUc','getLintErrors','startColumn','getMaxRows','2159888RZhwgW','push','5jYzPfP','FWorkbook','getAllFormulaUsages','3405480LmzlsS','getMaxColumns','1167430NTKgDK','getAllFormulaError','formula','3618720fRgnif','startRow','getFormulaUsages','_worksheet','getCellDataGrid','3bkGANX','map','IFormulaUsageAnalyzer','getFormulaUsagesAsA1','get','extend','getCellRaw','27ApvHIR','getRange','800218XKuTMw','FWorksheet','length','463231bjZARL','getActiveWorkbook'];_0x3ad3=function(){return _0x374ff7;};return _0x3ad3();}class x extends o[_0x56f699(0x1b1)]{async[_0x56f699(0x19d)](){const _0xdccb88=_0x56f699,_0x58bfff=this['_injector'][_0xdccb88(0x1a4)](m['IFormulaUsageAnalyzer']),_0x4b24d1=(({startRow:_0xfe18f8,endRow:_0x5176ef,startColumn:_0x1b87c1,endColumn:_0x4a7d0f})=>{const _0xe2d63a=_0xdccb88,_0x254d4d=[];for(let _0xe9a6a3=_0xfe18f8;_0xe9a6a3<=_0x5176ef;_0xe9a6a3++){const _0x5a97ed=[];for(let _0x729967=_0x1b87c1;_0x729967<=_0x4a7d0f;_0x729967++)_0x5a97ed[_0xe2d63a(0x192)](this[_0xe2d63a(0x19e)][_0xe2d63a(0x1a6)](_0xe9a6a3,_0x729967));_0x254d4d[_0xe2d63a(0x192)](_0x5a97ed);}return _0x254d4d;})({'startRow':0x0,'endRow':this[_0xdccb88(0x19e)][_0xdccb88(0x1b5)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0xdccb88(0x197)]()}),_0x4af0ce=await _0x58bfff[_0xdccb88(0x195)](_0x4b24d1),_0x46a923=this[_0xdccb88(0x1a8)](),_0x59c388=[];for(let _0x22678a=0x0;_0x22678a<_0x4af0ce['length'];_0x22678a++){const _0x56b022=_0x4af0ce[_0x22678a],_0x1f680f=_0x56b022['filledRanges'],_0x5c2243=[];for(let _0x466847=0x0;_0x466847<_0x1f680f['length'];_0x466847++){const _0x18913e=_0x1f680f[_0x466847],_0x314cd9=F[_0xdccb88(0x1af)](_0x18913e,_0x46a923);_0x314cd9&&_0x5c2243[_0xdccb88(0x192)](_0x314cd9);}if(_0x5c2243[_0xdccb88(0x1ab)]>0x0){if(_0x56b022['filledRanges']=_0x5c2243,!(_0x56b022[_0xdccb88(0x1b0)][_0xdccb88(0x19c)]>=_0x46a923[_0xdccb88(0x19c)]&&_0x56b022[_0xdccb88(0x1b0)][_0xdccb88(0x19c)]<=_0x46a923['endRow']&&_0x56b022['firstOccurrence'][_0xdccb88(0x1b4)]>=_0x46a923[_0xdccb88(0x1b4)]&&_0x56b022[_0xdccb88(0x1b0)][_0xdccb88(0x1b4)]<=_0x46a923['endColumn'])){const _0x5a031b=_0x5c2243[0x0],_0x160233=_0x5a031b['startRow']-_0x56b022['firstOccurrence'][_0xdccb88(0x19c)],_0x57b5a7=_0x5a031b[_0xdccb88(0x1b4)]-_0x56b022[_0xdccb88(0x1b0)]['startColumn'];_0x56b022[_0xdccb88(0x19a)]=await _0x58bfff['moveFormulaRefOffset'](_0x56b022[_0xdccb88(0x19a)],_0x57b5a7,_0x160233),_0x56b022[_0xdccb88(0x1b0)]={'startRow':_0x5a031b[_0xdccb88(0x19c)],'endRow':_0x5a031b['startRow'],'startColumn':_0x5a031b['startColumn'],'endColumn':_0x5a031b[_0xdccb88(0x1b4)]};}_0x59c388[_0xdccb88(0x192)](_0x56b022);}}return _0x59c388;}async['getFormulaUsagesAsA1'](){const _0x9ef2e2=_0x56f699;return(await this[_0x9ef2e2(0x19d)]())[_0x9ef2e2(0x1a1)](m['toA1']);}}o[_0x56f699(0x1b1)]['extend'](x);
|