@univerjs-pro/sheets-mcp 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157
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';const _0x1b4049=_0x35de;(function(_0x5d306b,_0x4c7ebf){const _0x4ec19e=_0x35de,_0x5a850b=_0x5d306b();while(!![]){try{const _0xfbb25b=-parseInt(_0x4ec19e(0x1a1))/0x1*(-parseInt(_0x4ec19e(0x1a3))/0x2)+-parseInt(_0x4ec19e(0x1ae))/0x3*(parseInt(_0x4ec19e(0x1be))/0x4)+-parseInt(_0x4ec19e(0x1c1))/0x5+parseInt(_0x4ec19e(0x1ad))/0x6*(-parseInt(_0x4ec19e(0x1a4))/0x7)+-parseInt(_0x4ec19e(0x1ab))/0x8*(parseInt(_0x4ec19e(0x19f))/0x9)+-parseInt(_0x4ec19e(0x199))/0xa+parseInt(_0x4ec19e(0x1af))/0xb;if(_0xfbb25b===_0x4c7ebf)break;else _0x5a850b['push'](_0x5a850b['shift']());}catch(_0x50193a){_0x5a850b['push'](_0x5a850b['shift']());}}}(_0x48e3,0xbd316));function _0x35de(_0x1e93d9,_0x4732f3){_0x1e93d9=_0x1e93d9-0x197;const _0x48e38c=_0x48e3();let _0x35dea1=_0x48e38c[_0x1e93d9];return _0x35dea1;}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');class C extends d[_0x1b4049(0x197)]{async[_0x1b4049(0x1ac)](){const _0x34a846=_0x1b4049;return this[_0x34a846(0x1bd)]()['getLintErrors']();}}d[_0x1b4049(0x197)][_0x1b4049(0x1b7)](C);class A extends o[_0x1b4049(0x1c0)]{async[_0x1b4049(0x1ac)](){const _0x4270b0=_0x1b4049,_0x17a7a5=this[_0x4270b0(0x1b5)](),_0x152a83=await this[_0x4270b0(0x1b3)]();return{'formulaErrors':_0x17a7a5,'dataValidationErrors':_0x152a83};}}o['FWorkbook'][_0x1b4049(0x1b7)](A);function _0x48e3(){const _0x1dcd34=['endColumn','getAllDataValidationErrorAsync','getIntersectRange','getAllFormulaError','getCellDataGrid','extend','_injector','firstOccurrence','getCellRaw','FWorksheet','getMaxRows','getActiveWorkbook','818352usFsKB','moveFormulaRefOffset','FWorkbook','7273245fSOjvp','FUniver','IFormulaUsageAnalyzer','8515730hsRxUR','startColumn','map','getRange','getAllFormulaUsages','_worksheet','207YgxYsC','FRange','294WKKqNd','getFormulaUsages','8536mOpbwL','1085455LeziEy','push','filledRanges','formula','startRow','getMaxColumns','get','77216XxeCtu','getLintErrors','54hdhMsd','12HRhWTP','46885267qlyklP','toA1','length'];_0x48e3=function(){return _0x1dcd34;};return _0x48e3();}class k extends o['FWorksheet']{async[_0x1b4049(0x1a2)](){const _0x5c3cc1=_0x1b4049,_0x3ac815=this[_0x5c3cc1(0x1b8)][_0x5c3cc1(0x1aa)](m[_0x5c3cc1(0x198)]),_0x16bdac=this[_0x5c3cc1(0x19c)](0x0,0x0,this['getMaxRows'](),this[_0x5c3cc1(0x1a9)]())[_0x5c3cc1(0x1b6)]();return await _0x3ac815['getAllFormulaUsages'](_0x16bdac);}async['getFormulaUsagesAsA1'](){const _0x37564f=_0x1b4049;return(await this[_0x37564f(0x1a2)]())[_0x37564f(0x19b)](m[_0x37564f(0x1b0)]);}}o[_0x1b4049(0x1bb)][_0x1b4049(0x1b7)](k);class x extends o[_0x1b4049(0x1a0)]{async['getFormulaUsages'](){const _0x35c750=_0x1b4049,_0x14319b=this[_0x35c750(0x1b8)]['get'](m[_0x35c750(0x198)]),_0x41b8d6=(({startRow:_0x2bcdcf,endRow:_0x3a3153,startColumn:_0x51766c,endColumn:_0x2c5e95})=>{const _0x2040ad=_0x35c750,_0x1e5d9b=[];for(let _0x37c446=_0x2bcdcf;_0x37c446<=_0x3a3153;_0x37c446++){const _0x5abb5c=[];for(let _0x8305e4=_0x51766c;_0x8305e4<=_0x2c5e95;_0x8305e4++)_0x5abb5c[_0x2040ad(0x1a5)](this['_worksheet'][_0x2040ad(0x1ba)](_0x37c446,_0x8305e4));_0x1e5d9b[_0x2040ad(0x1a5)](_0x5abb5c);}return _0x1e5d9b;})({'startRow':0x0,'endRow':this[_0x35c750(0x19e)][_0x35c750(0x1bc)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x35c750(0x1a9)]()}),_0x2225f4=await _0x14319b[_0x35c750(0x19d)](_0x41b8d6),_0x4e3fc0=this[_0x35c750(0x19c)](),_0x4e2aa9=[];for(let _0x4b9c13=0x0;_0x4b9c13<_0x2225f4[_0x35c750(0x1b1)];_0x4b9c13++){const _0x3f230b=_0x2225f4[_0x4b9c13],_0x38bcae=_0x3f230b[_0x35c750(0x1a6)],_0x457732=[];for(let _0xc55021=0x0;_0xc55021<_0x38bcae[_0x35c750(0x1b1)];_0xc55021++){const _0x24df23=_0x38bcae[_0xc55021],_0x22b619=F[_0x35c750(0x1b4)](_0x24df23,_0x4e3fc0);_0x22b619&&_0x457732[_0x35c750(0x1a5)](_0x22b619);}if(_0x457732[_0x35c750(0x1b1)]>0x0){if(_0x3f230b[_0x35c750(0x1a6)]=_0x457732,!(_0x3f230b[_0x35c750(0x1b9)][_0x35c750(0x1a8)]>=_0x4e3fc0[_0x35c750(0x1a8)]&&_0x3f230b[_0x35c750(0x1b9)][_0x35c750(0x1a8)]<=_0x4e3fc0['endRow']&&_0x3f230b[_0x35c750(0x1b9)][_0x35c750(0x19a)]>=_0x4e3fc0[_0x35c750(0x19a)]&&_0x3f230b[_0x35c750(0x1b9)]['startColumn']<=_0x4e3fc0[_0x35c750(0x1b2)])){const _0x524e96=_0x457732[0x0],_0x5000d1=_0x524e96[_0x35c750(0x1a8)]-_0x3f230b['firstOccurrence'][_0x35c750(0x1a8)],_0x279794=_0x524e96[_0x35c750(0x19a)]-_0x3f230b['firstOccurrence'][_0x35c750(0x19a)];_0x3f230b['formula']=await _0x14319b[_0x35c750(0x1bf)](_0x3f230b[_0x35c750(0x1a7)],_0x279794,_0x5000d1),_0x3f230b[_0x35c750(0x1b9)]={'startRow':_0x524e96[_0x35c750(0x1a8)],'endRow':_0x524e96['startRow'],'startColumn':_0x524e96[_0x35c750(0x19a)],'endColumn':_0x524e96[_0x35c750(0x19a)]};}_0x4e2aa9[_0x35c750(0x1a5)](_0x3f230b);}}return _0x4e2aa9;}async['getFormulaUsagesAsA1'](){const _0x333acf=_0x1b4049;return(await this[_0x333acf(0x1a2)]())[_0x333acf(0x19b)](m['toA1']);}}o[_0x1b4049(0x1a0)][_0x1b4049(0x1b7)](x);
|