@univerjs-pro/sheets-mcp 0.13.0 → 0.14.0-insiders.20251222-4efcfbb
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 +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4961d1=_0x9a9c;(function(_0x114926,_0x3136fe){const _0x483f46=_0x9a9c,_0x252c7b=_0x114926();while(!![]){try{const _0x15cb26=-parseInt(_0x483f46(0x15d))/0x1+-parseInt(_0x483f46(0x171))/0x2+-parseInt(_0x483f46(0x15e))/0x3+parseInt(_0x483f46(0x158))/0x4+-parseInt(_0x483f46(0x172))/0x5+-parseInt(_0x483f46(0x16c))/0x6+parseInt(_0x483f46(0x164))/0x7*(parseInt(_0x483f46(0x16b))/0x8);if(_0x15cb26===_0x3136fe)break;else _0x252c7b['push'](_0x252c7b['shift']());}catch(_0x4d1812){_0x252c7b['push'](_0x252c7b['shift']());}}}(_0x43bb,0xd2c19));function _0x43bb(){const _0xdd7386=['IFormulaUsageAnalyzer','358750mLdlPu','8210120VRaMsE','getActiveWorkbook','getCellRaw','push','FWorkbook','getMaxRows','startRow','firstOccurrence','getFormulaUsages','filledRanges','getMaxColumns','getAllFormulaUsages','getFormulaUsagesAsA1','moveFormulaRefOffset','102032uhlvPj','map','toA1','_injector','getRange','13103EJJbSd','5014587RoADxD','formula','getAllDataValidationErrorAsync','getCellDataGrid','getLintErrors','length','21448aNfBSD','extend','FUniver','startColumn','FWorksheet','endRow','_worksheet','12016Cspacm','1550088PVQGNL','getIntersectRange','get','endColumn'];_0x43bb=function(){return _0xdd7386;};return _0x43bb();}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[_0x4961d1(0x166)]{async[_0x4961d1(0x162)](){const _0x147806=_0x4961d1;return this[_0x147806(0x173)]()[_0x147806(0x162)]();}}d['FUniver'][_0x4961d1(0x165)](C);class A extends o[_0x4961d1(0x176)]{async[_0x4961d1(0x162)](){const _0xdd11e5=_0x4961d1,_0x48e74f=this['getAllFormulaError'](),_0x3a7cca=await this[_0xdd11e5(0x160)]();return{'formulaErrors':_0x48e74f,'dataValidationErrors':_0x3a7cca};}}o[_0x4961d1(0x176)]['extend'](A);class k extends o[_0x4961d1(0x168)]{async['getFormulaUsages'](){const _0x203ca9=_0x4961d1,_0x5d7c93=this[_0x203ca9(0x15b)][_0x203ca9(0x16e)](m[_0x203ca9(0x170)]),_0x22ec47=this[_0x203ca9(0x15c)](0x0,0x0,this[_0x203ca9(0x177)](),this[_0x203ca9(0x17c)]())[_0x203ca9(0x161)]();return await _0x5d7c93[_0x203ca9(0x17d)](_0x22ec47);}async[_0x4961d1(0x156)](){const _0xff3050=_0x4961d1;return(await this['getFormulaUsages']())[_0xff3050(0x159)](m['toA1']);}}o[_0x4961d1(0x168)]['extend'](k);class x extends o['FRange']{async[_0x4961d1(0x17a)](){const _0x5f3a00=_0x4961d1,_0x4f4172=this['_injector']['get'](m[_0x5f3a00(0x170)]),_0x184d6e=(({startRow:_0x2aab88,endRow:_0x1fa304,startColumn:_0x21b750,endColumn:_0x23e612})=>{const _0x16cf47=_0x5f3a00,_0x3351b9=[];for(let _0x374057=_0x2aab88;_0x374057<=_0x1fa304;_0x374057++){const _0x512cf4=[];for(let _0x261ff5=_0x21b750;_0x261ff5<=_0x23e612;_0x261ff5++)_0x512cf4[_0x16cf47(0x175)](this[_0x16cf47(0x16a)][_0x16cf47(0x174)](_0x374057,_0x261ff5));_0x3351b9['push'](_0x512cf4);}return _0x3351b9;})({'startRow':0x0,'endRow':this[_0x5f3a00(0x16a)][_0x5f3a00(0x177)](),'startColumn':0x0,'endColumn':this[_0x5f3a00(0x16a)][_0x5f3a00(0x17c)]()}),_0x199b37=await _0x4f4172[_0x5f3a00(0x17d)](_0x184d6e),_0xbc120b=this[_0x5f3a00(0x15c)](),_0x359900=[];for(let _0x1895b4=0x0;_0x1895b4<_0x199b37[_0x5f3a00(0x163)];_0x1895b4++){const _0x48eb92=_0x199b37[_0x1895b4],_0x3917e6=_0x48eb92[_0x5f3a00(0x17b)],_0x4ade6c=[];for(let _0x3b6dd9=0x0;_0x3b6dd9<_0x3917e6[_0x5f3a00(0x163)];_0x3b6dd9++){const _0x22ad6f=_0x3917e6[_0x3b6dd9],_0x2fdda8=F[_0x5f3a00(0x16d)](_0x22ad6f,_0xbc120b);_0x2fdda8&&_0x4ade6c[_0x5f3a00(0x175)](_0x2fdda8);}if(_0x4ade6c[_0x5f3a00(0x163)]>0x0){if(_0x48eb92[_0x5f3a00(0x17b)]=_0x4ade6c,!(_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x178)]>=_0xbc120b['startRow']&&_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x178)]<=_0xbc120b[_0x5f3a00(0x169)]&&_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x167)]>=_0xbc120b[_0x5f3a00(0x167)]&&_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x167)]<=_0xbc120b[_0x5f3a00(0x16f)])){const _0x5b7890=_0x4ade6c[0x0],_0x108035=_0x5b7890[_0x5f3a00(0x178)]-_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x178)],_0x4befd9=_0x5b7890[_0x5f3a00(0x167)]-_0x48eb92[_0x5f3a00(0x179)][_0x5f3a00(0x167)];_0x48eb92['formula']=await _0x4f4172[_0x5f3a00(0x157)](_0x48eb92[_0x5f3a00(0x15f)],_0x4befd9,_0x108035),_0x48eb92['firstOccurrence']={'startRow':_0x5b7890[_0x5f3a00(0x178)],'endRow':_0x5b7890[_0x5f3a00(0x178)],'startColumn':_0x5b7890['startColumn'],'endColumn':_0x5b7890[_0x5f3a00(0x167)]};}_0x359900[_0x5f3a00(0x175)](_0x48eb92);}}return _0x359900;}async['getFormulaUsagesAsA1'](){const _0x196cf5=_0x4961d1;return(await this[_0x196cf5(0x17a)]())['map'](m[_0x196cf5(0x15a)]);}}function _0x9a9c(_0x113b04,_0x507a83){_0x113b04=_0x113b04-0x156;const _0x43bb13=_0x43bb();let _0x9a9cf4=_0x43bb13[_0x113b04];return _0x9a9cf4;}o['FRange'][_0x4961d1(0x165)](x);
|