@univerjs-pro/engine-formula 1.3.0 → 1.3.1

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/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x6bafe4=_0x2967;(function(_0x23fe3d,_0x319190){var _0x7bd216=_0x2967,_0x52f7c1=_0x23fe3d();while(!![]){try{var _0x912e19=-parseInt(_0x7bd216(0x1b9))/0x1*(parseInt(_0x7bd216(0x1b5))/0x2)+-parseInt(_0x7bd216(0x1c5))/0x3+-parseInt(_0x7bd216(0x1bc))/0x4+-parseInt(_0x7bd216(0x1c7))/0x5*(-parseInt(_0x7bd216(0x1ca))/0x6)+parseInt(_0x7bd216(0x1c2))/0x7*(-parseInt(_0x7bd216(0x1bd))/0x8)+parseInt(_0x7bd216(0x1c3))/0x9*(-parseInt(_0x7bd216(0x1c4))/0xa)+-parseInt(_0x7bd216(0x1ba))/0xb*(-parseInt(_0x7bd216(0x1b7))/0xc);if(_0x912e19===_0x319190)break;else _0x52f7c1['push'](_0x52f7c1['shift']());}catch(_0x2ee0c4){_0x52f7c1['push'](_0x52f7c1['shift']());}}}(_0x2f15,0xa2797));import{FFormula as _0x32e507,FFormula as _0x41f39c}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x1b2466,RemoveHostExternalReferenceCommand as _0x1321bb,UpsertHostExternalReferenceCommand as _0x133ed2,buildFormulaReference as _0xefd224}from'@univerjs-pro/engine-formula';import{FEnum as _0x2b6bcc}from'@univerjs/core/facade';import{UniverInstanceType as _0x3f2902}from'@univerjs/core';var c=class extends _0x2b6bcc{get[_0x6bafe4(0x1c0)](){return _0x1b2466;}};_0x2b6bcc[_0x6bafe4(0x1bf)](c);function _0x2967(_0x1edb1c,_0x19d409){_0x1edb1c=_0x1edb1c-0x1b4;var _0x2f15db=_0x2f15();var _0x296757=_0x2f15db[_0x1edb1c];return _0x296757;}var l=class extends _0x41f39c{['buildReference'](_0x19f1c4){var _0x3321b3=_0x6bafe4;let {hostUnitId:_0x27a47d,unit:_0x1adc57,target:_0x2e23b4}=_0x19f1c4;if(!_0x27a47d||!_0x1adc57[_0x3321b3(0x1b4)])throw Error(_0x3321b3(0x1c6));if(_0x1adc57['unitId']!==_0x27a47d&&!this[_0x3321b3(0x1c8)][_0x3321b3(0x1bb)](_0x133ed2['id'],{'unitId':_0x27a47d,'qualifier':_0x1adc57[_0x3321b3(0x1b8)],'sourceUnitId':_0x1adc57[_0x3321b3(0x1b4)],'sourceUnitType':_0x2e23b4[_0x3321b3(0x1b6)]===_0x1b2466['SHEET_RANGE']?_0x3f2902[_0x3321b3(0x1c9)]:_0x3f2902['UNIVER_BASE']}))throw Error('Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'+_0x1adc57[_0x3321b3(0x1b8)]+'\x22.');return _0xefd224(_0x19f1c4);}[_0x6bafe4(0x1c1)](_0x338277){var _0x17ae12=_0x6bafe4;return this[_0x17ae12(0x1c8)][_0x17ae12(0x1bb)](_0x133ed2['id'],_0x338277);}[_0x6bafe4(0x1be)](_0x2abc6a){var _0x446d9f=_0x6bafe4;return this['_commandService'][_0x446d9f(0x1bb)](_0x1321bb['id'],_0x2abc6a);}};function _0x2f15(){var _0x551343=['832014ZSDjiC','50HaqaWN','3920055tjNbsk','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','20lhJfAI','_commandService','UNIVER_SHEET','1804794vYbXwM','unitId','417944QhYcaZ','kind','12vwbWwy','formulaQualifier','1gAogDM','29427893czMqWn','syncExecuteCommand','2006036rkXCdr','128xlFaem','removeExternalReference','extend','FormulaReferenceType','upsertExternalReference','320936RklFIg'];_0x2f15=function(){return _0x551343;};return _0x2f15();}_0x41f39c[_0x6bafe4(0x1bf)](l);export{_0x32e507 as FFormula};
1
+ var _0x4ecfe4=_0x801f;(function(_0x385ead,_0x5d2ccc){var _0x4c3578=_0x801f,_0x466cfa=_0x385ead();while(!![]){try{var _0x4d70ad=-parseInt(_0x4c3578(0x166))/0x1*(parseInt(_0x4c3578(0x170))/0x2)+-parseInt(_0x4c3578(0x16b))/0x3+-parseInt(_0x4c3578(0x16e))/0x4+parseInt(_0x4c3578(0x15e))/0x5+-parseInt(_0x4c3578(0x16a))/0x6+parseInt(_0x4c3578(0x164))/0x7+parseInt(_0x4c3578(0x16f))/0x8;if(_0x4d70ad===_0x5d2ccc)break;else _0x466cfa['push'](_0x466cfa['shift']());}catch(_0x2aca01){_0x466cfa['push'](_0x466cfa['shift']());}}}(_0x4e7e,0x3446d));import{FFormula as _0x1fa758,FFormula as _0x388d68}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x3f2469,RemoveHostExternalReferenceCommand as _0x23d698,UpsertHostExternalReferenceCommand as _0x1cf1b2,buildFormulaReference as _0x404a94}from'@univerjs-pro/engine-formula';import{FEnum as _0x31318d}from'@univerjs/core/facade';import{UniverInstanceType as _0x1856ff}from'@univerjs/core';var c=class extends _0x31318d{get[_0x4ecfe4(0x173)](){return _0x3f2469;}};_0x31318d[_0x4ecfe4(0x167)](c);var l=class extends _0x388d68{[_0x4ecfe4(0x162)](_0x1c0e18){var _0x1d3b2a=_0x4ecfe4;let {hostUnitId:_0x4c6503,unit:_0x3e55ea,target:_0x41a60}=_0x1c0e18;if(!_0x4c6503||!_0x3e55ea[_0x1d3b2a(0x171)])throw Error(_0x1d3b2a(0x16c));if(_0x3e55ea['unitId']!==_0x4c6503&&!this[_0x1d3b2a(0x168)]['syncExecuteCommand'](_0x1cf1b2['id'],{'unitId':_0x4c6503,'qualifier':_0x3e55ea[_0x1d3b2a(0x161)],'sourceUnitId':_0x3e55ea['unitId'],'sourceUnitType':_0x41a60[_0x1d3b2a(0x169)]===_0x3f2469[_0x1d3b2a(0x160)]?_0x1856ff[_0x1d3b2a(0x163)]:_0x1856ff[_0x1d3b2a(0x172)]}))throw Error(_0x1d3b2a(0x16d)+_0x3e55ea[_0x1d3b2a(0x161)]+'\x22.');return _0x404a94(_0x1c0e18);}['upsertExternalReference'](_0x5874d8){var _0x413cac=_0x4ecfe4;return this['_commandService'][_0x413cac(0x165)](_0x1cf1b2['id'],_0x5874d8);}[_0x4ecfe4(0x15f)](_0x102024){var _0x4787ba=_0x4ecfe4;return this[_0x4787ba(0x168)]['syncExecuteCommand'](_0x23d698['id'],_0x102024);}};function _0x4e7e(){var _0x1449bc=['1568245oksdhQ','removeExternalReference','SHEET_RANGE','formulaQualifier','buildReference','UNIVER_SHEET','2743076fOTKdZ','syncExecuteCommand','145307QKHsgn','extend','_commandService','kind','2498106cOZzlR','958389OwgJiS','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','204240aVPRNT','3526312hqkBvQ','2FkbDun','unitId','UNIVER_BASE','FormulaReferenceType'];_0x4e7e=function(){return _0x1449bc;};return _0x4e7e();}_0x388d68[_0x4ecfe4(0x167)](l);function _0x801f(_0x5a80b7,_0x280c98){_0x5a80b7=_0x5a80b7-0x15e;var _0x4e7e6b=_0x4e7e();var _0x801ff2=_0x4e7e6b[_0x5a80b7];return _0x801ff2;}export{_0x1fa758 as FFormula};