@univerjs-pro/engine-formula 1.0.3 → 1.0.4

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/es/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x12879c=_0x38ff;function _0x3c7e(){var _0x5425a3=['syncExecuteCommand','262832RIiSlW','3660184aNodTB','2735054LSeuSg','1293552NUvCMq','extend','kind','494810tCJqmx','2561184wEIqYm','formulaQualifier','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','FormulaReferenceType','6tKanjO','14226oedQcq','168mgVfvq','UNIVER_BASE','removeExternalReference','SHEET_RANGE','upsertExternalReference','_commandService'];_0x3c7e=function(){return _0x5425a3;};return _0x3c7e();}(function(_0x363d5f,_0x18484f){var _0x38a56d=_0x38ff,_0x1bd461=_0x363d5f();while(!![]){try{var _0x4c9561=parseInt(_0x38a56d(0x138))/0x1+-parseInt(_0x38a56d(0x144))/0x2*(parseInt(_0x38a56d(0x145))/0x3)+parseInt(_0x38a56d(0x13b))/0x4+parseInt(_0x38a56d(0x13e))/0x5*(-parseInt(_0x38a56d(0x143))/0x6)+parseInt(_0x38a56d(0x13a))/0x7+-parseInt(_0x38a56d(0x139))/0x8+parseInt(_0x38a56d(0x13f))/0x9;if(_0x4c9561===_0x18484f)break;else _0x1bd461['push'](_0x1bd461['shift']());}catch(_0x5a5400){_0x1bd461['push'](_0x1bd461['shift']());}}}(_0x3c7e,0x4ae11));import{FFormula as _0x1bc258,FFormula as _0x4ddbb2}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x4e3142,RemoveHostExternalReferenceCommand as _0x3958fc,UpsertHostExternalReferenceCommand as _0x279261,buildFormulaReference as _0x511b48}from'@univerjs-pro/engine-formula';import{FEnum as _0x17da2f}from'@univerjs/core/facade';import{UniverInstanceType as _0x22d145}from'@univerjs/core';var c=class extends _0x17da2f{get[_0x12879c(0x142)](){return _0x4e3142;}};function _0x38ff(_0x5e6f3d,_0x530e21){_0x5e6f3d=_0x5e6f3d-0x136;var _0x3c7e9e=_0x3c7e();var _0x38fffe=_0x3c7e9e[_0x5e6f3d];return _0x38fffe;}_0x17da2f[_0x12879c(0x13c)](c);var l=class extends _0x4ddbb2{['buildReference'](_0x153a4f){var _0x42efe6=_0x12879c;let {hostUnitId:_0x431a20,unit:_0x1cc625,target:_0x5dad72}=_0x153a4f;if(!_0x431a20||!_0x1cc625['unitId'])throw Error(_0x42efe6(0x141));if(_0x1cc625['unitId']!==_0x431a20&&!this[_0x42efe6(0x136)][_0x42efe6(0x137)](_0x279261['id'],{'unitId':_0x431a20,'qualifier':_0x1cc625[_0x42efe6(0x140)],'sourceUnitId':_0x1cc625['unitId'],'sourceUnitType':_0x5dad72[_0x42efe6(0x13d)]===_0x4e3142[_0x42efe6(0x148)]?_0x22d145['UNIVER_SHEET']:_0x22d145[_0x42efe6(0x146)]}))throw Error('Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'+_0x1cc625[_0x42efe6(0x140)]+'\x22.');return _0x511b48(_0x153a4f);}[_0x12879c(0x149)](_0x3c5a30){var _0xd143ed=_0x12879c;return this[_0xd143ed(0x136)][_0xd143ed(0x137)](_0x279261['id'],_0x3c5a30);}[_0x12879c(0x147)](_0x274b46){var _0x45206a=_0x12879c;return this[_0x45206a(0x136)]['syncExecuteCommand'](_0x3958fc['id'],_0x274b46);}};_0x4ddbb2[_0x12879c(0x13c)](l);export{_0x1bc258 as FFormula};
1
+ var _0x43cc20=_0x355e;(function(_0xffcd39,_0x5de5f9){var _0x5a6cdf=_0x355e,_0x2db501=_0xffcd39();while(!![]){try{var _0x2bf881=parseInt(_0x5a6cdf(0x159))/0x1*(parseInt(_0x5a6cdf(0x162))/0x2)+parseInt(_0x5a6cdf(0x161))/0x3*(parseInt(_0x5a6cdf(0x14e))/0x4)+parseInt(_0x5a6cdf(0x164))/0x5*(parseInt(_0x5a6cdf(0x14d))/0x6)+-parseInt(_0x5a6cdf(0x158))/0x7+parseInt(_0x5a6cdf(0x15a))/0x8+parseInt(_0x5a6cdf(0x15d))/0x9*(-parseInt(_0x5a6cdf(0x15b))/0xa)+-parseInt(_0x5a6cdf(0x160))/0xb;if(_0x2bf881===_0x5de5f9)break;else _0x2db501['push'](_0x2db501['shift']());}catch(_0x547c2c){_0x2db501['push'](_0x2db501['shift']());}}}(_0x1b6d,0x46842));function _0x355e(_0x2d3e72,_0x5dc372){_0x2d3e72=_0x2d3e72-0x14d;var _0x1b6db7=_0x1b6d();var _0x355e22=_0x1b6db7[_0x2d3e72];return _0x355e22;}import{FFormula as _0x3d158a,FFormula as _0x303aa5}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x411981,RemoveHostExternalReferenceCommand as _0x1cd587,UpsertHostExternalReferenceCommand as _0xa382b0,buildFormulaReference as _0x254d7f}from'@univerjs-pro/engine-formula';function _0x1b6d(){var _0x43ef49=['_commandService','8894457dnDBkU','3TsxfBN','2IBWHVF','UNIVER_SHEET','95pabFRj','83514iBmsjx','1978952ZNCpoF','removeExternalReference','buildReference','SHEET_RANGE','syncExecuteCommand','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','formulaQualifier','kind','upsertExternalReference','extend','265097DdEMqx','292627jPlxYV','4552376BjBKWX','10zYxZEO','unitId','4370229YUhVCg','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'];_0x1b6d=function(){return _0x43ef49;};return _0x1b6d();}import{FEnum as _0x3ed830}from'@univerjs/core/facade';import{UniverInstanceType as _0x287051}from'@univerjs/core';var c=class extends _0x3ed830{get['FormulaReferenceType'](){return _0x411981;}};_0x3ed830[_0x43cc20(0x157)](c);var l=class extends _0x303aa5{[_0x43cc20(0x150)](_0x286681){var _0xe97c31=_0x43cc20;let {hostUnitId:_0x4d66c7,unit:_0x6a3ef9,target:_0x17c642}=_0x286681;if(!_0x4d66c7||!_0x6a3ef9[_0xe97c31(0x15c)])throw Error(_0xe97c31(0x153));if(_0x6a3ef9[_0xe97c31(0x15c)]!==_0x4d66c7&&!this[_0xe97c31(0x15f)][_0xe97c31(0x152)](_0xa382b0['id'],{'unitId':_0x4d66c7,'qualifier':_0x6a3ef9[_0xe97c31(0x154)],'sourceUnitId':_0x6a3ef9['unitId'],'sourceUnitType':_0x17c642[_0xe97c31(0x155)]===_0x411981[_0xe97c31(0x151)]?_0x287051[_0xe97c31(0x163)]:_0x287051['UNIVER_BASE']}))throw Error(_0xe97c31(0x15e)+_0x6a3ef9[_0xe97c31(0x154)]+'\x22.');return _0x254d7f(_0x286681);}[_0x43cc20(0x156)](_0x2d47ef){var _0x201c87=_0x43cc20;return this[_0x201c87(0x15f)][_0x201c87(0x152)](_0xa382b0['id'],_0x2d47ef);}[_0x43cc20(0x14f)](_0x5c71ca){var _0x58d4a1=_0x43cc20;return this['_commandService'][_0x58d4a1(0x152)](_0x1cd587['id'],_0x5c71ca);}};_0x303aa5[_0x43cc20(0x157)](l);export{_0x3d158a as FFormula};