@univerjs-pro/sheets-mcp 0.15.2 → 0.15.3-insiders.20260131-b9b8805
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 +12 -12
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x18aa(){const _0x42f70c=['@univerjs-pro/sheets-mcp','@univerjs/core/facade','ISizeUsageAnalyzer','object','_worksheet','@univerjs/sheets-formula/facade','getAllDataValidationErrorAsync','getMaxColumns','_workbook','2oWRYIK','68KrqnJA','FWorkbook','4436298RGjEDl','5hzvkKW','getAllSizeUsages','getIntersectRange','FWorksheet','74713vSjeON','getCellRaw','endRow','IStyleUsageAnalyzer','get','function','_injector','getAllFormulaUsages','map','updateConfig','FRange','getSizeUsages','length','firstOccurrence','amd','moveFormulaRefOffset','312942ZrCUes','IFormulaUsageAnalyzer','@univerjs/core','UniverSheetsFormulaFacade','getLintErrors','toA1','UniverProSheetsMcp','startColumn','1119192dEUPGW','push','startRow','formula','getFormulaUsagesAsA1','getStyleUsagesAsA1','formulaToA1','getStyleUsages','42477WGkvpu','getSizeUsagesAsA1','endColumn','getAllStyleUsages','getFormulaUsages','UniverSheetsFacade','FUniver','UniverCoreFacade','filledRanges','extend','getCellDataGrid','styleToA1','5657390zUJqIh','1144776wQAGKw','getRange','UniverCore','getMaxRows'];_0x18aa=function(){return _0x42f70c;};return _0x18aa();}function _0x3220(_0xee8431,_0x4ea664){_0xee8431=_0xee8431-0xaf;const _0x18aa67=_0x18aa();let _0x3220ff=_0x18aa67[_0xee8431];return _0x3220ff;}(function(_0x33ecc9,_0x4cf64d){const _0x5457e6=_0x3220,_0x760b11=_0x33ecc9();while(!![]){try{const _0x4bcbb0=-parseInt(_0x5457e6(0xdf))/0x1*(-parseInt(_0x5457e6(0xd7))/0x2)+-parseInt(_0x5457e6(0xbd))/0x3*(-parseInt(_0x5457e6(0xd8))/0x4)+-parseInt(_0x5457e6(0xdb))/0x5*(-parseInt(_0x5457e6(0xca))/0x6)+-parseInt(_0x5457e6(0xef))/0x7+-parseInt(_0x5457e6(0xb5))/0x8+parseInt(_0x5457e6(0xda))/0x9+-parseInt(_0x5457e6(0xc9))/0xa;if(_0x4bcbb0===_0x4cf64d)break;else _0x760b11['push'](_0x760b11['shift']());}catch(_0x1134d2){_0x760b11['push'](_0x760b11['shift']());}}}(_0x18aa,0x3cbd6),function(_0x454fc9,_0x339b5d){const _0x5c4b30=_0x3220;typeof exports==_0x5c4b30(0xd1)&&typeof module<'u'?_0x339b5d(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==_0x5c4b30(0xe4)&&define[_0x5c4b30(0xed)]?define([_0x5c4b30(0xcf),_0x5c4b30(0xd3),'@univerjs/sheets-data-validation/facade','@univerjs/sheets/facade',_0x5c4b30(0xce),_0x5c4b30(0xaf)],_0x339b5d):(_0x454fc9=typeof globalThis<'u'?globalThis:_0x454fc9||self,_0x339b5d(_0x454fc9[_0x5c4b30(0xc4)],_0x454fc9[_0x5c4b30(0xb0)],_0x454fc9['UniverSheetsDataValidationFacade'],_0x454fc9[_0x5c4b30(0xc2)],_0x454fc9[_0x5c4b30(0xb3)],_0x454fc9[_0x5c4b30(0xcc)]));}(this,function(_0x122e01,_0x54668f,_0x230d22,_0x5638c6,_0x3d87c5,_0x38337d){'use strict';const _0x6e6a0a=_0x3220;class _0x1fa3fb extends _0x122e01[_0x6e6a0a(0xc3)]{async[_0x6e6a0a(0xb1)](){const _0x4566cd=_0x6e6a0a;return this['getActiveWorkbook']()[_0x4566cd(0xb1)]();}}_0x122e01[_0x6e6a0a(0xc3)][_0x6e6a0a(0xc6)](_0x1fa3fb);class _0x199e16 extends _0x5638c6[_0x6e6a0a(0xd9)]{async[_0x6e6a0a(0xb1)](){const _0x3d2c8a=_0x6e6a0a,_0x68d9a9=this['getAllFormulaError'](),_0x2bd1c2=await this[_0x3d2c8a(0xd4)]();return{'formulaErrors':_0x68d9a9,'dataValidationErrors':_0x2bd1c2};}}_0x5638c6[_0x6e6a0a(0xd9)]['extend'](_0x199e16);class _0x4666bd extends _0x5638c6[_0x6e6a0a(0xde)]{async[_0x6e6a0a(0xc1)](){const _0x42c14d=_0x6e6a0a,_0x109992=this[_0x42c14d(0xe5)][_0x42c14d(0xe3)](_0x3d87c5[_0x42c14d(0xf0)]),_0x47e3e6=this[_0x42c14d(0xcb)](0x0,0x0,this[_0x42c14d(0xcd)](),this['getMaxColumns']())['getCellDataGrid']();return await _0x109992['getAllFormulaUsages'](_0x47e3e6);}async[_0x6e6a0a(0xb9)](){const _0x1a47c4=_0x6e6a0a;return(await this[_0x1a47c4(0xc1)]())[_0x1a47c4(0xe7)](_0x3d87c5[_0x1a47c4(0xbb)]);}[_0x6e6a0a(0xbc)](_0x1c6247){const _0xb175ec=_0x6e6a0a,_0xd7b527=this[_0xb175ec(0xe5)][_0xb175ec(0xe3)](_0x3d87c5[_0xb175ec(0xe2)]),_0x28b8ca=this[_0xb175ec(0xcb)](0x0,0x0,this['getMaxRows'](),this[_0xb175ec(0xd5)]())[_0xb175ec(0xc7)]();return _0xd7b527[_0xb175ec(0xe8)](_0x1c6247),_0xd7b527['getAllStyleUsages'](_0x28b8ca,this['_workbook'],this['_worksheet']);}[_0x6e6a0a(0xba)](_0x294c93){const _0x5215f1=_0x6e6a0a;return this[_0x5215f1(0xbc)](_0x294c93)['map'](_0x3d87c5[_0x5215f1(0xc8)]);}[_0x6e6a0a(0xea)](_0x49aa89){const _0x173d93=_0x6e6a0a,_0xd37f5b=this['_injector']['get'](_0x3d87c5[_0x173d93(0xd0)]);return _0xd37f5b['updateConfig'](_0x49aa89),_0xd37f5b[_0x173d93(0xdc)](this['_worksheet']);}[_0x6e6a0a(0xbe)](_0xf1ddcd){const _0x1770fb=_0x6e6a0a,_0x34eb5b=this['_injector'][_0x1770fb(0xe3)](_0x3d87c5[_0x1770fb(0xd0)]);_0x34eb5b[_0x1770fb(0xe8)](_0xf1ddcd);const _0x27aacc=_0x34eb5b[_0x1770fb(0xdc)](this[_0x1770fb(0xd2)]);return _0x34eb5b[_0x1770fb(0xb2)](_0x27aacc);}}_0x5638c6[_0x6e6a0a(0xde)][_0x6e6a0a(0xc6)](_0x4666bd);class _0x4724ff extends _0x5638c6[_0x6e6a0a(0xe9)]{async[_0x6e6a0a(0xc1)](){const _0x1de1b2=_0x6e6a0a,_0xfe31c2=this[_0x1de1b2(0xe5)][_0x1de1b2(0xe3)](_0x3d87c5[_0x1de1b2(0xf0)]),_0x282449=(({startRow:_0x16cad4,endRow:_0x45332e,startColumn:_0x476a66,endColumn:_0x548f8b})=>{const _0x887916=_0x1de1b2,_0x3e24ab=[];for(let _0xeb3bfe=_0x16cad4;_0xeb3bfe<=_0x45332e;_0xeb3bfe++){const _0x536568=[];for(let _0x44982e=_0x476a66;_0x44982e<=_0x548f8b;_0x44982e++)_0x536568[_0x887916(0xb6)](this['_worksheet'][_0x887916(0xe0)](_0xeb3bfe,_0x44982e));_0x3e24ab[_0x887916(0xb6)](_0x536568);}return _0x3e24ab;})({'startRow':0x0,'endRow':this[_0x1de1b2(0xd2)][_0x1de1b2(0xcd)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x1de1b2(0xd5)]()}),_0x4db771=await _0xfe31c2[_0x1de1b2(0xe6)](_0x282449),_0x4ff3e4=this['getRange'](),_0xab03c5=[];for(let _0x5488da=0x0;_0x5488da<_0x4db771['length'];_0x5488da++){const _0x1a4599=_0x4db771[_0x5488da],_0x34c5ad=_0x1a4599['filledRanges'],_0x3a06f7=[];for(let _0xc05356=0x0;_0xc05356<_0x34c5ad['length'];_0xc05356++){const _0x20ca50=_0x34c5ad[_0xc05356],_0x1981a6=_0x38337d[_0x1de1b2(0xdd)](_0x20ca50,_0x4ff3e4);_0x1981a6&&_0x3a06f7['push'](_0x1981a6);}if(_0x3a06f7[_0x1de1b2(0xeb)]>0x0){if(_0x1a4599['filledRanges']=_0x3a06f7,!(_0x1a4599[_0x1de1b2(0xec)][_0x1de1b2(0xb7)]>=_0x4ff3e4[_0x1de1b2(0xb7)]&&_0x1a4599[_0x1de1b2(0xec)][_0x1de1b2(0xb7)]<=_0x4ff3e4[_0x1de1b2(0xe1)]&&_0x1a4599[_0x1de1b2(0xec)][_0x1de1b2(0xb4)]>=_0x4ff3e4[_0x1de1b2(0xb4)]&&_0x1a4599['firstOccurrence'][_0x1de1b2(0xb4)]<=_0x4ff3e4[_0x1de1b2(0xbf)])){const _0x9e35b9=_0x3a06f7[0x0],_0x12dd51=_0x9e35b9[_0x1de1b2(0xb7)]-_0x1a4599[_0x1de1b2(0xec)][_0x1de1b2(0xb7)],_0x2aaa5e=_0x9e35b9[_0x1de1b2(0xb4)]-_0x1a4599[_0x1de1b2(0xec)][_0x1de1b2(0xb4)];_0x1a4599['formula']=await _0xfe31c2[_0x1de1b2(0xee)](_0x1a4599[_0x1de1b2(0xb8)],_0x2aaa5e,_0x12dd51),_0x1a4599['firstOccurrence']={'startRow':_0x9e35b9['startRow'],'endRow':_0x9e35b9[_0x1de1b2(0xb7)],'startColumn':_0x9e35b9[_0x1de1b2(0xb4)],'endColumn':_0x9e35b9[_0x1de1b2(0xb4)]};}_0xab03c5['push'](_0x1a4599);}}return _0xab03c5;}async['getFormulaUsagesAsA1'](){const _0x37f765=_0x6e6a0a;return(await this[_0x37f765(0xc1)]())[_0x37f765(0xe7)](_0x3d87c5[_0x37f765(0xbb)]);}[_0x6e6a0a(0xbc)](_0x5e3796){const _0x16da47=_0x6e6a0a,_0x5f5a16=this[_0x16da47(0xe5)][_0x16da47(0xe3)](_0x3d87c5[_0x16da47(0xe2)]),_0x39c14=(({startRow:_0xc5b00b,endRow:_0xa2e5d0,startColumn:_0x9f635,endColumn:_0x1789fe})=>{const _0x494600=[];for(let _0x233f0b=_0xc5b00b;_0x233f0b<=_0xa2e5d0;_0x233f0b++){const _0x1dad28=[];for(let _0x3ee65d=_0x9f635;_0x3ee65d<=_0x1789fe;_0x3ee65d++)_0x1dad28['push'](this['_worksheet']['getCellRaw'](_0x233f0b,_0x3ee65d));_0x494600['push'](_0x1dad28);}return _0x494600;})({'startRow':0x0,'endRow':this[_0x16da47(0xd2)][_0x16da47(0xcd)](),'startColumn':0x0,'endColumn':this[_0x16da47(0xd2)][_0x16da47(0xd5)]()});_0x5f5a16[_0x16da47(0xe8)](_0x5e3796);const _0x4b162c=_0x5f5a16[_0x16da47(0xc0)](_0x39c14,this[_0x16da47(0xd6)],this[_0x16da47(0xd2)]),_0x8a7b22=this[_0x16da47(0xcb)](),_0x1980b=[];for(let _0x400fd7=0x0;_0x400fd7<_0x4b162c[_0x16da47(0xeb)];_0x400fd7++){const _0x53f3af=_0x4b162c[_0x400fd7],_0x5acb0c=_0x53f3af[_0x16da47(0xc5)],_0x1c3663=[];for(let _0x5682cc=0x0;_0x5682cc<_0x5acb0c[_0x16da47(0xeb)];_0x5682cc++){const _0x5cf857=_0x5acb0c[_0x5682cc],_0x2d10cc=_0x38337d[_0x16da47(0xdd)](_0x5cf857,_0x8a7b22);_0x2d10cc&&_0x1c3663['push'](_0x2d10cc);}_0x1c3663[_0x16da47(0xeb)]>0x0&&(_0x53f3af[_0x16da47(0xc5)]=_0x1c3663,_0x1980b[_0x16da47(0xb6)](_0x53f3af));}return _0x1980b;}[_0x6e6a0a(0xba)](_0x20cb7e){const _0x3a9527=_0x6e6a0a;return this[_0x3a9527(0xbc)](_0x20cb7e)[_0x3a9527(0xe7)](_0x3d87c5['styleToA1']);}[_0x6e6a0a(0xea)](_0x2bd44f){const _0x36d3c1=_0x6e6a0a,_0x4e4c40=this[_0x36d3c1(0xe5)][_0x36d3c1(0xe3)](_0x3d87c5[_0x36d3c1(0xd0)]),_0x4f91d8=this[_0x36d3c1(0xcb)]();return _0x4e4c40['updateConfig'](_0x2bd44f),_0x4e4c40[_0x36d3c1(0xdc)](this[_0x36d3c1(0xd2)],_0x4f91d8[_0x36d3c1(0xb7)],_0x4f91d8[_0x36d3c1(0xe1)],_0x4f91d8['startColumn'],_0x4f91d8[_0x36d3c1(0xbf)]);}[_0x6e6a0a(0xbe)](_0x2a2294){const _0x2eb980=_0x6e6a0a,_0x3d27e2=this['getSizeUsages'](_0x2a2294);return this[_0x2eb980(0xe5)][_0x2eb980(0xe3)](_0x3d87c5[_0x2eb980(0xd0)])['toA1'](_0x3d27e2);}}_0x5638c6[_0x6e6a0a(0xe9)][_0x6e6a0a(0xc6)](_0x4724ff);}));
|