@elyx-code/project-logic-tree 0.0.6469 → 0.0.6471
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 +134 -139
- package/dist/index.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -68,7 +68,7 @@ const yy = {
|
|
|
68
68
|
},
|
|
69
69
|
fromUUID: (d) => d
|
|
70
70
|
};
|
|
71
|
-
var f = /* @__PURE__ */ ((d) => (d.DefinitionEntity = "definition-entity", d.BuiltInBaseEntity = "built-in-base-entity", d.Project = "project", d.InstalledProject = "installed-project", d.GlobalEvent = "global-event", d.DataType = "data-type", d.FunctionCall = "function-call", d.FunctionDeclaration = "function-declaration", d.ActionDescriptor = "action-descriptor", d.ValueDescriptor = "value-descriptor", d.ArgumentDeclaration = "argument-declaration", d.InputMap = "input-map", d.ReturnStatement = "return-statement", d.BreakStatement = "break-statement", d.ContinueStatement = "continue-statement", d.ReturnDeclaration = "return-declaration", d.OutputMap = "output-map", d.PrimitiveEntity = "primitive-entity", d.LiteralValue = "literal-value", d.Property = "property", d.Operation = "operation", d.Condition = "condition", d.VariableDeclaration = "variable-declaration", d.VariableInstance = "variable-instance", d.Search = "search", d.Loop = "loop", d.InternalCall = "internal-call", d.GenericReference = "generic-reference", d))(f || {}), Ve = /* @__PURE__ */ ((d) => (d.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", d.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", d.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", d.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", d.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", d.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", d))(Ve || {}), Zr = /* @__PURE__ */ ((d) => (d.CurrentDateAndTime = "current-date-and-time", d.Unique = "unique", d.Random = "random", d))(Zr || {}), ne = /* @__PURE__ */ ((d) => (d.EntityTemplate = "entity-template", d.ActionDescriptor = "action-descriptor", d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Enum = "enum", d.KeyValue = "key-value", d.Date = "date", d.UUID = "uuid", d.File = "file", d.Untyped = "untyped", d))(ne || {}), Qt = /* @__PURE__ */ ((d) => (d.Addition = "addition", d.Subtraction = "subtraction", d.Multiplication = "multiplication", d.Division = "division", d.Remainder = "remainder", d.Exponentiation = "exponentiation", d))(Qt || {}), _e = /* @__PURE__ */ ((d) => (d.GenerateRandomInteger = "generate-random-integer", d.GenerateRandomFloat = "generate-random-float", d.GenerateRandomHexadecimal = "generate-random-hexadecimal", d.GenerateRandomBase62 = "generate-random-base62", d.GenerateRandomBase64 = "generate-random-base64", d.GenerateRandomAlphanumeric = "generate-random-alphanumeric", d.GenerateIdentifier = "generate-identifier", d.GenerateRandomUUIDv4 = "generate-random-uuidv4", d.GenerateShortIdentifier = "generate-short-identifier", d.GenerateHexadecimalToken = "generate-hexadecimal-token", d))(_e || {}), je = /* @__PURE__ */ ((d) => (d.Join = "string-join", d.Split = "string-split", d.DeleteLast = "string-delete-last", d.DeleteFirst = "string-delete-first", d.DeleteIndex = "string-delete-index", d.AddIndex = "string-add-index", d.ReplaceFirst = "string-replace-first", d.ReplaceLast = "string-replace-last", d.ReplaceIndex = "string-replace-index", d.ReplaceSingleMatch = "string-replace-single-match", d.ReplaceAllMatches = "string-replace-all-matches", d.GetIndexItem = "string-get-index-item", d.GetFirst = "string-get-first", d.GetLast = "string-get-last", d.GetIndexOf = "string-get-index-of", d.Append = "string-append", d.Prepend = "string-prepend", d.Reverse = "string-reverse", d.ToLowerCase = "string-to-lower-case", d.ToUpperCase = "string-to-upper-case", d))(je || {}), Se = /* @__PURE__ */ ((d) => (d.Join = "list-join", d.Split = "list-split", d.DeleteLast = "list-delete-last", d.DeleteFirst = "list-delete-first", d.DeleteIndex = "list-delete-index", d.AddIndex = "list-add-index", d.ReplaceFirst = "list-replace-first", d.ReplaceLast = "list-replace-last", d.ReplaceIndex = "list-replace-index", d.GetIndexItem = "list-get-index-item", d.GetFirst = "list-get-first", d.GetLast = "list-get-last", d.Append = "list-append", d.Prepend = "list-prepend", d.Reverse = "list-reverse", d))(Se || {}), tr = /* @__PURE__ */ ((d) => (d.Parallel = "parallel", d.Sequential = "sequential", d.Wait = "wait", d))(tr || {}),
|
|
71
|
+
var f = /* @__PURE__ */ ((d) => (d.DefinitionEntity = "definition-entity", d.BuiltInBaseEntity = "built-in-base-entity", d.Project = "project", d.InstalledProject = "installed-project", d.GlobalEvent = "global-event", d.DataType = "data-type", d.FunctionCall = "function-call", d.FunctionDeclaration = "function-declaration", d.ActionDescriptor = "action-descriptor", d.ValueDescriptor = "value-descriptor", d.ArgumentDeclaration = "argument-declaration", d.InputMap = "input-map", d.ReturnStatement = "return-statement", d.BreakStatement = "break-statement", d.ContinueStatement = "continue-statement", d.ReturnDeclaration = "return-declaration", d.OutputMap = "output-map", d.PrimitiveEntity = "primitive-entity", d.LiteralValue = "literal-value", d.Property = "property", d.Operation = "operation", d.Condition = "condition", d.VariableDeclaration = "variable-declaration", d.VariableInstance = "variable-instance", d.Search = "search", d.Loop = "loop", d.InternalCall = "internal-call", d.GenericReference = "generic-reference", d))(f || {}), Ve = /* @__PURE__ */ ((d) => (d.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", d.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", d.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", d.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", d.EXECUTION = "BUILT_IN_EXECUTION_ENTITY", d.KEY_VALUE_PARAM = "BUILT_IN_KEY_VALUE_PARAM_ENTITY", d))(Ve || {}), Zr = /* @__PURE__ */ ((d) => (d.CurrentDateAndTime = "current-date-and-time", d.Unique = "unique", d.Random = "random", d))(Zr || {}), ne = /* @__PURE__ */ ((d) => (d.EntityTemplate = "entity-template", d.ActionDescriptor = "action-descriptor", d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Enum = "enum", d.KeyValue = "key-value", d.Date = "date", d.UUID = "uuid", d.File = "file", d.Untyped = "untyped", d))(ne || {}), Qt = /* @__PURE__ */ ((d) => (d.Addition = "addition", d.Subtraction = "subtraction", d.Multiplication = "multiplication", d.Division = "division", d.Remainder = "remainder", d.Exponentiation = "exponentiation", d))(Qt || {}), _e = /* @__PURE__ */ ((d) => (d.GenerateRandomInteger = "generate-random-integer", d.GenerateRandomFloat = "generate-random-float", d.GenerateRandomHexadecimal = "generate-random-hexadecimal", d.GenerateRandomBase62 = "generate-random-base62", d.GenerateRandomBase64 = "generate-random-base64", d.GenerateRandomAlphanumeric = "generate-random-alphanumeric", d.GenerateIdentifier = "generate-identifier", d.GenerateRandomUUIDv4 = "generate-random-uuidv4", d.GenerateShortIdentifier = "generate-short-identifier", d.GenerateHexadecimalToken = "generate-hexadecimal-token", d))(_e || {}), je = /* @__PURE__ */ ((d) => (d.Join = "string-join", d.Split = "string-split", d.DeleteLast = "string-delete-last", d.DeleteFirst = "string-delete-first", d.DeleteIndex = "string-delete-index", d.AddIndex = "string-add-index", d.ReplaceFirst = "string-replace-first", d.ReplaceLast = "string-replace-last", d.ReplaceIndex = "string-replace-index", d.ReplaceSingleMatch = "string-replace-single-match", d.ReplaceAllMatches = "string-replace-all-matches", d.GetIndexItem = "string-get-index-item", d.GetFirst = "string-get-first", d.GetLast = "string-get-last", d.GetIndexOf = "string-get-index-of", d.Append = "string-append", d.Prepend = "string-prepend", d.Reverse = "string-reverse", d.ToLowerCase = "string-to-lower-case", d.ToUpperCase = "string-to-upper-case", d))(je || {}), Se = /* @__PURE__ */ ((d) => (d.Join = "list-join", d.Split = "list-split", d.DeleteLast = "list-delete-last", d.DeleteFirst = "list-delete-first", d.DeleteIndex = "list-delete-index", d.AddIndex = "list-add-index", d.ReplaceFirst = "list-replace-first", d.ReplaceLast = "list-replace-last", d.ReplaceIndex = "list-replace-index", d.GetIndexItem = "list-get-index-item", d.GetFirst = "list-get-first", d.GetLast = "list-get-last", d.Append = "list-append", d.Prepend = "list-prepend", d.Reverse = "list-reverse", d))(Se || {}), tr = /* @__PURE__ */ ((d) => (d.Parallel = "parallel", d.Sequential = "sequential", d.Wait = "wait", d))(tr || {}), pr = /* @__PURE__ */ ((d) => (d.CreateNewInstance = "create-new-instance", d.Validate = "validate", d))(pr || {}), Ai = /* @__PURE__ */ ((d) => (d.HttpRequest = "base-http-request", d))(Ai || {}), ht = /* @__PURE__ */ ((d) => (d.Equal = "equal", d.NotEqual = "not-equal", d.LessThan = "less-than", d.MoreThan = "more-than", d.LessThanOrEqual = "less-than-or-equal", d.MoreThanOrEqual = "more-than-or-equal", d))(ht || {}), fi = /* @__PURE__ */ ((d) => (d.Empty = "empty", d.NotEmpty = "not-empty", d))(fi || {}), qr = /* @__PURE__ */ ((d) => (d.And = "and", d.Or = "or", d))(qr || {}), Je = /* @__PURE__ */ ((d) => (d.ManualFlow = "manual-flow-loop", d.Counted = "counted-loop", d.List = "list-loop", d.ObjectKeys = "object-keys-loop", d.ObjectValues = "object-values-loop", d.String = "string-loop", d))(Je || {}), le = /* @__PURE__ */ ((d) => (d.FixedArguments = "fixed-arguments", d.FixedReturns = "fixed-returns", d.ReturnedError = "returned-error", d.OngoingProcessExecution = "ongoing-process-execution", d.DynamicArgument = "dynamic-argument-types", d.DynamicReturn = "dynamic-return-types", d))(le || {}), Ti = /* @__PURE__ */ ((d) => (d.OrDataTypeGroup = "or-data-type-group", d.AndDataTypeGroup = "and-data-type-group", d))(Ti || {}), Xa = /* @__PURE__ */ ((d) => (d.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", d))(Xa || {}), ii = /* @__PURE__ */ ((d) => (d.DeletePersistedEntity = "base-delete-persisted-entity", d.CreatePersistedEntity = "base-create-persisted-entity", d.UpdatePersistedEntity = "base-update-persisted-entity", d.AbortExecution = "base-abort-execution", d))(ii || {}), jo = /* @__PURE__ */ ((d) => (d.Error = "error", d.Task = "task", d.Return = "return", d))(jo || {});
|
|
72
72
|
const Kn = [
|
|
73
73
|
f.VariableDeclaration,
|
|
74
74
|
f.VariableInstance,
|
|
@@ -603,8 +603,8 @@ const fe = {
|
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
},
|
|
606
|
-
[
|
|
607
|
-
id:
|
|
606
|
+
[pr.Validate]: {
|
|
607
|
+
id: pr.Validate,
|
|
608
608
|
inputs: {
|
|
609
609
|
entityToMatch: {
|
|
610
610
|
id: "validate-data-entity-to-match-input-id"
|
|
@@ -3712,7 +3712,7 @@ var z9e = /* @__PURE__ */ ((d) => (d.EntityToInstanciate = "entity-to-instanciat
|
|
|
3712
3712
|
const X9e = {
|
|
3713
3713
|
type: f.GenericReference,
|
|
3714
3714
|
id: "new-entity-data-argument-declaration-parent-ref",
|
|
3715
|
-
entityId:
|
|
3715
|
+
entityId: pr.CreateNewInstance,
|
|
3716
3716
|
version: "1",
|
|
3717
3717
|
entityType: f.ActionDescriptor
|
|
3718
3718
|
}, Q9e = {
|
|
@@ -3798,7 +3798,7 @@ const X9e = {
|
|
|
3798
3798
|
id: "create-new-instance-operation-ref",
|
|
3799
3799
|
version: "1",
|
|
3800
3800
|
entityType: f.ActionDescriptor,
|
|
3801
|
-
entityId:
|
|
3801
|
+
entityId: pr.CreateNewInstance
|
|
3802
3802
|
}, n7e = {
|
|
3803
3803
|
id: "entity-to-instanciate-argument-declaration",
|
|
3804
3804
|
type: f.ValueDescriptor,
|
|
@@ -3819,7 +3819,7 @@ const X9e = {
|
|
|
3819
3819
|
}, a7e = {
|
|
3820
3820
|
type: f.GenericReference,
|
|
3821
3821
|
id: "create-new-instance-output-entity-declaration-parent-ref",
|
|
3822
|
-
entityId:
|
|
3822
|
+
entityId: pr.CreateNewInstance,
|
|
3823
3823
|
version: "1",
|
|
3824
3824
|
entityType: f.ActionDescriptor
|
|
3825
3825
|
}, o7e = {
|
|
@@ -3842,7 +3842,7 @@ const X9e = {
|
|
|
3842
3842
|
}, l7e = {
|
|
3843
3843
|
type: f.GenericReference,
|
|
3844
3844
|
id: "create-new-instance-error-parent-ref",
|
|
3845
|
-
entityId:
|
|
3845
|
+
entityId: pr.CreateNewInstance,
|
|
3846
3846
|
version: "1",
|
|
3847
3847
|
entityType: f.ActionDescriptor
|
|
3848
3848
|
}, d7e = {
|
|
@@ -3863,7 +3863,7 @@ const X9e = {
|
|
|
3863
3863
|
index: 1,
|
|
3864
3864
|
parent: l7e
|
|
3865
3865
|
}, Kd = {
|
|
3866
|
-
id:
|
|
3866
|
+
id: pr.CreateNewInstance,
|
|
3867
3867
|
type: f.ActionDescriptor,
|
|
3868
3868
|
description: "Creates a new copy of a given entity, with the given values for each property, or default values if a value is not provided",
|
|
3869
3869
|
version: "1",
|
|
@@ -3872,7 +3872,7 @@ const X9e = {
|
|
|
3872
3872
|
previousVersion: null,
|
|
3873
3873
|
deleted: !1,
|
|
3874
3874
|
codeName: null,
|
|
3875
|
-
name:
|
|
3875
|
+
name: pr.CreateNewInstance,
|
|
3876
3876
|
inputs: [
|
|
3877
3877
|
n7e,
|
|
3878
3878
|
t7e
|
|
@@ -3880,7 +3880,7 @@ const X9e = {
|
|
|
3880
3880
|
outputs: [o7e],
|
|
3881
3881
|
error: d7e,
|
|
3882
3882
|
parent: null
|
|
3883
|
-
}, kd = fe[f.Operation][
|
|
3883
|
+
}, kd = fe[f.Operation][pr.Validate], u7e = {
|
|
3884
3884
|
type: f.GenericReference,
|
|
3885
3885
|
id: "validate-data-operation-data-to-validate-argument-declaration-ref",
|
|
3886
3886
|
version: "1",
|
|
@@ -3914,7 +3914,7 @@ const X9e = {
|
|
|
3914
3914
|
id: "validate-data-operation-data-to-validate-argument-parent-ref",
|
|
3915
3915
|
version: "1",
|
|
3916
3916
|
entityType: f.ActionDescriptor,
|
|
3917
|
-
entityId:
|
|
3917
|
+
entityId: pr.Validate
|
|
3918
3918
|
}, f7e = {
|
|
3919
3919
|
id: kd.inputs.dataToValidate.id,
|
|
3920
3920
|
type: f.ValueDescriptor,
|
|
@@ -3966,7 +3966,7 @@ const X9e = {
|
|
|
3966
3966
|
id: "validate-data-operation-entity-to-match-type-argument-parent-ref",
|
|
3967
3967
|
version: "1",
|
|
3968
3968
|
entityType: f.ActionDescriptor,
|
|
3969
|
-
entityId:
|
|
3969
|
+
entityId: pr.Validate
|
|
3970
3970
|
}, v7e = {
|
|
3971
3971
|
id: kd.inputs.entityToMatch.id,
|
|
3972
3972
|
type: f.ValueDescriptor,
|
|
@@ -3987,7 +3987,7 @@ const X9e = {
|
|
|
3987
3987
|
}, E7e = {
|
|
3988
3988
|
type: f.GenericReference,
|
|
3989
3989
|
id: "validate-data-operation-output-entity-declaration-parent-ref",
|
|
3990
|
-
entityId:
|
|
3990
|
+
entityId: pr.Validate,
|
|
3991
3991
|
version: "1",
|
|
3992
3992
|
entityType: f.ActionDescriptor
|
|
3993
3993
|
}, T7e = {
|
|
@@ -4010,7 +4010,7 @@ const X9e = {
|
|
|
4010
4010
|
}, I7e = {
|
|
4011
4011
|
type: f.GenericReference,
|
|
4012
4012
|
id: "wait-operation-error-parent-ref",
|
|
4013
|
-
entityId:
|
|
4013
|
+
entityId: pr.Validate,
|
|
4014
4014
|
version: "1",
|
|
4015
4015
|
entityType: f.ActionDescriptor
|
|
4016
4016
|
}, A7e = {
|
|
@@ -4031,7 +4031,7 @@ const X9e = {
|
|
|
4031
4031
|
parent: I7e,
|
|
4032
4032
|
parentRelationType: le.ReturnedError
|
|
4033
4033
|
}, Sd = {
|
|
4034
|
-
id:
|
|
4034
|
+
id: pr.Validate,
|
|
4035
4035
|
type: f.ActionDescriptor,
|
|
4036
4036
|
description: "Validates the given data to see if it matches the structure of a given type/entity",
|
|
4037
4037
|
version: "1",
|
|
@@ -4040,7 +4040,7 @@ const X9e = {
|
|
|
4040
4040
|
previousVersion: null,
|
|
4041
4041
|
deleted: !1,
|
|
4042
4042
|
codeName: null,
|
|
4043
|
-
name:
|
|
4043
|
+
name: pr.Validate,
|
|
4044
4044
|
inputs: [
|
|
4045
4045
|
v7e,
|
|
4046
4046
|
f7e
|
|
@@ -4049,8 +4049,8 @@ const X9e = {
|
|
|
4049
4049
|
error: A7e,
|
|
4050
4050
|
parent: null
|
|
4051
4051
|
}, b7e = {
|
|
4052
|
-
[
|
|
4053
|
-
[
|
|
4052
|
+
[pr.CreateNewInstance]: Kd,
|
|
4053
|
+
[pr.Validate]: Sd
|
|
4054
4054
|
}, Xr = fe[f.Operation]["base-http-request"], w7e = {
|
|
4055
4055
|
type: f.GenericReference,
|
|
4056
4056
|
id: "d87cf943-57e1-4d19-9f05-190fa8c8ebc4",
|
|
@@ -70011,7 +70011,7 @@ class Xo {
|
|
|
70011
70011
|
return this.inputMap ? `'{{::${this.inputMap.id}}}'` : "";
|
|
70012
70012
|
}
|
|
70013
70013
|
}
|
|
70014
|
-
var
|
|
70014
|
+
var cr = /* @__PURE__ */ ((d) => (d.String = "string", d.Number = "number", d.Boolean = "boolean", d.Null = "null", d.Date = "date", d))(cr || {});
|
|
70015
70015
|
class Sr {
|
|
70016
70016
|
constructor(u) {
|
|
70017
70017
|
g(this, "owner");
|
|
@@ -70807,7 +70807,7 @@ const iRt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
70807
70807
|
DataSource: fs,
|
|
70808
70808
|
DataSourceType: pa,
|
|
70809
70809
|
NestedSearchStatement: Rb,
|
|
70810
|
-
SearchLiteralValueType:
|
|
70810
|
+
SearchLiteralValueType: cr,
|
|
70811
70811
|
SearchStatementLiteralValue: Sr,
|
|
70812
70812
|
SearchStatementNodeType: Ry,
|
|
70813
70813
|
SearchStatementState: yM,
|
|
@@ -71240,7 +71240,7 @@ function kn(d, u, i, a, o = !1) {
|
|
|
71240
71240
|
debugger;
|
|
71241
71241
|
} else if (H.type === "number_literal") {
|
|
71242
71242
|
const Q = new Sr(i);
|
|
71243
|
-
Q.value = H.value, Q.valueType =
|
|
71243
|
+
Q.value = H.value, Q.valueType = cr.Number, p.left = Q, p.operator = z;
|
|
71244
71244
|
} else if (H.type === "string_literal")
|
|
71245
71245
|
if (H.value.includes("{{::")) {
|
|
71246
71246
|
const de = H.value.split("{{::")[1].split("}}")[0], ve = a.get(
|
|
@@ -71252,14 +71252,14 @@ function kn(d, u, i, a, o = !1) {
|
|
|
71252
71252
|
}
|
|
71253
71253
|
} else {
|
|
71254
71254
|
const de = new Sr(i);
|
|
71255
|
-
V(H.value).isValid() ? (de.value = new Date(H.value), de.valueType =
|
|
71255
|
+
V(H.value).isValid() ? (de.value = new Date(H.value), de.valueType = cr.Date) : (de.value = H.value, de.valueType = cr.String), p.left = de, p.operator = z;
|
|
71256
71256
|
}
|
|
71257
71257
|
else if (H.type === "boolean_literal") {
|
|
71258
71258
|
const Q = new Sr(i);
|
|
71259
|
-
Q.value = H.value, Q.valueType =
|
|
71259
|
+
Q.value = H.value, Q.valueType = cr.Boolean, p.left = Q, p.operator = z;
|
|
71260
71260
|
} else if (H.type === "null_literal") {
|
|
71261
71261
|
const Q = new Sr(i);
|
|
71262
|
-
Q.value = H.value, Q.valueType =
|
|
71262
|
+
Q.value = H.value, Q.valueType = cr.Null, p.left = Q, p.operator = z;
|
|
71263
71263
|
} else if (H.type === "binary_expr") {
|
|
71264
71264
|
const Q = tp(
|
|
71265
71265
|
H
|
|
@@ -71327,7 +71327,7 @@ function kn(d, u, i, a, o = !1) {
|
|
|
71327
71327
|
debugger;
|
|
71328
71328
|
} else if (ce.type === "number_literal") {
|
|
71329
71329
|
const Q = new Sr(i);
|
|
71330
|
-
Q.value = ce.value, Q.valueType =
|
|
71330
|
+
Q.value = ce.value, Q.valueType = cr.Number, p.right = Q;
|
|
71331
71331
|
} else if (ce.type === "string_literal")
|
|
71332
71332
|
if (ce.value.includes("{{::")) {
|
|
71333
71333
|
const de = ce.value.split("{{::")[1].split("}}")[0], ve = a.get(
|
|
@@ -71339,14 +71339,14 @@ function kn(d, u, i, a, o = !1) {
|
|
|
71339
71339
|
return Me.inputMap = ve, p.right = Me, p;
|
|
71340
71340
|
} else {
|
|
71341
71341
|
const de = new Sr(i);
|
|
71342
|
-
V(ce.value).isValid() ? (de.value = new Date(ce.value), de.valueType =
|
|
71342
|
+
V(ce.value).isValid() ? (de.value = new Date(ce.value), de.valueType = cr.Date) : (de.value = ce.value, de.valueType = cr.String), p.right = de;
|
|
71343
71343
|
}
|
|
71344
71344
|
else if (ce.type === "boolean_literal") {
|
|
71345
71345
|
const Q = new Sr(i);
|
|
71346
|
-
Q.value = ce.value, Q.valueType =
|
|
71346
|
+
Q.value = ce.value, Q.valueType = cr.Boolean, p.right = Q;
|
|
71347
71347
|
} else if (ce.type === "null_literal") {
|
|
71348
71348
|
const Q = new Sr(i);
|
|
71349
|
-
Q.value = ce.value, Q.valueType =
|
|
71349
|
+
Q.value = ce.value, Q.valueType = cr.Null, p.right = Q;
|
|
71350
71350
|
} else if (ce.type === "binary_expr") {
|
|
71351
71351
|
if (o)
|
|
71352
71352
|
debugger;
|
|
@@ -71632,23 +71632,23 @@ function RM(d, u, i, a = !1) {
|
|
|
71632
71632
|
}
|
|
71633
71633
|
} else {
|
|
71634
71634
|
const w = new Sr(u);
|
|
71635
|
-
V(v.value).isValid() ? (w.value = new Date(v.value), w.valueType =
|
|
71635
|
+
V(v.value).isValid() ? (w.value = new Date(v.value), w.valueType = cr.Date) : (w.value = v.value, w.valueType = cr.String);
|
|
71636
71636
|
const A = new nr(u);
|
|
71637
71637
|
A.source = w, A.as = e.alias.text, y.push(A);
|
|
71638
71638
|
}
|
|
71639
71639
|
else if (v.type === "number_literal") {
|
|
71640
71640
|
const E = new Sr(u);
|
|
71641
|
-
E.value = v.value, E.valueType =
|
|
71641
|
+
E.value = v.value, E.valueType = cr.Number;
|
|
71642
71642
|
const w = new nr(u);
|
|
71643
71643
|
w.source = E, w.as = e.alias.text, y.push(w);
|
|
71644
71644
|
} else if (v.type === "boolean_literal") {
|
|
71645
71645
|
const E = new Sr(u);
|
|
71646
|
-
E.value = v.value, E.valueType =
|
|
71646
|
+
E.value = v.value, E.valueType = cr.Boolean;
|
|
71647
71647
|
const w = new nr(u);
|
|
71648
71648
|
w.source = E, w.as = e.alias.text, y.push(w);
|
|
71649
71649
|
} else if (v.type === "null_literal") {
|
|
71650
71650
|
const E = new Sr(u);
|
|
71651
|
-
E.value = v.value, E.valueType =
|
|
71651
|
+
E.value = v.value, E.valueType = cr.Null;
|
|
71652
71652
|
const w = new nr(u);
|
|
71653
71653
|
w.source = E, w.as = e.alias.text, y.push(w);
|
|
71654
71654
|
}
|
|
@@ -71665,23 +71665,23 @@ function RM(d, u, i, a = !1) {
|
|
|
71665
71665
|
}
|
|
71666
71666
|
} else {
|
|
71667
71667
|
const E = new Sr(u);
|
|
71668
|
-
V(e.value).isValid() ? (E.value = new Date(e.value), E.valueType =
|
|
71668
|
+
V(e.value).isValid() ? (E.value = new Date(e.value), E.valueType = cr.Date) : (E.value = e.value, E.valueType = cr.String);
|
|
71669
71669
|
const w = new nr(u);
|
|
71670
71670
|
w.source = E, w.as = e.value.toString(), y.push(w);
|
|
71671
71671
|
}
|
|
71672
71672
|
else if (e.type === "number_literal") {
|
|
71673
71673
|
const v = new Sr(u);
|
|
71674
|
-
v.value = e.value, v.valueType =
|
|
71674
|
+
v.value = e.value, v.valueType = cr.Number;
|
|
71675
71675
|
const E = new nr(u);
|
|
71676
71676
|
E.source = v, E.as = e.value.toString(), y.push(E);
|
|
71677
71677
|
} else if (e.type === "boolean_literal") {
|
|
71678
71678
|
const v = new Sr(u);
|
|
71679
|
-
v.value = e.value, v.valueType =
|
|
71679
|
+
v.value = e.value, v.valueType = cr.Boolean;
|
|
71680
71680
|
const E = new nr(u);
|
|
71681
71681
|
E.source = v, E.as = "boolean", y.push(E);
|
|
71682
71682
|
} else if (e.type === "null_literal") {
|
|
71683
71683
|
const v = new Sr(u);
|
|
71684
|
-
v.value = e.value, v.valueType =
|
|
71684
|
+
v.value = e.value, v.valueType = cr.Null;
|
|
71685
71685
|
const E = new nr(u);
|
|
71686
71686
|
E.source = v, E.as = "empty", y.push(E);
|
|
71687
71687
|
}
|
|
@@ -71929,11 +71929,11 @@ function cp(d, u, i = null, a = !1) {
|
|
|
71929
71929
|
);
|
|
71930
71930
|
if (H !== null) {
|
|
71931
71931
|
const Q = new Sr(p);
|
|
71932
|
-
Q.valueType =
|
|
71932
|
+
Q.valueType = cr.Number, Q.value = H, p.limit = Q;
|
|
71933
71933
|
}
|
|
71934
71934
|
if ((p.limit === null || p.limit === void 0 || H === 1) && (p.asList = (i == null ? void 0 : i.resultsAsList) || !1), z !== null) {
|
|
71935
71935
|
const Q = new Sr(p);
|
|
71936
|
-
Q.valueType =
|
|
71936
|
+
Q.valueType = cr.Number, Q.value = z, p.offset = Q;
|
|
71937
71937
|
}
|
|
71938
71938
|
return ce && NM(
|
|
71939
71939
|
ce,
|
|
@@ -71985,13 +71985,13 @@ const sRt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
71985
71985
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
71986
71986
|
function FO(d) {
|
|
71987
71987
|
switch (d) {
|
|
71988
|
-
case
|
|
71988
|
+
case cr.String:
|
|
71989
71989
|
return ne.String;
|
|
71990
|
-
case
|
|
71990
|
+
case cr.Number:
|
|
71991
71991
|
return ne.Number;
|
|
71992
|
-
case
|
|
71992
|
+
case cr.Boolean:
|
|
71993
71993
|
return ne.Boolean;
|
|
71994
|
-
case
|
|
71994
|
+
case cr.Date:
|
|
71995
71995
|
return ne.Date;
|
|
71996
71996
|
default:
|
|
71997
71997
|
return ne.String;
|
|
@@ -71999,19 +71999,19 @@ function FO(d) {
|
|
|
71999
71999
|
}
|
|
72000
72000
|
function KO(d, u) {
|
|
72001
72001
|
switch (d) {
|
|
72002
|
-
case
|
|
72002
|
+
case cr.String:
|
|
72003
72003
|
return u.get(
|
|
72004
72004
|
fe["primitive-entity"].string.id
|
|
72005
72005
|
);
|
|
72006
|
-
case
|
|
72006
|
+
case cr.Number:
|
|
72007
72007
|
return u.get(
|
|
72008
72008
|
fe["primitive-entity"].number.id
|
|
72009
72009
|
);
|
|
72010
|
-
case
|
|
72010
|
+
case cr.Boolean:
|
|
72011
72011
|
return u.get(
|
|
72012
72012
|
fe["primitive-entity"].boolean.id
|
|
72013
72013
|
);
|
|
72014
|
-
case
|
|
72014
|
+
case cr.Date:
|
|
72015
72015
|
return u.get(
|
|
72016
72016
|
fe["primitive-entity"].date.id
|
|
72017
72017
|
);
|
|
@@ -76906,7 +76906,7 @@ function uRt(d) {
|
|
|
76906
76906
|
} else
|
|
76907
76907
|
return !1;
|
|
76908
76908
|
if (d.declaration.private) {
|
|
76909
|
-
const u =
|
|
76909
|
+
const u = fr(d), i = hf(
|
|
76910
76910
|
u,
|
|
76911
76911
|
d.project
|
|
76912
76912
|
);
|
|
@@ -84667,7 +84667,7 @@ function Om(d, u) {
|
|
|
84667
84667
|
var y, v, E, w, A;
|
|
84668
84668
|
if ((y = d.dataType) != null && y.isObject())
|
|
84669
84669
|
return $Tt(d, u);
|
|
84670
|
-
const i =
|
|
84670
|
+
const i = fr(d), a = !!((v = u.execution) != null && v.entities.length), o = (E = u.execution) == null ? void 0 : E.hasEntity(i), p = d.readsValue;
|
|
84671
84671
|
let e = null;
|
|
84672
84672
|
if (p) {
|
|
84673
84673
|
const C = (w = u.execution) == null ? void 0 : w.hasEntity(p);
|
|
@@ -84839,7 +84839,7 @@ function w4(d, u) {
|
|
|
84839
84839
|
inheritanceLink: null
|
|
84840
84840
|
};
|
|
84841
84841
|
}
|
|
84842
|
-
const i =
|
|
84842
|
+
const i = fr(d), a = d.parent.type === f.FunctionDeclaration && d.parent.parent.type === f.Loop ? d.parent : null, o = !!((E = u.execution) != null && E.hasEntity(i)) || !!a && !!((w = u.execution) != null && w.hasEntity(a));
|
|
84843
84843
|
let p = null;
|
|
84844
84844
|
if (d.defaultValue) {
|
|
84845
84845
|
const C = d.defaultValue;
|
|
@@ -84903,7 +84903,7 @@ function _4(d, u) {
|
|
|
84903
84903
|
inheritanceLink: null
|
|
84904
84904
|
};
|
|
84905
84905
|
}
|
|
84906
|
-
const i =
|
|
84906
|
+
const i = fr(d), a = !!((w = u.execution) != null && w.entities.length), o = (A = u.execution) == null ? void 0 : A.hasEntity(i), p = d.readsValue;
|
|
84907
84907
|
let e = null;
|
|
84908
84908
|
if (p) {
|
|
84909
84909
|
const M = (C = u.execution) == null ? void 0 : C.hasEntity(p);
|
|
@@ -84954,7 +84954,7 @@ function R4(d, u) {
|
|
|
84954
84954
|
inheritanceLink: null
|
|
84955
84955
|
};
|
|
84956
84956
|
}
|
|
84957
|
-
const i =
|
|
84957
|
+
const i = fr(d);
|
|
84958
84958
|
if (vt.includes(i.type)) {
|
|
84959
84959
|
const J = Bd(i, u), oe = xr(
|
|
84960
84960
|
W(d, u.project)
|
|
@@ -85323,7 +85323,7 @@ function LTt(d, u) {
|
|
|
85323
85323
|
}
|
|
85324
85324
|
function $m(d, u) {
|
|
85325
85325
|
var E, w, A, C, N;
|
|
85326
|
-
const i =
|
|
85326
|
+
const i = fr(d), a = !!((E = u.execution) != null && E.entities.length), o = (w = u.execution) == null ? void 0 : w.hasEntity(i), p = d.readsValue;
|
|
85327
85327
|
let e = null;
|
|
85328
85328
|
if (p) {
|
|
85329
85329
|
const M = (A = u.execution) == null ? void 0 : A.hasEntity(p);
|
|
@@ -86655,8 +86655,8 @@ const Wc = "built-in-function-implementations__", nt = "operations-implementatio
|
|
|
86655
86655
|
BUILT_IN_FUNCTION_IMPLEMENTATIONS__UPDATE_PERSISTED_ENTITY: Wc + ii.UpdatePersistedEntity,
|
|
86656
86656
|
BUILT_IN_FUNCTION_IMPLEMENTATIONS__DELETE_PERSISTED_ENTITY: Wc + ii.DeletePersistedEntity,
|
|
86657
86657
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: nt + Ai.HttpRequest,
|
|
86658
|
-
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: nt +
|
|
86659
|
-
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__CREATE_NEW_INSTANCE: nt +
|
|
86658
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: nt + pr.Validate,
|
|
86659
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__CREATE_NEW_INSTANCE: nt + pr.CreateNewInstance,
|
|
86660
86660
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_SEQUENTIAL: nt + tr.Sequential,
|
|
86661
86661
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_PARALLEL: nt + tr.Parallel,
|
|
86662
86662
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_WAIT: nt + tr.Wait,
|
|
@@ -91443,7 +91443,7 @@ class Ubt extends tt {
|
|
|
91443
91443
|
);
|
|
91444
91444
|
if (a) {
|
|
91445
91445
|
const o = a.get(
|
|
91446
|
-
|
|
91446
|
+
pr.CreateNewInstance
|
|
91447
91447
|
);
|
|
91448
91448
|
o && (o.implementation = this.module.main);
|
|
91449
91449
|
}
|
|
@@ -91526,7 +91526,7 @@ class jbt extends tt {
|
|
|
91526
91526
|
);
|
|
91527
91527
|
if (a) {
|
|
91528
91528
|
const o = a.get(
|
|
91529
|
-
|
|
91529
|
+
pr.Validate
|
|
91530
91530
|
);
|
|
91531
91531
|
o && (o.autoexecutable = !0, o.implementation = this.module.main);
|
|
91532
91532
|
}
|
|
@@ -93998,7 +93998,7 @@ class Gn extends pp {
|
|
|
93998
93998
|
return this.entities.includes(
|
|
93999
93999
|
i.parent
|
|
94000
94000
|
);
|
|
94001
|
-
const a =
|
|
94001
|
+
const a = fr(
|
|
94002
94002
|
i
|
|
94003
94003
|
);
|
|
94004
94004
|
if (!a)
|
|
@@ -95626,7 +95626,7 @@ class vi {
|
|
|
95626
95626
|
o.push(E);
|
|
95627
95627
|
return;
|
|
95628
95628
|
}
|
|
95629
|
-
const w =
|
|
95629
|
+
const w = fr(E);
|
|
95630
95630
|
i.push(w);
|
|
95631
95631
|
}), Lr.includes(this.entity.type) && a.push(
|
|
95632
95632
|
...this.entity.detachedChildren
|
|
@@ -102319,12 +102319,12 @@ function Ugt(d, u, i = !0) {
|
|
|
102319
102319
|
callType: "entry"
|
|
102320
102320
|
};
|
|
102321
102321
|
}
|
|
102322
|
-
function
|
|
102322
|
+
function fr(d) {
|
|
102323
102323
|
if (BI.includes(d.type)) {
|
|
102324
102324
|
if (d.type === f.FunctionDeclaration) {
|
|
102325
102325
|
const u = d.parent;
|
|
102326
102326
|
if (u.type === f.DefinitionEntity)
|
|
102327
|
-
return
|
|
102327
|
+
return fr(u);
|
|
102328
102328
|
if (u.type === f.Loop)
|
|
102329
102329
|
return u;
|
|
102330
102330
|
}
|
|
@@ -102332,11 +102332,11 @@ function cr(d) {
|
|
|
102332
102332
|
// Some definition-entities are implicitly created by the system
|
|
102333
102333
|
// To represent dynamically inferred data-types, in which case,
|
|
102334
102334
|
// they are not canvas entities, but we can still find their parent canvas entity as usual
|
|
102335
|
-
d.type === f.DefinitionEntity && d.parent.type === f.DataType || d.type === f.Condition && d.parent.type === f.Condition ?
|
|
102335
|
+
d.type === f.DefinitionEntity && d.parent.type === f.DataType || d.type === f.Condition && d.parent.type === f.Condition ? fr(d.parent) : d
|
|
102336
102336
|
);
|
|
102337
102337
|
} else {
|
|
102338
102338
|
const u = d.parent;
|
|
102339
|
-
return u ?
|
|
102339
|
+
return u ? fr(u) : null;
|
|
102340
102340
|
}
|
|
102341
102341
|
}
|
|
102342
102342
|
function rp(d, u) {
|
|
@@ -102507,7 +102507,7 @@ function Fgt(d) {
|
|
|
102507
102507
|
}
|
|
102508
102508
|
function Ya(d) {
|
|
102509
102509
|
const u = d.map(
|
|
102510
|
-
(i) =>
|
|
102510
|
+
(i) => fr(i)
|
|
102511
102511
|
);
|
|
102512
102512
|
return _(u);
|
|
102513
102513
|
}
|
|
@@ -102599,7 +102599,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
|
|
|
102599
102599
|
return [
|
|
102600
102600
|
...mt(d).reduce(
|
|
102601
102601
|
(p, e) => {
|
|
102602
|
-
const y =
|
|
102602
|
+
const y = fr(e);
|
|
102603
102603
|
return [
|
|
102604
102604
|
...p,
|
|
102605
102605
|
...yr(
|
|
@@ -102618,7 +102618,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
|
|
|
102618
102618
|
d.inputs
|
|
102619
102619
|
), o = mt(d).reduce(
|
|
102620
102620
|
(p, e) => {
|
|
102621
|
-
const y =
|
|
102621
|
+
const y = fr(e);
|
|
102622
102622
|
return [
|
|
102623
102623
|
...p,
|
|
102624
102624
|
...yr(
|
|
@@ -102640,7 +102640,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
|
|
|
102640
102640
|
d
|
|
102641
102641
|
).reduce(
|
|
102642
102642
|
(p, e) => {
|
|
102643
|
-
const y =
|
|
102643
|
+
const y = fr(e);
|
|
102644
102644
|
return [
|
|
102645
102645
|
...p,
|
|
102646
102646
|
...yr(
|
|
@@ -102657,7 +102657,7 @@ function yr(d, u = /* @__PURE__ */ new Set()) {
|
|
|
102657
102657
|
u.add(d.id);
|
|
102658
102658
|
const a = mt(d).reduce(
|
|
102659
102659
|
(o, p) => {
|
|
102660
|
-
const e =
|
|
102660
|
+
const e = fr(p);
|
|
102661
102661
|
return [
|
|
102662
102662
|
...o,
|
|
102663
102663
|
...yr(
|
|
@@ -102937,7 +102937,7 @@ function gl(d) {
|
|
|
102937
102937
|
const u = [];
|
|
102938
102938
|
if (Hi.includes(d.type)) {
|
|
102939
102939
|
d.calledBy.forEach((o) => {
|
|
102940
|
-
const p =
|
|
102940
|
+
const p = fr(o);
|
|
102941
102941
|
p && u.push(p);
|
|
102942
102942
|
});
|
|
102943
102943
|
const a = [
|
|
@@ -103542,7 +103542,7 @@ function zgt(d) {
|
|
|
103542
103542
|
}
|
|
103543
103543
|
function OI(d) {
|
|
103544
103544
|
const u = d.readsValue;
|
|
103545
|
-
return u ?
|
|
103545
|
+
return u ? fr(u) : null;
|
|
103546
103546
|
}
|
|
103547
103547
|
function m1t(d, u) {
|
|
103548
103548
|
const i = d.readsValue;
|
|
@@ -103572,7 +103572,7 @@ function qc(d) {
|
|
|
103572
103572
|
if (vt.includes(a.type))
|
|
103573
103573
|
i.push(a);
|
|
103574
103574
|
else if (Kn.includes(a.type)) {
|
|
103575
|
-
const o =
|
|
103575
|
+
const o = fr(
|
|
103576
103576
|
a.parent
|
|
103577
103577
|
);
|
|
103578
103578
|
i.push(o);
|
|
@@ -103623,7 +103623,7 @@ function Jn(d, u = !1) {
|
|
|
103623
103623
|
i.push(...a);
|
|
103624
103624
|
}
|
|
103625
103625
|
if (d.type === f.Condition) {
|
|
103626
|
-
const a = d.successCalls.map((p) =>
|
|
103626
|
+
const a = d.successCalls.map((p) => fr(p)), o = d.errorCalls.map((p) => fr(p));
|
|
103627
103627
|
i.push(
|
|
103628
103628
|
...a,
|
|
103629
103629
|
...o
|
|
@@ -103633,7 +103633,7 @@ function Jn(d, u = !1) {
|
|
|
103633
103633
|
if (d.collapsed && u)
|
|
103634
103634
|
return [];
|
|
103635
103635
|
const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map(
|
|
103636
|
-
(p) =>
|
|
103636
|
+
(p) => fr(p)
|
|
103637
103637
|
);
|
|
103638
103638
|
i.push(
|
|
103639
103639
|
..._(
|
|
@@ -103644,9 +103644,9 @@ function Jn(d, u = !1) {
|
|
|
103644
103644
|
}
|
|
103645
103645
|
if (ur.includes(d.type) && d.type !== f.Condition && d.type !== f.Loop) {
|
|
103646
103646
|
const a = d == null ? void 0 : d.outputs.map((e) => qc(e)).flat(), o = d.successCalls.map(
|
|
103647
|
-
(e) =>
|
|
103647
|
+
(e) => fr(e)
|
|
103648
103648
|
), p = d.errorCalls.map(
|
|
103649
|
-
(e) =>
|
|
103649
|
+
(e) => fr(e)
|
|
103650
103650
|
);
|
|
103651
103651
|
i.push(
|
|
103652
103652
|
..._(
|
|
@@ -103675,8 +103675,8 @@ function Jn(d, u = !1) {
|
|
|
103675
103675
|
i.push(...e);
|
|
103676
103676
|
}
|
|
103677
103677
|
const o = d.errorCalls.map(
|
|
103678
|
-
(e) =>
|
|
103679
|
-
), p = d.successCalls.map((e) =>
|
|
103678
|
+
(e) => fr(e)
|
|
103679
|
+
), p = d.successCalls.map((e) => fr(e));
|
|
103680
103680
|
i.push(
|
|
103681
103681
|
..._(
|
|
103682
103682
|
a
|
|
@@ -103688,7 +103688,7 @@ function Jn(d, u = !1) {
|
|
|
103688
103688
|
if (d.type === f.FunctionDeclaration) {
|
|
103689
103689
|
if (d.collapsed && u)
|
|
103690
103690
|
return [];
|
|
103691
|
-
const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map((p) =>
|
|
103691
|
+
const a = d.inputs.map((p) => qc(p)).flat(), o = d.calls.map((p) => fr(p));
|
|
103692
103692
|
i.push(
|
|
103693
103693
|
..._(
|
|
103694
103694
|
a
|
|
@@ -104247,77 +104247,72 @@ function ol(d) {
|
|
|
104247
104247
|
return !u || u.type === f.Project ? null : ol(u);
|
|
104248
104248
|
}
|
|
104249
104249
|
function hy(d) {
|
|
104250
|
-
var p, e;
|
|
104251
104250
|
const u = [];
|
|
104252
|
-
function i(
|
|
104253
|
-
return u.some((
|
|
104251
|
+
function i(p, e) {
|
|
104252
|
+
return u.some((y) => y.blockedByCaller === p && y.blockedByCalling === e);
|
|
104254
104253
|
}
|
|
104255
|
-
function a(
|
|
104256
|
-
i(
|
|
104257
|
-
blockedByCaller:
|
|
104258
|
-
blockedByCalling:
|
|
104254
|
+
function a(p, e) {
|
|
104255
|
+
i(p, e) || u.push({
|
|
104256
|
+
blockedByCaller: p,
|
|
104257
|
+
blockedByCalling: e
|
|
104259
104258
|
});
|
|
104260
104259
|
}
|
|
104261
104260
|
const o = hf(
|
|
104262
104261
|
d,
|
|
104263
104262
|
d.project
|
|
104264
104263
|
);
|
|
104265
|
-
|
|
104266
|
-
throw new Error(
|
|
104267
|
-
`Could not find entry point for entity: ${d.id}, parent: ${(e = d.parent) == null ? void 0 : e.id}`
|
|
104268
|
-
);
|
|
104269
|
-
return o ? (d.calledBySuccess.forEach((y) => {
|
|
104264
|
+
return o ? (d.calledBySuccess.forEach((p) => {
|
|
104270
104265
|
[
|
|
104271
|
-
...
|
|
104272
|
-
].forEach((
|
|
104273
|
-
mr.includes(
|
|
104266
|
+
...p.successCalls || []
|
|
104267
|
+
].forEach((v) => {
|
|
104268
|
+
mr.includes(v.type) && v !== d && (mt(
|
|
104274
104269
|
d
|
|
104275
|
-
).find((
|
|
104270
|
+
).find((A) => A === v) || a(p, v));
|
|
104276
104271
|
});
|
|
104277
|
-
let
|
|
104278
|
-
if (ur.includes(
|
|
104279
|
-
const
|
|
104280
|
-
|
|
104272
|
+
let y;
|
|
104273
|
+
if (ur.includes(p.type) && (y = p), y) {
|
|
104274
|
+
const v = hy(y);
|
|
104275
|
+
v.reachable || mt(
|
|
104281
104276
|
d
|
|
104282
|
-
).find((
|
|
104283
|
-
a(
|
|
104277
|
+
).find((A) => A === p) || v.blocks.forEach((A) => {
|
|
104278
|
+
a(p, A.blockedByCalling);
|
|
104284
104279
|
});
|
|
104285
104280
|
}
|
|
104286
|
-
}), d.calledByError.forEach((
|
|
104281
|
+
}), d.calledByError.forEach((p) => {
|
|
104287
104282
|
[
|
|
104288
|
-
...
|
|
104289
|
-
].forEach((
|
|
104290
|
-
mr.includes(
|
|
104283
|
+
...p.errorCalls || []
|
|
104284
|
+
].forEach((v) => {
|
|
104285
|
+
mr.includes(v.type) && v !== d && (mt(
|
|
104291
104286
|
d
|
|
104292
|
-
).find((
|
|
104287
|
+
).find((A) => A === v) || a(p, v));
|
|
104293
104288
|
});
|
|
104294
|
-
let
|
|
104295
|
-
if (ur.includes(
|
|
104296
|
-
const
|
|
104297
|
-
|
|
104289
|
+
let y;
|
|
104290
|
+
if (ur.includes(p.type) && (y = p), y) {
|
|
104291
|
+
const v = hy(y);
|
|
104292
|
+
v.reachable || mt(
|
|
104298
104293
|
d
|
|
104299
|
-
).find((
|
|
104300
|
-
a(
|
|
104294
|
+
).find((A) => A === p) || v.blocks.forEach((A) => {
|
|
104295
|
+
a(p, A.blockedByCalling);
|
|
104301
104296
|
});
|
|
104302
104297
|
}
|
|
104303
|
-
}), d.calledByEntry.forEach((
|
|
104304
|
-
if ([...
|
|
104305
|
-
mr.includes(
|
|
104298
|
+
}), d.calledByEntry.forEach((p) => {
|
|
104299
|
+
if ([...p.calls || []].forEach((v) => {
|
|
104300
|
+
mr.includes(v.type) && v !== d && (mt(
|
|
104306
104301
|
d
|
|
104307
|
-
).find((
|
|
104308
|
-
}),
|
|
104302
|
+
).find((A) => A === v) || a(p, v));
|
|
104303
|
+
}), p === o)
|
|
104309
104304
|
return;
|
|
104310
|
-
let
|
|
104311
|
-
if (
|
|
104312
|
-
const
|
|
104313
|
-
if (
|
|
104305
|
+
let y;
|
|
104306
|
+
if (p.type === f.FunctionDeclaration) {
|
|
104307
|
+
const v = fr(p);
|
|
104308
|
+
if (v.type === f.DefinitionEntity)
|
|
104314
104309
|
return;
|
|
104315
|
-
|
|
104310
|
+
v.type === f.Loop && (y = v);
|
|
104316
104311
|
}
|
|
104317
|
-
if (
|
|
104318
|
-
const
|
|
104319
|
-
|
|
104320
|
-
a(
|
|
104312
|
+
if (y) {
|
|
104313
|
+
const v = hy(y);
|
|
104314
|
+
v.reachable || v.blocks.forEach((E) => {
|
|
104315
|
+
a(p, E.blockedByCalling);
|
|
104321
104316
|
});
|
|
104322
104317
|
}
|
|
104323
104318
|
}), {
|
|
@@ -104541,7 +104536,7 @@ function uDt(d) {
|
|
|
104541
104536
|
...d.listUpdated,
|
|
104542
104537
|
...d.listAffected
|
|
104543
104538
|
].forEach((a) => {
|
|
104544
|
-
const o =
|
|
104539
|
+
const o = fr(a);
|
|
104545
104540
|
!o || i.has(o.id) || (i.add(o.id), u.push(o));
|
|
104546
104541
|
}), _(u);
|
|
104547
104542
|
}
|
|
@@ -104602,7 +104597,7 @@ function Jm(d) {
|
|
|
104602
104597
|
} else
|
|
104603
104598
|
return !1;
|
|
104604
104599
|
if (d.declaration.private) {
|
|
104605
|
-
const u =
|
|
104600
|
+
const u = fr(d), i = hf(
|
|
104606
104601
|
u,
|
|
104607
104602
|
d.project
|
|
104608
104603
|
);
|
|
@@ -104621,7 +104616,7 @@ function E$(d) {
|
|
|
104621
104616
|
} else
|
|
104622
104617
|
return !1;
|
|
104623
104618
|
if (d.private) {
|
|
104624
|
-
const u =
|
|
104619
|
+
const u = fr(d), i = hf(
|
|
104625
104620
|
u,
|
|
104626
104621
|
d.project
|
|
104627
104622
|
);
|
|
@@ -104925,7 +104920,7 @@ function x1t(d) {
|
|
|
104925
104920
|
return "Run in sequence";
|
|
104926
104921
|
case Ai.HttpRequest:
|
|
104927
104922
|
return "HTTP request";
|
|
104928
|
-
case
|
|
104923
|
+
case pr.CreateNewInstance:
|
|
104929
104924
|
return "Create new copy of entity";
|
|
104930
104925
|
case Se.AddIndex:
|
|
104931
104926
|
return "Add item at index position";
|
|
@@ -112509,7 +112504,7 @@ class o_t extends yt {
|
|
|
112509
112504
|
return i.inputs.find(
|
|
112510
112505
|
(a) => {
|
|
112511
112506
|
var o;
|
|
112512
|
-
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[
|
|
112507
|
+
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].inputs.entityToMatch.id;
|
|
112513
112508
|
}
|
|
112514
112509
|
) || null;
|
|
112515
112510
|
}
|
|
@@ -112517,7 +112512,7 @@ class o_t extends yt {
|
|
|
112517
112512
|
return i.inputs.find(
|
|
112518
112513
|
(a) => {
|
|
112519
112514
|
var o;
|
|
112520
|
-
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[
|
|
112515
|
+
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].inputs.dataToValidate.id;
|
|
112521
112516
|
}
|
|
112522
112517
|
) || null;
|
|
112523
112518
|
}
|
|
@@ -112525,7 +112520,7 @@ class o_t extends yt {
|
|
|
112525
112520
|
return i.outputs.find(
|
|
112526
112521
|
(a) => {
|
|
112527
112522
|
var o;
|
|
112528
|
-
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[
|
|
112523
|
+
return ((o = a.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].outputs.outputEntity.id;
|
|
112529
112524
|
}
|
|
112530
112525
|
) || null;
|
|
112531
112526
|
}
|
|
@@ -112614,7 +112609,7 @@ class o_t extends yt {
|
|
|
112614
112609
|
)) {
|
|
112615
112610
|
var w, A, C, N, M, G, K, S, re, J, oe, Y, ue, z, H, ce, Q;
|
|
112616
112611
|
const o = [], p = [], e = [], y = [];
|
|
112617
|
-
if (((w = i.declaration) == null ? void 0 : w.id) !== fe.operation[
|
|
112612
|
+
if (((w = i.declaration) == null ? void 0 : w.id) !== fe.operation[pr.Validate].inputs.entityToMatch.id)
|
|
112618
112613
|
return a == null || a.attemptAutoclose(
|
|
112619
112614
|
"sync-entity-to-match-input-map-data-type",
|
|
112620
112615
|
this.id
|
|
@@ -112694,7 +112689,7 @@ class o_t extends yt {
|
|
|
112694
112689
|
)) {
|
|
112695
112690
|
var A, C, N;
|
|
112696
112691
|
const o = [], p = [], e = [], y = [];
|
|
112697
|
-
if (((A = i.declaration) == null ? void 0 : A.id) !== fe.operation[
|
|
112692
|
+
if (((A = i.declaration) == null ? void 0 : A.id) !== fe.operation[pr.Validate].inputs.dataToValidate.id)
|
|
112698
112693
|
return a == null || a.attemptAutoclose(
|
|
112699
112694
|
"sync-data-to-validate-input-map-data-type",
|
|
112700
112695
|
this.id
|
|
@@ -112800,7 +112795,7 @@ class o_t extends yt {
|
|
|
112800
112795
|
)) {
|
|
112801
112796
|
var C, N, M, G;
|
|
112802
112797
|
const o = [], p = [], e = [], y = [];
|
|
112803
|
-
if (((C = i.declaration) == null ? void 0 : C.id) !== fe.operation[
|
|
112798
|
+
if (((C = i.declaration) == null ? void 0 : C.id) !== fe.operation[pr.Validate].outputs.outputEntity.id)
|
|
112804
112799
|
return a == null || a.attemptAutoclose(
|
|
112805
112800
|
"sync-output-data-output-map-data-type",
|
|
112806
112801
|
this.id
|
|
@@ -112905,7 +112900,7 @@ class o_t extends yt {
|
|
|
112905
112900
|
)
|
|
112906
112901
|
)) {
|
|
112907
112902
|
var p, e, y;
|
|
112908
|
-
if (((p = i.declaration) == null ? void 0 : p.id) === fe.operation[
|
|
112903
|
+
if (((p = i.declaration) == null ? void 0 : p.id) === fe.operation[pr.Validate].inputs.entityToMatch.id) {
|
|
112909
112904
|
const { added: v, updated: E, removed: w, affected: A } = this.syncEntityToMatchInputMapDataType(i, a);
|
|
112910
112905
|
return a == null || a.attemptAutoclose("infer-input-map-data-type", this.id), {
|
|
112911
112906
|
updated: _(
|
|
@@ -112921,7 +112916,7 @@ class o_t extends yt {
|
|
|
112921
112916
|
self: i.dataType
|
|
112922
112917
|
};
|
|
112923
112918
|
}
|
|
112924
|
-
if (((e = i.declaration) == null ? void 0 : e.id) === fe.operation[
|
|
112919
|
+
if (((e = i.declaration) == null ? void 0 : e.id) === fe.operation[pr.Validate].inputs.dataToValidate.id) {
|
|
112925
112920
|
const { added: v, updated: E, removed: w, affected: A } = this.syncDataToValidateInputMapDataType(i, a);
|
|
112926
112921
|
return a == null || a.attemptAutoclose("infer-input-map-data-type", this.id), {
|
|
112927
112922
|
updated: _(
|
|
@@ -112987,7 +112982,7 @@ class o_t extends yt {
|
|
|
112987
112982
|
)
|
|
112988
112983
|
)) {
|
|
112989
112984
|
var o;
|
|
112990
|
-
if (((o = i.declaration) == null ? void 0 : o.id) === fe.operation[
|
|
112985
|
+
if (((o = i.declaration) == null ? void 0 : o.id) === fe.operation[pr.Validate].outputs.outputEntity.id) {
|
|
112991
112986
|
const { added: p, updated: e, removed: y, affected: v } = this.syncOutputDataOutputMapDataType(i, a);
|
|
112992
112987
|
return a == null || a.attemptAutoclose(
|
|
112993
112988
|
"infer-output-map-data-type-validate-data",
|
|
@@ -113869,7 +113864,7 @@ export {
|
|
|
113869
113864
|
ie as EntityGenerationError,
|
|
113870
113865
|
k as EntityGenerationErrorCode,
|
|
113871
113866
|
ee as EntityInstanceErrorCode,
|
|
113872
|
-
|
|
113867
|
+
pr as EntityOperations,
|
|
113873
113868
|
f as EntityType,
|
|
113874
113869
|
ODt as EntityWithLogicScopeClass,
|
|
113875
113870
|
CDt as EntityWithValueClass,
|
|
@@ -114529,7 +114524,7 @@ export {
|
|
|
114529
114524
|
DI as getParentCallableEntity,
|
|
114530
114525
|
Cwt as getParentCallerEntity,
|
|
114531
114526
|
Ya as getParentCanvasEntities,
|
|
114532
|
-
|
|
114527
|
+
fr as getParentCanvasEntity,
|
|
114533
114528
|
rp as getParentCanvasEntityFromTransfer,
|
|
114534
114529
|
yp as getParentEntryPoint,
|
|
114535
114530
|
_B as getParentExecutableEntity,
|