@univerjs-pro/sheets-mcp 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3
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/types/tools/conditional-format-tools.d.ts +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 _0x3674d2=_0x2f02;(function(_0x599933,_0x4c796b){const _0xdb0f34=_0x2f02,_0x349a72=_0x599933();while(!![]){try{const _0x3ee25c=-parseInt(_0xdb0f34(0x1d3))/0x1*(-parseInt(_0xdb0f34(0x1e6))/0x2)+-parseInt(_0xdb0f34(0x1dc))/0x3*(parseInt(_0xdb0f34(0x1f0))/0x4)+-parseInt(_0xdb0f34(0x1f1))/0x5+-parseInt(_0xdb0f34(0x1df))/0x6+parseInt(_0xdb0f34(0x1e7))/0x7+parseInt(_0xdb0f34(0x1d2))/0x8*(-parseInt(_0xdb0f34(0x1e1))/0x9)+parseInt(_0xdb0f34(0x1e2))/0xa*(parseInt(_0xdb0f34(0x1f4))/0xb);if(_0x3ee25c===_0x4c796b)break;else _0x349a72['push'](_0x349a72['shift']());}catch(_0x597514){_0x349a72['push'](_0x349a72['shift']());}}}(_0x187f,0x39450));function _0x2f02(_0x19311b,_0x490f5f){_0x19311b=_0x19311b-0x1d2;const _0x187f81=_0x187f();let _0x2f02b0=_0x187f81[_0x19311b];return _0x2f02b0;}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[_0x3674d2(0x1de)]{async[_0x3674d2(0x1d7)](){return this['getActiveWorkbook']()['getLintErrors']();}}d[_0x3674d2(0x1de)]['extend'](A);class x extends o[_0x3674d2(0x1e8)]{async[_0x3674d2(0x1d7)](){const _0x13cf0b=_0x3674d2,_0x3dd2ac=this['getAllFormulaError'](),_0x11b38b=await this[_0x13cf0b(0x1f7)]();return{'formulaErrors':_0x3dd2ac,'dataValidationErrors':_0x11b38b};}}o['FWorkbook'][_0x3674d2(0x1ea)](x);class k extends o[_0x3674d2(0x1ed)]{async[_0x3674d2(0x1e5)](){const _0x8c43f9=_0x3674d2,_0x239399=this[_0x8c43f9(0x1d4)][_0x8c43f9(0x1d8)](c[_0x8c43f9(0x1d5)]),_0x524eb3=this[_0x8c43f9(0x1d9)](0x0,0x0,this[_0x8c43f9(0x1ec)]()+0x1,this[_0x8c43f9(0x1f5)]()+0x1)['getCellDataGrid']();return await _0x239399[_0x8c43f9(0x1e4)](_0x524eb3);}async[_0x3674d2(0x1e9)](){const _0x595d81=_0x3674d2;return(await this[_0x595d81(0x1e5)]())[_0x595d81(0x1dd)](c['toA1']);}}function _0x187f(){const _0x21117d=['129369QUQqzQ','map','FUniver','2513760qNREnt','filledRanges','1149723JthRoz','2930vVOpCd','toA1','getAllFormulaUsages','getFormulaUsages','2324HNRuyN','1865003riHVey','FWorkbook','getFormulaUsagesAsA1','extend','getCellRaw','getMaxRows','FWorksheet','getIntersectRange','push','4GgfPJs','1738185YLYyqd','startColumn','length','38577irDHBt','getMaxColumns','_worksheet','getAllDataValidationErrorAsync','16NYenCL','5JXipeG','_injector','IFormulaUsageAnalyzer','formula','getLintErrors','get','getRange','FRange','moveFormulaRefOffset'];_0x187f=function(){return _0x21117d;};return _0x187f();}o[_0x3674d2(0x1ed)][_0x3674d2(0x1ea)](k);class U extends o[_0x3674d2(0x1da)]{async['getFormulaUsages'](){const _0x24dd27=_0x3674d2,_0x3e156b=this['_injector'][_0x24dd27(0x1d8)](c[_0x24dd27(0x1d5)]),_0xaa5ff1=(({startRow:_0x5317b3,endRow:_0x2c23e6,startColumn:_0x240850,endColumn:_0x413d32})=>{const _0x4544b9=_0x24dd27,_0x547899=[];for(let _0x14ec25=_0x5317b3;_0x14ec25<=_0x2c23e6;_0x14ec25++){const _0x22b4e1=[];for(let _0x1966a0=_0x240850;_0x1966a0<=_0x413d32;_0x1966a0++)_0x22b4e1[_0x4544b9(0x1ef)](this[_0x4544b9(0x1f6)][_0x4544b9(0x1eb)](_0x14ec25,_0x1966a0));_0x547899['push'](_0x22b4e1);}return _0x547899;})({'startRow':0x0,'endRow':this[_0x24dd27(0x1f6)]['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x24dd27(0x1f6)]['getMaxColumns']()}),_0x299000=await _0x3e156b[_0x24dd27(0x1e4)](_0xaa5ff1),_0x24833c=this[_0x24dd27(0x1d9)](),_0x15e25e=[];for(let _0x4bbaf3=0x0;_0x4bbaf3<_0x299000[_0x24dd27(0x1f3)];_0x4bbaf3++){const _0x215c41=_0x299000[_0x4bbaf3],_0x2e89ce=_0x215c41[_0x24dd27(0x1e0)],_0x3e2996=[];for(let _0x1a5841=0x0;_0x1a5841<_0x2e89ce[_0x24dd27(0x1f3)];_0x1a5841++){const _0x5076a5=_0x2e89ce[_0x1a5841],_0x17742e=w[_0x24dd27(0x1ee)](_0x5076a5,_0x24833c);_0x17742e&&_0x3e2996[_0x24dd27(0x1ef)](_0x17742e);}if(_0x3e2996[_0x24dd27(0x1f3)]>0x0){_0x215c41['filledRanges']=_0x3e2996;const _0x298a94=_0x3e2996[0x0],_0x4ded98=_0x298a94['startRow']-_0x24833c['startRow'],_0x1adfc0=_0x298a94[_0x24dd27(0x1f2)]-_0x24833c[_0x24dd27(0x1f2)];_0x215c41['formula']=await _0x3e156b[_0x24dd27(0x1db)](_0x215c41[_0x24dd27(0x1d6)],_0x4ded98,_0x1adfc0),_0x15e25e['push'](_0x215c41);}}return _0x15e25e;}async[_0x3674d2(0x1e9)](){const _0x99dda9=_0x3674d2;return(await this[_0x99dda9(0x1e5)]())['map'](c[_0x99dda9(0x1e3)]);}}o[_0x3674d2(0x1da)]['extend'](U);
|