@univerjs-pro/sheets-mcp 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20251227-c108ce3
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 _0x2c886f=_0x38a0;(function(_0x702b51,_0x3b8d79){const _0x5c26f2=_0x38a0,_0x454062=_0x702b51();while(!![]){try{const _0x26861d=parseInt(_0x5c26f2(0x8f))/0x1+parseInt(_0x5c26f2(0x94))/0x2*(parseInt(_0x5c26f2(0x7b))/0x3)+-parseInt(_0x5c26f2(0x9d))/0x4+parseInt(_0x5c26f2(0x9b))/0x5+-parseInt(_0x5c26f2(0x98))/0x6+parseInt(_0x5c26f2(0x75))/0x7+-parseInt(_0x5c26f2(0x93))/0x8*(-parseInt(_0x5c26f2(0x76))/0x9);if(_0x26861d===_0x3b8d79)break;else _0x454062['push'](_0x454062['shift']());}catch(_0x46e656){_0x454062['push'](_0x454062['shift']());}}}(_0x167f,0xa5ea7));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[_0x2c886f(0x83)]{async['getLintErrors'](){const _0x4d763d=_0x2c886f;return this['getActiveWorkbook']()[_0x4d763d(0x80)]();}}d[_0x2c886f(0x83)][_0x2c886f(0x8a)](C);class A extends o[_0x2c886f(0x7d)]{async[_0x2c886f(0x80)](){const _0x589651=_0x2c886f,_0x1d3019=this[_0x589651(0x7a)](),_0x578a6b=await this[_0x589651(0x79)]();return{'formulaErrors':_0x1d3019,'dataValidationErrors':_0x578a6b};}}o[_0x2c886f(0x7d)][_0x2c886f(0x8a)](A);function _0x38a0(_0x7fc778,_0x32577){_0x7fc778=_0x7fc778-0x75;const _0x167f55=_0x167f();let _0x38a066=_0x167f55[_0x7fc778];return _0x38a066;}class k extends o['FWorksheet']{async[_0x2c886f(0x9c)](){const _0x3c72b8=_0x2c886f,_0x548a00=this[_0x3c72b8(0x91)]['get'](m[_0x3c72b8(0x81)]),_0x54739a=this[_0x3c72b8(0x77)](0x0,0x0,this[_0x3c72b8(0x88)](),this[_0x3c72b8(0x97)]())[_0x3c72b8(0x8b)]();return await _0x548a00['getAllFormulaUsages'](_0x54739a);}async[_0x2c886f(0x87)](){const _0x34e5be=_0x2c886f;return(await this['getFormulaUsages']())[_0x34e5be(0x7e)](m[_0x34e5be(0x99)]);}}o[_0x2c886f(0x84)][_0x2c886f(0x8a)](k);class x extends o[_0x2c886f(0x85)]{async[_0x2c886f(0x9c)](){const _0x2fea49=_0x2c886f,_0x465fbf=this[_0x2fea49(0x91)][_0x2fea49(0x8c)](m[_0x2fea49(0x81)]),_0x9267ce=(({startRow:_0x49108b,endRow:_0x53db74,startColumn:_0x21d6cb,endColumn:_0x36c773})=>{const _0x39011b=_0x2fea49,_0x2e456e=[];for(let _0x117e0a=_0x49108b;_0x117e0a<=_0x53db74;_0x117e0a++){const _0x491ade=[];for(let _0x304f85=_0x21d6cb;_0x304f85<=_0x36c773;_0x304f85++)_0x491ade[_0x39011b(0x90)](this[_0x39011b(0x86)][_0x39011b(0x78)](_0x117e0a,_0x304f85));_0x2e456e[_0x39011b(0x90)](_0x491ade);}return _0x2e456e;})({'startRow':0x0,'endRow':this['_worksheet'][_0x2fea49(0x88)](),'startColumn':0x0,'endColumn':this[_0x2fea49(0x86)][_0x2fea49(0x97)]()}),_0xf3da2f=await _0x465fbf[_0x2fea49(0x96)](_0x9267ce),_0x5c79c0=this[_0x2fea49(0x77)](),_0x498f17=[];for(let _0xc7bb2a=0x0;_0xc7bb2a<_0xf3da2f[_0x2fea49(0x7f)];_0xc7bb2a++){const _0x5738c0=_0xf3da2f[_0xc7bb2a],_0x285cd2=_0x5738c0[_0x2fea49(0x89)],_0x5f06ff=[];for(let _0x385e01=0x0;_0x385e01<_0x285cd2[_0x2fea49(0x7f)];_0x385e01++){const _0x11c560=_0x285cd2[_0x385e01],_0x31d763=F[_0x2fea49(0x8e)](_0x11c560,_0x5c79c0);_0x31d763&&_0x5f06ff[_0x2fea49(0x90)](_0x31d763);}if(_0x5f06ff[_0x2fea49(0x7f)]>0x0){if(_0x5738c0['filledRanges']=_0x5f06ff,!(_0x5738c0[_0x2fea49(0x95)][_0x2fea49(0x92)]>=_0x5c79c0['startRow']&&_0x5738c0[_0x2fea49(0x95)][_0x2fea49(0x92)]<=_0x5c79c0[_0x2fea49(0x9a)]&&_0x5738c0[_0x2fea49(0x95)][_0x2fea49(0x82)]>=_0x5c79c0[_0x2fea49(0x82)]&&_0x5738c0['firstOccurrence']['startColumn']<=_0x5c79c0[_0x2fea49(0x7c)])){const _0x3fced8=_0x5f06ff[0x0],_0x2cc03d=_0x3fced8[_0x2fea49(0x92)]-_0x5738c0[_0x2fea49(0x95)]['startRow'],_0x45d96c=_0x3fced8[_0x2fea49(0x82)]-_0x5738c0[_0x2fea49(0x95)][_0x2fea49(0x82)];_0x5738c0['formula']=await _0x465fbf[_0x2fea49(0x8d)](_0x5738c0['formula'],_0x45d96c,_0x2cc03d),_0x5738c0[_0x2fea49(0x95)]={'startRow':_0x3fced8[_0x2fea49(0x92)],'endRow':_0x3fced8['startRow'],'startColumn':_0x3fced8['startColumn'],'endColumn':_0x3fced8[_0x2fea49(0x82)]};}_0x498f17[_0x2fea49(0x90)](_0x5738c0);}}return _0x498f17;}async[_0x2c886f(0x87)](){const _0x35da1d=_0x2c886f;return(await this[_0x35da1d(0x9c)]())[_0x35da1d(0x7e)](m[_0x35da1d(0x99)]);}}o[_0x2c886f(0x85)][_0x2c886f(0x8a)](x);function _0x167f(){const _0x212fa3=['IFormulaUsageAnalyzer','startColumn','FUniver','FWorksheet','FRange','_worksheet','getFormulaUsagesAsA1','getMaxRows','filledRanges','extend','getCellDataGrid','get','moveFormulaRefOffset','getIntersectRange','1232459rUGTEG','push','_injector','startRow','1594448oKXdkd','27362lDoCVI','firstOccurrence','getAllFormulaUsages','getMaxColumns','7346772jsFGba','toA1','endRow','2814490qtXSYG','getFormulaUsages','3977796kyYrzF','6231106QuYrsD','9nwYHJf','getRange','getCellRaw','getAllDataValidationErrorAsync','getAllFormulaError','3rMhiFQ','endColumn','FWorkbook','map','length','getLintErrors'];_0x167f=function(){return _0x212fa3;};return _0x167f();}
|