@univerjs-pro/sheets-mcp 0.12.3 → 0.12.4-experimental.20251210-8d33c6e
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 +15 -15
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3fef(_0x27fbe6,_0x407d40){_0x27fbe6=_0x27fbe6-0xab;const _0x5bd2b9=_0x5bd2();let _0x3fef4b=_0x5bd2b9[_0x27fbe6];return _0x3fef4b;}function _0x5bd2(){const _0x171cc1=['moveFormulaRefOffset','map','object','getAllFormulaUsages','3013110VCubPJ','817lHKxxW','amd','77kjbXHP','getRange','2926aaxniz','getCellRaw','@univerjs/core','UniverSheetsFormulaFacade','UniverCore','getMaxColumns','UniverSheetsDataValidationFacade','getFormulaUsagesAsA1','1626777TdyjFo','@univerjs/sheets-formula/facade','514364tWVUSY','81168GQFpax','length','toA1','getMaxRows','FRange','startRow','FUniver','UniverSheetsFacade','FWorksheet','getActiveWorkbook','getAllFormulaError','10IGUyoT','_injector','getFormulaUsages','40MqmctU','function','getLintErrors','startColumn','3009300NGloNf','@univerjs/sheets-data-validation/facade','push','formula','FWorkbook','filledRanges','_worksheet','14hwqqXt','IFormulaUsageAnalyzer','extend','1576026UHPpoh'];_0x5bd2=function(){return _0x171cc1;};return _0x5bd2();}(function(_0x3724c9,_0x6800b4){const _0x4c613c=_0x3fef,_0x5cc86e=_0x3724c9();while(!![]){try{const _0x215a1a=-parseInt(_0x4c613c(0xcf))/0x1*(parseInt(_0x4c613c(0xd3))/0x2)+parseInt(_0x4c613c(0xdb))/0x3+parseInt(_0x4c613c(0xac))/0x4*(-parseInt(_0x4c613c(0xbb))/0x5)+parseInt(_0x4c613c(0xce))/0x6*(parseInt(_0x4c613c(0xc6))/0x7)+-parseInt(_0x4c613c(0xad))/0x8+parseInt(_0x4c613c(0xc9))/0x9*(-parseInt(_0x4c613c(0xb8))/0xa)+-parseInt(_0x4c613c(0xd1))/0xb*(-parseInt(_0x4c613c(0xbf))/0xc);if(_0x215a1a===_0x6800b4)break;else _0x5cc86e['push'](_0x5cc86e['shift']());}catch(_0x46160b){_0x5cc86e['push'](_0x5cc86e['shift']());}}}(_0x5bd2,0xd9f7b),function(_0x4a54de,_0x4f6c41){const _0x584ce4=_0x3fef;typeof exports==_0x584ce4(0xcc)&&typeof module<'u'?_0x4f6c41(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==_0x584ce4(0xbc)&&define[_0x584ce4(0xd0)]?define(['@univerjs/core/facade',_0x584ce4(0xab),_0x584ce4(0xc0),'@univerjs/sheets/facade','@univerjs-pro/sheets-mcp',_0x584ce4(0xd5)],_0x4f6c41):(_0x4a54de=typeof globalThis<'u'?globalThis:_0x4a54de||self,_0x4f6c41(_0x4a54de['UniverCoreFacade'],_0x4a54de[_0x584ce4(0xd6)],_0x4a54de[_0x584ce4(0xd9)],_0x4a54de[_0x584ce4(0xb4)],_0x4a54de['UniverProSheetsMcp'],_0x4a54de[_0x584ce4(0xd7)]));}(this,function(_0x4815d0,_0x3ced2c,_0x564bef,_0xb53926,_0x3d07e5,_0x3b31a8){'use strict';const _0x5644d2=_0x3fef;class _0x2e6337 extends _0x4815d0[_0x5644d2(0xb3)]{async['getLintErrors'](){const _0x28f04f=_0x5644d2;return this[_0x28f04f(0xb6)]()[_0x28f04f(0xbd)]();}}_0x4815d0[_0x5644d2(0xb3)][_0x5644d2(0xc8)](_0x2e6337);class _0x3dfebf extends _0xb53926[_0x5644d2(0xc3)]{async['getLintErrors'](){const _0x2906fc=_0x5644d2,_0x28c0df=this[_0x2906fc(0xb7)](),_0x40a7be=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x28c0df,'dataValidationErrors':_0x40a7be};}}_0xb53926[_0x5644d2(0xc3)][_0x5644d2(0xc8)](_0x3dfebf);class _0x173e4b extends _0xb53926[_0x5644d2(0xb5)]{async['getFormulaUsages'](){const _0x5ba652=_0x5644d2,_0x142f85=this[_0x5ba652(0xb9)]['get'](_0x3d07e5[_0x5ba652(0xc7)]),_0x272ab4=this[_0x5ba652(0xd2)](0x0,0x0,this[_0x5ba652(0xb0)]()+0x1,this[_0x5ba652(0xd8)]()+0x1)['getCellDataGrid']();return await _0x142f85[_0x5ba652(0xcd)](_0x272ab4);}async[_0x5644d2(0xda)](){const _0x11c299=_0x5644d2;return(await this[_0x11c299(0xba)]())['map'](_0x3d07e5['toA1']);}}_0xb53926[_0x5644d2(0xb5)][_0x5644d2(0xc8)](_0x173e4b);class _0x40cdbb extends _0xb53926[_0x5644d2(0xb1)]{async[_0x5644d2(0xba)](){const _0x46d175=_0x5644d2,_0x1c5a10=this[_0x46d175(0xb9)]['get'](_0x3d07e5[_0x46d175(0xc7)]),_0x3b29f8=(({startRow:_0x3f568f,endRow:_0x1e4bc0,startColumn:_0x47099b,endColumn:_0x2bbfa5})=>{const _0x15cea9=_0x46d175,_0x28493d=[];for(let _0x4f1031=_0x3f568f;_0x4f1031<=_0x1e4bc0;_0x4f1031++){const _0x5d00c5=[];for(let _0x4988d7=_0x47099b;_0x4988d7<=_0x2bbfa5;_0x4988d7++)_0x5d00c5[_0x15cea9(0xc1)](this[_0x15cea9(0xc5)][_0x15cea9(0xd4)](_0x4f1031,_0x4988d7));_0x28493d[_0x15cea9(0xc1)](_0x5d00c5);}return _0x28493d;})({'startRow':0x0,'endRow':this['_worksheet'][_0x46d175(0xb0)](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x57ede4=await _0x1c5a10['getAllFormulaUsages'](_0x3b29f8),_0x22cc26=this[_0x46d175(0xd2)](),_0x4450fb=[];for(let _0x45fdcb=0x0;_0x45fdcb<_0x57ede4['length'];_0x45fdcb++){const _0x1308f2=_0x57ede4[_0x45fdcb],_0x818af=_0x1308f2[_0x46d175(0xc4)],_0x474527=[];for(let _0x383e7e=0x0;_0x383e7e<_0x818af[_0x46d175(0xae)];_0x383e7e++){const _0xd2762a=_0x818af[_0x383e7e],_0x577d9a=_0x3b31a8['getIntersectRange'](_0xd2762a,_0x22cc26);_0x577d9a&&_0x474527[_0x46d175(0xc1)](_0x577d9a);}if(_0x474527[_0x46d175(0xae)]>0x0){_0x1308f2['filledRanges']=_0x474527;const _0x21ece3=_0x474527[0x0],_0x48e84a=_0x21ece3[_0x46d175(0xb2)]-_0x22cc26['startRow'],_0x339a03=_0x21ece3['startColumn']-_0x22cc26[_0x46d175(0xbe)];_0x1308f2[_0x46d175(0xc2)]=await _0x1c5a10[_0x46d175(0xca)](_0x1308f2[_0x46d175(0xc2)],_0x48e84a,_0x339a03),_0x4450fb[_0x46d175(0xc1)](_0x1308f2);}}return _0x4450fb;}async[_0x5644d2(0xda)](){const _0x171f3e=_0x5644d2;return(await this[_0x171f3e(0xba)]())[_0x171f3e(0xcb)](_0x3d07e5[_0x171f3e(0xaf)]);}}_0xb53926[_0x5644d2(0xb1)][_0x5644d2(0xc8)](_0x40cdbb);}));
|