@elyx-code/project-logic-tree 0.0.6898 → 0.0.6900
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/dist/index.cjs +23 -23
- package/dist/index.d.ts +10 -4
- package/dist/index.js +121 -120
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -81334,15 +81334,15 @@ class Z extends qy {
|
|
|
81334
81334
|
// This is purely to simply UX for simple changes to entities.
|
|
81335
81335
|
R(this, "autoclose", !1);
|
|
81336
81336
|
// When
|
|
81337
|
-
R(this, "
|
|
81337
|
+
R(this, "actionName", "");
|
|
81338
81338
|
R(this, "project");
|
|
81339
81339
|
R(this, "events", /* @__PURE__ */ new Map());
|
|
81340
81340
|
R(this, "ignoreNonEditable", !1);
|
|
81341
81341
|
R(this, "ignoreNonDeletable", !1);
|
|
81342
81342
|
R(this, "logger");
|
|
81343
|
-
if (this.project = i, this.author = r || x.sessionAuthor || "", this.timestamp = a, this.self = c, this.autoclose = e, this.
|
|
81344
|
-
"cs:" + (this.
|
|
81345
|
-
), this.autoclose && !this.
|
|
81343
|
+
if (this.project = i, this.author = r || x.sessionAuthor || "", this.timestamp = a, this.self = c, this.autoclose = e, this.actionName = f, this.logger = de.module(
|
|
81344
|
+
"cs:" + (this.actionName ? this.actionName + ":" : "") + this.id
|
|
81345
|
+
), this.autoclose && !this.actionName)
|
|
81346
81346
|
throw new Error(
|
|
81347
81347
|
"Auto-close change-set must have an auto-close action name."
|
|
81348
81348
|
);
|
|
@@ -81541,7 +81541,7 @@ class Z extends qy {
|
|
|
81541
81541
|
}
|
|
81542
81542
|
async attemptAutocloseAsync(i, r) {
|
|
81543
81543
|
var a;
|
|
81544
|
-
return this.autoclose && this.
|
|
81544
|
+
return this.autoclose && this.actionName && this.actionName === i && (this.self && r === ((a = this.self) == null ? void 0 : a.id) || !this.self) && await this.closeAsync(), this;
|
|
81545
81545
|
}
|
|
81546
81546
|
async closeAsync(i = {}) {
|
|
81547
81547
|
const r = Ke.from(i), a = {
|
|
@@ -81562,7 +81562,7 @@ class Z extends qy {
|
|
|
81562
81562
|
}
|
|
81563
81563
|
attemptAutoclose(i, r) {
|
|
81564
81564
|
var a;
|
|
81565
|
-
return this.autoclose && this.
|
|
81565
|
+
return this.autoclose && this.actionName && this.actionName === i && (this.self && r === ((a = this.self) == null ? void 0 : a.id) || !this.self) && this.close(), this;
|
|
81566
81566
|
}
|
|
81567
81567
|
// Before closing the change set, in case there are any entities that were added or updated with incomplete states
|
|
81568
81568
|
// And which have parents that are not present in the change set, we attempt, one last time to capture the upstream versions
|
|
@@ -81893,7 +81893,8 @@ class Z extends qy {
|
|
|
81893
81893
|
removed: a,
|
|
81894
81894
|
affected: Array.from(c),
|
|
81895
81895
|
self: e ? e.toShallowJSON() : null,
|
|
81896
|
-
seenEntities: this.seenEntities
|
|
81896
|
+
seenEntities: this.seenEntities,
|
|
81897
|
+
actionName: this.actionName
|
|
81897
81898
|
};
|
|
81898
81899
|
}
|
|
81899
81900
|
has(i) {
|
|
@@ -82419,7 +82420,7 @@ class rn extends q_ {
|
|
|
82419
82420
|
owner: i,
|
|
82420
82421
|
counterpart: r,
|
|
82421
82422
|
errorReason: Ge.ActionOwnerEntityNotEditable,
|
|
82422
|
-
rootAction: ((f = c == null ? void 0 : c.self) == null ? void 0 : f.id) === i.id && (c == null ? void 0 : c.
|
|
82423
|
+
rootAction: ((f = c == null ? void 0 : c.self) == null ? void 0 : f.id) === i.id && (c == null ? void 0 : c.actionName) === a
|
|
82423
82424
|
})) : (de.warn(
|
|
82424
82425
|
`[${a}] User is not allowed to edit this ${i.type} entity with id: ${i.id} because its counterpart ${r.type} with id: ${r.id} is not editable`
|
|
82425
82426
|
), c == null || c.event({
|
|
@@ -82428,7 +82429,7 @@ class rn extends q_ {
|
|
|
82428
82429
|
owner: i,
|
|
82429
82430
|
counterpart: r,
|
|
82430
82431
|
errorReason: Ge.ActionCounterpartEntityNotEditable,
|
|
82431
|
-
rootAction: ((e = c == null ? void 0 : c.self) == null ? void 0 : e.id) === i.id && (c == null ? void 0 : c.
|
|
82432
|
+
rootAction: ((e = c == null ? void 0 : c.self) == null ? void 0 : e.id) === i.id && (c == null ? void 0 : c.actionName) === a
|
|
82432
82433
|
})), c == null || c.attemptAutoclose(a, i.id), !1) : !0;
|
|
82433
82434
|
}
|
|
82434
82435
|
checkCanEditFromScopeOwner(i, r) {
|
|
@@ -82445,7 +82446,7 @@ class rn extends q_ {
|
|
|
82445
82446
|
action: r,
|
|
82446
82447
|
owner: i,
|
|
82447
82448
|
errorReason: Ge.ActionOwnerEntityNotEditable,
|
|
82448
|
-
rootAction: ((e = a == null ? void 0 : a.self) == null ? void 0 : e.id) === i.id && (a == null ? void 0 : a.
|
|
82449
|
+
rootAction: ((e = a == null ? void 0 : a.self) == null ? void 0 : e.id) === i.id && (a == null ? void 0 : a.actionName) === r
|
|
82449
82450
|
}), a == null || a.attemptAutoclose(r, i.id)), c;
|
|
82450
82451
|
}
|
|
82451
82452
|
checkCanEdit(i, r) {
|
|
@@ -83226,7 +83227,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
83226
83227
|
action: D.SetValueWriter,
|
|
83227
83228
|
owner: this,
|
|
83228
83229
|
errorReason: Ge.CannotValueWriteItself,
|
|
83229
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
83230
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
83230
83231
|
}));
|
|
83231
83232
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
83232
83233
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -83452,7 +83453,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
83452
83453
|
action: D.RemoveEntity,
|
|
83453
83454
|
owner: this,
|
|
83454
83455
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
83455
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
83456
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
83456
83457
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
83457
83458
|
added: [],
|
|
83458
83459
|
updated: [],
|
|
@@ -85000,7 +85001,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85000
85001
|
action: D.SetValueWriter,
|
|
85001
85002
|
owner: this,
|
|
85002
85003
|
errorReason: Ge.CannotValueWriteItself,
|
|
85003
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
85004
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
85004
85005
|
}));
|
|
85005
85006
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
85006
85007
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -85055,7 +85056,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85055
85056
|
action: D.AddSuccessCaller,
|
|
85056
85057
|
owner: this,
|
|
85057
85058
|
errorReason: Ge.CannotSuccessCallItself,
|
|
85058
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
85059
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
85059
85060
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
85060
85061
|
}
|
|
85061
85062
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -85079,7 +85080,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85079
85080
|
action: D.AddErrorCaller,
|
|
85080
85081
|
owner: this,
|
|
85081
85082
|
errorReason: Ge.CannotErrorCallItself,
|
|
85082
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
85083
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
85083
85084
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
85084
85085
|
}
|
|
85085
85086
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -85103,7 +85104,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85103
85104
|
action: D.AddEntryCaller,
|
|
85104
85105
|
owner: this,
|
|
85105
85106
|
errorReason: Ge.CannotEntryCallItself,
|
|
85106
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
85107
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
85107
85108
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
85108
85109
|
}
|
|
85109
85110
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -85127,7 +85128,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85127
85128
|
action: D.AddErrorCaller,
|
|
85128
85129
|
owner: this,
|
|
85129
85130
|
errorReason: Ge.CannotErrorCallItself,
|
|
85130
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
85131
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
85131
85132
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), this.catchesError && this.metaSync({ catchesError: !1 }, r), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
85132
85133
|
}
|
|
85133
85134
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -85151,7 +85152,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85151
85152
|
action: D.AddSuccessCaller,
|
|
85152
85153
|
owner: this,
|
|
85153
85154
|
errorReason: Ge.CannotSuccessCallItself,
|
|
85154
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
85155
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
85155
85156
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
85156
85157
|
}
|
|
85157
85158
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -85440,7 +85441,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
85440
85441
|
action: D.RemoveEntity,
|
|
85441
85442
|
owner: this,
|
|
85442
85443
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
85443
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
85444
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
85444
85445
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
85445
85446
|
added: [],
|
|
85446
85447
|
updated: [],
|
|
@@ -87726,7 +87727,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
87726
87727
|
action: D.AddCall,
|
|
87727
87728
|
owner: this,
|
|
87728
87729
|
errorReason: Ge.CannotEntryCallItself,
|
|
87729
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
87730
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddCall
|
|
87730
87731
|
})), this.calls.includes(i) || (this.calls.push(i), r == null || r.add(i, H.Affected)), r == null || r.attemptAutoclose(D.AddCall, this.id), this) : (de.warn(
|
|
87731
87732
|
`[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
87732
87733
|
), r == null || r.attemptAutoclose(D.AddCall, this.id), this);
|
|
@@ -87912,7 +87913,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
87912
87913
|
action: D.RemoveEntity,
|
|
87913
87914
|
owner: this,
|
|
87914
87915
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
87915
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.
|
|
87916
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
87916
87917
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
87917
87918
|
added: [],
|
|
87918
87919
|
updated: [],
|
|
@@ -89976,7 +89977,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
89976
89977
|
action: D.SetValueWriter,
|
|
89977
89978
|
owner: this,
|
|
89978
89979
|
errorReason: Ge.CannotValueWriteItself,
|
|
89979
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
89980
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
89980
89981
|
}));
|
|
89981
89982
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
89982
89983
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -90031,7 +90032,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90031
90032
|
action: D.AddSuccessCaller,
|
|
90032
90033
|
owner: this,
|
|
90033
90034
|
errorReason: Ge.CannotSuccessCallItself,
|
|
90034
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
90035
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
90035
90036
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
90036
90037
|
}
|
|
90037
90038
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -90055,7 +90056,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90055
90056
|
action: D.AddErrorCaller,
|
|
90056
90057
|
owner: this,
|
|
90057
90058
|
errorReason: Ge.CannotErrorCallItself,
|
|
90058
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
90059
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
90059
90060
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
90060
90061
|
}
|
|
90061
90062
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -90079,7 +90080,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90079
90080
|
action: D.AddEntryCaller,
|
|
90080
90081
|
owner: this,
|
|
90081
90082
|
errorReason: Ge.CannotEntryCallItself,
|
|
90082
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
90083
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
90083
90084
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
90084
90085
|
}
|
|
90085
90086
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -90103,7 +90104,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90103
90104
|
action: D.AddErrorCaller,
|
|
90104
90105
|
owner: this,
|
|
90105
90106
|
errorReason: Ge.CannotErrorCallItself,
|
|
90106
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
90107
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
90107
90108
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), this.catchesError && this.metaSync({ catchesError: !1 }, r), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
90108
90109
|
}
|
|
90109
90110
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -90127,7 +90128,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90127
90128
|
action: D.AddSuccessCaller,
|
|
90128
90129
|
owner: this,
|
|
90129
90130
|
errorReason: Ge.CannotSuccessCallItself,
|
|
90130
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
90131
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
90131
90132
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
90132
90133
|
}
|
|
90133
90134
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -90400,7 +90401,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
90400
90401
|
action: D.RemoveEntity,
|
|
90401
90402
|
owner: this,
|
|
90402
90403
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
90403
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
90404
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
90404
90405
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
90405
90406
|
added: [],
|
|
90406
90407
|
updated: [],
|
|
@@ -92048,7 +92049,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
92048
92049
|
action: D.AddSuccessCaller,
|
|
92049
92050
|
owner: this,
|
|
92050
92051
|
errorReason: Ge.CannotSuccessCallItself,
|
|
92051
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
92052
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
92052
92053
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
92053
92054
|
}
|
|
92054
92055
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -92072,7 +92073,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
92072
92073
|
action: D.AddErrorCaller,
|
|
92073
92074
|
owner: this,
|
|
92074
92075
|
errorReason: Ge.CannotErrorCallItself,
|
|
92075
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
92076
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
92076
92077
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
92077
92078
|
}
|
|
92078
92079
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -92096,7 +92097,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
92096
92097
|
action: D.AddEntryCaller,
|
|
92097
92098
|
owner: this,
|
|
92098
92099
|
errorReason: Ge.CannotEntryCallItself,
|
|
92099
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
92100
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
92100
92101
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
92101
92102
|
}
|
|
92102
92103
|
removeCaller(i, r = this.project.addChangeSet(
|
|
@@ -92206,7 +92207,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
92206
92207
|
action: D.SetValueWriter,
|
|
92207
92208
|
owner: this,
|
|
92208
92209
|
errorReason: Ge.CannotValueWriteItself,
|
|
92209
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
92210
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
92210
92211
|
})), ((c = this.readsValue) == null ? void 0 : c.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((e = this.defaultValue) == null || e.remove({ ignoreUpstream: !1 }, r)), this.readsValue && ((f = this.throws) == null || f.remove({ ignoreUpstream: !1 }, r), this.setThrows(null, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : this;
|
|
92211
92212
|
}
|
|
92212
92213
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -92373,7 +92374,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
92373
92374
|
action: D.RemoveEntity,
|
|
92374
92375
|
owner: this,
|
|
92375
92376
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
92376
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
92377
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
92377
92378
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
92378
92379
|
added: [],
|
|
92379
92380
|
updated: [],
|
|
@@ -93821,7 +93822,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
93821
93822
|
action: D.AddCall,
|
|
93822
93823
|
owner: this,
|
|
93823
93824
|
errorReason: Ge.CannotEntryCallItself,
|
|
93824
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
93825
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddCall
|
|
93825
93826
|
})), this.calls.includes(i) || (this.calls.push(i), r == null || r.add(i, H.Affected)), r == null || r.attemptAutoclose(D.AddCall, this.id), this) : (de.warn(
|
|
93826
93827
|
`[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
93827
93828
|
), r == null || r.attemptAutoclose(D.AddCall, this.id), this);
|
|
@@ -94023,7 +94024,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
94023
94024
|
action: D.RemoveEntity,
|
|
94024
94025
|
owner: this,
|
|
94025
94026
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
94026
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.
|
|
94027
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
94027
94028
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
94028
94029
|
added: [],
|
|
94029
94030
|
updated: [],
|
|
@@ -95415,7 +95416,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
95415
95416
|
action: D.RemoveEntity,
|
|
95416
95417
|
owner: this,
|
|
95417
95418
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
95418
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
95419
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
95419
95420
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
95420
95421
|
added: [],
|
|
95421
95422
|
updated: [],
|
|
@@ -97225,7 +97226,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97225
97226
|
action: D.AddSuccessCaller,
|
|
97226
97227
|
owner: this,
|
|
97227
97228
|
errorReason: Ge.CannotSuccessCallItself,
|
|
97228
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
97229
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
97229
97230
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
97230
97231
|
}
|
|
97231
97232
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -97249,7 +97250,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97249
97250
|
action: D.AddErrorCaller,
|
|
97250
97251
|
owner: this,
|
|
97251
97252
|
errorReason: Ge.CannotErrorCallItself,
|
|
97252
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
97253
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
97253
97254
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
97254
97255
|
}
|
|
97255
97256
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -97273,7 +97274,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97273
97274
|
action: D.AddEntryCaller,
|
|
97274
97275
|
owner: this,
|
|
97275
97276
|
errorReason: Ge.CannotEntryCallItself,
|
|
97276
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
97277
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
97277
97278
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
97278
97279
|
}
|
|
97279
97280
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -97297,7 +97298,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97297
97298
|
action: D.AddErrorCaller,
|
|
97298
97299
|
owner: this,
|
|
97299
97300
|
errorReason: Ge.CannotErrorCallItself,
|
|
97300
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
97301
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
97301
97302
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), this.catchesError && this.metaSync({ catchesError: !1 }, r), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
97302
97303
|
}
|
|
97303
97304
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -97321,7 +97322,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97321
97322
|
action: D.AddSuccessCaller,
|
|
97322
97323
|
owner: this,
|
|
97323
97324
|
errorReason: Ge.CannotSuccessCallItself,
|
|
97324
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
97325
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
97325
97326
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
97326
97327
|
}
|
|
97327
97328
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -97608,7 +97609,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
97608
97609
|
action: D.RemoveEntity,
|
|
97609
97610
|
owner: this,
|
|
97610
97611
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
97611
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
97612
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
97612
97613
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
97613
97614
|
added: [],
|
|
97614
97615
|
updated: [],
|
|
@@ -100042,7 +100043,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
100042
100043
|
action: D.SetValueWriter,
|
|
100043
100044
|
owner: this,
|
|
100044
100045
|
errorReason: Ge.CannotValueWriteItself,
|
|
100045
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
100046
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
100046
100047
|
}));
|
|
100047
100048
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
100048
100049
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -101047,7 +101048,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101047
101048
|
action: D.AddSuccessCaller,
|
|
101048
101049
|
owner: this,
|
|
101049
101050
|
errorReason: Ge.CannotSuccessCallItself,
|
|
101050
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
101051
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
101051
101052
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
101052
101053
|
}
|
|
101053
101054
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -101071,7 +101072,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101071
101072
|
action: D.AddErrorCaller,
|
|
101072
101073
|
owner: this,
|
|
101073
101074
|
errorReason: Ge.CannotErrorCallItself,
|
|
101074
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
101075
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
101075
101076
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
101076
101077
|
}
|
|
101077
101078
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -101095,7 +101096,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101095
101096
|
action: D.AddEntryCaller,
|
|
101096
101097
|
owner: this,
|
|
101097
101098
|
errorReason: Ge.CannotEntryCallItself,
|
|
101098
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
101099
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
101099
101100
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
101100
101101
|
}
|
|
101101
101102
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -101119,7 +101120,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101119
101120
|
action: D.AddErrorCaller,
|
|
101120
101121
|
owner: this,
|
|
101121
101122
|
errorReason: Ge.CannotErrorCallItself,
|
|
101122
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
101123
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
101123
101124
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
101124
101125
|
}
|
|
101125
101126
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -101143,7 +101144,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101143
101144
|
action: D.AddSuccessCaller,
|
|
101144
101145
|
owner: this,
|
|
101145
101146
|
errorReason: Ge.CannotSuccessCallItself,
|
|
101146
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
101147
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
101147
101148
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
101148
101149
|
}
|
|
101149
101150
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -101434,7 +101435,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
101434
101435
|
action: D.RemoveEntity,
|
|
101435
101436
|
owner: this,
|
|
101436
101437
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
101437
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
101438
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
101438
101439
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
101439
101440
|
added: [],
|
|
101440
101441
|
updated: [],
|
|
@@ -103219,7 +103220,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
103219
103220
|
action: D.RemoveEntity,
|
|
103220
103221
|
owner: this,
|
|
103221
103222
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
103222
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
103223
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
103223
103224
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
103224
103225
|
added: [],
|
|
103225
103226
|
updated: [],
|
|
@@ -129739,7 +129740,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129739
129740
|
action: D.AddSuccessCaller,
|
|
129740
129741
|
owner: this,
|
|
129741
129742
|
errorReason: Ge.CannotSuccessCallItself,
|
|
129742
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
129743
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
129743
129744
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
129744
129745
|
}
|
|
129745
129746
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -129763,7 +129764,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129763
129764
|
action: D.AddErrorCaller,
|
|
129764
129765
|
owner: this,
|
|
129765
129766
|
errorReason: Ge.CannotErrorCallItself,
|
|
129766
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
129767
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
129767
129768
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
129768
129769
|
}
|
|
129769
129770
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -129787,7 +129788,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129787
129788
|
action: D.AddEntryCaller,
|
|
129788
129789
|
owner: this,
|
|
129789
129790
|
errorReason: Ge.CannotEntryCallItself,
|
|
129790
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
129791
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
129791
129792
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
129792
129793
|
}
|
|
129793
129794
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -129813,7 +129814,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129813
129814
|
action: D.AddErrorCaller,
|
|
129814
129815
|
owner: this,
|
|
129815
129816
|
errorReason: Ge.CannotErrorCallItself,
|
|
129816
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
129817
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
129817
129818
|
})), !this.errorCalls.find((e) => e.id === i.id)) {
|
|
129818
129819
|
const e = Jo(this);
|
|
129819
129820
|
this.errorCalls.push(i);
|
|
@@ -129827,7 +129828,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129827
129828
|
action: D.AddErrorCaller,
|
|
129828
129829
|
owner: this,
|
|
129829
129830
|
errorReason: `cannot-be-${m.code}`,
|
|
129830
|
-
rootAction: ((b = r == null ? void 0 : r.self) == null ? void 0 : b.id) === this.id && (r == null ? void 0 : r.
|
|
129831
|
+
rootAction: ((b = r == null ? void 0 : r.self) == null ? void 0 : b.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
129831
129832
|
});
|
|
129832
129833
|
}), this.errorCalls = this.errorCalls.filter(
|
|
129833
129834
|
(m) => m.id !== i.id
|
|
@@ -129858,7 +129859,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129858
129859
|
action: D.AddSuccessCaller,
|
|
129859
129860
|
owner: this,
|
|
129860
129861
|
errorReason: Ge.CannotSuccessCallItself,
|
|
129861
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
129862
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
129862
129863
|
})), !this.successCalls.find((e) => e.id === i.id)) {
|
|
129863
129864
|
const e = Jo(this);
|
|
129864
129865
|
this.successCalls.push(i), a && At(this, r);
|
|
@@ -129870,7 +129871,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129870
129871
|
action: D.AddSuccessCall,
|
|
129871
129872
|
owner: this,
|
|
129872
129873
|
errorReason: `cannot-be-${h.code}`,
|
|
129873
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.
|
|
129874
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
129874
129875
|
});
|
|
129875
129876
|
}), this.successCalls = this.successCalls.filter(
|
|
129876
129877
|
(h) => h.id !== i.id
|
|
@@ -129944,7 +129945,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129944
129945
|
action: D.SetValueWriter,
|
|
129945
129946
|
owner: this,
|
|
129946
129947
|
errorReason: Ge.CannotValueWriteItself,
|
|
129947
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
129948
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
129948
129949
|
}));
|
|
129949
129950
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
129950
129951
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -130114,14 +130115,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
130114
130115
|
action: D.SetValueWriter,
|
|
130115
130116
|
owner: this,
|
|
130116
130117
|
errorReason: Ge.CannotValueWriteItself,
|
|
130117
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
130118
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
130118
130119
|
})), ((e = this.declaration) == null ? void 0 : e.constant) && i ? (r == null || r.event({
|
|
130119
130120
|
id: `${D.SetValueWriter}-${this.id}--${i.id}`,
|
|
130120
130121
|
action: D.SetValueWriter,
|
|
130121
130122
|
owner: this,
|
|
130122
130123
|
counterpart: i,
|
|
130123
130124
|
errorReason: Ge.ValueReadingOverridesConstantVariable,
|
|
130124
|
-
rootAction: ((f = r == null ? void 0 : r.self) == null ? void 0 : f.id) === this.id && (r == null ? void 0 : r.
|
|
130125
|
+
rootAction: ((f = r == null ? void 0 : r.self) == null ? void 0 : f.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
130125
130126
|
}), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : (((h = this.readsValue) == null ? void 0 : h.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((m = this.defaultValue) == null || m.remove({ ignoreUpstream: !1 }, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this)) : this;
|
|
130126
130127
|
}
|
|
130127
130128
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -130279,7 +130280,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
130279
130280
|
action: D.RemoveEntity,
|
|
130280
130281
|
owner: this,
|
|
130281
130282
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
130282
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
130283
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
130283
130284
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
130284
130285
|
added: [],
|
|
130285
130286
|
updated: [],
|
|
@@ -132653,7 +132654,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132653
132654
|
action: D.AddSuccessCaller,
|
|
132654
132655
|
owner: this,
|
|
132655
132656
|
errorReason: Ge.CannotSuccessCallItself,
|
|
132656
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
132657
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
132657
132658
|
})), !this.calledBySuccess.find((e) => e.id === i.id)) {
|
|
132658
132659
|
const e = [];
|
|
132659
132660
|
if (i.type === d.InternalCall ? e.push(...Yo(i)) : i.type === d.VariableInstance && e.push(...Jo(i)), this.calledBySuccess.push(i), a && At(this, r), i.type === d.InternalCall) {
|
|
@@ -132665,7 +132666,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132665
132666
|
action: D.AddSuccessCall,
|
|
132666
132667
|
owner: i,
|
|
132667
132668
|
errorReason: `cannot-be-${h.code}`,
|
|
132668
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.
|
|
132669
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
132669
132670
|
});
|
|
132670
132671
|
}), this.calledBySuccess = this.calledBySuccess.filter(
|
|
132671
132672
|
(h) => h.id !== i.id
|
|
@@ -132679,7 +132680,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132679
132680
|
action: D.AddSuccessCall,
|
|
132680
132681
|
owner: i,
|
|
132681
132682
|
errorReason: `cannot-be-${h.code}`,
|
|
132682
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.
|
|
132683
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
132683
132684
|
});
|
|
132684
132685
|
}), this.calledBySuccess = this.calledBySuccess.filter(
|
|
132685
132686
|
(h) => h.id !== i.id
|
|
@@ -132712,7 +132713,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132712
132713
|
action: D.AddErrorCaller,
|
|
132713
132714
|
owner: this,
|
|
132714
132715
|
errorReason: Ge.CannotErrorCallItself,
|
|
132715
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
132716
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
132716
132717
|
})), !this.calledByError.find((e) => e.id === i.id)) {
|
|
132717
132718
|
const e = [];
|
|
132718
132719
|
if (i.type === d.InternalCall ? e.push(...Yo(i)) : i.type === d.VariableInstance && e.push(...Jo(i)), this.calledByError.push(i), a && At(this, r), i.type === d.InternalCall) {
|
|
@@ -132724,7 +132725,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132724
132725
|
action: D.AddSuccessCall,
|
|
132725
132726
|
owner: i,
|
|
132726
132727
|
errorReason: `cannot-be-${h.code}`,
|
|
132727
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.
|
|
132728
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
132728
132729
|
});
|
|
132729
132730
|
}), this.calledByError = this.calledByError.filter(
|
|
132730
132731
|
(h) => h.id !== i.id
|
|
@@ -132738,7 +132739,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132738
132739
|
action: D.AddSuccessCall,
|
|
132739
132740
|
owner: i,
|
|
132740
132741
|
errorReason: `cannot-be-${h.code}`,
|
|
132741
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.
|
|
132742
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === i.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
132742
132743
|
});
|
|
132743
132744
|
}), this.calledByError = this.calledByError.filter(
|
|
132744
132745
|
(h) => h.id !== i.id
|
|
@@ -132769,7 +132770,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132769
132770
|
action: D.AddEntryCaller,
|
|
132770
132771
|
owner: this,
|
|
132771
132772
|
errorReason: Ge.CannotEntryCallItself,
|
|
132772
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
132773
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
132773
132774
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
132774
132775
|
}
|
|
132775
132776
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -132793,7 +132794,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132793
132794
|
action: D.AddErrorCaller,
|
|
132794
132795
|
owner: this,
|
|
132795
132796
|
errorReason: Ge.CannotErrorCallItself,
|
|
132796
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
132797
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
132797
132798
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), this.catchesError && this.metaSync({ catchesError: !1 }, r), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
132798
132799
|
}
|
|
132799
132800
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -132817,7 +132818,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132817
132818
|
action: D.AddSuccessCaller,
|
|
132818
132819
|
owner: this,
|
|
132819
132820
|
errorReason: Ge.CannotSuccessCallItself,
|
|
132820
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
132821
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
132821
132822
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
132822
132823
|
}
|
|
132823
132824
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -132886,7 +132887,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
132886
132887
|
action: D.SetValueWriter,
|
|
132887
132888
|
owner: this,
|
|
132888
132889
|
errorReason: Ge.CannotValueWriteItself,
|
|
132889
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
132890
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
132890
132891
|
}));
|
|
132891
132892
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
132892
132893
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -133070,7 +133071,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
133070
133071
|
action: D.SetValueWriter,
|
|
133071
133072
|
owner: this,
|
|
133072
133073
|
errorReason: Ge.CannotValueWriteItself,
|
|
133073
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
133074
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
133074
133075
|
})), ((c = this.readsValue) == null ? void 0 : c.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((e = this.defaultValue) == null || e.remove({ ignoreUpstream: !1 }, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : this;
|
|
133075
133076
|
}
|
|
133076
133077
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -133325,7 +133326,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
133325
133326
|
action: D.RemoveEntity,
|
|
133326
133327
|
owner: this,
|
|
133327
133328
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
133328
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
133329
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
133329
133330
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
133330
133331
|
added: [],
|
|
133331
133332
|
updated: [],
|
|
@@ -138125,14 +138126,14 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
138125
138126
|
action: D.SetValueWriter,
|
|
138126
138127
|
owner: this,
|
|
138127
138128
|
errorReason: Ge.CannotValueWriteItself,
|
|
138128
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
138129
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
138129
138130
|
})), this.parent.type === d.VariableInstance && ((e = this.declaration) == null ? void 0 : e.type) === d.Property && ((f = this.declaration) == null ? void 0 : f.constant) && i ? (r == null || r.event({
|
|
138130
138131
|
id: `${D.SetValueWriter}-${this.id}--${i.id}`,
|
|
138131
138132
|
action: D.SetValueWriter,
|
|
138132
138133
|
owner: this,
|
|
138133
138134
|
counterpart: i,
|
|
138134
138135
|
errorReason: Ge.ValueReadingOverridesConstantVariable,
|
|
138135
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
138136
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
138136
138137
|
}), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : (((m = this.readsValue) == null ? void 0 : m.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((b = this.defaultValue) == null || b.remove({ ignoreUpstream: !1 }, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this)) : this;
|
|
138137
138138
|
}
|
|
138138
138139
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -138284,7 +138285,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
138284
138285
|
action: D.RemoveEntity,
|
|
138285
138286
|
owner: this,
|
|
138286
138287
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
138287
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
138288
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
138288
138289
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
138289
138290
|
added: [],
|
|
138290
138291
|
updated: [],
|
|
@@ -139555,7 +139556,7 @@ You can't modify system entities that are built-in.`
|
|
|
139555
139556
|
action: D.RemoveEntity,
|
|
139556
139557
|
owner: this,
|
|
139557
139558
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
139558
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
139559
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
139559
139560
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
139560
139561
|
added: [],
|
|
139561
139562
|
updated: [],
|
|
@@ -163069,7 +163070,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163069
163070
|
action: D.AddSuccessCaller,
|
|
163070
163071
|
owner: this,
|
|
163071
163072
|
errorReason: Ge.CannotSuccessCallItself,
|
|
163072
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
163073
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
163073
163074
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
163074
163075
|
}
|
|
163075
163076
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -163093,7 +163094,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163093
163094
|
action: D.AddErrorCaller,
|
|
163094
163095
|
owner: this,
|
|
163095
163096
|
errorReason: Ge.CannotErrorCallItself,
|
|
163096
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
163097
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
163097
163098
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
163098
163099
|
}
|
|
163099
163100
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -163117,7 +163118,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163117
163118
|
action: D.AddEntryCaller,
|
|
163118
163119
|
owner: this,
|
|
163119
163120
|
errorReason: Ge.CannotEntryCallItself,
|
|
163120
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
163121
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
163121
163122
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
163122
163123
|
}
|
|
163123
163124
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -163141,7 +163142,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163141
163142
|
action: D.AddErrorCaller,
|
|
163142
163143
|
owner: this,
|
|
163143
163144
|
errorReason: Ge.CannotErrorCallItself,
|
|
163144
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
163145
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
163145
163146
|
})), this.errorCalls.find((e) => e.id === i.id) || (this.errorCalls.push(i), this.catchesError && this.metaSync({ catchesError: !1 }, r), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddErrorCall, this.id), this) : this;
|
|
163146
163147
|
}
|
|
163147
163148
|
addSuccessCall(i, r = this.project.addChangeSet(
|
|
@@ -163165,7 +163166,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163165
163166
|
action: D.AddSuccessCaller,
|
|
163166
163167
|
owner: this,
|
|
163167
163168
|
errorReason: Ge.CannotSuccessCallItself,
|
|
163168
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
163169
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
163169
163170
|
})), this.successCalls.find((e) => e.id === i.id) || (this.successCalls.push(i), a && At(this, r), r == null || r.add(this, H.Affected)), r == null || r.attemptAutoclose(D.AddSuccessCall, this.id), this) : this;
|
|
163170
163171
|
}
|
|
163171
163172
|
removeCall(i, r = this.project.addChangeSet(
|
|
@@ -163434,7 +163435,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
163434
163435
|
action: D.RemoveEntity,
|
|
163435
163436
|
owner: this,
|
|
163436
163437
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
163437
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
163438
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
163438
163439
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
163439
163440
|
added: [],
|
|
163440
163441
|
updated: [],
|
|
@@ -164096,7 +164097,7 @@ Search entities can interpolate values, but the values should come from the 'inp
|
|
|
164096
164097
|
action: D.SetValueWriter,
|
|
164097
164098
|
owner: this,
|
|
164098
164099
|
errorReason: Ge.CannotValueWriteItself,
|
|
164099
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
164100
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
164100
164101
|
}));
|
|
164101
164102
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
164102
164103
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -164959,7 +164960,7 @@ const FZi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
164959
164960
|
action: D.RemoveEntity,
|
|
164960
164961
|
owner: this,
|
|
164961
164962
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
164962
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
164963
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
164963
164964
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
164964
164965
|
added: [],
|
|
164965
164966
|
updated: [],
|
|
@@ -166532,7 +166533,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166532
166533
|
action: D.SetValueWriter,
|
|
166533
166534
|
owner: this,
|
|
166534
166535
|
errorReason: Ge.CannotValueWriteItself,
|
|
166535
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
166536
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
166536
166537
|
}));
|
|
166537
166538
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
166538
166539
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -166587,7 +166588,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166587
166588
|
action: D.AddSuccessCaller,
|
|
166588
166589
|
owner: this,
|
|
166589
166590
|
errorReason: Ge.CannotSuccessCallItself,
|
|
166590
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
166591
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
166591
166592
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
166592
166593
|
}
|
|
166593
166594
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -166611,7 +166612,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166611
166612
|
action: D.AddErrorCaller,
|
|
166612
166613
|
owner: this,
|
|
166613
166614
|
errorReason: Ge.CannotErrorCallItself,
|
|
166614
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
166615
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
166615
166616
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
166616
166617
|
}
|
|
166617
166618
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -166635,7 +166636,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166635
166636
|
action: D.AddEntryCaller,
|
|
166636
166637
|
owner: this,
|
|
166637
166638
|
errorReason: Ge.CannotEntryCallItself,
|
|
166638
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
166639
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
166639
166640
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
166640
166641
|
}
|
|
166641
166642
|
addErrorCall(i, r = this.project.addChangeSet(
|
|
@@ -166661,7 +166662,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166661
166662
|
action: D.AddErrorCaller,
|
|
166662
166663
|
owner: this,
|
|
166663
166664
|
errorReason: Ge.CannotErrorCallItself,
|
|
166664
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
166665
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
166665
166666
|
})), !this.errorCalls.find((e) => e.id === i.id)) {
|
|
166666
166667
|
const e = Yo(this);
|
|
166667
166668
|
this.errorCalls.push(i);
|
|
@@ -166675,7 +166676,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166675
166676
|
action: D.AddErrorCaller,
|
|
166676
166677
|
owner: this,
|
|
166677
166678
|
errorReason: `cannot-be-${m.code}`,
|
|
166678
|
-
rootAction: ((b = r == null ? void 0 : r.self) == null ? void 0 : b.id) === this.id && (r == null ? void 0 : r.
|
|
166679
|
+
rootAction: ((b = r == null ? void 0 : r.self) == null ? void 0 : b.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
166679
166680
|
});
|
|
166680
166681
|
}), this.errorCalls = this.errorCalls.filter(
|
|
166681
166682
|
(m) => m.id !== i.id
|
|
@@ -166706,7 +166707,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166706
166707
|
action: D.AddSuccessCaller,
|
|
166707
166708
|
owner: this,
|
|
166708
166709
|
errorReason: Ge.CannotSuccessCallItself,
|
|
166709
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
166710
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
166710
166711
|
})), !this.successCalls.find((e) => e.id === i.id)) {
|
|
166711
166712
|
const e = Yo(this);
|
|
166712
166713
|
this.successCalls.push(i), a && At(this, r);
|
|
@@ -166718,7 +166719,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
166718
166719
|
action: D.AddSuccessCall,
|
|
166719
166720
|
owner: this,
|
|
166720
166721
|
errorReason: `cannot-be-${h.code}`,
|
|
166721
|
-
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.
|
|
166722
|
+
rootAction: ((m = r == null ? void 0 : r.self) == null ? void 0 : m.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCall
|
|
166722
166723
|
});
|
|
166723
166724
|
}), this.successCalls = this.successCalls.filter(
|
|
166724
166725
|
(h) => h.id !== i.id
|
|
@@ -167018,7 +167019,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
167018
167019
|
action: D.RemoveEntity,
|
|
167019
167020
|
owner: this,
|
|
167020
167021
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
167021
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
167022
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
167022
167023
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
167023
167024
|
added: [],
|
|
167024
167025
|
updated: [],
|
|
@@ -168629,7 +168630,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
168629
168630
|
action: D.SetValueWriter,
|
|
168630
168631
|
owner: this,
|
|
168631
168632
|
errorReason: Ge.CannotValueWriteItself,
|
|
168632
|
-
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.
|
|
168633
|
+
rootAction: ((e = r == null ? void 0 : r.self) == null ? void 0 : e.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
168633
168634
|
}));
|
|
168634
168635
|
const a = i.type === d.InputMap && i.parent.type === d.VariableInstance && ((f = i.declaration) == null ? void 0 : f.type) === d.Property && ((h = i.declaration) == null ? void 0 : h.constant), c = i.type === d.VariableInstance && ((m = i.declaration) == null ? void 0 : m.constant);
|
|
168635
168636
|
return (a || c) && i ? (r == null || r.event({
|
|
@@ -168856,7 +168857,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
168856
168857
|
action: D.RemoveEntity,
|
|
168857
168858
|
owner: this,
|
|
168858
168859
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
168859
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
168860
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
168860
168861
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
168861
168862
|
added: [],
|
|
168862
168863
|
updated: [],
|
|
@@ -170108,7 +170109,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
170108
170109
|
action: D.AddSuccessCaller,
|
|
170109
170110
|
owner: this,
|
|
170110
170111
|
errorReason: Ge.CannotSuccessCallItself,
|
|
170111
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
170112
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
170112
170113
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
170113
170114
|
}
|
|
170114
170115
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -170132,7 +170133,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
170132
170133
|
action: D.AddErrorCaller,
|
|
170133
170134
|
owner: this,
|
|
170134
170135
|
errorReason: Ge.CannotErrorCallItself,
|
|
170135
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
170136
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
170136
170137
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
170137
170138
|
}
|
|
170138
170139
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -170156,7 +170157,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
170156
170157
|
action: D.AddEntryCaller,
|
|
170157
170158
|
owner: this,
|
|
170158
170159
|
errorReason: Ge.CannotEntryCallItself,
|
|
170159
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
170160
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
170160
170161
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
170161
170162
|
}
|
|
170162
170163
|
removeCaller(i, r = this.project.addChangeSet(
|
|
@@ -170266,7 +170267,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
170266
170267
|
action: D.SetValueWriter,
|
|
170267
170268
|
owner: this,
|
|
170268
170269
|
errorReason: Ge.CannotValueWriteItself,
|
|
170269
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
170270
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
170270
170271
|
})), ((c = this.readsValue) == null ? void 0 : c.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((e = this.defaultValue) == null || e.remove({ ignoreUpstream: !1 }, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : this;
|
|
170271
170272
|
}
|
|
170272
170273
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -170430,7 +170431,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
170430
170431
|
action: D.RemoveEntity,
|
|
170431
170432
|
owner: this,
|
|
170432
170433
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
170433
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
170434
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
170434
170435
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
170435
170436
|
added: [],
|
|
170436
170437
|
updated: [],
|
|
@@ -172018,7 +172019,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
172018
172019
|
action: D.AddSuccessCaller,
|
|
172019
172020
|
owner: this,
|
|
172020
172021
|
errorReason: Ge.CannotSuccessCallItself,
|
|
172021
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
172022
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddSuccessCaller
|
|
172022
172023
|
})), this.calledBySuccess.find((e) => e.id === i.id) || (this.calledBySuccess.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddSuccessCaller, this.id), this) : this;
|
|
172023
172024
|
}
|
|
172024
172025
|
addErrorCaller(i, r = this.project.addChangeSet(
|
|
@@ -172042,7 +172043,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
172042
172043
|
action: D.AddErrorCaller,
|
|
172043
172044
|
owner: this,
|
|
172044
172045
|
errorReason: Ge.CannotErrorCallItself,
|
|
172045
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
172046
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddErrorCaller
|
|
172046
172047
|
})), this.calledByError.find((e) => e.id === i.id) || (this.calledByError.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddErrorCaller, this.id), this) : this;
|
|
172047
172048
|
}
|
|
172048
172049
|
addEntryCaller(i, r = this.project.addChangeSet(
|
|
@@ -172066,7 +172067,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
172066
172067
|
action: D.AddEntryCaller,
|
|
172067
172068
|
owner: this,
|
|
172068
172069
|
errorReason: Ge.CannotEntryCallItself,
|
|
172069
|
-
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.
|
|
172070
|
+
rootAction: ((c = r == null ? void 0 : r.self) == null ? void 0 : c.id) === this.id && (r == null ? void 0 : r.actionName) === D.AddEntryCaller
|
|
172070
172071
|
})), this.calledByEntry.find((e) => e.id === i.id) || (this.calledByEntry.push(i), r == null || r.add(this, H.Updated), a && At(this, r)), r == null || r.attemptAutoclose(D.AddEntryCaller, this.id), this) : this;
|
|
172071
172072
|
}
|
|
172072
172073
|
removeCaller(i, r = this.project.addChangeSet(
|
|
@@ -172176,7 +172177,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
172176
172177
|
action: D.SetValueWriter,
|
|
172177
172178
|
owner: this,
|
|
172178
172179
|
errorReason: Ge.CannotValueWriteItself,
|
|
172179
|
-
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.
|
|
172180
|
+
rootAction: ((a = r == null ? void 0 : r.self) == null ? void 0 : a.id) === this.id && (r == null ? void 0 : r.actionName) === D.SetValueWriter
|
|
172180
172181
|
})), ((c = this.readsValue) == null ? void 0 : c.id) !== (i == null ? void 0 : i.id) && (this.readsValue = i, this.readsValue && ((e = this.defaultValue) == null || e.remove({ ignoreUpstream: !1 }, r)), r == null || r.add(this, H.Updated)), r == null || r.attemptAutoclose(D.SetValueWriter, this.id), this) : this;
|
|
172181
172182
|
}
|
|
172182
172183
|
removeValueWriter(i = this.project.addChangeSet(
|
|
@@ -172340,7 +172341,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
172340
172341
|
action: D.RemoveEntity,
|
|
172341
172342
|
owner: this,
|
|
172342
172343
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
172343
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
172344
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
172344
172345
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
172345
172346
|
added: [],
|
|
172346
172347
|
updated: [],
|
|
@@ -182932,7 +182933,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
182932
182933
|
action: D.RemoveEntity,
|
|
182933
182934
|
owner: this,
|
|
182934
182935
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
182935
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
182936
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
182936
182937
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
182937
182938
|
added: [],
|
|
182938
182939
|
updated: [],
|
|
@@ -186247,7 +186248,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
186247
186248
|
action: D.RemoveEntity,
|
|
186248
186249
|
owner: this,
|
|
186249
186250
|
errorReason: Ge.ActionOwnerEntityNonDeletable,
|
|
186250
|
-
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.
|
|
186251
|
+
rootAction: ((h = r == null ? void 0 : r.self) == null ? void 0 : h.id) === this.id && (r == null ? void 0 : r.actionName) === D.RemoveEntity
|
|
186251
186252
|
}), r == null || r.attemptAutoclose(D.RemoveEntity, this.id), {
|
|
186252
186253
|
added: [],
|
|
186253
186254
|
updated: [],
|
|
@@ -187913,7 +187914,7 @@ const a5 = {
|
|
|
187913
187914
|
(r) => r.dirty && !r.open && !r.submitting
|
|
187914
187915
|
);
|
|
187915
187916
|
i && (de.log(
|
|
187916
|
-
`[ProjectState.closePersistChangeSetsSequentially] closing pending change-set ${i.id} - ${i.
|
|
187917
|
+
`[ProjectState.closePersistChangeSetsSequentially] closing pending change-set ${i.id} - ${i.actionName}`
|
|
187917
187918
|
), await this.persistChangeSetSequentially(i));
|
|
187918
187919
|
}
|
|
187919
187920
|
async onPersistChangeSetSequentially(i) {
|
|
@@ -187948,37 +187949,37 @@ const a5 = {
|
|
|
187948
187949
|
}
|
|
187949
187950
|
async persistChangeSetSequentially(i) {
|
|
187950
187951
|
if (de.log(
|
|
187951
|
-
`[ProjectState.persistChangeSetSequentially] called for change-set ${i.id} - ${i.
|
|
187952
|
+
`[ProjectState.persistChangeSetSequentially] called for change-set ${i.id} - ${i.actionName}`
|
|
187952
187953
|
), !i.dirty || i.open || i.submitting) {
|
|
187953
187954
|
de.log(
|
|
187954
|
-
`[ProjectState.persistChangeSetSequentially] change-set ${i.id} - ${i.
|
|
187955
|
+
`[ProjectState.persistChangeSetSequentially] change-set ${i.id} - ${i.actionName} is not dirty, or is open, or is already being submitted, skipping.`
|
|
187955
187956
|
);
|
|
187956
187957
|
return;
|
|
187957
187958
|
}
|
|
187958
187959
|
const r = this.history.findIndex((e) => e.id === i.id), a = this.history.slice(0, r), c = a[a.length - 1];
|
|
187959
187960
|
if (c != null && c.dirty) {
|
|
187960
187961
|
de.log(
|
|
187961
|
-
`[ProjectState.persistChangeSetSequentially] lastBeforeSelf is dirty: ${c.id} - ${c.
|
|
187962
|
+
`[ProjectState.persistChangeSetSequentially] lastBeforeSelf is dirty: ${c.id} - ${c.actionName}, closing it first.`
|
|
187962
187963
|
);
|
|
187963
187964
|
return;
|
|
187964
187965
|
}
|
|
187965
187966
|
this.onPersistChangeSetSequentiallyCallback && (de.log(
|
|
187966
|
-
`[ProjectState.persistChangeSetSequentially] invoking onPersistChangeSetSequentiallyCallback for change-set ${i.id} - ${i.
|
|
187967
|
+
`[ProjectState.persistChangeSetSequentially] invoking onPersistChangeSetSequentiallyCallback for change-set ${i.id} - ${i.actionName}`
|
|
187967
187968
|
), this.emit("before-change-set-persist", i), i.submitting = !0, (await this.onPersistChangeSetSequentiallyCallback(i)).success && (i.dirty = !1, this.emit("change-set-persisted", i), de.log(
|
|
187968
|
-
`[ProjectState.persistChangeSetSequentially] change-set ${i.id} - ${i.
|
|
187969
|
+
`[ProjectState.persistChangeSetSequentially] change-set ${i.id} - ${i.actionName} closed successfully, checking for pending change-sets to close.`
|
|
187969
187970
|
), this.closePersistChangeSetsSequentially()));
|
|
187970
187971
|
}
|
|
187971
187972
|
async persistChangeSetInParallel(i) {
|
|
187972
187973
|
if (de.log(
|
|
187973
|
-
`[ProjectState.persistChangeSetInParallel] called for change-set ${i.id} - ${i.
|
|
187974
|
+
`[ProjectState.persistChangeSetInParallel] called for change-set ${i.id} - ${i.actionName}`
|
|
187974
187975
|
), !i.dirty || i.open || i.submitting) {
|
|
187975
187976
|
de.log(
|
|
187976
|
-
`[ProjectState.persistChangeSetInParallel] change-set ${i.id} - ${i.
|
|
187977
|
+
`[ProjectState.persistChangeSetInParallel] change-set ${i.id} - ${i.actionName} is not dirty, or is open, or is already being submitted, skipping.`
|
|
187977
187978
|
);
|
|
187978
187979
|
return;
|
|
187979
187980
|
}
|
|
187980
187981
|
this.onPersistChangeSetInParallelCallback && (de.log(
|
|
187981
|
-
`[ProjectState.persistChangeSetInParallel] invoking onPersistChangeSetInParallelCallback for change-set ${i.id} - ${i.
|
|
187982
|
+
`[ProjectState.persistChangeSetInParallel] invoking onPersistChangeSetInParallelCallback for change-set ${i.id} - ${i.actionName}`
|
|
187982
187983
|
), this.emit("before-change-set-persist", i), i.submitting = !0, (await this.onPersistChangeSetInParallelCallback(i)).success && (i.dirty = !1, this.emit("change-set-persisted", i)));
|
|
187983
187984
|
}
|
|
187984
187985
|
// Returns the last open change set or creates a new one with the information provided
|
|
@@ -188025,7 +188026,7 @@ const a5 = {
|
|
|
188025
188026
|
const e = this.history.find((f) => f.open);
|
|
188026
188027
|
if (e)
|
|
188027
188028
|
throw de.warn("Previous still open: ", e), de.warn("New change set: ", i), new Error(
|
|
188028
|
-
`There is already an open change-set with id '${e.id}'${e.
|
|
188029
|
+
`There is already an open change-set with id '${e.id}'${e.actionName ? ` auto-close: ${e.actionName}` : ""}${e.self ? ` root: ${e.self.type} ${oe(
|
|
188029
188030
|
e.self,
|
|
188030
188031
|
this
|
|
188031
188032
|
)}` : ""}.`
|
|
@@ -188042,11 +188043,11 @@ const a5 = {
|
|
|
188042
188043
|
discardChangeSet(i) {
|
|
188043
188044
|
var a;
|
|
188044
188045
|
de.log(
|
|
188045
|
-
`[ProjectState.discardChangeSet] called for change-set ${i.id} - ${i.
|
|
188046
|
+
`[ProjectState.discardChangeSet] called for change-set ${i.id} - ${i.actionName}`
|
|
188046
188047
|
);
|
|
188047
188048
|
const r = this.history.findIndex((c) => c.id === (i == null ? void 0 : i.id));
|
|
188048
188049
|
return r !== -1 && (this.history.splice(r, 1), de.log(
|
|
188049
|
-
`[ProjectState.discardChangeSet] Removed change-set ${i.id} - ${i.
|
|
188050
|
+
`[ProjectState.discardChangeSet] Removed change-set ${i.id} - ${i.actionName} from history.`
|
|
188050
188051
|
), this.undoableStackValueIndex = this.undoableStackValueIndex - 1, (a = this.onDiscardChangeSetCallback) == null || a.call(this, i), i == null || i.teardown()), this;
|
|
188051
188052
|
}
|
|
188052
188053
|
validateGeneratedUpdate(i) {
|