@mat3ra/wode 2025.10.2-2 → 2025.10.8-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.
|
@@ -23,11 +23,11 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
23
23
|
|
|
24
24
|
class BaseSubworkflow extends (0, _mixwith.mix)(_entity.NamedDefaultableRepetitionImportantSettingsInMemoryEntity).with(_convergence.ConvergenceMixin, _entity.ContextAndRenderFieldsMixin) {}
|
|
25
25
|
class Subworkflow extends BaseSubworkflow {
|
|
26
|
-
constructor(config) {
|
|
26
|
+
constructor(config, _Application = _ade.Application, _ModelFactory = _mode.ModelFactory, _UnitFactory = _units.UnitFactory) {
|
|
27
27
|
super(config);
|
|
28
|
-
this._Application =
|
|
29
|
-
this._ModelFactory =
|
|
30
|
-
this._UnitFactory =
|
|
28
|
+
this._Application = _Application;
|
|
29
|
+
this._ModelFactory = _ModelFactory;
|
|
30
|
+
this._UnitFactory = _UnitFactory;
|
|
31
31
|
this.initialize();
|
|
32
32
|
}
|
|
33
33
|
initialize() {
|
|
@@ -29,13 +29,13 @@ const {
|
|
|
29
29
|
} = _mode.tree;
|
|
30
30
|
class BaseWorkflow extends (0, _mixwith.mix)(_entity.NamedDefaultableRepetitionContextAndRenderInMemoryEntity).with(_ide.ComputedEntityMixin, _relaxation.RelaxationLogicMixin) {}
|
|
31
31
|
class Workflow extends BaseWorkflow {
|
|
32
|
-
constructor(config) {
|
|
32
|
+
constructor(config, _Subworkflow = _subworkflow.Subworkflow, _UnitFactory = _factory.UnitFactory, _Workflow = Workflow, _MapUnit = _units.MapUnit) {
|
|
33
33
|
if (!config._id) config._id = Workflow.generateWorkflowId(config.name);
|
|
34
34
|
super(config);
|
|
35
|
-
this._Subworkflow =
|
|
36
|
-
this._UnitFactory =
|
|
37
|
-
this._Workflow =
|
|
38
|
-
this._MapUnit =
|
|
35
|
+
this._Subworkflow = _Subworkflow;
|
|
36
|
+
this._UnitFactory = _UnitFactory;
|
|
37
|
+
this._Workflow = _Workflow;
|
|
38
|
+
this._MapUnit = _MapUnit;
|
|
39
39
|
if (!config.skipInitialize) this.initialize();
|
|
40
40
|
}
|
|
41
41
|
initialize() {
|
package/package.json
CHANGED
|
@@ -24,11 +24,16 @@ class BaseSubworkflow extends mix(NamedDefaultableRepetitionImportantSettingsInM
|
|
|
24
24
|
export class Subworkflow extends BaseSubworkflow {
|
|
25
25
|
static usePredefinedIds = false;
|
|
26
26
|
|
|
27
|
-
constructor(
|
|
27
|
+
constructor(
|
|
28
|
+
config,
|
|
29
|
+
_Application = Application,
|
|
30
|
+
_ModelFactory = ModelFactory,
|
|
31
|
+
_UnitFactory = UnitFactory,
|
|
32
|
+
) {
|
|
28
33
|
super(config);
|
|
29
|
-
this._Application =
|
|
30
|
-
this._ModelFactory =
|
|
31
|
-
this._UnitFactory =
|
|
34
|
+
this._Application = _Application;
|
|
35
|
+
this._ModelFactory = _ModelFactory;
|
|
36
|
+
this._UnitFactory = _UnitFactory;
|
|
32
37
|
this.initialize();
|
|
33
38
|
}
|
|
34
39
|
|
|
@@ -31,14 +31,21 @@ export class Workflow extends BaseWorkflow {
|
|
|
31
31
|
|
|
32
32
|
static usePredefinedIds = false;
|
|
33
33
|
|
|
34
|
-
constructor(
|
|
34
|
+
constructor(
|
|
35
|
+
config,
|
|
36
|
+
_Subworkflow = Subworkflow,
|
|
37
|
+
_UnitFactory = UnitFactory,
|
|
38
|
+
_Workflow = Workflow,
|
|
39
|
+
_MapUnit = MapUnit,
|
|
40
|
+
) {
|
|
35
41
|
if (!config._id) config._id = Workflow.generateWorkflowId(config.name);
|
|
36
42
|
|
|
37
43
|
super(config);
|
|
38
|
-
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
44
|
+
|
|
45
|
+
this._Subworkflow = _Subworkflow;
|
|
46
|
+
this._UnitFactory = _UnitFactory;
|
|
47
|
+
this._Workflow = _Workflow;
|
|
48
|
+
this._MapUnit = _MapUnit;
|
|
42
49
|
if (!config.skipInitialize) this.initialize();
|
|
43
50
|
}
|
|
44
51
|
|