@elyx-code/project-logic-tree 0.0.6183 → 0.0.6185
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
CHANGED
|
@@ -23576,73 +23576,73 @@ var om = { exports: {} };
|
|
|
23576
23576
|
var e = 1e3, t = 6e4, r = 36e5, s = "millisecond", d = "second", o = "minute", l = "hour", u = "day", y = "week", c = "month", m = "quarter", T = "year", D = "date", w = "Invalid Date", V = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, $ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(ye) {
|
|
23577
23577
|
var Q = ["th", "st", "nd", "rd"], W = ye % 100;
|
|
23578
23578
|
return "[" + ye + (Q[(W - 20) % 10] || Q[W] || Q[0]) + "]";
|
|
23579
|
-
} },
|
|
23579
|
+
} }, C = function(ye, Q, W) {
|
|
23580
23580
|
var ae = String(ye);
|
|
23581
23581
|
return !ae || ae.length >= Q ? ye : "" + Array(Q + 1 - ae.length).join(W) + ye;
|
|
23582
|
-
}, U = { s:
|
|
23583
|
-
var Q = -ye.utcOffset(), W = Math.abs(Q), ae = Math.floor(W / 60),
|
|
23584
|
-
return (Q <= 0 ? "+" : "-") +
|
|
23582
|
+
}, U = { s: C, z: function(ye) {
|
|
23583
|
+
var Q = -ye.utcOffset(), W = Math.abs(Q), ae = Math.floor(W / 60), H = W % 60;
|
|
23584
|
+
return (Q <= 0 ? "+" : "-") + C(ae, 2, "0") + ":" + C(H, 2, "0");
|
|
23585
23585
|
}, m: function ye(Q, W) {
|
|
23586
23586
|
if (Q.date() < W.date())
|
|
23587
23587
|
return -ye(W, Q);
|
|
23588
|
-
var ae = 12 * (W.year() - Q.year()) + (W.month() - Q.month()),
|
|
23589
|
-
return +(-(ae + (W -
|
|
23588
|
+
var ae = 12 * (W.year() - Q.year()) + (W.month() - Q.month()), H = Q.clone().add(ae, c), Te = W - H < 0, Ie = Q.clone().add(ae + (Te ? -1 : 1), c);
|
|
23589
|
+
return +(-(ae + (W - H) / (Te ? H - Ie : Ie - H)) || 0);
|
|
23590
23590
|
}, a: function(ye) {
|
|
23591
23591
|
return ye < 0 ? Math.ceil(ye) || 0 : Math.floor(ye);
|
|
23592
23592
|
}, p: function(ye) {
|
|
23593
23593
|
return { M: c, y: T, w: y, d: u, D, h: l, m: o, s: d, ms: s, Q: m }[ye] || String(ye || "").toLowerCase().replace(/s$/, "");
|
|
23594
23594
|
}, u: function(ye) {
|
|
23595
23595
|
return ye === void 0;
|
|
23596
|
-
} }, k = "en",
|
|
23597
|
-
|
|
23598
|
-
var
|
|
23599
|
-
return ye instanceof $t || !(!ye || !ye[
|
|
23596
|
+
} }, k = "en", Z = {};
|
|
23597
|
+
Z[k] = $;
|
|
23598
|
+
var K = "$isDayjsObject", de = function(ye) {
|
|
23599
|
+
return ye instanceof $t || !(!ye || !ye[K]);
|
|
23600
23600
|
}, he = function ye(Q, W, ae) {
|
|
23601
|
-
var
|
|
23601
|
+
var H;
|
|
23602
23602
|
if (!Q)
|
|
23603
23603
|
return k;
|
|
23604
23604
|
if (typeof Q == "string") {
|
|
23605
23605
|
var Te = Q.toLowerCase();
|
|
23606
|
-
|
|
23606
|
+
Z[Te] && (H = Te), W && (Z[Te] = W, H = Te);
|
|
23607
23607
|
var Ie = Q.split("-");
|
|
23608
|
-
if (!
|
|
23608
|
+
if (!H && Ie.length > 1)
|
|
23609
23609
|
return ye(Ie[0]);
|
|
23610
23610
|
} else {
|
|
23611
23611
|
var rt = Q.name;
|
|
23612
|
-
|
|
23612
|
+
Z[rt] = Q, H = rt;
|
|
23613
23613
|
}
|
|
23614
|
-
return !ae &&
|
|
23615
|
-
},
|
|
23614
|
+
return !ae && H && (k = H), H || !ae && k;
|
|
23615
|
+
}, Y = function(ye, Q) {
|
|
23616
23616
|
if (de(ye))
|
|
23617
23617
|
return ye.clone();
|
|
23618
23618
|
var W = typeof Q == "object" ? Q : {};
|
|
23619
23619
|
return W.date = ye, W.args = arguments, new $t(W);
|
|
23620
23620
|
}, ne = U;
|
|
23621
23621
|
ne.l = he, ne.i = de, ne.w = function(ye, Q) {
|
|
23622
|
-
return
|
|
23622
|
+
return Y(ye, { locale: Q.$L, utc: Q.$u, x: Q.$x, $offset: Q.$offset });
|
|
23623
23623
|
};
|
|
23624
23624
|
var $t = function() {
|
|
23625
23625
|
function ye(W) {
|
|
23626
|
-
this.$L = he(W.locale, null, !0), this.parse(W), this.$x = this.$x || W.x || {}, this[
|
|
23626
|
+
this.$L = he(W.locale, null, !0), this.parse(W), this.$x = this.$x || W.x || {}, this[K] = !0;
|
|
23627
23627
|
}
|
|
23628
23628
|
var Q = ye.prototype;
|
|
23629
23629
|
return Q.parse = function(W) {
|
|
23630
23630
|
this.$d = function(ae) {
|
|
23631
|
-
var
|
|
23632
|
-
if (
|
|
23631
|
+
var H = ae.date, Te = ae.utc;
|
|
23632
|
+
if (H === null)
|
|
23633
23633
|
return /* @__PURE__ */ new Date(NaN);
|
|
23634
|
-
if (ne.u(
|
|
23634
|
+
if (ne.u(H))
|
|
23635
23635
|
return /* @__PURE__ */ new Date();
|
|
23636
|
-
if (
|
|
23637
|
-
return new Date(
|
|
23638
|
-
if (typeof
|
|
23639
|
-
var Ie =
|
|
23636
|
+
if (H instanceof Date)
|
|
23637
|
+
return new Date(H);
|
|
23638
|
+
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
23639
|
+
var Ie = H.match(V);
|
|
23640
23640
|
if (Ie) {
|
|
23641
23641
|
var rt = Ie[2] - 1 || 0, Tt = (Ie[7] || "0").substring(0, 3);
|
|
23642
23642
|
return Te ? new Date(Date.UTC(Ie[1], rt, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, Tt)) : new Date(Ie[1], rt, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, Tt);
|
|
23643
23643
|
}
|
|
23644
23644
|
}
|
|
23645
|
-
return new Date(
|
|
23645
|
+
return new Date(H);
|
|
23646
23646
|
}(W), this.init();
|
|
23647
23647
|
}, Q.init = function() {
|
|
23648
23648
|
var W = this.$d;
|
|
@@ -23652,24 +23652,24 @@ var om = { exports: {} };
|
|
|
23652
23652
|
}, Q.isValid = function() {
|
|
23653
23653
|
return this.$d.toString() !== w;
|
|
23654
23654
|
}, Q.isSame = function(W, ae) {
|
|
23655
|
-
var
|
|
23656
|
-
return this.startOf(ae) <=
|
|
23655
|
+
var H = Y(W);
|
|
23656
|
+
return this.startOf(ae) <= H && H <= this.endOf(ae);
|
|
23657
23657
|
}, Q.isAfter = function(W, ae) {
|
|
23658
|
-
return
|
|
23658
|
+
return Y(W) < this.startOf(ae);
|
|
23659
23659
|
}, Q.isBefore = function(W, ae) {
|
|
23660
|
-
return this.endOf(ae) <
|
|
23661
|
-
}, Q.$g = function(W, ae,
|
|
23662
|
-
return ne.u(W) ? this[ae] : this.set(
|
|
23660
|
+
return this.endOf(ae) < Y(W);
|
|
23661
|
+
}, Q.$g = function(W, ae, H) {
|
|
23662
|
+
return ne.u(W) ? this[ae] : this.set(H, W);
|
|
23663
23663
|
}, Q.unix = function() {
|
|
23664
23664
|
return Math.floor(this.valueOf() / 1e3);
|
|
23665
23665
|
}, Q.valueOf = function() {
|
|
23666
23666
|
return this.$d.getTime();
|
|
23667
23667
|
}, Q.startOf = function(W, ae) {
|
|
23668
|
-
var
|
|
23669
|
-
var si = ne.w(
|
|
23668
|
+
var H = this, Te = !!ne.u(ae) || ae, Ie = ne.p(W), rt = function(Oi, qt) {
|
|
23669
|
+
var si = ne.w(H.$u ? Date.UTC(H.$y, qt, Oi) : new Date(H.$y, qt, Oi), H);
|
|
23670
23670
|
return Te ? si : si.endOf(u);
|
|
23671
23671
|
}, Tt = function(Oi, qt) {
|
|
23672
|
-
return ne.w(
|
|
23672
|
+
return ne.w(H.toDate()[Oi].apply(H.toDate("s"), (Te ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(qt)), H);
|
|
23673
23673
|
}, bt = this.$W, Bt = this.$M, pr = this.$D, bn = "set" + (this.$u ? "UTC" : "");
|
|
23674
23674
|
switch (Ie) {
|
|
23675
23675
|
case T:
|
|
@@ -23694,7 +23694,7 @@ var om = { exports: {} };
|
|
|
23694
23694
|
}, Q.endOf = function(W) {
|
|
23695
23695
|
return this.startOf(W, !1);
|
|
23696
23696
|
}, Q.$set = function(W, ae) {
|
|
23697
|
-
var
|
|
23697
|
+
var H, Te = ne.p(W), Ie = "set" + (this.$u ? "UTC" : ""), rt = (H = {}, H[u] = Ie + "Date", H[D] = Ie + "Date", H[c] = Ie + "Month", H[T] = Ie + "FullYear", H[l] = Ie + "Hours", H[o] = Ie + "Minutes", H[d] = Ie + "Seconds", H[s] = Ie + "Milliseconds", H)[Te], Tt = Te === u ? this.$D + (ae - this.$W) : ae;
|
|
23698
23698
|
if (Te === c || Te === T) {
|
|
23699
23699
|
var bt = this.clone().set(D, 1);
|
|
23700
23700
|
bt.$d[rt](Tt), bt.init(), this.$d = bt.set(D, Math.min(this.$D, bt.daysInMonth())).$d;
|
|
@@ -23706,10 +23706,10 @@ var om = { exports: {} };
|
|
|
23706
23706
|
}, Q.get = function(W) {
|
|
23707
23707
|
return this[ne.p(W)]();
|
|
23708
23708
|
}, Q.add = function(W, ae) {
|
|
23709
|
-
var
|
|
23709
|
+
var H, Te = this;
|
|
23710
23710
|
W = Number(W);
|
|
23711
23711
|
var Ie = ne.p(ae), rt = function(Bt) {
|
|
23712
|
-
var pr =
|
|
23712
|
+
var pr = Y(Te);
|
|
23713
23713
|
return ne.w(pr.date(pr.date() + Math.round(Bt * W)), Te);
|
|
23714
23714
|
};
|
|
23715
23715
|
if (Ie === c)
|
|
@@ -23720,15 +23720,15 @@ var om = { exports: {} };
|
|
|
23720
23720
|
return rt(1);
|
|
23721
23721
|
if (Ie === y)
|
|
23722
23722
|
return rt(7);
|
|
23723
|
-
var Tt = (
|
|
23723
|
+
var Tt = (H = {}, H[o] = t, H[l] = r, H[d] = e, H)[Ie] || 1, bt = this.$d.getTime() + W * Tt;
|
|
23724
23724
|
return ne.w(bt, this);
|
|
23725
23725
|
}, Q.subtract = function(W, ae) {
|
|
23726
23726
|
return this.add(-1 * W, ae);
|
|
23727
23727
|
}, Q.format = function(W) {
|
|
23728
|
-
var ae = this,
|
|
23728
|
+
var ae = this, H = this.$locale();
|
|
23729
23729
|
if (!this.isValid())
|
|
23730
|
-
return
|
|
23731
|
-
var Te = W || "YYYY-MM-DDTHH:mm:ssZ", Ie = ne.z(this), rt = this.$H, Tt = this.$m, bt = this.$M, Bt =
|
|
23730
|
+
return H.invalidDate || w;
|
|
23731
|
+
var Te = W || "YYYY-MM-DDTHH:mm:ssZ", Ie = ne.z(this), rt = this.$H, Tt = this.$m, bt = this.$M, Bt = H.weekdays, pr = H.months, bn = H.meridiem, wi = function(qt, si, ys, Ta) {
|
|
23732
23732
|
return qt && (qt[si] || qt(ae, Te)) || ys[si].slice(0, Ta);
|
|
23733
23733
|
}, fs = function(qt) {
|
|
23734
23734
|
return ne.s(rt % 12 || 12, qt, "0");
|
|
@@ -23748,7 +23748,7 @@ var om = { exports: {} };
|
|
|
23748
23748
|
case "MM":
|
|
23749
23749
|
return ne.s(bt + 1, 2, "0");
|
|
23750
23750
|
case "MMM":
|
|
23751
|
-
return wi(
|
|
23751
|
+
return wi(H.monthsShort, bt, pr, 3);
|
|
23752
23752
|
case "MMMM":
|
|
23753
23753
|
return wi(pr, bt);
|
|
23754
23754
|
case "D":
|
|
@@ -23758,9 +23758,9 @@ var om = { exports: {} };
|
|
|
23758
23758
|
case "d":
|
|
23759
23759
|
return String(ae.$W);
|
|
23760
23760
|
case "dd":
|
|
23761
|
-
return wi(
|
|
23761
|
+
return wi(H.weekdaysMin, ae.$W, Bt, 2);
|
|
23762
23762
|
case "ddd":
|
|
23763
|
-
return wi(
|
|
23763
|
+
return wi(H.weekdaysShort, ae.$W, Bt, 3);
|
|
23764
23764
|
case "dddd":
|
|
23765
23765
|
return Bt[ae.$W];
|
|
23766
23766
|
case "H":
|
|
@@ -23793,8 +23793,8 @@ var om = { exports: {} };
|
|
|
23793
23793
|
});
|
|
23794
23794
|
}, Q.utcOffset = function() {
|
|
23795
23795
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
23796
|
-
}, Q.diff = function(W, ae,
|
|
23797
|
-
var Te, Ie = this, rt = ne.p(ae), Tt =
|
|
23796
|
+
}, Q.diff = function(W, ae, H) {
|
|
23797
|
+
var Te, Ie = this, rt = ne.p(ae), Tt = Y(W), bt = (Tt.utcOffset() - this.utcOffset()) * t, Bt = this - Tt, pr = function() {
|
|
23798
23798
|
return ne.m(Ie, Tt);
|
|
23799
23799
|
};
|
|
23800
23800
|
switch (rt) {
|
|
@@ -23825,16 +23825,16 @@ var om = { exports: {} };
|
|
|
23825
23825
|
default:
|
|
23826
23826
|
Te = Bt;
|
|
23827
23827
|
}
|
|
23828
|
-
return
|
|
23828
|
+
return H ? Te : ne.a(Te);
|
|
23829
23829
|
}, Q.daysInMonth = function() {
|
|
23830
23830
|
return this.endOf(c).$D;
|
|
23831
23831
|
}, Q.$locale = function() {
|
|
23832
|
-
return
|
|
23832
|
+
return Z[this.$L];
|
|
23833
23833
|
}, Q.locale = function(W, ae) {
|
|
23834
23834
|
if (!W)
|
|
23835
23835
|
return this.$L;
|
|
23836
|
-
var
|
|
23837
|
-
return Te && (
|
|
23836
|
+
var H = this.clone(), Te = he(W, ae, !0);
|
|
23837
|
+
return Te && (H.$L = Te), H;
|
|
23838
23838
|
}, Q.clone = function() {
|
|
23839
23839
|
return ne.w(this.$d, this);
|
|
23840
23840
|
}, Q.toDate = function() {
|
|
@@ -23847,20 +23847,20 @@ var om = { exports: {} };
|
|
|
23847
23847
|
return this.$d.toUTCString();
|
|
23848
23848
|
}, ye;
|
|
23849
23849
|
}(), wr = $t.prototype;
|
|
23850
|
-
return
|
|
23850
|
+
return Y.prototype = wr, [["$ms", s], ["$s", d], ["$m", o], ["$H", l], ["$W", u], ["$M", c], ["$y", T], ["$D", D]].forEach(function(ye) {
|
|
23851
23851
|
wr[ye[1]] = function(Q) {
|
|
23852
23852
|
return this.$g(Q, ye[0], ye[1]);
|
|
23853
23853
|
};
|
|
23854
|
-
}),
|
|
23855
|
-
return ye.$i || (ye(Q, $t,
|
|
23856
|
-
},
|
|
23857
|
-
return
|
|
23858
|
-
},
|
|
23854
|
+
}), Y.extend = function(ye, Q) {
|
|
23855
|
+
return ye.$i || (ye(Q, $t, Y), ye.$i = !0), Y;
|
|
23856
|
+
}, Y.locale = he, Y.isDayjs = de, Y.unix = function(ye) {
|
|
23857
|
+
return Y(1e3 * ye);
|
|
23858
|
+
}, Y.en = Z[k], Y.Ls = Z, Y.p = {}, Y;
|
|
23859
23859
|
});
|
|
23860
23860
|
})(om);
|
|
23861
23861
|
var w8 = om.exports;
|
|
23862
23862
|
const v = /* @__PURE__ */ zc(w8);
|
|
23863
|
-
var R = /* @__PURE__ */ ((i) => (i.Error = "error", i.Warning = "warning", i))(R || {}), x = /* @__PURE__ */ ((i) => (i.InvalidObjectStructure = "invalid-object-structure", i.NameNotUniqueInScope = "name-not-unique-in-scope", i.EmptyName = "empty-name", i.MissingCaller = "missing-caller", i.PropertyOverwrite = "property-overwrite", i.MethodOverwrite = "method-overwrite", i.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", i.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", i.UnreachableEntity = "unreachable-entity", i.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", i.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", i.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", i.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", i.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", i))(x || {}), E = /* @__PURE__ */ ((i) => (i.RootReference = "root-reference", i.ReferencedEntityNotFound = "referenced-entity-not-found", i.EntityIdNotUnique = "entity-id-not-unique", i.BuiltInEntityGenerated = "built-in-entity-generated", i.BuiltInEntityUpdated = "built-in-entity-updated", i.BuiltInEntityDeleted = "built-in-entity-deleted", i.UnknownEntityType = "unknown-entity-type", i.MissingTypeProperty = "missing-type-property", i.MissingIdProperty = "missing-id-property", i.BuiltInEntityParent = "built-in-entity-parent", i.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", i.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", i.RecommendedImplementOperationAction = "recommended-implement-operation-action", i.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", i.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", i.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", i.RecommendedImplementConditionAction = "recommended-implement-condition-action", i.InvalidReferenceObjectStructure = "invalid-reference-object-structure", i.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", i.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", i.InvalidParentReference = "invalid-parent-reference", i.InvalidImplementsReference = "invalid-implements-reference", i.InvalidExtendsReference = "invalid-extends-reference", i.InvalidGenerationActionPayload = "invalid-generation-action-payload", i.InvalidReference = "invalid-reference", i.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", i.InvalidUpdateEntityOperation = "invalid-update-entity-operation", i.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", i.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", i.UnrecognizedProperty = "unrecognized-property", i.SelfReference = "self-reference", i.DuplicateReference = "duplicate-reference", i.CallerWithIncompatibleScope = "caller-with-incompatible-scope", i.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", i.InvalidInputMapDeclaration = "invalid-input-map-declaration", i.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", i.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", i.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", i.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", i.OutputOverwrite = "output-overwrite", i.InputOverwrite = "input-overwrite", i.IncompatibleScope = "incompatible-scope", i.InvalidParentUpdate = "invalid-parent-update", i.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", i.InvalidParentRelationType = "invalid-parent-relation-type", i))(E || {}),
|
|
23863
|
+
var R = /* @__PURE__ */ ((i) => (i.Error = "error", i.Warning = "warning", i))(R || {}), x = /* @__PURE__ */ ((i) => (i.InvalidObjectStructure = "invalid-object-structure", i.NameNotUniqueInScope = "name-not-unique-in-scope", i.EmptyName = "empty-name", i.MissingCaller = "missing-caller", i.PropertyOverwrite = "property-overwrite", i.MethodOverwrite = "method-overwrite", i.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", i.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", i.UnreachableEntity = "unreachable-entity", i.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", i.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", i.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", i.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", i.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", i))(x || {}), E = /* @__PURE__ */ ((i) => (i.RootReference = "root-reference", i.ReferencedEntityNotFound = "referenced-entity-not-found", i.EntityIdNotUnique = "entity-id-not-unique", i.BuiltInEntityGenerated = "built-in-entity-generated", i.BuiltInEntityUpdated = "built-in-entity-updated", i.BuiltInEntityDeleted = "built-in-entity-deleted", i.UnknownEntityType = "unknown-entity-type", i.MissingTypeProperty = "missing-type-property", i.MissingIdProperty = "missing-id-property", i.BuiltInEntityParent = "built-in-entity-parent", i.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", i.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", i.RecommendedImplementOperationAction = "recommended-implement-operation-action", i.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", i.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", i.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", i.RecommendedImplementConditionAction = "recommended-implement-condition-action", i.InvalidReferenceObjectStructure = "invalid-reference-object-structure", i.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", i.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", i.InvalidParentReference = "invalid-parent-reference", i.InvalidImplementsReference = "invalid-implements-reference", i.InvalidExtendsReference = "invalid-extends-reference", i.InvalidGenerationActionPayload = "invalid-generation-action-payload", i.InvalidReference = "invalid-reference", i.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", i.InvalidUpdateEntityOperation = "invalid-update-entity-operation", i.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", i.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", i.UnrecognizedProperty = "unrecognized-property", i.SelfReference = "self-reference", i.DuplicateReference = "duplicate-reference", i.CallerWithIncompatibleScope = "caller-with-incompatible-scope", i.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", i.InvalidInputMapDeclaration = "invalid-input-map-declaration", i.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", i.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", i.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", i.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", i.OutputOverwrite = "output-overwrite", i.InputOverwrite = "input-overwrite", i.IncompatibleScope = "incompatible-scope", i.InvalidParentUpdate = "invalid-parent-update", i.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", i.InvalidParentRelationType = "invalid-parent-relation-type", i))(E || {}), J = /* @__PURE__ */ ((i) => (i.NoPrimaryKeyProperty = "no-primary-key-property", i.ScopeWithoutLogic = "scope-without-logic", i.ExtendingAbstractEntity = "extending-abstract-entity", i.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", i.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", i.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", i.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", i.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", i.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", i.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", i.IncorrectEntityImplementation = "incorrect-entity-implementation", i.IncorrectMethodImplementation = "incorrect-method-implementation", i.IncorrectPropertyImplementation = "incorrect-property-implementation", i.PropertyImplementsNonAbstact = "property-implements-non-abstract", i.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", i.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", i.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", i.MissingPropertyImplementation = "missing-property-implementation", i.MissingMethodImplementation = "missing-method-implementation", i.NoProperties = "no-properties", i.ReadingFromIncompatibleType = "reading-from-incompatible-type", i.WritingToIncompatibleType = "writing-to-incompatible-type", i.InvalidPropertiesCombination = "invalid-properties-combination", i.DisconnectedCallableEntity = "disconnected-callable-entity", i.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", i.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", i.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", i.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", i.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", i.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", i))(J || {});
|
|
23864
23864
|
class P {
|
|
23865
23865
|
constructor(a) {
|
|
23866
23866
|
// A deterministic error code, so if the same error occurs again in a subsequent validation run,
|
|
@@ -26322,11 +26322,11 @@ function l3(i, a) {
|
|
|
26322
26322
|
const e = [];
|
|
26323
26323
|
if (!a.abstract) {
|
|
26324
26324
|
const y = fe({
|
|
26325
|
-
id: i.id + "--" +
|
|
26325
|
+
id: i.id + "--" + J.ImplementingNonAbstractEntity,
|
|
26326
26326
|
message: `Entity "${i.name}" with id "${i.id}" is implementing a non-abstract entity "${a.name}" with id "${a.id}"`,
|
|
26327
26327
|
issue: null,
|
|
26328
26328
|
severity: R.Error,
|
|
26329
|
-
code:
|
|
26329
|
+
code: J.ImplementingNonAbstractEntity,
|
|
26330
26330
|
entity: i
|
|
26331
26331
|
});
|
|
26332
26332
|
return e.push(y.error), e;
|
|
@@ -26345,11 +26345,11 @@ function l3(i, a) {
|
|
|
26345
26345
|
) : r.push(y);
|
|
26346
26346
|
}), r.length && r.forEach((y) => {
|
|
26347
26347
|
const c = fe({
|
|
26348
|
-
id: i.id + "--" +
|
|
26348
|
+
id: i.id + "--" + J.MissingPropertyImplementation + "--" + y.id,
|
|
26349
26349
|
message: `Property "${y.name}" with id "${y.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${i.name}" with id "${i.id}" implements it`,
|
|
26350
26350
|
issue: null,
|
|
26351
26351
|
severity: R.Error,
|
|
26352
|
-
code:
|
|
26352
|
+
code: J.MissingPropertyImplementation,
|
|
26353
26353
|
entity: i
|
|
26354
26354
|
});
|
|
26355
26355
|
e.push(c.error);
|
|
@@ -26368,11 +26368,11 @@ function l3(i, a) {
|
|
|
26368
26368
|
) : d.push(y);
|
|
26369
26369
|
}), d.length && d.forEach((y) => {
|
|
26370
26370
|
const c = fe({
|
|
26371
|
-
id: i.id + "--" +
|
|
26371
|
+
id: i.id + "--" + J.MissingMethodImplementation + "--" + y.id,
|
|
26372
26372
|
message: `Method "${y.name}" with id "${y.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${i.name}" with id "${i.id}" implements it`,
|
|
26373
26373
|
issue: null,
|
|
26374
26374
|
severity: R.Error,
|
|
26375
|
-
code:
|
|
26375
|
+
code: J.MissingMethodImplementation,
|
|
26376
26376
|
entity: i
|
|
26377
26377
|
});
|
|
26378
26378
|
e.push(c.error);
|
|
@@ -26416,11 +26416,11 @@ function u3(i, a) {
|
|
|
26416
26416
|
const e = [], t = [];
|
|
26417
26417
|
if (a.abstract) {
|
|
26418
26418
|
const s = fe({
|
|
26419
|
-
id: i.id + "--" +
|
|
26419
|
+
id: i.id + "--" + J.ExtendingAbstractEntity,
|
|
26420
26420
|
message: `Entity "${i.name}" with id "${i.id}" is extending an abstract entity "${a.name}" with id "${a.id}"`,
|
|
26421
26421
|
issue: null,
|
|
26422
26422
|
severity: R.Error,
|
|
26423
|
-
code:
|
|
26423
|
+
code: J.ExtendingAbstractEntity,
|
|
26424
26424
|
entity: i
|
|
26425
26425
|
});
|
|
26426
26426
|
return e.push(s.error), e;
|
|
@@ -26467,11 +26467,11 @@ function p3(i) {
|
|
|
26467
26467
|
const a = [];
|
|
26468
26468
|
if (!i.properties.length) {
|
|
26469
26469
|
const e = fe({
|
|
26470
|
-
id: i.id + "--" +
|
|
26470
|
+
id: i.id + "--" + J.NoProperties,
|
|
26471
26471
|
message: "No properties implemented",
|
|
26472
26472
|
issue: null,
|
|
26473
26473
|
severity: R.Warning,
|
|
26474
|
-
code:
|
|
26474
|
+
code: J.NoProperties,
|
|
26475
26475
|
entity: i
|
|
26476
26476
|
});
|
|
26477
26477
|
a.push(e.error);
|
|
@@ -26485,32 +26485,32 @@ function c3(i) {
|
|
|
26485
26485
|
if (i.abstract) {
|
|
26486
26486
|
if (i.methods.length) {
|
|
26487
26487
|
const e = fe({
|
|
26488
|
-
id: i.id + "--" +
|
|
26488
|
+
id: i.id + "--" + J.AbstractEntityWithNonAbstractMethods,
|
|
26489
26489
|
message: `Entity "${i.name}" with id "${i.id}" is marked as abstract but has non-abstract methods`,
|
|
26490
26490
|
issue: null,
|
|
26491
26491
|
severity: R.Error,
|
|
26492
|
-
code:
|
|
26492
|
+
code: J.AbstractEntityWithNonAbstractMethods,
|
|
26493
26493
|
entity: i
|
|
26494
26494
|
});
|
|
26495
26495
|
a.push(e.error);
|
|
26496
26496
|
}
|
|
26497
26497
|
if (i.properties.some((e) => !e.abstract)) {
|
|
26498
26498
|
const e = fe({
|
|
26499
|
-
id: i.id + "--" +
|
|
26499
|
+
id: i.id + "--" + J.AbstractEntityWithNonAbstractProperties,
|
|
26500
26500
|
message: `Entity "${i.name}" with id "${i.id}" is marked as abstract but has non-abstract properties`,
|
|
26501
26501
|
issue: null,
|
|
26502
26502
|
severity: R.Error,
|
|
26503
|
-
code:
|
|
26503
|
+
code: J.AbstractEntityWithNonAbstractProperties,
|
|
26504
26504
|
entity: i
|
|
26505
26505
|
});
|
|
26506
26506
|
a.push(e.error), i.properties.forEach((t) => {
|
|
26507
26507
|
if (!t.abstract) {
|
|
26508
26508
|
const r = fe({
|
|
26509
|
-
id: i.id + "--" +
|
|
26509
|
+
id: i.id + "--" + J.StaticEntityWithNonStaticProperties + "--" + t.id,
|
|
26510
26510
|
message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is not marked as abstract but the entity is marked as abstract`,
|
|
26511
26511
|
issue: null,
|
|
26512
26512
|
severity: R.Error,
|
|
26513
|
-
code:
|
|
26513
|
+
code: J.StaticEntityWithNonStaticProperties,
|
|
26514
26514
|
entity: i
|
|
26515
26515
|
});
|
|
26516
26516
|
a.push(r.error);
|
|
@@ -26520,32 +26520,32 @@ function c3(i) {
|
|
|
26520
26520
|
} else {
|
|
26521
26521
|
if (i.abstractMethods.length) {
|
|
26522
26522
|
const e = fe({
|
|
26523
|
-
id: i.id + "--" +
|
|
26523
|
+
id: i.id + "--" + J.AbstractPropertyInNonAbstractEntity,
|
|
26524
26524
|
message: `Entity "${i.name}" with id "${i.id}" is not marked as abstract but has abstract methods`,
|
|
26525
26525
|
issue: null,
|
|
26526
26526
|
severity: R.Error,
|
|
26527
|
-
code:
|
|
26527
|
+
code: J.AbstractPropertyInNonAbstractEntity,
|
|
26528
26528
|
entity: i
|
|
26529
26529
|
});
|
|
26530
26530
|
a.push(e.error);
|
|
26531
26531
|
}
|
|
26532
26532
|
if (i.properties.some((e) => e.abstract)) {
|
|
26533
26533
|
const e = fe({
|
|
26534
|
-
id: i.id + "--" +
|
|
26534
|
+
id: i.id + "--" + J.AbstractMethodInNonAbstractEntity,
|
|
26535
26535
|
message: `Entity "${i.name}" with id "${i.id}" is not marked as abstract but has abstract properties`,
|
|
26536
26536
|
issue: null,
|
|
26537
26537
|
severity: R.Error,
|
|
26538
|
-
code:
|
|
26538
|
+
code: J.AbstractMethodInNonAbstractEntity,
|
|
26539
26539
|
entity: i
|
|
26540
26540
|
});
|
|
26541
26541
|
a.push(e.error), i.properties.forEach((t) => {
|
|
26542
26542
|
if (t.abstract) {
|
|
26543
26543
|
const r = fe({
|
|
26544
|
-
id: i.id + "--" +
|
|
26544
|
+
id: i.id + "--" + J.AbstractMethodInNonAbstractEntity + "--" + t.id,
|
|
26545
26545
|
message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is marked as abstract but the entity is not marked as abstract`,
|
|
26546
26546
|
issue: null,
|
|
26547
26547
|
severity: R.Error,
|
|
26548
|
-
code:
|
|
26548
|
+
code: J.AbstractMethodInNonAbstractEntity,
|
|
26549
26549
|
entity: i
|
|
26550
26550
|
});
|
|
26551
26551
|
a.push(r.error);
|
|
@@ -26555,21 +26555,21 @@ function c3(i) {
|
|
|
26555
26555
|
}
|
|
26556
26556
|
if (i.static && i.properties.some((e) => !e.static)) {
|
|
26557
26557
|
const e = fe({
|
|
26558
|
-
id: i.id + "--" +
|
|
26558
|
+
id: i.id + "--" + J.StaticEntityWithNonStaticProperties,
|
|
26559
26559
|
message: `Entity "${i.name}" with id "${i.id}" is marked as static but has non-static properties`,
|
|
26560
26560
|
issue: null,
|
|
26561
26561
|
severity: R.Error,
|
|
26562
|
-
code:
|
|
26562
|
+
code: J.StaticEntityWithNonStaticProperties,
|
|
26563
26563
|
entity: i
|
|
26564
26564
|
});
|
|
26565
26565
|
a.push(e.error), i.properties.forEach((t) => {
|
|
26566
26566
|
if (!t.static) {
|
|
26567
26567
|
const r = fe({
|
|
26568
|
-
id: i.id + "--" +
|
|
26568
|
+
id: i.id + "--" + J.NonStaticPropertyInStaticEntity + "--" + t.id,
|
|
26569
26569
|
message: `Property "${t.name}" with id "${t.id}" of entity "${i.name}" with id "${i.id}" is not marked as static but the entity is marked as static`,
|
|
26570
26570
|
issue: null,
|
|
26571
26571
|
severity: R.Error,
|
|
26572
|
-
code:
|
|
26572
|
+
code: J.NonStaticPropertyInStaticEntity,
|
|
26573
26573
|
entity: i
|
|
26574
26574
|
});
|
|
26575
26575
|
a.push(r.error);
|
|
@@ -28083,7 +28083,7 @@ function Qu(i, a = null) {
|
|
|
28083
28083
|
return null;
|
|
28084
28084
|
}
|
|
28085
28085
|
}
|
|
28086
|
-
function
|
|
28086
|
+
function B(i) {
|
|
28087
28087
|
if (i) {
|
|
28088
28088
|
let a = null;
|
|
28089
28089
|
return typeof i == "string" ? a = i : i.entityId ? a = i.entityId : i.type !== n.GenericReference && (a = i.id), a;
|
|
@@ -28518,7 +28518,7 @@ function w0(i, a) {
|
|
|
28518
28518
|
issue: null
|
|
28519
28519
|
})
|
|
28520
28520
|
);
|
|
28521
|
-
const t = i.parent ?
|
|
28521
|
+
const t = i.parent ? B(i.parent) : null;
|
|
28522
28522
|
let r = a;
|
|
28523
28523
|
t && (r = a.get(t));
|
|
28524
28524
|
const s = [];
|
|
@@ -28595,7 +28595,7 @@ function V0(i, a) {
|
|
|
28595
28595
|
issue: null
|
|
28596
28596
|
})
|
|
28597
28597
|
);
|
|
28598
|
-
const t =
|
|
28598
|
+
const t = B(i.parent);
|
|
28599
28599
|
if (!t)
|
|
28600
28600
|
e.push(
|
|
28601
28601
|
new P({
|
|
@@ -28647,7 +28647,7 @@ function C0(i, a) {
|
|
|
28647
28647
|
issue: null
|
|
28648
28648
|
})
|
|
28649
28649
|
);
|
|
28650
|
-
const t =
|
|
28650
|
+
const t = B(i.parent);
|
|
28651
28651
|
if (!t)
|
|
28652
28652
|
e.push(
|
|
28653
28653
|
new P({
|
|
@@ -28701,7 +28701,7 @@ function B0(i, a) {
|
|
|
28701
28701
|
issue: null
|
|
28702
28702
|
})
|
|
28703
28703
|
);
|
|
28704
|
-
const t =
|
|
28704
|
+
const t = B(i.parent);
|
|
28705
28705
|
if (!t)
|
|
28706
28706
|
e.push(
|
|
28707
28707
|
new P({
|
|
@@ -28797,14 +28797,14 @@ function IS(i) {
|
|
|
28797
28797
|
const s = [...r];
|
|
28798
28798
|
if (i.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
|
|
28799
28799
|
const o = fe({
|
|
28800
|
-
id: `${i.id}--${
|
|
28800
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
28801
28801
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
28802
28802
|
i,
|
|
28803
28803
|
i.project
|
|
28804
28804
|
)}" with id "${i.id}".`,
|
|
28805
28805
|
issue: null,
|
|
28806
28806
|
severity: R.Error,
|
|
28807
|
-
code:
|
|
28807
|
+
code: J.PropertyImplementsNonAbstact,
|
|
28808
28808
|
entity: i
|
|
28809
28809
|
});
|
|
28810
28810
|
s.push(o.error);
|
|
@@ -28818,21 +28818,21 @@ function ES(i) {
|
|
|
28818
28818
|
const e = i.implements;
|
|
28819
28819
|
if (!e.abstract) {
|
|
28820
28820
|
const r = fe({
|
|
28821
|
-
id: `${i.id}--${
|
|
28821
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
28822
28822
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
28823
28823
|
e,
|
|
28824
28824
|
i.project
|
|
28825
28825
|
)}" with id "${e.id}".`,
|
|
28826
28826
|
issue: null,
|
|
28827
28827
|
severity: R.Error,
|
|
28828
|
-
code:
|
|
28828
|
+
code: J.PropertyImplementsNonAbstact,
|
|
28829
28829
|
entity: i
|
|
28830
28830
|
});
|
|
28831
28831
|
a.push(r.error);
|
|
28832
28832
|
}
|
|
28833
28833
|
if (i.static && !e.static) {
|
|
28834
28834
|
const r = fe({
|
|
28835
|
-
id: `${i.id}--${
|
|
28835
|
+
id: `${i.id}--${J.NonStaticPropertyImplementsStatic}`,
|
|
28836
28836
|
message: `Static property "${j(
|
|
28837
28837
|
i,
|
|
28838
28838
|
i.project
|
|
@@ -28842,14 +28842,14 @@ function ES(i) {
|
|
|
28842
28842
|
)}" with id "${e.id}".`,
|
|
28843
28843
|
issue: null,
|
|
28844
28844
|
severity: R.Error,
|
|
28845
|
-
code:
|
|
28845
|
+
code: J.NonStaticPropertyImplementsStatic,
|
|
28846
28846
|
entity: i
|
|
28847
28847
|
});
|
|
28848
28848
|
a.push(r.error);
|
|
28849
28849
|
}
|
|
28850
28850
|
if (!i.static && e.static) {
|
|
28851
28851
|
const r = fe({
|
|
28852
|
-
id: `${i.id}--${
|
|
28852
|
+
id: `${i.id}--${J.StaticPropertyImplementsNonStatic}`,
|
|
28853
28853
|
message: `Non-static property "${j(
|
|
28854
28854
|
i,
|
|
28855
28855
|
i.project
|
|
@@ -28859,7 +28859,7 @@ function ES(i) {
|
|
|
28859
28859
|
)}" with id "${e.id}".`,
|
|
28860
28860
|
issue: null,
|
|
28861
28861
|
severity: R.Error,
|
|
28862
|
-
code:
|
|
28862
|
+
code: J.StaticPropertyImplementsNonStatic,
|
|
28863
28863
|
entity: i
|
|
28864
28864
|
});
|
|
28865
28865
|
a.push(r.error);
|
|
@@ -28869,14 +28869,14 @@ function ES(i) {
|
|
|
28869
28869
|
e.dataType
|
|
28870
28870
|
)) {
|
|
28871
28871
|
const r = fe({
|
|
28872
|
-
id: `${i.id}--${
|
|
28872
|
+
id: `${i.id}--${J.PropertyImplementsIncompatibleType}`,
|
|
28873
28873
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a property "${j(
|
|
28874
28874
|
e,
|
|
28875
28875
|
i.project
|
|
28876
28876
|
)}" with id "${e.id}" that has an incompatible data type.`,
|
|
28877
28877
|
issue: null,
|
|
28878
28878
|
severity: R.Error,
|
|
28879
|
-
code:
|
|
28879
|
+
code: J.PropertyImplementsIncompatibleType,
|
|
28880
28880
|
entity: i
|
|
28881
28881
|
});
|
|
28882
28882
|
a.push(r.error);
|
|
@@ -29325,12 +29325,12 @@ const Ee = class Ee extends tt {
|
|
|
29325
29325
|
Then creates a new instance of the entity
|
|
29326
29326
|
*/
|
|
29327
29327
|
static fromGenerationTarget(e, t) {
|
|
29328
|
-
const r =
|
|
29328
|
+
const r = B(e.parent), s = t.get(
|
|
29329
29329
|
r
|
|
29330
29330
|
);
|
|
29331
29331
|
let d = null;
|
|
29332
29332
|
if (e.implements) {
|
|
29333
|
-
const u =
|
|
29333
|
+
const u = B(
|
|
29334
29334
|
e.implements
|
|
29335
29335
|
);
|
|
29336
29336
|
d = t.get(
|
|
@@ -29576,7 +29576,7 @@ ${wd}`,
|
|
|
29576
29576
|
hydrateAncestors() {
|
|
29577
29577
|
const e = [], t = [], r = [], s = [];
|
|
29578
29578
|
if (this.initialData.parent) {
|
|
29579
|
-
const d =
|
|
29579
|
+
const d = B(
|
|
29580
29580
|
this.initialData.parent
|
|
29581
29581
|
), o = this.project.get(
|
|
29582
29582
|
d
|
|
@@ -29592,7 +29592,7 @@ ${wd}`,
|
|
|
29592
29592
|
`${zt(this.type)} with id '${this.id}' is missing a parent reference`
|
|
29593
29593
|
);
|
|
29594
29594
|
if (this.initialData.implements) {
|
|
29595
|
-
const d =
|
|
29595
|
+
const d = B(this.initialData.implements), o = this.project.get(
|
|
29596
29596
|
d
|
|
29597
29597
|
);
|
|
29598
29598
|
o && (this.setImplements(o, null), e.push(o));
|
|
@@ -30171,14 +30171,14 @@ function RS(i) {
|
|
|
30171
30171
|
const r = [];
|
|
30172
30172
|
if (i.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
|
|
30173
30173
|
const d = fe({
|
|
30174
|
-
id: `${i.id}--${
|
|
30174
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
30175
30175
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
30176
30176
|
i,
|
|
30177
30177
|
i.project
|
|
30178
30178
|
)}" with id "${i.id}".`,
|
|
30179
30179
|
issue: null,
|
|
30180
30180
|
severity: R.Error,
|
|
30181
|
-
code:
|
|
30181
|
+
code: J.PropertyImplementsNonAbstact,
|
|
30182
30182
|
entity: i
|
|
30183
30183
|
});
|
|
30184
30184
|
r.push(d.error);
|
|
@@ -30226,10 +30226,10 @@ const be = class be extends tt {
|
|
|
30226
30226
|
Then creates a new instance of the entity
|
|
30227
30227
|
*/
|
|
30228
30228
|
static fromGenerationTarget(e, t) {
|
|
30229
|
-
const r =
|
|
30229
|
+
const r = B(e.parent), s = t.get(r);
|
|
30230
30230
|
let d = null;
|
|
30231
30231
|
if (e.readsValue) {
|
|
30232
|
-
const u =
|
|
30232
|
+
const u = B(e.readsValue);
|
|
30233
30233
|
d = t.get(
|
|
30234
30234
|
u
|
|
30235
30235
|
);
|
|
@@ -30298,7 +30298,7 @@ const be = class be extends tt {
|
|
|
30298
30298
|
), o = B0(r, t);
|
|
30299
30299
|
if (r = d.modifiedData, r.parent) {
|
|
30300
30300
|
const y = t.get(
|
|
30301
|
-
|
|
30301
|
+
B(r.parent)
|
|
30302
30302
|
);
|
|
30303
30303
|
if (y && [n.BreakStatement, n.ContinueStatement].includes(
|
|
30304
30304
|
y.type
|
|
@@ -30337,22 +30337,22 @@ ${Lp}`,
|
|
|
30337
30337
|
const m = c.implements;
|
|
30338
30338
|
if (m) {
|
|
30339
30339
|
const T = m.outputs.find(
|
|
30340
|
-
(
|
|
30341
|
-
), D = m.outputs.filter((
|
|
30342
|
-
(k) => k.type === n.ReturnDeclaration && k.name ===
|
|
30340
|
+
(C) => C.name === r.name
|
|
30341
|
+
), D = m.outputs.filter((C) => !y.outputs.find(
|
|
30342
|
+
(k) => k.type === n.ReturnDeclaration && k.name === C.name
|
|
30343
30343
|
)), w = y.outputs.filter(
|
|
30344
|
-
(
|
|
30344
|
+
(C) => C.type === n.ReturnDeclaration
|
|
30345
30345
|
), V = w.find(
|
|
30346
|
-
(
|
|
30346
|
+
(C) => C.name === r.name
|
|
30347
30347
|
), L = w.length ? `The parent entity already implements the following return declarations: ${re(
|
|
30348
30348
|
w.map(
|
|
30349
|
-
(
|
|
30349
|
+
(C) => `'${C.id}' (${C.name})`
|
|
30350
30350
|
),
|
|
30351
30351
|
", ",
|
|
30352
30352
|
" and "
|
|
30353
30353
|
)}.` : "The parent entity does not yet have any implemented return declarations.", $ = D.length ? `The parent entity is still missing the following returns in the implementation: ${re(
|
|
30354
30354
|
D.map(
|
|
30355
|
-
(
|
|
30355
|
+
(C) => `'${C.id}' (${C.name})`
|
|
30356
30356
|
),
|
|
30357
30357
|
", ",
|
|
30358
30358
|
" and "
|
|
@@ -30579,7 +30579,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30579
30579
|
hydrateAncestors() {
|
|
30580
30580
|
const e = [], t = [], r = [], s = [];
|
|
30581
30581
|
if (this.initialData.parent) {
|
|
30582
|
-
const d =
|
|
30582
|
+
const d = B(
|
|
30583
30583
|
this.initialData.parent
|
|
30584
30584
|
), o = this.project.get(d);
|
|
30585
30585
|
if (o)
|
|
@@ -30591,7 +30591,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30591
30591
|
} else
|
|
30592
30592
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
30593
30593
|
if (this.initialData.readsValue) {
|
|
30594
|
-
const d =
|
|
30594
|
+
const d = B(
|
|
30595
30595
|
this.initialData.readsValue
|
|
30596
30596
|
), o = this.project.get(
|
|
30597
30597
|
d
|
|
@@ -30599,7 +30599,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30599
30599
|
o && (this.setValueWriter(o), e.push(o));
|
|
30600
30600
|
}
|
|
30601
30601
|
if (this.initialData.implements) {
|
|
30602
|
-
const d =
|
|
30602
|
+
const d = B(
|
|
30603
30603
|
this.initialData.implements
|
|
30604
30604
|
), o = this.project.get(
|
|
30605
30605
|
d
|
|
@@ -31318,14 +31318,14 @@ const Ue = class Ue extends tt {
|
|
|
31318
31318
|
Then creates a new instance of the entity
|
|
31319
31319
|
*/
|
|
31320
31320
|
static fromGenerationTarget(e, t) {
|
|
31321
|
-
const r =
|
|
31322
|
-
const m =
|
|
31321
|
+
const r = B(e.parent), s = t.get(r), d = e.calledByEntry.map((c) => {
|
|
31322
|
+
const m = B(c);
|
|
31323
31323
|
return t.get(m);
|
|
31324
31324
|
}), o = e.calledBySuccess.map((c) => {
|
|
31325
|
-
const m =
|
|
31325
|
+
const m = B(c);
|
|
31326
31326
|
return t.get(m);
|
|
31327
31327
|
}), l = e.calledByError.map((c) => {
|
|
31328
|
-
const m =
|
|
31328
|
+
const m = B(c);
|
|
31329
31329
|
return t.get(m);
|
|
31330
31330
|
}), u = {
|
|
31331
31331
|
id: e.id,
|
|
@@ -31575,7 +31575,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
31575
31575
|
hydrateAncestors() {
|
|
31576
31576
|
const e = [], t = [], r = [], s = [];
|
|
31577
31577
|
if (this.initialData.parent) {
|
|
31578
|
-
const d =
|
|
31578
|
+
const d = B(
|
|
31579
31579
|
this.initialData.parent
|
|
31580
31580
|
), o = this.project.get(d);
|
|
31581
31581
|
if (o)
|
|
@@ -31587,15 +31587,15 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
31587
31587
|
} else
|
|
31588
31588
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
31589
31589
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
31590
|
-
const o =
|
|
31590
|
+
const o = B(d), l = this.project.get(o);
|
|
31591
31591
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
31592
31592
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
31593
|
-
const o =
|
|
31593
|
+
const o = B(d), l = this.project.get(
|
|
31594
31594
|
o
|
|
31595
31595
|
);
|
|
31596
31596
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
31597
31597
|
}), this.initialData.calledByError.forEach((d) => {
|
|
31598
|
-
const o =
|
|
31598
|
+
const o = B(d), l = this.project.get(
|
|
31599
31599
|
o
|
|
31600
31600
|
);
|
|
31601
31601
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -32193,16 +32193,16 @@ const Ye = class Ye extends tt {
|
|
|
32193
32193
|
Then creates a new instance of the entity
|
|
32194
32194
|
*/
|
|
32195
32195
|
static fromGenerationTarget(e, t) {
|
|
32196
|
-
const r =
|
|
32196
|
+
const r = B(e.parent), s = t.get(
|
|
32197
32197
|
r
|
|
32198
32198
|
), d = e.calledByEntry.map((c) => {
|
|
32199
|
-
const m =
|
|
32199
|
+
const m = B(c);
|
|
32200
32200
|
return t.get(m);
|
|
32201
32201
|
}), o = e.calledBySuccess.map((c) => {
|
|
32202
|
-
const m =
|
|
32202
|
+
const m = B(c);
|
|
32203
32203
|
return t.get(m);
|
|
32204
32204
|
}), l = e.calledByError.map((c) => {
|
|
32205
|
-
const m =
|
|
32205
|
+
const m = B(c);
|
|
32206
32206
|
return t.get(m);
|
|
32207
32207
|
}), u = {
|
|
32208
32208
|
id: e.id,
|
|
@@ -32453,7 +32453,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
32453
32453
|
hydrateAncestors() {
|
|
32454
32454
|
const e = [], t = [], r = [], s = [];
|
|
32455
32455
|
if (this.initialData.parent) {
|
|
32456
|
-
const d =
|
|
32456
|
+
const d = B(
|
|
32457
32457
|
this.initialData.parent
|
|
32458
32458
|
), o = this.project.get(d);
|
|
32459
32459
|
if (o)
|
|
@@ -32465,15 +32465,15 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
32465
32465
|
} else
|
|
32466
32466
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
32467
32467
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
32468
|
-
const o =
|
|
32468
|
+
const o = B(d), l = this.project.get(o);
|
|
32469
32469
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
32470
32470
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
32471
|
-
const o =
|
|
32471
|
+
const o = B(d), l = this.project.get(
|
|
32472
32472
|
o
|
|
32473
32473
|
);
|
|
32474
32474
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
32475
32475
|
}), this.initialData.calledByError.forEach((d) => {
|
|
32476
|
-
const o =
|
|
32476
|
+
const o = B(d), l = this.project.get(
|
|
32477
32477
|
o
|
|
32478
32478
|
);
|
|
32479
32479
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -33039,14 +33039,14 @@ function OS(i) {
|
|
|
33039
33039
|
const o = [...r, ...s];
|
|
33040
33040
|
if (i.id === "getCompanyByIdEndpointReachedEntityEvent") {
|
|
33041
33041
|
const l = fe({
|
|
33042
|
-
id: `${i.id}--${
|
|
33042
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
33043
33043
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
33044
33044
|
i,
|
|
33045
33045
|
i.project
|
|
33046
33046
|
)}" with id "${i.id}".`,
|
|
33047
33047
|
issue: null,
|
|
33048
33048
|
severity: R.Error,
|
|
33049
|
-
code:
|
|
33049
|
+
code: J.PropertyImplementsNonAbstact,
|
|
33050
33050
|
entity: i
|
|
33051
33051
|
});
|
|
33052
33052
|
o.push(l.error);
|
|
@@ -33057,11 +33057,11 @@ function VS(i) {
|
|
|
33057
33057
|
const a = [];
|
|
33058
33058
|
if (!i.calls.length) {
|
|
33059
33059
|
const e = fe({
|
|
33060
|
-
id: `${i.id}--${
|
|
33060
|
+
id: `${i.id}--${J.ScopeWithoutLogic}`,
|
|
33061
33061
|
message: `Action "${j(i, i.project)}" with id "${i.id}" does not have any logic defined. So it doesn't do anything.`,
|
|
33062
33062
|
issue: null,
|
|
33063
33063
|
severity: R.Warning,
|
|
33064
|
-
code:
|
|
33064
|
+
code: J.ScopeWithoutLogic,
|
|
33065
33065
|
entity: i
|
|
33066
33066
|
});
|
|
33067
33067
|
a.push(e.error);
|
|
@@ -33117,12 +33117,12 @@ const Ae = class Ae extends tt {
|
|
|
33117
33117
|
static fromGenerationTarget(e, t) {
|
|
33118
33118
|
let r = t;
|
|
33119
33119
|
if (e.parent) {
|
|
33120
|
-
const l =
|
|
33120
|
+
const l = B(e.parent);
|
|
33121
33121
|
r = t.get(l);
|
|
33122
33122
|
}
|
|
33123
33123
|
let s = null;
|
|
33124
33124
|
if (e.implements) {
|
|
33125
|
-
const l =
|
|
33125
|
+
const l = B(e.implements);
|
|
33126
33126
|
s = t.get(
|
|
33127
33127
|
l
|
|
33128
33128
|
);
|
|
@@ -33209,8 +33209,8 @@ ${Yi}`, s.push(
|
|
|
33209
33209
|
} else {
|
|
33210
33210
|
const w = m.methods.find(
|
|
33211
33211
|
($) => {
|
|
33212
|
-
var
|
|
33213
|
-
return ((
|
|
33212
|
+
var C;
|
|
33213
|
+
return ((C = $.implements) == null ? void 0 : C.id) === r.implements;
|
|
33214
33214
|
}
|
|
33215
33215
|
);
|
|
33216
33216
|
w && s.push(
|
|
@@ -33463,7 +33463,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
33463
33463
|
hydrateAncestors() {
|
|
33464
33464
|
const e = [], t = [], r = [], s = [];
|
|
33465
33465
|
if (this.initialData.parent) {
|
|
33466
|
-
const d =
|
|
33466
|
+
const d = B(
|
|
33467
33467
|
this.initialData.parent
|
|
33468
33468
|
), o = this.project.get(d);
|
|
33469
33469
|
if (o)
|
|
@@ -33477,7 +33477,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
33477
33477
|
`${zt(this.type)} with id '${this.id}' is missing a 'parent' reference`
|
|
33478
33478
|
);
|
|
33479
33479
|
if (this.initialData.implements) {
|
|
33480
|
-
const d =
|
|
33480
|
+
const d = B(
|
|
33481
33481
|
this.initialData.implements
|
|
33482
33482
|
), o = this.project.get(
|
|
33483
33483
|
d
|
|
@@ -34015,59 +34015,77 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
34015
34015
|
return this.inputs.find((t) => t.id === e) || null;
|
|
34016
34016
|
}
|
|
34017
34017
|
// Creates a call enitity for this function declaration
|
|
34018
|
-
createCall(e = this.project
|
|
34019
|
-
|
|
34020
|
-
|
|
34021
|
-
|
|
34022
|
-
|
|
34023
|
-
|
|
34024
|
-
|
|
34025
|
-
|
|
34018
|
+
createCall(e = this.project.addChangeSet(
|
|
34019
|
+
new A(
|
|
34020
|
+
this.project,
|
|
34021
|
+
"",
|
|
34022
|
+
v().toISOString(),
|
|
34023
|
+
this,
|
|
34024
|
+
!0,
|
|
34025
|
+
"create-call"
|
|
34026
|
+
)
|
|
34027
|
+
), t = this.project, r = {}) {
|
|
34028
|
+
const s = {
|
|
34029
|
+
id: r.id || I.UUID.uuid(),
|
|
34030
|
+
version: r.version || I.UUID.uuid(),
|
|
34031
|
+
createdAt: r.createdAt || v().toISOString(),
|
|
34032
|
+
author: r.author || "1",
|
|
34033
|
+
previousVersion: r.previousVersion || null,
|
|
34034
|
+
deleted: r.deleted || !1,
|
|
34026
34035
|
type: n.FunctionCall,
|
|
34027
|
-
parent:
|
|
34028
|
-
successCalls:
|
|
34029
|
-
errorCalls:
|
|
34030
|
-
inputs:
|
|
34031
|
-
outputs:
|
|
34032
|
-
error:
|
|
34033
|
-
process:
|
|
34034
|
-
calledBySuccess:
|
|
34035
|
-
calledByError:
|
|
34036
|
-
calledByEntry:
|
|
34036
|
+
parent: t.toReference(),
|
|
34037
|
+
successCalls: r.successCalls || [],
|
|
34038
|
+
errorCalls: r.errorCalls || [],
|
|
34039
|
+
inputs: r.inputs || [],
|
|
34040
|
+
outputs: r.outputs || [],
|
|
34041
|
+
error: r.error || null,
|
|
34042
|
+
process: r.process || null,
|
|
34043
|
+
calledBySuccess: r.calledBySuccess || [],
|
|
34044
|
+
calledByError: r.calledByError || [],
|
|
34045
|
+
calledByEntry: r.calledByEntry || [],
|
|
34037
34046
|
declaration: this.toJSON(),
|
|
34038
34047
|
x: 0,
|
|
34039
34048
|
y: 0
|
|
34040
|
-
},
|
|
34041
|
-
|
|
34049
|
+
}, d = O(
|
|
34050
|
+
s,
|
|
34042
34051
|
this.project
|
|
34043
34052
|
);
|
|
34044
|
-
return
|
|
34053
|
+
return d.setParent(t, e), d.initChildren(e), e == null || e.add(d, b.Added), d.hydrateAncestors(), d.afterAllChildrenInitialized(e), t === this.project && this.project.addFunctionCall(d), e == null || e.attemptAutoclose("create-call", this.id), d;
|
|
34045
34054
|
}
|
|
34046
34055
|
// Creates a call enitity for this function declaration
|
|
34047
|
-
createInternalCall(e
|
|
34048
|
-
|
|
34049
|
-
|
|
34050
|
-
|
|
34056
|
+
createInternalCall(e = this.project.addChangeSet(
|
|
34057
|
+
new A(
|
|
34058
|
+
this.project,
|
|
34059
|
+
"",
|
|
34060
|
+
v().toISOString(),
|
|
34061
|
+
this,
|
|
34062
|
+
!0,
|
|
34063
|
+
"create-internal"
|
|
34064
|
+
)
|
|
34065
|
+
), t, r = {}) {
|
|
34066
|
+
const s = {
|
|
34067
|
+
id: r.id || I.UUID.uuid(),
|
|
34068
|
+
version: r.version || I.UUID.uuid(),
|
|
34051
34069
|
type: n.InternalCall,
|
|
34052
|
-
parent:
|
|
34053
|
-
successCalls:
|
|
34054
|
-
deleted:
|
|
34055
|
-
errorCalls:
|
|
34056
|
-
inputs:
|
|
34057
|
-
outputs:
|
|
34058
|
-
error:
|
|
34059
|
-
process:
|
|
34060
|
-
calledBySuccess:
|
|
34061
|
-
calledByError:
|
|
34062
|
-
calledByEntry:
|
|
34070
|
+
parent: t.toReference(),
|
|
34071
|
+
successCalls: r.successCalls || [],
|
|
34072
|
+
deleted: r.deleted || !1,
|
|
34073
|
+
errorCalls: r.errorCalls || [],
|
|
34074
|
+
inputs: r.inputs || [],
|
|
34075
|
+
outputs: r.outputs || [],
|
|
34076
|
+
error: r.error || null,
|
|
34077
|
+
process: r.process || null,
|
|
34078
|
+
calledBySuccess: r.calledBySuccess || [],
|
|
34079
|
+
calledByError: r.calledByError || [],
|
|
34080
|
+
calledByEntry: r.calledByEntry || [],
|
|
34063
34081
|
// @ts-ignore This is because using the correct 'toJSON' method would recursively call the same method in other entities. Which during load, might not yet be available
|
|
34064
34082
|
declaration: this.toShallowJSON(),
|
|
34065
|
-
index:
|
|
34066
|
-
},
|
|
34067
|
-
|
|
34083
|
+
index: t.internalCalls.length
|
|
34084
|
+
}, d = O(
|
|
34085
|
+
s,
|
|
34068
34086
|
this.project
|
|
34069
34087
|
);
|
|
34070
|
-
return
|
|
34088
|
+
return d.setParent(t, e), d.initChildren(e), e == null || e.add(d, b.Added), d.hydrateAncestors(), d.afterAllChildrenInitialized(e), e == null || e.attemptAutoclose("create-internal", this.id), d;
|
|
34071
34089
|
}
|
|
34072
34090
|
addReturnStatement(e) {
|
|
34073
34091
|
return this.returnStatements.includes(e) || this.returnStatements.push(e), this;
|
|
@@ -34164,11 +34182,11 @@ function _S(i) {
|
|
|
34164
34182
|
const r = [];
|
|
34165
34183
|
if (i.entity && i.andChildrenGroup || i.entity && i.orChildrenGroup || i.andChildrenGroup && i.orChildrenGroup) {
|
|
34166
34184
|
const s = fe({
|
|
34167
|
-
id: i.id + "--" +
|
|
34185
|
+
id: i.id + "--" + J.InvalidPropertiesCombination,
|
|
34168
34186
|
message: `Data type with id "${i.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
|
|
34169
34187
|
issue: null,
|
|
34170
34188
|
severity: R.Error,
|
|
34171
|
-
code:
|
|
34189
|
+
code: J.InvalidPropertiesCombination,
|
|
34172
34190
|
entity: i
|
|
34173
34191
|
});
|
|
34174
34192
|
r.push(s.error);
|
|
@@ -34308,7 +34326,7 @@ const Re = class Re extends tt {
|
|
|
34308
34326
|
Then creates a new instance of the entity
|
|
34309
34327
|
*/
|
|
34310
34328
|
static fromGenerationTarget(e, t) {
|
|
34311
|
-
const r =
|
|
34329
|
+
const r = B(e.parent), s = t.get(r);
|
|
34312
34330
|
let d = null;
|
|
34313
34331
|
e.entity && (d = t.get(e.entity));
|
|
34314
34332
|
const o = {
|
|
@@ -34634,7 +34652,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
34634
34652
|
hydrateAncestors() {
|
|
34635
34653
|
const e = [], t = [], r = [], s = [];
|
|
34636
34654
|
if (this.initialData.parent) {
|
|
34637
|
-
const d =
|
|
34655
|
+
const d = B(
|
|
34638
34656
|
this.initialData.parent
|
|
34639
34657
|
), o = this.project.get(d);
|
|
34640
34658
|
if (o)
|
|
@@ -34646,7 +34664,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
34646
34664
|
} else
|
|
34647
34665
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
34648
34666
|
if (this.initialData.entity) {
|
|
34649
|
-
const d =
|
|
34667
|
+
const d = B(
|
|
34650
34668
|
this.initialData.entity
|
|
34651
34669
|
), o = this.project.get(d);
|
|
34652
34670
|
o && (o.type === n.DefinitionEntity && o.parent === this || (this.setEntity(o), o.type !== n.BuiltInBaseEntity && o.type !== n.PrimitiveEntity && e.push(o)));
|
|
@@ -35437,14 +35455,14 @@ function gS(i) {
|
|
|
35437
35455
|
const r = LS(i), s = Pi(i), d = [...r, ...s];
|
|
35438
35456
|
if (i.id === "exec-sequentially-operation-call-id") {
|
|
35439
35457
|
const l = fe({
|
|
35440
|
-
id: `${i.id}--${
|
|
35458
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
35441
35459
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
35442
35460
|
i,
|
|
35443
35461
|
i.project
|
|
35444
35462
|
)}" with id "${i.id}".`,
|
|
35445
35463
|
issue: null,
|
|
35446
35464
|
severity: R.Error,
|
|
35447
|
-
code:
|
|
35465
|
+
code: J.PropertyImplementsNonAbstact,
|
|
35448
35466
|
entity: i
|
|
35449
35467
|
});
|
|
35450
35468
|
d.push(l.error);
|
|
@@ -35501,19 +35519,19 @@ const De = class De extends tt {
|
|
|
35501
35519
|
static fromGenerationTarget(e, t) {
|
|
35502
35520
|
let r = t;
|
|
35503
35521
|
if (e.parent) {
|
|
35504
|
-
const m =
|
|
35522
|
+
const m = B(e.parent);
|
|
35505
35523
|
r = t.get(m);
|
|
35506
35524
|
}
|
|
35507
|
-
const s =
|
|
35525
|
+
const s = B(e.declaration), d = t.get(
|
|
35508
35526
|
s
|
|
35509
35527
|
), o = e.calledByEntry.map((m) => {
|
|
35510
|
-
const T =
|
|
35528
|
+
const T = B(m);
|
|
35511
35529
|
return t.get(T);
|
|
35512
35530
|
}), l = e.calledBySuccess.map((m) => {
|
|
35513
|
-
const T =
|
|
35531
|
+
const T = B(m);
|
|
35514
35532
|
return t.get(T);
|
|
35515
35533
|
}), u = e.calledByError.map((m) => {
|
|
35516
|
-
const T =
|
|
35534
|
+
const T = B(m);
|
|
35517
35535
|
return t.get(T);
|
|
35518
35536
|
}), y = {
|
|
35519
35537
|
id: e.id,
|
|
@@ -35578,7 +35596,7 @@ const De = class De extends tt {
|
|
|
35578
35596
|
...d.errors,
|
|
35579
35597
|
...ot(r)
|
|
35580
35598
|
);
|
|
35581
|
-
const o =
|
|
35599
|
+
const o = B(
|
|
35582
35600
|
r.declaration
|
|
35583
35601
|
);
|
|
35584
35602
|
if (o) {
|
|
@@ -35801,7 +35819,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35801
35819
|
hydrateAncestors() {
|
|
35802
35820
|
const e = [], t = [], r = [], s = [];
|
|
35803
35821
|
if (this.initialData.parent) {
|
|
35804
|
-
const d =
|
|
35822
|
+
const d = B(
|
|
35805
35823
|
this.initialData.parent
|
|
35806
35824
|
), o = this.project.get(d);
|
|
35807
35825
|
if (o)
|
|
@@ -35813,7 +35831,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35813
35831
|
} else
|
|
35814
35832
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
35815
35833
|
if (this.initialData.declaration) {
|
|
35816
|
-
const d =
|
|
35834
|
+
const d = B(
|
|
35817
35835
|
this.initialData.declaration
|
|
35818
35836
|
), o = this.project.get(
|
|
35819
35837
|
d
|
|
@@ -35821,15 +35839,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35821
35839
|
o && (this.setDeclaration(o), e.push(o));
|
|
35822
35840
|
}
|
|
35823
35841
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
35824
|
-
const o =
|
|
35842
|
+
const o = B(d), l = this.project.get(o);
|
|
35825
35843
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
35826
35844
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
35827
|
-
const o =
|
|
35845
|
+
const o = B(d), l = this.project.get(
|
|
35828
35846
|
o
|
|
35829
35847
|
);
|
|
35830
35848
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
35831
35849
|
}), this.initialData.calledByError.forEach((d) => {
|
|
35832
|
-
const o =
|
|
35850
|
+
const o = B(d), l = this.project.get(
|
|
35833
35851
|
o
|
|
35834
35852
|
);
|
|
35835
35853
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -36841,7 +36859,7 @@ const Pe = class Pe extends tt {
|
|
|
36841
36859
|
static fromGenerationTarget(e, t) {
|
|
36842
36860
|
let r = t;
|
|
36843
36861
|
if (e.parent) {
|
|
36844
|
-
const l =
|
|
36862
|
+
const l = B(e.parent);
|
|
36845
36863
|
r = t.get(l);
|
|
36846
36864
|
}
|
|
36847
36865
|
let s;
|
|
@@ -37123,7 +37141,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
37123
37141
|
hydrateAncestors() {
|
|
37124
37142
|
const e = [], t = [], r = [], s = [];
|
|
37125
37143
|
if (this.initialData.parent) {
|
|
37126
|
-
const d =
|
|
37144
|
+
const d = B(
|
|
37127
37145
|
this.initialData.parent
|
|
37128
37146
|
), o = this.project.get(d);
|
|
37129
37147
|
if (o)
|
|
@@ -37137,7 +37155,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
37137
37155
|
`${zt(this.type)} with id '${this.id}' is missing a parent reference`
|
|
37138
37156
|
);
|
|
37139
37157
|
if (this.initialData.implements) {
|
|
37140
|
-
const d =
|
|
37158
|
+
const d = B(
|
|
37141
37159
|
this.initialData.implements
|
|
37142
37160
|
), o = this.project.get(
|
|
37143
37161
|
d
|
|
@@ -37753,14 +37771,14 @@ const xe = class xe extends tt {
|
|
|
37753
37771
|
Then creates a new instance of the entity
|
|
37754
37772
|
*/
|
|
37755
37773
|
static fromGenerationTarget(e, t) {
|
|
37756
|
-
const r =
|
|
37757
|
-
const m =
|
|
37774
|
+
const r = B(e.parent), s = t.get(r), d = e.calledByEntry.map((c) => {
|
|
37775
|
+
const m = B(c);
|
|
37758
37776
|
return t.get(m);
|
|
37759
37777
|
}), o = e.calledBySuccess.map((c) => {
|
|
37760
|
-
const m =
|
|
37778
|
+
const m = B(c);
|
|
37761
37779
|
return t.get(m);
|
|
37762
37780
|
}), l = e.calledByError.map((c) => {
|
|
37763
|
-
const m =
|
|
37781
|
+
const m = B(c);
|
|
37764
37782
|
return t.get(m);
|
|
37765
37783
|
}), u = {
|
|
37766
37784
|
id: e.id,
|
|
@@ -38010,7 +38028,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
38010
38028
|
hydrateAncestors() {
|
|
38011
38029
|
const e = [], t = [], r = [], s = [];
|
|
38012
38030
|
if (this.initialData.parent) {
|
|
38013
|
-
const d =
|
|
38031
|
+
const d = B(
|
|
38014
38032
|
this.initialData.parent
|
|
38015
38033
|
), o = this.project.get(d);
|
|
38016
38034
|
if (o)
|
|
@@ -38022,15 +38040,15 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
38022
38040
|
} else
|
|
38023
38041
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
38024
38042
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
38025
|
-
const o =
|
|
38043
|
+
const o = B(d), l = this.project.get(o);
|
|
38026
38044
|
l && (l.addCall(this), e.push(l));
|
|
38027
38045
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
38028
|
-
const o =
|
|
38046
|
+
const o = B(d), l = this.project.get(
|
|
38029
38047
|
o
|
|
38030
38048
|
);
|
|
38031
38049
|
l && (l.addSuccessCall(this), e.push(l));
|
|
38032
38050
|
}), this.initialData.calledByError.forEach((d) => {
|
|
38033
|
-
const o =
|
|
38051
|
+
const o = B(d), l = this.project.get(
|
|
38034
38052
|
o
|
|
38035
38053
|
);
|
|
38036
38054
|
l && (l.addErrorCall(this), e.push(l));
|
|
@@ -38642,7 +38660,7 @@ const we = class we extends tt {
|
|
|
38642
38660
|
static fromGenerationTarget(e, t) {
|
|
38643
38661
|
let r = null;
|
|
38644
38662
|
if (e.parent) {
|
|
38645
|
-
const o =
|
|
38663
|
+
const o = B(e.parent);
|
|
38646
38664
|
r = t.get(o);
|
|
38647
38665
|
}
|
|
38648
38666
|
const s = {
|
|
@@ -38960,7 +38978,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
38960
38978
|
hydrateAncestors() {
|
|
38961
38979
|
const e = [], t = [], r = [], s = [];
|
|
38962
38980
|
if (this.initialData.parent) {
|
|
38963
|
-
const d =
|
|
38981
|
+
const d = B(
|
|
38964
38982
|
this.initialData.parent
|
|
38965
38983
|
), o = this.project.get(d);
|
|
38966
38984
|
if (o)
|
|
@@ -39486,7 +39504,143 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39486
39504
|
y: 0
|
|
39487
39505
|
};
|
|
39488
39506
|
}
|
|
39489
|
-
|
|
39507
|
+
implementAsGlobalEvent(e = this.project.addChangeSet(
|
|
39508
|
+
new A(
|
|
39509
|
+
this.project,
|
|
39510
|
+
"",
|
|
39511
|
+
v().toISOString(),
|
|
39512
|
+
this,
|
|
39513
|
+
!0,
|
|
39514
|
+
"implement-as-global-event"
|
|
39515
|
+
)
|
|
39516
|
+
), t, r) {
|
|
39517
|
+
const s = t || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39518
|
+
id: d,
|
|
39519
|
+
version: o,
|
|
39520
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39521
|
+
author: I.sessionAuthor,
|
|
39522
|
+
previousVersion: null,
|
|
39523
|
+
deleted: !1,
|
|
39524
|
+
type: n.GlobalEvent,
|
|
39525
|
+
name: this.name,
|
|
39526
|
+
description: this.description,
|
|
39527
|
+
inputs: [],
|
|
39528
|
+
calls: [],
|
|
39529
|
+
collapsed: !1,
|
|
39530
|
+
implements: this.toJSON(),
|
|
39531
|
+
parent: (s == null ? void 0 : s.toReference()) || null,
|
|
39532
|
+
x: 0,
|
|
39533
|
+
y: 0
|
|
39534
|
+
}, u = O(
|
|
39535
|
+
l,
|
|
39536
|
+
this.project
|
|
39537
|
+
);
|
|
39538
|
+
if (u.setParent(s, e), u.initChildren(e), e == null || e.add(u, b.Added), u.hydrateAncestors(), u.addSelfToProject(e), this.inputs.map((y, c) => {
|
|
39539
|
+
var V;
|
|
39540
|
+
const m = {
|
|
39541
|
+
id: I.UUID.uuid(),
|
|
39542
|
+
type: n.GenericReference,
|
|
39543
|
+
version: o,
|
|
39544
|
+
entityType: n.GlobalEvent,
|
|
39545
|
+
entityId: d
|
|
39546
|
+
}, T = {
|
|
39547
|
+
id: I.UUID.uuid(),
|
|
39548
|
+
version: I.UUID.uuid(),
|
|
39549
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39550
|
+
author: I.sessionAuthor,
|
|
39551
|
+
previousVersion: null,
|
|
39552
|
+
deleted: !1,
|
|
39553
|
+
type: n.ArgumentDeclaration,
|
|
39554
|
+
name: y.name,
|
|
39555
|
+
required: y.required,
|
|
39556
|
+
implements: y.toJSON(),
|
|
39557
|
+
constant: !0,
|
|
39558
|
+
writesValues: [],
|
|
39559
|
+
defaultValue: null,
|
|
39560
|
+
description: y.description,
|
|
39561
|
+
index: c,
|
|
39562
|
+
dataType: null,
|
|
39563
|
+
parent: m
|
|
39564
|
+
}, D = O(
|
|
39565
|
+
T,
|
|
39566
|
+
this.project
|
|
39567
|
+
);
|
|
39568
|
+
D.setParent(u, e), D.initChildren(e), e == null || e.add(D, b.Added), D.hydrateAncestors(), D.addSelfToProject(e);
|
|
39569
|
+
const w = ((V = y.dataType) == null ? void 0 : V.clone(e, D)) || null;
|
|
39570
|
+
w && (e == null || e.add(w, b.Added)), D.setDataType(w);
|
|
39571
|
+
}), this.outputs.length) {
|
|
39572
|
+
const y = I.UUID.uuid(), c = I.UUID.uuid(), m = {
|
|
39573
|
+
id: I.UUID.uuid(),
|
|
39574
|
+
// id: newId + '--return-statement-parent-ref',
|
|
39575
|
+
type: n.GenericReference,
|
|
39576
|
+
version: o,
|
|
39577
|
+
entityType: n.GlobalEvent,
|
|
39578
|
+
entityId: d
|
|
39579
|
+
}, T = {
|
|
39580
|
+
id: I.UUID.uuid(),
|
|
39581
|
+
type: n.GenericReference,
|
|
39582
|
+
version: o,
|
|
39583
|
+
entityType: n.GlobalEvent,
|
|
39584
|
+
entityId: d
|
|
39585
|
+
}, D = {
|
|
39586
|
+
id: y,
|
|
39587
|
+
version: c,
|
|
39588
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39589
|
+
author: I.sessionAuthor,
|
|
39590
|
+
previousVersion: null,
|
|
39591
|
+
deleted: !1,
|
|
39592
|
+
type: n.ReturnStatement,
|
|
39593
|
+
outputs: [],
|
|
39594
|
+
throws: null,
|
|
39595
|
+
calledBySuccess: [],
|
|
39596
|
+
calledByError: [],
|
|
39597
|
+
calledByEntry: [T],
|
|
39598
|
+
parent: m,
|
|
39599
|
+
x: 0,
|
|
39600
|
+
y: 0
|
|
39601
|
+
}, w = O(
|
|
39602
|
+
D,
|
|
39603
|
+
this.project
|
|
39604
|
+
);
|
|
39605
|
+
w.setParent(u, e), w.initChildren(e), e == null || e.add(w, b.Added), w.hydrateAncestors(), w.addSelfToProject(e), this.outputs.map((V, L) => {
|
|
39606
|
+
var Z;
|
|
39607
|
+
const $ = {
|
|
39608
|
+
id: I.UUID.uuid(),
|
|
39609
|
+
type: n.GenericReference,
|
|
39610
|
+
entityId: y,
|
|
39611
|
+
version: c,
|
|
39612
|
+
entityType: n.ReturnStatement
|
|
39613
|
+
}, C = {
|
|
39614
|
+
id: I.UUID.uuid(),
|
|
39615
|
+
version: I.UUID.uuid(),
|
|
39616
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39617
|
+
author: I.sessionAuthor,
|
|
39618
|
+
previousVersion: null,
|
|
39619
|
+
deleted: !1,
|
|
39620
|
+
type: n.ReturnDeclaration,
|
|
39621
|
+
name: V.name,
|
|
39622
|
+
description: V.description,
|
|
39623
|
+
readsValue: null,
|
|
39624
|
+
constant: !0,
|
|
39625
|
+
required: V.required,
|
|
39626
|
+
defaultValue: null,
|
|
39627
|
+
implements: V.toJSON(),
|
|
39628
|
+
isError: !1,
|
|
39629
|
+
index: L,
|
|
39630
|
+
dataType: null,
|
|
39631
|
+
parent: $
|
|
39632
|
+
}, U = O(
|
|
39633
|
+
C,
|
|
39634
|
+
this.project
|
|
39635
|
+
);
|
|
39636
|
+
U.setParent(w, e), U.initChildren(e), e == null || e.add(U, b.Added), U.hydrateAncestors(), U.addSelfToProject(e);
|
|
39637
|
+
const k = ((Z = V.dataType) == null ? void 0 : Z.clone(e, U)) || null;
|
|
39638
|
+
k && (e == null || e.add(k, b.Added)), U.setDataType(k);
|
|
39639
|
+
});
|
|
39640
|
+
}
|
|
39641
|
+
return e == null || e.attemptAutoclose("implement-as-function-declaration", this.id), u;
|
|
39642
|
+
}
|
|
39643
|
+
implementAsFunctionDeclaration(e = this.project.addChangeSet(
|
|
39490
39644
|
new A(
|
|
39491
39645
|
this.project,
|
|
39492
39646
|
"",
|
|
@@ -39495,12 +39649,11 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39495
39649
|
!0,
|
|
39496
39650
|
"implement-as-function-declaration"
|
|
39497
39651
|
)
|
|
39498
|
-
), r) {
|
|
39499
|
-
|
|
39500
|
-
const s = e || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39652
|
+
), t, r) {
|
|
39653
|
+
const s = t || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39501
39654
|
id: d,
|
|
39502
39655
|
version: o,
|
|
39503
|
-
createdAt: (
|
|
39656
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39504
39657
|
author: I.sessionAuthor,
|
|
39505
39658
|
previousVersion: null,
|
|
39506
39659
|
deleted: !1,
|
|
@@ -39513,64 +39666,64 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39513
39666
|
private: !1,
|
|
39514
39667
|
implements: this.toJSON(),
|
|
39515
39668
|
index: 0,
|
|
39516
|
-
parent: (
|
|
39669
|
+
parent: (s == null ? void 0 : s.toReference()) || null,
|
|
39517
39670
|
x: 0,
|
|
39518
39671
|
y: 0
|
|
39519
39672
|
}, u = O(
|
|
39520
39673
|
l,
|
|
39521
39674
|
this.project
|
|
39522
39675
|
);
|
|
39523
|
-
if (u.setParent(s,
|
|
39524
|
-
var
|
|
39525
|
-
const
|
|
39676
|
+
if (u.setParent(s, e), u.initChildren(e), e == null || e.add(u, b.Added), u.hydrateAncestors(), u.addSelfToProject(e), this.inputs.map((y, c) => {
|
|
39677
|
+
var V;
|
|
39678
|
+
const m = {
|
|
39526
39679
|
id: I.UUID.uuid(),
|
|
39527
39680
|
type: n.GenericReference,
|
|
39528
39681
|
version: o,
|
|
39529
39682
|
entityType: n.FunctionDeclaration,
|
|
39530
39683
|
entityId: d
|
|
39531
|
-
},
|
|
39684
|
+
}, T = {
|
|
39532
39685
|
id: I.UUID.uuid(),
|
|
39533
39686
|
version: I.UUID.uuid(),
|
|
39534
|
-
createdAt: (
|
|
39687
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39535
39688
|
author: I.sessionAuthor,
|
|
39536
39689
|
previousVersion: null,
|
|
39537
39690
|
deleted: !1,
|
|
39538
39691
|
type: n.ArgumentDeclaration,
|
|
39539
|
-
name:
|
|
39540
|
-
required:
|
|
39541
|
-
implements:
|
|
39692
|
+
name: y.name,
|
|
39693
|
+
required: y.required,
|
|
39694
|
+
implements: y.toJSON(),
|
|
39542
39695
|
constant: !0,
|
|
39543
39696
|
writesValues: [],
|
|
39544
39697
|
defaultValue: null,
|
|
39545
|
-
description:
|
|
39546
|
-
index:
|
|
39698
|
+
description: y.description,
|
|
39699
|
+
index: c,
|
|
39547
39700
|
dataType: null,
|
|
39548
|
-
parent:
|
|
39549
|
-
},
|
|
39550
|
-
|
|
39701
|
+
parent: m
|
|
39702
|
+
}, D = O(
|
|
39703
|
+
T,
|
|
39551
39704
|
this.project
|
|
39552
39705
|
);
|
|
39553
|
-
|
|
39554
|
-
const
|
|
39555
|
-
|
|
39706
|
+
D.setParent(u, e), D.initChildren(e), e == null || e.add(D, b.Added), D.hydrateAncestors(), D.addSelfToProject(e);
|
|
39707
|
+
const w = ((V = y.dataType) == null ? void 0 : V.clone(e, D)) || null;
|
|
39708
|
+
w && (e == null || e.add(w, b.Added)), D.setDataType(w);
|
|
39556
39709
|
}), this.outputs.length) {
|
|
39557
|
-
const
|
|
39710
|
+
const y = I.UUID.uuid(), c = I.UUID.uuid(), m = {
|
|
39558
39711
|
id: I.UUID.uuid(),
|
|
39559
39712
|
// id: newId + '--return-statement-parent-ref',
|
|
39560
39713
|
type: n.GenericReference,
|
|
39561
39714
|
version: o,
|
|
39562
39715
|
entityType: n.FunctionDeclaration,
|
|
39563
39716
|
entityId: d
|
|
39564
|
-
},
|
|
39717
|
+
}, T = {
|
|
39565
39718
|
id: I.UUID.uuid(),
|
|
39566
39719
|
type: n.GenericReference,
|
|
39567
39720
|
version: o,
|
|
39568
39721
|
entityType: n.FunctionDeclaration,
|
|
39569
39722
|
entityId: d
|
|
39570
|
-
},
|
|
39571
|
-
id:
|
|
39572
|
-
version:
|
|
39573
|
-
createdAt: (
|
|
39723
|
+
}, D = {
|
|
39724
|
+
id: y,
|
|
39725
|
+
version: c,
|
|
39726
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39574
39727
|
author: I.sessionAuthor,
|
|
39575
39728
|
previousVersion: null,
|
|
39576
39729
|
deleted: !1,
|
|
@@ -39579,54 +39732,54 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39579
39732
|
throws: null,
|
|
39580
39733
|
calledBySuccess: [],
|
|
39581
39734
|
calledByError: [],
|
|
39582
|
-
calledByEntry: [
|
|
39583
|
-
parent:
|
|
39735
|
+
calledByEntry: [T],
|
|
39736
|
+
parent: m,
|
|
39584
39737
|
x: 0,
|
|
39585
39738
|
y: 0
|
|
39586
|
-
},
|
|
39587
|
-
|
|
39739
|
+
}, w = O(
|
|
39740
|
+
D,
|
|
39588
39741
|
this.project
|
|
39589
39742
|
);
|
|
39590
|
-
|
|
39591
|
-
var
|
|
39592
|
-
const
|
|
39743
|
+
w.setParent(u, e), w.initChildren(e), e == null || e.add(w, b.Added), w.hydrateAncestors(), w.addSelfToProject(e), this.outputs.map((V, L) => {
|
|
39744
|
+
var Z;
|
|
39745
|
+
const $ = {
|
|
39593
39746
|
id: I.UUID.uuid(),
|
|
39594
39747
|
type: n.GenericReference,
|
|
39595
|
-
entityId:
|
|
39596
|
-
version:
|
|
39748
|
+
entityId: y,
|
|
39749
|
+
version: c,
|
|
39597
39750
|
entityType: n.ReturnStatement
|
|
39598
|
-
},
|
|
39751
|
+
}, C = {
|
|
39599
39752
|
id: I.UUID.uuid(),
|
|
39600
39753
|
version: I.UUID.uuid(),
|
|
39601
|
-
createdAt: (
|
|
39754
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39602
39755
|
author: I.sessionAuthor,
|
|
39603
39756
|
previousVersion: null,
|
|
39604
39757
|
deleted: !1,
|
|
39605
39758
|
type: n.ReturnDeclaration,
|
|
39606
|
-
name:
|
|
39607
|
-
description:
|
|
39759
|
+
name: V.name,
|
|
39760
|
+
description: V.description,
|
|
39608
39761
|
readsValue: null,
|
|
39609
39762
|
constant: !0,
|
|
39610
|
-
required:
|
|
39763
|
+
required: V.required,
|
|
39611
39764
|
defaultValue: null,
|
|
39612
|
-
implements:
|
|
39765
|
+
implements: V.toJSON(),
|
|
39613
39766
|
isError: !1,
|
|
39614
|
-
index:
|
|
39767
|
+
index: L,
|
|
39615
39768
|
dataType: null,
|
|
39616
|
-
parent:
|
|
39617
|
-
},
|
|
39618
|
-
|
|
39769
|
+
parent: $
|
|
39770
|
+
}, U = O(
|
|
39771
|
+
C,
|
|
39619
39772
|
this.project
|
|
39620
39773
|
);
|
|
39621
|
-
|
|
39622
|
-
const
|
|
39623
|
-
|
|
39774
|
+
U.setParent(w, e), U.initChildren(e), e == null || e.add(U, b.Added), U.hydrateAncestors(), U.addSelfToProject(e);
|
|
39775
|
+
const k = ((Z = V.dataType) == null ? void 0 : Z.clone(e, U)) || null;
|
|
39776
|
+
k && (e == null || e.add(k, b.Added)), U.setDataType(k);
|
|
39624
39777
|
});
|
|
39625
39778
|
}
|
|
39626
|
-
return
|
|
39779
|
+
return e == null || e.attemptAutoclose("implement-as-function-declaration", this.id), u;
|
|
39627
39780
|
}
|
|
39628
39781
|
// This function returns an instance of an loop, which is an implementation of this loop declaration
|
|
39629
|
-
implementAsLoop(e
|
|
39782
|
+
implementAsLoop(e = this.project.addChangeSet(
|
|
39630
39783
|
new A(
|
|
39631
39784
|
this.project,
|
|
39632
39785
|
"",
|
|
@@ -39635,11 +39788,11 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39635
39788
|
!0,
|
|
39636
39789
|
"implement-as-loop"
|
|
39637
39790
|
)
|
|
39638
|
-
), r) {
|
|
39639
|
-
const s =
|
|
39791
|
+
), t, r) {
|
|
39792
|
+
const s = t || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39640
39793
|
id: d,
|
|
39641
39794
|
version: o,
|
|
39642
|
-
createdAt: (
|
|
39795
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39643
39796
|
author: I.sessionAuthor,
|
|
39644
39797
|
previousVersion: null,
|
|
39645
39798
|
deleted: !1,
|
|
@@ -39663,10 +39816,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39663
39816
|
l,
|
|
39664
39817
|
this.project
|
|
39665
39818
|
);
|
|
39666
|
-
return u.setParent(s,
|
|
39819
|
+
return u.setParent(s, e), u.initChildren(e), e == null || e.add(u, b.Added), u.hydrateAncestors(), u.addSelfToProject(e), u.afterAllChildrenInitialized(e), e == null || e.attemptAutoclose("implement-as-loop", this.id), u;
|
|
39667
39820
|
}
|
|
39668
39821
|
// This function returns an instance of an operation, which is an implementation of this operation declaration
|
|
39669
|
-
implementAsOperation(e
|
|
39822
|
+
implementAsOperation(e = this.project.addChangeSet(
|
|
39670
39823
|
new A(
|
|
39671
39824
|
this.project,
|
|
39672
39825
|
"",
|
|
@@ -39675,11 +39828,11 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39675
39828
|
!0,
|
|
39676
39829
|
"implement-as-operation"
|
|
39677
39830
|
)
|
|
39678
|
-
), r) {
|
|
39679
|
-
const s =
|
|
39831
|
+
), t, r) {
|
|
39832
|
+
const s = t || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39680
39833
|
id: d,
|
|
39681
39834
|
version: o,
|
|
39682
|
-
createdAt: (
|
|
39835
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39683
39836
|
author: I.sessionAuthor,
|
|
39684
39837
|
previousVersion: null,
|
|
39685
39838
|
deleted: !1,
|
|
@@ -39701,12 +39854,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39701
39854
|
l,
|
|
39702
39855
|
this.project
|
|
39703
39856
|
);
|
|
39704
|
-
return u.setParent(s,
|
|
39857
|
+
return u.setParent(s, e), u.initChildren(e), e == null || e.add(u, b.Added), u.hydrateAncestors(), u.addSelfToProject(e), this.inputs.forEach((y, c) => {
|
|
39705
39858
|
const m = {
|
|
39706
39859
|
id: I.UUID.uuid(),
|
|
39707
39860
|
version: I.UUID.uuid(),
|
|
39708
39861
|
type: n.InputMap,
|
|
39709
|
-
createdAt: (
|
|
39862
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39710
39863
|
author: I.sessionAuthor,
|
|
39711
39864
|
previousVersion: null,
|
|
39712
39865
|
deleted: !1,
|
|
@@ -39727,12 +39880,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39727
39880
|
m,
|
|
39728
39881
|
this.project
|
|
39729
39882
|
);
|
|
39730
|
-
T.setParent(u,
|
|
39883
|
+
T.setParent(u, e), T.initChildren(e), e == null || e.add(T, b.Added), T.hydrateAncestors(), T.addSelfToProject(e);
|
|
39731
39884
|
}), this.outputs.forEach((y, c) => {
|
|
39732
39885
|
const m = {
|
|
39733
39886
|
id: I.UUID.uuid(),
|
|
39734
39887
|
version: I.UUID.uuid(),
|
|
39735
|
-
createdAt: (
|
|
39888
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39736
39889
|
author: I.sessionAuthor,
|
|
39737
39890
|
previousVersion: null,
|
|
39738
39891
|
deleted: !1,
|
|
@@ -39752,10 +39905,10 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39752
39905
|
m,
|
|
39753
39906
|
this.project
|
|
39754
39907
|
);
|
|
39755
|
-
T.setParent(u,
|
|
39756
|
-
}), u.afterAllChildrenInitialized(
|
|
39908
|
+
T.setParent(u, e), T.initChildren(e), e == null || e.add(T, b.Added), T.hydrateAncestors(), T.addSelfToProject(e);
|
|
39909
|
+
}), u.afterAllChildrenInitialized(e), e == null || e.attemptAutoclose("implement-as-operation", this.id), u;
|
|
39757
39910
|
}
|
|
39758
|
-
implementAsCondition(e
|
|
39911
|
+
implementAsCondition(e = this.project.addChangeSet(
|
|
39759
39912
|
new A(
|
|
39760
39913
|
this.project,
|
|
39761
39914
|
"",
|
|
@@ -39764,11 +39917,11 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39764
39917
|
!0,
|
|
39765
39918
|
"implement-as-condition"
|
|
39766
39919
|
)
|
|
39767
|
-
), r) {
|
|
39768
|
-
const s =
|
|
39920
|
+
), t, r) {
|
|
39921
|
+
const s = t || this.project, d = r || I.UUID.uuid(), o = I.UUID.uuid(), l = {
|
|
39769
39922
|
id: d,
|
|
39770
39923
|
version: o,
|
|
39771
|
-
createdAt: (
|
|
39924
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39772
39925
|
author: I.sessionAuthor,
|
|
39773
39926
|
previousVersion: null,
|
|
39774
39927
|
deleted: !1,
|
|
@@ -39787,12 +39940,12 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39787
39940
|
l,
|
|
39788
39941
|
this.project
|
|
39789
39942
|
);
|
|
39790
|
-
return u.setParent(s,
|
|
39943
|
+
return u.setParent(s, e), u.initChildren(e), e == null || e.add(u, b.Added), u.hydrateAncestors(), u.addSelfToProject(e), this.inputs.forEach((y, c) => {
|
|
39791
39944
|
const m = {
|
|
39792
39945
|
id: I.UUID.uuid(),
|
|
39793
39946
|
version: I.UUID.uuid(),
|
|
39794
39947
|
type: n.InputMap,
|
|
39795
|
-
createdAt: (
|
|
39948
|
+
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
39796
39949
|
author: I.sessionAuthor,
|
|
39797
39950
|
previousVersion: null,
|
|
39798
39951
|
deleted: !1,
|
|
@@ -39813,8 +39966,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39813
39966
|
m,
|
|
39814
39967
|
this.project
|
|
39815
39968
|
);
|
|
39816
|
-
T.setParent(u,
|
|
39817
|
-
}), u.afterAllChildrenInitialized(
|
|
39969
|
+
T.setParent(u, e), T.initChildren(e), e == null || e.add(T, b.Added), T.hydrateAncestors(), T.addSelfToProject(e);
|
|
39970
|
+
}), u.afterAllChildrenInitialized(e), e == null || e.attemptAutoclose("implement-as-condition", this.id), u;
|
|
39818
39971
|
}
|
|
39819
39972
|
// Clear the errors of this entity and all its nested entities recursively
|
|
39820
39973
|
clearErrors() {
|
|
@@ -40003,19 +40156,19 @@ const se = class se extends tt {
|
|
|
40003
40156
|
static fromGenerationTarget(e, t) {
|
|
40004
40157
|
let r = t;
|
|
40005
40158
|
if (e.parent) {
|
|
40006
|
-
const m =
|
|
40159
|
+
const m = B(e.parent);
|
|
40007
40160
|
r = t.get(m);
|
|
40008
40161
|
}
|
|
40009
|
-
const s =
|
|
40162
|
+
const s = B(e.declaration), d = t.get(
|
|
40010
40163
|
s
|
|
40011
40164
|
), o = e.calledByEntry.map((m) => {
|
|
40012
|
-
const T =
|
|
40165
|
+
const T = B(m);
|
|
40013
40166
|
return t.get(T);
|
|
40014
40167
|
}), l = e.calledBySuccess.map((m) => {
|
|
40015
|
-
const T =
|
|
40168
|
+
const T = B(m);
|
|
40016
40169
|
return t.get(T);
|
|
40017
40170
|
}), u = e.calledByError.map((m) => {
|
|
40018
|
-
const T =
|
|
40171
|
+
const T = B(m);
|
|
40019
40172
|
return t.get(T);
|
|
40020
40173
|
}), y = {
|
|
40021
40174
|
id: e.id,
|
|
@@ -40350,7 +40503,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40350
40503
|
hydrateAncestors() {
|
|
40351
40504
|
const e = [], t = [], r = [], s = [];
|
|
40352
40505
|
if (this.initialData.parent) {
|
|
40353
|
-
const d =
|
|
40506
|
+
const d = B(
|
|
40354
40507
|
this.initialData.parent
|
|
40355
40508
|
), o = this.project.get(d);
|
|
40356
40509
|
if (o)
|
|
@@ -40362,7 +40515,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40362
40515
|
} else
|
|
40363
40516
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
40364
40517
|
if (this.initialData.declaration) {
|
|
40365
|
-
const d =
|
|
40518
|
+
const d = B(
|
|
40366
40519
|
this.initialData.declaration
|
|
40367
40520
|
), o = this.project.get(
|
|
40368
40521
|
d
|
|
@@ -40370,15 +40523,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40370
40523
|
o && (this.setDeclaration(o), e.push(o));
|
|
40371
40524
|
}
|
|
40372
40525
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
40373
|
-
const o =
|
|
40526
|
+
const o = B(d), l = this.project.get(o);
|
|
40374
40527
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
40375
40528
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
40376
|
-
const o =
|
|
40529
|
+
const o = B(d), l = this.project.get(
|
|
40377
40530
|
o
|
|
40378
40531
|
);
|
|
40379
40532
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
40380
40533
|
}), this.initialData.calledByError.forEach((d) => {
|
|
40381
|
-
const o =
|
|
40534
|
+
const o = B(d), l = this.project.get(
|
|
40382
40535
|
o
|
|
40383
40536
|
);
|
|
40384
40537
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -41280,30 +41433,30 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41280
41433
|
required: w.required,
|
|
41281
41434
|
parent: this.body.toReference(),
|
|
41282
41435
|
writesValues: []
|
|
41283
|
-
},
|
|
41436
|
+
}, Y = O(
|
|
41284
41437
|
he,
|
|
41285
41438
|
this.project
|
|
41286
41439
|
);
|
|
41287
|
-
|
|
41288
|
-
|
|
41440
|
+
Y.setParent(this.body, e), Y.initChildren(e), e == null || e.add(
|
|
41441
|
+
Y,
|
|
41289
41442
|
b.Added
|
|
41290
|
-
),
|
|
41443
|
+
), Y.addSelfToProject(e), r.push(Y), $ = Y;
|
|
41291
41444
|
}
|
|
41292
|
-
const
|
|
41445
|
+
const C = this.body.inputs.find(
|
|
41293
41446
|
(de) => de.index === $.index && de !== $
|
|
41294
41447
|
), U = this.body.inputs.filter(
|
|
41295
41448
|
(de) => de !== $
|
|
41296
41449
|
);
|
|
41297
41450
|
let k = $.index;
|
|
41298
|
-
|
|
41299
|
-
const
|
|
41300
|
-
let
|
|
41451
|
+
C && (k = Math.max(...U.map((de) => de.index)) + 1), $.index !== k && ($.metaSync({ index: k }, e), t.push($));
|
|
41452
|
+
const Z = $.getDataType(e);
|
|
41453
|
+
let K = Z;
|
|
41301
41454
|
if (V)
|
|
41302
|
-
if (!
|
|
41303
|
-
|
|
41455
|
+
if (!Z || !Tr(
|
|
41456
|
+
Z,
|
|
41304
41457
|
V
|
|
41305
41458
|
)) {
|
|
41306
|
-
if (!
|
|
41459
|
+
if (!K) {
|
|
41307
41460
|
const he = V.clone(
|
|
41308
41461
|
e,
|
|
41309
41462
|
$
|
|
@@ -41311,13 +41464,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41311
41464
|
e == null || e.add(
|
|
41312
41465
|
he,
|
|
41313
41466
|
b.Added
|
|
41314
|
-
), he.addSelfToProject(e),
|
|
41467
|
+
), he.addSelfToProject(e), K = he, r.push(he), t.push($);
|
|
41315
41468
|
}
|
|
41316
|
-
const de =
|
|
41317
|
-
de.self ===
|
|
41469
|
+
const de = K.merge(V, e);
|
|
41470
|
+
de.self === K ? V.remove({ ignoreUpstream: !1 }, e) : de.self === V && (K.remove({ ignoreUpstream: !1 }, e), K = V), K.metaSync({ isList: !0 }, e);
|
|
41318
41471
|
} else
|
|
41319
|
-
|
|
41320
|
-
if (!V && !
|
|
41472
|
+
K.isList || (K.metaSync({ isList: !0 }, e), t.push(K));
|
|
41473
|
+
if (!V && !K) {
|
|
41321
41474
|
const de = {
|
|
41322
41475
|
id: I.UUID.uuid(),
|
|
41323
41476
|
version: I.UUID.uuid(),
|
|
@@ -41716,12 +41869,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41716
41869
|
switch (this.declaration.id) {
|
|
41717
41870
|
case X.List: {
|
|
41718
41871
|
const w = this.body.inputs.find(($) => {
|
|
41719
|
-
var
|
|
41720
|
-
return ((
|
|
41872
|
+
var C;
|
|
41873
|
+
return ((C = $.implements) == null ? void 0 : C.id) === G[n.Loop][X.List].body.inputs.currentValue.id;
|
|
41721
41874
|
}), V = this.inputs.find(
|
|
41722
41875
|
($) => {
|
|
41723
|
-
var
|
|
41724
|
-
return ((
|
|
41876
|
+
var C;
|
|
41877
|
+
return ((C = $.declaration) == null ? void 0 : C.id) === G[n.Loop][X.List].inputs.list.id;
|
|
41725
41878
|
}
|
|
41726
41879
|
);
|
|
41727
41880
|
if (!V)
|
|
@@ -41735,7 +41888,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41735
41888
|
L && (!w.implements || w.implements.id !== L.id) && (w.setImplements(L, e), t.push(w));
|
|
41736
41889
|
let U = w.getDataType(e);
|
|
41737
41890
|
if (!U) {
|
|
41738
|
-
const
|
|
41891
|
+
const Z = {
|
|
41739
41892
|
id: I.UUID.uuid(),
|
|
41740
41893
|
version: I.UUID.uuid(),
|
|
41741
41894
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -41751,14 +41904,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41751
41904
|
andChildrenGroup: [],
|
|
41752
41905
|
orChildrenGroup: [],
|
|
41753
41906
|
parent: $.toReference()
|
|
41754
|
-
},
|
|
41755
|
-
|
|
41907
|
+
}, K = O(
|
|
41908
|
+
Z,
|
|
41756
41909
|
this.project
|
|
41757
41910
|
);
|
|
41758
|
-
|
|
41759
|
-
|
|
41911
|
+
K.setParent($, e), K.initChildren(e), e == null || e.add(
|
|
41912
|
+
K,
|
|
41760
41913
|
b.Added
|
|
41761
|
-
),
|
|
41914
|
+
), K.addSelfToProject(e), r.push(K), U = K;
|
|
41762
41915
|
}
|
|
41763
41916
|
const k = V.getDataType(
|
|
41764
41917
|
e
|
|
@@ -41783,17 +41936,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41783
41936
|
writesValues: [],
|
|
41784
41937
|
dataType: null,
|
|
41785
41938
|
parent: this.body.toReference()
|
|
41786
|
-
},
|
|
41939
|
+
}, C = O(
|
|
41787
41940
|
$,
|
|
41788
41941
|
this.project
|
|
41789
41942
|
);
|
|
41790
|
-
|
|
41791
|
-
|
|
41943
|
+
C.initChildren(e), C.setParent(this.body, e), e == null || e.add(
|
|
41944
|
+
C,
|
|
41792
41945
|
b.Added
|
|
41793
|
-
),
|
|
41946
|
+
), C.addSelfToProject(e), L && (!C.implements || C.implements.id !== L.id) && (C.setImplements(
|
|
41794
41947
|
L,
|
|
41795
41948
|
e
|
|
41796
|
-
), t.push(
|
|
41949
|
+
), t.push(C)), r.push(C), this.currentValueArgumentDeclaration = C;
|
|
41797
41950
|
}
|
|
41798
41951
|
break;
|
|
41799
41952
|
}
|
|
@@ -41807,12 +41960,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41807
41960
|
}
|
|
41808
41961
|
case X.ObjectKeys: {
|
|
41809
41962
|
const w = this.body.inputs.find(($) => {
|
|
41810
|
-
var
|
|
41811
|
-
return ((
|
|
41963
|
+
var C;
|
|
41964
|
+
return ((C = $.implements) == null ? void 0 : C.id) === G[n.Loop][X.ObjectKeys].body.inputs.currentValue.id;
|
|
41812
41965
|
});
|
|
41813
41966
|
if (!this.inputs.find(($) => {
|
|
41814
|
-
var
|
|
41815
|
-
return ((
|
|
41967
|
+
var C;
|
|
41968
|
+
return ((C = $.declaration) == null ? void 0 : C.id) === G[n.Loop][X.ObjectKeys].inputs.object.id;
|
|
41816
41969
|
}))
|
|
41817
41970
|
break;
|
|
41818
41971
|
const L = this.getCurrentValueBuiltInValueDescriptor();
|
|
@@ -41845,14 +41998,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41845
41998
|
andChildrenGroup: [],
|
|
41846
41999
|
orChildrenGroup: [],
|
|
41847
42000
|
parent: $.toReference()
|
|
41848
|
-
},
|
|
42001
|
+
}, Z = O(
|
|
41849
42002
|
k,
|
|
41850
42003
|
this.project
|
|
41851
42004
|
);
|
|
41852
|
-
|
|
41853
|
-
|
|
42005
|
+
Z.setParent($, e), Z.initChildren(e), e == null || e.add(
|
|
42006
|
+
Z,
|
|
41854
42007
|
b.Added
|
|
41855
|
-
),
|
|
42008
|
+
), Z.addSelfToProject(e), U = Z;
|
|
41856
42009
|
}
|
|
41857
42010
|
} else {
|
|
41858
42011
|
const $ = {
|
|
@@ -41873,27 +42026,27 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41873
42026
|
writesValues: [],
|
|
41874
42027
|
dataType: null,
|
|
41875
42028
|
parent: this.body.toReference()
|
|
41876
|
-
},
|
|
42029
|
+
}, C = O(
|
|
41877
42030
|
$,
|
|
41878
42031
|
this.project
|
|
41879
42032
|
);
|
|
41880
|
-
|
|
41881
|
-
|
|
42033
|
+
C.initChildren(e), C.setParent(this.body, e), e == null || e.add(
|
|
42034
|
+
C,
|
|
41882
42035
|
b.Added
|
|
41883
|
-
),
|
|
42036
|
+
), C.addSelfToProject(e), L && (!C.implements || C.implements.id !== L.id) && (C.setImplements(
|
|
41884
42037
|
L,
|
|
41885
42038
|
e
|
|
41886
|
-
), t.push(
|
|
42039
|
+
), t.push(C)), r.push(C), this.currentValueArgumentDeclaration = C;
|
|
41887
42040
|
}
|
|
41888
42041
|
break;
|
|
41889
42042
|
}
|
|
41890
42043
|
case X.ObjectValues: {
|
|
41891
42044
|
const w = this.body.inputs.find(($) => {
|
|
41892
|
-
var
|
|
41893
|
-
return ((
|
|
42045
|
+
var C;
|
|
42046
|
+
return ((C = $.implements) == null ? void 0 : C.id) === G[n.Loop][X.ObjectValues].body.inputs.currentValue.id;
|
|
41894
42047
|
}), V = this.inputs.find(($) => {
|
|
41895
|
-
var
|
|
41896
|
-
return ((
|
|
42048
|
+
var C;
|
|
42049
|
+
return ((C = $.declaration) == null ? void 0 : C.id) === G[n.Loop][X.ObjectValues].inputs.object.id;
|
|
41897
42050
|
});
|
|
41898
42051
|
if (!V)
|
|
41899
42052
|
break;
|
|
@@ -41909,17 +42062,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41909
42062
|
), t.push(w));
|
|
41910
42063
|
let U = w.getDataType(e);
|
|
41911
42064
|
if (U) {
|
|
41912
|
-
const k = V.getDataType(e),
|
|
41913
|
-
(T = U.orChildrenGroup) == null || T.forEach((
|
|
41914
|
-
const { updated: de, removed: he } =
|
|
42065
|
+
const k = V.getDataType(e), Z = ((m = k == null ? void 0 : k.entity) == null ? void 0 : m.properties) || [];
|
|
42066
|
+
(T = U.orChildrenGroup) == null || T.forEach((K) => {
|
|
42067
|
+
const { updated: de, removed: he } = K.remove(
|
|
41915
42068
|
{
|
|
41916
42069
|
ignoreUpstream: !1
|
|
41917
42070
|
},
|
|
41918
42071
|
e
|
|
41919
42072
|
);
|
|
41920
42073
|
t.push(...de), s.push(...he);
|
|
41921
|
-
}),
|
|
41922
|
-
if (!
|
|
42074
|
+
}), Z.forEach((K) => {
|
|
42075
|
+
if (!K.getDataType(e)) {
|
|
41923
42076
|
const he = {
|
|
41924
42077
|
id: I.UUID.uuid(),
|
|
41925
42078
|
version: I.UUID.uuid(),
|
|
@@ -41937,17 +42090,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41937
42090
|
orChildrenGroup: [],
|
|
41938
42091
|
parentRelationType: At.OrDataTypeGroup,
|
|
41939
42092
|
parent: U.toReference()
|
|
41940
|
-
},
|
|
42093
|
+
}, Y = O(
|
|
41941
42094
|
he,
|
|
41942
42095
|
this.project
|
|
41943
42096
|
);
|
|
41944
|
-
|
|
42097
|
+
Y.setParent(
|
|
41945
42098
|
U,
|
|
41946
42099
|
e
|
|
41947
|
-
),
|
|
41948
|
-
|
|
42100
|
+
), Y.initChildren(e), e == null || e.add(
|
|
42101
|
+
Y,
|
|
41949
42102
|
b.Added
|
|
41950
|
-
),
|
|
42103
|
+
), Y.addSelfToProject(e), r.push(Y);
|
|
41951
42104
|
}
|
|
41952
42105
|
});
|
|
41953
42106
|
} else {
|
|
@@ -41967,16 +42120,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41967
42120
|
andChildrenGroup: [],
|
|
41968
42121
|
orChildrenGroup: [],
|
|
41969
42122
|
parent: $.toReference()
|
|
41970
|
-
},
|
|
42123
|
+
}, Z = O(
|
|
41971
42124
|
k,
|
|
41972
42125
|
this.project
|
|
41973
42126
|
);
|
|
41974
|
-
|
|
41975
|
-
|
|
42127
|
+
Z.setParent($, e), Z.initChildren(e), e == null || e.add(
|
|
42128
|
+
Z,
|
|
41976
42129
|
b.Added
|
|
41977
|
-
),
|
|
41978
|
-
const
|
|
41979
|
-
(((c =
|
|
42130
|
+
), Z.addSelfToProject(e), U = Z;
|
|
42131
|
+
const K = V.getDataType(e);
|
|
42132
|
+
(((c = K == null ? void 0 : K.entity) == null ? void 0 : c.properties) || []).forEach((he) => {
|
|
41980
42133
|
if (!he.getDataType(e)) {
|
|
41981
42134
|
const ne = {
|
|
41982
42135
|
id: I.UUID.uuid(),
|
|
@@ -41994,13 +42147,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41994
42147
|
andChildrenGroup: [],
|
|
41995
42148
|
orChildrenGroup: [],
|
|
41996
42149
|
parentRelationType: At.OrDataTypeGroup,
|
|
41997
|
-
parent:
|
|
42150
|
+
parent: Z.toReference()
|
|
41998
42151
|
}, $t = O(
|
|
41999
42152
|
ne,
|
|
42000
42153
|
this.project
|
|
42001
42154
|
);
|
|
42002
42155
|
$t.setParent(
|
|
42003
|
-
|
|
42156
|
+
Z,
|
|
42004
42157
|
e
|
|
42005
42158
|
), $t.initChildren(e), e == null || e.add(
|
|
42006
42159
|
$t,
|
|
@@ -42028,28 +42181,28 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42028
42181
|
writesValues: [],
|
|
42029
42182
|
dataType: null,
|
|
42030
42183
|
parent: this.body.toReference()
|
|
42031
|
-
},
|
|
42184
|
+
}, C = O(
|
|
42032
42185
|
$,
|
|
42033
42186
|
this.project
|
|
42034
42187
|
);
|
|
42035
|
-
|
|
42036
|
-
|
|
42188
|
+
C.initChildren(e), C.setParent(this.body, e), e == null || e.add(
|
|
42189
|
+
C,
|
|
42037
42190
|
b.Added
|
|
42038
|
-
),
|
|
42191
|
+
), C.addSelfToProject(e), L && (!C.implements || C.implements.id !== L.id) && (C.setImplements(
|
|
42039
42192
|
L,
|
|
42040
42193
|
e
|
|
42041
|
-
), t.push(
|
|
42194
|
+
), t.push(C)), r.push(C), this.currentValueArgumentDeclaration = C;
|
|
42042
42195
|
}
|
|
42043
42196
|
break;
|
|
42044
42197
|
}
|
|
42045
42198
|
case X.String: {
|
|
42046
42199
|
const w = this.body.inputs.find(($) => {
|
|
42047
|
-
var
|
|
42048
|
-
return ((
|
|
42200
|
+
var C;
|
|
42201
|
+
return ((C = $.implements) == null ? void 0 : C.id) === G[n.Loop][X.String].body.inputs.currentValue.id;
|
|
42049
42202
|
});
|
|
42050
42203
|
if (!this.inputs.find(($) => {
|
|
42051
|
-
var
|
|
42052
|
-
return ((
|
|
42204
|
+
var C;
|
|
42205
|
+
return ((C = $.declaration) == null ? void 0 : C.id) === G[n.Loop][X.String].inputs.string.id;
|
|
42053
42206
|
}))
|
|
42054
42207
|
break;
|
|
42055
42208
|
const L = this.getCurrentValueBuiltInValueDescriptor();
|
|
@@ -42085,14 +42238,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42085
42238
|
andChildrenGroup: [],
|
|
42086
42239
|
orChildrenGroup: [],
|
|
42087
42240
|
parent: $.toReference()
|
|
42088
|
-
},
|
|
42241
|
+
}, Z = O(
|
|
42089
42242
|
k,
|
|
42090
42243
|
this.project
|
|
42091
42244
|
);
|
|
42092
|
-
|
|
42093
|
-
|
|
42245
|
+
Z.setParent($, e), Z.initChildren(e), e == null || e.add(
|
|
42246
|
+
Z,
|
|
42094
42247
|
b.Added
|
|
42095
|
-
),
|
|
42248
|
+
), Z.addSelfToProject(e), r.push(Z), U = Z;
|
|
42096
42249
|
}
|
|
42097
42250
|
} else {
|
|
42098
42251
|
const $ = {
|
|
@@ -42113,17 +42266,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42113
42266
|
writesValues: [],
|
|
42114
42267
|
dataType: null,
|
|
42115
42268
|
parent: this.body.toReference()
|
|
42116
|
-
},
|
|
42269
|
+
}, C = O(
|
|
42117
42270
|
$,
|
|
42118
42271
|
this.project
|
|
42119
42272
|
);
|
|
42120
|
-
|
|
42121
|
-
|
|
42273
|
+
C.initChildren(e), C.setParent(this.body, e), e == null || e.add(
|
|
42274
|
+
C,
|
|
42122
42275
|
b.Added
|
|
42123
|
-
),
|
|
42276
|
+
), C.addSelfToProject(e), L && (!C.implements || C.implements.id !== L.id) && (C.setImplements(
|
|
42124
42277
|
L,
|
|
42125
42278
|
e
|
|
42126
|
-
), t.push(
|
|
42279
|
+
), t.push(C)), r.push(C), this.currentValueArgumentDeclaration = C;
|
|
42127
42280
|
}
|
|
42128
42281
|
break;
|
|
42129
42282
|
}
|
|
@@ -42526,23 +42679,23 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42526
42679
|
} = this.syncBodyArgumentsDeclarations(e);
|
|
42527
42680
|
t.push(...V), r.push(...L), s.push(...$);
|
|
42528
42681
|
const {
|
|
42529
|
-
updated:
|
|
42682
|
+
updated: C,
|
|
42530
42683
|
added: U,
|
|
42531
42684
|
removed: k
|
|
42532
42685
|
} = this.syncBodyInputIndexes(e);
|
|
42533
|
-
t.push(...
|
|
42686
|
+
t.push(...C), r.push(...U), s.push(...k);
|
|
42534
42687
|
const {
|
|
42535
|
-
updated:
|
|
42536
|
-
added:
|
|
42688
|
+
updated: Z,
|
|
42689
|
+
added: K,
|
|
42537
42690
|
removed: de
|
|
42538
42691
|
} = this.syncOutputsDeclarations(e);
|
|
42539
|
-
t.push(...
|
|
42692
|
+
t.push(...Z), r.push(...K), s.push(...de);
|
|
42540
42693
|
const {
|
|
42541
42694
|
updated: he,
|
|
42542
|
-
added:
|
|
42695
|
+
added: Y,
|
|
42543
42696
|
removed: ne
|
|
42544
42697
|
} = this.syncOutputMaps(e);
|
|
42545
|
-
return t.push(...he), r.push(...
|
|
42698
|
+
return t.push(...he), r.push(...Y), s.push(...ne), e == null || e.attemptAutoclose("sync-children", this.id), {
|
|
42546
42699
|
self: this,
|
|
42547
42700
|
updated: p(t),
|
|
42548
42701
|
added: p(r),
|
|
@@ -42660,22 +42813,22 @@ const $e = class $e extends tt {
|
|
|
42660
42813
|
static fromGenerationTarget(e, t) {
|
|
42661
42814
|
let r = t;
|
|
42662
42815
|
if (e.parent) {
|
|
42663
|
-
const c =
|
|
42816
|
+
const c = B(e.parent);
|
|
42664
42817
|
r = t.get(c);
|
|
42665
42818
|
}
|
|
42666
42819
|
const s = e.calledByEntry.map((c) => {
|
|
42667
|
-
const m =
|
|
42820
|
+
const m = B(c);
|
|
42668
42821
|
return t.get(m);
|
|
42669
42822
|
}), d = e.calledBySuccess.map((c) => {
|
|
42670
|
-
const m =
|
|
42823
|
+
const m = B(c);
|
|
42671
42824
|
return t.get(m);
|
|
42672
42825
|
}), o = e.calledByError.map((c) => {
|
|
42673
|
-
const m =
|
|
42826
|
+
const m = B(c);
|
|
42674
42827
|
return t.get(m);
|
|
42675
42828
|
});
|
|
42676
42829
|
let l;
|
|
42677
42830
|
if (e.declaration) {
|
|
42678
|
-
const c =
|
|
42831
|
+
const c = B(e.declaration);
|
|
42679
42832
|
l = t.get(
|
|
42680
42833
|
c
|
|
42681
42834
|
);
|
|
@@ -42960,7 +43113,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
42960
43113
|
hydrateAncestors() {
|
|
42961
43114
|
const e = [], t = [], r = [], s = [];
|
|
42962
43115
|
if (this.initialData.parent) {
|
|
42963
|
-
const d =
|
|
43116
|
+
const d = B(
|
|
42964
43117
|
this.initialData.parent
|
|
42965
43118
|
), o = this.project.get(d);
|
|
42966
43119
|
if (o)
|
|
@@ -42974,7 +43127,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
42974
43127
|
`${zt(this.type)} with id '${this.id}' is missing a parent reference`
|
|
42975
43128
|
);
|
|
42976
43129
|
if (this.initialData.declaration) {
|
|
42977
|
-
const d =
|
|
43130
|
+
const d = B(
|
|
42978
43131
|
this.initialData.declaration
|
|
42979
43132
|
), o = this.project.get(
|
|
42980
43133
|
d
|
|
@@ -42982,15 +43135,15 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
42982
43135
|
o && (this.setDeclaration(o), e.push(o));
|
|
42983
43136
|
}
|
|
42984
43137
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
42985
|
-
const o =
|
|
43138
|
+
const o = B(d), l = this.project.get(o);
|
|
42986
43139
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
42987
43140
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
42988
|
-
const o =
|
|
43141
|
+
const o = B(d), l = this.project.get(
|
|
42989
43142
|
o
|
|
42990
43143
|
);
|
|
42991
43144
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
42992
43145
|
}), this.initialData.calledByError.forEach((d) => {
|
|
42993
|
-
const o =
|
|
43146
|
+
const o = B(d), l = this.project.get(
|
|
42994
43147
|
o
|
|
42995
43148
|
);
|
|
42996
43149
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -43720,28 +43873,28 @@ function JS(i) {
|
|
|
43720
43873
|
const s = [...Pi(i)];
|
|
43721
43874
|
if (i.id === "random-company-employee-test-variable-id") {
|
|
43722
43875
|
const l = fe({
|
|
43723
|
-
id: `${i.id}--${
|
|
43876
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
43724
43877
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
43725
43878
|
i,
|
|
43726
43879
|
i.project
|
|
43727
43880
|
)}" with id "${i.id}".`,
|
|
43728
43881
|
issue: null,
|
|
43729
43882
|
severity: R.Error,
|
|
43730
|
-
code:
|
|
43883
|
+
code: J.PropertyImplementsNonAbstact,
|
|
43731
43884
|
entity: i
|
|
43732
43885
|
});
|
|
43733
43886
|
s.push(l.error);
|
|
43734
43887
|
}
|
|
43735
43888
|
if (i.id === "company-dto-variable-one-id") {
|
|
43736
43889
|
const l = fe({
|
|
43737
|
-
id: `${i.id}--${
|
|
43890
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
43738
43891
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
43739
43892
|
i,
|
|
43740
43893
|
i.project
|
|
43741
43894
|
)}" with id "${i.id}".`,
|
|
43742
43895
|
issue: null,
|
|
43743
43896
|
severity: R.Error,
|
|
43744
|
-
code:
|
|
43897
|
+
code: J.PropertyImplementsNonAbstact,
|
|
43745
43898
|
entity: i
|
|
43746
43899
|
});
|
|
43747
43900
|
s.push(l.error);
|
|
@@ -43755,14 +43908,14 @@ function qS(i) {
|
|
|
43755
43908
|
const s = [...Pi(i)];
|
|
43756
43909
|
if (i.id === "exec-sequentially-result-variable-id") {
|
|
43757
43910
|
const o = fe({
|
|
43758
|
-
id: `${i.id}--${
|
|
43911
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
43759
43912
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
43760
43913
|
i,
|
|
43761
43914
|
i.project
|
|
43762
43915
|
)}" with id "${i.id}".`,
|
|
43763
43916
|
issue: null,
|
|
43764
43917
|
severity: R.Error,
|
|
43765
|
-
code:
|
|
43918
|
+
code: J.PropertyImplementsNonAbstact,
|
|
43766
43919
|
entity: i
|
|
43767
43920
|
});
|
|
43768
43921
|
s.push(o.error);
|
|
@@ -43817,24 +43970,24 @@ const Oe = class Oe extends tt {
|
|
|
43817
43970
|
static fromGenerationTarget(e, t) {
|
|
43818
43971
|
let r = t;
|
|
43819
43972
|
if (e.parent) {
|
|
43820
|
-
const T =
|
|
43973
|
+
const T = B(e.parent);
|
|
43821
43974
|
r = t.get(T);
|
|
43822
43975
|
}
|
|
43823
|
-
const s =
|
|
43976
|
+
const s = B(e.declaration), d = t.get(
|
|
43824
43977
|
s
|
|
43825
43978
|
), o = e.calledByEntry.map((T) => {
|
|
43826
|
-
const D =
|
|
43979
|
+
const D = B(T);
|
|
43827
43980
|
return t.get(D);
|
|
43828
43981
|
}), l = e.calledBySuccess.map((T) => {
|
|
43829
|
-
const D =
|
|
43982
|
+
const D = B(T);
|
|
43830
43983
|
return t.get(D);
|
|
43831
43984
|
}), u = e.calledByError.map((T) => {
|
|
43832
|
-
const D =
|
|
43985
|
+
const D = B(T);
|
|
43833
43986
|
return t.get(D);
|
|
43834
43987
|
});
|
|
43835
43988
|
let y = null;
|
|
43836
43989
|
if (e.readsValue) {
|
|
43837
|
-
const T =
|
|
43990
|
+
const T = B(e.readsValue);
|
|
43838
43991
|
y = t.get(
|
|
43839
43992
|
T
|
|
43840
43993
|
);
|
|
@@ -44138,7 +44291,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44138
44291
|
hydrateAncestors() {
|
|
44139
44292
|
const e = [], t = [], r = [], s = [];
|
|
44140
44293
|
if (this.initialData.parent) {
|
|
44141
|
-
const d =
|
|
44294
|
+
const d = B(
|
|
44142
44295
|
this.initialData.parent
|
|
44143
44296
|
), o = this.project.get(d);
|
|
44144
44297
|
if (o)
|
|
@@ -44150,7 +44303,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44150
44303
|
} else
|
|
44151
44304
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
44152
44305
|
if (this.initialData.readsValue) {
|
|
44153
|
-
const d =
|
|
44306
|
+
const d = B(
|
|
44154
44307
|
this.initialData.readsValue
|
|
44155
44308
|
), o = this.project.get(
|
|
44156
44309
|
d
|
|
@@ -44158,7 +44311,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44158
44311
|
o && (this.setValueWriter(o), e.push(o));
|
|
44159
44312
|
}
|
|
44160
44313
|
if (this.initialData.declaration) {
|
|
44161
|
-
const d =
|
|
44314
|
+
const d = B(
|
|
44162
44315
|
this.initialData.declaration
|
|
44163
44316
|
), o = this.project.get(
|
|
44164
44317
|
d
|
|
@@ -44166,15 +44319,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44166
44319
|
o && (this.setDeclaration(o), e.push(o));
|
|
44167
44320
|
}
|
|
44168
44321
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
44169
|
-
const o =
|
|
44322
|
+
const o = B(d), l = this.project.get(o);
|
|
44170
44323
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
44171
44324
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
44172
|
-
const o =
|
|
44325
|
+
const o = B(d), l = this.project.get(
|
|
44173
44326
|
o
|
|
44174
44327
|
);
|
|
44175
44328
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
44176
44329
|
}), this.initialData.calledByError.forEach((d) => {
|
|
44177
|
-
const o =
|
|
44330
|
+
const o = B(d), l = this.project.get(
|
|
44178
44331
|
o
|
|
44179
44332
|
);
|
|
44180
44333
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -44198,7 +44351,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44198
44351
|
"after-all-children-initialized"
|
|
44199
44352
|
)
|
|
44200
44353
|
)) {
|
|
44201
|
-
var
|
|
44354
|
+
var C;
|
|
44202
44355
|
const t = [], r = [], s = [], d = [];
|
|
44203
44356
|
this.initialized = !0, this.captureVersion();
|
|
44204
44357
|
const {
|
|
@@ -44221,16 +44374,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44221
44374
|
removed: L,
|
|
44222
44375
|
affected: $
|
|
44223
44376
|
} = this.generateUnusedInternalCalls(e);
|
|
44224
|
-
if (r.push(...w), t.push(...V), s.push(...L), d.push(...$), !this.declaration.dataType || (
|
|
44377
|
+
if (r.push(...w), t.push(...V), s.push(...L), d.push(...$), !this.declaration.dataType || (C = this.declaration.dataType) != null && C.inferred) {
|
|
44225
44378
|
const {
|
|
44226
44379
|
added: U,
|
|
44227
44380
|
updated: k,
|
|
44228
|
-
removed:
|
|
44229
|
-
affected:
|
|
44381
|
+
removed: Z,
|
|
44382
|
+
affected: K
|
|
44230
44383
|
} = this.declaration.inferDataTypeAndSyncInstancesInputsAndOutputs(
|
|
44231
44384
|
e
|
|
44232
44385
|
);
|
|
44233
|
-
r.push(...U), t.push(...k), s.push(...
|
|
44386
|
+
r.push(...U), t.push(...k), s.push(...Z), d.push(...K);
|
|
44234
44387
|
}
|
|
44235
44388
|
return e == null || e.attemptAutoclose("after-all-children-initialized", this.id), {
|
|
44236
44389
|
updated: p(t),
|
|
@@ -45223,7 +45376,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45223
45376
|
var T, D, w, V, L;
|
|
45224
45377
|
return (((T = c.declaration) == null ? void 0 : T.id) || ((w = (D = c.initialData) == null ? void 0 : D.declaration) == null ? void 0 : w.entityId) || ((L = (V = c.initialData) == null ? void 0 : V.declaration) == null ? void 0 : L.id)) === u.id;
|
|
45225
45378
|
})).map((u) => {
|
|
45226
|
-
const y = u.createInternalCall(this);
|
|
45379
|
+
const y = u.createInternalCall(e, this);
|
|
45227
45380
|
return e == null || e.add(y, b.Added), y.suggestion = !0, this.addInternalCall(y), y;
|
|
45228
45381
|
});
|
|
45229
45382
|
else
|
|
@@ -45397,22 +45550,22 @@ const Ve = class Ve extends tt {
|
|
|
45397
45550
|
static fromGenerationTarget(e, t) {
|
|
45398
45551
|
let r = t;
|
|
45399
45552
|
if (e.parent) {
|
|
45400
|
-
const c =
|
|
45553
|
+
const c = B(e.parent);
|
|
45401
45554
|
r = t.get(c);
|
|
45402
45555
|
}
|
|
45403
45556
|
const s = e.calledByEntry.map((c) => {
|
|
45404
|
-
const m =
|
|
45557
|
+
const m = B(c);
|
|
45405
45558
|
return t.get(m);
|
|
45406
45559
|
}), d = e.calledBySuccess.map((c) => {
|
|
45407
|
-
const m =
|
|
45560
|
+
const m = B(c);
|
|
45408
45561
|
return t.get(m);
|
|
45409
45562
|
}), o = e.calledByError.map((c) => {
|
|
45410
|
-
const m =
|
|
45563
|
+
const m = B(c);
|
|
45411
45564
|
return t.get(m);
|
|
45412
45565
|
});
|
|
45413
45566
|
let l = null;
|
|
45414
45567
|
if (e.readsValue) {
|
|
45415
|
-
const c =
|
|
45568
|
+
const c = B(e.readsValue);
|
|
45416
45569
|
l = t.get(
|
|
45417
45570
|
c
|
|
45418
45571
|
);
|
|
@@ -45703,7 +45856,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45703
45856
|
hydrateAncestors() {
|
|
45704
45857
|
const e = [], t = [], r = [], s = [];
|
|
45705
45858
|
if (this.initialData.parent) {
|
|
45706
|
-
const d =
|
|
45859
|
+
const d = B(
|
|
45707
45860
|
this.initialData.parent
|
|
45708
45861
|
), o = this.project.get(d);
|
|
45709
45862
|
if (o)
|
|
@@ -45715,7 +45868,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45715
45868
|
} else
|
|
45716
45869
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
45717
45870
|
if (this.initialData.readsValue) {
|
|
45718
|
-
const d =
|
|
45871
|
+
const d = B(
|
|
45719
45872
|
this.initialData.readsValue
|
|
45720
45873
|
), o = this.project.get(
|
|
45721
45874
|
d
|
|
@@ -45723,15 +45876,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45723
45876
|
o && (this.setValueWriter(o), e.push(o));
|
|
45724
45877
|
}
|
|
45725
45878
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
45726
|
-
const o =
|
|
45879
|
+
const o = B(d), l = this.project.get(o);
|
|
45727
45880
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
45728
45881
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
45729
|
-
const o =
|
|
45882
|
+
const o = B(d), l = this.project.get(
|
|
45730
45883
|
o
|
|
45731
45884
|
);
|
|
45732
45885
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
45733
45886
|
}), this.initialData.calledByError.forEach((d) => {
|
|
45734
|
-
const o =
|
|
45887
|
+
const o = B(d), l = this.project.get(
|
|
45735
45888
|
o
|
|
45736
45889
|
);
|
|
45737
45890
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -45779,12 +45932,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45779
45932
|
} = this.generateUnusedInternalCalls(e);
|
|
45780
45933
|
if (r.push(...w), t.push(...V), s.push(...L), d.push(...$), !this.dataType || this.dataType.inferred) {
|
|
45781
45934
|
const {
|
|
45782
|
-
added:
|
|
45935
|
+
added: C,
|
|
45783
45936
|
updated: U,
|
|
45784
45937
|
removed: k,
|
|
45785
|
-
affected:
|
|
45938
|
+
affected: Z
|
|
45786
45939
|
} = this.inferDataTypeAndSyncInstancesInputsAndOutputs(e);
|
|
45787
|
-
r.push(...
|
|
45940
|
+
r.push(...C), t.push(...U), s.push(...k), d.push(...Z);
|
|
45788
45941
|
}
|
|
45789
45942
|
return e == null || e.attemptAutoclose("after-all-children-initialized", this.id), {
|
|
45790
45943
|
updated: p(t),
|
|
@@ -46072,7 +46225,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46072
46225
|
"infer-data-type-and-sync-instances-inputs-and-outputs"
|
|
46073
46226
|
)
|
|
46074
46227
|
)) {
|
|
46075
|
-
var L, $,
|
|
46228
|
+
var L, $, C, U;
|
|
46076
46229
|
const t = [], r = [], s = [], d = [];
|
|
46077
46230
|
if (!this.dataType) {
|
|
46078
46231
|
const k = O(
|
|
@@ -46106,20 +46259,20 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46106
46259
|
if (this.readsValue) {
|
|
46107
46260
|
const k = (L = this.readsValue.getDataType(e)) == null ? void 0 : L.clone(e);
|
|
46108
46261
|
if (k) {
|
|
46109
|
-
const
|
|
46262
|
+
const Z = ($ = this.dataType) == null ? void 0 : $.merge(
|
|
46110
46263
|
k,
|
|
46111
46264
|
e
|
|
46112
46265
|
);
|
|
46113
|
-
this.dataType && (
|
|
46266
|
+
this.dataType && (Z == null ? void 0 : Z.self.id) !== this.dataType.id && this.dataType.remove({ ignoreUpstream: !1 }, e), k.id !== ((C = Z == null ? void 0 : Z.self) == null ? void 0 : C.id) && k.remove({ ignoreUpstream: !1 }, e), Z != null && Z.self && (Z.self.metaSync(
|
|
46114
46267
|
{
|
|
46115
46268
|
inferred: !0,
|
|
46116
46269
|
like: !0
|
|
46117
46270
|
},
|
|
46118
46271
|
e
|
|
46119
46272
|
), e == null || e.add(
|
|
46120
|
-
|
|
46273
|
+
Z.self,
|
|
46121
46274
|
b.Added
|
|
46122
|
-
), this.setDataType(
|
|
46275
|
+
), this.setDataType(Z.self));
|
|
46123
46276
|
}
|
|
46124
46277
|
return e == null || e.attemptAutoclose(
|
|
46125
46278
|
"infer-data-type-and-sync-instances-inputs-and-outputs",
|
|
@@ -46144,7 +46297,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46144
46297
|
]), l = [];
|
|
46145
46298
|
if (o.forEach((k) => {
|
|
46146
46299
|
l.find(
|
|
46147
|
-
(
|
|
46300
|
+
(K) => j(K, this.project) === j(k, this.project)
|
|
46148
46301
|
) || l.push(k);
|
|
46149
46302
|
}), !l.length)
|
|
46150
46303
|
return e == null || e.attemptAutoclose(
|
|
@@ -46195,19 +46348,19 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46195
46348
|
} = this.generateUnusedOutputs(e);
|
|
46196
46349
|
return t.push(...D), r.push(...T), s.push(...w), d.push(...V), this.variableInstances.forEach((k) => {
|
|
46197
46350
|
const {
|
|
46198
|
-
updated:
|
|
46199
|
-
added:
|
|
46351
|
+
updated: Z,
|
|
46352
|
+
added: K,
|
|
46200
46353
|
removed: de,
|
|
46201
46354
|
affected: he
|
|
46202
46355
|
} = k.generateUnusedInputs(e);
|
|
46203
|
-
t.push(...
|
|
46356
|
+
t.push(...K), r.push(...Z), s.push(...de), d.push(...he);
|
|
46204
46357
|
const {
|
|
46205
|
-
updated:
|
|
46358
|
+
updated: Y,
|
|
46206
46359
|
added: ne,
|
|
46207
46360
|
removed: $t,
|
|
46208
46361
|
affected: wr
|
|
46209
46362
|
} = k.generateUnusedOutputs(e);
|
|
46210
|
-
t.push(...ne), r.push(...
|
|
46363
|
+
t.push(...ne), r.push(...Y), s.push(...$t), d.push(...wr);
|
|
46211
46364
|
}), e == null || e.attemptAutoclose(
|
|
46212
46365
|
"infer-data-type-and-sync-instances-inputs-and-outputs",
|
|
46213
46366
|
this.id
|
|
@@ -46716,7 +46869,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46716
46869
|
"clone-entity"
|
|
46717
46870
|
)
|
|
46718
46871
|
), t = null, r = null, s = !0) {
|
|
46719
|
-
var w, V, L, $,
|
|
46872
|
+
var w, V, L, $, C;
|
|
46720
46873
|
let d = ct(t, this);
|
|
46721
46874
|
const o = this.toJSON(), l = r || I.UUID.uuid();
|
|
46722
46875
|
o.inputs = [], o.id = l, o.version = I.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
|
|
@@ -46759,7 +46912,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46759
46912
|
)
|
|
46760
46913
|
);
|
|
46761
46914
|
u.outputs = T;
|
|
46762
|
-
const D = (
|
|
46915
|
+
const D = (C = this.internalCalls) == null ? void 0 : C.map(
|
|
46763
46916
|
(U) => U.clone(
|
|
46764
46917
|
e,
|
|
46765
46918
|
u,
|
|
@@ -47004,7 +47157,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47004
47157
|
var T, D, w, V, L;
|
|
47005
47158
|
return (((T = c.declaration) == null ? void 0 : T.id) || ((w = (D = c.initialData) == null ? void 0 : D.declaration) == null ? void 0 : w.entityId) || ((L = (V = c.initialData) == null ? void 0 : V.declaration) == null ? void 0 : L.id)) === u.id;
|
|
47006
47159
|
})).map((u) => {
|
|
47007
|
-
const y = u.createInternalCall(this);
|
|
47160
|
+
const y = u.createInternalCall(e, this);
|
|
47008
47161
|
return e == null || e.add(y, b.Added), y.suggestion = !0, this.addInternalCall(y), y;
|
|
47009
47162
|
});
|
|
47010
47163
|
else
|
|
@@ -47139,14 +47292,14 @@ function zS(i) {
|
|
|
47139
47292
|
const s = [...Pi(i)];
|
|
47140
47293
|
if (i.id === "search-person-by-id-id") {
|
|
47141
47294
|
const o = fe({
|
|
47142
|
-
id: `${i.id}--${
|
|
47295
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
47143
47296
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
47144
47297
|
i,
|
|
47145
47298
|
i.project
|
|
47146
47299
|
)}" with id "${i.id}".`,
|
|
47147
47300
|
issue: null,
|
|
47148
47301
|
severity: R.Error,
|
|
47149
|
-
code:
|
|
47302
|
+
code: J.PropertyImplementsNonAbstact,
|
|
47150
47303
|
entity: i
|
|
47151
47304
|
});
|
|
47152
47305
|
s.push(o.error);
|
|
@@ -47200,17 +47353,17 @@ const Se = class Se extends tt {
|
|
|
47200
47353
|
static fromGenerationTarget(e, t) {
|
|
47201
47354
|
let r = t;
|
|
47202
47355
|
if (e.parent) {
|
|
47203
|
-
const y =
|
|
47356
|
+
const y = B(e.parent);
|
|
47204
47357
|
r = t.get(y);
|
|
47205
47358
|
}
|
|
47206
47359
|
const s = e.calledByEntry.map((y) => {
|
|
47207
|
-
const c =
|
|
47360
|
+
const c = B(y);
|
|
47208
47361
|
return t.get(c);
|
|
47209
47362
|
}), d = e.calledBySuccess.map((y) => {
|
|
47210
|
-
const c =
|
|
47363
|
+
const c = B(y);
|
|
47211
47364
|
return t.get(c);
|
|
47212
47365
|
}), o = e.calledByError.map((y) => {
|
|
47213
|
-
const c =
|
|
47366
|
+
const c = B(y);
|
|
47214
47367
|
return t.get(c);
|
|
47215
47368
|
}), l = {
|
|
47216
47369
|
id: e.id,
|
|
@@ -47459,7 +47612,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47459
47612
|
hydrateAncestors() {
|
|
47460
47613
|
const e = [], t = [], r = [], s = [];
|
|
47461
47614
|
if (this.initialData.parent) {
|
|
47462
|
-
const d =
|
|
47615
|
+
const d = B(
|
|
47463
47616
|
this.initialData.parent
|
|
47464
47617
|
), o = this.project.get(d);
|
|
47465
47618
|
if (o)
|
|
@@ -47471,15 +47624,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47471
47624
|
} else
|
|
47472
47625
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
47473
47626
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
47474
|
-
const o =
|
|
47627
|
+
const o = B(d), l = this.project.get(o);
|
|
47475
47628
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
47476
47629
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
47477
|
-
const o =
|
|
47630
|
+
const o = B(d), l = this.project.get(
|
|
47478
47631
|
o
|
|
47479
47632
|
);
|
|
47480
47633
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
47481
47634
|
}), this.initialData.calledByError.forEach((d) => {
|
|
47482
|
-
const o =
|
|
47635
|
+
const o = B(d), l = this.project.get(
|
|
47483
47636
|
o
|
|
47484
47637
|
);
|
|
47485
47638
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -48216,7 +48369,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48216
48369
|
"clone-entity"
|
|
48217
48370
|
)
|
|
48218
48371
|
), t = null, r = null, s = !0) {
|
|
48219
|
-
var V, L, $,
|
|
48372
|
+
var V, L, $, C;
|
|
48220
48373
|
let d = ct(t, this);
|
|
48221
48374
|
const o = this.toJSON(), l = r || I.UUID.uuid();
|
|
48222
48375
|
o.inputs = [];
|
|
@@ -48254,7 +48407,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48254
48407
|
)
|
|
48255
48408
|
);
|
|
48256
48409
|
c.inputs = D;
|
|
48257
|
-
const w = (
|
|
48410
|
+
const w = (C = this.outputs) == null ? void 0 : C.map(
|
|
48258
48411
|
(U, k) => U.clone(
|
|
48259
48412
|
e,
|
|
48260
48413
|
c,
|
|
@@ -48633,7 +48786,7 @@ const je = class je extends tt {
|
|
|
48633
48786
|
hydrateAncestors() {
|
|
48634
48787
|
const e = [], t = [], r = [], s = [];
|
|
48635
48788
|
if (this.initialData.parent) {
|
|
48636
|
-
const d =
|
|
48789
|
+
const d = B(
|
|
48637
48790
|
this.initialData.parent
|
|
48638
48791
|
), o = this.project.get(d);
|
|
48639
48792
|
if (o)
|
|
@@ -49233,16 +49386,16 @@ const Ce = class Ce extends tt {
|
|
|
49233
49386
|
Then creates a new instance of the entity
|
|
49234
49387
|
*/
|
|
49235
49388
|
static fromGenerationTarget(e, t) {
|
|
49236
|
-
const r =
|
|
49389
|
+
const r = B(e.parent), s = t.get(r), d = B(e.declaration), o = t.get(
|
|
49237
49390
|
d
|
|
49238
49391
|
), l = e.calledByEntry.map((T) => {
|
|
49239
|
-
const D =
|
|
49392
|
+
const D = B(T);
|
|
49240
49393
|
return t.get(D);
|
|
49241
49394
|
}), u = e.calledBySuccess.map((T) => {
|
|
49242
|
-
const D =
|
|
49395
|
+
const D = B(T);
|
|
49243
49396
|
return t.get(D);
|
|
49244
49397
|
}), y = e.calledByError.map((T) => {
|
|
49245
|
-
const D =
|
|
49398
|
+
const D = B(T);
|
|
49246
49399
|
return t.get(D);
|
|
49247
49400
|
}), c = {
|
|
49248
49401
|
id: e.id,
|
|
@@ -49302,7 +49455,7 @@ const Ce = class Ce extends tt {
|
|
|
49302
49455
|
t
|
|
49303
49456
|
);
|
|
49304
49457
|
r = d.modifiedData;
|
|
49305
|
-
const o =
|
|
49458
|
+
const o = B(
|
|
49306
49459
|
r.parent
|
|
49307
49460
|
), l = t.get(o);
|
|
49308
49461
|
if (l) {
|
|
@@ -49607,7 +49760,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
49607
49760
|
hydrateAncestors() {
|
|
49608
49761
|
const e = [], t = [], r = [], s = [];
|
|
49609
49762
|
if (this.initialData.parent) {
|
|
49610
|
-
const d =
|
|
49763
|
+
const d = B(
|
|
49611
49764
|
this.initialData.parent
|
|
49612
49765
|
), o = this.project.get(d);
|
|
49613
49766
|
if (o)
|
|
@@ -49619,7 +49772,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
49619
49772
|
} else
|
|
49620
49773
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
49621
49774
|
if (this.initialData.declaration) {
|
|
49622
|
-
const d =
|
|
49775
|
+
const d = B(
|
|
49623
49776
|
this.initialData.declaration
|
|
49624
49777
|
), o = this.project.get(
|
|
49625
49778
|
d
|
|
@@ -49627,15 +49780,15 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
49627
49780
|
o && (this.setDeclaration(o), e.push(o));
|
|
49628
49781
|
}
|
|
49629
49782
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
49630
|
-
const o =
|
|
49783
|
+
const o = B(d), l = this.project.get(o);
|
|
49631
49784
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
49632
49785
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
49633
|
-
const o =
|
|
49786
|
+
const o = B(d), l = this.project.get(
|
|
49634
49787
|
o
|
|
49635
49788
|
);
|
|
49636
49789
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
49637
49790
|
}), this.initialData.calledByError.forEach((d) => {
|
|
49638
|
-
const o =
|
|
49791
|
+
const o = B(d), l = this.project.get(
|
|
49639
49792
|
o
|
|
49640
49793
|
);
|
|
49641
49794
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -50609,14 +50762,14 @@ function eZ(i) {
|
|
|
50609
50762
|
const r = [];
|
|
50610
50763
|
if (i.id === "exec-sequentially-argument-map-id") {
|
|
50611
50764
|
const s = fe({
|
|
50612
|
-
id: `${i.id}--${
|
|
50765
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
50613
50766
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
50614
50767
|
i,
|
|
50615
50768
|
i.project
|
|
50616
50769
|
)}" with id "${i.id}".`,
|
|
50617
50770
|
issue: null,
|
|
50618
50771
|
severity: R.Error,
|
|
50619
|
-
code:
|
|
50772
|
+
code: J.PropertyImplementsNonAbstact,
|
|
50620
50773
|
entity: i
|
|
50621
50774
|
});
|
|
50622
50775
|
r.push(s.error);
|
|
@@ -50662,17 +50815,17 @@ const Be = class Be extends tt {
|
|
|
50662
50815
|
Then creates a new instance of the entity
|
|
50663
50816
|
*/
|
|
50664
50817
|
static fromGenerationTarget(e, t) {
|
|
50665
|
-
const r =
|
|
50818
|
+
const r = B(e.parent), s = t.get(
|
|
50666
50819
|
r
|
|
50667
50820
|
);
|
|
50668
50821
|
let d = null;
|
|
50669
50822
|
if (e.declaration) {
|
|
50670
|
-
const y =
|
|
50823
|
+
const y = B(e.declaration);
|
|
50671
50824
|
d = t.get(y);
|
|
50672
50825
|
}
|
|
50673
50826
|
let o = null;
|
|
50674
50827
|
if (e.readsValue) {
|
|
50675
|
-
const y =
|
|
50828
|
+
const y = B(e.readsValue);
|
|
50676
50829
|
o = t.get(
|
|
50677
50830
|
y
|
|
50678
50831
|
);
|
|
@@ -51071,7 +51224,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
51071
51224
|
hydrateAncestors() {
|
|
51072
51225
|
const e = [], t = [], r = [], s = [];
|
|
51073
51226
|
if (this.initialData.parent) {
|
|
51074
|
-
const d =
|
|
51227
|
+
const d = B(
|
|
51075
51228
|
this.initialData.parent
|
|
51076
51229
|
), o = this.project.get(
|
|
51077
51230
|
d
|
|
@@ -51085,7 +51238,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
51085
51238
|
} else
|
|
51086
51239
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
51087
51240
|
if (this.initialData.readsValue) {
|
|
51088
|
-
const d =
|
|
51241
|
+
const d = B(
|
|
51089
51242
|
this.initialData.readsValue
|
|
51090
51243
|
), o = this.project.get(
|
|
51091
51244
|
d
|
|
@@ -51093,7 +51246,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
51093
51246
|
o && (this.setValueWriter(o), e.push(o));
|
|
51094
51247
|
}
|
|
51095
51248
|
if (this.initialData.declaration) {
|
|
51096
|
-
const d =
|
|
51249
|
+
const d = B(
|
|
51097
51250
|
this.initialData.declaration
|
|
51098
51251
|
), o = this.project.get(d);
|
|
51099
51252
|
o && (this.setDeclaration(o), e.push(o));
|
|
@@ -51645,14 +51798,14 @@ function rZ(i) {
|
|
|
51645
51798
|
const r = [];
|
|
51646
51799
|
if (i.id === "exec-sequentially-return-map-id") {
|
|
51647
51800
|
const s = fe({
|
|
51648
|
-
id: `${i.id}--${
|
|
51801
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
51649
51802
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
51650
51803
|
i,
|
|
51651
51804
|
i.project
|
|
51652
51805
|
)}" with id "${i.id}".`,
|
|
51653
51806
|
issue: null,
|
|
51654
51807
|
severity: R.Error,
|
|
51655
|
-
code:
|
|
51808
|
+
code: J.PropertyImplementsNonAbstact,
|
|
51656
51809
|
entity: i
|
|
51657
51810
|
});
|
|
51658
51811
|
r.push(s.error);
|
|
@@ -51697,12 +51850,12 @@ const _e = class _e extends tt {
|
|
|
51697
51850
|
Then creates a new instance of the entity
|
|
51698
51851
|
*/
|
|
51699
51852
|
static fromGenerationTarget(e, t) {
|
|
51700
|
-
const r =
|
|
51853
|
+
const r = B(e.parent), s = t.get(
|
|
51701
51854
|
r
|
|
51702
51855
|
);
|
|
51703
51856
|
let d;
|
|
51704
51857
|
if (e.declaration) {
|
|
51705
|
-
const u =
|
|
51858
|
+
const u = B(e.declaration);
|
|
51706
51859
|
d = t.get(u);
|
|
51707
51860
|
}
|
|
51708
51861
|
const o = {
|
|
@@ -51754,7 +51907,7 @@ const _e = class _e extends tt {
|
|
|
51754
51907
|
(u) => u !== n.Condition
|
|
51755
51908
|
).includes(o.type)) {
|
|
51756
51909
|
const u = o.outputs.find(
|
|
51757
|
-
(y) => y.declaration.id === (r.declaration ?
|
|
51910
|
+
(y) => y.declaration.id === (r.declaration ? B(r.declaration) : null)
|
|
51758
51911
|
);
|
|
51759
51912
|
if (u)
|
|
51760
51913
|
s.push(
|
|
@@ -52035,7 +52188,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52035
52188
|
hydrateAncestors() {
|
|
52036
52189
|
const e = [], t = [], r = [], s = [];
|
|
52037
52190
|
if (this.initialData.parent) {
|
|
52038
|
-
const d =
|
|
52191
|
+
const d = B(
|
|
52039
52192
|
this.initialData.parent
|
|
52040
52193
|
), o = this.project.get(
|
|
52041
52194
|
d
|
|
@@ -52049,7 +52202,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52049
52202
|
} else
|
|
52050
52203
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
52051
52204
|
if (this.initialData.declaration) {
|
|
52052
|
-
const d =
|
|
52205
|
+
const d = B(
|
|
52053
52206
|
this.initialData.declaration
|
|
52054
52207
|
), o = this.project.get(
|
|
52055
52208
|
d
|
|
@@ -52605,28 +52758,28 @@ function nZ(i) {
|
|
|
52605
52758
|
const r = [];
|
|
52606
52759
|
if (i.id === "company-dto-func-declaration-argument-dcl-id") {
|
|
52607
52760
|
const d = fe({
|
|
52608
|
-
id: `${i.id}--${
|
|
52761
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
52609
52762
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
52610
52763
|
i,
|
|
52611
52764
|
i.project
|
|
52612
52765
|
)}" with id "${i.id}".`,
|
|
52613
52766
|
issue: null,
|
|
52614
52767
|
severity: R.Error,
|
|
52615
|
-
code:
|
|
52768
|
+
code: J.PropertyImplementsNonAbstact,
|
|
52616
52769
|
entity: i
|
|
52617
52770
|
});
|
|
52618
52771
|
r.push(d.error);
|
|
52619
52772
|
}
|
|
52620
52773
|
if (i.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
|
|
52621
52774
|
const d = fe({
|
|
52622
|
-
id: `${i.id}--${
|
|
52775
|
+
id: `${i.id}--${J.PropertyImplementsNonAbstact}`,
|
|
52623
52776
|
message: `Property "${j(i, i.project)}" with id "${i.id}" implements a non-abstract property "${j(
|
|
52624
52777
|
i,
|
|
52625
52778
|
i.project
|
|
52626
52779
|
)}" with id "${i.id}".`,
|
|
52627
52780
|
issue: null,
|
|
52628
52781
|
severity: R.Error,
|
|
52629
|
-
code:
|
|
52782
|
+
code: J.PropertyImplementsNonAbstact,
|
|
52630
52783
|
entity: i
|
|
52631
52784
|
});
|
|
52632
52785
|
r.push(d.error);
|
|
@@ -52673,7 +52826,7 @@ const Me = class Me extends tt {
|
|
|
52673
52826
|
Then creates a new instance of the entity
|
|
52674
52827
|
*/
|
|
52675
52828
|
static fromGenerationTarget(e, t) {
|
|
52676
|
-
const r =
|
|
52829
|
+
const r = B(e.parent), s = t.get(r), d = {
|
|
52677
52830
|
id: e.id,
|
|
52678
52831
|
version: I.UUID.uuid(),
|
|
52679
52832
|
createdAt: v().toISOString(),
|
|
@@ -52720,7 +52873,7 @@ const Me = class Me extends tt {
|
|
|
52720
52873
|
const o = C0(r, t);
|
|
52721
52874
|
if (r.parent) {
|
|
52722
52875
|
const l = t.get(
|
|
52723
|
-
|
|
52876
|
+
B(r.parent)
|
|
52724
52877
|
);
|
|
52725
52878
|
if (l && at.includes(l.type)) {
|
|
52726
52879
|
const u = l.implements;
|
|
@@ -52969,7 +53122,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52969
53122
|
hydrateAncestors() {
|
|
52970
53123
|
const e = [], t = [], r = [], s = [];
|
|
52971
53124
|
if (this.initialData.parent) {
|
|
52972
|
-
const d =
|
|
53125
|
+
const d = B(
|
|
52973
53126
|
this.initialData.parent
|
|
52974
53127
|
), o = this.project.get(
|
|
52975
53128
|
d
|
|
@@ -52983,7 +53136,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52983
53136
|
} else
|
|
52984
53137
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
52985
53138
|
if (this.initialData.implements) {
|
|
52986
|
-
const d =
|
|
53139
|
+
const d = B(this.initialData.implements), o = this.project.get(
|
|
52987
53140
|
d
|
|
52988
53141
|
);
|
|
52989
53142
|
o && (this.setImplements(o, null), e.push(o));
|
|
@@ -53713,7 +53866,7 @@ const Ne = class Ne extends tt {
|
|
|
53713
53866
|
Then creates a new instance of the entity
|
|
53714
53867
|
*/
|
|
53715
53868
|
static fromGenerationTarget(e, t) {
|
|
53716
|
-
const r =
|
|
53869
|
+
const r = B(e.parent), s = t.get(r);
|
|
53717
53870
|
let d = null, o = null;
|
|
53718
53871
|
e.valueAsTypeList ? Array.isArray(e.valueAsTypeList) && (o = e.valueAsTypeList.map(
|
|
53719
53872
|
(y) => t.get(y) || t.getBuiltIn(y)
|
|
@@ -53940,7 +54093,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
53940
54093
|
hydrateAncestors() {
|
|
53941
54094
|
const e = [], t = [], r = [], s = [];
|
|
53942
54095
|
if (this.initialData.parent) {
|
|
53943
|
-
const d =
|
|
54096
|
+
const d = B(
|
|
53944
54097
|
this.initialData.parent
|
|
53945
54098
|
), o = this.project.get(d);
|
|
53946
54099
|
if (o)
|
|
@@ -53953,11 +54106,11 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
53953
54106
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
53954
54107
|
if (this.initialData.valueAsTypeList && Array.isArray(this.initialData.valueAsTypeList))
|
|
53955
54108
|
this.valueAsTypeList = this.valueAsTypeList || [], this.initialData.valueAsTypeList.forEach((d) => {
|
|
53956
|
-
const o =
|
|
54109
|
+
const o = B(d), l = this.project.get(o);
|
|
53957
54110
|
l && this.valueAsTypeList.push(l);
|
|
53958
54111
|
});
|
|
53959
54112
|
else if (this.initialData.valueAsTypeSingle) {
|
|
53960
|
-
const d =
|
|
54113
|
+
const d = B(
|
|
53961
54114
|
this.initialData.valueAsTypeSingle
|
|
53962
54115
|
), o = this.project.get(d);
|
|
53963
54116
|
o && (this.valueAsTypeSingle = o);
|
|
@@ -54115,7 +54268,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54115
54268
|
});
|
|
54116
54269
|
else if (this.initialData.valueAsTypeSingle) {
|
|
54117
54270
|
if (this.initialData.valueAsTypeSingle.type === n.GenericReference) {
|
|
54118
|
-
const r =
|
|
54271
|
+
const r = B(this.initialData.valueAsTypeSingle), s = r ? this.project.get(r) : null;
|
|
54119
54272
|
if (!s)
|
|
54120
54273
|
throw new Error(
|
|
54121
54274
|
`Standalone entity of type '${this.type}' with id '${this.id}' has a reference to an entity of type '${this.initialData.valueAsTypeSingle.entityType}' with id '${this.initialData.valueAsTypeSingle.entityId}' that is not part of the project state.`
|
|
@@ -54529,7 +54682,7 @@ const ge = class ge extends tt {
|
|
|
54529
54682
|
Then creates a new instance of the entity
|
|
54530
54683
|
*/
|
|
54531
54684
|
static fromGenerationTarget(e, t) {
|
|
54532
|
-
const r = e.parent ?
|
|
54685
|
+
const r = e.parent ? B(e.parent) : null, s = r ? t.get(r) : null, d = e.parentRelationType === _.FixedArguments ? s == null ? void 0 : s.inputs.length : s == null ? void 0 : s.outputs.length, o = {
|
|
54533
54686
|
id: e.id,
|
|
54534
54687
|
version: I.UUID.uuid(),
|
|
54535
54688
|
createdAt: v().toISOString(),
|
|
@@ -54772,7 +54925,7 @@ ${Fr(
|
|
|
54772
54925
|
hydrateAncestors() {
|
|
54773
54926
|
const e = [], t = [], r = [], s = [];
|
|
54774
54927
|
if (this.initialData.parent) {
|
|
54775
|
-
const d =
|
|
54928
|
+
const d = B(
|
|
54776
54929
|
this.initialData.parent
|
|
54777
54930
|
), o = this.project.get(d);
|
|
54778
54931
|
if (o)
|
|
@@ -54959,13 +55112,13 @@ ${Fr(
|
|
|
54959
55112
|
const {
|
|
54960
55113
|
updated: L,
|
|
54961
55114
|
removed: $,
|
|
54962
|
-
added:
|
|
55115
|
+
added: C
|
|
54963
55116
|
} = V.entity.onDetachedDependencyRemoved(
|
|
54964
55117
|
this,
|
|
54965
55118
|
V.field,
|
|
54966
55119
|
t
|
|
54967
55120
|
);
|
|
54968
|
-
r.push(...L), s.push(...$), d.push(...
|
|
55121
|
+
r.push(...L), s.push(...$), d.push(...C);
|
|
54969
55122
|
}), this.defaultValue) {
|
|
54970
55123
|
const { updated: V, removed: L } = this.defaultValue.remove(
|
|
54971
55124
|
{
|
|
@@ -57536,10 +57689,10 @@ function So(i, a) {
|
|
|
57536
57689
|
const e = [];
|
|
57537
57690
|
if (i.readsValue) {
|
|
57538
57691
|
const t = a.project.get(
|
|
57539
|
-
|
|
57692
|
+
B(i.readsValue)
|
|
57540
57693
|
);
|
|
57541
57694
|
if (a.project.getBuiltIn(
|
|
57542
|
-
|
|
57695
|
+
B(i.readsValue)
|
|
57543
57696
|
))
|
|
57544
57697
|
e.push(
|
|
57545
57698
|
new P({
|
|
@@ -57611,8 +57764,8 @@ function Pi(i) {
|
|
|
57611
57764
|
if (i.parent === i.project)
|
|
57612
57765
|
!i.calledBy.length && i.type !== n.VariableDeclaration && a.push(
|
|
57613
57766
|
new _n({
|
|
57614
|
-
id: `${i.id}--${
|
|
57615
|
-
code:
|
|
57767
|
+
id: `${i.id}--${J.DisconnectedCallableEntity}`,
|
|
57768
|
+
code: J.DisconnectedCallableEntity,
|
|
57616
57769
|
severity: R.Warning,
|
|
57617
57770
|
message: `This '${i.type}' entity "${j(
|
|
57618
57771
|
i,
|
|
@@ -57664,66 +57817,66 @@ function G0(i) {
|
|
|
57664
57817
|
return a;
|
|
57665
57818
|
if (i.readsValue) {
|
|
57666
57819
|
const e = fe({
|
|
57667
|
-
id: `${i.id}--${
|
|
57820
|
+
id: `${i.id}--${J.VariableReadsValueAndInternalCall}`,
|
|
57668
57821
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" reads a value. A variable with internal calls can't read a value.`,
|
|
57669
57822
|
issue: null,
|
|
57670
57823
|
severity: R.Error,
|
|
57671
|
-
code:
|
|
57824
|
+
code: J.VariableReadsValueAndInternalCall,
|
|
57672
57825
|
entity: i
|
|
57673
57826
|
});
|
|
57674
57827
|
a.push(e.error);
|
|
57675
57828
|
}
|
|
57676
57829
|
if (i.writesValues.length) {
|
|
57677
57830
|
const e = fe({
|
|
57678
|
-
id: `${i.id}--${
|
|
57831
|
+
id: `${i.id}--${J.VariableWritesValuesAndInternalCall}`,
|
|
57679
57832
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" writes values. A variable with internal calls can't write a value.`,
|
|
57680
57833
|
issue: null,
|
|
57681
57834
|
severity: R.Error,
|
|
57682
|
-
code:
|
|
57835
|
+
code: J.VariableWritesValuesAndInternalCall,
|
|
57683
57836
|
entity: i
|
|
57684
57837
|
});
|
|
57685
57838
|
a.push(e.error);
|
|
57686
57839
|
}
|
|
57687
57840
|
if (i.getUsedInputs().length) {
|
|
57688
57841
|
const e = fe({
|
|
57689
|
-
id: `${i.id}--${
|
|
57842
|
+
id: `${i.id}--${J.VariableHasInputsAndInternalCall}`,
|
|
57690
57843
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" has inputs. A variable with internal calls can't have inputs.`,
|
|
57691
57844
|
issue: null,
|
|
57692
57845
|
severity: R.Error,
|
|
57693
|
-
code:
|
|
57846
|
+
code: J.VariableHasInputsAndInternalCall,
|
|
57694
57847
|
entity: i
|
|
57695
57848
|
});
|
|
57696
57849
|
a.push(e.error);
|
|
57697
57850
|
}
|
|
57698
57851
|
if (i.getUsedOutputs().length) {
|
|
57699
57852
|
const e = fe({
|
|
57700
|
-
id: `${i.id}--${
|
|
57853
|
+
id: `${i.id}--${J.VariableHasOutputsAndInternalCall}`,
|
|
57701
57854
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" has outputs. A variable with internal calls can't have outputs.`,
|
|
57702
57855
|
issue: null,
|
|
57703
57856
|
severity: R.Error,
|
|
57704
|
-
code:
|
|
57857
|
+
code: J.VariableHasOutputsAndInternalCall,
|
|
57705
57858
|
entity: i
|
|
57706
57859
|
});
|
|
57707
57860
|
a.push(e.error);
|
|
57708
57861
|
}
|
|
57709
57862
|
if (i.calledBy.length) {
|
|
57710
57863
|
const e = fe({
|
|
57711
|
-
id: `${i.id}--${
|
|
57864
|
+
id: `${i.id}--${J.VariableIsCalledAndHasInternalCall}`,
|
|
57712
57865
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
|
|
57713
57866
|
issue: null,
|
|
57714
57867
|
severity: R.Error,
|
|
57715
|
-
code:
|
|
57868
|
+
code: J.VariableIsCalledAndHasInternalCall,
|
|
57716
57869
|
entity: i
|
|
57717
57870
|
});
|
|
57718
57871
|
a.push(e.error);
|
|
57719
57872
|
}
|
|
57720
57873
|
if ([...i.successCalls, ...i.errorCalls].length) {
|
|
57721
57874
|
const e = fe({
|
|
57722
|
-
id: `${i.id}--${
|
|
57875
|
+
id: `${i.id}--${J.VariableCallsOthersAndHasInternalCall}`,
|
|
57723
57876
|
message: `Variable "${j(i, i.project)}" with id "${i.id}" calls other entities. A variable with internal calls can't call other entities.`,
|
|
57724
57877
|
issue: null,
|
|
57725
57878
|
severity: R.Error,
|
|
57726
|
-
code:
|
|
57879
|
+
code: J.VariableCallsOthersAndHasInternalCall,
|
|
57727
57880
|
entity: i
|
|
57728
57881
|
});
|
|
57729
57882
|
a.push(e.error);
|
|
@@ -57781,19 +57934,19 @@ const Ge = class Ge extends tt {
|
|
|
57781
57934
|
static fromGenerationTarget(e, t) {
|
|
57782
57935
|
let r = t;
|
|
57783
57936
|
if (e.parent) {
|
|
57784
|
-
const m =
|
|
57937
|
+
const m = B(e.parent);
|
|
57785
57938
|
r = t.get(m);
|
|
57786
57939
|
}
|
|
57787
|
-
const s =
|
|
57940
|
+
const s = B(e.declaration), d = t.get(
|
|
57788
57941
|
s
|
|
57789
57942
|
), o = e.calledByEntry.map((m) => {
|
|
57790
|
-
const T =
|
|
57943
|
+
const T = B(m);
|
|
57791
57944
|
return t.get(T);
|
|
57792
57945
|
}), l = e.calledBySuccess.map((m) => {
|
|
57793
|
-
const T =
|
|
57946
|
+
const T = B(m);
|
|
57794
57947
|
return t.get(T);
|
|
57795
57948
|
}), u = e.calledByError.map((m) => {
|
|
57796
|
-
const T =
|
|
57949
|
+
const T = B(m);
|
|
57797
57950
|
return t.get(T);
|
|
57798
57951
|
}), y = {
|
|
57799
57952
|
id: e.id,
|
|
@@ -57858,7 +58011,7 @@ const Ge = class Ge extends tt {
|
|
|
57858
58011
|
...d.errors,
|
|
57859
58012
|
...ot(r)
|
|
57860
58013
|
);
|
|
57861
|
-
const o =
|
|
58014
|
+
const o = B(
|
|
57862
58015
|
r.declaration
|
|
57863
58016
|
);
|
|
57864
58017
|
if (o) {
|
|
@@ -58101,7 +58254,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
58101
58254
|
hydrateAncestors() {
|
|
58102
58255
|
const e = [], t = [], r = [], s = [];
|
|
58103
58256
|
if (this.initialData.parent) {
|
|
58104
|
-
const d =
|
|
58257
|
+
const d = B(
|
|
58105
58258
|
this.initialData.parent
|
|
58106
58259
|
), o = this.project.get(d);
|
|
58107
58260
|
if (o)
|
|
@@ -58113,7 +58266,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
58113
58266
|
} else
|
|
58114
58267
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
58115
58268
|
if (this.initialData.declaration) {
|
|
58116
|
-
const d =
|
|
58269
|
+
const d = B(
|
|
58117
58270
|
this.initialData.declaration
|
|
58118
58271
|
), o = this.project.get(
|
|
58119
58272
|
d
|
|
@@ -58121,15 +58274,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
58121
58274
|
o && (this.setDeclaration(o), e.push(o));
|
|
58122
58275
|
}
|
|
58123
58276
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
58124
|
-
const o =
|
|
58277
|
+
const o = B(d), l = this.project.get(o);
|
|
58125
58278
|
l && (this.addEntryCaller(l, null), e.push(l));
|
|
58126
58279
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
58127
|
-
const o =
|
|
58280
|
+
const o = B(d), l = this.project.get(
|
|
58128
58281
|
o
|
|
58129
58282
|
);
|
|
58130
58283
|
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
58131
58284
|
}), this.initialData.calledByError.forEach((d) => {
|
|
58132
|
-
const o =
|
|
58285
|
+
const o = B(d), l = this.project.get(
|
|
58133
58286
|
o
|
|
58134
58287
|
);
|
|
58135
58288
|
l && (this.addErrorCaller(l, null), e.push(l));
|
|
@@ -58341,7 +58494,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
58341
58494
|
);
|
|
58342
58495
|
this.declaration = t;
|
|
58343
58496
|
} else {
|
|
58344
|
-
const t =
|
|
58497
|
+
const t = B(
|
|
58345
58498
|
this.initialData.declaration
|
|
58346
58499
|
), r = this.project.get(
|
|
58347
58500
|
t
|
|
@@ -59383,7 +59536,11 @@ function ip(i, a, e, t) {
|
|
|
59383
59536
|
return m.abstract = !1, m.implements = y, e == null || e.add(m, b.Added), m.setParent(l, e), l.addProperty(m), m;
|
|
59384
59537
|
}), i.abstractMethods.map(
|
|
59385
59538
|
(y) => {
|
|
59386
|
-
const c = I.UUID.uuid(), m = y.implementAsFunctionDeclaration(
|
|
59539
|
+
const c = I.UUID.uuid(), m = y.implementAsFunctionDeclaration(
|
|
59540
|
+
e,
|
|
59541
|
+
l,
|
|
59542
|
+
c
|
|
59543
|
+
);
|
|
59387
59544
|
return l.addMethod(m), e == null || e.add(m, b.Added), m;
|
|
59388
59545
|
}
|
|
59389
59546
|
), l.afterAllChildrenInitialized(e);
|
|
@@ -59448,16 +59605,16 @@ function k0(i, a, e, t, r) {
|
|
|
59448
59605
|
let L = !1;
|
|
59449
59606
|
const $ = new Date(i);
|
|
59450
59607
|
if ($ instanceof Date && !isNaN($.valueOf()) && (L = !0), L) {
|
|
59451
|
-
const
|
|
59608
|
+
const C = a.project.getBuiltIn(
|
|
59452
59609
|
G[n.PrimitiveEntity][M.Date].id
|
|
59453
59610
|
);
|
|
59454
|
-
a.setEntity(
|
|
59611
|
+
a.setEntity(C);
|
|
59455
59612
|
break;
|
|
59456
59613
|
} else {
|
|
59457
|
-
const
|
|
59614
|
+
const C = a.project.getBuiltIn(
|
|
59458
59615
|
G[n.PrimitiveEntity][M.String].id
|
|
59459
59616
|
);
|
|
59460
|
-
a.setEntity(
|
|
59617
|
+
a.setEntity(C);
|
|
59461
59618
|
break;
|
|
59462
59619
|
}
|
|
59463
59620
|
case "number":
|
|
@@ -59489,9 +59646,9 @@ function k0(i, a, e, t, r) {
|
|
|
59489
59646
|
},
|
|
59490
59647
|
t
|
|
59491
59648
|
), i.length > 0) {
|
|
59492
|
-
const
|
|
59493
|
-
if (
|
|
59494
|
-
switch (typeof
|
|
59649
|
+
const C = i.slice(0, 5).filter((k) => k !== void 0);
|
|
59650
|
+
if (C.every((k) => typeof k == typeof C[0]) && (typeof C[0] != "object" || C[0] === null))
|
|
59651
|
+
switch (typeof C[0]) {
|
|
59495
59652
|
case "string":
|
|
59496
59653
|
a.setEntity(
|
|
59497
59654
|
a.project.getBuiltIn(
|
|
@@ -59523,10 +59680,10 @@ function k0(i, a, e, t, r) {
|
|
|
59523
59680
|
}
|
|
59524
59681
|
else {
|
|
59525
59682
|
const k = [];
|
|
59526
|
-
let
|
|
59527
|
-
|
|
59528
|
-
var he,
|
|
59529
|
-
if (Array.isArray(de) && (
|
|
59683
|
+
let Z = !1;
|
|
59684
|
+
C.forEach((de) => {
|
|
59685
|
+
var he, Y, ne, $t;
|
|
59686
|
+
if (Array.isArray(de) && (Z = !0), typeof de == "object" && !Array.isArray(de) && de !== null) {
|
|
59530
59687
|
const wr = ud(
|
|
59531
59688
|
de,
|
|
59532
59689
|
a.project,
|
|
@@ -59537,14 +59694,14 @@ function k0(i, a, e, t, r) {
|
|
|
59537
59694
|
t,
|
|
59538
59695
|
r
|
|
59539
59696
|
);
|
|
59540
|
-
wr.hasCreated && k.push((he = wr.changeSet) == null ? void 0 : he.self), s.push(...(
|
|
59697
|
+
wr.hasCreated && k.push((he = wr.changeSet) == null ? void 0 : he.self), s.push(...(Y = wr.changeSet) == null ? void 0 : Y.updated), d.push(...(ne = wr.changeSet) == null ? void 0 : ne.added), o.push(...($t = wr.changeSet) == null ? void 0 : $t.removed);
|
|
59541
59698
|
}
|
|
59542
59699
|
});
|
|
59543
|
-
const
|
|
59700
|
+
const K = p(
|
|
59544
59701
|
k
|
|
59545
59702
|
);
|
|
59546
|
-
if (!
|
|
59547
|
-
|
|
59703
|
+
if (!K.length && !Z) {
|
|
59704
|
+
C.forEach((de) => {
|
|
59548
59705
|
const he = {
|
|
59549
59706
|
id: I.UUID.uuid(),
|
|
59550
59707
|
version: I.UUID.uuid(),
|
|
@@ -59562,35 +59719,35 @@ function k0(i, a, e, t, r) {
|
|
|
59562
59719
|
inferred: !1,
|
|
59563
59720
|
parentRelationType: At.OrDataTypeGroup,
|
|
59564
59721
|
parent: a.toReference()
|
|
59565
|
-
},
|
|
59722
|
+
}, Y = O(
|
|
59566
59723
|
he,
|
|
59567
59724
|
a.project
|
|
59568
59725
|
);
|
|
59569
|
-
switch (
|
|
59726
|
+
switch (Y.setParent(a, t), Y.initChildren(t), t == null || t.add(Y, b.Added), Y.addSelfToProject(t), typeof de) {
|
|
59570
59727
|
case "string":
|
|
59571
|
-
|
|
59572
|
-
|
|
59728
|
+
Y.setEntity(
|
|
59729
|
+
Y.project.getBuiltIn(
|
|
59573
59730
|
G[n.PrimitiveEntity][M.String].id
|
|
59574
59731
|
)
|
|
59575
59732
|
);
|
|
59576
59733
|
break;
|
|
59577
59734
|
case "number":
|
|
59578
|
-
|
|
59579
|
-
|
|
59735
|
+
Y.setEntity(
|
|
59736
|
+
Y.project.getBuiltIn(
|
|
59580
59737
|
G[n.PrimitiveEntity][M.Number].id
|
|
59581
59738
|
)
|
|
59582
59739
|
);
|
|
59583
59740
|
break;
|
|
59584
59741
|
case "boolean":
|
|
59585
|
-
|
|
59586
|
-
|
|
59742
|
+
Y.setEntity(
|
|
59743
|
+
Y.project.getBuiltIn(
|
|
59587
59744
|
G[n.PrimitiveEntity][M.Boolean].id
|
|
59588
59745
|
)
|
|
59589
59746
|
);
|
|
59590
59747
|
break;
|
|
59591
59748
|
case "object":
|
|
59592
|
-
|
|
59593
|
-
|
|
59749
|
+
Y.setEntity(
|
|
59750
|
+
Y.project.getBuiltIn(
|
|
59594
59751
|
G[n.PrimitiveEntity][M.Null].id
|
|
59595
59752
|
)
|
|
59596
59753
|
);
|
|
@@ -59599,20 +59756,20 @@ function k0(i, a, e, t, r) {
|
|
|
59599
59756
|
});
|
|
59600
59757
|
break;
|
|
59601
59758
|
} else
|
|
59602
|
-
|
|
59759
|
+
K.length === 1 && !Z ? a.setEntity(K[0]) : C.forEach((de) => {
|
|
59603
59760
|
if (typeof de == "object" && !Array.isArray(de) && de !== null) {
|
|
59604
59761
|
const he = F0(
|
|
59605
59762
|
Object.keys(de),
|
|
59606
59763
|
a.project
|
|
59607
59764
|
);
|
|
59608
59765
|
if (he) {
|
|
59609
|
-
const
|
|
59610
|
-
he ||
|
|
59766
|
+
const Y = OZ(
|
|
59767
|
+
he || K[0],
|
|
59611
59768
|
a,
|
|
59612
59769
|
t,
|
|
59613
59770
|
At.OrDataTypeGroup
|
|
59614
59771
|
);
|
|
59615
|
-
s.push(...
|
|
59772
|
+
s.push(...Y.updated), d.push(...Y.added), o.push(...Y.removed);
|
|
59616
59773
|
}
|
|
59617
59774
|
} else {
|
|
59618
59775
|
const he = {
|
|
@@ -59632,14 +59789,14 @@ function k0(i, a, e, t, r) {
|
|
|
59632
59789
|
inferred: !1,
|
|
59633
59790
|
parentRelationType: At.OrDataTypeGroup,
|
|
59634
59791
|
parent: a.toReference()
|
|
59635
|
-
},
|
|
59792
|
+
}, Y = O(
|
|
59636
59793
|
he,
|
|
59637
59794
|
a.project
|
|
59638
59795
|
);
|
|
59639
|
-
|
|
59796
|
+
Y.setParent(a, t), Y.initChildren(t), t == null || t.add(Y, b.Added), Y.addSelfToProject(t);
|
|
59640
59797
|
const ne = k0(
|
|
59641
59798
|
de,
|
|
59642
|
-
|
|
59799
|
+
Y,
|
|
59643
59800
|
{
|
|
59644
59801
|
...e,
|
|
59645
59802
|
id: I.UUID.uuid()
|
|
@@ -59652,7 +59809,7 @@ function k0(i, a, e, t, r) {
|
|
|
59652
59809
|
});
|
|
59653
59810
|
}
|
|
59654
59811
|
} else {
|
|
59655
|
-
const
|
|
59812
|
+
const C = ud(
|
|
59656
59813
|
i[0],
|
|
59657
59814
|
a.project,
|
|
59658
59815
|
{
|
|
@@ -59661,11 +59818,11 @@ function k0(i, a, e, t, r) {
|
|
|
59661
59818
|
t,
|
|
59662
59819
|
r
|
|
59663
59820
|
);
|
|
59664
|
-
a.setEntity((u =
|
|
59821
|
+
a.setEntity((u = C.changeSet) == null ? void 0 : u.self), s.push(...(y = C.changeSet) == null ? void 0 : y.updated), d.push(...(c = C.changeSet) == null ? void 0 : c.added), o.push(...(m = C.changeSet) == null ? void 0 : m.removed);
|
|
59665
59822
|
break;
|
|
59666
59823
|
}
|
|
59667
59824
|
else {
|
|
59668
|
-
const
|
|
59825
|
+
const C = ud(
|
|
59669
59826
|
i,
|
|
59670
59827
|
a.project,
|
|
59671
59828
|
{
|
|
@@ -59674,7 +59831,7 @@ function k0(i, a, e, t, r) {
|
|
|
59674
59831
|
t,
|
|
59675
59832
|
r
|
|
59676
59833
|
);
|
|
59677
|
-
a.setEntity((T =
|
|
59834
|
+
a.setEntity((T = C.changeSet) == null ? void 0 : T.self), s.push(...(D = C.changeSet) == null ? void 0 : D.updated), d.push(...(w = C.changeSet) == null ? void 0 : w.added), o.push(...(V = C.changeSet) == null ? void 0 : V.removed);
|
|
59678
59835
|
break;
|
|
59679
59836
|
}
|
|
59680
59837
|
}
|
|
@@ -59745,12 +59902,12 @@ function ud(i, a, e, t, r) {
|
|
|
59745
59902
|
private: !1,
|
|
59746
59903
|
required: !0,
|
|
59747
59904
|
parent: D.toReference()
|
|
59748
|
-
},
|
|
59905
|
+
}, C = O(
|
|
59749
59906
|
$,
|
|
59750
59907
|
a
|
|
59751
59908
|
);
|
|
59752
|
-
|
|
59753
|
-
const U = i[w],
|
|
59909
|
+
C.setParent(D, t), C.initChildren(t), t == null || t.add(C, b.Added), C.addSelfToProject(t), d.push(C);
|
|
59910
|
+
const U = i[w], Z = {
|
|
59754
59911
|
id: I.UUID.uuid(),
|
|
59755
59912
|
version: I.UUID.uuid(),
|
|
59756
59913
|
createdAt: (t == null ? void 0 : t.timestamp) || (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -59765,15 +59922,15 @@ function ud(i, a, e, t, r) {
|
|
|
59765
59922
|
orChildrenGroup: null,
|
|
59766
59923
|
like: !0,
|
|
59767
59924
|
inferred: !1,
|
|
59768
|
-
parent:
|
|
59769
|
-
},
|
|
59770
|
-
|
|
59925
|
+
parent: C.toReference()
|
|
59926
|
+
}, K = O(
|
|
59927
|
+
Z,
|
|
59771
59928
|
a
|
|
59772
59929
|
);
|
|
59773
|
-
|
|
59930
|
+
K.setParent(C, t), K.initChildren(t), t == null || t.add(K, b.Added), K.addSelfToProject(t), d.push(K);
|
|
59774
59931
|
const de = k0(
|
|
59775
59932
|
U,
|
|
59776
|
-
|
|
59933
|
+
K,
|
|
59777
59934
|
{
|
|
59778
59935
|
...e,
|
|
59779
59936
|
name: w,
|
|
@@ -60302,25 +60459,25 @@ function pd(i, a = {}, e = {
|
|
|
60302
60459
|
...(y.projects || []).flatMap((U) => U),
|
|
60303
60460
|
...(d.calls || []).flatMap((U) => U)
|
|
60304
60461
|
];
|
|
60305
|
-
i.type === n.DataType && (r.entity && a[
|
|
60306
|
-
a[
|
|
60462
|
+
i.type === n.DataType && (r.entity && a[B(r.entity)] && a[B(r.entity)].parent && B(
|
|
60463
|
+
a[B(r.entity)].parent
|
|
60307
60464
|
) === i.id ? L.push(r.entity) : r.entity && V.push(r.entity));
|
|
60308
|
-
const $ = {},
|
|
60465
|
+
const $ = {}, C = {};
|
|
60309
60466
|
return V.forEach((U) => {
|
|
60310
|
-
const k =
|
|
60467
|
+
const k = B(U);
|
|
60311
60468
|
if (k && e.ignoreBuiltInBaseEntities && (Er.includes(U.type) || (e.allBuiltInEntityIds || []).includes(k)))
|
|
60312
60469
|
return;
|
|
60313
|
-
const
|
|
60314
|
-
k && ($[k] =
|
|
60470
|
+
const Z = U.version;
|
|
60471
|
+
k && ($[k] = Z);
|
|
60315
60472
|
}), L.forEach((U) => {
|
|
60316
|
-
const k =
|
|
60473
|
+
const k = B(U);
|
|
60317
60474
|
if (k && e.ignoreBuiltInBaseEntities && (Er.includes(U.type) || (e.allBuiltInEntityIds || []).includes(k)))
|
|
60318
60475
|
return;
|
|
60319
|
-
const
|
|
60320
|
-
k && (
|
|
60476
|
+
const Z = U.version;
|
|
60477
|
+
k && (C[k] = Z);
|
|
60321
60478
|
}), {
|
|
60322
60479
|
upstream: $,
|
|
60323
|
-
downstream:
|
|
60480
|
+
downstream: C
|
|
60324
60481
|
};
|
|
60325
60482
|
}
|
|
60326
60483
|
function Aq(i, a) {
|
|
@@ -61313,7 +61470,7 @@ function Yt(i, a) {
|
|
|
61313
61470
|
if (!e)
|
|
61314
61471
|
return null;
|
|
61315
61472
|
if (e.type === n.GenericReference) {
|
|
61316
|
-
const t =
|
|
61473
|
+
const t = B(e);
|
|
61317
61474
|
if (!t)
|
|
61318
61475
|
return null;
|
|
61319
61476
|
const r = a.get(t);
|
|
@@ -61464,7 +61621,7 @@ function ir(i, a) {
|
|
|
61464
61621
|
if (!i)
|
|
61465
61622
|
return null;
|
|
61466
61623
|
let e;
|
|
61467
|
-
return typeof i == "string" ? e = i : i.type === n.GenericReference ? e =
|
|
61624
|
+
return typeof i == "string" ? e = i : i.type === n.GenericReference ? e = B(i) : e = i.id, e === a.id ? a : a.get(e);
|
|
61468
61625
|
}
|
|
61469
61626
|
function Xi(i) {
|
|
61470
61627
|
if (!i)
|
|
@@ -61749,7 +61906,7 @@ function dp(i, a = {}) {
|
|
|
61749
61906
|
return [];
|
|
61750
61907
|
if (!i.parent)
|
|
61751
61908
|
return [];
|
|
61752
|
-
const e =
|
|
61909
|
+
const e = B(i.parent);
|
|
61753
61910
|
if (!e)
|
|
61754
61911
|
return [];
|
|
61755
61912
|
const t = a[e];
|
|
@@ -61915,7 +62072,7 @@ const Le = class Le extends tt {
|
|
|
61915
62072
|
static fromGenerationTarget(e, t) {
|
|
61916
62073
|
let r = t;
|
|
61917
62074
|
if (e.parent) {
|
|
61918
|
-
const u =
|
|
62075
|
+
const u = B(e.parent);
|
|
61919
62076
|
r = t.get(u);
|
|
61920
62077
|
}
|
|
61921
62078
|
const s = [];
|
|
@@ -62221,7 +62378,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
62221
62378
|
hydrateAncestors() {
|
|
62222
62379
|
const e = [], t = [], r = [], s = [];
|
|
62223
62380
|
if (this.initialData.parent) {
|
|
62224
|
-
const d =
|
|
62381
|
+
const d = B(
|
|
62225
62382
|
this.initialData.parent
|
|
62226
62383
|
), o = this.project.get(d);
|
|
62227
62384
|
if (o)
|
|
@@ -62233,10 +62390,10 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
62233
62390
|
} else
|
|
62234
62391
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
62235
62392
|
return this.initialData.extends.forEach((d) => {
|
|
62236
|
-
const o =
|
|
62393
|
+
const o = B(d), l = this.project.get(o);
|
|
62237
62394
|
l && (this.addExtension(l), l.type !== n.BuiltInBaseEntity && e.push(l));
|
|
62238
62395
|
}), this.initialData.implements.forEach((d) => {
|
|
62239
|
-
const o =
|
|
62396
|
+
const o = B(d), l = this.project.get(o);
|
|
62240
62397
|
l && (this.addImplementation(l), l.type !== n.BuiltInBaseEntity && e.push(l));
|
|
62241
62398
|
}), {
|
|
62242
62399
|
updated: p(e),
|
|
@@ -62522,7 +62679,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
62522
62679
|
this,
|
|
62523
62680
|
e
|
|
62524
62681
|
).forEach((s) => {
|
|
62525
|
-
const d = `_suggestion--parent--${this.id}--${s.id}`, o = s.implementAsFunctionDeclaration(
|
|
62682
|
+
const d = `_suggestion--parent--${this.id}--${s.id}`, o = s.implementAsFunctionDeclaration(
|
|
62683
|
+
null,
|
|
62684
|
+
this,
|
|
62685
|
+
d
|
|
62686
|
+
), l = O(
|
|
62526
62687
|
o,
|
|
62527
62688
|
this.project
|
|
62528
62689
|
);
|
|
@@ -62966,19 +63127,19 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
62966
63127
|
);
|
|
62967
63128
|
c.properties = m;
|
|
62968
63129
|
const T = (V = this.methods) == null ? void 0 : V.map(
|
|
62969
|
-
($,
|
|
63130
|
+
($, C) => $.clone(
|
|
62970
63131
|
e,
|
|
62971
63132
|
c,
|
|
62972
|
-
y + "-method-" +
|
|
63133
|
+
y + "-method-" + C + "-id",
|
|
62973
63134
|
s
|
|
62974
63135
|
)
|
|
62975
63136
|
);
|
|
62976
63137
|
c.methods = T;
|
|
62977
63138
|
const D = (L = this.abstractMethods) == null ? void 0 : L.map(
|
|
62978
|
-
($,
|
|
63139
|
+
($, C) => $.clone(
|
|
62979
63140
|
e,
|
|
62980
63141
|
c,
|
|
62981
|
-
y + "-abstract-method-" +
|
|
63142
|
+
y + "-abstract-method-" + C + "-id",
|
|
62982
63143
|
s
|
|
62983
63144
|
)
|
|
62984
63145
|
);
|
|
@@ -63049,7 +63210,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
63049
63210
|
l.forEach((c) => {
|
|
63050
63211
|
var L, $;
|
|
63051
63212
|
const m = u.find(
|
|
63052
|
-
(
|
|
63213
|
+
(C) => j(C, this.project) === j(c, this.project)
|
|
63053
63214
|
);
|
|
63054
63215
|
if (!m)
|
|
63055
63216
|
return;
|
|
@@ -63067,23 +63228,23 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
63067
63228
|
!0
|
|
63068
63229
|
);
|
|
63069
63230
|
if (V) {
|
|
63070
|
-
const
|
|
63231
|
+
const C = (L = m.dataType) == null ? void 0 : L.merge(
|
|
63071
63232
|
V,
|
|
63072
63233
|
t
|
|
63073
63234
|
);
|
|
63074
|
-
m.dataType && (
|
|
63235
|
+
m.dataType && (C == null ? void 0 : C.self.id) !== m.dataType.id && m.dataType.remove(
|
|
63075
63236
|
{ ignoreUpstream: !1 },
|
|
63076
63237
|
t
|
|
63077
|
-
), V.id !== (($ =
|
|
63238
|
+
), V.id !== (($ = C == null ? void 0 : C.self) == null ? void 0 : $.id) && V.remove({ ignoreUpstream: !1 }, t), C != null && C.self && (C.self.metaSync(
|
|
63078
63239
|
{
|
|
63079
63240
|
inferred: !0,
|
|
63080
63241
|
like: !0
|
|
63081
63242
|
},
|
|
63082
63243
|
t
|
|
63083
63244
|
), t == null || t.add(
|
|
63084
|
-
|
|
63245
|
+
C.self,
|
|
63085
63246
|
b.Added
|
|
63086
|
-
), m.setDataType(
|
|
63247
|
+
), m.setDataType(C.self), t == null || t.add(
|
|
63087
63248
|
m,
|
|
63088
63249
|
b.Updated
|
|
63089
63250
|
));
|
|
@@ -63106,9 +63267,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
63106
63267
|
affected: [],
|
|
63107
63268
|
self: this
|
|
63108
63269
|
}) : (y.forEach((c) => {
|
|
63109
|
-
var
|
|
63270
|
+
var C, U, k, Z;
|
|
63110
63271
|
const m = this.properties.find(
|
|
63111
|
-
(
|
|
63272
|
+
(K) => j(K, this.project) === j(c, this.project)
|
|
63112
63273
|
);
|
|
63113
63274
|
if (m) {
|
|
63114
63275
|
if (c.setDeclaration(m), !m.getDataType(t)) {
|
|
@@ -63118,18 +63279,18 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
63118
63279
|
c
|
|
63119
63280
|
), he = Sr(
|
|
63120
63281
|
de
|
|
63121
|
-
),
|
|
63282
|
+
), Y = he == null ? void 0 : he.clone(
|
|
63122
63283
|
t,
|
|
63123
63284
|
m,
|
|
63124
63285
|
I.UUID.uuid(),
|
|
63125
63286
|
!0
|
|
63126
63287
|
);
|
|
63127
|
-
if (
|
|
63128
|
-
const ne = (
|
|
63288
|
+
if (Y) {
|
|
63289
|
+
const ne = (C = m.dataType) == null ? void 0 : C.merge(Y, t);
|
|
63129
63290
|
m.dataType && (ne == null ? void 0 : ne.self.id) !== m.dataType.id && m.dataType.remove(
|
|
63130
63291
|
{ ignoreUpstream: !1 },
|
|
63131
63292
|
t
|
|
63132
|
-
),
|
|
63293
|
+
), Y.id !== ((U = ne == null ? void 0 : ne.self) == null ? void 0 : U.id) && Y.remove({ ignoreUpstream: !1 }, t), ne != null && ne.self && (ne.self.metaSync(
|
|
63133
63294
|
{
|
|
63134
63295
|
inferred: !0,
|
|
63135
63296
|
like: !0
|
|
@@ -63185,23 +63346,23 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
63185
63346
|
!0
|
|
63186
63347
|
);
|
|
63187
63348
|
if ($) {
|
|
63188
|
-
const
|
|
63349
|
+
const K = (k = D.dataType) == null ? void 0 : k.merge(
|
|
63189
63350
|
$,
|
|
63190
63351
|
t
|
|
63191
63352
|
);
|
|
63192
|
-
D.dataType && (
|
|
63353
|
+
D.dataType && (K == null ? void 0 : K.self.id) !== D.dataType.id && D.dataType.remove(
|
|
63193
63354
|
{ ignoreUpstream: !1 },
|
|
63194
63355
|
t
|
|
63195
|
-
), $.id !== ((
|
|
63356
|
+
), $.id !== ((Z = K == null ? void 0 : K.self) == null ? void 0 : Z.id) && $.remove({ ignoreUpstream: !1 }, t), K != null && K.self && (K.self.metaSync(
|
|
63196
63357
|
{
|
|
63197
63358
|
inferred: !0,
|
|
63198
63359
|
like: !0
|
|
63199
63360
|
},
|
|
63200
63361
|
t
|
|
63201
63362
|
), t == null || t.add(
|
|
63202
|
-
|
|
63363
|
+
K.self,
|
|
63203
63364
|
b.Added
|
|
63204
|
-
), D.setDataType(
|
|
63365
|
+
), D.setDataType(K.self), t == null || t.add(D, b.Updated));
|
|
63205
63366
|
}
|
|
63206
63367
|
return this.addProperty(D), c.setDeclaration(D), t == null || t.add(c, b.Updated), D;
|
|
63207
63368
|
}), t == null || t.attemptAutoclose("infer-definition-entity-from-inputs", this.id), {
|
|
@@ -66721,7 +66882,7 @@ export {
|
|
|
66721
66882
|
R as EntityErrorSeverity,
|
|
66722
66883
|
P as EntityGenerationError,
|
|
66723
66884
|
E as EntityGenerationErrorCode,
|
|
66724
|
-
|
|
66885
|
+
J as EntityInstanceErrorCode,
|
|
66725
66886
|
He as EntityOperations,
|
|
66726
66887
|
n as EntityType,
|
|
66727
66888
|
Hq as EntityWithLogicScopeClass,
|
|
@@ -67133,7 +67294,7 @@ export {
|
|
|
67133
67294
|
Xq as getProject,
|
|
67134
67295
|
Zo as getPrototypeByType,
|
|
67135
67296
|
dp as getRecusriveParentsIds,
|
|
67136
|
-
|
|
67297
|
+
B as getReferenceEntityId,
|
|
67137
67298
|
sd as getReferencedEntitiesStateOrErrors,
|
|
67138
67299
|
U0 as getReferencedEntityStateOrErrors,
|
|
67139
67300
|
pd as getReferencedIds,
|