@univerjs-pro/engine-formula 1.0.4 → 1.1.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 _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 _0x1afcbc=_0x112f;(function(_0x140627,_0x435890){var _0x10dff=_0x112f,_0x4b0542=_0x140627();while(!![]){try{var _0x567f8f=parseInt(_0x10dff(0x99))/0x1+parseInt(_0x10dff(0xa0))/0x2*(parseInt(_0x10dff(0x9b))/0x3)+parseInt(_0x10dff(0xaa))/0x4+-parseInt(_0x10dff(0xa7))/0x5+parseInt(_0x10dff(0xa8))/0x6+parseInt(_0x10dff(0xab))/0x7+-parseInt(_0x10dff(0xa4))/0x8;if(_0x567f8f===_0x435890)break;else _0x4b0542['push'](_0x4b0542['shift']());}catch(_0xa4d93d){_0x4b0542['push'](_0x4b0542['shift']());}}}(_0x30ec,0xee8cc));import{FFormula as _0x36855a,FFormula as _0x15f623}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x961b1c,RemoveHostExternalReferenceCommand as _0x4ba72d,UpsertHostExternalReferenceCommand as _0x273126,buildFormulaReference as _0xd66ec3}from'@univerjs-pro/engine-formula';import{FEnum as _0x16820b}from'@univerjs/core/facade';import{UniverInstanceType as _0x5ca637}from'@univerjs/core';var c=class extends _0x16820b{get[_0x1afcbc(0x98)](){return _0x961b1c;}};_0x16820b[_0x1afcbc(0xa9)](c);var l=class extends _0x15f623{[_0x1afcbc(0x9c)](_0x413c21){var _0xb71c8c=_0x1afcbc;let {hostUnitId:_0x131def,unit:_0x53934e,target:_0x5f3ff7}=_0x413c21;if(!_0x131def||!_0x53934e['unitId'])throw Error(_0xb71c8c(0xa5));if(_0x53934e[_0xb71c8c(0x9d)]!==_0x131def&&!this[_0xb71c8c(0xa2)][_0xb71c8c(0x9e)](_0x273126['id'],{'unitId':_0x131def,'qualifier':_0x53934e['formulaQualifier'],'sourceUnitId':_0x53934e[_0xb71c8c(0x9d)],'sourceUnitType':_0x5f3ff7['kind']===_0x961b1c[_0xb71c8c(0xa6)]?_0x5ca637['UNIVER_SHEET']:_0x5ca637[_0xb71c8c(0x9a)]}))throw Error('Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'+_0x53934e[_0xb71c8c(0xa1)]+'\x22.');return _0xd66ec3(_0x413c21);}[_0x1afcbc(0xa3)](_0x47b74e){var _0x32353e=_0x1afcbc;return this[_0x32353e(0xa2)]['syncExecuteCommand'](_0x273126['id'],_0x47b74e);}[_0x1afcbc(0x9f)](_0x1d3f20){var _0x20de24=_0x1afcbc;return this[_0x20de24(0xa2)]['syncExecuteCommand'](_0x4ba72d['id'],_0x1d3f20);}};function _0x30ec(){var _0x82bd0a=['Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','SHEET_RANGE','1013245tYGsjU','8324172eDSHhT','extend','4344868TqpstX','3828237MBiuih','FormulaReferenceType','1211313XSUkkV','UNIVER_BASE','5433WEhxPO','buildReference','unitId','syncExecuteCommand','removeExternalReference','1644pqjEFY','formulaQualifier','_commandService','upsertExternalReference','36325408wKEhrs'];_0x30ec=function(){return _0x82bd0a;};return _0x30ec();}function _0x112f(_0x35f537,_0x109837){_0x35f537=_0x35f537-0x98;var _0x30ec21=_0x30ec();var _0x112fcd=_0x30ec21[_0x35f537];return _0x112fcd;}_0x15f623[_0x1afcbc(0xa9)](l);export{_0x36855a as FFormula};