@univerjs-pro/engine-formula 1.0.0-beta.0 → 1.0.0-beta.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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/controllers/host-external-reference-source-dirty.controller.d.ts +7 -0
- package/lib/types/engine/formula-dependency.d.ts +3 -0
- package/lib/types/services/calculate-formula.service.d.ts +0 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x3c3cf5=_0x540c;(function(_0x147100,_0x1fb22b){var _0x4e206c=_0x540c,_0x451761=_0x147100();while(!![]){try{var _0x367957=parseInt(_0x4e206c(0x1ca))/0x1*(parseInt(_0x4e206c(0x1b8))/0x2)+parseInt(_0x4e206c(0x1cb))/0x3*(-parseInt(_0x4e206c(0x1c6))/0x4)+parseInt(_0x4e206c(0x1bf))/0x5+-parseInt(_0x4e206c(0x1c5))/0x6*(parseInt(_0x4e206c(0x1c3))/0x7)+-parseInt(_0x4e206c(0x1c0))/0x8+parseInt(_0x4e206c(0x1c9))/0x9+parseInt(_0x4e206c(0x1b9))/0xa;if(_0x367957===_0x1fb22b)break;else _0x451761['push'](_0x451761['shift']());}catch(_0x476561){_0x451761['push'](_0x451761['shift']());}}}(_0x55a8,0xdbb27));import{FFormula as _0x4dd8ba,FFormula as _0x5d114c}from'@univerjs/engine-formula/facade';import{FormulaReferenceType as _0x264696,RemoveHostExternalReferenceCommand as _0x3a6d21,UpsertHostExternalReferenceCommand as _0x3dc209,buildFormulaReference as _0x370faa}from'@univerjs-pro/engine-formula';import{FEnum as _0x277364}from'@univerjs/core/facade';import{UniverInstanceType as _0x3debef}from'@univerjs/core';function _0x540c(_0x4d0660,_0x28bba4){_0x4d0660=_0x4d0660-0x1b7;var _0x55a8c8=_0x55a8();var _0x540ccd=_0x55a8c8[_0x4d0660];return _0x540ccd;}var c=class extends _0x277364{get['FormulaReferenceType'](){return _0x264696;}};function _0x55a8(){var _0x2d1f5b=['871888yvLvvB','78PrjwDq','extend','2KnxfCE','31136120NRtpeq','unitId','SHEET_RANGE','UNIVER_BASE','syncExecuteCommand','removeExternalReference','2283400XBuatc','14247152gfFFWX','kind','_commandService','1772295rFiqvC','upsertExternalReference','30UbrowJ','270796NEXMKl','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','buildReference','11382228tFpnnq'];_0x55a8=function(){return _0x2d1f5b;};return _0x55a8();}_0x277364[_0x3c3cf5(0x1b7)](c);var l=class extends _0x5d114c{[_0x3c3cf5(0x1c8)](_0x4e6c1b){var _0x293049=_0x3c3cf5;let {hostUnitId:_0x46292d,unit:_0x329892,target:_0x622622}=_0x4e6c1b;if(!_0x46292d||!_0x329892[_0x293049(0x1ba)])throw Error('Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.');if(_0x329892['unitId']!==_0x46292d&&!this['_commandService'][_0x293049(0x1bd)](_0x3dc209['id'],{'unitId':_0x46292d,'qualifier':_0x329892['formulaQualifier'],'sourceUnitId':_0x329892[_0x293049(0x1ba)],'sourceUnitType':_0x622622[_0x293049(0x1c1)]===_0x264696[_0x293049(0x1bb)]?_0x3debef['UNIVER_SHEET']:_0x3debef[_0x293049(0x1bc)]}))throw Error(_0x293049(0x1c7)+_0x329892['formulaQualifier']+'\x22.');return _0x370faa(_0x4e6c1b);}[_0x3c3cf5(0x1c4)](_0x37ac41){var _0x3becdc=_0x3c3cf5;return this[_0x3becdc(0x1c2)]['syncExecuteCommand'](_0x3dc209['id'],_0x37ac41);}[_0x3c3cf5(0x1be)](_0xdafc5d){var _0x3f4acd=_0x3c3cf5;return this['_commandService'][_0x3f4acd(0x1bd)](_0x3a6d21['id'],_0xdafc5d);}};_0x5d114c[_0x3c3cf5(0x1b7)](l);export{_0x4dd8ba as FFormula};
|