@univerjs-pro/sheets-mcp 0.13.0 → 0.14.0-insiders.20251227-b250a8d
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/types/tools/conditional-format-tools.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +13 -13
|
@@ -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";
|
|
53
54
|
uniqueValues: "uniqueValues";
|
|
54
55
|
duplicateValues: "duplicateValues";
|
|
55
56
|
rank: "rank";
|
|
56
57
|
timePeriod: "timePeriod";
|
|
57
58
|
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(
|
|
1
|
+
function _0x2cd7(_0x1f158f,_0x2ebf75){_0x1f158f=_0x1f158f-0xf9;const _0x1c8bf7=_0x1c8b();let _0x2cd72b=_0x1c8bf7[_0x1f158f];return _0x2cd72b;}function _0x1c8b(){const _0x13ea5b=['startColumn','getAllFormulaError','amd','getFormulaUsages','FUniver','490512CLxbSr','18gCXrSm','getCellDataGrid','length','endRow','getFormulaUsagesAsA1','IFormulaUsageAnalyzer','extend','getCellRaw','31830TNOpSp','UniverProSheetsMcp','_worksheet','push','UniverCore','formula','map','object','@univerjs-pro/sheets-mcp','filledRanges','880820gkHztj','40FrUyDH','getMaxRows','1523423lqWZDo','getAllDataValidationErrorAsync','getRange','_injector','get','275487NEMKwJ','560968BCPrIj','FRange','10kdtCah','endColumn','UniverSheetsFacade','getAllFormulaUsages','toA1','startRow','@univerjs/sheets/facade','30nKzwks','UniverSheetsDataValidationFacade','FWorksheet','FWorkbook','getIntersectRange','function','93709lixiFK','getMaxColumns','getLintErrors','firstOccurrence'];_0x1c8b=function(){return _0x13ea5b;};return _0x1c8b();}(function(_0xc65e5b,_0x39191d){const _0x28b522=_0x2cd7,_0x3005d7=_0xc65e5b();while(!![]){try{const _0x12247a=-parseInt(_0x28b522(0x122))/0x1+parseInt(_0x28b522(0x11b))/0x2*(parseInt(_0x28b522(0x110))/0x3)+-parseInt(_0x28b522(0x11a))/0x4+parseInt(_0x28b522(0x125))/0x5*(parseInt(_0x28b522(0x107))/0x6)+parseInt(_0x28b522(0xfe))/0x7+parseInt(_0x28b522(0x123))/0x8*(-parseInt(_0x28b522(0x108))/0x9)+-parseInt(_0x28b522(0x12c))/0xa*(-parseInt(_0x28b522(0x11d))/0xb);if(_0x12247a===_0x39191d)break;else _0x3005d7['push'](_0x3005d7['shift']());}catch(_0x2ba73a){_0x3005d7['push'](_0x3005d7['shift']());}}}(_0x1c8b,0x292bc),function(_0x57a4a8,_0x35fb62){const _0xcf916c=_0x2cd7;typeof exports==_0xcf916c(0x117)&&typeof module<'u'?_0x35fb62(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==_0xcf916c(0xfd)&&define[_0xcf916c(0x104)]?define(['@univerjs/core/facade','@univerjs/sheets-formula/facade','@univerjs/sheets-data-validation/facade',_0xcf916c(0x12b),_0xcf916c(0x118),'@univerjs/core'],_0x35fb62):(_0x57a4a8=typeof globalThis<'u'?globalThis:_0x57a4a8||self,_0x35fb62(_0x57a4a8['UniverCoreFacade'],_0x57a4a8['UniverSheetsFormulaFacade'],_0x57a4a8[_0xcf916c(0xf9)],_0x57a4a8[_0xcf916c(0x127)],_0x57a4a8[_0xcf916c(0x111)],_0x57a4a8[_0xcf916c(0x114)]));}(this,function(_0x57ac28,_0x3061f2,_0x1a34a6,_0x5b80dd,_0x1f75a0,_0x51718b){'use strict';const _0x35f162=_0x2cd7;class _0x1b2403 extends _0x57ac28[_0x35f162(0x106)]{async['getLintErrors'](){const _0x47456f=_0x35f162;return this['getActiveWorkbook']()[_0x47456f(0x100)]();}}_0x57ac28[_0x35f162(0x106)][_0x35f162(0x10e)](_0x1b2403);class _0x4761ff extends _0x5b80dd[_0x35f162(0xfb)]{async[_0x35f162(0x100)](){const _0x4b0d2e=_0x35f162,_0x312b14=this[_0x4b0d2e(0x103)](),_0x44bbe2=await this[_0x4b0d2e(0x11e)]();return{'formulaErrors':_0x312b14,'dataValidationErrors':_0x44bbe2};}}_0x5b80dd[_0x35f162(0xfb)][_0x35f162(0x10e)](_0x4761ff);class _0x602624 extends _0x5b80dd[_0x35f162(0xfa)]{async['getFormulaUsages'](){const _0x484faa=_0x35f162,_0x4af4d2=this[_0x484faa(0x120)][_0x484faa(0x121)](_0x1f75a0[_0x484faa(0x10d)]),_0x467f32=this[_0x484faa(0x11f)](0x0,0x0,this[_0x484faa(0x11c)](),this[_0x484faa(0xff)]())[_0x484faa(0x109)]();return await _0x4af4d2[_0x484faa(0x128)](_0x467f32);}async[_0x35f162(0x10c)](){const _0x4c4dee=_0x35f162;return(await this['getFormulaUsages']())[_0x4c4dee(0x116)](_0x1f75a0[_0x4c4dee(0x129)]);}}_0x5b80dd[_0x35f162(0xfa)][_0x35f162(0x10e)](_0x602624);class _0x3a31c4 extends _0x5b80dd['FRange']{async['getFormulaUsages'](){const _0x2ed8d7=_0x35f162,_0x110a3b=this[_0x2ed8d7(0x120)]['get'](_0x1f75a0[_0x2ed8d7(0x10d)]),_0x49569d=(({startRow:_0x6e9b7c,endRow:_0x4b0e70,startColumn:_0x138a2e,endColumn:_0x30626c})=>{const _0xd783a4=_0x2ed8d7,_0x29249d=[];for(let _0x4466b0=_0x6e9b7c;_0x4466b0<=_0x4b0e70;_0x4466b0++){const _0x1cbdd6=[];for(let _0x1760b8=_0x138a2e;_0x1760b8<=_0x30626c;_0x1760b8++)_0x1cbdd6[_0xd783a4(0x113)](this['_worksheet'][_0xd783a4(0x10f)](_0x4466b0,_0x1760b8));_0x29249d[_0xd783a4(0x113)](_0x1cbdd6);}return _0x29249d;})({'startRow':0x0,'endRow':this[_0x2ed8d7(0x112)][_0x2ed8d7(0x11c)](),'startColumn':0x0,'endColumn':this[_0x2ed8d7(0x112)]['getMaxColumns']()}),_0x3d7871=await _0x110a3b['getAllFormulaUsages'](_0x49569d),_0x1474d3=this[_0x2ed8d7(0x11f)](),_0x9f3546=[];for(let _0x5947b2=0x0;_0x5947b2<_0x3d7871[_0x2ed8d7(0x10a)];_0x5947b2++){const _0x49cef9=_0x3d7871[_0x5947b2],_0x40037d=_0x49cef9[_0x2ed8d7(0x119)],_0x25f5d9=[];for(let _0x10bf79=0x0;_0x10bf79<_0x40037d[_0x2ed8d7(0x10a)];_0x10bf79++){const _0xee3296=_0x40037d[_0x10bf79],_0x1e281c=_0x51718b[_0x2ed8d7(0xfc)](_0xee3296,_0x1474d3);_0x1e281c&&_0x25f5d9['push'](_0x1e281c);}if(_0x25f5d9[_0x2ed8d7(0x10a)]>0x0){if(_0x49cef9[_0x2ed8d7(0x119)]=_0x25f5d9,!(_0x49cef9['firstOccurrence'][_0x2ed8d7(0x12a)]>=_0x1474d3[_0x2ed8d7(0x12a)]&&_0x49cef9[_0x2ed8d7(0x101)][_0x2ed8d7(0x12a)]<=_0x1474d3[_0x2ed8d7(0x10b)]&&_0x49cef9[_0x2ed8d7(0x101)][_0x2ed8d7(0x102)]>=_0x1474d3[_0x2ed8d7(0x102)]&&_0x49cef9[_0x2ed8d7(0x101)]['startColumn']<=_0x1474d3[_0x2ed8d7(0x126)])){const _0x5470ec=_0x25f5d9[0x0],_0x4ab079=_0x5470ec[_0x2ed8d7(0x12a)]-_0x49cef9[_0x2ed8d7(0x101)][_0x2ed8d7(0x12a)],_0x18ee0e=_0x5470ec['startColumn']-_0x49cef9[_0x2ed8d7(0x101)]['startColumn'];_0x49cef9[_0x2ed8d7(0x115)]=await _0x110a3b['moveFormulaRefOffset'](_0x49cef9[_0x2ed8d7(0x115)],_0x18ee0e,_0x4ab079),_0x49cef9[_0x2ed8d7(0x101)]={'startRow':_0x5470ec[_0x2ed8d7(0x12a)],'endRow':_0x5470ec[_0x2ed8d7(0x12a)],'startColumn':_0x5470ec['startColumn'],'endColumn':_0x5470ec['startColumn']};}_0x9f3546['push'](_0x49cef9);}}return _0x9f3546;}async[_0x35f162(0x10c)](){const _0x2b006f=_0x35f162;return(await this[_0x2b006f(0x105)]())['map'](_0x1f75a0[_0x2b006f(0x129)]);}}_0x5b80dd[_0x35f162(0x124)][_0x35f162(0x10e)](_0x3a31c4);}));
|