@univerjs-pro/sheets-mcp 0.12.4 → 0.13.0-insiders.20251216-1519cb7
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 +12 -12
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x29fad0=_0x65f5;(function(_0x54c175,_0x1fd8f1){const _0x1fcb38=_0x65f5,_0x372a05=_0x54c175();while(!![]){try{const _0x61fb71=-parseInt(_0x1fcb38(0xeb))/0x1*(parseInt(_0x1fcb38(0xf2))/0x2)+-parseInt(_0x1fcb38(0xe3))/0x3*(parseInt(_0x1fcb38(0xe8))/0x4)+parseInt(_0x1fcb38(0x100))/0x5*(parseInt(_0x1fcb38(0xe4))/0x6)+parseInt(_0x1fcb38(0x101))/0x7*(parseInt(_0x1fcb38(0xee))/0x8)+-parseInt(_0x1fcb38(0xd6))/0x9*(-parseInt(_0x1fcb38(0xe7))/0xa)+parseInt(_0x1fcb38(0xfd))/0xb+-parseInt(_0x1fcb38(0xfc))/0xc*(parseInt(_0x1fcb38(0x102))/0xd);if(_0x61fb71===_0x1fd8f1)break;else _0x372a05['push'](_0x372a05['shift']());}catch(_0x234945){_0x372a05['push'](_0x372a05['shift']());}}}(_0xab50,0x83611));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),m=require('@univerjs-pro/sheets-mcp'),F=require('@univerjs/core');function _0xab50(){const _0x2d2f09=['getFormulaUsagesAsA1','getAllFormulaUsages','getLintErrors','36hQOJjS','5978247pBfauP','get','moveFormulaRefOffset','2421970OKftbI','6013ikUafa','2304354NzYIgY','27Pygwsx','FWorksheet','FUniver','startColumn','getCellRaw','toA1','getActiveWorkbook','FWorkbook','FRange','extend','getIntersectRange','filledRanges','length','3dFZeVx','6khEHeL','getMaxColumns','endColumn','2967080RgYNql','2145084EakfJO','getAllDataValidationErrorAsync','_injector','81033glmirw','getRange','_worksheet','1624wSUqkr','startRow','formula','IFormulaUsageAnalyzer','12aWsnrx','getFormulaUsages','push','getMaxRows','map','firstOccurrence','getAllFormulaError'];_0xab50=function(){return _0x2d2f09;};return _0xab50();}class C extends d['FUniver']{async[_0x29fad0(0xfb)](){const _0x51b5a8=_0x29fad0;return this[_0x51b5a8(0xdc)]()[_0x51b5a8(0xfb)]();}}d[_0x29fad0(0xd8)][_0x29fad0(0xdf)](C);function _0x65f5(_0xb81c6c,_0x30dc7a){_0xb81c6c=_0xb81c6c-0xd6;const _0xab50af=_0xab50();let _0x65f54f=_0xab50af[_0xb81c6c];return _0x65f54f;}class A extends o[_0x29fad0(0xdd)]{async[_0x29fad0(0xfb)](){const _0x52e864=_0x29fad0,_0x48cbff=this[_0x52e864(0xf8)](),_0x5a697b=await this[_0x52e864(0xe9)]();return{'formulaErrors':_0x48cbff,'dataValidationErrors':_0x5a697b};}}o[_0x29fad0(0xdd)][_0x29fad0(0xdf)](A);class k extends o[_0x29fad0(0xd7)]{async[_0x29fad0(0xf3)](){const _0x2606c3=_0x29fad0,_0x1140e5=this[_0x2606c3(0xea)][_0x2606c3(0xfe)](m[_0x2606c3(0xf1)]),_0x288eda=this[_0x2606c3(0xec)](0x0,0x0,this[_0x2606c3(0xf5)]()+0x1,this['getMaxColumns']()+0x1)['getCellDataGrid']();return await _0x1140e5[_0x2606c3(0xfa)](_0x288eda);}async[_0x29fad0(0xf9)](){const _0x66435a=_0x29fad0;return(await this[_0x66435a(0xf3)]())['map'](m[_0x66435a(0xdb)]);}}o['FWorksheet']['extend'](k);class x extends o['FRange']{async[_0x29fad0(0xf3)](){const _0x45faef=_0x29fad0,_0x59336b=this[_0x45faef(0xea)][_0x45faef(0xfe)](m[_0x45faef(0xf1)]),_0x4b0147=(({startRow:_0x5b0237,endRow:_0x4aaacd,startColumn:_0x2f2848,endColumn:_0x15099a})=>{const _0x941c7=_0x45faef,_0xaa2023=[];for(let _0x4ca2e2=_0x5b0237;_0x4ca2e2<=_0x4aaacd;_0x4ca2e2++){const _0x2f588b=[];for(let _0x9dba1a=_0x2f2848;_0x9dba1a<=_0x15099a;_0x9dba1a++)_0x2f588b[_0x941c7(0xf4)](this[_0x941c7(0xed)][_0x941c7(0xda)](_0x4ca2e2,_0x9dba1a));_0xaa2023[_0x941c7(0xf4)](_0x2f588b);}return _0xaa2023;})({'startRow':0x0,'endRow':this[_0x45faef(0xed)][_0x45faef(0xf5)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x45faef(0xe5)]()}),_0x34263c=await _0x59336b[_0x45faef(0xfa)](_0x4b0147),_0x169c5b=this[_0x45faef(0xec)](),_0x24f3d8=[];for(let _0x51bc53=0x0;_0x51bc53<_0x34263c[_0x45faef(0xe2)];_0x51bc53++){const _0x1dba17=_0x34263c[_0x51bc53],_0x308120=_0x1dba17[_0x45faef(0xe1)],_0x29467c=[];for(let _0x4daf99=0x0;_0x4daf99<_0x308120[_0x45faef(0xe2)];_0x4daf99++){const _0x18aea0=_0x308120[_0x4daf99],_0x14c14c=F[_0x45faef(0xe0)](_0x18aea0,_0x169c5b);_0x14c14c&&_0x29467c[_0x45faef(0xf4)](_0x14c14c);}if(_0x29467c[_0x45faef(0xe2)]>0x0){if(_0x1dba17[_0x45faef(0xe1)]=_0x29467c,!(_0x1dba17[_0x45faef(0xf7)][_0x45faef(0xef)]>=_0x169c5b[_0x45faef(0xef)]&&_0x1dba17[_0x45faef(0xf7)][_0x45faef(0xef)]<=_0x169c5b['endRow']&&_0x1dba17['firstOccurrence'][_0x45faef(0xd9)]>=_0x169c5b[_0x45faef(0xd9)]&&_0x1dba17[_0x45faef(0xf7)][_0x45faef(0xd9)]<=_0x169c5b[_0x45faef(0xe6)])){const _0x227ebe=_0x29467c[0x0],_0xe4f33e=_0x227ebe[_0x45faef(0xef)]-_0x1dba17[_0x45faef(0xf7)][_0x45faef(0xef)],_0x4296a1=_0x227ebe['startColumn']-_0x1dba17[_0x45faef(0xf7)][_0x45faef(0xd9)];_0x1dba17[_0x45faef(0xf0)]=await _0x59336b[_0x45faef(0xff)](_0x1dba17[_0x45faef(0xf0)],_0x4296a1,_0xe4f33e),_0x1dba17[_0x45faef(0xf7)]={'startRow':_0x227ebe[_0x45faef(0xef)],'endRow':_0x227ebe[_0x45faef(0xef)],'startColumn':_0x227ebe['startColumn'],'endColumn':_0x227ebe['startColumn']};}_0x24f3d8[_0x45faef(0xf4)](_0x1dba17);}}return _0x24f3d8;}async[_0x29fad0(0xf9)](){const _0x3082df=_0x29fad0;return(await this[_0x3082df(0xf3)]())[_0x3082df(0xf6)](m[_0x3082df(0xdb)]);}}o[_0x29fad0(0xde)][_0x29fad0(0xdf)](x);
|