@univerjs-pro/sheets-mcp 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0
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 _0x45de(_0x1007fb,_0x4a2a6b){_0x1007fb=_0x1007fb-0x19d;const _0x32f04d=_0x32f0();let _0x45de4e=_0x32f04d[_0x1007fb];return _0x45de4e;}function _0x32f0(){const _0x19707c=['getActiveWorkbook','getCellRaw','getSizeUsages','getIntersectRange','444UQSUlb','endColumn','getAllFormulaError','252nNoKEQ','4RyMfPt','styleToA1','map','getFormulaUsagesAsA1','2919856FcKymn','getRange','FRange','filledRanges','_workbook','endRow','32RpAhBe','UniverCore','@univerjs/sheets-data-validation/facade','extend','formula','254607eQqtoV','getFormulaUsages','23856wabSKE','amd','getLintErrors','170680zBuKTL','getStyleUsages','startRow','UniverSheetsFormulaFacade','@univerjs-pro/sheets-mcp','getAllStyleUsages','FWorksheet','@univerjs/sheets-formula/facade','startColumn','IStyleUsageAnalyzer','length','11186jyHyoS','UniverSheetsDataValidationFacade','push','_worksheet','getCellDataGrid','getAllFormulaUsages','@univerjs/sheets/facade','formulaToA1','3850oGlfRK','getMaxColumns','function','object','getSizeUsagesAsA1','getMaxRows','moveFormulaRefOffset','FWorkbook','1686RPTYak','183405rpCaHS','IFormulaUsageAnalyzer','toA1','updateConfig','_injector','ISizeUsageAnalyzer','firstOccurrence','get','getAllSizeUsages'];_0x32f0=function(){return _0x19707c;};return _0x32f0();}(function(_0x1f3cb3,_0x273e2e){const _0xf3d7cc=_0x45de,_0x342057=_0x1f3cb3();while(!![]){try{const _0x2fc6b7=-parseInt(_0xf3d7cc(0x1c6))/0x1+-parseInt(_0xf3d7cc(0x1c1))/0x2*(-parseInt(_0xf3d7cc(0x1c8))/0x3)+parseInt(_0xf3d7cc(0x1b7))/0x4*(parseInt(_0xf3d7cc(0x1a6))/0x5)+parseInt(_0xf3d7cc(0x1a5))/0x6*(parseInt(_0xf3d7cc(0x1d6))/0x7)+parseInt(_0xf3d7cc(0x1bb))/0x8+-parseInt(_0xf3d7cc(0x1b6))/0x9*(parseInt(_0xf3d7cc(0x1cb))/0xa)+-parseInt(_0xf3d7cc(0x19d))/0xb*(-parseInt(_0xf3d7cc(0x1b3))/0xc);if(_0x2fc6b7===_0x273e2e)break;else _0x342057['push'](_0x342057['shift']());}catch(_0x562808){_0x342057['push'](_0x342057['shift']());}}}(_0x32f0,0x3f144),function(_0x359a9e,_0xe87d9d){const _0x1de63c=_0x45de;typeof exports==_0x1de63c(0x1a0)&&typeof module<'u'?_0xe87d9d(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==_0x1de63c(0x19f)&&define[_0x1de63c(0x1c9)]?define(['@univerjs/core/facade',_0x1de63c(0x1d2),_0x1de63c(0x1c3),_0x1de63c(0x1dc),_0x1de63c(0x1cf),'@univerjs/core'],_0xe87d9d):(_0x359a9e=typeof globalThis<'u'?globalThis:_0x359a9e||self,_0xe87d9d(_0x359a9e['UniverCoreFacade'],_0x359a9e[_0x1de63c(0x1ce)],_0x359a9e[_0x1de63c(0x1d7)],_0x359a9e['UniverSheetsFacade'],_0x359a9e['UniverProSheetsMcp'],_0x359a9e[_0x1de63c(0x1c2)]));}(this,function(_0x50eab2,_0x5a6d51,_0x2ff1ce,_0xef673b,_0x456140,_0x821548){'use strict';const _0x5f498f=_0x45de;class _0x3e8634 extends _0x50eab2['FUniver']{async[_0x5f498f(0x1ca)](){const _0x9301f1=_0x5f498f;return this[_0x9301f1(0x1af)]()[_0x9301f1(0x1ca)]();}}_0x50eab2['FUniver']['extend'](_0x3e8634);class _0x16a236 extends _0xef673b[_0x5f498f(0x1a4)]{async[_0x5f498f(0x1ca)](){const _0x15f67f=_0x5f498f,_0x3bfe7d=this[_0x15f67f(0x1b5)](),_0x1f5730=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x3bfe7d,'dataValidationErrors':_0x1f5730};}}_0xef673b['FWorkbook']['extend'](_0x16a236);class _0x215f8f extends _0xef673b[_0x5f498f(0x1d1)]{async['getFormulaUsages'](){const _0x2e4489=_0x5f498f,_0x4cee73=this['_injector'][_0x2e4489(0x1ad)](_0x456140[_0x2e4489(0x1a7)]),_0xe14608=this[_0x2e4489(0x1bc)](0x0,0x0,this[_0x2e4489(0x1a2)](),this[_0x2e4489(0x19e)]())[_0x2e4489(0x1da)]();return await _0x4cee73[_0x2e4489(0x1db)](_0xe14608);}async[_0x5f498f(0x1ba)](){const _0x16179a=_0x5f498f;return(await this[_0x16179a(0x1c7)]())[_0x16179a(0x1b9)](_0x456140['formulaToA1']);}[_0x5f498f(0x1cc)](_0x532248){const _0x19d0f3=_0x5f498f,_0x4168e0=this[_0x19d0f3(0x1aa)]['get'](_0x456140[_0x19d0f3(0x1d4)]),_0x1636d7=this['getRange'](0x0,0x0,this['getMaxRows'](),this['getMaxColumns']())[_0x19d0f3(0x1da)]();return _0x4168e0['updateConfig'](_0x532248),_0x4168e0[_0x19d0f3(0x1d0)](_0x1636d7,this[_0x19d0f3(0x1bf)],this['_worksheet']);}['getStyleUsagesAsA1'](_0x530d4c){const _0x445251=_0x5f498f;return this['getStyleUsages'](_0x530d4c)['map'](_0x456140[_0x445251(0x1b8)]);}[_0x5f498f(0x1b1)](_0x2270b9){const _0x317f65=_0x5f498f,_0x1f8d66=this[_0x317f65(0x1aa)][_0x317f65(0x1ad)](_0x456140[_0x317f65(0x1ab)]);return _0x1f8d66[_0x317f65(0x1a9)](_0x2270b9),_0x1f8d66[_0x317f65(0x1ae)](this[_0x317f65(0x1d9)]);}['getSizeUsagesAsA1'](_0x514344){const _0x3e6cce=_0x5f498f,_0x58cc48=this[_0x3e6cce(0x1aa)][_0x3e6cce(0x1ad)](_0x456140[_0x3e6cce(0x1ab)]);_0x58cc48[_0x3e6cce(0x1a9)](_0x514344);const _0xec490c=_0x58cc48[_0x3e6cce(0x1ae)](this['_worksheet']);return _0x58cc48[_0x3e6cce(0x1a8)](_0xec490c);}}_0xef673b['FWorksheet'][_0x5f498f(0x1c4)](_0x215f8f);class _0x51036a extends _0xef673b[_0x5f498f(0x1bd)]{async[_0x5f498f(0x1c7)](){const _0x51c552=_0x5f498f,_0x216360=this['_injector'][_0x51c552(0x1ad)](_0x456140[_0x51c552(0x1a7)]),_0x4900a2=(({startRow:_0x2063d5,endRow:_0x5d200d,startColumn:_0x23eb2c,endColumn:_0x42ed53})=>{const _0x456940=_0x51c552,_0x25f59c=[];for(let _0x5711ce=_0x2063d5;_0x5711ce<=_0x5d200d;_0x5711ce++){const _0x421b95=[];for(let _0x5dabb5=_0x23eb2c;_0x5dabb5<=_0x42ed53;_0x5dabb5++)_0x421b95[_0x456940(0x1d8)](this[_0x456940(0x1d9)][_0x456940(0x1b0)](_0x5711ce,_0x5dabb5));_0x25f59c['push'](_0x421b95);}return _0x25f59c;})({'startRow':0x0,'endRow':this[_0x51c552(0x1d9)][_0x51c552(0x1a2)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x51c552(0x19e)]()}),_0x361826=await _0x216360[_0x51c552(0x1db)](_0x4900a2),_0x15a90f=this[_0x51c552(0x1bc)](),_0x2eb0c5=[];for(let _0xd7899e=0x0;_0xd7899e<_0x361826[_0x51c552(0x1d5)];_0xd7899e++){const _0x1c2c44=_0x361826[_0xd7899e],_0x4c2b62=_0x1c2c44[_0x51c552(0x1be)],_0x26c81c=[];for(let _0x5cec6f=0x0;_0x5cec6f<_0x4c2b62[_0x51c552(0x1d5)];_0x5cec6f++){const _0x48a58e=_0x4c2b62[_0x5cec6f],_0x363dcf=_0x821548[_0x51c552(0x1b2)](_0x48a58e,_0x15a90f);_0x363dcf&&_0x26c81c[_0x51c552(0x1d8)](_0x363dcf);}if(_0x26c81c[_0x51c552(0x1d5)]>0x0){if(_0x1c2c44[_0x51c552(0x1be)]=_0x26c81c,!(_0x1c2c44[_0x51c552(0x1ac)][_0x51c552(0x1cd)]>=_0x15a90f[_0x51c552(0x1cd)]&&_0x1c2c44['firstOccurrence'][_0x51c552(0x1cd)]<=_0x15a90f[_0x51c552(0x1c0)]&&_0x1c2c44['firstOccurrence'][_0x51c552(0x1d3)]>=_0x15a90f[_0x51c552(0x1d3)]&&_0x1c2c44[_0x51c552(0x1ac)][_0x51c552(0x1d3)]<=_0x15a90f['endColumn'])){const _0x3afdf7=_0x26c81c[0x0],_0x2ebff6=_0x3afdf7[_0x51c552(0x1cd)]-_0x1c2c44[_0x51c552(0x1ac)]['startRow'],_0x48f076=_0x3afdf7[_0x51c552(0x1d3)]-_0x1c2c44[_0x51c552(0x1ac)][_0x51c552(0x1d3)];_0x1c2c44[_0x51c552(0x1c5)]=await _0x216360[_0x51c552(0x1a3)](_0x1c2c44[_0x51c552(0x1c5)],_0x48f076,_0x2ebff6),_0x1c2c44[_0x51c552(0x1ac)]={'startRow':_0x3afdf7[_0x51c552(0x1cd)],'endRow':_0x3afdf7[_0x51c552(0x1cd)],'startColumn':_0x3afdf7[_0x51c552(0x1d3)],'endColumn':_0x3afdf7[_0x51c552(0x1d3)]};}_0x2eb0c5[_0x51c552(0x1d8)](_0x1c2c44);}}return _0x2eb0c5;}async[_0x5f498f(0x1ba)](){const _0x558f13=_0x5f498f;return(await this['getFormulaUsages']())[_0x558f13(0x1b9)](_0x456140[_0x558f13(0x1dd)]);}[_0x5f498f(0x1cc)](_0x379e78){const _0x21c9d9=_0x5f498f,_0x4e324e=this[_0x21c9d9(0x1aa)][_0x21c9d9(0x1ad)](_0x456140[_0x21c9d9(0x1d4)]),_0x243753=(({startRow:_0x21bb56,endRow:_0x558e87,startColumn:_0x280ff5,endColumn:_0x4a4aa0})=>{const _0x497b4d=_0x21c9d9,_0x18e4f9=[];for(let _0x255b6d=_0x21bb56;_0x255b6d<=_0x558e87;_0x255b6d++){const _0x281d87=[];for(let _0x5995fe=_0x280ff5;_0x5995fe<=_0x4a4aa0;_0x5995fe++)_0x281d87['push'](this['_worksheet'][_0x497b4d(0x1b0)](_0x255b6d,_0x5995fe));_0x18e4f9[_0x497b4d(0x1d8)](_0x281d87);}return _0x18e4f9;})({'startRow':0x0,'endRow':this['_worksheet'][_0x21c9d9(0x1a2)](),'startColumn':0x0,'endColumn':this[_0x21c9d9(0x1d9)][_0x21c9d9(0x19e)]()});_0x4e324e[_0x21c9d9(0x1a9)](_0x379e78);const _0x10730b=_0x4e324e[_0x21c9d9(0x1d0)](_0x243753,this['_workbook'],this['_worksheet']),_0x360cf1=this['getRange'](),_0x1cec16=[];for(let _0x4347a9=0x0;_0x4347a9<_0x10730b[_0x21c9d9(0x1d5)];_0x4347a9++){const _0xcf4b49=_0x10730b[_0x4347a9],_0x4e36f6=_0xcf4b49['filledRanges'],_0x16f02d=[];for(let _0x50ce7c=0x0;_0x50ce7c<_0x4e36f6['length'];_0x50ce7c++){const _0x23df02=_0x4e36f6[_0x50ce7c],_0x2c6ddc=_0x821548['getIntersectRange'](_0x23df02,_0x360cf1);_0x2c6ddc&&_0x16f02d['push'](_0x2c6ddc);}_0x16f02d[_0x21c9d9(0x1d5)]>0x0&&(_0xcf4b49['filledRanges']=_0x16f02d,_0x1cec16[_0x21c9d9(0x1d8)](_0xcf4b49));}return _0x1cec16;}['getStyleUsagesAsA1'](_0x374e09){const _0x4b53bb=_0x5f498f;return this[_0x4b53bb(0x1cc)](_0x374e09)['map'](_0x456140['styleToA1']);}[_0x5f498f(0x1b1)](_0x194986){const _0x5091b4=_0x5f498f,_0x454d8c=this[_0x5091b4(0x1aa)]['get'](_0x456140[_0x5091b4(0x1ab)]),_0x1221ec=this['getRange']();return _0x454d8c['updateConfig'](_0x194986),_0x454d8c[_0x5091b4(0x1ae)](this['_worksheet'],_0x1221ec[_0x5091b4(0x1cd)],_0x1221ec[_0x5091b4(0x1c0)],_0x1221ec[_0x5091b4(0x1d3)],_0x1221ec[_0x5091b4(0x1b4)]);}[_0x5f498f(0x1a1)](_0x55ffcb){const _0x35aaec=_0x5f498f,_0x830c87=this[_0x35aaec(0x1b1)](_0x55ffcb);return this[_0x35aaec(0x1aa)][_0x35aaec(0x1ad)](_0x456140[_0x35aaec(0x1ab)])['toA1'](_0x830c87);}}_0xef673b['FRange'][_0x5f498f(0x1c4)](_0x51036a);}));
|