@univerjs-pro/engine-formula 1.0.4 → 1.2.0

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 _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};
1
+ var _0x3571a3=_0x5134;(function(_0x3d65fd,_0x3d3180){var _0x42b9f9=_0x5134,_0x417efd=_0x3d65fd();while(!![]){try{var _0x57aa97=-parseInt(_0x42b9f9(0xf2))/0x1+-parseInt(_0x42b9f9(0xe4))/0x2*(-parseInt(_0x42b9f9(0xf3))/0x3)+parseInt(_0x42b9f9(0xe2))/0x4+-parseInt(_0x42b9f9(0xf6))/0x5*(-parseInt(_0x42b9f9(0xf5))/0x6)+-parseInt(_0x42b9f9(0xf0))/0x7*(-parseInt(_0x42b9f9(0xe6))/0x8)+-parseInt(_0x42b9f9(0xee))/0x9*(-parseInt(_0x42b9f9(0xeb))/0xa)+-parseInt(_0x42b9f9(0xed))/0xb;if(_0x57aa97===_0x3d3180)break;else _0x417efd['push'](_0x417efd['shift']());}catch(_0x5a245f){_0x417efd['push'](_0x417efd['shift']());}}}(_0x4fd8,0x24619));import{FFormula as _0x4cd0f3,FFormula as _0x99b9c5}from'@univerjs/engine-formula/facade';function _0x4fd8(){var _0x5d4faf=['unitId','8UTKgfS','extend','upsertExternalReference','FormulaReferenceType','buildReference','1455830KIxrsW','UNIVER_SHEET','6408897guyKIB','9JfAqBd','SHEET_RANGE','1861909xqAPKh','removeExternalReference','240935mhhXGu','3IjnSYg','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','1074HZrClJ','6690iHpAQe','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','_commandService','syncExecuteCommand','565096DONNoL','formulaQualifier','360466shOCwe'];_0x4fd8=function(){return _0x5d4faf;};return _0x4fd8();}function _0x5134(_0x228d7d,_0x1cc6ec){_0x228d7d=_0x228d7d-0xe2;var _0x4fd85c=_0x4fd8();var _0x513476=_0x4fd85c[_0x228d7d];return _0x513476;}import{FormulaReferenceType as _0x3b4738,RemoveHostExternalReferenceCommand as _0x1111ab,UpsertHostExternalReferenceCommand as _0x52919d,buildFormulaReference as _0x49c36d}from'@univerjs-pro/engine-formula';import{FEnum as _0x3b00af}from'@univerjs/core/facade';import{UniverInstanceType as _0x35c0d4}from'@univerjs/core';var c=class extends _0x3b00af{get[_0x3571a3(0xe9)](){return _0x3b4738;}};_0x3b00af[_0x3571a3(0xe7)](c);var l=class extends _0x99b9c5{[_0x3571a3(0xea)](_0x1e12b6){var _0x1390f6=_0x3571a3;let {hostUnitId:_0x156bc0,unit:_0x36d9c6,target:_0x7cdba7}=_0x1e12b6;if(!_0x156bc0||!_0x36d9c6[_0x1390f6(0xe5)])throw Error(_0x1390f6(0xf7));if(_0x36d9c6[_0x1390f6(0xe5)]!==_0x156bc0&&!this[_0x1390f6(0xf8)]['syncExecuteCommand'](_0x52919d['id'],{'unitId':_0x156bc0,'qualifier':_0x36d9c6[_0x1390f6(0xe3)],'sourceUnitId':_0x36d9c6[_0x1390f6(0xe5)],'sourceUnitType':_0x7cdba7['kind']===_0x3b4738[_0x1390f6(0xef)]?_0x35c0d4[_0x1390f6(0xec)]:_0x35c0d4['UNIVER_BASE']}))throw Error(_0x1390f6(0xf4)+_0x36d9c6[_0x1390f6(0xe3)]+'\x22.');return _0x49c36d(_0x1e12b6);}[_0x3571a3(0xe8)](_0x38a1f7){var _0x541100=_0x3571a3;return this[_0x541100(0xf8)]['syncExecuteCommand'](_0x52919d['id'],_0x38a1f7);}[_0x3571a3(0xf1)](_0x3b9f66){var _0x24ab16=_0x3571a3;return this[_0x24ab16(0xf8)][_0x24ab16(0xf9)](_0x1111ab['id'],_0x3b9f66);}};_0x99b9c5[_0x3571a3(0xe7)](l);export{_0x4cd0f3 as FFormula};