@univerjs-pro/sheets-mcp 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-7b9120d
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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x26f6(){const _0x56e316=['getActiveWorkbook','3105040aPPkBX','_workbook','getFormulaUsagesAsA1','getLintErrors','getCellDataGrid','getIntersectRange','moveFormulaRefOffset','3271108cLBimr','277386CHGiEL','13443174zCKtqr','33dCBoeB','getSizeUsagesAsA1','getAllStyleUsages','getMaxRows','_injector','getStyleUsagesAsA1','firstOccurrence','formulaToA1','updateConfig','getRange','startRow','push','882104ThVTFH','get','IStyleUsageAnalyzer','FRange','endRow','endColumn','69HLcmnX','IFormulaUsageAnalyzer','length','FUniver','getStyleUsages','getMaxColumns','FWorkbook','getCellRaw','getSizeUsages','formula','extend','9824020rDlfnk','5HHwQmT','_worksheet','getFormulaUsages','filledRanges','getAllSizeUsages','getAllFormulaError','styleToA1','getAllFormulaUsages','14pAegCv','getAllDataValidationErrorAsync','startColumn','123014YcypIE','ISizeUsageAnalyzer','map','toA1'];_0x26f6=function(){return _0x56e316;};return _0x26f6();}const _0x2d7a01=_0x3304;(function(_0x36178e,_0x88b7c2){const _0x40c4b2=_0x3304,_0x3b2312=_0x36178e();while(!![]){try{const _0x12fe72=-parseInt(_0x40c4b2(0x87))/0x1+-parseInt(_0x40c4b2(0x6c))/0x2*(-parseInt(_0x40c4b2(0x8d))/0x3)+-parseInt(_0x40c4b2(0x78))/0x4*(parseInt(_0x40c4b2(0x99))/0x5)+parseInt(_0x40c4b2(0x79))/0x6*(parseInt(_0x40c4b2(0x69))/0x7)+-parseInt(_0x40c4b2(0x71))/0x8+-parseInt(_0x40c4b2(0x7a))/0x9+-parseInt(_0x40c4b2(0x98))/0xa*(-parseInt(_0x40c4b2(0x7b))/0xb);if(_0x12fe72===_0x88b7c2)break;else _0x3b2312['push'](_0x3b2312['shift']());}catch(_0x1ed091){_0x3b2312['push'](_0x3b2312['shift']());}}}(_0x26f6,0xd50b8));const U=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const f=require('@univerjs/sheets/facade'),g=require('@univerjs-pro/sheets-mcp'),m=require('@univerjs/core');class y extends U[_0x2d7a01(0x90)]{async[_0x2d7a01(0x74)](){const _0x32155d=_0x2d7a01;return this[_0x32155d(0x70)]()['getLintErrors']();}}U[_0x2d7a01(0x90)]['extend'](y);class C extends f[_0x2d7a01(0x93)]{async[_0x2d7a01(0x74)](){const _0x5214ba=_0x2d7a01,_0x37d90f=this[_0x5214ba(0x66)](),_0x18dde8=await this[_0x5214ba(0x6a)]();return{'formulaErrors':_0x37d90f,'dataValidationErrors':_0x18dde8};}}f[_0x2d7a01(0x93)]['extend'](C);class z extends f['FWorksheet']{async[_0x2d7a01(0x9b)](){const _0x2c1f79=_0x2d7a01,_0x44db6b=this[_0x2c1f79(0x7f)][_0x2c1f79(0x88)](g[_0x2c1f79(0x8e)]),_0x30174c=this[_0x2c1f79(0x84)](0x0,0x0,this[_0x2c1f79(0x7e)](),this[_0x2c1f79(0x92)]())[_0x2c1f79(0x75)]();return await _0x44db6b[_0x2c1f79(0x68)](_0x30174c);}async['getFormulaUsagesAsA1'](){const _0x542247=_0x2d7a01;return(await this['getFormulaUsages']())[_0x542247(0x6e)](g['formulaToA1']);}[_0x2d7a01(0x91)](_0x386255){const _0x5d9213=_0x2d7a01,_0x1e1014=this[_0x5d9213(0x7f)]['get'](g[_0x5d9213(0x89)]),_0x610b84=this[_0x5d9213(0x84)](0x0,0x0,this[_0x5d9213(0x7e)](),this[_0x5d9213(0x92)]())[_0x5d9213(0x75)]();return _0x1e1014[_0x5d9213(0x83)](_0x386255),_0x1e1014[_0x5d9213(0x7d)](_0x610b84,this[_0x5d9213(0x72)],this[_0x5d9213(0x9a)]);}['getStyleUsagesAsA1'](_0x56c69f){const _0x10a809=_0x2d7a01;return this['getStyleUsages'](_0x56c69f)[_0x10a809(0x6e)](g[_0x10a809(0x67)]);}[_0x2d7a01(0x95)](_0x3d9639){const _0x5182cc=_0x2d7a01,_0x2d412e=this[_0x5182cc(0x7f)][_0x5182cc(0x88)](g['ISizeUsageAnalyzer']);return _0x2d412e[_0x5182cc(0x83)](_0x3d9639),_0x2d412e[_0x5182cc(0x65)](this[_0x5182cc(0x9a)]);}[_0x2d7a01(0x7c)](_0x265bb1){const _0x41a78b=_0x2d7a01,_0x400ea8=this[_0x41a78b(0x7f)][_0x41a78b(0x88)](g[_0x41a78b(0x6d)]);_0x400ea8[_0x41a78b(0x83)](_0x265bb1);const _0x2eca2c=_0x400ea8[_0x41a78b(0x65)](this[_0x41a78b(0x9a)]);return _0x400ea8[_0x41a78b(0x6f)](_0x2eca2c);}}f['FWorksheet']['extend'](z);class S extends f['FRange']{async['getFormulaUsages'](){const _0x1bec91=_0x2d7a01,_0xec1d04=this['_injector']['get'](g[_0x1bec91(0x8e)]),_0x3d172e=(({startRow:_0x505be9,endRow:_0x29b1ee,startColumn:_0x54a07c,endColumn:_0x30d687})=>{const _0x5dfddd=_0x1bec91,_0x4af8cb=[];for(let _0x3c8bc1=_0x505be9;_0x3c8bc1<=_0x29b1ee;_0x3c8bc1++){const _0x4b21f0=[];for(let _0x4234e8=_0x54a07c;_0x4234e8<=_0x30d687;_0x4234e8++)_0x4b21f0[_0x5dfddd(0x86)](this['_worksheet'][_0x5dfddd(0x94)](_0x3c8bc1,_0x4234e8));_0x4af8cb[_0x5dfddd(0x86)](_0x4b21f0);}return _0x4af8cb;})({'startRow':0x0,'endRow':this[_0x1bec91(0x9a)][_0x1bec91(0x7e)](),'startColumn':0x0,'endColumn':this[_0x1bec91(0x9a)][_0x1bec91(0x92)]()}),_0x3d33c1=await _0xec1d04['getAllFormulaUsages'](_0x3d172e),_0x4503f3=this['getRange'](),_0x366326=[];for(let _0xaafef9=0x0;_0xaafef9<_0x3d33c1[_0x1bec91(0x8f)];_0xaafef9++){const _0x301000=_0x3d33c1[_0xaafef9],_0x414deb=_0x301000[_0x1bec91(0x9c)],_0x387f0b=[];for(let _0x355059=0x0;_0x355059<_0x414deb['length'];_0x355059++){const _0x51638e=_0x414deb[_0x355059],_0x4b79de=m[_0x1bec91(0x76)](_0x51638e,_0x4503f3);_0x4b79de&&_0x387f0b[_0x1bec91(0x86)](_0x4b79de);}if(_0x387f0b[_0x1bec91(0x8f)]>0x0){if(_0x301000[_0x1bec91(0x9c)]=_0x387f0b,!(_0x301000[_0x1bec91(0x81)]['startRow']>=_0x4503f3[_0x1bec91(0x85)]&&_0x301000[_0x1bec91(0x81)][_0x1bec91(0x85)]<=_0x4503f3[_0x1bec91(0x8b)]&&_0x301000[_0x1bec91(0x81)][_0x1bec91(0x6b)]>=_0x4503f3['startColumn']&&_0x301000[_0x1bec91(0x81)]['startColumn']<=_0x4503f3[_0x1bec91(0x8c)])){const _0x2709d4=_0x387f0b[0x0],_0x234f10=_0x2709d4[_0x1bec91(0x85)]-_0x301000[_0x1bec91(0x81)][_0x1bec91(0x85)],_0x4ad035=_0x2709d4[_0x1bec91(0x6b)]-_0x301000[_0x1bec91(0x81)]['startColumn'];_0x301000[_0x1bec91(0x96)]=await _0xec1d04[_0x1bec91(0x77)](_0x301000[_0x1bec91(0x96)],_0x4ad035,_0x234f10),_0x301000['firstOccurrence']={'startRow':_0x2709d4[_0x1bec91(0x85)],'endRow':_0x2709d4[_0x1bec91(0x85)],'startColumn':_0x2709d4[_0x1bec91(0x6b)],'endColumn':_0x2709d4[_0x1bec91(0x6b)]};}_0x366326[_0x1bec91(0x86)](_0x301000);}}return _0x366326;}async[_0x2d7a01(0x73)](){const _0x15b5ba=_0x2d7a01;return(await this[_0x15b5ba(0x9b)]())[_0x15b5ba(0x6e)](g[_0x15b5ba(0x82)]);}[_0x2d7a01(0x91)](_0x4c8451){const _0x21d76f=_0x2d7a01,_0x12c17b=this[_0x21d76f(0x7f)][_0x21d76f(0x88)](g[_0x21d76f(0x89)]),_0x54e3bb=(({startRow:_0x234e0f,endRow:_0x5cce2b,startColumn:_0x1c15a3,endColumn:_0x40869b})=>{const _0x1ae3d3=_0x21d76f,_0x2e50a8=[];for(let _0x2ff1a7=_0x234e0f;_0x2ff1a7<=_0x5cce2b;_0x2ff1a7++){const _0x53cd58=[];for(let _0x4f462e=_0x1c15a3;_0x4f462e<=_0x40869b;_0x4f462e++)_0x53cd58[_0x1ae3d3(0x86)](this[_0x1ae3d3(0x9a)][_0x1ae3d3(0x94)](_0x2ff1a7,_0x4f462e));_0x2e50a8['push'](_0x53cd58);}return _0x2e50a8;})({'startRow':0x0,'endRow':this[_0x21d76f(0x9a)][_0x21d76f(0x7e)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x21d76f(0x92)]()});_0x12c17b[_0x21d76f(0x83)](_0x4c8451);const _0x4836a9=_0x12c17b['getAllStyleUsages'](_0x54e3bb,this[_0x21d76f(0x72)],this['_worksheet']),_0x534cfc=this[_0x21d76f(0x84)](),_0xcfc961=[];for(let _0x6b1020=0x0;_0x6b1020<_0x4836a9['length'];_0x6b1020++){const _0x330d7a=_0x4836a9[_0x6b1020],_0x42a5b8=_0x330d7a['filledRanges'],_0x15931f=[];for(let _0x464203=0x0;_0x464203<_0x42a5b8[_0x21d76f(0x8f)];_0x464203++){const _0x1434d8=_0x42a5b8[_0x464203],_0x63c57=m[_0x21d76f(0x76)](_0x1434d8,_0x534cfc);_0x63c57&&_0x15931f['push'](_0x63c57);}_0x15931f[_0x21d76f(0x8f)]>0x0&&(_0x330d7a[_0x21d76f(0x9c)]=_0x15931f,_0xcfc961[_0x21d76f(0x86)](_0x330d7a));}return _0xcfc961;}[_0x2d7a01(0x80)](_0x22166f){const _0x1c2326=_0x2d7a01;return this[_0x1c2326(0x91)](_0x22166f)[_0x1c2326(0x6e)](g[_0x1c2326(0x67)]);}[_0x2d7a01(0x95)](_0x520dfc){const _0x5ed347=_0x2d7a01,_0x4f454d=this[_0x5ed347(0x7f)][_0x5ed347(0x88)](g['ISizeUsageAnalyzer']),_0x521144=this['getRange']();return _0x4f454d[_0x5ed347(0x83)](_0x520dfc),_0x4f454d[_0x5ed347(0x65)](this[_0x5ed347(0x9a)],_0x521144[_0x5ed347(0x85)],_0x521144[_0x5ed347(0x8b)],_0x521144[_0x5ed347(0x6b)],_0x521144[_0x5ed347(0x8c)]);}[_0x2d7a01(0x7c)](_0x180cbb){const _0x305d2f=_0x2d7a01,_0xc05e1a=this[_0x305d2f(0x95)](_0x180cbb);return this[_0x305d2f(0x7f)][_0x305d2f(0x88)](g[_0x305d2f(0x6d)])['toA1'](_0xc05e1a);}}function _0x3304(_0x5c2f21,_0x179716){_0x5c2f21=_0x5c2f21-0x65;const _0x26f63c=_0x26f6();let _0x3304a1=_0x26f63c[_0x5c2f21];return _0x3304a1;}f[_0x2d7a01(0x8a)][_0x2d7a01(0x97)](S);
|