@univerjs-pro/sheets-mcp 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
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 _0x2860(_0x1e14b6,_0x4e8cab){_0x1e14b6=_0x1e14b6-0x10b;const _0x4b9c62=_0x4b9c();let _0x286094=_0x4b9c62[_0x1e14b6];return _0x286094;}function _0x4b9c(){const _0x38a42a=['getCellDataGrid','formulaToA1','filledRanges','getMaxRows','FRange','toA1','1495000bkzZvY','_workbook','endColumn','getLintErrors','startRow','35085DLQlBt','startColumn','getMaxColumns','4GOgfoH','getStyleUsages','ISizeUsageAnalyzer','320ZiSDlV','27541rrNZSX','UniverProSheetsMcp','amd','_worksheet','getActiveWorkbook','getAllFormulaUsages','IFormulaUsageAnalyzer','getSizeUsages','getAllFormulaError','getRange','formula','FUniver','styleToA1','24wDZrdZ','length','@univerjs/core','updateConfig','getCellRaw','FWorksheet','getStyleUsagesAsA1','821722FijSmZ','@univerjs/core/facade','push','getSizeUsagesAsA1','42ZxUeAt','2886248odVqnc','FWorkbook','object','195381kPuJtj','get','_injector','firstOccurrence','endRow','getFormulaUsagesAsA1','getIntersectRange','moveFormulaRefOffset','getAllStyleUsages','IStyleUsageAnalyzer','getAllDataValidationErrorAsync','getFormulaUsages','UniverSheetsDataValidationFacade','UniverSheetsFormulaFacade','extend','map','getAllSizeUsages','UniverSheetsFacade','function','710871TDAhpf'];_0x4b9c=function(){return _0x38a42a;};return _0x4b9c();}(function(_0x1e3b0c,_0x5c5647){const _0x2b4e72=_0x2860,_0xe16edb=_0x1e3b0c();while(!![]){try{const _0x454dea=parseInt(_0x2b4e72(0x13d))/0x1*(-parseInt(_0x2b4e72(0x113))/0x2)+parseInt(_0x2b4e72(0x136))/0x3*(-parseInt(_0x2b4e72(0x139))/0x4)+parseInt(_0x2b4e72(0x131))/0x5+parseInt(_0x2b4e72(0x14a))/0x6*(-parseInt(_0x2b4e72(0x12a))/0x7)+parseInt(_0x2b4e72(0x114))/0x8+parseInt(_0x2b4e72(0x117))/0x9*(parseInt(_0x2b4e72(0x13c))/0xa)+parseInt(_0x2b4e72(0x10f))/0xb;if(_0x454dea===_0x5c5647)break;else _0xe16edb['push'](_0xe16edb['shift']());}catch(_0x43f102){_0xe16edb['push'](_0xe16edb['shift']());}}}(_0x4b9c,0x69b07),function(_0x134cd9,_0x115b6a){const _0x25c1b7=_0x2860;typeof exports==_0x25c1b7(0x116)&&typeof module<'u'?_0x115b6a(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==_0x25c1b7(0x129)&&define[_0x25c1b7(0x13f)]?define([_0x25c1b7(0x110),'@univerjs/sheets-formula/facade','@univerjs/sheets-data-validation/facade','@univerjs/sheets/facade','@univerjs-pro/sheets-mcp',_0x25c1b7(0x14c)],_0x115b6a):(_0x134cd9=typeof globalThis<'u'?globalThis:_0x134cd9||self,_0x115b6a(_0x134cd9['UniverCoreFacade'],_0x134cd9[_0x25c1b7(0x124)],_0x134cd9[_0x25c1b7(0x123)],_0x134cd9[_0x25c1b7(0x128)],_0x134cd9[_0x25c1b7(0x13e)],_0x134cd9['UniverCore']));}(this,function(_0x443b06,_0x48502c,_0x2069f6,_0x5d352c,_0x5d1d26,_0x447512){'use strict';const _0x243ac1=_0x2860;class _0x4522be extends _0x443b06[_0x243ac1(0x148)]{async[_0x243ac1(0x134)](){const _0xb87177=_0x243ac1;return this[_0xb87177(0x141)]()['getLintErrors']();}}_0x443b06[_0x243ac1(0x148)][_0x243ac1(0x125)](_0x4522be);class _0x131ced extends _0x5d352c[_0x243ac1(0x115)]{async[_0x243ac1(0x134)](){const _0x1fa4f5=_0x243ac1,_0x395fe3=this[_0x1fa4f5(0x145)](),_0x63eeae=await this[_0x1fa4f5(0x121)]();return{'formulaErrors':_0x395fe3,'dataValidationErrors':_0x63eeae};}}_0x5d352c[_0x243ac1(0x115)][_0x243ac1(0x125)](_0x131ced);class _0x4f6b06 extends _0x5d352c[_0x243ac1(0x10d)]{async[_0x243ac1(0x122)](){const _0x59927f=_0x243ac1,_0x289ca4=this[_0x59927f(0x119)][_0x59927f(0x118)](_0x5d1d26[_0x59927f(0x143)]),_0x1774ed=this['getRange'](0x0,0x0,this[_0x59927f(0x12e)](),this['getMaxColumns']())[_0x59927f(0x12b)]();return await _0x289ca4[_0x59927f(0x142)](_0x1774ed);}async['getFormulaUsagesAsA1'](){const _0x5512db=_0x243ac1;return(await this['getFormulaUsages']())[_0x5512db(0x126)](_0x5d1d26[_0x5512db(0x12c)]);}['getStyleUsages'](_0x562d1f){const _0x4326f0=_0x243ac1,_0x309f50=this['_injector'][_0x4326f0(0x118)](_0x5d1d26[_0x4326f0(0x120)]),_0x2b6233=this[_0x4326f0(0x146)](0x0,0x0,this[_0x4326f0(0x12e)](),this[_0x4326f0(0x138)]())[_0x4326f0(0x12b)]();return _0x309f50[_0x4326f0(0x10b)](_0x562d1f),_0x309f50[_0x4326f0(0x11f)](_0x2b6233,this[_0x4326f0(0x132)],this[_0x4326f0(0x140)]);}[_0x243ac1(0x10e)](_0x1ffb83){const _0x126b4e=_0x243ac1;return this['getStyleUsages'](_0x1ffb83)[_0x126b4e(0x126)](_0x5d1d26[_0x126b4e(0x149)]);}[_0x243ac1(0x144)](_0x39fbe1){const _0x5ac8bb=_0x243ac1,_0x2f4874=this[_0x5ac8bb(0x119)]['get'](_0x5d1d26[_0x5ac8bb(0x13b)]);return _0x2f4874['updateConfig'](_0x39fbe1),_0x2f4874[_0x5ac8bb(0x127)](this[_0x5ac8bb(0x140)]);}[_0x243ac1(0x112)](_0x1204fb){const _0xce730e=_0x243ac1,_0x18bb57=this[_0xce730e(0x119)][_0xce730e(0x118)](_0x5d1d26[_0xce730e(0x13b)]);_0x18bb57[_0xce730e(0x10b)](_0x1204fb);const _0x33ae7a=_0x18bb57[_0xce730e(0x127)](this['_worksheet']);return _0x18bb57['toA1'](_0x33ae7a);}}_0x5d352c[_0x243ac1(0x10d)][_0x243ac1(0x125)](_0x4f6b06);class _0x5707e6 extends _0x5d352c[_0x243ac1(0x12f)]{async[_0x243ac1(0x122)](){const _0x3235ec=_0x243ac1,_0x5a550e=this['_injector'][_0x3235ec(0x118)](_0x5d1d26[_0x3235ec(0x143)]),_0x46447c=(({startRow:_0x5004a6,endRow:_0x1d9ec8,startColumn:_0x44b81d,endColumn:_0x41c4f4})=>{const _0x41f920=_0x3235ec,_0x1d45fb=[];for(let _0x3bd746=_0x5004a6;_0x3bd746<=_0x1d9ec8;_0x3bd746++){const _0x19a401=[];for(let _0x525da9=_0x44b81d;_0x525da9<=_0x41c4f4;_0x525da9++)_0x19a401['push'](this['_worksheet'][_0x41f920(0x10c)](_0x3bd746,_0x525da9));_0x1d45fb[_0x41f920(0x111)](_0x19a401);}return _0x1d45fb;})({'startRow':0x0,'endRow':this[_0x3235ec(0x140)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x3235ec(0x140)][_0x3235ec(0x138)]()}),_0x5ac81c=await _0x5a550e[_0x3235ec(0x142)](_0x46447c),_0x57b492=this['getRange'](),_0x468b0a=[];for(let _0x87a1ab=0x0;_0x87a1ab<_0x5ac81c[_0x3235ec(0x14b)];_0x87a1ab++){const _0x2b79b1=_0x5ac81c[_0x87a1ab],_0x63e744=_0x2b79b1[_0x3235ec(0x12d)],_0x1009fd=[];for(let _0xb14f41=0x0;_0xb14f41<_0x63e744[_0x3235ec(0x14b)];_0xb14f41++){const _0x33efb7=_0x63e744[_0xb14f41],_0x4d07a=_0x447512['getIntersectRange'](_0x33efb7,_0x57b492);_0x4d07a&&_0x1009fd[_0x3235ec(0x111)](_0x4d07a);}if(_0x1009fd[_0x3235ec(0x14b)]>0x0){if(_0x2b79b1['filledRanges']=_0x1009fd,!(_0x2b79b1[_0x3235ec(0x11a)][_0x3235ec(0x135)]>=_0x57b492[_0x3235ec(0x135)]&&_0x2b79b1[_0x3235ec(0x11a)][_0x3235ec(0x135)]<=_0x57b492[_0x3235ec(0x11b)]&&_0x2b79b1[_0x3235ec(0x11a)][_0x3235ec(0x137)]>=_0x57b492[_0x3235ec(0x137)]&&_0x2b79b1[_0x3235ec(0x11a)]['startColumn']<=_0x57b492[_0x3235ec(0x133)])){const _0x22821c=_0x1009fd[0x0],_0x493515=_0x22821c['startRow']-_0x2b79b1['firstOccurrence'][_0x3235ec(0x135)],_0x2b08a5=_0x22821c['startColumn']-_0x2b79b1[_0x3235ec(0x11a)][_0x3235ec(0x137)];_0x2b79b1[_0x3235ec(0x147)]=await _0x5a550e[_0x3235ec(0x11e)](_0x2b79b1['formula'],_0x2b08a5,_0x493515),_0x2b79b1[_0x3235ec(0x11a)]={'startRow':_0x22821c['startRow'],'endRow':_0x22821c[_0x3235ec(0x135)],'startColumn':_0x22821c[_0x3235ec(0x137)],'endColumn':_0x22821c[_0x3235ec(0x137)]};}_0x468b0a['push'](_0x2b79b1);}}return _0x468b0a;}async[_0x243ac1(0x11c)](){const _0x1c6384=_0x243ac1;return(await this[_0x1c6384(0x122)]())['map'](_0x5d1d26['formulaToA1']);}[_0x243ac1(0x13a)](_0x3a6fa4){const _0x4f885c=_0x243ac1,_0xecd277=this[_0x4f885c(0x119)]['get'](_0x5d1d26['IStyleUsageAnalyzer']),_0x16a91e=(({startRow:_0x31efa0,endRow:_0x4237e0,startColumn:_0x2c5375,endColumn:_0x52a29d})=>{const _0x1eac71=_0x4f885c,_0x1c489c=[];for(let _0x1c5e5f=_0x31efa0;_0x1c5e5f<=_0x4237e0;_0x1c5e5f++){const _0x1959f4=[];for(let _0x476a40=_0x2c5375;_0x476a40<=_0x52a29d;_0x476a40++)_0x1959f4[_0x1eac71(0x111)](this[_0x1eac71(0x140)]['getCellRaw'](_0x1c5e5f,_0x476a40));_0x1c489c[_0x1eac71(0x111)](_0x1959f4);}return _0x1c489c;})({'startRow':0x0,'endRow':this['_worksheet'][_0x4f885c(0x12e)](),'startColumn':0x0,'endColumn':this[_0x4f885c(0x140)][_0x4f885c(0x138)]()});_0xecd277[_0x4f885c(0x10b)](_0x3a6fa4);const _0x4e96d7=_0xecd277[_0x4f885c(0x11f)](_0x16a91e,this[_0x4f885c(0x132)],this[_0x4f885c(0x140)]),_0x437ee9=this[_0x4f885c(0x146)](),_0x4440a2=[];for(let _0x298f6d=0x0;_0x298f6d<_0x4e96d7[_0x4f885c(0x14b)];_0x298f6d++){const _0x17a1f6=_0x4e96d7[_0x298f6d],_0xddddf6=_0x17a1f6[_0x4f885c(0x12d)],_0xfa773=[];for(let _0x305890=0x0;_0x305890<_0xddddf6[_0x4f885c(0x14b)];_0x305890++){const _0x26d683=_0xddddf6[_0x305890],_0x3952a8=_0x447512[_0x4f885c(0x11d)](_0x26d683,_0x437ee9);_0x3952a8&&_0xfa773['push'](_0x3952a8);}_0xfa773[_0x4f885c(0x14b)]>0x0&&(_0x17a1f6['filledRanges']=_0xfa773,_0x4440a2[_0x4f885c(0x111)](_0x17a1f6));}return _0x4440a2;}[_0x243ac1(0x10e)](_0xe7588f){const _0x2f9a55=_0x243ac1;return this[_0x2f9a55(0x13a)](_0xe7588f)[_0x2f9a55(0x126)](_0x5d1d26[_0x2f9a55(0x149)]);}[_0x243ac1(0x144)](_0x3648f4){const _0x2a7214=_0x243ac1,_0x3261e0=this[_0x2a7214(0x119)][_0x2a7214(0x118)](_0x5d1d26['ISizeUsageAnalyzer']),_0x1f0f68=this[_0x2a7214(0x146)]();return _0x3261e0[_0x2a7214(0x10b)](_0x3648f4),_0x3261e0[_0x2a7214(0x127)](this[_0x2a7214(0x140)],_0x1f0f68[_0x2a7214(0x135)],_0x1f0f68[_0x2a7214(0x11b)],_0x1f0f68['startColumn'],_0x1f0f68[_0x2a7214(0x133)]);}[_0x243ac1(0x112)](_0x51deea){const _0x5750c2=_0x243ac1,_0x483ff3=this[_0x5750c2(0x144)](_0x51deea);return this['_injector'][_0x5750c2(0x118)](_0x5d1d26[_0x5750c2(0x13b)])[_0x5750c2(0x130)](_0x483ff3);}}_0x5d352c[_0x243ac1(0x12f)][_0x243ac1(0x125)](_0x5707e6);}));
|