@univerjs-pro/sheets-mcp 0.12.0 → 0.12.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(_0x18ec3b,_0x146778){const _0x2f3e14=_0x1968,_0x20bb74=_0x18ec3b();while(!![]){try{const _0x4dfb14=parseInt(_0x2f3e14(0x17a))/0x1+-parseInt(_0x2f3e14(0x16b))/0x2*(parseInt(_0x2f3e14(0x156))/0x3)+-parseInt(_0x2f3e14(0x15b))/0x4+-parseInt(_0x2f3e14(0x180))/0x5+parseInt(_0x2f3e14(0x157))/0x6*(-parseInt(_0x2f3e14(0x15c))/0x7)+-parseInt(_0x2f3e14(0x15e))/0x8*(parseInt(_0x2f3e14(0x17b))/0x9)+parseInt(_0x2f3e14(0x175))/0xa*(parseInt(_0x2f3e14(0x161))/0xb);if(_0x4dfb14===_0x146778)break;else _0x20bb74['push'](_0x20bb74['shift']());}catch(_0x5cf692){_0x20bb74['push'](_0x20bb74['shift']());}}}(_0x3b4f,0xe5b6b),function(_0x5972d1,_0x31917b){const _0x10cdb8=_0x1968;typeof exports=='object'&&typeof module<'u'?_0x31917b(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==_0x10cdb8(0x17e)&&define['amd']?define([_0x10cdb8(0x16d),_0x10cdb8(0x183),'@univerjs/sheets-data-validation/facade','@univerjs/sheets/facade',_0x10cdb8(0x16c),_0x10cdb8(0x165)],_0x31917b):(_0x5972d1=typeof globalThis<'u'?globalThis:_0x5972d1||self,_0x31917b(_0x5972d1[_0x10cdb8(0x173)],_0x5972d1['UniverSheetsFormulaFacade'],_0x5972d1[_0x10cdb8(0x17c)],_0x5972d1[_0x10cdb8(0x172)],_0x5972d1[_0x10cdb8(0x162)],_0x5972d1[_0x10cdb8(0x169)]));}(this,function(_0x1eb45a,_0x3546b4,_0x188eb7,_0x4f38fc,_0x29fe3d,_0xdf7d68){'use strict';const _0x4f1ae2=_0x1968;class _0x56655a extends _0x1eb45a[_0x4f1ae2(0x166)]{async[_0x4f1ae2(0x15f)](){return this['getActiveWorkbook']()['getLintErrors']();}}_0x1eb45a[_0x4f1ae2(0x166)][_0x4f1ae2(0x170)](_0x56655a);class _0x370c80 extends _0x4f38fc[_0x4f1ae2(0x15a)]{async[_0x4f1ae2(0x15f)](){const _0x46fc48=_0x4f1ae2,_0x2defaa=this[_0x46fc48(0x17d)](),_0x1c0c01=await this[_0x46fc48(0x159)]();return{'formulaErrors':_0x2defaa,'dataValidationErrors':_0x1c0c01};}}_0x4f38fc[_0x4f1ae2(0x15a)][_0x4f1ae2(0x170)](_0x370c80);class _0x2c4ba7 extends _0x4f38fc[_0x4f1ae2(0x163)]{async[_0x4f1ae2(0x164)](){const _0x4587a4=_0x4f1ae2,_0x5d3e5c=this['_injector'][_0x4587a4(0x174)](_0x29fe3d['IFormulaUsageAnalyzer']),_0x45b34e=this[_0x4587a4(0x178)](0x0,0x0,this[_0x4587a4(0x177)]()+0x1,this[_0x4587a4(0x16e)]()+0x1)[_0x4587a4(0x181)]();return await _0x5d3e5c['getAllFormulaUsages'](_0x45b34e);}async[_0x4f1ae2(0x176)](){const _0x2fe040=_0x4f1ae2;return(await this[_0x2fe040(0x164)]())[_0x2fe040(0x158)](_0x29fe3d[_0x2fe040(0x179)]);}}_0x4f38fc[_0x4f1ae2(0x163)][_0x4f1ae2(0x170)](_0x2c4ba7);class _0x1666a2 extends _0x4f38fc[_0x4f1ae2(0x184)]{async[_0x4f1ae2(0x164)](){const _0x52c2a5=_0x4f1ae2,_0x2d1103=this[_0x52c2a5(0x182)]['get'](_0x29fe3d[_0x52c2a5(0x16a)]),_0x83079b=(({startRow:_0x1bac4d,endRow:_0x1129a8,startColumn:_0x349c42,endColumn:_0x29d864})=>{const _0x482797=_0x52c2a5,_0x102161=[];for(let _0xf7caa8=_0x1bac4d;_0xf7caa8<=_0x1129a8;_0xf7caa8++){const _0xa96972=[];for(let _0x5b052d=_0x349c42;_0x5b052d<=_0x29d864;_0x5b052d++)_0xa96972['push'](this['_worksheet'][_0x482797(0x155)](_0xf7caa8,_0x5b052d));_0x102161[_0x482797(0x160)](_0xa96972);}return _0x102161;})({'startRow':0x0,'endRow':this[_0x52c2a5(0x15d)][_0x52c2a5(0x177)](),'startColumn':0x0,'endColumn':this[_0x52c2a5(0x15d)]['getMaxColumns']()}),_0x13e0da=await _0x2d1103[_0x52c2a5(0x168)](_0x83079b),_0x117a60=this[_0x52c2a5(0x178)](),_0x4de92c=[];for(let _0x530574=0x0;_0x530574<_0x13e0da[_0x52c2a5(0x171)];_0x530574++){const _0x35bf06=_0x13e0da[_0x530574],_0x36e24c=_0x35bf06['filledRanges'],_0x30ec63=[];for(let _0x24eea6=0x0;_0x24eea6<_0x36e24c[_0x52c2a5(0x171)];_0x24eea6++){const _0x2bb405=_0x36e24c[_0x24eea6],_0x199530=_0xdf7d68[_0x52c2a5(0x167)](_0x2bb405,_0x117a60);_0x199530&&_0x30ec63['push'](_0x199530);}if(_0x30ec63[_0x52c2a5(0x171)]>0x0){_0x35bf06['filledRanges']=_0x30ec63;const _0x313060=_0x30ec63[0x0],_0x282058=_0x313060[_0x52c2a5(0x16f)]-_0x117a60[_0x52c2a5(0x16f)],_0x184e93=_0x313060['startColumn']-_0x117a60['startColumn'];_0x35bf06[_0x52c2a5(0x17f)]=await _0x2d1103['moveFormulaRefOffset'](_0x35bf06['formula'],_0x282058,_0x184e93),_0x4de92c[_0x52c2a5(0x160)](_0x35bf06);}}return _0x4de92c;}async[_0x4f1ae2(0x176)](){const _0x7a38df=_0x4f1ae2;return(await this[_0x7a38df(0x164)]())[_0x7a38df(0x158)](_0x29fe3d[_0x7a38df(0x179)]);}}_0x4f38fc['FRange'][_0x4f1ae2(0x170)](_0x1666a2);}));function _0x1968(_0x586735,_0x349265){const _0x3b4f0e=_0x3b4f();return _0x1968=function(_0x196857,_0x13becc){_0x196857=_0x196857-0x155;let _0x2cccf9=_0x3b4f0e[_0x196857];return _0x2cccf9;},_0x1968(_0x586735,_0x349265);}function _0x3b4f(){const _0x595742=['FWorksheet','getFormulaUsages','@univerjs/core','FUniver','getIntersectRange','getAllFormulaUsages','UniverCore','IFormulaUsageAnalyzer','6THxrVu','@univerjs-pro/sheets-mcp','@univerjs/core/facade','getMaxColumns','startRow','extend','length','UniverSheetsFacade','UniverCoreFacade','get','10zDeOJJ','getFormulaUsagesAsA1','getMaxRows','getRange','toA1','1755284Gedbvo','3060702nMGlGp','UniverSheetsDataValidationFacade','getAllFormulaError','function','formula','7864890PrfKfz','getCellDataGrid','_injector','@univerjs/sheets-formula/facade','FRange','getCellRaw','381393mmDJBi','22758qqRwOg','map','getAllDataValidationErrorAsync','FWorkbook','6950044AVfLUq','623qpifgU','_worksheet','8UnwjrE','getLintErrors','push','39106760BPswiP','UniverProSheetsMcp'];_0x3b4f=function(){return _0x595742;};return _0x3b4f();}
|