@univerjs-pro/engine-formula 1.2.0 → 1.3.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/es/facade.js CHANGED
@@ -1 +1 @@
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};
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};