@univerjs-pro/sheets-mcp 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-29c379a
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 _0x26cbe3=_0x2cf1;(function(_0x4ed96c,_0x1213b0){const _0x57a3cd=_0x2cf1,_0x330a35=_0x4ed96c();while(!![]){try{const _0x324c8c=-parseInt(_0x57a3cd(0x179))/0x1*(parseInt(_0x57a3cd(0x17c))/0x2)+parseInt(_0x57a3cd(0x172))/0x3+parseInt(_0x57a3cd(0x176))/0x4+parseInt(_0x57a3cd(0x187))/0x5+parseInt(_0x57a3cd(0x163))/0x6+-parseInt(_0x57a3cd(0x17a))/0x7*(parseInt(_0x57a3cd(0x17d))/0x8)+-parseInt(_0x57a3cd(0x173))/0x9*(-parseInt(_0x57a3cd(0x164))/0xa);if(_0x324c8c===_0x1213b0)break;else _0x330a35['push'](_0x330a35['shift']());}catch(_0x1eb30c){_0x330a35['push'](_0x330a35['shift']());}}}(_0x30cb,0x7bdb6));function _0x30cb(){const _0x1f6d77=['1128008VMuOaf','FUniver','filledRanges','FWorkbook','push','getCellRaw','_injector','getAllFormulaUsages','getMaxRows','_worksheet','131490JBUdXt','map','startRow','875592tyEpgr','5920dMoECX','getFormulaUsages','get','FWorksheet','getAllFormulaError','toA1','IFormulaUsageAnalyzer','getMaxColumns','formula','getCellDataGrid','moveFormulaRefOffset','getAllDataValidationErrorAsync','getActiveWorkbook','getFormulaUsagesAsA1','2845476WQLCAJ','954mWuoqN','getIntersectRange','FRange','1147656ZWKHNo','getLintErrors','extend','4WHbWKI','42sxIOIH','length','58532HdxuCk'];_0x30cb=function(){return _0x1f6d77;};return _0x30cb();}const d=require('@univerjs/core/facade');require('@univerjs/sheets-formula/facade'),require('@univerjs/sheets-data-validation/facade');const o=require('@univerjs/sheets/facade'),c=require('@univerjs-pro/sheets-mcp'),w=require('@univerjs/core');class A extends d['FUniver']{async[_0x26cbe3(0x177)](){const _0x4fde8d=_0x26cbe3;return this[_0x4fde8d(0x170)]()[_0x4fde8d(0x177)]();}}d[_0x26cbe3(0x17e)][_0x26cbe3(0x178)](A);class x extends o[_0x26cbe3(0x180)]{async['getLintErrors'](){const _0x580e8b=_0x26cbe3,_0x32ee32=this[_0x580e8b(0x168)](),_0x248c68=await this[_0x580e8b(0x16f)]();return{'formulaErrors':_0x32ee32,'dataValidationErrors':_0x248c68};}}o['FWorkbook'][_0x26cbe3(0x178)](x);class k extends o[_0x26cbe3(0x167)]{async[_0x26cbe3(0x165)](){const _0xdebd13=_0x26cbe3,_0x25a506=this[_0xdebd13(0x183)][_0xdebd13(0x166)](c[_0xdebd13(0x16a)]),_0x53de1d=this['getRange'](0x0,0x0,this[_0xdebd13(0x185)]()+0x1,this[_0xdebd13(0x16b)]()+0x1)[_0xdebd13(0x16d)]();return await _0x25a506[_0xdebd13(0x184)](_0x53de1d);}async[_0x26cbe3(0x171)](){const _0x37995b=_0x26cbe3;return(await this['getFormulaUsages']())['map'](c[_0x37995b(0x169)]);}}function _0x2cf1(_0x2c7729,_0x502f01){_0x2c7729=_0x2c7729-0x162;const _0x30cb9c=_0x30cb();let _0x2cf108=_0x30cb9c[_0x2c7729];return _0x2cf108;}o[_0x26cbe3(0x167)]['extend'](k);class U extends o['FRange']{async[_0x26cbe3(0x165)](){const _0x397012=_0x26cbe3,_0xd81f87=this[_0x397012(0x183)]['get'](c[_0x397012(0x16a)]),_0x220408=(({startRow:_0x4d1570,endRow:_0x3a8144,startColumn:_0x1d0a01,endColumn:_0x6f4a0a})=>{const _0x4117e3=_0x397012,_0x1219dc=[];for(let _0x7de64b=_0x4d1570;_0x7de64b<=_0x3a8144;_0x7de64b++){const _0x28a90c=[];for(let _0x251066=_0x1d0a01;_0x251066<=_0x6f4a0a;_0x251066++)_0x28a90c['push'](this['_worksheet'][_0x4117e3(0x182)](_0x7de64b,_0x251066));_0x1219dc[_0x4117e3(0x181)](_0x28a90c);}return _0x1219dc;})({'startRow':0x0,'endRow':this[_0x397012(0x186)][_0x397012(0x185)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x397012(0x16b)]()}),_0x1830e6=await _0xd81f87[_0x397012(0x184)](_0x220408),_0x45201d=this['getRange'](),_0x548844=[];for(let _0xc937d9=0x0;_0xc937d9<_0x1830e6[_0x397012(0x17b)];_0xc937d9++){const _0x20b97d=_0x1830e6[_0xc937d9],_0x226be8=_0x20b97d[_0x397012(0x17f)],_0x5107b7=[];for(let _0x4b7876=0x0;_0x4b7876<_0x226be8[_0x397012(0x17b)];_0x4b7876++){const _0x5d1f45=_0x226be8[_0x4b7876],_0x123cf6=w[_0x397012(0x174)](_0x5d1f45,_0x45201d);_0x123cf6&&_0x5107b7['push'](_0x123cf6);}if(_0x5107b7['length']>0x0){_0x20b97d[_0x397012(0x17f)]=_0x5107b7;const _0xb1d5f0=_0x5107b7[0x0],_0x4450f1=_0xb1d5f0[_0x397012(0x162)]-_0x45201d['startRow'],_0x5960f8=_0xb1d5f0['startColumn']-_0x45201d['startColumn'];_0x20b97d[_0x397012(0x16c)]=await _0xd81f87[_0x397012(0x16e)](_0x20b97d[_0x397012(0x16c)],_0x4450f1,_0x5960f8),_0x548844[_0x397012(0x181)](_0x20b97d);}}return _0x548844;}async[_0x26cbe3(0x171)](){const _0x1e6ab2=_0x26cbe3;return(await this[_0x1e6ab2(0x165)]())[_0x1e6ab2(0x188)](c[_0x1e6ab2(0x169)]);}}o[_0x26cbe3(0x175)][_0x26cbe3(0x178)](U);
|