@univerjs-pro/engine-formula 1.0.1 → 1.0.2

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/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x1eb900=_0x506e;(function(_0x2df28e,_0x54eed5){var _0x4622d5=_0x506e,_0x31f1af=_0x2df28e();while(!![]){try{var _0x3cb567=parseInt(_0x4622d5(0x1e9))/0x1+-parseInt(_0x4622d5(0x1ea))/0x2*(parseInt(_0x4622d5(0x1f6))/0x3)+parseInt(_0x4622d5(0x1f3))/0x4*(parseInt(_0x4622d5(0x1eb))/0x5)+parseInt(_0x4622d5(0x1ed))/0x6+parseInt(_0x4622d5(0x1e4))/0x7*(-parseInt(_0x4622d5(0x1fa))/0x8)+-parseInt(_0x4622d5(0x1f9))/0x9+parseInt(_0x4622d5(0x1f5))/0xa;if(_0x3cb567===_0x54eed5)break;else _0x31f1af['push'](_0x31f1af['shift']());}catch(_0x9cca8a){_0x31f1af['push'](_0x31f1af['shift']());}}}(_0x7399,0x3b0d6),Object[_0x1eb900(0x1e2)](exports,Symbol[_0x1eb900(0x1ec)],{'value':_0x1eb900(0x1e7)}));let e=require('@univerjs/engine-formula/facade'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs/core/facade'),r=require('@univerjs/core');var i=class extends n[_0x1eb900(0x1e6)]{get[_0x1eb900(0x1ef)](){var _0x49c538=_0x1eb900;return t[_0x49c538(0x1ef)];}};n[_0x1eb900(0x1e6)][_0x1eb900(0x1de)](i);var a=class extends e['FFormula']{[_0x1eb900(0x1e3)](_0x45b975){var _0x452f8e=_0x1eb900;let {hostUnitId:_0x235b67,unit:_0x353010,target:_0x4d2cdd}=_0x45b975;if(!_0x235b67||!_0x353010['unitId'])throw Error(_0x452f8e(0x1e0));if(_0x353010['unitId']!==_0x235b67&&!this[_0x452f8e(0x1f2)][_0x452f8e(0x1dd)](t['UpsertHostExternalReferenceCommand']['id'],{'unitId':_0x235b67,'qualifier':_0x353010[_0x452f8e(0x1ee)],'sourceUnitId':_0x353010[_0x452f8e(0x1f7)],'sourceUnitType':_0x4d2cdd[_0x452f8e(0x1e8)]===t[_0x452f8e(0x1ef)][_0x452f8e(0x1fb)]?r['UniverInstanceType'][_0x452f8e(0x1e5)]:r[_0x452f8e(0x1df)][_0x452f8e(0x1e1)]}))throw Error(_0x452f8e(0x1dc)+_0x353010[_0x452f8e(0x1ee)]+'\x22.');return(0x0,t[_0x452f8e(0x1f8)])(_0x45b975);}['upsertExternalReference'](_0x3b426e){var _0x3a0302=_0x1eb900;return this[_0x3a0302(0x1f2)][_0x3a0302(0x1dd)](t[_0x3a0302(0x1f4)]['id'],_0x3b426e);}[_0x1eb900(0x1f0)](_0x38af3b){var _0x14982e=_0x1eb900;return this[_0x14982e(0x1f2)][_0x14982e(0x1dd)](t['RemoveHostExternalReferenceCommand']['id'],_0x38af3b);}};function _0x506e(_0x591e54,_0x1c7f4a){_0x591e54=_0x591e54-0x1dc;var _0x506e58=_0x7399();var _0x5efdb8=_0x506e58[_0x591e54];return _0x5efdb8;}function _0x7399(){var _0x7f3745=['3826570tKZEeo','2055rMnbWB','unitId','buildFormulaReference','3029526SHwcxQ','1448dyLCXX','SHEET_RANGE','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','syncExecuteCommand','extend','UniverInstanceType','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','UNIVER_BASE','defineProperty','buildReference','12453fbvZOn','UNIVER_SHEET','FEnum','Module','kind','452457yaJEIp','1336SLEMIN','20suQinm','toStringTag','2743950DfBOrS','formulaQualifier','FormulaReferenceType','removeExternalReference','FFormula','_commandService','65632TXgYUc','UpsertHostExternalReferenceCommand'];_0x7399=function(){return _0x7f3745;};return _0x7399();}e[_0x1eb900(0x1f1)][_0x1eb900(0x1de)](a),Object[_0x1eb900(0x1e2)](exports,_0x1eb900(0x1f1),{'enumerable':!0x0,'get':function(){var _0x5a2d39=_0x1eb900;return e[_0x5a2d39(0x1f1)];}});
1
+ function _0x6cd6(_0x462449,_0x23a562){_0x462449=_0x462449-0x19a;var _0x297909=_0x2979();var _0x6cd619=_0x297909[_0x462449];return _0x6cd619;}var _0x302a44=_0x6cd6;(function(_0x268064,_0x5abe71){var _0x6243f=_0x6cd6,_0x393715=_0x268064();while(!![]){try{var _0x46e51e=-parseInt(_0x6243f(0x1a2))/0x1*(parseInt(_0x6243f(0x1b1))/0x2)+-parseInt(_0x6243f(0x1b9))/0x3*(parseInt(_0x6243f(0x1a1))/0x4)+parseInt(_0x6243f(0x1af))/0x5*(parseInt(_0x6243f(0x1a7))/0x6)+-parseInt(_0x6243f(0x1a0))/0x7*(parseInt(_0x6243f(0x19e))/0x8)+parseInt(_0x6243f(0x1b7))/0x9*(parseInt(_0x6243f(0x1a9))/0xa)+parseInt(_0x6243f(0x1ab))/0xb*(parseInt(_0x6243f(0x1b5))/0xc)+-parseInt(_0x6243f(0x19d))/0xd;if(_0x46e51e===_0x5abe71)break;else _0x393715['push'](_0x393715['shift']());}catch(_0xbad720){_0x393715['push'](_0x393715['shift']());}}}(_0x2979,0x509c9),Object[_0x302a44(0x19a)](exports,Symbol['toStringTag'],{'value':_0x302a44(0x19b)}));let e=require('@univerjs/engine-formula/facade'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs/core/facade'),r=require('@univerjs/core');function _0x2979(){var _0xd758f=['syncExecuteCommand','41913jDjKvt','unitId','8931WKppym','defineProperty','Module','FFormula','2662569AXKGpW','832ehcLPw','formulaQualifier','21959kMKQMt','388nHHjaV','1pIxHKJ','extend','upsertExternalReference','removeExternalReference','kind','3888090zKIXFL','FormulaReferenceType','720cVIcvz','buildFormulaReference','20647MGwlQw','UpsertHostExternalReferenceCommand','FEnum','UNIVER_SHEET','5OwguWy','SHEET_RANGE','30746Ngpwlx','_commandService','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','UniverInstanceType','1164cYdeKJ'];_0x2979=function(){return _0xd758f;};return _0x2979();}var i=class extends n[_0x302a44(0x1ad)]{get[_0x302a44(0x1a8)](){var _0x264fa5=_0x302a44;return t[_0x264fa5(0x1a8)];}};n[_0x302a44(0x1ad)]['extend'](i);var a=class extends e[_0x302a44(0x19c)]{['buildReference'](_0x5235b0){var _0x25d6b8=_0x302a44;let {hostUnitId:_0x5c96d5,unit:_0x3f6683,target:_0x42200c}=_0x5235b0;if(!_0x5c96d5||!_0x3f6683[_0x25d6b8(0x1b8)])throw Error('Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.');if(_0x3f6683['unitId']!==_0x5c96d5&&!this[_0x25d6b8(0x1b2)]['syncExecuteCommand'](t[_0x25d6b8(0x1ac)]['id'],{'unitId':_0x5c96d5,'qualifier':_0x3f6683[_0x25d6b8(0x19f)],'sourceUnitId':_0x3f6683[_0x25d6b8(0x1b8)],'sourceUnitType':_0x42200c[_0x25d6b8(0x1a6)]===t['FormulaReferenceType'][_0x25d6b8(0x1b0)]?r[_0x25d6b8(0x1b4)][_0x25d6b8(0x1ae)]:r[_0x25d6b8(0x1b4)]['UNIVER_BASE']}))throw Error(_0x25d6b8(0x1b3)+_0x3f6683[_0x25d6b8(0x19f)]+'\x22.');return(0x0,t[_0x25d6b8(0x1aa)])(_0x5235b0);}[_0x302a44(0x1a4)](_0x17b8ab){var _0xaf9a03=_0x302a44;return this[_0xaf9a03(0x1b2)][_0xaf9a03(0x1b6)](t[_0xaf9a03(0x1ac)]['id'],_0x17b8ab);}[_0x302a44(0x1a5)](_0xd62b62){var _0x100df7=_0x302a44;return this[_0x100df7(0x1b2)][_0x100df7(0x1b6)](t['RemoveHostExternalReferenceCommand']['id'],_0xd62b62);}};e['FFormula'][_0x302a44(0x1a3)](a),Object['defineProperty'](exports,_0x302a44(0x19c),{'enumerable':!0x0,'get':function(){var _0x23db65=_0x302a44;return e[_0x23db65(0x19c)];}});