@elyx-code/project-logic-tree 0.0.6254 → 0.0.6255
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 +274 -268
- package/dist/index.umd.cjs +46 -46
- package/dist/tree/utils/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Gv = Object.defineProperty;
|
|
2
2
|
var Fv = (r, a, e) => a in r ? Gv(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e;
|
|
3
3
|
var f = (r, a, e) => (Fv(r, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
|
-
var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), B = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(B || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), Qe = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Qe || {}), et = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(et || {}), gt = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(gt || {}),
|
|
4
|
+
var n = /* @__PURE__ */ ((r) => (r.DefinitionEntity = "definition-entity", r.BuiltInBaseEntity = "built-in-base-entity", r.Project = "project", r.InstalledProject = "installed-project", r.GlobalEvent = "global-event", r.DataType = "data-type", r.FunctionCall = "function-call", r.FunctionDeclaration = "function-declaration", r.ActionDescriptor = "action-descriptor", r.ValueDescriptor = "value-descriptor", r.ArgumentDeclaration = "argument-declaration", r.InputMap = "input-map", r.ReturnStatement = "return-statement", r.BreakStatement = "break-statement", r.ContinueStatement = "continue-statement", r.ReturnDeclaration = "return-declaration", r.OutputMap = "output-map", r.PrimitiveEntity = "primitive-entity", r.LiteralValue = "literal-value", r.Property = "property", r.Operation = "operation", r.Condition = "condition", r.VariableDeclaration = "variable-declaration", r.VariableInstance = "variable-instance", r.Search = "search", r.Loop = "loop", r.InternalCall = "internal-call", r.GenericReference = "generic-reference", r))(n || {}), Y = /* @__PURE__ */ ((r) => (r.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", r.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", r.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", r.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", r.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", r.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", r))(Y || {}), Tt = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Tt || {}), B = /* @__PURE__ */ ((r) => (r.EntityTemplate = "entity-template", r.ActionDescriptor = "action-descriptor", r.String = "string", r.Number = "number", r.Boolean = "boolean", r.Null = "null", r.Enum = "enum", r.KeyValue = "key-value", r.Date = "date", r.UUID = "uuid", r.File = "file", r.Untyped = "untyped", r))(B || {}), it = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(it || {}), ke = /* @__PURE__ */ ((r) => (r.Join = "string-join", r.Split = "string-split", r.DeleteLast = "string-delete-last", r.DeleteFirst = "string-delete-first", r.DeleteIndex = "string-delete-index", r.AddIndex = "string-add-index", r.ReplaceFirst = "string-replace-first", r.ReplaceLast = "string-replace-last", r.ReplaceIndex = "string-replace-index", r.ReplaceSingleMatch = "string-replace-single-match", r.ReplaceAllMatches = "string-replace-all-matches", r.GetIndex = "string-get-index", r.GetFirst = "string-get-first", r.GetLast = "string-get-last", r.Append = "string-append", r.Prepend = "string-prepend", r))(ke || {}), he = /* @__PURE__ */ ((r) => (r.Join = "list-join", r.Split = "list-split", r.DeleteLast = "list-delete-last", r.DeleteFirst = "list-delete-first", r.DeleteIndex = "list-delete-index", r.AddIndex = "list-add-index", r.ReplaceFirst = "list-replace-first", r.ReplaceLast = "list-replace-last", r.ReplaceIndex = "list-replace-index", r.ReplaceSingleMatch = "list-replace-single-match", r.ReplaceAllMatches = "list-replace-all-matches", r.GetIndex = "list-get-index", r.GetFirst = "list-get-first", r.GetLast = "list-get-last", r.Append = "list-append", r.Prepend = "list-prepend", r))(he || {}), Qe = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(Qe || {}), et = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(et || {}), gt = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(gt || {}), ct = /* @__PURE__ */ ((r) => (r.Equal = "equal", r.NotEqual = "not-equal", r.And = "and", r.Or = "or", r.LessThan = "less-than", r.MoreThan = "more-than", r.LessThanOrEqual = "less-than-or-equal", r.MoreThanOrEqual = "more-than-or-equal", r))(ct || {}), _i = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(_i || {}), ee = /* @__PURE__ */ ((r) => (r.ManualFlow = "manual-flow-loop", r.Counted = "counted-loop", r.List = "list-loop", r.ObjectKeys = "object-keys-loop", r.ObjectValues = "object-values-loop", r.String = "string-loop", r))(ee || {}), N = /* @__PURE__ */ ((r) => (r.FixedArguments = "fixed-arguments", r.FixedReturns = "fixed-returns", r.ReturnedError = "returned-error", r.OngoingProcessExecution = "ongoing-process-execution", r.DynamicArgument = "dynamic-argument-types", r.DynamicReturn = "dynamic-return-types", r))(N || {}), wt = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(wt || {}), mr = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(mr || {}), Ii = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Ii || {}), Rs = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Rs || {});
|
|
5
5
|
const $r = [
|
|
6
6
|
n.VariableDeclaration,
|
|
7
7
|
n.VariableInstance,
|
|
@@ -78,7 +78,7 @@ const $r = [
|
|
|
78
78
|
], dt = [
|
|
79
79
|
...gl,
|
|
80
80
|
n.InternalCall
|
|
81
|
-
],
|
|
81
|
+
], nt = [
|
|
82
82
|
n.FunctionDeclaration,
|
|
83
83
|
...Js
|
|
84
84
|
], ar = [
|
|
@@ -93,17 +93,17 @@ const $r = [
|
|
|
93
93
|
n.ContinueStatement
|
|
94
94
|
], Qi = [
|
|
95
95
|
...dt,
|
|
96
|
-
...
|
|
96
|
+
...nt
|
|
97
97
|
], Jv = [
|
|
98
98
|
...gl,
|
|
99
|
-
...
|
|
100
|
-
], $q = [...ar, ...
|
|
99
|
+
...nt
|
|
100
|
+
], $q = [...ar, ...nt], Gq = [
|
|
101
101
|
...Kp,
|
|
102
|
-
...
|
|
103
|
-
],
|
|
104
|
-
...
|
|
102
|
+
...nt
|
|
103
|
+
], ft = [
|
|
104
|
+
...nt,
|
|
105
105
|
n.Loop
|
|
106
|
-
],
|
|
106
|
+
], lt = [
|
|
107
107
|
n.ReturnStatement,
|
|
108
108
|
n.BreakStatement,
|
|
109
109
|
n.ContinueStatement
|
|
@@ -644,8 +644,8 @@ const g = {
|
|
|
644
644
|
}
|
|
645
645
|
},
|
|
646
646
|
[n.Condition]: {
|
|
647
|
-
[
|
|
648
|
-
id:
|
|
647
|
+
[ct.MoreThanOrEqual]: {
|
|
648
|
+
id: ct.MoreThanOrEqual,
|
|
649
649
|
inputs: {
|
|
650
650
|
leftHand: {
|
|
651
651
|
id: "condition-more-than-or-equal-left-hand-input-id",
|
|
@@ -7145,7 +7145,7 @@ const nA = {
|
|
|
7145
7145
|
id: "more-than-or-equal-condition-left-hand-argument-parent-ref",
|
|
7146
7146
|
version: "1",
|
|
7147
7147
|
entityType: n.ActionDescriptor,
|
|
7148
|
-
entityId:
|
|
7148
|
+
entityId: ct.MoreThanOrEqual
|
|
7149
7149
|
}, _1 = {
|
|
7150
7150
|
id: Sn.inputs.leftHand.id,
|
|
7151
7151
|
type: n.ValueDescriptor,
|
|
@@ -7195,7 +7195,7 @@ const nA = {
|
|
|
7195
7195
|
id: "more-than-or-equal-condition-right-hand-argument-parent-ref",
|
|
7196
7196
|
version: "1",
|
|
7197
7197
|
entityType: n.ActionDescriptor,
|
|
7198
|
-
entityId:
|
|
7198
|
+
entityId: ct.MoreThanOrEqual
|
|
7199
7199
|
}, U1 = {
|
|
7200
7200
|
id: Sn.inputs.rightHand.id,
|
|
7201
7201
|
type: n.ValueDescriptor,
|
|
@@ -7214,13 +7214,13 @@ const nA = {
|
|
|
7214
7214
|
parent: N1
|
|
7215
7215
|
}, ea = {
|
|
7216
7216
|
type: n.ActionDescriptor,
|
|
7217
|
-
id:
|
|
7217
|
+
id: ct.MoreThanOrEqual,
|
|
7218
7218
|
version: "1",
|
|
7219
7219
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
7220
7220
|
author: "1",
|
|
7221
7221
|
previousVersion: null,
|
|
7222
7222
|
deleted: !1,
|
|
7223
|
-
name:
|
|
7223
|
+
name: ct.MoreThanOrEqual,
|
|
7224
7224
|
description: "Checks if the value is not empty",
|
|
7225
7225
|
parent: null,
|
|
7226
7226
|
inputs: [
|
|
@@ -7230,7 +7230,7 @@ const nA = {
|
|
|
7230
7230
|
outputs: [],
|
|
7231
7231
|
error: null
|
|
7232
7232
|
}, j1 = {
|
|
7233
|
-
[
|
|
7233
|
+
[ct.MoreThanOrEqual]: ea
|
|
7234
7234
|
}, L1 = {
|
|
7235
7235
|
...w1,
|
|
7236
7236
|
...j1
|
|
@@ -24969,8 +24969,8 @@ var Tm = { exports: {} };
|
|
|
24969
24969
|
if (!Q && Ie.length > 1)
|
|
24970
24970
|
return ye(Ie[0]);
|
|
24971
24971
|
} else {
|
|
24972
|
-
var
|
|
24973
|
-
q[
|
|
24972
|
+
var ot = te.name;
|
|
24973
|
+
q[ot] = te, Q = ot;
|
|
24974
24974
|
}
|
|
24975
24975
|
return !le && Q && (Z = Q), Q || !le && Z;
|
|
24976
24976
|
}, X = function(ye, te) {
|
|
@@ -24999,8 +24999,8 @@ var Tm = { exports: {} };
|
|
|
24999
24999
|
if (typeof Q == "string" && !/Z$/i.test(Q)) {
|
|
25000
25000
|
var Ie = Q.match(V);
|
|
25001
25001
|
if (Ie) {
|
|
25002
|
-
var
|
|
25003
|
-
return Ee ? new Date(Date.UTC(Ie[1],
|
|
25002
|
+
var ot = Ie[2] - 1 || 0, At = (Ie[7] || "0").substring(0, 3);
|
|
25003
|
+
return Ee ? new Date(Date.UTC(Ie[1], ot, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At)) : new Date(Ie[1], ot, Ie[3] || 1, Ie[4] || 0, Ie[5] || 0, Ie[6] || 0, At);
|
|
25004
25004
|
}
|
|
25005
25005
|
}
|
|
25006
25006
|
return new Date(Q);
|
|
@@ -25026,7 +25026,7 @@ var Tm = { exports: {} };
|
|
|
25026
25026
|
}, te.valueOf = function() {
|
|
25027
25027
|
return this.$d.getTime();
|
|
25028
25028
|
}, te.startOf = function(z, le) {
|
|
25029
|
-
var Q = this, Ee = !!ae.u(le) || le, Ie = ae.p(z),
|
|
25029
|
+
var Q = this, Ee = !!ae.u(le) || le, Ie = ae.p(z), ot = function(Lr, ei) {
|
|
25030
25030
|
var cr = ae.w(Q.$u ? Date.UTC(Q.$y, ei, Lr) : new Date(Q.$y, ei, Lr), Q);
|
|
25031
25031
|
return Ee ? cr : cr.endOf(u);
|
|
25032
25032
|
}, At = function(Lr, ei) {
|
|
@@ -25034,12 +25034,12 @@ var Tm = { exports: {} };
|
|
|
25034
25034
|
}, Ot = this.$W, Ut = this.$M, Ti = this.$D, Bn = "set" + (this.$u ? "UTC" : "");
|
|
25035
25035
|
switch (Ie) {
|
|
25036
25036
|
case E:
|
|
25037
|
-
return Ee ?
|
|
25037
|
+
return Ee ? ot(1, 0) : ot(31, 11);
|
|
25038
25038
|
case c:
|
|
25039
|
-
return Ee ?
|
|
25039
|
+
return Ee ? ot(1, Ut) : ot(0, Ut + 1);
|
|
25040
25040
|
case h:
|
|
25041
25041
|
var jr = this.$locale().weekStart || 0, Ts = (Ot < jr ? Ot + 7 : Ot) - jr;
|
|
25042
|
-
return
|
|
25042
|
+
return ot(Ee ? Ti - Ts : Ti + (6 - Ts), Ut);
|
|
25043
25043
|
case u:
|
|
25044
25044
|
case R:
|
|
25045
25045
|
return At(Bn + "Hours", 0);
|
|
@@ -25055,12 +25055,12 @@ var Tm = { exports: {} };
|
|
|
25055
25055
|
}, te.endOf = function(z) {
|
|
25056
25056
|
return this.startOf(z, !1);
|
|
25057
25057
|
}, te.$set = function(z, le) {
|
|
25058
|
-
var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""),
|
|
25058
|
+
var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""), ot = (Q = {}, Q[u] = Ie + "Date", Q[R] = Ie + "Date", Q[c] = Ie + "Month", Q[E] = Ie + "FullYear", Q[d] = Ie + "Hours", Q[o] = Ie + "Minutes", Q[l] = Ie + "Seconds", Q[s] = Ie + "Milliseconds", Q)[Ee], At = Ee === u ? this.$D + (le - this.$W) : le;
|
|
25059
25059
|
if (Ee === c || Ee === E) {
|
|
25060
25060
|
var Ot = this.clone().set(R, 1);
|
|
25061
|
-
Ot.$d[
|
|
25061
|
+
Ot.$d[ot](At), Ot.init(), this.$d = Ot.set(R, Math.min(this.$D, Ot.daysInMonth())).$d;
|
|
25062
25062
|
} else
|
|
25063
|
-
|
|
25063
|
+
ot && this.$d[ot](At);
|
|
25064
25064
|
return this.init(), this;
|
|
25065
25065
|
}, te.set = function(z, le) {
|
|
25066
25066
|
return this.clone().$set(z, le);
|
|
@@ -25069,7 +25069,7 @@ var Tm = { exports: {} };
|
|
|
25069
25069
|
}, te.add = function(z, le) {
|
|
25070
25070
|
var Q, Ee = this;
|
|
25071
25071
|
z = Number(z);
|
|
25072
|
-
var Ie = ae.p(le),
|
|
25072
|
+
var Ie = ae.p(le), ot = function(Ut) {
|
|
25073
25073
|
var Ti = X(Ee);
|
|
25074
25074
|
return ae.w(Ti.date(Ti.date() + Math.round(Ut * z)), Ee);
|
|
25075
25075
|
};
|
|
@@ -25078,9 +25078,9 @@ var Tm = { exports: {} };
|
|
|
25078
25078
|
if (Ie === E)
|
|
25079
25079
|
return this.set(E, this.$y + z);
|
|
25080
25080
|
if (Ie === u)
|
|
25081
|
-
return
|
|
25081
|
+
return ot(1);
|
|
25082
25082
|
if (Ie === h)
|
|
25083
|
-
return
|
|
25083
|
+
return ot(7);
|
|
25084
25084
|
var At = (Q = {}, Q[o] = t, Q[d] = i, Q[l] = e, Q)[Ie] || 1, Ot = this.$d.getTime() + z * At;
|
|
25085
25085
|
return ae.w(Ot, this);
|
|
25086
25086
|
}, te.subtract = function(z, le) {
|
|
@@ -25089,10 +25089,10 @@ var Tm = { exports: {} };
|
|
|
25089
25089
|
var le = this, Q = this.$locale();
|
|
25090
25090
|
if (!this.isValid())
|
|
25091
25091
|
return Q.invalidDate || O;
|
|
25092
|
-
var Ee = z || "YYYY-MM-DDTHH:mm:ssZ", Ie = ae.z(this),
|
|
25092
|
+
var Ee = z || "YYYY-MM-DDTHH:mm:ssZ", Ie = ae.z(this), ot = this.$H, At = this.$m, Ot = this.$M, Ut = Q.weekdays, Ti = Q.months, Bn = Q.meridiem, jr = function(ei, cr, Es, Da) {
|
|
25093
25093
|
return ei && (ei[cr] || ei(le, Ee)) || Es[cr].slice(0, Da);
|
|
25094
25094
|
}, Ts = function(ei) {
|
|
25095
|
-
return ae.s(
|
|
25095
|
+
return ae.s(ot % 12 || 12, ei, "0");
|
|
25096
25096
|
}, Lr = Bn || function(ei, cr, Es) {
|
|
25097
25097
|
var Da = ei < 12 ? "AM" : "PM";
|
|
25098
25098
|
return Es ? Da.toLowerCase() : Da;
|
|
@@ -25125,17 +25125,17 @@ var Tm = { exports: {} };
|
|
|
25125
25125
|
case "dddd":
|
|
25126
25126
|
return Ut[le.$W];
|
|
25127
25127
|
case "H":
|
|
25128
|
-
return String(
|
|
25128
|
+
return String(ot);
|
|
25129
25129
|
case "HH":
|
|
25130
|
-
return ae.s(
|
|
25130
|
+
return ae.s(ot, 2, "0");
|
|
25131
25131
|
case "h":
|
|
25132
25132
|
return Ts(1);
|
|
25133
25133
|
case "hh":
|
|
25134
25134
|
return Ts(2);
|
|
25135
25135
|
case "a":
|
|
25136
|
-
return Lr(
|
|
25136
|
+
return Lr(ot, At, !0);
|
|
25137
25137
|
case "A":
|
|
25138
|
-
return Lr(
|
|
25138
|
+
return Lr(ot, At, !1);
|
|
25139
25139
|
case "m":
|
|
25140
25140
|
return String(At);
|
|
25141
25141
|
case "mm":
|
|
@@ -25155,10 +25155,10 @@ var Tm = { exports: {} };
|
|
|
25155
25155
|
}, te.utcOffset = function() {
|
|
25156
25156
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
25157
25157
|
}, te.diff = function(z, le, Q) {
|
|
25158
|
-
var Ee, Ie = this,
|
|
25158
|
+
var Ee, Ie = this, ot = ae.p(le), At = X(z), Ot = (At.utcOffset() - this.utcOffset()) * t, Ut = this - At, Ti = function() {
|
|
25159
25159
|
return ae.m(Ie, At);
|
|
25160
25160
|
};
|
|
25161
|
-
switch (
|
|
25161
|
+
switch (ot) {
|
|
25162
25162
|
case E:
|
|
25163
25163
|
Ee = Ti() / 12;
|
|
25164
25164
|
break;
|
|
@@ -25746,8 +25746,8 @@ function H8() {
|
|
|
25746
25746
|
}
|
|
25747
25747
|
function K8() {
|
|
25748
25748
|
return m.object({
|
|
25749
|
-
calledBySuccess: m.array(
|
|
25750
|
-
calledByError: m.array(
|
|
25749
|
+
calledBySuccess: m.array(st()),
|
|
25750
|
+
calledByError: m.array(st()),
|
|
25751
25751
|
calledByEntry: m.array(Dt()),
|
|
25752
25752
|
declaration: xi(),
|
|
25753
25753
|
inputs: m.array(Bi()),
|
|
@@ -25819,8 +25819,8 @@ function Q8() {
|
|
|
25819
25819
|
}
|
|
25820
25820
|
function e6() {
|
|
25821
25821
|
return m.object({
|
|
25822
|
-
calledBySuccess: m.array(
|
|
25823
|
-
calledByError: m.array(
|
|
25822
|
+
calledBySuccess: m.array(st()),
|
|
25823
|
+
calledByError: m.array(st()),
|
|
25824
25824
|
calledByEntry: m.array(Dt()),
|
|
25825
25825
|
outputs: m.array(tr()),
|
|
25826
25826
|
throws: m.optional(tr()),
|
|
@@ -25884,8 +25884,8 @@ function r6() {
|
|
|
25884
25884
|
}
|
|
25885
25885
|
function n6() {
|
|
25886
25886
|
return m.object({
|
|
25887
|
-
calledBySuccess: m.array(
|
|
25888
|
-
calledByError: m.array(
|
|
25887
|
+
calledBySuccess: m.array(st()),
|
|
25888
|
+
calledByError: m.array(st()),
|
|
25889
25889
|
calledByEntry: m.array(Dt()),
|
|
25890
25890
|
outputs: m.array(tr()),
|
|
25891
25891
|
throws: m.optional(tr()),
|
|
@@ -26013,8 +26013,8 @@ function p6() {
|
|
|
26013
26013
|
}
|
|
26014
26014
|
function c6() {
|
|
26015
26015
|
return m.object({
|
|
26016
|
-
calledBySuccess: m.array(
|
|
26017
|
-
calledByError: m.array(
|
|
26016
|
+
calledBySuccess: m.array(st()),
|
|
26017
|
+
calledByError: m.array(st()),
|
|
26018
26018
|
calledByEntry: m.array(Dt()),
|
|
26019
26019
|
outputs: m.array(tr()),
|
|
26020
26020
|
throws: m.optional(tr()),
|
|
@@ -26076,7 +26076,7 @@ function m6() {
|
|
|
26076
26076
|
Rn()
|
|
26077
26077
|
]),
|
|
26078
26078
|
parent: m.union([
|
|
26079
|
-
|
|
26079
|
+
st(),
|
|
26080
26080
|
Yi(),
|
|
26081
26081
|
pr()
|
|
26082
26082
|
])
|
|
@@ -26141,8 +26141,8 @@ function I6() {
|
|
|
26141
26141
|
return m.object({
|
|
26142
26142
|
successCalls: m.array(Ct()),
|
|
26143
26143
|
errorCalls: m.array(Ct()),
|
|
26144
|
-
calledBySuccess: m.array(
|
|
26145
|
-
calledByError: m.array(
|
|
26144
|
+
calledBySuccess: m.array(st()),
|
|
26145
|
+
calledByError: m.array(st()),
|
|
26146
26146
|
calledByEntry: m.array(Dt()),
|
|
26147
26147
|
writesValues: m.array(_r()),
|
|
26148
26148
|
declaration: mi(),
|
|
@@ -26160,14 +26160,14 @@ function A6() {
|
|
|
26160
26160
|
}
|
|
26161
26161
|
function b6() {
|
|
26162
26162
|
return m.enum([
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
|
|
26170
|
-
|
|
26163
|
+
ct.Equal,
|
|
26164
|
+
ct.NotEqual,
|
|
26165
|
+
ct.MoreThan,
|
|
26166
|
+
ct.MoreThanOrEqual,
|
|
26167
|
+
ct.LessThan,
|
|
26168
|
+
ct.LessThanOrEqual,
|
|
26169
|
+
ct.And,
|
|
26170
|
+
ct.Or,
|
|
26171
26171
|
_i.Empty,
|
|
26172
26172
|
_i.NotEmpty
|
|
26173
26173
|
]);
|
|
@@ -26227,8 +26227,8 @@ function O6() {
|
|
|
26227
26227
|
return m.object({
|
|
26228
26228
|
successCalls: m.array(Ct()),
|
|
26229
26229
|
errorCalls: m.array(Ct()),
|
|
26230
|
-
calledBySuccess: m.array(
|
|
26231
|
-
calledByError: m.array(
|
|
26230
|
+
calledBySuccess: m.array(st()),
|
|
26231
|
+
calledByError: m.array(st()),
|
|
26232
26232
|
calledByEntry: m.array(Dt()),
|
|
26233
26233
|
leftValue: Bi(),
|
|
26234
26234
|
rightValue: Bi().nullable(),
|
|
@@ -26303,8 +26303,8 @@ function C6() {
|
|
|
26303
26303
|
return m.object({
|
|
26304
26304
|
successCalls: m.array(Ct()),
|
|
26305
26305
|
errorCalls: m.array(Ct()),
|
|
26306
|
-
calledBySuccess: m.array(
|
|
26307
|
-
calledByError: m.array(
|
|
26306
|
+
calledBySuccess: m.array(st()),
|
|
26307
|
+
calledByError: m.array(st()),
|
|
26308
26308
|
calledByEntry: m.array(Dt()),
|
|
26309
26309
|
inputsDeclarations: m.array(Vn()),
|
|
26310
26310
|
inputs: m.array(Bi()),
|
|
@@ -26377,8 +26377,8 @@ function N6() {
|
|
|
26377
26377
|
return m.object({
|
|
26378
26378
|
successCalls: m.array(Ct()),
|
|
26379
26379
|
errorCalls: m.array(Ct()),
|
|
26380
|
-
calledBySuccess: m.array(
|
|
26381
|
-
calledByError: m.array(
|
|
26380
|
+
calledBySuccess: m.array(st()),
|
|
26381
|
+
calledByError: m.array(st()),
|
|
26382
26382
|
calledByEntry: m.array(Dt()),
|
|
26383
26383
|
writesValues: m.array(_r()),
|
|
26384
26384
|
declaration: mi(),
|
|
@@ -26452,7 +26452,7 @@ function x6() {
|
|
|
26452
26452
|
declaration: m.union([Vn(), Rn()]).nullable(),
|
|
26453
26453
|
readsValue: Wo().nullable(),
|
|
26454
26454
|
parent: m.union([
|
|
26455
|
-
|
|
26455
|
+
st(),
|
|
26456
26456
|
go(),
|
|
26457
26457
|
Yi(),
|
|
26458
26458
|
pr()
|
|
@@ -26522,8 +26522,8 @@ function g6() {
|
|
|
26522
26522
|
m.object({
|
|
26523
26523
|
successCalls: m.array(Ct()),
|
|
26524
26524
|
errorCalls: m.array(Ct()),
|
|
26525
|
-
calledBySuccess: m.array(
|
|
26526
|
-
calledByError: m.array(
|
|
26525
|
+
calledBySuccess: m.array(st()),
|
|
26526
|
+
calledByError: m.array(st()),
|
|
26527
26527
|
calledByEntry: m.array(Dt()),
|
|
26528
26528
|
writesValues: m.array(_r()),
|
|
26529
26529
|
declaration: xi(),
|
|
@@ -26850,8 +26850,8 @@ function u3() {
|
|
|
26850
26850
|
successCalls: m.array(Ct()),
|
|
26851
26851
|
errorCalls: m.array(Ct()),
|
|
26852
26852
|
internalCalls: m.array(Ta()),
|
|
26853
|
-
calledBySuccess: m.array(
|
|
26854
|
-
calledByError: m.array(
|
|
26853
|
+
calledBySuccess: m.array(st()),
|
|
26854
|
+
calledByError: m.array(st()),
|
|
26855
26855
|
calledByEntry: m.array(Dt()),
|
|
26856
26856
|
parent: m.union([
|
|
26857
26857
|
Mr(),
|
|
@@ -26928,8 +26928,8 @@ function y3() {
|
|
|
26928
26928
|
successCalls: m.array(Ct()),
|
|
26929
26929
|
errorCalls: m.array(Ct()),
|
|
26930
26930
|
internalCalls: m.array(Ta()),
|
|
26931
|
-
calledBySuccess: m.array(
|
|
26932
|
-
calledByError: m.array(
|
|
26931
|
+
calledBySuccess: m.array(st()),
|
|
26932
|
+
calledByError: m.array(st()),
|
|
26933
26933
|
calledByEntry: m.array(Dt()),
|
|
26934
26934
|
parent: m.union([
|
|
26935
26935
|
Mr(),
|
|
@@ -27128,7 +27128,7 @@ function Gu() {
|
|
|
27128
27128
|
as()
|
|
27129
27129
|
]);
|
|
27130
27130
|
}
|
|
27131
|
-
function
|
|
27131
|
+
function st() {
|
|
27132
27132
|
return m.union([
|
|
27133
27133
|
fs(),
|
|
27134
27134
|
ha(),
|
|
@@ -27169,7 +27169,7 @@ function C3() {
|
|
|
27169
27169
|
}
|
|
27170
27170
|
function Ct() {
|
|
27171
27171
|
return m.union([
|
|
27172
|
-
|
|
27172
|
+
st(),
|
|
27173
27173
|
ds(),
|
|
27174
27174
|
pr(),
|
|
27175
27175
|
ls()
|
|
@@ -27211,7 +27211,7 @@ function Xq() {
|
|
|
27211
27211
|
}
|
|
27212
27212
|
function Qq() {
|
|
27213
27213
|
return m.union([
|
|
27214
|
-
|
|
27214
|
+
st(),
|
|
27215
27215
|
Dt()
|
|
27216
27216
|
]);
|
|
27217
27217
|
}
|
|
@@ -27268,7 +27268,7 @@ function oW() {
|
|
|
27268
27268
|
}
|
|
27269
27269
|
function lW() {
|
|
27270
27270
|
return m.union([
|
|
27271
|
-
|
|
27271
|
+
st(),
|
|
27272
27272
|
Dt()
|
|
27273
27273
|
]);
|
|
27274
27274
|
}
|
|
@@ -29168,7 +29168,7 @@ function j0(r, a) {
|
|
|
29168
29168
|
const i = Ft(Je(r)).filter(
|
|
29169
29169
|
(s) => s.type === n.VariableDeclaration
|
|
29170
29170
|
);
|
|
29171
|
-
e.push(...i), r.parent && (
|
|
29171
|
+
e.push(...i), r.parent && (ft.includes(r.parent.type) || r.parent.type === n.Project) && e.push(
|
|
29172
29172
|
...j0(
|
|
29173
29173
|
r.parent
|
|
29174
29174
|
)
|
|
@@ -29269,21 +29269,21 @@ function AW(r) {
|
|
|
29269
29269
|
}
|
|
29270
29270
|
function fl(r) {
|
|
29271
29271
|
switch (r.declaration.id) {
|
|
29272
|
-
case
|
|
29272
|
+
case ct.Equal:
|
|
29273
29273
|
return "is equal to";
|
|
29274
|
-
case
|
|
29274
|
+
case ct.NotEqual:
|
|
29275
29275
|
return "is not equal to";
|
|
29276
|
-
case
|
|
29276
|
+
case ct.MoreThan:
|
|
29277
29277
|
return "is greater than";
|
|
29278
|
-
case
|
|
29278
|
+
case ct.MoreThanOrEqual:
|
|
29279
29279
|
return "is greater than or equal to";
|
|
29280
|
-
case
|
|
29280
|
+
case ct.LessThan:
|
|
29281
29281
|
return "is less than";
|
|
29282
|
-
case
|
|
29282
|
+
case ct.LessThanOrEqual:
|
|
29283
29283
|
return "is less than or equal to";
|
|
29284
|
-
case
|
|
29284
|
+
case ct.And:
|
|
29285
29285
|
return "and";
|
|
29286
|
-
case
|
|
29286
|
+
case ct.Or:
|
|
29287
29287
|
return "or";
|
|
29288
29288
|
case _i.Empty:
|
|
29289
29289
|
return "is empty";
|
|
@@ -30103,7 +30103,7 @@ ${ln}`, e.push(
|
|
|
30103
30103
|
const t = bt(r, {}, a);
|
|
30104
30104
|
return e.push(...t.errors), e;
|
|
30105
30105
|
}
|
|
30106
|
-
class
|
|
30106
|
+
class at {
|
|
30107
30107
|
constructor(a) {
|
|
30108
30108
|
f(this, "version");
|
|
30109
30109
|
f(this, "previousVersion", null);
|
|
@@ -30512,7 +30512,7 @@ function OW(r) {
|
|
|
30512
30512
|
]);
|
|
30513
30513
|
}
|
|
30514
30514
|
var r7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r.DataTypeEntity = "data-type-entity", r))(r7 || {});
|
|
30515
|
-
const Ae = class Ae extends
|
|
30515
|
+
const Ae = class Ae extends at {
|
|
30516
30516
|
constructor(e, t) {
|
|
30517
30517
|
super(e);
|
|
30518
30518
|
f(this, "initialData");
|
|
@@ -30628,7 +30628,7 @@ const Ae = class Ae extends st {
|
|
|
30628
30628
|
return s.push(
|
|
30629
30629
|
...l,
|
|
30630
30630
|
...o,
|
|
30631
|
-
...
|
|
30631
|
+
...ut(i)
|
|
30632
30632
|
), {
|
|
30633
30633
|
errors: s,
|
|
30634
30634
|
modifiedData: i
|
|
@@ -31012,7 +31012,7 @@ ${jl}`,
|
|
|
31012
31012
|
"meta-sync"
|
|
31013
31013
|
)
|
|
31014
31014
|
)) {
|
|
31015
|
-
const i =
|
|
31015
|
+
const i = pt(this, e), s = this.toMeta();
|
|
31016
31016
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.abstract = e.abstract !== void 0 ? e.abstract : s.abstract, this.private = e.private !== void 0 ? e.private : s.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.static = e.static !== void 0 ? e.static : s.static, this.hidden = e.hidden !== void 0 ? e.hidden : s.hidden, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
31017
31017
|
}
|
|
31018
31018
|
async APILoad(e = j, ...t) {
|
|
@@ -31518,7 +31518,7 @@ const wW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
31518
31518
|
validate: q0
|
|
31519
31519
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
31520
31520
|
var n7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r.DataTypeEntity = "data-type-entity", r))(n7 || {});
|
|
31521
|
-
const be = class be extends
|
|
31521
|
+
const be = class be extends at {
|
|
31522
31522
|
constructor(e, t) {
|
|
31523
31523
|
super(e);
|
|
31524
31524
|
f(this, "initialData");
|
|
@@ -31689,7 +31689,7 @@ ${Jp}`,
|
|
|
31689
31689
|
}
|
|
31690
31690
|
} else if (h && h.type === n.ReturnStatement) {
|
|
31691
31691
|
const c = h.parent;
|
|
31692
|
-
if (c &&
|
|
31692
|
+
if (c && nt.includes(c.type)) {
|
|
31693
31693
|
const T = c.implements;
|
|
31694
31694
|
if (T) {
|
|
31695
31695
|
const E = T.outputs.find(
|
|
@@ -31743,7 +31743,7 @@ ${x}`,
|
|
|
31743
31743
|
return s.push(
|
|
31744
31744
|
...l.errors,
|
|
31745
31745
|
...o,
|
|
31746
|
-
...
|
|
31746
|
+
...ut(i)
|
|
31747
31747
|
), {
|
|
31748
31748
|
errors: s,
|
|
31749
31749
|
modifiedData: i
|
|
@@ -32165,7 +32165,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
32165
32165
|
"meta-sync"
|
|
32166
32166
|
)
|
|
32167
32167
|
)) {
|
|
32168
|
-
const i =
|
|
32168
|
+
const i = pt(this, e), s = this.toMeta();
|
|
32169
32169
|
return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.required = e.required !== void 0 ? e.required : this.required, this.isError = e.isError !== void 0 ? e.isError : this.isError, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
32170
32170
|
}
|
|
32171
32171
|
async APILoad(e = j, ...t) {
|
|
@@ -32757,7 +32757,7 @@ const VW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
32757
32757
|
validate: z0
|
|
32758
32758
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32759
32759
|
var Y0 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(Y0 || {});
|
|
32760
|
-
const xe = class xe extends
|
|
32760
|
+
const xe = class xe extends at {
|
|
32761
32761
|
constructor(e, t) {
|
|
32762
32762
|
super(e);
|
|
32763
32763
|
f(this, "initialData");
|
|
@@ -32874,7 +32874,7 @@ const xe = class xe extends st {
|
|
|
32874
32874
|
);
|
|
32875
32875
|
return i = l.modifiedData, s.push(
|
|
32876
32876
|
...l.errors,
|
|
32877
|
-
...
|
|
32877
|
+
...ut(i)
|
|
32878
32878
|
), {
|
|
32879
32879
|
errors: s,
|
|
32880
32880
|
modifiedData: i
|
|
@@ -33317,7 +33317,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
33317
33317
|
"meta-sync"
|
|
33318
33318
|
)
|
|
33319
33319
|
)) {
|
|
33320
|
-
const i =
|
|
33320
|
+
const i = pt(this, e), s = this.toMeta();
|
|
33321
33321
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
33322
33322
|
}
|
|
33323
33323
|
async APILoad(e = j, ...t) {
|
|
@@ -33731,7 +33731,7 @@ f(xe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["outputs", "throws"]), f(xe, "INMUTABLE_
|
|
|
33731
33731
|
]);
|
|
33732
33732
|
let Gt = xe;
|
|
33733
33733
|
var up = /* @__PURE__ */ ((r) => (r.Parent = "return-statement-parent", r))(up || {});
|
|
33734
|
-
const Xe = class Xe extends
|
|
33734
|
+
const Xe = class Xe extends at {
|
|
33735
33735
|
constructor(e, t) {
|
|
33736
33736
|
super(e);
|
|
33737
33737
|
f(this, "initialData");
|
|
@@ -33829,7 +33829,7 @@ const Xe = class Xe extends st {
|
|
|
33829
33829
|
{
|
|
33830
33830
|
parent: {
|
|
33831
33831
|
list: !1,
|
|
33832
|
-
types:
|
|
33832
|
+
types: ft
|
|
33833
33833
|
}
|
|
33834
33834
|
// calledByEntry: {
|
|
33835
33835
|
// list: true,
|
|
@@ -33848,7 +33848,7 @@ const Xe = class Xe extends st {
|
|
|
33848
33848
|
);
|
|
33849
33849
|
return i = l.modifiedData, s.push(
|
|
33850
33850
|
...l.errors,
|
|
33851
|
-
...
|
|
33851
|
+
...ut(i)
|
|
33852
33852
|
// ...callerReferencesValidation.errors
|
|
33853
33853
|
), {
|
|
33854
33854
|
errors: s,
|
|
@@ -34294,7 +34294,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
34294
34294
|
"meta-sync"
|
|
34295
34295
|
)
|
|
34296
34296
|
)) {
|
|
34297
|
-
const i =
|
|
34297
|
+
const i = pt(this, e), s = this.toMeta();
|
|
34298
34298
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
34299
34299
|
}
|
|
34300
34300
|
async APILoad(e = j, ...t) {
|
|
@@ -34763,7 +34763,7 @@ f(Xe, "repository", {
|
|
|
34763
34763
|
APILoad: async (e, ...t) => null,
|
|
34764
34764
|
APILoadVersion: async (e, t, ...i) => null
|
|
34765
34765
|
}), f(Xe, "type", n.ReturnStatement), f(Xe, "USER_MANAGED_PARENT_TYPES", [
|
|
34766
|
-
...
|
|
34766
|
+
...ft
|
|
34767
34767
|
]), f(Xe, "PARENT_TYPES", [
|
|
34768
34768
|
...Xe.USER_MANAGED_PARENT_TYPES
|
|
34769
34769
|
]), f(Xe, "MUTABLE_BASE_PROPERTIES", []), f(Xe, "INMUTABLE_BASE_PROPERTIES", [
|
|
@@ -34848,7 +34848,7 @@ const CW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
34848
34848
|
validate: H0
|
|
34849
34849
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34850
34850
|
var o7 = /* @__PURE__ */ ((r) => (r.Implements = "implements", r))(o7 || {});
|
|
34851
|
-
const Re = class Re extends
|
|
34851
|
+
const Re = class Re extends at {
|
|
34852
34852
|
constructor(e, t) {
|
|
34853
34853
|
super(e);
|
|
34854
34854
|
f(this, "initialData");
|
|
@@ -35066,7 +35066,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
35066
35066
|
), s.push(
|
|
35067
35067
|
...l.errors,
|
|
35068
35068
|
...o,
|
|
35069
|
-
...
|
|
35069
|
+
...ut(i)
|
|
35070
35070
|
), {
|
|
35071
35071
|
errors: s,
|
|
35072
35072
|
modifiedData: i
|
|
@@ -35506,7 +35506,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
35506
35506
|
"meta-sync"
|
|
35507
35507
|
)
|
|
35508
35508
|
)) {
|
|
35509
|
-
const i =
|
|
35509
|
+
const i = pt(this, e), s = this.toMeta();
|
|
35510
35510
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.private = e.private !== void 0 ? e.private : this.private, this.index = e.index || (e.index !== 0 ? s.index : 0), this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
35511
35511
|
}
|
|
35512
35512
|
async APILoad(e = j, ...t) {
|
|
@@ -36181,7 +36181,7 @@ function l7(r, a) {
|
|
|
36181
36181
|
return e;
|
|
36182
36182
|
}
|
|
36183
36183
|
var S0 = /* @__PURE__ */ ((r) => (r.Entity = "entity", r))(S0 || {});
|
|
36184
|
-
const De = class De extends
|
|
36184
|
+
const De = class De extends at {
|
|
36185
36185
|
constructor(e, t) {
|
|
36186
36186
|
super(e);
|
|
36187
36187
|
f(this, "initialData");
|
|
@@ -36289,7 +36289,7 @@ const De = class De extends st {
|
|
|
36289
36289
|
const s = [], l = l7(i, t);
|
|
36290
36290
|
if (s.push(
|
|
36291
36291
|
...l,
|
|
36292
|
-
...
|
|
36292
|
+
...ut(i)
|
|
36293
36293
|
), i.entity) {
|
|
36294
36294
|
const h = t.get(i.entity);
|
|
36295
36295
|
if (h.type === n.DefinitionEntity) {
|
|
@@ -36755,7 +36755,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
36755
36755
|
"meta-sync"
|
|
36756
36756
|
)
|
|
36757
36757
|
)) {
|
|
36758
|
-
const i =
|
|
36758
|
+
const i = pt(this, e), s = this.toMeta();
|
|
36759
36759
|
return this.options = e.options || s.options, this.parentRelationType = e.parentRelationType || s.parentRelationType, this.isList = e.isList !== void 0 ? e.isList : s.isList, this.inferred = e.inferred !== void 0 ? e.inferred : s.inferred, this.like = e.like !== void 0 ? e.like : s.like, this.asType = e.asType !== void 0 ? e.asType : s.asType, this.implementationChooseOne = e.implementationChooseOne !== void 0 ? e.implementationChooseOne : s.implementationChooseOne, this.staticEntities = e.staticEntities !== void 0 ? e.staticEntities : s.staticEntities, this.interactiveEntities = e.interactiveEntities !== void 0 ? e.interactiveEntities : s.interactiveEntities, this.actionEntities = e.actionEntities !== void 0 ? e.actionEntities : s.actionEntities, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
36760
36760
|
}
|
|
36761
36761
|
async APILoad(e = j, ...t) {
|
|
@@ -37479,7 +37479,7 @@ const MW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37479
37479
|
validate: X0
|
|
37480
37480
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
37481
37481
|
var u7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(u7 || {});
|
|
37482
|
-
const Oe = class Oe extends
|
|
37482
|
+
const Oe = class Oe extends at {
|
|
37483
37483
|
constructor(e, t) {
|
|
37484
37484
|
super(e);
|
|
37485
37485
|
f(this, "initialData");
|
|
@@ -37598,7 +37598,7 @@ const Oe = class Oe extends st {
|
|
|
37598
37598
|
{
|
|
37599
37599
|
parent: {
|
|
37600
37600
|
list: !1,
|
|
37601
|
-
types: [...
|
|
37601
|
+
types: [...ft, n.Project],
|
|
37602
37602
|
optional: !0
|
|
37603
37603
|
}
|
|
37604
37604
|
// calledByEntry: {
|
|
@@ -37622,7 +37622,7 @@ const Oe = class Oe extends st {
|
|
|
37622
37622
|
);
|
|
37623
37623
|
i = l.modifiedData, s.push(
|
|
37624
37624
|
...l.errors,
|
|
37625
|
-
...
|
|
37625
|
+
...ut(i)
|
|
37626
37626
|
);
|
|
37627
37627
|
const o = _(
|
|
37628
37628
|
i.declaration
|
|
@@ -38279,7 +38279,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38279
38279
|
"meta-sync"
|
|
38280
38280
|
)
|
|
38281
38281
|
)) {
|
|
38282
|
-
const i =
|
|
38282
|
+
const i = pt(this, e), s = this.toMeta();
|
|
38283
38283
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
38284
38284
|
}
|
|
38285
38285
|
async APILoad(e = j, ...t) {
|
|
@@ -38941,7 +38941,7 @@ f(Oe, "repository", {
|
|
|
38941
38941
|
APILoad: async (e, ...t) => null,
|
|
38942
38942
|
APILoadVersion: async (e, t, ...i) => null
|
|
38943
38943
|
}), f(Oe, "type", n.Operation), f(Oe, "USER_MANAGED_PARENT_TYPES", [
|
|
38944
|
-
...
|
|
38944
|
+
...ft,
|
|
38945
38945
|
n.Project
|
|
38946
38946
|
]), f(Oe, "PARENT_TYPES", [
|
|
38947
38947
|
...Oe.USER_MANAGED_PARENT_TYPES
|
|
@@ -39002,7 +39002,7 @@ function Q0(r) {
|
|
|
39002
39002
|
const BW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39003
39003
|
__proto__: null,
|
|
39004
39004
|
validate: Q0
|
|
39005
|
-
}, Symbol.toStringTag, { value: "Module" })), we = class we extends
|
|
39005
|
+
}, Symbol.toStringTag, { value: "Module" })), we = class we extends at {
|
|
39006
39006
|
constructor(e, t) {
|
|
39007
39007
|
super(e);
|
|
39008
39008
|
f(this, "initialData");
|
|
@@ -39110,7 +39110,7 @@ const BW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39110
39110
|
);
|
|
39111
39111
|
if (i = l.modifiedData, s.push(
|
|
39112
39112
|
...l.errors,
|
|
39113
|
-
...
|
|
39113
|
+
...ut(i)
|
|
39114
39114
|
), !e.implements)
|
|
39115
39115
|
s.push(
|
|
39116
39116
|
new w({
|
|
@@ -39581,7 +39581,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
39581
39581
|
"meta-sync"
|
|
39582
39582
|
)
|
|
39583
39583
|
)) {
|
|
39584
|
-
const i =
|
|
39584
|
+
const i = pt(this, e), s = this.toMeta();
|
|
39585
39585
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.collapsed = e.collapsed !== void 0 ? e.collapsed : s.collapsed, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
39586
39586
|
}
|
|
39587
39587
|
async APILoad(e = j, ...t) {
|
|
@@ -40024,7 +40024,7 @@ const NW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40024
40024
|
validate: ev
|
|
40025
40025
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
40026
40026
|
var tv = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(tv || {});
|
|
40027
|
-
const $e = class $e extends
|
|
40027
|
+
const $e = class $e extends at {
|
|
40028
40028
|
constructor(e, t) {
|
|
40029
40029
|
super(e);
|
|
40030
40030
|
f(this, "initialData");
|
|
@@ -40141,7 +40141,7 @@ const $e = class $e extends st {
|
|
|
40141
40141
|
);
|
|
40142
40142
|
return i = l.modifiedData, s.push(
|
|
40143
40143
|
...l.errors,
|
|
40144
|
-
...
|
|
40144
|
+
...ut(i)
|
|
40145
40145
|
), {
|
|
40146
40146
|
errors: s,
|
|
40147
40147
|
modifiedData: i
|
|
@@ -40580,7 +40580,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
40580
40580
|
"meta-sync"
|
|
40581
40581
|
)
|
|
40582
40582
|
)) {
|
|
40583
|
-
const i =
|
|
40583
|
+
const i = pt(this, e), s = this.toMeta();
|
|
40584
40584
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
40585
40585
|
}
|
|
40586
40586
|
async APILoad(e = j, ...t) {
|
|
@@ -41019,7 +41019,7 @@ const jW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41019
41019
|
validate: iv
|
|
41020
41020
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41021
41021
|
var c7 = /* @__PURE__ */ ((r) => (r.Success = "success", r.Error = "error", r.Break = "break", r.Continue = "continue", r.Return = "return", r))(c7 || {});
|
|
41022
|
-
const Pe = class Pe extends
|
|
41022
|
+
const Pe = class Pe extends at {
|
|
41023
41023
|
constructor(e, t) {
|
|
41024
41024
|
super(e);
|
|
41025
41025
|
f(this, "initialData");
|
|
@@ -41165,7 +41165,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
41165
41165
|
}
|
|
41166
41166
|
return s.push(
|
|
41167
41167
|
...l.errors,
|
|
41168
|
-
...
|
|
41168
|
+
...ut(i)
|
|
41169
41169
|
), {
|
|
41170
41170
|
errors: s,
|
|
41171
41171
|
modifiedData: i
|
|
@@ -41545,7 +41545,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41545
41545
|
"meta-sync"
|
|
41546
41546
|
)
|
|
41547
41547
|
)) {
|
|
41548
|
-
const i =
|
|
41548
|
+
const i = pt(this, e), s = this.toMeta();
|
|
41549
41549
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
41550
41550
|
}
|
|
41551
41551
|
async APILoad(e = j, ...t) {
|
|
@@ -42489,7 +42489,7 @@ f(Pe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["inputs", "outputs"]), f(Pe, "INMUTABLE_
|
|
|
42489
42489
|
]);
|
|
42490
42490
|
let We = Pe;
|
|
42491
42491
|
var f7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(f7 || {});
|
|
42492
|
-
const oe = class oe extends
|
|
42492
|
+
const oe = class oe extends at {
|
|
42493
42493
|
constructor(e, t) {
|
|
42494
42494
|
super(e);
|
|
42495
42495
|
f(this, "initialData");
|
|
@@ -42618,7 +42618,7 @@ const oe = class oe extends st {
|
|
|
42618
42618
|
{
|
|
42619
42619
|
parent: {
|
|
42620
42620
|
list: !1,
|
|
42621
|
-
types: [...
|
|
42621
|
+
types: [...ft, n.Project],
|
|
42622
42622
|
optional: !0
|
|
42623
42623
|
},
|
|
42624
42624
|
// calledByEntry: {
|
|
@@ -42642,7 +42642,7 @@ const oe = class oe extends st {
|
|
|
42642
42642
|
);
|
|
42643
42643
|
return i = l.modifiedData, s.push(
|
|
42644
42644
|
...l.errors,
|
|
42645
|
-
...
|
|
42645
|
+
...ut(i)
|
|
42646
42646
|
), e.declaration ? t.get(
|
|
42647
42647
|
e.declaration
|
|
42648
42648
|
) ? t.conditionDeclarations.find(
|
|
@@ -43336,7 +43336,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43336
43336
|
"meta-sync"
|
|
43337
43337
|
)
|
|
43338
43338
|
)) {
|
|
43339
|
-
const i =
|
|
43339
|
+
const i = pt(this, e), s = this.toMeta();
|
|
43340
43340
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
43341
43341
|
}
|
|
43342
43342
|
async APILoad(e = j, ...t) {
|
|
@@ -43828,10 +43828,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43828
43828
|
}
|
|
43829
43829
|
// The return statements, don't belong to the loop itself, but to the parent scope entity
|
|
43830
43830
|
addReturnStatement(e) {
|
|
43831
|
-
return
|
|
43831
|
+
return nt.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
|
|
43832
43832
|
}
|
|
43833
43833
|
removeReturnStatement(e) {
|
|
43834
|
-
return
|
|
43834
|
+
return nt.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
|
|
43835
43835
|
}
|
|
43836
43836
|
addBreakStatement(e) {
|
|
43837
43837
|
return this.breakStatements.includes(e) || this.breakStatements.push(e), this;
|
|
@@ -45325,7 +45325,7 @@ f(oe, "repository", {
|
|
|
45325
45325
|
APILoad: async (e, ...t) => null,
|
|
45326
45326
|
APILoadVersion: async (e, t, ...i) => null
|
|
45327
45327
|
}), f(oe, "type", n.Loop), f(oe, "USER_MANAGED_PARENT_TYPES", [
|
|
45328
|
-
...
|
|
45328
|
+
...ft,
|
|
45329
45329
|
n.Project
|
|
45330
45330
|
]), f(oe, "PARENT_TYPES", [
|
|
45331
45331
|
...We.USER_MANAGED_PARENT_TYPES
|
|
@@ -45387,7 +45387,7 @@ const LW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
45387
45387
|
validate: rv
|
|
45388
45388
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
45389
45389
|
var h7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(h7 || {});
|
|
45390
|
-
const Ge = class Ge extends
|
|
45390
|
+
const Ge = class Ge extends at {
|
|
45391
45391
|
constructor(e, t) {
|
|
45392
45392
|
super(e);
|
|
45393
45393
|
f(this, "initialData");
|
|
@@ -45503,7 +45503,7 @@ const Ge = class Ge extends st {
|
|
|
45503
45503
|
{
|
|
45504
45504
|
parent: {
|
|
45505
45505
|
list: !1,
|
|
45506
|
-
types: [...
|
|
45506
|
+
types: [...ft, n.Project],
|
|
45507
45507
|
optional: !0
|
|
45508
45508
|
}
|
|
45509
45509
|
// calledByEntry: {
|
|
@@ -45523,7 +45523,7 @@ const Ge = class Ge extends st {
|
|
|
45523
45523
|
);
|
|
45524
45524
|
return i = l.modifiedData, s.push(
|
|
45525
45525
|
...l.errors,
|
|
45526
|
-
...
|
|
45526
|
+
...ut(i)
|
|
45527
45527
|
), e.declaration ? t.get(
|
|
45528
45528
|
e.declaration
|
|
45529
45529
|
) ? t.conditionDeclarations.find(
|
|
@@ -46101,7 +46101,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
46101
46101
|
"meta-sync"
|
|
46102
46102
|
)
|
|
46103
46103
|
)) {
|
|
46104
|
-
const i =
|
|
46104
|
+
const i = pt(this, e), s = this.toMeta();
|
|
46105
46105
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
46106
46106
|
}
|
|
46107
46107
|
async APILoad(e = j, ...t) {
|
|
@@ -46572,7 +46572,7 @@ f(Ge, "repository", {
|
|
|
46572
46572
|
APILoad: async (e, ...t) => null,
|
|
46573
46573
|
APILoadVersion: async (e, t, ...i) => null
|
|
46574
46574
|
}), f(Ge, "type", n.Condition), f(Ge, "USER_MANAGED_PARENT_TYPES", [
|
|
46575
|
-
...
|
|
46575
|
+
...ft,
|
|
46576
46576
|
n.Project
|
|
46577
46577
|
]), f(Ge, "PARENT_TYPES", [
|
|
46578
46578
|
...Ge.USER_MANAGED_PARENT_TYPES
|
|
@@ -46683,7 +46683,7 @@ const $W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
46683
46683
|
validate: sv
|
|
46684
46684
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
46685
46685
|
var av = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.DataTypeEntity = "data-type-entity", r.VarDeclaration = "var-declaration", r))(av || {});
|
|
46686
|
-
const Ve = class Ve extends
|
|
46686
|
+
const Ve = class Ve extends at {
|
|
46687
46687
|
constructor(e, t) {
|
|
46688
46688
|
super(e);
|
|
46689
46689
|
f(this, "initialData");
|
|
@@ -46818,7 +46818,7 @@ const Ve = class Ve extends st {
|
|
|
46818
46818
|
{
|
|
46819
46819
|
parent: {
|
|
46820
46820
|
list: !1,
|
|
46821
|
-
types: [...
|
|
46821
|
+
types: [...ft, n.Project],
|
|
46822
46822
|
optional: !0
|
|
46823
46823
|
},
|
|
46824
46824
|
// calledByEntry: {
|
|
@@ -46846,7 +46846,7 @@ const Ve = class Ve extends st {
|
|
|
46846
46846
|
);
|
|
46847
46847
|
return i = l.modifiedData, s.push(
|
|
46848
46848
|
...l.errors,
|
|
46849
|
-
...
|
|
46849
|
+
...ut(i)
|
|
46850
46850
|
), {
|
|
46851
46851
|
errors: s,
|
|
46852
46852
|
modifiedData: i
|
|
@@ -47620,7 +47620,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47620
47620
|
"meta-sync"
|
|
47621
47621
|
)
|
|
47622
47622
|
)) {
|
|
47623
|
-
const i =
|
|
47623
|
+
const i = pt(this, e), s = this.toMeta();
|
|
47624
47624
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
47625
47625
|
}
|
|
47626
47626
|
async APILoad(e = j, ...t) {
|
|
@@ -48421,7 +48421,7 @@ f(Ve, "repository", {
|
|
|
48421
48421
|
APILoad: async (e, ...t) => null,
|
|
48422
48422
|
APILoadVersion: async (e, t, ...i) => null
|
|
48423
48423
|
}), f(Ve, "type", n.VariableInstance), f(Ve, "USER_MANAGED_PARENT_TYPES", [
|
|
48424
|
-
...
|
|
48424
|
+
...ft,
|
|
48425
48425
|
n.Project
|
|
48426
48426
|
]), f(Ve, "PARENT_TYPES", [
|
|
48427
48427
|
...Ve.USER_MANAGED_PARENT_TYPES
|
|
@@ -48473,7 +48473,7 @@ f(Ve, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
|
48473
48473
|
]);
|
|
48474
48474
|
let en = Ve;
|
|
48475
48475
|
var y7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.DataTypeEntity = "data-type-entity", r))(y7 || {});
|
|
48476
|
-
const Ce = class Ce extends
|
|
48476
|
+
const Ce = class Ce extends at {
|
|
48477
48477
|
constructor(e, t) {
|
|
48478
48478
|
super(e);
|
|
48479
48479
|
f(this, "initialData");
|
|
@@ -48618,7 +48618,7 @@ const Ce = class Ce extends st {
|
|
|
48618
48618
|
{
|
|
48619
48619
|
parent: {
|
|
48620
48620
|
list: !1,
|
|
48621
|
-
types: [...
|
|
48621
|
+
types: [...ft, n.Project],
|
|
48622
48622
|
optional: !0
|
|
48623
48623
|
}
|
|
48624
48624
|
// calledByEntry: {
|
|
@@ -48645,7 +48645,7 @@ const Ce = class Ce extends st {
|
|
|
48645
48645
|
return s.push(
|
|
48646
48646
|
...l.errors,
|
|
48647
48647
|
...o,
|
|
48648
|
-
...
|
|
48648
|
+
...ut(i)
|
|
48649
48649
|
), {
|
|
48650
48650
|
errors: s,
|
|
48651
48651
|
modifiedData: i
|
|
@@ -49544,7 +49544,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49544
49544
|
"meta-sync"
|
|
49545
49545
|
)
|
|
49546
49546
|
)) {
|
|
49547
|
-
const i =
|
|
49547
|
+
const i = pt(this, e), s = this.toMeta();
|
|
49548
49548
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.constant = e.constant !== void 0 ? e.constant : s.constant, this.required = e.required !== void 0 ? e.required : s.required, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
49549
49549
|
}
|
|
49550
49550
|
async APILoad(e = j, ...t) {
|
|
@@ -50425,7 +50425,7 @@ f(Ce, "repository", {
|
|
|
50425
50425
|
APILoad: async (e, ...t) => null,
|
|
50426
50426
|
APILoadVersion: async (e, t, ...i) => null
|
|
50427
50427
|
}), f(Ce, "type", n.VariableDeclaration), f(Ce, "USER_MANAGED_PARENT_TYPES", [
|
|
50428
|
-
...
|
|
50428
|
+
...ft,
|
|
50429
50429
|
n.Project
|
|
50430
50430
|
]), f(Ce, "PARENT_TYPES", [
|
|
50431
50431
|
...Ce.USER_MANAGED_PARENT_TYPES
|
|
@@ -50502,7 +50502,7 @@ const GW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
50502
50502
|
validate: ov
|
|
50503
50503
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50504
50504
|
var m7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r))(m7 || {});
|
|
50505
|
-
const qe = class qe extends
|
|
50505
|
+
const qe = class qe extends at {
|
|
50506
50506
|
constructor(e, t) {
|
|
50507
50507
|
super(e);
|
|
50508
50508
|
f(this, "initialData");
|
|
@@ -50628,7 +50628,7 @@ const qe = class qe extends st {
|
|
|
50628
50628
|
{
|
|
50629
50629
|
parent: {
|
|
50630
50630
|
list: !1,
|
|
50631
|
-
types: [...
|
|
50631
|
+
types: [...ft, n.Project],
|
|
50632
50632
|
optional: !0
|
|
50633
50633
|
}
|
|
50634
50634
|
},
|
|
@@ -50636,7 +50636,7 @@ const qe = class qe extends st {
|
|
|
50636
50636
|
);
|
|
50637
50637
|
return i = l.modifiedData, s.push(
|
|
50638
50638
|
...l.errors,
|
|
50639
|
-
...
|
|
50639
|
+
...ut(i)
|
|
50640
50640
|
), {
|
|
50641
50641
|
errors: s,
|
|
50642
50642
|
modifiedData: i
|
|
@@ -51277,7 +51277,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
51277
51277
|
"meta-sync"
|
|
51278
51278
|
)
|
|
51279
51279
|
)) {
|
|
51280
|
-
const i =
|
|
51280
|
+
const i = pt(this, e), s = this.toMeta();
|
|
51281
51281
|
return this.x = e.x || s.x, this.y = e.y || s.y, this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, e.query !== void 0 && (this.query = e.query), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
51282
51282
|
}
|
|
51283
51283
|
async APILoad(e = j, ...t) {
|
|
@@ -51889,7 +51889,7 @@ f(qe, "repository", {
|
|
|
51889
51889
|
APILoad: async (e, ...t) => null,
|
|
51890
51890
|
APILoadVersion: async (e, t, ...i) => null
|
|
51891
51891
|
}), f(qe, "type", n.Search), f(qe, "USER_MANAGED_PARENT_TYPES", [
|
|
51892
|
-
...
|
|
51892
|
+
...ft,
|
|
51893
51893
|
n.Project
|
|
51894
51894
|
]), f(qe, "PARENT_TYPES", [
|
|
51895
51895
|
...qe.USER_MANAGED_PARENT_TYPES
|
|
@@ -51947,7 +51947,7 @@ function lv(r) {
|
|
|
51947
51947
|
const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51948
51948
|
__proto__: null,
|
|
51949
51949
|
validate: lv
|
|
51950
|
-
}, Symbol.toStringTag, { value: "Module" })), Fe = class Fe extends
|
|
51950
|
+
}, Symbol.toStringTag, { value: "Module" })), Fe = class Fe extends at {
|
|
51951
51951
|
constructor(e, t) {
|
|
51952
51952
|
super(e);
|
|
51953
51953
|
f(this, "initialData");
|
|
@@ -52037,7 +52037,7 @@ const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
52037
52037
|
JSON.stringify(e)
|
|
52038
52038
|
);
|
|
52039
52039
|
const s = [];
|
|
52040
|
-
return s.push(...
|
|
52040
|
+
return s.push(...ut(i)), { errors: s, modifiedData: i };
|
|
52041
52041
|
}
|
|
52042
52042
|
validateGeneratedUpdate(e) {
|
|
52043
52043
|
const t = [];
|
|
@@ -52338,7 +52338,7 @@ const FW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
52338
52338
|
"meta-sync"
|
|
52339
52339
|
)
|
|
52340
52340
|
)) {
|
|
52341
|
-
const i =
|
|
52341
|
+
const i = pt(this, e), s = this.toMeta();
|
|
52342
52342
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
52343
52343
|
}
|
|
52344
52344
|
async APILoad(e = j, ...t) {
|
|
@@ -52828,7 +52828,7 @@ const gW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
52828
52828
|
validateParentRelation: uv
|
|
52829
52829
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
52830
52830
|
var v7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r))(v7 || {});
|
|
52831
|
-
const _e = class _e extends
|
|
52831
|
+
const _e = class _e extends at {
|
|
52832
52832
|
constructor(e, t) {
|
|
52833
52833
|
super(e);
|
|
52834
52834
|
f(this, "initialData");
|
|
@@ -53073,7 +53073,7 @@ The you can attach the new internal-call to it.`,
|
|
|
53073
53073
|
}
|
|
53074
53074
|
return s.push(
|
|
53075
53075
|
...l.errors,
|
|
53076
|
-
...
|
|
53076
|
+
...ut(i)
|
|
53077
53077
|
), {
|
|
53078
53078
|
errors: s,
|
|
53079
53079
|
modifiedData: i
|
|
@@ -53610,7 +53610,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
53610
53610
|
);
|
|
53611
53611
|
this.setParent(t, null), this.parent.initChildren(e), this.parent.addInternalCall(this);
|
|
53612
53612
|
const i = this.calledBy.find(
|
|
53613
|
-
(s) => !!s.parent &&
|
|
53613
|
+
(s) => !!s.parent && ft.includes(s.parent.type)
|
|
53614
53614
|
);
|
|
53615
53615
|
if (i) {
|
|
53616
53616
|
const s = P(
|
|
@@ -53702,7 +53702,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
53702
53702
|
"meta-sync"
|
|
53703
53703
|
)
|
|
53704
53704
|
)) {
|
|
53705
|
-
const i =
|
|
53705
|
+
const i = pt(this, e), s = this.toMeta();
|
|
53706
53706
|
return this.index = e.index || (e.index !== 0 ? s.index : 0), super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
53707
53707
|
}
|
|
53708
53708
|
async APILoad(e = j, ...t) {
|
|
@@ -54438,7 +54438,7 @@ const kW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
54438
54438
|
validate: pv
|
|
54439
54439
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
54440
54440
|
var T7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r.DataTypeEntity = "data-type-entity", r))(T7 || {});
|
|
54441
|
-
const Me = class Me extends
|
|
54441
|
+
const Me = class Me extends at {
|
|
54442
54442
|
constructor(e, t) {
|
|
54443
54443
|
super(e);
|
|
54444
54444
|
f(this, "initialData");
|
|
@@ -54697,7 +54697,7 @@ ${R}`,
|
|
|
54697
54697
|
}
|
|
54698
54698
|
return s.push(
|
|
54699
54699
|
...l.errors,
|
|
54700
|
-
...
|
|
54700
|
+
...ut(i)
|
|
54701
54701
|
), {
|
|
54702
54702
|
errors: s,
|
|
54703
54703
|
modifiedData: i
|
|
@@ -55109,7 +55109,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
55109
55109
|
"meta-sync"
|
|
55110
55110
|
)
|
|
55111
55111
|
)) {
|
|
55112
|
-
const i =
|
|
55112
|
+
const i = pt(this, e), s = this.toMeta();
|
|
55113
55113
|
return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
55114
55114
|
}
|
|
55115
55115
|
async APILoad(e = j, ...t) {
|
|
@@ -55596,7 +55596,7 @@ const qW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
55596
55596
|
validate: cv
|
|
55597
55597
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
55598
55598
|
var E7 = /* @__PURE__ */ ((r) => (r.Declaration = "declaration", r.DataTypeEntity = "data-type-entity", r))(E7 || {});
|
|
55599
|
-
const Be = class Be extends
|
|
55599
|
+
const Be = class Be extends at {
|
|
55600
55600
|
constructor(e, t) {
|
|
55601
55601
|
super(e);
|
|
55602
55602
|
f(this, "initialData");
|
|
@@ -55788,7 +55788,7 @@ You can't edit output-map entities as they need to match their return declaratio
|
|
|
55788
55788
|
}
|
|
55789
55789
|
return s.push(
|
|
55790
55790
|
...l.errors,
|
|
55791
|
-
...
|
|
55791
|
+
...ut(i)
|
|
55792
55792
|
), {
|
|
55793
55793
|
errors: s,
|
|
55794
55794
|
modifiedData: i
|
|
@@ -56191,7 +56191,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
56191
56191
|
"meta-sync"
|
|
56192
56192
|
)
|
|
56193
56193
|
)) {
|
|
56194
|
-
const i =
|
|
56194
|
+
const i = pt(this, e), s = this.toMeta();
|
|
56195
56195
|
return this.index = e.index || (e.index !== 0 ? s.index : 0), this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
56196
56196
|
}
|
|
56197
56197
|
async APILoad(e = j, ...t) {
|
|
@@ -56676,7 +56676,7 @@ const YW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
56676
56676
|
validate: fv
|
|
56677
56677
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
56678
56678
|
var I7 = /* @__PURE__ */ ((r) => (r.DataTypeEntity = "data-type-entity", r.Implements = "implements", r))(I7 || {});
|
|
56679
|
-
const Ne = class Ne extends
|
|
56679
|
+
const Ne = class Ne extends at {
|
|
56680
56680
|
constructor(e, t) {
|
|
56681
56681
|
super(e);
|
|
56682
56682
|
f(this, "initialData");
|
|
@@ -56787,7 +56787,7 @@ const Ne = class Ne extends st {
|
|
|
56787
56787
|
const d = t.get(
|
|
56788
56788
|
_(i.parent)
|
|
56789
56789
|
);
|
|
56790
|
-
if (d &&
|
|
56790
|
+
if (d && nt.includes(d.type)) {
|
|
56791
56791
|
const u = d.implements;
|
|
56792
56792
|
if (u) {
|
|
56793
56793
|
const h = u.inputs.find(
|
|
@@ -56852,7 +56852,7 @@ ${O}`,
|
|
|
56852
56852
|
return s.push(
|
|
56853
56853
|
...l.errors,
|
|
56854
56854
|
...o,
|
|
56855
|
-
...
|
|
56855
|
+
...ut(i)
|
|
56856
56856
|
), { errors: s, modifiedData: i };
|
|
56857
56857
|
}
|
|
56858
56858
|
get codeNativeValueValidation() {
|
|
@@ -57238,7 +57238,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
57238
57238
|
"meta-sync"
|
|
57239
57239
|
)
|
|
57240
57240
|
)) {
|
|
57241
|
-
const i =
|
|
57241
|
+
const i = pt(this, e), s = this.toMeta();
|
|
57242
57242
|
return this.index = e.index || (e.index !== 0 ? s.index : 0), this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.required = e.required !== void 0 ? e.required : this.required, this.constant = !0, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
57243
57243
|
}
|
|
57244
57244
|
async APILoad(e = j, ...t) {
|
|
@@ -57655,7 +57655,7 @@ f(Ne, "repository", {
|
|
|
57655
57655
|
},
|
|
57656
57656
|
APILoad: async (e, ...t) => null,
|
|
57657
57657
|
APILoadVersion: async (e, t, ...i) => null
|
|
57658
|
-
}), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...
|
|
57658
|
+
}), f(Ne, "type", n.ArgumentDeclaration), f(Ne, "USER_MANAGED_PARENT_TYPES", [...nt]), f(Ne, "PARENT_TYPES", [
|
|
57659
57659
|
...Ne.USER_MANAGED_PARENT_TYPES
|
|
57660
57660
|
]), f(Ne, "MUTABLE_BASE_PROPERTIES", [
|
|
57661
57661
|
"name",
|
|
@@ -57835,7 +57835,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57835
57835
|
return e;
|
|
57836
57836
|
}
|
|
57837
57837
|
var b7 = /* @__PURE__ */ ((r) => (r.ValueAsTypeSingle = "value-as-type-single", r.ValueAsTypeList = "value-as-type-list", r))(b7 || {});
|
|
57838
|
-
const Ue = class Ue extends
|
|
57838
|
+
const Ue = class Ue extends at {
|
|
57839
57839
|
constructor(e, t) {
|
|
57840
57840
|
super(e);
|
|
57841
57841
|
f(this, "initialData");
|
|
@@ -57925,7 +57925,7 @@ const Ue = class Ue extends st {
|
|
|
57925
57925
|
const s = [], l = A7(i, t);
|
|
57926
57926
|
return s.push(
|
|
57927
57927
|
...l,
|
|
57928
|
-
...
|
|
57928
|
+
...ut(i)
|
|
57929
57929
|
), {
|
|
57930
57930
|
errors: s,
|
|
57931
57931
|
modifiedData: i
|
|
@@ -58417,7 +58417,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
58417
58417
|
"meta-sync"
|
|
58418
58418
|
)
|
|
58419
58419
|
)) {
|
|
58420
|
-
const i =
|
|
58420
|
+
const i = pt(this, e), s = this.toMeta();
|
|
58421
58421
|
return this.name = e.name !== void 0 ? e.name : s.name, this.autogeneration = e.autogeneration !== void 0 ? e.autogeneration : s.autogeneration, this.value = e.value !== void 0 ? e.value : s.value, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
58422
58422
|
}
|
|
58423
58423
|
async APILoad(e = j, ...t) {
|
|
@@ -58809,7 +58809,7 @@ const KW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
58809
58809
|
validate: yv
|
|
58810
58810
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
58811
58811
|
var R7 = /* @__PURE__ */ ((r) => (r.DataTypeEntity = "data-type-entity", r))(R7 || {});
|
|
58812
|
-
const je = class je extends
|
|
58812
|
+
const je = class je extends at {
|
|
58813
58813
|
constructor(e, t) {
|
|
58814
58814
|
super(e);
|
|
58815
58815
|
f(this, "initialData");
|
|
@@ -58905,7 +58905,7 @@ const je = class je extends st {
|
|
|
58905
58905
|
);
|
|
58906
58906
|
i = l.modifiedData, s.push(
|
|
58907
58907
|
...l.errors,
|
|
58908
|
-
...
|
|
58908
|
+
...ut(i)
|
|
58909
58909
|
);
|
|
58910
58910
|
const o = i.parent && t.get(i.parent), d = o && pn(o);
|
|
58911
58911
|
return d && d.type === n.ActionDescriptor && s.push(
|
|
@@ -59245,7 +59245,7 @@ ${Si(
|
|
|
59245
59245
|
"meta-sync"
|
|
59246
59246
|
)
|
|
59247
59247
|
)) {
|
|
59248
|
-
const i =
|
|
59248
|
+
const i = pt(this, e), s = this.toMeta();
|
|
59249
59249
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.index = e.index || (e.index !== 0 ? s.index : 0), this.required = e.required !== void 0 ? e.required : this.required, this.parentRelationType = e.parentRelationType !== void 0 ? e.parentRelationType : this.parentRelationType, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
59250
59250
|
}
|
|
59251
59251
|
async APILoad(e = j, ...t) {
|
|
@@ -60059,7 +60059,7 @@ function XW(r, a) {
|
|
|
60059
60059
|
modifiedData: null,
|
|
60060
60060
|
messageAddition: ""
|
|
60061
60061
|
};
|
|
60062
|
-
if (
|
|
60062
|
+
if (nt.includes(a.type) ? r.calls && e.push(
|
|
60063
60063
|
new w({
|
|
60064
60064
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
60065
60065
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calls" updated.
|
|
@@ -60391,7 +60391,7 @@ function mv(r, a) {
|
|
|
60391
60391
|
})
|
|
60392
60392
|
);
|
|
60393
60393
|
}
|
|
60394
|
-
function
|
|
60394
|
+
function ut(r, a) {
|
|
60395
60395
|
const e = [], t = O7(r);
|
|
60396
60396
|
if (t) {
|
|
60397
60397
|
const s = t.safeParse(r);
|
|
@@ -60610,7 +60610,7 @@ All pass-through callable entities are: ${ne(
|
|
|
60610
60610
|
", ",
|
|
60611
60611
|
" and "
|
|
60612
60612
|
)}.`, Ho = `Entry point entities are the entities which start the execution of a logic chain. They are ${ne(
|
|
60613
|
-
|
|
60613
|
+
nt,
|
|
60614
60614
|
", ",
|
|
60615
60615
|
" and "
|
|
60616
60616
|
)}. They aren't explicitly called by any entities. Rather, they can be called implicitly by the system, or as a function-call somewhere else in the case of a function-declaration. `, w7 = `Caller entities are entities that can call other entities. Regarless of whether they are entry-point entities or pass-through callable entities. All caller entity types are: ${ne(
|
|
@@ -60703,7 +60703,7 @@ function V7(r, a) {
|
|
|
60703
60703
|
const e = JSON.parse(
|
|
60704
60704
|
JSON.stringify(r)
|
|
60705
60705
|
), t = [];
|
|
60706
|
-
if (
|
|
60706
|
+
if (nt.includes(a.type))
|
|
60707
60707
|
t.push(
|
|
60708
60708
|
new w({
|
|
60709
60709
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
@@ -60718,7 +60718,7 @@ We have moved the reference to 'calledByEntry' for you.`,
|
|
|
60718
60718
|
), e.calledByEntry.push(a.id), e.calledBySuccess = e.calledBySuccess.filter(
|
|
60719
60719
|
(i) => i !== a.id
|
|
60720
60720
|
);
|
|
60721
|
-
else if (
|
|
60721
|
+
else if (lt.includes(a.type)) {
|
|
60722
60722
|
const i = a.calledBy || [], s = i.length ? `
|
|
60723
60723
|
|
|
60724
60724
|
This ${a.type} is called by ${ne(
|
|
@@ -60736,7 +60736,7 @@ This ${a.type} is called by ${ne(
|
|
|
60736
60736
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledBySuccess' with id "${a.id}".
|
|
60737
60737
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60738
60738
|
Termination entities are ${ne(
|
|
60739
|
-
|
|
60739
|
+
lt,
|
|
60740
60740
|
", ",
|
|
60741
60741
|
" and "
|
|
60742
60742
|
)}.${s}`,
|
|
@@ -60775,7 +60775,7 @@ ${on}`,
|
|
|
60775
60775
|
}
|
|
60776
60776
|
function C7(r, a) {
|
|
60777
60777
|
const e = [];
|
|
60778
|
-
if (
|
|
60778
|
+
if (nt.includes(a.type))
|
|
60779
60779
|
e.push(
|
|
60780
60780
|
new w({
|
|
60781
60781
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
@@ -60787,7 +60787,7 @@ ${Ho}`,
|
|
|
60787
60787
|
issue: null
|
|
60788
60788
|
})
|
|
60789
60789
|
);
|
|
60790
|
-
else if (
|
|
60790
|
+
else if (lt.includes(a.type)) {
|
|
60791
60791
|
const t = a.calledBy || [], i = t.length ? `
|
|
60792
60792
|
|
|
60793
60793
|
This ${a.type} is called by ${ne(
|
|
@@ -60805,7 +60805,7 @@ This ${a.type} is called by ${ne(
|
|
|
60805
60805
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByError' with id "${a.id}".
|
|
60806
60806
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60807
60807
|
Termination entities are ${ne(
|
|
60808
|
-
|
|
60808
|
+
lt,
|
|
60809
60809
|
", ",
|
|
60810
60810
|
" and "
|
|
60811
60811
|
)}.${i}`,
|
|
@@ -60844,7 +60844,7 @@ ${on}`,
|
|
|
60844
60844
|
}
|
|
60845
60845
|
function _7(r, a) {
|
|
60846
60846
|
const e = [];
|
|
60847
|
-
if (
|
|
60847
|
+
if (lt.includes(a.type)) {
|
|
60848
60848
|
const t = a.calledBy || [], i = t.length ? `
|
|
60849
60849
|
|
|
60850
60850
|
This ${a.type} is called by ${ne(
|
|
@@ -60862,7 +60862,7 @@ This ${a.type} is called by ${ne(
|
|
|
60862
60862
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByEntry' with id "${a.id}".
|
|
60863
60863
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60864
60864
|
Termination entities are ${ne(
|
|
60865
|
-
|
|
60865
|
+
lt,
|
|
60866
60866
|
", ",
|
|
60867
60867
|
" and "
|
|
60868
60868
|
)}.${i}`,
|
|
@@ -60979,13 +60979,13 @@ function M7(r, a) {
|
|
|
60979
60979
|
})
|
|
60980
60980
|
);
|
|
60981
60981
|
const l = zt(t, a);
|
|
60982
|
-
t.type === n.ReturnStatement && l && !
|
|
60982
|
+
t.type === n.ReturnStatement && l && !nt.includes(l.type) ? e.push(
|
|
60983
60983
|
new w({
|
|
60984
60984
|
id: `${t.id}--${b.IncompatibleScope}`,
|
|
60985
60985
|
code: b.IncompatibleScope,
|
|
60986
60986
|
severity: D.Error,
|
|
60987
60987
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${ne(
|
|
60988
|
-
|
|
60988
|
+
nt,
|
|
60989
60989
|
"', '",
|
|
60990
60990
|
"' or '"
|
|
60991
60991
|
)}' entity. A return statement's parent should always be resolved to a function declaration or global event.${ml}`,
|
|
@@ -61030,10 +61030,10 @@ function M7(r, a) {
|
|
|
61030
61030
|
l,
|
|
61031
61031
|
T,
|
|
61032
61032
|
a
|
|
61033
|
-
) ? (
|
|
61033
|
+
) ? (lt.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
61034
61034
|
(R) => R === c.id
|
|
61035
61035
|
) ? (c.successCalls || []).find(
|
|
61036
|
-
(V) =>
|
|
61036
|
+
(V) => lt.includes(V.type)
|
|
61037
61037
|
) && e.push(
|
|
61038
61038
|
new w({
|
|
61039
61039
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61046,7 +61046,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
61046
61046
|
) : (t.calledByError || []).find(
|
|
61047
61047
|
(R) => R === c.id
|
|
61048
61048
|
) ? (c.errorCalls || []).find(
|
|
61049
|
-
(V) =>
|
|
61049
|
+
(V) => lt.includes(V.type)
|
|
61050
61050
|
) && e.push(
|
|
61051
61051
|
new w({
|
|
61052
61052
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61059,7 +61059,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
61059
61059
|
) : (t.calledByEntry || []).find(
|
|
61060
61060
|
(R) => R === c.id
|
|
61061
61061
|
) && (c.calls || []).find(
|
|
61062
|
-
(V) =>
|
|
61062
|
+
(V) => lt.includes(V.type)
|
|
61063
61063
|
) && e.push(
|
|
61064
61064
|
new w({
|
|
61065
61065
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61093,10 +61093,10 @@ The new termination statement is redundant because both entities would be called
|
|
|
61093
61093
|
T,
|
|
61094
61094
|
a
|
|
61095
61095
|
);
|
|
61096
|
-
E ? (
|
|
61096
|
+
E ? (lt.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
61097
61097
|
(R) => R === c.id
|
|
61098
61098
|
) ? (c.successCalls || []).find(
|
|
61099
|
-
(V) =>
|
|
61099
|
+
(V) => lt.includes(V.type)
|
|
61100
61100
|
) && e.push(
|
|
61101
61101
|
new w({
|
|
61102
61102
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61109,7 +61109,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
61109
61109
|
) : (t.calledByError || []).find(
|
|
61110
61110
|
(R) => R === c.id
|
|
61111
61111
|
) ? (c.errorCalls || []).find(
|
|
61112
|
-
(V) =>
|
|
61112
|
+
(V) => lt.includes(V.type)
|
|
61113
61113
|
) && e.push(
|
|
61114
61114
|
new w({
|
|
61115
61115
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61122,7 +61122,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
61122
61122
|
) : (t.calledByEntry || []).find(
|
|
61123
61123
|
(R) => R === c.id
|
|
61124
61124
|
) && (c.calls || []).find(
|
|
61125
|
-
(V) =>
|
|
61125
|
+
(V) => lt.includes(V.type)
|
|
61126
61126
|
) && e.push(
|
|
61127
61127
|
new w({
|
|
61128
61128
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
@@ -61172,13 +61172,13 @@ To add a caller, use the 'add_caller' action with the properties: 'callerEntityI
|
|
|
61172
61172
|
Return statements need to have a caller when created, since their purpose is to terminate a call chain.` : t.type === n.ContinueStatement ? s += `
|
|
61173
61173
|
Continue statements need to have a caller when created, since they are used to skip the rest of the current iteration of a loop and can't be detached from a call chain.` : t.type === n.BreakStatement && (s += `
|
|
61174
61174
|
Break statements need to have a caller when created, since they are used to exit a loop and can't be detached from a call chain.`), s += `
|
|
61175
|
-
${w7}`,
|
|
61175
|
+
${w7}`, lt.includes(t.type) || (s += `
|
|
61176
61176
|
It is recommended to have a caller reference already at the moment of creation in the payload of the generation action.`), e.push(
|
|
61177
61177
|
new w({
|
|
61178
61178
|
id: `${t.id}--${L.MissingCaller}`,
|
|
61179
61179
|
code: L.MissingCaller,
|
|
61180
61180
|
// If it is a termination statement, make it an error, otherwise a warning
|
|
61181
|
-
severity:
|
|
61181
|
+
severity: lt.includes(t.type) ? D.Error : D.Warning,
|
|
61182
61182
|
message: s,
|
|
61183
61183
|
issue: null
|
|
61184
61184
|
})
|
|
@@ -61490,9 +61490,9 @@ function rz(r, a, e = "calledBy") {
|
|
|
61490
61490
|
issue: null
|
|
61491
61491
|
})
|
|
61492
61492
|
), t;
|
|
61493
|
-
if ([...dt, ...
|
|
61493
|
+
if ([...dt, ...nt].includes(i.type))
|
|
61494
61494
|
return [];
|
|
61495
|
-
if (
|
|
61495
|
+
if (lt.includes(i.type)) {
|
|
61496
61496
|
const s = i.calledBy || [], l = s.length ? `
|
|
61497
61497
|
|
|
61498
61498
|
This ${i.type} is called by ${ne(
|
|
@@ -61510,7 +61510,7 @@ This ${i.type} is called by ${ne(
|
|
|
61510
61510
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
61511
61511
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
61512
61512
|
Termination entities are ${ne(
|
|
61513
|
-
|
|
61513
|
+
lt,
|
|
61514
61514
|
", ",
|
|
61515
61515
|
" and "
|
|
61516
61516
|
)}.${l}`,
|
|
@@ -61551,7 +61551,7 @@ function nz(r, a, e = "calledByError") {
|
|
|
61551
61551
|
), t;
|
|
61552
61552
|
if (dt.includes(i.type))
|
|
61553
61553
|
return [];
|
|
61554
|
-
if (
|
|
61554
|
+
if (lt.includes(i.type)) {
|
|
61555
61555
|
const s = i.calledBy || [], l = s.length ? `
|
|
61556
61556
|
|
|
61557
61557
|
This ${i.type} is called by ${ne(
|
|
@@ -61569,7 +61569,7 @@ This ${i.type} is called by ${ne(
|
|
|
61569
61569
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
61570
61570
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
61571
61571
|
Termination entities are ${ne(
|
|
61572
|
-
|
|
61572
|
+
lt,
|
|
61573
61573
|
", ",
|
|
61574
61574
|
" and "
|
|
61575
61575
|
)}.${l}`,
|
|
@@ -61577,7 +61577,7 @@ Termination entities are ${ne(
|
|
|
61577
61577
|
})
|
|
61578
61578
|
);
|
|
61579
61579
|
} else
|
|
61580
|
-
|
|
61580
|
+
nt.includes(i.type) ? t.push(
|
|
61581
61581
|
new w({
|
|
61582
61582
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61583
61583
|
code: b.InvalidReference,
|
|
@@ -62198,7 +62198,7 @@ const dz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
62198
62198
|
validate: bv
|
|
62199
62199
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
62200
62200
|
var L7 = /* @__PURE__ */ ((r) => (r.Parent = "parent", r.Declaration = "declaration", r))(L7 || {});
|
|
62201
|
-
const ge = class ge extends
|
|
62201
|
+
const ge = class ge extends at {
|
|
62202
62202
|
constructor(e, t) {
|
|
62203
62203
|
super(e);
|
|
62204
62204
|
f(this, "initialData");
|
|
@@ -62317,7 +62317,7 @@ const ge = class ge extends st {
|
|
|
62317
62317
|
{
|
|
62318
62318
|
parent: {
|
|
62319
62319
|
list: !1,
|
|
62320
|
-
types: [...
|
|
62320
|
+
types: [...ft, n.Project],
|
|
62321
62321
|
optional: !0
|
|
62322
62322
|
}
|
|
62323
62323
|
// calledByEntry: {
|
|
@@ -62341,7 +62341,7 @@ const ge = class ge extends st {
|
|
|
62341
62341
|
);
|
|
62342
62342
|
i = l.modifiedData, s.push(
|
|
62343
62343
|
...l.errors,
|
|
62344
|
-
...
|
|
62344
|
+
...ut(i)
|
|
62345
62345
|
);
|
|
62346
62346
|
const o = _(
|
|
62347
62347
|
i.declaration
|
|
@@ -63016,7 +63016,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63016
63016
|
"meta-sync"
|
|
63017
63017
|
)
|
|
63018
63018
|
)) {
|
|
63019
|
-
const i =
|
|
63019
|
+
const i = pt(this, e), s = this.toMeta();
|
|
63020
63020
|
return this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
63021
63021
|
}
|
|
63022
63022
|
async APILoad(e = j, ...t) {
|
|
@@ -63683,7 +63683,7 @@ f(ge, "repository", {
|
|
|
63683
63683
|
APILoad: async (e, ...t) => null,
|
|
63684
63684
|
APILoadVersion: async (e, t, ...i) => null
|
|
63685
63685
|
}), f(ge, "type", n.FunctionCall), f(ge, "USER_MANAGED_PARENT_TYPES", [
|
|
63686
|
-
...
|
|
63686
|
+
...ft,
|
|
63687
63687
|
n.Project
|
|
63688
63688
|
]), f(ge, "PARENT_TYPES", [
|
|
63689
63689
|
...ge.USER_MANAGED_PARENT_TYPES
|
|
@@ -64716,12 +64716,12 @@ function K(r, a) {
|
|
|
64716
64716
|
else if ((r.type === n.ContinueStatement || r.type === n.BreakStatement) && e.type !== n.Loop) {
|
|
64717
64717
|
r.remove({ ignoreUpstream: !1 }, a);
|
|
64718
64718
|
return;
|
|
64719
|
-
} else if (r.type === n.ReturnStatement && !
|
|
64719
|
+
} else if (r.type === n.ReturnStatement && !ft.includes(e.type)) {
|
|
64720
64720
|
r.remove({ ignoreUpstream: !1 }, a);
|
|
64721
64721
|
return;
|
|
64722
64722
|
} else
|
|
64723
64723
|
r.setParent(e, a), r.addSelfToProject(a);
|
|
64724
|
-
if (
|
|
64724
|
+
if (lt.includes(r.type))
|
|
64725
64725
|
return;
|
|
64726
64726
|
Je(r).forEach((l) => {
|
|
64727
64727
|
var d, u;
|
|
@@ -64731,7 +64731,7 @@ function K(r, a) {
|
|
|
64731
64731
|
else if ((l.type === n.ContinueStatement || l.type === n.BreakStatement) && o.type !== n.Loop) {
|
|
64732
64732
|
l.remove({ ignoreUpstream: !1 }, a);
|
|
64733
64733
|
return;
|
|
64734
|
-
} else if (l.type === n.ReturnStatement && !
|
|
64734
|
+
} else if (l.type === n.ReturnStatement && !ft.includes(o.type)) {
|
|
64735
64735
|
l.remove({ ignoreUpstream: !1 }, a);
|
|
64736
64736
|
return;
|
|
64737
64737
|
} else
|
|
@@ -64759,11 +64759,11 @@ function hz(r, a) {
|
|
|
64759
64759
|
return !!Zs(r, a).last;
|
|
64760
64760
|
}
|
|
64761
64761
|
function yz(r) {
|
|
64762
|
-
if (
|
|
64762
|
+
if (nt.includes(r.type))
|
|
64763
64763
|
return r;
|
|
64764
64764
|
if ([...ar, n.VariableDeclaration].includes(r.type)) {
|
|
64765
64765
|
const a = r.parent;
|
|
64766
|
-
return
|
|
64766
|
+
return nt.includes(a.type) ? a : null;
|
|
64767
64767
|
}
|
|
64768
64768
|
return null;
|
|
64769
64769
|
}
|
|
@@ -64857,7 +64857,7 @@ function mz(r) {
|
|
|
64857
64857
|
return r.type === n.VariableDeclaration ? [r] : dt.includes(r.type) ? [
|
|
64858
64858
|
...r.inputs,
|
|
64859
64859
|
...r.outputs || []
|
|
64860
|
-
] :
|
|
64860
|
+
] : lt.includes(r.type) ? r.outputs : Js.includes(r.type) || r.type === n.FunctionDeclaration ? r.inputs : [];
|
|
64861
64861
|
}
|
|
64862
64862
|
function vz(r) {
|
|
64863
64863
|
const a = un(r), e = [], t = [];
|
|
@@ -64896,7 +64896,7 @@ function wv(r) {
|
|
|
64896
64896
|
...Ft(
|
|
64897
64897
|
r.errorCalls
|
|
64898
64898
|
)
|
|
64899
|
-
] :
|
|
64899
|
+
] : nt.includes(r.type) ? Ft(
|
|
64900
64900
|
r.calls
|
|
64901
64901
|
) : [];
|
|
64902
64902
|
}
|
|
@@ -64960,7 +64960,7 @@ function Je(r) {
|
|
|
64960
64960
|
r.errorCalls
|
|
64961
64961
|
)
|
|
64962
64962
|
)
|
|
64963
|
-
]) :
|
|
64963
|
+
]) : nt.includes(r.type) ? p(
|
|
64964
64964
|
Pi(
|
|
64965
64965
|
Ft(
|
|
64966
64966
|
r.calls
|
|
@@ -64980,7 +64980,7 @@ function bz(r) {
|
|
|
64980
64980
|
r.errorCalls
|
|
64981
64981
|
)
|
|
64982
64982
|
)
|
|
64983
|
-
] :
|
|
64983
|
+
] : nt.includes(r.type) ? Pi(
|
|
64984
64984
|
Ft(
|
|
64985
64985
|
r.calls
|
|
64986
64986
|
)
|
|
@@ -65888,7 +65888,7 @@ function BJ(r) {
|
|
|
65888
65888
|
var a;
|
|
65889
65889
|
return r.type === n.FunctionCall ? ((a = r.declaration.returnStatements[0]) == null ? void 0 : a.outputs) || [] : [n.Operation, n.Condition, n.Loop].includes(
|
|
65890
65890
|
r.type
|
|
65891
|
-
) ? r.declaration.outputs : r.type === n.Search ? r.outputsDeclarations :
|
|
65891
|
+
) ? r.declaration.outputs : r.type === n.Search ? r.outputsDeclarations : lt.includes(r.type) ? r.outputs : [];
|
|
65892
65892
|
}
|
|
65893
65893
|
function wz(r, a) {
|
|
65894
65894
|
return a.type === n.Condition ? null : a.type === n.FunctionCall || a.type === n.Operation ? a.outputs.find((e) => e.declaration.id === r.id) : null;
|
|
@@ -65945,7 +65945,7 @@ function un(r, a = !1) {
|
|
|
65945
65945
|
...(r == null ? void 0 : r.functionCalls) || [],
|
|
65946
65946
|
...(r == null ? void 0 : r.events) || [],
|
|
65947
65947
|
...(r == null ? void 0 : r.projects) || []
|
|
65948
|
-
),
|
|
65948
|
+
), ft.includes(r.type) && e.push(
|
|
65949
65949
|
...(r == null ? void 0 : r.detachedChildren) || []
|
|
65950
65950
|
), r.type === n.DefinitionEntity) {
|
|
65951
65951
|
const t = [
|
|
@@ -66152,7 +66152,7 @@ function Bv(r) {
|
|
|
66152
66152
|
}
|
|
66153
66153
|
function GJ(r) {
|
|
66154
66154
|
if ([
|
|
66155
|
-
...
|
|
66155
|
+
...nt,
|
|
66156
66156
|
n.DefinitionEntity,
|
|
66157
66157
|
n.InstalledProject,
|
|
66158
66158
|
n.Project
|
|
@@ -66165,7 +66165,7 @@ function GJ(r) {
|
|
|
66165
66165
|
}
|
|
66166
66166
|
function Nv(r) {
|
|
66167
66167
|
return [
|
|
66168
|
-
...
|
|
66168
|
+
...nt,
|
|
66169
66169
|
n.DefinitionEntity,
|
|
66170
66170
|
n.InstalledProject,
|
|
66171
66171
|
n.Project
|
|
@@ -66265,49 +66265,55 @@ function el(r) {
|
|
|
66265
66265
|
return null;
|
|
66266
66266
|
}
|
|
66267
66267
|
}
|
|
66268
|
-
function zt(r, a) {
|
|
66269
|
-
const
|
|
66270
|
-
let
|
|
66268
|
+
function zt(r, a, e = null) {
|
|
66269
|
+
const t = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
|
|
66270
|
+
let i = t ? a.get(t) : null, s = e || r;
|
|
66271
66271
|
if (r.type === n.ReturnStatement)
|
|
66272
|
-
return Et(r, a);
|
|
66273
|
-
if (r.type === n.FunctionDeclaration && (
|
|
66274
|
-
return
|
|
66275
|
-
if (
|
|
66272
|
+
return Et(r, a, s);
|
|
66273
|
+
if (r.type === n.FunctionDeclaration && (i == null ? void 0 : i.type) === n.Loop)
|
|
66274
|
+
return i;
|
|
66275
|
+
if (nt.includes(r.type))
|
|
66276
66276
|
return r;
|
|
66277
|
+
if (r.type === n.Loop)
|
|
66278
|
+
return s.id === r.id ? i : r;
|
|
66277
66279
|
if (pi.includes(r.type))
|
|
66278
66280
|
return null;
|
|
66279
|
-
const
|
|
66280
|
-
if (!
|
|
66281
|
+
const l = r.parent;
|
|
66282
|
+
if (!l)
|
|
66281
66283
|
return null;
|
|
66282
|
-
if (
|
|
66283
|
-
const
|
|
66284
|
-
if (!
|
|
66284
|
+
if (l.type === n.GenericReference) {
|
|
66285
|
+
const o = _(l);
|
|
66286
|
+
if (!o)
|
|
66285
66287
|
return null;
|
|
66286
|
-
const
|
|
66287
|
-
return
|
|
66288
|
+
const d = a.get(o);
|
|
66289
|
+
return d ? zt(d, a, s) : null;
|
|
66288
66290
|
} else
|
|
66289
|
-
return
|
|
66291
|
+
return l === a ? a : zt(l, a, s);
|
|
66290
66292
|
}
|
|
66291
|
-
function Et(r, a) {
|
|
66292
|
-
const
|
|
66293
|
-
let
|
|
66294
|
-
if (r.type === n.FunctionDeclaration && (
|
|
66295
|
-
return Et(
|
|
66296
|
-
|
|
66293
|
+
function Et(r, a, e = null) {
|
|
66294
|
+
const t = r != null && r.parent ? _(r == null ? void 0 : r.parent) : null;
|
|
66295
|
+
let i = t ? a.get(t) : null, s = e || r;
|
|
66296
|
+
if (r.type === n.FunctionDeclaration && (i == null ? void 0 : i.type) === n.Loop)
|
|
66297
|
+
return Et(
|
|
66298
|
+
i.parent,
|
|
66299
|
+
a,
|
|
66300
|
+
s
|
|
66301
|
+
);
|
|
66302
|
+
if (nt.includes(r.type))
|
|
66297
66303
|
return r;
|
|
66298
66304
|
if (pi.includes(r.type))
|
|
66299
66305
|
return null;
|
|
66300
|
-
const
|
|
66301
|
-
if (!
|
|
66306
|
+
const l = r.parent;
|
|
66307
|
+
if (!l)
|
|
66302
66308
|
return null;
|
|
66303
|
-
if (
|
|
66304
|
-
const
|
|
66305
|
-
if (!
|
|
66309
|
+
if (l.type === n.GenericReference) {
|
|
66310
|
+
const o = _(l);
|
|
66311
|
+
if (!o)
|
|
66306
66312
|
return null;
|
|
66307
|
-
const
|
|
66308
|
-
return
|
|
66313
|
+
const d = a.get(o);
|
|
66314
|
+
return d ? Et(d, a, s) : null;
|
|
66309
66315
|
} else
|
|
66310
|
-
return
|
|
66316
|
+
return l === a ? a : Et(l, a, s);
|
|
66311
66317
|
}
|
|
66312
66318
|
function Uv(r, a) {
|
|
66313
66319
|
if (pi.includes(r.type) || a.getBuiltIn(r.id))
|
|
@@ -66316,7 +66322,7 @@ function Uv(r, a) {
|
|
|
66316
66322
|
r.parent,
|
|
66317
66323
|
a
|
|
66318
66324
|
);
|
|
66319
|
-
return e ? e === a ?
|
|
66325
|
+
return e ? e === a ? ft.includes(r.type) ? r : null : e.type === n.DefinitionEntity ? r : Uv(e, a) : null;
|
|
66320
66326
|
}
|
|
66321
66327
|
function $l(r, a, e) {
|
|
66322
66328
|
if (r === a || a === e || r === e)
|
|
@@ -66485,7 +66491,7 @@ function Ua(r) {
|
|
|
66485
66491
|
[
|
|
66486
66492
|
...s.successCalls || []
|
|
66487
66493
|
].forEach((d) => {
|
|
66488
|
-
|
|
66494
|
+
lt.includes(d.type) && d !== r && (Je(
|
|
66489
66495
|
r
|
|
66490
66496
|
).find((c) => c === d) || t(s, d));
|
|
66491
66497
|
});
|
|
@@ -66502,7 +66508,7 @@ function Ua(r) {
|
|
|
66502
66508
|
[
|
|
66503
66509
|
...s.errorCalls || []
|
|
66504
66510
|
].forEach((d) => {
|
|
66505
|
-
|
|
66511
|
+
lt.includes(d.type) && d !== r && (Je(
|
|
66506
66512
|
r
|
|
66507
66513
|
).find((c) => c === d) || t(s, d));
|
|
66508
66514
|
});
|
|
@@ -66517,7 +66523,7 @@ function Ua(r) {
|
|
|
66517
66523
|
}
|
|
66518
66524
|
}), r.calledByEntry.forEach((s) => {
|
|
66519
66525
|
if ([...s.calls || []].forEach((d) => {
|
|
66520
|
-
|
|
66526
|
+
lt.includes(d.type) && d !== r && (Je(
|
|
66521
66527
|
r
|
|
66522
66528
|
).find((c) => c === d) || t(s, d));
|
|
66523
66529
|
}), s === i)
|
|
@@ -66710,7 +66716,7 @@ function gz(r) {
|
|
|
66710
66716
|
new Set(r == null ? void 0 : r.affected.map((e) => e.id))
|
|
66711
66717
|
), a;
|
|
66712
66718
|
}
|
|
66713
|
-
function
|
|
66719
|
+
function pt(r, a) {
|
|
66714
66720
|
const e = el(
|
|
66715
66721
|
r.type
|
|
66716
66722
|
);
|
|
@@ -67661,7 +67667,7 @@ function tq(r, a) {
|
|
|
67661
67667
|
}), e;
|
|
67662
67668
|
}
|
|
67663
67669
|
var Fl = /* @__PURE__ */ ((r) => (r.Extends = "extends", r.Implements = "implements", r))(Fl || {});
|
|
67664
|
-
const Le = class Le extends
|
|
67670
|
+
const Le = class Le extends at {
|
|
67665
67671
|
constructor(e, t) {
|
|
67666
67672
|
super(e);
|
|
67667
67673
|
f(this, "initialData");
|
|
@@ -67779,7 +67785,7 @@ const Le = class Le extends st {
|
|
|
67779
67785
|
s.push(
|
|
67780
67786
|
...l,
|
|
67781
67787
|
...o,
|
|
67782
|
-
...
|
|
67788
|
+
...ut(i)
|
|
67783
67789
|
);
|
|
67784
67790
|
const d = i.parent ? t.get(i.parent) : null;
|
|
67785
67791
|
if (d && d.type === n.DataType) {
|
|
@@ -68633,7 +68639,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68633
68639
|
"meta-sync"
|
|
68634
68640
|
)
|
|
68635
68641
|
)) {
|
|
68636
|
-
const i =
|
|
68642
|
+
const i = pt(this, e), s = this.toMeta();
|
|
68637
68643
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static !== void 0 ? e.static : this.static, this.abstract = e.abstract !== void 0 ? e.abstract : this.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
68638
68644
|
}
|
|
68639
68645
|
async APILoad(e = j, ...t) {
|
|
@@ -69388,7 +69394,7 @@ function iq(r) {
|
|
|
69388
69394
|
const i = [];
|
|
69389
69395
|
return Se(r.errors, i);
|
|
69390
69396
|
}
|
|
69391
|
-
const Os = class Os extends
|
|
69397
|
+
const Os = class Os extends at {
|
|
69392
69398
|
constructor(e, t) {
|
|
69393
69399
|
super(e);
|
|
69394
69400
|
f(this, "initialData");
|
|
@@ -69706,7 +69712,7 @@ function rq(r) {
|
|
|
69706
69712
|
const i = [];
|
|
69707
69713
|
return Se(r.errors, i);
|
|
69708
69714
|
}
|
|
69709
|
-
const Qa = class Qa extends
|
|
69715
|
+
const Qa = class Qa extends at {
|
|
69710
69716
|
constructor(e, t) {
|
|
69711
69717
|
super(e);
|
|
69712
69718
|
f(this, "initialData");
|
|
@@ -70209,7 +70215,7 @@ class Rr {
|
|
|
70209
70215
|
if (a.readsValue) {
|
|
70210
70216
|
if (tt.includes(a.readsValue.type)) {
|
|
70211
70217
|
let e = a.parent;
|
|
70212
|
-
|
|
70218
|
+
ft.includes(e.type) || (e = e.parent);
|
|
70213
70219
|
const t = a.type === n.InputMap && a.parent.type === n.Loop;
|
|
70214
70220
|
t && (e = a.parent.parent), a.readsValue.setParent(
|
|
70215
70221
|
e,
|
|
@@ -70244,7 +70250,7 @@ class Rr {
|
|
|
70244
70250
|
if (a.readsValue) {
|
|
70245
70251
|
if (tt.includes(a.readsValue.type)) {
|
|
70246
70252
|
let e = a.parent;
|
|
70247
|
-
|
|
70253
|
+
ft.includes(e.type) || (e = e.parent);
|
|
70248
70254
|
const t = a.type === n.InputMap && a.parent.type === n.Loop;
|
|
70249
70255
|
t && (e = a.parent.parent), a.readsValue.setParent(
|
|
70250
70256
|
e,
|
|
@@ -70286,7 +70292,7 @@ class tl {
|
|
|
70286
70292
|
}
|
|
70287
70293
|
class tY {
|
|
70288
70294
|
}
|
|
70289
|
-
const ie = class ie extends
|
|
70295
|
+
const ie = class ie extends at {
|
|
70290
70296
|
constructor(e) {
|
|
70291
70297
|
super(e);
|
|
70292
70298
|
f(this, "initialData");
|
|
@@ -70395,7 +70401,7 @@ const ie = class ie extends st {
|
|
|
70395
70401
|
JSON.stringify(e)
|
|
70396
70402
|
);
|
|
70397
70403
|
const s = [];
|
|
70398
|
-
return s.push(...
|
|
70404
|
+
return s.push(...ut(i)), {
|
|
70399
70405
|
errors: s,
|
|
70400
70406
|
modifiedData: i
|
|
70401
70407
|
};
|
|
@@ -70844,7 +70850,7 @@ const ie = class ie extends st {
|
|
|
70844
70850
|
"meta-sync"
|
|
70845
70851
|
)
|
|
70846
70852
|
)) {
|
|
70847
|
-
const i =
|
|
70853
|
+
const i = pt(this, e), s = this.toMeta();
|
|
70848
70854
|
return this.name = e.name !== void 0 ? e.name : s.name, this.description = e.description !== void 0 ? e.description : s.description, this.x = e.x || s.x, this.y = e.y || s.y, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, I.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, I.Added) : i && (t == null || t.add(this, I.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
70849
70855
|
}
|
|
70850
70856
|
async APILoad(e = j, ...t) {
|
|
@@ -73236,7 +73242,7 @@ export {
|
|
|
73236
73242
|
I as ChangeSetEntityChangeType,
|
|
73237
73243
|
Kz as ChildEntityState,
|
|
73238
73244
|
F7 as CommonStringValidationErrorCodes,
|
|
73239
|
-
|
|
73245
|
+
ct as ComparisonOperatorTypes,
|
|
73240
73246
|
h7 as ConditionDependencyField,
|
|
73241
73247
|
Qr as ConditionState,
|
|
73242
73248
|
Y0 as ContinueStatementDependencyField,
|
|
@@ -73261,14 +73267,14 @@ export {
|
|
|
73261
73267
|
J as ENTITY_RECUSION_OPTIONS_DEFAULTS,
|
|
73262
73268
|
Fq as ENTITY_TYPES,
|
|
73263
73269
|
xq as ENTITY_WITH_DECLARATION_TYPES,
|
|
73264
|
-
|
|
73270
|
+
ft as ENTITY_WITH_LOGIC_SCOPE_TYPES,
|
|
73265
73271
|
qv as ENTITY_WITH_NAMES_TYPES,
|
|
73266
73272
|
jq as ENTITY_WITH_PARENT_TYPES,
|
|
73267
73273
|
kv as ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES,
|
|
73268
73274
|
Lq as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
|
|
73269
73275
|
gv as ENTITY_WITH_VALUE_TYPES,
|
|
73270
73276
|
Ho as ENTRY_POINT_ENTITIES_EXPLANATION,
|
|
73271
|
-
|
|
73277
|
+
nt as ENTRY_POINT_TYPES,
|
|
73272
73278
|
Js as EVENT_TYPES,
|
|
73273
73279
|
$q as EXECUTABLE_TYPES,
|
|
73274
73280
|
tA as EXECUTION_OPERATIONS,
|
|
@@ -73356,7 +73362,7 @@ export {
|
|
|
73356
73362
|
ME as SplitListOperationOutputIds,
|
|
73357
73363
|
_i as StandaloneOperatorTypes,
|
|
73358
73364
|
ke as StringOperations,
|
|
73359
|
-
|
|
73365
|
+
lt as TERMINATION_TYPES,
|
|
73360
73366
|
fp as Traverser,
|
|
73361
73367
|
Wv as USER_MANAGED_ENTITY_TYPES,
|
|
73362
73368
|
zz as UserManagedEntityStateTemplate,
|
|
@@ -73410,7 +73416,7 @@ export {
|
|
|
73410
73416
|
kZ as checkArePropertiesCompatibleAsDataType,
|
|
73411
73417
|
mp as checkExtendsBaseEntity,
|
|
73412
73418
|
Sa as checkHasBaseEntity,
|
|
73413
|
-
|
|
73419
|
+
pt as checkHasMetadataChanged,
|
|
73414
73420
|
hr as checkImplementationsOverlap,
|
|
73415
73421
|
Uz as checkImplementsBaseEntity,
|
|
73416
73422
|
Ha as checkIsBranchDependentButNotDirectlyOnBranch,
|
|
@@ -73704,7 +73710,7 @@ export {
|
|
|
73704
73710
|
yp as getParentCanvasEntityFromTransfer,
|
|
73705
73711
|
yz as getParentEntryPoint,
|
|
73706
73712
|
q7 as getParentPassthroughCallableEntity,
|
|
73707
|
-
|
|
73713
|
+
st as getPassThroughCallableEntityReferenceSchema,
|
|
73708
73714
|
Gu as getPassThroughCallableEntityTypeSchema,
|
|
73709
73715
|
jz as getPeristedEntities,
|
|
73710
73716
|
lW as getPlayableEntityReferenceSchema,
|
|
@@ -74185,7 +74191,7 @@ export {
|
|
|
74185
74191
|
x0 as validateFunctionDeclarationName,
|
|
74186
74192
|
QW as validateGeneratedEntityParentIsNotBuiltInEntity,
|
|
74187
74193
|
SW as validateGeneration,
|
|
74188
|
-
|
|
74194
|
+
ut as validateGenerationTarget,
|
|
74189
74195
|
XW as validateGenerationUpdate,
|
|
74190
74196
|
lz as validateLoopEntityDeclaration,
|
|
74191
74197
|
RW as validateName,
|