@univerjs-pro/sheets-mcp 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3
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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x46b7(_0x4abcca,_0x3a2f5c){_0x4abcca=_0x4abcca-0x16e;const _0x1a261b=_0x1a26();let _0x46b7ec=_0x1a261b[_0x4abcca];return _0x46b7ec;}function _0x1a26(){const _0x22584b=['getLintErrors','length','getMaxColumns','styleToA1','1965560qDFeyF','_workbook','getCellDataGrid','getRange','map','getAllFormulaUsages','endColumn','UniverSheetsFacade','moveFormulaRefOffset','1705776eIiHnL','UniverCoreFacade','ISizeUsageAnalyzer','endRow','85584MWwval','getSizeUsagesAsA1','UniverProSheetsMcp','3sefCju','FUniver','_injector','UniverCore','FWorksheet','getStyleUsages','UniverSheetsDataValidationFacade','getAllSizeUsages','getAllDataValidationErrorAsync','getFormulaUsagesAsA1','2616792PlbzYI','filledRanges','@univerjs/sheets-formula/facade','324890hlLpLe','startColumn','@univerjs/sheets/facade','formulaToA1','881840iYwhlS','updateConfig','toA1','object','getFormulaUsages','FWorkbook','7860474fqMhpt','get','extend','10HQjADr','getAllStyleUsages','getAllFormulaError','getStyleUsagesAsA1','IStyleUsageAnalyzer','startRow','getSizeUsages','amd','push','firstOccurrence','7gkEOPW','@univerjs/sheets-data-validation/facade','_worksheet','FRange','@univerjs/core','getMaxRows','getIntersectRange'];_0x1a26=function(){return _0x22584b;};return _0x1a26();}(function(_0x1551ca,_0x30a4af){const _0x5a4982=_0x46b7,_0x2c6ed4=_0x1551ca();while(!![]){try{const _0x3b59eb=-parseInt(_0x5a4982(0x1a5))/0x1+-parseInt(_0x5a4982(0x195))/0x2+-parseInt(_0x5a4982(0x198))/0x3*(parseInt(_0x5a4982(0x1a2))/0x4)+parseInt(_0x5a4982(0x188))/0x5+parseInt(_0x5a4982(0x191))/0x6+parseInt(_0x5a4982(0x17d))/0x7*(-parseInt(_0x5a4982(0x1a9))/0x8)+parseInt(_0x5a4982(0x170))/0x9*(parseInt(_0x5a4982(0x173))/0xa);if(_0x3b59eb===_0x30a4af)break;else _0x2c6ed4['push'](_0x2c6ed4['shift']());}catch(_0x2961cc){_0x2c6ed4['push'](_0x2c6ed4['shift']());}}}(_0x1a26,0x6637c),function(_0x2873ee,_0x356379){const _0x2c26bb=_0x46b7;typeof exports==_0x2c26bb(0x1ac)&&typeof module<'u'?_0x356379(require('@univerjs/core/facade'),require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade'),require('@univerjs/sheets/facade'),require('@univerjs-pro/sheets-mcp'),require('@univerjs/core')):typeof define=='function'&&define[_0x2c26bb(0x17a)]?define(['@univerjs/core/facade',_0x2c26bb(0x1a4),_0x2c26bb(0x17e),_0x2c26bb(0x1a7),'@univerjs-pro/sheets-mcp',_0x2c26bb(0x181)],_0x356379):(_0x2873ee=typeof globalThis<'u'?globalThis:_0x2873ee||self,_0x356379(_0x2873ee[_0x2c26bb(0x192)],_0x2873ee['UniverSheetsFormulaFacade'],_0x2873ee[_0x2c26bb(0x19e)],_0x2873ee[_0x2c26bb(0x18f)],_0x2873ee[_0x2c26bb(0x197)],_0x2873ee[_0x2c26bb(0x19b)]));}(this,function(_0x797d10,_0x4c880c,_0x289c99,_0x5c9406,_0x3258f4,_0x3c6205){'use strict';const _0x17c346=_0x46b7;class _0x5736d7 extends _0x797d10[_0x17c346(0x199)]{async[_0x17c346(0x184)](){const _0x493eb1=_0x17c346;return this['getActiveWorkbook']()[_0x493eb1(0x184)]();}}_0x797d10[_0x17c346(0x199)][_0x17c346(0x172)](_0x5736d7);class _0xb7f0d0 extends _0x5c9406[_0x17c346(0x16f)]{async[_0x17c346(0x184)](){const _0x355ac8=_0x17c346,_0x6e10b6=this[_0x355ac8(0x175)](),_0x429c87=await this[_0x355ac8(0x1a0)]();return{'formulaErrors':_0x6e10b6,'dataValidationErrors':_0x429c87};}}_0x5c9406[_0x17c346(0x16f)][_0x17c346(0x172)](_0xb7f0d0);class _0x139738 extends _0x5c9406[_0x17c346(0x19c)]{async[_0x17c346(0x16e)](){const _0x3e4ce2=_0x17c346,_0xfaab93=this[_0x3e4ce2(0x19a)][_0x3e4ce2(0x171)](_0x3258f4['IFormulaUsageAnalyzer']),_0x31565b=this['getRange'](0x0,0x0,this[_0x3e4ce2(0x182)](),this[_0x3e4ce2(0x186)]())[_0x3e4ce2(0x18a)]();return await _0xfaab93[_0x3e4ce2(0x18d)](_0x31565b);}async[_0x17c346(0x1a1)](){const _0x200f99=_0x17c346;return(await this[_0x200f99(0x16e)]())[_0x200f99(0x18c)](_0x3258f4[_0x200f99(0x1a8)]);}[_0x17c346(0x19d)](_0x18f808){const _0x5bee62=_0x17c346,_0x5b2d66=this['_injector'][_0x5bee62(0x171)](_0x3258f4[_0x5bee62(0x177)]),_0x2d4766=this[_0x5bee62(0x18b)](0x0,0x0,this[_0x5bee62(0x182)](),this[_0x5bee62(0x186)]())[_0x5bee62(0x18a)]();return _0x5b2d66[_0x5bee62(0x1aa)](_0x18f808),_0x5b2d66[_0x5bee62(0x174)](_0x2d4766,this[_0x5bee62(0x189)],this[_0x5bee62(0x17f)]);}[_0x17c346(0x176)](_0x54e305){const _0x5a0f0c=_0x17c346;return this['getStyleUsages'](_0x54e305)[_0x5a0f0c(0x18c)](_0x3258f4[_0x5a0f0c(0x187)]);}[_0x17c346(0x179)](_0x3e8af3){const _0x478f60=_0x17c346,_0x11ff86=this['_injector']['get'](_0x3258f4[_0x478f60(0x193)]);return _0x11ff86[_0x478f60(0x1aa)](_0x3e8af3),_0x11ff86[_0x478f60(0x19f)](this[_0x478f60(0x17f)]);}[_0x17c346(0x196)](_0x2f9e9c){const _0x146f02=_0x17c346,_0x542f35=this[_0x146f02(0x19a)][_0x146f02(0x171)](_0x3258f4[_0x146f02(0x193)]);_0x542f35['updateConfig'](_0x2f9e9c);const _0x450728=_0x542f35[_0x146f02(0x19f)](this[_0x146f02(0x17f)]);return _0x542f35['toA1'](_0x450728);}}_0x5c9406[_0x17c346(0x19c)][_0x17c346(0x172)](_0x139738);class _0x8deb26 extends _0x5c9406[_0x17c346(0x180)]{async[_0x17c346(0x16e)](){const _0x4c6daf=_0x17c346,_0x51f07f=this[_0x4c6daf(0x19a)]['get'](_0x3258f4['IFormulaUsageAnalyzer']),_0x40c423=(({startRow:_0x1d34e4,endRow:_0x56cef4,startColumn:_0x12e379,endColumn:_0x5ca546})=>{const _0x3ab53c=_0x4c6daf,_0x1586ef=[];for(let _0x415ca5=_0x1d34e4;_0x415ca5<=_0x56cef4;_0x415ca5++){const _0x80ff4a=[];for(let _0x526c70=_0x12e379;_0x526c70<=_0x5ca546;_0x526c70++)_0x80ff4a[_0x3ab53c(0x17b)](this[_0x3ab53c(0x17f)]['getCellRaw'](_0x415ca5,_0x526c70));_0x1586ef[_0x3ab53c(0x17b)](_0x80ff4a);}return _0x1586ef;})({'startRow':0x0,'endRow':this[_0x4c6daf(0x17f)][_0x4c6daf(0x182)](),'startColumn':0x0,'endColumn':this[_0x4c6daf(0x17f)][_0x4c6daf(0x186)]()}),_0x215aac=await _0x51f07f[_0x4c6daf(0x18d)](_0x40c423),_0x45520e=this[_0x4c6daf(0x18b)](),_0x1c9d04=[];for(let _0x43c1c4=0x0;_0x43c1c4<_0x215aac[_0x4c6daf(0x185)];_0x43c1c4++){const _0x4a16c6=_0x215aac[_0x43c1c4],_0x4c147a=_0x4a16c6[_0x4c6daf(0x1a3)],_0x1a740b=[];for(let _0x5a84e2=0x0;_0x5a84e2<_0x4c147a['length'];_0x5a84e2++){const _0x7e8b62=_0x4c147a[_0x5a84e2],_0x592d97=_0x3c6205['getIntersectRange'](_0x7e8b62,_0x45520e);_0x592d97&&_0x1a740b[_0x4c6daf(0x17b)](_0x592d97);}if(_0x1a740b[_0x4c6daf(0x185)]>0x0){if(_0x4a16c6[_0x4c6daf(0x1a3)]=_0x1a740b,!(_0x4a16c6[_0x4c6daf(0x17c)][_0x4c6daf(0x178)]>=_0x45520e[_0x4c6daf(0x178)]&&_0x4a16c6[_0x4c6daf(0x17c)][_0x4c6daf(0x178)]<=_0x45520e[_0x4c6daf(0x194)]&&_0x4a16c6[_0x4c6daf(0x17c)]['startColumn']>=_0x45520e[_0x4c6daf(0x1a6)]&&_0x4a16c6[_0x4c6daf(0x17c)][_0x4c6daf(0x1a6)]<=_0x45520e[_0x4c6daf(0x18e)])){const _0xa618c9=_0x1a740b[0x0],_0xf2683c=_0xa618c9[_0x4c6daf(0x178)]-_0x4a16c6[_0x4c6daf(0x17c)][_0x4c6daf(0x178)],_0x208181=_0xa618c9['startColumn']-_0x4a16c6[_0x4c6daf(0x17c)][_0x4c6daf(0x1a6)];_0x4a16c6['formula']=await _0x51f07f[_0x4c6daf(0x190)](_0x4a16c6['formula'],_0x208181,_0xf2683c),_0x4a16c6[_0x4c6daf(0x17c)]={'startRow':_0xa618c9['startRow'],'endRow':_0xa618c9[_0x4c6daf(0x178)],'startColumn':_0xa618c9[_0x4c6daf(0x1a6)],'endColumn':_0xa618c9[_0x4c6daf(0x1a6)]};}_0x1c9d04['push'](_0x4a16c6);}}return _0x1c9d04;}async[_0x17c346(0x1a1)](){const _0x21ca79=_0x17c346;return(await this[_0x21ca79(0x16e)]())[_0x21ca79(0x18c)](_0x3258f4[_0x21ca79(0x1a8)]);}[_0x17c346(0x19d)](_0xfdd040){const _0x527dbd=_0x17c346,_0x1a8b9b=this[_0x527dbd(0x19a)][_0x527dbd(0x171)](_0x3258f4[_0x527dbd(0x177)]),_0x4ad988=(({startRow:_0x4ce986,endRow:_0x5c4f35,startColumn:_0x48adba,endColumn:_0x50ce87})=>{const _0x190280=_0x527dbd,_0x3413af=[];for(let _0xf9bfc7=_0x4ce986;_0xf9bfc7<=_0x5c4f35;_0xf9bfc7++){const _0xdf44a7=[];for(let _0x5582e9=_0x48adba;_0x5582e9<=_0x50ce87;_0x5582e9++)_0xdf44a7[_0x190280(0x17b)](this['_worksheet']['getCellRaw'](_0xf9bfc7,_0x5582e9));_0x3413af[_0x190280(0x17b)](_0xdf44a7);}return _0x3413af;})({'startRow':0x0,'endRow':this[_0x527dbd(0x17f)][_0x527dbd(0x182)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x527dbd(0x186)]()});_0x1a8b9b[_0x527dbd(0x1aa)](_0xfdd040);const _0x413197=_0x1a8b9b[_0x527dbd(0x174)](_0x4ad988,this[_0x527dbd(0x189)],this[_0x527dbd(0x17f)]),_0x43b7e1=this[_0x527dbd(0x18b)](),_0x9f97c6=[];for(let _0x48f2ae=0x0;_0x48f2ae<_0x413197[_0x527dbd(0x185)];_0x48f2ae++){const _0x3deebf=_0x413197[_0x48f2ae],_0x36aff2=_0x3deebf['filledRanges'],_0x171e6f=[];for(let _0x3d3b65=0x0;_0x3d3b65<_0x36aff2['length'];_0x3d3b65++){const _0x2824a8=_0x36aff2[_0x3d3b65],_0x3214bb=_0x3c6205[_0x527dbd(0x183)](_0x2824a8,_0x43b7e1);_0x3214bb&&_0x171e6f['push'](_0x3214bb);}_0x171e6f[_0x527dbd(0x185)]>0x0&&(_0x3deebf[_0x527dbd(0x1a3)]=_0x171e6f,_0x9f97c6[_0x527dbd(0x17b)](_0x3deebf));}return _0x9f97c6;}[_0x17c346(0x176)](_0x2f79a4){const _0xccf8b1=_0x17c346;return this[_0xccf8b1(0x19d)](_0x2f79a4)[_0xccf8b1(0x18c)](_0x3258f4[_0xccf8b1(0x187)]);}[_0x17c346(0x179)](_0x4fd6e1){const _0x4d62f0=_0x17c346,_0x4c67f4=this[_0x4d62f0(0x19a)][_0x4d62f0(0x171)](_0x3258f4[_0x4d62f0(0x193)]),_0x4f6b01=this[_0x4d62f0(0x18b)]();return _0x4c67f4[_0x4d62f0(0x1aa)](_0x4fd6e1),_0x4c67f4[_0x4d62f0(0x19f)](this[_0x4d62f0(0x17f)],_0x4f6b01['startRow'],_0x4f6b01[_0x4d62f0(0x194)],_0x4f6b01[_0x4d62f0(0x1a6)],_0x4f6b01[_0x4d62f0(0x18e)]);}[_0x17c346(0x196)](_0x112a02){const _0xf7afb1=_0x17c346,_0x5e7a80=this['getSizeUsages'](_0x112a02);return this[_0xf7afb1(0x19a)][_0xf7afb1(0x171)](_0x3258f4['ISizeUsageAnalyzer'])[_0xf7afb1(0x1ab)](_0x5e7a80);}}_0x5c9406[_0x17c346(0x180)]['extend'](_0x8deb26);}));
|