@univerjs-pro/sheets-mcp 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-d708bff

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/umd/facade.js CHANGED
@@ -1 +1 @@
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);}));
1
+ function _0x388a(){const _0x5271c3=['FRange','toA1','1213604zEtOhF','startColumn','getCellRaw','getLintErrors','_worksheet','4987254Jqdnkw','552904TAFnAa','map','1139268NOaFRs','_injector','FWorkbook','FWorksheet','UniverCoreFacade','IFormulaUsageAnalyzer','getMaxColumns','getAllDataValidationErrorAsync','142928QDRCrC','5ASLKZp','length','UniverSheetsDataValidationFacade','startRow','FUniver','get','7981551YmLHkh','UniverCore','extend','66yavEDK','getActiveWorkbook','@univerjs-pro/sheets-mcp','16ysGGkl','getRange','object','UniverSheetsFacade','filledRanges','push','10SpxJLA','getFormulaUsages','@univerjs/sheets-data-validation/facade','getIntersectRange','moveFormulaRefOffset','517CfOCFo','@univerjs/sheets-formula/facade','UniverSheetsFormulaFacade','getAllFormulaError','906899zZKIah','@univerjs/core/facade','@univerjs/core'];_0x388a=function(){return _0x5271c3;};return _0x388a();}function _0x36f5(_0x2b7200,_0x2ff21f){_0x2b7200=_0x2b7200-0x73;const _0x388a4f=_0x388a();let _0x36f5de=_0x388a4f[_0x2b7200];return _0x36f5de;}(function(_0x3ad0f6,_0x4c74c2){const _0x49e24c=_0x36f5,_0x424920=_0x3ad0f6();while(!![]){try{const _0x48e708=-parseInt(_0x49e24c(0x8d))/0x1+-parseInt(_0x49e24c(0x93))/0x2+-parseInt(_0x49e24c(0x76))/0x3*(parseInt(_0x49e24c(0x9d))/0x4)+-parseInt(_0x49e24c(0x9e))/0x5*(parseInt(_0x49e24c(0x92))/0x6)+parseInt(_0x49e24c(0x88))/0x7*(parseInt(_0x49e24c(0x79))/0x8)+-parseInt(_0x49e24c(0x73))/0x9*(parseInt(_0x49e24c(0x7f))/0xa)+parseInt(_0x49e24c(0x84))/0xb*(parseInt(_0x49e24c(0x95))/0xc);if(_0x48e708===_0x4c74c2)break;else _0x424920['push'](_0x424920['shift']());}catch(_0x14c693){_0x424920['push'](_0x424920['shift']());}}}(_0x388a,0xb17ff),function(_0x4acd66,_0x2ceb6a){const _0xcd698c=_0x36f5;typeof exports==_0xcd698c(0x7b)&&typeof module<'u'?_0x2ceb6a(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=='function'&&define['amd']?define([_0xcd698c(0x89),_0xcd698c(0x85),_0xcd698c(0x81),'@univerjs/sheets/facade',_0xcd698c(0x78),_0xcd698c(0x8a)],_0x2ceb6a):(_0x4acd66=typeof globalThis<'u'?globalThis:_0x4acd66||self,_0x2ceb6a(_0x4acd66[_0xcd698c(0x99)],_0x4acd66[_0xcd698c(0x86)],_0x4acd66[_0xcd698c(0xa0)],_0x4acd66[_0xcd698c(0x7c)],_0x4acd66['UniverProSheetsMcp'],_0x4acd66[_0xcd698c(0x74)]));}(this,function(_0x8aa68,_0x32b9f3,_0x2c9827,_0x2b8ac2,_0x239573,_0x14348a){'use strict';const _0xa3f53b=_0x36f5;class _0x59cfe2 extends _0x8aa68[_0xa3f53b(0xa2)]{async[_0xa3f53b(0x90)](){const _0x32373e=_0xa3f53b;return this[_0x32373e(0x77)]()[_0x32373e(0x90)]();}}_0x8aa68[_0xa3f53b(0xa2)][_0xa3f53b(0x75)](_0x59cfe2);class _0x305e8f extends _0x2b8ac2['FWorkbook']{async['getLintErrors'](){const _0x284a1b=_0xa3f53b,_0x592eac=this[_0x284a1b(0x87)](),_0x177e02=await this[_0x284a1b(0x9c)]();return{'formulaErrors':_0x592eac,'dataValidationErrors':_0x177e02};}}_0x2b8ac2[_0xa3f53b(0x97)][_0xa3f53b(0x75)](_0x305e8f);class _0x114ba3 extends _0x2b8ac2['FWorksheet']{async[_0xa3f53b(0x80)](){const _0x572def=_0xa3f53b,_0x39aded=this[_0x572def(0x96)]['get'](_0x239573[_0x572def(0x9a)]),_0x217438=this['getRange'](0x0,0x0,this['getMaxRows']()+0x1,this[_0x572def(0x9b)]()+0x1)['getCellDataGrid']();return await _0x39aded['getAllFormulaUsages'](_0x217438);}async['getFormulaUsagesAsA1'](){const _0x2aaba7=_0xa3f53b;return(await this[_0x2aaba7(0x80)]())[_0x2aaba7(0x94)](_0x239573[_0x2aaba7(0x8c)]);}}_0x2b8ac2[_0xa3f53b(0x98)][_0xa3f53b(0x75)](_0x114ba3);class _0x10683b extends _0x2b8ac2[_0xa3f53b(0x8b)]{async[_0xa3f53b(0x80)](){const _0x408e55=_0xa3f53b,_0x2a3da5=this[_0x408e55(0x96)][_0x408e55(0xa3)](_0x239573[_0x408e55(0x9a)]),_0x2d281a=(({startRow:_0x1c8cfa,endRow:_0x37254a,startColumn:_0x3a2ac7,endColumn:_0x43a008})=>{const _0x3eac3f=_0x408e55,_0x4ac3dc=[];for(let _0x3cf659=_0x1c8cfa;_0x3cf659<=_0x37254a;_0x3cf659++){const _0x228e68=[];for(let _0x7a583d=_0x3a2ac7;_0x7a583d<=_0x43a008;_0x7a583d++)_0x228e68[_0x3eac3f(0x7e)](this[_0x3eac3f(0x91)][_0x3eac3f(0x8f)](_0x3cf659,_0x7a583d));_0x4ac3dc['push'](_0x228e68);}return _0x4ac3dc;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x408e55(0x91)][_0x408e55(0x9b)]()}),_0x3c1267=await _0x2a3da5['getAllFormulaUsages'](_0x2d281a),_0x1df5fc=this[_0x408e55(0x7a)](),_0x1f7934=[];for(let _0xb92cc3=0x0;_0xb92cc3<_0x3c1267[_0x408e55(0x9f)];_0xb92cc3++){const _0x55ab14=_0x3c1267[_0xb92cc3],_0x363d88=_0x55ab14[_0x408e55(0x7d)],_0x471734=[];for(let _0x39520b=0x0;_0x39520b<_0x363d88[_0x408e55(0x9f)];_0x39520b++){const _0x165e1e=_0x363d88[_0x39520b],_0x2cb783=_0x14348a[_0x408e55(0x82)](_0x165e1e,_0x1df5fc);_0x2cb783&&_0x471734[_0x408e55(0x7e)](_0x2cb783);}if(_0x471734[_0x408e55(0x9f)]>0x0){_0x55ab14['filledRanges']=_0x471734;const _0x4f5845=_0x471734[0x0],_0x3d71e1=_0x4f5845['startRow']-_0x1df5fc[_0x408e55(0xa1)],_0x492031=_0x4f5845[_0x408e55(0x8e)]-_0x1df5fc[_0x408e55(0x8e)];_0x55ab14['formula']=await _0x2a3da5[_0x408e55(0x83)](_0x55ab14['formula'],_0x3d71e1,_0x492031),_0x1f7934['push'](_0x55ab14);}}return _0x1f7934;}async['getFormulaUsagesAsA1'](){const _0x2cf4e3=_0xa3f53b;return(await this[_0x2cf4e3(0x80)]())[_0x2cf4e3(0x94)](_0x239573[_0x2cf4e3(0x8c)]);}}_0x2b8ac2['FRange'][_0xa3f53b(0x75)](_0x10683b);}));