@univerjs-pro/sheets-mcp 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a
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 +10 -10
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4625(_0x3ff285,_0x15bcc3){_0x3ff285=_0x3ff285-0x192;const _0x1ab06d=_0x1ab0();let _0x4625c8=_0x1ab06d[_0x3ff285];return _0x4625c8;}function _0x1ab0(){const _0xbddfc1=['toA1','getAllFormulaError','IStyleUsageAnalyzer','filledRanges','getSizeUsages','getFormulaUsages','8130246hQriBU','styleToA1','get','formulaToA1','getAllFormulaUsages','startColumn','getAllSizeUsages','map','getRange','UniverProSheetsMcp','getMaxColumns','getCellDataGrid','extend','endColumn','IFormulaUsageAnalyzer','679eaPmbJ','endRow','startRow','UniverSheetsFacade','formula','31251hASTsb','firstOccurrence','getActiveWorkbook','@univerjs/sheets/facade','36871353xvMKWY','push','_worksheet','getAllDataValidationErrorAsync','FWorkbook','@univerjs/core','amd','function','getStyleUsagesAsA1','getCellRaw','ISizeUsageAnalyzer','_injector','UniverCoreFacade','42078iRIeUC','object','_workbook','updateConfig','getLintErrors','UniverCore','22rkgqyS','FUniver','3704lcfDYB','getIntersectRange','getAllStyleUsages','2219700oXDFTJ','length','getFormulaUsagesAsA1','getMaxRows','@univerjs/sheets-data-validation/facade','4203408yVrVJf','FRange','getStyleUsages','getSizeUsagesAsA1'];_0x1ab0=function(){return _0xbddfc1;};return _0x1ab0();}(function(_0x166368,_0x24838a){const _0x4dc8f6=_0x4625,_0x293ae6=_0x166368();while(!![]){try{const _0x2cb276=parseInt(_0x4dc8f6(0x1a3))/0x1*(-parseInt(_0x4dc8f6(0x1ba))/0x2)+-parseInt(_0x4dc8f6(0x1b4))/0x3+-parseInt(_0x4dc8f6(0x1c4))/0x4+-parseInt(_0x4dc8f6(0x1bf))/0x5+-parseInt(_0x4dc8f6(0x1ce))/0x6+-parseInt(_0x4dc8f6(0x19e))/0x7*(parseInt(_0x4dc8f6(0x1bc))/0x8)+parseInt(_0x4dc8f6(0x1a7))/0x9;if(_0x2cb276===_0x24838a)break;else _0x293ae6['push'](_0x293ae6['shift']());}catch(_0x5548c8){_0x293ae6['push'](_0x293ae6['shift']());}}}(_0x1ab0,0xce1fe),function(_0x5e3f51,_0x535906){const _0x2d34d9=_0x4625;typeof exports==_0x2d34d9(0x1b5)&&typeof module<'u'?_0x535906(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==_0x2d34d9(0x1ae)&&define[_0x2d34d9(0x1ad)]?define(['@univerjs/core/facade','@univerjs/sheets-formula/facade',_0x2d34d9(0x1c3),_0x2d34d9(0x1a6),'@univerjs-pro/sheets-mcp',_0x2d34d9(0x1ac)],_0x535906):(_0x5e3f51=typeof globalThis<'u'?globalThis:_0x5e3f51||self,_0x535906(_0x5e3f51[_0x2d34d9(0x1b3)],_0x5e3f51['UniverSheetsFormulaFacade'],_0x5e3f51['UniverSheetsDataValidationFacade'],_0x5e3f51[_0x2d34d9(0x1a1)],_0x5e3f51[_0x2d34d9(0x198)],_0x5e3f51[_0x2d34d9(0x1b9)]));}(this,function(_0x313e11,_0x184610,_0x49f374,_0x2fba3f,_0x104647,_0x67a8a){'use strict';const _0x2e6d5f=_0x4625;class _0x10f173 extends _0x313e11[_0x2e6d5f(0x1bb)]{async[_0x2e6d5f(0x1b8)](){const _0x3f31ab=_0x2e6d5f;return this[_0x3f31ab(0x1a5)]()[_0x3f31ab(0x1b8)]();}}_0x313e11[_0x2e6d5f(0x1bb)][_0x2e6d5f(0x19b)](_0x10f173);class _0x4414ab extends _0x2fba3f[_0x2e6d5f(0x1ab)]{async[_0x2e6d5f(0x1b8)](){const _0x5b2b7b=_0x2e6d5f,_0x254ca9=this[_0x5b2b7b(0x1c9)](),_0x4a230b=await this[_0x5b2b7b(0x1aa)]();return{'formulaErrors':_0x254ca9,'dataValidationErrors':_0x4a230b};}}_0x2fba3f[_0x2e6d5f(0x1ab)][_0x2e6d5f(0x19b)](_0x4414ab);class _0x974fc9 extends _0x2fba3f['FWorksheet']{async[_0x2e6d5f(0x1cd)](){const _0x1e6171=_0x2e6d5f,_0x3d7ec4=this[_0x1e6171(0x1b2)]['get'](_0x104647[_0x1e6171(0x19d)]),_0x420981=this[_0x1e6171(0x197)](0x0,0x0,this[_0x1e6171(0x1c2)](),this[_0x1e6171(0x199)]())['getCellDataGrid']();return await _0x3d7ec4[_0x1e6171(0x193)](_0x420981);}async[_0x2e6d5f(0x1c1)](){const _0x15d899=_0x2e6d5f;return(await this[_0x15d899(0x1cd)]())['map'](_0x104647[_0x15d899(0x192)]);}[_0x2e6d5f(0x1c6)](_0x5d9920){const _0x29a398=_0x2e6d5f,_0x248b2f=this[_0x29a398(0x1b2)][_0x29a398(0x1d0)](_0x104647[_0x29a398(0x1ca)]),_0x48e79c=this[_0x29a398(0x197)](0x0,0x0,this[_0x29a398(0x1c2)](),this[_0x29a398(0x199)]())[_0x29a398(0x19a)]();return _0x248b2f[_0x29a398(0x1b7)](_0x5d9920),_0x248b2f['getAllStyleUsages'](_0x48e79c,this[_0x29a398(0x1b6)],this[_0x29a398(0x1a9)]);}[_0x2e6d5f(0x1af)](_0x4019cf){const _0x480906=_0x2e6d5f;return this[_0x480906(0x1c6)](_0x4019cf)[_0x480906(0x196)](_0x104647[_0x480906(0x1cf)]);}[_0x2e6d5f(0x1cc)](_0x313f52){const _0x597547=_0x2e6d5f,_0x5c0419=this['_injector'][_0x597547(0x1d0)](_0x104647[_0x597547(0x1b1)]);return _0x5c0419[_0x597547(0x1b7)](_0x313f52),_0x5c0419[_0x597547(0x195)](this['_worksheet']);}[_0x2e6d5f(0x1c7)](_0x162528){const _0x1d3170=_0x2e6d5f,_0x408abe=this[_0x1d3170(0x1b2)][_0x1d3170(0x1d0)](_0x104647['ISizeUsageAnalyzer']);_0x408abe[_0x1d3170(0x1b7)](_0x162528);const _0x4ff298=_0x408abe[_0x1d3170(0x195)](this[_0x1d3170(0x1a9)]);return _0x408abe['toA1'](_0x4ff298);}}_0x2fba3f['FWorksheet']['extend'](_0x974fc9);class _0x4c360c extends _0x2fba3f[_0x2e6d5f(0x1c5)]{async[_0x2e6d5f(0x1cd)](){const _0x499cab=_0x2e6d5f,_0x468381=this[_0x499cab(0x1b2)][_0x499cab(0x1d0)](_0x104647[_0x499cab(0x19d)]),_0x5cd255=(({startRow:_0x56a809,endRow:_0x52d994,startColumn:_0x1963dd,endColumn:_0x5f0660})=>{const _0x146fd7=_0x499cab,_0x3e9b3c=[];for(let _0x1835b6=_0x56a809;_0x1835b6<=_0x52d994;_0x1835b6++){const _0x1ea28d=[];for(let _0x38858a=_0x1963dd;_0x38858a<=_0x5f0660;_0x38858a++)_0x1ea28d[_0x146fd7(0x1a8)](this['_worksheet'][_0x146fd7(0x1b0)](_0x1835b6,_0x38858a));_0x3e9b3c[_0x146fd7(0x1a8)](_0x1ea28d);}return _0x3e9b3c;})({'startRow':0x0,'endRow':this[_0x499cab(0x1a9)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x499cab(0x199)]()}),_0x130086=await _0x468381[_0x499cab(0x193)](_0x5cd255),_0x59f779=this[_0x499cab(0x197)](),_0x112f88=[];for(let _0x19984e=0x0;_0x19984e<_0x130086[_0x499cab(0x1c0)];_0x19984e++){const _0x548a57=_0x130086[_0x19984e],_0x32cd66=_0x548a57[_0x499cab(0x1cb)],_0x33556f=[];for(let _0x488320=0x0;_0x488320<_0x32cd66[_0x499cab(0x1c0)];_0x488320++){const _0x314758=_0x32cd66[_0x488320],_0x1df1b8=_0x67a8a[_0x499cab(0x1bd)](_0x314758,_0x59f779);_0x1df1b8&&_0x33556f[_0x499cab(0x1a8)](_0x1df1b8);}if(_0x33556f[_0x499cab(0x1c0)]>0x0){if(_0x548a57['filledRanges']=_0x33556f,!(_0x548a57[_0x499cab(0x1a4)][_0x499cab(0x1a0)]>=_0x59f779[_0x499cab(0x1a0)]&&_0x548a57[_0x499cab(0x1a4)][_0x499cab(0x1a0)]<=_0x59f779[_0x499cab(0x19f)]&&_0x548a57[_0x499cab(0x1a4)]['startColumn']>=_0x59f779['startColumn']&&_0x548a57[_0x499cab(0x1a4)]['startColumn']<=_0x59f779[_0x499cab(0x19c)])){const _0x3f3da1=_0x33556f[0x0],_0x32aae6=_0x3f3da1[_0x499cab(0x1a0)]-_0x548a57[_0x499cab(0x1a4)][_0x499cab(0x1a0)],_0x5a586f=_0x3f3da1[_0x499cab(0x194)]-_0x548a57[_0x499cab(0x1a4)][_0x499cab(0x194)];_0x548a57[_0x499cab(0x1a2)]=await _0x468381['moveFormulaRefOffset'](_0x548a57[_0x499cab(0x1a2)],_0x5a586f,_0x32aae6),_0x548a57['firstOccurrence']={'startRow':_0x3f3da1[_0x499cab(0x1a0)],'endRow':_0x3f3da1[_0x499cab(0x1a0)],'startColumn':_0x3f3da1[_0x499cab(0x194)],'endColumn':_0x3f3da1[_0x499cab(0x194)]};}_0x112f88[_0x499cab(0x1a8)](_0x548a57);}}return _0x112f88;}async[_0x2e6d5f(0x1c1)](){const _0xc32145=_0x2e6d5f;return(await this[_0xc32145(0x1cd)]())['map'](_0x104647['formulaToA1']);}[_0x2e6d5f(0x1c6)](_0x55539f){const _0x38d1c6=_0x2e6d5f,_0x25569d=this[_0x38d1c6(0x1b2)][_0x38d1c6(0x1d0)](_0x104647[_0x38d1c6(0x1ca)]),_0x413380=(({startRow:_0x3518f7,endRow:_0x1dc34e,startColumn:_0x40d3bb,endColumn:_0x457b1a})=>{const _0x5c2249=_0x38d1c6,_0x52760d=[];for(let _0x5160ae=_0x3518f7;_0x5160ae<=_0x1dc34e;_0x5160ae++){const _0x733030=[];for(let _0x297fbf=_0x40d3bb;_0x297fbf<=_0x457b1a;_0x297fbf++)_0x733030[_0x5c2249(0x1a8)](this['_worksheet'][_0x5c2249(0x1b0)](_0x5160ae,_0x297fbf));_0x52760d[_0x5c2249(0x1a8)](_0x733030);}return _0x52760d;})({'startRow':0x0,'endRow':this[_0x38d1c6(0x1a9)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x38d1c6(0x199)]()});_0x25569d['updateConfig'](_0x55539f);const _0x101c24=_0x25569d[_0x38d1c6(0x1be)](_0x413380,this[_0x38d1c6(0x1b6)],this[_0x38d1c6(0x1a9)]),_0x2f283b=this[_0x38d1c6(0x197)](),_0x1dcc88=[];for(let _0x7ef7e9=0x0;_0x7ef7e9<_0x101c24['length'];_0x7ef7e9++){const _0x5f521d=_0x101c24[_0x7ef7e9],_0x42a366=_0x5f521d[_0x38d1c6(0x1cb)],_0x2fd5eb=[];for(let _0x251703=0x0;_0x251703<_0x42a366[_0x38d1c6(0x1c0)];_0x251703++){const _0x45a30d=_0x42a366[_0x251703],_0x14667f=_0x67a8a[_0x38d1c6(0x1bd)](_0x45a30d,_0x2f283b);_0x14667f&&_0x2fd5eb[_0x38d1c6(0x1a8)](_0x14667f);}_0x2fd5eb[_0x38d1c6(0x1c0)]>0x0&&(_0x5f521d[_0x38d1c6(0x1cb)]=_0x2fd5eb,_0x1dcc88[_0x38d1c6(0x1a8)](_0x5f521d));}return _0x1dcc88;}[_0x2e6d5f(0x1af)](_0x42b005){const _0x3a94d7=_0x2e6d5f;return this[_0x3a94d7(0x1c6)](_0x42b005)[_0x3a94d7(0x196)](_0x104647[_0x3a94d7(0x1cf)]);}[_0x2e6d5f(0x1cc)](_0x379034){const _0x220ba7=_0x2e6d5f,_0xbe9719=this[_0x220ba7(0x1b2)]['get'](_0x104647[_0x220ba7(0x1b1)]),_0x1fe859=this[_0x220ba7(0x197)]();return _0xbe9719[_0x220ba7(0x1b7)](_0x379034),_0xbe9719[_0x220ba7(0x195)](this[_0x220ba7(0x1a9)],_0x1fe859[_0x220ba7(0x1a0)],_0x1fe859[_0x220ba7(0x19f)],_0x1fe859['startColumn'],_0x1fe859[_0x220ba7(0x19c)]);}[_0x2e6d5f(0x1c7)](_0x52893d){const _0x3bdaf2=_0x2e6d5f,_0xe87e16=this[_0x3bdaf2(0x1cc)](_0x52893d);return this['_injector'][_0x3bdaf2(0x1d0)](_0x104647[_0x3bdaf2(0x1b1)])[_0x3bdaf2(0x1c8)](_0xe87e16);}}_0x2fba3f[_0x2e6d5f(0x1c5)][_0x2e6d5f(0x19b)](_0x4c360c);}));
|