@univerjs-pro/engine-formula 1.0.0-rc.0 → 1.0.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/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/engine/dependency-engine/dependency-engine.d.ts +1 -1
- package/lib/types/engine/dependency-engine.d.ts +8 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
|
@@ -187,7 +187,6 @@ export declare class DependencyEngine {
|
|
|
187
187
|
clearOtherFormulas(unitId: string, sheetId?: string, formulaIds?: string[], refOffsetX?: number, refOffsetY?: number, options?: {
|
|
188
188
|
markDependentsDirty?: boolean;
|
|
189
189
|
}): void;
|
|
190
|
-
private _includesFormulaId;
|
|
191
190
|
clearFeatureCalculations(unitId: string, sheetId?: string, options?: {
|
|
192
191
|
markDependentsDirty?: boolean;
|
|
193
192
|
detachDependents?: boolean;
|
|
@@ -256,6 +255,7 @@ export declare class DependencyEngine {
|
|
|
256
255
|
hasUncalculatedDirtyPrecedentByIndex(nodeIndex: CalcNodeIndex, calculatedNodeIndices: ReadonlySet<CalcNodeIndex>): boolean;
|
|
257
256
|
wouldCreateCycle(node: ICalcNodeRef, deps: ICalcNodeDeps): boolean;
|
|
258
257
|
private _normalizeCalcNodeDeps;
|
|
258
|
+
private _hasSameStaticDeps;
|
|
259
259
|
private _collectStaticDeps;
|
|
260
260
|
private _mergeDynamicDeps;
|
|
261
261
|
private _setNodeDynamicDeps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { CellCodec } from './dependency-engine/cell-codec';
|
|
2
|
+
export { DependencyEngine } from './dependency-engine/dependency-engine';
|
|
3
|
+
export { FormulaCellIndex } from './dependency-engine/formula-cell-index';
|
|
4
|
+
export { cellFormulaNode, featureCalculationNode, otherFormulaNode, } from './dependency-engine/node-helpers';
|
|
5
|
+
export { PointSubscriptionIndex } from './dependency-engine/point-subscription-index';
|
|
6
|
+
export { RangeIndex } from './dependency-engine/range-index';
|
|
7
|
+
export type { CalcNodeDeps, CalcNodeIndex, CalcNodeRef, CalculationOrderResult, CalculationOrderTree, CalculationPlanItem, CellId, CompressedSharedFormulaGroup, CompressedSharedFormulaPattern, DecodedCell, DecodedFeatureCalculationId, DecodedOtherFormulaId, DependencyEngineOptions, DynamicDependency, DynamicResolver, DynamicResolveResult, ExternalNodeId, ICalcNodeDeps, ICalcNodeRef, ICalculationOrderResult, ICalculationOrderTree, ICalculationPlanItem, ICompressedSharedFormulaGroup, ICompressedSharedFormulaPattern, IDecodedCell, IDecodedFeatureCalculationId, IDecodedOtherFormulaId, IDependencyEngineOptions, IRefRange, ISetNodeResult, RefRange, SetNodeResult, } from './dependency-engine/types';
|
|
8
|
+
export { CalcNodeType } from './dependency-engine/types';
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1054(_0x4b259d,_0x4ff58f){_0x4b259d=_0x4b259d-0x8b;var _0x31781d=_0x3178();var _0x10542c=_0x31781d[_0x4b259d];return _0x10542c;}(function(_0x5e489f,_0x26f8ca){var _0x185656=_0x1054,_0x50eb36=_0x5e489f();while(!![]){try{var _0x4221d0=parseInt(_0x185656(0xa5))/0x1+parseInt(_0x185656(0xaa))/0x2+-parseInt(_0x185656(0x90))/0x3+-parseInt(_0x185656(0xa8))/0x4+-parseInt(_0x185656(0x95))/0x5*(-parseInt(_0x185656(0x96))/0x6)+-parseInt(_0x185656(0x9b))/0x7+parseInt(_0x185656(0xa0))/0x8*(parseInt(_0x185656(0xa6))/0x9);if(_0x4221d0===_0x26f8ca)break;else _0x50eb36['push'](_0x50eb36['shift']());}catch(_0x452a92){_0x50eb36['push'](_0x50eb36['shift']());}}}(_0x3178,0x1e43e),function(_0x271b11,_0x3a0567){var _0x54d348=_0x1054;typeof exports=='object'&&typeof module<'u'?_0x3a0567(exports,require('@univerjs/engine-formula/facade'),require('@univerjs-pro/engine-formula'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x54d348(0xac)&&define[_0x54d348(0xad)]?define([_0x54d348(0x8d),_0x54d348(0xa9),_0x54d348(0x92),_0x54d348(0xae),'@univerjs/core'],_0x3a0567):(_0x271b11=typeof globalThis<'u'?globalThis:_0x271b11||self,_0x3a0567(_0x271b11[_0x54d348(0x98)]={},_0x271b11[_0x54d348(0x94)],_0x271b11[_0x54d348(0xa4)],_0x271b11[_0x54d348(0xa3)],_0x271b11[_0x54d348(0x9c)]));}(this,function(_0x165a59,_0x235c9e,_0x30dbe8,_0x4cddbb,_0x53ae28){var _0x57bb69=_0x1054;Object[_0x57bb69(0xab)](_0x165a59,Symbol['toStringTag'],{'value':'Module'});var _0x34ac14=class extends _0x4cddbb['FEnum']{get[_0x57bb69(0x93)](){var _0x3dde71=_0x57bb69;return _0x30dbe8[_0x3dde71(0x93)];}};_0x4cddbb[_0x57bb69(0xa1)][_0x57bb69(0x99)](_0x34ac14);var _0x2b1eea=class extends _0x235c9e['FFormula']{['buildReference'](_0x5e1672){var _0x54a244=_0x57bb69;let {hostUnitId:_0x12b17c,unit:_0x4322e1,target:_0x2b4a73}=_0x5e1672;if(!_0x12b17c||!_0x4322e1['unitId'])throw Error(_0x54a244(0x8b));if(_0x4322e1[_0x54a244(0x9d)]!==_0x12b17c&&!this[_0x54a244(0xa2)]['syncExecuteCommand'](_0x30dbe8[_0x54a244(0x8c)]['id'],{'unitId':_0x12b17c,'qualifier':_0x4322e1[_0x54a244(0x8f)],'sourceUnitId':_0x4322e1[_0x54a244(0x9d)],'sourceUnitType':_0x2b4a73[_0x54a244(0x91)]===_0x30dbe8[_0x54a244(0x93)]['SHEET_RANGE']?_0x53ae28['UniverInstanceType']['UNIVER_SHEET']:_0x53ae28[_0x54a244(0xb0)][_0x54a244(0x97)]}))throw Error(_0x54a244(0xb1)+_0x4322e1['formulaQualifier']+'\x22.');return(0x0,_0x30dbe8[_0x54a244(0x9a)])(_0x5e1672);}[_0x57bb69(0x9e)](_0x125488){var _0x3b674b=_0x57bb69;return this[_0x3b674b(0xa2)][_0x3b674b(0xa7)](_0x30dbe8[_0x3b674b(0x8c)]['id'],_0x125488);}[_0x57bb69(0xaf)](_0x6f9e91){var _0x1c5f1d=_0x57bb69;return this[_0x1c5f1d(0xa2)][_0x1c5f1d(0xa7)](_0x30dbe8[_0x1c5f1d(0x9f)]['id'],_0x6f9e91);}};_0x235c9e[_0x57bb69(0x8e)][_0x57bb69(0x99)](_0x2b1eea),Object[_0x57bb69(0xab)](_0x165a59,_0x57bb69(0x8e),{'enumerable':!0x0,'get':function(){var _0x21dda2=_0x57bb69;return _0x235c9e[_0x21dda2(0x8e)];}});}));function _0x3178(){var _0x34acf0=['removeExternalReference','UniverInstanceType','Failed\x20to\x20bind\x20external\x20formula\x20reference\x20\x22','Formula\x20reference\x20authoring\x20requires\x20stable\x20Host\x20and\x20Source\x20Unit\x20IDs.','UpsertHostExternalReferenceCommand','exports','FFormula','formulaQualifier','674109fkUaCv','kind','@univerjs-pro/engine-formula','FormulaReferenceType','UniverEngineFormulaFacade','400980aPaUJO','12hjtNta','UNIVER_BASE','UniverProEngineFormulaFacade','extend','buildFormulaReference','1300600ZXqPGI','UniverCore','unitId','upsertExternalReference','RemoveHostExternalReferenceCommand','839720KUspGi','FEnum','_commandService','UniverCoreFacade','UniverProEngineFormula','16041vQOsig','36dyDoeN','syncExecuteCommand','411236ArwwSF','@univerjs/engine-formula/facade','81970tVhDHm','defineProperty','function','amd','@univerjs/core/facade'];_0x3178=function(){return _0x34acf0;};return _0x3178();}
|