@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
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3108d0=_0x5374;(function(_0x4eb71e,_0x1db70b){const _0x19e73a=_0x5374,_0x504584=_0x4eb71e();while(!![]){try{const _0x4175e3=parseInt(_0x19e73a(0xb2))/0x1+-parseInt(_0x19e73a(0xc4))/0x2+-parseInt(_0x19e73a(0xa8))/0x3+parseInt(_0x19e73a(0xb6))/0x4*(parseInt(_0x19e73a(0xc5))/0x5)+-parseInt(_0x19e73a(0xa6))/0x6*(-parseInt(_0x19e73a(0xad))/0x7)+parseInt(_0x19e73a(0xc1))/0x8*(-parseInt(_0x19e73a(0xaa))/0x9)+-parseInt(_0x19e73a(0xc9))/0xa*(-parseInt(_0x19e73a(0xc8))/0xb);if(_0x4175e3===_0x1db70b)break;else _0x504584['push'](_0x504584['shift']());}catch(_0x8c11ea){_0x504584['push'](_0x504584['shift']());}}}(_0x19f7,0xa0fd6));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d[_0x3108d0(0xb3)]{async[_0x3108d0(0xbe)](){const _0x571ae3=_0x3108d0;return this[_0x571ae3(0xa5)]()[_0x571ae3(0xbe)]();}}d['FUniver']['extend'](A);function _0x19f7(){const _0x38db3e=['FWorkbook','1190392BKoNjZ','moveFormulaRefOffset','formula','756808WzLrzO','1370JiBTjm','startRow','FRange','11tfnjXa','10352770lvMioW','length','push','filledRanges','getAllFormulaUsages','getActiveWorkbook','208536zNFCkr','getCellDataGrid','3126177GuJukp','toA1','63iWGQsv','getRange','getFormulaUsagesAsA1','70iXrxwU','get','getFormulaUsages','getIntersectRange','_worksheet','758261LXUEdh','FUniver','getMaxRows','_injector','14312hjQprc','extend','startColumn','FWorksheet','IFormulaUsageAnalyzer','map','getAllFormulaError','getMaxColumns','getLintErrors','getCellRaw'];_0x19f7=function(){return _0x38db3e;};return _0x19f7();}class x extends o['FWorkbook']{async[_0x3108d0(0xbe)](){const _0x48aef7=_0x3108d0,_0x387f37=this[_0x48aef7(0xbc)](),_0x4fce0a=await this['getAllDataValidationErrorAsync']();return{'formulaErrors':_0x387f37,'dataValidationErrors':_0x4fce0a};}}function _0x5374(_0xef4c06,_0x1e03b5){_0xef4c06=_0xef4c06-0xa5;const _0x19f7e4=_0x19f7();let _0x537423=_0x19f7e4[_0xef4c06];return _0x537423;}o[_0x3108d0(0xc0)][_0x3108d0(0xb7)](x);class k extends o['FWorksheet']{async[_0x3108d0(0xaf)](){const _0x426ddd=_0x3108d0,_0xba006e=this[_0x426ddd(0xb5)][_0x426ddd(0xae)](c[_0x426ddd(0xba)]),_0x47bb79=this[_0x426ddd(0xab)](0x0,0x0,this[_0x426ddd(0xb4)]()+0x1,this[_0x426ddd(0xbd)]()+0x1)[_0x426ddd(0xa7)]();return await _0xba006e[_0x426ddd(0xcd)](_0x47bb79);}async[_0x3108d0(0xac)](){const _0x33c770=_0x3108d0;return(await this[_0x33c770(0xaf)]())[_0x33c770(0xbb)](c[_0x33c770(0xa9)]);}}o[_0x3108d0(0xb9)][_0x3108d0(0xb7)](k);class U extends o[_0x3108d0(0xc7)]{async[_0x3108d0(0xaf)](){const _0x461c37=_0x3108d0,_0x447ec0=this[_0x461c37(0xb5)][_0x461c37(0xae)](c['IFormulaUsageAnalyzer']),_0x350c6f=(({startRow:_0xb71a1d,endRow:_0x5385f7,startColumn:_0x13ca29,endColumn:_0x38a3ef})=>{const _0x366dd4=_0x461c37,_0x556211=[];for(let _0x49bb85=_0xb71a1d;_0x49bb85<=_0x5385f7;_0x49bb85++){const _0x8af348=[];for(let _0x2a3398=_0x13ca29;_0x2a3398<=_0x38a3ef;_0x2a3398++)_0x8af348[_0x366dd4(0xcb)](this[_0x366dd4(0xb1)][_0x366dd4(0xbf)](_0x49bb85,_0x2a3398));_0x556211[_0x366dd4(0xcb)](_0x8af348);}return _0x556211;})({'startRow':0x0,'endRow':this['_worksheet'][_0x461c37(0xb4)](),'startColumn':0x0,'endColumn':this[_0x461c37(0xb1)]['getMaxColumns']()}),_0x1e8501=await _0x447ec0[_0x461c37(0xcd)](_0x350c6f),_0x5742d6=this[_0x461c37(0xab)](),_0x3c6e68=[];for(let _0x10e5a3=0x0;_0x10e5a3<_0x1e8501[_0x461c37(0xca)];_0x10e5a3++){const _0x145278=_0x1e8501[_0x10e5a3],_0x2997ed=_0x145278[_0x461c37(0xcc)],_0x15fa4f=[];for(let _0x11b820=0x0;_0x11b820<_0x2997ed[_0x461c37(0xca)];_0x11b820++){const _0x5e65da=_0x2997ed[_0x11b820],_0x1d0eaf=w[_0x461c37(0xb0)](_0x5e65da,_0x5742d6);_0x1d0eaf&&_0x15fa4f[_0x461c37(0xcb)](_0x1d0eaf);}if(_0x15fa4f[_0x461c37(0xca)]>0x0){_0x145278[_0x461c37(0xcc)]=_0x15fa4f;const _0xfbdce3=_0x15fa4f[0x0],_0x25b986=_0xfbdce3[_0x461c37(0xc6)]-_0x5742d6[_0x461c37(0xc6)],_0x5de498=_0xfbdce3[_0x461c37(0xb8)]-_0x5742d6[_0x461c37(0xb8)];_0x145278[_0x461c37(0xc3)]=await _0x447ec0[_0x461c37(0xc2)](_0x145278[_0x461c37(0xc3)],_0x25b986,_0x5de498),_0x3c6e68[_0x461c37(0xcb)](_0x145278);}}return _0x3c6e68;}async[_0x3108d0(0xac)](){const _0x5ba7e3=_0x3108d0;return(await this[_0x5ba7e3(0xaf)]())[_0x5ba7e3(0xbb)](c[_0x5ba7e3(0xa9)]);}}o[_0x3108d0(0xc7)][_0x3108d0(0xb7)](U);
|