@univerjs-pro/sheets-mcp 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3
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 +10 -10
|
@@ -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 _0x1ff6(_0x1c3e8a,_0x18ce3d){_0x1c3e8a=_0x1c3e8a-0x19b;const _0x518f99=_0x518f();let _0x1ff65c=_0x518f99[_0x1c3e8a];return _0x1ff65c;}function _0x518f(){const _0x2d44c6=['@univerjs-pro/sheets-mcp','startColumn','5367972zagRxr','_injector','21DnViLi','getAllFormulaError','10yymKOv','getMaxRows','map','UniverCore','getAllDataValidationErrorAsync','filledRanges','@univerjs/core','IFormulaUsageAnalyzer','1944738PYyvIs','_worksheet','@univerjs/sheets-formula/facade','81270GJBPnu','extend','1608zlAHpD','getIntersectRange','@univerjs/sheets/facade','FWorkbook','21FhwmWW','@univerjs/sheets-data-validation/facade','toA1','get','getLintErrors','getRange','push','FUniver','getFormulaUsagesAsA1','256638bmxClk','length','14095arhldB','getMaxColumns','getActiveWorkbook','startRow','UniverSheetsFacade','UniverCoreFacade','UniverProSheetsMcp','FRange','function','object','getAllFormulaUsages','@univerjs/core/facade','647284nKFLGQ','formula','UniverSheetsFormulaFacade','FWorksheet','360nVpXhW','getFormulaUsages','7677XsvKvQ'];_0x518f=function(){return _0x2d44c6;};return _0x518f();}(function(_0x3216d7,_0x4bf668){const _0x3ad892=_0x1ff6,_0x564de5=_0x3216d7();while(!![]){try{const _0x4985=parseInt(_0x3ad892(0x19e))/0x1+parseInt(_0x3ad892(0x1ad))/0x2*(parseInt(_0x3ad892(0x1c6))/0x3)+parseInt(_0x3ad892(0x1bf))/0x4*(parseInt(_0x3ad892(0x1af))/0x5)+parseInt(_0x3ad892(0x19b))/0x6*(-parseInt(_0x3ad892(0x1a4))/0x7)+-parseInt(_0x3ad892(0x1a0))/0x8*(parseInt(_0x3ad892(0x1c1))/0x9)+-parseInt(_0x3ad892(0x1c8))/0xa*(-parseInt(_0x3ad892(0x1bb))/0xb)+parseInt(_0x3ad892(0x1c4))/0xc;if(_0x4985===_0x4bf668)break;else _0x564de5['push'](_0x564de5['shift']());}catch(_0x5cb7be){_0x564de5['push'](_0x564de5['shift']());}}}(_0x518f,0x9166e),function(_0xa08d7,_0x12a19d){const _0x455113=_0x1ff6;typeof exports==_0x455113(0x1b8)&&typeof module<'u'?_0x12a19d(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==_0x455113(0x1b7)&&define['amd']?define([_0x455113(0x1ba),_0x455113(0x19d),_0x455113(0x1a5),_0x455113(0x1a2),_0x455113(0x1c2),_0x455113(0x1ce)],_0x12a19d):(_0xa08d7=typeof globalThis<'u'?globalThis:_0xa08d7||self,_0x12a19d(_0xa08d7[_0x455113(0x1b4)],_0xa08d7[_0x455113(0x1bd)],_0xa08d7['UniverSheetsDataValidationFacade'],_0xa08d7[_0x455113(0x1b3)],_0xa08d7[_0x455113(0x1b5)],_0xa08d7[_0x455113(0x1cb)]));}(this,function(_0x3f3a7d,_0x188116,_0x991bd7,_0x1be708,_0x390f59,_0x5945bf){'use strict';const _0x3ae652=_0x1ff6;class _0x1859b6 extends _0x3f3a7d[_0x3ae652(0x1ab)]{async[_0x3ae652(0x1a8)](){const _0x32324f=_0x3ae652;return this[_0x32324f(0x1b1)]()[_0x32324f(0x1a8)]();}}_0x3f3a7d['FUniver'][_0x3ae652(0x19f)](_0x1859b6);class _0x714d72 extends _0x1be708['FWorkbook']{async['getLintErrors'](){const _0x36adcc=_0x3ae652,_0x42ceb1=this[_0x36adcc(0x1c7)](),_0x8b0216=await this[_0x36adcc(0x1cc)]();return{'formulaErrors':_0x42ceb1,'dataValidationErrors':_0x8b0216};}}_0x1be708[_0x3ae652(0x1a3)][_0x3ae652(0x19f)](_0x714d72);class _0x2c53ed extends _0x1be708[_0x3ae652(0x1be)]{async[_0x3ae652(0x1c0)](){const _0x5301d7=_0x3ae652,_0x3540c9=this[_0x5301d7(0x1c5)][_0x5301d7(0x1a7)](_0x390f59['IFormulaUsageAnalyzer']),_0x13371b=this[_0x5301d7(0x1a9)](0x0,0x0,this['getMaxRows']()+0x1,this[_0x5301d7(0x1b0)]()+0x1)['getCellDataGrid']();return await _0x3540c9[_0x5301d7(0x1b9)](_0x13371b);}async['getFormulaUsagesAsA1'](){const _0x9fdee5=_0x3ae652;return(await this[_0x9fdee5(0x1c0)]())['map'](_0x390f59[_0x9fdee5(0x1a6)]);}}_0x1be708[_0x3ae652(0x1be)][_0x3ae652(0x19f)](_0x2c53ed);class _0x73ee4a extends _0x1be708[_0x3ae652(0x1b6)]{async[_0x3ae652(0x1c0)](){const _0x2e7702=_0x3ae652,_0x5433c0=this[_0x2e7702(0x1c5)][_0x2e7702(0x1a7)](_0x390f59[_0x2e7702(0x1cf)]),_0x56dc79=(({startRow:_0x5155ef,endRow:_0x5ea12f,startColumn:_0x367655,endColumn:_0x297a45})=>{const _0x4c06c2=_0x2e7702,_0x2f0078=[];for(let _0xac73c6=_0x5155ef;_0xac73c6<=_0x5ea12f;_0xac73c6++){const _0x3fea51=[];for(let _0x574a74=_0x367655;_0x574a74<=_0x297a45;_0x574a74++)_0x3fea51[_0x4c06c2(0x1aa)](this[_0x4c06c2(0x19c)]['getCellRaw'](_0xac73c6,_0x574a74));_0x2f0078[_0x4c06c2(0x1aa)](_0x3fea51);}return _0x2f0078;})({'startRow':0x0,'endRow':this[_0x2e7702(0x19c)][_0x2e7702(0x1c9)](),'startColumn':0x0,'endColumn':this[_0x2e7702(0x19c)][_0x2e7702(0x1b0)]()}),_0x38741f=await _0x5433c0['getAllFormulaUsages'](_0x56dc79),_0x2201d6=this[_0x2e7702(0x1a9)](),_0xd02b58=[];for(let _0x5dd88c=0x0;_0x5dd88c<_0x38741f[_0x2e7702(0x1ae)];_0x5dd88c++){const _0x4708b8=_0x38741f[_0x5dd88c],_0x524205=_0x4708b8[_0x2e7702(0x1cd)],_0x1eb1aa=[];for(let _0x320527=0x0;_0x320527<_0x524205[_0x2e7702(0x1ae)];_0x320527++){const _0x5606ca=_0x524205[_0x320527],_0x3ef402=_0x5945bf[_0x2e7702(0x1a1)](_0x5606ca,_0x2201d6);_0x3ef402&&_0x1eb1aa['push'](_0x3ef402);}if(_0x1eb1aa['length']>0x0){_0x4708b8['filledRanges']=_0x1eb1aa;const _0x47664b=_0x1eb1aa[0x0],_0x37c1ce=_0x47664b[_0x2e7702(0x1b2)]-_0x2201d6[_0x2e7702(0x1b2)],_0x2eff06=_0x47664b[_0x2e7702(0x1c3)]-_0x2201d6['startColumn'];_0x4708b8[_0x2e7702(0x1bc)]=await _0x5433c0['moveFormulaRefOffset'](_0x4708b8[_0x2e7702(0x1bc)],_0x37c1ce,_0x2eff06),_0xd02b58[_0x2e7702(0x1aa)](_0x4708b8);}}return _0xd02b58;}async[_0x3ae652(0x1ac)](){const _0xdd46c0=_0x3ae652;return(await this[_0xdd46c0(0x1c0)]())[_0xdd46c0(0x1ca)](_0x390f59[_0xdd46c0(0x1a6)]);}}_0x1be708[_0x3ae652(0x1b6)][_0x3ae652(0x19f)](_0x73ee4a);}));
|