@univerjs-pro/sheets-mcp 0.12.3-experimental.20251204-1549a8e → 0.12.3-experimental.20251205-e439e48

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.
@@ -50,12 +50,12 @@ export declare const ZodConditionalFormatRuleSchema: z.ZodObject<{
50
50
  sub_type: z.ZodOptional<z.ZodEnum<{
51
51
  number: "number";
52
52
  text: "text";
53
- formula: "formula";
54
53
  uniqueValues: "uniqueValues";
55
54
  duplicateValues: "duplicateValues";
56
55
  rank: "rank";
57
56
  timePeriod: "timePeriod";
58
57
  average: "average";
58
+ formula: "formula";
59
59
  }>>;
60
60
  operator: z.ZodOptional<z.ZodEnum<{
61
61
  endsWith: "endsWith";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4ae0(_0x34290e,_0x580e2f){_0x34290e=_0x34290e-0x74;const _0x3b2766=_0x3b27();let _0x4ae08e=_0x3b2766[_0x34290e];return _0x4ae08e;}(function(_0x5c4461,_0x14455a){const _0x519020=_0x4ae0,_0x4ce63e=_0x5c4461();while(!![]){try{const _0x210e47=-parseInt(_0x519020(0x84))/0x1+-parseInt(_0x519020(0x97))/0x2+-parseInt(_0x519020(0x75))/0x3*(-parseInt(_0x519020(0x8d))/0x4)+parseInt(_0x519020(0x9b))/0x5+-parseInt(_0x519020(0xa0))/0x6+parseInt(_0x519020(0x77))/0x7+-parseInt(_0x519020(0x91))/0x8*(-parseInt(_0x519020(0x9e))/0x9);if(_0x210e47===_0x14455a)break;else _0x4ce63e['push'](_0x4ce63e['shift']());}catch(_0x4156b5){_0x4ce63e['push'](_0x4ce63e['shift']());}}}(_0x3b27,0x629a0),function(_0x5e6a11,_0x2427d3){const _0x1b5e6a=_0x4ae0;typeof exports=='object'&&typeof module<'u'?_0x2427d3(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(['@univerjs/core/facade',_0x1b5e6a(0x94),_0x1b5e6a(0x9a),_0x1b5e6a(0x82),_0x1b5e6a(0x7d),_0x1b5e6a(0x8a)],_0x2427d3):(_0x5e6a11=typeof globalThis<'u'?globalThis:_0x5e6a11||self,_0x2427d3(_0x5e6a11[_0x1b5e6a(0xa3)],_0x5e6a11[_0x1b5e6a(0x86)],_0x5e6a11[_0x1b5e6a(0x96)],_0x5e6a11[_0x1b5e6a(0x7c)],_0x5e6a11[_0x1b5e6a(0x8b)],_0x5e6a11[_0x1b5e6a(0x93)]));}(this,function(_0x2b40dd,_0xcfb8c7,_0x2d0376,_0x3a18ed,_0x21f2e0,_0x512ce6){'use strict';const _0x46a5bf=_0x4ae0;class _0x1b01bf extends _0x2b40dd[_0x46a5bf(0x99)]{async[_0x46a5bf(0x87)](){const _0x16b4cd=_0x46a5bf;return this[_0x16b4cd(0x9c)]()[_0x16b4cd(0x87)]();}}_0x2b40dd[_0x46a5bf(0x99)][_0x46a5bf(0x79)](_0x1b01bf);class _0x48582c extends _0x3a18ed['FWorkbook']{async[_0x46a5bf(0x87)](){const _0x124fe2=_0x46a5bf,_0x2d1450=this[_0x124fe2(0x78)](),_0x3f8460=await this[_0x124fe2(0x85)]();return{'formulaErrors':_0x2d1450,'dataValidationErrors':_0x3f8460};}}_0x3a18ed[_0x46a5bf(0x76)][_0x46a5bf(0x79)](_0x48582c);class _0x529514 extends _0x3a18ed[_0x46a5bf(0x7b)]{async['getFormulaUsages'](){const _0xb74f4=_0x46a5bf,_0x1ce2be=this[_0xb74f4(0x9d)]['get'](_0x21f2e0[_0xb74f4(0x8f)]),_0x5e79ec=this['getRange'](0x0,0x0,this[_0xb74f4(0x7a)]()+0x1,this[_0xb74f4(0x8e)]()+0x1)[_0xb74f4(0xa2)]();return await _0x1ce2be[_0xb74f4(0x83)](_0x5e79ec);}async[_0x46a5bf(0x7f)](){const _0x2b0bb6=_0x46a5bf;return(await this['getFormulaUsages']())[_0x2b0bb6(0x80)](_0x21f2e0['toA1']);}}_0x3a18ed[_0x46a5bf(0x7b)][_0x46a5bf(0x79)](_0x529514);class _0x3257e6 extends _0x3a18ed[_0x46a5bf(0x89)]{async[_0x46a5bf(0x88)](){const _0x35c1d1=_0x46a5bf,_0x48f47c=this[_0x35c1d1(0x9d)][_0x35c1d1(0x95)](_0x21f2e0['IFormulaUsageAnalyzer']),_0x6a5217=(({startRow:_0x5f40f5,endRow:_0x5afd54,startColumn:_0x2912cb,endColumn:_0x37e696})=>{const _0x37372d=_0x35c1d1,_0x1976da=[];for(let _0x2e4315=_0x5f40f5;_0x2e4315<=_0x5afd54;_0x2e4315++){const _0x26256b=[];for(let _0x5b815c=_0x2912cb;_0x5b815c<=_0x37e696;_0x5b815c++)_0x26256b[_0x37372d(0x90)](this[_0x37372d(0x7e)]['getCellRaw'](_0x2e4315,_0x5b815c));_0x1976da[_0x37372d(0x90)](_0x26256b);}return _0x1976da;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x35c1d1(0x7e)][_0x35c1d1(0x8e)]()}),_0x36cb69=await _0x48f47c[_0x35c1d1(0x83)](_0x6a5217),_0x197498=this['getRange'](),_0x158a2f=[];for(let _0xe018a1=0x0;_0xe018a1<_0x36cb69[_0x35c1d1(0x9f)];_0xe018a1++){const _0x1f0d04=_0x36cb69[_0xe018a1],_0x4467f9=_0x1f0d04[_0x35c1d1(0x8c)],_0x454ad7=[];for(let _0x5e973e=0x0;_0x5e973e<_0x4467f9[_0x35c1d1(0x9f)];_0x5e973e++){const _0x52e6ab=_0x4467f9[_0x5e973e],_0x1f8040=_0x512ce6[_0x35c1d1(0xa1)](_0x52e6ab,_0x197498);_0x1f8040&&_0x454ad7[_0x35c1d1(0x90)](_0x1f8040);}if(_0x454ad7[_0x35c1d1(0x9f)]>0x0){_0x1f0d04['filledRanges']=_0x454ad7;const _0x564502=_0x454ad7[0x0],_0x2ae4e7=_0x564502[_0x35c1d1(0x81)]-_0x197498[_0x35c1d1(0x81)],_0x300476=_0x564502[_0x35c1d1(0x92)]-_0x197498['startColumn'];_0x1f0d04[_0x35c1d1(0x98)]=await _0x48f47c['moveFormulaRefOffset'](_0x1f0d04[_0x35c1d1(0x98)],_0x2ae4e7,_0x300476),_0x158a2f['push'](_0x1f0d04);}}return _0x158a2f;}async[_0x46a5bf(0x7f)](){const _0x56dee5=_0x46a5bf;return(await this['getFormulaUsages']())[_0x56dee5(0x80)](_0x21f2e0[_0x56dee5(0x74)]);}}_0x3a18ed[_0x46a5bf(0x89)]['extend'](_0x3257e6);}));function _0x3b27(){const _0x1dc4e0=['5088370lJYSKT','getAllFormulaError','extend','getMaxRows','FWorksheet','UniverSheetsFacade','@univerjs-pro/sheets-mcp','_worksheet','getFormulaUsagesAsA1','map','startRow','@univerjs/sheets/facade','getAllFormulaUsages','691319rmhEhE','getAllDataValidationErrorAsync','UniverSheetsFormulaFacade','getLintErrors','getFormulaUsages','FRange','@univerjs/core','UniverProSheetsMcp','filledRanges','8072KlEauJ','getMaxColumns','IFormulaUsageAnalyzer','push','67376jXbuNQ','startColumn','UniverCore','@univerjs/sheets-formula/facade','get','UniverSheetsDataValidationFacade','936280ZVueDd','formula','FUniver','@univerjs/sheets-data-validation/facade','261350nXDtHi','getActiveWorkbook','_injector','819iNzlWX','length','2375646WpWBrJ','getIntersectRange','getCellDataGrid','UniverCoreFacade','toA1','615MsYOQv','FWorkbook'];_0x3b27=function(){return _0x1dc4e0;};return _0x3b27();}
1
+ (function(_0x54a5f7,_0x207ad9){const _0x15471b=_0x24f8,_0x18a6de=_0x54a5f7();while(!![]){try{const _0x2c20ce=-parseInt(_0x15471b(0x18c))/0x1+-parseInt(_0x15471b(0x1a9))/0x2+-parseInt(_0x15471b(0x1ab))/0x3*(-parseInt(_0x15471b(0x1a7))/0x4)+parseInt(_0x15471b(0x19b))/0x5+-parseInt(_0x15471b(0x1bd))/0x6*(-parseInt(_0x15471b(0x1b4))/0x7)+-parseInt(_0x15471b(0x1b9))/0x8+parseInt(_0x15471b(0x18d))/0x9;if(_0x2c20ce===_0x207ad9)break;else _0x18a6de['push'](_0x18a6de['shift']());}catch(_0x7ee9dc){_0x18a6de['push'](_0x18a6de['shift']());}}}(_0x3019,0x6e48a),function(_0x47a338,_0x3ed5d8){const _0x210c91=_0x24f8;typeof exports==_0x210c91(0x191)&&typeof module<'u'?_0x3ed5d8(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==_0x210c91(0x18e)&&define[_0x210c91(0x1a1)]?define([_0x210c91(0x198),_0x210c91(0x1b1),_0x210c91(0x19a),_0x210c91(0x19f),_0x210c91(0x1b7),_0x210c91(0x1be)],_0x3ed5d8):(_0x47a338=typeof globalThis<'u'?globalThis:_0x47a338||self,_0x3ed5d8(_0x47a338[_0x210c91(0x1af)],_0x47a338[_0x210c91(0x190)],_0x47a338[_0x210c91(0x19d)],_0x47a338['UniverSheetsFacade'],_0x47a338[_0x210c91(0x1b3)],_0x47a338[_0x210c91(0x1ae)]));}(this,function(_0xc4e66a,_0x1141f6,_0x5e0ffc,_0x4b72f8,_0x30ef12,_0x1c4048){'use strict';const _0x39d5f2=_0x24f8;class _0x18cac3 extends _0xc4e66a[_0x39d5f2(0x1ba)]{async[_0x39d5f2(0x194)](){const _0x60d453=_0x39d5f2;return this[_0x60d453(0x1b6)]()[_0x60d453(0x194)]();}}_0xc4e66a[_0x39d5f2(0x1ba)][_0x39d5f2(0x1b5)](_0x18cac3);class _0x22a693 extends _0x4b72f8['FWorkbook']{async[_0x39d5f2(0x194)](){const _0x213605=_0x39d5f2,_0x200f8f=this[_0x213605(0x19e)](),_0x22baa4=await this[_0x213605(0x1bf)]();return{'formulaErrors':_0x200f8f,'dataValidationErrors':_0x22baa4};}}_0x4b72f8[_0x39d5f2(0x19c)][_0x39d5f2(0x1b5)](_0x22a693);class _0x161e49 extends _0x4b72f8[_0x39d5f2(0x1a8)]{async[_0x39d5f2(0x196)](){const _0x51e315=_0x39d5f2,_0x4e4a9a=this[_0x51e315(0x1b8)][_0x51e315(0x1a4)](_0x30ef12[_0x51e315(0x1b0)]),_0x226b39=this[_0x51e315(0x1bb)](0x0,0x0,this[_0x51e315(0x1a2)]()+0x1,this[_0x51e315(0x1ac)]()+0x1)[_0x51e315(0x1ad)]();return await _0x4e4a9a[_0x51e315(0x1aa)](_0x226b39);}async[_0x39d5f2(0x1b2)](){const _0x596007=_0x39d5f2;return(await this[_0x596007(0x196)]())[_0x596007(0x195)](_0x30ef12[_0x596007(0x1a5)]);}}_0x4b72f8[_0x39d5f2(0x1a8)]['extend'](_0x161e49);class _0x5e3a1f extends _0x4b72f8[_0x39d5f2(0x18f)]{async['getFormulaUsages'](){const _0x22a5eb=_0x39d5f2,_0x55d4bd=this[_0x22a5eb(0x1b8)][_0x22a5eb(0x1a4)](_0x30ef12[_0x22a5eb(0x1b0)]),_0x562206=(({startRow:_0x3e1b9c,endRow:_0x3214c2,startColumn:_0x374fe6,endColumn:_0x3656b8})=>{const _0x5ebdb3=_0x22a5eb,_0x41729c=[];for(let _0x2b2a02=_0x3e1b9c;_0x2b2a02<=_0x3214c2;_0x2b2a02++){const _0xbfc334=[];for(let _0x5d4229=_0x374fe6;_0x5d4229<=_0x3656b8;_0x5d4229++)_0xbfc334[_0x5ebdb3(0x1bc)](this['_worksheet'][_0x5ebdb3(0x197)](_0x2b2a02,_0x5d4229));_0x41729c[_0x5ebdb3(0x1bc)](_0xbfc334);}return _0x41729c;})({'startRow':0x0,'endRow':this['_worksheet'][_0x22a5eb(0x1a2)](),'startColumn':0x0,'endColumn':this[_0x22a5eb(0x1a0)][_0x22a5eb(0x1ac)]()}),_0x15b03e=await _0x55d4bd[_0x22a5eb(0x1aa)](_0x562206),_0x1f26a1=this[_0x22a5eb(0x1bb)](),_0xc9c3c8=[];for(let _0x4786a4=0x0;_0x4786a4<_0x15b03e[_0x22a5eb(0x192)];_0x4786a4++){const _0x4b647f=_0x15b03e[_0x4786a4],_0x85235e=_0x4b647f[_0x22a5eb(0x1a6)],_0x44f5ff=[];for(let _0x3a06d2=0x0;_0x3a06d2<_0x85235e['length'];_0x3a06d2++){const _0x489d2f=_0x85235e[_0x3a06d2],_0x543dee=_0x1c4048['getIntersectRange'](_0x489d2f,_0x1f26a1);_0x543dee&&_0x44f5ff[_0x22a5eb(0x1bc)](_0x543dee);}if(_0x44f5ff[_0x22a5eb(0x192)]>0x0){_0x4b647f[_0x22a5eb(0x1a6)]=_0x44f5ff;const _0x20978f=_0x44f5ff[0x0],_0x45e222=_0x20978f[_0x22a5eb(0x199)]-_0x1f26a1[_0x22a5eb(0x199)],_0x24ee18=_0x20978f[_0x22a5eb(0x193)]-_0x1f26a1[_0x22a5eb(0x193)];_0x4b647f[_0x22a5eb(0x1a3)]=await _0x55d4bd['moveFormulaRefOffset'](_0x4b647f[_0x22a5eb(0x1a3)],_0x45e222,_0x24ee18),_0xc9c3c8[_0x22a5eb(0x1bc)](_0x4b647f);}}return _0xc9c3c8;}async[_0x39d5f2(0x1b2)](){const _0x2de428=_0x39d5f2;return(await this['getFormulaUsages']())['map'](_0x30ef12[_0x2de428(0x1a5)]);}}_0x4b72f8[_0x39d5f2(0x18f)]['extend'](_0x5e3a1f);}));function _0x24f8(_0x6a13c2,_0x513956){_0x6a13c2=_0x6a13c2-0x18c;const _0x3019cf=_0x3019();let _0x24f8ca=_0x3019cf[_0x6a13c2];return _0x24f8ca;}function _0x3019(){const _0x40a70c=['map','getFormulaUsages','getCellRaw','@univerjs/core/facade','startRow','@univerjs/sheets-data-validation/facade','1378945KHPkYa','FWorkbook','UniverSheetsDataValidationFacade','getAllFormulaError','@univerjs/sheets/facade','_worksheet','amd','getMaxRows','formula','get','toA1','filledRanges','2254676CnLohp','FWorksheet','1007366qtFihi','getAllFormulaUsages','3KuhjsF','getMaxColumns','getCellDataGrid','UniverCore','UniverCoreFacade','IFormulaUsageAnalyzer','@univerjs/sheets-formula/facade','getFormulaUsagesAsA1','UniverProSheetsMcp','6944gwJPNv','extend','getActiveWorkbook','@univerjs-pro/sheets-mcp','_injector','6391736XfwwSg','FUniver','getRange','push','2130DGYOqH','@univerjs/core','getAllDataValidationErrorAsync','255690eaLgQl','7365996bnWIXX','function','FRange','UniverSheetsFormulaFacade','object','length','startColumn','getLintErrors'];_0x3019=function(){return _0x40a70c;};return _0x3019();}