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

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 _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);}));
1
+ function _0x133f(_0xc446c0,_0x3b3bae){const _0xa32f80=_0xa32f();return _0x133f=function(_0x133fe2,_0x569017){_0x133fe2=_0x133fe2-0x70;let _0x3b18ad=_0xa32f80[_0x133fe2];return _0x3b18ad;},_0x133f(_0xc446c0,_0x3b3bae);}function _0xa32f(){const _0x22a1b8=['push','2284qtvpxB','47512cTtNUb','function','@univerjs/core/facade','9946tdkmKC','getMaxRows','startRow','@univerjs/sheets-data-validation/facade','getIntersectRange','FWorkbook','getFormulaUsages','moveFormulaRefOffset','map','UniverSheetsFormulaFacade','640jYFwrg','getAllFormulaUsages','get','filledRanges','getMaxColumns','toA1','79uWeHBj','amd','formula','UniverCoreFacade','343ZrIbiD','680550SlOEmQ','getAllDataValidationErrorAsync','UniverSheetsDataValidationFacade','1962CITBzo','length','6226253WTRtdw','@univerjs-pro/sheets-mcp','getRange','getAllFormulaError','3265XygrAf','getActiveWorkbook','getLintErrors','getCellDataGrid','279951oMvjqo','getCellRaw','startColumn','_injector','_worksheet','UniverCore','extend','getFormulaUsagesAsA1','FUniver','IFormulaUsageAnalyzer','FRange','@univerjs/core'];_0xa32f=function(){return _0x22a1b8;};return _0xa32f();}(function(_0x1411cb,_0x1a37d6){const _0x479340=_0x133f,_0x236055=_0x1411cb();while(!![]){try{const _0x26e9d8=parseInt(_0x479340(0x95))/0x1*(-parseInt(_0x479340(0x85))/0x2)+parseInt(_0x479340(0x74))/0x3+-parseInt(_0x479340(0x81))/0x4*(-parseInt(_0x479340(0x70))/0x5)+-parseInt(_0x479340(0x9a))/0x6+parseInt(_0x479340(0x99))/0x7*(-parseInt(_0x479340(0x82))/0x8)+-parseInt(_0x479340(0x9d))/0x9*(-parseInt(_0x479340(0x8f))/0xa)+parseInt(_0x479340(0x9f))/0xb;if(_0x26e9d8===_0x1a37d6)break;else _0x236055['push'](_0x236055['shift']());}catch(_0x58cecf){_0x236055['push'](_0x236055['shift']());}}}(_0xa32f,0x3cc14),function(_0x4c5568,_0x28b763){const _0x1f7554=_0x133f;typeof exports=='object'&&typeof module<'u'?_0x28b763(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==_0x1f7554(0x83)&&define[_0x1f7554(0x96)]?define([_0x1f7554(0x84),'@univerjs/sheets-formula/facade',_0x1f7554(0x88),'@univerjs/sheets/facade',_0x1f7554(0xa0),_0x1f7554(0x7f)],_0x28b763):(_0x4c5568=typeof globalThis<'u'?globalThis:_0x4c5568||self,_0x28b763(_0x4c5568[_0x1f7554(0x98)],_0x4c5568[_0x1f7554(0x8e)],_0x4c5568[_0x1f7554(0x9c)],_0x4c5568['UniverSheetsFacade'],_0x4c5568['UniverProSheetsMcp'],_0x4c5568[_0x1f7554(0x79)]));}(this,function(_0x447f4f,_0x26f212,_0x27a7e2,_0x493c89,_0x2b9115,_0x3c0f68){'use strict';const _0x3af002=_0x133f;class _0xd8b238 extends _0x447f4f[_0x3af002(0x7c)]{async['getLintErrors'](){const _0x40ce60=_0x3af002;return this[_0x40ce60(0x71)]()[_0x40ce60(0x72)]();}}_0x447f4f[_0x3af002(0x7c)][_0x3af002(0x7a)](_0xd8b238);class _0x51b947 extends _0x493c89[_0x3af002(0x8a)]{async['getLintErrors'](){const _0x4911d2=_0x3af002,_0x256ff5=this[_0x4911d2(0xa2)](),_0x24f7ee=await this[_0x4911d2(0x9b)]();return{'formulaErrors':_0x256ff5,'dataValidationErrors':_0x24f7ee};}}_0x493c89[_0x3af002(0x8a)][_0x3af002(0x7a)](_0x51b947);class _0x2090e3 extends _0x493c89['FWorksheet']{async[_0x3af002(0x8b)](){const _0x27a3e3=_0x3af002,_0x1fe32e=this[_0x27a3e3(0x77)][_0x27a3e3(0x91)](_0x2b9115[_0x27a3e3(0x7d)]),_0x1f69c0=this['getRange'](0x0,0x0,this[_0x27a3e3(0x86)]()+0x1,this[_0x27a3e3(0x93)]()+0x1)[_0x27a3e3(0x73)]();return await _0x1fe32e[_0x27a3e3(0x90)](_0x1f69c0);}async[_0x3af002(0x7b)](){const _0x43c9e4=_0x3af002;return(await this[_0x43c9e4(0x8b)]())['map'](_0x2b9115[_0x43c9e4(0x94)]);}}_0x493c89['FWorksheet'][_0x3af002(0x7a)](_0x2090e3);class _0x3e9b0d extends _0x493c89[_0x3af002(0x7e)]{async['getFormulaUsages'](){const _0x4b606f=_0x3af002,_0x38bce7=this[_0x4b606f(0x77)]['get'](_0x2b9115['IFormulaUsageAnalyzer']),_0x23120d=(({startRow:_0x1b62b7,endRow:_0x2eaae7,startColumn:_0x17d6eb,endColumn:_0x5f5b1d})=>{const _0x4c279b=_0x4b606f,_0x33bc7e=[];for(let _0x35b80d=_0x1b62b7;_0x35b80d<=_0x2eaae7;_0x35b80d++){const _0x58f7d5=[];for(let _0xe2455f=_0x17d6eb;_0xe2455f<=_0x5f5b1d;_0xe2455f++)_0x58f7d5[_0x4c279b(0x80)](this[_0x4c279b(0x78)][_0x4c279b(0x75)](_0x35b80d,_0xe2455f));_0x33bc7e['push'](_0x58f7d5);}return _0x33bc7e;})({'startRow':0x0,'endRow':this[_0x4b606f(0x78)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x4b606f(0x78)][_0x4b606f(0x93)]()}),_0x1df111=await _0x38bce7['getAllFormulaUsages'](_0x23120d),_0x4bf2b2=this[_0x4b606f(0xa1)](),_0x3ca630=[];for(let _0x33ca8e=0x0;_0x33ca8e<_0x1df111['length'];_0x33ca8e++){const _0x501935=_0x1df111[_0x33ca8e],_0x478ca4=_0x501935['filledRanges'],_0x3eee6e=[];for(let _0x4c52dc=0x0;_0x4c52dc<_0x478ca4[_0x4b606f(0x9e)];_0x4c52dc++){const _0x1234e8=_0x478ca4[_0x4c52dc],_0x2671ea=_0x3c0f68[_0x4b606f(0x89)](_0x1234e8,_0x4bf2b2);_0x2671ea&&_0x3eee6e[_0x4b606f(0x80)](_0x2671ea);}if(_0x3eee6e[_0x4b606f(0x9e)]>0x0){_0x501935[_0x4b606f(0x92)]=_0x3eee6e;const _0x36dec0=_0x3eee6e[0x0],_0x163abc=_0x36dec0[_0x4b606f(0x87)]-_0x4bf2b2[_0x4b606f(0x87)],_0x798e28=_0x36dec0[_0x4b606f(0x76)]-_0x4bf2b2[_0x4b606f(0x76)];_0x501935[_0x4b606f(0x97)]=await _0x38bce7[_0x4b606f(0x8c)](_0x501935['formula'],_0x163abc,_0x798e28),_0x3ca630[_0x4b606f(0x80)](_0x501935);}}return _0x3ca630;}async[_0x3af002(0x7b)](){const _0x316658=_0x3af002;return(await this[_0x316658(0x8b)]())[_0x316658(0x8d)](_0x2b9115[_0x316658(0x94)]);}}_0x493c89[_0x3af002(0x7e)][_0x3af002(0x7a)](_0x3e9b0d);}));