@univerjs-pro/sheets-mcp 0.15.0-insiders.20260110-48b77c8 → 0.15.1
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
|
-
|
|
1
|
+
(function(_0x17a884,_0x4cc9c3){const _0x270b5d=_0x5147,_0x5032fc=_0x17a884();while(!![]){try{const _0x551884=parseInt(_0x270b5d(0x18e))/0x1*(parseInt(_0x270b5d(0x1ad))/0x2)+-parseInt(_0x270b5d(0x19d))/0x3*(parseInt(_0x270b5d(0x1a0))/0x4)+-parseInt(_0x270b5d(0x18a))/0x5+parseInt(_0x270b5d(0x1b9))/0x6+-parseInt(_0x270b5d(0x18f))/0x7+parseInt(_0x270b5d(0x1b3))/0x8+-parseInt(_0x270b5d(0x19b))/0x9*(-parseInt(_0x270b5d(0x1b1))/0xa);if(_0x551884===_0x4cc9c3)break;else _0x5032fc['push'](_0x5032fc['shift']());}catch(_0x1e3b7a){_0x5032fc['push'](_0x5032fc['shift']());}}}(_0x480b,0x9abdd),function(_0x1e7463,_0x234ec8){const _0x252f3f=_0x5147;typeof exports==_0x252f3f(0x1b6)&&typeof module<'u'?_0x234ec8(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==_0x252f3f(0x195)&&define[_0x252f3f(0x1c5)]?define(['@univerjs/core/facade',_0x252f3f(0x1bb),_0x252f3f(0x1b8),_0x252f3f(0x1a9),_0x252f3f(0x1b7),'@univerjs/core'],_0x234ec8):(_0x1e7463=typeof globalThis<'u'?globalThis:_0x1e7463||self,_0x234ec8(_0x1e7463['UniverCoreFacade'],_0x1e7463[_0x252f3f(0x1a3)],_0x1e7463[_0x252f3f(0x1ca)],_0x1e7463[_0x252f3f(0x1c8)],_0x1e7463['UniverProSheetsMcp'],_0x1e7463['UniverCore']));}(this,function(_0x2deb49,_0x4185c9,_0x10ae44,_0x1187d5,_0x24021a,_0x50e8ad){'use strict';const _0x413f9c=_0x5147;class _0x36da14 extends _0x2deb49[_0x413f9c(0x1b5)]{async[_0x413f9c(0x193)](){return this['getActiveWorkbook']()['getLintErrors']();}}_0x2deb49[_0x413f9c(0x1b5)][_0x413f9c(0x198)](_0x36da14);class _0x107887 extends _0x1187d5[_0x413f9c(0x194)]{async[_0x413f9c(0x193)](){const _0x5cfe74=_0x413f9c,_0x3edb78=this[_0x5cfe74(0x1a7)](),_0x541673=await this[_0x5cfe74(0x1c9)]();return{'formulaErrors':_0x3edb78,'dataValidationErrors':_0x541673};}}_0x1187d5[_0x413f9c(0x194)]['extend'](_0x107887);class _0xf817c3 extends _0x1187d5[_0x413f9c(0x1a8)]{async[_0x413f9c(0x1bf)](){const _0x3ec6bd=_0x413f9c,_0x145744=this['_injector'][_0x3ec6bd(0x197)](_0x24021a['IFormulaUsageAnalyzer']),_0x303549=this[_0x3ec6bd(0x1c2)](0x0,0x0,this[_0x3ec6bd(0x1c0)](),this[_0x3ec6bd(0x1c6)]())[_0x3ec6bd(0x1a5)]();return await _0x145744['getAllFormulaUsages'](_0x303549);}async[_0x413f9c(0x19c)](){const _0x4f6f2c=_0x413f9c;return(await this['getFormulaUsages']())[_0x4f6f2c(0x1ba)](_0x24021a['formulaToA1']);}[_0x413f9c(0x1b0)](_0x2198e7){const _0x89112b=_0x413f9c,_0x4f0136=this[_0x89112b(0x1a6)][_0x89112b(0x197)](_0x24021a[_0x89112b(0x19e)]),_0x56b821=this[_0x89112b(0x1c2)](0x0,0x0,this[_0x89112b(0x1c0)](),this[_0x89112b(0x1c6)]())[_0x89112b(0x1a5)]();return _0x4f0136[_0x89112b(0x1b2)](_0x2198e7),_0x4f0136[_0x89112b(0x19a)](_0x56b821,this[_0x89112b(0x18d)],this['_worksheet']);}[_0x413f9c(0x196)](_0x463168){const _0x4ad7ef=_0x413f9c;return this[_0x4ad7ef(0x1b0)](_0x463168)[_0x4ad7ef(0x1ba)](_0x24021a[_0x4ad7ef(0x1ae)]);}[_0x413f9c(0x1b4)](_0x7065c){const _0x41fb32=_0x413f9c,_0x485548=this[_0x41fb32(0x1a6)][_0x41fb32(0x197)](_0x24021a[_0x41fb32(0x1c4)]);return _0x485548[_0x41fb32(0x1b2)](_0x7065c),_0x485548[_0x41fb32(0x190)](this['_worksheet']);}['getSizeUsagesAsA1'](_0x27827a){const _0x3282d2=_0x413f9c,_0x205851=this['_injector'][_0x3282d2(0x197)](_0x24021a[_0x3282d2(0x1c4)]);_0x205851[_0x3282d2(0x1b2)](_0x27827a);const _0x5db611=_0x205851[_0x3282d2(0x190)](this[_0x3282d2(0x192)]);return _0x205851[_0x3282d2(0x1ac)](_0x5db611);}}_0x1187d5[_0x413f9c(0x1a8)]['extend'](_0xf817c3);class _0x3af286 extends _0x1187d5['FRange']{async[_0x413f9c(0x1bf)](){const _0x25bb7e=_0x413f9c,_0x5389a3=this[_0x25bb7e(0x1a6)][_0x25bb7e(0x197)](_0x24021a[_0x25bb7e(0x1ab)]),_0x4e2311=(({startRow:_0x1720be,endRow:_0x4c1aeb,startColumn:_0x82171c,endColumn:_0x59730e})=>{const _0x223e72=_0x25bb7e,_0x475daa=[];for(let _0x21ba17=_0x1720be;_0x21ba17<=_0x4c1aeb;_0x21ba17++){const _0x181c11=[];for(let _0x4f4543=_0x82171c;_0x4f4543<=_0x59730e;_0x4f4543++)_0x181c11[_0x223e72(0x1aa)](this[_0x223e72(0x192)][_0x223e72(0x1bc)](_0x21ba17,_0x4f4543));_0x475daa['push'](_0x181c11);}return _0x475daa;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x25bb7e(0x192)]['getMaxColumns']()}),_0x4b0cee=await _0x5389a3[_0x25bb7e(0x191)](_0x4e2311),_0x3b9fb9=this['getRange'](),_0x21b659=[];for(let _0x2ad2fa=0x0;_0x2ad2fa<_0x4b0cee[_0x25bb7e(0x1bd)];_0x2ad2fa++){const _0x1ff7d8=_0x4b0cee[_0x2ad2fa],_0x5bd597=_0x1ff7d8['filledRanges'],_0x580d51=[];for(let _0x22dac5=0x0;_0x22dac5<_0x5bd597['length'];_0x22dac5++){const _0x1b38cf=_0x5bd597[_0x22dac5],_0x1c5390=_0x50e8ad[_0x25bb7e(0x1c7)](_0x1b38cf,_0x3b9fb9);_0x1c5390&&_0x580d51[_0x25bb7e(0x1aa)](_0x1c5390);}if(_0x580d51['length']>0x0){if(_0x1ff7d8[_0x25bb7e(0x1a1)]=_0x580d51,!(_0x1ff7d8[_0x25bb7e(0x1af)]['startRow']>=_0x3b9fb9[_0x25bb7e(0x199)]&&_0x1ff7d8[_0x25bb7e(0x1af)]['startRow']<=_0x3b9fb9[_0x25bb7e(0x18c)]&&_0x1ff7d8[_0x25bb7e(0x1af)]['startColumn']>=_0x3b9fb9[_0x25bb7e(0x19f)]&&_0x1ff7d8[_0x25bb7e(0x1af)]['startColumn']<=_0x3b9fb9[_0x25bb7e(0x1a4)])){const _0xd2611=_0x580d51[0x0],_0x4a5e51=_0xd2611[_0x25bb7e(0x199)]-_0x1ff7d8[_0x25bb7e(0x1af)][_0x25bb7e(0x199)],_0x31c987=_0xd2611[_0x25bb7e(0x19f)]-_0x1ff7d8['firstOccurrence'][_0x25bb7e(0x19f)];_0x1ff7d8[_0x25bb7e(0x1be)]=await _0x5389a3[_0x25bb7e(0x1c1)](_0x1ff7d8['formula'],_0x31c987,_0x4a5e51),_0x1ff7d8['firstOccurrence']={'startRow':_0xd2611[_0x25bb7e(0x199)],'endRow':_0xd2611['startRow'],'startColumn':_0xd2611[_0x25bb7e(0x19f)],'endColumn':_0xd2611[_0x25bb7e(0x19f)]};}_0x21b659[_0x25bb7e(0x1aa)](_0x1ff7d8);}}return _0x21b659;}async[_0x413f9c(0x19c)](){const _0x3e5d9e=_0x413f9c;return(await this[_0x3e5d9e(0x1bf)]())[_0x3e5d9e(0x1ba)](_0x24021a[_0x3e5d9e(0x1c3)]);}[_0x413f9c(0x1b0)](_0x3e4f7d){const _0x5d51e7=_0x413f9c,_0x534d63=this[_0x5d51e7(0x1a6)][_0x5d51e7(0x197)](_0x24021a[_0x5d51e7(0x19e)]),_0xeb0db4=(({startRow:_0x2d0fae,endRow:_0x2256f1,startColumn:_0x19d641,endColumn:_0x5e4701})=>{const _0x383f93=_0x5d51e7,_0x30f640=[];for(let _0x45d8d7=_0x2d0fae;_0x45d8d7<=_0x2256f1;_0x45d8d7++){const _0x227b4f=[];for(let _0xee1215=_0x19d641;_0xee1215<=_0x5e4701;_0xee1215++)_0x227b4f[_0x383f93(0x1aa)](this[_0x383f93(0x192)][_0x383f93(0x1bc)](_0x45d8d7,_0xee1215));_0x30f640[_0x383f93(0x1aa)](_0x227b4f);}return _0x30f640;})({'startRow':0x0,'endRow':this[_0x5d51e7(0x192)][_0x5d51e7(0x1c0)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x5d51e7(0x1c6)]()});_0x534d63[_0x5d51e7(0x1b2)](_0x3e4f7d);const _0x254518=_0x534d63[_0x5d51e7(0x19a)](_0xeb0db4,this[_0x5d51e7(0x18d)],this[_0x5d51e7(0x192)]),_0x22ae81=this[_0x5d51e7(0x1c2)](),_0x389824=[];for(let _0x40ea3c=0x0;_0x40ea3c<_0x254518[_0x5d51e7(0x1bd)];_0x40ea3c++){const _0x34786f=_0x254518[_0x40ea3c],_0x701aba=_0x34786f[_0x5d51e7(0x1a1)],_0x19f2ad=[];for(let _0x10a4d9=0x0;_0x10a4d9<_0x701aba['length'];_0x10a4d9++){const _0xa324d=_0x701aba[_0x10a4d9],_0x4fd76b=_0x50e8ad[_0x5d51e7(0x1c7)](_0xa324d,_0x22ae81);_0x4fd76b&&_0x19f2ad[_0x5d51e7(0x1aa)](_0x4fd76b);}_0x19f2ad['length']>0x0&&(_0x34786f[_0x5d51e7(0x1a1)]=_0x19f2ad,_0x389824[_0x5d51e7(0x1aa)](_0x34786f));}return _0x389824;}['getStyleUsagesAsA1'](_0x145215){const _0x1531a8=_0x413f9c;return this[_0x1531a8(0x1b0)](_0x145215)['map'](_0x24021a['styleToA1']);}[_0x413f9c(0x1b4)](_0x122ce4){const _0x4d8f2f=_0x413f9c,_0x372bfb=this[_0x4d8f2f(0x1a6)][_0x4d8f2f(0x197)](_0x24021a[_0x4d8f2f(0x1c4)]),_0x4461a1=this[_0x4d8f2f(0x1c2)]();return _0x372bfb['updateConfig'](_0x122ce4),_0x372bfb[_0x4d8f2f(0x190)](this['_worksheet'],_0x4461a1['startRow'],_0x4461a1[_0x4d8f2f(0x18c)],_0x4461a1[_0x4d8f2f(0x19f)],_0x4461a1[_0x4d8f2f(0x1a4)]);}[_0x413f9c(0x1a2)](_0x373135){const _0x35cbdf=_0x413f9c,_0x241c91=this[_0x35cbdf(0x1b4)](_0x373135);return this[_0x35cbdf(0x1a6)][_0x35cbdf(0x197)](_0x24021a[_0x35cbdf(0x1c4)])[_0x35cbdf(0x1ac)](_0x241c91);}}_0x1187d5[_0x413f9c(0x18b)][_0x413f9c(0x198)](_0x3af286);}));function _0x5147(_0x163c02,_0x22b9cb){_0x163c02=_0x163c02-0x18a;const _0x480baa=_0x480b();let _0x5147cd=_0x480baa[_0x163c02];return _0x5147cd;}function _0x480b(){const _0xeee570=['map','@univerjs/sheets-formula/facade','getCellRaw','length','formula','getFormulaUsages','getMaxRows','moveFormulaRefOffset','getRange','formulaToA1','ISizeUsageAnalyzer','amd','getMaxColumns','getIntersectRange','UniverSheetsFacade','getAllDataValidationErrorAsync','UniverSheetsDataValidationFacade','2645455AaYkgT','FRange','endRow','_workbook','106469GdaLst','5689236icxdsm','getAllSizeUsages','getAllFormulaUsages','_worksheet','getLintErrors','FWorkbook','function','getStyleUsagesAsA1','get','extend','startRow','getAllStyleUsages','18208404keriEw','getFormulaUsagesAsA1','24ujrHUC','IStyleUsageAnalyzer','startColumn','617548mACOFx','filledRanges','getSizeUsagesAsA1','UniverSheetsFormulaFacade','endColumn','getCellDataGrid','_injector','getAllFormulaError','FWorksheet','@univerjs/sheets/facade','push','IFormulaUsageAnalyzer','toA1','6LuIywV','styleToA1','firstOccurrence','getStyleUsages','10lmqikk','updateConfig','6936504VSISPo','getSizeUsages','FUniver','object','@univerjs-pro/sheets-mcp','@univerjs/sheets-data-validation/facade','6780txWNBY'];_0x480b=function(){return _0xeee570;};return _0x480b();}
|