@univerjs-pro/sheets-mcp 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7
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 _0x4b3b(_0x5d2c50,_0x12be5d){_0x5d2c50=_0x5d2c50-0xb1;const _0x3e1ea7=_0x3e1e();let _0x4b3b3d=_0x3e1ea7[_0x5d2c50];return _0x4b3b3d;}function _0x3e1e(){const _0x2f16d1=['64ZmaZXK','startColumn','465IGfTIF','3239848LypbYe','7OKCZVf','getLintErrors','getCellDataGrid','length','moveFormulaRefOffset','9071XfUHFE','@univerjs/core/facade','getFormulaUsagesAsA1','map','@univerjs-pro/sheets-mcp','439777EDDQTx','firstOccurrence','FWorkbook','formula','9xiLCKJ','_injector','toA1','FRange','_worksheet','endColumn','getMaxColumns','24cYUUOi','object','getMaxRows','filledRanges','8183270NzKGYl','push','@univerjs/sheets-data-validation/facade','endRow','UniverSheetsFormulaFacade','getActiveWorkbook','300hqVFug','UniverProSheetsMcp','FUniver','getFormulaUsages','@univerjs/sheets-formula/facade','extend','UniverSheetsFacade','UniverCoreFacade','getAllFormulaError','startRow','function','858785XTDXOn','getAllDataValidationErrorAsync','1728sqVUhI','IFormulaUsageAnalyzer','getCellRaw','get','FWorksheet','getAllFormulaUsages','UniverCore','6118816aqQlJD','amd'];_0x3e1e=function(){return _0x2f16d1;};return _0x3e1e();}(function(_0x1fe2cf,_0x57516b){const _0x46f941=_0x4b3b,_0x3ec309=_0x1fe2cf();while(!![]){try{const _0x39191d=parseInt(_0x46f941(0xd8))/0x1*(-parseInt(_0x46f941(0xcf))/0x2)+-parseInt(_0x46f941(0xd1))/0x3*(parseInt(_0x46f941(0xc6))/0x4)+-parseInt(_0x46f941(0xc4))/0x5*(-parseInt(_0x46f941(0xe8))/0x6)+-parseInt(_0x46f941(0xd3))/0x7*(parseInt(_0x46f941(0xd2))/0x8)+parseInt(_0x46f941(0xe1))/0x9*(parseInt(_0x46f941(0xb3))/0xa)+parseInt(_0x46f941(0xcd))/0xb+-parseInt(_0x46f941(0xb9))/0xc*(parseInt(_0x46f941(0xdd))/0xd);if(_0x39191d===_0x57516b)break;else _0x3ec309['push'](_0x3ec309['shift']());}catch(_0x2069e9){_0x3ec309['push'](_0x3ec309['shift']());}}}(_0x3e1e,0x6ec29),function(_0x543725,_0x5e247b){const _0x1cd4a8=_0x4b3b;typeof exports==_0x1cd4a8(0xe9)&&typeof module<'u'?_0x5e247b(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==_0x1cd4a8(0xc3)&&define[_0x1cd4a8(0xce)]?define([_0x1cd4a8(0xd9),_0x1cd4a8(0xbd),_0x1cd4a8(0xb5),'@univerjs/sheets/facade',_0x1cd4a8(0xdc),'@univerjs/core'],_0x5e247b):(_0x543725=typeof globalThis<'u'?globalThis:_0x543725||self,_0x5e247b(_0x543725[_0x1cd4a8(0xc0)],_0x543725[_0x1cd4a8(0xb7)],_0x543725['UniverSheetsDataValidationFacade'],_0x543725[_0x1cd4a8(0xbf)],_0x543725[_0x1cd4a8(0xba)],_0x543725[_0x1cd4a8(0xcc)]));}(this,function(_0x5a71f9,_0x469859,_0x555e77,_0x3433f2,_0x2f14df,_0x203b03){'use strict';const _0x4eb8a3=_0x4b3b;class _0x4f8226 extends _0x5a71f9[_0x4eb8a3(0xbb)]{async[_0x4eb8a3(0xd4)](){const _0x529a61=_0x4eb8a3;return this[_0x529a61(0xb8)]()['getLintErrors']();}}_0x5a71f9['FUniver']['extend'](_0x4f8226);class _0x1c1643 extends _0x3433f2[_0x4eb8a3(0xdf)]{async[_0x4eb8a3(0xd4)](){const _0x3b3c24=_0x4eb8a3,_0x411c5d=this[_0x3b3c24(0xc1)](),_0x18c37c=await this[_0x3b3c24(0xc5)]();return{'formulaErrors':_0x411c5d,'dataValidationErrors':_0x18c37c};}}_0x3433f2['FWorkbook'][_0x4eb8a3(0xbe)](_0x1c1643);class _0x2699af extends _0x3433f2['FWorksheet']{async[_0x4eb8a3(0xbc)](){const _0x3a7e49=_0x4eb8a3,_0x3086aa=this[_0x3a7e49(0xe2)]['get'](_0x2f14df[_0x3a7e49(0xc7)]),_0x10c384=this['getRange'](0x0,0x0,this[_0x3a7e49(0xb1)]()+0x1,this['getMaxColumns']()+0x1)[_0x3a7e49(0xd5)]();return await _0x3086aa[_0x3a7e49(0xcb)](_0x10c384);}async['getFormulaUsagesAsA1'](){const _0x4aefeb=_0x4eb8a3;return(await this[_0x4aefeb(0xbc)]())['map'](_0x2f14df[_0x4aefeb(0xe3)]);}}_0x3433f2[_0x4eb8a3(0xca)][_0x4eb8a3(0xbe)](_0x2699af);class _0x111dd4 extends _0x3433f2[_0x4eb8a3(0xe4)]{async[_0x4eb8a3(0xbc)](){const _0x14bb28=_0x4eb8a3,_0x7ff008=this['_injector'][_0x14bb28(0xc9)](_0x2f14df[_0x14bb28(0xc7)]),_0x5c8538=(({startRow:_0x4840ba,endRow:_0x2d527e,startColumn:_0x387a33,endColumn:_0x266dee})=>{const _0x21b0c4=_0x14bb28,_0x1c4d17=[];for(let _0x9e192b=_0x4840ba;_0x9e192b<=_0x2d527e;_0x9e192b++){const _0x17f5ec=[];for(let _0x35a8d0=_0x387a33;_0x35a8d0<=_0x266dee;_0x35a8d0++)_0x17f5ec[_0x21b0c4(0xb4)](this[_0x21b0c4(0xe5)][_0x21b0c4(0xc8)](_0x9e192b,_0x35a8d0));_0x1c4d17[_0x21b0c4(0xb4)](_0x17f5ec);}return _0x1c4d17;})({'startRow':0x0,'endRow':this[_0x14bb28(0xe5)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x14bb28(0xe7)]()}),_0x26f46c=await _0x7ff008[_0x14bb28(0xcb)](_0x5c8538),_0x18c3d4=this['getRange'](),_0x470319=[];for(let _0x424057=0x0;_0x424057<_0x26f46c[_0x14bb28(0xd6)];_0x424057++){const _0x362139=_0x26f46c[_0x424057],_0x4a48d1=_0x362139['filledRanges'],_0x53c5f6=[];for(let _0x40ec72=0x0;_0x40ec72<_0x4a48d1[_0x14bb28(0xd6)];_0x40ec72++){const _0x442821=_0x4a48d1[_0x40ec72],_0x19a200=_0x203b03['getIntersectRange'](_0x442821,_0x18c3d4);_0x19a200&&_0x53c5f6['push'](_0x19a200);}if(_0x53c5f6[_0x14bb28(0xd6)]>0x0){if(_0x362139[_0x14bb28(0xb2)]=_0x53c5f6,!(_0x362139[_0x14bb28(0xde)]['startRow']>=_0x18c3d4[_0x14bb28(0xc2)]&&_0x362139[_0x14bb28(0xde)][_0x14bb28(0xc2)]<=_0x18c3d4[_0x14bb28(0xb6)]&&_0x362139[_0x14bb28(0xde)][_0x14bb28(0xd0)]>=_0x18c3d4[_0x14bb28(0xd0)]&&_0x362139['firstOccurrence'][_0x14bb28(0xd0)]<=_0x18c3d4[_0x14bb28(0xe6)])){const _0x173c28=_0x53c5f6[0x0],_0x7c5f08=_0x173c28[_0x14bb28(0xc2)]-_0x362139[_0x14bb28(0xde)][_0x14bb28(0xc2)],_0x3bcecb=_0x173c28[_0x14bb28(0xd0)]-_0x362139['firstOccurrence'][_0x14bb28(0xd0)];_0x362139['formula']=await _0x7ff008[_0x14bb28(0xd7)](_0x362139[_0x14bb28(0xe0)],_0x3bcecb,_0x7c5f08),_0x362139[_0x14bb28(0xde)]={'startRow':_0x173c28[_0x14bb28(0xc2)],'endRow':_0x173c28[_0x14bb28(0xc2)],'startColumn':_0x173c28[_0x14bb28(0xd0)],'endColumn':_0x173c28[_0x14bb28(0xd0)]};}_0x470319[_0x14bb28(0xb4)](_0x362139);}}return _0x470319;}async[_0x4eb8a3(0xda)](){const _0x54e3cd=_0x4eb8a3;return(await this['getFormulaUsages']())[_0x54e3cd(0xdb)](_0x2f14df[_0x54e3cd(0xe3)]);}}_0x3433f2[_0x4eb8a3(0xe4)]['extend'](_0x111dd4);}));
|