@univerjs-pro/sheets-mcp 0.13.0-insiders.20251220-0a5ea4d → 0.13.0-insiders.20251223-857805c
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';
|
|
1
|
+
'use strict';const _0x387dc4=_0x5492;(function(_0x268ec3,_0x2c149c){const _0x2cd561=_0x5492,_0x6f432f=_0x268ec3();while(!![]){try{const _0x203d74=parseInt(_0x2cd561(0x1eb))/0x1*(parseInt(_0x2cd561(0x1e6))/0x2)+-parseInt(_0x2cd561(0x1ea))/0x3*(parseInt(_0x2cd561(0x1e0))/0x4)+parseInt(_0x2cd561(0x1d7))/0x5+parseInt(_0x2cd561(0x1cf))/0x6*(parseInt(_0x2cd561(0x1cb))/0x7)+parseInt(_0x2cd561(0x1da))/0x8+parseInt(_0x2cd561(0x1d3))/0x9+-parseInt(_0x2cd561(0x1c9))/0xa;if(_0x203d74===_0x2c149c)break;else _0x6f432f['push'](_0x6f432f['shift']());}catch(_0x196c5f){_0x6f432f['push'](_0x6f432f['shift']());}}}(_0x5bac,0xd2cfc));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 _0x5492(_0x11f28e,_0x2f49d3){_0x11f28e=_0x11f28e-0x1c5;const _0x5bac2a=_0x5bac();let _0x5492ac=_0x5bac2a[_0x11f28e];return _0x5492ac;}class C extends d[_0x387dc4(0x1e8)]{async[_0x387dc4(0x1d9)](){const _0xea0c3e=_0x387dc4;return this[_0xea0c3e(0x1d6)]()[_0xea0c3e(0x1d9)]();}}function _0x5bac(){const _0x785d85=['2ApDZkj','formula','FUniver','getAllDataValidationErrorAsync','3867uECzaR','1561567XiEhrP','endRow','getIntersectRange','extend','startRow','getMaxRows','moveFormulaRefOffset','25174610uDbvgU','map','189wlYFsz','filledRanges','firstOccurrence','get','14838sGXxyb','endColumn','length','getAllFormulaError','6848982zfWUKe','getRange','startColumn','getActiveWorkbook','4256765ESpecn','getFormulaUsagesAsA1','getLintErrors','11000944jxbfwf','toA1','getAllFormulaUsages','getFormulaUsages','getCellRaw','_injector','3832BkfvJX','push','getMaxColumns','_worksheet','FWorksheet','FRange'];_0x5bac=function(){return _0x785d85;};return _0x5bac();}d[_0x387dc4(0x1e8)][_0x387dc4(0x1c5)](C);class A extends o['FWorkbook']{async['getLintErrors'](){const _0x12d535=_0x387dc4,_0x5933b9=this[_0x12d535(0x1d2)](),_0x464de5=await this[_0x12d535(0x1e9)]();return{'formulaErrors':_0x5933b9,'dataValidationErrors':_0x464de5};}}o['FWorkbook']['extend'](A);class k extends o[_0x387dc4(0x1e4)]{async['getFormulaUsages'](){const _0x3159f8=_0x387dc4,_0x353437=this[_0x3159f8(0x1df)][_0x3159f8(0x1ce)](m['IFormulaUsageAnalyzer']),_0x47a4b8=this[_0x3159f8(0x1d4)](0x0,0x0,this[_0x3159f8(0x1c7)]()+0x1,this[_0x3159f8(0x1e2)]()+0x1)['getCellDataGrid']();return await _0x353437['getAllFormulaUsages'](_0x47a4b8);}async[_0x387dc4(0x1d8)](){const _0x4a0d78=_0x387dc4;return(await this[_0x4a0d78(0x1dd)]())[_0x4a0d78(0x1ca)](m['toA1']);}}o['FWorksheet']['extend'](k);class x extends o[_0x387dc4(0x1e5)]{async[_0x387dc4(0x1dd)](){const _0x3380a1=_0x387dc4,_0x240927=this[_0x3380a1(0x1df)][_0x3380a1(0x1ce)](m['IFormulaUsageAnalyzer']),_0x5283c6=(({startRow:_0xadbf59,endRow:_0x2b8e3b,startColumn:_0x191eba,endColumn:_0x534596})=>{const _0x24cd8c=_0x3380a1,_0x62d727=[];for(let _0x164540=_0xadbf59;_0x164540<=_0x2b8e3b;_0x164540++){const _0x11271f=[];for(let _0x1f3bd4=_0x191eba;_0x1f3bd4<=_0x534596;_0x1f3bd4++)_0x11271f['push'](this[_0x24cd8c(0x1e3)][_0x24cd8c(0x1de)](_0x164540,_0x1f3bd4));_0x62d727[_0x24cd8c(0x1e1)](_0x11271f);}return _0x62d727;})({'startRow':0x0,'endRow':this[_0x3380a1(0x1e3)][_0x3380a1(0x1c7)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x3380a1(0x1e2)]()}),_0x42d2ee=await _0x240927[_0x3380a1(0x1dc)](_0x5283c6),_0x488942=this[_0x3380a1(0x1d4)](),_0x3c2e64=[];for(let _0x1b83c1=0x0;_0x1b83c1<_0x42d2ee[_0x3380a1(0x1d1)];_0x1b83c1++){const _0x31830e=_0x42d2ee[_0x1b83c1],_0x5e66f6=_0x31830e[_0x3380a1(0x1cc)],_0x1bb966=[];for(let _0x574da2=0x0;_0x574da2<_0x5e66f6['length'];_0x574da2++){const _0x2baf79=_0x5e66f6[_0x574da2],_0x24e8d2=F[_0x3380a1(0x1ed)](_0x2baf79,_0x488942);_0x24e8d2&&_0x1bb966[_0x3380a1(0x1e1)](_0x24e8d2);}if(_0x1bb966[_0x3380a1(0x1d1)]>0x0){if(_0x31830e['filledRanges']=_0x1bb966,!(_0x31830e[_0x3380a1(0x1cd)]['startRow']>=_0x488942[_0x3380a1(0x1c6)]&&_0x31830e['firstOccurrence'][_0x3380a1(0x1c6)]<=_0x488942[_0x3380a1(0x1ec)]&&_0x31830e[_0x3380a1(0x1cd)]['startColumn']>=_0x488942[_0x3380a1(0x1d5)]&&_0x31830e[_0x3380a1(0x1cd)][_0x3380a1(0x1d5)]<=_0x488942[_0x3380a1(0x1d0)])){const _0x5c8080=_0x1bb966[0x0],_0x8fabc0=_0x5c8080[_0x3380a1(0x1c6)]-_0x31830e['firstOccurrence'][_0x3380a1(0x1c6)],_0x34f3d2=_0x5c8080[_0x3380a1(0x1d5)]-_0x31830e[_0x3380a1(0x1cd)][_0x3380a1(0x1d5)];_0x31830e[_0x3380a1(0x1e7)]=await _0x240927[_0x3380a1(0x1c8)](_0x31830e[_0x3380a1(0x1e7)],_0x34f3d2,_0x8fabc0),_0x31830e[_0x3380a1(0x1cd)]={'startRow':_0x5c8080['startRow'],'endRow':_0x5c8080[_0x3380a1(0x1c6)],'startColumn':_0x5c8080[_0x3380a1(0x1d5)],'endColumn':_0x5c8080[_0x3380a1(0x1d5)]};}_0x3c2e64[_0x3380a1(0x1e1)](_0x31830e);}}return _0x3c2e64;}async[_0x387dc4(0x1d8)](){const _0x4a306f=_0x387dc4;return(await this[_0x4a306f(0x1dd)]())[_0x4a306f(0x1ca)](m[_0x4a306f(0x1db)]);}}o[_0x387dc4(0x1e5)]['extend'](x);
|