@univerjs-pro/sheets-mcp 0.12.3-experimental.20251205-71d07c3 → 0.12.3-experimental.20251205-8c9a6bf
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 _0x3f6f36=_0x10a2;(function(_0x568ec2,_0x458ac1){const _0x40bf5a=_0x10a2,_0x4d750c=_0x568ec2();while(!![]){try{const _0x1ae847=-parseInt(_0x40bf5a(0xa2))/0x1*(parseInt(_0x40bf5a(0x8b))/0x2)+-parseInt(_0x40bf5a(0xa5))/0x3+parseInt(_0x40bf5a(0x90))/0x4*(-parseInt(_0x40bf5a(0x95))/0x5)+parseInt(_0x40bf5a(0x97))/0x6*(-parseInt(_0x40bf5a(0x9d))/0x7)+-parseInt(_0x40bf5a(0x9f))/0x8+-parseInt(_0x40bf5a(0x96))/0x9+parseInt(_0x40bf5a(0xa3))/0xa;if(_0x1ae847===_0x458ac1)break;else _0x4d750c['push'](_0x4d750c['shift']());}catch(_0x129a70){_0x4d750c['push'](_0x4d750c['shift']());}}}(_0x286e,0x3f701));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[_0x3f6f36(0x88)](){const _0x99514=_0x3f6f36;return this[_0x99514(0x9e)]()[_0x99514(0x88)]();}}d[_0x3f6f36(0x92)][_0x3f6f36(0x99)](A);class x extends o['FWorkbook']{async[_0x3f6f36(0x88)](){const _0x2162f8=_0x3f6f36,_0x2ae3ed=this['getAllFormulaError'](),_0x4b9c8b=await this[_0x2162f8(0xa9)]();return{'formulaErrors':_0x2ae3ed,'dataValidationErrors':_0x4b9c8b};}}o[_0x3f6f36(0xab)][_0x3f6f36(0x99)](x);class k extends o[_0x3f6f36(0xa8)]{async['getFormulaUsages'](){const _0x33eb95=_0x3f6f36,_0x675415=this[_0x33eb95(0x8e)][_0x33eb95(0xa4)](c['IFormulaUsageAnalyzer']),_0x249e10=this['getRange'](0x0,0x0,this['getMaxRows']()+0x1,this[_0x33eb95(0x94)]()+0x1)[_0x33eb95(0x87)]();return await _0x675415[_0x33eb95(0x8d)](_0x249e10);}async['getFormulaUsagesAsA1'](){const _0x58e2f8=_0x3f6f36;return(await this['getFormulaUsages']())[_0x58e2f8(0x9b)](c[_0x58e2f8(0x93)]);}}function _0x286e(){const _0x560076=['getFormulaUsages','995692kDoabX','IFormulaUsageAnalyzer','getAllFormulaUsages','_injector','length','20cDqWKf','startColumn','FUniver','toA1','getMaxColumns','239410MlTDmX','2867049kipySF','2568JvOWlP','formula','extend','startRow','map','FRange','5747nWiRuC','getActiveWorkbook','3580680JYGfPS','getMaxRows','moveFormulaRefOffset','1qestVF','21708770fLnmrV','get','168738dXinbD','getFormulaUsagesAsA1','getIntersectRange','FWorksheet','getAllDataValidationErrorAsync','push','FWorkbook','getCellDataGrid','getLintErrors','_worksheet'];_0x286e=function(){return _0x560076;};return _0x286e();}function _0x10a2(_0x54f8ad,_0x6f98eb){_0x54f8ad=_0x54f8ad-0x87;const _0x286edf=_0x286e();let _0x10a236=_0x286edf[_0x54f8ad];return _0x10a236;}o[_0x3f6f36(0xa8)]['extend'](k);class U extends o[_0x3f6f36(0x9c)]{async[_0x3f6f36(0x8a)](){const _0x41f46c=_0x3f6f36,_0x16fd89=this['_injector']['get'](c[_0x41f46c(0x8c)]),_0x4e5b7f=(({startRow:_0x182318,endRow:_0x11284b,startColumn:_0x55243c,endColumn:_0x6b86c8})=>{const _0x370e7b=_0x41f46c,_0x2cb882=[];for(let _0x44993f=_0x182318;_0x44993f<=_0x11284b;_0x44993f++){const _0x1a44e3=[];for(let _0x3f0c7f=_0x55243c;_0x3f0c7f<=_0x6b86c8;_0x3f0c7f++)_0x1a44e3['push'](this[_0x370e7b(0x89)]['getCellRaw'](_0x44993f,_0x3f0c7f));_0x2cb882[_0x370e7b(0xaa)](_0x1a44e3);}return _0x2cb882;})({'startRow':0x0,'endRow':this[_0x41f46c(0x89)][_0x41f46c(0xa0)](),'startColumn':0x0,'endColumn':this[_0x41f46c(0x89)]['getMaxColumns']()}),_0x2242a5=await _0x16fd89['getAllFormulaUsages'](_0x4e5b7f),_0xf196bd=this['getRange'](),_0x45db3c=[];for(let _0x669268=0x0;_0x669268<_0x2242a5[_0x41f46c(0x8f)];_0x669268++){const _0x4f5b67=_0x2242a5[_0x669268],_0x4addb5=_0x4f5b67['filledRanges'],_0xb4eb18=[];for(let _0x11ac73=0x0;_0x11ac73<_0x4addb5[_0x41f46c(0x8f)];_0x11ac73++){const _0x2fb791=_0x4addb5[_0x11ac73],_0x54015a=w[_0x41f46c(0xa7)](_0x2fb791,_0xf196bd);_0x54015a&&_0xb4eb18[_0x41f46c(0xaa)](_0x54015a);}if(_0xb4eb18['length']>0x0){_0x4f5b67['filledRanges']=_0xb4eb18;const _0x412b96=_0xb4eb18[0x0],_0x4c0aae=_0x412b96['startRow']-_0xf196bd[_0x41f46c(0x9a)],_0x4bd467=_0x412b96[_0x41f46c(0x91)]-_0xf196bd[_0x41f46c(0x91)];_0x4f5b67[_0x41f46c(0x98)]=await _0x16fd89[_0x41f46c(0xa1)](_0x4f5b67[_0x41f46c(0x98)],_0x4c0aae,_0x4bd467),_0x45db3c[_0x41f46c(0xaa)](_0x4f5b67);}}return _0x45db3c;}async[_0x3f6f36(0xa6)](){const _0x415643=_0x3f6f36;return(await this[_0x415643(0x8a)]())[_0x415643(0x9b)](c[_0x415643(0x93)]);}}o['FRange']['extend'](U);
|