@elyx-code/project-logic-tree 0.0.6152 → 0.0.6153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -23551,13 +23551,13 @@ var l0 = { exports: {} };
23551
23551
  (function(e, t) {
23552
23552
  n.exports = t();
23553
23553
  })(lD, function() {
23554
- var e = 1e3, t = 6e4, i = 36e5, a = "millisecond", o = "second", l = "minute", d = "hour", p = "day", h = "week", y = "month", v = "quarter", E = "year", g = "date", A = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, M = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(le) {
23554
+ var e = 1e3, t = 6e4, i = 36e5, a = "millisecond", o = "second", l = "minute", d = "hour", p = "day", h = "week", y = "month", v = "quarter", E = "year", g = "date", A = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(le) {
23555
23555
  var q = ["th", "st", "nd", "rd"], U = le % 100;
23556
23556
  return "[" + le + (q[(U - 20) % 10] || q[U] || q[0]) + "]";
23557
23557
  } }, Z = function(le, q, U) {
23558
23558
  var Q = String(le);
23559
23559
  return !Q || Q.length >= q ? le : "" + Array(q + 1 - Q.length).join(U) + le;
23560
- }, B = { s: Z, z: function(le) {
23560
+ }, M = { s: Z, z: function(le) {
23561
23561
  var q = -le.utcOffset(), U = Math.abs(q), Q = Math.floor(U / 60), k = U % 60;
23562
23562
  return (q <= 0 ? "+" : "-") + Z(Q, 2, "0") + ":" + Z(k, 2, "0");
23563
23563
  }, m: function le(q, U) {
@@ -23595,7 +23595,7 @@ var l0 = { exports: {} };
23595
23595
  return le.clone();
23596
23596
  var U = typeof q == "object" ? q : {};
23597
23597
  return U.date = le, U.args = arguments, new ps(U);
23598
- }, je = B;
23598
+ }, je = M;
23599
23599
  je.l = nr, je.i = mt, je.w = function(le, q) {
23600
23600
  return st(le, { locale: q.$L, utc: q.$u, x: q.$x, $offset: q.$offset });
23601
23601
  };
@@ -23714,7 +23714,7 @@ var l0 = { exports: {} };
23714
23714
  var hs = Ft < 12 ? "AM" : "PM";
23715
23715
  return na ? hs.toLowerCase() : hs;
23716
23716
  };
23717
- return ce.replace(M, function(Ft, zr) {
23717
+ return ce.replace(w, function(Ft, zr) {
23718
23718
  return zr || function(na) {
23719
23719
  switch (na) {
23720
23720
  case "YY":
@@ -28136,7 +28136,7 @@ function Tl(n) {
28136
28136
  `${t.slice(0, 1).toUpperCase()}${t.slice(1)}`
28137
28137
  );
28138
28138
  } else if (n.entity.type === r.DefinitionEntity) {
28139
- const t = w(
28139
+ const t = B(
28140
28140
  n.entity,
28141
28141
  n.project
28142
28142
  );
@@ -28202,15 +28202,15 @@ function mJ(n) {
28202
28202
  const s = Wm(n);
28203
28203
  if (!s) {
28204
28204
  const e = qm(n);
28205
- return e.includes(W.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(W.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(W.CRON_JOB) ? "Scheduled execution" : e.includes(W.RELATIONAL_DATABASE) ? "Relational database" : w(n, n.project) + " entity";
28205
+ return e.includes(W.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(W.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(W.CRON_JOB) ? "Scheduled execution" : e.includes(W.RELATIONAL_DATABASE) ? "Relational database" : B(n, n.project) + " entity";
28206
28206
  }
28207
- return w(s, n.project) + " entity";
28207
+ return B(s, n.project) + " entity";
28208
28208
  }
28209
28209
  function n5(n) {
28210
28210
  let s = "Find ";
28211
28211
  return n.outputsDeclarations.forEach((e, t) => {
28212
28212
  const i = zu(e), a = ml(
28213
- i && i.entity ? w(i.entity, n.project) : "unstructured data"
28213
+ i && i.entity ? B(i.entity, n.project) : "unstructured data"
28214
28214
  );
28215
28215
  t === 0 ? s += `${a} ` : t === n.outputsDeclarations.length - 1 ? s += `and ${a} ` : s += `, ${a} `;
28216
28216
  }), s;
@@ -28351,7 +28351,7 @@ function a5(n) {
28351
28351
  return (n.name.slice(0, 1).toUpperCase() + n.name.slice(1)).replaceAll("-", " ");
28352
28352
  }
28353
28353
  }
28354
- function w(n, s) {
28354
+ function B(n, s) {
28355
28355
  var e;
28356
28356
  if (r.FunctionDeclaration === n.type) {
28357
28357
  const t = n.name;
@@ -28379,7 +28379,7 @@ function w(n, s) {
28379
28379
  case r.InternalCall:
28380
28380
  case r.Loop:
28381
28381
  const t = zt(n.declaration, s);
28382
- return w(t, s);
28382
+ return B(t, s);
28383
28383
  case r.ActionDescriptor:
28384
28384
  return a5(n);
28385
28385
  case r.BreakStatement:
@@ -28387,13 +28387,13 @@ function w(n, s) {
28387
28387
  n.parent,
28388
28388
  s
28389
28389
  );
28390
- return `Stop loop ${w(i, s)}`;
28390
+ return `Stop loop ${B(i, s)}`;
28391
28391
  case r.ContinueStatement:
28392
28392
  const a = zt(
28393
28393
  n.parent,
28394
28394
  s
28395
28395
  );
28396
- return `Execute next iteration of ${w(
28396
+ return `Execute next iteration of ${B(
28397
28397
  a,
28398
28398
  s
28399
28399
  )}`;
@@ -28405,7 +28405,7 @@ function w(n, s) {
28405
28405
  case r.Condition: {
28406
28406
  const l = n;
28407
28407
  if ((e = n.inputs) != null && e.length) {
28408
- const d = w(
28408
+ const d = B(
28409
28409
  l.inputs[0],
28410
28410
  l.project
28411
28411
  );
@@ -28423,7 +28423,7 @@ function w(n, s) {
28423
28423
  }
28424
28424
  case r.ReturnStatement: {
28425
28425
  const l = zt(n.parent, s);
28426
- return `Output of ${w(l, s)}`;
28426
+ return `Output of ${B(l, s)}`;
28427
28427
  }
28428
28428
  case r.InputMap:
28429
28429
  if (n.declaration) {
@@ -28431,7 +28431,7 @@ function w(n, s) {
28431
28431
  n.declaration,
28432
28432
  s
28433
28433
  );
28434
- return w(l, s) || "";
28434
+ return B(l, s) || "";
28435
28435
  } else
28436
28436
  return n.name || "";
28437
28437
  case r.VariableInstance: {
@@ -28439,7 +28439,7 @@ function w(n, s) {
28439
28439
  n.declaration,
28440
28440
  s
28441
28441
  );
28442
- return w(l, s) || "";
28442
+ return B(l, s) || "";
28443
28443
  }
28444
28444
  case r.OutputMap:
28445
28445
  if (n.declaration) {
@@ -28751,14 +28751,14 @@ function Cc(n, s) {
28751
28751
  }
28752
28752
  let i = "";
28753
28753
  return t && (i = `${vl(
28754
- w(t, s)
28754
+ B(t, s)
28755
28755
  )}-`), e = `${i}${vl(
28756
- w(n, s)
28756
+ B(n, s)
28757
28757
  )}-id`, s.instances[e] ? P.UUID.uuid() : e;
28758
28758
  }
28759
28759
  function it(n, s, e = "uuid") {
28760
28760
  return e === "semantic" ? s5(
28761
- w(n, s),
28761
+ B(n, s),
28762
28762
  n.type,
28763
28763
  s
28764
28764
  ) : P.UUID.uuid();
@@ -28773,7 +28773,7 @@ function o5(n) {
28773
28773
  if (n.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
28774
28774
  const l = oe({
28775
28775
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
28776
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
28776
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
28777
28777
  n,
28778
28778
  n.project
28779
28779
  )}" with id "${n.id}".`,
@@ -28794,7 +28794,7 @@ function l5(n) {
28794
28794
  if (!e.abstract) {
28795
28795
  const i = oe({
28796
28796
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
28797
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
28797
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
28798
28798
  e,
28799
28799
  n.project
28800
28800
  )}" with id "${e.id}".`,
@@ -28808,10 +28808,10 @@ function l5(n) {
28808
28808
  if (n.static && !e.static) {
28809
28809
  const i = oe({
28810
28810
  id: `${n.id}--${G.NonStaticPropertyImplementsStatic}`,
28811
- message: `Static property "${w(
28811
+ message: `Static property "${B(
28812
28812
  n,
28813
28813
  n.project
28814
- )}" with id "${n.id}" implements a non-static property "${w(
28814
+ )}" with id "${n.id}" implements a non-static property "${B(
28815
28815
  e,
28816
28816
  n.project
28817
28817
  )}" with id "${e.id}".`,
@@ -28825,10 +28825,10 @@ function l5(n) {
28825
28825
  if (!n.static && e.static) {
28826
28826
  const i = oe({
28827
28827
  id: `${n.id}--${G.StaticPropertyImplementsNonStatic}`,
28828
- message: `Non-static property "${w(
28828
+ message: `Non-static property "${B(
28829
28829
  n,
28830
28830
  n.project
28831
- )}" with id "${n.id}" implements a static property "${w(
28831
+ )}" with id "${n.id}" implements a static property "${B(
28832
28832
  e,
28833
28833
  n.project
28834
28834
  )}" with id "${e.id}".`,
@@ -28845,7 +28845,7 @@ function l5(n) {
28845
28845
  )) {
28846
28846
  const i = oe({
28847
28847
  id: `${n.id}--${G.PropertyImplementsIncompatibleType}`,
28848
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a property "${w(
28848
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a property "${B(
28849
28849
  e,
28850
28850
  n.project
28851
28851
  )}" with id "${e.id}" that has an incompatible data type.`,
@@ -28875,7 +28875,7 @@ function d5(n, s) {
28875
28875
  else {
28876
28876
  const a = _n(i);
28877
28877
  if (a) {
28878
- const o = i !== a ? `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${w(
28878
+ const o = i !== a ? `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${B(
28879
28879
  a,
28880
28880
  i.project
28881
28881
  )}) higher up in the tree.` : `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because it is a built-in entity of type ${a.type}.`;
@@ -28905,11 +28905,11 @@ function d5(n, s) {
28905
28905
  if (l.length) {
28906
28906
  let d = l.length > 1 ? `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
28907
28907
  l.map(
28908
- (p) => w(p, p.project)
28908
+ (p) => B(p, p.project)
28909
28909
  ),
28910
28910
  '", "',
28911
28911
  '" and "'
28912
- )}").` : `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${w(
28912
+ )}").` : `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
28913
28913
  l[0],
28914
28914
  l[0].project
28915
28915
  )}").`;
@@ -29132,17 +29132,11 @@ ${El}`,
29132
29132
  this.setParent(o), e.push(o);
29133
29133
  else
29134
29134
  throw new Error(
29135
- `${Cn(this.type)} "${w(
29136
- this,
29137
- this.project
29138
- )}" with id '${this.id}' has a parent reference "${a}" which is missing in the project`
29135
+ `${Cn(this.type)} with id '${this.id}' has a parent reference "${a}" which is missing in the project`
29139
29136
  );
29140
29137
  } else
29141
29138
  throw new Error(
29142
- `${Cn(this.type)} "${w(
29143
- this,
29144
- this.project
29145
- )}" with id '${this.id}' is missing a parent reference`
29139
+ `${Cn(this.type)} with id '${this.id}' is missing a parent reference`
29146
29140
  );
29147
29141
  if (this.initialData.implements) {
29148
29142
  const a = D(this.initialData.implements), o = this.project.get(
@@ -29571,7 +29565,7 @@ function u5(n) {
29571
29565
  if (n.id === "getCompanyByIdEndpointReachedEntityEvent") {
29572
29566
  const d = oe({
29573
29567
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
29574
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
29568
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
29575
29569
  n,
29576
29570
  n.project
29577
29571
  )}" with id "${n.id}".`,
@@ -29589,7 +29583,7 @@ function c5(n) {
29589
29583
  if (!n.calls.length) {
29590
29584
  const e = oe({
29591
29585
  id: `${n.id}--${G.ScopeWithoutLogic}`,
29592
- message: `Action "${w(n, n.project)}" with id "${n.id}" does not have any logic defined. So it doesn't do anything.`,
29586
+ message: `Action "${B(n, n.project)}" with id "${n.id}" does not have any logic defined. So it doesn't do anything.`,
29593
29587
  issue: null,
29594
29588
  severity: T.Warning,
29595
29589
  code: G.ScopeWithoutLogic,
@@ -29715,11 +29709,11 @@ const me = class me extends Ye {
29715
29709
  if (g.length) {
29716
29710
  let A = g.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
29717
29711
  g.map(
29718
- (I) => w(I, I.project)
29712
+ (I) => B(I, I.project)
29719
29713
  ),
29720
29714
  '", "',
29721
29715
  '" and "'
29722
- )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${w(
29716
+ )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
29723
29717
  g[0],
29724
29718
  g[0].project
29725
29719
  )}").`;
@@ -29786,7 +29780,7 @@ If you want to modify the existing implementation, you can update the existing m
29786
29780
  id: `${e.id}--${m.BuiltInEntityParent}`,
29787
29781
  code: m.BuiltInEntityParent,
29788
29782
  severity: T.Error,
29789
- message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${w(
29783
+ message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${B(
29790
29784
  h,
29791
29785
  t
29792
29786
  )}" with id '${h.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
@@ -30320,7 +30314,7 @@ Please consider that any updates might affect the overlap with the signature of
30320
30314
  } else
30321
30315
  return i.forEach((a) => {
30322
30316
  e.find(
30323
- (l) => l === a || w(l, this.project) === w(a, this.project) && hr(l.dataType, a.dataType)
30317
+ (l) => l === a || B(l, this.project) === B(a, this.project) && hr(l.dataType, a.dataType)
30324
30318
  ) || e.push(a);
30325
30319
  }), f(
30326
30320
  e
@@ -30589,7 +30583,7 @@ ${Mn}`,
30589
30583
  id: `${e.id}--${m.BuiltInEntityParent}`,
30590
30584
  code: m.BuiltInEntityParent,
30591
30585
  severity: T.Error,
30592
- message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${w(
30586
+ message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${B(
30593
30587
  d,
30594
30588
  t
30595
30589
  )}" with id '${d.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
@@ -31095,25 +31089,25 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
31095
31089
  );
31096
31090
  e && y.setParent(e), i && y.subscribe(), y.initChildren();
31097
31091
  const v = (g = this.andChildrenGroup) == null ? void 0 : g.map(
31098
- (M, Y) => M.clone(
31092
+ (w, Y) => w.clone(
31099
31093
  y,
31100
31094
  p + "-and-group-data-type-" + Y + "-id",
31101
31095
  i
31102
31096
  )
31103
31097
  ), E = (A = this.orChildrenGroup) == null ? void 0 : A.map(
31104
- (M, Y) => M.clone(
31098
+ (w, Y) => w.clone(
31105
31099
  y,
31106
31100
  p + "-or-group-data-type-" + Y + "-id",
31107
31101
  i
31108
31102
  )
31109
31103
  );
31110
31104
  if (y.andChildrenGroup = v || null, y.orChildrenGroup = E || null, this.entity && this.entity.type === r.DefinitionEntity && ((I = this.entity) == null ? void 0 : I.parent) === this) {
31111
- const M = this.entity.clone(
31105
+ const w = this.entity.clone(
31112
31106
  y,
31113
31107
  P.UUID.uuid(),
31114
31108
  i
31115
31109
  );
31116
- y.setEntity(M);
31110
+ y.setEntity(w);
31117
31111
  } else
31118
31112
  this.entity && y.setEntity(this.entity);
31119
31113
  return y;
@@ -31196,7 +31190,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
31196
31190
  author: "1",
31197
31191
  previousVersion: null,
31198
31192
  deleted: !1,
31199
- name: w(this.parent, this.project) + " data type definition",
31193
+ name: B(this.parent, this.project) + " data type definition",
31200
31194
  description: ((t = this.parent) == null ? void 0 : t.description) || null,
31201
31195
  static: !0,
31202
31196
  abstract: !1,
@@ -31280,7 +31274,7 @@ function f5(n) {
31280
31274
  if (n.id === "exec-sequentially-operation-call-id") {
31281
31275
  const d = oe({
31282
31276
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
31283
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
31277
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
31284
31278
  n,
31285
31279
  n.project
31286
31280
  )}" with id "${n.id}".`,
@@ -31427,7 +31421,7 @@ const Te = class Te extends Ye {
31427
31421
  const d = `
31428
31422
  All built-in 'action-descriptor' entity ids are:
31429
31423
  - ${t.operationDeclarations.map(
31430
- (p) => `${p.id} (${w(p, t)})`
31424
+ (p) => `${p.id} (${B(p, t)})`
31431
31425
  ).join(`
31432
31426
  - `)}.
31433
31427
  `;
@@ -32925,11 +32919,11 @@ const Re = class Re extends Ye {
32925
32919
  if (h.length) {
32926
32920
  let y = h.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
32927
32921
  h.map(
32928
- (v) => w(v, v.project)
32922
+ (v) => B(v, v.project)
32929
32923
  ),
32930
32924
  '", "',
32931
32925
  '" and "'
32932
- )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${w(
32926
+ )}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
32933
32927
  h[0],
32934
32928
  h[0].project
32935
32929
  )}").`;
@@ -33984,7 +33978,7 @@ ${tl(t)}`,
33984
33978
  };
33985
33979
  }
33986
33980
  static fromReturnDeclarationToBodyArgumentDeclarationName(e) {
33987
- return `Previous iteration results of '${w(
33981
+ return `Previous iteration results of '${B(
33988
33982
  e,
33989
33983
  e.project
33990
33984
  )}'`;
@@ -33997,7 +33991,7 @@ ${tl(t)}`,
33997
33991
  return t.slice(0, t.length - 1);
33998
33992
  }
33999
33993
  static fromReturnDeclarationToLoopOutputDeclarationName(e) {
34000
- return `Result list of '${w(
33994
+ return `Result list of '${B(
34001
33995
  e,
34002
33996
  e.project
34003
33997
  )}'`;
@@ -34705,7 +34699,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34705
34699
  ].forEach((i) => {
34706
34700
  i.outputs.forEach((o) => {
34707
34701
  e.find(
34708
- (d) => d === o || w(d, this.project) === w(o, this.project) && hr(d.dataType, o.dataType)
34702
+ (d) => d === o || B(d, this.project) === B(o, this.project) && hr(d.dataType, o.dataType)
34709
34703
  ) || e.push(o);
34710
34704
  });
34711
34705
  }), f(
@@ -34723,7 +34717,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34723
34717
  ].forEach((l) => {
34724
34718
  const d = l.outputs, p = a.filter(
34725
34719
  (h) => !d.find(
34726
- (y) => w(h, this.project) === w(y, this.project) && hr(h.dataType, y.dataType)
34720
+ (y) => B(h, this.project) === B(y, this.project) && hr(h.dataType, y.dataType)
34727
34721
  )
34728
34722
  );
34729
34723
  p.length && e.push(l), p.forEach((h) => {
@@ -34767,7 +34761,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34767
34761
  d.sort((E, g) => E.index - g.index), d.forEach((E) => {
34768
34762
  const g = E.getDataType();
34769
34763
  let I = p.find(
34770
- (ie) => w(ie, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(
34764
+ (ie) => B(ie, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(
34771
34765
  E
34772
34766
  ) && hr(ie.dataType, E.dataType)
34773
34767
  );
@@ -34783,7 +34777,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34783
34777
  deleted: !1,
34784
34778
  type: r.ArgumentDeclaration,
34785
34779
  name: ie,
34786
- description: `Aggretated list of all previously outputted values from each iteration by the output '${w(
34780
+ description: `Aggretated list of all previously outputted values from each iteration by the output '${B(
34787
34781
  E,
34788
34782
  this.project
34789
34783
  )}'`,
@@ -34801,18 +34795,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34801
34795
  );
34802
34796
  mt.setParent(this.body), mt.initChildren(), mt.addSelfToProject(), t.push(mt), I = mt;
34803
34797
  }
34804
- const M = this.body.inputs.find(
34798
+ const w = this.body.inputs.find(
34805
34799
  (ie) => ie.index === I.index && ie !== I
34806
34800
  ), Y = this.body.inputs.filter(
34807
34801
  (ie) => ie !== I
34808
34802
  );
34809
34803
  let Z = I.index;
34810
- M && (Z = Math.max(...Y.map((ie) => ie.index)) + 1), I.index !== Z && (I.sync({ index: Z }), e.push(I));
34811
- const B = I.getDataType();
34812
- let X = B;
34804
+ w && (Z = Math.max(...Y.map((ie) => ie.index)) + 1), I.index !== Z && (I.sync({ index: Z }), e.push(I));
34805
+ const M = I.getDataType();
34806
+ let X = M;
34813
34807
  if (g)
34814
- if (!B || !hr(
34815
- B,
34808
+ if (!M || !hr(
34809
+ M,
34816
34810
  g
34817
34811
  )) {
34818
34812
  if (!X) {
@@ -34873,7 +34867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34873
34867
  }), a.forEach((d) => {
34874
34868
  const p = d.getDataType();
34875
34869
  let y = o.find(
34876
- (g) => w(g, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(
34870
+ (g) => B(g, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(
34877
34871
  d
34878
34872
  ) && hr(g.dataType, d.dataType)
34879
34873
  );
@@ -34889,7 +34883,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34889
34883
  deleted: !1,
34890
34884
  type: r.ValueDescriptor,
34891
34885
  name: g,
34892
- description: `Aggretated list of all previously outputted values from each iteration by the output '${w(
34886
+ description: `Aggretated list of all previously outputted values from each iteration by the output '${B(
34893
34887
  d,
34894
34888
  this.project
34895
34889
  )}'`,
@@ -34946,7 +34940,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
34946
34940
  }
34947
34941
  }), o.filter(
34948
34942
  (d) => !a.find(
34949
- (h) => w(d, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(h)
34943
+ (h) => B(d, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(h)
34950
34944
  )
34951
34945
  ).forEach((d) => {
34952
34946
  const { affected: p, removed: h } = d.remove({
@@ -35103,7 +35097,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35103
35097
  removeExtraBodyArgumentDeclarations() {
35104
35098
  const e = [], t = [], i = [], a = this.body.inputs, o = this.getUniqueReturnDeclarations();
35105
35099
  return a.filter((d) => d === this.currentIterationNumberArgumentDeclaration || d === this.currentValueArgumentDeclaration ? !1 : !o.find(
35106
- (h) => w(d, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(h)
35100
+ (h) => B(d, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(h)
35107
35101
  )).forEach((d) => {
35108
35102
  const { affected: p, removed: h } = d.remove({
35109
35103
  ignoreUpstream: !1,
@@ -35132,12 +35126,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35132
35126
  switch (this.declaration.id) {
35133
35127
  case J.List: {
35134
35128
  const E = this.body.inputs.find((I) => {
35135
- var M;
35136
- return ((M = I.implements) == null ? void 0 : M.id) === _[r.Loop][J.List].body.inputs.currentValue.id;
35129
+ var w;
35130
+ return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.List].body.inputs.currentValue.id;
35137
35131
  }), g = this.inputs.find(
35138
35132
  (I) => {
35139
- var M;
35140
- return ((M = I.declaration) == null ? void 0 : M.id) === _[r.Loop][J.List].inputs.list.id;
35133
+ var w;
35134
+ return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.List].inputs.list.id;
35141
35135
  }
35142
35136
  );
35143
35137
  if (!g)
@@ -35151,7 +35145,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35151
35145
  A && (!E.implements || E.implements.id !== A.id) && (E.setImplements(A), e.push(E));
35152
35146
  let Y = E.getDataType();
35153
35147
  if (!Y) {
35154
- const B = {
35148
+ const M = {
35155
35149
  id: P.UUID.uuid(),
35156
35150
  version: "1",
35157
35151
  createdAt: L().toDate(),
@@ -35168,7 +35162,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35168
35162
  orChildrenGroup: [],
35169
35163
  parent: I.toReference()
35170
35164
  }, X = b(
35171
- B,
35165
+ M,
35172
35166
  this.project
35173
35167
  );
35174
35168
  X.setParent(I), X.initChildren(), X.addSelfToProject(), t.push(X), Y = X;
@@ -35194,11 +35188,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35194
35188
  writesValues: [],
35195
35189
  dataType: null,
35196
35190
  parent: this.body.toReference()
35197
- }, M = b(
35191
+ }, w = b(
35198
35192
  I,
35199
35193
  this.project
35200
35194
  );
35201
- M.initChildren(), M.setParent(this.body), M.addSelfToProject(), A && (!M.implements || M.implements.id !== A.id) && (M.setImplements(A), e.push(M)), t.push(M), this.currentValueArgumentDeclaration = M;
35195
+ w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
35202
35196
  }
35203
35197
  break;
35204
35198
  }
@@ -35212,12 +35206,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35212
35206
  }
35213
35207
  case J.ObjectKeys: {
35214
35208
  const E = this.body.inputs.find((I) => {
35215
- var M;
35216
- return ((M = I.implements) == null ? void 0 : M.id) === _[r.Loop][J.ObjectKeys].body.inputs.currentValue.id;
35209
+ var w;
35210
+ return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.ObjectKeys].body.inputs.currentValue.id;
35217
35211
  });
35218
35212
  if (!this.inputs.find((I) => {
35219
- var M;
35220
- return ((M = I.declaration) == null ? void 0 : M.id) === _[r.Loop][J.ObjectKeys].inputs.object.id;
35213
+ var w;
35214
+ return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.ObjectKeys].inputs.object.id;
35221
35215
  }))
35222
35216
  break;
35223
35217
  const A = this.getCurrentValueBuiltInValueDescriptor();
@@ -35250,11 +35244,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35250
35244
  andChildrenGroup: [],
35251
35245
  orChildrenGroup: [],
35252
35246
  parent: I.toReference()
35253
- }, B = b(
35247
+ }, M = b(
35254
35248
  Z,
35255
35249
  this.project
35256
35250
  );
35257
- B.setParent(I), B.initChildren(), B.addSelfToProject(), Y = B;
35251
+ M.setParent(I), M.initChildren(), M.addSelfToProject(), Y = M;
35258
35252
  }
35259
35253
  } else {
35260
35254
  const I = {
@@ -35275,21 +35269,21 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35275
35269
  writesValues: [],
35276
35270
  dataType: null,
35277
35271
  parent: this.body.toReference()
35278
- }, M = b(
35272
+ }, w = b(
35279
35273
  I,
35280
35274
  this.project
35281
35275
  );
35282
- M.initChildren(), M.setParent(this.body), M.addSelfToProject(), A && (!M.implements || M.implements.id !== A.id) && (M.setImplements(A), e.push(M)), t.push(M), this.currentValueArgumentDeclaration = M;
35276
+ w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
35283
35277
  }
35284
35278
  break;
35285
35279
  }
35286
35280
  case J.ObjectValues: {
35287
35281
  const E = this.body.inputs.find((I) => {
35288
- var M;
35289
- return ((M = I.implements) == null ? void 0 : M.id) === _[r.Loop][J.ObjectValues].body.inputs.currentValue.id;
35282
+ var w;
35283
+ return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.ObjectValues].body.inputs.currentValue.id;
35290
35284
  }), g = this.inputs.find((I) => {
35291
- var M;
35292
- return ((M = I.declaration) == null ? void 0 : M.id) === _[r.Loop][J.ObjectValues].inputs.object.id;
35285
+ var w;
35286
+ return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.ObjectValues].inputs.object.id;
35293
35287
  });
35294
35288
  if (!g)
35295
35289
  break;
@@ -35302,14 +35296,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35302
35296
  A && (!E.implements || E.implements.id !== A.id) && (E.setImplements(A), e.push(E));
35303
35297
  let Y = E.getDataType();
35304
35298
  if (Y) {
35305
- const Z = g.getDataType(), B = ((h = Z == null ? void 0 : Z.entity) == null ? void 0 : h.properties) || [];
35299
+ const Z = g.getDataType(), M = ((h = Z == null ? void 0 : Z.entity) == null ? void 0 : h.properties) || [];
35306
35300
  (y = Y.orChildrenGroup) == null || y.forEach((X) => {
35307
35301
  const { affected: ie, removed: ut } = X.remove({
35308
35302
  ignoreUpstream: !1,
35309
35303
  seenEntities: /* @__PURE__ */ new Set()
35310
35304
  });
35311
35305
  e.push(...ie), i.push(...ut);
35312
- }), B.forEach((X) => {
35306
+ }), M.forEach((X) => {
35313
35307
  const ie = X.getDataType();
35314
35308
  if (ie) {
35315
35309
  const ut = ie.clone(
@@ -35360,17 +35354,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35360
35354
  andChildrenGroup: [],
35361
35355
  orChildrenGroup: [],
35362
35356
  parent: I.toReference()
35363
- }, B = b(
35357
+ }, M = b(
35364
35358
  Z,
35365
35359
  this.project
35366
35360
  );
35367
- B.setParent(I), B.initChildren(), B.addSelfToProject(), Y = B;
35361
+ M.setParent(I), M.initChildren(), M.addSelfToProject(), Y = M;
35368
35362
  const X = g.getDataType();
35369
35363
  (((p = X == null ? void 0 : X.entity) == null ? void 0 : p.properties) || []).forEach((ut) => {
35370
35364
  const mt = ut.getDataType();
35371
35365
  if (mt) {
35372
35366
  const nr = mt.clone(
35373
- B
35367
+ M
35374
35368
  );
35375
35369
  nr.sync({
35376
35370
  parentRelationType: yt.OrDataTypeGroup
@@ -35392,12 +35386,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35392
35386
  andChildrenGroup: [],
35393
35387
  orChildrenGroup: [],
35394
35388
  parentRelationType: yt.OrDataTypeGroup,
35395
- parent: B.toReference()
35389
+ parent: M.toReference()
35396
35390
  }, st = b(
35397
35391
  nr,
35398
35392
  this.project
35399
35393
  );
35400
- st.setParent(B), st.initChildren(), st.addSelfToProject(), t.push(st);
35394
+ st.setParent(M), st.initChildren(), st.addSelfToProject(), t.push(st);
35401
35395
  }
35402
35396
  });
35403
35397
  }
@@ -35420,22 +35414,22 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35420
35414
  writesValues: [],
35421
35415
  dataType: null,
35422
35416
  parent: this.body.toReference()
35423
- }, M = b(
35417
+ }, w = b(
35424
35418
  I,
35425
35419
  this.project
35426
35420
  );
35427
- M.initChildren(), M.setParent(this.body), M.addSelfToProject(), A && (!M.implements || M.implements.id !== A.id) && (M.setImplements(A), e.push(M)), t.push(M), this.currentValueArgumentDeclaration = M;
35421
+ w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
35428
35422
  }
35429
35423
  break;
35430
35424
  }
35431
35425
  case J.String: {
35432
35426
  const E = this.body.inputs.find((I) => {
35433
- var M;
35434
- return ((M = I.implements) == null ? void 0 : M.id) === _[r.Loop][J.String].body.inputs.currentValue.id;
35427
+ var w;
35428
+ return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.String].body.inputs.currentValue.id;
35435
35429
  });
35436
35430
  if (!this.inputs.find((I) => {
35437
- var M;
35438
- return ((M = I.declaration) == null ? void 0 : M.id) === _[r.Loop][J.String].inputs.string.id;
35431
+ var w;
35432
+ return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.String].inputs.string.id;
35439
35433
  }))
35440
35434
  break;
35441
35435
  const A = this.getCurrentValueBuiltInValueDescriptor();
@@ -35468,11 +35462,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35468
35462
  andChildrenGroup: [],
35469
35463
  orChildrenGroup: [],
35470
35464
  parent: I.toReference()
35471
- }, B = b(
35465
+ }, M = b(
35472
35466
  Z,
35473
35467
  this.project
35474
35468
  );
35475
- B.setParent(I), B.initChildren(), B.addSelfToProject(), t.push(B), Y = B;
35469
+ M.setParent(I), M.initChildren(), M.addSelfToProject(), t.push(M), Y = M;
35476
35470
  }
35477
35471
  } else {
35478
35472
  const I = {
@@ -35493,11 +35487,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35493
35487
  writesValues: [],
35494
35488
  dataType: null,
35495
35489
  parent: this.body.toReference()
35496
- }, M = b(
35490
+ }, w = b(
35497
35491
  I,
35498
35492
  this.project
35499
35493
  );
35500
- M.initChildren(), M.setParent(this.body), M.addSelfToProject(), A && (!M.implements || M.implements.id !== A.id) && (M.setImplements(A), e.push(M)), t.push(M), this.currentValueArgumentDeclaration = M;
35494
+ w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
35501
35495
  }
35502
35496
  break;
35503
35497
  }
@@ -35847,17 +35841,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
35847
35841
  } = this.syncBodyArgumentsDeclarations();
35848
35842
  e.push(...g), t.push(...A), i.push(...I);
35849
35843
  const {
35850
- updated: M,
35844
+ updated: w,
35851
35845
  added: Y,
35852
35846
  removed: Z
35853
35847
  } = this.syncBodyInputIndexes();
35854
- e.push(...M), t.push(...Y), i.push(...Z);
35848
+ e.push(...w), t.push(...Y), i.push(...Z);
35855
35849
  const {
35856
- updated: B,
35850
+ updated: M,
35857
35851
  added: X,
35858
35852
  removed: ie
35859
35853
  } = this.syncOutputsDeclarations();
35860
- e.push(...B), t.push(...X), i.push(...ie);
35854
+ e.push(...M), t.push(...X), i.push(...ie);
35861
35855
  const {
35862
35856
  updated: ut,
35863
35857
  added: mt,
@@ -36097,17 +36091,11 @@ If an entity is called by another, they must be in the same scope, which means t
36097
36091
  this.setParent(o), e.push(o);
36098
36092
  else
36099
36093
  throw new Error(
36100
- `${Cn(this.type)} "${w(
36101
- this,
36102
- this.project
36103
- )}" with id '${this.id}' has a parent reference "${a}" which is missing in the project`
36094
+ `${Cn(this.type)} with id '${this.id}' has a parent reference "${a}" which is missing in the project`
36104
36095
  );
36105
36096
  } else
36106
36097
  throw new Error(
36107
- `${Cn(this.type)} "${w(
36108
- this,
36109
- this.project
36110
- )}" with id '${this.id}' is missing a parent reference`
36098
+ `${Cn(this.type)} with id '${this.id}' is missing a parent reference`
36111
36099
  );
36112
36100
  if (this.initialData.declaration) {
36113
36101
  const a = D(
@@ -36672,7 +36660,7 @@ function g5(n) {
36672
36660
  if (n.id === "random-company-employee-test-variable-id") {
36673
36661
  const d = oe({
36674
36662
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
36675
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
36663
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
36676
36664
  n,
36677
36665
  n.project
36678
36666
  )}" with id "${n.id}".`,
@@ -36686,7 +36674,7 @@ function g5(n) {
36686
36674
  if (n.id === "company-dto-variable-one-id") {
36687
36675
  const d = oe({
36688
36676
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
36689
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
36677
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
36690
36678
  n,
36691
36679
  n.project
36692
36680
  )}" with id "${n.id}".`,
@@ -37114,7 +37102,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37114
37102
  ...this.inputs,
37115
37103
  ...this.variableInstances.flatMap((a) => a.inputs)
37116
37104
  ]).find(
37117
- (a) => w(a, this.project) === w(e, this.project) && !!a.readsValue
37105
+ (a) => B(a, this.project) === B(e, this.project) && !!a.readsValue
37118
37106
  ) || e;
37119
37107
  }
37120
37108
  // On dynamically typed variable declarations, where any new property can be written to any of the instances,
@@ -37162,7 +37150,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37162
37150
  ]), t = [];
37163
37151
  return e.forEach((o) => {
37164
37152
  t.find(
37165
- (d) => w(d, this.project) === w(o, this.project)
37153
+ (d) => B(d, this.project) === B(o, this.project)
37166
37154
  ) || t.push(o);
37167
37155
  }), t.length ? ((a = this.dataType) == null || a.inferFromInputs(t), this.dataType ? (this.generateUnusedInputs(), this.generateUnusedOutputs(), this.variableInstances.forEach((o) => {
37168
37156
  o.generateUnusedInputs(), o.generateUnusedOutputs();
@@ -37587,7 +37575,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37587
37575
  return this.defaultValue = e, this;
37588
37576
  }
37589
37577
  clone(e = null, t = null, i = !0) {
37590
- var I, M, Y, Z, B;
37578
+ var I, w, Y, Z, M;
37591
37579
  let a = at(e, this);
37592
37580
  const o = this.toJSON(), l = t || P.UUID.uuid();
37593
37581
  o.inputs = [];
@@ -37604,7 +37592,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37604
37592
  i
37605
37593
  );
37606
37594
  h.dataType = y || null;
37607
- const v = (M = this.defaultValue) == null ? void 0 : M.clone(
37595
+ const v = (w = this.defaultValue) == null ? void 0 : w.clone(
37608
37596
  h,
37609
37597
  p + "-default-value-id",
37610
37598
  i
@@ -37626,7 +37614,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37626
37614
  )
37627
37615
  );
37628
37616
  h.outputs = g;
37629
- const A = (B = this.internalCalls) == null ? void 0 : B.map(
37617
+ const A = (M = this.internalCalls) == null ? void 0 : M.map(
37630
37618
  (X, ie) => X.clone(
37631
37619
  h,
37632
37620
  p + "-internal-call-" + ie + "-id",
@@ -37688,7 +37676,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37688
37676
  (o) => !o.getDataType()
37689
37677
  ).forEach((o) => {
37690
37678
  const l = this.inputs.find(
37691
- (h) => w(h, this.project) === w(o, this.project)
37679
+ (h) => B(h, this.project) === B(o, this.project)
37692
37680
  );
37693
37681
  if (!l)
37694
37682
  return;
@@ -37731,7 +37719,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
37731
37719
  (o) => !o.declaration
37732
37720
  ).forEach((o) => {
37733
37721
  const l = e.find(
37734
- (d) => w(d, this.project) === w(o, this.project)
37722
+ (d) => B(d, this.project) === B(o, this.project)
37735
37723
  );
37736
37724
  l && o.setDeclaration(l);
37737
37725
  });
@@ -37889,7 +37877,7 @@ function I5(n) {
37889
37877
  if (n.id === "exec-sequentially-result-variable-id") {
37890
37878
  const l = oe({
37891
37879
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
37892
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
37880
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
37893
37881
  n,
37894
37882
  n.project
37895
37883
  )}" with id "${n.id}".`,
@@ -38718,7 +38706,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
38718
38706
  return this.defaultValue = e, this;
38719
38707
  }
38720
38708
  clone(e = null, t = null, i = !0) {
38721
- var A, I, M, Y;
38709
+ var A, I, w, Y;
38722
38710
  let a = at(e, this);
38723
38711
  const o = this.toJSON(), l = t || P.UUID.uuid();
38724
38712
  o.inputs = [];
@@ -38736,25 +38724,25 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
38736
38724
  );
38737
38725
  h.defaultValue = y || null;
38738
38726
  const v = (I = this.inputs) == null ? void 0 : I.map(
38739
- (Z, B) => Z.clone(
38727
+ (Z, M) => Z.clone(
38740
38728
  h,
38741
- p + "-input-map-" + B + "-id",
38729
+ p + "-input-map-" + M + "-id",
38742
38730
  i
38743
38731
  )
38744
38732
  );
38745
38733
  h.inputs = v;
38746
- const E = (M = this.outputs) == null ? void 0 : M.map(
38747
- (Z, B) => Z.clone(
38734
+ const E = (w = this.outputs) == null ? void 0 : w.map(
38735
+ (Z, M) => Z.clone(
38748
38736
  h,
38749
- p + "-output-map-" + B + "-id",
38737
+ p + "-output-map-" + M + "-id",
38750
38738
  i
38751
38739
  )
38752
38740
  );
38753
38741
  h.outputs = E;
38754
38742
  const g = (Y = this.internalCalls) == null ? void 0 : Y.map(
38755
- (Z, B) => Z.clone(
38743
+ (Z, M) => Z.clone(
38756
38744
  h,
38757
- p + "-internal-call-" + B + "-id",
38745
+ p + "-internal-call-" + M + "-id",
38758
38746
  i
38759
38747
  )
38760
38748
  );
@@ -38785,7 +38773,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
38785
38773
  (o) => !o.getDataType()
38786
38774
  ).forEach((o) => {
38787
38775
  const l = this.inputs.find(
38788
- (h) => w(h, this.project) === w(o, this.project)
38776
+ (h) => B(h, this.project) === B(o, this.project)
38789
38777
  );
38790
38778
  if (!l)
38791
38779
  return;
@@ -38828,7 +38816,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
38828
38816
  (o) => !o.declaration
38829
38817
  ).forEach((o) => {
38830
38818
  const l = e.find(
38831
- (d) => w(d, this.project) === w(o, this.project)
38819
+ (d) => B(d, this.project) === B(o, this.project)
38832
38820
  );
38833
38821
  l && o.setDeclaration(l);
38834
38822
  });
@@ -38982,7 +38970,7 @@ function A5(n) {
38982
38970
  if (n.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
38983
38971
  const o = oe({
38984
38972
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
38985
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
38973
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
38986
38974
  n,
38987
38975
  n.project
38988
38976
  )}" with id "${n.id}".`,
@@ -39148,7 +39136,7 @@ ${Mc}`,
39148
39136
  (Z) => Z.type === r.ReturnDeclaration
39149
39137
  ), I = A.find(
39150
39138
  (Z) => Z.name === i.name
39151
- ), M = A.length ? `The parent entity already implements the following return declarations: ${z(
39139
+ ), w = A.length ? `The parent entity already implements the following return declarations: ${z(
39152
39140
  A.map(
39153
39141
  (Z) => `'${Z.id}' (${Z.name})`
39154
39142
  ),
@@ -39168,7 +39156,7 @@ ${Mc}`,
39168
39156
  severity: T.Error,
39169
39157
  message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
39170
39158
  Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
39171
- ${M}
39159
+ ${w}
39172
39160
  ${Y}`,
39173
39161
  issue: null
39174
39162
  })
@@ -39179,7 +39167,7 @@ ${Y}`,
39179
39167
  severity: T.Error,
39180
39168
  message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
39181
39169
  Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
39182
- ${M}
39170
+ ${w}
39183
39171
  ${Y}`,
39184
39172
  issue: null
39185
39173
  })
@@ -39639,7 +39627,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
39639
39627
  ...t.breakStatements,
39640
39628
  ...t.continueStatements
39641
39629
  ].flatMap((o) => o.outputs).filter(
39642
- (o) => w(o, this.project) === w(this, this.project) && o.id !== this.id
39630
+ (o) => B(o, this.project) === B(this, this.project) && o.id !== this.id
39643
39631
  );
39644
39632
  } else if (this.parent.type === r.ReturnStatement && [r.FunctionDeclaration, r.GlobalEvent].includes(
39645
39633
  this.parent.parent.type
@@ -39653,7 +39641,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
39653
39641
  return this.implements.id === ((l = o.implements) == null ? void 0 : l.id);
39654
39642
  }
39655
39643
  ) : e = i.filter(
39656
- (o) => w(o, this.project) === w(this, this.project) && o.id !== this.id
39644
+ (o) => B(o, this.project) === B(this, this.project) && o.id !== this.id
39657
39645
  );
39658
39646
  }
39659
39647
  return e;
@@ -39735,7 +39723,7 @@ function D5(n) {
39735
39723
  if (n.id === "search-person-by-id-id") {
39736
39724
  const l = oe({
39737
39725
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
39738
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
39726
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
39739
39727
  n,
39740
39728
  n.project
39741
39729
  )}" with id "${n.id}".`,
@@ -40469,7 +40457,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
40469
40457
  return this.errors;
40470
40458
  }
40471
40459
  clone(e = null, t = null, i = !0) {
40472
- var A, I, M, Y;
40460
+ var A, I, w, Y;
40473
40461
  let a = at(e, this);
40474
40462
  const o = this.toJSON(), l = t || P.UUID.uuid();
40475
40463
  o.inputs = [];
@@ -40481,33 +40469,33 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
40481
40469
  );
40482
40470
  e ? h.setParent(e) : h.setParent(this.parent), i && h.subscribe(), h.initChildren();
40483
40471
  const y = (A = this.inputsDeclarations) == null ? void 0 : A.map(
40484
- (Z, B) => Z.clone(
40472
+ (Z, M) => Z.clone(
40485
40473
  this,
40486
- p + "-input-declaration-" + B + "-id",
40474
+ p + "-input-declaration-" + M + "-id",
40487
40475
  i
40488
40476
  )
40489
40477
  );
40490
40478
  h.inputsDeclarations = y;
40491
40479
  const v = (I = this.outputsDeclarations) == null ? void 0 : I.map(
40492
- (Z, B) => Z.clone(
40480
+ (Z, M) => Z.clone(
40493
40481
  this,
40494
- p + "-output-declaration-" + B + "-id",
40482
+ p + "-output-declaration-" + M + "-id",
40495
40483
  i
40496
40484
  )
40497
40485
  );
40498
40486
  h.outputsDeclarations = v;
40499
- const E = (M = this.inputs) == null ? void 0 : M.map(
40500
- (Z, B) => Z.clone(
40487
+ const E = (w = this.inputs) == null ? void 0 : w.map(
40488
+ (Z, M) => Z.clone(
40501
40489
  h,
40502
- p + "-input-map-" + B + "-id",
40490
+ p + "-input-map-" + M + "-id",
40503
40491
  i
40504
40492
  )
40505
40493
  );
40506
40494
  h.inputs = E;
40507
40495
  const g = (Y = this.outputs) == null ? void 0 : Y.map(
40508
- (Z, B) => Z.clone(
40496
+ (Z, M) => Z.clone(
40509
40497
  h,
40510
- p + "-output-map-" + B + "-id",
40498
+ p + "-output-map-" + M + "-id",
40511
40499
  i
40512
40500
  )
40513
40501
  );
@@ -41317,7 +41305,7 @@ ${Mn}`);
41317
41305
  ...h.getAllInteractiveMethods()
41318
41306
  );
41319
41307
  const I = A.find(
41320
- (M) => M.id === i.declaration
41308
+ (w) => w.id === i.declaration
41321
41309
  );
41322
41310
  I ? I.type !== r.FunctionDeclaration && a.push(
41323
41311
  new R({
@@ -42160,7 +42148,7 @@ function V5(n) {
42160
42148
  if (n.id === "exec-sequentially-argument-map-id") {
42161
42149
  const a = oe({
42162
42150
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
42163
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
42151
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
42164
42152
  n,
42165
42153
  n.project
42166
42154
  )}" with id "${n.id}".`,
@@ -42855,7 +42843,7 @@ function C5(n) {
42855
42843
  if (n.id === "exec-sequentially-return-map-id") {
42856
42844
  const a = oe({
42857
42845
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
42858
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
42846
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
42859
42847
  n,
42860
42848
  n.project
42861
42849
  )}" with id "${n.id}".`,
@@ -43472,7 +43460,7 @@ function w5(n) {
43472
43460
  if (n.id === "company-dto-func-declaration-argument-dcl-id") {
43473
43461
  const o = oe({
43474
43462
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
43475
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
43463
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
43476
43464
  n,
43477
43465
  n.project
43478
43466
  )}" with id "${n.id}".`,
@@ -43486,7 +43474,7 @@ function w5(n) {
43486
43474
  if (n.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
43487
43475
  const o = oe({
43488
43476
  id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
43489
- message: `Property "${w(n, n.project)}" with id "${n.id}" implements a non-abstract property "${w(
43477
+ message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
43490
43478
  n,
43491
43479
  n.project
43492
43480
  )}" with id "${n.id}".`,
@@ -48364,14 +48352,14 @@ All value writting entity types are: ${z(
48364
48352
  if (!a.compatible) {
48365
48353
  const { type: o } = a;
48366
48354
  let l = "";
48367
- const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${w(
48355
+ const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${B(
48368
48356
  t,
48369
48357
  s.project
48370
- )}) with id '${t.id}', and the writter is in the scope of the '${i.type}' (${w(
48358
+ )}) with id '${t.id}', and the writter is in the scope of the '${i.type}' (${B(
48371
48359
  i,
48372
48360
  s.project
48373
48361
  )}) with id '${i.id}'.`;
48374
- o === Al.ParallelInCommonParent ? (l = `The reader and the writter entities are both in the scope of the '${a.commonAncestorScope.type}' (${w(
48362
+ o === Al.ParallelInCommonParent ? (l = `The reader and the writter entities are both in the scope of the '${a.commonAncestorScope.type}' (${B(
48375
48363
  a.commonAncestorScope,
48376
48364
  s.project
48377
48365
  )}) with id '${a.commonAncestorScope.id}'.`, l += `
@@ -48779,27 +48767,27 @@ All value writting entity types are: ${z(
48779
48767
  }
48780
48768
  function q5(n) {
48781
48769
  return n.functions.length ? `All global 'function-declaration' entity ids are:
48782
- - ${n.functions.map((e) => `${e.id} (${w(e, n)})`).join(`
48770
+ - ${n.functions.map((e) => `${e.id} (${B(e, n)})`).join(`
48783
48771
  - `)}.` : "The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.";
48784
48772
  }
48785
48773
  function el(n) {
48786
48774
  return `All reserved action decriptor ids for '${r.GlobalEvent}' entities are:
48787
- - ${n.globalEventActionDescriptors.map((s) => `${s.id} (${w(s, n)})`).join(`
48775
+ - ${n.globalEventActionDescriptors.map((s) => `${s.id} (${B(s, n)})`).join(`
48788
48776
  - `)}`;
48789
48777
  }
48790
48778
  function tl(n) {
48791
48779
  return `All reserved action decriptor ids for '${r.Loop}' entities are:
48792
- - ${n.loopDeclarations.map((s) => `${s.id} (${w(s, n)})`).join(`
48780
+ - ${n.loopDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
48793
48781
  - `)}`;
48794
48782
  }
48795
48783
  function wJ(n) {
48796
48784
  return `All reserved action decriptor ids for '${r.Operation}' entities are:
48797
- - ${n.operationDeclarations.map((s) => `${s.id} (${w(s, n)})`).join(`
48785
+ - ${n.operationDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
48798
48786
  - `)}`;
48799
48787
  }
48800
48788
  function rl(n) {
48801
48789
  return `All reserved action decriptor ids for '${r.Condition}' entities are:
48802
- - ${n.conditionDeclarations.map((s) => `${s.id} (${w(s, n)})`).join(`
48790
+ - ${n.conditionDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
48803
48791
  - `)}`;
48804
48792
  }
48805
48793
  function W5(n, s) {
@@ -48897,7 +48885,7 @@ function Y5(n, s) {
48897
48885
  ), i = `
48898
48886
  All built-in 'action-descriptor' entities that define 'operation' entity, are (IDs):
48899
48887
  - ${s.operationDeclarations.map(
48900
- (a) => `${a.id} (${w(a, s)}).`
48888
+ (a) => `${a.id} (${B(a, s)}).`
48901
48889
  ).join(`
48902
48890
  - `)}
48903
48891
  `;
@@ -48946,7 +48934,7 @@ function MJ(n, s) {
48946
48934
  ), i = `
48947
48935
  All built-in 'action-descriptor' entities that define 'condition' entity, are (IDs):
48948
48936
  - ${s.conditionDeclarations.map(
48949
- (a) => `${a.id} (${w(a, s)}).`
48937
+ (a) => `${a.id} (${B(a, s)}).`
48950
48938
  ).join(`
48951
48939
  - `)}
48952
48940
  `;
@@ -48994,7 +48982,7 @@ function BJ(n, s) {
48994
48982
  n
48995
48983
  ), i = `
48996
48984
  All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
48997
- - ${s.loopDeclarations.map((a) => `${a.id} (${w(a, s)}).`).join(`
48985
+ - ${s.loopDeclarations.map((a) => `${a.id} (${B(a, s)}).`).join(`
48998
48986
  - `)}`;
48999
48987
  return t ? t.type === r.FunctionDeclaration ? e.push(
49000
48988
  new R({
@@ -49087,7 +49075,7 @@ function Lo(n, s) {
49087
49075
  id: `${s.id}--${m.InvalidBuiltInEntityReference}`,
49088
49076
  code: m.InvalidBuiltInEntityReference,
49089
49077
  severity: T.Error,
49090
- message: `The entity of type '${s.type}' with id '${s.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${w(
49078
+ message: `The entity of type '${s.type}' with id '${s.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${B(
49091
49079
  a,
49092
49080
  s.project
49093
49081
  )}) higher up in the tree.`,
@@ -49133,7 +49121,7 @@ function En(n) {
49133
49121
  id: `${n.id}--${G.DisconnectedCallableEntity}`,
49134
49122
  code: G.DisconnectedCallableEntity,
49135
49123
  severity: T.Warning,
49136
- message: `This '${n.type}' entity "${w(
49124
+ message: `This '${n.type}' entity "${B(
49137
49125
  n,
49138
49126
  n.project
49139
49127
  )}" with id "${n.id}" is globally declared and isn't called by any other entity.
@@ -49148,10 +49136,10 @@ Or for a logic that the user is going to manually test themselves by clicking on
49148
49136
  else {
49149
49137
  const e = gs(n);
49150
49138
  if (!e.reachable) {
49151
- let t = `This '${n.type}' entity "${w(
49139
+ let t = `This '${n.type}' entity "${B(
49152
49140
  n,
49153
49141
  n.project
49154
- )}" with id "${n.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${w(e.entryPoint, n.project)}".`;
49142
+ )}" with id "${n.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${B(e.entryPoint, n.project)}".`;
49155
49143
  t += `
49156
49144
  This is because there are termination statements in the call chain before reaching this '${n.type}'.
49157
49145
  If a caller entity calls a termination statement, it will always prevent all other calls from executing.`;
@@ -49159,7 +49147,7 @@ If a caller entity calls a termination statement, it will always prevent all oth
49159
49147
  This '${n.type}' is blocked `;
49160
49148
  e.blocks.forEach((a, o) => {
49161
49149
  const l = a.blockedByCaller, d = a.blockedByCalling;
49162
- o === 0 ? i += "by " : o === e.blocks.length - 1 && (i += "and by "), i += `its ancestor "${w(
49150
+ o === 0 ? i += "by " : o === e.blocks.length - 1 && (i += "and by "), i += `its ancestor "${B(
49163
49151
  l,
49164
49152
  n.project
49165
49153
  )}" with id "${l.id}" that calls a '${d.type}' entity with id "${d.id}"`, o < e.blocks.length - 1 ? i += ", " : i += ".";
@@ -49184,7 +49172,7 @@ function xm(n) {
49184
49172
  if (n.readsValue) {
49185
49173
  const e = oe({
49186
49174
  id: `${n.id}--${G.VariableReadsValueAndInternalCall}`,
49187
- message: `Variable "${w(n, n.project)}" with id "${n.id}" reads a value. A variable with internal calls can't read a value.`,
49175
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" reads a value. A variable with internal calls can't read a value.`,
49188
49176
  issue: null,
49189
49177
  severity: T.Error,
49190
49178
  code: G.VariableReadsValueAndInternalCall,
@@ -49195,7 +49183,7 @@ function xm(n) {
49195
49183
  if (n.writesValues.length) {
49196
49184
  const e = oe({
49197
49185
  id: `${n.id}--${G.VariableWritesValuesAndInternalCall}`,
49198
- message: `Variable "${w(n, n.project)}" with id "${n.id}" writes values. A variable with internal calls can't write a value.`,
49186
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" writes values. A variable with internal calls can't write a value.`,
49199
49187
  issue: null,
49200
49188
  severity: T.Error,
49201
49189
  code: G.VariableWritesValuesAndInternalCall,
@@ -49206,7 +49194,7 @@ function xm(n) {
49206
49194
  if (n.getUsedInputs().length) {
49207
49195
  const e = oe({
49208
49196
  id: `${n.id}--${G.VariableHasInputsAndInternalCall}`,
49209
- message: `Variable "${w(n, n.project)}" with id "${n.id}" has inputs. A variable with internal calls can't have inputs.`,
49197
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" has inputs. A variable with internal calls can't have inputs.`,
49210
49198
  issue: null,
49211
49199
  severity: T.Error,
49212
49200
  code: G.VariableHasInputsAndInternalCall,
@@ -49217,7 +49205,7 @@ function xm(n) {
49217
49205
  if (n.getUsedOutputs().length) {
49218
49206
  const e = oe({
49219
49207
  id: `${n.id}--${G.VariableHasOutputsAndInternalCall}`,
49220
- message: `Variable "${w(n, n.project)}" with id "${n.id}" has outputs. A variable with internal calls can't have outputs.`,
49208
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" has outputs. A variable with internal calls can't have outputs.`,
49221
49209
  issue: null,
49222
49210
  severity: T.Error,
49223
49211
  code: G.VariableHasOutputsAndInternalCall,
@@ -49228,7 +49216,7 @@ function xm(n) {
49228
49216
  if (n.calledBy.length) {
49229
49217
  const e = oe({
49230
49218
  id: `${n.id}--${G.VariableIsCalledAndHasInternalCall}`,
49231
- message: `Variable "${w(n, n.project)}" with id "${n.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
49219
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
49232
49220
  issue: null,
49233
49221
  severity: T.Error,
49234
49222
  code: G.VariableIsCalledAndHasInternalCall,
@@ -49239,7 +49227,7 @@ function xm(n) {
49239
49227
  if ([...n.successCalls, ...n.errorCalls].length) {
49240
49228
  const e = oe({
49241
49229
  id: `${n.id}--${G.VariableCallsOthersAndHasInternalCall}`,
49242
- message: `Variable "${w(n, n.project)}" with id "${n.id}" calls other entities. A variable with internal calls can't call other entities.`,
49230
+ message: `Variable "${B(n, n.project)}" with id "${n.id}" calls other entities. A variable with internal calls can't call other entities.`,
49243
49231
  issue: null,
49244
49232
  severity: T.Error,
49245
49233
  code: G.VariableCallsOthersAndHasInternalCall,
@@ -49383,7 +49371,7 @@ const Ne = class Ne extends Ye {
49383
49371
  } else {
49384
49372
  const d = t.functions.length ? `
49385
49373
  All global 'function-declaration' entity ids are:
49386
- - ${t.functions.map((p) => `${p.id} (${w(p, t)})`).join(`
49374
+ - ${t.functions.map((p) => `${p.id} (${B(p, t)})`).join(`
49387
49375
  - `)}.` : `
49388
49376
  The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.`;
49389
49377
  a.push(
@@ -50747,7 +50735,7 @@ function Gm(n, s, e, t) {
50747
50735
  s.project
50748
50736
  );
50749
50737
  I.setParent(s), I.initChildren(), I.addSelfToProject();
50750
- const M = Gm(
50738
+ const w = Gm(
50751
50739
  g,
50752
50740
  I,
50753
50741
  {
@@ -50756,7 +50744,7 @@ function Gm(n, s, e, t) {
50756
50744
  },
50757
50745
  t
50758
50746
  );
50759
- i.push(...M.updated), a.push(...M.added), o.push(...M.removed);
50747
+ i.push(...w.updated), a.push(...w.added), o.push(...w.removed);
50760
50748
  }
50761
50749
  });
50762
50750
  }
@@ -50850,12 +50838,12 @@ function nl(n, s, e, t) {
50850
50838
  private: !1,
50851
50839
  required: !0,
50852
50840
  parent: v.toReference()
50853
- }, M = b(
50841
+ }, w = b(
50854
50842
  I,
50855
50843
  s
50856
50844
  );
50857
- M.setParent(v), M.initChildren(), M.addSelfToProject(), a.push(M);
50858
- const Y = n[E], B = {
50845
+ w.setParent(v), w.initChildren(), w.addSelfToProject(), a.push(w);
50846
+ const Y = n[E], M = {
50859
50847
  id: P.UUID.uuid(),
50860
50848
  version: "1",
50861
50849
  createdAt: "2024-01-01T00:00:00.000Z",
@@ -50870,12 +50858,12 @@ function nl(n, s, e, t) {
50870
50858
  orChildrenGroup: null,
50871
50859
  like: !0,
50872
50860
  inferred: !1,
50873
- parent: M.toReference()
50861
+ parent: w.toReference()
50874
50862
  }, X = b(
50875
- B,
50863
+ M,
50876
50864
  s
50877
50865
  );
50878
- X.setParent(M), X.initChildren(), X.addSelfToProject(), a.push(X);
50866
+ X.setParent(w), X.initChildren(), X.addSelfToProject(), a.push(X);
50879
50867
  const ie = Gm(
50880
50868
  Y,
50881
50869
  X,
@@ -51347,77 +51335,77 @@ function il(n, s = {}, e = {
51347
51335
  const t = n, i = n, a = n, o = n, l = n, d = n, p = n, h = n, y = n, v = n, E = n, g = n, A = n, I = [
51348
51336
  ...A.readsValue ? [A.readsValue] : [],
51349
51337
  ...A.declaration ? [A.declaration] : [],
51350
- ...(g.calledByEntry || []).flatMap((B) => B),
51338
+ ...(g.calledByEntry || []).flatMap((M) => M),
51351
51339
  ...(g.calledBySuccess || []).flatMap(
51352
- (B) => B
51340
+ (M) => M
51353
51341
  ),
51354
- ...(g.calledByError || []).flatMap((B) => B),
51342
+ ...(g.calledByError || []).flatMap((M) => M),
51355
51343
  ...(a.extends || []).flatMap(
51356
- (B) => B
51344
+ (M) => M
51357
51345
  ),
51358
51346
  ...v.parent ? [v.parent] : []
51359
51347
  ];
51360
51348
  Array.isArray(a.implements) ? I.push(
51361
51349
  ...a.implements.flatMap(
51362
- (B) => B
51350
+ (M) => M
51363
51351
  )
51364
51352
  ) : y.implements && I.push(y.implements), Array.isArray(l.valueAsType) ? I.push(
51365
- ...l.valueAsType.flatMap((B) => B)
51353
+ ...l.valueAsType.flatMap((M) => M)
51366
51354
  ) : l.valueAsType && I.push(l.valueAsType);
51367
- const M = [
51368
- ...(t.inputs || []).flatMap((B) => B),
51369
- ...(E.inputsDeclarations || []).flatMap((B) => B),
51370
- ...(t.outputs || []).flatMap((B) => B),
51371
- ...(E.outputsDeclarations || []).flatMap((B) => B),
51355
+ const w = [
51356
+ ...(t.inputs || []).flatMap((M) => M),
51357
+ ...(E.inputsDeclarations || []).flatMap((M) => M),
51358
+ ...(t.outputs || []).flatMap((M) => M),
51359
+ ...(E.outputsDeclarations || []).flatMap((M) => M),
51372
51360
  ...(A.internalCalls || []).flatMap(
51373
- (B) => B
51361
+ (M) => M
51374
51362
  ),
51375
51363
  ...A.writesValues || [],
51376
51364
  ...g.dataType ? [g.dataType] : [],
51377
51365
  ...d.body ? [d.body] : [],
51378
51366
  ...g.defaultValue ? [g.defaultValue] : [],
51379
- ...(g.successCalls || []).flatMap((B) => B),
51380
- ...(g.errorCalls || []).flatMap((B) => B),
51381
- ...(a.properties || []).flatMap((B) => B),
51382
- ...(a.methods || []).flatMap((B) => B),
51383
- ...(a.abstractMethods || []).flatMap((B) => B),
51367
+ ...(g.successCalls || []).flatMap((M) => M),
51368
+ ...(g.errorCalls || []).flatMap((M) => M),
51369
+ ...(a.properties || []).flatMap((M) => M),
51370
+ ...(a.methods || []).flatMap((M) => M),
51371
+ ...(a.abstractMethods || []).flatMap((M) => M),
51384
51372
  ...p.error ? [p.error] : [],
51385
51373
  ...p.process ? [p.process] : [],
51386
51374
  ...v.throws ? [v.throws] : [],
51387
51375
  ...(i.andChildrenGroup || []).flatMap(
51388
- (B) => B
51376
+ (M) => M
51389
51377
  ),
51390
51378
  ...(i.orChildrenGroup || []).flatMap(
51391
- (B) => B
51379
+ (M) => M
51392
51380
  ),
51393
- ...(h.entities || []).flatMap((B) => B),
51394
- ...(h.functions || []).flatMap((B) => B),
51395
- ...(h.functionCalls || []).flatMap((B) => B),
51396
- ...(h.events || []).flatMap((B) => B),
51397
- ...(h.conditions || []).flatMap((B) => B),
51398
- ...(h.operations || []).flatMap((B) => B),
51399
- ...(h.loops || []).flatMap((B) => B),
51400
- ...(h.variableDeclarations || []).flatMap((B) => B),
51401
- ...(h.variableInstances || []).flatMap((B) => B),
51402
- ...(h.searches || []).flatMap((B) => B),
51403
- ...(h.projects || []).flatMap((B) => B),
51404
- ...(o.calls || []).flatMap((B) => B)
51381
+ ...(h.entities || []).flatMap((M) => M),
51382
+ ...(h.functions || []).flatMap((M) => M),
51383
+ ...(h.functionCalls || []).flatMap((M) => M),
51384
+ ...(h.events || []).flatMap((M) => M),
51385
+ ...(h.conditions || []).flatMap((M) => M),
51386
+ ...(h.operations || []).flatMap((M) => M),
51387
+ ...(h.loops || []).flatMap((M) => M),
51388
+ ...(h.variableDeclarations || []).flatMap((M) => M),
51389
+ ...(h.variableInstances || []).flatMap((M) => M),
51390
+ ...(h.searches || []).flatMap((M) => M),
51391
+ ...(h.projects || []).flatMap((M) => M),
51392
+ ...(o.calls || []).flatMap((M) => M)
51405
51393
  ];
51406
51394
  n.type === r.DataType && (i.entity && s[D(i.entity)] && s[D(i.entity)].parent && D(
51407
51395
  s[D(i.entity)].parent
51408
- ) === n.id ? M.push(i.entity) : i.entity && I.push(i.entity));
51396
+ ) === n.id ? w.push(i.entity) : i.entity && I.push(i.entity));
51409
51397
  const Y = {}, Z = {};
51410
- return I.forEach((B) => {
51411
- const X = D(B);
51412
- if (X && e.ignoreBuiltInBaseEntities && (_r.includes(B.type) || (e.allBuiltInEntityIds || []).includes(X)))
51398
+ return I.forEach((M) => {
51399
+ const X = D(M);
51400
+ if (X && e.ignoreBuiltInBaseEntities && (_r.includes(M.type) || (e.allBuiltInEntityIds || []).includes(X)))
51413
51401
  return;
51414
- const ie = B.version;
51402
+ const ie = M.version;
51415
51403
  X && (Y[X] = ie);
51416
- }), M.forEach((B) => {
51417
- const X = D(B);
51418
- if (X && e.ignoreBuiltInBaseEntities && (_r.includes(B.type) || (e.allBuiltInEntityIds || []).includes(X)))
51404
+ }), w.forEach((M) => {
51405
+ const X = D(M);
51406
+ if (X && e.ignoreBuiltInBaseEntities && (_r.includes(M.type) || (e.allBuiltInEntityIds || []).includes(X)))
51419
51407
  return;
51420
- const ie = B.version;
51408
+ const ie = M.version;
51421
51409
  X && (Z[X] = ie);
51422
51410
  }), {
51423
51411
  upstream: Y,
@@ -53606,11 +53594,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
53606
53594
  );
53607
53595
  e && h.setParent(e), i && h.subscribe(), h.initChildren();
53608
53596
  const y = (g = this.properties) == null ? void 0 : g.map(
53609
- (M) => M.clone(h, P.UUID.uuid(), i)
53597
+ (w) => w.clone(h, P.UUID.uuid(), i)
53610
53598
  );
53611
53599
  h.properties = y;
53612
53600
  const v = (A = this.methods) == null ? void 0 : A.map(
53613
- (M, Y) => M.clone(
53601
+ (w, Y) => w.clone(
53614
53602
  h,
53615
53603
  p + "-method-" + Y + "-id",
53616
53604
  i
@@ -53618,7 +53606,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
53618
53606
  );
53619
53607
  h.methods = v;
53620
53608
  const E = (I = this.abstractMethods) == null ? void 0 : I.map(
53621
- (M, Y) => M.clone(
53609
+ (w, Y) => w.clone(
53622
53610
  h,
53623
53611
  p + "-abstract-method-" + Y + "-id",
53624
53612
  i
@@ -53653,7 +53641,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
53653
53641
  const t = [];
53654
53642
  e.forEach((o) => {
53655
53643
  t.find(
53656
- (d) => w(d, this.project) === w(o, this.project)
53644
+ (d) => B(d, this.project) === B(o, this.project)
53657
53645
  ) || t.push(o);
53658
53646
  });
53659
53647
  const i = this.properties.filter(
@@ -53661,7 +53649,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
53661
53649
  );
53662
53650
  t.forEach((o) => {
53663
53651
  const l = i.find(
53664
- (v) => w(v, this.project) === w(o, this.project)
53652
+ (v) => B(v, this.project) === B(o, this.project)
53665
53653
  );
53666
53654
  if (!l)
53667
53655
  return;
@@ -53686,7 +53674,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
53686
53674
  }
53687
53675
  }), a.length === 0 ? this : (a.forEach((o) => {
53688
53676
  const l = this.properties.find(
53689
- (g) => w(g, this.project) === w(o, this.project)
53677
+ (g) => B(g, this.project) === B(o, this.project)
53690
53678
  );
53691
53679
  if (l) {
53692
53680
  if (o.setDeclaration(l), !l.getDataType()) {
@@ -53696,12 +53684,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
53696
53684
  o
53697
53685
  ), I = xr(
53698
53686
  A
53699
- ), M = I == null ? void 0 : I.clone(
53687
+ ), w = I == null ? void 0 : I.clone(
53700
53688
  l,
53701
53689
  P.UUID.uuid(),
53702
53690
  !0
53703
53691
  );
53704
- M && l.setDataType(M);
53692
+ w && l.setDataType(w);
53705
53693
  }
53706
53694
  return;
53707
53695
  }
@@ -53713,7 +53701,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
53713
53701
  author: "1",
53714
53702
  previousVersion: null,
53715
53703
  deleted: !1,
53716
- name: w(o, this.project),
53704
+ name: B(o, this.project),
53717
53705
  description: o.description,
53718
53706
  defaultValue: null,
53719
53707
  static: !0,
@@ -57241,7 +57229,7 @@ export {
57241
57229
  Tl as resolveDataTypeLabel,
57242
57230
  mJ as resolveDefinitionEntityDataTypeLabel,
57243
57231
  fJ as resolveEntityDataTypeLabel,
57244
- w as resolveEntityName,
57232
+ B as resolveEntityName,
57245
57233
  GJ as resolveFirstCallsSecond,
57246
57234
  FJ as resolveFirstWritesSecond,
57247
57235
  nq as resolvePrimaryKeyProperty,