@univerjs-pro/sheets-mcp 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251212-6c41730
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 _0x1b38(_0x3183ee,_0x5961ec){_0x3183ee=_0x3183ee-0x1b5;const _0x51d057=_0x51d0();let _0x1b3847=_0x51d057[_0x3183ee];return _0x1b3847;}function _0x51d0(){const _0x56bd64=['278742EIVhLF','startRow','6BeUgIP','FUniver','_worksheet','758160PVmgNy','8yCrzWM','getAllFormulaUsages','@univerjs/sheets-data-validation/facade','UniverSheetsFormulaFacade','getRange','extend','UniverCoreFacade','191924mZuQIN','function','180922MuQAvU','length','map','450999zQABAb','firstOccurrence','@univerjs-pro/sheets-mcp','getAllDataValidationErrorAsync','getMaxColumns','getIntersectRange','toA1','930348YhjrhV','FWorkbook','UniverProSheetsMcp','20VycZkM','endColumn','push','getMaxRows','@univerjs/sheets-formula/facade','22930tQKnTp','filledRanges','get','@univerjs/core/facade','_injector','IFormulaUsageAnalyzer','FWorksheet','object','UniverSheetsFacade','getCellDataGrid','@univerjs/sheets/facade','getCellRaw','getFormulaUsages','getAllFormulaError','UniverSheetsDataValidationFacade','FRange','startColumn','getLintErrors','formula','getFormulaUsagesAsA1'];_0x51d0=function(){return _0x56bd64;};return _0x51d0();}(function(_0x20b52e,_0x39742a){const _0x4832c2=_0x1b38,_0xed78e7=_0x20b52e();while(!![]){try{const _0x4c4218=-parseInt(_0x4832c2(0x1e0))/0x1+-parseInt(_0x4832c2(0x1cc))/0x2*(-parseInt(_0x4832c2(0x1c1))/0x3)+-parseInt(_0x4832c2(0x1d8))/0x4+-parseInt(_0x4832c2(0x1db))/0x5*(-parseInt(_0x4832c2(0x1bf))/0x6)+-parseInt(_0x4832c2(0x1ce))/0x7*(-parseInt(_0x4832c2(0x1c5))/0x8)+parseInt(_0x4832c2(0x1d1))/0x9+-parseInt(_0x4832c2(0x1c4))/0xa;if(_0x4c4218===_0x39742a)break;else _0xed78e7['push'](_0xed78e7['shift']());}catch(_0x402ed3){_0xed78e7['push'](_0xed78e7['shift']());}}}(_0x51d0,0x1de08),function(_0x6da441,_0x47a8fd){const _0x3ab99d=_0x1b38;typeof exports==_0x3ab99d(0x1e7)&&typeof module<'u'?_0x47a8fd(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==_0x3ab99d(0x1cd)&&define['amd']?define([_0x3ab99d(0x1e3),_0x3ab99d(0x1df),_0x3ab99d(0x1c7),_0x3ab99d(0x1b5),_0x3ab99d(0x1d3),'@univerjs/core'],_0x47a8fd):(_0x6da441=typeof globalThis<'u'?globalThis:_0x6da441||self,_0x47a8fd(_0x6da441[_0x3ab99d(0x1cb)],_0x6da441[_0x3ab99d(0x1c8)],_0x6da441[_0x3ab99d(0x1b9)],_0x6da441[_0x3ab99d(0x1e8)],_0x6da441[_0x3ab99d(0x1da)],_0x6da441['UniverCore']));}(this,function(_0x4d57e3,_0xd08ce2,_0xaebbfc,_0x5e04e0,_0x453d21,_0x199ab8){'use strict';const _0x523960=_0x1b38;class _0x12cc67 extends _0x4d57e3[_0x523960(0x1c2)]{async[_0x523960(0x1bc)](){const _0x15e184=_0x523960;return this['getActiveWorkbook']()[_0x15e184(0x1bc)]();}}_0x4d57e3[_0x523960(0x1c2)][_0x523960(0x1ca)](_0x12cc67);class _0x4a73b3 extends _0x5e04e0[_0x523960(0x1d9)]{async['getLintErrors'](){const _0x35e559=_0x523960,_0x2edd4e=this[_0x35e559(0x1b8)](),_0xc87ffe=await this[_0x35e559(0x1d4)]();return{'formulaErrors':_0x2edd4e,'dataValidationErrors':_0xc87ffe};}}_0x5e04e0[_0x523960(0x1d9)][_0x523960(0x1ca)](_0x4a73b3);class _0x2336f9 extends _0x5e04e0[_0x523960(0x1e6)]{async['getFormulaUsages'](){const _0x1f1f8d=_0x523960,_0x17342d=this[_0x1f1f8d(0x1e4)][_0x1f1f8d(0x1e2)](_0x453d21['IFormulaUsageAnalyzer']),_0x163dff=this['getRange'](0x0,0x0,this[_0x1f1f8d(0x1de)]()+0x1,this[_0x1f1f8d(0x1d5)]()+0x1)[_0x1f1f8d(0x1e9)]();return await _0x17342d[_0x1f1f8d(0x1c6)](_0x163dff);}async[_0x523960(0x1be)](){const _0x217db4=_0x523960;return(await this['getFormulaUsages']())[_0x217db4(0x1d0)](_0x453d21[_0x217db4(0x1d7)]);}}_0x5e04e0[_0x523960(0x1e6)][_0x523960(0x1ca)](_0x2336f9);class _0xa8a928 extends _0x5e04e0[_0x523960(0x1ba)]{async['getFormulaUsages'](){const _0x388773=_0x523960,_0x197d05=this['_injector'][_0x388773(0x1e2)](_0x453d21[_0x388773(0x1e5)]),_0x141cd8=(({startRow:_0x3a03d2,endRow:_0x1c5490,startColumn:_0x36b1f8,endColumn:_0x566023})=>{const _0x1a7af6=_0x388773,_0x9df892=[];for(let _0x575995=_0x3a03d2;_0x575995<=_0x1c5490;_0x575995++){const _0x5ead3d=[];for(let _0x497b95=_0x36b1f8;_0x497b95<=_0x566023;_0x497b95++)_0x5ead3d[_0x1a7af6(0x1dd)](this[_0x1a7af6(0x1c3)][_0x1a7af6(0x1b6)](_0x575995,_0x497b95));_0x9df892[_0x1a7af6(0x1dd)](_0x5ead3d);}return _0x9df892;})({'startRow':0x0,'endRow':this['_worksheet'][_0x388773(0x1de)](),'startColumn':0x0,'endColumn':this[_0x388773(0x1c3)][_0x388773(0x1d5)]()}),_0xab32be=await _0x197d05[_0x388773(0x1c6)](_0x141cd8),_0x14f4d0=this[_0x388773(0x1c9)](),_0x483087=[];for(let _0x39bfaa=0x0;_0x39bfaa<_0xab32be['length'];_0x39bfaa++){const _0x236a3f=_0xab32be[_0x39bfaa],_0x345d5b=_0x236a3f[_0x388773(0x1e1)],_0x46e0a1=[];for(let _0x379f61=0x0;_0x379f61<_0x345d5b[_0x388773(0x1cf)];_0x379f61++){const _0x306142=_0x345d5b[_0x379f61],_0x40d7a2=_0x199ab8[_0x388773(0x1d6)](_0x306142,_0x14f4d0);_0x40d7a2&&_0x46e0a1[_0x388773(0x1dd)](_0x40d7a2);}if(_0x46e0a1[_0x388773(0x1cf)]>0x0){if(_0x236a3f['filledRanges']=_0x46e0a1,!(_0x236a3f[_0x388773(0x1d2)]['startRow']>=_0x14f4d0[_0x388773(0x1c0)]&&_0x236a3f['firstOccurrence'][_0x388773(0x1c0)]<=_0x14f4d0['endRow']&&_0x236a3f[_0x388773(0x1d2)][_0x388773(0x1bb)]>=_0x14f4d0[_0x388773(0x1bb)]&&_0x236a3f['firstOccurrence']['startColumn']<=_0x14f4d0[_0x388773(0x1dc)])){const _0x534a85=_0x46e0a1[0x0],_0xa9076f=_0x534a85[_0x388773(0x1c0)]-_0x236a3f[_0x388773(0x1d2)]['startRow'],_0x75d72f=_0x534a85['startColumn']-_0x236a3f[_0x388773(0x1d2)][_0x388773(0x1bb)];_0x236a3f[_0x388773(0x1bd)]=await _0x197d05['moveFormulaRefOffset'](_0x236a3f['formula'],_0x75d72f,_0xa9076f),_0x236a3f[_0x388773(0x1d2)]={'startRow':_0x534a85[_0x388773(0x1c0)],'endRow':_0x534a85['startRow'],'startColumn':_0x534a85[_0x388773(0x1bb)],'endColumn':_0x534a85[_0x388773(0x1bb)]};}_0x483087[_0x388773(0x1dd)](_0x236a3f);}}return _0x483087;}async[_0x523960(0x1be)](){const _0x1d8378=_0x523960;return(await this[_0x1d8378(0x1b7)]())[_0x1d8378(0x1d0)](_0x453d21[_0x1d8378(0x1d7)]);}}_0x5e04e0[_0x523960(0x1ba)][_0x523960(0x1ca)](_0xa8a928);}));
|