@elyx-code/project-logic-tree 0.0.6561 → 0.0.6563
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.js +633 -613
- package/dist/index.umd.cjs +30 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ function r7e(d, ...u) {
|
|
|
30
30
|
function s7e(d, ...u) {
|
|
31
31
|
Gf && console.error(d, ...u);
|
|
32
32
|
}
|
|
33
|
-
class
|
|
33
|
+
class J {
|
|
34
34
|
static get logsEnabled() {
|
|
35
35
|
return Gf;
|
|
36
36
|
}
|
|
@@ -44974,14 +44974,14 @@ var EM = { exports: {} };
|
|
|
44974
44974
|
return { M: E, y: N, w: I, d: T, D: L, h: v, m: y, s: e, ms: c, Q: D }[Ce] || String(Ce || "").toLowerCase().replace(/s$/, "");
|
|
44975
44975
|
}, u: function(Ce) {
|
|
44976
44976
|
return Ce === void 0;
|
|
44977
|
-
} },
|
|
44978
|
-
ue[
|
|
44977
|
+
} }, z = "en", ue = {};
|
|
44978
|
+
ue[z] = Z;
|
|
44979
44979
|
var te = "$isDayjsObject", le = function(Ce) {
|
|
44980
44980
|
return Ce instanceof Ee || !(!Ce || !Ce[te]);
|
|
44981
44981
|
}, he = function Ce(be, Ie, De) {
|
|
44982
44982
|
var Ne;
|
|
44983
44983
|
if (!be)
|
|
44984
|
-
return
|
|
44984
|
+
return z;
|
|
44985
44985
|
if (typeof be == "string") {
|
|
44986
44986
|
var Le = be.toLowerCase();
|
|
44987
44987
|
ue[Le] && (Ne = Le), Ie && (ue[Le] = Ie, Ne = Le);
|
|
@@ -44992,7 +44992,7 @@ var EM = { exports: {} };
|
|
|
44992
44992
|
var ot = be.name;
|
|
44993
44993
|
ue[ot] = be, Ne = ot;
|
|
44994
44994
|
}
|
|
44995
|
-
return !De && Ne && (
|
|
44995
|
+
return !De && Ne && (z = Ne), Ne || !De && z;
|
|
44996
44996
|
}, X = function(Ce, be) {
|
|
44997
44997
|
if (le(Ce))
|
|
44998
44998
|
return Ce.clone();
|
|
@@ -45236,7 +45236,7 @@ var EM = { exports: {} };
|
|
|
45236
45236
|
return Ce.$i || (Ce(be, Ee, X), Ce.$i = !0), X;
|
|
45237
45237
|
}, X.locale = he, X.isDayjs = le, X.unix = function(Ce) {
|
|
45238
45238
|
return X(1e3 * Ce);
|
|
45239
|
-
}, X.en = ue[
|
|
45239
|
+
}, X.en = ue[z], X.Ls = ue, X.p = {}, X;
|
|
45240
45240
|
});
|
|
45241
45241
|
})(EM);
|
|
45242
45242
|
var SRt = EM.exports;
|
|
@@ -46883,7 +46883,7 @@ class j extends ku {
|
|
|
46883
46883
|
return Object.keys(this.affected);
|
|
46884
46884
|
}
|
|
46885
46885
|
event(i) {
|
|
46886
|
-
|
|
46886
|
+
J.log(`ChangeSet Event: ${i.action} (${i.id})`);
|
|
46887
46887
|
const a = new H_t(i, this);
|
|
46888
46888
|
this.events.set(i.id, a), this.emit("change-set-event", a);
|
|
46889
46889
|
}
|
|
@@ -46960,7 +46960,7 @@ class j extends ku {
|
|
|
46960
46960
|
return this.autoclose && this.autoCloseActionName && this.autoCloseActionName === i && (this.self && a === ((l = this.self) == null ? void 0 : l.id) || !this.self) && await this.closeAsync(), this;
|
|
46961
46961
|
}
|
|
46962
46962
|
async closeAsync() {
|
|
46963
|
-
return this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (
|
|
46963
|
+
return this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.open = !1, this.isEmpty ? (J.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this) : (await this.project.closeChangeSet(this), this);
|
|
46964
46964
|
}
|
|
46965
46965
|
attemptAutoclose(i, a) {
|
|
46966
46966
|
var l;
|
|
@@ -47024,7 +47024,7 @@ class j extends ku {
|
|
|
47024
47024
|
}
|
|
47025
47025
|
close() {
|
|
47026
47026
|
if (this.startedClose || (this.startedClose = !0, this.beforeClose()), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.discardOrphans(), this.sanitize(), this.captureAllChangesInVersionInstances(), this.recursiveCaptureUpstreamVersions(), this.captureAllChangesInVersionInstances(), this.open = !1, this.isEmpty)
|
|
47027
|
-
return
|
|
47027
|
+
return J.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this.project.closePendingChangeSets(), this;
|
|
47028
47028
|
if (this.added[this.project.id] && this.updatedIds.length)
|
|
47029
47029
|
throw new Error(
|
|
47030
47030
|
"No 'updated' entities should be present in the change-set when the project entity is in the 'added' list. New projects can only have newly added entities"
|
|
@@ -47241,13 +47241,13 @@ function g$(d, u, i) {
|
|
|
47241
47241
|
i
|
|
47242
47242
|
);
|
|
47243
47243
|
if (d === u)
|
|
47244
|
-
throw
|
|
47244
|
+
throw J.error("From: ", d), J.error("To: ", u), new Error(
|
|
47245
47245
|
"Cannot generate transitional change set between the same two versions or change-sets"
|
|
47246
47246
|
);
|
|
47247
47247
|
let c;
|
|
47248
|
-
if (d === "initial" ? c = !0 : u === "initial" ? c = !1 : x(d.timestamp).isBefore(x(u.timestamp)) ? c = !0 : c = !1,
|
|
47248
|
+
if (d === "initial" ? c = !0 : u === "initial" ? c = !1 : x(d.timestamp).isBefore(x(u.timestamp)) ? c = !0 : c = !1, J.log("Transitioning from ", d === "initial" ? "initial" : d.index), J.log("Transitioning to ", u === "initial" ? "initial" : u.index), J.log("Is forward: ", c), c) {
|
|
47249
47249
|
const T = u.index, I = d === "initial" ? 0 : d.index;
|
|
47250
|
-
|
|
47250
|
+
J.log("ownIndex: ", T), J.log("startIndex: ", I);
|
|
47251
47251
|
const E = T === I ? [i.history[T]] : i.history.slice(I + 1, T + 1);
|
|
47252
47252
|
if (E.sort(
|
|
47253
47253
|
(D, N) => x(D.timestamp).isAfter(x(N.timestamp)) ? 1 : -1
|
|
@@ -47255,7 +47255,7 @@ function g$(d, u, i) {
|
|
|
47255
47255
|
throw new Error(
|
|
47256
47256
|
"No change sets in the history between the history indexes provided"
|
|
47257
47257
|
);
|
|
47258
|
-
|
|
47258
|
+
J.log(
|
|
47259
47259
|
"REDO change-set: ",
|
|
47260
47260
|
E[0].id,
|
|
47261
47261
|
" ",
|
|
@@ -47360,7 +47360,7 @@ function g$(d, u, i) {
|
|
|
47360
47360
|
throw new Error(
|
|
47361
47361
|
"No change sets in the history between the history indexes provided"
|
|
47362
47362
|
);
|
|
47363
|
-
|
|
47363
|
+
J.log(
|
|
47364
47364
|
"UNDO change-set: ",
|
|
47365
47365
|
E[0].id,
|
|
47366
47366
|
" ",
|
|
@@ -47478,37 +47478,37 @@ function D$(d, u, i, a) {
|
|
|
47478
47478
|
"Change set must have a valid `self` entity state to be traversed"
|
|
47479
47479
|
);
|
|
47480
47480
|
const l = new Xa(d.self);
|
|
47481
|
-
|
|
47481
|
+
J.log("changeSet.added: ", Object.keys(d.added).length), J.log("changeSet.updated: ", Object.keys(d.updated).length), J.log("changeSet.removed: ", Object.keys(d.removed).length);
|
|
47482
47482
|
const c = {
|
|
47483
47483
|
...d.added,
|
|
47484
47484
|
...d.updated,
|
|
47485
47485
|
...d.removed
|
|
47486
47486
|
// ...changeSet.affected,
|
|
47487
47487
|
};
|
|
47488
|
-
l.order = Object.keys(c), l.flatRecord = c, l.orderEntities(),
|
|
47488
|
+
l.order = Object.keys(c), l.flatRecord = c, l.orderEntities(), J.log(
|
|
47489
47489
|
"All entities: ",
|
|
47490
47490
|
l.order.map((e, y) => `${y + 1}: ${c[e].type} - ${e}`).join(`,
|
|
47491
47491
|
`)
|
|
47492
|
-
),
|
|
47492
|
+
), J.log("Traversing new additions"), l.visit(async (e) => {
|
|
47493
47493
|
if (d.added[e.id])
|
|
47494
47494
|
try {
|
|
47495
|
-
|
|
47495
|
+
J.log("Adding: ", e.id), u(e);
|
|
47496
47496
|
} catch (y) {
|
|
47497
|
-
|
|
47497
|
+
J.error("Error: ", y), J.error("Errored entity: ", e);
|
|
47498
47498
|
}
|
|
47499
|
-
}),
|
|
47499
|
+
}), J.log("Traversing updates"), l.visit(async (e) => {
|
|
47500
47500
|
if (d.updated[e.id])
|
|
47501
47501
|
try {
|
|
47502
|
-
|
|
47502
|
+
J.log("Updating: ", e.id), i(e);
|
|
47503
47503
|
} catch (y) {
|
|
47504
|
-
|
|
47504
|
+
J.error("Error: ", y), J.error("Errored entity: ", e);
|
|
47505
47505
|
}
|
|
47506
|
-
}),
|
|
47506
|
+
}), J.log("Traversing removals"), l.visit(async (e, y) => {
|
|
47507
47507
|
if (d.removed[e.id])
|
|
47508
47508
|
try {
|
|
47509
|
-
|
|
47509
|
+
J.log("Removing: ", e.id), a(e);
|
|
47510
47510
|
} catch (v) {
|
|
47511
|
-
|
|
47511
|
+
J.error("Error: ", v), J.error("Errored entity: ", e);
|
|
47512
47512
|
}
|
|
47513
47513
|
});
|
|
47514
47514
|
}
|
|
@@ -47540,7 +47540,7 @@ class lr extends Yw {
|
|
|
47540
47540
|
}
|
|
47541
47541
|
checkCanEditWithCounterpartAndSideEffects(i, a, l, c = null) {
|
|
47542
47542
|
var e, y;
|
|
47543
|
-
return !this.checkCanEdit(i) || !this.checkCanEdit(a) ? (this.checkCanEdit(a) ? (
|
|
47543
|
+
return !this.checkCanEdit(i) || !this.checkCanEdit(a) ? (this.checkCanEdit(a) ? (J.warn(
|
|
47544
47544
|
`[${l}] User is not allowed to edit this ${i.type} entity with id: ${i.id}`
|
|
47545
47545
|
), c == null || c.event({
|
|
47546
47546
|
id: `${l}-${i.id}--${a.id}`,
|
|
@@ -47549,7 +47549,7 @@ class lr extends Yw {
|
|
|
47549
47549
|
counterpart: a,
|
|
47550
47550
|
errorReason: Wi.ActionOwnerEntityNotEditable,
|
|
47551
47551
|
rootAction: ((y = c == null ? void 0 : c.self) == null ? void 0 : y.id) === i.id && (c == null ? void 0 : c.autoCloseActionName) === l
|
|
47552
|
-
})) : (
|
|
47552
|
+
})) : (J.warn(
|
|
47553
47553
|
`[${l}] User is not allowed to edit this ${i.type} entity with id: ${i.id} because its counterpart ${a.type} with id: ${a.id} is not editable`
|
|
47554
47554
|
), c == null || c.event({
|
|
47555
47555
|
id: `${l}-${i.id}--${a.id}`,
|
|
@@ -48018,7 +48018,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48018
48018
|
)
|
|
48019
48019
|
)) {
|
|
48020
48020
|
if (!this.checkCanEdit(this))
|
|
48021
|
-
return
|
|
48021
|
+
return J.warn(
|
|
48022
48022
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48023
48023
|
), a == null || a.attemptAutoclose(
|
|
48024
48024
|
O.UpdateWithShallowTransfer,
|
|
@@ -48104,7 +48104,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48104
48104
|
)
|
|
48105
48105
|
)) {
|
|
48106
48106
|
if (!this.checkCanEdit(this))
|
|
48107
|
-
return
|
|
48107
|
+
return J.warn(
|
|
48108
48108
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48109
48109
|
), i == null || i.attemptAutoclose(
|
|
48110
48110
|
O.AfterAllChildrenInitialized,
|
|
@@ -48251,7 +48251,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48251
48251
|
O.AddImplementation
|
|
48252
48252
|
)
|
|
48253
48253
|
)) {
|
|
48254
|
-
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (
|
|
48254
|
+
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
|
|
48255
48255
|
`[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48256
48256
|
), a == null || a.attemptAutoclose(
|
|
48257
48257
|
O.AddImplementation,
|
|
@@ -48271,7 +48271,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48271
48271
|
return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
48272
48272
|
O.RemoveImplementation,
|
|
48273
48273
|
this.id
|
|
48274
|
-
), this) : (
|
|
48274
|
+
), this) : (J.warn(
|
|
48275
48275
|
`[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48276
48276
|
), a == null || a.attemptAutoclose(
|
|
48277
48277
|
O.RemoveImplementation,
|
|
@@ -48360,7 +48360,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48360
48360
|
)
|
|
48361
48361
|
)) {
|
|
48362
48362
|
if (!this.checkCanEdit(this))
|
|
48363
|
-
return
|
|
48363
|
+
return J.warn(
|
|
48364
48364
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48365
48365
|
), i == null || i.attemptAutoclose(
|
|
48366
48366
|
O.RemoveFromParent,
|
|
@@ -48405,7 +48405,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48405
48405
|
)) {
|
|
48406
48406
|
var v;
|
|
48407
48407
|
if (!this.checkCanDelete(this))
|
|
48408
|
-
return
|
|
48408
|
+
return J.warn(
|
|
48409
48409
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
48410
48410
|
), a == null || a.event({
|
|
48411
48411
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -48488,7 +48488,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48488
48488
|
)
|
|
48489
48489
|
)) {
|
|
48490
48490
|
if (!this.checkCanEdit(this))
|
|
48491
|
-
return
|
|
48491
|
+
return J.warn(
|
|
48492
48492
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48493
48493
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
48494
48494
|
const a = [], l = [], c = [], e = [];
|
|
@@ -48757,7 +48757,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48757
48757
|
)
|
|
48758
48758
|
)) {
|
|
48759
48759
|
if (!this.checkCanEdit(this))
|
|
48760
|
-
return
|
|
48760
|
+
return J.warn(
|
|
48761
48761
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48762
48762
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
48763
48763
|
const l = this.defaultValue;
|
|
@@ -48822,7 +48822,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48822
48822
|
)
|
|
48823
48823
|
)) {
|
|
48824
48824
|
if (!this.checkCanEdit(this))
|
|
48825
|
-
return
|
|
48825
|
+
return J.warn(
|
|
48826
48826
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48827
48827
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
48828
48828
|
const l = this.dataType;
|
|
@@ -48838,7 +48838,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48838
48838
|
O.RemoveDataType
|
|
48839
48839
|
)
|
|
48840
48840
|
)) {
|
|
48841
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
48841
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
48842
48842
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48843
48843
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
48844
48844
|
}
|
|
@@ -48854,7 +48854,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
48854
48854
|
)) {
|
|
48855
48855
|
var T;
|
|
48856
48856
|
if (!this.checkCanEdit(this))
|
|
48857
|
-
return
|
|
48857
|
+
return J.warn(
|
|
48858
48858
|
`[syncWithImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
48859
48859
|
), i == null || i.attemptAutoclose("sync-with-implementation", this.id), {
|
|
48860
48860
|
added: [],
|
|
@@ -49569,7 +49569,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
49569
49569
|
)) {
|
|
49570
49570
|
var l, c;
|
|
49571
49571
|
if (!this.checkCanEdit(this))
|
|
49572
|
-
return
|
|
49572
|
+
return J.warn(
|
|
49573
49573
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
49574
49574
|
), a == null || a.attemptAutoclose(
|
|
49575
49575
|
O.UpdateWithShallowTransfer,
|
|
@@ -49658,7 +49658,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
49658
49658
|
)) {
|
|
49659
49659
|
var y, v, T;
|
|
49660
49660
|
if (!this.checkCanEdit(this))
|
|
49661
|
-
return
|
|
49661
|
+
return J.warn(
|
|
49662
49662
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
49663
49663
|
), i == null || i.attemptAutoclose(
|
|
49664
49664
|
O.AfterAllChildrenInitialized,
|
|
@@ -49749,7 +49749,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
49749
49749
|
)
|
|
49750
49750
|
)) {
|
|
49751
49751
|
if (!this.checkCanEdit(this))
|
|
49752
|
-
return
|
|
49752
|
+
return J.warn(
|
|
49753
49753
|
`[removeChildGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
49754
49754
|
), a == null || a.attemptAutoclose(
|
|
49755
49755
|
O.RemoveChildGroup,
|
|
@@ -49872,7 +49872,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
49872
49872
|
)) {
|
|
49873
49873
|
var y, v;
|
|
49874
49874
|
if (!this.checkCanEdit(this))
|
|
49875
|
-
return
|
|
49875
|
+
return J.warn(
|
|
49876
49876
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
49877
49877
|
), i == null || i.attemptAutoclose(
|
|
49878
49878
|
O.RemoveFromParent,
|
|
@@ -49989,7 +49989,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
49989
49989
|
)
|
|
49990
49990
|
)) {
|
|
49991
49991
|
if (!this.checkCanEdit(this))
|
|
49992
|
-
return
|
|
49992
|
+
return J.warn(
|
|
49993
49993
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
49994
49994
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
49995
49995
|
const a = [], l = [], c = [], e = [];
|
|
@@ -50436,7 +50436,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
50436
50436
|
O.AddToAndGroup
|
|
50437
50437
|
)
|
|
50438
50438
|
)) {
|
|
50439
|
-
return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (
|
|
50439
|
+
return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (J.warn(
|
|
50440
50440
|
`[addToAndGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
50441
50441
|
), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this);
|
|
50442
50442
|
}
|
|
@@ -50451,7 +50451,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
50451
50451
|
O.AddToOrGroup
|
|
50452
50452
|
)
|
|
50453
50453
|
)) {
|
|
50454
|
-
return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (
|
|
50454
|
+
return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (J.warn(
|
|
50455
50455
|
`[addToOrGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
50456
50456
|
), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this);
|
|
50457
50457
|
}
|
|
@@ -50672,7 +50672,7 @@ function X_t(d, u) {
|
|
|
50672
50672
|
)
|
|
50673
50673
|
) : u;
|
|
50674
50674
|
if (!d.checkCanEdit(d))
|
|
50675
|
-
return
|
|
50675
|
+
return J.warn(
|
|
50676
50676
|
`[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50677
50677
|
), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
|
|
50678
50678
|
updated: [],
|
|
@@ -50744,7 +50744,7 @@ function Q_t(d, u) {
|
|
|
50744
50744
|
)
|
|
50745
50745
|
) : u;
|
|
50746
50746
|
if (!d.checkCanEdit(d))
|
|
50747
|
-
return
|
|
50747
|
+
return J.warn(
|
|
50748
50748
|
`[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50749
50749
|
), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
|
|
50750
50750
|
updated: [],
|
|
@@ -50780,7 +50780,7 @@ function egt(d, u) {
|
|
|
50780
50780
|
)
|
|
50781
50781
|
) : u;
|
|
50782
50782
|
if (!d.checkCanEdit(d))
|
|
50783
|
-
return
|
|
50783
|
+
return J.warn(
|
|
50784
50784
|
`[${O.SyncInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50785
50785
|
), i == null || i.attemptAutoclose(O.SyncInputs, d.id), {
|
|
50786
50786
|
updated: [],
|
|
@@ -50817,7 +50817,7 @@ function tgt(d, u) {
|
|
|
50817
50817
|
)
|
|
50818
50818
|
) : u;
|
|
50819
50819
|
if (!d.checkCanEdit(d))
|
|
50820
|
-
return
|
|
50820
|
+
return J.warn(
|
|
50821
50821
|
`[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50822
50822
|
), i == null || i.attemptAutoclose(
|
|
50823
50823
|
O.RemoveUnrecognizedInputs,
|
|
@@ -50894,7 +50894,7 @@ function rgt(d, u) {
|
|
|
50894
50894
|
)
|
|
50895
50895
|
) : u;
|
|
50896
50896
|
if (!d.checkCanEdit(d))
|
|
50897
|
-
return
|
|
50897
|
+
return J.warn(
|
|
50898
50898
|
`[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50899
50899
|
), i == null || i.attemptAutoclose(
|
|
50900
50900
|
O.RemoveUnrecognizedInputs,
|
|
@@ -50951,7 +50951,7 @@ function sgt(d, u) {
|
|
|
50951
50951
|
)
|
|
50952
50952
|
) : u;
|
|
50953
50953
|
if (!d.checkCanEdit(d))
|
|
50954
|
-
return
|
|
50954
|
+
return J.warn(
|
|
50955
50955
|
`[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
50956
50956
|
), i == null || i.attemptAutoclose(
|
|
50957
50957
|
O.RemoveUnrecognizedInputs,
|
|
@@ -50998,7 +50998,7 @@ function ngt(d, u) {
|
|
|
50998
50998
|
)
|
|
50999
50999
|
) : u;
|
|
51000
51000
|
if (!d.checkCanEdit(d))
|
|
51001
|
-
return
|
|
51001
|
+
return J.warn(
|
|
51002
51002
|
`[${O.RemoveUnrecognizedInputs}] User is not allowed to edit this ${d.type} entity with id: ${d.id}`
|
|
51003
51003
|
), i == null || i.attemptAutoclose(
|
|
51004
51004
|
O.RemoveUnrecognizedInputs,
|
|
@@ -51557,7 +51557,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51557
51557
|
)
|
|
51558
51558
|
)) {
|
|
51559
51559
|
if (!this.checkCanEdit(this))
|
|
51560
|
-
return
|
|
51560
|
+
return J.warn(
|
|
51561
51561
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51562
51562
|
), a == null || a.attemptAutoclose(
|
|
51563
51563
|
O.UpdateWithShallowTransfer,
|
|
@@ -51675,7 +51675,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51675
51675
|
)) {
|
|
51676
51676
|
var I;
|
|
51677
51677
|
if (!this.checkCanEdit(this))
|
|
51678
|
-
return
|
|
51678
|
+
return J.warn(
|
|
51679
51679
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51680
51680
|
), i == null || i.attemptAutoclose(
|
|
51681
51681
|
O.AfterAllChildrenInitialized,
|
|
@@ -51836,7 +51836,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51836
51836
|
)
|
|
51837
51837
|
)) {
|
|
51838
51838
|
var l;
|
|
51839
|
-
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (
|
|
51839
|
+
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
|
|
51840
51840
|
`[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51841
51841
|
), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
|
|
51842
51842
|
}
|
|
@@ -51851,7 +51851,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51851
51851
|
)
|
|
51852
51852
|
)) {
|
|
51853
51853
|
var l;
|
|
51854
|
-
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (
|
|
51854
|
+
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (J.warn(
|
|
51855
51855
|
`[setExtends] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51856
51856
|
), a == null || a.attemptAutoclose(O.SetExtends, this.id), this);
|
|
51857
51857
|
}
|
|
@@ -51865,7 +51865,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51865
51865
|
O.AddCall
|
|
51866
51866
|
)
|
|
51867
51867
|
)) {
|
|
51868
|
-
return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (
|
|
51868
|
+
return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (J.warn(
|
|
51869
51869
|
`[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51870
51870
|
), a == null || a.attemptAutoclose(O.AddCall, this.id), this);
|
|
51871
51871
|
}
|
|
@@ -51880,7 +51880,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51880
51880
|
)
|
|
51881
51881
|
)) {
|
|
51882
51882
|
if (!this.checkCanEdit(this))
|
|
51883
|
-
return
|
|
51883
|
+
return J.warn(
|
|
51884
51884
|
`[removeCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
51885
51885
|
), a == null || a.attemptAutoclose(O.RemoveCall, this.id), this;
|
|
51886
51886
|
const l = this.calls.indexOf(i);
|
|
@@ -51997,7 +51997,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
51997
51997
|
)
|
|
51998
51998
|
)) {
|
|
51999
51999
|
if (!this.checkCanEdit(this))
|
|
52000
|
-
return
|
|
52000
|
+
return J.warn(
|
|
52001
52001
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
52002
52002
|
), i == null || i.attemptAutoclose(
|
|
52003
52003
|
O.RemoveFromParent,
|
|
@@ -52039,7 +52039,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52039
52039
|
)) {
|
|
52040
52040
|
var T;
|
|
52041
52041
|
if (!this.checkCanDelete(this))
|
|
52042
|
-
return
|
|
52042
|
+
return J.warn(
|
|
52043
52043
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
52044
52044
|
), a == null || a.event({
|
|
52045
52045
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -52127,7 +52127,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52127
52127
|
)
|
|
52128
52128
|
)) {
|
|
52129
52129
|
if (!this.checkCanEdit(this))
|
|
52130
|
-
return
|
|
52130
|
+
return J.warn(
|
|
52131
52131
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
52132
52132
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
52133
52133
|
const a = [], l = [], c = [], e = [];
|
|
@@ -52608,7 +52608,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52608
52608
|
)) {
|
|
52609
52609
|
var D, N, L;
|
|
52610
52610
|
if (!this.checkCanEdit(this))
|
|
52611
|
-
return
|
|
52611
|
+
return J.warn(
|
|
52612
52612
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
52613
52613
|
), i == null || i.attemptAutoclose(
|
|
52614
52614
|
O.RemoveUnrecognizedInputs,
|
|
@@ -52691,7 +52691,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52691
52691
|
)) {
|
|
52692
52692
|
var L, M, K, q;
|
|
52693
52693
|
if (!this.checkCanEdit(this))
|
|
52694
|
-
return
|
|
52694
|
+
return J.warn(
|
|
52695
52695
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
52696
52696
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
52697
52697
|
updated: [],
|
|
@@ -52713,8 +52713,8 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52713
52713
|
)
|
|
52714
52714
|
);
|
|
52715
52715
|
this.inputs.sort((Z, H) => Z.index - H.index), I.forEach((Z) => {
|
|
52716
|
-
this.inputs.forEach((
|
|
52717
|
-
|
|
52716
|
+
this.inputs.forEach((z) => {
|
|
52717
|
+
z.index >= Z.index && z.metaSync({ index: z.index + 1 }, i);
|
|
52718
52718
|
});
|
|
52719
52719
|
const H = Rn.new(i);
|
|
52720
52720
|
H.implements = [
|
|
@@ -52729,10 +52729,10 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52729
52729
|
const {
|
|
52730
52730
|
updated: H,
|
|
52731
52731
|
added: ae,
|
|
52732
|
-
removed:
|
|
52732
|
+
removed: z,
|
|
52733
52733
|
affected: ue
|
|
52734
52734
|
} = Z.afterAllChildrenInitialized(i);
|
|
52735
|
-
a.push(...H), l.push(...ae), c.push(...
|
|
52735
|
+
a.push(...H), l.push(...ae), c.push(...z), e.push(...ue);
|
|
52736
52736
|
}), this.inputs.sort((Z, H) => Z.index - H.index);
|
|
52737
52737
|
const {
|
|
52738
52738
|
updated: E,
|
|
@@ -52807,9 +52807,9 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52807
52807
|
let D = (((L = (N = this.dataType) == null ? void 0 : N.entity) == null ? void 0 : L.properties) || []).filter(
|
|
52808
52808
|
(M) => !T.find(
|
|
52809
52809
|
(K) => {
|
|
52810
|
-
var q, Z, H, ae,
|
|
52810
|
+
var q, Z, H, ae, z;
|
|
52811
52811
|
return !K.deleted && !((q = K.declaration) != null && q.deleted) && ((Z = K.declaration) == null ? void 0 : Z.id) === M.id && // Also should not have a declaration pointing to the 'implements'
|
|
52812
|
-
!(((
|
|
52812
|
+
!(((z = (ae = (H = this.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity) == null ? void 0 : z.properties) || []).find((ue) => ue.id === M.id);
|
|
52813
52813
|
}
|
|
52814
52814
|
)
|
|
52815
52815
|
);
|
|
@@ -52880,7 +52880,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
52880
52880
|
"sync-outputs-properties"
|
|
52881
52881
|
)
|
|
52882
52882
|
)) {
|
|
52883
|
-
var L, M, K, q, Z, H, ae,
|
|
52883
|
+
var L, M, K, q, Z, H, ae, z, ue;
|
|
52884
52884
|
const a = [], l = [], c = [], e = [], y = [...this.returnStatements];
|
|
52885
52885
|
if (!y.every((te) => te.initialized))
|
|
52886
52886
|
return i == null || i.attemptAutoclose("sync-outputs-properties", this.id), {
|
|
@@ -53010,7 +53010,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
53010
53010
|
);
|
|
53011
53011
|
De.metaSync({ isList: !0 }, i), De.setParent(X, i), De.initChildren(i), i == null || i.add(De, G.Added), De.addSelfToProject(i), l.push(De);
|
|
53012
53012
|
}
|
|
53013
|
-
}), this.reAttachAllTerminationInputMapsToDeclarations(i)), (ae = this.dataType) != null && ae.inferred && ((
|
|
53013
|
+
}), this.reAttachAllTerminationInputMapsToDeclarations(i)), (ae = this.dataType) != null && ae.inferred && ((z = this.dataType.entity) == null ? void 0 : z.type) === p.DefinitionEntity && E.filter(
|
|
53014
53014
|
(le) => !T.find((X) => Y(le, this.project) === Y(X, this.project))
|
|
53015
53015
|
).forEach((le) => {
|
|
53016
53016
|
if (!(i != null && i.hasRemoved(le.id)) && !le.deleted) {
|
|
@@ -53072,7 +53072,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
53072
53072
|
)
|
|
53073
53073
|
)) {
|
|
53074
53074
|
if (!this.checkCanEdit(this))
|
|
53075
|
-
return
|
|
53075
|
+
return J.warn(
|
|
53076
53076
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53077
53077
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
53078
53078
|
const l = this.dataType;
|
|
@@ -53088,7 +53088,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
53088
53088
|
O.RemoveDataType
|
|
53089
53089
|
)
|
|
53090
53090
|
)) {
|
|
53091
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
53091
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
53092
53092
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53093
53093
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
53094
53094
|
}
|
|
@@ -53590,7 +53590,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53590
53590
|
)
|
|
53591
53591
|
)) {
|
|
53592
53592
|
if (!this.checkCanEdit(this))
|
|
53593
|
-
return
|
|
53593
|
+
return J.warn(
|
|
53594
53594
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53595
53595
|
), a == null || a.attemptAutoclose(
|
|
53596
53596
|
O.UpdateWithShallowTransfer,
|
|
@@ -53706,7 +53706,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53706
53706
|
)
|
|
53707
53707
|
)) {
|
|
53708
53708
|
if (!this.checkCanEdit(this))
|
|
53709
|
-
return
|
|
53709
|
+
return J.warn(
|
|
53710
53710
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53711
53711
|
), i == null || i.attemptAutoclose(
|
|
53712
53712
|
O.AfterAllChildrenInitialized,
|
|
@@ -53819,7 +53819,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53819
53819
|
)
|
|
53820
53820
|
)) {
|
|
53821
53821
|
if (!this.checkCanEdit(this))
|
|
53822
|
-
return
|
|
53822
|
+
return J.warn(
|
|
53823
53823
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53824
53824
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
53825
53825
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -53835,7 +53835,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53835
53835
|
O.AddInput
|
|
53836
53836
|
)
|
|
53837
53837
|
)) {
|
|
53838
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
53838
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
53839
53839
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53840
53840
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
53841
53841
|
}
|
|
@@ -53849,7 +53849,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53849
53849
|
"add-output"
|
|
53850
53850
|
)
|
|
53851
53851
|
)) {
|
|
53852
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
53852
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
53853
53853
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53854
53854
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
53855
53855
|
}
|
|
@@ -53864,7 +53864,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
53864
53864
|
)
|
|
53865
53865
|
)) {
|
|
53866
53866
|
if (!this.checkCanEdit(this))
|
|
53867
|
-
return
|
|
53867
|
+
return J.warn(
|
|
53868
53868
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
53869
53869
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
53870
53870
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -54196,7 +54196,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54196
54196
|
)
|
|
54197
54197
|
)) {
|
|
54198
54198
|
if (!this.checkCanEdit(this))
|
|
54199
|
-
return
|
|
54199
|
+
return J.warn(
|
|
54200
54200
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54201
54201
|
), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
|
|
54202
54202
|
added: [],
|
|
@@ -54235,7 +54235,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54235
54235
|
)) {
|
|
54236
54236
|
var v;
|
|
54237
54237
|
if (!this.checkCanDelete(this))
|
|
54238
|
-
return
|
|
54238
|
+
return J.warn(
|
|
54239
54239
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
54240
54240
|
), a == null || a.event({
|
|
54241
54241
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -54329,7 +54329,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54329
54329
|
)
|
|
54330
54330
|
)) {
|
|
54331
54331
|
if (!this.checkCanEdit(this))
|
|
54332
|
-
return
|
|
54332
|
+
return J.warn(
|
|
54333
54333
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54334
54334
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
54335
54335
|
const a = [], l = [], c = [], e = [];
|
|
@@ -54678,7 +54678,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54678
54678
|
)
|
|
54679
54679
|
)) {
|
|
54680
54680
|
if (!this.checkCanEdit(this))
|
|
54681
|
-
return
|
|
54681
|
+
return J.warn(
|
|
54682
54682
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54683
54683
|
), i == null || i.attemptAutoclose(
|
|
54684
54684
|
O.RemoveUnrecognizedInputs,
|
|
@@ -54737,7 +54737,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54737
54737
|
)
|
|
54738
54738
|
)) {
|
|
54739
54739
|
if (!this.checkCanEdit(this))
|
|
54740
|
-
return
|
|
54740
|
+
return J.warn(
|
|
54741
54741
|
`[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54742
54742
|
), i == null || i.attemptAutoclose(
|
|
54743
54743
|
O.RemoveUnrecognizedOutputs,
|
|
@@ -54797,7 +54797,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54797
54797
|
)
|
|
54798
54798
|
)) {
|
|
54799
54799
|
if (!this.checkCanEdit(this))
|
|
54800
|
-
return
|
|
54800
|
+
return J.warn(
|
|
54801
54801
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54802
54802
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
54803
54803
|
updated: [],
|
|
@@ -54871,7 +54871,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
54871
54871
|
)
|
|
54872
54872
|
)) {
|
|
54873
54873
|
if (!this.checkCanEdit(this))
|
|
54874
|
-
return
|
|
54874
|
+
return J.warn(
|
|
54875
54875
|
`[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
54876
54876
|
), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
|
|
54877
54877
|
updated: [],
|
|
@@ -55458,7 +55458,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55458
55458
|
)
|
|
55459
55459
|
)) {
|
|
55460
55460
|
if (!this.checkCanEdit(this))
|
|
55461
|
-
return
|
|
55461
|
+
return J.warn(
|
|
55462
55462
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55463
55463
|
), a == null || a.attemptAutoclose(
|
|
55464
55464
|
O.UpdateWithShallowTransfer,
|
|
@@ -55587,7 +55587,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55587
55587
|
)
|
|
55588
55588
|
)) {
|
|
55589
55589
|
if (!this.checkCanEdit(this))
|
|
55590
|
-
return
|
|
55590
|
+
return J.warn(
|
|
55591
55591
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55592
55592
|
), i == null || i.attemptAutoclose(
|
|
55593
55593
|
O.AfterAllChildrenInitialized,
|
|
@@ -55740,7 +55740,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55740
55740
|
)) {
|
|
55741
55741
|
var l;
|
|
55742
55742
|
if (!this.checkCanEdit(this))
|
|
55743
|
-
return
|
|
55743
|
+
return J.warn(
|
|
55744
55744
|
`[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55745
55745
|
), a == null || a.attemptAutoclose("set-throws", this.id), this;
|
|
55746
55746
|
if (i !== null && i.parentRelationType !== Ll.Error)
|
|
@@ -55759,7 +55759,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55759
55759
|
"add-output"
|
|
55760
55760
|
)
|
|
55761
55761
|
)) {
|
|
55762
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
55762
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
55763
55763
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55764
55764
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
55765
55765
|
}
|
|
@@ -55774,7 +55774,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55774
55774
|
)
|
|
55775
55775
|
)) {
|
|
55776
55776
|
if (!this.checkCanEdit(this))
|
|
55777
|
-
return
|
|
55777
|
+
return J.warn(
|
|
55778
55778
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55779
55779
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
55780
55780
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -55809,7 +55809,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55809
55809
|
)
|
|
55810
55810
|
)) {
|
|
55811
55811
|
var l;
|
|
55812
|
-
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (
|
|
55812
|
+
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
|
|
55813
55813
|
`[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55814
55814
|
), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
|
|
55815
55815
|
}
|
|
@@ -55828,7 +55828,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55828
55828
|
i,
|
|
55829
55829
|
O.SetValueWriter,
|
|
55830
55830
|
a
|
|
55831
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
55831
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
55832
55832
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55833
55833
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
55834
55834
|
}
|
|
@@ -55952,7 +55952,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55952
55952
|
)
|
|
55953
55953
|
)) {
|
|
55954
55954
|
if (!this.checkCanEdit(this))
|
|
55955
|
-
return
|
|
55955
|
+
return J.warn(
|
|
55956
55956
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
55957
55957
|
), i == null || i.attemptAutoclose(
|
|
55958
55958
|
O.RemoveFromParent,
|
|
@@ -55994,7 +55994,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
55994
55994
|
)) {
|
|
55995
55995
|
var v, T;
|
|
55996
55996
|
if (!this.checkCanDelete(this))
|
|
55997
|
-
return
|
|
55997
|
+
return J.warn(
|
|
55998
55998
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
55999
55999
|
), a == null || a.event({
|
|
56000
56000
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -56087,7 +56087,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56087
56087
|
)
|
|
56088
56088
|
)) {
|
|
56089
56089
|
if (!this.checkCanEdit(this))
|
|
56090
|
-
return
|
|
56090
|
+
return J.warn(
|
|
56091
56091
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
56092
56092
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
56093
56093
|
const a = [], l = [], c = [], e = [];
|
|
@@ -56368,7 +56368,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56368
56368
|
)
|
|
56369
56369
|
)) {
|
|
56370
56370
|
if (!this.checkCanEdit(this))
|
|
56371
|
-
return
|
|
56371
|
+
return J.warn(
|
|
56372
56372
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
56373
56373
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
56374
56374
|
const l = this.defaultValue;
|
|
@@ -56437,7 +56437,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56437
56437
|
"sync-returned-inputs"
|
|
56438
56438
|
)
|
|
56439
56439
|
)) {
|
|
56440
|
-
var D, N, L, M, K, q, Z, H, ae,
|
|
56440
|
+
var D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee;
|
|
56441
56441
|
const a = [], l = [], c = [], e = [];
|
|
56442
56442
|
if (this.throws && this.outputs.length && (!this.parent.implements || this.parent.implements.error))
|
|
56443
56443
|
return [...this.outputs].forEach((Te) => {
|
|
@@ -56537,7 +56537,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56537
56537
|
self: this
|
|
56538
56538
|
};
|
|
56539
56539
|
const y = [];
|
|
56540
|
-
(K = this.parent.implements) != null && K.dataType && ((Z = (q = this.parent.implements) == null ? void 0 : q.dataType) != null && Z.entity && (((ae = (H = this.parent.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity.type) === p.DefinitionEntity || ((ue = (
|
|
56540
|
+
(K = this.parent.implements) != null && K.dataType && ((Z = (q = this.parent.implements) == null ? void 0 : q.dataType) != null && Z.entity && (((ae = (H = this.parent.implements) == null ? void 0 : H.dataType) == null ? void 0 : ae.entity.type) === p.DefinitionEntity || ((ue = (z = this.parent.implements) == null ? void 0 : z.dataType) == null ? void 0 : ue.entity.type) === p.BuiltInBaseEntity) && ((le = (te = this.parent.implements) == null ? void 0 : te.dataType) != null && le.entity.properties.length) ? y.push(
|
|
56541
56541
|
(X = (he = this.parent.implements) == null ? void 0 : he.dataType) == null ? void 0 : X.entity
|
|
56542
56542
|
) : (((Ee = (fe = this.parent.implements) == null ? void 0 : fe.dataType) == null ? void 0 : Ee.orChildrenGroup) || []).forEach(
|
|
56543
56543
|
(Te) => {
|
|
@@ -56613,7 +56613,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56613
56613
|
)
|
|
56614
56614
|
)) {
|
|
56615
56615
|
if (!this.checkCanEdit(this))
|
|
56616
|
-
return
|
|
56616
|
+
return J.warn(
|
|
56617
56617
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
56618
56618
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
56619
56619
|
const l = this.dataType;
|
|
@@ -56629,7 +56629,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
56629
56629
|
O.RemoveDataType
|
|
56630
56630
|
)
|
|
56631
56631
|
)) {
|
|
56632
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
56632
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
56633
56633
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
56634
56634
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
56635
56635
|
}
|
|
@@ -57077,7 +57077,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57077
57077
|
)
|
|
57078
57078
|
)) {
|
|
57079
57079
|
if (!this.checkCanEdit(this))
|
|
57080
|
-
return
|
|
57080
|
+
return J.warn(
|
|
57081
57081
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57082
57082
|
), a == null || a.attemptAutoclose(
|
|
57083
57083
|
O.UpdateWithShallowTransfer,
|
|
@@ -57171,7 +57171,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57171
57171
|
)
|
|
57172
57172
|
)) {
|
|
57173
57173
|
if (!this.checkCanEdit(this))
|
|
57174
|
-
return
|
|
57174
|
+
return J.warn(
|
|
57175
57175
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57176
57176
|
), i == null || i.attemptAutoclose(
|
|
57177
57177
|
O.AfterAllChildrenInitialized,
|
|
@@ -57265,7 +57265,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57265
57265
|
)
|
|
57266
57266
|
)) {
|
|
57267
57267
|
var l;
|
|
57268
|
-
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (
|
|
57268
|
+
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
|
|
57269
57269
|
`[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57270
57270
|
), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
|
|
57271
57271
|
}
|
|
@@ -57279,7 +57279,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57279
57279
|
O.AddCall
|
|
57280
57280
|
)
|
|
57281
57281
|
)) {
|
|
57282
|
-
return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (
|
|
57282
|
+
return this.checkCanEdit(this) ? (this.calls.includes(i) || (this.calls.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddCall, this.id), this) : (J.warn(
|
|
57283
57283
|
`[addCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57284
57284
|
), a == null || a.attemptAutoclose(O.AddCall, this.id), this);
|
|
57285
57285
|
}
|
|
@@ -57294,7 +57294,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57294
57294
|
)
|
|
57295
57295
|
)) {
|
|
57296
57296
|
if (!this.checkCanEdit(this))
|
|
57297
|
-
return
|
|
57297
|
+
return J.warn(
|
|
57298
57298
|
`[removeCall] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57299
57299
|
), a == null || a.attemptAutoclose(O.RemoveCall, this.id), this;
|
|
57300
57300
|
const l = this.calls.indexOf(i);
|
|
@@ -57427,7 +57427,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57427
57427
|
)
|
|
57428
57428
|
)) {
|
|
57429
57429
|
if (!this.checkCanEdit(this))
|
|
57430
|
-
return
|
|
57430
|
+
return J.warn(
|
|
57431
57431
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57432
57432
|
), i == null || i.attemptAutoclose(
|
|
57433
57433
|
O.RemoveFromParent,
|
|
@@ -57469,7 +57469,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57469
57469
|
)) {
|
|
57470
57470
|
var T;
|
|
57471
57471
|
if (!this.checkCanDelete(this))
|
|
57472
|
-
return
|
|
57472
|
+
return J.warn(
|
|
57473
57473
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
57474
57474
|
), a == null || a.event({
|
|
57475
57475
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -57548,7 +57548,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57548
57548
|
)
|
|
57549
57549
|
)) {
|
|
57550
57550
|
if (!this.checkCanEdit(this))
|
|
57551
|
-
return
|
|
57551
|
+
return J.warn(
|
|
57552
57552
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57553
57553
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
57554
57554
|
const a = [], l = [], c = [], e = [];
|
|
@@ -57840,7 +57840,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57840
57840
|
)
|
|
57841
57841
|
)) {
|
|
57842
57842
|
if (!this.checkCanEdit(this))
|
|
57843
|
-
return
|
|
57843
|
+
return J.warn(
|
|
57844
57844
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57845
57845
|
), i == null || i.attemptAutoclose(
|
|
57846
57846
|
O.RemoveUnrecognizedInputs,
|
|
@@ -57914,7 +57914,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
57914
57914
|
)) {
|
|
57915
57915
|
var E;
|
|
57916
57916
|
if (!this.checkCanEdit(this))
|
|
57917
|
-
return
|
|
57917
|
+
return J.warn(
|
|
57918
57918
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
57919
57919
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
57920
57920
|
updated: [],
|
|
@@ -58356,7 +58356,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58356
58356
|
}
|
|
58357
58357
|
increaseVersion(i) {
|
|
58358
58358
|
if (!this.checkCanEdit(this))
|
|
58359
|
-
return
|
|
58359
|
+
return J.warn(
|
|
58360
58360
|
`[increaseVersion] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58361
58361
|
), this;
|
|
58362
58362
|
if (i && !x(i).isValid())
|
|
@@ -58403,7 +58403,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58403
58403
|
var v;
|
|
58404
58404
|
const a = [], l = [], c = [], e = [];
|
|
58405
58405
|
if (!this.checkCanEdit(this))
|
|
58406
|
-
return
|
|
58406
|
+
return J.warn(
|
|
58407
58407
|
`[restoreVersion] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58408
58408
|
), {
|
|
58409
58409
|
updated: R(
|
|
@@ -58479,7 +58479,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58479
58479
|
)
|
|
58480
58480
|
)) {
|
|
58481
58481
|
if (!this.checkCanEdit(this))
|
|
58482
|
-
return
|
|
58482
|
+
return J.warn(
|
|
58483
58483
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58484
58484
|
), a == null || a.attemptAutoclose(
|
|
58485
58485
|
O.UpdateWithShallowTransfer,
|
|
@@ -58541,7 +58541,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58541
58541
|
)
|
|
58542
58542
|
)) {
|
|
58543
58543
|
if (!this.checkCanEdit(this))
|
|
58544
|
-
return
|
|
58544
|
+
return J.warn(
|
|
58545
58545
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58546
58546
|
), i == null || i.attemptAutoclose(
|
|
58547
58547
|
O.AfterAllChildrenInitialized,
|
|
@@ -58707,7 +58707,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58707
58707
|
)
|
|
58708
58708
|
)) {
|
|
58709
58709
|
if (!this.checkCanEdit(this))
|
|
58710
|
-
return
|
|
58710
|
+
return J.warn(
|
|
58711
58711
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58712
58712
|
), i == null || i.attemptAutoclose(
|
|
58713
58713
|
O.RemoveFromParent,
|
|
@@ -58749,7 +58749,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58749
58749
|
)) {
|
|
58750
58750
|
var v;
|
|
58751
58751
|
if (!this.checkCanDelete(this))
|
|
58752
|
-
return
|
|
58752
|
+
return J.warn(
|
|
58753
58753
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
58754
58754
|
), a == null || a.event({
|
|
58755
58755
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -58838,7 +58838,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58838
58838
|
)
|
|
58839
58839
|
)) {
|
|
58840
58840
|
if (!this.checkCanEdit(this))
|
|
58841
|
-
return
|
|
58841
|
+
return J.warn(
|
|
58842
58842
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
58843
58843
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
58844
58844
|
const a = [], l = [], c = [], e = [];
|
|
@@ -59325,13 +59325,13 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
59325
59325
|
declaration: q.toJSON(),
|
|
59326
59326
|
index: Z,
|
|
59327
59327
|
parent: H
|
|
59328
|
-
},
|
|
59328
|
+
}, z = se(
|
|
59329
59329
|
ae,
|
|
59330
59330
|
this.project
|
|
59331
59331
|
);
|
|
59332
|
-
|
|
59333
|
-
const ue = ((te = q.dataType) == null ? void 0 : te.clone(i,
|
|
59334
|
-
ue && (i == null || i.add(ue, G.Added)),
|
|
59332
|
+
z.setParent(K, i), z.initChildren(i), i == null || i.add(z, G.Added), z.hydrateAncestors(), z.addSelfToProject(i);
|
|
59333
|
+
const ue = ((te = q.dataType) == null ? void 0 : te.clone(i, z)) || null;
|
|
59334
|
+
ue && (i == null || i.add(ue, G.Added)), z.setDataType(ue, i);
|
|
59335
59335
|
});
|
|
59336
59336
|
}
|
|
59337
59337
|
return i == null || i.attemptAutoclose("implement-as-function-declaration", this.id), T;
|
|
@@ -59588,7 +59588,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
59588
59588
|
O.AddInput
|
|
59589
59589
|
)
|
|
59590
59590
|
)) {
|
|
59591
|
-
return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) || (this.inputs.push(i), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
59591
|
+
return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) || (this.inputs.push(i), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
59592
59592
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
59593
59593
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
59594
59594
|
}
|
|
@@ -59602,7 +59602,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
59602
59602
|
O.RemoveInput
|
|
59603
59603
|
)
|
|
59604
59604
|
)) {
|
|
59605
|
-
return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) && (this.inputs = this.inputs.filter((l) => l.id !== i.id), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this) : (
|
|
59605
|
+
return this.checkCanEdit(this) ? (this.inputs.find((l) => l.id === i.id) && (this.inputs = this.inputs.filter((l) => l.id !== i.id), a == null || a.add(this, G.Affected)), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this) : (J.warn(
|
|
59606
59606
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
59607
59607
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this);
|
|
59608
59608
|
}
|
|
@@ -59617,7 +59617,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
59617
59617
|
)
|
|
59618
59618
|
)) {
|
|
59619
59619
|
if (!this.checkCanEdit(this))
|
|
59620
|
-
return
|
|
59620
|
+
return J.warn(
|
|
59621
59621
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
59622
59622
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
59623
59623
|
const l = this.dataType;
|
|
@@ -59633,7 +59633,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
59633
59633
|
O.RemoveDataType
|
|
59634
59634
|
)
|
|
59635
59635
|
)) {
|
|
59636
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
59636
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
59637
59637
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
59638
59638
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
59639
59639
|
}
|
|
@@ -60237,7 +60237,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60237
60237
|
)
|
|
60238
60238
|
)) {
|
|
60239
60239
|
if (!this.checkCanEdit(this))
|
|
60240
|
-
return
|
|
60240
|
+
return J.warn(
|
|
60241
60241
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60242
60242
|
), a == null || a.attemptAutoclose(
|
|
60243
60243
|
O.UpdateWithShallowTransfer,
|
|
@@ -60353,7 +60353,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60353
60353
|
)
|
|
60354
60354
|
)) {
|
|
60355
60355
|
if (!this.checkCanEdit(this))
|
|
60356
|
-
return
|
|
60356
|
+
return J.warn(
|
|
60357
60357
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60358
60358
|
), i == null || i.attemptAutoclose(
|
|
60359
60359
|
O.AfterAllChildrenInitialized,
|
|
@@ -60462,7 +60462,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60462
60462
|
)
|
|
60463
60463
|
)) {
|
|
60464
60464
|
if (!this.checkCanEdit(this))
|
|
60465
|
-
return
|
|
60465
|
+
return J.warn(
|
|
60466
60466
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60467
60467
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
60468
60468
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -60478,7 +60478,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60478
60478
|
O.AddInput
|
|
60479
60479
|
)
|
|
60480
60480
|
)) {
|
|
60481
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
60481
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
60482
60482
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60483
60483
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
60484
60484
|
}
|
|
@@ -60492,7 +60492,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60492
60492
|
"add-output"
|
|
60493
60493
|
)
|
|
60494
60494
|
)) {
|
|
60495
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
60495
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
60496
60496
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60497
60497
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
60498
60498
|
}
|
|
@@ -60507,7 +60507,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60507
60507
|
)
|
|
60508
60508
|
)) {
|
|
60509
60509
|
if (!this.checkCanEdit(this))
|
|
60510
|
-
return
|
|
60510
|
+
return J.warn(
|
|
60511
60511
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60512
60512
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
60513
60513
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -60816,7 +60816,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60816
60816
|
)
|
|
60817
60817
|
)) {
|
|
60818
60818
|
if (!this.checkCanEdit(this))
|
|
60819
|
-
return
|
|
60819
|
+
return J.warn(
|
|
60820
60820
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60821
60821
|
), i == null || i.attemptAutoclose(
|
|
60822
60822
|
O.RemoveFromParent,
|
|
@@ -60858,7 +60858,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60858
60858
|
)) {
|
|
60859
60859
|
var v;
|
|
60860
60860
|
if (!this.checkCanDelete(this))
|
|
60861
|
-
return
|
|
60861
|
+
return J.warn(
|
|
60862
60862
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
60863
60863
|
), a == null || a.event({
|
|
60864
60864
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -60961,7 +60961,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
60961
60961
|
)
|
|
60962
60962
|
)) {
|
|
60963
60963
|
if (!this.checkCanEdit(this))
|
|
60964
|
-
return
|
|
60964
|
+
return J.warn(
|
|
60965
60965
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
60966
60966
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
60967
60967
|
const a = [], l = [], c = [], e = [];
|
|
@@ -61490,7 +61490,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61490
61490
|
} = this.syncFixedBodyArgumentDeclarations(i);
|
|
61491
61491
|
a.push(...y), l.push(...v), c.push(...T);
|
|
61492
61492
|
const I = this.getUniqueInputMaps(), E = this.body.inputs;
|
|
61493
|
-
if (I.sort((
|
|
61493
|
+
if (I.sort((z, ue) => z.index - ue.index), ((q = (K = (M = this.body) == null ? void 0 : M.dataType) == null ? void 0 : K.entity) == null ? void 0 : q.id) !== pe["primitive-entity"].void.id && !E.find(
|
|
61494
61494
|
(ue) => {
|
|
61495
61495
|
var te, le, he, X, fe, Ee, Te;
|
|
61496
61496
|
return ue.id !== ((te = this.currentIterationNumberArgumentDeclaration) == null ? void 0 : te.id) && ue.id !== ((le = this.currentValueArgumentDeclaration) == null ? void 0 : le.id) && ((X = (he = ue.dataType) == null ? void 0 : he.entity) == null ? void 0 : X.id) === ((Te = (Ee = (fe = this.body) == null ? void 0 : fe.dataType) == null ? void 0 : Ee.entity) == null ? void 0 : Te.id);
|
|
@@ -61580,19 +61580,19 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61580
61580
|
let M = (((Z = (q = (K = this.body) == null ? void 0 : K.dataType) == null ? void 0 : q.entity) == null ? void 0 : Z.properties) || []).filter(
|
|
61581
61581
|
(H) => !D.find(
|
|
61582
61582
|
(ae) => {
|
|
61583
|
-
var
|
|
61584
|
-
return !ae.deleted && !((
|
|
61583
|
+
var z, ue;
|
|
61584
|
+
return !ae.deleted && !((z = ae.declaration) != null && z.deleted) && ((ue = ae.declaration) == null ? void 0 : ue.id) === H.id;
|
|
61585
61585
|
}
|
|
61586
61586
|
)
|
|
61587
61587
|
);
|
|
61588
61588
|
N.forEach((H) => {
|
|
61589
61589
|
const ae = H.getDataType(i);
|
|
61590
61590
|
if (H.readsValue) {
|
|
61591
|
-
const
|
|
61591
|
+
const z = Y(
|
|
61592
61592
|
H.readsValue,
|
|
61593
61593
|
this.project
|
|
61594
61594
|
), ue = M.find(
|
|
61595
|
-
(te) => Y(te, this.project) ===
|
|
61595
|
+
(te) => Y(te, this.project) === z && ns(te.dataType, ae)
|
|
61596
61596
|
);
|
|
61597
61597
|
if (ue) {
|
|
61598
61598
|
H.setDeclaration(ue, i), a.push(H), M = M.filter(
|
|
@@ -61602,23 +61602,23 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61602
61602
|
}
|
|
61603
61603
|
}
|
|
61604
61604
|
}), L.forEach((H) => {
|
|
61605
|
-
const ae = H.getDataType(i),
|
|
61605
|
+
const ae = H.getDataType(i), z = M.find(
|
|
61606
61606
|
(ue) => ns(ue.dataType, ae)
|
|
61607
61607
|
);
|
|
61608
|
-
if (
|
|
61609
|
-
H.setDeclaration(
|
|
61610
|
-
(ue) => ue !==
|
|
61608
|
+
if (z) {
|
|
61609
|
+
H.setDeclaration(z, i), a.push(H), M = M.filter(
|
|
61610
|
+
(ue) => ue !== z
|
|
61611
61611
|
);
|
|
61612
61612
|
return;
|
|
61613
61613
|
}
|
|
61614
61614
|
}), D.forEach((H) => {
|
|
61615
61615
|
const ae = M.find(
|
|
61616
|
-
(
|
|
61616
|
+
(z) => Y(z, this.project) === Y(H, this.project)
|
|
61617
61617
|
);
|
|
61618
61618
|
H.declaration && !M.includes(
|
|
61619
61619
|
H.declaration
|
|
61620
61620
|
) && ae && (H.setDeclaration(ae, i), a.push(H), M = M.filter(
|
|
61621
|
-
(
|
|
61621
|
+
(z) => z !== ae
|
|
61622
61622
|
));
|
|
61623
61623
|
});
|
|
61624
61624
|
}), i == null || i.attemptAutoclose(
|
|
@@ -61652,7 +61652,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61652
61652
|
"sync-outputs-properties"
|
|
61653
61653
|
)
|
|
61654
61654
|
)) {
|
|
61655
|
-
var L, M, K, q, Z, H, ae,
|
|
61655
|
+
var L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne;
|
|
61656
61656
|
const a = [], l = [], c = [], e = [], y = [
|
|
61657
61657
|
...this.breakStatements,
|
|
61658
61658
|
...this.continueStatements
|
|
@@ -61697,7 +61697,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61697
61697
|
this.project
|
|
61698
61698
|
);
|
|
61699
61699
|
ke.setParent(
|
|
61700
|
-
(
|
|
61700
|
+
(z = this.body) == null ? void 0 : z.dataType,
|
|
61701
61701
|
i
|
|
61702
61702
|
), ke.hydrateAncestors(), i == null || i.add(ke, G.Added), ke.addSelfToProject(i), ke.initChildren(i), l.push(ke), I = ke, (te = (ue = this.body) == null ? void 0 : ue.dataType) == null || te.metaSync(
|
|
61703
61703
|
{
|
|
@@ -62090,12 +62090,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62090
62090
|
);
|
|
62091
62091
|
if (!ae)
|
|
62092
62092
|
break;
|
|
62093
|
-
const
|
|
62093
|
+
const z = this.getCurrentValueBuiltInValueDescriptor();
|
|
62094
62094
|
if (H) {
|
|
62095
|
-
|
|
62096
|
-
(he) => he.id ===
|
|
62095
|
+
z && !H.implements.find(
|
|
62096
|
+
(he) => he.id === z.id
|
|
62097
62097
|
) && (H.addImplementation(
|
|
62098
|
-
|
|
62098
|
+
z,
|
|
62099
62099
|
i
|
|
62100
62100
|
), a.push(H));
|
|
62101
62101
|
let te = H.getDataType(i);
|
|
@@ -62159,7 +62159,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62159
62159
|
index: this.body.inputs.length,
|
|
62160
62160
|
constant: !0,
|
|
62161
62161
|
required: !0,
|
|
62162
|
-
implements: [
|
|
62162
|
+
implements: [z],
|
|
62163
62163
|
writesValues: [],
|
|
62164
62164
|
dataType: null,
|
|
62165
62165
|
parent: this.body.toReference()
|
|
@@ -62170,10 +62170,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62170
62170
|
te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
|
|
62171
62171
|
te,
|
|
62172
62172
|
G.Added
|
|
62173
|
-
), te.addSelfToProject(i),
|
|
62174
|
-
(le) => le.id ===
|
|
62173
|
+
), te.addSelfToProject(i), z && !te.implements.find(
|
|
62174
|
+
(le) => le.id === z.id
|
|
62175
62175
|
) && (te.addImplementation(
|
|
62176
|
-
|
|
62176
|
+
z,
|
|
62177
62177
|
i
|
|
62178
62178
|
), a.push(te)), l.push(te);
|
|
62179
62179
|
}
|
|
@@ -62192,11 +62192,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62192
62192
|
return ((te = ue.declaration) == null ? void 0 : te.id) === pe[p.Loop][Ze.ObjectKeys].inputs.object.id;
|
|
62193
62193
|
}))
|
|
62194
62194
|
break;
|
|
62195
|
-
const
|
|
62195
|
+
const z = this.getCurrentValueBuiltInValueDescriptor();
|
|
62196
62196
|
if (H) {
|
|
62197
|
-
|
|
62198
|
-
(le) => le.id ===
|
|
62199
|
-
) && (H.addImplementation(
|
|
62197
|
+
z && !H.implements.find(
|
|
62198
|
+
(le) => le.id === z.id
|
|
62199
|
+
) && (H.addImplementation(z), a.push(H));
|
|
62200
62200
|
let te = H.getDataType(i);
|
|
62201
62201
|
if (te) {
|
|
62202
62202
|
const le = this.project.getBuiltIn(
|
|
@@ -62259,7 +62259,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62259
62259
|
index: this.body.inputs.length,
|
|
62260
62260
|
constant: !0,
|
|
62261
62261
|
required: !0,
|
|
62262
|
-
implements: [
|
|
62262
|
+
implements: [z],
|
|
62263
62263
|
writesValues: [],
|
|
62264
62264
|
dataType: null,
|
|
62265
62265
|
parent: this.body.toReference()
|
|
@@ -62270,10 +62270,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62270
62270
|
te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
|
|
62271
62271
|
te,
|
|
62272
62272
|
G.Added
|
|
62273
|
-
), te.addSelfToProject(i),
|
|
62274
|
-
(le) => le.id ===
|
|
62273
|
+
), te.addSelfToProject(i), z && !te.implements.find(
|
|
62274
|
+
(le) => le.id === z.id
|
|
62275
62275
|
) && (te.addImplementation(
|
|
62276
|
-
|
|
62276
|
+
z,
|
|
62277
62277
|
i
|
|
62278
62278
|
), a.push(te)), l.push(te);
|
|
62279
62279
|
}
|
|
@@ -62288,12 +62288,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62288
62288
|
});
|
|
62289
62289
|
if (!ae)
|
|
62290
62290
|
break;
|
|
62291
|
-
const
|
|
62291
|
+
const z = this.getCurrentValueBuiltInValueDescriptor();
|
|
62292
62292
|
if (H) {
|
|
62293
|
-
|
|
62294
|
-
(le) => le.id ===
|
|
62293
|
+
z && !H.implements.find(
|
|
62294
|
+
(le) => le.id === z.id
|
|
62295
62295
|
) && (H.addImplementation(
|
|
62296
|
-
|
|
62296
|
+
z,
|
|
62297
62297
|
i
|
|
62298
62298
|
), a.push(H));
|
|
62299
62299
|
let te = H.getDataType(i);
|
|
@@ -62444,7 +62444,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62444
62444
|
defaultValue: null,
|
|
62445
62445
|
index: this.body.inputs.length,
|
|
62446
62446
|
required: !0,
|
|
62447
|
-
implements: [
|
|
62447
|
+
implements: [z],
|
|
62448
62448
|
writesValues: [],
|
|
62449
62449
|
dataType: null,
|
|
62450
62450
|
parent: this.body.toReference()
|
|
@@ -62455,10 +62455,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62455
62455
|
te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
|
|
62456
62456
|
te,
|
|
62457
62457
|
G.Added
|
|
62458
|
-
), te.addSelfToProject(i),
|
|
62459
|
-
(le) => le.id ===
|
|
62458
|
+
), te.addSelfToProject(i), z && !te.implements.find(
|
|
62459
|
+
(le) => le.id === z.id
|
|
62460
62460
|
) && (te.addImplementation(
|
|
62461
|
-
|
|
62461
|
+
z,
|
|
62462
62462
|
i
|
|
62463
62463
|
), a.push(te)), l.push(te);
|
|
62464
62464
|
}
|
|
@@ -62473,12 +62473,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62473
62473
|
return ((te = ue.declaration) == null ? void 0 : te.id) === pe[p.Loop][Ze.String].inputs.string.id;
|
|
62474
62474
|
}))
|
|
62475
62475
|
break;
|
|
62476
|
-
const
|
|
62476
|
+
const z = this.getCurrentValueBuiltInValueDescriptor();
|
|
62477
62477
|
if (H) {
|
|
62478
|
-
|
|
62479
|
-
(le) => le.id ===
|
|
62478
|
+
z && !H.implements.find(
|
|
62479
|
+
(le) => le.id === z.id
|
|
62480
62480
|
) && (H.addImplementation(
|
|
62481
|
-
|
|
62481
|
+
z,
|
|
62482
62482
|
i
|
|
62483
62483
|
), a.push(H));
|
|
62484
62484
|
let te = H.getDataType(i);
|
|
@@ -62543,7 +62543,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62543
62543
|
required: !0,
|
|
62544
62544
|
constant: !0,
|
|
62545
62545
|
defaultValue: null,
|
|
62546
|
-
implements: [
|
|
62546
|
+
implements: [z],
|
|
62547
62547
|
writesValues: [],
|
|
62548
62548
|
dataType: null,
|
|
62549
62549
|
parent: this.body.toReference()
|
|
@@ -62554,10 +62554,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62554
62554
|
te.setParent(this.body, i), te.initChildren(i), i == null || i.add(
|
|
62555
62555
|
te,
|
|
62556
62556
|
G.Added
|
|
62557
|
-
), te.addSelfToProject(i),
|
|
62558
|
-
(le) => le.id ===
|
|
62557
|
+
), te.addSelfToProject(i), z && !te.implements.find(
|
|
62558
|
+
(le) => le.id === z.id
|
|
62559
62559
|
) && (te.addImplementation(
|
|
62560
|
-
|
|
62560
|
+
z,
|
|
62561
62561
|
i
|
|
62562
62562
|
), a.push(te)), l.push(te);
|
|
62563
62563
|
}
|
|
@@ -62940,7 +62940,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62940
62940
|
};
|
|
62941
62941
|
}
|
|
62942
62942
|
checkIsSynced() {
|
|
62943
|
-
var E, D, N, L, M, K, q, Z, H, ae,
|
|
62943
|
+
var E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le;
|
|
62944
62944
|
if ((!this.body || !((E = this.body) != null && E.dataType) || !((D = this.body) != null && D.dataType.entity)) && this.id)
|
|
62945
62945
|
return !1;
|
|
62946
62946
|
const i = [
|
|
@@ -63019,7 +63019,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63019
63019
|
if (this.inputs.length !== 1)
|
|
63020
63020
|
return !1;
|
|
63021
63021
|
const ke = this.inputs[0], ot = this.getValueInputMapDeclarationId();
|
|
63022
|
-
if (((
|
|
63022
|
+
if (((z = ke.declaration) == null ? void 0 : z.id) !== ot)
|
|
63023
63023
|
return !1;
|
|
63024
63024
|
} else if (this.inputs.length > 0)
|
|
63025
63025
|
return !1;
|
|
@@ -63195,7 +63195,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63195
63195
|
)
|
|
63196
63196
|
)) {
|
|
63197
63197
|
if (!this.checkCanEdit(this))
|
|
63198
|
-
return
|
|
63198
|
+
return J.warn(
|
|
63199
63199
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63200
63200
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
63201
63201
|
const l = this.dataType;
|
|
@@ -63233,7 +63233,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63233
63233
|
O.RemoveDataType
|
|
63234
63234
|
)
|
|
63235
63235
|
)) {
|
|
63236
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
63236
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
63237
63237
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63238
63238
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
63239
63239
|
}
|
|
@@ -63735,7 +63735,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
63735
63735
|
)) {
|
|
63736
63736
|
var l, c;
|
|
63737
63737
|
if (!this.checkCanEdit(this))
|
|
63738
|
-
return
|
|
63738
|
+
return J.warn(
|
|
63739
63739
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63740
63740
|
), a == null || a.attemptAutoclose(
|
|
63741
63741
|
O.UpdateWithShallowTransfer,
|
|
@@ -63868,7 +63868,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
63868
63868
|
)) {
|
|
63869
63869
|
var I, E;
|
|
63870
63870
|
if (!this.checkCanEdit(this))
|
|
63871
|
-
return
|
|
63871
|
+
return J.warn(
|
|
63872
63872
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63873
63873
|
), i == null || i.attemptAutoclose(
|
|
63874
63874
|
O.AfterAllChildrenInitialized,
|
|
@@ -63975,7 +63975,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
63975
63975
|
)
|
|
63976
63976
|
)) {
|
|
63977
63977
|
if (!this.checkCanEdit(this))
|
|
63978
|
-
return
|
|
63978
|
+
return J.warn(
|
|
63979
63979
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63980
63980
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
63981
63981
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -63991,7 +63991,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
63991
63991
|
O.AddInput
|
|
63992
63992
|
)
|
|
63993
63993
|
)) {
|
|
63994
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
63994
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
63995
63995
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
63996
63996
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
63997
63997
|
}
|
|
@@ -64159,7 +64159,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64159
64159
|
)
|
|
64160
64160
|
)) {
|
|
64161
64161
|
if (!this.checkCanEdit(this))
|
|
64162
|
-
return
|
|
64162
|
+
return J.warn(
|
|
64163
64163
|
`[removeChildGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64164
64164
|
), a == null || a.attemptAutoclose(
|
|
64165
64165
|
O.RemoveChildGroup,
|
|
@@ -64322,7 +64322,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64322
64322
|
)) {
|
|
64323
64323
|
var y;
|
|
64324
64324
|
if (!this.checkCanEdit(this))
|
|
64325
|
-
return
|
|
64325
|
+
return J.warn(
|
|
64326
64326
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64327
64327
|
), i == null || i.attemptAutoclose(
|
|
64328
64328
|
O.RemoveFromParent,
|
|
@@ -64364,7 +64364,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64364
64364
|
)) {
|
|
64365
64365
|
var v;
|
|
64366
64366
|
if (!this.checkCanDelete(this))
|
|
64367
|
-
return
|
|
64367
|
+
return J.warn(
|
|
64368
64368
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
64369
64369
|
), a == null || a.event({
|
|
64370
64370
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -64453,7 +64453,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64453
64453
|
)
|
|
64454
64454
|
)) {
|
|
64455
64455
|
if (!this.checkCanEdit(this))
|
|
64456
|
-
return
|
|
64456
|
+
return J.warn(
|
|
64457
64457
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64458
64458
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
64459
64459
|
const a = [], l = [], c = [], e = [];
|
|
@@ -64814,7 +64814,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64814
64814
|
O.AddToAndGroup
|
|
64815
64815
|
)
|
|
64816
64816
|
)) {
|
|
64817
|
-
return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (
|
|
64817
|
+
return this.checkCanEdit(this) ? (this.andChildrenGroup || (this.andChildrenGroup = []), this.andChildrenGroup.includes(i) || (this.andChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this) : (J.warn(
|
|
64818
64818
|
`[addToAndGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64819
64819
|
), a == null || a.attemptAutoclose(O.AddToAndGroup, this.id), this);
|
|
64820
64820
|
}
|
|
@@ -64829,7 +64829,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64829
64829
|
O.AddToOrGroup
|
|
64830
64830
|
)
|
|
64831
64831
|
)) {
|
|
64832
|
-
return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (
|
|
64832
|
+
return this.checkCanEdit(this) ? (this.orChildrenGroup || (this.orChildrenGroup = []), this.orChildrenGroup.includes(i) || (this.orChildrenGroup.push(i), a == null || a.add(i, G.Affected)), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this) : (J.warn(
|
|
64833
64833
|
`[addToOrGroup] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64834
64834
|
), a == null || a.attemptAutoclose(O.AddToOrGroup, this.id), this);
|
|
64835
64835
|
}
|
|
@@ -64844,7 +64844,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64844
64844
|
)
|
|
64845
64845
|
)) {
|
|
64846
64846
|
if (!this.checkCanEdit(this))
|
|
64847
|
-
return
|
|
64847
|
+
return J.warn(
|
|
64848
64848
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64849
64849
|
), i == null || i.attemptAutoclose(
|
|
64850
64850
|
O.RemoveUnrecognizedInputs,
|
|
@@ -64904,7 +64904,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
64904
64904
|
)
|
|
64905
64905
|
)) {
|
|
64906
64906
|
if (!this.checkCanEdit(this))
|
|
64907
|
-
return
|
|
64907
|
+
return J.warn(
|
|
64908
64908
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
64909
64909
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
64910
64910
|
updated: [],
|
|
@@ -65133,7 +65133,7 @@ class Tm {
|
|
|
65133
65133
|
);
|
|
65134
65134
|
y ? i[a] = y : delete u[a];
|
|
65135
65135
|
} catch (e) {
|
|
65136
|
-
|
|
65136
|
+
J.error("Error hydrating ancestors: ", e), delete u[a];
|
|
65137
65137
|
}
|
|
65138
65138
|
}), this.values = {
|
|
65139
65139
|
...this.values,
|
|
@@ -65184,7 +65184,7 @@ class Tm {
|
|
|
65184
65184
|
this.project
|
|
65185
65185
|
);
|
|
65186
65186
|
}
|
|
65187
|
-
l.standalone = !0, l.initialData.standaloneParent ||
|
|
65187
|
+
l.standalone = !0, l.initialData.standaloneParent || J.warn("instance.initialData: ", l.initialData), l.setStandaloneParent(u), l.hydrateAncestors(), l.initChildren(null), i && (l.metaSync(
|
|
65188
65188
|
{
|
|
65189
65189
|
...i
|
|
65190
65190
|
},
|
|
@@ -65299,10 +65299,10 @@ function Ea(d, u, i = /* @__PURE__ */ new Set()) {
|
|
|
65299
65299
|
d,
|
|
65300
65300
|
...d.getCounterparts()
|
|
65301
65301
|
];
|
|
65302
|
-
return
|
|
65302
|
+
return J.log(
|
|
65303
65303
|
"Resolved counterparts for return declaration: ",
|
|
65304
65304
|
`${d.name} ${d.id}`
|
|
65305
|
-
),
|
|
65305
|
+
), J.log(
|
|
65306
65306
|
"equivalentReturnDeclarations: ",
|
|
65307
65307
|
e.map((y) => `${y.name} ${y.id}`)
|
|
65308
65308
|
), R([
|
|
@@ -65975,14 +65975,14 @@ function NB(d, u, i = !1) {
|
|
|
65975
65975
|
Y(d, u.project)
|
|
65976
65976
|
);
|
|
65977
65977
|
if (H != null && H.value && Ti(H.value.value)) {
|
|
65978
|
-
const
|
|
65978
|
+
const z = H.value.value[ae], ue = rt(
|
|
65979
65979
|
d.getDataType(null),
|
|
65980
65980
|
d,
|
|
65981
65981
|
u.project
|
|
65982
65982
|
);
|
|
65983
65983
|
return ue == null || ue.metaSync(
|
|
65984
65984
|
{
|
|
65985
|
-
value:
|
|
65985
|
+
value: z
|
|
65986
65986
|
},
|
|
65987
65987
|
null
|
|
65988
65988
|
), {
|
|
@@ -66046,18 +66046,18 @@ function NB(d, u, i = !1) {
|
|
|
66046
66046
|
};
|
|
66047
66047
|
}
|
|
66048
66048
|
}
|
|
66049
|
-
const
|
|
66049
|
+
const z = rt(
|
|
66050
66050
|
((N = d.declaration) == null ? void 0 : N.dataType) || null,
|
|
66051
66051
|
d,
|
|
66052
66052
|
u.project
|
|
66053
66053
|
);
|
|
66054
|
-
return
|
|
66054
|
+
return z == null || z.metaSync(
|
|
66055
66055
|
{
|
|
66056
66056
|
value: null
|
|
66057
66057
|
},
|
|
66058
66058
|
null
|
|
66059
66059
|
), {
|
|
66060
|
-
value:
|
|
66060
|
+
value: z,
|
|
66061
66061
|
valueOwner: d,
|
|
66062
66062
|
type: _e.Inherited,
|
|
66063
66063
|
inheritanceLink: {
|
|
@@ -66096,18 +66096,18 @@ function NB(d, u, i = !1) {
|
|
|
66096
66096
|
};
|
|
66097
66097
|
}
|
|
66098
66098
|
}
|
|
66099
|
-
const
|
|
66099
|
+
const z = rt(
|
|
66100
66100
|
((M = d.declaration) == null ? void 0 : M.dataType) || null,
|
|
66101
66101
|
d,
|
|
66102
66102
|
u.project
|
|
66103
66103
|
);
|
|
66104
|
-
return
|
|
66104
|
+
return z == null || z.metaSync(
|
|
66105
66105
|
{
|
|
66106
66106
|
value: null
|
|
66107
66107
|
},
|
|
66108
66108
|
null
|
|
66109
66109
|
), {
|
|
66110
|
-
value:
|
|
66110
|
+
value: z,
|
|
66111
66111
|
valueOwner: d,
|
|
66112
66112
|
type: _e.Inherited,
|
|
66113
66113
|
inheritanceLink: {
|
|
@@ -66117,19 +66117,19 @@ function NB(d, u, i = !1) {
|
|
|
66117
66117
|
};
|
|
66118
66118
|
}
|
|
66119
66119
|
case p.Operation: {
|
|
66120
|
-
const H = e.outputs.map((
|
|
66120
|
+
const H = e.outputs.map((z) => {
|
|
66121
66121
|
var ue, te;
|
|
66122
|
-
if ((ue = u.persistedExecutionResults) != null && ue.values[
|
|
66123
|
-
const le = (te = u.persistedExecutionResults) == null ? void 0 : te.values[
|
|
66122
|
+
if ((ue = u.persistedExecutionResults) != null && ue.values[z.id]) {
|
|
66123
|
+
const le = (te = u.persistedExecutionResults) == null ? void 0 : te.values[z.id];
|
|
66124
66124
|
if (le.value !== null || le.valueAsType !== null)
|
|
66125
66125
|
return {
|
|
66126
66126
|
value: le,
|
|
66127
|
-
valueOwner:
|
|
66127
|
+
valueOwner: z,
|
|
66128
66128
|
type: _e.ExecutionResult,
|
|
66129
66129
|
inheritanceLink: null
|
|
66130
66130
|
};
|
|
66131
66131
|
}
|
|
66132
|
-
}).filter((
|
|
66132
|
+
}).filter((z) => !!z), ae = rt(
|
|
66133
66133
|
((K = d.declaration) == null ? void 0 : K.dataType) || null,
|
|
66134
66134
|
d,
|
|
66135
66135
|
u.project
|
|
@@ -66151,8 +66151,8 @@ function NB(d, u, i = !1) {
|
|
|
66151
66151
|
}
|
|
66152
66152
|
case p.FunctionCall: {
|
|
66153
66153
|
const H = e.inputs.map(
|
|
66154
|
-
(
|
|
66155
|
-
).filter((
|
|
66154
|
+
(z) => xA(z, u, i)
|
|
66155
|
+
).filter((z) => !!z), ae = rt(
|
|
66156
66156
|
((q = d.declaration) == null ? void 0 : q.dataType) || null,
|
|
66157
66157
|
d,
|
|
66158
66158
|
u.project
|
|
@@ -66169,8 +66169,8 @@ function NB(d, u, i = !1) {
|
|
|
66169
66169
|
}
|
|
66170
66170
|
case p.Loop: {
|
|
66171
66171
|
const H = e.inputs.map(
|
|
66172
|
-
(
|
|
66173
|
-
).filter((
|
|
66172
|
+
(z) => xA(z, u, i)
|
|
66173
|
+
).filter((z) => !!z), ae = rt(
|
|
66174
66174
|
((Z = d.declaration) == null ? void 0 : Z.dataType) || null,
|
|
66175
66175
|
d,
|
|
66176
66176
|
u.project
|
|
@@ -66309,11 +66309,11 @@ function Tgt(d, u, i = !1) {
|
|
|
66309
66309
|
);
|
|
66310
66310
|
const q = T && cd(K), Z = !!((N = u.execution) != null && N.entities.length), H = (L = u.execution) == null ? void 0 : L.hasEntity(a), ae = a.readsValue;
|
|
66311
66311
|
if (ae) {
|
|
66312
|
-
const
|
|
66312
|
+
const z = (M = u.execution) == null ? void 0 : M.hasEntity(ae);
|
|
66313
66313
|
if (q && // There isn't an active test
|
|
66314
66314
|
(!Z || // Or there is an active test, and both entities are part of it
|
|
66315
|
-
Z &&
|
|
66316
|
-
Z && !
|
|
66315
|
+
Z && z && H || // Or there is an active test, but neither entity is a part it
|
|
66316
|
+
Z && !z && !H))
|
|
66317
66317
|
return {
|
|
66318
66318
|
value: null,
|
|
66319
66319
|
valueOwner: d,
|
|
@@ -66761,7 +66761,7 @@ function wgt(d, u, i, a) {
|
|
|
66761
66761
|
});
|
|
66762
66762
|
const K = Ti(d) ? d : M;
|
|
66763
66763
|
L.inputs.forEach((q) => {
|
|
66764
|
-
var Z, H, ae,
|
|
66764
|
+
var Z, H, ae, z, ue;
|
|
66765
66765
|
if (((Z = q.declaration) == null ? void 0 : Z.type) === p.Property && q.declaration.static) {
|
|
66766
66766
|
let te = l ? ((H = u.getDefaultValue) == null ? void 0 : H.call(u)) || null : e == null ? void 0 : e.readValue(q.declaration.id);
|
|
66767
66767
|
te ? !l && te && te.id === ((ae = q.declaration.getDefaultValue()) == null ? void 0 : ae.id) && (te = rt(
|
|
@@ -66788,7 +66788,7 @@ function wgt(d, u, i, a) {
|
|
|
66788
66788
|
q.declaration,
|
|
66789
66789
|
te
|
|
66790
66790
|
);
|
|
66791
|
-
} else if (((
|
|
66791
|
+
} else if (((z = q.declaration) == null ? void 0 : z.type) === p.Property) {
|
|
66792
66792
|
let te = l ? ((ue = u.getDefaultValue) == null ? void 0 : ue.call(u)) || null : e == null ? void 0 : e.readValue(q.id);
|
|
66793
66793
|
te && te.metaSync(
|
|
66794
66794
|
{
|
|
@@ -68848,7 +68848,7 @@ const s4 = (d) => {
|
|
|
68848
68848
|
return;
|
|
68849
68849
|
const H = Zn.from(
|
|
68850
68850
|
"getAllResponseHeaders" in K && K.getAllResponseHeaders()
|
|
68851
|
-
),
|
|
68851
|
+
), z = {
|
|
68852
68852
|
data: !y || y === "text" || y === "json" ? K.responseText : K.response,
|
|
68853
68853
|
status: K.status,
|
|
68854
68854
|
statusText: K.statusText,
|
|
@@ -68860,7 +68860,7 @@ const s4 = (d) => {
|
|
|
68860
68860
|
i(te), M();
|
|
68861
68861
|
}, function(te) {
|
|
68862
68862
|
a(te), M();
|
|
68863
|
-
},
|
|
68863
|
+
}, z), K = null;
|
|
68864
68864
|
}
|
|
68865
68865
|
"onloadend" in K ? K.onloadend = q : K.onreadystatechange = function() {
|
|
68866
68866
|
!K || K.readyState !== 4 || K.status === 0 && !(K.responseURL && K.responseURL.indexOf("file:") === 0) || setTimeout(q);
|
|
@@ -68870,15 +68870,15 @@ const s4 = (d) => {
|
|
|
68870
68870
|
a(new Kt("Network Error", Kt.ERR_NETWORK, d, K)), K = null;
|
|
68871
68871
|
}, K.ontimeout = function() {
|
|
68872
68872
|
let ae = l.timeout ? "timeout of " + l.timeout + "ms exceeded" : "timeout exceeded";
|
|
68873
|
-
const
|
|
68873
|
+
const z = l.transitional || QB;
|
|
68874
68874
|
l.timeoutErrorMessage && (ae = l.timeoutErrorMessage), a(new Kt(
|
|
68875
68875
|
ae,
|
|
68876
|
-
|
|
68876
|
+
z.clarifyTimeoutError ? Kt.ETIMEDOUT : Kt.ECONNABORTED,
|
|
68877
68877
|
d,
|
|
68878
68878
|
K
|
|
68879
68879
|
)), K = null;
|
|
68880
|
-
}, c === void 0 && e.setContentType(null), "setRequestHeader" in K && ge.forEach(e.toJSON(), function(ae,
|
|
68881
|
-
K.setRequestHeader(
|
|
68880
|
+
}, c === void 0 && e.setContentType(null), "setRequestHeader" in K && ge.forEach(e.toJSON(), function(ae, z) {
|
|
68881
|
+
K.setRequestHeader(z, ae);
|
|
68882
68882
|
}), ge.isUndefined(l.withCredentials) || (K.withCredentials = !!l.withCredentials), y && y !== "json" && (K.responseType = l.responseType), T && ([D, L] = Km(T, !0), K.addEventListener("progress", D)), v && K.upload && ([E, N] = Km(v), K.upload.addEventListener("progress", E), K.upload.addEventListener("loadend", N)), (l.cancelToken || l.signal) && (I = (H) => {
|
|
68883
68883
|
K && (a(!H || H.type ? new Ep(null, d, K) : H), K.abort(), K = null);
|
|
68884
68884
|
}, l.cancelToken && l.cancelToken.subscribe(I), l.signal && (l.signal.aborted ? I() : l.signal.addEventListener("abort", I)));
|
|
@@ -69035,17 +69035,17 @@ const uOt = async (d) => {
|
|
|
69035
69035
|
let K;
|
|
69036
69036
|
try {
|
|
69037
69037
|
if (v && dOt && i !== "get" && i !== "head" && (K = await pOt(I, a)) !== 0) {
|
|
69038
|
-
let
|
|
69038
|
+
let z = new Request(u, {
|
|
69039
69039
|
method: "POST",
|
|
69040
69040
|
body: a,
|
|
69041
69041
|
duplex: "half"
|
|
69042
69042
|
}), ue;
|
|
69043
|
-
if (ge.isFormData(a) && (ue =
|
|
69043
|
+
if (ge.isFormData(a) && (ue = z.headers.get("content-type")) && I.setContentType(ue), z.body) {
|
|
69044
69044
|
const [te, le] = M$(
|
|
69045
69045
|
K,
|
|
69046
69046
|
Km(B$(v))
|
|
69047
69047
|
);
|
|
69048
|
-
a = j$(
|
|
69048
|
+
a = j$(z.body, G$, te, le);
|
|
69049
69049
|
}
|
|
69050
69050
|
}
|
|
69051
69051
|
ge.isString(E) || (E = E ? "include" : "omit");
|
|
@@ -69062,9 +69062,9 @@ const uOt = async (d) => {
|
|
|
69062
69062
|
let Z = await fetch(L);
|
|
69063
69063
|
const H = jA && (T === "stream" || T === "response");
|
|
69064
69064
|
if (jA && (y || H && M)) {
|
|
69065
|
-
const
|
|
69065
|
+
const z = {};
|
|
69066
69066
|
["status", "statusText", "headers"].forEach((he) => {
|
|
69067
|
-
|
|
69067
|
+
z[he] = Z[he];
|
|
69068
69068
|
});
|
|
69069
69069
|
const ue = ge.toFiniteNumber(Z.headers.get("content-length")), [te, le] = y && M$(
|
|
69070
69070
|
ue,
|
|
@@ -69074,13 +69074,13 @@ const uOt = async (d) => {
|
|
|
69074
69074
|
j$(Z.body, G$, te, () => {
|
|
69075
69075
|
le && le(), M && M();
|
|
69076
69076
|
}),
|
|
69077
|
-
|
|
69077
|
+
z
|
|
69078
69078
|
);
|
|
69079
69079
|
}
|
|
69080
69080
|
T = T || "text";
|
|
69081
69081
|
let ae = await qm[ge.findKey(qm, T) || "text"](Z, d);
|
|
69082
|
-
return !H && M && M(), await new Promise((
|
|
69083
|
-
i4(
|
|
69082
|
+
return !H && M && M(), await new Promise((z, ue) => {
|
|
69083
|
+
i4(z, ue, {
|
|
69084
69084
|
data: ae,
|
|
69085
69085
|
headers: Zn.from(Z.headers),
|
|
69086
69086
|
status: Z.status,
|
|
@@ -70184,22 +70184,22 @@ class xOt extends pt {
|
|
|
70184
70184
|
});
|
|
70185
70185
|
_(this, "module", {
|
|
70186
70186
|
init: (i) => {
|
|
70187
|
-
|
|
70187
|
+
J.log("Initializing Random Generate Short Identifier Module");
|
|
70188
70188
|
const a = i.find(
|
|
70189
70189
|
(l) => l.contextType === Pe.Logic
|
|
70190
70190
|
);
|
|
70191
70191
|
if (a) {
|
|
70192
|
-
|
|
70192
|
+
J.log("Project state found, setting up operation");
|
|
70193
70193
|
const l = a.get(
|
|
70194
70194
|
qe.GenerateShortIdentifier
|
|
70195
70195
|
);
|
|
70196
|
-
l ? (
|
|
70196
|
+
l ? (J.log(
|
|
70197
70197
|
"Operation found, setting autoexecutable and implementation"
|
|
70198
|
-
), l.autoexecutable = !0, l.implementation = this.module.main) :
|
|
70198
|
+
), l.autoexecutable = !0, l.implementation = this.module.main) : J.warn(
|
|
70199
70199
|
"Operation generate-short-identifier not found in project state"
|
|
70200
70200
|
);
|
|
70201
70201
|
} else
|
|
70202
|
-
|
|
70202
|
+
J.warn(
|
|
70203
70203
|
"Project state not found in contexts for Random Generate Short Identifier Module"
|
|
70204
70204
|
);
|
|
70205
70205
|
},
|
|
@@ -72383,7 +72383,7 @@ class b$t extends pt {
|
|
|
72383
72383
|
return ((v = y.value) == null ? void 0 : v.valueAsType) || ((T = y.value) == null ? void 0 : T.value);
|
|
72384
72384
|
}
|
|
72385
72385
|
);
|
|
72386
|
-
|
|
72386
|
+
J.log("Inputs for entity validation: ", l);
|
|
72387
72387
|
const e = ix(
|
|
72388
72388
|
l[1]
|
|
72389
72389
|
).safeParse(l[0]);
|
|
@@ -72444,7 +72444,7 @@ class E$t extends pt {
|
|
|
72444
72444
|
headers: c,
|
|
72445
72445
|
data: l[4]
|
|
72446
72446
|
};
|
|
72447
|
-
|
|
72447
|
+
J.log("Axios request config: ", e);
|
|
72448
72448
|
const y = await bOt(e);
|
|
72449
72449
|
return {
|
|
72450
72450
|
value: S.Success,
|
|
@@ -72709,7 +72709,7 @@ class I$t {
|
|
|
72709
72709
|
);
|
|
72710
72710
|
}
|
|
72711
72711
|
async setup() {
|
|
72712
|
-
A$t(this),
|
|
72712
|
+
A$t(this), J.log("Initializing extensions without context..."), this.initForReady();
|
|
72713
72713
|
}
|
|
72714
72714
|
requestContext(u) {
|
|
72715
72715
|
switch (u) {
|
|
@@ -72769,22 +72769,22 @@ class I$t {
|
|
|
72769
72769
|
}
|
|
72770
72770
|
// Initialize all extensions that have ready contexts
|
|
72771
72771
|
async initForReady() {
|
|
72772
|
-
|
|
72772
|
+
J.log("Initializing extensions for ready contexts...");
|
|
72773
72773
|
for (const u of this.extensionInOrder)
|
|
72774
72774
|
if (u.module.init && !this.initialized.has(u.manifest.id)) {
|
|
72775
|
-
|
|
72775
|
+
J.log("Initializing " + u.manifest.id + " extension...");
|
|
72776
72776
|
const i = this.requestContexts(u);
|
|
72777
72777
|
u.manifest.contexts.every(
|
|
72778
72778
|
(l) => !!i.find((c) => c.contextType === l)
|
|
72779
|
-
) ? (await u.module.init(i), this.initialized.add(u.manifest.id)) :
|
|
72779
|
+
) ? (await u.module.init(i), this.initialized.add(u.manifest.id)) : J.warn(
|
|
72780
72780
|
`Skipping initialization of ${u.manifest.id} extension, not all contexts are ready.`,
|
|
72781
72781
|
`Required contexts: ${u.manifest.contexts.join(", ")}`,
|
|
72782
72782
|
`Available contexts: ${i.map((l) => l.contextType).join(", ")}`
|
|
72783
72783
|
);
|
|
72784
72784
|
} else
|
|
72785
|
-
!u.module.init && !this.initialized.has(u.manifest.id) ? (
|
|
72785
|
+
!u.module.init && !this.initialized.has(u.manifest.id) ? (J.log(
|
|
72786
72786
|
"Set " + u.manifest.id + " extension as initialized by default..."
|
|
72787
|
-
), this.initialized.add(u.manifest.id)) :
|
|
72787
|
+
), this.initialized.add(u.manifest.id)) : J.log(
|
|
72788
72788
|
`Skipping initialization of ${u.manifest.id} extension, already initialized or no init method defined.`
|
|
72789
72789
|
);
|
|
72790
72790
|
}
|
|
@@ -72823,7 +72823,7 @@ class I$t {
|
|
|
72823
72823
|
}
|
|
72824
72824
|
async contextAvailable(u) {
|
|
72825
72825
|
if (this.initializedContexts.has(u)) {
|
|
72826
|
-
|
|
72826
|
+
J.warn(
|
|
72827
72827
|
`Context ${u} is already initialized. Skipping re-initialization.`
|
|
72828
72828
|
);
|
|
72829
72829
|
return;
|
|
@@ -72844,7 +72844,7 @@ class I$t {
|
|
|
72844
72844
|
break;
|
|
72845
72845
|
}
|
|
72846
72846
|
}
|
|
72847
|
-
|
|
72847
|
+
J.log(
|
|
72848
72848
|
`Context ${u} is now available. Initializing extensions for this context...`
|
|
72849
72849
|
), await this.initForReady();
|
|
72850
72850
|
}
|
|
@@ -73058,7 +73058,7 @@ class Ko extends ku {
|
|
|
73058
73058
|
const I = this.parentContext.requestExtension(
|
|
73059
73059
|
vf + i.declaration.id
|
|
73060
73060
|
).module.main;
|
|
73061
|
-
I ? T = await I(i, a) :
|
|
73061
|
+
I ? T = await I(i, a) : J.warn(
|
|
73062
73062
|
`No implementation found for built-in function: ${i.declaration.id}`
|
|
73063
73063
|
);
|
|
73064
73064
|
} else {
|
|
@@ -73070,7 +73070,7 @@ class Ko extends ku {
|
|
|
73070
73070
|
);
|
|
73071
73071
|
let I = null;
|
|
73072
73072
|
if (T.error) {
|
|
73073
|
-
|
|
73073
|
+
J.warn("Raw error executing entity: ", T.error);
|
|
73074
73074
|
const E = (y = i.error) == null ? void 0 : y.getDataType(null), D = rt(
|
|
73075
73075
|
E || null,
|
|
73076
73076
|
i.error,
|
|
@@ -73105,7 +73105,7 @@ class Ko extends ku {
|
|
|
73105
73105
|
entity: i
|
|
73106
73106
|
};
|
|
73107
73107
|
} catch (T) {
|
|
73108
|
-
|
|
73108
|
+
J.warn("Internal call execution error: ", T);
|
|
73109
73109
|
let I = null;
|
|
73110
73110
|
if (i.error) {
|
|
73111
73111
|
const E = (v = i.error) == null ? void 0 : v.getDataType(null), D = rt(
|
|
@@ -73149,7 +73149,7 @@ class Ko extends ku {
|
|
|
73149
73149
|
));
|
|
73150
73150
|
let v = null;
|
|
73151
73151
|
if (y.error && i.error) {
|
|
73152
|
-
|
|
73152
|
+
J.warn("Raw error executing entity: ", y.error);
|
|
73153
73153
|
const E = ((c = i.error) == null ? void 0 : c.getDataType(null)) || null, D = rt(
|
|
73154
73154
|
E,
|
|
73155
73155
|
i.error,
|
|
@@ -73189,7 +73189,7 @@ class Ko extends ku {
|
|
|
73189
73189
|
}
|
|
73190
73190
|
};
|
|
73191
73191
|
} catch (y) {
|
|
73192
|
-
|
|
73192
|
+
J.warn("Operation execution error: ", y);
|
|
73193
73193
|
let v = null;
|
|
73194
73194
|
if (i.error) {
|
|
73195
73195
|
const T = (e = i.error) == null ? void 0 : e.getDataType(null), I = rt(
|
|
@@ -73261,7 +73261,7 @@ class Ko extends ku {
|
|
|
73261
73261
|
}
|
|
73262
73262
|
};
|
|
73263
73263
|
} catch (e) {
|
|
73264
|
-
if (
|
|
73264
|
+
if (J.warn(`Search node execution error: ${e}`), !i.error)
|
|
73265
73265
|
return {
|
|
73266
73266
|
value: i.catchesError || i.errorCalls.length ? S.CaughtError : S.UnhandledError,
|
|
73267
73267
|
entity: i,
|
|
@@ -73305,17 +73305,17 @@ class Ko extends ku {
|
|
|
73305
73305
|
};
|
|
73306
73306
|
const L = a.map(
|
|
73307
73307
|
(ae) => {
|
|
73308
|
-
var
|
|
73309
|
-
return ((
|
|
73308
|
+
var z, ue;
|
|
73309
|
+
return ((z = ae == null ? void 0 : ae.value) == null ? void 0 : z.valueAsType) || ((ue = ae == null ? void 0 : ae.value) == null ? void 0 : ue.value);
|
|
73310
73310
|
}
|
|
73311
73311
|
);
|
|
73312
73312
|
let M = {};
|
|
73313
73313
|
i.getUniqueInputMaps().forEach((ae) => {
|
|
73314
|
-
const
|
|
73314
|
+
const z = i.body.inputs.find(
|
|
73315
73315
|
(he) => Y(he, l) === Y(ae, l)
|
|
73316
73316
|
), ue = ae == null ? void 0 : ae.getDataType(null), te = rt(
|
|
73317
73317
|
ue,
|
|
73318
|
-
|
|
73318
|
+
z,
|
|
73319
73319
|
l
|
|
73320
73320
|
);
|
|
73321
73321
|
ue != null && ue.asType ? te == null || te.setValueAsTypeList([]) : te == null || te.metaSync(
|
|
@@ -73324,16 +73324,16 @@ class Ko extends ku {
|
|
|
73324
73324
|
},
|
|
73325
73325
|
null
|
|
73326
73326
|
), this.lastExecutionResults.writeValue(
|
|
73327
|
-
|
|
73327
|
+
z,
|
|
73328
73328
|
te
|
|
73329
73329
|
);
|
|
73330
73330
|
const le = {
|
|
73331
73331
|
value: te,
|
|
73332
|
-
valueOwner:
|
|
73332
|
+
valueOwner: z,
|
|
73333
73333
|
type: _e.ExecutionResult,
|
|
73334
73334
|
inheritanceLink: null
|
|
73335
73335
|
};
|
|
73336
|
-
M[
|
|
73336
|
+
M[z.id] = le;
|
|
73337
73337
|
});
|
|
73338
73338
|
let q = {
|
|
73339
73339
|
value: S.Success,
|
|
@@ -73344,8 +73344,8 @@ class Ko extends ku {
|
|
|
73344
73344
|
switch (i.declaration.id) {
|
|
73345
73345
|
case pe.loop["counted-loop"].id: {
|
|
73346
73346
|
const ae = L[0];
|
|
73347
|
-
let
|
|
73348
|
-
for (;
|
|
73347
|
+
let z = 1;
|
|
73348
|
+
for (; z <= ae && z <= 50; ) {
|
|
73349
73349
|
const ue = i.body.inputs.map((te) => {
|
|
73350
73350
|
if (te === i.currentIterationNumberArgumentDeclaration) {
|
|
73351
73351
|
const le = i.currentIterationNumberArgumentDeclaration.getDataType(
|
|
@@ -73356,7 +73356,7 @@ class Ko extends ku {
|
|
|
73356
73356
|
if (X) {
|
|
73357
73357
|
X.metaSync(
|
|
73358
73358
|
{
|
|
73359
|
-
value:
|
|
73359
|
+
value: z
|
|
73360
73360
|
},
|
|
73361
73361
|
null
|
|
73362
73362
|
), this.lastExecutionResults.writeValue(te, X);
|
|
@@ -73379,7 +73379,7 @@ class Ko extends ku {
|
|
|
73379
73379
|
author: V.sessionAuthor,
|
|
73380
73380
|
deleted: !1,
|
|
73381
73381
|
previousVersion: null,
|
|
73382
|
-
value:
|
|
73382
|
+
value: z,
|
|
73383
73383
|
valueAsTypeSingle: null,
|
|
73384
73384
|
valueAsTypeList: null,
|
|
73385
73385
|
parent: null,
|
|
@@ -73429,14 +73429,14 @@ class Ko extends ku {
|
|
|
73429
73429
|
S.Return
|
|
73430
73430
|
].includes(q.value))
|
|
73431
73431
|
break;
|
|
73432
|
-
|
|
73432
|
+
z++;
|
|
73433
73433
|
}
|
|
73434
73434
|
break;
|
|
73435
73435
|
}
|
|
73436
73436
|
case pe.loop["manual-flow-loop"].id: {
|
|
73437
73437
|
let ae = 1;
|
|
73438
73438
|
for (; ae <= 50; ) {
|
|
73439
|
-
const
|
|
73439
|
+
const z = i.body.inputs.map((ue) => {
|
|
73440
73440
|
if (ue === i.currentIterationNumberArgumentDeclaration) {
|
|
73441
73441
|
const te = this.lastExecutionResults.readValue(
|
|
73442
73442
|
ue.id
|
|
@@ -73482,7 +73482,7 @@ class Ko extends ku {
|
|
|
73482
73482
|
}).filter((ue) => !!ue);
|
|
73483
73483
|
if (q = await this.executeFullFunctionDeclarationLogic(
|
|
73484
73484
|
i.body,
|
|
73485
|
-
|
|
73485
|
+
z,
|
|
73486
73486
|
e
|
|
73487
73487
|
), (q.results || []).forEach((ue) => {
|
|
73488
73488
|
var X, fe, Ee;
|
|
@@ -73512,7 +73512,7 @@ class Ko extends ku {
|
|
|
73512
73512
|
}
|
|
73513
73513
|
case pe.loop["list-loop"].id: {
|
|
73514
73514
|
const ae = L[0];
|
|
73515
|
-
let
|
|
73515
|
+
let z = 1;
|
|
73516
73516
|
const ue = ae;
|
|
73517
73517
|
for (let te = 0; te < ue.length; te++) {
|
|
73518
73518
|
const le = ue[te], he = i.body.inputs.map((X) => {
|
|
@@ -73523,7 +73523,7 @@ class Ko extends ku {
|
|
|
73523
73523
|
if (fe)
|
|
73524
73524
|
return fe.metaSync(
|
|
73525
73525
|
{
|
|
73526
|
-
value:
|
|
73526
|
+
value: z
|
|
73527
73527
|
},
|
|
73528
73528
|
null
|
|
73529
73529
|
), this.lastExecutionResults.writeValue(X, fe), {
|
|
@@ -73541,7 +73541,7 @@ class Ko extends ku {
|
|
|
73541
73541
|
);
|
|
73542
73542
|
return Te == null || Te.metaSync(
|
|
73543
73543
|
{
|
|
73544
|
-
value:
|
|
73544
|
+
value: z
|
|
73545
73545
|
},
|
|
73546
73546
|
null
|
|
73547
73547
|
), this.lastExecutionResults.writeValue(
|
|
@@ -73628,13 +73628,13 @@ class Ko extends ku {
|
|
|
73628
73628
|
S.Return
|
|
73629
73629
|
].includes(q.value))
|
|
73630
73630
|
break;
|
|
73631
|
-
|
|
73631
|
+
z++;
|
|
73632
73632
|
}
|
|
73633
73633
|
break;
|
|
73634
73634
|
}
|
|
73635
73635
|
case pe.loop["object-keys-loop"].id: {
|
|
73636
73636
|
const ae = L[0];
|
|
73637
|
-
let
|
|
73637
|
+
let z = 1;
|
|
73638
73638
|
const ue = ae ? Object.keys(ae) : [];
|
|
73639
73639
|
for (let te = 0; te < ue.length; te++) {
|
|
73640
73640
|
const le = ue[te], he = i.body.inputs.map((X) => {
|
|
@@ -73645,7 +73645,7 @@ class Ko extends ku {
|
|
|
73645
73645
|
if (fe)
|
|
73646
73646
|
return fe.metaSync(
|
|
73647
73647
|
{
|
|
73648
|
-
value:
|
|
73648
|
+
value: z
|
|
73649
73649
|
},
|
|
73650
73650
|
null
|
|
73651
73651
|
), this.lastExecutionResults.writeValue(X, fe), {
|
|
@@ -73663,7 +73663,7 @@ class Ko extends ku {
|
|
|
73663
73663
|
);
|
|
73664
73664
|
return Te == null || Te.metaSync(
|
|
73665
73665
|
{
|
|
73666
|
-
value:
|
|
73666
|
+
value: z
|
|
73667
73667
|
},
|
|
73668
73668
|
null
|
|
73669
73669
|
), this.lastExecutionResults.writeValue(
|
|
@@ -73750,13 +73750,13 @@ class Ko extends ku {
|
|
|
73750
73750
|
S.Return
|
|
73751
73751
|
].includes(q.value))
|
|
73752
73752
|
break;
|
|
73753
|
-
|
|
73753
|
+
z++;
|
|
73754
73754
|
}
|
|
73755
73755
|
break;
|
|
73756
73756
|
}
|
|
73757
73757
|
case pe.loop["object-values-loop"].id: {
|
|
73758
73758
|
const ae = L[0];
|
|
73759
|
-
let
|
|
73759
|
+
let z = 1;
|
|
73760
73760
|
const ue = ae ? Object.values(ae) : [];
|
|
73761
73761
|
for (let te = 0; te < ue.length; te++) {
|
|
73762
73762
|
const le = ue[te], he = i.body.inputs.map((X) => {
|
|
@@ -73767,7 +73767,7 @@ class Ko extends ku {
|
|
|
73767
73767
|
if (fe)
|
|
73768
73768
|
return fe.metaSync(
|
|
73769
73769
|
{
|
|
73770
|
-
value:
|
|
73770
|
+
value: z
|
|
73771
73771
|
},
|
|
73772
73772
|
null
|
|
73773
73773
|
), this.lastExecutionResults.writeValue(X, fe), {
|
|
@@ -73785,7 +73785,7 @@ class Ko extends ku {
|
|
|
73785
73785
|
);
|
|
73786
73786
|
return Te == null || Te.metaSync(
|
|
73787
73787
|
{
|
|
73788
|
-
value:
|
|
73788
|
+
value: z
|
|
73789
73789
|
},
|
|
73790
73790
|
null
|
|
73791
73791
|
), this.lastExecutionResults.writeValue(
|
|
@@ -73872,13 +73872,13 @@ class Ko extends ku {
|
|
|
73872
73872
|
S.Return
|
|
73873
73873
|
].includes(q.value))
|
|
73874
73874
|
break;
|
|
73875
|
-
|
|
73875
|
+
z++;
|
|
73876
73876
|
}
|
|
73877
73877
|
break;
|
|
73878
73878
|
}
|
|
73879
73879
|
case pe.loop["string-loop"].id: {
|
|
73880
73880
|
const ae = L[0];
|
|
73881
|
-
let
|
|
73881
|
+
let z = 1;
|
|
73882
73882
|
const ue = ae.split("");
|
|
73883
73883
|
for (let te = 0; te < ue.length; te++) {
|
|
73884
73884
|
const le = ue[te], he = i.body.inputs.map((X) => {
|
|
@@ -73889,7 +73889,7 @@ class Ko extends ku {
|
|
|
73889
73889
|
if (fe)
|
|
73890
73890
|
return fe.metaSync(
|
|
73891
73891
|
{
|
|
73892
|
-
value:
|
|
73892
|
+
value: z
|
|
73893
73893
|
},
|
|
73894
73894
|
null
|
|
73895
73895
|
), this.lastExecutionResults.writeValue(X, fe), {
|
|
@@ -73907,7 +73907,7 @@ class Ko extends ku {
|
|
|
73907
73907
|
);
|
|
73908
73908
|
return Te == null || Te.metaSync(
|
|
73909
73909
|
{
|
|
73910
|
-
value:
|
|
73910
|
+
value: z
|
|
73911
73911
|
},
|
|
73912
73912
|
null
|
|
73913
73913
|
), this.lastExecutionResults.writeValue(
|
|
@@ -73994,7 +73994,7 @@ class Ko extends ku {
|
|
|
73994
73994
|
S.Return
|
|
73995
73995
|
].includes(q.value))
|
|
73996
73996
|
break;
|
|
73997
|
-
|
|
73997
|
+
z++;
|
|
73998
73998
|
}
|
|
73999
73999
|
break;
|
|
74000
74000
|
}
|
|
@@ -74007,12 +74007,12 @@ class Ko extends ku {
|
|
|
74007
74007
|
error: ((v = (y = q.error) == null ? void 0 : y.value) == null ? void 0 : v.value) || null,
|
|
74008
74008
|
result: ((I = (T = q == null ? void 0 : q.result) == null ? void 0 : T.value) == null ? void 0 : I.value) || null
|
|
74009
74009
|
}, N.error && i.error) {
|
|
74010
|
-
const ae = (E = i.error) == null ? void 0 : E.getDataType(null),
|
|
74010
|
+
const ae = (E = i.error) == null ? void 0 : E.getDataType(null), z = rt(
|
|
74011
74011
|
ae || null,
|
|
74012
74012
|
i.error,
|
|
74013
74013
|
l
|
|
74014
74014
|
);
|
|
74015
|
-
ae != null && ae.asType ?
|
|
74015
|
+
ae != null && ae.asType ? z == null || z.setValueAsTypeSingle(N.error) : z == null || z.metaSync(
|
|
74016
74016
|
{
|
|
74017
74017
|
value: N.error
|
|
74018
74018
|
},
|
|
@@ -74022,7 +74022,7 @@ class Ko extends ku {
|
|
|
74022
74022
|
valueOwner: i.error,
|
|
74023
74023
|
type: _e.ExecutionResult,
|
|
74024
74024
|
inheritanceLink: null,
|
|
74025
|
-
value:
|
|
74025
|
+
value: z
|
|
74026
74026
|
};
|
|
74027
74027
|
return {
|
|
74028
74028
|
value: N.value,
|
|
@@ -74053,7 +74053,7 @@ class Ko extends ku {
|
|
|
74053
74053
|
}
|
|
74054
74054
|
};
|
|
74055
74055
|
} catch (N) {
|
|
74056
|
-
if (
|
|
74056
|
+
if (J.warn("Error executing loop: ", N), i.error) {
|
|
74057
74057
|
const L = (D = i.error) == null ? void 0 : D.getDataType(null), M = rt(
|
|
74058
74058
|
L,
|
|
74059
74059
|
i.error,
|
|
@@ -74104,7 +74104,7 @@ class Ko extends ku {
|
|
|
74104
74104
|
);
|
|
74105
74105
|
let I = null;
|
|
74106
74106
|
if (T.error && i.error) {
|
|
74107
|
-
|
|
74107
|
+
J.warn("Raw error executing entity: ", T.error);
|
|
74108
74108
|
const E = (y = i.error) == null ? void 0 : y.getDataType(null), D = rt(
|
|
74109
74109
|
E || null,
|
|
74110
74110
|
i.error,
|
|
@@ -74160,7 +74160,7 @@ class Ko extends ku {
|
|
|
74160
74160
|
}
|
|
74161
74161
|
}
|
|
74162
74162
|
async executeCondition(i, a) {
|
|
74163
|
-
var c, e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae,
|
|
74163
|
+
var c, e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X, fe, Ee, Te, Ce, be, Ie, De, Ne, Le, ke, ot, Se, xt, _t, hi, Mi, Hi, Xr, vr, jt, Ai, qs, Zs, Np, fo, xp;
|
|
74164
74164
|
let l = !1;
|
|
74165
74165
|
switch (i.declaration.id) {
|
|
74166
74166
|
case Or.Empty: {
|
|
@@ -74185,7 +74185,7 @@ class Ko extends ku {
|
|
|
74185
74185
|
break;
|
|
74186
74186
|
}
|
|
74187
74187
|
if (((K = (M = a[0]) == null ? void 0 : M.value) == null ? void 0 : K.name) === ie.KeyValue || ((Z = (q = a[0]) == null ? void 0 : q.value) == null ? void 0 : Z.name) === ie.Untyped) {
|
|
74188
|
-
const ia = (ae = (H = a[0]) == null ? void 0 : H.value) == null ? void 0 : ae.value, Vr = (ue = (
|
|
74188
|
+
const ia = (ae = (H = a[0]) == null ? void 0 : H.value) == null ? void 0 : ae.value, Vr = (ue = (z = a[1]) == null ? void 0 : z.value) == null ? void 0 : ue.value;
|
|
74189
74189
|
l = JSON.stringify(ia) === JSON.stringify(Vr);
|
|
74190
74190
|
break;
|
|
74191
74191
|
}
|
|
@@ -74421,19 +74421,19 @@ class Ko extends ku {
|
|
|
74421
74421
|
Z
|
|
74422
74422
|
);
|
|
74423
74423
|
else {
|
|
74424
|
-
const
|
|
74424
|
+
const z = rt(
|
|
74425
74425
|
M.getDataType(null),
|
|
74426
74426
|
M,
|
|
74427
74427
|
this.project
|
|
74428
74428
|
);
|
|
74429
|
-
|
|
74429
|
+
z == null || z.metaSync(
|
|
74430
74430
|
{
|
|
74431
74431
|
value: L[ae]
|
|
74432
74432
|
},
|
|
74433
74433
|
null
|
|
74434
74434
|
), this.lastExecutionResults.writeValue(
|
|
74435
74435
|
M.declaration,
|
|
74436
|
-
|
|
74436
|
+
z
|
|
74437
74437
|
);
|
|
74438
74438
|
}
|
|
74439
74439
|
}
|
|
@@ -74541,19 +74541,19 @@ class Ko extends ku {
|
|
|
74541
74541
|
Z
|
|
74542
74542
|
);
|
|
74543
74543
|
else {
|
|
74544
|
-
const
|
|
74544
|
+
const z = rt(
|
|
74545
74545
|
M.getDataType(null),
|
|
74546
74546
|
M,
|
|
74547
74547
|
this.project
|
|
74548
74548
|
);
|
|
74549
|
-
|
|
74549
|
+
z == null || z.metaSync(
|
|
74550
74550
|
{
|
|
74551
74551
|
value: L[ae]
|
|
74552
74552
|
},
|
|
74553
74553
|
null
|
|
74554
74554
|
), this.lastExecutionResults.writeValue(
|
|
74555
74555
|
M.declaration,
|
|
74556
|
-
|
|
74556
|
+
z
|
|
74557
74557
|
);
|
|
74558
74558
|
}
|
|
74559
74559
|
}
|
|
@@ -74661,19 +74661,19 @@ class Ko extends ku {
|
|
|
74661
74661
|
Z
|
|
74662
74662
|
);
|
|
74663
74663
|
else {
|
|
74664
|
-
const
|
|
74664
|
+
const z = rt(
|
|
74665
74665
|
M.getDataType(null),
|
|
74666
74666
|
M,
|
|
74667
74667
|
this.project
|
|
74668
74668
|
);
|
|
74669
|
-
|
|
74669
|
+
z == null || z.metaSync(
|
|
74670
74670
|
{
|
|
74671
74671
|
value: L[ae]
|
|
74672
74672
|
},
|
|
74673
74673
|
null
|
|
74674
74674
|
), this.lastExecutionResults.writeValue(
|
|
74675
74675
|
M.declaration,
|
|
74676
|
-
|
|
74676
|
+
z
|
|
74677
74677
|
);
|
|
74678
74678
|
}
|
|
74679
74679
|
}
|
|
@@ -74764,19 +74764,19 @@ class Ko extends ku {
|
|
|
74764
74764
|
Z
|
|
74765
74765
|
);
|
|
74766
74766
|
else {
|
|
74767
|
-
const
|
|
74767
|
+
const z = rt(
|
|
74768
74768
|
M.getDataType(null),
|
|
74769
74769
|
M,
|
|
74770
74770
|
this.project
|
|
74771
74771
|
);
|
|
74772
|
-
|
|
74772
|
+
z == null || z.metaSync(
|
|
74773
74773
|
{
|
|
74774
74774
|
value: L[ae]
|
|
74775
74775
|
},
|
|
74776
74776
|
null
|
|
74777
74777
|
), this.lastExecutionResults.writeValue(
|
|
74778
74778
|
M.declaration,
|
|
74779
|
-
|
|
74779
|
+
z
|
|
74780
74780
|
);
|
|
74781
74781
|
}
|
|
74782
74782
|
}
|
|
@@ -77363,7 +77363,7 @@ class vBt {
|
|
|
77363
77363
|
}
|
|
77364
77364
|
onUpdate(u) {
|
|
77365
77365
|
var i;
|
|
77366
|
-
if (
|
|
77366
|
+
if (J.log("onUpdate", u), (i = u.payload) != null && i.stepType) {
|
|
77367
77367
|
const a = this.steps.find(
|
|
77368
77368
|
(l) => {
|
|
77369
77369
|
var c;
|
|
@@ -78199,7 +78199,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78199
78199
|
)
|
|
78200
78200
|
)) {
|
|
78201
78201
|
if (!this.checkCanEdit(this))
|
|
78202
|
-
return
|
|
78202
|
+
return J.warn(
|
|
78203
78203
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78204
78204
|
), a == null || a.attemptAutoclose(
|
|
78205
78205
|
O.UpdateWithShallowTransfer,
|
|
@@ -78332,7 +78332,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78332
78332
|
)) {
|
|
78333
78333
|
var be;
|
|
78334
78334
|
if (!this.checkCanEdit(this))
|
|
78335
|
-
return
|
|
78335
|
+
return J.warn(
|
|
78336
78336
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78337
78337
|
), i == null || i.attemptAutoclose(
|
|
78338
78338
|
O.AfterAllChildrenInitialized,
|
|
@@ -78380,10 +78380,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78380
78380
|
const {
|
|
78381
78381
|
added: H,
|
|
78382
78382
|
updated: ae,
|
|
78383
|
-
removed:
|
|
78383
|
+
removed: z,
|
|
78384
78384
|
affected: ue
|
|
78385
78385
|
} = this.removeUnrecognizedInputs(i);
|
|
78386
|
-
l.push(...H), a.push(...ae), c.push(...
|
|
78386
|
+
l.push(...H), a.push(...ae), c.push(...z), e.push(...ue);
|
|
78387
78387
|
const {
|
|
78388
78388
|
added: te,
|
|
78389
78389
|
updated: le,
|
|
@@ -78524,7 +78524,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78524
78524
|
)
|
|
78525
78525
|
)) {
|
|
78526
78526
|
if (!this.checkCanEdit(this))
|
|
78527
|
-
return
|
|
78527
|
+
return J.warn(
|
|
78528
78528
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78529
78529
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
78530
78530
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -78540,7 +78540,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78540
78540
|
O.AddInput
|
|
78541
78541
|
)
|
|
78542
78542
|
)) {
|
|
78543
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
78543
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
78544
78544
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78545
78545
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
78546
78546
|
}
|
|
@@ -78554,7 +78554,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78554
78554
|
"add-output"
|
|
78555
78555
|
)
|
|
78556
78556
|
)) {
|
|
78557
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
78557
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
78558
78558
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78559
78559
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
78560
78560
|
}
|
|
@@ -78569,7 +78569,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78569
78569
|
)
|
|
78570
78570
|
)) {
|
|
78571
78571
|
if (!this.checkCanEdit(this))
|
|
78572
|
-
return
|
|
78572
|
+
return J.warn(
|
|
78573
78573
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78574
78574
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
78575
78575
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -78858,7 +78858,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78858
78858
|
i,
|
|
78859
78859
|
O.SetValueWriter,
|
|
78860
78860
|
a
|
|
78861
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
78861
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
78862
78862
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78863
78863
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
78864
78864
|
}
|
|
@@ -78965,7 +78965,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
78965
78965
|
)
|
|
78966
78966
|
)) {
|
|
78967
78967
|
if (!this.checkCanEdit(this))
|
|
78968
|
-
return
|
|
78968
|
+
return J.warn(
|
|
78969
78969
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
78970
78970
|
), i == null || i.attemptAutoclose(
|
|
78971
78971
|
O.RemoveFromParent,
|
|
@@ -79007,7 +79007,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79007
79007
|
)) {
|
|
79008
79008
|
var v;
|
|
79009
79009
|
if (!this.checkCanDelete(this))
|
|
79010
|
-
return
|
|
79010
|
+
return J.warn(
|
|
79011
79011
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
79012
79012
|
), a == null || a.event({
|
|
79013
79013
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -79111,7 +79111,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79111
79111
|
)
|
|
79112
79112
|
)) {
|
|
79113
79113
|
if (!this.checkCanEdit(this))
|
|
79114
|
-
return
|
|
79114
|
+
return J.warn(
|
|
79115
79115
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
79116
79116
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
79117
79117
|
const a = [], l = [], c = [], e = [];
|
|
@@ -79478,7 +79478,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79478
79478
|
)
|
|
79479
79479
|
)) {
|
|
79480
79480
|
if (!this.checkCanEdit(this))
|
|
79481
|
-
return
|
|
79481
|
+
return J.warn(
|
|
79482
79482
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
79483
79483
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
79484
79484
|
const l = this.defaultValue;
|
|
@@ -79558,7 +79558,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79558
79558
|
)
|
|
79559
79559
|
)) {
|
|
79560
79560
|
if (!this.checkCanEdit(this))
|
|
79561
|
-
return
|
|
79561
|
+
return J.warn(
|
|
79562
79562
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
79563
79563
|
), i == null || i.attemptAutoclose(
|
|
79564
79564
|
O.RemoveUnrecognizedInputs,
|
|
@@ -79612,7 +79612,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79612
79612
|
)
|
|
79613
79613
|
)) {
|
|
79614
79614
|
if (!this.checkCanEdit(this))
|
|
79615
|
-
return
|
|
79615
|
+
return J.warn(
|
|
79616
79616
|
`[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
79617
79617
|
), i == null || i.attemptAutoclose(
|
|
79618
79618
|
O.RemoveUnrecognizedOutputs,
|
|
@@ -79857,7 +79857,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
79857
79857
|
)
|
|
79858
79858
|
)) {
|
|
79859
79859
|
if (!this.checkCanEdit(this))
|
|
79860
|
-
return
|
|
79860
|
+
return J.warn(
|
|
79861
79861
|
`[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
79862
79862
|
), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
|
|
79863
79863
|
updated: [],
|
|
@@ -80542,7 +80542,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80542
80542
|
)
|
|
80543
80543
|
)) {
|
|
80544
80544
|
if (!this.checkCanEdit(this))
|
|
80545
|
-
return
|
|
80545
|
+
return J.warn(
|
|
80546
80546
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80547
80547
|
), a == null || a.attemptAutoclose(
|
|
80548
80548
|
O.UpdateWithShallowTransfer,
|
|
@@ -80658,7 +80658,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80658
80658
|
)
|
|
80659
80659
|
)) {
|
|
80660
80660
|
if (!this.checkCanEdit(this))
|
|
80661
|
-
return
|
|
80661
|
+
return J.warn(
|
|
80662
80662
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80663
80663
|
), i == null || i.attemptAutoclose(
|
|
80664
80664
|
O.AfterAllChildrenInitialized,
|
|
@@ -80704,10 +80704,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80704
80704
|
const {
|
|
80705
80705
|
added: H,
|
|
80706
80706
|
updated: ae,
|
|
80707
|
-
removed:
|
|
80707
|
+
removed: z,
|
|
80708
80708
|
affected: ue
|
|
80709
80709
|
} = this.removeUnrecognizedInputs(i);
|
|
80710
|
-
l.push(...H), a.push(...ae), c.push(...
|
|
80710
|
+
l.push(...H), a.push(...ae), c.push(...z), e.push(...ue);
|
|
80711
80711
|
const {
|
|
80712
80712
|
added: te,
|
|
80713
80713
|
updated: le,
|
|
@@ -80867,7 +80867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80867
80867
|
)
|
|
80868
80868
|
)) {
|
|
80869
80869
|
if (!this.checkCanEdit(this))
|
|
80870
|
-
return
|
|
80870
|
+
return J.warn(
|
|
80871
80871
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80872
80872
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
80873
80873
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -80883,7 +80883,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80883
80883
|
O.AddInput
|
|
80884
80884
|
)
|
|
80885
80885
|
)) {
|
|
80886
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
80886
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
80887
80887
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80888
80888
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
80889
80889
|
}
|
|
@@ -80897,7 +80897,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80897
80897
|
"add-output"
|
|
80898
80898
|
)
|
|
80899
80899
|
)) {
|
|
80900
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
80900
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
80901
80901
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80902
80902
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
80903
80903
|
}
|
|
@@ -80912,7 +80912,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
80912
80912
|
)
|
|
80913
80913
|
)) {
|
|
80914
80914
|
if (!this.checkCanEdit(this))
|
|
80915
|
-
return
|
|
80915
|
+
return J.warn(
|
|
80916
80916
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
80917
80917
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
80918
80918
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -81216,7 +81216,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81216
81216
|
i,
|
|
81217
81217
|
O.SetValueWriter,
|
|
81218
81218
|
a
|
|
81219
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
81219
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
81220
81220
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
81221
81221
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
81222
81222
|
}
|
|
@@ -81267,7 +81267,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81267
81267
|
"infer-data-type-and-sync-instances-inputs-and-outputs"
|
|
81268
81268
|
)
|
|
81269
81269
|
)) {
|
|
81270
|
-
var q, Z, H, ae,
|
|
81270
|
+
var q, Z, H, ae, z, ue, te;
|
|
81271
81271
|
const a = [], l = [], c = [], e = [];
|
|
81272
81272
|
if (!this.dataType) {
|
|
81273
81273
|
const le = Wr.new(i);
|
|
@@ -81302,7 +81302,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81302
81302
|
v.find(
|
|
81303
81303
|
(X) => Y(X, this.project) === Y(le, this.project)
|
|
81304
81304
|
) || v.push(le);
|
|
81305
|
-
}), (!((H = this.dataType) != null && H.entity) || ((
|
|
81305
|
+
}), (!((H = this.dataType) != null && H.entity) || ((z = (ae = this.dataType) == null ? void 0 : ae.entity) == null ? void 0 : z.type) === p.DefinitionEntity && ((ue = this.dataType) == null ? void 0 : ue.entity.parent) === this.dataType) && ((te = this.dataType) == null || te.inferFromInputs(v, i)), !this.dataType)
|
|
81306
81306
|
return i == null || i.attemptAutoclose(
|
|
81307
81307
|
"infer-data-type-and-sync-instances-inputs-and-outputs",
|
|
81308
81308
|
this.id
|
|
@@ -81418,7 +81418,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81418
81418
|
)
|
|
81419
81419
|
)) {
|
|
81420
81420
|
if (!this.checkCanEdit(this))
|
|
81421
|
-
return
|
|
81421
|
+
return J.warn(
|
|
81422
81422
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
81423
81423
|
), i == null || i.attemptAutoclose(
|
|
81424
81424
|
O.RemoveFromParent,
|
|
@@ -81460,7 +81460,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81460
81460
|
)) {
|
|
81461
81461
|
var v;
|
|
81462
81462
|
if (!this.checkCanDelete(this))
|
|
81463
|
-
return
|
|
81463
|
+
return J.warn(
|
|
81464
81464
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
81465
81465
|
), a == null || a.event({
|
|
81466
81466
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -81573,7 +81573,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81573
81573
|
)
|
|
81574
81574
|
)) {
|
|
81575
81575
|
if (!this.checkCanEdit(this))
|
|
81576
|
-
return
|
|
81576
|
+
return J.warn(
|
|
81577
81577
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
81578
81578
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
81579
81579
|
const a = [], l = [], c = [], e = [];
|
|
@@ -81975,7 +81975,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
81975
81975
|
)
|
|
81976
81976
|
)) {
|
|
81977
81977
|
if (!this.checkCanEdit(this))
|
|
81978
|
-
return
|
|
81978
|
+
return J.warn(
|
|
81979
81979
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
81980
81980
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
81981
81981
|
const l = this.defaultValue;
|
|
@@ -82104,7 +82104,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
82104
82104
|
)) {
|
|
82105
82105
|
var v;
|
|
82106
82106
|
if (!this.checkCanEdit(this))
|
|
82107
|
-
return
|
|
82107
|
+
return J.warn(
|
|
82108
82108
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
82109
82109
|
), i == null || i.attemptAutoclose(
|
|
82110
82110
|
O.RemoveUnrecognizedInputs,
|
|
@@ -82181,7 +82181,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
82181
82181
|
)) {
|
|
82182
82182
|
var v;
|
|
82183
82183
|
if (!this.checkCanEdit(this))
|
|
82184
|
-
return
|
|
82184
|
+
return J.warn(
|
|
82185
82185
|
`[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
82186
82186
|
), i == null || i.attemptAutoclose(
|
|
82187
82187
|
O.RemoveUnrecognizedOutputs,
|
|
@@ -82445,7 +82445,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
82445
82445
|
)
|
|
82446
82446
|
)) {
|
|
82447
82447
|
if (!this.checkCanEdit(this))
|
|
82448
|
-
return
|
|
82448
|
+
return J.warn(
|
|
82449
82449
|
`[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
82450
82450
|
), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
|
|
82451
82451
|
updated: [],
|
|
@@ -82592,7 +82592,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
82592
82592
|
)
|
|
82593
82593
|
)) {
|
|
82594
82594
|
if (!this.checkCanEdit(this))
|
|
82595
|
-
return
|
|
82595
|
+
return J.warn(
|
|
82596
82596
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
82597
82597
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
82598
82598
|
const l = this.dataType;
|
|
@@ -82608,7 +82608,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
82608
82608
|
O.RemoveDataType
|
|
82609
82609
|
)
|
|
82610
82610
|
)) {
|
|
82611
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
82611
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
82612
82612
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
82613
82613
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
82614
82614
|
}
|
|
@@ -84346,7 +84346,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
|
|
|
84346
84346
|
};
|
|
84347
84347
|
function a(l, c) {
|
|
84348
84348
|
c = c !== void 0 ? c : {};
|
|
84349
|
-
var e = {}, y = c.grammarSource, v = { start: BR }, T = BR, I = ";", E = ",", D = ".", N = "*", L = "=", M = ":", K = "[", q = "]", Z = "<", H = ">", ae = ":=",
|
|
84349
|
+
var e = {}, y = c.grammarSource, v = { start: BR }, T = BR, I = ";", E = ",", D = ".", N = "*", L = "=", M = ":", K = "[", q = "]", Z = "<", H = ">", ae = ":=", z = "||", ue = "&&", te = ">=", le = "<=", he = "<>", X = "!=", fe = "<=>", Ee = "==", Te = "||/", Ce = "|/", be = ">>", Ie = "<<", De = "!~~*", Ne = "~~*", Le = "!~~", ke = "~~", ot = "!~*", Se = "~*", xt = "!~", _t = "^@", hi = "->>", Mi = "->", Hi = "#>>", Xr = "#>", vr = "@>", jt = "<@", Ai = "?|", qs = "?&", Zs = "#-", Np = "@?", fo = "@@", xp = "!", ia = "~", Vr = "@", Nd = "#", Lp = "&", wv = "|", yo = "`", Rv = "?", Cv = "/", _v = "%", xd = "^", Ld = "-", Vy = "+", Ny = "::", It = "(", gt = ")", F1 = "=>", pn = "$", K1 = "``", q1 = "]]", Nn = "_", ho = `
|
|
84350
84350
|
`, _s = "'", vG = "E", xy = "U&", Ly = "''", ra = '"', My = '""', pl = "'''", cl = '"""', Z1 = "\\n", W1 = "\\r", H1 = "\\t", J1 = "\\b", z1 = "\\f", Y1 = "\\v", S1 = "\\a", mo = "\\", gv = "x", TG = "u", bG = "U", X1 = "\\%", Q1 = "\\_", eR = "\\0", tR = "\\Z", EG = "n", AG = "r", IG = "rb", wG = "br", fl = "$$", iR = "b", Md = "0x", By = "0b", rR = "0o", Uy = "/*", cn = "*/", sR = "--", nR = `\r
|
|
84351
84351
|
`, RG = "abort", CG = "access", _G = "action", gG = "add", DG = "admin", OG = "after", $G = "against", PG = "all", VG = "alter", NG = "always", xG = "analyze", LG = "and", MG = "any", BG = "array", UG = "as", jG = "asc", GG = "assert", kG = "assignment", FG = "at", KG = "atomic", qG = "attach", ZG = "attribute", WG = "authorization", HG = "auto_increment", JG = "autoextend_size", zG = "autoincrement", YG = "avg_row_length", SG = "before", XG = "begin", QG = "bernoulli", ek = "between", tk = "bi_capacity", ik = "bigdecimal", rk = "bigint", sk = "bignumeric", nk = "binary", ak = "bit", lk = "blob", ok = "bool", dk = "boolean", uk = "breadth", pk = "break", ck = "by", fk = "bypassrls", yk = "byteint", hk = "bytes", mk = "cache", vk = "call", Tk = "called", bk = "capacity", Ek = "cascade", Ak = "cascaded", Ik = "case", wk = "cast", Rk = "century", Ck = "chain", _k = "char", gk = "character", Dk = "check", Ok = "checksum", $k = "clone", Pk = "cluster", Vk = "collate", Nk = "column", xk = "column_format", Lk = "columns", Mk = "comment", Bk = "comments", Uk = "commit", jk = "committed", Gk = "compact", kk = "compressed", Fk = "compression", Kk = "concurrently", qk = "conflict", Zk = "connect", Wk = "connection", Hk = "constraint", Jk = "constraints", zk = "continue", Yk = "copy", Sk = "cost", Xk = "create", Qk = "createdb", e3 = "createrole", t3 = "cross", i3 = "cube", r3 = "cume_dist", s3 = "current", n3 = "current_catalog", a3 = "current_date", l3 = "current_datetime", o3 = "current_role", d3 = "current_schema", u3 = "current_time", p3 = "current_timestamp", c3 = "current_user", f3 = "cycle", y3 = "data", h3 = "database", m3 = "date", v3 = "datetime", T3 = "day", b3 = "day_hour", E3 = "day_microsecond", A3 = "day_minute", I3 = "day_second", w3 = "dayofweek", R3 = "dayofyear", C3 = "dec", _3 = "decade", g3 = "decimal", D3 = "declare", O3 = "default", $3 = "defaults", P3 = "deferrable", V3 = "deferred", N3 = "definer", x3 = "delay_key_write", L3 = "delayed", M3 = "delete", B3 = "dense_rank", U3 = "depends", j3 = "depth", G3 = "desc", k3 = "describe", F3 = "detach", K3 = "deterministic", q3 = "directory", Z3 = "disable", W3 = "disk", H3 = "distinct", J3 = "distinctrow", z3 = "div", Y3 = "do", S3 = "domain", X3 = "double", Q3 = "dow", eF = "doy", tF = "drop", iF = "dual", rF = "dumpfile", sF = "duplicate", nF = "dynamic", aF = "each", lF = "else", oF = "elseif", dF = "enable", uF = "enclosed", pF = "encrypted", cF = "encryption", fF = "end", yF = "enforced", hF = "engine", mF = "engine_attribute", vF = "enum", TF = "epoch", bF = "error", EF = "escape", AF = "escaped", IF = "examined", wF = "except", RF = "exception", CF = "exclude", _F = "excluding", gF = "exclusive", DF = "execute", OF = "exists", $F = "expansion", PF = "explain", VF = "export", NF = "expression", xF = "extended", LF = "extension", MF = "external", BF = "extract", UF = "fail", jF = "false", GF = "fetch", kF = "fields", FF = "files", KF = "filter", qF = "first", ZF = "first_value", WF = "fixed", HF = "float", JF = "float64", zF = "following", YF = "for", SF = "force", XF = "foreign", QF = "format", e5 = "friday", t5 = "from", i5 = "full", r5 = "fulltext", s5 = "function", n5 = "functions", a5 = "generated", l5 = "geography", o5 = "glob", d5 = "global", u5 = "grant", p5 = "granted", c5 = "group", f5 = "grouping", y5 = "groups", h5 = "hash", m5 = "having", v5 = "high_priority", T5 = "hour", b5 = "hour_microsecond", E5 = "hour_minute", A5 = "hour_second", I5 = "identity", w5 = "if", R5 = "ignore", C5 = "ilike", _5 = "immediate", g5 = "immutable", D5 = "in", O5 = "include", $5 = "including", P5 = "increment", V5 = "index", N5 = "indexed", x5 = "indexes", L5 = "inherit", M5 = "inherits", B5 = "initially", U5 = "inner", j5 = "inout", G5 = "input", k5 = "insert", F5 = "insert_method", K5 = "instead", q5 = "int", Z5 = "int64", W5 = "integer", H5 = "intersect", J5 = "interval", z5 = "into", Y5 = "invisible", S5 = "invoker", X5 = "is", Q5 = "isnull", e6 = "isodow", t6 = "isolation", i6 = "isoweek", r6 = "isoyear", s6 = "iterate", n6 = "join", a6 = "json", l6 = "jsonb", o6 = "julian", d6 = "key", u6 = "key_block_size", p6 = "lag", c6 = "language", f6 = "large", y6 = "last", h6 = "last_value", m6 = "lateral", v6 = "lead", T6 = "leakproof", b6 = "leave", E6 = "left", A6 = "level", I6 = "like", w6 = "limit", R6 = "lines", C6 = "list", _6 = "load", g6 = "local", D6 = "localtime", O6 = "localtimestamp", $6 = "lock", P6 = "locked", V6 = "logged", N6 = "login", x6 = "longblob", L6 = "longtext", M6 = "loop", B6 = "low_priority", U6 = "main", j6 = "maintain", G6 = "match", k6 = "matched", F6 = "materialized", K6 = "max", q6 = "max_rows", Z6 = "maxvalue", W6 = "mediumblob", H6 = "mediumint", J6 = "mediumtext", z6 = "member", Y6 = "memory", S6 = "merge", X6 = "message", Q6 = "method", eK = "microsecond", tK = "microseconds", iK = "millennium", rK = "millisecond", sK = "milliseconds", nK = "min", aK = "min_rows", lK = "minute", oK = "minute_microsecond", dK = "minute_second", uK = "minvalue", pK = "mod", cK = "mode", fK = "modulus", yK = "monday", hK = "month", mK = "native", vK = "natural", TK = "nchar", bK = "new", EK = "next", AK = "nfc", IK = "nfd", wK = "nfkc", RK = "nfkd", CK = "no", _K = "nobypassrls", gK = "nocreatedb", DK = "nocreaterole", OK = "noinherit", $K = "nologin", PK = "none", VK = "noreplication", NK = "normalized", xK = "nosuperuser", LK = "not", MK = "nothing", BK = "notnull", UK = "nowait", jK = "nth_value", GK = "ntile", kK = "null", FK = "nulls", KK = "numeric", qK = "nvarchar", ZK = "object", WK = "of", HK = "offset", JK = "oids", zK = "old", YK = "on", SK = "only", XK = "operator", QK = "option", e7 = "optionally", t7 = "options", i7 = "or", r7 = "order", s7 = "ordinal", n7 = "ordinality", a7 = "organization", l7 = "others", o7 = "out", d7 = "outer", u7 = "outfile", p7 = "over", c7 = "overriding", f7 = "overwrite", y7 = "owned", h7 = "owner", m7 = "pack_keys", v7 = "parallel", T7 = "parameter", b7 = "partial", E7 = "partition", A7 = "password", I7 = "percent", w7 = "percent_rank", R7 = "permissive", C7 = "pivot", _7 = "plain", g7 = "plan", D7 = "policies", O7 = "policy", $7 = "pragma", P7 = "preceding", V7 = "precision", N7 = "preserve", x7 = "primary", L7 = "privileges", M7 = "procedure", B7 = "procedures", U7 = "project", j7 = "public", G7 = "qualify", k7 = "quarter", F7 = "query", K7 = "quick", q7 = "raise", Z7 = "range", W7 = "rank", H7 = "read", J7 = "real", z7 = "recursive", Y7 = "redundant", S7 = "references", X7 = "referencing", Q7 = "refresh", e9 = "regexp", t9 = "reindex", i9 = "release", r9 = "remainder", s9 = "remote", n9 = "rename", a9 = "repeat", l9 = "repeatable", o9 = "replace", d9 = "replica", u9 = "replication", p9 = "reservation", c9 = "reset", f9 = "respect", y9 = "restart", h9 = "restrict", m9 = "restricted", v9 = "restrictive", T9 = "return", b9 = "returning", E9 = "returns", A9 = "revoke", I9 = "right", w9 = "rlike", R9 = "role", C9 = "rollback", _9 = "rollup", g9 = "routine", D9 = "routines", O9 = "row", $9 = "row_format", P9 = "row_number", V9 = "rowid", N9 = "rows", x9 = "rule", L9 = "safe", M9 = "safe_cast", B9 = "safe_offset", U9 = "safe_ordinal", j9 = "saturday", G9 = "savepoint", k9 = "schema", F9 = "search", K9 = "second", q9 = "second_microsecond", Z9 = "secondary_engine_attribute", W9 = "security", H9 = "select", J9 = "sequence", z9 = "sequences", Y9 = "serializable", S9 = "server", X9 = "session", Q9 = "session_user", eq = "set", tq = "sets", iq = "share", rq = "similar", sq = "simple", nq = "skip", aq = "smallint", lq = "snapshot", oq = "some", dq = "sounds", uq = "source", pq = "spatial", cq = "sql_big_result", fq = "sql_buffer_result", yq = "sql_cache", hq = "sql_calc_found_rows", mq = "sql_no_cache", vq = "sql_small_result", Tq = "stable", bq = "start", Eq = "starting", Aq = "statement", Iq = "statistics", wq = "stats_auto_recalc", Rq = "stats_persistent", Cq = "stats_sample_pages", _q = "storage", gq = "stored", Dq = "straight_join", Oq = "strict", $q = "string", Pq = "struct", Vq = "sunday", Nq = "superuser", xq = "support", Lq = "symmetric", Mq = "sysid", Bq = "system", Uq = "system_time", jq = "system_user", Gq = "table", kq = "tables", Fq = "tablesample", Kq = "tablespace", qq = "target", Zq = "temp", Wq = "temporary", Hq = "terminated", Jq = "text", zq = "then", Yq = "thursday", Sq = "ties", Xq = "time", Qq = "timestamp", e8 = "timezone", t8 = "timezone_hour", i8 = "timezone_minute", r8 = "tinyblob", s8 = "tinyint", n8 = "tinytext", a8 = "to", l8 = "transaction", o8 = "transform", d8 = "trigger", u8 = "true", p8 = "truncate", c8 = "tuesday", f8 = "type", y8 = "uescape", h8 = "unbounded", m8 = "uncommitted", v8 = "union", T8 = "unique", b8 = "unknown", E8 = "unlogged", A8 = "unnest", I8 = "unpivot", w8 = "unsafe", R8 = "until", C8 = "update", _8 = "usage", g8 = "user", D8 = "using", O8 = "vacuum", $8 = "valid", P8 = "validate", V8 = "value", N8 = "values", x8 = "varbinary", L8 = "varchar", M8 = "variadic", B8 = "varying", U8 = "vector", j8 = "verbose", G8 = "view", k8 = "virtual", F8 = "visible", K8 = "volatile", q8 = "wednesday", Z8 = "week", W8 = "when", H8 = "where", J8 = "while", z8 = "window", Y8 = "with", S8 = "without", X8 = "work", Q8 = "wrapper", eZ = "write", tZ = "xor", iZ = "year", rZ = "year_month", sZ = "zone", aR = /^[\-+*\/<>=~!@#%\^&|`?]/, lR = /^[^`]/, oR = /^[^`\\]/, dR = /^[^.`]/, uR = /^[^\]]/, nZ = /^[A-Za-z_]/, aZ = /^[A-Za-z_\x80-\uFFFF]/, Bd = /^[^'\\]/, Ud = /^[^']/, jd = /^[^"]/, Gd = /^[^"\\]/, cs = /^[0-7]/, sa = /^[01]/, lZ = /^[eE]/, oZ = /^[+\-]/, dZ = /^[0-9]/, uZ = /^[0-9a-fA-F]/, pR = /^[ \t]/, pZ = /^[\n\r]/, cR = /^[^;]/, kd = U(";", !1), Qr = SVe(), xe = U(",", !1), xn = U(".", !1), Mp = U("*", !1), fs = U("=", !1), vo = U(":", !1), Bp = U("[", !1), Up = U("]", !1), jy = U("<", !1), Gy = U(">", !1), fR = U(":=", !1), jp = U("||", !1), yR = U("&&", !1), Dv = U(">=", !1), Ov = U("<=", !1), $v = U("<>", !1), Pv = U("!=", !1), cZ = U("<=>", !1), fZ = U("==", !1), yZ = U("||/", !1), hZ = U("|/", !1), Vv = U(">>", !1), Nv = U("<<", !1), mZ = U("!~~*", !1), vZ = U("~~*", !1), TZ = U("!~~", !1), bZ = U("~~", !1), EZ = U("!~*", !1), AZ = U("~*", !1), IZ = U("!~", !1), wZ = U("^@", !1), hR = U("->>", !1), mR = U("->", !1), RZ = U("#>>", !1), CZ = U("#>", !1), _Z = U("@>", !1), gZ = U("<@", !1), DZ = U("?|", !1), OZ = U("?&", !1), $Z = U("#-", !1), PZ = U("@?", !1), vR = U("@@", !1), TR = U("!", !1), ky = U("~", !1), Fd = U("@", !1), bR = U("#", !1), xv = U("&", !1), Lv = U("|", !1), To = U("`", !1), Mv = U("?", !1), ER = Nr(["-", "+", "*", "/", "<", ">", "=", "~", "!", "@", "#", "%", "^", "&", "|", "`", "?"], !1, !1), Bv = U("/", !1), Uv = U("%", !1), Kd = U("^", !1), qd = U("-", !1), Fy = U("+", !1), AR = U("::", !1), wt = U("(", !1), Dt = U(")", !1), VZ = U("=>", !1), fn = U("$", !1), NZ = Jy("identifier"), IR = Nr(["`"], !0, !1), xZ = U("``", !1), wR = Nr(["`", "\\"], !0, !1), RR = Nr([".", "`"], !0, !1), CR = Nr(["]"], !0, !1), LZ = U("]]", !1), MZ = Nr([["A", "Z"], ["a", "z"], "_"], !1, !1), BZ = Nr([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1), UZ = Jy("string"), Ln = U("_", !1), bo = U(`
|
|
84352
84352
|
`, !1), gs = U("'", !1), Zd = Nr(["'", "\\"], !0, !1), jZ = U("E", !1), _R = U("U&", !1), Wd = Nr(["'"], !0, !1), gR = U("''", !1), na = U('"', !1), Hd = Nr(['"'], !0, !1), DR = U('""', !1), Jd = Nr(['"', "\\"], !0, !1), Ky = U("'''", !1), qy = U('"""', !1), GZ = U("\\n", !1), kZ = U("\\r", !1), FZ = U("\\t", !1), KZ = U("\\b", !1), qZ = U("\\f", !1), ZZ = U("\\v", !1), WZ = U("\\a", !1), Eo = U("\\", !1), ys = Nr([["0", "7"]], !1, !1), HZ = U("x", !1), JZ = U("x", !0), zZ = U("u", !1), YZ = U("U", !1), SZ = U("\\%", !1), XZ = U("\\_", !1), QZ = U("\\0", !1), eW = U("\\Z", !1), tW = U("N", !0), iW = U("R", !0), rW = U("RB", !0), sW = U("BR", !0), Zy = U("$$", !1), nW = U("B", !0), aW = U("X", !0), lW = U("b", !0), aa = Nr(["0", "1"], !1, !1), oW = Jy("number"), jv = U("0x", !1), OR = U("0b", !1), dW = U("0o", !1), uW = Nr(["e", "E"], !1, !1), pW = Nr(["+", "-"], !1, !1), cW = Nr([["0", "9"]], !1, !1), fW = Nr([["0", "9"], ["a", "f"], ["A", "F"]], !1, !1), yW = Jy("whitespace"), $R = U("/*", !1), zd = U("*/", !1), hW = U("--", !1), PR = Nr([" ", " "], !1, !1), mW = U(`\r
|
|
@@ -95611,8 +95611,8 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
|
|
|
95611
95611
|
function Z4e() {
|
|
95612
95612
|
var t, n, s, o, f, h, b, C;
|
|
95613
95613
|
if (t = r, n = sb(), n !== e) {
|
|
95614
|
-
for (s = [], o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) ===
|
|
95615
|
-
s.push(o), o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) ===
|
|
95614
|
+
for (s = [], o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e); o !== e; )
|
|
95615
|
+
s.push(o), o = r, f = A(), h = ms(), h === e && (l.substr(r, 2) === z ? (h = z, r += 2) : (h = e, m === 0 && $(jp))), h !== e ? (b = A(), C = sb(), C !== e ? (f = [f, h, b, C], o = f) : (r = o, o = e)) : (r = o, o = e);
|
|
95616
95616
|
w = t, t = Ome(n, s);
|
|
95617
95617
|
} else
|
|
95618
95618
|
r = t, t = e;
|
|
@@ -95784,7 +95784,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
|
|
|
95784
95784
|
}
|
|
95785
95785
|
function fg() {
|
|
95786
95786
|
var t, n;
|
|
95787
|
-
return t = r, l.substr(r, 3) === Te ? (n = Te, r += 3) : (n = e, m === 0 && $(yZ)), n === e && (l.substr(r, 2) === Ce ? (n = Ce, r += 2) : (n = e, m === 0 && $(hZ)), n === e && (l.substr(r, 2) ===
|
|
95787
|
+
return t = r, l.substr(r, 3) === Te ? (n = Te, r += 3) : (n = e, m === 0 && $(yZ)), n === e && (l.substr(r, 2) === Ce ? (n = Ce, r += 2) : (n = e, m === 0 && $(hZ)), n === e && (l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n === e && (l.substr(r, 2) === be ? (n = be, r += 2) : (n = e, m === 0 && $(Vv)), n === e && (l.substr(r, 2) === Ie ? (n = Ie, r += 2) : (n = e, m === 0 && $(Nv)), n === e && (l.substr(r, 4) === De ? (n = De, r += 4) : (n = e, m === 0 && $(mZ)), n === e && (l.substr(r, 3) === Ne ? (n = Ne, r += 3) : (n = e, m === 0 && $(vZ)), n === e && (l.substr(r, 3) === Le ? (n = Le, r += 3) : (n = e, m === 0 && $(TZ)), n === e && (l.substr(r, 2) === ke ? (n = ke, r += 2) : (n = e, m === 0 && $(bZ)), n === e && (l.substr(r, 3) === ot ? (n = ot, r += 3) : (n = e, m === 0 && $(EZ)), n === e && (l.substr(r, 2) === Se ? (n = Se, r += 2) : (n = e, m === 0 && $(AZ)), n === e && (l.substr(r, 2) === xt ? (n = xt, r += 2) : (n = e, m === 0 && $(IZ)), n === e && (l.substr(r, 2) === _t ? (n = _t, r += 2) : (n = e, m === 0 && $(wZ)), n === e && (l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n === e && (l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n === e && (l.substr(r, 3) === Hi ? (n = Hi, r += 3) : (n = e, m === 0 && $(RZ)), n === e && (l.substr(r, 2) === Xr ? (n = Xr, r += 2) : (n = e, m === 0 && $(CZ)), n === e && (l.substr(r, 2) === vr ? (n = vr, r += 2) : (n = e, m === 0 && $(_Z)), n === e && (l.substr(r, 2) === jt ? (n = jt, r += 2) : (n = e, m === 0 && $(gZ)), n === e && (l.substr(r, 2) === Ai ? (n = Ai, r += 2) : (n = e, m === 0 && $(DZ)), n === e && (l.substr(r, 2) === qs ? (n = qs, r += 2) : (n = e, m === 0 && $(OZ)), n === e && (l.substr(r, 2) === Zs ? (n = Zs, r += 2) : (n = e, m === 0 && $($Z)), n === e && (l.substr(r, 2) === Np ? (n = Np, r += 2) : (n = e, m === 0 && $(PZ)), n === e && (l.substr(r, 2) === fo ? (n = fo, r += 2) : (n = e, m === 0 && $(vR)), n === e && (l.charCodeAt(r) === 33 ? (n = xp, r++) : (n = e, m === 0 && $(TR)), n === e && (l.charCodeAt(r) === 126 ? (n = ia, r++) : (n = e, m === 0 && $(ky)), n === e && (l.charCodeAt(r) === 64 ? (n = Vr, r++) : (n = e, m === 0 && $(Fd)), n === e && (l.charCodeAt(r) === 35 ? (n = Nd, r++) : (n = e, m === 0 && $(bR)), n === e && (l.charCodeAt(r) === 38 ? (n = Lp, r++) : (n = e, m === 0 && $(xv)), n === e && (l.charCodeAt(r) === 124 ? (n = wv, r++) : (n = e, m === 0 && $(Lv)), n === e && (l.charCodeAt(r) === 96 ? (n = yo, r++) : (n = e, m === 0 && $(To)), n === e && (l.charCodeAt(r) === 63 ? (n = Rv, r++) : (n = e, m === 0 && $(Mv))))))))))))))))))))))))))))))))), n !== e && (w = t, n = g0e(n)), t = n, t;
|
|
95788
95788
|
}
|
|
95789
95789
|
function Xp() {
|
|
95790
95790
|
var t, n, s, o;
|
|
@@ -95948,7 +95948,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
|
|
|
95948
95948
|
}
|
|
95949
95949
|
function mg() {
|
|
95950
95950
|
var t, n, s, o;
|
|
95951
|
-
return l.charCodeAt(r) === 42 ? (t = N, r++) : (t = e, m === 0 && $(Mp)), t === e && (l.charCodeAt(r) === 47 ? (t = Cv, r++) : (t = e, m === 0 && $(Bv)), t === e && (t = r, l.charCodeAt(r) === 37 ? (n = _v, r++) : (n = e, m === 0 && $(Uv)), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = H0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = D3e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = J0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = m5e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = z0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) ===
|
|
95951
|
+
return l.charCodeAt(r) === 42 ? (t = N, r++) : (t = e, m === 0 && $(Mp)), t === e && (l.charCodeAt(r) === 47 ? (t = Cv, r++) : (t = e, m === 0 && $(Bv)), t === e && (t = r, l.charCodeAt(r) === 37 ? (n = _v, r++) : (n = e, m === 0 && $(Uv)), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = H0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = D3e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = J0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, n = m5e(), n !== e ? (s = r, m++, o = Ge(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = z0e(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = Me(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = Y0e(n)) : (r = t, t = e)) : (r = t, t = e)))))), t;
|
|
95952
95952
|
}
|
|
95953
95953
|
function Tb() {
|
|
95954
95954
|
var t, n, s, o, f, h, b, C, F;
|
|
@@ -95975,7 +95975,7 @@ const wu = ls, QE = Iy, Ru = EU, B = vi, Ta = Wn, P = sv, xr = nv, Q$ = av, g =
|
|
|
95975
95975
|
}
|
|
95976
95976
|
function vg() {
|
|
95977
95977
|
var t, n, s, o;
|
|
95978
|
-
return t = r, l.substr(r, 2) ===
|
|
95978
|
+
return t = r, l.substr(r, 2) === z ? (n = z, r += 2) : (n = e, m === 0 && $(jp)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s !== e ? (w = t, t = eve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 3) === hi ? (n = hi, r += 3) : (n = e, m === 0 && $(hR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = tve(n)) : (r = t, t = e)) : (r = t, t = e), t === e && (t = r, l.substr(r, 2) === Mi ? (n = Mi, r += 2) : (n = e, m === 0 && $(mR)), n !== e ? (s = r, m++, o = it(), m--, o !== e ? (r = s, s = void 0) : s = e, s === e && (s = r, m++, o = Tl(), m--, o !== e ? (r = s, s = void 0) : s = e), s !== e ? (w = t, t = ive(n)) : (r = t, t = e)) : (r = t, t = e))), t;
|
|
95979
95979
|
}
|
|
95980
95980
|
function gh() {
|
|
95981
95981
|
var t, n, s, o, f, h;
|
|
@@ -101577,8 +101577,8 @@ function gVt() {
|
|
|
101577
101577
|
if (jP)
|
|
101578
101578
|
return gc;
|
|
101579
101579
|
jP = 1, Object.defineProperty(gc, "__esModule", { value: !0 }), gc.transformMap = void 0;
|
|
101580
|
-
const d = FPt(), u = KPt(), i = qPt(), a = ZPt(), l = WPt(), c = HPt(), e = JPt(), y = zPt(), v = YPt(), T = SPt(), I = XPt(), E = QPt(), D = eVt(), N = tVt(), L = iVt(), M = rVt(), K = sVt(), q = nVt(), Z = aVt(), H = lVt(), ae = oVt(),
|
|
101581
|
-
return gc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), le.selectMap), Ie.frameMap), M.insertMap), Ce.updateMap), v.deleteMap), Te.truncateMap), K.mergeMap), c.createTableMap), l.constraintMap), u.alterTableMap), d.alterActionMap), I.dropTableMap), De.renameTableMap), te.schemaMap), be.viewMap), L.indexMap), Ee.triggerMap), he.sequenceMap), X.typeMap), T.domainMap), ue.roleMap), q.policyMap), N.functionMap), ae.procedureMap),
|
|
101580
|
+
const d = FPt(), u = KPt(), i = qPt(), a = ZPt(), l = WPt(), c = HPt(), e = JPt(), y = zPt(), v = YPt(), T = SPt(), I = XPt(), E = QPt(), D = eVt(), N = tVt(), L = iVt(), M = rVt(), K = sVt(), q = nVt(), Z = aVt(), H = lVt(), ae = oVt(), z = dVt(), ue = uVt(), te = pVt(), le = cVt(), he = fVt(), X = yVt(), fe = hVt(), Ee = mVt(), Te = vVt(), Ce = TVt(), be = bVt(), Ie = EVt(), De = AVt(), Ne = IVt(), Le = wVt(), ke = RVt(), ot = CVt(), Se = _Vt(), xt = ov;
|
|
101581
|
+
return gc.transformMap = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, a.baseMap), le.selectMap), Ie.frameMap), M.insertMap), Ce.updateMap), v.deleteMap), Te.truncateMap), K.mergeMap), c.createTableMap), l.constraintMap), u.alterTableMap), d.alterActionMap), I.dropTableMap), De.renameTableMap), te.schemaMap), be.viewMap), L.indexMap), Ee.triggerMap), he.sequenceMap), X.typeMap), T.domainMap), ue.roleMap), q.policyMap), N.functionMap), ae.procedureMap), z.procClauseMap), i.analyzeMap), E.explainMap), fe.transactionMap), y.dclMap), H.proceduralLanguageMap), Z.preparedStatementsMap), Ne.otherClausesMap), ot.sqliteMap), Le.bigqueryMap), Se.mysqlMap), ke.postgresqlMap), D.exprMap), e.dataTypeMap), xt.unsupportedGrammarMap), gc;
|
|
101582
101582
|
}
|
|
101583
101583
|
var GP;
|
|
101584
101584
|
function fi() {
|
|
@@ -102940,7 +102940,7 @@ function f1(d, u, i, a, l, c = !1) {
|
|
|
102940
102940
|
};
|
|
102941
102941
|
}
|
|
102942
102942
|
function Aa(d, u, i, a, l = !1) {
|
|
102943
|
-
var e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae,
|
|
102943
|
+
var e, y, v, T, I, E, D, N, L, M, K, q, Z, H, ae, z;
|
|
102944
102944
|
if (!d)
|
|
102945
102945
|
return null;
|
|
102946
102946
|
const c = new CU(i);
|
|
@@ -103064,7 +103064,7 @@ function Aa(d, u, i, a, l = !1) {
|
|
|
103064
103064
|
if (fe) {
|
|
103065
103065
|
c.right = new Ii(i), c.right.source = fe, c.right.as = Tt(fe.as);
|
|
103066
103066
|
const Ee = new Ns(i);
|
|
103067
|
-
Ee.entity = ((Z = fe.parent) == null ? void 0 : Z.entity) || null, Ee.query = ((H = fe.parent) == null ? void 0 : H.query) || null, Ee.aggregation = ((ae = fe.parent) == null ? void 0 : ae.aggregation) || null, Ee.sourceType = ((
|
|
103067
|
+
Ee.entity = ((Z = fe.parent) == null ? void 0 : Z.entity) || null, Ee.query = ((H = fe.parent) == null ? void 0 : H.query) || null, Ee.aggregation = ((ae = fe.parent) == null ? void 0 : ae.aggregation) || null, Ee.sourceType = ((z = fe.parent) == null ? void 0 : z.sourceType) || null;
|
|
103068
103068
|
const Te = i.addDataSource(Ee);
|
|
103069
103069
|
if (c.right.parent = Te, l)
|
|
103070
103070
|
debugger;
|
|
@@ -103210,15 +103210,15 @@ function y1(d, u, i, a, l, c = {
|
|
|
103210
103210
|
ae.as = d.right.alias.text || Tt(
|
|
103211
103211
|
((M = (L = ae.statement) == null ? void 0 : L.from) == null ? void 0 : M.as) || ""
|
|
103212
103212
|
) || null;
|
|
103213
|
-
const
|
|
103213
|
+
const z = Lf(
|
|
103214
103214
|
H,
|
|
103215
103215
|
l,
|
|
103216
103216
|
null
|
|
103217
103217
|
);
|
|
103218
|
-
y.push(...
|
|
103218
|
+
y.push(...z.errors), ae.statement = z.state;
|
|
103219
103219
|
const ue = new Ns(a);
|
|
103220
103220
|
ue.query = ae, ue.sourceType = Wa.Query;
|
|
103221
|
-
const te = ((K =
|
|
103221
|
+
const te = ((K = z.state) == null ? void 0 : K.columns.map((fe) => {
|
|
103222
103222
|
const Ee = N.find(
|
|
103223
103223
|
(Te) => Te.from === Tt(fe.as)
|
|
103224
103224
|
);
|
|
@@ -103253,7 +103253,7 @@ function y1(d, u, i, a, l, c = {
|
|
|
103253
103253
|
} else if (d.right.expr.type === "identifier") {
|
|
103254
103254
|
const H = (q = c.onDescribeTable) == null ? void 0 : q.call(c, I), ae = new Ns(a);
|
|
103255
103255
|
if (H) {
|
|
103256
|
-
const
|
|
103256
|
+
const z = H.columns.map((le) => {
|
|
103257
103257
|
const he = N.find(
|
|
103258
103258
|
(X) => X.from === le.columnName
|
|
103259
103259
|
);
|
|
@@ -103265,7 +103265,7 @@ function y1(d, u, i, a, l, c = {
|
|
|
103265
103265
|
column: le
|
|
103266
103266
|
};
|
|
103267
103267
|
});
|
|
103268
|
-
T.push(...
|
|
103268
|
+
T.push(...z), ae.entity = H.entity, ae.sourceType = Wa.Table;
|
|
103269
103269
|
const ue = new Om(
|
|
103270
103270
|
a
|
|
103271
103271
|
), te = $m(
|
|
@@ -103294,7 +103294,7 @@ function y1(d, u, i, a, l, c = {
|
|
|
103294
103294
|
} else if (d.right.type === "identifier") {
|
|
103295
103295
|
const H = (Z = c.onDescribeTable) == null ? void 0 : Z.call(c, I), ae = new Ns(a);
|
|
103296
103296
|
if (H) {
|
|
103297
|
-
const
|
|
103297
|
+
const z = H.columns.map((le) => {
|
|
103298
103298
|
const he = N.find(
|
|
103299
103299
|
(X) => X.from === le.columnName
|
|
103300
103300
|
);
|
|
@@ -103306,7 +103306,7 @@ function y1(d, u, i, a, l, c = {
|
|
|
103306
103306
|
column: le
|
|
103307
103307
|
};
|
|
103308
103308
|
});
|
|
103309
|
-
T.push(...
|
|
103309
|
+
T.push(...z), ae.entity = H.entity, ae.sourceType = Wa.Table;
|
|
103310
103310
|
const ue = new Om(
|
|
103311
103311
|
a
|
|
103312
103312
|
), te = $m(
|
|
@@ -103661,13 +103661,13 @@ function Lf(d, u, i = null, a = !1) {
|
|
|
103661
103661
|
const Ee = new Zu(c);
|
|
103662
103662
|
Ee.parent = fe, c.addSelection(Ee);
|
|
103663
103663
|
});
|
|
103664
|
-
const
|
|
103664
|
+
const z = GU(
|
|
103665
103665
|
y,
|
|
103666
103666
|
c.columns,
|
|
103667
103667
|
c,
|
|
103668
103668
|
u
|
|
103669
103669
|
);
|
|
103670
|
-
c.where =
|
|
103670
|
+
c.where = z;
|
|
103671
103671
|
const ue = kU(
|
|
103672
103672
|
y
|
|
103673
103673
|
), te = FU(ue), le = KU(ue), he = qU(
|
|
@@ -103893,14 +103893,14 @@ function qP(d, u, i) {
|
|
|
103893
103893
|
} else {
|
|
103894
103894
|
let Z = null;
|
|
103895
103895
|
if (E.literalValue) {
|
|
103896
|
-
const
|
|
103896
|
+
const z = FP(
|
|
103897
103897
|
E.literalValue.valueType,
|
|
103898
103898
|
d.project
|
|
103899
103899
|
);
|
|
103900
|
-
|
|
103900
|
+
z && (Z = z);
|
|
103901
103901
|
} else if (E.property) {
|
|
103902
|
-
const
|
|
103903
|
-
((N =
|
|
103902
|
+
const z = E.property.getDataType(null);
|
|
103903
|
+
((N = z == null ? void 0 : z.entity) == null ? void 0 : N.type) === p.DefinitionEntity || ((L = z == null ? void 0 : z.entity) == null ? void 0 : L.type) === p.PrimitiveEntity ? Z = z == null ? void 0 : z.entity : Z = d.project.get(
|
|
103904
103904
|
pe["primitive-entity"].untyped.id
|
|
103905
103905
|
);
|
|
103906
103906
|
}
|
|
@@ -104587,7 +104587,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
104587
104587
|
)
|
|
104588
104588
|
)) {
|
|
104589
104589
|
if (!this.checkCanEdit(this))
|
|
104590
|
-
return
|
|
104590
|
+
return J.warn(
|
|
104591
104591
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
104592
104592
|
), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this;
|
|
104593
104593
|
if (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.unsubscribeFromDependencies(), i.parent) {
|
|
@@ -104675,7 +104675,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
104675
104675
|
)
|
|
104676
104676
|
)) {
|
|
104677
104677
|
if (!this.checkCanEdit(this))
|
|
104678
|
-
return
|
|
104678
|
+
return J.warn(
|
|
104679
104679
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
104680
104680
|
), i == null || i.attemptAutoclose(O.AfterAllChildrenInitialized, this.id), {
|
|
104681
104681
|
updated: [],
|
|
@@ -104781,7 +104781,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
104781
104781
|
O.AddInput
|
|
104782
104782
|
)
|
|
104783
104783
|
)) {
|
|
104784
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
104784
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
104785
104785
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
104786
104786
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
104787
104787
|
}
|
|
@@ -104867,7 +104867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
104867
104867
|
"add-output"
|
|
104868
104868
|
)
|
|
104869
104869
|
)) {
|
|
104870
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
104870
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
104871
104871
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
104872
104872
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
104873
104873
|
}
|
|
@@ -104882,7 +104882,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
104882
104882
|
)
|
|
104883
104883
|
)) {
|
|
104884
104884
|
if (!this.checkCanEdit(this))
|
|
104885
|
-
return
|
|
104885
|
+
return J.warn(
|
|
104886
104886
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
104887
104887
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
104888
104888
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -105170,7 +105170,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
105170
105170
|
)
|
|
105171
105171
|
)) {
|
|
105172
105172
|
if (!this.checkCanEdit(this))
|
|
105173
|
-
return
|
|
105173
|
+
return J.warn(
|
|
105174
105174
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
105175
105175
|
), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
|
|
105176
105176
|
added: [],
|
|
@@ -105209,7 +105209,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
105209
105209
|
)) {
|
|
105210
105210
|
var v;
|
|
105211
105211
|
if (!this.checkCanDelete(this))
|
|
105212
|
-
return
|
|
105212
|
+
return J.warn(
|
|
105213
105213
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
105214
105214
|
), a == null || a.event({
|
|
105215
105215
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -105320,7 +105320,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
105320
105320
|
)
|
|
105321
105321
|
)) {
|
|
105322
105322
|
if (!this.checkCanEdit(this))
|
|
105323
|
-
return
|
|
105323
|
+
return J.warn(
|
|
105324
105324
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
105325
105325
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
105326
105326
|
const a = [], l = [], c = [], e = [];
|
|
@@ -105870,7 +105870,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
105870
105870
|
)
|
|
105871
105871
|
)) {
|
|
105872
105872
|
if (!this.checkCanEdit(this))
|
|
105873
|
-
return
|
|
105873
|
+
return J.warn(
|
|
105874
105874
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
105875
105875
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
105876
105876
|
const l = this.dataType;
|
|
@@ -105886,7 +105886,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
105886
105886
|
O.RemoveDataType
|
|
105887
105887
|
)
|
|
105888
105888
|
)) {
|
|
105889
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
105889
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
105890
105890
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
105891
105891
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
105892
105892
|
}
|
|
@@ -106261,7 +106261,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
106261
106261
|
)
|
|
106262
106262
|
)) {
|
|
106263
106263
|
if (!this.checkCanEdit(this))
|
|
106264
|
-
return
|
|
106264
|
+
return J.warn(
|
|
106265
106265
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
106266
106266
|
), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this;
|
|
106267
106267
|
if (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.unsubscribeFromDependencies(), i.parent) {
|
|
@@ -106311,7 +106311,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
106311
106311
|
)
|
|
106312
106312
|
)) {
|
|
106313
106313
|
if (!this.checkCanEdit(this))
|
|
106314
|
-
return
|
|
106314
|
+
return J.warn(
|
|
106315
106315
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
106316
106316
|
), i == null || i.attemptAutoclose(O.AfterAllChildrenInitialized, this.id), {
|
|
106317
106317
|
updated: [],
|
|
@@ -106459,7 +106459,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
106459
106459
|
)
|
|
106460
106460
|
)) {
|
|
106461
106461
|
if (!this.checkCanEdit(this))
|
|
106462
|
-
return
|
|
106462
|
+
return J.warn(
|
|
106463
106463
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
106464
106464
|
), i == null || i.attemptAutoclose(O.RemoveFromParent, this.id), {
|
|
106465
106465
|
added: [],
|
|
@@ -106498,7 +106498,7 @@ const VBt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
106498
106498
|
)) {
|
|
106499
106499
|
var v;
|
|
106500
106500
|
if (!this.checkCanDelete(this))
|
|
106501
|
-
return
|
|
106501
|
+
return J.warn(
|
|
106502
106502
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
106503
106503
|
), a == null || a.event({
|
|
106504
106504
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -107755,7 +107755,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
107755
107755
|
)
|
|
107756
107756
|
)) {
|
|
107757
107757
|
if (!this.checkCanEdit(this))
|
|
107758
|
-
return
|
|
107758
|
+
return J.warn(
|
|
107759
107759
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
107760
107760
|
), a == null || a.attemptAutoclose(
|
|
107761
107761
|
O.UpdateWithShallowTransfer,
|
|
@@ -107879,7 +107879,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
107879
107879
|
)
|
|
107880
107880
|
)) {
|
|
107881
107881
|
if (!this.checkCanEdit(this))
|
|
107882
|
-
return
|
|
107882
|
+
return J.warn(
|
|
107883
107883
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
107884
107884
|
), i == null || i.attemptAutoclose(
|
|
107885
107885
|
O.AfterAllChildrenInitialized,
|
|
@@ -107990,7 +107990,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
107990
107990
|
)
|
|
107991
107991
|
)) {
|
|
107992
107992
|
if (!this.checkCanEdit(this))
|
|
107993
|
-
return
|
|
107993
|
+
return J.warn(
|
|
107994
107994
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
107995
107995
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
107996
107996
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -108006,7 +108006,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108006
108006
|
O.AddInput
|
|
108007
108007
|
)
|
|
108008
108008
|
)) {
|
|
108009
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
108009
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
108010
108010
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108011
108011
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
108012
108012
|
}
|
|
@@ -108020,7 +108020,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108020
108020
|
"add-output"
|
|
108021
108021
|
)
|
|
108022
108022
|
)) {
|
|
108023
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
108023
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
108024
108024
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108025
108025
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
108026
108026
|
}
|
|
@@ -108035,7 +108035,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108035
108035
|
)
|
|
108036
108036
|
)) {
|
|
108037
108037
|
if (!this.checkCanEdit(this))
|
|
108038
|
-
return
|
|
108038
|
+
return J.warn(
|
|
108039
108039
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108040
108040
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
108041
108041
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -108387,7 +108387,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108387
108387
|
)
|
|
108388
108388
|
)) {
|
|
108389
108389
|
if (!this.checkCanEdit(this))
|
|
108390
|
-
return
|
|
108390
|
+
return J.warn(
|
|
108391
108391
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108392
108392
|
), i == null || i.attemptAutoclose(
|
|
108393
108393
|
O.RemoveFromParent,
|
|
@@ -108429,7 +108429,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108429
108429
|
)) {
|
|
108430
108430
|
var v;
|
|
108431
108431
|
if (!this.checkCanDelete(this))
|
|
108432
|
-
return
|
|
108432
|
+
return J.warn(
|
|
108433
108433
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
108434
108434
|
), a == null || a.event({
|
|
108435
108435
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -108523,7 +108523,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108523
108523
|
)
|
|
108524
108524
|
)) {
|
|
108525
108525
|
if (!this.checkCanEdit(this))
|
|
108526
|
-
return
|
|
108526
|
+
return J.warn(
|
|
108527
108527
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108528
108528
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
108529
108529
|
const a = [], l = [], c = [], e = [];
|
|
@@ -108881,7 +108881,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108881
108881
|
)
|
|
108882
108882
|
)) {
|
|
108883
108883
|
if (!this.checkCanEdit(this))
|
|
108884
|
-
return
|
|
108884
|
+
return J.warn(
|
|
108885
108885
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108886
108886
|
), i == null || i.attemptAutoclose(
|
|
108887
108887
|
O.RemoveUnrecognizedInputs,
|
|
@@ -108940,7 +108940,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
108940
108940
|
)
|
|
108941
108941
|
)) {
|
|
108942
108942
|
if (!this.checkCanEdit(this))
|
|
108943
|
-
return
|
|
108943
|
+
return J.warn(
|
|
108944
108944
|
`[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
108945
108945
|
), i == null || i.attemptAutoclose(
|
|
108946
108946
|
O.RemoveUnrecognizedOutputs,
|
|
@@ -109000,7 +109000,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
109000
109000
|
)
|
|
109001
109001
|
)) {
|
|
109002
109002
|
if (!this.checkCanEdit(this))
|
|
109003
|
-
return
|
|
109003
|
+
return J.warn(
|
|
109004
109004
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
109005
109005
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
109006
109006
|
updated: [],
|
|
@@ -109077,7 +109077,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
109077
109077
|
)
|
|
109078
109078
|
)) {
|
|
109079
109079
|
if (!this.checkCanEdit(this))
|
|
109080
|
-
return
|
|
109080
|
+
return J.warn(
|
|
109081
109081
|
`[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
109082
109082
|
), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
|
|
109083
109083
|
updated: [],
|
|
@@ -109829,7 +109829,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
109829
109829
|
)
|
|
109830
109830
|
)) {
|
|
109831
109831
|
if (!this.checkCanEdit(this))
|
|
109832
|
-
return
|
|
109832
|
+
return J.warn(
|
|
109833
109833
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
109834
109834
|
), a == null || a.attemptAutoclose(
|
|
109835
109835
|
O.UpdateWithShallowTransfer,
|
|
@@ -109923,7 +109923,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
109923
109923
|
)
|
|
109924
109924
|
)) {
|
|
109925
109925
|
if (!this.checkCanEdit(this))
|
|
109926
|
-
return
|
|
109926
|
+
return J.warn(
|
|
109927
109927
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
109928
109928
|
), i == null || i.attemptAutoclose(
|
|
109929
109929
|
O.AfterAllChildrenInitialized,
|
|
@@ -110020,7 +110020,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110020
110020
|
)
|
|
110021
110021
|
)) {
|
|
110022
110022
|
if (!this.checkCanEdit(this))
|
|
110023
|
-
return
|
|
110023
|
+
return J.warn(
|
|
110024
110024
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110025
110025
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
110026
110026
|
const l = this.dataType;
|
|
@@ -110036,7 +110036,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110036
110036
|
O.RemoveDataType
|
|
110037
110037
|
)
|
|
110038
110038
|
)) {
|
|
110039
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
110039
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
110040
110040
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110041
110041
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
110042
110042
|
}
|
|
@@ -110086,7 +110086,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110086
110086
|
i,
|
|
110087
110087
|
O.SetValueWriter,
|
|
110088
110088
|
a
|
|
110089
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
110089
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
110090
110090
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110091
110091
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
110092
110092
|
}
|
|
@@ -110172,7 +110172,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110172
110172
|
)) {
|
|
110173
110173
|
var y;
|
|
110174
110174
|
if (!this.checkCanEdit(this))
|
|
110175
|
-
return
|
|
110175
|
+
return J.warn(
|
|
110176
110176
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110177
110177
|
), i == null || i.attemptAutoclose(
|
|
110178
110178
|
O.RemoveFromParent,
|
|
@@ -110220,7 +110220,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110220
110220
|
)) {
|
|
110221
110221
|
var v, T, I, E, D;
|
|
110222
110222
|
if (!this.checkCanDelete(this))
|
|
110223
|
-
return
|
|
110223
|
+
return J.warn(
|
|
110224
110224
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
110225
110225
|
), a == null || a.event({
|
|
110226
110226
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -110318,7 +110318,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110318
110318
|
)
|
|
110319
110319
|
)) {
|
|
110320
110320
|
if (!this.checkCanEdit(this))
|
|
110321
|
-
return
|
|
110321
|
+
return J.warn(
|
|
110322
110322
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110323
110323
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
110324
110324
|
const a = [], l = [], c = [], e = [];
|
|
@@ -110552,7 +110552,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
110552
110552
|
)
|
|
110553
110553
|
)) {
|
|
110554
110554
|
if (!this.checkCanEdit(this))
|
|
110555
|
-
return
|
|
110555
|
+
return J.warn(
|
|
110556
110556
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
110557
110557
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
110558
110558
|
const l = this.defaultValue;
|
|
@@ -111182,7 +111182,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111182
111182
|
)
|
|
111183
111183
|
)) {
|
|
111184
111184
|
if (!this.checkCanEdit(this))
|
|
111185
|
-
return
|
|
111185
|
+
return J.warn(
|
|
111186
111186
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111187
111187
|
), a == null || a.attemptAutoclose(
|
|
111188
111188
|
O.UpdateWithShallowTransfer,
|
|
@@ -111276,7 +111276,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111276
111276
|
)
|
|
111277
111277
|
)) {
|
|
111278
111278
|
if (!this.checkCanEdit(this))
|
|
111279
|
-
return
|
|
111279
|
+
return J.warn(
|
|
111280
111280
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111281
111281
|
), i == null || i.attemptAutoclose(
|
|
111282
111282
|
O.AfterAllChildrenInitialized,
|
|
@@ -111409,7 +111409,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111409
111409
|
)
|
|
111410
111410
|
)) {
|
|
111411
111411
|
if (!this.checkCanEdit(this))
|
|
111412
|
-
return
|
|
111412
|
+
return J.warn(
|
|
111413
111413
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111414
111414
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
111415
111415
|
const l = this.dataType;
|
|
@@ -111425,7 +111425,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111425
111425
|
O.RemoveDataType
|
|
111426
111426
|
)
|
|
111427
111427
|
)) {
|
|
111428
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
111428
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
111429
111429
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111430
111430
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
111431
111431
|
}
|
|
@@ -111521,7 +111521,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111521
111521
|
)
|
|
111522
111522
|
)) {
|
|
111523
111523
|
if (!this.checkCanEdit(this))
|
|
111524
|
-
return
|
|
111524
|
+
return J.warn(
|
|
111525
111525
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111526
111526
|
), i == null || i.attemptAutoclose(
|
|
111527
111527
|
O.RemoveFromParent,
|
|
@@ -111563,7 +111563,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111563
111563
|
)) {
|
|
111564
111564
|
var v;
|
|
111565
111565
|
if (!this.checkCanDelete(this))
|
|
111566
|
-
return
|
|
111566
|
+
return J.warn(
|
|
111567
111567
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
111568
111568
|
), a == null || a.event({
|
|
111569
111569
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -111635,7 +111635,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
111635
111635
|
)
|
|
111636
111636
|
)) {
|
|
111637
111637
|
if (!this.checkCanEdit(this))
|
|
111638
|
-
return
|
|
111638
|
+
return J.warn(
|
|
111639
111639
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
111640
111640
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
111641
111641
|
const a = [], l = [], c = [], e = [];
|
|
@@ -112407,7 +112407,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112407
112407
|
)
|
|
112408
112408
|
)) {
|
|
112409
112409
|
if (!this.checkCanEdit(this))
|
|
112410
|
-
return
|
|
112410
|
+
return J.warn(
|
|
112411
112411
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112412
112412
|
), a == null || a.attemptAutoclose(
|
|
112413
112413
|
O.UpdateWithShallowTransfer,
|
|
@@ -112463,10 +112463,16 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112463
112463
|
const e = ee(
|
|
112464
112464
|
this.initialData.parent
|
|
112465
112465
|
), y = this.project.get(e);
|
|
112466
|
-
if (
|
|
112467
|
-
|
|
112466
|
+
if (J.log(
|
|
112467
|
+
`[LiteralValueState.hydrateAncestors] Hydrating parent reference '${e}' for entity with id '${this.id}'`
|
|
112468
|
+
), y)
|
|
112469
|
+
J.log(
|
|
112470
|
+
`[LiteralValueState.hydrateAncestors] Setting parent reference '${y.id}' for entity with id '${this.id}'`
|
|
112471
|
+
), this.setParent(y, null), i.push(y);
|
|
112468
112472
|
else
|
|
112469
|
-
throw
|
|
112473
|
+
throw J.error(
|
|
112474
|
+
`[LiteralValueState.hydrateAncestors] Parent reference '${e}' for entity with id '${this.id}' not found in the project`
|
|
112475
|
+
), new Error(
|
|
112470
112476
|
`${this.type} with id '${this.id}' has a 'parent' reference '${e}' that isn't found in the project`
|
|
112471
112477
|
);
|
|
112472
112478
|
} else if (this.initialData.standaloneParent) {
|
|
@@ -112475,14 +112481,22 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112475
112481
|
), y = this.project.get(
|
|
112476
112482
|
e
|
|
112477
112483
|
);
|
|
112478
|
-
if (
|
|
112479
|
-
this.
|
|
112484
|
+
if (J.log(
|
|
112485
|
+
`[LiteralValueState.hydrateAncestors] Hydrating standalone parent reference '${e}' for entity with id '${this.id}'`
|
|
112486
|
+
), y)
|
|
112487
|
+
J.log(
|
|
112488
|
+
`[LiteralValueState.hydrateAncestors] Setting standalone parent reference '${y.id}' for entity with id '${this.id}'`
|
|
112489
|
+
), this.setStandaloneParent(y);
|
|
112480
112490
|
else
|
|
112481
|
-
throw
|
|
112491
|
+
throw J.error(
|
|
112492
|
+
`[LiteralValueState.hydrateAncestors] Standalone parent reference '${e}' for entity with id '${this.id}' not found in the project`
|
|
112493
|
+
), new Error(
|
|
112482
112494
|
`${this.type} with id '${this.id}' has a 'standaloneParent' reference '${e}' that isn't found in the project`
|
|
112483
112495
|
);
|
|
112484
112496
|
} else
|
|
112485
|
-
throw
|
|
112497
|
+
throw J.error(
|
|
112498
|
+
`[LiteralValueState.hydrateAncestors] Entity with id '${this.id}' must have a 'parent'`
|
|
112499
|
+
), new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
112486
112500
|
if (this.initialData.valueAsTypeList && Array.isArray(this.initialData.valueAsTypeList))
|
|
112487
112501
|
this.valueAsTypeList = this.valueAsTypeList || [], this.initialData.valueAsTypeList.forEach((e) => {
|
|
112488
112502
|
const y = ee(e), v = this.project.get(y);
|
|
@@ -112515,7 +112529,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112515
112529
|
)
|
|
112516
112530
|
)) {
|
|
112517
112531
|
if (!this.checkCanEdit(this))
|
|
112518
|
-
return
|
|
112532
|
+
return J.warn(
|
|
112519
112533
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112520
112534
|
), i == null || i.attemptAutoclose(
|
|
112521
112535
|
O.AfterAllChildrenInitialized,
|
|
@@ -112598,7 +112612,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112598
112612
|
return this.checkCanEdit(this) ? (this.valueAsTypeSingle !== i && (this.valueAsTypeSingle = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
112599
112613
|
O.SetValueAsTypeSingle,
|
|
112600
112614
|
this.id
|
|
112601
|
-
), this) : (
|
|
112615
|
+
), this) : (J.warn(
|
|
112602
112616
|
`[setValueAsTypeSingle] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112603
112617
|
), a == null || a.attemptAutoclose(
|
|
112604
112618
|
O.SetValueAsTypeSingle,
|
|
@@ -112619,7 +112633,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112619
112633
|
return this.checkCanEdit(this) ? (!i && this.valueAsTypeList ? (this.valueAsTypeList = null, a == null || a.add(this, G.Updated)) : i && !this.valueAsTypeList ? (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)) : i && this.valueAsTypeList && ((l = this.valueAsTypeList) == null ? void 0 : l.length) !== i.length ? (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)) : i && this.valueAsTypeList && ((c = this.valueAsTypeList) != null && c.every((e, y) => e !== i[y])) && (this.valueAsTypeList = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
112620
112634
|
O.SetValueAsTypeList,
|
|
112621
112635
|
this.id
|
|
112622
|
-
), this) : (
|
|
112636
|
+
), this) : (J.warn(
|
|
112623
112637
|
`[setValueAsTypeList] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112624
112638
|
), a == null || a.attemptAutoclose(
|
|
112625
112639
|
O.SetValueAsTypeList,
|
|
@@ -112636,7 +112650,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112636
112650
|
O.SetValueAsType
|
|
112637
112651
|
)
|
|
112638
112652
|
)) {
|
|
112639
|
-
return this.checkCanEdit(this) ? i ? (Array.isArray(i) ? this.setValueAsTypeList(i, a) : this.setValueAsTypeSingle(i, a), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this) : (this.setValueAsTypeSingle(null, a), this.setValueAsTypeList(null, a), this) : (
|
|
112653
|
+
return this.checkCanEdit(this) ? i ? (Array.isArray(i) ? this.setValueAsTypeList(i, a) : this.setValueAsTypeSingle(i, a), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this) : (this.setValueAsTypeSingle(null, a), this.setValueAsTypeList(null, a), this) : (J.warn(
|
|
112640
112654
|
`[setValueAsType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112641
112655
|
), a == null || a.attemptAutoclose(O.SetValueAsType, this.id), this);
|
|
112642
112656
|
}
|
|
@@ -112800,7 +112814,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112800
112814
|
)
|
|
112801
112815
|
)) {
|
|
112802
112816
|
if (!this.checkCanEdit(this))
|
|
112803
|
-
return
|
|
112817
|
+
return J.warn(
|
|
112804
112818
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112805
112819
|
), i == null || i.attemptAutoclose(
|
|
112806
112820
|
O.RemoveFromParent,
|
|
@@ -112845,7 +112859,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112845
112859
|
)) {
|
|
112846
112860
|
var v;
|
|
112847
112861
|
if (!this.checkCanDelete(this))
|
|
112848
|
-
return
|
|
112862
|
+
return J.warn(
|
|
112849
112863
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
112850
112864
|
), a == null || a.event({
|
|
112851
112865
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -112908,7 +112922,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
112908
112922
|
)
|
|
112909
112923
|
)) {
|
|
112910
112924
|
if (!this.checkCanEdit(this))
|
|
112911
|
-
return
|
|
112925
|
+
return J.warn(
|
|
112912
112926
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
112913
112927
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
112914
112928
|
const a = [], l = [], c = [], e = [];
|
|
@@ -113646,7 +113660,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
113646
113660
|
)
|
|
113647
113661
|
)) {
|
|
113648
113662
|
if (!this.checkCanEdit(this))
|
|
113649
|
-
return
|
|
113663
|
+
return J.warn(
|
|
113650
113664
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
113651
113665
|
), a == null || a.attemptAutoclose(
|
|
113652
113666
|
O.UpdateWithShallowTransfer,
|
|
@@ -113775,7 +113789,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
113775
113789
|
)
|
|
113776
113790
|
)) {
|
|
113777
113791
|
if (!this.checkCanEdit(this))
|
|
113778
|
-
return
|
|
113792
|
+
return J.warn(
|
|
113779
113793
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
113780
113794
|
), i == null || i.attemptAutoclose(
|
|
113781
113795
|
O.AfterAllChildrenInitialized,
|
|
@@ -113935,7 +113949,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
113935
113949
|
)) {
|
|
113936
113950
|
var l;
|
|
113937
113951
|
if (!this.checkCanEdit(this))
|
|
113938
|
-
return
|
|
113952
|
+
return J.warn(
|
|
113939
113953
|
`[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
113940
113954
|
), a == null || a.attemptAutoclose("set-throws", this.id), this;
|
|
113941
113955
|
if (i !== null && i.parentRelationType !== Ll.Error)
|
|
@@ -113954,7 +113968,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
113954
113968
|
"add-output"
|
|
113955
113969
|
)
|
|
113956
113970
|
)) {
|
|
113957
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
113971
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
113958
113972
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
113959
113973
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
113960
113974
|
}
|
|
@@ -113969,7 +113983,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
113969
113983
|
)
|
|
113970
113984
|
)) {
|
|
113971
113985
|
if (!this.checkCanEdit(this))
|
|
113972
|
-
return
|
|
113986
|
+
return J.warn(
|
|
113973
113987
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
113974
113988
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
113975
113989
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -114004,7 +114018,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114004
114018
|
)
|
|
114005
114019
|
)) {
|
|
114006
114020
|
var l;
|
|
114007
|
-
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (
|
|
114021
|
+
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
|
|
114008
114022
|
`[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114009
114023
|
), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
|
|
114010
114024
|
}
|
|
@@ -114023,7 +114037,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114023
114037
|
i,
|
|
114024
114038
|
O.SetValueWriter,
|
|
114025
114039
|
a
|
|
114026
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
114040
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
114027
114041
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114028
114042
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
114029
114043
|
}
|
|
@@ -114144,7 +114158,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114144
114158
|
)
|
|
114145
114159
|
)) {
|
|
114146
114160
|
if (!this.checkCanEdit(this))
|
|
114147
|
-
return
|
|
114161
|
+
return J.warn(
|
|
114148
114162
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114149
114163
|
), i == null || i.attemptAutoclose(
|
|
114150
114164
|
O.RemoveFromParent,
|
|
@@ -114186,7 +114200,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114186
114200
|
)) {
|
|
114187
114201
|
var v, T, I;
|
|
114188
114202
|
if (!this.checkCanDelete(this))
|
|
114189
|
-
return
|
|
114203
|
+
return J.warn(
|
|
114190
114204
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
114191
114205
|
), a == null || a.event({
|
|
114192
114206
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -114281,7 +114295,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114281
114295
|
)
|
|
114282
114296
|
)) {
|
|
114283
114297
|
if (!this.checkCanEdit(this))
|
|
114284
|
-
return
|
|
114298
|
+
return J.warn(
|
|
114285
114299
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114286
114300
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
114287
114301
|
const a = [], l = [], c = [], e = [];
|
|
@@ -114563,7 +114577,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114563
114577
|
)
|
|
114564
114578
|
)) {
|
|
114565
114579
|
if (!this.checkCanEdit(this))
|
|
114566
|
-
return
|
|
114580
|
+
return J.warn(
|
|
114567
114581
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114568
114582
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
114569
114583
|
const l = this.defaultValue;
|
|
@@ -114730,7 +114744,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114730
114744
|
)
|
|
114731
114745
|
)) {
|
|
114732
114746
|
if (!this.checkCanEdit(this))
|
|
114733
|
-
return
|
|
114747
|
+
return J.warn(
|
|
114734
114748
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114735
114749
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
114736
114750
|
const l = this.dataType;
|
|
@@ -114746,7 +114760,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
114746
114760
|
O.RemoveDataType
|
|
114747
114761
|
)
|
|
114748
114762
|
)) {
|
|
114749
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
114763
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
114750
114764
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
114751
114765
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
114752
114766
|
}
|
|
@@ -115255,7 +115269,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115255
115269
|
)
|
|
115256
115270
|
)) {
|
|
115257
115271
|
if (!this.checkCanEdit(this))
|
|
115258
|
-
return
|
|
115272
|
+
return J.warn(
|
|
115259
115273
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115260
115274
|
), a == null || a.attemptAutoclose(
|
|
115261
115275
|
O.UpdateWithShallowTransfer,
|
|
@@ -115376,7 +115390,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115376
115390
|
)
|
|
115377
115391
|
)) {
|
|
115378
115392
|
if (!this.checkCanEdit(this))
|
|
115379
|
-
return
|
|
115393
|
+
return J.warn(
|
|
115380
115394
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115381
115395
|
), i == null || i.attemptAutoclose(
|
|
115382
115396
|
O.AfterAllChildrenInitialized,
|
|
@@ -115536,7 +115550,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115536
115550
|
)) {
|
|
115537
115551
|
var l;
|
|
115538
115552
|
if (!this.checkCanEdit(this))
|
|
115539
|
-
return
|
|
115553
|
+
return J.warn(
|
|
115540
115554
|
`[setThrows] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115541
115555
|
), a == null || a.attemptAutoclose("set-throws", this.id), this;
|
|
115542
115556
|
if (i !== null && i.parentRelationType !== Ll.Error)
|
|
@@ -115555,7 +115569,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115555
115569
|
"add-output"
|
|
115556
115570
|
)
|
|
115557
115571
|
)) {
|
|
115558
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
115572
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
115559
115573
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115560
115574
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
115561
115575
|
}
|
|
@@ -115570,7 +115584,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115570
115584
|
)
|
|
115571
115585
|
)) {
|
|
115572
115586
|
if (!this.checkCanEdit(this))
|
|
115573
|
-
return
|
|
115587
|
+
return J.warn(
|
|
115574
115588
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115575
115589
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
115576
115590
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -115605,7 +115619,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115605
115619
|
)
|
|
115606
115620
|
)) {
|
|
115607
115621
|
var l;
|
|
115608
|
-
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (
|
|
115622
|
+
return this.checkCanEdit(this) ? (((l = this.implements) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.implements = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetImplements, this.id), this) : (J.warn(
|
|
115609
115623
|
`[setImplements] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115610
115624
|
), a == null || a.attemptAutoclose(O.SetImplements, this.id), this);
|
|
115611
115625
|
}
|
|
@@ -115624,7 +115638,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115624
115638
|
i,
|
|
115625
115639
|
O.SetValueWriter,
|
|
115626
115640
|
a
|
|
115627
|
-
) ? this : !i && !this.checkCanEdit(this) ? (
|
|
115641
|
+
) ? this : !i && !this.checkCanEdit(this) ? (J.warn(
|
|
115628
115642
|
`[setValueWriter] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115629
115643
|
), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.SetValueWriter, this.id), this);
|
|
115630
115644
|
}
|
|
@@ -115745,7 +115759,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115745
115759
|
)
|
|
115746
115760
|
)) {
|
|
115747
115761
|
if (!this.checkCanEdit(this))
|
|
115748
|
-
return
|
|
115762
|
+
return J.warn(
|
|
115749
115763
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115750
115764
|
), i == null || i.attemptAutoclose(
|
|
115751
115765
|
O.RemoveFromParent,
|
|
@@ -115787,7 +115801,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115787
115801
|
)) {
|
|
115788
115802
|
var v, T, I;
|
|
115789
115803
|
if (!this.checkCanDelete(this))
|
|
115790
|
-
return
|
|
115804
|
+
return J.warn(
|
|
115791
115805
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
115792
115806
|
), a == null || a.event({
|
|
115793
115807
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -115882,7 +115896,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
115882
115896
|
)
|
|
115883
115897
|
)) {
|
|
115884
115898
|
if (!this.checkCanEdit(this))
|
|
115885
|
-
return
|
|
115899
|
+
return J.warn(
|
|
115886
115900
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
115887
115901
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
115888
115902
|
const a = [], l = [], c = [], e = [];
|
|
@@ -116167,7 +116181,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
116167
116181
|
)
|
|
116168
116182
|
)) {
|
|
116169
116183
|
if (!this.checkCanEdit(this))
|
|
116170
|
-
return
|
|
116184
|
+
return J.warn(
|
|
116171
116185
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116172
116186
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
116173
116187
|
const l = this.defaultValue;
|
|
@@ -116334,7 +116348,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
116334
116348
|
)
|
|
116335
116349
|
)) {
|
|
116336
116350
|
if (!this.checkCanEdit(this))
|
|
116337
|
-
return
|
|
116351
|
+
return J.warn(
|
|
116338
116352
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116339
116353
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
116340
116354
|
const l = this.dataType;
|
|
@@ -116350,7 +116364,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
116350
116364
|
O.RemoveDataType
|
|
116351
116365
|
)
|
|
116352
116366
|
)) {
|
|
116353
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
116367
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
116354
116368
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116355
116369
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
116356
116370
|
}
|
|
@@ -116770,7 +116784,7 @@ ${qa(
|
|
|
116770
116784
|
)
|
|
116771
116785
|
)) {
|
|
116772
116786
|
if (!this.checkCanEdit(this))
|
|
116773
|
-
return
|
|
116787
|
+
return J.warn(
|
|
116774
116788
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116775
116789
|
), a == null || a.attemptAutoclose(
|
|
116776
116790
|
O.UpdateWithShallowTransfer,
|
|
@@ -116832,7 +116846,7 @@ ${qa(
|
|
|
116832
116846
|
)
|
|
116833
116847
|
)) {
|
|
116834
116848
|
if (!this.checkCanEdit(this))
|
|
116835
|
-
return
|
|
116849
|
+
return J.warn(
|
|
116836
116850
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116837
116851
|
), i == null || i.attemptAutoclose(
|
|
116838
116852
|
O.AfterAllChildrenInitialized,
|
|
@@ -116982,7 +116996,7 @@ ${qa(
|
|
|
116982
116996
|
)) {
|
|
116983
116997
|
var y, v, T;
|
|
116984
116998
|
if (!this.checkCanEdit(this))
|
|
116985
|
-
return
|
|
116999
|
+
return J.warn(
|
|
116986
117000
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
116987
117001
|
), i == null || i.attemptAutoclose(
|
|
116988
117002
|
O.RemoveFromParent,
|
|
@@ -117024,7 +117038,7 @@ ${qa(
|
|
|
117024
117038
|
)) {
|
|
117025
117039
|
var T;
|
|
117026
117040
|
if (!this.checkCanDelete(this))
|
|
117027
|
-
return
|
|
117041
|
+
return J.warn(
|
|
117028
117042
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
117029
117043
|
), a == null || a.event({
|
|
117030
117044
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -117116,7 +117130,7 @@ ${qa(
|
|
|
117116
117130
|
)) {
|
|
117117
117131
|
var y, v, T;
|
|
117118
117132
|
if (!this.checkCanEdit(this))
|
|
117119
|
-
return
|
|
117133
|
+
return J.warn(
|
|
117120
117134
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
117121
117135
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
117122
117136
|
const a = [], l = [], c = [], e = [];
|
|
@@ -117388,7 +117402,7 @@ ${qa(
|
|
|
117388
117402
|
)
|
|
117389
117403
|
)) {
|
|
117390
117404
|
if (!this.checkCanEdit(this))
|
|
117391
|
-
return
|
|
117405
|
+
return J.warn(
|
|
117392
117406
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
117393
117407
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
117394
117408
|
const l = this.dataType;
|
|
@@ -117408,7 +117422,7 @@ ${qa(
|
|
|
117408
117422
|
)
|
|
117409
117423
|
)) {
|
|
117410
117424
|
if (!this.checkCanEdit(this))
|
|
117411
|
-
return
|
|
117425
|
+
return J.warn(
|
|
117412
117426
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
117413
117427
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
117414
117428
|
const l = this.defaultValue;
|
|
@@ -117424,7 +117438,7 @@ ${qa(
|
|
|
117424
117438
|
O.RemoveDataType
|
|
117425
117439
|
)
|
|
117426
117440
|
)) {
|
|
117427
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
117441
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
117428
117442
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
117429
117443
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
117430
117444
|
}
|
|
@@ -122126,7 +122140,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122126
122140
|
)
|
|
122127
122141
|
)) {
|
|
122128
122142
|
if (!this.checkCanEdit(this))
|
|
122129
|
-
return
|
|
122143
|
+
return J.warn(
|
|
122130
122144
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122131
122145
|
), a == null || a.attemptAutoclose(
|
|
122132
122146
|
O.UpdateWithShallowTransfer,
|
|
@@ -122242,7 +122256,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122242
122256
|
)
|
|
122243
122257
|
)) {
|
|
122244
122258
|
if (!this.checkCanEdit(this))
|
|
122245
|
-
return
|
|
122259
|
+
return J.warn(
|
|
122246
122260
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122247
122261
|
), i == null || i.attemptAutoclose(
|
|
122248
122262
|
O.AfterAllChildrenInitialized,
|
|
@@ -122329,7 +122343,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122329
122343
|
)
|
|
122330
122344
|
)) {
|
|
122331
122345
|
if (!this.checkCanEdit(this))
|
|
122332
|
-
return
|
|
122346
|
+
return J.warn(
|
|
122333
122347
|
`[removeInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122334
122348
|
), a == null || a.attemptAutoclose(O.RemoveInput, this.id), this;
|
|
122335
122349
|
const l = this.inputs.findIndex((c) => c.id === i.id);
|
|
@@ -122345,7 +122359,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122345
122359
|
O.AddInput
|
|
122346
122360
|
)
|
|
122347
122361
|
)) {
|
|
122348
|
-
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (
|
|
122362
|
+
return this.checkCanEdit(this) ? this.inputs.includes(i) ? (a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (this.inputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose(O.AddInput, this.id), this) : (J.warn(
|
|
122349
122363
|
`[addInput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122350
122364
|
), a == null || a.attemptAutoclose(O.AddInput, this.id), this);
|
|
122351
122365
|
}
|
|
@@ -122359,7 +122373,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122359
122373
|
"add-output"
|
|
122360
122374
|
)
|
|
122361
122375
|
)) {
|
|
122362
|
-
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (
|
|
122376
|
+
return this.checkCanEdit(this) ? this.outputs.includes(i) ? (a == null || a.attemptAutoclose("add-output", this.id), this) : (this.outputs.push(i), a == null || a.add(this, G.Affected), a == null || a.attemptAutoclose("add-output", this.id), this) : (J.warn(
|
|
122363
122377
|
`[addOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122364
122378
|
), a == null || a.attemptAutoclose("add-output", this.id), this);
|
|
122365
122379
|
}
|
|
@@ -122374,7 +122388,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122374
122388
|
)
|
|
122375
122389
|
)) {
|
|
122376
122390
|
if (!this.checkCanEdit(this))
|
|
122377
|
-
return
|
|
122391
|
+
return J.warn(
|
|
122378
122392
|
`[removeOutput] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122379
122393
|
), a == null || a.attemptAutoclose("remove-output", this.id), this;
|
|
122380
122394
|
const l = this.outputs.findIndex((c) => c.id === i.id);
|
|
@@ -122714,7 +122728,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122714
122728
|
)
|
|
122715
122729
|
)) {
|
|
122716
122730
|
if (!this.checkCanEdit(this))
|
|
122717
|
-
return
|
|
122731
|
+
return J.warn(
|
|
122718
122732
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122719
122733
|
), i == null || i.attemptAutoclose(
|
|
122720
122734
|
O.RemoveFromParent,
|
|
@@ -122756,7 +122770,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122756
122770
|
)) {
|
|
122757
122771
|
var v;
|
|
122758
122772
|
if (!this.checkCanDelete(this))
|
|
122759
|
-
return
|
|
122773
|
+
return J.warn(
|
|
122760
122774
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
122761
122775
|
), a == null || a.event({
|
|
122762
122776
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -122850,7 +122864,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
122850
122864
|
)
|
|
122851
122865
|
)) {
|
|
122852
122866
|
if (!this.checkCanEdit(this))
|
|
122853
|
-
return
|
|
122867
|
+
return J.warn(
|
|
122854
122868
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
122855
122869
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
122856
122870
|
const a = [], l = [], c = [], e = [];
|
|
@@ -123202,7 +123216,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
123202
123216
|
)
|
|
123203
123217
|
)) {
|
|
123204
123218
|
if (!this.checkCanEdit(this))
|
|
123205
|
-
return
|
|
123219
|
+
return J.warn(
|
|
123206
123220
|
`[removeUnrecognizedInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
123207
123221
|
), i == null || i.attemptAutoclose(
|
|
123208
123222
|
O.RemoveUnrecognizedInputs,
|
|
@@ -123262,7 +123276,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
123262
123276
|
)) {
|
|
123263
123277
|
var T, I;
|
|
123264
123278
|
if (!this.checkCanEdit(this))
|
|
123265
|
-
return
|
|
123279
|
+
return J.warn(
|
|
123266
123280
|
`[removeUnrecognizedOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
123267
123281
|
), i == null || i.attemptAutoclose(
|
|
123268
123282
|
O.RemoveUnrecognizedOutputs,
|
|
@@ -123322,7 +123336,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
123322
123336
|
)
|
|
123323
123337
|
)) {
|
|
123324
123338
|
if (!this.checkCanEdit(this))
|
|
123325
|
-
return
|
|
123339
|
+
return J.warn(
|
|
123326
123340
|
`[syncInputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
123327
123341
|
), i == null || i.attemptAutoclose(O.SyncInputs, this.id), {
|
|
123328
123342
|
updated: [],
|
|
@@ -123397,7 +123411,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
123397
123411
|
)) {
|
|
123398
123412
|
var D, N;
|
|
123399
123413
|
if (!this.checkCanEdit(this))
|
|
123400
|
-
return
|
|
123414
|
+
return J.warn(
|
|
123401
123415
|
`[syncOutputs] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
123402
123416
|
), i == null || i.attemptAutoclose(O.SyncOutputs, this.id), {
|
|
123403
123417
|
updated: [],
|
|
@@ -123610,7 +123624,7 @@ class Xa {
|
|
|
123610
123624
|
let u = !1;
|
|
123611
123625
|
for (let i = 0; i < this.order.length; i++) {
|
|
123612
123626
|
const a = this.order[i], l = this.flatRecord[a];
|
|
123613
|
-
if (l ||
|
|
123627
|
+
if (l || J.warn(
|
|
123614
123628
|
`Entity with id ${a} not found in flatRecord. Skipping...`
|
|
123615
123629
|
), this.moveEntityAfterDependencies(l)) {
|
|
123616
123630
|
u = !0;
|
|
@@ -123846,7 +123860,7 @@ function jxt(d, u) {
|
|
|
123846
123860
|
let L = N.find((Z) => !!Z.properties.find((H) => {
|
|
123847
123861
|
var ae;
|
|
123848
123862
|
return H.implements.find(
|
|
123849
|
-
(
|
|
123863
|
+
(z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
|
|
123850
123864
|
) && ((ae = H.getDefaultValue()) == null ? void 0 : ae.value) === !0;
|
|
123851
123865
|
}));
|
|
123852
123866
|
if (!L && N.length)
|
|
@@ -123860,7 +123874,7 @@ function jxt(d, u) {
|
|
|
123860
123874
|
);
|
|
123861
123875
|
const H = L.properties.find(
|
|
123862
123876
|
(ae) => ae.implements.find(
|
|
123863
|
-
(
|
|
123877
|
+
(z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
|
|
123864
123878
|
)
|
|
123865
123879
|
);
|
|
123866
123880
|
(v = H == null ? void 0 : H.defaultValue) == null || v.metaSync(
|
|
@@ -123918,7 +123932,13 @@ function jxt(d, u) {
|
|
|
123918
123932
|
Z,
|
|
123919
123933
|
d.project
|
|
123920
123934
|
);
|
|
123921
|
-
H.hydrateAncestors(), H.setParent(
|
|
123935
|
+
H.hydrateAncestors(), H.setParent(
|
|
123936
|
+
K,
|
|
123937
|
+
u
|
|
123938
|
+
), H.addSelfToProject(u), u == null || u.add(
|
|
123939
|
+
H,
|
|
123940
|
+
G.Added
|
|
123941
|
+
), H.initChildren(u);
|
|
123922
123942
|
}
|
|
123923
123943
|
const q = d.project.getBuiltIn(
|
|
123924
123944
|
pe["primitive-entity"].number.id
|
|
@@ -123929,29 +123949,29 @@ function jxt(d, u) {
|
|
|
123929
123949
|
case pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id: {
|
|
123930
123950
|
const N = d.project.entities.filter(
|
|
123931
123951
|
(ae) => ae.implements.find(
|
|
123932
|
-
(
|
|
123952
|
+
(z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
123933
123953
|
) && ae.id !== d.id
|
|
123934
123954
|
), L = N.map((ae) => {
|
|
123935
123955
|
var te;
|
|
123936
|
-
const
|
|
123956
|
+
const z = ae.properties.find(
|
|
123937
123957
|
(le) => le.implements.find(
|
|
123938
123958
|
(he) => he.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id
|
|
123939
123959
|
)
|
|
123940
123960
|
);
|
|
123941
|
-
return (te =
|
|
123961
|
+
return (te = z == null ? void 0 : z.getDefaultValue()) == null ? void 0 : te.value;
|
|
123942
123962
|
}).filter((ae) => !!ae), M = d.properties.find(
|
|
123943
123963
|
(ae) => ae.implements.find(
|
|
123944
|
-
(
|
|
123964
|
+
(z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.identifier.id
|
|
123945
123965
|
)
|
|
123946
123966
|
);
|
|
123947
|
-
if (!N.find((ae) => !!ae.properties.find((
|
|
123967
|
+
if (!N.find((ae) => !!ae.properties.find((z) => {
|
|
123948
123968
|
var ue;
|
|
123949
|
-
return
|
|
123969
|
+
return z.implements.find(
|
|
123950
123970
|
(te) => te.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
|
|
123951
|
-
) && ((ue =
|
|
123971
|
+
) && ((ue = z.getDefaultValue()) == null ? void 0 : ue.value) === !0;
|
|
123952
123972
|
}))) {
|
|
123953
123973
|
const ae = d.properties.find(
|
|
123954
|
-
(
|
|
123974
|
+
(z) => z.implements.find(
|
|
123955
123975
|
(ue) => ue.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id
|
|
123956
123976
|
)
|
|
123957
123977
|
);
|
|
@@ -123960,10 +123980,10 @@ function jxt(d, u) {
|
|
|
123960
123980
|
"Default boolean property not found for relational database entity with id: " + d.id
|
|
123961
123981
|
);
|
|
123962
123982
|
if (!(ae != null && ae.defaultValue)) {
|
|
123963
|
-
const
|
|
123964
|
-
|
|
123983
|
+
const z = Mr.new(u);
|
|
123984
|
+
z.parent = ae.toReference();
|
|
123965
123985
|
const ue = se(
|
|
123966
|
-
|
|
123986
|
+
z,
|
|
123967
123987
|
d.project
|
|
123968
123988
|
);
|
|
123969
123989
|
ue.hydrateAncestors(), ue.setParent(ae, u), ue.addSelfToProject(u), u == null || u.add(
|
|
@@ -123985,11 +124005,11 @@ function jxt(d, u) {
|
|
|
123985
124005
|
if (!(M != null && M.defaultValue)) {
|
|
123986
124006
|
const ae = Mr.new(u);
|
|
123987
124007
|
ae.parent = M.toReference();
|
|
123988
|
-
const
|
|
124008
|
+
const z = se(
|
|
123989
124009
|
ae,
|
|
123990
124010
|
d.project
|
|
123991
124011
|
);
|
|
123992
|
-
|
|
124012
|
+
z.hydrateAncestors(), z.setParent(M, u), z.addSelfToProject(u), z.initChildren(u), u == null || u.add(z, G.Added);
|
|
123993
124013
|
}
|
|
123994
124014
|
const q = Bxt(
|
|
123995
124015
|
L,
|
|
@@ -124002,7 +124022,7 @@ function jxt(d, u) {
|
|
|
124002
124022
|
u
|
|
124003
124023
|
);
|
|
124004
124024
|
const Z = d.properties.find((ae) => ae.implements.find(
|
|
124005
|
-
(
|
|
124025
|
+
(z) => z.id === pe["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.password.id
|
|
124006
124026
|
));
|
|
124007
124027
|
if (!Z)
|
|
124008
124028
|
throw new Error(
|
|
@@ -124011,14 +124031,14 @@ function jxt(d, u) {
|
|
|
124011
124031
|
if (!Z.defaultValue) {
|
|
124012
124032
|
const ae = Mr.new(u);
|
|
124013
124033
|
ae.parent = Z.toReference();
|
|
124014
|
-
const
|
|
124034
|
+
const z = se(
|
|
124015
124035
|
ae,
|
|
124016
124036
|
d.project
|
|
124017
124037
|
);
|
|
124018
|
-
|
|
124019
|
-
|
|
124038
|
+
z.hydrateAncestors(), z.setParent(Z, u), z.addSelfToProject(u), z.initChildren(u), u == null || u.add(
|
|
124039
|
+
z,
|
|
124020
124040
|
G.Added
|
|
124021
|
-
), a.push(
|
|
124041
|
+
), a.push(z);
|
|
124022
124042
|
}
|
|
124023
124043
|
const H = UB(24);
|
|
124024
124044
|
(D = Z.defaultValue) == null || D.metaSync(
|
|
@@ -124040,7 +124060,7 @@ function jxt(d, u) {
|
|
|
124040
124060
|
let L = N.defaultValue || null;
|
|
124041
124061
|
if (!L) {
|
|
124042
124062
|
const q = Mr.new(u);
|
|
124043
|
-
q.parent = N.toReference(), q.id = V.UUID.uuid(), L = se(
|
|
124063
|
+
q.parent = N.toReference(), q.name = ie.Date, q.id = V.UUID.uuid(), L = se(
|
|
124044
124064
|
q,
|
|
124045
124065
|
d.project
|
|
124046
124066
|
), L.hydrateAncestors(), L.setParent(N, u), L.addSelfToProject(u), L.initChildren(u), u == null || u.add(
|
|
@@ -124232,8 +124252,8 @@ function Kj(d, u, i, a, l) {
|
|
|
124232
124252
|
},
|
|
124233
124253
|
a
|
|
124234
124254
|
), d.length > 0) {
|
|
124235
|
-
const H = d.slice(0, 5).filter((
|
|
124236
|
-
if (H.every((
|
|
124255
|
+
const H = d.slice(0, 5).filter((z) => z !== void 0);
|
|
124256
|
+
if (H.every((z) => typeof z == typeof H[0]) && (typeof H[0] != "object" || H[0] === null))
|
|
124237
124257
|
switch (typeof H[0]) {
|
|
124238
124258
|
case "string":
|
|
124239
124259
|
u.setEntity(
|
|
@@ -124269,7 +124289,7 @@ function Kj(d, u, i, a, l) {
|
|
|
124269
124289
|
break;
|
|
124270
124290
|
}
|
|
124271
124291
|
else {
|
|
124272
|
-
const
|
|
124292
|
+
const z = [];
|
|
124273
124293
|
let ue = !1;
|
|
124274
124294
|
H.forEach((le) => {
|
|
124275
124295
|
var he, X, fe, Ee;
|
|
@@ -124284,11 +124304,11 @@ function Kj(d, u, i, a, l) {
|
|
|
124284
124304
|
a,
|
|
124285
124305
|
l
|
|
124286
124306
|
);
|
|
124287
|
-
Te.hasCreated &&
|
|
124307
|
+
Te.hasCreated && z.push((he = Te.changeSet) == null ? void 0 : he.self), c.push(...(X = Te.changeSet) == null ? void 0 : X.updated), e.push(...(fe = Te.changeSet) == null ? void 0 : fe.added), y.push(...(Ee = Te.changeSet) == null ? void 0 : Ee.removed);
|
|
124288
124308
|
}
|
|
124289
124309
|
});
|
|
124290
124310
|
const te = R(
|
|
124291
|
-
|
|
124311
|
+
z
|
|
124292
124312
|
);
|
|
124293
124313
|
if (!te.length && !ue) {
|
|
124294
124314
|
H.forEach((le) => {
|
|
@@ -126026,7 +126046,7 @@ function Vi(d, u = /* @__PURE__ */ new Set()) {
|
|
|
126026
126046
|
function rn(d, u = /* @__PURE__ */ new Set()) {
|
|
126027
126047
|
if (u.has(d.id))
|
|
126028
126048
|
return [];
|
|
126029
|
-
u.add(d.id),
|
|
126049
|
+
u.add(d.id), J.log(
|
|
126030
126050
|
"[flattenDerivedCanvasEntities]",
|
|
126031
126051
|
d.type,
|
|
126032
126052
|
Y(d, d.project),
|
|
@@ -126035,7 +126055,7 @@ function rn(d, u = /* @__PURE__ */ new Set()) {
|
|
|
126035
126055
|
const i = wa(d);
|
|
126036
126056
|
return i.forEach((l) => {
|
|
126037
126057
|
u.add(l.id);
|
|
126038
|
-
}), [...i.reduce((l, c) => (
|
|
126058
|
+
}), [...i.reduce((l, c) => (J.log(
|
|
126039
126059
|
"[Recursive -- flattenDerivedCanvasEntities]",
|
|
126040
126060
|
c.type,
|
|
126041
126061
|
Y(c, c.project),
|
|
@@ -126144,25 +126164,25 @@ function _f(d, u = {}, i = {}) {
|
|
|
126144
126164
|
const l = d, c = d, e = d, y = d, v = d, T = d, I = d, E = d, D = d, N = d, L = d, M = d, K = d, q = [
|
|
126145
126165
|
...K.readsValue ? [K.readsValue] : [],
|
|
126146
126166
|
...K.declaration ? [K.declaration] : [],
|
|
126147
|
-
...(M.calledByEntry || []).flatMap((
|
|
126167
|
+
...(M.calledByEntry || []).flatMap((z) => z),
|
|
126148
126168
|
...(M.calledBySuccess || []).flatMap(
|
|
126149
|
-
(
|
|
126169
|
+
(z) => z
|
|
126150
126170
|
),
|
|
126151
|
-
...(M.calledByError || []).flatMap((
|
|
126171
|
+
...(M.calledByError || []).flatMap((z) => z),
|
|
126152
126172
|
...N.parent ? [N.parent] : []
|
|
126153
126173
|
];
|
|
126154
126174
|
Array.isArray(e.implements) ? q.push(
|
|
126155
126175
|
...e.implements.flatMap(
|
|
126156
|
-
(
|
|
126176
|
+
(z) => z
|
|
126157
126177
|
)
|
|
126158
126178
|
) : y.implements && q.push(y.implements), Array.isArray(e.extends) ? q.push(
|
|
126159
126179
|
...e.extends.flatMap(
|
|
126160
|
-
(
|
|
126180
|
+
(z) => z
|
|
126161
126181
|
)
|
|
126162
126182
|
) : D.extends && q.push(D.extends), v.valueAsTypeList && Array.isArray(v.valueAsTypeList) && q.push(
|
|
126163
|
-
...v.valueAsTypeList.flatMap((
|
|
126164
|
-
), v.valueAsTypeSingle && q.push(v.valueAsTypeSingle), (K.internalCalls || []).forEach((
|
|
126165
|
-
const ue = ee(
|
|
126183
|
+
...v.valueAsTypeList.flatMap((z) => z)
|
|
126184
|
+
), v.valueAsTypeSingle && q.push(v.valueAsTypeSingle), (K.internalCalls || []).forEach((z) => {
|
|
126185
|
+
const ue = ee(z);
|
|
126166
126186
|
if (ue && u[ue]) {
|
|
126167
126187
|
const te = u[ue];
|
|
126168
126188
|
[
|
|
@@ -126176,46 +126196,46 @@ function _f(d, u = {}, i = {}) {
|
|
|
126176
126196
|
}
|
|
126177
126197
|
});
|
|
126178
126198
|
const Z = [
|
|
126179
|
-
...(l.inputs || []).flatMap((
|
|
126180
|
-
...(L.inputsDeclarations || []).flatMap((
|
|
126181
|
-
...(L.outputs || []).flatMap((
|
|
126199
|
+
...(l.inputs || []).flatMap((z) => z),
|
|
126200
|
+
...(L.inputsDeclarations || []).flatMap((z) => z),
|
|
126201
|
+
...(L.outputs || []).flatMap((z) => z),
|
|
126182
126202
|
...(K.internalCalls || []).flatMap(
|
|
126183
|
-
(
|
|
126203
|
+
(z) => z
|
|
126184
126204
|
),
|
|
126185
126205
|
...K.writesValues || [],
|
|
126186
126206
|
...M.dataType ? [M.dataType] : [],
|
|
126187
126207
|
...T.body ? [T.body] : [],
|
|
126188
126208
|
...M.defaultValue ? [M.defaultValue] : [],
|
|
126189
|
-
...(M.successCalls || []).flatMap((
|
|
126190
|
-
...(M.errorCalls || []).flatMap((
|
|
126191
|
-
...(e.properties || []).flatMap((
|
|
126192
|
-
...(e.methods || []).flatMap((
|
|
126193
|
-
...(e.abstractMethods || []).flatMap((
|
|
126209
|
+
...(M.successCalls || []).flatMap((z) => z),
|
|
126210
|
+
...(M.errorCalls || []).flatMap((z) => z),
|
|
126211
|
+
...(e.properties || []).flatMap((z) => z),
|
|
126212
|
+
...(e.methods || []).flatMap((z) => z),
|
|
126213
|
+
...(e.abstractMethods || []).flatMap((z) => z),
|
|
126194
126214
|
...I.error ? [I.error] : [],
|
|
126195
126215
|
...N.throws ? [N.throws] : [],
|
|
126196
126216
|
...(c.andChildrenGroup || []).flatMap(
|
|
126197
|
-
(
|
|
126217
|
+
(z) => z
|
|
126198
126218
|
),
|
|
126199
126219
|
...(c.orChildrenGroup || []).flatMap(
|
|
126200
|
-
(
|
|
126220
|
+
(z) => z
|
|
126201
126221
|
),
|
|
126202
|
-
...(E.entities || []).flatMap((
|
|
126203
|
-
...(E.functions || []).flatMap((
|
|
126204
|
-
...(E.functionCalls || []).flatMap((
|
|
126205
|
-
...(E.events || []).flatMap((
|
|
126206
|
-
...(E.conditions || []).flatMap((
|
|
126207
|
-
...(E.operations || []).flatMap((
|
|
126208
|
-
...(E.loops || []).flatMap((
|
|
126209
|
-
...(E.variableDeclarations || []).flatMap((
|
|
126210
|
-
...(E.variableInstances || []).flatMap((
|
|
126211
|
-
...(E.searches || []).flatMap((
|
|
126212
|
-
...(E.projects || []).flatMap((
|
|
126213
|
-
...(y.calls || []).flatMap((
|
|
126222
|
+
...(E.entities || []).flatMap((z) => z),
|
|
126223
|
+
...(E.functions || []).flatMap((z) => z),
|
|
126224
|
+
...(E.functionCalls || []).flatMap((z) => z),
|
|
126225
|
+
...(E.events || []).flatMap((z) => z),
|
|
126226
|
+
...(E.conditions || []).flatMap((z) => z),
|
|
126227
|
+
...(E.operations || []).flatMap((z) => z),
|
|
126228
|
+
...(E.loops || []).flatMap((z) => z),
|
|
126229
|
+
...(E.variableDeclarations || []).flatMap((z) => z),
|
|
126230
|
+
...(E.variableInstances || []).flatMap((z) => z),
|
|
126231
|
+
...(E.searches || []).flatMap((z) => z),
|
|
126232
|
+
...(E.projects || []).flatMap((z) => z),
|
|
126233
|
+
...(y.calls || []).flatMap((z) => z)
|
|
126214
126234
|
];
|
|
126215
126235
|
d.type === p.DataType && (c.entity && u[ee(c.entity)] && u[ee(c.entity)].parent && ee(
|
|
126216
126236
|
u[ee(c.entity)].parent
|
|
126217
|
-
) === d.id ? Z.push(c.entity) : c.entity && q.push(c.entity)), (K.internalCalls || []).forEach((
|
|
126218
|
-
const ue = ee(
|
|
126237
|
+
) === d.id ? Z.push(c.entity) : c.entity && q.push(c.entity)), (K.internalCalls || []).forEach((z) => {
|
|
126238
|
+
const ue = ee(z);
|
|
126219
126239
|
if (ue && u[ue]) {
|
|
126220
126240
|
const te = u[ue];
|
|
126221
126241
|
[
|
|
@@ -126228,26 +126248,26 @@ function _f(d, u = {}, i = {}) {
|
|
|
126228
126248
|
}
|
|
126229
126249
|
});
|
|
126230
126250
|
const H = {}, ae = {};
|
|
126231
|
-
return q.forEach((
|
|
126251
|
+
return q.forEach((z) => {
|
|
126232
126252
|
var le;
|
|
126233
|
-
const ue = ee(
|
|
126234
|
-
if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(
|
|
126253
|
+
const ue = ee(z);
|
|
126254
|
+
if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(z.type) || (a.allBuiltInEntityIds || []).includes(
|
|
126235
126255
|
ue
|
|
126236
126256
|
)))
|
|
126237
126257
|
return;
|
|
126238
|
-
const te =
|
|
126258
|
+
const te = z.version;
|
|
126239
126259
|
if (ue) {
|
|
126240
126260
|
const he = ((le = a.entityMaps) == null ? void 0 : le.get(ue)) || ue;
|
|
126241
126261
|
H[he] = te;
|
|
126242
126262
|
}
|
|
126243
|
-
}), Z.forEach((
|
|
126263
|
+
}), Z.forEach((z) => {
|
|
126244
126264
|
var le;
|
|
126245
|
-
const ue = ee(
|
|
126246
|
-
if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(
|
|
126265
|
+
const ue = ee(z);
|
|
126266
|
+
if (ue && a.ignoreBuiltInBaseEntities && (xs.includes(z.type) || (a.allBuiltInEntityIds || []).includes(
|
|
126247
126267
|
ue
|
|
126248
126268
|
)))
|
|
126249
126269
|
return;
|
|
126250
|
-
const te =
|
|
126270
|
+
const te = z.version;
|
|
126251
126271
|
if (ue) {
|
|
126252
126272
|
const he = ((le = a.entityMaps) == null ? void 0 : le.get(ue)) || ue;
|
|
126253
126273
|
ae[he] = te;
|
|
@@ -126963,7 +126983,7 @@ function ULt(d) {
|
|
|
126963
126983
|
) : null;
|
|
126964
126984
|
}
|
|
126965
126985
|
function wa(d, u = !1) {
|
|
126966
|
-
|
|
126986
|
+
J.log(
|
|
126967
126987
|
"[getRelatedCanvasElementsOnTheRight]",
|
|
126968
126988
|
d.type,
|
|
126969
126989
|
Y(d, d.project),
|
|
@@ -126988,7 +127008,7 @@ function wa(d, u = !1) {
|
|
|
126988
127008
|
const a = [
|
|
126989
127009
|
...d.suggestedMethods,
|
|
126990
127010
|
...d.methods
|
|
126991
|
-
].flatMap((l) => l.collapsed && u ? [] : (
|
|
127011
|
+
].flatMap((l) => l.collapsed && u ? [] : (J.log(
|
|
126992
127012
|
"[Recursive -- getRelatedCanvasElementsOnTheRight]",
|
|
126993
127013
|
l.type,
|
|
126994
127014
|
Y(l, l.project),
|
|
@@ -127570,20 +127590,20 @@ function $r(d, u, i = null) {
|
|
|
127570
127590
|
}
|
|
127571
127591
|
function Pp(d, u) {
|
|
127572
127592
|
if (xs.includes(d.type))
|
|
127573
|
-
return
|
|
127593
|
+
return J.warn(
|
|
127574
127594
|
`getRootEntryPointScopeOwner is \`null\` because it was called with a built-in entity type: ${d.type}`
|
|
127575
127595
|
), null;
|
|
127576
127596
|
if (u.getBuiltIn(d.id))
|
|
127577
|
-
return
|
|
127597
|
+
return J.warn(
|
|
127578
127598
|
`getRootEntryPointScopeOwner is \`null\` because it was called with a built-in entity: ${d.id}`
|
|
127579
127599
|
), null;
|
|
127580
127600
|
const i = Ts(
|
|
127581
127601
|
d.parent,
|
|
127582
127602
|
u
|
|
127583
127603
|
);
|
|
127584
|
-
return i ? i === u ? ir.includes(d.type) ? d : (
|
|
127604
|
+
return i ? i === u ? ir.includes(d.type) ? d : (J.warn(
|
|
127585
127605
|
`getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has the project as parent: ${d.id}`
|
|
127586
|
-
), null) : i.type === p.DefinitionEntity ? d : Pp(i, u) : (
|
|
127606
|
+
), null) : i.type === p.DefinitionEntity ? d : Pp(i, u) : (J.warn(
|
|
127587
127607
|
`getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has no parent: ${d.id}`
|
|
127588
127608
|
), null);
|
|
127589
127609
|
}
|
|
@@ -129747,7 +129767,7 @@ ${SA}`
|
|
|
129747
129767
|
)
|
|
129748
129768
|
)) {
|
|
129749
129769
|
if (!this.checkCanEdit(this))
|
|
129750
|
-
return
|
|
129770
|
+
return J.warn(
|
|
129751
129771
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
129752
129772
|
), a == null || a.attemptAutoclose(
|
|
129753
129773
|
O.UpdateWithShallowTransfer,
|
|
@@ -129849,7 +129869,7 @@ ${SA}`
|
|
|
129849
129869
|
)
|
|
129850
129870
|
)) {
|
|
129851
129871
|
if (!this.checkCanEdit(this))
|
|
129852
|
-
return
|
|
129872
|
+
return J.warn(
|
|
129853
129873
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
129854
129874
|
), i == null || i.attemptAutoclose(
|
|
129855
129875
|
O.AfterAllChildrenInitialized,
|
|
@@ -129959,7 +129979,7 @@ ${SA}`
|
|
|
129959
129979
|
O.AddImplementation
|
|
129960
129980
|
)
|
|
129961
129981
|
)) {
|
|
129962
|
-
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (
|
|
129982
|
+
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
|
|
129963
129983
|
`[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
129964
129984
|
), a == null || a.attemptAutoclose(
|
|
129965
129985
|
O.AddImplementation,
|
|
@@ -129979,7 +129999,7 @@ ${SA}`
|
|
|
129979
129999
|
return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
129980
130000
|
O.RemoveImplementation,
|
|
129981
130001
|
this.id
|
|
129982
|
-
), this) : (
|
|
130002
|
+
), this) : (J.warn(
|
|
129983
130003
|
`[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
129984
130004
|
), a == null || a.attemptAutoclose(
|
|
129985
130005
|
O.RemoveImplementation,
|
|
@@ -129997,7 +130017,7 @@ ${SA}`
|
|
|
129997
130017
|
)
|
|
129998
130018
|
)) {
|
|
129999
130019
|
var l;
|
|
130000
|
-
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (
|
|
130020
|
+
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtends, this.id), this) : (J.warn(
|
|
130001
130021
|
`[setExtends] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130002
130022
|
), a == null || a.attemptAutoclose(O.SetExtends, this.id), this);
|
|
130003
130023
|
}
|
|
@@ -130099,7 +130119,7 @@ ${SA}`
|
|
|
130099
130119
|
)
|
|
130100
130120
|
)) {
|
|
130101
130121
|
if (!this.checkCanEdit(this))
|
|
130102
|
-
return
|
|
130122
|
+
return J.warn(
|
|
130103
130123
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130104
130124
|
), i == null || i.attemptAutoclose(
|
|
130105
130125
|
O.RemoveFromParent,
|
|
@@ -130141,7 +130161,7 @@ ${SA}`
|
|
|
130141
130161
|
)) {
|
|
130142
130162
|
var v;
|
|
130143
130163
|
if (!this.checkCanDelete(this))
|
|
130144
|
-
return
|
|
130164
|
+
return J.warn(
|
|
130145
130165
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
130146
130166
|
), a == null || a.event({
|
|
130147
130167
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -130222,7 +130242,7 @@ ${SA}`
|
|
|
130222
130242
|
)
|
|
130223
130243
|
)) {
|
|
130224
130244
|
if (!this.checkCanEdit(this))
|
|
130225
|
-
return
|
|
130245
|
+
return J.warn(
|
|
130226
130246
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130227
130247
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
130228
130248
|
const a = [], l = [], c = [], e = [];
|
|
@@ -130600,7 +130620,7 @@ ${SA}`
|
|
|
130600
130620
|
)
|
|
130601
130621
|
)) {
|
|
130602
130622
|
if (!this.checkCanEdit(this))
|
|
130603
|
-
return
|
|
130623
|
+
return J.warn(
|
|
130604
130624
|
`[setDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130605
130625
|
), a == null || a.attemptAutoclose(O.SetDataType, this.id), this;
|
|
130606
130626
|
const l = this.dataType;
|
|
@@ -130616,7 +130636,7 @@ ${SA}`
|
|
|
130616
130636
|
O.RemoveDataType
|
|
130617
130637
|
)
|
|
130618
130638
|
)) {
|
|
130619
|
-
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (
|
|
130639
|
+
return this.checkCanEdit(this) ? (this.dataType && (this.dataType.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.dataType = null), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this) : (J.warn(
|
|
130620
130640
|
`[removeDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130621
130641
|
), i == null || i.attemptAutoclose(O.RemoveDataType, this.id), this);
|
|
130622
130642
|
}
|
|
@@ -130654,7 +130674,7 @@ ${SA}`
|
|
|
130654
130674
|
)
|
|
130655
130675
|
)) {
|
|
130656
130676
|
if (!this.checkCanEdit(this))
|
|
130657
|
-
return
|
|
130677
|
+
return J.warn(
|
|
130658
130678
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130659
130679
|
), a == null || a.attemptAutoclose("set-default-value", this.id), this;
|
|
130660
130680
|
const l = this.defaultValue;
|
|
@@ -130674,7 +130694,7 @@ ${SA}`
|
|
|
130674
130694
|
)) {
|
|
130675
130695
|
var v;
|
|
130676
130696
|
if (!this.checkCanEdit(this))
|
|
130677
|
-
return
|
|
130697
|
+
return J.warn(
|
|
130678
130698
|
`[syncWithImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
130679
130699
|
), i == null || i.attemptAutoclose("sync-with-implementation", this.id), {
|
|
130680
130700
|
added: [],
|
|
@@ -131351,7 +131371,7 @@ function c2t(d, u, i = !1) {
|
|
|
131351
131371
|
);
|
|
131352
131372
|
a.push(...K.errors);
|
|
131353
131373
|
}
|
|
131354
|
-
i &&
|
|
131374
|
+
i && J.log("self.implements.length", d.implements.length), d.implements.length && d.implements.forEach((E) => {
|
|
131355
131375
|
if (E.type === p.BuiltInBaseEntity) {
|
|
131356
131376
|
const D = l.filter(
|
|
131357
131377
|
(N) => N.id !== E.id
|
|
@@ -132218,7 +132238,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132218
132238
|
)
|
|
132219
132239
|
)) {
|
|
132220
132240
|
if (!this.checkCanEdit(this))
|
|
132221
|
-
return
|
|
132241
|
+
return J.warn(
|
|
132222
132242
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132223
132243
|
), a == null || a.attemptAutoclose(
|
|
132224
132244
|
O.UpdateWithShallowTransfer,
|
|
@@ -132318,7 +132338,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132318
132338
|
)
|
|
132319
132339
|
)) {
|
|
132320
132340
|
if (!this.checkCanEdit(this))
|
|
132321
|
-
return
|
|
132341
|
+
return J.warn(
|
|
132322
132342
|
`[afterAllChildrenInitialized] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132323
132343
|
), i == null || i.attemptAutoclose(
|
|
132324
132344
|
O.AfterAllChildrenInitialized,
|
|
@@ -132356,9 +132376,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132356
132376
|
updated: Z,
|
|
132357
132377
|
added: H,
|
|
132358
132378
|
removed: ae,
|
|
132359
|
-
affected:
|
|
132379
|
+
affected: z
|
|
132360
132380
|
} = this.syncImplementationMethods(i);
|
|
132361
|
-
a.push(...Z), l.push(...H), c.push(...ae), e.push(...
|
|
132381
|
+
a.push(...Z), l.push(...H), c.push(...ae), e.push(...z);
|
|
132362
132382
|
const {
|
|
132363
132383
|
updated: ue,
|
|
132364
132384
|
added: te,
|
|
@@ -132440,7 +132460,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132440
132460
|
)
|
|
132441
132461
|
)) {
|
|
132442
132462
|
var l;
|
|
132443
|
-
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtension, this.id), this) : (
|
|
132463
|
+
return this.checkCanEdit(this) ? (((l = this.extends) == null ? void 0 : l.id) !== (i == null ? void 0 : i.id) && (this.extends = i, a && (a == null || a.add(this, G.Updated))), a == null || a.attemptAutoclose(O.SetExtension, this.id), this) : (J.warn(
|
|
132444
132464
|
`[setExtension] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132445
132465
|
), a == null || a.attemptAutoclose(O.SetExtension, this.id), this);
|
|
132446
132466
|
}
|
|
@@ -132454,7 +132474,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132454
132474
|
O.AddImplementation
|
|
132455
132475
|
)
|
|
132456
132476
|
)) {
|
|
132457
|
-
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (
|
|
132477
|
+
return this.checkCanEdit(this) ? (this.implements.includes(i) || (this.implements.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddImplementation, this.id), this) : (J.warn(
|
|
132458
132478
|
`[addImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132459
132479
|
), a == null || a.attemptAutoclose(
|
|
132460
132480
|
O.AddImplementation,
|
|
@@ -132474,7 +132494,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132474
132494
|
return this.checkCanEdit(this) ? (this.implements.includes(i) && (this.implements = this.implements.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
132475
132495
|
O.RemoveImplementation,
|
|
132476
132496
|
this.id
|
|
132477
|
-
), this) : (
|
|
132497
|
+
), this) : (J.warn(
|
|
132478
132498
|
`[removeImplementation] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132479
132499
|
), a == null || a.attemptAutoclose(
|
|
132480
132500
|
O.RemoveImplementation,
|
|
@@ -132491,7 +132511,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132491
132511
|
O.RemoveProperty
|
|
132492
132512
|
)
|
|
132493
132513
|
)) {
|
|
132494
|
-
return this.checkCanEdit(this) ? (this.properties.includes(i) && (this.properties = this.properties.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this) : (
|
|
132514
|
+
return this.checkCanEdit(this) ? (this.properties.includes(i) && (this.properties = this.properties.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this) : (J.warn(
|
|
132495
132515
|
`[removeProperty] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132496
132516
|
), a == null || a.attemptAutoclose(O.RemoveProperty, this.id), this);
|
|
132497
132517
|
}
|
|
@@ -132507,7 +132527,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132507
132527
|
)) {
|
|
132508
132528
|
return this.checkCanEdit(this) ? (this.methods.includes(i) || (this.methods.push(i), this.suggestedMethods = this.suggestedMethods.filter(
|
|
132509
132529
|
(l) => l.name !== i.name
|
|
132510
|
-
), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddMethod, this.id), this) : (
|
|
132530
|
+
), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddMethod, this.id), this) : (J.warn(
|
|
132511
132531
|
`[addMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132512
132532
|
), a == null || a.attemptAutoclose(O.AddMethod, this.id), this);
|
|
132513
132533
|
}
|
|
@@ -132521,7 +132541,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132521
132541
|
O.RemoveMethod
|
|
132522
132542
|
)
|
|
132523
132543
|
)) {
|
|
132524
|
-
return this.checkCanEdit(this) ? (this.methods.includes(i) && (this.methods = this.methods.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this) : (
|
|
132544
|
+
return this.checkCanEdit(this) ? (this.methods.includes(i) && (this.methods = this.methods.filter((l) => l.id !== i.id), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this) : (J.warn(
|
|
132525
132545
|
`[removeMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132526
132546
|
), a == null || a.attemptAutoclose(O.RemoveMethod, this.id), this);
|
|
132527
132547
|
}
|
|
@@ -132537,7 +132557,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132537
132557
|
)) {
|
|
132538
132558
|
return this.checkCanEdit(this) ? (this.properties.includes(i) || (this.properties.push(i), this.suggestedProperties = this.suggestedProperties.filter(
|
|
132539
132559
|
(l) => l.name !== i.name
|
|
132540
|
-
), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddProperty, this.id), this) : (
|
|
132560
|
+
), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddProperty, this.id), this) : (J.warn(
|
|
132541
132561
|
`[addProperty] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132542
132562
|
), a == null || a.attemptAutoclose(O.AddProperty, this.id), this);
|
|
132543
132563
|
}
|
|
@@ -132567,7 +132587,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132567
132587
|
O.AddAbstractMethod
|
|
132568
132588
|
)
|
|
132569
132589
|
)) {
|
|
132570
|
-
return this.checkCanEdit(this) ? (this.abstractMethods.includes(i) || (this.abstractMethods.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddAbstractMethod, this.id), this) : (
|
|
132590
|
+
return this.checkCanEdit(this) ? (this.abstractMethods.includes(i) || (this.abstractMethods.push(i), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(O.AddAbstractMethod, this.id), this) : (J.warn(
|
|
132571
132591
|
`[addAbstractMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132572
132592
|
), a == null || a.attemptAutoclose(
|
|
132573
132593
|
O.AddAbstractMethod,
|
|
@@ -132589,7 +132609,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132589
132609
|
), a == null || a.add(this, G.Updated)), a == null || a.attemptAutoclose(
|
|
132590
132610
|
O.RemoveAbstractMethod,
|
|
132591
132611
|
this.id
|
|
132592
|
-
), this) : (
|
|
132612
|
+
), this) : (J.warn(
|
|
132593
132613
|
`[removeAbstractMethod] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
132594
132614
|
), a == null || a.attemptAutoclose(
|
|
132595
132615
|
O.RemoveAbstractMethod,
|
|
@@ -132742,7 +132762,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132742
132762
|
))
|
|
132743
132763
|
return;
|
|
132744
132764
|
const N = this.methods.find((M) => {
|
|
132745
|
-
var ae,
|
|
132765
|
+
var ae, z;
|
|
132746
132766
|
if (M.name === E.name && !M.implements)
|
|
132747
132767
|
return !0;
|
|
132748
132768
|
const K = fr(
|
|
@@ -132751,7 +132771,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
132751
132771
|
), q = fr(
|
|
132752
132772
|
this,
|
|
132753
132773
|
ce.HTTP_ENDPOINT
|
|
132754
|
-
), Z = ((ae = M.implements) == null ? void 0 : ae.id) === pe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id, H = ((
|
|
132774
|
+
), Z = ((ae = M.implements) == null ? void 0 : ae.id) === pe["built-in-base-entity"].BUILT_IN_HTTP_ENDPOINT_ENTITY.methods.handler.id, H = ((z = M.implements) == null ? void 0 : z.id) === pe["built-in-base-entity"].BUILT_IN_CRON_JOB_ENTITY.methods.handler.id;
|
|
132755
132775
|
return !!(K && !H && !q && Z || q && !Z && !K && H);
|
|
132756
132776
|
});
|
|
132757
132777
|
if (N && N.type === p.FunctionDeclaration) {
|
|
@@ -133013,7 +133033,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133013
133033
|
)
|
|
133014
133034
|
)) {
|
|
133015
133035
|
if (!this.checkCanEdit(this))
|
|
133016
|
-
return
|
|
133036
|
+
return J.warn(
|
|
133017
133037
|
`[removeFromParent] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133018
133038
|
), i == null || i.attemptAutoclose(
|
|
133019
133039
|
O.RemoveFromParent,
|
|
@@ -133061,7 +133081,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133061
133081
|
)) {
|
|
133062
133082
|
var v;
|
|
133063
133083
|
if (!this.checkCanDelete(this))
|
|
133064
|
-
return
|
|
133084
|
+
return J.warn(
|
|
133065
133085
|
`[remove] User is not allowed to delete or edit this ${this.type} entity with id: ${this.id}`
|
|
133066
133086
|
), a == null || a.event({
|
|
133067
133087
|
id: `${O.RemoveEntity}-${this.id}`,
|
|
@@ -133164,7 +133184,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133164
133184
|
)
|
|
133165
133185
|
)) {
|
|
133166
133186
|
if (!this.checkCanEdit(this))
|
|
133167
|
-
return
|
|
133187
|
+
return J.warn(
|
|
133168
133188
|
`[restore] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133169
133189
|
), i == null || i.attemptAutoclose(O.RestoreEntity, this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
133170
133190
|
const a = [], l = [], c = [], e = [];
|
|
@@ -133629,7 +133649,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133629
133649
|
v.forEach((E) => {
|
|
133630
133650
|
var Z, H, ae;
|
|
133631
133651
|
const D = T.find(
|
|
133632
|
-
(
|
|
133652
|
+
(z) => Y(z, this.project) === Y(E, this.project)
|
|
133633
133653
|
);
|
|
133634
133654
|
if (!D)
|
|
133635
133655
|
return;
|
|
@@ -133661,8 +133681,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133661
133681
|
)));
|
|
133662
133682
|
let q = null;
|
|
133663
133683
|
if (E.declaration && D.id !== ((ae = E.declaration) == null ? void 0 : ae.id) && (q = E.declaration), E.setDeclaration(D, a), a == null || a.add(E, G.Updated), q) {
|
|
133664
|
-
const { updated:
|
|
133665
|
-
c.push(...
|
|
133684
|
+
const { updated: z, removed: ue } = q.remove({ ignoreUpstream: !1 }, a);
|
|
133685
|
+
c.push(...z), e.push(...ue);
|
|
133666
133686
|
}
|
|
133667
133687
|
});
|
|
133668
133688
|
const I = [];
|
|
@@ -133681,7 +133701,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133681
133701
|
affected: [],
|
|
133682
133702
|
self: this
|
|
133683
133703
|
}) : (I.forEach((E) => {
|
|
133684
|
-
var H, ae,
|
|
133704
|
+
var H, ae, z, ue;
|
|
133685
133705
|
const D = this.properties.find(
|
|
133686
133706
|
(te) => Y(te, this.project) === Y(E, this.project)
|
|
133687
133707
|
);
|
|
@@ -133734,7 +133754,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133734
133754
|
V.UUID.uuid(),
|
|
133735
133755
|
!0
|
|
133736
133756
|
);
|
|
133737
|
-
return Z && ((
|
|
133757
|
+
return Z && ((z = L.dataType) == null || z.merge(Z, a), Z.id !== ((ue = L.dataType) == null ? void 0 : ue.id) && Z.remove({ ignoreUpstream: !1 }, a), L.dataType && (L.dataType.metaSync(
|
|
133738
133758
|
{
|
|
133739
133759
|
inferred: !0,
|
|
133740
133760
|
like: !0
|
|
@@ -133786,7 +133806,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133786
133806
|
)
|
|
133787
133807
|
)) {
|
|
133788
133808
|
if (!this.checkCanEdit(this))
|
|
133789
|
-
return
|
|
133809
|
+
return J.warn(
|
|
133790
133810
|
`[setAdditionalPropertiesDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133791
133811
|
), a == null || a.attemptAutoclose(
|
|
133792
133812
|
O.SetAdditionalPropertiesDataType,
|
|
@@ -133814,7 +133834,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133814
133834
|
), i == null || i.add(this, G.Affected), this.additionalPropertiesDataType = null), i == null || i.attemptAutoclose(
|
|
133815
133835
|
O.RemoveAllPropertiesImplement,
|
|
133816
133836
|
this.id
|
|
133817
|
-
), this) : (
|
|
133837
|
+
), this) : (J.warn(
|
|
133818
133838
|
`[removeAdditionalPropertiesDataType] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133819
133839
|
), i == null || i.attemptAutoclose(
|
|
133820
133840
|
O.RemoveAllPropertiesImplement,
|
|
@@ -133832,7 +133852,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133832
133852
|
)
|
|
133833
133853
|
)) {
|
|
133834
133854
|
if (!this.checkCanEdit(this))
|
|
133835
|
-
return
|
|
133855
|
+
return J.warn(
|
|
133836
133856
|
`[setAllPropertiesImplement] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133837
133857
|
), a == null || a.attemptAutoclose(
|
|
133838
133858
|
O.SetAllPropertiesImplement,
|
|
@@ -133857,7 +133877,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
133857
133877
|
return this.checkCanEdit(this) ? (this.allPropertiesImplement && (this.allPropertiesImplement.remove({ ignoreUpstream: !0 }, i), i == null || i.add(this, G.Affected), this.allPropertiesImplement = null), i == null || i.attemptAutoclose(
|
|
133858
133878
|
O.RemoveAllPropertiesImplement,
|
|
133859
133879
|
this.id
|
|
133860
|
-
), this) : (
|
|
133880
|
+
), this) : (J.warn(
|
|
133861
133881
|
`[removeAllPropertiesImplement] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
133862
133882
|
), i == null || i.attemptAutoclose(
|
|
133863
133883
|
O.RemoveAllPropertiesImplement,
|
|
@@ -135068,7 +135088,7 @@ const mG = {
|
|
|
135068
135088
|
return a;
|
|
135069
135089
|
const l = this.history.find((y) => y.open);
|
|
135070
135090
|
if (l)
|
|
135071
|
-
throw
|
|
135091
|
+
throw J.warn("Previous still open: ", l), J.warn("New change set: ", i), new Error(
|
|
135072
135092
|
`There is already an open change-set with id '${l.id}'.`
|
|
135073
135093
|
);
|
|
135074
135094
|
return this.undoableStackValueIndex = O$(
|
|
@@ -135254,7 +135274,7 @@ const mG = {
|
|
|
135254
135274
|
O.UpdateWithShallowTransfer
|
|
135255
135275
|
)
|
|
135256
135276
|
)) {
|
|
135257
|
-
return this.checkCanEdit(this) ? (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.captureVersion(), this.subscribeToDependencies(), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this) : (
|
|
135277
|
+
return this.checkCanEdit(this) ? (this.metaSync(i, a), this.version = i.version, this.createdAt = i.createdAt, this.author = i.author, this.deleted = i.deleted, this.previousVersion = i.previousVersion, this.captureVersion(), this.subscribeToDependencies(), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this) : (J.warn(
|
|
135258
135278
|
`[updateWithShallowTransfer] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
135259
135279
|
), a == null || a.attemptAutoclose(O.UpdateWithShallowTransfer, this.id), this);
|
|
135260
135280
|
}
|
|
@@ -136539,9 +136559,9 @@ const mG = {
|
|
|
136539
136559
|
So in the temporary change-set, those entities will be present under 'removed' and 'added' will be empty
|
|
136540
136560
|
*/
|
|
136541
136561
|
undo() {
|
|
136542
|
-
|
|
136562
|
+
J.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex - 1, J.log("To: ", this.undoableStackValueIndex);
|
|
136543
136563
|
const i = this.history[this.undoableStackValueIndex + 1], a = this.history[this.undoableStackValueIndex];
|
|
136544
|
-
return
|
|
136564
|
+
return J.log("Current change set: ", i == null ? void 0 : i.toJSON()), J.log("Change set to restore: ", a == null ? void 0 : a.toJSON()), g$(
|
|
136545
136565
|
i || "initial",
|
|
136546
136566
|
a || "initial",
|
|
136547
136567
|
this
|
|
@@ -136549,9 +136569,9 @@ const mG = {
|
|
|
136549
136569
|
}
|
|
136550
136570
|
// The currently active change-set is the one with one index lower than the given 'newActiveIndex'
|
|
136551
136571
|
redo() {
|
|
136552
|
-
|
|
136572
|
+
J.log("Undoing, from: ", this.undoableStackValueIndex), this.undoableStackValueIndex = this.undoableStackValueIndex + 1, J.log("To: ", this.undoableStackValueIndex);
|
|
136553
136573
|
const i = this.history[this.undoableStackValueIndex - 1], a = this.history[this.undoableStackValueIndex];
|
|
136554
|
-
return
|
|
136574
|
+
return J.log("Current change set: ", i == null ? void 0 : i.toJSON()), J.log("Change set to restore: ", a.toJSON()), g$(
|
|
136555
136575
|
i || "initial",
|
|
136556
136576
|
a || "initial",
|
|
136557
136577
|
this
|
|
@@ -136583,23 +136603,23 @@ const mG = {
|
|
|
136583
136603
|
y.forEach((T) => {
|
|
136584
136604
|
var I;
|
|
136585
136605
|
if (!e[T]) {
|
|
136586
|
-
|
|
136606
|
+
J.warn(
|
|
136587
136607
|
`Entity '${T}' not found in change set transfer. Cannot apply changes.`
|
|
136588
136608
|
);
|
|
136589
136609
|
const E = (I = this.get(T)) == null ? void 0 : I.toShallowJSON();
|
|
136590
|
-
throw E ?
|
|
136610
|
+
throw E ? J.warn("Entity in project: ", E) : J.warn("Entity not in project"), new Error(
|
|
136591
136611
|
`Entity '${T}' not found in change set transfer. Cannot apply changes.`
|
|
136592
136612
|
);
|
|
136593
136613
|
}
|
|
136594
136614
|
});
|
|
136595
136615
|
const v = new Xa(c);
|
|
136596
|
-
return v.flatRecord = e, v.order = y, v.orderEntities(),
|
|
136616
|
+
return v.flatRecord = e, v.order = y, v.orderEntities(), J.log(
|
|
136597
136617
|
"All entities: ",
|
|
136598
136618
|
v.order.map((T, I) => `${I + 1}: ${e[T].type} - ${T}`).join(`,
|
|
136599
136619
|
`)
|
|
136600
|
-
),
|
|
136620
|
+
), J.log("Persisting new additions"), v.visit(async (T, I) => {
|
|
136601
136621
|
if (a.added[T.id]) {
|
|
136602
|
-
|
|
136622
|
+
J.log("Adding: ", T.id);
|
|
136603
136623
|
try {
|
|
136604
136624
|
const E = se(
|
|
136605
136625
|
T,
|
|
@@ -136608,12 +136628,12 @@ const mG = {
|
|
|
136608
136628
|
if (E.hydrateAncestors(), E.addSelfToProject(l), l.add(E, G.Added), !this.get(T.id))
|
|
136609
136629
|
throw new Error(`Entity ${T.id} was not added to the project`);
|
|
136610
136630
|
} catch (E) {
|
|
136611
|
-
|
|
136631
|
+
J.error("Error: ", E), J.error("Errored entity: ", T);
|
|
136612
136632
|
}
|
|
136613
136633
|
}
|
|
136614
|
-
}),
|
|
136634
|
+
}), J.log("Persisting updates"), v.visit(async (T, I) => {
|
|
136615
136635
|
if (a.updated[T.id]) {
|
|
136616
|
-
|
|
136636
|
+
J.log("Updating: ", T.id);
|
|
136617
136637
|
try {
|
|
136618
136638
|
const E = this.get(
|
|
136619
136639
|
T.id
|
|
@@ -136624,21 +136644,21 @@ const mG = {
|
|
|
136624
136644
|
), l.add(
|
|
136625
136645
|
E,
|
|
136626
136646
|
G.Updated
|
|
136627
|
-
)) :
|
|
136647
|
+
)) : J.warn(
|
|
136628
136648
|
`Active version of ${T.id} not found when applying external changes`
|
|
136629
136649
|
);
|
|
136630
136650
|
} catch (E) {
|
|
136631
|
-
|
|
136651
|
+
J.error("Error: ", E), J.error("Errored entity: ", T);
|
|
136632
136652
|
}
|
|
136633
136653
|
}
|
|
136634
|
-
}),
|
|
136654
|
+
}), J.log("Persisting removals"), v.visit(async (T, I) => {
|
|
136635
136655
|
if (a.removed[T.id]) {
|
|
136636
|
-
|
|
136656
|
+
J.log("Removing: ", T.id);
|
|
136637
136657
|
try {
|
|
136638
136658
|
const E = this.get(T.id);
|
|
136639
136659
|
E && E.remove({ ignoreUpstream: !1 }, l);
|
|
136640
136660
|
} catch (E) {
|
|
136641
|
-
|
|
136661
|
+
J.error("Error: ", E), J.error("Errored entity: ", T);
|
|
136642
136662
|
}
|
|
136643
136663
|
}
|
|
136644
136664
|
}), l;
|
|
@@ -136983,7 +137003,7 @@ class D2t extends Mt {
|
|
|
136983
137003
|
"sync-entity-to-match-input-map-data-type"
|
|
136984
137004
|
)
|
|
136985
137005
|
)) {
|
|
136986
|
-
var I, E, D, N, L, M, K, q, Z, H, ae,
|
|
137006
|
+
var I, E, D, N, L, M, K, q, Z, H, ae, z, ue, te, le, he, X;
|
|
136987
137007
|
const l = [], c = [], e = [], y = [];
|
|
136988
137008
|
if (((I = i.declaration) == null ? void 0 : I.id) !== pe.operation[Ar.Validate].inputs.entityToMatch.id)
|
|
136989
137009
|
return a == null || a.attemptAutoclose(
|
|
@@ -137036,7 +137056,7 @@ class D2t extends Mt {
|
|
|
137036
137056
|
asType: !0,
|
|
137037
137057
|
options: ((H = i.declaration.dataType) == null ? void 0 : H.options) || null,
|
|
137038
137058
|
implementationChooseOne: ((ae = i.declaration.dataType) == null ? void 0 : ae.implementationChooseOne) || !1,
|
|
137039
|
-
staticEntities: ((
|
|
137059
|
+
staticEntities: ((z = i.declaration.dataType) == null ? void 0 : z.staticEntities) ?? null,
|
|
137040
137060
|
interactiveEntities: ((ue = i.declaration.dataType) == null ? void 0 : ue.interactiveEntities) ?? null,
|
|
137041
137061
|
actionEntities: ((te = i.declaration.dataType) == null ? void 0 : te.actionEntities) ?? null,
|
|
137042
137062
|
isList: ((le = i.declaration.dataType) == null ? void 0 : le.isList) || !1
|
|
@@ -137877,7 +137897,7 @@ function H2t(d, u = {
|
|
|
137877
137897
|
});
|
|
137878
137898
|
} catch (M) {
|
|
137879
137899
|
if (c)
|
|
137880
|
-
|
|
137900
|
+
J.error("Error hydrating ancestors: ", M);
|
|
137881
137901
|
else
|
|
137882
137902
|
throw M;
|
|
137883
137903
|
}
|
|
@@ -137946,7 +137966,7 @@ async function J2t(d, u = Qm) {
|
|
|
137946
137966
|
}
|
|
137947
137967
|
};
|
|
137948
137968
|
}
|
|
137949
|
-
return
|
|
137969
|
+
return J.log("Fetching project from external API"), new Promise(
|
|
137950
137970
|
async (l) => {
|
|
137951
137971
|
try {
|
|
137952
137972
|
if (i.onFetch) {
|
|
@@ -137958,7 +137978,7 @@ async function J2t(d, u = Qm) {
|
|
|
137958
137978
|
} else
|
|
137959
137979
|
l({ data: null });
|
|
137960
137980
|
} catch (c) {
|
|
137961
|
-
|
|
137981
|
+
J.error("Error fetching project: ", c), l({ data: null });
|
|
137962
137982
|
}
|
|
137963
137983
|
}
|
|
137964
137984
|
);
|
|
@@ -138322,7 +138342,7 @@ export {
|
|
|
138322
138342
|
dt as ListOperations,
|
|
138323
138343
|
zVt as LiteralValueDependencyField,
|
|
138324
138344
|
Mr as LiteralValueState,
|
|
138325
|
-
|
|
138345
|
+
J as Logger,
|
|
138326
138346
|
ugt as LoopDependencyField,
|
|
138327
138347
|
Yo as LoopState,
|
|
138328
138348
|
Ze as LoopTypes,
|