@univerjs-pro/sheets-mcp 0.15.1 → 0.15.2-insiders.20260119-edc718c
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 _0x3223(_0xcfdbc5,_0x2e1c23){_0xcfdbc5=_0xcfdbc5-0xef;const _0x286709=_0x2867();let _0x322303=_0x286709[_0xcfdbc5];return _0x322303;}function _0x2867(){const _0x4b58bd=['5152790LjARKb','getStyleUsagesAsA1','UniverSheetsFacade','formula','filledRanges','_worksheet','FRange','function','ISizeUsageAnalyzer','1329191tFHuEz','endColumn','moveFormulaRefOffset','8461845SnnhvK','firstOccurrence','extend','getMaxRows','getLintErrors','getAllFormulaUsages','formulaToA1','getActiveWorkbook','1618580AwGSyy','styleToA1','object','getAllStyleUsages','updateConfig','length','getFormulaUsages','@univerjs/core','87930XxzNIO','map','_workbook','getCellDataGrid','162gKruDN','@univerjs-pro/sheets-mcp','startColumn','1879440oaISEp','UniverSheetsDataValidationFacade','getAllDataValidationErrorAsync','get','push','getMaxColumns','IFormulaUsageAnalyzer','FUniver','UniverCore','@univerjs/sheets-data-validation/facade','6eCwhXX','getAllSizeUsages','_injector','getSizeUsages','UniverProSheetsMcp','FWorkbook','getCellRaw','getRange','getStyleUsages','FWorksheet','getFormulaUsagesAsA1','IStyleUsageAnalyzer','getIntersectRange','298792XKbhof','6NgFoBq','startRow','toA1'];_0x2867=function(){return _0x4b58bd;};return _0x2867();}(function(_0x218b0f,_0xc94d11){const _0x8c4c81=_0x3223,_0x1dc586=_0x218b0f();while(!![]){try{const _0x2b2cb7=parseInt(_0x8c4c81(0x10e))/0x1+-parseInt(_0x8c4c81(0x119))/0x2*(-parseInt(_0x8c4c81(0xf4))/0x3)+parseInt(_0x8c4c81(0x128))/0x4+-parseInt(_0x8c4c81(0x105))/0x5*(parseInt(_0x8c4c81(0x102))/0x6)+-parseInt(_0x8c4c81(0x111))/0x7+-parseInt(_0x8c4c81(0x101))/0x8+parseInt(_0x8c4c81(0x125))/0x9*(-parseInt(_0x8c4c81(0x121))/0xa);if(_0x2b2cb7===_0xc94d11)break;else _0x1dc586['push'](_0x1dc586['shift']());}catch(_0x140c2b){_0x1dc586['push'](_0x1dc586['shift']());}}}(_0x2867,0xefe57),function(_0x4e9c66,_0x152712){const _0x2ef33e=_0x3223;typeof exports==_0x2ef33e(0x11b)&&typeof module<'u'?_0x152712(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==_0x2ef33e(0x10c)&&define['amd']?define(['@univerjs/core/facade','@univerjs/sheets-formula/facade',_0x2ef33e(0xf3),'@univerjs/sheets/facade',_0x2ef33e(0x126),_0x2ef33e(0x120)],_0x152712):(_0x4e9c66=typeof globalThis<'u'?globalThis:_0x4e9c66||self,_0x152712(_0x4e9c66['UniverCoreFacade'],_0x4e9c66['UniverSheetsFormulaFacade'],_0x4e9c66[_0x2ef33e(0x129)],_0x4e9c66[_0x2ef33e(0x107)],_0x4e9c66[_0x2ef33e(0xf8)],_0x4e9c66[_0x2ef33e(0xf2)]));}(this,function(_0x1a662c,_0x504bb2,_0x474806,_0x540dab,_0x5591f8,_0x8b05d0){'use strict';const _0x3f1a98=_0x3223;class _0x38ecc1 extends _0x1a662c[_0x3f1a98(0xf1)]{async[_0x3f1a98(0x115)](){const _0x5b8da3=_0x3f1a98;return this[_0x5b8da3(0x118)]()[_0x5b8da3(0x115)]();}}_0x1a662c[_0x3f1a98(0xf1)][_0x3f1a98(0x113)](_0x38ecc1);class _0x197e3d extends _0x540dab['FWorkbook']{async[_0x3f1a98(0x115)](){const _0x5090b6=_0x3f1a98,_0x57660b=this['getAllFormulaError'](),_0x3b928c=await this[_0x5090b6(0x12a)]();return{'formulaErrors':_0x57660b,'dataValidationErrors':_0x3b928c};}}_0x540dab[_0x3f1a98(0xf9)]['extend'](_0x197e3d);class _0x2b8ea2 extends _0x540dab['FWorksheet']{async[_0x3f1a98(0x11f)](){const _0x492ba8=_0x3f1a98,_0x38d494=this[_0x492ba8(0xf6)][_0x492ba8(0x12b)](_0x5591f8[_0x492ba8(0xf0)]),_0x3e63b2=this['getRange'](0x0,0x0,this[_0x492ba8(0x114)](),this[_0x492ba8(0xef)]())[_0x492ba8(0x124)]();return await _0x38d494[_0x492ba8(0x116)](_0x3e63b2);}async['getFormulaUsagesAsA1'](){const _0x4e4510=_0x3f1a98;return(await this[_0x4e4510(0x11f)]())[_0x4e4510(0x122)](_0x5591f8[_0x4e4510(0x117)]);}[_0x3f1a98(0xfc)](_0x18ff55){const _0x4acf5d=_0x3f1a98,_0x2ea065=this['_injector'][_0x4acf5d(0x12b)](_0x5591f8[_0x4acf5d(0xff)]),_0x22f2d7=this[_0x4acf5d(0xfb)](0x0,0x0,this[_0x4acf5d(0x114)](),this[_0x4acf5d(0xef)]())['getCellDataGrid']();return _0x2ea065[_0x4acf5d(0x11d)](_0x18ff55),_0x2ea065[_0x4acf5d(0x11c)](_0x22f2d7,this['_workbook'],this[_0x4acf5d(0x10a)]);}[_0x3f1a98(0x106)](_0x1e7c68){const _0x4ee0fe=_0x3f1a98;return this['getStyleUsages'](_0x1e7c68)[_0x4ee0fe(0x122)](_0x5591f8[_0x4ee0fe(0x11a)]);}['getSizeUsages'](_0x5d4007){const _0xac2e1c=_0x3f1a98,_0x4c16e6=this[_0xac2e1c(0xf6)][_0xac2e1c(0x12b)](_0x5591f8[_0xac2e1c(0x10d)]);return _0x4c16e6[_0xac2e1c(0x11d)](_0x5d4007),_0x4c16e6[_0xac2e1c(0xf5)](this[_0xac2e1c(0x10a)]);}['getSizeUsagesAsA1'](_0x2dbb0c){const _0x47d6aa=_0x3f1a98,_0x38e644=this[_0x47d6aa(0xf6)][_0x47d6aa(0x12b)](_0x5591f8[_0x47d6aa(0x10d)]);_0x38e644['updateConfig'](_0x2dbb0c);const _0x16024a=_0x38e644[_0x47d6aa(0xf5)](this[_0x47d6aa(0x10a)]);return _0x38e644['toA1'](_0x16024a);}}_0x540dab[_0x3f1a98(0xfd)][_0x3f1a98(0x113)](_0x2b8ea2);class _0x417912 extends _0x540dab[_0x3f1a98(0x10b)]{async[_0x3f1a98(0x11f)](){const _0x4e60be=_0x3f1a98,_0x14f774=this[_0x4e60be(0xf6)][_0x4e60be(0x12b)](_0x5591f8[_0x4e60be(0xf0)]),_0x58eb9b=(({startRow:_0x49f9e7,endRow:_0x45ced8,startColumn:_0x5cc6ca,endColumn:_0x138e9f})=>{const _0x34cefb=_0x4e60be,_0x5899ca=[];for(let _0x8cf92=_0x49f9e7;_0x8cf92<=_0x45ced8;_0x8cf92++){const _0x54c443=[];for(let _0x511fbc=_0x5cc6ca;_0x511fbc<=_0x138e9f;_0x511fbc++)_0x54c443['push'](this[_0x34cefb(0x10a)][_0x34cefb(0xfa)](_0x8cf92,_0x511fbc));_0x5899ca['push'](_0x54c443);}return _0x5899ca;})({'startRow':0x0,'endRow':this[_0x4e60be(0x10a)][_0x4e60be(0x114)](),'startColumn':0x0,'endColumn':this[_0x4e60be(0x10a)][_0x4e60be(0xef)]()}),_0x2a9936=await _0x14f774[_0x4e60be(0x116)](_0x58eb9b),_0x2a2393=this[_0x4e60be(0xfb)](),_0x43bf8b=[];for(let _0x10fac1=0x0;_0x10fac1<_0x2a9936[_0x4e60be(0x11e)];_0x10fac1++){const _0x2020f8=_0x2a9936[_0x10fac1],_0x55eb78=_0x2020f8[_0x4e60be(0x109)],_0x3c9481=[];for(let _0x5d4c2a=0x0;_0x5d4c2a<_0x55eb78[_0x4e60be(0x11e)];_0x5d4c2a++){const _0x4866b2=_0x55eb78[_0x5d4c2a],_0x1c42b4=_0x8b05d0[_0x4e60be(0x100)](_0x4866b2,_0x2a2393);_0x1c42b4&&_0x3c9481['push'](_0x1c42b4);}if(_0x3c9481[_0x4e60be(0x11e)]>0x0){if(_0x2020f8['filledRanges']=_0x3c9481,!(_0x2020f8[_0x4e60be(0x112)][_0x4e60be(0x103)]>=_0x2a2393[_0x4e60be(0x103)]&&_0x2020f8[_0x4e60be(0x112)][_0x4e60be(0x103)]<=_0x2a2393['endRow']&&_0x2020f8[_0x4e60be(0x112)][_0x4e60be(0x127)]>=_0x2a2393[_0x4e60be(0x127)]&&_0x2020f8[_0x4e60be(0x112)][_0x4e60be(0x127)]<=_0x2a2393[_0x4e60be(0x10f)])){const _0x24182b=_0x3c9481[0x0],_0xc413a4=_0x24182b['startRow']-_0x2020f8['firstOccurrence'][_0x4e60be(0x103)],_0x2bb12a=_0x24182b[_0x4e60be(0x127)]-_0x2020f8[_0x4e60be(0x112)][_0x4e60be(0x127)];_0x2020f8[_0x4e60be(0x108)]=await _0x14f774[_0x4e60be(0x110)](_0x2020f8[_0x4e60be(0x108)],_0x2bb12a,_0xc413a4),_0x2020f8['firstOccurrence']={'startRow':_0x24182b[_0x4e60be(0x103)],'endRow':_0x24182b[_0x4e60be(0x103)],'startColumn':_0x24182b[_0x4e60be(0x127)],'endColumn':_0x24182b[_0x4e60be(0x127)]};}_0x43bf8b[_0x4e60be(0x12c)](_0x2020f8);}}return _0x43bf8b;}async[_0x3f1a98(0xfe)](){const _0x2bd443=_0x3f1a98;return(await this[_0x2bd443(0x11f)]())[_0x2bd443(0x122)](_0x5591f8[_0x2bd443(0x117)]);}['getStyleUsages'](_0x4adb62){const _0x1418e5=_0x3f1a98,_0x183522=this[_0x1418e5(0xf6)][_0x1418e5(0x12b)](_0x5591f8[_0x1418e5(0xff)]),_0x3ad212=(({startRow:_0x441516,endRow:_0x28eee9,startColumn:_0xb0f466,endColumn:_0x4aa638})=>{const _0x3545f2=_0x1418e5,_0x509f18=[];for(let _0x523f26=_0x441516;_0x523f26<=_0x28eee9;_0x523f26++){const _0x1ec8f8=[];for(let _0x41253d=_0xb0f466;_0x41253d<=_0x4aa638;_0x41253d++)_0x1ec8f8[_0x3545f2(0x12c)](this['_worksheet'][_0x3545f2(0xfa)](_0x523f26,_0x41253d));_0x509f18[_0x3545f2(0x12c)](_0x1ec8f8);}return _0x509f18;})({'startRow':0x0,'endRow':this['_worksheet'][_0x1418e5(0x114)](),'startColumn':0x0,'endColumn':this[_0x1418e5(0x10a)]['getMaxColumns']()});_0x183522[_0x1418e5(0x11d)](_0x4adb62);const _0x15f66f=_0x183522[_0x1418e5(0x11c)](_0x3ad212,this[_0x1418e5(0x123)],this[_0x1418e5(0x10a)]),_0x4e3d98=this[_0x1418e5(0xfb)](),_0xc9cc9a=[];for(let _0x36e4bf=0x0;_0x36e4bf<_0x15f66f[_0x1418e5(0x11e)];_0x36e4bf++){const _0x9673bb=_0x15f66f[_0x36e4bf],_0x58ca26=_0x9673bb['filledRanges'],_0x1d4694=[];for(let _0x517727=0x0;_0x517727<_0x58ca26[_0x1418e5(0x11e)];_0x517727++){const _0x332252=_0x58ca26[_0x517727],_0x4dbdda=_0x8b05d0[_0x1418e5(0x100)](_0x332252,_0x4e3d98);_0x4dbdda&&_0x1d4694[_0x1418e5(0x12c)](_0x4dbdda);}_0x1d4694[_0x1418e5(0x11e)]>0x0&&(_0x9673bb['filledRanges']=_0x1d4694,_0xc9cc9a[_0x1418e5(0x12c)](_0x9673bb));}return _0xc9cc9a;}[_0x3f1a98(0x106)](_0x1a132b){const _0x49cd96=_0x3f1a98;return this[_0x49cd96(0xfc)](_0x1a132b)[_0x49cd96(0x122)](_0x5591f8[_0x49cd96(0x11a)]);}[_0x3f1a98(0xf7)](_0x51818a){const _0x15eb46=_0x3f1a98,_0xfd0e4=this[_0x15eb46(0xf6)][_0x15eb46(0x12b)](_0x5591f8[_0x15eb46(0x10d)]),_0x1a7b07=this[_0x15eb46(0xfb)]();return _0xfd0e4['updateConfig'](_0x51818a),_0xfd0e4[_0x15eb46(0xf5)](this[_0x15eb46(0x10a)],_0x1a7b07[_0x15eb46(0x103)],_0x1a7b07['endRow'],_0x1a7b07[_0x15eb46(0x127)],_0x1a7b07[_0x15eb46(0x10f)]);}['getSizeUsagesAsA1'](_0x5cd055){const _0x46b13f=_0x3f1a98,_0x2475fd=this[_0x46b13f(0xf7)](_0x5cd055);return this[_0x46b13f(0xf6)]['get'](_0x5591f8[_0x46b13f(0x10d)])[_0x46b13f(0x104)](_0x2475fd);}}_0x540dab[_0x3f1a98(0x10b)][_0x3f1a98(0x113)](_0x417912);}));
|