@elyx-code/project-logic-tree 0.0.6267 → 0.0.6268

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
@@ -25046,7 +25046,7 @@ var vm = { exports: {} };
25046
25046
  return me === void 0;
25047
25047
  } }, Z = "en", q = {};
25048
25048
  q[Z] = L;
25049
- var X = "$isDayjsObject", ue = function(me) {
25049
+ var X = "$isDayjsObject", de = function(me) {
25050
25050
  return me instanceof Nt || !(!me || !me[X]);
25051
25051
  }, ye = function me(te, z, le) {
25052
25052
  var Q;
@@ -25064,12 +25064,12 @@ var vm = { exports: {} };
25064
25064
  }
25065
25065
  return !le && Q && (Z = Q), Q || !le && Z;
25066
25066
  }, H = function(me, te) {
25067
- if (ue(me))
25067
+ if (de(me))
25068
25068
  return me.clone();
25069
25069
  var z = typeof te == "object" ? te : {};
25070
25070
  return z.date = me, z.args = arguments, new Nt(z);
25071
25071
  }, ae = $;
25072
- ae.l = ye, ae.i = ue, ae.w = function(me, te) {
25072
+ ae.l = ye, ae.i = de, ae.w = function(me, te) {
25073
25073
  return H(me, { locale: te.$L, utc: te.$u, x: te.$x, $offset: te.$offset });
25074
25074
  };
25075
25075
  var Nt = function() {
@@ -25304,7 +25304,7 @@ var vm = { exports: {} };
25304
25304
  };
25305
25305
  }), H.extend = function(me, te) {
25306
25306
  return me.$i || (me(te, Nt, H), me.$i = !0), H;
25307
- }, H.locale = ye, H.isDayjs = ue, H.unix = function(me) {
25307
+ }, H.locale = ye, H.isDayjs = de, H.unix = function(me) {
25308
25308
  return H(1e3 * me);
25309
25309
  }, H.en = q[Z], H.Ls = q, H.p = {}, H;
25310
25310
  });
@@ -25381,7 +25381,7 @@ function Yq(r) {
25381
25381
  const a = /* @__PURE__ */ new Set();
25382
25382
  return r.filter((e) => a.has(e.id) ? !1 : (a.add(e.id), !0));
25383
25383
  }
25384
- function de(r) {
25384
+ function ue(r) {
25385
25385
  const a = r.entity.errors.find((t) => t.id === r.id);
25386
25386
  return a ? { new: !1, error: a } : { new: !0, error: new Ye(r) };
25387
25387
  }
@@ -29972,7 +29972,7 @@ function g0(r) {
29972
29972
  (l = r.dataType) == null || l.validate();
29973
29973
  const s = [...i];
29974
29974
  if (r.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
29975
- const o = de({
29975
+ const o = ue({
29976
29976
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
29977
29977
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
29978
29978
  r,
@@ -29993,7 +29993,7 @@ function k0(r) {
29993
29993
  return a;
29994
29994
  const e = r.implements;
29995
29995
  if (!e.abstract) {
29996
- const i = de({
29996
+ const i = ue({
29997
29997
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
29998
29998
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
29999
29999
  e,
@@ -30007,7 +30007,7 @@ function k0(r) {
30007
30007
  a.push(i.error);
30008
30008
  }
30009
30009
  if (r.static && !e.static) {
30010
- const i = de({
30010
+ const i = ue({
30011
30011
  id: `${r.id}--${G.NonStaticPropertyImplementsStatic}`,
30012
30012
  message: `Static property "${F(
30013
30013
  r,
@@ -30024,7 +30024,7 @@ function k0(r) {
30024
30024
  a.push(i.error);
30025
30025
  }
30026
30026
  if (!r.static && e.static) {
30027
- const i = de({
30027
+ const i = ue({
30028
30028
  id: `${r.id}--${G.StaticPropertyImplementsNonStatic}`,
30029
30029
  message: `Non-static property "${F(
30030
30030
  r,
@@ -30044,7 +30044,7 @@ function k0(r) {
30044
30044
  r.dataType,
30045
30045
  e.dataType
30046
30046
  )) {
30047
- const i = de({
30047
+ const i = ue({
30048
30048
  id: `${r.id}--${G.PropertyImplementsIncompatibleType}`,
30049
30049
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a property "${F(
30050
30050
  e,
@@ -31684,26 +31684,12 @@ function J0(r) {
31684
31684
  const i = i7(r), s = r7(r), l = ui(r);
31685
31685
  r.inputs.forEach((d) => d.validate()), l.forEach((d) => d.validate());
31686
31686
  const o = [...i, ...s];
31687
- if (r.id === "getCompanyByIdEndpointReachedEntityEvent") {
31688
- const d = de({
31689
- id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
31690
- message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
31691
- r,
31692
- r.project
31693
- )}" with id "${r.id}".`,
31694
- issue: null,
31695
- severity: D.Error,
31696
- code: G.PropertyImplementsNonAbstact,
31697
- entity: r
31698
- });
31699
- o.push(d.error);
31700
- }
31701
31687
  return Se(r.errors, o);
31702
31688
  }
31703
31689
  function i7(r) {
31704
31690
  const a = [];
31705
- if (!r.calls.length) {
31706
- const e = de({
31691
+ if (!r.calls.length && !r.extends) {
31692
+ const e = ue({
31707
31693
  id: `${r.id}--${G.ScopeWithoutLogic}`,
31708
31694
  message: `Action "${F(r, r.project)}" with id "${r.id}" does not have any logic defined. So it doesn't do anything.`,
31709
31695
  issue: null,
@@ -33024,7 +33010,7 @@ function q0(r) {
33024
33010
  a.safeParse(e).success;
33025
33011
  const i = [];
33026
33012
  if (r.entity && r.andChildrenGroup || r.entity && r.orChildrenGroup || r.andChildrenGroup && r.orChildrenGroup) {
33027
- const s = de({
33013
+ const s = ue({
33028
33014
  id: r.id + "--" + G.InvalidPropertiesCombination,
33029
33015
  message: `Data type with id "${r.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
33030
33016
  issue: null,
@@ -34406,7 +34392,7 @@ function z0(r) {
34406
34392
  a.safeParse(e).success;
34407
34393
  const i = a7(r), s = xr(r), l = [...i, ...s];
34408
34394
  if (r.id === "exec-sequentially-operation-call-id") {
34409
- const d = de({
34395
+ const d = ue({
34410
34396
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
34411
34397
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
34412
34398
  r,
@@ -35950,7 +35936,7 @@ function Y0(r) {
35950
35936
  a.safeParse(e).success, (s = r.dataType) == null || s.validate();
35951
35937
  const i = [];
35952
35938
  if (r.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
35953
- const l = de({
35939
+ const l = ue({
35954
35940
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
35955
35941
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
35956
35942
  r,
@@ -43238,12 +43224,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43238
43224
  f.sort((O, V) => O.index - V.index), f.forEach((O) => {
43239
43225
  const V = O.getDataType(e);
43240
43226
  let L = c.find(
43241
- (ue) => F(ue, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(
43227
+ (de) => F(de, this.project) === oe.fromReturnDeclarationToBodyArgumentDeclarationName(
43242
43228
  O
43243
- ) && wi(ue.dataType, O.dataType)
43229
+ ) && wi(de.dataType, O.dataType)
43244
43230
  );
43245
43231
  if (!L) {
43246
- const ue = oe.fromReturnDeclarationToBodyArgumentDeclarationName(
43232
+ const de = oe.fromReturnDeclarationToBodyArgumentDeclarationName(
43247
43233
  O
43248
43234
  ), ye = {
43249
43235
  id: y.UUID.uuid(),
@@ -43253,7 +43239,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43253
43239
  previousVersion: null,
43254
43240
  deleted: !1,
43255
43241
  type: n.ArgumentDeclaration,
43256
- name: ue,
43242
+ name: de,
43257
43243
  description: `Aggretated list of all previously outputted values from each iteration by the output '${F(
43258
43244
  O,
43259
43245
  this.project
@@ -43276,12 +43262,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43276
43262
  ), H.addSelfToProject(e), i.push(H), L = H;
43277
43263
  }
43278
43264
  const C = this.body.inputs.find(
43279
- (ue) => ue.index === L.index && ue !== L
43265
+ (de) => de.index === L.index && de !== L
43280
43266
  ), $ = this.body.inputs.filter(
43281
- (ue) => ue !== L
43267
+ (de) => de !== L
43282
43268
  );
43283
43269
  let Z = L.index;
43284
- C && (Z = Math.max(...$.map((ue) => ue.index)) + 1), L.index !== Z && (L.metaSync({ index: Z }, e), t.push(L));
43270
+ C && (Z = Math.max(...$.map((de) => de.index)) + 1), L.index !== Z && (L.metaSync({ index: Z }, e), t.push(L));
43285
43271
  const q = L.getDataType(e);
43286
43272
  let X = q;
43287
43273
  if (V)
@@ -43299,18 +43285,18 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43299
43285
  I.Added
43300
43286
  ), ye.addSelfToProject(e), X = ye, i.push(ye), t.push(L);
43301
43287
  }
43302
- const ue = X.merge(
43288
+ const de = X.merge(
43303
43289
  V,
43304
43290
  e
43305
43291
  );
43306
- ue.self === X ? V.remove(
43292
+ de.self === X ? V.remove(
43307
43293
  { ignoreUpstream: !1 },
43308
43294
  e
43309
- ) : ue.self === V && (X.remove({ ignoreUpstream: !1 }, e), X = V), X.metaSync({ isList: !0 }, e);
43295
+ ) : de.self === V && (X.remove({ ignoreUpstream: !1 }, e), X = V), X.metaSync({ isList: !0 }, e);
43310
43296
  } else
43311
43297
  X.isList || (X.metaSync({ isList: !0 }, e), t.push(X));
43312
43298
  if (!V && !X) {
43313
- const ue = {
43299
+ const de = {
43314
43300
  id: y.UUID.uuid(),
43315
43301
  version: y.UUID.uuid(),
43316
43302
  createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
@@ -43333,7 +43319,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43333
43319
  orChildrenGroup: [],
43334
43320
  parent: L.toReference()
43335
43321
  }, ye = P(
43336
- ue,
43322
+ de,
43337
43323
  this.project
43338
43324
  );
43339
43325
  ye.metaSync({ isList: !0 }, e), ye.setParent(L, e), ye.initChildren(e), e == null || e.add(ye, I.Added), ye.addSelfToProject(e), i.push(ye);
@@ -43939,13 +43925,13 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
43939
43925
  if ($) {
43940
43926
  const Z = V.getDataType(e), q = ((T = Z == null ? void 0 : Z.entity) == null ? void 0 : T.properties) || [];
43941
43927
  (E = $.orChildrenGroup) == null || E.forEach((X) => {
43942
- const { updated: ue, removed: ye } = X.remove(
43928
+ const { updated: de, removed: ye } = X.remove(
43943
43929
  {
43944
43930
  ignoreUpstream: !1
43945
43931
  },
43946
43932
  e
43947
43933
  );
43948
- t.push(...ue), s.push(...ye);
43934
+ t.push(...de), s.push(...ye);
43949
43935
  }), q.forEach((X) => {
43950
43936
  if (!X.getDataType(e)) {
43951
43937
  const ye = {
@@ -44585,9 +44571,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44585
44571
  const {
44586
44572
  updated: q,
44587
44573
  added: X,
44588
- removed: ue
44574
+ removed: de
44589
44575
  } = this.syncOutputsDeclarations(e);
44590
- t.push(...q), i.push(...X), s.push(...ue);
44576
+ t.push(...q), i.push(...X), s.push(...de);
44591
44577
  const {
44592
44578
  updated: ye,
44593
44579
  added: H,
@@ -45911,7 +45897,7 @@ function tv(r) {
45911
45897
  a.safeParse(e).success, (o = r.dataType) == null || o.validate(), r.inputs.forEach((d) => d.validate()), r.outputs.forEach((d) => d.validate()), r.internalCalls.forEach((d) => d.validate());
45912
45898
  const s = [...xr(r)];
45913
45899
  if (r.id === "random-company-employee-test-variable-id") {
45914
- const d = de({
45900
+ const d = ue({
45915
45901
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
45916
45902
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
45917
45903
  r,
@@ -45925,7 +45911,7 @@ function tv(r) {
45925
45911
  s.push(d.error);
45926
45912
  }
45927
45913
  if (r.id === "company-dto-variable-one-id") {
45928
- const d = de({
45914
+ const d = ue({
45929
45915
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
45930
45916
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
45931
45917
  r,
@@ -45950,7 +45936,7 @@ function iv(r) {
45950
45936
  a.safeParse(e).success, r.inputs.forEach((o) => o.validate()), r.outputs.forEach((o) => o.validate()), r.internalCalls.forEach((o) => o.validate());
45951
45937
  const s = [...xr(r)];
45952
45938
  if (r.id === "exec-sequentially-result-variable-id") {
45953
- const o = de({
45939
+ const o = ue({
45954
45940
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
45955
45941
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
45956
45942
  r,
@@ -48798,10 +48784,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48798
48784
  const {
48799
48785
  updated: q,
48800
48786
  added: X,
48801
- removed: ue,
48787
+ removed: de,
48802
48788
  affected: ye
48803
48789
  } = Z.generateUnusedInputs(e);
48804
- t.push(...X), i.push(...q), s.push(...ue), l.push(...ye);
48790
+ t.push(...X), i.push(...q), s.push(...de), l.push(...ye);
48805
48791
  const {
48806
48792
  updated: H,
48807
48793
  added: ae,
@@ -49770,7 +49756,7 @@ function nv(r) {
49770
49756
  a.safeParse(e).success, r.inputsDeclarations.forEach((o) => o.validate()), r.inputs.forEach((o) => o.validate()), r.outputsDeclarations.forEach((o) => o.validate()), r.outputs.forEach((o) => o.validate()), (l = r.error) == null || l.validate();
49771
49757
  const s = [...xr(r)];
49772
49758
  if (r.id === "search-person-by-id-id") {
49773
- const o = de({
49759
+ const o = ue({
49774
49760
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
49775
49761
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
49776
49762
  r,
@@ -52034,7 +52020,7 @@ function ov(r) {
52034
52020
  const a = [], e = dp(r.parent, null), t = e == null ? void 0 : e.entity;
52035
52021
  if (!t)
52036
52022
  a.push(
52037
- de({
52023
+ ue({
52038
52024
  id: `${r.id}--${j.InternalCallParentMissingDataType}`,
52039
52025
  code: j.InternalCallParentMissingDataType,
52040
52026
  severity: D.Error,
@@ -52049,7 +52035,7 @@ function ov(r) {
52049
52035
  n.PrimitiveEntity
52050
52036
  ].includes(t.type))
52051
52037
  a.push(
52052
- de({
52038
+ ue({
52053
52039
  id: `${r.id}--${j.InternalCallParentDeclarationEntityInvalidType}`,
52054
52040
  code: j.InternalCallParentDeclarationEntityInvalidType,
52055
52041
  severity: D.Error,
@@ -52088,7 +52074,7 @@ This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.s
52088
52074
  (d) => d.id === r.declaration.id
52089
52075
  );
52090
52076
  o ? o.type !== n.FunctionDeclaration && a.push(
52091
- de({
52077
+ ue({
52092
52078
  id: `${r.id}--${j.InternalCallDeclarationIsNotFunctionDeclaration}`,
52093
52079
  code: j.InternalCallDeclarationIsNotFunctionDeclaration,
52094
52080
  severity: D.Error,
@@ -52098,7 +52084,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
52098
52084
  entity: r
52099
52085
  }).error
52100
52086
  ) : a.push(
52101
- de({
52087
+ ue({
52102
52088
  id: `${r.id}--${j.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
52103
52089
  code: j.InternalCallDeclarationNotFoundInParentDatatypeEntity,
52104
52090
  severity: D.Error,
@@ -53706,7 +53692,7 @@ function lv(r) {
53706
53692
  a.safeParse(e).success;
53707
53693
  const i = [];
53708
53694
  if (r.id === "exec-sequentially-argument-map-id") {
53709
- const s = de({
53695
+ const s = ue({
53710
53696
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
53711
53697
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
53712
53698
  r,
@@ -54864,7 +54850,7 @@ function dv(r) {
54864
54850
  a.safeParse(e).success;
54865
54851
  const i = [];
54866
54852
  if (r.id === "exec-sequentially-return-map-id") {
54867
- const s = de({
54853
+ const s = ue({
54868
54854
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
54869
54855
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
54870
54856
  r,
@@ -55930,7 +55916,7 @@ function uv(r) {
55930
55916
  a.safeParse(e).success, (s = r.dataType) == null || s.validate();
55931
55917
  const i = [];
55932
55918
  if (r.id === "company-dto-func-declaration-argument-dcl-id") {
55933
- const l = de({
55919
+ const l = ue({
55934
55920
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
55935
55921
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
55936
55922
  r,
@@ -55944,7 +55930,7 @@ function uv(r) {
55944
55930
  i.push(l.error);
55945
55931
  }
55946
55932
  if (r.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
55947
- const l = de({
55933
+ const l = ue({
55948
55934
  id: `${r.id}--${G.PropertyImplementsNonAbstact}`,
55949
55935
  message: `Property "${F(r, r.project)}" with id "${r.id}" implements a non-abstract property "${F(
55950
55936
  r,
@@ -62388,7 +62374,7 @@ function Ev(r) {
62388
62374
  if (!r.internalCalls.length)
62389
62375
  return a;
62390
62376
  if (r.readsValue) {
62391
- const e = de({
62377
+ const e = ue({
62392
62378
  id: `${r.id}--${G.VariableReadsValueAndInternalCall}`,
62393
62379
  message: `Variable "${F(r, r.project)}" with id "${r.id}" reads a value. A variable with internal calls can't read a value.`,
62394
62380
  issue: null,
@@ -62399,7 +62385,7 @@ function Ev(r) {
62399
62385
  a.push(e.error);
62400
62386
  }
62401
62387
  if (r.writesValues.length) {
62402
- const e = de({
62388
+ const e = ue({
62403
62389
  id: `${r.id}--${G.VariableWritesValuesAndInternalCall}`,
62404
62390
  message: `Variable "${F(r, r.project)}" with id "${r.id}" writes values. A variable with internal calls can't write a value.`,
62405
62391
  issue: null,
@@ -62410,7 +62396,7 @@ function Ev(r) {
62410
62396
  a.push(e.error);
62411
62397
  }
62412
62398
  if (r.getUsedInputs().length) {
62413
- const e = de({
62399
+ const e = ue({
62414
62400
  id: `${r.id}--${G.VariableHasInputsAndInternalCall}`,
62415
62401
  message: `Variable "${F(r, r.project)}" with id "${r.id}" has inputs. A variable with internal calls can't have inputs.`,
62416
62402
  issue: null,
@@ -62421,7 +62407,7 @@ function Ev(r) {
62421
62407
  a.push(e.error);
62422
62408
  }
62423
62409
  if (r.getUsedOutputs().length) {
62424
- const e = de({
62410
+ const e = ue({
62425
62411
  id: `${r.id}--${G.VariableHasOutputsAndInternalCall}`,
62426
62412
  message: `Variable "${F(r, r.project)}" with id "${r.id}" has outputs. A variable with internal calls can't have outputs.`,
62427
62413
  issue: null,
@@ -62432,7 +62418,7 @@ function Ev(r) {
62432
62418
  a.push(e.error);
62433
62419
  }
62434
62420
  if (r.calledBy.length) {
62435
- const e = de({
62421
+ const e = ue({
62436
62422
  id: `${r.id}--${G.VariableIsCalledAndHasInternalCall}`,
62437
62423
  message: `Variable "${F(r, r.project)}" with id "${r.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
62438
62424
  issue: null,
@@ -62443,7 +62429,7 @@ function Ev(r) {
62443
62429
  a.push(e.error);
62444
62430
  }
62445
62431
  if ([...r.successCalls, ...r.errorCalls].length) {
62446
- const e = de({
62432
+ const e = ue({
62447
62433
  id: `${r.id}--${G.VariableCallsOthersAndHasInternalCall}`,
62448
62434
  message: `Variable "${F(r, r.project)}" with id "${r.id}" calls other entities. A variable with internal calls can't call other entities.`,
62449
62435
  issue: null,
@@ -64441,11 +64427,11 @@ function bv(r, a, e, t, i) {
64441
64427
  else {
64442
64428
  const Z = [];
64443
64429
  let q = !1;
64444
- C.forEach((ue) => {
64430
+ C.forEach((de) => {
64445
64431
  var ye, H, ae, Nt;
64446
- if (Array.isArray(ue) && (q = !0), typeof ue == "object" && !Array.isArray(ue) && ue !== null) {
64432
+ if (Array.isArray(de) && (q = !0), typeof de == "object" && !Array.isArray(de) && de !== null) {
64447
64433
  const xi = Il(
64448
- ue,
64434
+ de,
64449
64435
  a.project,
64450
64436
  {
64451
64437
  ...e,
@@ -64461,7 +64447,7 @@ function bv(r, a, e, t, i) {
64461
64447
  Z
64462
64448
  );
64463
64449
  if (!X.length && !q) {
64464
- C.forEach((ue) => {
64450
+ C.forEach((de) => {
64465
64451
  const ye = {
64466
64452
  id: y.UUID.uuid(),
64467
64453
  version: y.UUID.uuid(),
@@ -64491,7 +64477,7 @@ function bv(r, a, e, t, i) {
64491
64477
  switch (H.setParent(a, t), H.initChildren(t), t == null || t.add(
64492
64478
  H,
64493
64479
  I.Added
64494
- ), H.addSelfToProject(t), typeof ue) {
64480
+ ), H.addSelfToProject(t), typeof de) {
64495
64481
  case "string":
64496
64482
  H.setEntity(
64497
64483
  H.project.getBuiltIn(
@@ -64524,10 +64510,10 @@ function bv(r, a, e, t, i) {
64524
64510
  });
64525
64511
  break;
64526
64512
  } else
64527
- X.length === 1 && !q ? a.setEntity(X[0]) : C.forEach((ue) => {
64528
- if (typeof ue == "object" && !Array.isArray(ue) && ue !== null) {
64513
+ X.length === 1 && !q ? a.setEntity(X[0]) : C.forEach((de) => {
64514
+ if (typeof de == "object" && !Array.isArray(de) && de !== null) {
64529
64515
  const ye = Av(
64530
- Object.keys(ue),
64516
+ Object.keys(de),
64531
64517
  a.project
64532
64518
  );
64533
64519
  if (ye) {
@@ -64551,7 +64537,7 @@ function bv(r, a, e, t, i) {
64551
64537
  options: null,
64552
64538
  implementationChooseOne: !1,
64553
64539
  entity: null,
64554
- isList: Array.isArray(ue),
64540
+ isList: Array.isArray(de),
64555
64541
  asType: null,
64556
64542
  andChildrenGroup: null,
64557
64543
  orChildrenGroup: null,
@@ -64571,7 +64557,7 @@ function bv(r, a, e, t, i) {
64571
64557
  I.Added
64572
64558
  ), H.addSelfToProject(t);
64573
64559
  const ae = bv(
64574
- ue,
64560
+ de,
64575
64561
  H,
64576
64562
  {
64577
64563
  ...e,
@@ -64711,7 +64697,7 @@ function Il(r, a, e, t, i) {
64711
64697
  a
64712
64698
  );
64713
64699
  X.setParent(C, t), X.initChildren(t), t == null || t.add(X, I.Added), X.addSelfToProject(t), l.push(X);
64714
- const ue = bv(
64700
+ const de = bv(
64715
64701
  $,
64716
64702
  X,
64717
64703
  {
@@ -64722,7 +64708,7 @@ function Il(r, a, e, t, i) {
64722
64708
  t,
64723
64709
  i || R
64724
64710
  );
64725
- s.push(...ue.updated), l.push(...ue.added), o.push(...ue.removed);
64711
+ s.push(...de.updated), l.push(...de.added), o.push(...de.removed);
64726
64712
  }), {
64727
64713
  hasCreated: !0,
64728
64714
  changeSet: {
@@ -67087,7 +67073,7 @@ function Uv(r, a) {
67087
67073
  function qJ(r, a) {
67088
67074
  const e = [];
67089
67075
  if (!a.abstract) {
67090
- const f = de({
67076
+ const f = ue({
67091
67077
  id: r.id + "--" + G.ImplementingNonAbstractEntity,
67092
67078
  message: `Entity "${r.name}" with id "${r.id}" is implementing a non-abstract entity "${a.name}" with id "${a.id}"`,
67093
67079
  issue: null,
@@ -67110,7 +67096,7 @@ function qJ(r, a) {
67110
67096
  (T) => T.id !== c.id
67111
67097
  ) : i.push(f);
67112
67098
  }), i.length && i.forEach((f) => {
67113
- const c = de({
67099
+ const c = ue({
67114
67100
  id: r.id + "--" + G.MissingPropertyImplementation + "--" + f.id,
67115
67101
  message: `Property "${f.name}" with id "${f.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${r.name}" with id "${r.id}" implements it`,
67116
67102
  issue: null,
@@ -67133,7 +67119,7 @@ function qJ(r, a) {
67133
67119
  (T) => T.id !== c.id
67134
67120
  ) : l.push(f);
67135
67121
  }), l.length && l.forEach((f) => {
67136
- const c = de({
67122
+ const c = ue({
67137
67123
  id: r.id + "--" + G.MissingMethodImplementation + "--" + f.id,
67138
67124
  message: `Method "${f.name}" with id "${f.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${r.name}" with id "${r.id}" implements it`,
67139
67125
  issue: null,
@@ -67150,7 +67136,7 @@ function qJ(r, a) {
67150
67136
  );
67151
67137
  c && d.push([c, f]);
67152
67138
  }), d.length && d.forEach(([f]) => {
67153
- const c = de({
67139
+ const c = ue({
67154
67140
  id: r.id + "--" + j.PropertyOverwritesOtherSiblingWithSameName + "--" + f.id,
67155
67141
  message: `Property "${f.name}" with id "${f.id}" of entity "${r.name}" with id "${r.id}" overwrites the property with the same name from the base entity "${a.name}" with id "${a.id}"`,
67156
67142
  issue: null,
@@ -67167,7 +67153,7 @@ function qJ(r, a) {
67167
67153
  );
67168
67154
  c && u.push([c, f]);
67169
67155
  }), u.length && u.forEach(([f]) => {
67170
- const c = de({
67156
+ const c = ue({
67171
67157
  id: r.id + "--" + j.MethodOverwritesOtherSiblingWithSameName + "--" + f.id,
67172
67158
  message: `Method "${f.name}" with id "${f.id}" of entity "${r.name}" with id "${r.id}" overwrites the method with the same name from the base entity "${a.name}" with id "${a.id}"`,
67173
67159
  issue: null,
@@ -67181,7 +67167,7 @@ function qJ(r, a) {
67181
67167
  function WJ(r, a) {
67182
67168
  const e = [], t = [];
67183
67169
  if (!r.abstract && a.abstract) {
67184
- const s = de({
67170
+ const s = ue({
67185
67171
  id: r.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
67186
67172
  message: `Entity "${r.name}" with id "${r.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
67187
67173
  issue: null,
@@ -67193,7 +67179,7 @@ function WJ(r, a) {
67193
67179
  return e.push(s.error), e;
67194
67180
  }
67195
67181
  if (r.abstract && !a.abstract) {
67196
- const s = de({
67182
+ const s = ue({
67197
67183
  id: r.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
67198
67184
  message: `Entity "${r.name}" with id "${r.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
67199
67185
  issue: null,
@@ -67208,11 +67194,14 @@ function WJ(r, a) {
67208
67194
  var o;
67209
67195
  const l = a.properties.find(
67210
67196
  // Check if two properties have the same name
67211
- (d) => d.name === s.name
67197
+ (d) => {
67198
+ var u;
67199
+ return d.name === s.name && ((u = s.extends) == null ? void 0 : u.id) !== d.id;
67200
+ }
67212
67201
  );
67213
67202
  ((o = s.implements) == null ? void 0 : o.id) !== (l == null ? void 0 : l.id) && l && t.push(s);
67214
67203
  }), t.length && t.forEach((s) => {
67215
- const l = de({
67204
+ const l = ue({
67216
67205
  id: r.id + "--" + j.PropertyOverwritesOtherSiblingWithSameName,
67217
67206
  message: `Property "${s.name}" with id "${s.id}" of entity "${r.name}" with id "${r.id}" overwrites the property with the same name from the extended entity "${a.name}" with id "${a.id}"`,
67218
67207
  issue: null,
@@ -67227,11 +67216,14 @@ function WJ(r, a) {
67227
67216
  var o;
67228
67217
  const l = a.methods.find(
67229
67218
  // Check if two methods have the same name
67230
- (d) => d.name === s.name
67219
+ (d) => {
67220
+ var u;
67221
+ return d.name === s.name && ((u = s.extends) == null ? void 0 : u.id) !== d.id;
67222
+ }
67231
67223
  );
67232
67224
  ((o = s.implements) == null ? void 0 : o.id) !== (l == null ? void 0 : l.id) && l && i.push(s);
67233
67225
  }), i.length && i.forEach((s) => {
67234
- const l = de({
67226
+ const l = ue({
67235
67227
  id: r.id + "--" + j.MethodOverwritesOtherSiblingWithSameName,
67236
67228
  message: `Method "${s.name}" with id "${s.id}" of entity "${r.name}" with id "${r.id}" overwrites the method with the same name from the extended entity "${a.name}" with id "${a.id}"`,
67237
67229
  issue: null,
@@ -67245,7 +67237,7 @@ function WJ(r, a) {
67245
67237
  function zJ(r) {
67246
67238
  const a = [];
67247
67239
  if (!r.properties.length) {
67248
- const e = de({
67240
+ const e = ue({
67249
67241
  id: r.id + "--" + G.NoProperties,
67250
67242
  message: "No properties implemented",
67251
67243
  issue: null,
@@ -67263,7 +67255,7 @@ function YJ(r) {
67263
67255
  const a = [];
67264
67256
  if (r.abstract) {
67265
67257
  if (r.methods.length) {
67266
- const e = de({
67258
+ const e = ue({
67267
67259
  id: r.id + "--" + G.AbstractEntityWithNonAbstractMethods,
67268
67260
  message: `Entity "${r.name}" with id "${r.id}" is marked as abstract but has non-abstract methods`,
67269
67261
  issue: null,
@@ -67274,7 +67266,7 @@ function YJ(r) {
67274
67266
  a.push(e.error);
67275
67267
  }
67276
67268
  if (r.properties.some((e) => !e.abstract)) {
67277
- const e = de({
67269
+ const e = ue({
67278
67270
  id: r.id + "--" + G.AbstractEntityWithNonAbstractProperties,
67279
67271
  message: `Entity "${r.name}" with id "${r.id}" is marked as abstract but has non-abstract properties`,
67280
67272
  issue: null,
@@ -67284,7 +67276,7 @@ function YJ(r) {
67284
67276
  });
67285
67277
  a.push(e.error), r.properties.forEach((t) => {
67286
67278
  if (!t.abstract) {
67287
- const i = de({
67279
+ const i = ue({
67288
67280
  id: r.id + "--" + G.StaticEntityWithNonStaticProperties + "--" + t.id,
67289
67281
  message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is not marked as abstract but the entity is marked as abstract`,
67290
67282
  issue: null,
@@ -67298,7 +67290,7 @@ function YJ(r) {
67298
67290
  }
67299
67291
  } else {
67300
67292
  if (r.abstractMethods.length) {
67301
- const e = de({
67293
+ const e = ue({
67302
67294
  id: r.id + "--" + G.AbstractPropertyInNonAbstractEntity,
67303
67295
  message: `Entity "${r.name}" with id "${r.id}" is not marked as abstract but has abstract methods`,
67304
67296
  issue: null,
@@ -67309,7 +67301,7 @@ function YJ(r) {
67309
67301
  a.push(e.error);
67310
67302
  }
67311
67303
  if (r.properties.some((e) => e.abstract)) {
67312
- const e = de({
67304
+ const e = ue({
67313
67305
  id: r.id + "--" + G.AbstractMethodInNonAbstractEntity,
67314
67306
  message: `Entity "${r.name}" with id "${r.id}" is not marked as abstract but has abstract properties`,
67315
67307
  issue: null,
@@ -67319,7 +67311,7 @@ function YJ(r) {
67319
67311
  });
67320
67312
  a.push(e.error), r.properties.forEach((t) => {
67321
67313
  if (t.abstract) {
67322
- const i = de({
67314
+ const i = ue({
67323
67315
  id: r.id + "--" + G.AbstractMethodInNonAbstractEntity + "--" + t.id,
67324
67316
  message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is marked as abstract but the entity is not marked as abstract`,
67325
67317
  issue: null,
@@ -67333,7 +67325,7 @@ function YJ(r) {
67333
67325
  }
67334
67326
  }
67335
67327
  if (r.static && r.properties.some((e) => !e.static)) {
67336
- const e = de({
67328
+ const e = ue({
67337
67329
  id: r.id + "--" + G.StaticEntityWithNonStaticProperties,
67338
67330
  message: `Entity "${r.name}" with id "${r.id}" is marked as static but has non-static properties`,
67339
67331
  issue: null,
@@ -67343,7 +67335,7 @@ function YJ(r) {
67343
67335
  });
67344
67336
  a.push(e.error), r.properties.forEach((t) => {
67345
67337
  if (!t.static) {
67346
- const i = de({
67338
+ const i = ue({
67347
67339
  id: r.id + "--" + G.NonStaticPropertyInStaticEntity + "--" + t.id,
67348
67340
  message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is not marked as static but the entity is marked as static`,
67349
67341
  issue: null,
@@ -67489,7 +67481,7 @@ function HJ(r, a) {
67489
67481
  function KJ(r, a, e = !1) {
67490
67482
  const t = [], i = Wt(a);
67491
67483
  if (!r.abstract && a.abstract) {
67492
- const f = de({
67484
+ const f = ue({
67493
67485
  id: r.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
67494
67486
  message: `Entity "${r.name}" with id "${r.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
67495
67487
  issue: null,
@@ -67501,7 +67493,7 @@ function KJ(r, a, e = !1) {
67501
67493
  t.push(f.error);
67502
67494
  }
67503
67495
  if (r.abstract && !a.abstract) {
67504
- const f = de({
67496
+ const f = ue({
67505
67497
  id: r.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
67506
67498
  message: `Entity "${r.name}" with id "${r.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
67507
67499
  issue: null,
@@ -67513,7 +67505,7 @@ function KJ(r, a, e = !1) {
67513
67505
  t.push(f.error);
67514
67506
  }
67515
67507
  if (!r.static && a.static) {
67516
- const f = de({
67508
+ const f = ue({
67517
67509
  id: r.id + "--" + a.id + "--" + G.NonStaticExtendingStaticEntity,
67518
67510
  message: `Entity "${r.name}" with id "${r.id}" is not static but is extending a static entity "${a.name}" with id "${a.id}"`,
67519
67511
  issue: null,
@@ -67525,7 +67517,7 @@ function KJ(r, a, e = !1) {
67525
67517
  t.push(f.error);
67526
67518
  }
67527
67519
  if (r.static && !a.static) {
67528
- const f = de({
67520
+ const f = ue({
67529
67521
  id: r.id + "--" + a.id + "--" + G.StaticExtendingNonStaticEntity,
67530
67522
  message: `Entity "${r.name}" with id "${r.id}" is static but is extending an non-static entity "${a.name}" with id "${a.id}"`,
67531
67523
  issue: null,
@@ -67537,7 +67529,7 @@ function KJ(r, a, e = !1) {
67537
67529
  t.push(f.error);
67538
67530
  }
67539
67531
  if (!Qo(a)) {
67540
- const f = de({
67532
+ const f = ue({
67541
67533
  id: r.id + "--" + a.id + "--" + G.ExtendingNonInteractiveEntity,
67542
67534
  message: `Entity "${r.name}" with id "${r.id}" is extending an non-interactive entity "${a.name}" with id "${a.id}"`,
67543
67535
  issue: null,
@@ -67558,7 +67550,7 @@ function KJ(r, a, e = !1) {
67558
67550
  );
67559
67551
  c.length && c.forEach((T) => {
67560
67552
  if (T.id !== f.id) {
67561
- const E = de({
67553
+ const E = ue({
67562
67554
  id: r.id + "--" + T.id + "--" + f.id + "--" + G.ExtendsIncompatibleEntities,
67563
67555
  message: `Entity "${r.name}" with id "${r.id}" is extending built-in entity "${T.name}" with id "${T.id}" but also extends entity "${f.name}" with id "${f.id}" which is incompatible`,
67564
67556
  issue: null,
@@ -68454,10 +68446,10 @@ Alternatively you can update the parent data-type entity with 'update' action to
68454
68446
  const {
68455
68447
  updated: q,
68456
68448
  added: X,
68457
- removed: ue,
68449
+ removed: de,
68458
68450
  affected: ye
68459
68451
  } = this.addExtendedMethods(e);
68460
- t.push(...q), i.push(...X), s.push(...ue), l.push(...ye);
68452
+ t.push(...q), i.push(...X), s.push(...de), l.push(...ye);
68461
68453
  const {
68462
68454
  updated: H,
68463
68455
  added: ae,
@@ -69512,12 +69504,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
69512
69504
  );
69513
69505
  if (T) {
69514
69506
  if (c.setDeclaration(T), !T.getDataType(t)) {
69515
- const ue = $n(
69507
+ const de = $n(
69516
69508
  c.parent
69517
69509
  ).getMasterInputWithValueWritterFromAllInstances(
69518
69510
  c
69519
69511
  ), ye = $i(
69520
- ue
69512
+ de
69521
69513
  ), H = ye == null ? void 0 : ye.clone(
69522
69514
  t,
69523
69515
  T,
@@ -73741,7 +73733,7 @@ export {
73741
73733
  FR as countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationDataTypeParentRef,
73742
73734
  kR as countedLoopBodyActionDescriptorIterationNumberArgumentDeclarationParentRef,
73743
73735
  Il as createDefinitionEntityFromJSONObject,
73744
- de as createEntityError,
73736
+ ue as createEntityError,
73745
73737
  G7 as createNestedDataTypeForEntity,
73746
73738
  zn as createNewInstanceOperation,
73747
73739
  dA as createNewInstanceOperationEntityToInstanciateArgument,