@univerjs-pro/sheets-mcp 0.12.2 → 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.
- 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 +15 -15
|
@@ -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(
|
|
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();}
|