@univerjs-pro/sheets-mcp 0.15.2 → 0.15.3-insiders.20260131-cbd5fac
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 _0x17bd(_0x388130,_0x4f32e7){_0x388130=_0x388130-0x9c;const _0x47ed5d=_0x47ed();let _0x17bd3a=_0x47ed5d[_0x388130];return _0x17bd3a;}function _0x47ed(){const _0x13c88d=['@univerjs/core/facade','10mhDKNt','540304CJyuJg','IFormulaUsageAnalyzer','getMaxColumns','push','4938hhuRLk','UniverProSheetsMcp','formulaToA1','14NKCHfV','length','get','getAllFormulaError','getStyleUsagesAsA1','getCellRaw','endRow','_worksheet','moveFormulaRefOffset','UniverCore','@univerjs/sheets-formula/facade','getLintErrors','amd','1701744ijRmLF','getSizeUsagesAsA1','getFormulaUsagesAsA1','7846003itDHFF','getSizeUsages','startRow','430WPzEeP','FRange','getFormulaUsages','1432eDLXoN','getAllDataValidationErrorAsync','extend','@univerjs/sheets/facade','styleToA1','startColumn','getCellDataGrid','updateConfig','filledRanges','getIntersectRange','firstOccurrence','getAllFormulaUsages','endColumn','263286tZCmsT','UniverCoreFacade','ISizeUsageAnalyzer','getStyleUsages','FWorkbook','_workbook','34182BgxrEm','getAllSizeUsages','getAllStyleUsages','function','formula','toA1','UniverSheetsDataValidationFacade','getRange','303659DBdJCN','getMaxRows','map','FWorksheet','FUniver','IStyleUsageAnalyzer','@univerjs/sheets-data-validation/facade','@univerjs-pro/sheets-mcp','_injector','UniverSheetsFacade','@univerjs/core'];_0x47ed=function(){return _0x13c88d;};return _0x47ed();}(function(_0x33e057,_0x2f814a){const _0x338b9c=_0x17bd,_0x4a9ced=_0x33e057();while(!![]){try{const _0x559173=parseInt(_0x338b9c(0xdb))/0x1+-parseInt(_0x338b9c(0xa3))/0x2+parseInt(_0x338b9c(0xa7))/0x3*(-parseInt(_0x338b9c(0xc0))/0x4)+-parseInt(_0x338b9c(0xa2))/0x5*(parseInt(_0x338b9c(0xcd))/0x6)+-parseInt(_0x338b9c(0xaa))/0x7*(-parseInt(_0x338b9c(0xb7))/0x8)+parseInt(_0x338b9c(0xd3))/0x9*(-parseInt(_0x338b9c(0xbd))/0xa)+parseInt(_0x338b9c(0xba))/0xb;if(_0x559173===_0x2f814a)break;else _0x4a9ced['push'](_0x4a9ced['shift']());}catch(_0x891d25){_0x4a9ced['push'](_0x4a9ced['shift']());}}}(_0x47ed,0x51060),function(_0xc30fab,_0x2a2b19){const _0x17a777=_0x17bd;typeof exports=='object'&&typeof module<'u'?_0x2a2b19(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==_0x17a777(0xd6)&&define[_0x17a777(0xb6)]?define([_0x17a777(0xa1),_0x17a777(0xb4),_0x17a777(0x9c),_0x17a777(0xc3),_0x17a777(0x9d),_0x17a777(0xa0)],_0x2a2b19):(_0xc30fab=typeof globalThis<'u'?globalThis:_0xc30fab||self,_0x2a2b19(_0xc30fab[_0x17a777(0xce)],_0xc30fab['UniverSheetsFormulaFacade'],_0xc30fab[_0x17a777(0xd9)],_0xc30fab[_0x17a777(0x9f)],_0xc30fab[_0x17a777(0xa8)],_0xc30fab[_0x17a777(0xb3)]));}(this,function(_0x3aea4e,_0x41d776,_0x2fb271,_0x1c98e2,_0x8535d1,_0x47dd41){'use strict';const _0xb187ec=_0x17bd;class _0x5979f9 extends _0x3aea4e[_0xb187ec(0xdf)]{async['getLintErrors'](){return this['getActiveWorkbook']()['getLintErrors']();}}_0x3aea4e['FUniver'][_0xb187ec(0xc2)](_0x5979f9);class _0x537621 extends _0x1c98e2['FWorkbook']{async[_0xb187ec(0xb5)](){const _0x1bf6fe=_0xb187ec,_0x3e3b8b=this[_0x1bf6fe(0xad)](),_0x20f580=await this[_0x1bf6fe(0xc1)]();return{'formulaErrors':_0x3e3b8b,'dataValidationErrors':_0x20f580};}}_0x1c98e2[_0xb187ec(0xd1)][_0xb187ec(0xc2)](_0x537621);class _0x5f591a extends _0x1c98e2[_0xb187ec(0xde)]{async[_0xb187ec(0xbf)](){const _0x37e974=_0xb187ec,_0x4e1ca5=this['_injector']['get'](_0x8535d1['IFormulaUsageAnalyzer']),_0x6f3b68=this[_0x37e974(0xda)](0x0,0x0,this[_0x37e974(0xdc)](),this['getMaxColumns']())['getCellDataGrid']();return await _0x4e1ca5[_0x37e974(0xcb)](_0x6f3b68);}async[_0xb187ec(0xb9)](){const _0x26ecaf=_0xb187ec;return(await this[_0x26ecaf(0xbf)]())[_0x26ecaf(0xdd)](_0x8535d1[_0x26ecaf(0xa9)]);}[_0xb187ec(0xd0)](_0x230456){const _0x1f21da=_0xb187ec,_0x3c55ae=this[_0x1f21da(0x9e)]['get'](_0x8535d1[_0x1f21da(0xe0)]),_0x4a4119=this['getRange'](0x0,0x0,this[_0x1f21da(0xdc)](),this[_0x1f21da(0xa5)]())[_0x1f21da(0xc6)]();return _0x3c55ae['updateConfig'](_0x230456),_0x3c55ae[_0x1f21da(0xd5)](_0x4a4119,this[_0x1f21da(0xd2)],this[_0x1f21da(0xb1)]);}[_0xb187ec(0xae)](_0x1b9bf6){const _0xf41f3=_0xb187ec;return this['getStyleUsages'](_0x1b9bf6)[_0xf41f3(0xdd)](_0x8535d1[_0xf41f3(0xc4)]);}['getSizeUsages'](_0x1dae5f){const _0x48e9c6=_0xb187ec,_0x18b8fc=this[_0x48e9c6(0x9e)][_0x48e9c6(0xac)](_0x8535d1[_0x48e9c6(0xcf)]);return _0x18b8fc['updateConfig'](_0x1dae5f),_0x18b8fc[_0x48e9c6(0xd4)](this['_worksheet']);}[_0xb187ec(0xb8)](_0x1565a4){const _0x3f9287=_0xb187ec,_0x2114de=this['_injector']['get'](_0x8535d1[_0x3f9287(0xcf)]);_0x2114de[_0x3f9287(0xc7)](_0x1565a4);const _0xd68771=_0x2114de['getAllSizeUsages'](this[_0x3f9287(0xb1)]);return _0x2114de[_0x3f9287(0xd8)](_0xd68771);}}_0x1c98e2['FWorksheet'][_0xb187ec(0xc2)](_0x5f591a);class _0x4b5e83 extends _0x1c98e2['FRange']{async[_0xb187ec(0xbf)](){const _0x12833a=_0xb187ec,_0x512e02=this[_0x12833a(0x9e)][_0x12833a(0xac)](_0x8535d1[_0x12833a(0xa4)]),_0x398988=(({startRow:_0x107e78,endRow:_0x3a2b8f,startColumn:_0x4a807a,endColumn:_0x58ec34})=>{const _0x2d63d0=_0x12833a,_0xc3e7c7=[];for(let _0x3c83bd=_0x107e78;_0x3c83bd<=_0x3a2b8f;_0x3c83bd++){const _0x470129=[];for(let _0x2d29c2=_0x4a807a;_0x2d29c2<=_0x58ec34;_0x2d29c2++)_0x470129[_0x2d63d0(0xa6)](this[_0x2d63d0(0xb1)][_0x2d63d0(0xaf)](_0x3c83bd,_0x2d29c2));_0xc3e7c7[_0x2d63d0(0xa6)](_0x470129);}return _0xc3e7c7;})({'startRow':0x0,'endRow':this[_0x12833a(0xb1)][_0x12833a(0xdc)](),'startColumn':0x0,'endColumn':this[_0x12833a(0xb1)]['getMaxColumns']()}),_0x363fb3=await _0x512e02[_0x12833a(0xcb)](_0x398988),_0x2477f7=this[_0x12833a(0xda)](),_0x23b278=[];for(let _0x5e9807=0x0;_0x5e9807<_0x363fb3[_0x12833a(0xab)];_0x5e9807++){const _0x3dc146=_0x363fb3[_0x5e9807],_0x44001e=_0x3dc146[_0x12833a(0xc8)],_0x547c31=[];for(let _0x4a2bc9=0x0;_0x4a2bc9<_0x44001e['length'];_0x4a2bc9++){const _0x5aa721=_0x44001e[_0x4a2bc9],_0x4d95a9=_0x47dd41['getIntersectRange'](_0x5aa721,_0x2477f7);_0x4d95a9&&_0x547c31[_0x12833a(0xa6)](_0x4d95a9);}if(_0x547c31[_0x12833a(0xab)]>0x0){if(_0x3dc146[_0x12833a(0xc8)]=_0x547c31,!(_0x3dc146[_0x12833a(0xca)]['startRow']>=_0x2477f7[_0x12833a(0xbc)]&&_0x3dc146['firstOccurrence'][_0x12833a(0xbc)]<=_0x2477f7[_0x12833a(0xb0)]&&_0x3dc146[_0x12833a(0xca)][_0x12833a(0xc5)]>=_0x2477f7['startColumn']&&_0x3dc146['firstOccurrence'][_0x12833a(0xc5)]<=_0x2477f7['endColumn'])){const _0x25f046=_0x547c31[0x0],_0x1ff10c=_0x25f046[_0x12833a(0xbc)]-_0x3dc146[_0x12833a(0xca)]['startRow'],_0x4f3fc4=_0x25f046[_0x12833a(0xc5)]-_0x3dc146[_0x12833a(0xca)][_0x12833a(0xc5)];_0x3dc146[_0x12833a(0xd7)]=await _0x512e02[_0x12833a(0xb2)](_0x3dc146[_0x12833a(0xd7)],_0x4f3fc4,_0x1ff10c),_0x3dc146[_0x12833a(0xca)]={'startRow':_0x25f046[_0x12833a(0xbc)],'endRow':_0x25f046[_0x12833a(0xbc)],'startColumn':_0x25f046[_0x12833a(0xc5)],'endColumn':_0x25f046[_0x12833a(0xc5)]};}_0x23b278['push'](_0x3dc146);}}return _0x23b278;}async[_0xb187ec(0xb9)](){const _0x36d224=_0xb187ec;return(await this[_0x36d224(0xbf)]())[_0x36d224(0xdd)](_0x8535d1['formulaToA1']);}['getStyleUsages'](_0x3b30c3){const _0x492fda=_0xb187ec,_0x3cbca2=this[_0x492fda(0x9e)][_0x492fda(0xac)](_0x8535d1[_0x492fda(0xe0)]),_0x442638=(({startRow:_0x518c5d,endRow:_0x32ba87,startColumn:_0x25e19d,endColumn:_0x5f466b})=>{const _0x30b6d0=_0x492fda,_0x447923=[];for(let _0x1e9b38=_0x518c5d;_0x1e9b38<=_0x32ba87;_0x1e9b38++){const _0x6b4563=[];for(let _0xfead2b=_0x25e19d;_0xfead2b<=_0x5f466b;_0xfead2b++)_0x6b4563[_0x30b6d0(0xa6)](this[_0x30b6d0(0xb1)][_0x30b6d0(0xaf)](_0x1e9b38,_0xfead2b));_0x447923[_0x30b6d0(0xa6)](_0x6b4563);}return _0x447923;})({'startRow':0x0,'endRow':this[_0x492fda(0xb1)][_0x492fda(0xdc)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x492fda(0xa5)]()});_0x3cbca2[_0x492fda(0xc7)](_0x3b30c3);const _0x1ec0ce=_0x3cbca2[_0x492fda(0xd5)](_0x442638,this['_workbook'],this['_worksheet']),_0x2f93fe=this[_0x492fda(0xda)](),_0x540389=[];for(let _0xf79e4a=0x0;_0xf79e4a<_0x1ec0ce[_0x492fda(0xab)];_0xf79e4a++){const _0x269cc4=_0x1ec0ce[_0xf79e4a],_0x4f9ec1=_0x269cc4['filledRanges'],_0x20fb4a=[];for(let _0x18bb0a=0x0;_0x18bb0a<_0x4f9ec1[_0x492fda(0xab)];_0x18bb0a++){const _0xa906ae=_0x4f9ec1[_0x18bb0a],_0x93f46f=_0x47dd41[_0x492fda(0xc9)](_0xa906ae,_0x2f93fe);_0x93f46f&&_0x20fb4a['push'](_0x93f46f);}_0x20fb4a['length']>0x0&&(_0x269cc4[_0x492fda(0xc8)]=_0x20fb4a,_0x540389['push'](_0x269cc4));}return _0x540389;}[_0xb187ec(0xae)](_0x13a1f1){const _0xaae11a=_0xb187ec;return this[_0xaae11a(0xd0)](_0x13a1f1)[_0xaae11a(0xdd)](_0x8535d1[_0xaae11a(0xc4)]);}[_0xb187ec(0xbb)](_0x299d19){const _0x4be91a=_0xb187ec,_0x5f1d52=this[_0x4be91a(0x9e)]['get'](_0x8535d1[_0x4be91a(0xcf)]),_0x5517cd=this[_0x4be91a(0xda)]();return _0x5f1d52['updateConfig'](_0x299d19),_0x5f1d52['getAllSizeUsages'](this[_0x4be91a(0xb1)],_0x5517cd[_0x4be91a(0xbc)],_0x5517cd[_0x4be91a(0xb0)],_0x5517cd[_0x4be91a(0xc5)],_0x5517cd[_0x4be91a(0xcc)]);}[_0xb187ec(0xb8)](_0xcb9b52){const _0x160b62=_0xb187ec,_0x320f7b=this[_0x160b62(0xbb)](_0xcb9b52);return this[_0x160b62(0x9e)][_0x160b62(0xac)](_0x8535d1['ISizeUsageAnalyzer'])['toA1'](_0x320f7b);}}_0x1c98e2[_0xb187ec(0xbe)][_0xb187ec(0xc2)](_0x4b5e83);}));
|