@univerjs-pro/sheets-mcp 0.12.4 → 0.13.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/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 +12 -12
|
@@ -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
|
-
|
|
1
|
+
(function(_0x4bfb54,_0x3712e1){const _0x23ccec=_0xb43b,_0x37f9dc=_0x4bfb54();while(!![]){try{const _0x21db82=-parseInt(_0x23ccec(0x18e))/0x1+parseInt(_0x23ccec(0x182))/0x2+-parseInt(_0x23ccec(0x163))/0x3*(-parseInt(_0x23ccec(0x161))/0x4)+-parseInt(_0x23ccec(0x168))/0x5*(parseInt(_0x23ccec(0x16c))/0x6)+parseInt(_0x23ccec(0x175))/0x7*(-parseInt(_0x23ccec(0x185))/0x8)+parseInt(_0x23ccec(0x16f))/0x9*(-parseInt(_0x23ccec(0x18d))/0xa)+parseInt(_0x23ccec(0x15f))/0xb;if(_0x21db82===_0x3712e1)break;else _0x37f9dc['push'](_0x37f9dc['shift']());}catch(_0x477646){_0x37f9dc['push'](_0x37f9dc['shift']());}}}(_0xdf4e,0xd2b4e),function(_0x5f014a,_0x15970f){const _0x1a3cb7=_0xb43b;typeof exports==_0x1a3cb7(0x188)&&typeof module<'u'?_0x15970f(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==_0x1a3cb7(0x166)&&define[_0x1a3cb7(0x183)]?define([_0x1a3cb7(0x16a),_0x1a3cb7(0x184),_0x1a3cb7(0x169),_0x1a3cb7(0x18c),'@univerjs-pro/sheets-mcp','@univerjs/core'],_0x15970f):(_0x5f014a=typeof globalThis<'u'?globalThis:_0x5f014a||self,_0x15970f(_0x5f014a[_0x1a3cb7(0x170)],_0x5f014a[_0x1a3cb7(0x177)],_0x5f014a['UniverSheetsDataValidationFacade'],_0x5f014a[_0x1a3cb7(0x187)],_0x5f014a[_0x1a3cb7(0x18a)],_0x5f014a[_0x1a3cb7(0x17e)]));}(this,function(_0x2943e,_0x338fd4,_0x181c16,_0x120278,_0x14a663,_0x46b29c){'use strict';const _0x5cb3a2=_0xb43b;class _0x527918 extends _0x2943e[_0x5cb3a2(0x160)]{async[_0x5cb3a2(0x16b)](){const _0x72d7b6=_0x5cb3a2;return this[_0x72d7b6(0x17f)]()[_0x72d7b6(0x16b)]();}}_0x2943e[_0x5cb3a2(0x160)][_0x5cb3a2(0x164)](_0x527918);class _0x42f54b extends _0x120278['FWorkbook']{async[_0x5cb3a2(0x16b)](){const _0x577fff=_0x5cb3a2,_0x16d301=this['getAllFormulaError'](),_0x59481e=await this[_0x577fff(0x189)]();return{'formulaErrors':_0x16d301,'dataValidationErrors':_0x59481e};}}_0x120278[_0x5cb3a2(0x18b)][_0x5cb3a2(0x164)](_0x42f54b);class _0x4f135c extends _0x120278['FWorksheet']{async[_0x5cb3a2(0x176)](){const _0x3a6c31=_0x5cb3a2,_0x2111b8=this[_0x3a6c31(0x17c)][_0x3a6c31(0x162)](_0x14a663[_0x3a6c31(0x17a)]),_0x548b93=this[_0x3a6c31(0x18f)](0x0,0x0,this[_0x3a6c31(0x173)]()+0x1,this[_0x3a6c31(0x178)]()+0x1)['getCellDataGrid']();return await _0x2111b8['getAllFormulaUsages'](_0x548b93);}async[_0x5cb3a2(0x167)](){const _0x45c6b1=_0x5cb3a2;return(await this[_0x45c6b1(0x176)]())[_0x45c6b1(0x17b)](_0x14a663[_0x45c6b1(0x15c)]);}}_0x120278[_0x5cb3a2(0x186)][_0x5cb3a2(0x164)](_0x4f135c);class _0x32b022 extends _0x120278[_0x5cb3a2(0x172)]{async[_0x5cb3a2(0x176)](){const _0x5d10fe=_0x5cb3a2,_0xaeea9a=this[_0x5d10fe(0x17c)][_0x5d10fe(0x162)](_0x14a663[_0x5d10fe(0x17a)]),_0x5a9af2=(({startRow:_0x22f3b1,endRow:_0x3cbf8c,startColumn:_0x52381d,endColumn:_0x4bf18e})=>{const _0x5b7bef=_0x5d10fe,_0x42bd88=[];for(let _0x48326d=_0x22f3b1;_0x48326d<=_0x3cbf8c;_0x48326d++){const _0x3a8928=[];for(let _0x55c1ca=_0x52381d;_0x55c1ca<=_0x4bf18e;_0x55c1ca++)_0x3a8928['push'](this[_0x5b7bef(0x190)]['getCellRaw'](_0x48326d,_0x55c1ca));_0x42bd88[_0x5b7bef(0x181)](_0x3a8928);}return _0x42bd88;})({'startRow':0x0,'endRow':this[_0x5d10fe(0x190)][_0x5d10fe(0x173)](),'startColumn':0x0,'endColumn':this[_0x5d10fe(0x190)]['getMaxColumns']()}),_0x208a89=await _0xaeea9a['getAllFormulaUsages'](_0x5a9af2),_0x3cd803=this['getRange'](),_0xc18f8d=[];for(let _0x488fa4=0x0;_0x488fa4<_0x208a89[_0x5d10fe(0x17d)];_0x488fa4++){const _0x55ba5c=_0x208a89[_0x488fa4],_0x1c7429=_0x55ba5c['filledRanges'],_0x3dd8f3=[];for(let _0x35c15d=0x0;_0x35c15d<_0x1c7429[_0x5d10fe(0x17d)];_0x35c15d++){const _0xcdf375=_0x1c7429[_0x35c15d],_0x1f3f5c=_0x46b29c[_0x5d10fe(0x174)](_0xcdf375,_0x3cd803);_0x1f3f5c&&_0x3dd8f3['push'](_0x1f3f5c);}if(_0x3dd8f3['length']>0x0){if(_0x55ba5c[_0x5d10fe(0x16d)]=_0x3dd8f3,!(_0x55ba5c['firstOccurrence'][_0x5d10fe(0x15d)]>=_0x3cd803['startRow']&&_0x55ba5c[_0x5d10fe(0x15e)][_0x5d10fe(0x15d)]<=_0x3cd803[_0x5d10fe(0x179)]&&_0x55ba5c['firstOccurrence'][_0x5d10fe(0x171)]>=_0x3cd803['startColumn']&&_0x55ba5c['firstOccurrence'][_0x5d10fe(0x171)]<=_0x3cd803[_0x5d10fe(0x16e)])){const _0x25c733=_0x3dd8f3[0x0],_0x481ccf=_0x25c733[_0x5d10fe(0x15d)]-_0x55ba5c[_0x5d10fe(0x15e)][_0x5d10fe(0x15d)],_0x42d99a=_0x25c733[_0x5d10fe(0x171)]-_0x55ba5c[_0x5d10fe(0x15e)][_0x5d10fe(0x171)];_0x55ba5c['formula']=await _0xaeea9a[_0x5d10fe(0x165)](_0x55ba5c[_0x5d10fe(0x180)],_0x42d99a,_0x481ccf),_0x55ba5c[_0x5d10fe(0x15e)]={'startRow':_0x25c733[_0x5d10fe(0x15d)],'endRow':_0x25c733[_0x5d10fe(0x15d)],'startColumn':_0x25c733['startColumn'],'endColumn':_0x25c733[_0x5d10fe(0x171)]};}_0xc18f8d[_0x5d10fe(0x181)](_0x55ba5c);}}return _0xc18f8d;}async[_0x5cb3a2(0x167)](){const _0x1539d1=_0x5cb3a2;return(await this['getFormulaUsages']())[_0x1539d1(0x17b)](_0x14a663[_0x1539d1(0x15c)]);}}_0x120278['FRange']['extend'](_0x32b022);}));function _0xb43b(_0x583c5d,_0x53e7a2){_0x583c5d=_0x583c5d-0x15c;const _0xdf4ecb=_0xdf4e();let _0xb43b3=_0xdf4ecb[_0x583c5d];return _0xb43b3;}function _0xdf4e(){const _0x508897=['map','_injector','length','UniverCore','getActiveWorkbook','formula','push','1318638OKEViw','amd','@univerjs/sheets-formula/facade','200zZjnrg','FWorksheet','UniverSheetsFacade','object','getAllDataValidationErrorAsync','UniverProSheetsMcp','FWorkbook','@univerjs/sheets/facade','10NkWeFJ','442660xYgckS','getRange','_worksheet','toA1','startRow','firstOccurrence','26244702DNTcnO','FUniver','643756KtGwkB','get','18aTFUGi','extend','moveFormulaRefOffset','function','getFormulaUsagesAsA1','2175xkGcbF','@univerjs/sheets-data-validation/facade','@univerjs/core/facade','getLintErrors','18198QZuLKx','filledRanges','endColumn','8914419HanHav','UniverCoreFacade','startColumn','FRange','getMaxRows','getIntersectRange','110677xKODlm','getFormulaUsages','UniverSheetsFormulaFacade','getMaxColumns','endRow','IFormulaUsageAnalyzer'];_0xdf4e=function(){return _0x508897;};return _0xdf4e();}
|