@univerjs-pro/sheets-mcp 0.10.14-nightly.202511080715 → 0.11.0-nightly.202511151013

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 _0x1209(_0x5c359a,_0x1ba794){const _0x540672=_0x5406();return _0x1209=function(_0x120910,_0x1af61d){_0x120910=_0x120910-0x94;let _0x58c62f=_0x540672[_0x120910];return _0x58c62f;},_0x1209(_0x5c359a,_0x1ba794);}function _0x5406(){const _0x48da63=['FUniver','UniverCoreFacade','@univerjs/sheets/facade','function','object','map','moveFormulaRefOffset','_worksheet','@univerjs/core','getMaxColumns','formula','getLintErrors','7247716ZiFShc','amd','getCellRaw','getAllFormulaUsages','startRow','5090672DelIaN','getRange','getCellDataGrid','getFormulaUsagesAsA1','extend','FRange','IFormulaUsageAnalyzer','5752266gJZKCw','getActiveWorkbook','2QAXaCU','getFormulaUsages','3830836IoGfHl','get','462024idJLlH','getMaxRows','UniverCore','filledRanges','266785BCqQGC','UniverSheetsFacade','_injector','startColumn','push','2878773MLJAHp','FWorksheet','@univerjs/sheets-data-validation/facade','UniverProSheetsMcp','getIntersectRange','FWorkbook','UniverSheetsDataValidationFacade','length'];_0x5406=function(){return _0x48da63;};return _0x5406();}(function(_0x45aaed,_0x21a769){const _0x1c9101=_0x1209,_0x4ac45e=_0x45aaed();while(!![]){try{const _0x19a212=parseInt(_0x1c9101(0xb6))/0x1+-parseInt(_0x1c9101(0xb2))/0x2*(-parseInt(_0x1c9101(0xbf))/0x3)+-parseInt(_0x1c9101(0xb4))/0x4+-parseInt(_0x1c9101(0xba))/0x5+parseInt(_0x1c9101(0xb0))/0x6+-parseInt(_0x1c9101(0xa4))/0x7+parseInt(_0x1c9101(0xa9))/0x8;if(_0x19a212===_0x21a769)break;else _0x4ac45e['push'](_0x4ac45e['shift']());}catch(_0x185980){_0x4ac45e['push'](_0x4ac45e['shift']());}}}(_0x5406,0xecdde),function(_0x32340a,_0xce054e){const _0x58aa70=_0x1209;typeof exports==_0x58aa70(0x9c)&&typeof module<'u'?_0xce054e(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==_0x58aa70(0x9b)&&define[_0x58aa70(0xa5)]?define(['@univerjs/core/facade','@univerjs/sheets-formula/facade',_0x58aa70(0xc1),_0x58aa70(0x9a),'@univerjs-pro/sheets-mcp',_0x58aa70(0xa0)],_0xce054e):(_0x32340a=typeof globalThis<'u'?globalThis:_0x32340a||self,_0xce054e(_0x32340a[_0x58aa70(0x99)],_0x32340a['UniverSheetsFormulaFacade'],_0x32340a[_0x58aa70(0x96)],_0x32340a[_0x58aa70(0xbb)],_0x32340a[_0x58aa70(0xc2)],_0x32340a[_0x58aa70(0xb8)]));}(this,function(_0x47613b,_0x261ffb,_0xcb37b4,_0x53a747,_0x3075eb,_0x4dda45){'use strict';const _0x3be188=_0x1209;class _0x1f0c63 extends _0x47613b[_0x3be188(0x98)]{async[_0x3be188(0xa3)](){const _0x517a78=_0x3be188;return this[_0x517a78(0xb1)]()[_0x517a78(0xa3)]();}}_0x47613b[_0x3be188(0x98)][_0x3be188(0xad)](_0x1f0c63);class _0x49e110 extends _0x53a747[_0x3be188(0x95)]{async[_0x3be188(0xa3)](){const _0x14cda2=this['getAllFormulaError'](),_0x209995=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x14cda2,'dataValidationErrors':_0x209995};}}_0x53a747[_0x3be188(0x95)]['extend'](_0x49e110);class _0x3db83f extends _0x53a747['FWorksheet']{async[_0x3be188(0xb3)](){const _0x294aba=_0x3be188,_0x1cf40d=this[_0x294aba(0xbc)]['get'](_0x3075eb[_0x294aba(0xaf)]),_0x57569a=this[_0x294aba(0xaa)](0x0,0x0,this[_0x294aba(0xb7)]()+0x1,this[_0x294aba(0xa1)]()+0x1)[_0x294aba(0xab)]();return await _0x1cf40d['getAllFormulaUsages'](_0x57569a);}async[_0x3be188(0xac)](){const _0x222475=_0x3be188;return(await this[_0x222475(0xb3)]())[_0x222475(0x9d)](_0x3075eb['toA1']);}}_0x53a747[_0x3be188(0xc0)][_0x3be188(0xad)](_0x3db83f);class _0x5c4e2e extends _0x53a747[_0x3be188(0xae)]{async['getFormulaUsages'](){const _0x570135=_0x3be188,_0x461935=this[_0x570135(0xbc)][_0x570135(0xb5)](_0x3075eb[_0x570135(0xaf)]),_0x213d84=(({startRow:_0x24aecc,endRow:_0x15ea01,startColumn:_0x3304eb,endColumn:_0xd7603})=>{const _0x5149bd=_0x570135,_0x4d5914=[];for(let _0x233072=_0x24aecc;_0x233072<=_0x15ea01;_0x233072++){const _0x1c0120=[];for(let _0x24b7ff=_0x3304eb;_0x24b7ff<=_0xd7603;_0x24b7ff++)_0x1c0120[_0x5149bd(0xbe)](this[_0x5149bd(0x9f)][_0x5149bd(0xa6)](_0x233072,_0x24b7ff));_0x4d5914[_0x5149bd(0xbe)](_0x1c0120);}return _0x4d5914;})({'startRow':0x0,'endRow':this[_0x570135(0x9f)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x570135(0x9f)]['getMaxColumns']()}),_0x29c5cd=await _0x461935[_0x570135(0xa7)](_0x213d84),_0x35b468=this[_0x570135(0xaa)](),_0x14e99a=[];for(let _0x5b4492=0x0;_0x5b4492<_0x29c5cd[_0x570135(0x97)];_0x5b4492++){const _0xb8f87=_0x29c5cd[_0x5b4492],_0x15c5bf=_0xb8f87[_0x570135(0xb9)],_0x35727a=[];for(let _0x444321=0x0;_0x444321<_0x15c5bf[_0x570135(0x97)];_0x444321++){const _0x32311a=_0x15c5bf[_0x444321],_0xe97542=_0x4dda45[_0x570135(0x94)](_0x32311a,_0x35b468);_0xe97542&&_0x35727a['push'](_0xe97542);}if(_0x35727a['length']>0x0){_0xb8f87['filledRanges']=_0x35727a;const _0x2c6a9d=_0x35727a[0x0],_0x597aa2=_0x2c6a9d['startRow']-_0x35b468[_0x570135(0xa8)],_0xfa2b96=_0x2c6a9d[_0x570135(0xbd)]-_0x35b468['startColumn'];_0xb8f87[_0x570135(0xa2)]=await _0x461935[_0x570135(0x9e)](_0xb8f87['formula'],_0x597aa2,_0xfa2b96),_0x14e99a[_0x570135(0xbe)](_0xb8f87);}}return _0x14e99a;}async[_0x3be188(0xac)](){const _0x59e117=_0x3be188;return(await this[_0x59e117(0xb3)]())[_0x59e117(0x9d)](_0x3075eb['toA1']);}}_0x53a747[_0x3be188(0xae)][_0x3be188(0xad)](_0x5c4e2e);}));
1
+ function _0x1e9e(){const _0x1762e5=['getMaxRows','_worksheet','getAllFormulaError','@univerjs/sheets/facade','getFormulaUsagesAsA1','getFormulaUsages','1276924tZJTuS','49uFOLbj','extend','startRow','object','@univerjs/core','10aARqXb','UniverCoreFacade','38698060kJULcQ','getActiveWorkbook','FUniver','formula','getCellDataGrid','@univerjs/core/facade','2009624URcfug','getCellRaw','getIntersectRange','function','FRange','map','amd','filledRanges','_injector','getRange','IFormulaUsageAnalyzer','4205358bGiZlP','FWorksheet','1809798FkOJpo','4894731vmjOTK','3LGoRzD','UniverSheetsFormulaFacade','moveFormulaRefOffset','getAllDataValidationErrorAsync','getAllFormulaUsages','UniverSheetsDataValidationFacade','push','223979BEHRsn','UniverSheetsFacade','@univerjs/sheets-data-validation/facade','getMaxColumns','length','get','FWorkbook','@univerjs/sheets-formula/facade','getLintErrors','startColumn'];_0x1e9e=function(){return _0x1762e5;};return _0x1e9e();}function _0x5d5f(_0x373317,_0x5ac3e1){const _0x1e9e79=_0x1e9e();return _0x5d5f=function(_0x5d5fc2,_0x4f4b5c){_0x5d5fc2=_0x5d5fc2-0xd4;let _0x31eafe=_0x1e9e79[_0x5d5fc2];return _0x31eafe;},_0x5d5f(_0x373317,_0x5ac3e1);}(function(_0x39d5c6,_0x65c12b){const _0x2043f9=_0x5d5f,_0x18d9f0=_0x39d5c6();while(!![]){try{const _0x34a553=parseInt(_0x2043f9(0xf0))/0x1+parseInt(_0x2043f9(0xe7))/0x2*(-parseInt(_0x2043f9(0xe9))/0x3)+parseInt(_0x2043f9(0x100))/0x4*(-parseInt(_0x2043f9(0x106))/0x5)+parseInt(_0x2043f9(0xe5))/0x6+-parseInt(_0x2043f9(0x101))/0x7*(parseInt(_0x2043f9(0xda))/0x8)+-parseInt(_0x2043f9(0xe8))/0x9+parseInt(_0x2043f9(0xd4))/0xa;if(_0x34a553===_0x65c12b)break;else _0x18d9f0['push'](_0x18d9f0['shift']());}catch(_0x559218){_0x18d9f0['push'](_0x18d9f0['shift']());}}}(_0x1e9e,0xe7b2d),function(_0x21614a,_0x1f3e95){const _0x511fff=_0x5d5f;typeof exports==_0x511fff(0x104)&&typeof module<'u'?_0x1f3e95(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==_0x511fff(0xdd)&&define[_0x511fff(0xe0)]?define([_0x511fff(0xd9),_0x511fff(0xf7),_0x511fff(0xf2),_0x511fff(0xfd),'@univerjs-pro/sheets-mcp',_0x511fff(0x105)],_0x1f3e95):(_0x21614a=typeof globalThis<'u'?globalThis:_0x21614a||self,_0x1f3e95(_0x21614a[_0x511fff(0x107)],_0x21614a[_0x511fff(0xea)],_0x21614a[_0x511fff(0xee)],_0x21614a[_0x511fff(0xf1)],_0x21614a['UniverProSheetsMcp'],_0x21614a['UniverCore']));}(this,function(_0x2cc7f1,_0x5636e2,_0x661199,_0x3cb89d,_0x3a0c7f,_0x21f12c){'use strict';const _0x31c113=_0x5d5f;class _0x28abe8 extends _0x2cc7f1[_0x31c113(0xd6)]{async['getLintErrors'](){const _0x3b9cee=_0x31c113;return this[_0x3b9cee(0xd5)]()['getLintErrors']();}}_0x2cc7f1[_0x31c113(0xd6)]['extend'](_0x28abe8);class _0x142d77 extends _0x3cb89d['FWorkbook']{async[_0x31c113(0xf8)](){const _0x377ee5=_0x31c113,_0x1cdd90=this[_0x377ee5(0xfc)](),_0x305f60=await this[_0x377ee5(0xec)]();return{'formulaErrors':_0x1cdd90,'dataValidationErrors':_0x305f60};}}_0x3cb89d[_0x31c113(0xf6)][_0x31c113(0x102)](_0x142d77);class _0x13fb9b extends _0x3cb89d[_0x31c113(0xe6)]{async[_0x31c113(0xff)](){const _0x19ec40=_0x31c113,_0x4f0cbd=this[_0x19ec40(0xe2)][_0x19ec40(0xf5)](_0x3a0c7f[_0x19ec40(0xe4)]),_0x1c11ce=this['getRange'](0x0,0x0,this[_0x19ec40(0xfa)]()+0x1,this[_0x19ec40(0xf3)]()+0x1)[_0x19ec40(0xd8)]();return await _0x4f0cbd[_0x19ec40(0xed)](_0x1c11ce);}async[_0x31c113(0xfe)](){const _0x353a80=_0x31c113;return(await this[_0x353a80(0xff)]())[_0x353a80(0xdf)](_0x3a0c7f['toA1']);}}_0x3cb89d['FWorksheet'][_0x31c113(0x102)](_0x13fb9b);class _0x30e1d9 extends _0x3cb89d[_0x31c113(0xde)]{async[_0x31c113(0xff)](){const _0x1c0792=_0x31c113,_0xe52f8d=this[_0x1c0792(0xe2)][_0x1c0792(0xf5)](_0x3a0c7f[_0x1c0792(0xe4)]),_0x46f0f4=(({startRow:_0x179e8c,endRow:_0x1bf074,startColumn:_0x5c63b6,endColumn:_0x5a6eb4})=>{const _0x5b29df=_0x1c0792,_0x48887f=[];for(let _0x5e60dd=_0x179e8c;_0x5e60dd<=_0x1bf074;_0x5e60dd++){const _0x5a73bc=[];for(let _0x3e6391=_0x5c63b6;_0x3e6391<=_0x5a6eb4;_0x3e6391++)_0x5a73bc[_0x5b29df(0xef)](this[_0x5b29df(0xfb)][_0x5b29df(0xdb)](_0x5e60dd,_0x3e6391));_0x48887f['push'](_0x5a73bc);}return _0x48887f;})({'startRow':0x0,'endRow':this[_0x1c0792(0xfb)][_0x1c0792(0xfa)](),'startColumn':0x0,'endColumn':this[_0x1c0792(0xfb)][_0x1c0792(0xf3)]()}),_0x3cbc46=await _0xe52f8d[_0x1c0792(0xed)](_0x46f0f4),_0x4d39b2=this[_0x1c0792(0xe3)](),_0x11c641=[];for(let _0x42eb69=0x0;_0x42eb69<_0x3cbc46[_0x1c0792(0xf4)];_0x42eb69++){const _0x2fc43a=_0x3cbc46[_0x42eb69],_0x5bd5c8=_0x2fc43a[_0x1c0792(0xe1)],_0x657c2=[];for(let _0xbc71fa=0x0;_0xbc71fa<_0x5bd5c8[_0x1c0792(0xf4)];_0xbc71fa++){const _0x123ac7=_0x5bd5c8[_0xbc71fa],_0x27c444=_0x21f12c[_0x1c0792(0xdc)](_0x123ac7,_0x4d39b2);_0x27c444&&_0x657c2[_0x1c0792(0xef)](_0x27c444);}if(_0x657c2[_0x1c0792(0xf4)]>0x0){_0x2fc43a[_0x1c0792(0xe1)]=_0x657c2;const _0x52f8fc=_0x657c2[0x0],_0x22c3e8=_0x52f8fc[_0x1c0792(0x103)]-_0x4d39b2['startRow'],_0x349f5f=_0x52f8fc[_0x1c0792(0xf9)]-_0x4d39b2['startColumn'];_0x2fc43a[_0x1c0792(0xd7)]=await _0xe52f8d[_0x1c0792(0xeb)](_0x2fc43a['formula'],_0x22c3e8,_0x349f5f),_0x11c641[_0x1c0792(0xef)](_0x2fc43a);}}return _0x11c641;}async[_0x31c113(0xfe)](){const _0x4ec495=_0x31c113;return(await this[_0x4ec495(0xff)]())[_0x4ec495(0xdf)](_0x3a0c7f['toA1']);}}_0x3cb89d['FRange'][_0x31c113(0x102)](_0x30e1d9);}));