@univerjs-pro/engine-formula 1.0.0-rc.0 → 1.0.1

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
- function _0x1825(){var _0x28a7c8=['308sclDAe','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','964HqxqOb','7505hXNjpJ','1370104dVsSXu','20656108hnejdV','syncExecuteCommand','2299344zLEuPC','kind','2108eLtwUZ','extend','formulaQualifier','UNIVER_BASE','7xeNqQm','1146093HFUttU','buildReference','522CbfeVH','90290uRFSBk','removeExternalReference','unitId','FormulaReferenceType','SHEET_RANGE'];_0x1825=function(){return _0x28a7c8;};return _0x1825();}var _0x1cffdc=_0x2908;(function(_0x305892,_0x2fcd14){var _0x16eaaa=_0x2908,_0x5d2041=_0x305892();while(!![]){try{var _0x1fe195=-parseInt(_0x16eaaa(0x110))/0x1*(parseInt(_0x16eaaa(0x101))/0x2)+-parseInt(_0x16eaaa(0x106))/0x3+parseInt(_0x16eaaa(0x10e))/0x4*(parseInt(_0x16eaaa(0x111))/0x5)+parseInt(_0x16eaaa(0x115))/0x6+-parseInt(_0x16eaaa(0x105))/0x7*(-parseInt(_0x16eaaa(0x112))/0x8)+parseInt(_0x16eaaa(0x108))/0x9*(-parseInt(_0x16eaaa(0x109))/0xa)+parseInt(_0x16eaaa(0x113))/0xb;if(_0x1fe195===_0x2fcd14)break;else _0x5d2041['push'](_0x5d2041['shift']());}catch(_0x515728){_0x5d2041['push'](_0x5d2041['shift']());}}}(_0x1825,0x98dcb));function _0x2908(_0x44576c,_0x51a421){_0x44576c=_0x44576c-0x101;var _0x182551=_0x1825();var _0x290804=_0x182551[_0x44576c];return _0x290804;}import{FFormula as _0x2378c3,FFormula as _0x3608a1}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x411dc9,RemoveHostExternalReferenceCommand as _0x26a626,UpsertHostExternalReferenceCommand as _0x171a29,buildFormulaReference as _0x23e317}from'@univerjs-pro/engine-formula';import{FEnum as _0x33923d}from'@univerjs/core/facade';import{UniverInstanceType as _0x371fad}from'@univerjs/core';var c=class extends _0x33923d{get[_0x1cffdc(0x10c)](){return _0x411dc9;}};_0x33923d[_0x1cffdc(0x102)](c);var l=class extends _0x3608a1{[_0x1cffdc(0x107)](_0x403cd2){var _0xe5fb47=_0x1cffdc;let {hostUnitId:_0x2e78a7,unit:_0x46a938,target:_0x1b8d44}=_0x403cd2;if(!_0x2e78a7||!_0x46a938['unitId'])throw Error(_0xe5fb47(0x10f));if(_0x46a938['unitId']!==_0x2e78a7&&!this['_commandService']['syncExecuteCommand'](_0x171a29['id'],{'unitId':_0x2e78a7,'qualifier':_0x46a938[_0xe5fb47(0x103)],'sourceUnitId':_0x46a938[_0xe5fb47(0x10b)],'sourceUnitType':_0x1b8d44[_0xe5fb47(0x116)]===_0x411dc9[_0xe5fb47(0x10d)]?_0x371fad['UNIVER_SHEET']:_0x371fad[_0xe5fb47(0x104)]}))throw Error('Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'+_0x46a938['formulaQualifier']+'\x22.');return _0x23e317(_0x403cd2);}['upsertExternalReference'](_0xf417fa){return this['_commandService']['syncExecuteCommand'](_0x171a29['id'],_0xf417fa);}[_0x1cffdc(0x10a)](_0x4d6bea){var _0x19f099=_0x1cffdc;return this['_commandService'][_0x19f099(0x114)](_0x26a626['id'],_0x4d6bea);}};_0x3608a1['extend'](l);export{_0x2378c3 as FFormula};
1
+ var _0x228850=_0x39a1;(function(_0x3b61c0,_0x55097a){var _0x34498f=_0x39a1,_0x4ccc60=_0x3b61c0();while(!![]){try{var _0x4a37f2=parseInt(_0x34498f(0xff))/0x1+parseInt(_0x34498f(0x112))/0x2*(-parseInt(_0x34498f(0x100))/0x3)+parseInt(_0x34498f(0x109))/0x4*(-parseInt(_0x34498f(0x10f))/0x5)+parseInt(_0x34498f(0xfe))/0x6+-parseInt(_0x34498f(0x108))/0x7*(parseInt(_0x34498f(0x102))/0x8)+-parseInt(_0x34498f(0x10e))/0x9*(parseInt(_0x34498f(0x107))/0xa)+-parseInt(_0x34498f(0x113))/0xb*(-parseInt(_0x34498f(0x10a))/0xc);if(_0x4a37f2===_0x55097a)break;else _0x4ccc60['push'](_0x4ccc60['shift']());}catch(_0x1ae1c3){_0x4ccc60['push'](_0x4ccc60['shift']());}}}(_0x57b6,0xcdbe4));function _0x39a1(_0x306999,_0x41b59e){_0x306999=_0x306999-0xfd;var _0x57b68f=_0x57b6();var _0x39a1a4=_0x57b68f[_0x306999];return _0x39a1a4;}import{FFormula as _0x3dbc89,FFormula as _0x498af4}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x3220f3,RemoveHostExternalReferenceCommand as _0x122d19,UpsertHostExternalReferenceCommand as _0x464d16,buildFormulaReference as _0x240dd2}from'@univerjs-pro/engine-formula';import{FEnum as _0x200be9}from'@univerjs/core/facade';import{UniverInstanceType as _0x552df6}from'@univerjs/core';var c=class extends _0x200be9{get[_0x228850(0x10c)](){return _0x3220f3;}};_0x200be9[_0x228850(0xfd)](c);var l=class extends _0x498af4{['buildReference'](_0x2c611f){var _0x2a5758=_0x228850;let {hostUnitId:_0x311bc6,unit:_0x17349f,target:_0x2611e6}=_0x2c611f;if(!_0x311bc6||!_0x17349f[_0x2a5758(0x110)])throw Error('Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.');if(_0x17349f[_0x2a5758(0x110)]!==_0x311bc6&&!this[_0x2a5758(0x10d)][_0x2a5758(0x103)](_0x464d16['id'],{'unitId':_0x311bc6,'qualifier':_0x17349f[_0x2a5758(0x101)],'sourceUnitId':_0x17349f[_0x2a5758(0x110)],'sourceUnitType':_0x2611e6[_0x2a5758(0x105)]===_0x3220f3[_0x2a5758(0x104)]?_0x552df6[_0x2a5758(0x10b)]:_0x552df6[_0x2a5758(0x106)]}))throw Error('Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22'+_0x17349f[_0x2a5758(0x101)]+'\x22.');return _0x240dd2(_0x2c611f);}['upsertExternalReference'](_0x4f2a3f){var _0x303dd3=_0x228850;return this[_0x303dd3(0x10d)][_0x303dd3(0x103)](_0x464d16['id'],_0x4f2a3f);}[_0x228850(0x111)](_0x171f04){var _0x16cbc2=_0x228850;return this[_0x16cbc2(0x10d)]['syncExecuteCommand'](_0x122d19['id'],_0x171f04);}};_0x498af4[_0x228850(0xfd)](l);export{_0x3dbc89 as FFormula};function _0x57b6(){var _0x25a055=['1188735rbCEKR','48TDRZDQ','formulaQualifier','16eyfKbC','syncExecuteCommand','SHEET_RANGE','kind','UNIVER_BASE','100ROdmwh','345023PMFkwN','717868minLeT','603444GNgwnV','UNIVER_SHEET','FormulaReferenceType','_commandService','457155BJXmZh','10nJDXhX','unitId','removeExternalReference','31952rtJfdZ','143YXRkhz','extend','1328016WnpIwt'];_0x57b6=function(){return _0x25a055;};return _0x57b6();}