@univerjs-pro/sheets-mcp 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511080715
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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4dc50c=_0x2c50;(function(_0x352737,_0x5909ba){const _0x5a4019=_0x2c50,_0x533e30=_0x352737();while(!![]){try{const _0xf5db70=-parseInt(_0x5a4019(0x91))/0x1+-parseInt(_0x5a4019(0x94))/0x2*(-parseInt(_0x5a4019(0x79))/0x3)+-parseInt(_0x5a4019(0x8c))/0x4+-parseInt(_0x5a4019(0x95))/0x5*(parseInt(_0x5a4019(0x87))/0x6)+parseInt(_0x5a4019(0x84))/0x7+-parseInt(_0x5a4019(0x89))/0x8*(parseInt(_0x5a4019(0x8f))/0x9)+parseInt(_0x5a4019(0x8a))/0xa*(parseInt(_0x5a4019(0x97))/0xb);if(_0xf5db70===_0x5909ba)break;else _0x533e30['push'](_0x533e30['shift']());}catch(_0x245d51){_0x533e30['push'](_0x533e30['shift']());}}}(_0x5dea,0xa80ad));const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');function _0x2c50(_0x235969,_0x4a15d8){const _0x5deaeb=_0x5dea();return _0x2c50=function(_0x2c5080,_0x338731){_0x2c5080=_0x2c5080-0x75;let _0x330e85=_0x5deaeb[_0x2c5080];return _0x330e85;},_0x2c50(_0x235969,_0x4a15d8);}const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d[_0x4dc50c(0x7e)]{async[_0x4dc50c(0x7b)](){const _0x29aaea=_0x4dc50c;return this[_0x29aaea(0x86)]()[_0x29aaea(0x7b)]();}}d[_0x4dc50c(0x7e)][_0x4dc50c(0x93)](A);class x extends o[_0x4dc50c(0x8d)]{async[_0x4dc50c(0x7b)](){const _0x3e0df9=_0x4dc50c,_0x112e0f=this[_0x3e0df9(0x90)](),_0x2715e8=await this[_0x3e0df9(0x80)]();return{'formulaErrors':_0x112e0f,'dataValidationErrors':_0x2715e8};}}o[_0x4dc50c(0x8d)][_0x4dc50c(0x93)](x);class k extends o['FWorksheet']{async[_0x4dc50c(0x83)](){const _0xb83f8c=_0x4dc50c,_0x11c32e=this[_0xb83f8c(0x96)][_0xb83f8c(0x75)](c['IFormulaUsageAnalyzer']),_0x8bde2f=this[_0xb83f8c(0x88)](0x0,0x0,this[_0xb83f8c(0x78)]()+0x1,this[_0xb83f8c(0x7d)]()+0x1)['getCellDataGrid']();return await _0x11c32e[_0xb83f8c(0x81)](_0x8bde2f);}async[_0x4dc50c(0x85)](){return(await this['getFormulaUsages']())['map'](c['toA1']);}}o['FWorksheet']['extend'](k);class U extends o[_0x4dc50c(0x77)]{async[_0x4dc50c(0x83)](){const _0x565051=_0x4dc50c,_0x4f1cd0=this['_injector'][_0x565051(0x75)](c[_0x565051(0x7a)]),_0x2771bf=(({startRow:_0x1dd39b,endRow:_0x495957,startColumn:_0x5bded0,endColumn:_0x70deee})=>{const _0x3b3057=_0x565051,_0x27b2de=[];for(let _0x4379a0=_0x1dd39b;_0x4379a0<=_0x495957;_0x4379a0++){const _0x578517=[];for(let _0x2d0413=_0x5bded0;_0x2d0413<=_0x70deee;_0x2d0413++)_0x578517[_0x3b3057(0x8e)](this[_0x3b3057(0x82)]['getCellRaw'](_0x4379a0,_0x2d0413));_0x27b2de[_0x3b3057(0x8e)](_0x578517);}return _0x27b2de;})({'startRow':0x0,'endRow':this[_0x565051(0x82)]['getMaxRows'](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x565051(0x7d)]()}),_0x4f23f8=await _0x4f1cd0[_0x565051(0x81)](_0x2771bf),_0x293e24=this['getRange'](),_0x2a88e3=[];for(let _0x3c20a7=0x0;_0x3c20a7<_0x4f23f8[_0x565051(0x99)];_0x3c20a7++){const _0x57f258=_0x4f23f8[_0x3c20a7],_0x21b7e8=_0x57f258[_0x565051(0x7c)],_0x1f808e=[];for(let _0x5a96ec=0x0;_0x5a96ec<_0x21b7e8[_0x565051(0x99)];_0x5a96ec++){const _0x1f26d6=_0x21b7e8[_0x5a96ec],_0x5aad57=w['getIntersectRange'](_0x1f26d6,_0x293e24);_0x5aad57&&_0x1f808e['push'](_0x5aad57);}if(_0x1f808e[_0x565051(0x99)]>0x0){_0x57f258[_0x565051(0x7c)]=_0x1f808e;const _0x55c089=_0x1f808e[0x0],_0x280db0=_0x55c089['startRow']-_0x293e24[_0x565051(0x76)],_0x5bb883=_0x55c089[_0x565051(0x8b)]-_0x293e24[_0x565051(0x8b)];_0x57f258[_0x565051(0x7f)]=await _0x4f1cd0[_0x565051(0x98)](_0x57f258[_0x565051(0x7f)],_0x280db0,_0x5bb883),_0x2a88e3['push'](_0x57f258);}}return _0x2a88e3;}async['getFormulaUsagesAsA1'](){const _0x28d225=_0x4dc50c;return(await this[_0x28d225(0x83)]())[_0x28d225(0x92)](c[_0x28d225(0x9a)]);}}function _0x5dea(){const _0x5507e1=['477VzSVdc','getAllFormulaError','455220JaJhRW','map','extend','534lSQxio','2658155GJPvSs','_injector','20615287ERSAVE','moveFormulaRefOffset','length','toA1','get','startRow','FRange','getMaxRows','10767fTCpKw','IFormulaUsageAnalyzer','getLintErrors','filledRanges','getMaxColumns','FUniver','formula','getAllDataValidationErrorAsync','getAllFormulaUsages','_worksheet','getFormulaUsages','2143421ZgoRnL','getFormulaUsagesAsA1','getActiveWorkbook','12SmInbS','getRange','44624OOQIEt','10ArnKGs','startColumn','2544664ZIhsxR','FWorkbook','push'];_0x5dea=function(){return _0x5507e1;};return _0x5dea();}o[_0x4dc50c(0x77)]['extend'](U);
|