@univerjs-pro/sheets-mcp 0.13.0 → 0.14.0-insiders.20251222-4efcfbb
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 +11 -11
|
@@ -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 _0x47c7(){const _0x468e74=['length','@univerjs/sheets-data-validation/facade','FRange','startRow','getCellRaw','7dXFaKD','startColumn','UniverCore','getMaxColumns','FWorksheet','@univerjs/sheets-formula/facade','amd','@univerjs/core/facade','map','function','getFormulaUsages','IFormulaUsageAnalyzer','getLintErrors','UniverProSheetsMcp','FWorkbook','extend','getMaxRows','object','290605VJjmjK','filledRanges','@univerjs/core','get','firstOccurrence','UniverSheetsFacade','_worksheet','UniverCoreFacade','113094cxtbEx','moveFormulaRefOffset','getRange','formula','1734232wqfqtY','endRow','toA1','getAllFormulaError','getAllFormulaUsages','push','getCellDataGrid','3846144HpYItl','getFormulaUsagesAsA1','_injector','getIntersectRange','758540UioJZF','endColumn','FUniver','getAllDataValidationErrorAsync','UniverSheetsDataValidationFacade','1046796dnWnlu','4815516eLeHly','getActiveWorkbook','@univerjs/sheets/facade'];_0x47c7=function(){return _0x468e74;};return _0x47c7();}function _0x5734(_0x185f02,_0xcff513){_0x185f02=_0x185f02-0x153;const _0x47c78c=_0x47c7();let _0x573443=_0x47c78c[_0x185f02];return _0x573443;}(function(_0x3564ea,_0x3c1709){const _0xe04d23=_0x5734,_0x4ad945=_0x3564ea();while(!![]){try{const _0x10fe7e=parseInt(_0xe04d23(0x16b))/0x1+parseInt(_0xe04d23(0x17a))/0x2+parseInt(_0xe04d23(0x17f))/0x3+-parseInt(_0xe04d23(0x176))/0x4+parseInt(_0xe04d23(0x163))/0x5+parseInt(_0xe04d23(0x180))/0x6+-parseInt(_0xe04d23(0x188))/0x7*(parseInt(_0xe04d23(0x16f))/0x8);if(_0x10fe7e===_0x3c1709)break;else _0x4ad945['push'](_0x4ad945['shift']());}catch(_0x37f5c4){_0x4ad945['push'](_0x4ad945['shift']());}}}(_0x47c7,0x7fda8),function(_0xdcc3dd,_0xd83ded){const _0x3c3b2f=_0x5734;typeof exports==_0x3c3b2f(0x162)&&typeof module<'u'?_0xd83ded(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==_0x3c3b2f(0x15a)&&define[_0x3c3b2f(0x157)]?define([_0x3c3b2f(0x158),_0x3c3b2f(0x156),_0x3c3b2f(0x184),_0x3c3b2f(0x182),'@univerjs-pro/sheets-mcp',_0x3c3b2f(0x165)],_0xd83ded):(_0xdcc3dd=typeof globalThis<'u'?globalThis:_0xdcc3dd||self,_0xd83ded(_0xdcc3dd[_0x3c3b2f(0x16a)],_0xdcc3dd['UniverSheetsFormulaFacade'],_0xdcc3dd[_0x3c3b2f(0x17e)],_0xdcc3dd[_0x3c3b2f(0x168)],_0xdcc3dd[_0x3c3b2f(0x15e)],_0xdcc3dd[_0x3c3b2f(0x153)]));}(this,function(_0x400a96,_0x43ca3c,_0x36e41b,_0x5253c7,_0x247be0,_0x2921ea){'use strict';const _0x4647fe=_0x5734;class _0x52e0ab extends _0x400a96[_0x4647fe(0x17c)]{async['getLintErrors'](){const _0x3baaa=_0x4647fe;return this[_0x3baaa(0x181)]()[_0x3baaa(0x15d)]();}}_0x400a96['FUniver'][_0x4647fe(0x160)](_0x52e0ab);class _0x194ce5 extends _0x5253c7[_0x4647fe(0x15f)]{async['getLintErrors'](){const _0xb45c0b=_0x4647fe,_0xe7e531=this[_0xb45c0b(0x172)](),_0x1b3bcf=await this[_0xb45c0b(0x17d)]();return{'formulaErrors':_0xe7e531,'dataValidationErrors':_0x1b3bcf};}}_0x5253c7[_0x4647fe(0x15f)][_0x4647fe(0x160)](_0x194ce5);class _0x2af862 extends _0x5253c7['FWorksheet']{async[_0x4647fe(0x15b)](){const _0x58b8e6=_0x4647fe,_0x262770=this[_0x58b8e6(0x178)][_0x58b8e6(0x166)](_0x247be0['IFormulaUsageAnalyzer']),_0x530313=this['getRange'](0x0,0x0,this[_0x58b8e6(0x161)](),this[_0x58b8e6(0x154)]())[_0x58b8e6(0x175)]();return await _0x262770[_0x58b8e6(0x173)](_0x530313);}async['getFormulaUsagesAsA1'](){const _0x1de0a7=_0x4647fe;return(await this['getFormulaUsages']())['map'](_0x247be0[_0x1de0a7(0x171)]);}}_0x5253c7[_0x4647fe(0x155)]['extend'](_0x2af862);class _0x4a3144 extends _0x5253c7[_0x4647fe(0x185)]{async[_0x4647fe(0x15b)](){const _0xeaed61=_0x4647fe,_0x4fcf7d=this[_0xeaed61(0x178)]['get'](_0x247be0[_0xeaed61(0x15c)]),_0x4eff7b=(({startRow:_0x27effa,endRow:_0x3725e1,startColumn:_0x4d07a6,endColumn:_0x130913})=>{const _0x5b78fb=_0xeaed61,_0x3875b2=[];for(let _0x18a948=_0x27effa;_0x18a948<=_0x3725e1;_0x18a948++){const _0x53c40e=[];for(let _0x4e5146=_0x4d07a6;_0x4e5146<=_0x130913;_0x4e5146++)_0x53c40e['push'](this[_0x5b78fb(0x169)][_0x5b78fb(0x187)](_0x18a948,_0x4e5146));_0x3875b2[_0x5b78fb(0x174)](_0x53c40e);}return _0x3875b2;})({'startRow':0x0,'endRow':this[_0xeaed61(0x169)][_0xeaed61(0x161)](),'startColumn':0x0,'endColumn':this[_0xeaed61(0x169)][_0xeaed61(0x154)]()}),_0x1bb276=await _0x4fcf7d['getAllFormulaUsages'](_0x4eff7b),_0x242c8f=this[_0xeaed61(0x16d)](),_0x403681=[];for(let _0x406c64=0x0;_0x406c64<_0x1bb276[_0xeaed61(0x183)];_0x406c64++){const _0x96fdbc=_0x1bb276[_0x406c64],_0x27684c=_0x96fdbc[_0xeaed61(0x164)],_0x3005ee=[];for(let _0x22ab6d=0x0;_0x22ab6d<_0x27684c['length'];_0x22ab6d++){const _0x4ee3b7=_0x27684c[_0x22ab6d],_0x4db6f1=_0x2921ea[_0xeaed61(0x179)](_0x4ee3b7,_0x242c8f);_0x4db6f1&&_0x3005ee['push'](_0x4db6f1);}if(_0x3005ee[_0xeaed61(0x183)]>0x0){if(_0x96fdbc['filledRanges']=_0x3005ee,!(_0x96fdbc[_0xeaed61(0x167)][_0xeaed61(0x186)]>=_0x242c8f[_0xeaed61(0x186)]&&_0x96fdbc[_0xeaed61(0x167)][_0xeaed61(0x186)]<=_0x242c8f[_0xeaed61(0x170)]&&_0x96fdbc['firstOccurrence'][_0xeaed61(0x189)]>=_0x242c8f[_0xeaed61(0x189)]&&_0x96fdbc[_0xeaed61(0x167)][_0xeaed61(0x189)]<=_0x242c8f[_0xeaed61(0x17b)])){const _0x762aa1=_0x3005ee[0x0],_0x50a466=_0x762aa1[_0xeaed61(0x186)]-_0x96fdbc['firstOccurrence']['startRow'],_0xbaa94a=_0x762aa1[_0xeaed61(0x189)]-_0x96fdbc['firstOccurrence'][_0xeaed61(0x189)];_0x96fdbc[_0xeaed61(0x16e)]=await _0x4fcf7d[_0xeaed61(0x16c)](_0x96fdbc['formula'],_0xbaa94a,_0x50a466),_0x96fdbc['firstOccurrence']={'startRow':_0x762aa1[_0xeaed61(0x186)],'endRow':_0x762aa1[_0xeaed61(0x186)],'startColumn':_0x762aa1[_0xeaed61(0x189)],'endColumn':_0x762aa1['startColumn']};}_0x403681[_0xeaed61(0x174)](_0x96fdbc);}}return _0x403681;}async[_0x4647fe(0x177)](){const _0x371de5=_0x4647fe;return(await this['getFormulaUsages']())[_0x371de5(0x159)](_0x247be0[_0x371de5(0x171)]);}}_0x5253c7['FRange'][_0x4647fe(0x160)](_0x4a3144);}));
|