@elyx-code/project-logic-tree 0.0.6087 → 0.0.6088
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 +240 -238
- package/dist/index.umd.cjs +20 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var cT = Object.defineProperty;
|
|
2
2
|
var dT = (r, e, t) => e in r ? cT(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var c = (r, e, t) => (dT(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
var n = /* @__PURE__ */ ((r) => (r.CustomEntity = "custom-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.PrimitiveValue = "primitive-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 || {}), V = /* @__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))(V || {}), Je = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Je || {}),
|
|
4
|
+
var n = /* @__PURE__ */ ((r) => (r.CustomEntity = "custom-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.PrimitiveValue = "primitive-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 || {}), V = /* @__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))(V || {}), Je = /* @__PURE__ */ ((r) => (r.CurrentDateAndTime = "current-date-and-time", r.Unique = "unique", r.Random = "random", r))(Je || {}), I = /* @__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))(I || {}), Md = /* @__PURE__ */ ((r) => (r.DataTypeLiteralValue = "data-type-literal-value", r))(Md || {}), Be = /* @__PURE__ */ ((r) => (r.Addition = "addition", r.Subtraction = "subtraction", r.Multiplication = "multiplication", r.Division = "division", r.Remainder = "remainder", r.Exponentiation = "exponentiation", r))(Be || {}), Z = /* @__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))(Z || {}), W = /* @__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))(W || {}), we = /* @__PURE__ */ ((r) => (r.Parallel = "parallel", r.Sequential = "sequential", r.Wait = "wait", r))(we || {}), Ce = /* @__PURE__ */ ((r) => (r.CreateNewInstance = "create-new-instance", r.Validate = "validate", r))(Ce || {}), ot = /* @__PURE__ */ ((r) => (r.HttpRequest = "base-http-request", r))(ot || {}), $e = /* @__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))($e || {}), qt = /* @__PURE__ */ ((r) => (r.Empty = "empty", r.NotEmpty = "not-empty", r))(qt || {}), $ = /* @__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))($ || {}), A = /* @__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))(A || {}), Qe = /* @__PURE__ */ ((r) => (r.OrDataTypeGroup = "or-data-type-group", r.AndDataTypeGroup = "and-data-type-group", r))(Qe || {}), In = /* @__PURE__ */ ((r) => (r.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", r))(In || {}), Bt = /* @__PURE__ */ ((r) => (r.DeletePersistedEntity = "base-delete-persisted-entity", r.SoftDeletePersistedEntity = "base-soft-delete-persisted-entity", r.AbortExecution = "base-abort-execution", r))(Bt || {}), Di = /* @__PURE__ */ ((r) => (r.Error = "error", r.Task = "task", r.Return = "return", r))(Di || {});
|
|
5
5
|
const kn = [
|
|
6
6
|
n.VariableDeclaration,
|
|
7
7
|
n.VariableInstance,
|
|
@@ -150,23 +150,23 @@ const kn = [
|
|
|
150
150
|
var $d = /* @__PURE__ */ ((r) => (r.ActionOngoingProcessOutputValue = "action-ongoing-process-output-value-descriptor-id", r))($d || {});
|
|
151
151
|
const C = {
|
|
152
152
|
[n.PrimitiveEntity]: {
|
|
153
|
-
[
|
|
153
|
+
[I.String]: {
|
|
154
154
|
id: "8b5fbe15-4c2b-48c0-9fd8-e5efbe3978dc",
|
|
155
155
|
properties: {}
|
|
156
156
|
},
|
|
157
|
-
[
|
|
157
|
+
[I.Boolean]: {
|
|
158
158
|
id: "f596545d-1565-4faa-9969-d95fa5edfea4",
|
|
159
159
|
properties: {}
|
|
160
160
|
},
|
|
161
|
-
[
|
|
161
|
+
[I.Number]: {
|
|
162
162
|
id: "ecb84c29-6153-4b82-86a5-fce2b5f92002",
|
|
163
163
|
properties: {}
|
|
164
164
|
},
|
|
165
|
-
[
|
|
165
|
+
[I.KeyValue]: {
|
|
166
166
|
id: "b6f3c3c4-9c3d-4f9d-9e9e-1c0f6a3c8c6b",
|
|
167
167
|
properties: {}
|
|
168
168
|
},
|
|
169
|
-
[
|
|
169
|
+
[I.Enum]: {
|
|
170
170
|
id: "9542b8b4-2642-4eee-9db9-def7963a17a0",
|
|
171
171
|
properties: {
|
|
172
172
|
options: {
|
|
@@ -180,19 +180,19 @@ const C = {
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
|
-
[
|
|
183
|
+
[I.UUID]: {
|
|
184
184
|
id: "4a6234aa-c0f6-4731-b4dd-750388029226",
|
|
185
185
|
properties: {}
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[I.Date]: {
|
|
188
188
|
id: "dc58f38b-d574-4956-aac6-32ce9529b937",
|
|
189
189
|
properties: {}
|
|
190
190
|
},
|
|
191
|
-
[
|
|
191
|
+
[I.Null]: {
|
|
192
192
|
id: "7d698f34-5a89-4aab-846b-07ef3843b8c4",
|
|
193
193
|
properties: {}
|
|
194
194
|
},
|
|
195
|
-
[
|
|
195
|
+
[I.Untyped]: {
|
|
196
196
|
id: "4044a018-818e-49d7-bf9a-c3dd1fff2102",
|
|
197
197
|
properties: {}
|
|
198
198
|
}
|
|
@@ -610,7 +610,7 @@ const C = {
|
|
|
610
610
|
id: Mt.string.id,
|
|
611
611
|
description: "A string of characters.",
|
|
612
612
|
version: 1,
|
|
613
|
-
name:
|
|
613
|
+
name: I.String,
|
|
614
614
|
static: !1,
|
|
615
615
|
abstract: !1,
|
|
616
616
|
abstractMethods: [],
|
|
@@ -622,7 +622,7 @@ const C = {
|
|
|
622
622
|
id: Mt.boolean.id,
|
|
623
623
|
description: "A 'true' or 'false' value.",
|
|
624
624
|
version: 1,
|
|
625
|
-
name:
|
|
625
|
+
name: I.Boolean,
|
|
626
626
|
static: !1,
|
|
627
627
|
abstract: !1,
|
|
628
628
|
abstractMethods: [],
|
|
@@ -634,7 +634,7 @@ const C = {
|
|
|
634
634
|
id: Mt.number.id,
|
|
635
635
|
description: "A number value.",
|
|
636
636
|
version: 1,
|
|
637
|
-
name:
|
|
637
|
+
name: I.Number,
|
|
638
638
|
static: !1,
|
|
639
639
|
abstract: !1,
|
|
640
640
|
abstractMethods: [],
|
|
@@ -646,7 +646,7 @@ const C = {
|
|
|
646
646
|
id: Mt.null.id,
|
|
647
647
|
description: "An explicitly empty value.",
|
|
648
648
|
version: 1,
|
|
649
|
-
name:
|
|
649
|
+
name: I.Null,
|
|
650
650
|
static: !1,
|
|
651
651
|
abstract: !1,
|
|
652
652
|
abstractMethods: [],
|
|
@@ -658,7 +658,7 @@ const C = {
|
|
|
658
658
|
id: Mt.untyped.id,
|
|
659
659
|
description: "Data of any type that isn't known in advance.",
|
|
660
660
|
version: 1,
|
|
661
|
-
name:
|
|
661
|
+
name: I.Untyped,
|
|
662
662
|
static: !1,
|
|
663
663
|
abstract: !1,
|
|
664
664
|
abstractMethods: [],
|
|
@@ -693,7 +693,7 @@ const C = {
|
|
|
693
693
|
id: Mt.enum.properties.options.dataType.defaultValue.id,
|
|
694
694
|
type: n.PrimitiveValue,
|
|
695
695
|
version: 1,
|
|
696
|
-
name:
|
|
696
|
+
name: I.KeyValue,
|
|
697
697
|
autogeneration: null,
|
|
698
698
|
value: [],
|
|
699
699
|
valueAsType: null,
|
|
@@ -725,7 +725,7 @@ const C = {
|
|
|
725
725
|
id: Mt.enum.id,
|
|
726
726
|
description: "A set of text options to choose from.",
|
|
727
727
|
version: 1,
|
|
728
|
-
name:
|
|
728
|
+
name: I.Enum,
|
|
729
729
|
static: !1,
|
|
730
730
|
abstract: !1,
|
|
731
731
|
abstractMethods: [],
|
|
@@ -737,7 +737,7 @@ const C = {
|
|
|
737
737
|
id: Mt.date.id,
|
|
738
738
|
description: "A date and time value.",
|
|
739
739
|
version: 1,
|
|
740
|
-
name:
|
|
740
|
+
name: I.Date,
|
|
741
741
|
static: !1,
|
|
742
742
|
abstract: !1,
|
|
743
743
|
abstractMethods: [],
|
|
@@ -749,7 +749,7 @@ const C = {
|
|
|
749
749
|
id: Mt.uuid.id,
|
|
750
750
|
description: "A unique identifier in the form of a 36-character string.",
|
|
751
751
|
version: 1,
|
|
752
|
-
name:
|
|
752
|
+
name: I.UUID,
|
|
753
753
|
static: !1,
|
|
754
754
|
abstract: !1,
|
|
755
755
|
abstractMethods: [],
|
|
@@ -758,10 +758,10 @@ const C = {
|
|
|
758
758
|
methods: []
|
|
759
759
|
}, Ld = {
|
|
760
760
|
type: n.PrimitiveEntity,
|
|
761
|
-
id: Mt[
|
|
761
|
+
id: Mt[I.KeyValue].id,
|
|
762
762
|
description: "A complex data structure with any combination of properties with names and values.",
|
|
763
763
|
version: 1,
|
|
764
|
-
name:
|
|
764
|
+
name: I.KeyValue,
|
|
765
765
|
static: !1,
|
|
766
766
|
abstract: !1,
|
|
767
767
|
abstractMethods: [],
|
|
@@ -1200,7 +1200,7 @@ const C = {
|
|
|
1200
1200
|
type: n.PrimitiveValue,
|
|
1201
1201
|
id: "join-strings-separator-string-data-type-default-value-id",
|
|
1202
1202
|
version: 1,
|
|
1203
|
-
name:
|
|
1203
|
+
name: I.String,
|
|
1204
1204
|
value: "",
|
|
1205
1205
|
valueAsType: null,
|
|
1206
1206
|
autogeneration: null,
|
|
@@ -2653,7 +2653,7 @@ const Rv = {
|
|
|
2653
2653
|
type: n.PrimitiveValue,
|
|
2654
2654
|
version: 1,
|
|
2655
2655
|
value: "https://some-url.com",
|
|
2656
|
-
name:
|
|
2656
|
+
name: I.String,
|
|
2657
2657
|
valueAsType: null,
|
|
2658
2658
|
parent: Wv,
|
|
2659
2659
|
autogeneration: null
|
|
@@ -2708,7 +2708,7 @@ const Rv = {
|
|
|
2708
2708
|
type: n.PrimitiveValue,
|
|
2709
2709
|
version: 1,
|
|
2710
2710
|
value: "GET",
|
|
2711
|
-
name:
|
|
2711
|
+
name: I.Enum,
|
|
2712
2712
|
valueAsType: null,
|
|
2713
2713
|
parent: Xv,
|
|
2714
2714
|
autogeneration: null
|
|
@@ -2832,7 +2832,7 @@ const Rv = {
|
|
|
2832
2832
|
type: n.PrimitiveValue,
|
|
2833
2833
|
version: 1,
|
|
2834
2834
|
value: {},
|
|
2835
|
-
name:
|
|
2835
|
+
name: I.KeyValue,
|
|
2836
2836
|
parent: lR,
|
|
2837
2837
|
valueAsType: null,
|
|
2838
2838
|
autogeneration: null
|
|
@@ -2867,7 +2867,7 @@ const Rv = {
|
|
|
2867
2867
|
type: n.PrimitiveValue,
|
|
2868
2868
|
version: 1,
|
|
2869
2869
|
value: {},
|
|
2870
|
-
name:
|
|
2870
|
+
name: I.KeyValue,
|
|
2871
2871
|
parent: uR,
|
|
2872
2872
|
valueAsType: null,
|
|
2873
2873
|
autogeneration: null
|
|
@@ -3911,7 +3911,7 @@ const Rv = {
|
|
|
3911
3911
|
parentRelationType: null,
|
|
3912
3912
|
id: "counted-loop-string-argument-declaration-data-type-default-value-id",
|
|
3913
3913
|
type: n.PrimitiveValue,
|
|
3914
|
-
name:
|
|
3914
|
+
name: I.Number,
|
|
3915
3915
|
version: 1,
|
|
3916
3916
|
value: 5,
|
|
3917
3917
|
valueAsType: null,
|
|
@@ -4194,7 +4194,7 @@ const Rv = {
|
|
|
4194
4194
|
id: "endpointBuiltInCorsPropertyDataTypeDefaultValueId",
|
|
4195
4195
|
type: n.PrimitiveValue,
|
|
4196
4196
|
version: 1,
|
|
4197
|
-
name:
|
|
4197
|
+
name: I.KeyValue,
|
|
4198
4198
|
value: ["*"],
|
|
4199
4199
|
parent: vI,
|
|
4200
4200
|
autogeneration: null,
|
|
@@ -4249,7 +4249,7 @@ const Rv = {
|
|
|
4249
4249
|
id: "endpointBuiltInPathPropertyDataTypeDefaultValueId",
|
|
4250
4250
|
type: n.PrimitiveValue,
|
|
4251
4251
|
version: 1,
|
|
4252
|
-
name:
|
|
4252
|
+
name: I.String,
|
|
4253
4253
|
value: "/",
|
|
4254
4254
|
parent: PI,
|
|
4255
4255
|
autogeneration: null,
|
|
@@ -4305,7 +4305,7 @@ const Rv = {
|
|
|
4305
4305
|
type: n.PrimitiveValue,
|
|
4306
4306
|
version: 1,
|
|
4307
4307
|
value: "GET",
|
|
4308
|
-
name:
|
|
4308
|
+
name: I.Enum,
|
|
4309
4309
|
parent: CI,
|
|
4310
4310
|
autogeneration: null,
|
|
4311
4311
|
valueAsType: null
|
|
@@ -4371,7 +4371,7 @@ const Rv = {
|
|
|
4371
4371
|
id: "endpointRequestHeadersVariableDataTypeDefaultValueId",
|
|
4372
4372
|
type: n.PrimitiveValue,
|
|
4373
4373
|
version: 1,
|
|
4374
|
-
name:
|
|
4374
|
+
name: I.KeyValue,
|
|
4375
4375
|
value: {},
|
|
4376
4376
|
parent: MI,
|
|
4377
4377
|
autogeneration: null,
|
|
@@ -4426,7 +4426,7 @@ const Rv = {
|
|
|
4426
4426
|
id: "endpointRequestQueryParamsVariableDataTypeDefaultValueId",
|
|
4427
4427
|
type: n.PrimitiveValue,
|
|
4428
4428
|
version: 1,
|
|
4429
|
-
name:
|
|
4429
|
+
name: I.KeyValue,
|
|
4430
4430
|
value: [],
|
|
4431
4431
|
parent: LI,
|
|
4432
4432
|
autogeneration: null,
|
|
@@ -4461,7 +4461,7 @@ const Rv = {
|
|
|
4461
4461
|
id: "endpointPathParamsVariableDataTypeDefaultValueId",
|
|
4462
4462
|
type: n.PrimitiveValue,
|
|
4463
4463
|
version: 1,
|
|
4464
|
-
name:
|
|
4464
|
+
name: I.KeyValue,
|
|
4465
4465
|
value: [],
|
|
4466
4466
|
parent: UI,
|
|
4467
4467
|
autogeneration: null,
|
|
@@ -4596,7 +4596,7 @@ const Rv = {
|
|
|
4596
4596
|
id: "endpointResponseHeadersDataTypeDefaultValueId",
|
|
4597
4597
|
type: n.PrimitiveValue,
|
|
4598
4598
|
version: 1,
|
|
4599
|
-
name:
|
|
4599
|
+
name: I.KeyValue,
|
|
4600
4600
|
value: {},
|
|
4601
4601
|
parent: KI,
|
|
4602
4602
|
autogeneration: null,
|
|
@@ -4724,7 +4724,7 @@ const Rv = {
|
|
|
4724
4724
|
id: "relational-database-built-in-base-entity-identifier-property-default-value-id",
|
|
4725
4725
|
type: n.PrimitiveValue,
|
|
4726
4726
|
version: 1,
|
|
4727
|
-
name:
|
|
4727
|
+
name: I.String,
|
|
4728
4728
|
value: null,
|
|
4729
4729
|
parent: aD,
|
|
4730
4730
|
autogeneration: {
|
|
@@ -4783,7 +4783,7 @@ const Rv = {
|
|
|
4783
4783
|
id: "relational-database-built-in-base-entity-username-property-default-value-id",
|
|
4784
4784
|
type: n.PrimitiveValue,
|
|
4785
4785
|
version: 1,
|
|
4786
|
-
name:
|
|
4786
|
+
name: I.String,
|
|
4787
4787
|
value: "postgres",
|
|
4788
4788
|
parent: {
|
|
4789
4789
|
id: "relational-database-built-in-base-entity-username-property-data-type-default-value-parent-ref-id",
|
|
@@ -4878,7 +4878,7 @@ const Rv = {
|
|
|
4878
4878
|
id: "relational-database-built-in-base-entity-min-size-property-default-value-id",
|
|
4879
4879
|
type: n.PrimitiveValue,
|
|
4880
4880
|
version: 1,
|
|
4881
|
-
name:
|
|
4881
|
+
name: I.Number,
|
|
4882
4882
|
value: 6,
|
|
4883
4883
|
parent: pD,
|
|
4884
4884
|
autogeneration: null,
|
|
@@ -4928,7 +4928,7 @@ const Rv = {
|
|
|
4928
4928
|
id: "relational-database-built-in-base-entity-default-property-default-value-id",
|
|
4929
4929
|
type: n.PrimitiveValue,
|
|
4930
4930
|
version: 1,
|
|
4931
|
-
name:
|
|
4931
|
+
name: I.Boolean,
|
|
4932
4932
|
value: !1,
|
|
4933
4933
|
parent: fD,
|
|
4934
4934
|
autogeneration: null,
|
|
@@ -4978,7 +4978,7 @@ const Rv = {
|
|
|
4978
4978
|
id: "relational-database-built-in-base-entity-autoscaling-property-default-value-id",
|
|
4979
4979
|
type: n.PrimitiveValue,
|
|
4980
4980
|
version: 1,
|
|
4981
|
-
name:
|
|
4981
|
+
name: I.Boolean,
|
|
4982
4982
|
value: !1,
|
|
4983
4983
|
parent: ED,
|
|
4984
4984
|
autogeneration: null,
|
|
@@ -5140,7 +5140,7 @@ const Rv = {
|
|
|
5140
5140
|
id: "persisted-built-in-base-entity-identifier-property-data-type-default-value-id",
|
|
5141
5141
|
type: n.PrimitiveValue,
|
|
5142
5142
|
version: 1,
|
|
5143
|
-
name:
|
|
5143
|
+
name: I.UUID,
|
|
5144
5144
|
value: null,
|
|
5145
5145
|
parent: OD,
|
|
5146
5146
|
autogeneration: {
|
|
@@ -8480,32 +8480,32 @@ function lA(r) {
|
|
|
8480
8480
|
let i = _a();
|
|
8481
8481
|
if (((a = r.dataType.entity) == null ? void 0 : a.type) === n.PrimitiveEntity)
|
|
8482
8482
|
switch (r.dataType.entity.name) {
|
|
8483
|
-
case
|
|
8483
|
+
case I.String:
|
|
8484
8484
|
i = Ja();
|
|
8485
8485
|
break;
|
|
8486
|
-
case
|
|
8486
|
+
case I.KeyValue:
|
|
8487
8487
|
i = zu(_a());
|
|
8488
8488
|
break;
|
|
8489
|
-
case
|
|
8489
|
+
case I.Number:
|
|
8490
8490
|
i = al();
|
|
8491
8491
|
break;
|
|
8492
|
-
case
|
|
8492
|
+
case I.Boolean:
|
|
8493
8493
|
i = sl();
|
|
8494
8494
|
break;
|
|
8495
|
-
case
|
|
8495
|
+
case I.Date:
|
|
8496
8496
|
i = Wu();
|
|
8497
8497
|
break;
|
|
8498
|
-
case
|
|
8498
|
+
case I.Enum: {
|
|
8499
8499
|
const l = r.dataType.options || [];
|
|
8500
8500
|
if (l.length === 0)
|
|
8501
8501
|
throw new Error(`Enum property ${r.name} has no options`);
|
|
8502
8502
|
i = Zu(l);
|
|
8503
8503
|
break;
|
|
8504
8504
|
}
|
|
8505
|
-
case
|
|
8505
|
+
case I.Null:
|
|
8506
8506
|
i = Yu();
|
|
8507
8507
|
break;
|
|
8508
|
-
case
|
|
8508
|
+
case I.UUID:
|
|
8509
8509
|
i = Ja().uuid();
|
|
8510
8510
|
break;
|
|
8511
8511
|
}
|
|
@@ -8849,7 +8849,7 @@ function rS(r) {
|
|
|
8849
8849
|
l[R] = eo(l[R - 3] ^ l[R - 8] ^ l[R - 14] ^ l[R - 16], 1);
|
|
8850
8850
|
let u = t[0], p = t[1], y = t[2], f = t[3], E = t[4];
|
|
8851
8851
|
for (let R = 0; R < 80; ++R) {
|
|
8852
|
-
const
|
|
8852
|
+
const D = Math.floor(R / 20), P = eo(u, 5) + nS(D, p, y, f) + E + e[D] + l[R] >>> 0;
|
|
8853
8853
|
E = f, f = y, y = eo(p, 30) >>> 0, p = u, u = P;
|
|
8854
8854
|
}
|
|
8855
8855
|
t[0] = t[0] + u >>> 0, t[1] = t[1] + p >>> 0, t[2] = t[2] + y >>> 0, t[3] = t[3] + f >>> 0, t[4] = t[4] + E >>> 0;
|
|
@@ -9022,8 +9022,8 @@ var vS = (() => {
|
|
|
9022
9022
|
validate: (E, R = !1) => {
|
|
9023
9023
|
if (!E || typeof E != "string")
|
|
9024
9024
|
return !1;
|
|
9025
|
-
const
|
|
9026
|
-
return R === !1 ?
|
|
9025
|
+
const D = a.consistentLength ? E.length === s : E.length <= s, P = E.split("").every((g) => i.includes(g));
|
|
9026
|
+
return R === !1 ? D && P : D && P && TS(ld(E, u));
|
|
9027
9027
|
}
|
|
9028
9028
|
};
|
|
9029
9029
|
return Object.freeze(f), f;
|
|
@@ -9083,28 +9083,28 @@ function _2(r) {
|
|
|
9083
9083
|
return null;
|
|
9084
9084
|
switch (r.autogeneration.type) {
|
|
9085
9085
|
case Je.CurrentDateAndTime:
|
|
9086
|
-
if (r.name ===
|
|
9086
|
+
if (r.name === I.Date)
|
|
9087
9087
|
return /* @__PURE__ */ new Date();
|
|
9088
9088
|
case Je.Random: {
|
|
9089
|
-
if (r.name ===
|
|
9089
|
+
if (r.name === I.Date)
|
|
9090
9090
|
return yA(
|
|
9091
9091
|
r.autogeneration
|
|
9092
9092
|
);
|
|
9093
|
-
if (r.name ===
|
|
9093
|
+
if (r.name === I.Number)
|
|
9094
9094
|
return PS(
|
|
9095
9095
|
r.autogeneration
|
|
9096
9096
|
);
|
|
9097
|
-
if (r.name ===
|
|
9097
|
+
if (r.name === I.String)
|
|
9098
9098
|
return CS(
|
|
9099
9099
|
r.autogeneration
|
|
9100
9100
|
);
|
|
9101
|
-
if (r.name ===
|
|
9101
|
+
if (r.name === I.Boolean)
|
|
9102
9102
|
return wS(
|
|
9103
9103
|
r.autogeneration
|
|
9104
9104
|
);
|
|
9105
9105
|
}
|
|
9106
9106
|
case Je.Unique:
|
|
9107
|
-
if (r.name ===
|
|
9107
|
+
if (r.name === I.UUID)
|
|
9108
9108
|
return RS();
|
|
9109
9109
|
default:
|
|
9110
9110
|
throw new Error(
|
|
@@ -9140,7 +9140,7 @@ const J = "e7eb5382-3d99-44fd-972a-b8b1e819f6be", ll = "global-user-variable-id"
|
|
|
9140
9140
|
id: "alternative-relational-database-entity-identifier-property-data-type-default-value-id",
|
|
9141
9141
|
type: n.PrimitiveValue,
|
|
9142
9142
|
version: 1,
|
|
9143
|
-
name:
|
|
9143
|
+
name: I.String,
|
|
9144
9144
|
value: null,
|
|
9145
9145
|
parent: BS,
|
|
9146
9146
|
autogeneration: {
|
|
@@ -9273,7 +9273,7 @@ const LS = {
|
|
|
9273
9273
|
id: "alternative-relational-database-entity-min-size-property-data-type-default-value-id",
|
|
9274
9274
|
type: n.PrimitiveValue,
|
|
9275
9275
|
version: 1,
|
|
9276
|
-
name:
|
|
9276
|
+
name: I.Number,
|
|
9277
9277
|
value: 6,
|
|
9278
9278
|
parent: US,
|
|
9279
9279
|
autogeneration: null,
|
|
@@ -9352,7 +9352,7 @@ const LS = {
|
|
|
9352
9352
|
type: n.PrimitiveValue,
|
|
9353
9353
|
version: 1,
|
|
9354
9354
|
value: null,
|
|
9355
|
-
name:
|
|
9355
|
+
name: I.EntityTemplate,
|
|
9356
9356
|
valueAsType: sp,
|
|
9357
9357
|
autogeneration: null,
|
|
9358
9358
|
parent: YS
|
|
@@ -9467,7 +9467,7 @@ const LS = {
|
|
|
9467
9467
|
id: "default-relational-database-entity-identifier-property-data-type-default-value-id",
|
|
9468
9468
|
type: n.PrimitiveValue,
|
|
9469
9469
|
version: 1,
|
|
9470
|
-
name:
|
|
9470
|
+
name: I.String,
|
|
9471
9471
|
value: "main",
|
|
9472
9472
|
parent: rO,
|
|
9473
9473
|
autogeneration: {
|
|
@@ -9528,7 +9528,7 @@ const oO = {
|
|
|
9528
9528
|
id: "default-relational-database-entity-username-property-data-type-default-value-id",
|
|
9529
9529
|
type: n.PrimitiveValue,
|
|
9530
9530
|
version: 1,
|
|
9531
|
-
name:
|
|
9531
|
+
name: I.String,
|
|
9532
9532
|
value: "root",
|
|
9533
9533
|
parent: lO,
|
|
9534
9534
|
autogeneration: null,
|
|
@@ -9580,7 +9580,7 @@ const uO = {
|
|
|
9580
9580
|
id: "default-relational-database-entity-password-property-data-type-default-value-id",
|
|
9581
9581
|
type: n.PrimitiveValue,
|
|
9582
9582
|
version: 1,
|
|
9583
|
-
name:
|
|
9583
|
+
name: I.String,
|
|
9584
9584
|
value: "password",
|
|
9585
9585
|
parent: pO,
|
|
9586
9586
|
autogeneration: null,
|
|
@@ -9630,7 +9630,7 @@ const uO = {
|
|
|
9630
9630
|
id: "default-relational-database-entity-min-size-property-data-type-default-value-id",
|
|
9631
9631
|
type: n.PrimitiveValue,
|
|
9632
9632
|
version: 1,
|
|
9633
|
-
name:
|
|
9633
|
+
name: I.Number,
|
|
9634
9634
|
value: 6,
|
|
9635
9635
|
parent: fO,
|
|
9636
9636
|
autogeneration: null,
|
|
@@ -9680,7 +9680,7 @@ const uO = {
|
|
|
9680
9680
|
id: "default-relational-database-entity-default-property-data-type-default-value-id",
|
|
9681
9681
|
type: n.PrimitiveValue,
|
|
9682
9682
|
version: 1,
|
|
9683
|
-
name:
|
|
9683
|
+
name: I.Boolean,
|
|
9684
9684
|
value: !0,
|
|
9685
9685
|
parent: EO,
|
|
9686
9686
|
autogeneration: null,
|
|
@@ -9730,7 +9730,7 @@ const uO = {
|
|
|
9730
9730
|
id: "default-relational-database-entity-autoscaling-property-data-type-default-value-id",
|
|
9731
9731
|
type: n.PrimitiveValue,
|
|
9732
9732
|
version: 1,
|
|
9733
|
-
name:
|
|
9733
|
+
name: I.Boolean,
|
|
9734
9734
|
value: !0,
|
|
9735
9735
|
parent: IO,
|
|
9736
9736
|
autogeneration: null,
|
|
@@ -9811,7 +9811,7 @@ const uO = {
|
|
|
9811
9811
|
type: n.PrimitiveValue,
|
|
9812
9812
|
version: 1,
|
|
9813
9813
|
value: null,
|
|
9814
|
-
name:
|
|
9814
|
+
name: I.EntityTemplate,
|
|
9815
9815
|
valueAsType: cl,
|
|
9816
9816
|
autogeneration: null,
|
|
9817
9817
|
parent: OO
|
|
@@ -11246,7 +11246,7 @@ const uO = {
|
|
|
11246
11246
|
type: n.PrimitiveValue,
|
|
11247
11247
|
version: 1,
|
|
11248
11248
|
value: "https://api.publicapis.org/entries",
|
|
11249
|
-
name:
|
|
11249
|
+
name: I.String,
|
|
11250
11250
|
valueAsType: null,
|
|
11251
11251
|
parent: eB,
|
|
11252
11252
|
autogeneration: null
|
|
@@ -11476,7 +11476,7 @@ const uO = {
|
|
|
11476
11476
|
type: n.PrimitiveValue,
|
|
11477
11477
|
version: 1,
|
|
11478
11478
|
value: "?name=",
|
|
11479
|
-
name:
|
|
11479
|
+
name: I.String,
|
|
11480
11480
|
parent: AB,
|
|
11481
11481
|
valueAsType: null,
|
|
11482
11482
|
autogeneration: null
|
|
@@ -12495,7 +12495,7 @@ const eM = {
|
|
|
12495
12495
|
id: "getCompanyByIdEndpointPathParamsVariableDataTypeDefaultValueId",
|
|
12496
12496
|
type: n.PrimitiveValue,
|
|
12497
12497
|
version: 1,
|
|
12498
|
-
name:
|
|
12498
|
+
name: I.KeyValue,
|
|
12499
12499
|
value: {},
|
|
12500
12500
|
parent: yM,
|
|
12501
12501
|
autogeneration: null,
|
|
@@ -12535,7 +12535,7 @@ const eM = {
|
|
|
12535
12535
|
id: "getCompanyByIdEndpointRequestHeadersVariableDataTypeDefaultValueId",
|
|
12536
12536
|
type: n.PrimitiveValue,
|
|
12537
12537
|
version: 1,
|
|
12538
|
-
name:
|
|
12538
|
+
name: I.KeyValue,
|
|
12539
12539
|
value: {},
|
|
12540
12540
|
parent: TM,
|
|
12541
12541
|
autogeneration: null,
|
|
@@ -12604,7 +12604,7 @@ const eM = {
|
|
|
12604
12604
|
id: "getCompanyByIdEndpointRequestQueryParamsVariableDataTypeDefaultValueId",
|
|
12605
12605
|
type: n.PrimitiveValue,
|
|
12606
12606
|
version: 1,
|
|
12607
|
-
name:
|
|
12607
|
+
name: I.KeyValue,
|
|
12608
12608
|
value: {},
|
|
12609
12609
|
parent: DM,
|
|
12610
12610
|
autogeneration: null,
|
|
@@ -12726,7 +12726,7 @@ const eM = {
|
|
|
12726
12726
|
id: "getCompanyByIdEndpointResponseHeadersDataTypeDefaultValueId",
|
|
12727
12727
|
type: n.PrimitiveValue,
|
|
12728
12728
|
version: 1,
|
|
12729
|
-
name:
|
|
12729
|
+
name: I.KeyValue,
|
|
12730
12730
|
value: {},
|
|
12731
12731
|
parent: xM,
|
|
12732
12732
|
autogeneration: null,
|
|
@@ -12869,7 +12869,7 @@ const eM = {
|
|
|
12869
12869
|
id: "getCompanyByIdEndpointPathPropertyDataTypeDefaultValueId",
|
|
12870
12870
|
type: n.PrimitiveValue,
|
|
12871
12871
|
version: 1,
|
|
12872
|
-
name:
|
|
12872
|
+
name: I.String,
|
|
12873
12873
|
value: "/company/{id}",
|
|
12874
12874
|
parent: ZM,
|
|
12875
12875
|
valueAsType: null,
|
|
@@ -12925,7 +12925,7 @@ const eM = {
|
|
|
12925
12925
|
type: n.PrimitiveValue,
|
|
12926
12926
|
version: 1,
|
|
12927
12927
|
value: "GET",
|
|
12928
|
-
name:
|
|
12928
|
+
name: I.Enum,
|
|
12929
12929
|
parent: tN,
|
|
12930
12930
|
valueAsType: null,
|
|
12931
12931
|
autogeneration: null
|
|
@@ -13016,7 +13016,7 @@ const eM = {
|
|
|
13016
13016
|
type: n.PrimitiveValue,
|
|
13017
13017
|
version: 1,
|
|
13018
13018
|
value: null,
|
|
13019
|
-
name:
|
|
13019
|
+
name: I.EntityTemplate,
|
|
13020
13020
|
valueAsType: cl,
|
|
13021
13021
|
autogeneration: null,
|
|
13022
13022
|
parent: cN
|
|
@@ -13147,7 +13147,7 @@ const eM = {
|
|
|
13147
13147
|
id: "validate-bitcoin-type-to-match-input-map-default-value-id",
|
|
13148
13148
|
type: n.PrimitiveValue,
|
|
13149
13149
|
version: 1,
|
|
13150
|
-
name:
|
|
13150
|
+
name: I.EntityTemplate,
|
|
13151
13151
|
valueAsType: Ip,
|
|
13152
13152
|
value: null,
|
|
13153
13153
|
parent: RN,
|
|
@@ -13238,7 +13238,7 @@ const eM = {
|
|
|
13238
13238
|
type: n.PrimitiveValue,
|
|
13239
13239
|
version: 1,
|
|
13240
13240
|
value: "https://api.coindesk.com/v1/bpi/currentprice.json",
|
|
13241
|
-
name:
|
|
13241
|
+
name: I.String,
|
|
13242
13242
|
parent: _N,
|
|
13243
13243
|
valueAsType: null,
|
|
13244
13244
|
autogeneration: null
|
|
@@ -13424,7 +13424,7 @@ const eM = {
|
|
|
13424
13424
|
id: "short-wait-return-statement-returned-hello-string-data-type-default-value-id",
|
|
13425
13425
|
type: n.PrimitiveValue,
|
|
13426
13426
|
version: 1,
|
|
13427
|
-
name:
|
|
13427
|
+
name: I.String,
|
|
13428
13428
|
value: "Hello 2",
|
|
13429
13429
|
autogeneration: null,
|
|
13430
13430
|
valueAsType: null,
|
|
@@ -13498,7 +13498,7 @@ const eM = {
|
|
|
13498
13498
|
value: 2e3,
|
|
13499
13499
|
valueAsType: null,
|
|
13500
13500
|
autogeneration: null,
|
|
13501
|
-
name:
|
|
13501
|
+
name: I.Number,
|
|
13502
13502
|
parent: s1
|
|
13503
13503
|
},
|
|
13504
13504
|
index: 0,
|
|
@@ -13714,7 +13714,7 @@ const D1 = {
|
|
|
13714
13714
|
id: "long-wait-return-statement-returned-hello-string-data-type-default-value-id",
|
|
13715
13715
|
type: n.PrimitiveValue,
|
|
13716
13716
|
version: 1,
|
|
13717
|
-
name:
|
|
13717
|
+
name: I.String,
|
|
13718
13718
|
value: "Hello 1",
|
|
13719
13719
|
autogeneration: null,
|
|
13720
13720
|
valueAsType: null,
|
|
@@ -13788,7 +13788,7 @@ const D1 = {
|
|
|
13788
13788
|
value: 1500,
|
|
13789
13789
|
valueAsType: null,
|
|
13790
13790
|
autogeneration: null,
|
|
13791
|
-
name:
|
|
13791
|
+
name: I.Number,
|
|
13792
13792
|
parent: V1
|
|
13793
13793
|
},
|
|
13794
13794
|
index: 0,
|
|
@@ -13854,7 +13854,7 @@ const D1 = {
|
|
|
13854
13854
|
value: 500,
|
|
13855
13855
|
valueAsType: null,
|
|
13856
13856
|
autogeneration: null,
|
|
13857
|
-
name:
|
|
13857
|
+
name: I.Number,
|
|
13858
13858
|
parent: U1
|
|
13859
13859
|
},
|
|
13860
13860
|
index: 0,
|
|
@@ -14270,7 +14270,7 @@ const h0 = {
|
|
|
14270
14270
|
id: "max-num-iterations-value-map-default-value-id",
|
|
14271
14271
|
type: n.PrimitiveValue,
|
|
14272
14272
|
version: 1,
|
|
14273
|
-
name:
|
|
14273
|
+
name: I.Number,
|
|
14274
14274
|
value: 10,
|
|
14275
14275
|
autogeneration: null,
|
|
14276
14276
|
valueAsType: null,
|
|
@@ -14315,7 +14315,7 @@ const h0 = {
|
|
|
14315
14315
|
type: n.PrimitiveValue,
|
|
14316
14316
|
version: 1,
|
|
14317
14317
|
value: "Hello world ",
|
|
14318
|
-
name:
|
|
14318
|
+
name: I.String,
|
|
14319
14319
|
parent: w0,
|
|
14320
14320
|
valueAsType: null,
|
|
14321
14321
|
autogeneration: null
|
|
@@ -16049,7 +16049,7 @@ const Hy = {
|
|
|
16049
16049
|
id: "last-timestamp-variable-default-value-id",
|
|
16050
16050
|
type: n.PrimitiveValue,
|
|
16051
16051
|
version: 1,
|
|
16052
|
-
name:
|
|
16052
|
+
name: I.Date,
|
|
16053
16053
|
value: null,
|
|
16054
16054
|
autogeneration: {
|
|
16055
16055
|
type: Je.CurrentDateAndTime,
|
|
@@ -16110,7 +16110,7 @@ const Hy = {
|
|
|
16110
16110
|
value: 2e3,
|
|
16111
16111
|
valueAsType: null,
|
|
16112
16112
|
autogeneration: null,
|
|
16113
|
-
name:
|
|
16113
|
+
name: I.Number,
|
|
16114
16114
|
parent: K$
|
|
16115
16115
|
},
|
|
16116
16116
|
index: 0,
|
|
@@ -16177,7 +16177,7 @@ const Hy = {
|
|
|
16177
16177
|
rangeStart: 1e3,
|
|
16178
16178
|
rangeEnd: 4e3
|
|
16179
16179
|
},
|
|
16180
|
-
name:
|
|
16180
|
+
name: I.Number,
|
|
16181
16181
|
parent: rL
|
|
16182
16182
|
},
|
|
16183
16183
|
index: 0,
|
|
@@ -16271,7 +16271,7 @@ const Hy = {
|
|
|
16271
16271
|
id: "list-of-functions-variable-data-type-default-value-id",
|
|
16272
16272
|
type: n.PrimitiveValue,
|
|
16273
16273
|
version: 1,
|
|
16274
|
-
name:
|
|
16274
|
+
name: I.ActionDescriptor,
|
|
16275
16275
|
value: null,
|
|
16276
16276
|
valueAsType: [
|
|
16277
16277
|
gr,
|
|
@@ -16633,7 +16633,7 @@ const mL = {
|
|
|
16633
16633
|
type: n.PrimitiveValue,
|
|
16634
16634
|
version: 1,
|
|
16635
16635
|
value: null,
|
|
16636
|
-
name:
|
|
16636
|
+
name: I.Date,
|
|
16637
16637
|
valueAsType: null,
|
|
16638
16638
|
autogeneration: {
|
|
16639
16639
|
type: Je.CurrentDateAndTime,
|
|
@@ -17015,7 +17015,7 @@ const eG = {
|
|
|
17015
17015
|
type: n.PrimitiveValue,
|
|
17016
17016
|
version: 1,
|
|
17017
17017
|
value: 1,
|
|
17018
|
-
name:
|
|
17018
|
+
name: I.Number,
|
|
17019
17019
|
parent: wG,
|
|
17020
17020
|
valueAsType: null,
|
|
17021
17021
|
autogeneration: null
|
|
@@ -17112,7 +17112,7 @@ const eG = {
|
|
|
17112
17112
|
type: n.PrimitiveValue,
|
|
17113
17113
|
version: 1,
|
|
17114
17114
|
value: 5,
|
|
17115
|
-
name:
|
|
17115
|
+
name: I.Number,
|
|
17116
17116
|
parent: GG,
|
|
17117
17117
|
valueAsType: null,
|
|
17118
17118
|
autogeneration: null
|
|
@@ -17446,7 +17446,7 @@ const nF = {
|
|
|
17446
17446
|
readsValue: null,
|
|
17447
17447
|
defaultValue: {
|
|
17448
17448
|
type: n.PrimitiveValue,
|
|
17449
|
-
name:
|
|
17449
|
+
name: I.EntityTemplate,
|
|
17450
17450
|
value: null,
|
|
17451
17451
|
valueAsType: ri,
|
|
17452
17452
|
autogeneration: null
|
|
@@ -17563,7 +17563,7 @@ const nF = {
|
|
|
17563
17563
|
entityId: "person-not-found-thrown-error-id",
|
|
17564
17564
|
entityType: n.ReturnDeclaration
|
|
17565
17565
|
};
|
|
17566
|
-
n.DataType, n.PrimitiveValue,
|
|
17566
|
+
n.DataType, n.PrimitiveValue, I.String;
|
|
17567
17567
|
const wF = {
|
|
17568
17568
|
id: "person-not-found-thrown-error-parent-ref-id",
|
|
17569
17569
|
type: n.GenericReference,
|
|
@@ -18437,7 +18437,7 @@ const w4 = {
|
|
|
18437
18437
|
parentRelationType: null,
|
|
18438
18438
|
id: "global-test-iterate-over-string-loop-iteration-list-input-map-default-value-id",
|
|
18439
18439
|
type: n.PrimitiveValue,
|
|
18440
|
-
name:
|
|
18440
|
+
name: I.String,
|
|
18441
18441
|
version: 1,
|
|
18442
18442
|
value: "Hello",
|
|
18443
18443
|
valueAsType: null,
|
|
@@ -18961,7 +18961,7 @@ const SU = {
|
|
|
18961
18961
|
parentRelationType: null,
|
|
18962
18962
|
type: n.PrimitiveValue,
|
|
18963
18963
|
id: "employee-mapped-dto-variable-instance-now-timestamp-input-map-default-value-id",
|
|
18964
|
-
name:
|
|
18964
|
+
name: I.Date,
|
|
18965
18965
|
version: 1,
|
|
18966
18966
|
valueAsType: null,
|
|
18967
18967
|
value: null,
|
|
@@ -19159,7 +19159,7 @@ const SU = {
|
|
|
19159
19159
|
defaultValue: {
|
|
19160
19160
|
parentRelationType: null,
|
|
19161
19161
|
id: "is-test-environment-variable-dcl-datatype-default-value-id",
|
|
19162
|
-
name:
|
|
19162
|
+
name: I.Boolean,
|
|
19163
19163
|
version: 1,
|
|
19164
19164
|
value: null,
|
|
19165
19165
|
type: n.PrimitiveValue,
|
|
@@ -20619,17 +20619,17 @@ function Bf() {
|
|
|
20619
20619
|
}
|
|
20620
20620
|
function _f() {
|
|
20621
20621
|
return d.enum([
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20622
|
+
I.String,
|
|
20623
|
+
I.Number,
|
|
20624
|
+
I.Boolean,
|
|
20625
|
+
I.Null,
|
|
20626
|
+
I.Date,
|
|
20627
|
+
I.KeyValue,
|
|
20628
|
+
I.Enum,
|
|
20629
|
+
I.File,
|
|
20630
|
+
I.UUID,
|
|
20631
|
+
I.EntityTemplate,
|
|
20632
|
+
I.ActionDescriptor
|
|
20633
20633
|
]);
|
|
20634
20634
|
}
|
|
20635
20635
|
function i6() {
|
|
@@ -20678,77 +20678,77 @@ function Ht() {
|
|
|
20678
20678
|
}
|
|
20679
20679
|
function o6() {
|
|
20680
20680
|
return Ht().extend({
|
|
20681
|
-
name: d.literal(
|
|
20681
|
+
name: d.literal(I.String),
|
|
20682
20682
|
value: d.string(),
|
|
20683
20683
|
autogeneration: vf.nullable()
|
|
20684
20684
|
});
|
|
20685
20685
|
}
|
|
20686
20686
|
function l6() {
|
|
20687
20687
|
return Ht().extend({
|
|
20688
|
-
name: d.literal(
|
|
20688
|
+
name: d.literal(I.Number),
|
|
20689
20689
|
value: d.number(),
|
|
20690
20690
|
autogeneration: Rf.nullable()
|
|
20691
20691
|
});
|
|
20692
20692
|
}
|
|
20693
20693
|
function c6() {
|
|
20694
20694
|
return Ht().extend({
|
|
20695
|
-
name: d.literal(
|
|
20695
|
+
name: d.literal(I.Boolean),
|
|
20696
20696
|
value: d.boolean(),
|
|
20697
20697
|
autogeneration: Ef.nullable()
|
|
20698
20698
|
});
|
|
20699
20699
|
}
|
|
20700
20700
|
function d6() {
|
|
20701
20701
|
return Ht().extend({
|
|
20702
|
-
name: d.literal(
|
|
20702
|
+
name: d.literal(I.Null),
|
|
20703
20703
|
value: d.null(),
|
|
20704
20704
|
autogeneration: d.null()
|
|
20705
20705
|
});
|
|
20706
20706
|
}
|
|
20707
20707
|
function u6() {
|
|
20708
20708
|
return Ht().extend({
|
|
20709
|
-
name: d.literal(
|
|
20709
|
+
name: d.literal(I.Date),
|
|
20710
20710
|
value: d.date(),
|
|
20711
20711
|
autogeneration: gf.nullable()
|
|
20712
20712
|
});
|
|
20713
20713
|
}
|
|
20714
20714
|
function p6() {
|
|
20715
20715
|
return Ht().extend({
|
|
20716
|
-
name: d.literal(
|
|
20716
|
+
name: d.literal(I.KeyValue),
|
|
20717
20717
|
value: wf(),
|
|
20718
20718
|
autogeneration: d.null()
|
|
20719
20719
|
});
|
|
20720
20720
|
}
|
|
20721
20721
|
function y6() {
|
|
20722
20722
|
return Ht().extend({
|
|
20723
|
-
name: d.literal(
|
|
20723
|
+
name: d.literal(I.Enum),
|
|
20724
20724
|
value: d.string(),
|
|
20725
20725
|
autogeneration: d.null()
|
|
20726
20726
|
});
|
|
20727
20727
|
}
|
|
20728
20728
|
function h6() {
|
|
20729
20729
|
return Ht().extend({
|
|
20730
|
-
name: d.literal(
|
|
20730
|
+
name: d.literal(I.File),
|
|
20731
20731
|
value: d.string(),
|
|
20732
20732
|
autogeneration: d.null()
|
|
20733
20733
|
});
|
|
20734
20734
|
}
|
|
20735
20735
|
function f6() {
|
|
20736
20736
|
return Ht().extend({
|
|
20737
|
-
name: d.literal(
|
|
20737
|
+
name: d.literal(I.UUID),
|
|
20738
20738
|
value: d.string(),
|
|
20739
20739
|
autogeneration: bf.nullable()
|
|
20740
20740
|
});
|
|
20741
20741
|
}
|
|
20742
20742
|
function m6() {
|
|
20743
20743
|
return Ht().extend({
|
|
20744
|
-
name: d.literal(
|
|
20744
|
+
name: d.literal(I.EntityTemplate),
|
|
20745
20745
|
value: Tr(),
|
|
20746
20746
|
autogeneration: d.null()
|
|
20747
20747
|
});
|
|
20748
20748
|
}
|
|
20749
20749
|
function T6() {
|
|
20750
20750
|
return Ht().extend({
|
|
20751
|
-
name: d.literal(
|
|
20751
|
+
name: d.literal(I.ActionDescriptor),
|
|
20752
20752
|
value: ga(),
|
|
20753
20753
|
autogeneration: d.null()
|
|
20754
20754
|
});
|
|
@@ -23553,7 +23553,7 @@ function Vm(r) {
|
|
|
23553
23553
|
if (!r.entity)
|
|
23554
23554
|
return r.isList ? "List of an unknown data type" : "Unknown data type";
|
|
23555
23555
|
if (r.entity.type === n.PrimitiveEntity) {
|
|
23556
|
-
const e = r.entity.name ===
|
|
23556
|
+
const e = r.entity.name === I.String ? "Text" : r.entity.name;
|
|
23557
23557
|
return r.isList ? `List of ${e}s` : (
|
|
23558
23558
|
// Upper case the first letter
|
|
23559
23559
|
`${e.slice(0, 1).toUpperCase()}${e.slice(1)}`
|
|
@@ -23639,28 +23639,30 @@ function g5(r) {
|
|
|
23639
23639
|
}
|
|
23640
23640
|
function I5(r) {
|
|
23641
23641
|
switch (r.name) {
|
|
23642
|
-
case
|
|
23642
|
+
case I.String:
|
|
23643
23643
|
return "Text";
|
|
23644
|
-
case
|
|
23644
|
+
case I.Number:
|
|
23645
23645
|
return "Number";
|
|
23646
|
-
case
|
|
23646
|
+
case I.Boolean:
|
|
23647
23647
|
return "Boolean";
|
|
23648
|
-
case
|
|
23648
|
+
case I.KeyValue:
|
|
23649
23649
|
return "Data structure";
|
|
23650
|
-
case
|
|
23650
|
+
case I.UUID:
|
|
23651
23651
|
return "Unique identifier";
|
|
23652
|
-
case
|
|
23652
|
+
case I.Date:
|
|
23653
23653
|
return "Date";
|
|
23654
|
-
case
|
|
23654
|
+
case I.EntityTemplate:
|
|
23655
23655
|
return "Entity as template";
|
|
23656
|
-
case
|
|
23656
|
+
case I.Enum:
|
|
23657
23657
|
return "Enumeration";
|
|
23658
|
-
case
|
|
23658
|
+
case I.File:
|
|
23659
23659
|
return "File";
|
|
23660
|
-
case
|
|
23660
|
+
case I.Null:
|
|
23661
23661
|
return "Empty";
|
|
23662
|
-
case
|
|
23662
|
+
case I.ActionDescriptor:
|
|
23663
23663
|
return "Action descriptor";
|
|
23664
|
+
case I.Untyped:
|
|
23665
|
+
return "Untyped";
|
|
23664
23666
|
default:
|
|
23665
23667
|
return r.name;
|
|
23666
23668
|
}
|
|
@@ -24949,10 +24951,10 @@ const fe = class fe {
|
|
|
24949
24951
|
const o = xm(i, t), l = i.parent ? t.get(i.parent) : null;
|
|
24950
24952
|
if (l && l.type === n.CustomEntity) {
|
|
24951
24953
|
const f = l, R = vr(f).filter(
|
|
24952
|
-
(
|
|
24954
|
+
(D) => !D.interactive
|
|
24953
24955
|
);
|
|
24954
24956
|
if (R.length) {
|
|
24955
|
-
let
|
|
24957
|
+
let D = R.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${f.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${G(
|
|
24956
24958
|
R.map(
|
|
24957
24959
|
(P) => O(P, P.project)
|
|
24958
24960
|
),
|
|
@@ -24962,29 +24964,29 @@ const fe = class fe {
|
|
|
24962
24964
|
R[0],
|
|
24963
24965
|
R[0].project
|
|
24964
24966
|
)}").`;
|
|
24965
|
-
|
|
24967
|
+
D += `
|
|
24966
24968
|
${Zn}`, a.push(
|
|
24967
24969
|
new b({
|
|
24968
24970
|
id: `${e.id}--${h.NonInteractiveEntityReferenced}`,
|
|
24969
24971
|
code: h.NonInteractiveEntityReferenced,
|
|
24970
24972
|
severity: m.Error,
|
|
24971
|
-
message:
|
|
24973
|
+
message: D,
|
|
24972
24974
|
issue: null
|
|
24973
24975
|
})
|
|
24974
24976
|
);
|
|
24975
24977
|
} else {
|
|
24976
|
-
const
|
|
24978
|
+
const D = f.methods.find(
|
|
24977
24979
|
(L) => {
|
|
24978
24980
|
var j;
|
|
24979
24981
|
return ((j = L.implements) == null ? void 0 : j.id) === i.implements;
|
|
24980
24982
|
}
|
|
24981
24983
|
);
|
|
24982
|
-
|
|
24984
|
+
D && a.push(
|
|
24983
24985
|
new b({
|
|
24984
24986
|
id: `${i.id}--${S.MethodOverwrite}`,
|
|
24985
24987
|
code: S.MethodOverwrite,
|
|
24986
24988
|
severity: m.Error,
|
|
24987
|
-
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity already has a ${n.FunctionDeclaration} with id '${
|
|
24989
|
+
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity already has a ${n.FunctionDeclaration} with id '${D.id}' that implements the same base method.
|
|
24988
24990
|
A ${n.FunctionDeclaration} that has a parent of type '${n.CustomEntity}' is considered a method of that entity, and cannot implement the same '${n.ActionDescriptor}' more than once.
|
|
24989
24991
|
${n.ActionDescriptor} entities inside a ${n.CustomEntity} are considered abstract methods that can be implemented by ${n.FunctionDeclaration} entities inside the same parent.
|
|
24990
24992
|
If you want to modify the existing implementation, you can update the existing method instead, but it will have to match the same base ${n.ActionDescriptor} signature, otherwise the implementation will have a validation error.`,
|
|
@@ -26077,7 +26079,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
26077
26079
|
return this.errors;
|
|
26078
26080
|
}
|
|
26079
26081
|
clone(e = null, t = null, i = !0) {
|
|
26080
|
-
var R,
|
|
26082
|
+
var R, D, P, g;
|
|
26081
26083
|
let a = e || this.parent;
|
|
26082
26084
|
const s = t || He(
|
|
26083
26085
|
Vm(this),
|
|
@@ -26111,7 +26113,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
26111
26113
|
i
|
|
26112
26114
|
);
|
|
26113
26115
|
p.defaultValue = y || null;
|
|
26114
|
-
const f = (
|
|
26116
|
+
const f = (D = this.andChildrenGroup) == null ? void 0 : D.map(
|
|
26115
26117
|
(L, j) => L.clone(
|
|
26116
26118
|
this,
|
|
26117
26119
|
l + "-and-group-data-type-" + j + "-id",
|
|
@@ -26233,7 +26235,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
26233
26235
|
) || Xn(this.parent) ? !0 : !(!this.entity && (!this.andChildrenGroup || !this.andChildrenGroup.length) && (!this.orChildrenGroup || !this.orChildrenGroup.length));
|
|
26234
26236
|
}
|
|
26235
26237
|
isObject() {
|
|
26236
|
-
return !!this.entity && (this.entity.type === n.CustomEntity || this.entity.name ===
|
|
26238
|
+
return !!this.entity && (this.entity.type === n.CustomEntity || this.entity.name === I.KeyValue);
|
|
26237
26239
|
}
|
|
26238
26240
|
hasStrictObjectStructure() {
|
|
26239
26241
|
var e;
|
|
@@ -28371,7 +28373,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28371
28373
|
if (!y) {
|
|
28372
28374
|
const R = H.fromReturnDeclarationToLoopOutputDeclarationName(
|
|
28373
28375
|
l
|
|
28374
|
-
),
|
|
28376
|
+
), D = {
|
|
28375
28377
|
id: B.UUID.uuid(),
|
|
28376
28378
|
version: 1,
|
|
28377
28379
|
type: n.ValueDescriptor,
|
|
@@ -28385,7 +28387,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28385
28387
|
required: l.required,
|
|
28386
28388
|
parent: this.toReference()
|
|
28387
28389
|
}, P = v(
|
|
28388
|
-
|
|
28390
|
+
D,
|
|
28389
28391
|
this.project
|
|
28390
28392
|
);
|
|
28391
28393
|
P.setParent(this), P.initChildren(), P.addSelfToProject(), t.push(P), y = P;
|
|
@@ -28422,11 +28424,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28422
28424
|
andChildrenGroup: [],
|
|
28423
28425
|
orChildrenGroup: [],
|
|
28424
28426
|
parent: y.toReference()
|
|
28425
|
-
},
|
|
28427
|
+
}, D = v(
|
|
28426
28428
|
R,
|
|
28427
28429
|
this.project
|
|
28428
28430
|
);
|
|
28429
|
-
|
|
28431
|
+
D.sync({ isList: !0 }), D.setParent(y), D.initChildren(), D.addSelfToProject(), t.push(D);
|
|
28430
28432
|
}
|
|
28431
28433
|
}), s.filter(
|
|
28432
28434
|
(l) => !a.find(
|
|
@@ -28551,7 +28553,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28551
28553
|
);
|
|
28552
28554
|
y.setParent(s), y.initChildren(), y.addSelfToProject(), t.push(y), u = y;
|
|
28553
28555
|
}
|
|
28554
|
-
if (!u.entity || u.entity.type !== n.PrimitiveEntity || u.entity.name !==
|
|
28556
|
+
if (!u.entity || u.entity.type !== n.PrimitiveEntity || u.entity.name !== I.Number || u.entity.id !== C["primitive-entity"].number.id) {
|
|
28555
28557
|
const p = this.project.getBuiltIn(
|
|
28556
28558
|
C["primitive-entity"].number.id
|
|
28557
28559
|
);
|
|
@@ -28614,13 +28616,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28614
28616
|
);
|
|
28615
28617
|
if (!R)
|
|
28616
28618
|
break;
|
|
28617
|
-
const
|
|
28619
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28618
28620
|
if (E) {
|
|
28619
28621
|
this.currentValueArgumentDeclaration = E;
|
|
28620
28622
|
const P = this.project.get(
|
|
28621
28623
|
C[n.Loop][$.List].inputs.list.id
|
|
28622
28624
|
);
|
|
28623
|
-
|
|
28625
|
+
D && (!E.implements || E.implements.id !== D.id) && (E.setImplements(D), e.push(E));
|
|
28624
28626
|
let L = E.getDataType();
|
|
28625
28627
|
if (!L) {
|
|
28626
28628
|
const ie = {
|
|
@@ -28655,7 +28657,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28655
28657
|
description: null,
|
|
28656
28658
|
index: this.body.inputs.length,
|
|
28657
28659
|
required: !0,
|
|
28658
|
-
implements:
|
|
28660
|
+
implements: D,
|
|
28659
28661
|
writesValues: [],
|
|
28660
28662
|
dataType: null,
|
|
28661
28663
|
parent: this.body.toReference()
|
|
@@ -28663,7 +28665,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28663
28665
|
P,
|
|
28664
28666
|
this.project
|
|
28665
28667
|
);
|
|
28666
|
-
g.initChildren(), g.setParent(this.body), g.addSelfToProject(),
|
|
28668
|
+
g.initChildren(), g.setParent(this.body), g.addSelfToProject(), D && (!g.implements || g.implements.id !== D.id) && (g.setImplements(D), e.push(g)), t.push(g), this.currentValueArgumentDeclaration = g;
|
|
28667
28669
|
}
|
|
28668
28670
|
break;
|
|
28669
28671
|
}
|
|
@@ -28685,13 +28687,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28685
28687
|
return ((g = P.declaration) == null ? void 0 : g.id) === C[n.Loop][$.ObjectKeys].inputs.object.id;
|
|
28686
28688
|
}))
|
|
28687
28689
|
break;
|
|
28688
|
-
const
|
|
28690
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28689
28691
|
if (E) {
|
|
28690
28692
|
this.currentValueArgumentDeclaration = E;
|
|
28691
28693
|
const P = this.project.get(
|
|
28692
28694
|
C[n.Loop][$.ObjectKeys].inputs.object.id
|
|
28693
28695
|
);
|
|
28694
|
-
|
|
28696
|
+
D && (!E.implements || E.implements.id !== D.id) && (E.setImplements(D), e.push(E));
|
|
28695
28697
|
let L = E.getDataType();
|
|
28696
28698
|
if (L) {
|
|
28697
28699
|
const j = this.project.getBuiltIn(
|
|
@@ -28729,7 +28731,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28729
28731
|
description: null,
|
|
28730
28732
|
index: this.body.inputs.length,
|
|
28731
28733
|
required: !0,
|
|
28732
|
-
implements:
|
|
28734
|
+
implements: D,
|
|
28733
28735
|
writesValues: [],
|
|
28734
28736
|
dataType: null,
|
|
28735
28737
|
parent: this.body.toReference()
|
|
@@ -28737,7 +28739,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28737
28739
|
P,
|
|
28738
28740
|
this.project
|
|
28739
28741
|
);
|
|
28740
|
-
g.initChildren(), g.setParent(this.body), g.addSelfToProject(),
|
|
28742
|
+
g.initChildren(), g.setParent(this.body), g.addSelfToProject(), D && (!g.implements || g.implements.id !== D.id) && (g.setImplements(D), e.push(g)), t.push(g), this.currentValueArgumentDeclaration = g;
|
|
28741
28743
|
}
|
|
28742
28744
|
break;
|
|
28743
28745
|
}
|
|
@@ -28751,13 +28753,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28751
28753
|
});
|
|
28752
28754
|
if (!R)
|
|
28753
28755
|
break;
|
|
28754
|
-
const
|
|
28756
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28755
28757
|
if (E) {
|
|
28756
28758
|
this.currentValueArgumentDeclaration = E;
|
|
28757
28759
|
const P = this.project.get(
|
|
28758
28760
|
C[n.Loop][$.ObjectValues].inputs.object.id
|
|
28759
28761
|
);
|
|
28760
|
-
|
|
28762
|
+
D && (!E.implements || E.implements.id !== D.id) && (E.setImplements(D), e.push(E));
|
|
28761
28763
|
let L = E.getDataType();
|
|
28762
28764
|
if (L) {
|
|
28763
28765
|
const j = R.getDataType(), ie = ((p = j == null ? void 0 : j.entity) == null ? void 0 : p.properties) || [];
|
|
@@ -28865,7 +28867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28865
28867
|
description: null,
|
|
28866
28868
|
index: this.body.inputs.length,
|
|
28867
28869
|
required: !0,
|
|
28868
|
-
implements:
|
|
28870
|
+
implements: D,
|
|
28869
28871
|
writesValues: [],
|
|
28870
28872
|
dataType: null,
|
|
28871
28873
|
parent: this.body.toReference()
|
|
@@ -28873,7 +28875,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28873
28875
|
P,
|
|
28874
28876
|
this.project
|
|
28875
28877
|
);
|
|
28876
|
-
g.initChildren(), g.setParent(this.body), g.addSelfToProject(),
|
|
28878
|
+
g.initChildren(), g.setParent(this.body), g.addSelfToProject(), D && (!g.implements || g.implements.id !== D.id) && (g.setImplements(D), e.push(g)), t.push(g), this.currentValueArgumentDeclaration = g;
|
|
28877
28879
|
}
|
|
28878
28880
|
break;
|
|
28879
28881
|
}
|
|
@@ -28887,13 +28889,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28887
28889
|
return ((g = P.declaration) == null ? void 0 : g.id) === C[n.Loop][$.String].inputs.string.id;
|
|
28888
28890
|
}))
|
|
28889
28891
|
break;
|
|
28890
|
-
const
|
|
28892
|
+
const D = this.getCurrentValueBuiltInValueDescriptor();
|
|
28891
28893
|
if (E) {
|
|
28892
28894
|
this.currentValueArgumentDeclaration = E;
|
|
28893
28895
|
const P = this.project.get(
|
|
28894
28896
|
C[n.Loop]["string-loop"].inputs.string.id
|
|
28895
28897
|
);
|
|
28896
|
-
|
|
28898
|
+
D && (!E.implements || E.implements.id !== D.id) && (E.setImplements(D), e.push(E));
|
|
28897
28899
|
let L = E.getDataType();
|
|
28898
28900
|
if (L) {
|
|
28899
28901
|
const j = this.project.getBuiltIn(
|
|
@@ -28931,7 +28933,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28931
28933
|
description: null,
|
|
28932
28934
|
index: this.body.inputs.length,
|
|
28933
28935
|
required: !0,
|
|
28934
|
-
implements:
|
|
28936
|
+
implements: D,
|
|
28935
28937
|
writesValues: [],
|
|
28936
28938
|
dataType: null,
|
|
28937
28939
|
parent: this.body.toReference()
|
|
@@ -28939,7 +28941,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28939
28941
|
P,
|
|
28940
28942
|
this.project
|
|
28941
28943
|
);
|
|
28942
|
-
g.initChildren(), g.setParent(this.body), g.addSelfToProject(),
|
|
28944
|
+
g.initChildren(), g.setParent(this.body), g.addSelfToProject(), D && (!g.implements || g.implements.id !== D.id) && (g.setImplements(D), e.push(g)), t.push(g), this.currentValueArgumentDeclaration = g;
|
|
28943
28945
|
}
|
|
28944
28946
|
break;
|
|
28945
28947
|
}
|
|
@@ -29260,10 +29262,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
29260
29262
|
e.push(...y), t.push(...f), i.push(...E);
|
|
29261
29263
|
const {
|
|
29262
29264
|
updated: R,
|
|
29263
|
-
added:
|
|
29265
|
+
added: D,
|
|
29264
29266
|
removed: P
|
|
29265
29267
|
} = this.syncBodyArgumentsDeclarations();
|
|
29266
|
-
e.push(...R), t.push(...
|
|
29268
|
+
e.push(...R), t.push(...D), i.push(...P);
|
|
29267
29269
|
const {
|
|
29268
29270
|
updated: g,
|
|
29269
29271
|
added: L,
|
|
@@ -31873,8 +31875,8 @@ const be = class be {
|
|
|
31873
31875
|
p.type
|
|
31874
31876
|
)) {
|
|
31875
31877
|
const y = p, f = y.parent, E = [
|
|
31876
|
-
...f.breakStatements.filter((
|
|
31877
|
-
...f.continueStatements.filter((
|
|
31878
|
+
...f.breakStatements.filter((D) => D.id !== p.id),
|
|
31879
|
+
...f.continueStatements.filter((D) => D.id !== p.id)
|
|
31878
31880
|
];
|
|
31879
31881
|
if (y.outputs.length)
|
|
31880
31882
|
a.push(
|
|
@@ -31888,13 +31890,13 @@ ${Cd}`,
|
|
|
31888
31890
|
})
|
|
31889
31891
|
);
|
|
31890
31892
|
else {
|
|
31891
|
-
const
|
|
31892
|
-
|
|
31893
|
+
const D = (u = (l = E[0]) == null ? void 0 : l.outputs[0]) == null ? void 0 : u.name;
|
|
31894
|
+
D !== i.name && a.push(
|
|
31893
31895
|
new b({
|
|
31894
31896
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
31895
31897
|
code: S.NoOverlapWithImplementedSignature,
|
|
31896
31898
|
severity: m.Error,
|
|
31897
|
-
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${y.type}' with id '${y.id}'. This new 'return-declaration' doesn't have the same name "${
|
|
31899
|
+
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${y.type}' with id '${y.id}'. This new 'return-declaration' doesn't have the same name "${D}" as the return declarations on the other statements in the same scope.
|
|
31898
31900
|
${Cd}`,
|
|
31899
31901
|
issue: null
|
|
31900
31902
|
})
|
|
@@ -31909,12 +31911,12 @@ ${Cd}`,
|
|
|
31909
31911
|
(j) => j.name === i.name
|
|
31910
31912
|
), R = f.outputs.filter((j) => !p.outputs.find(
|
|
31911
31913
|
(oe) => oe.type === n.ReturnDeclaration && oe.name === j.name
|
|
31912
|
-
)),
|
|
31914
|
+
)), D = p.outputs.filter(
|
|
31913
31915
|
(j) => j.type === n.ReturnDeclaration
|
|
31914
|
-
), P =
|
|
31916
|
+
), P = D.find(
|
|
31915
31917
|
(j) => j.name === i.name
|
|
31916
|
-
), g =
|
|
31917
|
-
|
|
31918
|
+
), g = D.length ? `The parent entity already implements the following return declarations: ${G(
|
|
31919
|
+
D.map(
|
|
31918
31920
|
(j) => `'${j.id}' (${j.name})`
|
|
31919
31921
|
),
|
|
31920
31922
|
", ",
|
|
@@ -33550,15 +33552,15 @@ ${Zn}`);
|
|
|
33550
33552
|
})
|
|
33551
33553
|
);
|
|
33552
33554
|
else {
|
|
33553
|
-
const
|
|
33555
|
+
const D = [];
|
|
33554
33556
|
[
|
|
33555
33557
|
n.CustomEntity,
|
|
33556
33558
|
n.BuiltInBaseEntity,
|
|
33557
33559
|
n.PrimitiveEntity
|
|
33558
|
-
].includes(p.type) &&
|
|
33560
|
+
].includes(p.type) && D.push(
|
|
33559
33561
|
...p.getAllInteractiveMethods()
|
|
33560
33562
|
);
|
|
33561
|
-
const P =
|
|
33563
|
+
const P = D.find(
|
|
33562
33564
|
(g) => g.id === i.declaration
|
|
33563
33565
|
);
|
|
33564
33566
|
P ? P.type !== n.FunctionDeclaration && a.push(
|
|
@@ -34299,9 +34301,9 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
34299
34301
|
(y) => Le.includes(y)
|
|
34300
34302
|
).includes(o.type)) {
|
|
34301
34303
|
const f = Qm(o), E = f.find(
|
|
34302
|
-
(
|
|
34304
|
+
(D) => D.id === i.declaration
|
|
34303
34305
|
), R = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${G(
|
|
34304
|
-
f.map((
|
|
34306
|
+
f.map((D) => D.id),
|
|
34305
34307
|
"', '",
|
|
34306
34308
|
"' and '"
|
|
34307
34309
|
)}'`;
|
|
@@ -34769,7 +34771,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
34769
34771
|
issue: null
|
|
34770
34772
|
})
|
|
34771
34773
|
) : (E.properties || []).find(
|
|
34772
|
-
(
|
|
34774
|
+
(D) => D.id === p.id
|
|
34773
34775
|
) || a.push(
|
|
34774
34776
|
new b({
|
|
34775
34777
|
id: `${i.id}--${S.NoOverlapWithImplementedSignature}`,
|
|
@@ -34777,7 +34779,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
34777
34779
|
severity: m.Error,
|
|
34778
34780
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${p.id}' of the 'output-map' does not exist in the entity of the 'data-type'.
|
|
34779
34781
|
The entity of the data-type has the following properties that can be reads as output maps, ids: '${G(
|
|
34780
|
-
(E.properties || []).map((
|
|
34782
|
+
(E.properties || []).map((D) => D.id),
|
|
34781
34783
|
"', '",
|
|
34782
34784
|
"' and '"
|
|
34783
34785
|
)}'`,
|
|
@@ -35223,7 +35225,7 @@ const Re = class Re {
|
|
|
35223
35225
|
),
|
|
35224
35226
|
", ",
|
|
35225
35227
|
" and "
|
|
35226
|
-
)}.` : "The parent entity does not yet have any implemented arguments.",
|
|
35228
|
+
)}.` : "The parent entity does not yet have any implemented arguments.", D = y.length ? `The parent entity is still missing the following arguments in the implementation: ${G(
|
|
35227
35229
|
y.map(
|
|
35228
35230
|
(P) => `'${P.id}' (${P.name})`
|
|
35229
35231
|
),
|
|
@@ -35238,7 +35240,7 @@ const Re = class Re {
|
|
|
35238
35240
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${l.type}' with id '${l.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
35239
35241
|
Adding a new argument would make the implementation invalid. An argument with the same name already exists in the parent entity.
|
|
35240
35242
|
${R}
|
|
35241
|
-
${
|
|
35243
|
+
${D}`,
|
|
35242
35244
|
issue: null
|
|
35243
35245
|
})
|
|
35244
35246
|
) : a.push(
|
|
@@ -35249,7 +35251,7 @@ ${I}`,
|
|
|
35249
35251
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${l.type}' with id '${l.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
35250
35252
|
Adding a new argument would make the implementation invalid. There are no arguments in the descriptor with the same name.
|
|
35251
35253
|
${R}
|
|
35252
|
-
${
|
|
35254
|
+
${D}`,
|
|
35253
35255
|
issue: null
|
|
35254
35256
|
})
|
|
35255
35257
|
);
|
|
@@ -37953,17 +37955,17 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
37953
37955
|
);
|
|
37954
37956
|
e ? u.setParent(e) : this.parent && u.setParent(this.parent), i && u.subscribe(), u.initChildren();
|
|
37955
37957
|
const p = (f = this.inputs) == null ? void 0 : f.map(
|
|
37956
|
-
(R,
|
|
37958
|
+
(R, D) => R.clone(
|
|
37957
37959
|
this,
|
|
37958
|
-
l + "-argument-value-descriptor-" +
|
|
37960
|
+
l + "-argument-value-descriptor-" + D + "-id",
|
|
37959
37961
|
i
|
|
37960
37962
|
)
|
|
37961
37963
|
);
|
|
37962
37964
|
u.inputs = p;
|
|
37963
37965
|
const y = (E = this.outputs) == null ? void 0 : E.map(
|
|
37964
|
-
(R,
|
|
37966
|
+
(R, D) => R.clone(
|
|
37965
37967
|
this,
|
|
37966
|
-
l + "-return-value-descriptor-" +
|
|
37968
|
+
l + "-return-value-descriptor-" + D + "-id",
|
|
37967
37969
|
i
|
|
37968
37970
|
)
|
|
37969
37971
|
);
|
|
@@ -39670,7 +39672,7 @@ function dk(r, e) {
|
|
|
39670
39672
|
E,
|
|
39671
39673
|
e
|
|
39672
39674
|
) ? (Ve.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
39673
|
-
(
|
|
39675
|
+
(D) => D === f.id
|
|
39674
39676
|
) ? (f.successCalls || []).find(
|
|
39675
39677
|
(g) => Ve.includes(g.type)
|
|
39676
39678
|
) && t.push(
|
|
@@ -39683,7 +39685,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
39683
39685
|
issue: null
|
|
39684
39686
|
})
|
|
39685
39687
|
) : (i.calledByError || []).find(
|
|
39686
|
-
(
|
|
39688
|
+
(D) => D === f.id
|
|
39687
39689
|
) ? (f.errorCalls || []).find(
|
|
39688
39690
|
(g) => Ve.includes(g.type)
|
|
39689
39691
|
) && t.push(
|
|
@@ -39696,7 +39698,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
39696
39698
|
issue: null
|
|
39697
39699
|
})
|
|
39698
39700
|
) : (i.calledByEntry || []).find(
|
|
39699
|
-
(
|
|
39701
|
+
(D) => D === f.id
|
|
39700
39702
|
) && (f.calls || []).find(
|
|
39701
39703
|
(g) => Ve.includes(g.type)
|
|
39702
39704
|
) && t.push(
|
|
@@ -39733,7 +39735,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
39733
39735
|
e
|
|
39734
39736
|
);
|
|
39735
39737
|
R ? (Ve.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
39736
|
-
(
|
|
39738
|
+
(D) => D === f.id
|
|
39737
39739
|
) ? (f.successCalls || []).find(
|
|
39738
39740
|
(g) => Ve.includes(g.type)
|
|
39739
39741
|
) && t.push(
|
|
@@ -39746,7 +39748,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
39746
39748
|
issue: null
|
|
39747
39749
|
})
|
|
39748
39750
|
) : (i.calledByError || []).find(
|
|
39749
|
-
(
|
|
39751
|
+
(D) => D === f.id
|
|
39750
39752
|
) ? (f.errorCalls || []).find(
|
|
39751
39753
|
(g) => Ve.includes(g.type)
|
|
39752
39754
|
) && t.push(
|
|
@@ -39759,7 +39761,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
39759
39761
|
issue: null
|
|
39760
39762
|
})
|
|
39761
39763
|
) : (i.calledByEntry || []).find(
|
|
39762
|
-
(
|
|
39764
|
+
(D) => D === f.id
|
|
39763
39765
|
) && (f.calls || []).find(
|
|
39764
39766
|
(g) => Ve.includes(g.type)
|
|
39765
39767
|
) && t.push(
|
|
@@ -40070,12 +40072,12 @@ ${Bd}`,
|
|
|
40070
40072
|
if (p.list)
|
|
40071
40073
|
if (Array.isArray(E))
|
|
40072
40074
|
for (const R of E) {
|
|
40073
|
-
const
|
|
40075
|
+
const D = Od(
|
|
40074
40076
|
o,
|
|
40075
40077
|
{ key: u, types: y, optional: f },
|
|
40076
40078
|
t
|
|
40077
40079
|
);
|
|
40078
|
-
a.push(...
|
|
40080
|
+
a.push(...D);
|
|
40079
40081
|
}
|
|
40080
40082
|
else {
|
|
40081
40083
|
a.push(
|
|
@@ -41483,8 +41485,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41483
41485
|
)
|
|
41484
41486
|
);
|
|
41485
41487
|
this.outputs.sort((p, y) => p.index - y.index), s.forEach((p, y) => {
|
|
41486
|
-
this.outputs.forEach((
|
|
41487
|
-
|
|
41488
|
+
this.outputs.forEach((D) => {
|
|
41489
|
+
D.index >= p.index && D.index++;
|
|
41488
41490
|
});
|
|
41489
41491
|
const f = a.includes(p.index) ? this.outputs.length - 1 + y : p.index, E = {
|
|
41490
41492
|
id: B.UUID.uuid(),
|
|
@@ -41565,12 +41567,12 @@ function mk(r) {
|
|
|
41565
41567
|
if (E)
|
|
41566
41568
|
E.value = !0;
|
|
41567
41569
|
else if (f != null && f.dataType) {
|
|
41568
|
-
const R = (t = f == null ? void 0 : f.dataType) == null ? void 0 : t.id.split("-id")[0],
|
|
41570
|
+
const R = (t = f == null ? void 0 : f.dataType) == null ? void 0 : t.id.split("-id")[0], D = v(
|
|
41569
41571
|
{
|
|
41570
41572
|
id: R + "-default-value-id",
|
|
41571
41573
|
version: 1,
|
|
41572
41574
|
type: n.PrimitiveValue,
|
|
41573
|
-
name:
|
|
41575
|
+
name: I.EntityTemplate,
|
|
41574
41576
|
parentRelationType: null,
|
|
41575
41577
|
autogeneration: null,
|
|
41576
41578
|
value: !0,
|
|
@@ -41579,8 +41581,8 @@ function mk(r) {
|
|
|
41579
41581
|
},
|
|
41580
41582
|
r.project
|
|
41581
41583
|
);
|
|
41582
|
-
return
|
|
41583
|
-
newEntities: [
|
|
41584
|
+
return D.setParent(f == null ? void 0 : f.dataType), D.initChildren(), D.addSelfToProject(), {
|
|
41585
|
+
newEntities: [D]
|
|
41584
41586
|
};
|
|
41585
41587
|
}
|
|
41586
41588
|
return {
|
|
@@ -41603,7 +41605,7 @@ function mk(r) {
|
|
|
41603
41605
|
id: y + "-default-value-id",
|
|
41604
41606
|
version: 1,
|
|
41605
41607
|
type: n.PrimitiveValue,
|
|
41606
|
-
name:
|
|
41608
|
+
name: I.EntityTemplate,
|
|
41607
41609
|
parentRelationType: null,
|
|
41608
41610
|
autogeneration: null,
|
|
41609
41611
|
value: !0,
|
|
@@ -41649,7 +41651,7 @@ function Tk(r) {
|
|
|
41649
41651
|
id: u + "-default-value-id",
|
|
41650
41652
|
version: 1,
|
|
41651
41653
|
type: n.PrimitiveValue,
|
|
41652
|
-
name:
|
|
41654
|
+
name: I.EntityTemplate,
|
|
41653
41655
|
parentRelationType: null,
|
|
41654
41656
|
autogeneration: null,
|
|
41655
41657
|
value: null,
|
|
@@ -41705,20 +41707,20 @@ function Xc(r, e, t) {
|
|
|
41705
41707
|
);
|
|
41706
41708
|
p.setParent(r.project), p.initChildren();
|
|
41707
41709
|
const y = r.properties.map((R) => {
|
|
41708
|
-
const
|
|
41710
|
+
const D = s + "-" + He(
|
|
41709
41711
|
O(R, r.project),
|
|
41710
41712
|
n.Property,
|
|
41711
41713
|
r.project
|
|
41712
|
-
), P = R.clone(p,
|
|
41714
|
+
), P = R.clone(p, D);
|
|
41713
41715
|
return P.abstract = !1, P.implements = R, P.setParent(p), p.addProperty(P), P;
|
|
41714
41716
|
}), f = r.abstractMethods.map(
|
|
41715
41717
|
(R) => {
|
|
41716
|
-
const
|
|
41718
|
+
const D = s + He(
|
|
41717
41719
|
R.name,
|
|
41718
41720
|
n.FunctionDeclaration,
|
|
41719
41721
|
r.project
|
|
41720
|
-
), P = R.implementAsFunctionDeclaration(
|
|
41721
|
-
id:
|
|
41722
|
+
), P = R.implementAsFunctionDeclaration(D), g = {
|
|
41723
|
+
id: D + "-parent-ref-id",
|
|
41722
41724
|
type: n.GenericReference,
|
|
41723
41725
|
entityId: i,
|
|
41724
41726
|
entityType: n.CustomEntity
|
|
@@ -41793,13 +41795,13 @@ function zm(r, e, t, i) {
|
|
|
41793
41795
|
const u = new Date(r);
|
|
41794
41796
|
if (u instanceof Date && !isNaN(u.valueOf()) && (l = !0), l) {
|
|
41795
41797
|
const p = e.project.getBuiltIn(
|
|
41796
|
-
C[n.PrimitiveEntity][
|
|
41798
|
+
C[n.PrimitiveEntity][I.Date].id
|
|
41797
41799
|
);
|
|
41798
41800
|
e.setEntity(p);
|
|
41799
41801
|
break;
|
|
41800
41802
|
} else {
|
|
41801
41803
|
const p = e.project.getBuiltIn(
|
|
41802
|
-
C[n.PrimitiveEntity][
|
|
41804
|
+
C[n.PrimitiveEntity][I.String].id
|
|
41803
41805
|
);
|
|
41804
41806
|
e.setEntity(p);
|
|
41805
41807
|
break;
|
|
@@ -41807,14 +41809,14 @@ function zm(r, e, t, i) {
|
|
|
41807
41809
|
case "number":
|
|
41808
41810
|
e.setEntity(
|
|
41809
41811
|
e.project.getBuiltIn(
|
|
41810
|
-
C[n.PrimitiveEntity][
|
|
41812
|
+
C[n.PrimitiveEntity][I.Number].id
|
|
41811
41813
|
)
|
|
41812
41814
|
);
|
|
41813
41815
|
break;
|
|
41814
41816
|
case "boolean":
|
|
41815
41817
|
e.setEntity(
|
|
41816
41818
|
e.project.getBuiltIn(
|
|
41817
|
-
C[n.PrimitiveEntity][
|
|
41819
|
+
C[n.PrimitiveEntity][I.Boolean].id
|
|
41818
41820
|
)
|
|
41819
41821
|
);
|
|
41820
41822
|
break;
|
|
@@ -41822,7 +41824,7 @@ function zm(r, e, t, i) {
|
|
|
41822
41824
|
if (r === null) {
|
|
41823
41825
|
e.setEntity(
|
|
41824
41826
|
e.project.getBuiltIn(
|
|
41825
|
-
C[n.PrimitiveEntity][
|
|
41827
|
+
C[n.PrimitiveEntity][I.Null].id
|
|
41826
41828
|
)
|
|
41827
41829
|
);
|
|
41828
41830
|
break;
|
|
@@ -41836,28 +41838,28 @@ function zm(r, e, t, i) {
|
|
|
41836
41838
|
case "string":
|
|
41837
41839
|
e.setEntity(
|
|
41838
41840
|
e.project.getBuiltIn(
|
|
41839
|
-
C[n.PrimitiveEntity][
|
|
41841
|
+
C[n.PrimitiveEntity][I.String].id
|
|
41840
41842
|
)
|
|
41841
41843
|
);
|
|
41842
41844
|
break;
|
|
41843
41845
|
case "number":
|
|
41844
41846
|
e.setEntity(
|
|
41845
41847
|
e.project.getBuiltIn(
|
|
41846
|
-
C[n.PrimitiveEntity][
|
|
41848
|
+
C[n.PrimitiveEntity][I.Number].id
|
|
41847
41849
|
)
|
|
41848
41850
|
);
|
|
41849
41851
|
break;
|
|
41850
41852
|
case "boolean":
|
|
41851
41853
|
e.setEntity(
|
|
41852
41854
|
e.project.getBuiltIn(
|
|
41853
|
-
C[n.PrimitiveEntity][
|
|
41855
|
+
C[n.PrimitiveEntity][I.Boolean].id
|
|
41854
41856
|
)
|
|
41855
41857
|
);
|
|
41856
41858
|
break;
|
|
41857
41859
|
case "object":
|
|
41858
41860
|
e.setEntity(
|
|
41859
41861
|
e.project.getBuiltIn(
|
|
41860
|
-
C[n.PrimitiveEntity][
|
|
41862
|
+
C[n.PrimitiveEntity][I.Null].id
|
|
41861
41863
|
)
|
|
41862
41864
|
);
|
|
41863
41865
|
break;
|
|
@@ -41865,10 +41867,10 @@ function zm(r, e, t, i) {
|
|
|
41865
41867
|
else {
|
|
41866
41868
|
const f = [];
|
|
41867
41869
|
let E = !1;
|
|
41868
|
-
p.forEach((
|
|
41869
|
-
if (Array.isArray(
|
|
41870
|
+
p.forEach((D, P) => {
|
|
41871
|
+
if (Array.isArray(D) && (E = !0), typeof D == "object" && !Array.isArray(D) && D !== null) {
|
|
41870
41872
|
const g = fo(
|
|
41871
|
-
|
|
41873
|
+
D,
|
|
41872
41874
|
e.project,
|
|
41873
41875
|
{
|
|
41874
41876
|
...t,
|
|
@@ -41883,7 +41885,7 @@ function zm(r, e, t, i) {
|
|
|
41883
41885
|
f
|
|
41884
41886
|
);
|
|
41885
41887
|
if (!R.length && !E) {
|
|
41886
|
-
p.forEach((
|
|
41888
|
+
p.forEach((D) => {
|
|
41887
41889
|
const P = {
|
|
41888
41890
|
id: B.UUID.uuid(),
|
|
41889
41891
|
version: 1,
|
|
@@ -41904,32 +41906,32 @@ function zm(r, e, t, i) {
|
|
|
41904
41906
|
P,
|
|
41905
41907
|
e.project
|
|
41906
41908
|
);
|
|
41907
|
-
switch (g.setParent(e), g.initChildren(), g.addSelfToProject(), typeof
|
|
41909
|
+
switch (g.setParent(e), g.initChildren(), g.addSelfToProject(), typeof D) {
|
|
41908
41910
|
case "string":
|
|
41909
41911
|
g.setEntity(
|
|
41910
41912
|
g.project.getBuiltIn(
|
|
41911
|
-
C[n.PrimitiveEntity][
|
|
41913
|
+
C[n.PrimitiveEntity][I.String].id
|
|
41912
41914
|
)
|
|
41913
41915
|
);
|
|
41914
41916
|
break;
|
|
41915
41917
|
case "number":
|
|
41916
41918
|
g.setEntity(
|
|
41917
41919
|
g.project.getBuiltIn(
|
|
41918
|
-
C[n.PrimitiveEntity][
|
|
41920
|
+
C[n.PrimitiveEntity][I.Number].id
|
|
41919
41921
|
)
|
|
41920
41922
|
);
|
|
41921
41923
|
break;
|
|
41922
41924
|
case "boolean":
|
|
41923
41925
|
g.setEntity(
|
|
41924
41926
|
g.project.getBuiltIn(
|
|
41925
|
-
C[n.PrimitiveEntity][
|
|
41927
|
+
C[n.PrimitiveEntity][I.Boolean].id
|
|
41926
41928
|
)
|
|
41927
41929
|
);
|
|
41928
41930
|
break;
|
|
41929
41931
|
case "object":
|
|
41930
41932
|
g.setEntity(
|
|
41931
41933
|
g.project.getBuiltIn(
|
|
41932
|
-
C[n.PrimitiveEntity][
|
|
41934
|
+
C[n.PrimitiveEntity][I.Null].id
|
|
41933
41935
|
)
|
|
41934
41936
|
);
|
|
41935
41937
|
break;
|
|
@@ -41937,10 +41939,10 @@ function zm(r, e, t, i) {
|
|
|
41937
41939
|
});
|
|
41938
41940
|
break;
|
|
41939
41941
|
} else
|
|
41940
|
-
R.length === 1 && !E ? e.setEntity(R[0]) : p.forEach((
|
|
41941
|
-
if (typeof
|
|
41942
|
+
R.length === 1 && !E ? e.setEntity(R[0]) : p.forEach((D, P) => {
|
|
41943
|
+
if (typeof D == "object" && !Array.isArray(D) && D !== null) {
|
|
41942
41944
|
const g = Hm(
|
|
41943
|
-
Object.keys(
|
|
41945
|
+
Object.keys(D),
|
|
41944
41946
|
e.project
|
|
41945
41947
|
);
|
|
41946
41948
|
if (g) {
|
|
@@ -41957,7 +41959,7 @@ function zm(r, e, t, i) {
|
|
|
41957
41959
|
version: 1,
|
|
41958
41960
|
type: n.DataType,
|
|
41959
41961
|
entity: null,
|
|
41960
|
-
isList: Array.isArray(
|
|
41962
|
+
isList: Array.isArray(D),
|
|
41961
41963
|
isNullable: !1,
|
|
41962
41964
|
defaultValue: null,
|
|
41963
41965
|
asType: null,
|
|
@@ -41974,7 +41976,7 @@ function zm(r, e, t, i) {
|
|
|
41974
41976
|
);
|
|
41975
41977
|
L.setParent(e), L.initChildren(), L.addSelfToProject();
|
|
41976
41978
|
const j = zm(
|
|
41977
|
-
|
|
41979
|
+
D,
|
|
41978
41980
|
L,
|
|
41979
41981
|
{
|
|
41980
41982
|
...t,
|
|
@@ -42050,7 +42052,7 @@ function fo(r, e, t, i) {
|
|
|
42050
42052
|
f,
|
|
42051
42053
|
e
|
|
42052
42054
|
);
|
|
42053
|
-
return E.setParent(e), E.initChildren(), E.addSelfToProject(), s.push(E), l.forEach((R,
|
|
42055
|
+
return E.setParent(e), E.initChildren(), E.addSelfToProject(), s.push(E), l.forEach((R, D) => {
|
|
42054
42056
|
const P = He(
|
|
42055
42057
|
p + " " + R,
|
|
42056
42058
|
n.Property,
|
|
@@ -42065,7 +42067,7 @@ function fo(r, e, t, i) {
|
|
|
42065
42067
|
abstract: !1,
|
|
42066
42068
|
dataType: null,
|
|
42067
42069
|
implements: null,
|
|
42068
|
-
index:
|
|
42070
|
+
index: D,
|
|
42069
42071
|
hidden: !1,
|
|
42070
42072
|
private: !1,
|
|
42071
42073
|
required: !0,
|
|
@@ -43923,7 +43925,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43923
43925
|
return this.errors;
|
|
43924
43926
|
}
|
|
43925
43927
|
clone(e = null, t = null, i = !0) {
|
|
43926
|
-
var E, R,
|
|
43928
|
+
var E, R, D;
|
|
43927
43929
|
const a = this.toJSON(), s = t || He(
|
|
43928
43930
|
O(this, this.project),
|
|
43929
43931
|
n.CustomEntity,
|
|
@@ -43953,7 +43955,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
43953
43955
|
)
|
|
43954
43956
|
);
|
|
43955
43957
|
u.methods = y;
|
|
43956
|
-
const f = (
|
|
43958
|
+
const f = (D = this.abstractMethods) == null ? void 0 : D.map(
|
|
43957
43959
|
(P, g) => P.clone(
|
|
43958
43960
|
u,
|
|
43959
43961
|
l + "-abstract-method-" + g + "-id",
|
|
@@ -44026,12 +44028,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
44026
44028
|
);
|
|
44027
44029
|
if (o) {
|
|
44028
44030
|
if (s.setDeclaration(o), !o.getDataType()) {
|
|
44029
|
-
const
|
|
44031
|
+
const D = Ar(
|
|
44030
44032
|
s.parent
|
|
44031
44033
|
).getMasterInputWithValueWritterFromAllInstances(
|
|
44032
44034
|
s
|
|
44033
44035
|
), P = un(
|
|
44034
|
-
|
|
44036
|
+
D
|
|
44035
44037
|
), g = P == null ? void 0 : P.clone(
|
|
44036
44038
|
o,
|
|
44037
44039
|
o.id + "--data-type",
|
|
@@ -46453,7 +46455,7 @@ export {
|
|
|
46453
46455
|
i2 as PersistedEntity,
|
|
46454
46456
|
Bt as PersistedEntityMethods,
|
|
46455
46457
|
Gt as PrimitiveEntityState,
|
|
46456
|
-
|
|
46458
|
+
I as PrimitiveTypes,
|
|
46457
46459
|
Md as PrimitiveValueParentChildRelation,
|
|
46458
46460
|
Yi as PrimitiveValueState,
|
|
46459
46461
|
B as ProjectState,
|